Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 196 for file_path (0.18 sec)

  1. docs/ko/docs/tutorial/path-params.md

    ```
    
    클라이언트는 아래의 JSON 응답을 얻습니다:
    
    ```JSON
    {
      "model_name": "alexnet",
      "message": "Deep Learning FTW!"
    }
    ```
    
    ## 경로를 포함하는 경로 매개변수
    
    경로를 포함하는 *경로 작동* `/files/{file_path}`이 있다고 해봅시다.
    
    그런데 이 경우 `file_path` 자체가 `home/johndoe/myfile.txt`와 같은 경로를 포함해야 합니다.
    
    이때 해당 파일의 URL은 다음처럼 됩니다: `/files/home/johndoe/myfile.txt`.
    
    ### OpenAPI 지원
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  2. CONTRIBUTING.md

        can test it by passing that file's path to
        [tf_doctest.py](https://www.tensorflow.org/code/tensorflow/tools/docs/tf_doctest.py).
        For example:
    
        ```bash
        python tf_doctest.py --file=<file_path>
        ```
    
        This will run it using your installed version of TensorFlow. To be sure
        you're running the same code that you're testing:
    
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Mar 21 11:45:51 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  3. docs/debugging/xl-meta/main.go

    						if name == "null" {
    							name = v0
    						}
    
    						f := filemap[file][name]
    						if f != "" {
    							fn = f + ".data"
    							err = os.MkdirAll(filepath.Dir(fn), os.ModePerm)
    							if err != nil {
    								fmt.Println("MkdirAll:", filepath.Dir(fn), err)
    							}
    							err = os.WriteFile(fn+".json", []byte(filemap[file][name+".json"]), os.ModePerm)
    							combineFiles[name] = append(combineFiles[name], fn)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
  4. cmd/xl-storage.go

    	}
    
    	files := []string{pathJoin(volumeDir, path)}
    	if glob {
    		files, err = filepathx.Glob(filepath.Join(volumeDir, path))
    		if err != nil {
    			return nil, err
    		}
    	}
    	for _, filePath := range files {
    		if err := checkPathLength(filePath); err != nil {
    			return stat, err
    		}
    		st, _ := Lstat(filePath)
    		if st == nil {
    			if !skipAccessChecks(volume) {
    				// Stat a volume entry.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    TEST_P(ModularFileSystemTest, TestRenameFile) {
      const std::string filepath = GetURIForPath("a_file");
      std::unique_ptr<WritableFile> new_file;
      Status status = env_->NewWritableFile(filepath, &new_file);
      if (!status.ok())
        GTEST_SKIP() << "NewWritableFile() not supported: " << status;
    
      const std::string new_filepath = GetURIForPath("a_new_file");
      status = env_->RenameFile(filepath, new_filepath);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  6. cni/pkg/install/install_test.go

    			// Create existing config file if specified in test case
    			cniConfigFilePath := filepath.Join(cniNetDir, c.configFilename)
    			if err := file.AtomicCopy(filepath.Join("testdata", c.existingConfigFilename), cniNetDir, c.configFilename); err != nil {
    				t.Fatal(err)
    			}
    
    			// Create existing binary files
    			if err := os.WriteFile(filepath.Join(cniBinDir, "istio-cni"), []byte{1, 2, 3}, 0o755); err != nil {
    				t.Fatal(err)
    			}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  7. cmd/config-dir.go

    func getDefaultConfigDir() string {
    	homeDir, err := homedir.Dir()
    	if err != nil {
    		return ""
    	}
    
    	return filepath.Join(homeDir, defaultMinioConfigDir)
    }
    
    func getDefaultCertsDir() string {
    	return filepath.Join(getDefaultConfigDir(), certsDir)
    }
    
    func getDefaultCertsCADir() string {
    	return filepath.Join(getDefaultCertsDir(), certsCADir)
    }
    
    var (
    	// Default config, certs and CA directories.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 3K bytes
    - Viewed (0)
  8. cmd/bitrot-whole.go

    // Returns whole-file bitrot writer.
    func newWholeBitrotWriter(disk StorageAPI, volume, filePath string, algo BitrotAlgorithm, shardSize int64) io.WriteCloser {
    	return &wholeBitrotWriter{disk, volume, filePath, shardSize, algo.New()}
    }
    
    // Implementation to verify bitrot for the whole file.
    type wholeBitrotReader struct {
    	disk       StorageAPI
    	volume     string
    	filePath   string
    	verifier   *BitrotVerifier // Holds the bit-rot info
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  9. misc/ios/go_ios_exec.go

    	// the package being tested and the source root.
    	pkgpath = ""
    	for _, element := range strings.Split(finalPkgpath, string(filepath.Separator)) {
    		if debug {
    			log.Printf("copying %s", pkgpath)
    		}
    		pkgpath = filepath.Join(pkgpath, element)
    		dst := filepath.Join(dstbase, pkgpath)
    		src := filepath.Join(cwd, pkgpath)
    		if err := copyLocalDir(dst, src); err != nil {
    			return "", err
    		}
    	}
    
    	if underGoRoot {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 23.4K bytes
    - Viewed (0)
  10. cmd/os-readdir_test.go

    		if err := os.WriteFile(filepath.Join(dir, name1), []byte{}, os.ModePerm); err != nil {
    			// For cleanup, its required to add these entries into test results.
    			testResults = append(testResults, result{dir, entries})
    			t.Fatalf("Unable to create a file, %s", err)
    		}
    		// Symlink will not be added to entries.
    		if err := os.Symlink(filepath.Join(dir, name1), filepath.Join(dir, name2)); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 7.5K bytes
    - Viewed (0)
Back to top