Home
last modified time | relevance | path

Searched refs:DEFAULT_SIZE (Results 1 – 3 of 3) sorted by relevance

/developtools/profiler/hiebpf/test/unittest/
Dringbuffer_test.cpp68 ASSERT_EQ(ringBuffer->bufSize_, RingBuffer::BufferSize::DEFAULT_SIZE);
180 for (int i = testStr.size(); i < RingBuffer::BufferSize::DEFAULT_SIZE - 1; i++) {
193 EXPECT_EQ(ringBuffer->bufSize_, RingBuffer::BufferSize::DEFAULT_SIZE);
238 EXPECT_EQ(ringBuffer->bufSize_, RingBuffer::BufferSize::DEFAULT_SIZE);
270 EXPECT_EQ(ringBuffer->bufSize_, RingBuffer::BufferSize::DEFAULT_SIZE);
301 EXPECT_EQ(ringBuffer->bufSize_, RingBuffer::BufferSize::DEFAULT_SIZE);
313 len = ringBuffer->Get(buff.data(), RingBuffer::BufferSize::DEFAULT_SIZE + 1);
319 for (int i = testStr.size() + 1; i < RingBuffer::BufferSize::DEFAULT_SIZE; i++) {
395 for (int i = sizeof(ptr) + 1; i < RingBuffer::BufferSize::DEFAULT_SIZE - 1; i++) {
401 const int size = RingBuffer::BufferSize::DEFAULT_SIZE - 1;
[all …]
/developtools/profiler/hiebpf/include/
Dringbuffer.h32 const std::size_t bufSize = DEFAULT_SIZE,
130 DEFAULT_SIZE = (1 << 8), enumerator
133 std::size_t bufSize_ {DEFAULT_SIZE};
/developtools/profiler/hiebpf/src/
Dringbuffer.cpp27 if (bufSize_ <= DEFAULT_SIZE) {
28 bufSize_ = DEFAULT_SIZE;