Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for filedata (0.15 sec)

  1. configure.py

        return
      for filepath in APPLE_BAZEL_FILES:
        existing_filepath = os.path.join(_TF_WORKSPACE_ROOT, filepath + '.apple')
        renamed_filepath = os.path.join(_TF_WORKSPACE_ROOT, filepath)
        symlink_force(existing_filepath, renamed_filepath)
      for filepath in IOS_FILES:
        filename = os.path.basename(filepath)
        new_filepath = os.path.join(_TF_WORKSPACE_ROOT, filename)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 04:32:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

      const std::string filepath = GetURIForPath("a_file");
      Status status = env_->CreateDir(filepath);
      if (!status.ok()) GTEST_SKIP() << "CreateDir() not supported: " << status;
    
      status = env_->FileExists(filepath);
      EXPECT_PRED2(UnimplementedOrReturnsCode, status, Code::OK);
    }
    
    TEST_P(ModularFileSystemTest, TestFileExistsNotFound) {
      const std::string filepath = GetURIForPath("a_file");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 27 20:25:58 UTC 2022
    - 71K bytes
    - Viewed (0)
  3. cmd/xl-storage.go

    		return errFileNotFound
    	}
    
    	// Validate file path length, before reading.
    	filePath := pathJoin(volumeDir, path)
    	if err = checkPathLength(filePath); err != nil {
    		return err
    	}
    
    	srcFilePath := pathJoin(filePath, xlStorageFormatFileV1)
    	dstFilePath := pathJoin(filePath, xlStorageFormatFile)
    
    	// Renaming xl.json to xl.meta should be fully synced to disk.
    	defer func() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  4. src/cmd/internal/testdir/testdir_test.go

    		tempDirIsGOPATH = true
    		srcDir := filepath.Join(t.gorootTestDir, t.goDirName())
    		modName := filepath.Base(srcDir)
    		gopathSrcDir := filepath.Join(tempDir, "src", modName)
    		runInDir = gopathSrcDir
    
    		if err := overlayDir(gopathSrcDir, srcDir); err != nil {
    			t.Fatal(err)
    		}
    
    		modFile := fmt.Sprintf("module %s\ngo 1.14\n", modName)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modload/init.go

    func loadWorkFile(path string) (workFile *modfile.WorkFile, modRoots []string, err error) {
    	workDir := filepath.Dir(path)
    	wf, err := ReadWorkFile(path)
    	if err != nil {
    		return nil, nil, err
    	}
    	seen := map[string]bool{}
    	for _, d := range wf.Use {
    		modRoot := d.Path
    		if !filepath.IsAbs(modRoot) {
    			modRoot = filepath.Join(workDir, modRoot)
    		}
    
    		if seen[modRoot] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  6. src/go/build/build.go

    func hasSubdir(root, dir string) (rel string, ok bool) {
    	const sep = string(filepath.Separator)
    	root = filepath.Clean(root)
    	if !strings.HasSuffix(root, sep) {
    		root += sep
    	}
    	dir = filepath.Clean(dir)
    	after, found := strings.CutPrefix(dir, root)
    	if !found {
    		return "", false
    	}
    	return filepath.ToSlash(after), true
    }
    
    // readDir calls ctxt.ReadDir (if not nil) or else os.ReadDir.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  7. src/os/os_test.go

    	relOutsideFile, err := filepath.Rel(filepath.Join(linkOutDir, "."), outsideFile)
    	if err != nil {
    		t.Fatalf("filepath.Rel: %v", err)
    	}
    	relOutLinkFile := filepath.Join(linkOutDir, "file.rel.out.link")
    	if err := Symlink(relOutsideFile, relOutLinkFile); err != nil {
    		t.Fatalf("Symlink: %v", err)
    	}
    
    	// Last, we create the relative symlink pointing inside.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  8. src/cmd/go/go_test.go

    	for _, pkg := range pkgs {
    		dirs = append(dirs, filepath.Join("src", pkg))
    	}
    	dirs = append(dirs,
    		filepath.Join("pkg/tool", goHostOS+"_"+goHostArch),
    		"pkg/include",
    	)
    	for _, copydir := range dirs {
    		srcdir := filepath.Join(testGOROOT, copydir)
    		tg.tempDir(filepath.Join("goroot", copydir))
    		err := filepath.WalkDir(srcdir,
    			func(path string, info fs.DirEntry, err error) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  9. pkg/volume/csi/csi_attacher_test.go

    				if err != nil {
    					t.Fatalf("failed to attach: %v", err)
    				}
    			}
    
    			parent := filepath.Dir(tc.deviceMountPath)
    			filePath := filepath.Join(parent, "newfile")
    			if tc.populateDeviceMountPath {
    				// We need to create the deviceMountPath before we Mount,
    				// so that we can correctly create the file without errors.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  10. src/cmd/dist/build.go

    	// suffice here, but that requires deviating from the infrastructure
    	// provided by `run`.
    	gitDir := chomp(run(goroot, 0, "git", "rev-parse", "--git-dir"))
    	if !filepath.IsAbs(gitDir) {
    		gitDir = filepath.Join(goroot, gitDir)
    	}
    	return isdir(gitDir)
    }
    
    /*
     * Initial tree setup.
     */
    
    // The old tools that no longer live in $GOBIN or $GOROOT/bin.
    var oldtool = []string{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
Back to top