• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

vortex-data / vortex / 16980200873

15 Aug 2025 12:53AM UTC coverage: 49.805%. First build
16980200873

Pull #2456

github

web-flow
Merge aff477380 into aaf3e36ad
Pull Request #2456: feat: basic BoolBuffer / BoolBufferMut

574 of 1074 new or added lines in 84 files covered. (53.45%)

20158 of 40474 relevant lines covered (49.8%)

238516.31 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/vortex-array/src/arrays/bool/compute/invert.rs
1
// SPDX-License-Identifier: Apache-2.0
2
// SPDX-FileCopyrightText: Copyright the Vortex contributors
3

4
use std::ops::Not;
5

6
use vortex_error::VortexResult;
7

8
use crate::arrays::{BoolArray, BoolVTable};
9
use crate::compute::{InvertKernel, InvertKernelAdapter};
10
use crate::vtable::ValidityHelper;
11
use crate::{ArrayRef, IntoArray, register_kernel};
12

13
impl InvertKernel for BoolVTable {
14
    fn invert(&self, array: &BoolArray) -> VortexResult<ArrayRef> {
×
NEW
15
        Ok(BoolArray::new(array.bit_buffer().not(), array.validity().clone()).into_array())
×
16
    }
×
17
}
18

19
register_kernel!(InvertKernelAdapter(BoolVTable).lift());
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc