Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 347 for directly (1.83 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EXTRACTOR_TESTS_README.md

    # Extractor Implementation Tests
    
    This directory contains comprehensive tests for the Extractor implementations, focusing on the improvements made to resource management, error handling, and input validation.
    
    ## Test Files Overview
    
    ### 1. ExtractorResourceManagementTest.java
    **Purpose**: Verify proper resource management in Extractor implementations.
    
    **Key Test Areas**:
    - Resource closure on successful extraction (MS Office extractors)
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Nov 19 08:55:01 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

            } catch (final IOException e) {
                throw new DictionaryException("Failed to parse " + path, e);
            }
        }
    
        /**
         * Returns the simple file name (without directory path) of this mapping file.
         *
         * @return the file name without the full path
         */
        public String getSimpleName() {
            return new File(path).getName();
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 05:56:45 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbOperationException.java

                    false), FILE_EXISTS("File already exists", ErrorCategory.FILE_SYSTEM, false), DIRECTORY_NOT_EMPTY("Directory not empty",
                            ErrorCategory.FILE_SYSTEM, false), DISK_FULL("Disk full", ErrorCategory.RESOURCE,
                                    false), QUOTA_EXCEEDED("Quota exceeded", ErrorCategory.RESOURCE, false),
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java

                    if (!canonicalPath.startsWith(baseCanonicalPath)) {
                        throw new IllegalArgumentException("File path is outside allowed directory");
                    }
                }
            } catch (final IOException e) {
                throw new IllegalArgumentException("Invalid file path", e);
            }
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java

            } catch (Exception e) {
                // Ignore cleanup errors
            }
            suggester.shutdown();
        }
    
        /**
         * Test that resource files can be loaded successfully.
         * This indirectly tests getDefaultMappings and getDefaultIndexSettings.
         */
        @Test
        public void testResourceLoading_viaIndexCreation() throws Exception {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/InputValidator.java

                throw new IllegalArgumentException("Path exceeds maximum length: " + path.length());
            }
            if (PATH_TRAVERSAL.matcher(path).find()) {
                throw new IllegalArgumentException("Path contains directory traversal sequences: " + path);
            }
            if (INVALID_PATH_CHARS.matcher(path).find()) {
                throw new IllegalArgumentException("Path contains invalid characters: " + path);
            }
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/PathValidatorTest.java

            // These tests validate current behavior where problematic paths are caught by other checks
    
            // Test invalid server name with dots - caught by directory traversal check
            assertThrows(SmbException.class, () -> {
                validator.validatePath("\\\\..\\share");
            });
    
            // Test invalid characters in paths - caught by null byte check
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/rdma/RdmaBufferManagerTest.java

            assertNotNull(buffer, "Buffer should not be null");
            assertTrue(buffer.capacity() >= 2048, "Buffer should be at least requested size");
            assertTrue(buffer.isDirect(), "Buffer should be direct");
        }
    
        @Test
        public void testReleaseBuffer() {
            ByteBuffer buffer = bufferManager.allocateBuffer(1024);
    
            // Release should not throw exception
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

     * to interact with SMB resources.
     *
     * <p>
     * This client supports authentication, content retrieval, and metadata extraction from SMB files.
     * It handles file access, directory listing, and access control entries (ACEs) processing.
     * </p>
     *
     * <p>
     * The class provides methods to:
     * </p>
     * <ul>
     *   <li>Initialize the client with SMB authentication details.</li>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Hexdump;
    
    /**
     * SMB2 Create response message. This response contains the file ID and attributes
     * of the created or opened file or directory.
     *
     * @author mbechler
     *
     */
    public class Smb2CreateResponse extends ServerMessageBlock2Response implements SmbBasicFileInfo {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 15.4K bytes
    - Viewed (0)
Back to top