- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for 05 (0.76 sec)
-
docs/smb3-features/05-rdma-smb-direct-design.md
Shinsuke Sugaya <******@****.***> 1755312830 +0900
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 35.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
when(mockSmbPipeHandleInternal.recv(buf, 0, buf.length)).thenAnswer(invocation -> { byte[] buffer = invocation.getArgument(0); buffer[0] = 5; // Valid PDU version buffer[1] = 0; // Valid PDU type Encdec.enc_uint16le((short) 50, buffer, 8); // Fragment length return 30; // Initial bytes received });
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java
void testReadStringWithMaxLength() { smb.useUnicode = false; byte[] buffer = new byte[6]; System.arraycopy("short".getBytes(), 0, buffer, 0, 5); buffer[5] = 0; // Null terminator String result = smb.readString(buffer, 0, 5, false); assertEquals("short", result); } @Test void testReadStringWithMaxLengthExceeded() { smb.useUnicode = false;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
byte[] buffer = new byte[10]; byte[] data = { 1, 2, 3, 4, 5 }; ByteArrayInputStream bais = new ByteArrayInputStream(data); int bytesRead = SessionServicePacket.readn(bais, buffer, 0, 5); assertEquals(5, bytesRead); for (int i = 0; i < 5; i++) { assertEquals(data[i], buffer[i]); } } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmSspTest.java
String headerValue = headerCaptor.getValue(); assertNotNull(headerValue, "WWW-Authenticate header should be set"); assertEquals("NTLM ", headerValue.substring(0, 5), "Header should start with 'NTLM '"); // Decode the returned Type 2 message and check its signature and type byte[] type2Bytes = Base64.getDecoder().decode(headerValue.substring(5));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.4K bytes - Viewed (1) -
src/test/java/jcifs/smb1/util/HexdumpTest.java
// Test odd size (should handle correctly) byte[] data3 = { 0x0A, 0x0B, 0x0C }; assertEquals("0", Hexdump.toHexString(data3, 0, 1)); // 1 char = 0.5 bytes (rounds up to 1) assertEquals("0A", Hexdump.toHexString(data3, 0, 2)); // 2 chars = 1 byte assertEquals("0A0", Hexdump.toHexString(data3, 0, 3)); // 3 chars = 1.5 bytes (rounds up to 2)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java
assertFalse(sitemapsHelper.isValidUrl("http://" + "a".repeat(2048))); // Valid priority assertTrue(sitemapsHelper.isValidPriority("0.0")); assertTrue(sitemapsHelper.isValidPriority("0.5")); assertTrue(sitemapsHelper.isValidPriority("1.0")); assertTrue(sitemapsHelper.isValidPriority(null)); assertTrue(sitemapsHelper.isValidPriority("")); // Invalid priority
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 36.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java
long expectedIndexNumber = 0xCAFEBABEDEADBEEFL; SMBUtil.writeInt8(expectedIndexNumber, buffer, 0); // Decode with different length parameters int bytesDecoded1 = fileInternalInfo.decode(buffer, 0, 5); // Less than needed assertEquals(8, bytesDecoded1); // Should still return 8 assertEquals(expectedIndexNumber, fileInternalInfo.getIndexNumber()); FileInternalInfo info2 = new FileInternalInfo();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
byte[] buf = new byte[16]; // Skip advances internal file pointer; next read should use this offset in.skip(2); // Act int n = in.readDirect(buf, 0, 5); // Assert assertEquals(3, n, "Should report bytes read from SMB2 response"); // Verify the request offset equals the skip value (2)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0)