Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 87 for uncompressed (0.08 sec)

  1. okhttp/src/main/kotlin/okhttp3/RequestBody.kt

          contentType: MediaType?,
          file: File,
        ): RequestBody = file.asRequestBody(contentType)
    
        /**
         * Returns a gzip version of the RequestBody, with compressed payload.
         * This is not automatic as not all servers support gzip compressed requests.
         *
         * ```
         * val request = Request.Builder().url("...")
         *  .addHeader("Content-Encoding", "gzip")
         *  .post(uncompressedBody.gzip())
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jan 25 14:41:37 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. cmd/object_api_suite_test.go

    	t.Run("default+versioned", func(t *testing.T) {
    		fn(t, nil, MakeBucketOptions{VersioningEnabled: true})
    	})
    
    	t.Run("compressed", func(t *testing.T) {
    		fn(t, func() {
    			resetCompressEncryption()
    			enableCompression(t, false, []string{"*"}, []string{"*"})
    		}, MakeBucketOptions{})
    	})
    	t.Run("compressed+versioned", func(t *testing.T) {
    		fn(t, func() {
    			resetCompressEncryption()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 02 15:13:05 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  3. cmd/object-api-utils_test.go

    				},
    			},
    			result: false,
    		},
    	}
    	for i, test := range testCases {
    		t.Run(strconv.Itoa(i), func(t *testing.T) {
    			got := test.objInfo.IsCompressed()
    			if got != test.result {
    				t.Errorf("IsCompressed: Expected %v but received %v",
    					test.result, got)
    			}
    			got, gErr := test.objInfo.IsCompressedOK()
    			if got != test.result {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  4. internal/http/headers.go

    	// predicted date/time of transition
    	MinIOTransition            = "X-Minio-Transition"
    	MinIOLifecycleCfgUpdatedAt = "X-Minio-LifecycleConfig-UpdatedAt"
    	// MinIOCompressed is returned when object is compressed
    	MinIOCompressed = "X-Minio-Compressed"
    
    	// SUBNET related
    	SubnetAPIKey = "x-subnet-api-key"
    )
    
    // Common http query params S3 API
    const (
    	VersionID = "versionId"
    
    	PartNumber = "partNumber"
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:31:56 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/SingletonImmutableSet.java

    @ElementTypesAreNonnullByDefault
    final class SingletonImmutableSet<E> extends ImmutableSet<E> {
      // We deliberately avoid caching the asList and hashCode here, to ensure that with
      // compressed oops, a SingletonImmutableSet packs all the way down to the optimal 16 bytes.
    
      final transient E element;
    
      SingletonImmutableSet(E element) {
        this.element = Preconditions.checkNotNull(element);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt

        return result
      }
    
      @Throws(EOFException::class)
      private fun skipName(source: Buffer) {
        // 0 - 63 bytes
        var length = source.readByte().toInt()
    
        if (length < 0) {
          // compressed name pointer, first two bits are 1
          // drop second byte of compression offset
          source.skip(1)
        } else {
          while (length > 0) {
            // skip each part of the domain name
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. src/main/resources/crawler/rule.xml

    			<arg>
      "(application/xml"
    + "|application/xhtml+xml"
    + "|application/rdf+xml"
    + "|application/pdf"
    + "|application/x-freemind"
    + "|application/lha"
    + "|application/x-lha"
    + "|application/x-lha-compressed"
    + "|text/xml"
    + "|text/xml-external-parsed-entity"
    + "|text/html)"
    			</arg>
    		</postConstruct>
    	</component>
    
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jun 04 08:42:49 UTC 2020
    - 4.6K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt

              assertThat(associatedStreamId).isEqualTo(-1)
              assertThat(headerBlock).isEqualTo(sentHeaders)
            }
          },
        )
      }
    
      /** Headers are compressed, then framed.  */
      @Test fun headersFrameThenContinuation() {
        val sentHeaders = largeHeaders()
        val headerBlock = literalHeaders(sentHeaders)
    
        // Write the first headers frame.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  9. cmd/data-usage-cache.go

    		return io.ErrUnexpectedEOF
    	}
    	ver := int(b[0])
    	switch ver {
    	case dataUsageCacheVerV1:
    		return errors.New("cache version deprecated (will autoupdate)")
    	case dataUsageCacheVerV2:
    		// Zstd compressed.
    		dec, err := zstd.NewReader(r, zstd.WithDecoderConcurrency(2))
    		if err != nil {
    			return err
    		}
    		defer dec.Close()
    
    		dold := &dataUsageCacheV2{}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  10. internal/s3select/errors.go

    		cause:      err,
    	}
    }
    
    func errTruncatedInput(err error) *s3Error {
    	return &s3Error{
    		code:       "TruncatedInput",
    		message:    "Object decompression failed. Check that the object is properly compressed using the format specified in the request.",
    		statusCode: 400,
    		cause:      err,
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Mar 14 16:48:36 UTC 2022
    - 4.3K bytes
    - Viewed (0)
Back to top