Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for sortBy (0.15 sec)

  1. cmd/site-replication.go

    package cmd
    
    import (
    	"bytes"
    	"context"
    	"encoding/base64"
    	"encoding/binary"
    	"encoding/json"
    	"encoding/xml"
    	"errors"
    	"fmt"
    	"math/rand"
    	"net/url"
    	"reflect"
    	"runtime"
    	"sort"
    	"strings"
    	"sync"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio-go/v7"
    	minioClient "github.com/minio/minio-go/v7"
    	"github.com/minio/minio-go/v7/pkg/credentials"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  2. cmd/object-handlers.go

    		TagSet: &ObjectTagSet{},
    	}
    
    	var list []tags.Tag
    	for k, v := range ot.ToMap() {
    		list = append(list, tags.Tag{
    			Key:   k,
    			Value: v,
    		})
    	}
    	// Always return in sorted order for tags.
    	sort.Slice(list, func(i, j int) bool {
    		return list[i].Key < list[j].Key
    	})
    	otags.TagSet.Tags = list
    
    	writeSuccessResponseXML(w, encodeResponse(otags))
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  3. cmd/admin-handlers.go

    	for _, v := range entryMap {
    		if stale {
    			lockEntries = append(lockEntries, *v)
    			continue
    		}
    		if len(v.ServerList) >= v.Quorum {
    			lockEntries = append(lockEntries, *v)
    		}
    	}
    	sort.Sort(lockEntries)
    	return lockEntries
    }
    
    // PeerLocks holds server information result of one node
    type PeerLocks struct {
    	Addr  string
    	Locks map[string][]lockRequesterInfo
    }
    
    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/object-handlers_test.go

    				toAPIError(ctx, InvalidPart{}),
    				getGetObjectURL("", bucketName, objectName), "", "")),
    			expectedRespStatus: http.StatusBadRequest,
    		},
    		// Test case - 6.
    		// Parts are not sorted according to the part number.
    		// This should return ErrInvalidPartOrder in the response body.
    		{
    			bucket:    bucketName,
    			object:    objectName,
    			uploadID:  uploadIDs[0],
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
Back to top