Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/tomcat
/ clear
Method
clear
java/org/apache/catalina/connector/OutputBuffer.java:907–909 ·
view source on GitHub ↗
(Buffer buffer)
Source
from the content-addressed store, hash-verified
905
}
906
907
private
void
clear(Buffer buffer) {
908
buffer.rewind().limit(0);
909
}
910
911
private
boolean isFull(Buffer buffer) {
912
return
buffer.limit() == buffer.capacity();
Callers
6
OutputBuffer
Method · 0.95
recycle
Method · 0.95
setBufferSize
Method · 0.95
reset
Method · 0.95
flushByteBuffer
Method · 0.95
flushCharBuffer
Method · 0.95
Calls
2
rewind
Method · 0.80
limit
Method · 0.45
Tested by
no test coverage detected