Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for yield4x (0.2 sec)

  1. 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)
  2. okhttp/src/test/java/okhttp3/CacheTest.kt

        sink.writeUtf8(content)
        sink.close()
      }
    
      /**
       * @param delta the offset from the current date to use. Negative values yield dates in the past;
       * positive values yield dates in the future.
       */
      private fun formatDate(
        delta: Long,
        timeUnit: TimeUnit,
      ): String {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

        if (return_op == nullptr) continue;
    
        rewriter.setInsertionPoint(return_op);
        rewriter.replaceOpWithNewOp<TF::YieldOp>(return_op,
                                                 return_op->getOperands());
      }
    }
    
    // If `value` is a splat constant, returns a success and set `splat_value`
    // to the splate constant value.
    // `SplatValueType` can be `APInt` or `APFloat`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  6. 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)
  7. src/reflect/all_test.go

    			kv.SetIterKey(iter)
    			seenk ^= kv.Uint()
    			kv.SetIterValue(iter)
    			seenv ^= kv.Uint()
    		}
    		if seenk != 0b111 {
    			t.Errorf("iteration yielded keys %b, want %b", seenk, 0b111)
    		}
    		if seenv != 0b1110 {
    			t.Errorf("iteration yielded values %b, want %b", seenv, 0b1110)
    		}
    	}
    
    	// Reset should not allocate.
    	n := int(testing.AllocsPerRun(10, func() {
    		iter.Reset(ValueOf(m2))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

                      << "` has resource operands/results but effects not modelled";
            }
          }
        }
      }
    
      // Add the terminator for the island
      island_builder.create<mlir::tf_executor::YieldOp>(result.location,
                                                        inner_op->getResults());
      return island.getOperation();
    }
    
    Status ImporterBase::ConvertNode(const Node& node) {
      if (!node.IsOp()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  9. src/net/http/server.go

    	case *body:
    		v.registerOnHitEOF(fn)
    	default:
    		panic("unexpected type " + fmt.Sprintf("%T", rc))
    	}
    }
    
    // requestBodyRemains reports whether future calls to Read
    // on rc might yield more data.
    func requestBodyRemains(rc io.ReadCloser) bool {
    	if rc == NoBody {
    		return false
    	}
    	switch v := rc.(type) {
    	case *expectContinueReader:
    		return requestBodyRemains(v.readCloser)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
Back to top