- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for exercise (0.29 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/testdata/swagger.json
unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 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: Tue Feb 20 15:45:02 UTC 2024 - 229.4K bytes - Viewed (0) -
src/reflect/all_test.go
} // This will be index 2. func (p Point) GCMethod(k int) int { runtime.GC() return k + p.x } // This will be index 3. func (p Point) NoArgs() { // Exercise no-argument/no-result paths. } // This will be index 4. func (p Point) TotalDist(points ...Point) int { tot := 0 for _, q := range points { dx := q.x - p.x dy := q.y - p.y
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0)