- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 2,081 for executors (0.14 sec)
-
guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java
import java.util.concurrent.CountDownLatch; import java.util.concurrent.ExecutionException; import java.util.concurrent.Executor; import java.util.concurrent.ExecutorService; /** * Tests for {@link ClosingFuture} that exercise {@link * ClosingFuture#finishToValueAndCloser(ValueAndCloserConsumer, Executor)}. */ public class ClosingFutureFinishToValueAndCloserTest extends AbstractClosingFutureTest {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 5.7K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/NoDaemonGradleExecuter.java
+ "The test is most likely not written in a way that it can run with the embedded executer."); } NativeServicesTestFixture.initialize(); DefaultExecHandleBuilder builder = new DefaultExecHandleBuilder(TestFiles.pathToFileResolver(), Executors.newCachedThreadPool()) { @Override public File getWorkingDir() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 05:38:50 UTC 2024 - 11.6K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/operations/BuildOperationCategory.java
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.internal.operations; /** * Classifies a build operation such that executors and event listeners can * react differently depending on this type. * * @since 4.0 */ public enum BuildOperationCategory implements BuildOperationMetadata { /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 2.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java
import java.util.concurrent.CountDownLatch; import java.util.concurrent.ExecutionException; import java.util.concurrent.Executor; import java.util.concurrent.ExecutorService; /** * Tests for {@link ClosingFuture} that exercise {@link * ClosingFuture#finishToValueAndCloser(ValueAndCloserConsumer, Executor)}. */ public class ClosingFutureFinishToValueAndCloserTest extends AbstractClosingFutureTest {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 5.7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/tasks/SnapshotTaskInputsBuildOperationResult.java
* * <p> * These two operations should be captured separately, but for historical reasons we don't yet do that. * To reproduce this composite operation we capture across executors by starting an operation * in {@link MarkSnapshottingInputsStartedStep} and finished in {@link MarkSnapshottingInputsFinishedStep}. * </p> */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jul 07 15:20:39 UTC 2023 - 3.7K bytes - Viewed (0) -
platforms/core-execution/hashing/src/test/groovy/org/gradle/internal/hash/HashingTest.groovy
package org.gradle.internal.hash import spock.lang.Specification import static java.lang.Thread.currentThread import static java.util.concurrent.CompletableFuture.supplyAsync import static java.util.concurrent.Executors.newFixedThreadPool class HashingTest extends Specification { def 'cannot call hash multiple times'() { given: def hasher = Hashing.newHasher() hasher.putInt(1) hasher.hash()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:43:29 UTC 2023 - 3.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java
ScheduledExecutorService executor = newScheduledThreadPool(1); try { FluentFuture<?> f = FluentFuture.from(SettableFuture.create()).withTimeout(0, SECONDS, executor); ExecutionException e = assertThrows(ExecutionException.class, () -> f.get()); assertThat(e).hasCauseThat().isInstanceOf(TimeoutException.class); } finally { executor.shutdown(); } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 13 14:28:25 UTC 2024 - 5.7K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/integTest/groovy/org/gradle/cache/internal/DefaultFileLockManagerContentionIntegrationTest.groovy
def build1 = executer.withStackTraceChecksDisabled().withArguments("-d").withTasks("lock").start() def build2 = executer.withStackTraceChecksDisabled().withArguments("-d").withTasks("lock").start() def build3 = executer.withStackTraceChecksDisabled().withArguments("-d").withTasks("lock").start() poll(120) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 15.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java
ScheduledExecutorService executor = newScheduledThreadPool(1); try { FluentFuture<?> f = FluentFuture.from(SettableFuture.create()).withTimeout(0, SECONDS, executor); ExecutionException e = assertThrows(ExecutionException.class, () -> f.get()); assertThat(e).hasCauseThat().isInstanceOf(TimeoutException.class); } finally { executor.shutdown(); } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 13 14:28:25 UTC 2024 - 5.7K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/GradleContextualExecuter.java
public static boolean isConfigCache() { Executer executer = getSystemPropertyExecuter(); return executer == Executer.configCache || executer == Executer.isolatedProjects; } public static boolean isNotIsolatedProjects() { return !isIsolatedProjects(); } public static boolean isIsolatedProjects() { return getSystemPropertyExecuter() == Executer.isolatedProjects; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 18:06:31 UTC 2024 - 7.2K bytes - Viewed (0)