Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 182 for _max (0.02 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbException.java

                int min = 1; /* Don't include NT_STATUS_SUCCESS */
                int max = NT_STATUS_CODES.length - 1;
    
                while (max >= min) {
                    final int mid = (min + max) / 2;
    
                    if (errcode > NT_STATUS_CODES[mid]) {
                        min = mid + 1;
                    } else if (errcode < NT_STATUS_CODES[mid]) {
                        max = mid - 1;
                    } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

            buffer.putInt(0, 0);
            assertEquals(0, NtlmMessage.readULong(data, 0), "Should read zero ULong correctly.");
    
            // Test with max int value (unsigned interpretation)
            buffer.putInt(0, 0xFFFFFFFF);
            assertEquals(0xFFFFFFFF, NtlmMessage.readULong(data, 0), "Should read max ULong correctly.");
    
            // Test with a negative int (should be interpreted as unsigned positive)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/validation/CustomSizeValidator.java

            hibernateContext.addMessageParameter("min", min)
                    .addMessageParameter("max", max)
                    .buildConstraintViolationWithTemplate(message)
                    .addConstraintViolation();
            final int length = value.length();
            return length >= min && length <= max;
        }
    
        private void validateParameters() {
            if (min < 0) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Chars.java

       * @since 21.0
       */
      public static char constrainToRange(char value, char min, char max) {
        checkArgument(min <= max, "min (%s) must be less than or equal to max (%s)", min, max);
        return value < min ? min : value < max ? value : max;
      }
    
      /**
       * Returns the values from each provided array combined into a single array. For example, {@code
    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

       * @since 21.0
       */
      public static short constrainToRange(short value, short min, short max) {
        checkArgument(min <= max, "min (%s) must be less than or equal to max (%s)", min, max);
        return value < min ? min : value < max ? value : max;
      }
    
      /**
       * Returns the values from each provided array combined into a single array. For example, {@code
    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/src/com/google/common/primitives/Shorts.java

       * @since 21.0
       */
      public static short constrainToRange(short value, short min, short max) {
        checkArgument(min <= max, "min (%s) must be less than or equal to max (%s)", min, max);
        return value < min ? min : value < max ? value : max;
      }
    
      /**
       * Returns the values from each provided array combined into a single array. For example, {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/DcerpcException.java

            int min = 0;
            int max = DCERPC_FAULT_CODES.length;
    
            while (max >= min) {
                final int mid = (min + max) / 2;
    
                if (errcode > DCERPC_FAULT_CODES[mid]) {
                    min = mid + 1;
                } else if (errcode < DCERPC_FAULT_CODES[mid]) {
                    max = mid - 1;
                } else {
                    return DCERPC_FAULT_MESSAGES[mid];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Ints.java

      public static int max(int... array) {
        checkArgument(array.length > 0);
        int max = array[0];
        for (int i = 1; i < array.length; i++) {
          if (array[i] > max) {
            max = array[i];
          }
        }
        return max;
      }
    
      /**
       * Returns the value nearest to {@code value} which is within the closed range {@code [min..max]}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

      }
    
      public void testMax_noArgs() {
        assertThrows(IllegalArgumentException.class, () -> max());
      }
    
      public void testMax() {
        assertThat(max(LEAST)).isEqualTo(LEAST);
        assertThat(max(GREATEST)).isEqualTo(GREATEST);
        assertThat(max(0x5a4316b8c153ac4dL, 8L, 100L, 0L, 0x6cf78a4b139a4e2aL, 0xff1a618b7f65ea12L))
            .isEqualTo(0xff1a618b7f65ea12L);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

        temporaryRedirectCachedWithCachingHeader(302, "Cache-Control", "max-age=60")
      }
    
      @Test
      fun temporaryRedirectCachedWithExpiresHeader() {
        temporaryRedirectCachedWithCachingHeader(307, "Expires", formatDate(1, TimeUnit.HOURS))
      }
    
      @Test
      fun temporaryRedirectCachedWithCacheControlHeader() {
        temporaryRedirectCachedWithCachingHeader(307, "Cache-Control", "max-age=60")
      }
    
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 113.6K bytes
    - Viewed (0)
Back to top