- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,236 for deleteSV (0.13 sec)
-
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) -
pkg/kube/namespace/filter.go
DeleteFunc: func(ns *corev1.Namespace) { f.lock.Lock() defer f.lock.Unlock() // No need to notify handlers for deletes. The namespace was deleted, so the object will be as well (and a delete could not de-select). // Note that specifically for the edge case of a Namespace watcher that is filtering, this will ignore deletes we should // otherwise send. // See kclient.applyDynamicFilter for rationale. f.namespaceDeletedLocked(ns.ObjectMeta)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 10 17:12:52 UTC 2024 - 9.3K bytes - Viewed (0) -
platforms/software/platform-base/src/main/java/org/gradle/language/base/plugins/LifecycleBasePlugin.java
final BuildOutputCleanupRegistry buildOutputCleanupRegistry = project.getServices().get(BuildOutputCleanupRegistry.class); buildOutputCleanupRegistry.registerOutputs(buildDir); final Provider<Delete> clean = project.getTasks().register(CLEAN_TASK_NAME, Delete.class, cleanTask -> { cleanTask.setDescription("Deletes the build directory.");
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 3.6K bytes - Viewed (0) -
cmd/metacache-manager.go
m.buckets[bucket] = b return b } // deleteBucketCache will delete the bucket cache if it exists. func (m *metacacheManager) deleteBucketCache(bucket string) { m.init.Do(m.initManager) m.mu.Lock() b, ok := m.buckets[bucket] if !ok { m.mu.Unlock() return } delete(m.buckets, bucket) m.mu.Unlock() // Since deletes may take some time we try to do it without // holding lock to m all the time.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Oct 25 00:44:15 UTC 2022 - 5.2K bytes - Viewed (0) -
pkg/volume/util/recyclerclient/recycler_client.go
// In all cases delete the recycler pod and log its result. klog.V(2).Infof("deleting recycler pod %s/%s", pod.Namespace, pod.Name) deleteErr := recyclerClient.DeletePod(pod.Name, pod.Namespace) if deleteErr != nil { klog.Errorf("failed to delete recycler pod %s/%s: %v", pod.Namespace, pod.Name, err) } // Returning recycler error is preferred, the pod will be deleted again on // the next retry. if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 8.5K bytes - Viewed (1) -
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) -
subprojects/core/src/main/java/org/gradle/api/tasks/Sync.java
import org.gradle.api.internal.file.copy.SyncCopyActionDecorator; import org.gradle.api.tasks.util.PatternFilterable; import org.gradle.api.tasks.util.PatternSet; import org.gradle.internal.file.Deleter; import org.gradle.work.DisableCachingByDefault; import javax.inject.Inject; import java.io.File; /** * Synchronizes the contents of a destination directory with some source directories and files. * * <p>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 24 23:13:41 UTC 2022 - 4.6K bytes - Viewed (0) -
guava/src/com/google/common/io/FileBackedOutputStream.java
memory = new MemoryOutput(); } else { memory.reset(); } out = memory; if (file != null) { File deleteMe = file; file = null; if (!deleteMe.delete()) { throw new IOException("Could not delete: " + deleteMe); } } } } @Override public synchronized void write(int b) throws IOException { update(1);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 17:40:56 UTC 2024 - 8.2K bytes - Viewed (0) -
platforms/software/platform-base/src/main/java/org/gradle/language/base/internal/tasks/StaleOutputCleaner.java
* * Returns {code true} if any file or directory was deleted, {@code false} otherwise. */ @CheckReturnValue public static boolean cleanOutputs(Deleter deleter, Iterable<File> filesToDelete, File directoryToClean) { return cleanOutputs(deleter, filesToDelete, ImmutableSet.of(directoryToClean)); } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 4.2K bytes - Viewed (0) -
android/guava/src/com/google/common/io/FileBackedOutputStream.java
memory = new MemoryOutput(); } else { memory.reset(); } out = memory; if (file != null) { File deleteMe = file; file = null; if (!deleteMe.delete()) { throw new IOException("Could not delete: " + deleteMe); } } } } @Override public synchronized void write(int b) throws IOException { update(1);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 17:40:56 UTC 2024 - 8.2K bytes - Viewed (0)