Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 559 for hashcode (0.06 sec)

  1. guava/src/com/google/common/cache/LongAdder.java

     * higher space consumption.
     *
     * <p>This class extends {@link Number}, but does not define methods such as {@code
     * equals}, {@code hashCode} and {@code compareTo} because instances are expected to be mutated, and
     * so are not useful as collection keys.
     *
     * <p>jsr166e note: This class is targeted to be placed in java.util.concurrent.atomic.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/hash/Crc32cHashFunction.java

          finished = true;
        }
    
        @Override
        protected HashCode makeHash() {
          if (!finished) {
            // processRemaining does teardown we always want to do -- the folding together of the four
            // rolling CRCs.  So we call it on an empty ByteBuffer if we didn't already.
            processRemaining(EMPTY);
          }
          return HashCode.fromInt(~crc0);
        }
    
        static final int[] BYTE_TABLE = {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 21.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/ByteSource.java

    import com.google.common.base.Ascii;
    import com.google.common.base.Optional;
    import com.google.common.collect.ImmutableList;
    import com.google.common.hash.Funnels;
    import com.google.common.hash.HashCode;
    import com.google.common.hash.HashFunction;
    import com.google.common.hash.Hasher;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.io.BufferedInputStream;
    import java.io.ByteArrayInputStream;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SID.java

            if ( this.type == SID_TYPE_DOMAIN )
                return "";
            return this.acctName;
        }
    
    
        @Override
        public int hashCode () {
            int hcode = this.identifier_authority[ 5 ];
            for ( int i = 0; i < this.sub_authority_count; i++ ) {
                hcode += 65599 * this.sub_authority[ i ];
            }
            return hcode;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.9K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

        }
    
        private static int repositoryHashCode(RemoteRepository repository) {
            int result = 17;
            Object obj = repository.getUrl();
            result = 31 * result + (obj != null ? obj.hashCode() : 0);
            return result;
        }
    
        private static boolean policyEquals(RepositoryPolicy p1, RepositoryPolicy p2) {
            if (p1 == p2) {
                return true;
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

          };
    
      private static final double[] VALUES = Doubles.concat(NUMBERS, new double[] {NaN});
    
      public void testHashCode() {
        for (double value : VALUES) {
          assertThat(Doubles.hashCode(value)).isEqualTo(((Double) value).hashCode());
        }
      }
    
      public void testIsFinite() {
        for (double value : NUMBERS) {
          assertThat(Doubles.isFinite(value))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Tables.java

                && Objects.equal(getColumnKey(), other.getColumnKey())
                && Objects.equal(getValue(), other.getValue());
          }
          return false;
        }
    
        @Override
        public int hashCode() {
          return Objects.hashCode(getRowKey(), getColumnKey(), getValue());
        }
    
        @Override
        public String toString() {
          return "(" + getRowKey() + "," + getColumnKey() + ")=" + getValue();
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/reflect/Invokable.java

          Invokable<?, ?> that = (Invokable<?, ?>) obj;
          return getOwnerType().equals(that.getOwnerType()) && member.equals(that.member);
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        return member.hashCode();
      }
    
      @Override
      public String toString() {
        return member.toString();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

                    }
                }
            }
            return false;
        }
    
    
    /**
     * Return the upcased username hash code.
     */
        public int hashCode() {
            return getName().toUpperCase().hashCode();
        }
    /**
     * Return the domain and username in the format:
     * <tt>domain\\username</tt>. This is equivalent to <tt>getName()</tt>.
     */
        public String toString() {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 22.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/RegularContiguousSet.java

          }
        }
        return super.equals(object);
      }
    
      // copied to make sure not to use the GWT-emulated version
      @Override
      public int hashCode() {
        return Sets.hashCodeImpl(this);
      }
    
      @GwtIncompatible // serialization
      @J2ktIncompatible
      private static final class SerializedForm<C extends Comparable> implements Serializable {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top