Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  3. 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 Dec 30 12:39:10 UTC 2025
    - Last Modified: Mon Jun 17 20:45:36 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. 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 Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Sep 06 13:23:48 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/io/ResourceTraversalUtil.java

         *            the Jar file (must not be {@literal null})
         * @param prefix
         *            the prefix that resource names must start with (must not be {@literal null}).
         *            If not empty, must end with a slash ('/').
         * @param handler
         *            the handler to process resources (must not be {@literal null})
         */
        public static void forEach(final JarFile jarFile, final String prefix, final ResourceHandler handler) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 9.2K 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: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  9. cmd/object-api-utils.go

    			return ObjectNameInvalid{
    				Bucket: bucket,
    				Object: object,
    			}
    		}
    	}
    	return nil
    }
    
    // SlashSeparator - slash separator.
    const SlashSeparator = "/"
    
    // SlashSeparatorChar - slash separator.
    const SlashSeparatorChar = '/'
    
    // retainSlash - retains slash from a path.
    func retainSlash(s string) string {
    	if s == "" {
    		return s
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Jun 25 15:08:54 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  10. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Jul 25 06:04:16 UTC 2015
    - 8.8K bytes
    - Viewed (0)
Back to top