Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,422 for delete1 (0.15 sec)

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

       *
       * <p><b>Warning:</b> On a file system that supports symbolic links, it is possible for an
       * insecure recursive delete to delete files and directories that are <i>outside</i> the directory
       * being deleted. This can happen if, after checking that a file is a directory (and not a
       * symbolic link), that directory is deleted and replaced by a symbolic link to an outside
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. pkg/kube/controllers/common.go

    	EventUpdate
    
    	// EventDelete is sent when an object is deleted
    	// Captures the object at the last known state
    	EventDelete
    )
    
    func (event EventType) String() string {
    	out := "unknown"
    	switch event {
    	case EventAdd:
    		out = "add"
    	case EventUpdate:
    		out = "update"
    	case EventDelete:
    		out = "delete"
    	}
    	return out
    }
    
    type Event struct {
    	Old   Object
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 11 08:27:29 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/util/workloadinstances/index_test.go

    	// Delete should return previously inserted value
    
    	deleted := index.Delete(wi1)
    	assert.Equal(t, wi1, deleted)
    
    	// GetByIP should return 1 workload instance
    
    	verifyGetByIP("2.2.2.2", []*model.WorkloadInstance{wi3})
    
    	// Delete should return nil since there is no such element in the index
    
    	deleted = index.Delete(wi1)
    	assert.Equal(t, nil, deleted)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. cmd/api-datatypes.go

    	Location string   `xml:"LocationConstraint"`
    }
    
    // DeleteObjectsRequest - xml carrying the object key names which needs to be deleted.
    type DeleteObjectsRequest struct {
    	// Element to enable quiet mode for the request
    	Quiet bool
    	// List of objects to be deleted
    	Objects []ObjectToDelete `xml:"Object"`
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 14 07:26:50 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. pkg/kubelet/container/container_gc.go

    //
    // Implementation is thread-compatible.
    type GC interface {
    	// Garbage collect containers.
    	GarbageCollect(ctx context.Context) error
    	// Deletes all unused containers, including containers belonging to pods that are terminated but not deleted
    	DeleteAllUnusedContainers(ctx context.Context) error
    	// IsContainerFsSeparateFromImageFs tells if writeable layer and read-only layer are separate.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/IncrementalNativeCompiler.java

        private final TaskOutputsInternal outputs;
        private final Deleter deleter;
        private final ObjectHolder<CompilationState> compileStateCache;
        private final IncrementalCompilation incrementalCompilation;
    
        public IncrementalNativeCompiler(
            TaskOutputsInternal outputs,
            Compiler<T> delegateCompiler,
            Deleter deleter,
            ObjectHolder<CompilationState> compileStateCache,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/IoTestCase.java

      @CanIgnoreReturnValue
      private boolean delete(File file) {
        if (file.isDirectory()) {
          File[] files = file.listFiles();
          if (files != null) {
            for (File f : files) {
              if (!delete(f)) {
                return false;
              }
            }
          }
        }
    
        if (!file.delete()) {
          logger.log(Level.WARNING, "couldn't delete file: {0}", new Object[] {file});
          return false;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 31 12:36:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. src/sync/map_reference_test.go

    	m.mu.Lock()
    	value, loaded = m.dirty[key]
    	if !loaded {
    		m.mu.Unlock()
    		return nil, false
    	}
    	delete(m.dirty, key)
    	m.mu.Unlock()
    	return value, loaded
    }
    
    func (m *RWMutexMap) Delete(key any) {
    	m.mu.Lock()
    	delete(m.dirty, key)
    	m.mu.Unlock()
    }
    
    func (m *RWMutexMap) CompareAndSwap(key, old, new any) (swapped bool) {
    	m.mu.Lock()
    	defer m.mu.Unlock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 01 15:34:22 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/watch/watch.go

    }
    
    // Modify sends a modify event.
    func (f *FakeWatcher) Modify(obj runtime.Object) {
    	f.result <- Event{Modified, obj}
    }
    
    // Delete sends a delete event.
    func (f *FakeWatcher) Delete(lastValue runtime.Object) {
    	f.result <- Event{Deleted, lastValue}
    }
    
    // Error sends an Error event.
    func (f *FakeWatcher) Error(errValue runtime.Object) {
    	f.result <- Event{Error, errValue}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 20:06:22 UTC 2024
    - 8.1K bytes
    - Viewed (1)
  10. pkg/kubelet/status/state/state_mem.go

    func (s *stateMemory) deleteContainer(podUID string, containerName string) {
    	delete(s.podAllocation[podUID], containerName)
    	if len(s.podAllocation[podUID]) == 0 {
    		delete(s.podAllocation, podUID)
    		delete(s.podResizeStatus, podUID)
    	}
    	klog.V(3).InfoS("Deleted pod resource allocation", "podUID", podUID, "containerName", containerName)
    }
    
    func (s *stateMemory) Delete(podUID string, containerName string) error {
    	s.Lock()
    	defer s.Unlock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 24 18:21:21 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top