Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 176 for exp5 (0.17 sec)

  1. src/cmd/compile/internal/typecheck/expr.go

    	}
    	return n
    }
    
    // tcSlice typechecks an OSLICE or OSLICE3 node.
    func tcSlice(n *ir.SliceExpr) ir.Node {
    	n.X = DefaultLit(Expr(n.X), nil)
    	n.Low = indexlit(Expr(n.Low))
    	n.High = indexlit(Expr(n.High))
    	n.Max = indexlit(Expr(n.Max))
    	hasmax := n.Op().IsSlice3()
    	l := n.X
    	if l.Type() == nil {
    		n.SetType(nil)
    		return n
    	}
    	if l.Type().IsArray() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/walk/expr.go

    			return n
    		}
    		a := ir.Copy(n).(*ir.UnaryExpr)
    		a.X = l
    		return walkExpr(typecheck.Expr(a), init)
    
    	case ir.ODOT, ir.ODOTPTR:
    		n := n.(*ir.SelectorExpr)
    		l := safeExpr(n.X, init)
    		if l == n.X {
    			return n
    		}
    		a := ir.Copy(n).(*ir.SelectorExpr)
    		a.X = l
    		return walkExpr(typecheck.Expr(a), init)
    
    	case ir.ODEREF:
    		n := n.(*ir.StarExpr)
    		l := safeExpr(n.X, init)
    		if l == n.X {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/call.go

    				x.mode = constant_
    				x.typ = exp.typ
    				x.val = exp.val
    			case *TypeName:
    				x.mode = typexpr
    				x.typ = exp.typ
    			case *Var:
    				x.mode = variable
    				x.typ = exp.typ
    				if pkg.cgo && strings.HasPrefix(exp.name, "_Cvar_") {
    					x.typ = x.typ.(*Pointer).base
    				}
    			case *Func:
    				x.mode = funcMode
    				x.typ = exp.typ
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  4. src/go/types/call.go

    					_, exp = check.scope.LookupParent(prefix+sel, check.pos)
    					if exp != nil {
    						break
    					}
    				}
    				if exp == nil {
    					check.errorf(e.Sel, UndeclaredImportedName, "undefined: %s", ast.Expr(e)) // cast to ast.Expr to silence vet
    					goto Error
    				}
    				check.objDecl(exp, nil)
    			} else {
    				exp = pkg.scope.Lookup(sel)
    				if exp == nil {
    					if !pkg.fake {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ListsTest.java

        List<String> y = list("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(Lists.<Object>cartesianProduct(x, y))
            .containsExactly(exp1, exp2, exp3, exp4)
            .inOrder();
      }
    
      public void testCartesianProductTooBig() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ListsTest.java

        List<String> y = list("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(Lists.<Object>cartesianProduct(x, y))
            .containsExactly(exp1, exp2, exp3, exp4)
            .inOrder();
      }
    
      public void testCartesianProductTooBig() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top