Searched refs:shard (Results 1 - 12 of 12) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_thread_registry_test.cc163 uptr shard; // started from 1. member in struct:__sanitizer::__anon19636::RunThreadArgs
170 uptr shard = (uptr)arg; local
171 num_joined[shard]++;
174 uptr shard = (uptr)arg; local
175 num_started[shard]++;
178 uptr shard = (uptr)arg; local
179 num_created[shard]++;
190 args->registry->CreateThread(0, false, 0, (void*)args->shard));
192 args->registry->StartThread(tids[i], 0, (void*)args->shard);
196 args->registry->JoinThread(tids[i], (void*)args->shard);
[all...]
H A Dsanitizer_allocator_test.cc824 size_t shard;
830 for (size_t i = p->shard; i < p->m->size(); i += p->num_shards) {
848 p[i].shard = i;
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/
H A Dlayout_test_runner.py119 pool.run(('test_list', shard.name, shard.test_inputs) for shard in all_shards)
125 pool.run(('test_list', shard.name, shard.test_inputs) for shard in self._shards_to_redo)
346 """A test shard is a named list of TestInputs."""
387 This is used when there's only one worker, to minimize the per-shard overhead."""
406 """Returns two lists of shards, each shard containing a single test file.
414 # Note that we use a '.' for the shard nam
[all...]
H A Dlayout_test_runner_unittest.py188 for i, shard in enumerate(actual_shards):
190 self.assertEqual(shard.name, expected_shard_name)
191 self.assertEqual([test_input.test_name for test_input in shard.test_inputs],
198 # they are crammed into a single shard in order to reduce the # of
/external/chromium_org/third_party/libvpx/source/libvpx/tools/
H A Dall_builds.py7 LONG_OPTIONS = ["shard=", "shards="]
35 options = {"--shard": 0, "--shards": 1}
44 print "Usage: %s [--shard=<n> --shards=<n>] -- [configure flag ...]"%argv[0]
51 shard = int(options["--shard"])
58 my_configs = filter(lambda x: x[1] % shards == shard, my_configs)
61 # Run configs for this shard
/external/libvpx/libvpx/tools/
H A Dall_builds.py7 LONG_OPTIONS = ["shard=", "shards="]
35 options = {"--shard": 0, "--shards": 1}
44 print "Usage: %s [--shard=<n> --shards=<n>] -- [configure flag ...]"%argv[0]
51 shard = int(options["--shard"])
58 my_configs = filter(lambda x: x[1] % shards == shard, my_configs)
61 # Run configs for this shard
/external/guava/guava-tests/test/com/google/common/hash/
H A DHashingTest.java68 for (int shard = 2; shard <= MAX_SHARDS; shard++) {
70 assertTrue(map.get(shard) <= 1.2 * ITERS / shard + 20);
/external/chromium_org/build/android/pylib/base/
H A Dtest_dispatcher_unittest.py176 ['a', 'b', 'c'], runner_factory, ['0', '1'], shard=True)
191 [], MockRunner, ['0', '1'], shard=True)
201 ['a', 'b', 'c'], runner_factory, ['0', '1'], shard=False)
217 [], MockRunner, ['0', '1'], shard=False)
H A Dtest_dispatcher.py217 threadsafe_counter: A _ThreadSafeCounter object used to get shard indices.
221 logging.warning('Creating shard %s for device %s.', index, device)
229 logging.warning('Failed to create shard for %s: [%s]', device, e)
355 def RunTests(tests, runner_factory, devices, shard=True,
365 shard: True if we should shard, False if we should replicate tests.
384 if shard:
/external/chromium_org/build/android/
H A Dtest_runner.py566 tests, runner_factory, devices, shard=True, test_timeout=None,
589 tests, runner_factory, devices, shard=True, test_timeout=60,
615 tests, runner_factory, devices, shard=True, test_timeout=None,
627 tests, runner_factory, devices, shard=True, test_timeout=None,
657 tests, runner_factory, devices, shard=True, test_timeout=None,
686 tests, runner_factory, devices, shard=False, test_timeout=None,
712 # shard=False means that each device will get the full list of tests
714 # shard=True means each device will pop the next test available from a queue,
717 tests, runner_factory, devices, shard=False, test_timeout=None,
/external/chromium_org/v8/tools/
H A Drun-deopt-fuzzer.py202 result.add_option("--shard-count",
205 result.add_option("--shard-run",
206 help="Run this shard from the split up tests.",
275 print "shard-run not a valid number, should be in [1:shard-count]"
279 shard = []
282 shard.append(test)
284 return shard
H A Drun-tests.py225 result.add_option("--shard-count",
228 result.add_option("--shard-run",
229 help="Run this shard from the split up tests.",
379 print "shard-run not a valid number, should be in [1:shard-count]"
383 shard = []
386 shard.append(test)
388 return shard

Completed in 2404 milliseconds