Combine a contiguous array of elements into a hash state.

Synopses

Declared in <absl/hash/hash.h>

Combine a contiguous array of elements into a hash state.

static
HashState
combine_contiguous(
    HashState hash_state,
    unsigned char const* first,
    size_t size);
template<typename T>
static
HashState
combine_contiguous(
    HashState state,
    T const* data,
    size_t size);

Return Value

The updated hash state.

Parameters

Name

Description

hash_state

The hash state to update.

first

A pointer to the first byte of the array.

size

The number of bytes in the array.

Created with MrDocs