- Sort Score
- Num 10 results
- Language All
Results 1 - 8 of 8 for RoundTrip (0.09 seconds)
-
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 Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 36.1K 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 Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 15.9K bytes - Click Count (0) -
api/go1.26.txt
pkg net/http, method (*ClientConn) InFlight() int #75772 pkg net/http, method (*ClientConn) Release() #75772 pkg net/http, method (*ClientConn) Reserve() error #75772 pkg net/http, method (*ClientConn) RoundTrip(*Request) (*Response, error) #75772 pkg net/http, method (*ClientConn) SetStateHook(func(*ClientConn)) #75772 pkg net/http, method (*Transport) NewClientConn(context.Context, string, string) (*ClientConn, error) #75772
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Dec 11 19:57:52 GMT 2025 - 11.5K bytes - Click Count (0) -
cmd/metacache-server-pool.go
return entries, io.EOF } if c.status == scanStateError || c.status == scanStateNone { o.ID = "" o.Create = false o.debugln("scan status", c.status, " - waiting a roundtrip to create") } else { // Continue listing o.ID = c.id go c.keepAlive(ctx, rpc) } } } if o.ID != "" && !o.Transient { // We have an existing list ID, continue streaming.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 12.9K bytes - Click Count (0) -
cmd/xl-storage-format-v2_test.go
failOnErr(xl.AddVersion(fi)) fi.VersionID = mustGetUUID() fi.DataDir = mustGetUUID() fi.Data = data2 failOnErr(xl.AddVersion(fi)) serialized, err := xl.AppendTo(nil) failOnErr(err) // Roundtrip data var xl2 xlMetaV2 failOnErr(xl2.Load(serialized)) // We should have one data entry list, err := xl2.data.list() failOnErr(err) if len(list) != 2 { t.Fatalf("want 1 entry, got %d", len(list))
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 37.8K bytes - Click Count (0) -
cmd/object-api-utils_test.go
var decBuf bytes.Buffer decRdr := s2.NewReader(&rdrBuf) _, err = io.Copy(&decBuf, decRdr) if err != nil { t.Fatal(err) } if !bytes.Equal(tt.data, decBuf.Bytes()) { t.Errorf("roundtrip failed\n\t%q\n\t%q", tt.data, decBuf.Bytes()) } }) } } func Test_pathNeedsClean(t *testing.T) { type pathTest struct { path, result string } cleantests := []pathTest{
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 24.1K bytes - Click Count (0) -
lib/fips140/v1.0.0-c2097c7c.zip
b[:encodingSize], uint8(d)) out := ringCompressAndEncod(nil, g, uint8(d)) if !bytes.Equal(out, b[:encodingSize]) { t.Errorf("roundtrip failed for d = %d", d) } } // Round-trip ringCompressAndEncod and ringDecodeAndDecompr. g := ringDecodeAndDecompr((*[encodingSize10]byte)(b)) out := ringCompressAndEncod(nil, g) if !bytes.Equal(out, b[:encodingSize10]) { t.Errorf("roundtrip failed for specialized 10") } g = ringDecodeAndDecompr((*[encodingSize4]byte)(b)) out = ringCompressAndEncod(nil, g) if !bytes.Equal(out,...
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Sep 25 19:53:19 GMT 2025 - 642.7K bytes - Click Count (0) -
lib/fips140/v1.1.0-rc1.zip
b[:encodingSize], uint8(d)) out := ringCompressAndEncod(nil, g, uint8(d)) if !bytes.Equal(out, b[:encodingSize]) { t.Errorf("roundtrip failed for d = %d", d) } } // Round-trip ringCompressAndEncod and ringDecodeAndDecompr. g := ringDecodeAndDecompr((*[encodingSize10]byte)(b)) out := ringCompressAndEncod(nil, g) if !bytes.Equal(out, b[:encodingSize10]) { t.Errorf("roundtrip failed for specialized 10") } g = ringDecodeAndDecompr((*[encodingSize4]byte)(b)) out = ringCompressAndEncod(nil, g) if !bytes.Equal(out,...
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Dec 11 16:27:41 GMT 2025 - 663K bytes - Click Count (0)