Home
last modified time | relevance | path

Searched refs:block_size (Results 251 – 275 of 18178) sorted by relevance

1...<<11121314151617181920>>...728

/dports/audio/py-fmoo-audiotools/audiotools-3.0/audiotools/py_decoders/
H A Dflac.py45 block_size,
81 yield (block_id, block_size, self.reader.substream(block_size))
84 yield (block_id, block_size, self.reader.substream(block_size))
99 (block_size,
153 samples = [0] * block_size * channel_count
166 self.total_frames -= block_size
203 block_size = self.reader.read(8) + 1
205 block_size = self.reader.read(16) + 1
290 return [sample] * block_size
294 for x in range(block_size)]
[all …]
/dports/lang/sdcc/sdcc-4.0.0/device/lib/pic14/libc/
H A Dmemmisc.c41 size_t block_size; in _initHeap() local
57 if (block_size > MAX_BLOCK_SIZE) in _initHeap()
58 block_size = MAX_BLOCK_SIZE; in _initHeap()
61 head->datum = block_size; in _initHeap()
64 used_size += block_size; in _initHeap()
78 size_t block_size; in _allocateHeap() local
92 block_size = 0; in _allocateHeap()
98 block_size += next_head->bits.count; in _allocateHeap()
99 if (block_size >= size) in _allocateHeap()
109 if (block_size > size) in _allocateHeap()
[all …]
/dports/devel/ga/ga-5.8/armci/examples/benchmarks/lu/armci_nonblocking/
H A Dlu_nb_get.c109 printf(" %d by %d Element Blocks\n", block_size, block_size); in main()
126 edge = n%block_size; in main()
128 edge = block_size; in main()
154 size = block_size*block_size; in main()
181 size = block_size*block_size; in main()
430 size = block_size*block_size; in get_remote()
536 if(block_owner((i/block_size), (j/block_size)) == me) { in init_array()
551 ii = (i/block_size) + (j/block_size)*nblocks; in init_array()
632 ibs = block_size; in print_array()
641 ii = (i/block_size) + (j/block_size)*nblocks; in print_array()
[all …]
/dports/graphics/py-scikit-image/scikit-image-0.19.0/skimage/measure/
H A Dblock.py5 def block_reduce(image, block_size=2, func=np.sum, cval=0, func_kwargs=None): argument
63 if np.isscalar(block_size):
64 block_size = (block_size,) * image.ndim
65 elif len(block_size) != image.ndim:
73 for i in range(len(block_size)):
74 if block_size[i] < 1:
78 if image.shape[i] % block_size[i] != 0:
79 after_width = block_size[i] - (image.shape[i] % block_size[i])
87 blocked = view_as_blocks(image, block_size)
/dports/science/py-scikit-learn/scikit-learn-1.0.2/sklearn/covariance/
H A D_shrunk_covariance.py242 n_splits = int(n_features / block_size)
251 rows = slice(block_size * i, block_size * (i + 1))
252 cols = slice(block_size * j, block_size * (j + 1))
255 rows = slice(block_size * i, block_size * (i + 1))
259 cols = slice(block_size * j, block_size * (j + 1))
263 np.dot(X.T[block_size * n_splits :], X[:, block_size * n_splits :]) ** 2
267 np.dot(X2.T[block_size * n_splits :], X2[:, block_size * n_splits :])
283 def ledoit_wolf(X, *, assume_centered=False, block_size=1000): argument
337 X, assume_centered=assume_centered, block_size=block_size
452 self.block_size = block_size
[all …]
/dports/science/lammps/lammps-stable_29Sep2021/lib/kokkos/core/src/Cuda/
H A DKokkos_Cuda_BlockSize_Deduction.hpp62 int const max_blocks_regs = regs_per_sm / (regs_per_thread * block_size); in cuda_max_active_blocks_per_sm()
122 for (int block_size = max_threads_per_block; block_size > 0; in cuda_deduce_block_size() local
123 block_size -= 32) { in cuda_deduce_block_size()
124 size_t const dynamic_shmem = block_size_to_dynamic_shmem(block_size); in cuda_deduce_block_size()
127 properties, attributes, block_size, dynamic_shmem); in cuda_deduce_block_size()
129 int threads_per_sm = blocks_per_sm * block_size; in cuda_deduce_block_size()
132 blocks_per_sm = max_threads_per_sm / block_size; in cuda_deduce_block_size()
133 threads_per_sm = blocks_per_sm * block_size; in cuda_deduce_block_size()
138 opt_block_size = block_size; in cuda_deduce_block_size()
163 f, block_size / vector_length); in cuda_get_max_block_size()
[all …]
/dports/devel/kokkos/kokkos-3.4.01/core/src/Cuda/
H A DKokkos_Cuda_BlockSize_Deduction.hpp62 int const max_blocks_regs = regs_per_sm / (regs_per_thread * block_size); in cuda_max_active_blocks_per_sm()
122 for (int block_size = max_threads_per_block; block_size > 0; in cuda_deduce_block_size() local
123 block_size -= 32) { in cuda_deduce_block_size()
124 size_t const dynamic_shmem = block_size_to_dynamic_shmem(block_size); in cuda_deduce_block_size()
127 properties, attributes, block_size, dynamic_shmem); in cuda_deduce_block_size()
129 int threads_per_sm = blocks_per_sm * block_size; in cuda_deduce_block_size()
132 blocks_per_sm = max_threads_per_sm / block_size; in cuda_deduce_block_size()
133 threads_per_sm = blocks_per_sm * block_size; in cuda_deduce_block_size()
138 opt_block_size = block_size; in cuda_deduce_block_size()
163 f, block_size / vector_length); in cuda_get_max_block_size()
[all …]
/dports/security/nettle/nettle-3.7.3/
H A Dctr.c55 for (i = 0; i + block_size <= length; i += block_size) in ctr_fill()
58 INCREMENT(block_size, ctr); in ctr_fill()
113 size_t block_size, uint8_t *ctr, in ctr_crypt() argument
118 if (block_size == 16) in ctr_crypt()
135 TMP_ALLOC(block, block_size); in ctr_crypt()
137 f(ctx, block_size, block, ctr); in ctr_crypt()
138 INCREMENT(block_size, ctr); in ctr_crypt()
149 if (length < block_size) in ctr_crypt()
150 buffer_size = block_size; in ctr_crypt()
158 while (length >= block_size) in ctr_crypt()
[all …]
H A Dsha3.c66 unsigned block_size, uint8_t *block, in _nettle_sha3_update() argument
72 unsigned left = block_size - pos; in _nettle_sha3_update()
83 sha3_absorb (state, block_size, block); in _nettle_sha3_update()
86 for (; length >= block_size; length -= block_size, data += block_size) in _nettle_sha3_update()
87 sha3_absorb (state, block_size, data); in _nettle_sha3_update()
95 unsigned block_size, uint8_t *block, unsigned pos, uint8_t magic) in _nettle_sha3_pad() argument
97 assert (pos < block_size); in _nettle_sha3_pad()
100 memset (block + pos, 0, block_size - pos); in _nettle_sha3_pad()
101 block[block_size - 1] |= 0x80; in _nettle_sha3_pad()
103 sha3_absorb (state, block_size, block); in _nettle_sha3_pad()
/dports/textproc/R-cran-utf8/utf8/src/utf8lite/util/
H A Dgen-normalization.py74 def compute_tables(block_size): argument
80 begin = i * block_size
81 end = begin + block_size
98 block_size = 256 variable
106 block_size = 2**i variable
115 nbytes[block_size] = nbyte
119 best_block_size = block_size
122 block_size = best_block_size variable
185 str(block_size) + "] = {")
189 for j in range(block_size):
[all …]
/dports/security/sequoia/sequoia-383133f6be990237044900a4df676488bf8dd71e/cargo-crates/nettle-src-3.5.1-2/nettle/
H A Dctr.c55 for (i = 0; i + block_size <= length; i += block_size) in ctr_fill()
58 INCREMENT(block_size, ctr); in ctr_fill()
113 size_t block_size, uint8_t *ctr, in ctr_crypt() argument
118 if (block_size == 16) in ctr_crypt()
135 TMP_ALLOC(block, block_size); in ctr_crypt()
137 f(ctx, block_size, block, ctr); in ctr_crypt()
138 INCREMENT(block_size, ctr); in ctr_crypt()
149 if (length < block_size) in ctr_crypt()
150 buffer_size = block_size; in ctr_crypt()
158 while (length >= block_size) in ctr_crypt()
[all …]
H A Dsha3.c66 unsigned block_size, uint8_t *block, in _sha3_update() argument
72 unsigned left = block_size - pos; in _sha3_update()
83 sha3_absorb (state, block_size, block); in _sha3_update()
86 for (; length >= block_size; length -= block_size, data += block_size) in _sha3_update()
87 sha3_absorb (state, block_size, data); in _sha3_update()
95 unsigned block_size, uint8_t *block, unsigned pos) in _sha3_pad() argument
97 assert (pos < block_size); in _sha3_pad()
100 memset (block + pos, 0, block_size - pos); in _sha3_pad()
101 block[block_size - 1] |= 0x80; in _sha3_pad()
103 sha3_absorb (state, block_size, block); in _sha3_pad()
/dports/science/sparta/sparta-20Oct2021/lib/kokkos/core/src/Cuda/
H A DKokkos_Cuda_BlockSize_Deduction.hpp62 int const max_blocks_regs = regs_per_sm / (regs_per_thread * block_size); in cuda_max_active_blocks_per_sm()
122 for (int block_size = max_threads_per_block; block_size > 0; in cuda_deduce_block_size() local
123 block_size -= 32) { in cuda_deduce_block_size()
124 size_t const dynamic_shmem = block_size_to_dynamic_shmem(block_size); in cuda_deduce_block_size()
127 properties, attributes, block_size, dynamic_shmem); in cuda_deduce_block_size()
129 int threads_per_sm = blocks_per_sm * block_size; in cuda_deduce_block_size()
132 blocks_per_sm = max_threads_per_sm / block_size; in cuda_deduce_block_size()
133 threads_per_sm = blocks_per_sm * block_size; in cuda_deduce_block_size()
138 opt_block_size = block_size; in cuda_deduce_block_size()
163 f, block_size / vector_length); in cuda_get_max_block_size()
[all …]
/dports/security/gnutls/gnutls-3.6.16/lib/nettle/ecc/
H A Dsha3.c66 unsigned block_size, uint8_t *block, in _sha3_update() argument
72 unsigned left = block_size - pos; in _sha3_update()
83 sha3_absorb (state, block_size, block); in _sha3_update()
86 for (; length >= block_size; length -= block_size, data += block_size) in _sha3_update()
87 sha3_absorb (state, block_size, data); in _sha3_update()
95 unsigned block_size, uint8_t *block, unsigned pos, uint8_t magic) in _sha3_pad() argument
97 assert (pos < block_size); in _sha3_pad()
100 memset (block + pos, 0, block_size - pos); in _sha3_pad()
101 block[block_size - 1] |= 0x80; in _sha3_pad()
103 sha3_absorb (state, block_size, block); in _sha3_pad()
/dports/devel/upp/upp/bazaar/plugin/gdal/frmts/pcidsk/sdk/core/
H A Dsysvirtualfile.cpp230 int amount_to_copy = block_size - offset_in_block; in WriteToFile()
249 amount_to_copy = num_full_blocks * block_size; in WriteToFile()
282 int amount_to_copy = block_size - offset_in_block; in ReadFromFile()
350 block_size ); in LoadBlock()
375 block_size ); in FlushDirtyBlock()
447 uint64 write_cur = write_start * block_size; in WriteBlocks()
449 while (write_cur + block_size == in WriteBlocks()
453 write_cur += block_size; in WriteBlocks()
515 uint64 read_cur = read_start * block_size; in LoadBlocks()
517 while (read_cur + block_size == in LoadBlocks()
[all …]
/dports/multimedia/handbrake/ffmpeg-4.4/tests/checkasm/
H A Dhevc_sao.c80 int block_size = sao_size[i]; in check_sao_band() local
90 …if (check_func(h.sao_band_filter[i], "hevc_sao_band_%dx%d_%d", block_size, block_size, bit_depth))… in check_sao_band()
91 call_ref(dst0, src0, stride, stride, offset_val, left_class, block_size, block_size); in check_sao_band()
92 call_new(dst1, src1, stride, stride, offset_val, left_class, block_size, block_size); in check_sao_band()
95 bench_new(dst1, src1, stride, stride, offset_val, left_class, block_size, block_size); in check_sao_band()
111 int block_size = sao_size[i]; in check_sao_edge() local
122 …if (check_func(h.sao_edge_filter[i], "hevc_sao_edge_%dx%d_%d", block_size, block_size, bit_depth))… in check_sao_edge()
123 call_ref(dst0, src0 + offset, stride, offset_val, eo, block_size, block_size); in check_sao_edge()
124 call_new(dst1, src1 + offset, stride, offset_val, eo, block_size, block_size); in check_sao_edge()
127 bench_new(dst1, src1 + offset, stride, offset_val, eo, block_size, block_size); in check_sao_edge()
/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/tests/checkasm/
H A Dhevc_sao.c79 int block_size = sao_size[i]; in check_sao_band() local
89 …if (check_func(h.sao_band_filter[i], "hevc_sao_band_%dx%d_%d", block_size, block_size, bit_depth))… in check_sao_band()
90 call_ref(dst0, src0, stride, stride, offset_val, left_class, block_size, block_size); in check_sao_band()
91 call_new(dst1, src1, stride, stride, offset_val, left_class, block_size, block_size); in check_sao_band()
94 bench_new(dst1, src1, stride, stride, offset_val, left_class, block_size, block_size); in check_sao_band()
110 int block_size = sao_size[i]; in check_sao_edge() local
121 …if (check_func(h.sao_edge_filter[i], "hevc_sao_edge_%dx%d_%d", block_size, block_size, bit_depth))… in check_sao_edge()
122 call_ref(dst0, src0 + offset, stride, offset_val, eo, block_size, block_size); in check_sao_edge()
123 call_new(dst1, src1 + offset, stride, offset_val, eo, block_size, block_size); in check_sao_edge()
126 bench_new(dst1, src1 + offset, stride, offset_val, eo, block_size, block_size); in check_sao_edge()
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/extra/protobuf/protobuf-2.6.1/src/google/protobuf/io/
H A Dprinter_unittest.cc55 const int block_size = 100; in TEST() local
56 ArrayOutputStream output(buffer, GOOGLE_ARRAYSIZE(buffer), block_size); in TEST()
64 for (int block_size = 1; block_size < 512; block_size *= 2) { in TEST() local
65 ArrayOutputStream output(buffer, sizeof(buffer), block_size); in TEST()
89 for (int block_size = 1; block_size < 512; block_size *= 2) { in TEST() local
90 ArrayOutputStream output(buffer, sizeof(buffer), block_size); in TEST()
117 for (int block_size = 1; block_size < 512; block_size *= 2) { in TEST() local
118 ArrayOutputStream output(buffer, sizeof(buffer), block_size); in TEST()
174 for (int block_size = 1; block_size < 512; block_size *= 2) { in TEST() local
175 ArrayOutputStream output(buffer, sizeof(buffer), block_size); in TEST()
/dports/databases/mysqlwsrep57-server/mysql-wsrep-wsrep_5.7.35-25.27/extra/protobuf/protobuf-2.6.1/src/google/protobuf/io/
H A Dprinter_unittest.cc55 const int block_size = 100; in TEST() local
56 ArrayOutputStream output(buffer, GOOGLE_ARRAYSIZE(buffer), block_size); in TEST()
64 for (int block_size = 1; block_size < 512; block_size *= 2) { in TEST() local
65 ArrayOutputStream output(buffer, sizeof(buffer), block_size); in TEST()
89 for (int block_size = 1; block_size < 512; block_size *= 2) { in TEST() local
90 ArrayOutputStream output(buffer, sizeof(buffer), block_size); in TEST()
117 for (int block_size = 1; block_size < 512; block_size *= 2) { in TEST() local
118 ArrayOutputStream output(buffer, sizeof(buffer), block_size); in TEST()
174 for (int block_size = 1; block_size < 512; block_size *= 2) { in TEST() local
175 ArrayOutputStream output(buffer, sizeof(buffer), block_size); in TEST()
/dports/devel/glib20/glib-2.70.4/glib/
H A Dgrcbox.c171 g_rc_box_alloc_full (gsize block_size, in g_rc_box_alloc_full() argument
196 real_size = private_size + block_size; in g_rc_box_alloc_full()
248 real_box->mem_size = block_size; in g_rc_box_alloc_full()
267 real_box->mem_size = block_size; in g_rc_box_alloc_full()
301 g_rc_box_alloc (gsize block_size) in g_rc_box_alloc() argument
303 g_return_val_if_fail (block_size > 0, NULL); in g_rc_box_alloc()
328 g_rc_box_alloc0 (gsize block_size) in g_rc_box_alloc0() argument
330 g_return_val_if_fail (block_size > 0, NULL); in g_rc_box_alloc0()
384 (g_rc_box_dup) (gsize block_size, in gpointer()
389 g_return_val_if_fail (block_size > 0, NULL); in gpointer()
[all …]
/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/extra/protobuf/protobuf-2.6.1/src/google/protobuf/io/
H A Dprinter_unittest.cc55 const int block_size = 100; in TEST() local
56 ArrayOutputStream output(buffer, GOOGLE_ARRAYSIZE(buffer), block_size); in TEST()
64 for (int block_size = 1; block_size < 512; block_size *= 2) { in TEST() local
65 ArrayOutputStream output(buffer, sizeof(buffer), block_size); in TEST()
89 for (int block_size = 1; block_size < 512; block_size *= 2) { in TEST() local
90 ArrayOutputStream output(buffer, sizeof(buffer), block_size); in TEST()
117 for (int block_size = 1; block_size < 512; block_size *= 2) { in TEST() local
118 ArrayOutputStream output(buffer, sizeof(buffer), block_size); in TEST()
174 for (int block_size = 1; block_size < 512; block_size *= 2) { in TEST() local
175 ArrayOutputStream output(buffer, sizeof(buffer), block_size); in TEST()
/dports/databases/percona57-server/percona-server-5.7.36-39/extra/protobuf/protobuf-2.6.1/src/google/protobuf/io/
H A Dprinter_unittest.cc55 const int block_size = 100; in TEST() local
56 ArrayOutputStream output(buffer, GOOGLE_ARRAYSIZE(buffer), block_size); in TEST()
64 for (int block_size = 1; block_size < 512; block_size *= 2) { in TEST() local
65 ArrayOutputStream output(buffer, sizeof(buffer), block_size); in TEST()
89 for (int block_size = 1; block_size < 512; block_size *= 2) { in TEST() local
90 ArrayOutputStream output(buffer, sizeof(buffer), block_size); in TEST()
117 for (int block_size = 1; block_size < 512; block_size *= 2) { in TEST() local
118 ArrayOutputStream output(buffer, sizeof(buffer), block_size); in TEST()
174 for (int block_size = 1; block_size < 512; block_size *= 2) { in TEST() local
175 ArrayOutputStream output(buffer, sizeof(buffer), block_size); in TEST()
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/tests/checkasm/
H A Dhevc_sao.c80 int block_size = sao_size[i]; in check_sao_band() local
90 …if (check_func(h.sao_band_filter[i], "hevc_sao_band_%dx%d_%d", block_size, block_size, bit_depth))… in check_sao_band()
91 call_ref(dst0, src0, stride, stride, offset_val, left_class, block_size, block_size); in check_sao_band()
92 call_new(dst1, src1, stride, stride, offset_val, left_class, block_size, block_size); in check_sao_band()
95 bench_new(dst1, src1, stride, stride, offset_val, left_class, block_size, block_size); in check_sao_band()
111 int block_size = sao_size[i]; in check_sao_edge() local
122 …if (check_func(h.sao_edge_filter[i], "hevc_sao_edge_%dx%d_%d", block_size, block_size, bit_depth))… in check_sao_edge()
123 call_ref(dst0, src0 + offset, stride, offset_val, eo, block_size, block_size); in check_sao_edge()
124 call_new(dst1, src1 + offset, stride, offset_val, eo, block_size, block_size); in check_sao_edge()
127 bench_new(dst1, src1 + offset, stride, offset_val, eo, block_size, block_size); in check_sao_edge()
/dports/databases/percona57-client/percona-server-5.7.36-39/extra/protobuf/protobuf-2.6.1/src/google/protobuf/io/
H A Dprinter_unittest.cc55 const int block_size = 100; in TEST() local
56 ArrayOutputStream output(buffer, GOOGLE_ARRAYSIZE(buffer), block_size); in TEST()
64 for (int block_size = 1; block_size < 512; block_size *= 2) { in TEST() local
65 ArrayOutputStream output(buffer, sizeof(buffer), block_size); in TEST()
89 for (int block_size = 1; block_size < 512; block_size *= 2) { in TEST() local
90 ArrayOutputStream output(buffer, sizeof(buffer), block_size); in TEST()
117 for (int block_size = 1; block_size < 512; block_size *= 2) { in TEST() local
118 ArrayOutputStream output(buffer, sizeof(buffer), block_size); in TEST()
174 for (int block_size = 1; block_size < 512; block_size *= 2) { in TEST() local
175 ArrayOutputStream output(buffer, sizeof(buffer), block_size); in TEST()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/tests/checkasm/
H A Dhevc_sao.c79 int block_size = sao_size[i]; in check_sao_band() local
89 …if (check_func(h.sao_band_filter[i], "hevc_sao_band_%dx%d_%d", block_size, block_size, bit_depth))… in check_sao_band()
90 call_ref(dst0, src0, stride, stride, offset_val, left_class, block_size, block_size); in check_sao_band()
91 call_new(dst1, src1, stride, stride, offset_val, left_class, block_size, block_size); in check_sao_band()
94 bench_new(dst1, src1, stride, stride, offset_val, left_class, block_size, block_size); in check_sao_band()
110 int block_size = sao_size[i]; in check_sao_edge() local
121 …if (check_func(h.sao_edge_filter[i], "hevc_sao_edge_%dx%d_%d", block_size, block_size, bit_depth))… in check_sao_edge()
122 call_ref(dst0, src0 + offset, stride, offset_val, eo, block_size, block_size); in check_sao_edge()
123 call_new(dst1, src1 + offset, stride, offset_val, eo, block_size, block_size); in check_sao_edge()
126 bench_new(dst1, src1 + offset, stride, offset_val, eo, block_size, block_size); in check_sao_edge()

1...<<11121314151617181920>>...728