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

/freebsd-10-stable/contrib/libarchive/libarchive/
H A Darchive_read_support_format_rar5.c380 static int cdeque_init(struct cdeque* d, int max_capacity_power_of_2) { argument
381 if(d == NULL || max_capacity_power_of_2 == 0)
384 d->cap_mask = max_capacity_power_of_2 - 1;
387 if((max_capacity_power_of_2 & d->cap_mask) != 0)
391 d->arr = malloc(sizeof(void*) * max_capacity_power_of_2);

Completed in 57 milliseconds