Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 334 for notified (0.15 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/DefaultValueSourceProviderFactoryTest.groovy

            provider.get()
    
            then: "beforeValueObtained callback is notified"
            1 * computationListener.beforeValueObtained()
    
            then: "afterValueObtained callback is notified"
            1 * computationListener.afterValueObtained()
    
            then: "valueObtained is notified"
            obtainedValues.size() == 1
            obtainedValues[0].valueSourceType == EchoValueSource
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:25 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/pod_test.go

    		t.Error(err)
    	}
    	if handled != 0 {
    		t.Errorf("notified workload handler %d times, want %d", handled, 0)
    	}
    
    	if err := f(nil, &v1.Pod{ObjectMeta: pod1, Status: v1.PodStatus{Conditions: readyCondition, PodIP: ip, Phase: v1.PodPending}}, model.EventUpdate); err != nil {
    		t.Error(err)
    	}
    	if handled != 1 {
    		t.Errorf("notified workload handler %d times, want %d", handled, 1)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 18:27:40 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/event/DefaultListenerManager.java

            }
    
            private List<Dispatch<MethodInvocation>> startNotification(boolean includeLogger) {
                takeOwnership();
    
                if (!notified) {
                    maybeAddPendingRegistrations(type);
                    notified = true;
                }
    
                // Take a snapshot while holding lock
                List<Dispatch<MethodInvocation>> result = includeLogger ? allWithLogger : allWithNoLogger;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 10:09:43 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/DefaultPluginManagerTest.groovy

            when:
            manager.apply(rulesClass)
    
            then:
            1 * target.applyRules(null, rulesClass)
    
            and:
            manager.hasPlugin("foo")
        }
    
        def "action is notified when rules plugin with id is applied by class"() {
            def action = Mock(Action)
    
            given:
            addPluginId("foo", rulesClass)
            manager.withPlugin("foo", action)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  5. platforms/software/testing-base/src/main/java/org/gradle/api/tasks/testing/AbstractTestTask.java

        }
    
        /**
         * Adds a closure to be notified before a test is executed. A {@link TestDescriptor} instance is passed to the closure as a parameter.
         *
         * @param closure The closure to call.
         */
        public void beforeTest(Closure closure) {
            addDispatchAsTestListener("beforeTest", closure);
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 18:49:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  6. src/runtime/sema.go

    	lockWithRank(&l.lock, lockRankNotifyList)
    	s := l.head
    	l.head = nil
    	l.tail = nil
    
    	// Update the next ticket to be notified. We can set it to the current
    	// value of wait because any previous waiters are already in the list
    	// or will notice that they have already been notified when trying to
    	// add themselves to the list.
    	atomic.Store(&l.notify, l.wait.Load())
    	unlock(&l.lock)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 19K bytes
    - Viewed (0)
  7. testing/integ-test/src/integTest/groovy/org/gradle/integtests/TaskExecutionIntegrationTest.groovy

        @UnsupportedWithConfigurationCache
        def taskCanAccessTaskGraph() {
            buildFile << """
                boolean notified = false
                task a(dependsOn: 'b') {
                    doLast { task ->
                        assert notified
                        assert gradle.taskGraph.hasTask(task)
                        assert gradle.taskGraph.hasTask(':a')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

              nanos: Long,
            ) {
              taskRunner.assertThreadHoldsLock()
              check(waitingCoordinatorTask == null)
              if (nanos == 0L) return
    
              // Yield until notified, interrupted, or the duration elapses.
              val waitUntil = nanoTime + nanos
              val self = currentTask
              waitingCoordinatorTask = self
              waitingCoordinatorNotified = false
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  9. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/event/DefaultListenerManagerTest.groovy

            then:
            IllegalStateException e = thrown()
            e.message == "Cannot notify listeners of type TestFooListener as these listeners are already being notified."
    
            and:
            1 * fooListener1.foo("param") >> {
                manager.getBroadcaster(TestFooListener.class).foo("param2")
            }
            0 * _
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  10. pkg/kubelet/certificate/kubelet.go

    	keyFile                   string
    	dynamicCertificateContent *dynamiccertificates.DynamicCertKeyPairContent
    	currentTLSCertificate     atomic.Pointer[tls.Certificate]
    }
    
    // Enqueue implements the functions to be notified when the serving cert content changes.
    func (m *kubeletServerCertificateDynamicFileManager) Enqueue() {
    	certContent, keyContent := m.dynamicCertificateContent.CurrentCertKeyContent()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 03:07:16 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top