Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 554 for HashCode (0.06 sec)

  1. src/main/java/jcifs/netbios/UniAddress.java

            }
            this.addr = addr;
        }
    
    
        /**
         * Return the IP address of this address as a 32 bit integer.
         */
    
        @Override
        public int hashCode () {
            return this.addr.hashCode();
        }
    
    
        /**
         * Compare two addresses for equality. Two <tt>UniAddress</tt>s are equal
         * if they are both <tt>UniAddress</tt>' and refer to the same IP address.
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.3K bytes
    - Viewed (0)
  2. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  3. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Dec 28 17:50:25 UTC 2021
    - 6.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        assertTrue(map.entrySet().contains(immutableEntry("a", new IntHolder(3))));
        Map<String, Integer> intMap = ImmutableMap.of("a", 3, "b", 2);
        assertEquals(intMap.hashCode(), map.entrySet().hashCode());
        assertEquals(intMap.hashCode(), map.hashCode());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testViewSerialization() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.6K bytes
    - Viewed (0)
  5. 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 Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFile.java

     *
     * @return  A hashcode for this abstract file
     * @throws SmbException
     */
    
        public int hashCode() {
            int hash;
            try {
                hash = getAddress().hashCode();
            } catch( UnknownHostException uhe ) {
                hash = getServer().toUpperCase().hashCode();
            }
            getUncPath0();
            return hash + canon.toUpperCase().hashCode();
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

            int expectedHash =
                (entry.getKey() == null ? 0 : entry.getKey().hashCode())
                    ^ (entry.getValue() == null ? 0 : entry.getValue().hashCode());
            assertEquals(expectedHash, entry.hashCode());
            expectedEntrySetHash += expectedHash;
          }
          assertEquals(expectedEntrySetHash, entrySet.hashCode());
          assertTrue(entrySet.containsAll(new HashSet<Entry<K, V>>(entrySet)));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Chars.java

      /**
       * Returns a hash code for {@code value}; equal to the result of invoking {@code ((Character)
       * value).hashCode()}.
       *
       * <p><b>Java 8+ users:</b> use {@link Character#hashCode(char)} instead.
       *
       * @param value a primitive {@code char} value
       * @return a hash code for the value
       */
      public static int hashCode(char value) {
        return value;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Shorts.java

      /**
       * Returns a hash code for {@code value}; equal to the result of invoking {@code ((Short)
       * value).hashCode()}.
       *
       * <p><b>Java 8+ users:</b> use {@link Short#hashCode(short)} instead.
       *
       * @param value a primitive {@code short} value
       * @return a hash code for the value
       */
      public static int hashCode(short value) {
        return value;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/primitives/Shorts.java

      /**
       * Returns a hash code for {@code value}; equal to the result of invoking {@code ((Short)
       * value).hashCode()}.
       *
       * <p><b>Java 8+ users:</b> use {@link Short#hashCode(short)} instead.
       *
       * @param value a primitive {@code short} value
       * @return a hash code for the value
       */
      public static int hashCode(short value) {
        return value;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
Back to top