Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 387 for Processors (0.14 sec)

  1. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/UnknownIncrementalAnnotationProcessingIntegrationTest.groovy

            a.text = "@Thing class A { public void foo() {} }"
            run "compileJava"
    
            then:
            outputs.recompiledClasses("A", "AThing", "B")
        }
    
        def "the user is informed about non-incremental processors"() {
            def a = java "@Thing class A {}"
    
            when:
            run "compileJava"
            a.text = "@Thing class A { public void foo() {} }"
            run "compileJava", "--info"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/processing/DynamicProcessingStrategy.java

    import javax.lang.model.element.Element;
    import javax.lang.model.element.TypeElement;
    import javax.tools.JavaFileManager;
    import java.util.Set;
    
    /**
     * The strategy used for dynamic processors.
     *
     * @see DynamicProcessor
     */
    public class DynamicProcessingStrategy extends IncrementalProcessingStrategy {
    
        private IncrementalProcessingStrategy delegate;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  3. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/processors/RunPreviousFailedFirstTestClassProcessor.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.api.internal.tasks.testing.processors;
    
    import org.gradle.api.internal.tasks.testing.TestClassProcessor;
    import org.gradle.api.internal.tasks.testing.TestClassRunInfo;
    import org.gradle.api.internal.tasks.testing.TestResultProcessor;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/AnnotationProcessorDiscoveringCompiler.java

            spec.setEffectiveAnnotationProcessors(annotationProcessors);
            return delegate.execute(spec);
        }
    
        /**
         * Scans the processor path for processor declarations. Filters them if the explicit <code>-processor</code> argument is given.
         * Treats explicit processors that didn't have a matching declaration on the path as non-incremental.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/main/java/org/gradle/concurrent/ParallelismConfiguration.java

         *
         * <ul>
         *     <li>A thread running a task</li>
         *     <li>A test process</li>
         *     <li>A language compiler in a forked process</li>
         * </ul>
         *
         * Defaults to the number of processors available to the Java virtual machine.
         *
         * @return maximum number of concurrent workers, always &gt;= 1.
         * @see java.lang.Runtime#availableProcessors()
         */
        int getMaxWorkerCount();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/processing/IncrementalProcessingEnvironment.java

    import javax.lang.model.util.Types;
    import java.util.Locale;
    import java.util.Map;
    
    /**
     * A decorator for the {@link ProcessingEnvironment} provided by the Java compiler,
     * which allows us to intercept calls from annotation processors in order to validate
     * their behavior.
     */
    class IncrementalProcessingEnvironment implements ProcessingEnvironment {
        private final ProcessingEnvironment delegate;
        private final IncrementalFiler filer;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/processing/NonIncrementalProcessingStrategy.java

    import java.util.Set;
    
    import static org.gradle.api.internal.tasks.compile.incremental.processing.IncrementalAnnotationProcessorType.UNKNOWN;
    
    /**
     * The strategy used for non-incremental annotation processors.
     * @see NonIncrementalProcessor
     */
    public class NonIncrementalProcessingStrategy extends IncrementalProcessingStrategy {
        private final String name;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2K bytes
    - Viewed (0)
  8. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/ResolvableConfigurationsReportTaskIntegrationTest.groovy

    Configuration annotationProcessor
    --------------------------------------------------
    Annotation processors and their dependencies for source set 'main'.
    
    Attributes
        - org.gradle.category            = library
        - org.gradle.dependency.bundling = external
        - org.gradle.jvm.environment     = standard-jvm
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  9. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/processors/TestMainActionTest.groovy

            then:
            1 * processor.startProcessing(!null)
            then:
            1 * detector.run()
            then:
            1 * workerLeaseService.blocking(_) >> { Runnable runnable -> runnable.run() }
            1 * processor.stop() >> { throw failure }
            then:
            1 * resultProcessor.completed(!null, !null)
    
            0 * resultProcessor._
            0 * detector._
            0 * processor._
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  10. test/fixedbugs/issue13160.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"fmt"
    	"runtime"
    )
    
    const N = 100000
    
    func main() {
    	// Allocate more Ps than processors.  This raises
    	// the chance that we get interrupted by the OS
    	// in exactly the right (wrong!) place.
    	p := runtime.NumCPU()
    	runtime.GOMAXPROCS(2 * p)
    
    	// Allocate some pointers.
    	ptrs := make([]*int, p)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 1.5K bytes
    - Viewed (0)
Back to top