Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3831 - 3840 of 4,435 for TRUE (0.04 seconds)

  1. docs/zh-hant/docs/tutorial/response-model.md

    你可以在「路徑操作裝飾器」上設定 `response_model_exclude_unset=True`:
    
    {* ../../docs_src/response_model/tutorial004_py310.py hl[22] *}
    
    如此這些預設值就不會被包含在回應中,只有實際被設定的值才會包含。
    
    因此,如果你對該「路徑操作」發送針對 ID 為 `foo` 的項目的請求,回應(不包含預設值)會是:
    
    ```JSON
    {
        "name": "Foo",
        "price": 50.2
    }
    ```
    
    /// info | 說明
    
    你也可以使用:
    
    * `response_model_exclude_defaults=True`
    * `response_model_exclude_none=True`
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 14.5K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractConditionBean.java

            return false;
        }
    
        @Override
        public boolean canPagingCountLater() {
            return false;
        }
    
        @Override
        public boolean canPagingReSelect() {
            return true;
        }
    
        @Override
        public void paging(int pageSize, int pageNumber) {
            if (pageSize <= 0) {
                throwPagingPageSizeNotPlusException(pageSize, pageNumber);
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractConditionBean.java

            return false;
        }
    
        @Override
        public boolean canPagingCountLater() {
            return false;
        }
    
        @Override
        public boolean canPagingReSelect() {
            return true;
        }
    
        @Override
        public void paging(int pageSize, int pageNumber) {
            if (pageSize <= 0) {
                throwPagingPageSizeNotPlusException(pageSize, pageNumber);
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java

        @Test
        public void test_append_booleanValue() {
            StringBuilder buf = new StringBuilder();
            Supplier<Object> supplier = () -> Boolean.TRUE;
    
            monitorTarget.append(buf, "boolKey", supplier);
            assertEquals("\"boolKey\":\"true\"", buf.toString());
        }
    
        // Test append method with Date value (other object type)
        @Test
        public void test_append_dateValue() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.3K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/validation/UriTypeTest.java

            boolean hasFile = false;
            for (final ProtocolType type : values) {
                if (type == ProtocolType.WEB) {
                    hasWeb = true;
                } else if (type == ProtocolType.FILE) {
                    hasFile = true;
                }
            }
    
            assertTrue("Should have WEB protocol type", hasWeb);
            assertTrue("Should have FILE protocol type", hasFile);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 21.3K bytes
    - Click Count (0)
  6. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

     * a single section.
     */
    internal fun withoutSectionSpans(mappings: List<Mapping>): List<Mapping> {
      val result = mutableListOf<Mapping>()
    
      val i = mappings.iterator()
      var current = i.next()
    
      while (true) {
        if (current.spansSections) {
          result +=
            Mapping(
              current.sourceCodePoint0,
              current.section + 0x7f,
              current.type,
              current.mappedTo,
            )
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/SmbException.java

        }
    
        /**
         * Constructs an SmbException with the specified error code
         *
         * @param errcode the error code (either SMB or Windows error code)
         * @param winerr true if errcode is a Windows error code, false if it's an SMB error code
         */
        public SmbException(final int errcode, final boolean winerr) {
            super(winerr ? getMessageByWinerrCode(errcode) : getMessageByCode(errcode));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  8. src/main/webapp/WEB-INF/fe.tld

        </description>
        <name>html</name>
        <function-class>org.codelibs.fess.taglib.FessFunctions</function-class>
        <function-signature>java.lang.String html(boolean)</function-signature>
        <example>
          ${fe:html(true)}...${fe:html(false)}
        </example>
      </function>
    
      <function>
        <description>
          Returns a label name.
        </description>
        <name>labelexists</name>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 18 11:38:54 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt

            }
    
            return@synchronized Effects(
              callsToExecute = callsToExecute,
              idleCallbackToRun = idleCallbackToRun,
            )
          }
    
        var callDispatcherQueueStart = true
    
        for (i in 0 until effects.callsToExecute.size) {
          val call = effects.callsToExecute[i]
    
          // If the newly-enqueued call is already out, skip its dispatcher queue events. We only
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Oct 07 14:16:22 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/helper/KeyMatchHelper.java

                    searchRequestBuilder.setPreference(Constants.SEARCH_PREFERENCE_LOCAL)
                            .setQuery(pair.getValue2())
                            .setSize(keyMatch.getMaxSize());
                    return true;
                });
            }
            return Collections.emptyList();
        }
    
        /**
         * Converts a string to lowercase.
         *
         * @param term The string to convert.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 10.1K bytes
    - Click Count (0)
Back to Top