Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 355 for unicos (0.06 sec)

  1. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

            assertEquals(testString, readString);
        }
    
        @Test
        void testStringReadWriteUnicode() throws UnsupportedEncodingException {
            smb.useUnicode = true;
            String testString = "Hello Unicode World";
            byte[] buffer = new byte[testString.length() * 2 + 2];
            int len = smb.writeString(testString, buffer, 0);
            assertEquals(testString.length() * 2 + 2, len);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. docs_src/path_operation_configuration/tutorial004_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: Union[float, None] = None
        tags: set[str] = set()
    
    
    @app.post("/items/", response_model=Item, summary="Create an item")
    async def create_item(item: Item):
        """
        Create an item with all the information:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 676 bytes
    - Viewed (0)
  3. docs_src/schema_extra_example/tutorial005_py39.py

    from typing import Union
    
    from fastapi import Body, FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        *,
        item_id: int,
        item: Item = Body(
            openapi_examples={
                "normal": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  4. docs/es/docs/index.md

    ### Créalo { #create-it }
    
    Crea un archivo `main.py` con:
    
    ```Python
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    <details markdown="1">
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 24.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/NtlmUtil.java

            hmac.update(clientChallenge);
            hmac.digest(response, 0, 16);
            System.arraycopy(clientChallenge, 0, response, 16, 8);
            return response;
        }
    
        /**
         * Generate the Unicode MD4 hash for the password associated with these credentials.
         *
         * @param password the password to hash
         * @param challenge the server challenge bytes
         * @return the calculated response
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  6. tests/test_pydanticv2_dataclasses_uuid_stringified_annotations.py

    from dataclasses import dataclass, field
    from typing import Union
    
    from dirty_equals import IsUUID
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    
    @dataclass
    class Item:
        id: uuid.UUID
        name: str
        price: float
        tags: list[str] = field(default_factory=list)
        description: Union[str, None] = None
        tax: Union[float, None] = None
    
    
    app = FastAPI()
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  7. docs_src/openapi_callbacks/tutorial001_py39.py

    from typing import Union
    
    from fastapi import APIRouter, FastAPI
    from pydantic import BaseModel, HttpUrl
    
    app = FastAPI()
    
    
    class Invoice(BaseModel):
        id: str
        title: Union[str, None] = None
        customer: str
        total: float
    
    
    class InvoiceEvent(BaseModel):
        description: str
        paid: bool
    
    
    class InvoiceEventReceived(BaseModel):
        ok: bool
    
    
    invoices_callback_router = APIRouter()
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  8. fastapi/_compat/v2.py

        name: str
        mode: Literal["validation", "serialization"] = "validation"
        config: Union[ConfigDict, None] = None
    
        @property
        def alias(self) -> str:
            a = self.field_info.alias
            return a if a is not None else self.name
    
        @property
        def validation_alias(self) -> Union[str, None]:
            va = self.field_info.validation_alias
            if isinstance(va, str) and va:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/StringsTest.java

            @DisplayName("Round-trip encoding/decoding should preserve string content")
            void testRoundTripConversion() {
                // Given
                String[] testStrings = { "Simple ASCII", "Unicode: 世界 🌍", "Mixed: ASCII + Unicode ñöt", "Special chars: !@#$%^&*()", "" };
    
                for (String original : testStrings) {
                    // When - round trip through UNI encoding
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  10. docs_src/python_types/tutorial008b_py39.py

    from typing import Union
    
    
    def process_item(item: Union[int, str]):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 84 bytes
    - Viewed (0)
Back to top