Home / Class/ BigEndianUnsafeDirectByteBufTest Class — netty Architecture

BigEndianUnsafeDirectByteBufTest Class — netty Architecture

Architecture documentation for the BigEndianUnsafeDirectByteBufTest class in BigEndianUnsafeDirectByteBufTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  cc226ba7_67b2_f222_5e56_0822d2e4cb36["BigEndianUnsafeDirectByteBufTest"]
  f8bfb80e_d871_cd39_abe0_5f6b75a96e85["BigEndianUnsafeDirectByteBufTest.java"]
  cc226ba7_67b2_f222_5e56_0822d2e4cb36 -->|defined in| f8bfb80e_d871_cd39_abe0_5f6b75a96e85
  82c39e76_d6dd_65c5_2736_62c9f1ee2391["init()"]
  cc226ba7_67b2_f222_5e56_0822d2e4cb36 -->|method| 82c39e76_d6dd_65c5_2736_62c9f1ee2391
  3ae04c25_6c0f_db63_3cca_35e12f6a6f40["ByteBuf()"]
  cc226ba7_67b2_f222_5e56_0822d2e4cb36 -->|method| 3ae04c25_6c0f_db63_3cca_35e12f6a6f40

Relationship Graph

Source Code

buffer/src/test/java/io/netty/buffer/BigEndianUnsafeDirectByteBufTest.java lines 23–36

public class BigEndianUnsafeDirectByteBufTest extends BigEndianDirectByteBufTest {

    @BeforeEach
    @Override
    public void init() {
        Assumptions.assumeTrue(PlatformDependent.hasUnsafe(), "sun.misc.Unsafe not found, skip tests");
        super.init();
    }

    @Override
    protected ByteBuf newBuffer(int length, int maxCapacity) {
        return new UnpooledUnsafeDirectByteBuf(UnpooledByteBufAllocator.DEFAULT, length, maxCapacity);
    }
}

Frequently Asked Questions

What is the BigEndianUnsafeDirectByteBufTest class?
BigEndianUnsafeDirectByteBufTest is a class in the netty codebase, defined in buffer/src/test/java/io/netty/buffer/BigEndianUnsafeDirectByteBufTest.java.
Where is BigEndianUnsafeDirectByteBufTest defined?
BigEndianUnsafeDirectByteBufTest is defined in buffer/src/test/java/io/netty/buffer/BigEndianUnsafeDirectByteBufTest.java at line 23.

Analyze Your Own Codebase

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

Try Supermodel Free