- Sort Score
- Num 10 results
- Language All
Results 581 - 590 of 1,925 for pathOf (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerRequest.java
* * @return the current working directory path */ @Nonnull Path cwd(); /** * Returns the Maven installation directory. * This is usually set by the Maven launcher script using the "maven.home" system property. * * @return the Maven installation directory path */ @Nonnull Path installationDirectory(); /**Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 6.7K bytes - Click Count (0) -
tests/test_jsonable_encoder.py
obj = ModelWithPath(path=PurePosixPath("/foo", "bar")) assert jsonable_encoder(obj) == {"path": "/foo/bar"} def test_encode_model_with_pure_windows_path(): class ModelWithPath(BaseModel): path: PureWindowsPath model_config = {"arbitrary_types_allowed": True} obj = ModelWithPath(path=PureWindowsPath("/foo", "bar")) assert jsonable_encoder(obj) == {"path": "\\foo\\bar"}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 9.2K bytes - Click Count (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/SourceRootTest.java
return null; // Not used for this test. } @Test void testDirectory() { assertEquals(Path.of("src", "main", "java"), directory()); scope = ProjectScope.TEST; assertEquals(Path.of("src", "test", "java"), directory()); moduleName = "org.foo"; assertEquals(Path.of("src", "org.foo", "test", "java"), directory()); } @Test void testTargetPath() {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Oct 26 17:22:14 GMT 2025 - 2.9K bytes - Click Count (0) -
docs/debugging/xattr/main.go
"github.com/pkg/xattr" ) var ( path, name string value uint64 set, list bool ) func getxattr(path, name string) (uint64, error) { buf, err := xattr.LGet(path, name) if err != nil { return 0, err } return binary.LittleEndian.Uint64(buf[:8]), nil } func listxattr(path string) ([]string, error) { return xattr.LList(path) } func setxattr(path, name string, value uint64) error {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Dec 29 23:52:41 GMT 2023 - 3.2K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlFactory.java
@Experimental public interface XmlFactory<T> extends Service { @Nonnull default T read(@Nonnull Path path) throws XmlReaderException { return read(path, true); } @Nonnull default T read(@Nonnull Path path, boolean strict) throws XmlReaderException { return read(XmlReaderRequest.builder().path(path).strict(strict).build()); } @Nonnull
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 3.9K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/ProtoSession.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jul 03 14:18:26 GMT 2025 - 7.5K bytes - Click Count (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/HpackJsonUtil.kt
val result = mutableListOf<String>() for (path in fileSystem.list(testCaseDirectory)) { val story00 = path / "story_00.json" if (!fileSystem.exists(story00)) continue try { readStory(story00) result.add(path.name) } catch (ignored: IOException) { // Skip this path. } } return result.toTypedArray<String>() } /**
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3.3K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadata.java
LocalSnapshotMetadata(Artifact artifact, Date timestamp) { super(createMetadata(artifact), (Path) null, timestamp); } LocalSnapshotMetadata(Metadata metadata, Path path, Date timestamp) { super(metadata, path, timestamp); } private static Metadata createMetadata(Artifact artifact) { Snapshot snapshot = new Snapshot();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.8K bytes - Click Count (0) -
tests/test_custom_middleware_exception.py
client = TestClient(app) def test_custom_middleware_exception(tmp_path: Path): default_pydantic_max_size = 2**16 path = tmp_path / "test.txt" path.write_bytes(b"x" * (default_pydantic_max_size + 1)) with client: with open(path, "rb") as file: response = client.post("/middleware", files={"file": file})
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Thu Aug 25 21:44:40 GMT 2022 - 2.8K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/PropertiesUtil.java
* Property set. Must not be {@literal null}. * @param path * Resource path. Must not be {@literal null} or empty. */ public static void load(final Properties props, final String path) { assertArgumentNotNull("props", props); assertArgumentNotEmpty("path", path); load(props, ResourceUtil.getResource(path)); } /**Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 7.9K bytes - Click Count (0)