Companion

object Companion

Properties

Link copied to clipboard

Access the fieldAtIndex method for objects.

Link copied to clipboard

Access the fieldAt method.

Link copied to clipboard

Access the fieldTypeAtIndex method for object types.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
const val multiplier: Int = 1664525

A good multiplier for a multiplicative random generator. This constant is a primitive element of the group (Z[2^32], *), specifically 1664525, as taken from Knuth, The Art of Computer Programming, Vol. 2, 2nd ed., page 102, row 26. See also pages 19, 20, theorems B and C. The period of the cycle based on this multiplicative generator is 2^30.

Link copied to clipboard

Functions

Link copied to clipboard
fun combine2(i1: Int, i2: Int): Int

Combine two hash values into one. If two values are truly being combined, to avoid systematic collisions it might be best to use combine3() instead, with a usage-specific constant salt.

Link copied to clipboard
fun combine3(i1: Int, i2: Int, i3: Int): Int

Combine multiple hash values into one. To avoid systematic collisions, one of these should be a usage-specific constant salt.

Link copied to clipboard
fun combine4(i1: Int, i2: Int, i3: Int, i4: Int): Int

Combine multiple hash values into one. To avoid systematic collisions, one of these should be a usage-specific constant salt.

Link copied to clipboard
fun combine5(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int): Int

Combine multiple hash values into one. To avoid systematic collisions, one of these should be a usage-specific constant salt.

Link copied to clipboard
fun combine6(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int): Int

Combine multiple hash values into one. To avoid systematic collisions, one of these should be a usage-specific constant salt.

Link copied to clipboard
fun combine7(i1: Int, i2: Int, i3: Int, i4: Int, i5: Int, i6: Int, i7: Int): Int

Combine multiple hash values into one. To avoid systematic collisions, one of these should be a usage-specific constant salt.

Link copied to clipboard
fun error(messagePattern: String?, vararg arguments: Any?): Nothing

Report a virtual machine problem.

Link copied to clipboard
Link copied to clipboard
fun frameAtPut2(self: AvailObject, index1: Int, value1: AvailObject, index2: Int, value2: AvailObject): AvailObject
Link copied to clipboard
fun frameAtPut3(self: AvailObject, index1: Int, value1: AvailObject, index2: Int, value2: AvailObject, index3: Int, value3: AvailObject): AvailObject
Link copied to clipboard
fun frameAtPut4(self: AvailObject, index1: Int, value1: AvailObject, index2: Int, value2: AvailObject, index3: Int, value3: AvailObject, index4: Int, value4: AvailObject): AvailObject
Link copied to clipboard
fun frameAtPut5(self: AvailObject, index1: Int, value1: AvailObject, index2: Int, value2: AvailObject, index3: Int, value3: AvailObject, index4: Int, value4: AvailObject, index5: Int, value5: AvailObject): AvailObject
Link copied to clipboard
fun frameAtPut6(self: AvailObject, index1: Int, value1: AvailObject, index2: Int, value2: AvailObject, index3: Int, value3: AvailObject, index4: Int, value4: AvailObject, index5: Int, value5: AvailObject, index6: Int, value6: AvailObject): AvailObject
Link copied to clipboard
Link copied to clipboard

Create a new AvailObject with the specified descriptor and the same number of variable object and integer slots.

Link copied to clipboard
fun newObjectIndexedIntegerIndexedDescriptor(variableObjectSlots: Int, variableIntegerSlots: Int, descriptor: AbstractDescriptor): AvailObject

Create a new AvailObject with the specified descriptor, the specified number of object slots, and the specified number of integer slots.