MCPcopy Create free account
hub / github.com/acl-dev/acl / buf_end

Method buf_end

lib_acl_cpp/src/stdlib/string.cpp:681–694  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

679}
680
681char* string::buf_end()
682{
683 if (scan_ptr_ == NIL) {
684 scan_ptr_ = STR(vbf_);
685 }
686 char *pEnd = acl_vstring_end(vbf_);
687 if (scan_ptr_ >= pEnd) {
688 if (!empty()) {
689 clear();
690 }
691 return NIL;
692 }
693 return pEnd;
694}
695
696bool string::scan_line(string& out, bool nonl /* = true */,
697 size_t* n /* = NIL */, bool move /* = false */)

Callers 3

backMethod · 0.80
add_root_nameMethod · 0.80
load_htmlFunction · 0.80

Calls 2

emptyFunction · 0.50
clearFunction · 0.50

Tested by

no test coverage detected