- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 1,108 for dsbyte (3.03 sec)
-
src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java
assertEquals(0, zeroAvFlags.getFlags(), "Flags should be 0 for zero bytes"); // Test with negative integer (two's complement) byte[] negativeBytes = new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF }; // Represents -1 AvFlags negativeAvFlags = new AvFlags(negativeBytes); assertNotNull(negativeAvFlags, "AvFlags object should not be null for negative bytes");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComWriteAndXResponseTest.java
/** * Test the readParameterWordsWireFormat method. */ @Test void testReadParameterWordsWireFormat() { SmbComWriteAndXResponse response = new SmbComWriteAndXResponse(); byte[] buffer = new byte[] { 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; // count = 10 int bytesRead = response.readParameterWordsWireFormat(buffer, 0); // The count should be read from the buffer.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComCreateDirectory.java
command = SMB_COM_CREATE_DIRECTORY; } @Override int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; dst[dstIndex] = (byte) 0x04; dstIndex++; dstIndex += writeString(path, dst, dstIndex); return dstIndex - start;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.8K bytes - Viewed (0) -
src/bytes/bytes_test.go
{"TrimRight", []byte("☺"), "☺", []byte{}}, {"TrimPrefix", nil, "", nil}, {"TrimPrefix", []byte{}, "", []byte{}}, {"TrimPrefix", []byte{'a'}, "a", []byte{}}, {"TrimPrefix", []byte("☺"), "☺", []byte{}}, {"TrimSuffix", nil, "", nil}, {"TrimSuffix", []byte{}, "", []byte{}}, {"TrimSuffix", []byte{'a'}, "a", []byte{}}, {"TrimSuffix", []byte("☺"), "☺", []byte{}}, }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Jul 28 18:13:58 UTC 2025 - 62.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
byte[] testSessionKey = new byte[16]; Arrays.fill(testSessionKey, (byte) 0xAA); byte[] testPreauth = new byte[64]; Arrays.fill(testPreauth, (byte) 0xBB); // When byte[] signingKey300 = Smb3KeyDerivation.deriveSigningKey(Smb2Constants.SMB2_DIALECT_0300, testSessionKey, testPreauth);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
assertEquals((byte) 0xFD, buffer[3]); } @Test @DisplayName("Should decode transform header from byte buffer") void testDecodeFromBuffer() { // Given byte[] buffer = new byte[52]; int index = 0; // Protocol ID - 0xFD534D42 in little-endian buffer[index++] = (byte) 0x42; buffer[index++] = (byte) 0x4D; buffer[index++] = (byte) 0x53;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/Encdec.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
byte[] buffer = new byte[50]; int bufferIndex = 0; // SMB3 capabilities int testCapabilities = 0x0000002F; // DFS, LEASING, LARGE_MTU, MULTI_CHANNEL, PERSISTENT_HANDLES, DIRECTORY_LEASING // Random but realistic GUID byte[] testGuid = { (byte) 0x01, (byte) 0x23, (byte) 0x45, (byte) 0x67, (byte) 0x89, (byte) 0xAB, (byte) 0xCD, (byte) 0xEF,
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/MIENameTest.java
class MIENameTest { // Helper to build a valid buffer according to the expected layout. private static byte[] buildBuffer(byte[] oidDer, byte[] nameBytes) { byte[] tokId = new byte[] { 0x04, 0x01 }; int oidLen = oidDer.length; int nameLen = nameBytes.length; byte[] buf = new byte[2 + 2 + oidLen + 4 + nameLen]; int i = 0; // TOK_ID buf[i++] = tokId[0];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java
request = new Smb2SetInfoRequest(mockConfig); // Set all fields byte[] newFileId = new byte[16]; for (int i = 0; i < 16; i++) { newFileId[i] = (byte) (0xFF - i); } request.setFileId(newFileId); request.setInfoType((byte) 0x02); request.setFileInfoClass((byte) 0x08); request.setAdditionalInformation(0xABCDEF00);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0)