/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Globalization/tests/NumberFormatInfo/ |
H A D | NumberFormatInfoGetInstance.cs | 27 NumberFormatInfo nfi = NumberFormatInfo.GetInstance(formatProvider); in GetInstance() 32 Assert.Equal(expected.CurrencyGroupSizes, nfi.CurrencyGroupSizes); in GetInstance() 35 Assert.Equal(expected.CurrencySymbol, nfi.CurrencySymbol); in GetInstance() 36 Assert.Equal(expected.NaNSymbol, nfi.NaNSymbol); in GetInstance() 38 Assert.Equal(expected.NegativeSign, nfi.NegativeSign); in GetInstance() 39 Assert.Equal(expected.NumberDecimalDigits, nfi.NumberDecimalDigits); in GetInstance() 42 Assert.Equal(expected.NumberGroupSizes, nfi.NumberGroupSizes); in GetInstance() 47 Assert.Equal(expected.PercentGroupSizes, nfi.PercentGroupSizes); in GetInstance() 50 Assert.Equal(expected.PercentSymbol, nfi.PercentSymbol); in GetInstance() 52 Assert.Equal(expected.PerMilleSymbol, nfi.PerMilleSymbol); in GetInstance() [all …]
|
/dports/science/cantera/cantera-2.5.1-611-gc4d6ecc15/ext/sundials/examples/arkode/C_serial/ |
H A D | ark_KrylovDemo_prec.out | 81 t = 1.00e-08 nst = 5 nfe = 0 nfi = 75 nni = 47 hu = 9.89e-08 83 t = 1.00e-07 nst = 5 nfe = 0 nfi = 75 nni = 47 hu = 9.89e-08 85 t = 1.00e-06 nst = 8 nfe = 0 nfi = 120 nni = 77 hu = 4.79e-07 137 t = 1.00e-05 nst = 27 nfe = 0 nfi = 407 nni = 269 hu = 4.79e-07 450 t = 1.00e-08 nst = 5 nfe = 0 nfi = 75 nni = 47 hu = 9.89e-08 452 t = 1.00e-07 nst = 5 nfe = 0 nfi = 75 nni = 47 hu = 9.89e-08 454 t = 1.00e-06 nst = 8 nfe = 0 nfi = 120 nni = 77 hu = 4.79e-07 519 t = 1.00e-08 nst = 5 nfe = 0 nfi = 75 nni = 47 hu = 9.89e-08 521 t = 1.00e-07 nst = 5 nfe = 0 nfi = 75 nni = 47 hu = 9.89e-08 588 t = 1.00e-08 nst = 5 nfe = 0 nfi = 75 nni = 47 hu = 9.89e-08 [all …]
|
/dports/math/sundials/sundials-5.7.0/examples/arkode/C_serial/ |
H A D | ark_KrylovDemo_prec.out | 81 t = 1.00e-08 nst = 5 nfe = 0 nfi = 75 nni = 47 hu = 9.89e-08 83 t = 1.00e-07 nst = 5 nfe = 0 nfi = 75 nni = 47 hu = 9.89e-08 85 t = 1.00e-06 nst = 8 nfe = 0 nfi = 120 nni = 77 hu = 4.79e-07 137 t = 1.00e-05 nst = 27 nfe = 0 nfi = 407 nni = 269 hu = 4.79e-07 450 t = 1.00e-08 nst = 5 nfe = 0 nfi = 75 nni = 47 hu = 9.89e-08 452 t = 1.00e-07 nst = 5 nfe = 0 nfi = 75 nni = 47 hu = 9.89e-08 454 t = 1.00e-06 nst = 8 nfe = 0 nfi = 120 nni = 77 hu = 4.79e-07 519 t = 1.00e-08 nst = 5 nfe = 0 nfi = 75 nni = 47 hu = 9.89e-08 521 t = 1.00e-07 nst = 5 nfe = 0 nfi = 75 nni = 47 hu = 9.89e-08 588 t = 1.00e-08 nst = 5 nfe = 0 nfi = 75 nni = 47 hu = 9.89e-08 [all …]
|
H A D | ark_KrylovDemo_prec_1.out | 81 t = 1.00e-08 nst = 5 nfe = 0 nfi = 75 nni = 47 hu = 9.89e-08 83 t = 1.00e-07 nst = 5 nfe = 0 nfi = 75 nni = 47 hu = 9.89e-08 85 t = 1.00e-06 nst = 8 nfe = 0 nfi = 120 nni = 77 hu = 4.79e-07 137 t = 1.00e-05 nst = 27 nfe = 0 nfi = 407 nni = 269 hu = 4.79e-07 450 t = 1.00e-08 nst = 5 nfe = 0 nfi = 75 nni = 47 hu = 9.89e-08 452 t = 1.00e-07 nst = 5 nfe = 0 nfi = 75 nni = 47 hu = 9.89e-08 454 t = 1.00e-06 nst = 8 nfe = 0 nfi = 120 nni = 77 hu = 4.79e-07 519 t = 1.00e-08 nst = 5 nfe = 0 nfi = 75 nni = 47 hu = 9.89e-08 521 t = 1.00e-07 nst = 5 nfe = 0 nfi = 75 nni = 47 hu = 9.89e-08 588 t = 1.00e-08 nst = 5 nfe = 0 nfi = 75 nni = 47 hu = 9.89e-08 [all …]
|
H A D | ark_KrylovDemo_prec_2.out | 81 t = 1.00e-08 nst = 5 nfe = 0 nfi = 75 nni = 47 hu = 9.89e-08 83 t = 1.00e-07 nst = 5 nfe = 0 nfi = 75 nni = 47 hu = 9.89e-08 85 t = 1.00e-06 nst = 8 nfe = 0 nfi = 120 nni = 77 hu = 4.79e-07 137 t = 1.00e-05 nst = 27 nfe = 0 nfi = 407 nni = 269 hu = 4.79e-07 450 t = 1.00e-08 nst = 5 nfe = 0 nfi = 75 nni = 47 hu = 9.89e-08 452 t = 1.00e-07 nst = 5 nfe = 0 nfi = 75 nni = 47 hu = 9.89e-08 454 t = 1.00e-06 nst = 8 nfe = 0 nfi = 120 nni = 77 hu = 4.79e-07 519 t = 1.00e-08 nst = 5 nfe = 0 nfi = 75 nni = 47 hu = 9.89e-08 521 t = 1.00e-07 nst = 5 nfe = 0 nfi = 75 nni = 47 hu = 9.89e-08 588 t = 1.00e-08 nst = 5 nfe = 0 nfi = 75 nni = 47 hu = 9.89e-08 [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/corlib/System/ |
H A D | NumberFormatter.cs | 827 res = nfi.NaNSymbol; in NumberToString() 848 res = nfi.NaNSymbol; in NumberToString() 947 Append (nfi.NegativeSign); in FormatCurrency() 952 Append (nfi.NegativeSign); in FormatCurrency() 1072 Append (nfi.NegativeSign); in FormatDecimal() 1103 Append (nfi.NegativeSign); in FormatFixedPoint() 1164 Append (nfi.NegativeSign); in FormatGeneral() 1200 AppendIntegerStringWithGroupSeparator (nfi.NumberGroupSizes, nfi.NumberGroupSeparator); in FormatNumber() 1303 Append (nfi.NegativeSign); in FormatExponential() 1561 Append (nfi.PositiveSign); in AppendExponent() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Runtime.Numerics/tests/BigInteger/ |
H A D | BigIntegerToStringTests.cs | 70 nfi = MarkUp(nfi); in RunProviderToStringTests() 551 pre = nfi.NegativeSign + nfi.CurrencySymbol; in CurrencyFormatter() 554 pre = nfi.CurrencySymbol + nfi.NegativeSign; in CurrencyFormatter() 569 post = nfi.NegativeSign + nfi.CurrencySymbol; in CurrencyFormatter() 572 post = nfi.CurrencySymbol + nfi.NegativeSign; in CurrencyFormatter() 848 pre = nfi.NegativeSign + nfi.PercentSymbol; in PercentFormatter() 851 pre = nfi.PercentSymbol + nfi.NegativeSign; in PercentFormatter() 858 post = nfi.NegativeSign + nfi.PercentSymbol; in PercentFormatter() 861 post = nfi.PercentSymbol + nfi.NegativeSign; in PercentFormatter() 864 pre = nfi.NegativeSign + nfi.PercentSymbol + " "; in PercentFormatter() [all …]
|
H A D | parse.cs | 95 nfi = MarkUp(nfi); in RunFormatProviderParseStrings() 715 nfi.CurrencyDecimalDigits = 0; in MarkUp() 721 nfi.CurrencySymbol = "@"; in MarkUp() 723 nfi.NumberDecimalDigits = 0; in MarkUp() 727 nfi.NumberNegativePattern = 4; in MarkUp() 729 nfi.PercentDecimalDigits = 0; in MarkUp() 735 nfi.PercentSymbol = "?"; in MarkUp() 736 nfi.PerMilleSymbol = "~"; in MarkUp() 738 nfi.NegativeSign = "<"; in MarkUp() 739 nfi.PositiveSign = ">"; in MarkUp() [all …]
|
H A D | parse.netcoreapp.cs | 40 …static partial void VerifySimpleFormatParseSpan(string num1, NumberFormatInfo nfi, BigInteger expe… in VerifySimpleFormatParseSpan() argument 44 Assert.Equal(expected, BigInteger.Parse(num1.AsReadOnlySpan(), provider: nfi)); in VerifySimpleFormatParseSpan() 45 …Assert.True(BigInteger.TryParse(num1.AsReadOnlySpan(), NumberStyles.Any, nfi, out BigInteger test)… in VerifySimpleFormatParseSpan() 50 … Assert.Throws<FormatException>(() => { BigInteger.Parse(num1.AsReadOnlySpan(), provider: nfi); }); in VerifySimpleFormatParseSpan() 51 …Assert.False(BigInteger.TryParse(num1.AsReadOnlySpan(), NumberStyles.Any, nfi, out BigInteger test… in VerifySimpleFormatParseSpan() 55 … void VerifyFormatParseSpan(string num1, NumberStyles ns, NumberFormatInfo nfi, BigInteger expecte… in VerifyFormatParseSpan() argument 59 Assert.Equal(expected, BigInteger.Parse(num1.AsReadOnlySpan(), ns, nfi)); in VerifyFormatParseSpan() 60 …Assert.True(BigInteger.TryParse(num1.AsReadOnlySpan(), NumberStyles.Any, nfi, out BigInteger test)… in VerifyFormatParseSpan() 65 … Assert.Throws<FormatException>(() => { BigInteger.Parse(num1.AsReadOnlySpan(), ns, nfi); }); in VerifyFormatParseSpan() 66 …Assert.False(BigInteger.TryParse(num1.AsReadOnlySpan(), ns, nfi, out BigInteger test), String.Form… in VerifyFormatParseSpan()
|
/dports/math/eclib/eclib-20210318/progs/ |
H A D | pcurve.cc | 93 newform* nfi = &((nf.nflist)[i]); local 99 long lplus=nfi->lplus, mplus=nfi->mplus; 100 long s = nfi->sfe; 121 cout << "Matrix ("<<nfi->a<<","<<nfi->b<<";"<<n*nfi->c<<","<<nfi->d<<"):\t"; 122 cout << "dotplus = "<< nfi->dotplus << ", dotminus = "<< nfi->dotminus<< "\n"; 140 nfi->dotplus *= nx; 141 nfi->dotminus *= ny; 142 nfi->type=type; 143 cout << "[(" <<nfi->a<<","<<nfi->b<<";"<<nfi->c 144 <<","<<nfi->d<<"),"<<nfi->dotplus<<","<<nfi->dotminus [all …]
|
H A D | nfhpcurve.cc | 160 newform* nfi = &((nf.nflist)[inf]); local 164 nfi->dotminus=1; 173 cout << "Matrix ("<<nfi->a<<","<<nfi->b<<";"<<n*nfi->c<<","<<nfi->d<<"):\t"; 174 cout << "dotplus = "<< nfi->dotplus << ", dotminus = "<< nfi->dotminus<< "\n"; 185 nfi->dotplus *= nx; 186 nfi->dotminus *= ny; 187 cout << "[(" <<nfi->a<<","<<nfi->b<<";"<<nfi->c 188 <<","<<nfi->d<<"),"<<nfi->dotplus<<","<<nfi->dotminus 189 <<";"<<nfi->type<<"]"<<endl; 242 newform& nfi = nf.nflist[inf]; local [all …]
|
/dports/net-mgmt/net-snmp/net-snmp-5.9/agent/helpers/ |
H A D | instance.c | 56 nfi->refcnt++; in netsnmp_num_file_instance_ref() 57 return nfi; in netsnmp_num_file_instance_ref() 64 free(nfi->file_name); in netsnmp_num_file_instance_deref() 65 free(nfi); in netsnmp_num_file_instance_deref() 566 nfi->refcnt = 1; in netsnmp_register_num_file_instance() 656 nfi->filep = fopen(nfi->file_name, "r"); in netsnmp_instance_num_file_handler() 662 rc = fscanf(nfi->filep, (nfi->type == ASN_INTEGER) ? "%ld" : "%lu", in netsnmp_instance_num_file_handler() 688 nfi->filep = fopen(nfi->file_name, "w+"); in netsnmp_instance_num_file_handler() 697 if (fscanf(nfi->filep, (nfi->type == ASN_INTEGER) ? "%ld" : "%lu", in netsnmp_instance_num_file_handler() 724 rc = fprintf(nfi->filep, (nfi->type == ASN_INTEGER) ? "%ld" : "%lu", in netsnmp_instance_num_file_handler() [all …]
|
/dports/science/quantum-espresso/q-e-qe-6.7.0/CPV/src/ |
H A D | print_out.f90 | 52 INTEGER, INTENT(IN) :: nfi local 91 CALL save_print_counter( nfi, ndw ) 104 IF( nfi > 0 ) THEN 170 CALL printout_pos( 35, tau0, nat, ityp, nfi = nfi, tps = tps ) 173 nfi = nfi, tps = tps, label = atm, & 194 CALL printout_pos( 34, tauw, nat, ityp, nfi = nfi, tps = tps ) 196 CALL printout_pos( 34, tauw, nat, ityp, nfi = nfi, tps = tps, & 211 CALL printout_pos( 37, fion, nat, ityp, nfi = nfi, tps = tps ) 213 CALL printout_pos( 37, fion, nat, ityp, nfi = nfi, tps = tps, & 521 IF ( nfi > 0 ) THEN [all …]
|
H A D | printout_base.f90 | 206 WRITE( iunit, 30 ) nfi, tps 238 SUBROUTINE printout_cell( iunit, h, nfi, tps ) argument 244 INTEGER, INTENT(IN), OPTIONAL :: nfi local 250 WRITE( iunit, 30 ) nfi, tps 273 INTEGER, INTENT(IN), OPTIONAL :: nfi local 279 WRITE( iunit, 30 ) nfi, tps 300 INTEGER, INTENT(IN), OPTIONAL :: nfi local 306 WRITE( iunit, 30 ) nfi, tps 327 INTEGER, INTENT(IN) :: nfi local 334 WRITE( iunit, 40 ) nfi, tps, iss [all …]
|
/dports/science/nwchem-data/nwchem-7.0.2-release/src/ccsd/ |
H A D | ccsd_idx2.F | 2 & nfi,nfk,ncor,nocc,nact,nbf, 44 nfik=nfi*nfk 84 call dgemm('n','n',nact*nfi,nocc,nfk,1.0d0,bufa(1,tid),nact*nfi, 90 do jj=1,nfi 93 & nact*nfi,1.0d0) 97 & nact*nfi,1.0d0) 157 double precision snsi(nbf,nfi,nfk,nocc), 168 nfik=nfi*nfk 181 call dgemm('n','n',nact*nfi,nocc,nfk,1.0d0,scra,nact*nfi, 187 c scrb,nact*nfi,1d0,5*nact) [all …]
|
/dports/science/nwchem/nwchem-7b21660b82ebd85ef659f6fba7e1e73433b0bd0a/src/ccsd/ |
H A D | ccsd_idx2.F | 2 & nfi,nfk,ncor,nocc,nact,nbf, 44 nfik=nfi*nfk 84 call dgemm('n','n',nact*nfi,nocc,nfk,1.0d0,bufa(1,tid),nact*nfi, 90 do jj=1,nfi 93 & nact*nfi,1.0d0) 97 & nact*nfi,1.0d0) 157 double precision snsi(nbf,nfi,nfk,nocc), 168 nfik=nfi*nfk 181 call dgemm('n','n',nact*nfi,nocc,nfk,1.0d0,scra,nact*nfi, 187 c scrb,nact*nfi,1d0,5*nact) [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/corlib/Test/System/ |
H A D | IntegerFormatterTest.cs | 34 NumberFormatInfo nfi = new NumberFormatInfo (); in TestStandard() 35 nfi.CurrencySymbol = "$"; in TestStandard() 42 ProcessLine (inputLine, nfi); in TestStandard() 82 DoTest (number, format, expected, nfi); in ProcessLine() 88 NumberFormatInfo nfi) in DoTest() argument 94 int i32 = Int32.Parse (number, nfi); in DoTest() 95 Assert.AreEqual(expected, i32.ToString (format, nfi), id); in DoTest() 98 long i64 = Int64.Parse (number, nfi); in DoTest() 99 Assert.AreEqual(expected, i64.ToString (format, nfi), id); in DoTest() 102 uint ui32 = UInt32.Parse (number, nfi); in DoTest() [all …]
|
H A D | NumberFormatterTest.cs | 499 nfi.NegativeSign = "+"; in Test01028() 500 nfi.PositiveSign = "-"; in Test01028() 717 nfi.NegativeSign = ""; in Test02024() 719 nfi.NegativeSign = "-"; in Test02024() 721 nfi.NegativeSign = "+"; in Test02024() 731 nfi.NegativeSign = "-"; in Test02025() 732 nfi.PositiveSign = "+"; in Test02025() 742 nfi.NegativeSign = "+"; in Test02026() 967 nfi.NegativeSign = ""; in Test03024() 1217 nfi.NegativeSign = ""; in Test04024() [all …]
|
H A D | FloatingPointFormatterTest.cs | 67 NumberFormatInfo nfi = new NumberFormatInfo (); in PermillePercent() 68 nfi.NegativeSign = ""; in PermillePercent() 69 nfi.PerMilleSymbol = "m"; in PermillePercent() 70 nfi.PercentSymbol = "percent"; in PermillePercent() 71 Assert.AreEqual ("m485.7", 0.4857.ToString ("\u2030###.###", nfi), "#2"); in PermillePercent() 72 Assert.AreEqual ("485.7m", 0.4857.ToString ("###.###\u2030", nfi), "#3"); in PermillePercent() 73 Assert.AreEqual ("percent48.57", 0.4857.ToString ("%###.###", nfi), "#4"); in PermillePercent() 74 Assert.AreEqual ("48.57percent", 0.4857.ToString ("###.###%", nfi), "#5"); in PermillePercent()
|
/dports/x11-toolkits/py-wxPython40/wxPython-4.0.7/unittests/ |
H A D | test_fontutil.py | 21 nfi = wx.NativeFontInfo() 22 nfi.InitFromFont(wx.NORMAL_FONT) 23 nfi.Encoding 24 nfi.FaceName 25 nfi.Family 26 nfi.PointSize 28 nfi.Style 29 nfi.Underlined 30 nfi.Weight
|
/dports/lang/mono/mono-5.10.1.57/external/corert/src/System.Private.CoreLib/src/System/Globalization/ |
H A D | CultureData.cs | 2203 nfi.currencySymbol = _sCurrency; in GetNFIValues() 2250 nfi.percentSymbol = this.SPERCENT; in GetNFIValues() 2251 nfi.perMilleSymbol = this.SPERMILLE; in GetNFIValues() 2255 nfi.nanSymbol = this.SNAN; in GetNFIValues() 2260 nfi.percentDecimalDigits = nfi.numberDecimalDigits; in GetNFIValues() 2261 nfi.percentDecimalSeparator = nfi.numberDecimalSeparator; in GetNFIValues() 2262 nfi.percentGroupSizes = nfi.numberGroupSizes; in GetNFIValues() 2263 nfi.percentGroupSeparator = nfi.numberGroupSeparator; in GetNFIValues() 2270 if (nfi.positiveSign == null || nfi.positiveSign.Length == 0) nfi.positiveSign = "+"; in GetNFIValues() 2275 if (nfi.currencyDecimalSeparator == null || nfi.currencyDecimalSeparator.Length == 0) in GetNFIValues() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Common/src/CoreLib/System/Globalization/ |
H A D | CultureData.cs | 2319 nfi.currencySymbol = _sCurrency; in GetNFIValues() 2366 nfi.percentSymbol = this.SPERCENT; in GetNFIValues() 2367 nfi.perMilleSymbol = this.SPERMILLE; in GetNFIValues() 2371 nfi.nanSymbol = this.SNAN; in GetNFIValues() 2376 nfi.percentDecimalDigits = nfi.numberDecimalDigits; in GetNFIValues() 2377 nfi.percentDecimalSeparator = nfi.numberDecimalSeparator; in GetNFIValues() 2378 nfi.percentGroupSizes = nfi.numberGroupSizes; in GetNFIValues() 2379 nfi.percentGroupSeparator = nfi.numberGroupSeparator; in GetNFIValues() 2386 if (nfi.positiveSign == null || nfi.positiveSign.Length == 0) nfi.positiveSign = "+"; in GetNFIValues() 2391 if (nfi.currencyDecimalSeparator == null || nfi.currencyDecimalSeparator.Length == 0) in GetNFIValues() [all …]
|
/dports/science/nwchem-data/nwchem-7.0.2-release/src/ddscf/ |
H A D | riscf_trans.F | 31 integer icount, i, j, ifirst, ilast, jfirst, jlast, nfi, nfj, nfs, 70 nfi = ilast - ifirst + 1 72 nfj = nfi 73 nij = ((nfi+1) * nfi) / 2 77 nij = nfi * nfj 85 call put_int (buf, sfirst, nfs, nfi, nfj, 148 subroutine put_int (buf, sfirst, nfs, nfi, nfj, T_tmp, 151 integer sfirst, nfs, nfi, nfj, Nff 155 dimension buf (nfj, nfi, nfs) 161 do i=1, nfi [all …]
|
/dports/science/nwchem/nwchem-7b21660b82ebd85ef659f6fba7e1e73433b0bd0a/src/ddscf/ |
H A D | riscf_trans.F | 31 integer icount, i, j, ifirst, ilast, jfirst, jlast, nfi, nfj, nfs, 73 nfi = ilast - ifirst + 1 75 nfj = nfi 76 nij = ((nfi+1) * nfi) / 2 80 nij = nfi * nfj 88 call put_int (buf, sfirst, nfs, nfi, nfj, 151 subroutine put_int (buf, sfirst, nfs, nfi, nfj, T_tmp, 154 integer sfirst, nfs, nfi, nfj, Nff 158 dimension buf (nfj, nfi, nfs) 164 do i=1, nfi [all …]
|
/dports/science/py-pyscf/pyscf-2.0.1/pyscf/lib/gto/ |
H A D | nr_ecp_deriv.c | 228 const int di = nfi * nci; 256 double *gpy = gpx + nfi*nfj; 500 const int nff = nfi * nfj; 501 const int di = nfi * nci; 694 const int nff = nfi * nfj; 695 const int di = nfi * nci; 707 MALLOC_INSTACK(buf1, (nfi1*nfj1*2 + nfi*nfj1*3 + nfi*nfj*9)); 761 pg[ j*nfi+i] = fac * pbuf[ j *nfi+i]; 762 pg[ nff+j*nfi+i] = fac * pbuf[_y_addr[j]*nfi+i]; 763 pg[2*nff+j*nfi+i] = fac * pbuf[_z_addr[j]*nfi+i]; [all …]
|