Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 879 for RES (0.06 sec)

  1. pkg/capabilities/capabilities_test.go

    			HostIPCSources:     []string{},
    		},
    	}
    
    	res := Get()
    	if !reflect.DeepEqual(defaultCap, res) {
    		t.Fatalf("expected Capabilities: %#v, got a non-default: %#v", defaultCap, res)
    	}
    
    	cap := Capabilities{
    		PrivilegedSources: PrivilegedSources{
    			HostNetworkSources: []string{"A", "B"},
    		},
    	}
    	SetForTests(cap)
    
    	res = Get()
    	if !reflect.DeepEqual(cap, res) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 13 09:53:47 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  2. pilot/pkg/xds/xdsgen.go

    			TypeUrl:       w.TypeUrl,
    			ResourceNames: req.Delta.Subscribed.UnsortedList(),
    		}
    	}
    	res, logdata, err := gen.Generate(con.proxy, w, req)
    	info := ""
    	if len(logdata.AdditionalInfo) > 0 {
    		info = " " + logdata.AdditionalInfo
    	}
    	if len(logFiltered) > 0 {
    		info += logFiltered
    	}
    	if err != nil || res == nil {
    		// If we have nothing to send, report that we got an ACK for this version.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 20:55:20 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. 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)
  4. internal/s3select/sql/stringfuncs.go

    func matcher(text, pat string, leadingPercent bool) (res string, match bool) {
    	if !leadingPercent {
    		res = strings.TrimPrefix(text, pat)
    		if len(text) == len(res) {
    			return "", false
    		}
    	} else {
    		parts := strings.SplitN(text, pat, 2)
    		if len(parts) == 1 {
    			return "", false
    		}
    		res = parts[1]
    	}
    	return res, true
    }
    
    func dropRune(text string) (res string, ok bool) {
    	r := []rune(text)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  5. 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)
  6. tensorflow/compiler/mlir/lite/stablehlo/tests/optimize.mlir

      func.return %0 : tensor<f32>
    
    // CHECK:      %[[RES:.*]] = "mhlo.dot_general"(%arg0, %arg1) <{
    // CHECK-SAME:   dot_dimension_numbers = #mhlo.dot<
    // CHECK-SAME:     lhs_contracting_dimensions = [0],
    // CHECK-SAME:     rhs_contracting_dimensions = [0]
    // CHECK-SAME: >}> : (tensor<3072xf32>, tensor<3072xf32>) -> tensor<f32>
    // CHECK:      return %[[RES]] : tensor<f32>
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top