Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 385 for regUsed (0.18 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/api/internal/ReusableAction.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package org.gradle.api.internal;
    
    /**
     * A marker interface for rules which can be safely reused because they are either
     * stateless, or effectively immutable. Ideally this should be inferred, which is
     * why the interface is internal.
     */
    public interface ReusableAction {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 893 bytes
    - Viewed (0)
  2. src/runtime/metrics/sample.go

    // manipulated while a Read with that value is outstanding; that is a data race.
    // This property includes pointer-typed Values (for example, [Float64Histogram])
    // whose underlying storage will be reused by Read when possible. To safely use
    // such values in a concurrent setting, all data must be deep-copied.
    //
    // It is safe to execute multiple Read calls concurrently, but their arguments
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 16:59:11 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. src/sync/waitgroup.go

    // at any time.
    // Typically this means the calls to Add should execute before the statement
    // creating the goroutine or other event to be waited for.
    // If a WaitGroup is reused to wait for several independent sets of events,
    // new Add calls must happen after all previous Wait calls have returned.
    // See the WaitGroup example.
    func (wg *WaitGroup) Add(delta int) {
    	if race.Enabled {
    		if delta < 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/use/PluginUseClassLoadingIntegrationSpec.groovy

    import org.gradle.test.fixtures.file.LeaksFileHandles
    import spock.lang.Issue
    
    @LeaksFileHandles
    class PluginUseClassLoadingIntegrationSpec extends AbstractPluginSpec {
    
        def "plugin classes are reused if possible"() {
            given:
            publishPlugin()
            settingsFile << """
                include "p1"
                include "p2"
            """
    
            when:
            file("p1/build.gradle") << USE
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/ModuleComponentGraphResolveState.java

    import javax.annotation.concurrent.ThreadSafe;
    
    /**
     * A specialized {@link ComponentGraphResolveState} for external components.
     *
     * <p>Instances of this type are cached and reused for multiple graph resolutions, possibly in parallel. This means that the implementation must be thread-safe.
     */
    @ThreadSafe
    public interface ModuleComponentGraphResolveState extends ExternalComponentGraphResolveState {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 17:38:42 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheProjectReportIntegTest.groovy

            configurationCacheRun(task, *options)
            def secondRunOutput = removeVfsLogOutput(result.normalizedOutput)
                .replaceAll(/Reusing configuration cache.\n/, '')
                .replaceAll(/Configuration cache entry reused.\n/, '')
    
            then:
            firstRunOutput == secondRunOutput
    
            where:
            task                    | options
            "dependencyReport"      | []
            "taskReport"            | []
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildServiceIntegrationTest.groovy

            then:
            configurationCache.assertStateLoaded()
    
            and: 'classloader1 is reused'
            outputContains 'probe(classloader1) => 4'
            outputContains 'probe(classloader1) => 5'
            outputContains 'probe(classloader1) => 6'
    
            and: 'classloader2 is reused'
            outputContains 'probe(classloader2) => 4'
            outputContains 'probe(classloader2) => 5'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 11:47:23 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DaemonStartupMessage.java

        public static final String SUBSEQUENT_BUILDS_WILL_BE_FASTER = "(subsequent builds will be faster)";
        public static final String NOT_REUSED_MESSAGE = " could not be reused, use --status for details";
    
        public static String generate(final int numBusy, final int numIncompatible, final int numStopped) {
            final int totalUnavailableDaemons = numBusy + numIncompatible + numStopped;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. src/net/resolverdialfunc_test.go

    	if err != nil {
    		panic(err) // internal fault, not user
    	}
    	return nil
    }
    
    var (
    	ErrNotExist = errors.New("name does not exist") // maps to RCode3, NXDOMAIN
    	ErrRefused  = errors.New("refused")             // maps to RCode5, REFUSED
    )
    
    type resolverFuncConn struct {
    	h       *resolverDialHandler
    	network string
    	address string
    	builder *dnsmessage.Builder
    	q       dnsmessage.Question
    	ttl     uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  10. testing/soak/src/integTest/groovy/org/gradle/jvm/JavaCompilationSoakTest.groovy

            expect:
            10.times {
                println("Run $it")
                succeeds("clean", "assemble", "-Pcounter="+it)
            }
        }
    
        def "can recompile many times in a row with a reused compiler daemon"() {
            expect:
            10.times {
                println("Run $it")
                succeeds("clean", "assemble", "-Pcounter=0")
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top