/src/usr.bin/nbperf/ |
nbperf.h | 1 /* $NetBSD: nbperf.h,v 1.5 2021/01/07 16:03:08 joerg Exp $ */ 36 struct nbperf { struct 50 void (*seed_hash)(struct nbperf *); 51 void (*print_hash)(struct nbperf *, const char *, const char *, const char *, 53 void (*compute_hash)(struct nbperf *, const void *, size_t, 58 int chm_compute(struct nbperf *); 59 int chm3_compute(struct nbperf *); 60 int bpz_compute(struct nbperf *);
|
nbperf.h | 1 /* $NetBSD: nbperf.h,v 1.5 2021/01/07 16:03:08 joerg Exp $ */ 36 struct nbperf { struct 50 void (*seed_hash)(struct nbperf *); 51 void (*print_hash)(struct nbperf *, const char *, const char *, const char *, 53 void (*compute_hash)(struct nbperf *, const void *, size_t, 58 int chm_compute(struct nbperf *); 59 int chm3_compute(struct nbperf *); 60 int bpz_compute(struct nbperf *);
|
nbperf.h | 1 /* $NetBSD: nbperf.h,v 1.5 2021/01/07 16:03:08 joerg Exp $ */ 36 struct nbperf { struct 50 void (*seed_hash)(struct nbperf *); 51 void (*print_hash)(struct nbperf *, const char *, const char *, const char *, 53 void (*compute_hash)(struct nbperf *, const void *, size_t, 58 int chm_compute(struct nbperf *); 59 int chm3_compute(struct nbperf *); 60 int bpz_compute(struct nbperf *);
|
nbperf.h | 1 /* $NetBSD: nbperf.h,v 1.5 2021/01/07 16:03:08 joerg Exp $ */ 36 struct nbperf { struct 50 void (*seed_hash)(struct nbperf *); 51 void (*print_hash)(struct nbperf *, const char *, const char *, const char *, 53 void (*compute_hash)(struct nbperf *, const void *, size_t, 58 int chm_compute(struct nbperf *); 59 int chm3_compute(struct nbperf *); 60 int bpz_compute(struct nbperf *);
|
nbperf.c | 1 /* $NetBSD: nbperf.c,v 1.9 2024/09/22 20:34:26 christos Exp $ */ 39 __RCSID("$NetBSD: nbperf.c,v 1.9 2024/09/22 20:34:26 christos Exp $"); 51 #include "nbperf.h" 70 mi_vector_hash_seed_hash(struct nbperf *nbperf) 74 nbperf->seed[0] = predictable_counter++; 76 nbperf->seed[0] = arc4random(); 80 mi_vector_hash_compute(struct nbperf *nbperf, const void *key, size_t keylen, 83 mi_vector_hash(key, keylen, nbperf->seed[0], hashes) 113 struct nbperf nbperf = { local in function:main [all...] |
nbperf.c | 1 /* $NetBSD: nbperf.c,v 1.9 2024/09/22 20:34:26 christos Exp $ */ 39 __RCSID("$NetBSD: nbperf.c,v 1.9 2024/09/22 20:34:26 christos Exp $"); 51 #include "nbperf.h" 70 mi_vector_hash_seed_hash(struct nbperf *nbperf) 74 nbperf->seed[0] = predictable_counter++; 76 nbperf->seed[0] = arc4random(); 80 mi_vector_hash_compute(struct nbperf *nbperf, const void *key, size_t keylen, 83 mi_vector_hash(key, keylen, nbperf->seed[0], hashes) 113 struct nbperf nbperf = { local in function:main [all...] |
nbperf.c | 1 /* $NetBSD: nbperf.c,v 1.9 2024/09/22 20:34:26 christos Exp $ */ 39 __RCSID("$NetBSD: nbperf.c,v 1.9 2024/09/22 20:34:26 christos Exp $"); 51 #include "nbperf.h" 70 mi_vector_hash_seed_hash(struct nbperf *nbperf) 74 nbperf->seed[0] = predictable_counter++; 76 nbperf->seed[0] = arc4random(); 80 mi_vector_hash_compute(struct nbperf *nbperf, const void *key, size_t keylen, 83 mi_vector_hash(key, keylen, nbperf->seed[0], hashes) 113 struct nbperf nbperf = { local in function:main [all...] |
nbperf.c | 1 /* $NetBSD: nbperf.c,v 1.9 2024/09/22 20:34:26 christos Exp $ */ 39 __RCSID("$NetBSD: nbperf.c,v 1.9 2024/09/22 20:34:26 christos Exp $"); 51 #include "nbperf.h" 70 mi_vector_hash_seed_hash(struct nbperf *nbperf) 74 nbperf->seed[0] = predictable_counter++; 76 nbperf->seed[0] = arc4random(); 80 mi_vector_hash_compute(struct nbperf *nbperf, const void *key, size_t keylen, 83 mi_vector_hash(key, keylen, nbperf->seed[0], hashes) 113 struct nbperf nbperf = { local in function:main [all...] |