Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,988 for scripty (0.28 sec)

  1. src/net/http/pprof/pprof_test.go

    		path               string
    		handler            http.HandlerFunc
    		statusCode         int
    		contentType        string
    		contentDisposition string
    		resp               []byte
    	}{
    		{"/debug/pprof/<script>scripty<script>", Index, http.StatusNotFound, "text/plain; charset=utf-8", "", []byte("Unknown profile\n")},
    		{"/debug/pprof/heap", Index, http.StatusOK, "application/octet-stream", `attachment; filename="heap"`, nil},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 19:52:28 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  2. src/cmd/go/internal/vcweb/script.go

    func newScriptEngine() *script.Engine {
    	conds := script.DefaultConds()
    
    	interrupt := func(cmd *exec.Cmd) error { return cmd.Process.Signal(os.Interrupt) }
    	gracePeriod := 30 * time.Second // arbitrary
    
    	cmds := script.DefaultCmds()
    	cmds["at"] = scriptAt()
    	cmds["bzr"] = script.Program("bzr", interrupt, gracePeriod)
    	cmds["fossil"] = script.Program("fossil", interrupt, gracePeriod)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 08 19:37:03 UTC 2022
    - 9K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/api/Script.java

    /**
     * <p>This interface is implemented by all Gradle Groovy DSL scripts to add in some Gradle-specific methods. As your compiled
     * script class will implement this interface, you can use the methods and properties declared by this interface
     * directly in your script.</p>
     *
     * <p>Generally, a {@code Script} object will have a delegate object attached to it. For example, a build script will
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/groovy/scripts/Script.java

     * limitations under the License.
     */
    
    package org.gradle.groovy.scripts;
    
    import org.gradle.internal.logging.StandardOutputCapture;
    import org.gradle.internal.service.ServiceRegistry;
    
    /**
     * The base class for all scripts executed by Gradle.
     */
    public abstract class Script extends groovy.lang.Script {
        private ScriptSource source;
        private ClassLoader contextClassloader;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 18 00:15:49 UTC 2017
    - 1.5K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/plugin/ScriptPluginClassLoadingIntegrationTest.groovy

        def "can use apply block syntax to apply multiple scripts"() {
            given:
            buildScript """
              apply {
                from "script1.gradle"
                from "script2.gradle"
              }
            """
    
            file("script1.gradle") << "task hello1 { doLast { println 'hello from script1' } }"
            file("script2.gradle") << "task hello2 { doLast { println 'hello from script2' } }"
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:34 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/CrossBuildScriptCachingIntegrationSpec.groovy

        }
    
        void scriptsAreReused(List<ClassDetails> before, List<ClassDetails> after) {
            assert before.size() == after.size()
            for (int i = 0; i < before.size(); i++) {
                def script1 = before[i]
                def script2 = after[i]
                assert script1.path == script2.path
                assert script1.className == script2.className
                assert script1.classpath == script2.classpath
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 17:32:21 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  7. subprojects/core-api/src/test/groovy/org/gradle/initialization/DistributionInitScriptFinderTest.groovy

            def scripts = []
    
            given:
            def script1 = distDir.createFile("init.d/script1.gradle")
            def script2 = distDir.createFile("init.d/script2.gradle")
            distDir.createFile("init.d/readme.txt")
            distDir.createFile("init.d/lib/test.jar")
    
            when:
            finder.findScripts(scripts)
    
            then:
            scripts.size() == 2
            script1 in scripts
            script2 in scripts
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 06 01:29:26 UTC 2020
    - 2K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/configuration/ApplyScriptPluginBuildOperationIntegrationTest.groovy

            }
    
            op.details.file == script.absolutePath
            op.details.targetPath == null
            op.details.buildPath == null
        }
    
        @Rule
        HttpServer httpServer = new HttpServer()
    
    
        def "captures for http scripts"() {
            given:
            println testDirectory.absolutePath
            httpServer.start()
            def script = file("script.gradle") << ""
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:56:08 UTC 2021
    - 6.4K bytes
    - Viewed (0)
  9. analysis/analysis-api/testData/components/containingDeclarationProvider/containingModuleByFile/script.txt

    File: script.kts
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Mar 22 16:00:27 UTC 2024
    - 64 bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/initialization/InitScriptHandlerTest.groovy

        def "does nothing when there are no init scripts"() {
            given:
            startParameter.allInitScripts >> []
    
            when:
            handler.executeScripts(gradle)
    
            then:
            0 * executor._
            0 * processor._
        }
    
        def "finds and processes init scripts"() {
            File script1 = testDirectoryProvider.createFile("script1.gradle")
            File script2 = testDirectoryProvider.createFile("script2.gradle")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top