Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 411 for gzip (0.06 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

        )
      }
    
      private fun assertNonIdentityEncodingCached(response: MockResponse) {
        server.enqueue(
          response
            .newBuilder()
            .body(gzip("ABCABCABC"))
            .addHeader("Content-Encoding: gzip")
            .build(),
        )
        server.enqueue(
          MockResponse
            .Builder()
            .code(HttpURLConnection.HTTP_NOT_MODIFIED)
            .build(),
        )
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 09:13:37 GMT 2026
    - 121K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/SearchHelperTest.java

            byte[] originalBytes = testData.getBytes();
    
            byte[] compressed = searchHelper.gzipCompress(originalBytes);
            byte[] decompressed = searchHelper.gzipDecompress(compressed);
    
            assertEquals(testData, new String(decompressed));
            // For small strings, gzip overhead might make compressed data larger
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 19.2K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        }
        assertThat(server.requestCount).isEqualTo(0)
      }
    
      @Test
      fun gzip() {
        val gzippedBody = gzip("abcabcabc")
        val bodySize = java.lang.Long.toString(gzippedBody.size)
        server.enqueue(
          MockResponse
            .Builder()
            .body(gzippedBody)
            .addHeader("Content-Encoding: gzip")
            .build(),
        )
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 146.5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/util/MimeMapTest.java

            @DisplayName("Should return correct mime type for multiple extensions")
            @CsvSource({ "txt, text/plain", "css, text/css", "js, application/x-javascript", "zip, application/zip", "tar, application/x-tar",
                    "gz, application/x-gzip", "tiff, image/tiff", "tif, image/tiff" })
            void testVariousExtensions(String extension, String expectedMimeType) throws IOException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  5. api/go1.8.txt

    pkg compress/gzip, const HuffmanOnly = -2
    pkg compress/gzip, const HuffmanOnly ideal-int
    pkg compress/zlib, const HuffmanOnly = -2
    pkg compress/zlib, const HuffmanOnly ideal-int
    pkg crypto/tls, const ECDSAWithP256AndSHA256 = 1027
    pkg crypto/tls, const ECDSAWithP256AndSHA256 SignatureScheme
    pkg crypto/tls, const ECDSAWithP384AndSHA384 = 1283
    pkg crypto/tls, const ECDSAWithP384AndSHA384 SignatureScheme
    pkg crypto/tls, const ECDSAWithP521AndSHA512 = 1539
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Dec 21 05:25:57 GMT 2016
    - 16.3K bytes
    - Click Count (0)
  6. cmd/warm-backend-gcs.go

    	// GCS storage decompresses a gzipped object by default and returns the data.
    	// Refer to https://cloud.google.com/storage/docs/transcoding#decompressive_transcoding
    	// Need to set `Accept-Encoding` header to `gzip` when issuing a GetObject call, to be able
    	// to download the object in compressed state.
    	// Calling ReadCompressed with true accomplishes that.
    	object := gcs.client.Bucket(gcs.Bucket).Object(gcs.getDest(key)).ReadCompressed(true)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  7. internal/event/target/kafka.go

    	EnvKafkaProducerCompressionLevel = "MINIO_NOTIFY_KAFKA_PRODUCER_COMPRESSION_LEVEL"
    )
    
    var codecs = map[string]sarama.CompressionCodec{
    	"none":   sarama.CompressionNone,
    	"gzip":   sarama.CompressionGZIP,
    	"snappy": sarama.CompressionSnappy,
    	"lz4":    sarama.CompressionLZ4,
    	"zstd":   sarama.CompressionZSTD,
    }
    
    // KafkaArgs - Kafka target arguments.
    type KafkaArgs struct {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Sep 06 23:06:30 GMT 2024
    - 13.6K bytes
    - Click Count (0)
  8. android-test/src/androidDeviceTest/java/okhttp/android/test/OkHttpTest.kt

    import okhttp3.CompressionInterceptor
    import okhttp3.Connection
    import okhttp3.DelegatingSSLSocket
    import okhttp3.DelegatingSSLSocketFactory
    import okhttp3.EventListener
    import okhttp3.EventRecorder
    import okhttp3.Gzip
    import okhttp3.Headers
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.OkHttpClient
    import okhttp3.OkHttpClientTestRule
    import okhttp3.Protocol
    import okhttp3.Request
    import okhttp3.TlsVersion
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 29.9K bytes
    - Click Count (0)
  9. cmd/globals.go

    	standardExcludeCompressExtensions = []string{".gz", ".bz2", ".rar", ".zip", ".7z", ".xz", ".mp4", ".mkv", ".mov", ".jpg", ".png", ".gif"}
    
    	// Some standard content-types which we strictly dis-allow for compression.
    	standardExcludeCompressContentTypes = []string{"video/*", "audio/*", "application/zip", "application/x-gzip", "application/x-zip-compressed", " application/x-compress", "application/x-spoon"}
    
    	// AuthZ Plugin system.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Sep 03 18:23:41 GMT 2024
    - 16.2K bytes
    - Click Count (1)
  10. README.md

    OkHttp is an HTTP client that’s efficient by default:
    
     * HTTP/2 support allows all requests to the same host to share a socket.
     * Connection pooling reduces request latency (if HTTP/2 isn’t available).
     * Transparent GZIP shrinks download sizes.
     * Response caching avoids the network completely for repeat requests.
    
    OkHttp perseveres when the network is troublesome: it will silently recover from common connection
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 9.5K bytes
    - Click Count (0)
Back to Top