(traceID []byte)
| 52 | } |
| 53 | |
| 54 | func (b *ShardedBloomFilter) Add(traceID []byte) { |
| 55 | shardKey := ShardKeyForTraceID(traceID, len(b.blooms)) |
| 56 | b.blooms[shardKey].Add(traceID) |
| 57 | } |
| 58 | |
| 59 | // Marshal is a wrapper around bloom.WriteTo |
| 60 | func (b *ShardedBloomFilter) Marshal() ([][]byte, error) { |
nothing calls this directly
no test coverage detected