Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 215 for Both (0.01 sec)

  1. src/main/java/org/codelibs/core/lang/ObjectUtil.java

        /**
         * Do not instantiate.
         */
        protected ObjectUtil() {
        }
    
        /**
         * Returns true if the two objects are equal, or both are null.
         *
         * @param object1 the first object
         * @param object2 the second object
         * @return true if equal or both null, false otherwise
         */
        public static boolean equals(final Object object1, final Object object2) {
            if (object1 == object2) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

        }
    
        /**
         * Registers a data store instance with the factory using the specified name.
         * The data store will be accessible by both the provided name and its class simple name,
         * both converted to lowercase for case-insensitive lookup.
         *
         * @param name the name to register the data store under, must not be null
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/transport/TransportExceptionTest.java

        public void testConstructorWithMessageAndCause() {
            // Create exception with both message and cause
            String message = "Transport error occurred";
            IllegalStateException rootCause = new IllegalStateException("State error");
            TransportException exception = new TransportException(message, rootCause);
    
            // Verify both message and cause are set correctly
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/Source.java

         * </ul>
         * <p>
         * The implementation must handle:
         * <ul>
         *   <li>Both forward and back slashes as path separators</li>
         *   <li>Parent directory references (..)</li>
         *   <li>Both file and directory targets</li>
         * </ul>
         *
         * @param relative path to resolve relative to this source
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 29 09:46:53 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java

            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructor_withNullMessageAndCause() {
            // Test constructor with both null message and cause
            FessSystemException exception = new FessSystemException(null, null);
    
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MapDifference.java

       */
      Map<K, V> entriesOnlyOnRight();
    
      /**
       * Returns an unmodifiable map containing the entries that appear in both maps; that is, the
       * intersection of the two maps.
       */
      Map<K, V> entriesInCommon();
    
      /**
       * Returns an unmodifiable map describing keys that appear in both maps, but with different
       * values.
       */
      Map<K, ValueDifference<V>> entriesDiffering();
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/PACDecodingExceptionTest.java

        }
    
        /**
         * Test the constructor with both a message and a cause.
         */
        @Test
        void testMessageAndCauseConstructor() {
            String errorMessage = "This is a test error message.";
            Throwable cause = new RuntimeException("Root cause");
            PACDecodingException e = new PACDecodingException(errorMessage, cause);
            // Expect both the message and the cause to be set correctly
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java

            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructor_withNullMessageAndCause() {
            // Test constructor with both null message and cause
            SsoProcessException exception = new SsoProcessException(null, null);
    
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java

        /**
         * File information class for both names directory information.
         */
        public static final byte FILE_BOTH_DIRECTORY_INFO = 0x03;
    
        /**
         * File information class for file names only.
         */
        public static final byte FILE_NAMES_INFO = 0x0C;
    
        /**
         * File information class for both names with file IDs.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/security/http-basic-auth.md

    ```Python
    if "stanleyjobsox" == "stanleyjobson" and "love123" == "swordfish":
        ...
    ```
    
    Python will have to compare the whole `stanleyjobso` in both `stanleyjobsox` and `stanleyjobson` before realizing that both strings are not the same. So it will take some extra microseconds to reply back "Incorrect username or password".
    
    #### The time to answer helps the attackers { #the-time-to-answer-helps-the-attackers }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 5K bytes
    - Viewed (0)
Back to top