Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 461 for large (1.63 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TemporaryFileInputStreamTest.java

                assertEquals(-1, stream.read()); // EOF immediately
            }
        }
    
        public void test_largeFile() throws Exception {
            // Create a temporary file with larger data
            File tempFile = File.createTempFile("test-large-", ".tmp");
            byte[] data = new byte[1024];
            for (int i = 0; i < data.length; i++) {
                data[i] = (byte) (i % 256);
            }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapFile.java

         * crawler may only retrieve Sitemaps that were modified since a certain
         * date. This incremental Sitemap fetching mechanism allows for the rapid
         * discovery of new URLs on very large sites.
         */
        private String lastmod;
    
        /**
         * Creates a new SitemapFile instance.
         */
        public SitemapFile() {
            // Default constructor
        }
    
        /*
         * (non-Javadoc)
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.4K bytes
    - Viewed (1)
  3. src/test/java/jcifs/netbios/SessionServicePacketTest.java

            assertEquals(14, totalWritten); // 4 header + 10 trailer
            assertEquals((byte) SessionServicePacket.SESSION_MESSAGE, dst[0]);
        }
    
        @Test
        @DisplayName("writeWireFormat should handle large lengths correctly")
        void testWriteWireFormatLargeLength() {
            packet.type = SessionServicePacket.SESSION_MESSAGE;
            packet.trailerLength = 0x10000; // Length requiring extended bit
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/FileSizeFormatTest.java

        void testFormatRateLargeValues() {
            FileSizeFormat format = new FileSizeFormat();
    
            // Test large but valid rates
            MessageBuilder builder = new DefaultMessageBuilder();
            format.formatRate(builder, 5e12); // 5 TB/s
            assertEquals("5000.0 GB/s", builder.build());
    
            // Test very large rate
            builder = new DefaultMessageBuilder();
            format.formatRate(builder, 1e15); // 1 PB/s
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Benchmarks for various potential implementations of {@code ByteSource.asCharSource(...).read()}.
     */
    // These benchmarks allocate a lot of data so use a large heap
    @VmOptions({"-Xms12g", "-Xmx12g", "-d64"})
    @NullUnmarked
    public class ByteSourceAsCharSourceReadBenchmark {
      enum ReadStrategy {
        TO_BYTE_ARRAY_NEW_STRING {
          @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. internal/s3select/parquet/reader.go

    		// ensure it's UTF8 encoded.
    		value = string(val)
    	case [12]byte:
    		// TODO: This is returned for the parquet INT96 type. We just
    		// treat it same as []byte (but AWS S3 treats it as a large int)
    		// - fix this later.
    		value = string(val[:])
    	case int32:
    		value = int64(val)
    		if logicalType := se.GetLogicalType(); logicalType != nil {
    			if logicalType.IsSetDATE() {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

            testCoverage: TestCoverage,
            parallelization: (Int) -> ParallelizationMethod,
        ): List<SmallSubprojectBucket> {
            // splitIntoBuckets() method expects us to split large element into N elements,
            // but we want to have a single bucket with N batches.
            // As a workaround, we repeat the bucket N times, and deduplicate the result at the end
            val resultIncludingDuplicates =
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Apr 10 15:09:32 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/CartesianList.java

            axesSizeProduct[i] = Math.multiplyExact(axesSizeProduct[i + 1], axes.get(i).size());
          }
        } catch (ArithmeticException e) {
          throw new IllegalArgumentException(
              "Cartesian product too large; must have size at most Integer.MAX_VALUE");
        }
        this.axesSizeProduct = axesSizeProduct;
      }
    
      private int getAxisIndexForProductIndex(int index, int axis) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

        class EdgeCasesTests {
    
            @Test
            @DisplayName("Should handle maximum size arrays")
            void testMaximumSizeArrays() {
                // Test with reasonably large arrays
                int[] largeCiphers = new int[100];
                for (int i = 0; i < 100; i++) {
                    largeCiphers[i] = i;
                }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

                    // Values should be within reasonable range for security flags
                    assertTrue(value <= 0xFFFF, "Constant " + field.getName() + " value seems unusually large");
                }
            }
        }
    
        /**
         * Helper method to check if a number is a power of two
         */
        private boolean isPowerOfTwo(int n) {
            return n > 0 && (n & (n - 1)) == 0;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.5K bytes
    - Viewed (0)
Back to top