Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 796 for sizi (0.02 sec)

  1. src/test/java/jcifs/internal/fscc/FileInformationTest.java

            when(mockFileInfo.size()).thenReturn(8);
    
            // Test encode
            int encoded = mockFileInfo.encode(dst, 0);
            assertEquals(8, encoded);
    
            // Test size
            int size = mockFileInfo.size();
            assertEquals(8, size);
    
            // Verify interactions
            verify(mockFileInfo).encode(dst, 0);
            verify(mockFileInfo).size();
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

        @DisplayName("Test getSendBufferSize returns standard size")
        void testGetSendBufferSizeStandard() {
            // Arrange
            int expectedSize = 65536;
            when(negotiationResponse.getSendBufferSize()).thenReturn(expectedSize);
    
            // Act
            int size = negotiationResponse.getSendBufferSize();
    
            // Assert
            assertEquals(expectedSize, size);
            verify(negotiationResponse).getSendBufferSize();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

            queue.clear();
        }
    
        /**
         * Sets the scroll size.
         * @param scrollSize The scroll size.
         */
        public void setScrollSize(final int scrollSize) {
            this.scrollSize = scrollSize;
        }
    
        /**
         * Sets the limit of document size.
         * @param limitOfDocumentSize The limit of document size.
         */
        public void setLimitOfDocumentSize(final long limitOfDocumentSize) {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/util/Hexdump.java

         * @return a hexadecimal string representation of the byte array
         */
        public static String toHexString(final byte[] src, final int srcIndex, int size) {
            final char[] c = new char[size];
            size = size % 2 == 0 ? size / 2 : size / 2 + 1;
            for (int i = 0, j = 0; i < size; i++) {
                c[j] = HEX_DIGITS[src[i] >> 4 & 0x0F];
                j++;
                if (j == c.length) {
                    break;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

                assertEquals(2 + (count * 2), encoded);
                // Note: size() returns 4 + count*2, but encode returns 2 + count*2
                // This is an implementation inconsistency in the original code
                assertNotEquals(context.size(), encoded);
                assertEquals(4 + (count * 2), context.size());
            }
    
            @Test
            @DisplayName("Should encode and decode correctly")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

                // Negative values will be cast to unsigned when encoded
                assertEquals(4 + 2 * path.length(), buffer.size());
            }
        }
    
        @Nested
        @DisplayName("Size Calculation Tests")
        class SizeTests {
    
            @ParameterizedTest
            @DisplayName("Should calculate correct size for various path lengths")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/maintenance/ActionForm.java

         */
        @Size(max = 10)
        public String resetDictionaries;
    
        /**
         * The number of shards for doc.
         */
        @Size(max = 10)
        public String numberOfShardsForDoc = ComponentUtil.getFessConfig().getIndexNumberOfShards();
    
        /**
         * The auto expand replicas for doc.
         */
        @Size(max = 10)
        public String autoExpandReplicasForDoc = ComponentUtil.getFessConfig().getIndexAutoExpandReplicas();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/misc/DisposableUtilTest.java

        public void test1() throws Exception {
            DisposableUtil.add(new TestDisposable("a"));
            assertThat(DisposableUtil.disposables.size(), is(1));
            DisposableUtil.dispose();
            assertThat(count, is(1));
            assertThat(names, is("a"));
            assertThat(DisposableUtil.disposables.size(), is(0));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void test2() throws Exception {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/index/writer/SuggestWriterResultTest.java

            assertEquals(0, result.getFailures().size());
        }
    
        @Test
        public void test_addFailure() throws Exception {
            SuggestWriterResult result = new SuggestWriterResult();
    
            Exception exception = new Exception("Test failure");
            result.addFailure(exception);
    
            assertTrue(result.hasFailure());
            assertEquals(1, result.getFailures().size());
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Thu Nov 13 00:40:54 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

            private final long size;
            private final long lastModified;
            private final boolean isDirectory;
            private final long attributes;
            private final long creationTime;
            private final long lastAccessTime;
    
            /**
             * Create file info from name and attributes
             *
             * @param name file name
             * @param size file size
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top