Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 595 for script (1.91 sec)

  1. 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)
  2. 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)
  3. analysis/analysis-api/testData/components/containingDeclarationProvider/containingModuleByFile/script.kts

    Yan Zhulanow <******@****.***> 1710406416 +0900
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Mar 22 16:00:27 UTC 2024
    - 15 bytes
    - Viewed (0)
  4. src/cmd/go/scriptreadme_test.go

    	cmd.Env = env
    	cmd.Stdout = doc
    	if err := cmd.Run(); err != nil {
    		t.Fatal(cmd, ":", err)
    	}
    	_, lang, ok := strings.Cut(doc.String(), "# Script Language\n\n")
    	if !ok {
    		t.Fatalf("%q did not include Script Language section", cmd)
    	}
    	lang, _, ok = strings.Cut(lang, "\n\nvar ")
    	if !ok {
    		t.Fatalf("%q did not include vars after Script Language section", cmd)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/LocationAwareScriptEvaluationIntegrationTest.kt

            withBuildScript("""apply(from = "other.gradle.kts")""")
            val script = withFile("other.gradle.kts", boom)
    
            assertFailingBuildOutputOf("help") {
                """
                * Where:
                Script '${script.canonicalPath}' line: 1
                """
            }
        }
    
        @Test
        fun `location of exception thrown from applied script with same filename is reported`() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/KotlinBuildScriptPatternTest.kt

        }
    
        data class Script(val name: String, val type: ScriptType)
    
        companion object {
            @Parameterized.Parameters(name = "{0}")
            @JvmStatic
            fun scripts(): Iterable<Script> = listOf(
                Script("settings.gradle.kts", ScriptType.SETTINGS),
                Script("my.settings.gradle.kts", ScriptType.SETTINGS),
                Script("init.gradle.kts", ScriptType.INIT),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/README

    This directory holds test scripts *.txt run during 'go test cmd/go'.
    To run a specific script foo.txt
    
    	go test cmd/go -run=Script/^foo$
    
    In general script files should have short names: a few words, not whole sentences.
    The first word should be the general category of behavior being tested,
    often the name of a go subcommand (list, build, test, ...) or concept (vendor, pattern).
    
    Each script is a text archive (go doc internal/txtar).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  8. src/cmd/go/internal/vcweb/vcweb.go

    // regenerates the repository using a script interpreted by a [script.Engine].
    // The script produces the server's contents for a corresponding root URL and
    // all subdirectories of that URL, which are then cached: subsequent requests
    // for any URL generated by the script will serve the script's previous output
    // until the script is modified.
    //
    // The script engine includes all of the engine's default commands and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/text/language/language.go

    	sc, err := language.ParseScript(s)
    	return Script{sc}, err
    }
    
    // String returns the script code in title case.
    // It returns "Zzzz" for an unspecified script.
    func (s Script) String() string {
    	return s.scriptID.String()
    }
    
    // IsPrivateUse reports whether this script code is reserved for private use.
    func (s Script) IsPrivateUse() bool {
    	return s.scriptID.IsPrivateUse()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl-tooling-builders/src/crossVersionTest/groovy/org/gradle/kotlin/dsl/tooling/builders/r68/KotlinDslScriptsModelCrossVersionSpec.groovy

                [(it): kotlinBuildScriptModelFor(projectDir, it)]
            }
    
            then:
            spec.scripts.values().each { script ->
                assert singleRequestModels[script].classPath == multiRequestsModels[script].classPath
                assert singleRequestModels[script].sourcePath == multiRequestsModels[script].sourcePath
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 21 09:28:30 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top