Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1091 - 1100 of 1,634 for byte1 (0.02 sec)

  1. docs/en/docs/advanced/custom-response.md

    ```Python hl_lines="1  18"
    {!../../docs_src/response_directly/tutorial002.py!}
    ```
    
    ### `HTMLResponse`
    
    Takes some text or bytes and returns an HTML response, as you read above.
    
    ### `PlainTextResponse`
    
    Takes some text or bytes and returns a plain text response.
    
    ```Python hl_lines="2  7  9"
    {!../../docs_src/custom_response/tutorial005.py!}
    ```
    
    ### `JSONResponse`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/curl/io/ContentCache.java

    public class ContentCache implements Closeable {
    
        protected static final Logger logger = Logger.getLogger(ContentCache.class.getName());
    
        private final byte[] data;
    
        private final File file;
    
        public ContentCache(final byte[] data) {
            this.data = data;
            this.file = null;
        }
    
        public ContentCache(final File file) {
            this.data = null;
            this.file = file;
        }
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/NtlmChallenge.java

        private static final long serialVersionUID = 2484853610174848092L;
    
        /**
         * Challenge
         */
        public byte[] challenge;
    
        /**
         * Server address
         */
        public UniAddress dc;
    
    
        /**
         * @param challenge
         * @param dc
         */
        public NtlmChallenge ( byte[] challenge, UniAddress dc ) {
            this.challenge = challenge;
            this.dc = dc;
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/SessionRetargetResponsePacket.java

            this.type = SESSION_RETARGET_RESPONSE;
            this.length = 6;
        }
    
    
        @Override
        int writeTrailerWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
        int readTrailerWireFormat ( InputStream in, byte[] buffer, int bufferIndex ) throws IOException {
            if ( in.read(buffer, bufferIndex, this.length) != this.length ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  5. cmd/object-lambda-handlers.go

    		tokenErr.Description = "The request route included in the request is invalid"
    		writeErrorResponse(ctx, w, tokenErr, r.URL)
    		return
    	}
    
    	if subtle.ConstantTimeCompare([]byte(resp.Header.Get(xhttp.AmzRequestToken)), []byte(eventData.GetObjectContext.OutputToken)) != 1 {
    		tokenErr := errorCodes.ToAPIErr(ErrInvalidToken)
    		tokenErr.Description = "The request token included in the request is invalid"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 22 07:04:48 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. cmd/dummy-handlers.go

    		return
    	}
    
    	const accelerateDefaultConfig = `<?xml version="1.0" encoding="UTF-8"?><AccelerateConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"/>`
    	writeSuccessResponseXML(w, []byte(accelerateDefaultConfig))
    }
    
    // GetBucketRequestPaymentHandler - GET bucket requestPayment, a dummy api
    func (api objectAPIHandlers) GetBucketRequestPaymentHandler(w http.ResponseWriter, r *http.Request) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 15:25:16 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

          sink.flush()
        }
      }
    
      /** The maximum size of bytes that may be sent in a single call to [data]. */
      fun maxDataLength(): Int = maxFrameSize
    
      /**
       * `source.length` may be longer than the max length of the variant's data frame. Implementations
       * must send multiple frames as necessary.
       *
       * @param source the buffer to draw bytes from. May be null if byteCount is 0.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  8. utils/utils.go

    		frame, _ := frames.Next()
    		if (!strings.HasPrefix(frame.File, gormSourceDir) ||
    			strings.HasSuffix(frame.File, "_test.go")) && !strings.HasSuffix(frame.File, ".gen.go") {
    			return string(strconv.AppendInt(append([]byte(frame.File), ':'), int64(frame.Line), 10))
    		}
    	}
    
    	return ""
    }
    
    func IsValidDBNameChar(c rune) bool {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. internal/store/store.go

    // Store - Used to persist items.
    type Store[I any] interface {
    	Put(item I) (Key, error)
    	PutMultiple(item []I) (Key, error)
    	Get(key Key) (I, error)
    	GetMultiple(key Key) ([]I, error)
    	GetRaw(key Key) ([]byte, error)
    	PutRaw(b []byte) (Key, error)
    	Len() int
    	List() []Key
    	Del(key Key) error
    	Open() error
    	Delete() error
    }
    
    // Key denotes the key present in the store.
    type Key struct {
    	Name      string
    	Compress  bool
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. docs_src/python_types/tutorial007.py

    from typing import Set, Tuple
    
    
    def process_items(items_t: Tuple[int, int, str], items_s: Set[bytes]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Apr 11 17:20:32 UTC 2020
    - 131 bytes
    - Viewed (0)
Back to top