Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1561 - 1570 of 2,085 for instances (0.07 sec)

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

        final int hash;
    
        Element(int hash) {
          this.hash = hash;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          return this == obj || (obj instanceof Element && ((Element) obj).hash == hash);
        }
    
        @Override
        public int hashCode() {
          return hash;
        }
    
        @Override
        public int compareTo(Element that) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/UnsignedLongs.java

       * Arrays::compareUnsigned}.
       */
      public static Comparator<long[]> lexicographicalComparator() {
        return LexicographicalComparator.INSTANCE;
      }
    
      enum LexicographicalComparator implements Comparator<long[]> {
        INSTANCE;
    
        @Override
        public int compare(long[] left, long[] right) {
          int minLength = Math.min(left.length, right.length);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java

            assertEquals(2, ruleManager.getRuleCount());
            assertTrue(ruleManager.hasRule(rule));
    
            // Remove one instance
            assertTrue(ruleManager.removeRule(rule));
            assertEquals(1, ruleManager.getRuleCount());
            assertTrue(ruleManager.hasRule(rule));
    
            // Remove second instance
            assertTrue(ruleManager.removeRule(rule));
            assertEquals(0, ruleManager.getRuleCount());
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

                return new ForwardingRunnable(runnable) {
    
                  @SuppressWarnings("EqualsHashCode")
                  @Override
                  public boolean equals(@Nullable Object o) {
                    if (o instanceof ForwardingRunnable) {
                      ForwardingRunnable that = (ForwardingRunnable) o;
                      return runnable.equals(that.runnable);
                    }
                    return false;
                  }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/validation/CronExpressionTest.java

            assertEquals(1, paramAnnotations.length);
            boolean hasCronExpression = false;
            for (Annotation annotation : paramAnnotations[0]) {
                if (annotation instanceof CronExpression) {
                    hasCronExpression = true;
                    break;
                }
            }
            assertTrue(hasCronExpression);
        }
    
        // Test annotation on constructor parameter
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

            andxOffset = dstIndex - headerStart;
            writeInt2(andxOffset, dst, start + ANDX_OFFSET_OFFSET);
    
            andx.useUnicode = useUnicode;
            if (andx instanceof AndXServerMessageBlock) {
    
                /*
                 * A word about communicating header info to andx smbs
                 *
                 * This is where we recursively invoke the provided andx smb
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/query/PrefixQueryCommand.java

            return PrefixQuery.class.getSimpleName();
        }
    
        @Override
        public QueryBuilder execute(final QueryContext context, final Query query, final float boost) {
            if (query instanceof final PrefixQuery prefixQuery) {
                if (logger.isDebugEnabled()) {
                    logger.debug("{}:{}", query, boost);
                }
                return convertPrefixQuery(context, prefixQuery, boost);
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

            IOException ioe = se;
            Throwable root = se.getRootCause();
            if (root instanceof TransportException) {
                ioe = (TransportException) root;
                root = ((TransportException) ioe).getRootCause();
            }
            if (root instanceof InterruptedException) {
                ioe = new InterruptedIOException(root.getMessage());
                ioe.initCause(root);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/LegacyComparable.java

        LegacyComparable that = (LegacyComparable) object;
        return this.value.compareTo(that.value);
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object instanceof LegacyComparable) {
          LegacyComparable that = (LegacyComparable) object;
          return this.value.equals(that.value);
        }
        return false;
      }
    
      @Override
      public int hashCode() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

                // Test that constructor is accessible when made accessible
                constructor.setAccessible(true);
                WebApiUtil instance = constructor.newInstance();
                assertNotNull(instance);
    
            } catch (NoSuchMethodException | InstantiationException | IllegalAccessException | InvocationTargetException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 17.1K bytes
    - Viewed (0)
Back to top