PostgreSQL Source Code git master
|
Go to the source code of this file.
Macros | |
#define | ROTATE_HIGH_AND_LOW_32BITS(v) |
#define | oid_hash uint32_hash /* Remove me eventually */ |
Functions | |
uint32 | hash_bytes (const unsigned char *k, int keylen) |
uint64 | hash_bytes_extended (const unsigned char *k, int keylen, uint64 seed) |
uint32 | hash_bytes_uint32 (uint32 k) |
uint64 | hash_bytes_uint32_extended (uint32 k, uint64 seed) |
static Datum | hash_any (const unsigned char *k, int keylen) |
static Datum | hash_any_extended (const unsigned char *k, int keylen, uint64 seed) |
static Datum | hash_uint32 (uint32 k) |
static Datum | hash_uint32_extended (uint32 k, uint64 seed) |
uint32 | string_hash (const void *key, Size keysize) |
uint32 | tag_hash (const void *key, Size keysize) |
uint32 | uint32_hash (const void *key, Size keysize) |
static uint32 | hash_combine (uint32 a, uint32 b) |
static uint64 | hash_combine64 (uint64 a, uint64 b) |
static uint32 | murmurhash32 (uint32 data) |
static uint64 | murmurhash64 (uint64 data) |
#define oid_hash uint32_hash /* Remove me eventually */ |
#define ROTATE_HIGH_AND_LOW_32BITS | ( | v | ) |
|
inlinestatic |
Definition at line 31 of file hashfn.h.
References hash_bytes(), and UInt32GetDatum().
Referenced by bernoulli_nextsampletuple(), bms_hash_value(), ChooseTablespace(), citext_hash(), hash_ltree(), hash_numeric(), hashbpchar(), hashfloat4(), hashfloat8(), hashinet(), hashmacaddr(), hashmacaddr8(), hashname(), hashoidvector(), hashtext(), hashtid(), hashvarlena(), hstore_hash(), JsonbHashScalarValue(), lexeme_hash(), make_text_key(), namehashfast(), notification_hash(), sepgsql_avc_hash(), system_nextsampleblock(), uuid_hash(), and varstr_abbrev_convert().
Definition at line 37 of file hashfn.h.
References hash_bytes_extended(), and UInt64GetDatum().
Referenced by AppendJumble(), citext_hash_extended(), hash_ltree_extended(), hash_numeric_extended(), hashbpcharextended(), hashfloat4extended(), hashfloat8extended(), hashinetextended(), hashmacaddr8extended(), hashmacaddrextended(), hashnameextended(), hashoidvectorextended(), hashtextextended(), hashtidextended(), hashvarlenaextended(), hstore_hash_extended(), JsonbHashScalarValueExtended(), JumbleQuery(), k_hashes(), and uuid_hash_extended().
uint32 hash_bytes | ( | const unsigned char * | k, |
int | keylen | ||
) |
Definition at line 146 of file hashfn.c.
References a, b, len, mix, and UINT32_ALIGN_MASK.
Referenced by datum_image_hash(), hash_any(), hash_string_pointer(), json_unique_hash(), missing_hash(), string_hash(), and tag_hash().
Definition at line 372 of file hashfn.c.
References a, b, len, mix, and UINT32_ALIGN_MASK.
Referenced by hash_any_extended().
Definition at line 610 of file hashfn.c.
Referenced by hash_uint32(), hashagg_spill_tuple(), json_unique_hash(), and uint32_hash().
Definition at line 631 of file hashfn.c.
Referenced by bloom_add_value(), bloom_contains_value(), and hash_uint32_extended().
Definition at line 80 of file hashfn.h.
References a, b, and UINT64CONST.
Referenced by compute_partition_hash_value(), hash_resource_elem(), and satisfies_hash_partition().
Definition at line 43 of file hashfn.h.
References hash_bytes_uint32(), and UInt32GetDatum().
Referenced by hash_multirange(), hash_range(), hashbool(), hashchar(), hashcid(), hashdate(), hashenum(), hashint2(), hashint4(), hashint8(), hashoid(), hashRowType(), hashxid(), macaddr_abbrev_convert(), network_abbrev_convert(), timetz_hash(), uuid_abbrev_convert(), and varstr_abbrev_convert().
Definition at line 49 of file hashfn.h.
References hash_bytes_uint32_extended(), and UInt64GetDatum().
Referenced by hash_aclitem_extended(), hash_multirange_extended(), hash_range_extended(), hashboolextended(), hashcharextended(), hashcidextended(), hashdateextended(), hashenumextended(), hashint2extended(), hashint4extended(), hashint8extended(), hashoidextended(), hashxidextended(), and timetz_hash_extended().
Definition at line 92 of file hashfn.h.
References data.
Referenced by BuildTupleHashTable(), charhashfast(), hash_resource_elem(), int2hashfast(), int4hashfast(), MemoizeHash_hash(), and TupleHashTableHash_internal().
Definition at line 660 of file hashfn.c.
References hash_bytes(), sort-test::key, and Min.
Referenced by dshash_strhash(), and hash_create().
Definition at line 677 of file hashfn.c.
References hash_bytes(), and sort-test::key.
Referenced by dshash_memhash(), and hash_create().
Definition at line 688 of file hashfn.c.
References Assert, hash_bytes_uint32(), and sort-test::key.
Referenced by hash_create().