MCPcopy Create free account
hub / github.com/ashvardanian/StringZilla / inverted

Method inverted

include/stringzilla/stringzilla.hpp:318–322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

316 inline sz_byteset_t const &raw() const noexcept { return bitset_; }
317 inline bool contains(char_type c) const noexcept { return sz_byteset_contains(&bitset_, sz_bitcast_(sz_u8_t, c)); }
318 inline basic_byteset inverted() const noexcept {
319 basic_byteset result = *this;
320 sz_byteset_invert(&result.bitset_);
321 return result;
322 }
323};
324
325using byteset = basic_byteset<char>;

Callers 5

find_first_not_ofMethod · 0.45
find_last_not_ofMethod · 0.45
lstripMethod · 0.45
rstripMethod · 0.45
stripMethod · 0.45

Calls 1

sz_byteset_invertFunction · 0.85

Tested by

no test coverage detected