Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,592 for sizi (0.1 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

      public void testSubList_size() {
        List<E> list = getList();
        int size = getNumElements();
        assertEquals(size, list.subList(0, size).size());
        assertEquals(size - 1, list.subList(0, size - 1).size());
        assertEquals(size - 1, list.subList(1, size).size());
        assertEquals(0, list.subList(size, size).size());
        assertEquals(0, list.subList(0, 0).size());
      }
    
      @CollectionSize.Require(absent = {ZERO})
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/pager/FileConfigPager.java

            this.existNextPage = existNextPage;
        }
    
        /**
         * Gets the number of records per page.
         * If page size is not set or is invalid, returns the default page size.
         *
         * @return the page size
         */
        public int getPageSize() {
            if (pageSize <= 0) {
                pageSize = getDefaultPageSize();
            }
            return pageSize;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/nio/ChannelUtil.java

                return channel.map(mode, 0, channel.size());
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Returns the size of the file.
         *
         * @param channel
         *            The file channel. Must not be {@literal null}.
         * @return The size of the file.
         */
        public static long size(final FileChannel channel) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java

         * @see jcifs.internal.CommonServerMessageBlockRequest#size()
         */
        @Override
        public int size() {
            final int size = Smb2Constants.SMB2_HEADER_LENGTH + 56;
            int dataLength = 0;
            if (this.inputData != null) {
                dataLength += this.inputData.size();
            }
            if (this.outputData != null) {
                dataLength += this.outputData.size();
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/MemoryUtil.java

         * Converts byte count to human-readable size format.
         *
         * @param size the size in bytes
         * @return formatted size string
         */
        public static String byteCountToDisplaySize(final long size) {
            return byteCountToDisplaySize(BigInteger.valueOf(size));
        }
    
        private static String byteCountToDisplaySize(final BigInteger size) {
            Objects.requireNonNull(size, "size");
            final String displaySize;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/pager/DataConfigPager.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 page size
         */
        public int getPageSize() {
            if (pageSize <= 0) {
                pageSize = getDefaultPageSize();
            }
            return pageSize;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/plugin/InstallBody.java

    import org.lastaflute.web.validation.Required;
    
    import jakarta.validation.constraints.Size;
    
    /**
     * Request body for plugin installation API.
     * This class represents the data structure for installing a plugin
     * through the admin REST API.
     */
    public class InstallBody {
        /** Name of the plugin to install (required, max 100 characters) */
        @Required
        @Size(max = 100)
        public String name;
    
        /**
         * Default constructor.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  8. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  9. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java

            profileManager.addProfile(notActivated);
            profileManager.addProfile(defaultActivated);
    
            List active = profileManager.getActiveProfiles();
    
            assertNotNull(active);
            assertEquals(1, active.size());
            assertEquals("defaultActivated", ((Profile) active.get(0)).getId());
        }
    
        @Test
        void testShouldNotActivateDefaultProfile() throws Exception {
            Profile syspropActivated = new Profile();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun Mar 30 23:08:36 UTC 2025
    - 6.4K bytes
    - Viewed (0)
Back to top