Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 122 for recoverable (0.15 sec)

  1. platforms/core-execution/build-cache-http/src/integTest/groovy/org/gradle/caching/http/internal/HttpBuildCacheServiceTest.groovy

            def fromCache = cache.load(key) { input ->
                throw new RuntimeException("That should never be called")
            }
    
            then:
            !fromCache
        }
    
        def "load reports recoverable error on http code #httpCode"(int httpCode) {
            expectError(httpCode, 'GET')
    
            when:
            cache.load(key) { input ->
                throw new RuntimeException("That should never be called")
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:15:24 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/test_fuzz_minimize.txt

    ! stdout '^ok'
    ! stdout 'minimizing'
    stdout -count=1 'there was an Error'
    stdout FAIL
    
    # Test that minimization is working for recoverable errors.
    ! go test -fuzz=FuzzMinimizerRecoverable -run=FuzzMinimizerRecoverable -fuzztime=10000x .
    ! stdout '^ok'
    stdout 'got the minimum size!'
    # The error message that was printed should be for the one written to testdata.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 22 16:15:36 UTC 2021
    - 5.8K bytes
    - Viewed (0)
  3. test/fixedbugs/issue15252.go

    	i int64
    }
    
    func f(t *T) byte {
    	b := [2]byte{3, 4}
    	return b[t.i]
    }
    
    func main() {
    	t := &T{0x100000001}
    	defer func() {
    		r := recover()
    		if r == nil {
    			panic("panic wasn't recoverable")
    		}
    	}()
    	f(t)
    	panic("index didn't panic")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 14 21:19:12 UTC 2016
    - 612 bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/connection/RoutePlanner.kt

      fun plan(): Plan
    
      /**
       * Returns true if there's more route plans to try.
       *
       * @param failedConnection an optional connection that was resulted in a failure. If the failure
       *     is recoverable, the connection's route may be recovered for the retry.
       */
      fun hasNext(failedConnection: RealConnection? = null): Boolean
    
      /**
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  5. test/fixedbugs/issue28797.go

    // which is a non-panic fatal error.  OOM results from failure
    // to properly check negative limit.
    func test(f func()) {
    	defer func() {
    		r := recover()
    		if r == nil {
    			panic("panic wasn't recoverable")
    		}
    	}()
    	f()
    }
    
    //go:noinline
    func id(x int) int {
    	return x
    }
    
    func main() {
    	test(foo)
    	test(bar)
    }
    
    func foo() {
    	b := make([]byte, 0)
    	b = append(b, 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 07 23:04:58 UTC 2018
    - 900 bytes
    - Viewed (0)
  6. pkg/test/framework/components/echo/kube/sidecar.go

    				// Unable to parse an Any in the message, likely due to missing imports.
    				// This is not a recoverable error.
    				return nil, true, nil
    			}
    			if strings.Contains(err.Error(), `Any JSON doesn't have '@type'`) {
    				// Unable to parse an Any in the message, likely due to an older version.
    				// This is not a recoverable error.
    				return nil, true, nil
    			}
    			return nil, false, err
    		}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 09 03:49:49 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  7. buildscripts/heal-manual.go

    		log.Fatalln(err)
    	}
    
    	opts := madmin.HealOpts{
    		Recursive: true,                  // recursively heal all objects at 'prefix'
    		Remove:    true,                  // remove content that has lost quorum and not recoverable
    		ScanMode:  madmin.HealNormalScan, // by default do not do 'deep' scanning
    	}
    
    	start, _, err := madmClnt.Heal(context.Background(), "healing-rewrite-bucket", "", opts, "", false, false)
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 27 09:47:58 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtCompilerFacility.kt

            public val capturedValues: List<CodeFragmentCapturedValue>
        ) : KaCompilationResult()
    
        /**
         * Failed compilation result.
         *
         * @property errors Non-recoverable errors either during code analysis, or during code generation.
         */
        public class Failure(public val errors: List<KaDiagnostic>) : KaCompilationResult()
    }
    
    public typealias KtCompilationResult = KaCompilationResult
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. doc/next/3-tools.md

    recover what trace data it can. This functionality is particularly helpful when
    viewing a trace that was collected during a program crash, since the trace data
    leading up to the crash will now [be recoverable](/issue/65319) under most
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 19:06:07 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. src/time/tick.go

    // panic.
    //
    // Before Go 1.23, the garbage collector did not recover
    // tickers that had not yet expired or been stopped, so code often
    // immediately deferred t.Stop after calling NewTicker, to make
    // the ticker recoverable when it was no longer needed.
    // As of Go 1.23, the garbage collector can recover unreferenced
    // tickers, even if they haven't been stopped.
    // The Stop method is no longer necessary to help the garbage collector.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:30 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top