Searched refs:GetFreeSize (Results 1 – 5 of 5) sorted by relevance
53 return GetFreeSize() >= GetHeaderSize() && in CanFitNow()54 GetFreeSize() - GetHeaderSize() >= length; in CanFitNow()
78 size_t GetFreeSize() const { return capacity_ - write_pos_; } in GetFreeSize() function
50 EXPECT_EQ(0U, buffer_.GetFreeSize()); in FillBufferWithMultipleMessages()281 EXPECT_EQ(kBufferSizeBytes, buffer_.GetFreeSize()); in TEST_F()287 buffer_.GetFreeSize()); in TEST_F()292 EXPECT_EQ(0U, buffer_.GetFreeSize()); in TEST_F()298 EXPECT_EQ(0U, buffer_.GetFreeSize()); in TEST_F()304 EXPECT_EQ(kBufferSizeBytes, buffer_.GetFreeSize()); in TEST_F()
45 size_t GetFreeSize() const;
37 size_t RecordBuffer::GetFreeSize() const { in GetFreeSize() function in simpleperf::RecordBuffer461 size_t free_size = record_buffer_.GetFreeSize(); in PushRecordToRecordBuffer()