- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 3,162 for Fun (0.02 sec)
-
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/accessors/ProjectSchemaTest.kt
) } private fun schemaWithExtensions(vararg pairs: Pair<String, SchemaType>) = projectSchemaWith( extensions = pairs.map { ProjectSchemaEntry(SchemaType.of<Project>(), it.first, it.second) } ) private fun <T> ProjectSchema<T>.extension(name: String) = extensions.single { it.name == name } } internal fun projectSchemaWith(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 7.2K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt
*/ fun addInformationalResponse(response: MockResponse) = apply { informationalResponses += response } fun add100Continue() = apply { addInformationalResponse(MockResponse(code = 100)) } public override fun clone(): Builder = build().newBuilder() fun build(): MockResponse = MockResponse(this) }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Tue Jan 23 14:31:42 UTC 2024 - 13.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CertificatePinnerTest.kt
import org.junit.jupiter.api.Test class CertificatePinnerTest { @Test fun malformedPin() { val builder = CertificatePinner.Builder() assertFailsWith<IllegalArgumentException> { builder.add("example.com", "md5/DmxUShsZuNiqPQsX2Oi9uv2sCnw=") } } @Test fun malformedBase64() { val builder = CertificatePinner.Builder() assertFailsWith<IllegalArgumentException> {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9.9K bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/scopeProvider/AbstractMemberScopeTests.kt
abstract fun KaSession.getScope(symbol: KaSymbolWithMembers): KaScope final override fun KaSession.getScope(mainFile: KtFile, testServices: TestServices): KaScope = getScope(getSingleTestTargetSymbolOfType<KaSymbolWithMembers>(mainFile, testDataPath)) } abstract class AbstractMemberScopeTest : AbstractMemberScopeTestBase() {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 2.3K bytes - Viewed (0) -
analysis/analysis-api/testData/components/compilerFacility/firPluginPrototypeMultiModule/composableFunctionMultiModules2.ir.txt
CONST String type=kotlin.String value="!" FUN name:show visibility:public modality:FINAL <> (str:kotlin.String) returnType:kotlin.Unit VALUE_PARAMETER name:str index:0 type:kotlin.String BLOCK_BODY FUN name:test visibility:public modality:FINAL <> () returnType:kotlin.Int BLOCK_BODY RETURN type=kotlin.Nothing from='public final fun test (): kotlin.Int declared in <root>'
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon Feb 26 21:57:23 UTC 2024 - 1.6K bytes - Viewed (0) -
platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/ProviderCodecs.kt
*/ class FixedValueReplacingProviderCodec( private val providerWithChangingValueCodec: Codec<Any?> ) { suspend fun WriteContext.encodeProvider(value: ProviderInternal<*>) { val state = value.calculateExecutionTimeValue() encodeValue(state) } suspend fun WriteContext.encodeValue(value: ValueSupplier.ExecutionTimeValue<*>) { val sideEffect = value.sideEffect when {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 17.2K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheIO.kt
} private fun readerContextFor( inputStream: InputStream, ) = readerContextFor(KryoBackedDecoder(inputStream)) internal fun readerContextFor( decoder: Decoder, ) = readContextFor(decoder, codecs).apply { initClassLoader(javaClass.classLoader) } to codecs private fun writeContextFor( encoder: Encoder,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 13.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/types/typeutil/callee.go
isInstance = true fun, _, _, _ = typeparams.UnpackIndexExpr(fun) } var obj types.Object switch fun := fun.(type) { case *ast.Ident: obj = info.Uses[fun] // type, var, builtin, or declared func case *ast.SelectorExpr: if sel, ok := info.Selections[fun]; ok { obj = sel.Obj() // method or field } else { obj = info.Uses[fun.Sel] // qualified identifier? } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 18 21:28:13 UTC 2023 - 2.1K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10SymbolProvider.kt
get() = KaFe10PackageSymbol(FqName.ROOT, analysisContext) override fun getFileSymbol(psi: KtFile): KaFileSymbol { return KaFe10FileSymbol(psi, analysisContext) } override fun getScriptSymbol(psi: KtScript): KaScriptSymbol { return KaFe10PsiScriptSymbol(psi, analysisContext) } override fun getParameterSymbol(psi: KtParameter): KaVariableLikeSymbol { return when {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Thu May 23 17:29:30 UTC 2024 - 6.9K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt
packageFqName = packageOrClass.packageFqName } } fun getRegularClass(type: ConeKotlinType?): FirRegularClass? { return type?.toRegularClassSymbol(firSession)?.fir } fun toClassSymbol(classId: ClassId) = firSession.symbolProvider.getClassLikeSymbolByClassId(classId) fun convertToImportableName(callableSymbol: FirCallableSymbol<*>): FqName? =
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Fri Jun 07 16:54:07 UTC 2024 - 69.6K bytes - Viewed (0)