Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 3,556 for action1 (0.13 sec)

  1. src/cmd/go/internal/work/buildid.go

    	// the actionID half; if it also appeared in the input that would be like an
    	// engineered 120-bit partial SHA256 collision.
    	a.actionID = actionHash
    	actionID := buildid.HashToString(actionHash)
    	if a.json != nil {
    		a.json.ActionID = actionID
    	}
    	contentID := actionID // temporary placeholder, likely unique
    	a.buildID = actionID + buildIDSeparator + contentID
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:31:25 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheLambdaIntegrationTest.groovy

                            Action<? super TaskA> actionA = LambdaPlugin::foo;
                            Action<? super TaskB> actionB = LambdaPlugin::foo;
    
                            project.getTasks().register("a", TaskA.class, task -> task.doLast(a -> actionA.execute((TaskA) a)));
                            project.getTasks().register("b", TaskB.class, task -> task.doLast(b -> actionB.execute((TaskB) b)));
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/ActionsTest.groovy

            composite(actions[0], actions[1]) != composite(actions[1], actions[0])
            composite(actions[0], actions[1]) != composite(actions[0], actions[2])
            composite() == composite()
            composite() != composite(actions[0])
            composite(actions[0]) != composite()
        }
    
        def "adapting runnables"() {
            given:
            def runnable = Mock(Runnable)
            def arg = Mock(Object)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 5K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/ImmutableActionSet.java

        }
    
        /**
         * Creates an action set.
         */
        public static <T> ImmutableActionSet<T> of(Action<? super T>... actions) {
            if (actions.length == 0) {
                return empty();
            }
    
            ImmutableSet.Builder<Action<? super T>> builder = ImmutableSet.builder();
            for (Action<? super T> action : actions) {
                if (action == Actions.DO_NOTHING || (action instanceof EmptySet)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 11K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/internal/buildtree/IntermediateBuildActionRunner.java

        }
    
        public <T> List<T> run(List<Supplier<T>> actions) {
            List<NestedAction<T>> wrappers = new ArrayList<>(actions.size());
            for (Supplier<T> action : actions) {
                wrappers.add(new NestedAction<>(buildOperationDescription, action));
            }
            runActions(wrappers);
    
            List<T> results = new ArrayList<>(actions.size());
            List<Throwable> failures = new ArrayList<>();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 07:46:55 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. pkg/controlplane/controller/systemnamespaces/system_namespaces_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", len(expected), len(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())
    		}
    		resource := expected[i][1]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 12:19:56 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/services/DefaultIsolatedProjectEvaluationListenerProvider.kt

                "afterEvaluate action cannot execute before beforeEvaluate"
            }
            executeAll(actions.afterProject, project)
        }
    
        private
        fun executeAll(actions: IsolatedProjectActionList, project: Project) {
            for (action in actions) {
                action.execute(project)
            }
        }
    
        private
        fun isolatedActions() = IsolateOwners.OwnerGradle(gradle).let { owner ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/MutableActionSet.java

     */
    public class MutableActionSet<T> implements Action<T>, InternalListener {
        private ImmutableActionSet<T> actions = ImmutableActionSet.empty();
    
        public void add(Action<? super T> action) {
            this.actions = actions.add(action);
        }
    
        public void clear() {
            actions = ImmutableActionSet.empty();
        }
        @Override
        public void execute(T t) {
            actions.execute(t);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  9. pkg/controller/certificates/rootcacertpublisher/publisher_test.go

    				},
    			},
    			ExpectActions: func(t *testing.T, actions []clienttesting.Action) {
    				if len(actions) != 1 {
    					t.Fatal(actions)
    				}
    				if actions[0].GetVerb() != "update" {
    					t.Fatal(actions)
    				}
    				actualObj := actions[0].(clienttesting.UpdateAction).GetObject()
    				if actualObj.(*v1.ConfigMap).Annotations[DescriptionAnnotation] != Description {
    					t.Fatal(actions)
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:16 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/api/internal/DefaultMutationGuardTest.groovy

            where:
            methodUnderTest         | callableType | callable
            "withMutationDisabled"  | "Action"     | Actions.doNothing()
            "withMutationEnabled"   | "Action"     | Actions.doNothing()
        }
    
        def "call to #methodUnderTest(#callableType) inside withMutationEnabled(Action) does enable disallow check outside scope"() {
            def aMethodUnderTest = methodUnderTest
            def aCallable = callable
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 6.2K bytes
    - Viewed (0)
Back to top