MCPcopy Create free account
hub / github.com/archseer/enigma / cmp_bits

Function cmp_bits

enigma/src/bitstring.rs:1270–1388  ·  view source on GitHub ↗

Compare potentially unaligned bitstrings. Much slower than memcmp, so only use when necessary.

(
    mut a_ptr: *const u8,
    mut a_offs: usize,
    mut b_ptr: *const u8,
    mut b_offs: usize,
    mut size: usize,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

eqMethod · 0.85
cmpMethod · 0.85

Calls 2

get_bitFunction · 0.85
cmpMethod · 0.45

Tested by

no test coverage detected