Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,121 for deletes (0.07 sec)

  1. internal/config/config.go

    func (kvs KVS) Get(key string) string {
    	v, ok := kvs.Lookup(key)
    	if ok {
    		return v
    	}
    	return ""
    }
    
    // Delete - deletes the key if present from the KV list.
    func (kvs *KVS) Delete(key string) {
    	for i, kv := range *kvs {
    		if kv.Key == key {
    			*kvs = append((*kvs)[:i], (*kvs)[i+1:]...)
    			return
    		}
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  2. internal/jwt/parser.go

    func (c *MapClaims) Set(key string, val interface{}) {
    	if c == nil {
    		return
    	}
    	c.MapClaims[key] = val
    }
    
    // Delete deletes a key named key.
    func (c *MapClaims) Delete(key string) {
    	if c == nil {
    		return
    	}
    	delete(c.MapClaims, key)
    }
    
    // Lookup returns the value and if the key is found.
    func (c *MapClaims) Lookup(key string) (value string, ok bool) {
    	if c == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. cmd/notification.go

    func (sys *NotificationSys) DeleteBucketMetadata(ctx context.Context, bucketName string) {
    	globalReplicationStats.Load().Delete(bucketName)
    	globalBucketMetadataSys.Remove(bucketName)
    	globalBucketTargetSys.Delete(bucketName)
    	globalEventNotifier.RemoveNotification(bucketName)
    	globalBucketConnStats.delete(bucketName)
    	globalBucketHTTPStats.delete(bucketName)
    	if localMetacacheMgr != nil {
    		localMetacacheMgr.deleteBucketCache(bucketName)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_experimental.h

    // the object. Using duplicate metric name will crash the program with fatal
    // error.
    TF_CAPI_EXPORT extern TFE_MonitoringCounter0* TFE_MonitoringNewCounter0(
        const char* name, TF_Status* status, const char* description);
    // Deletes the Counter object.
    TF_CAPI_EXPORT extern void TFE_MonitoringDeleteCounter0(
        TFE_MonitoringCounter0* counter);
    // Retrieves the cell from the Counter object. The Counter object will manage
    // lifetime of the cell.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Feb 21 22:37:46 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  5. cmd/bucket-handlers.go

    				apiErr.Description = "The bucket you tried to delete is not empty. You must delete all versions in the bucket."
    			}
    		}
    		writeErrorResponse(ctx, w, apiErr, r.URL)
    		return
    	}
    
    	if globalDNSConfig != nil {
    		if err := globalDNSConfig.Delete(bucket); err != nil {
    			dnsLogIf(ctx, fmt.Errorf("Unable to delete bucket DNS entry %w, please delete it manually, bucket on MinIO no longer exists", err))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  6. cmd/site-replication.go

    	UpdatedAt  time.Time
    }
    
    // SRBucketDeleteOp - type of delete op
    type SRBucketDeleteOp string
    
    const (
    	// MarkDelete creates .minio.sys/buckets/.deleted/<bucket> vol entry to hold onto deleted bucket's state
    	// until peers are synced in site replication setup.
    	MarkDelete SRBucketDeleteOp = "MarkDelete"
    
    	// Purge deletes the .minio.sys/buckets/.deleted/<bucket> vol entry
    	Purge SRBucketDeleteOp = "Purge"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  7. common/scripts/kind_provisioner.sh

    # cleanup_kind_cluster takes a single parameter NAME
    # and deletes the KinD cluster with that name
    function cleanup_kind_cluster() {
      echo "Test exited with exit code $?."
      NAME="${1}"
      kind export logs --name "${NAME}" "${ARTIFACTS}/kind" -v9 || true
      if [[ -z "${SKIP_CLEANUP:-}" ]]; then
        echo "Cleaning up kind cluster"
        kind delete cluster --name "${NAME}" -v9 || true
      fi
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Aug 21 04:47:23 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  8. misc/go_android_exec/main.go

    	cmd.Stderr = os.Stderr
    	out, err := cmd.Output()
    	if err != nil {
    		return fmt.Errorf("%v: %w", cmd, err)
    	}
    	goVersion := string(out)
    
    	// Also known by cmd/dist. The bootstrap command deletes the file.
    	statPath := filepath.Join(os.TempDir(), "go_android_exec-adb-sync-status")
    	stat, err := os.OpenFile(statPath, os.O_CREATE|os.O_RDWR, 0666)
    	if err != nil {
    		return err
    	}
    	defer stat.Close()
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 21 17:46:57 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  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.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.5.md

    ...
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 136.4K bytes
    - Viewed (0)
Back to top