Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 74 for compress (0.2 sec)

  1. cmd/signature-v4-utils.go

    // in http://docs.aws.amazon.com/general/latest/gr/sigv4-create-canonical-request.html
    func signV4TrimAll(input string) string {
    	// Compress adjacent spaces (a space is determined by
    	// unicode.IsSpace() internally here) to one space and return
    	return strings.Join(strings.Fields(input), " ")
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 18:56:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  2. cmd/config-versions.go

    	// Notification queue configuration.
    	Notify notify.Config `json:"notify"`
    
    	// Logger configuration
    	Logger logger.Config `json:"logger"`
    
    	// Compression configuration
    	Compression compress.Config `json:"compress"`
    
    	// OpenID configuration
    	OpenID openid.Config `json:"openid"`
    
    	// External policy enforcements.
    	Policy struct {
    		// OPA configuration.
    		OPA opa.Args `json:"opa"`
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Oct 18 18:05:24 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  3. 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{},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Oct 18 18:05:24 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  4. 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{}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 01 21:53:26 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  5. src/archive/zip/register.go

    func RegisterCompressor(method uint16, comp Compressor) {
    	if _, dup := compressors.LoadOrStore(method, comp); dup {
    		panic("compressor already registered")
    	}
    }
    
    func compressor(method uint16) Compressor {
    	ci, ok := compressors.Load(method)
    	if !ok {
    		return nil
    	}
    	return ci.(Compressor)
    }
    
    func decompressor(method uint16) Decompressor {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  6. internal/config/errors.go

    		"",
    	)
    
    	ErrInvalidCompressionIncludesValue = newErrFn(
    		"Invalid compression include value",
    		"Please check the passed value",
    		"Compress extensions/mime-types are delimited by `,`. For eg, MINIO_COMPRESS_MIME_TYPES=\"A,B,C\"",
    	)
    
    	ErrInvalidReplicationWorkersValue = newErrFn(
    		"Invalid value for replication workers",
    		"",
    		"MINIO_API_REPLICATION_WORKERS: should be > 0",
    	)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 18 22:25:32 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  7. internal/s3select/progress.go

    package s3select
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"io"
    	"runtime"
    	"sync"
    	"sync/atomic"
    
    	"github.com/cosnicolaou/pbzip2"
    	"github.com/klauspost/compress/s2"
    	"github.com/klauspost/compress/zstd"
    	gzip "github.com/klauspost/pgzip"
    	"github.com/pierrec/lz4"
    )
    
    type countUpReader struct {
    	reader    io.Reader
    	bytesRead int64
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Oct 18 15:44:36 GMT 2021
    - 4.2K bytes
    - Viewed (0)
  8. internal/etag/reader.go

    // It is mainly used to provide a high-level io.Reader
    // access to the ETag computed by a low-level io.Reader:
    //
    //	content := etag.NewReader(r.Body, nil)
    //
    //	compressedContent := Compress(content)
    //	encryptedContent := Encrypt(compressedContent)
    //
    //	// Now, we need an io.Reader that can access
    //	// the ETag computed over the content.
    //	reader := etag.Wrap(encryptedContent, content)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  9. cmd/object-api-utils_test.go

    	"bytes"
    	"context"
    	"fmt"
    	"io"
    	"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/v2/trie"
    )
    
    func pathJoinOld(elem ...string) string {
    	trailingSlash := ""
    	if len(elem) > 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  10. cmd/update.go

    	"crypto/tls"
    	"encoding/hex"
    	"errors"
    	"fmt"
    	"io"
    	"net/http"
    	"net/url"
    	"os"
    	"path"
    	"path/filepath"
    	"runtime"
    	"strings"
    	"sync/atomic"
    	"time"
    
    	"github.com/klauspost/compress/zstd"
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v2/env"
    	xnet "github.com/minio/pkg/v2/net"
    	"github.com/minio/selfupdate"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
Back to top