Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 214 for 1000KB (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. benchmarks/src/main/java/org/elasticsearch/benchmark/search/aggregations/TermsReduceBenchmark.java

                    } else {
                        subAggs = InternalAggregations.EMPTY;
                    }
                    buckets.add(new StringTerms.Bucket(term, rand.nextInt(10000), subAggs, true, 0L, DocValueFormat.RAW));
                }
    
                Collections.sort(buckets, (a, b) -> a.compareKey(b));
                return new StringTerms(
                    "terms",
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Aug 20 15:45:38 GMT 2021
    - 8.1K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java

            }
            assertTrue(foundTestMethod);
        }
    
        @Test
        public void test_throwAndCatch() {
            // Test throwing and catching the exception
            String expectedMessage = "Offset limit exceeded: 10000";
    
            try {
                throw new ResultOffsetExceededException(expectedMessage);
            } catch (ResultOffsetExceededException e) {
                assertEquals(expectedMessage, e.getMessage());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java

            }
        }
    
        // Test getTimeAdjustTimeMillisAsLong values
        @Test
        public void test_getTimeAdjustTimeMillisAsLong_values() {
            Long[] testValues = { 0L, 1L, -1L, 1000L, -1000L, 60000L, -60000L, 3600000L, -3600000L, Long.MAX_VALUE, Long.MIN_VALUE };
    
            for (Long value : testValues) {
                FessConfig testConfig = new FessConfig.SimpleImpl() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.8K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

            assertEquals(2, conservativePolicy.getMaxAttempts());
            assertEquals(2000, conservativePolicy.getInitialDelayMs());
            assertEquals(10000, conservativePolicy.getMaxDelayMs());
            assertEquals(3.0, conservativePolicy.getBackoffMultiplier());
            assertTrue(conservativePolicy.isExponentialBackoff());
    
            // NO_RETRY policy
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.1K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

      public void testSetFuture_stackOverflow() {
        SettableFuture<String> orig = SettableFuture.create();
        SettableFuture<String> prev = orig;
        for (int i = 0; i < 100000; i++) {
          SettableFuture<String> curr = SettableFuture.create();
          prev.setFuture(curr);
          prev = curr;
        }
        // prev represents the 'innermost' future
        prev.set("done");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 45.2K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/curl/CurlResponseTest.java

        }
    
        @Test
        public void test_GetContentAsString_LargeContent() {
            // ## Arrange ##
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < 10000; i++) {
                sb.append("Line ").append(i).append(": This is a test line with some content.\n");
            }
            String content = sb.toString();
            CurlResponse response = new CurlResponse();
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 17.7K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/io/ByteSourceTest.java

        }
        suite.addTestSuite(ByteSourceTest.class);
        return suite;
      }
    
      private static final byte[] bytes = newPreFilledByteArray(10000);
    
      private TestByteSource source;
    
      @Override
      protected void setUp() throws Exception {
        source = new TestByteSource(bytes);
      }
    
      public void testOpenBufferedStream() throws IOException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

                Long expiration = System.currentTimeMillis() + 10000L;
                echoResponse.setExpiration(expiration);
    
                assertEquals(expiration, echoResponse.getExpiration());
            }
    
            @Test
            @DisplayName("Should handle null expiration")
            void testNullExpiration() {
                Long expiration = 1000L;
                echoResponse.setExpiration(expiration);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

            }
    
            @Test
            @DisplayName("Should decode efficiently for large buffers")
            void testLargeBufferDecoding() throws SMBProtocolDecodingException {
                byte[] largeBuffer = new byte[10000];
                FileFsSizeInformation info = new FileFsSizeInformation();
    
                long startTime = System.nanoTime();
                info.decode(largeBuffer, 0, 24);
                long endTime = System.nanoTime();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java

        private FileBasicInfo fileBasicInfo;
    
        // Use Unix timestamps (milliseconds since 1970) for test values
        private static final long TEST_CREATE_TIME = System.currentTimeMillis() - 10000;
        private static final long TEST_LAST_ACCESS_TIME = System.currentTimeMillis() - 8000;
        private static final long TEST_LAST_WRITE_TIME = System.currentTimeMillis() - 6000;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13K bytes
    - Click Count (0)
Back to Top