- Sort Score
- Num 10 results
- Language All
Results 1 - 7 of 7 for roundtrips (0.19 seconds)
-
src/archive/zip/fuzz_test.go
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 13 18:06:33 GMT 2022 - 1.7K bytes - Click Count (0) -
src/archive/tar/fuzz_test.go
t.Fatalf("unable to write previously parsed content: %s", err) } } if err := w.Close(); err != nil { t.Fatalf("Unable to write archive: %s", err) } // TODO: We may want to check if the archive roundtrips. This would require // taking into account addition of the two zero trailer blocks that Writer.Close // appends. })
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 13 18:06:33 GMT 2022 - 2.2K bytes - Click Count (0) -
src/test/java/jcifs/spnego/NegTokenTargTest.java
byte[] bytes = original.toByteArray(); NegTokenTarg roundTrip = new NegTokenTarg(bytes); // Assert – all getters match the original values assertEquals(NegTokenTarg.ACCEPT_COMPLETED, roundTrip.getResult(), "result should roundtrip"); assertEquals(mech, roundTrip.getMechanism(), "mechanism should roundtrip"); assertArrayEquals(tokenArray, roundTrip.getMechanismToken(), "mechanism token should roundtrip");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.6K bytes - Click Count (0) -
internal/grid/connection_test.go
const testPayload = "Hello Grid World!" gotResp := make(chan struct{}) go func() { start := time.Now() t.Log("Roundtrip: sending request") resp, err := remoteConn.Request(t.Context(), handlerTest, []byte(testPayload)) t.Log("Roundtrip:", time.Since(start), resp, err) gotResp <- struct{}{} }() <-gotCall remote.debugMsg(debugKillInbound) local.debugMsg(debugKillInbound)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 5.9K bytes - Click Count (0) -
internal/grid/trace.go
return c.roundtrip(h, req) } // Following trimming is needed for consistency between outputs with other internode traces. local := strings.TrimPrefix(strings.TrimPrefix(t.Local, httpsScheme), httpScheme) remote := strings.TrimPrefix(strings.TrimPrefix(t.Remote, httpsScheme), httpScheme) start := time.Now() body := bytesOrLength(req) resp, err := c.roundtrip(h, req) end := time.Now()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sat Jun 01 05:17:37 GMT 2024 - 4.1K bytes - Click Count (0) -
internal/http/transports.go
} // uaTransport - User-Agent transport type uaTransport struct { ua string rt http.RoundTripper } func (u *uaTransport) RoundTrip(req *http.Request) (*http.Response, error) { req2 := req.Clone(req.Context()) req2.Header.Set("User-Agent", u.ua) return u.rt.RoundTrip(req2) } // WithUserAgent wraps an existing transport with custom User-AgentCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 08 17:51:53 GMT 2025 - 6.5K bytes - Click Count (0) -
cmd/bucket-lifecycle_test.go
} if actual != tc.expectedStatus { t.Fatalf("Test %d: got %v expected %v", i+1, actual, tc.expectedStatus) } } } // TestRestoreObjStatusRoundTrip restoreObjStatus roundtrip func TestRestoreObjStatusRoundTrip(t *testing.T) { testCases := []restoreObjStatus{ ongoingRestoreObj(), completedRestoreObj(time.Now().UTC()), } for i, tc := range testCases {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue May 31 09:57:57 GMT 2022 - 7K bytes - Click Count (0)