Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
48
bool BloomStore::isSet(int64_t bitPos) const {
49
return !(((*backingFile[bitPos / BlockSize]) & bitMasks[bitPos % BlockSize]) == 0);
50
}
51
52
void BloomStore::reset(int64_t newLength) {
53
backingFile.truncate(0);
Callers
1
possiblyContains
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected