Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 284 for connections (0.16 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r61/InvalidateVirtualFileSystemAfterChangeCrossVersionSpec.groovy

            when:
            withConnection { connection ->
                connection.notifyDaemonsAboutChangedPaths(toPaths(changedPaths))
            }
    
            then:
            toolingApi.daemons.daemons.empty
        }
    
        @TargetGradleVersion(">=6.1")
        def "changed paths need to be absolute"() {
            changedPaths = ["some/relative/path"]
    
            when:
            withConnection { connection ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/connection/ParameterAcceptingConsumerConnection.java

            super(delegate, modelMapping, adapter);
            InternalParameterAcceptingConnection connection = (InternalParameterAcceptingConnection) delegate;
            CancellationExceptionTransformer exceptionTransformer = CancellationExceptionTransformer.transformerFor(getVersionDetails());
            actionRunner = new ParameterizedActionRunner(connection, exceptionTransformer, getVersionDetails());
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/connection/CancellableConsumerConnection.java

            InternalCancellableConnection connection = (InternalCancellableConnection) delegate;
            modelProducer = createModelProducer(connection, modelMapping, adapter, exceptionTransformer);
            actionRunner = new CancellableActionRunner(connection, exceptionTransformer, getVersionDetails());
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/NotifyDaemonAboutChangedPathsClient.java

            Throwable failure = null;
            try {
                connection.dispatch(command);
                Result result = (Result) connection.receive();
                if (result instanceof Failure) {
                    failure = ((Failure) result).getValue();
                }
                connection.dispatch(new Finished());
            } catch (Throwable e) {
                failure = e;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r23/StandardStreamsCrossVersionSpec.groovy

    project.logger.debug("debug log message");
    
    task log {
        doLast {
            println "task log message"
        }
    }
    """
    
            when:
            withConnection { ProjectConnection connection ->
                def build = connection.newBuild()
                build.forTasks("log")
                build.run()
            }
    
            then:
            !stdOutAndErr.stdOut.contains("log message")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. internal/deadlineconn/deadlineconn.go

    import (
    	"net"
    	"time"
    )
    
    // DeadlineConn - is a generic stream-oriented network connection supporting buffered reader and read/write timeout.
    type DeadlineConn struct {
    	net.Conn
    	readDeadline  time.Duration // sets the read deadline on a connection.
    	writeDeadline time.Duration // sets the write deadline on a connection.
    }
    
    // Sets read deadline
    func (c *DeadlineConn) setReadDeadline() {
    	if c.readDeadline > 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/api/DaemonConnection.java

         * The following events trigger an end of input:
         * <ul>
         * <li>A {@link org.gradle.launcher.daemon.protocol.CloseInput} event received from the client.</li>
         * <li>When the client connection disconnects unexpectedly.</li>
         * <li>When the connection is closed using {@link #stop()}.</li>
         * </ul>
         *
         * Note: the end of input may be signalled from another thread before this method returns.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:37 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r112/PublicationsCrossVersionSpec.groovy

            ProjectPublications publications = withConnection { connection ->
                connection.getModel(ProjectPublications)
            }
    
            then:
            publications.publications.empty
        }
    
        def "project without any configured publications"() {
            buildFile << "apply plugin: 'java'"
    
            when:
            ProjectPublications publications = withConnection { connection ->
                connection.getModel(ProjectPublications)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r88/DaemonJvmCompatibilityCrossVersionSpec.groovy

            withConnection { connection ->
                connection.newBuild().forTasks('help').run()
            }
    
            file("gradle.properties").writeProperties("org.gradle.java.home": jdk17.javaHome.absolutePath)
            withConnection { connection ->
                connection.newBuild().forTasks('help').run()
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:16:16 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r50/ToolingApiIdeaModelCrossVersionSpec.groovy

                    test {
                        java {}
                        resources {}
                    }
                }
            }
    
            when:
            IdeaProject project = withConnection { connection -> connection.getModel(IdeaProject.class) }
            IdeaModule module = project.children[0]
            IdeaContentRoot root = module.contentRoots[0]
    
            then:
            root.sourceDirectories.size() == 1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top