- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 1,410 for deleteSV (0.17 sec)
-
pkg/kubelet/cm/memorymanager/state/state_checkpoint.go
err := sc.storeState() if err != nil { klog.InfoS("Store state to checkpoint error", "err", err) } } // Delete deletes corresponding Blocks from ContainerMemoryAssignments func (sc *stateCheckpoint) Delete(podUID string, containerName string) { sc.Lock() defer sc.Unlock() sc.cache.Delete(podUID, containerName) err := sc.storeState() if err != nil { klog.InfoS("Store state to checkpoint error", "err", err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 08 16:05:48 UTC 2022 - 5.3K bytes - Viewed (0) -
platforms/core-runtime/native/src/test/groovy/org/gradle/internal/nativeintegration/filesystem/jdk7/Jdk7SymlinkTest.groovy
expect: !new WindowsJdk7Symlink().isSymlinkCreationSupported() } def 'deletes test files after symlink support test with #create'() { expect: listSymlinkTestFiles().findAll { !it.delete() }.empty create(temporaryFolder.createDir("tmp")) listSymlinkTestFiles().empty where:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:06:40 UTC 2023 - 5K bytes - Viewed (0) -
pkg/kubelet/status/state/state_checkpoint.go
sc.mux.Lock() defer sc.mux.Unlock() sc.cache.SetResizeStatus(rs) return sc.storeState() } // Delete deletes allocations for specified pod func (sc *stateCheckpoint) Delete(podUID string, containerName string) error { sc.mux.Lock() defer sc.mux.Unlock() sc.cache.Delete(podUID, containerName) return sc.storeState() } // ClearState clears the state and saves it in a checkpoint
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 13 00:16:44 UTC 2023 - 6.9K bytes - Viewed (0) -
pkg/ledger/ledger.go
type Ledger interface { // Put adds or overwrites a key in the Ledger Put(key, value string) (string, error) // Delete removes a key from the Ledger, which may still be read using GetPreviousValue Delete(key string) error // Get returns a the value of the key from the Ledger's current state Get(key string) (string, error)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 3.9K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalTaskWithNormalizedInputsIntegrationTest.groovy
movableInput.delete() run INCREMENTAL_TASK_NAME, "--info" then: !movableInput.exists() renamedInput.exists() outputContains "is up-to-date" } @Issue("https://github.com/gradle/gradle/issues/9320") def "incremental task with NAME_ONLY inputs (matching file names and content) detects deleted file"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Aug 30 07:31:26 UTC 2022 - 4.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/namespace/lifecycle/admission.go
// prevent deletion of immortal namespaces if a.GetOperation() == admission.Delete && a.GetKind().GroupKind() == v1.SchemeGroupVersion.WithKind("Namespace").GroupKind() && l.immortalNamespaces.Has(a.GetName()) { return errors.NewForbidden(a.GetResource().GroupResource(), a.GetName(), fmt.Errorf("this namespace may not be deleted")) } // always allow non-namespaced resources
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 15 09:52:18 UTC 2021 - 8.6K bytes - Viewed (0) -
tests/associations_belongs_to_test.go
// Delete if err := DB.Model(&user2).Association("Company").Delete(&Company{}); err != nil { t.Fatalf("Error happened when delete Company, got %v", err) } AssertAssociationCount(t, user2, "Company", 1, "after delete non-existing data") if err := DB.Model(&user2).Association("Company").Delete(&company2); err != nil { t.Fatalf("Error happened when delete Company, got %v", err) }
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Mon Oct 30 09:15:49 UTC 2023 - 9.3K bytes - Viewed (0) -
pilot/pkg/status/resourcelock.go
target, perControllerWork := wp.q.Pop(wp.currentlyWorking) if target == (Resource{}) { // continue or return? // could have been deleted, or could be no items in queue not currently worked on. need a way to differentiate. wp.lock.Unlock() continue } wp.q.Delete(target) wp.currentlyWorking.Insert(convert(target)) wp.lock.Unlock() // work should be done without holding the lock
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Feb 04 03:39:42 UTC 2024 - 6.4K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/AbstractCacheCleanup.java
} } LOGGER.info("{} cleanup deleted {} files/directories.", cleanableStore.getDisplayName(), filesDeleted); } protected int deleteEmptyParentDirectories(File baseDir, File dir) { if (dir.equals(baseDir)) { return 0; } File[] files = dir.listFiles(); if (files != null && files.length == 0 && dir.delete()) { handleDeletion(dir);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 2.7K bytes - Viewed (0) -
pkg/scheduler/internal/heap/heap_test.go
} // Delete tail. if err = h.Delete(mkHeapObj("bal", 31)); err != nil { t.Fatalf("Failed to delete tail.") } // Delete one of the items with value 30. if err = h.Delete(mkHeapObj("zab", 30)); err != nil { t.Fatalf("Failed to delete item.") } item, err = h.Pop() if e, a := 11, item.(testHeapObject).val; err != nil || a != e { t.Fatalf("expected %d, got %d", e, a) } item, err = h.Pop()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 05 02:24:38 UTC 2023 - 7.9K bytes - Viewed (0)