Home / Function/ CodecOutputList() — netty Function Reference

CodecOutputList() — netty Function Reference

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

Function java Buffer Allocators calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  a94dd608_4dde_39a1_0b26_ef5628449d49["CodecOutputList()"]
  aac48680_9d95_cb9c_d02a_97c3be1d915d["CodecOutputLists"]
  a94dd608_4dde_39a1_0b26_ef5628449d49 -->|defined in| aac48680_9d95_cb9c_d02a_97c3be1d915d
  47f77125_cf0c_c97c_a8ce_e9db32962a7a["CodecOutputList()"]
  47f77125_cf0c_c97c_a8ce_e9db32962a7a -->|calls| a94dd608_4dde_39a1_0b26_ef5628449d49
  47f77125_cf0c_c97c_a8ce_e9db32962a7a["CodecOutputList()"]
  a94dd608_4dde_39a1_0b26_ef5628449d49 -->|calls| 47f77125_cf0c_c97c_a8ce_e9db32962a7a
  style a94dd608_4dde_39a1_0b26_ef5628449d49 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-base/src/main/java/io/netty/handler/codec/CodecOutputList.java lines 69–81

        public CodecOutputList getOrCreate() {
            if (count == 0) {
                // Return a new CodecOutputList which will not be cached. We use a size of 4 to keep the overhead
                // low.
                return new CodecOutputList(NOOP_RECYCLER, 4);
            }
            --count;

            int idx = (currentIdx - 1) & mask;
            CodecOutputList list = elements[idx];
            currentIdx = idx;
            return list;
        }

Domain

Subdomains

Called By

Frequently Asked Questions

What does CodecOutputList() do?
CodecOutputList() is a function in the netty codebase, defined in codec-base/src/main/java/io/netty/handler/codec/CodecOutputList.java.
Where is CodecOutputList() defined?
CodecOutputList() is defined in codec-base/src/main/java/io/netty/handler/codec/CodecOutputList.java at line 69.
What does CodecOutputList() call?
CodecOutputList() calls 1 function(s): CodecOutputList.
What calls CodecOutputList()?
CodecOutputList() is called by 1 function(s): CodecOutputList.

Analyze Your Own Codebase

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

Try Supermodel Free