Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 224 for executors (0.26 sec)

  1. platforms/core-runtime/concurrent/src/test/groovy/org/gradle/internal/concurrent/DefaultExecutorFactoryTest.groovy

            when:
            def executor = factory.create('<display-name>')
            def action = {
                executor.stop()
            }
            executor.execute(action)
            executor.stop()
    
            then:
            IllegalStateException e = thrown()
            e.message == 'Cannot stop this executor from an executor thread.'
        }
    
        def stopThrowsExceptionOnTimeout() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:35 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/stream_executor/stream_executor_test.cc

        free(mem->opaque);
        mem->opaque = nullptr;
        mem->size = 0;
      };
      StreamExecutor* executor = GetExecutor(0);
      DeviceMemory<int> mem = executor->AllocateArray<int>(2);
      ASSERT_NE(mem.opaque(), nullptr);
      ASSERT_EQ(mem.size(), 2 * sizeof(int));
      executor->Deallocate(&mem);
    }
    
    TEST_F(StreamExecutorTest, HostMemoryAllocate) {
      static bool allocate_called = false;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 19:54:04 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApiSpecification.groovy

    import org.gradle.integtests.fixtures.executer.ExecutionFailure
    import org.gradle.integtests.fixtures.executer.ExecutionResult
    import org.gradle.integtests.fixtures.executer.GradleDistribution
    import org.gradle.integtests.fixtures.executer.IntegrationTestBuildContext
    import org.gradle.integtests.fixtures.executer.OutputScrapingExecutionFailure
    import org.gradle.integtests.fixtures.executer.OutputScrapingExecutionResult
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DefaultDaemonConnection.java

            }
    
            @Override
            public void stop() {
                ManagedExecutor executor;
                lock.lock();
                try {
                    executor = this.executor;
                } finally {
                    lock.unlock();
                }
                if (executor != null) {
                    executor.stop();
                }
            }
    
            public void add(C command) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:37 UTC 2024
    - 16K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/ConfigurationCacheReport.kt

                }
    
                override fun close(): State {
                    if (executor.isShutdown) {
                        writer.close()
                    } else {
                        executor.submit {
                            writer.close()
                        }
                        executor.shutdown()
                    }
                    return Closed
                }
    
                private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/internal/classpath/DefaultCachedClasspathTransformer.java

        public static class ParallelTransformExecutor {
    
            private final PersistentCache cache;
            private final ManagedExecutor executor;
    
            public ParallelTransformExecutor(PersistentCache cache, ManagedExecutor executor) {
                this.cache = cache;
                this.executor = executor;
            }
    
            public <T, U> List<U> transformAll(Collection<T> inputs, ValueOrTransformProvider<T, U> valueOrTransformProvider) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  7. apache-maven/pom.xml

                </configuration>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-compiler-plugin</artifactId>
            <executions>
              <execution>
                <id>test-compile</id>
                <goals>
                  <goal>testCompile</goal>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed May 22 14:07:09 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiModelQueryIntegrationTest.groovy

            """
    
            when:
            executer.withArguments(ENABLE_CLI)
            fetchModel(SomeToolingModel, "help")
    
            then:
            notExecuted("help")
            fixture.assertStateStored {
                projectsConfigured(":buildSrc", ":")
                modelsCreated(":")
            }
    
            when:
            executer.withArguments(ENABLE_CLI)
            fetchModel(SomeToolingModel, ":dummyTask")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_async.td

      let summary = "The sequenced version of Fallback ExecuteOp";
      let description = [{
        The ExecuteOpSeq executes an operation on the specified device, similar to
        ExecuteOp. In addition, it takes an in_op_chain and produces an out_op_chain
        that can be used to sequence op executions. ExecuteOpSeq is nonstrict on
        in_op_chain.
    
        Example:
          %op_ch_out, %res = tfrt_fallback_async.executeop.seq(%op_ch_in)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 15:01:21 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingModelsWithDependencyResolutionIntegrationTest.groovy

            file("c/build.gradle") << """
                plugins.apply(my.MyPlugin)
            """
            file("d/build.gradle") << """
                plugins.apply(my.MyPlugin)
            """
    
            when:
            executer.withArguments(ENABLE_CLI)
            def model = runBuildAction(new FetchCustomModelForEachProject())
    
            then:
            model.size() == 4
            model[0].message == "project :a classpath = 2"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 19.7K bytes
    - Viewed (0)
Back to top