Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 159 for instrument (0.12 sec)

  1. subprojects/core/src/main/java/org/gradle/api/internal/initialization/transform/ExternalDependencyInstrumentingArtifactTransform.java

    import java.io.File;
    
    import static org.gradle.api.internal.initialization.transform.utils.InstrumentationTransformUtils.getInputType;
    
    /**
     * Artifact transform that instruments external artifacts with Gradle instrumentation.
     */
    @DisableCachingByDefault(because = "Instrumented jars are too big to cache")
    public abstract class ExternalDependencyInstrumentingArtifactTransform extends BaseInstrumentingArtifactTransform {
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 15:08:33 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/internal/initialization/transform/ProjectDependencyInstrumentingArtifactTransform.java

    import org.gradle.work.DisableCachingByDefault;
    
    import java.io.File;
    
    /**
     * Artifact transform that instruments project based artifacts with Gradle instrumentation.
     */
    @DisableCachingByDefault(because = "Instrumented jars are too big to cache.")
    public abstract class ProjectDependencyInstrumentingArtifactTransform extends BaseInstrumentingArtifactTransform {
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 29 19:11:54 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. src/cmd/internal/cov/covcmd/cmddefs.go

    // cmd/cover tool (during instrumentation) to be passed on to the
    // compiler when the instrumented code is compiled. The cmd/cover tool
    // creates a struct of this type, JSON-encodes it, and emits the
    // result to a file, which the Go command then passes to the compiler
    // when the instrumented package is built.
    type CoverFixupConfig struct {
    	// Name of the variable (created by cmd/cover) containing the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 30 16:13:15 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/internal/initialization/transform/BaseInstrumentingArtifactTransform.java

                return;
            }
    
            if (isAgentSupported()) {
                // When agent is supported, we output an instrumented jar and an original jar,
                // so we can then later reconstruct instrumented jars classpath and original jars classpath.
                // We add `instrumented-` prefix to the file since names for the same transform needs to be unique when querying results via ArtifactCollection.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 14:22:44 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. cmd/os-instrumented.go

    Harshavardhana <******@****.***> 1707959378 -0800
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 15 01:09:38 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/internal/classpath/InstrumentedTest.groovy

            System.setProperty("prop", "value")
    
            when:
            def result = Instrumented.systemProperty("prop", "consumer")
    
            then:
            result == "value"
            1 * listener.systemPropertyQueried("prop", "value", "consumer")
            0 * listener._
    
            when:
            result = Instrumented.systemProperty("not-set", "consumer")
    
            then:
            result == null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Nov 11 00:37:04 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/internal/classpath/declarations/FileInterceptorsDeclaration.java

            @CallerClassName String consumer
        ) {
            return Instrumented.fileListFiles(thisFile, consumer);
        }
    
        @InterceptCalls
        @InstanceMethod
        public static File[] intercept_listFiles(
            @Receiver File thisFile,
            FileFilter fileFilter,
            @CallerClassName String consumer
        ) {
            return Instrumented.fileListFiles(thisFile, fileFilter, consumer);
        }
    
        @InterceptCalls
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 20 12:34:20 UTC 2023
    - 4K bytes
    - Viewed (0)
  8. testing/internal-performance-testing/src/test/groovy/org/gradle/performance/mutator/ClearArtifactTransformCacheWithoutInstrumentedJarsMutatorTest.groovy

        def "should cleanup all transforms-X folders except the ones with instrumented jars"() {
            given:
            def cachesDir = new File(gradleUserHome, "caches")
            createFile(new File(cachesDir, "transforms-1/first/transformed/file"))
            createFile(new File(cachesDir, "transforms-1/first/metadata.bin"))
            createFile(new File(cachesDir, "transforms-1/first/transformed/instrumented/file"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 12:30:06 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/dependencyManagement/modelingFeatures-crossProjectPublications-advanced/groovy/consumer/build.gradle

        testImplementation project(':producer')
    }
    // end::test_dependency[]
    
    // tag::ask-for-instrumented-classes[]
    configurations {
        testRuntimeClasspath {
            attributes {
                attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, objects.named(LibraryElements, 'instrumented-jar'))
            }
        }
    }
    // end::ask-for-instrumented-classes[]
    
    // tag::compatibility-rule-use[]
    dependencies {
        attributesSchema {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/dependencyManagement/modelingFeatures-crossProjectPublications-advanced-published/groovy/consumer/build.gradle

        testImplementation project(':producer')
    }
    // end::test_dependency[]
    
    // tag::ask-for-instrumented-classes[]
    configurations {
        testRuntimeClasspath {
            attributes {
                attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, objects.named(LibraryElements, 'instrumented-jar'))
            }
        }
    }
    // end::ask-for-instrumented-classes[]
    
    // tag::compatibility-rule-use[]
    dependencies {
        attributesSchema {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.5K bytes
    - Viewed (0)
Back to top