- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 1,410 for deleteSV (0.38 sec)
-
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) -
pkg/kubelet/pod/mirror_client.go
return nil } } return err } // DeleteMirrorPod deletes a mirror pod. // It takes the full name of the pod and optionally a UID. If the UID // is non-nil, the pod is deleted only if its UID matches the supplied UID. // It returns whether the pod was actually deleted, and any error returned // while parsing the name of the pod.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 21 11:38:40 UTC 2021 - 5.5K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/public/saved_model_api.h
// If status is not OK, returns nullptr. Otherwise, returns a newly created // TF_SavedModel instance. It must be deleted by calling TF_DeleteSavedModel. TF_CAPI_EXPORT extern TF_SavedModel* TF_LoadSavedModelWithTags( const char* dirname, TFE_Context* ctx, const char* const* tags, int tags_len, TF_Status* status); // Deletes a TF_SavedModel, and frees any resources owned by it. TF_CAPI_EXPORT extern void TF_DeleteSavedModel(TF_SavedModel* model);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Nov 04 00:45:47 UTC 2020 - 5K bytes - Viewed (0) -
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) -
pilot/pkg/xds/deltatest.go
sotwRes model.Resources, deltaRes model.Resources, deleted model.DeletedResources, usedDelta bool, delta model.ResourceDelta, incremental bool, ) { current := con.proxy.GetWatchedResource(w.TypeUrl).LastResources if current == nil { log.Debugf("ADS:%s: resources initialized", v3.GetShortType(w.TypeUrl)) return } if deltaRes == nil && deleted == nil && len(sotwRes) == 0 {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 5.7K bytes - Viewed (0)