- Sort Score
- Num 10 results
- Language All
Results 1501 - 1510 of 6,187 for New (0.06 seconds)
-
src/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java
// Test that constructor works in different thread final CrawlerEngineClient[] clientHolder = new CrawlerEngineClient[1]; final Exception[] exceptionHolder = new Exception[1]; Thread thread = new Thread(() -> { try { clientHolder[0] = new CrawlerEngineClient(); } catch (Exception e) { exceptionHolder[0] = e; } });Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java
void testReadFromDifferentPositions() throws Exception { byte[] buffer = new byte[200]; // Test at various positions in the buffer int[] positions = { 0, 10, 50, 100, 150 }; for (int pos : positions) { when(mockConfig.getPid()).thenReturn(1234); // Mock getPid for each new instance response = new TestSmbComNtTransactionResponse(mockConfig); // Reset response
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 16.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java
int i = 0; for (Entry<E> entry : entries) { elementsBuilder.add(entry.getElement()); cumulativeCounts[i + 1] = cumulativeCounts[i] + entry.getCount(); i++; } return new RegularImmutableSortedMultiset<>( new RegularImmutableSortedSet<E>(elementsBuilder.build(), comparator), cumulativeCounts, 0, entries.size()); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 35.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java
try { ThreadDumpUtil.writeThreadDump(tempFile.toString()); // Read and verify file content List<String> lines = new ArrayList<>(); try (BufferedReader reader = new BufferedReader(new InputStreamReader(new FileInputStream(tempFile.toFile()), Constants.CHARSET_UTF_8))) { String line; while ((line = reader.readLine()) != null) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 15.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/MemoryUtil.java
displaySize = new BigDecimal(size.divide(ONE_PB_BI)).divide(BigDecimal.valueOf(1000)) + "EB"; } else if (size.divide(ONE_PB_BI).compareTo(BigInteger.ZERO) > 0) { displaySize = new BigDecimal(size.divide(ONE_TB_BI)).divide(BigDecimal.valueOf(1000)) + "PB"; } else if (size.divide(ONE_TB_BI).compareTo(BigInteger.ZERO) > 0) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 5.3K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java
ArtifactResolutionResult result = new ArtifactResolutionResult(); result.setOriginatingArtifact(originatingArtifact); if (conflictResolvers == null) { conflictResolvers = Collections.singletonList(defaultConflictResolver); } Map<Object, List<ResolutionNode>> resolvedArtifacts = new LinkedHashMap<>();
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 36.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildStep.java
@Nullable final Lifecycle.Phase phase; final Map<Integer, Map<String, MojoExecution>> mojos = new TreeMap<>(); final Collection<BuildStep> predecessors = new HashSet<>(); final Collection<BuildStep> successors = new HashSet<>(); final AtomicInteger status = new AtomicInteger(); final AtomicBoolean skip = new AtomicBoolean(); volatile Exception exception;Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Apr 30 16:21:08 GMT 2025 - 4.9K bytes - Click Count (0) -
build-tools-internal/src/integTest/java/org/elasticsearch/gradle/internal/SymbolicLinkPreservingTarIT.java
} public void testBZip2TarDoNotPreserveFileTimestamps() throws IOException { runBuild("buildBZip2Tar", false); assertTar(".bz2", BZip2CompressorInputStream::new, false); } public void testGZipTar() throws IOException { runBuild("buildGZipTar", true); assertTar(".gz", GzipCompressorInputStream::new, true); }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 6.6K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/CacheResponse.java
public CacheResponse(File cacheDirectory) throws Exception { int cacheSize = 10 * 1024 * 1024; // 10 MiB Cache cache = new Cache(cacheDirectory, cacheSize); client = new OkHttpClient.Builder() .cache(cache) .build(); } public void run() throws Exception { Request request = new Request.Builder() .url("http://publicobject.com/helloworld.txt") .build(); String response1Body;
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun May 22 01:29:42 GMT 2016 - 2.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/rank/fusion/RankFusionSearcherTest.java
@Test public void test_getNameFromClassName() { final TestSearcher searcher = new TestSearcher(); assertEquals("test", searcher.getName()); } /** * Test getName() removes "Searcher" suffix. */ @Test public void test_getNameRemovesSearcherSuffix() { final CustomSearcher searcher = new CustomSearcher(); assertEquals("custom", searcher.getName()); } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 6.5K bytes - Click Count (0)