- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 942 for Threads (0.08 seconds)
-
misc/cgo/gmp/fib.go
// that pass integers back and forth. No actual // concurrency, just threads and synchronization // and foreign code on multiple pthreads. package main import ( big "." "runtime" ) func fibber(c chan *big.Int, out chan string, n int64) { // Keep the fibbers in dedicated operating system // threads, so that this program tests coordination // between pthreads and not just goroutines. runtime.LockOSThread()
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Apr 10 22:32:35 GMT 2023 - 919 bytes - Click Count (0) -
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) } }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jul 02 15:09:36 GMT 2024 - 2.8K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Callables.java
* running will have the given name. * * @param callable The callable to wrap * @param nameSupplier The supplier of thread names, {@link Supplier#get get} will be called once * for each invocation of the wrapped callable. */ @J2ktIncompatible @GwtIncompatible // threads static <T extends @Nullable Object> Callable<T> threadRenaming(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 4.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java
*/ public GenerateThumbnailJob() { super(); } /** * Sets the number of threads to use for thumbnail generation. * * @param numOfThreads the number of threads * @return this job instance for method chaining */ public GenerateThumbnailJob numOfThreads(final int numOfThreads) { this.numOfThreads = numOfThreads; return this; }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 11.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorConcurrencyTest.java
import org.junit.jupiter.api.Test; /** * Concurrency and thread-safety tests for RankFusionProcessor. * Tests the improvements made to thread safety using CopyOnWriteArrayList. */ public class RankFusionProcessorConcurrencyTest extends UnitFessTestCase { private static final String ID_FIELD = "_id"; /** * Test concurrent registration of searchers from multiple threads.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 13.5K bytes - Click Count (0) -
docs/bigdata/README.md
``` hive.blobstore.use.blobstore.as.scratchdir=true hive.exec.input.listing.max.threads=50 hive.load.dynamic.partitions.thread=25 hive.metastore.fshandler.threads=50 hive.mv.files.threads=40 mapreduce.input.fileinputformat.list-status.num-threads=50 ```
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 14.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java
smbComTreeDisconnect.toString(); } }); threads[i].start(); } // Wait for all threads to complete for (Thread thread : threads) { thread.join(); } // Then - no exceptions should have been thrown assertTrue(true); // If we reach here, no exceptions occurred
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.5K bytes - Click Count (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/MavenOptions.java
@Nonnull Optional<Boolean> alsoMakeDependents(); /** * Returns the number of threads used for parallel builds. * * @return an {@link Optional} containing the number of threads (or "1C" for one thread per CPU core), or empty if not specified */ @Nonnull Optional<String> threads(); /** * Returns the id of the build strategy to use. *Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 8K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/LayeredMavenOptions.java
public Optional<Boolean> alsoMakeDependents() { return returnFirstPresentOrEmpty(MavenOptions::alsoMakeDependents); } @Override public Optional<String> threads() { return returnFirstPresentOrEmpty(MavenOptions::threads); } @Override public Optional<String> builder() { return returnFirstPresentOrEmpty(MavenOptions::builder); } @Override
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 5.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
/** Returns a new started daemon Thread running the given runnable. */ final Thread newStartedThread(Runnable runnable) { Thread t = new Thread(runnable); t.setDaemon(true); t.start(); return t; } /** * Waits for the specified time (in milliseconds) for the thread to terminate (using {@link * Thread#join(long)}), else interrupts the thread (in the hope that it may terminate later) and
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 8.8K bytes - Click Count (0)