Lines Matching refs:limit
28 void Set(uint64 start, uint64 limit, const V& value);
38 bool FindNext(uint64 key, uint64* start, uint64* limit, V* value) const;
53 uint64 limit; member
61 void AssertValidInterval(uint64 start, uint64 limit) const;
70 if (bound->second.limit <= point) { in GetContainingInterval()
81 if (bound->second.limit <= point) { in GetContainingInterval()
98 void Insert(uint64 start, uint64 limit, const V& value);
114 void IntervalMap<V>::Set(uint64 start, uint64 limit, const V& value) { in Set() argument
115 AssertValidInterval(start, limit); in Set()
116 RemoveInterval(start, limit); in Set()
117 Insert(start, limit, value); in Set()
131 bool IntervalMap<V>::FindNext(uint64 key, uint64* start, uint64* limit, in FindNext() argument
138 *limit = iter->second.limit; in FindNext()
179 point >= iter->second.limit) { in SplitInterval()
182 const auto larger_limit = iter->second.limit; in SplitInterval()
183 iter->second.limit = point; in SplitInterval()
206 void IntervalMap<V>::Insert(uint64 start, uint64 limit, const V& value) { in Insert() argument
207 interval_start_.emplace(std::pair<uint64, Value>{start, {limit, value}}); in Insert()
211 void IntervalMap<V>::AssertValidInterval(uint64 start, uint64 limit) const { in AssertValidInterval() argument
212 if (start >= limit) { in AssertValidInterval()
215 << "Limit: " << limit << std::endl; in AssertValidInterval()