- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 1,108 for dsbyte (1.16 sec)
-
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
"3, 3", // PRINT "0, 0", // Unknown "255, -1" // Byte overflow to signed }) void testDifferentShareTypes(int shareTypeValue, int expectedValue) throws SMBProtocolDecodingException { // Given byte[] buffer = new byte[256]; SMBUtil.writeInt2(16, buffer, 0); buffer[2] = (byte) shareTypeValue; // When response.readBytesWireFormat(buffer, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
void testWriteSetupWireFormat() { byte[] dst = new byte[100]; int result = response.writeSetupWireFormat(dst, 0); assertEquals(0, result); } @Test @DisplayName("Should return 0 for writeSetupWireFormat with offset") void testWriteSetupWireFormatWithOffset() { byte[] dst = new byte[100];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java
// fid 0x1234, lastWriteTime 0 -> UTime all 0xFF return Stream.of(Arguments.of(0x1234, 0L, new byte[] { 0x34, 0x12, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF }), // negative fid wraps around, lastWriteTime = 1000 -> 1 second -> int value 1 Arguments.of(-1, 1000L, new byte[] { (byte) 0xFF, (byte) 0xFF, 0x01, 0x00, 0x00, 0x00 })); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/spnego/NegTokenInitTest.java
int flags = NegTokenInit.DELEGATION | NegTokenInit.INTEGRITY; byte[] mechToken = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05 }; byte[] mic = new byte[] { (byte) 0xAA, (byte) 0xBB, (byte) 0xCC }; NegTokenInit original = new NegTokenInit(mechs, flags, mechToken, mic); byte[] firstEncoding = original.toByteArray();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2Constants.java
*/ public static final byte[] UNSPECIFIED_FILEID = { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF }; /** * Unspecified tree ID value */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/netbios/SessionServicePacket.java
static void writeInt2(final int val, final byte[] dst, int dstIndex) { dst[dstIndex] = (byte) (val >> 8 & 0xFF); dstIndex++; dst[dstIndex] = (byte) (val & 0xFF); } static void writeInt4(final int val, final byte[] dst, int dstIndex) { dst[dstIndex] = (byte) (val >> 24 & 0xFF); dstIndex++; dst[dstIndex++] = (byte) (val >> 16 & 0xFF);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java
private static final int TEST_CONTROL_CODE = Smb2IoctlRequest.FSCTL_DFS_GET_REFERRALS; private static final byte[] TEST_FILE_ID = new byte[16]; private static final byte[] TEST_OUTPUT_BUFFER = new byte[1024]; @BeforeEach void setUp() { Arrays.fill(TEST_FILE_ID, (byte) 0x42); } private void setupMockConfig() { when(mockConfig.getTransactionBufferSize()).thenReturn(65536); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
} @Test @DisplayName("Should throw IOException for fragment length exceeding max") void testDoSendReceiveFragment_FragmentTooLarge() throws Exception { DcerpcPipeHandle handle = createMockedDcerpcPipeHandle(); byte[] buf = new byte[50]; byte[] inB = new byte[100];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmContext.java
private int state = 1; private final CIFSContext transportContext; private String targetName; private byte[] type1Bytes; private byte[] signKey; private byte[] verifyKey; private byte[] sealClientKey; private byte[] sealServerKey; private Cipher sealClientHandle; private Cipher sealServerHandle; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 17.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NetServerEnum2Test.java
void testWriteSetupWireFormat() { byte[] dst = new byte[10]; int result = netServerEnum2.writeSetupWireFormat(dst, 0); assertEquals(0, result); } /** * Test the writeParametersWireFormat method for NET_SERVER_ENUM2. */ @Test void testWriteParametersWireFormat_Enum2() throws UnsupportedEncodingException { byte[] dst = new byte[100];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.6K bytes - Viewed (0)