MCPcopy Create free account
hub / github.com/facebook/CacheLib / increment

Method increment

cachelib/common/tests/IteratorsTests.cpp:28–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26 : IteratorFacade<IntArrayIterator, int const, std::forward_iterator_tag> {
27 explicit IntArrayIterator(int const* a) : a_(a) {}
28 void increment() { ++a_; }
29 int const& dereference() const { return *a_; }
30 bool equal(IntArrayIterator const& rhs) const { return rhs.a_ == a_; }
31 int const* a_;

Callers 8

testSimpleMethod · 0.45
testRemoveMethod · 0.45
testResetMethod · 0.45
testCollisionsMethod · 0.45
testDefaultMethod · 0.45
testMoveMethod · 0.45
testDecayCountsMethod · 0.45
testOverflowMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected