- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 3,443 for switch3 (0.13 sec)
-
src/internal/types/testdata/check/gotos.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 02 02:58:32 UTC 2022 - 5.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/unmarshal/unmarshal.go
} t := pass.TypesInfo.Types[call.Args[argidx]].Type switch t.Underlying().(type) { case *types.Pointer, *types.Interface, *types.TypeParam: return } switch argidx { case 0: pass.Reportf(call.Lparen, "call of %s passes non-pointer", fn.Name()) case 1: pass.Reportf(call.Lparen, "call of %s passes non-pointer as second argument", fn.Name()) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 3.1K bytes - Viewed (0) -
src/internal/types/testdata/fixedbugs/issue51533.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:25 UTC 2023 - 394 bytes - Viewed (0) -
src/runtime/race_arm64.s
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 MOVD R30, R20 // 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/net/file_test.go
{"unixpacket"}, } func TestFileConn(t *testing.T) { switch runtime.GOOS { case "plan9", "windows", "js", "wasip1": t.Skipf("not supported on %s", runtime.GOOS) } for _, tt := range fileConnTests { if !testableNetwork(tt.network) { t.Logf("skipping %s test", tt.network) continue } var network, address string switch tt.network { case "udp": c := newLocalPacketListener(t, tt.network)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 6.4K bytes - Viewed (0) -
src/go/constant/value.go
// to avoid unnecessary heap allocations. switch y.(type) { case intVal: switch x1 := x.(type) { case int64Val: return i64toi(x1), y } case ratVal: switch x1 := x.(type) { case int64Val: return i64tor(x1), y case intVal: return itor(x1), y } case floatVal: switch x1 := x.(type) { case int64Val: return i64tof(x1), y
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 34K bytes - Viewed (0) -
src/cmd/link/internal/ld/config.go
BuildModePlugin ) // Set implements flag.Value to set the build mode based on the argument // to the -buildmode flag. func (mode *BuildMode) Set(s string) error { switch s { default: return fmt.Errorf("invalid buildmode: %q", s) case "exe": switch buildcfg.GOOS + "/" + buildcfg.GOARCH { case "darwin/arm64", "windows/arm", "windows/arm64": // On these platforms, everything is PIE *mode = BuildModePIE default:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 23 05:14:11 UTC 2023 - 5.6K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/printer.go
} // If impliesSemi returns true for a non-blank line's final token tok, // a semicolon is automatically inserted. Vice versa, a semicolon may // be omitted in those cases. func impliesSemi(tok token) bool { switch tok { case _Name, _Break, _Continue, _Fallthrough, _Return, /*_Inc, _Dec,*/ _Rparen, _Rbrack, _Rbrace: // TODO(gri) fix this return true } return false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 24 07:17:27 UTC 2023 - 21.5K bytes - Viewed (0) -
src/cmd/asm/internal/arch/loong64.go
func IsLoong64CMP(op obj.As) bool { switch op { case loong64.ACMPEQF, loong64.ACMPEQD, loong64.ACMPGEF, loong64.ACMPGED, loong64.ACMPGTF, loong64.ACMPGTD: return true } return false } // IsLoong64MUL reports whether the op (as defined by an loong64.A* constant) is // one of the MUL/DIV/REM instructions that require special handling. func IsLoong64MUL(op obj.As) bool { switch op {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 02:04:54 UTC 2024 - 2.1K bytes - Viewed (0) -
src/internal/types/testdata/check/vardecl.go
if x /* ERROR "declared and not used" */ := 0; a < b {} switch x /* ERROR "declared and not used" */, y := 0, 1; a { case 0: _ = y case 1: x /* ERROR "declared and not used" */ := 0 } var t interface{} switch t /* ERROR "declared and not used" */ := t.(type) {} switch t /* ERROR "declared and not used" */ := t.(type) { case int: } switch t /* ERROR "declared and not used" */ := t.(type) { case int:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:27 UTC 2023 - 5.8K bytes - Viewed (0)