- Sort Score
- Num 10 results
- Language All
Results 601 - 610 of 6,205 for new3 (0.02 seconds)
-
src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorConcurrencyTest.java
final int searchersPerThread = 5; final CountDownLatch startLatch = new CountDownLatch(1); final CountDownLatch endLatch = new CountDownLatch(numThreads); final AtomicInteger registeredCount = new AtomicInteger(0); try (RankFusionProcessor processor = new RankFusionProcessor()) { processor.setSearcher(new TestSearcher(100)); processor.init();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 13.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java
for (double x : VALUES) { AtomicDouble a = new AtomicDouble(x); assertBitEquals(x, a.get()); } } /** default constructed initializes to zero */ public void testConstructor2() { AtomicDouble a = new AtomicDouble(); assertBitEquals(0.0, a.get()); } /** get returns the last value set */ public void testGetSet() { AtomicDouble at = new AtomicDouble(1.0); assertBitEquals(1.0, at.get());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 10.6K bytes - Click Count (0) -
src/test/java/jcifs/spnego/SpnegoExceptionTest.java
void testJavaSerialization() throws Exception { // Given SpnegoException original = new SpnegoException("serialize me", new IllegalArgumentException("iaex")); // When byte[] bytes; try (ByteArrayOutputStream bout = new ByteArrayOutputStream(); ObjectOutputStream oout = new ObjectOutputStream(bout)) { oout.writeObject(original); oout.flush();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java
final Thread[] readers = new Thread[readerCount]; final Exception[] exceptions = new Exception[readerCount + 1]; final int[] trueCount = new int[readerCount]; final int[] falseCount = new int[readerCount]; // Start reader threads for (int i = 0; i < readerCount; i++) { final int index = i; readers[i] = new Thread(() -> { try {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.8K bytes - Click Count (1) -
src/test/java/jcifs/MsrpcDfsRootEnumTest.java
netdfs.DfsEnumArray200 arrayWithNulls = new netdfs.DfsEnumArray200(); arrayWithNulls.count = 2; arrayWithNulls.s = new netdfs.DfsInfo200[2]; netdfs.DfsInfo200 entry1 = new netdfs.DfsInfo200(); entry1.dfs_name = null; arrayWithNulls.s[0] = entry1; netdfs.DfsInfo200 entry2 = new netdfs.DfsInfo200(); entry2.dfs_name = "valid_share";
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java
/** * Creates a new, empty {@code ConcurrentHashMultiset} using the default initial capacity, load * factor, and concurrency settings. */ public static <E> ConcurrentHashMultiset<E> create() { return create(new ConcurrentHashMap<>()); } /** * Creates a new {@code ConcurrentHashMultiset} containing the specified elements, using theCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 22.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/GcFinalization.java
* * {@snippet : * final WeakHashMap<Object, Object> map = new WeakHashMap<>(); * map.put(new Object(), Boolean.TRUE); * GcFinalization.awaitDone(new FinalizationPredicate() { * public boolean isDone() { * return map.isEmpty(); * } * }); * } * * <p>Even if your non-test code does not use finalization, you can use this class to test forCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 20:19:19 GMT 2026 - 12.3K bytes - Click Count (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java
*/ protected Map<String, QueueHolder> sessionCache = new ConcurrentHashMap<>(); /** * The number of URLs to fetch when polling. */ protected int pollingFetchSize = 1000; /** * The maximum size of the crawling queue. */ protected int maxCrawlingQueueSize = 100; /** * Creates a new instance of OpenSearchUrlQueueService.Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Nov 20 08:40:57 GMT 2025 - 16.9K bytes - Click Count (1) -
src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java
final Map<String, Object> map = new HashMap<>(); map.put(FieldNames.TEXT, StringUtil.EMPTY); for (int i = 0; i < readings.length; i++) { map.put(FieldNames.READING_PREFIX + i, new String[] {}); } map.put(FieldNames.FIELDS, new String[] {}); map.put(FieldNames.TAGS, new String[] {}); map.put(FieldNames.ROLES, new String[] {});
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 13.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/badword/ApiAdminBadwordAction.java
CommonPoolUtil.execute(() -> { try (Reader reader = new BufferedReader(new InputStreamReader(body.badWordFile.getInputStream(), getCsvEncoding()))) { badWordService.importCsv(reader); suggestHelper.storeAllBadWords(false); } catch (final Exception e) { throw new FessSystemException("Failed to import data.", e); } });
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 10.3K bytes - Click Count (0)