Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 235 for uuid2 (0.04 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: Sat Dec 20 08:55:33 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 Dec 28 19:28:13 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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. tests/test_pydanticv2_dataclasses_uuid_stringified_annotations.py

    from __future__ import annotations
    
    import uuid
    from dataclasses import dataclass, field
    from typing import Union
    
    from dirty_equals import IsUUID
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    
    @dataclass
    class Item:
        id: uuid.UUID
        name: str
        price: float
        tags: list[str] = field(default_factory=list)
        description: Union[str, None] = None
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  7. 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 Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12K bytes
    - Viewed (0)
  8. docs/sts/web-identity.py

    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    
    import json
    import logging
    import urllib
    from uuid import uuid4
    
    import boto3
    import requests
    from botocore.client import Config
    from flask import Flask, request
    
    boto3.set_stream_logger('boto3.resources', logging.DEBUG)
    
    authorize_url = "http://localhost:8080/auth/realms/minio/protocol/openid-connect/auth"
    token_url = "http://localhost:8080/auth/realms/minio/protocol/openid-connect/token"
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Jul 28 01:37:51 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  9. 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: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  10. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top