Home / Function/ testToStringMultipleThreads1() — netty Function Reference

testToStringMultipleThreads1() — netty Function Reference

Architecture documentation for the testToStringMultipleThreads1() function in ReadOnlyDirectByteBufferBufTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  e5c1e9e2_15b2_b721_d13b_73e82a49e5fb["testToStringMultipleThreads1()"]
  2436e747_1306_235e_86df_d12765b22d51["ReadOnlyDirectByteBufferBufTest"]
  e5c1e9e2_15b2_b721_d13b_73e82a49e5fb -->|defined in| 2436e747_1306_235e_86df_d12765b22d51
  style e5c1e9e2_15b2_b721_d13b_73e82a49e5fb fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/test/java/io/netty/buffer/ReadOnlyDirectByteBufferBufTest.java lines 583–597

    @Test
    @Timeout(value = 10000, unit = TimeUnit.MILLISECONDS)
    public void testToStringMultipleThreads1() throws Throwable {
        String expected = "Hello, World!";
        byte[] bytes = expected.getBytes(CharsetUtil.ISO_8859_1);
        ByteBuffer nioBuffer = allocate(bytes.length);
        nioBuffer.put(bytes);
        nioBuffer.flip();
        final ByteBuf buffer = buffer(nioBuffer.asReadOnlyBuffer());
        try {
            testToStringMultipleThreads0(buffer);
        } finally {
            buffer.release();
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does testToStringMultipleThreads1() do?
testToStringMultipleThreads1() is a function in the netty codebase, defined in buffer/src/test/java/io/netty/buffer/ReadOnlyDirectByteBufferBufTest.java.
Where is testToStringMultipleThreads1() defined?
testToStringMultipleThreads1() is defined in buffer/src/test/java/io/netty/buffer/ReadOnlyDirectByteBufferBufTest.java at line 583.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free