- Sort Score
- Num 10 results
- Language All
Results 141 - 150 of 277 for UNUSED (0.08 seconds)
-
android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java
ImmutableSet.<String>builder().addAll(SOMEWHERE_UNDER_PS).addAll(PS_NOT_RS).build(); public void testValid() { for (String name : VALID_NAME) { InternetDomainName unused = InternetDomainName.from(name); } } public void testInvalid() { for (String name : INVALID_NAME) { assertThrows(IllegalArgumentException.class, () -> InternetDomainName.from(name)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 17.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedInputs.java
super(message); } public @Nullable Throwable getAntecedent() { return antecedent; } } @SuppressWarnings("unused") // we're testing that they're not used public static final class ExceptionWithSomePrivateConstructors extends Exception { private ExceptionWithSomePrivateConstructors(String a) {}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 6.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/HashingTest.java
} public void testCombineOrdered_differentBitLengths() { assertThrows( IllegalArgumentException.class, () -> { HashCode unused = Hashing.combineOrdered( ImmutableList.of(HashCode.fromInt(32), HashCode.fromLong(32L))); }); } public void testCombineOrdered() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 26.7K bytes - Click Count (2) -
fastapi/openapi/models.py
try: import email_validator assert email_validator # make autoflake ignore the unused import from pydantic import EmailStr except ImportError: # pragma: no cover class EmailStr(str): # type: ignore # ty: ignore[unused-ignore-comment] @classmethod def __get_validators__(cls) -> Iterable[Callable[..., Any]]: yield cls.validateCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 14.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/SubtypeTester.java
} return sub; } /** * Call this in a {@link TestSubtype} public method asserting that subtype relationship does not * hold. */ final <X> @Nullable X notSubtype(@SuppressWarnings("unused") Object sub) { Type returnType = method.getGenericReturnType(); Type paramType = getOnlyParameterType(); TestSubtype spec = method.getAnnotation(TestSubtype.class);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 6.1K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Striped.java
@GwtIncompatible public abstract class Striped<L> { /** * If there are at least this many stripes, we assume the memory usage of a ConcurrentMap will be * smaller than a large array. (This assumes that in the lazy case, most stripes are unused. As * always, if many stripes are in use, a non-lazy striped makes more sense.) */ private static final int LARGE_LAZY_CUTOFF = 1024; private Striped() {} /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 16 22:01:32 GMT 2025 - 20.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java
} @CanIgnoreReturnValue private <T> T checkValid(T t) { // a ClassCastException is what's supposed to happen! @SuppressWarnings("unchecked") E e = (E) t; int unused = comparator().compare(e, e); return t; } @Override public boolean equals(@Nullable Object obj) { return delegate.equals(obj); } @Override public int hashCode() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 5.7K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java
/** * Constructor for the TOMBSTONE, avoids use of ATOMIC_HELPER in case this class is loaded * before the ATOMIC_HELPER. Apparently this is possible on some android platforms. */ Waiter(boolean unused) {} Waiter() { // avoid volatile write, write is made visible by subsequent CAS on waitersField field putThread(this, Thread.currentThread()); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 33.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java
} @CanIgnoreReturnValue private <T> T checkValid(T t) { // a ClassCastException is what's supposed to happen! @SuppressWarnings("unchecked") E e = (E) t; int unused = comparator().compare(e, e); return t; } @Override public boolean equals(@Nullable Object obj) { return delegate.equals(obj); } @Override public int hashCode() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 5.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java
} @CanIgnoreReturnValue private <T> T checkValid(T t) { // a ClassCastException is what's supposed to happen! @SuppressWarnings("unchecked") K k = (K) t; int unused = comparator().compare(k, k); return t; } @Override public boolean equals(@Nullable Object obj) { return delegate.equals(obj); } @Override public int hashCode() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 7.4K bytes - Click Count (0)