Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for uncompress (0.16 sec)

  1. internal/config/compress/compress.go

    	cfg := Config{}
    	if err = config.CheckValidKeys(config.CompressionSubSys, kvs, DefaultKVS); err != nil {
    		return cfg, err
    	}
    
    	compress := env.Get(EnvCompressState, kvs.Get(config.Enable))
    	if compress == "" {
    		compress = env.Get(EnvCompress, "")
    	}
    	cfg.Enabled, err = config.ParseBool(compress)
    	if err != nil {
    		// Parsing failures happen due to empty KVS, ignore it.
    		if kvs.Empty() {
    			return cfg, nil
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 5K bytes
    - Viewed (0)
  2. operator/cmd/mesh/manifest-generate_test.go

    		if cpErr != nil {
    			return cpErr
    		}
    
    		return nil
    	})
    }
    
    func TestMain(m *testing.M) {
    	code := m.Run()
    	// Cleanup uncompress snapshot charts
    	os.RemoveAll(string(snapshotCharts))
    	os.Exit(code)
    }
    
    func TestManifestGenerateComponentHubTag(t *testing.T) {
    	g := NewWithT(t)
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 43.5K bytes
    - Viewed (0)
  3. cmd/object-api-utils.go

    					skipEnc *= sseDAREEncPackageBlockSize
    					compressedOffset += skipEnc
    					// Skip this number of uncompressed bytes.
    					partSkip -= uCompOff
    				}
    			}
    		} else {
    			// Not encrypted
    			var idx s2.Index
    			_, err := idx.Load(s2.RestoreIndexHeaders(oi.Parts[firstPartIdx].Index))
    
    			// Find compressed/uncompressed offsets of our partskip
    			compOff, uCompOff, err2 := idx.Find(partSkip)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  4. src/archive/zip/struct.go

    	// CompressedSize is the compressed size of the file in bytes.
    	// If either the uncompressed or compressed size of the file
    	// does not fit in 32 bits, CompressedSize is set to ^uint32(0).
    	//
    	// Deprecated: Use CompressedSize64 instead.
    	CompressedSize uint32
    
    	// UncompressedSize is the compressed size of the file in bytes.
    	// If either the uncompressed or compressed size of the file
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  5. src/archive/zip/reader.go

    		// jar tool) don't properly set the storage method on directories
    		// resulting in a file with compressed size > 0 but uncompressed size ==
    		// 0. We still want to fail when a directory has associated uncompressed
    		// data, but we are tolerant of cases where the uncompressed size is
    		// zero but compressed size is not.
    		if f.UncompressedSize64 != 0 {
    			return &dirReader{ErrFormat}, nil
    		} else {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  6. internal/s3select/simdj/reader_amd64_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package simdj
    
    import (
    	"bytes"
    	"io"
    	"os"
    	"path/filepath"
    	"testing"
    
    	"github.com/klauspost/compress/zstd"
    	"github.com/minio/minio/internal/s3select/json"
    	"github.com/minio/minio/internal/s3select/sql"
    	"github.com/minio/simdjson-go"
    )
    
    type tester interface {
    	Fatal(args ...interface{})
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  7. docs/debugging/inspect/export.go

    package main
    
    import (
    	"bytes"
    	"encoding/binary"
    	"encoding/hex"
    	"errors"
    	"fmt"
    	"io"
    	"os"
    	"strings"
    	"time"
    
    	json "github.com/minio/colorjson"
    
    	"github.com/klauspost/compress/zip"
    	"github.com/tinylib/msgp/msgp"
    )
    
    func inspectToExportType(downloadPath string, datajson bool) error {
    	decode := func(r io.Reader, file string) ([]byte, error) {
    		b, e := io.ReadAll(r)
    		if e != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 08 15:58:02 GMT 2022
    - 9.1K bytes
    - Viewed (0)
  8. cmd/admin-router.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"net/http"
    
    	"github.com/klauspost/compress/gzhttp"
    	"github.com/klauspost/compress/gzip"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/mux"
    )
    
    const (
    	adminPathPrefix                = minioReservedBucketPath + "/admin"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  9. cmd/peer-rest-server.go

    	"encoding/hex"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"io"
    	"net/http"
    	"net/url"
    	"strconv"
    	"strings"
    	"sync"
    	"sync/atomic"
    	"time"
    
    	"github.com/dustin/go-humanize"
    	"github.com/klauspost/compress/zstd"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/bucket/bandwidth"
    	b "github.com/minio/minio/internal/bucket/bandwidth"
    	"github.com/minio/minio/internal/event"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  10. internal/s3select/csv/reader_contrib_test.go

     * limitations under the License.
     */
    
    package csv
    
    import (
    	"bytes"
    	"errors"
    	"fmt"
    	"io"
    	"os"
    	"reflect"
    	"strings"
    	"testing"
    
    	"github.com/klauspost/compress/zip"
    	"github.com/minio/minio/internal/s3select/sql"
    )
    
    func TestRead(t *testing.T) {
    	cases := []struct {
    		content         string
    		recordDelimiter string
    		fieldDelimiter  string
    	}{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 38.5K bytes
    - Viewed (0)
Back to top