Home
last modified time | relevance | path

Searched refs:numShards (Results 1 – 3 of 3) sorted by relevance

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DIsValidUtf8TestUtil.java210 private static List<Shard> generateFourByteShards(int numShards, long[] expected) {
211 assertEquals(numShards, expected.length);
212 List<Shard> shards = new ArrayList<Shard>(numShards);
214 long increment = LIM / numShards;
215 assertTrue(LIM % numShards == 0);
216 for (int i = 0; i < numShards; i++) {
/external/swiftshader/third_party/llvm-7.0/llvm/utils/lit/lit/
Dmain.py458 if (opts.numShards is not None) or (opts.runShard is not None):
459 if (opts.numShards is None) or (opts.runShard is None):
461 if opts.numShards <= 0:
463 if (opts.runShard < 1) or (opts.runShard > opts.numShards):
467 test_ixs = range(opts.runShard - 1, num_tests, opts.numShards)
476 (opts.runShard, opts.numShards,
478 opts.numShards, opts.runShard, ix_preview))
/external/boringssl/src/util/
Dall_tests.go59 shard, numShards int member
283 if t.numShards == 0 {
287 return fmt.Sprintf(" [shard %d/%d]", t.shard+1, t.numShards)
371 shards[i].numShards = len(shards)