Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 391 for RES (0.04 sec)

  1. pilot/pkg/xds/statusgen.go

    	res, detail, err := sg.handleInternalRequest(proxy, w, req)
    	return res, nil, detail, true, err
    }
    
    func (sg *StatusGen) handleInternalRequest(_ *model.Proxy, w *model.WatchedResource, _ *model.PushRequest) (model.Resources, model.XdsLogDetails, error) {
    	res := model.Resources{}
    
    	switch w.TypeUrl {
    	case TypeDebugSyncronization:
    		res = sg.debugSyncz()
    	case TypeDebugConfigDump:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 23:30:28 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top