Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 567 for Implementation (0.21 sec)

  1. src/internal/bytealg/index_ppc64x.go

    func init() {
    	MaxLen = 32
    }
    
    // Cutover reports the number of failures of IndexByte we should tolerate
    // before switching over to Index.
    // n is the number of bytes processed so far.
    // See the bytes.Index implementation for details.
    func Cutover(n int) int {
    	// 1 error per 8 characters, plus a few slop to start.
    	return (n + 16) / 8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 09 05:34:46 UTC 2023
    - 637 bytes
    - Viewed (0)
  2. src/runtime/atomic_pointer.go

    }
    
    // atomic_storePointer is the implementation of runtime/internal/UnsafePointer.Store
    // (like StoreNoWB but with the write barrier).
    //
    //go:nosplit
    //go:linkname atomic_storePointer internal/runtime/atomic.storePointer
    func atomic_storePointer(ptr *unsafe.Pointer, new unsafe.Pointer) {
    	atomicstorep(unsafe.Pointer(ptr), new)
    }
    
    // atomic_casPointer is the implementation of runtime/internal/UnsafePointer.CompareAndSwap
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. src/runtime/wincallback.go

    // B instruction branches to callbackasm1.
    // callbackasm1 takes the callback index from R12 and
    // indexes into an array that stores information about each callback.
    // It then calls the Go implementation for that callback.
    #include "textflag.h"
    
    TEXT runtime·callbackasm(SB),NOSPLIT|NOFRAME,$0
    `)
    	for i := 0; i < maxCallback; i++ {
    		fmt.Fprintf(&buf, "\tMOVW\t$%d, R12\n", i)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 24 19:29:51 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  4. src/crypto/cipher/gcm_test.go

    func wrap(b cipher.Block) cipher.Block {
    	return &wrapper{b}
    }
    
    func TestGCMAsm(t *testing.T) {
    	// Create a new pair of AEADs, one using the assembly implementation
    	// and one using the generic Go implementation.
    	newAESGCM := func(key []byte) (asm, generic cipher.AEAD, err error) {
    		block, err := aes.NewCipher(key[:])
    		if err != nil {
    			return nil, nil, err
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 25 15:27:49 UTC 2023
    - 35K bytes
    - Viewed (0)
  5. src/net/http/httputil/persist.go

    // ErrPersistEOF (above) reports that the remote side is closed.
    var errClosed = errors.New("i/o operation on closed connection")
    
    // ServerConn is an artifact of Go's early HTTP implementation.
    // It is low-level, old, and unused by Go's current HTTP stack.
    // We should have deleted it before Go 1.
    //
    // Deprecated: Use the Server in package [net/http] instead.
    type ServerConn struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. src/crypto/sha1/fallback_test.go

    package sha1
    
    import (
    	"fmt"
    	"io"
    	"testing"
    )
    
    // Tests the fallback code path in case the optimized asm
    // implementation cannot be used.
    // See also TestBlockGeneric.
    func TestGenericPath(t *testing.T) {
    	if !useAsm {
    		t.Skipf("assembly implementation unavailable")
    	}
    	useAsm = false
    	defer func() { useAsm = true }()
    	c := New()
    	in := "ΑΒΓΔΕϜΖΗΘΙΚΛΜΝΞΟΠϺϘΡΣΤΥΦΧΨΩ"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 853 bytes
    - Viewed (0)
  7. src/crypto/sha512/fallback_test.go

    package sha512
    
    import (
    	"fmt"
    	"io"
    	"testing"
    )
    
    // Tests the fallback code path in case the optimized asm
    // implementation cannot be used.
    // See also TestBlockGeneric.
    func TestGenericPath(t *testing.T) {
    	if !useAsm {
    		t.Skipf("assembly implementation unavailable")
    	}
    	useAsm = false
    	defer func() { useAsm = true }()
    	c := New()
    	in := "ΑΒΓΔΕϜΖΗΘΙΚΛΜΝΞΟΠϺϘΡΣΤΥΦΧΨΩ"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 964 bytes
    - Viewed (0)
  8. src/net/http/routing_index.go

    //
    // To be correct, possiblyConflictingPatterns must include all patterns that
    // might conflict. But it may also include patterns that cannot conflict.
    // For instance, an implementation that returns all registered patterns is correct.
    // We use this fact throughout, simplifying the implementation by returning more
    // patterns that we might need to.
    func (idx *routingIndex) possiblyConflictingPatterns(pat *pattern, f func(*pattern) error) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 19 18:35:22 UTC 2023
    - 4K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/asm_linux_riscv64.s

    // license that can be found in the LICENSE file.
    
    //go:build riscv64 && gc
    
    #include "textflag.h"
    
    //
    // System calls for linux/riscv64.
    //
    // Where available, just jump to package syscall's implementation of
    // these functions.
    
    TEXT ·Syscall(SB),NOSPLIT,$0-56
    	JMP	syscall·Syscall(SB)
    
    TEXT ·Syscall6(SB),NOSPLIT,$0-80
    	JMP	syscall·Syscall6(SB)
    
    TEXT ·SyscallNoError(SB),NOSPLIT,$0-48
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/internal/typesinternal/toonew.go

    	// nested fields and methods than are shown here.) Clients
    	// that use the compatibility shim T will compile with any
    	// version of go, whether older or newer than go1.22, but only
    	// the newer version will use the std.Real implementation.
    	//
    	// Now consider a reference to method M in new(T).F.M() in a
    	// module that requires a minimum of go1.21. The analysis may
    	// occur using a version of Go higher than 1.21, selecting the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top