- Sort Score
- Num 10 results
- Language All
Results 181 - 190 of 512 for poll (0.02 seconds)
-
fastapi/concurrency.py
) -> 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 # since we're creating a new limiter for each call, any non-zero limit # works (1 is arbitrary) exit_limiter = CapacityLimiter(1)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 1.5K bytes - Click Count (0) -
prepare_stmt.go
// // Returns: // - A pointer to a PreparedStmtDB instance, which manages prepared statements using the provided connection pool and configuration. func NewPreparedStmtDB(connPool ConnPool, maxSize int, ttl time.Duration) *PreparedStmtDB { return &PreparedStmtDB{ ConnPool: connPool, // Assigns the provided connection pool to manage database connections.
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Apr 25 08:22:26 GMT 2025 - 5.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/CriticalPerformanceTest.java
// Test multiple components together long start = System.nanoTime(); // 1. Connection Pool Test SmbTransportPoolImpl pool = new SmbTransportPoolImpl(); pool.setMaxPoolSize(50); for (int i = 0; i < 100; i++) { pool.contains(null); // Should be fast without global sync } // 2. Buffer Cache Test for (int i = 0; i < 100; i++) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 15.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/AddressPolicy.kt
* limitations under the License. */ package okhttp3.internal.connection /** * A policy for how the pool should treat a specific address. */ class AddressPolicy( /** * How many concurrent calls should be possible to make at any time. * The pool will routinely try to pre-emptively open connections to satisfy this minimum.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jun 03 17:10:08 GMT 2025 - 1.3K bytes - Click Count (0) -
internal/s3select/csv/reader.go
queue chan *queueItem // output from workers in order err error // global error state, only touched by Reader.Read bufferPool bpool.Pool[[]byte] // pool of []byte objects for input csvDstPool bpool.Pool[[][]string] // pool of [][]string used for output close chan struct{} // used for shutting down the splitter before end of stream
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 8.8K bytes - Click Count (0) -
.github/workflows/labeler.yml
permissions: contents: read pull-requests: write runs-on: ubuntu-latest steps: - uses: actions/labeler@v6 if: ${{ github.event.action != 'labeled' && github.event.action != 'unlabeled' }} - run: echo "Done adding labels" # Run this after labeler applied labels check-labels: needs: - labeler permissions: pull-requests: read runs-on: ubuntu-latest steps:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Sep 09 09:11:44 GMT 2025 - 828 bytes - Click Count (1) -
src/main/java/org/codelibs/fess/suggest/SuggesterBuilder.java
} /** * Sets the thread pool. * @param threadPool The thread pool. * @return This builder instance. */ public SuggesterBuilder threadPool(final ExecutorService threadPool) { this.threadPool = threadPool; return this; } /** * Sets the thread pool size. * @param threadPoolSize The thread pool size. * @return This builder instance.Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 6.2K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/io/IOIntegrationTest.java
TimeoutRecordingMockHttpURLConnection mock = new TimeoutRecordingMockHttpURLConnection(u); return mock; }); ForkJoinPool pool = new ForkJoinPool(1); req.threadPool(pool); // ## Act ## req.execute(response -> { threadName.set(Thread.currentThread().getName()); latch.countDown(); }, e -> {
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 12:00:34 GMT 2026 - 44.1K bytes - Click Count (0) -
src/main/resources/fess_indices/fess.json
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 07:52:55 GMT 2026 - 40K bytes - Click Count (0) -
docs/zh/docs/help-fastapi.md
* 提出一个**问题**或关于某个**问题**的求助。 * 建议一个新的**功能**。 **注意**:如果你这么做了,我也会请你去帮助其他人。😉 ## 审阅 Pull Request { #review-pull-requests } 你可以帮我审阅他人的 Pull Request。 再次提醒,请尽力保持友善。🤗 --- 下面是需要注意的点,以及如何审阅一个 Pull Request: ### 理解问题 { #understand-the-problem } * 首先,确保你**理解这个 PR 要解决的问题**。它可能在 GitHub Discussion 或 issue 中有更长的讨论。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 11.8K bytes - Click Count (0)