Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for addFailure (0.14 sec)

  1. 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 Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestWriterResult.java

        protected List<Throwable> failures = Collections.synchronizedList(new ArrayList<>());
    
        /**
         * Adds a Throwable to the list of failures.
         *
         * @param t the Throwable to add
         */
        public void addFailure(final Throwable t) {
            failures.add(t);
        }
    
        /**
         * Checks if there are any failures recorded.
         *
         * @return true if there is at least one failure, false otherwise
         */
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  3. 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 Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Dec 27 12:18:10 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top