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.py58 def FromCountDict(count_dict, scale=20, formatter=None, key_names=None): argument
82 hist = [(namer(key), count) for key, count in count_dict.items()]
103 count_dict = defaultdict(int) # Unset items default to zero
105 count_dict[key] += 1
106 return Histogram.FromCountDict(count_dict, scale, formatter, key_names)