Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 257 for maxValue (0.1 sec)

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

        // Setup
        File file = createTempFile();
        // Test
        assertThrows(
            IllegalArgumentException.class,
            () -> Files.map(file, MapMode.READ_WRITE, (long) Integer.MAX_VALUE + 1));
      }
    
      public void testGetFileExtension() {
        assertEquals("txt", Files.getFileExtension(".txt"));
        assertEquals("txt", Files.getFileExtension("blah.txt"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/CharSource.java

        } finally {
          closer.close();
        }
      }
    
      private long countBySkipping(Reader reader) throws IOException {
        long count = 0;
        long read;
        while ((read = reader.skip(Long.MAX_VALUE)) != 0) {
          count += read;
        }
        return count;
      }
    
      /**
       * Appends the contents of this source to the given {@link Appendable} (such as a {@link Writer}).
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        ZERO(0L, "0ms"),
        SMALL(SMALL_TIMEOUT_MILLIS, SMALL_TIMEOUT_MILLIS + "ms"),
        LARGE(UNEXPECTED_HANG_DELAY_MILLIS * 2, (2 * UNEXPECTED_HANG_DELAY_MILLIS) + "ms"),
        MAX(Long.MAX_VALUE, "+oo");
    
        final long millis;
        final String label;
    
        Timeout(long millis, String label) {
          this.millis = millis;
          this.label = label;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        ZERO(0L, "0ms"),
        SMALL(SMALL_TIMEOUT_MILLIS, SMALL_TIMEOUT_MILLIS + "ms"),
        LARGE(UNEXPECTED_HANG_DELAY_MILLIS * 2, (2 * UNEXPECTED_HANG_DELAY_MILLIS) + "ms"),
        MAX(Long.MAX_VALUE, "+oo");
    
        final long millis;
        final String label;
    
        Timeout(long millis, String label) {
          this.millis = millis;
          this.label = label;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

     * and a fixed number of values. Each key must match the regex `[a-z0-9_-]{1,64}`. Values are byte
     * sequences, accessible as streams or files. Each value must be between `0` and `Int.MAX_VALUE`
     * bytes in length.
     *
     * The cache stores its data in a directory on the filesystem. This directory must be exclusive to
     * the cache; the cache may delete or overwrite files from its directory. It is an error for
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

         */
        private static final int UNSET_EXPECTED_SIZE = -1;
    
        private final Comparator<B> comparator;
        private int expectedSize = UNSET_EXPECTED_SIZE;
        private int maximumSize = Integer.MAX_VALUE;
    
        private Builder(Comparator<B> comparator) {
          this.comparator = checkNotNull(comparator);
        }
    
        /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

        val inFinished = false
        val flushHeaders: Boolean
        val stream: Http2Stream
        val streamId: Int
    
        writer.withLock {
          this.withLock {
            if (nextStreamId > Int.MAX_VALUE / 2) {
              shutdown(REFUSED_STREAM)
            }
            if (isShutdown) {
              throw ConnectionShutdownException()
            }
            streamId = nextStreamId
            nextStreamId += 2
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Splitter.java

      private final boolean omitEmptyStrings;
      private final Strategy strategy;
      private final int limit;
    
      private Splitter(Strategy strategy) {
        this(strategy, false, CharMatcher.none(), Integer.MAX_VALUE);
      }
    
      private Splitter(Strategy strategy, boolean omitEmptyStrings, CharMatcher trimmer, int limit) {
        this.strategy = strategy;
        this.omitEmptyStrings = omitEmptyStrings;
        this.trimmer = trimmer;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 21:14:05 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Multisets.java

        }
    
        @Override
        public abstract Iterator<E> iterator();
    
        @Override
        public boolean remove(@CheckForNull Object o) {
          return multiset().remove(o, Integer.MAX_VALUE) > 0;
        }
    
        @Override
        public int size() {
          return multiset().entrySet().size();
        }
      }
    
      abstract static class EntrySet<E extends @Nullable Object>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Multisets.java

        }
    
        @Override
        public abstract Iterator<E> iterator();
    
        @Override
        public boolean remove(@CheckForNull Object o) {
          return multiset().remove(o, Integer.MAX_VALUE) > 0;
        }
    
        @Override
        public int size() {
          return multiset().entrySet().size();
        }
      }
    
      abstract static class EntrySet<E extends @Nullable Object>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.5K bytes
    - Viewed (0)
Back to top