Home / Function/ releaseBuffersAndCheckContent() — netty Function Reference

releaseBuffersAndCheckContent() — netty Function Reference

Architecture documentation for the releaseBuffersAndCheckContent() function in PooledByteBufAllocatorTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  75630b21_cf5b_0dec_6b14_64e015ce8b30["releaseBuffersAndCheckContent()"]
  6bb945aa_60fd_1a15_e603_8ad95417c6e9["AllocationThread"]
  75630b21_cf5b_0dec_6b14_64e015ce8b30 -->|defined in| 6bb945aa_60fd_1a15_e603_8ad95417c6e9
  cedeec8b_9344_3cef_05a1_e0c94d65820e["run()"]
  cedeec8b_9344_3cef_05a1_e0c94d65820e -->|calls| 75630b21_cf5b_0dec_6b14_64e015ce8b30
  f49c8d97_9572_ea44_eea5_b4423389718a["joinAndCheckForError()"]
  f49c8d97_9572_ea44_eea5_b4423389718a -->|calls| 75630b21_cf5b_0dec_6b14_64e015ce8b30
  style 75630b21_cf5b_0dec_6b14_64e015ce8b30 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/test/java/io/netty/buffer/PooledByteBufAllocatorTest.java lines 644–654

        private void releaseBuffersAndCheckContent() {
            int i = 0;
            while (!buffers.isEmpty()) {
                ByteBuf buf = buffers.poll();
                while (buf.isReadable()) {
                    assertEquals(i, buf.readByte());
                }
                buf.release();
                i++;
            }
        }

Domain

Subdomains

Frequently Asked Questions

What does releaseBuffersAndCheckContent() do?
releaseBuffersAndCheckContent() is a function in the netty codebase, defined in buffer/src/test/java/io/netty/buffer/PooledByteBufAllocatorTest.java.
Where is releaseBuffersAndCheckContent() defined?
releaseBuffersAndCheckContent() is defined in buffer/src/test/java/io/netty/buffer/PooledByteBufAllocatorTest.java at line 644.
What calls releaseBuffersAndCheckContent()?
releaseBuffersAndCheckContent() is called by 2 function(s): joinAndCheckForError, run.

Analyze Your Own Codebase

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

Try Supermodel Free