Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for hash_stable (0.25 sec)

  1. guava-tests/benchmark/com/google/common/collect/ImmutableSetHashFloodingDetectionBenchmark.java

          }
    
          @Override
          boolean hashFloodingDetected(Object[] hashTable) {
            int maxRunBeforeFallback = maxRunBeforeFallback(hashTable.length);
    
            // Test for a run wrapping around the end of the table, then check for runs in the middle.
            int endOfStartRun;
            for (endOfStartRun = 0; endOfStartRun < hashTable.length; ) {
              if (hashTable[endOfStartRun] == null) {
                break;
              }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Jun 03 20:16:35 GMT 2021
    - 6.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableSet.java

              int index = j & mask;
              if (hashTable[index] == null) {
                hashTable[index] = e;
                break;
              }
            }
          }
          return hashTable;
        }
    
        void ensureTableCapacity(int minCapacity) {
          int newTableSize;
          if (hashTable == null) {
            newTableSize = chooseTableSize(minCapacity);
            hashTable = new Object[newTableSize];
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/ldap/LdapUser.java

    public class LdapUser implements FessUser {
    
        private static final long serialVersionUID = 1L;
    
        protected Hashtable<String, String> env;
    
        protected String name;
    
        protected String[] permissions = null;
    
        public LdapUser(final Hashtable<String, String> env, final String name) {
            this.env = env;
            this.name = name;
        }
    
        @Override
        public String getName() {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSet.java

              ImmutableSet<E> result;
              if (hashTable != null && chooseTableSize(size) == hashTable.length) {
                @Nullable
                Object[] uniqueElements =
                    shouldTrim(size, contents.length) ? Arrays.copyOf(contents, size) : contents;
                result =
                    new RegularImmutableSet<E>(
                        uniqueElements, hashCode, hashTable, hashTable.length - 1, size);
              } else {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/ldap/LdapManager.java

            }
            fessConfig = ComponentUtil.getFessConfig();
        }
    
        protected Hashtable<String, String> createEnvironment(final String initialContextFactory, final String securityAuthentication,
                final String providerUrl, final String principal, final String credntials) {
            final Hashtable<String, String> env = new Hashtable<>();
            putEnv(env, Context.INITIAL_CONTEXT_FACTORY, initialContextFactory);
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 65.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/RegularImmutableMap.java

            }
            outI++;
          }
          return outI == n ? hashTable : new Object[] {hashTable, outI, duplicateKey};
        } else {
          /*
           * Use 32 bits per entry.
           */
          int[] hashTable = new int[tableSize];
          Arrays.fill(hashTable, ABSENT);
    
          int outI = 0;
          entries:
          for (int i = 0; i < n; i++) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

        //                                                                      ==============
        protected void prepareElementsHash() {
            elementsText = new Hashtable<>();
            elementsFile = new Hashtable<>();
            elementsAll = new Hashtable<>();
        }
    
        protected List<FileItem> parseRequest(final HttpServletRequest request, final ServletFileUpload upload) throws FileUploadException {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/CompactHashing.java

        }
      }
    
      /**
       * Returns a larger power of 2 hashtable size given the current mask.
       *
       * <p>For hashtable sizes less than or equal to 32, the returned power of 2 is 4x the current
       * hashtable size to reduce expensive rehashing. Otherwise the returned power of 2 is 2x the
       * current hashtable size.
       */
      static int newCapacity(int mask) {
        return ((mask < 32) ? 4 : 2) * (mask + 1);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Aug 02 21:41:22 GMT 2021
    - 7.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/CompactHashing.java

        }
      }
    
      /**
       * Returns a larger power of 2 hashtable size given the current mask.
       *
       * <p>For hashtable sizes less than or equal to 32, the returned power of 2 is 4x the current
       * hashtable size to reduce expensive rehashing. Otherwise the returned power of 2 is 2x the
       * current hashtable size.
       */
      static int newCapacity(int mask) {
        return ((mask < 32) ? 4 : 2) * (mask + 1);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Aug 02 21:41:22 GMT 2021
    - 7.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/CompactHashSet.java

       * part of the smeared hash of the element not covered by the hashtable mask, whereas the low bits
       * are the "next" pointer (pointing to the next entry in the bucket chain), which will always be
       * less than or equal to the hashtable mask.
       *
       * <pre>
       * hash  = aaaaaaaa
       * mask  = 00000fff
       * next  = 00000bbb
       * entry = aaaaabbb
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
Back to top