Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 449 for 15000 (0.09 sec)

  1. src/test/java/org/codelibs/fess/util/ParameterUtilTest.java

            // Test with large input
            StringBuilder largeInput = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                largeInput.append("key").append(i).append("=value").append(i).append("\n");
            }
    
            Map<String, String> result = ParameterUtil.parse(largeInput.toString());
            assertEquals(1000, result.size());
            assertEquals("value500", result.get("key500"));
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/ServerResponseValidatorTest.java

            validator.validatePath(""); // Empty should be allowed
        }
    
        @Test
        public void testPathTooLong() throws Exception {
            String longPath = "\\share" + "\\folder".repeat(5000);
            assertThrows(SmbException.class, () -> {
                validator.validatePath(longPath);
            });
        }
    
        @Test
        public void testPathWithTraversal() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

     * SuggestSettings settings = // Obtain SuggestSettings
     * String indexName = "your_index_name";
     *
     * ESSourceReader reader = new ESSourceReader(client, settings, indexName);
     * reader.setScrollSize(1000); // Set the scroll size
     * reader.setLimitOfDocumentSize(1024 * 1024); // Limit document size to 1MB
     * reader.setQuery(QueryBuilders.termQuery("field", "value")); // Set a query
     *
     * Map<String, Object> document;
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 11K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt

        serverIpv4.close()
        serverIpv6.enqueue(
          MockResponse(body = "hello from IPv6"),
        )
    
        client =
          client
            .newBuilder()
            .fastFallback(false)
            .callTimeout(1_000, TimeUnit.MILLISECONDS)
            .build()
        val call = client.newCall(Request(url))
        assertFailsWith<IOException> {
          call.execute()
        }.also { expected ->
          assertThat(expected).hasMessage("timeout")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

            @Test
            @DisplayName("Should handle negative offset in verify method")
            void testVerifyNegativeOffset() {
                byte[] data = new byte[128];
                boolean result = digest.verify(data, -1, 100, 0, response);
                assertFalse(result, "Should return false for negative offset");
            }
    
            @Test
            @DisplayName("Should handle negative length in verify method")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

                buffer = new DfsReferralRequestBuffer(path, 3);
    
                byte[] dst = new byte[buffer.size()];
    
                // Perform many rapid encodes
                for (int i = 0; i < 10000; i++) {
                    int bytesEncoded = buffer.encode(dst, 0);
                    assertEquals(buffer.size(), bytesEncoded);
                }
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  7. cmd/object-api-utils_test.go

    		}
    	}
    }
    
    func BenchmarkGetPartFileWithTrie(b *testing.B) {
    	b.ResetTimer()
    
    	entriesTrie := trie.NewTrie()
    	for i := 1; i <= 10000; i++ {
    		entriesTrie.Insert(fmt.Sprintf("%.5d.8a034f82cb9cb31140d87d3ce2a9ede3.67108864", i))
    	}
    
    	for i := 1; i <= 10000; i++ {
    		partFile := getPartFile(entriesTrie, i, "8a034f82cb9cb31140d87d3ce2a9ede3")
    		if partFile == "" {
    			b.Fatal("partFile returned is empty")
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String url = (String) dataMap.get(fessConfig.getIndexFieldUrl());
            final StringBuilder buf = new StringBuilder(1000);
    
            @SuppressWarnings("unchecked")
            final List<String> roleTypeList = (List<String>) dataMap.get(fessConfig.getIndexFieldRole());
            buf.append(url);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

         * Maps session+parent URL keys to their corresponding character encodings.
         */
        Map<String, String> parentEncodingMap = Collections.synchronizedMap(new LruHashMap<>(1000));
    
        /**
         * Gets the Fess configuration instance.
         *
         * @return the Fess configuration object
         */
        FessConfig getFessConfig();
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java

            requestBody.put("user_agent", "Mozilla/5.0");
            requestBody.put("depth", 1);
            requestBody.put("num_of_thread", 1);
            requestBody.put("interval_time", 1000);
            requestBody.put("boost", 100);
            requestBody.put("available", true);
            requestBody.put("sort_order", 0);
            createWebConfig(requestBody);
        }
    
        private static void createJob() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9.1K bytes
    - Viewed (0)
Back to top