Home / Function/ hasUnsafe() — netty Function Reference

hasUnsafe() — netty Function Reference

Architecture documentation for the hasUnsafe() function in PlatformDependent.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  f9f97c70_723b_fe44_1e76_e4c49b6d6c61["hasUnsafe()"]
  2e66d079_807f_6785_864f_73ab09fbc515["PlatformDependent"]
  f9f97c70_723b_fe44_1e76_e4c49b6d6c61 -->|defined in| 2e66d079_807f_6785_864f_73ab09fbc515
  eaeb8eb5_b457_3284_d2b6_3dc4c4ed6b4b["getByte()"]
  eaeb8eb5_b457_3284_d2b6_3dc4c4ed6b4b -->|calls| f9f97c70_723b_fe44_1e76_e4c49b6d6c61
  f77ba268_f8d2_b838_46aa_bb5d1e7e819b["getShort()"]
  f77ba268_f8d2_b838_46aa_bb5d1e7e819b -->|calls| f9f97c70_723b_fe44_1e76_e4c49b6d6c61
  f16ac63e_86d3_38e6_b3a3_dc9e773b8d79["getInt()"]
  f16ac63e_86d3_38e6_b3a3_dc9e773b8d79 -->|calls| f9f97c70_723b_fe44_1e76_e4c49b6d6c61
  78fb384a_8192_988e_b2a8_5deae4f9e061["getLong()"]
  78fb384a_8192_988e_b2a8_5deae4f9e061 -->|calls| f9f97c70_723b_fe44_1e76_e4c49b6d6c61
  2a8a99da_c553_1f79_6084_d085a218b37e["hasAlignDirectByteBuffer()"]
  2a8a99da_c553_1f79_6084_d085a218b37e -->|calls| f9f97c70_723b_fe44_1e76_e4c49b6d6c61
  a1d689bd_4558_1e21_9c75_ae1e74a93859["ByteBuffer()"]
  a1d689bd_4558_1e21_9c75_ae1e74a93859 -->|calls| f9f97c70_723b_fe44_1e76_e4c49b6d6c61
  2f19db3c_8431_1d24_33ba_7a83b7189b29["equals()"]
  2f19db3c_8431_1d24_33ba_7a83b7189b29 -->|calls| f9f97c70_723b_fe44_1e76_e4c49b6d6c61
  c8e7fdf1_bbd3_1c10_678f_45cfa603989d["isZero()"]
  c8e7fdf1_bbd3_1c10_678f_45cfa603989d -->|calls| f9f97c70_723b_fe44_1e76_e4c49b6d6c61
  fd15892e_9a9d_498d_b96c_d45d2c3a0e34["equalsConstantTime()"]
  fd15892e_9a9d_498d_b96c_d45d2c3a0e34 -->|calls| f9f97c70_723b_fe44_1e76_e4c49b6d6c61
  3af1bd26_c77c_d99a_9035_8e53792f0908["hashCodeAscii()"]
  3af1bd26_c77c_d99a_9035_8e53792f0908 -->|calls| f9f97c70_723b_fe44_1e76_e4c49b6d6c61
  75035f5b_fd02_433b_3d39_415d81398f11["newSpscQueue()"]
  75035f5b_fd02_433b_3d39_415d81398f11 -->|calls| f9f97c70_723b_fe44_1e76_e4c49b6d6c61
  eed99cc3_7862_0976_daca_8d6267c8c4e6["newFixedMpscQueue()"]
  eed99cc3_7862_0976_daca_8d6267c8c4e6 -->|calls| f9f97c70_723b_fe44_1e76_e4c49b6d6c61
  9c99d818_2a60_f507_d4a1_eca7a0394cab["newFixedMpscUnpaddedQueue()"]
  9c99d818_2a60_f507_d4a1_eca7a0394cab -->|calls| f9f97c70_723b_fe44_1e76_e4c49b6d6c61
  style f9f97c70_723b_fe44_1e76_e4c49b6d6c61 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/internal/PlatformDependent.java lines 436–438

    public static boolean hasUnsafe() {
        return UNSAFE_UNAVAILABILITY_CAUSE == null;
    }

Domain

Subdomains

Frequently Asked Questions

What does hasUnsafe() do?
hasUnsafe() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/internal/PlatformDependent.java.
Where is hasUnsafe() defined?
hasUnsafe() is defined in common/src/main/java/io/netty/util/internal/PlatformDependent.java at line 436.
What calls hasUnsafe()?
hasUnsafe() is called by 17 function(s): ByteBuffer, Throwable, addressSize0, byteArrayBaseOffset0, equals, equalsConstantTime, getByte, getInt, and 9 more.

Analyze Your Own Codebase

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

Try Supermodel Free