/external/tensorflow/tensorflow/core/util/ |
D | work_sharder_test.cc | 37 Shard(num_workers, threads, total, cost_per_unit, in RunSharding() 65 TEST(Shard, Basic) { in TEST() argument 79 TEST(Shard, OverflowTest) { in TEST() argument 85 Shard(workers, &threads, total_elements, cost_per_unit, in TEST() 101 Shard(arg - 1, &threads, total, 1, work); in BM_Sharding()
|
D | work_sharder.h | 59 void Shard(int max_parallelism, thread::ThreadPool* workers, int64_t total,
|
D | work_sharder.cc | 32 void Shard(int max_parallelism, thread::ThreadPool* workers, int64_t total, in Shard() function
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | IsValidUtf8TestUtil.java | 178 static final class Shard { class in IsValidUtf8TestUtil 184 public Shard(long index, long start, long lim, long expected) { in Shard() method in IsValidUtf8TestUtil.Shard 226 static final List<Shard> FOUR_BYTE_SHARDS = 229 private static List<Shard> generateFourByteShards(int numShards, long[] expected) { in generateFourByteShards() 231 List<Shard> shards = new ArrayList<>(numShards); in generateFourByteShards() 236 shards.add(new Shard(i, increment * i, increment * (i + 1), expected[i])); in generateFourByteShards()
|
D | IsValidUtf8Test.java | 43 import com.google.protobuf.IsValidUtf8TestUtil.Shard; 134 for (Shard shard : IsValidUtf8TestUtil.FOUR_BYTE_SHARDS) { in testShardsHaveExpectedRoundTrippables()
|
/external/cronet/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | IsValidUtf8TestUtil.java | 178 static final class Shard { class in IsValidUtf8TestUtil 184 public Shard(long index, long start, long lim, long expected) { in Shard() method in IsValidUtf8TestUtil.Shard 226 static final List<Shard> FOUR_BYTE_SHARDS = 229 private static List<Shard> generateFourByteShards(int numShards, long[] expected) { in generateFourByteShards() 231 List<Shard> shards = new ArrayList<>(numShards); in generateFourByteShards() 236 shards.add(new Shard(i, increment * i, increment * (i + 1), expected[i])); in generateFourByteShards()
|
D | IsValidUtf8Test.java | 43 import com.google.protobuf.IsValidUtf8TestUtil.Shard; 134 for (Shard shard : IsValidUtf8TestUtil.FOUR_BYTE_SHARDS) { in testShardsHaveExpectedRoundTrippables()
|
/external/tensorflow/tensorflow/security/advisory/ |
D | tfsa-2020-014.md | 1 ## TFSA-2020-014: Integer truncation in Shard API usage 7 The [`Shard` 12 void Shard(int max_parallelism, thread::ThreadPool* workers, int64 total, 22 Shard(worker_threads.num_threads, worker_threads.workers,
|
/external/tensorflow/tensorflow/dtensor/tests/ |
D | tensor_layout_test.cc | 306 Shard shard1{1}; in TEST_F() 311 Shard shard2{2}; in TEST_F() 312 Shard shard3{3}; in TEST_F() 323 Shard shard1{3}; in TEST_F() 328 Shard shard2{7}; in TEST_F() 329 Shard shard3{8}; in TEST_F() 330 Shard shard4{9}; in TEST_F() 345 Shard shard{i, j}; in TEST_F()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | record_yielder.cc | 71 struct RecordYielder::Shard { struct in tensorflow::RecordYielder 134 std::vector<Shard> shards(N); in MainLoop() 136 Shard* shard = &shards[i]; in MainLoop() 198 void RecordYielder::ShardLoop(Shard* shard) { in ShardLoop()
|
D | record_yielder.h | 152 struct Shard; 153 void ShardLoop(Shard* shard);
|
D | diag_op.cc | 143 Shard(worker_threads.num_threads, worker_threads.workers, size, 5 * size, in operator ()() 164 Shard(worker_threads.num_threads, worker_threads.workers, size, 5, in operator ()()
|
D | sdca_ops.cc | 228 Shard(worker_threads.num_threads, worker_threads.workers, in DoCompute() 285 Shard(worker_threads.num_threads, worker_threads.workers, in Compute()
|
D | nth_element_op.cc | 120 Shard(worker_threads.num_threads, worker_threads.workers, num_rows, in operator ()()
|
D | sdca_internal.cc | 502 Shard(worker_threads.num_threads, worker_threads.workers, num_sparse_features, in CreateSparseFeatureRepresentation() 534 Shard(worker_threads.num_threads, worker_threads.workers, num_dense_features, in CreateDenseFeatureRepresentation() 582 Shard(worker_threads.num_threads, worker_threads.workers, num_examples, in ComputeSquaredNormPerExample()
|
/external/autotest/frontend/afe/ |
D | rpc_interface_unittest.py | 226 self.assertRaises(models.Shard.DoesNotExist, 227 models.Shard.objects.get, 415 shard1 = models.Shard.objects.create(hostname='shard1') 431 shard1 = models.Shard.objects.create(hostname='shard1') 539 shard = models.Shard.objects.create(hostname='test_shard') 550 shard1 = models.Shard.smart_get(shard.id) 627 shard = models.Shard.objects.create(hostname=shard_hostname) 982 shard = models.Shard.objects.create(hostname='shard') 1122 shard = models.Shard.objects.create(hostname=shard_hostname) 1184 shard1 = models.Shard.objects.create(hostname='shard1') [all …]
|
/external/autotest/server/cros/tradefed/tradefed_utils_unittest_data/ |
D | CtsDeqpTestCases-trimmed-inaccurate.txt | 22 Shard 0 used: [chromeos6-row4-rack16-host9:22] 23 Shard 1 used: [chromeos6-row4-rack16-host17:22]
|
/external/tensorflow/tensorflow/dtensor/cc/ |
D | tensor_layout.cc | 88 const Shard& shard, in ExpandShardVector() 89 int dim_ind) -> std::vector<Shard> { in ExpandShardVector() 94 std::vector<Shard> expanded_shards; in ExpandShardVector() 100 Shard new_shard = shard; in ExpandShardVector() 108 std::vector<Shard> total_expanded_shards = shard_vec.shards; in ExpandShardVector() 110 std::vector<Shard> dim_expanded_shards; in ExpandShardVector() 112 std::vector<Shard> expanded_shards = ExpandShard(shard, dim_ind); in ExpandShardVector() 139 Shard first_shard_this = this->shards[0]; in operator ==() 140 Shard first_shard_other = other.shards[0]; in operator ==() 159 for (const Shard& shard : shards) in ToString() [all …]
|
D | tensor_layout.h | 67 using Shard = std::vector<int>; variable 74 bool ContainsShard(const Shard& shard) const; 76 std::vector<Shard> shards;
|
/external/leveldb/util/ |
D | cache.cc | 349 static uint32_t Shard(uint32_t hash) { return hash >> (32 - kNumShardBits); } in Shard() function in leveldb::__anone441f5b80111::ShardedLRUCache 362 return shard_[Shard(hash)].Insert(key, hash, value, charge, deleter); in Insert() 366 return shard_[Shard(hash)].Lookup(key, hash); in Lookup() 370 shard_[Shard(h->hash)].Release(handle); in Release() 374 shard_[Shard(hash)].Erase(key, hash); in Erase()
|
/external/tensorflow/tensorflow/core/lib/io/ |
D | cache.cc | 361 static uint32_t Shard(uint32_t hash) { return hash >> (32 - kNumShardBits); } in Shard() function in tensorflow::table::__anon025143c70111::ShardedLRUCache 374 return shard_[Shard(hash)].Insert(key, hash, value, charge, deleter); in Insert() 378 return shard_[Shard(hash)].Lookup(key, hash); in Lookup() 382 shard_[Shard(h->hash)].Release(handle); in Release() 386 shard_[Shard(hash)].Erase(key, hash); in Erase()
|
/external/rust/crates/crossbeam-utils/src/sync/ |
D | sharded_lock.rs | 19 struct Shard { struct 78 shards: Box<[CachePadded<Shard>]>, 104 CachePadded::new(Shard { in new()
|
/external/tensorflow/tensorflow/core/kernels/sparse/ |
D | sparse_cholesky_op.cc | 112 Shard(worker_threads.num_threads, worker_threads.workers, batch_size, in Compute() 191 Shard(worker_threads.num_threads, worker_threads.workers, batch_size, in Compute()
|
D | sparse_ordering_amd_op.cc | 97 Shard( in Compute()
|
/external/tensorflow/tensorflow/core/protobuf/ |
D | saver.proto | 26 // Shard the save files, one per device that has Variable nodes.
|