- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 226 for yielded (0.12 sec)
-
src/runtime/sema_test.go
func testSemaHandoff() bool { var sema, res uint32 done := make(chan struct{}) // We're testing that the current goroutine is able to yield its time slice // to another goroutine. Stop the current goroutine from migrating to // another CPU where it can win the race (and appear to have not yielded) by // keeping the CPUs slightly busy. var wg sync.WaitGroup for i := 0; i < GOMAXPROCS(-1); i++ { wg.Add(1) go func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 21 19:37:22 UTC 2022 - 4.2K bytes - Viewed (0) -
test/range4.go
package main var gj int func yield4x(yield func() bool) { _ = yield() && yield() && yield() && yield() } func yield4(yield func(int) bool) { _ = yield(1) && yield(2) && yield(3) && yield(4) } func yield3(yield func(int) bool) { _ = yield(1) && yield(2) && yield(3) } func yield2(yield func(int) bool) { _ = yield(1) && yield(2) } func testfunc0() { j := 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 08 16:00:53 UTC 2024 - 5.1K bytes - Viewed (0) -
schema/index_test.go
Fields: []schema.IndexOption{ {Field: &schema.Field{Name: "FieldD"}}, // Note: Duplicate Columns {Field: &schema.Field{Name: "FieldD"}}, }, }, "uniq_field_e1_e2": { Name: "uniq_field_e1_e2", Class: "UNIQUE", Fields: []schema.IndexOption{ {Field: &schema.Field{Name: "FieldE1"}}, {Field: &schema.Field{Name: "FieldE2"}}, }, }, "idx_index_tests_field_f1": {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Sun Feb 04 07:49:19 UTC 2024 - 8K bytes - Viewed (0) -
docs/em/docs/tutorial/dependencies/dependencies-with-yield.md
⚫️ 5️⃣📆 😋 🤚 `HTTPException` ⚖️ 🎏 🚪 📟, ⏮️ `yield`. ✋️ **⚫️ 🏆 🚫 👷**. 🚪 📟 🔗 ⏮️ `yield` 🛠️ *⏮️* 📨 📨, [⚠ 🐕🦺](../handling-errors.md#_4){.internal-link target=_blank} 🔜 ✔️ ⏪ 🏃. 📤 🕳 😽 ⚠ 🚮 👆 🔗 🚪 📟 (⏮️ `yield`). , 🚥 👆 🤚 `HTTPException` ⏮️ `yield`, 🔢 (⚖️ 🙆 🛃) ⚠ 🐕🦺 👈 ✊ `HTTPException`Ⓜ & 📨 🇺🇸🔍 4️⃣0️⃣0️⃣ 📨 🏆 🚫 📤 ✊ 👈 ⚠ 🚫🔜. 👉 ⚫️❔ ✔ 🕳 ⚒ 🔗 (✅ 💽 🎉), 🖼, ⚙️ 🖥 📋.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 8.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/split_into_island_per_op_pass.cc
OpBuilder builder(&island.GetBody(), island.GetBody().begin()); tf_executor::YieldOp yield = island.GetYield(); if (yield.getNumOperands() == 0) { builder.create<TF::NoOp>(island.getLoc(), TypeRange{}, ValueRange{}); } else if (yield.getNumOperands() == 1) { Value operand = yield.getOperand(0); auto identity = builder.create<TF::IdentityOp>(island.getLoc(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 17 07:31:01 UTC 2023 - 7.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/convert_tf_control_flow_to_scf.cc
moveBlock(&tf_then_or_else_region.front(), &scf_then_or_else_region.front(), TypeRange(), rewriter); // Replace the current terminator (a `tf.Yield` op) with an `scf.yield` // op. The input of the `scf.yield` op is a list of results of `tf.Cast` // ops, each of which casts an operand of the current terminator to the // corresponding result type of the `tf.IfRegion` op.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 03 12:35:38 UTC 2022 - 9.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_outline_tpu_island.cc
outlined_func.setNested(); // We will "steal" the body of the island and replace it with a call to the // new function later. { YieldOp yield_op = island_op.GetYield(); outlined_func.getBody().takeBody(island_op.getBody()); // Replace the yield with a return OpBuilder replacer(yield_op); island_op.getBody().push_back(new Block); replacer.create<mlir::func::ReturnOp>(yield_op.getLoc(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.7K bytes - Viewed (0) -
test/rangegen.go
if verbose { println("did", "%[3]s", "%[4]s", len(all)) } } ` var mainCode = ` func main() { if verbose { println("main") } %s } func yield2(yield func(int)bool) { _ = yield(1) && yield(2) } var slice2 = []int{1,2} type output struct { ret int trace []any } func (o *output) log(x any) { o.trace = append(o.trace, x) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 18 23:35:19 UTC 2023 - 8.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_functional_to_executor.cc
island.getBody().front().begin(), body.getOperations(), copy_range.begin(), copy_range.end()); builder.setInsertionPointToEnd(&island.getBody().front()); builder.create<tf_executor::YieldOp>(loc, return_op.getOperands()); for (auto item : llvm::enumerate(graph_op.getResults())) { return_op.setOperand(item.index(), item.value()); } } std::unique_ptr<OperationPass<func::FuncOp>>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 11 20:52:36 UTC 2023 - 4.1K bytes - Viewed (0) -
src/cmd/compile/internal/reflectdata/helpers.go
// expression that yields the *runtime._type value representing typ. func kindRType(pos src.XPos, typ *types.Type, k types.Kind) ir.Node { base.AssertfAt(typ.Kind() == k, pos, "want %v type, have %v", k, typ) return TypePtrAt(pos, typ) } // mapRType asserts that typ is a map type, and returns an expression // that yields the *runtime._type value representing typ.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 12 04:50:32 UTC 2023 - 7.1K bytes - Viewed (0)