- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 118 for dotpath (0.11 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) -
pkg/volume/fc/fc_util.go
var devices []string // devicePath might be like /dev/mapper/mpathX. Find destination. dstPath, err := c.io.EvalSymlinks(devicePath) if err != nil { return err } // Find slave if strings.HasPrefix(dstPath, "/dev/dm-") { devices = c.deviceUtil.FindSlaveDevicesOnMultipath(dstPath) if err := util.deleteMultipathDevice(c.exec, dstPath); err != nil { return err } } else { // Add single devicepath to devices
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 16 11:12:06 UTC 2022 - 12.8K 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) -
subprojects/core/src/main/java/org/gradle/api/tasks/bundling/AbstractArchiveTask.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 17 20:38:33 UTC 2022 - 12.6K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/DefaultCopySpecResolutionTest.groovy
then: parentContext.destPath == new RelativePath(false, 'parent') when: DefaultCopySpec child = copySpec() CopySpecResolver childResolver = child.buildResolverRelativeToParent(parentContext) then: childResolver.destPath == new RelativePath(false, 'parent') }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Feb 28 12:39:32 UTC 2023 - 10.3K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/file/copy/DelegatingCopySpecInternal.java
} @Override public CopySpec into(Object destPath) { return getDelegateCopySpec().into(destPath); } @Override public CopySpec into(Object destPath, Closure configureClosure) { return getDelegateCopySpec().into(destPath, configureClosure); } @Override public CopySpec into(Object destPath, Action<? super CopySpec> copySpec) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 01 10:41:40 UTC 2024 - 10.8K bytes - Viewed (0) -
src/runtime/syscall_windows_test.go
oldRegs := runtime.SetIntArgRegs(abi.IntArgRegs) defer runtime.SetIntArgRegs(oldRegs) for _, dll := range cbDLLs { t.Run(dll.name, func(t *testing.T) { dllPath := dll.build(t, tmp) dll := syscall.MustLoadDLL(dllPath) defer dll.Release() for _, cbf := range getCallbackTestFuncs() { t.Run(cbf.cName(false), func(t *testing.T) { stdcall := syscall.NewCallback(cbf.goFunc)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 31 16:31:35 UTC 2023 - 32.5K bytes - Viewed (0)