MCPcopy Create free account
hub / github.com/BlazingDB/blazingsql / decrease

Method decrease

engine/src/cython/initialize.cpp:80–80  ·  view source on GitHub ↗

+1

Source from the content-addressed store, hash-verified

78 size_t get_count() const { return this->count; }
79 void increase() { ++count; } // +1
80 void decrease() { assert(this->count > 0); --count; } // -1 (assert if the count < 0)
81
82private:
83 size_t count = 0;

Callers 1

finalizeFunction · 0.80

Calls 1

assertFunction · 0.85

Tested by

no test coverage detected