Search Options

Results per page
Sort
Preferred Languages
Advance

Results 821 - 830 of 1,201 for integers (0.04 sec)

  1. src/test/java/jcifs/pac/kerberos/KerberosAuthDataTest.java

    import jcifs.pac.PACDecodingException;
    
    /**
     * Tests for the {@link KerberosAuthData} class.
     */
    @ExtendWith(MockitoExtension.class)
    class KerberosAuthDataTest {
    
        @Mock
        private Map<Integer, KerberosKey> mockKeys;
    
        /**
         * Test parsing with an unknown auth type.
         * Expects an empty list of authorizations.
         * @throws PACDecodingException should not be thrown
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/relatedcontent/AdminRelatedcontentAction.java

         * @return HTML response with the related content list
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse list(final OptionalThing<Integer> pageNumber, final SearchForm form) {
            pageNumber.ifPresent(num -> {
                relatedContentPager.setCurrentPageNumber(pageNumber.get());
            }).orElse(() -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 16K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

    }
    
    fun String.toLongOrDefault(defaultValue: Long): Long =
      try {
        toLong()
      } catch (_: NumberFormatException) {
        defaultValue
      }
    
    /**
     * Returns this as a non-negative integer, or 0 if it is negative, or [Int.MAX_VALUE] if it is too
     * large, or [defaultValue] if it cannot be parsed.
     */
    internal fun String?.toNonNegativeInt(defaultValue: Int): Int {
      try {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            return base;
        }
    
        /**
         * Build a full SMB2 packet combining header and provided body, optionally injecting context bytes.
         */
        private static byte[] buildPacket(byte[] header, byte[] body, Integer ctxOffsetFromHeader, byte[] ctxBytes) {
            int totalLen;
            if (ctxOffsetFromHeader != null && ctxBytes != null) {
                totalLen = Math.max(SMB2_HEADER_LENGTH + body.length, ctxOffsetFromHeader + ctxBytes.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/NtlmUtilTest.java

            String clean = s.replaceAll("[^0-9A-Fa-f]", "");
            int len = clean.length();
            byte[] out = new byte[len / 2];
            for (int i = 0; i < len; i += 2) {
                out[i / 2] = (byte) Integer.parseInt(clean.substring(i, i + 2), 16);
            }
            return out;
        }
    
        @Test
        @DisplayName("getNTHash: known vector for 'password'")
        void testGetNTHash_knownVector() {
            // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (0)
  6. cmd/handler-api.go

    		buf, err = os.ReadFile(cgroupV1MemLimitFile)
    	}
    	if err != nil {
    		return 0
    	}
    	limit, err = strconv.ParseUint(strings.TrimSpace(string(buf)), 10, 64)
    	if err != nil {
    		// The kernel can return valid but non integer values
    		// but still, no need to interpret more
    		return 0
    	}
    	if limit >= 100*humanize.TiByte {
    		// No limit set, or unreasonably high. Ignore
    		return 0
    	}
    	return limit
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                buffer.putLong(Long.MAX_VALUE);
                buffer.putLong(Long.MAX_VALUE);
                buffer.putLong(Long.MAX_VALUE);
                buffer.putInt(Integer.MAX_VALUE);
                buffer.putInt(Integer.MAX_VALUE);
                byte[] bufferArray = buffer.array();
    
                // When
                int bytesConsumed = fileFsFullSizeInfo.decode(bufferArray, 0, bufferArray.length);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Joiner.java

        if (minCapacity < 0) {
          throw new IllegalArgumentException("cannot store more than Integer.MAX_VALUE elements");
        } else if (minCapacity <= oldCapacity) {
          return oldCapacity;
        }
        // careful of overflow!
        int newCapacity = oldCapacity + (oldCapacity >> 1) + 1;
        if (newCapacity < minCapacity) {
          newCapacity = Integer.highestOneBit(minCapacity - 1) << 1;
        }
        if (newCapacity < 0) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableCollection.java

            throw new IllegalArgumentException("cannot store more than Integer.MAX_VALUE elements");
          } else if (minCapacity <= oldCapacity) {
            return oldCapacity;
          }
          // careful of overflow!
          int newCapacity = oldCapacity + (oldCapacity >> 1) + 1;
          if (newCapacity < minCapacity) {
            newCapacity = Integer.highestOneBit(minCapacity - 1) << 1;
          }
          if (newCapacity < 0) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

                @Override
                public String getIndexerDataMaxDocumentRequestSize() {
                    return "1048576"; // 1MB
                }
    
                @Override
                public Integer getIndexerDataMaxDocumentCacheSizeAsInteger() {
                    return 10000;
                }
    
                @Override
                public String getIndexFieldUrl() {
                    return "url";
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
Back to top