Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for dotpath (0.15 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. cmd/ftp-server-driver.go

    		return err
    	}
    
    	if prefix == "" {
    		return clnt.MakeBucket(context.Background(), bucket, minio.MakeBucketOptions{Region: globalSite.Region()})
    	}
    
    	dirPath := buildMinioDir(prefix)
    
    	_, err = clnt.PutObject(context.Background(), bucket, dirPath, bytes.NewReader([]byte("")), 0, minio.PutObjectOptions{
    		DisableContentSha256: true,
    	})
    	return err
    }
    
    // GetFile implements ftpDriver
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 15:45:54 UTC 2024
    - 14K bytes
    - Viewed (0)
  8. pkg/volume/emptydir/empty_dir.go

    		}
    	}
    
    	return nil
    }
    
    func (ed *emptyDir) GetPath() string {
    	return getPath(ed.pod.UID, ed.volName, ed.plugin.host)
    }
    
    // TearDown simply discards everything in the directory.
    func (ed *emptyDir) TearDown() error {
    	return ed.TearDownAt(ed.GetPath())
    }
    
    // TearDownAt simply discards everything in the directory.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 19K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/cluster.go

    }
    
    func (p clusterPatcher) patch(hosts []host.Name, c *cluster.Cluster) *discovery.Resource {
    	cluster := p.doPatch(hosts, c)
    	if cluster == nil {
    		return nil
    	}
    	return &discovery.Resource{Name: cluster.Name, Resource: protoconv.MessageToAny(cluster)}
    }
    
    func (p clusterPatcher) doPatch(hosts []host.Name, c *cluster.Cluster) *cluster.Cluster {
    	if !envoyfilter.ShouldKeepCluster(p.pctx, p.efw, c, hosts) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/os/OperatingSystem.java

            }
            for (File dir : getPath()) {
                File candidate = new File(dir, exeName);
                if (candidate.isFile()) {
                    return candidate;
                }
            }
    
            return null;
        }
    
        public List<File> findAllInPath(String name) {
            List<File> all = new LinkedList<File>();
    
            for (File dir : getPath()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top