- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 266 for Trailing (0.04 sec)
-
src/test/java/jcifs/util/PathValidatorTest.java
// Test duplicate slash removal assertEquals("\\share\\folder", validator.validatePath("\\\\share\\\\folder")); // Test trailing slash removal assertEquals("\\share\\folder", validator.validatePath("\\share\\folder\\")); } @Test public void testDirectoryTraversal() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/Utf8Test.java
*/ public void testIsWellFormed_4BytesSamples() { // Valid 4 byte. assertWellFormed(0xF0, 0xA4, 0xAD, 0xA2); // Bad trailing bytes assertNotWellFormed(0xF0, 0xA4, 0xAD, 0x7F); assertNotWellFormed(0xF0, 0xA4, 0xAD, 0xC0); // Special cases for byte2 assertNotWellFormed(0xF0, 0x8F, 0xAD, 0xA2);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java
*/ @Override public void setPath(String path) { if (path.length() > 0 && path.charAt(0) == '\\') { path = path.substring(1); } // win8.1 returns ACCESS_DENIED if the trailing backslash is included if (path.length() > 1 && path.charAt(path.length() - 1) == '\\') { path = path.substring(0, path.length() - 1); } this.name = path; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 22.9K bytes - Viewed (0) -
src/main/java/jcifs/SmbResource.java
* <code>SmbResource</code> refers to a workgroup, server, share, or directory, * the name will include a trailing slash '/' so that composing new * <code>SmbResource</code>s will maintain the trailing slash requirement. * * @return The last component of the URL associated with this SMB * resource or <code>smb://</code> if the resource is <code>smb://</code>
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 28K bytes - Viewed (1) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
void testGetNameVariants() { // 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/share
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InternetDomainName.java
InternetDomainName(String name) { // Normalize: // * ASCII characters to lowercase // * All dot-like characters to '.' // * Strip trailing '.' name = Ascii.toLowerCase(DOTS_MATCHER.replaceFrom(name, '.')); if (name.endsWith(".")) { name = name.substring(0, name.length() - 1); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java
assertEquals("\"", result[1]); assertEquals("\"\"", result[2]); } public void test_parse_whitespace() { String value; String[] result; // Leading and trailing spaces value = " value1 , value2 , value3 "; result = KuromojiCSVUtil.parse(value); assertEquals(3, result.length); assertEquals(" value1 ", result[0]);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 18.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 17.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
* the root URL <code>smb1://</code> is also <code>smb1://</code>. If this * {@code SmbFile} refers to a workgroup, server, share, or directory, * the name will include a trailing slash '/' so that composing new * {@code SmbFile}s will maintain the trailing slash requirement. * * @return The last component of the URL associated with this SMB
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 112.2K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameTest.java
assertTrue(length >= 34); assertEquals(0x20, dst[0]); } @Test void readWireFormat_withTrailingSpaces_shouldTrimCorrectly() { // Prepare encoded data for "TEST " (with trailing spaces) byte[] src = new byte[100]; src[0] = 0x20; // Encode "TEST" correctly // T=0x54: upper nibble 0x5->F(0x46), lower nibble 0x4->E(0x45) src[1] = 'F';
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0)