Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for Spring (1.85 sec)

  1. cmd/erasure-server-pool.go

    // Errors are ignored, only errors from the callback are returned.
    // For now only direct file paths are supported.
    func (z *erasureServerPools) GetRawData(ctx context.Context, volume, file string, fn func(r io.Reader, host string, disk string, filename string, info StatInfo) error) error {
    	found := 0
    	for _, s := range z.serverPools {
    		for _, set := range s.sets {
    			for _, disk := range set.getDisks() {
    				if disk == OfflineDisk {
    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)
  2. cmd/erasure-object.go

    			}, index)
    		}
    
    		rmDisks := make(map[string]string, len(disks))
    		for index, err := range g.Wait() {
    			var errStr, diskName string
    			if err != nil {
    				errStr = err.Error()
    			} else {
    				errStr = "<nil>"
    			}
    			if disks[index] != nil {
    				diskName = disks[index].String()
    			} else {
    				diskName = fmt.Sprintf("disk-%d", index)
    			}
    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)
  3. cmd/iam.go

    func (sys *IAMSys) ListPolicies(ctx context.Context, bucketName string) (map[string]policy.Policy, error) {
    	if !sys.Initialized() {
    		return nil, errServerNotInitialized
    	}
    
    	return sys.store.ListPolicies(ctx, bucketName)
    }
    
    // ListPolicyDocs - lists all canned policy docs.
    func (sys *IAMSys) ListPolicyDocs(ctx context.Context, bucketName string) (map[string]PolicyDoc, error) {
    	if !sys.Initialized() {
    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)
  4. cmd/xl-storage-format-v2_gen.go

    					return
    				}
    				if z.MetaUser == nil {
    					z.MetaUser = make(map[string]string, zb0011)
    				} else if len(z.MetaUser) > 0 {
    					for key := range z.MetaUser {
    						delete(z.MetaUser, key)
    					}
    				}
    				for zb0011 > 0 {
    					zb0011--
    					var za0011 string
    					var za0012 string
    					za0011, err = dc.ReadString()
    					if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  5. cmd/sts-handlers_test.go

    				suite.TearDownSuite(c)
    			},
    		)
    	}
    }
    
    type iamTestContent struct {
    	policies                map[string][]byte
    	ldapUserPolicyMappings  map[string][]string
    	ldapGroupPolicyMappings map[string][]string
    }
    
    func (s *TestSuiteIAM) TestIAMExport(c *check, caseNum int, content iamTestContent) []byte {
    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)
  6. cmd/api-errors.go

    // APIError structure
    type APIError struct {
    	Code           string
    	Description    string
    	HTTPStatusCode int
    	ObjectSize     string
    	RangeRequested string
    }
    
    // APIErrorResponse - error response format
    type APIErrorResponse struct {
    	XMLName          xml.Name `xml:"Error" json:"-"`
    	Code             string
    	Message          string
    	Key              string `xml:"Key,omitempty" json:"Key,omitempty"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  7. cmd/xl-storage.go

    		}
    	}
    
    	return w, nil
    }
    
    func (s *xlStorage) openFileSync(filePath string, mode int, skipParent string) (f *os.File, err error) {
    	return s.openFile(filePath, mode|writeMode, skipParent)
    }
    
    func (s *xlStorage) openFile(filePath string, mode int, skipParent string) (f *os.File, err error) {
    	if skipParent == "" {
    		skipParent = s.drivePath
    	}
    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. internal/s3select/select_test.go

    	{"id": 3,"title": "Second Record","desc": "another text","nested": [[2, 3.0, 4], [7, 8.5, 9]]}`
    
    	testTable := []struct {
    		name       string
    		query      string
    		requestXML []byte // override request XML
    		wantResult string
    		withJSON   string // Override JSON input
    	}{
    		{
    			name:       "select-in-array-full",
    			query:      `SELECT * from s3object s WHERE 'bar' IN s.synonyms[*]`,
    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/iam-store.go

    	loadPolicyDoc(ctx context.Context, policy string, m map[string]PolicyDoc) error
    	loadPolicyDocWithRetry(ctx context.Context, policy string, m map[string]PolicyDoc, retries int) error
    	loadPolicyDocs(ctx context.Context, m map[string]PolicyDoc) error
    	loadUser(ctx context.Context, user string, userType IAMUserType, m map[string]UserIdentity) error
    	loadUsers(ctx context.Context, userType IAMUserType, m map[string]UserIdentity) error
    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)
  10. cmd/object-api-listobjects_test.go

    			t.Fatalf("%s : %s", instanceType, err.Error())
    		}
    	}
    
    	var err error
    	testObjects := []struct {
    		parentBucket string
    		name         string
    		content      string
    		meta         map[string]string
    	}{
    		{testBuckets[0], "Asia-maps.png", "asis-maps", map[string]string{"content-type": "image/png"}},
    		{testBuckets[0], "Asia/India/India-summer-photos-1", "contentstring", nil},
    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)
Back to top