/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/src/live_effects/ |
H A D | lpe-dynastroke.cpp | 202 double totlength = s.segs.back().at1(); in doEffect_pwd2() local 209 if (grow_length < totlength){ in doEffect_pwd2() 211 factor_in.cuts[2]=totlength; in doEffect_pwd2() 218 if (fade_length < totlength){ in doEffect_pwd2() 220 factor_out.cuts[1] = totlength-fade_length; in doEffect_pwd2() 222 factor_out.cuts[2] = totlength; in doEffect_pwd2() 225 factor_out.setDomain(Interval(totlength-fade_length,totlength)); in doEffect_pwd2() 245 hbump.cuts[1]=fmin(grow_length,totlength*grow_length/(grow_length+fade_length)); in doEffect_pwd2() 246 hbump.cuts[2]=totlength; in doEffect_pwd2() 260 … hbump.cuts[1]=fmax(totlength-fade_length, totlength*grow_length/(grow_length+fade_length)); in doEffect_pwd2() [all …]
|
/dports/biology/velvet/velvet_1.2.10/contrib/VelvetOptimiser-2.2.4/VelvetOpt/ |
H A D | Utils.pm | 194 my $totlength = 0; 196 $totlength += ($reads{$k} * $k); 201 push @results, floor($totlength/$num); 203 printf STDERR "Total reads: %.1f million. Avg length: %.1f\n",($num/1000000), ($totlength/$num);
|
/dports/emulators/qemu42/qemu-4.2.1/hw/tpm/ |
H A D | tpm_emulator.c | 660 uint32_t totlength, length; in tpm_emulator_get_state_blob() local 684 totlength = be32_to_cpu(pgs.u.resp.totlength); in tpm_emulator_get_state_blob() 686 if (totlength != length) { in tpm_emulator_get_state_blob() 688 "but would get %u", totlength, length); in tpm_emulator_get_state_blob() 694 if (totlength > 0) { in tpm_emulator_get_state_blob() 695 tsb->buffer = g_try_malloc(totlength); in tpm_emulator_get_state_blob() 698 totlength); in tpm_emulator_get_state_blob() 702 n = qemu_chr_fe_read_all(&tpm_emu->ctrl_chr, tsb->buffer, totlength); in tpm_emulator_get_state_blob() 703 if (n != totlength) { in tpm_emulator_get_state_blob() 706 type, totlength, n); in tpm_emulator_get_state_blob() [all …]
|
/dports/emulators/qemu/qemu-6.2.0/backends/tpm/ |
H A D | tpm_emulator.c | 658 uint32_t totlength, length; in tpm_emulator_get_state_blob() local 682 totlength = be32_to_cpu(pgs.u.resp.totlength); in tpm_emulator_get_state_blob() 684 if (totlength != length) { in tpm_emulator_get_state_blob() 686 "but would get %u", totlength, length); in tpm_emulator_get_state_blob() 692 if (totlength > 0) { in tpm_emulator_get_state_blob() 693 tsb->buffer = g_try_malloc(totlength); in tpm_emulator_get_state_blob() 696 totlength); in tpm_emulator_get_state_blob() 700 n = qemu_chr_fe_read_all(&tpm_emu->ctrl_chr, tsb->buffer, totlength); in tpm_emulator_get_state_blob() 701 if (n != totlength) { in tpm_emulator_get_state_blob() 704 type, totlength, n); in tpm_emulator_get_state_blob() [all …]
|
/dports/emulators/qemu60/qemu-6.0.0/backends/tpm/ |
H A D | tpm_emulator.c | 663 uint32_t totlength, length; in tpm_emulator_get_state_blob() local 687 totlength = be32_to_cpu(pgs.u.resp.totlength); in tpm_emulator_get_state_blob() 689 if (totlength != length) { in tpm_emulator_get_state_blob() 691 "but would get %u", totlength, length); in tpm_emulator_get_state_blob() 697 if (totlength > 0) { in tpm_emulator_get_state_blob() 698 tsb->buffer = g_try_malloc(totlength); in tpm_emulator_get_state_blob() 701 totlength); in tpm_emulator_get_state_blob() 705 n = qemu_chr_fe_read_all(&tpm_emu->ctrl_chr, tsb->buffer, totlength); in tpm_emulator_get_state_blob() 706 if (n != totlength) { in tpm_emulator_get_state_blob() 709 type, totlength, n); in tpm_emulator_get_state_blob() [all …]
|
/dports/emulators/qemu-utils/qemu-4.2.1/hw/tpm/ |
H A D | tpm_emulator.c | 660 uint32_t totlength, length; in tpm_emulator_get_state_blob() local 684 totlength = be32_to_cpu(pgs.u.resp.totlength); in tpm_emulator_get_state_blob() 686 if (totlength != length) { in tpm_emulator_get_state_blob() 688 "but would get %u", totlength, length); in tpm_emulator_get_state_blob() 694 if (totlength > 0) { in tpm_emulator_get_state_blob() 695 tsb->buffer = g_try_malloc(totlength); in tpm_emulator_get_state_blob() 698 totlength); in tpm_emulator_get_state_blob() 702 n = qemu_chr_fe_read_all(&tpm_emu->ctrl_chr, tsb->buffer, totlength); in tpm_emulator_get_state_blob() 703 if (n != totlength) { in tpm_emulator_get_state_blob() 706 type, totlength, n); in tpm_emulator_get_state_blob() [all …]
|
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/hw/tpm/ |
H A D | tpm_emulator.c | 620 uint32_t totlength, length; in tpm_emulator_get_state_blob() local 643 totlength = be32_to_cpu(pgs.u.resp.totlength); in tpm_emulator_get_state_blob() 645 if (totlength != length) { in tpm_emulator_get_state_blob() 647 "but would get %u", totlength, length); in tpm_emulator_get_state_blob() 653 if (totlength > 0) { in tpm_emulator_get_state_blob() 654 tsb->buffer = g_try_malloc(totlength); in tpm_emulator_get_state_blob() 657 totlength); in tpm_emulator_get_state_blob() 661 n = qemu_chr_fe_read_all(&tpm_emu->ctrl_chr, tsb->buffer, totlength); in tpm_emulator_get_state_blob() 662 if (n != totlength) { in tpm_emulator_get_state_blob() 665 type, totlength, n); in tpm_emulator_get_state_blob() [all …]
|
/dports/emulators/qemu5/qemu-5.2.0/backends/tpm/ |
H A D | tpm_emulator.c | 663 uint32_t totlength, length; in tpm_emulator_get_state_blob() local 687 totlength = be32_to_cpu(pgs.u.resp.totlength); in tpm_emulator_get_state_blob() 689 if (totlength != length) { in tpm_emulator_get_state_blob() 691 "but would get %u", totlength, length); in tpm_emulator_get_state_blob() 697 if (totlength > 0) { in tpm_emulator_get_state_blob() 698 tsb->buffer = g_try_malloc(totlength); in tpm_emulator_get_state_blob() 701 totlength); in tpm_emulator_get_state_blob() 705 n = qemu_chr_fe_read_all(&tpm_emu->ctrl_chr, tsb->buffer, totlength); in tpm_emulator_get_state_blob() 706 if (n != totlength) { in tpm_emulator_get_state_blob() 709 type, totlength, n); in tpm_emulator_get_state_blob() [all …]
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/hw/tpm/ |
H A D | tpm_emulator.c | 660 uint32_t totlength, length; in tpm_emulator_get_state_blob() local 684 totlength = be32_to_cpu(pgs.u.resp.totlength); in tpm_emulator_get_state_blob() 686 if (totlength != length) { in tpm_emulator_get_state_blob() 688 "but would get %u", totlength, length); in tpm_emulator_get_state_blob() 694 if (totlength > 0) { in tpm_emulator_get_state_blob() 695 tsb->buffer = g_try_malloc(totlength); in tpm_emulator_get_state_blob() 698 totlength); in tpm_emulator_get_state_blob() 702 n = qemu_chr_fe_read_all(&tpm_emu->ctrl_chr, tsb->buffer, totlength); in tpm_emulator_get_state_blob() 703 if (n != totlength) { in tpm_emulator_get_state_blob() 706 type, totlength, n); in tpm_emulator_get_state_blob() [all …]
|
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/backends/tpm/ |
H A D | tpm_emulator.c | 658 uint32_t totlength, length; in tpm_emulator_get_state_blob() local 682 totlength = be32_to_cpu(pgs.u.resp.totlength); in tpm_emulator_get_state_blob() 684 if (totlength != length) { in tpm_emulator_get_state_blob() 686 "but would get %u", totlength, length); in tpm_emulator_get_state_blob() 692 if (totlength > 0) { in tpm_emulator_get_state_blob() 693 tsb->buffer = g_try_malloc(totlength); in tpm_emulator_get_state_blob() 696 totlength); in tpm_emulator_get_state_blob() 700 n = qemu_chr_fe_read_all(&tpm_emu->ctrl_chr, tsb->buffer, totlength); in tpm_emulator_get_state_blob() 701 if (n != totlength) { in tpm_emulator_get_state_blob() 704 type, totlength, n); in tpm_emulator_get_state_blob() [all …]
|
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/hw/tpm/ |
H A D | tpm_emulator.c | 660 uint32_t totlength, length; in tpm_emulator_get_state_blob() local 684 totlength = be32_to_cpu(pgs.u.resp.totlength); in tpm_emulator_get_state_blob() 686 if (totlength != length) { in tpm_emulator_get_state_blob() 688 "but would get %u", totlength, length); in tpm_emulator_get_state_blob() 694 if (totlength > 0) { in tpm_emulator_get_state_blob() 695 tsb->buffer = g_try_malloc(totlength); in tpm_emulator_get_state_blob() 698 totlength); in tpm_emulator_get_state_blob() 702 n = qemu_chr_fe_read_all(&tpm_emu->ctrl_chr, tsb->buffer, totlength); in tpm_emulator_get_state_blob() 703 if (n != totlength) { in tpm_emulator_get_state_blob() 706 type, totlength, n); in tpm_emulator_get_state_blob() [all …]
|
/dports/irc/undernet-ircu/ircu2.10.12.19/ircd/ |
H A D | m_silence.c | 129 size_t siles, maxsiles, totlength, maxlength, jj; in forward_silences() local 134 siles = totlength = 0; in forward_silences() 141 totlength += strlen(sile->banstr); in forward_silences() 151 if ((siles >= maxsiles) || (totlength + slen >= maxlength)) { in forward_silences() 160 totlength += slen; in forward_silences()
|
/dports/audio/ecasound/ecasound-2.9.3/ecatools/ |
H A D | ecalength.c | 83 float curfilelength, totlength = 0; in main() local 277 totlength += curfilelength; in main() 297 make_human((int)(totlength+0.5), &min, &sec); in main() 298 printf("Total: %.3fs \t\t(%im%is)\n", totlength, min, sec); in main()
|
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/storage/myisam/ |
H A D | mi_search.cc | 185 uint totlength, nod_flag, not_used[2]; in _mi_bin_search() local 188 totlength = keyinfo->keylength + (nod_flag = mi_test_if_nod(page)); in _mi_bin_search() 207 *ret_pos = page + (uint)start * totlength; in _mi_bin_search() 1270 return (int)(s_temp->totlength = keyinfo->keylength + nod_flag); in _mi_calc_static_key_length() 1344 s_temp->totlength = key_length - 1 + diff_flag; in _mi_calc_var_pack_key_length() 1346 return (s_temp->totlength); in _mi_calc_var_pack_key_length() 1415 s_temp->totlength = (uint)length; in _mi_calc_var_pack_key_length() 1627 memcpy(key_pos, s_temp->key, (size_t)s_temp->totlength); in _mi_store_static_key() 1660 (length = s_temp->totlength - (uint)(key_pos - start))); in _mi_store_var_pack_key() 1695 (size_t)s_temp->totlength - s_temp->ref_length); in _mi_store_bin_pack_key() [all …]
|
/dports/databases/percona57-server/percona-server-5.7.36-39/storage/myisam/ |
H A D | mi_search.c | 194 uint totlength,nod_flag,not_used[2]; in _mi_bin_search() local 197 totlength=keyinfo->keylength+(nod_flag=mi_test_if_nod(page)); in _mi_bin_search() 199 save_end=end=(int) ((mi_getint(page)-2-nod_flag)/totlength-1); in _mi_bin_search() 218 *ret_pos=page+(uint) start*totlength; in _mi_bin_search() 1436 return (int) (s_temp->totlength=keyinfo->keylength+nod_flag); in _mi_calc_static_key_length() 1516 s_temp->totlength=key_length-1+diff_flag; in _mi_calc_var_pack_key_length() 1518 return (s_temp->totlength); in _mi_calc_var_pack_key_length() 1597 s_temp->totlength=(uint) length; in _mi_calc_var_pack_key_length() 1871 (length= s_temp->totlength - (uint) (key_pos - start))); in _mi_store_var_pack_key() 1917 (size_t) s_temp->totlength-s_temp->ref_length); in _mi_store_bin_pack_key() [all …]
|
/dports/databases/mysqlwsrep57-server/mysql-wsrep-wsrep_5.7.35-25.27/storage/myisam/ |
H A D | mi_search.c | 194 uint totlength,nod_flag,not_used[2]; in _mi_bin_search() local 197 totlength=keyinfo->keylength+(nod_flag=mi_test_if_nod(page)); in _mi_bin_search() 199 save_end=end=(int) ((mi_getint(page)-2-nod_flag)/totlength-1); in _mi_bin_search() 218 *ret_pos=page+(uint) start*totlength; in _mi_bin_search() 1436 return (int) (s_temp->totlength=keyinfo->keylength+nod_flag); in _mi_calc_static_key_length() 1516 s_temp->totlength=key_length-1+diff_flag; in _mi_calc_var_pack_key_length() 1518 return (s_temp->totlength); in _mi_calc_var_pack_key_length() 1597 s_temp->totlength=(uint) length; in _mi_calc_var_pack_key_length() 1871 (length= s_temp->totlength - (uint) (key_pos - start))); in _mi_store_var_pack_key() 1917 (size_t) s_temp->totlength-s_temp->ref_length); in _mi_store_bin_pack_key() [all …]
|
/dports/databases/percona57-client/percona-server-5.7.36-39/storage/myisam/ |
H A D | mi_search.c | 194 uint totlength,nod_flag,not_used[2]; in _mi_bin_search() local 197 totlength=keyinfo->keylength+(nod_flag=mi_test_if_nod(page)); in _mi_bin_search() 199 save_end=end=(int) ((mi_getint(page)-2-nod_flag)/totlength-1); in _mi_bin_search() 218 *ret_pos=page+(uint) start*totlength; in _mi_bin_search() 1436 return (int) (s_temp->totlength=keyinfo->keylength+nod_flag); in _mi_calc_static_key_length() 1516 s_temp->totlength=key_length-1+diff_flag; in _mi_calc_var_pack_key_length() 1518 return (s_temp->totlength); in _mi_calc_var_pack_key_length() 1597 s_temp->totlength=(uint) length; in _mi_calc_var_pack_key_length() 1871 (length= s_temp->totlength - (uint) (key_pos - start))); in _mi_store_var_pack_key() 1917 (size_t) s_temp->totlength-s_temp->ref_length); in _mi_store_bin_pack_key() [all …]
|
/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/storage/myisam/ |
H A D | mi_search.c | 194 uint totlength,nod_flag,not_used[2]; in _mi_bin_search() local 197 totlength=keyinfo->keylength+(nod_flag=mi_test_if_nod(page)); in _mi_bin_search() 199 save_end=end=(int) ((mi_getint(page)-2-nod_flag)/totlength-1); in _mi_bin_search() 218 *ret_pos=page+(uint) start*totlength; in _mi_bin_search() 1436 return (int) (s_temp->totlength=keyinfo->keylength+nod_flag); in _mi_calc_static_key_length() 1516 s_temp->totlength=key_length-1+diff_flag; in _mi_calc_var_pack_key_length() 1518 return (s_temp->totlength); in _mi_calc_var_pack_key_length() 1597 s_temp->totlength=(uint) length; in _mi_calc_var_pack_key_length() 1871 (length= s_temp->totlength - (uint) (key_pos - start))); in _mi_store_var_pack_key() 1917 (size_t) s_temp->totlength-s_temp->ref_length); in _mi_store_bin_pack_key() [all …]
|
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/storage/myisam/ |
H A D | mi_search.c | 194 uint totlength,nod_flag,not_used[2]; in _mi_bin_search() local 197 totlength=keyinfo->keylength+(nod_flag=mi_test_if_nod(page)); in _mi_bin_search() 199 save_end=end=(int) ((mi_getint(page)-2-nod_flag)/totlength-1); in _mi_bin_search() 218 *ret_pos=page+(uint) start*totlength; in _mi_bin_search() 1436 return (int) (s_temp->totlength=keyinfo->keylength+nod_flag); in _mi_calc_static_key_length() 1516 s_temp->totlength=key_length-1+diff_flag; in _mi_calc_var_pack_key_length() 1518 return (s_temp->totlength); in _mi_calc_var_pack_key_length() 1597 s_temp->totlength=(uint) length; in _mi_calc_var_pack_key_length() 1871 (length= s_temp->totlength - (uint) (key_pos - start))); in _mi_store_var_pack_key() 1917 (size_t) s_temp->totlength-s_temp->ref_length); in _mi_store_bin_pack_key() [all …]
|
/dports/databases/mysql57-client/mysql-5.7.36/storage/myisam/ |
H A D | mi_search.c | 194 uint totlength,nod_flag,not_used[2]; in _mi_bin_search() local 197 totlength=keyinfo->keylength+(nod_flag=mi_test_if_nod(page)); in _mi_bin_search() 199 save_end=end=(int) ((mi_getint(page)-2-nod_flag)/totlength-1); in _mi_bin_search() 218 *ret_pos=page+(uint) start*totlength; in _mi_bin_search() 1436 return (int) (s_temp->totlength=keyinfo->keylength+nod_flag); in _mi_calc_static_key_length() 1516 s_temp->totlength=key_length-1+diff_flag; in _mi_calc_var_pack_key_length() 1518 return (s_temp->totlength); in _mi_calc_var_pack_key_length() 1597 s_temp->totlength=(uint) length; in _mi_calc_var_pack_key_length() 1871 (length= s_temp->totlength - (uint) (key_pos - start))); in _mi_store_var_pack_key() 1917 (size_t) s_temp->totlength-s_temp->ref_length); in _mi_store_bin_pack_key() [all …]
|
/dports/databases/percona56-server/percona-server-5.6.51-91.0/storage/myisam/ |
H A D | mi_search.c | 194 uint totlength,nod_flag,not_used[2]; in _mi_bin_search() local 198 totlength=keyinfo->keylength+(nod_flag=mi_test_if_nod(page)); in _mi_bin_search() 200 save_end=end=(int) ((mi_getint(page)-2-nod_flag)/totlength-1); in _mi_bin_search() 219 *ret_pos=page+(uint) start*totlength; in _mi_bin_search() 1436 return (int) (s_temp->totlength=keyinfo->keylength+nod_flag); in _mi_calc_static_key_length() 1515 s_temp->totlength=key_length-1+diff_flag; in _mi_calc_var_pack_key_length() 1517 return (s_temp->totlength); in _mi_calc_var_pack_key_length() 1596 s_temp->totlength=(uint) length; in _mi_calc_var_pack_key_length() 1873 (length=s_temp->totlength-(uint) (key_pos-start))); in _mi_store_var_pack_key() 1919 (size_t) s_temp->totlength-s_temp->ref_length); in _mi_store_bin_pack_key() [all …]
|
/dports/databases/percona56-client/percona-server-5.6.51-91.0/storage/myisam/ |
H A D | mi_search.c | 194 uint totlength,nod_flag,not_used[2]; in _mi_bin_search() local 198 totlength=keyinfo->keylength+(nod_flag=mi_test_if_nod(page)); in _mi_bin_search() 200 save_end=end=(int) ((mi_getint(page)-2-nod_flag)/totlength-1); in _mi_bin_search() 219 *ret_pos=page+(uint) start*totlength; in _mi_bin_search() 1436 return (int) (s_temp->totlength=keyinfo->keylength+nod_flag); in _mi_calc_static_key_length() 1515 s_temp->totlength=key_length-1+diff_flag; in _mi_calc_var_pack_key_length() 1517 return (s_temp->totlength); in _mi_calc_var_pack_key_length() 1596 s_temp->totlength=(uint) length; in _mi_calc_var_pack_key_length() 1873 (length=s_temp->totlength-(uint) (key_pos-start))); in _mi_store_var_pack_key() 1919 (size_t) s_temp->totlength-s_temp->ref_length); in _mi_store_bin_pack_key() [all …]
|
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/storage/myisam/ |
H A D | mi_search.c | 194 uint totlength,nod_flag,not_used[2]; in _mi_bin_search() local 198 totlength=keyinfo->keylength+(nod_flag=mi_test_if_nod(page)); in _mi_bin_search() 200 save_end=end=(int) ((mi_getint(page)-2-nod_flag)/totlength-1); in _mi_bin_search() 219 *ret_pos=page+(uint) start*totlength; in _mi_bin_search() 1436 return (int) (s_temp->totlength=keyinfo->keylength+nod_flag); in _mi_calc_static_key_length() 1515 s_temp->totlength=key_length-1+diff_flag; in _mi_calc_var_pack_key_length() 1517 return (s_temp->totlength); in _mi_calc_var_pack_key_length() 1596 s_temp->totlength=(uint) length; in _mi_calc_var_pack_key_length() 1873 (length=s_temp->totlength-(uint) (key_pos-start))); in _mi_store_var_pack_key() 1919 (size_t) s_temp->totlength-s_temp->ref_length); in _mi_store_bin_pack_key() [all …]
|
/dports/databases/mysqlwsrep56-server/mysql-wsrep-wsrep_5.6.51-25.33/storage/myisam/ |
H A D | mi_search.c | 194 uint totlength,nod_flag,not_used[2]; in _mi_bin_search() local 198 totlength=keyinfo->keylength+(nod_flag=mi_test_if_nod(page)); in _mi_bin_search() 200 save_end=end=(int) ((mi_getint(page)-2-nod_flag)/totlength-1); in _mi_bin_search() 219 *ret_pos=page+(uint) start*totlength; in _mi_bin_search() 1436 return (int) (s_temp->totlength=keyinfo->keylength+nod_flag); in _mi_calc_static_key_length() 1515 s_temp->totlength=key_length-1+diff_flag; in _mi_calc_var_pack_key_length() 1517 return (s_temp->totlength); in _mi_calc_var_pack_key_length() 1596 s_temp->totlength=(uint) length; in _mi_calc_var_pack_key_length() 1873 (length=s_temp->totlength-(uint) (key_pos-start))); in _mi_store_var_pack_key() 1919 (size_t) s_temp->totlength-s_temp->ref_length); in _mi_store_bin_pack_key() [all …]
|
/dports/databases/mariadb104-server/mariadb-10.4.24/storage/myisam/ |
H A D | mi_search.c | 191 uint totlength,nod_flag,not_used[2]; in _mi_bin_search() local 194 totlength=keyinfo->keylength+(nod_flag=mi_test_if_nod(page)); in _mi_bin_search() 196 save_end=end=(int) ((mi_getint(page)-2-nod_flag)/totlength-1); in _mi_bin_search() 215 *ret_pos=page+(uint) start*totlength; in _mi_bin_search() 1432 return (int) (s_temp->totlength=keyinfo->keylength+nod_flag); in _mi_calc_static_key_length() 1512 s_temp->totlength=key_length-1+diff_flag; in _mi_calc_var_pack_key_length() 1514 return (s_temp->totlength); in _mi_calc_var_pack_key_length() 1593 s_temp->totlength=(uint) length; in _mi_calc_var_pack_key_length() 1870 (length=s_temp->totlength-(uint) (key_pos-start))); in _mi_store_var_pack_key() 1916 (size_t) s_temp->totlength-s_temp->ref_length); in _mi_store_bin_pack_key() [all …]
|