|
Blender V4.3
|
#include "BLI_sys_types.h"Go to the source code of this file.
Classes | |
| struct | BLI_HashMurmur2A |
Functions | |
| void | BLI_hash_mm2a_init (BLI_HashMurmur2A *mm2, uint32_t seed) |
| void | BLI_hash_mm2a_add (BLI_HashMurmur2A *mm2, const unsigned char *data, size_t len) |
| void | BLI_hash_mm2a_add_int (BLI_HashMurmur2A *mm2, int data) |
| uint32_t | BLI_hash_mm2a_end (BLI_HashMurmur2A *mm2) |
| uint32_t | BLI_hash_mm2 (const unsigned char *data, size_t len, uint32_t seed) |
Non-incremental version, quicker for small keys.
Definition at line 100 of file hash_mm2a.cc.
References ATTR_FALLTHROUGH, len, MM2A_M, MM2A_MIX, MM2A_MIX_FINALIZE, and seed.
Referenced by BLI_ghashutil_inthash_p_murmur(), BLI_ghashutil_strhash_p_murmur(), BLI_ghashutil_uinthash_v4_murmur(), FrsMaterial_hash(), and blender::io::ply::PLYImportTest::import_and_check().
| void BLI_hash_mm2a_add | ( | BLI_HashMurmur2A * | mm2, |
| const unsigned char * | data, | ||
| size_t | len ) |
Definition at line 70 of file hash_mm2a.cc.
References BLI_HashMurmur2A::hash, len, MM2A_MIX, mm2a_mix_tail(), and BLI_HashMurmur2A::size.
Referenced by BLI_hash_mm2a_add_int(), GPUCodegen::generate_graphs(), blender::io::ply::PLYImportTest::import_and_check(), TEST(), TEST(), and TEST().
| void BLI_hash_mm2a_add_int | ( | BLI_HashMurmur2A * | mm2, |
| int | data ) |
Definition at line 85 of file hash_mm2a.cc.
References BLI_hash_mm2a_add().
Referenced by GPUCodegen::GPUCodegen(), and TEST().
| uint32_t BLI_hash_mm2a_end | ( | BLI_HashMurmur2A * | mm2 | ) |
Definition at line 90 of file hash_mm2a.cc.
References BLI_HashMurmur2A::hash, MM2A_MIX, MM2A_MIX_FINALIZE, BLI_HashMurmur2A::size, and BLI_HashMurmur2A::tail.
Referenced by GPUCodegen::generate_graphs(), blender::io::ply::PLYImportTest::import_and_check(), TEST(), TEST(), and TEST().
| void BLI_hash_mm2a_init | ( | BLI_HashMurmur2A * | mm2, |
| uint32_t | seed ) |
Definition at line 62 of file hash_mm2a.cc.
References BLI_HashMurmur2A::count, BLI_HashMurmur2A::hash, seed, BLI_HashMurmur2A::size, and BLI_HashMurmur2A::tail.
Referenced by GPUCodegen::GPUCodegen(), blender::io::ply::PLYImportTest::import_and_check(), TEST(), TEST(), and TEST().