- Sort Score
- Num 10 results
- Language All
Results 991 - 1000 of 1,438 for SuppressWarnings (0.11 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java
import java.util.LinkedHashSet; import java.util.Set; import java.util.SortedSet; /** * Optional features of classes derived from {@code Collection}. * * @author George van den Driessche */ @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package? @GwtCompatible public enum CollectionFeature implements Feature<Collection> { /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 30 16:15:19 GMT 2024 - 4.1K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/AbstractByteHasher.java
} else { for (int remaining = b.remaining(); remaining > 0; remaining--) { update(b.get()); } } } /** Updates the sink with the given number of bytes from the buffer. */ @SuppressWarnings("ByteBufferBackingArray") // We created the array with ByteBuffer.allocate(). @CanIgnoreReturnValue private Hasher update(ByteBuffer scratch, int bytes) { try { update(scratch.array(), 0, bytes);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 12:40:17 GMT 2025 - 3.9K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/RateLimiter.java
* @param unit the time unit of the warmupPeriod argument * @throws IllegalArgumentException if {@code permitsPerSecond} is negative or zero or {@code * warmupPeriod} is negative */ @SuppressWarnings("GoodTime") // should accept a java.time.Duration public static RateLimiter create(double permitsPerSecond, long warmupPeriod, TimeUnit unit) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:05:27 GMT 2025 - 21.8K bytes - Click Count (0) -
android/guava/src/com/google/common/escape/Escaper.java
* UnicodeEscaper}. * * @author David Beaumont * @since 15.0 */ @DoNotMock("Use Escapers.nullEscaper() or another methods from the *Escapers classes") @GwtCompatible @SuppressWarnings("EscapedEntity") // We do mean for the user to see "<" etc. public abstract class Escaper { // TODO(dbeaumont): evaluate custom implementations, considering package private constructor.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 15:45:16 GMT 2025 - 4.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingSortedMapTest.java
MapFeature.REJECTS_DUPLICATES_AT_CREATION, MapFeature.ALLOWS_ANY_NULL_QUERIES) .createTestSuite()); return suite; } @SuppressWarnings({"rawtypes", "unchecked"}) public void testForwarding() { new ForwardingWrapperTester() .testForwarding( SortedMap.class, new Function<SortedMap, SortedMap>() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 20:34:52 GMT 2025 - 7.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java
dstIndex++; dst[dstIndex++] = (byte) 0x00; SMBUtil.writeInt2(this.passwordLength, dst, dstIndex); return 4; } @SuppressWarnings("deprecation") private static boolean isExternalAuth(final NtlmPasswordAuthenticator pwAuth) { return pwAuth instanceof jcifs.smb.NtlmPasswordAuthenticationCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/StaticJAASConfigurationTest.java
// Arrange: create a regular map first, then spy on it Map<String, Object> originalMap = new HashMap<>(); originalMap.put("refreshKrb5Config", "true"); @SuppressWarnings("unchecked") Map<String, Object> spyOpts = spy(originalMap); // Reset the spy to clear any prior invocations from setup reset(spyOpts);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ForwardingSetTest.java
.withFeatures(CollectionSize.ANY, CollectionFeature.ALLOWS_NULL_VALUES) .createTestSuite()); return suite; } @SuppressWarnings({"rawtypes", "unchecked"}) public void testForwarding() { new ForwardingWrapperTester() .testForwarding( Set.class, new Function<Set, Set>() { @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 5.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TreeBasedTable.java
* instead of {@code R extends Comparable<? super R>}, and the same for {@code C}. That's * necessary to support classes defined without generics. */ @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989 public static <R extends Comparable, C extends Comparable, V> TreeBasedTable<R, C, V> create() { return new TreeBasedTable<>(Ordering.natural(), Ordering.natural());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jul 18 15:05:43 GMT 2025 - 11.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java
CollectionFeature.GENERAL_PURPOSE, CollectionFeature.ALLOWS_NULL_QUERIES) .createTestSuite()); return suite; } @SuppressWarnings({"rawtypes", "unchecked"}) public void testForwarding() { new ForwardingWrapperTester() .testForwarding( SortedMultiset.class, new Function<SortedMultiset, SortedMultiset>() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 6.5K bytes - Click Count (0)