Home | History | Annotate | Download | only in src

Lines Matching refs:nc

215         size_t nc = __next_prime(2*static_cast<size_t>(__cend_ - __cbeg_) + 1);
216 __c_node** cbeg = static_cast<__c_node**>(calloc(nc, sizeof(void*)));
225 size_t h = hash<void*>()(q->__c_) % nc;
234 __cend_ = __cbeg_ + nc;
529 size_t nc = 2*static_cast<size_t>(cap_ - beg_);
530 if (nc == 0)
531 nc = 1;
533 static_cast<__i_node**>(malloc(nc * sizeof(__i_node*)));
537 if (nc > 1)
538 memcpy(beg, beg_, nc/2*sizeof(__i_node*));
541 end_ = beg_ + nc/2;
542 cap_ = beg_ + nc;
555 size_t nc = __next_prime(2*static_cast<size_t>(__iend_ - __ibeg_) + 1);
556 __i_node** ibeg = static_cast<__i_node**>(calloc(nc, sizeof(void*)));
565 size_t h = hash<void*>()(q->__i_) % nc;
574 __iend_ = __ibeg_ + nc;