Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 60 for ToMap (0.03 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultMojoExecution.java

                            .filter(Objects::nonNull)
                            .map(Node::getDependency)
                            .filter(Objects::nonNull)
                            .collect(Collectors.toMap(d -> d.getGroupId() + ":" + d.getArtifactId(), d -> d)));
                }
            };
        }
    
        @Override
        public PluginExecution getModel() {
            return delegate.getPlugin().getExecutions().stream()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. internal/bucket/replication/filter.go

    	if len(f.cachedTags) == 0 {
    		return true
    	}
    
    	parsedTags, err := tags.ParseObjectTags(userTags)
    	if err != nil {
    		return false
    	}
    
    	tagsMap := parsedTags.ToMap()
    
    	// This filter has tags configured but this object
    	// does not have any tag, skip this object
    	if len(tagsMap) == 0 {
    		return false
    	}
    
    	// Both filter and object have tags, find a match,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 28 18:25:46 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  3. cmd/data-usage-cache.go

    		if intOld.start != intNew.start || intOld.end != intNew.end {
    			nidx++
    			continue
    		}
    		h[nidx] += v[oidx]
    		oidx++
    		nidx++
    	}
    }
    
    // toMap returns the map to a map[string]uint64.
    func (h *sizeHistogram) toMap() map[string]uint64 {
    	res := make(map[string]uint64, dataUsageBucketLen)
    	var splCount uint64
    	for i, count := range h {
    		szInt := ObjectsHistogramIntervals[i]
    		switch {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/ds/AbstractDataStore.java

                    value = value.replace("${" + entry.getKey() + "}", entry.getValue());
                }
                return new Pair<>(key, value);
            }).collect(Collectors.toMap(Pair<String, String>::getFirst, Pair<String, String>::getSecond));
            final Map<String, String> configScriptMap = config.getHandlerScriptMap();
    
            initParamMap.putAll(configParamMap);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                        final int y = DfTypeUtil.toInteger(v[1].trim());
                        return new Pair<>(x, y);
                    }
                    return null;
                }).filter(v -> v != null).collect(Collectors.toMap(Pair::getFirst, Pair::getSecond)));
                propMap.put(SMB_AVAILABLE_SID_TYPES, params);
            }
            return params.get(sidType);
        }
    
        String getSupportedLanguages();
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

            // Lifecycles cannot be cached as extensions might add custom lifecycles later in the execution.
            try {
                return registry != null
                        ? registry.stream().collect(Collectors.toMap(lf -> lf.id(), lf -> new Lifecycle(registry, lf)))
                        : Map.of();
            } catch (LookupException e) {
                throw new IllegalStateException("Unable to lookup lifecycles from the plexus container", e);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. cmd/bucket-policy.go

    		cloneHeader.Del("x-amz-signature-age")
    	}
    
    	if userTags := cloneHeader.Get(xhttp.AmzObjectTagging); userTags != "" {
    		tag, _ := tags.ParseObjectTags(userTags)
    		if tag != nil {
    			tagMap := tag.ToMap()
    			keys := make([]string, 0, len(tagMap))
    			for k, v := range tagMap {
    				args[pathJoin("ExistingObjectTag", k)] = []string{v}
    				args[pathJoin("RequestObjectTag", k)] = []string{v}
    				keys = append(keys, k)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/Utils.java

            } catch (IOException e) {
                return getCanonicalPath(path.getParent()).resolve(path.getFileName());
            }
        }
    
        @Nonnull
        public static Map<String, String> toMap(Properties properties) {
            requireNonNull(properties, "properties");
            HashMap<String, String> map = new HashMap<>();
            for (String key : properties.stringPropertyNames()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

      }
    
      public void testToMap() {
        assertThat(fluent(1, 2, 3).toMap(Functions.toStringFunction()).entrySet())
            .containsExactly(immutableEntry(1, "1"), immutableEntry(2, "2"), immutableEntry(3, "3"))
            .inOrder();
      }
    
      public void testToMap_nullKey() {
        assertThrows(
            NullPointerException.class, () -> fluent(1, null, 2).toMap(Functions.constant("foo")));
      }
    
      public void testToMap_nullValue() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java

    import org.apache.maven.cli.CleanArgument;
    import org.apache.maven.jline.MessageUtils;
    
    import static java.util.Objects.requireNonNull;
    import static org.apache.maven.cling.invoker.Utils.toMap;
    
    public abstract class CommonsCliOptions implements Options {
    
        protected final String source;
        protected final CLIManager cliManager;
        protected final CommandLine commandLine;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top