Home
last modified time | relevance | path

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

/haiku/src/libs/libsolv/solv/
H A Drepo.c341 …if (repo->lastidhash_idarraysize != repo->idarraysize || size * 2 > repo->lastidhash_mask || repo-… in repo_addid_dep_hash()
344 if (size * 2 > repo->lastidhash_mask) in repo_addid_dep_hash()
346 repo->lastidhash_mask = mkmask(size < REPO_ADDID_DEP_HASHMIN ? REPO_ADDID_DEP_HASHMIN : size); in repo_addid_dep_hash()
347 repo->lastidhash = solv_realloc2(repo->lastidhash, repo->lastidhash_mask + 1, sizeof(Id)); in repo_addid_dep_hash()
349 memset(repo->lastidhash, 0, (repo->lastidhash_mask + 1) * sizeof(Id)); in repo_addid_dep_hash()
352 h = oid & repo->lastidhash_mask; in repo_addid_dep_hash()
355 h = HASHCHAIN_NEXT(h, hh, repo->lastidhash_mask); in repo_addid_dep_hash()
365 h = id & repo->lastidhash_mask; in repo_addid_dep_hash()
368 h = HASHCHAIN_NEXT(h, hh, repo->lastidhash_mask); in repo_addid_dep_hash()
380 h = marker & repo->lastidhash_mask; in repo_addid_dep_hash()
[all …]
H A Drepo.h53 Hashval lastidhash_mask; member