- Sort Score
- Num 10 results
- Language All
Results 131 - 140 of 2,456 for spath (0.03 seconds)
-
android/guava/src/com/google/common/io/MoreFiles.java
} } /** * Returns a path to the parent directory of the given path. If the path actually has a parent * path, this is simple. Otherwise, we need to do some trickier things. Returns null if the path * is a root or is the empty path. */ private static @Nullable Path getParentPath(Path path) { Path parent = path.getParent(); // Paths that have a parent:
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 16:07:06 GMT 2025 - 34.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/ParameterUtilTest.java
// Test with xpath parameters configParameters = "field.xpath.title=//title\nfield.xpath.content=//body"; result = ParameterUtil.createConfigParameterMap(configParameters); assertEquals(2, result.get(ConfigName.XPATH).size()); assertEquals("//title", result.get(ConfigName.XPATH).get("title")); assertEquals("//body", result.get(ConfigName.XPATH).get("content"));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 22.8K bytes - Click Count (0) -
tests/test_request_params/test_query/test_list.py
def read_model_required_list_str(p: Annotated[QueryModelRequiredListStr, Query()]): return {"p": p.p} @pytest.mark.parametrize( "path", ["/required-list-str", "/model-required-list-str"], ) def test_required_list_str_schema(path: str): assert app.openapi()["paths"][path]["get"]["parameters"] == snapshot( [ { "required": True, "schema": {
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 11.2K bytes - Click Count (0) -
docs/tr/docs/tutorial/body-fields.md
# Body - Alanlar { #body-fields } `Query`, `Path` ve `Body` ile *path operation function* parametrelerinde ek doğrulama ve metadata tanımlayabildiğiniz gibi, Pydantic modellerinin içinde de Pydantic'in `Field`'ını kullanarak doğrulama ve metadata tanımlayabilirsiniz. ## `Field`'ı import edin { #import-field } Önce import etmeniz gerekir: {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[4] *} /// warning | UyarıCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 05 15:43:38 GMT 2026 - 2.7K bytes - Click Count (0) -
scripts/translation_fixer.py
first_dirs_str = tuple(str(d) for d in first_dirs) for path in lang_path_root.rglob("*.md"): if str(path).startswith(first_dirs_str): continue if path.parent == first_parent: continue yield path def get_all_paths(lang: str): res: list[str] = [] lang_docs_root = Path("docs") / lang / "docs" for path in iter_all_lang_paths(lang_docs_root):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Jan 10 21:48:08 GMT 2026 - 3.2K bytes - Click Count (0) -
docs/en/docs/tutorial/dependencies/index.md
It is just a function that can take all the same parameters that a *path operation function* can take: {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[8:9] *} That's it. **2 lines**. And it has the same shape and structure that all your *path operation functions* have. You can think of it as a *path operation function* without the "decorator" (without the `@app.get("/some-path")`). And it can return anything you want.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 9.5K bytes - Click Count (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
if (path.length() > MAX_PATH_SIZE) { failedValidations.incrementAndGet(); log.warn("Path exceeds maximum length: {}", path.length()); throw new SmbException("Path exceeds maximum length"); } // Check for directory traversal if (path.contains("..") || path.contains("./") || path.contains(".\\")) { failedValidations.incrementAndGet();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.6K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/ClassPath.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 24.8K bytes - Click Count (0) -
tests/test_path.py
def test_path_foobar(): response = client.get("/path/foobar") assert response.status_code == 200 assert response.json() == "foobar" def test_path_str_foobar(): response = client.get("/path/str/foobar") assert response.status_code == 200 assert response.json() == "foobar" def test_path_str_42(): response = client.get("/path/str/42") assert response.status_code == 200
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 20.5K bytes - Click Count (2) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
// dunc is "\\" + path + remaining - note: path may not have leading backslashes assertTrue(newUnc.contains("dfs/path") || newUnc.contains("dfs\\path")); assertEquals(dr, l.getDfsReferral()); assertEquals("dfs-server", l.getServerWithDfs()); assertEquals("smb://dfs-server/dfs-share" + l.getUNCPath().replace('\\', '/'), l.getDfsPath());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (0)