MCPcopy Create free account
hub / github.com/chen3feng/toft / InsertString

Method InsertString

base/string/byte_set.h:86–93  ·  view source on GitHub ↗

insert any bytes in str into set

Source from the content-addressed store, hash-verified

84
85 // insert any bytes in str into set
86 void InsertString(const char* str)
87 {
88 while (*str)
89 {
90 Insert(*str);
91 ++str;
92 }
93 }
94
95 // insert any bytes in str into set
96 void InsertBytes(const char* begin, size_t length)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected