Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 1,316 for Some (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/test_starlette_exception.py

    @app.get("/items/{item_id}")
    async def read_item(item_id: str):
        if item_id not in items:
            raise HTTPException(
                status_code=404,
                detail="Item not found",
                headers={"X-Error": "Some custom header"},
            )
        return {"item": items[item_id]}
    
    
    @app.get("/http-no-body-statuscode-exception")
    async def no_body_status_code_exception():
        raise HTTPException(status_code=204)
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/EnumHashBiMap.java

      // TODO(b/192446998): Remove this override after tools understand nullness better.
      public @Nullable V put(K key, @ParametricNullness V value) {
        return super.put(key, value);
      }
    
      @CanIgnoreReturnValue
      @Override
      @SuppressWarnings("RedundantOverride") // b/192446478: RedundantOverride ignores some annotations.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  3. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/InternalDistributionArchiveCheckPluginFuncTest.groovy

                    plugins {
                      id 'elasticsearch.internal-distribution-archive-check'
                    }"""
            }
            file("SomeFile.txt") << """
                some dummy txt file
            """
    
            buildFile << """
                allprojects {
                    apply plugin:'base'
                    ext.elasticLicenseUrl = "http://foo.bar"
                }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 03 10:22:28 GMT 2021
    - 5.9K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java

            MapTestSuiteBuilder.using(
                    new TestTypeToInstanceMapGenerator() {
                      // Other tests will verify what real, warning-free usage looks like
                      // but here we have to do some serious fudging
                      @Override
                      @SuppressWarnings({"unchecked", "rawtypes"})
                      public Map<TypeToken, Object> create(Object... elements) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 6.9K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/EnumHashBiMap.java

      // TODO(b/192446998): Remove this override after tools understand nullness better.
      public @Nullable V put(K key, @ParametricNullness V value) {
        return super.put(key, value);
      }
    
      @CanIgnoreReturnValue
      @Override
      @SuppressWarnings("RedundantOverride") // b/192446478: RedundantOverride ignores some annotations.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java

            // 4 (dataCount) + 4 (dataOffset) + 1 (setupCount) + 2 (function)
            assertEquals(38, bytesWritten, "Number of bytes written should be 38 for primary transaction");
    
            // Verify some key values
            assertEquals(smbComNtTransaction.maxSetupCount, dst[0], "maxSetupCount should be written correctly");
            assertEquals(smbComNtTransaction.totalParameterCount, SmbComTransaction.readInt4(dst, 3),
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  7. docs/en/docs/how-to/custom-request-and-route.md

    # Custom Request and APIRoute class { #custom-request-and-apiroute-class }
    
    In some cases, you may want to override the logic used by the `Request` and `APIRoute` classes.
    
    In particular, this may be a good alternative to logic in a middleware.
    
    For example, if you want to read or manipulate the request body before it is processed by your application.
    
    /// danger
    
    This is an "advanced" feature.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  8. src/test/java/jcifs/pac/kerberos/KerberosConstantsTest.java

         * Since it's an interface with only static final fields, there is no complex logic to test.
         */
        @Test
        void testConstants() {
            // A simple assertion to verify that some of the constants have the expected values.
            // This confirms that the class is on the classpath and its fields are accessible.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 1.1K bytes
    - Click Count (1)
  9. ci/official/envs/enable_pycpp_build

    # limitations under the License.
    # ==============================================================================
    #
    # Changes the behavior in pycpp.sh from "run all tests" to "verify that all
    # tests can compile." Used in some CI jobs (macOS and Linux Arm64) where test
    # execution is too expensive.
    TFCI_PYCPP_SWAP_TO_BUILD_ENABLE=1
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Fri Feb 02 21:57:40 GMT 2024
    - 976 bytes
    - Click Count (0)
  10. tensorflow/c/c_api_experimental_test.cc

                        /*expected_shape*/ make_shape({kUnknownDim, kUnknownDim}));
    
      TFE_DeleteOp(matmul_op);
      // TODO(bgogul): Add some death tests where status is not OK.
    }
    
    TEST_F(ShapeInferenceTest, InfersShapesFromInputTensors) {
      // Prepare some tensors for shape.
      TF_Tensor* tensor_1X6 = Int32Tensor({1, 6});
      CHECK_EQ(TF_OK, TF_GetCode(status_)) << TF_Message(status_);
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 07 04:56:09 GMT 2026
    - 13.1K bytes
    - Click Count (0)
Back to Top