#include <stdint.h>
#include "Distributor.h"
Go to the source code of this file.
Defines |
#define | CRUSH_HASH_RJENKINS1 0 |
#define | CRUSH_HASH_DEFAULT CRUSH_HASH_RJENKINS1 |
Functions |
const char * | crush_hash_name (int type) |
uint64_t | disthash (VDRIVE::Distributor *crush_dist, int64_t key1) |
uint64_t | disthash_2 (VDRIVE::Distributor *crush_dist, int64_t key1, int64_t key2) |
uint64_t | disthash_3 (VDRIVE::Distributor *crush_dist, int64_t key1, int64_t key2, int64_t key3) |
uint64_t | disthash_4 (VDRIVE::Distributor *crush_dist, int64_t key1, int64_t key2, int64_t key3, int64_t key4) |
uint64_t | disthash_5 (VDRIVE::Distributor *crush_dist, int64_t key1, int64_t key2, int64_t key3, int64_t key4, int64_t key5) |
Define Documentation
#define CRUSH_HASH_DEFAULT CRUSH_HASH_RJENKINS1 |
#define CRUSH_HASH_RJENKINS1 0 |
Function Documentation
const char* crush_hash_name |
( |
int |
type ) |
|
uint64_t disthash_3 |
( |
VDRIVE::Distributor * |
crush_dist, |
|
|
int64_t |
key1, |
|
|
int64_t |
key2, |
|
|
int64_t |
key3 |
|
) |
| |
uint64_t disthash_4 |
( |
VDRIVE::Distributor * |
crush_dist, |
|
|
int64_t |
key1, |
|
|
int64_t |
key2, |
|
|
int64_t |
key3, |
|
|
int64_t |
key4 |
|
) |
| |
uint64_t disthash_5 |
( |
VDRIVE::Distributor * |
crush_dist, |
|
|
int64_t |
key1, |
|
|
int64_t |
key2, |
|
|
int64_t |
key3, |
|
|
int64_t |
key4, |
|
|
int64_t |
key5 |
|
) |
| |