Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 301 - 310 of 1,631 for PATH (0.01 seconds)

  1. tests/test_request_params/test_body/test_optional_str.py

    def test_optional_alias_by_name(path: str):
        client = TestClient(app)
        response = client.post(path, json={"p": "hello"})
        assert response.status_code == 200
        assert response.json() == {"p": None}
    
    
    @pytest.mark.parametrize(
        "path",
        ["/optional-alias", "/model-optional-alias"],
    )
    def test_optional_alias_by_alias(path: str):
        client = TestClient(app)
        response = client.post(path, json={"p_alias": "hello"})
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTest.java

                    </extensions>
                    """;
            Path dotMvn = cwd.resolve(".mvn");
            Files.createDirectories(dotMvn);
            Path projectExtensions = dotMvn.resolve("extensions.xml");
            Files.writeString(projectExtensions, extensionsXml);
    
            Path userConf = userHome.resolve(".m2");
            Files.createDirectories(userConf);
            Path userExtensions = userConf.resolve("extensions.xml");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Oct 21 12:17:55 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  3. configure.py

      else:
        default_sdk_path = '%s/Android/Sdk' % environ_cp['HOME']
    
      def valid_sdk_path(path):
        return (os.path.exists(path) and
                os.path.exists(os.path.join(path, 'platforms')) and
                os.path.exists(os.path.join(path, 'build-tools')))
    
      android_sdk_home_path = prompt_loop_or_load_from_env(
          environ_cp,
          var_name='ANDROID_SDK_HOME',
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Wed Apr 30 15:18:54 GMT 2025
    - 48.3K bytes
    - Click Count (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java

                    .longOpt("settings")
                    .desc("Alternate path for the user settings file")
                    .hasArg()
                    .build());
            options.addOption(Option.builder(ALTERNATE_PROJECT_SETTINGS)
                    .longOpt("project-settings")
                    .desc("Alternate path for the project settings file")
                    .hasArg()
                    .build());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Aug 06 04:56:48 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  5. internal/lock/lock_nix.go

    			Op:   "open",
    			Path: path,
    			Err:  syscall.EINVAL,
    		}
    	}
    
    	f, err := os.OpenFile(path, flag|syscall.O_SYNC, perm)
    	if err != nil {
    		return nil, err
    	}
    
    	if err = syscall.Flock(int(f.Fd()), lockType); err != nil {
    		f.Close()
    		if err == syscall.EWOULDBLOCK {
    			err = ErrAlreadyLocked
    		}
    		return nil, err
    	}
    
    	st, err := os.Stat(path)
    	if err != nil {
    		f.Close()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 2.8K bytes
    - Click Count (0)
  6. tests/test_request_params/test_form/utils.py

    from typing import Any
    
    
    def get_body_model_name(openapi: dict[str, Any], path: str) -> str:
        body = openapi["paths"][path]["post"]["requestBody"]
        body_schema = body["content"]["application/x-www-form-urlencoded"]["schema"]
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 285 bytes
    - Click Count (0)
  7. impl/maven-core/src/test/java/org/apache/maven/classrealm/DefaultClassRealmManagerTest.java

            assertEquals(1, classRealm.getURLs().length);
            assertTrue(
                    classRealm.getURLs()[0].getPath().endsWith("local/repository/some/path"),
                    "ClassRealm URL should end with local repository path");
    
            verifier.verify(logger, calls(1)).debug("Importing foreign packages into class realm {}", "maven.api");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  8. guava-gwt/src/com/google/common/cache/Cache.gwt.xml

        have prod supersource, even if they have none. GWT is happy to ignore us
        when we specify a nonexistent path.
    
        (I hope that this workaround does not cause its own problems in the future.)
    -->
    <super-source path="super"/>
    
    <inherits name="com.google.common.annotations.Annotations" />
    <inherits name="com.google.common.base.Base" />
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Jul 19 16:02:36 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  9. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/AbstractArtifactResolutionException.java

        }
    
        /** @return the path */
        public String getPath() {
            return this.path;
        }
    
        public List<ArtifactRepository> getRemoteRepositories() {
            return remoteRepositories;
        }
    
        public String getOriginalMessage() {
            return originalMessage;
        }
    
        protected static String constructArtifactPath(List<String> path, String indentation) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Apr 01 21:22:14 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  10. internal/mountinfo/mountinfo_linux_test.go

    package mountinfo
    
    import (
    	"fmt"
    	"os"
    	"path/filepath"
    	"strings"
    	"testing"
    )
    
    // Tests cross device mount verification function, for both failure
    // and success cases.
    func TestCrossDeviceMountPaths(t *testing.T) {
    	successCase := `/dev/0 /path/to/0/1 type0 flags 0 0
    		/dev/1    /path/to/1   type1	flags 1 1
    		/dev/2 /path/to/1/2 type2 flags,1,2=3 2 2
                    /dev/3 /path/to/1.1 type3 flags,1,2=3 3 3
    		`
    	var err error
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.3K bytes
    - Click Count (0)
Back to Top