Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 1,542 for path1b (0.04 sec)

  1. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

         * @param path the file path
         * @return the file ID if available, null otherwise
         */
        public byte[] getExistingHandle(String path) {
            HandleInfo info = getHandleForReconnect(path);
            return info != null ? info.getFileId() : null;
        }
    
        /**
         * Store handle information after successful create
         * @param path the file path
         * @param fileId the 16-byte file ID
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13K bytes
    - Viewed (0)
  2. scripts/topic_repos.py

    import logging
    import secrets
    import subprocess
    from pathlib import Path
    
    import yaml
    from github import Github
    from pydantic import BaseModel, SecretStr
    from pydantic_settings import BaseSettings
    
    
    class Settings(BaseSettings):
        github_repository: str
        github_token: SecretStr
    
    
    class Repo(BaseModel):
        name: str
        html_url: str
        stars: int
        owner_login: str
        owner_html_url: str
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 12:34:01 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. tests/test_custom_middleware_exception.py

    
    client = TestClient(app)
    
    
    def test_custom_middleware_exception(tmp_path: Path):
        default_pydantic_max_size = 2**16
        path = tmp_path / "test.txt"
        path.write_bytes(b"x" * (default_pydantic_max_size + 1))
    
        with client:
            with open(path, "rb") as file:
                response = client.post("/middleware", files={"file": file})
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Aug 25 21:44:40 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  4. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/MavenSecDispatcher.java

            super(dispatchers, configurationFile());
        }
    
        private static Path configurationFile() {
            String mavenUserConf = System.getProperty(Constants.MAVEN_USER_CONF);
            if (mavenUserConf != null) {
                return Paths.get(mavenUserConf, FILE_NAME);
            }
            // this means we are in UT or alike
            return Paths.get(System.getProperty("user.home"), ".m2", FILE_NAME);
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_first_steps/test_tutorial001_tutorial002_tutorial003.py

        return client
    
    
    @pytest.mark.parametrize(
        "path,expected_status,expected_response",
        [
            ("/", 200, {"message": "Hello World"}),
            ("/nonexistent", 404, {"detail": "Not Found"}),
        ],
    )
    def test_get_path(client: TestClient, path, expected_status, expected_response):
        response = client.get(path)
        assert response.status_code == expected_status
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_custom_docs_ui/test_tutorial002.py

    import os
    from pathlib import Path
    
    import pytest
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(scope="module")
    def client():
        static_dir: Path = Path(os.getcwd()) / "static"
        print(static_dir)
        static_dir.mkdir(exist_ok=True)
        from docs_src.custom_docs_ui.tutorial002_py39 import app
    
        with TestClient(app) as client:
            yield client
        static_dir.rmdir()
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  7. internal/mountinfo/mountinfo_linux.go

    			// - mount.Path doesn't match (means cross-device mount), should error out.
    			if mount.Path != path {
    				crossMounts = append(crossMounts, mount)
    			}
    		}
    	}
    	msg := `Cross-device mounts detected on path (%s) at following locations %s. Export path should not have any sub-mounts, refusing to start.`
    	if len(crossMounts) > 0 {
    		// if paths didn't match then we do have cross-device mount.
    		return fmt.Errorf(msg, path, crossMounts)
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/test/java/org/apache/maven/cli/CLIManagerDocumentationTest.java

     * under the License.
     */
    package org.apache.maven.cli;
    
    import java.io.IOException;
    import java.nio.charset.StandardCharsets;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Comparator;
    import java.util.List;
    
    import org.apache.commons.cli.Option;
    import org.junit.jupiter.api.Test;
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_custom_docs_ui/test_tutorial001.py

    import os
    from pathlib import Path
    
    import pytest
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(scope="module")
    def client():
        static_dir: Path = Path(os.getcwd()) / "static"
        print(static_dir)
        static_dir.mkdir(exist_ok=True)
        from docs_src.custom_docs_ui.tutorial001_py39 import app
    
        with TestClient(app) as client:
            yield client
        static_dir.rmdir()
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CliUtils.java

                str = str.substring(1, length - 1);
            }
            return str;
        }
    
        @Nonnull
        public static Path getCanonicalPath(Path path) {
            requireNonNull(path, "path");
            return path.toAbsolutePath().normalize();
        }
    
        @Nonnull
        public static Map<String, String> toMap(Properties properties) {
            requireNonNull(properties, "properties");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Oct 13 18:30:29 UTC 2025
    - 5K bytes
    - Viewed (0)
Back to top