MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / intern

Function intern

util/intern_strings.c:73–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73char *intern(const char *str)
74{
75 struct interned_string *s = intern_ptr(str);
76 return s->str;
77}
78
79char *internn(const char *str, int len)
80{

Callers 15

tokdup_hostnameFunction · 0.85
bdb_process_user_commandFunction · 0.85
berkdb_receive_msgFunction · 0.85
init_eid_stringsFunction · 0.85
read_connect_messageFunction · 0.85
create_netinfo_fakeFunction · 0.85
process_decom_nameFunction · 0.85
process_hello_commonFunction · 0.85
connect_and_acceptFunction · 0.85
hello_msg_commonFunction · 0.85
validate_hostFunction · 0.85

Calls 1

intern_ptrFunction · 0.85

Tested by

no test coverage detected