Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 3,162 for Fun (0.04 sec)

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

      }
    
      @Test
      fun fragmentNonAscii() {
        val url = "http://host/#Σ".toHttpUrl()
        assertThat(url.toUri().toString()).isEqualTo("http://host/#Σ")
      }
    
      @Test
      fun fragmentPercentEncodedNonAscii() {
        val url = "http://host/#%C2%80".toHttpUrl()
        assertThat(url.toUri().toString()).isEqualTo("http://host/#%C2%80")
      }
    
      @Test
      fun fragmentPercentEncodedPartialCodePoint() {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt

            return getKtExpressionNonErrorType(subject)
        }
    
        private fun getKtExpressionNonErrorType(expression: KtExpression): KaType? =
            getKtExpressionType(expression)?.nonErrorTypeOrNull()
    
        private fun KaType.nonErrorTypeOrNull(): KaType? = takeUnless { it is KaErrorType }
    
        private fun PsiElement.isWhileLoopCondition() =
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/connection/Exchange.kt

          trackFailure(e)
          throw e
        }
      }
    
      @Throws(IOException::class)
      fun trailers(): Headers = codec.trailers()
    
      @Throws(SocketException::class)
      fun newWebSocketStreams(): RealWebSocket.Streams {
        call.timeoutEarlyExit()
        return (codec.carrier as RealConnection).newWebSocketStreams(this)
      }
    
      fun webSocketUpgradeFailed() {
        bodyComplete(-1L, responseDone = true, requestDone = true, e = null)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/prettyPrintResults.kt

        fun StringBuilder.recurse(current: LanguageResult<*>, depth: Int) {
            fun indent() = "    ".repeat(depth)
            fun nextIndent() = "    ".repeat(depth + 1)
            fun appendIndented(value: Any) {
                append(indent())
                append(value)
            }
            fun appendNextIndented(value: Any) {
                append(nextIndent())
                append(value)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 22:06:18 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/PrecompiledScriptPlugin.kt

            get() = convertLineSeparatorsToUnix(scriptFile.readText())
    
        private
        fun packagePrefixed(id: String) =
            packageName?.let { "$it.$id" } ?: id
    }
    
    
    internal
    fun scriptPluginFilesOf(list: List<PrecompiledScriptPlugin>) =
        list.map { it.scriptFile }.toSet()
    
    
    private
    fun packageNameOf(code: String): String? =
        KotlinLexer().run {
            start(code)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/CombinatorsTest.kt

        }
    
        @Test
        fun `can parse tokens`() {
            val parser = combinator.token(KtTokens.OPEN_QUOTE)
            assertSuccess(parser("\""))
        }
    
        @Test
        fun `can parse string literals`() {
            val parser = combinator.stringLiteral
            assertSuccess(
                parser("\"foo\""),
                "foo"
            )
        }
    
        @Test
        fun `can parse integers`() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  7. okhttp-idna-mapping-table/src/test/kotlin/okhttp3/internal/idn/MappingTablesTest.kt

        )
      }
    
      @Test fun simplifyCanonicalizesType() {
        assertThat(
          mergeAdjacentRanges(
            listOf(
              Mapping(0x0000, 0x002c, TYPE_DISALLOWED_STD3_VALID, ByteString.EMPTY),
            ),
          ),
        ).containsExactly(
          Mapping(0x0000, 0x002c, TYPE_VALID, ByteString.EMPTY),
        )
      }
    
      @Test fun simplifyCombinesCanonicalEquivalent() {
        assertThat(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. analysis/analysis-api/testData/components/expressionInfoProvider/returnExpressionTargetSymbol/normalReturn.kt

    fun foo() {
        return/* foo@(1,1) */
    }
    
    fun bar(): String {
        return/* bar@(5,1) */""
    }
    
    fun baz(): Int {
        if (true) {
            return/* baz@(9,1) */1
        } else {
            return/* baz@(9,1) */2
        }
    }
    
    fun quux(): Int {
        while(true) {
            return/* quux@(17,1) */1
        }
        return/* quux@(17,1) */2
    }
    
    fun test() {
        run {
            return/* test@(24,1) */
        }
        fun() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Nov 19 22:29:17 UTC 2021
    - 510 bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirDataFlowInfoProvider.kt

            override fun visitElement(element: FirElement) {
                element.acceptChildren(this)
            }
    
            override fun visitAnonymousFunction(anonymousFunction: FirAnonymousFunction) = visitFunction(anonymousFunction)
            override fun visitPropertyAccessor(propertyAccessor: FirPropertyAccessor) = visitFunction(propertyAccessor)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 14:04:46 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  10. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/base/annotations/KtRendererAnnotationsFilter.kt

    import org.jetbrains.kotlin.builtins.StandardNames
    import org.jetbrains.kotlin.load.java.NULLABILITY_ANNOTATIONS
    
    public interface KaRendererAnnotationsFilter {
        public fun filter(analysisSession: KaSession, annotation: KaAnnotation, owner: KaAnnotated): Boolean
    
        public infix fun and(other: KaRendererAnnotationsFilter): KaRendererAnnotationsFilter =
            KaRendererAnnotationsFilter filter@{ annotation, owner ->
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top