Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for Sall (0.14 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.
    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

    	}
    	res := aoBucketInfo.New()
    	for i := range buckets {
    		bucket := buckets[i]
    		res.Append(&bucket)
    	}
    	return res, nil
    }
    
    // HeadBucketHandler implements peer BucketInfo call, returns bucket create date.
    func (s *peerRESTServer) HeadBucketHandler(mss *grid.MSS) (info *VolInfo, nerr *grid.RemoteErr) {
    	bucket := mss.Get(peerS3Bucket)
    	if isMinioMetaBucket(bucket) {
    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

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package bytes_test
    
    import (
    	. "bytes"
    	"fmt"
    	"internal/testenv"
    	"math"
    	"math/rand"
    	"reflect"
    	"strings"
    	"testing"
    	"unicode"
    	"unicode/utf8"
    	"unsafe"
    )
    
    func eq(a, b []string) bool {
    	if len(a) != len(b) {
    		return false
    	}
    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/xl-storage.go

    			// that for fresh PutObject() call dstDataPath can never exist.
    			// if its an overwrite then the caller deletes the DataDir
    			// in a separate RPC call.
    			s.moveToTrash(dstDataPath, true, false)
    
    			// If we are healing we should purge any legacyDataPath content,
    			// that was previously preserved during PutObject() call
    			// on a versioned bucket.
    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)
  5. cmd/object-api-listobjects_test.go

    		// Marker being set to a value which is greater than and all object names when sorted (36).
    		// Expected to send an empty response in this case.
    		{"test-bucket-list-object", "", "zen", "", 10, ListObjectsInfo{}, nil, true},
    		// Marker being set to a value which is lesser than and all object names when sorted (37).
    		// Expected to send all the objects in the bucket in this case.
    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)
  6. cmd/iam-store.go

    type ParentUserInfo struct {
    	subClaimValue string
    	roleArns      set.StringSet
    }
    
    // GetAllParentUsers - returns all distinct "parent-users" associated with STS
    // or service credentials, mapped to all distinct roleARNs associated with the
    // parent user. The dummy role ARN is associated with parent users from
    // policy-claim based OpenID providers.
    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)
  7. cmd/object-api-multipart_test.go

    	}
    
    	// Validate all the test cases.
    	for i, testCase := range testCases {
    		actualInfo, actualErr := obj.PutObjectPart(context.Background(), testCase.bucketName, testCase.objName, testCase.uploadID, testCase.PartID, mustGetPutObjReader(t, bytes.NewBufferString(testCase.inputReaderData), testCase.inputDataSize, testCase.inputMd5, testCase.inputSHA256), opts)
    		// All are test cases above are expected to fail.
    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)
  8. internal/s3select/select_test.go

    		wantResult string
    	}{
    		{
    			name:       "select-all",
    			input:      testInput,
    			query:      `SELECT * from s3object AS s WHERE id = '1'`,
    			wantResult: `{"id":"1","time":"2010-01-01T","num":"7867786","num2":"4565.908123","text":"a text, with comma"}`,
    		},
    		{
    			name:       "select-all-2",
    			input:      testInput,
    			query:      `SELECT * from s3object s WHERE id = 2`,
    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)
  9. cmd/erasure-object.go

    		// Note: we should not be defer'ing the following closeBitrotReaders() call as
    		// we are inside a for loop i.e if we use defer, we would accumulate a lot of open files by the time
    		// we return from this function.
    		closeBitrotReaders(readers)
    		if err != nil {
    			// If we have successfully written all the content that was asked
    			// by the client, but we still see an error - this would mean
    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/erasure-server-pool.go

    			set.deleteAll(ctx, bucket, prefix)
    		}
    	}
    }
    
    var listBucketsCache = cachevalue.New[[]BucketInfo]()
    
    // List all buckets from one of the serverPools, we are not doing merge
    // sort here just for simplification. As per design it is assumed
    // that all buckets are present on all serverPools.
    func (z *erasureServerPools) ListBuckets(ctx context.Context, opts BucketOptions) (buckets []BucketInfo, err error) {
    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)
Back to top