- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 301 for 0x20 (0.02 sec)
-
src/test/java/jcifs/pac/PacSignatureTest.java
* Test constructor with malformed data (too short). */ @Test void testConstructorMalformedData() { // Prepare data (only 2 bytes, less than an int) byte[] data = new byte[] { 0x01, 0x02 }; // Verify that PACDecodingException is thrown assertThrows(PACDecodingException.class, () -> { new PacSignature(data); }); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java
assertEquals(2, written, "setup packet should write 2 bytes"); assertEquals(SmbComTransaction.TRANS2_QUERY_FS_INFORMATION, buf[0], "first byte should be subCommand"); assertEquals((byte) 0x00, buf[1], "second byte should be zero"); } @Test @DisplayName("writeParametersWireFormat writes the information level as 2-byte little endian") void testWriteParametersWireFormat() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java
byte[] bufferData = buf.getBuffer(); assertEquals((byte) 0xCD, bufferData[startIndex + alignmentBytes], "Least significant byte should be first"); assertEquals((byte) 0x00, bufferData[startIndex + alignmentBytes + 1], "Most significant byte should be second"); } /** * When given a buffer with sufficient length, decode performs * the inverse of encode. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java
// relative to headerStart static final int SETUP_OFFSET = 61; static final int DISCONNECT_TID = 0x01; static final int ONE_WAY_TRANSACTION = 0x02; private int pad; private int pad1; private boolean parametersDone, dataDone; /** Total number of parameter bytes the server is returning */ protected int totalParameterCount;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java
} /** * Test constructor with a malformed token. */ @Test void testConstructorMalformed() { byte[] malformedToken = new byte[] { 0x01, 0x02, 0x03, 0x04 }; assertThrows(PACDecodingException.class, () -> new KerberosEncData(malformedToken, Collections.emptyMap())); } /** * Test constructor with an unknown field. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessNotification.java
private final int flags; /** Flag indicating IPv4 address type */ public static final int IPV4 = 0x01; /** Flag indicating IPv6 address type */ public static final int IPV6 = 0x02; /** * Creates a new witness IP address. * * @param address the IP address */ public WitnessIPAddress(InetAddress address) { this.address = address;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java
} } /* --- flag handling -------------------------------- */ @Test void testFlagSetAndUnset() { TestMessage m = new TestMessage(); int FLAG_A = 0x01; int FLAG_B = 0x02; assertFalse(m.isFlagSet(FLAG_A)); m.setFlag(FLAG_A); assertTrue(m.isFlagSet(FLAG_A)); // unset correctly removes the flag m.unsetFlag(FLAG_A);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java
/** * File information class for both names with file IDs. */ public static final byte FILE_ID_BOTH_DIRECTORY_INFO = 0x24; /** * File information class for full directory information with file IDs. */ public static final byte FILE_ID_FULL_DIRECTORY_INFO = 0x26; /** * Flag to restart the directory enumeration from the beginning. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.3K bytes - Viewed (0) -
cmd/erasure-server-pool-decom_gen.go
} } return } // EncodeMsg implements msgp.Encodable func (z *PoolDecommissionInfo) EncodeMsg(en *msgp.Writer) (err error) { // map header, size 16 // write "st" err = en.Append(0xde, 0x0, 0x10, 0xa2, 0x73, 0x74) if err != nil { return } err = en.WriteTime(z.StartTime) if err != nil { err = msgp.WrapError(err, "StartTime") return } // write "ss"
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Jul 04 21:02:54 UTC 2022 - 26.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.2K bytes - Viewed (0)