Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,072 for Str (0.01 sec)

  1. android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

          }
          String str = builder.toString();
          HashCode hashUtf8 = murmur3_32().hashBytes(str.getBytes(UTF_8));
          assertEquals(hashUtf8, murmur3_32().newHasher().putBytes(str.getBytes(UTF_8)).hash());
          assertEquals(hashUtf8, murmur3_32().hashString(str, UTF_8));
          assertEquals(hashUtf8, murmur3_32().newHasher().putString(str, UTF_8).hash());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:29:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/Strings.java

            return getBytes(str, UNI_ENCODING);
        }
    
    
        /**
         * 
         * @param str
         * @return the string as bytes (ASCII)
         */
        public static byte[] getASCIIBytes ( String str ) {
            return getBytes(str, ASCII_ENCODING);
        }
    
    
        /**
         * @param str
         * @param config
         * @return the string as bytes
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  3. fastapi/security/oauth2.py

            self,
            *,
            flows: Annotated[
                Union[OAuthFlowsModel, Dict[str, Dict[str, Any]]],
                Doc(
                    """
                    The dictionary of OAuth2 flows.
                    """
                ),
            ] = OAuthFlowsModel(),
            scheme_name: Annotated[
                Optional[str],
                Doc(
                    """
                    Security scheme name.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 23 18:30:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  4. docs_src/security/tutorial005_an_py310.py

    }
    
    
    class Token(BaseModel):
        access_token: str
        token_type: str
    
    
    class TokenData(BaseModel):
        username: str | None = None
        scopes: list[str] = []
    
    
    class User(BaseModel):
        username: str
        email: str | None = None
        full_name: str | None = None
        disabled: bool | None = None
    
    
    class UserInDB(User):
        hashed_password: str
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. docs_src/security/tutorial005_an_py39.py

    class Token(BaseModel):
        access_token: str
        token_type: str
    
    
    class TokenData(BaseModel):
        username: Union[str, None] = None
        scopes: List[str] = []
    
    
    class User(BaseModel):
        username: str
        email: Union[str, None] = None
        full_name: Union[str, None] = None
        disabled: Union[bool, None] = None
    
    
    class UserInDB(User):
        hashed_password: str
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. tests/test_dependency_contextmanager.py

        pass
    
    
    class OtherDependencyError(Exception):
        pass
    
    
    async def asyncgen_state(state: Dict[str, str] = Depends(get_state)):
        state["/async"] = "asyncgen started"
        yield state["/async"]
        state["/async"] = "asyncgen completed"
    
    
    def generator_state(state: Dict[str, str] = Depends(get_state)):
        state["/sync"] = "generator started"
        yield state["/sync"]
        state["/sync"] = "generator completed"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:13:50 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/metadata.md

    | Parameter | Typ | Beschreibung |
    |------------|------|-------------|
    | `title` | `str` | Der Titel der API. |
    | `summary` | `str` | Eine kurze Zusammenfassung der API. <small>Verfügbar seit OpenAPI 3.1.0, FastAPI 0.99.0.</small> |
    | `description` | `str` | Eine kurze Beschreibung der API. Kann Markdown verwenden. |
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. docs_src/extra_models/tutorial001_py310.py

    app = FastAPI()
    
    
    class UserIn(BaseModel):
        username: str
        password: str
        email: EmailStr
        full_name: str | None = None
    
    
    class UserOut(BaseModel):
        username: str
        email: EmailStr
        full_name: str | None = None
    
    
    class UserInDB(BaseModel):
        username: str
        hashed_password: str
        email: EmailStr
        full_name: str | None = None
    
    
    def fake_password_hasher(raw_password: str):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 899 bytes
    - Viewed (0)
  9. docs_src/app_testing/app_b_an/main.py

    }
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        id: str
        title: str
        description: Union[str, None] = None
    
    
    @app.get("/items/{item_id}", response_model=Item)
    async def read_main(item_id: str, x_token: Annotated[str, Header()]):
        if x_token != fake_secret_token:
            raise HTTPException(status_code=400, detail="Invalid X-Token header")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Aug 15 22:31:16 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. tests/test_router_events.py

        async def lifespan(
            app: FastAPI,
        ) -> AsyncGenerator[Dict[str, Union[str, bool]], None]:
            yield {
                "app_specific": True,
                "overridden": "app",
            }
    
        @asynccontextmanager
        async def router_lifespan(
            app: FastAPI,
        ) -> AsyncGenerator[Dict[str, Union[str, bool]], None]:
            yield {
                "router_specific": True,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 24 19:09:52 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top