Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 354 for Implementation (0.3 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/net/http/client.go

    		// or responses with a zero-length body.” Unfortunately, we didn't document
    		// that same constraint for arbitrary RoundTripper implementations, and
    		// RoundTripper implementations in the wild (mostly in tests) assume that
    		// they can use a nil Body to mean an empty one (similar to Request.Body).
    		// (See https://golang.org/issue/38095.)
    		//
    		// If the ContentLength allows the Body to be empty, fill in an empty one
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 06:06:11 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  4. 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)
  5. src/net/net_fake.go

    	var q packetQueueState
    	var empty chan packetQueueState
    	if len(b) == 0 {
    		// For consistency with the implementation on Unix platforms,
    		// allow a zero-length Read to proceed if the queue is empty.
    		// (Without this, TestZeroByteRead deadlocks.)
    		empty = pq.empty
    	}
    
    	select {
    	case <-dt.expired:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 19:24:21 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  6. 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)
  7. src/crypto/aes/gcm_ppc64x.s

    #define P8_STXVB16X(VS,RA,RB) \
    	STXVD2X VS, (RA+RB)
    
    #endif
    
    #define MASK_PTR   R8
    
    #define MASKV   V0
    #define INV     V1
    
    // The following macros are used for
    // the stitched implementation within
    // counterCryptASM.
    
    // Load the initial GCM counter value
    // in V30 and set up the counter increment
    // in V31
    #define SETUP_COUNTER \
    	P8_LXVB16X(COUNTER, R0, V30); \
    	VSPLTISB $1, V28; \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  8. 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)
  9. src/crypto/ecdsa/ecdsa_test.go

    			f(t, curve)
    		})
    	}
    }
    
    // genericParamsForCurve returns the dereferenced CurveParams for
    // the specified curve. This is used to avoid the logic for
    // upgrading a curve to its specific implementation, forcing
    // usage of the generic implementation.
    func genericParamsForCurve(c elliptic.Curve) *elliptic.CurveParams {
    	d := *(c.Params())
    	return &d
    }
    
    func TestKeyGeneration(t *testing.T) {
    	testAllCurves(t, testKeyGeneration)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:58 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  10. 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)
Back to top