Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 170 for caught (0.14 sec)

  1. okhttp-coroutines/README.md

    Cancellation if implemented sensibly in both directions.
    Cancelling a coroutine scope, will cancel the call.
    Cancelling a call, will throw a CancellationException
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Nov 09 15:47:27 UTC 2023
    - 609 bytes
    - Viewed (0)
  2. pilot/pkg/util/network/ip.go

    func AllIPv6(ipAddrs []string) bool {
    	for i := 0; i < len(ipAddrs); i++ {
    		addr, err := netip.ParseAddr(ipAddrs[i])
    		if err != nil {
    			// Should not happen, invalid IP in proxy's IPAddresses slice should have been caught earlier,
    			// skip it to prevent a panic.
    			continue
    		}
    		if addr.Is4() {
    			return false
    		}
    	}
    	return true
    }
    
    // AllIPv4 checks the addresses slice and returns true if all addresses
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Dec 21 21:27:21 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  3. test/fixedbugs/issue15091.go

    package sample
    
    type Html struct {
    	headerIDs map[string]int
    }
    
    // We don't want to see:
    //    internal error: (*Html).xyzzy autotmp_3 (type *int) recorded as live on entry, p.Pc=0
    // or (now, with the error caught earlier)
    //    Treating auto as if it were arg, func (*Html).xyzzy, node ...
    // caused by racewalker inserting instrumentation before an OAS where the Ninit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 989 bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/test/groovy/org/gradle/tooling/internal/provider/FailsafePhasedActionResultListenerTest.groovy

        def "delegate to listener"() {
            when:
            failsafeListener.onResult(event)
    
            then:
            1 * delegateListener.onResult(event)
        }
    
        def "failure is caught"() {
            def failure = new RuntimeException()
            given:
            delegateListener.onResult(_) >> { throw failure }
    
            when:
            failsafeListener.onResult(event)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. testing/precondition-tester/README.md

    For example, a `RunsOnPDP11` precondition, which we won't satisfy anywhere as we don't run tests on such hardware, will always be ignored.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/WithExternalRepository.groovy

                server.insertHandler(context)
                server.start()
            } catch (IllegalArgumentException ignored) {
                server = null // repository not found, probably running on coordinator. If not, error will be caught later
            }
        }
    
        void stopServer() {
            server?.stop()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

        @Override
        public void uncaughtException(Thread t, Throwable e) {
          try {
            logger
                .get()
                .log(
                    SEVERE,
                    String.format(Locale.ROOT, "Caught an exception in %s.  Shutting down.", t),
                    e);
          } catch (Throwable errorInLogging) { // sneaky checked exception
            // If logging fails, e.g. due to missing memory, at least try to log the
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  8. src/internal/trace/testdata/generators/go122-fail-first-gen-first.go

    // batch in the following generation.
    //
    // This test captures this behavior by making both the first generation
    // and second generation bad. It requires that the issue in the first
    // generation, which is caught when actually ordering events, be reported
    // instead of the second one.
    
    package main
    
    import (
    	"internal/trace/event/go122"
    	testgen "internal/trace/internal/testgen/go122"
    )
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/ExecutionList.java

     * thrown by {@linkplain MoreExecutors#directExecutor direct execution}) will be caught and logged.
     *
     * @author Nishant Thakkar
     * @author Sven Mawson
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public final class ExecutionList {
      /** Logger to log exceptions caught when running runnables. */
      private static final LazyLogger log = new LazyLogger(ExecutionList.class);
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 22 21:17:24 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

        @Override
        public void uncaughtException(Thread t, Throwable e) {
          try {
            logger
                .get()
                .log(
                    SEVERE,
                    String.format(Locale.ROOT, "Caught an exception in %s.  Shutting down.", t),
                    e);
          } catch (Throwable errorInLogging) { // sneaky checked exception
            // If logging fails, e.g. due to missing memory, at least try to log the
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top