- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 670 for big4 (0.03 sec)
-
src/crypto/x509/pkcs1.go
"encoding/asn1" "errors" "math/big" ) // pkcs1PrivateKey is a structure which mirrors the PKCS #1 ASN.1 for an RSA private key. type pkcs1PrivateKey struct { Version int N *big.Int E int D *big.Int P *big.Int Q *big.Int // We ignore these values, if present, because rsa will calculate them. Dp *big.Int `asn1:"optional"` Dq *big.Int `asn1:"optional"`
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 17:09:47 UTC 2023 - 4.7K bytes - Viewed (0) -
src/go/doc/comment/testdata/list5.txt
-- input -- Text. 1. One 999999999999999999999. Big 1000000000000000000000. Bigger 1000000000000000000001. Biggest -- gofmt -- Text. 1. One 999999999999999999999. Big 1000000000000000000000. Bigger 1000000000000000000001. Biggest -- text -- Text. 1. One 999999999999999999999. Big 1000000000000000000000. Bigger 1000000000000000000001. Biggest -- markdown -- Text. 1. One
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:31:48 UTC 2022 - 590 bytes - Viewed (0) -
src/math/big/example_rat_test.go
package big_test import ( "fmt" "math/big" ) // Use the classic continued fraction for e // // e = [1; 0, 1, 1, 2, 1, 1, ... 2n, 1, 1, ...] // // i.e., for the nth term, use // // 1 if n mod 3 != 1 // (n-1)/3 * 2 if n mod 3 == 1 func recur(n, lim int64) *big.Rat { term := new(big.Rat) if n%3 != 1 { term.SetInt64(1) } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 1.7K bytes - Viewed (0) -
test/abi/idata.go
package main import ( "fmt" "math" "math/big" ) type ( unknownVal struct{} intVal struct{ val *big.Int } // Int values not representable as an int64 ratVal struct{ val *big.Rat } // Float values representable as a fraction floatVal struct{ val *big.Float } // Float values not representable as a fraction complexVal struct{ re, im Value } )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 05 20:11:08 UTC 2021 - 2.1K bytes - Viewed (0) -
test/fixedbugs/bug273.go
var minus1 = -1 var five = 5 var big int64 = 10 | 1<<46 type block [1 << 19]byte var g1 []block func shouldfail(f func(), desc string) { defer func() { recover() }() f() if !bug { println("BUG") bug = true } println("didn't crash: ", desc) } func badlen() { g1 = make([]block, minus1) } func biglen() { g1 = make([]block, big) } func badcap() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 26 14:06:28 UTC 2018 - 1.3K bytes - Viewed (0) -
src/crypto/dsa/dsa_test.go
t.Errorf("%d: q.BitLen got:%d want:%d", int(sizes), params.Q.BitLen(), L) } one := new(big.Int) one.SetInt64(1) pm1 := new(big.Int).Sub(params.P, one) quo, rem := new(big.Int).DivMod(pm1, params.Q, new(big.Int)) if rem.Sign() != 0 { t.Errorf("%d: p-1 mod q != 0", int(sizes)) } x := new(big.Int).Exp(params.G, quo, params.P) if x.Cmp(one) == 0 { t.Errorf("%d: invalid generator", int(sizes)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 15 21:04:43 UTC 2019 - 4.7K bytes - Viewed (0) -
src/internal/types/testdata/fixedbugs/issue49736.go
// license that can be found in the LICENSE file. package p import "math/big" // From go.dev/issue/18419 func _(x *big.Float) { x.form /* ERROR "x.form undefined (cannot refer to unexported field form)" */ () } // From go.dev/issue/31053 func _() { _ = big.Float{form /* ERROR "cannot refer to unexported field form in struct literal of type big.Float" */ : 0}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 07 16:41:56 UTC 2024 - 478 bytes - Viewed (0) -
test/fixedbugs/issue62360.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main import ( "fmt" "math/big" ) //go:noinline func f(x uint32) *big.Int { return big.NewInt(int64(x)) } func main() { b := f(0xffffffff) c := big.NewInt(0xffffffff) if b.Cmp(c) != 0 { panic(fmt.Sprintf("b:%x c:%x", b, c)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 30 15:15:28 UTC 2023 - 414 bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/resource/scale_int.go
limitations under the License. */ package resource import ( "math" "math/big" "sync" ) var ( // A sync pool to reduce allocation. intPool sync.Pool maxInt64 = big.NewInt(math.MaxInt64) ) func init() { intPool.New = func() interface{} { return &big.Int{} } } // scaledValue scales given unscaled value from scale to new Scale and returns
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 29 20:41:44 UTC 2017 - 2.5K bytes - Viewed (0) -
test/const1.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 01 21:49:31 UTC 2020 - 3.8K bytes - Viewed (0)