- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 548 for listener2 (1.13 sec)
-
platforms/core-runtime/build-operations/src/main/java/org/gradle/internal/operations/DefaultBuildOperationListenerManager.java
} } }; @Override public void addListener(BuildOperationListener listener) { listenersLock.lock(); try { List<ProgressShieldingBuildOperationListener> listeners = new ArrayList<ProgressShieldingBuildOperationListener>(this.listeners); listeners.add(new ProgressShieldingBuildOperationListener(listener));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 14:19:43 UTC 2023 - 5.3K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ListenerCallQueue.java
*/ public void addListener(L listener, Executor executor) { checkNotNull(listener, "listener"); checkNotNull(executor, "executor"); listeners.add(new PerListenerQueue<>(listener, executor)); } /** * Enqueues an event to be run on currently known listeners. * * <p>The {@code toString} method of the Event itself will be used to describe the event in the * case of an error.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Dec 13 19:45:20 UTC 2023 - 8.2K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_activity_listener.cc
for (const std::unique_ptr<XlaActivityListener>& listener : listener_list->listeners) { TF_RETURN_IF_ERROR(fn(listener.get())); } return absl::OkStatus(); } void FlushAllListeners() { Status s = ForEachListener([](XlaActivityListener* listener) { listener->Flush(); return absl::OkStatus(); }); CHECK(s.ok()); } } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 3.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/ModelGraph.java
maybeNotify(node, listener); } } parentListeners.put(listener.getParent(), listener); } private void addPathListener(ModelListener listener) { ModelNodeInternal node = flattened.get(listener.getPath()); if (node != null) { maybeNotify(node, listener); } pathListeners.put(listener.getPath(), listener); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 7.8K bytes - Viewed (0) -
platforms/core-runtime/build-operations/src/main/java/org/gradle/internal/operations/BuildOperationListenerManager.java
import org.gradle.internal.service.scopes.Scope; import org.gradle.internal.service.scopes.ServiceScope; /** * Manages listeners of build operations. * * There is one global listener for the life of the build runtime. * Listeners must be sure to remove themselves if they want to only listen for a single build. * * Listeners are notified in registration order. * Started and progress notifications are emitted in registration order,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 1.7K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/EventSpyImpl.java
InternalMavenSession.from(ee.getSession().getSession()); Collection<Listener> listeners = session.getListeners(); if (!listeners.isEmpty()) { Event event = new DefaultEvent(session, ee); for (Listener listener : listeners) { listener.onEvent(event); } } } } @Override
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 2.1K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/configuration/project/LifecycleProjectEvaluatorTest.groovy
project.path >> project.projectPath.toString() project.identityPath >> Path.path(":project1") project.stepEvaluationListener(listener, _) >> { listener, step -> step.execute(listener) null } project.getOwner() >> mutationState mutationState.applyToMutableState(_) >> { Consumer consumer -> consumer.accept(project) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 13:46:07 UTC 2024 - 8.9K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_activity_listener_test.cc
class XlaActivityListenerTest : public ::testing::Test { protected: XlaActivityListenerTest() { auto listener = std::make_unique<TestListener>(); listener_ = listener.get(); RegisterXlaActivityListener(std::move(listener)); } TestListener* listener() const { return listener_; } private: TestListener* listener_; }; GraphDef CreateGraphDef() { Scope root = Scope::NewRootScope().ExitOnError().WithAssignedDevice(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 5.9K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/configuration/project/LifecycleProjectEvaluatorIntegrationTest.groovy
with(operations.only(NotifyProjectBeforeEvaluatedBuildOperationType, { it.details.projectPath == ':foo' })) { displayName == 'Notify beforeEvaluate listeners of :foo' children*.displayName == ["Execute Project.beforeEvaluate listener"] children.first().children*.displayName == ["Apply script '${relativePath('foo/before.gradle')}' to project ':foo'"] parentId == configOp.id }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 6.5K bytes - Viewed (0) -
tensorflow/compiler/jit/tests/device_compiler_test_helper.h
class DeviceCompilerSerializeTest : public ::testing::Test { protected: DeviceCompilerSerializeTest() { auto listener = std::make_unique<JitCompilationListener>(); listener_ = listener.get(); RegisterXlaActivityListener(std::move(listener)); } JitCompilationListener* listener() const { return listener_; } // Returns a test graph that will split into two XLA clusters (due to a node // with _XlaCompile = false).
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 09 08:24:16 UTC 2024 - 3.6K bytes - Viewed (0)