- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 517 for bigN (0.13 sec)
-
src/go/constant/value.go
func (intVal) implementsValue() {} func (floatVal) implementsValue() {} func (complexVal) implementsValue() {} func newInt() *big.Int { return new(big.Int) } func newRat() *big.Rat { return new(big.Rat) } func newFloat() *big.Float { return new(big.Float).SetPrec(prec) } func i64toi(x int64Val) intVal { return intVal{newInt().SetInt64(int64(x))} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 34K bytes - Viewed (0) -
src/internal/types/testdata/check/importdecl0/importdecl0a.go
) import "math" /* ERROR "imported and not used" */ import m /* ERROR "imported as m and not used" */ "math" import _ "math" import ( "math/big" /* ERROR "imported and not used" */ b /* ERROR "imported as b and not used" */ "math/big" _ "math/big" ) import "fmt" import f1 "fmt" import f2 "fmt" // reflect.flag must not be visible in this package type flag int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 1.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ByteStreamsTest.java
} public void testLimit_mark() throws Exception { byte[] big = newPreFilledByteArray(5); InputStream bin = new ByteArrayInputStream(big); InputStream lin = ByteStreams.limit(bin, 2); int read = lin.read(); assertEquals(big[0], read); lin.mark(2); read = lin.read(); assertEquals(big[1], read); read = lin.read(); assertEquals(-1, read);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 21.9K bytes - Viewed (0) -
src/math/rand/v2/regress_test.go
} x = int(big) case reflect.Uint: if m.Name == "Uint" { continue } big := uint64s[repeat%len(uint64s)] if uint64(uint(big)) != big { r.Uint64N(big) // what would happen on 64-bit machine, to keep stream in sync if *update { t.Fatalf("must run -update on 64-bit machine") } p++ continue } x = uint(big) case reflect.Int32:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:03:11 UTC 2024 - 20.3K bytes - Viewed (0) -
src/internal/xcoff/ar.go
} // Archive represents an open AIX big archive. type Archive struct { ArchiveHeader Members []*Member closer io.Closer } // ArchiveHeader holds information about a big archive file header type ArchiveHeader struct { magic string } // Member represents a member of an AIX big archive. type Member struct { MemberHeader sr *io.SectionReader }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:32:51 UTC 2024 - 5.6K bytes - Viewed (0) -
src/go/importer/importer_test.go
mathBigInt := pkg.Scope().Lookup("Int") posn := fset.Position(mathBigInt.Pos()) // "$GOROOT/src/math/big/int.go:25:1" filename := strings.Replace(posn.Filename, "$GOROOT", testenv.GOROOT(t), 1) data, err := os.ReadFile(filename) if err != nil { t.Fatalf("can't read file containing declaration of math/big.Int: %v", err) } lines := strings.Split(string(data), "\n")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 25 21:16:32 UTC 2023 - 2.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go
got infDecAmount expect string }{ {bigDec(big.NewInt(1), 0), "1"}, {bigDec(big.NewInt(1), 1), "10"}, {bigDec(big.NewInt(5), 2), "500"}, {bigDec(big.NewInt(8), 3), "8000"}, {bigDec(big.NewInt(2), 0), "2"}, {bigDec(big.NewInt(1), -1), "0.1"}, {bigDec(big.NewInt(3), -2), "0.03"}, {bigDec(big.NewInt(4), -3), "0.004"}, {bigDec(big.NewInt(0).Add(bigMostPositive, big.NewInt(1)), 0), "9223372036854775808"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:10 UTC 2024 - 49.4K bytes - Viewed (0) -
src/vendor/golang.org/x/crypto/cryptobyte/string.go
} *out = uint8(v[0]) return true } // ReadUint16 decodes a big-endian, 16-bit value into out and advances over it. // It reports whether the read was successful. func (s *String) ReadUint16(out *uint16) bool { v := s.read(2) if v == nil { return false } *out = uint16(v[0])<<8 | uint16(v[1]) return true } // ReadUint24 decodes a big-endian, 24-bit value into out and advances over it.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 10 16:32:44 UTC 2023 - 5.2K bytes - Viewed (0) -
src/io/fs/format_test.go
"d home/gopher/", }, { formatTest{ name: "big", size: 0x7fffffffffffffff, mode: ModeIrregular | 0o644, modTime: time.Date(1970, time.January, 1, 12, 0, 0, 0, time.UTC), isDir: false, }, "?rw-r--r-- 9223372036854775807 1970-01-01 12:00:00 big", "? big", }, { formatTest{ name: "small", size: -0x8000000000000000,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 02 17:59:28 UTC 2023 - 2.5K bytes - Viewed (0) -
src/crypto/internal/edwards25519/scalar_test.go
} else if out != nil { t.Errorf("SetCanonicalBytes did not return nil with an error") } } func TestScalarSetUniformBytes(t *testing.T) { mod, _ := new(big.Int).SetString("27742317777372353535851937790883648493", 10) mod.Add(mod, new(big.Int).Lsh(big.NewInt(1), 252)) f := func(in [64]byte, sc Scalar) bool { sc.SetUniformBytes(in[:]) repr := sc.Bytes() if !isReduced(repr) { return false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 17:26:17 UTC 2023 - 7.6K bytes - Viewed (0)