Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for bigalg (0.15 sec)

  1. test/bigalg.go

    }
    
    var a = []int{1, 2, 3}
    var NIL []int
    
    func arraycmptest() {
    	if NIL != nil {
    		println("fail1:", NIL, "!= nil")
    		panic("bigalg")
    	}
    	if nil != NIL {
    		println("fail2: nil !=", NIL)
    		panic("bigalg")
    	}
    	if a == nil || nil == a {
    		println("fail3:", a, "== nil")
    		panic("bigalg")
    	}
    }
    
    func SameArray(a, b []int) bool {
    	if len(a) != len(b) || cap(a) != cap(b) {
    		return false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 12 18:17:49 UTC 2013
    - 2.1K bytes
    - Viewed (0)
  2. src/crypto/tls/auth.go

    				sigAlgs = append(sigAlgs, candidate.scheme)
    			}
    		}
    	case ed25519.PublicKey:
    		sigAlgs = []SignatureScheme{Ed25519}
    	default:
    		return nil
    	}
    
    	if cert.SupportedSignatureAlgorithms != nil {
    		var filteredSigAlgs []SignatureScheme
    		for _, sigAlg := range sigAlgs {
    			if isSupportedSignatureAlgorithm(sigAlg, cert.SupportedSignatureAlgorithms) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:45:37 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. src/internal/xcoff/testdata/bigar-empty

    <bigaf>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 11 16:15:10 UTC 2018
    - 128 bytes
    - Viewed (0)
  4. src/crypto/tls/auth_test.go

    	for _, sigAlg := range supportedSignatureAlgorithms() {
    		sigType, hash, err := typeAndHashFromSignatureScheme(sigAlg)
    		if err != nil {
    			t.Errorf("%v: unexpected error: %v", sigAlg, err)
    		}
    		if sigType == 0 {
    			t.Errorf("%v: missing signature type", sigAlg)
    		}
    		if hash == 0 && sigAlg != Ed25519 {
    			t.Errorf("%v: missing hash", sigAlg)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 08 21:48:41 UTC 2020
    - 6.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/syntax/testdata/linalg.go

    // Copyright 2019 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 linalg
    
    import "math"
    
    // Numeric is type bound that matches any numeric type.
    // It would likely be in a constraints package in the standard library.
    type Numeric interface {
    	~int | ~int8 | ~int16 | ~int32 | ~int64 |
    		uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr |
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 30 18:02:18 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  6. src/go/parser/testdata/linalg.go2

    // Copyright 2019 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 linalg
    
    import "math"
    
    // Numeric is type bound that matches any numeric type.
    // It would likely be in a constraints package in the standard library.
    type Numeric interface {
    	~int|~int8|~int16|~int32|~int64|
    		~uint|~uint8|~uint16|~uint32|~uint64|~uintptr|
    		~float32|~float64|
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 15:34:22 UTC 2021
    - 2K bytes
    - Viewed (0)
  7. src/internal/types/testdata/check/linalg.go

    // Copyright 2019 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 linalg
    
    // Numeric is type bound that matches any numeric type.
    // It would likely be in a constraints package in the standard library.
    type Numeric interface {
    	~int | ~int8 | ~int16 | ~int32 | ~int64 |
    		~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr |
    		~float32 | ~float64 |
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  8. src/internal/xcoff/testdata/bigar-ppc64

    Clément Chigot <******@****.***> 1544435619 +0100
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 11 16:15:10 UTC 2018
    - 2.4K bytes
    - Viewed (0)
  9. src/crypto/x509/oid.go

    			bigVal = bigVal.Lsh(bigVal, bitsPerByte).Or(bigVal, big.NewInt(int64(curVal)))
    			if valEnd {
    				if start == 0 {
    					b.WriteString("2.")
    					bigVal = bigVal.Sub(bigVal, big.NewInt(80))
    				}
    				numBuf = bigVal.Append(numBuf, 10)
    				b.Write(numBuf)
    				numBuf = numBuf[:0]
    				val = 0
    				start = i + 1
    				overflow = false
    			}
    			continue
    		}
    		val <<= bitsPerByte
    		val |= uint64(curVal)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 19:10:38 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  10. src/runtime/race/testdata/map_test.go

    	<-ch
    }
    
    func TestRaceMapBigValInsert(t *testing.T) {
    	m := make(map[int]BigVal)
    	var v BigVal
    	ch := make(chan bool, 1)
    	go func() {
    		m[1] = v
    		ch <- true
    	}()
    	v.y[30] = new(int)
    	<-ch
    }
    
    func TestRaceMapBigValAccess1(t *testing.T) {
    	m := make(map[int]BigVal)
    	var v BigVal
    	ch := make(chan bool, 1)
    	go func() {
    		v = m[1]
    		ch <- true
    	}()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 03 22:09:38 UTC 2017
    - 5.1K bytes
    - Viewed (0)
Back to top