Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,169 for Parameter (0.07 sec)

  1. src/test/java/org/codelibs/fess/script/ScriptEngineTest.java

        }
    
        // Test evaluate method with empty parameter map
        public void test_evaluate_withEmptyParamMap() {
            String template = "Static content";
            Map<String, Object> paramMap = Collections.emptyMap();
    
            Object result = scriptEngine.evaluate(template, paramMap);
            assertEquals("Static content", result);
        }
    
        // Test evaluate method with null parameter map
        public void test_evaluate_withNullParamMap() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

                    assertEquals("appendOsStats should take StringBuilder", StringBuilder.class, method.getParameterTypes()[0]);
                    break;
                case "appendProcessStats":
                    hasAppendProcessStats = true;
                    assertEquals("appendProcessStats should take StringBuilder parameter", 1, method.getParameterCount());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java

            // Setup - verify parameter order is correct
            final VaMessenger<FessMessages> messageCode = messages -> messages.addErrorsInvalidQueryUnknown(UserMessages.GLOBAL_PROPERTY_KEY);
            final String message = "Parameter order test";
            final Exception cause = new RuntimeException("Test cause");
    
            // Execute with three parameters
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/validation/UriTypeTest.java

        @UriType(protocolType = ProtocolType.WEB)
        public String testMethod() {
            return "http://example.com";
        }
    
        // Test parameter with UriType annotation
        public void testMethodWithParameter(@UriType(protocolType = ProtocolType.FILE) final String uri) {
            // Method for testing parameter annotation
        }
    
        // Test groups for validation
        private interface TestGroup {
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 21K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/request-files.md

    ## File Parameters with `UploadFile` { #file-parameters-with-uploadfile }
    
    Define a file parameter with a type of `UploadFile`:
    
    {* ../../docs_src/request_files/tutorial001_an_py39.py hl[14] *}
    
    Using `UploadFile` has several advantages over `bytes`:
    
    * You don't have to use `File()` in the default value of the parameter.
    * It uses a "spooled" file:
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryWrapper.java

        /**
         * Sets the initialization parameter map for this wrapper.
         * These parameters will be applied to the wrapped factory upon calling initParameterMap().
         * @param params The map of parameters.
         */
        @Override
        public void setInitParameterMap(final Map<String, Object> params) {
            this.params.putAll(params);
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. docs/en/docs/python-types.md

    As an example, let's take this function:
    
    {* ../../docs_src/python_types/tutorial009c.py hl[1,4] *}
    
    The parameter `name` is defined as `Optional[str]`, but it is **not optional**, you cannot call the function without the parameter:
    
    ```Python
    say_hi()  # Oh, no, this throws an error! 😱
    ```
    
    The `name` parameter is **still required** (not *optional*) because it doesn't have a default value. Still, `name` accepts `None` as the value:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/schema-extra-example.md

    This doesn't go inside of each JSON Schema contained in OpenAPI, this goes outside, in the *path operation* directly.
    
    ### Using the `openapi_examples` Parameter { #using-the-openapi-examples-parameter }
    
    You can declare the OpenAPI-specific `examples` in FastAPI with the parameter `openapi_examples` for:
    
    * `Path()`
    * `Query()`
    * `Header()`
    * `Cookie()`
    * `Body()`
    * `Form()`
    * `File()`
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/DummyProxy.java

            Object proxy, Method method, @Nullable Object[] args) {
          Invokable<?, ?> invokable = interfaceType.method(method);
          ImmutableList<Parameter> params = invokable.getParameters();
          for (int i = 0; i < args.length; i++) {
            Parameter param = params.get(i);
            if (!isNullable(param)) {
              checkNotNull(args[i]);
            }
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:10:29 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

        /**
         * Creates an {@link java.io.OutputStream} for writing bytes to a file
         * on an SMB server addressed by the <code>SmbFile</code> parameter. See
         * {@link jcifs.smb1.smb1.SmbFile} for a detailed description and examples of
         * the smb URL syntax.
        <p>
        The second parameter specifies how the file should be shared. If
        <code>SmbFile.FILE_NO_SHARE</code> is specified the client will
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top