- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 51 for Live (0.12 sec)
-
android/guava-tests/benchmark/com/google/common/base/ObjectsBenchmark.java
private static final Integer I0 = -45; private static final Integer I1 = -1; private static final Integer I2 = 3; private static final String S0 = "3"; private static final String S1 = "Ninety five"; private static final String S2 = "44 one million"; private static final String S3 = "Lowly laundry lefties"; private static final String S4 = "89273487U#*&#"; private static final Double D0 = 9.234d;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 2.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java
private ClassToInstanceMap<Number> map; @Override protected void setUp() throws Exception { map = MutableClassToInstanceMap.create(); } public void testConstraint() { /** * We'll give ourselves a pass on testing all the possible ways of breaking the constraint, * because we know that newClassMap() is implemented using ConstrainedMap which is itself
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 20:09:59 GMT 2024 - 4.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java
private ClassToInstanceMap<Number> map; @Override protected void setUp() throws Exception { map = MutableClassToInstanceMap.create(); } public void testConstraint() { /** * We'll give ourselves a pass on testing all the possible ways of breaking the constraint, * because we know that newClassMap() is implemented using ConstrainedMap which is itself
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 20:09:59 GMT 2024 - 4.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java
assertEquals( thread.getName().substring(0, thread.getName().lastIndexOf('-')), thread2.getName().substring(0, thread.getName().lastIndexOf('-'))); // Building again should give us a different pool ID. ThreadFactory threadFactory2 = builder.build(); Thread thread3 = threadFactory2.newThread(monitoredRunnable); checkThreadPoolName(thread3, 1);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 7.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/EnumBiMap.java
* trouble than just using Object.class.) * * Then we declare the getters for these fields as @GwtIncompatible so that no one can try to use * them under J2CL—or, as an unfortunate side effect, under GWT. We do still give the fields * themselves their proper values under GWT, since GWT's EnumMap does need the Class instance. * * Note that sometimes these fields *do* have correct values under J2CL: They will if the caller
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Aug 24 01:40:03 GMT 2023 - 6.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java
mapEntry("one", collectionOf(10000)), mapEntry("two", collectionOf(-2000)), mapEntry("three", collectionOf(300)), mapEntry("four", collectionOf(-40)), mapEntry("five", collectionOf(5))); } // javac7 can't infer the type parameters correctly in samples() private static Collection<Integer> collectionOf(int item) { return ImmutableSet.of(item); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 8.4K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Stopwatch.java
* {@link System#currentTimeMillis()}, best represented as an {@link java.time.Instant}. Such values * <i>can</i> be subtracted to obtain a {@code Duration} (such as by {@code Duration.between}), but * doing so does <i>not</i> give a reliable measurement of elapsed time, because wall time readings * are inherently approximate, routinely affected by periodic clock corrections. Because this class
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Nov 15 21:38:09 GMT 2022 - 8.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/EvictingQueueTest.java
assertEquals(2, queue.size()); assertEquals(1, queue.remainingCapacity()); } public void testAddAll_largeList() { final List<String> list = ImmutableList.of("one", "two", "three", "four", "five"); List<String> misbehavingList = new AbstractList<String>() { @Override public int size() { return list.size(); } @Override
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 6.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/DerivedTestIteratorGenerator.java
* limitations under the License. */ package com.google.common.collect.testing; import com.google.common.annotations.GwtCompatible; import java.util.Iterator; /** * Adapts a test iterable generator to give a TestIteratorGenerator. * * @author George van den Driessche */ @GwtCompatible public final class DerivedTestIteratorGenerator<E> implements TestIteratorGenerator<E>, DerivedGenerator {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Apr 21 02:27:51 GMT 2017 - 1.4K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java
// to the given dividend, so that we don't have half of our divisions being // trivial because the divisor is bigger than the dividend. // Using remainder here does not give us a uniform distribution but it should // not have a big impact on the measurement. private static long randomDivisor(long dividend) { long r = RANDOM_SOURCE.nextLong(); if (dividend == -1) { return r;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 4.3K bytes - Viewed (0)