- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 142 for Peal (0.46 sec)
-
guava-tests/test/com/google/common/cache/EmptyCachesTest.java
import java.util.Collection; import java.util.Map.Entry; import java.util.Set; import java.util.concurrent.ExecutionException; import junit.framework.TestCase; /** * {@link LoadingCache} tests that deal with empty caches. * * @author mike nonemacher */ public class EmptyCachesTest extends TestCase { public void testEmpty() { for (LoadingCache<Object, Object> cache : caches()) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 11.5K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Floats.java
*/ public static int compare(float a, float b) { return Float.compare(a, b); } /** * Returns {@code true} if {@code value} represents a real number. This is equivalent to, but not * necessarily implemented as, {@code !(Float.isInfinite(value) || Float.isNaN(value))}. * * <p><b>Java 8+ users:</b> use {@link Float#isFinite(float)} instead. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 29 15:43:06 GMT 2024 - 25.2K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CharStreams.java
// The most common case is that from is a Reader (like InputStreamReader or StringReader) so // take advantage of that. if (from instanceof Reader) { // optimize for common output types which are optimized to deal with char[] if (to instanceof StringBuilder) { return copyReaderToBuilder((Reader) from, (StringBuilder) to); } else { return copyReaderToWriter((Reader) from, asWriter(to)); } }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed May 17 14:35:11 GMT 2023 - 10.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TreeMultisetTest.java
import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.checkerframework.checker.nullness.qual.Nullable; /** * Unit test for {@link TreeMultiset}. * * @author Neal Kanodia */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault public class TreeMultisetTest extends TestCase { @J2ktIncompatible @GwtIncompatible // suite public static Test suite() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 12.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
import java.util.Collection; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import junit.framework.TestCase; /** * {@link LoadingCache} tests that deal with caches that actually contain some key-value mappings. * * @author mike nonemacher */ public class PopulatedCachesTest extends TestCase {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 15K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/OrderingTest.java
List<T> list = Arrays.asList(strictlyOrderedElements); // for use calling Collection.toArray later T[] emptyArray = Platform.newArray(strictlyOrderedElements, 0); // shoot me, but I didn't want to deal with wildcards through the whole test @SuppressWarnings("unchecked") Scenario<T> starter = new Scenario<>((Ordering<T>) ordering, list, emptyArray); verifyScenario(starter, 0); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 42.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/OrderingTest.java
List<T> list = Arrays.asList(strictlyOrderedElements); // for use calling Collection.toArray later T[] emptyArray = Platform.newArray(strictlyOrderedElements, 0); // shoot me, but I didn't want to deal with wildcards through the whole test @SuppressWarnings("unchecked") Scenario<T> starter = new Scenario<>((Ordering<T>) ordering, list, emptyArray); verifyScenario(starter, 0); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 42.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
// It's a weird formula, but tests prove it works. int adjust = size() - 1; for (int i = 0; i < axes.size(); i++) { adjust *= 31; adjust = ~~adjust; // in GWT, we have to deal with integer overflow carefully } int hash = 1; for (Set<E> axis : axes) { hash = 31 * hash + (size() / axis.size() * axis.hashCode()); hash = ~~hash; }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 77.2K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Verify.java
* except that they are always enabled. These methods should be used instead of Java assertions * whenever there is a chance the check may fail "in real life". Example: * * <pre>{@code * Bill bill = remoteService.getLastUnpaidBill(); * * // In case bug 12345 happens again we'd rather just die * Verify.verify(bill.status() == Status.UNPAID,
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon May 17 14:07:47 GMT 2021 - 18.5K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java
String remotePath = repository.pathOfRemoteRepositoryMetadata(metadata); getRemoteFile(repository, destination, remotePath, null, checksumPolicy, true); } /** * Deal with connecting to a wagon repository taking into account authentication and proxies. * * @param wagon * @param repository * * @throws ConnectionException
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Thu Sep 14 11:48:15 GMT 2023 - 29.9K bytes - Viewed (0)