Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for Compress (0.06 sec)

  1. src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java

            byte[] compressed = compressionService.compress(smallData, CompressionService.COMPRESSION_LZ77);
            // Should return uncompressed data for small inputs
            assertArrayEquals(smallData, compressed);
        }
    
        @Test
        @DisplayName("Test large data compression")
        public void testLargeDataCompression() throws CIFSException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  2. cmd/metacache-entries_test.go

    n.expect-noinput", "src/compress/flate/testdata/null-long-match.wb.expect-noinput", "src/compress/flate/token.go", "src/compress/flate/writer_test.go", "src/compress/gzip/", "src/compress/gzip/example_test.go", "src/compress/gzip/gunzip.go", "src/compress/gzip/gunzip_test.go", "src/compress/gzip/gzip.go", "src/compress/gzip/gzip_test.go", "src/compress/gzip/issue14937_test.go", "src/compress/gzip/testdata/", "src/compress/gzip/testdata/issue6550.gz.base64", "src/compress/lzw/", "src/compress/lzw/reader.go",...
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  3. cmd/storage-datatypes_test.go

    	for b.Loop() {
    		err := enc.Encode(&v)
    		if err != nil {
    			b.Fatal(err)
    		}
    	}
    }
    
    func BenchmarkDecodeFileInfoMsgp(b *testing.B) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  4. docs/compression/README.md

    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.
    
    This algorithm is specifically optimized for machine generated content.
    Write throughput is typically at least 500MB/s per CPU core,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  5. cmd/config-migrate.go

    	switch cfg.Version {
    	case "29":
    		// V29 -> V30
    		cfg.Compression.Enabled = false
    		cfg.Compression.Extensions = strings.Split(compress.DefaultExtensions, config.ValueSeparator)
    		cfg.Compression.MimeTypes = strings.Split(compress.DefaultMimeTypes, config.ValueSeparator)
    	case "30":
    		// V30 -> V31
    		cfg.OpenID = openid.Config{}
    		cfg.Policy.OPA = opa.Args{
    			URL:       &xnet.URL{},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. 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.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. cmd/object-api-utils_test.go

    	"fmt"
    	"io"
    	"math/rand"
    	"net/http"
    	"net/http/httptest"
    	"path"
    	"reflect"
    	"runtime"
    	"strconv"
    	"testing"
    
    	"github.com/klauspost/compress/s2"
    	"github.com/minio/minio/internal/auth"
    	"github.com/minio/minio/internal/config/compress"
    	"github.com/minio/minio/internal/crypto"
    	"github.com/minio/pkg/v3/trie"
    )
    
    func pathJoinOld(elem ...string) string {
    	trailingSlash := ""
    	if len(elem) > 0 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  8. cmd/batch-job-common-types.go

    	line, col   int
    	Disable     *bool   `yaml:"disable" json:"disable"`
    	Batch       *int    `yaml:"batch" json:"batch"`
    	InMemory    *bool   `yaml:"inmemory" json:"inmemory"`
    	Compress    *bool   `yaml:"compress" json:"compress"`
    	SmallerThan *string `yaml:"smallerThan" json:"smallerThan"`
    	SkipErrs    *bool   `yaml:"skipErrs" json:"skipErrs"`
    }
    
    var _ yaml.Unmarshaler = &BatchJobSnowball{}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/compression/DefaultCompressionService.java

        @Override
        public byte[] compress(byte[] data, int algorithm) throws CIFSException {
            if (data == null) {
                throw new CIFSException("Data cannot be null");
            }
            return compress(data, 0, data.length, algorithm);
        }
    
        @Override
        public byte[] compress(byte[] data, int offset, int length, int algorithm) throws CIFSException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  10. cmd/config-current.go

    	"github.com/minio/minio/internal/config"
    	"github.com/minio/minio/internal/config/api"
    	"github.com/minio/minio/internal/config/batch"
    	"github.com/minio/minio/internal/config/callhome"
    	"github.com/minio/minio/internal/config/compress"
    	"github.com/minio/minio/internal/config/dns"
    	"github.com/minio/minio/internal/config/drive"
    	"github.com/minio/minio/internal/config/etcd"
    	"github.com/minio/minio/internal/config/heal"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 28.5K bytes
    - Viewed (0)
Back to top