- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 1,510 for take (0.02 seconds)
-
mockwebserver/src/main/kotlin/mockwebserver3/SocketEffect.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package mockwebserver3 /** * An adverse action to take on a socket, intended to exercise failure modes in the calling code. */ public sealed interface SocketEffect { /** * Close the TCP socket that carries this request. *Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Jun 20 11:46:46 GMT 2025 - 1.6K bytes - Click Count (0) -
docs/changelogs/upgrading_to_okhttp_4.md
We’ve included deprecated APIs in OkHttp 4.0 because they make migration easy. We will remove them in a future release! If you’re skipping releases, it’ll be much easier if you upgrade to OkHttp 4.0 as an intermediate step. #### Vars and Vals Java doesn’t have language support for properties so developers make do with getters and setters. Kotlin does have properties and we take advantage of them in OkHttp.
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Feb 06 16:58:16 GMT 2022 - 10.9K bytes - Click Count (0) -
docs/en/docs/advanced/additional-responses.md
Each of those response `dict`s can have a key `model`, containing a Pydantic model, just like `response_model`. **FastAPI** will take that model, generate its JSON Schema and include it in the correct place in OpenAPI. For example, to declare another response with a status code `404` and a Pydantic model `Message`, you can write:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 8.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/TestLogHandler.kt
} finally { afterEach(null) } } } fun takeAll(): List<String> { val list = mutableListOf<String>() logs.drainTo(list) return list } fun take(): String = logs.poll(10, TimeUnit.SECONDS) ?: throw AssertionError("Timed out waiting for log message.")Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2.5K bytes - Click Count (0) -
cmd/signals.go
for _, p := range globalProfiler { p.Stop() } if success { os.Exit(0) } os.Exit(1) } stopProcess := func() bool { shutdownHealMRFWithTimeout() // this can take time sometimes, it needs to be executed // before stopping s3 operations // send signal to various go-routines that they need to quit. cancelGlobalContext() if httpServer := newHTTPServerFn(); httpServer != nil {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Sep 04 17:02:39 GMT 2024 - 3.2K bytes - Click Count (0) -
docs/en/docs/deployment/fastapicloud.md
It streamlines the process of **building**, **deploying**, and **accessing** an API with minimal effort. It brings the same **developer experience** of building apps with FastAPI to **deploying** them to the cloud. 🎉 It will also take care of most of the things you would need when deploying an app, like: * HTTPS * Replication, with autoscaling based on requests * etc.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 17 19:33:53 GMT 2025 - 2K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java
* inserted by producers and extracted by consumers. Once created, the capacity cannot be increased. * Attempts to {@code put} an element into a full queue will result in the operation blocking; * attempts to {@code take} an element from an empty queue will similarly block. * * <p>This class supports an optional fairness policy for ordering waiting producer and consumerCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 22.4K bytes - Click Count (0) -
docs/en/docs/deployment/docker.md
This can be quite noticeable when using `docker compose`. See this Docker Compose FAQ section for more technical details: <a href="https://docs.docker.com/compose/faq/#why-do-my-services-take-10-seconds-to-recreate-or-stop" class="external-link" target="_blank">Why do my services take 10 seconds to recreate or stop?</a>. #### Directory Structure { #directory-structure } You should now have a directory structure like: ``` . ├── app
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Sep 20 12:58:04 GMT 2025 - 29.5K bytes - Click Count (1) -
impl/maven-core/lifecycle-executor.txt
<configuration/> element and <parameters/> element. From these elements we need to make a component configuration for the MojoExecution. The actual DOM like structure we create is of type PlexusConfiguration and is the type we use with the ComponentConfigurator to initialize fields in a Plexus component. Typically this is done within Plexus with the configuration supplied with component configuration, but in Maven we take configuration values from the POM. So we have to use the ComponentConfigurator...
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 9.7K bytes - Click Count (0) -
docs/en/docs/tutorial/security/get-current-user.md
The security and dependency injection stuff is written once. And you can make it as complex as you want. And still, have it written only once, in a single place. With all the flexibility. But you can have thousands of endpoints (*path operations*) using the same security system. And all of them (or any portion of them that you want) can take advantage of re-using these dependencies or any other dependencies you create.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 09:15:41 GMT 2025 - 4K bytes - Click Count (0)