Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 811 for sizi (1.6 sec)

  1. src/test/java/org/codelibs/core/io/FileUtilTest.java

            } catch (final IORuntimeException e) {
                assertTrue("Error message should mention file size", e.getMessage().contains("File too large"));
            }
        }
    
        /**
         * Test readBytes with file within size limit
         *
         * @throws Exception
         */
        @Test
        public void testReadBytes_NormalFile() throws Exception {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

            // Test when data length exceeds outputBuffer size
            byte[] buffer = new byte[2000];
            int dataLen = outputBuffer.length + 100; // Exceeds outputBuffer size
    
            SMBProtocolDecodingException exception =
                    assertThrows(SMBProtocolDecodingException.class, () -> response.readDataWireFormat(buffer, 0, dataLen));
    
            assertEquals("Payload exceeds buffer size", exception.getMessage());
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  3. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

        }
    
        /**
         * Sets the polling fetch size.
         * @param pollingFetchSize The polling fetch size.
         */
        public void setPollingFetchSize(final int pollingFetchSize) {
            this.pollingFetchSize = pollingFetchSize;
        }
    
        /**
         * Sets the maximum crawling queue size.
         * @param maxCrawlingQueueSize The maximum crawling queue size.
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:40:57 UTC 2025
    - 16.9K bytes
    - Viewed (1)
  4. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

            }
    
            @Test
            @DisplayName("Should throw exception for invalid structure size")
            void testReadInvalidStructureSize() {
                // Create buffer with invalid structure size
                byte[] buffer = new byte[64];
                SMBUtil.writeInt2(23, buffer, 0); // Invalid size (should be 24)
    
                SMBProtocolDecodingException exception =
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

            int offset = 10;
            int size = 100;
            when(response.verifySignature(buffer, offset, size)).thenReturn(true);
    
            // When
            boolean verified = response.verifySignature(buffer, offset, size);
    
            // Then
            assertTrue(verified);
            verify(response).verifySignature(buffer, offset, size);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java

                assertTrue(result.startsWith("NtlmChallenge[challenge=0x"));
                assertTrue(result.endsWith(",dc=SERVER123]"));
    
                // Hexdump.toHexString with size = length * 2 produces 8 uppercase hex chars
                // The hex should be "010203FF"
                assertTrue(result.contains("010203FF"));
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/cache/CacheForm.java

    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;
    
        /** Highlight query parameters. */
        public String[] hq;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/group/CreateForm.java

    import java.util.Map;
    
    import org.codelibs.fess.app.web.CrudMode;
    import org.lastaflute.web.validation.Required;
    import org.lastaflute.web.validation.theme.conversion.ValidateTypeFailure;
    
    import jakarta.validation.constraints.Size;
    
    /**
     * The create form for Group.
     *
     */
    public class CreateForm {
    
        /**
         * Creates a new CreateForm instance.
         */
        public CreateForm() {
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/pager/GroupPager.java

            this.existNextPage = existNextPage;
        }
    
        /**
         * Gets the number of records to display per page.
         * If the page size is not set or is invalid, returns the default page size.
         *
         * @return the number of records per page
         */
        public int getPageSize() {
            if (pageSize <= 0) {
                pageSize = getDefaultPageSize();
            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java

            int writtenSize = range.encode(dst, 0);
            assertEquals(10, writtenSize, "Range size when not large should be 10");
            // create a new empty range and decode
            LockingAndXRange decoded = new LockingAndXRange(false);
            int decodedSize = decoded.decode(dst, 0, dst.length);
            assertEquals(10, decodedSize, "Decode should return size 10");
            assertEquals(99, decoded.getPid());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
Back to top