- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,607 for Invokes (0.23 sec)
-
src/sync/oncefunc.go
// Copyright 2022 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. package sync // OnceFunc returns a function that invokes f only once. The returned function // may be called concurrently. // // If f panics, the returned function will panic with the same value on every call. func OnceFunc(f func()) func() { var ( once Once valid bool p any
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 17:31:33 UTC 2023 - 2K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/exec/ChainingBuildActionRunnerTest.groovy
def runner1 = Mock(BuildActionRunner) def runner2 = Mock(BuildActionRunner) def runner3 = Mock(BuildActionRunner) def runner = new ChainingBuildActionRunner([runner1, runner2, runner3]) def "invokes runners until a result is produced"() { def action = Stub(BuildAction) def controller = Mock(BuildTreeLifecycleController) when: runner.run(action, controller) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 1.9K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/TimeLimiter.java
* @since 28.0 */ default <T> T newProxy(T target, Class<T> interfaceType, Duration timeout) { return newProxy(target, interfaceType, toNanosSaturated(timeout), TimeUnit.NANOSECONDS); } /** * Invokes a specified Callable, timing out after the specified time limit. If the target method * call finishes before the limit is reached, the return value or a wrapped exception is
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 12 18:32:03 UTC 2023 - 15.3K bytes - Viewed (0) -
src/syscall/net.go
package syscall // A RawConn is a raw network connection. type RawConn interface { // Control invokes f on the underlying connection's file // descriptor or handle. // The file descriptor fd is guaranteed to remain valid while // f executes but not after f returns. Control(f func(fd uintptr)) error // Read invokes f on the underlying connection's file // descriptor or handle; f is expected to try to read from the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 27 16:36:34 UTC 2018 - 1.2K bytes - Viewed (0) -
src/cmd/internal/obj/inl.go
Pos: pos, Func: func_, Name: name, } tree.nodes = append(tree.nodes, call) return r } // AllParents invokes do on each InlinedCall in the inlining call // stack, from outermost to innermost. // // That is, if inlIndex corresponds to f inlining g inlining h, // AllParents invokes do with the call for inlining g into f, and then // inlining h into g. func (tree *InlTree) AllParents(inlIndex int, do func(InlinedCall)) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 22 22:47:15 UTC 2023 - 4.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/eventclock/interface.go
// Sleep returns after the given duration (or more). Sleep(d time.Duration) // EventAfterDuration invokes the given EventFunc after the given duration (or more), // passing the time when the invocation was launched. EventAfterDuration(f EventFunc, d time.Duration) // EventAfterTime invokes the given EventFunc at the given time or later, // passing the time when the invocation was launched.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Aug 07 04:07:31 UTC 2021 - 1.5K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/internal/metaobject/MethodAccess.java
* * <p>Note that not every method is known. Some methods may require an attempt invoke it in order for them to be discovered.</p> */ boolean hasMethod(String name, @Nullable Object... arguments); /** * Invokes the method with the given name and arguments. */ DynamicInvokeResult tryInvokeMethod(String name, @Nullable Object... arguments);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 09 10:01:06 UTC 2023 - 1.3K bytes - Viewed (0) -
src/cmd/go/testdata/script/cover_build_simple.txt
env GOCOVERDIR=data/badexit ! exec ./example.exe badexit ! stderr '^warning: GOCOVERDIR not set, no coverage data emitted' go tool covdata percent -i=data/badexit stdout 'coverage:.*[1-9][0-9.]+%' # Program invokes panic. env GOCOVERDIR=data/panic ! exec ./example.exe panic ! stderr '^warning: GOCOVERDIR not set, no coverage data emitted' go tool covdata percent -i=data/panic stdout 'coverage:.*[0-9.]+%'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 28 11:50:58 UTC 2022 - 3.1K bytes - Viewed (0) -
src/internal/poll/fd_fsync_darwin.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package poll import ( "errors" "internal/syscall/unix" "syscall" ) // Fsync invokes SYS_FCNTL with SYS_FULLFSYNC because // on OS X, SYS_FSYNC doesn't fully flush contents to disk. // See Issue #26650 as well as the man page for fsync on OS X. func (fd *FD) Fsync() error { if err := fd.incref(); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 19:20:48 UTC 2024 - 850 bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/TimeLimiter.java
* annotation type, rather than an interface */ <T> T newProxy(T target, Class<T> interfaceType, long timeoutDuration, TimeUnit timeoutUnit); /** * Invokes a specified Callable, timing out after the specified time limit. If the target method * call finishes before the limit is reached, the return value or a wrapped exception is
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 12 18:32:03 UTC 2023 - 8.3K bytes - Viewed (0)