- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 393 for TAG (0.26 seconds)
-
tests/test_union_body_discriminator_annotated.py
from pydantic import Discriminator, Tag class Cat(BaseModel): pet_type: str = "cat" meows: int class Dog(BaseModel): pet_type: str = "dog" barks: float def get_pet_type(v): assert isinstance(v, dict) return v.get("pet_type", "") Pet = Annotated[ Union[Annotated[Cat, Tag("cat")], Annotated[Dog, Tag("dog")]],Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 7.7K bytes - Click Count (0) -
docs_src/generate_clients/tutorial004.js
for (const method of Object.keys(pathData)) { const operation = pathData[method] if (operation.tags && operation.tags.length > 0) { const tag = operation.tags[0] const operationId = operation.operationId const toRemove = `${tag}-` if (operationId.startsWith(toRemove)) { const newOperationId = operationId.substring(toRemove.length) operation.operationId = newOperationId
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Thu Mar 14 11:40:05 GMT 2024 - 1K bytes - Click Count (0) -
android-test/src/androidTest/java/okhttp/android/test/letsencrypt/LetsEncryptClientTest.kt
import okhttp3.Protocol import okhttp3.Request import okhttp3.tls.HandshakeCertificates import okhttp3.tls.decodeCertificatePem import org.junit.jupiter.api.Tag import org.junit.jupiter.api.Test /** * Test for new Let's Encrypt Root Certificate. */ @Tag("Remote") class LetsEncryptClientTest { @Test fun get() { // These tests wont actually run before Android 8.0 as per
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.4K bytes - Click Count (0) -
okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourcesHttpTest.kt
import okhttp3.Request import okhttp3.sse.EventSources.processResponse import okhttp3.testing.PlatformRule import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.Tag import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.RegisterExtension @Tag("Slowish") class EventSourcesHttpTest { @RegisterExtension val platform = PlatformRule() @StartStop private val server = MockWebServer()Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Oct 03 07:51:20 GMT 2025 - 3.6K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt
// We've exhausted the source stream. if (limit == -1L && source.exhausted()) return END_OF_DATA // Read the tag. val tagAndClass = source.readByte().toInt() and 0xff val tagClass = tagAndClass and 0b1100_0000 val constructed = (tagAndClass and 0b0010_0000) == 0b0010_0000 val tag = when (val tag0 = tagAndClass and 0b0001_1111) { 0b0001_1111 -> readVariableLengthLong()Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 10.5K bytes - Click Count (0) -
internal/bucket/replication/rule.go
return r.Filter.Prefix } return r.Filter.And.Prefix } // Tags - a rule can either have tag under <filter></filter> or under // <filter><and></and></filter>. This method returns all the tags from the // rule in the format tag1=value1&tag2=value2 func (r Rule) Tags() string { if !r.Filter.Tag.IsEmpty() { return r.Filter.Tag.String() } if len(r.Filter.And.Tags) != 0 { var buf bytes.Buffer
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 8.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt
import org.junit.jupiter.api.Assumptions.assumeTrue import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Tag import org.junit.jupiter.api.Test import org.junit.jupiter.api.Timeout import org.junit.jupiter.api.extension.RegisterExtension @Suppress("UsePropertyAccessSyntax") @Timeout(6) @Tag("slow") @Burst class SocketChannelTest { @JvmField @RegisterExtension val platform = PlatformRule()Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Nov 01 12:18:11 GMT 2025 - 7.9K bytes - Click Count (0) -
android-test/src/test/kotlin/okhttp/android/test/AndroidLoggingTest.kt
try { client.newCall(request).execute() } catch (uhe: UnknownHostException) { // expected } val logs = ShadowLog.getLogsForTag(AndroidPlatform.Tag) assertThat(logs.map { it.type }).containsOnly(Log.INFO) assertThat( logs.map { it.msg.replace( "\\d+".toRegex(), "", ) }, ).containsExactly(Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Aug 21 14:27:04 GMT 2025 - 3.2K bytes - Click Count (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/Android10Platform.kt
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Jul 20 11:25:50 GMT 2025 - 4.5K bytes - Click Count (0) -
android-test/src/androidTest/java/okhttp/android/test/sni/SniOverrideTest.kt
import okhttp3.Dns import okhttp3.OkHttpClient import okhttp3.Protocol import okhttp3.Request import org.junit.jupiter.api.Assumptions.assumeTrue import org.junit.jupiter.api.Tag import org.junit.jupiter.api.Test /** * Tests for SNI overriding on Android. */ @Tag("Remote") class SniOverrideTest { var client = OkHttpClient .Builder() .build() @Test fun getWithCustomSocketFactory() {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3.6K bytes - Click Count (0)