- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 4,140 for action1 (0.16 sec)
-
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheGroovyClosureIntegrationTest.groovy
@Internal List<Closure> actions = [] void action() { actions.add { "Groovy closure in task with delegate=\$delegate, owner=\${owner.class.name}, this=\${this.class.name}" } } void actionWithDelegate() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 9.6K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/concurrent/IO.kt
import java.io.File /** * A scheduler of IO actions. */ interface IO { /** * Schedules the given [io action][action] for execution. * * The effect of an IO [action] is only guaranteed to be observable * by a subsequent [io] action or after the [closing][IOScope.close] of * the current [IOScope]. */ fun io(action: () -> Unit) } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 01 13:09:45 UTC 2024 - 2.3K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/process/internal/LoggingProcess.java
import org.gradle.api.Action; import org.gradle.process.internal.worker.WorkerProcessContext; import java.io.Serializable; import java.util.Arrays; import java.util.List; public class LoggingProcess implements Action<WorkerProcessContext>, Serializable { private final List<SerializableLogAction> actions; public LoggingProcess(SerializableLogAction... actions){
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 06 17:14:50 UTC 2016 - 1.3K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/ExecutionTimeTaskConfigurationIntegrationTest.groovy
"actions.set(0, anAction)" | "Task.getActions().set(int, Object)" "actions.removeAll(actions)" | "Task.getActions().removeAll()" "actions.remove(actions[0])" | "Task.getActions().remove()"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 5.3K bytes - Viewed (0) -
platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/model/EclipseModelTest.groovy
def "can configure classpath with Actions"() { given: def xmlTransformer = Mock(XmlTransformer) def xmlMerger = Spy(XmlFileContentMerger, constructorArgs: [xmlTransformer]) def xmlAction = {} as Action<XmlProvider> model.classpath.file = xmlMerger when: "configure classpath" model.classpath({ cp -> cp.downloadJavadoc = true } as Action<EclipseClasspath>) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 6.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/ModelMap.java
/** * Applies the given action to each item of the given type in this collection, as each item is required. * * <p>The given action is invoked to configure the item when the item is required. It is called before any actions provided to {@link #create(String, org.gradle.api.Action)}. * * @param type The type of elements to apply the action to.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 9.2K bytes - Viewed (0) -
platforms/core-execution/workers/src/test/groovy/org/gradle/process/internal/worker/child/SerializableMockHelper.groovy
*/ def <T> Action<T> serializable(Action<T> action, ClassLoader target) { String src = """ class TestAction implements ${Action.class.name}, ${Serializable.class.name} { Object key void execute(Object target) { def action = ${SerializableMockHelper.class.name}.ACTIONS.remove(key) action.execute(target) } } """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:36:27 UTC 2023 - 2.5K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/api/DaemonCommandExecution.java
* <p> * The given actions will be executed in the order given to the constructor, and should use the {@link #proceed()} method to allow * the next action to run. If an action does not call {@code proceed()}, it will be the last action that executes. */ public class DaemonCommandExecution {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 4K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/internal/duplex/MockStreamHandler.kt
stream.requestBody.use { stream.responseBody.use { while (true) { val action = actions.poll() ?: break action(stream) } } } return@FutureTask null } } /** Returns once all stream actions complete successfully. */ fun awaitSuccess() { val futureTask = results.poll(5, TimeUnit.SECONDS)
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.2K bytes - Viewed (0) -
pkg/controller/servicecidrs/servicecidrs_controller_test.go
} } func expectAction(t *testing.T, actions []k8stesting.Action, expected [][]string) { t.Helper() if len(actions) != len(expected) { t.Fatalf("Expected at least %d actions, got %d \ndiff: %v", len(expected), len(actions), cmp.Diff(expected, actions)) } for i, action := range actions { verb := expected[i][0] if action.GetVerb() != verb { t.Errorf("Expected action %d verb to be %s, got %s", i, verb, action.GetVerb())
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 06:51:56 UTC 2024 - 22K bytes - Viewed (0)