Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 117 for UUID (0.14 sec)

  1. src/main/java/jcifs/dcerpc/UUID.java

        }
    
        /**
         * Constructs a UUID from an existing rpc.uuid_t object
         *
         * @param uuid
         *            wrapped uuid object to copy values from
         */
        public UUID(final rpc.uuid_t uuid) {
            this.time_low = uuid.time_low;
            this.time_mid = uuid.time_mid;
            this.time_hi_and_version = uuid.time_hi_and_version;
            this.clock_seq_hi_and_reserved = uuid.clock_seq_hi_and_reserved;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/UUID.java

        }
    
        /**
         * Constructs a UUID from an existing rpc.uuid_t object
         *
         * @param uuid the wrapped uuid object to copy values from
         */
        public UUID(final rpc.uuid_t uuid) {
            time_low = uuid.time_low;
            time_mid = uuid.time_mid;
            time_hi_and_version = uuid.time_hi_and_version;
            clock_seq_hi_and_reserved = uuid.clock_seq_hi_and_reserved;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/persistent/HandleGuidTest.java

        }
    
        @Test
        public void testHandleGuidFromUuid() {
            UUID uuid = UUID.randomUUID();
            HandleGuid guid1 = new HandleGuid(uuid);
            HandleGuid guid2 = new HandleGuid(guid1.toBytes());
    
            assertEquals(guid1, guid2);
            assertEquals(uuid, guid1.getUuid());
        }
    
        @Test
        public void testHandleGuidInvalidBytes() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/persistent/HandleGuid.java

            // Construct UUID from components - Java UUID expects big-endian representation
            long mostSig = ((long) data1 << 32) | ((long) (data2 & 0xFFFF) << 16) | (data3 & 0xFFFF);
            long leastSig = data4;
    
            this.guid = new UUID(mostSig, leastSig);
        }
    
        /**
         * Create a handle GUID from existing UUID
         * @param uuid the UUID to wrap
         */
        public HandleGuid(UUID uuid) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. src/main/java/jcifs/smb1/dcerpc/DcerpcConstants.java

     */
    
    package jcifs.smb1.dcerpc;
    
    /**
     * DCE/RPC protocol constants for SMB1 compatibility
     */
    public interface DcerpcConstants {
    
        /**
         * NDR syntax UUID for DCE/RPC protocol
         */
        UUID DCERPC_UUID_SYNTAX_NDR = new UUID("8a885d04-1ceb-11c9-9fe8-08002b104860");
    
        /**
         * First fragment flag - indicates first fragment of a multi-fragment message
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/DcerpcConstants.java

     * This interface defines the constants used in DCERPC communication including
     * packet types, flags, and UUID identifiers.
     */
    public interface DcerpcConstants {
    
        /**
         * NDR syntax UUID for DCE/RPC protocol
         */
        UUID DCERPC_UUID_SYNTAX_NDR = new UUID("8a885d04-1ceb-11c9-9fe8-08002b104860");
    
        /**
         * First fragment flag - indicates first fragment of a multi-fragment message
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/DcerpcBindingTest.java

            assertEquals(endpoint, dcerpcBinding.getEndpoint(), "Endpoint should be set correctly.");
            assertNotNull(dcerpcBinding.getUuid(), "UUID should be set for a valid pipe endpoint.");
            assertEquals("4B324FC8-1670-01D3-1278-5A47BF6EE188", dcerpcBinding.getUuid().toString(), "UUID should be parsed correctly.");
            assertEquals(3, dcerpcBinding.getMajor(), "Major version should be parsed correctly.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
Back to top