- Sort Score
- Num 10 results
- Language All
Results 571 - 580 of 1,467 for example2 (0.14 seconds)
-
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)Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Oct 30 13:46:58 GMT 2025 - 14.7K bytes - Click Count (1) -
docs/pt/docs/tutorial/extra-models.md
Então, se criarmos um objeto Pydantic `user_in` como: ```Python user_in = UserIn(username="john", password="secret", email="john.doe@example.com") ``` e depois chamarmos: ```Python user_dict = user_in.dict() ``` agora temos um `dict` com os dados na variável `user_dict` (é um `dict` em vez de um objeto de modelo Pydantic).
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 12 16:23:57 GMT 2025 - 7.5K bytes - Click Count (0) -
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 0Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.7K bytes - Click Count (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()
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.5K bytes - Click Count (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>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.3K bytes - Click Count (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>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.3K bytes - Click Count (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.
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.2K bytes - Click Count (0) -
tests/test_tutorial/test_security/test_tutorial002.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 2.2K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/Javadocs.java
*/ public abstract Property<URI> getGroovyApi(); /** * Coordinates of the Groovydoc (Javadoc) artifact used to extract the package list for generating Javadoc offline * Example: "org.apache.groovy:groovy-all:4.0.28:groovydoc" */ public abstract Property<String> getGroovyPackageListSrc(); /** * The CSS file to style Javadocs with */Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Aug 21 16:24:54 GMT 2025 - 1.8K bytes - Click Count (0) -
.github/CONTRIBUTING.md
- Favour a working external library if appropriate. There are many examples of OkHttp libraries that can sit on top or hook in via existing APIs. - Get working code on a personal branch with tests before you submit a PR.
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Mar 17 04:16:26 GMT 2019 - 1.4K bytes - Click Count (0)