Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,410 for deleteSV (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. pkg/proxy/ipvs/util/testing/fake_test.go

    	}
    	if len(list) != 3 {
    		t.Errorf("Expect 2 virtual servers, got: %d", len(list))
    	}
    	// Delete a virtual server
    	err = fake.DeleteVirtualServer(vs1)
    	if err != nil {
    		t.Errorf("Fail to delete virtual server: %v, error: %v", vs1, err)
    	}
    	// Check the deleted virtual server no longer exists
    	got, _ := fake.GetVirtualServer(vs1)
    	if got != nil {
    		t.Errorf("Expect nil, got: %v", got)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  6. pkg/controller/util/selectors/bimultimap.go

    		labeled := m.labeledBySelecting[sObject.selectorKey]
    		labeled.objects[labeledObject.key] = labeledObject
    	}
    }
    
    // Delete removes a labeled object and incoming associations.
    func (m *BiMultimap) Delete(key Key) {
    	m.mux.Lock()
    	defer m.mux.Unlock()
    	m.delete(key)
    }
    
    func (m *BiMultimap) delete(key Key) {
    	if _, ok := m.labeledObjects[key]; !ok {
    		// Does not exist.
    		return
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 21:41:32 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/test/integration/finalization_test.go

    	createdNoxuInstance, err := instantiateCustomResource(t, instance, noxuResourceClient, noxuDefinition)
    	require.NoError(t, err)
    
    	// Delete a CR. Because there's a finalizer, it will not get deleted now.
    	uid := createdNoxuInstance.GetUID()
    	err = noxuResourceClient.Delete(context.TODO(), name, metav1.DeleteOptions{
    		Preconditions: &metav1.Preconditions{
    			UID: &uid,
    		},
    	})
    	require.NoError(t, err)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 02 19:34:41 UTC 2021
    - 5.8K bytes
    - Viewed (0)
  8. hack/testdata/CRD/multi-crd-list-deleted-field.yaml

    Nikhita Raghunath <******@****.***> 1506872372 +0530
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 01 15:43:24 UTC 2017
    - 307 bytes
    - Viewed (0)
  9. samples/tcp-echo/README.md

        hello world
        pod "dummy" deleted
        ```
    
        As you observe, sending _world_ on a TCP connection to the server results in
        the server prepending _hello_ and echoing back with _hello world_.
    
    1. To clean up, execute the following command:
    
        ```console
        $ kubectl delete -f tcp-echo.yaml
        service "tcp-echo" deleted
        deployment.apps "tcp-echo" deleted
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Oct 28 07:41:56 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/kube/controller/autoserviceexportcontroller.go

    	// Only handle add. The controller only acts on parts of the service
    	// that are immutable (e.g. name). When we create ServiceExport, we bind its
    	// lifecycle to the Service so that when the Service is deleted,
    	// k8s automatically deletes the ServiceExport.
    	c.services.AddEventHandler(controllers.EventHandler[controllers.Object]{AddFunc: c.queue.AddObject})
    
    	return c
    }
    
    func (c *autoServiceExportController) Run(stopCh <-chan struct{}) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top