Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 77 for blocky (4.19 sec)

  1. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
      }
    
      /*
       * Whenever an implementation uses `instanceof` on a parameter instance, the test has to know that
       * (so much for "black box") and try instances that both do and don't pass the check. The "don't"
       * half of that is more awkward to arrange...
       */
      private static <T> Iterable<T> iterable(final Collection<T> collection) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 06 15:23:21 UTC 2023
    - 20K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        }
      }
    
      /** Wait for the given thread to reach the {@link State#TIMED_WAITING} thread state. */
      void awaitTimedWaiting(Thread thread) {
        while (true) {
          switch (thread.getState()) {
            case BLOCKED:
            case NEW:
            case RUNNABLE:
            case WAITING:
              Thread.yield();
              break;
            case TIMED_WAITING:
              return;
            case TERMINATED:
            default:
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 28.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/Files.java

       * be exploited to create security vulnerabilities, especially when executable files are to be
       * written into the directory.
       *
       * <p>This method assumes that the temporary volume is writable, has free inodes and free blocks,
       * and that it will not be called thousands of times per second.
       *
       * <p><b>{@link java.nio.file.Path} equivalent:</b> {@link
       * java.nio.file.Files#createTempDirectory}.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/OverflowAvoidingLockSupport.java

      private OverflowAvoidingLockSupport() {}
    
      static void parkNanos(@CheckForNull Object blocker, long nanos) {
        // Even in the extremely unlikely event that a thread unblocks itself early after only 68 years,
        // this is indistinguishable from a spurious wakeup, which LockSupport allows.
        LockSupport.parkNanos(blocker, min(nanos, MAX_NANOSECONDS_THRESHOLD));
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

        //            (__)\       )\/\
        //                ||----w |
        //                ||     ||
        Runnable state = get();
        Blocker blocker = null;
        while (state instanceof Blocker || state == PARKED) {
          if (state instanceof Blocker) {
            blocker = (Blocker) state;
          }
          spinCount++;
          if (spinCount > MAX_BUSY_WAIT_SPINS) {
            /*
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Sep 29 21:34:48 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

        byte[] key = fillByteArray(80, 0xaa);
        String data = "Test Using Larger Than Block-Size Key - Hash Key First";
    
        checkSha1("aa4ae5e15272d00e95705637ce8a3b55ed402112", key, data);
      }
    
      public void testRfc2202_hmacSha1_case7() {
        byte[] key = fillByteArray(80, 0xaa);
        String data = "Test Using Larger Than Block-Size Key and Larger Than One Block-Size Data";
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/Striped.java

         * error-prone code like:
         *
         * Striped<Lock> stripedLock = Striped.lazyWeakXXX(...)'
         * Iterable<Lock> locks = stripedLock.bulkGet(keys);
         * for (Lock lock : locks) {
         *   lock.lock();
         * }
         * operation();
         * for (Lock lock : locks) {
         *   lock.unlock();
         * }
         *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 10 20:55:18 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  8. futures/failureaccess/src/com/google/common/util/concurrent/internal/InternalFutures.java

       * then:
       *
       * <ul>
       *   <li>{@code isDone()} must return {@code true}
       *   <li>{@code isCancelled()} must return {@code false}
       *   <li>{@code get()} must not block, and it must throw an {@code ExecutionException} with the
       *       return value of this method as its cause
       * </ul>
       */
      public static
          Throwable tryInternalFastPathGetFailure(InternalFutureFailureAccess future) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. 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.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jan 17 18:59:58 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

     * strategies.
     *
     * <ul>
     *   <li>SafeAtomicHelper: uses Atomic FieldsUpdaters to implement synchronization
     *   <li>SynchronizedHelper: uses {@code synchronized} blocks for synchronization
     * </ul>
     *
     * To force selection of our fallback strategies we load {@link AggregateFutureState} (and all of
     * {@code com.google.common.util.concurrent}) in degenerate class loaders which make certain
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 5.9K bytes
    - Viewed (0)
Back to top