Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 558 for nThreads (0.12 sec)

  1. src/runtime/tls_windows_amd64.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package runtime
    
    // osSetupTLS is called by needm to set up TLS for non-Go threads.
    //
    // Defined in assembly.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 24 19:18:50 UTC 2021
    - 294 bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/IndexedCache.java

        /**
         * Returns the value mapped to the given key, producing the value if not present.
         *
         * The implementation blocks when multiple threads producing the same value concurrently, so that only a single thread produces the value and the other threads reuse the result.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. container-tests/src/test/java/okhttp3/containers/BasicLoomTest.kt

            .build()
    
        executor = newVirtualThreadPerTaskExecutor()
    
        // Capture non-deterministic but probable sysout warnings of pinned threads
        // https://docs.oracle.com/en/java/javase/21/core/virtual-threads.html
        System.setOut(PrintStream(capturedOut))
      }
    
      @AfterEach
      fun checkForPinning() {
        assertThat(capturedOut.toString()).isEmpty()
      }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 11:15:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/ProjectLeaseRegistry.java

         * thread to run as if it were executing an isolated task.
         *
         * Does not release worker lease.
         */
        void runAsIsolatedTask();
    
        /**
         * Returns {@code true} when this registry grants multiple threads access to projects (but no more than one thread per given project)
         * and {@code false} when this registry grants only a single thread access to projects at any given time.
         */
        boolean getAllowsParallelExecution();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/LongAdder.java

     * (method {@link #add}) are contended across threads, the set of variables may grow dynamically to
     * reduce contention. Method {@link #sum} (or, equivalently, {@link #longValue}) returns the current
     * total combined across the variables maintaining the sum.
     *
     * <p>This class is usually preferable to {@link AtomicLong} when multiple threads update a common
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/LongAdder.java

     * (method {@link #add}) are contended across threads, the set of variables may grow dynamically to
     * reduce contention. Method {@link #sum} (or, equivalently, {@link #longValue}) returns the current
     * total combined across the variables maintaining the sum.
     *
     * <p>This class is usually preferable to {@link AtomicLong} when multiple threads update a common
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  7. src/net/rlimit_js.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build js
    
    package net
    
    // concurrentThreadsLimit returns the number of threads we permit to
    // run concurrently doing DNS lookups.
    func concurrentThreadsLimit() int {
    	return 500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 346 bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/resources/SharedResourceLeaseRegistryTest.groovy

            when:
            success = coordinationService.withStateLock(unlock(sharedResourceLock))
    
            then:
            success
            !lockIsHeld(sharedResourceLock)
        }
    
        def "multiple threads can coordinate locking of a shared resource"() {
            given:
            sharedResourceLeaseRegistry.registerSharedResource('resource', 1)
            def threadCount = 10
            def started = new CountDownLatch(threadCount)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 5K bytes
    - Viewed (0)
  9. cmd/server-rlimit.go

    	return currentKernel < kernel.Version(4, 0, 0)
    }
    
    func setMaxResources(ctx serverCtxt) (err error) {
    	// Set the Go runtime max threads threshold to 90% of kernel setting.
    	sysMaxThreads, err := sys.GetMaxThreads()
    	if err == nil {
    		minioMaxThreads := (sysMaxThreads * 90) / 100
    		// Only set max threads if it is greater than the default one
    		if minioMaxThreads > 10000 {
    			debug.SetMaxThreads(minioMaxThreads)
    		}
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/cpumanager/topology_hints_test.go

    			{Id: 0,
    				Cores: []cadvisorapi.Core{
    					{SocketID: 0, Id: 0, Threads: []int{0, 6}},
    					{SocketID: 0, Id: 1, Threads: []int{1, 7}},
    					{SocketID: 0, Id: 2, Threads: []int{2, 8}},
    				},
    			},
    			{Id: 1,
    				Cores: []cadvisorapi.Core{
    					{SocketID: 1, Id: 0, Threads: []int{3, 9}},
    					{SocketID: 1, Id: 1, Threads: []int{4, 10}},
    					{SocketID: 1, Id: 2, Threads: []int{5, 11}},
    				},
    			},
    		},
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top