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

Method init

lib_acl_cpp/src/stdlib/string.cpp:34–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32namespace acl {
33
34void string::init(size_t len)
35{
36 if (len < 1) {
37 len = 1;
38 }
39 vbf_ = ALLOC(len);
40 list_tmp_ = NIL;
41 vector_tmp_ = NIL;
42 pair_tmp_ = NIL;
43 scan_ptr_ = NIL;
44 line_state_ = NIL;
45 line_state_offset_ = 0;
46 COUNTER_INC(string);
47}
48
49string::string()
50: use_bin_(false)

Callers 1

thread_runMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected