Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for cancelFn (0.65 sec)

  1. src/cmd/go/testdata/script/script_wait.txt

    # programs, but that should not cause the test to fail if it does not
    # care about the exit status of those programs.
    [exec:sleep] ? exec sleep 86400 &
    
    # It should also cancel any backgrounded builtins that respond to Context
    # cancellation.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:18:10 UTC 2022
    - 693 bytes
    - Viewed (0)
  2. api/go1.20.txt

    pkg net/netip, func IPv6Loopback() Addr #51777
    pkg net, type Dialer struct, ControlContext func(context.Context, string, string, syscall.RawConn) error #55301
    pkg os/exec, type Cmd struct, Cancel func() error #50436
    pkg os/exec, type Cmd struct, WaitDelay time.Duration #50436
    pkg os/exec, var ErrWaitDelay error #50436
    pkg path/filepath, func IsLocal(string) bool #56219
    pkg path/filepath, var SkipAll error #47209
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 21:23:32 UTC 2023
    - 602.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/concurrent/future.kt

        override fun resumeWith(result: Result<T>) {
            this.result = result
            outcomeLatch.countDown()
        }
    
        override fun isCancelled(): Boolean = false
    
        override fun cancel(mayInterruptIfRunning: Boolean): Boolean = false
    
        override fun isDone(): Boolean = result != null
    
        override fun get(): T {
            outcomeLatch.await()
            return getOrThrow()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. build-logic/lifecycle/src/main/kotlin/PrintStackTracesOnTimeoutBuildService.kt

                        )
                    }
                },
                parameters.timeoutMillis.get()
            )
        }
    
        override fun close() {
            timer.cancel()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 07:59:48 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/resolver/KotlinBuildScriptModelRepositoryTest.kt

    import java.util.concurrent.ArrayBlockingQueue
    import java.util.concurrent.TimeUnit
    
    import kotlin.coroutines.Continuation
    
    
    class KotlinBuildScriptModelRepositoryTest {
    
        @Test
        fun `cancels older requests before returning response to most recent request`() = runBlockingWithTimeout {
    
            // given:
            // Notice the project directory is never written to by the test so its path is immaterial
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  6. api/go1.16.txt

    pkg image/jpeg, type Reader //deprecated
    pkg net, type Dialer struct, Cancel //deprecated
    pkg net, type Dialer struct, DualStack //deprecated
    pkg net/http, method (*Transport) CancelRequest //deprecated
    pkg net/http, type CloseNotifier //deprecated
    pkg net/http, type ProtocolError //deprecated
    pkg net/http, type Request struct, Cancel //deprecated
    pkg net/http, type Transport struct, Dial //deprecated
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 02 16:30:41 UTC 2022
    - 479.2K bytes
    - Viewed (0)
Back to top