Searched refs:subsampling_map (Results 1 – 2 of 2) sorted by relevance
1783 const auto& subsampling_map = netconfig->dns_event_subsampling_map; in resolv_cache_get_subsampling_denom() local1784 auto search_returnCode = subsampling_map.find(return_code); in resolv_cache_get_subsampling_denom()1786 if (search_returnCode != subsampling_map.end()) { in resolv_cache_get_subsampling_denom()1789 auto search_default = subsampling_map.find(DNSEVENT_SUBSAMPLING_MAP_DEFAULT_KEY); in resolv_cache_get_subsampling_denom()1790 denom = (search_default == subsampling_map.end()) ? 0 : search_default->second; in resolv_cache_get_subsampling_denom()
918 explicit ScopedCacheCreate(unsigned netid, const char* subsampling_map, in ScopedCacheCreate() argument922 property_set(property, subsampling_map); in ScopedCacheCreate()