- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for switches$ (0.21 sec)
-
src/cmd/go/internal/modload/load.go
fmt.Fprintf(os.Stderr, "go: %v\n", err) } else if ld.Switcher != nil { ld.Switcher.Error(err) } else { base.Error(err) } } // switchIfErrors switches toolchains if a switch is needed. func (ld *loader) switchIfErrors(ctx context.Context) { if ld.Switcher != nil { ld.Switcher.Switch(ctx) } } // exitIfErrors switches toolchains if a switch is needed
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 84K bytes - Viewed (0) -
src/go/types/expr.go
goto Error } case *ast.TypeAssertExpr: check.expr(nil, x, e.X) if x.mode == invalid { goto Error } // x.(type) expressions are handled explicitly in type switches if e.Type == nil { // Don't use InvalidSyntaxTree because this can occur in the AST produced by // go/parser. check.error(e, BadTypeKeyword, "use of .(type) outside type switch") goto Error }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 02:09:54 UTC 2024 - 49.7K bytes - Viewed (0) -
src/cmd/compile/internal/types2/expr.go
if !isValid(T) { goto Error } check.typeAssertion(e, x, T, false) x.mode = commaok x.typ = T case *syntax.TypeSwitchGuard: // x.(type) expressions are handled explicitly in type switches check.error(e, InvalidSyntaxTree, "use of .(type) outside type switch") check.use(e.X) goto Error case *syntax.CallExpr: return check.callExpr(x, e) case *syntax.ListExpr:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 02:09:54 UTC 2024 - 51.7K bytes - Viewed (0) -
src/runtime/traceback.go
// The function we are in does a write to SP that we don't know // how to encode in the spdelta table. Examples include context // switch routines like runtime.gogo but also any code that switches // to the g0 stack to run host C code. // We can't reliably unwind the SP (we might not even be on // the stack we think we are), so stop the traceback here. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 55.1K bytes - Viewed (0) -
src/cmd/go/internal/modload/init.go
// Report this more specific error, unless we are a command like 'go work use' // or 'go work sync', which will fix the problem after the caller sees the TooNewError // and switches to a newer toolchain. err = errWorkTooOld(gomod, workFile, tooNew.GoVersion) } else { err = fmt.Errorf("cannot load module %s listed in go.work file: %w", base.ShortPath(filepath.Dir(gomod)), err)
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/net/http/transport.go
// waiting for the server to approve. // This time does not include the time to send the request header. ExpectContinueTimeout time.Duration // TLSNextProto specifies how the Transport switches to an // alternate protocol (such as HTTP/2) after a TLS ALPN // protocol negotiation. If Transport dials a TLS connection // with a non-empty protocol name and TLSNextProto contains a
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 91K bytes - Viewed (0) -
src/cmd/go/internal/modget/get.go
AssumeRootsImported: true, // After 'go get foo', imports of foo should build. SilencePackageErrors: true, // May be fixed by subsequent upgrades or downgrades. Switcher: new(toolchain.Switcher), } opts.AllowPackage = func(ctx context.Context, path string, m module.Version) error { if m.Path == "" || m.Version == "" {
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/crypto/tls/tls_test.go
} func TestX509KeyPairErrors(t *testing.T) { _, err := X509KeyPair([]byte(rsaKeyPEM), []byte(rsaCertPEM)) if err == nil { t.Fatalf("X509KeyPair didn't return an error when arguments were switched") } if subStr := "been switched"; !strings.Contains(err.Error(), subStr) { t.Fatalf("Expected %q in the error when switching arguments to X509KeyPair, but the error was %q", subStr, err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 60.5K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.31.md
- Kubeadm: switched kubeadm to start using the CRI client library instead of shelling out of the `crictl` binary for actions against a CRI endpoint. The kubeadm deb/rpm packages will continue to install the `cri-tools`
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 20:34:14 UTC 2024 - 60.3K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_8.adoc
Now that the Kotlin Gradle Plugin provides <<lazy_configuration.adoc#lazy_configuration, lazy configuration>> properties, our `kotlin-dsl` plugin switched to adding required compiler arguments to the lazy properties directly.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 17:01:07 UTC 2024 - 90.7K bytes - Viewed (0)