#include "lib/types.h"
#include "lib/string.h"
#include "lib/time.h"
#include "lib/memory.h"
#include "lib/arith.h"
#include "ut/ut.h"
Go to the source code of this file.
◆ BM_COMMON_STR
| #define BM_COMMON_STR "bm-majority-algorithm" |
◆ anonymous enum
| Enumerator |
|---|
| BM_MJR_EVEN_ARR_LEN | |
| BM_MJR_ODD_ARR_LEN | |
Definition at line 36 of file misc.c.
◆ m0_test_misc()
| void m0_test_misc |
( |
void |
| ) |
|
◆ test_forall_exists()
| static void test_forall_exists |
( |
void |
| ) |
|
|
static |
◆ test_majority_dist_val()
| static void test_majority_dist_val |
( |
void |
| ) |
|
|
static |
◆ test_majority_get()
| static void test_majority_get |
( |
void |
| ) |
|
|
static |
◆ test_majority_ident_arr()
| static void test_majority_ident_arr |
( |
void |
| ) |
|
|
static |
◆ test_majority_tie()
| static void test_majority_tie |
( |
void |
| ) |
|
|
static |
◆ test_str_startswith()
| static void test_str_startswith |
( |
void |
| ) |
|
|
static |
◆ uint128_add_check()
◆ uint128_add_ut()
| static void uint128_add_ut |
( |
void |
| ) |
|
|
static |
◆ uint128_mul_check()
| static void uint128_mul_check |
( |
uint64_t |
a, |
|
|
uint64_t |
b, |
|
|
const struct m0_uint128 * |
c |
|
) |
| |
|
static |
◆ uint128_mul_check1()
| static void uint128_mul_check1 |
( |
uint64_t |
a, |
|
|
uint64_t |
b, |
|
|
const struct m0_uint128 * |
c |
|
) |
| |
|
static |
◆ uint128_mul_ut()
| static void uint128_mul_ut |
( |
void |
| ) |
|
|
static |
◆ cmax128
◆ cmax64
◆ cmax64_1
◆ cmax64_2
◆ one
◆ three
◆ two
◆ zero