Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 1,892 for PATH (0.07 sec)

  1. internal/disk/stat_netbsd.go

    package disk
    
    import (
    	"errors"
    	"fmt"
    
    	"golang.org/x/sys/unix"
    )
    
    // GetInfo returns total and free bytes available in a directory, e.g. `/`.
    func GetInfo(path string, _ bool) (info Info, err error) {
    	s := unix.Statvfs_t{}
    	if err = unix.Statvfs(path, &s); err != nil {
    		return Info{}, err
    	}
    	reservedBlocks := uint64(s.Bfree) - uint64(s.Bavail)
    	info = Info{
    		Total:  uint64(s.Frsize) * (uint64(s.Blocks) - reservedBlocks),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/FileTransformerTest.java

            file = fileTransformer.createFile(path);
            resultFile = new File(fileTransformer.baseDir, path + "_0");
            assertEquals(resultFile, file);
            FileUtil.writeBytes(file.getAbsolutePath(), "abc".getBytes());
    
            path = "hoge.html";
            file = fileTransformer.createFile(path);
            resultFile = new File(fileTransformer.baseDir, path + "_1");
            assertEquals(resultFile, file);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/Utils.java

            }
            return str;
        }
    
        @Nonnull
        public static Path getCanonicalPath(Path path) {
            requireNonNull(path, "path");
            try {
                return path.toRealPath();
            } catch (IOException e) {
                return getCanonicalPath(path.getParent()).resolve(path.getFileName());
            }
        }
    
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. fess-crawler-lasta/src/main/resources/crawler.xml

    <components namespace="fessCrawler">
    	<include path="crawler/container.xml"/>
    	<include path="crawler/client.xml"/>
    	<include path="crawler/rule.xml"/>
    	<include path="crawler/filter.xml"/>
    	<include path="crawler/interval.xml"/>
    	<include path="crawler/extractor.xml"/>
    	<include path="crawler/mimetype.xml"/>
    	<include path="crawler/encoding.xml"/>
    	<include path="crawler/urlconverter.xml"/>
    	<include path="crawler/log.xml"/>
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Tue Nov 28 13:40:25 UTC 2017
    - 1.7K bytes
    - Viewed (0)
  5. cmd/healthcheck-router.go

    	healthRouter.Methods(http.MethodGet).Path(healthCheckClusterPath).HandlerFunc(httpTraceAll(ClusterCheckHandler))
    	healthRouter.Methods(http.MethodHead).Path(healthCheckClusterPath).HandlerFunc(httpTraceAll(ClusterCheckHandler))
    	healthRouter.Methods(http.MethodGet).Path(healthCheckClusterReadPath).HandlerFunc(httpTraceAll(ClusterReadCheckHandler))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jan 23 11:12:47 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/ProducedArtifact.java

     *     <li>{@linkplain org.apache.maven.api.services.ProjectManager#attachArtifact(Session, Project, Path) artifacts to be attached to a project}</li>
     * </ul>
     *
     * <p>For the main artifact and attached artifacts, the
     * {@link org.apache.maven.api.services.ArtifactManager ArtifactManager} service must be used
     * to point the artifact to a {@link Path} during the packaging phase.</p>
     *
     * @since 4.0.0
     * @see Project#getMainArtifact()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt

        try {
          val requestHeaders = stream.takeHeaders()
          var path: String? = null
          var i = 0
          val size = requestHeaders.size
          while (i < size) {
            if (requestHeaders.name(i) == Header.TARGET_PATH_UTF8) {
              path = requestHeaders.value(i)
              break
            }
            i++
          }
          if (path == null) {
            // TODO: send bad request error
            throw AssertionError()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  8. docs_src/path_params_numeric_validations/tutorial001_an.py

    from typing import Union
    
    from fastapi import FastAPI, Path, Query
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_items(
        item_id: Annotated[int, Path(title="The ID of the item to get")],
        q: Annotated[Union[str, None], Query(alias="item-query")] = None,
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 417 bytes
    - Viewed (0)
  9. docs/uk/docs/tutorial/body-fields.md

    ///
    
    ```Python hl_lines="11-14"
    {!> ../../docs_src/body_fields/tutorial001.py!}
    ```
    
    ////
    
    `Field` працює так само, як `Query`, `Path` і `Body`, у нього такі самі параметри тощо.
    
    /// note | "Технічні деталі"
    
    Насправді, `Query`, `Path` та інші, що ви побачите далі, створюють об'єкти підкласів загального класу `Param`, котрий сам є підкласом класу `FieldInfo` з Pydantic.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingRequest.java

        }
    
        @Override
        public Path getPomPath() {
            return pomPath;
        }
    
        @Deprecated
        @Override
        public DefaultModelBuildingRequest setPomFile(File pomFile) {
            this.pomPath = (pomFile != null) ? pomFile.toPath().toAbsolutePath() : null;
            return this;
        }
    
        @Override
        public DefaultModelBuildingRequest setPomPath(Path pomPath) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top