Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 704 for hashCode (0.35 sec)

  1. maven-core/src/main/java/org/apache/maven/toolchain/DefaultToolchain.java

        }
    
        @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() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 09:07:17 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

        assertEquals(hashCode, hasher.hash().asLong());
    
        hasher = HASH_FN.newHasher();
        hasher.putLong(0x0000000001000101L);
        assertEquals(hashCode, hasher.hash().asLong());
    
        hasher = HASH_FN.newHasher();
        hasher
            .putShort((short) 0x0101)
            .putShort((short) 0x0100)
            .putShort((short) 0x0000)
            .putShort((short) 0x0000);
        assertEquals(hashCode, hasher.hash().asLong());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 26 15:56:47 GMT 2017
    - 6.2K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultVersionResolver.java

                hash = hash * 31 + groupId.hashCode();
                hash = hash * 31 + artifactId.hashCode();
                hash = hash * 31 + classifier.hashCode();
                hash = hash * 31 + extension.hashCode();
                hash = hash * 31 + version.hashCode();
                hash = hash * 31 + localRepo.hashCode();
                hash = hash * 31 + repositories.hashCode();
                hashCode = hash;
            }
    
            @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableEnumSet.java

      }
    
      @Override
      boolean isHashCodeFast() {
        return true;
      }
    
      @LazyInit private transient int hashCode;
    
      @Override
      public int hashCode() {
        int result = hashCode;
        return (result == 0) ? hashCode = delegate.hashCode() : result;
      }
    
      @Override
      public String toString() {
        return delegate.toString();
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/signatures/KtFirFunctionLikeSignature.kt

            other as KtFirFunctionLikeSubstitutorBasedSignature<*>
            return coneSubstitutor == other.coneSubstitutor
        }
    
        override fun hashCode(): Int = 31 * super.hashCode() + coneSubstitutor.hashCode()
    Plain Text
    - Registered: Fri Mar 22 08:18:09 GMT 2024
    - Last Modified: Thu Apr 27 10:59:30 GMT 2023
    - 5.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

            } else {
              return false;
            }
          }
    
          @Override
          public int hashCode() {
            // Adding the class hashCode to avoid a clash with Succ instances.
            return Pred.class.hashCode() + node.hashCode();
          }
        }
    
        static final class Succ<N> extends NodeConnection<N> {
          Succ(N node) {
            super(node);
          }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 18K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/reflect/AbstractInvocationHandler.java

        return super.equals(obj);
      }
    
      /**
       * By default delegates to {@link Object#hashCode}. The dynamic proxies' {@code hashCode()} will
       * delegate to this method. Subclasses can override this method to provide custom equality.
       */
      @Override
      public int hashCode() {
        return super.hashCode();
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 05 17:43:40 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/repository/MetadataGraphNode.java

            } else {
                return super.equals(obj);
            }
        }
    
        @Override
        public int hashCode() {
            if (metadata == null) {
                return super.hashCode();
            }
    
            return metadata.toString().hashCode();
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/ChecksumHashFunction.java

        }
    
        @Override
        public HashCode hash() {
          long value = checksum.getValue();
          if (bits == 32) {
            /*
             * The long returned from a 32-bit Checksum will have all 0s for its second word, so the
             * cast won't lose any information and is necessary to return a HashCode of the correct
             * size.
             */
            return HashCode.fromInt((int) value);
          } else {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 2.7K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelTransformerContext.java

            private final String artifactId;
            private final int hashCode;
    
            GAKey(String groupId, String artifactId) {
                this.groupId = groupId;
                this.artifactId = artifactId;
                this.hashCode = Objects.hash(groupId, artifactId);
            }
    
            @Override
            public int hashCode() {
                return hashCode;
            }
    
            @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4K bytes
    - Viewed (0)
Back to top