Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 316 for imap (0.04 sec)

  1. guava/src/com/google/common/collect/EnumHashBiMap.java

      }
    
      /**
       * Constructs a new bimap with the same mappings as the specified map. If the specified map is an
       * {@code EnumHashBiMap} or an {@link EnumBiMap}, the new bimap has the same key type as the input
       * bimap. Otherwise, the specified map must contain at least one mapping, in order to determine
       * the key type.
       *
       * @param map the map whose mappings are to be placed in this map
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  2. cni/pkg/install/testdata/invalid-map.conflist

    Pengyuan Bian <******@****.***> 1625172474 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 01 20:47:54 UTC 2021
    - 3 bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/EnumHashBiMap.java

      }
    
      /**
       * Constructs a new bimap with the same mappings as the specified map. If the specified map is an
       * {@code EnumHashBiMap} or an {@link EnumBiMap}, the new bimap has the same key type as the input
       * bimap. Otherwise, the specified map must contain at least one mapping, in order to determine
       * the key type.
       *
       * @param map the map whose mappings are to be placed in this map
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java

          implements TestMapGenerator<K, V>, DerivedGenerator {
    
        private final OneSizeTestContainerGenerator<BiMap<K, V>, Entry<K, V>> generator;
    
        public MapGenerator(
            OneSizeTestContainerGenerator<BiMap<K, V>, Entry<K, V>> oneSizeTestContainerGenerator) {
          this.generator = oneSizeTestContainerGenerator;
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/HashBiMap.java

      }
    
      /**
       * Constructs a new bimap containing initial values from {@code map}. The bimap is created with an
       * initial capacity sufficient to hold the mappings in the specified map.
       */
      public static <K extends @Nullable Object, V extends @Nullable Object> HashBiMap<K, V> create(
          Map<? extends K, ? extends V> map) {
        HashBiMap<K, V> bimap = create(map.size());
        bimap.putAll(map);
        return bimap;
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 36.4K bytes
    - Viewed (0)
  6. test/fixedbugs/bug401.go

    	if v := real(t.cplx()); v != 1 {
    		panic("not-inlined complex call failed")
    	}
    	_ = imag(t.cplx())
    
    	_ = real(t.cplx2())
    	if v := imag(t.cplx2()); v != 1 {
    		panic("potentially inlined complex call failed")
    	}
    
    	var i I
    	i = t
    	if v := real(i.cplx()); v != 1 {
    		panic("potentially inlined complex call failed")
    	}
    	_ = imag(i.cplx())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 740 bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java

    import com.google.common.collect.BiMap;
    import com.google.common.collect.testing.AbstractMapTester;
    import com.google.common.collect.testing.Helpers;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.List;
    import java.util.Map.Entry;
    import org.checkerframework.checker.nullness.qual.Nullable;
    import org.junit.Ignore;
    
    /** Skeleton for a tester of a {@code BiMap}. */
    @GwtCompatible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. src/math/rand/v2/zipf.go

    }
    
    // NewZipf returns a Zipf variate generator.
    // The generator generates values k ∈ [0, imax]
    // such that P(k) is proportional to (v + k) ** (-s).
    // Requirements: s > 1 and v >= 1.
    func NewZipf(r *Rand, s float64, v float64, imax uint64) *Zipf {
    	z := new(Zipf)
    	if s <= 1.0 || v < 1 {
    		return nil
    	}
    	z.r = r
    	z.imax = float64(imax)
    	z.v = v
    	z.q = s
    	z.oneminusQ = 1.0 - z.q
    	z.oneminusQinv = 1.0 / z.oneminusQ
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 30 14:29:30 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/BiMapGenerators.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.BiMap;
    import com.google.common.collect.ImmutableBiMap;
    import com.google.common.collect.Maps;
    import java.util.Arrays;
    import java.util.Map;
    import java.util.Map.Entry;
    
    /**
     * Generators of various {@link com.google.common.collect.BiMap}s and derived collections.
     *
     * @author Jared Levy
     * @author Hayward Chan
     */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/BiMapTestSuiteBuilder.java

    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Map.Entry;
    import java.util.Set;
    import junit.framework.TestSuite;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a {@code BiMap}
     * implementation.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    public class BiMapTestSuiteBuilder<K, V>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top