- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for cond_a (0.11 sec)
-
src/sync/cond.go
// a call to [Cond.Broadcast] or [Cond.Signal] “synchronizes before” any Wait call // that it unblocks. // // For many simple use cases, users will be better off using channels than a // Cond (Broadcast corresponds to closing a channel, and Signal corresponds to // sending on a channel). // // For more on replacements for [sync.Cond], see [Roberto Clapis's series on
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 21:14:51 UTC 2024 - 4.1K bytes - Viewed (0) -
src/cmd/go/scriptconds_test.go
"strings" "sync" ) func scriptConditions() map[string]script.Cond { conds := scripttest.DefaultConds() add := func(name string, cond script.Cond) { if _, ok := conds[name]; ok { panic(fmt.Sprintf("condition %q is already registered", name)) } conds[name] = cond } lazyBool := func(summary string, f func() bool) script.Cond { return script.OnceCondition(summary, func() (bool, error) { return f(), nil })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 7.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/analysis/tf_dataflow.h
func::FuncOp cond = SymbolTable::lookupNearestSymbolFrom<func::FuncOp>( while_op, while_op.getCondAttr()); func::FuncOp body = SymbolTable::lookupNearestSymbolFrom<func::FuncOp>( while_op, while_op.getBodyAttr()); for (auto &arg : while_op->getOpOperands()) { BlockArgument cond_arg = cond.getArgument(arg.getOperandNumber());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 06 23:53:00 UTC 2024 - 3.9K bytes - Viewed (0) -
tensorflow/cc/framework/while_gradients.cc
// i = 0 // while forward loop predicate is true: // ++i Output zero = ops::Const(scope, 0, {}); // Condition function that returns condition output from original while loop. CondGraphBuilderFn cond_fn = [while_ctx](const Scope& scope, const std::vector<Output>& inputs, Output* output) { *output = ToOutput(while_ctx->cond_output());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 05:57:22 UTC 2024 - 8.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/EnumsTest.java
@J2ktIncompatible public class EnumsTest extends TestCase { private enum TestEnum { CHEETO, HONDA, POODLE, } public void testGetIfPresent() { assertThat(Enums.getIfPresent(TestEnum.class, "CHEETO")).hasValue(TestEnum.CHEETO); assertThat(Enums.getIfPresent(TestEnum.class, "HONDA")).hasValue(TestEnum.HONDA); assertThat(Enums.getIfPresent(TestEnum.class, "POODLE")).hasValue(TestEnum.POODLE);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 29 16:29:37 UTC 2024 - 8.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/mlrt/inline.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 22 01:01:31 UTC 2024 - 2.3K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewriteAMD64latelower.go
v_0 := v.Args[0] // match: (MOVBQZX x) // cond: zeroUpper56Bits(x,3) // result: x for { x := v_0 if !(zeroUpper56Bits(x, 3)) { break } v.copyOf(x) return true } return false } func rewriteValueAMD64latelower_OpAMD64MOVLQZX(v *Value) bool { v_0 := v.Args[0] // match: (MOVLQZX x) // cond: zeroUpper32Bits(x,3) // result: x for { x := v_0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 12 19:38:41 UTC 2024 - 3.6K bytes - Viewed (0) -
analysis/analysis-api/testData/components/dataFlowInfoProvider/exitPointSnapshot/defaultValues/while.kt
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Thu Mar 14 10:53:11 UTC 2024 - 156 bytes - Viewed (0) -
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) -
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)