Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for isDaemon (0.16 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        checkThreadPoolName(thread, 1);
    
        Thread defaultThread = Executors.defaultThreadFactory().newThread(monitoredRunnable);
        assertEquals(defaultThread.isDaemon(), thread.isDaemon());
        assertEquals(defaultThread.getPriority(), thread.getPriority());
        assertSame(defaultThread.getThreadGroup(), thread.getThreadGroup());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ForkingGradleHandle.java

        private final PipedOutputStream stdinPipe;
        private final boolean isDaemon;
    
        private final DurationMeasurement durationMeasurement;
        private final AtomicReference<ExecHandle> execHandleRef = new AtomicReference<>();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ParallelForkingGradleHandle.java

        public ParallelForkingGradleHandle(PipedOutputStream stdinPipe, boolean isDaemon, Action<ExecutionResult> resultAssertion, String outputEncoding, Factory<? extends AbstractExecHandleBuilder> execHandleFactory, DurationMeasurement durationMeasurement) {
            super(stdinPipe, isDaemon, resultAssertion, outputEncoding, execHandleFactory, durationMeasurement);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        checkThreadPoolName(thread, 1);
    
        Thread defaultThread = Executors.defaultThreadFactory().newThread(monitoredRunnable);
        assertEquals(defaultThread.isDaemon(), thread.isDaemon());
        assertEquals(defaultThread.getPriority(), thread.getPriority());
        assertSame(defaultThread.getThreadGroup(), thread.getThreadGroup());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/cli/BuildActionsFactoryTest.groovy

        def "by default daemon is used"() {
            when:
            def action = convert('args')
    
            then:
            isDaemon action
        }
    
        def "daemon is used when command line option is used"() {
            when:
            def action = convert('--daemon', 'args')
    
            then:
            isDaemon action
        }
    
        def "does not use daemon when no-daemon command line option issued"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ZincScalaCompileFixture.groovy

                allprojects {
                    $disableScalaDocIfInDaemonMode
                }
            """
        }
    
        static String getDisableScalaDocIfInDaemonMode() {
            return !GradleContextualExecuter.isDaemon() ? "" : """
                tasks.withType(ScalaDoc) {
                    doFirst {
                        throw new GradleException("Can't execute scaladoc while testing with the daemon due to permgen exhaustion")
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/DevelocityPluginBuildStateIntegrationTest.groovy

                        assert buildState.userId == services.get(${UserScopeId.name}).id.asString()
    
                        assert (buildState.daemonScanInfo != null) == ${GradleContextualExecuter.isDaemon()}
                    }
                }
            """
    
            when:
            succeeds("check")
    
            then:
            executed(":check")
    
            when:
            succeeds("check")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 10:49:16 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/test/preconditions/IntegTestPreconditions.groovy

            boolean isSatisfied() throws Exception {
                return GradleContextualExecuter.isDaemon() || GradleContextualExecuter.isNoDaemon()
            }
        }
    
        static final class IsDaemonExecutor implements TestPrecondition {
            @Override
            boolean isSatisfied() throws Exception {
                return GradleContextualExecuter.isDaemon()
            }
        }
    
        static final class NotDaemonExecutor implements TestPrecondition {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 16:09:18 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/concurrent/ResurrectingThread.kt

        /**
         * Checks if the thread is alive, resurrecting it if it's not.
         */
        fun poke() = synchronized(this) {
            if (thread?.isAlive != true) {
                thread = thread(name = name, isDaemon = true, block = block)
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  10. platforms/jvm/scala/src/integTest/groovy/org/gradle/integtests/samples/SamplesScalaQuickstartIntegrationTest.groovy

            )
    
            where:
            dsl << ['groovy', 'kotlin']
        }
    
        @UsesSample('scala/quickstart')
        def "can build scalaDoc with #dsl dsl"() {
            if (GradleContextualExecuter.isDaemon()) {
                // don't load scala into the daemon as it exhausts permgen
                return
            }
    
            TestFile projectDir = sample.dir.file(dsl)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top