Searched refs:num_shards (Results 1 - 11 of 11) sorted by relevance

/external/autotest/puppylab/
H A Dclusterctl117 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):
282 @param num_shards: Number of shards. You cannot change
296 vagrant_master_name='master', num_shards
[all...]
/external/autotest/server/cros/ap_configurators/
H A Dpyauto_utils.py168 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/
H A Dbenchmark_runner.py163 args.benchmarks, args.num_shards))
297 benchmark_classes, num_shards):
349 shift = hash_shift.get(num_shards, 0)
351 device_affinity = (int(base_name_hash, 16) >> shift) % num_shards
/external/chromium-trace/catapult/third_party/typ/typ/tests/
H A Dmain_test.py257 def run_and_check_test_results(self, num_shards):
261 for shard_index in range(num_shards):
263 ['--total-shards', str(num_shards), '--shard-index',
/external/autotest/frontend/afe/
H A Drpc_utils.py926 num_shards = len(shard_host_map)
927 if (num_shards > 1 or (num_shards == 1 and
930 # num_shards > 1: this is a job spanning across multiple shards.
931 # num_shards == 1 but number of hosts on shard is less
/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_allocator_test.cc825 size_t num_shards;
830 for (size_t i = p->shard; i < p->m->size(); i += p->num_shards) {
849 p[i].num_shards = kNumThreads;
/external/protobuf/gtest/test/
H A Dgtest_unittest.cc2029 const int num_shards = 5; local
2034 for (int shard_index = 0; shard_index < num_shards; shard_index++) {
2035 if (ShouldRunTestOnShard(num_shards, shard_index, test_id)) {
2048 for (int shard_index = 0; shard_index < num_shards; shard_index++) {
2052 ShouldRunTestOnShard(num_shards, shard_index, test_id);
2054 EXPECT_GE(num_tests_on_shard, num_tests / num_shards);
/external/google-breakpad/src/testing/gtest/test/
H A Dgtest_unittest.cc2191 const int num_shards = 5; local
2196 for (int shard_index = 0; shard_index < num_shards; shard_index++) {
2197 if (ShouldRunTestOnShard(num_shards, shard_index, test_id)) {
2210 for (int shard_index = 0; shard_index < num_shards; shard_index++) {
2214 ShouldRunTestOnShard(num_shards, shard_index, test_id);
2216 EXPECT_GE(num_tests_on_shard, num_tests / num_shards);
/external/gtest/test/
H A Dgtest_unittest.cc1884 const int num_shards = 5; local
1889 for (int shard_index = 0; shard_index < num_shards; shard_index++) {
1890 if (ShouldRunTestOnShard(num_shards, shard_index, test_id)) {
1903 for (int shard_index = 0; shard_index < num_shards; shard_index++) {
1907 ShouldRunTestOnShard(num_shards, shard_index, test_id);
1909 EXPECT_GE(num_tests_on_shard, num_tests / num_shards);
/external/vulkan-validation-layers/tests/gtest-1.7.0/test/
H A Dgtest_unittest.cc1884 const int num_shards = 5; local
1889 for (int shard_index = 0; shard_index < num_shards; shard_index++) {
1890 if (ShouldRunTestOnShard(num_shards, shard_index, test_id)) {
1903 for (int shard_index = 0; shard_index < num_shards; shard_index++) {
1907 ShouldRunTestOnShard(num_shards, shard_index, test_id);
1909 EXPECT_GE(num_tests_on_shard, num_tests / num_shards);
/external/chromium-trace/catapult/third_party/mapreduce/mapreduce/
H A Dinput_readers.py775 # Shard #0 gets 0, num_shards, 2 * num_shards, ...
776 # Shard #1 gets 1, num_shards + 1, 2 * num_shards + 1, ...
777 # Shard #2 gets 2, num_shards + 2, 2 * num_shards + 2, ...
1583 num_shards = min(mapper_spec.shard_count, cls._MAX_SHARD_COUNT)
1584 size_per_shard = total_size // num_shards

Completed in 899 milliseconds