Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for deleteMin (0.1 sec)

  1. cni/pkg/ipset/ipset.go

    	}
    	return m.Deps.addIP(m.V4Name, ipToInsert, ipProto, comment, replace)
    }
    
    func (m *IPSet) DeleteIP(ip netip.Addr, ipProto uint8) error {
    	ipToDel := ip.Unmap()
    
    	// We have already Unmap'd, so we can do a simple IsV6 y/n check now
    	if ipToDel.Is6() {
    		return m.Deps.deleteIP(m.V6Name, ipToDel, ipProto)
    	}
    	return m.Deps.deleteIP(m.V4Name, ipToDel, ipProto)
    }
    
    func (m *IPSet) Flush() error {
    	var err error
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r35/CacheableTaskProgressEventsCrossVersionSpec.groovy

            runCacheableBuild(pushToCacheEvents)
            then:
            writingOperations(pushToCacheEvents).size() == maybeIncludeLocalBuildOperations(1)
    
            when:
            file("build").deleteDir()
            and:
            def pullFromCacheResults = ProgressEvents.create()
            runCacheableBuild(pullFromCacheResults)
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/kube/controller/pod.go

    			if _, f := pmap[port.Name]; !f {
    				pmap[port.Name] = uint32(port.ContainerPort)
    			}
    		}
    	}
    	return pmap
    }
    
    // deleteIP returns true if the pod and ip are really deleted.
    func (pc *PodCache) deleteIP(ip string, podKey types.NamespacedName) bool {
    	pc.Lock()
    	defer pc.Unlock()
    	if pc.podsByIP[ip].Contains(podKey) {
    		sets.DeleteCleanupLast(pc.podsByIP, ip, podKey)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/JabbaInstallationSupplierTest.groovy

            def directories = supplier.get()
    
            then:
            directories.isEmpty()
        }
    
        def "supplies no installations for non-existing directory"() {
            given:
            assert candidates.deleteDir()
    
            when:
            def directories = supplier.get()
    
            then:
            directories.isEmpty()
        }
    
        def "supplies single installations for single candidate"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 22:17:53 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. platforms/core-runtime/wrapper-shared/src/main/java/org/gradle/wrapper/Install.java

            return osName.contains("windows");
        }
    
        private boolean deleteDir(File dir) {
            if (dir.isDirectory()) {
                String[] children = dir.list();
                if (children != null) {
                    for (int i = 0; i < children.length; i++) {
                        boolean success = deleteDir(new File(dir, children[i]));
                        if (!success) {
                            return false;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. cni/pkg/ipset/nldeps_unspecified.go

    }
    
    func (m *realDeps) addIP(name string, ip netip.Addr, ipProto uint8, comment string, replace bool) error {
    	return errors.New("not implemented on this platform")
    }
    
    func (m *realDeps) deleteIP(name string, ip netip.Addr, ipProto uint8) error {
    	return errors.New("not implemented on this platform")
    }
    
    func (m *realDeps) flush(name string) error {
    	return errors.New("not implemented on this platform")
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r33/CacheableTaskOutcomeCrossVersionSpec.groovy

            runCacheableBuild(pushToCacheEvents)
            then:
            !cacheableTaskResult(pushToCacheEvents).fromCache
            !cacheableTaskResult(pushToCacheEvents).upToDate
    
            when:
            file("build").deleteDir()
            and:
            def pullFromCacheResults = ProgressEvents.create()
            runCacheableBuild(pullFromCacheResults)
            then:
            cacheableTaskResult(pullFromCacheResults).fromCache
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/IntellijInstallationSupplierTest.groovy

            def directories = supplier.get()
    
            then:
            directories.isEmpty()
        }
    
        def "supplies no installations for non-existing directory"() {
            given:
            assert candidates.deleteDir()
    
            when:
            def directories = supplier.get()
    
            then:
            directories.isEmpty()
        }
    
        def "supplies single installations for single candidate"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 22:17:53 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. platforms/jvm/toolchains-jvm/src/test/groovy/org/gradle/internal/jvm/inspection/DefaultJavaInstallationRegistryTest.groovy

            0 * logger._
        }
    
        def "filters always and warns once about an installation that does not exist"() {
            given:
            def jdk8 = temporaryFolder.createDir("non-existent")
            jdk8.deleteDir()
            def logOutput = "Directory '${jdk8}' (testSource) used for java installations does not exist"
            when:
            def registry = createRegistry([jdk8])
            def installations = registry.listInstallations()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 22:46:10 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  10. cni/pkg/ipset/nldeps_mock.go

    func (m *MockedIpsetDeps) addIP(name string, ip netip.Addr, ipProto uint8, comment string, replace bool) error {
    	args := m.Called(name, ip, ipProto, comment, replace)
    	return args.Error(0)
    }
    
    func (m *MockedIpsetDeps) deleteIP(name string, ip netip.Addr, ipProto uint8) error {
    	args := m.Called(name, ip, ipProto)
    	return args.Error(0)
    }
    
    func (m *MockedIpsetDeps) flush(name string) error {
    	args := m.Called(name)
    	return args.Error(0)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top