Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1331 - 1340 of 1,801 for equals (0.05 seconds)

  1. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Test cases for {@link TypeToken}.
     *
     * @author Sven Mawson
     * @author Ben Yu
     */
    @AndroidIncompatible // lots of failures, possibly some related to bad equals() implementations?
    @NullUnmarked
    public class TypeTokenTest extends TestCase {
    
      private abstract static class StringList implements List<String> {}
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 89.3K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/opensearch/config/exentity/ScheduledJobTest.java

            return new JobManager() {
                @Override
                public OptionalThing<LaScheduledJob> findJobByUniqueOf(final LaJobUnique jobUnique) {
                    if (expectedJobId.equals(jobUnique.value()) && laScheduledJob != null) {
                        return OptionalThing.of(laScheduledJob);
                    }
                    return OptionalThing.ofNullable(null, () -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/ApiAdminSearchlistAction.java

                    final String newId = ComponentUtil.getCrawlingInfoHelper().generateId(entity);
                    final String oldId = (String) entity.get(fessConfig.getIndexFieldId());
                    if (!newId.equals(oldId)) {
                        entity.put(fessConfig.getIndexFieldId(), newId);
                        entity.remove(fessConfig.getIndexFieldVersion());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

                                .setScroll(settings.getScrollTimeout())
                                .execute()
                                .actionGet(settings.getSearchTimeout());
                        if (!scrollId.equals(response.getScrollId())) {
                            SuggestUtil.deleteScrollContext(client, scrollId);
                        }
                    }
                    scrollId = response.getScrollId();
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  5. src/main/java/jcifs/util/transport/Transport.java

                    final String msg = ex.getMessage();
                    final boolean timeout = ex instanceof SocketTimeoutException || msg != null && msg.equals("Read timed out");
                    final boolean closed = msg != null && msg.equals("Socket closed");
    
                    if (closed) {
                        log.trace("Remote closed connection");
                    } else if (timeout) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 27.8K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/CompactHashSet.java

          int bucketLength = 0;
          do {
            entryIndex = next - 1;
            entry = entries[entryIndex];
            if (CompactHashing.getHashPrefix(entry, mask) == hashPrefix
                && Objects.equals(object, elements[entryIndex])) {
              return false;
            }
            next = CompactHashing.getNext(entry, mask);
            bucketLength++;
          } while (next != UNSET);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 24.7K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

            // We use a "custom" equivalence to force MapMaker to make a MapMakerInternalMap.
            ConcurrentMap<K, V> newMap = new MapMaker().keyEquivalence(Equivalence.equals()).makeMap();
            checkState(newMap instanceof MapMakerInternalMap);
            newMap.putAll(map);
            return newMap;
          }
        },
        MapMakerStrongKeysWeakValues {
          @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                if (dir == null) {
                    return false;
                }
                final File directory = dir.toFile();
                if (directory.list() != null && directory.list().length == 0 && !THUMBNAILS_DIR_NAME.equals(directory.getName())) {
                    Files.delete(dir);
                    if (logger.isDebugEnabled()) {
                        logger.debug("Deleted empty directory: {}", dir);
                    }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 27.2K bytes
    - Click Count (0)
  9. android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixTrie.java

        return bestResult;
      }
    
      private static boolean matchesType(
          @Nullable PublicSuffixType desiredType, @Nullable PublicSuffixType actualType) {
        return actualType != null && (desiredType == null || desiredType.equals(actualType));
      }
    
      private static boolean isExcludedMatch(int metadata) {
        return ((metadata >> EXCLUSION_SHIFT) & EXCLUSION_MASK) != 0;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 21:21:59 GMT 2026
    - 9.1K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        if (!Objects.equals(actual, expected)) {
          // fail(), but with the JUnit-supplied message.
          assertEquals("Using seed " + seed, expected, actual);
        }
      }
    
      private static void assertEqualsUsingStartedWith(
          Collection<?> startedWith, @Nullable Object expected, @Nullable Object actual) {
        if (!Objects.equals(actual, expected)) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 36.2K bytes
    - Click Count (0)
Back to Top