- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 1,875 for length (0.17 sec)
-
src/test/java/org/codelibs/fess/entity/SearchRequestParamsTest.java
assertEquals(3, result.length); assertEquals("a", result[0]); assertEquals("b", result[1]); assertEquals("c", result[2]); } public void test_simplifyArray_withBlanks() { String[] input = { "a", "", "b", " ", null, "c" }; String[] result = SearchRequestParams.simplifyArray(input); assertEquals(3, result.length); assertEquals("a", result[0]);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 26.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/DES.java
final int length = cipherText.length; if (length % 8 != 0) { // DES requires 8-byte blocks throw new IllegalArgumentException("Array must be a multiple of 8 bytes for DES encryption"); } final byte[] clearText = new byte[length]; final int count = length / 8; for (int i = 0; i < count; i++) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 22.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
byte[] smallBuffer = createValidNotificationBuffer(fileName, action); byte[] buffer = new byte[smallBuffer.length + offset + 50]; System.arraycopy(smallBuffer, 0, buffer, offset, smallBuffer.length); int bytesRead = notifyInfo.decode(buffer, offset, smallBuffer.length); assertTrue(bytesRead > 0); assertEquals(action, notifyInfo.getAction());Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java
SMBUtil.writeInt4(messageLength, buffer, bufferIndex + 12); System.arraycopy(testData, 0, buffer, bufferIndex + 16, testData.length); // Decode int bytesDecoded = response.decode(buffer, bufferIndex, buffer.length); // Verify results assertEquals(namedPipeState, response.getNamedPipeState()); assertEquals(readDataAvailable, response.getReadDataAvailable());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacLogonInfoTest.java
// When pointer is non-zero, validate string length String testString = "TEST"; short length = (short) (testString.length() * 2); // Unicode length PacUnicodeString unicodeString = new PacUnicodeString(length, length, 100); // Should validate string length String result = unicodeString.check(testString); assertEquals(testString, result);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InetAddresses.java
// contain non-decimal characters. int length = end - start; if (length <= 0 || length > 3) { throw new NumberFormatException(); } // Disallow leading zeroes, because no clear standard exists on // whether these should be interpreted as decimal or octal. if (length > 1 && ipString.charAt(start) == '0') { throw new NumberFormatException(); }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 47.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/ParameterUtil.java
configConfigMap.put(key.substring(CONFIG_PREFIX.length()), entry.getValue()); } else if (key.startsWith(CLIENT_PREFIX)) { clientConfigMap.put(key.substring(CLIENT_PREFIX.length()), entry.getValue()); } else if (key.startsWith(XPATH_PREFIX)) { xpathConfigMap.put(key.substring(XPATH_PREFIX.length()), entry.getValue()); } else if (key.startsWith(META_PREFIX)) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
@Test @DisplayName("Should throw IOException for fragment length exceeding max") void testDoSendReceiveFragment_FragmentTooLarge() throws Exception { DcerpcPipeHandle handle = createMockedDcerpcPipeHandle(); byte[] buf = new byte[50]; byte[] inB = new byte[100]; // Setup fragment length exceeding max (4280) Encdec.enc_uint16le((short) 4281, inB, 8);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicsTest.java
} public void testNewReferenceArray_withLength() throws Exception { int length = 42; AtomicReferenceArray<String> refArray = Atomics.newReferenceArray(length); for (int i = 0; i < length; ++i) { assertEquals(null, refArray.get(i)); } assertThrows(IndexOutOfBoundsException.class, () -> refArray.get(length)); } public void testNewReferenceArray_withNegativeLength() throws Exception {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java
for (int i = 0; i < mergedItem.readings.length; i++) { final List<String> list = new ArrayList<>(); if (item1.getReadings().length > i) { Collections.addAll(list, item1.getReadings()[i]); } if (item2.getReadings().length > i) { for (final String reading : item2.getReadings()[i]) {
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 25.1K bytes - Viewed (0)