Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 508 for maps (0.04 sec)

  1. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        LocalCache<?, ?> map = CacheTesting.toLocalCache(cache);
    
        assertThat(map.segments).hasLength(4);
        assertEquals(2, map.segments[0].table.length());
        assertEquals(2, map.segments[1].table.length());
        assertEquals(2, map.segments[2].table.length());
        assertEquals(2, map.segments[3].table.length());
      }
    
      @GwtIncompatible // CacheTesting
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

    import com.google.common.collect.HashMultimap;
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.Iterables;
    import com.google.common.collect.Lists;
    import com.google.common.collect.Maps;
    import com.google.common.collect.Multimap;
    import com.google.common.collect.Sets;
    import com.google.common.reflect.ClassPath;
    import com.google.common.testing.NullPointerTester.Visibility;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

       */
      private transient long size;
    
      /** Standard constructor. */
      protected AbstractMapBasedMultiset(Map<E, Count> backingMap) {
        checkArgument(backingMap.isEmpty());
        this.backingMap = backingMap;
      }
    
      /** Used during deserialization only. The backing map must be empty. */
      void setBackingMap(Map<E, Count> backingMap) {
        this.backingMap = backingMap;
      }
    
      // Required Implementations
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/RegularImmutableBiMap.java

    import static com.google.common.collect.CollectPreconditions.checkEntryNotNull;
    import static com.google.common.collect.ImmutableMapEntry.createEntryArray;
    import static com.google.common.collect.Maps.immutableEntry;
    import static com.google.common.collect.RegularImmutableMap.MAX_HASH_BUCKET_LENGTH;
    import static com.google.common.collect.RegularImmutableMap.checkNoConflictInKeyBucket;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  5. cmd/site-replication-utils.go

    	sync.RWMutex
    	// resyncStatus maps resync ID to resync status for peer
    	resyncStatus map[string]SiteResyncStatus
    	// map peer deployment ID to resync ID
    	peerResyncMap map[string]resyncState
    }
    
    func newSiteResyncMetrics(ctx context.Context) *siteResyncMetrics {
    	s := siteResyncMetrics{
    		resyncStatus:  make(map[string]SiteResyncStatus),
    		peerResyncMap: make(map[string]resyncState),
    	}
    	go s.save(ctx)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        final LoadingCache<String, String> cache = CacheBuilder.newBuilder().build(computeFunction);
        ConcurrentMap<String, String> map = cache.asMap();
        map.put(refreshKey, refreshKey);
        assertEquals(1, map.size());
        assertFalse(map.containsKey(getKey));
        assertSame(refreshKey, map.get(refreshKey));
    
        new Thread() {
          @Override
          public void run() {
            cache.getUnchecked(getKey);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  7. istioctl/pkg/describe/describe.go

    	}
    
    	newResourceID := func(ns, name string) string { return fmt.Sprintf("%s/%s", ns, name) }
    	recordVirtualServices := map[string]*clientnetworking.VirtualService{}
    	recordDestinationRules := map[string]*clientnetworking.DestinationRule{}
    	// recordGateways, key: ns/gwName
    	recordGateways := map[string]bool{}
    
    	for _, pod := range pods.Items {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/Files.java

       * @throws IOException if an I/O error occurs
       * @see FileChannel#map(MapMode, long, long)
       * @since 2.0
       */
      public static MappedByteBuffer map(File file) throws IOException {
        checkNotNull(file);
        return map(file, MapMode.READ_ONLY);
      }
    
      /**
       * Fully maps a file in to memory as per {@link
       * FileChannel#map(java.nio.channels.FileChannel.MapMode, long, long)} using the requested {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/CollectCollectors.java

          if (this.map == null) {
            return other;
          } else if (other.map == null) {
            return this;
          } else {
            other.map.forEach(this::put);
            return this;
          }
        }
    
        ImmutableMap<K, V> toImmutableMap() {
          return (map == null) ? ImmutableMap.<K, V>of() : ImmutableEnumMap.asImmutable(map);
        }
      }
    
      @GwtIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  10. cmd/erasure-metadata.go

    func GetInternalReplicationState(m map[string][]byte) ReplicationState {
    	m1 := make(map[string]string, len(m))
    	for k, v := range m {
    		m1[k] = string(v)
    	}
    	return getInternalReplicationState(m1)
    }
    
    // getInternalReplicationState fetches internal replication state from the map m
    func getInternalReplicationState(m map[string]string) ReplicationState {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
Back to top