Home
last modified time | relevance | path

Searched refs:hindex (Results 1 – 25 of 452) sorted by relevance

12345678910>>...19

/dports/mail/crm114/crm114-20100106-BlameMichelson.src/
H A Dcrm_osbf_maintenance.c383 hindex++; in crm_osbf_next_bindex()
385 hindex = 0; in crm_osbf_next_bindex()
386 return hindex; in crm_osbf_next_bindex()
408 hindex++; in crm_osbf_last_in_chain()
410 hindex = 0; in crm_osbf_last_in_chain()
418 hindex = crm_osbf_prev_bindex (header, hindex); in crm_osbf_last_in_chain()
431 hindex--; in crm_osbf_prev_bindex()
457 hindex--; in crm_osbf_first_in_chain()
480 hindex = crm_osbf_next_bindex (header, hindex); in crm_osbf_find_bucket()
553 distance = (bindex >= hindex) ? bindex - hindex : in crm_osbf_insert_bucket()
[all …]
H A Dcrm_osb_bayes.c214 if (hashes[hindex].hash == 0 && hashes[hindex].key == 0) in crm_expr_osb_bayes_learn()
236 hashes[hindex].value = hashes[hindex].value + sense; in crm_expr_osb_bayes_learn()
254 if (hashes[hindex].hash == 0 && hashes[hindex].key == 0) in crm_expr_osb_bayes_learn()
388 hindex); in crm_expr_osb_bayes_learn()
410 hindex++; in crm_expr_osb_bayes_learn()
411 if (hindex >= hfsize) hindex = 0; in crm_expr_osb_bayes_learn()
885 unsigned int hindex; in crm_expr_osb_bayes_classify() local
889 if (hashes[ifile][hindex].hash != h1 || hashes[ifile][hindex].key != 0) in crm_expr_osb_bayes_classify()
919 if (hindex == learns_index[ifile]) hindex++; in crm_expr_osb_bayes_classify()
920 if (hashes[ifile][hindex].hash != h1 || hashes[ifile][hindex].key != 0) in crm_expr_osb_bayes_classify()
[all …]
H A Dcrm_markovian.c476 if (hindex == 0) hindex = 1; in crm_expr_markov_learn()
478 hindex = hindex % hfsize; in crm_expr_markov_learn()
479 if (hindex == 0) hindex = 1; in crm_expr_markov_learn()
499 if (hindex == 0) hindex = 1; in crm_expr_markov_learn()
501 hindex = hindex % hfsize; in crm_expr_markov_learn()
502 if (hindex == 0) hindex = 1; in crm_expr_markov_learn()
565 hindex = hindex % hfsize; in crm_expr_markov_learn()
566 if (hindex == 0) hindex = 1; in crm_expr_markov_learn()
592 hindex = hindex % hfsize; in crm_expr_markov_learn()
593 if (hindex == 0) hindex = 1; in crm_expr_markov_learn()
[all …]
H A Dcssmerge.c193 long hindex; in main() local
198 hindex = hash % hfsize1; in main()
199 if (hindex == 0) hindex = 1; in main()
201 while ( h1[hindex].hash != 0 in main()
202 && ( h1[hindex].hash != hash in main()
203 || h1[hindex].key != key )) in main()
205 hindex++; in main()
206 if (hindex >= hfsize1) hindex = 1; in main()
227 h1[hindex].hash = hash; in main()
228 h1[hindex].key = key; in main()
[all …]
H A Dcrm_osb_winnow.c256 unsigned long hindex; in crm_expr_osb_winnow_learn() local
264 hindex = h1 % hfsize; in crm_expr_osb_winnow_learn()
279 while((!((hashes[hindex].hash==h1)&&(hashes[hindex].key==h2))) in crm_expr_osb_winnow_learn()
303 hindex = h1 % hfsize; in crm_expr_osb_winnow_learn()
332 hindex++; in crm_expr_osb_winnow_learn()
333 if (hindex >= hfsize) hindex = 0; in crm_expr_osb_winnow_learn()
350 hashes[hindex].hash = h1; in crm_expr_osb_winnow_learn()
354 hashes[hindex].value = hashes[hindex].value * sense; in crm_expr_osb_winnow_learn()
724 unsigned int hindex; in crm_expr_osb_winnow_classify() local
742 hindex = h1 % hashlens[k]; in crm_expr_osb_winnow_classify()
[all …]
/dports/sysutils/heirloom/heirloom-070715/spell/
H A Dhashcheck.c52 int32_t hindex[NI]; variable
93 fread((char *)hindex, sizeof (*hindex), NI, stdin); in main()
95 hindex[i] = ple32((char *)&hindex[i]); in main()
96 table = malloc(hindex[NI-1]*sizeof (*table)); in main()
97 fread((char *)table, sizeof (*table), hindex[NI-1], stdin); in main()
98 for (i = 0; i < hindex[NI-1]; i++) in main()
103 for (wp = hindex[i]; wp < hindex[i+1]; ) { in main()
104 if (wp == hindex[i] && bp == U) in main()
111 if (wp > hindex[i+1] || in main()
112 wp == hindex[i+1] && bp < U) in main()
H A Dhashlook.c44 int32_t hindex[NI]; variable
64 wp = &table[hindex[t]]; in hashlook()
65 tp = &table[hindex[t+1]]; in hashlook()
121 fread((char *)hindex, sizeof (*hindex), NI, f) != NI) in prime()
124 hindex[i] = ple32((char *)&hindex[i]); in prime()
125 if ((table = malloc((hindex[NI-1]+1) * sizeof (*table))) == 0 || in prime()
126 fread((char *)table, sizeof (*table), hindex[NI-1], f) != in prime()
127 hindex[NI-1]) in prime()
129 for (i = 0; i < hindex[NI-1]; i++) in prime()
H A Dspellin.c45 int32_t hindex[NI]; variable
114 hindex[++u] = wp; in main()
143 hindex[u] = wp; in main()
146 le32p(hindex[i], (char *)&hindex[i]); in main()
147 fwrite((char *)hindex, sizeof (*hindex), NI, stdout); in main()
157 (BYTE * ((float)wp * sizeof (*table) + sizeof (hindex)) / count)); in main()
/dports/math/dieharder/dieharder-3.31.1/libdieharder/
H A Dhistogram.c22 int i,j,hindex; in histogram() local
50 hindex = (int) (input[i]/binscale); in histogram()
52 if(hindex < 0) hindex = 0; in histogram()
53 if(hindex >= nbins) hindex = nbins-1; in histogram()
54 bin[hindex]++; in histogram()
55 if(bin[hindex] > binmax) binmax = bin[hindex]; in histogram()
/dports/net/freeswitch/freeswitch-1.10.3.-release/libs/freetdm/src/
H A Dftdm_state.c47 uint8_t hindex = 0; in _ftdm_channel_complete_state() local
102 hindex = (fchan->hindex == 0) ? (ftdm_array_len(fchan->history) - 1) : (fchan->hindex - 1); in _ftdm_channel_complete_state()
111 diff = fchan->history[hindex].end_time - fchan->history[hindex].time; in _ftdm_channel_complete_state()
188 uint8_t hindex = 0; in ftdm_channel_cancel_state() local
203 hindex = (fchan->hindex == 0) ? (ftdm_array_len(fchan->history) - 1) : (fchan->hindex - 1); in ftdm_channel_cancel_state()
204 diff = fchan->history[hindex].end_time - fchan->history[hindex].time; in ftdm_channel_cancel_state()
213 fchan->hindex = hindex; in ftdm_channel_cancel_state()
383 ftdmchan->history[ftdmchan->hindex].file = file; in ftdm_core_set_state()
390 ftdmchan->hindex++; in ftdm_core_set_state()
392 ftdmchan->hindex = 0; in ftdm_core_set_state()
[all …]
/dports/lang/clover/mesa-21.3.6/src/gallium/drivers/vc4/
H A Dvc4_cl.c62 uint32_t hindex; in vc4_gem_hindex() local
72 for (hindex = 0; hindex < cl_hindex_count; hindex++) { in vc4_gem_hindex()
73 if (current_handles[hindex] == bo->handle) { in vc4_gem_hindex()
74 bo->last_hindex = hindex; in vc4_gem_hindex()
75 return hindex; in vc4_gem_hindex()
91 bo->last_hindex = hindex; in vc4_gem_hindex()
92 return hindex; in vc4_gem_hindex()
/dports/graphics/libosmesa/mesa-21.3.6/src/gallium/drivers/vc4/
H A Dvc4_cl.c62 uint32_t hindex; in vc4_gem_hindex() local
72 for (hindex = 0; hindex < cl_hindex_count; hindex++) { in vc4_gem_hindex()
73 if (current_handles[hindex] == bo->handle) { in vc4_gem_hindex()
74 bo->last_hindex = hindex; in vc4_gem_hindex()
75 return hindex; in vc4_gem_hindex()
91 bo->last_hindex = hindex; in vc4_gem_hindex()
92 return hindex; in vc4_gem_hindex()
/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/gallium/drivers/vc4/
H A Dvc4_cl.c62 uint32_t hindex; in vc4_gem_hindex() local
72 for (hindex = 0; hindex < cl_hindex_count; hindex++) { in vc4_gem_hindex()
73 if (current_handles[hindex] == bo->handle) { in vc4_gem_hindex()
74 bo->last_hindex = hindex; in vc4_gem_hindex()
75 return hindex; in vc4_gem_hindex()
91 bo->last_hindex = hindex; in vc4_gem_hindex()
92 return hindex; in vc4_gem_hindex()
/dports/graphics/mesa-gallium-xa/mesa-21.3.6/src/gallium/drivers/vc4/
H A Dvc4_cl.c62 uint32_t hindex; in vc4_gem_hindex() local
72 for (hindex = 0; hindex < cl_hindex_count; hindex++) { in vc4_gem_hindex()
73 if (current_handles[hindex] == bo->handle) { in vc4_gem_hindex()
74 bo->last_hindex = hindex; in vc4_gem_hindex()
75 return hindex; in vc4_gem_hindex()
91 bo->last_hindex = hindex; in vc4_gem_hindex()
92 return hindex; in vc4_gem_hindex()
/dports/graphics/mesa-libs/mesa-21.3.6/src/gallium/drivers/vc4/
H A Dvc4_cl.c62 uint32_t hindex; in vc4_gem_hindex() local
72 for (hindex = 0; hindex < cl_hindex_count; hindex++) { in vc4_gem_hindex()
73 if (current_handles[hindex] == bo->handle) { in vc4_gem_hindex()
74 bo->last_hindex = hindex; in vc4_gem_hindex()
75 return hindex; in vc4_gem_hindex()
91 bo->last_hindex = hindex; in vc4_gem_hindex()
92 return hindex; in vc4_gem_hindex()
/dports/graphics/mesa-dri-gallium/mesa-21.3.6/src/gallium/drivers/vc4/
H A Dvc4_cl.c62 uint32_t hindex; in vc4_gem_hindex() local
72 for (hindex = 0; hindex < cl_hindex_count; hindex++) { in vc4_gem_hindex()
73 if (current_handles[hindex] == bo->handle) { in vc4_gem_hindex()
74 bo->last_hindex = hindex; in vc4_gem_hindex()
75 return hindex; in vc4_gem_hindex()
91 bo->last_hindex = hindex; in vc4_gem_hindex()
92 return hindex; in vc4_gem_hindex()
/dports/graphics/mesa-gallium-va/mesa-21.3.6/src/gallium/drivers/vc4/
H A Dvc4_cl.c62 uint32_t hindex; in vc4_gem_hindex() local
72 for (hindex = 0; hindex < cl_hindex_count; hindex++) { in vc4_gem_hindex()
73 if (current_handles[hindex] == bo->handle) { in vc4_gem_hindex()
74 bo->last_hindex = hindex; in vc4_gem_hindex()
75 return hindex; in vc4_gem_hindex()
91 bo->last_hindex = hindex; in vc4_gem_hindex()
92 return hindex; in vc4_gem_hindex()
/dports/graphics/mesa-gallium-vdpau/mesa-21.3.6/src/gallium/drivers/vc4/
H A Dvc4_cl.c62 uint32_t hindex; in vc4_gem_hindex() local
72 for (hindex = 0; hindex < cl_hindex_count; hindex++) { in vc4_gem_hindex()
73 if (current_handles[hindex] == bo->handle) { in vc4_gem_hindex()
74 bo->last_hindex = hindex; in vc4_gem_hindex()
75 return hindex; in vc4_gem_hindex()
91 bo->last_hindex = hindex; in vc4_gem_hindex()
92 return hindex; in vc4_gem_hindex()
/dports/graphics/mesa-devel/mesa-22.0-branchpoint-2059-ge8a63cf61ec/src/gallium/drivers/vc4/
H A Dvc4_cl.c62 uint32_t hindex; in vc4_gem_hindex() local
72 for (hindex = 0; hindex < cl_hindex_count; hindex++) { in vc4_gem_hindex()
73 if (current_handles[hindex] == bo->handle) { in vc4_gem_hindex()
74 bo->last_hindex = hindex; in vc4_gem_hindex()
75 return hindex; in vc4_gem_hindex()
91 bo->last_hindex = hindex; in vc4_gem_hindex()
92 return hindex; in vc4_gem_hindex()
/dports/graphics/mesa-dri-classic/mesa-20.2.3/src/gallium/drivers/vc4/
H A Dvc4_cl.c62 uint32_t hindex; in vc4_gem_hindex() local
72 for (hindex = 0; hindex < cl_hindex_count; hindex++) { in vc4_gem_hindex()
73 if (current_handles[hindex] == bo->handle) { in vc4_gem_hindex()
74 bo->last_hindex = hindex; in vc4_gem_hindex()
75 return hindex; in vc4_gem_hindex()
91 bo->last_hindex = hindex; in vc4_gem_hindex()
92 return hindex; in vc4_gem_hindex()
/dports/graphics/mesa-dri/mesa-21.3.6/src/gallium/drivers/vc4/
H A Dvc4_cl.c62 uint32_t hindex; in vc4_gem_hindex() local
72 for (hindex = 0; hindex < cl_hindex_count; hindex++) { in vc4_gem_hindex()
73 if (current_handles[hindex] == bo->handle) { in vc4_gem_hindex()
74 bo->last_hindex = hindex; in vc4_gem_hindex()
75 return hindex; in vc4_gem_hindex()
91 bo->last_hindex = hindex; in vc4_gem_hindex()
92 return hindex; in vc4_gem_hindex()
/dports/misc/vxl/vxl-3.3.2/v3p/dcmtk/dcmdata/include/
H A Ddchashdi.h95 : dict(NULL), hindex(0), iterating(OFFalse), iter() in DcmHashDictIterator()
104 : dict(NULL), hindex(0), iterating(OFFalse), iter() in dict()
109 : dict(i.dict), hindex(i.hindex), iterating(i.iterating), iter(i.iter) in DcmHashDictIterator()
114 { dict = i.dict; hindex = i.hindex;
119 { return (hindex == x.hindex) && (iter == x.iter); }
123 { return (hindex != hindex) || (iter != x.iter); }
153 int hindex; variable
/dports/x11-toolkits/blt/blt2.5/generic/
H A DbltHash.c176 size_t hindex; in StringFind() local
179 hindex = hval & tablePtr->mask; in StringFind()
234 size_t size, hindex; in StringCreate() local
237 hindex = hval & tablePtr->mask; in StringCreate()
381 size_t hindex; in OneWordFind() local
427 size_t hindex; in OneWordCreate() local
708 size_t hindex; in ArrayFind() local
711 hindex = hval & tablePtr->mask; in ArrayFind()
769 size_t size, hindex; in ArrayCreate() local
909 size_t hindex; in RebuildTable() local
[all …]
/dports/graphics/dcmtk/dcmtk-DCMTK-3.6.6/dcmdata/include/dcmtk/dcmdata/
H A Ddchashdi.h121 : dict(NULL), hindex(0), iterating(OFFalse), iter() in DcmHashDictIterator()
130 : dict(NULL), hindex(0), iterating(OFFalse), iter() in dict()
135 : dict(i.dict), hindex(i.hindex), iterating(i.iterating), iter(i.iter) in DcmHashDictIterator()
140 { dict = i.dict; hindex = i.hindex;
145 … { return iterating ? x.iterating && (hindex == x.hindex) && (iter == x.iter) : !x.iterating; }
180 int hindex; variable
/dports/x11/mlterm/mlterm-3.9.1/libind/
H A Dindian.c6 int result, index, lindex, hindex; in binsearch() local
21 hindex = sz; in binsearch()
24 index = (lindex + hindex) / 2; in binsearch()
29 if (result > 0) hindex = index; in binsearch()
32 if (lindex >= hindex) return NULL; in binsearch()

12345678910>>...19