Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 331 - 340 of 429 for Maps (0.03 seconds)

  1. android/guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.Maps.immutableEntry;
    import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.truth.Truth.assertThat;
    import static com.google.common.truth.Truth.assertWithMessage;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.Maps.immutableEntry;
    import static com.google.common.truth.Truth.assertThat;
    import static java.lang.Math.max;
    
    import com.google.common.collect.testing.MapTestSuiteBuilder;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  3. cmd/object-handlers.go

    	}
    	// Store the preserved compression metadata.
    	maps.Copy(srcInfo.UserDefined, compressMetadata)
    
    	// We need to preserve the encryption headers set in EncryptRequest,
    	// so we do not want to override them, copy them instead.
    	maps.Copy(srcInfo.UserDefined, encMetadata)
    
    	// Ensure that metadata does not contain sensitive information
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 120.6K bytes
    - Click Count (0)
  4. guava/src/com/google/common/base/CharMatcher.java

      @VisibleForTesting
      static final class Whitespace extends NamedFastMatcher {
    
        // TABLE is a precomputed hashset of whitespace characters. MULTIPLIER serves as a hash function
        // whose key property is that it maps 25 characters into the 32-slot table without collision.
        // Basically this is an opportunistic fast implementation as opposed to "good code". For most
        // other use-cases, the reduction in readability isn't worth it.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 54.4K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java

      }
    
      private void testRangesByLowerBounds(
          TreeRangeSet<Integer> rangeSet, Iterable<Range<Integer>> expectedRanges) {
        NavigableMap<Cut<Integer>, Range<Integer>> expectedRangesByLowerBound = Maps.newTreeMap();
        for (Range<Integer> range : expectedRanges) {
          expectedRangesByLowerBound.put(range.lowerBound, range);
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  6. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

        public String toString() {
          return getKey() + "=" + getValue();
        }
      }
    
      // TODO(fry): Separate logic for consistency between emul and nonemul implementation.
      // TODO(fry): Look into Maps.KeySet and Maps.Values, which can ideally be reused here but are
      // currently only package visible.
      abstract class AbstractCacheSet<T> extends AbstractSet<T> {
        final ConcurrentMap<?, ?> map;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 12:40:22 GMT 2026
    - 21.6K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Predicates.equalTo;
    import static com.google.common.base.Predicates.not;
    import static com.google.common.collect.Maps.immutableEntry;
    import static com.google.common.collect.Multimaps.filterKeys;
    import static com.google.common.collect.Multimaps.filterValues;
    import static com.google.common.collect.Multimaps.synchronizedListMultimap;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Sep 24 22:52:18 GMT 2025
    - 28.6K bytes
    - Click Count (0)
  8. doc/go_spec.html

    </p>
    
    <pre>
    make(map[string]int)
    make(map[string]int, 100)
    </pre>
    
    <p>
    The initial capacity does not bound its size:
    maps grow to accommodate the number of items
    stored in them, with the exception of <code>nil</code> maps.
    A <code>nil</code> map is equivalent to an empty map except that no elements
    may be added.
    </p>
    
    <h3 id="Channel_types">Channel types</h3>
    
    <p>
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Apr 01 23:39:18 GMT 2026
    - 287.8K bytes
    - Click Count (1)
  9. android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.Maps.immutableEntry;
    import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.annotations.GwtCompatible;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/CompactHashMap.java

        return (keySetView == null) ? keySetView = createKeySet() : keySetView;
      }
    
      Set<K> createKeySet() {
        return new KeySetView();
      }
    
      @WeakOuter
      class KeySetView extends Maps.KeySet<K, V> {
        KeySetView() {
          super(CompactHashMap.this);
        }
    
        @Override
        public @Nullable Object[] toArray() {
          if (needsAllocArrays()) {
            return new Object[0];
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 39.6K bytes
    - Click Count (0)
Back to Top