- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 75 for uuid_t (0.25 sec)
-
src/test/java/jcifs/dcerpc/rpcTest.java
void testUuidTEncode() throws NdrException { // Given: A UUID with test values rpc.uuid_t uuid = new rpc.uuid_t(); uuid.time_low = 0x12345678; uuid.time_mid = (short) 0x9ABC; uuid.time_hi_and_version = (short) 0xDEF0; uuid.clock_seq_hi_and_reserved = (byte) 0x11; uuid.clock_seq_low = (byte) 0x22;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/rpc.java
_src.align(4); if (uuid == null) { uuid = new uuid_t(); } uuid.time_low = _src.dec_ndr_long(); uuid.time_mid = (short) _src.dec_ndr_short(); uuid.time_hi_and_version = (short) _src.dec_ndr_short(); uuid.clock_seq_hi_and_reserved = (byte) _src.dec_ndr_small(); uuid.clock_seq_low = (byte) _src.dec_ndr_small();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/UUIDTest.java
assertEquals((byte) 0xEE, uuid.node[4]); assertEquals((byte) 0x00, uuid.node[5]); // Missing data defaults to 0 } @Test @DisplayName("Constructor with empty node array in rpc.uuid_t should handle gracefully") void testConstructorWithEmptyNode() { // Arrange rpc.uuid_t rpcUuid = new rpc.uuid_t(); rpcUuid.time_low = TIME_LOW;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/rpc.java
public static class uuid_t extends NdrObject { /** * Default constructor for uuid_t. */ public uuid_t() { // Default constructor } /** The low field of the timestamp */ public int time_low; /** The middle field of the timestamp */ public short time_mid; /** The high field of the timestamp multiplexed with the version number */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java
sidArray.sids[0].sid = new rpc.sid_t(); sidArray.sids[0].sid.revision = 1; sidArray.sids[0].sid.identifier_authority = new byte[] { 0, 0, 0, 0, 0, 5 }; sidArray.sids[0].sid.sub_authority_count = 1; sidArray.sids[0].sid.sub_authority = new int[] { 500 }; sidArray.sids[1] = new lsarpc.LsarSidPtr(); sidArray.sids[1].sid = new rpc.sid_t(); sidArray.sids[1].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) -
src/main/java/jcifs/dcerpc/msrpc/lsarpc.java
public rpc.unicode_string dns_domain; /** DNS forest name. */ public rpc.unicode_string dns_forest; /** Domain GUID. */ public rpc.uuid_t domain_guid; /** Domain security identifier. */ public rpc.sid_t sid; @Override public void encode(NdrBuffer _dst) throws NdrException { _dst.align(4); _dst.enc_ndr_short(this.name.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 44.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java
public rpc.unicode_string dns_domain; /** DNS forest name. */ public rpc.unicode_string dns_forest; /** Domain GUID. */ public rpc.uuid_t domain_guid; /** Domain security identifier. */ public rpc.sid_t sid; @Override public void encode(NdrBuffer _dst) throws NdrException { _dst.align(4); _dst.enc_ndr_short(name.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 42.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcLookupSidsTest.java
jcifs.SID mockSid2 = mock(jcifs.SID.class); jcifs.SID mockSid3 = mock(jcifs.SID.class); when(mockSid1.unwrap(sid_t.class)).thenReturn(mockSidT); when(mockSid2.unwrap(sid_t.class)).thenReturn(mockSidT); when(mockSid3.unwrap(sid_t.class)).thenReturn(mockSidT); testSids = new jcifs.SID[] { mockSid1, mockSid2, mockSid3 }; // Act
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.6K bytes - Viewed (0) -
src/test/java/jcifs/SIDTest.java
} /** * Test the internal constructor. */ @Test void testInternalConstructor() { rpc.sid_t rpcSid = new rpc.sid_t(); rpcSid.revision = 1; rpcSid.sub_authority_count = 2; rpcSid.identifier_authority = new byte[] { 0, 0, 0, 0, 0, 5 }; rpcSid.sub_authority = new int[] { 32, 544 };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt
} @Test fun replaceOnlyTag() { val uuidTag1 = UUID.randomUUID() val uuidTag2 = UUID.randomUUID() val request = Request .Builder() .url("https://square.com") .tag(UUID::class.java, uuidTag1) .tag(UUID::class.java, uuidTag2) .build() assertThat(request.tag(UUID::class.java)).isSameAs(uuidTag2) } @Test
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 19K bytes - Viewed (0)