Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for Hong (0.2 sec)

  1. cmd/namespace-lock_test.go

    	if gotSource != expectedSource {
    		t.Errorf("expected : %s, got : %s", expectedSource, gotSource)
    	}
    }
    
    // Test lock race
    func TestNSLockRace(t *testing.T) {
    	t.Skip("long test skip it")
    
    	ctx := context.Background()
    
    	for i := 0; i < 10000; i++ {
    		nsLk := newNSLock(false)
    
    		// lk1; ref=1
    		if !nsLk.lock(ctx, "volume", "path", "source", "opsID", false, time.Second) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 3.1K bytes
    - Viewed (0)
  2. cmd/xl-storage-errors.go

    // Check if the given error corresponds to ENOTDIR (is not a directory).
    func isSysErrNotDir(err error) bool {
    	return errors.Is(err, syscall.ENOTDIR)
    }
    
    // Check if the given error corresponds to the ENAMETOOLONG (name too long).
    func isSysErrTooLong(err error) bool {
    	return errors.Is(err, syscall.ENAMETOOLONG)
    }
    
    // Check if the given error corresponds to the ELOOP (too many symlinks).
    func isSysErrTooManySymlinks(err error) bool {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 06 16:56:29 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  3. docs/multi-user/README.md

    # MinIO Multi-user Quickstart Guide [![Slack](https://slack.min.io/slack?type=svg)](https://slack.min.io)
    
    MinIO supports multiple long term users in addition to default user created during server startup. New users can be added after server starts up, and server can be configured to deny or allow access to buckets and resources to each of these users. This document explains how to add/remove users and modify their access rights.
    
    ## Get started
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 21 06:38:06 GMT 2023
    - 8K bytes
    - Viewed (0)
  4. cmd/xl-storage_windows_test.go

    	testCases := []struct {
    		objName string
    		pass    bool
    	}{
    		{"/abcdef", true},
    		{"/a/b/c/d/e/f/g", true},
    		{string(bytes.Repeat([]byte("界"), 85)), true},
    		// Each path component must be <= 255 bytes long.
    		{string(bytes.Repeat([]byte("界"), 280)), false},
    		{`/p/q/r/s/t`, true},
    	}
    	dir := t.TempDir()
    
    	// Instantiate posix object to manage a disk
    	fs, err := newLocalXLStorage(dir)
    	if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Nov 29 06:35:16 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  5. internal/config/config_test.go

    		},
    		// Keys and input order of k=v is same.
    		{
    			input: `connection_string="host=localhost port=2832" comment="really long comment"`,
    			keys:  []string{"connection_string", "comment"},
    			expectedFields: map[string]struct{}{
    				`connection_string="host=localhost port=2832"`: {},
    				`comment="really long comment"`:                {},
    			},
    		},
    		// Keys with spaces in between
    		{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Aug 18 22:55:17 GMT 2022
    - 4.2K bytes
    - Viewed (0)
  6. internal/config/compress/legacy.go

    )
    
    // Legacy envs.
    const (
    	EnvCompress                 = "MINIO_COMPRESS"
    	EnvCompressMimeTypesLegacy1 = "MINIO_COMPRESS_MIMETYPES"
    
    	// These envs were wrong but we supported them for a long time
    	// so keep them here to support existing deployments.
    	EnvCompressAllowEncryptionLegacy = "MINIO_COMPRESS_ALLOW_ENCRYPTION"
    	EnvCompressExtensionsLegacy      = "MINIO_COMPRESS_EXTENSIONS"
    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)
  7. internal/arn/arn.go

    	Service      string
    	Region       string
    	ResourceType string
    	ResourceID   string
    }
    
    // Allows english letters, numbers, '.', '-', '_' and '/'. Starts with a
    // letter or digit. At least 1 character long.
    var validResourceIDRegex = regexp.MustCompile(`[A-Za-z0-9_/\.-]+$`)
    
    // NewIAMRoleARN - returns an ARN for a role in MinIO.
    func NewIAMRoleARN(resourceID, serverRegion string) (ARN, error) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 08:31:34 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  8. docs/sts/README.md

    Following are advantages for using temporary credentials:
    
    - Eliminates the need to embed long-term credentials with an application.
    - Eliminates the need to provide access to buckets and objects without having to define static credentials.
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Oct 25 00:44:15 GMT 2022
    - 7.8K bytes
    - Viewed (1)
  9. internal/lock/lock_windows_test.go

    		{`C:\`, `C:\`},
    		{`C:`, `C:`},
    		// The "long" substring is replaced by a looooooong
    		// string which triggers the rewriting. Except in the
    		// cases below where it doesn't.
    		{`C:\long\foo.txt`, `\\?\C:\long\foo.txt`},
    		{`C:/long/foo.txt`, `\\?\C:\long\foo.txt`},
    		{`C:\long\foo\\bar\.\baz\\`, `\\?\C:\long\foo\bar\baz`},
    		{`\\unc\path`, `\\unc\path`},
    		{`long.txt`, `long.txt`},
    		{`C:long.txt`, `C:long.txt`},
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  10. internal/crypto/header.go

    		return key, ErrMissingCustomerKeyMD5
    	}
    
    	clientKey, err := base64.StdEncoding.DecodeString(h.Get(xhttp.AmzServerSideEncryptionCopyCustomerKey))
    	if err != nil || len(clientKey) != 32 { // The client key must be 256 bits long
    		return key, ErrInvalidCustomerKey
    	}
    	keyMD5, err := base64.StdEncoding.DecodeString(h.Get(xhttp.AmzServerSideEncryptionCopyCustomerKeyMD5))
    	if md5Sum := md5.Sum(clientKey); err != nil || !bytes.Equal(md5Sum[:], keyMD5) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 2.9K bytes
    - Viewed (0)
Back to top