Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 136 for SMALL (0.01 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

      require(millis != 0L || duration <= 0L) { "$name too small" }
      return millis.toInt()
    }
    
    internal fun checkDuration(
      name: String,
      duration: Duration,
    ): Int {
      check(!duration.isNegative()) { "$name < 0" }
      val millis = duration.inWholeMilliseconds
      require(millis <= Integer.MAX_VALUE) { "$name too large" }
      require(millis != 0L || !duration.isPositive()) { "$name too small" }
      return millis.toInt()
    }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  2. android/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)
  3. android/guava/src/com/google/common/primitives/Shorts.java

       * @param value any {@code long} value
       * @return the same value cast to {@code short} if it is in the range of the {@code short} type,
       *     {@link Short#MAX_VALUE} if it is too large, or {@link Short#MIN_VALUE} if it is too small
       */
      public static short saturatedCast(long value) {
        if (value > Short.MAX_VALUE) {
          return Short.MAX_VALUE;
        }
        if (value < Short.MIN_VALUE) {
          return Short.MIN_VALUE;
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/Shorts.java

       * @param value any {@code long} value
       * @return the same value cast to {@code short} if it is in the range of the {@code short} type,
       *     {@link Short#MAX_VALUE} if it is too large, or {@link Short#MIN_VALUE} if it is too small
       */
      public static short saturatedCast(long value) {
        if (value > Short.MAX_VALUE) {
          return Short.MAX_VALUE;
        }
        if (value < Short.MIN_VALUE) {
          return Short.MIN_VALUE;
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/searchlog/AdminSearchlogAction.java

        // ===================================================================================
        //                                                                        Small Helper
        //                                                                        ============
        /**
         * Verifies that the CRUD mode matches the expected mode.
         *
         * @param crudMode the actual CRUD mode
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/AdminDuplicatehostAction.java

                return entity;
            });
        }
    
        // ===================================================================================
        //                                                                        Small Helper
        //                                                                        ============
        /**
         * Verifies that the CRUD mode matches the expected mode.
         *
         * @param crudMode the actual CRUD mode
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  7. docs/changelogs/upgrading_to_okhttp_4.md

       changing `.java` files.
    
     * **Kotlin source compatibility** is the ability to upgrade Kotlin uses of OkHttp 3.x to 4.x
       without changing `.kt` files.
    
    With a few small exceptions (below), OkHttp 4.x is both binary- and Java source-compatible with
    OkHttp 3.x. You can use an OkHttp 4.x .jar file with applications or libraries built for OkHttp 3.x.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/job/PurgeThumbnailJobTest.java

            assertSame(purgeThumbnailJob, result);
            // Test value was not changed
            assertEquals(originalExpiry, purgeThumbnailJob.getExpiry());
        }
    
        // Test expiry setter with small positive value
        public void test_expiry_smallPositiveValue() {
            PurgeThumbnailJob result = purgeThumbnailJob.expiry(1L);
    
            // Test method chaining
            assertSame(purgeThumbnailJob, result);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

      // Timed Get
      // There are a few design constraints to consider
      // * We want to be responsive to small timeouts, unpark() has non trivial latency overheads (I
      //   have observed 12 micros on 64-bit linux systems to wake up a parked thread). So if the
      //   timeout is small we shouldn't park(). This needs to be traded off with the cpu overhead of
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java

     */
    @NullUnmarked
    public class ToStringHelperBenchmark {
    
      @Param({"0", "1", "5"})
      int dataSize;
    
      @Param({"false", "true"})
      boolean omitNulls;
    
      enum Dataset {
        SMALL {
          @Override
          void addEntries(MoreObjects.ToStringHelper helper) {
            helper
                .add(SHORT_NAME, 10)
                .addValue(10L)
                .add(SHORT_NAME, 3.14f)
                .addValue(3.14d)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top