Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for caps (0.15 sec)

  1. cmd/xl-storage-format-v2_gen.go

    				return
    			}
    		case "EcDist":
    			var zb0003 uint32
    			zb0003, err = dc.ReadArrayHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "ErasureDist")
    				return
    			}
    			if cap(z.ErasureDist) >= int(zb0003) {
    				z.ErasureDist = (z.ErasureDist)[:zb0003]
    			} else {
    				z.ErasureDist = make([]uint8, zb0003)
    			}
    			for za0003 := range z.ErasureDist {
    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)
  2. cmd/iam.go

    	regUser
    	stsUser
    	svcUser
    )
    
    // LoadGroup - loads a specific group from storage, and updates the
    // memberships cache. If the specified group does not exist in
    // storage, it is removed from in-memory maps as well - this
    // simplifies the implementation for group removal. This is called
    // only via IAM notifications.
    func (sys *IAMSys) LoadGroup(ctx context.Context, objAPI ObjectLayer, group string) error {
    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)
  3. cmd/object-api-listobjects_test.go

    		}
    	}
    
    	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},
    		{testBuckets[0], "Asia/India/Karnataka/Bangalore/Koramangala/pics", "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)
  4. cmd/bucket-stats_gen.go

    				case "Nodes":
    					var zb0003 uint32
    					zb0003, err = dc.ReadArrayHeader()
    					if err != nil {
    						err = msgp.WrapError(err, "QueueStats", "Nodes")
    						return
    					}
    					if cap(z.QueueStats.Nodes) >= int(zb0003) {
    						z.QueueStats.Nodes = (z.QueueStats.Nodes)[:zb0003]
    					} else {
    						z.QueueStats.Nodes = make([]ReplQNodeStats, zb0003)
    					}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 57.5K bytes
    - Viewed (0)
  5. cmd/iam-store.go

    // information in IAM (i.e sys.iam*Map) - this info is stored only in the STS
    // generated credentials. Thus we skip looking up group memberships, user map,
    // and group map and check the appropriate policy maps directly.
    func (c *iamCache) policyDBGet(store *IAMStoreSys, name string, isGroup bool) ([]string, time.Time, error) {
    	if isGroup {
    		if store.getUsersSysType() == MinIOUsersSysType {
    			g, ok := c.iamGroupsMap[name]
    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)
  6. cmd/xl-storage-format-v2.go

    func metaDataPoolGet() []byte {
    	return metaDataPool.Get().([]byte)[:0]
    }
    
    // metaDataPoolPut will put an unused small buffer back into the pool.
    func metaDataPoolPut(buf []byte) {
    	if cap(buf) >= metaDataReadDefault && cap(buf) < metaDataReadDefault*4 {
    		//nolint:staticcheck // SA6002 we are fine with the tiny alloc
    		metaDataPool.Put(buf)
    	}
    }
    
    // readXLMetaNoData will load the metadata, but skip data segments.
    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)
Back to top