- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for getMaxLength (0.37 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)