Searched refs:parts_per_million (Results 1 – 7 of 7) sorted by relevance
245 parts_per_million == other.parts_per_million;249 const uint32_t parts_per_million; member254 void AddCategory(std::string name, uint32_t parts_per_million) { in AddCategory() argument256 DropCategory{std::move(name), parts_per_million}); in AddCategory()257 if (parts_per_million == 1000000) drop_all_ = true; in AddCategory()
118 if (random < drop_category.parts_per_million) { in ShouldDrop()
1114 drop_category.parts_per_million); in AcceptEdsUpdate()
307 parts_per_million == other.parts_per_million;311 const uint32_t parts_per_million; member316 void AddCategory(std::string name, uint32_t parts_per_million) { in AddCategory()318 DropCategory{std::move(name), parts_per_million}); in AddCategory()319 if (parts_per_million == 1000000) drop_all_ = true; in AddCategory()
490 if (random < drop_category.parts_per_million) { in ShouldDrop()502 absl::StrCat(category.name, "=", category.parts_per_million)); in ToString()
944 {"requests_per_million", category.parts_per_million}, in CreateChildPolicyConfigLocked()
778 const uint32_t parts_per_million = p.second; in BuildEdsResource() local782 drop_percentage->set_numerator(parts_per_million); in BuildEdsResource()