/dports/math/deal.ii/dealii-803d21ff957e349b3799cd3ef2c840bc78734305/include/deal.II/lac/ |
H A D | block_indices.h | 259 n_blocks = nb; in reinit() 282 : n_blocks(0) in BlockIndices() 290 : n_blocks(n_blocks) in BlockIndices() 309 : n_blocks(b.n_blocks) in BlockIndices() 322 ++n_blocks; in push_back() 355 return n_blocks; in size() 363 if (n_blocks == 0) in total_size() 408 n_blocks = b.n_blocks; 418 n_blocks = b.n_blocks; 431 if (n_blocks != b.n_blocks) [all …]
|
H A D | la_parallel_block_vector.templates.h | 177 Assert(this->n_blocks() == 0 || this->n_blocks() == v.n_blocks(), 180 if (this->n_blocks() != v.n_blocks()) 444 AssertDimension(this->n_blocks(), v.n_blocks()); in scale() 461 AssertDimension(this->n_blocks(), v.n_blocks()); in equ() 477 AssertDimension(this->n_blocks(), v.n_blocks()); 495 AssertDimension(this->n_blocks(), v.n_blocks()); 524 AssertDimension(this->n_blocks(), v.n_blocks()); in add() 543 AssertDimension(this->n_blocks(), v.n_blocks()); in add() 548 AssertDimension(this->n_blocks(), v.n_blocks()); in add() 567 AssertDimension(this->n_blocks(), v.n_blocks()); in sadd() [all …]
|
H A D | block_vector_base.h | 1600 Assert(n_blocks() == v.n_blocks(), 1702 Assert(n_blocks() == v.n_blocks(), 1719 Assert(n_blocks() == v.n_blocks(), 1793 Assert(n_blocks() == v.n_blocks(), in add() 1814 Assert(n_blocks() == v.n_blocks(), in add() 1816 Assert(n_blocks() == w.n_blocks(), in add() 1835 Assert(n_blocks() == v.n_blocks(), in sadd() 1855 Assert(n_blocks() == v.n_blocks(), in sadd() 1878 Assert(n_blocks() == v.n_blocks(), in sadd() 1880 Assert(n_blocks() == w.n_blocks(), in sadd() [all …]
|
H A D | petsc_block_vector.h | 162 reinit(const unsigned int n_blocks, 314 this->components.resize(v.n_blocks()); in BlockVector() 348 Assert(n_blocks() == 0 || n_blocks() == v.n_blocks(), 349 ExcDimensionMismatch(n_blocks(), v.n_blocks())); 351 if (this->n_blocks() != v.n_blocks()) 352 reinit(v.n_blocks()); 365 BlockVector::reinit(const unsigned int n_blocks, in reinit() argument 387 this->components.resize(this->n_blocks()); in reinit() 402 this->components.resize(this->n_blocks()); in reinit() 418 this->components.resize(this->n_blocks()); in reinit() [all …]
|
H A D | block_vector.templates.h | 34 reinit(n_blocks, block_size); in BlockVector() 57 this->components.resize(v.n_blocks()); in BlockVector() 60 for (size_type i = 0; i < this->n_blocks(); ++i) in BlockVector() 82 this->components.resize(this->n_blocks()); in BlockVector() 84 for (size_type i = 0; i < this->n_blocks(); ++i) in BlockVector() 110 if (this->components.size() != this->n_blocks()) in reinit() 111 this->components.resize(this->n_blocks()); in reinit() 113 for (size_type i = 0; i < this->n_blocks(); ++i) in reinit() 124 if (this->components.size() != this->n_blocks()) in reinit() 125 this->components.resize(this->n_blocks()); in reinit() [all …]
|
/dports/math/deal.ii/dealii-803d21ff957e349b3799cd3ef2c840bc78734305/source/lac/ |
H A D | trilinos_block_vector.cc | 44 Assert(n_blocks() == 0 || n_blocks() == v.n_blocks(), in operator =() 45 ExcDimensionMismatch(n_blocks(), v.n_blocks())); in operator =() 47 if (this->n_blocks() != v.n_blocks()) in operator =() 48 reinit(v.n_blocks()); in operator =() 83 if (components.size() != n_blocks()) in reinit() 84 components.resize(n_blocks()); in reinit() 109 if (components.size() != n_blocks()) in reinit() 110 components.resize(n_blocks()); in reinit() 126 if (components.size() != n_blocks()) in reinit() 127 components.resize(n_blocks()); in reinit() [all …]
|
H A D | cuda_vector.cu | 160 <<<n_blocks, block_size>>>(val.get(), tmp, n_elements); in import() 195 <<<n_blocks, block_size>>>(val.get(), factor, n_elements); in operator *=() 290 <<<dim3(n_blocks, 1), dim3(block_size)>>>(result_device, in operator *() 318 <<<n_blocks, block_size>>>(val.get(), a, n_elements); in add() 406 kernel::sadd<Number><<<dim3(n_blocks, 1), dim3(block_size)>>>( in sadd() 429 kernel::scale<Number><<<dim3(n_blocks, 1), dim3(block_size)>>>( in scale() 454 kernel::equ<Number><<<dim3(n_blocks, 1), dim3(block_size)>>>( in equ() 481 <<<dim3(n_blocks, 1), dim3(block_size)>>>(result_device, in mean_value() 512 <<<dim3(n_blocks, 1), dim3(block_size)>>>(result_device, in l1_norm() 560 <<<dim3(n_blocks, 1), dim3(block_size)>>>(result_device, in linfty_norm() [all …]
|
/dports/devel/glib20/glib-2.70.4/glib/ |
H A D | gmem.c | 336 g_malloc_n (gsize n_blocks, in g_malloc_n() argument 339 if (SIZE_OVERFLOWS (n_blocks, n_block_bytes)) in g_malloc_n() 345 return g_malloc (n_blocks * n_block_bytes); in g_malloc_n() 360 g_malloc0_n (gsize n_blocks, in g_malloc0_n() argument 363 if (SIZE_OVERFLOWS (n_blocks, n_block_bytes)) in g_malloc0_n() 369 return g_malloc0 (n_blocks * n_block_bytes); in g_malloc0_n() 386 gsize n_blocks, in g_realloc_n() argument 389 if (SIZE_OVERFLOWS (n_blocks, n_block_bytes)) in g_realloc_n() 410 g_try_malloc_n (gsize n_blocks, in g_try_malloc_n() argument 431 g_try_malloc0_n (gsize n_blocks, in g_try_malloc0_n() argument [all …]
|
/dports/math/onednn/oneDNN-2.5.1/src/cpu/x64/brgemm/ |
H A D | jit_brdgmm_kernel.cpp | 130 for (int n = 0; n < n_blocks; ++n) { in load_accumulators() 131 auto vmm = accm(m_blocks, n_blocks, m, n); in load_accumulators() 277 for (int n = 0; n < n_blocks; n++) { in store_accumulators_apply_post_ops() 298 for (int n = 0; n < n_blocks; n++) { in store_accumulators_apply_post_ops() 324 for (int n = 0; n < n_blocks; n++) { in store_accumulators_apply_post_ops() 330 for (int n = 0; n < n_blocks; n++) { in store_accumulators_apply_post_ops() 365 for (int n = 0; n < n_blocks; n++) { in store_accumulators_without_post_ops() 486 const int n_e = max_bvmms >= n_blocks ? n_blocks : (max_bvmms - 1); in brdgmm_microkernel() 600 load_accumulators(m_blocks, n_blocks); in batch_loop() 633 const int n_blocks = n_blocking(); in compute_loop() local [all …]
|
/dports/math/vtk9/VTK-9.1.0/ThirdParty/vtkm/vtkvtkm/vtk-m/examples/contour_tree_distributed/ |
H A D | split_data_2d.py | 14 def save_piece(fn, array, offset, n_blocks, block_index, size): argument 18 f.write('#BLOCKS_PER_DIM ' + ' '.join(map(str, n_blocks))+'\n') 34 n_blocks = (2, 2) variable 37 n_blocks = (int(sys.argv[2]), int(sys.argv[3])) variable 39 n_blocks = (int(sys.argv[2]), int(sys.argv[2])) 42 out_filename_pattern = name + '_part_%d_of_' + str(n_blocks[0]*n_blocks[1]) + ext 48 split_points_x = split_points(data.shape[0], n_blocks[0]) 49 split_points_y = split_points(data.shape[1], n_blocks[1]) 57 …save_piece(out_filename_pattern % block_no, data, (x_start, y_start), n_blocks, (block_index_x, bl…
|
/dports/deskutils/spice-gtk/spice-gtk-0.37/subprojects/spice-common/common/ |
H A D | mem.c | 138 void *spice_malloc_n(size_t n_blocks, size_t n_block_bytes) in spice_malloc_n() argument 140 if (SIZE_OVERFLOWS (n_blocks, n_block_bytes)) { in spice_malloc_n() 145 return spice_malloc(n_blocks * n_block_bytes); in spice_malloc_n() 151 if (SIZE_OVERFLOWS (n_blocks, n_block_bytes)) { in spice_malloc_n_m() 155 size1 = n_blocks * n_block_bytes; in spice_malloc_n_m() 165 void *spice_malloc0_n(size_t n_blocks, size_t n_block_bytes) in spice_malloc0_n() argument 167 if (SIZE_OVERFLOWS (n_blocks, n_block_bytes)) { in spice_malloc0_n() 172 return spice_malloc0 (n_blocks * n_block_bytes); in spice_malloc0_n() 175 void *spice_realloc_n(void *mem, size_t n_blocks, size_t n_block_bytes) in spice_realloc_n() argument 177 if (SIZE_OVERFLOWS (n_blocks, n_block_bytes)) { in spice_realloc_n() [all …]
|
/dports/devel/libspice-server/spice-0.15.0/subprojects/spice-common/common/ |
H A D | mem.c | 136 void *spice_malloc_n(size_t n_blocks, size_t n_block_bytes) in spice_malloc_n() argument 138 if (SIZE_OVERFLOWS (n_blocks, n_block_bytes)) { in spice_malloc_n() 143 return spice_malloc(n_blocks * n_block_bytes); in spice_malloc_n() 149 if (SIZE_OVERFLOWS (n_blocks, n_block_bytes)) { in spice_malloc_n_m() 153 size1 = n_blocks * n_block_bytes; in spice_malloc_n_m() 163 void *spice_malloc0_n(size_t n_blocks, size_t n_block_bytes) in spice_malloc0_n() argument 165 if (SIZE_OVERFLOWS (n_blocks, n_block_bytes)) { in spice_malloc0_n() 170 return spice_malloc0 (n_blocks * n_block_bytes); in spice_malloc0_n() 173 void *spice_realloc_n(void *mem, size_t n_blocks, size_t n_block_bytes) in spice_realloc_n() argument 175 if (SIZE_OVERFLOWS (n_blocks, n_block_bytes)) { in spice_realloc_n() [all …]
|
/dports/math/R-cran-haven/haven/src/readstat/spss/ |
H A D | readstat_zsav_read.c | 21 int32_t n_blocks; member 53 int n_blocks = 0; in zsav_read_compressed_data() local 71 n_blocks = (zheader.ztrailer_len - 24) / 24; in zsav_read_compressed_data() 86 ztrailer.n_blocks = ctx->bswap ? byteswap4(ztrailer.n_blocks) : ztrailer.n_blocks; in zsav_read_compressed_data() 88 if (n_blocks != ztrailer.n_blocks) { in zsav_read_compressed_data() 93 …if (n_blocks && (ztrailer_entries = readstat_malloc(n_blocks * sizeof(struct ztrailer_entry))) == … in zsav_read_compressed_data() 98 if (io->read(ztrailer_entries, n_blocks * sizeof(struct ztrailer_entry), io->io_ctx) < in zsav_read_compressed_data() 99 n_blocks * sizeof(struct ztrailer_entry)) { in zsav_read_compressed_data() 104 for (i=0; i<n_blocks; i++) { in zsav_read_compressed_data() 119 if (block_i == n_blocks) in zsav_read_compressed_data()
|
/dports/multimedia/handbrake/ffmpeg-4.4/libavcodec/ |
H A D | smc.c | 73 if (total_blocks < !!n_blocks) \ 89 int n_blocks; in smc_decode_stream() local 146 while (n_blocks--) { in smc_decode_stream() 170 while (n_blocks--) { in smc_decode_stream() 188 n_blocks *= 2; in smc_decode_stream() 212 while (n_blocks--) { in smc_decode_stream() 237 while (n_blocks--) { in smc_decode_stream() 272 while (n_blocks--) { in smc_decode_stream() 314 while (n_blocks--) { in smc_decode_stream() 355 while (n_blocks--) { in smc_decode_stream() [all …]
|
/dports/emulators/vice/vice-3.5/src/lib/libffmpeg/libavcodec/ |
H A D | smc.c | 73 if (total_blocks < 0 + !!n_blocks) \ 89 int n_blocks; in smc_decode_stream() local 142 while (n_blocks--) { in smc_decode_stream() 166 while (n_blocks--) { in smc_decode_stream() 184 n_blocks *= 2; in smc_decode_stream() 208 while (n_blocks--) { in smc_decode_stream() 233 while (n_blocks--) { in smc_decode_stream() 268 while (n_blocks--) { in smc_decode_stream() 310 while (n_blocks--) { in smc_decode_stream() 351 while (n_blocks--) { in smc_decode_stream() [all …]
|
/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/libavcodec/ |
H A D | smc.c | 73 if (total_blocks < !!n_blocks) \ 89 int n_blocks; in smc_decode_stream() local 146 while (n_blocks--) { in smc_decode_stream() 170 while (n_blocks--) { in smc_decode_stream() 188 n_blocks *= 2; in smc_decode_stream() 212 while (n_blocks--) { in smc_decode_stream() 237 while (n_blocks--) { in smc_decode_stream() 272 while (n_blocks--) { in smc_decode_stream() 314 while (n_blocks--) { in smc_decode_stream() 355 while (n_blocks--) { in smc_decode_stream() [all …]
|
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/libavcodec/ |
H A D | smc.c | 73 if (total_blocks < !!n_blocks) \ 89 int n_blocks; in smc_decode_stream() local 146 while (n_blocks--) { in smc_decode_stream() 170 while (n_blocks--) { in smc_decode_stream() 188 n_blocks *= 2; in smc_decode_stream() 212 while (n_blocks--) { in smc_decode_stream() 237 while (n_blocks--) { in smc_decode_stream() 272 while (n_blocks--) { in smc_decode_stream() 314 while (n_blocks--) { in smc_decode_stream() 355 while (n_blocks--) { in smc_decode_stream() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/ffmpeg/libavcodec/ |
H A D | smc.c | 73 if (total_blocks < !!n_blocks) \ 89 int n_blocks; in smc_decode_stream() local 146 while (n_blocks--) { in smc_decode_stream() 170 while (n_blocks--) { in smc_decode_stream() 188 n_blocks *= 2; in smc_decode_stream() 212 while (n_blocks--) { in smc_decode_stream() 237 while (n_blocks--) { in smc_decode_stream() 272 while (n_blocks--) { in smc_decode_stream() 314 while (n_blocks--) { in smc_decode_stream() 355 while (n_blocks--) { in smc_decode_stream() [all …]
|
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/lib/libffmpeg/libavcodec/ |
H A D | smc.c | 73 if (total_blocks < 0 + !!n_blocks) \ 89 int n_blocks; in smc_decode_stream() local 142 while (n_blocks--) { in smc_decode_stream() 166 while (n_blocks--) { in smc_decode_stream() 184 n_blocks *= 2; in smc_decode_stream() 208 while (n_blocks--) { in smc_decode_stream() 233 while (n_blocks--) { in smc_decode_stream() 268 while (n_blocks--) { in smc_decode_stream() 310 while (n_blocks--) { in smc_decode_stream() 351 while (n_blocks--) { in smc_decode_stream() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/libavcodec/ |
H A D | smc.c | 73 if (total_blocks < !!n_blocks) \ 89 int n_blocks; in smc_decode_stream() local 146 while (n_blocks--) { in smc_decode_stream() 170 while (n_blocks--) { in smc_decode_stream() 188 n_blocks *= 2; in smc_decode_stream() 212 while (n_blocks--) { in smc_decode_stream() 237 while (n_blocks--) { in smc_decode_stream() 272 while (n_blocks--) { in smc_decode_stream() 314 while (n_blocks--) { in smc_decode_stream() 355 while (n_blocks--) { in smc_decode_stream() [all …]
|
/dports/graphics/cogl/cogl-1.22.8/deps/glib/ |
H A D | gmem.c | 104 standard_calloc (gsize n_blocks, in standard_calloc() argument 107 return calloc (n_blocks, n_bytes); in standard_calloc() 369 g_malloc_n (gsize n_blocks, in g_malloc_n() argument 396 g_malloc0_n (gsize n_blocks, in g_malloc0_n() argument 425 gsize n_blocks, in g_realloc_n() argument 452 g_try_malloc_n (gsize n_blocks, in g_try_malloc_n() argument 473 g_try_malloc0_n (gsize n_blocks, in g_try_malloc0_n() argument 496 gsize n_blocks, in g_try_realloc_n() argument 508 fallback_calloc (gsize n_blocks, in fallback_calloc() argument 511 gsize l = n_blocks * n_block_bytes; in fallback_calloc() [all …]
|
/dports/math/deal.ii/dealii-803d21ff957e349b3799cd3ef2c840bc78734305/source/multigrid/ |
H A D | mg_transfer_block.cc | 106 const unsigned int n_blocks = dof_handler.get_fe().n_blocks(); in reinit_vector_by_blocks() local 221 const unsigned int n_blocks = fe.n_blocks(); in build() local 225 Assert(selected.size() == n_blocks, in build() 231 mg_block.resize(n_blocks); in build() 233 for (unsigned int i = 0; i < n_blocks; ++i) in build() 275 copy_indices.resize(n_blocks); in build() 327 prolongation_sparsities[level]->reinit(n_blocks, n_blocks); in build() 499 unsigned int n_blocks = dof_handler.get_fe().n_blocks(); in build() local 502 selected.resize(n_blocks, false); in build() 597 unsigned int n_blocks = dof_handler.get_fe().n_blocks(); in build() local [all …]
|
/dports/lang/v8/v8-9.6.180.12/src/diagnostics/ |
H A D | basic-block-profiler.cc | 20 BasicBlockProfilerData::BasicBlockProfilerData(size_t n_blocks) in DEFINE_LAZY_LEAKY_OBJECT_GETTER() 21 : block_ids_(n_blocks), counts_(n_blocks, 0) {} in DEFINE_LAZY_LEAKY_OBJECT_GETTER() 36 DCHECK(offset < n_blocks()); in SetBlockId() 43 for (size_t i = 0; i < n_blocks(); ++i) { in ResetCounts() 99 n_blocks()); // Overflow in CopyToJSHeap() 107 static_cast<int>(n_blocks() * kBlockCountSlotSize); in CopyToJSHeap() 110 n_blocks()); // Overflow in CopyToJSHeap() 177 for (size_t i = 0; i < data.n_blocks(); ++i) { in GetCoverageBitmap() 186 for (size_t i = 0; i < n_blocks(); ++i) { in Log() 215 pairs.reserve(d.n_blocks()); in operator <<() [all …]
|
/dports/sysutils/xvidcap/xvidcap-1.1.7/ffmpeg/libavcodec/ |
H A D | smc.c | 87 int n_blocks; in smc_decode_stream() local 149 n_blocks = GET_BLOCK_COUNT(); in smc_decode_stream() 150 while (n_blocks--) { in smc_decode_stream() 174 while (n_blocks--) { in smc_decode_stream() 192 n_blocks *= 2; in smc_decode_stream() 216 while (n_blocks--) { in smc_decode_stream() 241 while (n_blocks--) { in smc_decode_stream() 276 while (n_blocks--) { in smc_decode_stream() 319 while (n_blocks--) { in smc_decode_stream() 361 while (n_blocks--) { in smc_decode_stream() [all …]
|
/dports/multimedia/gstreamer1-plugins-v4l2/gst-plugins-good-1.16.2/gst/audioparsers/ |
H A D | gstsbcparse.c | 78 guint * n_blocks, GstSbcChannelMode * ch_mode, 115 sbcparse->n_blocks = -1; in gst_sbc_parse_reset() 189 guint rate = 0, n_blocks = 0, n_subbands = 0, bitpool = 0; in gst_sbc_parse_handle_frame() local 208 || sbcparse->n_blocks != n_blocks in gst_sbc_parse_handle_frame() 227 avg_bitrate = (8 * frame_len * rate) / (n_subbands * n_blocks); in gst_sbc_parse_handle_frame() 235 sbcparse->n_blocks = n_blocks; in gst_sbc_parse_handle_frame() 250 max_frames = MIN (map.size / frame_len, n_blocks * n_subbands * 5); in gst_sbc_parse_handle_frame() 255 &n_blocks, &ch_mode, &alloc_method, &n_subbands, &bitpool); in gst_sbc_parse_handle_frame() 259 sbcparse->n_blocks != n_blocks || sbcparse->n_subbands != n_subbands || in gst_sbc_parse_handle_frame() 269 sbcparse->n_subbands * sbcparse->n_blocks * i, 0, 0); in gst_sbc_parse_handle_frame() [all …]
|