Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1671 - 1680 of 2,203 for omap (0.02 sec)

  1. cmd/erasure-healing.go

    	return nil
    }
    
    // listAllBuckets lists all buckets from all disks. It also
    // returns the occurrence of each buckets in all disks
    func listAllBuckets(ctx context.Context, storageDisks []StorageAPI, healBuckets map[string]VolInfo, readQuorum int) error {
    	g := errgroup.WithNErrs(len(storageDisks))
    	var mu sync.Mutex
    	for index := range storageDisks {
    		index := index
    		g.Go(func() error {
    			if storageDisks[index] == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 02 17:50:41 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  2. src/archive/zip/reader.go

    	r.fileListOnce.Do(func() {
    		// files and knownDirs map from a file/directory name
    		// to an index into the r.fileList entry that we are
    		// building. They are used to mark duplicate entries.
    		files := make(map[string]int)
    		knownDirs := make(map[string]int)
    
    		// dirs[name] is true if name is known to be a directory,
    		// because it appears as a prefix in a path.
    		dirs := make(map[string]bool)
    
    		for _, file := range r.File {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Sat Aug 03 01:05:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/Striped.java

     * wants to create a {@code Striped<Lock>} of many locks, but worries that in most cases only a
     * small portion of these would be in use.
     *
     * <p>Prior to this class, one might be tempted to use {@code Map<K, Lock>}, where {@code K}
     * represents the task. This maximizes concurrency by having each unique key mapped to a unique
     * lock, but also maximizes memory footprint. On the other extreme, one could use a single lock for
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

        private final ArtifactHandlerManager artifactHandlerManager;
    
        private final Map<String, ArtifactRepositoryLayout> layouts;
    
        @Inject
        public MavenRepositorySystem(
                ArtifactHandlerManager artifactHandlerManager, Map<String, ArtifactRepositoryLayout> layouts) {
            this.artifactHandlerManager = artifactHandlerManager;
            this.layouts = layouts;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  5. cmd/os-instrumented.go

    	var m madmin.OSMetrics
    	m.CollectedAt = time.Now()
    	m.LifeTimeOps = make(map[string]uint64, osMetricLast)
    	for i := osMetric(0); i < osMetricLast; i++ {
    		if n := atomic.LoadUint64(&o.operations[i]); n > 0 {
    			m.LifeTimeOps[i.String()] = n
    		}
    	}
    	if len(m.LifeTimeOps) == 0 {
    		m.LifeTimeOps = nil
    	}
    
    	m.LastMinute.Operations = make(map[string]madmin.TimedAction, osMetricLast)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 15 01:09:38 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. cmd/bucket-lifecycle-handlers.go

    	// Validate the transition storage ARNs
    	if err = validateTransitionTier(bucketLifecycle); err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	// Create a map of updated set of rules in request
    	updatedRules := make(map[string]lifecycle.Rule, len(bucketLifecycle.Rules))
    	for _, rule := range bucketLifecycle.Rules {
    		updatedRules[rule.ID] = rule
    	}
    
    	// Get list of rules for the bucket from disk
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. cmd/warm-backend-gcs.go

    	if gcs.Prefix != "" {
    		destObj = fmt.Sprintf("%s/%s", gcs.Prefix, object)
    	}
    	return destObj
    }
    
    func (gcs *warmBackendGCS) PutWithMeta(ctx context.Context, key string, data io.Reader, length int64, meta map[string]string) (remoteVersionID, error) {
    	object := gcs.client.Bucket(gcs.Bucket).Object(gcs.getDest(key))
    	w := object.NewWriter(ctx)
    	if gcs.StorageClass != "" {
    		w.ObjectAttrs.StorageClass = gcs.StorageClass
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/AbstractStringBasedModelInterpolator.java

    import java.nio.file.Path;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Map;
    
    import org.apache.maven.api.model.Model;
    import org.apache.maven.model.building.ModelBuildingRequest;
    import org.apache.maven.model.building.ModelProblemCollector;
    import org.apache.maven.model.path.PathTranslator;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/plugin/internal/DefaultPluginManager.java

     * under the License.
     */
    package org.apache.maven.plugin.internal;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.util.Map;
    
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.resolver.ArtifactNotFoundException;
    import org.apache.maven.artifact.resolver.ArtifactResolutionException;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/TestStringSortedMapGenerator.java

    import static com.google.common.collect.testing.Helpers.mapEntry;
    import static com.google.common.collect.testing.Helpers.orderEntriesByKey;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.List;
    import java.util.Map.Entry;
    import java.util.SortedMap;
    
    /**
     * Implementation helper for {@link TestMapGenerator} for use with sorted maps of strings.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top