Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for acc1 (0.01 seconds)

  1. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts

        return providers.map { provider ->
            provider.map {
                Optional.of(it)
            }.orElse(
                Optional.empty<T>()
            )
        }.reduce { acc, next ->
            acc.zip(next) { left, right ->
                when {
                    left.isPresent -> {
                        require(!right.isPresent) {
                            "Expected at most one provider to be present"
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 22:46:35 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  2. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/extension/GradleModuleExtension.kt

                        }
                    }.orElse(provider {
                        throw GradleException("Expected boolean flag to be configured")
                    })
                }
                .reduce { acc, next ->
                    acc.zip(next) { left , right ->
                        when {
                            !left.isPresent -> right
                            !right.isPresent -> left
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 22:40:18 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

      }
    
      @Test
      fun oneshotBodyIsNotCachedForQueryRequest() {
        server.enqueue(
          MockResponse
            .Builder()
            .addHeader("Cache-Control: max-age=60")
            .body("ABC1")
            .build(),
        )
        server.enqueue(
          MockResponse
            .Builder()
            .addHeader("Cache-Control: max-age=60")
            .body("ABC2")
            .build(),
        )
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 09:13:37 GMT 2026
    - 121K bytes
    - Click Count (0)
Back to Top