Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/assaultcube/AC
/ endswith
Method
endswith
source/src/master.cpp:138–141 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
136
}
137
138
bool endswith(const messagebuf &m) const
139
{
140
return buf.length() >= m.buf.length() && !memcmp(&buf[buf.length() - m.buf.length()], m.buf.getbuf(), m.buf.length());
141
}
142
143
void concat(const messagebuf &m)
144
{
Callers
1
loopv
Function · 0.80
Calls
2
length
Method · 0.45
getbuf
Method · 0.45
Tested by
no test coverage detected