Method GetOrCreatePartiallyUnsafeWithHashCode
GetOrCreatePartiallyUnsafeWithHashCode<TSubContext>(UInt32, Int64)
Creates a shared static data unsafely for the specified context and sub-context (usable from both C# and HPC#).
Declaration
public static SharedStatic<T> GetOrCreatePartiallyUnsafeWithHashCode<TSubContext>(uint alignment, long hashCode)Parameters
| Type | Name | Description | 
|---|---|---|
| UInt32 | alignment | The alignment (specified in bytes). | 
| Int64 | hashCode | The 64-bit hashcode for the shared-static. | 
Returns
| Type | Description | 
|---|---|
| SharedStatic<T> | A newly created or previously cached shared-static for the hashcodes provided. | 
Type Parameters
| Name | Description | 
|---|---|
| TSubContext | A type class that uniquely identifies this shared data within a sub-context of the primary context |