Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 75 for Holler (0.15 sec)

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

          if (isSatisfied(guard)) {
            guard.condition.signal();
            break;
          }
        }
      }
    
      /**
       * Exactly like signalNextWaiter, but caller guarantees that guardToSkip need not be considered,
       * because caller has previously checked that guardToSkip.isSatisfied() returned false. An
       * optimization for the case that guardToSkip.isSatisfied() may be expensive.
       *
    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)
  2. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        ImmutableListMultimap.Builder<String, Integer> builder = new Builder<>();
        final StringHolder holder = new StringHolder();
        holder.string = "one";
        Entry<String, Integer> entry =
            new AbstractMapEntry<String, Integer>() {
              @Override
              public String getKey() {
                return holder.string;
              }
    
              @Override
              public Integer getValue() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        ImmutableSetMultimap.Builder<String, Integer> builder = new Builder<>();
        final StringHolder holder = new StringHolder();
        holder.string = "one";
        Entry<String, Integer> entry =
            new AbstractMapEntry<String, Integer>() {
              @Override
              public String getKey() {
                return holder.string;
              }
    
              @Override
              public Integer getValue() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

        ImmutableSortedMap.Builder<String, Integer> builder = ImmutableSortedMap.naturalOrder();
        final StringHolder holder = new StringHolder();
        holder.string = "one";
        Entry<String, Integer> entry =
            new AbstractMapEntry<String, Integer>() {
              @Override
              public String getKey() {
                return holder.string;
              }
    
              @Override
              public Integer getValue() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/reflect/TypeResolver.java

            }
          }
          mappings.put(var, arg);
        }
      }
    
      // This is needed when resolving types against a context with wildcards
      // For example:
      // class Holder<T> {
      //   void set(T data) {...}
      // }
      // Holder<List<?>> should *not* resolve the set() method to set(List<?> data).
      // Instead, it should create a capture of the wildcard so that set() rejects any List<T>.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 24.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ComparisonChain.java

     *
     * <p><b>Note:</b> {@code ComparisonChain} instances are <b>immutable</b>. For this utility to work
     * correctly, calls must be chained as illustrated above.
     *
     * <p>Performance note: Even though the {@code ComparisonChain} caller always invokes its {@code
     * compare} methods unconditionally, the {@code ComparisonChain} implementation stops calling its
     * inputs' {@link Comparable#compareTo compareTo} and {@link Comparator#compare compare} methods as
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Sep 21 17:28:11 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

          return policy == Policies.DISABLED
              ? new ReentrantLock(fair)
              // requireNonNull is safe because createNodes inserts an entry for every E.
              // (If the caller passes `null` for the `rank` parameter, this will throw, but that's OK.)
              : new CycleDetectingReentrantLock(requireNonNull(lockGraphNodes.get(rank)), fair);
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Suppliers.java

        @ParametricNullness
        public T get() {
          // Another variant of Double Checked Locking.
          //
          // We use two volatile reads. We could reduce this to one by
          // putting our fields into a holder class, but (at least on x86)
          // the extra memory consumption and indirection are more
          // expensive than the extra volatile reads.
          long nanos = expirationNanos;
          long now = System.nanoTime();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

      private boolean canAcquire(long nowMicros, long timeoutMicros) {
        return queryEarliestAvailable(nowMicros) - timeoutMicros <= nowMicros;
      }
    
      /**
       * Reserves next ticket and returns the wait time that the caller must wait for.
       *
       * @return the required wait time, never negative
       */
      final long reserveAndGetWaitLength(int permits, long nowMicros) {
        long momentAvailable = reserveEarliestAvailable(permits, nowMicros);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

                Serialization.getFieldSetter(ImmutableSetMultimap.class, "emptySet");
      }
    
      @GwtIncompatible // java.io.ObjectInputStream
      @J2ktIncompatible
      // Serialization type safety is at the caller's mercy.
      @SuppressWarnings("unchecked")
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 23.6K bytes
    - Viewed (0)
Back to top