Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for settings (0.19 sec)

  1. cmd/test-utils_test.go

    		if _, ok := ignoredStreamingHeaders[http.CanonicalHeaderKey(k)]; !ok {
    			headerMap[strings.ToLower(k)] = vv
    		}
    	}
    
    	// Get header keys.
    	headers := []string{"host"}
    	for k := range headerMap {
    		headers = append(headers, k)
    	}
    	sort.Strings(headers)
    
    	// Get canonical headers.
    	var buf bytes.Buffer
    	for _, k := range headers {
    		buf.WriteString(k)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  2. src/bytes/bytes_test.go

    		})
    	}
    }
    
    func TestClone(t *testing.T) {
    	var cloneTests = [][]byte{
    		[]byte(nil),
    		[]byte{},
    		Clone([]byte{}),
    		[]byte(strings.Repeat("a", 42))[:0],
    		[]byte(strings.Repeat("a", 42))[:0:0],
    		[]byte("short"),
    		[]byte(strings.Repeat("a", 42)),
    	}
    	for _, input := range cloneTests {
    		clone := Clone(input)
    		if !Equal(clone, input) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  3. cmd/peer-rest-server.go

    package cmd
    
    import (
    	"bytes"
    	"context"
    	"encoding/gob"
    	"encoding/hex"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"io"
    	"net/http"
    	"net/url"
    	"strconv"
    	"strings"
    	"sync"
    	"sync/atomic"
    	"time"
    
    	"github.com/dustin/go-humanize"
    	"github.com/klauspost/compress/zstd"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/bucket/bandwidth"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  4. cmd/object-api-multipart_test.go

    		// Test case containing prefix values.
    		// Setting prefix to be equal to object name.(Test number 22).
    		{bucketNames[0], "minio-object-1.txt", "", "", "", 2, listMultipartResults[9], nil, true},
    		// Setting `prefix` to contain the object name as its prefix (Test number 23).
    		{bucketNames[0], "min", "", "", "", 2, listMultipartResults[10], nil, true},
    		// Setting `prefix` to contain the object name as its prefix (Test number 24).
    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)
  5. cmd/iam.go

    	usersPrefix := strings.HasPrefix(event.keyPath, iamConfigUsersPrefix)
    	groupsPrefix := strings.HasPrefix(event.keyPath, iamConfigGroupsPrefix)
    	stsPrefix := strings.HasPrefix(event.keyPath, iamConfigSTSPrefix)
    	svcPrefix := strings.HasPrefix(event.keyPath, iamConfigServiceAccountsPrefix)
    	policyPrefix := strings.HasPrefix(event.keyPath, iamConfigPoliciesPrefix)
    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)
  6. cmd/object-api-listobjects_test.go

    		// Setting a non-existing directory to be prefix (12-13).
    		{"empty-bucket", "europe/france/", "", "", 1, ListObjectsInfo{}, nil, true},
    		{"empty-bucket", "africa/tunisia/", "", "", 1, ListObjectsInfo{}, nil, true},
    		// Testing on empty bucket, that is, bucket without any objects in it (14).
    		{"empty-bucket", "", "", "", 0, ListObjectsInfo{}, nil, true},
    		// Setting maxKeys to negative value (15-16).
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  7. cmd/xl-storage.go

    	dataUsageInfo, err := scanDataFolder(ctx, disks, s.drivePath, cache, func(item scannerItem) (sizeSummary, error) {
    		// Look for `xl.meta/xl.json' at the leaf.
    		if !strings.HasSuffix(item.Path, SlashSeparator+xlStorageFormatFile) &&
    			!strings.HasSuffix(item.Path, SlashSeparator+xlStorageFormatFileV1) {
    			// if no xl.meta/xl.json found, skip the file.
    			return sizeSummary{}, errSkipFile
    		}
    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)
  8. cmd/iam-store.go

    	})
    	return policies
    }
    
    // converts a mapped policy into a slice of distinct policies
    func (mp MappedPolicy) toSlice() []string {
    	var policies []string
    	for _, policy := range strings.Split(mp.Policies, ",") {
    		if strings.TrimSpace(policy) == "" {
    			continue
    		}
    		policies = append(policies, policy)
    	}
    	return policies
    }
    
    func (mp MappedPolicy) policySet() set.StringSet {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  9. internal/s3select/select_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package s3select
    
    import (
    	"bytes"
    	"encoding/xml"
    	"fmt"
    	"io"
    	"net/http"
    	"os"
    	"reflect"
    	"strings"
    	"testing"
    
    	"github.com/klauspost/cpuid/v2"
    	"github.com/minio/minio-go/v7"
    	"github.com/minio/simdjson-go"
    )
    
    func newStringRSC(s string) io.ReadSeekCloser {
    	return newBytesRSC([]byte(s))
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  10. cmd/sts-handlers_test.go

    		c.Fatalf("unexpected non-access-denied err: %v", err)
    	}
    
    	// Remove the policy assignment on the user DN:
    	err = s.adm.SetPolicy(ctx, "", userDN, false)
    	if err != nil {
    		c.Fatalf("Unable to remove policy setting: %v", err)
    	}
    
    	_, err = ldapID.Retrieve()
    	if err == nil {
    		c.Fatalf("Expected to fail to create a user with no associated policy!")
    	}
    
    	// Set policy via group and validate policy assignment.
    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)
Back to top