HomeSort by relevance Sort by last modified time
    Searched refs:NewInt (Results 1 - 25 of 74) sorted by null

1 2 3

  /prebuilts/go/darwin-x86/test/fixedbugs/
issue9604b.go 15 var one = big.NewInt(1)
27 a = append(a, big.NewInt(0))
28 a = append(a, big.NewInt(1))
29 a = append(a, big.NewInt(2))
31 a = append(a, big.NewInt(-1))
32 a = append(a, big.NewInt(-2))
33 r := big.NewInt(1)
34 a = append(a, r.Lsh(r, t.bits-1).Sub(r, big.NewInt(1)))
35 r = big.NewInt(1)
36 a = append(a, r.Lsh(r, t.bits-1).Sub(r, big.NewInt(2))
    [all...]
bug284.go 12 type NewInt int
15 var i2 NewInt = 1
22 i2 = NewInt(i0)
23 i2 = NewInt(i1)
27 type A2 [3]NewInt
45 x NewInt
65 type P2 *NewInt
104 type F1 func(x NewInt) int
105 type F2 func(x int) NewInt
106 var f0 func(x NewInt) in
    [all...]
  /prebuilts/go/linux-x86/test/fixedbugs/
issue9604b.go 15 var one = big.NewInt(1)
27 a = append(a, big.NewInt(0))
28 a = append(a, big.NewInt(1))
29 a = append(a, big.NewInt(2))
31 a = append(a, big.NewInt(-1))
32 a = append(a, big.NewInt(-2))
33 r := big.NewInt(1)
34 a = append(a, r.Lsh(r, t.bits-1).Sub(r, big.NewInt(1)))
35 r = big.NewInt(1)
36 a = append(a, r.Lsh(r, t.bits-1).Sub(r, big.NewInt(2))
    [all...]
bug284.go 12 type NewInt int
15 var i2 NewInt = 1
22 i2 = NewInt(i0)
23 i2 = NewInt(i1)
27 type A2 [3]NewInt
45 x NewInt
65 type P2 *NewInt
104 type F1 func(x NewInt) int
105 type F2 func(x int) NewInt
106 var f0 func(x NewInt) in
    [all...]
  /prebuilts/go/darwin-x86/misc/cgo/gmp/
pi.go 16 tmp1 = big.NewInt(0)
17 tmp2 = big.NewInt(0)
18 numer = big.NewInt(1)
19 accum = big.NewInt(0)
20 denom = big.NewInt(1)
21 ten = big.NewInt(10)
fib.go 25 i := big.NewInt(n)
  /prebuilts/go/linux-x86/misc/cgo/gmp/
pi.go 16 tmp1 = big.NewInt(0)
17 tmp2 = big.NewInt(0)
18 numer = big.NewInt(1)
19 accum = big.NewInt(0)
20 denom = big.NewInt(1)
21 ten = big.NewInt(10)
fib.go 25 i := big.NewInt(n)
  /prebuilts/go/darwin-x86/src/math/big/
int_test.go 31 {NewInt(0), NewInt(0), NewInt(0)},
32 {NewInt(1), NewInt(1), NewInt(0)},
33 {NewInt(1111111110), NewInt(123456789), NewInt(987654321)},
34 {NewInt(-1), NewInt(-1), NewInt(0)}
    [all...]
example_test.go 71 a := big.NewInt(0)
72 b := big.NewInt(1)
76 limit.Exp(big.NewInt(10), big.NewInt(99), nil)
rat_test.go 95 one := NewInt(1)
283 x.SetFrac(NewInt(3), NewInt(2))
290 x.SetFrac(NewInt(3), x.Num())
297 x.SetFrac(x.Denom(), NewInt(2))
312 n := NewInt(7)
327 one := NewInt(1)
398 num, den := NewInt(b), NewInt(1)
446 num, den := NewInt(b), NewInt(1
    [all...]
prime_test.go 146 c := NewInt(11) // a prime
  /prebuilts/go/linux-x86/src/math/big/
int_test.go 31 {NewInt(0), NewInt(0), NewInt(0)},
32 {NewInt(1), NewInt(1), NewInt(0)},
33 {NewInt(1111111110), NewInt(123456789), NewInt(987654321)},
34 {NewInt(-1), NewInt(-1), NewInt(0)}
    [all...]
example_test.go 71 a := big.NewInt(0)
72 b := big.NewInt(1)
76 limit.Exp(big.NewInt(10), big.NewInt(99), nil)
rat_test.go 95 one := NewInt(1)
283 x.SetFrac(NewInt(3), NewInt(2))
290 x.SetFrac(NewInt(3), x.Num())
297 x.SetFrac(x.Denom(), NewInt(2))
312 n := NewInt(7)
327 one := NewInt(1)
398 num, den := NewInt(b), NewInt(1)
446 num, den := NewInt(b), NewInt(1
    [all...]
prime_test.go 146 c := NewInt(11) // a prime
  /prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/
swt_test.go 13 return nodlit(Val{&Mpint{Val: *big.NewInt(int64(r)), Rune: true}})
  /prebuilts/go/darwin-x86/src/crypto/x509/
x509_test_import.go 29 SerialNumber: big.NewInt(1),
root_darwin_arm_gen.go 81 sn, ok := big.NewInt(0).SetString(id.serialNumber, 0) // 0x prefix selects hex
85 ski, ok := big.NewInt(0).SetString(id.subjectKeyID, 0)
94 cski := big.NewInt(0).SetBytes(cert.SubjectKeyId)
  /prebuilts/go/linux-x86/src/cmd/compile/internal/gc/
swt_test.go 13 return nodlit(Val{&Mpint{Val: *big.NewInt(int64(r)), Rune: true}})
  /prebuilts/go/linux-x86/src/crypto/x509/
x509_test_import.go 29 SerialNumber: big.NewInt(1),
root_darwin_arm_gen.go 81 sn, ok := big.NewInt(0).SetString(id.serialNumber, 0) // 0x prefix selects hex
85 ski, ok := big.NewInt(0).SetString(id.subjectKeyID, 0)
94 cski := big.NewInt(0).SetBytes(cert.SubjectKeyId)
  /prebuilts/go/darwin-x86/src/go/constant/
value.go 190 func newInt() *big.Int { return new(big.Int) }
194 func i64toi(x int64Val) intVal { return intVal{newInt().SetInt64(int64(x))} }
209 minInt64 = big.NewInt(-1 << 63)
210 maxInt64 = big.NewInt(1<<63 - 1)
294 return intVal{newInt().SetUint64(x)}
325 if x, ok := newInt().SetString(lit, 0); ok {
583 return makeInt(newInt().SetBits(words[:i]))
693 i := newInt()
803 return makeInt(newInt().Neg(big.NewInt(int64(y)))
    [all...]
  /prebuilts/go/linux-x86/src/go/constant/
value.go 190 func newInt() *big.Int { return new(big.Int) }
194 func i64toi(x int64Val) intVal { return intVal{newInt().SetInt64(int64(x))} }
209 minInt64 = big.NewInt(-1 << 63)
210 maxInt64 = big.NewInt(1<<63 - 1)
294 return intVal{newInt().SetUint64(x)}
325 if x, ok := newInt().SetString(lit, 0); ok {
583 return makeInt(newInt().SetBits(words[:i]))
693 i := newInt()
803 return makeInt(newInt().Neg(big.NewInt(int64(y)))
    [all...]
  /prebuilts/go/darwin-x86/src/encoding/asn1/
marshal_test.go 98 {bigIntStruct{big.NewInt(0x123456)}, "30050203123456"},

Completed in 2316 milliseconds

1 2 3