Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for dupes (0.73 sec)

  1. cni/pkg/nodeagent/net.go

    // during initial snapshot creation, it will insert every snapshotted pod's IP into the set.
    //
    // The set does not allow dupes (obviously, that would be undefined) - but in the real world due to misconfigured
    // IPAM or other things, we may see two pods with the same IP on the same node - we will skip the dupes,
    // which is all we can do - these pods will fail healthcheck until the IPAM issue is resolved (which seems reasonable)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. pkg/slices/slices_test.go

    		},
    		{
    			name: "no dupes",
    			in:   []string{"a", "b", "c", "d"},
    			out:  []string{"a", "b", "c", "d"},
    		},
    		{
    			name: "dupes first",
    			in:   []string{"a", "a", "c", "d"},
    			out:  []string{"a", "c", "d"},
    		},
    		{
    			name: "dupes last",
    			in:   []string{"a", "b", "c", "c"},
    			out:  []string{"a", "b", "c"},
    		},
    		{
    			name: "dupes middle",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  3. testing/distributions-integ-tests/src/integTest/groovy/org/gradle/DistributionIntegrationSpec.groovy

        }
    
        def "no duplicate jar entries in distribution"() {
            given:
            def entriesByPath = zipEntries.groupBy { it.name }
            def dupes = entriesByPath.findAll { it.value.size() > 1 }
    
            when:
            def dupesWithCount = dupes.collectEntries { [it.key, it.value.size()]}
    
            then:
            dupesWithCount.isEmpty()
        }
    
        def "all files under lib directory are jars"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:14 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  4. maven-xml-impl/src/test/java/org/apache/maven/internal/xml/XmlNodeImplTest.java

        }
    
        /**
         * <p>testDupeChildren.</p>
         */
        @Test
        void testDupeChildren() throws IOException, XMLStreamException {
            String dupes = "<configuration><foo>x</foo><foo>y</foo></configuration>";
            XmlNode dom = toXmlNode(new StringReader(dupes));
            assertNotNull(dom);
            assertEquals("y", dom.getChild("foo").getValue());
        }
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableSortedMap.java

      }
    
      /**
       * Accepts a collection of possibly-null entries. If {@code sameComparator}, then it is assumed
       * that they do not need to be sorted or checked for dupes.
       */
      private static <K, V> ImmutableSortedMap<K, V> fromEntries(
          Comparator<? super K> comparator,
          boolean sameComparator,
          Iterable<? extends Entry<? extends K, ? extends V>> entries) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

      }
    
      /**
       * Accepts a collection of possibly-null entries. If {@code sameComparator}, then it is assumed
       * that they do not need to be sorted or checked for dupes.
       */
      private static <K, V> ImmutableSortedMap<K, V> fromEntries(
          Comparator<? super K> comparator,
          boolean sameComparator,
          Iterable<? extends Entry<? extends K, ? extends V>> entries) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 53K bytes
    - Viewed (0)
  7. src/net/net_windows_test.go

    		}
    		group[string(line[:i])] = string(bytes.TrimSpace(line[i+1:]))
    	}
    	processGroup()
    
    	dups := make(map[string][]string)
    	for name, addr := range want {
    		if _, ok := dups[addr]; !ok {
    			dups[addr] = make([]string, 0)
    		}
    		dups[addr] = append(dups[addr], name)
    	}
    
    nextWant:
    	for name, wantAddr := range want {
    		if haveAddr, ok := have[name]; ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  8. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.kt

            result.addAll(stories)
          }
          return result
        }
    
        /**
         * Checks if `expected` and `observed` are equal when viewed as a set and headers are
         * deduped.
         *
         * TODO: See if duped headers should be preserved on decode and verify.
         */
        private fun assertSetEquals(
          message: String,
          expected: List<Header>,
          observed: List<Header>,
        ) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. hack/lib/golang.sh

    # kube::util::read-array FOO < <(kube::golang::dups a b c a)
    #
    # ALWAYS remember to quote your subshells. Not doing so will break in
    # bash 4.3, and potentially cause other issues.
    # ------------
    
    # Returns a sorted newline-separated list containing only duplicated items.
    kube::golang::dups() {
      # We use printf to insert newlines, which are required by sort.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 16:43:08 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/ResolutionResultGraphBuilderSpec.groovy

            node("leaf1")
            node("leaf2")
    
            resolvedConf("root", [dep("root", "mid1")])
    
            resolvedConf("mid1", [dep("mid1", "leaf1")])
            resolvedConf("mid1", [dep("mid1", "leaf1")]) //dupe
            resolvedConf("mid1", [dep("mid1", "leaf2")])
    
            resolvedConf("leaf1", [])
            resolvedConf("leaf2", [])
    
            when:
            def result = builder.getRoot(id("root"))
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top