- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 23 for trimpath (0.11 seconds)
-
api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java
Source source = Sources.fromPath(testFile); try (InputStream inputStream = source.openStream()) { String readContent = new String(inputStream.readAllBytes()); assertEquals(content, readContent); } } @Test void testNullHandling() { assertThrows(NullPointerException.class, () -> Sources.fromPath(null));Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 5.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderRequest.java
? Sources.fromPath(installationToolchainsFile) : null) .userToolchainsSource( userToolchainsPath != null && Files.exists(userToolchainsPath) ? Sources.fromPath(userToolchainsPath) : null) .build(); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 6.3K bytes - Click Count (0) -
internal/s3select/sql/stringfuncs.go
} const ( trimLeading = "LEADING" trimTrailing = "TRAILING" trimBoth = "BOTH" ) func evalSQLTrim(where *string, trimChars, text string) (result string, err error) { cutSet := " " if trimChars != "" { cutSet = trimChars } trimFunc := strings.Trim switch { case where == nil: case *where == trimBoth: case *where == trimLeading: trimFunc = strings.TrimLeft
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 4.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/ResourceUtilTest.java
assertTrue(classesPath.toString().contains("Test.class")); } @Test public void test_getOrigPath() { Path origPath = ResourceUtil.getOrigPath("original.file"); assertNotNull(origPath); assertTrue(origPath.toString().contains("orig")); } @Test public void test_getMailTemplatePath() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 11.8K bytes - Click Count (0) -
src/cmd/api/main_test.go
func (w *Walker) ImportFrom(fromPath, fromDir string, mode types.ImportMode) (*types.Package, error) { pkg, err := w.importFrom(fromPath, fromDir, mode) if err != nil { return nil, err } return pkg.Package, nil } func (w *Walker) import_(name string) (*apiPackage, error) { return w.importFrom(name, "", 0) }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Mar 02 13:20:41 GMT 2026 - 31.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java
* * @param path the path to the file * @return a new Source instance * @throws NullPointerException if path is null */ @Nonnull public static Source fromPath(@Nonnull Path path) { return new PathSource(requireNonNull(path, "path")); } /** * Creates a new build source for the specified path.Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 8.2K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
? Sources.fromPath(installationSettingsFile) : null) .projectSettingsSource( projectSettingsFile != null && Files.exists(projectSettingsFile) ? Sources.fromPath(projectSettingsFile) : null) .userSettingsSource(Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Oct 28 13:01:07 GMT 2025 - 43.2K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java
? Sources.fromPath(installationToolchainsFile) : null) .userToolchainsSource( userToolchainsFile != null && Files.isRegularFile(userToolchainsFile) ? Sources.fromPath(userToolchainsFile) : null) .build();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Sep 11 17:20:46 GMT 2025 - 28.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java
return null; } @Override public String getContextPath() { return null; } @Override public ServletContext getContext(String uripath) { return null; } @Override public int getMajorVersion() { return 0; } @Override public int getMinorVersion() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 19K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/PythonJobTest.java
return null; } @Override public String getContextPath() { return null; } @Override public ServletContext getContext(String uripath) { return null; } @Override public int getMajorVersion() { return 0; } @Override public int getMinorVersion() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 22.2K bytes - Click Count (0)