Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for foo (0.17 sec)

  1. cmd/os-reliable_test.go

    	}
    
    	if err = mkdirAll(pathJoin(path, "testvolume1"), 0o777, ""); err != nil {
    		t.Fatal(err)
    	}
    	if err = renameAll("", "foo", ""); err != errInvalidArgument {
    		t.Fatal(err)
    	}
    	if err = renameAll("foo", "", ""); err != errInvalidArgument {
    		t.Fatal(err)
    	}
    	if err = renameAll(pathJoin(path, "testvolume1"), pathJoin(path, "testvolume2"), ""); err != nil {
    		t.Fatal(err)
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Sep 13 15:14:36 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  2. cmd/utils_test.go

    	}{
    		{[]string{"", ""}, ""},
    		{[]string{"a", "b"}, ""},
    		{[]string{"a", "a"}, "a"},
    		{[]string{"a/", "a/"}, "a/"},
    		{[]string{"abcd/", ""}, ""},
    		{[]string{"abcd/foo/", "abcd/bar/"}, "abcd/"},
    		{[]string{"abcd/foo/bar/", "abcd/foo/bar/zoo"}, "abcd/foo/bar/"},
    	}
    
    	for i, test := range testCases {
    		foundPrefix := lcp(test.prefixes, true)
    		if foundPrefix != test.commonPrefix {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Feb 23 21:28:14 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  3. docs/iam/opa.md

    mc mb myminio/test
    mc admin user add myminio foo foobar123
    mc cp /etc/issue myminio/test/
    
    # 2. Now access the server as user `foo`. These operations will also succeed.
    export MC_HOST_foo=http://foo:foobar123@localhost:9000
    mc ls foo/test
    mc cat foo/test/issue
    
    # 3. Attempt to upload an object as user `foo` - this will fail with a permissions error.
    mc cp /etc/issue myminio/test/issue2
    Plain Text
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Jul 17 15:43:14 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  4. internal/event/config_test.go

    		{[]byte(`<S3Key><FilterRule><Name>suffix</Name><Value>foo/bar</Value></FilterRule></S3Key>`), &FilterRuleList{[]FilterRule{{"suffix", "foo/bar"}}}, false},
    		{[]byte(`<S3Key><FilterRule><Name>prefix</Name><Value>Hello/世界</Value></FilterRule><FilterRule><Name>suffix</Name><Value>foo/bar</Value></FilterRule></S3Key>`), &FilterRuleList{[]FilterRule{{"prefix", "Hello/世界"}, {"suffix", "foo/bar"}}}, false},
    	}
    
    	for i, testCase := range testCases {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Dec 05 10:16:33 GMT 2023
    - 29K bytes
    - Viewed (0)
  5. docs/iam/access-management-plugin.md

    ```sh
    mc alias set myminio http://localhost:9000 minio minio123
    mc ls myminio
    mc mb myminio/test
    mc cp /etc/issue myminio/test
    mc admin user add myminio foo foobar123
    export MC_HOST_foo=http://foo:foobar123@localhost:9000
    mc ls foo
    mc cp /etc/issue myminio/test/issue2
    ```
    
    Only the last operation would fail with a permissions error.
    
    ## Configuration
    
    Plain Text
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Dec 13 22:28:48 GMT 2022
    - 4.4K bytes
    - Viewed (0)
  6. internal/dsync/drwmutex_test.go

    	b.ReportAllocs()
    
    	b.RunParallel(func(pb *testing.PB) {
    		foo := 0
    		for pb.Next() {
    			rwm := NewDRWMutex(ds, "test")
    			foo++
    			if foo%writeRatio == 0 {
    				rwm.Lock(id, source)
    				rwm.Unlock(context.Background())
    			} else {
    				rwm.RLock(id, source)
    				for i := 0; i != localWork; i++ {
    					foo *= 2
    					foo /= 2
    				}
    				rwm.RUnlock(context.Background())
    			}
    		}
    		_ = foo
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 24 03:49:07 GMT 2022
    - 9.7K bytes
    - Viewed (0)
  7. docs/site-replication/run-multi-site-oidc.sh

    MC_HOST_foo=http://${STS_CRED}@localhost:9001 ./mc ls foo
    if [ $? -ne 0 ]; then
    	echo "Expected sts credential to work, exiting.."
    	exit_1
    fi
    
    sleep 2
    
    # Check that the STS credential works on minio2 and minio3.
    MC_HOST_foo=http://${STS_CRED}@localhost:9002 ./mc ls foo
    if [ $? -ne 0 ]; then
    	echo "Expected sts credential to work, exiting.."
    	exit_1
    Shell Script
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Feb 26 21:30:28 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  8. cmd/storage-rest_test.go

    		{"foo", "newline\n", testData, false, true},
    		{"foo", "newline\t", testData, false, true},
    		{"foo", "newline \n", testData, false, true},
    		{"foo", "newline$$$\n", testData, false, true},
    		{"foo", "newline%%%\n", testData, false, true},
    		{"foo", "newline \t % $ & * ^ # @ \n", testData, false, true},
    		{"foo", "\n\tnewline \t % $ & * ^ # @ \n", testData, false, true},
    	}
    
    	for i, testCase := range testCases {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  9. internal/lock/lock_windows_test.go

    		// 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`},
    		{`c:\long\..\bar\baz`, `c:\long\..\bar\baz`},
    		{`\\?\c:\long\foo.txt`, `\\?\c:\long\foo.txt`},
    		{`\\?\c:\long/foo.txt`, `\\?\c:\long/foo.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. cmd/sts-handlers.go

    			return
    		}
    	}
    
    	// We map the X.509 subject common name to the policy. So, a client
    	// with the common name "foo" will be associated with the policy "foo".
    	// Other mapping functions - e.g. public-key hash based mapping - are
    	// possible but not implemented.
    	//
    	// Group mapping is not possible with standard X.509 certificates.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 18:36:18 GMT 2024
    - 34.7K bytes
    - Viewed (2)
Back to top