401 const char *data =
"MY_DATA!";
MOSAPI s32 strncmp(const char *str1, const char *str2, size_t n)
MOSAPI void ring_buffer_destroy(ring_buffer_t *buffer)
should_inline size_t ring_buffer_pop_front(ring_buffer_t *buffer, u8 *buf, size_t size)
should_inline size_t ring_buffer_push_back_byte(ring_buffer_t *buffer, u8 byte)
should_inline bool ring_buffer_is_empty(ring_buffer_t *buffer)
should_inline bool ring_buffer_is_full(ring_buffer_t *buffer)
should_inline size_t ring_buffer_push_front_byte(ring_buffer_t *buffer, u8 byte)
should_inline size_t ring_buffer_push_back(ring_buffer_t *buffer, const u8 *data, size_t size)
should_inline size_t ring_buffer_pop_back(ring_buffer_t *buffer, u8 *buf, size_t size)
should_inline u8 ring_buffer_pop_front_byte(ring_buffer_t *buffer)
should_inline u8 ring_buffer_pop_back_byte(ring_buffer_t *buffer)
MOSAPI ring_buffer_t * ring_buffer_create(size_t capacity)
should_inline size_t ring_buffer_push_front(ring_buffer_t *buffer, const u8 *data, size_t size)
#define MOS_TEST_CHECK_STRING_N(actual, expected, n)
#define MOS_TEST_CHECK(actual, expected)
#define MOS_TEST_CHECK_STRING(actual, expected)
#define MOS_TEST_CASE(_TestName)