References:
| Modifier and Type | Field and Description |
|---|---|
| private static final VarHandle | |
| private static final VarHandle | |
| private static final VarHandle | |
| private static final VarHandle |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static double | |
| protected static boolean | |
| protected static boolean | |
| public static boolean | |
| public static boolean | Returns: true if eight digitsa string a, int offset into string offset)Checks if the string contains eight digits at the specified offset. |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | Returns: true if eight digitsa string a, int offset into string offset)Checks if the string contains eight zeroes at the specified offset. |
| public static boolean | |
| public static boolean | |
| public static int | |
| public static long | |
| public static long | |
| public static int | Returns: the parsed number, returns a negative value ifvalue does not contain 8 hex digitscontains 8 utf-16 characters starting at offset a, int the offset into the array offset)Tries to parse eight decimal digits from a char array using the 'SIMD within a register technique' (SWAR). |
| public static int | |
| public static int | Returns: the parsed digits or -1a character sequence str, int the index of the first character in the character sequence offset)Tries to parse eight digits at once using the 'SIMD within a register technique' (SWAR). |
| public static int | Returns: the parsed digits or -1the first four characters in big endian order first, long the second four characters in big endian order second)Tries to parse eight decimal digits at once using the 'SIMD within a register technique' (SWAR). |
| public static int | Returns: the parsed number, returns a negative value ifvalue does not contain 8 digitscontains 8 ascii characters a, int the offset of the first character in offset)aTries to parse eight decimal digits from a byte array using the 'SIMD within a register technique' (SWAR). |
| public static int | Returns: the parsed number, or a value < 0 if not all characters are digits.contains 8 ascii characters in little endian order chunk)Tries to parse eight digits from a long using the 'SIMD within a register technique' (SWAR). |
| public static long | Returns: the parsed digits or -1a character sequence str, int the index of the first character in the character sequence offset)Tries to parse eight digits at once using the 'SIMD within a register technique' (SWAR). |
| public static long | Returns: the parsed number, returns a negative value ifvalue does not contain 8 hex digitscontains 8 utf-16 characters starting at offset chars, int the offset into the array offset)Tries to parse eight hex digits from a char array using the 'SIMD within a register technique' (SWAR). |
| public static long | tryToParseEightHexDigits(byte[]
contains 8 ascii characters a, int the offset of the first character in offset)a
returns a negative value if value does not contain 8 digitsTries to parse eight hex digits from a byte array using the 'SIMD within a register technique' (SWAR). |
| public static long | Returns: the parsed number, returns a negative value if the two longs do not contain 8 hex digitscontains 4 utf-16 characters in big endian order first, long contains 4 utf-16 characters in big endian order second)Tries to parse eight hex digits from two longs using the 'SIMD within a register technique' (SWAR). |
| public static long | Returns: the parsed number, returns a negative value ifvalue does not contain 8 digitscontains 8 ascii characters in big endian order chunk)Tries to parse eight digits from a long using the 'SIMD within a register technique' (SWAR). |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static void | |
| public static void |
| readIntBE | back to summary |
|---|---|
| private static final VarHandle readIntBE | |
| readIntLE | back to summary |
|---|---|
| private static final VarHandle readIntLE | |
| readLongBE | back to summary |
|---|---|
| private static final VarHandle readLongBE | |
| readLongLE | back to summary |
|---|---|
| private static final VarHandle readLongLE | |
| FastDoubleSwar | back to summary |
|---|---|
| pack-priv FastDoubleSwar() | |
| fma | back to summary |
|---|---|
| public static double fma(double a, double b, double c) | |
| isDigit | back to summary |
|---|---|
| protected static boolean isDigit(char c) Checks if '0' <= c && c <= '9'.
| |
| isDigit | back to summary |
|---|---|
| protected static boolean isDigit(byte c) Checks if '0' <= c && c <= '9'.
| |
| isEightDigits | back to summary |
|---|---|
| public static boolean isEightDigits(byte[] a, int offset) | |
| isEightDigits | back to summary |
|---|---|
| public static boolean isEightDigits(char[] a, int offset) Checks if the string contains eight digits at the specified offset.
| |
| isEightDigits | back to summary |
|---|---|
| public static boolean isEightDigits(CharSequence a, int offset) | |
| isEightDigitsUtf16 | back to summary |
|---|---|
| public static boolean isEightDigitsUtf16(long first, long second) | |
| isEightDigitsUtf8 | back to summary |
|---|---|
| public static boolean isEightDigitsUtf8(long chunk) | |
| isEightZeroes | back to summary |
|---|---|
| public static boolean isEightZeroes(byte[] a, int offset) | |
| isEightZeroes | back to summary |
|---|---|
| public static boolean isEightZeroes(CharSequence a, int offset) | |
| isEightZeroes | back to summary |
|---|---|
| public static boolean isEightZeroes(char[] a, int offset) Checks if the string contains eight zeroes at the specified offset.
| |
| isEightZeroesUtf16 | back to summary |
|---|---|
| public static boolean isEightZeroesUtf16(long first, long second) | |
| isEightZeroesUtf8 | back to summary |
|---|---|
| public static boolean isEightZeroesUtf8(long chunk) | |
| readIntBE | back to summary |
|---|---|
| public static int readIntBE(byte[] a, int offset) | |
| readLongBE | back to summary |
|---|---|
| public static long readLongBE(byte[] a, int offset) | |
| readLongLE | back to summary |
|---|---|
| public static long readLongLE(byte[] a, int offset) | |
| tryToParseEightDigits | back to summary |
|---|---|
| public static int tryToParseEightDigits(char[] a, int offset) Tries to parse eight decimal digits from a char array using the 'SIMD within a register technique' (SWAR).
| |
| tryToParseEightDigits | back to summary |
|---|---|
| public static int tryToParseEightDigits(byte[] a, int offset) | |
| tryToParseEightDigits | back to summary |
|---|---|
| public static int tryToParseEightDigits(CharSequence str, int offset) Tries to parse eight digits at once using the 'SIMD within a register technique' (SWAR).
| |
| tryToParseEightDigitsUtf16 | back to summary |
|---|---|
| public static int tryToParseEightDigitsUtf16(long first, long second) Tries to parse eight decimal digits at once using the 'SIMD within a register technique' (SWAR). char[] chars = ...; long first = chars[0]|(chars[1]<<16)|(chars[2]<<32)|(chars[3]<<48); long second = chars[4]|(chars[5]<<16)|(chars[6]<<32)|(chars[7]<<48);
| |
| tryToParseEightDigitsUtf8 | back to summary |
|---|---|
| public static int tryToParseEightDigitsUtf8(byte[] a, int offset) Tries to parse eight decimal digits from a byte array using the 'SIMD within a register technique' (SWAR).
| |
| tryToParseEightDigitsUtf8 | back to summary |
|---|---|
| public static int tryToParseEightDigitsUtf8(long chunk) Tries to parse eight digits from a long using the 'SIMD within a register technique' (SWAR). byte[] bytes = ...;
long value = ((bytes[7]&0xffL)<<56)
| ((bytes[6]&0xffL)<<48)
| ((bytes[5]&0xffL)<<40)
| ((bytes[4]&0xffL)<<32)
| ((bytes[3]&0xffL)<<24)
| ((bytes[2]&0xffL)<<16)
| ((bytes[1]&0xffL)<< 8)
| (bytes[0]&0xffL);
| |
| tryToParseEightHexDigits | back to summary |
|---|---|
| public static long tryToParseEightHexDigits(CharSequence str, int offset) Tries to parse eight digits at once using the 'SIMD within a register technique' (SWAR).
| |
| tryToParseEightHexDigits | back to summary |
|---|---|
| public static long tryToParseEightHexDigits(char[] chars, int offset) Tries to parse eight hex digits from a char array using the 'SIMD within a register technique' (SWAR).
| |
| tryToParseEightHexDigits | back to summary |
|---|---|
| public static long tryToParseEightHexDigits(byte[] a, int offset) Tries to parse eight hex digits from a byte array using the 'SIMD within a register technique' (SWAR).
| |
| tryToParseEightHexDigitsUtf16 | back to summary |
|---|---|
| public static long tryToParseEightHexDigitsUtf16(long first, long second) Tries to parse eight hex digits from two longs using the 'SIMD within a register technique' (SWAR).
| |
| tryToParseEightHexDigitsUtf8 | back to summary |
|---|---|
| public static long tryToParseEightHexDigitsUtf8(long chunk) Tries to parse eight digits from a long using the 'SIMD within a register technique' (SWAR).
| |
| tryToParseFourDigits | back to summary |
|---|---|
| public static int tryToParseFourDigits(char[] a, int offset) | |
| tryToParseFourDigits | back to summary |
|---|---|
| public static int tryToParseFourDigits(CharSequence str, int offset) | |
| tryToParseFourDigits | back to summary |
|---|---|
| public static int tryToParseFourDigits(byte[] a, int offset) | |
| tryToParseFourDigitsUtf16 | back to summary |
|---|---|
| public static int tryToParseFourDigitsUtf16(long first) | |
| tryToParseFourDigitsUtf8 | back to summary |
|---|---|
| public static int tryToParseFourDigitsUtf8(int chunk) | |
| tryToParseUpTo7Digits | back to summary |
|---|---|
| public static int tryToParseUpTo7Digits(byte[] str, int from, int to) | |
| tryToParseUpTo7Digits | back to summary |
|---|---|
| public static int tryToParseUpTo7Digits(char[] str, int from, int to) | |
| tryToParseUpTo7Digits | back to summary |
|---|---|
| public static int tryToParseUpTo7Digits(CharSequence str, int from, int to) | |
| writeIntBE | back to summary |
|---|---|
| public static void writeIntBE(byte[] a, int offset, int value) | |
| writeLongBE | back to summary |
|---|---|
| public static void writeLongBE(byte[] a, int offset, long value) | |