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

Method c_str

lib_acl_cpp/src/stdlib/string.cpp:1123–1129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1121}
1122
1123char* string::c_str() const
1124{
1125 if (scan_ptr_) {
1126 return scan_ptr_;
1127 }
1128 return STR(vbf_);
1129}
1130
1131void* string::buf() const
1132{

Callers 15

operator >>Method · 0.95
fiber_log_writerFunction · 0.45
service_on_sighupMethod · 0.45
stackshowMethod · 0.45
add_taskMethod · 0.45
check_idleMethod · 0.45
get_addrMethod · 0.45
connect_oneMethod · 0.45
doServiceMethod · 0.45
file_loadFunction · 0.45
do_echoFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by 15

test_fileFunction · 0.36
test_delFunction · 0.36
test_expireFunction · 0.36
test_ttlFunction · 0.36
test_existsFunction · 0.36
test_typeFunction · 0.36
test_setFunction · 0.36
test_getFunction · 0.36
test_hmsetFunction · 0.36
test_hmgetFunction · 0.36
test_publishFunction · 0.36
runMethod · 0.36