Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 283 for Implementation (0.15 sec)

  1. src/vendor/golang.org/x/crypto/internal/poly1305/sum_s390x.s

    // Copyright 2018 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 gc && !purego
    
    #include "textflag.h"
    
    // This implementation of Poly1305 uses the vector facility (vx)
    // to process up to 2 blocks (32 bytes) per iteration using an
    // algorithm based on the one described in:
    //
    // NEON crypto, Daniel J. Bernstein & Peter Schwabe
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 17.5K bytes
    - Viewed (0)
  2. 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)
  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/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)
  5. src/runtime/memmove_amd64.s

    // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    // THE SOFTWARE.
    
    //go:build !plan9
    
    #include "go_asm.h"
    #include "textflag.h"
    
    // See memmove Go doc for important implementation constraints.
    
    // func memmove(to, from unsafe.Pointer, n uintptr)
    // ABIInternal for performance.
    TEXT runtime·memmove<ABIInternal>(SB), NOSPLIT, $0-24
    	// AX = to
    	// BX = from
    	// CX = n
    	MOVQ	AX, DI
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 10 15:52:08 UTC 2022
    - 12.5K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/net/http/socks_bundle.go

    // Code generated by golang.org/x/tools/cmd/bundle. DO NOT EDIT.
    //go:generate bundle -o socks_bundle.go -prefix socks golang.org/x/net/internal/socks
    
    // Package socks provides a SOCKS version 5 client implementation.
    //
    // SOCKS protocol version 5 is defined in RFC 1928.
    // Username/Password authentication for SOCKS version 5 is defined in
    // RFC 1929.
    //
    
    package http
    
    import (
    	"context"
    	"errors"
    	"io"
    	"net"
    	"strconv"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 22:42:18 UTC 2023
    - 12.9K 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