Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 202 for 10 (0.18 sec)

  1. cmd/encryption-v1_test.go

    			}
    			if skip != 0 || sn != 0 || ps != 0 || o != 0 || l != getEncSize(test.decSz) {
    				t.Errorf("Case %d: test failed: %d %d %d %d %d", i, o, l, skip, sn, ps)
    			}
    		}
    
    		if test.decSz >= 10 {
    			// first 10 bytes
    			o, l, skip, sn, ps, err := test.oi.GetDecryptedRange(&HTTPRangeSpec{false, 0, 9})
    			if err != nil {
    				t.Errorf("Case %d: unexpected err: %v", i, err)
    			}
    			rLen := pkgSz + 32
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Sep 24 04:17:08 GMT 2022
    - 19.9K bytes
    - Viewed (0)
  2. cmd/update.go

    	"github.com/minio/selfupdate"
    	gopsutilcpu "github.com/shirou/gopsutil/v3/cpu"
    	"github.com/valyala/bytebufferpool"
    )
    
    const (
    	envMinisignPubKey = "MINIO_UPDATE_MINISIGN_PUBKEY"
    	updateTimeout     = 10 * time.Second
    )
    
    // For windows our files have .exe additionally.
    var minioReleaseWindowsInfoURL = MinioReleaseURL + "minio.exe.sha256sum"
    
    // minioVersionToReleaseTime - parses a standard official release
    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)
  3. internal/s3select/sql/value.go

    	switch x := v.value.(type) {
    	case nil, Missing:
    		return ""
    	case bool:
    		if x {
    			return "true"
    		}
    		return "false"
    	case string:
    		return x
    	case int64:
    		return strconv.FormatInt(x, 10)
    	case float64:
    		return strconv.FormatFloat(x, 'g', -1, 64)
    	case time.Time:
    		return FormatSQLTimestamp(x)
    	case []byte:
    		return string(x)
    	case []Value:
    		b, _ := json.Marshal(x)
    		return string(b)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
  4. cmd/erasure-object_test.go

    		expectedError       error
    	}{
    		{parts1, errs1, 12, 12, parts1SC, nil},
    		{parts2, errs2, 14, 14, parts2SC, nil},
    		{parts3, errs3, 12, 12, parts3SC, nil},
    		{parts4, errs4, 10, 10, parts4SC, nil},
    		{parts5, errs5, 14, 14, parts5SC, nil},
    		{parts6, errs6, 12, 12, parts6SC, nil},
    		{parts7, errs7, 11, 11, parts7SC, nil},
    	}
    	for _, tt := range tests {
    		tt := tt
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 36.8K bytes
    - Viewed (0)
  5. cmd/xl-storage-disk-id-check.go

    			var errStr string
    			if err != nil {
    				errStr = err.Error()
    			}
    			custom["total-errs-timeout"] = strconv.FormatUint(p.totalErrsTimeout.Load(), 10)
    			custom["total-errs-availability"] = strconv.FormatUint(p.totalErrsAvailability.Load(), 10)
    			globalTrace.Publish(storageTrace(s, startTime, duration, strings.Join(paths, " "), errStr, custom))
    		}
    	}
    }
    
    const (
    	diskHealthOK int32 = iota
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  6. helm-releases/minio-3.6.6.tgz

    custom commands {{- range .Values.customCommands }} runCommand {{ .command }} {{- end }} {{- end }} minio/templates/_helper_policy.tpl {{- $statements_length := len .statements -}} {{- $statements_length := sub $statements_length 1 -}} { "Version": "2012-10-17", "Statement": [ {{- range $i, $statement := .statements }} { "Effect": "Allow", "Action": [ "{{ $statement.actions | join "\",\n\"" }}" ]{{ if $statement.resources }}, "Resource": [ "{{ $statement.resources | join "\",\n\"" }}" ]{{ end }} }{{ if...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 17 21:46:44 GMT 2022
    - 18.2K bytes
    - Viewed (0)
  7. helm-releases/minio-4.0.0.tgz

    custom commands {{- range .Values.customCommands }} runCommand {{ .command }} {{- end }} {{- end }} minio/templates/_helper_policy.tpl {{- $statements_length := len .statements -}} {{- $statements_length := sub $statements_length 1 -}} { "Version": "2012-10-17", "Statement": [ {{- range $i, $statement := .statements }} { "Effect": "Allow", "Action": [ "{{ $statement.actions | join "\",\n\"" }}" ]{{ if $statement.resources }}, "Resource": [ "{{ $statement.resources | join "\",\n\"" }}" ]{{ end }} }{{ if...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 26 02:41:39 GMT 2022
    - 18K bytes
    - Viewed (0)
  8. helm-releases/minio-3.6.1.tgz

    custom commands {{- range .Values.customCommands }} runCommand {{ .command }} {{- end }} {{- end }} minio/templates/_helper_policy.tpl {{- $statements_length := len .statements -}} {{- $statements_length := sub $statements_length 1 -}} { "Version": "2012-10-17", "Statement": [ {{- range $i, $statement := .statements }} { "Effect": "Allow", "Action": [ "{{ $statement.actions | join "\",\n\"" }}" ]{{ if $statement.resources }}, "Resource": [ "{{ $statement.resources | join "\",\n\"" }}" ]{{ end }} }{{ if...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 15 00:13:17 GMT 2022
    - 17.9K bytes
    - Viewed (0)
  9. internal/config/identity/openid/openid.go

    	defaultExpiryDuration, err := time.ParseDuration(timeout)
    	if err != nil {
    		defaultExpiryDuration = time.Hour
    	}
    	if timeout == "" && dsecs != "" {
    		expirySecs, err := strconv.ParseInt(dsecs, 10, 64)
    		if err != nil {
    			return 0, auth.ErrInvalidDuration
    		}
    
    		// The duration, in seconds, of the role session.
    		// The value can range from 900 seconds (15 minutes)
    		// up to 365 days.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 16.5K bytes
    - Viewed (0)
  10. internal/crypto/metadata_test.go

    			MetaDataEncryptionKey: base64.StdEncoding.EncodeToString(make([]byte, 48)),
    		},
    		DataKey: make([]byte, 48), KeyID: "key-1", SealedKey: SealedKey{Algorithm: SealAlgorithm, Key: [64]byte{1}, IV: [32]byte{1}},
    	}, // 10
    }
    
    func TestS3ParseMetadata(t *testing.T) {
    	for i, test := range s3ParseMetadataTests {
    		keyID, dataKey, sealedKey, err := S3.ParseMetadata(test.Metadata)
    		if err != nil && test.ExpectedErr == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 02 00:13:57 GMT 2024
    - 18.7K bytes
    - Viewed (0)
Back to top