Home
last modified time | relevance | path

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

/rocksdb-6.9/third-party/gtest-1.8.1/fused-src/gtest/
Dgtest-all.cc676 int total_shards, int shard_index, int test_id);
6720 const Int32 total_shards = Int32FromEnvOrDie(total_shards_env, -1); in ShouldShard() local
6723 if (total_shards == -1 && shard_index == -1) { in ShouldShard()
6725 } else if (total_shards == -1 && shard_index != -1) { in ShouldShard()
6733 } else if (total_shards != -1 && shard_index == -1) { in ShouldShard()
6736 << kTestTotalShards << " = " << total_shards in ShouldShard()
6741 } else if (shard_index < 0 || shard_index >= total_shards) { in ShouldShard()
6746 << ", " << kTestTotalShards << "=" << total_shards << ".\n"; in ShouldShard()
6752 return total_shards > 1; in ShouldShard()
6777 return (test_id % total_shards) == shard_index; in ShouldRunTestOnShard()
[all …]