- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 60 for yield (0.08 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
// Since holder.value is 2, applying 4 should yield 6. assertEquals(6, adder.apply(4).intValue()); ListenableFuture<Integer> immediateFuture = immediateFuture(4); Future<Integer> transformedFuture = transform(immediateFuture, adder, directExecutor()); // The composed future also yields 6. assertEquals(6, getDone(transformedFuture).intValue()); // Repeated calls yield the same value even though the function's behavior
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 29 16:29:37 UTC 2024 - 144.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
// Since holder.value is 2, applying 4 should yield 6. assertEquals(6, adder.apply(4).intValue()); ListenableFuture<Integer> immediateFuture = immediateFuture(4); Future<Integer> transformedFuture = transform(immediateFuture, adder, directExecutor()); // The composed future also yields 6. assertEquals(6, getDone(transformedFuture).intValue()); // Repeated calls yield the same value even though the function's behavior
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 29 16:29:37 UTC 2024 - 144.1K bytes - Viewed (0) -
src/runtime/proc.go
} } // Gosched yields the processor, allowing other goroutines to run. It does not // suspend the current goroutine, so execution resumes automatically. // //go:nosplit func Gosched() { checkTimeouts() mcall(gosched_m) } // goschedguarded yields the processor like gosched, but also checks // for forbidden states and opts out of the yield in those cases. // //go:nosplit
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 207.5K bytes - Viewed (0) -
doc/go1.17_spec.html
struct { T1 // field name is T1 *T2 // field name is T2 P.T3 // field name is T3 *P.T4 // field name is T4 x, y int // field names are x and y } </pre> <p> The following declaration is illegal because field names must be unique in a struct type: </p> <pre> struct { T // conflicts with embedded field *T and *P.T
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 20:22:45 UTC 2024 - 211.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tpu_rewrite.mlir
"tf.Yield"() : () -> () }, { "tf.Yield"() : () -> () }) {is_stateless = false, device = "/device:CPU:0"} : (tensor<i1>) -> () tf_device.return }) : () -> () func.return } func.func @empty_func() {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 22:03:30 UTC 2024 - 172.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc
/// Performs the legalization to the TF dialect. void runOnOperation() override; }; using mhlo::DotDimensionNumbersAttr; // Replaces `region`'s terminator to TF::Yield. void ReplaceReturnOp(Region& region, PatternRewriter& rewriter) { OpBuilder::InsertionGuard guard(rewriter); for (auto& block : region.getBlocks()) { Operation* terminator = block.getTerminator();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 154.9K bytes - Viewed (0) -
src/net/http/server.go
err = c.Conn.Close() log.Printf("%s.Close() = %v", c.name, err) return } // checkConnErrorWriter writes to c.rwc and records any write errors to c.werr. // It only contains one field (and a pointer field at that), so it // fits in an interface value without an extra allocation. type checkConnErrorWriter struct { c *conn } func (w checkConnErrorWriter) Write(p []byte) (n int, err error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 123.4K bytes - Viewed (0) -
api/maven-api-model/src/main/mdo/maven.mdo
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Apr 23 13:29:46 UTC 2024 - 115.1K bytes - Viewed (0) -
pkg/registry/batch/job/strategy_test.go
Status: batch.JobStatus{ FailedIndexes: ptr.To("0,2"), CompletedIndexes: "2-4", }, }, wantErrs: field.ErrorList{ {Type: field.ErrorTypeInvalid, Field: "status.failedIndexes"}, }, }, "failedIndexes overlap with completedIndexes, unrelated field change": { enableJobManagedBy: true, job: &batch.Job{ ObjectMeta: validObjectMeta, Spec: batch.JobSpec{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 101.5K bytes - Viewed (0) -
pkg/apis/apps/validation/validation_test.go
} for i := range errs { field := errs[i].Field if !strings.HasPrefix(field, "spec.template.") && field != "metadata.name" && field != "metadata.namespace" && field != "spec.selector" && field != "spec.template" && field != "GCEPersistentDisk.ReadOnly" && field != "spec.replicas" && field != "spec.template.labels" && field != "metadata.annotations" &&
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 111.9K bytes - Viewed (0)