- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 126 for Cond (0.05 sec)
-
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) -
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) -
tensorflow/compiler/mlir/tensorflow/tests/functional-control-flow-to-regions.mlir
// CHECK: device = "/device:CPU:0" func.return } // ----- func.func private @cond() -> tensor<i1> func.func private @body() -> () // Test tf.While device is preserved. // CHECK-LABEL: func @testWhileDevice func.func @testWhileDevice() { "tf.While"() {cond = @cond, body = @body, is_stateless = false, device = "/device:CPU:0"} : () -> () // CHECK: "tf.WhileRegion"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Nov 06 21:59:28 UTC 2023 - 11.9K bytes - Viewed (0) -
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) -
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) -
src/cmd/compile/internal/ssa/_gen/rulegen.go
// Value variables in the s-expression rr.Match and the Go expression rr.Cond. func varCount(rr *RuleRewrite) map[string]int { cnt := map[string]int{} varCount1(rr.Loc, rr.Match, cnt) if rr.Cond != "" { expr, err := parser.ParseExpr(rr.Cond) if err != nil { log.Fatalf("%s: failed to parse cond %q: %v", rr.Loc, rr.Cond, err) } ast.Inspect(expr, func(n ast.Node) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Sep 02 22:09:21 UTC 2023 - 48.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/embedding_pipelining.mlir
%cst_main = "tf.Const"() {value = dense<1> : tensor<i32>} : () -> tensor<i32> %0 = "tf.While"(%cst_main) {body = @while_body, cond = @while_cond, is_stateless = false} : (tensor<i32>) -> (tensor<i32>) // expected-error @+1 {{'tf.While' op multiple users of function.}} %1 = "tf.While"(%cst_main) {body = @while_body, cond = @while_cond, is_stateless = false} : (tensor<i32>) -> (tensor<i32>) return }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 33.1K bytes - Viewed (0) -
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) -
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) -
src/cmd/compile/internal/ssa/rewriteARM64latelower.go
} return false } func rewriteValueARM64latelower_OpARM64ADDSconstflags(v *Value) bool { v_0 := v.Args[0] b := v.Block typ := &b.Func.Config.Types // match: (ADDSconstflags [c] x) // cond: !isARM64addcon(c) // result: (ADDSflags x (MOVDconst [c])) for { c := auxIntToInt64(v.AuxInt) x := v_0 if !(!isARM64addcon(c)) { break } v.reset(OpARM64ADDSflags)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 12 19:38:41 UTC 2024 - 19.3K bytes - Viewed (0)