/third_party/musl/src/network/ |
D | dn_comp.c | 23 static int getlens(unsigned char *lens, const char *s, int l) in getlens() argument 29 lens[i++] = j-k; in getlens() 37 const char *end, const unsigned char *lens, int nlen) in match() argument 44 l = lens[--nlen]; in match() 60 unsigned char lens[127]; in dn_comp() local 71 n = getlens(lens, src, l); in dn_comp() 76 m = match(&offset, *dnptrs, *p, end, lens, n); in dn_comp() 88 for (i=j=0; i<l-bestlen; i+=lens[j++]+1) in dn_comp() 89 dst[i] = lens[j]; in dn_comp()
|
/third_party/mindspore/mindspore/ccsrc/ps/ |
D | optimizer_info_builder.cc | 28 … const Lengths &lens, const InputsShapePtr &inputs_shape, size_t worker_num, in Build() argument 34 BuildInputs(weight, keys, values, lens, inputs_shape, worker_num, pserver_kernel, sharded); in Build() 115 … const Lengths &lens, const InputsShapePtr &, size_t, in BuildInputs() argument 137 …ning_rate = GenInputAddrPtr<float>(kApplyMomentum, "lr", const_cast<float *>(values.data()), lens); in BuildInputs() 139 …radient = GenInputAddrPtr<float>(kApplyMomentum, "grad", const_cast<float *>(values.data()), lens); in BuildInputs() 141 …tum = GenInputAddrPtr<float>(kApplyMomentum, "momentum", const_cast<float *>(values.data()), lens); in BuildInputs() 147 … const Lengths &lens, const InputsShapePtr &inputs_shape, size_t, in BuildInputs() argument 184 …wer = GenInputAddrPtr<float>(kSparseAdam, "beta1_power", const_cast<float *>(values.data()), lens); in BuildInputs() 186 …wer = GenInputAddrPtr<float>(kSparseAdam, "beta2_power", const_cast<float *>(values.data()), lens); in BuildInputs() 188 …earning_rate = GenInputAddrPtr<float>(kSparseAdam, "lr", const_cast<float *>(values.data()), lens); in BuildInputs() [all …]
|
D | optimizer_info_builder.h | 37 … const Values &values, const Lengths &lens, const InputsShapePtr &inputs_shape, size_t worker_num, 41 … const Lengths &lens, const InputsShapePtr &inputs_shape, size_t worker_num, 50 const Lengths &lens, const InputsShapePtr &inputs_shape = nullptr); 59 … *BuildInputs(const WeightPtr &weight, const Keys &keys, const Values &values, const Lengths &lens, 68 … *BuildInputs(const WeightPtr &weight, const Keys &keys, const Values &values, const Lengths &lens, 77 … *BuildInputs(const WeightPtr &weight, const Keys &keys, const Values &values, const Lengths &lens,
|
D | optimizer_info.cc | 47 const Lengths &lens) { in UpdateOptimInputValue() argument 60 if (ps_send_index >= lens.size() || origin_index >= inputs_.size()) { in UpdateOptimInputValue() 64 EXC_IF_VEC_IDX_OOB(lens, ps_send_index); in UpdateOptimInputValue() 65 size_t size = IntToSize(lens[ps_send_index]) * sizeof(T); in UpdateOptimInputValue() 66 …int offset = std::accumulate(lens.begin(), lens.begin() + SizeToInt(ps_send_index), 0, std::plus<i… in UpdateOptimInputValue() 280 void MomentumOptimInfo::Update(const Values &values, const Lengths &lens) { in Update() argument 281 UpdateOptimInputValue<float>(kApplyMomentum, "lr", const_cast<float *>(values.data()), lens); in Update() 337 void SparseAdamOptimInfo::Update(const Values &values, const Lengths &lens) { in Update() argument 338 …UpdateOptimInputValue<float>(kSparseAdam, "beta1_power", const_cast<float *>(values.data()), lens); in Update() 339 …UpdateOptimInputValue<float>(kSparseAdam, "beta2_power", const_cast<float *>(values.data()), lens); in Update() [all …]
|
/third_party/boost/libs/beast/test/extern/zlib-1.2.11/contrib/infback9/ |
D | infback9.c | 63 while (sym < 144) state.lens[sym++] = 8; in makefixed9() 64 while (sym < 256) state.lens[sym++] = 9; in makefixed9() 65 while (sym < 280) state.lens[sym++] = 7; in makefixed9() 66 while (sym < 288) state.lens[sym++] = 8; in makefixed9() 70 inflate_table9(LENS, state.lens, 288, &(next), &(bits), state.work); in makefixed9() 74 while (sym < 32) state.lens[sym++] = 5; in makefixed9() 77 inflate_table9(DISTS, state.lens, 32, &(next), &(bits), state.work); in makefixed9() 364 state->lens[order[state->have++]] = (unsigned short)BITS(3); 368 state->lens[order[state->have++]] = 0; 372 ret = inflate_table9(CODES, state->lens, 19, &(state->next), [all …]
|
D | inftree9.c | 32 int inflate_table9(type, lens, codes, table, bits, work) in inflate_table9() argument 34 unsigned short FAR *lens; 112 count[lens[sym]]++; 141 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym; 249 len = lens[work[sym]];
|
/third_party/boost/tools/boost_install/test/iostreams/zlib-1.2.11/contrib/infback9/ |
D | infback9.c | 63 while (sym < 144) state.lens[sym++] = 8; in makefixed9() 64 while (sym < 256) state.lens[sym++] = 9; in makefixed9() 65 while (sym < 280) state.lens[sym++] = 7; in makefixed9() 66 while (sym < 288) state.lens[sym++] = 8; in makefixed9() 70 inflate_table9(LENS, state.lens, 288, &(next), &(bits), state.work); in makefixed9() 74 while (sym < 32) state.lens[sym++] = 5; in makefixed9() 77 inflate_table9(DISTS, state.lens, 32, &(next), &(bits), state.work); in makefixed9() 364 state->lens[order[state->have++]] = (unsigned short)BITS(3); 368 state->lens[order[state->have++]] = 0; 372 ret = inflate_table9(CODES, state->lens, 19, &(state->next), [all …]
|
D | inftree9.c | 32 int inflate_table9(type, lens, codes, table, bits, work) in inflate_table9() argument 34 unsigned short FAR *lens; 112 count[lens[sym]]++; 141 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym; 249 len = lens[work[sym]];
|
/third_party/zlib/contrib/infback9/ |
D | infback9.c | 63 while (sym < 144) state.lens[sym++] = 8; in makefixed9() 64 while (sym < 256) state.lens[sym++] = 9; in makefixed9() 65 while (sym < 280) state.lens[sym++] = 7; in makefixed9() 66 while (sym < 288) state.lens[sym++] = 8; in makefixed9() 70 inflate_table9(LENS, state.lens, 288, &(next), &(bits), state.work); in makefixed9() 74 while (sym < 32) state.lens[sym++] = 5; in makefixed9() 77 inflate_table9(DISTS, state.lens, 32, &(next), &(bits), state.work); in makefixed9() 364 state->lens[order[state->have++]] = (unsigned short)BITS(3); 368 state->lens[order[state->have++]] = 0; 372 ret = inflate_table9(CODES, state->lens, 19, &(state->next), [all …]
|
D | inftree9.c | 32 int inflate_table9(type, lens, codes, table, bits, work) in inflate_table9() argument 34 unsigned short FAR *lens; 112 count[lens[sym]]++; 141 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym; 249 len = lens[work[sym]];
|
/third_party/boost/libs/beast/test/extern/zlib-1.2.11/ |
D | infback.c | 97 while (sym < 144) state->lens[sym++] = 8; 98 while (sym < 256) state->lens[sym++] = 9; 99 while (sym < 280) state->lens[sym++] = 7; 100 while (sym < 288) state->lens[sym++] = 8; 104 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work); 108 while (sym < 32) state->lens[sym++] = 5; 111 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work); 380 state->lens[order[state->have++]] = (unsigned short)BITS(3); 384 state->lens[order[state->have++]] = 0; 388 ret = inflate_table(CODES, state->lens, 19, &(state->next), [all …]
|
D | inftrees.c | 32 int ZLIB_INTERNAL inflate_table(type, lens, codes, table, bits, work) in inflate_table() argument 34 unsigned short FAR *lens; 110 count[lens[sym]]++; 147 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym; 254 len = lens[work[sym]];
|
/third_party/node/deps/zlib/ |
D | infback.c | 97 while (sym < 144) state->lens[sym++] = 8; 98 while (sym < 256) state->lens[sym++] = 9; 99 while (sym < 280) state->lens[sym++] = 7; 100 while (sym < 288) state->lens[sym++] = 8; 104 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work); 108 while (sym < 32) state->lens[sym++] = 5; 111 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work); 380 state->lens[order[state->have++]] = (unsigned short)BITS(3); 384 state->lens[order[state->have++]] = 0; 388 ret = inflate_table(CODES, state->lens, 19, &(state->next), [all …]
|
D | inftrees.c | 32 int ZLIB_INTERNAL inflate_table(type, lens, codes, table, bits, work) in inflate_table() argument 34 unsigned short FAR *lens; 110 count[lens[sym]]++; 147 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym; 254 len = lens[work[sym]];
|
/third_party/boost/tools/boost_install/test/iostreams/zlib-1.2.11/ |
D | infback.c | 97 while (sym < 144) state->lens[sym++] = 8; 98 while (sym < 256) state->lens[sym++] = 9; 99 while (sym < 280) state->lens[sym++] = 7; 100 while (sym < 288) state->lens[sym++] = 8; 104 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work); 108 while (sym < 32) state->lens[sym++] = 5; 111 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work); 380 state->lens[order[state->have++]] = (unsigned short)BITS(3); 384 state->lens[order[state->have++]] = 0; 388 ret = inflate_table(CODES, state->lens, 19, &(state->next), [all …]
|
D | inftrees.c | 32 int ZLIB_INTERNAL inflate_table(type, lens, codes, table, bits, work) in inflate_table() argument 34 unsigned short FAR *lens; 110 count[lens[sym]]++; 147 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym; 254 len = lens[work[sym]];
|
/third_party/flutter/skia/third_party/externals/zlib/ |
D | infback.c | 97 while (sym < 144) state->lens[sym++] = 8; 98 while (sym < 256) state->lens[sym++] = 9; 99 while (sym < 280) state->lens[sym++] = 7; 100 while (sym < 288) state->lens[sym++] = 8; 104 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work); 108 while (sym < 32) state->lens[sym++] = 5; 111 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work); 380 state->lens[order[state->have++]] = (unsigned short)BITS(3); 384 state->lens[order[state->have++]] = 0; 388 ret = inflate_table(CODES, state->lens, 19, &(state->next), [all …]
|
D | inftrees.c | 32 int ZLIB_INTERNAL inflate_table(type, lens, codes, table, bits, work) in inflate_table() argument 34 unsigned short FAR *lens; 110 count[lens[sym]]++; 147 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym; 254 len = lens[work[sym]];
|
/third_party/libwebsockets/win32port/zlib/ |
D | infback.c | 88 while (sym < 144) state->lens[sym++] = 8; 89 while (sym < 256) state->lens[sym++] = 9; 90 while (sym < 280) state->lens[sym++] = 7; 91 while (sym < 288) state->lens[sym++] = 8; 95 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work); 99 while (sym < 32) state->lens[sym++] = 5; 102 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work); 371 state->lens[order[state->have++]] = (unsigned short)BITS(3); 375 state->lens[order[state->have++]] = 0; 379 ret = inflate_table(CODES, state->lens, 19, &(state->next), [all …]
|
/third_party/zlib/ |
D | infback.c | 97 while (sym < 144) state->lens[sym++] = 8; 98 while (sym < 256) state->lens[sym++] = 9; 99 while (sym < 280) state->lens[sym++] = 7; 100 while (sym < 288) state->lens[sym++] = 8; 104 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work); 108 while (sym < 32) state->lens[sym++] = 5; 111 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work); 380 state->lens[order[state->have++]] = (unsigned short)BITS(3); 384 state->lens[order[state->have++]] = 0; 388 ret = inflate_table(CODES, state->lens, 19, &(state->next), [all …]
|
/third_party/skia/third_party/externals/zlib/ |
D | infback.c | 97 while (sym < 144) state->lens[sym++] = 8; 98 while (sym < 256) state->lens[sym++] = 9; 99 while (sym < 280) state->lens[sym++] = 7; 100 while (sym < 288) state->lens[sym++] = 8; 104 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work); 108 while (sym < 32) state->lens[sym++] = 5; 111 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work); 380 state->lens[order[state->have++]] = (unsigned short)BITS(3); 384 state->lens[order[state->have++]] = 0; 388 ret = inflate_table(CODES, state->lens, 19, &(state->next), [all …]
|
D | inftrees.c | 32 int ZLIB_INTERNAL inflate_table(type, lens, codes, table, bits, work) in inflate_table() argument 34 unsigned short FAR *lens; 110 count[lens[sym]]++; 147 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym; 254 len = lens[work[sym]];
|
/third_party/libsnd/src/ |
D | ogg_vorbis.c | 98 static sf_count_t vorbis_read_sample (SF_PRIVATE *psf, void *ptr, sf_count_t lens, convert_func *tr… 618 vorbis_read_sample (SF_PRIVATE *psf, void *ptr, sf_count_t lens, convert_func *transfn) in vorbis_read_sample() argument 624 len = lens / psf->sf.channels ; in vorbis_read_sample() 667 vorbis_read_s (SF_PRIVATE *psf, short *ptr, sf_count_t lens) in vorbis_read_s() argument 668 { return vorbis_read_sample (psf, (void*) ptr, lens, vorbis_rshort) ; in vorbis_read_s() 672 vorbis_read_i (SF_PRIVATE *psf, int *ptr, sf_count_t lens) in vorbis_read_i() argument 673 { return vorbis_read_sample (psf, (void*) ptr, lens, vorbis_rint) ; in vorbis_read_i() 677 vorbis_read_f (SF_PRIVATE *psf, float *ptr, sf_count_t lens) in vorbis_read_f() argument 678 { return vorbis_read_sample (psf, (void*) ptr, lens, vorbis_rfloat) ; in vorbis_read_f() 682 vorbis_read_d (SF_PRIVATE *psf, double *ptr, sf_count_t lens) in vorbis_read_d() argument [all …]
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/ |
D | random_cpu_kernel.cc | 40 size_t lens = outputs[0]->size / sizeof(float); in LaunchStandardNormal() local 42 size_t thread_num = lens < 128 * max_thread_num ? std::ceil(lens / 128.0) : max_thread_num; in LaunchStandardNormal() 50 size_t once_compute_size = (lens + thread_num - 1) / thread_num; in LaunchStandardNormal() 56 while (start < lens) { in LaunchStandardNormal() 59 size_t end = (start + once_compute_size) > lens ? lens : (start + once_compute_size); in LaunchStandardNormal()
|
/third_party/ffmpeg/libavcodec/ |
D | huffman.c | 116 static void get_tree_codes(uint32_t *bits, int16_t *lens, uint8_t *xlat, in get_tree_codes() argument 125 lens[*pos] = pl; in get_tree_codes() 131 get_tree_codes(bits, lens, xlat, nodes, nodes[node].n0, pfx, pl, in get_tree_codes() 134 get_tree_codes(bits, lens, xlat, nodes, nodes[node].n0 + 1, pfx, pl, in get_tree_codes() 143 int16_t lens[256]; in build_huff_tree() local 147 get_tree_codes(bits, lens, xlat, nodes, head, 0, 0, in build_huff_tree() 149 return ff_init_vlc_sparse(vlc, nb_bits, pos, lens, 2, 2, bits, 4, 4, xlat, 1, 1, 0); in build_huff_tree()
|