Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 783 for 20000 (0.07 sec)

  1. src/os/fifo_test.go

    	}
    	f.Close()
    
    	// On a Linux laptop, before the problem was fixed,
    	// this test failed about 50% of the time with this
    	// number of iterations.
    	// It takes about 1/2 second when it passes.
    	const attempts = 20000
    
    	start := make(chan bool)
    	var wg sync.WaitGroup
    	wg.Add(1)
    	defer wg.Wait()
    	go func() {
    		defer wg.Done()
    		close(start)
    		for i := 0; i < attempts; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:47:23 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/processing/AnnotationProcessorDetector.java

        private final boolean logStackTraces;
    
        public AnnotationProcessorDetector(FileContentCacheFactory cacheFactory, Logger logger, boolean logStackTraces) {
            this.cache = cacheFactory.newCache("annotation-processors", 20000, new ProcessorServiceLocator(), new ListSerializer<>(AnnotationProcessorDeclarationSerializer.INSTANCE));
            this.logger = logger;
            this.logStackTraces = logStackTraces;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  3. pkg/kubelet/stats/cadvisor_stats_provider_test.go

    		seedPod0Infra         = 1000
    		seedPod0Container0    = 2000
    		seedPod0Container1    = 2001
    		seedPod1Infra         = 3000
    		seedPod1Container     = 4000
    		seedPod2Infra         = 5000
    		seedPod2Container     = 6000
    		seedEphemeralVolume1  = 10000
    		seedEphemeralVolume2  = 10001
    		seedPersistentVolume1 = 20000
    		seedPersistentVolume2 = 20001
    	)
    	const (
    		pName0 = "pod0"
    		pName1 = "pod1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/process/internal/DefaultExecHandleSpec.groovy

            new DefaultExecHandleBuilder(TestFiles.pathToFileResolver(), executor, buildCancellationToken)
                .executable(Jvm.current().getJavaExecutable().getAbsolutePath())
                .setTimeout(20000) //sanity timeout
                .workingDir(tmpDir.getTestDirectory())
                .environment('CLASSPATH', mergeClasspath())
        }
    
        private String mergeClasspath() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 23 03:44:52 UTC 2021
    - 14.9K bytes
    - Viewed (0)
  5. internal/http/listener_test.go

    		{[]string{"127.0.0.1:" + casePorts[2], nonLoopBackIP + ":" + casePorts[2]}, "0.0.0.0:" + casePorts[2]},
    		{[]string{"localhost:" + casePorts[3]}, "127.0.0.1:" + casePorts[3]},
    		{[]string{nonLoopBackIP + ":" + casePorts[4]}, nonLoopBackIP + ":" + casePorts[4]},
    		{[]string{"127.0.0.1:" + casePorts[5], nonLoopBackIP + ":" + casePorts[5]}, "0.0.0.0:" + casePorts[5]},
    	}
    
    nextTest:
    	for i, testCase := range testCases {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 17:41:02 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  6. src/runtime/race/output_test.go

    FAIL`}},
    	{"mutex", "run", "", "atexit_sleep_ms=0", `
    package main
    import (
    	"sync"
    	"fmt"
    )
    func main() {
    	c := make(chan bool, 1)
    	threads := 1
    	iterations := 20000
    	data := 0
    	var wg sync.WaitGroup
    	for i := 0; i < threads; i++ {
    		wg.Add(1)
    		go func() {
    			defer wg.Done()
    			for i := 0; i < iterations; i++ {
    				c <- true
    				data += 1
    				<- c
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 25 20:44:25 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  7. pilot/pkg/model/typed_xds_cache.go

    var _ typedXdsCache[uint64] = &lruCache[uint64]{}
    
    func newLru[K comparable](evictCallback simplelru.EvictCallback[K, cacheValue]) simplelru.LRUCache[K, cacheValue] {
    	sz := features.XDSCacheMaxSize
    	if sz <= 0 {
    		sz = 20000
    	}
    	l, err := simplelru.NewLRU(sz, evictCallback)
    	if err != nil {
    		panic(fmt.Errorf("invalid lru configuration: %v", err))
    	}
    	return l
    }
    
    func (l *lruCache[K]) Flush() {
    	l.mu.Lock()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 05:26:03 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. pkg/util/iptree/iptree_test.go

    		}
    		if m != netip.MustParsePrefix(test.out) {
    			t.Fatalf("mis-match: %v %v", m, test)
    		}
    	}
    
    	// not match
    	_, _, ok := r.ShortestPrefixMatch(netip.MustParsePrefix("0.0.0.0/0"))
    	if ok {
    		t.Fatalf("match unexpected for 0.0.0.0/0")
    	}
    }
    
    func TestLongestPrefixMatch(t *testing.T) {
    	r := New[int]()
    
    	keys := []string{
    		"10.0.0.0/8",
    		"10.21.0.0/16",
    		"10.221.0.0/16",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:04 UTC 2023
    - 17.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/api/validation/objectmeta_test.go

    		}
    	}
    }
    
    func TestValidateObjectMetaUpdatePreventsDeletionFieldMutation(t *testing.T) {
    	now := metav1.NewTime(time.Unix(1000, 0).UTC())
    	later := metav1.NewTime(time.Unix(2000, 0).UTC())
    	gracePeriodShort := int64(30)
    	gracePeriodLong := int64(40)
    
    	testcases := map[string]struct {
    		Old          metav1.ObjectMeta
    		New          metav1.ObjectMeta
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 07 03:12:31 UTC 2022
    - 17.8K bytes
    - Viewed (0)
  10. src/time/tick_test.go

    	tim.Reset(10000 * Second)
    	drainAsync()
    
    	// Test stop while timer in heap (because goroutine is blocked on <-C).
    	done := make(chan bool)
    	notDone(done)
    	go func() {
    		<-C
    		close(done)
    	}()
    	Sleep(sched)
    	notDone(done)
    
    	// Test reset far away while timer in heap.
    	tim.Reset(20000 * Second)
    	Sleep(sched)
    	notDone(done)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:10:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
Back to top