Home
last modified time | relevance | path

Searched refs:index_num (Results 1 – 25 of 395) sorted by relevance

12345678910>>...16

/dports/math/faiss/faiss-1.7.1/demos/
H A Ddemo_weighted_kmeans.cpp33 WeightedKMeansType index_num) { in weighted_kmeans_clustering() argument
40 switch (index_num) { in weighted_kmeans_clustering()
131 for (int index_num = WKMT_FlatL2; index_num <= WKMT_HNSW; index_num++) { in main() local
132 if (the_index_num >= 0 && index_num != the_index_num) { in main()
142 index_num, in main()
152 (WeightedKMeansType)index_num); in main()
/dports/devel/binutils/binutils-2.37/binutils/
H A Delfcomm.c381 unsigned char integer_buffer[sizeof arch->index_num]; in process_archive_index_and_symbols()
401 arch->index_num = byte_get_big_endian (integer_buffer, sizeof_ar_index); in process_archive_index_and_symbols()
404 if (size < arch->index_num * sizeof_ar_index in process_archive_index_and_symbols()
406 || size < arch->index_num) in process_archive_index_and_symbols()
409 arch->file_name, (long) arch->index_num, sizeof_ar_index, size); in process_archive_index_and_symbols()
415 malloc (arch->index_num * sizeof_ar_index); in process_archive_index_and_symbols()
423 if (got != arch->index_num) in process_archive_index_and_symbols()
430 size -= arch->index_num * sizeof_ar_index; in process_archive_index_and_symbols()
434 malloc (arch->index_num * sizeof (* arch->index_array)); in process_archive_index_and_symbols()
442 for (i = 0; i < arch->index_num; i++) in process_archive_index_and_symbols()
[all …]
/dports/devel/arm-elf-binutils/binutils-2.37/binutils/
H A Delfcomm.c381 unsigned char integer_buffer[sizeof arch->index_num]; in process_archive_index_and_symbols()
401 arch->index_num = byte_get_big_endian (integer_buffer, sizeof_ar_index); in process_archive_index_and_symbols()
404 if (size < arch->index_num * sizeof_ar_index in process_archive_index_and_symbols()
406 || size < arch->index_num) in process_archive_index_and_symbols()
409 arch->file_name, (long) arch->index_num, sizeof_ar_index, size); in process_archive_index_and_symbols()
415 malloc (arch->index_num * sizeof_ar_index); in process_archive_index_and_symbols()
423 if (got != arch->index_num) in process_archive_index_and_symbols()
430 size -= arch->index_num * sizeof_ar_index; in process_archive_index_and_symbols()
434 malloc (arch->index_num * sizeof (* arch->index_array)); in process_archive_index_and_symbols()
442 for (i = 0; i < arch->index_num; i++) in process_archive_index_and_symbols()
[all …]
/dports/devel/gnulibiberty/binutils-2.37/binutils/
H A Delfcomm.c381 unsigned char integer_buffer[sizeof arch->index_num]; in process_archive_index_and_symbols()
401 arch->index_num = byte_get_big_endian (integer_buffer, sizeof_ar_index); in process_archive_index_and_symbols()
404 if (size < arch->index_num * sizeof_ar_index in process_archive_index_and_symbols()
406 || size < arch->index_num) in process_archive_index_and_symbols()
409 arch->file_name, (long) arch->index_num, sizeof_ar_index, size); in process_archive_index_and_symbols()
415 malloc (arch->index_num * sizeof_ar_index); in process_archive_index_and_symbols()
423 if (got != arch->index_num) in process_archive_index_and_symbols()
430 size -= arch->index_num * sizeof_ar_index; in process_archive_index_and_symbols()
434 malloc (arch->index_num * sizeof (* arch->index_array)); in process_archive_index_and_symbols()
442 for (i = 0; i < arch->index_num; i++) in process_archive_index_and_symbols()
[all …]
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/ebooks/mobi/writer8/
H A Dindex.py142 for i, (index_num, tags) in enumerate(self.entries):
145 index_num = (index_num.encode('utf-8') if isinstance(index_num, str) else index_num)
146 raw = bytearray(index_num)
147 raw.insert(0, len(index_num))
177 last_indices[-1] = index_num
/dports/science/InsightToolkit/ITK-5.0.1/Modules/ThirdParty/HDF5/src/itkhdf5/src/
H A DH5SMtest.c92 ssize_t index_num; /* Table index for message type */ in H5SM__get_mesg_count_test() local
102 if((index_num = H5SM_get_index(table, type_id)) < 0) in H5SM__get_mesg_count_test()
104 header = &(table->indexes[index_num]); in H5SM__get_mesg_count_test()
H A DH5SM.c413 ssize_t index_num; /* Which index */ in H5SM_get_fheap_addr() local
430 if((index_num = H5SM_get_index(table, type_id)) < 0) in H5SM_get_fheap_addr()
434 *fheap_addr = table->indexes[index_num].heap_addr; in H5SM_get_fheap_addr()
929 ssize_t index_num; in H5SM_can_share() local
971 *sohm_index_num = index_num; in H5SM_can_share()
1049 ssize_t index_num; in H5SM_try_share() local
1539 ssize_t index_num; in H5SM_delete() local
1563 if((index_num = H5SM_get_index(table, type_id)) < 0) in H5SM_delete()
2188 header = &(table->indexes[index_num]); in H5SM_get_refcount()
2656 index_num = table->num_indexes; in H5SM_list_debug()
[all …]
/dports/science/hdf5/hdf5-1.10.6/src/
H A DH5SMtest.c92 ssize_t index_num; /* Table index for message type */ in H5SM__get_mesg_count_test() local
102 if((index_num = H5SM_get_index(table, type_id)) < 0) in H5SM__get_mesg_count_test()
104 header = &(table->indexes[index_num]); in H5SM__get_mesg_count_test()
H A DH5SM.c413 ssize_t index_num; /* Which index */ in H5SM_get_fheap_addr() local
430 if((index_num = H5SM_get_index(table, type_id)) < 0) in H5SM_get_fheap_addr()
434 *fheap_addr = table->indexes[index_num].heap_addr; in H5SM_get_fheap_addr()
929 ssize_t index_num; in H5SM_can_share() local
971 *sohm_index_num = index_num; in H5SM_can_share()
1049 ssize_t index_num; in H5SM_try_share() local
1539 ssize_t index_num; in H5SM_delete() local
1563 if((index_num = H5SM_get_index(table, type_id)) < 0) in H5SM_delete()
2188 header = &(table->indexes[index_num]); in H5SM_get_refcount()
2656 index_num = table->num_indexes; in H5SM_list_debug()
[all …]
/dports/math/vtk9/VTK-9.1.0/ThirdParty/hdf5/vtkhdf5/src/
H A DH5SMtest.c83 ssize_t index_num; /* Table index for message type */ in H5SM__get_mesg_count_test() local
94 if ((index_num = H5SM__get_index(table, type_id)) < 0) in H5SM__get_mesg_count_test()
96 header = &(table->indexes[index_num]); in H5SM__get_mesg_count_test()
/dports/lang/gnatdroid-binutils-x86/binutils-2.27/binutils/
H A Delfcomm.c490 unsigned char integer_buffer[sizeof arch->index_num]; in process_archive_index_and_symbols()
510 arch->index_num = byte_get_big_endian (integer_buffer, sizeof_ar_index); in process_archive_index_and_symbols()
513 if (size < arch->index_num * sizeof_ar_index in process_archive_index_and_symbols()
515 || size < arch->index_num) in process_archive_index_and_symbols()
518 arch->file_name, (long) arch->index_num, sizeof_ar_index, size); in process_archive_index_and_symbols()
524 malloc (arch->index_num * sizeof_ar_index); in process_archive_index_and_symbols()
532 if (got != arch->index_num) in process_archive_index_and_symbols()
539 size -= arch->index_num * sizeof_ar_index; in process_archive_index_and_symbols()
543 malloc (arch->index_num * sizeof (* arch->index_array)); in process_archive_index_and_symbols()
551 for (i = 0; i < arch->index_num; i++) in process_archive_index_and_symbols()
[all …]
/dports/lang/gnatdroid-binutils/binutils-2.27/binutils/
H A Delfcomm.c490 unsigned char integer_buffer[sizeof arch->index_num]; in process_archive_index_and_symbols()
510 arch->index_num = byte_get_big_endian (integer_buffer, sizeof_ar_index); in process_archive_index_and_symbols()
513 if (size < arch->index_num * sizeof_ar_index in process_archive_index_and_symbols()
515 || size < arch->index_num) in process_archive_index_and_symbols()
518 arch->file_name, (long) arch->index_num, sizeof_ar_index, size); in process_archive_index_and_symbols()
524 malloc (arch->index_num * sizeof_ar_index); in process_archive_index_and_symbols()
532 if (got != arch->index_num) in process_archive_index_and_symbols()
539 size -= arch->index_num * sizeof_ar_index; in process_archive_index_and_symbols()
543 malloc (arch->index_num * sizeof (* arch->index_array)); in process_archive_index_and_symbols()
551 for (i = 0; i < arch->index_num; i++) in process_archive_index_and_symbols()
[all …]
/dports/lang/sdcc/sdcc-4.0.0/support/sdbinutils/binutils/
H A Delfcomm.c502 unsigned char integer_buffer[sizeof arch->index_num]; in process_archive_index_and_symbols()
522 arch->index_num = byte_get_big_endian (integer_buffer, sizeof_ar_index); in process_archive_index_and_symbols()
525 if (size < arch->index_num * sizeof_ar_index in process_archive_index_and_symbols()
527 || size < arch->index_num) in process_archive_index_and_symbols()
530 arch->file_name, (long) arch->index_num, sizeof_ar_index, size); in process_archive_index_and_symbols()
536 malloc (arch->index_num * sizeof_ar_index); in process_archive_index_and_symbols()
544 if (got != arch->index_num) in process_archive_index_and_symbols()
551 size -= arch->index_num * sizeof_ar_index; in process_archive_index_and_symbols()
555 malloc (arch->index_num * sizeof (* arch->index_array)); in process_archive_index_and_symbols()
563 for (i = 0; i < arch->index_num; i++) in process_archive_index_and_symbols()
[all …]
/dports/science/hdf5-18/hdf5-1.8.21/src/
H A DH5SMtest.c93 ssize_t index_num; /* Table index for message type */ in H5SM_get_mesg_count_test() local
103 if((index_num = H5SM_get_index(table, type_id)) < 0) in H5SM_get_mesg_count_test()
105 header = &(table->indexes[index_num]); in H5SM_get_mesg_count_test()
H A DH5Pfcpl.c759 H5Pset_shared_mesg_index(hid_t plist_id, unsigned index_num, unsigned mesg_type_flags, unsigned min… in H5Pset_shared_mesg_index() argument
768 H5TRACE4("e", "iIuIuIu", plist_id, index_num, mesg_type_flags, min_mesg_size); in H5Pset_shared_mesg_index()
783 if(index_num >= nindexes) in H5Pset_shared_mesg_index()
793 type_flags[index_num] = mesg_type_flags; in H5Pset_shared_mesg_index()
794 minsizes[index_num] = min_mesg_size; in H5Pset_shared_mesg_index()
822 H5Pget_shared_mesg_index(hid_t plist_id, unsigned index_num, unsigned *mesg_type_flags, unsigned *m… in H5Pget_shared_mesg_index() argument
831 H5TRACE4("e", "iIu*Iu*Iu", plist_id, index_num, mesg_type_flags, in H5Pget_shared_mesg_index()
842 if(index_num >= nindexes) in H5Pget_shared_mesg_index()
853 *mesg_type_flags = type_flags[index_num]; in H5Pget_shared_mesg_index()
855 *min_mesg_size = minsizes[index_num]; in H5Pget_shared_mesg_index()
/dports/math/vtk6/VTK-6.2.0/ThirdParty/hdf5/vtkhdf5/src/
H A DH5SMtest.c95 ssize_t index_num; /* Table index for message type */ in H5SM_get_mesg_count_test() local
105 if((index_num = H5SM_get_index(table, type_id)) < 0) in H5SM_get_mesg_count_test()
107 header = &(table->indexes[index_num]); in H5SM_get_mesg_count_test()
H A DH5Pfcpl.c752 H5Pset_shared_mesg_index(hid_t plist_id, unsigned index_num, unsigned mesg_type_flags, unsigned min… in H5Pset_shared_mesg_index() argument
761 H5TRACE4("e", "iIuIuIu", plist_id, index_num, mesg_type_flags, min_mesg_size); in H5Pset_shared_mesg_index()
776 if(index_num >= nindexes) in H5Pset_shared_mesg_index()
786 type_flags[index_num] = mesg_type_flags; in H5Pset_shared_mesg_index()
787 minsizes[index_num] = min_mesg_size; in H5Pset_shared_mesg_index()
815 H5Pget_shared_mesg_index(hid_t plist_id, unsigned index_num, unsigned *mesg_type_flags, unsigned *m… in H5Pget_shared_mesg_index() argument
824 H5TRACE4("e", "iIu*Iu*Iu", plist_id, index_num, mesg_type_flags, in H5Pget_shared_mesg_index()
835 if(index_num >= nindexes) in H5Pget_shared_mesg_index()
846 *mesg_type_flags = type_flags[index_num]; in H5Pget_shared_mesg_index()
848 *min_mesg_size = minsizes[index_num]; in H5Pget_shared_mesg_index()
/dports/math/vtk8/VTK-8.2.0/ThirdParty/hdf5/vtkhdf5/src/
H A DH5SMtest.c93 ssize_t index_num; /* Table index for message type */ in H5SM_get_mesg_count_test() local
103 if((index_num = H5SM_get_index(table, type_id)) < 0) in H5SM_get_mesg_count_test()
105 header = &(table->indexes[index_num]); in H5SM_get_mesg_count_test()
H A DH5SM.c420 ssize_t index_num; /* Which index */ in H5SM_get_fheap_addr() local
437 if((index_num = H5SM_get_index(table, type_id)) < 0) in H5SM_get_fheap_addr()
441 *fheap_addr = table->indexes[index_num].heap_addr; in H5SM_get_fheap_addr()
938 ssize_t index_num; in H5SM_can_share() local
980 *sohm_index_num = index_num; in H5SM_can_share()
1058 ssize_t index_num; in H5SM_try_share() local
1551 ssize_t index_num; in H5SM_delete() local
1574 if((index_num = H5SM_get_index(table, type_id)) < 0) in H5SM_delete()
2199 header = &(table->indexes[index_num]); in H5SM_get_refcount()
2670 index_num = table->num_indexes; in H5SM_list_debug()
[all …]
/dports/math/py-numpy/numpy-1.20.3/numpy/core/src/multiarray/
H A Dmapping.c886 for (i=0; i < index_num; i++) { in get_item_pointer()
927 for (i=0; i < index_num; i++) { in get_view_from_index()
1511 int index_num; in array_subscript() local
1716 for (i=0; i < index_num; i++) { in array_subscript()
1789 int index_num; in array_assign_subscript() local
2060 for (i=0; i < index_num; i++) { in array_assign_subscript()
2068 for (i=0; i < index_num; i++) { in array_assign_subscript()
2351 for (i = 0; i < index_num; i++) { in mapiter_fill_info()
2452 for (i = 0; i < index_num; i++) { in mapiter_fill_info()
2730 for (i=0; i < index_num; i++) { in PyArray_MapIterNew()
[all …]
/dports/www/apache24/httpd-2.4.53/modules/cache/
H A Dmod_socache_shmcb.c71 unsigned int index_num; member
462 header->index_num = num_idx; in socache_shmcb_init()
476 "index_num = %u", header->index_num); in socache_shmcb_init()
625 index_pct = (100 * total) / (header->index_num * in socache_shmcb_status()
635 header->subcache_num, header->index_num); in socache_shmcb_status()
795 || subcache->idx_used == header->index_num) { in shmcb_subcache_store()
807 header->index_num); in shmcb_subcache_store()
854 header->index_num); in shmcb_subcache_store()
928 pos = SHMCB_CYCLIC_INCREMENT(pos, 1, header->index_num); in shmcb_subcache_retrieve()
965 pos = SHMCB_CYCLIC_INCREMENT(pos, 1, header->index_num); in shmcb_subcache_remove()
[all …]
/dports/www/htdigest/httpd-2.4.6/modules/cache/
H A Dmod_socache_shmcb.c59 unsigned int index_num; member
436 header->index_num = num_idx; in socache_shmcb_init()
450 "index_num = %u", header->index_num); in socache_shmcb_init()
600 index_pct = (100 * total) / (header->index_num * in socache_shmcb_status()
609 header->subcache_num, header->index_num); in socache_shmcb_status()
741 || subcache->idx_used == header->index_num) { in shmcb_subcache_store()
753 header->index_num); in shmcb_subcache_store()
800 header->index_num); in shmcb_subcache_store()
873 pos = SHMCB_CYCLIC_INCREMENT(pos, 1, header->index_num); in shmcb_subcache_retrieve()
910 pos = SHMCB_CYCLIC_INCREMENT(pos, 1, header->index_num); in shmcb_subcache_remove()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/modules/pdfium/pdfium/core/fxcodec/lgif/
H A Dfx_gif.cpp237 index_num = code_end + 1; in ClearTable()
333 if (index_num++ >> index_bit_cur) { in EncodeString()
349 if (index_num == GIF_MAX_LZW_CODE) { in Encode()
350 suffix = code_table[index_num - 1].suffix; in Encode()
353 code_table[index_num].prefix = suffix; in Encode()
354 code_table[index_num].suffix = gif_cut_buf( in Encode()
357 code_table[index_num].prefix = code_table[index_num - 1].suffix; in Encode()
358 code_table[index_num].suffix = gif_cut_buf( in Encode()
371 for (uint16_t i = table_cur; i < index_num; i++) { in LookUpInTable()
374 code_table[index_num].prefix = i; in LookUpInTable()
[all …]
/dports/editors/texmaker/texmaker-5.0.3/pdfium/core/fxcodec/lgif/
H A Dfx_gif.cpp222 index_num = code_end + 1; in ClearTable()
317 if (index_num++ >> index_bit_cur) { in EncodeString()
333 if (index_num == GIF_MAX_LZW_CODE) { in Encode()
334 suffix = code_table[index_num - 1].suffix; in Encode()
337 code_table[index_num].prefix = suffix; in Encode()
338 code_table[index_num].suffix = gif_cut_buf( in Encode()
341 code_table[index_num].prefix = code_table[index_num - 1].suffix; in Encode()
342 code_table[index_num].suffix = gif_cut_buf( in Encode()
355 for (uint16_t i = table_cur; i < index_num; i++) { in LookUpInTable()
358 code_table[index_num].prefix = i; in LookUpInTable()
[all …]
/dports/biology/ncbi-toolkit/ncbi/biostruc/pdbeast/
H A Dinterface.c559 seq_entry_TaxState[index_num[current_seq_entry_num]] = '?'; in CheckProc()
634 index_num[unassign_seq_num] = n; in ListOpenProc()
763 … if(EntryFromList && !SingleEntry) seq_entry_TaxState[index_num[current_seq_entry_num]] = '+'; in TaxAcceptProc()
801 … if(EntryFromList && !SingleEntry) seq_entry_TaxState[index_num[current_seq_entry_num]] = '+'; in TaxAllAcceptProc()
930 if(assign == nchain) seq_entry_TaxState[index_num[current_seq_entry_num]] = '+'; in TaxFinishProc()
931 else seq_entry_TaxState[index_num[current_seq_entry_num]] = '*'; in TaxFinishProc()
1108 StringCpy(EntryCode, seq_entry[index_num[current_seq_entry_num]]); in ListEntryStartProc()
1112 if(index_num[current_seq_entry_num] >= entry_num - 1) { in ListEntryStartProc()
1141 if(index_num[current_seq_entry_num] <= entry_num - 1){ in ListEntryNextProc()
1142 StringCpy(EntryCode, seq_entry[index_num[current_seq_entry_num]]); in ListEntryNextProc()
[all …]

12345678910>>...16