- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 186 for TUnused (0.05 seconds)
-
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
} public void testGetSubtype_baseClassWithLessTypeArgs() { class SingleGenericExtendsBase<T> extends Base {} class DoubleGenericExtendsSingleGeneric<T1, TUnused> extends SingleGenericExtendsBase<T1> {} TypeToken<SingleGenericExtendsBase<?>> supertype = new TypeToken<SingleGenericExtendsBase<?>>() {};
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:44:53 GMT 2025 - 89K bytes - Click Count (0) -
.bazelrc
common:linux --copt="-Wno-deprecated-declarations" common:linux --copt="-Wno-ignored-attributes" common:linux --copt="-Wno-array-bounds" # Add unused-result as an error on Linux. common:linux --copt="-Wunused-result" common:linux --copt="-Werror=unused-result" # Add switch as an error on Linux. common:linux --copt="-Wswitch" common:linux --copt="-Werror=switch" # Linux ARM64 specific options
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Fri Dec 26 23:20:26 GMT 2025 - 56.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
*/ public void testSize() { int unused = create().size(); } public void testIsEmpty() { boolean unused = create().isEmpty(); } public void testRemove() { create().remove(null); } public void testClear() { create().clear(); } public void testContainsKey() { boolean unused = create().containsKey(null); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 28 19:11:14 GMT 2025 - 5.9K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
public static void christenPoodle(String unused) { throw new UnsupportedOperationException(); } } private static class ThrowsSomethingElse { @Keep public static void christenPoodle(String unused) { throw new RuntimeException(); } } private interface InterfaceStaticMethodFailsToCheckNull { static String create(String unused) { return "I don't check"; }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:44:53 GMT 2025 - 47.8K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/GcFinalizationTest.java
CountDownLatch latch = new CountDownLatch(1); Object unused = new Object() { @SuppressWarnings({"removal", "Finalize"}) // b/260137033 @Override protected void finalize() { latch.countDown(); } }; unused = null; // Hint to the JIT that unused is unreachable GcFinalization.await(latch); assertEquals(0, latch.getCount()); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Dec 08 17:02:07 GMT 2025 - 7.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java
executor.shutdown(); } public void testCallableStartsAfterFirstFutureCompletes() { @SuppressWarnings({"unused", "nullness"}) Future<?> possiblyIgnoredError = serializer.submitAsync(firstCallable, directExecutor()); TestCallable secondCallable = new TestCallable(immediateVoidFuture()); @SuppressWarnings({"unused", "nullness"}) Future<?> possiblyIgnoredError1 = serializer.submitAsync(secondCallable, directExecutor());
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 01:35:55 GMT 2025 - 16.2K bytes - Click Count (0) -
.golangci.yml
linters: default: none enable: - durationcheck - forcetypeassert - gocritic - gomodguard - govet - ineffassign - misspell - revive - staticcheck - unconvert - unused - usetesting - whitespace settings: misspell: locale: US staticcheck: checks: - all - -SA1008 - -SA1019 - -SA4000 - -SA9004Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 1.2K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java
CountDownLatch latch = new CountDownLatch(1); Object unused = new Object() { @SuppressWarnings({"removal", "Finalize"}) // b/260137033 @Override protected void finalize() { latch.countDown(); } }; unused = null; // Hint to the JIT that unused is unreachable GcFinalization.await(latch); assertEquals(0, latch.getCount()); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Dec 08 17:02:07 GMT 2025 - 7.9K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java
String a, int b, // oneConstantOnly doesn't matter since it's not nullable and can be only 1 value. @SuppressWarnings("unused") OneConstantEnum oneConstantOnly, // noConstant doesn't matter since it can only be null @SuppressWarnings("unused") @Nullable NoConstantEnum noConstant) { return new GoodEquals(a, b); } // instance method ignored public Object badIgnored() {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 36.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/InvokableTest.java
assertEquals(Prepender.class, Prepender.constructor().getReturnType().getType()); } private static class WithConstructorAndTypeParameter<T> { @SuppressWarnings("unused") // by reflection <X> WithConstructorAndTypeParameter() {} } public void testConstructor_returnType_hasTypeParameter() throws Exception {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 30.7K bytes - Click Count (0)