- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for SrcPath (0.15 sec)
-
src/cmd/go/help_test.go
} const srcPath = `alldocs.go` old, err := os.ReadFile(srcPath) if err != nil { t.Fatalf("error reading %s: %v", srcPath, err) } diff := diff.Diff(srcPath, old, "go help documentation | gofmt", alldocs) if diff == nil { t.Logf("%s is up to date.", srcPath) return } if *fixDocs { if err := os.WriteFile(srcPath, alldocs, 0666); err != nil { t.Fatal(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 28 15:45:49 UTC 2023 - 1.6K bytes - Viewed (0) -
src/cmd/internal/bootstrap_test/overlaydir_test.go
if err != nil { return err } return filepath.WalkDir(srcRoot, func(srcPath string, entry fs.DirEntry, err error) error { if err != nil || srcPath == srcRoot { return err } if filepath.Base(srcPath) == "testdata" { // We're just building, so no need to copy those. return fs.SkipDir } suffix := strings.TrimPrefix(srcPath, srcRoot) for len(suffix) > 0 && suffix[0] == filepath.Separator {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:35:05 UTC 2023 - 2.1K bytes - Viewed (0) -
src/cmd/cgo/internal/cgotest/overlaydir.go
return err } srcRoot, err := filepath.Abs(srcRoot) if err != nil { return err } return filepath.Walk(srcRoot, func(srcPath string, info os.FileInfo, err error) error { if err != nil || srcPath == srcRoot { return err } suffix := strings.TrimPrefix(srcPath, srcRoot) for len(suffix) > 0 && suffix[0] == filepath.Separator { suffix = suffix[1:] } dstPath := filepath.Join(dstRoot, suffix)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 22 20:56:09 UTC 2023 - 1.7K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/libfuzzer_test.go
// build C code (if any) and link with Go code cmd, err := cc(config.cFlags...) if err != nil { t.Fatalf("error running cc: %v", err) } cmd.Args = append(cmd.Args, config.ldFlags...) cmd.Args = append(cmd.Args, "-o", outPath, "-I", dir.Base()) if tc.cSrc != "" { cmd.Args = append(cmd.Args, srcPath(tc.cSrc)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 00:12:03 UTC 2024 - 2.6K bytes - Viewed (0) -
cmd/naughty-disk_test.go
func (d *naughtyDisk) RenameData(ctx context.Context, srcVolume, srcPath string, fi FileInfo, dstVolume, dstPath string, opts RenameOptions) (RenameDataResp, error) { if err := d.calcError(); err != nil { return RenameDataResp{}, err } return d.disk.RenameData(ctx, srcVolume, srcPath, fi, dstVolume, dstPath, opts) } func (d *naughtyDisk) RenameFile(ctx context.Context, srcVolume, srcPath, dstVolume, dstPath string) error {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 9.4K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/file/SourceDirectorySet.java
* * @param srcPath The source directory. This is evaluated as per {@link org.gradle.api.Project#files(Object...)} * @return this */ SourceDirectorySet srcDir(Object srcPath); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 06 08:25:17 UTC 2021 - 5.7K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/tsan_test.go
t.Run(name, func(t *testing.T) { t.Parallel() dir := newTempDir(t) defer dir.RemoveAll(t) outPath := dir.Join(name) mustRun(t, config.goCmd("build", "-o", outPath, srcPath(tc.src))) cmd := hangProneCmd(outPath) if tc.needsRuntime { config.skipIfRuntimeIncompatible(t) } // If we don't see halt_on_error, the program // will only exit non-zero if we call C.exit.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 06 21:14:49 UTC 2024 - 1.9K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/asan_test.go
t.Run(name, func(t *testing.T) { t.Parallel() dir := newTempDir(t) defer dir.RemoveAll(t) outPath := dir.Join(name) mustRun(t, config.goCmdWithExperiments("build", []string{"-o", outPath, srcPath(tc.src)}, tc.experiments)) cmd := hangProneCmd(outPath) if tc.memoryAccessError != "" { outb, err := cmd.CombinedOutput() out := string(outb)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 19 01:37:31 UTC 2023 - 5.3K bytes - Viewed (0) -
cmd/storage-interface.go
ReadXL(ctx context.Context, volume, path string, readData bool) (RawFileInfo, error) RenameData(ctx context.Context, srcVolume, srcPath string, fi FileInfo, dstVolume, dstPath string, opts RenameOptions) (RenameDataResp, error) // File operations. ListDir(ctx context.Context, origvolume, volume, dirPath string, count int) ([]string, error)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 5K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/msan_test.go
t.Run(name, func(t *testing.T) { t.Parallel() dir := newTempDir(t) defer dir.RemoveAll(t) outPath := dir.Join(name) mustRun(t, config.goCmdWithExperiments("build", []string{"-o", outPath, srcPath(tc.src)}, tc.experiments)) cmd := hangProneCmd(outPath) if tc.wantErr { out, err := cmd.CombinedOutput() if err != nil { return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 18 21:30:58 UTC 2023 - 2.3K bytes - Viewed (0)