Home / Function/ nonZeroDistributeShouldWriteAllZeroFramesIfAllEligibleDataIsWritten() — netty Function Reference

nonZeroDistributeShouldWriteAllZeroFramesIfAllEligibleDataIsWritten() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/WeightedFairQueueByteDistributorTest.java lines 701–718

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

        setPriority(STREAM_B, STREAM_A, DEFAULT_PRIORITY_WEIGHT, true);

        assertFalse(write(100));
        verifyNeverWrite(STREAM_A);
        verifyWrite(STREAM_B, 100);
        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 nonZeroDistributeShouldWriteAllZeroFramesIfAllEligibleDataIsWritten() do?
nonZeroDistributeShouldWriteAllZeroFramesIfAllEligibleDataIsWritten() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/WeightedFairQueueByteDistributorTest.java.
Where is nonZeroDistributeShouldWriteAllZeroFramesIfAllEligibleDataIsWritten() defined?
nonZeroDistributeShouldWriteAllZeroFramesIfAllEligibleDataIsWritten() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/WeightedFairQueueByteDistributorTest.java at line 701.
What does nonZeroDistributeShouldWriteAllZeroFramesIfAllEligibleDataIsWritten() call?
nonZeroDistributeShouldWriteAllZeroFramesIfAllEligibleDataIsWritten() 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