Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for powerSet (0.19 sec)

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

        Set<Set<Integer>> powerSet = powerSet(elements);
        assertEquals(1, powerSet.size());
        assertEquals(ImmutableSet.of(ImmutableSet.of()), powerSet);
        assertEquals(0, powerSet.hashCode());
      }
    
      public void testPowerSetContents() {
        ImmutableSet<Integer> elements = ImmutableSet.of(1, 2, 3);
        Set<Set<Integer>> powerSet = powerSet(elements);
        assertEquals(8, powerSet.size());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Sets.java

            return inputSet.keySet().containsAll(set);
          }
          return false;
        }
    
        @Override
        public boolean equals(@CheckForNull Object obj) {
          if (obj instanceof PowerSet) {
            PowerSet<?> that = (PowerSet<?>) obj;
            return inputSet.keySet().equals(that.inputSet.keySet());
          }
          return super.equals(obj);
        }
    
        @Override
        public int hashCode() {
          /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

      public void testContainsAll() {
        ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers());
        for (Set<Integer> subset : Sets.powerSet(ImmutableSet.of(1, 2, 3))) {
          assertTrue(set.containsAll(subset));
        }
        for (Set<Integer> subset : Sets.powerSet(ImmutableSet.of(1, 2, 3))) {
          assertFalse(set.containsAll(Sets.union(subset, ImmutableSet.of(9))));
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java

      public void testContainsAll() {
        ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers());
        for (Set<Integer> subset : Sets.powerSet(ImmutableSet.of(1, 2, 3))) {
          assertTrue(set.containsAll(subset));
        }
        for (Set<Integer> subset : Sets.powerSet(ImmutableSet.of(1, 2, 3))) {
          assertFalse(set.containsAll(Sets.union(subset, ImmutableSet.of(9))));
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

                Range.closed(4, 6),
                Range.closedOpen(1, 3),
                Range.openClosed(5, 7),
                Range.open(3, 4));
        subsets:
        for (Set<Range<Integer>> subset : Sets.powerSet(ranges)) {
          assertEquals(TreeRangeSet.create(subset), ImmutableRangeSet.unionOf(subset));
    
          RangeSet<Integer> mutable = TreeRangeSet.create();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  6. README.md

    - [Português (Brazilian Portuguese)](docs/pt-BR/README.md)
    - [Français (French)](docs/fr/README.md)
    - [Deutsch (German)](docs/de/README.md)
    - [한국어 (Korean)](docs/ko/README.md)
    
    ## Powered By
    
    * [Lasta Di](https://github.com/lastaflute/lasta-di "Lasta Di"): DI Container
    * [LastaFlute](https://github.com/lastaflute/lastaflute "LastaFlute"): Web Framework
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 07:19:47 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. README.md

    [libraries](https://www.tensorflow.org/resources/libraries-extensions), and
    [community](https://www.tensorflow.org/community) resources that lets
    researchers push the state-of-the-art in ML and developers easily build and
    deploy ML-powered applications.
    
    TensorFlow was originally developed by researchers and engineers working within
    the Machine Intelligence team at Google Brain to conduct research in machine
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 05 15:00:10 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  8. docs/ja/README.md

    私たちは、あなたの言語でのプルリクエストを歓迎します。
    
    ## Powered By
    
    * [Lasta Di](https://github.com/lastaflute/lasta-di "Lasta Di"): DIコンテナ
    * [LastaFlute](https://github.com/lastaflute/lastaflute "LastaFlute"): Webフレームワーク
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 07:19:47 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/net/HttpHeaders.java

      /** The HTTP {@code X-Frame-Options} header field name. */
      public static final String X_FRAME_OPTIONS = "X-Frame-Options";
      /** The HTTP {@code X-Powered-By} header field name. */
      public static final String X_POWERED_BY = "X-Powered-By";
      /**
       * The HTTP <a href="http://tools.ietf.org/html/draft-evans-palmer-key-pinning">{@code
       * Public-Key-Pins}</a> header field name.
       *
       * @since 15.0
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 01 19:08:38 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.27.md

    deleting previously applied objects that have been removed from the input manifest. This feature has remained in alpha ever since due to performance and correctness issues inherent in its design. This PR exposes a second, independent pruning alpha powered by a new standard named `ApplySets`. An `ApplySet` is a server-side object (by default, a Secret; ConfigMaps are also allowed) that kubectl can use to accurately and efficiently track set membership across `apply` operations. The format used for `ApplySet`...
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Wed Jul 17 07:48:22 UTC 2024
    - 466.3K bytes
    - Viewed (0)
Back to top