MCPcopy Create free account
hub / github.com/davisking/dlib / clear

Method clear

dlib/array2d/array2d_kernel.h:240–253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238 }
239
240 void clear (
241 )
242 {
243 if (data != 0)
244 {
245 pool.deallocate_array(data);
246 nc_ = 0;
247 nr_ = 0;
248 data = 0;
249 at_start_ = true;
250 cur = 0;
251 last = 0;
252 }
253 }
254
255 void set_size (
256 long rows,

Callers 3

deserializeFunction · 0.45
deserializeFunction · 0.45
deserializeFunction · 0.45

Calls 1

deallocate_arrayMethod · 0.45

Tested by

no test coverage detected