- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 2,556 for specs_ (0.09 sec)
-
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/factories/Optimizations.java
public static <T extends Collection<ExcludeSpec>> ExcludeSpec optimizeCollection(ExcludeFactory factory, T specs, Function<T, ExcludeSpec> onMiss) { if (specs.isEmpty()) { return factory.nothing(); } if (specs.size() == 1) { return specs.iterator().next(); } return onMiss.apply(specs); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/factories/Intersection.java
*/ boolean applies(ExcludeSpec left, ExcludeSpec right); /** * Simplifies 2 given exclude specs (an any order) into a single exclude spec. * * @param left an exclude spec * @param right another exclude spec * @param factory the factory that can be used to create a new exclude spec
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 23 21:03:05 UTC 2024 - 2.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/ast/astutil/imports.go
} for j := 0; j < len(gen.Specs); j++ { spec := gen.Specs[j] impspec := spec.(*ast.ImportSpec) if importName(impspec) != name || importPath(impspec) != path { continue } // We found an import spec that imports path. // Delete it. delspecs = append(delspecs, impspec) deleted = true copy(gen.Specs[j:], gen.Specs[j+1:]) gen.Specs = gen.Specs[:len(gen.Specs)-1]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 10 21:56:21 UTC 2022 - 13.4K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/AbstractCrossBuildPerformanceTestRunner.groovy
finalizeSpec(builder) def specification = builder.build() if (specs.any { it.displayName == specification.displayName }) { throw new IllegalStateException("Multiple specifications with display name '${specification.displayName}.") } specs << specification } protected void defaultSpec(BuildExperimentSpec.Builder builder) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 25 14:54:56 UTC 2024 - 5.9K bytes - Viewed (0) -
pkg/api/service/util.go
if len(service.Spec.LoadBalancerSourceRanges) > 0 { specs := service.Spec.LoadBalancerSourceRanges ipnets, err = utilnet.ParseIPNets(specs...) if err != nil { return nil, fmt.Errorf("service.Spec.LoadBalancerSourceRanges: %v is not valid. Expecting a list of IP ranges. For example, 10.0.0.0/24. Error msg: %v", specs, err) } } else {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 30 15:56:47 UTC 2023 - 3.2K bytes - Viewed (0) -
src/internal/trace/raw/writer.go
// Write out all arguments. spec := w.specs[e.Ev] for _, arg := range e.Args[:len(spec.Args)] { w.buf = binary.AppendUvarint(w.buf, arg) } if spec.IsStack { frameArgs := e.Args[len(spec.Args):] for i := 0; i < len(frameArgs); i++ { w.buf = binary.AppendUvarint(w.buf, frameArgs[i]) } } // Write out the length of the data. if spec.HasData {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 1.8K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/tasks/util/internal/PatternSpecFactory.java
import org.gradle.api.internal.file.RelativePathSpec; import org.gradle.api.internal.file.pattern.PatternMatcher; import org.gradle.api.internal.file.pattern.PatternMatcherFactory; import org.gradle.api.specs.Spec; import org.gradle.api.specs.Specs; import org.gradle.api.tasks.util.PatternSet; import org.gradle.internal.file.excludes.FileSystemDefaultExcludesListener; import org.gradle.internal.service.scopes.Scope;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 6.7K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/DefaultDomainObjectCollectionTest.groovy
def spec = new Spec<CharSequence>() { boolean isSatisfiedBy(CharSequence element) { return false } } container.add("a") expect: container.matching(spec).empty } def canGetFilteredCollectionContainingAllObjectsWhichMeetSpec() { def spec = new Spec<CharSequence>() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 16 23:50:58 UTC 2024 - 11.3K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/plugins/DefaultPluginCollection.java
return filtered(createFilter(type)); } @Override public PluginCollection<T> matching(Spec<? super T> spec) { return filtered(createFilter(spec)); } @Override public PluginCollection<T> matching(Closure spec) { return matching(Specs.<T>convertClosureToSpec(spec)); } @Override public Action<? super T> whenPluginAdded(Action<? super T> action) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 20 10:28:05 UTC 2020 - 2.9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/tasks/execution/DescribingAndSpec.java
import groovy.lang.Closure; import org.gradle.api.specs.AndSpec; import org.gradle.api.specs.CompositeSpec; import org.gradle.api.specs.Spec; import org.gradle.api.specs.internal.ClosureSpec; import org.gradle.internal.Cast; import javax.annotation.Nullable; /** * A {@link CompositeSpec} that requires all component specs to provide a description. * The aggregation is based on an {@link AndSpec}. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 28 22:10:10 UTC 2022 - 2.4K bytes - Viewed (0)