- Sort Score
- Result 10 results
- Languages All
Results 721 - 730 of 4,785 for new (0.03 sec)
-
guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java
final AtomicBoolean interruptedExceptionThrown = new AtomicBoolean(); final CountDownLatch enterLatch = new CountDownLatch(1); final CountDownLatch exitLatch = new CountDownLatch(1); final TrustedListenableFutureTask<Integer> task = TrustedListenableFutureTask.create( new Callable<Integer>() { @Override public Integer call() throws Exception {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 7.3K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java
public void testAwaitClear() { final WeakReference<Object> ref = new WeakReference<>(new Object()); GcFinalization.awaitClear(ref); assertNull(ref.get()); } public void testAwaitDone_finalizationPredicate() { final WeakHashMap<Object, Object> map = new WeakHashMap<>(); map.put(new Object(), Boolean.TRUE); GcFinalization.awaitDone( new FinalizationPredicate() { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 7.9K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelWriter.java
Objects.requireNonNull(model, "model cannot be null"); try (Writer out = output) { new MavenStaxWriter().write(out, model); } catch (XMLStreamException e) { throw new IOException(e); } } @Override public void write(OutputStream output, Map<String, Object> options, Model model) throws IOException {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.4K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java
// tweak this to control hit rate @Param("2.5") double concentration; Random random = new Random(); LoadingCache<Integer, Integer> cache; int max; static AtomicLong requests = new AtomicLong(0); static AtomicLong misses = new AtomicLong(0); @BeforeExperiment void setUp() { // random integers will be generated in this range, then raised to the
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapForEachTester.java
public void testForEachKnownOrder() { List<Entry<K, V>> entries = new ArrayList<>(); getMap().forEach((k, v) -> entries.add(entry(k, v))); assertEquals(getOrderedElements(), entries); } @CollectionFeature.Require(absent = KNOWN_ORDER) public void testForEachUnknownOrder() { List<Entry<K, V>> entries = new ArrayList<>(); getMap().forEach((k, v) -> entries.add(entry(k, v)));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 3.4K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java
this.docRoot = docRoot; server = new Server(port); final ResourceHandler resource_handler = new ResourceHandler(); resource_handler.setWelcomeFiles(new String[] { "index.html" }); resource_handler.setResourceBase(docRoot.getAbsolutePath()); Log.info("serving " + resource_handler.getBaseResource()); final HandlerList handlers = new HandlerList();
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 5K bytes - Viewed (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());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 10.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/elevateword/AdminElevatewordAction.java
try (Reader reader = new BufferedReader(new InputStreamReader(form.elevateWordFile.getInputStream(), getCsvEncoding()))) { elevateWordService.importCsv(reader); suggestHelper.deleteAllElevateWord(false); suggestHelper.storeAllElevateWords(false); } catch (final Exception e) { throw new FessSystemException("Failed to import data.", e);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 18.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java
final Class<?> targetClass = target == null ? null : target.getClass(); throw new ClIllegalArgumentException("target", "ECL0098", new Object[] { clazz.getName(), clazz.getClassLoader(), propertyType.getName(), propertyType.getClassLoader(),
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 15.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
switch ( type ) { case EncryptionNegotiateContext.NEGO_CTX_ENC_TYPE: return new EncryptionNegotiateContext(); case PreauthIntegrityNegotiateContext.NEGO_CTX_PREAUTH_TYPE: return new PreauthIntegrityNegotiateContext(); } return null; } /** * {@inheritDoc} *
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Mar 22 10:09:46 UTC 2020 - 17.6K bytes - Viewed (0)