- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 4,230 for new1 (0.02 sec)
-
guava-tests/test/com/google/common/cache/CacheLoadingTest.java
result.put(key, value); // add extra entries result.put(value, key); } return result; } }; LoadingCache<Object, Object> cache = CacheBuilder.newBuilder().build(loader); Object[] lookupKeys = new Object[] {new Object(), new Object(), new Object()}; Map<Object, Object> result = cache.getAll(asList(lookupKeys));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 85.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/AbstractLoadingCacheTest.java
assertThat(expected).hasCauseThat().isEqualTo(cause); Object newValue = new Object(); valueRef.set(newValue); assertSame(newValue, cache.getUnchecked(new Object())); } public void testGetUnchecked_unchecked() { RuntimeException cause = new RuntimeException(); AtomicReference<Object> valueRef = new AtomicReference<>();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 5K bytes - Viewed (0) -
src/test/java/jcifs/RuntimeCIFSExceptionTest.java
// When/Then assertDoesNotThrow(() -> { RuntimeCIFSException exception = new RuntimeCIFSException((String) null); assertNull(exception.getMessage()); }); assertDoesNotThrow(() -> { RuntimeCIFSException exception = new RuntimeCIFSException(null, new RuntimeException()); assertNull(exception.getMessage()); }); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.2K bytes - Viewed (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) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 15.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
* Ensures writeSetupWireFormat writes subcommand and trailing zero, returning 2. */ @Test void testWriteSetupWireFormat() { // Given Trans2FindNext2 next = new Trans2FindNext2(0x1111, 0, "*"); byte[] dst = new byte[2]; // When int written = next.writeSetupWireFormat(dst, 0); // Then assertEquals(2, written, "Should write 2 bytes");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/ThrowablesTest.java
SomeCheckedException cause = new SomeCheckedException(); SomeChainingException exception = new SomeChainingException(new SomeChainingException(cause)); assertSame(cause, getRootCause(exception)); } public void testGetRootCause_loop() { Exception cause = new Exception(); Exception exception = new Exception(cause); cause.initCause(exception); IllegalArgumentException expected =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 14.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserTimeZoneProcessProviderTest.java
TimeZone newTimeZone = TimeZone.getTimeZone("America/New_York"); TimeZone.setDefault(newTimeZone); // Create new provider instance to pick up the new default FessUserTimeZoneProcessProvider newProvider = new FessUserTimeZoneProcessProvider(); // Execute TimeZone result = newProvider.getRequestedTimeZone(requestManager);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/PurgeLogJobTest.java
throw new RuntimeException("Crawling error"); } }; SearchLogService searchLogService = new SearchLogService() { @Override public void deleteBefore(int days) { throw new RuntimeException("Search error"); } }; JobLogService jobLogService = new JobLogService() { @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 32.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/DictionaryManagerTest.java
final DictionaryManager dictionaryManager = new DictionaryManager(); final SynonymCreator synonymCreator = new SynonymCreator(); final SynonymFile synonymFile = (SynonymFile) synonymCreator.create(file1.getPath(), new Date()); dictionaryManager.store(synonymFile, file1); final DictionaryFile<? extends DictionaryItem>[] synonymFiles = dictionaryManager.getDictionaryFiles();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 2.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CloserTest.java
assertSuppressed( new Suppression(c2, tryException, c2Exception), new Suppression(c1, tryException, c1Exception)); } public void testErrors() throws IOException { Closer closer = new Closer(suppressor); Error c1Exception = new Error(); Error c2Exception = new Error(); Error c3Exception = new Error();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 11.8K bytes - Viewed (0)