Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for paths (0.91 sec)

  1. configure.py

      all_paths = set(python_paths + library_paths)
      # Sort set so order is deterministic
      all_paths = sorted(all_paths)
    
      paths = []
      for path in all_paths:
        if os.path.isdir(path):
          paths.append(path)
      return paths
    
    
    def get_python_major_version(python_bin_path):
      """Get the python major version."""
      return run_shell([python_bin_path, '-c', 'import sys; print(sys.version[0])'])
    
    
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  2. tests/test_generate_unique_id_function.py

        client = TestClient(app)
        response = client.get("/openapi.json")
        data = response.json()
        assert data == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/": {
                    "post": {
                        "summary": "Post Root",
                        "operationId": "foo_post_root",
                        "requestBody": {
                            "content": {
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jan 13 15:10:26 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/filesystem_interface.h

      void (*path_exists)(const TF_Filesystem* filesystem, const char* path,
                          TF_Status* status);
    
      /// Checks if all values in `paths` exist in the filesystem.
      ///
      /// Returns `true` if and only if calling `path_exists` on each entry in
      /// `paths` would set `status` to `TF_OK`.
      ///
      /// Caller guarantees that:
      ///   * `paths` has exactly `num_files` entries.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

        private void addPath(List<String> paths, String path) {
            if (path != null) {
                path = path.trim();
                if (!path.isEmpty()) {
                    File file = new File(path);
                    if (file.isAbsolute()) {
                        path = file.getAbsolutePath();
                    } else if (".".equals(path)) {
                        path = getBasedir().getAbsolutePath();
                    } else {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     * scheme's default is used.
     *
     * ### Path
     *
     * The path identifies a specific resource on the host. Paths have a hierarchical structure like
     * "/square/okhttp/issues/1486" and decompose into a list of segments like `["square", "okhttp",
     * "issues", "1486"]`.
     *
     * This class offers methods to compose and decompose paths by segment. It composes each path
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
  6. .bazelrc

    # Use Python 3.X as installed in container image
    build:release_linux_base --action_env PYTHON_BIN_PATH="/usr/bin/python3"
    build:release_linux_base --action_env PYTHON_LIB_PATH="/usr/lib/tf_python"
    build:release_linux_base --python_path="/usr/bin/python3"
    # Set Clang as compiler. Use the actual path to clang installed in container.
    build:release_cpu_linux_base --repo_env=CC="/usr/lib/llvm-17/bin/clang"
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu May 02 19:34:20 GMT 2024
    - 52.8K bytes
    - Viewed (2)
  7. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

            "_", /*replace_all=*/true);
        if (!cloud_path_.empty()) {
          // We have to join path for non-local filesystem manually to make sure
          // that this test will run on Windows since `tensorflow::io::JoinPath`
          // behaves differently on Windows. `tmp_dir` should be something like
          // `path/to/tmp/dir/`. After joining path, we will have
          // /path/to/tmp/dir/tf_fs_rng_name/`
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  8. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      // Specifies the target ResourceVersion
      // +optional
      optional string resourceVersion = 2;
    }
    
    // RootPaths lists the paths available at root.
    // For example: "/healthz", "/apis".
    message RootPaths {
      // paths are the paths available at root.
      repeated string paths = 1;
    }
    
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 53.3K bytes
    - Viewed (0)
  9. cmd/xl-storage.go

    	return nil
    }
    
    func getValidPath(path string) (string, error) {
    	if path == "" {
    		return path, errInvalidArgument
    	}
    
    	var err error
    	// Disallow relative paths, figure out absolute paths.
    	path, err = filepath.Abs(path)
    	if err != nil {
    		return path, err
    	}
    
    	fi, err := Lstat(path)
    	if err != nil && !osIsNotExist(err) {
    		return path, err
    	}
    	if osIsNotExist(err) {
    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)
  10. tests/test_application.py

    client = TestClient(app)
    
    
    @pytest.mark.parametrize(
        "path,expected_status,expected_response",
        [
            ("/api_route", 200, {"message": "Hello World"}),
            ("/non_decorated_route", 200, {"message": "Hello World"}),
            ("/nonexistent", 404, {"detail": "Not Found"}),
        ],
    )
    def test_get_path(path, expected_status, expected_response):
        response = client.get(path)
        assert response.status_code == expected_status
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 52.2K bytes
    - Viewed (0)
Back to top