Class BoundsChecking

java.lang.Object
org.apache.drill.exec.memory.BoundsChecking

public class BoundsChecking extends Object
  • Field Details

    • ENABLE_UNSAFE_BOUNDS_CHECK_PROPERTY

      public static final String ENABLE_UNSAFE_BOUNDS_CHECK_PROPERTY
      See Also:
    • ENABLE_UNSAFE_MEMORY_ACCESS_PROPERTY

      public static final String ENABLE_UNSAFE_MEMORY_ACCESS_PROPERTY
      See Also:
    • BOUNDS_CHECKING_ENABLED

      public static final boolean BOUNDS_CHECKING_ENABLED
  • Method Details

    • lengthCheck

      public static void lengthCheck(DrillBuf buf, int start, int length)
    • rangeCheck

      public static void rangeCheck(DrillBuf buf, int start, int end)
    • rangeCheck

      public static void rangeCheck(DrillBuf buf1, int start1, int end1, DrillBuf buf2, int start2, int end2)
    • ensureWritable

      public static void ensureWritable(DrillBuf buf, int minWritableBytes)