Searched refs:write_idx_ (Results 1 – 4 of 4) sorted by relevance
46 uint64_t start = (write_idx_ - start_idx_) < kCapacity in ReadAll()48 : write_idx_ - kCapacity; in ReadAll()49 uint64_t end = write_idx_; in ReadAll()57 write_idx_ += kCapacity + 1; in ReadAll()69 start_idx_ = write_idx_; in ReadAll()
102 uint64_t idx = write_idx_++; in AppendRecord()126 bool HasOverwritten(uint64_t index) { return index + kCapacity < write_idx_; } in HasOverwritten()132 uint64_t write_idx_ = 0; variable
30 write_idx_ = 0; in Clear()59 reader.read_idx = write_idx_; in AttachReader()238 if (reader.read_idx < write_idx_) { in GetSlowestReader()272 if (write_idx_ < slowest_reader->read_idx) { in Dering()273 write_idx_ += buffer_bytes_; in Dering()275 write_idx_ -= slowest_reader->read_idx; in Dering()366 if (read_idx < write_idx_) { in RawAvailableBytes()367 return buffer_bytes_ - (write_idx_ - read_idx); in RawAvailableBytes()370 if (read_idx > write_idx_) { in RawAvailableBytes()371 return read_idx - write_idx_; in RawAvailableBytes()[all …]
144 write_idx_(0), in buffer_()334 size_t write_idx_; variable