- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 65 for patterns (0.15 sec)
-
impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/IncludesArtifactFilter.java
import org.apache.maven.artifact.Artifact; /** * Filter to include from a list of artifact patterns. * */ public class IncludesArtifactFilter implements ArtifactFilter { private final Set<String> patterns; public IncludesArtifactFilter(List<String> patterns) { this.patterns = new LinkedHashSet<>(patterns); } public boolean include(Artifact artifact) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExcludesArtifactFilter.java
import org.apache.maven.artifact.Artifact; /** * Filter to exclude from a list of artifact patterns. * * TODO I think this is equiv. to exclusion set filter in maven-core */ public class ExcludesArtifactFilter extends IncludesArtifactFilter { public ExcludesArtifactFilter(List<String> patterns) { super(patterns); } public boolean include(Artifact artifact) { return !super.include(artifact);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.3K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/FilterHashEqualsTest.java
/** */ class FilterHashEqualsTest { @Test void testIncludesExcludesArtifactFilter() { List<String> patterns = Arrays.asList("c", "d", "e"); IncludesArtifactFilter f1 = new IncludesArtifactFilter(patterns); IncludesArtifactFilter f2 = new IncludesArtifactFilter(patterns); assertTrue(f1.equals(f2)); assertTrue(f2.equals(f1)); assertTrue(f1.hashCode() == f2.hashCode());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.6K bytes - Viewed (0) -
common/config/.golangci.yml
- G402 - G404 issues: # List of regexps of issue texts to exclude, empty list by default. # But independently from this option we use default exclude patterns, # it can be disabled by `exclude-use-default: false`. To list all # excluded by default patterns execute `golangci-lint run --help` exclude: - composite literal uses unkeyed fields # Which dirs to exclude: issues from them won't be reported.
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 17:36:49 UTC 2024 - 11.7K bytes - Viewed (0) -
ci/official/utilities/code_check_full.bats
# in TensorFlow are manually enumerated rather than generated automatically. do_external_licenses_check(){ BUILD_TARGET="$1" LICENSES_TARGET="$2" # grep patterns for targets which are allowed to be missing from the licenses cat > $BATS_TEST_TMPDIR/allowed_to_be_missing <<EOF @absl_py//absl @bazel_tools//platforms @bazel_tools//third_party/ @bazel_tools//tools @local
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Oct 23 18:48:35 UTC 2024 - 13.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java
// global-level settings somewhere other than ${user.home} and ${maven.home}, // respectively. Using a simple replacement of these patterns will allow them // to specify the absolute path to these files in a customized components.xml // file. Ideally, we'd do full pattern-evaluation against the sysprops, but this // is a first step. There are several replacements below, in order to normalize
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java
* </ul> * * @param originalRepository to compare for a match. * @param pattern used for match. * @return true if the repository is a match to this pattern. */ static boolean matchPattern(ArtifactRepository originalRepository, String pattern) { boolean result = false; String originalId = originalRepository.getId();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionArtifactFilter.java
import java.util.function.Predicate; import java.util.stream.Collectors; import org.apache.maven.artifact.Artifact; import org.apache.maven.model.Exclusion; /** * Filter to exclude from a list of artifact patterns. */ public class ExclusionArtifactFilter implements ArtifactFilter { private final List<Exclusion> exclusions; private final List<Predicate<Artifact>> predicates;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/FileSizeFormat.java
import org.apache.maven.api.services.MessageBuilder; /** * Formats file size with the associated <a href="https://en.wikipedia.org/wiki/Metric_prefix">SI</a> prefix * (GB, MB, kB) and using the patterns <code>#0.0</code> for numbers between 1 and 10 * and <code>###0</code> for numbers between 10 and 1000+ by default. * * @see <a href="https://en.wikipedia.org/wiki/Metric_prefix">https://en.wikipedia.org/wiki/Metric_prefix</a>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.5K bytes - Viewed (0) -
doc/godebug.md
client or server to have an empty Content-Length header. This behavior is controlled by the `httplaxcontentlength` setting. Go 1.22 changed the behavior of ServeMux to accept extended patterns and unescape both patterns and request paths by segment. This behavior can be controlled by the [`httpmuxgo121` setting](/pkg/net/http/#ServeMux). Go 1.22 added the [Alias type](/pkg/go/types#Alias) to [go/types](/pkg/go/types)
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Oct 28 14:46:33 UTC 2024 - 17.2K bytes - Viewed (0)