/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_defaultdict.py | 1 """Unit tests for collections.defaultdict.""" 9 from collections import defaultdict namespace 17 d1 = defaultdict() 28 d2 = defaultdict(list, foo=1, bar=2) 50 self.assertRaises(TypeError, defaultdict, 1) 53 d1 = defaultdict() 59 d1 = defaultdict() 61 self.assertEqual(repr(d1), "defaultdict(None, {})") 64 self.assertEqual(repr(d1), "defaultdict(None, {11: 41})") 65 d2 = defaultdict(int [all...] |
test_descrtut.py | 14 class defaultdict(dict): class in inherits:dict 39 >>> print defaultdict # show our type 40 <class 'test.test_descrtut.defaultdict'> 41 >>> print type(defaultdict) # its metatype 43 >>> a = defaultdict(default=0.0) # create an instance 47 <class 'test.test_descrtut.defaultdict'> 49 <class 'test.test_descrtut.defaultdict'> 81 Now I'll show that defaultdict instances have dynamic instance variables,
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_defaultdict.py | 1 """Unit tests for collections.defaultdict.""" 9 from collections import defaultdict namespace 17 d1 = defaultdict() 28 d2 = defaultdict(list, foo=1, bar=2) 50 self.assertRaises(TypeError, defaultdict, 1) 53 d1 = defaultdict() 59 d1 = defaultdict() 61 self.assertEqual(repr(d1), "defaultdict(None, {})") 64 self.assertEqual(repr(d1), "defaultdict(None, {11: 41})") 65 d2 = defaultdict(int [all...] |
test_descrtut.py | 14 class defaultdict(dict): class in inherits:dict 39 >>> print defaultdict # show our type 40 <class 'test.test_descrtut.defaultdict'> 41 >>> print type(defaultdict) # its metatype 43 >>> a = defaultdict(default=0.0) # create an instance 47 <class 'test.test_descrtut.defaultdict'> 49 <class 'test.test_descrtut.defaultdict'> 81 Now I'll show that defaultdict instances have dynamic instance variables,
|
/external/chromium_org/tools/telemetry/telemetry/core/platform/ |
ps_util.py | 5 from collections import defaultdict namespace 18 child_dict = defaultdict(list)
|
/external/chromium_org/third_party/WebKit/Source/build/scripts/ |
make_element_lookup_trie.py | 32 from collections import defaultdict namespace 39 new_dict = defaultdict(list) 114 size_dict = defaultdict(list)
|
make_style_shorthands.py | 32 from collections import defaultdict namespace 51 self._longhand_dictionary = defaultdict(list)
|
make_element_factory.py | 31 from collections import defaultdict namespace 72 interface_counts = defaultdict(int)
|
/external/chromium_org/native_client_sdk/src/build_tools/ |
generate_index.py | 15 self.section_map = collections.defaultdict(list)
|
parse_dsc.py | 161 out = collections.defaultdict(list) 188 out = collections.defaultdict(list)
|
/external/chromium_org/tools/telemetry/telemetry/page/ |
buildbot_page_measurement_results.py | 5 from collections import defaultdict namespace 47 num_successful_pages_for_value_name = defaultdict(int) 75 per_page_values_by_value_name = defaultdict(list)
|
/external/chromium_org/build/android/ |
asan_symbolize.py | 57 libraries = collections.defaultdict(list) 65 all_symbols = collections.defaultdict(dict)
|
surface_stats.py | 31 merged_results = collections.defaultdict(list)
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
schema_util.py | 5 from collections import defaultdict, Mapping namespace 37 refcounts = defaultdict(int)
|
/external/linux-tools-perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/ |
Core.py | 9 from collections import defaultdict namespace 12 return defaultdict(autodict)
|
/external/chromium_org/tools/perf/benchmarks/ |
sunspider.py | 24 r = collections.defaultdict(list)
|
/external/chromium_org/tools/telemetry/telemetry/core/platform/profiler/ |
__init__.py | 49 process_name_counts = collections.defaultdict(int)
|
/build/tools/ |
generate-notice-files.py | 23 from collections import defaultdict namespace 173 files_with_same_hash = defaultdict(list)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/ |
btm_matcher.py | 12 from collections import defaultdict namespace 100 results = defaultdict(list)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/ |
btm_matcher.py | 12 from collections import defaultdict namespace 100 results = defaultdict(list)
|
/external/chromium_org/tools/gyp/tools/ |
graphviz.py | 48 files = collections.defaultdict(list)
|
/external/chromium_org/tools/perf/measurements/ |
loading_measurement_analyzer.py | 30 self.totals = collections.defaultdict(list) 31 self.maxes = collections.defaultdict(list) 32 self.avgs = collections.defaultdict(list)
|
/external/chromium_org/tools/perf/metrics/ |
timeline.py | 67 events_by_name = collections.defaultdict(list) 126 category_clock_times = collections.defaultdict(float) 127 category_cpu_times = collections.defaultdict(float)
|
/external/chromium_org/tools/valgrind/ |
test_suppressions.py | 7 from collections import defaultdict namespace 94 all_reports = defaultdict(list) 96 symbol_reports = defaultdict(list)
|
/external/chromium_org/tools/clang/scripts/ |
run_tool.py | 80 edits = collections.defaultdict(list) 141 self.__edits = collections.defaultdict(list)
|