Search Options

Results per page
Sort
Preferred Languages
Advance

Results 891 - 900 of 1,007 for SuppressWarnings (0.22 sec)

  1. android/guava-tests/test/com/google/common/collect/MultisetsTest.java

        List<String> toRemove = asList("a", "b", "b");
        assertTrue(Multisets.removeOccurrences(multiset, toRemove));
        assertThat(multiset).containsExactly("a", "c").inOrder();
      }
    
      @SuppressWarnings({"deprecation", "InlineMeInliner"}) // test of a deprecated method
      public void testUnmodifiableMultisetShortCircuit() {
        Multiset<String> mod = HashMultiset.create();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                log.debug("doNetShareEnum failed", ioe);
                throw new SmbException(u.toString(), ioe);
            }
            return new ShareEnumIterator(parent, set.iterator(), ff);
        }
    
        @SuppressWarnings("resource")
        static CloseableIterator<SmbResource> doEnum(final SmbFile parent, String wildcard, int searchAttributes, final ResourceNameFilter fnf,
                final ResourceFilter ff) throws CIFSException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/MapTestSuiteBuilder.java

      public static <K, V> MapTestSuiteBuilder<K, V> using(TestMapGenerator<K, V> generator) {
        return new MapTestSuiteBuilder<K, V>().usingGenerator(generator);
      }
    
      @SuppressWarnings("rawtypes") // class literals
      @Override
      protected List<Class<? extends AbstractTester>> getTesters() {
        return Arrays.<Class<? extends AbstractTester>>asList(
            MapClearTester.class,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 11K bytes
    - Viewed (0)
  4. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 22 16:18:11 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/TraverserTest.java

        assertEqualCharNodes(Iterables.limit(result, 2), "db");
        assertThat(graph.requestedNodes).containsExactly('a', 'a', 'a', 'b', 'b', 'c', 'd', 'd');
      }
    
      @Test
      @SuppressWarnings("CheckReturnValue")
      public void forTree_acceptsDirectedGraph() throws Exception {
        MutableGraph<String> graph = GraphBuilder.directed().build();
        graph.putEdge("a", "b");
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 47.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/graph/TraverserTest.java

        assertEqualCharNodes(Iterables.limit(result, 2), "db");
        assertThat(graph.requestedNodes).containsExactly('a', 'a', 'a', 'b', 'b', 'c', 'd', 'd');
      }
    
      @Test
      @SuppressWarnings("CheckReturnValue")
      public void forTree_acceptsDirectedGraph() throws Exception {
        MutableGraph<String> graph = GraphBuilder.directed().build();
        graph.putEdge("a", "b");
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 47.5K bytes
    - Viewed (2)
  7. src/main/java/jcifs/smb/DfsImpl.java

                            new CacheEntry<>(tf.getConfig().getDfsTtl() * 10L);
                    DfsReferralData initial = null;
                    @SuppressWarnings("resource")
                    final SmbTransportInternal trans = dc != null ? dc.unwrap(SmbTransportInternal.class) : null;
                    if (trans != null) {
                        // get domain referral
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 29.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/Striped64.java

    /**
     * A package-local class holding common representation and mechanics for classes supporting dynamic
     * striping on 64bit values. The class extends Number so that concrete subclasses must publicly do
     * so.
     */
    @SuppressWarnings("SunApi") // b/345822163
    @GwtIncompatible
    abstract class Striped64 extends Number {
      /*
       * This class maintains a lazily-initialized table of atomically
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jan 15 22:17:15 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public abstract class AbstractMultisetSetCountTester<E> extends AbstractMultisetTester<E> {
      /*
       * TODO: consider adding MultisetFeatures.SUPPORTS_SET_COUNT. Currently we
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

        return (indexBeforeRemove >= size()) ? indexRemoved : indexBeforeRemove;
      }
    
      @Override
      public @Nullable Object[] toArray() {
        return ObjectArrays.toArrayImpl(this);
      }
    
      @Override
      @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
      public <T extends @Nullable Object> T[] toArray(T[] a) {
        return ObjectArrays.toArrayImpl(this, a);
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top