Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for threadCount (0.15 sec)

  1. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/work/DefaultWorkerLeaseServiceProjectLockTest.groovy

            assert workerLeaseService.currentProjectLocks.empty
        }
    
        def "multiple threads can coordinate locking of a project"() {
            def threadCount = 10
            def started = new CountDownLatch(threadCount)
    
            when:
            async {
                threadCount.times {
                    start {
                        started.countDown()
                        thread.blockUntil.releaseAll
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/tasks/testing/testng/TestNGOptions.java

         */
        @Internal
        public int getThreadCount() {
            return threadCount;
        }
    
        public void setThreadCount(int threadCount) {
            this.threadCount = threadCount;
        }
    
        /**
         * The number of XML suites will run parallel
         * @since 8.9
         */
        @Internal
        @Incubating
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/authentication/token/cache/cached_token_authenticator_test.go

    	tokenCount := []int{100, 500, 2500, 12500, 62500}
    	threadCount := []int{1, 16, 256}
    	for _, tokens := range tokenCount {
    		for _, threads := range threadCount {
    			newSingleBenchmark(tokens, threads).run(b)
    		}
    	}
    }
    
    func newSingleBenchmark(tokens, threads int) *singleBenchmark {
    	s := &singleBenchmark{
    		threadCount: threads,
    		tokenCount:  tokens,
    	}
    	s.makeTokens()
    	return s
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/ParallelTaskExecutionIntegrationTest.groovy

                        }
                    }
                }
            """
        }
    
        void withParallelThreads(int threadCount) {
            executer.beforeExecute {
                withArgument("--max-workers=$threadCount")
            }
        }
    
        def "overlapping outputs prevent parallel execution"() {
            given:
            withParallelThreads(2)
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 14:00:51 UTC 2024
    - 21K bytes
    - Viewed (0)
Back to top