/netbsd-current/usr.bin/nbperf/ |
H A D | 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 *);
|
H A D | Makefile | 3 PROG= nbperf 4 SRCS= nbperf.c 5 SRCS+= nbperf-bdz.c nbperf-chm.c nbperf-chm3.c
|
H A D | nbperf-chm.c | 1 /* $NetBSD: nbperf-chm.c,v 1.5 2021/01/26 21:25:55 joerg Exp $ */ 38 __RCSID("$NetBSD: nbperf-chm.c,v 1.5 2021/01/26 21:25:55 joerg Exp $"); 46 #include "nbperf.h" 147 print_hash(struct nbperf *nbperf, struct state *state) argument 153 fprintf(nbperf->output, "#include <stdlib.h>\n\n"); 155 fprintf(nbperf->output, "%suint32_t\n", 156 nbperf->static_hash ? "static " : ""); 157 fprintf(nbperf->output, 159 nbperf 227 chm3_compute(struct nbperf *nbperf) argument [all...] |
H A D | nbperf.c | 1 /* $NetBSD: nbperf.c,v 1.8 2024/02/02 22:33:42 andvar Exp $ */ 39 __RCSID("$NetBSD: nbperf.c,v 1.8 2024/02/02 22:33:42 andvar Exp $"); 51 #include "nbperf.h" 70 mi_vector_hash_seed_hash(struct nbperf *nbperf) argument 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, argument 83 mi_vector_hash(key, keylen, nbperf 87 mi_vector_hash_print_hash(struct nbperf *nbperf, const char *indent, const char *key, const char *keylen, const char *hash) argument 96 set_hash(struct nbperf *nbperf, const char *arg) argument 113 struct nbperf nbperf = { local [all...] |
H A D | nbperf-bdz.c | 1 /* $NetBSD: nbperf-bdz.c,v 1.12 2023/07/31 21:07:50 andvar Exp $ */ 39 __RCSID("$NetBSD: nbperf-bdz.c,v 1.12 2023/07/31 21:07:50 andvar Exp $"); 47 #include "nbperf.h" 138 print_hash(struct nbperf *nbperf, struct state *state) argument 143 fprintf(nbperf->output, "#include <stdlib.h>\n"); 144 fprintf(nbperf->output, "#include <strings.h>\n\n"); 146 fprintf(nbperf->output, "%suint32_t\n", 147 nbperf->static_hash ? "static " : ""); 148 fprintf(nbperf 267 bpz_compute(struct nbperf *nbperf) argument [all...] |
H A D | graph2.c | 47 #include "nbperf.h" 77 static struct nbperf *sorting_nbperf; 105 SIZED2(_check_duplicates)(struct nbperf *nbperf, struct SIZED(graph) *graph) argument 115 sorting_nbperf = nbperf; 130 nbperf->has_duplicates = 1; 176 SIZED2(_hash)(struct nbperf *nbperf, struct SIZED(graph) *graph) argument 183 if (nbperf->allow_hash_fudging && (graph->v & 1) != 0) 186 if (nbperf [all...] |
H A D | graph2.h | 87 int SIZED2(_hash)(struct nbperf *, struct SIZED(graph) *);
|
/netbsd-current/tools/nbperf/ |
H A D | Makefile | 4 HOST_SRCDIR= usr.bin/nbperf
|
/netbsd-current/tests/usr.bin/nbperf/ |
H A D | h_nbperf.sh | 30 head -n $4 $1 | nbperf -m hash.map -o hash.c -a $2 2> /dev/null
|
H A D | Makefile | 7 TESTSDIR= ${TESTSBASE}/usr.bin/nbperf
|
H A D | t_nbperf.sh | 195 atf_check -s exit:1 -e match:"nbperf: Duplicate keys detected" \ 196 nbperf -a chm < reference.txt 197 atf_check -s exit:1 -e match:"nbperf: Duplicate keys detected" \ 198 nbperf -a chm3 < reference.txt 199 atf_check -s exit:1 -e match:"nbperf: Duplicate keys detected" \ 200 nbperf -a bpz < reference.txt
|
/netbsd-current/lib/libterminfo/ |
H A D | genthash | 33 : ${TOOL_NBPERF:=nbperf}
|
H A D | genhash | 37 : ${TOOL_NBPERF:=nbperf}
|
/netbsd-current/tests/usr.bin/ |
H A D | Makefile | 10 infocmp jot ld locale m4 make mixerctl mkdep mtree nbperf \
|
/netbsd-current/usr.bin/ |
H A D | Makefile | 22 nbperf nc netgroup netstat newgrp newsyslog nfsstat nice nl nohup \
|
/netbsd-current/tools/ |
H A D | Makefile | 105 makewhatis mtree nbperf .WAIT uudecode
|
/netbsd-current/share/mk/ |
H A D | bsd.own.mk | 634 TOOL_NBPERF= nbperf
|