Home
last modified time | relevance | path

Searched refs:ROLLING_WINDOW (Results 1 – 8 of 8) sorted by relevance

/dports/security/ssdeep/ssdeep-2.14.1/
H A Dfuzzy.c47 #define ROLLING_WINDOW 7 macro
92 if (self->n == ROLLING_WINDOW) in roll_hash()
617 if (s1len < ROLLING_WINDOW) in has_common_substring()
619 if (s2len < ROLLING_WINDOW) in has_common_substring()
640 s1len -= (ROLLING_WINDOW - 1); in has_common_substring()
675 size_t r = ROLLING_WINDOW - 1; in has_common_substring_pa()
682 l = r - (ROLLING_WINDOW - 1); in has_common_substring_pa()
693 r += ROLLING_WINDOW; in has_common_substring_pa()
793 if (s1len < ROLLING_WINDOW) in score_strings()
795 if (s2len < ROLLING_WINDOW) in score_strings()
[all …]
/dports/security/pev/pev/lib/libfuzzy/
H A Dfuzzy.c49 #define ROLLING_WINDOW 7 macro
56 unsigned char window[ROLLING_WINDOW];
78 self->h2 += ROLLING_WINDOW * (uint32_t)c; in roll_hash()
81 self->h1 -= (uint32_t)self->window[self->n % ROLLING_WINDOW]; in roll_hash()
83 self->window[self->n % ROLLING_WINDOW] = c; in roll_hash()
491 if (i < ROLLING_WINDOW-1) continue; in has_common_substring()
492 for (j=ROLLING_WINDOW-1;j<num_hashes;j++) in has_common_substring()
497 if (strlen(s2+i-(ROLLING_WINDOW-1)) >= ROLLING_WINDOW && in has_common_substring()
498 strncmp(s2+i-(ROLLING_WINDOW-1), in has_common_substring()
499 s1+j-(ROLLING_WINDOW-1), in has_common_substring()
[all …]
/dports/sysutils/istio/istio-1.6.7/mixer/adapter/redisquota/
H A Dredisquota_test.go151 RateLimitAlgorithm: config.ROLLING_WINDOW,
171 RateLimitAlgorithm: config.ROLLING_WINDOW,
191 RateLimitAlgorithm: config.ROLLING_WINDOW,
209 RateLimitAlgorithm: config.ROLLING_WINDOW,
232 RateLimitAlgorithm: config.ROLLING_WINDOW,
367 RateLimitAlgorithm: config.ROLLING_WINDOW,
405 RateLimitAlgorithm: config.ROLLING_WINDOW,
441 RateLimitAlgorithm: config.ROLLING_WINDOW,
H A Dredisquota.go45 config.ROLLING_WINDOW: luaRollingWindow,
114 if quotas.RateLimitAlgorithm == config.ROLLING_WINDOW {
/dports/sysutils/istio/istio-1.6.7/mixer/adapter/redisquota/config/
H A Dconfig.proto51 // rateLimitAlgorithm: ROLLING_WINDOW
79 …// `ROLLING_WINDOW` The rolling window algorithm's additional precision comes at the cost of incre…
80 ROLLING_WINDOW = 1; enumerator
H A Dconfig.pb.go46 ROLLING_WINDOW Params_QuotaAlgorithm = 1 const
/dports/sysutils/istio/istio-1.6.7/samples/bookinfo/policy/
H A Dmixer-rule-ratings-redis-quota-rolling-window.yaml16 rateLimitAlgorithm: ROLLING_WINDOW
H A Dmixer-rule-productpage-redis-quota-rolling-window.yaml16 rateLimitAlgorithm: ROLLING_WINDOW