Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,416 for delete1 (0.16 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  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. src/syscall/env_unix.go

    					// safely delete only the first item without
    					// worrying about unshadowing a later one,
    					// which might be a security problem.
    					envs[i] = ""
    				}
    				break
    			}
    		}
    	}
    }
    
    func Unsetenv(key string) error {
    	envOnce.Do(copyenv)
    
    	envLock.Lock()
    	defer envLock.Unlock()
    
    	if i, ok := env[key]; ok {
    		envs[i] = ""
    		delete(env, key)
    	}
    	runtimeUnsetenv(key)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 06 20:58:35 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  7. 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)
  8. src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java

            }
    
            final List<Map<String, Object>> afterList = readJobLog(NAME_PREFIX);
            assertEquals(0, afterList.size()); // check if logs are successfully deleted
        }
    
        /**
         * Test for CrawlingInfo
         * */
        private void testReadCrawlingInfo() {
            final List<Map<String, Object>> logList = readCrawlingInfo(webConfigId);
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/plugins/nodeports/node_ports.go

    			}
    		}
    	}
    
    	// If the deleted pod doesn't use any host ports, it doesn't make the target pod schedulable.
    	if len(usedPorts) == 0 {
    		return framework.QueueSkip, nil
    	}
    
    	// Construct a fake NodeInfo that only has the deleted Pod.
    	// If we can schedule `pod` to this fake node, it means that `pod` and the deleted pod don't have any common port(s).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 10:53:29 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. 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)
Back to top