Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 879 for RES (0.04 sec)

  1. src/internal/types/testdata/check/typeinstcycles.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    import "unsafe"
    
    func F1[T any](_ [unsafe.Sizeof(F1[int])]T) (res T)      { return }
    func F2[T any](_ T) (res [unsafe.Sizeof(F2[string])]int) { return }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 384 bytes
    - Viewed (0)
  2. pkg/test/framework/components/jwt/kube.go

    		})
    	}
    
    	return g.Wait().ErrorOrNil()
    }
    
    func addPullSecret(resource string, pullSecret string) (string, error) {
    	res := yml.SplitString(resource)
    	updatedYaml, err := yml.ApplyPullSecret(res[2], pullSecret)
    	if err != nil {
    		return "", err
    	}
    	mergedYaml := yml.JoinString(res[0], res[1], updatedYaml)
    	return mergedYaml, nil
    }
    
    type serverImpl struct {
    	id resource.ID
    	ns namespace.Instance
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 22 23:45:43 UTC 2022
    - 4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfr/resources/decomposition_lib.mlir

      %index = arith.constant 0 : index
      %cst = arith.constant 1 : i64
      %eq = arith.cmpi eq, %n, %cst : i64
      %v1 = tfr.get_element %values[%index] : (!tfr.tensor_list, index) -> !tfr.tensor
      %res = scf.if %eq -> !tfr.tensor {
        scf.yield %v1 : !tfr.tensor
      } else {
        %step = arith.index_cast %cst : i64 to index
        %end = arith.index_cast %n : i64 to index
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 13 16:33:28 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/predicates/rules/rules.go

    }
    
    func splitResource(resSub string) (res, sub string) {
    	parts := strings.SplitN(resSub, "/", 2)
    	if len(parts) == 2 {
    		return parts[0], parts[1]
    	}
    	return parts[0], ""
    }
    
    func (r *Matcher) resource() bool {
    	opRes, opSub := r.Attr.GetResource().Resource, r.Attr.GetSubresource()
    	for _, res := range r.Rule.Resources {
    		res, sub := splitResource(res)
    		resMatch := res == "*" || res == opRes
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 07 21:38:55 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/merge_tf_if_ops.mlir

      // CHECK-NEXT: [[res:%.*]]:3 = "tf.If"([[cond]], [[x]], [[y]])
      // CHECK-SAME: <{else_branch = @merge_stateless_merged_if_0_0_else, is_stateless = true, then_branch = @merge_stateless_merged_if_0_0_then}>
      // CHECK-SAME: (tensor<i1>, tensor<i32>, tensor<i32>) -> (tensor<i32>, tensor<i32>, tensor<i32>)
      // CHECK-NEXT: return [[res]]#0, [[res]]#1, [[res]]#2
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  6. pilot/pkg/security/model/authentication.go

    	return pm.ConstructSdsSecretConfig(name)
    }
    
    func AppendURIPrefixToTrustDomain(trustDomainAliases []string) []string {
    	res := make([]string, 0, len(trustDomainAliases))
    	for _, td := range trustDomainAliases {
    		res = append(res, spiffe.URIPrefix+td+"/")
    	}
    	return res
    }
    
    // ApplyToCommonTLSContext completes the commonTlsContext
    func ApplyToCommonTLSContext(tlsContext *tls.CommonTlsContext, proxy *model.Proxy,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 22:11:02 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfr/README.md

    def _composite_fully_connected(input_, filter_, bias, act):
      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
    
    ```
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 29 18:32:13 UTC 2022
    - 6.2K bytes
    - Viewed (0)
  8. pilot/pkg/features/security.go

    				"This is intended for use with node proxies.",
    		).Get()
    		res := sets.New[types.NamespacedName]()
    		if accounts == "" {
    			return res
    		}
    		for _, v := range strings.Split(accounts, ",") {
    			ns, sa, valid := strings.Cut(v, "/")
    			if !valid {
    				log.Warnf("Invalid CA_TRUSTED_NODE_ACCOUNTS, ignoring: %v", v)
    				continue
    			}
    			res.Insert(types.NamespacedName{
    				Namespace: ns,
    				Name:      sa,
    			})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jan 13 03:50:59 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/decompose_resource_op.mlir

    // CHECK-NEXT: [[res:%.*]] = tfrt_fallback_async.executeop key(1) cost({{.*}}) device("/job:localhost/replica:0/task:0/device:CPU:0") "tf.GatherV2"([[value]], {{.*}}, [[const]])
    // CHECK-NEXT: tfrt.return [[out_chain]], [[res]] : !tfrt.chain, !tfrt_fallback.tf_tensor
    func.func @gather(%indices: tensor<?xi32>,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 00:40:32 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. src/cmd/gofmt/internal.go

    	// Determine and prepend leading space.
    	i, j := 0, 0
    	for j < len(src) && isSpace(src[j]) {
    		if src[j] == '\n' {
    			i = j + 1 // byte offset of last line in leading space
    		}
    		j++
    	}
    	var res []byte
    	res = append(res, src[:i]...)
    
    	// Determine and prepend indentation of first code line.
    	// Spaces are ignored unless there are no tabs,
    	// in which case spaces count as one tab.
    	indent := 0
    	hasSpace := false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 28 14:23:08 UTC 2020
    - 5K bytes
    - Viewed (0)
Back to top