Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for small (0.16 sec)

  1. internal/kms/key-manager.go

    	// ImportKey imports a cryptographic key into the KMS.
    	ImportKey(ctx context.Context, keyID string, bytes []byte) error
    
    	// EncryptKey Encrypts and authenticates a (small) plaintext with the cryptographic key
    	// The plaintext must not exceed 1 MB
    	EncryptKey(keyID string, plaintext []byte, context Context) ([]byte, error)
    
    	// HMAC computes the HMAC of the given msg and key with the given
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  2. cmd/untar.go

    			name = trimLeadingSlash(path.Clean(name))
    		default:
    			// ignore symlink'ed
    			continue
    		}
    		if o.prefixAll != "" {
    			name = pathJoin(o.prefixAll, name)
    		}
    
    		// Do small files async
    		n++
    		if header.Size <= smallFileThreshold {
    			asyncWriters <- struct{}{}
    			b := poolBuf128k.Get().([]byte)
    			if cap(b) < int(header.Size) {
    				b = make([]byte, smallFileThreshold)
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6K bytes
    - Viewed (0)
  3. cmd/update-notifier.go

    	// not able to calculate terminal width via OS syscalls
    	termWidth := 25
    	if width, err := pb.GetTerminalWidth(); err == nil {
    		termWidth = width
    	}
    
    	// Box cannot be printed if terminal width is small than maxContentWidth
    	if maxContentWidth > termWidth {
    		return "\n" + line1InColor + "\n" + line2InColor + "\n\n"
    	}
    
    	topLeftChar := "┏"
    	topRightChar := "┓"
    	bottomLeftChar := "┗"
    	bottomRightChar := "┛"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  4. cmd/sts-handlers_test.go

    		if err != nil {
    			c.Fatalf("normalize err: %v", err)
    		}
    		return normalizedDN
    	}
    
    	actualUserDN := mustNormalizeDN("uid=svc.algorithm,OU=swengg,DC=min,DC=io")
    
    	// \uFE52 is the unicode dot SMALL FULL STOP used below:
    	userDNWithUnicodeDot := "uid=svc﹒algorithm,OU=swengg,DC=min,DC=io"
    
    	if err = s.adm.SetPolicy(ctx, policy, userDNWithUnicodeDot, false); err != nil {
    		c.Fatalf("Unable to set policy: %v", err)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  5. cmd/erasure-object.go

    			return objInfo, err
    		}
    		replcfg, err = getReplicationConfig(ctx, bucket)
    		if err != nil {
    			return objInfo, err
    		}
    	}
    
    	// expiration attempted on a bucket with no lifecycle
    	// rules shall be rejected.
    	if lc == nil && opts.Expiration.Expire {
    		if opts.VersionID != "" {
    			return objInfo, VersionNotFound{
    				Bucket:    bucket,
    				Object:    object,
    				VersionID: opts.VersionID,
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  6. cmd/iam.go

    				iamLogIf(ctx, nerr.Err)
    			}
    		}
    	}
    
    	return nil
    }
    
    // CreateUser - create new user credentials and policy, if user already exists
    // they shall be rewritten with new inputs.
    func (sys *IAMSys) CreateUser(ctx context.Context, accessKey string, ureq madmin.AddOrUpdateUserReq) (updatedAt time.Time, err error) {
    	if !sys.Initialized() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  7. cmd/metacache-entries.go

    			Volume: bucket,
    			Name:   e.name,
    			Versions: []FileInfo{
    				{
    					Volume: bucket,
    					Name:   e.name,
    					Mode:   uint32(os.ModeDir),
    				},
    			},
    		}, nil
    	}
    	// Too small gains to reuse cache here.
    	return getFileInfoVersions(e.metadata, bucket, e.name, false)
    }
    
    // metaCacheEntries is a slice of metacache entries.
    type metaCacheEntries []metaCacheEntry
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  8. cmd/post-policy_test.go

    			accessKey:           credentials.AccessKey,
    			secretKey:           credentials.SecretKey,
    			malformedBody:       false,
    			ignoreContentLength: true,
    		},
    		// Failed with entity too small.
    		{
    			objectName:          "test",
    			data:                bytes.Repeat([]byte("a"), 1023),
    			expectedRespStatus:  http.StatusBadRequest,
    			accessKey:           credentials.AccessKey,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  9. cmd/object-api-multipart_test.go

    	}{
    		// inputParts - 0.
    		// Case for replicating ETag mismatch.
    		{
    			[]CompletePart{
    				{ETag: "abcd", PartNumber: 1},
    			},
    		},
    		// inputParts - 1.
    		// should error out with part too small.
    		{
    			[]CompletePart{
    				{ETag: "e2fc714c4727ee9395f324cd2e7f331f", PartNumber: 1},
    				{ETag: "1f7690ebdd9b4caf8fab49ca1757bf27", PartNumber: 2},
    			},
    		},
    		// inputParts - 2.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  10. cmd/xl-storage.go

    	"github.com/minio/minio/internal/disk"
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/minio/internal/logger"
    	"github.com/pkg/xattr"
    )
    
    const (
    	nullVersionID = "null"
    
    	// Small file threshold below which data accompanies metadata from storage layer.
    	smallFileThreshold = 128 * humanize.KiByte // Optimized for NVMe/SSDs
    
    	// For hardrives it is possible to set this to a lower value to avoid any
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
Back to top