Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,523 for ONCE (0.05 sec)

  1. 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)
  2. src/go/types/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.9K bytes
    - Viewed (0)
  3. internal/event/target/kafka.go

    	}
    
    	// If batch is enabled, the event will be batched in memory
    	// and will be committed once the batch is full.
    	if target.batch != nil {
    		return target.addToBatch(key)
    	}
    
    	eventData, eErr := target.store.Get(key.Name)
    	if eErr != nil {
    		// The last event key in a successful batch will be sent in the channel atmost once by the replayEvents()
    		// Such events will not exist and wouldve been already been sent successfully.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jun 01 15:02:59 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java

      }
    
      @GwtIncompatible // java.time.Duration
      @SuppressWarnings("Java7ApiChecker") // guava-android can rely on library desugaring now.
      @IgnoreJRERequirement // TODO: b/288085449 - Remove this once we use library-desugaring scents.
      public void testAdvance() {
        FakeTicker ticker = new FakeTicker();
        assertEquals(0, ticker.read());
        assertSame(ticker, ticker.advance(10));
        assertEquals(10, ticker.read());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 14:40:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/cmd/phases/init/waitcontrolplane.go

    	Here is one example how you may list all running Kubernetes containers by using crictl:
    		- 'crictl --runtime-endpoint {{ .Socket }} ps -a | grep kube | grep -v pause'
    		Once you have found the failing container, you can inspect its logs with:
    		- 'crictl --runtime-endpoint {{ .Socket }} logs CONTAINERID'
    	`)))
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/CacheCleanupStrategy.java

        };
    
        /**
         * Returns the action to perform on cleanup.
         */
        CleanupAction getCleanupAction();
    
        /**
         * Returns the frequency at which cache cleanup can occur.  Possible values are only once a day, every time, or never.
         */
        CleanupFrequency getCleanupFrequency();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 19:10:33 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/phases/upgrade/postupgrade.go

    	var errs []error
    
    	// If the coredns ConfigMap is missing, show a warning and assume that the
    	// DNS addon was skipped during "kubeadm init", and that its redeployment on upgrade is not desired.
    	//
    	// TODO: remove this once "kubeadm upgrade apply" phases are supported:
    	//   https://github.com/kubernetes/kubeadm/issues/1318
    	var missingCoreDNSConfigMap bool
    	if _, err := client.CoreV1().ConfigMaps(metav1.NamespaceSystem).Get(
    		context.TODO(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/DefaultPluginManagerTest.groovy

                assert p.id == "foo"
                assert p.namespace == null
                assert p.name == "foo"
            }
            0 * action._
        }
    
        def "rules plugin is applied at most once"() {
            def action = Mock(Action)
    
            given:
            addPluginId("foo", rulesClass)
            manager.withPlugin("foo", action)
    
            when:
            manager.apply(rulesClass)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  9. subprojects/core-api/src/main/java/org/gradle/api/internal/file/FileSystemLocationPropertyInternal.java

    import org.gradle.api.file.FileSystemLocationProperty;
    import org.gradle.api.provider.Provider;
    
    /**
     * This class was added just to support FileSystemLocation properties in the convention mapping.
     *
     * Should be removed once ConventionMapping is removed.
     */
    @NonNullApi
    public interface FileSystemLocationPropertyInternal<T extends FileSystemLocation> extends FileSystemLocationProperty<T> {
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 09:53:33 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/dom/DocumentError.kt

    import org.gradle.internal.declarativedsl.language.UnsupportedConstruct
    
    
    sealed interface DocumentError
    
    
    data class SyntaxError(val parsingError: ParsingError) : DocumentError // TODO: use a better representation once integration can be done
    
    
    data class UnsupportedKotlinFeature(val unsupportedConstruct: UnsupportedConstruct) : DocumentError
    
    
    data class UnsupportedSyntax(val cause: UnsupportedSyntaxCause) : DocumentError
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 12:28:39 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top