Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,620 for delete1 (0.13 sec)

  1. 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)
  2. hack/testdata/CRD/foo-deleted-subfield.yaml

    Nikhita Raghunath <******@****.***> 1506872372 +0530
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 01 15:43:24 UTC 2017
    - 176 bytes
    - Viewed (0)
  3. 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 (0)
  4. 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)
  5. pkg/kubelet/util/manager/manager.go

    	// in the implementations and effectively treated as refcounted.
    	AddReference(namespace, name string, referencedFrom types.UID)
    	// DeleteReference deletes a reference from referencedFrom to the object from the store.
    	// Note that object should be deleted only when there was a
    	// corresponding Delete call for each of Add calls (effectively
    	// when refcount of every referenceFrom was reduced to zero).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 10 02:22:52 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  6. tests/soft_delete_test.go

    		t.Errorf("Count soft deleted record, expects: %v, got: %v", 1, count)
    	}
    
    	if DB.Model(&User{}).Select("age").Where("name = ?", user.Name).Scan(&age).Error != nil || age != user.Age {
    		t.Errorf("Age soft deleted record, expects: %v, got: %v", 0, age)
    	}
    
    	if err := DB.Delete(&user).Error; err != nil {
    		t.Fatalf("No error should happen when soft delete user, but got %v", err)
    	}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Feb 01 06:40:55 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  7. 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)
  8. pkg/scheduler/framework/cycle_state.go

    // See CycleState for notes on concurrency.
    func (c *CycleState) Write(key StateKey, val StateData) {
    	c.storage.Store(key, val)
    }
    
    // Delete deletes data with the given key from CycleState.
    //
    // See CycleState for notes on concurrency.
    func (c *CycleState) Delete(key StateKey) {
    	c.storage.Delete(key)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 06:48:20 UTC 2023
    - 4K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/BaseJavaSourceIncrementalCompilationIntegrationTest.groovy

    abstract class BaseJavaSourceIncrementalCompilationIntegrationTest extends AbstractSourceIncrementalCompilationIntegrationTest {
        CompiledLanguage language = CompiledLanguage.JAVA
    
        def "deletes headers when source file is deleted"() {
            given:
            def sourceFile = file("src/main/java/my/org/Foo.java")
            sourceFile.text = """
                package my.org;
    
                public class Foo {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  10. cluster/addons/volumesnapshots/crd/snapshot.storage.k8s.io_volumesnapshotclasses.yaml

                  enum:
                    - Delete
                    - Retain
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 26 07:24:12 UTC 2022
    - 6.7K bytes
    - Viewed (0)
Back to top