- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 178 for 0x12 (0.01 sec)
-
src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java
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/SIDTest.java
* * @throws SmbException if the SID string is invalid */ @Test void testStringConstructorWithHex() throws SmbException { SID sid = new SID("S-1-0x12-21-1"); assertEquals(1, sid.revision); assertEquals(0x12, sid.identifier_authority[5]); assertEquals(2, sid.sub_authority_count); assertEquals(21, sid.sub_authority[0]); assertEquals(1, sid.sub_authority[1]); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.5K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
} // MAC address int macOffset = srcIndex + 1 + (18 * numNames); byte[] testMac = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06 }; System.arraycopy(testMac, 0, src, macOffset, 6); // Statistics byte[] stats = { 0x10, 0x11, 0x12, 0x13, 0x14, 0x15 }; System.arraycopy(stats, 0, src, macOffset + 6, 6); int result = response.readRDataWireFormat(src, srcIndex);
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/smb1/smb1/SmbComWriteTest.java
// Assert assertEquals(10, bytesWritten, "Should write 10 bytes"); // Check FID (little-endian) assertEquals(0x34, dst[0] & 0xFF); assertEquals(0x12, dst[1] & 0xFF); // Check count assertEquals(10, dst[2] & 0xFF); assertEquals(0, dst[3] & 0xFF); // Check offset assertEquals(0x78, dst[4] & 0xFF);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java
dnsDomainInfo.domain_guid.time_mid = 0x1234; dnsDomainInfo.domain_guid.time_hi_and_version = 0x5678; dnsDomainInfo.domain_guid.clock_seq_hi_and_reserved = 0x12; dnsDomainInfo.domain_guid.clock_seq_low = 0x34; dnsDomainInfo.domain_guid.node = new byte[] { 1, 2, 3, 4, 5, 6 }; dnsDomainInfo.sid = new rpc.sid_t(); dnsDomainInfo.sid.revision = 1;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Ints.java
* {@code ByteBuffer.allocate(4).putInt(value).array()}. For example, the input value {@code * 0x12131415} would yield the byte array {@code {0x12, 0x13, 0x14, 0x15}}. * * <p>If you need to convert and concatenate several values (possibly even of different types), * use a shared {@link java.nio.ByteBuffer} instance, or use {@link
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 31.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
class ToStringTests { @ParameterizedTest @DisplayName("Should format command name correctly") @ValueSource(shorts = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10, 0x11, 0x12 }) void testToStringCommandNames(short command) { testMessage.setCommand(command); String result = testMessage.toString();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/LongsTest.java
.that(Arrays.equals(expected, actual)) .isTrue(); } public void testToByteArray() { assertByteArrayEquals( new byte[] {0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19}, Longs.toByteArray(0x1213141516171819L)); assertByteArrayEquals( new byte[] { (byte) 0xFF, (byte) 0xEE, (byte) 0xDD, (byte) 0xCC,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 28.7K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java
// Arrange: minimal valid fields + APPLICATION tag 3 ASN1EncodableVector v = new ASN1EncodableVector(); byte ap = (byte) 0x12; v.add(new DERTaggedObject(true, 0, new ASN1Integer(Integer.parseInt(KerberosConstants.KERBEROS_VERSION)))); v.add(new DERTaggedObject(true, 1, new ASN1Integer(Integer.parseInt(KerberosConstants.KERBEROS_AP_REQ))));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java
// First decode byte[] buffer1 = new byte[28]; Arrays.fill(buffer1, 0, 24, (byte) 0x11); int bytesConsumed1 = response.decode(buffer1, 0, 28); assertEquals(28, bytesConsumed1); byte[] resumeKey1 = response.getResumeKey(); assertNotNull(resumeKey1); assertEquals((byte) 0x11, resumeKey1[0]); // Second decode - should overwrite
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0)