Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 341 - 350 of 2,301 for contains (0.25 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava/src/com/google/common/collect/Iterators.java

        while (removeFrom.hasNext()) {
          if (!elementsToRetain.contains(removeFrom.next())) {
            removeFrom.remove();
            result = true;
          }
        }
        return result;
      }
    
      /**
       * Determines whether two iterators contain equal elements in the same order. More specifically,
       * this method returns {@code true} if {@code iterator1} and {@code iterator2} contain the same
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 12:42:11 GMT 2025
    - 51.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java

        @Test
        @DisplayName("happy: toString contains class info and field values")
        void testToStringContainsAllInfo() {
            int fid = 256;
            long lwt = 9876543210L;
            SmbComClose close = new SmbComClose(fid, lwt);
            String s = close.toString();
            assertTrue(s.startsWith("SmbComClose["), "string should start with class name");
            assertTrue(s.contains("fid=" + fid), "string should contain the fid value");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/RegularImmutableMultiset.java

        @Override
        E get(int index) {
          return contents.getKey(index);
        }
    
        @Override
        public boolean contains(@Nullable Object object) {
          return RegularImmutableMultiset.this.contains(object);
        }
    
        @Override
        boolean isPartialView() {
          return true;
        }
    
        @Override
        public int size() {
          return contents.size();
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4K bytes
    - Click Count (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SingletonImmutableSet.java

      @Override
      public int size() {
        return 1;
      }
    
      @Override
      public UnmodifiableIterator<E> iterator() {
        return Iterators.singletonIterator(element);
      }
    
      @Override
      public boolean contains(@Nullable Object object) {
        return element.equals(object);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 01 22:23:20 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/SmbAuthExceptionTest.java

         */
        @Test
        @DisplayName("toString contains class name and message")
        void toString_containsClassAndMessage() {
            // Arrange
            String msg = "login denied";
            SmbAuthException ex = new SmbAuthException(msg);
    
            // Act
            String s = ex.toString();
    
            // Assert
            assertNotNull(s);
            assertTrue(s.contains(SmbAuthException.class.getName()));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/ImmutableRangeSet.java

        int indexOf(@Nullable Object target) {
          if (contains(target)) {
            @SuppressWarnings("unchecked") // if it's contained, it's definitely a C
            C c = (C) requireNonNull(target);
            long total = 0;
            for (Range<C> range : ranges) {
              if (range.contains(c)) {
                return Ints.saturatedCast(total + ContiguousSet.create(range, domain).indexOf(c));
              } else {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 27.4K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/cache/CacheForm.java

    import java.util.HashMap;
    import java.util.Map;
    
    import org.lastaflute.web.validation.Required;
    
    import jakarta.validation.constraints.Size;
    
    /**
     * Form class for cache-related operations.
     * Contains parameters for document caching and error page display.
     */
    public class CacheForm {
    
        /** Document ID for cache operations. */
        @Required
        @Size(max = 100)
        public String docId;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/design/EditForm.java

         * The name of the design file being edited.
         * This specifies which template or design file to modify.
         */
        public String fileName;
    
        /**
         * The content of the design file.
         * This contains the actual template code, CSS, or other design content
         * that will be saved to the specified file.
         */
        public String content;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/IsProbablyUtf8.kt

     * limitations under the License.
     */
    package okhttp3.internal
    
    import java.io.EOFException
    import okio.BufferedSource
    
    /**
     * Returns true if the body in question probably contains human-readable text. Uses a small
     * sample of code points to detect Unicode control characters commonly used in binary file
     * signatures.
     *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Oct 06 22:47:06 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/api/WebApiRequestTest.java

            mockRequest.setServletPath(originalPath);
            // Contains "SAStruts.method" as substring in parameter value
            mockRequest.setQueryString("query=SAStruts.methodTest&page=1");
            webApiRequest = new WebApiRequest(mockRequest, customPath);
    
            // Should return super.getServletPath() since query contains "SAStruts.method" substring
            assertEquals(originalPath, webApiRequest.getServletPath());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.8K bytes
    - Click Count (0)
Back to Top