MCPcopy Create free account
hub / github.com/BirolLab/abyss / bloomTypeToStr

Function bloomTypeToStr

Bloom/bloom.cc:506–518  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

504}
505
506static inline string
507bloomTypeToStr(const BloomFilterType type)
508{
509 assert(type != BT_UNKNOWN);
510 if (type == BT_KONNECTOR) {
511 return string("konnector");
512 } else if (type == BT_ROLLING_HASH) {
513 return string("rolling-hash");
514 } else {
515 assert(type == BT_COUNTING);
516 return string("counting");
517 }
518}
519
520/** Build a konnector-style Bloom filter. */
521

Callers 1

buildFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected