- Sort Score
- Result 10 results
- Languages All
Results 431 - 440 of 815 for Threads (0.06 sec)
-
fastapi/concurrency.py
) _T = TypeVar("_T") @asynccontextmanager async def contextmanager_in_threadpool( cm: AbstractContextManager[_T], ) -> AsyncGenerator[_T, None]: # blocking __exit__ from running waiting on a free thread # can create race conditions/deadlocks if the context manager itself # has its own internal pool (e.g. a database connection pool) # to avoid this we let __exit__ run without a capacity limit
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 1.5K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelReader.java
* location tracking. */ String INPUT_SOURCE = "org.apache.maven.model.io.inputSource"; /** * Reads the model from the specified file. * * @param input The file to deserialize the model from, must not be {@code null}.Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 3.6K bytes - Viewed (0) -
okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt
} } @Test fun threadIsInterruptedOnFirstRead() { Thread.currentThread().interrupt() try { val result = publicSuffixDatabase.getEffectiveTldPlusOne("squareup.com") assertThat(result).isEqualTo("squareup.com") } finally { assertThat(Thread.interrupted()).isTrue() } } @Test fun secondReadFailsSameAsFirst() {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue May 27 22:00:49 UTC 2025 - 8.5K bytes - Viewed (0) -
.github/workflows/build.yml
uses: mikepenz/action-junit-report@v6 with: report_paths: '**/build/test-results/*/TEST-*.xml' check_name: OpenJDK 11 Test Report - name: Publish Test Results uses: EnricoMi/publish-unit-test-result-action@v2 if: github.repository == 'square/okhttp' && github.ref == 'refs/heads/master' with: files: |Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 12 04:49:37 UTC 2025 - 18.6K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellInvoker.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Oct 16 06:12:36 UTC 2025 - 10.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ConsumingQueueIterator.java
import java.util.Queue; import org.jspecify.annotations.Nullable; /** * An Iterator implementation which draws elements from a queue, removing them from the queue as it * iterates. This class is not thread safe. */ @GwtCompatible final class ConsumingQueueIterator<T extends @Nullable Object> extends AbstractIterator<T> { private final Queue<T> queue; ConsumingQueueIterator(Queue<T> queue) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/nio/ChannelUtil.java
try { return channel.size(); } catch (final IOException e) { throw new IORuntimeException(e); } } /** * Reads the contents of the file channel into a byte buffer. * * @param channel * The file channel. Must not be {@literal null}. * @param bufferRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/DynamicProperties.java
* <li>{@link IORuntimeException} - Thrown if there are I/O errors during file operations.</li> * </ul> * * <p>Thread Safety: * This class uses synchronization to ensure thread-safe access to the properties. * * @see Properties */ public class DynamicProperties extends Properties { private static final long serialVersionUID = 1L; /**
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 13.1K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.6.md
* In GCE with COS, increase TasksMax for Docker service to raise cap on number of threads/processes used by containers. ([#51986](https://github.com/kubernetes/kubernetes/pull/51986), [@yujuhong](https://github.com/yujuhong))
Registered: Fri Dec 26 09:05:12 UTC 2025 - Last Modified: Thu Dec 24 02:28:26 UTC 2020 - 304K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java
null); // Wait for expiration try { Thread.sleep(150); } catch (InterruptedException e) { Thread.currentThread().interrupt(); } HandleInfo info = manager.getHandleForReconnect("/test/file.txt"); assertNull(info); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 6.6K bytes - Viewed (0)