Package org.apache.drill.exec.memory
Class BoundsChecking
java.lang.Object
org.apache.drill.exec.memory.BoundsChecking
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
ensureWritable
(DrillBuf buf, int minWritableBytes) static void
lengthCheck
(DrillBuf buf, int start, int length) static void
rangeCheck
(DrillBuf buf, int start, int end) static void
rangeCheck
(DrillBuf buf1, int start1, int end1, DrillBuf buf2, int start2, int end2)
-
Field Details
-
ENABLE_UNSAFE_BOUNDS_CHECK_PROPERTY
- See Also:
-
ENABLE_UNSAFE_MEMORY_ACCESS_PROPERTY
- See Also:
-
BOUNDS_CHECKING_ENABLED
public static final boolean BOUNDS_CHECKING_ENABLED
-
-
Method Details
-
lengthCheck
-
rangeCheck
-
rangeCheck
-
ensureWritable
-