Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 234 for uuid4 (0.02 sec)

  1. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.2K 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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. tests/test_inherited_custom_class.py

    import uuid
    
    import pytest
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    
    class MyUuid:
        def __init__(self, uuid_string: str):
            self.uuid = uuid_string
    
        def __str__(self):
            return self.uuid
    
        @property  # type: ignore
        def __class__(self):
            return uuid.UUID
    
        @property
        def __dict__(self):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  6. 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 24 11:36:14 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  7. cmd/erasure-healing_test.go

    	}
    
    	// After heal the meta file should be as expected.
    	if !fileInfoPreHeal.Equals(fileInfoPostHeal) {
    		t.Fatal("HealObject failed")
    	}
    
    	uuid, _ := uuid2.NewRandom()
    	for _, drive := range fsDirs {
    		dir := path.Join(drive, bucket, object, uuid.String())
    		err = os.MkdirAll(dir, os.ModePerm)
    		if err != nil {
    			t.Fatal(err)
    		}
    		err = os.WriteFile(pathJoin(dir, "part.1"), []byte("some data"), os.ModePerm)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 48.5K 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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/UUIDTest.java

                // Act
                UUID uuid = new UUID(rpcUuid);
    
                // Assert
                assertEquals(TIME_LOW, uuid.time_low, "time_low should match");
                assertEquals(TIME_MID, uuid.time_mid, "time_mid should match");
                assertEquals(TIME_HI_AND_VERSION, uuid.time_hi_and_version, "time_hi_and_version should match");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
Back to top