Searched refs:nid (Results 1 – 2 of 2) sorted by relevance
36 uint32_t nid = lastIndex_ >> NODE_BLOCK_SIZE_LOG2; in NewHandle() local38 if (nodes_.size() <= nid) { in NewHandle()42 auto node = nodes_[nid]; in NewHandle()56 uint32_t nid = lastIndex_ >> NODE_BLOCK_SIZE_LOG2; in FreeHandles() local58 nid++; in FreeHandles()59 for (size_t i = nid; i < nodes_.size(); ++i) { in FreeHandles()62 if (nid < nodes_.size()) { in FreeHandles()63 nodes_.erase(nodes_.begin() + nid, nodes_.end()); in FreeHandles()70 uint32_t nid = lastIndex_ >> NODE_BLOCK_SIZE_LOG2; in ZapFreedHandles() local72 for (size_t i = nid; i < nodes_.size(); ++i) { in ZapFreedHandles()[all …]
806 int32_t nid = currentHandleStorageIndex_; in Iterate() local807 for (int32_t i = 0; i <= nid; ++i) { in Iterate()810 auto end = (i != nid) ? &(node->data()[NODE_BLOCK_SIZE]) : handleScopeStorageNext_; in Iterate()826 int32_t nid = currentHandleStorageIndex_; in IterateHandle() local827 for (int32_t i = 0; i <= nid; ++i) { in IterateHandle()830 auto end = (i != nid) ? &(node->data()[NODE_BLOCK_SIZE]) : handleScopeStorageNext_; in IterateHandle()