- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 24 for roundtrips (0.05 seconds)
-
src/test/java/jcifs/smb/SSPContextTest.java
} } @Nested @DisplayName("Happy path behavior") class HappyPath { @Test @DisplayName("All getters return configured values and MIC roundtrips") void testAllMethodsHappyPath() throws Exception { // Arrange ASN1ObjectIdentifier mech1 = new ASN1ObjectIdentifier("1.2.840.113554.1.2.2"); // Kerberos V5Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.2K bytes - Click Count (0) -
internal/grid/grid_test.go
t.Errorf("want %q, got %q", testPayload, string(resp)) } t.Log("Roundtrip:", time.Since(start)) }) t.Run("localToRemoteErr", func(t *testing.T) { const testPayload = "Hello Grid World!" start := time.Now() resp, err := remoteConn.Request(t.Context(), handlerTest2, []byte(testPayload)) t.Log("Roundtrip:", time.Since(start)) if len(resp) != 0 { t.Errorf("want nil, got %q", string(resp)) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 36.1K 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) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
context.setMaxCacheAge(60000L); context.setNotificationEnabled(true); context.setNotificationFilter(0x1F); // Test encoding and decoding roundtrip byte[] buffer = new byte[context.size()]; int encoded = context.encode(buffer, 0); assertEquals(context.size(), encoded);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 14.2K bytes - Click Count (0) -
internal/grid/muxclient.go
LastPong: time.Now().UnixNano(), BaseFlags: parent.baseFlags, clientPingInterval: parent.clientPingInterval, } } // roundtrip performs a roundtrip, returning the first response. // This cannot be used concurrently. func (m *muxClient) roundtrip(h HandlerID, req []byte) ([]byte, error) { if m.init { return nil, errors.New("mux client already used") } m.init = true m.singleResp = true
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 15.9K bytes - Click Count (0) -
cmd/sftp-server-driver.go
FileList: handler, } } type forwardForTransport struct { tr http.RoundTripper fwd string } func (f forwardForTransport) RoundTrip(r *http.Request) (*http.Response, error) { r.Header.Set("X-Forwarded-For", f.fwd) return f.tr.RoundTrip(r) } func (f *sftpDriver) getMinIOClient() (*minio.Client, error) { mcreds := credentials.NewStaticV4( f.permissions.CriticalOptions["AccessKey"],Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Feb 10 16:35:49 GMT 2025 - 11.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java
String[] parsed = KuromojiCSVUtil.parse(escaped); assertEquals("Roundtrip failed for: " + original, 1, parsed.length); assertEquals("Roundtrip failed for: " + original, original, parsed[0]); } // Test special cases where roundtrip doesn't work due to implementation quirks String input; String escaped; String[] parsed;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 18.9K bytes - Click Count (0)