- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 4,204 for casePC (0.12 sec)
-
src/runtime/tracestatus.go
// N.B. Ignore the _Gscan bit. We don't model it in the tracer. var tgs traceGoStatus switch status &^ _Gscan { case _Grunnable: tgs = traceGoRunnable case _Grunning, _Gcopystack: tgs = traceGoRunning case _Gsyscall: tgs = traceGoSyscall case _Gwaiting, _Gpreempted: // There are a number of cases where a G might end up in // _Gwaiting but it's actually running in a non-preemptive
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 17:03:35 UTC 2024 - 7.2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/return.go
return true } case *syntax.ReturnStmt: return true case *syntax.BranchStmt: if s.Tok == syntax.Goto || s.Tok == syntax.Fallthrough { return true } case *syntax.BlockStmt: return check.isTerminatingList(s.List, "") case *syntax.IfStmt: if s.Else != nil && check.isTerminating(s.Then, "") && check.isTerminating(s.Else, "") {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 22 19:32:17 UTC 2024 - 4.4K bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/gen/cmpConstGen.go
switch typ { case "uint64": max = max.SetUint64(maxU64) case "uint32": max = max.SetUint64(maxU32) case "uint16": max = max.SetUint64(maxU16) case "uint8": max = max.SetUint64(maxU8) case "int64": min = min.SetInt64(minI64) max = max.SetInt64(maxI64) case "int32": min = min.SetInt64(minI32) max = max.SetInt64(maxI32) case "int16": min = min.SetInt64(minI16)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 20 02:13:02 UTC 2022 - 6.4K bytes - Viewed (0) -
src/path/filepath/path_windows.go
b.WriteString(`.\`) } case lastChar == ':': // If the path ends in a colon, keep the path relative to the current directory // on a drive and don't add a separator. Preserve leading slashes in the next // path element, which may make the path absolute. // // Join(`C:`, `f`) = `C:f` // Join(`C:`, `\f`) = `C:\f` default: // In all other cases, add a separator between elements. b.WriteByte('\\')
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 23:07:50 UTC 2024 - 3K bytes - Viewed (0) -
src/math/sin.go
PI4B = 3.77489470793079817668e-8 // 0x3e64442d00000000, PI4C = 2.69515142907905952645e-15 // 0x3ce8469898cc5170, ) // special cases switch { case x == 0 || IsNaN(x): return x // return ±0 || NaN() case IsInf(x, 0): return NaN() } // make argument positive but save the sign sign := false if x < 0 { x = -x sign = true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 6.4K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/time_test.go
T Time `json:"t"` } func TestTimeMarshalYAML(t *testing.T) { cases := []struct { input Time result string }{ {Time{}, "t: null\n"}, {Date(1998, time.May, 5, 1, 5, 5, 50, time.FixedZone("test", -4*60*60)), "t: \"1998-05-05T05:05:05Z\"\n"}, {Date(1998, time.May, 5, 5, 5, 5, 0, time.UTC), "t: \"1998-05-05T05:05:05Z\"\n"}, } for _, c := range cases { input := TimeHolder{c.input} result, err := yaml.Marshal(&input)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:09 UTC 2024 - 9.4K bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/gen/arithBoundaryGen.go
func ucast(i uint64, s sizedTestData) uint64 { switch s.name { case "uint32": return uint64(uint32(i)) case "uint16": return uint64(uint16(i)) case "uint8": return uint64(uint8(i)) } return i } // icast casts a signed int to the size in s func icast(i int64, s sizedTestData) int64 { switch s.name { case "int32": return int64(int32(i)) case "int16": return int64(int16(i)) case "int8":
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 20 02:13:02 UTC 2022 - 5.5K bytes - Viewed (0) -
test/fixedbugs/bug449.go
// return values into account, so in certain cases gc-generated // code will read a random bool from the stack as the result of // the comparison. // This program generates a lot of equality tests and hopes to // catch this. // NOTE: this program assumes comparing instance of T and T's // underlying []byte will make gc emit calls to runtime.equal, // and if gc optimizes this case, then the test will no longer
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 01 03:02:46 UTC 2012 - 1.5K bytes - Viewed (0) -
operator/cmd/mesh/profile-dump.go
switch outputFormat { case jsonOutput, yamlOutput, flagsOutput: default: return fmt.Errorf("unknown output format: %s", outputFormat) } return nil } // yamlToFormat converts the generated yaml config to the expected format func yamlToFormat(yaml, outputFormat string) (string, error) { var output string switch outputFormat { case jsonOutput: j, err := yamlToPrettyJSON(yaml)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 15 01:18:49 UTC 2024 - 7.1K bytes - Viewed (0) -
docs/en/docs/advanced/response-change-status-code.md
# Response - Change Status Code You probably read before that you can set a default [Response Status Code](../tutorial/response-status-code.md){.internal-link target=_blank}. But in some cases you need to return a different status code than the default. ## Use case For example, imagine that you want to return an HTTP status code of "OK" `200` by default.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Jan 11 16:31:18 UTC 2024 - 1.5K bytes - Viewed (0)