Ring1_Hash_toSz
Compute the int64_t
hash value.
Ring1_Result
Ring1_Hash_toSz_suffix
(
int64_t* result,
type value
)
The following table denotes the valid combinations of suffix and type
suffix |
type |
b |
bool |
u8 |
uint8_t |
u16 |
uint16_t |
u32 |
uint32_t |
u64 |
uint64_t |
s8 |
int8_t |
s16 |
int16_t |
s32 |
int32_t |
s64 |
int64_t |
sz |
size_t |
f32 |
float |
f64 |
double |
p |
void * |
Computes the int64_t
hash value of an type
value.
Parameter Variables
result
- A pointer to a
int64_t
variable. value
- An
type
value.
Return Values
Ring1_Result_Success
on success, Ring1_Result_Failure
on failure.
Post Conditions
If this function fails, then it sets the by-thread status variable.
This function fails if and only if result
is a null pointer.
*result
is assigned the hash value of value
on success.