Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 153 for uuid3 (0.17 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: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. cmd/data-scanner_test.go

    		objectName: obj,
    		lifeCycle:  &lc,
    	}
    
    	modTime := time.Now()
    	uuids := make([]uuid.UUID, 5)
    	for i := range uuids {
    		uuids[i] = uuid.UUID([16]byte{15: uint8(i + 1)})
    	}
    	fivs := make([]FileInfo, 5)
    	for i := 0; i < 5; i++ {
    		fivs[i] = FileInfo{
    			Volume:      bucket,
    			Name:        obj,
    			VersionID:   uuids[i].String(),
    			IsLatest:    i == 0,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 03 11:18:58 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. tests/test_inherited_custom_class.py

            assert isinstance(asyncpg_uuid, uuid.UUID)
            assert type(asyncpg_uuid) != uuid.UUID
            with pytest.raises(TypeError):
                vars(asyncpg_uuid)
            return {"fast_uuid": asyncpg_uuid}
    
        class SomeCustomClass(BaseModel):
            class Config:
                arbitrary_types_allowed = True
                json_encoders = {uuid.UUID: str}
    
            a_uuid: MyUuid
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/ClassLoaderDetails.java

        public ClassLoaderDetails(UUID uuid, ClassLoaderSpec spec) {
            this.uuid = uuid;
            this.spec = spec;
        }
    
        @Override
        public String toString() {
            return "{" + getClass().getSimpleName() + " uuid: " + uuid + " spec: " + spec + " parents: " + parents + "}";
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:53:31 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/inet/MultiChoiceAddressTest.groovy

        def "has useful display name"() {
            InetAddress candidate = InetAddress.getByName("1.1.1.1")
            UUID uuid = UUID.randomUUID()
            def address = new MultiChoiceAddress(uuid, 1234, [candidate])
    
            expect:
            address.displayName == "[${uuid} port:1234, addresses:[/1.1.1.1]]"
            address.toString() == address.displayName
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/resource/TextResourceIntegrationTest.groovy

            when:
            def uuid = UUID.randomUUID()
            def resourceFile = file("web-file.txt")
            server.useHostname() // use localhost vs ip
            server.forbidGet("/myConfig-${uuid}.txt", resourceFile)
            server.start()
    
            buildFile << """
                task uriText(type: MyTask) {
                    config = resources.text.fromUri("${server.uri}/myConfig-${uuid}.txt")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/bootstrap/DaemonStartupCommunicationSpec.groovy

        def comm = new DaemonStartupCommunication()
        def dummyFile = new File("C:\\foo;;\\daemon-123.log\n\r\n\u03b1")
        def uuid = UUID.randomUUID()
        def addresses = [InetAddress.getByName(null)]
    
        def "can simply communicate diagnostics"() {
            when:
            def message = message(123, "1234", uuid, 123, addresses, dummyFile)
            def startupInfo = comm.readDiagnostics(message)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/launcher/daemon/protocol/Command.java

    package org.gradle.launcher.daemon.protocol;
    
    import java.io.Serializable;
    import java.util.UUID;
    
    /**
     * Represents the initial message sent to the daemon, requesting that the daemon do some work.
     */
    public class Command extends Message implements Serializable {
        private final UUID identifier;
        private final byte[] token;
    
        public Command(UUID identifier, byte[] token) {
            this.identifier = identifier;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 04:50:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/resource/BrokenTextResourceIntegrationTest.groovy

            given:
            def uuid = UUID.randomUUID()
            server.expectGetMissing("/myConfig-${uuid}.txt")
            server.start()
            buildFile << """
                text.text = resources.text.fromUri("${server.uri}/myConfig-${uuid}.txt")
    """
    
            expect:
            fails("text")
            failure.assertHasCause("Could not read '${server.uri}/myConfig-${uuid}.txt' as it does not exist.")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/id/UniqueId.java

            @Override
            public UniqueId create() {
                return generate();
            }
        };
    
        private final String value;
    
        public static UniqueId from(UUID uuid) {
            long msb = uuid.getMostSignificantBits();
            long lsb = uuid.getLeastSignificantBits();
    
            byte[] bytes = new byte[16];
            ByteBuffer.wrap(bytes).putLong(msb).putLong(lsb);
            String value = ENCODING.encode(bytes);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top