Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 34 for bigalg (0.2 sec)

  1. src/crypto/x509/x509.go

    			}
    
    			return sigAlgo, pkix.AlgorithmIdentifier{
    				Algorithm:  details.oid,
    				Parameters: details.params,
    			}, nil
    		}
    	}
    
    	return 0, ai, errors.New("x509: unknown SignatureAlgorithm")
    }
    
    func signTBS(tbs []byte, key crypto.Signer, sigAlg SignatureAlgorithm, rand io.Reader) ([]byte, error) {
    	signed := tbs
    	hashFunc := sigAlg.hashFunc()
    	if hashFunc != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
  2. src/internal/xcoff/ar_test.go

    	membersFileHeader []FileHeader
    }
    
    var archTest = []archiveTest{
    	{
    		"testdata/bigar-ppc64",
    		ArchiveHeader{AIAMAGBIG},
    		[]*MemberHeader{
    			{"printbye.o", 836},
    			{"printhello.o", 860},
    		},
    		[]FileHeader{
    			{U64_TOCMAGIC},
    			{U64_TOCMAGIC},
    		},
    	},
    	{
    		"testdata/bigar-empty",
    		ArchiveHeader{AIAMAGBIG},
    		[]*MemberHeader{},
    		[]FileHeader{},
    	},
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 22:19:22 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  3. src/crypto/tls/handshake_messages.go

    	if m.hasSignatureAlgorithm {
    		n := len(m.supportedSignatureAlgorithms) * 2
    		y[0] = uint8(n >> 8)
    		y[1] = uint8(n)
    		y = y[2:]
    		for _, sigAlgo := range m.supportedSignatureAlgorithms {
    			y[0] = uint8(sigAlgo >> 8)
    			y[1] = uint8(sigAlgo)
    			y = y[2:]
    		}
    	}
    
    	y[0] = uint8(casLength >> 8)
    	y[1] = uint8(casLength)
    	y = y[2:]
    	for _, ca := range m.certificateAuthorities {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  4. src/crypto/tls/handshake_server_tls13.go

    		return err
    	}
    
    	certVerifyMsg := new(certificateVerifyMsg)
    	certVerifyMsg.hasSignatureAlgorithm = true
    	certVerifyMsg.signatureAlgorithm = hs.sigAlg
    
    	sigType, sigHash, err := typeAndHashFromSignatureScheme(hs.sigAlg)
    	if err != nil {
    		return c.sendAlert(alertInternalError)
    	}
    
    	signed := signedMessage(sigHash, serverSignatureContext, hs.transcript)
    	signOpts := crypto.SignerOpts(sigHash)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/trampoline_reuse_test.txt

    # Note, this program does not run. Presumably, 'DWORD $0' is simpler to
    # assembly 2^26 or so times.
    #
    # We build something which should be laid out as such:
    #
    # bar.Bar
    # main.Func1
    # bar.Bar+400-tramp0
    # main.BigAsm
    # main.Func2
    # bar.Bar+400-tramp1
    #
    # bar.Bar needs to be placed far enough away to generate relocations
    # from main package calls. and main.Func1 and main.Func2 are placed
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 14:31:23 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  6. src/runtime/map_benchmark_test.go

    	m := make(map[BigKey]bool)
    	k := BigKey{3, 4, 5}
    	m[k] = true
    	for i := 0; i < b.N; i++ {
    		_ = m[k]
    	}
    }
    
    type BigVal [3]int64
    
    func BenchmarkBigValMap(b *testing.B) {
    	m := make(map[BigKey]BigVal)
    	k := BigKey{3, 4, 5}
    	m[k] = BigVal{6, 7, 8}
    	for i := 0; i < b.N; i++ {
    		_ = m[k]
    	}
    }
    
    func BenchmarkSmallKeyMap(b *testing.B) {
    	m := make(map[int16]bool)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 09 16:41:16 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  7. src/crypto/x509/x509_test.go

    	}
    }
    
    func TestCreateCertificateLegacy(t *testing.T) {
    	sigAlg := MD5WithRSA
    	template := &Certificate{
    		SerialNumber:       big.NewInt(10),
    		DNSNames:           []string{"example.com"},
    		SignatureAlgorithm: sigAlg,
    	}
    	_, err := CreateCertificate(rand.Reader, template, template, testPrivateKey.Public(), &brokenSigner{testPrivateKey.Public()})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
  8. test/64bit.go

    			var div, mod Int64
    			dodiv := false
    			var zero Int64
    			if b.Cmp(zero) != 0 {	// b != 0
    				// Can't divide by zero but also can't divide -0x8000...000 by -1.
    				var bigneg = Int64{-0x80000000, 0}
    				var minus1 = Int64{-1, ^uint32(0)}
    				if a.Cmp(bigneg) != 0 || b.Cmp(minus1) != 0 {	// a != -1<<63 || b != -1
    					div, mod = a.DivMod(b)
    					dodiv = true
    				}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 30 19:21:08 UTC 2013
    - 24.8K bytes
    - Viewed (0)
  9. src/go/internal/gccgoimporter/ar.go

    	"errors"
    	"fmt"
    	"internal/xcoff"
    	"io"
    	"strconv"
    	"strings"
    )
    
    // Magic strings for different archive file formats.
    const (
    	armag  = "!<arch>\n"
    	armagt = "!<thin>\n"
    	armagb = "<bigaf>\n"
    )
    
    // Offsets and sizes for fields in a standard archive header.
    const (
    	arNameOff  = 0
    	arNameSize = 16
    	arDateOff  = arNameOff + arNameSize
    	arDateSize = 12
    	arUIDOff   = arDateOff + arDateSize
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 30 14:14:36 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  10. src/internal/types/testdata/check/typeinst1.go

    func Values [T any] (r Receiver[T]) T {
            return r.values
    }
    
    func (it Iterator[K]) Next() K {
            return Values[Pair[K]](it.r).key
    }
    
    // A more complex test case testing type bounds (extracted from linalg.go2 and reduced to essence)
    
    type NumericAbs[T any] interface {
    	Abs() T
    }
    
    func AbsDifference[T NumericAbs[T]](x T) { panic(0) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 5.7K bytes
    - Viewed (0)
Back to top