Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 490 for HashCode (0.04 sec)

  1. guava/src/com/google/common/graph/EndpointPair.java

      @Override
      public abstract boolean equals(@Nullable Object obj);
    
      /**
       * The hashcode of an ordered {@link EndpointPair} is equal to {@code Objects.hash(source(),
       * target())}. The hashcode of an unordered {@link EndpointPair} is equal to {@code
       * nodeU().hashCode() + nodeV().hashCode()}.
       */
      @Override
      public abstract int hashCode();
    
      private static final class Ordered<N> extends EndpointPair<N> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/Name.java

        }
    
        @Override
        public int hashCode() {
            int result = name.hashCode();
            result += 65599 * hexCode;
            result += 65599 * srcHashCode; /* hashCode is different depending
                                            * on where it came from
                                            */
            if (scope != null && scope.length() != 0) {
                result += scope.hashCode();
            }
            return result;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetReadsTester.java

        assertEquals(
            "multiset.entrySet() has incorrect hash code", 0, getMultiset().entrySet().hashCode());
      }
    
      @CollectionSize.Require(ONE)
      public void testEntrySet_hashCode_size1() {
        assertEquals(
            "multiset.entrySet() has incorrect hash code",
            1 ^ e0().hashCode(),
            getMultiset().entrySet().hashCode());
      }
    
      public void testEquals_yes() {
        assertTrue(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/MultisetReadsTester.java

        assertEquals(
            "multiset.entrySet() has incorrect hash code", 0, getMultiset().entrySet().hashCode());
      }
    
      @CollectionSize.Require(ONE)
      public void testEntrySet_hashCode_size1() {
        assertEquals(
            "multiset.entrySet() has incorrect hash code",
            1 ^ e0().hashCode(),
            getMultiset().entrySet().hashCode());
      }
    
      public void testEquals_yes() {
        assertTrue(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ComparatorOrdering.java

          ComparatorOrdering<?> that = (ComparatorOrdering<?>) object;
          return this.comparator.equals(that.comparator);
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        return comparator.hashCode();
      }
    
      @Override
      public String toString() {
        return comparator.toString();
      }
    
      @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/toolchain/DefaultToolchain.java

                return false;
            }
        }
    
        @Override
        public int hashCode() {
            int hashCode = (type == null) ? 0 : type.hashCode();
    
            if (this.getModel().getProvides() != null) {
                hashCode = 31 * hashCode + this.getModel().getProvides().hashCode();
            }
            return hashCode;
        }
    
        @Override
        public String toString() {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Feb 12 13:13:28 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/Murmur3_32HashFunction.java

        }
        return false;
      }
    
      @Override
      public int hashCode() {
        return getClass().hashCode() ^ seed;
      }
    
      @Override
      public HashCode hashInt(int input) {
        int k1 = mixK1(input);
        int h1 = mixH1(seed, k1);
    
        return fmix(h1, Ints.BYTES);
      }
    
      @Override
      public HashCode hashLong(long input) {
        int low = (int) input;
        int high = (int) (input >>> 32);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  8. compat/maven-builder-support/src/main/java/org/apache/maven/building/StringSource.java

        public StringSource(CharSequence content, String location) {
            this.content = (content != null) ? content.toString() : "";
            this.location = (location != null) ? location : "(memory)";
            this.hashCode = this.content.hashCode();
        }
    
        @Override
        public InputStream getInputStream() throws IOException {
            return new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8));
        }
    
        @Override
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 15 18:51:29 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/hash/Hashing.java

       */
      public static HashCode combineOrdered(Iterable<HashCode> hashCodes) {
        Iterator<HashCode> iterator = hashCodes.iterator();
        checkArgument(iterator.hasNext(), "Must be at least 1 hash code to combine.");
        int bits = iterator.next().bits();
        byte[] resultBytes = new byte[bits / 8];
        for (HashCode hashCode : hashCodes) {
          byte[] nextBytes = hashCode.asBytes();
          checkArgument(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:06:57 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ExplicitOrdering.java

          ExplicitOrdering<?> that = (ExplicitOrdering<?>) object;
          return this.rankMap.equals(that.rankMap);
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        return rankMap.hashCode();
      }
    
      @Override
      public String toString() {
        return "Ordering.explicit(" + rankMap.keySet() + ")";
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 2K bytes
    - Viewed (0)
Back to top