Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for dotpath (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.py

    
    def _copy_assets(src_path: str, dst_path: str) -> None:
      """Copies the assets directory of the saved model.
    
      Clones the contents of the assets/ directory from the source saved model
      directory to the destination saved model directory. Nothing will be copied if
      there are no assets directory in the source directory.
    
      Args:
        src_path: Source saved model directory.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 05:32:11 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  9. pkg/volume/downwardapi/downwardapi.go

    )
    
    // downwardAPIPlugin implements the VolumePlugin interface.
    type downwardAPIPlugin struct {
    	host volume.VolumeHost
    }
    
    var _ volume.VolumePlugin = &downwardAPIPlugin{}
    
    func getPath(uid types.UID, volName string, host volume.VolumeHost) string {
    	return host.GetPodVolumeDir(uid, utilstrings.EscapeQualifiedName(downwardAPIPluginName), volName)
    }
    
    func wrappedVolumeSpec() volume.Spec {
    	return volume.Spec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. pkg/volume/projected/projected.go

    	sources []v1.VolumeProjection
    	podUID  types.UID
    	plugin  *projectedPlugin
    	volume.MetricsProvider
    }
    
    var _ volume.Volume = &projectedVolume{}
    
    func (sv *projectedVolume) GetPath() string {
    	return getPath(sv.podUID, sv.volName, sv.plugin.host)
    }
    
    type projectedVolumeMounter struct {
    	*projectedVolume
    
    	source v1.ProjectedVolumeSource
    	pod    *v1.Pod
    	opts   *volume.VolumeOptions
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 12.8K bytes
    - Viewed (0)
Back to top