Home
last modified time | relevance | path

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

/external/chromium-trace/catapult/third_party/mapreduce/mapreduce/api/map_job/
Dabstract_datastore_input_reader.py254 def _choose_split_points(cls, sorted_keys, shard_count): argument
256 assert len(sorted_keys) >= shard_count
257 index_stride = len(sorted_keys) / float(shard_count)
258 return [sorted_keys[int(round(index_stride * i))]
/external/v8/tools/
Dstats-viewer.py199 sorted_keys = names.keys()
200 sorted_keys.sort()
204 for name in sorted_keys:
/external/selinux/policycoreutils/sepolicy/
Dsepolicy.py228 sorted_keys = []
230 sorted_keys.append(i)
231 sorted_keys.sort()
232 for k in sorted_keys:
/external/chromium-trace/catapult/third_party/mapreduce/mapreduce/
Dinput_readers.py514 def _choose_split_points(cls, sorted_keys, shard_count): argument
516 assert len(sorted_keys) >= shard_count
517 index_stride = len(sorted_keys) / float(shard_count)
518 return [sorted_keys[int(round(index_stride * i))]
972 def _choose_split_points(cls, sorted_keys, shard_count): argument
974 assert len(sorted_keys) >= shard_count
975 index_stride = len(sorted_keys) / float(shard_count)
976 return [sorted_keys[int(round(index_stride * i))]
/external/selinux/policycoreutils/semanage/
Dsemanage188 sorted_keys = []
190 sorted_keys.append(i)
191 sorted_keys.sort()
192 for k in sorted_keys: