Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 883 for deleteRS (0.24 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. pkg/zdsapi/zds.proto

      WorkloadInfo workload_info = 2;
    }
    
    // Keep workload that we can't find in the fd cache. This can only be sent before SnapshotSent is sent
    // to signal ztunnel to not delete the workload if it has it.
    message KeepWorkload {
      string uid = 1;
    }
    
    // Delete a workload from the ztunnel. Ztunnel should shutdown the workload's proxy.
    message DelWorkload {
      string uid = 2;
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 22:07:03 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. cmd/metacache-bucket.go

    	c, ok := b.caches[id]
    	if ok {
    		// Delete from root map.
    		list := b.cachesRoot[c.root]
    		for i, lid := range list {
    			if id == lid {
    				list = append(list[:i], list[i+1:]...)
    				break
    			}
    		}
    		b.cachesRoot[c.root] = list
    		delete(b.caches, id)
    		b.updated = true
    	}
    	b.mu.Unlock()
    	if ok {
    		c.delete(context.Background())
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. tests/integration/operator/uninstall_test.go

    const deletionTimeout = 5 * time.Minute
    
    func TestReconcileDelete(t *testing.T) {
    	framework.
    		NewTest(t).
    		Run(func(t framework.TestContext) {
    			// For positive casse, use minimal profile, iop file will be deleted
    			t.NewSubTest("delete-iop-success").Run(func(t framework.TestContext) {
    				istioCtl := istioctl.NewOrFail(t, t, istioctl.Config{})
    				workDir, err := t.CreateTmpDirectory("operator-controller-test")
    				if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 20:33:28 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. pilot/pkg/autoregistration/connections.go

    	m.Lock()
    	defer m.Unlock()
    
    	k := makeProxyKey(conn.Proxy())
    	connections := m.byProxy[k]
    	if connections == nil {
    		return false
    	}
    
    	id := conn.ID()
    	delete(connections, id)
    	if len(connections) == 0 {
    		delete(m.byProxy, k)
    		return false
    	}
    
    	return true
    }
    
    // keys required to uniquely ID a single proxy
    type proxyKey struct {
    	Network   string
    	IP        string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Sep 19 20:41:55 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. ci/official/utilities/rename_and_verify_wheels.sh

    fi
    
    # Repair wheels with auditwheel and delete the old one.
    if [[ "$TFCI_WHL_AUDIT_ENABLE" == "1" ]]; then
      python3 -m auditwheel repair --plat "$TFCI_WHL_AUDIT_PLAT" --wheel-dir . *.whl
      # if the wheel is already named correctly, auditwheel won't rename it. so we
      # list all .whl files by their modification time (ls -t) and delete anything
      # other than the most recently-modified one (the new one).
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 21:16:27 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. src/net/textproto/header.go

    // The returned slice is not a copy.
    func (h MIMEHeader) Values(key string) []string {
    	if h == nil {
    		return nil
    	}
    	return h[CanonicalMIMEHeaderKey(key)]
    }
    
    // Del deletes the values associated with key.
    func (h MIMEHeader) Del(key string) {
    	delete(h, CanonicalMIMEHeaderKey(key))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top