- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 392 for UNCHECKED (0.03 sec)
-
src/test/java/jcifs/smb/DosErrorTest.java
void interactionWithConsumerIsAsExpected() { // Arrange: choose a small set of known DOS codes List<Integer> inputs = Arrays.asList(0x00000000, 0x00050001, 0x007b0001, 0x0BADF00D); @SuppressWarnings("unchecked") BiConsumer<Integer, Integer> consumer = mock(BiConsumer.class); // Act: for each input, if a mapping exists, notify the consumer for (int dos : inputs) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingNavigableSetTest.java
CollectionFeature.GENERAL_PURPOSE, CollectionFeature.ALLOWS_NULL_VALUES) .createTestSuite()); return suite; } @SuppressWarnings({"rawtypes", "unchecked"}) public void testForwarding() { new ForwardingWrapperTester() .testForwarding( NavigableSet.class, new Function<NavigableSet, NavigableSet>() { @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 7K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/ReflectionFreeAssertThrows.java
try { result = supplier.get(); } catch (Throwable t) { if (predicate.apply(t)) { // We are careful to set up INSTANCE_OF to match each Predicate to its target Class. @SuppressWarnings("unchecked") T caught = (T) t; return caught; } throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.5K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
CheckSetUpHashMapGenerator(AtomicBoolean setUpRan) { this.setUpRan = setUpRan; } @Override Map<String, String> wrap(HashMap<String, String> map) { @SuppressWarnings("unchecked") Map<String, String> proxy = Reflection.newProxy(Map.class, new CheckSetUpInvocationHandler(map, setUpRan)); return proxy; } } /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu May 22 16:18:11 UTC 2025 - 11.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/DenseImmutableTable.java
private final int[] cellColumnIndices; DenseImmutableTable( ImmutableList<Cell<R, C, V>> cellList, ImmutableSet<R> rowSpace, ImmutableSet<C> columnSpace) { @SuppressWarnings("unchecked") @Nullable V[][] array = (@Nullable V[][]) new Object[rowSpace.size()][columnSpace.size()]; this.values = array; this.rowKeyToIndex = Maps.indexMap(rowSpace); this.columnKeyToIndex = Maps.indexMap(columnSpace);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 9.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java
} // AuthSchemeFactory final RegistryBuilder<AuthSchemeProvider> authSchemeProviderBuilder = RegistryBuilder.create(); // @SuppressWarnings("unchecked") final Map<String, AuthSchemeProvider> factoryMap = authSchemeProviderMap; if (factoryMap != null) { for (final Map.Entry<String, AuthSchemeProvider> entry : factoryMap.entrySet()) {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 12.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
// A sorted spliterator with no comparator is already using natural order. // (We could probably find a way to avoid rawtypes here if we wanted.) @SuppressWarnings({"unchecked", "rawtypes"}) Comparator<? super E> naturalOrder = (Comparator<? super E>) Comparator.<Comparable>naturalOrder(); comparator = naturalOrder; }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 15:50:50 UTC 2025 - 12.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
// A sorted spliterator with no comparator is already using natural order. // (We could probably find a way to avoid rawtypes here if we wanted.) @SuppressWarnings({"unchecked", "rawtypes"}) Comparator<? super E> naturalOrder = (Comparator<? super E>) Comparator.<Comparable>naturalOrder(); comparator = naturalOrder; }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 15:50:50 UTC 2025 - 12.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/PredicatesTest.java
public void testAnd_serializationIterable() { checkSerialization(Predicates.and(Arrays.asList(TRUE, FALSE))); } public void testAnd_arrayDefensivelyCopied() { @SuppressWarnings("unchecked") // generic arrays Predicate<Object>[] array = (Predicate<Object>[]) new Predicate<?>[] {Predicates.alwaysFalse()}; Predicate<Object> predicate = Predicates.and(array); assertFalse(predicate.apply(1));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 32.3K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Striped.java
* * If we only held the int[] stripes, translating it on the fly to L's, the original locks might * be garbage collected after locking them, ending up in a huge mess. */ @SuppressWarnings("unchecked") // we carefully replaced all keys with their respective L's List<L> asStripes = (List<L>) result; return Collections.unmodifiableList(asStripes); } // Static factories /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 16 22:01:32 UTC 2025 - 20.6K bytes - Viewed (0)