Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 108 for instrument2 (0.16 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTestKitIntegrationTest.groovy

            def builder = artifactBuilder()
            builder.sourceFile("TestAgent.java") << """
                public class TestAgent {
                    public static void premain(String p1, java.lang.instrument.Instrumentation p2) {
                    }
                }
            """
            builder.manifestAttributes("Premain-Class": "TestAgent")
            def agentJar = file("agent.jar")
            builder.buildJar(agentJar)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. 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)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/CrossBuildScriptCachingIntegrationSpec.groovy

            }
            return result
        }
    
        String instrument(String idExpr) {
            return """println("script=" + $idExpr + "=" + getClass().name + "," + getClass().classLoader.getURLs().collect { new File(it.toURI()) })"""
        }
    
        String simpleBuild(String content = '') {
            """
                ${content}
                ${instrument("project.path")}
            """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 17:32:21 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/internal/initialization/transform/MergeInstrumentationAnalysisTransform.java

     * 3. A properties file with instrumented class dependencies in a file.<br><br>
     *
     * File with instrumented class dependencies is a properties file like:<br>
     * [class name 1]=[instrumented super type 1],[instrumented super type 2],...<br>
     * [class name 2]=[instrumented super type 1],[instrumented super type 2],...<br>
     * ...
     */
    @DisableCachingByDefault(because = "Not worth caching.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 15:08:33 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/dependencyManagement/modelingFeatures-crossProjectPublications-advanced/groovy/producer/build.gradle

                attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, objects.named(LibraryElements, 'instrumented-jar'))
            }
        }
    }
    // end::declare-outgoing-configuration[]
    
    def instrumentedJar = tasks.register("instrumentedJar", Jar) {
        archiveClassifier = "instrumented"
    }
    
    // tag::attach-outgoing-artifact[]
    artifacts {
        instrumentedJars(instrumentedJar)
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 1K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/dependencyManagement/modelingFeatures-crossProjectPublications-advanced/kotlin/producer/build.gradle.kts

            attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, objects.named("instrumented-jar"))
        }
    }
    // end::declare-outgoing-configuration[]
    
    val instrumentedJar = tasks.register("instrumentedJar", Jar::class) {
        archiveClassifier = "instrumented"
    }
    
    // tag::attach-outgoing-artifact[]
    artifacts {
        add("instrumentedJars", instrumentedJar)
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 927 bytes
    - Viewed (0)
  7. src/internal/coverage/rtcov/rtcov.go

    // CovMetaBlob is a container for holding the meta-data symbol (an
    // RODATA variable) for an instrumented Go package. Here "p" points to
    // the symbol itself, "len" is the length of the sym in bytes, and
    // "hash" is an md5sum for the sym computed by the compiler. When
    // the init function for a coverage-instrumented package executes, it
    // will make a call into the runtime which will create a covMetaBlob
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/extensions/types/InstrumentedTypesResourceGenerator.java

    import java.io.UncheckedIOException;
    import java.io.Writer;
    import java.nio.charset.StandardCharsets;
    import java.util.Collection;
    import java.util.stream.Collectors;
    
    /**
     * Writes all instrumented types with inherited method interception to a resources
     */
    public class InstrumentedTypesResourceGenerator implements InstrumentationResourceGenerator {
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/Execute1QualifiedStaticInstrumentationInDynamicGroovyWithoutIndyIntegrationTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.cc.impl.inputs.process.instrument
    
    /**
     * Test cases for single-argument {@code ProcessGroovyMethods.execute}:
     * <pre>
     *     ProcessGroovyMethod.execute("echo 123")
     *     ProcessGroovyMethod.execute(["echo", "123"])
     * </pre>
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/dependencyManagement/modelingFeatures-crossProjectPublications-advanced-published/kotlin/buildSrc/src/main/kotlin/com/acme/InstrumentedJarsPlugin.kt

            }
            // end::create_adhoc_component[]
        }
    
        private fun Project.attachArtifact() {
            val instrumentedJar = tasks.register<Jar>("instrumentedJar") {
                archiveClassifier.set("instrumented")
            }
    
            artifacts {
                add("instrumentedJars", instrumentedJar)
            }
    
        }
    
        private fun Project.createOutgoingConfiguration(): Configuration {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top