- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for implements (0.64 sec)
-
src/bufio/bufio_test.go
t.Errorf("NewWriterSize's Writer.Size = %d; want %d", got, want) } } // An onlyReader only implements io.Reader, no matter what other methods the underlying implementation may have. type onlyReader struct { io.Reader } // An onlyWriter only implements io.Writer, no matter what other methods the underlying implementation may have. type onlyWriter struct { io.Writer }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 10 18:56:01 UTC 2023 - 51.5K bytes - Viewed (0) -
src/cmd/compile/internal/types2/api_test.go
{Bad, CI, false}, {Bad, EmptyIface, true}, } for _, test := range tests { if got := Implements(test.V, test.T); got != test.want { t.Errorf("Implements(%s, %s) = %t, want %t", test.V, test.T, got, test.want) } // The type assertion x.(T) is valid if T is an interface or if T implements the type of x. // The assertion is never valid if T is a bad type. V := test.T T := test.V
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 93.3K bytes - Viewed (0) -
src/cmd/dist/build.go
// https://golang.org/issue/14449 return true case "arm64": if goos == "windows" { // windows/arm64 internal linking is not implemented. return true } case "ppc64": // Big Endian PPC64 cgo internal linking is not implemented for aix or linux. if goos == "aix" || goos == "linux" { return true } } switch goos { case "android": return true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 18:34:40 UTC 2024 - 54K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/regalloc.go
// ADDQconst is added here because we want to treat it as resultInArg0 for // the purposes of desired registers, even though it is not an absolute requirement. // This is because we'd rather implement it as ADDQ instead of LEAQ. // Same for ADDLconst // Select0 is added here to propagate the desired register to the tuple-generating instruction. if opcodeTable[v.Op].commutative {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 17:49:56 UTC 2023 - 87.2K bytes - Viewed (0) -
src/cmd/compile/internal/ppc64/ssa.go
v.Fatalf("Flag* ops should never make it to codegen %v", v.LongString()) case ssa.OpClobber, ssa.OpClobberReg: // TODO: implement for clobberdead experiment. Nop is ok for now. default: v.Fatalf("genValue not implemented: %s", v.LongString()) } } var blockJump = [...]struct { asm, invasm obj.As asmeq, invasmun bool }{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:59:38 UTC 2024 - 55.4K bytes - Viewed (0) -
src/cmd/go/internal/test/test.go
testKillTimeout = testTimeout + 1*time.Minute } else { testKillTimeout = testTimeout + testWaitDelay } } // Read testcache expiration time, if present. // (We implement go clean -testcache by writing an expiration date // instead of searching out and deleting test result cache entries.) if dir, _ := cache.DefaultDir(); dir != "off" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 71.9K bytes - Viewed (0) -
src/cmd/go/internal/modload/init.go
empty = false break } } if !empty { fmt.Fprintf(os.Stderr, "go: to add module requirements and sums:\n\tgo mod tidy\n") } } // fixVersion returns a modfile.VersionFixer implemented using the Query function. // // It resolves commit hashes and branch names to versions, // canonicalizes versions that appeared in early vgo drafts, // and does nothing for versions that already appear to be canonical.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 18:36:30 UTC 2024 - 69.8K bytes - Viewed (0) -
src/cmd/go/internal/modload/load.go
// functions pertaining to the package import graph. // // There are two exported entry points into package loading — LoadPackages and // ImportFromFiles — both implemented in terms of loadFromRoots, which itself // manipulates an instance of the loader struct. // // Although most of the loading state is maintained in the loader struct,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 84K bytes - Viewed (0) -
src/cmd/go/internal/modget/get.go
// 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. // Package modget implements the module-aware “go get” command. package modget // The arguments to 'go get' are patterns with optional version queries, with // the version queries defaulting to "upgrade". // // The patterns are normally interpreted as package patterns. However, if a
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 18:26:32 UTC 2024 - 66.5K bytes - Viewed (0) -
src/cmd/compile/internal/types2/expr.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. // This file implements typechecking of expressions. package types2 import ( "cmd/compile/internal/syntax" "fmt" "go/constant" "go/token" . "internal/types/errors" "strings" ) /* Basic algorithm:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 02:09:54 UTC 2024 - 51.7K bytes - Viewed (0)