Home
last modified time | relevance | path

Searched refs:hfreq (Results 1 – 4 of 4) sorted by relevance

/original-bsd/old/refer/inv/
H A Dinv6.c27 int *hfreq; local
31 hfreq = (int *) calloc (nhash, sizeof(*hfreq));
32 _assert (hfreq != NULL);
44 hfreq[hash]=ct;
48 hfreq[hash] = 0;
71 fwrite (hfreq, sizeof(*hfreq), nhash, fa);
/original-bsd/old/refer/refer/
H A Dglue1.c16 int *hfreq, hfrflg; variable
146 if (hfreq)
147 free(hfreq, maxhash, sizeof(*hfreq));
148 hfreq=0;
162 if (hfreq==0)
163 hfreq=(int *)zalloc(nhash, sizeof(*hfreq));
164 if (hfreq==NULL)
166 frtbl = fread(hfreq, sizeof(*hfreq), nhash, fa);
/original-bsd/old/refer/hunt/
H A Dhunt2.c13 extern int *hfreq, hfrflg, hcomp(), hexch();
38 …fprintf(stderr, "and frequencies are %d %d %d %d %d\n",hfreq[0],hfreq[1],hfreq[2],hfreq[3],hfreq[…
75 fprintf(stderr,"item %s hash %d hfreq %d\n",qitem[i], hh[i], hfreq[hh[i]]);
81 fprintf(stderr, "item hash %d frq %d\n", hh[i], hfreq[hh[i]]);
283 return (hfreq[hh[n1]]<=hfreq[hh[n2]]); in hcomp()
H A Dhunt1.c17 int *hfreq, hfrflg; variable
160 hfreq = (int *) calloc(nhash, sizeof(*hfreq));
161 _assert (hfreq != NULL);
162 frtbl = fread(hfreq, sizeof(*hfreq), nhash, fa);