Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 52 for blocky (0.16 sec)

  1. guava/src/com/google/common/base/Predicates.java

       * future changes to it will alter the behavior of the predicate.
       *
       * <p>This method can technically accept any {@code Collection<?>}, but using a typed collection
       * helps prevent bugs. This approach doesn't block any potential users since it is always possible
       * to use {@code Predicates.<Object>in()}.
       *
       * @param target the collection that may contain the function input
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/LocalCache.java

        }
      }
    
      /** A reference to a value. */
      interface ValueReference<K, V> {
        /** Returns the value. Does not block or throw exceptions. */
        @CheckForNull
        V get();
    
        /**
         * Waits for a value that may still be loading. Unlike get(), this method can block (in the case
         * of FutureValueReference).
         *
         * @throws ExecutionException if the loading thread throws an exception
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        valueRef.clear();
        assertNotSame(value, map.get(key, loader));
        assertEquals(1, loader.getCount());
        assertEquals(1, segment.count);
      }
    
      @AndroidIncompatible // Perhaps emulator clock does not update between the two get() calls?
      public void testComputeExpiredEntry() throws ExecutionException {
        CacheBuilder<Object, Object> builder =
            createCacheBuilder().expireAfterWrite(1, TimeUnit.NANOSECONDS);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        valueRef.clear();
        assertNotSame(value, map.get(key, loader));
        assertEquals(1, loader.getCount());
        assertEquals(1, segment.count);
      }
    
      @AndroidIncompatible // Perhaps emulator clock does not update between the two get() calls?
      public void testComputeExpiredEntry() throws ExecutionException {
        CacheBuilder<Object, Object> builder =
            createCacheBuilder().expireAfterWrite(1, TimeUnit.NANOSECONDS);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/SuppliersTest.java

                  if (System.nanoTime() - t0 > timeout) {
                    thrown.set(
                        new TimeoutException(
                            "timed out waiting for other threads to block"
                                + " synchronizing on supplier"));
                    break;
                  }
                  Thread.yield();
                }
                count.getAndIncrement();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 18.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/SuppliersTest.java

                  if (System.nanoTime() - t0 > timeout) {
                    thrown.set(
                        new TimeoutException(
                            "timed out waiting for other threads to block"
                                + " synchronizing on supplier"));
                    break;
                  }
                  Thread.yield();
                }
                count.getAndIncrement();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 18.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/ByteStreams.java

        return processor.getResult();
      }
    
      /**
       * Reads some bytes from an input stream and stores them into the buffer array {@code b}. This
       * method blocks until {@code len} bytes of input data have been read into the array, or end of
       * file is detected. The number of bytes read is returned, possibly zero. Does not close the
       * stream.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Charsets.java

     * @since 1.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class Charsets {
      private Charsets() {}
    
      /**
       * US-ASCII: seven-bit ASCII, the Basic Latin block of the Unicode character set (ISO646-US).
       *
       * <p><b>Java 7+ users:</b> this constant should be treated as deprecated; use {@link
       * java.nio.charset.StandardCharsets#US_ASCII} instead.
       *
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

          /*
           * Using weak references here could let us release exceptions earlier, but:
           *
           * 1. On Android, querying a WeakReference blocks if the GC is doing an otherwise-concurrent
           * pass.
           *
           * 2. We would probably choose to compare exceptions using == instead of equals() (for
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

              ScheduledFuture<?> timer = timeoutFuture.timer;
              timeoutFuture.timer = null; // Don't include already elapsed delay in delegate.toString()
              String message = "Timed out";
              // This try-finally block ensures that we complete the timeout future, even if attempting
              // to produce the message throws (probably StackOverflowError from delegate.toString())
              try {
                if (timer != null) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 7.7K bytes
    - Viewed (0)
Back to top