Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1881 - 1890 of 2,945 for methods (0.06 seconds)

  1. src/main/java/org/codelibs/core/crypto/CachedCipher.java

        }
    
        /**
         * Encrypts the given data.
         *
         * @param data
         *            the data to encrypt
         * @return the encrypted data
         * @deprecated Use {@link #encrypt(byte[])} instead. This method name contains a typo.
         */
        @Deprecated
        public byte[] encrypto(final byte[] data) {
            return encrypt(data);
        }
    
        /**
         * Encrypts the given data with the specified key.
         *
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelWriter.java

        void write(File output, Map<String, Object> options, Model model) throws IOException;
    
        /**
         * Writes the supplied model to the specified character writer. The writer will be automatically closed before the
         * method returns.
         *
         * @param output The writer to serialize the model to, must not be {@code null}.
         * @param options The options to use for serialization, may be {@code null} to use the default values.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java

                        falseCount++;
                    }
                }
            }
            assertTrue("Some threads should have observed alive=false", falseCount > 0);
        }
    
        /**
         * Test stop() method sets alive to false and is visible to other threads.
         */
        @Test
        public void test_stop_volatileVisibility() throws Exception {
            assertTrue(dataStore.alive);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.8K bytes
    - Click Count (1)
  4. src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java

            assertEquals(originalException.getCause().getMessage(), deserializedException.getCause().getMessage());
        }
    
        @Test
        public void test_getMessage() {
            // Test getMessage() method
            String message = "Custom SSO error message";
            SsoLoginException exception = new SsoLoginException(message);
    
            assertEquals(message, exception.getMessage());
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 14.7K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java

            assertTrue(result.contains("encryptionKeyLength=8"));
            assertTrue(result.contains("byteCount=8"));
            assertTrue(result.contains("oemDomainName=TEST_DOMAIN"));
        }
    
        // Helper method to set protected byteCount field using reflection
        private void setByteCount(SmbComNegotiateResponse response, int byteCount) {
            try {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/helper/SearchHelper.java

        //                                                                              Method
        //                                                                      ==============
    
        /**
         * Performs a search operation and populates the search render data with results.
         *
         * This method handles the complete search workflow including parameter processing,
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 36.3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/service/FavoriteLogService.java

        /** Configuration settings for the Fess search system. */
        @Resource
        protected FessConfig fessConfig;
    
        /**
         * Adds a URL to a user's favorite list.
         * This method looks up the user by their code and creates a new favorite log entry
         * using the provided lambda function to populate the favorite log data.
         *
         * @param userCode the unique code identifying the user
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/http/NtlmSsp.java

         * Default constructor.
         */
        public NtlmSsp() {
            // Default constructor
        }
    
        /**
         * Calls the static {@link #authenticate(HttpServletRequest,
         * HttpServletResponse, byte[])} method to perform NTLM authentication
         * for the specified servlet request.
         *
         * @param req The request being serviced.
         * @param resp The response.
         * @param challenge The domain controller challenge.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/SmbPipeInputStream.java

            return this.handle.ensureOpen();
        }
    
        /**
         * This stream class is unbuffered. Therefore this method will always
         * return 0 for streams connected to regular files. However, a
         * stream created from a Named Pipe this method will query the server using a
         * "peek named pipe" operation and return the number of available bytes
         * on the server.
         */
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/validation/CronExpressionValidatorTest.java

            // Test each pattern and see what actually works
            for (String cron : potentiallyValidCrons) {
                boolean result = validator.isValid(cron, context);
                // Don't assert true/false here, just test that method doesn't throw
                assertNotNull(Boolean.valueOf(result), "Validation should return a boolean result for: " + cron);
            }
        }
    
        // Test edge cases to understand the validation behavior
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 4.6K bytes
    - Click Count (0)
Back to Top