- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 183 for switches$ (0.25 sec)
-
src/runtime/race_s390x.s
// are no arguments. TEXT runtime·racecall(SB), NOSPLIT, $0-0 MOVD fn+0(FP), R1 MOVD arg0+8(FP), R2 MOVD arg1+16(FP), R3 MOVD arg2+24(FP), R4 MOVD arg3+32(FP), R5 JMP racecall<>(SB) // Switches SP to g0 stack and calls R1. Arguments are already set. TEXT racecall<>(SB), NOSPLIT, $0-0 BL runtime·save_g(SB) // Save g for callbacks. MOVD R15, R7 // Save SP. MOVD g_m(g), R8 // R8 = thread.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:37:29 UTC 2024 - 13.1K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/_builtin/runtime.go
func panicdottypeE(have, want, iface *byte) func panicdottypeI(have, want, iface *byte) func panicnildottype(want *byte) func typeAssert(s *byte, typ *byte) *byte // interface switches func interfaceSwitch(s *byte, t *byte) (int, *byte) // interface equality. Type/itab pointers are already known to be equal, so // we only need to pass one. func ifaceeq(tab *uintptr, x, y unsafe.Pointer) (ret bool)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 21:08:03 UTC 2024 - 10.6K bytes - Viewed (0) -
test/inline.go
} func switchType(x interface{}) int { // ERROR "can inline switchType" "x does not escape" switch x.(type) { case int: return x.(int) default: return 0 } } // Test that switches on constant things, with constant cases, only cost anything for // the case that matches. See issue 50253. func switchConst1(p func(string)) { // ERROR "can inline switchConst" "p does not escape" const c = 1 switch c {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 11.7K bytes - Viewed (0) -
test/newinline.go
} func switchType(x interface{}) int { // ERROR "can inline switchType" "x does not escape" switch x.(type) { case int: return x.(int) default: return 0 } } // Test that switches on constant things, with constant cases, only cost anything for // the case that matches. See issue 50253. func switchConst1(p func(string)) { // ERROR "can inline switchConst" "p does not escape" const c = 1 switch c {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 20:15:25 UTC 2023 - 11.2K bytes - Viewed (0) -
src/net/smtp/smtp.go
if err != nil { return nil, err } return &dataCloser{c, c.Text.DotWriter()}, nil } var testHookStartTLS func(*tls.Config) // nil, except for tests // SendMail connects to the server at addr, switches to TLS if // possible, authenticates with the optional mechanism a if possible, // and then sends an email from address from, to addresses to, with // message msg.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 11.6K bytes - Viewed (0) -
src/runtime/race_amd64.s
TEXT runtime·racecall(SB), NOSPLIT, $0-0 MOVQ fn+0(FP), AX MOVQ arg0+8(FP), RARG0 MOVQ arg1+16(FP), RARG1 MOVQ arg2+24(FP), RARG2 MOVQ arg3+32(FP), RARG3 JMP racecall<>(SB) // Switches SP to g0 stack and calls (AX). Arguments already set. TEXT racecall<>(SB), NOSPLIT|NOFRAME, $0-0 MOVQ g_m(R14), R13 // Switch to g0 stack. MOVQ SP, R12 // callee-saved, preserved across the CALL MOVQ m_g0(R13), R10
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:37:29 UTC 2024 - 15.1K bytes - Viewed (0) -
src/runtime/race_arm64.s
TEXT runtime·racecall(SB), NOSPLIT, $0-0 MOVD fn+0(FP), R9 MOVD arg0+8(FP), R0 MOVD arg1+16(FP), R1 MOVD arg2+24(FP), R2 MOVD arg3+32(FP), R3 JMP racecall<>(SB) // Switches SP to g0 stack and calls (R9). Arguments already set. // Clobbers R19, R20. TEXT racecall<>(SB), NOSPLIT|NOFRAME, $0-0 MOVD g_m(g), R10 // Switch to g0 stack. MOVD RSP, R19 // callee-saved, preserved across the CALL
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:37:29 UTC 2024 - 15.5K bytes - Viewed (0) -
src/go/types/stmt.go
} else { T = check.varType(e) if !isValid(T) { continue L } } // look for duplicate types // (quadratic algorithm, but type switches tend to be reasonably small) for t, other := range seen { if T == nil && t == nil || T != nil && t != nil && Identical(T, t) { // talk about "case" rather than "type" because of nil case Ts := "nil"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 30.6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/stmt.go
} else { T = check.varType(e) if !isValid(T) { continue L } } // look for duplicate types // (quadratic algorithm, but type switches tend to be reasonably small) for t, other := range seen { if T == nil && t == nil || T != nil && t != nil && Identical(T, t) { // talk about "case" rather than "type" because of nil case Ts := "nil"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 30.7K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/types_jsonschema.go
Example *JSON // x-kubernetes-preserve-unknown-fields stops the API server // decoding step from pruning fields which are not specified // in the validation schema. This affects fields recursively, // but switches back to normal pruning behaviour if nested // properties or additionalProperties are specified in the schema. // This can either be true or undefined. False is forbidden. XPreserveUnknownFields *bool
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 03 22:23:23 UTC 2023 - 15.9K bytes - Viewed (0)