Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for sheugh (0.18 sec)

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

       * uncached value. This is defined as {@code hitCount + missCount}.
       *
       * <p><b>Note:</b> the values of the metrics are undefined in case of overflow (though it is
       * guaranteed not to throw an exception). If you require specific handling, we recommend
       * implementing your own stats collector.
       */
      public long requestCount() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 12.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/CacheStats.java

       * uncached value. This is defined as {@code hitCount + missCount}.
       *
       * <p><b>Note:</b> the values of the metrics are undefined in case of overflow (though it is
       * guaranteed not to throw an exception). If you require specific handling, we recommend
       * implementing your own stats collector.
       */
      public long requestCount() {
    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)
  3. android/guava/src/com/google/common/collect/Multiset.java

       * always have the same hash code.
       */
      @Override
      int hashCode();
    
      /**
       * {@inheritDoc}
       *
       * <p>It is recommended, though not mandatory, that this method return the result of invoking
       * {@link #toString} on the {@link #entrySet}, yielding a result such as {@code [a x 3, c, d x 2,
       * e]}.
       */
      @Override
      String toString();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 19.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        ReentrantLock lockD = otherFactory.newReentrantLock("LockD");
    
        // lockA -> lockD
        lockA.lock();
        lockD.lock();
        lockA.unlock();
        lockD.unlock();
    
        // lockD -> lockA should fail even though lockD is from a different factory.
        lockD.lock();
        PotentialDeadlockException expected =
            assertThrows(PotentialDeadlockException.class, () -> lockA.lock());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.1K bytes
    - Viewed (0)
  5. 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;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 18K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

              int entryCount = entry.getCount();
              return countMap.remove(element, entryCount);
            }
            return false;
          }
    
          /** The hash code is the same as countMap's, though the objects aren't equal. */
          @Override
          public int hashCode() {
            return countMap.hashCode();
          }
        }
    
        /** We use a special form of unboxing that treats null as zero. */
    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)
  7. guava-tests/test/com/google/common/collect/IterablesTest.java

        Iterable<Integer> source = Lists.newLinkedList(asList(1, 2, 3));
        Iterable<List<Integer>> partitions = Iterables.partition(source, 2);
        Iterator<List<Integer>> iterator = partitions.iterator();
        // Even though the input list doesn't implement RandomAccess, the output
        // lists do.
        assertTrue(iterator.next() instanceof RandomAccess);
        assertTrue(iterator.next() instanceof RandomAccess);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSetMultimap.java

         * multimap and its {@link Multimap#asMap()} view are {@link ImmutableSortedSet} instances.
         * However, serialization does not preserve that property, though it does maintain the key and
         * value ordering.
         *
         * @since 8.0
         */
        // TODO: Make serialization behavior consistent.
        @CanIgnoreReturnValue
        @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/IntMath.java

             * and halfSquare are integers, this is equivalent to testing whether or not x <=
             * halfSquare. (We have to deal with overflow, though.)
             *
             * If we treat halfSquare as an unsigned int, we know that
             *            sqrtFloor^2 <= x < (sqrtFloor + 1)^2
             * halfSquare - sqrtFloor <= x < halfSquare + sqrtFloor + 1
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         * The returned list of versions is only dependent on the configured repositories and their contents.
         * The supplied request may also refer to a single concrete version rather than a version range.
         * In this case though, the result contains simply the (parsed) input version, regardless of the
         * repositories and their contents.
         *
         * @param artifact the artifact for which to resolve the versions
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
Back to top