Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 559 for BOTH (0.01 sec)

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

            if (isEmpty(s1)) {
                return false;
            }
            return s1.indexOf(s2) >= 0;
        }
    
        /**
         * Returns whether two strings are equal. If both are null, returns <code>true</code>.
         *
         * @param target1
         *            the first string
         * @param target2
         *            the second string
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/eventbus/SubscriberRegistry.java

             * prefer to propagate an IllegalArgumentException to the caller. However, we don't want to
             * simply rethrow an exception (e.getCause()) that may in rare cases have come from another
             * thread. To accomplish both goals, we wrap that IllegalArgumentException in a new
             * instance.
             */
            throw new IllegalArgumentException(e.getCause().getMessage(), e.getCause());
          }
          /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  3. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlService.java

         * @param recessive the recessive (lower priority) XML node
         * @param childMergeOverride optional override for the child merge mode
         * @return the merged XML node, or null if both inputs are null
         */
        protected abstract XmlNode doMerge(XmlNode dominant, XmlNode recessive, Boolean childMergeOverride);
    
        /**
         * Gets the singleton instance of the XmlService.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java

            // Decode into second instance
            FileInternalInfo secondInstance = new FileInternalInfo();
            secondInstance.decode(encodedBuffer, 0, encodedBuffer.length);
    
            // Verify both instances have same values
            assertEquals(firstInstance.getIndexNumber(), secondInstance.getIndexNumber());
            assertEquals(expectedIndexNumber, secondInstance.getIndexNumber());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

        @Test
        @DisplayName("Test equals method with null netName")
        void testEqualsWithNullNetName() {
            SmbShareInfo info1 = new SmbShareInfo();
            SmbShareInfo info2 = new SmbShareInfo();
    
            // Both have null netName
            assertTrue(info1.equals(info2));
    
            SmbShareInfo info3 = new SmbShareInfo(TEST_NET_NAME, 0, TEST_REMARK);
            // One null, one non-null
            assertFalse(info1.equals(info3));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/ntlmssp/Type1MessageTest.java

            // Then
            // Unicode flag is passed explicitly, so it should be set
            assertTrue((unicodeType1.getFlags() & NtlmFlags.NTLMSSP_NEGOTIATE_UNICODE) != 0);
            // Default is OEM, so both flags are set due to OR operation
            assertTrue((unicodeType1.getFlags() & NtlmFlags.NTLMSSP_NEGOTIATE_OEM) != 0);
    
            // OEM flag is default when isUseUnicode() is false
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java

            String result1 = purgeDocJob.execute();
    
            // Reset the flag
            deleteByQueryCalled = false;
    
            String result2 = purgeDocJob.execute();
    
            // Assert both executions were successful
            assertEquals("", result1);
            assertEquals("", result2);
            assertTrue(deleteByQueryCalled);
        }
    
        public void test_execute_withEmptyIndexName() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  8. docs/en/docs/python-types.md

    {!> ../../docs_src/python_types/tutorial008b_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="1  4"
    {!> ../../docs_src/python_types/tutorial008b.py!}
    ```
    
    ////
    
    In both cases this means that `item` could be an `int` or a `str`.
    
    #### Possibly `None` { #possibly-none }
    
    You can declare that a value could have a type, like `str`, but that it could also be `None`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

       *
       * <ul>
       *   <li>normalNormal: two params, neither is Nullable
       *   <li>nullableNormal: only first param is Nullable
       *   <li>normalNullable: only second param is Nullable
       *   <li>nullableNullable: both params are Nullable
       * </ul>
       */
      public static class TwoArg {
        /** Action to take on a null param. */
        public enum Action {
          THROW_A_NPE {
            @Override
            public void act() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 47.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java

    /**
     * Helper class for managing related content configurations.
     * This class provides functionality to load, cache, and retrieve related content
     * based on search queries and virtual host configurations. It supports both exact
     * term matching and regex pattern matching for flexible content association.
     */
    public class RelatedContentHelper extends AbstractConfigHelper {
    
        /**
         * Default constructor for RelatedContentHelper.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.2K bytes
    - Viewed (0)
Back to top