Home / Function/ V() — netty Function Reference

V() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  c3cfe397_12eb_0ed0_7cef_c3f236e1c658["V()"]
  d9a8da36_aab9_ab33_dc67_870b34dcd270["ConcurrentSkipListIntObjMultimap"]
  c3cfe397_12eb_0ed0_7cef_c3f236e1c658 -->|defined in| d9a8da36_aab9_ab33_dc67_870b34dcd270
  acca47c3_12ae_23bb_59d5_d6000a11335e["acquireFence()"]
  c3cfe397_12eb_0ed0_7cef_c3f236e1c658 -->|calls| acca47c3_12ae_23bb_59d5_d6000a11335e
  7e2d9d49_a28d_4cbe_a83c_2187034997b4["cpr()"]
  c3cfe397_12eb_0ed0_7cef_c3f236e1c658 -->|calls| 7e2d9d49_a28d_4cbe_a83c_2187034997b4
  14308445_2437_e26b_41bb_c7458d3b14e0["unlinkNode()"]
  c3cfe397_12eb_0ed0_7cef_c3f236e1c658 -->|calls| 14308445_2437_e26b_41bb_c7458d3b14e0
  4b0df467_4bc8_3d65_e85c_0c0d65eefc3c["addIndices()"]
  c3cfe397_12eb_0ed0_7cef_c3f236e1c658 -->|calls| 4b0df467_4bc8_3d65_e85c_0c0d65eefc3c
  ff16b6d0_47d8_82e1_a033_998f1f35233f["findPredecessor()"]
  c3cfe397_12eb_0ed0_7cef_c3f236e1c658 -->|calls| ff16b6d0_47d8_82e1_a033_998f1f35233f
  f9a987be_7587_17d3_1e33_3b91accd15b7["addCount()"]
  c3cfe397_12eb_0ed0_7cef_c3f236e1c658 -->|calls| f9a987be_7587_17d3_1e33_3b91accd15b7
  9e959d43_e1c8_8fa8_7a61_d5c0c6f8df6d["equals()"]
  c3cfe397_12eb_0ed0_7cef_c3f236e1c658 -->|calls| 9e959d43_e1c8_8fa8_7a61_d5c0c6f8df6d
  a5591d9d_8462_4796_8a91_2dfef6e505cf["tryReduceLevel()"]
  c3cfe397_12eb_0ed0_7cef_c3f236e1c658 -->|calls| a5591d9d_8462_4796_8a91_2dfef6e505cf
  7a298538_fab1_9d5c_bb2a_55a4157a788f["remove()"]
  c3cfe397_12eb_0ed0_7cef_c3f236e1c658 -->|calls| 7a298538_fab1_9d5c_bb2a_55a4157a788f
  style c3cfe397_12eb_0ed0_7cef_c3f236e1c658 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/concurrent/ConcurrentSkipListIntObjMultimap.java lines 542–589

    private V doGet(int key) {
        Index<V> q;
        acquireFence();
        if (key == noKey) {
            throw new IllegalArgumentException();
        }
        V result = null;
        if ((q = head) != null) {
            outer: for (Index<V> r, d;;) {
                while ((r = q.right) != null) {
                    Node<V> p; int k; V v; int c;
                    if ((p = r.node) == null || (k = p.key) == noKey ||
                        (v = p.val) == null) {
                        RIGHT.compareAndSet(q, r, r.right);
                    } else if ((c = cpr(key, k)) > 0) {
                        q = r;
                    } else if (c == 0) {
                        result = v;
                        break outer;
                    } else {
                        break;
                    }
                }
                if ((d = q.down) != null) {
                    q = d;
                } else {
                    Node<V> b, n;
                    if ((b = q.node) != null) {
                        while ((n = b.next) != null) {
                            V v; int c;
                            int k = n.key;
                            if ((v = n.val) == null || k == noKey ||
                                (c = cpr(key, k)) > 0) {
                                b = n;
                            } else {
                                if (c == 0) {
                                    result = v;
                                }
                                break;
                            }
                        }
                    }
                    break;
                }
            }
        }
        return result;
    }

Domain

Subdomains

Frequently Asked Questions

What does V() do?
V() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/concurrent/ConcurrentSkipListIntObjMultimap.java.
Where is V() defined?
V() is defined in common/src/main/java/io/netty/util/concurrent/ConcurrentSkipListIntObjMultimap.java at line 542.
What does V() call?
V() calls 9 function(s): acquireFence, addCount, addIndices, cpr, equals, findPredecessor, remove, tryReduceLevel, and 1 more.

Analyze Your Own Codebase

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

Try Supermodel Free