Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 219 for beer (2.8 sec)

  1. android/guava/src/com/google/common/cache/CacheStats.java

        long totalLoadCount = saturatedAdd(loadSuccessCount, loadExceptionCount);
        return (totalLoadCount == 0) ? 0.0 : (double) totalLoadTime / totalLoadCount;
      }
    
      /**
       * Returns the number of times an entry has been evicted. This count does not include manual
       * {@linkplain Cache#invalidate invalidations}.
       */
      public long evictionCount() {
        return evictionCount;
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 12.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

         * nature of the read operations in Map. For example, no operation can reveal that the table
         * has grown but the threshold has not yet been updated, so there are no atomicity requirements
         * for this with respect to reads.
         *
         * As a guide, all critical volatile reads and writes to the count field are marked in code
         * comments.
         */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

       * LinkedHashMap because one target node may be mapped to both a predecessor and a successor. A
       * LinkedHashMap combines two such edges into a single node-value pair, even though the edges may
       * not have been inserted consecutively.
       */
      @CheckForNull private final List<NodeConnection<N>> orderedNodeConnections;
    
      private int predecessorCount;
      private int successorCount;
    
      private DirectedGraphConnections(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 18K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

            // The trickled element is still after index.
            return new MoveDesc<>(actualLastElement, toTrickle);
          } else {
            // The trickled element is back before index, but the replaced element
            // has now been moved after index.
            return new MoveDesc<>(actualLastElement, changes.replaced);
          }
        }
        // Trickled element was after index to begin with, no adjustment needed.
        return changes;
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

         * {@code oldCount} times, no changes will be made.
         *
         * @return {@code true} if the change was successful. This usually indicates that the multiset
         *     has been modified, but not always: in the case that {@code oldCount == newCount}, the
         *     method will return {@code true} if the condition was met.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed May 09 15:17:25 GMT 2018
    - 16.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

          assertEquals(
              "Unexpected key/value pair passed to removalListener",
              notification.getKey(),
              notification.getValue());
        }
    
        // All of the seed values should have been visible, so we should have gotten removal
        // notifications for all of them.
        for (int i = 0; i < nSeededEntries; i++) {
          assertEquals("b" + i, removalNotifications.get("b" + i));
        }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/CharSource.java

        } finally {
          closer.close();
        }
      }
    
      /**
       * Reads lines of text from this source, processing each line as it is read using the given {@link
       * LineProcessor processor}. Stops when all lines have been processed or the processor returns
       * {@code false} and returns the result produced by the processor.
       *
       * <p>Like {@link BufferedReader#readLine()}, this method considers a line to be a sequence of
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 22.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/ByteSource.java

        } finally {
          closer.close();
        }
      }
    
      /**
       * Reads the contents of this byte source using the given {@code processor} to process bytes as
       * they are read. Stops when all bytes have been read or the consumer returns {@code false}.
       * Returns the result produced by the processor.
       *
       * @throws IOException if an I/O error occurs while reading from this source or if {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 26.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

                 * exception in seenExceptions. When we complete secondFuture with the same exception,
                 * we want for AggregateFuture to still detect that it's been previously seen.
                 */
                secondFuture.setException(sameInstance);
              }
            },
            directExecutor());
        firstFuture.setException(sameInstance);
    
        try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Sets.java

       * elements without resizing. Note that this is not what {@link HashSet#HashSet(int)} does, but it
       * is what most users want and expect it to do.
       *
       * <p>This behavior can't be broadly guaranteed, but has been tested with OpenJDK 1.7 and 1.8.
       *
       * @param expectedSize the number of elements you expect to add to the returned set
       * @return a new, empty hash set with enough capacity to hold {@code expectedSize} elements
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
Back to top