- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 293 for dotpath (0.13 sec)
-
src/cmd/compile/internal/typecheck/subr.go
type dlist struct { field *types.Field } // dotpath computes the unique shortest explicit selector path to fully qualify // a selection expression x.f, where x is of type t and f is the symbol s. // If no such path exists, dotpath returns nil. // If there are multiple shortest paths to the same depth, ambig is true. func dotpath(s *types.Sym, t *types.Type, save **types.Field, ignorecase bool) (path []dlist, ambig bool) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 19:45:58 UTC 2023 - 20.2K bytes - Viewed (0) -
src/cmd/doc/main.go
// to the local . or .. directory. func isDotSlash(arg string) bool { if arg == "." || arg == ".." { return true } for _, dotPath := range dotPaths { if strings.HasPrefix(arg, dotPath) { return true } } return false } // importDir is just an error-catching wrapper for build.ImportDir. func importDir(dir string) *build.Package { pkg, err := build.ImportDir(dir, build.ImportComment)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 12.2K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/expr.go
} return nil } var f *types.Field p, _ := dotpath(sym, typ, &f, true) if p == nil || f.IsMethod() { base.Errorf("unknown field '%v' in struct literal of type %v", sym, typ) return nil } // dotpath returns the parent embedded types in reverse order. var ep []string for ei := len(p) - 1; ei >= 0; ei-- {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:29:45 UTC 2024 - 23.1K bytes - Viewed (0) -
src/os/exec/lp_windows_test.go
comPath := filepath.Join(t.TempDir(), "example.com") batPath := comPath + ".bat" installBat(t, batPath) cmd := exec.Command(comPath) out, err := cmd.CombinedOutput() t.Logf("%v: %v\n%s", cmd, err, out) if !errors.Is(err, fs.ErrNotExist) { t.Errorf("Command(%#q).Run: %v\nwant fs.ErrNotExist", comPath, err) } resolved, err := exec.LookPath(comPath)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 13 19:38:12 UTC 2023 - 16.3K bytes - Viewed (0) -
cmd/naughty-disk_test.go
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 { if err := d.calcError(); err != nil {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 9.4K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/PostPath.kt
import okhttp3.OkHttpClient import okhttp3.Request import okhttp3.RequestBody.Companion.asRequestBody import okio.Path.Companion.toPath import okio.buffer import okio.fakefilesystem.FakeFileSystem class PostPath { private val client = OkHttpClient() private val fileSystem = FakeFileSystem() val path = "test.json".toPath() fun run() { fileSystem.write(path) { writeUtf8("{}") } val request =
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.6K bytes - Viewed (0) -
cmd/storage-rest-client.go
func (client *storageRESTClient) RenameData(ctx context.Context, srcVolume, srcPath string, fi FileInfo, dstVolume, dstPath string, opts RenameOptions, ) (res RenameDataResp, err error) { params := RenameDataHandlerParams{ DiskID: *client.diskID.Load(), SrcVolume: srcVolume, SrcPath: srcPath, DstPath: dstPath, DstVolume: dstVolume, FI: fi, Opts: opts, } var resp *RenameDataResp
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 27.4K bytes - Viewed (0) -
cmd/os_unix.go
// and returns nil. func osMkdirAll(dirPath string, perm os.FileMode, baseDir string) error { if baseDir != "" { if strings.HasPrefix(baseDir, dirPath) { return nil } } // Slow path: make sure parent exists and then call Mkdir for path. i := len(dirPath) for i > 0 && os.IsPathSeparator(dirPath[i-1]) { // Skip trailing path separator. i-- } j := i
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 9.3K bytes - Viewed (0) -
cmd/os-instrumented.go
func RemoveAll(dirPath string) (err error) { defer updateOSMetrics(osMetricRemoveAll, dirPath)(err) return os.RemoveAll(dirPath) } // Mkdir captures time taken to call os.Mkdir func Mkdir(dirPath string, mode os.FileMode) (err error) { defer updateOSMetrics(osMetricMkdir, dirPath)(err) return os.Mkdir(dirPath, mode) } // MkdirAll captures time taken to call os.MkdirAll
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Feb 15 01:09:38 UTC 2024 - 6.3K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/ant/properties/kotlin/build.gradle.kts
ant.references["classpath"] = ant.withGroovyBuilder { "path"("location" to "libs") } // end::set-reference[] // tag::get-reference[] println(ant.references.get("antPath")) println(ant.references["antPath"])
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 860 bytes - Viewed (0)