- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for addFailure (0.09 sec)
-
src/main/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriter.java
if (response.hasFailures()) { for (final BulkItemResponse bulkItemResponses : response.getItems()) { if (bulkItemResponses.isFailed()) { result.addFailure(new SuggestIndexException("Bulk failure. " + bulkItemResponses.getFailureMessage())); } } } return result; } @Override
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 4.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/writer/SuggestWriterResult.java
import java.util.Collections; import java.util.List; public class SuggestWriterResult { protected List<Throwable> failures = Collections.synchronizedList(new ArrayList<>()); public void addFailure(final Throwable t) { failures.add(t); } public boolean hasFailure() { return !failures.isEmpty(); } public List<Throwable> getFailures() { return failures; }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 1.1K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test.cc
ADD_FAILURE() << i << " -- " << TF_Message(status.get()); continue; } auto tag = tensorflow::strings::StrCat("Device #", i, " (", name, ")"); // Copy to device TFE_TensorHandle* hdevice = TFE_TensorHandleCopyToDevice(hcpu, ctx, name.c_str(), status.get()); if (TF_GetCode(status.get()) != TF_OK) { ADD_FAILURE() << tag << " -- " << TF_Message(status.get());
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Aug 03 20:50:20 UTC 2023 - 94.6K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental_test.cc
TFE_CancellationManager* c_mgr = TFE_NewCancellationManager(); EXPECT_FALSE(TFE_CancellationManagerIsCancelled(c_mgr)); TFE_CancelCallback callback1; callback1.callback = [](void* context) { ADD_FAILURE() << "Callback1 should be deregistered."; }; TFE_CancellationToken token1 = TFE_CancellationManagerGetToken(c_mgr); EXPECT_TRUE(TFE_CancellationManagerRegisterCallback(c_mgr, token1, &callback1,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Aug 03 03:14:26 UTC 2023 - 31.5K bytes - Viewed (0) -
tensorflow/c/c_test_util.cc
targets_.clear(); for (TF_Operation* t : targets) { targets_.emplace_back(t); } } void CSession::Run(TF_Status* s) { if (inputs_.size() != input_values_.size()) { ADD_FAILURE() << "Call SetInputs() before Run()"; return; } ResetOutputValues(); output_values_.resize(outputs_.size(), nullptr); const TF_Output* inputs_ptr = inputs_.empty() ? nullptr : &inputs_[0];
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Fri Oct 15 03:16:52 UTC 2021 - 17.8K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
EXPECT_FALSE(found_scalar_const); found_scalar_const = true; } else if (IsAddN(n, 2)) { EXPECT_FALSE(found_add); found_add = true; } else { ADD_FAILURE() << "Unexpected NodeDef: " << n.DebugString(); } } EXPECT_TRUE(found_placeholder); EXPECT_TRUE(found_scalar_const); EXPECT_TRUE(found_add); // Add another oper to the graph.
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 97K bytes - Viewed (0)