Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 365 for ktlint (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

      override fun <T> tag(type: Class<out T>): T? = tag(type.kotlin)
    
      override fun <T : Any> tag(
        type: KClass<T>,
        computeIfAbsent: () -> T,
      ): T = tags.computeIfAbsent(type, computeIfAbsent)
    
      override fun <T : Any> tag(
        type: Class<T>,
        computeIfAbsent: () -> T,
      ): T = tags.computeIfAbsent(type.kotlin, computeIfAbsent)
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  2. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateInitPluginTemplateVersionFile.kt

            findLatest("commons-math", "org.apache.commons:commons-math3:latest.release", versionProperties)
            findLatest("commons-text", "org.apache.commons:commons-text:latest.release", versionProperties)
            findLatest("kotlin", "org.jetbrains.kotlin:kotlin-gradle-plugin:[1.4,)", versionProperties)
    
            store(versionProperties)
        }
    
        private
        fun store(properties: Properties) {
            PropertiesUtils.store(
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Nov 24 20:45:41 GMT 2025
    - 5K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/cache/ParametricNullness.java

     *       String}.
     *   <li>{@code getElement} on a {@code Multiset.Entry<@Nullable String>} returns {@code @Nullable
     *       String}.
     * </ul>
     *
     * This is the same behavior as type-variable usages have to Kotlin and to the Checker Framework.
     * Contrast the method above to:
     *
     * <ul>
     *   <li>methods whose return type is a type variable but which can never return {@code null},
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 16:20:21 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/math/ParametricNullness.java

     *       String}.
     *   <li>{@code getElement} on a {@code Multiset.Entry<@Nullable String>} returns {@code @Nullable
     *       String}.
     * </ul>
     *
     * This is the same behavior as type-variable usages have to Kotlin and to the Checker Framework.
     * Contrast the method above to:
     *
     * <ul>
     *   <li>methods whose return type is a type variable but which can never return {@code null},
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 16:20:21 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/net/ParametricNullness.java

     *       String}.
     *   <li>{@code getElement} on a {@code Multiset.Entry<@Nullable String>} returns {@code @Nullable
     *       String}.
     * </ul>
     *
     * This is the same behavior as type-variable usages have to Kotlin and to the Checker Framework.
     * Contrast the method above to:
     *
     * <ul>
     *   <li>methods whose return type is a type variable but which can never return {@code null},
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 16:20:21 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt

              hour == -1 && matcher.usePattern(TIME_PATTERN).matches() -> {
                hour = matcher.group(1).toInt()
                minute = matcher.group(2).toInt()
                second = matcher.group(3).toInt()
              }
              dayOfMonth == -1 && matcher.usePattern(DAY_OF_MONTH_PATTERN).matches() -> {
                dayOfMonth = matcher.group(1).toInt()
              }
              month == -1 && matcher.usePattern(MONTH_PATTERN).matches() -> {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon May 05 16:01:00 GMT 2025
    - 23.1K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/Tags.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal
    
    import java.util.concurrent.atomic.AtomicReference
    import kotlin.reflect.KClass
    
    /**
     * An immutable collection of key-value pairs implemented as a singly-linked list.
     *
     * Build up a collection by starting with [EmptyTags] and repeatedly calling [plus]. Each such call
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 24 11:37:46 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt

            .tag<String>("hello")
            .tag<Int>(5)
            .build()
        assertThat(request.toString()).isEqualTo(
          "Request{method=GET, url=https://square.com/, tags={" +
            "class kotlin.String=hello, " +
            "class kotlin.Int=5" +
            "}}",
        )
      }
    
      @Test
      fun gzip() {
        val mediaType = "text/plain; charset=utf-8".toMediaType()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 24 11:36:14 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  9. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/JavassistExtensions.kt

    import javassist.bytecode.annotation.MemberValueVisitor
    import javassist.bytecode.annotation.ShortMemberValue
    import javassist.bytecode.annotation.StringMemberValue
    import org.gradle.api.reflect.TypeOf
    import org.gradle.kotlin.dsl.*
    
    
    internal
    val CtClass.isKotlin: Boolean
        get() = hasAnnotation(Metadata::class.qualifiedName)
    
    
    internal
    val CtMethod.isSynthetic
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.6K bytes
    - Click Count (0)
  10. regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt

    import java.util.concurrent.CompletableFuture
    import java.util.concurrent.ExecutionException
    import java.util.concurrent.ExecutorService
    import java.util.concurrent.Executors
    import java.util.concurrent.TimeUnit
    import kotlin.coroutines.cancellation.CancellationException
    import okio.Buffer
    import org.junit.After
    import org.junit.Assert.assertEquals
    import org.junit.Assert.assertTrue
    import org.junit.Test
    import org.junit.runner.RunWith
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 6.3K bytes
    - Click Count (0)
Back to Top