Home
last modified time | relevance | path

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

/system/update_engine/scripts/update_payload/
Dhistogram.py61 def FromCountDict(count_dict, scale=20, formatter=None, key_names=None): argument
85 hist = [(namer(key), count) for key, count in count_dict.items()]
106 count_dict = defaultdict(int) # Unset items default to zero
108 count_dict[key] += 1
109 return Histogram.FromCountDict(count_dict, scale, formatter, key_names)