- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,607 for Invokes (0.1 sec)
-
subprojects/core/src/main/java/org/gradle/composite/internal/IncludedBuildTaskResource.java
*/ void queueForExecution(); /** * Invokes the given action when this task completes (as per {@link Node#isComplete()}). Does nothing if this task has already completed. */ void onComplete(Runnable action); TaskInternal getTask();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 12 20:10:34 UTC 2022 - 1.7K bytes - Viewed (0) -
src/syscall/js/func.go
func FuncOf(fn func(this Value, args []Value) any) Func { funcsMu.Lock() id := nextFuncID nextFuncID++ funcs[id] = fn funcsMu.Unlock() return Func{ id: id, Value: jsGo.Call("_makeFuncWrapper", id), } } // Release frees up resources allocated for the function. // The function must not be invoked after calling Release.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 22 17:47:47 UTC 2023 - 2.9K bytes - Viewed (0) -
internal/once/init.go
// Init represents the structure. type Init struct { done uint32 m sync.Mutex } // Do is similar to sync.Once.Do - makes one successful // call to the function. ie, it invokes the function // if it is not successful yet. func (l *Init) Do(f func() error) error { if atomic.LoadUint32(&l.done) == 0 { return l.do(f) } return nil } func (l *Init) do(f func() error) error {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 09 04:20:31 UTC 2023 - 2.1K bytes - Viewed (0) -
pkg/test/framework/resource/config/apply/option.go
type Option interface { // Set this option on the provided Options Set(*Options) } // OptionFunc is a function-based Option. type OptionFunc func(*Options) // Set just invokes this function to update the Options. func (f OptionFunc) Set(opts *Options) { f(opts) } // NoCleanup is an Option that disables config cleanup. var NoCleanup Option = OptionFunc(func(opts *Options) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 17 02:49:07 UTC 2022 - 1.5K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/DefaultNamedDomainObjectCollectionTest.groovy
} def "returns null element with name is not present and there are no rules to create it"() { expect: container.findByName("bean") == null } def "invokes rule to create element when element with name cannot be located"() { def rule = Mock(Rule) def bean = new Bean("bean") given: container.addRule(rule) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 24 14:51:02 UTC 2021 - 7.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/locking/DependencyLockingGraphVisitorTest.groovy
assert it.problem.message.contains("Did not resolve 'org:foo:1.1' which has been forced / substituted to a different version: '1.0'") } } def 'invokes locking provider on writeLocks with visited modules'() { given: def identifier = newId(mid, '1.1') startWithoutLockState() addVisitedNode(identifier) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 05 02:50:41 UTC 2024 - 9.1K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskEventsErrorIntegrationTest.groovy
.assertHasCause("afterTask failure") .assertHasFileName("Build file '${buildFile}'") .assertHasLineNumber(3) } def "invokes afterTask action after task action fails"() { when: buildFile << """ gradle.taskGraph.afterTask { println "afterTask action" } gradle.taskGraph.beforeTask {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 03 03:20:08 UTC 2023 - 3K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/intercept/ClassBoundCallInterceptor.java
* to be the {@code expectedReceiver} passed to the constructor. * * @param invocation the arguments supplied by the caller * @param consumer the class that invokes the intercepted call * @return the value to return to the caller * @throws Throwable if necessary to propagate it to the caller */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 13:46:35 UTC 2024 - 2.3K bytes - Viewed (0) -
pkg/util/interrupt/interrupt.go
fn() } if h.final == nil { os.Exit(1) } h.final(s) }) } // Run ensures that any notifications are invoked after the provided fn exits (even if the // process is interrupted by an OS termination signal). Notifications are only invoked once // per Handler instance, so calling Run more than once will not behave as the user expects. func (h *Handler) Run(fn func() error) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 16 09:22:35 UTC 2023 - 2.7K bytes - Viewed (0) -
pkg/api/v1/pod/util.go
return func(name string) bool { if len(name) == 0 { // continue visiting return true } // delegate to visitor return visitor(name) } } // VisitContainers invokes the visitor function with a pointer to every container // spec in the given pod spec with type set in mask. If visitor returns false, // visiting is short-circuited. VisitContainers returns true if visiting completes,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 24 17:18:04 UTC 2023 - 13.2K bytes - Viewed (0)