Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chen3feng/toft
/ Insert
Method
Insert
base/string/byte_set.h:56–59 ·
view source on GitHub ↗
insert one byte
Source
from the content-addressed store, hash-verified
54
55
// insert one byte
56
void Insert(unsigned char n)
57
{
58
m_bitmap[n/CHAR_BIT] |= (1U << (n%CHAR_BIT));
59
}
60
61
// remove one byte
62
void Remove(unsigned char n)
Callers
1
TEST
Function · 0.45
Calls
no outgoing calls
Tested by
1
TEST
Function · 0.36