/dports/misc/py-xgboost/xgboost-1.5.1/rabit/src/ |
H A D | rabit_c_api.cc | 130 size_t type_size = 0; in Allgather() local 133 type_size = sizeof(char); in Allgather() 135 beginIndex * type_size, (beginIndex + size_node_slice) * type_size, in Allgather() 141 beginIndex * type_size, (beginIndex + size_node_slice) * type_size, in Allgather() 145 type_size = sizeof(int); in Allgather() 147 beginIndex * type_size, (beginIndex + size_node_slice) * type_size, in Allgather() 153 beginIndex * type_size, (beginIndex + size_node_slice) * type_size, in Allgather() 159 beginIndex * type_size, (beginIndex + size_node_slice) * type_size, in Allgather() 165 beginIndex * type_size, (beginIndex + size_node_slice) * type_size, in Allgather() 171 beginIndex * type_size, (beginIndex + size_node_slice) * type_size, in Allgather() [all …]
|
/dports/misc/xgboost/xgboost-1.5.1/rabit/src/ |
H A D | rabit_c_api.cc | 130 size_t type_size = 0; in Allgather() local 133 type_size = sizeof(char); in Allgather() 135 beginIndex * type_size, (beginIndex + size_node_slice) * type_size, in Allgather() 141 beginIndex * type_size, (beginIndex + size_node_slice) * type_size, in Allgather() 145 type_size = sizeof(int); in Allgather() 147 beginIndex * type_size, (beginIndex + size_node_slice) * type_size, in Allgather() 153 beginIndex * type_size, (beginIndex + size_node_slice) * type_size, in Allgather() 159 beginIndex * type_size, (beginIndex + size_node_slice) * type_size, in Allgather() 165 beginIndex * type_size, (beginIndex + size_node_slice) * type_size, in Allgather() 171 beginIndex * type_size, (beginIndex + size_node_slice) * type_size, in Allgather() [all …]
|
/dports/science/InsightToolkit/ITK-5.0.1/Modules/ThirdParty/MINC/src/libminc/volume_io/Prog_utils/ |
H A D | alloc.c | 42 size_t type_size ) in set_up_array_pointers_2D() argument 99 size_t type_size ) in private_alloc_memory_2d() argument 133 size_t type_size ) in private_alloc_memory_3d() argument 169 size_t type_size ) in private_alloc_memory_4d() argument 208 size_t type_size ) in private_alloc_memory_5d() argument 279 size_t type_size in alloc_memory_1d() 322 size_t type_size in alloc_memory_2d() 370 size_t type_size in alloc_memory_3d() 423 size_t type_size in alloc_memory_4d() 479 size_t type_size in alloc_memory_5d() [all …]
|
/dports/science/minc2/minc-release-2.2.00/volume_io/Prog_utils/ |
H A D | alloc.c | 39 size_t type_size ) in set_up_array_pointers_2D() argument 96 size_t type_size ) in private_alloc_memory_2d() argument 130 size_t type_size ) in private_alloc_memory_3d() argument 166 size_t type_size ) in private_alloc_memory_4d() argument 205 size_t type_size ) in private_alloc_memory_5d() argument 274 size_t type_size in alloc_memory_1d() 315 size_t type_size in alloc_memory_2d() 362 size_t type_size in alloc_memory_3d() 413 size_t type_size in alloc_memory_4d() 468 size_t type_size in alloc_memory_5d() [all …]
|
/dports/net/openmpi3/openmpi-3.1.6/ompi/mca/osc/monitoring/ |
H A D | osc_monitoring_accumulate.h | 33 size_t type_size; \ 34 ompi_datatype_type_size(dt, &type_size); \ 35 mca_common_monitoring_record_osc(world_rank, type_size, SEND); \ 36 mca_common_monitoring_record_osc(world_rank, type_size, RECV); \ 60 size_t type_size, data_size; \ 61 ompi_datatype_type_size(origin_datatype, &type_size); \ 62 data_size = origin_count*type_size; \ 64 ompi_datatype_type_size(result_datatype, &type_size); \ 65 data_size = result_count*type_size; \ 92 size_t type_size, data_size; \ [all …]
|
H A D | osc_monitoring_comm.h | 34 size_t type_size, data_size; \ 35 ompi_datatype_type_size(origin_datatype, &type_size); \ 36 data_size = origin_count*type_size; \ 59 size_t type_size, data_size; \ 60 ompi_datatype_type_size(origin_datatype, &type_size); \ 61 data_size = origin_count*type_size; \ 82 size_t type_size, data_size; \ 83 ompi_datatype_type_size(origin_datatype, &type_size); \ 84 data_size = origin_count*type_size; \ 107 size_t type_size, data_size; \ [all …]
|
/dports/net/openmpi/openmpi-4.1.1/ompi/mca/osc/monitoring/ |
H A D | osc_monitoring_accumulate.h | 33 size_t type_size; \ 34 ompi_datatype_type_size(dt, &type_size); \ 35 mca_common_monitoring_record_osc(world_rank, type_size, SEND); \ 36 mca_common_monitoring_record_osc(world_rank, type_size, RECV); \ 60 size_t type_size, data_size; \ 61 ompi_datatype_type_size(origin_datatype, &type_size); \ 62 data_size = origin_count*type_size; \ 64 ompi_datatype_type_size(result_datatype, &type_size); \ 65 data_size = result_count*type_size; \ 92 size_t type_size, data_size; \ [all …]
|
/dports/science/hdf5-18/hdf5-1.8.21/hl/fortran/src/ |
H A D | H5TBff.f90 | 127 type_size,& 178 type_size,& 236 start,nrecords,type_size,buf) 262 start,nrecords,type_size,buf) 312 start,nrecords,type_size,buf) 338 start,nrecords,type_size,buf) 390 start,nrecords,type_size,buf) 416 start,nrecords,type_size,buf) 466 start,nrecords,type_size,buf) 492 start,nrecords,type_size,buf) [all …]
|
H A D | H5TBfc.c | 45 size_t_f *type_size, in nh5tbmake_table_c() argument 392 size_t c_type_size = *type_size; in nh5tbwrite_field_index_c() 428 nrecords, type_size, buf); in nh5tbwrite_field_index_int_c() 442 nrecords, type_size, buf); in nh5tbwrite_field_index_fl_c() 456 nrecords, type_size, buf); in nh5tbwrite_field_index_dl_c() 470 nrecords, type_size, buf); in nh5tbwrite_field_index_st_c() 499 size_t c_type_size = *type_size; in nh5tbread_field_index_c() 534 nrecords, type_size, buf); in nh5tbread_field_index_int_c() 548 nrecords, type_size, buf); in nh5tbread_field_index_fl_c() 562 nrecords, type_size, buf); in nh5tbread_field_index_dl_c() [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/widget/gtk/compat/glib/ |
H A D | gmem.h | 27 #define _CHECK_OVERFLOW(num, type_size) \ argument 28 if (G_UNLIKELY(type_size > 0 && num > G_MAXSIZE / type_size)) { \ 31 G_STRLOC, num, type_size); \ 34 static inline gpointer g_malloc_n(gsize num, gsize type_size) { in g_malloc_n() argument 35 _CHECK_OVERFLOW(num, type_size) in g_malloc_n() 36 return g_malloc(num * type_size); in g_malloc_n() 39 static inline gpointer g_malloc0_n(gsize num, gsize type_size) { in g_malloc0_n() argument 40 _CHECK_OVERFLOW(num, type_size) in g_malloc0_n() 41 return g_malloc0(num * type_size); in g_malloc0_n() 45 _CHECK_OVERFLOW(num, type_size) in g_realloc_n() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/widget/gtk/compat/glib/ |
H A D | gmem.h | 27 #define _CHECK_OVERFLOW(num, type_size) \ argument 28 if (G_UNLIKELY(type_size > 0 && num > G_MAXSIZE / type_size)) { \ 31 G_STRLOC, num, type_size); \ 34 static inline gpointer g_malloc_n(gsize num, gsize type_size) { in g_malloc_n() argument 35 _CHECK_OVERFLOW(num, type_size) in g_malloc_n() 36 return g_malloc(num * type_size); in g_malloc_n() 39 static inline gpointer g_malloc0_n(gsize num, gsize type_size) { in g_malloc0_n() argument 40 _CHECK_OVERFLOW(num, type_size) in g_malloc0_n() 41 return g_malloc0(num * type_size); in g_malloc0_n() 45 _CHECK_OVERFLOW(num, type_size) in g_realloc_n() [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/widget/gtk/compat/glib/ |
H A D | gmem.h | 30 #define _CHECK_OVERFLOW(num, type_size) \ argument 31 if (G_UNLIKELY(type_size > 0 && num > G_MAXSIZE / type_size)) { \ 33 G_STRLOC, num, type_size); \ 37 g_malloc_n(gsize num, gsize type_size) in g_malloc_n() argument 39 _CHECK_OVERFLOW(num, type_size) in g_malloc_n() 40 return g_malloc(num * type_size); in g_malloc_n() 44 g_malloc0_n(gsize num, gsize type_size) in g_malloc0_n() argument 46 _CHECK_OVERFLOW(num, type_size) in g_malloc0_n() 47 return g_malloc0(num * type_size); in g_malloc0_n() 53 _CHECK_OVERFLOW(num, type_size) in g_realloc_n() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/widget/gtk/compat/glib/ |
H A D | gmem.h | 27 #define _CHECK_OVERFLOW(num, type_size) \ argument 28 if (G_UNLIKELY(type_size > 0 && num > G_MAXSIZE / type_size)) { \ 31 G_STRLOC, num, type_size); \ 34 static inline gpointer g_malloc_n(gsize num, gsize type_size) { in g_malloc_n() argument 35 _CHECK_OVERFLOW(num, type_size) in g_malloc_n() 36 return g_malloc(num * type_size); in g_malloc_n() 39 static inline gpointer g_malloc0_n(gsize num, gsize type_size) { in g_malloc0_n() argument 40 _CHECK_OVERFLOW(num, type_size) in g_malloc0_n() 41 return g_malloc0(num * type_size); in g_malloc0_n() 45 _CHECK_OVERFLOW(num, type_size) in g_realloc_n() [all …]
|
/dports/www/firefox/firefox-99.0/widget/gtk/compat/glib/ |
H A D | gmem.h | 27 #define _CHECK_OVERFLOW(num, type_size) \ argument 28 if (G_UNLIKELY(type_size > 0 && num > G_MAXSIZE / type_size)) { \ 31 G_STRLOC, num, type_size); \ 34 static inline gpointer g_malloc_n(gsize num, gsize type_size) { in g_malloc_n() argument 35 _CHECK_OVERFLOW(num, type_size) in g_malloc_n() 36 return g_malloc(num * type_size); in g_malloc_n() 39 static inline gpointer g_malloc0_n(gsize num, gsize type_size) { in g_malloc0_n() argument 40 _CHECK_OVERFLOW(num, type_size) in g_malloc0_n() 41 return g_malloc0(num * type_size); in g_malloc0_n() 45 _CHECK_OVERFLOW(num, type_size) in g_realloc_n() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/widget/gtk/compat/glib/ |
H A D | gmem.h | 27 #define _CHECK_OVERFLOW(num, type_size) \ argument 28 if (G_UNLIKELY(type_size > 0 && num > G_MAXSIZE / type_size)) { \ 31 G_STRLOC, num, type_size); \ 34 static inline gpointer g_malloc_n(gsize num, gsize type_size) { in g_malloc_n() argument 35 _CHECK_OVERFLOW(num, type_size) in g_malloc_n() 36 return g_malloc(num * type_size); in g_malloc_n() 39 static inline gpointer g_malloc0_n(gsize num, gsize type_size) { in g_malloc0_n() argument 40 _CHECK_OVERFLOW(num, type_size) in g_malloc0_n() 41 return g_malloc0(num * type_size); in g_malloc0_n() 45 _CHECK_OVERFLOW(num, type_size) in g_realloc_n() [all …]
|
/dports/archivers/c-blosc/c-blosc-1.21.0/blosc/ |
H A D | shuffle-generic.h | 32 static void shuffle_generic_inline(const size_t type_size, in shuffle_generic_inline() argument 38 const size_t neblock_quot = blocksize / type_size; in shuffle_generic_inline() 39 const size_t neblock_rem = blocksize % type_size; in shuffle_generic_inline() 40 const size_t vectorizable_elements = vectorizable_blocksize / type_size; in shuffle_generic_inline() 44 for (j = 0; j < type_size; j++) { in shuffle_generic_inline() 46 _dest[j*neblock_quot+i] = _src[i*type_size+j]; in shuffle_generic_inline() 61 static void unshuffle_generic_inline(const size_t type_size, in unshuffle_generic_inline() argument 68 const size_t neblock_quot = blocksize / type_size; in unshuffle_generic_inline() 69 const size_t neblock_rem = blocksize % type_size; in unshuffle_generic_inline() 74 for (j = 0; j < type_size; j++) { in unshuffle_generic_inline() [all …]
|
/dports/archivers/c-blosc/c-blosc-1.21.0/tests/ |
H A D | test_shuffle_roundtrip_avx2.c | 25 static int test_shuffle_roundtrip_avx2(size_t type_size, size_t num_elements, in test_shuffle_roundtrip_avx2() argument 29 size_t buffer_size = type_size * num_elements; in test_shuffle_roundtrip_avx2() 44 blosc_internal_shuffle_avx2(type_size, buffer_size, original, shuffled); in test_shuffle_roundtrip_avx2() 45 blosc_internal_unshuffle_avx2(type_size, buffer_size, shuffled, unshuffled); in test_shuffle_roundtrip_avx2() 49 blosc_internal_shuffle_generic(type_size, buffer_size, original, shuffled); in test_shuffle_roundtrip_avx2() 50 blosc_internal_unshuffle_avx2(type_size, buffer_size, shuffled, unshuffled); in test_shuffle_roundtrip_avx2() 54 blosc_internal_shuffle_avx2(type_size, buffer_size, original, shuffled); in test_shuffle_roundtrip_avx2() 55 blosc_internal_unshuffle_generic(type_size, buffer_size, shuffled, unshuffled); in test_shuffle_roundtrip_avx2() 84 uint32_t type_size; in main() local 103 if (!blosc_test_parse_uint32_t(argv[1], &type_size) || (type_size < 1)) in main() [all …]
|
H A D | test_shuffle_roundtrip_sse2.c | 31 static int test_shuffle_roundtrip_sse2(size_t type_size, size_t num_elements, in test_shuffle_roundtrip_sse2() argument 35 size_t buffer_size = type_size * num_elements; in test_shuffle_roundtrip_sse2() 51 blosc_internal_shuffle_sse2(type_size, buffer_size, original, shuffled); in test_shuffle_roundtrip_sse2() 52 blosc_internal_unshuffle_sse2(type_size, buffer_size, shuffled, unshuffled); in test_shuffle_roundtrip_sse2() 56 blosc_internal_shuffle_generic(type_size, buffer_size, original, shuffled); in test_shuffle_roundtrip_sse2() 57 blosc_internal_unshuffle_sse2(type_size, buffer_size, shuffled, unshuffled); in test_shuffle_roundtrip_sse2() 61 blosc_internal_shuffle_sse2(type_size, buffer_size, original, shuffled); in test_shuffle_roundtrip_sse2() 62 blosc_internal_unshuffle_generic(type_size, buffer_size, shuffled, unshuffled); in test_shuffle_roundtrip_sse2() 91 uint32_t type_size; in main() local 110 if (!blosc_test_parse_uint32_t(argv[1], &type_size) || (type_size < 1)) in main() [all …]
|
/dports/archivers/c-blosc2/c-blosc2-2.0.4/blosc/ |
H A D | shuffle-generic.h | 37 inline static void shuffle_generic_inline(const int32_t type_size, in shuffle_generic_inline() argument 42 const int32_t neblock_quot = blocksize / type_size; in shuffle_generic_inline() 43 const int32_t neblock_rem = blocksize % type_size; in shuffle_generic_inline() 44 const int32_t vectorizable_elements = vectorizable_blocksize / type_size; in shuffle_generic_inline() 48 for (j = 0; j < type_size; j++) { in shuffle_generic_inline() 50 _dest[j * neblock_quot + i] = _src[i * type_size + j]; in shuffle_generic_inline() 65 inline static void unshuffle_generic_inline(const int32_t type_size, in unshuffle_generic_inline() argument 71 const int32_t neblock_quot = blocksize / type_size; in unshuffle_generic_inline() 72 const int32_t neblock_rem = blocksize % type_size; in unshuffle_generic_inline() 77 for (j = 0; j < type_size; j++) { in unshuffle_generic_inline() [all …]
|
/dports/databases/tiledb/TileDB-2.5.2/external/src/blosc/ |
H A D | shuffle-generic.cc | 15 void shuffle_generic_inline(const size_t type_size, in shuffle_generic_inline() argument 21 const size_t neblock_quot = blocksize / type_size; in shuffle_generic_inline() 22 const size_t neblock_rem = blocksize % type_size; in shuffle_generic_inline() 23 const size_t vectorizable_elements = vectorizable_blocksize / type_size; in shuffle_generic_inline() 27 for (j = 0; j < type_size; j++) { in shuffle_generic_inline() 29 _dest[j*neblock_quot+i] = _src[i*type_size+j]; in shuffle_generic_inline() 37 void unshuffle_generic_inline(const size_t type_size, in unshuffle_generic_inline() argument 44 const size_t neblock_quot = blocksize / type_size; in unshuffle_generic_inline() 45 const size_t neblock_rem = blocksize % type_size; in unshuffle_generic_inline() 50 for (j = 0; j < type_size; j++) { in unshuffle_generic_inline() [all …]
|
/dports/devel/py-tables/tables-3.6.1/c-blosc/blosc/ |
H A D | shuffle-generic.h | 32 static void shuffle_generic_inline(const size_t type_size, in shuffle_generic_inline() argument 38 const size_t neblock_quot = blocksize / type_size; in shuffle_generic_inline() 39 const size_t neblock_rem = blocksize % type_size; in shuffle_generic_inline() 40 const size_t vectorizable_elements = vectorizable_blocksize / type_size; in shuffle_generic_inline() 44 for (j = 0; j < type_size; j++) { in shuffle_generic_inline() 46 _dest[j*neblock_quot+i] = _src[i*type_size+j]; in shuffle_generic_inline() 61 static void unshuffle_generic_inline(const size_t type_size, in unshuffle_generic_inline() argument 68 const size_t neblock_quot = blocksize / type_size; in unshuffle_generic_inline() 69 const size_t neblock_rem = blocksize % type_size; in unshuffle_generic_inline() 74 for (j = 0; j < type_size; j++) { in unshuffle_generic_inline() [all …]
|
/dports/archivers/c-blosc2/c-blosc2-2.0.4/tests/ |
H A D | test_shuffle_roundtrip_avx2.c | 32 static int test_shuffle_roundtrip_avx2(int32_t type_size, int32_t num_elements, in test_shuffle_roundtrip_avx2() argument 35 int32_t buffer_size = type_size * num_elements; in test_shuffle_roundtrip_avx2() 50 shuffle_avx2(type_size, buffer_size, original, shuffled); in test_shuffle_roundtrip_avx2() 51 unshuffle_avx2(type_size, buffer_size, shuffled, unshuffled); in test_shuffle_roundtrip_avx2() 55 shuffle_generic(type_size, buffer_size, original, shuffled); in test_shuffle_roundtrip_avx2() 56 unshuffle_avx2(type_size, buffer_size, shuffled, unshuffled); in test_shuffle_roundtrip_avx2() 60 shuffle_avx2(type_size, buffer_size, original, shuffled); in test_shuffle_roundtrip_avx2() 61 unshuffle_generic(type_size, buffer_size, shuffled, unshuffled); in test_shuffle_roundtrip_avx2() 102 uint32_t type_size; in main() local 103 if (!blosc_test_parse_uint32_t(argv[1], &type_size) || (type_size < 1)) { in main() [all …]
|
H A D | test_shuffle_roundtrip_sse2.c | 32 static int test_shuffle_roundtrip_sse2(int32_t type_size, int32_t num_elements, in test_shuffle_roundtrip_sse2() argument 35 int32_t buffer_size = type_size * num_elements; in test_shuffle_roundtrip_sse2() 49 shuffle_sse2(type_size, buffer_size, original, shuffled); in test_shuffle_roundtrip_sse2() 50 unshuffle_sse2(type_size, buffer_size, shuffled, unshuffled); in test_shuffle_roundtrip_sse2() 54 shuffle_generic(type_size, buffer_size, original, shuffled); in test_shuffle_roundtrip_sse2() 55 unshuffle_sse2(type_size, buffer_size, shuffled, unshuffled); in test_shuffle_roundtrip_sse2() 59 shuffle_sse2(type_size, buffer_size, original, shuffled); in test_shuffle_roundtrip_sse2() 60 unshuffle_generic(type_size, buffer_size, shuffled, unshuffled); in test_shuffle_roundtrip_sse2() 101 uint32_t type_size; in main() local 102 if (!blosc_test_parse_uint32_t(argv[1], &type_size) || (type_size < 1)) { in main() [all …]
|
H A D | test_shuffle_roundtrip_altivec.c | 32 static int test_shuffle_roundtrip_altivec(int32_t type_size, int32_t num_elements, in test_shuffle_roundtrip_altivec() argument 35 int32_t buffer_size = type_size * num_elements; in test_shuffle_roundtrip_altivec() 49 shuffle_altivec(type_size, buffer_size, original, shuffled); in test_shuffle_roundtrip_altivec() 50 unshuffle_altivec(type_size, buffer_size, shuffled, unshuffled); in test_shuffle_roundtrip_altivec() 54 shuffle_generic(type_size, buffer_size, original, shuffled); in test_shuffle_roundtrip_altivec() 55 unshuffle_altivec(type_size, buffer_size, shuffled, unshuffled); in test_shuffle_roundtrip_altivec() 59 shuffle_altivec(type_size, buffer_size, original, shuffled); in test_shuffle_roundtrip_altivec() 60 unshuffle_generic(type_size, buffer_size, shuffled, unshuffled); in test_shuffle_roundtrip_altivec() 101 uint32_t type_size; in main() local 102 if (!blosc_test_parse_uint32_t(argv[1], &type_size) || (type_size < 1)) { in main() [all …]
|
H A D | test_shuffle_roundtrip_neon.c | 32 static int test_shuffle_roundtrip_neon(size_t type_size, size_t num_elements, in test_shuffle_roundtrip_neon() argument 35 size_t buffer_size = type_size * num_elements; in test_shuffle_roundtrip_neon() 49 shuffle_neon(type_size, buffer_size, original, shuffled); in test_shuffle_roundtrip_neon() 50 unshuffle_neon(type_size, buffer_size, shuffled, unshuffled); in test_shuffle_roundtrip_neon() 54 shuffle_generic(type_size, buffer_size, original, shuffled); in test_shuffle_roundtrip_neon() 55 unshuffle_neon(type_size, buffer_size, shuffled, unshuffled); in test_shuffle_roundtrip_neon() 59 shuffle_neon(type_size, buffer_size, original, shuffled); in test_shuffle_roundtrip_neon() 60 unshuffle_generic(type_size, buffer_size, shuffled, unshuffled); in test_shuffle_roundtrip_neon() 101 uint32_t type_size; in main() local 102 if (!blosc_test_parse_uint32_t(argv[1], &type_size) || (type_size < 1)) { in main() [all …]
|