- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for reportStatus (0.26 sec)
-
platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/launcher/daemon/protocol/ReportStatus.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 04:50:46 UTC 2024 - 830 bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/client/ReportStatusDispatcherTest.groovy
import org.gradle.launcher.daemon.protocol.ReportStatus import spock.lang.Specification class ReportStatusDispatcherTest extends Specification { def dispatcher = new ReportStatusDispatcher() def connection = Mock(Connection) def "ignores failed dispatch and does not receive"() { given: def message = new ReportStatus(UUID.randomUUID(), "TOKEN".bytes)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/client/ReportDaemonStatusClientTest.groovy
1 * connection.dispatch({it instanceof ReportStatus}) 1 * connection.receive() >> new Success(new Status(12345, "3.0", "BOGUS")) 1 * connection.dispatch({it instanceof Finished}) 1 * connection.stop() and: 1 * connector.maybeConnect(daemon2) >>> connection _ * connection.daemon >> daemon2 1 * connection.dispatch({it instanceof ReportStatus})
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 4.7K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/api/HandleReportStatus.java
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.launcher.daemon.server.api; import org.gradle.launcher.daemon.protocol.ReportStatus; import org.gradle.launcher.daemon.protocol.Status; import org.gradle.launcher.daemon.protocol.Success; import org.gradle.util.GradleVersion; import java.util.Locale;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:38 UTC 2024 - 1.5K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/ReportDaemonStatusClient.java
for (DaemonInfo daemon : daemons) { DaemonClientConnection connection = connector.maybeConnect(daemon); if (connection != null) { try { final ReportStatus statusCommand = new ReportStatus(idGenerator.generateId(), daemon.getToken()); final Status status = reportStatusDispatcher.dispatch(connection, statusCommand); if (status != null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 5K bytes - Viewed (0) -
tensorflow/cc/training/coordinator.cc
} } { mutex_lock l(runners_lock_); for (const auto& t : runners_) { ReportStatus(t->Join()); } runners_.clear(); } return GetStatus(); } void Coordinator::ReportStatus(const Status& status) { mutex_lock l(status_lock_); if (status.ok() || !status_.ok() || clean_stop_errors_.count(static_cast<int>(status.code())) > 0) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 08:30:37 UTC 2024 - 3.2K bytes - Viewed (0) -
tensorflow/cc/training/coordinator.h
/// void Run() { /// while (!coord->ShouldStop()) { /// /// do some work /// if (error) { /// coord->RequestStop(); /// coord->ReportStatus(error_status); /// } /// } /// } class Coordinator { public: Coordinator(); /// Constructor with a list of error codes which would not be taken as errors /// in status reporting.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Oct 12 08:49:52 UTC 2023 - 4.4K bytes - Viewed (0) -
tensorflow/cc/training/queue_runner.cc
{ mutex_lock l(mu_); if (!status_.ok() || status.ok() || IsQueueClosed(status)) { return; } status_ = status; } if (coord_) { coord_->ReportStatus(status); } mutex_lock l(cb_mu_); for (auto& cb : callbacks_) { cb(status); } } void QueueRunner::Run(Session* sess, const string& enqueue_op) { bool first_iteration = true;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 08:30:37 UTC 2024 - 7K bytes - Viewed (0)