Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for Uncompressed (0.06 sec)

  1. src/main/java/jcifs/smb/compression/DefaultCompressionService.java

                throws CIFSException {
            byte[] decompressed = decompress(compressedData, offset, length, algorithm);
            if (outputBuffer.length - outputOffset < decompressed.length) {
                throw new CIFSException("Output buffer too small");
            }
            System.arraycopy(decompressed, 0, outputBuffer, outputOffset, decompressed.length);
            return decompressed.length;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  2. 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()
                .post("Uncompressed".toRequestBody())
                .gzip()
                .build(),
            ).execute()
        val responseBody = response.body
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 14:27:04 UTC 2025
    - 37.5K bytes
    - Viewed (0)
  3. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 25 15:08:54 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/net/InetAddresses.java

       * addresses, the output follows <a href="http://tools.ietf.org/html/rfc5952">RFC 5952</a> section
       * 4. The main difference is that this method uses "::" for zero compression, while Java's version
       * uses the uncompressed form (except on Android, where the zero compression is also done). The
       * other difference is that this method outputs any scope ID in the format that it was provided at
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/net/InetAddresses.java

       * addresses, the output follows <a href="http://tools.ietf.org/html/rfc5952">RFC 5952</a> section
       * 4. The main difference is that this method uses "::" for zero compression, while Java's version
       * uses the uncompressed form (except on Android, where the zero compression is also done). The
       * other difference is that this method outputs any scope ID in the format that it was provided at
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  7. 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
            // So we just verify that compression/decompression works correctly
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/SearchHelper.java

        }
    
        /**
         * Decompresses GZIP-compressed data.
         *
         * @param compressed The GZIP-compressed data to decompress
         * @return Decompressed data
         * @throws IORuntimeException if decompression fails
         */
        protected byte[] gzipDecompress(final byte[] compressed) {
            try (final ByteArrayInputStream bis = new ByteArrayInputStream(compressed);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 35.8K bytes
    - Viewed (0)
  9. cmd/storage-datatypes.go

    	if fi.Deleted {
    		return "delete-marker"
    	}
    	if fi.XLV1 && fi.DataDir == "" {
    		return "legacy"
    	}
    	return fi.DataDir
    }
    
    // IsCompressed returns true if the object is marked as compressed.
    func (fi FileInfo) IsCompressed() bool {
    	_, ok := fi.Metadata[ReservedMetadataPrefix+"compression"]
    	return ok
    }
    
    // InlineData returns true if object contents are inlined alongside its metadata.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 25 05:41:04 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  10. cmd/erasure-metadata.go

    			}
    
    			// If metadata says encrypted, ask for it in quorum.
    			if etyp, ok := crypto.IsEncrypted(meta.Metadata); ok {
    				fmt.Fprint(h, etyp)
    			}
    
    			// If compressed, look for compressed FileInfo only
    			if meta.IsCompressed() {
    				fmt.Fprint(h, meta.Metadata[ReservedMetadataPrefix+"compression"])
    			}
    
    			metaHashes[i] = hex.EncodeToString(h.Sum(nil))
    			h.Reset()
    		}
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 21.3K bytes
    - Viewed (0)
Back to top