Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for powerSet (0.17 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
Back to top