Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 297 for MAX_VALUE (0.12 sec)

  1. src/test/java/org/codelibs/fess/mylasta/direction/FessEnvTest.java

                    Properties props = new Properties();
                    props.setProperty(FessEnv.TIME_ADJUST_TIME_MILLIS, String.valueOf(Long.MAX_VALUE));
                    return props;
                }
            };
            assertEquals(Long.valueOf(Long.MAX_VALUE), maxEnv.getTimeAdjustTimeMillisAsLong());
        }
    
        // Test prepareGeneratedDefaultMap
        public void xtest_prepareGeneratedDefaultMap() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java

                        long multiplier = 1L << safeShift;
                        // Check for potential overflow before multiplication
                        long delay = (retryDelayMs > Long.MAX_VALUE / multiplier) ? MAX_RETRY_DELAY
                                : Math.min(MAX_RETRY_DELAY, retryDelayMs * multiplier);
                        Thread.sleep(delay);
                    }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/FileEntryTest.java

                when(mock.length()).thenReturn(-10L);
                assertEquals(-10L, mock.length());
            }
        }
    
        @ParameterizedTest(name = "getType returns {0}")
        @ValueSource(ints = { 0, 1, -5, Integer.MAX_VALUE })
        @DisplayName("Parameterized type values")
        void typeParameterized(int type) {
            FileEntry mock = mock(FileEntry.class);
            when(mock.getType()).thenReturn(type);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. 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)
  5. android/guava/src/com/google/common/primitives/Shorts.java

       * @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;
        }
        return (short) 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)
  6. guava-tests/test/com/google/common/primitives/IntsTest.java

      private static final int[] ARRAY1 = {(int) 1};
      private static final int[] ARRAY234 = {(int) 2, (int) 3, (int) 4};
    
      private static final int LEAST = Integer.MIN_VALUE;
      private static final int GREATEST = Integer.MAX_VALUE;
    
      private static final int[] VALUES = {LEAST, (int) -1, (int) 0, (int) 1, 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
    - 29.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/Shorts.java

       * @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;
        }
        return (short) 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)
  8. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        }
        for (int c = 0; c <= Character.MAX_VALUE; c++) {
          assertFalse(positive.contains(Character.valueOf((char) c)) ^ m.matches((char) c));
        }
      }
    
      static char[] randomChars(Random rand, int size) {
        Set<Character> chars = new HashSet<>(size);
        for (int i = 0; i < size; i++) {
          char c;
          do {
            c = (char) rand.nextInt(Character.MAX_VALUE - Character.MIN_VALUE + 1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            when(config.getNotifyBufferSize()).thenReturn(Integer.MAX_VALUE);
            Smb2ChangeNotifyRequest req = new Smb2ChangeNotifyRequest(config, testFileId);
    
            // When
            byte[] buffer = new byte[512];
            req.writeBytesWireFormat(buffer, 0);
    
            // Then
            int readBufferSize = SMBUtil.readInt4(buffer, 4);
            assertEquals(Integer.MAX_VALUE, readBufferSize);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  10. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

          this.headers_ =
            Headers
              .Builder()
              .add("Content-Length", "0")
          this.trailers_ = Headers.Builder()
          this.throttleBytesPerPeriod = Long.MAX_VALUE
          this.throttlePeriodNanos = 0L
          this.failHandshake = false
          this.onRequestStart = null
          this.doNotReadRequestBody = false
          this.onRequestBody = null
          this.onResponseStart = null
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 17.8K bytes
    - Viewed (0)
Back to top