Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 98 for dotpath (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/internal/testenv/testenv.go

    // dstPath containing entries for the file mappings in packageFiles, as well
    // as for the packages transitively imported by the package(s) in pkgs.
    //
    // pkgs may include any package pattern that is valid to pass to 'go list',
    // so it may also be a list of Go source files all in the same directory.
    func WriteImportcfg(t testing.TB, dstPath string, packageFiles map[string]string, pkgs ...string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:41:38 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  9. cmd/xl-storage-disk-id-check.go

    	ctx, done, err := p.TrackDiskHealth(ctx, storageMetricRenameFile, srcVolume, srcPath, dstVolume, dstPath)
    	if err != nil {
    		return err
    	}
    	defer done(0, &err)
    
    	w := xioutil.NewDeadlineWorker(globalDriveConfig.GetMaxTimeout())
    	return w.Run(func() error { return p.storage.RenameFile(ctx, srcVolume, srcPath, dstVolume, dstPath) })
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/ModelElementNode.java

        @Override
        public void applyToLink(ModelActionRole type, ModelAction action) {
            if (!getPath().isDirectChild(action.getSubject().getPath())) {
                throw new IllegalArgumentException(String.format("Linked element action reference has a path (%s) which is not a child of this node (%s).", action.getSubject().getPath(), getPath()));
            }
            modelRegistry.bind(action.getSubject(), type, action);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:37 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top