Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 208 for Training (0.06 sec)

  1. src/main/java/org/codelibs/fess/suggest/normalizer/NormalizerChain.java

     */
    package org.codelibs.fess.suggest.normalizer;
    
    import java.util.ArrayList;
    import java.util.List;
    
    /**
     * The NormalizerChain class implements the Normalizer interface and allows chaining multiple normalizers together.
     * It applies each normalizer in the order they were added to the chain.
     *
     * <p>Usage example:</p>
     * <pre>
     * NormalizerChain chain = new NormalizerChain();
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

                /*
                 * Samba has a tendency to return pathConsumed values so that they consume a trailing slash of the
                 * requested path. Normalize this here.
                 */
                if (reqPath.charAt(consumed - 1) == '\\') {
                    if (log.isDebugEnabled()) {
                        log.debug("Server consumed trailing slash of request path, adjusting");
                    }
                    dr.pathConsumed--;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/NotifyResponseTest.java

        }
    
        @Test
        @DisplayName("Test NotifyResponse chaining with multiple responses")
        void testNotifyResponseChaining() {
            MockNotifyResponse response1 = new MockNotifyResponse(Collections.singletonList(mockNotifyInfo1));
            MockNotifyResponse response2 = new MockNotifyResponse(Collections.singletonList(mockNotifyInfo2));
    
            // Setup chaining
            response1.setNextResponse(response2);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/StorageExceptionTest.java

            assertEquals(innerMessage, exception.getCause().getMessage());
        }
    
        public void test_multiLevelExceptionChaining() {
            // Test multi-level exception chaining
            Exception level1 = new Exception("Level 1");
            RuntimeException level2 = new RuntimeException("Level 2", level1);
            StorageException level3 = new StorageException("Level 3", level2);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TextUtil.java

             * Sets the maximum size for alphanumeric terms.
             *
             * @param maxAlphanumTermSize the maximum size for alphanumeric terms
             * @return the current instance of {@code TextNormalizeContext} for method chaining
             */
            public TextNormalizeContext maxAlphanumTermSize(final int maxAlphanumTermSize) {
                this.maxAlphanumTermSize = maxAlphanumTermSize;
                return this;
            }
    
            /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 12K bytes
    - Viewed (0)
  6. src/main/java/jcifs/SmbResourceLocator.java

         * the root URL <code>smb://</code> is also <code>smb://</code>. If this
         * <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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbEnumerationUtilTest.java

        @Nested
        @DisplayName("doShareEnum early validation")
        class DoShareEnumValidation {
    
            static Stream<Arguments> invalidShareEnumCases() {
                return Stream.of(
                        // Missing trailing slash -> should complain about directory ending
                        Arguments.of("smb://server/share", "/share", true),
                        // Not a server root -> invalid list operation
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/PluginExceptionTest.java

            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_exceptionChaining() {
            // Test exception chaining
            Throwable rootCause = new IllegalArgumentException("Invalid argument");
            Throwable intermediateCause = new RuntimeException("Processing failed", rootCause);
            String message = "Plugin operation failed";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java

         * @return this job instance for method chaining
         */
        public GenerateThumbnailJob numOfThreads(final int numOfThreads) {
            this.numOfThreads = numOfThreads;
            return this;
        }
    
        /**
         * Enables cleanup operations for this job.
         *
         * @return this job instance for method chaining
         */
        public GenerateThumbnailJob cleanup() {
            cleanup = true;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

                assertFalse(addresses[i].groupName);
            }
        }
    
        @Test
        void readRDataWireFormat_shouldTrimTrailingSpaces() throws Exception {
            // Test that trailing spaces (0x20) are trimmed from names
            byte[] src = new byte[50];
            int srcIndex = 0;
    
            Field rDataLengthField = NameServicePacket.class.getDeclaredField("rDataLength");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
Back to top