Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 237 for instrument2 (0.15 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classpath/TransformedClassPath.java

             */
            INSTRUMENTATION_CLASSPATH_MARKER(".gradle-instrumented-classpath.marker"),
            /**
             * A marker file put next to the instrumented entry to indicate that it is using agent instrumentation.
             */
            AGENT_INSTRUMENTATION_MARKER(".gradle-agent-instrumented.marker"),
            /**
             * A marker file put next to the instrumented entry to indicate that it is using legacy instrumentation.
             */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 13:59:11 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/internal/classpath/InstrumentedGroovyCallsTracker.java

        /**
         * Registers the current call in the instrumented calls stack.
         * @return an entry point call site token that must later be passed to {@link InstrumentedGroovyCallsTracker#leaveCall}
         */
        EntryPointCallSite enterCall(String callerClassName, String callableName, CallKind callKind);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 24 15:57:59 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/internal/classpath/declarations/KotlinStdlibFileInterceptors.java

            @CallerClassName String consumer
        ) {
            Instrumented.fileOpened(self, consumer);
            return FilesKt.readBytes(self);
        }
    
        @InterceptCalls
        @StaticMethod(ofClass = FilesKt.class)
        public static void intercept_forEachBlock(
            File self,
            Function2<?, ?, ?> action,
            @CallerClassName String consumer
        ) {
            Instrumented.fileOpened(self, consumer);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 20 12:34:20 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  4. 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)
  5. platforms/core-runtime/instrumentation-agent/src/main/java/org/gradle/instrumentation/agent/Agent.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.instrumentation.agent;
    
    import java.lang.instrument.ClassFileTransformer;
    import java.lang.instrument.Instrumentation;
    
    /**
     * An entry point for the on-the-fly bytecode instrumentation agent.
     */
    public class Agent {
        private static volatile Instrumentation instrumentation;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 15:44:14 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  6. build-logic/packaging/src/main/kotlin/gradlebuild/instrumentation/tasks/InstrumentedSuperTypesMergeTask.kt

            val superTypes = mergeSuperTypes()
            // Keep only instrumented super types as we don't need to others for instrumentation
            val onlyInstrumentedSuperTypes = keepOnlyInstrumentedSuperTypes(superTypes, instrumentedClasses)
            writeSuperTypes(onlyInstrumentedSuperTypes)
        }
    
        /**
         * Finds all instrumented classes from `instrumented-classes.txt` file.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 19 14:00:26 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. 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)
  8. build-logic/packaging/src/test/kotlin/gradlebuild/instrumentation/InstrumentationMetadataPluginTest.kt

            createProject()
        }
    
        @Test
        fun `should output instrumented-super-types properties with instrumented org-gradle super types with stable order`() {
            // When
            assertSucceeds()
    
            // Then
            val instrumentedSuperTypes = File(projectRoot, "distribution/build/instrumentation/instrumented-super-types.properties").readLines()
            val expectedSuperTypes = listOf(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:55:53 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/internal/classpath/declarations/FileInputStreamInterceptorsDeclaration.java

            File file,
            @CallerClassName String consumer
        ) {
            Instrumented.fileOpened(file, consumer);
        }
    
        @InterceptCalls
        @AfterConstructor
        public static void interceptFileInputStreamConstructor(
            @Receiver FileInputStream receiver,
            String path,
            @CallerClassName String consumer
        ) {
            Instrumented.fileOpened(path, consumer);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 20 12:34:20 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/internal/classpath/declarations/KotlinFileExtensionsInterceptorsDeclaration.java

            Charset charset,
            @KotlinDefaultMask int mask,
            @CallerClassName String consumer
        ) throws Throwable {
            return mask != 0 ?
                Instrumented.kotlinIoFilesKtReadTextDefault(thisFile, charset, mask, null, consumer) :
                Instrumented.kotlinIoFilesKtReadText(thisFile, charset, consumer);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 20 12:34:20 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top