Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 110 for slash (0.76 sec)

  1. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

                return 0;
            }
    
            @Override
            public int getFileIndex() {
                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 '/'
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

                        // add missing '/' between url and path
                        url.append('/');
                    }
    
                    url.append(path);
    
                    // ensure resulting url ends with slash if initial url was
                    if (initialUrlEndsWithSlash && !path.endsWith("/")) {
                        url.append('/');
                    }
                }
            }
    
            @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

                map.put("name", s);
                list.add(map);
            }));
            return list;
        }
    
        /**
         * Creates a path prefix with trailing slash if path is not empty.
         *
         * @param path the base path
         * @return path with trailing slash or empty string
         */
        protected static String getPathPrefix(final String path) {
            return StringUtil.isEmpty(path) ? StringUtil.EMPTY : path + "/";
        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

     * referrals. Nested resources will inherit the information already resolved by the parent resource.
     *
     * Invariant:
     * A directory resource must have a trailing slash/backslash for both URL and UNC path at all times.
     *
     * @author mbechler
     *
     */
    class SmbResourceLocatorImpl implements SmbResourceLocatorInternal, Cloneable {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  5. src/archive/tar/common.go

    // that they are interested in preserving.
    type Header struct {
    	// Typeflag is the type of header entry.
    	// The zero value is automatically promoted to either TypeReg or TypeDir
    	// depending on the presence of a trailing slash in Name.
    	Typeflag byte
    
    	Name     string // Name of file entry
    	Linkname string // Target name of link (valid for TypeLink or TypeSymlink)
    
    	Size  int64  // Logical file size in bytes
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Oct 07 19:46:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

                assertEquals("special", result.getServer());
            }
    
            @Test
            @DisplayName("Should adjust path consumed for trailing slash")
            void testFromReferralWithTrailingSlash() {
                when(mockReferral.getTtl()).thenReturn(300);
                when(mockReferral.getRFlags()).thenReturn(0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/gcs/Handler.java

                super(url);
                // Extract bucket name from host
                bucketName = url.getHost() != null ? url.getHost() : StringUtil.EMPTY;
                // Extract object name from path, removing leading slash if present and decoding URL encoding
                final String path = url.getPath();
                if (path != null && !path.isEmpty()) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/s3/Handler.java

                super(url);
                // Extract bucket name from host
                bucketName = url.getHost() != null ? url.getHost() : StringUtil.EMPTY;
                // Extract object name from path, removing leading slash if present and decoding URL encoding
                final String path = url.getPath();
                if (path != null && !path.isEmpty()) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 07:57:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/storage/GcsStorageClient.java

         */
        private String getName(final String objectName) {
            if (StringUtil.isBlank(objectName)) {
                return StringUtil.EMPTY;
            }
            // Remove trailing slash if present
            String name = objectName;
            if (name.endsWith("/")) {
                name = name.substring(0, name.length() - 1);
            }
            final String[] values = name.split("/");
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java

            assertEquals("mybucket", getField(conn, "bucketName"));
            // URL class does NOT normalize multiple slashes - they are preserved after removing leading slash
            String objectName = (String) getField(conn, "objectName");
            assertEquals("/path//to//object.txt", objectName);
        }
    
        /**
         * Test that getInputStream() attempts to connect if not connected.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.1K bytes
    - Viewed (0)
Back to top