MCPcopy Create free account
hub / github.com/dmlc/dmlc-core / BeforeFirst

Method BeforeFirst

src/io/threaded_input_split.h:49–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47 delete base_;
48 }
49 virtual void BeforeFirst() {
50 iter_.BeforeFirst();
51 if (tmp_chunk_ != NULL) {
52 iter_.Recycle(&tmp_chunk_);
53 }
54 }
55 virtual void HintChunkSize(size_t chunk_size) {
56 buffer_size_ = std::max(chunk_size / sizeof(uint32_t), buffer_size_);
57 }

Callers 2

ResetPartitionMethod · 0.95
ThreadedInputSplitMethod · 0.45

Calls 1

RecycleMethod · 0.80

Tested by

no test coverage detected