- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 253 for TUnused (0.04 seconds)
-
android/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) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java
* wire format so that we can observe only the bytes written by a method. */ private static byte[] newBuffer(int length) { // initialise with distinct pattern to detect unused trailing bytes byte[] buf = new byte[length]; Arrays.fill(buf, (byte) 0xFF); return buf; } @Test @DisplayName("constructor initialises command and parameters correctly")Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.5K bytes - Click Count (0) -
proguard/base.pro
# FinalizableReferenceQueue calls this reflectively # Proguard is intelligent enough to spot the use of reflection onto this, so we # only need to keep the names, and allow it to be stripped out if # FinalizableReferenceQueue is unused. -keepnames class com.google.common.base.internal.Finalizer { *** startFinalizer(...); } # However, it cannot "spot" that this method needs to be kept IF the class is.Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 09 00:29:01 GMT 2023 - 1.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/SuppliersTest.java
checkMemoize(countingSupplier, memoizedSupplier); // Calls to the original memoized supplier shouldn't affect its copy. Object unused = memoizedSupplier.get(); assertThat(memoizedSupplier.toString()) .isEqualTo("Suppliers.memoize(<supplier that returned 10>)"); // Should get an exception when we try to serialize.
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 17.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/SuppliersTest.java
checkMemoize(countingSupplier, memoizedSupplier); // Calls to the original memoized supplier shouldn't affect its copy. Object unused = memoizedSupplier.get(); assertThat(memoizedSupplier.toString()) .isEqualTo("Suppliers.memoize(<supplier that returned 10>)"); // Should get an exception when we try to serialize.
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 17.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/RegularImmutableAsListTest.java
* gets invoked from other immutable collections. */ public void testDoesntCheckForNull() { ImmutableSet<Integer> set = ImmutableSet.of(1, 2, 3); ImmutableList<Integer> unused = new RegularImmutableAsList<Integer>(set, new @Nullable Object[] {null, null, null}); // shouldn't throw! }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/Platform.java
static <T> T[] clone(T[] array) { return array.clone(); } // Class.cast is not supported in GWT. This method is a no-op in GWT. static void checkCast(Class<?> clazz, Object obj) { Object unused = clazz.cast(obj); } static String format(String template, Object... args) { return String.format(Locale.ROOT, template, args); } private Platform() {}
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 04 01:39:13 GMT 2022 - 1.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/Platform.java
static <T> T[] clone(T[] array) { return array.clone(); } // Class.cast is not supported in GWT. This method is a no-op in GWT. static void checkCast(Class<?> clazz, Object obj) { Object unused = clazz.cast(obj); } static String format(String template, Object... args) { return String.format(Locale.ROOT, template, args); } private Platform() {}
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 04 01:39:13 GMT 2022 - 1.3K bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/FixProjectHealthTask.kt
dependenciesToModify.addToMap(filePath, extractDependencies(index)) } line.contains("Unused dependencies which should be removed:") -> { dependenciesToRemove.addToMap(filePath, extractDependencies(index)) } } } }
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Mar 03 06:57:08 GMT 2025 - 6.2K bytes - Click Count (1) -
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)