- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 335 for 0x0D (0.01 sec)
-
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
// Given byte[] buffer = new byte[60]; SMBUtil.writeInt2(60, buffer, 0); // Set multiple attribute flags int attributes = 0x01 | 0x02 | 0x04 | 0x10 | 0x20; // Multiple attributes SMBUtil.writeInt4(attributes, buffer, 56); // When response.readBytesWireFormat(buffer, 0); // ThenRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0) -
src/main/java/jcifs/netbios/SessionServicePacket.java
dst[dstIndex] = (byte) 0x01; } dstIndex++; writeInt2(this.length, dst, dstIndex); return HEADER_LENGTH; } int readHeaderWireFormat(final InputStream in, final byte[] buffer, int bufferIndex) { this.type = buffer[bufferIndex] & 0xFF; bufferIndex++; this.length = ((buffer[bufferIndex] & 0x01) << 16) + readInt2(buffer, bufferIndex + 1);
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/info/Smb2QueryDirectoryResponseTest.java
// Verify results is now set (even if empty) assertNotNull(response.getResults()); } @ParameterizedTest @CsvSource({ "0x01, FILE_DIRECTORY_INFO", "0x02, FILE_FULL_DIRECTORY_INFO", "0x03, FILE_BOTH_DIRECTORY_INFO" }) @DisplayName("Test constructor with different info class constants") void testConstructorWithDifferentInfoClasses(byte infoClass, String description) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileInformationTest.java
void testFileInformationConstantsMatchProtocol() { // These values are defined in MS-FSCC specification assertEquals(0x04, FileInformation.FILE_BASIC_INFO); assertEquals(0x05, FileInformation.FILE_STANDARD_INFO); assertEquals(0x06, FileInformation.FILE_INTERNAL_INFO); assertEquals(10, FileInformation.FILE_RENAME_INFO); assertEquals(20, FileInformation.FILE_ENDOFFILE_INFO);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java
} @Test void testConstructorWithMalformedToken() { // Test that PACDecodingException is thrown for a malformed token byte[] malformedToken = new byte[] { 0x01, 0x02, 0x03 }; PACDecodingException e = assertThrows(PACDecodingException.class, () -> new KerberosTicket(malformedToken, (byte) 0, keys)); assertTrue(e.getMessage().startsWith("Malformed kerberos ticket")); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
guava/src/com/google/common/net/InetAddresses.java
return false; } byte[] bytes = ip.getAddress(); if ((bytes[8] | (byte) 0x03) != (byte) 0x03) { // Verify that high byte of the 64 bit identifier is zero, modulo // the U/L and G bits, with which we are not concerned. return false; } return (bytes[9] == (byte) 0x00) && (bytes[10] == (byte) 0x5e) && (bytes[11] == (byte) 0xfe); } /**Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 47.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java
// Then assertTrue(result > 0); assertEquals((byte) 0x04, dst[0]); // First buffer format byte // Find the second buffer format byte int secondBufferFormatIndex = oldFileName.length() + 2; // 1 for first 0x04, 1 for null terminator assertEquals((byte) 0x04, dst[secondBufferFormatIndex]); } /** * Test writeBytesWireFormat with Unicode encodingRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/av/AvPair.java
/** * Channel bindings type */ public static final int MsvAvChannelBindings = 0x0A; private final int type; private final byte[] raw; /** * Constructs an AV pair with type and raw data * @param type the AV pair type * @param raw the raw data bytes */ public AvPair(final int type, final byte[] raw) { this.type = type;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/samr.idl
[out] policy_handle *handle); [op(0x07)] int SamrOpenDomain([in] policy_handle *handle, [in] uint32_t access_mask, [in] sid_t *sid, [out] policy_handle *domain_handle); typedef struct { uint32_t idx; unicode_string name; } SamrSamEntry; typedef struct { uint32_t count; [size_is(count)] SamrSamEntry *entries; } SamrSamArray; [op(0x0f)]
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java
// Verify content assertEquals(SmbComTransaction.TRANS2_QUERY_FS_INFORMATION, buffer[0]); assertEquals(0x00, buffer[1]); assertEquals(0x03, buffer[2]); // Low byte of 0x0103 assertEquals(0x01, buffer[3]); // High byte of 0x0103 } @DisplayName("Test toString with different information levels") @ParameterizedTestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.9K bytes - Viewed (0)