Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for bottom (0.33 sec)

  1. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

        private static final sun.misc.Unsafe UNSAFE;
        private static final long HEAD_OFFSET;
    
        /**
         * A special instance of {@link RunnableExecutorPair} that is used as a sentinel value for the
         * bottom of the stack.
         */
        private static final RunnableExecutorPair NULL_PAIR = new RunnableExecutorPair(null, null);
    
        static {
          try {
            UNSAFE = getUnsafe();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 20.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/CompactHashMap.java

      // is masked in order to correspond to the current table size. For example, if the table size
      // is 128 then the mask is 127 == 0x7f, keeping the bottom 7 bits of the hash value.
      // If a key hashes to 0x89abcdef the mask reduces it to 0x89abcdef & 0x7f == 0x6f. We'll call this
      // the "short hash".
      //
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 35.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

        Heap heap = heapForIndex(index);
        // We consider elementData(index) a "hole", and we want to fill it
        // with the last element of the heap, toTrickle.
        // Since the last element of the heap is from the bottom level, we
        // optimistically fill index position with elements from lower levels,
        // moving the hole down. In most cases this reduces the number of
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

      public V get(long timeout, TimeUnit unit)
          throws InterruptedException, TimeoutException, ExecutionException {
        // NOTE: if timeout < 0, remainingNanos will be < 0 and we will fall into the while(true) loop
        // at the bottom and throw a timeoutexception.
        final long timeoutNanos = unit.toNanos(timeout); // we rely on the implicit null check on unit.
        long remainingNanos = timeoutNanos;
        if (Thread.interrupted()) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

        private static final sun.misc.Unsafe UNSAFE;
        private static final long HEAD_OFFSET;
    
        /**
         * A special instance of {@link RunnableExecutorPair} that is used as a sentinel value for the
         * bottom of the stack.
         */
        private static final RunnableExecutorPair NULL_PAIR = new RunnableExecutorPair(null, null);
    
        static {
          try {
            UNSAFE = getUnsafe();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 20.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/CompactHashMap.java

      // is masked in order to correspond to the current table size. For example, if the table size
      // is 128 then the mask is 127 == 0x7f, keeping the bottom 7 bits of the hash value.
      // If a key hashes to 0x89abcdef the mask reduces it to 0x89abcdef & 0x7f == 0x6f. We'll call this
      // the "short hash".
      //
    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)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

      // non-null instance of Ordering.natural().
      // (cpovirk: Is sortedDelegate's comparator really ever null?)
      // The comparator will likely also differ because of our nullAccepting hack.
      // See the bottom of the file for more information about it.
      private final transient Comparator<? super K> comparator;
    
      ImmutableSortedMap(SortedMap<K, V> delegate, Comparator<? super K> comparator) {
        super(delegate);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

                    // to
                    // ensure that the thread running the failure callbacks is not the main thread.
                    Uninterruptibles.awaitUninterruptibly(afterStarted);
                    notifyFailed(new Exception("boom"));
                  }
                }.start();
              }
    
              @Override
              protected void doStop() {
                notifyStopped();
              }
            };
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

                      if (state() != State.STARTING) {
                        inGetNextSchedule.await();
                        Thread.yield();
                        throw new RuntimeException("boom");
                      }
                      return new Schedule(0, NANOSECONDS);
                    }
                  };
                }
              };
          service.startAsync().awaitRunning();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

                      if (state() != State.STARTING) {
                        inGetNextSchedule.await();
                        Thread.yield();
                        throw new RuntimeException("boom");
                      }
                      return new Schedule(0, NANOSECONDS);
                    }
                  };
                }
              };
          service.startAsync().awaitRunning();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.5K bytes
    - Viewed (0)
Back to top