Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,152 for SET (0.02 sec)

  1. android/guava-tests/test/com/google/common/collect/SetsTest.java

      }
    
      public void testPowerSetShowOff() {
        Set<Object> zero = ImmutableSet.of();
        Set<Set<Object>> one = powerSet(zero);
        Set<Set<Set<Object>>> two = powerSet(one);
        Set<Set<Set<Set<Object>>>> four = powerSet(two);
        Set<Set<Set<Set<Set<Object>>>>> sixteen = powerSet(four);
        Set<Set<Set<Set<Set<Set<Object>>>>>> sixtyFiveThousandish = powerSet(sixteen);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.3K bytes
    - Viewed (0)
  2. cmd/metrics-v3-cluster-notification.go

    	if globalEventNotifier == nil {
    		return nil
    	}
    
    	nstats := globalEventNotifier.targetList.Stats()
    	m.Set(notificationCurrentSendInProgress, float64(nstats.CurrentSendCalls))
    	m.Set(notificationEventsErrorsTotal, float64(nstats.EventsErrorsTotal))
    	m.Set(notificationEventsSentTotal, float64(nstats.TotalEvents))
    	m.Set(notificationEventsSkippedTotal, float64(nstats.EventsSkipped))
    
    	return nil
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 24 04:10:35 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Sets.java

       * set. The order in which these subsets appear in the outer set is undefined. Note that the power
       * set of the empty set is not the empty set, but a one-element set containing the empty set.
       *
       * <p>The returned set and its constituent sets use {@code equals} to decide whether two elements
       * are identical, even if the input set uses a different concept of equivalence.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/SetViewTest.java

        Set<Object> set = new HashSet<>();
        assertThat(union(emptySet(), emptySet()).copyInto(set)).isSameInstanceAs(set);
        assertThat(intersection(emptySet(), emptySet()).copyInto(set)).isSameInstanceAs(set);
        assertThat(difference(emptySet(), emptySet()).copyInto(set)).isSameInstanceAs(set);
        assertThat(symmetricDifference(emptySet(), emptySet()).copyInto(set)).isSameInstanceAs(set);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ForwardingSetTest.java

        new ForwardingWrapperTester()
            .testForwarding(
                Set.class,
                new Function<Set, Set>() {
                  @Override
                  public Set apply(Set delegate) {
                    return wrap(delegate);
                  }
                });
      }
    
      public void testEquals() {
        Set<String> set1 = ImmutableSet.of("one");
        Set<String> set2 = ImmutableSet.of("two");
        new EqualsTester()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

          if (set.isEmpty()) {
            /*
             * The (tooLow + 1, tooHigh) arguments below would be invalid because tooLow would be
             * greater than tooHigh.
             */
            return ContiguousSet.create(Range.openClosed(0, 1), DiscreteDomain.integers()).subSet(0, 1);
          }
          int tooHigh = set.last() + 1;
          int tooLow = set.first() - 1;
          set.add(tooHigh);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java

        ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers());
        assertFalse(set.contains(0));
        assertTrue(set.contains(1));
        assertTrue(set.contains(2));
        assertTrue(set.contains(3));
        assertFalse(set.contains(4));
        set = ContiguousSet.create(Range.open(0, 4), integers());
        assertFalse(set.contains(0));
        assertTrue(set.contains(1));
        assertTrue(set.contains(2));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

        Set<String> set = of("a", "b");
        assertEquals(newHashSet("a", "b"), set);
      }
    
      public void testCreation_threeElements() {
        Set<String> set = of("a", "b", "c");
        assertEquals(newHashSet("a", "b", "c"), set);
      }
    
      public void testCreation_fourElements() {
        Set<String> set = of("a", "b", "c", "d");
        assertEquals(newHashSet("a", "b", "c", "d"), set);
      }
    
      public void testCreation_fiveElements() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  9. cmd/signature-v4-utils.go

    		v, ok = r.Header[xhttp.AmzContentSha256]
    	}
    
    	// Skip if no header was set.
    	if !ok {
    		return true
    	}
    
    	// If x-amz-content-sha256 is set and the value is not
    	// 'UNSIGNED-PAYLOAD' we should validate the content sha256.
    	switch v[0] {
    	case unsignedPayload, unsignedPayloadTrailer:
    		return true
    	case emptySHA256:
    		// some broken clients set empty-sha256
    		// with > 0 content-length in the body,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Nov 25 17:10:22 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionResult.java

            }
    
            artifacts.add(artifact);
        }
    
        public Set<Artifact> getArtifacts() {
            if (artifacts == null) {
                artifacts = new LinkedHashSet<>();
            }
    
            return artifacts;
        }
    
        public void setArtifacts(Set<Artifact> artifacts) {
            this.artifacts = artifacts;
        }
    
        public Set<ResolutionNode> getArtifactResolutionNodes() {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 10K bytes
    - Viewed (0)
Back to top