Home / Function/ zeroDistributeShouldWriteAllZeroFrames() — netty Function Reference

zeroDistributeShouldWriteAllZeroFrames() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  07f2e3af_8d5a_dff7_e980_669af579cac2["zeroDistributeShouldWriteAllZeroFrames()"]
  67b7550d_3bc6_4a2b_6b2f_618af35d6df8["WeightedFairQueueByteDistributorTest"]
  07f2e3af_8d5a_dff7_e980_669af579cac2 -->|defined in| 67b7550d_3bc6_4a2b_6b2f_618af35d6df8
  11b51d3d_8188_9502_be8f_cc1ca56136d9["write()"]
  07f2e3af_8d5a_dff7_e980_669af579cac2 -->|calls| 11b51d3d_8188_9502_be8f_cc1ca56136d9
  290143c2_0468_a100_788a_18d9e37200a9["verifyNeverWrite()"]
  07f2e3af_8d5a_dff7_e980_669af579cac2 -->|calls| 290143c2_0468_a100_788a_18d9e37200a9
  7bda6a25_cd2a_2145_1a6b_a3c3169cec22["verifyWrite()"]
  07f2e3af_8d5a_dff7_e980_669af579cac2 -->|calls| 7bda6a25_cd2a_2145_1a6b_a3c3169cec22
  f50f698e_a7cf_748d_c61b_94cfdb852d90["verifyAnyWrite()"]
  07f2e3af_8d5a_dff7_e980_669af579cac2 -->|calls| f50f698e_a7cf_748d_c61b_94cfdb852d90
  style 07f2e3af_8d5a_dff7_e980_669af579cac2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/WeightedFairQueueByteDistributorTest.java lines 658–675

    @Test
    public void zeroDistributeShouldWriteAllZeroFrames() throws Http2Exception {
        initState(STREAM_A, 400, false);
        initState(STREAM_B, 0, true);
        initState(STREAM_C, 0, true);
        initState(STREAM_D, 0, true);

        setPriority(STREAM_B, STREAM_A, DEFAULT_PRIORITY_WEIGHT, true);

        assertFalse(write(0));
        verifyNeverWrite(STREAM_A);
        verifyWrite(STREAM_B, 0);
        verifyAnyWrite(STREAM_B, 1);
        verifyWrite(STREAM_C, 0);
        verifyAnyWrite(STREAM_C, 1);
        verifyWrite(STREAM_D, 0);
        verifyAnyWrite(STREAM_D, 1);
    }

Domain

Subdomains

Frequently Asked Questions

What does zeroDistributeShouldWriteAllZeroFrames() do?
zeroDistributeShouldWriteAllZeroFrames() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/WeightedFairQueueByteDistributorTest.java.
Where is zeroDistributeShouldWriteAllZeroFrames() defined?
zeroDistributeShouldWriteAllZeroFrames() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/WeightedFairQueueByteDistributorTest.java at line 658.
What does zeroDistributeShouldWriteAllZeroFrames() call?
zeroDistributeShouldWriteAllZeroFrames() calls 4 function(s): verifyAnyWrite, verifyNeverWrite, verifyWrite, write.

Analyze Your Own Codebase

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

Try Supermodel Free