Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 224 for maxValue (0.68 sec)

  1. android/guava/src/com/google/common/math/BigDecimalMath.java

       * infinite {@code double} values are considered infinitely far away. For example, 2^2000 is not
       * representable as a double, but {@code roundToDouble(BigDecimal.valueOf(2).pow(2000), HALF_UP)}
       * will return {@code Double.MAX_VALUE}, not {@code Double.POSITIVE_INFINITY}.
       *
       * <p>For the case of {@link RoundingMode#HALF_EVEN}, this implementation uses the IEEE 754
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

        }
      }
    
      /**
       * Always returns {@code Integer.MAX_VALUE} because a {@code MonitorBasedPriorityBlockingQueue} is
       * not capacity constrained.
       *
       * @return {@code Integer.MAX_VALUE}
       */
      @CanIgnoreReturnValue // pushed down from class to method
      @Override
      public int remainingCapacity() {
        return Integer.MAX_VALUE;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/RangeTest.java

      }
    
      public void testGreaterThan() {
        Range<Integer> range = Range.greaterThan(5);
        assertFalse(range.contains(5));
        assertTrue(range.contains(6));
        assertTrue(range.contains(Integer.MAX_VALUE));
        assertTrue(range.hasLowerBound());
        assertEquals(5, (int) range.lowerEndpoint());
        assertEquals(OPEN, range.lowerBoundType());
        assertUnboundedAbove(range);
        assertFalse(range.isEmpty());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  4. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappedRange.kt

            }
    
        val b2: Int
          get() = absoluteDelta shr 7 and 0x7f
    
        val b3: Int
          get() = absoluteDelta and 0x7f
    
        companion object {
          const val MAX_VALUE = 0x3FFFF
        }
      }
    
      data class External(
        override val rangeStart: Int,
        val mappedTo: ByteString,
      ) : MappedRange
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/CharsTest.java

      private static final char[] ARRAY234 = {(char) 2, (char) 3, (char) 4};
    
      private static final char LEAST = Character.MIN_VALUE;
      private static final char GREATEST = Character.MAX_VALUE;
    
      private static final char[] VALUES = {LEAST, 'a', '\u00e0', '\udcaa', GREATEST};
    
      // We need to test that our method behaves like the JDK method.
      @SuppressWarnings("InlineMeInliner")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/Chars.java

       * @return the same value cast to {@code char} if it is in the range of the {@code char} type,
       *     {@link Character#MAX_VALUE} if it is too large, or {@link Character#MIN_VALUE} if it is too
       *     small
       */
      public static char saturatedCast(long value) {
        if (value > Character.MAX_VALUE) {
          return Character.MAX_VALUE;
        }
        if (value < Character.MIN_VALUE) {
          return Character.MIN_VALUE;
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  7. samples/tlssurvey/src/main/kotlin/okhttp3/survey/CipherSuiteSurvey.kt

        }
        println()
        val sortedSuites =
          ianaSuites.suites.sortedBy { ianaSuite ->
            val index = orderBy.indexOfFirst { it.matches(ianaSuite) }
            if (index == -1) Integer.MAX_VALUE else index
          }
        for (suiteId in sortedSuites) {
          print(suiteId.name)
          for (client in clients) {
            print("\t")
            val index = client.enabled.indexOfFirst { it.matches(suiteId) }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Apr 02 01:44:15 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

            // Test very large timeout
            generator.setCommandTimeout(Long.MAX_VALUE);
            assertTrue(true);
    
            // Test destroy timeout
            generator.setCommandDestroyTimeout(0L);
            assertTrue(true);
    
            generator.setCommandDestroyTimeout(-1L);
            assertTrue(true);
    
            generator.setCommandDestroyTimeout(Long.MAX_VALUE);
            assertTrue(true);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Queues.java

        Iterables.addAll(queue, elements);
        return queue;
      }
    
      // LinkedBlockingDeque
    
      /**
       * Creates an empty {@code LinkedBlockingDeque} with a capacity of {@link Integer#MAX_VALUE}.
       *
       * @since 12.0
       */
      @J2ktIncompatible
      @GwtIncompatible // LinkedBlockingDeque
      public static <E> LinkedBlockingDeque<E> newLinkedBlockingDeque() {
        return new LinkedBlockingDeque<>();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/math/BigDecimalMath.java

       * infinite {@code double} values are considered infinitely far away. For example, 2^2000 is not
       * representable as a double, but {@code roundToDouble(BigDecimal.valueOf(2).pow(2000), HALF_UP)}
       * will return {@code Double.MAX_VALUE}, not {@code Double.POSITIVE_INFINITY}.
       *
       * <p>For the case of {@link RoundingMode#HALF_EVEN}, this implementation uses the IEEE 754
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top