Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 58 of 58 for setResult (0.07 sec)

  1. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

            }
            try {
                final Result result = client.prepareUpdate().setIndex(index).setId(id).setDoc(field, value).execute()
                        .actionGet(ComponentUtil.getFessConfig().getIndexIndexTimeout()).getResult();
                return result == Result.CREATED || result == Result.UPDATED;
            } catch (final OpenSearchException e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/CharSource.java

          Iterator<String> lines = linesIterator();
          while (lines.hasNext()) {
            if (!processor.processLine(lines.next())) {
              break;
            }
          }
          return processor.getResult();
        }
    
        @Override
        public String toString() {
          return "CharSource.wrap(" + Ascii.truncate(seq, 30, "...") + ")";
        }
      }
    
      /**
       * Subclass specialized for string instances.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  3. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

            try {
                final DeleteResponse response =
                        getClient().get(c -> c.prepareDelete().setIndex(index).setId(id).setRefreshPolicy(RefreshPolicy.IMMEDIATE).execute());
                return response.getResult() == Result.DELETED;
            } catch (final Exception e) {
                throw new OpenSearchAccessException("Failed to delete " + sessionId + ":" + url, e);
            }
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/ByteSource.java

        @Override
        @ParametricNullness
        public <T extends @Nullable Object> T read(ByteProcessor<T> processor) throws IOException {
          processor.processBytes(bytes, offset, length);
          return processor.getResult();
        }
    
        @Override
        public long copyTo(OutputStream output) throws IOException {
          output.write(bytes, offset, length);
          return length;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/ByteStreams.java

        checkNotNull(processor);
    
        byte[] buf = createBuffer();
        int read;
        do {
          read = input.read(buf);
        } while (read != -1 && processor.processBytes(buf, 0, read));
        return processor.getResult();
      }
    
      /**
       * Reads some bytes from an input stream and stores them into the buffer array {@code b}. This
       * method blocks until {@code len} bytes of input data have been read into the array, or end of
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/Files.java

                  public boolean processLine(String line) {
                    result.add(line);
                    return true;
                  }
    
                  @Override
                  public List<String> getResult() {
                    return result;
                  }
                });
      }
    
      /**
       * Streams lines from a {@link File}, stopping when our callback returns false, or we have read
       * all of the lines.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/Files.java

                  public boolean processLine(String line) {
                    result.add(line);
                    return true;
                  }
    
                  @Override
                  public List<String> getResult() {
                    return result;
                  }
                });
      }
    
      /**
       * Streams lines from a {@link File}, stopping when our callback returns false, or we have read
       * all of the lines.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  8. okhttp-android/src/main/baseline-prof.txt

    HSPLkotlinx/coroutines/CancellableContinuationImpl;->getExceptionalResult$kotlinx_coroutines_core(Ljava/lang/Object;)Ljava/lang/Throwable;
    HSPLkotlinx/coroutines/CancellableContinuationImpl;->getResult()Ljava/lang/Object;
    HSPLkotlinx/coroutines/CancellableContinuationImpl;->getSuccessfulResult$kotlinx_coroutines_core(Ljava/lang/Object;)Ljava/lang/Object;
    HSPLkotlinx/coroutines/CancellableContinuationImpl;->initCancellability()V
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Mar 21 11:22:00 UTC 2022
    - 127.9K bytes
    - Viewed (0)
Back to top