- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 867 for Signal (2 sec)
-
guava-tests/test/com/google/common/base/ConverterTest.java
@Override public String toString() { return "string2long"; } }; private static final Long LONG_VAL = 12345L; private static final String STR_VAL = "12345"; private static final ImmutableList<String> STRINGS = ImmutableList.of("123", "456"); private static final ImmutableList<Long> LONGS = ImmutableList.of(123L, 456L); public void testConverter() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Oct 06 17:02:33 GMT 2023 - 7.8K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java
public static final WithPublicConstructorAndConstant INSTANCE = new WithPublicConstructorAndConstant(); public WithPublicConstructorAndConstant() {} } private static class WithPublicConstants { public static final WithPublicConstants FIRST = new WithPublicConstants(); // To test that we pick the first constant alphabetically @SuppressWarnings("unused")
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 22.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java
*/ public class UninterruptibleFutureTest extends TestCase { private SleepingRunnable sleeper; private Future<Boolean> delayedFuture; private final TearDownStack tearDownStack = new TearDownStack(); @Override protected void setUp() { final ExecutorService executor = Executors.newSingleThreadExecutor(); tearDownStack.addTearDown( new TearDown() { @Override
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 9.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TableCollectors.java
} return table1; }); } private static final class ImmutableTableCollectorState<R, C, V> { final List<MutableCell<R, C, V>> insertionOrder = new ArrayList<>(); final Table<R, C, MutableCell<R, C, V>> table = HashBasedTable.create(); void put(R row, C column, V value, BinaryOperator<V> merger) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Sat Mar 09 00:21:17 GMT 2024 - 7.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
EMPTY_GENERATORS = builder.buildOrThrow(); } private final AtomicInteger freshness = new AtomicInteger(1); private final ListMultimap<Class<?>, Object> sampleInstances = ArrayListMultimap.create(); /** * The freshness level at which the {@link Empty @Empty} annotated method was invoked to generate * instance. */ private final Map<Type, Integer> emptyInstanceGenerated = new HashMap<>();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 28K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/CallablesTest.java
// Expect the same value on subsequent calls assertSame(value, callable.call()); } @J2ktIncompatible @GwtIncompatible public void testAsAsyncCallable() throws Exception { final String expected = "MyCallableString"; Callable<String> callable = new Callable<String>() { @Override public String call() throws Exception { return expected; }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 5.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/TestStringBiMapGenerator.java
@Override @SuppressWarnings("unchecked") public final Entry<String, String>[] createArray(int length) { return (Entry<String, String>[]) new Entry<?, ?>[length]; } @Override public final String[] createKeyArray(int length) { return new String[length]; } @Override public final String[] createValueArray(int length) { return new String[length]; }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 2.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
// internal Sync object, so this is safe since the shadowed locks are never // exposed or used. private final CycleDetectingReentrantReadLock readLock; private final CycleDetectingReentrantWriteLock writeLock; private final LockGraphNode lockGraphNode; private CycleDetectingReentrantReadWriteLock(LockGraphNode lockGraphNode, boolean fair) { super(fair);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Dec 15 19:31:54 GMT 2023 - 35.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSetMultimap.java
* * <p>Example: * * <pre>{@code * static final Multimap<Character, String> FIRST_LETTER_MULTIMAP = * Stream.of("banana", "apple", "carrot", "asparagus", "cherry") * .collect(toImmutableSetMultimap(str -> str.charAt(0), str -> str.substring(1))); * * // is equivalent to * * static final Multimap<Character, String> FIRST_LETTER_MULTIMAP =
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 23.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/Utf8Test.java
private static final long ONE_BYTE_ROUNDTRIPPABLE_CHARACTERS = 0x007f - 0x0000 + 1; // 128 private static final long EXPECTED_ONE_BYTE_ROUNDTRIPPABLE_COUNT = ONE_BYTE_ROUNDTRIPPABLE_CHARACTERS; // 1920 [chars 0x0080 to 0x07FF] private static final long TWO_BYTE_ROUNDTRIPPABLE_CHARACTERS = 0x07FF - 0x0080 + 1; // 18,304 private static final long EXPECTED_TWO_BYTE_ROUNDTRIPPABLE_COUNT =
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 12.7K bytes - Viewed (0)