Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 3,751 for exceeds (0.35 sec)

  1. 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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. 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}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Aug 06 23:48:58 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  3. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  4. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  5. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.2K bytes
    - Viewed (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)
          }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 22 20:03:31 UTC 2025
    - 4K bytes
    - Viewed (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) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. 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: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

                assertEquals(0, SMBUtil.readInt4(buffer, 4)); // Data length
            }
    
            @Test
            @DisplayName("Should throw exception when data exceeds buffer")
            void testWriteBytesWireFormatDataExceedsBuffer() {
                byte[] largeData = new byte[1000];
                request.setData(largeData, 0, largeData.length);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  10. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top