Home
last modified time | relevance | path

Searched refs:max_capacity_power_of_2 (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_support_format_rar5.c391 static int cdeque_init(struct cdeque* d, int max_capacity_power_of_2) { in cdeque_init() argument
392 if(d == NULL || max_capacity_power_of_2 == 0) in cdeque_init()
395 d->cap_mask = max_capacity_power_of_2 - 1; in cdeque_init()
398 if((max_capacity_power_of_2 & d->cap_mask) != 0) in cdeque_init()
402 d->arr = malloc(sizeof(void*) * max_capacity_power_of_2); in cdeque_init()