- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 391 for RES (0.03 sec)
-
pkg/api/v1/service/util_test.go
} func TestExternallyAccessible(t *testing.T) { checkExternallyAccessible := func(expect bool, service *v1.Service) { t.Helper() res := ExternallyAccessible(service) if res != expect { t.Errorf("Expected ExternallyAccessible = %v, got %v", expect, res) } } checkExternallyAccessible(false, &v1.Service{}) checkExternallyAccessible(false, &v1.Service{ Spec: v1.ServiceSpec{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 01 15:18:45 UTC 2023 - 8.8K bytes - Viewed (0) -
src/net/http/filetransport_test.go
for _, urlstr := range fooURLs { res, err := c.Get(urlstr) check("Get "+urlstr, err) if res.StatusCode != 200 { t.Errorf("for %s, StatusCode = %d, want 200", urlstr, res.StatusCode) } if res.ContentLength != -1 { t.Errorf("for %s, ContentLength = %d, want -1", urlstr, res.ContentLength) } if res.Body == nil { t.Fatalf("for %s, nil Body", urlstr) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 07 17:07:12 UTC 2023 - 2.6K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolutionPolicyTest.java
@Test void testDefaultPolicy() throws Exception { MetadataGraphEdge res; res = policy.apply(e1, e2); assertEquals("1.1", res.getVersion(), "Wrong depth edge selected"); res = policy.apply(e1, e3); assertEquals("1.2", res.getVersion(), "Wrong version edge selected"); }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Apr 25 05:46:50 UTC 2024 - 2.2K bytes - Viewed (0) -
src/runtime/complex_test.go
res := 0i for i := 0; i < b.N; i++ { d += 0.1i res += n / d } result = res } func BenchmarkComplex128DivNisInf(b *testing.B) { d := 15 + 2i n := cmplx.Inf() res := 0i for i := 0; i < b.N; i++ { d += 0.1i res += n / d } result = res } func BenchmarkComplex128DivDisInf(b *testing.B) { d := cmplx.Inf() n := 32 + 3i res := 0i for i := 0; i < b.N; i++ { n += 0.1i
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 1.1K bytes - Viewed (0) -
internal/handlers/proxy_test.go
} for _, v := range headers { req := &http.Request{ Header: http.Header{ v.key: []string{v.val}, }, } res := GetSourceScheme(req) if res != v.expected { t.Errorf("wrong header for %s: got %s want %s", v.key, res, v.expected) } } } // TestGetSourceIP - check the source ip of a request is parsed correctly. func TestGetSourceIP(t *testing.T) {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Dec 22 00:56:55 UTC 2023 - 3.2K bytes - Viewed (0) -
pkg/controller/podautoscaler/metrics/client.go
} var res PodMetricsInfo if container != "" { res, err = getContainerMetrics(metrics.Items, resource, container) if err != nil { return nil, time.Time{}, fmt.Errorf("failed to get container metrics: %v", err) } } else { res = getPodMetrics(ctx, metrics.Items, resource) } timestamp := metrics.Items[0].Timestamp.Time return res, timestamp, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 16 20:17:52 UTC 2023 - 7.8K bytes - Viewed (0) -
docs/iam/access-manager-plugin.go
var res Result if accountValue == "minio" { res.Result = true } else { // All other users may not perform any `s3:Put*` operations. res.Result = true if strings.HasPrefix(actionValue, "s3:Put") { res.Result = false } } fmt.Printf("account: %v | action: %v | allowed: %v\n", accountValue, actionValue, res.Result) json.NewEncoder(w).Encode(res) return } func main() {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Feb 08 17:15:20 UTC 2024 - 2.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/lift_quantizable_spots_as_functions_simple.td
[(IsNotInLiftedFunc $res), (IsStableHLOConstantOp $operand)], [], (addBenefit 1)>; def LiftAdd : Pat< (StableHLO_AddOp:$res $lhs, $rhs), (LiftAsTFXlaCallModule<"composite_add_fn"> (ArgumentList $lhs, $rhs), (ResultList $res)),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 28 23:21:42 UTC 2024 - 3.5K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/objectmeta/jsonpath_test.go
func jsonPaths(base JSONPath, j map[string]interface{}) []JSONPath { res := make([]JSONPath, 0, len(j)) for k, old := range j { kPth := append(append([]jsonPathNode(nil), base...), jsonPathNode{field: k}) res = append(res, kPth) switch old := old.(type) { case map[string]interface{}: res = append(res, jsonPaths(kPth, old)...) case []interface{}: res = append(res, jsonIterSlice(kPth, old)...) } } return res }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 10 09:22:21 UTC 2019 - 6.9K bytes - Viewed (0) -
src/internal/poll/fd_io_plan9.go
if e != nil { return } syscall.Write(f, []byte("hangup")) syscall.Close(f) } // Wait for the I/O operation to complete. func (aio *asyncIO) Wait() (int, error) { res := <-aio.res return res.n, res.err } // The following functions, provided by the runtime, are used to // ignore and unignore the "hangup" signal received by the process. func runtime_ignoreHangup()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Mar 14 17:56:50 UTC 2021 - 2.1K bytes - Viewed (0)