- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 152 for trailing (0.04 sec)
-
src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java
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 '/' when(locator.getURL()).thenReturn(invalidUrl); SmbException ex =
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Utf8.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java
* wire format so that we can observe only the bytes written by a method. */ private static byte[] newBuffer(int length) { // initialise with distinct pattern to detect unused trailing bytes byte[] buf = new byte[length]; Arrays.fill(buf, (byte) 0xFF); return buf; } @Test @DisplayName("constructor initialises command and parameters correctly")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/ShareEnumIteratorTest.java
assertNotNull(r1); assertEquals("foo/", r1.getName(), "First child name should match with trailing slash"); assertTrue(it.hasNext(), "Expected second element available"); SmbResource r2 = it.next(); assertNotNull(r2); assertEquals("bar/", r2.getName(), "Second child name should match with trailing slash"); // End of iteration behavior
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
ci/official/envs/versions_upload
# ============================================================================== # Release jobs are very basic. They don't use any caching or RBE, # but they do upload logs to resultstore. # IMPORTANT: trailing slash is required on GCS URIs, as it tells gcloud to # pretend the path is a directory. TFCI_ARTIFACT_FINAL_GCS_ENABLE=1
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Tue Jul 29 02:07:51 UTC 2025 - 1.6K bytes - Viewed (0) -
src/archive/tar/strconv.go
b[len(s)] = 0 } // Some buggy readers treat regular files with a trailing slash // in the V7 path field as a directory even though the full path // recorded elsewhere (e.g., via PAX record) contains no trailing slash. if len(s) > len(b) && b[len(b)-1] == '/' { n := len(strings.TrimRight(s[:len(b)-1], "/")) b[n] = 0 // Replace trailing slash with NUL terminator } }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Sep 08 17:08:20 UTC 2025 - 9.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFileTest.java
// Test UNC path conversion assertEquals("\\\\server\\share\\file.txt", new SmbFile("smb1://server/share/file.txt").getUncPath()); // For share URLs with trailing slash, the UNC path includes the trailing slash assertEquals("\\\\server\\share\\", new SmbFile("smb1://server/share/").getUncPath()); assertEquals("\\\\server", new SmbFile("smb1://server/").getUncPath()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.5K bytes - Viewed (0) -
cmd/utils_test.go
{ path: "/bucket/object/1/", bucket: "bucket", object: "object/1/", }, // Test case 5 object has many trailing separators. { path: "/bucket/object/1///", bucket: "bucket", object: "object/1///", }, // Test case 6 object has only trailing separators. { path: "/bucket/object///////", bucket: "bucket", object: "object///////", },
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 10.2K bytes - Viewed (0) -
cmd/object-api-utils_test.go
{"␀␁␂␃␄␅␆␇␈␉␊␋␌␍␎␏␐␑␒␓␔␕␖␗␘␙␚␛␜␝␞␟␡", true}, {"trailing VT␋/trailing VT␋", true}, {"␋leading VT/␋leading VT", true}, {"~leading tilde", true}, {"\rleading CR", true}, {"\nleading LF", true}, {"\tleading HT", true}, {"trailing CR\r", true}, {"trailing LF\n", true}, {"trailing HT\t", true}, // cases for which test should fail. // passing invalid object names.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 24.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java
assertEquals("\\test\\file.txt", request.getPath()); // Test path with trailing backslash (should be stripped) request.setPath("test\\directory\\"); assertEquals("\\test\\directory", request.getPath()); // Test path with both leading and trailing backslash request.setPath("\\test\\directory\\"); assertEquals("\\test\\directory", request.getPath());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 18.6K bytes - Viewed (0)