/dports/security/tor-devel/tor-0.4.7.2-alpha/src/lib/container/ |
H A D | order.h | 29 median_int(int *array, int n_elements) in median_int() argument 31 return find_nth_int(array, n_elements, (n_elements-1)/2); in median_int() 34 median_time(time_t *array, int n_elements) in median_time() argument 36 return find_nth_time(array, n_elements, (n_elements-1)/2); in median_time() 39 median_double(double *array, int n_elements) in median_double() argument 41 return find_nth_double(array, n_elements, (n_elements-1)/2); in median_double() 44 median_uint32(uint32_t *array, int n_elements) in median_uint32() argument 46 return find_nth_uint32(array, n_elements, (n_elements-1)/2); in median_uint32() 49 median_int32(int32_t *array, int n_elements) in median_int32() argument 51 return find_nth_int32(array, n_elements, (n_elements-1)/2); in median_int32() [all …]
|
/dports/security/tor/tor-0.4.6.8/src/lib/container/ |
H A D | order.h | 29 median_int(int *array, int n_elements) in median_int() argument 31 return find_nth_int(array, n_elements, (n_elements-1)/2); in median_int() 34 median_time(time_t *array, int n_elements) in median_time() argument 36 return find_nth_time(array, n_elements, (n_elements-1)/2); in median_time() 39 median_double(double *array, int n_elements) in median_double() argument 41 return find_nth_double(array, n_elements, (n_elements-1)/2); in median_double() 44 median_uint32(uint32_t *array, int n_elements) in median_uint32() argument 46 return find_nth_uint32(array, n_elements, (n_elements-1)/2); in median_uint32() 49 median_int32(int32_t *array, int n_elements) in median_int32() argument 51 return find_nth_int32(array, n_elements, (n_elements-1)/2); in median_int32() [all …]
|
/dports/multimedia/gstreamer1-plugins-svt-av1/SVT-AV1-3971c982311d49f9355dc8dccdcf8d21b70fa624/Source/Lib/Decoder/Codec/ |
H A D | EbDecMemInit.h | 28 #define EB_ALLIGN_MALLOC_DEC(type, pointer, n_elements, pointer_class) \ argument 30 pointer = (type)_aligned_malloc(n_elements, ALVALUE); \ 43 if (n_elements % 8 == 0) \ 44 *svt_dec_total_lib_memory += ((n_elements) + sizeof(*node)); \ 46 *svt_dec_total_lib_memory += (((n_elements) + (8 - ((n_elements) % 8))) + \ 51 #define EB_ALLIGN_MALLOC_DEC(type, pointer, n_elements, pointer_class) \ argument 53 if (posix_memalign((void **)&(pointer), ALVALUE, n_elements) != 0) \ 65 if (n_elements % 8 == 0) \ 66 *svt_dec_total_lib_memory += ((n_elements) + sizeof(*node)); \ 68 *svt_dec_total_lib_memory += (((n_elements) + (8 - ((n_elements) % 8))) + \ [all …]
|
/dports/multimedia/svt-av1/SVT-AV1-3971c982311d49f9355dc8dccdcf8d21b70fa624/Source/Lib/Decoder/Codec/ |
H A D | EbDecMemInit.h | 28 #define EB_ALLIGN_MALLOC_DEC(type, pointer, n_elements, pointer_class) \ argument 30 pointer = (type)_aligned_malloc(n_elements, ALVALUE); \ 43 if (n_elements % 8 == 0) \ 44 *svt_dec_total_lib_memory += ((n_elements) + sizeof(*node)); \ 46 *svt_dec_total_lib_memory += (((n_elements) + (8 - ((n_elements) % 8))) + \ 51 #define EB_ALLIGN_MALLOC_DEC(type, pointer, n_elements, pointer_class) \ argument 53 if (posix_memalign((void **)&(pointer), ALVALUE, n_elements) != 0) \ 65 if (n_elements % 8 == 0) \ 66 *svt_dec_total_lib_memory += ((n_elements) + sizeof(*node)); \ 68 *svt_dec_total_lib_memory += (((n_elements) + (8 - ((n_elements) % 8))) + \ [all …]
|
/dports/math/deal.ii/dealii-803d21ff957e349b3799cd3ef2c840bc78734305/source/lac/ |
H A D | cuda_vector.cu | 43 , n_elements(0) in Vector() 52 , n_elements(V.n_elements) in Vector() 68 if (n_elements < V.n_elements) in operator =() 69 reinit(V.n_elements, true); in operator =() 71 n_elements = V.n_elements; in operator =() 88 , n_elements(0) in Vector() 102 else if (n != n_elements) in reinit() 112 n_elements = n; in reinit() 342 val.get(), a, down_V.val.get(), n_elements); in add() 646 complete_index_set(n_elements).print(out); in print() [all …]
|
/dports/science/code_saturne/code_saturne-7.1.0/src/fvm/ |
H A D | fvm_nodal_append.c | 92 _transfer_to_section(cs_lnum_t n_elements, in _transfer_to_section() argument 104 this_section->n_elements = n_elements; in _transfer_to_section() 176 _map_to_section(cs_lnum_t n_elements, in _map_to_section() argument 188 this_section->n_elements = n_elements; in _map_to_section() 295 this_nodal->n_cells += n_elements; in fvm_nodal_append_by_transfer() 298 this_nodal->n_faces += n_elements; in fvm_nodal_append_by_transfer() 301 this_nodal->n_edges += n_elements; in fvm_nodal_append_by_transfer() 355 new_section = _map_to_section(n_elements, in fvm_nodal_append_shared() 370 this_nodal->n_cells += n_elements; in fvm_nodal_append_shared() 373 this_nodal->n_faces += n_elements; in fvm_nodal_append_shared() [all …]
|
H A D | fvm_nodal_triangulate.c | 113 n_elements = base_section->n_elements; in _triangulate_section() 125 for (i = 0 ; i < n_elements ; i++) { in _triangulate_section() 161 ret_section->n_elements, in _triangulate_section() 170 for (i = 0 ; i < n_elements ; i++) { in _triangulate_section() 319 n_elements = base_section->n_elements; in _triangulate_section_polygons() 327 for (i = 0 ; i < n_elements ; i++) { in _triangulate_section_polygons() 367 _section->n_elements, in _triangulate_section_polygons() 380 for (i = 0 ; i < n_elements ; i++) { in _triangulate_section_polygons() 544 n_faces += t_section->n_elements; in fvm_nodal_triangulate() 550 n_faces +=_section->n_elements; in fvm_nodal_triangulate() [all …]
|
/dports/science/code_saturne/code_saturne-7.1.0/libple/examples/ |
H A D | my_ple_mesh.c | 117 this_section->n_elements = 0; in _nodal_section_create() 212 this_section->n_elements = n_elements; in _transfer_to_section() 294 this_section->n_elements = n_elements; in _map_to_section() 346 ple_lnum_t n_elements, i, j; in _my_ple_mesh_section_dump() local 387 n_elements = this_section->n_elements; in _my_ple_mesh_section_dump() 416 n_elements = this_section->n_elements; in _my_ple_mesh_section_dump() 644 mesh->n_cells += n_elements; in my_ple_mesh_append_by_transfer() 647 mesh->n_faces += n_elements; in my_ple_mesh_append_by_transfer() 650 mesh->n_edges += n_elements; in my_ple_mesh_append_by_transfer() 717 mesh->n_cells += n_elements; in my_ple_mesh_append_shared() [all …]
|
/dports/print/qpdf/qpdf-10.5.0/libqpdf/ |
H A D | SparseOHArray.cc | 5 n_elements(0) in SparseOHArray() 12 return this->n_elements; in size() 22 ++this->n_elements; in append() 28 if (idx >= this->n_elements) in at() 47 if (this->n_elements == 0) in remove_last() 53 --this->n_elements; in remove_last() 69 if (idx >= this->n_elements) in setAt() 86 if (idx >= this->n_elements) in erase() 103 --this->n_elements; in erase() 109 if (idx > this->n_elements) in insert() [all …]
|
/dports/multimedia/svt-vp9/SVT-VP9-0.3.0/Source/Lib/Codec/ |
H A D | EbThreads.h | 69 #define EB_CREATETHREAD(type, pointer, n_elements, pointer_class, thread_function, thread_context) \ argument 77 if (n_elements % 8 == 0) { \ 78 *total_lib_memory += (n_elements); \ 81 *total_lib_memory += ((n_elements) + (8 - ((n_elements) % 8))); \ 108 #define EB_CREATETHREAD(type, pointer, n_elements, pointer_class, thread_function, thread_context) \ argument 117 if (n_elements % 8 == 0) { \ 118 *total_lib_memory += (n_elements); \ 121 *total_lib_memory += ((n_elements) + (8 - ((n_elements) % 8))); \ 137 if (n_elements % 8 == 0) { \ 138 *total_lib_memory += (n_elements); \ [all …]
|
H A D | EbThreads.h.orig.opsys | 69 #define EB_CREATETHREAD(type, pointer, n_elements, pointer_class, thread_function, thread_context) \ 77 if (n_elements % 8 == 0) { \ 78 *total_lib_memory += (n_elements); \ 81 *total_lib_memory += ((n_elements) + (8 - ((n_elements) % 8))); \ 96 #define EB_CREATETHREAD(type, pointer, n_elements, pointer_class, thread_function, thread_context) \ 105 if (n_elements % 8 == 0) { \ 106 *total_lib_memory += (n_elements); \ 109 *total_lib_memory += ((n_elements) + (8 - ((n_elements) % 8))); \ 125 if (n_elements % 8 == 0) { \ 126 *total_lib_memory += (n_elements); \ [all …]
|
H A D | EbThreads.h.opsys | 69 #define EB_CREATETHREAD(type, pointer, n_elements, pointer_class, thread_function, thread_context) \ 77 if (n_elements % 8 == 0) { \ 78 *total_lib_memory += (n_elements); \ 81 *total_lib_memory += ((n_elements) + (8 - ((n_elements) % 8))); \ 108 #define EB_CREATETHREAD(type, pointer, n_elements, pointer_class, thread_function, thread_context) \ 117 if (n_elements % 8 == 0) { \ 118 *total_lib_memory += (n_elements); \ 121 *total_lib_memory += ((n_elements) + (8 - ((n_elements) % 8))); \ 137 if (n_elements % 8 == 0) { \ 138 *total_lib_memory += (n_elements); \ [all …]
|
/dports/multimedia/gstreamer1-plugins-svt-vp9/SVT-VP9-0.3.0/Source/Lib/Codec/ |
H A D | EbThreads.h | 69 #define EB_CREATETHREAD(type, pointer, n_elements, pointer_class, thread_function, thread_context) \ argument 77 if (n_elements % 8 == 0) { \ 78 *total_lib_memory += (n_elements); \ 81 *total_lib_memory += ((n_elements) + (8 - ((n_elements) % 8))); \ 96 #define EB_CREATETHREAD(type, pointer, n_elements, pointer_class, thread_function, thread_context) \ argument 105 if (n_elements % 8 == 0) { \ 106 *total_lib_memory += (n_elements); \ 109 *total_lib_memory += ((n_elements) + (8 - ((n_elements) % 8))); \ 125 if (n_elements % 8 == 0) { \ 126 *total_lib_memory += (n_elements); \ [all …]
|
/dports/science/code_saturne/code_saturne-7.1.0/tests/ |
H A D | cs_interface_test.c | 85 cs_gnum_t n_max = (n_elements * 3 / 4) * (comm_size-1) + n_elements; in _periodic_is_test() 99 for (ii = 0; ii < n_elements; ii++) in _periodic_is_test() 103 global_number[n_elements - 1] = n_max; in _periodic_is_test() 106 for (ii = 0; ii < n_elements; ii++) { in _periodic_is_test() 204 for (ii = 0; ii < n_elements; ii++) { in _periodic_is_test() 206 var[ii + n_elements] = 2.0; in _periodic_is_test() 209 n_elements, in _periodic_is_test() 214 for (ii = 0; ii < n_elements; ii++) in _periodic_is_test() 321 cs_lnum_t n_elements = 20; in main() local 359 for (ii = 0; ii < n_elements; ii++) in main() [all …]
|
/dports/audio/spectmorph/spectmorph-0.5.2/lib/ |
H A D | smalignedarray.hh | 21 size_t n_elements; member in SpectMorph::AlignedArray 26 data = reinterpret_cast<T *> (malloc_aligned (n_elements * sizeof (T), ALIGN, &unaligned_mem)); in allocate_aligned_data() 29 AlignedArray (size_t n_elements) : in AlignedArray() argument 30 n_elements (n_elements) in AlignedArray() 33 for (size_t i = 0; i < n_elements; i++) in AlignedArray() 39 while (n_elements) in ~AlignedArray() 40 data[--n_elements].~T(); in ~AlignedArray() 55 return n_elements; in size()
|
/dports/databases/percona57-server/percona-server-5.7.36-39/storage/innobase/include/ |
H A D | ut0new.h | 333 size_type n_elements, 339 if (n_elements == 0) { 343 if (n_elements > max_size()) { 409 size_type n_elements = 0) 480 size_type n_elements, in reallocate() argument 483 if (n_elements == 0) { in reallocate() 492 if (n_elements > max_size()) { in reallocate() 548 size_type n_elements, in new_array() argument 592 T* p = ptr + n_elements - 1; in delete_array() 614 size_type n_elements, in allocate_large() argument [all …]
|
/dports/databases/percona57-client/percona-server-5.7.36-39/storage/innobase/include/ |
H A D | ut0new.h | 333 size_type n_elements, 339 if (n_elements == 0) { 343 if (n_elements > max_size()) { 409 size_type n_elements = 0) 480 size_type n_elements, in reallocate() argument 483 if (n_elements == 0) { in reallocate() 492 if (n_elements > max_size()) { in reallocate() 548 size_type n_elements, in new_array() argument 592 T* p = ptr + n_elements - 1; in delete_array() 614 size_type n_elements, in allocate_large() argument [all …]
|
/dports/databases/mysqlwsrep57-server/mysql-wsrep-wsrep_5.7.35-25.27/storage/innobase/include/ |
H A D | ut0new.h | 325 size_type n_elements, 331 if (n_elements == 0) { 335 if (n_elements > max_size()) { 401 size_type n_elements = 0) 472 size_type n_elements, in reallocate() argument 475 if (n_elements == 0) { in reallocate() 484 if (n_elements > max_size()) { in reallocate() 540 size_type n_elements, in new_array() argument 584 T* p = ptr + n_elements - 1; in delete_array() 606 size_type n_elements, in allocate_large() argument [all …]
|
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/storage/innobase/include/ |
H A D | ut0new.h | 333 size_type n_elements, 339 if (n_elements == 0) { 343 if (n_elements > max_size()) { 409 size_type n_elements = 0) 480 size_type n_elements, in reallocate() argument 483 if (n_elements == 0) { in reallocate() 492 if (n_elements > max_size()) { in reallocate() 548 size_type n_elements, in new_array() argument 592 T* p = ptr + n_elements - 1; in delete_array() 614 size_type n_elements, in allocate_large() argument [all …]
|
/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/storage/innobase/include/ |
H A D | ut0new.h | 325 size_type n_elements, 331 if (n_elements == 0) { 335 if (n_elements > max_size()) { 401 size_type n_elements = 0) 472 size_type n_elements, in reallocate() argument 475 if (n_elements == 0) { in reallocate() 484 if (n_elements > max_size()) { in reallocate() 540 size_type n_elements, in new_array() argument 584 T* p = ptr + n_elements - 1; in delete_array() 606 size_type n_elements, in allocate_large() argument [all …]
|
/dports/databases/mysql57-client/mysql-5.7.36/storage/innobase/include/ |
H A D | ut0new.h | 325 size_type n_elements, 331 if (n_elements == 0) { 335 if (n_elements > max_size()) { 401 size_type n_elements = 0) 472 size_type n_elements, in reallocate() argument 475 if (n_elements == 0) { in reallocate() 484 if (n_elements > max_size()) { in reallocate() 540 size_type n_elements, in new_array() argument 584 T* p = ptr + n_elements - 1; in delete_array() 606 size_type n_elements, in allocate_large() argument [all …]
|
/dports/databases/mariadb104-server/mariadb-10.4.24/storage/innobase/include/ |
H A D | ut0new.h | 349 size_type n_elements, 359 if (n_elements == 0) { 363 if (n_elements > max_size()) { 496 size_type n_elements, in reallocate() argument 499 if (n_elements == 0) { in reallocate() 508 if (n_elements > max_size()) { in reallocate() 563 size_type n_elements, in new_array() argument 607 T* p = ptr + n_elements - 1; in delete_array() 631 size_type n_elements, 635 if (n_elements == 0 || n_elements > max_size()) { [all …]
|
/dports/databases/mariadb104-client/mariadb-10.4.24/storage/innobase/include/ |
H A D | ut0new.h | 349 size_type n_elements, 359 if (n_elements == 0) { 363 if (n_elements > max_size()) { 496 size_type n_elements, 499 if (n_elements == 0) { 508 if (n_elements > max_size()) { 563 size_type n_elements, 607 T* p = ptr + n_elements - 1; 631 size_type n_elements, 635 if (n_elements == 0 || n_elements > max_size()) { [all …]
|
/dports/databases/mariadb103-client/mariadb-10.3.34/storage/innobase/include/ |
H A D | ut0new.h | 349 size_type n_elements, 359 if (n_elements == 0) { 363 if (n_elements > max_size()) { 496 size_type n_elements, 499 if (n_elements == 0) { 508 if (n_elements > max_size()) { 563 size_type n_elements, 607 T* p = ptr + n_elements - 1; 631 size_type n_elements, 635 if (n_elements == 0 || n_elements > max_size()) { [all …]
|
/dports/databases/mariadb103-server/mariadb-10.3.34/storage/innobase/include/ |
H A D | ut0new.h | 349 size_type n_elements, 359 if (n_elements == 0) { 363 if (n_elements > max_size()) { 496 size_type n_elements, in reallocate() argument 499 if (n_elements == 0) { in reallocate() 508 if (n_elements > max_size()) { in reallocate() 563 size_type n_elements, in new_array() argument 607 T* p = ptr + n_elements - 1; in delete_array() 631 size_type n_elements, 635 if (n_elements == 0 || n_elements > max_size()) { [all …]
|