- Sort Score
- Num 10 results
- Language All
Results 251 - 260 of 374 for cancelCh (0.06 seconds)
-
okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/MockSocketHandler.kt
apply { actions += { stream -> if (!stream.source.exhausted()) throw AssertionError("expected exhausted") } } fun cancelStream() = apply { actions += { stream -> stream.cancel() } } fun requestIOException() = apply { actions += { stream -> try { stream.source.exhausted() throw AssertionError("expected IOException")Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 3.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java
valueAndCloser.closeAsync(); } super.waitUntilClosed(closingFuture); } @Override void cancelFinalStepAndWait(ClosingFuture<TestCloseable> closingFuture) { assertThat(closingFuture.cancel(false)).isTrue(); ValueAndCloser<?> unused = finishToValueAndCloser(closingFuture); waitUntilClosed(closingFuture); futureCancelled.countDown(); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 5.7K bytes - Click Count (0) -
cmd/prepare-storage.go
Path: pathJoin(healthCheckPathPrefix, healthCheckLivenessPath), } httpClient := &http.Client{ Transport: globalInternodeTransport, } ctx, cancel := context.WithTimeout(GlobalContext, timeout) defer cancel() req, err := http.NewRequestWithContext(ctx, http.MethodGet, serverURL.String(), nil) if err != nil { return err } // Indicate that the liveness check for a peer call
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Jul 12 20:51:54 GMT 2024 - 11.1K bytes - Click Count (1) -
internal/cachevalue/cache.go
t.Once.Do(func() { t.ttl = ttl t.updateFn = update t.opts = opts }) } // GetWithCtx will return a cached value or fetch a new one. // passes a caller context, if caller context cancels nothing // is cached. // If the Update function returns an error the value is forwarded as is and not cached. func (t *Cache[T]) GetWithCtx(ctx context.Context) (T, error) { v := t.val.Load() ttl := t.ttl
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 24 12:50:46 GMT 2024 - 4.4K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellInvoker.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 10.1K bytes - Click Count (0) -
cmd/metacache.go
// Remove failed listings after 5 minutes. return time.Since(cache.lastUpdate) > 5*time.Minute } return true } // keepAlive will continuously update lastHandout until ctx is canceled. func (m metacache) keepAlive(ctx context.Context, rpc *peerRESTClient) { // we intentionally operate on a copy of m, so we can update without locks. t := time.NewTicker(metacacheMaxClientWait / 10) defer t.Stop()
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Jul 12 16:23:16 GMT 2024 - 6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java
} } /** * Destroys the command generator and cleanup resources. */ @Override public void destroy() { destoryTimer.cancel(); destoryTimer = null; } /** * Generates a thumbnail for the given ID and saves it to the output file. * @param thumbnailId The ID of the thumbnail to generate.Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Dec 04 08:02:36 GMT 2025 - 16K bytes - Click Count (0) -
src/main/resources/fess_label.properties
labels.crawling_info_created_time=Created labels.crawling_info_delete_all_link=Delete All labels.crawling_info_delete_all_confirmation=Are you sure you want to delete all? labels.crawling_info_delete_all_cancel=Cancel labels.crawling_info_thread_dump=Thread Dump labels.crawling_info_CrawlerStartTime=Crawler Start Time labels.crawling_info_CrawlerEndTime=Crawler End Time labels.crawling_info_CrawlerExecTime=Crawler Execution Time
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Sat Dec 13 02:21:17 GMT 2025 - 44K bytes - Click Count (0) -
tests/prepared_stmt_test.go
if _, ok := tx.ConnPool.(*gorm.PreparedStmtDB); !ok { t.Fatalf("should assign PreparedStatement Manager back to database when using PrepareStmt mode") } ctx, cancel := context.WithTimeout(context.Background(), 500*time.Millisecond) defer cancel() txCtx := tx.WithContext(ctx) user := *GetUser("prepared_stmt", Config{}) txCtx.Create(&user) var result1 UserCreated: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Apr 25 08:22:26 GMT 2025 - 8K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessClient.java
// Stop all async notification tasks first List<CompletableFuture<Void>> taskFutures = new ArrayList<>(asyncNotifyTasks.values()); for (CompletableFuture<Void> task : taskFutures) { task.cancel(true); } asyncNotifyTasks.clear(); // Unregister all active registrations List<CompletableFuture<Void>> unregisterFutures = new ArrayList<>();Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 20.8K bytes - Click Count (0)