Search Options

Results per page
Sort
Preferred Languages
Advance

Results 961 - 970 of 1,969 for math (0.03 sec)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java

                // expected failure: wrong relative path calculation
                assertTrue(
                        afe.getMessage()
                                .contains(
                                        "Expected text value 'http://www.apache.org/path/to/parent/child-artifact-id/' but was "
                                                + "'http://www.apache.org/path/to/parent/../child-artifact-id/'"),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_request_files/test_tutorial001_02_an_py39.py

    @needs_py39
    def test_post_file(tmp_path: Path, client: TestClient):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
    
        with path.open("rb") as file:
            response = client.post("/files/", files={"file": file})
        assert response.status_code == 200, response.text
        assert response.json() == {"file_size": 14}
    
    
    @needs_py39
    def test_post_upload_file(tmp_path: Path, client: TestClient):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionDataRepository.java

            Path path = rootBuildDirectory.resolve(RESUME_PROPERTIES_FILENAME);
            if (!Files.exists(path)) {
                LOGGER.warn("The {} file does not exist. The --resume / -r feature will not work.", path);
                return properties;
            }
    
            try (Reader reader = Files.newBufferedReader(path)) {
                properties.load(reader);
            } catch (IOException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. cmd/endpoint_test.go

    		{"http://server/path?location", Endpoint{}, -1, fmt.Errorf("invalid URL endpoint format")},
    		{"http://:/path", Endpoint{}, -1, fmt.Errorf("invalid URL endpoint format: invalid port number")},
    		{"http://:8080/path", Endpoint{}, -1, fmt.Errorf("invalid URL endpoint format: empty host name")},
    		{"http://server:/path", Endpoint{}, -1, fmt.Errorf("invalid URL endpoint format: invalid port number")},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jan 13 07:53:03 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-utils.go

    func getFileInfoVersions(xlMetaBuf []byte, volume, path string, inclFreeVersions bool) (FileInfoVersions, error) {
    	fivs, err := getAllFileInfoVersions(xlMetaBuf, volume, path, true)
    	if err != nil {
    		return fivs, err
    	}
    
    	// If inclFreeVersions is false, partition the versions in fivs.Versions
    	// such that finally fivs.Versions has
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/root/RootLocator.java

        @Nonnull
        default Path findMandatoryRoot(Path basedir) {
            Path rootDirectory = findRoot(basedir);
            if (rootDirectory == null) {
                throw new IllegalStateException(getNoRootMessage());
            }
            return rootDirectory;
        }
    
        @Nullable
        default Path findRoot(Path basedir) {
            Path rootDirectory = basedir;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_background_tasks/test_tutorial001.py

    import os
    from pathlib import Path
    
    from fastapi.testclient import TestClient
    
    from docs_src.background_tasks.tutorial001 import app
    
    client = TestClient(app)
    
    
    def test():
        log = Path("log.txt")
        if log.is_file():
            os.remove(log)  # pragma: no cover
        response = client.post("/send-notification/******@****.***")
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Jul 09 18:06:12 UTC 2020
    - 578 bytes
    - Viewed (0)
  8. src/main/resources/fess_config.properties

    job.max.crawler.processes=0
    job.default.script=groovy
    job.system.property.filter.pattern=
    
    processors=0
    java.command.path=java
    python.command.path=python
    path.encoding=UTF-8
    use.own.tmp.dir=true
    max.log.output.length=4000
    adaptive.load.control=50
    supported.uploaded.js.extentions=js
    supported.uploaded.css.extentions=css
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Tue Oct 01 14:13:38 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  9. cmd/xl-storage.go

    	return nil
    }
    
    func getValidPath(path string) (string, error) {
    	if path == "" {
    		return path, errInvalidArgument
    	}
    
    	var err error
    	// Disallow relative paths, figure out absolute paths.
    	path, err = filepath.Abs(path)
    	if err != nil {
    		return path, err
    	}
    
    	fi, err := Lstat(path)
    	if err != nil && !osIsNotExist(err) {
    		return path, err
    	}
    	if osIsNotExist(err) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/envoy/configdump/testdata/routes/istio-gateway-http-route-prefix/configdump.json

          "virtual_hosts": [
           {
            "name": "backend",
            "domains": [
             "*"
            ],
            "routes": [
             {
              "match": {
               "prefix": "/stats/prometheus"
              },
              "route": {
               "cluster": "prometheus_stats"
              }
             }
            ]
           }
          ]
         },
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 08 20:44:50 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top