Module hash.fnv1a stdlib

hash.fnv1a
Version:
0.3.3
License:
MIT
Dependencies from vmod:
0
Imports:
0
Imported by:
3
Repository:
OS-specific
Show selected OS-specific symbols.
Backend-specific
Show selected Backend-specific symbols.

Dependencies defined in v.mod

This section is empty.

Imports

This section is empty.

Imported by

Aliases

This section is empty.

Constants

This section is empty.

Sum types

This section is empty.

Functions

#fn sum32

direct_array_accessinline
fn sum32(data []u8) u32

sum32 returns a fnv1a hash of the memory block, described by the dynamic byte array data.

#fn sum32_bytes

direct_array_accessinlineunsafe
fn sum32_bytes(data &u8, data_len int) u32

sum32_bytes returns a fnv1a hash of data_len bytes starting at the address in the given &byte pointer data.

#fn sum32_string

direct_array_accessinline
fn sum32_string(data string) u32

sum32 returns a fnv1a hash of the string, described by data

#fn sum32_struct[T]

direct_array_accessinline
fn sum32_struct[T](s &T) u32

sum32_bytes returns a fnv1a hash of the struct s.

#fn sum64

direct_array_accessinline
fn sum64(data []u8) u64

sum64 returns a fnv1a hash of the memory block, described by the dynamic byte array data.

#fn sum64_bytes

direct_array_accessinlineunsafe
fn sum64_bytes(data &u8, data_len int) u64

sum64_bytes returns a fnv1a hash of data_len bytes starting at the address in the given &byte pointer data.

#fn sum64_string

direct_array_accessinline
fn sum64_string(data string) u64

sum64 returns a fnv1a hash of the string, described by data

#fn sum64_struct[T]

direct_array_accessinline
fn sum64_struct[T](s &T) u64

sum64_bytes returns a fnv1a hash of the struct s.

Structs

This section is empty.

Interfaces

This section is empty.

Enums

This section is empty.