Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 391 for RES (0.03 sec)

  1. staging/src/k8s.io/apiserver/pkg/audit/policy/checker.go

    				return true
    			}
    			for _, res := range gr.Resources {
    				if len(gr.ResourceNames) == 0 || hasString(gr.ResourceNames, name) {
    					// match "*"
    					if res == combinedResource || res == "*" {
    						return true
    					}
    					// match "*/subresource"
    					if len(subresource) > 0 && strings.HasPrefix(res, "*/") && subresource == strings.TrimPrefix(res, "*/") {
    						return true
    					}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 02 22:24:14 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classloader/CachingClassLoaderTest.groovy

            when:
            def res = classLoader.getResource("foo.txt")
    
            then:
            res == new URL("file:foo.txt")
    
            and:
            1 * parent.getResource("foo.txt") >> new URL("file:foo.txt")
            0 * parent._
    
            when:
            res = classLoader.getResource("foo.txt")
    
            then:
            res == new URL("file:foo.txt")
    
            and:
            0 * parent._
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfr/examples/mnist/ops_defs.py

      res = tf.raw_ops.MatMul(
          a=input_, b=filter_, transpose_a=False, transpose_b=True)
      res = tf.raw_ops.Add(x=res, y=bias)
      if act == 'RELU':
        return tf.raw_ops.Relu(features=res)
      elif act == 'RELU6':
        return tf.raw_ops.Relu6(features=res)
      elif act == 'TANH':
        return tf.raw_ops.Tanh(x=res)
      else:
        return res
    
    
    @tf.RegisterGradient('NewFullyConnected')
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 31 20:23:51 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  4. pilot/pkg/config/kube/ingress/status_test.go

    	return func() []string {
    		i := ing.Get(name, ns)
    		if i == nil {
    			return nil
    		}
    		res := []string{}
    		for _, v := range i.Status.LoadBalancer.Ingress {
    			if v.IP != "" {
    				res = append(res, v.IP)
    			} else {
    				res = append(res, v.Hostname)
    			}
    		}
    		return res
    	}
    }
    
    func TestStatusController(t *testing.T) {
    	statusLog.SetOutputLevel(istiolog.DebugLevel)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. src/net/http/httptest/recorder.go

    		rw.snapHeader = rw.HeaderMap.Clone()
    	}
    	res := &http.Response{
    		Proto:      "HTTP/1.1",
    		ProtoMajor: 1,
    		ProtoMinor: 1,
    		StatusCode: rw.Code,
    		Header:     rw.snapHeader,
    	}
    	rw.result = res
    	if res.StatusCode == 0 {
    		res.StatusCode = 200
    	}
    	res.Status = fmt.Sprintf("%03d %s", res.StatusCode, http.StatusText(res.StatusCode))
    	if rw.Body != nil {
    		res.Body = io.NopCloser(bytes.NewReader(rw.Body.Bytes()))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. operator/pkg/util/yaml.go

    	decoder := yaml3.NewYAMLReader(reader)
    	res := make([]string, 0)
    	for {
    		doc, err := decoder.Read()
    		if err == io.EOF {
    			break
    		}
    		if err != nil {
    			break
    		}
    
    		chunk := bytes.TrimSpace(doc)
    		res = append(res, string(chunk))
    	}
    	return res
    }
    
    // multiYamlDiffOutput multi yaml diff output format
    func multiYamlDiffOutput(res, diff string) string {
    	if res == "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jan 14 02:41:27 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java

                ProjectBuildingResult res;
                if (request.getPath().isPresent()) {
                    Path path = request.getPath().get();
                    res = builder.build(path.toFile(), req);
                } else if (request.getSource().isPresent()) {
                    Source source = request.getSource().get();
                    ModelSource2 modelSource = new SourceWrapper(source);
                    res = builder.build(modelSource, req);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. cni/pkg/plugin/kubernetes.go

    // The sidecar can be a normal container or init in Kubernetes 1.28+
    func containers(pod *v1.Pod) []v1.Container {
    	res := make([]v1.Container, 0, len(pod.Spec.Containers)+len(pod.Spec.InitContainers))
    	res = append(res, pod.Spec.InitContainers...)
    	res = append(res, pod.Spec.Containers...)
    	return res
    }
    
    func (pi PodInfo) String() string {
    	var b strings.Builder
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Feb 10 00:31:55 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/tests/fold_broadcast.mlir

      %1 = mhlo.multiply %0, %cst1 : tensor<1x1x2x4xf32>
      // CHECK:      return %[[RES]] : tensor<1x1x2x4xf32>
      func.return %1 : tensor<1x1x2x4xf32>
    }
    
    // CHECK-LABEL: @foldBroadcastInDimBeforeMulOp_bcast_dim_2D_float
    func.func @foldBroadcastInDimBeforeMulOp_bcast_dim_2D_float() -> (tensor<1x2x2x3xf32>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. cni/pkg/plugin/cnieventclient_test.go

    	// Fake out a test HTTP server and use that instead of a real HTTP server over gRPC to validate  req/resp flows
    	testServer := httptest.NewServer(http.HandlerFunc(func(res http.ResponseWriter, req *http.Request) {
    		res.WriteHeader(http.StatusOK)
    		res.Write([]byte("server happy"))
    	}))
    	defer func() { testServer.Close() }()
    
    	cniC := fakeCNIEventClient(testServer.URL)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top