Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 142 for cond_a (0.11 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. src/cmd/compile/internal/ssa/rewriteARM64.go

    	}
    	// match: (CMPWconst (MOVBUreg _) [c])
    	// cond: 0xff < c
    	// result: (FlagConstant [subFlags64(0,1)])
    	for {
    		c := auxIntToInt32(v.AuxInt)
    		if v_0.Op != OpARM64MOVBUreg || !(0xff < c) {
    			break
    		}
    		v.reset(OpARM64FlagConstant)
    		v.AuxInt = flagConstantToAuxInt(subFlags64(0, 1))
    		return true
    	}
    	// match: (CMPWconst (MOVHUreg _) [c])
    	// cond: 0xffff < c
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 608.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewriteS390X.go

    	v_0 := v.Args[0]
    	// match: (Load <t> ptr mem)
    	// cond: (is64BitInt(t) || isPtr(t))
    	// result: (MOVDload ptr mem)
    	for {
    		t := v.Type
    		ptr := v_0
    		mem := v_1
    		if !(is64BitInt(t) || isPtr(t)) {
    			break
    		}
    		v.reset(OpS390XMOVDload)
    		v.AddArg2(ptr, mem)
    		return true
    	}
    	// match: (Load <t> ptr mem)
    	// cond: is32BitInt(t) && t.IsSigned()
    	// result: (MOVWload ptr mem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 395.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/aot/tests/tfcompile_test.cc

    }
    
    TEST(TFCompileTest, Cond) {
      CondComp cond;
      EXPECT_EQ(cond.arg0_data(), cond.arg_data(0));
      EXPECT_EQ(cond.arg1_data(), cond.arg_data(1));
      EXPECT_EQ(cond.arg2_data(), cond.arg_data(2));
      cond.arg1() = 10;
      cond.arg2() = 20;
      {
        cond.arg0() = true;
        const int32 expected_result = cond.arg1();
        EXPECT_TRUE(cond.Run());
        EXPECT_EQ(cond.result0(), expected_result);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 26.4K bytes
    - Viewed (0)
  5. 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)
  6. src/cmd/compile/internal/ssa/rewritePPC64.go

    	typ := &b.Func.Config.Types
    	// match: (Load <t> ptr mem)
    	// cond: (is64BitInt(t) || isPtr(t))
    	// result: (MOVDload ptr mem)
    	for {
    		t := v.Type
    		ptr := v_0
    		mem := v_1
    		if !(is64BitInt(t) || isPtr(t)) {
    			break
    		}
    		v.reset(OpPPC64MOVDload)
    		v.AddArg2(ptr, mem)
    		return true
    	}
    	// match: (Load <t> ptr mem)
    	// cond: is32BitInt(t) && t.IsSigned()
    	// result: (MOVWload ptr mem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/region-control-flow-to-functional.mlir

      // CHECK: [[Result:%.*]]:2 = "tf.While"(%arg0, %arg1) <{body = @while_body, cond = @while_cond
      %0:2 = "tf.WhileRegion"(%arg0, %arg1) (
        {
          ^bb0(%carg0: tensor<*xf32>, %carg1: tensor<i32>):
            %cond = func.call @while_cond(%carg0, %carg1) : (tensor<*xf32>, tensor<i32>) -> tensor<i1>
            "tf.Yield"(%cond) : (tensor<i1>) -> ()
        },
        {
          // loop body
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 02 11:15:34 UTC 2024
    - 44.3K bytes
    - Viewed (0)
  8. 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)
  9. src/cmd/compile/internal/ssa/rewritegeneric.go

    	// match: (Ctz8 (Const8 [c]))
    	// cond: config.PtrSize == 4
    	// result: (Const32 [int32(ntz8(c))])
    	for {
    		if v_0.Op != OpConst8 {
    			break
    		}
    		c := auxIntToInt8(v_0.AuxInt)
    		if !(config.PtrSize == 4) {
    			break
    		}
    		v.reset(OpConst32)
    		v.AuxInt = int32ToAuxInt(int32(ntz8(c)))
    		return true
    	}
    	// match: (Ctz8 (Const8 [c]))
    	// cond: config.PtrSize == 8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:24:47 UTC 2024
    - 812.2K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/devicemanager/pod_devices_test.go

    	expectResourceDeviceInstances(t, resp, expected)
    
    	cond = map[string]sets.Set[string]{
    		"foo": sets.New[string]("dev-foo1", "dev-foo2"),
    		"bar": sets.New[string]("dev-bar1"),
    	}
    	resp = devs.Filter(cond)
    	expected = `{"bar":{"dev-bar1":{"ID":"bar1"}},"foo":{"dev-foo1":{"ID":"foo1"},"dev-foo2":{"ID":"foo2"}}}`
    	expectResourceDeviceInstances(t, resp, expected)
    
    	cond = map[string]sets.Set[string]{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top