Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 120 for chunks (1.92 sec)

  1. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

            void testEncodeMultipleChunks() {
                // Given
                SrvCopychunk chunk1 = new SrvCopychunk(100, 200, 300);
                SrvCopychunk chunk2 = new SrvCopychunk(400, 500, 600);
                SrvCopychunk chunk3 = new SrvCopychunk(700, 800, 900);
                SrvCopychunkCopy copy = new SrvCopychunkCopy(sourceKey, chunk1, chunk2, chunk3);
    
                // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

            }
    
            @Test
            @DisplayName("Should handle mismatched chunk and total bytes")
            void testMismatchedValues() throws SMBProtocolDecodingException {
                // This could happen if the last chunk is smaller
                byte[] buffer = createValidCopyChunkResponse(10, // 10 chunks
                        65536, // Last chunk size (not average)
                        589824 // Total less than 10 * 65536
                );
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbCopyUtil.java

                                wsize = byteLimit;
                            }
    
                            int chunks = (int) (wsize / maxChunkSize);
                            int lastChunkSize;
                            if (chunks + 1 > maxChunks) {
                                chunks = maxChunks;
                                lastChunkSize = maxChunkSize;
                            } else {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserTest.java

                    createDefaultReadingConverter(), createDefaultReadingConverter(), createDefaultNormalizer(), analyzer);
    
            assertNotNull(items);
            // Should handle large text by splitting into chunks
            assertTrue(items.size() > 0);
        }
    
        @Test
        public void test_analyzeText() throws Exception {
            SuggestAnalyzer analyzer = suggester.settings().analyzer().new DefaultContentsAnalyzer();
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/NtlmUtilTest.java

            byte[] key7 = Arrays.copyOfRange(key14, 0, 7);
            byte[] data8 = NtlmUtil.S8;
            byte[] out14 = new byte[16];
            byte[] out7 = new byte[8];
    
            // Act
            NtlmUtil.E(key14, data8, out14);
            NtlmUtil.E(key7, data8, out7);
    
            // Assert: first block identical to single-chunk encryption
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (1)
  6. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            byte[] data = new byte[] { 1, 2, 3, 4, 5 };
            InputStream in = new ByteArrayInputStream(concat(messageHeader(5), data));
            SocketInputStream sis = new SocketInputStream(in);
    
            // Read in chunks
            byte[] buffer = new byte[10];
    
            // The read will either:
            // 1. Successfully read all 5 bytes
            // 2. Throw IOException if it tries to read past the message
            try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

                // Given
                SrvCopychunk chunk1 = new SrvCopychunk(100, 200, 300);
                SrvCopychunk chunk2 = new SrvCopychunk(400, 500, 600);
                SrvCopychunk chunk3 = new SrvCopychunk(700, 800, 900);
                byte[] buffer = new byte[EXPECTED_SIZE * 3];
    
                // When
                int offset1 = chunk1.encode(buffer, 0);
                int offset2 = chunk2.encode(buffer, offset1);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/QueryResponseList.java

        public int getAllPageCount() {
            return allPageCount;
        }
    
        /**
         * Checks whether there is a next page available.
         *
         * @return true if a next page exists, false otherwise
         */
        public boolean isExistNextPage() {
            return existNextPage;
        }
    
        /**
         * Checks whether there is a previous page available.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbTransportInternalTest.java

            verify(transport).isSigningOptional();
            verify(transport).isSigningEnforced();
        }
    
        // Error propagation: signing checks may throw SmbException
        @Test
        @DisplayName("signing checks propagate SmbException")
        void signingChecks_throw() throws Exception {
            doThrow(new SmbException("opt error")).when(transport).isSigningOptional();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

        protected long crawlerWaitMillis = 10000;
    
        /** List of interval rules for controlling crawler timing */
        protected List<IntervalRule> ruleList = new ArrayList<>();
    
        /**
         * Checks the crawler status and waits if the crawler is not running.
         * This method blocks until the crawler is running again.
         */
        public void checkCrawlerStatus() {
            while (!crawlerRunning) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Nov 23 12:34:02 UTC 2025
    - 10K bytes
    - Viewed (0)
Back to top