- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 7,211 for case2 (0.07 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
/** * Generated tests for {@link Monitor}. * * <p>This test class generates all of its own test cases in the {@link #suite()} method. Every * {@code enterXxx}, {@code tryEnterXxx}, and {@code waitForXxx} method of the {@code Monitor} class * is analyzed reflectively to determine appropriate test cases based on its signature. Additional * ad hoc test cases can be found in {@link SupplementalMonitorTest}. * * @author Justin T. Sampson */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 29 16:29:37 UTC 2024 - 25.8K bytes - Viewed (0) -
src/math/lgamma.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 11:59:09 UTC 2023 - 11K bytes - Viewed (0) -
src/math/sincos.go
PI4B = 3.77489470793079817668e-8 // 0x3e64442d00000000, PI4C = 2.69515142907905952645e-15 // 0x3ce8469898cc5170, ) // special cases switch { case x == 0: return x, 1 // return ±0.0, 1.0 case IsNaN(x) || IsInf(x, 0): return NaN(), NaN() } // make argument positive sinSign, cosSign := false, false if x < 0 { x = -x sinSign = true } var j uint64 var y, z float64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 1.8K bytes - Viewed (0) -
test/codegen/switch.go
return 36 case 7: return 49 case 8: return 64 default: return x * x } } // use jump tables for 8+ string lengths func length(x string) int { // amd64:`JMP\s\(.*\)\(.*\)$` // arm64:`MOVD\s\(R.*\)\(R.*<<3\)`,`JMP\s\(R.*\)$` switch x { case "a": return 1 case "bb": return 2 case "ccc": return 3 case "dddd": return 4 case "eeeee": return 5 case "ffffff":
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 09 18:39:50 UTC 2023 - 3.6K bytes - Viewed (0) -
src/go/printer/testdata/comments.golden
func typeswitch(x interface{}) { switch v := x.(type) { case bool, int, float: case string: default: } switch x.(type) { } switch v0, ok := x.(int); v := x.(type) { } switch v0, ok := x.(int); x.(type) { case byte: // this comment should be on the same line as the keyword // this comment should be normally indented _ = 0 case bool, int, float: // this comment should be indented
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 25 23:11:14 UTC 2022 - 11.3K bytes - Viewed (0) -
src/debug/elf/reader.go
var newOffset int64 switch whence { case io.SeekStart: newOffset = offset case io.SeekCurrent: newOffset = r.offset + offset case io.SeekEnd: newOffset = r.size + offset default: return 0, os.ErrInvalid } switch { case newOffset == r.offset: return newOffset, nil case newOffset < 0, newOffset > r.size: return 0, os.ErrInvalid case newOffset == 0: r.r = nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 07 19:06:17 UTC 2023 - 2.1K bytes - Viewed (0) -
src/runtime/softfloat64.go
gs, gm, ge, gi, gn := funpack64(g) // Special cases. switch { case fn || gn: // NaN + x or x + NaN = NaN return nan64 case fi && gi && fs != gs: // +Inf + -Inf or -Inf + +Inf = NaN return nan64 case fi: // ±Inf + g = ±Inf return f case gi: // f + ±Inf = ±Inf return g case fm == 0 && gm == 0 && fs != 0 && gs != 0: // -0 + -0 = -0 return f
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 08 17:58:41 UTC 2021 - 11.5K bytes - Viewed (0) -
src/internal/types/testdata/check/cycles5.go
// license that can be found in the LICENSE file. package p import "unsafe" // test case from issue #18395 type ( A interface { B } B interface { C } C interface { D; F() A } D interface { G() B } ) var _ = A(nil).G // G must be found // test case from issue #21804 type sourceBridge interface { listVersions() ([]Version, error) } type Constraint interface {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 05 18:13:11 UTC 2024 - 3.2K bytes - Viewed (0) -
pkg/kubelet/cm/topologymanager/policy.go
} // The only case left is if the current best bestHint and the candidate // hint are both non-preferred. In this case, try and find a hint whose // affinity count is as close to (but not higher than) the // bestNonPreferredAffinityCount as possible. To do this we need to // consider the following cases and react accordingly: //
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 03 09:45:25 UTC 2022 - 12.7K bytes - Viewed (0) -
istioctl/pkg/describe/describe_test.go
Match: /prefix* `, }, } for i, c := range cases { t.Run(fmt.Sprintf("case %d %s", i, strings.Join(c.args, " ")), func(t *testing.T) { verifyExecAndK8sConfigTestCaseTestOutput(t, c) }) } } func TestGetRevisionFromPodAnnotation(t *testing.T) { cases := []struct { anno klabels.Set expected string }{ { anno: klabels.Set{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 09:54:01 UTC 2024 - 30.4K bytes - Viewed (0)