Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 3,134 for exceeds (0.04 sec)

  1. src/main/java/org/codelibs/core/io/FileUtil.java

         * <p>
         * <strong>Note:</strong> This method loads the entire file into memory.
         * An {@link IORuntimeException} will be thrown if the file exceeds the specified maxSize
         * to prevent OutOfMemoryError. For large files, use streaming APIs instead.
         * </p>
         *
         * @param file
         *            The file. Must not be {@literal null}.
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/service/FailureUrlService.java

            });
            return failureUrl;
        }
    
        /**
         * Extracts and returns the stack trace from a throwable as a string.
         * The stack trace is abbreviated if it exceeds the configured maximum length.
         *
         * @param t the throwable to extract the stack trace from
         * @return the stack trace as a string, or empty string if extraction fails
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  3. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidLog.kt

        }
      }
    
      private fun loggerTag(loggerName: String): String {
        // We need to handle long logger names before they hit Log.
        // java.lang.IllegalArgumentException: Log tag "okhttp3.mockwebserver.MockWebServer" exceeds limit of 23 characters
        return knownLoggers[loggerName] ?: loggerName.take(23)
      }
    
      fun enable() {
        try {
          for ((logger, tag) in knownLoggers) {
            enableLogging(logger, tag)
          }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Oct 25 11:16:17 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/BufferCache.java

         *
         * Performance: O(1) operation using concurrent queue
         *
         * @return a byte buffer for SMB operations
         * @throws IllegalStateException if buffer size exceeds maximum allowed
         */
        static public byte[] getBuffer() {
            // Try to get from cache first - O(1) operation
            byte[] buf = bufferQueue.poll();
            if (buf != null) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AbstractCrawlerClient.java

            case POST -> doPost(request.getUrl());
            default -> throw new CrawlerSystemException(request.getMethod() + " method is not supported.");
            };
        }
    
        /**
         * Checks if the content length exceeds the maximum allowed length.
         * @param responseData The response data.
         */
        protected void checkMaxContentLength(final ResponseData responseData) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 9.7K bytes
    - Viewed (10)
  6. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java

            if (this.outputBuffer != null) {
                if (outputCount > this.outputBuffer.length) {
                    throw new SMBProtocolDecodingException("Output length exceeds buffer size");
                }
                System.arraycopy(buffer, outputOffset, this.outputBuffer, 0, outputCount);
            } else if (this.outputData != null) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/CryptoTest.java

            assertNotEquals(new String(plaintext), new String(encrypted));
        }
    
        @ParameterizedTest
        @ValueSource(strings = { "", "a", "short", "medium length text", "very long text that exceeds typical block sizes" })
        @DisplayName("Should handle various input sizes for hashing")
        void testHashVariousInputSizes(String input) {
            // Given
            byte[] data = input.getBytes();
    
            // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

            @DisplayName("Should reject when signature field exceeds buffer size in sign method")
            void testSignSignatureExceedsBuffer() {
                byte[] data = new byte[50]; // Too small for signature field
                assertThrows(IllegalArgumentException.class, () -> digest.sign(data, 0, 50, request, response),
                        "Should throw IllegalArgumentException when signature field exceeds buffer");
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/io/Smb2WriteRequest.java

            SMBUtil.writeInt2(dstIndex - getHeaderStart(), dst, dataOffsetOffset);
    
            if (dstIndex + this.dataLength > dst.length) {
                throw new IllegalArgumentException(
                        String.format("Data exceeds buffer size ( remain buffer: %d data length: %d)", dst.length - dstIndex, this.dataLength));
            }
    
            System.arraycopy(this.data, this.dataOffset, dst, dstIndex, this.dataLength);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

                            } else {
                                responseData.setResponseBody(file, false);
                                if (logger.isDebugEnabled()) {
                                    logger.debug("File size exceeds cache threshold, using file reference: file={}, size={}, threshold={}",
                                            file.getAbsolutePath(), file.length(), maxCachedContentSize);
                                }
                            }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
Back to top