Home
last modified time | relevance | path

Searched refs:hashidx (Results 1 – 25 of 42) sorted by relevance

12

/dports/net/kamailio/kamailio-5.4.5/src/modules/db_text/
H A Ddbt_lib.c214 int hashidx; in dbt_db_del_table() local
219 hashidx = hash % DBT_CACHETBL_SIZE; in dbt_db_del_table()
224 _tbc = _dbt_cachetbl[hashidx].dtp; in dbt_db_del_table()
260 int hashidx; in dbt_db_get_table() local
268 hashidx = hash % DBT_CACHETBL_SIZE; in dbt_db_get_table()
273 _tbc = _dbt_cachetbl[hashidx].dtp; in dbt_db_get_table()
311 if(_dbt_cachetbl[hashidx].dtp) in dbt_db_get_table()
314 _dbt_cachetbl[hashidx].dtp = _tbc; in dbt_db_get_table()
323 int hashidx; in dbt_release_table() local
488 int hashidx; in dbt_db_get_temp_table() local
[all …]
/dports/net/kamailio/kamailio-5.4.5/src/modules/db_cassandra/
H A Ddbcassa_table.c421 tbc = dbcassa_tbl_htable[hashidx].dtp; in dbcassa_db_search_table()
443 int hashidx; in dbcassa_db_get_table() local
452 hashidx = hash % DBCASSA_TABLE_SIZE; in dbcassa_db_get_table()
456 tbc = dbcassa_tbl_htable[hashidx].dtp; in dbcassa_db_get_table()
489 new_tbc->hash = hashidx; in dbcassa_db_get_table()
493 tbc = dbcassa_tbl_htable[hashidx].dtp; in dbcassa_db_get_table()
513 dbcassa_tbl_htable[hashidx].dtp = new_tbc; in dbcassa_db_get_table()
535 unsigned int hashidx; in dbcassa_read_table_schemas() local
636 tbc->hash = hashidx; in dbcassa_read_table_schemas()
637 tbc->next = dbcassa_tbl_htable[hashidx].dtp; in dbcassa_read_table_schemas()
[all …]
/dports/archivers/xmill/xmill/XMill/
H A DPathDict.cpp165 unsigned long hashidx=ComputePathDictHashIdx(pathexpr); in FindOrCreateRootPath() local
166 PathDictNode *node=hashtable[hashidx]; in FindOrCreateRootPath()
194 node->nextsamehash=hashtable[hashidx]; in FindOrCreateRootPath()
195 hashtable[hashidx]=node; in FindOrCreateRootPath()
204 unsigned long hashidx=ComputePathDictHashIdx(parent,labelid); in FindOrCreatePath() local
205 PathDictNode *node=hashtable[hashidx]; in FindOrCreatePath()
235 node->nextsamehash=hashtable[hashidx]; in FindOrCreatePath()
236 hashtable[hashidx]=node; in FindOrCreatePath()
H A DPathTree.cpp288 unsigned long hashidx=ComputePathTreeHashIdx(curnode,labelid); in ExtendCurPath() local
296 node=pathtreehashtable[hashidx]; in ExtendCurPath()
332 node->nextsamehash=pathtreehashtable[hashidx]; in ExtendCurPath()
333 pathtreehashtable[hashidx]=node; in ExtendCurPath()
H A DEnumCompress.cpp101 unsigned hashidx=CalcHashIdx(str,len); in FindOrCreateEntry() local
102 EnumHashEntry **hashentryref=hashtable+hashidx; in FindOrCreateEntry()
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/ThirdParty/hime/src/
H A Dhime-tsa2d32.c224 int hashidx[TSIN_HASH_N]; in main() local
484 hashidx[i] = -1; in main()
508 if (hashidx[v] < 0) { in main()
509 hashidx[v] = i; in main()
513 if (hashidx[0] == -1) in main()
514 hashidx[0] = 0; in main()
518 if (hashidx[i] == -1) in main()
519 hashidx[i] = hashidx[i + 1]; in main()
523 if (hashidx[i] == -1) in main()
524 hashidx[i] = hashidx[i - 1]; in main()
[all …]
H A Dtsin-util.c26 int hashidx[TSIN_HASH_N]; variable
67 fread (&hashidx, 1, sizeof (hashidx), fr); in load_tsin_db0()
264 for (mid = hashidx[hashno]; mid < hashidx[hashno + 1]; mid++) { in save_phrase_to_db()
309 if (hashidx[hashno] > mid) in save_phrase_to_db()
310 hashidx[hashno] = mid; in save_phrase_to_db()
313 hashidx[hashno]++; in save_phrase_to_db()
317 fwrite (&hashidx, sizeof (hashidx), 1, fp_phidx); in save_phrase_to_db()
406 int top = hashidx[hashi]; in tsin_seek()
407 int bot = hashidx[hashi + 1]; in tsin_seek()
493 int top = hashidx[hashi]; in tsin_seek()
[all …]
H A Dtsin.h24 extern int hashidx[];
/dports/chinese/gcin-gtk3/gcin-2.9.0/
H A Dtsa2d32.cpp278 int hashidx[TSIN_HASH_N]; in main() local
605 hashidx[i]=-1; in main()
633 if (hashidx[v] < 0) { in main()
634 hashidx[v]=i; in main()
640 if (hashidx[0]==-1) in main()
641 hashidx[0]=0; in main()
645 if (hashidx[i]==-1) in main()
646 hashidx[i]=hashidx[i+1]; in main()
650 if (hashidx[i]==-1) in main()
651 hashidx[i]=hashidx[i-1]; in main()
[all …]
H A Dtsin-util.cpp90 rn=fread(&ptsin_hand->hashidx,1,sizeof(ptsin_hand->hashidx), fp_phidx); in load_tsin_db_ex()
392 for(mid=th->hashidx[hashno]; mid<th->hashidx[hashno+1]; mid++) { in save_phrase_to_db()
440 if (th->hashidx[hashno]>mid) in save_phrase_to_db()
441 th->hashidx[hashno]=mid; in save_phrase_to_db()
444 th->hashidx[hashno]++; in save_phrase_to_db()
448 fwrite(th->hashidx,sizeof(th->hashidx),1, th->fp_phidx); in save_phrase_to_db()
626 int top=th->hashidx[hashi]; in tsin_seek_ex()
627 int bot=th->hashidx[hashi+1]; in tsin_seek_ex()
756 int top=th->hashidx[hashi]; in tsin_seek_ex()
910 int top=th->hashidx[hashi]; in tsin_seek_en_1()
[all …]
H A Dtsin.h33 int hashidx[TSIN_HASH_N]; member
/dports/chinese/gcin/gcin-2.9.0/
H A Dtsa2d32.cpp278 int hashidx[TSIN_HASH_N]; in main() local
605 hashidx[i]=-1; in main()
633 if (hashidx[v] < 0) { in main()
634 hashidx[v]=i; in main()
640 if (hashidx[0]==-1) in main()
641 hashidx[0]=0; in main()
645 if (hashidx[i]==-1) in main()
646 hashidx[i]=hashidx[i+1]; in main()
650 if (hashidx[i]==-1) in main()
651 hashidx[i]=hashidx[i-1]; in main()
[all …]
H A Dtsin-util.cpp90 rn=fread(&ptsin_hand->hashidx,1,sizeof(ptsin_hand->hashidx), fp_phidx); in load_tsin_db_ex()
392 for(mid=th->hashidx[hashno]; mid<th->hashidx[hashno+1]; mid++) { in save_phrase_to_db()
440 if (th->hashidx[hashno]>mid) in save_phrase_to_db()
441 th->hashidx[hashno]=mid; in save_phrase_to_db()
444 th->hashidx[hashno]++; in save_phrase_to_db()
448 fwrite(th->hashidx,sizeof(th->hashidx),1, th->fp_phidx); in save_phrase_to_db()
626 int top=th->hashidx[hashi]; in tsin_seek_ex()
627 int bot=th->hashidx[hashi+1]; in tsin_seek_ex()
756 int top=th->hashidx[hashi]; in tsin_seek_ex()
910 int top=th->hashidx[hashi]; in tsin_seek_en_1()
[all …]
H A Dtsin.h33 int hashidx[TSIN_HASH_N]; member
/dports/chinese/gcin-qt5/gcin-2.9.0/
H A Dtsa2d32.cpp278 int hashidx[TSIN_HASH_N]; in main() local
605 hashidx[i]=-1; in main()
633 if (hashidx[v] < 0) { in main()
634 hashidx[v]=i; in main()
640 if (hashidx[0]==-1) in main()
641 hashidx[0]=0; in main()
645 if (hashidx[i]==-1) in main()
646 hashidx[i]=hashidx[i+1]; in main()
650 if (hashidx[i]==-1) in main()
651 hashidx[i]=hashidx[i-1]; in main()
[all …]
H A Dtsin-util.cpp90 rn=fread(&ptsin_hand->hashidx,1,sizeof(ptsin_hand->hashidx), fp_phidx); in load_tsin_db_ex()
392 for(mid=th->hashidx[hashno]; mid<th->hashidx[hashno+1]; mid++) { in save_phrase_to_db()
440 if (th->hashidx[hashno]>mid) in save_phrase_to_db()
441 th->hashidx[hashno]=mid; in save_phrase_to_db()
444 th->hashidx[hashno]++; in save_phrase_to_db()
448 fwrite(th->hashidx,sizeof(th->hashidx),1, th->fp_phidx); in save_phrase_to_db()
626 int top=th->hashidx[hashi]; in tsin_seek_ex()
627 int bot=th->hashidx[hashi+1]; in tsin_seek_ex()
756 int top=th->hashidx[hashi]; in tsin_seek_ex()
910 int top=th->hashidx[hashi]; in tsin_seek_en_1()
[all …]
H A Dtsin.h33 int hashidx[TSIN_HASH_N]; member
/dports/lang/nwcc/nwcc_0.8.3/cpp/
H A Dmacros.c111 int hashidx;
116 hashidx = *idx = hash_name(name, &len_);
119 hashidx = *idx;
128 for (m = macro_list_hash[hashidx]; m != NULL; m = m->next) {
260 int hashidx = hashkey;
262 if ((m = do_lookup_macro(name, slen, &prevm, &hashidx)) == NULL) {
269 macro_list_hash[hashidx] = macro_list_hash[hashidx]->next;
270 if (m == macro_list_hash_tail[hashidx]) {
272 macro_list_hash_tail[hashidx] = NULL;
276 if (m == macro_list_hash_tail[hashidx]) {
[all …]
/dports/graphics/opencv/opencv-4.5.3/modules/core/src/
H A Dmatrix_iterator.cpp311 SparseMatConstIterator::SparseMatConstIterator(const SparseMat* _m) : m((SparseMat*)_m), hashidx(0)… in SparseMatConstIterator()
323 hashidx = i; in SparseMatConstIterator()
341 size_t i = hashidx + 1, sz = hdr.hashtab.size(); in operator ++()
347 hashidx = i; in operator ++()
352 hashidx = sz; in operator ++()
/dports/devel/libthmap/thmap-8149b27/src/
H A Dthmap.c154 unsigned hashidx; // current hash index (block of bits) member
250 query->hashidx = 0; in hashval_init()
264 if (query->hashidx != i) { in hashval_getslot()
267 query->hashidx = i; in hashval_getslot()
288 if (__predict_true(query->hashidx == 0)) { in hashval_getl0slot()
/dports/misc/rump/buildrump.sh-b914579/src/sys/net/
H A Dif_llatbl.c200 uint32_t hashidx; in htable_link_entry() local
207 hashidx = llt->llt_hash(lle, llt->llt_hsize); in htable_link_entry()
208 lleh = &llt->lle_head[hashidx]; in htable_link_entry()
/dports/multimedia/handbrake/ffmpeg-4.4/libavcodec/
H A Dmotion_est.c1264 int hashidx= HASH(motion_fx,motion_fy, motion_bx, motion_by); in bidir_refine() local
1267 map[hashidx&255] = 1; in bidir_refine()
1315 if( !map[(hashidx+HASH(fx,fy,bx,by))&255]\ in bidir_refine()
1319 map[(hashidx+HASH(fx,fy,bx,by))&255] = 1;\ in bidir_refine()
1322 hashidx += HASH(fx,fy,bx,by);\ in bidir_refine()
1354 map[(hashidx+hash[i])&255] = 1; in bidir_refine()
1356 if(!map[(hashidx+hash[i])&255]){ in bidir_refine()
1358 map[(hashidx+hash[i])&255] = 1; in bidir_refine()
1361 hashidx += hash[i]; in bidir_refine()
/dports/emulators/vice/vice-3.5/src/lib/libffmpeg/libavcodec/
H A Dmotion_est.c1321 int hashidx= HASH(motion_fx,motion_fy, motion_bx, motion_by); in bidir_refine() local
1324 map[hashidx&255] = 1; in bidir_refine()
1372 if( !map[(hashidx+HASH(fx,fy,bx,by))&255]\ in bidir_refine()
1376 map[(hashidx+HASH(fx,fy,bx,by))&255] = 1;\ in bidir_refine()
1379 hashidx += HASH(fx,fy,bx,by);\ in bidir_refine()
1411 map[(hashidx+hash[i])&255] = 1; in bidir_refine()
1413 if(!map[(hashidx+hash[i])&255]){ in bidir_refine()
1415 map[(hashidx+hash[i])&255] = 1; in bidir_refine()
1418 hashidx += hash[i]; in bidir_refine()
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/libavcodec/
H A Dmotion_est.c1264 int hashidx= HASH(motion_fx,motion_fy, motion_bx, motion_by); in bidir_refine() local
1267 map[hashidx&255] = 1; in bidir_refine()
1315 if( !map[(hashidx+HASH(fx,fy,bx,by))&255]\ in bidir_refine()
1319 map[(hashidx+HASH(fx,fy,bx,by))&255] = 1;\ in bidir_refine()
1322 hashidx += HASH(fx,fy,bx,by);\ in bidir_refine()
1354 map[(hashidx+hash[i])&255] = 1; in bidir_refine()
1356 if(!map[(hashidx+hash[i])&255]){ in bidir_refine()
1358 map[(hashidx+hash[i])&255] = 1; in bidir_refine()
1361 hashidx += hash[i]; in bidir_refine()
/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/libavcodec/
H A Dmotion_est.c1264 int hashidx= HASH(motion_fx,motion_fy, motion_bx, motion_by); in bidir_refine() local
1267 map[hashidx&255] = 1; in bidir_refine()
1315 if( !map[(hashidx+HASH(fx,fy,bx,by))&255]\ in bidir_refine()
1319 map[(hashidx+HASH(fx,fy,bx,by))&255] = 1;\ in bidir_refine()
1322 hashidx += HASH(fx,fy,bx,by);\ in bidir_refine()
1354 map[(hashidx+hash[i])&255] = 1; in bidir_refine()
1356 if(!map[(hashidx+hash[i])&255]){ in bidir_refine()
1358 map[(hashidx+hash[i])&255] = 1; in bidir_refine()
1361 hashidx += hash[i]; in bidir_refine()

12