- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 6,074 for case1 (0.07 sec)
-
pkg/scheduler/framework/plugins/nodeports/node_ports_test.go
}, { ContainerPort: 8014, HostPort: 8014, Protocol: v1.ProtocolTCP, }, }, }, } for i, test := range tests { t.Run(fmt.Sprintf("case_%d", i), func(t *testing.T) { result := getContainerPorts(test.pod1, test.pod2) if diff := cmp.Diff(test.expected, result); diff != "" { t.Errorf("container ports: container ports does not match (-want,+got): %s", diff)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 19 11:02:11 UTC 2023 - 10.1K bytes - Viewed (0) -
pilot/pkg/server/instance_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 23:02:39 UTC 2024 - 4.1K bytes - Viewed (0) -
plugin/pkg/admission/podtolerationrestriction/apis/podtolerationrestriction/validation/validation_test.go
{Key: "foo", Operator: "Equal", Value: "bar"}, }, }, testName: "Valid cases", testStatus: true, }, { config: internalapi.Configuration{ Whitelist: []api.Toleration{{Key: "foo", Operator: "Exists", Value: "bar", Effect: "NoSchedule"}}, }, testName: "Invalid case", testStatus: false, }, { config: internalapi.Configuration{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 02 07:48:42 UTC 2023 - 2.2K bytes - Viewed (0) -
cmd/object-handlers_test.go
switch test.fault { case MissingContentLength: req.ContentLength = -1 // Setting the content length to a value greater than the max allowed size of a part. // Used in test case 4. case TooBigObject: req.ContentLength = globalMaxObjectSize + 1 // Malformed signature. // Used in test case 6. case BadSignature:
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:50:49 UTC 2024 - 161.9K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/printer.go
return // for now // switch prev { // case lexical.Int: // b = next == '.' // 1. // case lexical.Add: // b = next == '+' // ++ // case lexical.Sub: // b = next == '-' // -- // case lexical.Quo: // b = next == '*' // /* // case lexical.Lss: // b = next == '-' || next == '<' // <- or << // case lexical.And: // b = next == '&' || next == '^' // && or &^ // }
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/go/types/selection.go
// // "field (T) f int" // "method (T) f(X) Y" // "method expr (T) f(X) Y" func SelectionString(s *Selection, qf Qualifier) string { var k string switch s.kind { case FieldVal: k = "field " case MethodVal: k = "method " case MethodExpr: k = "method expr " default: panic("unreachable") } var buf bytes.Buffer buf.WriteString(k) buf.WriteByte('(') WriteType(&buf, s.Recv(), qf)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 5.9K bytes - Viewed (0) -
src/compress/flate/huffman_code.go
codes := h.codes var ch uint16 for ch = 0; ch < maxNumLit; ch++ { var bits uint16 var size uint16 switch { case ch < 144: // size 8, 000110000 .. 10111111 bits = ch + 48 size = 8 case ch < 256: // size 9, 110010000 .. 111111111 bits = ch + 400 - 144 size = 9 case ch < 280: // size 7, 0000000 .. 0010111 bits = ch - 256 size = 7 default: // size 8, 11000000 .. 11000111
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 18 17:59:44 UTC 2022 - 9.7K bytes - Viewed (0) -
src/cmd/compile/internal/types2/subst.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:04:07 UTC 2024 - 11K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/Execute1StaticInstrumentationInDynamicGroovyWithoutIndyIntegrationTest.groovy
* limitations under the License. */ package org.gradle.internal.cc.impl.inputs.process.instrument /** * Test cases for single-argument {@code ProcessGroovyMethods.execute} with static import (Groovy produces a special byte code in this case): * <pre> * import static org.codehaus.groovy.runtime.ProcessGroovyMethods.execute * execute("echo 123") * execute(["echo", "123"]) * </pre>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 1.2K bytes - Viewed (0) -
src/math/cbrt.go
G = 3.57142857142857150787e-01 // 5/14 = 0x3FD6DB6DB6DB6DB7 SmallestNormal = 2.22507385850720138309e-308 // 2**-1022 = 0x0010000000000000 ) // special cases switch { case x == 0 || IsNaN(x) || IsInf(x, 0): return x } sign := false if x < 0 { x = -x sign = true } // rough cbrt to 5 bits t := Float64frombits(Float64bits(x)/3 + B1<<32)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 2.3K bytes - Viewed (0)