Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/profiling/
Dprofile_buffer.h69 : enabled_(enabled), current_index_(0), event_buffer_(max_num_entries) {} in ProfileBuffer()
81 int index = current_index_ % event_buffer_.size(); in BeginEvent()
82 if (current_index_ != 0 && index == 0) { in BeginEvent()
90 current_index_++; in BeginEvent()
102 event_handle > current_index_) { in EndEvent()
106 if (current_index_ > (max_size + event_handle)) { in EndEvent()
118 return (current_index_ >= event_buffer_.size()) ? event_buffer_.size() in Size()
119 : current_index_; in Size()
125 current_index_ = 0; in Reset()
138 (current_index_ > max_size) ? current_index_ % max_size : max_size; in At()
[all …]
/external/v8/src/interpreter/
Dbytecode-array-random-iterator.h23 ++current_index_;
28 --current_index_;
34 current_index_ += offset;
40 current_index_ -= offset;
45 int current_index() const { return current_index_; } in current_index()
50 current_index_ = index; in GoToIndex()
54 current_index_ = 0; in GoToStart()
59 current_index_ = static_cast<int>(offsets_.size() - 1); in GoToEnd()
67 int current_index_; variable
Dbytecode-array-random-iterator.cc26 return current_index_ >= 0 && in IsValid()
27 static_cast<size_t>(current_index_) < offsets_.size(); in IsValid()
32 SetOffset(offsets_[current_index_]); in UpdateOffsetFromIndex()
/external/libchrome/base/containers/
Dring_buffer.h27 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/tensorflow/tensorflow/core/kernels/data/experimental/
Dunbatch_dataset_op.cc89 current_index_(0), in Iterator()
107 if (current_index_ < current_batch_size_) { in GetNextInternal()
114 &tensors_[i], &out_tensors->back(), current_index_)); in GetNextInternal()
116 ++current_index_; in GetNextInternal()
120 current_index_ = 0; in GetNextInternal()
173 writer->WriteScalar(full_name("current_index"), current_index_)); in SaveInternal()
176 if (current_index_ < current_batch_size_) { in SaveInternal()
194 reader->ReadScalar(full_name("current_index"), &current_index_)); in RestoreInternal()
199 if (current_index_ < current_batch_size_) { in RestoreInternal()
212 int64 current_index_ GUARDED_BY(mu_);
/external/webrtc/webrtc/common_audio/resampler/
Dsinusoidal_linear_chirp_source.cc27 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()
Dsinusoidal_linear_chirp_source.h47 size_t current_index_; variable
/external/tensorflow/tensorflow/compiler/jit/
Dcreate_xla_launch_op.cc44 : current_index_(0), values_(values) {} in SinglePassSearch()
52 while (current_index_ < values_->size() && in ScanForValue()
53 (*values_)[current_index_] <= value) { in ScanForValue()
54 if ((*values_)[current_index_] == value) { in ScanForValue()
55 current_index_++; in ScanForValue()
58 current_index_++; in ScanForValue()
64 int current_index_; member in tensorflow::__anonef1d8f220111::SinglePassSearch
/external/v8/src/
Dstring-builder-inl.h150 return part_length_ - current_index_ > length; in CurrentPartCanFit()
235 : NoExtend<DestChar>(builder->current_part(), builder->current_index_), in NoExtendBuilder()
241 builder_->current_index_ += NoExtend<DestChar>::written(); in ~NoExtendBuilder()
271 DCHECK(current_index_ < part_length_); in ShrinkCurrentPart()
273 Handle<SeqString>::cast(current_part()), current_index_)); in ShrinkCurrentPart()
284 int current_index_; variable
295 ->SeqOneByteStringSet(current_index_++, c); in Append()
299 ->SeqTwoByteStringSet(current_index_++, c); in Append()
301 if (current_index_ == part_length_) Extend(); in Append()
Dbit-vector.cc33 current_index_++; in Advance()
36 val = target_->data_.ptr_[current_index_]; in Advance()
37 current_ = current_index_ << kDataBitShift; in Advance()
Dstring-builder.cc237 current_index_(0) { in IncrementalStringBuilder()
246 return accumulator_->length() + current_index_; in Length()
264 DCHECK_EQ(current_index_, current_part()->length()); in Extend()
277 current_index_ = 0; in Extend()
Dbit-vector.h28 current_index_(0), in Iterator()
36 bool Done() const { return current_index_ >= target_->data_length_; } in Done()
61 int current_index_; variable
/external/tensorflow/tensorflow/core/platform/cloud/
Dhttp_request_fake.h198 EXPECT_EQ(current_index_, requests_->size()) in ~FakeHttpRequestFactory()
203 EXPECT_LT(current_index_, requests_->size()) in Create()
205 return (*requests_)[current_index_++]; in Create()
210 int current_index_ = 0; variable