MCPcopy Create free account
hub / github.com/couchbase/fleece / offset

Method offset

Fleece/Core/Array.cc:94–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92 }
93
94 __hot
95 void Array::impl::offset(uint32_t n) {
96 throwIf(n > _count, OutOfRange, "iterating past end of array");
97 _count -= n;
98 if (_usuallyTrue(_count > 0))
99 _first = offsetby(_first, _width*n);
100 }
101
102
103#pragma mark - ARRAY:

Callers

nothing calls this directly

Calls 1

offsetbyFunction · 0.85

Tested by

no test coverage detected