testSendBufferSize() — netty Function Reference
Architecture documentation for the testSendBufferSize() function in SocketTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 53cabb2f_7d26_a79e_0920_bf76a3e54923["testSendBufferSize()"] 5043e69c_94c9_249c_15bc_1579a5a6a4b9["SocketTest"] 53cabb2f_7d26_a79e_0920_bf76a3e54923 -->|defined in| 5043e69c_94c9_249c_15bc_1579a5a6a4b9 style 53cabb2f_7d26_a79e_0920_bf76a3e54923 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport-native-unix-common-tests/src/main/java/io/netty/channel/unix/tests/SocketTest.java lines 73–81
@Test
public void testSendBufferSize() throws Exception {
int size = socket.getSendBufferSize();
int newSize = 65535;
assertTrue(size > 0);
socket.setSendBufferSize(newSize);
// Linux usually set it to double what is specified
assertTrue(newSize <= socket.getSendBufferSize());
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does testSendBufferSize() do?
testSendBufferSize() is a function in the netty codebase, defined in transport-native-unix-common-tests/src/main/java/io/netty/channel/unix/tests/SocketTest.java.
Where is testSendBufferSize() defined?
testSendBufferSize() is defined in transport-native-unix-common-tests/src/main/java/io/netty/channel/unix/tests/SocketTest.java at line 73.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free