InternalCalls
Overview
Low level apis for Island
Location
- Reference: Island.fx
- Namespace: RemObjects.Elements.System
constructor protected
constructor
InternalCalls()
init()
InternalCalls()
Sub New()
Does an atomic Add on an adress and a value; returns the original value.
class method Add(var address: Int32; value: Int32): Int32
static Int32 Add(ref Int32 address, Int32 value)
static func Add(_ address: inout Int32, _ value: Int32) -> Int32
static Int32 Add(__ref Int32 address, Int32 value)
Shared Function Add(ByRef address As Int32, value As Int32) As Int32
Parameters:
- address: the value to increase
- value: the value to inrease with
Does an atomic Add on an adress and a value; returns the original value.
class method Add(var address: Int64; value: Int64): Int64
static Int64 Add(ref Int64 address, Int64 value)
static func Add(_ address: inout Int64, _ value: Int64) -> Int64
static Int64 Add(__ref Int64 address, Int64 value)
Shared Function Add(ByRef address As Int64, value As Int64) As Int64
Parameters:
- address: the value to increase
- value: the value to increase with
Does an atomic Add on an adress and a value; returns the original value.
class method Add(var address: NativeInt; value: NativeInt): NativeInt
static NativeInt Add(ref NativeInt address, NativeInt value)
static func Add(_ address: inout NativeInt, _ value: NativeInt) -> NativeInt
static NativeInt Add(__ref NativeInt address, NativeInt value)
Shared Function Add(ByRef address As NativeInt, value As NativeInt) As NativeInt
Parameters:
- address: the value to increase
- value: the value to inrease with
Add (NativeUInt, NativeUInt): NativeUInt
Does an atomic Add on an adress and a value; returns the original value.
class method Add(var address: NativeUInt; value: NativeUInt): NativeUInt
static NativeUInt Add(ref NativeUInt address, NativeUInt value)
static func Add(_ address: inout NativeUInt, _ value: NativeUInt) -> NativeUInt
static NativeUInt Add(__ref NativeUInt address, NativeUInt value)
Shared Function Add(ByRef address As NativeUInt, value As NativeUInt) As NativeUInt
Parameters:
- address: the value to increase
- value: the value to inrease with
Alloca
class method Alloca(aSize: Int32): ^Byte
static Byte* Alloca(Int32 aSize)
static func Alloca(_ aSize: Int32) -> UnsafeMutablePointer<Byte>
static Byte* Alloca(Int32 aSize)
Shared Function Alloca(aSize As Int32) As Ptr(Of Byte)
Parameters:
- aSize:
Does an atomic And on an adress and a value; returns the original value.
class method And(var address: Int32; value: Int32): Int32
static Int32 And(ref Int32 address, Int32 value)
static func And(_ address: inout Int32, _ value: Int32) -> Int32
static Int32 And(__ref Int32 address, Int32 value)
Shared Function And(ByRef address As Int32, value As Int32) As Int32
Parameters:
- address:
- value:
Does an atomic And on an adress and a value; returns the original value.
class method And(var address: Int64; value: Int64): Int64
static Int64 And(ref Int64 address, Int64 value)
static func And(_ address: inout Int64, _ value: Int64) -> Int64
static Int64 And(__ref Int64 address, Int64 value)
Shared Function And(ByRef address As Int64, value As Int64) As Int64
Parameters:
- address:
- value:
Does an atomic And on an adress and a value; returns the original value.
class method And(var address: NativeInt; value: NativeInt): NativeInt
static NativeInt And(ref NativeInt address, NativeInt value)
static func And(_ address: inout NativeInt, _ value: NativeInt) -> NativeInt
static NativeInt And(__ref NativeInt address, NativeInt value)
Shared Function And(ByRef address As NativeInt, value As NativeInt) As NativeInt
Parameters:
- address:
- value:
And (NativeUInt, NativeUInt): NativeUInt
Does an atomic And on an adress and a value; returns the original value.
class method And(var address: NativeUInt; value: NativeUInt): NativeUInt
static NativeUInt And(ref NativeUInt address, NativeUInt value)
static func And(_ address: inout NativeUInt, _ value: NativeUInt) -> NativeUInt
static NativeUInt And(__ref NativeUInt address, NativeUInt value)
Shared Function And(ByRef address As NativeUInt, value As NativeUInt) As NativeUInt
Parameters:
- address:
- value:
Asm
Inline assembly; this call is replaced by the AT&T syntax asm passed to this method. This returns the primary register (R0, RAX etc)
class method Asm(aAsm: String; aConstraints: String; aSideEffects: Boolean; aAlign: Boolean; params aArgs: array of Object): NativeInt
static NativeInt Asm(String aAsm, String aConstraints, Boolean aSideEffects, Boolean aAlign, params Object[] aArgs)
static func Asm(_ aAsm: String, _ aConstraints: String, _ aSideEffects: Boolean, _ aAlign: Boolean, _ aArgs: Object...) -> NativeInt
static NativeInt Asm(String aAsm, String aConstraints, Boolean aSideEffects, Boolean aAlign, Object[]... aArgs)
Shared Function Asm(aAsm As String, aConstraints As String, aSideEffects As Boolean, aAlign As Boolean, ParamArray aArgs As Object()) As NativeInt
Parameters:
- aAsm: The assembly to use; Note that $ has to be escaped with $ (so $$1 for decimal 1 in AT&T); $0 refers to the first parameter passed to aArgs, etc.
- aConstraints: A clang compatible constraint string
- aSideEffects: If true this asm block has side effects not visible in the constraint list
- aAlign: If true, the stack has to be aligned before entering this blcok
- aArgs: Argument array passed to asm.
class method Cast(o: lifetimestrategy(Manual)Object): ^void
static void* Cast(lifetimestrategy(Manual)Object o)
static func Cast(_ o: lifetimestrategy(Manual)Object) -> UnsafeMutablePointer<void>
static void* Cast(lifetimestrategy(Manual)Object o)
Shared Function Cast(o As lifetimestrategy(Manual)Object) As Ptr(Of Void)
Parameters:
- o:
Cast (Object): ^void
Does a raw cast of the object O to a pointer. Note that a regular reference to O has to be kept around to make sure this value does not get garbage collected.
class method Cast(o: Object): ^void
static void* Cast(Object o)
static func Cast(_ o: Object) -> UnsafeMutablePointer<void>
static void* Cast(Object o)
Shared Function Cast(o As Object) As Ptr(Of Void)
Parameters:
- o: the value to cast
Cast<T>
Casts an Object stored as pointer back to it's real type. The T parameter refers to the type this value should be cast to. Note that this does no checking on the type at all and will always succeed.
class method Cast<T>(o: ^void): T
static T Cast<T>(void* o)
static func Cast<T>(_ o: UnsafeMutablePointer<void>) -> T
static T Cast<T>(void* o)
Shared Function Cast<T>(o As Ptr(Of Void)) As T
Parameters:
- o: The value to cast
Does an atomic compare and exchange value and returns the old value. This method will check the value stored at address, compare it to compare, if it's equal it replaces it with value.
class method CompareExchange(var address: Int32; value: Int32; compare: Int32): Int32
static Int32 CompareExchange(ref Int32 address, Int32 value, Int32 compare)
static func CompareExchange(_ address: inout Int32, _ value: Int32, _ compare: Int32) -> Int32
static Int32 CompareExchange(__ref Int32 address, Int32 value, Int32 compare)
Shared Function CompareExchange(ByRef address As Int32, value As Int32, compare As Int32) As Int32
Parameters:
- address: Address this value is stored at
- value: New value to store
- compare: Value to compare what's stored at address with.
Does an atomic compare and exchange value and returns the old value. This method will check the value stored at address, compare it to compare, if it's equal it replaces it with value.
class method CompareExchange(var address: Int64; value: Int64; compare: Int64): Int64
static Int64 CompareExchange(ref Int64 address, Int64 value, Int64 compare)
static func CompareExchange(_ address: inout Int64, _ value: Int64, _ compare: Int64) -> Int64
static Int64 CompareExchange(__ref Int64 address, Int64 value, Int64 compare)
Shared Function CompareExchange(ByRef address As Int64, value As Int64, compare As Int64) As Int64
Parameters:
- address: Address this value is stored at
- value: New value to store
- compare: Value to compare what's stored at address with.
Does an atomic compare and exchange value and returns the old value. This method will check the value stored at address, compare it to compare, if it's equal it replaces it with value.
class method CompareExchange(var address: NativeInt; value: NativeInt; compare: NativeInt): NativeInt
static NativeInt CompareExchange(ref NativeInt address, NativeInt value, NativeInt compare)
static func CompareExchange(_ address: inout NativeInt, _ value: NativeInt, _ compare: NativeInt) -> NativeInt
static NativeInt CompareExchange(__ref NativeInt address, NativeInt value, NativeInt compare)
Shared Function CompareExchange(ByRef address As NativeInt, value As NativeInt, compare As NativeInt) As NativeInt
Parameters:
- address: Address this value is stored at
- value: New value to store
- compare: Value to compare what's stored at address with.
CompareExchange (NativeUInt, NativeUInt, NativeUInt): NativeUInt
Does an atomic compare and exchange value and returns the old value. This method will check the value stored at address, compare it to compare, if it's equal it replaces it with value.
class method CompareExchange(var address: NativeUInt; value: NativeUInt; compare: NativeUInt): NativeUInt
static NativeUInt CompareExchange(ref NativeUInt address, NativeUInt value, NativeUInt compare)
static func CompareExchange(_ address: inout NativeUInt, _ value: NativeUInt, _ compare: NativeUInt) -> NativeUInt
static NativeUInt CompareExchange(__ref NativeUInt address, NativeUInt value, NativeUInt compare)
Shared Function CompareExchange(ByRef address As NativeUInt, value As NativeUInt, compare As NativeUInt) As NativeUInt
Parameters:
- address: Address this value is stored at
- value: New value to store
- compare: Value to compare what's stored at address with.
Does an atomic compare and exchange value and returns the old value. This method will check the value stored at address, compare it to compare, if it's equal it replaces it with value.
class method CompareExchange(var address: UInt32; value: UInt32; compare: UInt32): UInt32
static UInt32 CompareExchange(ref UInt32 address, UInt32 value, UInt32 compare)
static func CompareExchange(_ address: inout UInt32, _ value: UInt32, _ compare: UInt32) -> UInt32
static UInt32 CompareExchange(__ref UInt32 address, UInt32 value, UInt32 compare)
Shared Function CompareExchange(ByRef address As UInt32, value As UInt32, compare As UInt32) As UInt32
Parameters:
- address: Address this value is stored at
- value: New value to store
- compare: Value to compare what's stored at address with.
Does an atomic compare and exchange value and returns the old value. This method will check the value stored at address, compare it to compare, if it's equal it replaces it with value.
class method CompareExchange(var address: UInt64; value: UInt64; compare: UInt64): UInt64
static UInt64 CompareExchange(ref UInt64 address, UInt64 value, UInt64 compare)
static func CompareExchange(_ address: inout UInt64, _ value: UInt64, _ compare: UInt64) -> UInt64
static UInt64 CompareExchange(__ref UInt64 address, UInt64 value, UInt64 compare)
Shared Function CompareExchange(ByRef address As UInt64, value As UInt64, compare As UInt64) As UInt64
Parameters:
- address: Address this value is stored at
- value: New value to store
- compare: Value to compare what's stored at address with.
CompareExchange<T>
Does an atomic compare and exchange value and returns the old value. This method will check the value stored at address, compare it to compare, if it's equal it replaces it with value.
class method CompareExchange<T>(var address: T; value: T; compare: T): T
static T CompareExchange<T>(ref T address, T value, T compare)
static func CompareExchange<T>(_ address: inout T, _ value: T, _ compare: T) -> T
static T CompareExchange<T>(__ref T address, T value, T compare)
Shared Function CompareExchange<T>(ByRef address As T, value As T, compare As T) As T
Parameters:
- address: Address this value is stored at
- value: New value to store
- compare: Value to compare what's stored at address with.
Does an decrement on an adress; returns the original value.
class method Decrement(var address: Int32): Int32
static Int32 Decrement(ref Int32 address)
static func Decrement(_ address: inout Int32) -> Int32
static Int32 Decrement(__ref Int32 address)
Shared Function Decrement(ByRef address As Int32) As Int32
Parameters:
- address: Address this value is stored at
Does an decrement on an adress; returns the original value.
class method Decrement(var address: Int64): Int64
static Int64 Decrement(ref Int64 address)
static func Decrement(_ address: inout Int64) -> Int64
static Int64 Decrement(__ref Int64 address)
Shared Function Decrement(ByRef address As Int64) As Int64
Parameters:
- address: Address this value is stored at
Does an decrement on an adress; returns the original value.
class method Decrement(var address: IntPtr): IntPtr
static IntPtr Decrement(ref IntPtr address)
static func Decrement(_ address: inout IntPtr) -> IntPtr
static IntPtr Decrement(__ref IntPtr address)
Shared Function Decrement(ByRef address As IntPtr) As IntPtr
Parameters:
- address: Address this value is stored at
Equals virtual (declared in Object)
Default constructor.
method Equals(aOther: Object): Boolean
Boolean Equals(Object aOther)
func Equals(_ aOther: Object) -> Boolean
Boolean Equals(Object aOther)
Function Equals(aOther As Object) As Boolean
Parameters:
- aOther: the reference to compare this with.
Exchanges the value stored at address with a new value and returns the old value.
class method Exchange(var address: Int32; value: Int32): Int32
static Int32 Exchange(ref Int32 address, Int32 value)
static func Exchange(_ address: inout Int32, _ value: Int32) -> Int32
static Int32 Exchange(__ref Int32 address, Int32 value)
Shared Function Exchange(ByRef address As Int32, value As Int32) As Int32
Parameters:
- address: Address this value is stored at
- value: New value to store
Exchanges the value stored at address with a new value and returns the old value.
class method Exchange(var address: Int64; value: Int64): Int64
static Int64 Exchange(ref Int64 address, Int64 value)
static func Exchange(_ address: inout Int64, _ value: Int64) -> Int64
static Int64 Exchange(__ref Int64 address, Int64 value)
Shared Function Exchange(ByRef address As Int64, value As Int64) As Int64
Parameters:
- address: Address this value is stored at
- value: New value to store
Exchanges the value stored at address with a new value and returns the old value.
class method Exchange(var address: NativeInt; value: NativeInt): NativeInt
static NativeInt Exchange(ref NativeInt address, NativeInt value)
static func Exchange(_ address: inout NativeInt, _ value: NativeInt) -> NativeInt
static NativeInt Exchange(__ref NativeInt address, NativeInt value)
Shared Function Exchange(ByRef address As NativeInt, value As NativeInt) As NativeInt
Parameters:
- address: Address this value is stored at
- value: New value to store
Exchange (NativeUInt, NativeUInt): NativeUInt
Exchanges the value stored at address with a new value and returns the old value.
class method Exchange(var address: NativeUInt; value: NativeUInt): NativeUInt
static NativeUInt Exchange(ref NativeUInt address, NativeUInt value)
static func Exchange(_ address: inout NativeUInt, _ value: NativeUInt) -> NativeUInt
static NativeUInt Exchange(__ref NativeUInt address, NativeUInt value)
Shared Function Exchange(ByRef address As NativeUInt, value As NativeUInt) As NativeUInt
Parameters:
- address: Address this value is stored at
- value: The value to write
Exchanges the value stored at address with a new value and returns the old value.
class method Exchange(var address: UInt32; value: UInt32): UInt32
static UInt32 Exchange(ref UInt32 address, UInt32 value)
static func Exchange(_ address: inout UInt32, _ value: UInt32) -> UInt32
static UInt32 Exchange(__ref UInt32 address, UInt32 value)
Shared Function Exchange(ByRef address As UInt32, value As UInt32) As UInt32
Parameters:
- address: Address this value is stored at
- value: New value to store
Exchanges the value stored at address with a new value and returns the old value.
class method Exchange(var address: UInt64; value: UInt64): UInt64
static UInt64 Exchange(ref UInt64 address, UInt64 value)
static func Exchange(_ address: inout UInt64, _ value: UInt64) -> UInt64
static UInt64 Exchange(__ref UInt64 address, UInt64 value)
Shared Function Exchange(ByRef address As UInt64, value As UInt64) As UInt64
Parameters:
- address: Address this value is stored at
- value: New value to store
Exchange<T>
Exchanges the value stored at address with a new value and returns the old value.
class method Exchange<T>(var address: T; value: T): T
static T Exchange<T>(ref T address, T value)
static func Exchange<T>(_ address: inout T, _ value: T) -> T
static T Exchange<T>(__ref T address, T value)
Shared Function Exchange<T>(ByRef address As T, value As T) As T
Parameters:
- address: Address this value is stored at
- value: New value to store
Finalize protected virtual (declared in Object)
method Finalize
void Finalize()
func Finalize()
void Finalize()
Sub Finalize()
GetHashCode virtual (declared in Object)
Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.
method GetHashCode: Int32
Int32 GetHashCode()
func GetHashCode() -> Int32
Int32 GetHashCode()
Function GetHashCode() As Int32
GetIslandTypeInfo<T>
class method GetIslandTypeInfo<T>: ^void
static void* GetIslandTypeInfo<T>()
static func GetIslandTypeInfo<T>() -> UnsafeMutablePointer<void>
static void* GetIslandTypeInfo<T>()
Shared Function GetIslandTypeInfo<T>() As Ptr(Of Void)
GetSwiftTypeInfo<T> iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, visionOS, visionOS Simulator, watchOS, watchOS Simulator
class method GetSwiftTypeInfo<T>: ^void
static void* GetSwiftTypeInfo<T>()
static func GetSwiftTypeInfo<T>() -> UnsafeMutablePointer<void>
static void* GetSwiftTypeInfo<T>()
Shared Function GetSwiftTypeInfo<T>() As Ptr(Of Void)
GetType (declared in Object)
Returns the actual type of this class
method GetType: Type
Type GetType()
func GetType() -> Type
Type GetType()
Function GetType() As Type
GetTypeInfo<T>
Returns the RTTI info for a given type T
class method GetTypeInfo<T>: ^void
static void* GetTypeInfo<T>()
static func GetTypeInfo<T>() -> UnsafeMutablePointer<void>
static void* GetTypeInfo<T>()
Shared Function GetTypeInfo<T>() As Ptr(Of Void)
GuidOf<T>
Returns the guid of an interface or class type.
class method GuidOf<T>: Guid
static Guid GuidOf<T>()
static func GuidOf<T>() -> Guid
static Guid GuidOf<T>()
Shared Function GuidOf<T>() As Guid
Does an increment on an adress; returns the original value.
class method Increment(var address: Int32): Int32
static Int32 Increment(ref Int32 address)
static func Increment(_ address: inout Int32) -> Int32
static Int32 Increment(__ref Int32 address)
Shared Function Increment(ByRef address As Int32) As Int32
Parameters:
- address: Address this value is stored at
Does an increment on an adress; returns the original value.
class method Increment(var address: Int64): Int64
static Int64 Increment(ref Int64 address)
static func Increment(_ address: inout Int64) -> Int64
static Int64 Increment(__ref Int64 address)
Shared Function Increment(ByRef address As Int64) As Int64
Parameters:
- address: Address this value is stored at
Does an increment on an adress; returns the original value.
class method Increment(var address: IntPtr): IntPtr
static IntPtr Increment(ref IntPtr address)
static func Increment(_ address: inout IntPtr) -> IntPtr
static IntPtr Increment(__ref IntPtr address)
Shared Function Increment(ByRef address As IntPtr) As IntPtr
Parameters:
- address: Address this value is stored at
Does an atomic Or on an adress and a value; returns the original value.
class method Or(var address: Int32; value: Int32): Int32
static Int32 Or(ref Int32 address, Int32 value)
static func Or(_ address: inout Int32, _ value: Int32) -> Int32
static Int32 Or(__ref Int32 address, Int32 value)
Shared Function Or(ByRef address As Int32, value As Int32) As Int32
Parameters:
- address:
- value:
Does an atomic Or on an adress and a value; returns the original value.
class method Or(var address: Int64; value: Int64): Int64
static Int64 Or(ref Int64 address, Int64 value)
static func Or(_ address: inout Int64, _ value: Int64) -> Int64
static Int64 Or(__ref Int64 address, Int64 value)
Shared Function Or(ByRef address As Int64, value As Int64) As Int64
Parameters:
- address:
- value:
Does an atomic Or on an adress and a value; returns the original value.
class method Or(var address: NativeInt; value: NativeInt): NativeInt
static NativeInt Or(ref NativeInt address, NativeInt value)
static func Or(_ address: inout NativeInt, _ value: NativeInt) -> NativeInt
static NativeInt Or(__ref NativeInt address, NativeInt value)
Shared Function Or(ByRef address As NativeInt, value As NativeInt) As NativeInt
Parameters:
- address:
- value:
Or (NativeUInt, NativeUInt): NativeUInt
Does an atomic Or on an adress and a value; returns the original value.
class method Or(var address: NativeUInt; value: NativeUInt): NativeUInt
static NativeUInt Or(ref NativeUInt address, NativeUInt value)
static func Or(_ address: inout NativeUInt, _ value: NativeUInt) -> NativeUInt
static NativeUInt Or(__ref NativeUInt address, NativeUInt value)
Shared Function Or(ByRef address As NativeUInt, value As NativeUInt) As NativeUInt
Parameters:
- address:
- value:
ReferenceEquals (declared in Object)
Compares two references for equivalence (even if they have an equals operator)
class method ReferenceEquals(a: Object; b: Object): Boolean
static Boolean ReferenceEquals(Object a, Object b)
static func ReferenceEquals(_ a: Object, _ b: Object) -> Boolean
static Boolean ReferenceEquals(Object a, Object b)
Shared Function ReferenceEquals(a As Object, b As Object) As Boolean
Parameters:
- a: left value
- b: right value
ToString virtual (declared in Object)
Gets the string representation of this method.
method ToString: String
String ToString()
func ToString() -> String
String ToString()
Function ToString() As String
Undefined<T>
Returns an "undefined" value, used for optimization purposes.
class method Undefined<T>: T
static T Undefined<T>()
static func Undefined<T>() -> T
static T Undefined<T>()
Shared Function Undefined<T>() As T
VoidAsm
Inline assembly; this call is replaced by the AT&T syntax asm passed to this method.
class method VoidAsm(aAsm: String; aConstraints: String; aSideEffects: Boolean; aAlign: Boolean; params aArgs: array of Object)
static void VoidAsm(String aAsm, String aConstraints, Boolean aSideEffects, Boolean aAlign, params Object[] aArgs)
static func VoidAsm(_ aAsm: String, _ aConstraints: String, _ aSideEffects: Boolean, _ aAlign: Boolean, _ aArgs: Object...)
static void VoidAsm(String aAsm, String aConstraints, Boolean aSideEffects, Boolean aAlign, Object[]... aArgs)
Shared Sub VoidAsm(aAsm As String, aConstraints As String, aSideEffects As Boolean, aAlign As Boolean, ParamArray aArgs As Object())
Parameters:
- aAsm: The assembly to use; Note that $ has to be escaped with $ (so $$1 for decimal 1 in AT&T); $0 refers to the first parameter passed to aArgs, etc.
- aConstraints: A clang compatible constraint string
- aSideEffects: If true this asm block has side effects not visible in the constraint list
- aAlign: If true, the stack has to be aligned before entering this blcok
- aArgs: Argument array passed to asm.
Forces the compiler to read a value atomically.
class method VolatileRead(var address: Double; aAtomic: Boolean := true): Double
static Double VolatileRead(ref Double address, Boolean aAtomic = true)
static func VolatileRead(_ address: inout Double, _ aAtomic: Boolean = true) -> Double
static Double VolatileRead(__ref Double address, Boolean aAtomic)
Shared Function VolatileRead(ByRef address As Double, aAtomic As Boolean = true) As Double
Parameters:
- address: Address this value is stored at
- aAtomic:
Forces the compiler to read a value atomically.
class method VolatileRead(var address: Int16; aAtomic: Boolean := true): Int16
static Int16 VolatileRead(ref Int16 address, Boolean aAtomic = true)
static func VolatileRead(_ address: inout Int16, _ aAtomic: Boolean = true) -> Int16
static Int16 VolatileRead(__ref Int16 address, Boolean aAtomic)
Shared Function VolatileRead(ByRef address As Int16, aAtomic As Boolean = true) As Int16
Parameters:
- address: Address this value is stored at
- aAtomic:
Forces the compiler to read a value atomically.
class method VolatileRead(var address: Int32; aAtomic: Boolean := true): Int32
static Int32 VolatileRead(ref Int32 address, Boolean aAtomic = true)
static func VolatileRead(_ address: inout Int32, _ aAtomic: Boolean = true) -> Int32
static Int32 VolatileRead(__ref Int32 address, Boolean aAtomic)
Shared Function VolatileRead(ByRef address As Int32, aAtomic As Boolean = true) As Int32
Parameters:
- address: Address this value is stored at
- aAtomic:
Forces the compiler to read a value atomically.
class method VolatileRead(var address: Int64; aAtomic: Boolean := true): Int64
static Int64 VolatileRead(ref Int64 address, Boolean aAtomic = true)
static func VolatileRead(_ address: inout Int64, _ aAtomic: Boolean = true) -> Int64
static Int64 VolatileRead(__ref Int64 address, Boolean aAtomic)
Shared Function VolatileRead(ByRef address As Int64, aAtomic As Boolean = true) As Int64
Parameters:
- address: Address this value is stored at
- aAtomic:
Forces the compiler to read a value atomically.
class method VolatileRead(var address: SByte; aAtomic: Boolean := true): SByte
static SByte VolatileRead(ref SByte address, Boolean aAtomic = true)
static func VolatileRead(_ address: inout SByte, _ aAtomic: Boolean = true) -> SByte
static SByte VolatileRead(__ref SByte address, Boolean aAtomic)
Shared Function VolatileRead(ByRef address As SByte, aAtomic As Boolean = true) As SByte
Parameters:
- address: Address this value is stored at
- aAtomic:
Forces the compiler to read a value atomically.
class method VolatileRead(var address: NativeInt; aAtomic: Boolean := true): NativeInt
static NativeInt VolatileRead(ref NativeInt address, Boolean aAtomic = true)
static func VolatileRead(_ address: inout NativeInt, _ aAtomic: Boolean = true) -> NativeInt
static NativeInt VolatileRead(__ref NativeInt address, Boolean aAtomic)
Shared Function VolatileRead(ByRef address As NativeInt, aAtomic As Boolean = true) As NativeInt
Parameters:
- address: Address this value is stored at
- aAtomic:
VolatileRead (NativeUInt, Boolean): NativeUInt
Forces the compiler to read a value atomically.
class method VolatileRead(var address: NativeUInt; aAtomic: Boolean := true): NativeUInt
static NativeUInt VolatileRead(ref NativeUInt address, Boolean aAtomic = true)
static func VolatileRead(_ address: inout NativeUInt, _ aAtomic: Boolean = true) -> NativeUInt
static NativeUInt VolatileRead(__ref NativeUInt address, Boolean aAtomic)
Shared Function VolatileRead(ByRef address As NativeUInt, aAtomic As Boolean = true) As NativeUInt
Parameters:
- address: Address this value is stored at
- aAtomic:
Forces the compiler to read a value atomically.
class method VolatileRead(var address: Object; aAtomic: Boolean := true): Object
static Object VolatileRead(ref Object address, Boolean aAtomic = true)
static func VolatileRead(_ address: inout Object, _ aAtomic: Boolean = true) -> Object
static Object VolatileRead(__ref Object address, Boolean aAtomic)
Shared Function VolatileRead(ByRef address As Object, aAtomic As Boolean = true) As Object
Parameters:
- address: Address this value is stored at
- aAtomic:
Forces the compiler to read a value atomically.
class method VolatileRead(var address: Single; aAtomic: Boolean := true): Single
static Single VolatileRead(ref Single address, Boolean aAtomic = true)
static func VolatileRead(_ address: inout Single, _ aAtomic: Boolean = true) -> Single
static Single VolatileRead(__ref Single address, Boolean aAtomic)
Shared Function VolatileRead(ByRef address As Single, aAtomic As Boolean = true) As Single
Parameters:
- address: Address this value is stored at
- aAtomic:
Forces the compiler to read a value atomically.
class method VolatileRead(var address: UInt16; aAtomic: Boolean := true): UInt16
static UInt16 VolatileRead(ref UInt16 address, Boolean aAtomic = true)
static func VolatileRead(_ address: inout UInt16, _ aAtomic: Boolean = true) -> UInt16
static UInt16 VolatileRead(__ref UInt16 address, Boolean aAtomic)
Shared Function VolatileRead(ByRef address As UInt16, aAtomic As Boolean = true) As UInt16
Parameters:
- address: Address this value is stored at
- aAtomic:
Forces the compiler to read a value atomically.
class method VolatileRead(var address: UInt32; aAtomic: Boolean := true): UInt32
static UInt32 VolatileRead(ref UInt32 address, Boolean aAtomic = true)
static func VolatileRead(_ address: inout UInt32, _ aAtomic: Boolean = true) -> UInt32
static UInt32 VolatileRead(__ref UInt32 address, Boolean aAtomic)
Shared Function VolatileRead(ByRef address As UInt32, aAtomic As Boolean = true) As UInt32
Parameters:
- address: Address this value is stored at
- aAtomic:
Forces the compiler to read a value atomically.
class method VolatileRead(var address: UInt64; aAtomic: Boolean := true): UInt64
static UInt64 VolatileRead(ref UInt64 address, Boolean aAtomic = true)
static func VolatileRead(_ address: inout UInt64, _ aAtomic: Boolean = true) -> UInt64
static UInt64 VolatileRead(__ref UInt64 address, Boolean aAtomic)
Shared Function VolatileRead(ByRef address As UInt64, aAtomic As Boolean = true) As UInt64
Parameters:
- address: Address this value is stored at
- aAtomic:
Forces the compiler to read a value atomically.
class method VolatileRead(var address: Byte; aAtomic: Boolean := true): Byte
static Byte VolatileRead(ref Byte address, Boolean aAtomic = true)
static func VolatileRead(_ address: inout Byte, _ aAtomic: Boolean = true) -> Byte
static Byte VolatileRead(__ref Byte address, Boolean aAtomic)
Shared Function VolatileRead(ByRef address As Byte, aAtomic As Boolean = true) As Byte
Parameters:
- address: Address this value is stored at
- aAtomic:
class method VolatileWrite(var address: Double; value: Double; aAtomic: Boolean := true)
static void VolatileWrite(ref Double address, Double value, Boolean aAtomic = true)
static func VolatileWrite(_ address: inout Double, _ value: Double, _ aAtomic: Boolean = true)
static void VolatileWrite(__ref Double address, Double value, Boolean aAtomic)
Shared Sub VolatileWrite(ByRef address As Double, value As Double, aAtomic As Boolean = true)
Parameters:
- address:
- value:
- aAtomic:
class method VolatileWrite(var address: Int16; value: Int16; aAtomic: Boolean := true)
static void VolatileWrite(ref Int16 address, Int16 value, Boolean aAtomic = true)
static func VolatileWrite(_ address: inout Int16, _ value: Int16, _ aAtomic: Boolean = true)
static void VolatileWrite(__ref Int16 address, Int16 value, Boolean aAtomic)
Shared Sub VolatileWrite(ByRef address As Int16, value As Int16, aAtomic As Boolean = true)
Parameters:
- address:
- value:
- aAtomic:
class method VolatileWrite(var address: Int32; value: Int32; aAtomic: Boolean := true)
static void VolatileWrite(ref Int32 address, Int32 value, Boolean aAtomic = true)
static func VolatileWrite(_ address: inout Int32, _ value: Int32, _ aAtomic: Boolean = true)
static void VolatileWrite(__ref Int32 address, Int32 value, Boolean aAtomic)
Shared Sub VolatileWrite(ByRef address As Int32, value As Int32, aAtomic As Boolean = true)
Parameters:
- address:
- value:
- aAtomic:
class method VolatileWrite(var address: Int64; value: Int64; aAtomic: Boolean := true)
static void VolatileWrite(ref Int64 address, Int64 value, Boolean aAtomic = true)
static func VolatileWrite(_ address: inout Int64, _ value: Int64, _ aAtomic: Boolean = true)
static void VolatileWrite(__ref Int64 address, Int64 value, Boolean aAtomic)
Shared Sub VolatileWrite(ByRef address As Int64, value As Int64, aAtomic As Boolean = true)
Parameters:
- address:
- value:
- aAtomic:
class method VolatileWrite(var address: SByte; value: SByte; aAtomic: Boolean := true)
static void VolatileWrite(ref SByte address, SByte value, Boolean aAtomic = true)
static func VolatileWrite(_ address: inout SByte, _ value: SByte, _ aAtomic: Boolean = true)
static void VolatileWrite(__ref SByte address, SByte value, Boolean aAtomic)
Shared Sub VolatileWrite(ByRef address As SByte, value As SByte, aAtomic As Boolean = true)
Parameters:
- address:
- value:
- aAtomic:
class method VolatileWrite(var address: NativeInt; value: NativeInt; aAtomic: Boolean := true)
static void VolatileWrite(ref NativeInt address, NativeInt value, Boolean aAtomic = true)
static func VolatileWrite(_ address: inout NativeInt, _ value: NativeInt, _ aAtomic: Boolean = true)
static void VolatileWrite(__ref NativeInt address, NativeInt value, Boolean aAtomic)
Shared Sub VolatileWrite(ByRef address As NativeInt, value As NativeInt, aAtomic As Boolean = true)
Parameters:
- address:
- value:
- aAtomic:
VolatileWrite (NativeUInt, NativeUInt, Boolean)
class method VolatileWrite(var address: NativeUInt; value: NativeUInt; aAtomic: Boolean := true)
static void VolatileWrite(ref NativeUInt address, NativeUInt value, Boolean aAtomic = true)
static func VolatileWrite(_ address: inout NativeUInt, _ value: NativeUInt, _ aAtomic: Boolean = true)
static void VolatileWrite(__ref NativeUInt address, NativeUInt value, Boolean aAtomic)
Shared Sub VolatileWrite(ByRef address As NativeUInt, value As NativeUInt, aAtomic As Boolean = true)
Parameters:
- address:
- value:
- aAtomic:
class method VolatileWrite(var address: Object; value: Object; aAtomic: Boolean := true)
static void VolatileWrite(ref Object address, Object value, Boolean aAtomic = true)
static func VolatileWrite(_ address: inout Object, _ value: Object, _ aAtomic: Boolean = true)
static void VolatileWrite(__ref Object address, Object value, Boolean aAtomic)
Shared Sub VolatileWrite(ByRef address As Object, value As Object, aAtomic As Boolean = true)
Parameters:
- address:
- value:
- aAtomic:
class method VolatileWrite(var address: Single; value: Single; aAtomic: Boolean := true)
static void VolatileWrite(ref Single address, Single value, Boolean aAtomic = true)
static func VolatileWrite(_ address: inout Single, _ value: Single, _ aAtomic: Boolean = true)
static void VolatileWrite(__ref Single address, Single value, Boolean aAtomic)
Shared Sub VolatileWrite(ByRef address As Single, value As Single, aAtomic As Boolean = true)
Parameters:
- address:
- value:
- aAtomic:
class method VolatileWrite(var address: UInt16; value: UInt16; aAtomic: Boolean := true)
static void VolatileWrite(ref UInt16 address, UInt16 value, Boolean aAtomic = true)
static func VolatileWrite(_ address: inout UInt16, _ value: UInt16, _ aAtomic: Boolean = true)
static void VolatileWrite(__ref UInt16 address, UInt16 value, Boolean aAtomic)
Shared Sub VolatileWrite(ByRef address As UInt16, value As UInt16, aAtomic As Boolean = true)
Parameters:
- address:
- value:
- aAtomic:
class method VolatileWrite(var address: UInt32; value: UInt32; aAtomic: Boolean := true)
static void VolatileWrite(ref UInt32 address, UInt32 value, Boolean aAtomic = true)
static func VolatileWrite(_ address: inout UInt32, _ value: UInt32, _ aAtomic: Boolean = true)
static void VolatileWrite(__ref UInt32 address, UInt32 value, Boolean aAtomic)
Shared Sub VolatileWrite(ByRef address As UInt32, value As UInt32, aAtomic As Boolean = true)
Parameters:
- address:
- value:
- aAtomic:
class method VolatileWrite(var address: UInt64; value: UInt64; aAtomic: Boolean := true)
static void VolatileWrite(ref UInt64 address, UInt64 value, Boolean aAtomic = true)
static func VolatileWrite(_ address: inout UInt64, _ value: UInt64, _ aAtomic: Boolean = true)
static void VolatileWrite(__ref UInt64 address, UInt64 value, Boolean aAtomic)
Shared Sub VolatileWrite(ByRef address As UInt64, value As UInt64, aAtomic As Boolean = true)
Parameters:
- address:
- value:
- aAtomic:
class method VolatileWrite(var address: Byte; value: Byte; aAtomic: Boolean := true)
static void VolatileWrite(ref Byte address, Byte value, Boolean aAtomic = true)
static func VolatileWrite(_ address: inout Byte, _ value: Byte, _ aAtomic: Boolean = true)
static void VolatileWrite(__ref Byte address, Byte value, Boolean aAtomic)
Shared Sub VolatileWrite(ByRef address As Byte, value As Byte, aAtomic As Boolean = true)
Parameters:
- address:
- value:
- aAtomic:
Does an atomic XOr on an adress and a value; returns the original value.
class method Xor(var address: Int32; value: Int32): Int32
static Int32 Xor(ref Int32 address, Int32 value)
static func Xor(_ address: inout Int32, _ value: Int32) -> Int32
static Int32 Xor(__ref Int32 address, Int32 value)
Shared Function Xor(ByRef address As Int32, value As Int32) As Int32
Parameters:
- address:
- value:
Does an atomic XOr on an adress and a value; returns the original value.
class method Xor(var address: Int64; value: Int64): Int64
static Int64 Xor(ref Int64 address, Int64 value)
static func Xor(_ address: inout Int64, _ value: Int64) -> Int64
static Int64 Xor(__ref Int64 address, Int64 value)
Shared Function Xor(ByRef address As Int64, value As Int64) As Int64
Parameters:
- address:
- value:
Does an atomic XOr on an adress and a value; returns the original value.
class method Xor(var address: NativeInt; value: NativeInt): NativeInt
static NativeInt Xor(ref NativeInt address, NativeInt value)
static func Xor(_ address: inout NativeInt, _ value: NativeInt) -> NativeInt
static NativeInt Xor(__ref NativeInt address, NativeInt value)
Shared Function Xor(ByRef address As NativeInt, value As NativeInt) As NativeInt
Parameters:
- address:
- value:
Xor (NativeUInt, NativeUInt): NativeUInt
Does an atomic XOr on an adress and a value; returns the original value.
class method Xor(var address: NativeUInt; value: NativeUInt): NativeUInt
static NativeUInt Xor(ref NativeUInt address, NativeUInt value)
static func Xor(_ address: inout NativeUInt, _ value: NativeUInt) -> NativeUInt
static NativeUInt Xor(__ref NativeUInt address, NativeUInt value)
Shared Function Xor(ByRef address As NativeUInt, value As NativeUInt) As NativeUInt
Parameters:
- address:
- value:
Does an atomic Add on an adress and a value; returns the original value.
class method Add(var address: Int32; value: Int32): Int32
static Int32 Add(ref Int32 address, Int32 value)
static func Add(_ address: inout Int32, _ value: Int32) -> Int32
static Int32 Add(__ref Int32 address, Int32 value)
Shared Function Add(ByRef address As Int32, value As Int32) As Int32
Parameters:
- address: the value to increase
- value: the value to inrease with
Does an atomic Add on an adress and a value; returns the original value.
class method Add(var address: Int64; value: Int64): Int64
static Int64 Add(ref Int64 address, Int64 value)
static func Add(_ address: inout Int64, _ value: Int64) -> Int64
static Int64 Add(__ref Int64 address, Int64 value)
Shared Function Add(ByRef address As Int64, value As Int64) As Int64
Parameters:
- address: the value to increase
- value: the value to increase with
Does an atomic Add on an adress and a value; returns the original value.
class method Add(var address: NativeInt; value: NativeInt): NativeInt
static NativeInt Add(ref NativeInt address, NativeInt value)
static func Add(_ address: inout NativeInt, _ value: NativeInt) -> NativeInt
static NativeInt Add(__ref NativeInt address, NativeInt value)
Shared Function Add(ByRef address As NativeInt, value As NativeInt) As NativeInt
Parameters:
- address: the value to increase
- value: the value to inrease with
Add (NativeUInt, NativeUInt): NativeUInt
Does an atomic Add on an adress and a value; returns the original value.
class method Add(var address: NativeUInt; value: NativeUInt): NativeUInt
static NativeUInt Add(ref NativeUInt address, NativeUInt value)
static func Add(_ address: inout NativeUInt, _ value: NativeUInt) -> NativeUInt
static NativeUInt Add(__ref NativeUInt address, NativeUInt value)
Shared Function Add(ByRef address As NativeUInt, value As NativeUInt) As NativeUInt
Parameters:
- address: the value to increase
- value: the value to inrease with
Alloca
class method Alloca(aSize: Int32): ^Byte
static Byte* Alloca(Int32 aSize)
static func Alloca(_ aSize: Int32) -> UnsafeMutablePointer<Byte>
static Byte* Alloca(Int32 aSize)
Shared Function Alloca(aSize As Int32) As Ptr(Of Byte)
Parameters:
- aSize:
Does an atomic And on an adress and a value; returns the original value.
class method And(var address: Int32; value: Int32): Int32
static Int32 And(ref Int32 address, Int32 value)
static func And(_ address: inout Int32, _ value: Int32) -> Int32
static Int32 And(__ref Int32 address, Int32 value)
Shared Function And(ByRef address As Int32, value As Int32) As Int32
Parameters:
- address:
- value:
Does an atomic And on an adress and a value; returns the original value.
class method And(var address: Int64; value: Int64): Int64
static Int64 And(ref Int64 address, Int64 value)
static func And(_ address: inout Int64, _ value: Int64) -> Int64
static Int64 And(__ref Int64 address, Int64 value)
Shared Function And(ByRef address As Int64, value As Int64) As Int64
Parameters:
- address:
- value:
Does an atomic And on an adress and a value; returns the original value.
class method And(var address: NativeInt; value: NativeInt): NativeInt
static NativeInt And(ref NativeInt address, NativeInt value)
static func And(_ address: inout NativeInt, _ value: NativeInt) -> NativeInt
static NativeInt And(__ref NativeInt address, NativeInt value)
Shared Function And(ByRef address As NativeInt, value As NativeInt) As NativeInt
Parameters:
- address:
- value:
And (NativeUInt, NativeUInt): NativeUInt
Does an atomic And on an adress and a value; returns the original value.
class method And(var address: NativeUInt; value: NativeUInt): NativeUInt
static NativeUInt And(ref NativeUInt address, NativeUInt value)
static func And(_ address: inout NativeUInt, _ value: NativeUInt) -> NativeUInt
static NativeUInt And(__ref NativeUInt address, NativeUInt value)
Shared Function And(ByRef address As NativeUInt, value As NativeUInt) As NativeUInt
Parameters:
- address:
- value:
Asm
Inline assembly; this call is replaced by the AT&T syntax asm passed to this method. This returns the primary register (R0, RAX etc)
class method Asm(aAsm: String; aConstraints: String; aSideEffects: Boolean; aAlign: Boolean; params aArgs: array of Object): NativeInt
static NativeInt Asm(String aAsm, String aConstraints, Boolean aSideEffects, Boolean aAlign, params Object[] aArgs)
static func Asm(_ aAsm: String, _ aConstraints: String, _ aSideEffects: Boolean, _ aAlign: Boolean, _ aArgs: Object...) -> NativeInt
static NativeInt Asm(String aAsm, String aConstraints, Boolean aSideEffects, Boolean aAlign, Object[]... aArgs)
Shared Function Asm(aAsm As String, aConstraints As String, aSideEffects As Boolean, aAlign As Boolean, ParamArray aArgs As Object()) As NativeInt
Parameters:
- aAsm: The assembly to use; Note that $ has to be escaped with $ (so $$1 for decimal 1 in AT&T); $0 refers to the first parameter passed to aArgs, etc.
- aConstraints: A clang compatible constraint string
- aSideEffects: If true this asm block has side effects not visible in the constraint list
- aAlign: If true, the stack has to be aligned before entering this blcok
- aArgs: Argument array passed to asm.
class method Cast(o: lifetimestrategy(Manual)Object): ^void
static void* Cast(lifetimestrategy(Manual)Object o)
static func Cast(_ o: lifetimestrategy(Manual)Object) -> UnsafeMutablePointer<void>
static void* Cast(lifetimestrategy(Manual)Object o)
Shared Function Cast(o As lifetimestrategy(Manual)Object) As Ptr(Of Void)
Parameters:
- o:
Cast (Object): ^void
Does a raw cast of the object O to a pointer. Note that a regular reference to O has to be kept around to make sure this value does not get garbage collected.
class method Cast(o: Object): ^void
static void* Cast(Object o)
static func Cast(_ o: Object) -> UnsafeMutablePointer<void>
static void* Cast(Object o)
Shared Function Cast(o As Object) As Ptr(Of Void)
Parameters:
- o: the value to cast
Cast<T>
Casts an Object stored as pointer back to it's real type. The T parameter refers to the type this value should be cast to. Note that this does no checking on the type at all and will always succeed.
class method Cast<T>(o: ^void): T
static T Cast<T>(void* o)
static func Cast<T>(_ o: UnsafeMutablePointer<void>) -> T
static T Cast<T>(void* o)
Shared Function Cast<T>(o As Ptr(Of Void)) As T
Parameters:
- o: The value to cast
Does an atomic compare and exchange value and returns the old value. This method will check the value stored at address, compare it to compare, if it's equal it replaces it with value.
class method CompareExchange(var address: Int32; value: Int32; compare: Int32): Int32
static Int32 CompareExchange(ref Int32 address, Int32 value, Int32 compare)
static func CompareExchange(_ address: inout Int32, _ value: Int32, _ compare: Int32) -> Int32
static Int32 CompareExchange(__ref Int32 address, Int32 value, Int32 compare)
Shared Function CompareExchange(ByRef address As Int32, value As Int32, compare As Int32) As Int32
Parameters:
- address: Address this value is stored at
- value: New value to store
- compare: Value to compare what's stored at address with.
Does an atomic compare and exchange value and returns the old value. This method will check the value stored at address, compare it to compare, if it's equal it replaces it with value.
class method CompareExchange(var address: Int64; value: Int64; compare: Int64): Int64
static Int64 CompareExchange(ref Int64 address, Int64 value, Int64 compare)
static func CompareExchange(_ address: inout Int64, _ value: Int64, _ compare: Int64) -> Int64
static Int64 CompareExchange(__ref Int64 address, Int64 value, Int64 compare)
Shared Function CompareExchange(ByRef address As Int64, value As Int64, compare As Int64) As Int64
Parameters:
- address: Address this value is stored at
- value: New value to store
- compare: Value to compare what's stored at address with.
Does an atomic compare and exchange value and returns the old value. This method will check the value stored at address, compare it to compare, if it's equal it replaces it with value.
class method CompareExchange(var address: NativeInt; value: NativeInt; compare: NativeInt): NativeInt
static NativeInt CompareExchange(ref NativeInt address, NativeInt value, NativeInt compare)
static func CompareExchange(_ address: inout NativeInt, _ value: NativeInt, _ compare: NativeInt) -> NativeInt
static NativeInt CompareExchange(__ref NativeInt address, NativeInt value, NativeInt compare)
Shared Function CompareExchange(ByRef address As NativeInt, value As NativeInt, compare As NativeInt) As NativeInt
Parameters:
- address: Address this value is stored at
- value: New value to store
- compare: Value to compare what's stored at address with.
CompareExchange (NativeUInt, NativeUInt, NativeUInt): NativeUInt
Does an atomic compare and exchange value and returns the old value. This method will check the value stored at address, compare it to compare, if it's equal it replaces it with value.
class method CompareExchange(var address: NativeUInt; value: NativeUInt; compare: NativeUInt): NativeUInt
static NativeUInt CompareExchange(ref NativeUInt address, NativeUInt value, NativeUInt compare)
static func CompareExchange(_ address: inout NativeUInt, _ value: NativeUInt, _ compare: NativeUInt) -> NativeUInt
static NativeUInt CompareExchange(__ref NativeUInt address, NativeUInt value, NativeUInt compare)
Shared Function CompareExchange(ByRef address As NativeUInt, value As NativeUInt, compare As NativeUInt) As NativeUInt
Parameters:
- address: Address this value is stored at
- value: New value to store
- compare: Value to compare what's stored at address with.
Does an atomic compare and exchange value and returns the old value. This method will check the value stored at address, compare it to compare, if it's equal it replaces it with value.
class method CompareExchange(var address: UInt32; value: UInt32; compare: UInt32): UInt32
static UInt32 CompareExchange(ref UInt32 address, UInt32 value, UInt32 compare)
static func CompareExchange(_ address: inout UInt32, _ value: UInt32, _ compare: UInt32) -> UInt32
static UInt32 CompareExchange(__ref UInt32 address, UInt32 value, UInt32 compare)
Shared Function CompareExchange(ByRef address As UInt32, value As UInt32, compare As UInt32) As UInt32
Parameters:
- address: Address this value is stored at
- value: New value to store
- compare: Value to compare what's stored at address with.
Does an atomic compare and exchange value and returns the old value. This method will check the value stored at address, compare it to compare, if it's equal it replaces it with value.
class method CompareExchange(var address: UInt64; value: UInt64; compare: UInt64): UInt64
static UInt64 CompareExchange(ref UInt64 address, UInt64 value, UInt64 compare)
static func CompareExchange(_ address: inout UInt64, _ value: UInt64, _ compare: UInt64) -> UInt64
static UInt64 CompareExchange(__ref UInt64 address, UInt64 value, UInt64 compare)
Shared Function CompareExchange(ByRef address As UInt64, value As UInt64, compare As UInt64) As UInt64
Parameters:
- address: Address this value is stored at
- value: New value to store
- compare: Value to compare what's stored at address with.
CompareExchange<T>
Does an atomic compare and exchange value and returns the old value. This method will check the value stored at address, compare it to compare, if it's equal it replaces it with value.
class method CompareExchange<T>(var address: T; value: T; compare: T): T
static T CompareExchange<T>(ref T address, T value, T compare)
static func CompareExchange<T>(_ address: inout T, _ value: T, _ compare: T) -> T
static T CompareExchange<T>(__ref T address, T value, T compare)
Shared Function CompareExchange<T>(ByRef address As T, value As T, compare As T) As T
Parameters:
- address: Address this value is stored at
- value: New value to store
- compare: Value to compare what's stored at address with.
Does an decrement on an adress; returns the original value.
class method Decrement(var address: Int32): Int32
static Int32 Decrement(ref Int32 address)
static func Decrement(_ address: inout Int32) -> Int32
static Int32 Decrement(__ref Int32 address)
Shared Function Decrement(ByRef address As Int32) As Int32
Parameters:
- address: Address this value is stored at
Does an decrement on an adress; returns the original value.
class method Decrement(var address: Int64): Int64
static Int64 Decrement(ref Int64 address)
static func Decrement(_ address: inout Int64) -> Int64
static Int64 Decrement(__ref Int64 address)
Shared Function Decrement(ByRef address As Int64) As Int64
Parameters:
- address: Address this value is stored at
Does an decrement on an adress; returns the original value.
class method Decrement(var address: IntPtr): IntPtr
static IntPtr Decrement(ref IntPtr address)
static func Decrement(_ address: inout IntPtr) -> IntPtr
static IntPtr Decrement(__ref IntPtr address)
Shared Function Decrement(ByRef address As IntPtr) As IntPtr
Parameters:
- address: Address this value is stored at
Exchanges the value stored at address with a new value and returns the old value.
class method Exchange(var address: Int32; value: Int32): Int32
static Int32 Exchange(ref Int32 address, Int32 value)
static func Exchange(_ address: inout Int32, _ value: Int32) -> Int32
static Int32 Exchange(__ref Int32 address, Int32 value)
Shared Function Exchange(ByRef address As Int32, value As Int32) As Int32
Parameters:
- address: Address this value is stored at
- value: New value to store
Exchanges the value stored at address with a new value and returns the old value.
class method Exchange(var address: Int64; value: Int64): Int64
static Int64 Exchange(ref Int64 address, Int64 value)
static func Exchange(_ address: inout Int64, _ value: Int64) -> Int64
static Int64 Exchange(__ref Int64 address, Int64 value)
Shared Function Exchange(ByRef address As Int64, value As Int64) As Int64
Parameters:
- address: Address this value is stored at
- value: New value to store
Exchanges the value stored at address with a new value and returns the old value.
class method Exchange(var address: NativeInt; value: NativeInt): NativeInt
static NativeInt Exchange(ref NativeInt address, NativeInt value)
static func Exchange(_ address: inout NativeInt, _ value: NativeInt) -> NativeInt
static NativeInt Exchange(__ref NativeInt address, NativeInt value)
Shared Function Exchange(ByRef address As NativeInt, value As NativeInt) As NativeInt
Parameters:
- address: Address this value is stored at
- value: New value to store
Exchange (NativeUInt, NativeUInt): NativeUInt
Exchanges the value stored at address with a new value and returns the old value.
class method Exchange(var address: NativeUInt; value: NativeUInt): NativeUInt
static NativeUInt Exchange(ref NativeUInt address, NativeUInt value)
static func Exchange(_ address: inout NativeUInt, _ value: NativeUInt) -> NativeUInt
static NativeUInt Exchange(__ref NativeUInt address, NativeUInt value)
Shared Function Exchange(ByRef address As NativeUInt, value As NativeUInt) As NativeUInt
Parameters:
- address: Address this value is stored at
- value: The value to write
Exchanges the value stored at address with a new value and returns the old value.
class method Exchange(var address: UInt32; value: UInt32): UInt32
static UInt32 Exchange(ref UInt32 address, UInt32 value)
static func Exchange(_ address: inout UInt32, _ value: UInt32) -> UInt32
static UInt32 Exchange(__ref UInt32 address, UInt32 value)
Shared Function Exchange(ByRef address As UInt32, value As UInt32) As UInt32
Parameters:
- address: Address this value is stored at
- value: New value to store
Exchanges the value stored at address with a new value and returns the old value.
class method Exchange(var address: UInt64; value: UInt64): UInt64
static UInt64 Exchange(ref UInt64 address, UInt64 value)
static func Exchange(_ address: inout UInt64, _ value: UInt64) -> UInt64
static UInt64 Exchange(__ref UInt64 address, UInt64 value)
Shared Function Exchange(ByRef address As UInt64, value As UInt64) As UInt64
Parameters:
- address: Address this value is stored at
- value: New value to store
Exchange<T>
Exchanges the value stored at address with a new value and returns the old value.
class method Exchange<T>(var address: T; value: T): T
static T Exchange<T>(ref T address, T value)
static func Exchange<T>(_ address: inout T, _ value: T) -> T
static T Exchange<T>(__ref T address, T value)
Shared Function Exchange<T>(ByRef address As T, value As T) As T
Parameters:
- address: Address this value is stored at
- value: New value to store
GetIslandTypeInfo<T>
class method GetIslandTypeInfo<T>: ^void
static void* GetIslandTypeInfo<T>()
static func GetIslandTypeInfo<T>() -> UnsafeMutablePointer<void>
static void* GetIslandTypeInfo<T>()
Shared Function GetIslandTypeInfo<T>() As Ptr(Of Void)
GetSwiftTypeInfo<T> iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, visionOS, visionOS Simulator, watchOS, watchOS Simulator
class method GetSwiftTypeInfo<T>: ^void
static void* GetSwiftTypeInfo<T>()
static func GetSwiftTypeInfo<T>() -> UnsafeMutablePointer<void>
static void* GetSwiftTypeInfo<T>()
Shared Function GetSwiftTypeInfo<T>() As Ptr(Of Void)
GetTypeInfo<T>
Returns the RTTI info for a given type T
class method GetTypeInfo<T>: ^void
static void* GetTypeInfo<T>()
static func GetTypeInfo<T>() -> UnsafeMutablePointer<void>
static void* GetTypeInfo<T>()
Shared Function GetTypeInfo<T>() As Ptr(Of Void)
GuidOf<T>
Returns the guid of an interface or class type.
class method GuidOf<T>: Guid
static Guid GuidOf<T>()
static func GuidOf<T>() -> Guid
static Guid GuidOf<T>()
Shared Function GuidOf<T>() As Guid
Does an increment on an adress; returns the original value.
class method Increment(var address: Int32): Int32
static Int32 Increment(ref Int32 address)
static func Increment(_ address: inout Int32) -> Int32
static Int32 Increment(__ref Int32 address)
Shared Function Increment(ByRef address As Int32) As Int32
Parameters:
- address: Address this value is stored at
Does an increment on an adress; returns the original value.
class method Increment(var address: Int64): Int64
static Int64 Increment(ref Int64 address)
static func Increment(_ address: inout Int64) -> Int64
static Int64 Increment(__ref Int64 address)
Shared Function Increment(ByRef address As Int64) As Int64
Parameters:
- address: Address this value is stored at
Does an increment on an adress; returns the original value.
class method Increment(var address: IntPtr): IntPtr
static IntPtr Increment(ref IntPtr address)
static func Increment(_ address: inout IntPtr) -> IntPtr
static IntPtr Increment(__ref IntPtr address)
Shared Function Increment(ByRef address As IntPtr) As IntPtr
Parameters:
- address: Address this value is stored at
Does an atomic Or on an adress and a value; returns the original value.
class method Or(var address: Int32; value: Int32): Int32
static Int32 Or(ref Int32 address, Int32 value)
static func Or(_ address: inout Int32, _ value: Int32) -> Int32
static Int32 Or(__ref Int32 address, Int32 value)
Shared Function Or(ByRef address As Int32, value As Int32) As Int32
Parameters:
- address:
- value:
Does an atomic Or on an adress and a value; returns the original value.
class method Or(var address: Int64; value: Int64): Int64
static Int64 Or(ref Int64 address, Int64 value)
static func Or(_ address: inout Int64, _ value: Int64) -> Int64
static Int64 Or(__ref Int64 address, Int64 value)
Shared Function Or(ByRef address As Int64, value As Int64) As Int64
Parameters:
- address:
- value:
Does an atomic Or on an adress and a value; returns the original value.
class method Or(var address: NativeInt; value: NativeInt): NativeInt
static NativeInt Or(ref NativeInt address, NativeInt value)
static func Or(_ address: inout NativeInt, _ value: NativeInt) -> NativeInt
static NativeInt Or(__ref NativeInt address, NativeInt value)
Shared Function Or(ByRef address As NativeInt, value As NativeInt) As NativeInt
Parameters:
- address:
- value:
Or (NativeUInt, NativeUInt): NativeUInt
Does an atomic Or on an adress and a value; returns the original value.
class method Or(var address: NativeUInt; value: NativeUInt): NativeUInt
static NativeUInt Or(ref NativeUInt address, NativeUInt value)
static func Or(_ address: inout NativeUInt, _ value: NativeUInt) -> NativeUInt
static NativeUInt Or(__ref NativeUInt address, NativeUInt value)
Shared Function Or(ByRef address As NativeUInt, value As NativeUInt) As NativeUInt
Parameters:
- address:
- value:
ReferenceEquals (declared in Object)
Compares two references for equivalence (even if they have an equals operator)
class method ReferenceEquals(a: Object; b: Object): Boolean
static Boolean ReferenceEquals(Object a, Object b)
static func ReferenceEquals(_ a: Object, _ b: Object) -> Boolean
static Boolean ReferenceEquals(Object a, Object b)
Shared Function ReferenceEquals(a As Object, b As Object) As Boolean
Parameters:
- a: left value
- b: right value
Undefined<T>
Returns an "undefined" value, used for optimization purposes.
class method Undefined<T>: T
static T Undefined<T>()
static func Undefined<T>() -> T
static T Undefined<T>()
Shared Function Undefined<T>() As T
VoidAsm
Inline assembly; this call is replaced by the AT&T syntax asm passed to this method.
class method VoidAsm(aAsm: String; aConstraints: String; aSideEffects: Boolean; aAlign: Boolean; params aArgs: array of Object)
static void VoidAsm(String aAsm, String aConstraints, Boolean aSideEffects, Boolean aAlign, params Object[] aArgs)
static func VoidAsm(_ aAsm: String, _ aConstraints: String, _ aSideEffects: Boolean, _ aAlign: Boolean, _ aArgs: Object...)
static void VoidAsm(String aAsm, String aConstraints, Boolean aSideEffects, Boolean aAlign, Object[]... aArgs)
Shared Sub VoidAsm(aAsm As String, aConstraints As String, aSideEffects As Boolean, aAlign As Boolean, ParamArray aArgs As Object())
Parameters:
- aAsm: The assembly to use; Note that $ has to be escaped with $ (so $$1 for decimal 1 in AT&T); $0 refers to the first parameter passed to aArgs, etc.
- aConstraints: A clang compatible constraint string
- aSideEffects: If true this asm block has side effects not visible in the constraint list
- aAlign: If true, the stack has to be aligned before entering this blcok
- aArgs: Argument array passed to asm.
Forces the compiler to read a value atomically.
class method VolatileRead(var address: Double; aAtomic: Boolean := true): Double
static Double VolatileRead(ref Double address, Boolean aAtomic = true)
static func VolatileRead(_ address: inout Double, _ aAtomic: Boolean = true) -> Double
static Double VolatileRead(__ref Double address, Boolean aAtomic)
Shared Function VolatileRead(ByRef address As Double, aAtomic As Boolean = true) As Double
Parameters:
- address: Address this value is stored at
- aAtomic:
Forces the compiler to read a value atomically.
class method VolatileRead(var address: Int16; aAtomic: Boolean := true): Int16
static Int16 VolatileRead(ref Int16 address, Boolean aAtomic = true)
static func VolatileRead(_ address: inout Int16, _ aAtomic: Boolean = true) -> Int16
static Int16 VolatileRead(__ref Int16 address, Boolean aAtomic)
Shared Function VolatileRead(ByRef address As Int16, aAtomic As Boolean = true) As Int16
Parameters:
- address: Address this value is stored at
- aAtomic:
Forces the compiler to read a value atomically.
class method VolatileRead(var address: Int32; aAtomic: Boolean := true): Int32
static Int32 VolatileRead(ref Int32 address, Boolean aAtomic = true)
static func VolatileRead(_ address: inout Int32, _ aAtomic: Boolean = true) -> Int32
static Int32 VolatileRead(__ref Int32 address, Boolean aAtomic)
Shared Function VolatileRead(ByRef address As Int32, aAtomic As Boolean = true) As Int32
Parameters:
- address: Address this value is stored at
- aAtomic:
Forces the compiler to read a value atomically.
class method VolatileRead(var address: Int64; aAtomic: Boolean := true): Int64
static Int64 VolatileRead(ref Int64 address, Boolean aAtomic = true)
static func VolatileRead(_ address: inout Int64, _ aAtomic: Boolean = true) -> Int64
static Int64 VolatileRead(__ref Int64 address, Boolean aAtomic)
Shared Function VolatileRead(ByRef address As Int64, aAtomic As Boolean = true) As Int64
Parameters:
- address: Address this value is stored at
- aAtomic:
Forces the compiler to read a value atomically.
class method VolatileRead(var address: SByte; aAtomic: Boolean := true): SByte
static SByte VolatileRead(ref SByte address, Boolean aAtomic = true)
static func VolatileRead(_ address: inout SByte, _ aAtomic: Boolean = true) -> SByte
static SByte VolatileRead(__ref SByte address, Boolean aAtomic)
Shared Function VolatileRead(ByRef address As SByte, aAtomic As Boolean = true) As SByte
Parameters:
- address: Address this value is stored at
- aAtomic:
Forces the compiler to read a value atomically.
class method VolatileRead(var address: NativeInt; aAtomic: Boolean := true): NativeInt
static NativeInt VolatileRead(ref NativeInt address, Boolean aAtomic = true)
static func VolatileRead(_ address: inout NativeInt, _ aAtomic: Boolean = true) -> NativeInt
static NativeInt VolatileRead(__ref NativeInt address, Boolean aAtomic)
Shared Function VolatileRead(ByRef address As NativeInt, aAtomic As Boolean = true) As NativeInt
Parameters:
- address: Address this value is stored at
- aAtomic:
VolatileRead (NativeUInt, Boolean): NativeUInt
Forces the compiler to read a value atomically.
class method VolatileRead(var address: NativeUInt; aAtomic: Boolean := true): NativeUInt
static NativeUInt VolatileRead(ref NativeUInt address, Boolean aAtomic = true)
static func VolatileRead(_ address: inout NativeUInt, _ aAtomic: Boolean = true) -> NativeUInt
static NativeUInt VolatileRead(__ref NativeUInt address, Boolean aAtomic)
Shared Function VolatileRead(ByRef address As NativeUInt, aAtomic As Boolean = true) As NativeUInt
Parameters:
- address: Address this value is stored at
- aAtomic:
Forces the compiler to read a value atomically.
class method VolatileRead(var address: Object; aAtomic: Boolean := true): Object
static Object VolatileRead(ref Object address, Boolean aAtomic = true)
static func VolatileRead(_ address: inout Object, _ aAtomic: Boolean = true) -> Object
static Object VolatileRead(__ref Object address, Boolean aAtomic)
Shared Function VolatileRead(ByRef address As Object, aAtomic As Boolean = true) As Object
Parameters:
- address: Address this value is stored at
- aAtomic:
Forces the compiler to read a value atomically.
class method VolatileRead(var address: Single; aAtomic: Boolean := true): Single
static Single VolatileRead(ref Single address, Boolean aAtomic = true)
static func VolatileRead(_ address: inout Single, _ aAtomic: Boolean = true) -> Single
static Single VolatileRead(__ref Single address, Boolean aAtomic)
Shared Function VolatileRead(ByRef address As Single, aAtomic As Boolean = true) As Single
Parameters:
- address: Address this value is stored at
- aAtomic:
Forces the compiler to read a value atomically.
class method VolatileRead(var address: UInt16; aAtomic: Boolean := true): UInt16
static UInt16 VolatileRead(ref UInt16 address, Boolean aAtomic = true)
static func VolatileRead(_ address: inout UInt16, _ aAtomic: Boolean = true) -> UInt16
static UInt16 VolatileRead(__ref UInt16 address, Boolean aAtomic)
Shared Function VolatileRead(ByRef address As UInt16, aAtomic As Boolean = true) As UInt16
Parameters:
- address: Address this value is stored at
- aAtomic:
Forces the compiler to read a value atomically.
class method VolatileRead(var address: UInt32; aAtomic: Boolean := true): UInt32
static UInt32 VolatileRead(ref UInt32 address, Boolean aAtomic = true)
static func VolatileRead(_ address: inout UInt32, _ aAtomic: Boolean = true) -> UInt32
static UInt32 VolatileRead(__ref UInt32 address, Boolean aAtomic)
Shared Function VolatileRead(ByRef address As UInt32, aAtomic As Boolean = true) As UInt32
Parameters:
- address: Address this value is stored at
- aAtomic:
Forces the compiler to read a value atomically.
class method VolatileRead(var address: UInt64; aAtomic: Boolean := true): UInt64
static UInt64 VolatileRead(ref UInt64 address, Boolean aAtomic = true)
static func VolatileRead(_ address: inout UInt64, _ aAtomic: Boolean = true) -> UInt64
static UInt64 VolatileRead(__ref UInt64 address, Boolean aAtomic)
Shared Function VolatileRead(ByRef address As UInt64, aAtomic As Boolean = true) As UInt64
Parameters:
- address: Address this value is stored at
- aAtomic:
Forces the compiler to read a value atomically.
class method VolatileRead(var address: Byte; aAtomic: Boolean := true): Byte
static Byte VolatileRead(ref Byte address, Boolean aAtomic = true)
static func VolatileRead(_ address: inout Byte, _ aAtomic: Boolean = true) -> Byte
static Byte VolatileRead(__ref Byte address, Boolean aAtomic)
Shared Function VolatileRead(ByRef address As Byte, aAtomic As Boolean = true) As Byte
Parameters:
- address: Address this value is stored at
- aAtomic:
class method VolatileWrite(var address: Double; value: Double; aAtomic: Boolean := true)
static void VolatileWrite(ref Double address, Double value, Boolean aAtomic = true)
static func VolatileWrite(_ address: inout Double, _ value: Double, _ aAtomic: Boolean = true)
static void VolatileWrite(__ref Double address, Double value, Boolean aAtomic)
Shared Sub VolatileWrite(ByRef address As Double, value As Double, aAtomic As Boolean = true)
Parameters:
- address:
- value:
- aAtomic:
class method VolatileWrite(var address: Int16; value: Int16; aAtomic: Boolean := true)
static void VolatileWrite(ref Int16 address, Int16 value, Boolean aAtomic = true)
static func VolatileWrite(_ address: inout Int16, _ value: Int16, _ aAtomic: Boolean = true)
static void VolatileWrite(__ref Int16 address, Int16 value, Boolean aAtomic)
Shared Sub VolatileWrite(ByRef address As Int16, value As Int16, aAtomic As Boolean = true)
Parameters:
- address:
- value:
- aAtomic:
class method VolatileWrite(var address: Int32; value: Int32; aAtomic: Boolean := true)
static void VolatileWrite(ref Int32 address, Int32 value, Boolean aAtomic = true)
static func VolatileWrite(_ address: inout Int32, _ value: Int32, _ aAtomic: Boolean = true)
static void VolatileWrite(__ref Int32 address, Int32 value, Boolean aAtomic)
Shared Sub VolatileWrite(ByRef address As Int32, value As Int32, aAtomic As Boolean = true)
Parameters:
- address:
- value:
- aAtomic:
class method VolatileWrite(var address: Int64; value: Int64; aAtomic: Boolean := true)
static void VolatileWrite(ref Int64 address, Int64 value, Boolean aAtomic = true)
static func VolatileWrite(_ address: inout Int64, _ value: Int64, _ aAtomic: Boolean = true)
static void VolatileWrite(__ref Int64 address, Int64 value, Boolean aAtomic)
Shared Sub VolatileWrite(ByRef address As Int64, value As Int64, aAtomic As Boolean = true)
Parameters:
- address:
- value:
- aAtomic:
class method VolatileWrite(var address: SByte; value: SByte; aAtomic: Boolean := true)
static void VolatileWrite(ref SByte address, SByte value, Boolean aAtomic = true)
static func VolatileWrite(_ address: inout SByte, _ value: SByte, _ aAtomic: Boolean = true)
static void VolatileWrite(__ref SByte address, SByte value, Boolean aAtomic)
Shared Sub VolatileWrite(ByRef address As SByte, value As SByte, aAtomic As Boolean = true)
Parameters:
- address:
- value:
- aAtomic:
class method VolatileWrite(var address: NativeInt; value: NativeInt; aAtomic: Boolean := true)
static void VolatileWrite(ref NativeInt address, NativeInt value, Boolean aAtomic = true)
static func VolatileWrite(_ address: inout NativeInt, _ value: NativeInt, _ aAtomic: Boolean = true)
static void VolatileWrite(__ref NativeInt address, NativeInt value, Boolean aAtomic)
Shared Sub VolatileWrite(ByRef address As NativeInt, value As NativeInt, aAtomic As Boolean = true)
Parameters:
- address:
- value:
- aAtomic:
VolatileWrite (NativeUInt, NativeUInt, Boolean)
class method VolatileWrite(var address: NativeUInt; value: NativeUInt; aAtomic: Boolean := true)
static void VolatileWrite(ref NativeUInt address, NativeUInt value, Boolean aAtomic = true)
static func VolatileWrite(_ address: inout NativeUInt, _ value: NativeUInt, _ aAtomic: Boolean = true)
static void VolatileWrite(__ref NativeUInt address, NativeUInt value, Boolean aAtomic)
Shared Sub VolatileWrite(ByRef address As NativeUInt, value As NativeUInt, aAtomic As Boolean = true)
Parameters:
- address:
- value:
- aAtomic:
class method VolatileWrite(var address: Object; value: Object; aAtomic: Boolean := true)
static void VolatileWrite(ref Object address, Object value, Boolean aAtomic = true)
static func VolatileWrite(_ address: inout Object, _ value: Object, _ aAtomic: Boolean = true)
static void VolatileWrite(__ref Object address, Object value, Boolean aAtomic)
Shared Sub VolatileWrite(ByRef address As Object, value As Object, aAtomic As Boolean = true)
Parameters:
- address:
- value:
- aAtomic:
class method VolatileWrite(var address: Single; value: Single; aAtomic: Boolean := true)
static void VolatileWrite(ref Single address, Single value, Boolean aAtomic = true)
static func VolatileWrite(_ address: inout Single, _ value: Single, _ aAtomic: Boolean = true)
static void VolatileWrite(__ref Single address, Single value, Boolean aAtomic)
Shared Sub VolatileWrite(ByRef address As Single, value As Single, aAtomic As Boolean = true)
Parameters:
- address:
- value:
- aAtomic:
class method VolatileWrite(var address: UInt16; value: UInt16; aAtomic: Boolean := true)
static void VolatileWrite(ref UInt16 address, UInt16 value, Boolean aAtomic = true)
static func VolatileWrite(_ address: inout UInt16, _ value: UInt16, _ aAtomic: Boolean = true)
static void VolatileWrite(__ref UInt16 address, UInt16 value, Boolean aAtomic)
Shared Sub VolatileWrite(ByRef address As UInt16, value As UInt16, aAtomic As Boolean = true)
Parameters:
- address:
- value:
- aAtomic:
class method VolatileWrite(var address: UInt32; value: UInt32; aAtomic: Boolean := true)
static void VolatileWrite(ref UInt32 address, UInt32 value, Boolean aAtomic = true)
static func VolatileWrite(_ address: inout UInt32, _ value: UInt32, _ aAtomic: Boolean = true)
static void VolatileWrite(__ref UInt32 address, UInt32 value, Boolean aAtomic)
Shared Sub VolatileWrite(ByRef address As UInt32, value As UInt32, aAtomic As Boolean = true)
Parameters:
- address:
- value:
- aAtomic:
class method VolatileWrite(var address: UInt64; value: UInt64; aAtomic: Boolean := true)
static void VolatileWrite(ref UInt64 address, UInt64 value, Boolean aAtomic = true)
static func VolatileWrite(_ address: inout UInt64, _ value: UInt64, _ aAtomic: Boolean = true)
static void VolatileWrite(__ref UInt64 address, UInt64 value, Boolean aAtomic)
Shared Sub VolatileWrite(ByRef address As UInt64, value As UInt64, aAtomic As Boolean = true)
Parameters:
- address:
- value:
- aAtomic:
class method VolatileWrite(var address: Byte; value: Byte; aAtomic: Boolean := true)
static void VolatileWrite(ref Byte address, Byte value, Boolean aAtomic = true)
static func VolatileWrite(_ address: inout Byte, _ value: Byte, _ aAtomic: Boolean = true)
static void VolatileWrite(__ref Byte address, Byte value, Boolean aAtomic)
Shared Sub VolatileWrite(ByRef address As Byte, value As Byte, aAtomic As Boolean = true)
Parameters:
- address:
- value:
- aAtomic:
Does an atomic XOr on an adress and a value; returns the original value.
class method Xor(var address: Int32; value: Int32): Int32
static Int32 Xor(ref Int32 address, Int32 value)
static func Xor(_ address: inout Int32, _ value: Int32) -> Int32
static Int32 Xor(__ref Int32 address, Int32 value)
Shared Function Xor(ByRef address As Int32, value As Int32) As Int32
Parameters:
- address:
- value:
Does an atomic XOr on an adress and a value; returns the original value.
class method Xor(var address: Int64; value: Int64): Int64
static Int64 Xor(ref Int64 address, Int64 value)
static func Xor(_ address: inout Int64, _ value: Int64) -> Int64
static Int64 Xor(__ref Int64 address, Int64 value)
Shared Function Xor(ByRef address As Int64, value As Int64) As Int64
Parameters:
- address:
- value:
Does an atomic XOr on an adress and a value; returns the original value.
class method Xor(var address: NativeInt; value: NativeInt): NativeInt
static NativeInt Xor(ref NativeInt address, NativeInt value)
static func Xor(_ address: inout NativeInt, _ value: NativeInt) -> NativeInt
static NativeInt Xor(__ref NativeInt address, NativeInt value)
Shared Function Xor(ByRef address As NativeInt, value As NativeInt) As NativeInt
Parameters:
- address:
- value:
Xor (NativeUInt, NativeUInt): NativeUInt
Does an atomic XOr on an adress and a value; returns the original value.
class method Xor(var address: NativeUInt; value: NativeUInt): NativeUInt
static NativeUInt Xor(ref NativeUInt address, NativeUInt value)
static func Xor(_ address: inout NativeUInt, _ value: NativeUInt) -> NativeUInt
static NativeUInt Xor(__ref NativeUInt address, NativeUInt value)
Shared Function Xor(ByRef address As NativeUInt, value As NativeUInt) As NativeUInt
Parameters:
- address:
- value:
constructor protected
constructor
InternalCalls()
init()
InternalCalls()
Sub New()
Equals virtual (declared in Object)
Default constructor.
method Equals(aOther: Object): Boolean
Boolean Equals(Object aOther)
func Equals(_ aOther: Object) -> Boolean
Boolean Equals(Object aOther)
Function Equals(aOther As Object) As Boolean
Parameters:
- aOther: the reference to compare this with.
Finalize protected virtual (declared in Object)
method Finalize
void Finalize()
func Finalize()
void Finalize()
Sub Finalize()
GetHashCode virtual (declared in Object)
Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.
method GetHashCode: Int32
Int32 GetHashCode()
func GetHashCode() -> Int32
Int32 GetHashCode()
Function GetHashCode() As Int32
GetType (declared in Object)
Returns the actual type of this class
method GetType: Type
Type GetType()
func GetType() -> Type
Type GetType()
Function GetType() As Type
ToString virtual (declared in Object)
Gets the string representation of this method.
method ToString: String
String ToString()
func ToString() -> String
String ToString()
Function ToString() As String