Home
last modified time | relevance | path

Searched refs:total_shards (Results 1 – 22 of 22) sorted by relevance

/external/google-breakpad/src/testing/gtest/test/
Dgtest_filter_unittest.py215 def RunWithSharding(total_shards, shard_index, command): argument
219 TOTAL_SHARDS_ENV_VAR: str(total_shards)}
287 def RunAndVerifyWithSharding(self, gtest_filter, total_shards, tests_to_run, argument
315 for i in range(0, total_shards):
316 (tests_run, exit_code) = RunWithSharding(total_shards, i, args)
/external/googletest/googletest/test/
Dgoogletest-filter-unittest.py220 def RunWithSharding(total_shards, shard_index, command): argument
224 TOTAL_SHARDS_ENV_VAR: str(total_shards)}
292 def RunAndVerifyWithSharding(self, gtest_filter, total_shards, tests_to_run, argument
321 for i in range(0, total_shards):
322 (tests_run, exit_code) = RunWithSharding(total_shards, i, args)
/external/tensorflow/tensorflow/core/kernels/
Dpopulation_count_op.cc107 int64 total_shards = input.size(); in operator ()() local
118 Shard(worker_threads.num_threads, worker_threads.workers, total_shards, in operator ()()
Dcompare_and_bitpack_op.cc151 int64 total_shards = output.size(); // Approximate cmp as an add and in operator ()() local
160 Shard(worker_threads.num_threads, worker_threads.workers, total_shards, in operator ()()
Ddepthwise_conv_op.cc228 const int64 total_shards = args.batch * args.out_rows; in operator ()() local
239 Shard(worker_threads.num_threads, worker_threads.workers, total_shards, in operator ()()
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/
Dgtest.cc4277 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); in ShouldShard() local
4280 if (total_shards == -1 && shard_index == -1) { in ShouldShard()
4282 } else if (total_shards == -1 && shard_index != -1) { in ShouldShard()
4290 } else if (total_shards != -1 && shard_index == -1) { in ShouldShard()
4293 << kTestTotalShards << " = " << total_shards in ShouldShard()
4298 } else if (shard_index < 0 || shard_index >= total_shards) { in ShouldShard()
4303 << ", " << kTestTotalShards << "=" << total_shards << ".\n"; in ShouldShard()
4309 return total_shards > 1; in ShouldShard()
4333 bool ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) { in ShouldRunTestOnShard() argument
4334 return (test_id % total_shards) == shard_index; in ShouldRunTestOnShard()
[all …]
/external/llvm/utils/unittest/googletest/src/
Dgtest.cc4280 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); in ShouldShard() local
4283 if (total_shards == -1 && shard_index == -1) { in ShouldShard()
4285 } else if (total_shards == -1 && shard_index != -1) { in ShouldShard()
4293 } else if (total_shards != -1 && shard_index == -1) { in ShouldShard()
4296 << kTestTotalShards << " = " << total_shards in ShouldShard()
4301 } else if (shard_index < 0 || shard_index >= total_shards) { in ShouldShard()
4306 << ", " << kTestTotalShards << "=" << total_shards << ".\n"; in ShouldShard()
4312 return total_shards > 1; in ShouldShard()
4336 bool ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) { in ShouldRunTestOnShard() argument
4337 return (test_id % total_shards) == shard_index; in ShouldRunTestOnShard()
[all …]
Dgtest-internal-inl.h269 int total_shards, int shard_index, int test_id);
/external/google-breakpad/src/testing/gtest/src/
Dgtest.cc4342 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); in ShouldShard() local
4345 if (total_shards == -1 && shard_index == -1) { in ShouldShard()
4347 } else if (total_shards == -1 && shard_index != -1) { in ShouldShard()
4355 } else if (total_shards != -1 && shard_index == -1) { in ShouldShard()
4358 << kTestTotalShards << " = " << total_shards in ShouldShard()
4363 } else if (shard_index < 0 || shard_index >= total_shards) { in ShouldShard()
4368 << ", " << kTestTotalShards << "=" << total_shards << ".\n"; in ShouldShard()
4374 return total_shards > 1; in ShouldShard()
4398 bool ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) { in ShouldRunTestOnShard() argument
4399 return (test_id % total_shards) == shard_index; in ShouldRunTestOnShard()
[all …]
Dgtest-internal-inl.h273 int total_shards, int shard_index, int test_id);
/external/libaom/libaom/third_party/googletest/src/googletest/src/
Dgtest.cc4723 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); in ShouldShard() local
4726 if (total_shards == -1 && shard_index == -1) { in ShouldShard()
4728 } else if (total_shards == -1 && shard_index != -1) { in ShouldShard()
4736 } else if (total_shards != -1 && shard_index == -1) { in ShouldShard()
4739 << kTestTotalShards << " = " << total_shards in ShouldShard()
4744 } else if (shard_index < 0 || shard_index >= total_shards) { in ShouldShard()
4749 << ", " << kTestTotalShards << "=" << total_shards << ".\n"; in ShouldShard()
4755 return total_shards > 1; in ShouldShard()
4779 bool ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) { in ShouldRunTestOnShard() argument
4780 return (test_id % total_shards) == shard_index; in ShouldRunTestOnShard()
[all …]
Dgtest-internal-inl.h276 int total_shards, int shard_index, int test_id);
/external/mesa3d/src/gtest/src/
Dgtest.cc4722 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); in ShouldShard() local
4725 if (total_shards == -1 && shard_index == -1) { in ShouldShard()
4727 } else if (total_shards == -1 && shard_index != -1) { in ShouldShard()
4735 } else if (total_shards != -1 && shard_index == -1) { in ShouldShard()
4738 << kTestTotalShards << " = " << total_shards in ShouldShard()
4743 } else if (shard_index < 0 || shard_index >= total_shards) { in ShouldShard()
4748 << ", " << kTestTotalShards << "=" << total_shards << ".\n"; in ShouldShard()
4754 return total_shards > 1; in ShouldShard()
4778 bool ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) { in ShouldRunTestOnShard() argument
4779 return (test_id % total_shards) == shard_index; in ShouldRunTestOnShard()
[all …]
Dgtest-internal-inl.h276 int total_shards, int shard_index, int test_id);
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/src/
Dgtest.cc4722 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); in ShouldShard() local
4725 if (total_shards == -1 && shard_index == -1) { in ShouldShard()
4727 } else if (total_shards == -1 && shard_index != -1) { in ShouldShard()
4735 } else if (total_shards != -1 && shard_index == -1) { in ShouldShard()
4738 << kTestTotalShards << " = " << total_shards in ShouldShard()
4743 } else if (shard_index < 0 || shard_index >= total_shards) { in ShouldShard()
4748 << ", " << kTestTotalShards << "=" << total_shards << ".\n"; in ShouldShard()
4754 return total_shards > 1; in ShouldShard()
4778 bool ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) { in ShouldRunTestOnShard() argument
4779 return (test_id % total_shards) == shard_index; in ShouldRunTestOnShard()
[all …]
Dgtest-internal-inl.h276 int total_shards, int shard_index, int test_id);
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest.cc5264 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); in ShouldShard() local
5267 if (total_shards == -1 && shard_index == -1) { in ShouldShard()
5269 } else if (total_shards == -1 && shard_index != -1) { in ShouldShard()
5277 } else if (total_shards != -1 && shard_index == -1) { in ShouldShard()
5280 << kTestTotalShards << " = " << total_shards in ShouldShard()
5285 } else if (shard_index < 0 || shard_index >= total_shards) { in ShouldShard()
5290 << ", " << kTestTotalShards << "=" << total_shards << ".\n"; in ShouldShard()
5296 return total_shards > 1; in ShouldShard()
5320 bool ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) { in ShouldRunTestOnShard() argument
5321 return (test_id % total_shards) == shard_index; in ShouldRunTestOnShard()
[all …]
Dgtest-internal-inl.h272 int total_shards, int shard_index, int test_id);
/external/googletest/googletest/src/
Dgtest.cc5330 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); in ShouldShard() local
5333 if (total_shards == -1 && shard_index == -1) { in ShouldShard()
5335 } else if (total_shards == -1 && shard_index != -1) { in ShouldShard()
5343 } else if (total_shards != -1 && shard_index == -1) { in ShouldShard()
5346 << kTestTotalShards << " = " << total_shards in ShouldShard()
5351 } else if (shard_index < 0 || shard_index >= total_shards) { in ShouldShard()
5356 << ", " << kTestTotalShards << "=" << total_shards << ".\n"; in ShouldShard()
5362 return total_shards > 1; in ShouldShard()
5386 bool ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) { in ShouldRunTestOnShard() argument
5387 return (test_id % total_shards) == shard_index; in ShouldRunTestOnShard()
[all …]
Dgtest-internal-inl.h273 int total_shards, int shard_index, int test_id);
/external/epid-sdk/ext/gtest/
Dgtest-all.cc683 int total_shards, int shard_index, int test_id);
6174 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); in ShouldShard() local
6177 if (total_shards == -1 && shard_index == -1) { in ShouldShard()
6179 } else if (total_shards == -1 && shard_index != -1) { in ShouldShard()
6187 } else if (total_shards != -1 && shard_index == -1) { in ShouldShard()
6190 << kTestTotalShards << " = " << total_shards in ShouldShard()
6195 } else if (shard_index < 0 || shard_index >= total_shards) { in ShouldShard()
6200 << ", " << kTestTotalShards << "=" << total_shards << ".\n"; in ShouldShard()
6206 return total_shards > 1; in ShouldShard()
6230 bool ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) { in ShouldRunTestOnShard() argument
[all …]
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/include/gtest/internal/
Dgtest-internal-inl.h266 int total_shards, int shard_index, int test_id);