- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for setError (0.15 sec)
-
src/encoding/gob/encoder.go
func (enc *Encoder) pushWriter(w io.Writer) { enc.w = append(enc.w, w) } // popWriter pops the innermost writer. func (enc *Encoder) popWriter() { enc.w = enc.w[0 : len(enc.w)-1] } func (enc *Encoder) setError(err error) { if enc.err == nil { // remember the first. enc.err = err } } // writeMessage sends the data item preceded by an unsigned count of its length.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:04:28 UTC 2023 - 7.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/WebApiUtil.java
} public static void setError(final int statusCode, final String message) { LaRequestUtil.getOptionalRequest().ifPresent(req -> req.setAttribute(WEB_API_EXCEPTION, new WebApiException(statusCode, message))); } public static void setError(final int statusCode, final Exception e) {
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.9K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_host_recv_device_context.cc
return; } status = stream_->RecordEvent(done_event_.get().get()); if (!status.ok()) { done(status); return; } if (auto st = stream_->BlockHostUntilDone(); !st.ok()) { done_event_.SetError(absl::InternalError(absl::StrFormat( "failed to synchronize send operation with a stream: %s", st.ToString()))); return; } done_event_.SetStateConcrete(); done(absl::OkStatus()); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 22:46:36 UTC 2024 - 1.9K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_host_send_device_context.cc
return; } status = stream_->RecordEvent(done_event_.get().get()); if (!status.ok()) { done(status); return; } if (auto st = stream_->BlockHostUntilDone(); !st.ok()) { done_event_.SetError(absl::InternalError(absl::StrFormat( "failed to synchronize send operation with a stream: %s", st.ToString()))); return; } done_event_.SetStateConcrete(); done(absl::OkStatus()); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 22:46:36 UTC 2024 - 1.6K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/logging/DefaultTestLoggingContainer.java
} @Override public TestLogging getError() { return perLevelTestLogging.get(LogLevel.ERROR); } @Override public void setError(TestLogging logging) { perLevelTestLogging.put(LogLevel.ERROR, logging); } @Override public void error(Action<TestLogging> action) { action.execute(getError()); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 7.6K bytes - Viewed (0) -
pkg/registry/registrytest/service.go
mu sync.Mutex List api.ServiceList Service *api.Service Updates []api.Service Err error DeletedID string GottenID string UpdatedID string } func (r *ServiceRegistry) SetError(err error) { r.mu.Lock() defer r.mu.Unlock() r.Err = err } func (r *ServiceRegistry) ListServices(ctx context.Context, options *metainternalversion.ListOptions) (*api.ServiceList, error) { r.mu.Lock()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 16 13:43:36 UTC 2023 - 2.9K bytes - Viewed (0) -
pkg/registry/registrytest/node.go
Items: make([]api.Node, len(nodes)), } for i := range nodes { list.Items[i].Name = nodes[i] list.Items[i].Status.Capacity = nodeResources } return &list } func (r *NodeRegistry) SetError(err error) { r.Lock() defer r.Unlock() r.Err = err } func (r *NodeRegistry) ListNodes(ctx context.Context, options *metainternalversion.ListOptions) (*api.NodeList, error) { r.Lock() defer r.Unlock()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 23:13:50 UTC 2024 - 2.8K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/tasks/testing/logging/TestLoggingContainer.java
* Returns logging options for error level. * * @return logging options for error level */ TestLogging getError(); /** * Sets logging options for error level. * * @param logging logging options for error level */ void setError(TestLogging logging); /** * Configures logging options for error level. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 4.8K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/repository/metadata/ArtifactMetadata.java
} public String getWhy() { return why; } public void setWhy(String why) { this.why = why; } public String getError() { return error; } public void setError(String error) { this.error = error; } public boolean isError() { return error == null; } public String getDependencyConflictId() {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 11:28:54 UTC 2023 - 8.6K bytes - Viewed (0) -
platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/fixtures/MSBuildExecutor.java
String gradleStderr = result.getError(); if (!outputs.isEmpty()) { gradleStdout = fileContents(outputs.get(0).stdout); gradleStderr = fileContents(outputs.get(0).stderr); } System.out.println(result.getOut()); System.out.println(gradleStdout); System.out.println(gradleStderr); System.out.println(result.getError());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 8K bytes - Viewed (0)