MCPcopy Create free account
hub / github.com/numpy/numpy / npy_tokenizer_clear

Function npy_tokenizer_clear

numpy/core/src/multiarray/textreading/tokenize.cpp:407–417  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

405
406
407NPY_NO_EXPORT void
408npy_tokenizer_clear(tokenizer_state *ts)
409{
410 PyMem_FREE(ts->field_buffer);
411 ts->field_buffer = nullptr;
412 ts->field_buffer_length = 0;
413
414 PyMem_FREE(ts->fields);
415 ts->fields = nullptr;
416 ts->fields_size = 0;
417}
418
419
420/*

Callers 1

read_rowsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected