/external/chromium-trace/catapult/telemetry/telemetry/util/ |
bot_utils.py | 14 def GetDeviceAffinity(num_shards, base_name): 24 shift = hash_shift.get(num_shards, 0) 26 device_affinity = (int(base_name_hash, 16) >> shift) % num_shards
|
/external/autotest/puppylab/ |
clusterctl | 57 NUM_SHARDS = 1 117 def _register_shards(self, num_shards): 118 """Register num_shards worth of shard info. 135 @param num_shards: The number of shards we wish to add to the cluster. 141 for num in range(1, num_shards+1): 166 num_shards=1): 172 @param num_shards: The number of shards in the cluster. Each shard 177 self._register_shards(num_shards) 278 def bringup_cluster(admin_repo, num_shards=NUM_SHARDS, start_safe=False) [all...] |
/external/autotest/server/cros/ap_configurators/ |
pyauto_utils.py | 168 def Shard(ilist, shard_index, num_shards): 174 num_shards: shard count 176 chunk_size = len(ilist) / num_shards 178 if shard_index == num_shards - 1: # Exhaust the remainder in the last shard.
|
/external/chromium-trace/catapult/telemetry/telemetry/ |
benchmark_runner.py | 168 args.benchmarks, args.num_shards)) 302 benchmark_classes, num_shards): 345 device_affinity = bot_utils.GetDeviceAffinity(num_shards, base_name)
|
/external/autotest/frontend/afe/ |
rpc_utils.py | 842 # num_shards > 1: this is a job spanning across multiple shards. 843 # num_shards == 1 but number of hosts on shard is less 847 num_shards = len(shard_host_map) 848 if num_shards > 1: 850 if num_shards == 1: [all...] |
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_allocator_test.cc | 833 size_t num_shards; 838 for (size_t i = p->shard; i < p->m->size(); i += p->num_shards) { 857 p[i].num_shards = kNumThreads;
|
/external/protobuf/gtest/test/ |
gtest_unittest.cc | 2029 const int num_shards = 5; local [all...] |
/external/google-breakpad/src/testing/gtest/test/ |
gtest_unittest.cc | 2191 const int num_shards = 5; local [all...] |
/external/googletest/googletest/test/ |
gtest_unittest.cc | 1891 const int num_shards = 5; local [all...] |
/external/v8/testing/gtest/test/ |
gtest_unittest.cc | 1891 const int num_shards = 5; local [all...] |
/external/vulkan-validation-layers/tests/gtest-1.7.0/test/ |
gtest_unittest.cc | 1884 const int num_shards = 5; local [all...] |
/prebuilts/ndk/r11/sources/third_party/googletest/googletest/test/ |
gtest_unittest.cc | 1893 const int num_shards = 5; local [all...] |
/prebuilts/ndk/r13/sources/third_party/googletest/googletest/test/ |
gtest_unittest.cc | 1893 const int num_shards = 5; local [all...] |