- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 111 for slash (0.04 seconds)
-
src/test/java/jcifs/smb/SmbTransportImplTest.java
s2.close(); } @Test @DisplayName("DFS referrals: invalid double-slash prefix triggers exception") void dfsReferrals_invalidPath() { CIFSException ex = assertThrows(CIFSException.class, () -> transport.getDfsReferrals(ctx, "\\\\server\\share", null, null, 1)); assertTrue(ex.getMessage().contains("double slash")); } @Nested @MockitoSettings(strictness = Strictness.LENIENT)
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
assertEquals("special", result.getServer()); } @Test @DisplayName("Should adjust path consumed for trailing slash") void testFromReferralWithTrailingSlash() { when(mockReferral.getTtl()).thenReturn(300); when(mockReferral.getRFlags()).thenReturn(0);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 30.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
// file name from deep path SmbResourceLocatorImpl a = locator("smb://server/share/dir/file.txt"); assertEquals("file.txt", a.getName()); // share name with trailing slash when only share present SmbResourceLocatorImpl b = locator("smb://server/share/"); assertEquals("share/", b.getName()); // host when no path/shareCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java
return 0; } @Override public int getFileIndex() { return 0; } } @Test @DisplayName("open(): invalid URL path without trailing slash throws SmbException") void invalidUrlPathThrows() throws Exception { // Override the default setup for this specific test URL invalidUrl = new URL("smb://server/share/dir"); // no trailing '/'Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.7K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 13.4K bytes - Click Count (0) -
src/archive/zip/writer.go
// The file contents will be compressed using the [Deflate] method. // The name must be a relative path: it must not start with a drive // letter (e.g. C:) or leading slash, and only forward slashes are // allowed. To create a directory instead of a file, add a trailing // slash to the name. Duplicate names will not overwrite previous entries // and are appended to the zip file. // The file's contents must be written to the [io.Writer] before the next
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Jan 28 04:20:09 GMT 2025 - 19.4K bytes - Click Count (0) -
cmd/streaming-signature-v4_test.go
{ []byte("10000;"), []byte("10000;"), nil, }, // Test - 3 no chunk size, return error. { []byte(";chunk-signature="), nil, nil, }, // Test - 4 removes trailing slash. { []byte("10000;chunk-signature=ad80c730a21e5b8d04586a2213dd63b9a0e99e0e2307b0ade35a65485a288648 \t \n"), []byte("10000"), []byte("ad80c730a21e5b8d04586a2213dd63b9a0e99e0e2307b0ade35a65485a288648"), },Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java
map.put("name", s); list.add(map); })); return list; } /** * Creates a path prefix with trailing slash if path is not empty. * * @param path the base path * @return path with trailing slash or empty string */ protected static String getPathPrefix(final String path) { return StringUtil.isEmpty(path) ? StringUtil.EMPTY : path + "/"; }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 13 02:21:17 GMT 2025 - 22.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/IpAddressUtilTest.java
assertEquals("https://example.com:443/api", IpAddressUtil.buildUrl("https", "example.com", 443, "/api")); // Path without leading slash assertEquals("http://localhost:8080/path", IpAddressUtil.buildUrl("http", "localhost", 8080, "path")); // Null protocol or host assertNull(IpAddressUtil.buildUrl(null, "localhost", 8080, "/path"));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 06 08:31:03 GMT 2025 - 8.9K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
* referrals. Nested resources will inherit the information already resolved by the parent resource. * * Invariant: * A directory resource must have a trailing slash/backslash for both URL and UNC path at all times. * * @author mbechler * */ class SmbResourceLocatorImpl implements SmbResourceLocatorInternal, Cloneable {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 23.6K bytes - Click Count (0)