public class CRC32Substitutions extends Object
CRC32
.Modifier and Type | Field and Description |
---|---|
static ForeignCallDescriptor |
UPDATE_BYTES_CRC32 |
Constructor and Description |
---|
CRC32Substitutions() |
Modifier and Type | Method and Description |
---|---|
private static long |
crcTableAddress()
Gets the address of
StubRoutines::x86::_crc_table in stubRoutines_x86.hpp . |
(package private) static int |
update(int crc,
int b) |
(package private) static int |
updateByteBuffer(int crc,
long addr,
int off,
int len) |
static int |
updateBytes(ForeignCallDescriptor descriptor,
int crc,
Word buf,
int length) |
(package private) static int |
updateBytes(int crc,
byte[] buf,
int off,
int len) |
public static final ForeignCallDescriptor UPDATE_BYTES_CRC32
public CRC32Substitutions()
private static long crcTableAddress()
StubRoutines::x86::_crc_table
in stubRoutines_x86.hpp
.static int update(int crc, int b)
static int updateBytes(int crc, byte[] buf, int off, int len)
static int updateByteBuffer(int crc, long addr, int off, int len)
public static int updateBytes(ForeignCallDescriptor descriptor, int crc, Word buf, int length)