Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 101 for slash (0.01 sec)

  1. 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)
  2. src/cmd/addr2line/addr2line_test.go

    		t.Fatalf("expected function name %v; got %v", symName, funcName)
    	}
    	fi1, err := os.Stat("addr2line_test.go")
    	if err != nil {
    		t.Fatalf("Stat failed: %v", err)
    	}
    
    	// Debug paths are stored slash-separated, so convert to system-native.
    	srcPath = filepath.FromSlash(srcPath)
    	fi2, err := os.Stat(srcPath)
    	if err != nil {
    		t.Fatalf("Stat failed: %v", err)
    	}
    	if !os.SameFile(fi1, fi2) {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Sep 06 13:23:48 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SmbResourceTest.java

                String name = mockResource.getName();
    
                // Then
                assertEquals(expectedName, name, "Directory name should include trailing slash");
                assertTrue(name.endsWith("/"), "Directory name should end with slash");
            }
        }
    
        @Nested
        @DisplayName("Resource Type Tests")
        class ResourceTypeTests {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  4. src/test/java/jcifs/SmbResourceLocatorTest.java

                    return host + "/"; // mimic the JVM behaviour for root or server
                }
                if (path.endsWith("/")) {
                    return path.substring(0, path.length()); // keep trailing slash
                }
                String[] parts = path.split("/");
                return parts[parts.length - 1];
            }
    
            @Override
            public String getParent() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/PathValidatorTest.java

        @Test
        public void testNormalizePath() throws Exception {
            // Test forward slash normalization
            assertEquals("\\share\\folder", validator.validatePath("/share/folder"));
    
            // Test duplicate slash removal
            assertEquals("\\share\\folder", validator.validatePath("\\\\share\\\\folder"));
    
            // Test trailing slash removal
            assertEquals("\\share\\folder", validator.validatePath("\\share\\folder\\"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  6. ci/official/envs/nightly_upload

    # See the License for the specific language governing permissions and
    # limitations under the License.
    # ==============================================================================
    # IMPORTANT: trailing slash is required on GCS URIs, as it tells gcloud to
    # pretend the path is a directory.
    # 1. Upload nightlies
    TFCI_ARTIFACT_FINAL_GCS_ENABLE=1
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Jun 17 20:45:36 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. dbflute_fess/dfprop/littleAdjustmentMap.dfprop

        #  If you use synchronizer and specify this property, no need to refresh(F5) your eclipse project.
        #  The projectName can be set plural names by slash '/'. e.g. sea/land
        #
        #; refreshMap = map:{
        #    ; projectName = $$AutoDetect$$
        #    ; requestUrl = http://localhost:8386/
        #}
        # - - - - - - - - - -/
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 25 06:04:16 UTC 2015
    - 8.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/io/ClassTraversalUtil.java

         * @param jarFile the Jar file (must not be {@literal null})
         * @param prefix the prefix that the resource name to traverse must contain (must not be {@literal null}).
         *               If not empty, must end with a slash ('/')
         * @param handler the handler to process classes (must not be {@literal null})
         */
        public static void forEach(final JarFile jarFile, final String prefix, final ClassHandler handler) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbResourceLocator.java

         * <code>SmbFile</code> refers to a workgroup, server, share, or directory,
         * the name will include a trailing slash '/' so that composing new
         * <code>SmbFile</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
    - 6.4K bytes
    - Viewed (0)
  10. src/cmd/buildid/buildid.go

    	if err != nil {
    		log.Fatal(err)
    	}
    	matches, hash, err := buildid.FindAndHash(f, id, 0)
    	f.Close()
    	if err != nil {
    		log.Fatal(err)
    	}
    
    	// <= go 1.7 doesn't embed the contentID or actionID, so no slash is present
    	if !strings.Contains(id, "/") {
    		log.Fatalf("%s: build ID is a legacy format...binary too old for this tool", file)
    	}
    
    	newID := id[:strings.LastIndex(id, "/")] + "/" + buildid.HashToString(hash)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Jun 21 19:58:04 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top