Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 306 for delete (0.23 sec)

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

    			}
    			m["12312312"] = ""
    			if got := hashDeterministicString(m); got == want {
    				t.Errorf("hashDeterministicString() = %v, does not want %v", got, want)
    			}
    			want = hashDeterministicString(m)
    			delete(m, "12312312")
    			m["another"] = ""
    
    			if got := hashDeterministicString(m); got == want {
    				t.Errorf("hashDeterministicString() = %v, does not want %v", got, want)
    			}
    
    			want = hashDeterministicString(m)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Sep 02 14:49:24 GMT 2023
    - 6K bytes
    - Viewed (0)
  2. cmd/batch-expire.go

    //       purge:
    //           # retainVersions: 0 # (default) delete all versions of the object. This option is the fastest.
    //           # retainVersions: 5 # keep the latest 5 versions of the object.
    //
    //     - type: deleted # objects with delete marker as their latest version
    //       name: NAME # match object names that satisfy the wildcard expression.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  3. internal/config/cache/cache.go

    	if err != nil {
    		return
    	}
    
    	resp, err := c.clnt.Do(req)
    	if err != nil {
    		return
    	}
    	defer xhttp.DrainBody(resp.Body)
    }
    
    // Delete deletes remote cached content for object and its version.
    func (c Config) Delete(bucket, key string) {
    	configLock.RLock()
    	defer configLock.RUnlock()
    
    	if !c.Enable {
    		return
    	}
    
    	if c.Endpoint == "" {
    		return
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  4. internal/config/api/api.go

    	EnvAPIStaleUploadsCleanupInterval = "MINIO_API_STALE_UPLOADS_CLEANUP_INTERVAL"
    	EnvAPIStaleUploadsExpiry          = "MINIO_API_STALE_UPLOADS_EXPIRY"
    	EnvAPIDeleteCleanupInterval       = "MINIO_API_DELETE_CLEANUP_INTERVAL"
    	EnvDeleteCleanupInterval          = "MINIO_DELETE_CLEANUP_INTERVAL"
    	EnvAPIODirect                     = "MINIO_API_ODIRECT"
    	EnvAPIDisableODirect              = "MINIO_API_DISABLE_ODIRECT"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 01:08:07 GMT 2024
    - 11.1K bytes
    - Viewed (1)
  5. src/cmd/asm/internal/arch/arch.go

    	// Pseudo-registers.
    	register["SB"] = RSB
    	register["FP"] = RFP
    	register["PC"] = RPC
    	// Avoid unintentionally clobbering g using R30.
    	delete(register, "R30")
    	register["g"] = mips.REG_R30
    	// Avoid unintentionally clobbering RSB using R28.
    	delete(register, "R28")
    	register["RSB"] = mips.REG_R28
    	registerPrefix := map[string]bool{
    		"F":   true,
    		"FCR": true,
    		"M":   true,
    		"R":   true,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Mar 21 06:51:28 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  6. cmd/iam-store.go

    					delete(cache.iamUsersMap, k)
    				}
    			}
    			for k, u := range cache.iamSTSAccountsMap {
    				if u.Credentials.ParentUser == accessKey {
    					delete(cache.iamSTSAccountsMap, k)
    				}
    			}
    		}
    
    		// 3. Delete any mapped policy
    		cache.iamUserPolicyMap.Delete(accessKey)
    
    		return nil
    	}
    
    	if err != nil {
    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/erasure-metadata.go

    func (e ErasureInfo) ShardSize() int64 {
    	return ceilFrac(e.BlockSize, int64(e.DataBlocks))
    }
    
    // IsValid - tells if erasure info fields are valid.
    func (fi FileInfo) IsValid() bool {
    	if fi.Deleted {
    		// Delete marker has no data, no need to check
    		// for erasure coding information
    		return true
    	}
    	dataBlocks := fi.Erasure.DataBlocks
    	parityBlocks := fi.Erasure.ParityBlocks
    	correctIndexes := (fi.Erasure.Index > 0 &&
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  8. cmd/tier_gen.go

    				err = msgp.WrapError(err, "Tiers")
    				return
    			}
    			if z.Tiers == nil {
    				z.Tiers = make(map[string]madmin.TierConfig, zb0002)
    			} else if len(z.Tiers) > 0 {
    				for key := range z.Tiers {
    					delete(z.Tiers, key)
    				}
    			}
    			for zb0002 > 0 {
    				zb0002--
    				var za0001 string
    				var za0002 madmin.TierConfig
    				za0001, err = dc.ReadString()
    				if err != nil {
    					err = msgp.WrapError(err, "Tiers")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 20 00:53:08 GMT 2023
    - 4K bytes
    - Viewed (0)
  9. tests/associations_has_many_test.go

    	// Delete
    	if err := DB.Model(&user2).Association("Pets").Delete(&Pet{}); err != nil {
    		t.Fatalf("Error happened when delete pet, got %v", err)
    	}
    	AssertAssociationCount(t, user2, "Pets", 1, "after delete non-existing data")
    
    	if err := DB.Model(&user2).Association("Pets").Delete(&pet2); err != nil {
    		t.Fatalf("Error happened when delete Pets, got %v", err)
    	}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Dec 15 08:36:08 GMT 2023
    - 15.6K bytes
    - Viewed (0)
  10. cmd/bucket-replication-stats.go

    		select {
    		case <-ctx.Done():
    			return
    		case <-r.qTimer.C:
    			r.qCache.update()
    		}
    	}
    }
    
    // Delete deletes in-memory replication statistics for a bucket.
    func (r *ReplicationStats) Delete(bucket string) {
    	if r == nil {
    		return
    	}
    
    	r.Lock()
    	defer r.Unlock()
    	delete(r.Cache, bucket)
    }
    
    // UpdateReplicaStat updates in-memory replica statistics with new values.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
Back to top