Home
last modified time | relevance | path

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

/third_party/boost/libs/lockfree/test/
Dspsc_queue_test.cpp188 const size_t xqueue_size = 64; in spsc_queue_buffer_push_return_value() local
192 int data[xqueue_size]; in spsc_queue_buffer_push_return_value()
193 for (size_t i = 0; i != xqueue_size; ++i) in spsc_queue_buffer_push_return_value()
198 BOOST_REQUIRE_EQUAL(rb.push(data, xqueue_size), xqueue_size); in spsc_queue_buffer_push_return_value()
202 BOOST_REQUIRE_EQUAL(rb.push(data), xqueue_size); in spsc_queue_buffer_push_return_value()
206 BOOST_REQUIRE_EQUAL(rb.push(data, data + xqueue_size), data + xqueue_size); in spsc_queue_buffer_push_return_value()
215 BOOST_REQUIRE_EQUAL(rb.push(data, xqueue_size), buffer_size - xqueue_size); in spsc_queue_buffer_push_return_value()
219 BOOST_REQUIRE_EQUAL(rb.push(data), buffer_size - xqueue_size); in spsc_queue_buffer_push_return_value()
223 BOOST_REQUIRE_EQUAL(rb.push(data, data + xqueue_size), data + buffer_size - xqueue_size); in spsc_queue_buffer_push_return_value()
245 const size_t xqueue_size = ElementCount; in spsc_queue_buffer_push() local
[all …]