Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 224 for maxValue (0.04 sec)

  1. android/guava/src/com/google/common/primitives/UnsignedInts.java

        checkPositionIndexes(fromIndex, toIndex, array.length);
        for (int i = fromIndex; i < toIndex; i++) {
          array[i] ^= Integer.MAX_VALUE;
        }
        Arrays.sort(array, fromIndex, toIndex);
        for (int i = fromIndex; i < toIndex; i++) {
          array[i] ^= Integer.MAX_VALUE;
        }
      }
    
      /**
       * Returns dividend / divisor, where the dividend and divisor are treated as unsigned 32-bit
       * quantities.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Feb 09 16:22:33 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/UnsignedLong.java

      private static final long UNSIGNED_MASK = 0x7fffffffffffffffL;
    
      public static final UnsignedLong ZERO = new UnsignedLong(0);
      public static final UnsignedLong ONE = new UnsignedLong(1);
      public static final UnsignedLong MAX_VALUE = new UnsignedLong(-1L);
    
      private final long value;
    
      private UnsignedLong(long value) {
        this.value = value;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/Files.java

       * FileChannel#map(java.nio.channels.FileChannel.MapMode, long, long)}.
       *
       * <p>Files are mapped from offset 0 to its length.
       *
       * <p>This only works for files ≤ {@link Integer#MAX_VALUE} bytes.
       *
       * @param file the file to map
       * @return a read-only buffer reflecting {@code file}
       * @throws FileNotFoundException if the {@code file} does not exist
       * @throws IOException if an I/O error occurs
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

          extends TestIntegerListGenerator {
        @Override
        protected List<Integer> create(Integer[] elements) {
          Integer[] suffix = {Integer.MIN_VALUE, Integer.MAX_VALUE};
          Integer[] all = concat(elements, suffix);
          return makeArray(all).subArray(0, elements.length).asList();
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // used only from suite
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/CharMatcher.java

       * like a worthwhile tradeoff in a browser).
       */
      public CharMatcher precomputed() {
        return Platform.precomputeCharMatcher(this);
      }
    
      private static final int DISTINCT_CHARS = Character.MAX_VALUE - Character.MIN_VALUE + 1;
    
      /**
       * This is the actual implementation of {@link #precomputed}, but we bounce calls through a method
       * on {@link Platform} so that we can have different behavior in GWT.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 53.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/job/ExecJobTest.java

            assertEquals("", execJob.logLevel);
    
            execJob.lastaEnv("");
            assertEquals("", execJob.lastaEnv);
    
            // Test with very long timeout
            execJob.timeout(Integer.MAX_VALUE);
            assertEquals(Integer.MAX_VALUE, execJob.timeout);
    
            // Test with minimum timeout
            execJob.timeout(Integer.MIN_VALUE);
            assertEquals(Integer.MIN_VALUE, execJob.timeout);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt

      @StartStop
      private val server = MockWebServer()
    
      private var client =
        clientTestRule
          .newClientBuilder()
          .cache(Cache(fileSystem, "/cache/".toPath(), Long.MAX_VALUE))
          .build()
    
      @Test
      fun trailersHttp1() {
        trailers(Protocol.HTTP_1_1)
      }
    
      @Test
      fun trailersHttp2() {
        trailers(Protocol.HTTP_2)
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 18K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/SuppliersTest.java

            new Function<Supplier<Boolean>, Supplier<Boolean>>() {
              @Override
              public Supplier<Boolean> apply(Supplier<Boolean> supplier) {
                return Suppliers.memoizeWithExpiration(supplier, Long.MAX_VALUE, NANOSECONDS);
              }
            };
        testSupplierThreadSafe(memoizer);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // Thread
      public void testMemoizedSupplierThreadSafe() throws Throwable {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt

      private inline fun <T : Any> ResponseBody.consumeSource(
        consumer: (BufferedSource) -> T,
        sizeMapper: (T) -> Int,
      ): T {
        val contentLength = contentLength()
        if (contentLength > Int.MAX_VALUE) {
          throw IOException("Cannot buffer entire body for content length: $contentLength")
        }
    
        val bytes = source().use(consumer)
        val size = sizeMapper(bytes)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

      }
    
      @Test
      fun authenticator() {
        var authenticator: Authenticator = Authenticator { route, response -> TODO() }
      }
    
      @Test
      fun cache() {
        val cache = Cache(File("/cache/"), Integer.MAX_VALUE.toLong())
        cache.initialize()
        cache.delete()
        cache.evictAll()
        val urls: MutableIterator<String> = cache.urls()
        val writeAbortCount: Int = cache.writeAbortCount()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 46.5K bytes
    - Viewed (0)
Back to top