Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for Updates (0.19 sec)

  1. cmd/iam-store.go

    	default:
    		m = cache.iamUsersMap
    	}
    	err := store.loadUser(ctx, accessKey, userType, m)
    
    	if err == errNoSuchUser {
    		// User was deleted - we update the cache.
    		delete(m, accessKey)
    
    		// Since cache was updated, we update the timestamp.
    		defer func() {
    			cache.updatedAt = time.Now()
    		}()
    
    		// 1. Start with updating user-group memberships
    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)
  2. cmd/erasure-server-pool.go

    		for _, erObj := range z.sets {
    			resultIndex++
    			wg.Add(1)
    			go func(i int, erObj *erasureObjects) {
    				updates := make(chan dataUsageCache, 1)
    				defer xioutil.SafeClose(updates)
    				// Start update collector.
    				go func() {
    					defer wg.Done()
    					for info := range updates {
    						mu.Lock()
    						results[i] = info
    						mu.Unlock()
    					}
    				}()
    				// Start scanner. Blocks until done.
    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)
  3. cmd/iam.go

    type IAMUserType int
    
    const (
    	unknownIAMUserType IAMUserType = iota - 1
    	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.
    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.go

    	defer func() {
    		res := make(map[string]string)
    		if err != nil {
    			res["err"] = err.Error()
    		}
    		stopFn(res)
    	}()
    
    	// Updates must be closed before we return.
    	defer xioutil.SafeClose(updates)
    	var lc *lifecycle.Lifecycle
    
    	// Check if the current bucket has a configured lifecycle policy
    	if globalLifecycleSys != nil {
    		lc, err = globalLifecycleSys.Get(cache.Info.Name)
    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/erasure-object.go

    // update metadata.
    func (er erasureObjects) CopyObject(ctx context.Context, srcBucket, srcObject, dstBucket, dstObject string, srcInfo ObjectInfo, srcOpts, dstOpts ObjectOptions) (oi ObjectInfo, err error) {
    	if !dstOpts.NoAuditLog {
    		auditObjectErasureSet(ctx, dstObject, &er)
    	}
    
    	// This call shouldn't be used for anything other than metadata updates or adding self referential versions.
    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)
  6. cmd/xl-storage-format-v2.go

    	if idx < 0 || idx >= len(x.versions) {
    		return errFileNotFound
    	}
    	update := &x.versions[idx]
    	prevMod := update.header.ModTime
    	update.meta, err = ver.MarshalMsg(update.meta[:0:len(update.meta)])
    	if err != nil {
    		update.meta = nil
    		return err
    	}
    	update.header = ver.header()
    	if prevMod != update.header.ModTime {
    		x.sortByModTime()
    	}
    	return nil
    }
    
    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)
  7. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        /**
         * The number of live elements in this segment's region. This does not include unset elements
         * which are awaiting cleanup.
         */
        volatile int count;
    
        /**
         * Number of updates that alter the size of the table. This is used during bulk-read methods to
         * make sure they see a consistent snapshot: If modCounts change during a traversal of segments
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  8. cmd/bucket-handlers.go

    		dnsLogIf(GlobalContext, err)
    		return
    	}
    
    	bucketsSet := set.NewStringSet()
    	bucketsToBeUpdated := set.NewStringSet()
    	bucketsInConflict := set.NewStringSet()
    
    	// This means that domain is updated, we should update
    	// all bucket entries with new domain name.
    	domainMissing := err == dns.ErrDomainMissing
    	if dnsBuckets != nil {
    		for _, bucket := range buckets {
    			bucketsSet.Add(bucket.Name)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  9. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      optional FieldsV1 fieldsV1 = 7;
    
      // Subresource is the name of the subresource used to update that object, or
      // empty string if the object was updated through the main resource. The
      // value of this field is used to distinguish between managers, even if they
      // share the same name. For example, a status update will be distinct from a
      // regular update using the same manager name.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 53.3K bytes
    - Viewed (0)
  10. tests/query_test.go

    	}
    }
    
    func TestScanNullValue(t *testing.T) {
    	user := GetUser("scan_null_value", Config{})
    	DB.Create(&user)
    
    	if err := DB.Model(&user).Update("age", nil).Error; err != nil {
    		t.Fatalf("failed to update column age for struct, got error %v", err)
    	}
    
    	var result User
    	if err := DB.First(&result, "id = ?", user.ID).Error; err != nil {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
Back to top