Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 1,161 for site (0.05 sec)

  1. src/test/java/jcifs/util/ByteEncodableTest.java

            // Test with a basic byte array
            byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05 };
            ByteEncodable encodable = new ByteEncodable(data, 1, 3);
    
            // Verify size
            assertEquals(3, encodable.size(), "Size should be equal to the specified length");
        }
    
        @Test
        void testEncodeBasic() {
            // Test basic encoding
            byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05 };
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/HexdumpTest.java

        @DisplayName("Should handle various data sizes")
        void testVariousDataSizes(int size) {
            // Given
            byte[] data = createTestData(size);
    
            // When
            String result = Hexdump.toHexString(data);
    
            // Then
            assertNotNull(result);
            assertFalse(result.isEmpty());
            assertEquals(size * 2, result.length()); // Each byte becomes 2 hex chars
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterService.java

            this.filterCacheExpireAfterWrite = filterCacheExpireAfterWrite;
        }
    
        /**
         * Sets the maximum load size for the cache.
         * @param maxLoadSize The maximum load size.
         */
        public void setMaxLoadSize(final int maxLoadSize) {
            this.maxLoadSize = maxLoadSize;
        }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:40:57 UTC 2025
    - 9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilderTest.java

            assertEquals(1, builder.initialSettings.size());
            assertEquals("value1", builder.initialSettings.get("key1"));
    
            // Test adding multiple settings
            builder.addInitialSettings("key2", 100);
            builder.addInitialSettings("key3", true);
            assertEquals(3, builder.initialSettings.size());
            assertEquals("value1", builder.initialSettings.get("key1"));
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/thumbnail/ThumbnailForm.java

    import jakarta.validation.constraints.Size;
    
    /**
     * Form class for thumbnail request parameters.
     * Contains the document ID and query parameters needed to retrieve thumbnail images.
     */
    public class ThumbnailForm {
    
        /**
         * The document ID for which to retrieve the thumbnail.
         */
        @Required
        @Size(max = 100)
        public String docId;
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/elevateword/CreateForm.java

        @CustomSize(maxKey = "form.admin.max.input.size")
        public String permissions;
    
        /** The boost score multiplier applied to elevated documents */
        @Required
        @ValidateTypeFailure
        public Float boost;
    
        /** The username of who created this elevate word entry */
        @Size(max = 1000)
        public String createdBy;
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            item.readings = readings.toArray(new String[readings.size()][]);
            item.fields = fields.toArray(new String[fields.size()]);
            item.docFreq = docFreq;
            item.queryFreq = queryFreq;
            item.userBoost = userBoost;
            item.tags = tags.toArray(new String[tags.size()]);
            item.roles = roles.toArray(new String[roles.size()]);
            item.languages = languages.toArray(new String[languages.size()]);
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

        }
    
        @Test
        @DisplayName("size should return correct message size")
        void testSize() {
            int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 24;
            // size8 method rounds up to 8-byte boundary
            int expectedAlignedSize = (expectedSize + 7) & ~7;
    
            assertEquals(expectedAlignedSize, request.size());
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/go/GoForm.java

         * This is required and limited to 100 characters.
         */
        @Required
        @Size(max = 100)
        public String docId;
    
        /**
         * Redirect target or return URL parameter.
         * This is required and limited to 10000 characters to accommodate long URLs.
         */
        @Size(max = 10000)
        @Required
        public String rt;
    
        /**
         * Hash value for security or validation purposes.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/storage/StorageClient.java

         *
         * @param objectName the name/path for the object
         * @param inputStream the input stream of data to upload
         * @param size the size of the data in bytes
         * @param contentType the MIME type of the content
         */
        void uploadObject(String objectName, InputStream inputStream, long size, String contentType);
    
        /**
         * Downloads an object from storage.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top