Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 557 for hashCode (0.15 sec)

  1. src/test/java/org/codelibs/opensearch/extension/analysis/ReloadableKuromojiTokenizerFactory.java

            }
    
            @Override
            public void end() throws IOException {
                tokenizer.end();
            }
    
            @Override
            public int hashCode() {
                return tokenizer.hashCode();
            }
    
            @Override
            public boolean equals(final Object obj) {
                return tokenizer.equals(obj);
            }
    
            @Override
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. compat/maven-model/src/test/java/org/apache/maven/model/BuildTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@code Build}.
     *
     */
    class BuildTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Build().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Build().equals(null));
    
            new Build().equals(new Build());
        }
    
        @Test
        void testEqualsIdentity() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/netbios/Name.java

            } catch( UnsupportedEncodingException uee ) {
            }
    
            return srcIndex - start;
        }
    
        public int hashCode() {
            int result;
    
            result = name.hashCode();
            result += 65599 * hexCode;
            result += 65599 * srcHashCode; /* hashCode is different depending
                                            * on where it came from
                                            */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/SipHashFunction.java

          return (c == other.c) && (d == other.d) && (k0 == other.k0) && (k1 == other.k1);
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        return (int) (getClass().hashCode() ^ c ^ d ^ k0 ^ k1);
      }
    
      private static final class SipHasher extends AbstractStreamingHasher {
        private static final int CHUNK_SIZE = 8;
    
        // The number of compression rounds.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                                 * augment the addresses name's hashCode to distinguish those resolved by
                                 * Lmhosts, WINS, or BCAST. Otherwise a failed query from say WINS would
                                 * get pulled out of the cache for a BCAST on the same name.
                                 */
                                response.addrEntry[ 0 ].hostName.srcHashCode = request.addr.hashCode();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 14 14:26:22 UTC 2022
    - 38.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ForwardingMultiset.java

      }
    
      /**
       * A sensible definition of {@link #hashCode} as {@code entrySet().hashCode()} . If you override
       * {@link #entrySet}, you may wish to override {@link #hashCode} to forward to this
       * implementation.
       *
       * @since 7.0
       */
      protected int standardHashCode() {
        return entrySet().hashCode();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/synonym/SynonymItem.java

        }
    
        public boolean isDeleted() {
            return isUpdated() && newInputs.length == 0;
        }
    
        @Override
        public int hashCode() {
            return Objects.hash(Arrays.hashCode(inputs), Arrays.hashCode(outputs));
        }
    
        @Override
        public boolean equals(final Object obj) {
            if (this == obj) {
                return true;
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/testing/SerializableTesterTest.java

        try {
          SerializableTester.reserializeAndAssert(orig);
          errorNotThrown = true;
        } catch (AssertionFailedError error) {
          // expected
          assertContains("must be equal to the Object#hashCode", error.getMessage());
        }
        assertFalse(errorNotThrown);
      }
    
      public void testObjectWhichIsEqualButChangesClass() {
        ObjectWhichIsEqualButChangesClass orig = new ObjectWhichIsEqualButChangesClass();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 4K bytes
    - Viewed (0)
  9. android/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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 11 22:00:03 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/testing/SerializableTesterTest.java

        try {
          SerializableTester.reserializeAndAssert(orig);
          errorNotThrown = true;
        } catch (AssertionFailedError error) {
          // expected
          assertContains("must be equal to the Object#hashCode", error.getMessage());
        }
        assertFalse(errorNotThrown);
      }
    
      public void testObjectWhichIsEqualButChangesClass() {
        ObjectWhichIsEqualButChangesClass orig = new ObjectWhichIsEqualButChangesClass();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top