MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / small_input

Function small_input

nodedb/src/engine/timeseries/bitmap_simd.rs:267–276  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

265
266 #[test]
267 fn small_input() {
268 let o = ops();
269 let a = [0xFF_u64, 0x00];
270 let b = [0x0F_u64, 0xF0];
271 let mut out = [0u64; 2];
272 (o.and_slices)(&a, &b, &mut out);
273 assert_eq!(out, [0x0F, 0x00]);
274 (o.or_slices)(&a, &b, &mut out);
275 assert_eq!(out, [0xFF, 0xF0]);
276 }
277}

Callers

nothing calls this directly

Calls 1

opsFunction · 0.85

Tested by

no test coverage detected