Search Options

Results per page
Sort
Preferred Languages
Advance

Results 831 - 840 of 1,790 for threw (0.03 sec)

  1. guava-tests/test/com/google/common/io/LineBufferTest.java

        bufferHelper(
            "\nempty first line\nno newline at end", "\n", "empty first line\n", "no newline at end");
        bufferHelper("three\rlines\rno newline at end", "three\r", "lines\r", "no newline at end");
        bufferHelper("mixed\nline\rendings\r\n", "mixed\n", "line\r", "endings\r\n");
      }
    
      private static final int[] CHUNK_SIZES = {1, 2, 3, Integer.MAX_VALUE};
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

                crawlingInfo = new CrawlingInfo(sessionId);
                try {
                    getCrawlingInfoService().store(crawlingInfo);
                } catch (final Exception e) {
                    throw new FessSystemException("No crawling session.", e);
                }
            }
    
            if (infoMap != null) {
                final List<CrawlingInfoParam> crawlingInfoParamList = new ArrayList<>();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

            RandomHasherAction.pickAtRandom(random).performAction(random, sinksAndControl);
          }
          // We need to ensure that at least 4 bytes have been put into the hasher or else
          // Hasher#hash will throw an ISE.
          int intToPut = random.nextInt();
          for (Hasher hasher : sinksAndControl) {
            hasher.putInt(intToPut);
          }
          for (Sink sink : sinks) {
            HashCode unused = sink.hash();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/RangeMap.java

       * for {@code asMapOfRanges().iterator().remove()}.
       *
       * <p>The returned range map will throw an {@link IllegalArgumentException} on an attempt to
       * insert a range not {@linkplain Range#encloses(Range) enclosed} by {@code range}.
       */
      // TODO(cpovirk): Consider documenting that IAE on the various methods that can throw it.
      RangeMap<K, V> subRangeMap(Range<K> range);
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/AccessTokenHelper.java

                    return values[1];
                }
                if (values.length == 1 && !BEARER.equals(values[0])) {
                    return values[0];
                }
                throw new InvalidAccessTokenException("invalid_request", "Invalid format: " + token);
            }
            final String name = ComponentUtil.getFessConfig().getApiAccessTokenRequestParameter();
            if (StringUtil.isNotBlank(name)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/validation/UriTypeValidator.java

            protocols = switch (uriType.protocolType()) {
            case WEB -> ComponentUtil.getProtocolHelper().getWebProtocols();
            case FILE -> ComponentUtil.getProtocolHelper().getFileProtocols();
            default -> throw new ConstraintDefinitionException("protocolType is emtpy.");
            };
        }
    
        @Override
        public boolean isValid(final String value, final ConstraintValidatorContext context) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jun 17 13:37:12 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/net/MimeTypeUtil.java

                if (mimetype != null) {
                    return mimetype;
                }
                return URLConnection.guessContentTypeFromName(path);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            } finally {
                CloseableUtil.close(is);
            }
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResultData.java

            final String dataStr = (String) src.get(DATA);
            if (dataStr != null) {
                try {
                    setData(Base64Util.decode(dataStr));
                } catch (final Exception e) {
                    throw new OpenSearchAccessException("data: " + dataStr, e);
                }
            }
        }
    
        @Override
        public XContentBuilder toXContent(final XContentBuilder builder, final Params params) throws IOException {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

       * <ol>
       *   <li>All its mutation methods result in UnsupportedOperationException, and do not change the
       *       underlying contents.
       *   <li>All methods that return objects that can indirectly mutate the collection throw
       *       UnsupportedOperationException when those mutators are called.
       * </ol>
       *
       * @param collection the presumed-immutable collection
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                }
                return null;
            } catch (final ChildUrlsException e) {
                throw new DataStoreCrawlingException(url,
                        "Redirected to " + e.getChildUrlList().stream().map(RequestData::getUrl).collect(Collectors.joining(", ")), e);
            } catch (final Exception e) {
                throw new DataStoreCrawlingException(url, "Failed to add: " + dataMap, e);
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.8K bytes
    - Viewed (0)
Back to top