- Sort Score
- Num 10 results
- Language All
Results 301 - 310 of 1,895 for run (0.01 seconds)
-
docs/en/docs/deployment/server-workers.md
I'll show you how to **build your own image from scratch** to run a single Uvicorn process. It is a simple process and is probably what you would want to do when using a distributed container management system like **Kubernetes**. ## Recap { #recap } You can use multiple worker processes with the `--workers` CLI option with the `fastapi` or `uvicorn` commands to take advantage of **multi-core CPUs**, to run **multiple processes in parallel**.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 8.2K bytes - Click Count (0) -
docs/en/docs/tutorial/sql-databases.md
### Delete a Hero { #delete-a-hero } We can also **delete** a `Hero`. {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[66:73] hl[71] *} ### Run the App { #run-the-app } You can run the app: <div class="termy"> ```console $ fastapi dev <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 07 09:29:03 GMT 2026 - 15.3K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/MoreExecutorsDirectExecutorBenchmark.java
} @Param Impl impl; Executor executor; static final class CountingRunnable implements Runnable { AtomicInteger integer = new AtomicInteger(); @Override public void run() { integer.incrementAndGet(); } } CountingRunnable countingRunnable = new CountingRunnable(); Set<Thread> threads = new HashSet<>(); @BeforeExperiment void before() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 3.4K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
// shutDown or runOneIteration) run concurrently with one another. // TODO(lukes): why don't we use ListenableFuture to sequence things? Then we could drop the // lock. private final ReentrantLock lock = new ReentrantLock(); @WeakOuter final class Task implements Runnable { @Override public void run() { lock.lock(); try { /*Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 27.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java
* directly; please see {@link com.google.common.collect.testing.ListTestSuiteBuilder}. * * @author Chris Povirk * @author Kevin Bourrillion */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") @NullMarkedCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5K bytes - Click Count (0) -
build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/AntTask.groovy
import javax.inject.Inject import java.nio.charset.Charset /** * A task which will run ant commands. * * Logging for the task is customizable for subclasses by overriding makeLogger. */ public abstract class AntTask extends DefaultTask { /** * A buffer that will contain the output of the ant code run, * if the output was not already written directly to stdout. */Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 3.4K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/PostMultipart.java
private static final String IMGUR_CLIENT_ID = "9199fdef135c122"; private static final MediaType MEDIA_TYPE_PNG = MediaType.get("image/png"); private final OkHttpClient client = new OkHttpClient(); public void run() throws Exception { // Use the imgur image upload API as documented at https://api.imgur.com/endpoints/image RequestBody requestBody = new MultipartBody.Builder() .setType(MultipartBody.FORM)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jun 24 12:59:42 GMT 2019 - 2.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java
assertFalse(task.isCancelled()); // Start the task to put it in the RUNNING state. Have to use a separate // thread because the task will block on the task latch after unblocking // the run latch. exec.execute(task); runLatch.await(); assertEquals(1, listenerLatch.getCount()); assertFalse(task.isDone()); assertFalse(task.isCancelled());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 4.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheLoadingTest.java
assertThat(map.get(refreshKey)).isSameInstanceAs(refreshKey); new Thread() { @Override public void run() { cache.getUnchecked(getKey); getFinishedSignal.countDown(); } }.start(); new Thread() { @Override public void run() { cache.refresh(refreshKey); getFinishedSignal.countDown(); } }.start();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 91K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java
/** Runnable which will interrupt the target thread repeatedly when run. */ private static final class Interruptenator implements Runnable { private final Thread interruptee; private volatile boolean shouldStop = false; Interruptenator(Thread interruptee) { this.interruptee = interruptee; } @Override public void run() { while (!shouldStop) { interruptee.interrupt(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 15:38:30 GMT 2026 - 3.4K bytes - Click Count (0)