- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 170 for toho (0.04 sec)
-
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
byte[] smallBuffer = new byte[10]; assertThrows(ArrayIndexOutOfBoundsException.class, () -> testRequest.encode(smallBuffer, 5), "Should throw exception when buffer is too small"); } @Test @DisplayName("Should handle zero-length name") void testZeroLengthName() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionRequestPacketTest.java
} @Test @DisplayName("readTrailerWireFormat should throw IOException on incomplete data") void testReadTrailerWireFormatIncompleteData() { byte[] buffer = new byte[10]; // Too small buffer ByteArrayInputStream bais = new ByteArrayInputStream(buffer); SessionRequestPacket packet = new SessionRequestPacket(mockConfig); packet.length = 100; // Expect more data than availableRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/UUIDTest.java
"Should throw IllegalArgumentException for non-hex character in UUID string"); } @Test @DisplayName("Constructor with too short UUID string should parse available data") void testConstructorWithStringTooShort() { // Arrange - UUID string missing last two characters String shortUuid = "00112233-4455-6677-8899-AABBCCDDEE";
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockTest.java
if (buffer == null || buffer.length < bufferIndex + 4) { throw new SMBProtocolDecodingException("Buffer too small"); } return 4; } @Override public int encode(byte[] dst, int dstIndex) { return 4; }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java
} @Test @DisplayName("Test buffer overflow protection") void testBufferOverflowProtection() { byte[] smallBuffer = new byte[23]; // One byte too small // Should throw ArrayIndexOutOfBoundsException assertThrows(ArrayIndexOutOfBoundsException.class, () -> { request.writeBytesWireFormat(smallBuffer, 0); }); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
System.arraycopy(body, 0, packet, header.length, body.length); BaseConfiguration config = new BaseConfiguration(true); byte[] outBuf = new byte[4]; // too small Smb2IoctlResponse resp = new Smb2IoctlResponse(config, outBuf); assertThrows(SMBProtocolDecodingException.class, () -> resp.decode(packet, 0)); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/ElevateWordService.java
if (elevateWordPager.id != null) { cb.query().docMeta().setId_Equal(elevateWordPager.id); } // TODO Long, Integer, String supported only. // setup condition cb.query().addOrderBy_SuggestWord_Asc(); // search } /** * Imports elevate words from a CSV file.
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 18.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/AdminDictProtwordsAction.java
* @param hook The error hook. */ private static void validateProtwordsString(final FessBaseAction action, final String values, final String propertyName, final VaErrorHook hook) { // TODO validation } // =================================================================================== // JSPRegistered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 20.1K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type1MessageTest.java
} @Test @DisplayName("Should handle parsing invalid message bytes") void testInvalidMessageBytes() { // Given byte[] invalidBytes = { 1, 2, 3, 4, 5 }; // Too short and invalid // When/Then assertThrows(IOException.class, () -> { new Type1Message(invalidBytes); }); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/Transport.java
public static int readn(final InputStream in, final byte[] b, final int off, final int len) throws IOException { int i = 0, n = -5; if (off + len > b.length) { throw new IOException("Buffer too short, bufsize " + b.length + " read " + len); } while (i < len) { n = in.read(b, off + i, len - i); if (n <= 0) { break; } i += n;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 27.8K bytes - Viewed (0)