Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 87 for uncompressed (0.11 sec)

  1. okhttp-brotli/src/test/java/okhttp3/brotli/BrotliInterceptorTest.kt

        val response =
          response("https://httpbin.org/brotli", s.decodeHex()) {
            header("Content-Encoding", "br")
          }
    
        val uncompressed = uncompress(response)
    
        val responseString = uncompressed.body.string()
        assertThat(responseString).contains("\"brotli\": true,")
        assertThat(responseString).contains("\"Accept-Encoding\": \"br\"")
      }
    
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. internal/s3select/message.go

    //   - BytesScanned => Number of bytes that have been processed before being uncompressed (if the file is compressed).
    //   - BytesProcessed => Number of bytes that have been processed after being uncompressed (if the file is compressed).
    //   - BytesReturned => Current number of bytes of records payload data returned by S3.
    //
    // For uncompressed files, BytesScanned and BytesProcessed are equal.
    //
    // Example:
    //
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 30 15:26:43 UTC 2022
    - 15.2K bytes
    - Viewed (0)
  3. src/archive/zip/struct.go

    	CRC32 uint32
    
    	// CompressedSize is the compressed size of the file in bytes.
    	// If either the uncompressed or compressed size of the file
    	// does not fit in 32 bits, CompressedSize is set to ^uint32(0).
    	//
    	// Deprecated: Use CompressedSize64 instead.
    	CompressedSize uint32
    
    	// UncompressedSize is the uncompressed size of the file in bytes.
    	// If either the uncompressed or compressed size of the file
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue May 28 21:41:09 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. src/archive/zip/reader.go

    		// jar tool) don't properly set the storage method on directories
    		// resulting in a file with compressed size > 0 but uncompressed size ==
    		// 0. We still want to fail when a directory has associated uncompressed
    		// data, but we are tolerant of cases where the uncompressed size is
    		// zero but compressed size is not.
    		if f.UncompressedSize64 != 0 {
    			return &dirReader{ErrFormat}, nil
    		} else {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Sat Aug 03 01:05:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  5. docs/en/docs/how-to/custom-request-and-route.md

    If there's no `gzip` in the header, it will not try to decompress the body.
    
    That way, the same route class can handle gzip compressed or uncompressed requests.
    
    {* ../../docs_src/custom_request_and_route/tutorial001.py hl[8:15] *}
    
    ### Create a custom `GzipRoute` class
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 22:39:38 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. cmd/object-api-utils.go

    		}
    		conn.Close()
    		break
    	}
    
    	return host
    }
    
    // IsCompressed returns true if the object is marked as compressed.
    func (o *ObjectInfo) IsCompressed() bool {
    	_, ok := o.UserDefined[ReservedMetadataPrefix+"compression"]
    	return ok
    }
    
    // IsCompressedOK returns whether the object is compressed and can be decompressed.
    func (o *ObjectInfo) IsCompressedOK() (bool, error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  7. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

        server.enqueue(
          MockResponse.Builder()
            .setHeader("Content-Type", PLAIN)
            .body(Buffer().writeUtf8("Uncompressed"))
            .build(),
        )
        val response =
          client.newCall(
            request()
              .addHeader("Content-Encoding", "gzip")
              .post("Uncompressed".toRequestBody().gzip())
              .build(),
          ).execute()
        val responseBody = response.body
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 37.6K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/WebSocket.kt

      fun request(): Request
    
      /**
       * Returns the size in bytes of all messages enqueued to be transmitted to the server. This
       * doesn't include framing overhead. If compression is enabled, uncompressed messages size
       * is used to calculate this value. It also doesn't include any bytes buffered by the operating
       * system or network intermediaries. This method returns 0 if no messages are waiting in the
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/ws/WebSocketReaderTest.kt

        callback.assertTextMessage("Hello")
      }
    
      @Test fun serverWithCompressionCompressedHelloTwoChunks() {
        data.write("418460b420bb92fced72".decodeHex()) // first 4 bytes of compressed 'Hello'
        data.write("80833851d9d4f156d9".decodeHex()) // last 3 bytes of compressed 'Hello'
        serverReaderWithCompression.processNextFrame()
        callback.assertTextMessage("Hello")
      }
    
      @Test fun clientTwoFrameHello() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  10. src/archive/zip/writer.go

    			// the file needs a zip64 header. store maxint in both
    			// 32 bit size fields (and offset later) to signal that the
    			// zip64 extra header should be used.
    			b.uint32(uint32max) // compressed size
    			b.uint32(uint32max) // uncompressed size
    
    			// append a zip64 extra block to Extra
    			var buf [28]byte // 2x uint16 + 3x uint64
    			eb := writeBuf(buf[:])
    			eb.uint16(zip64ExtraID)
    			eb.uint16(24) // size = 3x uint64
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top