MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / FreeBits

Method FreeBits

Source/Memory/bitarray.cpp:90–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90void Bitarray::FreeBits(size_t index, size_t count) {
91 for (size_t off = 0; off < count; off++) {
92 FreeBit(index + off);
93 }
94}
95
96int Bitarray::GetFirstFreeSlot(size_t req_size) {
97 size_t countdown = req_size;

Callers 1

FreeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected