Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 498 for Implementation (0.15 sec)

  1. src/crypto/sha256/fallback_test.go

    package sha256
    
    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 == false {
    		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
    - 894 bytes
    - Viewed (0)
  2. src/crypto/aes/cipher_generic.go

    // directly. Platforms with hardware accelerated
    // implementations of AES should implement their
    // own version of newCipher (which may then call
    // newCipherGeneric if needed).
    func newCipher(key []byte) (cipher.Block, error) {
    	return newCipherGeneric(key)
    }
    
    // expandKey is used by BenchmarkExpand and should
    // call an assembly implementation if one is available.
    func expandKey(key []byte, enc, dec []uint32) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 772 bytes
    - Viewed (0)
  3. src/encoding/binary/native_endian_big.go

    //go:build armbe || arm64be || m68k || mips || mips64 || mips64p32 || ppc || ppc64 || s390 || s390x || shbe || sparc || sparc64
    
    package binary
    
    type nativeEndian struct {
    	bigEndian
    }
    
    // NativeEndian is the native-endian implementation of [ByteOrder] and [AppendByteOrder].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 466 bytes
    - Viewed (0)
  4. src/encoding/binary/native_endian_little.go

    package binary
    
    type nativeEndian struct {
    	littleEndian
    }
    
    // NativeEndian is the native-endian implementation of [ByteOrder] and [AppendByteOrder].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 504 bytes
    - Viewed (0)
  5. src/sync/once.go

    // without calling f.
    func (o *Once) Do(f func()) {
    	// Note: Here is an incorrect implementation of Do:
    	//
    	//	if o.done.CompareAndSwap(0, 1) {
    	//		f()
    	//	}
    	//
    	// Do guarantees that when it returns, f has finished.
    	// This implementation would not implement that guarantee:
    	// given two simultaneous calls, the winner of the cas would
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. src/runtime/pprof/label.go

    	if labels == nil {
    		return labelMap(nil)
    	}
    	return *labels
    }
    
    // labelMap is the representation of the label set held in the context type.
    // This is an initial implementation, but it will be replaced with something
    // that admits incremental immutable modification more efficiently.
    type labelMap map[string]string
    
    // String satisfies Stringer and returns key, value pairs in a consistent
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. src/io/fs/sub.go

    //
    // If dir is ".", Sub returns fsys unchanged.
    // Otherwise, if fs implements [SubFS], Sub returns fsys.Sub(dir).
    // Otherwise, Sub returns a new [FS] implementation sub that,
    // in effect, implements sub.Open(name) as fsys.Open(path.Join(dir, name)).
    // The implementation also translates calls to ReadDir, ReadFile, and Glob appropriately.
    //
    // Note that Sub(os.DirFS("/"), "prefix") is equivalent to os.DirFS("/prefix")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 10 02:10:17 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/asm_bsd_386.s

    // license that can be found in the LICENSE file.
    
    //go:build (freebsd || netbsd || openbsd) && gc
    
    #include "textflag.h"
    
    // System call support for 386 BSD
    
    // Just jump to package syscall's implementation for all these functions.
    // The runtime may know about them.
    
    TEXT	·Syscall(SB),NOSPLIT,$0-28
    	JMP	syscall·Syscall(SB)
    
    TEXT	·Syscall6(SB),NOSPLIT,$0-40
    	JMP	syscall·Syscall6(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 696 bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/asm_bsd_amd64.s

    // license that can be found in the LICENSE file.
    
    //go:build (darwin || dragonfly || freebsd || netbsd || openbsd) && gc
    
    #include "textflag.h"
    
    // System call support for AMD64 BSD
    
    // Just jump to package syscall's implementation for all these functions.
    // The runtime may know about them.
    
    TEXT	·Syscall(SB),NOSPLIT,$0-56
    	JMP	syscall·Syscall(SB)
    
    TEXT	·Syscall6(SB),NOSPLIT,$0-80
    	JMP	syscall·Syscall6(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 722 bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/asm_bsd_arm.s

    // license that can be found in the LICENSE file.
    
    //go:build (freebsd || netbsd || openbsd) && gc
    
    #include "textflag.h"
    
    // System call support for ARM BSD
    
    // Just jump to package syscall's implementation for all these functions.
    // The runtime may know about them.
    
    TEXT	·Syscall(SB),NOSPLIT,$0-28
    	B	syscall·Syscall(SB)
    
    TEXT	·Syscall6(SB),NOSPLIT,$0-40
    	B	syscall·Syscall6(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 686 bytes
    - Viewed (0)
Back to top