Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 195 for deletes (0.28 sec)

  1. doc/next/6-stdlib/99-minor/sync/61696.md

    The [Map.Clear] method deletes all the entries, resulting in
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Apr 10 17:07:25 GMT 2024
    - 105 bytes
    - Viewed (0)
  2. cmd/metacache-set.go

    	}
    	// defaults to 'strict'
    	return driveCount
    }
    
    func calcCommonWritesDeletes(infos []DiskInfo, readQuorum int) (commonWrite, commonDelete uint64) {
    	deletes := make([]uint64, len(infos))
    	writes := make([]uint64, len(infos))
    	for index, di := range infos {
    		deletes[index] = di.Metrics.TotalDeletes
    		writes[index] = di.Metrics.TotalWrites
    	}
    
    	filter := func(list []uint64) (commonCount uint64) {
    		max := 0
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:52:52 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  3. cmd/storage-rest-client.go

    	}
    	err = st.Results(func(resp *ListDirResult) error {
    		entries = resp.Entries
    		return nil
    	})
    	return entries, toStorageErr(err)
    }
    
    // DeleteFile - deletes a file.
    func (client *storageRESTClient) Delete(ctx context.Context, volume string, path string, deleteOpts DeleteOptions) error {
    	_, err := storageDeleteFileRPC.Call(ctx, client.gridConn, &DeleteFileHandlerParams{
    		DiskID:   *client.diskID.Load(),
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Cache.kt

      fun initialize() {
        cache.initialize()
      }
    
      /**
       * Closes the cache and deletes all of its stored values. This will delete all files in the cache
       * directory including files that weren't created by the cache.
       */
      @Throws(IOException::class)
      fun delete() {
        cache.delete()
      }
    
      /**
       * Deletes all values stored in the cache. In-flight writes to the cache will complete normally,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  5. cmd/bucket-replication.go

    // is specified) enabled.
    // Similar to bucket replication for PUT operation, soft delete (a.k.a setting delete marker) and
    // permanent deletes (by specifying a version ID in the delete operation) have three states "Pending", "Complete"
    // and "Failed" to mark the status of the replication of "DELETE" operation. All failed operations can
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  6. cmd/notification.go

    func (sys *NotificationSys) DeleteBucketMetadata(ctx context.Context, bucketName string) {
    	globalReplicationStats.Delete(bucketName)
    	globalBucketMetadataSys.Remove(bucketName)
    	globalBucketTargetSys.Delete(bucketName)
    	globalEventNotifier.RemoveNotification(bucketName)
    	globalBucketConnStats.delete(bucketName)
    	globalBucketHTTPStats.delete(bucketName)
    	if localMetacacheMgr != nil {
    		localMetacacheMgr.deleteBucketCache(bucketName)
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  7. src/builtin/builtin.go

    // returns the number of elements copied, which will be the minimum of
    // len(src) and len(dst).
    func copy(dst, src []Type) int
    
    // The delete built-in function deletes the element with the specified key
    // (m[key]) from the map. If m is nil or there is no such element, delete
    // is a no-op.
    func delete(m map[Type]Type1, key Type)
    
    // The len built-in function returns the length of v, according to its type:
    //
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  8. cmd/erasure-sets.go

    	}
    	set := s.getHashedSet(object)
    	return set.DeleteObject(ctx, bucket, object, opts)
    }
    
    // DeleteObjects - bulk delete of objects
    // Bulk delete is only possible within one set. For that purpose
    // objects are group by set first, and then bulk delete is invoked
    // for each set, the error response of each delete will be returned
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 37.5K bytes
    - Viewed (5)
  9. cmd/xl-storage.go

    	for k := range foundDirs {
    		delete(foundDirs, k)
    	}
    
    	// Populate into map
    	for _, k := range dirs {
    		foundDirs[k] = struct{}{}
    	}
    
    	// Delete all directories we expect to be there.
    	for _, dir := range wantDirs {
    		delete(foundDirs, dir)
    	}
    
    	// Nothing to delete
    	if len(foundDirs) == 0 {
    		return nil
    	}
    
    	// Delete excessive inline entries.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  10. internal/kms/kes.go

    	c.lock.RLock()
    	defer c.lock.RUnlock()
    
    	return c.client.CreateKey(ctx, keyID)
    }
    
    // DeleteKey deletes a key at the KMS with the given key ID.
    // Please note that is a dangerous operation.
    // Once a key has been deleted all data that has been encrypted with it cannot be decrypted
    // anymore, and therefore, is lost.
    func (c *kesClient) DeleteKey(ctx context.Context, keyID string) error {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 14.9K bytes
    - Viewed (0)
Back to top