Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 234 for formaction (0.26 sec)

  1. platforms/documentation/docs/src/snippets/workerApi/noIsolation/kotlin/build.gradle.kts

        val destinationDir : DirectoryProperty
    }
    
    // The implementation of a single unit of work
    abstract class ReverseFile @Inject constructor(val fileSystemOperations: FileSystemOperations) : WorkAction<ReverseParameters> {
        override fun execute() {
            fileSystemOperations.copy {
                from(parameters.fileToReverse)
                into(parameters.destinationDir)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/workerApi/noIsolation/groovy/build.gradle

    interface ReverseParameters extends WorkParameters {
        RegularFileProperty getFileToReverse()
        DirectoryProperty getDestinationDir()
    }
    
    // The implementation of a single unit of work.
    abstract class ReverseFile implements WorkAction<ReverseParameters> {
        private final FileSystemOperations fileSystemOperations
    
        @Inject
        public ReverseFile(FileSystemOperations fileSystemOperations) {
            this.fileSystemOperations = fileSystemOperations
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/DefaultWorkerExecutor.java

        private final ActionExecutionSpecFactory actionExecutionSpecFactory;
        private final Instantiator instantiator;
        private final IsolationScheme<WorkAction<?>, WorkParameters> isolationScheme = new IsolationScheme<>(Cast.uncheckedCast(WorkAction.class), WorkParameters.class, WorkParameters.None.class);
        private final CachedClasspathTransformer classpathTransformer;
        private final File baseDir;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 15:17:07 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/workerApi/waitForCompletion/kotlin/build.gradle.kts

        val destinationDir : DirectoryProperty
    }
    
    // The implementation of a single unit of work
    abstract class ReverseFile @Inject constructor(val fileSystemOperations: FileSystemOperations) : WorkAction<ReverseParameters> {
        override fun execute() {
            fileSystemOperations.copy {
                from(parameters.fileToReverse)
                into(parameters.destinationDir)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorParametersKotlinIntegrationTest.groovy

                import org.gradle.workers.WorkAction
                import org.gradle.workers.WorkParameters
                import org.gradle.workers.WorkerExecutor
    
                interface TestParameters : WorkParameters {
                    @get:Input
                    val workInput: $propertyType
                }
    
                abstract class TestWorkAction : WorkAction<TestParameters> {
                    override fun execute() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 20:22:02 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/file/ArchiveOperationsIntegrationTest.groovy

                    RegularFileProperty getCompressedFile()
                    RegularFileProperty getTextFile()
                }
    
                abstract class MyWork implements WorkAction<MyParameters> {
                    @Inject abstract ArchiveOperations getArchives()
                    @Override void execute() {
                        def outFile = parameters.textFile.get().asFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 8.1K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/workerApi/waitForCompletion/groovy/build.gradle

    interface ReverseParameters extends WorkParameters {
        RegularFileProperty getFileToReverse()
        DirectoryProperty getDestinationDir()
    }
    
    // The implementation of a single unit of work.
    abstract class ReverseFile implements WorkAction<ReverseParameters> {
        private final FileSystemOperations fileSystemOperations
    
        @Inject
        public ReverseFile(FileSystemOperations fileSystemOperations) {
            this.fileSystemOperations = fileSystemOperations
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorIntegrationTest.groovy

            where:
            isolationMode << ISOLATION_MODES
        }
    
        def "can create and use a work action defined in an external jar in #isolationMode"() {
            def workActionJarName = "workAction.jar"
            withWorkActionClassInExternalJar(file(workActionJarName))
    
            buildFile << """
                buildscript {
                    dependencies {
                        classpath files("$workActionJarName")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 31K bytes
    - Viewed (0)
  9. src/time/example_test.go

    	// Basic short date "2006/01/02" gives "2015/02/25"
    	// AM/PM            "3PM==3pm==15h" gives "11AM==11am==11h"
    	// No fraction      "Mon Jan _2 15:04:05 MST 2006" gives "Wed Feb 25 11:06:39 PST 2015"
    	// 0s for fraction  "15:04:05.00000" gives "11:06:39.12340"
    	// 9s for fraction  "15:04:05.99999999" gives "11:06:39.1234"
    
    }
    
    func ExampleTime_Format_pad() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 13 01:05:00 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  10. test/abi/idata.go

    type (
    	unknownVal struct{}
    	intVal     struct{ val *big.Int }   // Int values not representable as an int64
    	ratVal     struct{ val *big.Rat }   // Float values representable as a fraction
    	floatVal   struct{ val *big.Float } // Float values not representable as a fraction
    	complexVal struct{ re, im Value }
    )
    
    const prec = 512
    
    func (unknownVal) String() string { return "unknown" }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 05 20:11:08 UTC 2021
    - 2.1K bytes
    - Viewed (0)
Back to top