Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 154 for uuid2 (0.02 sec)

  1. src/test/java/org/codelibs/core/net/UuidUtilTest.java

         * Test method for {@link org.codelibs.core.net.UuidUtil#create()}.
         */
        public void testCreate() {
            final String uuid = UuidUtil.create();
            System.out.println(uuid);
            final String uuid2 = UuidUtil.create();
            System.out.println(uuid2);
            assertFalse(uuid.equals(uuid2));
        }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  2. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 48.5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/test/java/jcifs/tests/persistent/HandleGuidTest.java

            });
        }
    
        @Test
        public void testHandleGuidEqualsAndHashCode() {
            UUID uuid = UUID.randomUUID();
            HandleGuid guid1 = new HandleGuid(uuid);
            HandleGuid guid2 = new HandleGuid(uuid);
            HandleGuid guid3 = new HandleGuid();
    
            assertEquals(guid1, guid2);
            assertEquals(guid1.hashCode(), guid2.hashCode());
            assertNotEquals(guid1, guid3);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. cmd/data-scanner_test.go

    	globalExpiryState = es
    
    	// Prepare object versions
    	obj := "obj-1"
    	// Simulate objects uploaded 30 hours ago
    	modTime := now.Add(-48 * time.Hour)
    	uuids := make([]uuid.UUID, 5)
    	for i := range uuids {
    		uuids[i] = uuid.UUID([16]byte{15: uint8(i + 1)})
    	}
    	fivs := make([]FileInfo, 5)
    	objInfos := make([]ObjectInfo, 5)
    	objRetentionMeta := make(map[string]string)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/net/UuidUtil.java

        private static final String BASE = StringUtil.toHex(getAddress()) + StringUtil.toHex(System.identityHashCode(RANDOM));
    
        /**
         * Creates a UUID.
         *
         * @return the UUID string
         */
        public static String create() {
            final StringBuilder buf = new StringBuilder(BASE.length() * 2);
            buf.append(BASE);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/EncdecTest.java

        @Test
        @DisplayName("Should encode and decode UUIDs")
        void testUUIDOperations() {
            // Given
            byte[] uuid = { 0x12, 0x34, 0x56, 0x78, (byte) 0x9A, (byte) 0xBC, (byte) 0xDE, (byte) 0xF0, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66,
                    0x77, (byte) 0x88 };
            byte[] buffer = new byte[16];
    
            // When
            System.arraycopy(uuid, 0, buffer, 0, 16);
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  9. cmd/erasure-healing-common.go

    	onlineDisks = make([]StorageAPI, len(disks))
    
    	// List all the file commit ids from parts metadata.
    	modTimes := listObjectModtimes(partsMetadata, errs)
    
    	// Reduce list of UUIDs to a single common value.
    	modTime = commonTime(modTimes, quorum)
    
    	if modTime.IsZero() || modTime.Equal(timeSentinel) {
    		etags := listObjectETags(partsMetadata, errs, quorum)
    
    		etag = commonETag(etags, quorum)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 12K bytes
    - Viewed (0)
  10. docs/smb3-features/02-persistent-handles-design.md

    }
    ```
    
    ## 4. Data Structures
    
    ### 4.1 Handle GUID Structure
    ```java
    package jcifs.internal.smb2.persistent;
    
    import java.util.UUID;
    import java.nio.ByteBuffer;
    
    public class HandleGuid {
        private final UUID guid;
        
        public HandleGuid() {
            this.guid = UUID.randomUUID();
        }
        
        public HandleGuid(byte[] bytes) {
            if (bytes.length != 16) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
Back to top