- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 882 for _path_ (0.04 seconds)
-
docs/zh/docs/tutorial/path-params-numeric-validations.md
# 路径参数和数值校验 { #path-parameters-and-numeric-validations } 与使用 `Query` 为查询参数声明更多的校验和元数据的方式相同,你也可以使用 `Path` 为路径参数声明相同类型的校验和元数据。 ## 导入 `Path` { #import-path } 首先,从 `fastapi` 导入 `Path`,并导入 `Annotated`: {* ../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py hl[1,3] *} /// info | 信息 FastAPI 在 0.95.0 版本添加了对 `Annotated` 的支持(并开始推荐使用它)。 如果你使用的是更旧的版本,尝试使用 `Annotated` 会报错。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsFileConfig.java
this.numOfThread = value; } public String getPaths() { checkSpecifiedProperty("paths"); return convertEmptyToNull(paths); } public void setPaths(String value) { registerModifiedProperty("paths"); this.paths = value; } public String[] getPermissions() { checkSpecifiedProperty("permissions");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 13.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/pathmap/CreateForm.java
public String regex; /** * The replacement pattern for matched paths. */ @Size(max = 1000) public String replacement; /** * The processing type for path mapping. */ @Required public String processType; /** * The sort order for this path mapping (0-2147483647). */ @Required @Min(value = 0) @Max(value = 2147483647)Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 2.5K bytes - Click Count (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionIT.java
class ComparableVersionIT { @Test void test() throws Exception { Files.walkFileTree(Paths.get("target"), new SimpleFileVisitor<Path>() { Pattern mavenArtifactJar = Pattern.compile("maven-artifact-[\\d.]+(-SNAPSHOT)?\\.jar"); @Override public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IOException { String filename = file.getFileName().toString();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/log/AdminLogAction.java
if (StringUtil.isNotBlank(logFilePath) && isLogFilename(filename)) { final Path path = Paths.get(logFilePath, filename); return asStream(filename).contentTypeOctetStream().stream(out -> { try (InputStream in = Files.newInputStream(path)) { out.write(in); } }); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 23 23:57:26 GMT 2026 - 5.8K bytes - Click Count (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/JavaPathTypeTest.java
import java.io.File; import java.nio.file.Path; import java.util.List; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotEquals; public class JavaPathTypeTest { /** * {@return dummy paths to use in tests}. */ private static List<Path> paths() {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Nov 13 14:20:26 GMT 2025 - 2.9K 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) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/UpgradeContextTest.java
* KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.maven.cling.invoker.mvnup; import java.nio.file.Paths; import org.apache.maven.cling.invoker.mvnup.goals.TestUtils; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertNotNull; /**
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Jul 15 09:35:08 GMT 2025 - 3.3K bytes - Click Count (0) -
compat/maven-model-builder/src/test/resources/poms/validation/hard-coded-system-path.xml
<dependencies> <dependency> <groupId>test</groupId> <artifactId>a</artifactId> <version>0.2</version> <scope>system</scope> <systemPath>should-use-variables-and-not-hard-code-this-path</systemPath> </dependency> <dependency> <groupId>test</groupId> <artifactId>b</artifactId> <version>0.1</version> <scope>system</scope>
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.4K bytes - Click Count (0) -
docs/de/docs/tutorial/path-params-numeric-validations.md
# Pfad-Parameter und Validierung von Zahlen { #path-parameters-and-numeric-validations } So wie Sie mit `Query` für Query-Parameter zusätzliche Validierungen und Metadaten deklarieren können, können Sie mit `Path` die gleichen Validierungen und Metadaten für Pfad-Parameter deklarieren. ## `Path` importieren { #import-path } Importieren Sie zuerst `Path` von `fastapi`, und importieren Sie `Annotated`:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 7.1K bytes - Click Count (0)