Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1461 - 1470 of 2,306 for xmap (0.03 sec)

  1. guava/src/com/google/common/graph/ElementOrder.java

        if (comparator != null) {
          helper.add("comparator", comparator);
        }
        return helper.toString();
      }
    
      /** Returns an empty mutable map whose keys will respect this {@link ElementOrder}. */
      <K extends T, V> Map<K, V> createMap(int expectedSize) {
        switch (type) {
          case UNORDERED:
            return Maps.newHashMapWithExpectedSize(expectedSize);
          case INSERTION:
          case STABLE:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/HashingTest.java

      public void testConsistentHash_probabilities() {
        AtomicLongMap<Integer> map = AtomicLongMap.create();
        Random r = new Random(9);
        for (int i = 0; i < ITERS; i++) {
          countRemaps(r.nextLong(), map);
        }
        for (int shard = 2; shard <= MAX_SHARDS; shard++) {
          // Rough: don't exceed 1.2x the expected number of remaps by more than 20
          assertTrue(map.get(shard) <= 1.2 * ITERS / shard + 20);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 17:40:09 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/envoy/configdump/listener.go

    	// TODO support list
    	n := match.GetMatcherTree().GetInput().GetName()
    
    	var m map[string]*matcher.Matcher_OnMatch
    	equality := "="
    	switch v := match.GetMatcherTree().GetTreeType().(type) {
    	case *matcher.Matcher_MatcherTree_ExactMatchMap:
    		m = v.ExactMatchMap.Map
    	case *matcher.Matcher_MatcherTree_PrefixMatchMap:
    		m = v.PrefixMatchMap.Map
    		equality = "^"
    	case *matcher.Matcher_MatcherTree_CustomMatch:
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Nov 29 12:37:14 UTC 2023
    - 18.1K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileSelector.java

                ProfileActivationContext context,
                ModelProblemCollector problems) {
            return getActiveProfiles(profiles.stream().map(Profile::new).collect(Collectors.toList()), context, problems)
                    .stream()
                    .map(Profile::getDelegate)
                    .collect(Collectors.toList());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. tests/error_translator_test.go

    		gorm.Model
    		Name string `gorm:"unique"`
    	}
    
    	db, err := OpenTestConnection(&gorm.Config{TranslateError: true})
    	if err != nil {
    		t.Fatalf("failed to connect database, got error %v", err)
    	}
    
    	dialectors := map[string]bool{"sqlite": true, "postgres": true, "mysql": true, "sqlserver": true}
    	if supported, found := dialectors[db.Dialector.Name()]; !(found && supported) {
    		return
    	}
    
    	DB.Migrator().DropTable(&City{})
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jul 12 13:21:22 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Collections2.java

      }
    
      private static <E extends @Nullable Object> ObjectCountHashMap<E> counts(
          Collection<E> collection) {
        ObjectCountHashMap<E> map = new ObjectCountHashMap<>();
        for (E e : collection) {
          map.put(e, map.get(e) + 1);
        }
        return map;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/Lmhosts.java

    import java.io.Reader;
    import java.util.HashMap;
    import java.util.Map;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSContext;
    import jcifs.smb.SmbFileInputStream;
    
    
    /**
     * 
     *
     */
    public class Lmhosts {
    
        private static final Logger log = LoggerFactory.getLogger(Lmhosts.class);
    
        private final Map<Name, NbtAddress> table = new HashMap<>();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.1K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java

     * under the License.
     */
    package org.apache.maven.project.inheritance.t02;
    
    import java.io.File;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.apache.maven.model.Build;
    import org.apache.maven.model.Plugin;
    import org.apache.maven.model.PluginExecution;
    import org.apache.maven.project.MavenProject;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java

     */
    package org.apache.maven.lifecycle;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.util.Arrays;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.lifecycle.internal.LifecycleExecutionPlanCalculator;
    import org.apache.maven.lifecycle.internal.LifecycleStarter;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
  10. schema/naming_test.go

    package schema
    
    import (
    	"strings"
    	"testing"
    )
    
    func TestToDBName(t *testing.T) {
    	maps := map[string]string{
    		"":                          "",
    		"x":                         "x",
    		"X":                         "x",
    		"userRestrictions":          "user_restrictions",
    		"ThisIsATest":               "this_is_a_test",
    		"PFAndESI":                  "pf_and_esi",
    		"AbcAndJkl":                 "abc_and_jkl",
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue May 30 02:00:48 UTC 2023
    - 7K bytes
    - Viewed (0)
Back to top