Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 220 for DIRECTORY (1.28 sec)

  1. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheScope.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.lease;
    
    /**
     * Defines the scope of directory caching for SMB3 directory leasing
     */
    public enum DirectoryCacheScope {
        /**
         * Cache only direct children of the directory
         */
        IMMEDIATE_CHILDREN,
    
        /**
         * Cache entire subtree recursively (if supported by server)
         */
        RECURSIVE_TREE,
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java

    import jcifs.internal.smb2.lease.Smb2LeaseState;
    
    /**
     * Extension methods for SmbFile to support directory leasing functionality.
     *
     * This utility class provides static methods that enhance SmbFile operations with
     * directory leasing capabilities for improved performance through caching when
     * SMB3 directory leasing is available and enabled.
     */
    public class SmbFileDirectoryLeasingExtension {
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseState.java

     */
    package jcifs.internal.smb2.lease;
    
    /**
     * Defines directory lease state constants for SMB2/SMB3 directory leasing.
     *
     * This class provides constants and utility methods for managing directory lease states
     * in SMB2/SMB3 protocol implementations. Directory leases enable clients to cache
     * directory metadata and reduce network round-trips for directory operations.
     */
    public class DirectoryLeaseState {
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/storage/StorageItem.java

         * @param path the path of the item
         * @param directory true if this item is a directory
         * @param size the size of the item in bytes
         * @param lastModified the last modified timestamp
         * @param encodedId the base64-encoded ID of the item
         */
        public StorageItem(final String name, final String path, final boolean directory, final long size, final ZonedDateTime lastModified,
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            assertFalse(cacheEntry.isComplete());
    
            // Step 3: Verify can cache directory listing
            assertTrue(directoryLeaseManager.canCacheDirectoryListing(directoryPath));
    
            // Step 4: Initially no cached listing
            assertNull(directoryLeaseManager.getCachedDirectoryListing(directoryPath));
    
            // Step 5: Simulate directory enumeration and update cache
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/fscc/FileStandardInfo.java

            dst[dstIndex++] = (byte) (this.directory ? 1 : 0);
            return dstIndex - start;
        }
    
        @Override
        public String toString() {
            return ("SmbQueryInfoStandard[" + "allocationSize=" + this.allocationSize + ",endOfFile=" + this.endOfFile + ",numberOfLinks="
                    + this.numberOfLinks + ",deletePending=" + this.deletePending + ",directory=" + this.directory + "]");
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/FessBoot.java

            if (value != null) {
                return value;
            }
            return super.prepareWebappPath();
        }
    
        /**
         * Returns the directory path for temporary mark files.
         *
         * @return the absolute path to the fessboot directory in the system temp directory
         */
        @Override
        protected String getMarkDir() {
            return new File(System.getProperty(JAVA_IO_TMPDIR), "fessboot").getAbsolutePath();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java

            buffer[offset++] = (byte) 1; // directory = true
    
            // Decode
            int bytesDecoded = fileStandardInfo.decode(buffer, bufferIndex, 22);
    
            // Verify
            assertEquals(22, bytesDecoded);
            assertEquals(expectedEndOfFile, fileStandardInfo.getSize());
        }
    
        @Test
        @DisplayName("Test decode with delete pending false and directory false")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/io/FileUtil.java

        /**
         * Validates that a given path is safe and does not attempt path traversal attacks.
         * <p>
         * This method checks if the resolved absolute path starts with the allowed base directory,
         * preventing access to files outside the intended directory through path traversal
         * techniques like "../../../etc/passwd".
         * </p>
         * <p>
         * Example usage:
         * </p>
         * <pre>
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/io/ResourceTraversalUtil.java

        /**
         * Traverses resources contained in the file system.
         * <p>
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 9.2K bytes
    - Viewed (0)
Back to top