path
stringlengths
4
280
owner
stringlengths
2
39
repo_id
int64
21.1k
879M
is_fork
bool
2 classes
languages_distribution
stringlengths
13
1.95k
content
stringlengths
7
482k
issues
int64
0
13.9k
main_language
stringclasses
121 values
forks
stringlengths
1
5
stars
int64
0
111k
commit_sha
stringlengths
40
40
size
int64
7
482k
name
stringlengths
1
100
license
stringclasses
93 values
økonomi/presentation/src/test/kotlin/økonomi/presentation/api/ØkonomiRoutesKtTest.kt
navikt
227,366,088
false
{"Kotlin": 10069757, "Shell": 4388, "TSQL": 1233, "Dockerfile": 1209}
package økonomi.presentation.api import arrow.core.left import arrow.core.right import io.kotest.matchers.shouldBe import io.ktor.client.request.setBody import io.ktor.client.statement.bodyAsText import io.ktor.http.HttpMethod import io.ktor.http.HttpStatusCode import io.ktor.server.testing.testApplication import no.n...
9
Kotlin
1
1
9e72c3086109f9c58472b169f86b213f929a91f1
2,492
su-se-bakover
MIT License
lib/api/src/main/kotlin/com/daniily/preview/DynamicPreview.kt
daniily000
770,977,246
false
{"Kotlin": 57579}
package com.daniily.preview import kotlin.reflect.KClass @Retention(AnnotationRetention.SOURCE) @Target(AnnotationTarget.FUNCTION, AnnotationTarget.ANNOTATION_CLASS) annotation class DynamicPreview { @Target(AnnotationTarget.FUNCTION, AnnotationTarget.ANNOTATION_CLASS) annotation class Wrapper(val wrapperCla...
0
Kotlin
0
2
48bdd6f2550ae2b776519f302fe7f8a429b4c672
497
compose-dynamic-preview
Apache License 2.0
app/src/main/java/com/iflytek/cyber/iot/show/core/message/MessageSocket.kt
iFLYOS-OPEN
209,758,318
false
null
package com.iflytek.cyber.iot.show.core.message import android.content.Context import android.util.Log import com.iflytek.cyber.evs.sdk.auth.AuthDelegate import okhttp3.* import okio.ByteString class MessageSocket private constructor() { companion object { private const val TAG = "MessageSocket" ...
1
C
11
21
4739e2450dcda545fb1361469a9172f82ce28c66
1,872
ShowCore-Open
Apache License 2.0
app/src/main/java/com/nemesisprotocol/cryptocraze/domain/cryptoinfo/usecase/GetCoinUseCase.kt
qfdox
615,859,896
false
null
package com.nemesisprotocol.cryptocraze.domain.cryptoinfo.usecase import com.nemesisprotocol.cryptocraze.common.Resource import com.nemesisprotocol.cryptocraze.data.cryptoinfo.remote.dto.toCoinDetail import com.nemesisprotocol.cryptocraze.domain.cryptoinfo.CoinDetail import com.nemesisprotocol.cryptocraze.domain.crypt...
0
Kotlin
0
0
4ddc36912423f2e619b0d933224190f71b92d907
1,119
book_js_3
MIT License
Decorator/src/test/kotlin/net/milosvasic/decorator/MainTestAssertions.kt
milos85vasic
82,683,078
false
null
package net.milosvasic.decorator object MainTestAssertions { private val tags = DecoratorTags() val positiveAssertions = listOf( """!-- Template system: Decorator, https://github.com/milos85vasic/Decorator --> <!-- Template system version: 1.0.0 Alpha 1 DEV 1495451759151 --> <?xml version="1.0" encoding="UT...
0
Kotlin
0
4
4a4d99a71955aa1c64af627c544cdd7134cb7bfd
7,614
Decorator
Apache License 2.0
Demo/src/main/java/com/paypal/android/api/model/OrderIntent.kt
paypal
390,097,712
false
{"Kotlin": 299789}
package com.paypal.android.api.model /** * The intent to either capture payment immediately or authorize a payment for an order after order creation */ enum class OrderIntent { /** * The merchant intends to capture payment immediately after the customer makes a payment. */ CAPTURE, /** * T...
22
Kotlin
41
74
dcc46f92771196e979f7863b9b8d3fa3d6dc1a7d
872
paypal-android
Apache License 2.0
server/src/main/kotlin/net/eiradir/server/exception/LoggingExceptionHandler.kt
Eiradir
635,460,745
false
{"Kotlin": 646160, "Dockerfile": 470}
package net.eiradir.server.exception import net.eiradir.server.extensions.logger import kotlin.system.exitProcess class LoggingExceptionHandler : ExceptionHandler { private val log = logger() override fun handle(e: Throwable) { log.error("Unhandled exception", e) exitProcess(1) } }
11
Kotlin
0
0
edca8986ef06fd5a75fd2a4dc53dfe75dbfbbaae
313
eiradir-server
MIT License
mapkit-samples/map-objects/src/main/kotlin/com/yandex/mapkitdemo/ClusterView.kt
yandex
124,944,765
false
null
package com.yandex.mapkitdemo import android.content.Context import android.view.View import android.widget.LinearLayout import android.widget.TextView import androidx.core.view.isVisible class ClusterView(context: Context) : LinearLayout(context) { private val greenText by lazy { findViewById<TextView>(R.id.tex...
26
null
60
99
ba44088f205760464055ef2c6db96b2ae1a9b9cd
1,753
mapkit-android-demo
Apache License 2.0
altchain-pop-miner/miner/src/main/kotlin/org/veriblock/miners/pop/securityinheriting/SecurityInheritingAutoMiner.kt
xagau
257,342,239
true
{"Gradle": 15, "INI": 3, "Markdown": 6, "Shell": 1, "Text": 8, "Ignore List": 3, "Batchfile": 1, "Java": 424, "Kotlin": 178, "Dockerfile": 4, "Java Properties": 1, "XML": 3, "Protocol Buffer": 4, "Groovy": 2}
// VeriBlock Blockchain Project // Copyright 2017-2018 VeriBlock, Inc // Copyright 2018-2019 <NAME> // All rights reserved. // https://www.veriblock.org // Distributed under the MIT software license, see the accompanying // file LICENSE or http://www.opensource.org/licenses/mit-license.php. package org.veriblock.miner...
1
null
0
0
5df4ac5f48a598dde94d57d5810882a548d4d23d
2,690
nodecore
MIT License
plugins/kotlin/gradle/gradle-java/tests/test/org/jetbrains/kotlin/gradle/newTests/testFeatures/OrderEntriesFilteringTestFeature.kt
errandir
27,763,579
false
null
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package org.jetbrains.kotlin.gradle.newTests.testFeatures import org.intellij.lang.annotations.Language import org.jetbrains.kotlin.gradle.newTests.TestConfigurationDslScope import org.jetbrains.kot...
1
null
1
1
1d359da14d759f924f64811b84c8aeccb1d1188c
2,635
intellij-community
Apache License 2.0
module/data/src/main/kotlin/com/github/jameshnsears/chance/data/repository/roll/RepositoryRollInterface.kt
jameshnsears
725,514,594
false
{"Kotlin": 348231, "Shell": 678}
package com.github.jameshnsears.chance.data.repository.roll import com.github.jameshnsears.chance.data.domain.proto.RollHistoryProtocolBuffer import com.github.jameshnsears.chance.data.domain.proto.RollListProtocolBuffer import com.github.jameshnsears.chance.data.domain.proto.RollProtocolBuffer import com.github.james...
1
Kotlin
0
0
a3ceaa3329de9f329ced7b2e02a8177890a8cc73
2,314
Chance
Apache License 2.0
src/commonMain/kotlin/app/revolt/model/RevoltFileUploadApiResponse.kt
ted3x
695,442,173
false
{"Kotlin": 75036}
package app.revolt.model import kotlinx.serialization.Serializable @Serializable data class RevoltFileUploadApiResponse(val id: String)
0
Kotlin
0
0
e079efe153464c08d60c34169f8bcf9f1067aa54
137
revolt-kotlin-api
MIT License
app/src/main/java/org/abuhuraira/app/scenes/home/HomePresenter.kt
YusufSaad
428,501,733
false
{"Java": 3686476, "Kotlin": 315094, "HTML": 4986, "Assembly": 6}
package org.abuhuraira.app.scenes.home import com.example.ahcstores.sources.enums.PrayerName import com.example.coreandroid.sources.errors.DataError import com.example.coreandroid.sources.extensions.add import org.abuhuraira.app.R import org.abuhuraira.app.common.cleanBase.AppModels import org.abuhuraira.app.common.ex...
1
Java
1
2
02f84a27796eed4683dc7bab88b07446a6fe2315
3,690
Ahc-app
MIT License
tabby-core/src/jvmTest/kotlin/com/sksamuel/tabby/effects/MapTest.kt
xeruf
339,163,399
true
{"Kotlin": 122680}
package com.sksamuel.tabby.effects import com.sksamuel.tabby.`try`.success import io.kotest.core.spec.style.FunSpec import io.kotest.matchers.shouldBe class MapTest : FunSpec() { init { test("map should invoke combinator on success") { IO { "foo" }.map { it.length }.run() shouldBe 3.success() ...
0
null
0
0
38a33811953aeb31dcc215bde370465010f24f31
411
tabby
Apache License 2.0
app/src/main/java/com/replica/replicaisland/LauncherComponent.kt
jimandreas
290,957,495
false
null
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
0
Kotlin
0
3
387aa71c94b87be4d8cab704241e49f6018a7821
5,613
ReplicaIslandKotlin
Apache License 2.0
stickyheaders/src/main/java/com/a21buttons/stickyheaders/StickyHeaderAdapter.kt
BraisGabin
93,491,692
false
null
package com.a21buttons.stickyheaders import android.support.v7.widget.RecyclerView import android.view.ViewGroup abstract class StickyHeaderAdapter<VH : StickyHeaderViewHolder> : RecyclerView.Adapter<VH>(), StickyHeaderLayoutManager.HeaderLookup { final override fun onCreateViewHolder(parent: ViewGroup, viewType: ...
1
Kotlin
1
1
e979e13c98005efc8c6a10afc4dcfe8cda236675
886
sticky-headers
Apache License 2.0
domain/src/main/java/com/hxl/domain/usecase/database/game_history/InsertGameHistory.kt
hexley21
507,946,022
false
{"Kotlin": 87163}
package com.hxl.domain.usecase.database.game_history import com.hxl.domain.models.GameResult import com.hxl.domain.repository.GameHistoryRepository import io.reactivex.rxjava3.core.Completable /** * Game-History use-case that provides Game-Result insertion method. */ class InsertGameHistory(private val gameHistoryR...
0
Kotlin
0
1
d0f9a19c28e3646966d0c66d192109a20fc0a293
494
ArithMathics
Apache License 2.0
app/src/main/java/com/example/swiftbargain/ui/addresses/composable/AddressesAddAddress.kt
ahmedfikry24
814,676,783
false
{"Kotlin": 484263}
package com.example.swiftbargain.ui.addresses.composable import androidx.compose.animation.AnimatedContent import androidx.compose.animation.ExperimentalSharedTransitionApi import androidx.compose.animation.SharedTransitionLayout import androidx.compose.animation.SharedTransitionScope import androidx.compose.foundatio...
0
Kotlin
0
0
daee363e13ed78c20da30c54a45dfb9309338b33
2,536
SwiftBargain
MIT License
infrastructure/src/main/kotlin/com/lukinhasssss/catalogo/infrastructure/configuration/usecases/CategoryUseCasesConfig.kt
Lukinhasssss
643,341,523
false
{"Kotlin": 179428, "Shell": 669}
package com.lukinhasssss.catalogo.infrastructure.configuration.usecases import com.lukinhasssss.catalogo.application.category.delete.DeleteCategoryUseCase import com.lukinhasssss.catalogo.application.category.get.GetAllCategoriesByIdUseCase import com.lukinhasssss.catalogo.application.category.list.ListCategoryUseCase...
1
Kotlin
0
0
fef7c7701656298a857cbd157ce0090b6da0106e
1,043
catalogo-de-videos
MIT License
entity/src/main/java/com/eslam/entity/Review.kt
zerox321
240,343,192
false
null
package com.mustafa.movieguideapp.models import android.os.Parcelable import kotlinx.android.parcel.Parcelize @Parcelize data class Review( val id: String, val author: String, val content: String, val url: String ) : Parcelable
0
null
0
2
d2a80591efe0bbff353b1a20aeb6c959cbe595cb
239
GoldKreaz
Apache License 2.0
line-awesome/src/commonMain/kotlin/compose/icons/lineawesomeicons/TachometerAltSolid.kt
DevSrSouza
311,134,756
false
null
package compose.icons.lineawesomeicons import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter ...
15
null
20
460
651badc4ace0137c5541f859f61ffa91e5242b83
5,541
compose-icons
MIT License
graphql-dgs/src/main/kotlin/com/netflix/graphql/dgs/internal/DefaultDgsQueryExecutor.kt
Netflix
317,375,887
false
null
/* * Copyright 2021 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
94
null
275
2,958
8fb490c5b4f0aa012c998dd2855abc2301af6ee4
7,827
dgs-framework
Apache License 2.0
fluentui_icons/src/main/java/com/microsoft/fluentui/icons/avataricons/presence/offline/__Medium.kt
anthonysidesap
454,785,267
true
{"Kotlin": 2243120, "Shell": 8996}
package com.microsoft.fluentui.icons.avataricons.presence.dnd import androidx.compose.ui.graphics.vector.ImageVector import com.microsoft.fluentui.icons.avataricons.presence.DndGroup import com.microsoft.fluentui.icons.avataricons.presence.dnd.medium.Dark import com.microsoft.fluentui.icons.avataricons.presence.dnd.me...
1
Kotlin
2
7
2b0d10f7b754c189fea210d279487617e5661eaa
725
fluentui-android
MIT License
features/preferences/impl/src/main/kotlin/io/element/android/features/preferences/impl/analytics/AnalyticsSettingsView.kt
element-hq
546,522,002
false
null
/* * Copyright (c) 2023 New Vector Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
91
null
48
955
31d0621fa15fe153bfd36104e560c9703eabe917
2,274
element-x-android
Apache License 2.0
domain/src/main/java/me/androidbox/domain/authorization/usecases/imp/ResetPasswordUseCaseImp.kt
steve1rm
804,664,997
false
{"Kotlin": 152478}
package me.androidbox.domain.authorization.usecases.imp import me.androidbox.domain.authorization.models.ResetPasswordModel import me.androidbox.domain.authorization.usecases.ResetPasswordUseCase import me.androidbox.domain.repository.APIResponse import me.androidbox.domain.repository.AuthorizationRepository class Re...
0
Kotlin
0
0
5b80ada6d22093fc66d36debe028eaa15cc4886e
585
BusbyNimbleSurvey
MIT License
domain/src/main/java/me/androidbox/domain/authorization/usecases/imp/ResetPasswordUseCaseImp.kt
steve1rm
804,664,997
false
{"Kotlin": 152478}
package me.androidbox.domain.authorization.usecases.imp import me.androidbox.domain.authorization.models.ResetPasswordModel import me.androidbox.domain.authorization.usecases.ResetPasswordUseCase import me.androidbox.domain.repository.APIResponse import me.androidbox.domain.repository.AuthorizationRepository class Re...
0
Kotlin
0
0
5b80ada6d22093fc66d36debe028eaa15cc4886e
585
BusbyNimbleSurvey
MIT License
kgl/src/jvmMain/kotlin/com/danielgergely/kgl/Buffer.kt
gergelydaniel
204,889,044
false
{"Kotlin": 128967}
package com.danielgergely.kgl import java.nio.ByteBuffer import java.nio.ByteOrder import java.nio.FloatBuffer import java.nio.IntBuffer public actual abstract class Buffer internal constructor( @JvmField @PublishedApi internal val javaBuffer: java.nio.Buffer ) { public inline fun withJavaBuffer(block: (java...
10
Kotlin
7
30
f5311eb0350ec0aaaf6c60e7ab7132073eb07d61
4,661
kgl
MIT License
mobile_app1/module950/src/main/java/module950packageKt0/Foo10.kt
uber-common
294,831,672
false
null
package module950packageKt0; annotation class Foo10Fancy @Foo10Fancy class Foo10 { fun foo0(){ module950packageKt0.Foo9().foo3() } fun foo1(){ foo0() } fun foo2(){ foo1() } fun foo3(){ foo2() } }
6
Java
6
72
9cc83148c1ca37d0f2b2fcb08c71ac04b3749e5e
232
android-build-eval
Apache License 2.0
src/main/kotlin/me/fzzyhmstrs/amethyst_imbuement/enchantment/PuncturingEnchantment.kt
fzzyhmstrs
461,338,617
false
null
package me.fzzyhmstrs.amethyst_imbuement.enchantment import me.fzzyhmstrs.amethyst_imbuement.config.AiConfig import net.minecraft.enchantment.Enchantment import net.minecraft.enchantment.EnchantmentTarget import net.minecraft.enchantment.Enchantments import net.minecraft.entity.Entity import net.minecraft.entity.Equip...
9
null
8
4
7e51e5528c9495d818a3ae1c586d7cb6d5f5ece0
1,827
ai
MIT License
rounded/src/commonMain/kotlin/me/localx/icons/rounded/bold/HorseshoeBroken.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.rounded.bold import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter im...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
5,507
icons
MIT License
CashSDK/src/main/java/cash/just/sdk/model/WacBaseResponse.kt
atmcoin
259,331,275
false
null
package cash.just.sdk.model import com.squareup.moshi.Json import com.squareup.moshi.JsonClass @JsonClass(generateAdapter = true) data class WacBaseResponse( @field:Json(name = "result") val result: String, @field:Json(name = "error") val error: String?)
3
null
2
6
4ee49b5495878fc704563b4b5bd2de64d4183d75
264
cash-sdk-android
MIT License
src/main/java/ru/hollowhorizon/hollowengine/common/network/MouseClickedPacket.kt
HollowHorizon
586,593,959
false
{"Kotlin": 281958, "Java": 87172, "GLSL": 1597}
package ru.hollowhorizon.hollowengine.common.network import kotlinx.serialization.Serializable import net.minecraft.world.entity.player.Player import net.minecraftforge.common.MinecraftForge import net.minecraftforge.event.entity.player.PlayerEvent import ru.hollowhorizon.hc.common.network.HollowPacketV2 import ru.hol...
1
Kotlin
5
7
d9c6c9c0d9a7a8e62c24e30548d1cee5c2ef853c
1,629
HollowEngine
MIT License
gallery/src/androidTest/java/academy/compose/gallery/ui/GalleryContentTest.kt
roshanrai06
493,086,982
false
{"Kotlin": 789427}
package academy.compose.gallery.ui import academy.compose.gallery.R import academy.compose.gallery.Tags.TAG_DENIED_PERMISSION import academy.compose.gallery.Tags.TAG_IMAGE_GALLERY import academy.compose.gallery.Tags.TAG_PROGRESS import academy.compose.gallery.model.Image import android.net.Uri import androidx.compose....
0
Kotlin
0
0
cabaed56980873e857a3b62e99295d6c617b10af
4,314
learning-compose
Apache License 2.0
matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/crypto/model/rest/UploadSignatureQueryBuilder.kt
matrix-org
287,466,066
false
null
/* * Copyright 2020 New Vector Ltd * Copyright 2020 The Matrix.org Foundation C.I.C. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0...
75
null
6
97
55cc7362de34a840c67b4bbb3a14267bc8fd3b9c
2,249
matrix-android-sdk2
Apache License 2.0
FottballScheduleApp/app/src/main/java/com/achmadabrar/myapplication/core/di/ViewModelFactory.kt
achmadabrar
316,360,868
false
null
package com.achmadabrar.myapplication.core.di class ViewModelFactory { }
1
null
1
1
707d75bba3461130b977f476de594a566b96f929
73
test_scanner_java
Creative Commons Attribution 4.0 International
sykepenger-model/src/main/kotlin/no/nav/helse/serde/api/builders/ArbeidsgiverBuilder.kt
navikt
193,907,367
false
null
package no.nav.helse.serde.api.builders import no.nav.helse.Toggle import no.nav.helse.person.Arbeidsgiver import no.nav.helse.person.ForkastetVedtaksperiode import no.nav.helse.person.Vedtaksperiode import no.nav.helse.person.VilkårsgrunnlagHistorikk import no.nav.helse.serde.api.ArbeidsgiverDTO import no.nav.helse.s...
0
Kotlin
2
3
9572b362ab94daa6a730331c309a1cdc0ec25e3e
4,410
helse-spleis
MIT License
server/src/main/kotlin/com/thoughtworks/archguard/report/controller/BadSmellThresholdController.kt
archguard
460,910,110
false
{"Kotlin": 1763628, "Java": 611399, "TypeScript": 11395, "C#": 5593, "Dockerfile": 2549, "C": 1223, "Shell": 926, "JavaScript": 400, "Go": 291, "Scala": 97, "Python": 42, "Rust": 32}
package com.thoughtworks.archguard.report.controller import com.thoughtworks.archguard.report.domain.badsmell.ThresholdSuiteService import org.springframework.web.bind.annotation.PostMapping import org.springframework.web.bind.annotation.RequestMapping import org.springframework.web.bind.annotation.RestController @Re...
1
Kotlin
89
575
049f3cc8f2c0e2c34e65bb0049f645caa5be9bf8
581
archguard
MIT License
games-mpp/games-server/src/main/kotlin/net/zomis/games/server/test/TestPlayMenu.kt
Zomis
125,767,793
false
null
package net.zomis.games.server.test import net.zomis.games.dsl.DslConsoleSetup import net.zomis.games.server2.ServerGames import java.io.File import java.util.* object TestPlayMenu { val root = File("playthroughs") val choices = TestPlayChoices( gameName = { ServerGames.games.keys.random() }, ...
89
null
5
17
dd9f0e6c87f6e1b59b31c1bc609323dbca7b5df0
2,741
Games
MIT License
gallery/src/commonMain/kotlin/com/konyaco/fluent/gallery/screen/basicinput/ToggleSwitchScreen.kt
Konyaco
574,321,009
false
{"Kotlin": 11419712, "Java": 256912}
package com.konyaco.fluent.gallery.screen.basicinput import androidx.compose.runtime.Composable import androidx.compose.runtime.getValue import androidx.compose.runtime.mutableStateOf import androidx.compose.runtime.remember import androidx.compose.runtime.setValue import com.konyaco.fluent.component.Switcher import c...
8
Kotlin
10
262
293d7ab02d80fb9fdd372826fdc0b42b1d6e0019
1,715
compose-fluent-ui
Apache License 2.0
src/commonTest/kotlin/io/rebble/libpebblecommon/packets/AppMessageTest.kt
pebble-dev
264,919,199
false
{"Kotlin": 217944}
package io.rebble.libpebblecommon.packets import assertIs import assertUByteArrayEquals import com.benasher44.uuid.Uuid import com.benasher44.uuid.uuidFrom import io.rebble.libpebblecommon.protocolhelpers.PebblePacket import kotlin.test.Test import kotlin.test.assertEquals internal class AppMessageTest { @Test ...
1
Kotlin
4
3
cc6b8fbee0503c57d545b68853926f6c9191e072
6,835
libpebblecommon
Apache License 2.0
idea/testData/quickfix/suppress/availability/memberSuppressForMember.kt
JakeWharton
99,388,807
false
null
// "Suppress 'REDUNDANT_NULLABLE' for fun foo" "true" class C { [suppress("REDUNDANT_NULLABLE")] fun foo(): String?<caret>? = null }
214
null
4829
83
4383335168338df9bbbe2a63cb213a68d0858104
141
kotlin
Apache License 2.0
base/src/main/java/com/nimroddayan/commitbrowser/common/recyclerview/OnLoadMoreScrollListener.kt
Nimrodda
175,999,170
false
null
/* * Copyright 2019 <NAME> <EMAIL> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
1
null
9
56
c633a321eeb9f6d8aea2f42408d041553b4e938c
1,902
github-commit-browser
Apache License 2.0
app/src/main/java/antuere/how_are_you/presentation/screens/secure_entry/ui_compose/SecureEntryScreenContent.kt
antuere
526,507,044
false
null
package antuere.how_are_you.presentation.screens.secure_entry.ui_compose import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.material3.Materi...
1
Kotlin
1
1
dccddea7bf36f0910b87c09becd0de2d74ac26b2
2,533
HowAreYou
Apache License 2.0
presenter/src/main/java/cn/woyeshi/presenter/base/IBaseDialog.kt
wys619
137,435,286
false
{"Java": 102079, "Kotlin": 56934}
package cn.woyeshi.presenter.base /** * Created by wys on 2017/11/8. */ interface IBaseDialog : IBaseView { }
1
Java
1
2
4d4cbc3e30d503220ab39ef42308ff9872465829
112
android_framework
Apache License 2.0
app/src/main/java/xyz/tberghuis/floatingtimer/composables/BackgroundTransCheckbox.kt
tberghuis
500,632,576
false
{"Kotlin": 183666, "Ruby": 955}
package xyz.tberghuis.floatingtimer.composables import androidx.compose.foundation.border import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.ColumnScope import androidx.compose.foundation.layout.Row import androidx.compose.fo...
22
Kotlin
6
78
c6f792d5b7a339a93a88511421b5f72ea5053df6
1,795
FloatingCountdownTimer
MIT License
donut-kata/src/main/kotlin/bnymellon/codekatas/donutkatakotlin/Customer.kt
BNYMellon
105,218,129
false
null
/* * Copyright 2022 The Bank of New York Mellon. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
8
null
98
392
093772e5a8a0707490d3d513875a04b139b8472c
2,010
CodeKatas
Apache License 2.0
ospf-kotlin-utils/src/main/fuookami/ospf/kotlin/utils/parallel/Any.kt
fuookami
359,831,793
false
{"Kotlin": 1866628, "Python": 6629}
package fuookami.ospf.kotlin.utils.parallel import kotlinx.coroutines.* import fuookami.ospf.kotlin.utils.math.* import fuookami.ospf.kotlin.utils.error.* import fuookami.ospf.kotlin.utils.functional.* suspend inline fun <T> Iterable<T>.anyParallelly( crossinline predicate: SuspendPredicate<T> ): Boolean { re...
0
Kotlin
0
1
a3cff7b2702baba923fcb0fa4a82ed4b84e3a0ff
6,940
ospf-kotlin
Apache License 2.0
ospf-kotlin-utils/src/main/fuookami/ospf/kotlin/utils/parallel/Any.kt
fuookami
359,831,793
false
{"Kotlin": 1866628, "Python": 6629}
package fuookami.ospf.kotlin.utils.parallel import kotlinx.coroutines.* import fuookami.ospf.kotlin.utils.math.* import fuookami.ospf.kotlin.utils.error.* import fuookami.ospf.kotlin.utils.functional.* suspend inline fun <T> Iterable<T>.anyParallelly( crossinline predicate: SuspendPredicate<T> ): Boolean { re...
0
Kotlin
0
1
a3cff7b2702baba923fcb0fa4a82ed4b84e3a0ff
6,940
ospf-kotlin
Apache License 2.0
plugin/src/main/kotlin/com/github/grishberg/profiler/androidstudio/PluginContext.kt
Grigory-Rylov
256,819,360
false
null
package com.github.grishberg.profiler.androidstudio import com.intellij.openapi.components.ProjectComponent import com.intellij.openapi.project.Project class PluginContext( private val project: Project ) : ProjectComponent { val adb by lazy { AsAdbWrapper(project, PluginLogger()) } } fun Project.context(): P...
19
Kotlin
3
97
e0ba609640cea72c301ff1537dc9cdd9b67bfe4c
393
android-methods-profiler
Apache License 2.0
src/macosMain/kotlin/kaylibkit/kCore/KCore.macos.kt
Its-Kenta
690,260,636
false
{"Kotlin": 257105, "Makefile": 2337}
package kaylibkit.kCore import kotlinx.cinterop.ExperimentalForeignApi import kotlinx.cinterop.convert import kotlinx.cinterop.refTo import kotlinx.cinterop.toKString import platform.osx.proc_pidpath import platform.posix.F_OK import platform.posix.PATH_MAX import platform.posix.access import platform.posix.getpid @O...
0
Kotlin
0
0
ac1b1a0ec2f6f6f2f85cada81b27b50586069a6b
2,819
KaylibKit
zlib License
app/src/main/java/com/example/android/dagger/dagger/components/AppComponent.kt
SyedNoorullahShah
326,466,661
false
null
package com.example.android.dagger.dagger.components import android.content.Context import com.example.android.dagger.dagger.modules.StorageModule import com.example.android.dagger.main.MainActivity import com.example.android.dagger.user.UserManager import dagger.BindsInstance import dagger.Component import javax.inje...
0
Kotlin
0
0
b9fecd231c6038c7612eb5c7a23b18359795761f
850
DaggerDemo
Apache License 2.0
compiler/testData/compileKotlinAgainstKotlin/SimpleValAnonymousObject.B.kt
javaljj
50,647,805
true
{"Java": 15915057, "Kotlin": 12574163, "JavaScript": 177557, "Protocol Buffer": 42724, "HTML": 28583, "Lex": 16598, "ANTLR": 9689, "CSS": 9358, "Groovy": 6859, "Shell": 4704, "IDL": 4669, "Batchfile": 3703}
import pkg.ClassA fun main(args: Array<String>) { val obj = ClassA.DEFAULT obj.toString() }
0
Java
0
1
c9cc9c55cdcc706c1d382a1539998728a2e3ca50
101
kotlin
Apache License 2.0
atala-prism-sdk/src/commonTest/kotlin/io/iohk/atala/prism/walletsdk/pollux/PolluxImplTest.kt
input-output-hk
564,174,099
false
{"Kotlin": 859118, "Gherkin": 3494, "JavaScript": 375}
package io.iohk.atala.prism.walletsdk.pollux import io.iohk.atala.prism.walletsdk.mercury.ApiMock import io.iohk.atala.prism.walletsdk.prismagent.CastorMock import io.ktor.http.HttpStatusCode import kotlinx.coroutines.test.runTest import kotlin.test.BeforeTest import kotlin.test.Test import kotlin.test.assertEquals c...
3
Kotlin
0
6
1a350ac29d5afcc74906878ddef904d5c6578448
1,274
atala-prism-wallet-sdk-kmm
Apache License 2.0
app/src/main/java/com/example/androiddevchallenge/ui/screens/Home.kt
Jorkoh
347,354,718
false
null
/* * Copyright 2021 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
0
Kotlin
2
13
417d81a0250d079c9012ac15cf014b88ad342b96
13,857
compose-challenge-week3
Apache License 2.0
plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/cwc/messages/CwcMessage.kt
aws
91,485,909
false
null
// Copyright 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.aws.toolkits.jetbrains.services.cwc.messages import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.annotation.JsonValue import com.fasterxml.jackson.core.JsonG...
519
null
220
757
a81caf64a293b59056cef3f8a6f1c977be46937e
7,833
aws-toolkit-jetbrains
Apache License 2.0
lint/lint-gradle/src/test/java/androidx/lint/gradle/InternalApiUsageDetectorTest.kt
androidx
256,589,781
false
null
/* * Copyright 2024 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
29
null
937
5,321
98b929d303f34d569e9fd8a529f022d398d1024b
4,405
androidx
Apache License 2.0
core/src/main/kotlin/io/github/llmagentbuilder/core/AgentFactory.kt
alexcheng1982
780,391,516
false
{"Kotlin": 121686, "Mustache": 20143, "TypeScript": 7650, "Handlebars": 4563, "Java": 3523, "Python": 1902, "CSS": 1545, "JavaScript": 89}
package io.github.alexcheng1982.llmagentbuilder.core import io.github.alexcheng1982.llmagentbuilder.core.executor.AgentExecutor import io.github.alexcheng1982.llmagentbuilder.core.tool.AgentToolWrappersProvider import io.github.alexcheng1982.llmagentbuilder.core.tool.AgentToolsProvider import io.github.alexcheng1982.l...
0
Kotlin
0
0
dfab459c5d657051693786c08be4ffcf791f7637
4,675
llm-agent-builder
Apache License 2.0
kodando-mithril/src/test/kotlin/kodando.mithril/CreateComponentUsingObject.kt
kodando
81,663,289
false
null
package kodando.mithril import kodando.jest.Spec import kodando.jest.expect import kodando.mithril.elements.button import kodando.mithril.elements.div import kodando.mithril.elements.span import org.w3c.dom.events.Event import kotlin.browser.document class CreateComponentUsingClassSpec : Spec() { private class Cou...
12
Kotlin
5
76
f1428066ca01b395c1611717fde5463ba0042b19
1,528
kodando
MIT License
kodando-mithril/src/test/kotlin/kodando.mithril/CreateComponentUsingObject.kt
kodando
81,663,289
false
null
package kodando.mithril import kodando.jest.Spec import kodando.jest.expect import kodando.mithril.elements.button import kodando.mithril.elements.div import kodando.mithril.elements.span import org.w3c.dom.events.Event import kotlin.browser.document class CreateComponentUsingClassSpec : Spec() { private class Cou...
12
Kotlin
5
76
f1428066ca01b395c1611717fde5463ba0042b19
1,528
kodando
MIT License
src/main/kotlin/com/cognifide/gradle/sling/common/instance/check/TimeoutCheck.kt
Cognifide
138,027,523
false
null
package com.cognifide.gradle.sling.common.instance.check import com.cognifide.gradle.sling.common.instance.InstanceException import com.cognifide.gradle.common.utils.Formats import java.util.concurrent.TimeUnit class TimeoutCheck(group: CheckGroup) : DefaultCheck(group) { /** * Prevents too long unavailabil...
0
null
2
15
b3e7244f887b24dece21571a5a63ae79ef0c7597
1,484
gradle-sling-plugin
Apache License 2.0
src/main/kotlin/com/cognifide/gradle/sling/common/instance/check/TimeoutCheck.kt
Cognifide
138,027,523
false
null
package com.cognifide.gradle.sling.common.instance.check import com.cognifide.gradle.sling.common.instance.InstanceException import com.cognifide.gradle.common.utils.Formats import java.util.concurrent.TimeUnit class TimeoutCheck(group: CheckGroup) : DefaultCheck(group) { /** * Prevents too long unavailabil...
0
null
2
15
b3e7244f887b24dece21571a5a63ae79ef0c7597
1,484
gradle-sling-plugin
Apache License 2.0
src/easy/_67AddBinary.kt
ilinqh
390,190,883
false
{"Kotlin": 395506, "Java": 32733}
package easy class _67AddBinary { class Solution { fun addBinary(a: String, b: String): String { val tempA: String val tempB: String if (a.length >= b.length) { tempA = a.reversed() tempB = b.reversed() } else { ...
0
Kotlin
0
0
985f2f1a022a25d39782cd36ae3d0ab33fed8ac5
1,834
AlgorithmsProject
Apache License 2.0
nj2k/nj2k-services/src/org/jetbrains/kotlin/nj2k/nullabilityAnalysis/BoundTypeStorage.kt
cr8tpro
189,964,139
false
null
/* * Copyright 2010-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license * that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.nj2k.nullabilityAnalysis import com.intellij.psi.PsiComment import org.jetbrains.kotlin.descriptors.CallableDescriptor import ...
0
null
1
2
dca23f871cc22acee9258c3d58b40d71e3693858
6,974
kotlin
Apache License 2.0
core/mockserver/src/androidTest/java/com/kurly/android/mockserver/MockServerTest.kt
SunChulBaek
777,505,298
false
{"Kotlin": 101661}
package com.kurly.android.mockserver import com.kurly.android.mockserver.core.FileProvider import dagger.hilt.android.testing.HiltAndroidRule import dagger.hilt.android.testing.HiltAndroidTest import org.junit.Before import org.junit.Rule import org.junit.Test import javax.inject.Inject @HiltAndroidTest internal clas...
0
Kotlin
0
0
db5e6d56944f09336196b7ebda7cff61f6bd82b4
631
HelloKurly
Apache License 2.0
app/src/test/kotlin/com/codementor/dmmfwk/ordertaking/ValidateOrderSpec.kt
goerge
367,695,134
false
{"Kotlin": 32705}
package com.codementor.dmmfwk.ordertaking import arrow.core.right import org.junit.jupiter.api.Test import strikt.api.expectThat import strikt.arrow.isRight import strikt.arrow.value import strikt.assertions.isEqualTo import strikt.assertions.single import java.math.BigDecimal internal class ValidateOrderSpec { ...
0
Kotlin
0
1
e629002408004d8c2b28c87864d23da52044ff67
1,742
DomainModelingMadeFunctionalWithKotlin
Apache License 2.0
camera/camera-core/src/androidTest/java/androidx/camera/core/impl/utils/ExifOutputStreamTest.kt
RikkaW
389,105,112
false
null
/* * Copyright 2020 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
28
null
937
7
6d53f95e5d979366cf7935ad7f4f14f76a951ea5
3,261
androidx
Apache License 2.0
app/src/test/java/com/example/cepraceapp/MainViewModelTest.kt
EASY-CODES
762,273,839
false
{"Kotlin": 40025}
package com.example.cepraceapp import com.engedu.ceprace.domain.model.AddressVO import com.engedu.ceprace.initializer.CepRaceInitImpl import com.example.cepraceapp.util.ViewState import io.mockk.coEvery import io.mockk.mockk import kotlinx.coroutines.test.runTest import org.junit.Assert import org.junit.Rule import or...
1
Kotlin
0
1
849c0ca131ad74841159c4f05e2eabaedbcd8288
1,574
ceprace
Apache License 2.0
appfit/src/test/java/io/appfit/appfit/networking/ApiClientTest.kt
uptech
774,969,130
false
{"Kotlin": 17434, "Java": 573}
package io.appfit.appfit.networking import android.os.Build import com.google.gson.GsonBuilder import io.appfit.appfit.properties.DeviceProperties import io.appfit.appfit.properties.EventSystemProperties import io.appfit.appfit.properties.OperatingSystem import kotlinx.coroutines.ExperimentalCoroutinesApi import kotli...
0
Kotlin
0
0
3d2c0416d8d6dd01dce0d7ca97cfc19bd8afd10a
2,534
appfit-kotlin-sdk
MIT License
jdroid-android-core/src/main/java/com/jdroid/android/kotlin/FragmentExtensions.kt
fwonly123
198,339,170
false
{"Java Properties": 2, "Markdown": 6, "Gradle": 22, "Shell": 1, "YAML": 2, "EditorConfig": 1, "Ignore List": 16, "XML": 233, "Kotlin": 394, "Java": 254, "JSON": 5, "JavaScript": 1, "INI": 2, "HTML": 1}
package com.jdroid.android.kotlin import android.os.Parcelable import androidx.fragment.app.Fragment import java.io.Serializable import java.util.ArrayList fun Fragment.getSerializableArgument(key: String?): Serializable? { return arguments?.getSerializable(key) } fun Fragment.getRequiredSerializableArgument(key...
1
null
1
1
578194586fc7d7e71d3742756651d658cb498bd0
1,921
jdroid-android
Apache License 2.0
compiler/testData/diagnostics/tests/extensions/contextReceivers/twoReceiverCandidatesError.kt
JetBrains
3,432,266
false
null
// !LANGUAGE: +ContextReceivers // FIR_IDENTICAL fun String.foo() {} context(Int, Double) fun bar() { <!UNRESOLVED_REFERENCE_WRONG_RECEIVER!>foo<!>() // should be prohibited } fun main() { with(1) { with(2.0) { bar() } } }
181
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
266
kotlin
Apache License 2.0
OptiGUI/src/main/kotlin/opekope2/optigui/internal/BuiltinPreprocessors.kt
opekope2
578,779,647
false
null
package opekope2.optigui.internal import net.minecraft.block.entity.* import net.minecraft.block.enums.ChestType import net.minecraft.client.MinecraftClient import net.minecraft.client.gui.screen.ingame.BookScreen import net.minecraft.client.gui.screen.ingame.HandledScreen import net.minecraft.client.gui.screen.ingame...
6
Kotlin
1
11
e707fe6d94c7cd6d78a6898052854a3de219693e
8,060
OptiGUI
MIT License
client/src/main/java/com/google/devtools/moe/client/dvcs/git/GitClonedRepository.kt
cgruber
35,457,241
true
{"Java": 758603, "Kotlin": 129754, "Starlark": 41938, "Shell": 1679}
/* * Copyright (c) 2011 Google, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
1
Java
1
1
56f4cb8b1c673123757343d754931d2ed4b6ea26
7,764
MOE
Apache License 2.0
shuttle/permissions/presentation/src/main/kotlin/shuttle/permissions/presentation/ui/PermissionItem.kt
4face-studi0
462,194,990
false
null
package shuttle.permissions.presentation.ui import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.Spacer import androidx.compose.foundat...
11
Kotlin
0
14
55ab90f13bb96e10add14d45cd3117ada38262ed
5,877
Shuttle
Apache License 2.0
harness/bunnymark/src/main/kotlin/godot/benchmark/bunnymark/BunnymarkV3.kt
utopia-rise
289,462,532
false
null
package godot.benchmark.bunnymark import godot.* import godot.annotation.RegisterClass import godot.annotation.RegisterFunction import godot.annotation.RegisterSignal import godot.benchmark.bunnymark.v3.Bunny import godot.core.Vector2 import godot.signals.signal @RegisterClass("BunnymarkV3") class BunnymarkV3 : Node2...
63
null
44
634
ac2a1bd5ea931725e2ed19eb5093dea171962e3f
1,578
godot-kotlin-jvm
MIT License
src/main/kotlin/com/sandrabot/sandra/commands/fun/Cat.kt
sandrabot
121,549,855
false
{"Kotlin": 178016}
/* * Copyright 2017-2022 <NAME> and <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
1
Kotlin
3
9
525ce86e911a8439fed034cc038a2887693d4ba5
1,601
sandra
Apache License 2.0
src/jvmMain/kotlin/matt/prim/endian/endian.kt
mgroth0
532,381,102
false
{"Kotlin": 46339}
@file:JvmName("EndianJvmKt") package matt.prim.endian
0
Kotlin
0
0
c75eab71a13c5ec46b89e2fedbaeb6b0527a01f3
56
prim
MIT License
plugin/src/test/kotlin/org/jetbrains/hackathon2024/utils/ParseUtils.kt
ALikhachev
858,702,876
false
{"Kotlin": 37448, "Java": 265}
package org.jetbrains.hackathon2024.utils import java.io.BufferedReader import java.io.InputStreamReader import java.util.stream.Collectors internal fun parseClassFile(pathToClassFile: String): String { val processBuilder = ProcessBuilder( "javap", "-v", pathToClassFile, ) processB...
0
Kotlin
0
0
8e6470ece4f3e04980223f9fe0efc8201024d127
546
kapifence
Apache License 2.0
core/src/commonMain/kotlin/info/igreque/keepmecontributingkt/core/ContributionStatusChecker.kt
igrep
176,618,584
false
null
package info.igreque.keepmecontributingkt.core class ContributionStatusChecker( private val onChanged: (CheckResult) -> Unit, private val gitHubClient: GitHubClient, private val getBeginningOfToday: (Unit) -> Timestamp ) { data class CheckResult( val target: CheckTarget, val contributio...
2
Kotlin
0
0
0a4ee2aebb48306d8788e076f183e7e82df0b57d
1,579
keep-me-contributing-kt
Apache License 2.0
src/main/kotlin/dev/crashteam/keanalytics/controller/MarketDbApiController.kt
crashteamdev
643,974,955
false
null
package dev.crashteam.keanalytics.controller import dev.crashteam.keanalytics.controller.model.* import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.reactive.awaitFirstOrNull import kotlinx.coroutines.reactor.awaitSingle import kotlinx.coroutines.reactor.awaitSingleOrNull import kotlinx.coroutines.withCont...
2
Kotlin
0
0
eebed26e9761ec2ccd12d6a1968098afdb2afc39
27,170
ke-analytics
Apache License 2.0
openrndr-gl3/src/main/kotlin/org/openrndr/internal/gl3/ShaderGL3.kt
shi-weili
237,852,942
false
null
package org.openrndr.internal.gl3 import mu.KotlinLogging import org.lwjgl.BufferUtils import org.lwjgl.opengl.GL11C import org.lwjgl.opengl.GL33C.* import org.openrndr.color.ColorRGBa import org.openrndr.draw.* import org.openrndr.internal.Driver import org.openrndr.math.* import java.io.File import java.io.FileWrite...
1
null
0
1
2b69f8dd818e36106bf76862fff171dc2ae73e3a
28,105
openrndr
BSD 2-Clause with views sentence
url/src/commonMain/kotlin/captain/SegmentMatch.kt
aSoft-Ltd
635,681,621
false
{"Kotlin": 47412, "JavaScript": 110}
@file:JsExport package kiota import kotlin.js.JsExport sealed interface SegmentMatch { val path: String } data class WildCardMatch(override val path: String) : SegmentMatch data class DynamicParamMatch( override val path: String, val key: String, val value: String ) : SegmentMatch data class Exact...
0
Kotlin
1
9
58219fec52eeecc073a3bc25e219806c29eb13ce
367
captain
MIT License
engine/src/main/kotlin/com/delphix/sdk/objects/CallResult.kt
CloudSurgeon
212,463,880
true
{"Kotlin": 586314, "Shell": 46347, "Java": 9931, "Dockerfile": 904}
/** * Copyright (c) 2019 by Delphix. All rights reserved. */ package com.delphix.sdk.objects /** * Result of an API call. */ interface CallResult : TypedObject { val status: String? // Indicates whether an error occurred during the call. override val type: String override fun toMap(): Map<String, Any?>...
0
Kotlin
0
1
819f7e9ea1bb0c675e0d04d61cf05302c488d74f
323
titan-server
Apache License 2.0
lib/src/main/kotlin/tsl/nodes/RBNode.kt
spbu-coding-2023
771,651,556
false
{"Kotlin": 20989}
package tsl.nodes class RBNode<K : Comparable<K>, V>(key: K, value: V) : AbstractNode<K, V, RBNode<K, V>>(key, value) { internal var parent: RBNode<K, V>? = null enum class Color { Black, Red, } internal var color = Color.Red internal fun switchColor(node2: RBNode<K, V>?) { ...
1
Kotlin
0
3
2415fef533d3c11221f7ec5cac675bb0e90a6dc9
1,485
trees-2
MIT License
src/main/kotlin/sen/khyber/io/web/WebResponse.kt
kkysen
155,031,918
false
{"Gradle": 1, "Gradle Kotlin DSL": 1, "Text": 2, "Ignore List": 1, "Markdown": 1, "Kotlin": 19, "Java": 1, "INI": 2, "XML": 12}
package sen.khyber.io.web import okhttp3.HttpUrl import okhttp3.MediaType import okhttp3.Request import okhttp3.Response import okhttp3.ResponseBody import org.jsoup.Jsoup import org.jsoup.nodes.Document import java.io.ByteArrayInputStream import java.io.CharArrayReader import java.io.Closeable import java.io.InputStr...
1
null
1
1
9d219ba44ef51f2f0f5744b54b904a67f8cac2a3
2,029
ColumbiaDirectory
MIT License
agorauikit_android/src/main/java/io/agora/agorauikit_android/AgoraVideoViewer+Buttons.kt
AgoraIO-Community
241,705,248
false
null
package io.agora.agorauikit_android import android.app.Activity import android.content.Context import android.graphics.Color import android.view.Gravity import android.view.View import android.view.ViewGroup import android.widget.FrameLayout import android.widget.LinearLayout internal class ButtonContainer(context: C...
6
null
9
21
41f49c91f298bbcb1fe8926efb306a0767aa4d0f
4,940
VideoUIKit-Android
MIT License
matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/crypto/store/db/model/WithHeldSessionEntity.kt
matrix-org
287,466,066
false
null
/* * Copyright (c) 2020 New Vector Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
91
null
4
97
55cc7362de34a840c67b4bbb3a14267bc8fd3b9c
1,764
matrix-android-sdk2
Apache License 2.0
library/src/test/kotlin/me/proxer/library/util/ProxerUrlsTest.kt
proxer
43,981,937
false
{"Kotlin": 492567}
package me.proxer.library.util import me.proxer.library.enums.AnimeLanguage import me.proxer.library.enums.Device import me.proxer.library.enums.Language import me.proxer.library.util.ProxerUrls.hasProxerHost import okhttp3.HttpUrl.Companion.toHttpUrl import org.amshove.kluent.shouldBe import org.amshove.kluent.should...
0
Kotlin
2
13
f55585b485c8eff6da944032690fe4de40a58e65
7,574
ProxerLibJava
MIT License
app/src/main/java/io/github/joaogouveia89/checkmarket/marketListItemAdd/presentation/ItemAddScreen.kt
joaogouveia89
842,192,758
false
{"Kotlin": 125865}
package io.github.joaogouveia89.checkmarket.marketListItemAdd.presentation import androidx.compose.foundation.layout.padding import androidx.compose.material3.Scaffold import androidx.compose.runtime.Composable import androidx.compose.runtime.getValue import androidx.compose.runtime.mutableStateOf import androidx.comp...
0
Kotlin
0
0
93fe1499efd2d6813ad969d56e93f31b40ea259a
2,006
CheckMarket
MIT License
identity/src/main/java/com/stripe/android/identity/networking/models/Requirement.kt
stripe
6,926,049
false
null
package com.stripe.android.identity.networking.models import com.stripe.android.identity.navigation.ConsentDestination import com.stripe.android.identity.navigation.DocSelectionDestination import com.stripe.android.identity.navigation.DriverLicenseScanDestination import com.stripe.android.identity.navigation.DriverLic...
86
null
584
1,078
74bf7263f56d53aff2d0035127d84dd40609403d
2,834
stripe-android
MIT License
KotlinMail/goodscenter/src/main/java/cn/xwj/goods/ui/widget/GoodsSkuPopView.kt
jxiaow
123,389,640
false
{"Java": 270055, "Kotlin": 243645}
package cn.xwj.goods.ui.widget import android.content.Context import android.view.LayoutInflater import android.view.MotionEvent import android.view.View import android.view.ViewGroup import android.widget.PopupWindow import cn.xwj.baselibrary.ext.loadUrl import cn.xwj.baselibrary.widget.DefaultTextWatcher import cn.x...
1
null
1
1
2796496ebb7d279ad0f405102c107db9085545e7
3,884
AndroidProjectStudio
Apache License 2.0
import-export/android/src/main/kotlin/studio/lunabee/onesafe/importexport/settings/AutoBackupSettingsUiState.kt
LunabeeStudio
624,544,471
false
null
/* * Copyright (c) 2023-2023 Lunabee Studio * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
1
null
1
2
26deecf44e0bec9944a2bf231da1dff1ec829745
1,772
oneSafe6_SDK_Android
Apache License 2.0
library/src/main/java/cloud/pace/sdk/appkit/model/App.kt
pace
303,641,261
false
null
package cloud.pace.sdk.appkit.model import android.graphics.Bitmap import android.os.Parcelable import kotlinx.android.parcel.Parcelize @Parcelize data class App( var name: String, var shortName: String, var description: String? = null, var url: String, var logo: Bitmap? = null, var iconBackgr...
0
Kotlin
1
5
c459c30690f3c2c480986312a3d837698ce028bc
773
cloud-sdk-android
MIT License
ui/morealbums/src/main/kotlin/app/surgo/ui/morealbums/MoreAlbums.kt
tsukiymk
382,220,719
false
{"Kotlin": 889558, "Shell": 553, "CMake": 252, "C++": 166}
package app.surgo.ui.morealbums import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.padding import androidx.compose.foundation.layout.wrapContentSize import androidx.compose.foundation.lazy.LazyColumn import androidx.compose.f...
0
Kotlin
0
0
a364fa99ea63c6b18268ad26b3bb4c0a0603a98f
4,240
surgo
Apache License 2.0
persistence/src/main/java/com/anytypeio/anytype/persistence/common/Provider.kt
anyproto
647,371,233
false
{"Kotlin": 11623123, "Java": 69306, "Shell": 11350, "Makefile": 1334}
package com.anytypeio.anytype.core_utils.common abstract class ParametrizedProvider<in P, out T> { private var original: T? = null abstract fun create(param: P): T fun get(param: P): T = original ?: create(param).apply { original = this } fun clear() { original = null } }
45
Kotlin
43
528
c708958dcb96201ab7bb064c838ffa8272d5f326
304
anytype-kotlin
RSA Message-Digest License
qloud-spring-boot-starter/src/main/kotlin/network/qloud/integrations/boot/api/QloudApi.kt
QloudNetwork
311,349,999
false
{"Kotlin": 30715, "TypeScript": 15900, "JavaScript": 5448, "Python": 4981}
package network.qloud.integrations.boot.api import network.qloud.integrations.boot.api.dto.QloudApiUser import java.util.concurrent.CompletableFuture interface QloudApi { fun getUser(id: String): CompletableFuture<QloudApiUser> fun deleteUser(id: String): CompletableFuture<Void> }
11
Kotlin
0
2
905d025be3eaf3f7a816cf27aa2debed0f4a3a48
292
qloud-integrations
MIT License
src/main/kotlin/com/doist/gradle/androidtranslationscheck/AndroidTranslationsCheckExtension.kt
Doist
317,819,000
false
null
package com.doist.gradle.androidtranslationscheck import org.gradle.api.Project import org.gradle.api.provider.Property import org.gradle.kotlin.dsl.property @Suppress("UnstableApiUsage") open class AndroidTranslationsCheckExtension(project: Project) { val argumentRegex: Property<String> = project.objects...
0
Kotlin
0
1
f99c4596e9549363d2cbf1078c047bd4f4a58034
383
android-translations-check
MIT License
src/main/kotlin/com/doist/gradle/androidtranslationscheck/AndroidTranslationsCheckExtension.kt
Doist
317,819,000
false
null
package com.doist.gradle.androidtranslationscheck import org.gradle.api.Project import org.gradle.api.provider.Property import org.gradle.kotlin.dsl.property @Suppress("UnstableApiUsage") open class AndroidTranslationsCheckExtension(project: Project) { val argumentRegex: Property<String> = project.objects...
0
Kotlin
0
1
f99c4596e9549363d2cbf1078c047bd4f4a58034
383
android-translations-check
MIT License
src/test/java/examples/java/noreceiver/assertvrequire/Correct0.kt
cs125-illinois
584,154,962
false
{"Kotlin": 264477, "Java": 142525}
package examples.java.noreceiver.assertvrequire fun positive(value: Int): Int { require(value > 0) return value }
0
Kotlin
0
2
91ddb6431e7af559bab7843e8911fa9ac374ca08
123
jenisol
MIT License
src/main/kotlin/anonymous_inner_class_object_expression/AnonymousClassAndObjectExpression.kt
nazk420testing
339,854,352
false
{"Gradle Kotlin DSL": 2, "INI": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Kotlin": 24, "Java": 1, "XML": 12}
package anonymous_inner_class_object_expression interface SessionInfoProvider { fun print() { println("Printing SessionInfoProvider") } } open class SimpleProvider : SessionInfoProvider { open val providerInfo: String get() = "Simple Provider" override fun print() { println("...
0
Kotlin
0
0
51ed7ef0f2c7ba9a328d703ceaa1c33be2eafc85
809
kotlin
MIT License
src/main/kotlin/icu/windea/pls/script/codeInsight/hints/ParadoxDefinitionReferenceInfoHintsProvider.kt
DragonKnightOfBreeze
328,104,626
false
{"Kotlin": 3162618, "Java": 164812, "Lex": 42980, "HTML": 24956, "Shell": 2741}
package icu.windea.pls.script.codeInsight.hints import com.intellij.codeInsight.hints.* import com.intellij.codeInsight.hints.presentation.* import com.intellij.openapi.editor.* import com.intellij.psi.* import com.intellij.ui.dsl.builder.* import icu.windea.pls.* import icu.windea.pls.config.expression.* import icu.w...
12
Kotlin
5
29
8899a43db12b8c1e4edaa7e66b93143dcbd5ba68
3,758
Paradox-Language-Support
MIT License