Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 4031 - 4040 of 4,556 for true (0.03 seconds)

  1. src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java

            // Test analyzeAndReading with Japanese text
            String text = "東京 大阪";
            String field = "content";
            String lang = "ja";
    
            testAnalyzer.setJapaneseMode(true);
            List<AnalyzeToken> tokens = analyzer.analyzeAndReading(text, field, lang);
    
            assertNotNull(tokens);
            assertEquals(2, tokens.size());
            assertEquals("東京", tokens.get(0).getTerm());
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/PermissionHelperTest.java

                @Override
                public String getRoleSearchRolePrefix() {
                    return "";
                }
    
                @Override
                public boolean isLdapIgnoreNetbiosName() {
                    return true;
                }
            });
            try {
                assertEquals("guest", permissionHelper.encode("{role}guest"));
                assertEquals("guest", permissionHelper.encode("guest"));
            } finally {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14K bytes
    - Click Count (0)
  3. src/test/java/jcifs/MsrpcDfsRootEnumTest.java

        private void setDfsEnumArray(MsrpcDfsRootEnum target, netdfs.DfsEnumArray200 array) throws Exception {
            Field eField = netdfs.DfsEnumStruct.class.getDeclaredField("e");
            eField.setAccessible(true);
            eField.set(target.info, array);
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.9K bytes
    - Click Count (0)
  4. docs/ja/docs/tutorial/body-updates.md

    ///
    
    ### Pydanticの`exclude_unset`パラメータの使用 { #using-pydantics-exclude-unset-parameter }
    
    部分的な更新を受け取りたい場合は、Pydanticモデルの`.model_dump()`の`exclude_unset`パラメータを使用すると非常に便利です。
    
    `item.model_dump(exclude_unset=True)`のように。
    
    これにより、`item`モデルの作成時に設定されたデータのみを持つ`dict`が生成され、デフォルト値は除外されます。
    
    これを使うことで、デフォルト値を省略して、設定された(リクエストで送られた)データのみを含む`dict`を生成することができます:
    
    {* ../../docs_src/body_updates/tutorial002_py310.py hl[32] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

            }
    
            if (crawlingConfig != null) {
                final Map<String, String> configParam = crawlingConfig.getConfigParameterMap(ConfigName.CONFIG);
                if (configParam != null && Constants.TRUE.equalsIgnoreCase(configParam.get(Param.Config.KEEP_ORIGINAL_BODY))) {
                    return content;
                }
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Mar 30 14:27:04 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  6. docs/ja/docs/tutorial/body-multiple-params.md

    Pydanticモデル`Item`の単一の`item`ボディパラメータしかないとしましょう。
    
    デフォルトでは、**FastAPI**はそのボディを直接期待します。
    
    しかし、追加のボディパラメータを宣言したときのように、キー `item` を持つ JSON と、その中のモデル内容を期待したい場合は、特別な `Body` パラメータ `embed` を使うことができます:
    
    ```Python
    item: Item = Body(embed=True)
    ```
    
    以下において:
    
    {* ../../docs_src/body_multiple_params/tutorial005_an_py310.py hl[17] *}
    
    
    この場合、**FastAPI** は以下のようなボディを期待します:
    
    ```JSON hl_lines="2"
    {
        "item": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 15:24:30 GMT 2026
    - 5.9K bytes
    - Click Count (0)
  7. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java

            if (PLUGIN_2_0_0.equals(nsUri)) {
                org.apache.maven.api.plugin.descriptor.PluginDescriptor pd =
                        new PluginDescriptorStaxReader().read(xsr, true);
                return new PluginDescriptor(pd);
            } else {
                XmlNode node = XmlService.read(xsr);
                PlexusConfiguration cfg = XmlPlexusConfiguration.toPlexusConfiguration(node);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/suggest/util/MapValueExtractor.java

            return null;
        }
    
        /**
         * Checks if the map contains the specified key and the value is not null.
         *
         * @param map The source map
         * @param key The key to check
         * @return true if the key exists and its value is not null
         */
        public static boolean hasValue(final Map<String, Object> map, final String key) {
            return map.containsKey(key) && map.get(key) != null;
        }
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 9.8K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/ForwardingMultiset.java

       * this implementation.
       *
       * @since 7.0
       */
      protected boolean standardAdd(@ParametricNullness E element) {
        add(element, 1);
        return true;
      }
    
      /**
       * A sensible definition of {@link #addAll(Collection)} in terms of {@link #add(Object)} and
       * {@link #add(Object, int)}. If you override either of these methods, you may wish to override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  10. src/test/java/jcifs/http/NtlmSspTest.java

            lenient().when(mockCifsContext.getConfig()).thenReturn(mockConfig);
            lenient().when(mockConfig.getDefaultDomain()).thenReturn("DOMAIN");
            lenient().when(mockConfig.isUseUnicode()).thenReturn(true);
    
            // Mock NameServiceClient for Type1Message test
            lenient().when(mockCifsContext.getNameServiceClient()).thenReturn(mockNameServiceClient);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 11.4K bytes
    - Click Count (1)
Back to Top