Searched refs:IndexT (Results 1 – 6 of 6) sorted by relevance
49 using IntervalT = std::pair<IndexT, IndexT>;97 void set(IndexT Index) { in set()135 void reset(IndexT Index) { in reset()144 IndexT Start = It.start(); in reset()148 IndexT Stop = It.stop(); in reset()255 IndexT CachedStart = IndexT();256 IndexT CachedStop = IndexT();260 CachedStart = IndexT(); in setToEnd()261 CachedStop = IndexT(); in setToEnd()399 void insert(IndexT Start, IndexT End) { Intervals.insert(Start, End, 0); } in insert()[all …]
31 using IndexT = typename ToIndexT::argument_type; variable46 typename StorageT::reference operator[](IndexT n) {51 typename StorageT::const_reference operator[](IndexT n) const {68 void grow(IndexT n) { in grow()74 bool inBounds(IndexT n) const { in inBounds()
28 typedef u32 IndexT; typedef30 IndexT cache[kSize];39 typedef typename Cache::IndexT IndexT; typedef68 IndexT Alloc(Cache *c) { in Alloc()74 void Free(Cache *c, IndexT idx) { in Free()81 T *Map(IndexT idx) { in Map()93 *(IndexT*)Map(idx) = freelist_; in FlushCache()110 IndexT freelist_ = {0};138 IndexT idx = freelist_; in Refill()140 freelist_ = *(IndexT*)Map(idx); in Refill()[all …]
28 typedef u32 IndexT; typedef30 IndexT cache[kSize];39 typedef typename Cache::IndexT IndexT; typedef68 IndexT Alloc(Cache *c) { in Alloc()74 void Free(Cache *c, IndexT idx) { in Free()81 T *Map(IndexT idx) { in Map()121 IndexT next;122 IndexT batch;132 IndexT idx; in Refill()136 idx = static_cast<IndexT>(cmp); in Refill()[all …]
27 typedef Alloc::IndexT IndexT; in TEST() typedef34 IndexT blocks[N]; in TEST()37 IndexT idx = alloc.Alloc(&cache); in TEST()45 IndexT idx = blocks[i]; in TEST()
58 using IndexT = std::__variant_index_t<Lim::max()-1>; in test_index_internals() typedef59 using IndexLim = std::numeric_limits<IndexT>; in test_index_internals()60 static_assert(std::__variant_npos<IndexT> == IndexLim::max(), ""); in test_index_internals()