Searched refs:subsampling_map (Results 1 – 2 of 2) sorted by relevance
1815 const auto& subsampling_map = netconfig->dns_event_subsampling_map; in resolv_cache_get_subsampling_denom() local1816 auto search_returnCode = subsampling_map.find(return_code); in resolv_cache_get_subsampling_denom()1818 if (search_returnCode != subsampling_map.end()) { in resolv_cache_get_subsampling_denom()1821 auto search_default = subsampling_map.find(DNSEVENT_SUBSAMPLING_MAP_DEFAULT_KEY); in resolv_cache_get_subsampling_denom()1822 denom = (search_default == subsampling_map.end()) ? 0 : search_default->second; in resolv_cache_get_subsampling_denom()
917 explicit ScopedCacheCreate(unsigned netid, const char* subsampling_map, in ScopedCacheCreate() argument921 property_set(property, subsampling_map); in ScopedCacheCreate()