- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 38 for Concurrency (0.06 sec)
-
fastapi/concurrency.py
from typing import TypeVar import anyio.to_thread from anyio import CapacityLimiter from starlette.concurrency import iterate_in_threadpool as iterate_in_threadpool # noqa from starlette.concurrency import run_in_threadpool as run_in_threadpool # noqa from starlette.concurrency import ( # noqa run_until_first_complete as run_until_first_complete, ) _T = TypeVar("_T") @asynccontextmanager
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 1.5K bytes - Viewed (0) -
cmd/perf-tests.go
Region: region, }) if err != nil { return res, err } } var mu sync.Mutex var uploadTimes madmin.TimeDurations wg.Add(opts.concurrency) for i := 0; i < opts.concurrency; i++ { go func(i int) { defer wg.Done() for { t := time.Now() reader := newRandomReader(opts.objectSize)Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 11.8K bytes - Viewed (0) -
CONTRIBUTORS
mirroring out changes from our internal repo. This files serves mainly to credit people who have not received proper credit in the Git history. Doug Lea, author of some concurrency libraries Joshua O'Madadhain (@jrtom), author of some common.graph commits beyond those that are already attributed to him in the Git history: https://github.com/google/guava/commit/909c593c61a656c2d70f0f9bd1cb0e5cdf43a556
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Oct 09 21:14:06 UTC 2025 - 1.7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/MoreExecutors.java
* @return an unmodifiable version of the input which will not hang the JVM */ @J2ktIncompatible @GwtIncompatible // concurrency public static ExecutorService getExitingExecutorService(ThreadPoolExecutor executor) { return new Application().getExitingExecutorService(executor); } /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 08 18:55:33 UTC 2025 - 45.2K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheBuilder.java
} /** * Guides the allowed concurrency among update operations. Used as a hint for internal sizing. The * table is internally partitioned to try to permit the indicated number of concurrent updates * without contention. Because assignment of entries to these partitions is not necessarily * uniform, the actual concurrency observed may vary. Ideally, you should choose a value to
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 08 18:55:33 UTC 2025 - 51.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Call.kt
* may be computed. But only one value will be inserted, and that inserted value will be returned * to all callers. * * If computing multiple values is problematic, use an appropriate concurrency mechanism in your * [computeIfAbsent] implementation. No locks are held while calling this function. */ fun <T : Any> tag( type: KClass<T>, computeIfAbsent: () -> T, ): T /**
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 6.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/LruHashMap.java
* </p> * <pre> * Map<K, V> syncMap = Collections.synchronizedMap(new LruHashMap<>(100)); * </pre> * <p> * Alternatively, for high-concurrency scenarios, consider implementing a custom * LRU cache using {@link java.util.concurrent.ConcurrentHashMap} with an eviction strategy. * </p> * * @author koichik * @param <K> the key type
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/TestThread.java
import org.jspecify.annotations.Nullable; /** * A helper for concurrency testing. One or more {@code TestThread} instances are instantiated in a * test with reference to the same "lock-like object", and then their interactions with that object * are choreographed via the various methods on this class. * * <p>A "lock-like object" is really any object that may be used for concurrency control. If theRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 21:00:51 UTC 2025 - 11.4K bytes - Viewed (0) -
docs/ru/docs/async.md
# Конкурентность и async / await { #concurrency-and-async-await } Подробности о синтаксисе `async def` для *функций-обработчиков пути* и немного фона об асинхронном коде, конкурентности и параллелизме. ## Нет времени? { #in-a-hurry } <abbr title="too long; didn't read – слишком длинно; не читал"><strong>TL;DR:</strong></abbr> Если вы используете сторонние библиотеки, которые нужно вызывать с `await`, например: ```Python results = await some_library()Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 30 11:24:39 UTC 2025 - 38.5K bytes - Viewed (0) -
docs/pt/docs/async.md
# Concorrência e async / await { #concurrency-and-async-await } Detalhes sobre a sintaxe `async def` para *funções de operação de rota* e alguns conceitos de código assíncrono, concorrência e paralelismo. ## Com pressa? { #in-a-hurry } <abbr title="too long; didn't read – muito longo; não li"><strong>TL;DR:</strong></abbr> Se você estiver utilizando bibliotecas de terceiros que dizem para você chamar as funções com `await`, como: ```PythonRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Nov 12 16:23:57 UTC 2025 - 25.8K bytes - Viewed (0)