Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 237 for instrument2 (0.19 sec)

  1. src/internal/coverage/cfile/emit.go

    	"time"
    	"unsafe"
    )
    
    // This file contains functions that support the writing of data files
    // emitted at the end of code coverage testing runs, from instrumented
    // executables.
    
    // getCovCounterList returns a list of counter-data blobs registered
    // for the currently executing instrumented program. It is defined in the
    // runtime.
    //
    //go:linkname getCovCounterList
    func getCovCounterList() []rtcov.CovCounterBlob
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/kotlinDsl/androidBuild/kotlin/app/src/androidTest/java/org/gradle/kotlin/dsl/samples/androidstudio/ExampleInstrumentedTest.kt

    import android.support.test.InstrumentationRegistry
    import android.support.test.runner.AndroidJUnit4
    
    import org.junit.Test
    import org.junit.runner.RunWith
    
    import org.junit.Assert.*
    
    /**
     * Instrumented test, which will execute on an Android device.
     *
     * See [testing documentation](http://d.android.com/tools/testing).
     */
    @RunWith(AndroidJUnit4::class)
    class ExampleInstrumentedTest {
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 688 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/dependencyManagement/modelingFeatures-crossProjectPublications-simple/kotlin/producer/build.gradle.kts

        extendsFrom(configurations["implementation"], configurations["runtimeOnly"])
    }
    // end::declare-outgoing-configuration[]
    
    val instrumentedJar = tasks.register("instrumentedJar", Jar::class) {
        archiveClassifier = "instrumented"
    }
    
    // tag::attach-outgoing-artifact[]
    artifacts {
        add("instrumentedJars", instrumentedJar)
    }
    // end::attach-outgoing-artifact[]
    
    /*
    // tag::attach-outgoing-artifact-explicit[]
    artifacts {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 832 bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/samples/templates/java-android-application/app/src/androidTest/java/org/gradle/samples/ExampleInstrumentedTest.java

    import androidx.test.platform.app.InstrumentationRegistry;
    import androidx.test.ext.junit.runners.AndroidJUnit4;
    
    import org.junit.Test;
    import org.junit.runner.RunWith;
    
    import static org.junit.Assert.*;
    
    /**
     * Instrumented test, which will execute on an Android device.
     *
     * @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
     */
    @RunWith(AndroidJUnit4.class)
    public class ExampleInstrumentedTest {
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 752 bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/samples/templates/java-android-application/src/androidTest/java/org/gradle/samples/ExampleInstrumentedTest.java

    import androidx.test.platform.app.InstrumentationRegistry;
    import androidx.test.ext.junit.runners.AndroidJUnit4;
    
    import org.junit.Test;
    import org.junit.runner.RunWith;
    
    import static org.junit.Assert.*;
    
    /**
     * Instrumented test, which will execute on an Android device.
     *
     * @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
     */
    @RunWith(AndroidJUnit4.class)
    public class ExampleInstrumentedTest {
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 752 bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/internal/classpath/DefaultInstrumentedGroovyCallsTracker.java

                }
                isMatchedAtDispatchSite = true;
            }
        }
    
        /**
         * Registers the current call in the thread-specific instrumented call stack.
         * @return an entry point call site token that must later be passed to {@link InstrumentedGroovyCallsTracker#leaveCall}
         */
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. src/internal/fuzz/counters_supported.go

    //go:build (darwin || linux || windows || freebsd) && (amd64 || arm64)
    
    package fuzz
    
    import (
    	"unsafe"
    )
    
    // coverage returns a []byte containing unique 8-bit counters for each edge of
    // the instrumented source code. This coverage data will only be generated if
    // `-d=libfuzzer` is set at build time. This can be used to understand the code
    // coverage of a test execution.
    func coverage() []byte {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 08 21:16:39 UTC 2022
    - 710 bytes
    - Viewed (0)
  8. src/runtime/race_amd64.s

    #define RARG1 DX
    #define RARG2 R8
    #define RARG3 R9
    #else
    #define RARG0 DI
    #define RARG1 SI
    #define RARG2 DX
    #define RARG3 CX
    #endif
    
    // func runtime·raceread(addr uintptr)
    // Called from instrumented code.
    // Defined as ABIInternal so as to avoid introducing a wrapper,
    // which would render runtime.getcallerpc ineffective.
    TEXT	runtime·raceread<ABIInternal>(SB), NOSPLIT, $0-8
    	MOVQ	AX, RARG1
    	MOVQ	(SP), RARG2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/RuntimeExec2InstrumentationInDynamicGroovyWithIndyIntegrationTest.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 two-argument {@code Runtime.exec}:
     * <pre>
     *     Runtime.getRuntime().exec("echo 123", env)
     *     Runtime.getRuntime().exec(["echo", "123"], env)
     * </pre>
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/JavaAgentFixture.groovy

            javaAgentProjectDir.file('build.gradle').text = buildScriptContent
        }
    
        String getJavaAgentClassContent() {
            return """
                import java.lang.instrument.Instrumentation;
    
                public class Agent {
                    public static void premain(String args, Instrumentation instrumentation){
                        ${agentAction}
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top