Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 670 for big4 (0.34 sec)

  1. 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)
  2. cmd/kube-apiserver/app/options/validation_test.go

    		},
    		{
    			name:         "service cidr is too big",
    			expectErrors: true,
    			options:      makeOptionsWithCIDRs("10.0.0.0/8", ""),
    		},
    		{
    			name:         "service cidr IPv4 is too big but gate enbled",
    			expectErrors: false,
    			options:      makeOptionsWithCIDRs("10.0.0.0/8", ""),
    			gate:         true,
    		},
    		{
    			name:         "service cidr IPv6 is too big but gate enbled",
    			expectErrors: false,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  3. src/crypto/internal/boring/ecdh.go

    	big := C._goboringcrypto_BN_new()
    	defer C._goboringcrypto_BN_free(big)
    	if C._goboringcrypto_EC_POINT_get_affine_coordinates_GFp(group, pt, big, nil, nil) == 0 {
    		return nil, fail("EC_POINT_get_affine_coordinates_GFp")
    	}
    	return bigBytesECDH(curve, big)
    }
    
    func bigBytesECDH(curve string, big *C.GO_BIGNUM) ([]byte, error) {
    	out := make([]byte, curveSize(curve))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 17:51:31 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  4. src/crypto/ecdsa/boring.go

    }
    
    func copyPublicKey(k *PublicKey) PublicKey {
    	return PublicKey{
    		Curve: k.Curve,
    		X:     new(big.Int).Set(k.X),
    		Y:     new(big.Int).Set(k.Y),
    	}
    }
    
    func copyPrivateKey(k *PrivateKey) PrivateKey {
    	return PrivateKey{
    		PublicKey: copyPublicKey(&k.PublicKey),
    		D:         new(big.Int).Set(k.D),
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 18 00:30:19 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  5. pkg/controller/certificates/authority/authority.go

    limitations under the License.
    */
    
    package authority
    
    import (
    	"crypto"
    	"crypto/rand"
    	"crypto/x509"
    	"fmt"
    	"math/big"
    )
    
    var serialNumberLimit = new(big.Int).Lsh(big.NewInt(1), 128)
    
    // CertificateAuthority implements a certificate authority that supports policy
    // based signing. It's used by the signing controller.
    type CertificateAuthority struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 23 19:36:11 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  6. src/math/big/intmarsh.go

    }
    
    // UnmarshalText implements the [encoding.TextUnmarshaler] interface.
    func (z *Int) UnmarshalText(text []byte) error {
    	if _, ok := z.setFromScanner(bytes.NewReader(text), 0); !ok {
    		return fmt.Errorf("math/big: cannot unmarshal %q into a *big.Int", text)
    	}
    	return nil
    }
    
    // The JSON marshalers are only here for API backward compatibility
    // (programs that explicitly look for these two methods). JSON works
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  7. src/math/floor_amd64.s

    // license that can be found in the LICENSE file.
    
    #include "textflag.h"
    
    #define Big		0x4330000000000000 // 2**52
    
    // func archFloor(x float64) float64
    TEXT ·archFloor(SB),NOSPLIT,$0
    	MOVQ	x+0(FP), AX
    	MOVQ	$~(1<<63), DX // sign bit mask
    	ANDQ	AX,DX // DX = |x|
    	SUBQ	$1,DX
    	MOVQ    $(Big - 1), CX // if |x| >= 2**52-1 or IsNaN(x) or |x| == 0, return x
    	CMPQ	DX,CX
    	JAE     isBig_floor
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 15 15:48:19 UTC 2021
    - 2K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/route/route_cache.go

    		h.WriteString(efk)
    		h.Write(Separator)
    	}
    	h.Write(Separator)
    
    	return h.Sum64()
    }
    
    func hashToBytes(number model.ConfigHash) []byte {
    	big := new(big.Int)
    	big.SetUint64(uint64(number))
    	return big.Bytes()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. test/fixedbugs/bug155.go

    // build
    
    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    const big uint64 = 1<<63
    
    func f(a uint64) uint64 {
    	return a << big
    }
    
    func main() {
    	f(1)
    }
    
    /*
    main·f: doasm: notfound from=75 to=13 (82)    SHLQ    $-9223372036854775808,BX
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 21 23:19:59 UTC 2012
    - 525 bytes
    - Viewed (0)
  10. src/runtime/debug/garbage_test.go

    		}
    		off = (off + len(mstats.PauseEnd) - 1) % len(mstats.PauseEnd)
    	}
    }
    
    var big []byte
    
    func TestFreeOSMemory(t *testing.T) {
    	// Tests FreeOSMemory by making big susceptible to collection
    	// and checking that at least that much memory is returned to
    	// the OS after.
    
    	const bigBytes = 32 << 20
    	big = make([]byte, bigBytes)
    
    	// Make sure any in-progress GCs are complete.
    	runtime.GC()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 19 14:30:00 UTC 2023
    - 7.2K bytes
    - Viewed (0)
Back to top