MCPcopy Create free account
hub / github.com/HiLab-git/SimpleCRF / size

Method size

dependency/densecrf3d/src/permutohedral_couts.cpp:92–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90 explicit HashTable( int key_size, int n_elements ) : key_size_ ( key_size ), filled_(0), capacity_(2*n_elements), keys_((capacity_/2+10)*key_size_), table_(2*n_elements,-1) {
91 }
92 int size() const {
93 return filled_;
94 }
95 void reset() {
96 filled_ = 0;
97 std::fill( table_.begin(), table_.end(), -1 );

Callers 1

initMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected