Home
last modified time | relevance | path

Searched refs:kk (Results 1 – 25 of 648) sorted by relevance

12345678910>>...26

/third_party/iowow/src/utils/
Dmt19937ar.c151 int kk; in genrand_int32() local
157 for (kk = 0; kk < N - M; kk++) { in genrand_int32()
158 y = (mt[kk] & UPPER_MASK) | (mt[kk + 1] & LOWER_MASK); in genrand_int32()
159 mt[kk] = mt[kk + M] ^ (y >> 1) ^ mag01[y & 0x1UL]; in genrand_int32()
161 for (; kk < N - 1; kk++) { in genrand_int32()
162 y = (mt[kk] & UPPER_MASK) | (mt[kk + 1] & LOWER_MASK); in genrand_int32()
163 mt[kk] = mt[kk + (M - N)] ^ (y >> 1) ^ mag01[y & 0x1UL]; in genrand_int32()
/third_party/ltp/pan/
Dsymbol.c197 char **kk; in sym_put() local
213 for (kk = (char **)keys, csym = sym; in sym_put()
214 *kk != NULL && (nsym = find_key1(csym->sym, *kk)) != NULL; in sym_put()
217 if (*++kk == NULL) in sym_put()
232 if (*kk == NULL) { /* found a complete match */ in sym_put()
245 for (; *kk != NULL; kk++) { in sym_put()
246 if (*(kk + 1) != NULL) { in sym_put()
247 add_key(csym, *kk, (void *)(ncsym = newsym())); in sym_put()
250 add_key(csym, *kk, data); /* last key */ in sym_put()
269 char **kk; in sym_get() local
[all …]
/third_party/boost/libs/math/example/daubechies_wavelets/
Dfind_best_daubechies_interpolator.cpp186 size_t kk = static_cast<size_t>(k); in find_best_interpolator() local
189 return (1-t)*phi[kk] + t*phi[kk+1]; in find_best_interpolator()
353 size_t kk = static_cast<size_t>(k); in find_best_interpolator() local
357 return phi[kk] + eps*phi_prime[kk]; in find_best_interpolator()
361 return phi[kk+1] + eps*phi_prime[kk+1]; in find_best_interpolator()
418 size_t kk = static_cast<size_t>(k); in find_best_interpolator() local
422 return phi[kk] + eps*phi_prime[kk] + eps*eps*phi_dbl_prime[kk]/2; in find_best_interpolator()
426 return phi[kk+1] + eps*phi_prime[kk+1] + eps*eps*phi_dbl_prime[kk+1]/2; in find_best_interpolator()
467 size_t kk = static_cast<size_t>(k); in find_best_interpolator() local
471 …return phi[kk] + eps*phi_prime[kk] + eps*eps*phi_dbl_prime[kk]/2 + eps*eps*eps*phi_triple_prime[kk in find_best_interpolator()
[all …]
/third_party/glib/glib/
Dgrand.c460 int kk; in g_rand_int() local
462 for (kk = 0; kk < N - M; kk++) { in g_rand_int()
463 y = (rand->mt[kk]&UPPER_MASK)|(rand->mt[kk+1]&LOWER_MASK); in g_rand_int()
464 rand->mt[kk] = rand->mt[kk+M] ^ (y >> 1) ^ mag01[y & 0x1]; in g_rand_int()
466 for (; kk < N - 1; kk++) { in g_rand_int()
467 y = (rand->mt[kk]&UPPER_MASK)|(rand->mt[kk+1]&LOWER_MASK); in g_rand_int()
468 rand->mt[kk] = rand->mt[kk+(M-N)] ^ (y >> 1) ^ mag01[y & 0x1]; in g_rand_int()
/third_party/python/Modules/
D_randommodule.c129 int kk; in genrand_uint32() local
131 for (kk=0;kk<N-M;kk++) { in genrand_uint32()
132 y = (mt[kk]&UPPER_MASK)|(mt[kk+1]&LOWER_MASK); in genrand_uint32()
133 mt[kk] = mt[kk+M] ^ (y >> 1) ^ mag01[y & 0x1U]; in genrand_uint32()
135 for (;kk<N-1;kk++) { in genrand_uint32()
136 y = (mt[kk]&UPPER_MASK)|(mt[kk+1]&LOWER_MASK); in genrand_uint32()
137 mt[kk] = mt[kk+(M-N)] ^ (y >> 1) ^ mag01[y & 0x1U]; in genrand_uint32()
/third_party/boost/tools/boost_install/test/iostreams/bzip2-1.0.6/
DspewG.c40 int ii, kk, p; in main() local
43 for (kk = 0; kk < MEGABYTES * 515; kk+=3) { in main()
Ddecompress.c360 Int32 ii, jj, kk; in BZ2_decompress() local
361 kk = MTFA_SIZE-1; in BZ2_decompress()
364 s->mtfa[kk] = (UChar)(ii * MTFL_SIZE + jj); in BZ2_decompress()
365 kk--; in BZ2_decompress()
367 s->mtfbase[ii] = kk + 1; in BZ2_decompress()
425 Int32 ii, jj, kk, pp, lno, off; in BZ2_decompress() local
464 kk = MTFA_SIZE-1; in BZ2_decompress()
467 s->mtfa[kk] = s->mtfa[s->mtfbase[ii] + jj]; in BZ2_decompress()
468 kk--; in BZ2_decompress()
470 s->mtfbase[ii] = kk + 1; in BZ2_decompress()
/third_party/boost/tools/boost_install/test/iostreams/bzip2-1.0.8/
DspewG.c40 int ii, kk, p; in main() local
43 for (kk = 0; kk < MEGABYTES * 515; kk+=3) { in main()
Ddecompress.c366 Int32 ii, jj, kk; in BZ2_decompress() local
367 kk = MTFA_SIZE-1; in BZ2_decompress()
370 s->mtfa[kk] = (UChar)(ii * MTFL_SIZE + jj); in BZ2_decompress()
371 kk--; in BZ2_decompress()
373 s->mtfbase[ii] = kk + 1; in BZ2_decompress()
431 Int32 ii, jj, kk, pp, lno, off; in BZ2_decompress() local
470 kk = MTFA_SIZE-1; in BZ2_decompress()
473 s->mtfa[kk] = s->mtfa[s->mtfbase[ii] + jj]; in BZ2_decompress()
474 kk--; in BZ2_decompress()
476 s->mtfbase[ii] = kk + 1; in BZ2_decompress()
/third_party/bzip2/
DspewG.c40 int ii, kk, p; in main() local
43 for (kk = 0; kk < MEGABYTES * 515; kk+=3) { in main()
Ddecompress.c366 Int32 ii, jj, kk; in BZ2_decompress() local
367 kk = MTFA_SIZE-1; in BZ2_decompress()
370 s->mtfa[kk] = (UChar)(ii * MTFL_SIZE + jj); in BZ2_decompress()
371 kk--; in BZ2_decompress()
373 s->mtfbase[ii] = kk + 1; in BZ2_decompress()
431 Int32 ii, jj, kk, pp, lno, off; in BZ2_decompress() local
470 kk = MTFA_SIZE-1; in BZ2_decompress()
473 s->mtfa[kk] = s->mtfa[s->mtfbase[ii] + jj]; in BZ2_decompress()
474 kk--; in BZ2_decompress()
476 s->mtfbase[ii] = kk + 1; in BZ2_decompress()
/third_party/boost/boost/math/special_functions/
Ddaubechies_scaling.hpp194 int64_t kk = static_cast<int64_t>(k); in operator ()() local
196 return (1-t)*y_[kk] + t*y_[kk+1]; in operator ()()
205 int64_t kk = static_cast<int64_t>(k); in prime() local
207 return (1-t)*dydx_[kk] + t*dydx_[kk+1]; in prime()
238 int64_t kk = static_cast<int64_t>(k); in operator ()() local
240 return (t != 0) ? (1-t)*data_[kk][0] + t*data_[kk+1][0] : data_[kk][0]; in operator ()()
249 int64_t kk = static_cast<int64_t>(k); in prime() local
251 return t != 0 ? (1-t)*data_[kk][1] + t*data_[kk+1][1] : data_[kk][1]; in prime()
/third_party/mesa3d/src/mesa/program/
Dprog_noise.c347 unsigned int ii, jj, kk; in _mesa_noise3() local
428 kk = k & 0xff; in _mesa_noise3()
436 n0 = t0 * t0 * grad3(perm[ii + perm[jj + perm[kk]]], x0, y0, z0); in _mesa_noise3()
445 t1 * t1 * grad3(perm[ii + i1 + perm[jj + j1 + perm[kk + k1]]], x1, in _mesa_noise3()
455 t2 * t2 * grad3(perm[ii + i2 + perm[jj + j2 + perm[kk + k2]]], x2, in _mesa_noise3()
465 t3 * t3 * grad3(perm[ii + 1 + perm[jj + 1 + perm[kk + 1]]], x3, y3, in _mesa_noise3()
530 unsigned int ii, jj, kk, ll; in _mesa_noise4() local
578 kk = k & 0xff; in _mesa_noise4()
588 t0 * t0 * grad4(perm[ii + perm[jj + perm[kk + perm[ll]]]], x0, y0, in _mesa_noise4()
599 grad4(perm[ii + i1 + perm[jj + j1 + perm[kk + k1 + perm[ll + l1]]]], in _mesa_noise4()
[all …]
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/
Dresize_cubic_op.cc126 …lize_coeff(int out_size, int kernel_size, const std::vector<double> &prekk, std::vector<int> &kk) { in normalize_coeff() argument
129 kk[x] = static_cast<int>((-0.5 + prekk[x] * (1 << PrecisionBits))); in normalize_coeff()
131 kk[x] = static_cast<int>((0.5 + prekk[x] * (1 << PrecisionBits))); in normalize_coeff()
142 std::vector<int> kk(prekk.begin(), prekk.end()); in ImagingHorizontalInterp() local
143 normalize_coeff(output.width_, kernel_size, prekk, kk); in ImagingHorizontalInterp()
155 k = &kk[xx * kernel_size]; in ImagingHorizontalInterp()
177 std::vector<int> kk(prekk.begin(), prekk.end()); in ImagingVerticalInterp() local
178 normalize_coeff(output.height_, kernel_size, prekk, kk); in ImagingVerticalInterp()
187 int32_t *k = &kk[yy * kernel_size]; in ImagingVerticalInterp()
/third_party/gn/src/gn/
Dfunctions_unittest.cc241 R"gn(string_join("kk", [], "oops"))gn", in TEST()
245 R"gn(string_join("kk", "oops"))gn", in TEST()
249 R"gn(string_join("kk", [1]))gn", in TEST()
250 R"gn(string_join("kk", ["hello", 1]))gn", in TEST()
251 R"gn(string_join("kk", ["hello", []]))gn", in TEST()
389 R"gn(string_split("kk", 1))gn", in TEST()
390 R"gn(string_split("kk", ["oops"]))gn", in TEST()
393 R"gn(string_split("kk", ""))gn", in TEST()
/third_party/toybox/toys/other/
Dbzcat.c164 int hh, ii, jj, kk, symCount, *base, *limit; in read_block_header() local
191 kk = get_bits(bd, 16); in read_block_header()
193 if (kk & (1 << (15 - jj))) in read_block_header()
240 kk = get_bits(bd, 2); in read_block_header()
241 if (kk & 2) hh += 1 - ((kk&1)<<1); in read_block_header()
322 int ii, jj, kk, runPos, dbufCount, symCount, selector, nextSym, in read_huffman_data() local
367 kk = bd->inbufBitCount in read_huffman_data()
369 jj = (jj << 1) | kk; in read_huffman_data()
461 int kk = jj + byteCount[ii]; in burrows_wheeler_prep() local
463 jj = kk; in burrows_wheeler_prep()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/base/
Dslice_base.c72 for (int kk = 0; kk < param->size_[2]; ++kk) { in DoSlice() local
73 int out_offset2 = kk * out_stride[2] + out_offset1; in DoSlice()
74 int in_offset2 = (kk + param->begin_[2]) * in_stride[2] + in_offset1; in DoSlice()
/third_party/glib/glib/glib-mirroring-tab/
Dpacktab.c285 int kk, jj; in write_array() local
288 kk = x[i] * cluster; in write_array()
295 fprintf (f, "%*s,", tab_width, name[tab[lev][kk++]]); in write_array()
302 fprintf (f, "%*d,", tab_width, tab[lev][kk++]); in write_array()
305 for (j = 0; j < cluster; j++, kk++) in write_array()
308 tab[lev][kk] * pow[n - nn - best_p[lev]], digits, in write_array()
/third_party/typescript/tests/baselines/reference/
DpropertyAccess.js77 var kk = numIndex['what']; variable
78 var kk: any; variable
234 var kk = numIndex['what'];
235 var kk; variable
/third_party/flutter/skia/third_party/externals/sdl/test/
Dtestautomation_audio.c521 int i, ii, j, jj, k, kk; in audio_buildAudioCVT() local
553 kk = SDLTest_RandomIntegerInRange(0, _numAudioFrequencies - 1); in audio_buildAudioCVT()
556 spec2.freq = _audioFrequencies[kk]; in audio_buildAudioCVT()
560 …ls, k, spec1.freq, ii, _audioFormatsVerbose[ii], spec2.format, jj, spec2.channels, kk, spec2.freq); in audio_buildAudioCVT()
825 int i, ii, j, jj, k, kk, l, ll; in audio_convertAudio() local
861 kk = SDLTest_RandomIntegerInRange(0, _numAudioFrequencies - 1); in audio_convertAudio()
863 kk = k; in audio_convertAudio()
865 } while ((i == ii) && (j == jj) && (k == kk)); in audio_convertAudio()
868 spec2.freq = _audioFrequencies[kk]; in audio_convertAudio()
873 …ls, k, spec1.freq, ii, _audioFormatsVerbose[ii], spec2.format, jj, spec2.channels, kk, spec2.freq); in audio_convertAudio()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/sponge/pme/
Dpme_reciprocal_force_kernel.h197 for (int kk = 0; kk < (B_order - 1); kk++) { in getb() local
203 tempc.y = 2 * PI * k / NFFT * kk; in getb()
206 tempf = M_(kk + 1, B_order); in getb()
Dpme_reciprocal_force_update_kernel.h221 for (int kk = 0; kk < (B_order - 1); kk++) { in getb() local
227 tempc.y = 2 * PI * k / NFFT * kk; in getb()
230 tempf = M_(kk + 1, B_order); in getb()
Dpme_energy_kernel.h215 for (int kk = 0; kk < (B_order - 1); kk++) { in getb() local
221 tempc.y = 2 * PI * k / NFFT * kk; in getb()
224 tempf = M_(kk + 1, B_order); in getb()
Dpme_energy_update_kernel.h245 for (int kk = 0; kk < (B_order - 1); kk++) { in getb() local
251 tempc.y = 2 * PI * k / NFFT * kk; in getb()
254 tempf = M_(kk + 1, B_order); in getb()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32_grad/
Dpooling_grad.c34 const float kk = 1.0f / (float)(win_h * win_w); in AvgPoolingGrad() local
36 const float32x4_t factor = vdupq_n_f32(kk); in AvgPoolingGrad()
58 for (int i = 0; i < 4; i++) delta[i] *= kk; in AvgPoolingGrad()
80 float delta = inPtr[idx] * kk; in AvgPoolingGrad()

12345678910>>...26