Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 561 for resp (0.1 sec)

  1. internal/grid/README.md

        if err != nil { ... }
    	
        // Read results from the stream
        err = stream.Results(func(resp *Resp) error {
            fmt.Println("Got result", resp)
            // Return the response for reuse
    		instance.PutResponse(resp)
            return nil
        })
    ```
    
    There are handlers for requests with:
     * No input stream: `RegisterNoInput`.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. 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.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. 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.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 01 05:17:37 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SIDCacheImpl.java

                    rpc.unicode_string ustr = rpc.domains.domains[ resp.sid_index ].name;
                    out.domainName = ( new UnicodeString(ustr, false) ).toString();
                    break;
                }
    
                UnicodeString ucstr = new UnicodeString(resp.name, false);
                out.acctName = ucstr.toString();
                out.type = resp.sid_type;
                out.origin_server = null;
                out.origin_ctx = null;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/SmbNegotiationResponse.java

         */
        boolean isDFSSupported ();
    
    
        /**
         * @param request
         */
        void setupRequest ( CommonServerMessageBlock request );
    
    
        /**
         * @param resp
         */
        void setupResponse ( Response resp );
    
    
        /**
         * @return whether signing has been negotiated
         */
        boolean isSigningNegotiated ();
    
    
        /**
         * @param cap
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.6K bytes
    - Viewed (0)
  6. misc/wasm/wasm_exec.html

    	-->
    	<script src="../../lib/wasm/wasm_exec.js"></script>
    	<script>
    		if (!WebAssembly.instantiateStreaming) { // polyfill
    			WebAssembly.instantiateStreaming = async (resp, importObject) => {
    				const source = await (await resp).arrayBuffer();
    				return await WebAssembly.instantiate(source, importObject);
    			};
    		}
    
    		const go = new Go();
    		let mod, inst;
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Aug 30 19:15:21 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SpnegoContext.java

            SpnegoToken resp;
            if ( this.completed ) {
                throw new CIFSException("Already complete");
            }
            else if ( len == 0 ) {
                resp = initialToken();
            }
            else {
                resp = negotitate(inputBuf, offset, len);
            }
    
            if ( resp == null ) {
                return null;
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Jan 04 04:18:31 UTC 2021
    - 14.8K bytes
    - Viewed (0)
  8. internal/logger/target/http/http.go

    	}
    
    	resp, err := h.client.Do(req)
    	if err != nil {
    		return fmt.Errorf("%s returned '%w', please check your endpoint configuration", h.Endpoint(), err)
    	}
    
    	// Drain any response.
    	xhttp.DrainBody(resp.Body)
    
    	if resp.StatusCode >= 200 && resp.StatusCode <= 299 {
    		// accepted HTTP status codes.
    		return nil
    	} else if resp.StatusCode == http.StatusForbidden {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 11 22:20:42 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  9. docs/lambda/README.md

    		# Write object back to S3 Object Lambda
    		# response sends the transformed data
    		# back to MinIO and then to the user
    		resp = make_response(transformed_object, 200)
    		resp.headers['x-amz-request-route'] = request_route
    		resp.headers['x-amz-request-token'] = request_token
    		return resp
    
    	else:
    		abort(400)
    
    if __name__ == '__main__':
    	app.run()
    ```
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Apr 04 19:15:28 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

         */
        @Override
        public SmbComNTCreateAndXResponse initResponse ( CIFSContext tc ) {
            SmbComNTCreateAndXResponse resp = new SmbComNTCreateAndXResponse(tc.getConfig());
            setResponse(resp);
            return resp;
        }
    
    
        /**
         * @param fl
         *            the flags0 to set
         */
        public final void addFlags0 ( int fl ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.2K bytes
    - Viewed (0)
Back to top