Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for benoit (0.19 sec)

  1. android/guava/src/com/google/common/io/ByteSource.java

       * not required to be a {@link BufferedInputStream} in order to allow implementations to simply
       * delegate to {@link #openStream()} when the stream returned by that method does not benefit from
       * additional buffering (for example, a {@code ByteArrayInputStream}). This method returns a new,
       * independent stream each time it is called.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 26.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Monitor.java

     * one advantage is that we can introduce two separate {@code Condition} objects, which allows us to
     * use {@code signal()} instead of {@code signalAll()}, which may be a performance benefit.
     *
     * <pre>{@code
     * public class SafeBox<V> {
     *   private V value;
     *   private final ReentrantLock lock = new ReentrantLock();
     *   private final Condition valuePresent = lock.newCondition();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/CharMatcher.java

          tmp[5 - i] = hex.charAt(c & 0xF);
          c = (char) (c >> 4);
        }
        return String.copyValueOf(tmp);
      }
    
      // Fast matchers
    
      /** A matcher for which precomputation will not yield any significant benefit. */
      abstract static class FastMatcher extends CharMatcher {
    
        @Override
        public final CharMatcher precomputed() {
          return this;
        }
    
        @Override
        public CharMatcher negate() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/internal/Finalizer.java

       *     associated FinalizableReferenceQueue is no longer referenced.
       */
      private boolean finalizeReference(Reference<?> reference, Method finalizeReferentMethod) {
        /*
         * This is for the benefit of phantom references. Weak and soft references will have already
         * been cleared by this point.
         */
        reference.clear();
    
        if (reference == frqReference) {
          /*
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Aug 23 12:54:09 GMT 2023
    - 9.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/CompactHashMap.java

       * world. Figure out what sort of space-time tradeoff we're actually going to get here with the
       * *Map variants. This class is particularly hard to benchmark, because the benefit is not only in
       * less allocation, but also having the GC do less work to scan the heap because of fewer
       * references, which is particularly hard to quantify.
       */
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 39.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Converter.java

       * we've chosen to instead use a signature that benefits existing users -- and is still safe.
       *
       * For convertAll, I haven't looked as closely at *how* much existing users benefit, so we should
       * keep an eye out for problems that new users encounter. Note also that convertAll could support
       * both use cases by using @PolyNull. (By contrast, we can't use @PolyNull for our superinterface
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

       * @param offset the offset into the array at which to start
       * @return the value found in the array in the form of a long
       */
      static int load32(byte[] source, int offset) {
        // TODO(user): Measure the benefit of delegating this to LittleEndianBytes also.
        return (source[offset] & 0xFF)
            | ((source[offset + 1] & 0xFF) << 8)
            | ((source[offset + 2] & 0xFF) << 16)
            | ((source[offset + 3] & 0xFF) << 24);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

            // run() on the same thread that called execute() - such as in a thread pool, and think
            // that it was happening inline. As a side benefit, avoids holding on to the Thread object
            // longer than necessary.
            submitting = null;
          }
        }
    
        @SuppressWarnings("ShortCircuitBoolean")
        @Override
        public void run() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/CharMatcher.java

          tmp[5 - i] = hex.charAt(c & 0xF);
          c = (char) (c >> 4);
        }
        return String.copyValueOf(tmp);
      }
    
      // Fast matchers
    
      /** A matcher for which precomputation will not yield any significant benefit. */
      abstract static class FastMatcher extends CharMatcher {
    
        @Override
        public final CharMatcher precomputed() {
          return this;
        }
    
        @Override
        public CharMatcher negate() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/BloomFilter.java

       *
       * <p>The constructed {@code BloomFilter} will be serializable if the provided {@code Funnel<T>}
       * is.
       *
       * <p>It is recommended that the funnel be implemented as a Java enum. This has the benefit of
       * ensuring proper serialization and deserialization, which is important since {@link #equals}
       * also relies on object identity of funnels.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
Back to top