Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 508 for maps (0.03 sec)

  1. guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

    /**
     * A mutable type-to-instance map. See also {@link ImmutableTypeToInstanceMap}.
     *
     * @author Ben Yu
     * @since 13.0
     */
    @ElementTypesAreNonnullByDefault
    public final class MutableTypeToInstanceMap<B extends @Nullable Object>
        extends ForwardingMap<TypeToken<? extends @NonNull B>, B> implements TypeToInstanceMap<B> {
    
      private final Map<TypeToken<? extends @NonNull B>, B> backingMap = Maps.newHashMap();
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/pod_cache.go

    	"errors"
    	"fmt"
    	"path/filepath"
    	"runtime"
    	"sync"
    
    	corev1 "k8s.io/api/core/v1"
    
    	"istio.io/istio/pkg/maps"
    	"istio.io/istio/pkg/zdsapi"
    )
    
    var ErrPodNotFound = errors.New("netns not provided, but is needed as pod is not in cache")
    
    type PodNetnsCache interface {
    	ReadCurrentPodSnapshot() map[string]WorkloadInfo
    }
    
    // Hold a cache of node local pods with their netns
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri May 31 17:18:11 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/AbstractCache.java

     * the License.
     */
    
    package com.google.common.cache;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.Maps;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.concurrent.Callable;
    import java.util.concurrent.ConcurrentMap;
    import java.util.concurrent.ExecutionException;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 9.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/TestingCacheLoaders.java

        return new CacheLoader<K, V>() {
          @Override
          public V load(K key) throws Exception {
            return loader.load(key);
          }
    
          @Override
          public Map<K, V> loadAll(Iterable<? extends K> keys) throws Exception {
            Map<K, V> result = Maps.newHashMap(); // allow nulls
            for (K key : keys) {
              result.put(key, load(key));
            }
            return result;
          }
        };
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/LinkedHashMultimap.java

       */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          LinkedHashMultimap<K, V> create(int expectedKeys, int expectedValuesPerKey) {
        return new LinkedHashMultimap<>(
            Maps.capacity(expectedKeys), Maps.capacity(expectedValuesPerKey));
      }
    
      /**
       * Constructs a {@code LinkedHashMultimap} with the same mappings as the specified multimap. If a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/FilteredMapTest.java

     */
    
    package com.google.common.collect;
    
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Map;
    
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class FilteredMapTest extends AbstractFilteredMapTest {
      @Override
      Map<String, Integer> createUnfiltered() {
        return Maps.newHashMap();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 917 bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/FilteredMapTest.java

     */
    
    package com.google.common.collect;
    
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Map;
    
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class FilteredMapTest extends AbstractFilteredMapTest {
      @Override
      Map<String, Integer> createUnfiltered() {
        return Maps.newHashMap();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 917 bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

    import com.google.common.collect.Lists;
    import com.google.common.collect.Maps;
    import com.google.common.collect.Ordering;
    import com.google.common.collect.Sets;
    import com.google.common.testing.GcFinalization;
    import com.google.common.testing.NullPointerTester;
    import java.lang.ref.WeakReference;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import java.util.concurrent.Semaphore;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

    import com.google.common.collect.Lists;
    import com.google.common.collect.Maps;
    import com.google.common.collect.Ordering;
    import com.google.common.collect.Sets;
    import com.google.common.testing.GcFinalization;
    import com.google.common.testing.NullPointerTester;
    import java.lang.ref.WeakReference;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import java.util.concurrent.Semaphore;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

        }
      }
    
      private static ImmutableList<Method> getAnnotatedMethodsNotCached(Class<?> clazz) {
        Set<? extends Class<?>> supertypes = TypeToken.of(clazz).getTypes().rawTypes();
        Map<MethodIdentifier, Method> identifiers = Maps.newHashMap();
        for (Class<?> supertype : supertypes) {
          for (Method method : supertype.getDeclaredMethods()) {
            if (method.isAnnotationPresent(Subscribe.class) && !method.isSynthetic()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:16:45 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top