Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 3,882 for exceeds (0.06 seconds)

  1. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

         * @param field the field to be used for keyword extraction
         * @return an array of keywords extracted from the query string, or an empty array if the number of keywords exceeds the maximum allowed or if any keyword exceeds the maximum length
         */
        public static String[] parseQuery(final String q, final String field) {
            final List<String> keywords = getKeywords(q, new String[] { field });
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Sun Nov 23 11:21:40 GMT 2025
    - 17.5K bytes
    - Click Count (1)
  2. src/test/java/jcifs/EncodableTest.java

            assertThrows(ArrayIndexOutOfBoundsException.class, () -> enc.encode(dst, 2),
                    "System.arraycopy should throw when dstIndex + len exceeds dst length");
        }
    
        @Test
        @DisplayName("encode() throws when dstIndex is negative")
        void encodeThrowsWhenDstIndexNegative() {
            byte[] src = makeSeq(3);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  3. cmd/bucket-quota.go

    		if q.Size > 0 {
    			quotaSize = q.Size
    		} else if q.Quota > 0 {
    			quotaSize = q.Quota
    		}
    	}
    	if quotaSize > 0 {
    		if uint64(size) >= quotaSize { // check if file size already exceeds the quota
    			return BucketQuotaExceeded{Bucket: bucket}
    		}
    
    		bui := sys.GetBucketUsageInfo(ctx, bucket)
    		if bui.Size > 0 && ((bui.Size + uint64(size)) >= quotaSize) {
    			return BucketQuotaExceeded{Bucket: bucket}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  4. 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
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  5. 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);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  6. 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)
          }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Oct 25 11:16:17 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  7. 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) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  8. 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}.
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  9. 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) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  10. 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
         */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 9.2K bytes
    - Click Count (0)
Back to Top