- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 567 for Implementation (0.23 sec)
-
src/io/fs/readdir.go
// license that can be found in the LICENSE file. package fs import ( "errors" "internal/bytealg" "slices" ) // ReadDirFS is the interface implemented by a file system // that provides an optimized implementation of [ReadDir]. type ReadDirFS interface { FS // ReadDir reads the named directory // and returns a list of directory entries sorted by filename. ReadDir(name string) ([]DirEntry, error) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 1.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/asm_bsd_ppc64.s
//go:build (darwin || freebsd || netbsd || openbsd) && gc #include "textflag.h" // // System call support for ppc64, 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 - 716 bytes - Viewed (0) -
src/hash/maphash/maphash_purego.go
return rthash([]byte(s), state) } func randUint64() uint64 { buf := make([]byte, 8) _, _ = rand.Read(buf) return byteorder.LeUint64(buf) } // This is a port of wyhash implementation in runtime/hash64.go, // without using unsafe for purego. const ( m1 = 0xa0761d6478bd642f m2 = 0xe7037ed1a0b428db m3 = 0x8ebc6af09c88c6e3 m4 = 0x589965cc75374cc3 m5 = 0x1d8e4e27c47d124f )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun May 12 05:36:29 UTC 2024 - 1.8K bytes - Viewed (0) -
src/io/fs/readfile.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package fs import "io" // ReadFileFS is the interface implemented by a file system // that provides an optimized implementation of [ReadFile]. type ReadFileFS interface { FS // ReadFile reads the named file and returns its contents. // A successful call returns a nil error, not io.EOF.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 11 20:25:50 UTC 2023 - 1.8K bytes - Viewed (0) -
src/internal/types/testdata/fixedbugs/issue51139.go
f([]chan int{}, make(chan int)) f /* ERROR "[]chan int does not satisfy []L ([]chan int missing in []p.L)" */ ([]chan int{}, make(L)) } // test case from issue func Append[S ~[]T, T any](s S, x ...T) S { /* implementation of append */ return s } func _() { type MyPtr *int var x []MyPtr _ = append(x, new(int)) _ = Append(x, new(int))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 01 20:55:32 UTC 2023 - 649 bytes - Viewed (0) -
src/reflect/makefunc.go
// Copyright 2012 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. // MakeFunc implementation. package reflect import ( "internal/abi" "unsafe" ) // makeFuncImpl is the closure value implementing the function // returned by MakeFunc. // The first three words of this type must be kept in sync with
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 15:20:05 UTC 2024 - 5.9K bytes - Viewed (0) -
src/internal/coverage/rtcov/rtcov.go
// license that can be found in the LICENSE file. package rtcov import "unsafe" // This package contains types whose structure is shared between // the runtime package and the "runtime/coverage" implementation. // CovMetaBlob is a container for holding the meta-data symbol (an // RODATA variable) for an instrumented Go package. Here "p" points to // the symbol itself, "len" is the length of the sym in bytes, and
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 09:57:47 UTC 2024 - 3.1K bytes - Viewed (0) -
src/runtime/mwbbuf.go
return p } // wbBufFlush flushes the current P's write barrier buffer to the GC // workbufs. // // This must not have write barriers because it is part of the write // barrier implementation. // // This and everything it calls must be nosplit because 1) the stack // contains untyped slots from gcWriteBarrier and 2) there must not be // a GC safe point between the write barrier test in the caller and
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 8.1K bytes - Viewed (0) -
src/errors/errors.go
// Each call to New returns a distinct error value even if the text is identical. func New(text string) error { return &errorString{text} } // errorString is a trivial implementation of error. type errorString struct { s string } func (e *errorString) Error() string { return e.s } // ErrUnsupported indicates that a requested operation cannot be performed,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 02 19:45:41 UTC 2023 - 2.9K bytes - Viewed (0) -
src/crypto/cipher/gcm.go
// may be overwritten. Open(dst, nonce, ciphertext, additionalData []byte) ([]byte, error) } // gcmAble is an interface implemented by ciphers that have a specific optimized // implementation of GCM, like crypto/aes. NewGCM will check for this interface // and return the specific AEAD if found. type gcmAble interface { NewGCM(nonceSize, tagSize int) (AEAD, error) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 13.7K bytes - Viewed (0)