Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 3,431 for delete1 (0.14 sec)

  1. guava/src/com/google/common/io/MoreFiles.java

        }
      }
    
      /**
       * Deletes all files within the directory at the given {@code path} {@linkplain #deleteRecursively
       * recursively}. Does not delete the directory itself. Deletes symbolic links, not their targets
       * (subject to the caveat below). If {@code path} itself is a symbolic link to a directory, that
       * link is followed and the contents of the directory it targets are deleted.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 34.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/cache/expiring.go

    		expiry:     expiry,
    		generation: c.generation,
    	})
    }
    
    // Delete deletes an entry in the map.
    func (c *Expiring) Delete(key interface{}) {
    	c.mu.Lock()
    	defer c.mu.Unlock()
    	c.del(key, 0)
    }
    
    // del deletes the entry for the given key. The generation argument is the
    // generation of the entry that should be deleted. If the generation has been
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 22 15:51:23 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/cache/internal/VersionSpecificCacheCleanupActionTest.groovy

        def currentCacheDir = createVersionSpecificCacheDir(currentVersion, NOT_USED_WITHIN_30_DAYS)
        def progressMonitor = Mock(CleanupProgressMonitor)
        def deleter = TestFiles.deleter()
    
        @Subject def cleanupAction = new VersionSpecificCacheCleanupAction(cachesDir, daysAgo(30), daysAgo(7), deleter, CleanupFrequency.DAILY)
    
        def "cleans up unused version-specific cache directories"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 08 17:27:30 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  4. pkg/controller/replicaset/replica_set.go

    	if curPod.DeletionTimestamp != nil {
    		// when a pod is deleted gracefully it's deletion timestamp is first modified to reflect a grace period,
    		// and after such time has passed, the kubelet actually deletes it from the store. We receive an update
    		// for modification of the deletion timestamp and expect an rs to create more replicas asap, not wait
    		// until the kubelet actually deletes the pod. This is different from the Phase of a pod changing, because
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  5. tensorflow/c/env.h

    TF_CAPI_EXPORT extern void TF_CreateDir(const char* dirname, TF_Status* status);
    
    // Deletes the specified directory. Typical status codes are:
    //  * TF_OK - successfully deleted the directory
    //  * TF_FAILED_PRECONDITION - the directory is not empty
    TF_CAPI_EXPORT extern void TF_DeleteDir(const char* dirname, TF_Status* status);
    
    // Deletes the specified directory and all subdirectories and files underneath
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jan 09 02:53:27 UTC 2021
    - 9.6K bytes
    - Viewed (0)
  6. src/sync/map.go

    		if !ok && read.amended {
    			e, ok = m.dirty[key]
    			delete(m.dirty, key)
    			// Regardless of whether the entry was present, record a miss: this key
    			// will take the slow path until the dirty map is promoted to the read
    			// map.
    			m.missLocked()
    		}
    		m.mu.Unlock()
    	}
    	if ok {
    		return e.delete()
    	}
    	return nil, false
    }
    
    // Delete deletes the value for a key.
    func (m *Map) Delete(key any) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/registry/rest/rest.go

    	// returned error value err when the specified resource is not found.
    	// Delete *may* return the object that was deleted, or a status object indicating additional
    	// information about deletion.
    	// It also returns a boolean which is set to true if the resource was instantly
    	// deleted or false if it will be deleted asynchronously.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 20 14:29:25 UTC 2023
    - 18.6K bytes
    - Viewed (0)
  8. pkg/controlplane/controller/apiserverleasegc/gc_controller.go

    		}
    		if err := c.kubeclientset.CoordinationV1().Leases(c.leaseNamespace).Delete(
    			context.TODO(), lease.Name, metav1.DeleteOptions{}); err != nil {
    			if errors.IsNotFound(err) {
    				// In an HA cluster, this can happen if the lease was deleted
    				// by the same GC controller in another apiserver, which is legit.
    				// We don't expect other components to delete the lease.
    				klog.V(4).InfoS("Apiserver lease is gone already", "err", err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 25 03:27:44 UTC 2021
    - 4.6K bytes
    - Viewed (0)
  9. pkg/controller/volume/persistentvolume/pv_controller.go

    	deleter, err := plugin.NewDeleter(logger, spec)
    	if err != nil {
    		// Cannot create deleter
    		return pluginName, false, fmt.Errorf("failed to create deleter for volume %q: %w", volume.Name, err)
    	}
    
    	opComplete := util.OperationCompleteHook(pluginName, "volume_delete")
    	err = deleter.Delete()
    	opComplete(volumetypes.CompleteFuncParam{Err: &err})
    	if err != nil {
    		// Deleter failed
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 89.2K bytes
    - Viewed (0)
  10. pkg/controller/endpointslicemirroring/reconciler.go

    	}
    
    	return slices, totals
    }
    
    // finalize creates, updates, and deletes slices as specified
    func (r *reconciler) finalize(endpoints *corev1.Endpoints, slices slicesByAction) error {
    	// If there are slices to create and delete, recycle the slices marked for
    	// deletion by replacing creates with updates of slices that would otherwise
    	// be deleted.
    	recycleSlices(&slices)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 18:08:12 UTC 2023
    - 13.1K bytes
    - Viewed (0)
Back to top