- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 1,452 for spath (0.06 sec)
-
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
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCookieResourceProviderTest.java
assertEquals(Integer.valueOf(expire), provider.provideDefaultExpire()); } } // Test with different path values public void test_differentPathValues() { String[] testPaths = { "/", "/app", "/test/path", "/a/b/c/d", "" }; for (String path : testPaths) { ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() { private static final long serialVersionUID = 1L;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PathMappingHelper.java
protected static final String GROOVY_MATCHER = "groovy:"; /** Map of path mappings by process type. */ protected final Map<String, List<PathMapping>> pathMappingMap = new HashMap<>(); /** Cached list of path mappings. */ protected volatile List<PathMapping> cachedPathMappingList = null; /** * Initializes the path mapping helper. */ @PostConstruct public void init() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java
@CsvSource({ "'', 4", "'a', 6", "'\\\\', 8", "'\\\\server', 20", "'\\\\server\\share', 32", "'\\\\server\\share\\path', 42", "'\\\\server\\share\\very\\long\\path\\with\\many\\segments', 100" }) void testSizeCalculation(String path, int expectedSize) { buffer = new DfsReferralRequestBuffer(path, 3);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
cmd/admin-router.go
adminRouter.Methods(http.MethodPost).Path(adminVersion + "/tier/{tier}").HandlerFunc(adminMiddleware(adminAPI.EditTierHandler)) adminRouter.Methods(http.MethodGet).Path(adminVersion + "/tier").HandlerFunc(adminMiddleware(adminAPI.ListTierHandler)) adminRouter.Methods(http.MethodDelete).Path(adminVersion + "/tier/{tier}").HandlerFunc(adminMiddleware(adminAPI.RemoveTierHandler))
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 16 07:34:24 UTC 2025 - 26.7K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/index.md
It is just a function that can take all the same parameters that a *path operation function* can take: {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[8:9] *} That's it. **2 lines**. And it has the same shape and structure that all your *path operation functions* have. You can think of it as a *path operation function* without the "decorator" (without the `@app.get("/some-path")`). And it can return anything you want.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 9.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java
// Test task creation with null document map String path = "/path/to/document.pdf"; Tuple3<String, String, String> task = thumbnailGenerator.createTask(path, null); assertNull(task); } public void test_createTask_withEmptyDocMap() { // Test task creation with empty document map String path = "/path/to/document.pdf"; Map<String, Object> docMap = new HashMap<>();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.4K bytes - Viewed (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
if (path.length() > MAX_PATH_SIZE) { failedValidations.incrementAndGet(); log.warn("Path exceeds maximum length: {}", path.length()); throw new SmbException("Path exceeds maximum length"); } // Check for directory traversal if (path.contains("..") || path.contains("./") || path.contains(".\\")) { failedValidations.incrementAndGet();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
// dunc is "\\" + path + remaining - note: path may not have leading backslashes assertTrue(newUnc.contains("dfs/path") || newUnc.contains("dfs\\path")); assertEquals(dr, l.getDfsReferral()); assertEquals("dfs-server", l.getServerWithDfs()); assertEquals("smb://dfs-server/dfs-share" + l.getUNCPath().replace('\\', '/'), l.getDfsPath());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt
parse("http://example.com/foo/bar".toHttpUrl(), "a=b; path=quux")!!.path, ).isEqualTo("/foo") assertThat(parse("http://example.com/foo/bar".toHttpUrl(), "a=b; path=")!!.path) .isEqualTo("/foo") } @Test fun pathAttributeDoesntNeedToMatch() { assertThat(parse("http://example.com/".toHttpUrl(), "a=b; path=/quux")!!.path) .isEqualTo("/quux")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 24.4K bytes - Viewed (0)