Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 137 for recreate (0.16 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheEnablementIntegrationTest.groovy

                assert ${debug == _ } || gradle.startParameter.configurationCacheDebug == ${debug}
                assert ${recreate == _ } || gradle.startParameter.configurationCacheRecreateCache == ${recreate}
            }
            """
    
            when:
            run(task, *options)
    
            then:
            if (ccOn) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/tasks/DirectoryPropertyExtensions.kt

    import java.io.File
    
    
    internal
    inline fun <T> DirectoryProperty.withOutputDirectory(action: (File) -> T): T =
        asFile.get().let { outputDir ->
            recreate(outputDir)
            action(outputDir)
        }
    
    
    internal
    fun recreate(outputDir: File) {
        outputDir.deleteRecursively()
        outputDir.mkdirs()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 1K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/project/taskfactory/TaskIdentityFactory.java

            this.idFactory = idFactory;
        }
    
        /**
         * Create a task identity.
         */
        public <T extends Task> TaskIdentity<T> create(String name, Class<T> type, ProjectInternal project) {
            long id = idFactory.createId();
            return doCreate(name, type, project, id);
        }
    
        /**
         * Recreate a task identity.
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. build-logic/kotlin-dsl/src/main/kotlin/gradlebuild/kotlindsl/generator/tasks/CodeGenerationTask.kt

        fun run() {
            outputDir.get().asFile.apply {
                recreate()
                writeFiles()
            }
        }
    
        protected
        fun File.writeFile(relativePath: String, text: String) {
            resolve(relativePath).apply {
                parentFile.mkdirs()
                writeText(text)
            }
        }
    
        private
        fun File.recreate() {
            deleteRecursively()
            mkdirs()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Sep 30 16:17:26 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  5. cmd/peer-s3-server.go

    		}, index)
    	}
    
    	var recreate bool
    	errs := g.Wait()
    	for index, err := range errs {
    		if errors.Is(err, errVolumeNotEmpty) {
    			recreate = true
    		}
    		if err == nil && recreate {
    			// ignore any errors
    			localDrives[index].MakeVol(ctx, bucket)
    		}
    	}
    
    	// Since we recreated buckets and error was `not-empty`, return not-empty.
    	if recreate {
    		return errVolumeNotEmpty
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. platforms/enterprise/enterprise-plugin-performance/README.md

    To run locally, you will need to set this value whatever version of the build scan plugin you want to test with (whatever value is in source control is likely quite out of date).  Note also that when this value changes, you will need to clean and recreate the test projects in `templates.gradle`....
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 17 10:38:06 UTC 2023
    - 716 bytes
    - Viewed (0)
  7. src/vendor/golang.org/x/sys/cpu/syscall_aix_gccgo.go

    // Copyright 2020 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Recreate a getsystemcfg syscall handler instead of
    // using the one provided by x/sys/unix to avoid having
    // the dependency between them. (See golang.org/issue/32102)
    // Moreover, this file will be used during the building of
    // gccgo's libgo and thus must not used a CGo method.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 726 bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/ClassLoaderSpec.java

     * limitations under the License.
     */
    
    package org.gradle.internal.classloader;
    
    import java.io.Serializable;
    
    /**
     * An immutable description of a ClassLoader hierarchy that can be used to recreate the hierarchy in a different process.
     *
     * Subclasses should implement equals() and hashCode(), so that the spec can be used as a hashmap key.
     */
    public abstract class ClassLoaderSpec implements Serializable {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 991 bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/model/NamedObjectInstantiatorTest.groovy

            n1.toString() == "a"
            n2.toString() == "b"
    
            n1.is(factory.named(Named, "a"))
            n2.is(factory.named(Named, "b"))
        }
    
        def "can unpack and recreate Named instance"() {
            expect:
            def n1 = factory.named(Named, "a")
            n1 instanceof Managed
            n1.publicType() == Named
            n1.isImmutable()
            def state = n1.unpackState()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  10. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/CrossBuildInMemoryCache.java

     */
    @ThreadSafe
    public interface CrossBuildInMemoryCache<K, V> extends Cache<K, V> {
        /**
         * Locates the given entry, using the supplied factory when the entry is not present or has been discarded, to recreate the entry in the cache.
         *
         * <p>Implementations must prevent more than one thread calculating the same key at the same time.
         */
        @Override
        V get(K key, Function<? super K, ? extends V> factory);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top