Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 356 for exp5 (0.25 sec)

  1. internal/auth/credentials.go

    func ExpToInt64(expI interface{}) (expAt int64, err error) {
    	switch exp := expI.(type) {
    	case string:
    		expAt, err = strconv.ParseInt(exp, 10, 64)
    	case float64:
    		expAt, err = int64(exp), nil
    	case int64:
    		expAt, err = exp, nil
    	case int:
    		expAt, err = int64(exp), nil
    	case uint64:
    		expAt, err = int64(exp), nil
    	case uint:
    		expAt, err = int64(exp), nil
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/cgo/ast.go

    func (f *File) saveExport2(x interface{}, context astContext) {
    	n, ok := x.(*ast.FuncDecl)
    	if !ok {
    		return
    	}
    
    	for _, exp := range f.ExpFunc {
    		if exp.Func.Name.Name == n.Name.Name {
    			exp.Func = n
    			break
    		}
    	}
    }
    
    type astContext int
    
    const (
    	ctxProg astContext = iota
    	ctxEmbedType
    	ctxType
    	ctxStmt
    	ctxExpr
    	ctxField
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 07 16:54:27 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. staging/src/k8s.io/apiserver/pkg/cel/openapi/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: Wed Dec 14 17:18:27 UTC 2022
    - 13K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. staging/src/k8s.io/apiserver/pkg/cel/types.go

    	if found {
    		ft := f.Type
    		expT, err := ft.ExprType()
    		if err != nil {
    			return nil, false
    		}
    		return &ref.FieldType{
    			Type: expT,
    		}, true
    	}
    	// This could be a dynamic map.
    	if st.IsMap() {
    		et := st.ElemType
    		expT, err := et.ExprType()
    		if err != nil {
    			return nil, false
    		}
    		return &ref.FieldType{
    			Type: expT,
    		}, true
    	}
    	return nil, false
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 08 15:52:31 UTC 2023
    - 18K bytes
    - Viewed (0)
Back to top