MCPcopy Create free account
hub / github.com/citp/BlockSci / isSet

Method isSet

tools/parser/bloom_filter.cpp:48–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48bool BloomStore::isSet(int64_t bitPos) const {
49 return !(((*backingFile[bitPos / BlockSize]) & bitMasks[bitPos % BlockSize]) == 0);
50}
51
52void BloomStore::reset(int64_t newLength) {
53 backingFile.truncate(0);

Callers 1

possiblyContainsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected