Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 559 for hashcode (0.06 sec)

  1. android/guava-tests/test/com/google/common/hash/PackageSanityTests.java

     *
     * @author Ben Yu
     */
    
    public class PackageSanityTests extends AbstractPackageSanityTests {
      public PackageSanityTests() {
        setDefault(LockFreeBitArray.class, new LockFreeBitArray(1));
        setDefault(HashCode.class, HashCode.fromInt(1));
        setDefault(String.class, "MD5");
        setDefault(int.class, 32);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 26 15:56:47 UTC 2017
    - 1.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

          }
          String str = builder.toString();
          HashCode hashUtf8 = murmur3_32().hashBytes(str.getBytes(UTF_8));
          assertEquals(hashUtf8, murmur3_32().newHasher().putBytes(str.getBytes(UTF_8)).hash());
          assertEquals(hashUtf8, murmur3_32().hashString(str, UTF_8));
          assertEquals(hashUtf8, murmur3_32().newHasher().putString(str, UTF_8).hash());
          HashCode hashUtf16 = murmur3_32().hashBytes(str.getBytes(UTF_16));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:29:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  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. 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)
  7. 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)
  8. 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)
  9. android/guava/src/com/google/common/collect/ForwardingList.java

      }
    
      @Override
      public boolean equals(@CheckForNull Object object) {
        return object == this || delegate().equals(object);
      }
    
      @Override
      public int hashCode() {
        return delegate().hashCode();
      }
    
      /**
       * A sensible default implementation of {@link #add(Object)}, in terms of {@link #add(int,
       * Object)}. If you override {@link #add(int, Object)}, you may wish to override {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  10. 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)
Back to top