Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 86 for Cond (0.11 sec)

  1. src/cmd/compile/internal/ssa/rewritePPC64latelower.go

    	// cond: v.Block == z.Block
    	// result: (CMPconst [0] convertPPC64OpToOpCC(z))
    	for {
    		if auxIntToInt64(v.AuxInt) != 0 {
    			break
    		}
    		z := v_0
    		if z.Op != OpPPC64CNTLZD {
    			break
    		}
    		if !(v.Block == z.Block) {
    			break
    		}
    		v.reset(OpPPC64CMPconst)
    		v.AuxInt = int64ToAuxInt(0)
    		v.AddArg(convertPPC64OpToOpCC(z))
    		return true
    	}
    	// match: (CMPconst [0] z:(RLDICL x))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/walk/switch.go

    	// because walkExpr will lower the string
    	// conversion into a runtime call.
    	// See issue 24937 for more discussion.
    	if cond.Op() == ir.OBYTES2STR && allCaseExprsAreSideEffectFree(sw) {
    		cond := cond.(*ir.ConvExpr)
    		cond.SetOp(ir.OBYTES2STRTMP)
    	}
    
    	cond = walkExpr(cond, sw.PtrInit())
    	if cond.Op() != ir.OLITERAL && cond.Op() != ir.ONIL {
    		cond = copyExpr(cond, cond.Type(), &sw.Compiled)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  3. 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)
  4. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/control_flow.mlir

      func.return %1 : tensor<i32>
    }
    
    // CHECK-LABEL: func @cond(%arg0: !tfrt.chain, %arg1: !tfrt_fallback.tf_tensor, %arg2: !tfrt_fallback.tf_tensor) -> (!tfrt.chain, !tfrt_fallback.tf_tensor)
    func.func @cond(%arg0: tensor<i1>, %arg1: tensor<i32>) -> tensor<i32> {
      // CHECK: [[cond:%.*]] = tfrt_fallback_async.predicate
      // CHECK: [[cond_res:%.*]]:2 = tfrt.cond [[cond]]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 00:40:32 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  5. pkg/apis/core/v1/conversion.go

    	out.ObservedGeneration = in.ObservedGeneration
    	for _, cond := range in.Conditions {
    		out.Conditions = append(out.Conditions, apps.ReplicaSetCondition{
    			Type:               apps.ReplicaSetConditionType(cond.Type),
    			Status:             core.ConditionStatus(cond.Status),
    			LastTransitionTime: cond.LastTransitionTime,
    			Reason:             cond.Reason,
    			Message:            cond.Message,
    		})
    	}
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 22:30:55 UTC 2024
    - 19K bytes
    - Viewed (0)
  6. src/crypto/internal/edwards25519/field/fe.go

    	return subtle.ConstantTimeCompare(sa, sv)
    }
    
    // mask64Bits returns 0xffffffff if cond is 1, and 0 otherwise.
    func mask64Bits(cond int) uint64 { return ^(uint64(cond) - 1) }
    
    // Select sets v to a if cond == 1, and to b if cond == 0.
    func (v *Element) Select(a, b *Element, cond int) *Element {
    	m := mask64Bits(cond)
    	v.l0 = (m & a.l0) | (^m & b.l0)
    	v.l1 = (m & a.l1) | (^m & b.l1)
    	v.l2 = (m & a.l2) | (^m & b.l2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. pilot/pkg/config/kube/gateway/conditions.go

    		// for more information
    		if cond.error != nil {
    			existingConditions = setter(existingConditions, metav1.Condition{
    				Type:               k,
    				Status:             kstatus.InvertStatus(cond.status),
    				ObservedGeneration: generation,
    				LastTransitionTime: metav1.Now(),
    				Reason:             cond.error.Reason,
    				Message:            cond.error.Message,
    			})
    		} else {
    			status := cond.status
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 13:05:41 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  8. 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)
  9. tensorflow/c/while_loop_test.cc

      EXPECT_GE(outputs_[0].index, 0);
      EXPECT_TRUE(outputs_[1].oper != nullptr);
      EXPECT_GE(outputs_[1].index, 0);
    
      // Check that cond and body inputs are not present
      for (int i = 0; i < params_->ninputs; ++i) {
        string cond_name =
            ::tensorflow::strings::StrCat(params_->name, "/cond/cond_input", i);
        string body_name =
            ::tensorflow::strings::StrCat(params_->name, "/body/body_input", i);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 11 06:05:56 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  10. tests/integration/pilot/gateway_test.go

    			return fmt.Errorf("failed to find gateway")
    		}
    		cond := kstatus.GetCondition(gw.Status.Conditions, string(k8sv1.GatewayConditionProgrammed))
    		if cond.Status != metav1.ConditionTrue {
    			return fmt.Errorf("failed to find programmed condition: %+v", cond)
    		}
    		if cond.ObservedGeneration != gw.Generation {
    			return fmt.Errorf("stale GWC generation: %+v", cond)
    		}
    		return nil
    	}
    	retry.UntilSuccessOrFail(t, check)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 17.7K bytes
    - Viewed (0)
Back to top