Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1361 - 1370 of 2,388 for Long (0.04 seconds)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc5HttpClient.java

                    if (contentLengthHeader != null) {
                        final String value = contentLengthHeader.getValue();
                        final long contentLength = Long.parseLong(value);
                        if (contentLengthHelper != null) {
                            final long maxLength = contentLengthHelper.getMaxLength("text/plain");
                            if (contentLength > maxLength) {
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sat Jan 31 12:23:29 GMT 2026
    - 62.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/smb1/FileEntryTest.java

        }
    
        @Test
        @DisplayName("Interaction verification with mock")
        void interactionVerification() {
            FileEntry mock = mock(FileEntry.class);
            when(mock.length()).thenReturn(42L);
            long len = mock.length();
            assertEquals(42L, len);
            verify(mock, times(1)).length();
            verifyNoMoreInteractions(mock);
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/primitives/BytesTest.java

        assertThat(dim1 * dim2).isAtLeast(0);
        testConcatOverflow(dim1, dim2);
      }
    
      private static void testConcatOverflow(int arraysDim1, int arraysDim2) {
        assertThat((long) arraysDim1 * arraysDim2).isNotEqualTo((long) (arraysDim1 * arraysDim2));
    
        byte[][] arrays = new byte[arraysDim1][];
        // it's shared to avoid using too much memory in tests
        byte[] sharedArray = new byte[arraysDim2];
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 17.5K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/Lists.java

          checkElementIndex(index, size());
          return (index == 0) ? first : rest[index - 1];
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      /**
       * @see Lists#asList(Object, Object, Object[])
       */
      private static final class TwoPlusArrayList<E extends @Nullable Object> extends AbstractList<E>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 16:38:09 GMT 2026
    - 42.5K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsItem.java

        private String newInput;
    
        /**
         * Constructor for ProtwordsItem.
         * @param id the unique identifier for this item
         * @param input the protected word input
         */
        public ProtwordsItem(final long id, final String input) {
            this.id = id;
            this.input = input;
    
            if (id == 0) {
                // create
                newInput = input;
            }
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/llm/LlmMessage.java

    import java.io.Serializable;
    
    /**
     * Represents a message in a chat conversation.
     *
     * @author FessProject
     */
    public class LlmMessage implements Serializable {
    
        private static final long serialVersionUID = 1L;
    
        /** The role identifier for system messages. */
        public static final String ROLE_SYSTEM = "system";
    
        /** The role identifier for user messages. */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 12 10:32:40 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/ReverseOrdering.java

        }
        return false;
      }
    
      @Override
      public String toString() {
        return forwardOrder + ".reverse()";
      }
    
      @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/exception/ClIllegalArgumentException.java

    /**
     * Exception that wraps {@link IllegalArgumentException}.
     *
     * @author koichik
     */
    public class ClIllegalArgumentException extends IllegalArgumentException {
    
        private static final long serialVersionUID = -3701473506893554853L;
    
        /** Name of the argument that is {@code null} */
        protected final String argName;
    
        /** Message code */
        protected final String messageCode;
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/helper/SearchHelperTest.java

            assertEquals(0, result.length);
        }
    
        @Test
        public void test_gzipCompress_and_gzipDecompress() {
            String testData =
                    "This is test data for compression that should be long enough to actually compress effectively when using gzip compression algorithm";
            byte[] originalBytes = testData.getBytes();
    
            byte[] compressed = searchHelper.gzipCompress(originalBytes);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 19.2K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/opensearch/log/bsentity/BsUserInfo.java

        //                                                                          Definition
        //                                                                          ==========
        private static final long serialVersionUID = 1L;
        protected static final Class<?> suppressUnusedImportLocalDateTime = LocalDateTime.class;
    
        // ===================================================================================
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 4.4K bytes
    - Click Count (0)
Back to Top