Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for Due (0.52 sec)

  1. android/guava/src/com/google/common/math/PairedStatsAccumulator.java

       *
       * <p>This is guaranteed to return zero if the dataset contains a single pair of finite values. It
       * is not guaranteed to return zero when the dataset consists of the same pair of values multiple
       * times, due to numerical errors.
       *
       * <h3>Non-finite values</h3>
       *
       * <p>If the dataset contains any non-finite values ({@link Double#POSITIVE_INFINITY}, {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

        AtomicInteger existingZero = new AtomicInteger(0);
    
        // initial map.get()
        when(backingMap.get(KEY)).thenReturn(null);
        // since get returned null, try a putIfAbsent; that fails due to a simulated race
        when(backingMap.putIfAbsent(eq(KEY), isA(AtomicInteger.class))).thenReturn(existingZero);
        // since the putIfAbsent returned a zero, we'll try to replace...
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/RemovalCause.java

          return true;
        }
      },
    
      /**
       * The entry was evicted due to size constraints. This can occur when using {@link
       * CacheBuilder#maximumSize} or {@link CacheBuilder#maximumWeight}.
       */
      SIZE {
        @Override
        boolean wasEvicted() {
          return true;
        }
      };
    
      /**
       * Returns {@code true} if there was an automatic removal due to eviction (the cause is neither
       * {@link #EXPLICIT} nor {@link #REPLACED}).
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 2.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

     *
     * @param <L> the type of the lock-like object to be used
     * @author Justin T. Sampson
     */
    public final class TestThread<L> extends Thread implements TearDown {
    
      private static final long DUE_DILIGENCE_MILLIS = 100;
      private static final long TIMEOUT_MILLIS = 5000;
    
      private final L lockLikeObject;
    
      private final SynchronousQueue<Request> requestQueue = new SynchronousQueue<>();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/math/LinearTransformationTest.java

        assertThat(transformation.isHorizontal()).isFalse();
        assertThat(transformation.slope()).isWithin(ALLOWED_ERROR).of(slope);
        // Note that we cannot test the actual mapping of points, as the results will be unreliable due
        // to loss of precision with this value of the slope.
      }
    
      public void testMappingWithSlope_maximalSlope() {
        double x1 = 1.2;
        double y1 = 3.4;
        double slope = Double.MAX_VALUE;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/LinearTransformationTest.java

        assertThat(transformation.isHorizontal()).isFalse();
        assertThat(transformation.slope()).isWithin(ALLOWED_ERROR).of(slope);
        // Note that we cannot test the actual mapping of points, as the results will be unreliable due
        // to loss of precision with this value of the slope.
      }
    
      public void testMappingWithSlope_maximalSlope() {
        double x1 = 1.2;
        double y1 = 3.4;
        double slope = Double.MAX_VALUE;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/SignedBytes.java

      // TODO(kevinb): if Ints.compare etc. are ever removed, *maybe* remove this
      // one too, which would leave compare methods only on the Unsigned* classes.
      public static int compare(byte a, byte b) {
        return a - b; // safe due to restricted range
      }
    
      /**
       * Returns the least value present in {@code array}.
       *
       * @param array a <i>nonempty</i> array of {@code byte} values
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 22 13:09:25 GMT 2021
    - 7.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/AbstractCache.java

        void recordLoadException(long loadTime);
    
        /**
         * Records the eviction of an entry from the cache. This should only been called when an entry
         * is evicted due to the cache's eviction strategy, and not as a result of manual {@linkplain
         * Cache#invalidate invalidations}.
         */
        void recordEviction();
    
        /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 9.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/RemovalCause.java

          return true;
        }
      },
    
      /**
       * The entry was evicted due to size constraints. This can occur when using {@link
       * CacheBuilder#maximumSize} or {@link CacheBuilder#maximumWeight}.
       */
      SIZE {
        @Override
        boolean wasEvicted() {
          return true;
        }
      };
    
      /**
       * Returns {@code true} if there was an automatic removal due to eviction (the cause is neither
       * {@link #EXPLICIT} nor {@link #REPLACED}).
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 2.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/Crc32cHashFunction.java

         * and then to XOR them together.  The STRIDE_TABLE enables us to hash an int followed by 12
         * zero bytes (3 ints), while the BYTE_TABLE is for advancing one byte at a time.
         * This algorithm is due to the paper "Everything we know about CRC but [are] afraid to forget"
         * by Kadatch and Jenkins, 2010.
         */
    
        Crc32cHasher() {
          super(16);
        }
    
        private boolean finished = false;
    
        /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 21.3K bytes
    - Viewed (0)
Back to top