Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 56 for zOrder (0.21 sec)

  1. internal/bucket/replication/replication_test.go

    		}
    		for i := range got {
    			if got[i].Destination.ARN != tc.ExpectedRules[i].Destination.ARN || got[i].Priority != tc.ExpectedRules[i].Priority {
    				t.Fatalf("Expected order of filtered rules to be identical: `%v`, got: `%v`", tc.ExpectedRules, got)
    			}
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v2_test.go

    			reqVersions: 0,
    			want:        []xlMetaV2ShallowVersion{vDelMarker, vObj},
    		},
    	}
    	for _, test := range testCases {
    		t.Run(test.name, func(t *testing.T) {
    			// Run multiple times, shuffling the input order.
    			for i := int64(0); i < 50; i++ {
    				t.Run(fmt.Sprint(i), func(t *testing.T) {
    					rng := rand.New(rand.NewSource(i))
    					rng.Shuffle(len(test.input), func(i, j int) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 17:50:48 GMT 2024
    - 36.4K bytes
    - Viewed (0)
  3. cmd/admin-handlers.go

    		Certs:      []madmin.TLSCert{},
    	}
    
    	if globalIsTLS {
    		for _, c := range globalPublicCerts {
    			check := xxh3.Hash(c.RawIssuer)
    			check ^= xxh3.Hash(c.RawSubjectPublicKeyInfo)
    			// We XOR, so order doesn't matter.
    			for _, v := range c.DNSNames {
    				check ^= xxh3.HashString(v)
    			}
    			for _, v := range c.EmailAddresses {
    				check ^= xxh3.HashString(v)
    			}
    			for _, v := range c.IPAddresses {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  4. cmd/metrics-v3-types.go

    	for metricName, mv := range m.values {
    		desc := m.descriptors[metricName]
    		promDesc := desc.toPromDesc(namePrefix, extraLabels)
    		for _, v := range mv {
    			// labelValues is in the same order as the variable labels in the
    			// descriptor.
    			labelValues := make([]string, 0, len(v.Labels))
    			for _, k := range desc.VariableLabels {
    				labelValues = append(labelValues, v.Labels[k])
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:05:22 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  5. cmd/postpolicyform.go

    	d := jstream.NewDecoder(r, 0).ObjectAsKVS()
    	sset := set.NewStringSet()
    	for mv := range d.Stream() {
    		var kvs jstream.KVS
    		if mv.ValueType == jstream.Object {
    			// This is a JSON object type (that preserves key order)
    			kvs = mv.Value.(jstream.KVS)
    			for _, kv := range kvs {
    				if sset.Contains(kv.Key) {
    					// Reject duplicate conditions or expiration.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  6. cmd/iam-object-store.go

    	bootstrapTraceMsg("loading all IAM items")
    
    	listedConfigItems, err := iamOS.listAllIAMConfigItems(ctx)
    	if err != nil {
    		return fmt.Errorf("unable to list IAM data: %w", err)
    	}
    
    	// Loads things in the same order as `LoadIAMCache()`
    
    	bootstrapTraceMsg("loading policy documents")
    
    	policiesList := listedConfigItems[policiesListKey]
    	for _, item := range policiesList {
    		policyName := path.Dir(item)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v2.go

    	}
    	return versions, hdrVer, metaVer, buf, nil
    }
    
    // decodeVersions will decode a number of versions from a buffer
    // and perform a callback for each version in order, newest first.
    // Return errDoneForNow to stop processing and return nil.
    // Any non-nil error is returned.
    func decodeVersions(buf []byte, versions int, fn func(idx int, hdr, meta []byte) error) (err error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  8. internal/amztime/parse.go

    package amztime
    
    import (
    	"errors"
    	"net/http"
    	"time"
    )
    
    // Supported amz date formats.
    var amzDateFormats = []string{
    	// Do not change this order, x-amz-date format is usually in
    	// iso8601Format rest are meant for relaxed handling of other
    	// odd SDKs that might be out there.
    	"20060102T150405Z",
    	time.RFC1123,
    	time.RFC1123Z,
    	// Add new AMZ date formats here.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  9. cmd/metacache-stream.go

    // 2. String. Name of object. Directories contains a trailing slash.
    // 3. Binary. Blob of metadata. Length 0 on directories.
    // ... Next element.
    //
    // Streams can be assumed to be sorted in ascending order.
    // If the stream ends before a false boolean it can be assumed it was truncated.
    
    const metacacheStreamVersion = 2
    
    // metacacheWriter provides a serializer of metacache objects.
    type metacacheWriter struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  10. cmd/erasure-healing-common.go

    				// number of items than number of online disks.
    				inconsistent++
    				continue
    			}
    			if meta.Erasure.Distribution[i] != meta.Erasure.Index {
    				// Mismatch indexes with distribution order
    				inconsistent++
    			}
    		}
    	}
    
    	erasureDistributionReliable := true
    	if inconsistent > len(partsMetadata)/2 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 10.8K bytes
    - Viewed (0)
Back to top