Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 1,869 for contain (0.04 sec)

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

        }
    
        /**
         * Returns true if the string contains the specified substring.
         *
         * @param s1
         *            the string to check
         * @param s2
         *            the substring to find
         * @return true if the string contains the substring, false otherwise
         */
        public static boolean contains(final String s1, final String s2) {
            if (isEmpty(s1)) {
    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/primitives/Doubles.java

       *
       * <p><b>Java 21+ users:</b> Use {@code Math.clamp} instead.
       *
       * @param value the {@code double} value to constrain
       * @param min the lower bound (inclusive) of the range to constrain {@code value} to
       * @param max the upper bound (inclusive) of the range to constrain {@code value} to
       * @throws IllegalArgumentException if {@code min > max}
       * @since 21.0
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/BiMap.java

       * @param value the value to be associated with the specified key
       * @return the value that was previously associated with the key, or {@code null} if there was no
       *     previous entry. (If the bimap contains null values, then {@code forcePut}, like {@code
       *     put}, returns {@code null} both if the key is absent and if it is present with a null
       *     value.)
       */
      @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsTester.java

      public void testContains_yes() {
        assertTrue("contains(present) should return true", collection.contains(e0()));
      }
    
      public void testContains_no() {
        assertFalse("contains(notPresent) should return false", collection.contains(e3()));
      }
    
      @CollectionFeature.Require(ALLOWS_NULL_QUERIES)
      public void testContains_nullNotContainedButQueriesSupported() {
        assertFalse("contains(null) should return false", collection.contains(null));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/CharMatcherTest.java

          assertFalse(positive.contains(Character.valueOf((char) c)) ^ m.matches((char) c));
        }
      }
    
      static char[] randomChars(Random rand, int size) {
        Set<Character> chars = new HashSet<>(size);
        for (int i = 0; i < size; i++) {
          char c;
          do {
            c = (char) rand.nextInt(Character.MAX_VALUE - Character.MIN_VALUE + 1);
          } while (chars.contains(c));
          chars.add(c);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

            confPath = ResourceUtil.getConfPath("dir1", "dir2", "file.conf");
            assertNotNull(confPath);
            assertTrue(confPath.toString().contains("dir1"));
            assertTrue(confPath.toString().contains("dir2"));
            assertTrue(confPath.toString().contains("file.conf"));
        }
    
        public void test_getConfOrClassesPath() {
            // Test behavior when resource is not found
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

                assertNotNull(result);
                assertTrue(result.contains("TransportException"));
                assertTrue(result.contains(message));
                assertTrue(result.contains("\n"));
                assertTrue(result.contains("IllegalArgumentException"));
                assertTrue(result.contains(rootMessage));
                assertTrue(result.contains("at ")); // Stack trace indicator
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. cmd/sts-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrSTSTooManyIntermediateCAs: {
    		Code:           "TooManyIntermediateCAs",
    		Description:    "The provided client certificate contains too many intermediate CA certificates",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrSTSNotInitialized: {
    		Code:           "STSNotInitialized",
    		Description:    "STS API not initialized, please try again.",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Feb 05 00:29:41 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            } catch (SMBProtocolDecodingException e) {
                // If exception thrown, validation is working
                assertTrue(e.getMessage().contains("Invalid negotiate context data length") || e.getMessage().contains("Buffer too small")
                        || e.getMessage().contains("negotiate context"), "Validation detected issue: " + e.getMessage());
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/collection/SLinkedList.java

         */
        public boolean isEmpty() {
            return size == 0;
        }
    
        /**
         * Checks if an element is contained in the list.
         *
         * @param element the element
         * @return true if the element is contained in the list, false otherwise
         */
        public boolean contains(final E element) {
            return indexOf(element) != -1;
        }
    
        /**
         * Removes an element from the list.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 10.5K bytes
    - Viewed (0)
Back to top