Searched refs:sketch (Results 1 – 2 of 2) sorted by relevance
271 final HeavyHitterSketch<Integer> sketch = HeavyHitterSketch.<Integer>newDefault(); in setConfig() local272 final float validationRatio = sketch.getRequiredValidationInputRatio(); in setConfig()278 sketch.setConfig(batchSize, capacity); in setConfig()286 resetInternalLocked(listener, sketch, inputSize, batchSize, threshold, capacity); in setConfig()292 @Nullable final HeavyHitterSketch<Integer> sketch, final int inputSize, in resetInternalLocked() argument295 mHeavyHitterSketch = sketch; in resetInternalLocked()345 final HeavyHitterSketch<Integer> sketch = mHeavyHitterSketch; in onTransaction() local346 if (sketch == null) { in onTransaction()357 sketch.add(hashCode); in onTransaction()361 sketch.getCandidates(mCachedCandidateList); in onTransaction()[all …]
170 * The 'bytes' field is the serialized KLL sketch. It is to be deserialized into an object of171 * KLL proto, which would then be converted into a KLL sketch. The KLL sketch is a histogram