Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 423 for bigN (0.05 sec)

  1. src/math/big/arith_s390x.s

    	VPDI  $0x4, V18, V18, V18 // flip the doublewords to big-endian order
    	VPDI  $0x4, V19, V19, V19 // flip the doublewords to big-endian order
    	VPDI  $0x4, V20, V20, V20 // flip the doublewords to big-endian order
    	VPDI  $0x4, V21, V21, V21 // flip the doublewords to big-endian order
    	VPDI  $0x4, V22, V22, V22 // flip the doublewords to big-endian order
    	VPDI  $0x4, V23, V23, V23 // flip the doublewords to big-endian order
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  2. src/internal/types/testdata/check/lookup2.go

    // instead we use the big.Float and ast.File types as they provide a suitable mix of exported and un-
    // exported fields and methods.
    
    func _() {
    	var x *big.Float
    	_ = x.Neg  // OK
    	_ = x.NeG  // ERROR "x.NeG undefined (type *big.Float has no field or method NeG, but does have method Neg)"
    	_ = x.Form // ERROR "x.Form undefined (type *big.Float has no field or method Form, but does have unexported field form)"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 07 16:41:56 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. src/crypto/ecdsa/ecdsa_legacy.go

    // [SignASN1] instead of dealing directly with r, s.
    func Sign(rand io.Reader, priv *PrivateKey, hash []byte) (r, s *big.Int, err error) {
    	sig, err := SignASN1(rand, priv, hash)
    	if err != nil {
    		return nil, nil, err
    	}
    
    	r, s = new(big.Int), new(big.Int)
    	var inner cryptobyte.String
    	input := cryptobyte.String(sig)
    	if !input.ReadASN1(&inner, asn1.SEQUENCE) ||
    		!input.Empty() ||
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. src/crypto/elliptic/elliptic.go

    	IsOnCurve(x, y *big.Int) bool
    
    	// Add returns the sum of (x1,y1) and (x2,y2).
    	//
    	// Deprecated: this is a low-level unsafe API.
    	Add(x1, y1, x2, y2 *big.Int) (x, y *big.Int)
    
    	// Double returns 2*(x,y).
    	//
    	// Deprecated: this is a low-level unsafe API.
    	Double(x1, y1 *big.Int) (x, y *big.Int)
    
    	// ScalarMult returns k*(x,y) where k is an integer in big-endian form.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/inline/inlheur/testdata/dumpscores.go

    	if x > 101 {
    		// Drive up the cost of inlining this func over the
    		// regular threshold.
    		return big(big(big(big(big(G + x)))))
    	}
    	if x < 100 {
    		// make sure this callsite is scored properly
    		G += inlinable(101, inlinable2)
    		if G == 101 {
    			return 0
    		}
    		panic(inlinable2(3))
    	}
    	return G
    }
    
    func big(q int) int {
    	return noninl(q) + noninl(-q)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 15 14:26:26 UTC 2023
    - 794 bytes
    - Viewed (0)
  6. src/crypto/x509/oid.go

    	}
    	return dst
    }
    
    func base128BigIntLength(n *big.Int) int {
    	if n.Cmp(big.NewInt(0)) == 0 {
    		return 1
    	}
    	return (n.BitLen() + 6) / 7
    }
    
    func appendBase128BigInt(dst []byte, n *big.Int) []byte {
    	if n.Cmp(big.NewInt(0)) == 0 {
    		return append(dst, 0)
    	}
    
    	for i := base128BigIntLength(n) - 1; i >= 0; i-- {
    		o := byte(big.NewInt(0).Rsh(n, uint(i)*7).Bits()[0])
    		o &= 0x7f
    		if i != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 19:10:38 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. src/internal/types/testdata/check/lookup1.go

    }
    
    func _() {
    	var x big.Float
    	_ = x.neg // ERROR "x.neg undefined (type big.Float has no field or method neg, but does have method Neg)"
    	_ = x.nEg // ERROR "x.nEg undefined (type big.Float has no field or method nEg)"
    	_ = x.Neg
    	_ = x.NEg // ERROR "x.NEg undefined (type big.Float has no field or method NEg, but does have method Neg)"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 07 16:41:56 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top