- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 36 for Example (0.05 seconds)
-
fastapi/security/oauth2.py
Read more about it in the [FastAPI docs for Simple OAuth2 with Password and Bearer](https://fastapi.tiangolo.com/tutorial/security/simple-oauth2/). ## Example ```python from typing import Annotated from fastapi import Depends, FastAPI from fastapi.security import OAuth2PasswordRequestForm app = FastAPI() @app.post("/login")Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Mar 24 16:32:10 GMT 2026 - 23.6K bytes - Click Count (0) -
fastapi/applications.py
**Example** ```python from fastapi import FastAPI app = FastAPI( servers=[ {"url": "https://stag.example.com", "description": "Staging environment"}, {"url": "https://prod.example.com", "description": "Production environment"}, ]Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Apr 01 16:16:24 GMT 2026 - 178.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/FluentIterable.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 34.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/FluentIterable.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 34.7K bytes - Click Count (0) -
README.md
open-source software development. ## Patching guidelines Follow these steps to patch a specific version of TensorFlow, for example, to apply fixes to bugs or security vulnerabilities: * Clone the TensorFlow repository and switch to the appropriate branch for your desired version—for example, `r2.8` for version 2.8. * Apply the desired changes (i.e., cherry-pick them) and resolve any code conflicts.Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Apr 02 10:38:57 GMT 2026 - 11.6K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
* <strong>Performance</strong>). * * <p><strong>Cycle Detection</strong> * * <p>Deadlocks can arise when locks are acquired in an order that forms a cycle. In a simple * example involving two locks and two threads, deadlock occurs when one thread acquires Lock A, and * then Lock B, while another thread acquires Lock B, and then Lock A: * * <pre> * Thread1: acquire(LockA) --X acquire(LockB)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 36K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
* NullPointerTester}, {@link EqualsTester} and {@link SerializableTester}. For example: * * <pre> * public class PackageSanityTests extends AbstractPackageSanityTests {} * </pre> * * <p>Note that only top-level classes with either a non-private constructor or a non-private static * factory method to construct instances can have their instance methods checked. For example: * * <pre> * public class Address {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 17.9K bytes - Click Count (0) -
.teamcity/src/main/kotlin/util/AdHocPerformanceScenario.kt
display = ParameterDisplay.PROMPT, allowEmpty = false, description = "Command line option for the performance test task to enable profiling. " + "For example `async-profiler`, `async-profiler-heap`, `async-profiler-wall`, `async-profiler-all` or `jfr`. Use `none` for benchmarking only.", ) } object AdHocPerformanceScenarioLinux : AdHocPerformanceScenario(Os.LINUX)Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 30 14:08:32 GMT 2026 - 6K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
* .transform((closer, result) -> result.get("userName"), directExecutor()) * .catching(DBException.class, e -> "no user", directExecutor()) * .finishToFuture(); * } * * In this example, when the {@code userName} {@link Future} is done, the transaction and the query * result cursor will both be closed, even if the operation is cancelled or fails. * * <h4>Manually closing</h4> *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 101.7K bytes - Click Count (0) -
CONTRIBUTING.md
Gradle uses pull requests for contributions. Fork [gradle/gradle](https://github.com/gradle/gradle) and clone your fork. Configure your Git username and email with: git config user.name 'First Last' git config user.email user@example.com ### IntelliJ IDEA #### Import Gradle into IntelliJ To import Gradle into IntelliJ: - Open the `build.gradle.kts` file in root of the project with IntelliJ and choose "Open as Project"
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Mar 27 18:43:39 GMT 2026 - 19.1K bytes - Click Count (0)