Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 346 for Given (2.65 sec)

  1. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

        /**
         * Test that modifying the original array affects the field (reference test)
         */
        @Test
        @DisplayName("Test byte array reference behavior")
        public void testByteArrayReference() {
            // Given
            byte[] originalKey = new byte[] { 0x01, 0x02, 0x03, 0x04 };
            serverData.encryptionKey = originalKey;
    
            // When - modify the original array
            originalKey[0] = (byte) 0xFF;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  2. src/main/java/jcifs/ResourceFilter.java

     *
     */
    public interface ResourceFilter {
    
        /**
         * Tests whether the specified SMB resource should be included.
         *
         * @param resource the SMB resource to test
         * @return whether the given resource should be included
         * @throws CIFSException if an error occurs while accessing the resource
         */
        boolean accept(SmbResource resource) throws CIFSException;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/EmptyIteratorTest.java

            }
        }
    
        @RepeatedTest(5)
        @DisplayName("EmptyIterator should behave consistently across multiple instances")
        void testMultipleInstanceConsistency() {
            // Given & When & Then
            assertDoesNotThrow(() -> {
                try (EmptyIterator iterator1 = new EmptyIterator();
                        EmptyIterator iterator2 = new EmptyIterator();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/concurrent/CommonPoolUtil.java

    public abstract class CommonPoolUtil {
        private static final Logger logger = Logger.getLogger(CommonPoolUtil.class);
    
        protected CommonPoolUtil() {
            // nothing
        }
    
        /**
         * Executes the given task in the common ForkJoinPool.
         *
         * @param task
         *            the task to execute
         */
        public static void execute(final Runnable task) {
            ForkJoinPool.commonPool().execute(() -> {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/impl/NullResponseProcessor.java

        /**
         * Creates a new NullResponseProcessor instance.
         */
        public NullResponseProcessor() {
            super();
        }
    
        /**
         * Processes the given response data.
         * This implementation does nothing.
         *
         * @param responseData the response data to process
         */
        @Override
        public void process(final ResponseData responseData) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/validation/CronExpressionValidator.java

        }
    
        @Override
        public boolean isValid(final String value, final ConstraintValidatorContext context) {
            return determineValid(value);
        }
    
        /**
         * Determines if the given value is a valid cron expression.
         * @param value the value to validate
         * @return true if valid, false otherwise
         */
        protected boolean determineValid(final String value) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/CIFSContext.java

         */
        CIFSContext withGuestCrendentials();
    
        /**
         * Create a child context with specified credentials
         *
         * @param creds the credentials to use
         * @return a child context using using the given credentials
         */
        CIFSContext withCredentials(Credentials creds);
    
        /**
         * Attempt to renew credentials after authentication failure
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/EncodingHelper.java

                throw new IllegalArgumentException("Source and target encodings must not be blank.");
            }
            encodingMap.put(toLowerCase(source), target);
        }
    
        /**
         * Converts the given encoding string to lowercase.
         * @param enc The encoding string.
         * @return The lowercase encoding string.
         */
        protected String toLowerCase(final String enc) {
            return enc.toLowerCase(Locale.ROOT);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/crawler/transformer/FessFileTransformer.java

         *
         * @return the logger instance
         */
        @Override
        public Logger getLogger() {
            return logger;
        }
    
        /**
         * Gets the appropriate extractor for the given response data.
         * Selects an extractor based on the MIME type of the file.
         *
         * @param responseData the response data containing the file to extract
         * @return the extractor instance for processing the file
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/naming/InitialContextUtil.java

            } catch (final NamingException ex) {
                throw new NamingRuntimeException(ex);
            }
        }
    
        /**
         * Retrieves and returns the specified object from the given initial context.
         *
         * @param ctx
         *            The initial context. Must not be {@literal null}.
         * @param jndiName
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top