Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1511 - 1520 of 1,808 for Try (0.01 sec)

  1. src/test/java/org/codelibs/fess/crawler/transformer/FessFileTransformerTest.java

        @Override
        public void setUp() throws Exception {
            super.setUp();
            ComponentUtil.register(new DataSerializer(), "dataSerializer");
        }
    
        private String encodeUrl(final String url) {
            try {
                return URLEncoder.encode(url, Constants.UTF_8);
            } catch (final UnsupportedEncodingException e) {
                throw new FessSystemException("Unsupported encoding.", e);
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 11K bytes
    - Viewed (0)
  2. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

                logger.log("--> END ${request.method} (${requestBody.contentLength()}-byte body)")
              }
            }
          }
    
          val startNs = System.nanoTime()
          val response: Response
          try {
            response = chain.proceed(request)
          } catch (e: Exception) {
            val tookMs = TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - startNs)
            logger.log(
              buildString {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 14:27:04 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/query/parser/QueryParser.java

         *
         * @return the default filter chain
         */
        protected FilterChain createDefaultFilterChain() {
            return query -> {
                try {
                    return createQueryParser().parse(query);
                } catch (final ParseException e) {
                    throw new QueryParseException(e);
                }
            };
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/opensearch/user/bsbhv/BsUserBhv.java

        public UserDbm asDBMeta() {
            return UserDbm.getInstance();
        }
    
        @Override
        protected <RESULT extends User> RESULT createEntity(Map<String, Object> source, Class<? extends RESULT> entityType) {
            try {
                final RESULT result = entityType.newInstance();
                result.setBusinessCategory(DfTypeUtil.toString(source.get("businessCategory")));
                result.setCarLicense(DfTypeUtil.toString(source.get("carLicense")));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 12K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/mylasta/action/FessHtmlPathTest.java

                assertTrue("Edit path should match pattern", htmlNext.getRoutingPath().contains("_edit.jsp"));
            }
        }
    
        private Field getFieldIfExists(String fieldName) {
            try {
                return FessHtmlPath.class.getDeclaredField(fieldName);
            } catch (NoSuchFieldException e) {
                return null;
            }
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  6. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

     *       create a {@link SettableFuture} instead. (If your needs are more complex, you may prefer
     *       {@link AbstractFuture}.)
     * </ul>
     *
     * <p><b>Test doubles</b>: If you need a {@code ListenableFuture} for your test, try a {@link
     * SettableFuture} or one of the methods in the {@link Futures#immediateFuture Futures.immediate*}
     * family. <b>Avoid</b> creating a mock or stub {@code Future}. Mock and stub implementations are
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/path-operation-advanced-configuration.md

    Then we use the request directly, and extract the body as `bytes`. This means that FastAPI won't even try to parse the request payload as JSON.
    
    And then in our code, we parse that YAML content directly, and then we are again using the same Pydantic model to validate the YAML content:
    
    //// tab | Pydantic v2
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/extra-models.md

    ```Python
    some_variable: PlaneItem | CarItem
    ```
    
    But if we put that in the assignment `response_model=PlaneItem | CarItem` we would get an error, because Python would try to perform an **invalid operation** between `PlaneItem` and `CarItem` instead of interpreting that as a type annotation.
    
    ## List of models { #list-of-models }
    
    The same way, you can declare responses of lists of objects.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/ListenableFuture.java

     *       create a {@link SettableFuture} instead. (If your needs are more complex, you may prefer
     *       {@link AbstractFuture}.)
     * </ul>
     *
     * <p><b>Test doubles</b>: If you need a {@code ListenableFuture} for your test, try a {@link
     * SettableFuture} or one of the methods in the {@link Futures#immediateFuture Futures.immediate*}
     * family. <b>Avoid</b> creating a mock or stub {@code Future}. Mock and stub implementations are
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TextUtil.java

                boolean isSpace = false;
                int alphanumSize = 0;
                int symbolSize = 0;
                int c;
                final Set<String> termCache = new HashSet<>(1000);
                try {
                    while ((c = reader.read()) != -1) {
                        if (Character.isISOControl(c) || isSpaceChar(c)) {
                            if (duplicateTermRemoved) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 12K bytes
    - Viewed (0)
Back to top