Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. .teamcity/src/main/kotlin/projects/FunctionalTestProject.kt

    import model.Stage
    import model.TestCoverage
    
    const val DEFAULT_FUNCTIONAL_TEST_BUCKET_SIZE = 50
    const val DEFAULT_LINUX_FUNCTIONAL_TEST_BUCKET_SIZE = 20
    const val DEFAULT_MACOS_FUNCTIONAL_TEST_BUCKET_SIZE = 20
    
    class FunctionalTestProject(
        val model: CIBuildModel,
        functionalTestBucketProvider: FunctionalTestBucketProvider,
        val testCoverage: TestCoverage,
        val stage: Stage
    ) : Project({
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Aug 29 11:04:48 UTC 2024
    - 862 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/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)
  7. 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)
  8. 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)
  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. src/main/java/jcifs/util/Hexdump.java

                    dst[ i ] = HEX_DIGITS[ val & 0x000F ];
                }
                if ( val != 0 ) {
                    val >>>= 4;
                }
                size--;
            }
        }
    
    
        /**
         * @param val
         * @param dst
         * @param dstIndex
         * @param size
         */
        public static void toHexChars ( long val, char dst[], int dstIndex, int size ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.5K bytes
    - Viewed (0)
Back to top