- Sort Score
- Num 10 results
- Language All
Results 201 - 210 of 1,866 for toen (0.02 seconds)
-
docs_src/security/tutorial002_py310.py
oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token") class User(BaseModel): username: str email: str | None = None full_name: str | None = None disabled: bool | None = None def fake_decode_token(token): return User( username=token + "fakedecoded", email="******@****.***", full_name="John Doe" ) async def get_current_user(token: str = Depends(oauth2_scheme)):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 711 bytes - Click Count (0) -
ci/official/utilities/rename_and_verify_wheels.sh
# and numpy 1 support is dropped b/361369076. if [[ "$TFCI_WHL_NUMPY_VERSION" == 1 ]]; then if [[ "$TFCI_PYTHON_VERSION" == "3.13" ]]; then "$python" -m pip install numpy==1.26.4 else "$python" -m pip install numpy==1.26.0 fi fi if [[ "$TFCI_BAZEL_COMMON_ARGS" =~ gpu|cuda ]]; then echo "Checking to make sure tensorflow[and-cuda] is installable..."
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Mon Sep 22 21:39:32 GMT 2025 - 4.4K bytes - Click Count (0) -
docs_src/security/tutorial002_an_py310.py
oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token") class User(BaseModel): username: str email: str | None = None full_name: str | None = None disabled: bool | None = None def fake_decode_token(token): return User( username=token + "fakedecoded", email="******@****.***", full_name="John Doe" ) async def get_current_user(token: Annotated[str, Depends(oauth2_scheme)]):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 761 bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileOutputStreamTest.java
when(mockTreeHandle.isSMB2()).thenReturn(true); when(mockTreeHandle.getSendBufferSize()).thenReturn(65536); when(mockFileHandle.isValid()).thenReturn(false, true); // First false to trigger ensureOpen, then true when(mockFileHandle.getFileId()).thenReturn(new byte[16]); when(mockFileHandle.acquire()).thenReturn(mockFileHandle); // Mock for ensureOpen to reopen file
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0) -
src/test/java/jcifs/DfsReferralDataTest.java
// Given String server = "testserver"; when(mockReferralData.getServer()).thenReturn(server); // When String result = mockReferralData.getServer(); // Then assertEquals(server, result); verify(mockReferralData).getServer(); } @Test @DisplayName("Should get domain") void testGetDomain() { // GivenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.1K bytes - Click Count (0) -
src/packaging/common/scripts/preinst
# Source the default env file FESS_ENV_FILE="${packaging.env.file}" if [ -f "$FESS_ENV_FILE" ]; then . "$FESS_ENV_FILE" fi case "$1" in # Debian #################################################### install|upgrade) # Create fess group if not existing if ! getent group "$FESS_GROUP" > /dev/null 2>&1 ; then echo -n "Creating $FESS_GROUP group..."Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Dec 01 09:48:15 GMT 2016 - 2.3K bytes - Click Count (0) -
docs/bucket/versioning/versioning-tests.sh
if [ -n "$TEST_DEBUG" ]; then set -x fi trap 'catch $LINENO' ERR # shellcheck disable=SC2120 catch() { if [ $# -ne 0 ]; then echo "error on line $1" echo "server logs =========" cat "/tmp/sitea_1.log" echo "===========================" cat "/tmp/sitea_2.log" fi echo "Cleaning up instances of MinIO" pkill minio pkill -9 minio rm -rf /tmp/multisitea if [ $# -ne 0 ]; then exit $# fi }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Sep 06 09:42:21 GMT 2024 - 2.5K bytes - Click Count (0) -
src/main/java/jcifs/pac/kerberos/KerberosApRequest.java
/** * Creates a Kerberos AP request from a token. * * @param token the Kerberos AP-REQ token * @param keys the Kerberos keys for decryption * @throws PACDecodingException if the token cannot be decoded */ public KerberosApRequest(byte[] token, KerberosKey[] keys) throws PACDecodingException { this(parseSequence(token), keys); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.9K bytes - Click Count (0) -
src/test/java/jcifs/util/EncdecTest.java
// Then String decoded = new String(buffer); assertEquals(testString, decoded); } @Test @DisplayName("Should handle buffer bounds checking") void testBufferBounds() { // Given byte[] smallBuffer = new byte[2]; // When/Then assertThrows(IndexOutOfBoundsException.class, () -> {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.1K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy
def annotations = [] jApiType.annotations >> annotations when: annotations.clear() then: rule.maybeViolation(jApiType).humanExplanation =~ 'Is not annotated with @Incubating' when: annotations.add(incubatingAnnotation) then: rule.maybeViolation(jApiType) == null where: apiElement | jApiTypeNameCreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Jun 06 17:52:09 GMT 2025 - 16K bytes - Click Count (0)