MCPcopy Create free account
hub / github.com/bgrimstad/splinter / splinter_datatable_get_num_samples

Function splinter_datatable_get_num_samples

src/cinterface/datatable.cpp:132–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130
131
132int splinter_datatable_get_num_samples(splinter_obj_ptr datatable_ptr)
133{
134 auto dataTable = get_datatable(datatable_ptr);
135 if (dataTable != nullptr)
136 {
137 return dataTable->getNumSamples();
138 }
139
140 return 0;
141}
142
143void splinter_datatable_save(splinter_obj_ptr datatable_ptr, const char *filename)
144{

Callers

nothing calls this directly

Calls 1

get_datatableFunction · 0.85

Tested by

no test coverage detected