- Sort Score
- Result 10 results
- Languages All
Results 361 - 370 of 558 for isInvalid (0.13 sec)
-
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
response.readDataWireFormat(buffer, 0, buffer.length); }); } @Test @DisplayName("Should handle buffer with invalid offset") void testReadDataWireFormatInvalidOffset() { byte[] buffer = createValidDfsReferralBuffer(); assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
options = WRITE_OPTIONS; access = SmbConstants.FILE_READ_DATA | SmbConstants.FILE_WRITE_DATA; } else { throw new IllegalArgumentException("Invalid mode"); } file.open(openFlags, access, SmbFile.ATTR_NORMAL, options); readSize = file.tree.session.transport.rcv_buf_size - 70; writeSize = file.tree.session.transport.snd_buf_size - 70;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessEnumTest.java
assertEquals(WitnessEventType.CLIENT_MOVE, WitnessEventType.valueOf("CLIENT_MOVE")); } @Test void testInvalidEnumValueOf() { // Test that invalid valueOf throws exception assertThrows(IllegalArgumentException.class, () -> { WitnessServiceType.valueOf("INVALID_TYPE"); }); assertThrows(IllegalArgumentException.class, () -> {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java
@Test @DisplayName("toString contains class name and message when provided") void toString_containsClassName_and_Message() { // Arrange String msg = "signature invalid"; SMBSignatureValidationException ex = new SMBSignatureValidationException(msg); // Act String s = ex.toString(); // AssertRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/PunycodeTest.kt
) } @Test fun mixedCasePunycode() { testDecodeOnly( unicode = "ليهمابتكلموشعربي؟", punycode = "Xn--EgBpDaJ6Bu4bXfGeHfVwXn", ) } /** * It's invalid to have a label longer than 63 characters. If that's requested, the encoder may * overflow and return null. */ @Test fun overflowEncodingOversizedLabel() { val a1000 = "a".repeat(1000)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5.3K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/lsarpc.java
public static final int SID_NAME_WKN_GRP = 5; /** SID name type: deleted. */ /** SID name type: deleted account. */ public static final int SID_NAME_DELETED = 6; /** SID name type: invalid. */ /** SID name type: invalid. */ public static final int SID_NAME_INVALID = 7; /** SID name type: unknown. */ /** SID name type: unknown. */ public static final int SID_NAME_UNKNOWN = 8; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 44.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/storage/ApiAdminStorageAction.java
final PathInfo pi = convertToItem(id); if (StringUtil.isEmpty(pi.getName())) { throwValidationErrorApi(messages -> messages.addErrorsStorageAccessError(GLOBAL, "id is invalid")); } final String objectName = getObjectName(pi.getPath(), pi.getName()); try { deleteObject(objectName);
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.9K bytes - Viewed (0) -
src/main/java/jcifs/pac/Pac.java
} if (log.isTraceEnabled()) { log.trace(String.format("Checksum data %s", Hexdump.toHexString(checksumData))); } throw new PACDecodingException("Invalid PAC signature"); } } /** * Returns the PAC logon information containing user authorization data. * @return the PAC logon information */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java
} @Test @DisplayName("Should handle referral decode failure gracefully") void testReferralDecodeFailure() { // Create buffer with invalid referral data byte[] testBuffer = new byte[20]; ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN); bb.putShort((short) 0); // pathConsumedRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt
return false } internal fun String.containsInvalidHostnameAsciiCodes(): Boolean { for (i in 0 until length) { val c = this[i] // The WHATWG Host parsing rules accepts some character codes which are invalid by // definition for OkHttp's host header checks (and the WHATWG Host syntax definition). Here // we rule out characters that would cause problems in host headers. if (c <= '\u001f' || c >= '\u007f') {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 11.2K bytes - Viewed (0)