Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 2,139 for spath (0.02 seconds)

  1. guava-tests/test/com/google/common/util/concurrent/ClassPathUtil.java

    import org.jspecify.annotations.NullUnmarked;
    
    // TODO(b/65488446): Make this a public API.
    /** Utility method to parse the system class path. */
    @NullUnmarked
    final class ClassPathUtil {
      private ClassPathUtil() {}
    
      /**
       * Returns the URLs in the class path specified by the {@code java.class.path} {@linkplain
       * System#getProperty system property}.
       */
      // TODO(b/65488446): Make this a public API.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  2. tests/test_tutorial/test_path_params_numeric_validations/test_tutorial002_tutorial003.py

        )
        return TestClient(mod.app)
    
    
    @pytest.mark.parametrize(
        "path,expected_response",
        [
            ("/items/42?q=", {"item_id": 42}),
            ("/items/123?q=somequery", {"item_id": 123, "q": "somequery"}),
        ],
    )
    def test_read_items(client: TestClient, path, expected_response):
        response = client.get(path)
        assert response.status_code == 200, response.text
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/opensearch/config/cbean/cq/bs/BsThumbnailQueueCQ.java

        }
    
        public void setPath_Equal(String path) {
            setPath_Term(path, null);
        }
    
        public void setPath_Equal(String path, ConditionOptionCall<TermQueryBuilder> opLambda) {
            setPath_Term(path, opLambda);
        }
    
        public void setPath_Term(String path) {
            setPath_Term(path, null);
        }
    
        public void setPath_Term(String path, ConditionOptionCall<TermQueryBuilder> opLambda) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 51.1K bytes
    - Click Count (1)
  4. fastapi/routing.py

                if dependant.call
                else EndpointContext()
            )
    
            if dependant.path:
                # For mounted sub-apps, include the mount path prefix
                mount_path = request.scope.get("root_path", "").rstrip("/")
                endpoint_ctx["path"] = f"{request.method} {mount_path}{dependant.path}"
    
            # Read body and auto-close files
            try:
                body: Any = None
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 174.6K bytes
    - Click Count (0)
  5. 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 length
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

        }
    
        @Test
        @DisplayName("Should reuse existing lease for same path")
        void testReuseExistingLease() {
            String path = "/share/file.txt";
            int requestedState = Smb2LeaseState.SMB2_LEASE_READ_WRITE;
    
            Smb2LeaseKey key1 = leaseManager.requestLease(path, requestedState);
            Smb2LeaseKey key2 = leaseManager.requestLease(path, requestedState);
    
            assertEquals(key1, key2);
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 00:16:17 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  7. scripts/translate.py

        return yaml.safe_load(Path("docs/language_names.yml").read_text(encoding="utf-8"))
    
    
    def generate_lang_path(*, lang: str, path: Path) -> Path:
        en_docs_path = Path("docs/en/docs")
        assert str(path).startswith(str(en_docs_path)), (
            f"Path must be inside {en_docs_path}"
        )
        lang_docs_path = Path(f"docs/{lang}/docs")
        out_path = Path(str(path).replace(str(en_docs_path), str(lang_docs_path)))
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 19:05:53 GMT 2025
    - 34.1K bytes
    - Click Count (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeWorkflowIntegrationTest.java

                        .build();
                Files.writeString(parentPom, parentPomContent);
    
                // Create module directory and POM
                Path moduleDir = tempDir.resolve("module1");
                Files.createDirectories(moduleDir);
                Path modulePom = moduleDir.resolve("pom.xml");
                String modulePomContent = PomBuilder.create()
                        .parent("com.example", "parent-project", "1.0.0")
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  9. tests/test_datastructures.py

        placeholder_a = Default("a")
        placeholder_b = Default("")
        assert placeholder_a
        assert not placeholder_b
    
    
    def test_upload_file_is_closed(tmp_path: Path):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
        app = FastAPI()
    
        testing_file_store: list[UploadFile] = []
    
        @app.post("/uploadfile/")
        def create_upload_file(file: UploadFile):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  10. lib/wasm/wasm_exec.js

    			rename(from, to, callback) { callback(enosys()); },
    			rmdir(path, callback) { callback(enosys()); },
    			stat(path, callback) { callback(enosys()); },
    			symlink(path, link, callback) { callback(enosys()); },
    			truncate(path, length, callback) { callback(enosys()); },
    			unlink(path, callback) { callback(enosys()); },
    			utimes(path, atime, mtime, callback) { callback(enosys()); },
    		};
    	}
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Sun Dec 08 15:34:47 GMT 2024
    - 16.6K bytes
    - Click Count (0)
Back to Top