- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 253 for TUnused (0.04 seconds)
-
guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java
assertEquals(2, factory2.newThread(monitoredRunnable).getPriority()); } public void testBuildTwice() { ThreadFactory unused; unused = builder.build(); // this is allowed unused = builder.build(); // this is *also* allowed } public void testBuildMutate() { ThreadFactory factory1 = builder.setPriority(1).build();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:07:52 GMT 2025 - 7.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/FluentIterableTest.java
() -> { ImmutableListMultimap<Object, Integer> unused = fluent(1, 2, 3).index(Functions.constant(null)); }); } public void testIndex_nullValue() { assertThrows( NullPointerException.class, () -> { ImmutableListMultimap<String, Integer> unused = fluent(1, null, 2).index(Functions.constant("foo")); }); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 30.5K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java
public static class PublicFoo {} static class FooTest { @SuppressWarnings("unused") // accessed reflectively public void testPublic() {} @SuppressWarnings("unused") // accessed reflectively void testNotPublic() {} } // Shouldn't be mistaken as Foo's test static class Foo2Test { @SuppressWarnings("unused") // accessed reflectively public void testPublic() {} }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 28 02:48:50 GMT 2024 - 5.4K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/FakeTickerTest.java
int numberOfThreads = 64; runConcurrentTest( numberOfThreads, new Callable<@Nullable Void>() { @Override public @Nullable Void call() throws Exception { long unused = ticker.read(); return null; } }); assertEquals(incrementByNanos * numberOfThreads, ticker.read()); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheLoaderTest.java
assertThat(loadCount.get()).isEqualTo(0); assertThat(reloadCount.get()).isEqualTo(0); assertThat(loadAllCount.get()).isEqualTo(0); Object unused1 = baseLoader.load(new Object()); @SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored Future<?> possiblyIgnoredError = baseLoader.reload(new Object(), new Object()); Map<Object, Object> unused2 = baseLoader.loadAll(ImmutableList.of(new Object()));Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 3.8K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java
for (int j = 0; j < NUM_THREADS; j++) { @SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored Future<?> possiblyIgnoredError = executorService.submit(addTask); } @SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored Future<?> possiblyIgnoredError = executorService.submit(executeTask);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 15.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingImmutableList.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect; import com.google.common.annotations.GwtCompatible; /** * Unused stub class, unreferenced under Java and manually emulated under GWT. * * @author Chris Povirk */ @GwtCompatible abstract class ForwardingImmutableList<E> { private ForwardingImmutableList() {}
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 905 bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java
return closer.eventuallyClose(mockCloseable, executor); } }, executor); FluentFuture<Closeable> unused = closingFuture.finishToFuture(); assertThrows( IllegalStateException.class, () -> closingFuture.finishToValueAndCloser(
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 5.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheLoaderTest.java
assertThat(loadCount.get()).isEqualTo(0); assertThat(reloadCount.get()).isEqualTo(0); assertThat(loadAllCount.get()).isEqualTo(0); Object unused1 = baseLoader.load(new Object()); @SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored Future<?> possiblyIgnoredError = baseLoader.reload(new Object(), new Object()); Map<Object, Object> unused2 = baseLoader.loadAll(ImmutableList.of(new Object()));Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 3.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableBiMapFloodingTest.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 28 19:11:14 GMT 2025 - 4.5K bytes - Click Count (0)