Home / Function/ remove() — netty Function Reference

remove() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  82c98989_ce91_11bf_56b1_649038858a55["remove()"]
  ad035c77_35f5_72ad_c059_f20a84e5fef2["PoolChunkList"]
  82c98989_ce91_11bf_56b1_649038858a55 -->|defined in| ad035c77_35f5_72ad_c059_f20a84e5fef2
  18042f3d_b641_22b7_d7b2_aba6c8edf02c["allocate()"]
  18042f3d_b641_22b7_d7b2_aba6c8edf02c -->|calls| 82c98989_ce91_11bf_56b1_649038858a55
  19eddafa_2b2a_04f8_fed6_1389610a1b08["free()"]
  19eddafa_2b2a_04f8_fed6_1389610a1b08 -->|calls| 82c98989_ce91_11bf_56b1_649038858a55
  style 82c98989_ce91_11bf_56b1_649038858a55 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/main/java/io/netty/buffer/PoolChunkList.java lines 181–194

    private void remove(PoolChunk<T> cur) {
        if (cur == head) {
            head = cur.next;
            if (head != null) {
                head.prev = null;
            }
        } else {
            PoolChunk<T> next = cur.next;
            cur.prev.next = next;
            if (next != null) {
                next.prev = cur.prev;
            }
        }
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does remove() do?
remove() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/PoolChunkList.java.
Where is remove() defined?
remove() is defined in buffer/src/main/java/io/netty/buffer/PoolChunkList.java at line 181.
What calls remove()?
remove() is called by 2 function(s): allocate, free.

Analyze Your Own Codebase

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

Try Supermodel Free