- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 132 for Implementation (0.19 sec)
-
src/cmd/go/internal/modfetch/cache.go
if err == nil { if err := checkGoMod(path, rev, data); err != nil { return "", nil, err } } return file, data, err } // readDiskCache is the generic "read from a cache file" implementation. // It takes the revision and an identifying suffix for the kind of data being cached. // It returns the name of the cache file and the content of the file. // If the read fails, the caller can use
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 18:15:22 UTC 2024 - 24.7K bytes - Viewed (0) -
src/cmd/compile/internal/types2/signature.go
func (s *Signature) Underlying() Type { return s } func (s *Signature) String() string { return TypeString(s, nil) } // ---------------------------------------------------------------------------- // Implementation // funcType type-checks a function or method type. func (check *Checker) funcType(sig *Signature, recvPar *syntax.Field, tparams []*syntax.Field, ftyp *syntax.FuncType) { check.openScope(ftyp, "function")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 21:33:05 UTC 2024 - 12.6K bytes - Viewed (0) -
src/go/doc/reader.go
name := f.Name.Name if g := mset[name]; g != nil && g.Doc != "" { // A function with the same name has already been registered; // since it has documentation, assume f is simply another // implementation and ignore it. This does not happen if the // caller is using go/build.ScanDir to determine the list of // files implementing a package. return } // function doesn't exist or has no documentation; use f
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 27.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/typesinternal/errorcode.go
// implement special handling for certain types of errors. // // Error codes should be fine-grained enough that the exact nature of the error // can be easily determined, but coarse enough that they are not an // implementation detail of the type checking algorithm. As a rule-of-thumb, // errors should be considered equivalent if there is a theoretical refactoring // of the type checker in which they are emitted in exactly one place. For
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 34K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/facts/facts.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package facts defines a serializable set of analysis.Fact. // // It provides a partial implementation of the Fact-related parts of the // analysis.Pass interface for use in analysis drivers such as "go vet" // and other build systems. // // The serial format is unspecified and may change, so the same version
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 12.1K bytes - Viewed (0) -
src/net/http/cookiejar/jar_test.go
var tNow = time.Date(2013, 1, 1, 12, 0, 0, 0, time.UTC) // testPSL implements PublicSuffixList with just two rules: "co.uk" // and the default rule "*". // The implementation has two intentional bugs: // // PublicSuffix("www.buggy.psl") == "xy" // PublicSuffix("www2.buggy.psl") == "com" type testPSL struct{} func (testPSL) String() string { return "testPSL" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 34K bytes - Viewed (0) -
src/crypto/tls/quic.go
return "Handshake" case QUICEncryptionLevelApplication: return "Application" default: return fmt.Sprintf("QUICEncryptionLevel(%v)", int(l)) } } // A QUICConn represents a connection which uses a QUIC implementation as the underlying // transport as described in RFC 9001. // // Methods of QUICConn are not safe for concurrent use. type QUICConn struct { conn *Conn sessionTicketSent bool }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 17:23:54 UTC 2024 - 15.1K bytes - Viewed (0) -
src/go/build/read.go
info.embeds = append(info.embeds, embs...) } } } return nil } // isValidImport checks if the import is a valid import using the more strict // checks allowed by the implementation restriction in https://go.dev/ref/spec#Import_declarations. // It was ported from the function of the same name that was removed from the // parser in CL 424855, when the parser stopped doing these checks.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 14.1K bytes - Viewed (0) -
src/slices/slices_test.go
if want := []string{"one"}; !Equal(singleton, want) { t.Errorf("Reverse(singeleton) = %v, want %v", singleton, want) } Reverse[[]string](nil) } // naiveReplace is a baseline implementation to the Replace function. func naiveReplace[S ~[]E, E any](s S, i, j int, v ...E) S { s = Delete(s, i, j) s = Insert(s, i, v...) return s } func TestReplace(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 13:32:06 UTC 2024 - 33.2K bytes - Viewed (0) -
src/syscall/syscall_linux.go
// but it is also input to mksyscall, // which parses the //sys lines and generates system call stubs. // Note that sometimes we use a lowercase //sys name and // wrap it in our own nicer implementation. package syscall import ( "internal/itoa" runtimesyscall "internal/runtime/syscall" "runtime" "unsafe" ) // Pull in entersyscall/exitsyscall for Syscall/Syscall6. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:12:46 UTC 2024 - 35.7K bytes - Viewed (0)