MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / TF_StringStreamNext

Function TF_StringStreamNext

tensorflow/c/env.cc:111–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111bool TF_StringStreamNext(TF_StringStream* list, const char** result) {
112 if (list->position >= list->list->size()) {
113 *result = nullptr;
114 return false;
115 }
116
117 *result = list->list->at(list->position++).c_str();
118 return true;
119}
120
121void TF_StringStreamDone(TF_StringStream* list) {
122 delete list->list;

Callers 2

mainFunction · 0.85
TESTFunction · 0.85

Calls 3

c_strMethod · 0.80
sizeMethod · 0.45
atMethod · 0.45

Tested by 2

mainFunction · 0.68
TESTFunction · 0.68