Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for dupes (0.04 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/internal/diff/testdata/dups.txt

    Russ Cox <******@****.***> 1643490792 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 18 16:56:29 UTC 2022
    - 141 bytes
    - Viewed (0)
  8. src/internal/singleflight/singleflight.go

    	g.mu.Lock()
    	if g.m == nil {
    		g.m = make(map[string]*call)
    	}
    	if c, ok := g.m[key]; ok {
    		c.dups++
    		g.mu.Unlock()
    		c.wg.Wait()
    		return c.val, c.err, true
    	}
    	c := new(call)
    	c.wg.Add(1)
    	g.m[key] = c
    	g.mu.Unlock()
    
    	g.doCall(c, key, fn)
    	return c.val, c.err, c.dups > 0
    }
    
    // DoChan is like Do but returns a channel that will receive the
    // results when they are ready.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 30 20:49:56 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  9. pkg/config/analysis/analyzers/testdata/telemetry-selector.yaml

            - name: prometheus
          overrides:
            - match:
                metric: ALL_METRICS
              disabled: false
    ---
    apiVersion: telemetry.istio.io/v1alpha1
    kind: Telemetry
    metadata:
      name: dupe-1
      namespace: default
    spec:
      selector:
        matchLabels:
          app: reviews # Multiple telemetries have the same selector, should generate errors for both
      metrics:
        - providers:
            - name: prometheus
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 03 06:56:06 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  10. pkg/config/analysis/analyzers/testdata/sidecar-selector.yaml

    apiVersion: networking.istio.io/v1alpha3
    kind: Sidecar
    metadata:
      name: dupe-1
      namespace: default
    spec:
      workloadSelector:
        labels:
          app: reviews # Multiple sidecars have the same selector, should generate errors for both
      egress:
      - hosts:
        - "./*"
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: Sidecar
    metadata:
      name: dupe-2
      namespace: default
    spec:
      workloadSelector:
        labels:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 17 12:28:05 UTC 2021
    - 2.3K bytes
    - Viewed (0)
Back to top