- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 959 for ONCE (0.04 sec)
-
doc/go_mem.html
<p class="rule"> The completion of a single call of <code>f()</code> from <code>once.Do(f)</code> is synchronized before the return of any call of <code>once.Do(f)</code>. </p> <p> In this program: </p> <pre> var a string var once sync.Once func setup() { a = "hello, world" } func doprint() { once.Do(setup) print(a) } func twoprint() { go doprint()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 15:54:42 UTC 2024 - 26.6K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DaemonClient.java
* <li>The client sends a {@link Finished} message once it has received the {@link Result} message. * It may no longer send any messages.</li> * <li>The client closes the connection.</li> * <li>The daemon closes the connection once it has received the {@link Finished} message.</li> * </ul> * * <p>To stop a daemon:</p> * * <ul>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:54:56 UTC 2024 - 16.5K bytes - Viewed (0) -
pkg/scheduler/apis/config/types.go
// TODO: We might wanna make this a substruct like Debugging componentbaseconfig.DebuggingConfiguration componentbaseconfig.DebuggingConfiguration // PercentageOfNodesToScore is the percentage of all nodes that once found feasible // for running a pod, the scheduler stops its search for more feasible nodes in // the cluster. This helps improve scheduler's performance. Scheduler always tries to find
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 19 18:47:23 UTC 2024 - 14.8K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/basics/tutorial_using_tasks.adoc
Help tasks ---------- buildEnvironment - Displays all buildscript dependencies declared in root project 'myTutorial'. ... ---- Tasks either come from *build scripts* or *plugins*. Once we apply a plugin to our project, such as the `application` plugin, additional tasks become available: .build.gradle.kts [source,kotlin] plugins { id("application") } [source] ---- $ ./gradlew tasks
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 17 00:09:06 UTC 2024 - 10.1K bytes - Viewed (0) -
pkg/controller/controller_ref_manager.go
// (such as a live GET from the API server) prior to the first adoption. // It will only be called (at most once) if an adoption is actually attempted. // If CanAdopt() returns a non-nil error, all adoptions will fail. // // NOTE: Once CanAdopt() is called, it will not be called again by the same // PodControllerRefManager instance. Create a new instance if it makes
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 12 12:57:29 UTC 2023 - 21.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java
} public void testExecutorOnlyCalledOnce() throws Exception { TestService service = new TestService(); service.startAsync().awaitRunning(); // It should be called once during startup. assertEquals(1, service.numberOfTimesExecutorCalled.get()); for (int i = 1; i < 10; i++) { service.runFirstBarrier.await(); assertEquals(i, service.numberOfTimesRunCalled.get());
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 22.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java
} public void testExecutorOnlyCalledOnce() throws Exception { TestService service = new TestService(); service.startAsync().awaitRunning(); // It should be called once during startup. assertEquals(1, service.numberOfTimesExecutorCalled.get()); for (int i = 1; i < 10; i++) { service.runFirstBarrier.await(); assertEquals(i, service.numberOfTimesRunCalled.get());
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 22.5K bytes - Viewed (0) -
platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/fixtures/AbstractXcodeIntegrationSpec.groovy
// TODO: Use @RequiresInstalledToolChain instead once Xcode test are sorted out void assumeSwiftCompilerVersion(SwiftVersion swiftVersion) { assert toolChain != null, "You need to specify Swift tool chain requirement with 'requireSwiftToolChain()'" assumeTrue(toolChain.version.major == swiftVersion.version) } // TODO: Use @RequiresInstalledToolChain instead once Xcode test are sorted out
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 11.7K bytes - Viewed (0) -
pkg/registry/core/service/portallocator/controller/repair.go
func (c *Repair) RunUntil(onFirstSuccess func(), stopCh chan struct{}) { c.broadcaster.StartRecordingToSink(stopCh) defer c.broadcaster.Shutdown() var once sync.Once wait.Until(func() { if err := c.runOnce(); err != nil { runtime.HandleError(err) return } once.Do(onFirstSuccess) }, c.interval, stopCh) } // runOnce verifies the state of the port allocations and returns an error if an unrecoverable problem occurs.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Sep 30 15:46:06 UTC 2023 - 10.4K bytes - Viewed (0) -
src/cmd/compile/internal/types2/scope.go
type lazyObject struct { parent *Scope resolve func() Object obj Object once sync.Once } // resolve returns the Object represented by obj, resolving lazy // objects as appropriate. func resolve(name string, obj Object) Object { if lazy, ok := obj.(*lazyObject); ok { lazy.once.Do(func() { obj := lazy.resolve() if _, ok := obj.(*lazyObject); ok {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 9.8K bytes - Viewed (0)