Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 301 for destroys (0.22 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/properties/annotations/DefaultTypeMetadataStoreTest.groovy

            @OutputFiles
            Set<File> outputFiles
            @OutputDirectory
            File outputDirectory
            @OutputDirectories
            Set<File> outputDirectories
            @Destroys
            Set<File> destroys
            @LocalState
            File someCache
            @Inject
            Object injectedService
            @Internal
            Object internal
            @ReplacedBy("inputString")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/execution/plan/DefaultExecutionPlanParallelTest.groovy

            def projectB = project(project, "b")
            Task destroyer = task("destroyer", project: projectB, type: AsyncWithDestroysFile, dependsOn: [dependency])
            _ * destroyer.destroysFile >> file("inputDir").file("inputSubdir").file("foo")
    
            when:
            addToGraph(destroyer)
            addToGraphAndPopulate(producer)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 93.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/properties/bean/DefaultPropertyWalkerTest.groovy

            @OutputFile
            File outputFile = new File("output")
    
            @Nested
            Object bean = new NestedBean()
    
            @Destroys
            File destroyed = new File('destroyed')
    
            @LocalState
            File someLocalState = new File('localState')
    
        }
    
        static class NestedBean {
            @Input
            String nestedInput = 'nested'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/project/taskfactory/AnnotationProcessingTasks.java

    package org.gradle.api.internal.project.taskfactory;
    
    import com.google.common.collect.ImmutableList;
    import org.gradle.api.Action;
    import org.gradle.api.DefaultTask;
    import org.gradle.api.Named;
    import org.gradle.api.tasks.Destroys;
    import org.gradle.api.tasks.Input;
    import org.gradle.api.tasks.InputDirectory;
    import org.gradle.api.tasks.InputFile;
    import org.gradle.api.tasks.InputFiles;
    import org.gradle.api.tasks.LocalState;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 12 11:41:48 UTC 2022
    - 15.8K bytes
    - Viewed (0)
  5. testing/integ-test/src/integTest/groovy/org/gradle/integtests/TaskExecutionIntegrationTest.groovy

            }
        }
    
        @Timeout(30)
        def "downstream dependencies of a failed task do not block destroyer to run"() {
            buildFile << """
                def mutatedFile = file("build/mutated.txt")
                def destroyer = tasks.register("destroyer") {
                    destroyables.register(mutatedFile)
                    doLast {
                        assert mutatedFile.delete()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/ParallelTaskExecutionIntegrationTest.groovy

            2.times {
                blockingServer.expectConcurrent(1, ":a:aPing", ":b:bPing")
                run ":a:aPing", ":b:bPing"
            }
        }
    
        def "tasks are not run in parallel if destroy files overlap with input files (destroy first)"() {
            given:
            withParallelThreads(2)
    
            buildFile << """
                def foo = file("foo")
    
                destroyerPing.destroyables.register foo
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 14:00:51 UTC 2024
    - 21K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/pod_container_manager_linux.go

    			return nil
    		}
    	}
    	return utilerrors.NewAggregate(errlist)
    }
    
    // Destroy destroys the pod container cgroup paths
    func (m *podContainerManagerImpl) Destroy(podCgroup CgroupName) error {
    	// Try killing all the processes attached to the pod cgroup
    	if err := m.tryKillingCgroupProcesses(podCgroup); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 16:38:36 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/api/tasks/Delete.java

            }
            setDidWork(didWork);
        }
    
        /**
         * Returns the resolved set of files which will be deleted by this task.
         *
         * @return The files. Never returns null.
         */
        @Destroys
        public FileCollection getTargetFiles() {
            return paths;
        }
    
        /**
         * Returns the set of files which will be deleted by this task.
         *
         * @return The files. Never returns null.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 24 23:13:41 UTC 2022
    - 4K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/types.go

    	EnsureExists(*v1.Pod) error
    
    	// Exists returns true if the pod cgroup exists.
    	Exists(*v1.Pod) bool
    
    	// Destroy takes a pod Cgroup name as argument and destroys the pod's container.
    	Destroy(name CgroupName) error
    
    	// ReduceCPULimits reduces the CPU CFS values to the minimum amount of shares.
    	ReduceCPULimits(name CgroupName) error
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 24 18:21:21 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeleteTaskIntegrationTest.groovy

            then:
            !file('foo').exists()
            !file('bar').exists()
            !file('baz').exists()
        }
    
        @ToBeFixedForConfigurationCache(skip = INVESTIGATE)
        def "deleted files show up in task destroys"() {
            buildFile << """
                import org.gradle.internal.properties.PropertyVisitor
                import org.gradle.internal.properties.bean.PropertyWalker
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top