Searched refs:pfx (Results 1 – 3 of 3) sorted by relevance
404 uint64_t pfx = mult * weight + (offset >= weight ? weight - 1 : offset); in Key() local405 key.append(GetStringFromInt(pfx)); in Key()450 uint64_t pfx; in GetIntVal() local451 if (!GetFixed64(&little_endian_slice, &pfx)) { in GetIntVal()454 prefixes.emplace_back(pfx); in GetIntVal()459 uint64_t pfx = prefixes[i]; in GetIntVal() local460 key += (pfx / key_gen_ctx.weights[i]) * key_gen_ctx.window + in GetIntVal()461 pfx % key_gen_ctx.weights[i]; in GetIntVal()
51 Slice pfx = Slice(keystr.data(), prefix_to_use); in VerifyDb() local53 if (prefix_to_use > 0 && prefix.compare(pfx) != 0) { in VerifyDb()
5315 for (int64_t pfx = keyrange_num_; pfx >= 1; pfx--) { in InitiateExpDistribution() local5319 double keyrange_p = prefix_a * std::exp(prefix_b * pfx) + in InitiateExpDistribution()5320 prefix_c * std::exp(prefix_d * pfx); in InitiateExpDistribution()