Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for exercise (0.19 sec)

  1. plugin/pkg/admission/limitranger/admission_test.go

    			value.ResourceVersion = fmt.Sprintf("%d", index)
    			value.Namespace = action.GetNamespace()
    			limitRangeList.Items = append(limitRangeList.Items, value)
    		}
    		// make the handler slow so concurrent calls exercise the singleflight
    		time.Sleep(time.Second)
    		return true, limitRangeList, nil
    	})
    
    	handler, _, err := newHandlerForTest(mockClient)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

    import java.util.concurrent.RejectedExecutionException;
    import java.util.concurrent.atomic.AtomicReference;
    import junit.framework.TestCase;
    import org.mockito.Mockito;
    
    /**
     * Tests for {@link ClosingFuture}. Subclasses exercise either the {@link
     * ClosingFuture#finishToFuture()} or {@link
     * ClosingFuture#finishToValueAndCloser(ValueAndCloserConsumer, Executor)} paths to complete a
     * {@link ClosingFuture} pipeline.
     */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

    import java.util.concurrent.RejectedExecutionException;
    import java.util.concurrent.atomic.AtomicReference;
    import junit.framework.TestCase;
    import org.mockito.Mockito;
    
    /**
     * Tests for {@link ClosingFuture}. Subclasses exercise either the {@link
     * ClosingFuture#finishToFuture()} or {@link
     * ClosingFuture#finishToValueAndCloser(ValueAndCloserConsumer, Executor)} paths to complete a
     * {@link ClosingFuture} pipeline.
     */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  4. src/math/big/int_test.go

    			t.Errorf("#%d got (%s, %s) want (%s, %s)", i, q, r, expectedQ, expectedR)
    		}
    	}
    }
    
    func TestQuoStepD6(t *testing.T) {
    	// See Knuth, Volume 2, section 4.3.1, exercise 21. This code exercises
    	// a code path which only triggers 1 in 10^{-19} cases.
    
    	u := &Int{false, nat{0, 0, 1 + 1<<(_W-1), _M ^ (1 << (_W - 1))}}
    	v := &Int{false, nat{5, 2 + 1<<(_W-1), 1 << (_W - 1)}}
    
    	r := new(Int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  5. src/runtime/mprof.go

    			prof.cyclesLost += cycles
    			return
    		} else {
    			prof.cyclesLost += prev
    		}
    	}
    	// Saving the *mutex as a uintptr is safe because:
    	//  - lockrank_on.go does this too, which gives it regular exercise
    	//  - the lock would only move if it's stack allocated, which means it
    	//      cannot experience multi-M contention
    	prof.pending = uintptr(unsafe.Pointer(l))
    	prof.cycles = cycles
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  6. gradle/verification-metadata.xml

       You should then edit the origin to be "Verified". Note that editing those entries means you
       verified that the checksum matches.
    
       If the generation above did not resolve your issue, a task might be missing that exercise the
       dependency but is not covered by the current resolveAllDependencies. Edit the task definition to
       add the required task dependency.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 22:30:36 UTC 2024
    - 90.1K bytes
    - Viewed (0)
  7. src/runtime/mgc.go

    //
    // The algorithm's intellectual heritage includes Dijkstra's on-the-fly algorithm, see
    // Edsger W. Dijkstra, Leslie Lamport, A. J. Martin, C. S. Scholten, and E. F. M. Steffens. 1978.
    // On-the-fly garbage collection: an exercise in cooperation. Commun. ACM 21, 11 (November 1978),
    // 966-975.
    // For journal quality proofs that these steps are complete, correct, and terminate see
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  8. src/runtime/mbitmap.go

    		}
    
    		// Write out the header.
    		*header = gctyp
    		scanSize = span.elemsize
    	}
    
    	if doubleCheck {
    		doubleCheckHeapPointers(x, dataSize, gctyp, header, span)
    
    		// To exercise the less common path more often, generate
    		// a random interior pointer and make sure iterating from
    		// that point works correctly too.
    		maxIterBytes := span.elemsize
    		if header == nil {
    			maxIterBytes = dataSize
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  9. src/runtime/pprof/pprof_test.go

    					// goroutines in this process (in the allgs slice).
    					runtime.Gosched()
    				}
    				if i == 0 {
    					ready.Done()
    				}
    			}
    		}()
    
    		// Short-lived goroutines exercise different code paths (goroutines with
    		// status _Gdead, for instance). This churn doesn't have behavior that
    		// we can test directly, but does help to shake out data races.
    		ready.Add(1)
    		var churn func(i int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/optimizing-performance/configuration_cache.adoc

    Start with `:help`::
    Always start by trying your build or plugin with the simplest task `:help`.
    This will exercise the minimal configuration phase of your build or plugin.
    
    Progressively target useful tasks::
    Don't go with running `build` right away.
    You can also use `--dry-run` to discover more configuration time problems first.
    +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 16:24:12 UTC 2024
    - 71.1K bytes
    - Viewed (0)
Back to top