Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,393 for better (0.15 sec)

  1. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/AbstractCrossVersionPerformanceTest.groovy

            runner.addBuildMutator { invocationSettings ->
                new ApplyDevelocityPluginMutator(invocationSettings.projectDir)
            }
        }
    
        static {
            // TODO - find a better way to cleanup
            System.addShutdownHook {
                RESULTS_STORE.close()
            }
        }
    }
    
    class ApplyDevelocityPluginMutator implements BuildMutator {
    
        private final File projectDir
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 14:54:56 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/DefaultProvider.java

            } catch (NoClassDefFoundError e) {
                return null;
            }
        }
    
        @Nullable
        private Class<T> inferTypeFromCallableGenericArgument() {
            // We could do a better job of figuring this out
            // Extract the type for common case that is quick to calculate
            for (Type superType : value.getClass().getGenericInterfaces()) {
                if (superType instanceof ParameterizedType) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 17 23:22:41 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/model/InvalidModelRuleException.java

        // way it is due to how we render chained exceptions on build failures.
        // That is, because the information is usually dense, splitting things up this way provides better output.
    
        private final String descriptor;
    
        public InvalidModelRuleException(ModelRuleDescriptor descriptor, Throwable cause) {
            super("There is a problem with model rule " + descriptor.toString() + ".", cause);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. platforms/software/platform-base/src/main/java/org/gradle/platform/base/component/BaseComponentSpec.java

    import org.gradle.platform.base.component.internal.DefaultComponentSpec;
    
    /**
     * Base class that may be used for custom {@link GeneralComponentSpec} implementations. However, it is generally better to use an
     * interface annotated with {@link org.gradle.model.Managed} and not use an implementation class at all.
     */
    @Incubating
    public class BaseComponentSpec extends DefaultComponentSpec implements GeneralComponentSpec {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/CumulativeScopeArtifactFilter.java

     */
    package org.apache.maven.artifact.resolver.filter;
    
    import java.util.Collection;
    import java.util.HashSet;
    import java.util.Set;
    
    /**
     * Filter to only retain objects in the given scope or better. This implementation allows the accumulation of multiple
     * scopes and their associated implied scopes, so that the user can filter apply a series of implication rules in a
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 3K bytes
    - Viewed (0)
  6. platforms/jvm/platform-jvm/src/main/java/org/gradle/api/plugins/jvm/internal/JvmEcosystemAttributesDetails.java

         * resources
         */
        JvmEcosystemAttributesDetails asJar();
    
        /**
         * Configures the target JVM version. For producers of a library, it's in general
         * a better idea to rely on inference which will calculate the target JVM version
         * lazily, for example calling {@code JvmLanguageUtilities#useDefaultTargetPlatformInference(Configuration, TaskProvider)}.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultRootLocator.java

                // that would happen here should cause the build to fail at a later stage
                // (when actually parsing the POM) and will lead to a better exception being
                // displayed to the user, so just bail out and return false.
            }
            return false;
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/model/ModelContainer.java

         * However, it is currently easy for state to leak from one project to another so this is not a strong guarantee.
         *
         * <p>It is usually a better option to use {@link #newCalculatedValue(Object)} instead of this method.</p>
         */
        <S> S fromMutableState(Function<? super T, ? extends S> factory);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:24 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/queue/MultiEndPointQueue.java

        }
    
        public void drain(Collection<InterHubMessage> drainTo) {
            drainTo.addAll(queue);
            queue.clear();
        }
    
        private void flush() {
            // TODO - need to do a better job of routing messages when there are multiple endpoints. This is just going to forward all queued messages to the first
            // waiting endpoint, even if there are multiple waiting to do work
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/artifact/ResolvedArtifactSetResolver.java

            // This may be called from an unmanaged thread, so temporarily enlist the current thread
            // as a worker if it is not already so that it can visit the results. It would be better
            // to instead to memoize the results on the first visit so that this is not required.
            workerLeaseService.runAsUnmanagedWorkerThread(() -> visitArtifacts(artifacts, visitor, resolutionHost));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 12:35:27 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top