Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 882 for val1 (0.04 sec)

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

        val certificatePinner =
          CertificatePinner.Builder()
            .add("EXAMPLE.com", certA1Sha256Pin)
            .add("*.MyExample.Com", certB1Sha256Pin)
            .build()
    
        val expectedPin1 = listOf(Pin("EXAMPLE.com", certA1Sha256Pin))
        assertThat(certificatePinner.findMatchingPins("example.com")).isEqualTo(expectedPin1)
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerTest.kt

    class TaskRunnerTest {
      private val taskFaker = TaskFaker()
    
      @RegisterExtension @JvmField
      val testLogHandler = TestLogHandler(taskFaker.logger)
    
      private val taskRunner = taskFaker.taskRunner
      private val log = mutableListOf<String>()
      private val redQueue = taskRunner.newQueue()
      private val blueQueue = taskRunner.newQueue()
      private val greenQueue = taskRunner.newQueue()
    
      @AfterEach
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 23K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

        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()
            else -> tag0.toLong()
          }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/WebPlatformUrlTestData.kt

        fun load(source: BufferedSource): List<WebPlatformUrlTestData> {
          val list = mutableListOf<WebPlatformUrlTestData>()
          while (true) {
            val line = source.readUtf8Line() ?: break
            if (line.isEmpty() || line.startsWith("#")) continue
    
            var i = 0
            val parts = line.split(Regex(" ")).toTypedArray()
    
            val element = WebPlatformUrlTestData()
            element.input = unescape(parts[i++])
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt

    import org.junit.Test
    
    
    class SinceAndIncubatingRulesKotlinTest : AbstractBinaryCompatibilityTest() {
    
        private
        val publicKotlinMembers = """
    
            fun foo() {}
    
            val bar: String = "bar"
    
            val bool: Boolean = true
    
            val isBool: Boolean = true
    
            var bazar = "bazar"
    
            var bazool: Boolean = true
    
            var isFool: Boolean = true
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jul 11 06:57:51 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/tls/HostnameVerifierTest.kt

     */
    class HostnameVerifierTest {
      private val verifier = OkHostnameVerifier
    
      @RegisterExtension
      var platform = PlatformRule()
    
      @Test fun verify() {
        val session = FakeSSLSession()
        assertThat(verifier.verify("localhost", session)).isFalse()
      }
    
      @Test fun verifyCn() {
        // CN=foo.com
        val session =
          session(
            """
            -----BEGIN CERTIFICATE-----
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/-ResponseCommon.kt

    @Throws(IOException::class)
    fun Response.commonPeekBody(byteCount: Long): ResponseBody {
      val peeked = body.source().peek()
      val buffer = Buffer()
      peeked.request(byteCount)
      buffer.write(peeked, minOf(byteCount, peeked.buffer.size))
      return buffer.asResponseBody(body.contentType(), buffer.size)
    }
    
    fun Response.commonNewBuilder(): Response.Builder = Response.Builder(this)
    
    val Response.commonIsRedirect: Boolean
      get() =
        when (code) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/connection/RoutePlanner.kt

       * (success), just an exception (permanent failure), or just a plan (non-exceptional retry).
       */
      data class ConnectResult(
        val plan: Plan,
        val nextPlan: Plan? = null,
        val throwable: Throwable? = null,
      ) {
        val isSuccess: Boolean
          get() = nextPlan == null && throwable == null
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTaskIntegrationTest.kt

                        ]
                    }
                """.trimIndent()
            )
    
            val initialVerifyResult = run(":verifyAcceptedApiChangesOrdering").buildAndFail()
            assertEquals(TaskOutcome.FAILED, initialVerifyResult.task(":verifyAcceptedApiChangesOrdering")!!.outcome)
    
            val sortingResult = run(":sortAcceptedApiChanges").build()
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  10. apache-maven/src/test/resources/maven-configuration.md.vm

    KIND, either express or implied.  See the License for the
    specific language governing permissions and limitations
    under the License.
    -->
    
    ]]#
    
    #macro(yesno $val)
      #if ($val) Yes #else No #end
    #end
    
    #macro(value $val)
    #if ($val) `$val` #else - #end
    #end
    
    | No | Key | Type | Description | Default Value | Since | Source |
    | --- | --- | --- | --- | --- | --- | --- |
    #foreach($key in $keys)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 13:39:33 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top