Search Options

Results per page
Sort
Preferred Languages
Advance

Results 671 - 680 of 1,375 for example2 (0.04 sec)

  1. android/guava/src/com/google/common/math/BigDecimalMath.java

       * mode}.
       *
       * <p>For the case of {@link RoundingMode#HALF_DOWN}, {@code HALF_UP}, and {@code HALF_EVEN},
       * infinite {@code double} values are considered infinitely far away. For example, 2^2000 is not
       * representable as a double, but {@code roundToDouble(BigDecimal.valueOf(2).pow(2000), HALF_UP)}
       * will return {@code Double.MAX_VALUE}, not {@code Double.POSITIVE_INFINITY}.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. docs/zh/docs/tutorial/query-param-models.md

    {* ../../docs_src/query_param_models/tutorial002_an_py310.py hl[10] *}
    
    假设有一个客户端尝试在**查询参数**中发送一些**额外的**数据,它将会收到一个**错误**响应。
    
    例如,如果客户端尝试发送一个值为 `plumbus` 的 `tool` 查询参数,如:
    
    ```http
    https://example.com/items/?limit=10&tool=plumbus
    ```
    
    他们将收到一个**错误**响应,告诉他们查询参数 `tool` 是不允许的:
    
    ```json
    {
        "detail": [
            {
                "type": "extra_forbidden",
                "loc": ["query", "tool"],
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Nov 26 22:06:31 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. docs_src/security/tutorial004_an_py39.py

    ALGORITHM = "HS256"
    ACCESS_TOKEN_EXPIRE_MINUTES = 30
    
    
    fake_users_db = {
        "johndoe": {
            "username": "johndoe",
            "full_name": "John Doe",
            "email": "johndoe@example.com",
            "hashed_password": "$argon2id$v=19$m=65536,t=3,p=4$wagCPXjifgvUFBzq4hqe3w$CYaIb8sB+wtD+Vu/P4uod1+Qof8h+1g7bbDlBID48Rc",
            "disabled": False,
        }
    }
    
    
    class Token(BaseModel):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Sep 29 02:57:38 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/escape/UnicodeEscaper.java

     * context (such as an XML document). Typically (but not always), the inverse process of
     * "unescaping" the text is performed automatically by the relevant parser.
     *
     * <p>For example, an XML escaper would convert the literal string {@code "Foo<Bar>"} into {@code
     * "Foo&lt;Bar&gt;"} to prevent {@code "<Bar>"} from being confused with an XML tag. When the
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Sets.java

       * Creates an empty {@code Set} that uses identity to determine equality. It compares object
       * references, instead of calling {@code equals}, to determine whether a provided object matches
       * an element in the set. For example, {@code contains} returns {@code false} when passed an
       * object that equals a set member, but isn't the same instance. This behavior is similar to the
       * way {@code IdentityHashMap} handles key lookups.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/annotation/Secured.java

     * Java 5 annotation for describing service layer security attributes.
     *
     * <p>
     * The <code>Secured</code> annotation is used to define a list of security configuration
     * attributes for business methods.
     * <p>
     * For example:
     *
     * <pre>
     * &#064;Secured({ &quot;ROLE_USER&quot; })
     * public void create(Contact contact);
     *
     * &#064;Secured({ &quot;ROLE_USER&quot;, &quot;ROLE_ADMIN&quot; })
     * public void update(Contact contact);
     *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ModelVersionProcessor.java

    import java.util.Properties;
    
    import org.apache.maven.model.building.ModelBuildingRequest;
    
    /**
     * Allows a fixed set of properties that are valid inside a version and that could be overwritten for example on the
     * commandline
     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface ModelVersionProcessor {
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/package-info.java

     *   <li>{@link org.apache.maven.cling.invoker.mvnup.goals.DomUtils} - XML manipulation utilities</li>
     * </ul>
     *
     * <h2>Usage Examples</h2>
     *
     * <h3>Check for Available Upgrades</h3>
     * <pre>{@code
     * mvnup check
     * }</pre>
     *
     * <h3>Apply All Upgrades</h3>
     * <pre>{@code
     * mvnup apply --all
     * }</pre>
     *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformer.java

     * </p>
     *
     * <p>
     * Example usage:
     * </p>
     *
     * <pre>
     * XpathTransformer transformer = new XpathTransformer();
     * transformer.addFieldRule("title", "//title/text()");
     * transformer.addFieldRule("body", "//body/p/text()");
     *
     * ResponseData responseData = new ResponseData();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  10. docs/ko/docs/tutorial/extra-models.md

    Pydantic 모델은 모델 데이터를 포함한 `dict`를 반환하는 `.dict()` 메서드를 제공합니다.
    
    따라서, 다음과 같이 Pydantic 객체 `user_in`을 생성할 수 있습니다:
    
    ```Python
    user_in = UserIn(username="john", password="secret", email="john.doe@example.com")
    ```
    
    그 다음, 다음과 같이 호출합니다:
    
    ```Python
    user_dict = user_in.dict()
    ```
    
    이제 변수 `user_dict`에 데이터가 포함된 `dict`를 가지게 됩니다(이는 Pydantic 모델 객체가 아닌 `dict`입니다).
    
    그리고 다음과 같이 호출하면:
    
    ```Python
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri May 30 13:38:33 UTC 2025
    - 8.4K bytes
    - Viewed (0)
Back to top