Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 620 for fullpath (0.14 sec)

  1. tensorflow/compiler/mlir/tfr/integration/tfr_decompose_ctx.cc

      }
      std::string tfr_raw_text;
      for (const auto& file : files) {
        string fullpath = io::JoinPath(composite_mlir_dir, file);
        if (env->MatchPath(fullpath, io::JoinPath(composite_mlir_dir, "*.mlir"))) {
          std::string text;
          TF_RETURN_IF_ERROR(ReadFileToString(env, fullpath, &text));
          tfr_raw_text.append(text);
        }
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 29 02:34:43 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/windows/exec_windows.go

    	argv = (*[8192]*[8192]uint16)(unsafe.Pointer(argp))
    	return argv, err
    }
    
    func CloseOnExec(fd Handle) {
    	SetHandleInformation(Handle(fd), HANDLE_FLAG_INHERIT, 0)
    }
    
    // FullPath retrieves the full path of the specified file.
    func FullPath(name string) (path string, err error) {
    	p, err := UTF16PtrFromString(name)
    	if err != nil {
    		return "", err
    	}
    	n := uint32(100)
    	for {
    		buf := make([]uint16, n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  3. src/internal/filepathlite/path_windows.go

    		return true
    	}
    	// The path element is a reserved name with an extension.
    	// Some Windows versions consider this a reserved name,
    	// while others do not. Use FullPath to see if the name is
    	// reserved.
    	if p, _ := syscall.FullPath(name); len(p) >= 4 && p[:4] == `\\.\` {
    		return true
    	}
    	return false
    }
    
    func isReservedBaseName(name string) bool {
    	if len(name) == 3 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:50 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/idea/model/FilePath.java

     */
    package org.gradle.plugins.ide.idea.model;
    
    import java.io.File;
    
    /**
     * A Path that keeps the reference to the File
     */
    public class FilePath extends Path {
    
        private final File file;
    
        public FilePath(File file, String url, String canonicalUrl, String relPath) {
            super(url, canonicalUrl, relPath);
            this.file = file;
        }
    
        public File getFile() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1020 bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-filepath.h

    // characters, malformed paths, etc.
    
    class GTEST_API_ FilePath {
     public:
      FilePath() : pathname_("") { }
      FilePath(const FilePath& rhs) : pathname_(rhs.pathname_) { }
    
      explicit FilePath(const std::string& pathname) : pathname_(pathname) {
        Normalize();
      }
    
      FilePath& operator=(const FilePath& rhs) {
        Set(rhs);
        return *this;
      }
    
      void Set(const FilePath& rhs) {
        pathname_ = rhs.pathname_;
      }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  6. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-filepath.h

    // characters, malformed paths, etc.
    
    class GTEST_API_ FilePath {
     public:
      FilePath() : pathname_("") { }
      FilePath(const FilePath& rhs) : pathname_(rhs.pathname_) { }
    
      explicit FilePath(const std::string& pathname) : pathname_(pathname) {
        Normalize();
      }
    
      FilePath& operator=(const FilePath& rhs) {
        Set(rhs);
        return *this;
      }
    
      void Set(const FilePath& rhs) {
        pathname_ = rhs.pathname_;
      }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/util/webhook/validation.go

    		return allErrors
    	}
    	if urlPath == "//" {
    		allErrors = append(allErrors, field.Invalid(fldPath.Child("path"), urlPath, "segment[0] may not be empty"))
    		return allErrors
    	}
    
    	if !strings.HasPrefix(urlPath, "/") {
    		allErrors = append(allErrors, field.Invalid(fldPath.Child("path"), urlPath, "must start with a '/'"))
    	}
    
    	urlPathToCheck := urlPath[1:]
    	if strings.HasSuffix(urlPathToCheck, "/") {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 19 23:14:37 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/python/pywrap_quantize_model_test.py

      """Test cases for quantize_model python wrappers."""
    
      def test_quantize_model_fails_when_invalid_quant_options_serialization(self):
        src_saved_model_path = self.create_tempdir().full_path
        dst_saved_model_path = self.create_tempdir().full_path
        signature_def_keys = ['serving_default']
        quant_opts_serialized = 'invalid proto serialization string'.encode('utf-8')
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 02:09:24 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. tensorflow/c/c_test.c

      size_t length = 2 + strlen(path) + strlen(file_name);
      char* full_path = malloc(length);
      snprintf(full_path, length, "%s/%s", path, file_name);
    
      TF_WritableFileHandle* h;
      TF_Status* status = TF_NewStatus();
      TF_NewWritableFile(full_path, &h, status);
      if (TF_GetCode(status) != TF_OK) {
        fprintf(stderr, "TF_NewWritableFile failed: %s\n", TF_Message(status));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:50:35 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. src/path/filepath/example_unix_test.go

    	fmt.Println(filepath.Base("/foo/bar/baz.js"))
    	fmt.Println(filepath.Base("/foo/bar/baz"))
    	fmt.Println(filepath.Base("/foo/bar/baz/"))
    	fmt.Println(filepath.Base("dev.txt"))
    	fmt.Println(filepath.Base("../todo.txt"))
    	fmt.Println(filepath.Base(".."))
    	fmt.Println(filepath.Base("."))
    	fmt.Println(filepath.Base("/"))
    	fmt.Println(filepath.Base(""))
    
    	// Output:
    	// On Unix:
    	// baz.js
    	// baz
    	// baz
    	// dev.txt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 3.4K bytes
    - Viewed (0)
Back to top