Home / Function/ testWithSeed() — netty Function Reference

testWithSeed() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  69db0777_bef7_278b_e09b_dc0bee82f08e["testWithSeed()"]
  cef83d83_2017_bca6_9ccd_d4bdc8b547d8["SnappyIntegrationTest"]
  69db0777_bef7_278b_e09b_dc0bee82f08e -->|defined in| cef83d83_2017_bca6_9ccd_d4bdc8b547d8
  862b5cd6_cd15_ea74_90dd_ae1e30adc99e["test5323211032315942961()"]
  862b5cd6_cd15_ea74_90dd_ae1e30adc99e -->|calls| 69db0777_bef7_278b_e09b_dc0bee82f08e
  762ff09e_575f_0a9b_d9d4_7a2f9eba6ebf["test7088170877360183401()"]
  762ff09e_575f_0a9b_d9d4_7a2f9eba6ebf -->|calls| 69db0777_bef7_278b_e09b_dc0bee82f08e
  7dd8e131_e55e_3e47_5adc_685c69be3e54["testRandom()"]
  7dd8e131_e55e_3e47_5adc_685c69be3e54 -->|calls| 69db0777_bef7_278b_e09b_dc0bee82f08e
  12c4d996_4802_8473_a6c8_f5be8f6a8edd["printSeedAsTest()"]
  12c4d996_4802_8473_a6c8_f5be8f6a8edd -->|calls| 69db0777_bef7_278b_e09b_dc0bee82f08e
  style 69db0777_bef7_278b_e09b_dc0bee82f08e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-compression/src/test/java/io/netty/handler/codec/compression/SnappyIntegrationTest.java lines 104–108

    private void testWithSeed(long seed) {
        byte[] data = new byte[16 * 1048576];
        new Random(seed).nextBytes(data);
        testIdentity(data, true);
    }

Domain

Subdomains

Frequently Asked Questions

What does testWithSeed() do?
testWithSeed() is a function in the netty codebase, defined in codec-compression/src/test/java/io/netty/handler/codec/compression/SnappyIntegrationTest.java.
Where is testWithSeed() defined?
testWithSeed() is defined in codec-compression/src/test/java/io/netty/handler/codec/compression/SnappyIntegrationTest.java at line 104.
What calls testWithSeed()?
testWithSeed() is called by 4 function(s): printSeedAsTest, test5323211032315942961, test7088170877360183401, testRandom.

Analyze Your Own Codebase

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

Try Supermodel Free