- Sort Score
- Result 10 results
- Languages All
Results 481 - 490 of 1,574 for example (0.09 sec)
-
docs/recipes.md
--- title: Recipes description: A collection of common/useful code examples for Kotlin and Java --- # Recipes We've written some recipes that demonstrate how to solve common problems with OkHttp. Read through them to learn about how everything works together. Cut-and-paste these examples freely; that's what they're for. ### Synchronous Get ([.kt][SynchronousGetKotlin], [.java][SynchronousGetJava])
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Aug 30 17:01:12 UTC 2025 - 47.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt
* * ```kotlin * val hash = body.sha256().hex() * val query = Request * .Builder() * .query(body) * .url("https://example.com/query") * .cacheUrlOverride("https://example.com/query/$hash".toHttpUrl()) * .build() * ``` * * @see cacheUrlOverride */ open fun query(body: RequestBody): Builder = method("QUERY", body)Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Oct 30 13:46:58 UTC 2025 - 14.7K bytes - Viewed (1) -
docs/throttle/README.md
Example: Limit a MinIO cluster to accept at max 1600 simultaneous S3 API requests across all nodes of the cluster. ```sh export MINIO_API_REQUESTS_MAX=1600 export MINIO_ROOT_USER=your-access-key
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 16 08:43:49 UTC 2024 - 1.5K bytes - Viewed (1) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenDomainTest.java
@BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Test void constructor_shouldInitializeFieldsAndCallSuper() { // Given int access = 0x01; // Example access value // When MsrpcSamrOpenDomain msrpcSamrOpenDomain = new MsrpcSamrOpenDomain(mockHandle, access, mockSid, mockDomainHandle); // Then // Verify that ptype is set to 0Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/PublicInternalApiTest.kt
@Test fun requiresRequestBody() { assertTrue(requiresRequestBody("PUT")) assertFalse(requiresRequestBody("GET")) } @Test fun hasBody() { val request = Request.Builder().url("http://example.com").build() val response = Response .Builder() .code(200) .message("OK") .request(request) .protocol(Protocol.HTTP_2) .build()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.5K bytes - Viewed (0) -
compat/maven-model-builder/src/test/resources/poms/validation/raw-model/missing-artifactId-pluginManagement.xml
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.example.group</groupId> <artifactId>testinvalidpom</artifactId> <version>0.0.1-SNAPSHOT</version> <build> <pluginManagement> <plugins> <plugin>
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.3K bytes - Viewed (0) -
compat/maven-model-builder/src/test/resources/poms/validation/raw-model/missing-ga-pluginManagement.xml
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.example.group</groupId> <artifactId>testinvalidpom</artifactId> <version>0.0.1-SNAPSHOT</version> <build> <pluginManagement> <plugins> <plugin> <groupId></groupId>
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.3K bytes - Viewed (0) -
compat/maven-model-builder/src/test/resources/poms/validation/raw-model/ok-ci-friendly-changelist.xml
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.example.group</groupId> <artifactId>valid-version-changelist</artifactId> <version>${changelist}</version> <description> This will test if the validation for the ci friendly versions is working correct.
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.2K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial002.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 2.2K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Equivalence.java
* b)} is true if and only if {@code equivalence.equivalent(function.apply(a), function.apply(b))} * is true. * * <p>For example: * * {@snippet : * Equivalence<Person> SAME_AGE = Equivalence.equals().onResultOf(GET_PERSON_AGE); * } * * <p>{@code function} will never be invoked with a null value. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jul 10 01:47:55 UTC 2025 - 14.5K bytes - Viewed (0)