Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2191 - 2200 of 3,501 for final (0.06 sec)

  1. guava-tests/test/com/google/common/io/CloserTest.java

        private final List<Suppression> suppressions = Lists.newArrayList();
    
        @Override
        public void suppress(Closeable closeable, Throwable thrown, Throwable suppressed) {
          suppressions.add(new Suppression(closeable, thrown, suppressed));
        }
      }
    
      /** Record of a call to suppress. */
      private static class Suppression {
        private final Closeable closeable;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Multimaps.java

          extends AbstractMultimap<K, V2> {
        final Multimap<K, V1> fromMultimap;
        final EntryTransformer<? super K, ? super V1, V2> transformer;
    
        TransformedEntriesMultimap(
            Multimap<K, V1> fromMultimap,
            final EntryTransformer<? super K, ? super V1, V2> transformer) {
          this.fromMultimap = checkNotNull(fromMultimap);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/UnsignedLongs.java

       * unless the user is actually calling a parse method.
       */
      private static final class ParseOverflowDetection {
        private ParseOverflowDetection() {}
    
        // calculated as 0xffffffffffffffff / radix
        static final long[] maxValueDivs = new long[Character.MAX_RADIX + 1];
        static final int[] maxValueMods = new int[Character.MAX_RADIX + 1];
        static final int[] maxSafeDigits = new int[Character.MAX_RADIX + 1];
    
        static {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 12 21:04:48 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

      public void testCount_elementPresent() {
        final int COUNT = 12;
        when(backingMap.get(KEY)).thenReturn(new AtomicInteger(COUNT));
    
        assertEquals(COUNT, multiset.count(KEY));
      }
    
      public void testCount_elementAbsent() {
        when(backingMap.get(KEY)).thenReturn(null);
    
        assertEquals(0, multiset.count(KEY));
      }
    
      public void testAdd_zero() {
        final int INITIAL_COUNT = 32;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/CacheStats.java

     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class CacheStats {
      private final long hitCount;
      private final long missCount;
      private final long loadSuccessCount;
      private final long loadExceptionCount;
    
      @SuppressWarnings("GoodTime") // should be a java.time.Duration
      private final long totalLoadTime;
    
      private final long evictionCount;
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/CacheStats.java

     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class CacheStats {
      private final long hitCount;
      private final long missCount;
      private final long loadSuccessCount;
      private final long loadExceptionCount;
    
      @SuppressWarnings("GoodTime") // should be a java.time.Duration
      private final long totalLoadTime;
    
      private final long evictionCount;
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/AbstractRangeSet.java

          RangeSet<?> other = (RangeSet<?>) obj;
          return this.asRanges().equals(other.asRanges());
        }
        return false;
      }
    
      @Override
      public final int hashCode() {
        return asRanges().hashCode();
      }
    
      @Override
      public final String toString() {
        return asRanges().toString();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/DescendingImmutableSortedSet.java

    /**
     * Skeletal implementation of {@link ImmutableSortedSet#descendingSet()}.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    final class DescendingImmutableSortedSet<E> extends ImmutableSortedSet<E> {
      private final ImmutableSortedSet<E> forward;
    
      DescendingImmutableSortedSet(ImmutableSortedSet<E> forward) {
        super(Ordering.from(forward.comparator()).reverse());
        this.forward = forward;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/BufferCacheImpl.java

    import jcifs.BufferCache;
    import jcifs.Configuration;
    
    
    /**
     * Cache for reusable byte buffers
     * 
     * @internal
     */
    public class BufferCacheImpl implements BufferCache {
    
        private final Object[] cache;
        private final int bufferSize;
        private int freeBuffers = 0;
    
    
        /**
         * 
         * @param cfg
         */
        public BufferCacheImpl ( Configuration cfg ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jan 24 11:40:34 UTC 2021
    - 2.9K bytes
    - Viewed (0)
Back to top