Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,470 for path1b (0.06 sec)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTestSupport.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.cling.invoker.mvn;
    
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.util.Collection;
    import java.util.List;
    
    import org.apache.maven.api.cli.Invoker;
    import org.apache.maven.api.cli.Parser;
    import org.apache.maven.api.cli.ParserRequest;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_custom_response/test_tutorial008.py

    from pathlib import Path
    
    from fastapi.testclient import TestClient
    
    from docs_src.custom_response import tutorial008
    from docs_src.custom_response.tutorial008 import app
    
    client = TestClient(app)
    
    
    def test_get(tmp_path: Path):
        file_path: Path = tmp_path / "large-video-file.mp4"
        tutorial008.some_file_path = str(file_path)
        test_content = b"Fake video bytes"
        file_path.write_bytes(test_content)
        response = client.get("/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Jul 09 18:06:12 UTC 2020
    - 487 bytes
    - Viewed (0)
  3. 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();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. docs/ru/docs/tutorial/path-params-numeric-validations.md

    # Path-параметры и валидация числовых данных
    
    Так же, как с помощью `Query` вы можете добавлять валидацию и метаданные для query-параметров, так и с помощью `Path` вы можете добавлять такую же валидацию и метаданные для path-параметров.
    
    ## Импорт Path
    
    Сначала импортируйте `Path` из `fastapi`, а также импортируйте `Annotated`:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="1  3"
    {!> ../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py!}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. docs/es/docs/advanced/path-operation-advanced-configuration.md

    ```
    
    ### Usando el nombre de la *función de la operación de path* en el operationId
    
    Si quieres usar tus nombres de funciones de API como `operationId`s, puedes iterar sobre todos ellos y sobrescribir `operation_id` de cada *operación de path* usando su `APIRoute.name`.
    
    Deberías hacerlo después de adicionar todas tus *operaciones de path*.
    
    ```Python hl_lines="2 12 13 14 15 16 17 18 19 20 21 24"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultPathTranslator.java

        @Override
        public String alignToBaseDirectory(String path, File basedir) {
            return alignToBaseDirectory(path, basedir != null ? basedir.toPath() : null);
        }
    
        @Override
        public String alignToBaseDirectory(String path, Path basedir) {
            String result = path;
    
            if (path != null && basedir != null) {
                path = path.replace('\\', File.separatorChar).replace('/', File.separatorChar);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java

                return;
            }
            if (Features.consumerPom(session.getUserProperties())) {
                Path buildDir =
                        project.getBuild() != null ? Paths.get(project.getBuild().getDirectory()) : null;
                if (buildDir != null) {
                    Files.createDirectories(buildDir);
                }
                Path consumer = buildDir != null
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. cni/pkg/util/pluginutil.go

    func CreateFileWatcher(paths ...string) (*Watcher, error) {
    	watcher, err := fsnotify.NewWatcher()
    	if err != nil {
    		return nil, fmt.Errorf("watcher create: %v", err)
    	}
    
    	fileModified, errChan := make(chan struct{}), make(chan error)
    	go watchFiles(watcher, fileModified, errChan)
    
    	for _, path := range paths {
    		if !file.Exists(path) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/networking/v1beta1/generated.proto

      // +optional
      optional string path = 1;
    
      // pathType determines the interpretation of the path matching. PathType can
      // be one of the following values:
      // * Exact: Matches the URL path exactly.
      // * Prefix: Matches based on a URL path prefix split by '/'. Matching is
      //   done on a path element by element basis. A path element refers is the
      //   list of labels in the path split by the '/' separator. A request is a
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationPathTranslator.java

    /**
     * Postprocesses filesystem paths. For instance, a path translator might want to resolve relative paths given in the
     * bean configuration against some base directory.
     *
     */
    public interface BeanConfigurationPathTranslator {
    
        /**
         * Translates the specified path.
         *
         * @param path The path to translate, may be {@code null}.
         * @return The translated path or {@code null} if none.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top