OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:shards
(Results
1 - 9
of
9
) sorted by null
/external/guava/guava-tests/test/com/google/common/hash/
HashingTest.java
53
for (int
shards
= 1;
shards
<= 100000;
shards
++) {
54
int b = Hashing.consistentHash(hashCode,
shards
);
56
assertEquals(
shards
- 1, b);
76
for (int
shards
= 2;
shards
<= MAX_SHARDS;
shards
++) {
77
int chosen = Hashing.consistentHash(h,
shards
);
79
map.incrementAndGet(
shards
);
[
all
...]
/external/chromium_org/third_party/libvpx/source/libvpx/tools/
all_builds.py
7
LONG_OPTIONS = ["shard=", "
shards
="]
35
options = {"--shard": 0, "--
shards
": 1}
44
print "Usage: %s [--shard=<n> --
shards
=<n>] -- [configure flag ...]"%argv[0]
52
shards
= int(options["--
shards
"])
58
my_configs = filter(lambda x: x[1] %
shards
== shard, my_configs)
/external/libvpx/libvpx/tools/
all_builds.py
7
LONG_OPTIONS = ["shard=", "
shards
="]
35
options = {"--shard": 0, "--
shards
": 1}
44
print "Usage: %s [--shard=<n> --
shards
=<n>] -- [configure flag ...]"%argv[0]
52
shards
= int(options["--
shards
"])
58
my_configs = filter(lambda x: x[1] %
shards
== shard, my_configs)
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/tools/
all_builds.py
7
LONG_OPTIONS = ["shard=", "
shards
="]
35
options = {"--shard": 0, "--
shards
": 1}
44
print "Usage: %s [--shard=<n> --
shards
=<n>] -- [configure flag ...]"%argv[0]
52
shards
= int(options["--
shards
"])
58
my_configs = filter(lambda x: x[1] %
shards
== shard, my_configs)
/external/chromium_org/tools/gyp/pylib/gyp/
MSVSUtil.py
83
shards
= int(target_dicts[t].get('msvs_shard', 0))
84
if
shards
:
85
targets_to_shard[t] =
shards
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/views/
printing_unittest.py
173
def run_test(total, exp, unexp,
shards
, result):
174
printer, err = self.get_printer(['--timing'] if
shards
else None)
175
fake_results = FakeRunResults(total, exp, unexp,
shards
)
/external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/
IsValidUtf8TestUtil.java
169
List<Shard>
shards
= new ArrayList<Shard>(numShards);
174
shards
.add(new Shard(i,
179
return
shards
;
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/
message_pool.py
60
"""Returns an object that exposes a run() method that takes a list of test
shards
and runs them in parallel."""
88
def run(self,
shards
):
90
for message in
shards
:
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/
layout_test_runner.py
105
# try to run the
shards
that need a lock. The easiest solution is to
106
# run all of the locked
shards
first.
385
"""Returns two lists of
shards
, one with all the tests requiring a lock and one with the rest.
406
"""Returns two lists of
shards
, each shard containing a single test file.
429
# The locked
shards
still need to be limited to self._max_locked_shards in order to not
435
"""Returns two lists of
shards
, each shard containing all the files in a directory.
461
# Sort the
shards
by directory name.
466
# Put a ceiling on the number of locked
shards
, so that we
470
# with the --max-locked-
shards
. After testing to make sure we
471
# can handle multiple
shards
, we should probably do something lik
[
all
...]
Completed in 345 milliseconds