Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for diff (0.16 sec)

  1. guava-tests/test/com/google/common/cache/CacheStatsTest.java

        CacheStats diff = two.minus(one);
        assertEquals(76, diff.requestCount());
        assertEquals(42, diff.hitCount());
        assertEquals(42.0 / 76, diff.hitRate());
        assertEquals(34, diff.missCount());
        assertEquals(34.0 / 76, diff.missRate());
        assertEquals(26, diff.loadSuccessCount());
        assertEquals(22, diff.loadExceptionCount());
        assertEquals(22.0 / 48, diff.loadExceptionRate());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Sun Jun 30 14:58:49 GMT 2019
    - 4.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/CacheStatsTest.java

        CacheStats diff = two.minus(one);
        assertEquals(76, diff.requestCount());
        assertEquals(42, diff.hitCount());
        assertEquals(42.0 / 76, diff.hitRate());
        assertEquals(34, diff.missCount());
        assertEquals(34.0 / 76, diff.missRate());
        assertEquals(26, diff.loadSuccessCount());
        assertEquals(22, diff.loadExceptionCount());
        assertEquals(22.0 / 48, diff.loadExceptionRate());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Jun 30 14:58:49 GMT 2019
    - 4.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/ToDoubleRounder.java

              }
    
              X deltaToFloor = minus(x, roundFloor);
              X deltaToCeiling = minus(roundCeiling, x);
              int diff = deltaToFloor.compareTo(deltaToCeiling);
              if (diff < 0) { // closer to floor
                return roundFloorAsDouble;
              } else if (diff > 0) { // closer to ceiling
                return roundCeilingAsDouble;
              }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  4. README.md

    using version `HEAD-jre-SNAPSHOT`, or `HEAD-android-SNAPSHOT` for the Android
    flavor.
    
    -   Snapshot API Docs: [guava][guava-snapshot-api-docs]
    -   Snapshot API Diffs: [guava][guava-snapshot-api-diffs]
    
    ## Learn about Guava
    
    -   Our users' guide, [Guava Explained]
    -   [A nice collection](https://www.tfnico.com/presentations/google-guava) of
        other helpful links
    
    ## Links
    
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/RegularImmutableSet.java

      @Override
      public int size() {
        return size;
      }
    
      // We're careful to put only E instances into the array in the mainline.
      // (In the backport, we don't need this suppression, but we keep it to minimize diffs.)
      @SuppressWarnings("unchecked")
      @Override
      public UnmodifiableIterator<E> iterator() {
        return asList().iterator();
      }
    
      @Override
      @Nullable
      Object[] internalArray() {
        return elements;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/LongAdderTest.java

       * No-op null-pointer test for {@link LongAdder} to override the {@link PackageSanityTests}
       * version, which checks package-private methods that we don't want to have to annotate as {@code
       * Nullable} because we don't want diffs from jsr166e.
       */
      public void testNulls() {}
    
      public void testOverflows() {
        LongAdder longAdder = new LongAdder();
        longAdder.add(Long.MAX_VALUE);
        assertThat(longAdder.sum()).isEqualTo(Long.MAX_VALUE);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jul 09 04:11:29 GMT 2019
    - 1.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/LongAdderTest.java

       * No-op null-pointer test for {@link LongAdder} to override the {@link PackageSanityTests}
       * version, which checks package-private methods that we don't want to have to annotate as {@code
       * Nullable} because we don't want diffs from jsr166e.
       */
      public void testNulls() {}
    
      public void testOverflows() {
        LongAdder longAdder = new LongAdder();
        longAdder.add(Long.MAX_VALUE);
        assertThat(longAdder.sum()).isEqualTo(Long.MAX_VALUE);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jul 09 04:11:29 GMT 2019
    - 1.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/AbstractBaseGraph.java

      protected final void validateEndpoints(EndpointPair<?> endpoints) {
        checkNotNull(endpoints);
        checkArgument(isOrderingCompatible(endpoints), ENDPOINTS_MISMATCH);
      }
    
      /**
       * Returns {@code true} iff {@code endpoints}' ordering is compatible with the directionality of
       * this graph.
       */
      protected final boolean isOrderingCompatible(EndpointPair<?> endpoints) {
        return endpoints.isOrdered() == this.isDirected();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
Back to top