Method GetOrCreateUnsafe
GetOrCreateUnsafe(uint, long, long)
Creates a shared static data unsafely for the specified context and sub-context (usable from both C# and HPC#).
Declaration
public static SharedStatic<T> GetOrCreateUnsafe(uint alignment, long hashCode, long subHashCode)
Parameters
Type | Name | Description |
---|---|---|
uint | alignment | The alignment (specified in bytes). |
long | hashCode | The 64-bit hashcode for the shared-static. |
long | subHashCode | The 64-bit sub-hashcode for the shared-static. |
Returns
Type | Description |
---|---|
SharedStatic<T> | A newly created or previously cached shared-static for the hashcodes provided. |