Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 227 for instrument (0.49 sec)

  1. src/cmd/compile/internal/pkginit/initAsanGlobals.go

    	if n.Class == ir.PFUNC {
    		return false
    	}
    	if n.Sym().Pkg != types.LocalPkg {
    		return false
    	}
    	// Do not instrument any _cgo_ related global variables, because they are declared in C code.
    	if strings.Contains(n.Sym().Name, "cgo") {
    		return false
    	}
    
    	// Do not instrument globals that are linknamed, because their home package will do the work.
    	if n.Sym().Linkname != "" {
    		return false
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 19:36:24 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  2. pkg/monitoring/monitoring.go

    // MetricDefinition records a metric's metadata.
    // This is used to work around two limitations of OpenTelemetry:
    //   - (https://github.com/open-telemetry/opentelemetry-go/issues/4003) Histogram buckets cannot be defined per instrument.
    //     instead, we record all metric definitions and add them as Views at registration time.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 24 03:31:28 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/ProcessInstrumentationInKotlinIntegrationTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.cc.impl.inputs.process.instrument
    
    class ProcessInstrumentationInKotlinIntegrationTest extends AbstractProcessInstrumentationIntegrationTest {
        def "#title is intercepted in kotlin build script"(VarInitializer varInitializer) {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/ProcessInstrumentationInJavaIntegrationTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.cc.impl.inputs.process.instrument
    
    class ProcessInstrumentationInJavaIntegrationTest extends AbstractProcessInstrumentationIntegrationTest {
        def "#title is intercepted in java build code"(VarInitializer varInitializer) {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/TransformErrorHandler.java

         * @param cause the original exception
         */
        public void classLoadingError(@Nullable String className, Throwable cause) {
            ClassNotFoundException newError = new ClassNotFoundException(
                "Failed to instrument class " + className + " in " + classLoaderName, cause);
            Throwable prevError = lastError.get();
            if (prevError == null) {
                lastError.set(newError);
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/internal/classpath/BuildScriptClasspathInstrumentationIntegrationTest.groovy

            then:
            gradleUserHomeOutputs("instrumented/instrumented-api-1.0.jar").size() == 2
            gradleUserHomeOutputs("instrumented/instrumented-impl-1.0.jar").size() == 2
        }
    
        @Requires(
            value = IntegTestPreconditions.NotConfigCached,
            reason = "Cc doesn't get invalidated when file dependency changes"
        )
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 15:08:33 UTC 2024
    - 29K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classloader/TransformReplacerTest.groovy

            then:
            def e = thrown(GradleException)
            e.message.contains("cannot be fully instrumented for Java ${JavaVersion.current().majorVersion}")
        }
    
        @Requires(UnitTestPreconditions.Jdk9OrLater)
        def "fails loading if transformed multi-release jar does not instrument current JVM"() {
            given:
            def original = jar(testDir.file("original.jar")) {
                manifest {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/AbstractProcessInstrumentationIntegrationTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.cc.impl.inputs.process.instrument
    
    import org.gradle.internal.cc.impl.AbstractConfigurationCacheIntegrationTest
    import org.gradle.process.ShellScript
    
    /**
     * Base class for all external process invocation instrumentation tests.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractTestEnvironmentIntegrationTest.groovy

            file('src/main/java/org/gradle/MySystemClassLoader.java') << customSystemClassLoaderClass
            file('src/main/java/org/gradle/MyAgent.java') << """
                package org.gradle;
    
                import java.lang.instrument.Instrumentation;
    
                public class MyAgent {
                    public static void premain(String args, Instrumentation instrumentation) {
                        System.setProperty("using.custom.agent", "true");
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  10. 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)
Back to top