Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1461 - 1470 of 2,306 for xmap (0.09 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. internal/bucket/object/lock/lock.go

    func FilterObjectLockMetadata(metadata map[string]string, filterRetention, filterLegalHold bool) map[string]string {
    	// Copy on write
    	dst := metadata
    	var copied bool
    	delKey := func(key string) {
    		key = strings.ToLower(key)
    		if _, ok := metadata[key]; !ok {
    			return
    		}
    		if !copied {
    			dst = make(map[string]string, len(metadata))
    			for k, v := range metadata {
    				dst[k] = v
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 29 01:20:27 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  3. clause/set.go

    func (set Set) MergeClause(clause *Clause) {
    	copiedAssignments := make([]Assignment, len(set))
    	copy(copiedAssignments, set)
    	clause.Expression = Set(copiedAssignments)
    }
    
    func Assignments(values map[string]interface{}) Set {
    	keys := make([]string, 0, len(values))
    	for key := range values {
    		keys = append(keys, key)
    	}
    	sort.Strings(keys)
    
    	assignments := make([]Assignment, len(keys))
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Nov 29 03:02:44 UTC 2021
    - 1.4K 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