Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 171 for urgent (0.18 sec)

  1. android/guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

        while (true) {
          long current = longs.get(i);
          double currentVal = longBitsToDouble(current);
          double nextVal = currentVal + delta;
          long next = doubleToRawLongBits(nextVal);
          if (longs.compareAndSet(i, current, next)) {
            return nextVal;
          }
        }
      }
    
      /**
       * Returns the String representation of the current values of array.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

        when(backingMap.get(KEY)).thenReturn(current);
        // it's ok if removal fails: another thread may have done the remove
        when(backingMap.remove(KEY, current)).thenReturn(false);
    
        assertEquals(countToRemove, multiset.remove(KEY, countToRemove));
        assertEquals(0, current.get());
      }
    
      public void testRemoveExactly() {
    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/primitives/UnsignedLongs.java

         */
        static boolean overflowInParse(long current, int digit, int radix) {
          if (current >= 0) {
            if (current < maxValueDivs[radix]) {
              return false;
            }
            if (current > maxValueDivs[radix]) {
              return true;
            }
            // current == maxValueDivs[radix]
            return (digit > maxValueMods[radix]);
          }
    
          // current < 0: high bit is set
          return true;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/CompactHashSet.java

        if (delegate != null) {
          return delegate.add(object);
        }
        int[] entries = requireEntries();
        @Nullable Object[] elements = requireElements();
    
        int newEntryIndex = this.size; // current size, and pointer to the entry to be appended
        int newSize = newEntryIndex + 1;
        int hash = smearedHash(object);
        int mask = hashTableMask();
        int tableIndex = hash & mask;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/escape/Escapers.java

              return null;
            }
          };
    
      /**
       * Returns a builder for creating simple, fast escapers. A builder instance can be reused and each
       * escaper that is created will be a snapshot of the current builder state. Builders are not
       * thread safe.
       *
       * <p>The initial state of the builder is such that:
       *
       * <ul>
       *   <li>There are no replacement mappings
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

            if (shouldStop) {
              break;
            }
            interruptee.interrupt();
          }
        }
    
        void stopInterrupting() {
          shouldStop = true;
        }
      }
    
      /** Interrupts the current thread after sleeping for the specified delay. */
      static void requestInterruptIn(final long time, final TimeUnit unit) {
        checkNotNull(unit);
        final Thread interruptee = Thread.currentThread();
        new Thread(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/CompactHashMap.java

      //
      // The `table` array always has a size that is a power of 2. The hashcode of a key in the map
      // 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
    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)
  8. guava/src/com/google/common/base/FinalizableReferenceQueue.java

       */
      static class DecoupledLoader implements FinalizerLoader {
        private static final String LOADING_ERROR =
            "Could not load Finalizer in its own class loader. Loading Finalizer in the current class "
                + "loader instead. As a result, you will not be able to garbage collect this class "
                + "loader. To support reclaiming this class loader, either resolve the underlying "
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/FinalizableReferenceQueue.java

       */
      static class DecoupledLoader implements FinalizerLoader {
        private static final String LOADING_ERROR =
            "Could not load Finalizer in its own class loader. Loading Finalizer in the current class "
                + "loader instead. As a result, you will not be able to garbage collect this class "
                + "loader. To support reclaiming this class loader, either resolve the underlying "
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/ParametricNullness.java

     *       argument is non-nullable and (b) nullable when the type argument is nullable. We use this
     *       to "undo" {@link ElementTypesAreNonnullByDefault}. It is the best we can do for Kotlin
     *       under our current constraints.
     *   <li>NullAway, which will <a
     *       href="https://github.com/google/guava/issues/6126#issuecomment-1204399671">treat it
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Aug 10 21:27:51 GMT 2022
    - 4.1K bytes
    - Viewed (0)
Back to top