Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Nash (0.23 sec)

  1. android/guava/src/com/google/common/base/Equivalence.java

       *       y}, if {@code equivalent(x, y)}, then {@code hash(x) == hash(y)}. It is <i>not</i>
       *       necessary that the hash be distributable across <i>inequivalence</i>. If {@code
       *       equivalence(x, y)} is false, {@code hash(x) == hash(y)} may still be true.
       *   <li>{@code hash(null)} is {@code 0}.
       * </ul>
       */
      public final int hash(@CheckForNull T t) {
        if (t == null) {
          return 0;
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

         * ImmutableSortedMultiset#orderedBy(Comparator)}.
         */
        @SuppressWarnings("unchecked")
        public Builder(Comparator<? super E> comparator) {
          super(true); // doesn't allocate hash table in supertype
          this.comparator = checkNotNull(comparator);
          this.elements = (E[]) new Object[ImmutableCollection.Builder.DEFAULT_INITIAL_CAPACITY];
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 35.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/Hashing.java

        return (bits + 31) & ~31;
      }
    
      /**
       * Returns a hash function which computes its hash code by concatenating the hash codes of the
       * underlying hash functions together. This can be useful if you need to generate hash codes of a
       * specific length.
       *
       * <p>For example, if you need 1024-bit hash codes, you could join two {@link Hashing#sha512} hash
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  4. .github/workflows/ci.yml

              distribution: 'zulu'
              cache: 'maven'
          - name: 'Install'
            shell: bash
            run: ./mvnw -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn install -U -DskipTests=true -f $ROOT_POM
          - name: 'Test'
            shell: bash
            run: ./mvnw -B -P!standard-with-extra-repos verify -U -Dmaven.javadoc.skip=true -f $ROOT_POM
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:33:50 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/RegularImmutableMap.java

       * objects per entry.  Instead we use an open-addressed hash table.  This design is basically
       * equivalent to RegularImmutableSet, save that instead of having a hash table containing the
       * elements directly and null for empty positions, we store indices of the keys in the hash table,
       * and ABSENT for empty positions.  We then look up the keys in alternatingKeysAndValues.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Multisets.java

            return this.getCount() == that.getCount()
                && Objects.equal(this.getElement(), that.getElement());
          }
          return false;
        }
    
        /**
         * Return this entry's hash code, following the behavior specified in {@link
         * Multiset.Entry#hashCode}.
         */
        @Override
        public int hashCode() {
          E e = getElement();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Sets.java

            adjust = ~~adjust;
            // in GWT, we have to deal with integer overflow carefully
          }
          int hash = 1;
          for (Set<E> axis : axes) {
            hash = 31 * hash + (size() / axis.size() * axis.hashCode());
    
            hash = ~~hash;
          }
          hash += adjust;
          return ~~hash;
        }
      }
    
      /**
       * Returns the set of all possible subsets of {@code set}. For example, {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableSet.java

          int hash = element.hashCode();
          for (int j = Hashing.smear(hash); ; j++) {
            int index = j & mask;
            Object value = table[index];
            if (value == null) {
              // Came to an empty slot. Put the element here.
              elements[uniques++] = element;
              table[index] = element;
              hashCode += hash;
              break;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
Back to top