- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for switches$ (0.18 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) -
tensorflow/compiler/jit/deadness_analysis.cc
// // We don't track the output indices for should_revisit. Instead, putting a // node in `should_revisit` denotes that the deadness flowing out from any // output from said node may have changed. This is fine; only switches // propagate different deadness along different output edges, and since the // delta is solely due to the input *values* (and not input deadness), the // delta should not change in the second iteration.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 60.4K 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/link/internal/ld/dwarf.go
gs.AddUint8(GdbScriptPythonFileId) gs.Addstring(gdbscript) return dwarfSecInfo{syms: []loader.Sym{gs.Sym()}} } // FIXME: might be worth looking replacing this map with a function // that switches based on symbol instead. var prototypedies map[string]*dwarf.DWDie func dwarfEnabled(ctxt *Link) bool { if *FlagW { // disable dwarf return false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 16:25:18 UTC 2024 - 72.4K 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)