Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 863 for Val (0.03 sec)

  1. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/CachesCleaner.kt

    abstract class CachesCleaner : BuildService<CachesCleaner.Params> {
        interface Params : BuildServiceParameters {
            val gradleVersion: Property<String>
            val homeDir: DirectoryProperty
        }
    
        @get:Inject
        abstract val fileSystemOperations: FileSystemOperations
    
        private
        var hasCleaned = false
    
        val logger = Logging.getLogger(CachesCleaner::class.java)
    
        fun cleanUpCaches() {
            synchronized(this) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. okcurl/src/main/kotlin/okhttp3/curl/internal/-MainCommon.kt

    internal fun Main.commonCreateRequest(): Request {
      val request = Request.Builder()
    
      val requestMethod = method ?: if (data != null) "POST" else "GET"
    
      val url = url ?: throw IOException("No url provided")
    
      request.url(url)
    
      data?.let {
        request.method(requestMethod, it.toRequestBody(mediaType()))
      }
    
      for (header in headers.orEmpty()) {
        val parts = header.split(':', limit = 2)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/tasks/BuildReceipt.kt

            const val buildReceiptFileName = "build-receipt.properties"
            const val buildReceiptLocation = "org/gradle/$buildReceiptFileName"
        }
    
        @get:Input
        abstract val version: Property<String>
    
        @get:Input
        abstract val baseVersion: Property<String>
    
        @get:Input
        @get:Optional
        abstract val commitId: Property<String>
    
        @get:Input
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/AutobahnTester.kt

        val endNanos = System.nanoTime()
        val tookMs = TimeUnit.NANOSECONDS.toMillis(endNanos - startNanos.get())
        println("Took ${tookMs}ms")
      }
    
      private fun getTestCount(): Long {
        val latch = CountDownLatch(1)
        val countRef = AtomicLong()
        val failureRef = AtomicReference<Throwable>()
    
        newWebSocket(
          "/getCaseCount",
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/model/GradleSubproject.kt

     * limitations under the License.
     */
    
    package gradlebuild.buildutils.model
    
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 02 14:55:06 UTC 2023
    - 806 bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/ws/WebSocketReaderTest.kt

    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.Test
    
    class WebSocketReaderTest {
      private val data = Buffer()
      private val callback = WebSocketRecorder("client")
      private val random = Random(0)
    
      // Mutually exclusive. Use the one corresponding to the peer whose behavior you wish to test.
      private val serverReader =
        WebSocketReader(
          isClient = false,
          source = data,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  7. .teamcity/src/test/kotlin/ApplyDefaultConfigurationTest.kt

        private
        val steps = BuildSteps()
    
        private
        val buildModel = CIBuildModel(
            projectId = "Gradle_Check",
            branch = VersionedSettingsBranch("master"),
            buildScanTags = listOf("Check"),
            subprojects = JsonBasedGradleSubprojectProvider(File("../.teamcity/subprojects.json"))
        )
    
        @BeforeEach
        fun setUp() {
            val stepsCapturer = slot<BuildSteps.() -> Unit>()
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 24 06:22:49 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. mockwebserver/src/main/kotlin/mockwebserver3/internal/TriggerSink.kt

    import okio.Sink
    
    /**
     * A sink that executes [trigger] after [triggerByteCount] bytes are written, and then skips all
     * subsequent bytes.
     */
    internal class TriggerSink(
      private val delegate: Sink,
      private val triggerByteCount: Long,
      private val trigger: () -> Unit,
    ) : Sink by delegate {
      private var bytesWritten = 0L
    
      override fun write(
        source: Buffer,
        byteCount: Long,
      ) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. build-logic/build-update-utils/src/main/kotlin/gradlebuild.update-versions.gradle.kts

        )
    }
    
    tasks.register<UpdateReleasedVersions>("updateReleasedVersionsToLatestNightly") {
        currentReleasedVersion = project.provider {
            val jsonText = URI("https://services.gradle.org/versions/nightly").toURL().readText()
            println(jsonText)
            val versionInfo = Gson().fromJson(jsonText, VersionBuildTimeInfo::class.java)
            ReleasedVersion(versionInfo.version, versionInfo.buildTime)
        }
    }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Oct 11 18:33:20 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt

        }
      }
    
      @Throws(IOException::class)
      private fun startHttp2() {
        val socket = this.socket!!
        val source = this.source!!
        val sink = this.sink!!
        socket.soTimeout = 0 // HTTP/2 connection timeouts are set per-stream.
        val flowControlListener = connectionListener as? FlowControlListener ?: FlowControlListener.None
        val http2Connection =
          Http2Connection.Builder(client = true, taskRunner)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top