HomeSort by: relevance | last modified time | path
    Searched refs:nbperf (Results 1 - 17 of 17) sorted by relevancy

  /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 *);
Makefile 3 PROG= nbperf
4 SRCS= nbperf.c
5 SRCS+= nbperf-bdz.c nbperf-chm.c nbperf-chm3.c
10 COPTS.nbperf-bdz.c+= ${CC_WNO_CALLOC_TRANSPOSED_ARGS}
11 COPTS.nbperf-chm.c+= ${CC_WNO_CALLOC_TRANSPOSED_ARGS}
12 COPTS.nbperf-chm3.c+= ${CC_WNO_CALLOC_TRANSPOSED_ARGS}
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)
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->hash_name)
    [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-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)
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->output
    [all...]
graph2.c 47 #include "nbperf.h"
77 static struct nbperf *sorting_nbperf;
105 SIZED2(_check_duplicates)(struct nbperf *nbperf, struct SIZED(graph) *graph)
115 sorting_nbperf = nbperf;
130 nbperf->has_duplicates = 1;
176 SIZED2(_hash)(struct nbperf *nbperf, struct SIZED(graph) *graph)
183 if (nbperf->allow_hash_fudging && (graph->v & 1) != 0)
186 if (nbperf->allow_hash_fudging && (graph->v & 3) != 0
    [all...]
graph2.h 87 int SIZED2(_hash)(struct nbperf *, struct SIZED(graph) *);
  /src/tools/nbperf/
Makefile 4 HOST_SRCDIR= usr.bin/nbperf
  /src/tests/usr.bin/nbperf/
h_nbperf.sh 30 head -n $4 $1 | nbperf -m hash.map -o hash.c -a $2 2> /dev/null
Makefile 7 TESTSDIR= ${TESTSBASE}/usr.bin/nbperf
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
  /src/lib/libterminfo/
genthash 33 : ${TOOL_NBPERF:=nbperf}
genhash 37 : ${TOOL_NBPERF:=nbperf}
  /src/tests/usr.bin/
Makefile 10 infocmp jot ld locale m4 make mixerctl mkdep mtree nbperf \
  /src/usr.bin/
Makefile 22 nbperf nc netgroup netstat newgrp newsyslog nfsstat nice nl nohup \
  /src/tools/
Makefile 105 makewhatis mtree nbperf .WAIT uudecode
  /src/share/mk/
bsd.own.mk 685 TOOL_NBPERF= nbperf

Completed in 40 milliseconds