Home
last modified time | relevance | path

Searched refs:block_size (Results 1 – 25 of 6146) sorted by relevance

12345678910>>...246

/dports/science/hypre/hypre-2.23.0/src/parcsr_block_mv/
H A Dcsr_block_matrix.c169 bnnz = block_size * block_size; in hypre_CSRBlockMatrixCompress()
202 bnnz = block_size * block_size; in hypre_CSRBlockMatrixConvertToCSRMatrix()
631 dgemm_("N","N", &block_size, &block_size, &block_size, &alp, i2, &block_size, i1, in hypre_CSRBlockMatrixBlockMultAdd()
712 o[i*block_size + i] = o[i*block_size + i] + i1[i*block_size + i] * i2[i*block_size + i]; in hypre_CSRBlockMatrixBlockMultAddDiag()
719 … o[i*block_size + i] = beta* o[i*block_size + i] + i1[i*block_size + i] * i2[i*block_size + i]; in hypre_CSRBlockMatrixBlockMultAddDiag()
757 o[i*block_size + i] = o[i*block_size + i] + i1[i*block_size + i] * i2[i*block_size + i]; in hypre_CSRBlockMatrixBlockMultAddDiagCheckSign()
802 … o[i*block_size + j] = o[i*block_size + j] + i1[i*block_size + j] * i2[j*block_size + j]; in hypre_CSRBlockMatrixBlockMultAddDiag2()
999 sz = block_size*block_size; in hypre_CSRBlockMatrixBlockInvMatvec()
1186 sz = block_size*block_size; in hypre_CSRBlockMatrixBlockInvMult()
1394 sz = block_size*block_size; in hypre_CSRBlockMatrixBlockMultInv()
[all …]
H A Dpar_csr_block_relax.c116 HYPRE_Int bnnz = block_size*block_size; in hypre_BoomerAMGBlockRelax()
223 for (k = 0; k < block_size; k++) in hypre_BoomerAMGBlockRelax()
241 for (i = 0; i < n*block_size; i++) in hypre_BoomerAMGBlockRelax()
264 for (k=0; k< block_size; k++) in hypre_BoomerAMGBlockRelax()
289 for (k=0; k< block_size; k++) in hypre_BoomerAMGBlockRelax()
316 for (k=0; k< block_size; k++) in hypre_BoomerAMGBlockRelax()
341 for (k=0; k< block_size; k++) in hypre_BoomerAMGBlockRelax()
383 for (k = 0; k < block_size; k++) in hypre_BoomerAMGBlockRelax()
402 for (i = 0; i < n*block_size; i++) in hypre_BoomerAMGBlockRelax()
2074 for (k=0; k < block_size; k++) in hypre_BoomerAMGBlockRelax()
[all …]
/dports/benchmarks/stress-ng/stress-ng-0.13.09/
H A Dstress-af-alg-defconfigs.h1 { .crypto_type = CRYPTO_AEAD, .type = "aead", .name = "aegis128", .block_size = 1, .max_auth_size =…
8 { .crypto_type = CRYPTO_AHASH, .type = "ahash", .name = "ghash", .block_size = 16, .digest_size = 1…
13 { .crypto_type = CRYPTO_CIPHER, .type = "cipher", .name = "aes", .block_size = 16, .max_key_size = …
19 { .crypto_type = CRYPTO_CIPHER, .type = "cipher", .name = "cipher_null", .block_size = 1 },
21 { .crypto_type = CRYPTO_CIPHER, .type = "cipher", .name = "des", .block_size = 8, .max_key_size = 8…
27 { .crypto_type = CRYPTO_CIPHER, .type = "cipher", .name = "tea", .block_size = 8, .max_key_size = 1…
41 { .crypto_type = CRYPTO_SHASH, .type = "shash", .name = "crc32", .block_size = 1, .digest_size = 4 …
42 { .crypto_type = CRYPTO_SHASH, .type = "shash", .name = "crc32c", .block_size = 1, .digest_size = 4…
44 { .crypto_type = CRYPTO_SHASH, .type = "shash", .name = "digest_null", .block_size = 1 },
48 { .crypto_type = CRYPTO_SHASH, .type = "shash", .name = "md4", .block_size = 64, .digest_size = 16 …
[all …]
/dports/security/nettle/nettle-3.7.3/
H A Dcfb.c61 …for (p = iv; length >= block_size; p = dst, dst += block_size, src += block_size, length -= block_… in cfb_encrypt()
69 …for (p = iv; length >= block_size; p = dst, dst += block_size, src += block_size, length -= block_… in cfb_encrypt()
106 f(ctx, length - block_size, dst + block_size, src); in cfb_decrypt()
107 memcpy(iv, src + length - block_size, block_size); in cfb_decrypt()
150 f(ctx, part - block_size, buffer + block_size, dst); in cfb_decrypt()
151 memcpy(iv, dst + part - block_size, block_size); in cfb_decrypt()
188 memcpy(buffer, buffer + block_size, block_size); in cfb8_encrypt()
215 length < block_size ? length : block_size); in cfb8_decrypt()
229 if (i == block_size) in cfb8_decrypt()
231 memcpy(buffer, buffer + block_size, block_size); in cfb8_decrypt()
[all …]
H A Dcbc.c53 assert(!(length % block_size)); in cbc_encrypt()
55 for ( ; length; length -= block_size, src += block_size, dst += block_size) in cbc_encrypt()
72 assert(!(length % block_size)); in cbc_decrypt()
84 memxor(dst + block_size, src, length - block_size); in cbc_decrypt()
85 memcpy(iv, src + length - block_size, block_size); in cbc_decrypt()
116 memcpy(iv, dst + buffer_size - block_size, block_size); in cbc_decrypt()
117 memxor3(dst + block_size, buffer + block_size, dst, in cbc_decrypt()
118 buffer_size - block_size); in cbc_decrypt()
125 memcpy(iv, dst + length - block_size, block_size); in cbc_decrypt()
127 memxor3(dst + block_size, buffer + block_size, dst, in cbc_decrypt()
[all …]
/dports/security/gnutls/gnutls-3.6.16/lib/nettle/backport/
H A Dcfb.c60 …for (p = iv; length >= block_size; p = dst, dst += block_size, src += block_size, length -= block_… in cfb_encrypt()
68 …for (p = iv; length >= block_size; p = dst, dst += block_size, src += block_size, length -= block_… in cfb_encrypt()
105 f(ctx, length - block_size, dst + block_size, src); in cfb_decrypt()
106 memcpy(iv, src + length - block_size, block_size); in cfb_decrypt()
149 f(ctx, part - block_size, buffer + block_size, dst); in cfb_decrypt()
150 memcpy(iv, dst + part - block_size, block_size); in cfb_decrypt()
187 memcpy(buffer, buffer + block_size, block_size); in cfb8_encrypt()
214 length < block_size ? length : block_size); in cfb8_decrypt()
228 if (i == block_size) in cfb8_decrypt()
230 memcpy(buffer, buffer + block_size, block_size); in cfb8_decrypt()
[all …]
/dports/security/sequoia/sequoia-383133f6be990237044900a4df676488bf8dd71e/cargo-crates/nettle-src-3.5.1-2/nettle/
H A Dcfb.c61 …for (p = iv; length >= block_size; p = dst, dst += block_size, src += block_size, length -= block_… in cfb_encrypt()
63 f(ctx, block_size, dst, p); in cfb_encrypt()
69 …for (p = iv; length >= block_size; p = dst, dst += block_size, src += block_size, length -= block_… in cfb_encrypt()
106 f(ctx, length - block_size, dst + block_size, src); in cfb_decrypt()
107 memcpy(iv, src + length - block_size, block_size); in cfb_decrypt()
150 f(ctx, part - block_size, buffer + block_size, dst); in cfb_decrypt()
151 memcpy(iv, dst + part - block_size, block_size); in cfb_decrypt()
188 memcpy(buffer, buffer + block_size, block_size); in cfb8_encrypt()
215 length < block_size ? length : block_size); in cfb8_decrypt()
229 memcpy(buffer, buffer + block_size, block_size); in cfb8_decrypt()
[all …]
H A Dcbc.c53 assert(!(length % block_size)); in cbc_encrypt()
55 for ( ; length; length -= block_size, src += block_size, dst += block_size) in cbc_encrypt()
72 assert(!(length % block_size)); in cbc_decrypt()
84 memxor(dst + block_size, src, length - block_size); in cbc_decrypt()
85 memcpy(iv, src + length - block_size, block_size); in cbc_decrypt()
116 memcpy(iv, dst + buffer_size - block_size, block_size); in cbc_decrypt()
117 memxor3(dst + block_size, buffer + block_size, dst, in cbc_decrypt()
118 buffer_size - block_size); in cbc_decrypt()
125 memcpy(iv, dst + length - block_size, block_size); in cbc_decrypt()
127 memxor3(dst + block_size, buffer + block_size, dst, in cbc_decrypt()
[all …]
/dports/security/py-cryptography/stage/usr/local/lib/python3.8/site-packages/cryptography/hazmat/primitives/
H A Dpadding.py31 def _byte_padding_check(block_size): argument
32 if not (0 <= block_size <= 2040):
35 if block_size % 8 != 0:
102 def __init__(self, block_size): argument
104 self.block_size = block_size
116 self.block_size = block_size
140 self.block_size = block_size
161 self.block_size = block_size
173 self.block_size = block_size
197 self.block_size = block_size
[all …]
/dports/security/py-cryptography/cryptography-3.3.2/src/cryptography/hazmat/primitives/
H A Dpadding.py31 def _byte_padding_check(block_size): argument
32 if not (0 <= block_size <= 2040):
35 if block_size % 8 != 0:
102 def __init__(self, block_size): argument
104 self.block_size = block_size
116 self.block_size = block_size
140 self.block_size = block_size
161 self.block_size = block_size
173 self.block_size = block_size
197 self.block_size = block_size
[all …]
/dports/security/py-cryptography/cryptography-3.3.2/build/lib.dragonfly-6.3-DEVELOPMENT-x86_64-3.8/cryptography/hazmat/primitives/
H A Dpadding.py31 def _byte_padding_check(block_size): argument
32 if not (0 <= block_size <= 2040):
35 if block_size % 8 != 0:
102 def __init__(self, block_size): argument
104 self.block_size = block_size
116 self.block_size = block_size
140 self.block_size = block_size
161 self.block_size = block_size
173 self.block_size = block_size
197 self.block_size = block_size
[all …]
/dports/security/botan110/Botan-1.10.17/src/filters/modes/xts/
H A Dxts.cpp51 if(cipher->block_size() != 8 && cipher->block_size() != 16) in XTS_Encryption()
67 if(cipher->block_size() != 8 && cipher->block_size() != 16) in XTS_Encryption()
104 poly_double(&tweak[i*cipher->block_size()], cipher->block_size()); in set_iv()
164 poly_double(&tweak[i*cipher->block_size()], cipher->block_size()); in buffered_block()
177 if(length <= cipher->block_size()) in buffered_final()
188 ((length / cipher->block_size()) - 1) * cipher->block_size(); in buffered_final()
223 if(cipher->block_size() != 8 && cipher->block_size() != 16) in XTS_Decryption()
239 if(cipher->block_size() != 8 && cipher->block_size() != 16) in XTS_Decryption()
276 poly_double(&tweak[i*cipher->block_size()], cipher->block_size()); in set_iv()
337 poly_double(&tweak[i*cipher->block_size()], cipher->block_size()); in buffered_block()
[all …]
/dports/multimedia/schroedinger/schroedinger-1.0.11/schroedinger/cuda/
H A Dframe.cu39 block_size.y = block_size.z = 1; in cuda_convert_u8_s16()
52 block_size.y = block_size.z = 1; in cuda_convert_s16_u8()
65 block_size.y = block_size.z = 1; in cuda_convert_u8_u8()
78 block_size.y = block_size.z = 1; in cuda_convert_s16_s16()
93 block_size.y = block_size.z = 1; in cuda_convert_u8_422_yuyv()
108 block_size.y = block_size.z = 1; in cuda_convert_u8_422_uyvy()
121 block_size.y = block_size.z = 1; in cuda_convert_u8_444_ayuv()
136 block_size.y = block_size.z = 1; in cuda_convert_yuyv_u8_422()
151 block_size.y = block_size.z = 1; in cuda_convert_uyvy_u8_422()
164 block_size.y = block_size.z = 1; in cuda_convert_ayuv_u8_444()
[all …]
/dports/audio/spectmorph/spectmorph-0.5.2/lib/
H A Dsmifftsynth.cc24 block_size (block_size),
29 table = table_for_block_size[block_size]; in decode()
43 if (i < block_size / 2) in decode()
44 win[i] = window_blackman_harris_92 (double (block_size / 2 - i) / block_size * 2 - 1.0); in decode()
46 …win[win_size - block_size + i] = window_blackman_harris_92 (double (i - block_size / 2) / block_si… in decode()
65 …>win_scale[(i + block_size / 2) % block_size] = window_cos (2.0 * i / block_size - 1.0) / window_b… in decode()
86 mag_norm = 0.5 / block_size; in decode()
106 memcpy (samples, &fft_out[block_size / 2], sizeof (float) * block_size / 2);
107 memcpy (&samples[block_size / 2], fft_out, sizeof (float) * block_size / 2);
111 Block::add (block_size / 2, samples, fft_out + block_size / 2);
[all …]
/dports/devel/taskflow/taskflow-3.2.0/sandbox/jacobi/
H A Domp.cpp10 if (block_size == 0) in omp_block_for()
11 block_size = nx; in omp_block_for()
109 … depend(in: unew[block_x * block_size: block_size][block_y * block_size: block_size]) \ in omp_block_task_dep()
110 … depend(out: u[block_x * block_size: block_size][block_y * block_size: block_size]) in omp_block_task_dep()
123 … depend(out: unew[block_x * block_size: block_size][block_y * block_size: block_size]) \ in omp_block_task_dep()
124 … depend(in: f[block_x * block_size: block_size][block_y * block_size: block_size], \ in omp_block_task_dep()
125 u[block_x * block_size: block_size][block_y * block_size: block_size], \ in omp_block_task_dep()
126 … u[(block_x - xdm1) * block_size: block_size][block_y * block_size: block_size], \ in omp_block_task_dep()
127 … u[block_x * block_size: block_size][(block_y + ydp1)* block_size: block_size], \ in omp_block_task_dep()
128 … u[block_x * block_size: block_size][(block_y - ydm1)* block_size: block_size], \ in omp_block_task_dep()
[all …]
/dports/devel/valgrind/valgrind-dragonfly-dragonfly/none/tests/ppc32/
H A Ddata-cache-instructions.c36 block_size++; in query_block_size()
37 assert(block_size == 16 || block_size == 32 || block_size == 64 || block_size == 128); in query_block_size()
40 return block_size; in query_block_size()
51 for (i = 0; i < block_size; i++) { in test_dcbzl_at()
64 int block_size; in test_dcbzl() local
66 block_size = query_block_size(); in test_dcbzl()
67 assert(block_size == 16 || block_size == 32 || block_size == 64 || block_size == 128); in test_dcbzl()
68 buffer_size = 3 * block_size; in test_dcbzl()
76 test_dcbzl_at(&buffer[block_size], buffer, block_size); in test_dcbzl()
80 test_dcbzl_at(&buffer[block_size+1], buffer, block_size); in test_dcbzl()
[all …]
/dports/devel/valgrind/valgrind-dragonfly-dragonfly/none/tests/ppc64/
H A Ddata-cache-instructions.c36 block_size++; in query_block_size()
37 assert(block_size == 16 || block_size == 32 || block_size == 64 || block_size == 128); in query_block_size()
40 return block_size; in query_block_size()
51 for (i = 0; i < block_size; i++) { in test_dcbzl_at()
64 int block_size; in test_dcbzl() local
66 block_size = query_block_size(); in test_dcbzl()
67 assert(block_size == 16 || block_size == 32 || block_size == 64 || block_size == 128); in test_dcbzl()
68 buffer_size = 3 * block_size; in test_dcbzl()
76 test_dcbzl_at(&buffer[block_size], buffer, block_size); in test_dcbzl()
80 test_dcbzl_at(&buffer[block_size+1], buffer, block_size); in test_dcbzl()
[all …]
/dports/devel/valgrind-lts/valgrind-dragonfly-dragonfly/none/tests/ppc32/
H A Ddata-cache-instructions.c36 block_size++; in query_block_size()
37 assert(block_size == 16 || block_size == 32 || block_size == 64 || block_size == 128); in query_block_size()
40 return block_size; in query_block_size()
51 for (i = 0; i < block_size; i++) { in test_dcbzl_at()
64 int block_size; in test_dcbzl() local
66 block_size = query_block_size(); in test_dcbzl()
67 assert(block_size == 16 || block_size == 32 || block_size == 64 || block_size == 128); in test_dcbzl()
68 buffer_size = 3 * block_size; in test_dcbzl()
76 test_dcbzl_at(&buffer[block_size], buffer, block_size); in test_dcbzl()
80 test_dcbzl_at(&buffer[block_size+1], buffer, block_size); in test_dcbzl()
[all …]
/dports/devel/valgrind-lts/valgrind-dragonfly-dragonfly/none/tests/ppc64/
H A Ddata-cache-instructions.c36 block_size++; in query_block_size()
37 assert(block_size == 16 || block_size == 32 || block_size == 64 || block_size == 128); in query_block_size()
40 return block_size; in query_block_size()
51 for (i = 0; i < block_size; i++) { in test_dcbzl_at()
64 int block_size; in test_dcbzl() local
66 block_size = query_block_size(); in test_dcbzl()
67 assert(block_size == 16 || block_size == 32 || block_size == 64 || block_size == 128); in test_dcbzl()
68 buffer_size = 3 * block_size; in test_dcbzl()
76 test_dcbzl_at(&buffer[block_size], buffer, block_size); in test_dcbzl()
80 test_dcbzl_at(&buffer[block_size+1], buffer, block_size); in test_dcbzl()
[all …]
/dports/net/libiscsi/libiscsi-1.19.0/test-tool/
H A Dtest_writesame16_unmap.c43 WRITE16(sd, 0, i * block_size, block_size, in test_writesame16_unmap()
48 memset(scratch, 0, block_size); in test_writesame16_unmap()
57 READ16(sd, NULL, 0, i * block_size, block_size, in test_writesame16_unmap()
73 i * block_size, block_size, 0, 0, 0, 0, 0, scratch, in test_writesame16_unmap()
77 memset(scratch, 0, block_size); in test_writesame16_unmap()
88 i * block_size, block_size, in test_writesame16_unmap()
104 memset(scratch, 0, block_size); in test_writesame16_unmap()
132 i * block_size, block_size, 0, 0, 0, 0, 0, scratch, in test_writesame16_unmap()
146 READ16(sd, NULL, 0, i * block_size, block_size, in test_writesame16_unmap()
176 i * block_size, block_size, 0, 0, 0, 0, 0, scratch, in test_writesame16_unmap()
[all …]
H A Dtest_orwrite_verify.c49 memset(buf, 0, block_size * i); in test_orwrite_verify()
50 ret = write10(sd, 0, i * block_size, in test_orwrite_verify()
56 memset(buf, 0xa5, block_size * i); in test_orwrite_verify()
57 ORWRITE(sd, 0, i * block_size, in test_orwrite_verify()
62 READ10(sd, NULL, 0, i * block_size, in test_orwrite_verify()
71 memset(buf, 0x5a, block_size * i); in test_orwrite_verify()
72 ORWRITE(sd, 0, i * block_size, in test_orwrite_verify()
77 READ10(sd, NULL, 0, i * block_size, in test_orwrite_verify()
82 memset(buf, 0xff, block_size * i); in test_orwrite_verify()
94 memset(buf, 0, block_size * i); in test_orwrite_verify()
[all …]
/dports/security/botan110/Botan-1.10.17/src/filters/modes/cts/
H A Dcts.cpp20 buffer.resize(2 * cipher->block_size()); in CTS_Encryption()
21 state.resize(cipher->block_size()); in CTS_Encryption()
34 state.resize(cipher->block_size()); in CTS_Encryption()
61 send(state, cipher->block_size()); in encrypt()
78 if(length > cipher->block_size()) in write()
91 copy_mem(&buffer[0], &buffer[cipher->block_size()], cipher->block_size()); in write()
122 temp.resize(cipher->block_size()); in CTS_Decryption()
163 send(temp, cipher->block_size()); in decrypt()
181 if(length > cipher->block_size()) in write()
194 copy_mem(&buffer[0], &buffer[cipher->block_size()], cipher->block_size()); in write()
[all …]
/dports/math/dune-common/dune-common-df65b1282ea89ad40d2cb6565983f7e633ccce31/dune/common/
H A Dbitsetvector.hh34 template <int block_size, class Alloc>
88 return block_size; in size()
172 for(int i=0; i<block_size; ++i) in operator <<()
191 for(int i=0; i<block_size; ++i) in equals()
218 template <int block_size, class Alloc>
250 for(int i=0; i<block_size; ++i) in operator =()
258 for(int i=0; i<block_size; ++i) in operator =()
266 for(int i=0; i<block_size; ++i) in operator =()
274 for(int i=0; i<block_size; ++i) in operator =()
540 BlocklessBaseClass(n*block_size) in BitSetVector()
[all …]
/dports/audio/spectmorph/spectmorph-0.5.2/tests/
H A Dtestfft.cc20 compare (int block_size, float *a, float *b) in compare() argument
26 for (int i = 0; i < block_size; i++) in compare()
39 for (int i = 0; i < block_size; i++) in compare()
53 for (int block_size = 8; block_size < 2048; block_size *= 2) in main() local
66 for (int i = 0; i < block_size; i++) in main()
73 FFT::fftar_float (block_size, in, out); in main()
74 FFT::fftsr_float (block_size, out, back); in main()
76 for (int k = 0; k < block_size; k++) in main()
81 FFT::fftac_float (block_size, in_x, out_x); in main()
82 out_x[1] = out_x[block_size]; in main()
[all …]
/dports/databases/phpmyadmin/phpMyAdmin-4.9.7-all-languages/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DBase.php137 var $block_size = 16; variable in phpseclib\\Crypt\\Base
795 $block_size = $this->block_size;
866 $block_size = $this->block_size;
1044 …$padding = str_repeat(chr($this->block_size), $this->block_size) ^ substr($ciphertext, -$this->blo…
1121 $block_size = $this->block_size;
1187 $block_size = $this->block_size;
1347 $block_size = $this->block_size;
1447 $block_size = $this->block_size;
1898 $pad = $this->block_size - ($length % $this->block_size);
2207 $block_size = $this->block_size;
[all …]

12345678910>>...246