Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 46 for accBits (0.1 seconds)

  1. tests/test_openapi_schema_type.py

        [
            "array",
            ["string", "null"],
            None,
        ],
    )
    def test_allowed_schema_type(
        type_value: SchemaType | list[SchemaType] | None,
    ) -> None:
        """Test that Schema accepts SchemaType, List[SchemaType] and None for type field."""
        schema = Schema(type=type_value)
        assert schema.type == type_value
    
    
    def test_invalid_type_value() -> None:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 685 bytes
    - Click Count (0)
  2. doc/next/6-stdlib/99-minor/net/http/75500.md

    HTTP/2 server now accepts client priority signals, as defined in RFC 9218,
    allowing it to prioritize serving HTTP/2 streams with higher priority. If the
    old behavior is preferred, where streams are served in a round-robin manner
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 22 22:02:25 GMT 2026
    - 306 bytes
    - Click Count (0)
  3. docs/en/docs/advanced/advanced-python-types.md

    ```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:
    
    ```Python
    say_hi(name=None)  # This works, None is valid 🎉
    ```
    
    The good news is, in most cases, you will be able to simply use `|` to define unions of types:
    
    ```python
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:32:12 GMT 2026
    - 2K bytes
    - Click Count (0)
  4. docs/en/docs/tutorial/handling-errors.md

    And **FastAPI**'s `HTTPException` error class inherits from Starlette's `HTTPException` error class.
    
    The only difference is that **FastAPI**'s `HTTPException` accepts any JSON-able data for the `detail` field, while Starlette's `HTTPException` only accepts strings for it.
    
    So, you can keep raising **FastAPI**'s `HTTPException` as normally in your code.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/primitives/Ints.java

       * throwing an exception if parsing fails. Additionally, this method only accepts ASCII digits,
       * and returns {@code null} if non-ASCII digits are present in the string.
       *
       * <p>Note that strings prefixed with ASCII {@code '+'} are rejected, even though {@link
       * Integer#parseInt(String)} accepts them.
       *
       * @param string the string representation of an integer value
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 31.3K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java

            } catch (InterruptedException e) {
                fail("Thread interrupted");
            }
        }
    
        @Test
        public void test_genericTypeSafety_withSubclass() {
            // Test that the exception accepts RootAction subclasses
            // This verifies the change from Class<RootAction> to Class<? extends RootAction>
            UserRoleLoginException exception = new UserRoleLoginException(TestAction.class);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/math/QuantilesTest.java

      /**
       * A {@link Correspondence} which accepts finite values within {@link #ALLOWED_ERROR} of each
       * other.
       */
      private static final Correspondence<Number, Number> FINITE_QUANTILE_CORRESPONDENCE =
          Correspondence.tolerance(ALLOWED_ERROR);
    
      /**
       * A {@link Correspondence} which accepts either finite values within {@link #ALLOWED_ERROR} of
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 29.9K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/math/QuantilesTest.java

      /**
       * A {@link Correspondence} which accepts finite values within {@link #ALLOWED_ERROR} of each
       * other.
       */
      private static final Correspondence<Number, Number> FINITE_QUANTILE_CORRESPONDENCE =
          Correspondence.tolerance(ALLOWED_ERROR);
    
      /**
       * A {@link Correspondence} which accepts either finite values within {@link #ALLOWED_ERROR} of
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 29.9K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/net/InetAddresses.java

       * Inet4Address} objects, not {@link Inet6Address}. This is consistent with the behavior of {@link
       * InetAddress}.
       *
       * <p>This method accepts non-ASCII digits, for example {@code "192.168.0.1"} (those are fullwidth
       * characters). That is consistent with {@link InetAddress}, but not with various RFCs. If you
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 47.7K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

                });
            } catch (Exception e) {
                // Expected in test environment without proper SearchEngineClient
                // The important thing is that the method exists and accepts the correct parameters
            }
    
            // Verify that the scroll method exists with correct signature
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.8K bytes
    - Click Count (0)
Back to Top