Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 305 for maxValue (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

        }
    
        @Test
        @DisplayName("Should handle different previous session IDs")
        void testDifferentPreviousSessionIds() throws Exception {
            // Given
            long[] sessionIds = { 0L, 1L, Long.MAX_VALUE, Long.MIN_VALUE, 0xFFFFFFFFFFFFFFFFL };
    
            for (long sessionId : sessionIds) {
                Smb2SessionSetupRequest req = new Smb2SessionSetupRequest(mockContext, TEST_SECURITY_MODE, TEST_CAPABILITIES, sessionId, null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableSet.java

       *
       * @since 3.0 (source-compatible since 2.0)
       */
      @SafeVarargs // For Eclipse. For internal javac we have disabled this pointless type of warning.
      public static <E> ImmutableSet<E> of(E e1, E e2, E e3, E e4, E e5, E e6, E... others) {
        checkArgument(
            others.length <= Integer.MAX_VALUE - 6, "the total number of elements must fit in an int");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/Monitor.java

       * overflowing or underflowing, by bounding the value between 0 and (Long.MAX_VALUE / 4) * 3.
       * Actually waiting for more than 219 years is not supported!
       */
      private static long toSafeNanos(long time, TimeUnit unit) {
        long timeoutNanos = unit.toNanos(time);
        return Longs.constrainToRange(timeoutNanos, 0L, (Long.MAX_VALUE / 4) * 3);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/math/BigIntegerMath.java

       * infinite {@code double} values are considered infinitely far away. For example, 2^2000 is not
       * representable as a double, but {@code roundToDouble(BigInteger.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 Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

                WebApiUtil.setObject("listValue", list);
    
                java.util.Map<String, String> map = new java.util.HashMap<>();
                map.put("key", "value");
                WebApiUtil.setObject("mapValue", map);
    
            } catch (Exception e) {
                fail("setObject should handle different object types: " + e.getMessage());
            }
        }
    
        public void test_error_handling_edge_cases() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

            }
        }
    
        @DisplayName("Test exception handling for invalid information levels")
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 2, 4, 5, 6, 8, 100, -2, -100, Integer.MIN_VALUE, Integer.MAX_VALUE })
        void testInvalidInformationLevels(int invalidLevel) {
            // Skip valid levels
            if (invalidLevel == FileSystemInformation.SMB_INFO_ALLOCATION || invalidLevel == FileSystemInformation.FS_SIZE_INFO) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

            monitor.leave();
          }
        } else {
          return null;
        }
      }
    
      // this doc comment is overridden to remove the reference to collections
      // greater in size than Integer.MAX_VALUE
      /**
       * Returns the number of elements in this queue.
       *
       * @return the number of elements in this queue
       */
      @CanIgnoreReturnValue
      @Override
      public int size() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

        private static final String DISABLE_URL_ENCODE = "#DISABLE_URL_ENCODE";
    
        /**
         * Maximum number of URLs to access during crawling.
         */
        protected long maxAccessCount = Long.MAX_VALUE;
    
        /**
         * Interval time in milliseconds between crawling executions.
         */
        protected long crawlingExecutionInterval = Constants.DEFAULT_CRAWLING_EXECUTION_INTERVAL;
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/CacheBuilder.java

      /**
       * Returns the number of nanoseconds of the given duration without throwing or overflowing.
       *
       * <p>Instead of throwing {@link ArithmeticException}, this method silently saturates to either
       * {@link Long#MAX_VALUE} or {@link Long#MIN_VALUE}. This behavior can be useful when decomposing
       * a duration in order to call a legacy API which requires a {@code long, TimeUnit} pair.
       */
      @GwtIncompatible // Duration
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt

      }
    
      @Test fun builderClampsMaxDate() {
        val cookie =
          Cookie
            .Builder()
            .name("a")
            .value("b")
            .hostOnlyDomain("example.com")
            .expiresAt(Long.MAX_VALUE)
            .build()
        assertThat(cookie.toString()).isEqualTo("a=b; expires=Fri, 31 Dec 9999 23:59:59 GMT; path=/")
      }
    
      @Test fun builderExpiresAt() {
        val cookie =
          Cookie
            .Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 24.4K bytes
    - Viewed (0)
Back to top