Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 498 for uuid4 (0.26 sec)

  1. 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)
  2. test/fixedbugs/issue30907.dir/a.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package a
    
    type UUID string
    
    func New() UUID {
    	return Must(NewRandom())
    }
    
    func NewRandom() (UUID, error) {
    	return "", nil
    }
    
    func Must(uuid UUID, err error) UUID {
    	return uuid
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 19:43:38 UTC 2019
    - 342 bytes
    - Viewed (0)
  3. platforms/core-runtime/client-services/src/main/java/org/gradle/internal/daemon/client/serialization/ClientSidePayloadClassLoaderRegistry.java

                }
    
                // Haven't seen the classloaders before - add a new entry
                UUID uuid = UUID.randomUUID();
                ClassLoaderDetails clientClassLoaders = new ClassLoaderDetails(uuid, new ClientOwnedClassLoaderSpec(ImmutableList.copyOf(classPath)));
                LocalClassLoaderMapping mapping = new LocalClassLoaderMapping(clientClassLoaders);
                for (ClassLoader candidate : candidates) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:53:31 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/rpc.java

                if ( this.uuid == null ) {
                    this.uuid = new uuid_t();
                }
                this.uuid.time_low = _src.dec_ndr_long();
                this.uuid.time_mid = (short) _src.dec_ndr_short();
                this.uuid.time_hi_and_version = (short) _src.dec_ndr_short();
                this.uuid.clock_seq_hi_and_reserved = (byte) _src.dec_ndr_small();
                this.uuid.clock_seq_low = (byte) _src.dec_ndr_small();
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:40:13 UTC 2019
    - 8.8K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/RequestTest.kt

        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
      fun multipleTags() {
        val uuidTag = UUID.randomUUID()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  6. maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionTest.java

                for (int i = 0; i < 64; i++) {
                    versions.add(newVersion(UUID.randomUUID().toString()));
                }
                try {
                    Collections.sort(versions);
                } catch (Exception e) {
                    e.printStackTrace(System.err);
                    System.err.println("The UUIDs used");
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue May 21 09:54:32 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. docs_src/extra_data_types/tutorial001.py

    from datetime import datetime, time, timedelta
    from typing import Union
    from uuid import UUID
    
    from fastapi import Body, FastAPI
    
    app = FastAPI()
    
    
    @app.put("/items/{item_id}")
    async def read_items(
        item_id: UUID,
        start_datetime: datetime = Body(),
        end_datetime: datetime = Body(),
        process_after: timedelta = Body(),
        repeat_at: Union[time, None] = Body(default=None),
    ):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Apr 19 00:11:40 UTC 2024
    - 755 bytes
    - Viewed (0)
Back to top