Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 42 for Kantor (0.23 sec)

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

                  knownRunStart += maxRunBeforeFallback;
                } else {
                  knownRunStart++; // the only case in which maxRunEnd doesn't increase by mRBF
                  // happens about f * (1-f) for f = DESIRED_LOAD_FACTOR, so around 21% of the time
                }
                knownRunEnd = knownRunStart;
              } else {
                for (int j = knownRunStart + maxRunBeforeFallback - 1; j >= knownRunEnd; j--) {
    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-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

          assertEquals(z, valueSet.size());
          assertFalse(
              Hashing.needsResizing(
                  valueSet.size(),
                  valueSet.hashTable.length,
                  LinkedHashMultimap.VALUE_SET_LOAD_FACTOR));
        }
      }
    
      private Multimap<String, Integer> initializeMultimap5() {
        Multimap<String, Integer> multimap = LinkedHashMultimap.create();
        multimap.put("foo", 5);
        multimap.put("bar", 4);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

            Serialization.getFieldSetter(ConcurrentHashMultiset.class, "countMap");
      }
    
      /**
       * Creates a new, empty {@code ConcurrentHashMultiset} using the default initial capacity, load
       * factor, and concurrency settings.
       */
      public static <E> ConcurrentHashMultiset<E> create() {
        // TODO(schmoe): provide a way to use this class with other (possibly arbitrary)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

        private final transient ConcurrentMap<E, Integer> countMap;
    
        /**
         * Creates a new, empty {@code OldConcurrentHashMultiset} using the default initial capacity,
         * load factor, and concurrency settings.
         */
        public static <E> OldConcurrentHashMultiset<E> create() {
          return new OldConcurrentHashMultiset<E>(new ConcurrentHashMap<E, Integer>());
        }
    
        @VisibleForTesting
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 16.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFile.java

     *  smb1://myworkgroup/angus/ &lt;-- ILLEGAL<br>(But if you first create an <tt>SmbFile</tt> with 'smb1://workgroup/' and use and use it as the first parameter to a constructor that accepts it with a second <tt>String</tt> parameter jCIFS will factor out the 'workgroup'.)
     * </code></td></tr>
     * 
     * </table>
     *
     * <p>Instances of the <code>SmbFile</code> class are immutable; that is,
     * once created, the abstract pathname represented by an SmbFile object
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  6. samples/guide/src/main/java/okhttp3/recipes/PostStreaming.java

            sink.writeUtf8("-------\n");
            for (int i = 2; i <= 997; i++) {
              sink.writeUtf8(String.format(" * %s = %s\n", i, factor(i)));
            }
          }
    
          private String factor(int n) {
            for (int i = 2; i < n; i++) {
              int x = n / i;
              if (x * i == n) return factor(x) + " × " + i;
            }
            return Integer.toString(n);
          }
        };
    
        Request request = new Request.Builder()
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Jul 06 03:18:15 GMT 2018
    - 2.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/UndirectedMultiNetworkConnections.java

    package com.google.common.graph;
    
    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.graph.GraphConstants.INNER_CAPACITY;
    import static com.google.common.graph.GraphConstants.INNER_LOAD_FACTOR;
    
    import com.google.common.collect.HashMultiset;
    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.Multiset;
    import com.google.errorprone.annotations.concurrent.LazyInit;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 3.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/collection/ArrayMap.java

            listTable = new Entry[initialCapacity];
            threshold = (int) (initialCapacity * LOAD_FACTOR);
        }
    
        /**
         * 指定された{@link Map}と同じマッピングでインスタンスを構築します。
         *
         * @param map
         *            マッピングがこのマップに配置されるマップ
         */
        public ArrayMap(final Map<? extends K, ? extends V> map) {
            this((int) (map.size() / LOAD_FACTOR) + 1);
            putAll(map);
        }
    
        @Override
        public int size() {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 20.6K bytes
    - Viewed (1)
  9. guava/src/com/google/common/collect/ConcurrentHashMultiset.java

            Serialization.getFieldSetter(ConcurrentHashMultiset.class, "countMap");
      }
    
      /**
       * Creates a new, empty {@code ConcurrentHashMultiset} using the default initial capacity, load
       * factor, and concurrency settings.
       */
      public static <E> ConcurrentHashMultiset<E> create() {
        // TODO(schmoe): provide a way to use this class with other (possibly arbitrary)
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

      // Might also explore collocating all of [hash, next, predecessor, successor] fields of an
      // entry in a *single* long[], though that reduces the maximum size of the set by a factor of 2
    
      /**
       * Pointer to the predecessor of an entry in insertion order. ENDPOINT indicates a node is the
       * first node in insertion order; all values at indices ≥ {@link #size()} are UNSET.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 9.5K bytes
    - Viewed (0)
Back to top