Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for Maps (0.17 sec)

  1. android/guava/src/com/google/common/collect/Maps.java

     * "https://github.com/google/guava/wiki/CollectionUtilitiesExplained#maps">{@code Maps}</a>.
     *
     * @author Kevin Bourrillion
     * @author Mike Bostock
     * @author Isaac Shum
     * @author Louis Wasserman
     * @since 2.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class Maps {
      private Maps() {}
    
      private enum EntryFunction implements Function<Entry<?, ?>, @Nullable Object> {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/LocalCacheTest.java

    import static com.google.common.cache.TestingRemovalListeners.queuingRemovalListener;
    import static com.google.common.cache.TestingWeighers.constantWeigher;
    import static com.google.common.collect.Maps.immutableEntry;
    import static com.google.common.truth.Truth.assertThat;
    import static com.google.common.util.concurrent.MoreExecutors.listeningDecorator;
    import static java.lang.Thread.State.WAITING;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

    import static com.google.common.cache.TestingRemovalListeners.queuingRemovalListener;
    import static com.google.common.cache.TestingWeighers.constantWeigher;
    import static com.google.common.collect.Maps.immutableEntry;
    import static com.google.common.truth.Truth.assertThat;
    import static com.google.common.util.concurrent.MoreExecutors.listeningDecorator;
    import static java.lang.Thread.State.WAITING;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  4. cmd/bucket-replication.go

    		if !crypto.SSEC.IsEncrypted(objInfo.UserDefined) || !slices.Contains(maps.Keys(validSSEReplicationHeaders), k) {
    			if stringsHasPrefixFold(k, ReservedMetadataPrefixLower) {
    				continue
    			}
    			if isStandardHeader(k) {
    				continue
    			}
    		}
    		if slices.Contains(maps.Keys(validSSEReplicationHeaders), k) {
    			meta[validSSEReplicationHeaders[k]] = v
    		} else {
    			meta[k] = v
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  5. doc/go1.17_spec.html

    <p>
    A new, empty map value is made using the built-in
    function <a href="#Making_slices_maps_and_channels"><code>make</code></a>,
    which takes the map type and an optional capacity hint as arguments:
    </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
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/LocalCache.java

    import com.google.common.collect.AbstractSequentialIterator;
    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Iterators;
    import com.google.common.collect.Maps;
    import com.google.common.collect.Sets;
    import com.google.common.primitives.Ints;
    import com.google.common.util.concurrent.ExecutionError;
    import com.google.common.util.concurrent.Futures;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/LocalCache.java

    import com.google.common.collect.AbstractSequentialIterator;
    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Iterators;
    import com.google.common.collect.Maps;
    import com.google.common.collect.Sets;
    import com.google.common.primitives.Ints;
    import com.google.common.util.concurrent.ExecutionError;
    import com.google.common.util.concurrent.Futures;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  8. cmd/admin-handlers.go

    func anonymizeHost(hostAnonymizer map[string]string, endpoint Endpoint, poolNum int, srvrNum int) {
    	if len(endpoint.Host) == 0 {
    		return
    	}
    
    	currentURL := endpoint.String()
    
    	// mapIfNotPresent - Maps the given key to the value only if the key is not present in the map
    	mapIfNotPresent := func(m map[string]string, key string, val string) {
    		_, found := m[key]
    		if !found {
    			m[key] = val
    		}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  9. src/main/java/jcifs/smb1/smb1/SmbFile.java

            return ( attributes & ATTR_HIDDEN ) == ATTR_HIDDEN;
        }
    
    /**
     * If the path of this <code>SmbFile</code> falls within a DFS volume,
     * this method will return the referral path to which it maps. Otherwise
     * <code>null</code> is returned.
     */
    
        public String getDfsPath() throws SmbException {
            resolveDfs(null);
            if( dfsReferral == null ) {
                return null;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  10. cmd/site-replication.go

    }
    
    type srState srStateV1
    
    // srStateV1 represents version 1 of the site replication state persistence
    // format.
    type srStateV1 struct {
    	Name string `json:"name"`
    
    	// Peers maps peers by their deploymentID
    	Peers                   map[string]madmin.PeerInfo `json:"peers"`
    	ServiceAccountAccessKey string                     `json:"serviceAccountAccessKey"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
Back to top