Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for oder (0.12 sec)

  1. cmd/test-utils_test.go

    	// httptest Recorder to capture all the response by the http handler.
    	rec := httptest.NewRecorder()
    
    	// The  API handler gets the reference to the object layer via the global object Layer,
    	// setting it to `nil` in order test for handlers response for uninitialized object layer.
    	globalObjLayerMutex.Lock()
    	globalObjectAPI = nil
    	globalObjLayerMutex.Unlock()
    
    	// call the HTTP handler.
    	apiRouter.ServeHTTP(rec, req)
    
    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. cmd/peer-rest-server.go

    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/minio/internal/pubsub"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v2/logger/message/log"
    )
    
    // To abstract a node over network.
    type peerRESTServer struct{}
    
    var (
    	// Types & Wrappers
    	aoBucketInfo           = grid.NewArrayOf[*BucketInfo](func() *BucketInfo { return &BucketInfo{} })
    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)
  3. src/bytes/bytes_test.go

    var RepeatTests = []RepeatTest{
    	{"", "", 0},
    	{"", "", 1},
    	{"", "", 2},
    	{"-", "", 0},
    	{"-", "-", 1},
    	{"-", "----------", 10},
    	{"abc ", "abc abc abc ", 3},
    	// Tests for results over the chunkLimit
    	{string(rune(0)), string(make([]byte, 1<<16)), 1 << 16},
    	{longString, longString + longString, 2},
    }
    
    func TestRepeat(t *testing.T) {
    	for _, tt := range RepeatTests {
    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)
  4. cmd/object-api-multipart_test.go

    			bucketName      string
    			objName         string
    			uploadID        string
    			expectedErrType error
    		}{bucket, "\\", uploadID, InvalidUploadID{}})
    	}
    
    	// Iterating over creatPartCases to generate multipart chunks.
    	for i, testCase := range abortTestCases {
    		err = obj.AbortMultipartUpload(context.Background(), testCase.bucketName, testCase.objName, testCase.uploadID, opts)
    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/xl-storage.go

    					humanize.Ordinal(ep.PoolIdx+1), humanize.Ordinal(m+1), humanize.Ordinal(n+1), humanize.Ordinal(ep.SetIdx+1), humanize.Ordinal(ep.DiskIdx+1),
    					s, s.diskID, errInconsistentDisk), "drive-order-format-json")
    			return s, errInconsistentDisk
    		}
    		s.diskID = diskID
    		s.formatLastCheck = time.Now()
    		s.formatLegacy = format.Erasure.DistributionAlgo == formatErasureVersionV2DistributionAlgoV1
    	}
    
    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)
  6. cmd/object-api-listobjects_test.go

    		if err != nil {
    			b.Fatal(err)
    		}
    	}
    
    	b.ResetTimer()
    
    	// List the buckets over and over and over.
    	for i := 0; i < b.N; i++ {
    		_, err = obj.ListObjects(context.Background(), bucket, "", "obj9000", "", -1)
    		if err != nil {
    			b.Fatal(err)
    		}
    	}
    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/iam-store.go

    	return jwtClaims, nil
    }
    
    func validateSvcExpirationInUTC(expirationInUTC time.Time) error {
    	if expirationInUTC.IsZero() || expirationInUTC.Equal(timeSentinel) {
    		// Service accounts might not have expiration in older releases.
    		return nil
    	}
    
    	currentTime := time.Now().UTC()
    	minExpiration := currentTime.Add(minServiceAccountExpiry)
    	maxExpiration := currentTime.Add(maxServiceAccountExpiry)
    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)
  8. cmd/erasure-server-pool.go

    		}
    		// Destination is versioned, source is not destination version,
    		// as a special case look for if the source object is not legacy
    		// from older format, for older format we will rewrite them as
    		// newer using PutObject() - this is an optimization to save space
    		if dstOpts.Versioned && srcOpts.VersionID != dstOpts.VersionID && !srcInfo.Legacy {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  9. cmd/erasure-object.go

    	// Reorder online disks based on erasure distribution order.
    	// Reorder parts metadata based on erasure distribution order.
    	onlineDisks, metaArr = shuffleDisksAndPartsMetadataByIndex(onlineDisks, metaArr, fi)
    
    	// For negative length read everything.
    	if length < 0 {
    		length = fi.Size - startOffset
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  10. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidPartOrder: {
    		Code:           "InvalidPartOrder",
    		Description:    "The list of parts was not in ascending order. The parts list must be specified in order by part number.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidObjectState: {
    		Code:           "InvalidObjectState",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
Back to top