- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for 0755 (3.98 sec)
-
src/test/java/jcifs/dcerpc/rpcTest.java
originalUuid.clock_seq_hi_and_reserved = (byte) 0x99; originalUuid.clock_seq_low = (byte) 0x88; originalUuid.node = new byte[] { (byte) 0x11, (byte) 0x22, (byte) 0x33, (byte) 0x44, (byte) 0x55, (byte) 0x66 }; // Mock encoding buffer NdrBuffer encodeBuffer = mock(NdrBuffer.class); when(encodeBuffer.derive(anyInt())).thenReturn(encodeBuffer);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java
} SrvCopychunkCopy copy = new SrvCopychunkCopy(patternKey); byte[] buffer = new byte[100]; // When copy.encode(buffer, 0); // Then for (int i = 0; i < SOURCE_KEY_SIZE; i++) { byte expected = (byte) ((i % 2 == 0) ? 0xAA : 0x55);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java
void testSetFileId() { setupMockConfig(); Smb2IoctlRequest request = new Smb2IoctlRequest(mockConfig, TEST_CONTROL_CODE); byte[] newFileId = new byte[16]; Arrays.fill(newFileId, (byte) 0x55); request.setFileId(newFileId); // FileId is set internally assertNotNull(request); } @Test @DisplayName("Test createResponse method")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
src[srcIndex + 52] = 0x20; // hex code matching mockQueryAddress src[srcIndex + 53] = 0x04; // flags: active // MAC address (6 bytes) byte[] testMac = { 0x00, 0x11, 0x22, 0x33, 0x44, 0x55 }; System.arraycopy(testMac, 0, src, srcIndex + 55, 6); // Statistics (6 bytes) byte[] stats = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05 }; System.arraycopy(stats, 0, src, srcIndex + 61, 6);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type2MessageTest.java
Type2Message message = new Type2Message(mockContext); byte[] testContext = new byte[] { (byte) 0x11, (byte) 0x22, (byte) 0x33, (byte) 0x44, (byte) 0x55, (byte) 0x66, (byte) 0x77, (byte) 0x88 }; // When message.setContext(testContext); // Then assertArrayEquals(testContext, message.getContext()); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 38.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
fp = 0L; } /** * Reads a single byte from the file at the current file pointer position. * * @return the byte read as an integer (0-255), or -1 if end of file is reached * @throws SmbException if an I/O error occurs */ public int read() throws SmbException { if (read(tmp, 0, 1) == -1) { return -1; }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/smb2/RequestWithFileIdTest.java
Arrays.fill(allOnes, (byte) 0xFF); byte[] alternating = new byte[16]; for (int i = 0; i < alternating.length; i++) { alternating[i] = (byte) (i % 2 == 0 ? 0xAA : 0x55); } RequestWithFileId request = new Smb2CloseRequest(mockConfig, emptyFileId); // All patterns should be accepted
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java
} @Test @DisplayName("Test with maximum data size") void testWithMaxDataSize() { // Given byte[] maxData = new byte[0xFFFF]; Arrays.fill(maxData, (byte) 0x55); transCallNamedPipe = new TransCallNamedPipe(mockConfig, TEST_PIPE_NAME, maxData, 0, maxData.length); byte[] dst = new byte[0x10000]; // WhenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java
// Test with alternating pattern byte[] alternatingFileId = new byte[16]; for (int i = 0; i < 16; i++) { alternatingFileId[i] = (byte) (i % 2 == 0 ? 0xAA : 0x55); } Smb2FlushRequest alternatingRequest = new Smb2FlushRequest(mockConfig, alternatingFileId); testFileIdInRequest(alternatingRequest, alternatingFileId); }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/smb1/smb1/AndXServerMessageBlockTest.java
int readHeaderWireFormat(byte[] buffer, int bufferIndex) { return 33; } }; byte[] buf = new byte[128]; buf[33] = 4; // wordCount buf[34] = 0x55; // andxCommand != 0xFF // andxOffset arbitrarily > 0 ServerMessageBlock.writeInt2(80, buf, 36); // byteCount position: 33 + 1 + 8 = 42 ServerMessageBlock.writeInt2(0, buf, 42);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0)