- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for PutRequest (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
internal/grid/handlers.go
func (h *StreamTypeHandler[Payload, Req, Resp]) NewRequest() Req { return h.reqPool.Get() } // PutRequest will accept a request for reuse. // These should be returned by the handler. func (h *StreamTypeHandler[Payload, Req, Resp]) PutRequest(r Req) { if r != h.nilReq { //nolint:staticcheck // SA6002 IT IS A GENERIC VALUE! (and always a pointer) h.reqPool.Put(r) } }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 27.7K bytes - Click Count (0) -
cmd/server_test.go
buffer := bytes.NewReader([]byte("testcontent")) putRequest, err := newTestSignedRequest(http.MethodPut, getPutObjectURL(s.endPoint, bucketName, objectName), int64(buffer.Len()), buffer, s.accessKey, s.secretKey, s.signer) c.Assert(err, nil) response, err = s.client.Do(putRequest) c.Assert(err, nil) c.Assert(response.StatusCode, http.StatusOK)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 118.1K bytes - Click Count (0)