Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4951 - 4960 of 8,407 for klass (0.02 sec)

  1. src/test/java/jcifs/internal/dtyp/ACETest.java

    import org.junit.jupiter.params.provider.CsvSource;
    import org.junit.jupiter.params.provider.ValueSource;
    
    import jcifs.smb.SID;
    import jcifs.smb.SmbException;
    
    /**
     * Test class for ACE (Access Control Entry)
     */
    class ACETest {
    
        private ACE ace;
        private byte[] testBuffer;
    
        @BeforeEach
        void setUp() {
            ace = new ACE();
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

    import org.eclipse.aether.util.repository.AuthenticationBuilder;
    
    /**
     * <strong>Warning:</strong> This is an internal utility class that is only public for technical reasons, it is not part
     * of the public API. In particular, this class can be changed or deleted without prior notice.
     *
     */
    public class RepositoryUtils {
    
        private static String nullify(String string) {
            return (string == null || string.isEmpty()) ? null : string;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 04 18:33:16 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. docs/zh/docs/advanced/custom-response.md

    如上文所述,这是 **FastAPI** 中使用的默认响应。
    
    ### `ORJSONResponse`
    
    如上文所述,`ORJSONResponse` 是一个使用 <a href="https://github.com/ijl/orjson" class="external-link" target="_blank">`orjson`</a> 的快速的可选 JSON 响应。
    
    
    ### `UJSONResponse`
    
    `UJSONResponse` 是一个使用 <a href="https://github.com/ultrajson/ultrajson" class="external-link" target="_blank">`ujson`</a> 的可选 JSON 响应。
    
    /// warning | 警告
    
    在处理某些边缘情况时,`ujson` 不如 Python 的内置实现那么谨慎。
    
    ///
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/security/first-steps.md

    ## 运行
    
    /// info | 说明
    
    先安装 <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>。
    
    安装命令: `pip install python-multipart`。
    
    这是因为 **OAuth2** 使用**表单数据**发送 `username` 与 `password`。
    
    ///
    
    用下面的命令运行该示例:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. docs_src/response_model/tutorial006_py39.py

    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: float = 10.5
    
    
    items = {
        "foo": {"name": "Foo", "price": 50.2},
        "bar": {"name": "Bar", "description": "The Bar fighters", "price": 62, "tax": 20.2},
        "baz": {
            "name": "Baz",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 848 bytes
    - Viewed (0)
  6. docs_src/path_operation_configuration/tutorial005_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
        tags: set[str] = set()
    
    
    @app.post(
        "/items/",
        response_model=Item,
        summary="Create an item",
        response_description="The created item",
    )
    async def create_item(item: Item):
        """
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 698 bytes
    - Viewed (0)
  7. docs_src/dependencies/tutorial008b_an_py39.py

    app = FastAPI()
    
    
    data = {
        "plumbus": {"description": "Freshly pickled plumbus", "owner": "Morty"},
        "portal-gun": {"description": "Gun to create portals", "owner": "Rick"},
    }
    
    
    class OwnerError(Exception):
        pass
    
    
    def get_username():
        try:
            yield "Rick"
        except OwnerError as e:
            raise HTTPException(status_code=400, detail=f"Owner error: {e}")
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 26 20:37:34 UTC 2023
    - 775 bytes
    - Viewed (0)
  8. android-test-app/proguard-rules.pro

    # no rules should be needed
    
    -whyareyoukeeping class okhttp3.internal.idn.IdnaMappingTable {
      *;
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Aug 03 19:38:06 UTC 2025
    - 100 bytes
    - Viewed (0)
  9. src/test/java/jcifs/http/NtlmHttpFilterTest.java

    import jcifs.context.BaseContext;
    import jcifs.smb.NtlmPasswordAuthentication;
    
    /**
     * Test class for NtlmHttpFilter
     *
     * NtlmHttpFilter is deprecated but we test it for backward compatibility
     */
    @SuppressWarnings("deprecation")
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    class NtlmHttpFilterTest {
    
        private NtlmHttpFilter filter;
    
        @Mock
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt

    import okio.ByteString
    import okio.ByteString.Companion.encodeUtf8
    
    /**
     * Tests how each code point is encoded and decoded in the context of each URL component.
     *
     * This supports [HttpUrlTest].
     */
    class UrlComponentEncodingTester private constructor() {
      private val encodings: MutableMap<Int, Encoding> = LinkedHashMap()
    
      private fun allAscii(encoding: Encoding) =
        apply {
          for (i in 0..127) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top