Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for compress (0.15 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. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.8K bytes
    - Viewed (0)
  3. .github/workflows/mint/minio-compress-encrypt.yaml

    Harshavardhana <******@****.***> 1699046298 -0700
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Nov 03 21:18:18 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  4. cmd/batch-job-common-types_gen.go

    					return
    				}
    			}
    		case "Compress":
    			if dc.IsNil() {
    				err = dc.ReadNil()
    				if err != nil {
    					err = msgp.WrapError(err, "Compress")
    					return
    				}
    				z.Compress = nil
    			} else {
    				if z.Compress == nil {
    					z.Compress = new(bool)
    				}
    				*z.Compress, err = dc.ReadBool()
    				if err != nil {
    					err = msgp.WrapError(err, "Compress")
    					return
    				}
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 02 10:51:33 GMT 2023
    - 21.9K bytes
    - Viewed (0)
  5. .github/workflows/mint.yml

          - name: multipart uploads test
            run: |
              ${GITHUB_WORKSPACE}/.github/workflows/multipart/migrate.sh "${{ steps.vars.outputs.sha_short }}"
    
          - name: compress and encrypt
            run: |
              ${GITHUB_WORKSPACE}/.github/workflows/run-mint.sh "compress-encrypt" "minio" "minio123" "${{ steps.vars.outputs.sha_short }}"
    
          - name: multiple pools
            run: |
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 23:44:49 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  6. docs/debugging/inspect/go.sum

    github.com/fatih/color v1.16.0 h1:zmkK9Ngbjj+K0yRhTVONQh1p/HknKYSlNT+vZCzyokM=
    github.com/fatih/color v1.16.0/go.mod h1:fL2Sau1YI5c0pdGEVCbKQbLXB6edEj1ZgiY4NijnWvE=
    github.com/klauspost/compress v1.17.4 h1:Ej5ixsIri7BrIjBkRZLTo6ghwrEtHFk7ijlczPW4fZ4=
    github.com/klauspost/compress v1.17.4/go.mod h1:/dCuZOvVtNoHsyb+cuJD3itjs3NbnF6KH9zAO4BDxPM=
    github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA=
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Dec 19 02:35:20 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  7. cmd/storage-datatypes_test.go

    	for i := 0; i < b.N; i++ {
    		err := enc.Encode(&v)
    		if err != nil {
    			b.Fatal(err)
    		}
    	}
    }
    
    func BenchmarkDecodeFileInfoMsgp(b *testing.B) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 9.4K bytes
    - Viewed (0)
  8. cmd/kms-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/minio/internal/logger"
    	"github.com/minio/mux"
    )
    
    const (
    	kmsPathPrefix       = minioReservedBucketPath + "/kms"
    	kmsAPIVersion       = "v1"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Aug 19 14:37:53 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  9. cmd/untar.go

    	"bufio"
    	"bytes"
    	"context"
    	"errors"
    	"fmt"
    	"io"
    	"io/fs"
    	"os"
    	"path"
    	"runtime"
    	"sync"
    	"time"
    
    	"github.com/cosnicolaou/pbzip2"
    	"github.com/klauspost/compress/s2"
    	"github.com/klauspost/compress/zstd"
    	gzip "github.com/klauspost/pgzip"
    	"github.com/pierrec/lz4"
    )
    
    // Max bzip2 concurrency across calls. 50% of GOMAXPROCS.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6K bytes
    - Viewed (0)
  10. cmd/globals.go

    	// Some standard content-types which we strictly dis-allow for compression.
    	standardExcludeCompressContentTypes = []string{"video/*", "audio/*", "application/zip", "application/x-gzip", "application/x-zip-compressed", " application/x-compress", "application/x-spoon"}
    
    	// AuthZ Plugin system.
    	globalAuthZPlugin *polplugin.AuthZPlugin
    
    	// Deployment ID - unique per deployment
    	globalDeploymentIDPtr atomic.Pointer[string]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
Back to top