Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 1,026 for yield (0.06 sec)

  1. src/runtime/asm_ppc64x.s

    CALLFN(·call268435456, 268435456)
    CALLFN(·call536870912, 536870912)
    CALLFN(·call1073741824, 1073741824)
    
    TEXT runtime·procyield(SB),NOSPLIT|NOFRAME,$0-4
    	MOVW	cycles+0(FP), R7
    	// POWER does not have a pause/yield instruction equivalent.
    	// Instead, we can lower the program priority by setting the
    	// Program Priority Register prior to the wait loop and set it
    	// back to default afterwards. On Linux, the default priority is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 45.4K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/runtime/framework.go

    	// filters fail, we don't run the second pass.
    	// We consider only equal or higher priority pods in the first pass, because
    	// those are the current "pod" must yield to them and not take a space opened
    	// for running them. It is ok if the current "pod" take resources freed for
    	// lower priority pods.
    	// Requiring that the new pod is schedulable in both circumstances ensures that
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  3. 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)
  4. src/runtime/pprof/pprof_test.go

    		var churn func(i int)
    		churn = func(i int) {
    			SetGoroutineLabels(WithLabels(ctx, Labels(t.Name()+"-churn-i", fmt.Sprint(i))))
    			if i == 0 {
    				ready.Done()
    			} else if i%16 == 0 {
    				// Yield on occasion so this sequence of goroutine launches
    				// doesn't monopolize a P. See issue #52934.
    				runtime.Gosched()
    			}
    			if ctx.Err() == nil {
    				go churn(i + 1)
    			}
    		}
    		go func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/options/TaskOptionFailureIntegrationTest.groovy

            when:
            runAndFail 'someTask', '--second', 'hey', '--second', 'buddy'
    
            then:
            failure.assertHasDescription("Problem configuring task :someTask from command line.")
            failure.assertHasCause("Multiple arguments were provided for command-line option '--second'.")
        }
    
        def "single dash user error yields decent error message"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:35 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. pkg/scheduler/apis/config/validation/validation_test.go

    			wantErrs: field.ErrorList{
    				&field.Error{
    					Type:  field.ErrorTypeInvalid,
    					Field: "profiles[0].plugins.score.enabled[0]",
    				},
    				&field.Error{
    					Type:  field.ErrorTypeInvalid,
    					Field: "profiles[0].plugins.score.enabled[1]",
    				},
    				&field.Error{
    					Type:  field.ErrorTypeInvalid,
    					Field: "profiles[0].plugins.score.enabled[2]",
    				},
    				&field.Error{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 06:27:01 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. pkg/apis/resource/validation/validation.go

    	var allErrs field.ErrorList
    	allItems := sets.New[T]()
    	for i, item := range slice {
    		idxPath := fldPath.Index(i)
    		if allItems.Has(item) {
    			allErrs = append(allErrs, field.Duplicate(idxPath, item))
    		} else {
    			allErrs = append(allErrs, validateItem(item, idxPath)...)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  10. pkg/proxy/apis/config/validation/validation.go

    	allErrs := field.ErrorList{}
    
    	if config.SyncPeriod.Duration <= 0 {
    		allErrs = append(allErrs, field.Invalid(fldPath.Child("SyncPeriod"), config.SyncPeriod, "must be greater than 0"))
    	}
    
    	if config.MinSyncPeriod.Duration < 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top