- Sort Score
- Result 10 results
- Languages All
Results 2031 - 2040 of 2,658 for Created (0.06 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java
assertTrue(Thread.currentThread().isInterrupted()); } finally { Thread.interrupted(); } } public void testGetUnchecked_cancelled() { SettableFuture<String> future = SettableFuture.create(); future.cancel(true); assertThrows(CancellationException.class, () -> getUnchecked(future)); } public void testGetUnchecked_executionExceptionChecked() { UncheckedExecutionException expected =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 4.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java
assertTrue(Thread.currentThread().isInterrupted()); } finally { Thread.interrupted(); } } public void testGetUnchecked_cancelled() { SettableFuture<String> future = SettableFuture.create(); future.cancel(true); assertThrows(CancellationException.class, () -> getUnchecked(future)); } public void testGetUnchecked_executionExceptionChecked() { UncheckedExecutionException expected =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 4.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicLongMapBasherTest.java
int nTasks = 3000; int nThreads = 100; final int getsPerTask = 1000; final int deltaRange = 10000; final String key = "key"; final AtomicLongMap<String> map = AtomicLongMap.create(); ExecutorService threadPool = Executors.newFixedThreadPool(nThreads); ArrayList<Future<Long>> futures = new ArrayList<>(); for (int i = 0; i < nTasks; i++) { futures.add( threadPool.submit(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 13 14:28:25 UTC 2024 - 4.2K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/Mojo.java
@Deprecated void setLog(Log log); /** * Furnish access to the standard Maven logging mechanism which is managed in this base class. * * @return a log4j-like logger object which allows plugins to create messages at levels of <code>"debug"</code>, * <code>"info"</code>, <code>"warn"</code>, and <code>"error"</code>. * @deprecated Use SLF4J directly */ @Deprecated Log getLog();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0) -
android/guava/src/com/google/common/io/LineReader.java
private final LineBuffer lineBuf = new LineBuffer() { @Override protected void handleLine(String line, String end) { lines.add(line); } }; /** Creates a new instance that will read lines from the given {@code Readable} object. */ public LineReader(Readable readable) { this.readable = checkNotNull(readable);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 17 14:35:11 UTC 2023 - 3.1K bytes - Viewed (0) -
android/guava/src/com/google/common/math/BigDecimalMath.java
* the least significant bit zero is chosen. (In such cases, both of the nearest representable * values are even integers; this method returns the one that is a multiple of a greater power of * two.) * * @throws ArithmeticException if {@code mode} is {@link RoundingMode#UNNECESSARY} and {@code x} * is not precisely representable as a {@code double} * @since 30.0 */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 23 18:45:50 UTC 2023 - 3.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/SortedSetMultimapTestSuiteBuilder.java
import java.util.Collections; import java.util.EnumSet; import java.util.List; import java.util.Map.Entry; import java.util.Set; import junit.framework.TestSuite; /** * Creates, based on your criteria, a JUnit test suite that exhaustively tests a {@code * SortedSetMultimap} implementation. * * @author Louis Wasserman */ @GwtIncompatible public class SortedSetMultimapTestSuiteBuilder<K, V>
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractIndexedListIterator.java
* #previous()} can retrieve the preceding {@code position} elements. * * @throws IndexOutOfBoundsException if {@code position} is negative or is greater than {@code * size} * @throws IllegalArgumentException if {@code size} is negative */ protected AbstractIndexedListIterator(int size, int position) { checkPositionIndex(position, size);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jul 09 17:31:04 UTC 2021 - 3.2K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorUtils.java
pomArtifact = new DefaultArtifact(artifact.getGroupId(), artifact.getArtifactId(), "pom", artifact.getVersion()); } return pomArtifact; } /** * Creates POM artifact out of passed in artifact by dropping classifier (if exists) and rewriting extension to * "pom". Unconditionally, unlike {@link #toPomArtifact(Artifact)} that does this only for artifacts without * classifiers.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderResult.java
* * @return the children of this result, can be empty but never {@code null} */ @Nonnull List<? extends ModelBuilderResult> getChildren(); /** * Creates a human-readable representation of these errors. */ String toString();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Sat Sep 28 09:03:24 UTC 2024 - 3.2K bytes - Viewed (0)