Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3861 - 3870 of 4,435 for TRUE (0.37 seconds)

  1. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

                // Accept also default `getIsX` methods added to interface that are added for Kotlin source compatibility
                return true;
            }
    
            if (changeTypes.contains(METHOD_REMOVED)) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/tutorial/body-multiple-params.md

    假設你只有一個來自 Pydantic 模型 `Item` 的單一 `item` Body 參數。
    
    預設情況下,**FastAPI** 會直接期望該模型的內容作為請求主體。
    
    但如果你想讓它像宣告多個 Body 參數時那樣,期望一個帶有 `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": {
            "name": "Foo",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:15:26 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  3. src/cmd/asm/internal/asm/operand_test.go

    }
    
    // tryParse executes parse func in panicOnError=true context.
    // parse is expected to call any parsing methods that may panic.
    // Returns error gathered from recover; nil if no parse errors occurred.
    //
    // For unexpected panics, calls t.Fatal.
    func tryParse(t *testing.T, parse func()) (err error) {
    	panicOnError = true
    	defer func() {
    		panicOnError = false
    
    		e := recover()
    		var ok bool
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 23.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/dict/stemmeroverride/ApiAdminDictStemmeroverrideAction.java

                return null;
            });
            stemmerOverrideService.store(body.dictId, entity);
            return asJson(
                    new ApiResult.ApiUpdateResponse().id(String.valueOf(entity.getId())).created(true).status(ApiResult.Status.OK).result());
        }
    
        /**
         * Updates an existing stemmer override dictionary item.
         *
         * @param dictId the dictionary ID
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

            }
    
            @Test
            @DisplayName("Should check if resolve hashes")
            void testIsResolveHashes() {
                // Test with mock
                when(mockReferralData.isResolveHashes()).thenReturn(true);
                assertTrue(mockReferralData.isResolveHashes());
                verify(mockReferralData, times(1)).isResolveHashes();
    
                // Test with concrete implementation
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 28.2K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java

            boolean foundTestMethod = false;
            for (StackTraceElement element : exception.getStackTrace()) {
                if ("test_stackTrace".equals(element.getMethodName())) {
                    foundTestMethod = true;
                    break;
                }
            }
            assertTrue(foundTestMethod);
        }
    
        @Test
        public void test_serialVersionUID() {
            // Test that the exception is serializable
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

          for (Parameter param : Invokable.from(method).getParameters()) {
            if (!NullPointerTester.isPrimitiveOrNullable(param)) {
              return true;
            }
          }
        }
        return false;
      }
    
      /**
       * Tests the {@link Object#equals} and {@link Object#hashCode} of {@code cls}. In details:
       *
       * <ul>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 32.5K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/suggest/converter/AnalyzerConverterTest.java

        @BeforeClass
        public static void beforeClass() throws Exception {
            runner = new OpenSearchRunner();
            runner.onBuild((number, settingsBuilder) -> {
                settingsBuilder.put("http.cors.enabled", true);
                settingsBuilder.put("discovery.type", "single-node");
            })
                    .build(newConfigs().clusterName("AnalyzerConverterTest")
                            .numOfNode(1)
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  9. tensorflow/c/eager/BUILD

            "@xla//xla/tsl/distributed_runtime/coordination:coordination_service_agent",
        ],
        alwayslink = 1,
    )
    
    cc_library(
        name = "c_api_experimental_reader",
        testonly = True,
        srcs = [
            "c_api_experimental_reader.cc",
        ],
        hdrs = [
            "c_api_experimental_reader.h",
            "tfe_monitoring_reader_internal.h",
        ],
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Tue Feb 24 06:18:31 GMT 2026
    - 33.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/dict/mapping/ApiAdminDictMappingAction.java

                return null;
            });
            charMappingService.store(body.dictId, entity);
            return asJson(
                    new ApiResult.ApiUpdateResponse().id(String.valueOf(entity.getId())).created(true).status(ApiResult.Status.OK).result());
        }
    
        /**
         * Update an existing character mapping entry in the specified dictionary.
         *
         * @param dictId identifier of the dictionary
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 9.5K bytes
    - Click Count (0)
Back to Top