Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 54 for item (0.14 sec)

  1. cmd/data-scanner_test.go

    		VersioningConfigUpdatedAt: now,
    		LifecycleConfigUpdatedAt:  now,
    		lifecycleConfig:           &lc,
    		versioningConfig:          &vcfg,
    	}
    	globalBucketMetadataSys.Set(bucket, meta)
    	item := scannerItem{
    		Path:       obj,
    		bucket:     bucket,
    		prefix:     "",
    		objectName: obj,
    		lifeCycle:  &lc,
    	}
    
    	modTime := time.Now()
    	uuids := make([]uuid.UUID, 5)
    	for i := range uuids {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  2. cmd/iam-store.go

    			}
    		}
    		return true
    	})
    
    	if iamOS, ok := store.IAMStorageAPI.(*IAMObjectStore); ok {
    		for item := range listIAMConfigItems(context.Background(), iamOS.objAPI, iamConfigPrefix+SlashSeparator+policyDBSTSUsersListKey) {
    			user := strings.TrimSuffix(item.Item, ".json")
    			if userPredicate != nil && !userPredicate(user) {
    				continue
    			}
    
    			var mappedPolicy MappedPolicy
    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)
  3. internal/store/queuestore.go

    	buf.Reset()
    	if err != nil {
    		return err
    	}
    
    	// Increment the item count.
    	store.entries[key] = time.Now().UnixNano()
    
    	return nil
    }
    
    // write - writes an item to the directory.
    func (store *QueueStore[I]) write(key string, item I) error {
    	// Marshalls the item.
    	eventData, err := json.Marshal(item)
    	if err != nil {
    		return err
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/parse.go

    	colon := -1
    	for tok != '\n' && tok != ';' {
    		// Process one operand.
    		var items []lex.Token
    		if cap(operands) > len(operands) {
    			// Reuse scratch items slice.
    			items = operands[:cap(operands)][len(operands)][:0]
    		} else {
    			items = make([]lex.Token, 0, 3)
    		}
    		for {
    			tok = p.nextToken()
    			if len(operands) == 0 && len(items) == 0 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  5. cmd/admin-handlers-site-replication.go

    	case madmin.SRBucketMetaTypeObjectLockConfig:
    		err = globalSiteReplicationSys.PeerBucketObjectLockConfigHandler(ctx, item.Bucket, item.ObjectLockConfig, item.UpdatedAt)
    	case madmin.SRBucketMetaTypeSSEConfig:
    		err = globalSiteReplicationSys.PeerBucketSSEConfigHandler(ctx, item.Bucket, item.SSEConfig, item.UpdatedAt)
    	case madmin.SRBucketMetaLCConfig:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 09:40:39 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  6. cmd/admin-router.go

    		adminRouter.Methods(http.MethodPut).Path(adminVersion + "/site-replication/peer/iam-item").HandlerFunc(adminMiddleware(adminAPI.SRPeerReplicateIAMItem))
    		adminRouter.Methods(http.MethodPut).Path(adminVersion + "/site-replication/peer/bucket-meta").HandlerFunc(adminMiddleware(adminAPI.SRPeerReplicateBucketItem))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  7. internal/store/store.go

    // Target - store target interface
    type Target interface {
    	Name() string
    	SendFromStore(key Key) error
    }
    
    // Store - Used to persist items.
    type Store[I any] interface {
    	Put(item I) error
    	PutMultiple(item []I) error
    	Get(key string) (I, error)
    	GetRaw(key string) ([]byte, error)
    	Len() int
    	List() ([]string, error)
    	Del(key string) error
    	DelList(key []string) error
    	Open() error
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  8. internal/pubsub/pubsub.go

    // Hence receivers should use buffered channel so as not to miss the published events.
    func (ps *PubSub[T, M]) Publish(item T) {
    	ps.RLock()
    	defer ps.RUnlock()
    	for _, sub := range ps.subs {
    		if sub.types.Contains(Mask(item.Mask())) && (sub.filter == nil || sub.filter(item)) {
    			select {
    			case sub.ch <- item:
    			default:
    			}
    		}
    	}
    }
    
    // Subscribe - Adds a subscriber to pubsub system
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 16:57:30 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  9. cmd/data-scanner.go

    			item.heal.bitrot = f.scanMode == madmin.HealDeepScan
    
    			// if the drive belongs to an erasure set
    			// that is already being healed, skip the
    			// healing attempt on this drive.
    			item.heal.enabled = item.heal.enabled && f.healObjectSelect > 0
    
    			sz, err := f.getSize(item)
    			if err != nil && err != errIgnoreFileContrib {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 47.6K bytes
    - Viewed (0)
  10. cmd/iam.go

    		iamFilesListing := iamOS.cachedIAMListing.Load().(map[string][]string)
    		listKey := policyDBSTSUsersListKey
    		if isGroup {
    			listKey = policyDBGroupsListKey
    		}
    		for _, item := range iamFilesListing[listKey] {
    			stsUserName := strings.TrimSuffix(item, ".json")
    			entityKeysInStorage.Add(stsUserName)
    		}
    	} else {
    		// For non-iam object store, we copy the mapping keys from the cache.
    		cache := sys.store.rlock()
    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)
Back to top