/external/icing/icing/legacy/index/ |
D | icing-array-storage.cc | 54 uint32_t elt_size, uint32_t num_elts, in Init() argument 75 if (capacity_num_elts < num_elts) { in Init() 77 "Array storage num elts %u > capacity num elts %u", num_elts, in Init() 100 cur_num_ = changes_end_ = num_elts; in Init() 199 bool IcingArrayStorage::GrowIfNecessary(uint32_t num_elts) { in GrowIfNecessary() argument 200 if (num_elts <= capacity_num_) return true; in GrowIfNecessary() 201 if (num_elts > max_num_) return false; in GrowIfNecessary() 204 uint64_t new_file_size = fd_offset_ + uint64_t{num_elts} * elt_size_; in GrowIfNecessary()
|
D | icing-array-storage.h | 60 uint32_t num_elts, uint32_t max_num_elts, uint32_t *crc_ptr, 98 uint32_t num_elts() const { return cur_num_; } in num_elts() function 135 bool GrowIfNecessary(uint32_t num_elts);
|
/external/llvm-project/mlir/test/Transforms/ |
D | pipeline-data-transfer.mlir | 17 %num_elts = constant 32 : index 20 …affine.dma_start %A[%i], %Ah[%i], %tag[%zero], %num_elts : memref<256 x f32>, memref<32 x f32, 1>,… 21 affine.dma_wait %tag[%zero], %num_elts : memref<1 x f32> 112 %num_elts = constant 256 : index 127 …affine.dma_start %arg2[%6, %c0], %2[%c0, %c0], %5[%c0], %num_elts : memref<512x32xvector<8xf32>>, … 128 affine.dma_wait %5[%c0], %num_elts : memref<2xi32> 143 …affine.dma_start %arg0[%7, %c0], %0[%c0, %c0], %3[%c0], %num_elts : memref<512x32xvector<8xf32>>, … 144 …affine.dma_start %arg1[%8, %c0], %1[%c0, %c0], %4[%c0], %num_elts : memref<512x32xvector<8xf32>>, … 145 affine.dma_wait %3[%c0], %num_elts : memref<2xi32> 146 affine.dma_wait %4[%c0], %num_elts : memref<2xi32> [all …]
|
/external/tensorflow/tensorflow/core/framework/ |
D | tensor.cc | 1114 string SummarizeArray(int64 limit, int64 num_elts, in SummarizeArray() argument 1126 if (num_elts > limit) strings::StrAppend(&ret, "..."); in SummarizeArray() 1137 if (num_elts > limit) strings::StrAppend(&ret, "..."); in SummarizeArray() 1145 const int64 num_elts = NumElements(); in SummarizeValue() local 1147 max_entries = num_elts; in SummarizeValue() 1149 size_t limit = std::min(max_entries, num_elts); in SummarizeValue() 1151 return strings::StrCat("uninitialized Tensor of ", num_elts, in SummarizeValue() 1157 return SummarizeArray<bfloat16>(limit, num_elts, shape_, data, print_v2); in SummarizeValue() 1160 return SummarizeArray<Eigen::half>(limit, num_elts, shape_, data, in SummarizeValue() 1164 return SummarizeArray<float>(limit, num_elts, shape_, data, print_v2); in SummarizeValue() [all …]
|
/external/llvm-project/llvm/utils/ |
D | shuffle_select_fuzz_tester.py | 219 def get_random_type(ty, num_elts): argument 243 if num_elts == None: 244 num_elts = random.choice(range(2, 65)) 255 return Type(is_float, width, num_elts) 351 assert args.num_elts == None or args.num_elts > 0, "num_elts must be a positive integer." 354 ty = get_random_type(args.type, args.num_elts)
|
/external/tensorflow/tensorflow/cc/framework/ |
D | cc_op_gen.cc | 155 string PrintArray(int64 num_elts, const T* array) { in PrintArray() argument 157 for (int64 i = 0; i < num_elts; ++i) { in PrintArray() 167 const int64 num_elts = t.NumElements(); in PrintTensor() local 170 return PrintArray(num_elts, t.flat<float>().data()); in PrintTensor() 172 return PrintArray(num_elts, t.flat<double>().data()); in PrintTensor() 174 return PrintArray(num_elts, t.flat<int32>().data()); in PrintTensor() 177 return PrintArray(num_elts, t.flat<uint8>().data()); in PrintTensor() 180 return PrintArray(num_elts, t.flat<uint16>().data()); in PrintTensor() 183 return PrintArray(num_elts, t.flat<int16>().data()); in PrintTensor() 186 return PrintArray(num_elts, t.flat<int8>().data()); in PrintTensor() [all …]
|
/external/libchrome/base/containers/ |
D | circular_deque_unittest.cc | 50 constexpr size_t num_elts = 9; in TEST() local 57 circular_deque<int> buf(num_elts); in TEST() 59 EXPECT_EQ(num_elts, buf.size()); in TEST() 60 EXPECT_EQ(num_elts, static_cast<size_t>(buf.end() - buf.begin())); in TEST() 62 for (size_t i = 0; i < num_elts; i++) in TEST() 69 circular_deque<int> buf(num_elts, value); in TEST() 71 EXPECT_EQ(num_elts, buf.size()); in TEST() 72 EXPECT_EQ(num_elts, static_cast<size_t>(buf.end() - buf.begin())); in TEST() 74 for (size_t i = 0; i < num_elts; i++) in TEST()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | base_collective_executor.cc | 144 int64 num_elts = ChunkElts(i); in ChunkAlias() local 148 return (num_elts > 0) ? output_.Slice(start, start + num_elts) in ChunkAlias()
|
/external/llvm-project/lldb/source/Plugins/Instruction/ARM/ |
D | EmulationStateARM.cpp | 304 uint32_t num_elts = mem_array->GetSize(); in LoadStateFromDictionary() local 307 for (uint32_t i = 0; i < num_elts; ++i) { in LoadStateFromDictionary()
|
/external/tensorflow/tensorflow/compiler/xrt/ |
D | xrt_util.cc | 215 const int64 num_elts = arg.shape().dim_size(0); in GetComputationInputs() local 216 for (int i = 0; i < num_elts; ++i) { in GetComputationInputs()
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | scoped_allocator_optimizer.cc | 475 int64 num_elts = num_bytes / DataTypeSize(*dtype); in AnalyzeInputs() local 476 VLOG(2) << "num_bytes " << num_bytes << " num_elts=" << num_elts; in AnalyzeInputs() 477 *sa_shape = TensorShape({num_elts}); in AnalyzeInputs()
|