Searched refs:current_index_ (Results 1 – 7 of 7) sorted by relevance
/external/tensorflow/tensorflow/lite/profiling/ |
D | profile_buffer.h | 66 : enabled_(enabled), current_index_(0), event_buffer_(max_num_entries) {} in ProfileBuffer() 78 int index = current_index_ % event_buffer_.size(); in BeginEvent() 79 if (current_index_ != 0 && index == 0) { in BeginEvent() 81 return current_index_; in BeginEvent() 92 current_index_++; in BeginEvent() 105 event_handle > current_index_) { 109 if (current_index_ > (max_size + event_handle)) { 135 const int index = current_index_ % event_buffer_.size(); in AddEvent() 136 if (current_index_ != 0 && index == 0) { in AddEvent() 146 current_index_++; in AddEvent() [all …]
|
/external/libchrome/base/containers/ |
D | ring_buffer.h | 27 RingBuffer() : current_index_(0) {} in RingBuffer() 31 size_t CurrentIndex() const { return current_index_; } in CurrentIndex() 56 current_index_++; in SaveToBuffer() 59 void Clear() { current_index_ = 0; } in Clear() 102 if (current_index_ < kSize) in Begin() 103 return Iterator(*this, kSize - current_index_); in Begin() 114 return (current_index_ + n) % kSize; in BufferIndex() 122 return buffer_index < current_index_; in IsFilledIndexByBufferIndex() 126 size_t current_index_; variable
|
/external/webrtc/common_audio/resampler/ |
D | sinusoidal_linear_chirp_source.cc | 27 current_index_(0), in SinusoidalLinearChirpSource() 35 for (size_t i = 0; i < frames; ++i, ++current_index_) { in Run() 37 if (Frequency(current_index_) > 0.5 * sample_rate_) { in Run() 41 if (current_index_ < delay_samples_) { in Run() 45 double t = (current_index_ - delay_samples_) / sample_rate_; in Run()
|
D | sinusoidal_linear_chirp_source.h | 47 size_t current_index_; variable
|
/external/tensorflow/tensorflow/core/kernels/data/experimental/ |
D | unbatch_dataset_op.cc | 112 current_index_(0), in Iterator() 131 if (current_index_ < current_batch_size_) { in GetNextInternal() 138 &tensors_[i], &out_tensors->back(), current_index_)); in GetNextInternal() 140 ++current_index_; in GetNextInternal() 144 current_index_ = 0; in GetNextInternal() 198 writer->WriteScalar(full_name("current_index"), current_index_)); in SaveInternal() 201 if (current_index_ < current_batch_size_) { in SaveInternal() 219 reader->ReadScalar(full_name("current_index"), ¤t_index_)); in RestoreInternal() 224 if (current_index_ < current_batch_size_) { in RestoreInternal() 237 int64 current_index_ TF_GUARDED_BY(mu_);
|
/external/tensorflow/tensorflow/core/platform/cloud/ |
D | http_request_fake.h | 199 EXPECT_EQ(current_index_, requests_->size()) in ~FakeHttpRequestFactory() 204 EXPECT_LT(current_index_, requests_->size()) in Create() 206 return (*requests_)[current_index_++]; in Create() 211 int current_index_ = 0; variable
|
/external/tensorflow/tensorflow/compiler/jit/ |
D | compilability_check_util.cc | 117 : current_index_(0), values_(values) {} in SinglePassSearch() 125 while (current_index_ < values_.size() && in ScanForValue() 126 values_[current_index_] <= value) { in ScanForValue() 127 if (values_[current_index_] == value) { in ScanForValue() 128 current_index_++; in ScanForValue() 131 current_index_++; in ScanForValue() 137 int current_index_; member in tensorflow::__anonf10835bc0111::SinglePassSearch
|