|
pelib
2.0.0
|
#include <stdlib.h>#include <stdio.h>#include <string.h>#include <pelib/unit.h>#include <pelib/size_t.h>Go to the source code of this file.
Defines | |
| #define | CAPACITY 10 |
| #define | VALUE 10 |
| #define | TO_TAIL 7 |
| #define | FROM_HEAD 4 |
| #define | DISCARD (CAPACITY - 7) |
| #define | OFFSET 1 |
Functions | |
| cfifo_t (size_t) | |
| void | cleanup () |
| void | setup () |
| void | teardown () |
| void | cfifo_popmem_simple () |
| void | cfifo_popmem_partial () |
| void | cfifo_popmem_reverse () |
| void | cfifo_popmem_too_much () |
| void | test_peekmem_simple () |
| void | test_peekmem_partial () |
| void | test_peekmem_reverse () |
| void | test_peekmem_too_much () |
| void | cfifo_length () |
| void | cfifo_last () |
| void | test_discard () |
| void | test_discard_too_much () |
| void | test_fill () |
| void | test_fill_too_much () |
| void | test_popfifo_simple () |
| void | test_popfifo_complex () |
| void | run () |
| #define CAPACITY 10 |
Definition at line 31 of file test_fifo.c.
Definition at line 35 of file test_fifo.c.
| #define FROM_HEAD 4 |
Definition at line 34 of file test_fifo.c.
| #define OFFSET 1 |
Definition at line 36 of file test_fifo.c.
| #define TO_TAIL 7 |
Definition at line 33 of file test_fifo.c.
| #define VALUE 10 |
Definition at line 32 of file test_fifo.c.
| void cfifo_last | ( | ) |
Definition at line 563 of file test_fifo.c.
| void cfifo_length | ( | ) |
Definition at line 539 of file test_fifo.c.
Definition at line 401 of file test_fifo.c.
Definition at line 417 of file test_fifo.c.
Definition at line 386 of file test_fifo.c.
Definition at line 442 of file test_fifo.c.
Definition at line 38 of file test_fifo.c.
Definition at line 61 of file test_fifo.c.
Definition at line 761 of file test_fifo.c.
Definition at line 67 of file test_fifo.c.
Definition at line 73 of file test_fifo.c.
| void test_discard | ( | ) |
Definition at line 584 of file test_fifo.c.
Definition at line 610 of file test_fifo.c.
Definition at line 621 of file test_fifo.c.
Definition at line 652 of file test_fifo.c.
Definition at line 478 of file test_fifo.c.
Definition at line 494 of file test_fifo.c.
Definition at line 463 of file test_fifo.c.
Definition at line 518 of file test_fifo.c.
Definition at line 719 of file test_fifo.c.
Definition at line 668 of file test_fifo.c.