Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 561 - 570 of 681 for 1004 (0.02 seconds)

  1. src/test/java/org/codelibs/fess/crawler/serializer/DataSerializerTest.java

        /**
         * Test serialization with large data
         */
        @Test
        public void test_serializeDeserialize_largeData() {
            List<String> original = new ArrayList<>();
            for (int i = 0; i < 1000; i++) {
                original.add("Item number " + i);
            }
    
            byte[] serialized = serializer.fromObjectToBinary(original);
            assertNotNull(serialized, "Serialized data should not be null");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.6K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

            systemHelper.processingTime = 100L;
    
            DataStoreParams paramMap = new DataStoreParams();
            Map<String, Object> dataMap = new HashMap<>();
            dataMap.put("url", "http://example.com/test");
    
            indexUpdateCallback.store(paramMap, dataMap);
            assertEquals(100L, indexUpdateCallback.getExecuteTime());
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.7K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/primitives/BytesTest.java

        testRotate(new byte[] {1, 2, 3, 4, 5}, 6, new byte[] {5, 1, 2, 3, 4});
      }
    
      public void testRotateIndexed() {
        testRotate(new byte[] {}, 0, 0, 0, new byte[] {});
    
        testRotate(new byte[] {1}, 0, 0, 1, new byte[] {1});
        testRotate(new byte[] {1}, 1, 0, 1, new byte[] {1});
        testRotate(new byte[] {1}, 1, 1, 1, new byte[] {1});
    
        // Rotate the central 5 elements, leaving the ends as-is
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 17.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImplTest.java

            };
    
            FileListIndexUpdateCallbackImpl callback = new FileListIndexUpdateCallbackImpl(mockCallback, null, 1);
            callback.setMaxDeleteDocumentCacheSize(1000);
    
            final int threadCount = 10;
            final int urlsPerThread = 100;
            final Thread[] threads = new Thread[threadCount];
            final Exception[] exceptions = new Exception[threadCount];
    
            // Multiple threads add URLs to deleteUrlList
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 19.7K bytes
    - Click Count (0)
  5. build-logic/cleanup/src/test/groovy/gradlebuild/cleanup/services/LeakingProcessKillPatternTest.groovy

            !(line =~ KillLeakingJavaProcesses.generateLeakingProcessKillPattern(projectDir)).find()
        }
    
        def "matches kotlin compiler on linux"() {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jul 12 03:42:46 GMT 2024
    - 14.8K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java

            if (StringUtil.isBlank(configName)) {
                configName = StringUtils.abbreviate(configPath, 30);
            }
    
            // normalize
            final StringBuilder buf = new StringBuilder(1000);
            for (int i = 0; i < configPath.length(); i++) {
                final char c = configPath.charAt(i);
                if (c == '\\') {
                    buf.append('/');
                } else if (c == ' ') {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 10 02:14:37 GMT 2026
    - 16.4K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

        assertThat(readJournalLines()).isEqualTo(
          listOf(DiskLruCache.MAGIC, DiskLruCache.VERSION_1, "100", "2", "") + expectedBodyLines,
        )
      }
    
      private fun createJournal(vararg bodyLines: String) {
        createJournalWithHeader(
          DiskLruCache.MAGIC,
          DiskLruCache.VERSION_1,
          "100",
          "2",
          "",
          *bodyLines,
        )
      }
    
      private fun createJournalWithHeader(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 59.4K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

       */
      public void testBuilder_bruteForce() {
        for (int i = 0; i < reduceIterationsIfGwt(100); i++) {
          ImmutableLongArray.Builder builder = ImmutableLongArray.builder(random.nextInt(20));
          AtomicLong counter = new AtomicLong(0);
          while (counter.get() < 1000) {
            BuilderOp op = BuilderOp.randomOp();
            op.doIt(builder, counter);
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

       */
      public void testBuilder_bruteForce() {
        for (int i = 0; i < reduceIterationsIfGwt(100); i++) {
          ImmutableIntArray.Builder builder = ImmutableIntArray.builder(random.nextInt(20));
          AtomicInteger counter = new AtomicInteger(0);
          while (counter.get() < 1000) {
            BuilderOp op = BuilderOp.randomOp();
            op.doIt(builder, counter);
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/query/QueryFieldConfigSetBasedLookupTest.java

         */
        @Test
        public void test_lookupPerformance_SetFasterThanArray() {
            // Create a large array of fields
            int fieldCount = 1000;
            String[] fields = new String[fieldCount];
            for (int i = 0; i < fieldCount; i++) {
                fields[i] = "field" + i;
            }
            queryFieldConfig.setSortFields(fields);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 19.4K bytes
    - Click Count (0)
Back to Top