clib/test/bkfifo/bkfifo.c
2023-10-26 12:30:54 +08:00

20 lines
258 B
C

#include <stdio.h>
#include <stdlib.h>
#include <bkfifo.h>
int test01(int size) {
return ((size < 2) || (size & (size - 1))) ? -1 : size;
}
int work01() {
for (int i = 0; i < 18; i++) {
printf("%d:%d\n", i, test01(i));
}
}
int main()
{
return 0;
}