Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for exercise (0.23 sec)

  1. src/net/http/transport_test.go

    				}, nil
    			}
    		},
    	).ts
    	// Set a short delay in RoundTrip to give the persistConn time to notice
    	// the connection is broken. We want to exercise the path where writeLoop exits
    	// before it reads the request to send. If this delay is too short, we may instead
    	// exercise the path where writeLoop accepts the request and then fails to write it.
    	// That's fine, so long as we get the desired path often enough.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CacheTest.kt

        assertThat(response.body.string()).isEqualTo(entryBody)
        assertThat(response.header("Content-Length")).isEqualTo("3")
        assertThat(response.header("etag")).isEqualTo("foo")
      }
    
      /** Exercise the cache format in OkHttp 2.7 and all earlier releases.  */
      @Test
      fun testGoldenCacheHttpsResponseOkHttp27() {
        val url = server.url("/")
        val urlKey = key(url)
        val prefix = get().getPrefix()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    import org.junit.jupiter.api.io.TempDir
    import org.opentest4j.TestAbortedException
    
    /** Android's URLConnectionTest, ported to exercise OkHttp's Call API.  */
    @Tag("Slow")
    class URLConnectionTest {
      @RegisterExtension
      val platform = PlatformRule()
    
      @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
      @TempDir
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  4. api/openapi-spec/v3/apis__node.k8s.io__v1_openapi.json

    unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 122.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/patch_test.go

    					testTwoWayPatch(t, c, schema)
    				})
    				t.Run(c.Description+"/ThreeWay", func(t *testing.T) {
    					testThreeWayPatch(t, c, schema)
    				})
    			}
    		})
    
    		// run multiple times to exercise different map traversal orders
    		for i := 0; i < 10; i++ {
    			for _, c := range strategicMergePatchRawTestCases {
    				t.Run(c.Description+"/TwoWay", func(t *testing.T) {
    					testTwoWayPatchForRawTestCase(t, c, schema)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 16:45:45 UTC 2023
    - 130.4K bytes
    - Viewed (0)
  6. src/cmd/go/internal/work/exec.go

    	default:
    		return false
    	}
    
    	if argLen > sys.ExecArgLengthLimit {
    		return true
    	}
    
    	// On the Go build system, use response files about 10% of the
    	// time, just to exercise this codepath.
    	isBuilder := os.Getenv("GO_BUILDER_NAME") != ""
    	if isBuilder && rand.Intn(10) == 0 {
    		return true
    	}
    
    	return false
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  7. pkg/config/validation/validation_test.go

    					},
    				},
    			},
    		}, false, false},
    		// We're using the same validation code as DestinationRule, so we're really trusting the TrafficPolicy
    		// validation code's testing. Here we just want to exercise the edge cases around Sidecar specifically.
    		{"valid inbound connection pool", &networking.Sidecar{
    			InboundConnectionPool: &networking.ConnectionPoolSettings{
    				Http: &networking.ConnectionPoolSettings_HTTPSettings{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
  8. src/net/http/server.go

    // Ideally we could find a solution that doesn't involve polling,
    // but which also doesn't have a high runtime cost (and doesn't
    // involve any contentious mutexes), but that is left as an
    // exercise for the reader.
    const shutdownPollIntervalMax = 500 * time.Millisecond
    
    // Shutdown gracefully shuts down the server without interrupting any
    // active connections. Shutdown works by first closing all open
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  9. api/openapi-spec/v3/apis__autoscaling__v2_openapi.json

    unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 186.6K bytes
    - Viewed (0)
  10. src/net/http/serve_test.go

    	cst := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) {
    		_, err := w.Write([]byte("<html>"))
    		if err != nil {
    			t.Errorf("ResponseWriter.Write: %v", err)
    		}
    
    		// Also exercise the ReaderFrom path
    		_, err = io.Copy(w, strings.NewReader("789a"))
    		if err != nil {
    			t.Errorf("Copy(ResponseWriter, ...): %v", err)
    		}
    	}))
    	res, err := cst.c.Head(cst.ts.URL)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
Back to top