- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for getMaxLength (0.48 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/ContentLengthHelperTest.java
assertEquals(DEFAULT_MAX_LENGTH, contentLengthHelper.getMaxLength(mimeType)); contentLengthHelper.addMaxLength(mimeType, 1000L); assertEquals(1000L, contentLengthHelper.getMaxLength(mimeType)); } public void test_getMaxLength_blank() { String mimeType; mimeType = null; assertEquals(DEFAULT_MAX_LENGTH, contentLengthHelper.getMaxLength(mimeType)); mimeType = "";
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 2K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacUnicodeString.java
return this.length; } /** * Gets the maximum allocated length for the string in bytes. * * @return the maximum string length */ public short getMaxLength() { return this.maxLength; } /** * Gets the pointer/offset to the string data. * * @return the pointer to the string data */ public int getPointer() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/ContentLengthHelper.java
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.3K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacUnicodeStringTest.java
// Verify that the getters return the correct values assertEquals(length, pacString.getLength(), "The length should match the value provided in the constructor."); assertEquals(maxLength, pacString.getMaxLength(), "The maxLength should match the value provided in the constructor."); assertEquals(pointer, pacString.getPointer(), "The pointer should match the value provided in the constructor."); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.7K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacDataInputStreamTest.java
PacDataInputStream pdis = createInputStream(data); PacUnicodeString str = pdis.readUnicodeString(); assertEquals(4, str.getLength()); assertEquals(4, str.getMaxLength()); assertEquals(0x1234, str.getPointer()); } @Test public void testReadUnicodeStringMalformed() throws IOException { // length > maxLength
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java
if (maxContentLength < 0) { final ContentLengthHelper contentLengthHelper = crawlerContainer.getComponent("contentLengthHelper"); maxContentLength = contentLengthHelper.getMaxLength(mimeType); } final long contentLength = getContentLength(out); if (contentLength > maxContentLength) {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 10.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java
} if (contentLengthHelper != null) { final long maxLength = contentLengthHelper.getMaxLength(responseData.getMimeType()); if (responseData.getContentLength() > maxLength) { throw new MaxLengthExceededException("The content length (" + responseData.getContentLength()
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 13.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java
} } if (contentLengthHelper != null) { final long maxLength = contentLengthHelper.getMaxLength(responseData.getMimeType()); if (responseData.getContentLength() > maxLength) { throw new MaxLengthExceededException("The content length (" + responseData.getContentLength()
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Sep 18 09:30:45 UTC 2025 - 22.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java
} } if (contentLengthHelper != null) { final long maxLength = contentLengthHelper.getMaxLength(responseData.getMimeType()); if (responseData.getContentLength() > maxLength) { throw new MaxLengthExceededException("The content length (" + responseData.getContentLength()
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Sep 18 09:30:45 UTC 2025 - 23K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java
statObject.headers().forEach(e -> responseData.addMetaData(e.getFirst(), e.getSecond())); if (contentLengthHelper != null) { final long maxLength = contentLengthHelper.getMaxLength(responseData.getMimeType()); if (responseData.getContentLength() > maxLength) { throw new MaxLengthExceededException("The content length (" + responseData.getContentLength() + " byte) is over "
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 17.9K bytes - Viewed (2)