Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 494 for hashcode (0.04 sec)

  1. src/main/java/jcifs/smb/SmbTreeImpl.java

        public long getTreeNum() {
            return this.treeNum;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.Object#hashCode()
         */
        @Override
        public int hashCode() {
            return this.share.hashCode() + 7 * this.service.hashCode();
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Chars.java

       * Character#hashCode(char)}.
       *
       * @param value a primitive {@code char} value
       * @return a hash code for the value
       */
      @InlineMe(replacement = "Character.hashCode(value)")
      @InlineMeValidationDisabled(
          "The hash code of a char is the int version of the char itself, so it's simplest to return"
              + " that.")
      public static int hashCode(char value) {
        return value;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Shorts.java

       *
       * @param value a primitive {@code short} value
       * @return a hash code for the value
       */
      @InlineMe(replacement = "Short.hashCode(value)")
      @InlineMeValidationDisabled(
          "The hash code of a short is the int version of the short itself, so it's simplest to return"
              + " that.")
      public static int hashCode(short value) {
        return value;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/Shorts.java

       *
       * @param value a primitive {@code short} value
       * @return a hash code for the value
       */
      @InlineMe(replacement = "Short.hashCode(value)")
      @InlineMeValidationDisabled(
          "The hash code of a short is the int version of the short itself, so it's simplest to return"
              + " that.")
      public static int hashCode(short value) {
        return value;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Longs.java

      /**
       * Returns a hash code for {@code value}; obsolete alternative to {@link Long#hashCode(long)}.
       *
       * @param value a primitive {@code long} value
       * @return a hash code for the value
       */
      @InlineMe(replacement = "Long.hashCode(value)")
      public static int hashCode(long value) {
        return Long.hashCode(value);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.1K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

            return key.equals(that.getKey()) && value.equals(that.getValue());
          }
          return false;
        }
    
        @Override
        public int hashCode() {
          // Cannot use key and value equivalence
          return key.hashCode() ^ value.hashCode();
        }
    
        @Override
        public V setValue(V newValue) {
          throw new UnsupportedOperationException();
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        List<Object> tentativeArgs = new ArrayList<>(args);
        tentativeArgs.set(i, alternateArg);
        return createInstance(factory, tentativeArgs).hashCode()
            == createInstance(factory, args).hashCode();
      }
    
      // distinctValues is a type-safe class-values mapping, but we don't have a type-safe data
      // structure to hold the mappings.
      @SuppressWarnings({"unchecked", "rawtypes"})
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java

        /**
         * Calculates the hash code for this CharMappingItem based on inputs and output.
         *
         * @return the hash code value for this object
         */
        @Override
        public int hashCode() {
            return Objects.hash(Arrays.hashCode(inputs), output);
        }
    
        /**
         * Compares this CharMappingItem with another object for equality.
         * Two CharMappingItem objects are equal if they have the same inputs and output.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/hash/AbstractStreamingHasher.java

      }
    
      @Override
      @CanIgnoreReturnValue
      public final Hasher putLong(long l) {
        buffer.putLong(l);
        munchIfFull();
        return this;
      }
    
      @Override
      public final HashCode hash() {
        munch();
        Java8Compatibility.flip(buffer);
        if (buffer.remaining() > 0) {
          processRemaining(buffer);
          Java8Compatibility.position(buffer, buffer.limit());
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/hash/Fingerprint2011.java

      private static final long K2 = 0xc47b6e9e3a970ed3L;
      private static final long K3 = 0xc6a4a7935bd1e995L;
    
      @Override
      public HashCode hashBytes(byte[] input, int off, int len) {
        checkPositionIndexes(off, off + len, input.length);
        return HashCode.fromLong(fingerprint(input, off, len));
      }
    
      @Override
      public int bits() {
        return 64;
      }
    
      @Override
      public String toString() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top