Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Rischard (0.19 sec)

  1. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

                    buf.append('\t').append("error:").append(escapeValue(e.getLocalizedMessage()).replaceAll("\\s", " "));
                    log(buf);
                }
            });
        }
    
        public void discard(final Object keyObj) {
            getCacheKey(keyObj).ifPresent(key -> {
                try {
                    final StatsObject data = statsCache.getIfPresent(key);
                    if (data != null) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/escape/UnicodeEscaper.java

       * <p>If the implementation of this method cannot correctly handle a particular code point then it
       * should either throw an appropriate runtime exception or return a suitable replacement
       * character. It must never silently discard invalid input as this may constitute a security risk.
       *
       * @param cp the Unicode code point to escape if necessary
       * @return the replacement characters, or {@code null} if no escaping was needed
       */
      @CheckForNull
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 13.2K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java

        try (Response response = client.newCall(request).execute()) {
          // Consume and discard the response body.
          response.body().source().readByteString();
        }
    
        System.out.println("REQUEST 2 (pooled connection)");
        try (Response response = client.newCall(request).execute()) {
          // Consume and discard the response body.
          response.body().source().readByteString();
        }
      }
    
    Java
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Feb 16 23:20:49 GMT 2020
    - 5.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Ordering.java

       * input is not modified. The returned list is serializable and has random access.
       *
       * <p>Unlike {@link Sets#newTreeSet(Iterable)}, this method does not discard elements that are
       * duplicates according to the comparator. The sort performed is <i>stable</i>, meaning that such
       * elements will appear in the returned list in the same order they appeared in {@code elements}.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java

          }
    
          @Override public void onResponse(Call call, Response response) throws IOException {
            try (ResponseBody body = response.body()) {
              // Consume and discard the response body.
              body.source().readByteString();
            }
          }
        });
    
        Request newYorkTimesRequest = new Request.Builder()
            .url("https://www.nytimes.com/")
            .build();
    Java
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Feb 16 23:20:49 GMT 2020
    - 6.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/CrawlerStatsHelperTest.java

        }
    
        public void test_beginWithRecordAndDiscard() {
            String key = "test";
            crawlerStatsHelper.begin(key);
            crawlerStatsHelper.record(key, "aaa");
            crawlerStatsHelper.discard(key);
            logger.info(localLogMsg.get());
            assertNull(localLogMsg.get());
    
            crawlerStatsHelper.done(key);
            logger.info(localLogMsg.get());
            assertNull(localLogMsg.get());
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

        strings = new String[SAMPLES];
        for (int i = 0; i < SAMPLES; i++) {
          StringBuilder sb = new StringBuilder();
          for (int j = 0; j < charCount; j++) {
            int codePoint;
            // discard illegal surrogate "codepoints"
            do {
              codePoint = rnd.nextInt(maxCodePoint.value);
            } while (Character.isSurrogate((char) codePoint));
            sb.appendCodePoint(codePoint);
          }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 5.3K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

        strings = new String[SAMPLES];
        for (int i = 0; i < SAMPLES; i++) {
          StringBuilder sb = new StringBuilder();
          for (int j = 0; j < charCount; j++) {
            int codePoint;
            // discard illegal surrogate "codepoints"
            do {
              codePoint = rnd.nextInt(maxCodePoint.value);
            } while (Character.isSurrogate((char) codePoint));
            sb.appendCodePoint(codePoint);
          }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 5.3K bytes
    - Viewed (0)
Back to top