Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 521 - 530 of 2,686 for Size (0.02 seconds)

  1. compat/maven-model/src/test/java/org/apache/maven/model/ModelTest.java

            model.addProperty("key1", "value1");
            model.addProperty("key2", "value2");
            assertEquals(2, model.getProperties().size());
    
            // This should not throw NullPointerException
            model.getProperties().clear();
            assertEquals(0, model.getProperties().size());
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 08:09:30 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/MessageDeflaterInflaterTest.kt

        val inflater = MessageInflater(false)
    
        val goldenValue = "Hello deflate!".repeat(100).encodeUtf8()
    
        val deflated = deflater.deflate(goldenValue)
        assertThat(deflated.size).isLessThan(goldenValue.size)
        val inflated = inflater.inflate(deflated)
    
        assertThat(inflated).isEqualTo(goldenValue)
      }
    
      @Test fun `inflate deflate empty message`() {
        val deflater = MessageDeflater(false)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Sep 21 06:26:07 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/suggest/index/SuggestIndexResponseTest.java

            assertEquals(100, response.getTook());
            assertFalse(response.hasError());
            assertNotNull(response.getErrors());
            assertEquals(0, response.getErrors().size());
        }
    
        @Test
        public void test_constructorWithErrors() throws Exception {
            List<Throwable> errors = new ArrayList<>();
            errors.add(new Exception("Test error 1"));
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Thu Nov 13 00:40:54 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientCreator.java

                } else {
                    logger.info("{} is not available.", componentName);
                }
            }
        }
    
        /**
         * Sets the maximum client factory size.
         * @param maxClientFactorySize The maximum size.
         */
        public void setMaxClientFactorySize(final int maxClientFactorySize) {
            if (maxClientFactorySize <= 0) {
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/rdma/RdmaBufferManager.java

                }
            }
    
            log.info("Initialized RDMA buffer pool with {} send and {} receive buffers", availableSendRegions.size(),
                    availableReceiveRegions.size());
        }
    
        /**
         * Get a send region from the pool or allocate a new one
         *
         * @param minSize minimum required size
         * @return memory region for sending
         * @throws IOException if allocation fails
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/pager/FailureUrlPager.java

         * If not set or invalid, returns the default page size.
         *
         * @return the page size
         */
        public int getPageSize() {
            if (pageSize <= 0) {
                pageSize = getDefaultPageSize();
            }
            return pageSize;
        }
    
        /**
         * Sets the number of records per page.
         *
         * @param pageSize the page size
         */
        public void setPageSize(final int pageSize) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/boostdoc/CreateForm.java

        @ValidateTypeFailure
        public Integer crudMode;
    
        /** URL expression pattern to match documents for boosting */
        @Required
        @Size(max = 10000)
        public String urlExpr;
    
        /** Boost expression to apply to matching documents */
        @Required
        @Size(max = 10000)
        public String boostExpr;
    
        /** Sort order for displaying boost configurations */
        @Required
        @Min(value = 0)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  8. guava/src/com/google/common/base/Joiner.java

         */
        if (parts instanceof List) {
          int size = ((List<?>) parts).size();
          if (size == 0) {
            return "";
          }
          CharSequence[] toJoin = new CharSequence[size];
          int i = 0;
          for (Object part : parts) {
            if (i == toJoin.length) {
              /*
               * We first initialized toJoin to the size of the input collection. However, that size can
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 15:16:19 GMT 2025
    - 21K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

            void testVariousFileSizes(long size, long expectedSize) throws SMBProtocolDecodingException {
                // Given
                byte[] buffer = new byte[60];
                SMBUtil.writeInt2(60, buffer, 0);
                SMBUtil.writeInt8(size * 2, buffer, 40); // Allocation size
                SMBUtil.writeInt8(size, buffer, 48); // End of file
    
                // When
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 26.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/pager/FileAuthPager.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;
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7K bytes
    - Click Count (0)
Back to Top