Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for uncompress (0.19 sec)

  1. internal/config/compress/compress_test.go

    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package compress
    
    import (
    	"reflect"
    	"testing"
    )
    
    func TestParseCompressIncludes(t *testing.T) {
    	testCases := []struct {
    		str              string
    		expectedPatterns []string
    		success          bool
    	}{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.8K bytes
    - Viewed (0)
  2. internal/config/compress/legacy.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package compress
    
    import (
    	"strings"
    
    	"github.com/minio/minio/internal/config"
    )
    
    // Legacy envs.
    const (
    	EnvCompress                 = "MINIO_COMPRESS"
    	EnvCompressMimeTypesLegacy1 = "MINIO_COMPRESS_MIMETYPES"
    
    	// These envs were wrong but we supported them for a long time
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jul 17 15:43:14 GMT 2022
    - 1.8K bytes
    - Viewed (0)
  3. internal/config/compress/help.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package compress
    
    import "github.com/minio/minio/internal/config"
    
    // Help template for compress feature.
    var (
    	defaultHelpPostfix = func(key string) string {
    		return config.DefaultHelpPostfix(DefaultKVS, key)
    	}
    
    	Help = config.HelpKVS{
    		config.HelpKV{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jul 17 15:43:14 GMT 2022
    - 1.8K bytes
    - Viewed (0)
  4. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 18 22:25:32 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  5. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  6. src/archive/zip/writer.go

    			// 32 bit size fields (and offset later) to signal that the
    			// zip64 extra header should be used.
    			b.uint32(uint32max) // compressed size
    			b.uint32(uint32max) // uncompressed size
    
    			// append a zip64 extra block to Extra
    			var buf [28]byte // 2x uint16 + 3x uint64
    			eb := writeBuf(buf[:])
    			eb.uint16(zip64ExtraID)
    			eb.uint16(24) // size = 3x uint64
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v2_test.go

    package cmd
    
    import (
    	"bufio"
    	"bytes"
    	"compress/gzip"
    	"context"
    	"encoding/base64"
    	"encoding/json"
    	"fmt"
    	"io"
    	"math/rand"
    	"os"
    	"reflect"
    	"sort"
    	"testing"
    	"time"
    
    	"github.com/google/uuid"
    	"github.com/klauspost/compress/zip"
    	"github.com/klauspost/compress/zstd"
    	"github.com/minio/minio/internal/bucket/lifecycle"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 08 17:50:48 GMT 2024
    - 36.4K bytes
    - Viewed (0)
  8. cmd/batch-handlers.go

    	input := make(chan minio.SnowballObject, 1)
    	opts := minio.SnowballOptions{
    		Opts:     minio.PutObjectOptions{},
    		InMemory: *r.Source.Snowball.InMemory,
    		Compress: *r.Source.Snowball.Compress,
    		SkipErrs: *r.Source.Snowball.SkipErrs,
    	}
    
    	go func() {
    		defer xioutil.SafeClose(input)
    
    		for _, entry := range entries {
    			gr, err := objAPI.GetObjectNInfo(ctx, r.Source.Bucket,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 08 14:11:38 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  9. cmd/data-usage-cache.go

    	"errors"
    	"fmt"
    	"io"
    	"math/rand"
    	"net/http"
    	"path"
    	"path/filepath"
    	"sort"
    	"strings"
    	"time"
    
    	"github.com/cespare/xxhash/v2"
    	"github.com/dustin/go-humanize"
    	"github.com/klauspost/compress/zstd"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/bucket/lifecycle"
    	"github.com/tinylib/msgp/msgp"
    	"github.com/valyala/bytebufferpool"
    )
    
    //go:generate msgp -file $GOFILE -unexported
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  10. cmd/notification.go

    package cmd
    
    import (
    	"bytes"
    	"context"
    	"errors"
    	"fmt"
    	"io"
    	"math/rand"
    	"net/http"
    	"net/url"
    	"runtime"
    	"sync"
    	"time"
    
    	"github.com/cespare/xxhash/v2"
    	"github.com/klauspost/compress/zip"
    	"github.com/minio/madmin-go/v3"
    	xioutil "github.com/minio/minio/internal/ioutil"
    	xnet "github.com/minio/pkg/v2/net"
    	"github.com/minio/pkg/v2/sync/errgroup"
    	"github.com/minio/pkg/v2/workers"
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
Back to top