Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 657 for fun (0.1 sec)

  1. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/provider/BuildTimestampFromBuildReceiptValueSource.kt

            val buildReceiptFileContents: Property<String>
        }
    
        override fun obtain(): String? = parameters.run {
            buildReceiptString()
                ?.let(BuildReceipt::readBuildReceiptFromString)
                ?.let { buildReceipt ->
                    buildReceipt["buildTimestamp"] as String
                }
        }
    
        override fun getDisplayName(): String =
            "the build timestamp extracted from the build receipt".let {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/ws/WebSocketWriterTest.kt

      }
    
      @Test fun clientEmptyClose() {
        clientWriter.writeClose(0, null)
        assertData("888060b420bb")
      }
    
      @Test fun clientCloseWithCode() {
        clientWriter.writeClose(1001, null)
        assertData("888260b420bb635d")
      }
    
      @Test fun clientCloseWithCodeAndReason() {
        clientWriter.writeClose(1001, "Hello".encodeUtf8())
        assertData("888760b420bb635d68de0cd84f")
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/UpgradedPropertiesChangesTest.kt

     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility
    
    import org.junit.Test
    
    
    class UpgradedPropertiesChangesTest : AbstractBinaryCompatibilityTest() {
    
        @Test
        fun `should report binary incompatibility for upgraded property without any metadata`() {
            checkNotBinaryCompatible(
                v1 = {
                    withFile(
                        "java/com/example/Task.java",
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 02 14:20:08 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

      }
    
      @Test
      fun serverClosesSocket() {
        testServerClosesOutput(DisconnectAtEnd)
      }
    
      @Test
      fun serverShutdownInput() {
        testServerClosesOutput(ShutdownInputAtEnd)
      }
    
      @Test
      fun serverShutdownOutput() {
        testServerClosesOutput(ShutdownOutputAtEnd)
      }
    
      @Test
      fun invalidHost() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTask.kt

    abstract class SortAcceptedApiChangesTask : AbstractAcceptedApiChangesMaintenanceTask() {
    
        @TaskAction
        fun execute() {
            loadChanges().mapValues {
                formatChanges(sortChanges(it.value))
            }.forEach {
                it.key.bufferedWriter().use { out -> out.write(it.value) }
            }
        }
    
        private
        fun formatChanges(changes: List<AcceptedApiChange>): String {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/TestTls13Request.kt

        .tlsVersions(TlsVersion.TLS_1_2)
        .build()
    
    private fun testClient(
      urls: List<String>,
      client: OkHttpClient,
    ) {
      try {
        for (url in urls) {
          sendRequest(client, url)
        }
      } finally {
        client.dispatcher.executorService.shutdownNow()
        client.connectionPool.evictAll()
      }
    }
    
    private fun buildClient(vararg specs: ConnectionSpec): OkHttpClient {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskLogger.kt

    package okhttp3.internal.concurrent
    
    import java.util.logging.Level
    import java.util.logging.Logger
    
    internal inline fun Logger.taskLog(
      task: Task,
      queue: TaskQueue,
      messageBlock: () -> String,
    ) {
      if (isLoggable(Level.FINE)) {
        log(task, queue, messageBlock())
      }
    }
    
    internal inline fun <T> Logger.logElapsed(
      task: Task,
      queue: TaskQueue,
      block: () -> T,
    ): T {
      var startNs = -1L
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/ResponseBodyTest.kt

          object : ResponseBody() {
            override fun contentType(): MediaType? {
              return null
            }
    
            override fun contentLength(): Long {
              return 5
            }
    
            override fun source(): BufferedSource {
              val source = Buffer().writeUtf8("hello")
              return object : ForwardingSource(source) {
                override fun close() {
                  closed = true
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/url/-Url.kt

    internal const val FORM_ENCODE_SET = " !\"#$&'()+,/:;<=>?@[\\]^`{|}~"
    internal const val FRAGMENT_ENCODE_SET = ""
    internal const val FRAGMENT_ENCODE_SET_URI = " \"#<>\\^`{|}"
    
    internal fun Buffer.writeCanonicalized(
      input: String,
      pos: Int,
      limit: Int,
      encodeSet: String,
      alreadyEncoded: Boolean,
      strict: Boolean,
      plusIsSpace: Boolean,
      unicodeAllowed: Boolean,
      charset: Charset?,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockWebServer.kt

      ) {
        delegate.useHttps(sslSocketFactory)
      }
    
      fun noClientAuth() {
        delegate.noClientAuth()
      }
    
      fun requestClientAuth() {
        delegate.requestClientAuth()
      }
    
      fun requireClientAuth() {
        delegate.requireClientAuth()
      }
    
      @Throws(InterruptedException::class)
      fun takeRequest(): RecordedRequest {
        return delegate.takeRequest().unwrap()
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top