- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for srcFile (0.26 sec)
-
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/HttpServer.groovy
private final String path private final File srcFile private final boolean revalidate SendFileAction(String path, File srcFile, boolean revalidate) { super("return contents of $srcFile.name") this.srcFile = srcFile this.path = path this.revalidate = revalidate }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 32.3K bytes - Viewed (0) -
src/cmd/dist/buildtool.go
} return bootstrapFixImports(srcFile) } var ( importRE = regexp.MustCompile(`\Aimport\s+(\.|[A-Za-z0-9_]+)?\s*"([^"]+)"\s*(//.*)?\n\z`) importBlockRE = regexp.MustCompile(`\A\s*(?:(\.|[A-Za-z0-9_]+)?\s*"([^"]+)")?\s*(//.*)?\n\z`) ) func bootstrapFixImports(srcFile string) string { text := readfile(srcFile) if !strings.Contains(srcFile, "/cmd/") && !strings.Contains(srcFile, `\cmd\`) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 09 23:29:41 UTC 2024 - 11.5K bytes - Viewed (0) -
platforms/core-execution/build-cache-http/src/integTest/groovy/org/gradle/caching/http/internal/HttpBuildCacheServiceTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Feb 05 16:15:24 UTC 2024 - 12.4K bytes - Viewed (0) -
src/cmd/link/internal/ld/ld_test.go
t.Skip("c-archive unsupported") } dir := t.TempDir() srcfile := filepath.Join(dir, "test.go") arfile := filepath.Join(dir, "test.a") if err := os.WriteFile(srcfile, []byte(carchiveSrcText), 0666); err != nil { t.Fatal(err) } ldf := fmt.Sprintf("-ldflags=-v -tmpdir=%s", dir) argv := []string{"build", "-buildmode=c-archive", "-o", arfile, ldf, srcfile}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 05:45:53 UTC 2023 - 10.3K bytes - Viewed (0) -
testing/integ-test/src/integTest/groovy/org/gradle/integtests/TaskErrorExecutionIntegrationTest.groovy
solutions == [ 'Assign a value to \'srcFile\'', 'Mark property \'srcFile\' as optional', ] additionalData.asMap == [ 'typeName' : 'CustomTask', 'propertyName' : 'srcFile', ] } } def "reports unknown task"() { enableProblemsApiCheck()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 12.5K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/file/ProjectLayoutIntegrationTest.groovy
buildFile """ def childDirName = "child" def srcFile = layout.projectDir.dir("src").file(providers.provider { childDirName }) def outputFile = layout.buildDirectory.file(providers.provider { childDirName }) println "src file 1: " + srcFile.get() println "output file 1: " + outputFile.get() buildDir = "output/some-dir"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 18:31:24 UTC 2023 - 12.8K bytes - Viewed (0) -
tools/docker-builder/docker.go
}) } if err := e.Wait(); err != nil { return nil, err } } return tarFiles, os.WriteFile(out, j, 0o644) } func Copy(srcFile, dstFile string) error { log.Debugf("Copy %v -> %v", srcFile, dstFile) in, err := os.Open(srcFile) if err != nil { return err } defer in.Close() out, err := os.Create(dstFile) if err != nil { return err }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jul 26 01:07:39 UTC 2023 - 11K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalBuildIntegrationTest.groovy
outputs.upToDateWhen { isUpToDate.get() } doFirst { } } task nothing { outputs.upToDateWhen { isUpToDate.get() } doFirst { } } """ TestFile srcFile = file(inputFileName) srcFile.text = 'content' when: succeeds "inputsAndOutputs" then: result.assertTasksNotSkipped(":inputsAndOutputs") // Is up to date
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 36.3K bytes - Viewed (0) -
src/cmd/cgo/internal/testcshared/cshared_test.go
println(42) } //export GoFunc2 func GoFunc2() { println(24) } func main() { } ` tmpdir := t.TempDir() srcfile := filepath.Join(tmpdir, "test.go") objfile := filepath.Join(tmpdir, "test.dll") if err := os.WriteFile(srcfile, []byte(prog), 0666); err != nil { t.Fatal(err) } argv := []string{"build", "-buildmode=c-shared"} if exportAllSymbols {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 14 13:19:50 UTC 2023 - 21K bytes - Viewed (0) -
src/internal/coverage/defs.go
// if we want to capture a post-inlining view of the world, the // representations of source positions would need to be a good deal more // complicated. type FuncDesc struct { Funcname string Srcfile string Units []CoverableUnit Lit bool // true if this is a function literal } // CoverableUnit describes the source characteristics of a single
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 14 12:51:16 UTC 2023 - 11.9K bytes - Viewed (0)