Search Options

Results per page
Sort
Preferred Languages
Advance

Results 811 - 820 of 1,007 for SuppressWarnings (0.43 sec)

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

              @Override
              public Iterator<Integer> iterator() {
                return asList(0, 1).iterator();
              }
            };
        assertEquals(2, Iterables.size(iterable));
      }
    
      @SuppressWarnings("serial")
      public void testSize_collection_doesntIterate() {
        List<Integer> nums = asList(1, 2, 3, 4, 5);
        List<Integer> collection =
            new ArrayList<Integer>(nums) {
              @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Ints.java

      private Ints() {}
    
      /**
       * The number of bytes required to represent a primitive {@code int} value.
       *
       * <p>Prefer {@link Integer#BYTES} instead.
       */
      // The constants value gets inlined here.
      @SuppressWarnings("AndroidJdkLibsChecker")
      public static final int BYTES = Integer.BYTES;
    
      /**
       * The largest power of two that can be represented as an {@code int}.
       *
       * @since 10.0
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/IterablesTest.java

              @Override
              public Iterator<Integer> iterator() {
                return asList(0, 1).iterator();
              }
            };
        assertEquals(2, Iterables.size(iterable));
      }
    
      @SuppressWarnings("serial")
      public void testSize_collection_doesntIterate() {
        List<Integer> nums = asList(1, 2, 3, 4, 5);
        List<Integer> collection =
            new ArrayList<Integer>(nums) {
              @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/rdma/RdmaTransport.java

            return delegate.getInflightRequests();
        }
    
        @Override
        public CIFSContext getContext() {
            return delegate.getContext();
        }
    
        @Override
        @SuppressWarnings("unchecked")
        public <T extends SmbTransport> T unwrap(Class<T> type) {
            if (type.isAssignableFrom(this.getClass())) {
                return (T) this;
            }
            return delegate.unwrap(type);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactoryRequest.java

                private final String coordinateString;
                private final String scope;
                private final boolean optional;
                private final Collection<Exclusion> exclusions;
    
                @SuppressWarnings("checkstyle:ParameterNumber")
                private DefaultDependencyCoordinatesFactoryRequest(
                        @Nonnull Session session,
                        @Nullable RequestTrace trace,
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

        this(capacity, fair);
        if (capacity < c.size()) throw new IllegalArgumentException();
    
        for (E e : c) add(e);
      }
    
      @SuppressWarnings("unchecked") // please don't try this home, kids
      private static <E> E[] newEArray(int capacity) {
        return (E[]) new Object[capacity];
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/internal/Finalizer.java

        // Keep track of the FRQ that started us so we know when to stop.
        this.frqReference = frqReference;
      }
    
      /** Loops continuously, pulling references off the queue and cleaning them up. */
      @SuppressWarnings("InfiniteLoopStatement")
      @Override
      public void run() {
        while (true) {
          try {
            if (!cleanUp(queue.remove())) {
              break;
            }
          } catch (InterruptedException e) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AbstractCrawlerClient.java

         * @param <T> The target type.
         * @param value The object to convert.
         * @param clazz The class type to convert to.
         * @return The converted object.
         */
        @SuppressWarnings("unchecked")
        protected <T> T convertObj(final Object value, final Class<T> clazz) {
            if (clazz.isAssignableFrom(String.class)) {
                return (T) value.toString();
            }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/score/QueryRescorerTest.java

                        return null;
                    }
    
                    // Check for nested map
                    if (params.containsKey("nested") && params.get("nested") instanceof Map) {
                        @SuppressWarnings("unchecked")
                        Map<String, Object> nestedMap = (Map<String, Object>) params.get("nested");
                        if (nestedMap.containsKey("innerKey")) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.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")
    @NullMarked
    public class MultimapPutTester<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractMultimapTester<K, V, Multimap<K, V>> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top