Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BirolLab/RNA-Bloom
/ addCAS
Method
addCAS
src/rnabloom/bloom/BloomFilter.java:157–161 ·
view source on GitHub ↗
(final long[] hashVals)
Source
from the content-addressed store, hash-verified
155
}
156
157
public
void
addCAS(
final
long[] hashVals) {
158
for
(
int
h=0; h<numHash; ++h) {
159
bitArray.setCAS(getIndex(hashVals[h], size));
160
}
161
}
162
163
@Override
164
public
boolean lookup(String key) {
Callers
nothing calls this directly
Calls
2
getIndex
Method · 0.95
setCAS
Method · 0.45
Tested by
no test coverage detected