Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 432 for seats (0.16 sec)

  1. android/guava/src/com/google/common/collect/Sets.java

        return CartesianSet.create(sets);
      }
    
      /**
       * Returns every possible list that can be formed by choosing one element from each of the given
       * sets in order; the "n-ary <a href="http://en.wikipedia.org/wiki/Cartesian_product">Cartesian
       * product</a>" of the sets. For example:
       *
       * <pre>{@code
       * Sets.cartesianProduct(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        }
    
        CacheStats stats = cache.stats();
        assertEquals(removalListener.size(), stats.evictionCount());
        assertEquals(computeCount.get(), stats.loadSuccessCount());
        assertEquals(exceptionCount.get() + computeNullCount.get(), stats.loadExceptionCount());
        // each computed value is still in the cache, or was passed to the removal listener
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/AbstractCacheTest.java

        CacheStats stats = counter.snapshot();
        assertEquals(0, stats.requestCount());
        assertEquals(0, stats.hitCount());
        assertEquals(1.0, stats.hitRate());
        assertEquals(0, stats.missCount());
        assertEquals(0.0, stats.missRate());
        assertEquals(0, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
        assertEquals(0, stats.loadCount());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

        assertStatsApproxEqual(EMPTY_STATS_ITERABLE, emptyAccumulator.xStats());
        assertStatsApproxEqual(EMPTY_STATS_ITERABLE, emptyAccumulatorByAddAllEmptyPairedStats.xStats());
        assertStatsApproxEqual(ONE_VALUE_STATS, oneValueAccumulator.xStats());
        assertStatsApproxEqual(ONE_VALUE_STATS, oneValueAccumulatorByAddAllEmptyPairedStats.xStats());
        assertStatsApproxEqual(TWO_VALUES_STATS, twoValuesAccumulator.xStats());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 23.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

        assertStatsApproxEqual(EMPTY_STATS_ITERABLE, emptyAccumulator.xStats());
        assertStatsApproxEqual(EMPTY_STATS_ITERABLE, emptyAccumulatorByAddAllEmptyPairedStats.xStats());
        assertStatsApproxEqual(ONE_VALUE_STATS, oneValueAccumulator.xStats());
        assertStatsApproxEqual(ONE_VALUE_STATS, oneValueAccumulatorByAddAllEmptyPairedStats.xStats());
        assertStatsApproxEqual(TWO_VALUES_STATS, twoValuesAccumulator.xStats());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 23.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/SetOperationsTest.java

      @Override
      public void setUp() {
        friends = Sets.newHashSet("Tom", "Joe", "Dave");
        enemies = Sets.newHashSet("Dick", "Harry", "Tom");
      }
    
      public void testUnion() {
        Set<String> all = Sets.union(friends, enemies);
        assertEquals(5, all.size());
    
        ImmutableSet<String> immut = Sets.union(friends, enemies).immutableCopy();
        HashSet<String> mut = Sets.union(friends, enemies).copyInto(new HashSet<String>());
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

      // the CacheBuilder default).
      private Set<Integer> concurrencyLevels = Sets.newHashSet((Integer) null);
      private Set<Integer> initialCapacities = Sets.newHashSet((Integer) null);
      private Set<Integer> maximumSizes = Sets.newHashSet((Integer) null);
      private Set<DurationSpec> expireAfterWrites = Sets.newHashSet((DurationSpec) null);
      private Set<DurationSpec> expireAfterAccesses = Sets.newHashSet((DurationSpec) null);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/math/PairedStats.java

            "Expected PairedStats.BYTES = %s, got %s",
            BYTES,
            byteArray.length);
        ByteBuffer buffer = ByteBuffer.wrap(byteArray).order(ByteOrder.LITTLE_ENDIAN);
        Stats xStats = Stats.readFrom(buffer);
        Stats yStats = Stats.readFrom(buffer);
        double sumOfProductsOfDeltas = buffer.getDouble();
        return new PairedStats(xStats, yStats, sumOfProductsOfDeltas);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/collect/MultipleSetContainsBenchmark.java

          double setSize = rng.nextDouble();
          if (setSize < emptySetProportion) {
            sets[i] = ImmutableSet.of();
          } else if (setSize < emptySetProportion + singletonSetProportion) {
            sets[i] = ImmutableSet.of(PRESENT);
          } else {
            sets[i] = ImmutableSet.of(PRESENT, new Object());
          }
    
          if (rng.nextDouble() < hitRate) {
            queries[i] = PRESENT;
          } else {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java

            Helpers.mapEntry(k0(), v0()), Helpers.mapEntry(k1(), v0()), Helpers.mapEntry(k0(), v3()));
        Set<Entry<K, Collection<V>>> expected = Sets.newHashSet();
        expected.add(Helpers.mapEntry(k0(), (Collection<V>) Sets.newHashSet(v0(), v3())));
        expected.add(Helpers.mapEntry(k1(), (Collection<V>) Sets.newHashSet(v0())));
        new EqualsTester().addEqualityGroup(expected, multimap().asMap().entrySet()).testEquals();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.9K bytes
    - Viewed (0)
Back to top