Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for recovered (0.24 sec)

  1. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        // Seed the pool with a bad connection.
        assertContent("a", getResponse(newRequest("/")))
    
        // Give the server time to disconnect.
        Thread.sleep(500)
    
        // This connection will need to be recovered. When it is, transparent gzip should still work!
        assertContent("b", getResponse(newRequest("/")))
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(0)
        // Connection is not pooled.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  2. src/reflect/all_test.go

    // Issue 8917.
    func TestLargeGCProg(t *testing.T) {
    	fv := ValueOf(func([256]*byte) {})
    	fv.Call([]Value{ValueOf([256]*byte{})})
    }
    
    func fieldIndexRecover(t Type, i int) (recovered any) {
    	defer func() {
    		recovered = recover()
    	}()
    
    	t.Field(i)
    	return
    }
    
    // Issue 15046.
    func TestTypeFieldOutOfRangePanic(t *testing.T) {
    	typ := TypeOf(struct{ X int }{10})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  3. src/cmd/go/alldocs.go

    // has failed.
    //
    // In package list mode only, go test caches successful package test
    // results to avoid unnecessary repeated running of tests. When the
    // result of a test can be recovered from the cache, go test will
    // redisplay the previous output instead of running the test binary
    // again. When this happens, go test prints '(cached)' in place of the
    // elapsed time in the summary line.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  4. api/openapi-spec/v3/apis__admissionregistration.k8s.io__v1alpha1_openapi.json

              },
              "paramKind": {
                "allOf": [
                  {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 235.4K bytes
    - Viewed (0)
  5. api/openapi-spec/v3/apis__admissionregistration.k8s.io__v1beta1_openapi.json

              },
              "paramKind": {
                "allOf": [
                  {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 235.7K bytes
    - Viewed (0)
  6. operator/cmd/mesh/testdata/manifest-generate/data-snapshot.tar.gz

    node selector block in the relevant section below and setting # the desired values. defaultNodeSelector: {} # enable pod disruption budget for the control plane, which is used to # ensure Istio control plane components are gradually upgraded or recovered. defaultPodDisruption: enabled: true # A minimal set of requested resources to applied to all deployments so that # Horizontal Pod Autoscaler will be able to function (if set). # Each component can overwrite these default values by adding its own...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 198.1K bytes
    - Viewed (0)
  7. src/cmd/go/internal/load/pkg.go

    		if includeMain && p.Name == "main" && !haveMatch {
    			haveMatch = true
    			cmode = "regonly"
    		}
    
    		// Mark package for instrumentation.
    		p.Internal.Cover.Mode = cmode
    		covered = append(covered, p)
    
    		// Force import of sync/atomic into package if atomic mode.
    		if cfg.BuildCoverMode == "atomic" {
    			EnsureImport(p, "sync/atomic")
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformCachingIntegrationTest.groovy

                    }
                    configurations {
                        compile {
                            attributes.attribute color, 'blue'
                        }
                    }
                    task resolveRed(type: Resolve) {
                        artifacts = configurations.compile.incoming.artifactView {
                            attributes { it.attribute(color, 'red') }
                        }.artifacts
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 11:52:44 UTC 2024
    - 97.8K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/callback.go

    }
    
    func testCallbackPanic(t *testing.T) {
    	// Make sure panic during callback unwinds properly.
    	if lockedOSThread() {
    		t.Fatal("locked OS thread on entry to TestCallbackPanic")
    	}
    	defer func() {
    		s := recover()
    		if s == nil {
    			t.Fatal("did not panic")
    		}
    		if s.(string) != "callback panic" {
    			t.Fatal("wrong panic:", s)
    		}
    		if lockedOSThread() {
    			t.Fatal("locked OS thread on exit from TestCallbackPanic")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 111.5K bytes
    - Viewed (0)
  10. doc/go1.17_spec.html

    </pre>
    
    <h3 id="Handling_panics">Handling panics</h3>
    
    <p> Two built-in functions, <code>panic</code> and <code>recover</code>,
    assist in reporting and handling <a href="#Run_time_panics">run-time panics</a>
    and program-defined error conditions.
    </p>
    
    <pre class="grammar">
    func panic(interface{})
    func recover() interface{}
    </pre>
    
    <p>
    While executing a function <code>F</code>,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
Back to top