- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 1,875 for length (0.04 sec)
-
src/test/java/org/codelibs/core/collection/ArrayUtilTest.java
assertThat(newArray.length, is(2)); assertThat(newArray[0], is("111")); assertThat(newArray[1], is("222")); final String[] emptyArray = new String[0]; assertThat(ArrayUtil.addAll((Object[]) null, (Object[]) null), is(nullValue())); assertThat(ArrayUtil.addAll(null, emptyArray).length, is(0));
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 10.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
// Information level defaults to BOTH_DIRECTORY_INFO (0x104) — check via parameters encoding byte[] buf = new byte[2 + 2 + 2 + 4 + 2 + filename.length() + 1]; int n = next.writeParametersWireFormat(buf, 0); assertEquals(buf.length, n, "Parameter bytes written should match expected length"); // informationLevel LE at offset 4..5 assertEquals((byte) 0x04, buf[4]); assertEquals((byte) 0x01, buf[5]); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java
assertEquals(32 + expectedBytes.length, bytesWritten); // Verify filename length in header int fnLength = buffer[Smb2Constants.SMB2_HEADER_LENGTH + 26] | (buffer[Smb2Constants.SMB2_HEADER_LENGTH + 27] << 8); assertEquals(expectedBytes.length, fnLength); } @Test @DisplayName("Test with empty filename")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt
.assertLogEqual("Content-Length: 3") .assertLogEqual("--> END POST") .assertLogMatch(Regex("""<-- 200 OK $url \(\d+ms\)""")) .assertLogEqual("Content-Length: 0") .assertLogEqual("<-- END HTTP") .assertNoMoreLogs() networkLogs .assertLogEqual("--> POST $url http/1.1") .assertLogEqual("Content-Length: 3") .assertLogEqual("Host: $host")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 21 14:27:04 UTC 2025 - 37.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/accesstoken/CreateForm.java
/** * The name of the access token. * This is a required field with a maximum length of 1000 characters. */ @Required @Size(max = 1000) public String name; /** * The actual access token string. * This is the token value that will be used for authentication. * Maximum length is 10000 characters. */ @Size(max = 10000) public String token; /**Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/validation/CustomSizeValidator.java
.addMessageParameter("max", max) .buildConstraintViolationWithTemplate(message) .addConstraintViolation(); final int length = value.length(); return length >= min && length <= max; } private void validateParameters() { if (min < 0) { throw new IllegalArgumentException("The min parameter cannot be negative."); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java
byte[] actualDescrBytes = new byte[expectedDescrBytes.length]; System.arraycopy(dst, 2, actualDescrBytes, 0, expectedDescrBytes.length); assertArrayEquals(expectedDescrBytes, actualDescrBytes); // Verify level (0x0001 - 2 bytes) int descrEnd = 2 + expectedDescrBytes.length; assertEquals(0x01, dst[descrEnd]); assertEquals(0x00, dst[descrEnd + 1]);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NetworkExplorer.java
n = url.lastIndexOf('.'); if (n > 0 && (type = url.substring(n + 1)) != null && type.length() > 1 && type.length() < 6) { resp.setContentType(mimeMap.getMimeType(type)); } resp.setHeader("Content-Length", file.length() + ""); resp.setHeader("Accept-Ranges", "Bytes"); while ((n = in.read(buf)) != -1) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
// Act byte[] result = NtlmUtil.computeResponse(key, serverChallenge, clientData, 0, clientData.length); // Assert: result = mac(16) + clientData assertEquals(16 + clientData.length, result.length); assertArrayEquals(clientData, Arrays.copyOfRange(result, 16, 16 + clientData.length)); } @Test @DisplayName("getLMv2Response(byte[]): delegates to computeResponse")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12K bytes - Viewed (1)