Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1201 - 1210 of 5,397 for returns (0.15 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionCreationTester.java

        assertThrows(
            NullPointerException.class,
            () -> {
              Object unused = getSubjectGenerator().create(array);
            });
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testCreateWithNull_unsupported()} so that tests
       * can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()} until <a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java

      }
    
      /**
       * Returns the {@link Method} instances for the test methods in this class which call {@code
       * hashCode()} on the set values so that set tests on unhashable objects can suppress it with
       * {@code FeatureSpecificTestSuiteBuilder.suppressing()}.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method[] getHashCodeMethods() {
        return new Method[] {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/HashingOutputStream.java

        hasher.putBytes(bytes, off, len);
        out.write(bytes, off, len);
      }
    
      /**
       * Returns the {@link HashCode} based on the data written to this stream. The result is
       * unspecified if this method is called more than once on the same instance.
       */
      public HashCode hash() {
        return hasher.hash();
      }
    
      // Overriding close() because FilterOutputStream's close() method pre-JDK8 has bad behavior:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/AbstractTable.java

        }
    
        @Override
        public int size() {
          return AbstractTable.this.size();
        }
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        return Tables.equalsImpl(this, obj);
      }
    
      @Override
      public int hashCode() {
        return cellSet().hashCode();
      }
    
      /** Returns the string representation {@code rowMap().toString()}. */
      @Override
      public String toString() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/CaseFormat.java

        @Override
        String normalizeWord(String word) {
          return Ascii.toLowerCase(word);
        }
    
        @Override
        String convert(CaseFormat format, String s) {
          if (format == LOWER_UNDERSCORE) {
            return s.replace('-', '_');
          }
          if (format == UPPER_UNDERSCORE) {
            return Ascii.toUpperCase(s.replace('-', '_'));
          }
          return super.convert(format, s);
        }
      },
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Apr 15 22:14:00 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/container/StandardCrawlerContainer.java

                this.instance = instance;
                this.destroyer = destroyer;
            }
    
            /**
             * Returns the component instance.
             * @return the component instance
             */
            protected T get() {
                return instance;
            }
    
            /**
             * Destroys the component by calling any @PreDestroy annotated methods
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

        return ATOMIC_HELPER.casValue(future, expect, update);
      }
    
      /** Returns the value of the future, using a volatile read. */
      final @Nullable Object value() {
        return valueField;
      }
    
      /** Returns the head of the listener stack, using a volatile read. */
      final @Nullable Listener listeners() {
        return listenersField;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java

        new EqualsTester().addEqualityGroup(expected, multimap().asMap().entrySet()).testEquals();
      }
    
      @CollectionSize.Require(SEVERAL)
      @MapFeature.Require(SUPPORTS_REMOVE)
      /*
       * SetMultimap.asMap essentially returns a Map<K, Set<V>>; we just can't declare it that way.
       * Thus, calls like asMap().values().remove(someSet) are safe because they are comparing a set to
       * a collection of other sets.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/hash/HashingInputStream.java

        if (numOfBytesRead != -1) {
          hasher.putBytes(bytes, off, numOfBytesRead);
        }
        return numOfBytesRead;
      }
    
      /**
       * mark() is not supported for HashingInputStream
       *
       * @return {@code false} always
       */
      @Override
      public boolean markSupported() {
        return false;
      }
    
      /** mark() is not supported for HashingInputStream */
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

            Decodable first = response.getInfo();
            Decodable second = response.getInfo();
    
            assertSame(first, second, "Multiple calls should return the same instance");
        }
    
        @Test
        @DisplayName("Test getInfo with null info returns null")
        void testGetInfoWithNullInfo() {
            response = new Smb2QueryInfoResponse(mockConfig, (byte) 1, (byte) 2);
    
            assertNull(response.getInfo());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
Back to top