Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 670 for big4 (0.08 sec)

  1. src/math/big/arith_amd64.go

    // Copyright 2017 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.
    
    //go:build !math_big_pure_go
    
    package big
    
    import "internal/cpu"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 278 bytes
    - Viewed (0)
  2. pkg/registry/core/service/ipallocator/bitmap.go

    //	  |                              |
    //	offset #0 of r.allocated   last offset of r.allocated
    type Range struct {
    	net *net.IPNet
    	// base is a cached version of the start IP in the CIDR range as a *big.Int
    	base *big.Int
    	// max is the maximum size of the usable addresses in the range
    	max int
    	// family is the IP family of this range
    	family api.IPFamily
    
    	alloc allocator.Interface
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 25 20:32:40 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  3. pkg/kubelet/certificate/transport_test.go

    	// The last certificate we've seen.
    	lastSeenLeafCert := new(atomic.Value) // Always *x509.Certificate
    
    	lastSerialNumber := func() *big.Int {
    		if cert := lastSeenLeafCert.Load(); cert != nil {
    			return cert.(*x509.Certificate).SerialNumber
    		}
    		return big.NewInt(0)
    	}
    
    	h := func(w http.ResponseWriter, r *http.Request) {
    		if r.TLS != nil && len(r.TLS.PeerCertificates) != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 18 08:52:58 UTC 2020
    - 7.8K bytes
    - Viewed (0)
  4. src/crypto/tls/generate_cert.go

    		if err != nil {
    			log.Fatalf("Failed to parse creation date: %v", err)
    		}
    	}
    
    	notAfter := notBefore.Add(*validFor)
    
    	serialNumberLimit := new(big.Int).Lsh(big.NewInt(1), 128)
    	serialNumber, err := rand.Int(rand.Reader, serialNumberLimit)
    	if err != nil {
    		log.Fatalf("Failed to generate serial number: %v", err)
    	}
    
    	template := x509.Certificate{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 08 15:22:02 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  5. src/vendor/golang.org/x/sys/cpu/endian_big.go

    //go:build armbe || arm64be || m68k || mips || mips64 || mips64p32 || ppc || ppc64 || s390 || s390x || shbe || sparc || sparc64
    
    package cpu
    
    // IsBigEndian records whether the GOARCH's byte order is big endian.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 397 bytes
    - Viewed (0)
  6. test/printbig.go

    // run
    
    // 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.
    
    // Test that big numbers work as constants and print can print them.
    
    package main
    
    func main() {
    	print(-(1<<63), "\n")
    	print((1<<63)-1, "\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 31 17:36:45 UTC 2018
    - 315 bytes
    - Viewed (0)
  7. src/vendor/golang.org/x/sys/cpu/endian_little.go

    //go:build 386 || amd64 || amd64p32 || alpha || arm || arm64 || loong64 || mipsle || mips64le || mips64p32le || nios2 || ppc64le || riscv || riscv64 || sh || wasm
    
    package cpu
    
    // IsBigEndian records whether the GOARCH's byte order is big endian.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 433 bytes
    - Viewed (0)
  8. test/fixedbugs/issue39459.go

    // compile
    
    // Copyright 2020 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 p
    
    type T struct { // big enough to be an unSSAable type
    	a, b, c, d, e, f int
    }
    
    func f(x interface{}, p *int) {
    	_ = *p // trigger nil check here, removing it from below
    	switch x := x.(type) {
    	case *T:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 25 15:59:48 UTC 2020
    - 583 bytes
    - Viewed (0)
  9. test/fixedbugs/issue19084.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 19084: SSA doesn't handle CONVNOP STRUCTLIT
    
    package p
    
    type T struct {
    	a, b, c, d, e, f, g, h int // big, not SSA-able
    }
    
    func f() {
    	_ = T(T{})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 14 18:57:56 UTC 2017
    - 330 bytes
    - Viewed (0)
  10. src/crypto/ecdsa/ecdsa_test.go

    	}
    
    	if r0.Cmp(r1) == 0 {
    		t.Errorf("two signatures of the same message produced the same nonce")
    	}
    }
    
    func fromHex(s string) *big.Int {
    	r, ok := new(big.Int).SetString(s, 16)
    	if !ok {
    		panic("bad hex")
    	}
    	return r
    }
    
    func TestVectors(t *testing.T) {
    	// This test runs the full set of NIST test vectors from
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:58 UTC 2024
    - 13.5K bytes
    - Viewed (0)
Back to top