38 const int a[] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 0 };
44 M0_UT_ASSERT(m0_reduce(
i, 4, 0, + a[
i]) == a[0] + a[1] + a[2] + a[3]);
56 foo_tlist_init(&
head);
68 f->f_val >
s->f_val ?
f :
s)->f_val ==
M0_TL_DEFINE(foo, static, struct foo)
static struct foo foos[FOO_NR]
static int head(struct m0_sm *mach)
static int64_t max64(int64_t a, int64_t b)
struct m0_tlink f_linkage
M0_TL_DESCR_DEFINE(foo, "fold-foo", static, struct foo, f_linkage, f_val, 0, 0)
static int64_t min64(int64_t a, int64_t b)
static struct m0_addb2_source * s