Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 33 for cond_a (0.08 sec)

  1. test/codegen/condmove.go

    func cmovinv(cond bool, a, b int) {
    	var x0, x1 int
    
    	if cond {
    		x0 = a
    	} else {
    		x0 = ^b
    	}
    	// arm64:"CSINV\tNE", -"CSEL"
    	r0 = x0
    
    	if cond {
    		x1 = ^b
    	} else {
    		x1 = a
    	}
    	// arm64:"CSINV\tEQ", -"CSEL"
    	r1 = x1
    }
    
    func cmovneg(cond bool, a, b, c int) {
    	var x0, x1 int
    
    	if cond {
    		x0 = a
    	} else {
    		x0 = -b
    	}
    	// arm64:"CSNEG\tNE", -"CSEL"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 20:57:33 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  2. analysis/analysis-api/testData/components/dataFlowInfoProvider/exitPointSnapshot/defaultValues/while.kt

    fun test() {
        var x = 0
        <expr>consume(x)
        while (cond()) {
            consume(++x)
        }</expr>
    }
    
    fun cond(): Boolean = true
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Mar 14 10:53:11 UTC 2024
    - 156 bytes
    - Viewed (0)
  3. docs/es/docs/advanced/response-change-status-code.md

    Y si declaraste un `response_model`, aún se usará para filtrar y convertir el objeto que retornaste.
    
    **FastAPI** usará esa respuesta *temporal* para extraer el código de estado (también cookies y headers), y los pondrá en la respuesta final que contiene el valor que retornaste, filtrado por cualquier `response_model`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Feb 06 19:56:23 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/optimize_functional_ops.cc

          return success();
        }
    
        // Extract the constant cond value.
        DenseElementsAttr cond;
        if (!matchPattern(op.getCond(), m_Constant(&cond))) return failure();
    
        // TODO(hinsu): Handle constants that are not scalar booleans.
        auto cond_type = mlir::dyn_cast<RankedTensorType>(cond.getType());
        if (!cond_type || !cond_type.getShape().equals({}) ||
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  5. tests/integration/pilot/analysis/analysis_test.go

    			if err != nil {
    				t.Fatal(err)
    			}
    			// replacing the condition
    			for i, cond := range we.Status.Conditions {
    				if cond.Type == "Health" {
    					we.Status.Conditions[i] = &v1alpha1.IstioCondition{
    						Type:   "Health",
    						Reason: "LooksLikeIHavebeenReplaced",
    						Status: "False",
    					}
    				}
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/arm64/anames7.go

    var cnames7 = []string{
    	"", // C_NONE starts from 1
    	"NONE",
    	"REG",
    	"ZREG",
    	"RSP",
    	"FREG",
    	"VREG",
    	"PAIR",
    	"SHIFT",
    	"EXTREG",
    	"SPR",
    	"SPOP",
    	"COND",
    	"ARNG",
    	"ELEM",
    	"LIST",
    	"ZCON",
    	"ABCON0",
    	"ADDCON0",
    	"ABCON",
    	"AMCON",
    	"ADDCON",
    	"MBCON",
    	"MOVCON",
    	"BITCON",
    	"ADDCON2",
    	"LCON",
    	"MOVCON2",
    	"MOVCON3",
    	"VCON",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 16:37:49 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/syntax/nodes_test.go

    	{"CallStmt", `@go f()`},
    
    	{"ReturnStmt", `@return`},
    	{"ReturnStmt", `@return x`},
    	{"ReturnStmt", `@return a, b, a + b*f(1, 2, 3)`},
    
    	{"IfStmt", `@if cond {}`},
    	{"IfStmt", `@if cond { f() } else {}`},
    	{"IfStmt", `@if cond { f() } else { g(); h() }`},
    	{"ForStmt", `@for {}`},
    	{"ForStmt", `@for { f() }`},
    	{"SwitchStmt", `@switch {}`},
    	{"SwitchStmt", `@switch { default: }`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 18:45:06 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  8. src/go/ast/walk.go

    		if n.Comm != nil {
    			Walk(v, n.Comm)
    		}
    		walkList(v, n.Body)
    
    	case *SelectStmt:
    		Walk(v, n.Body)
    
    	case *ForStmt:
    		if n.Init != nil {
    			Walk(v, n.Init)
    		}
    		if n.Cond != nil {
    			Walk(v, n.Cond)
    		}
    		if n.Post != nil {
    			Walk(v, n.Post)
    		}
    		Walk(v, n.Body)
    
    	case *RangeStmt:
    		if n.Key != nil {
    			Walk(v, n.Key)
    		}
    		if n.Value != nil {
    			Walk(v, n.Value)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:34:10 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/cluster_tf_ops_pass.mlir

    // CHECK-NEXT:   %[[RESULT_0:.*]] = "tf.While"(%[[ARG_0]])
    // CHECK-SAME:   body = @while_body
    // CHECK-SAME:   cond = @while_cond
    // CHECK-SAME:   device = "/job:localhost/replica:0/task:0/device:CPU:0"
    // CHECK-NEXT:   %[[RESULT_1:.*]] = tf_device.remote_run "/job:worker/replica:0/task:1" @[[MAIN_PARTITION_0:.*]](%[[ARG_1]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/regalloc_test.go

    	c := testConfig(t)
    	f := c.Fun("entry",
    		Bloc("entry",
    			Valu("mem", OpInitMem, types.TypeMem, 0, nil),
    			Valu("ptr", OpArg, c.config.Types.Int64.PtrTo(), 0, c.Temp(c.config.Types.Int64)),
    			Valu("cond", OpArg, c.config.Types.Bool, 0, c.Temp(c.config.Types.Bool)),
    			Valu("ld", OpAMD64MOVQload, c.config.Types.Int64, 0, nil, "ptr", "mem"), // this value needs a spill
    			Goto("loop"),
    		),
    		Bloc("loop",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 6.3K bytes
    - Viewed (0)
Back to top