Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 620 for resp (0.02 seconds)

  1. internal/grid/trace.go

    			},
    			RespInfo: madmin.TraceResponseInfo{
    				Time:       end,
    				Headers:    nil,
    				StatusCode: status,
    				Body:       []byte(bytesOrLength(resp)),
    			},
    			CallStats: madmin.TraceCallStats{
    				InputBytes:      len(req),
    				OutputBytes:     len(resp),
    				TimeToFirstByte: end.Sub(start),
    			},
    		},
    	}
    	// If the context contains a TraceParamsKey, add it to the trace path.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sat Jun 01 05:17:37 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/SmbFile.java

                    customizeCreate(req, resp);
    
                    h.send(req, resp);
                    info = resp;
                    fileSize = resp.getEndOfFile();
                    this.fileLocator.updateType(resp.getFileType());
                    fh = new SmbFileHandleImpl(config, resp.getFid(), h, uncPath, flags, access, attrs, options, resp.getEndOfFile());
                } else {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 103.2K bytes
    - Click Count (0)
  3. cmd/api-response.go

    	data.MaxKeys = maxKeys
    
    	data.NextKeyMarker = s3EncodeName(resp.NextMarker, encodingType)
    	data.NextVersionIDMarker = resp.NextVersionIDMarker
    	data.VersionIDMarker = versionIDMarker
    	data.IsTruncated = resp.IsTruncated
    
    	prefixes := make([]CommonPrefix, 0, len(resp.Prefixes))
    	for _, prefix := range resp.Prefixes {
    		prefixItem := CommonPrefix{}
    		prefixItem.Prefix = s3EncodeName(prefix, encodingType)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 24 04:05:19 GMT 2025
    - 35K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

            @Test
            @DisplayName("Should construct with config only")
            void testConstructorWithConfig() {
                TestServerMessageBlock2Response resp = new TestServerMessageBlock2Response(mockConfig);
                assertNotNull(resp);
                assertSame(mockConfig, resp.getConfig());
            }
    
            @Test
            @DisplayName("Should construct with config and command")
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/SmbTreeImpl.java

                    (short) negoReq.getSecurityMode(), negoReq.getDialects()));
    
            Smb2IoctlResponse resp;
            try {
                resp = send(req, RequestParam.NO_RETRY);
            } catch (final SMBSignatureValidationException e) {
                throw new SMBProtocolDowngradeException("Signature error during negotiate validation", e);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 30K bytes
    - Click Count (0)
  6. src/test/java/jcifs/http/NtlmHttpFilterTest.java

                protected NtlmPasswordAuthentication negotiate(HttpServletRequest req, HttpServletResponse resp, boolean skipAuthentication)
                        throws IOException, ServletException {
                    if (skipAuthentication) {
                        return null;
                    }
                    return super.negotiate(req, resp, skipAuthentication);
                }
    
                @Override
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

            SmbComNTCreateAndXResponse resp = new SmbComNTCreateAndXResponse() {
                @Override
                int readHeaderWireFormat(byte[] buffer, int bufferIndex) {
                    return 33;
                }
            };
            // Set command to NT_CREATE_ANDX and mark extended
            resp.command = ServerMessageBlock.SMB_COM_NT_CREATE_ANDX;
            resp.isExtended = true;
    
            byte[] buf = new byte[256];
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  8. internal/config/lambda/target/webhook.go

    	case 1:
    		req.Header.Set("Authorization", "Bearer "+target.args.AuthToken)
    	}
    
    	resp, err := target.httpClient.Do(req)
    	if err != nil {
    		if xnet.IsNetworkOrHostDown(err, true) {
    			return false, errNotConnected
    		}
    		return false, err
    	}
    	xhttp.DrainBody(resp.Body)
    	// No network failure i.e response from the target means its up
    	return true, nil
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Jul 08 21:39:49 GMT 2024
    - 6.7K bytes
    - Click Count (0)
  9. internal/http/close.go

    //
    // Subsequently this allows golang http RoundTripper
    // to reuse the same connection for future requests.
    func DrainBody(respBody io.ReadCloser) {
    	// Callers should close resp.Body when done reading from it.
    	// If resp.Body is not closed, the Client's underlying RoundTripper
    	// (typically Transport) may not be able to reuse a persistent TCP
    	// connection to the server for a subsequent "keep-alive" request.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  10. internal/s3select/select_test.go

    			s3Select.Evaluate(w)
    			s3Select.Close()
    			resp := http.Response{
    				StatusCode:    http.StatusOK,
    				Body:          io.NopCloser(bytes.NewReader(w.response)),
    				ContentLength: int64(len(w.response)),
    			}
    			res, err := minio.NewSelectResults(&resp, "testbucket")
    			if err != nil {
    				t.Error(err)
    				return
    			}
    			got, err := io.ReadAll(res)
    			if err != nil {
    				t.Error(err)
    				return
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 76.1K bytes
    - Click Count (0)
Back to Top