Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 520 for map1 (0.98 sec)

  1. src/internal/fmtsort/sort.go

    // SortedMap is a slice of KeyValue pairs that simplifies sorting
    // and iterating over map entries.
    //
    // Each KeyValue pair contains a map key and its corresponding value.
    type SortedMap []KeyValue
    
    // KeyValue holds a single key and value pair found in a map.
    type KeyValue struct {
    	Key, Value reflect.Value
    }
    
    // Sort accepts a map and returns a SortedMap that has the same keys and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:31:45 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/TestSortedMapGenerator.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Map.Entry;
    import java.util.SortedMap;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Creates sorted maps, containing sample elements, to be tested.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/NavigableMapTestSuiteBuilder.java

          NavigableMap<K, V> map = (NavigableMap<K, V>) sortedMap;
          if (from == Bound.NO_BOUND && to == Bound.INCLUSIVE) {
            return map.headMap(lastInclusive, true);
          } else if (from == Bound.EXCLUSIVE && to == Bound.NO_BOUND) {
            return map.tailMap(firstExclusive, false);
          } else if (from == Bound.EXCLUSIVE && to == Bound.EXCLUSIVE) {
            return map.subMap(firstExclusive, false, lastExclusive, false);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 7K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/internal/locking/DependencyLockingGraphVisitor.java

        private Set<ModuleComponentIdentifier> allResolvedModules;
        private Set<ModuleComponentIdentifier> changingResolvedModules;
        private Set<ModuleComponentIdentifier> extraModules;
        private Map<ModuleComponentIdentifier, String> forcedModules;
        private Map<ModuleIdentifier, ModuleComponentIdentifier> modulesToBeLocked;
        private DependencyLockingState dependencyLockingState;
        private boolean lockOutOfDate = false;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  5. src/cmd/internal/pgo/pgo.go

    // NamedEdgeMap contains all unique call edges in the profile and their
    // edge weight.
    type NamedEdgeMap struct {
    	Weight map[NamedCallEdge]int64
    
    	// ByWeight lists all keys in Weight, sorted by edge weight from
    	// highest to lowest.
    	ByWeight []NamedCallEdge
    }
    
    func emptyProfile() *Profile {
    	// Initialize empty maps/slices for easier use without a requiring a
    	// nil check.
    	return &Profile{
    		NamedEdgeMap: NamedEdgeMap{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:20:01 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/main/java/org/gradle/language/cpp/internal/NativeDependencyCache.java

        public File getModuleMapFile(final ModuleMap moduleMap) {
            final String hash = moduleMap.getHashCode().toCompactString();
            return cache.useCache(() -> {
                File dir = new File(cache.getBaseDir(), "maps/" + hash + "/" + moduleMap.getModuleName());
                File moduleMapFile = new File(dir, "module.modulemap");
                if (!moduleMapFile.isFile()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:50 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java

        ImmutableTypeToInstanceMap<Number> map =
            ImmutableTypeToInstanceMap.<Number>builder()
                .put(Integer.class, 0)
                .put(int.class, 1)
                .build();
        assertEquals(2, map.size());
    
        assertEquals(0, (int) map.getInstance(Integer.class));
        assertEquals(0, (int) map.getInstance(TypeToken.of(Integer.class)));
        assertEquals(1, (int) map.getInstance(int.class));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. pkg/kube/multicluster/component.go

    	"istio.io/istio/pkg/kube/kclient"
    	"istio.io/istio/pkg/kube/kubetypes"
    	"istio.io/istio/pkg/maps"
    	"istio.io/istio/pkg/slices"
    )
    
    type ComponentConstraint interface {
    	Close()
    	HasSynced() bool
    }
    
    type Component[T ComponentConstraint] struct {
    	mu          sync.RWMutex
    	constructor func(cluster *Cluster) T
    	clusters    map[cluster.ID]T
    }
    
    func (m *Component[T]) ForCluster(clusterID cluster.ID) *T {
    	m.mu.RLock()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 02:13:10 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/outbuf_mmap.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build unix
    
    package ld
    
    import (
    	"syscall"
    )
    
    // Mmap maps the output file with the given size. It unmaps the old mapping
    // if it is already mapped. It also flushes any in-heap data to the new
    // mapping.
    func (out *OutBuf) Mmap(filesize uint64) (err error) {
    	oldlen := len(out.buf)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:20:31 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/RunInProcess.java

    import org.gradle.internal.invocation.BuildAction;
    import org.gradle.launcher.exec.BuildActionExecutor;
    import org.gradle.launcher.exec.BuildActionParameters;
    import org.gradle.launcher.exec.BuildActionResult;
    
    /**
     * Maps from the client view of a request to the daemon view. Used when a build is run in the client.
     */
    public class RunInProcess implements BuildActionExecutor<BuildActionParameters, ClientBuildRequestContext> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:54:56 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top