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
cryptic-sequences-core/jvmTest/src/net/plcarmel/crypticsequences/core/numbers/BinaryBaseSystemTest.kt
plcarmel
344,168,944
false
null
package net.plcarmel.crypticsequences.core.numbers import org.junit.jupiter.api.Assertions import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Test import org.junit.jupiter.params.ParameterizedTest import org.junit.jupiter.params.provider.CsvSource class BinaryBaseSystemTest { @Parame...
0
Kotlin
0
0
2792e9632fef0cb22c4bacc49f209d3463ec5b19
2,876
cryptic-sequences
MIT License
plugin/src/main/kotlin/io/github/addoncommunity/galactifun/scripting/dsl/gen/NoiseMap.kt
Slimefun-Addon-Community
624,085,324
false
{"Kotlin": 166551}
package io.github.addoncommunity.galactifun.scripting.dsl.gen import io.github.addoncommunity.galactifun.util.worldgen.DoubleChunkGrid import org.bukkit.util.noise.OctaveGenerator import org.bukkit.util.noise.SimplexOctaveGenerator class NoiseMap(noises: Map<String, AbstractPerlin.PerlinConfig>) { private val no...
1
Kotlin
2
5
8c1d3470440bf0672e63f1ebbe5554ea1822865d
1,531
Galactifun2
Apache License 2.0
kotlin-mui-icons/src/main/generated/mui/icons/material/FileDownloadOffOutlined.kt
JetBrains
93,250,841
false
null
// Automatically generated - do not modify! @file:JsModule("@mui/icons-material/FileDownloadOffOutlined") @file:JsNonModule package mui.icons.material @JsName("default") external val FileDownloadOffOutlined: SvgIconComponent
12
Kotlin
145
983
a99345a0160a80a7a90bf1adfbfdc83a31a18dd6
228
kotlin-wrappers
Apache License 2.0
Adapter/src/main/java/com/angcyo/dsladapter/DslAdapterItem.kt
angcyo
201,440,286
false
null
package com.angcyo.dsladapter import android.graphics.Canvas import android.graphics.Color import android.graphics.Paint import android.graphics.Rect import android.graphics.drawable.Drawable import android.os.Build import android.view.View import android.view.ViewGroup import androidx.constraintlayout.widget.Constrai...
4
null
37
350
6dec07e4695c7795d9ed5cc3c754202c9562c111
27,917
DslAdapter
MIT License
src/test/kotlin/no/nav/familie/ef/sak/infotrygd/InfotrygdPeriodeTestUtil.kt
navikt
206,805,010
false
null
package no.nav.familie.ef.sak.infotrygd import no.nav.familie.kontrakter.ef.infotrygd.InfotrygdAktivitetstype import no.nav.familie.kontrakter.ef.infotrygd.InfotrygdEndringKode import no.nav.familie.kontrakter.ef.infotrygd.InfotrygdOvergangsstønadKode import no.nav.familie.kontrakter.ef.infotrygd.InfotrygdPeriode impo...
8
Kotlin
2
0
d1d8385ead500c4d24739b970940af854fa5fe2c
2,228
familie-ef-sak
MIT License
kzen-auto-js/src/jsMain/kotlin/tech/kzen/auto/client/api/ReactWrapper.kt
alexoooo
131,353,826
false
{"Kotlin": 1902613, "Java": 163744, "CSS": 5632, "JavaScript": 203}
package tech.kzen.auto.client.api import js.objects.JsoDsl import react.ChildrenBuilder interface ReactWrapper<T: react.Props> { fun ChildrenBuilder.child(block: @JsoDsl T.() -> Unit) fun child(builder: ChildrenBuilder, block: @JsoDsl T.() -> Unit) { builder.apply { child(block) ...
1
Kotlin
1
1
97a140f0599d1eb3dc9dd3075b6a4fdbc5daaba0
329
kzen-auto
MIT License
app/src/main/java/com/akusuka/githubers/widget/MyFavoriteStackWidget.kt
ayadiyulianto
297,043,731
false
null
package com.akusuka.githubers.widget import android.app.PendingIntent import android.appwidget.AppWidgetManager import android.appwidget.AppWidgetProvider import android.content.ComponentName import android.content.Context import android.content.Intent import android.widget.RemoteViews import androidx.core.app.TaskSta...
0
Kotlin
0
0
251dfd3ac15b43defab7928fe46f9f9d01928028
2,830
Githubers
MIT License
compiler/testData/diagnostics/testsWithStdLib/contracts/smartcasts/callWithDefaultValue.kt
JetBrains
3,432,266
false
null
// LANGUAGE: +AllowContractsForCustomFunctions +UseReturnsEffect // OPT_IN: kotlin.contracts.ExperimentalContracts // DIAGNOSTICS: -INVISIBLE_REFERENCE -INVISIBLE_MEMBER import kotlin.contracts.* fun myAssert(condition: Boolean, message: String = "") { contract { returns() implies (condition) } if...
181
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
444
kotlin
Apache License 2.0
src/test/kotlin/no/nav/amt/deltaker/bff/innbygger/InnbyggerServiceTest.kt
navikt
701,285,451
false
{"Kotlin": 484428, "PLpgSQL": 635, "Dockerfile": 194}
package no.nav.amt.deltaker.bff.innbygger import io.kotest.matchers.shouldBe import kotlinx.coroutines.runBlocking import no.nav.amt.deltaker.bff.deltaker.DeltakerService import no.nav.amt.deltaker.bff.deltaker.db.DeltakerRepository import no.nav.amt.deltaker.bff.deltaker.db.sammenlignDeltakere import no.nav.amt.delta...
1
Kotlin
0
0
fe05b04d1b3bde5879076daca8326e6025a6e67c
2,291
amt-deltaker-bff
MIT License
ybatis/src/test/kotlin/com.sununiq/handler/ForEachProcessorTest.kt
Sitrone
155,659,453
false
null
package com.sununiq.handler import com.sununiq.entity.Column import com.sununiq.entity.Table import com.sununiq.handler.token.TokenParser import com.sununiq.util.parseXml import com.sununiq.util.println import com.sununiq.util.removeChildNodes import com.sununiq.util.transform2String import org.apache.commons.lang3.St...
1
null
1
1
e06616a6f541f45ec7f61707667eda6af04d15e1
4,532
mybatis-enhancer
MIT License
compiler/testData/diagnostics/tests/inference/upperBounds/nonNullUpperBound.kt
JakeWharton
99,388,807
false
null
fun <R : Any> unescape(value: Any): R? = throw Exception("$value") fun <T: Any> foo(v: Any): T? = unescape(v) //-------------- interface A fun <R : A> unescapeA(value: Any): R? = throw Exception("$value") fun <T: A> fooA(v: Any): T? = unescapeA(v)
181
null
5748
83
4383335168338df9bbbe2a63cb213a68d0858104
255
kotlin
Apache License 2.0
app/src/main/java/com/ziggeo/androidsdk/demo/util/BundleExtractorDelegate.kt
Ziggeo
44,632,250
false
{"Kotlin": 183047}
package com.ziggeo.androidsdk.demo.util import android.os.Bundle import androidx.fragment.app.Fragment import kotlin.properties.ReadWriteProperty import kotlin.reflect.KProperty /** * Created by <NAME> on 25-Sep-19. * Ziggeo, Inc. * <EMAIL> */ inline fun <reified T> argument( key: String, defaultValue: T...
5
Kotlin
5
8
0609cda01b8dca9a876732f565974ffee1560808
1,355
android-sdk-demo
Apache License 2.0
paypal/src/test/java/com/paysafe/android/paypal/PSPayPalControllerTest.kt
paysafegroup
768,755,663
false
{"Kotlin": 637209, "Shell": 912}
/* * Copyright (c) 2024 Paysafe Group */ package com.paysafe.android.paypal import androidx.activity.result.ActivityResultCaller import androidx.appcompat.app.AppCompatActivity import androidx.arch.core.executor.testing.InstantTaskExecutorRule import androidx.lifecycle.LifecycleCoroutineScope import androidx.lifecy...
0
Kotlin
0
0
d0f16d72ef051fc4bc6245a6204ede659f308e05
44,306
paysafe_sdk_android_payments_api
MIT License
testutils/src/main/java/com/xfinity/resourceprovider/testutils/ResourceProviderAnswers.kt
Comcast
92,522,817
false
{"Java": 4858, "Kotlin": 4844}
package com.xfinity.resourceprovider.testutils import android.graphics.drawable.Drawable import org.mockito.Mockito import org.mockito.invocation.InvocationOnMock import org.mockito.stubbing.Answer import java.lang.reflect.Method /** * This file contains Mockito Answer sub-classes for automatically mocking ResourceP...
6
Java
8
19
f1814941907e0f8c316e15ba85b3cf86c55e56c1
2,224
resourceprovider-utils
Apache License 2.0
kotlin/lib/src/jvmAndroidMain/kotlin/xyz/mcxross/kfc/Encode.kt
mcxross
659,200,090
false
{"Rust": 24688, "Kotlin": 5756, "HTML": 174}
package xyz.mcxross.kfc actual object Encode { actual fun base64ToHex(bytes: String): String = xyz.mcxross.kfc.base64ToHex(bytes) actual fun hexToBase64(bytes: String): String = xyz.mcxross.kfc.hexToBase64(bytes) }
0
Rust
0
0
f981135bdf51a5c8cca86a381b7abfb5221a7ba5
221
kfastcrypto
Apache License 2.0
app/src/main/kotlin/io/github/feelfreelinux/wykopmobilny/api/tag/TagRepository.kt
altaf933
122,962,254
false
{"Gradle": 4, "Markdown": 2, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "YAML": 1, "Proguard": 1, "Kotlin": 485, "XML": 261, "Java": 4}
package io.github.feelfreelinux.wykopmobilny.api.tag import io.github.feelfreelinux.wykopmobilny.api.UserTokenRefresher import io.github.feelfreelinux.wykopmobilny.api.errorhandler.ErrorHandler import io.github.feelfreelinux.wykopmobilny.api.errorhandler.ErrorHandlerTransformer import io.github.feelfreelinux.wykopmobi...
1
null
1
1
0c2d9fc015a5bef5b258481e4233d04ab5705a49
2,560
WykopMobilny
MIT License
feature_book_details/src/main/java/com/allsoftdroid/feature/book_details/domain/repository/IBaseRepository.kt
pravinyo
209,936,085
false
null
package com.allsoftdroid.feature.book_details.domain.repository import com.allsoftdroid.common.base.extension.Event import com.allsoftdroid.common.base.extension.Variable import com.allsoftdroid.feature.book_details.utils.NetworkState interface IBaseRepository { fun networkResponse(): Variable<Event<NetworkState>...
3
Kotlin
4
12
8358f69c0cf8dbde18904b0c3a304ec89b518c9b
323
AudioBook
MIT License
src/test/kotlin/no/nav/syfo/testhelper/UserConstants.kt
navikt
164,875,446
false
{"Gradle": 1, "Markdown": 2, "CODEOWNERS": 1, "Gradle Kotlin DSL": 1, "Dockerfile": 1, "Shell": 2, "Ignore List": 1, "Batchfile": 1, "YAML": 13, "INI": 1, "Java": 166, "XML": 11, "SQL": 37, "Kotlin": 160, "XSLT": 2, "GraphQL": 2, "PLSQL": 1}
package no.nav.syfo.testhelper object UserConstants { const val ARBEIDSTAKER_FNR = "12345678912" @JvmField val ARBEIDSTAKER_AKTORID = mockAktorId(ARBEIDSTAKER_FNR) const val LEDER_FNR = "12987654321" @JvmField val LEDER_AKTORID = mockAktorId(LEDER_FNR) const val VIRKSOMHETSNUMMER = "1234567...
7
Java
0
0
6d3a2604541c974096d942ef38f2f9b632b2d8a2
441
syfooppfolgingsplanservice
MIT License
src/main/kotlin/icu/windea/pls/lang/util/ParadoxTextColorManager.kt
DragonKnightOfBreeze
328,104,626
false
null
package icu.windea.pls.lang import com.intellij.openapi.project.* import com.intellij.psi.* import com.intellij.psi.util.* import icu.windea.pls.* import icu.windea.pls.core.* import icu.windea.pls.core.search.* import icu.windea.pls.core.search.selector.chained.* import icu.windea.pls.lang.model.* import icu.windea.p...
9
null
4
36
5577bedd9d2fa15348fce08d737d5726572e07f3
2,177
Paradox-Language-Support
MIT License
android/app/src/main/kotlin/me/xmcf/kodproject/flutterchannel/download/TaskInfoRes.kt
helixs
197,500,648
false
null
package me.xmcf.kodproject.flutterchannel.download data class TaskInfoRes( //主键id var primaryId: Int = 0, //任务id var taskId: String, //任务状态 var status: Int = 0, //进度 var progress: Int = 0, //任务下载地址 var url: String, //文件名称 v...
1
null
4
6
9df884a94db5bffd413982a467665751e5e0e27c
827
KodExplorerFlutter
Apache License 2.0
config/src/main/kotlin/org/springframework/security/config/annotation/web/RequiresChannelDsl.kt
spring-projects
3,148,979
false
null
/* * Copyright 2002-2020 the original author or authors. * * 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 a...
942
null
5864
8,737
9ba2435cb21a828dd2bccaabcac63dabf12d5dc8
6,813
spring-security
Apache License 2.0
src/jsMain/kotlin/baaahs/sim/BrainSurfaceSimulation.kt
baaahs
174,897,412
false
null
package baaahs.sim import baaahs.device.PixelFormat import baaahs.fixtures.Fixture import baaahs.fixtures.PixelArrayFixture import baaahs.mapper.MappingSession import baaahs.model.Model import baaahs.randomDelay import baaahs.sm.brain.BrainManager import baaahs.sm.brain.sim.BrainSimulatorManager import baaahs.util.glo...
99
null
6
40
77ad22b042fc0ac440410619dd27b468c3b3a600
2,266
sparklemotion
MIT License
PettCareAndroidApp/app/src/main/java/com/pettcare/app/chat/presentation/userchats/UserChatsUiState.kt
antelukic
767,127,442
false
{"Kotlin": 305258}
package com.pettcare.app.chat.presentation.userchats data class UserChatsUiState( val users: List<UserChatUiState> = emptyList(), val query: String = "", ) data class UserChatUiState( val photoUrl: String, val name: String, val id: String, )
0
Kotlin
0
0
e6210463d97ef1235a2f0d84c5658f251f857f9a
264
PettCareApp
Apache License 2.0
domain/src/main/java/ru/sportivityteam/vucmirea/assistant/domain/usecase/auth/AuthUserUseCase.kt
SportivityTeam
753,183,017
false
{"Kotlin": 46772, "Swift": 532}
package ru.sportivityteam.vucmirea.assistant.domain.usecase.auth import kotlinx.coroutines.flow.Flow import ru.sportivityteam.vucmirea.assistant.domain.repository.auth.AuthRepository import ru.sportivityteam.vucmirea.assistant.domain.util.State interface AuthUserUseCase : suspend (String, String) -> Flow<State<Unit>...
0
Kotlin
0
2
a45c1129bb1cfc56c784778ef3b28afff302ec63
537
assistant-vuc-mirea
MIT License
idea/idea-native/src/org/jetbrains/kotlin/ide/konan/decompiler/KotlinNativeMetadataDecompiler.kt
ujjwalagrawal17
247,057,405
false
{"Markdown": 61, "Gradle": 622, "Gradle Kotlin DSL": 333, "Java Properties": 13, "Shell": 10, "Ignore List": 11, "Batchfile": 9, "Git Attributes": 7, "Protocol Buffer": 11, "Java": 6439, "Kotlin": 54075, "Proguard": 8, "XML": 1563, "Text": 10562, "JavaScript": 270, "JAR Manifest": 2, "Roff": 211, "Roff Manpage": 36, "I...
/* * Copyright 2010-2018 JetBrains s.r.o. and Kotlin Programming Language contributors. * 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.ide.konan.decompiler import com.intellij.openapi.vfs.VirtualFile import org.jetb...
1
null
1
1
9dd201aaf243cf9198cf129b22d3aa38fcff182c
1,187
kotlin
Apache License 2.0
app/src/main/java/com/bnb/grab/widget/CustomHistoryLayout.kt
slowguy
115,593,603
false
null
package com.bnb.grab.widget import android.content.Context import android.util.AttributeSet import android.view.LayoutInflater import android.view.View import android.widget.ImageView import android.widget.LinearLayout import android.widget.TextView import com.bnb.grab.R /** * Created by wsl on 2018/1/8. */ class C...
0
Kotlin
0
0
03ddd68ff0aa74c0be3de5ec221ef605405269a8
2,002
slowGrab
Apache License 2.0
src/DrawPanel.kt
IvanLuLyf
144,836,900
false
null
import java.awt.Color import java.awt.Graphics import java.awt.event.MouseAdapter import java.awt.event.MouseEvent import java.awt.event.MouseMotionAdapter import java.io.File import java.io.PrintWriter import java.util.* import javax.swing.JMenuItem import javax.swing.JPanel import javax.swing.JPopupMenu import javax....
0
Kotlin
0
0
3509a8d8c2b3fb68b4143cb2eb133fde2774895b
7,882
PaintPadKotlin
MIT License
growhabit/src/main/kotlin/com/vsrstudio/growhabit/app/App.kt
rozag
93,681,622
false
null
package com.vsrstudio.growhabit.app import android.app.Application import com.vsrstudio.growhabit.BuildConfig import com.vsrstudio.growhabit.crash.CrashProvider import com.vsrstudio.growhabit.logging.ReleaseTree import timber.log.Timber class App : Application() { override fun onCreate() { super.onCreate...
0
Kotlin
0
0
2737c476b372d4448ff51db1b93dfb8ac9e3015a
770
grow-habit
Apache License 2.0
SKIE/kotlin-compiler/core/src/commonMain/kotlin/io/outfoxx/swiftpoet/EnumerationCaseSpec.kt
touchlab
685,579,240
false
null
/* * Copyright 2018 Outfox, 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 ...
9
null
8
735
b96044d4dec91e4b85c5b310226c6f56e3bfa2b5
2,626
SKIE
Apache License 2.0
kazuki-toolkit/src/main/kotlin/com/anaplan/engineering/kazuki/toolkit/sequence/SequenceOrd.kt
anaplan-engineering
715,012,365
false
{"Kotlin": 160848, "Shell": 827}
package com.anaplan.engineering.kazuki.toolkit.sequence import com.anaplan.engineering.kazuki.core.* import com.anaplan.engineering.kazuki.toolkit.Ord object SequenceOrd { fun <T : Comparable<T>> natural() = Natural<T>() fun <T> byFunction(ordFn: (T, T) -> Ord) = ByFunction(ordFn) class Natural<T : Com...
1
Kotlin
1
0
3caf954207b793c48bd733fd3c35d8ba5f78280d
3,965
kazuki
MIT License
android/src/main/java/com/inspiredandroid/linuxcommandbibliotheca/ui/composables/NestedCommandView.kt
SimonSchubert
20,982,177
false
null
package com.inspiredandroid.linuxcommandbibliotheca.ui.composables import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.width import androidx.compose.material.Text import androidx.compose.runtime.Composable import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier impo...
9
null
62
784
99506c12c95e3bd4204c07713b69008834b9bc6e
2,112
LinuxCommandLibrary
Apache License 2.0
src/main/kotlin/no/nav/hjelpemidler/Application.kt
navikt
390,976,856
false
null
package no.nav.hjelpemidler import com.fasterxml.jackson.databind.DeserializationFeature import com.fasterxml.jackson.databind.SerializationFeature import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper import io.ktor.application.call import io.ktor.a...
0
Kotlin
0
0
c0958927066d53d54d2cf8255951cf9940813135
3,457
hm-forslagsmotor-tilbehoer
MIT License
src/main/java/net/ccbluex/liquidbounce/features/module/modules/world/Timer.kt
Rmejia39
733,988,804
false
{"Kotlin": 2304965, "Java": 1271227, "GLSL": 13515, "JavaScript": 8926}
/* * FDPClient Hacked Client * A free open source mixin-based injection hacked client for Minecraft using Minecraft Forge by LiquidBounce. * https://github.com/SkidderMC/FDPClient/ */ package net.ccbluex.liquidbounce.features.module.modules.world import net.ccbluex.liquidbounce.event.EventTarget import net.ccbluex...
3
Kotlin
0
0
b48c4e83c888568111a6665037db7fd3f7813ed3
2,218
FDPClient
MIT License
src/test/kotlin/no/nav/pensjon/kalkulator/tech/security/egress/token/unt/client/fssgw/FssGatewayUsernameTokenClientTest.kt
navikt
596,104,195
false
null
package no.nav.pensjon.kalkulator.tech.security.egress.token.unt.client.fssgw import no.nav.pensjon.kalkulator.mock.MockSecurityConfiguration.Companion.arrangeSecurityContext import no.nav.pensjon.kalkulator.mock.WebClientTest import org.junit.jupiter.api.Assertions.* import org.junit.jupiter.api.BeforeEach import org...
1
Kotlin
0
0
a642602ae4997fb9d88f97464a85a6c3d9c33a89
1,581
pensjonskalkulator-backend
MIT License
domain/src/main/java/com/guru/cocktails/domain/model/ingredient/IngredientDetail.kt
morristech
143,734,527
false
null
package com.guru.cocktails.domain.model.ingredient import android.os.Parcelable import kotlinx.android.parcel.Parcelize @Parcelize data class IngredientDetail( val id: Int, val name: String, val nameGrouped: String, val description: String, val imageName: String, val imageUrl: String, val ...
0
Kotlin
0
0
f3feac05ebb51a7a30c2d37ccf76f4269da92f07
414
client-android
MIT License
acceptance-tests/src/main/kotlin/org/ostelco/at/pgw/OcsTest.kt
sami-alajrami
145,691,257
false
{"Gradle": 25, "YAML": 32, "Markdown": 33, "Shell": 31, "Text": 1, "Ignore List": 11, "Batchfile": 1, "Dockerfile": 9, "Kotlin": 146, "XML": 27, "Java": 24, "Java Properties": 2, "OASv2-yaml": 2, "INI": 1, "Protocol Buffer": 2, "JSON": 3, "PlantUML": 19, "SVG": 13, "Cypher": 1}
package org.ostelco.at.pgw import org.jdiameter.api.Avp import org.jdiameter.api.Session import org.junit.After import org.junit.Before import org.junit.BeforeClass import org.junit.Test import org.ostelco.at.common.createProfile import org.ostelco.at.common.createSubscription import org.ostelco.at.common.getLogger im...
1
null
1
1
b642713279f783ca8fa643713cc34f6c8b3560cb
10,607
ostelco-core
Apache License 2.0
src/test/kotlin/com/autonomousapps/transform/StandardTransformTest.kt
jjohannes
476,173,763
false
null
package com.autonomousapps.transform import com.autonomousapps.internal.utils.intoSet import com.autonomousapps.model.Advice import com.autonomousapps.model.GradleVariantIdentification import com.autonomousapps.model.ModuleCoordinates import com.autonomousapps.model.declaration.Bucket import com.autonomousapps.model.d...
96
null
97
3
6891fbcc85ff3e25592b95fbceab0ee47fa2c12a
33,570
dependency-analysis-android-gradle-plugin
Apache License 2.0
bbfgradle/tmp/results/BACKUP_DIFF/xbuusfb_FILE.kt
DaniilStepanov
346,008,310
false
null
// Bug happens on JVM , JVM -Xuse-ir //File: tmp/tmp0.kt fun box() : Any { 1?.toByte()?.hashCode() return "OK" }
1
null
1
1
e772ef1f8f951873ebe7d8f6d73cf19aead480fa
118
kotlinWithFuzzer
Apache License 2.0
tasks/backend/src/main/kotlin/ams/abramelin/tasks/task/service/TaskService.kt
tilau2328
156,662,968
false
null
package ams.abramelin.tasks.task.service import ams.abramelin.tasks.task.domain.commands.* import ams.abramelin.tasks.task.query.TaskEntry import ams.abramelin.tasks.task.query.TaskRepository import org.axonframework.commandhandling.gateway.CommandGateway import org.axonframework.common.IdentifierFactory import org.sp...
0
Kotlin
0
0
e9889bfd73056ef4c07c48ec1bc85e0e2cda61be
1,482
Abramelin
Apache License 2.0
feature/lists/src/main/kotlin/com/lolo/io/onelist/feature/lists/components/list_chips/ListsFlowRow.kt
lolo-io
198,519,184
false
{"Kotlin": 363415, "Roff": 549}
package com.lolo.io.onelist.feature.lists.components.list_chips import androidx.compose.foundation.layout.Arrangement import androidx.compose.runtime.Composable import androidx.compose.runtime.getValue import androidx.compose.runtime.mutableStateOf import androidx.compose.runtime.remember import androidx.compose.runti...
18
Kotlin
26
92
ca7df6ec46344bde7c5e357d0784ecdfdecbb78e
3,037
OneList
MIT License
app/src/test/java/com/patmore/android/features/authentication/domain/usecases/GetTwitterUserAccessTokenUseCaseTest.kt
jawnpaul
514,394,689
false
{"Kotlin": 189149}
package com.patmore.android.features.authentication.domain.usecases import com.patmore.android.UnitTest import com.patmore.android.core.functional.Either import com.patmore.android.features.authentication.data.remote.model.AccessTokenRequest import com.patmore.android.features.authentication.domain.repository.IAuthent...
3
Kotlin
1
11
9a36efdd72ea4b7ee51e09de28c863be52cf53fa
1,517
patmore-android
MIT License
preview-designer/src/com/android/tools/idea/preview/lifecycle/PreviewLifecycleManager.kt
JetBrains
60,701,247
false
null
/* * Copyright (C) 2022 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...
5
null
227
948
10110983c7e784122d94c7467e9d243aba943bf4
7,422
android
Apache License 2.0
vok-framework-jpa/src/test/kotlin/eu/vaadinonkotlin/vaadin8/jpa/JPADataProviderTest.kt
jhult
212,693,470
true
{"Kotlin": 443438, "Java": 7957, "JavaScript": 1242, "CSS": 201, "TSQL": 96}
package eu.vaadinonkotlin.vaadin8.jpa import com.github.mvysny.dynatest.DynaTest import com.github.mvysny.dynatest.expectList import com.github.mvysny.karibudsl.v8.addColumnFor import com.github.mvysny.karibudsl.v8.grid import com.github.mvysny.kaributesting.v8.MockVaadin import com.github.mvysny.kaributesting.v8.expe...
0
Kotlin
0
1
6c684f111addc6bf47b57ff35aca44badf1741ee
2,535
vaadin-on-kotlin
MIT License
src/main/kotlin/dev/shtanko/algorithms/exercises/UniqueCharacters.kt
ashtanko
203,993,092
false
{"Kotlin": 7135393, "Shell": 1168, "Makefile": 1135}
/* * Copyright 2020 Oleksii Shtanko * * 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...
4
Kotlin
0
19
354dd5fb65ab0ec96c42b7772c2cb1d292a96db0
2,290
kotlab
Apache License 2.0
app/src/main/java/com/example/anywherefitness/ui/Instructor/InstructorActivity.kt
BuildWeek-Anywhere-Fitness
210,391,400
false
null
package com.example.anywherefitness.ui.Instructor import android.content.Context import android.content.Intent import android.os.Bundle import android.view.Menu import android.view.MenuItem import com.google.android.material.bottomnavigation.BottomNavigationView import androidx.appcompat.app.AppCompatActivity import a...
0
Kotlin
0
0
25a29064b478204e249654b8b2b554a5b2b209e7
3,001
ANDROID-ENGINEER-II
MIT License
coil-base/src/androidTest/java/coil/RealImageLoaderTest.kt
ianhanniballake
384,854,300
false
null
@file:Suppress("SameParameterValue") package coil import android.content.ContentResolver.SCHEME_ANDROID_RESOURCE import android.content.ContentResolver.SCHEME_CONTENT import android.content.ContentResolver.SCHEME_FILE import android.content.Context import android.graphics.Bitmap import android.graphics.Color import a...
0
null
0
1
e5f7c568e94a58e7552627e83b5fcc9f192df1bd
15,914
coil
Apache License 2.0
stripe/src/main/java/com/stripe/android/CustomerSessionEphemeralKeyManagerListener.kt
swdreams
220,836,994
false
null
package com.stripe.android import java.util.HashMap import java.util.concurrent.ThreadPoolExecutor internal class CustomerSessionEphemeralKeyManagerListener( private val runnableFactory: CustomerSessionRunnableFactory, private val executor: ThreadPoolExecutor, private val listeners: HashMap<String, Custom...
0
null
1
2
413c85d6213d894510cc78684287783e36eeb53b
1,117
stripe-android
MIT License
core/src/main/java/com/dicoding/dummyfilmapp/core/data/source/remote/response/tvshow/TvShowListResponse.kt
r3dz0n3-plysafe
391,220,918
false
null
package com.dicoding.dummyfilmapp.core.data.source.remote.response.tvshow import com.google.gson.annotations.SerializedName data class TvShowListResponse( @SerializedName("results") val results: List<TvShowResponse> )
0
Kotlin
0
0
e60dc3657296f4e1e8d705d1543f110dc644e27f
227
Sub2-Expert-DummyFilmApp
The Unlicense
src/main/kotlin/dev/bbuck/dragonconsole/ui/InputController.kt
bbuck
4,627,209
false
null
package dev.bbuck.dragonconsole.ui import dev.bbuck.dragonconsole.text.InputString import dev.bbuck.dragonconsole.text.StoredInput import java.awt.Toolkit import javax.swing.JOptionPane import javax.swing.JOptionPane.showMessageDialog import javax.swing.JTextPane import javax.swing.text.AbstractDocument import javax.s...
6
Kotlin
19
59
aa68a02b85c095c22565c5322368af880f6ff2b4
10,342
DragonConsole
Apache License 2.0
mobile/src/main/java/com/siliconlabs/bledemo/features/demo/wifi_commissioning/activities/WifiCommissioningActivity.kt
SiliconLabs
85,345,875
false
null
package com.siliconlabs.bledemo.features.demo.wifi_commissioning.activities import android.app.AlertDialog import android.app.ProgressDialog import android.bluetooth.* import android.content.* import android.os.Bundle import android.view.View import android.widget.* import androidx.recyclerview.widget.LinearLayoutMana...
6
null
70
96
501d1a7554593db61325f5ac3aa0865eb616d00b
18,281
EFRConnect-android
Apache License 2.0
model/src/main/kotlin/ScanSummary.kt
oss-review-toolkit
107,540,288
false
null
/* * Copyright (C) 2017 The ORT Project Authors (see <https://github.com/oss-review-toolkit/ort/blob/main/NOTICE>) * * 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.a...
318
Kotlin
243
1,172
39ce1b7ddf181a7a826b2903e1f90cd03aee8e8c
5,315
ort
Apache License 2.0
src/main/kotlin/io/github/cianciustyles/Utils.kt
CianciuStyles
288,737,271
false
null
package io.github.cianciustyles import biz.source_code.utils.RawConsoleInput object Utils { fun extendSign(x: Int, bitCount: Int): Short { val num = if (x shr bitCount - 1 and 0b1 == 1) { (0xFFFF shl bitCount) or x } else { x } return num.toShort() } ...
1
Kotlin
0
1
e2fcbc7b8033a2c9891ec41cd684cf079f45276d
506
lc3-vm-kotlin
The Unlicense
app/src/main/java/com/example/wishlistapp/MainActivity.kt
clearFrost
608,639,871
false
null
package com.example.wishlistapp import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.util.Log import android.widget.Button import android.widget.EditText import androidx.recyclerview.widget.LinearLayoutManager import androidx.recyclerview.widget.RecyclerView class MainActivity : App...
1
Kotlin
0
0
3051cd20c639fa373833eb53166fddce816ccf2d
1,433
WishlistApp
Apache License 2.0
app/src/main/java/com/kylecorry/trail_sense/tools/beacons/ui/list/BeaconListFragment.kt
kylecorry31
215,154,276
false
null
package com.kylecorry.trail_sense.tools.beacons.ui.list import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.core.os.bundleOf import androidx.core.view.isVisible import androidx.lifecycle.lifecycleScope import androidx.navigation.NavControll...
456
null
66
989
41176d17b498b2dcecbbe808fbe2ac638e90d104
18,447
Trail-Sense
MIT License
plugins/kotlin/base/facet/src/org/jetbrains/kotlin/idea/workspaceModel/KotlinModuleSettingsSerializer.kt
JetBrains
2,489,216
false
null
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package org.jetbrains.kotlin.idea.workspaceModel import com.intellij.openapi.extensions.ExtensionNotApplicableException import com.intellij.platform.workspace.jps.entities.ModuleEntity import com.in...
251
null
5079
16,158
831d1a4524048aebf64173c1f0b26e04b61c6880
8,035
intellij-community
Apache License 2.0
app/src/main/java/xyz/harmonyapp/olympusblog/ui/main/article/state/ArticleStateEvent.kt
sentrionic
351,882,310
false
null
package xyz.harmonyapp.olympusblog.ui.main.article.state import okhttp3.MultipartBody import xyz.harmonyapp.olympusblog.utils.StateEvent sealed class ArticleStateEvent : StateEvent { class GetArticlesEvent(val clearLayoutManagerState: Boolean = true) : ArticleStateEvent() { override fun errorInfo(): Stri...
0
Kotlin
0
0
3b784bf9dd60f6cc6889813f2e2932fa3a9b211d
4,793
OlympusAndroid
MIT License
ktlint-ruleset-standard/src/test/kotlin/com/pinterest/ktlint/ruleset/standard/rules/ArgumentListWrappingRuleTest.kt
pinterest
64,293,719
false
null
package com.pinterest.ktlint.ruleset.standard.rules import com.pinterest.ktlint.rule.engine.core.api.editorconfig.MAX_LINE_LENGTH_PROPERTY import com.pinterest.ktlint.ruleset.standard.rules.ClassSignatureRule.Companion.FORCE_MULTILINE_WHEN_PARAMETER_COUNT_GREATER_OR_EQUAL_THAN_PROPERTY import com.pinterest.ktlint.test...
64
null
506
5,844
81c23d07b00c6d6a841e98cc73bd559722f12f37
33,851
ktlint
MIT License
app/src/main/java/com/celzero/bravedns/service/ConnectionMonitor.kt
celzero
270,683,546
false
null
/* * Copyright 2021 RethinkDNS and its authors * * 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 applicable law o...
361
null
148
2,928
d618c0935011642592e958d2b420d5d154e0cd79
38,621
rethink-app
Apache License 2.0
app/src/test/java/com/babylon/wallet/android/domain/usecases/CreateAccountWithLedgerFactorSourceUseCaseTest.kt
radixdlt
513,047,280
false
{"Kotlin": 3958803, "HTML": 215350, "Java": 18496, "Ruby": 2757, "Shell": 1962}
package com.babylon.wallet.android.domain.usecases import com.babylon.wallet.android.data.repository.ResolveAccountsLedgerStateRepository import io.mockk.coEvery import io.mockk.mockk import kotlinx.coroutines.flow.flowOf import kotlinx.coroutines.test.StandardTestDispatcher import kotlinx.coroutines.test.TestScope im...
10
Kotlin
11
4
bc98dd6b6fb563c23fcb84949d8c96cc98d5376b
3,595
babylon-wallet-android
Apache License 2.0
src/main/kotlin/Settings.kt
vchain-dev
591,961,105
false
null
import kotlin.time.Duration import kotlin.time.Duration.Companion.seconds object Settings { var scheduleDelayDuration: Duration = System.getenv() .getOrDefault("KOTASK_SCHEDULE_DELAY_SECONDS", "60") .toInt() .seconds var scheduleTTL: Duration = System.getenv() .getOrDefault("K...
0
Kotlin
0
3
82d96a7edbd03612929e3ed320f55c03f6fca036
409
kotask
MIT License
library/src/main/java/io/github/chenfei0928/app/RunningEnvironmentUtil.kt
chenfei0928
130,954,695
false
{"Kotlin": 1048340, "Java": 254586}
package io.github.chenfei0928.app import android.app.ActivityManager import android.app.Service import android.content.Context import androidx.core.content.getSystemService object RunningEnvironmentUtil { fun isServiceWork(context: Context, service: Class<out Service>): Boolean { val runningService = con...
1
Kotlin
0
8
bbe587216a2450deb19af90ea4d7d24d23443dd1
547
Util
MIT License
idea/src/org/jetbrains/kotlin/idea/highlighter/markers/OverridenFunctionMarker.kt
JetBrains
278,369,660
false
null
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.jetbrains.kotlin.idea.highlighter.markers import com.intellij.codeInsight.daemon.DaemonBundle import com.intellij.codeInsight.navigation.BackgroundU...
191
null
4372
82
cc81d7505bc3e9ad503d706998ae8026c067e838
9,924
intellij-kotlin
Apache License 2.0
kanzankazuLibs/src/main/java/com/kanzankazu/kanzanwidget/viewpager/KanzanViewPagerBottomNavView.kt
kanzankazu
552,512,175
false
{"Kotlin": 545150, "Java": 59675}
@file:Suppress("MemberVisibilityCanBePrivate", "DEPRECATION") package com.kanzankazu.kanzanwidget.viewpager import androidx.fragment.app.Fragment import androidx.viewpager.widget.ViewPager import com.google.android.material.bottomnavigation.BottomNavigationView import com.kanzankazu.kanzanwidget.viewpager.base.BaseFr...
0
Kotlin
0
0
c030e630ee085d99531b328416e7c8ae9d2b054b
1,619
Kanzan_Android_Libs
Apache License 2.0
test/src/test/kotlin/graphql/nadel/tests/hooks/ari-transforms.kt
atlassian-labs
121,346,908
false
null
package graphql.nadel.tests.hooks import graphql.language.StringValue import graphql.nadel.Service import graphql.nadel.ServiceExecutionHydrationDetails import graphql.nadel.ServiceExecutionResult import graphql.nadel.engine.NadelExecutionContext import graphql.nadel.engine.blueprint.NadelOverallExecutionBlueprint imp...
27
null
23
157
89f7d257c01259467c8585fea1a857369eee81f8
4,251
nadel
Apache License 2.0
src/test/kotlin/Tests.kt
michel-souza
59,229,923
true
{"Kotlin": 6955}
import com.zoltu.gradle.plugin.GitVersioning import org.jetbrains.spek.api.Spek import kotlin.test.assertEquals import kotlin.test.assertNotNull class Tests : Spek({ given("a semantic version with tags describe result") { val describeResult = "v1.2.3-beta-4.5-2-g8885517" on("tryGetSemanticVersionInfo") { val ...
0
Kotlin
0
0
da34cc877cea56490c3c0ea0adf4077a3b982a40
2,629
Gradle.Plugin.Versioning
Creative Commons Zero v1.0 Universal
raft/src/main/kotlin/raft/rpc/nio/InboundChannelGroup.kt
WyattJia
287,940,061
false
{"Kotlin": 268400}
package raft.rpc.nio import io.netty.channel.ChannelFuture import io.netty.channel.ChannelFutureListener import org.slf4j.LoggerFactory import raft.node.NodeId import java.util.concurrent.CopyOnWriteArrayList import javax.annotation.concurrent.ThreadSafe @ThreadSafe class InboundChannelGroup { private val channe...
0
Kotlin
9
44
ce055b10d422177e01a9d32ad07a789599e8d7c1
1,080
Kites
MIT License
app/src/main/java/com/mendelin/tmdb_koin/data/room/ConverterIntList.kt
MadalinBalint
478,475,208
false
null
package com.mendelin.tmdb_koin.data.room import androidx.room.TypeConverter class ConverterIntList { @TypeConverter fun fromList(list: List<Int>): String = list.joinToString(",") @TypeConverter fun toList(s: String): List<Int> { return s.split(",") .map { it.toInt() } } }
0
Kotlin
0
0
adc3020a33eebc2ee438434b1ab303d6a4980007
315
TmdbAppKoin
Apache License 2.0
android/src/main/java/com/reactnativeezvizview/EzvizviewPackage.kt
zgatrying
353,553,357
false
null
package com.reactnativeezvizview import com.facebook.react.ReactPackage import com.facebook.react.bridge.NativeModule import com.facebook.react.bridge.ReactApplicationContext import com.facebook.react.uimanager.ViewManager class EzvizviewPackage : ReactPackage { override fun createNativeModules(reactContext: Rea...
1
null
5
11
83dda6c73b7cf0fcfc9d79191cf6cb76cb439444
604
react-native-ezvizview
MIT License
src/test/kotlin/uk/gov/justice/digital/hmpps/hmppsaccreditedprogrammesapi/unit/domain/repository/CourseRepositoryTest.kt
ministryofjustice
615,402,552
false
{"Kotlin": 790722, "Shell": 3835, "Dockerfile": 1421}
package uk.gov.justice.digital.hmpps.hmppsaccreditedprogrammesapi.unit.domain.repository import io.kotest.matchers.collections.shouldContainExactly import io.kotest.matchers.collections.shouldHaveSize import io.kotest.matchers.nulls.shouldNotBeNull import io.kotest.matchers.shouldBe import jakarta.persistence.EntityMa...
2
Kotlin
0
0
c2cd05bac80ed865893237b9a1e52568583ea428
4,121
hmpps-accredited-programmes-api
MIT License
GUI/src/main/kotlin/ui/components/diffScreen/SaveCollageButton.kt
amosproj
705,002,381
false
{"Kotlin": 224737, "Python": 2014, "Shell": 588}
package ui.components.diffScreen import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.padding import androidx.compose.material3.Button import androidx.compose.material3.Text import androidx.compose.runtime.Composable import androidx.compose.runtime.MutableState import android...
63
Kotlin
2
6
7cce92e9f56ee60abcae9bab83f3fcdc6ff18d67
1,664
amos2023ws03-gui-frame-diff
MIT License
budget-binder-multiplatform-app/src/commonMain/kotlin/de/hsfl/budgetBinder/presentation/flow/DarkModeFlow.kt
choffmann
473,508,779
false
null
package de.hsfl.budgetBinder.presentation.flow import de.hsfl.budgetBinder.domain.usecase.IsDarkThemeUseCase import kotlinx.coroutines.flow.MutableSharedFlow import kotlinx.coroutines.flow.SharedFlow class DarkModeFlow(private val isDarkThemeUseCase: IsDarkThemeUseCase) { val mutableDarkThemeState = MutableShared...
0
Kotlin
0
4
8ea4138ab5bb141da097f3e4241f8c42deccd7af
513
budget-binder
MIT License
src/main/kotlin/collection/builder/collectors/StringCollector.kt
Chousik
764,806,161
false
{"Kotlin": 48844}
package org.chousik.collection.builder.collectors import org.chousik.collection.validators.IValidator import exeption.InvalidDataError import exeption.ScriptExecutionError import org.chousik.handlers.RunHandler import java.util.* import kotlin.system.exitProcess class StringCollector : ICollector<String, String?> { ...
0
Kotlin
0
0
7b7a59bcf366ec149a4f0ab0e4da7bd9e5c4dfde
1,893
Lab5_Kotlin
MIT License
simplified-profiles-api/src/main/java/org/nypl/simplified/profiles/api/ProfileDeletionEvent.kt
ThePalaceProject
367,082,997
false
{"Kotlin": 3269830, "JavaScript": 853788, "Java": 374503, "CSS": 65407, "HTML": 49220, "Shell": 5017, "Ruby": 178}
package org.nypl.simplified.profiles.api /** * The type of events raised on profile deletion. */ sealed class ProfileDeletionEvent : ProfileEvent() { /** * The ID of the profile. */ abstract val profileID: ProfileID /** * A profile was deleted successfully. */ data class ProfileDeletionSucce...
1
Kotlin
4
8
330252fd69ba690962b87d5554f71f19a85df362
626
android-core
Apache License 2.0
app/src/main/java/cc/sovellus/vrcaa/ui/components/misc/Description.kt
Nyabsi
745,635,224
false
null
package cc.sovellus.vrcaa.ui.components.misc import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.padding import androidx.compose.foundation.rememberScrollState import androidx.compose.foundation.verticalScroll import androidx...
1
null
3
38
b45497cd686df2583ceb7b9cdefdd7ac2ee39b14
1,087
VRCAA
Apache License 2.0
src/jsMain/kotlin/com/palantir/blueprintjs/select/listItemsProps.module_@blueprintjs_select.kt
HoffiMuc
322,618,517
false
null
@file:Suppress("INTERFACE_WITH_SUPERCLASS", "OVERRIDING_FINAL_MEMBER", "RETURN_TYPE_MISMATCH_ON_OVERRIDE", "CONFLICTING_OVERLOADS") @file:JsModule("@blueprintjs/select") @file:JsNonModule package com.palantir.blueprintjs.select import React.ChangeEventHandler import org.w3c.dom.HTMLElement import org.w3c.dom.HTMLInput...
0
Kotlin
0
0
45d2438e7b26e4124df70bf7ed08774ee3fb0cb8
3,087
web-app-react-kotlin-js-gradle
Apache License 2.0
plugin-dotnet-agent/src/test/kotlin/jetbrains/buildServer/dotnet/test/dotnet/discovery/MSBuildRegistryAgentPropertiesProviderTest.kt
JetBrains
49,584,664
false
{"Kotlin": 2711266, "C#": 319161, "Java": 95520, "Dockerfile": 831, "CSS": 123}
package jetbrains.buildServer.dotnet.test.dotnet.discovery import io.mockk.MockKAnnotations import io.mockk.clearAllMocks import io.mockk.every import io.mockk.impl.annotations.MockK import jetbrains.buildServer.agent.* import jetbrains.buildServer.agent.ToolInstanceType import jetbrains.buildServer.dotnet.discovery...
3
Kotlin
25
94
cdecbf2c7721a40265a031453262614809d5378d
3,779
teamcity-dotnet-plugin
Apache License 2.0
app/src/main/java/com/thoughtworks/carapp/device/di/CarManagerModule.kt
CarOS-Android
619,481,490
false
null
package com.thoughtworks.carapp.device.di import android.car.Car import android.car.hardware.property.CarPropertyManager import android.content.Context import dagger.Module import dagger.Provides import dagger.hilt.InstallIn import dagger.hilt.android.qualifiers.ApplicationContext import dagger.hilt.components.Singlet...
0
Kotlin
0
0
c5698e7121fa4e1c11170e2feab1319f4a83af76
674
CarApp-team2
Apache License 2.0
src/test/kotlin/com/gdetotut/kundo/TestUndoCommand.kt
ValeriusGC
114,362,510
false
null
package com.gdetotut.kundo import org.junit.Assert.assertEquals import org.junit.Test import kotlin.test.assertFalse import kotlin.test.assertNotNull class TestUndoCommand { /** * Tests method [UndoCommand.id] */ @Test fun id() { assertEquals(-1, UndoCommand("", null).id()) } ...
0
Kotlin
1
1
bfb318932f17ec01822ac5c2cfd9864943aaf6e6
1,659
kundo
Apache License 2.0
app/src/main/java/com/naver/maps/map/compose/demo/MapSampleActivity.kt
fornewid
492,204,824
false
{"Kotlin": 431651, "Shell": 2924}
/* * Copyright 2022 SOUP * * 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 applicable law or agreed to in wri...
8
Kotlin
6
99
2fcbd5f18a69d58717c84e8a7367f702531f4e24
1,000
naver-map-compose
Apache License 2.0
publishing-sdk/src/main/java/com/ably/tracking/publisher/DefaultPublisher.kt
ably
313,556,297
false
null
package com.ably.tracking.publisher import android.Manifest.permission.ACCESS_COARSE_LOCATION import android.Manifest.permission.ACCESS_FINE_LOCATION import android.annotation.SuppressLint import androidx.annotation.RequiresPermission import com.ably.tracking.LocationUpdate import com.ably.tracking.Resolution import c...
83
null
2
4
e30dc588ca13e8b4ceed2af79d833350ba423667
3,909
ably-asset-tracking-android
Apache License 2.0
compiler/testData/diagnostics/tests/when/DuplicatedLabels.kt
JakeWharton
99,388,807
false
null
package test const val four = 4 fun first(arg: Int) = when (arg) { 1 -> 2 2 -> 3 <!DUPLICATE_LABEL_IN_WHEN!>1<!> -> 4 4 -> 5 <!DUPLICATE_LABEL_IN_WHEN!>1<!> -> 6 <!DUPLICATE_LABEL_IN_WHEN!>2<!> -> 7 // Error should be here: see KT-11971 four -> 8 else -> 0 } fun second(arg: String...
181
null
5748
83
4383335168338df9bbbe2a63cb213a68d0858104
1,166
kotlin
Apache License 2.0
compose/ui/ui/src/commonMain/kotlin/androidx/compose/ui/focus/FocusTargetNode.kt
androidx
256,589,781
false
null
/* * Copyright 2023 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...
30
null
950
5,321
98b929d303f34d569e9fd8a529f022d398d1024b
12,225
androidx
Apache License 2.0
foundation/src/jvmMain/kotlin/mintlin/io/encryption/Cryptic.jvm.kt
Bruce0203
733,929,372
false
{"Kotlin": 566170}
package mintlin.io.encryption import java.security.Key import java.security.KeyPairGenerator import java.security.MessageDigest import java.util.* import javax.crypto.Cipher import javax.crypto.spec.IvParameterSpec import javax.crypto.spec.SecretKeySpec internal actual val rsaCipherFactory = object : RSACipherFactory...
1
Kotlin
0
8
32e28dd71b7357b74cb68fa9aa262b82da0441e2
2,529
Mintlin
The Unlicense
app/src/main/java/com/battlelancer/seriesguide/jobs/movies/MovieJob.kt
UweTrottmann
1,990,682
false
null
// Copyright 2023 <NAME> // SPDX-License-Identifier: Apache-2.0 package com.battlelancer.seriesguide.jobs.movies import android.content.Context import com.battlelancer.seriesguide.jobs.BaseFlagJob import com.battlelancer.seriesguide.jobs.SgJobInfo import com.battlelancer.seriesguide.jobs.episodes.JobAction import com...
56
null
403
1,966
c7bc6445ecc58b841c1887a56146dc2d2f817007
1,909
SeriesGuide
Apache License 2.0
source-code/final-project/app/src/main/java/com/droidcon/authenticate/di/FirebaseModule.kt
droidcon-academy
611,559,196
false
{"Kotlin": 149803}
package com.droidcon.authenticate.di import com.droidcon.authenticate.data.AuthService import com.droidcon.authenticate.data.FirebaseAuthService import com.droidcon.authenticate.data.FirestoreUserDataSource import com.droidcon.authenticate.data.UserDataSource import com.google.firebase.auth.FirebaseAuth import com.go...
0
Kotlin
0
0
e630897e04481a54a9e73f2c7f013674c89ab0ff
1,198
android-firebase-authentication-study-materials
Apache License 2.0
translator/core/src/main/kotlin/RawString.kt
curinator
207,578,255
true
{"Kotlin": 3731711, "TypeScript": 587148, "HTML": 201325, "CSS": 60702, "JavaScript": 4142, "Shell": 2610}
/* * Copyright (C) 2017 VSCT * * 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 in wri...
0
null
0
1
dd37ec79ba29b4f6aacff704ca3400b41df47efb
1,011
tock
Apache License 2.0
app/src/main/java/com/kcteam/features/stockAddCurrentStock/adapter/AdapterShowStockList.kt
DebashisINT
558,234,039
false
null
package com.breezesalesoriplast.features.stockAddCurrentStock.adapter import android.content.Context import androidx.recyclerview.widget.RecyclerView import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import com.breezesalesoriplast.R import com.breezesalesoriplast.app.Pref import...
0
null
1
1
e6114824d91cba2e70623631db7cbd9b4d9690ed
3,636
NationalPlastic
Apache License 2.0
tabler-icons/src/commonMain/kotlin/compose/icons/tablericons/DotsDiagonal.kt
DevSrSouza
311,134,756
false
null
package com.woowla.compose.icon.collections.tabler.tabler.outline import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap im...
17
null
25
571
a660e5f3033e3222e3553f5a6e888b7054aed8cd
2,685
compose-icons
MIT License
app/src/main/java/com/tz/basicsmvp/mvp/base/BaseUIController.kt
yuchen931201
198,957,829
false
null
package com.tz.basicsmvp.mvp.base import android.app.Activity import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.ImageView import android.widget.TextView import androidx.appcompat.widget.Toolbar import com.tz.basicsmvp.R import com.tz.basicsmvp.mvp.base.Base...
1
null
1
3
e9fc3b4d8a1b75e7213297c54fea036afebbe917
5,044
BasicsMVP
Apache License 2.0
app/src/main/kotlin/net/primal/android/profile/details/ProfileDetailsContract.kt
PrimalHQ
639,579,258
false
null
package net.primal.android.profile.details import androidx.paging.PagingData import kotlinx.coroutines.flow.Flow import net.primal.android.core.compose.feed.model.FeedPostUi import net.primal.android.core.compose.feed.model.ZappingState import net.primal.android.core.compose.profile.model.ProfileDetailsUi import net.p...
56
null
6
98
438072af7f67762c71c5dceffa0c83dedd8e2e85
3,593
primal-android-app
MIT License
src/main/kotlin/com/turbomates/hoplite/PrefixRemovalPreprocessor.kt
turbomates
501,400,869
false
null
package com.turbomates.hoplite import com.sksamuel.hoplite.ArrayNode import com.sksamuel.hoplite.ConfigResult import com.sksamuel.hoplite.MapNode import com.sksamuel.hoplite.Node import com.sksamuel.hoplite.PrimitiveNode import com.sksamuel.hoplite.fp.valid import com.sksamuel.hoplite.preprocessor.Preprocessor class ...
0
Kotlin
0
0
7e3c83de41ac1682d026687d22789733e176b716
1,058
hoplite
MIT License
src/test/kotlin/org/jetbrains/plugins/feature/suggester/suggesters/unwrap/UnwrapSuggesterKotlinTest.kt
JetBrains
10,263,181
false
null
package org.jetbrains.plugins.feature.suggester.suggesters.unwrap import junit.framework.TestCase import org.jetbrains.plugins.feature.suggester.NoSuggestion import org.junit.Test import org.junit.runner.RunWith import org.junit.runners.JUnit4 @RunWith(JUnit4::class) class UnwrapSuggesterKotlinTest : UnwrapSuggesterT...
11
null
5
7
266934e25a8c277e3706ed5bcd00f6bf891b2426
3,498
intellij-feature-suggester
Apache License 2.0
plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/gettingstarted/QGettingStartedEditorProvider.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.amazonq.gettingstarted import com.intellij.openapi.fileEditor.FileEditor import com.intellij.openapi.fileEditor.FileEditorPolicy import com.intellij.openap...
519
null
220
757
a81caf64a293b59056cef3f8a6f1c977be46937e
1,050
aws-toolkit-jetbrains
Apache License 2.0
form/src/main/java/cl/emilym/form/field/base/LabeledFormField.kt
emilymclean
621,143,157
false
{"Kotlin": 138002}
package cl.emilym.form.field.base /** * An interface representing a form field with a label for its value. * * @param T The type of value this form field can hold. */ interface LabeledFormField<T> { /** * Gets the label corresponding to the provided value. * * @param value The value for which t...
0
Kotlin
0
0
6d6eb8cbcd2ea2a6362a64d3ac61a8692a01fa32
484
JetpackForms
MIT License
app/src/main/java/com/guru/composecookbook/ui/learnwidgets/Layouts.kt
Gurupreet
293,227,683
false
null
package com.guru.composecookbook.ui.learnwidgets import androidx.compose.foundation.background import androidx.compose.foundation.layout.* import androidx.compose.foundation.rememberScrollState import androidx.compose.foundation.verticalScroll import androidx.compose.material.Button import androidx.compose.material.Ca...
13
null
8
6,057
1b82b0b990648b2ece5c890fef622d9bdb00e4d8
9,406
ComposeCookBook
MIT License
memento/src/test/java/com/alexstyl/specialdates/addevent/AddEventsPresenterTest.kt
alexstyl
66,690,455
false
null
package com.alexstyl.specialdates.addevent import com.alexstyl.specialdates.JavaStrings import com.alexstyl.specialdates.Optional import com.alexstyl.specialdates.TestDateLabelCreator import com.alexstyl.specialdates.addevent.operations.InsertContact import com.alexstyl.specialdates.addevent.operations.InsertEvent imp...
0
Java
49
211
d224f0af53ee3d4ecadad5df0a2731e2c9031a23
10,862
Memento-Calendar
MIT License
timelineviewv2/src/main/java/ro/dobrescuandrei/timelineviewv2/model/WeeklyDateTimeInterval.kt
andob
238,633,385
false
null
package ro.dobrescuandrei.timelineviewv2.model import android.annotation.SuppressLint import android.content.res.Resources import ro.dobrescuandrei.timelineviewv2.TimelineView import ro.dobrescuandrei.timelineviewv2.recycler.adapter.WeeklyDateIntervalAdapter import ro.dobrescuandrei.timelineviewv2.utils.atBeginningOfD...
1
null
2
11
7c13d7bace18ada32b463f8b57025cd39a155dae
2,497
timelineview-v2
Apache License 2.0
uranium-swing/src/main/kotlin/pl/karol202/uranium/swing/control/button/SwingCheckBox.kt
karol-202
269,320,433
false
null
package pl.karol202.uranium.swing.control.button import pl.karol202.uranium.core.common.AutoKey import pl.karol202.uranium.core.common.UProps import pl.karol202.uranium.core.element.component import pl.karol202.uranium.core.render.URenderScope import pl.karol202.uranium.swing.* import pl.karol202.uranium.swing.Builder...
0
Kotlin
0
0
d15bbc869a1dac11285d9329a49caee32345f63b
3,156
uranium-swing
MIT License
platform/platform-impl/src/com/intellij/configurationStore/storageUtil.kt
androidports
115,100,208
false
null
// Copyright 2000-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 file. package com.intellij.configurationStore import com.intellij.notification.NotificationType import com.intellij.notification.NotificationsManager import com.intellij.openapi.applic...
6
null
1
4
6e4f7135c5843ed93c15a9782f29e4400df8b068
6,899
intellij-community
Apache License 2.0
RetenoSdkCore/src/main/java/com/reteno/core/domain/controller/IamControllerImpl.kt
reteno-com
545,381,514
false
{"Kotlin": 1350127, "Java": 159488, "HTML": 17807, "Shell": 379}
package com.reteno.core.domain.controller import androidx.annotation.VisibleForTesting import com.reteno.core.data.local.mappers.toDomain import com.reteno.core.data.remote.model.iam.displayrules.frequency.FrequencyRuleValidator import com.reteno.core.data.remote.model.iam.displayrules.schedule.ScheduleRuleValidator i...
1
Kotlin
2
1
f52fc040ae94f5830e874f0f41e36fba35e3a276
15,072
reteno-mobile-android-sdk
MIT License