- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 199 for compressor (0.23 seconds)
-
src/archive/zip/writer.go
} // RegisterCompressor registers or overrides a custom compressor for a specific // method ID. If a compressor for a given method is not found, [Writer] will // default to looking up the compressor at the package level. func (w *Writer) RegisterCompressor(method uint16, comp Compressor) { if w.compressors == nil { w.compressors = make(map[uint16]Compressor) } w.compressors[method] = comp }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Jan 28 04:20:09 GMT 2025 - 19.4K bytes - Click Count (0) -
internal/s3select/select.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package s3select import ( "bufio" "bytes" "compress/bzip2" "encoding/xml" "errors" "fmt" "io" "net/http" "strings" "sync" "github.com/klauspost/compress/s2" "github.com/klauspost/compress/zstd" gzip "github.com/klauspost/pgzip" "github.com/minio/minio/internal/bpool" "github.com/minio/minio/internal/config"
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 21.2K bytes - Click Count (0) -
cmd/object-api-utils.go
// 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) { scheme, ok := o.UserDefined[ReservedMetadataPrefix+"compression"] if !ok { return false, nil }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Jun 25 15:08:54 GMT 2025 - 37.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/compression/CompressionService.java
/** * Compresses data using the specified algorithm. * * @param data the data to compress * @param algorithm the compression algorithm to use * @return the compressed data * @throws CIFSException if compression fails */ byte[] compress(byte[] data, int algorithm) throws CIFSException; /** * Compresses data using the specified algorithm with offset and length.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 5.2K bytes - Click Count (0) -
docs/compression/README.md
# Compression Guide [](https://slack.min.io) MinIO server allows streaming compression to ensure efficient disk space usage. Compression happens inflight, i.e objects are compressed before being written to disk(s). MinIO uses [`klauspost/compress/s2`](https://github.com/klauspost/compress/tree/master/s2) streaming compression due to its stability and performance.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 5.2K bytes - Click Count (0) -
internal/config/compress/compress.go
} // LookupConfig - lookup compression config. func LookupConfig(kvs config.KVS) (Config, error) { var err error cfg := Config{} if err = config.CheckValidKeys(config.CompressionSubSys, kvs, DefaultKVS); err != nil { return cfg, err } compress := env.Get(EnvCompressState, "") if compress == "" { compress = env.Get(EnvCompressEnableLegacy, "") if compress == "" {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sat Sep 06 17:37:10 GMT 2025 - 5K bytes - Click Count (0) -
src/main/java/jcifs/smb/compression/DefaultCompressionService.java
import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jcifs.CIFSException; /** * Default implementation of SMB3 compression service. * * Provides compression using Java's built-in deflate algorithm as a base * for LZ77-based compression. For production use, more specialized * implementations of LZNT1 and Pattern_V1 algorithms would be needed. */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/IpAddressUtil.java
return "[" + address + "]"; } return address; } /** * Compresses an IPv6 address string to its canonical compressed form. * For example, "0:0:0:0:0:0:0:1" becomes "::1" * * @param ipv6Address the IPv6 address string to compress * @return the compressed IPv6 address string */ protected static String compressIPv6(final String ipv6Address) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 06 08:31:03 GMT 2025 - 9.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java
} @Test @DisplayName("Test LZ77 compression and decompression") public void testLZ77Compression() throws CIFSException { byte[] compressed = compressionService.compress(testData, CompressionService.COMPRESSION_LZ77); assertNotNull(compressed); assertTrue(compressed.length > 0); // Compressed size should typically be smaller (though not guaranteed for all data)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 9.1K bytes - Click Count (0) -
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);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 05:56:45 GMT 2025 - 36.3K bytes - Click Count (0)