MCPcopy Create free account
hub / github.com/dmlc/parameter_server / clear

Method clear

src/util/bitmap.h:28–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26 }
27
28 void clear() {
29 delete [] map_;
30 map_ = nullptr;
31 map_size_ = 0;
32 size_ = 0;
33 }
34
35 void set(uint32 i) {
36 map_[i>>kBitmapShift] |= (uint16) (1 << (i&kBitmapMask));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected