Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 237 for instrument2 (0.14 sec)

  1. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classpath/TransformedClassPathTest.groovy

            classPathAsList(AGENT_INSTRUMENTATION_MARKER.fileName, "instrumented/instrumented-1.jar", AGENT_INSTRUMENTATION_MARKER.fileName, "instrumented/instrumented-2.jar") | "Instrumented entry ${file("instrumented/instrum...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 11:14:30 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/internal/classpath/declarations/GroovyFileInterceptors.java

            ResourceGroovyMethods.eachByte(self, bufferLen, closure);
        }
    
        @InterceptGroovyCalls
        @InstanceMethod
        @WithExtensionReferences(toClass = ResourceGroovyMethods.class)
        public static void intercept_eachDir(
            @Receiver File self,
            Closure<?> closure,
            @CallerClassName String consumer
        ) throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 24 15:57:56 UTC 2023
    - 16.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. platforms/documentation/docs/src/snippets/dependencyManagement/modelingFeatures-crossProjectPublications-advanced/kotlin/consumer/build.gradle.kts

    }
    // end::test_dependency[]
    
    // tag::ask-for-instrumented-classes[]
    configurations {
        testRuntimeClasspath {
            attributes {
                attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, objects.named(LibraryElements::class.java, "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/kotlin/consumer/build.gradle.kts

    }
    // end::test_dependency[]
    
    // tag::ask-for-instrumented-classes[]
    configurations {
        testRuntimeClasspath {
            attributes {
                attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, objects.named(LibraryElements::class.java, "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