- Sort Score
- Num 10 results
- Language All
Results 141 - 150 of 2,456 for spath (0.02 seconds)
-
internal/lock/lock_windows.go
// Don't canonicalize UNC paths. return path } if !filepath.IsAbs(path) { // Relative path return path } const prefix = `\\?` pathbuf := make([]byte, len(prefix)+len(path)+len(`\`)) copy(pathbuf, prefix) n := len(path) r, w := 0, len(prefix) for r < n { switch { case os.IsPathSeparator(path[r]): // empty block r++
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 7.9K bytes - Click Count (0) -
tests/test_request_params/test_query/test_optional_str.py
client = TestClient(app) response = client.get(f"{path}?p=hello") assert response.status_code == 200 assert response.json() == {"p": None} @pytest.mark.parametrize( "path", [ "/optional-alias", "/model-optional-alias", ], ) def test_optional_alias_by_alias(path: str): client = TestClient(app)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 8.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java
* For example, if this type is {@link #MODULES}, then the option is {@code "--module-path"} * followed by the specified path elements. * The paths are not quoted. * * @param paths the path to format as a tool option * @return the option associated to this path type followed by the given path elements,Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Dec 15 11:13:42 GMT 2025 - 15.7K bytes - Click Count (1) -
build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/RestTestsFromSnippetsTask.groovy
String catchPart, List warnings, boolean inSetup, boolean skipShardFailures) { def (String path, String query) = pathAndQuery.tokenize('?') if (path == null) { path = '' // Catch requests to the root... } else { path = path.replace('<', '%3C').replace('>', '%3E') } current.println(" - do:") if (catchPart != null) {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 19.5K bytes - Click Count (0) -
src/main/java/jcifs/util/PathValidator.java
} /** * Validate and normalize a path * * @param path the path to validate * @return normalized safe path * @throws SmbException if path is invalid or dangerous */ public String validatePath(String path) throws SmbException { if (path == null || path.isEmpty()) { throw new SmbException("Path cannot be null or empty"); } // Check lengthCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.5K bytes - Click Count (0) -
docs/tr/docs/tutorial/body.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 6.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/DictionaryCreator.java
} return newDictionaryFile(encodePath(path), path, timestamp); } /** * Encodes a file path using Base64 URL-safe encoding. * * @param path the file path to encode * @return the Base64 encoded path */ protected String encodePath(final String path) { return Base64.getUrlEncoder().encodeToString(path.getBytes(Constants.CHARSET_UTF_8)); } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 3.4K bytes - Click Count (0) -
tests/test_request_params/test_cookie/test_required_str.py
async def read_model_required_str(p: Annotated[CookieModelRequiredStr, Cookie()]): return {"p": p.p} @pytest.mark.parametrize( "path", ["/required-str", "/model-required-str"], ) def test_required_str_schema(path: str): assert app.openapi()["paths"][path]["get"]["parameters"] == snapshot( [ { "required": True, "schema": {"title": "P", "type": "string"},
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 10.4K bytes - Click Count (0) -
tests/test_request_params/test_file/test_required.py
return {"file_size": p.size} @pytest.mark.parametrize( "path", [ "/required-bytes", "/required-uploadfile", ], ) def test_required_schema(path: str): openapi = app.openapi() body_model_name = get_body_model_name(openapi, path) assert app.openapi()["components"]["schemas"][body_model_name] == { "properties": { "p": {Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 21 13:01:31 GMT 2026 - 11.1K bytes - Click Count (0) -
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
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 56.9K bytes - Click Count (0)