Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 595 for exp5 (0.06 sec)

  1. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation.go

    	default:
    		return false
    	}
    }
    
    func isIdentOperand(exp *exprpb.Expr, operand string) bool {
    	if len(operand) == 0 {
    		return false // sanity check against default values
    	}
    	id := exp.GetIdentExpr() // does not panic even if exp is nil
    	return id != nil && id.Name == operand
    }
    
    func isConstField(exp *exprpb.Expr, field string) bool {
    	if len(field) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model/schemas_test.go

    		t.Errorf("got different type set. got=%v, wanted=%v", objTypeMap, expectedObjTypeMap)
    	}
    	for exp, expType := range expectedObjTypeMap {
    		actType, found := objTypeMap[exp]
    		if !found {
    			t.Errorf("missing type in rule types: %s", exp)
    			continue
    		}
    		expT, err := expType.ExprType()
    		if err != nil {
    			t.Errorf("fail to get cel type: %s", err)
    		}
    		actT, err := actType.ExprType()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 14K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/gradients/math_grad.cc

      explicit ExpGradientFunction(AbstractTensorHandle* exp) : exp_(exp) {
        exp->Ref();
      }
      Status Compute(AbstractContext* ctx,
                     absl::Span<AbstractTensorHandle* const> grad_outputs,
                     absl::Span<AbstractTensorHandle*> grad_inputs) override {
        AbstractTensorHandle* conj_output;
        std::string name = "Conj_Exp_Grad";
        TF_RETURN_IF_ERROR(SafeConj(ctx, exp_.get(), &conj_output, name.c_str()));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 28 13:53:47 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/SetsTest.java

        Set<String> y = set("3", "4");
    
        List<Object> exp1 = list((Object) 1, "3");
        List<Object> exp2 = list((Object) 1, "4");
        List<Object> exp3 = list((Object) 2, "3");
        List<Object> exp4 = list((Object) 2, "4");
    
        assertThat(Sets.<Object>cartesianProduct(x, y))
            .containsExactly(exp1, exp2, exp3, exp4)
            .inOrder();
      }
    
      public void testCartesianProductTooBig() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 47.8K bytes
    - Viewed (0)
  5. common/config/.golangci.yml

              - pkg: golang.org/x/exp/maps
                desc: "do not use golang.org/x/exp/maps; use istio.io/istio/pkg/maps instead"
              - pkg: maps
                desc: "do not use maps; use istio.io/istio/pkg/maps instead"
              - pkg: golang.org/x/exp/slices
                desc: "do not use golang.org/x/exp/slices; use istio.io/istio/pkg/slices instead"
              - pkg: slices
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 20:03:06 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  6. src/go/ast/filter.go

    	n := len(lit.Elts)
    	lit.Elts = filterExprList(lit.Elts, filter, export)
    	if len(lit.Elts) < n {
    		lit.Incomplete = true
    	}
    }
    
    func filterExprList(list []Expr, filter Filter, export bool) []Expr {
    	j := 0
    	for _, exp := range list {
    		switch x := exp.(type) {
    		case *CompositeLit:
    			filterCompositeLit(x, filter, export)
    		case *KeyValueExpr:
    			if x, ok := x.Key.(*Ident); ok && !filter(x.Name) {
    				continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/SetsTest.java

        Set<String> y = set("3", "4");
    
        List<Object> exp1 = list((Object) 1, "3");
        List<Object> exp2 = list((Object) 1, "4");
        List<Object> exp3 = list((Object) 2, "3");
        List<Object> exp4 = list((Object) 2, "4");
    
        assertThat(Sets.<Object>cartesianProduct(x, y))
            .containsExactly(exp1, exp2, exp3, exp4)
            .inOrder();
      }
    
      public void testCartesianProductTooBig() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 49.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/syntax/nodes.go

    		expr
    	}
    
    	// (X)
    	ParenExpr struct {
    		X Expr
    		expr
    	}
    
    	// X.Sel
    	SelectorExpr struct {
    		X   Expr
    		Sel *Name
    		expr
    	}
    
    	// X[Index]
    	// X[T1, T2, ...] (with Ti = Index.(*ListExpr).ElemList[i])
    	IndexExpr struct {
    		X     Expr
    		Index Expr
    		expr
    	}
    
    	// X[Index[0] : Index[1] : Index[2]]
    	SliceExpr struct {
    		X     Expr
    		Index [3]Expr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:38 UTC 2023
    - 9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/cel/library/quantity_test.go

    			expr:        `isQuantity("20Mi")`,
    			expectValue: trueVal,
    		},
    		{
    			name:        "isQuantity_invalidSuffix",
    			expr:        `isQuantity("20Mo")`,
    			expectValue: falseVal,
    		},
    		{
    			name:        "isQuantity_passingRegex",
    			expr:        `isQuantity("10Mm")`,
    			expectValue: falseVal,
    		},
    		{
    			name:               "isQuantity_noOverload",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  10. platforms/core-configuration/base-services-groovy/src/main/java/org/gradle/groovy/scripts/internal/ExpressionReplacingVisitorSupport.java

    import org.codehaus.groovy.ast.expr.ListExpression;
    import org.codehaus.groovy.ast.expr.MapEntryExpression;
    import org.codehaus.groovy.ast.expr.MapExpression;
    import org.codehaus.groovy.ast.expr.MethodCallExpression;
    import org.codehaus.groovy.ast.expr.MethodPointerExpression;
    import org.codehaus.groovy.ast.expr.NotExpression;
    import org.codehaus.groovy.ast.expr.PostfixExpression;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:00:26 UTC 2023
    - 16.9K bytes
    - Viewed (0)
Back to top