Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/trafficserver
/ chomp
Method
chomp
src/tscore/TextBuffer.cc:273–281 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
271
}
272
273
void
274
TextBuffer::chomp()
275
{
276
while ((nextAdd > bufferStart) && (nextAdd[-1] ==
'\n'
)) {
277
--nextAdd;
278
++spaceLeft;
279
*nextAdd =
'\0'
;
280
}
281
}
Callers
3
ServerBacktrace
Function · 0.80
write_procfd_file
Function · 0.80
crashlog_write_procname
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected