Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 744 for vals (0.13 sec)

  1. okhttp/src/test/java/okhttp3/RecordedResponse.kt

    import java.util.Date
    
    /**
     * A received response or failure recorded by the response recorder.
     */
    class RecordedResponse(
      @JvmField val request: Request,
      val response: Response?,
      val webSocket: WebSocket?,
      val body: String?,
      val failure: IOException?,
    ) {
      fun assertRequestUrl(url: HttpUrl) =
        apply {
          assertThat(request.url).isEqualTo(url)
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. internal/pubsub/pubsub_test.go

    		t.Fatalf("unexpected error: %v", err)
    	}
    	val := maskString("hello")
    	ps.Publish(val)
    
    	msg1 := <-ch1
    	msg2 := <-ch2
    	if msg1 != val && msg2 != val {
    		t.Fatalf("expected both subscribers to have%s , found %s and  %s", val, msg1, msg2)
    	}
    }
    
    func TestMultiPubSubMask(t *testing.T) {
    	ps := New[Maskable, Maskable](3)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt

    class Jdk8WithJettyBootPlatform(
      private val putMethod: Method,
      private val getMethod: Method,
      private val removeMethod: Method,
      private val clientProviderClass: Class<*>,
      private val serverProviderClass: Class<*>,
    ) : Platform() {
      override fun configureTlsExtensions(
        sslSocket: SSLSocket,
        hostname: String?,
        protocols: List<Protocol>,
      ) {
        val names = alpnProtocolNames(protocols)
    
        try {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt

    import org.junitpioneer.jupiter.RetryingTest
    
    @Tag("Slowish")
    class EventSourceHttpTest {
      @RegisterExtension
      val platform = PlatformRule()
      private lateinit var server: MockWebServer
    
      @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
      private val eventListener = RecordingEventListener()
      private val listener = EventSourceRecorder()
      private var client =
        clientTestRule.newClientBuilder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http/HttpHeaders.kt

    import okhttp3.internal.headersContentLength
    import okhttp3.internal.platform.Platform
    import okhttp3.internal.skipAll
    import okio.Buffer
    import okio.ByteString.Companion.encodeUtf8
    
    private val QUOTED_STRING_DELIMITERS = "\"\\".encodeUtf8()
    private val TOKEN_DELIMITERS = "\t ,=".encodeUtf8()
    
    /**
     * Parse RFC 7235 challenges. This is awkward because we need to look ahead to know how to
     * interpret a token.
     *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts

        val versionQualifier = buildVersionQualifier
        val isFinalRelease = finalRelease.isPresent
    
        val buildTimestamp = buildTimestamp()
        val versionNumber = when {
            isFinalRelease -> {
                baseVersion
            }
            rcNumber.isPresent -> {
                "$baseVersion-rc-${rcNumber.get()}"
            }
            milestoneNumber.isPresent -> {
                "$baseVersion-milestone-${milestoneNumber.get()}"
            }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  7. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateContributorsInReleaseNotes.kt

        @TaskAction
        fun update() {
            val contributorsInReleaseNotes = getContributorsInReleaseNotes().associateBy { it.login }
            val contributorsFromPullRequests = getContributorsFromPullRequests().associateBy { it.login }
    
            val unrecognizedContributors = contributorsFromPullRequests.keys - contributorsInReleaseNotes.keys
            if (unrecognizedContributors.isNotEmpty()) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Aug 21 11:42:19 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. samples/tlssurvey/src/main/kotlin/okhttp3/survey/CipherSuiteSurvey.kt

     */
    class CipherSuiteSurvey(
      val clients: List<Client>,
      val ianaSuites: IanaSuites,
      val orderBy: List<SuiteId>,
    ) {
      fun printGoogleSheet() {
        print("name")
        for (client in clients) {
          print("\t")
          print(client.nameAndVersion)
        }
        println()
        val sortedSuites =
          ianaSuites.suites.sortedBy { ianaSuite ->
            val index = orderBy.indexOfFirst { it.matches(ianaSuite) }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Apr 02 01:44:15 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-jar.gradle.kts

        rootVariant: ResolvedVariantResult
    ): Set<ComponentIdentifier> {
        val locallyAccessible = mutableSetOf<ComponentIdentifier>()
        val externallyAccessible = mutableSetOf<ComponentIdentifier>()
    
        val seen = mutableSetOf<ResolvedVariantResult>()
        val queue = ArrayDeque<DependencyResult>()
    
        val rootDependencies = rootComponent.getDependenciesForVariant(rootVariant)
        seen.add(rootVariant)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed May 01 08:59:48 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. test-site/public/javascripts/suggestor.js

                    if(listSelNum == 0) {
                        $textArea.val(inputText);
                    }
    
                },
    
                fixList: function() {
                    if(listSelNum > 0) {
                        $textArea.val($($boxElement.children("ol").children("li").get(listSelNum-1)).html());
                    }
                    inputText = $textArea.val();
    
                    isFocusList = false;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 14.6K bytes
    - Viewed (0)
Back to top