Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for slash (0.63 sec)

  1. src/test/java/org/codelibs/fess/cors/CorsHandlerFactoryTest.java

            TestCorsHandler handlerWithSlash = new TestCorsHandler("handler-with-slash");
            TestCorsHandler handlerWithoutSlash = new TestCorsHandler("handler-without-slash");
    
            // Execute
            corsHandlerFactory.add(originWithSlash, handlerWithSlash);
            corsHandlerFactory.add(originWithoutSlash, handlerWithoutSlash);
    
            // Verify - trailing slash matters
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

        /**
         * Removes the leading directory separator from the specified filesystem path (if any). For platform-independent
         * behavior, this method accepts both the forward slash and the backward slash as separator.
         *
         * @param path The filesystem path, may be <code>null</code>.
         * @return The altered filesystem path or <code>null</code> if the input path was <code>null</code>.
         */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. cmd/metacache-walk.go

    	// ReportNotFound will return errFileNotFound if all disks reports the BaseDir cannot be found.
    	ReportNotFound bool
    
    	// FilterPrefix will only return results with given prefix within folder.
    	// Should never contain a slash.
    	FilterPrefix string
    
    	// ForwardTo will forward to the given object path.
    	ForwardTo string
    
    	// Limit the number of returned objects if > 0.
    	Limit int
    
    	// DiskID contains the disk ID of the disk.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon May 26 07:06:43 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  4. 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
            assertFalse(it.hasNext(), "No more elements expected");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  5. 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
    TFCI_ARTIFACT_FINAL_GCS_SA_PATH="${KOKORO_KEYSTORE_DIR}/73361_tensorflow_release_binary_uploader_service_account"
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Tue Jul 29 02:07:51 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top