- Sort Score
- Num 10 results
- Language All
Results 251 - 260 of 417 for cancelCh (0.12 seconds)
-
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
future = service.schedule(() -> {}, 5, MINUTES); future.cancel(true); assertTrue(future.isCancelled()); delegateFuture = (ScheduledFuture<?>) delegateQueue.element(); assertTrue(delegateFuture.isCancelled()); delegateQueue.clear(); future = service.scheduleAtFixedRate(() -> {}, 5, 5, MINUTES); future.cancel(true); assertTrue(future.isCancelled());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 26.1K bytes - Click Count (0) -
.ci/jobs.t/elastic+elasticsearch+pull-request+packaging-tests-windows.yml
trigger-phrase: '.*run\W+elasticsearch-ci/packaging-tests-windows.*' github-hooks: true status-context: elasticsearch-ci/packaging-tests-windows cancel-builds-on-update: true white-list-target-branches: - master excluded-regions: - ^docs/.* white-list-labels: - ':Delivery/Packaging'Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Aug 24 18:50:27 GMT 2021 - 2.1K bytes - Click Count (0) -
src/main/java/jcifs/SmbWatchHandle.java
* opened if it is not and should be closed with {@link #close()} when no longer * needed. * * Closing the context should cancel a pending notify request, but that does not seem to work reliable in all * implementations. * * Changes in between these calls (as long as the file is open) are buffered by the server, so iteratively callingCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.3K bytes - Click Count (0) -
tests/test_stream_cancellation.py
i = 0 while True: yield i i += 1 async def _run_asgi_and_cancel(app: FastAPI, path: str, timeout: float) -> bool: """Call the ASGI app for *path* and cancel after *timeout* seconds. Returns `True` if the cancellation was delivered (i.e. it did not hang). """ chunks: list[bytes] = [] async def receive(): # type: ignore[no-untyped-def]Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 27 18:56:47 GMT 2026 - 2.7K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/FailingCall.kt
override fun request(): Request = error("unexpected") override fun execute(): Response = error("unexpected") override fun enqueue(responseCallback: Callback): Unit = error("unexpected") override fun cancel(): Unit = error("unexpected") override fun isExecuted(): Boolean = error("unexpected") override fun isCanceled(): Boolean = error("unexpected") override fun timeout(): Timeout = error("unexpected")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 1.6K bytes - Click Count (0) -
.ci/jobs.t/elastic+elasticsearch+pull-request+packaging-tests-unix.yml
allow-whitelist-orgs-as-admins: true trigger-phrase: '.*run\W+elasticsearch-ci/packaging-tests-unix.*' github-hooks: true status-context: elasticsearch-ci/packaging-tests-unix cancel-builds-on-update: true black-list-target-branches: - 6.8 excluded-regions: - ^docs/.* white-list-labels: - ':Delivery/Packaging'Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Sep 14 17:35:45 GMT 2021 - 2.2K bytes - Click Count (0) -
.ci/jobs.t/elastic+elasticsearch+pull-request+packaging-tests-windows-sample.yml
trigger-phrase: '.*run\W+elasticsearch-ci/packaging-tests-windows-sample.*' github-hooks: true status-context: elasticsearch-ci/packaging-tests-windows-sample cancel-builds-on-update: true white-list-target-branches: - master excluded-regions: - ^docs/.* black-list-labels: - '>test-mute'Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Aug 24 18:50:27 GMT 2021 - 2.1K bytes - Click Count (0) -
.ci/jobs.t/elastic+elasticsearch+pull-request+packaging-tests-windows-sample-nojdk.yml
trigger-phrase: '.*run\W+elasticsearch-ci/packaging-tests-windows-sample.*' github-hooks: true status-context: elasticsearch-ci/packaging-tests-windows-sample cancel-builds-on-update: true # We've removed the no-jdk distribution on master as well black-list-target-branches: - master - 6.8 excluded-regions: - ^docs/.*Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Aug 24 19:49:58 GMT 2021 - 2.2K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt
client.dispatcher.executorService.shutdownNow() val exception = callFailure.get(5, TimeUnit.SECONDS) assertThat(exception.message) .isNotNull() .startsWith("canceled due to") assertThat(exception).isInstanceOf<IOException>() assertThat(exception.cause) .isNotNull() .matchesPredicate { it is InterruptedException || it is RejectedExecutionException }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 18:33:48 GMT 2025 - 6.4K 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 Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Apr 25 08:22:26 GMT 2025 - 8K bytes - Click Count (0)