Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 228 for Implementation (0.17 sec)

  1. src/crypto/ecdsa/ecdsa_legacy.go

    package ecdsa
    
    import (
    	"crypto/elliptic"
    	"errors"
    	"io"
    	"math/big"
    
    	"golang.org/x/crypto/cryptobyte"
    	"golang.org/x/crypto/cryptobyte/asn1"
    )
    
    // This file contains a math/big implementation of ECDSA that is only used for
    // deprecated custom curves.
    
    func generateLegacy(c elliptic.Curve, rand io.Reader) (*PrivateKey, error) {
    	k, err := randFieldElement(c, rand)
    	if err != nil {
    		return nil, err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. src/go/ast/commentmap.go

    	Inspect(n, func(n Node) bool {
    		// don't collect comments
    		switch n.(type) {
    		case nil, *CommentGroup, *Comment:
    			return false
    		}
    		list = append(list, n)
    		return true
    	})
    
    	// Note: The current implementation assumes that Inspect traverses the
    	//       AST in depth-first and thus _source_ order. If AST traversal
    	//       does not follow source order, the sorting call below will be
    	//       required.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. src/encoding/binary/binary.go

    	AppendUint32([]byte, uint32) []byte
    	AppendUint64([]byte, uint64) []byte
    	String() string
    }
    
    // LittleEndian is the little-endian implementation of [ByteOrder] and [AppendByteOrder].
    var LittleEndian littleEndian
    
    // BigEndian is the big-endian implementation of [ByteOrder] and [AppendByteOrder].
    var BigEndian bigEndian
    
    type littleEndian struct{}
    
    func (littleEndian) Uint16(b []byte) uint16 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:29:31 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/analysis.go

    		if lhs, ok := got.Underlying().(*types.Basic); ok {
    			return rhs.Info()&types.IsConstType == lhs.Info()&types.IsConstType
    		}
    	}
    	return types.AssignableTo(want, got)
    }
    
    // MakeReadFile returns a simple implementation of the Pass.ReadFile function.
    func MakeReadFile(pass *analysis.Pass) func(filename string) ([]byte, error) {
    	return func(filename string) ([]byte, error) {
    		if err := CheckReadable(pass, filename); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. src/net/http/transport.go

    // Copyright 2011 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.
    
    // HTTP client implementation. See RFC 7230 through 7235.
    //
    // This is the low-level Transport implementation of RoundTripper.
    // The high-level interface is in client.go.
    
    package http
    
    import (
    	"bufio"
    	"compress/gzip"
    	"container/list"
    	"context"
    	"crypto/tls"
    	"errors"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  6. src/runtime/alg.go

    	return memhash(p, h, size)
    }
    
    // runtime variable to check if the processor we're running on
    // actually supports the instructions used by the AES-based
    // hash implementation.
    var useAeshash bool
    
    // in asm_*.s
    
    // memhash should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  7. src/net/http/transport_dial_test.go

    	// second request uses the first connection.
    	rt2 := dt.roundTrip()
    	c2 := dt.wantDial()
    	rt1.finish()
    	rt2.wantDone(c1)
    
    	// This section is a bit overfitted to the current Transport implementation:
    	// A third request starts. We have an in-progress dial that was started by rt2,
    	// but this new request (rt3) is going to ignore it and make a dial of its own.
    	// rt3 will use the first of these dials that completes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:11:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/crypto/chacha20/chacha_ppc64le.s

    // can be found in the cryptogams repository at the link below. It is based on
    // the original from openssl.
    
    // https://github.com/dot-asm/cryptogams/commit/a60f5b50ed908e91
    
    // The differences in this and the original implementation are
    // due to the calling conventions and initialization of constants.
    
    //go:build gc && !purego
    
    #include "textflag.h"
    
    #define OUT  R3
    #define INP  R4
    #define LEN  R5
    #define KEY  R6
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 9K bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/crypto/sha3/keccakf.go

    	0x0000000080000001,
    	0x8000000080008008,
    }
    
    // keccakF1600 applies the Keccak permutation to a 1600b-wide
    // state represented as a slice of 25 uint64s.
    func keccakF1600(a *[25]uint64) {
    	// Implementation translated from Keccak-inplace.c
    	// in the keccak reference code.
    	var t, bc0, bc1, bc2, bc3, bc4, d0, d1, d2, d3, d4 uint64
    
    	for i := 0; i < 24; i += 4 {
    		// Combines the 5 steps in each round into 2 steps.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 10 16:37:53 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/net/nettest/conntest.go

    // net.Listener (if there is one), and should not be nil.
    type MakePipe func() (c1, c2 net.Conn, stop func(), err error)
    
    // TestConn tests that a net.Conn implementation properly satisfies the interface.
    // The tests should not produce any false positives, but may experience
    // false negatives. Thus, some issues may only be detected when the test is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top