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
z2-kotlin-plugin/src/hu/simplexion/z2/kotlin/services/ir/impl/NewInstance.kt
spxbhuhb
788,711,010
false
{"Kotlin": 884891, "CSS": 20110, "Java": 16501, "HTML": 1364, "JavaScript": 975}
/* * Copyright © 2022-2023, Simplexion, Hungary and contributors. Use of this source code is governed by the Apache 2.0 license. */ package hu.simplexion.z2.kotlin.services.ir.impl import hu.simplexion.z2.kotlin.services.Strings import hu.simplexion.z2.kotlin.services.ir.ServicesPluginContext import org.jetbrains.ko...
0
Kotlin
0
0
58338f60edcfcc839ad4d08cbb6d70cdea48554d
1,739
z2
Apache License 2.0
app/src/main/java/com/example/bmta/repository/NoteRepository.kt
returnT0
598,981,598
false
null
package com.example.bmta.repository import com.example.bmta.model.Note import com.example.bmta.room.NoteDao class NoteRepository(private val noteDao: NoteDao) { suspend fun getNote() = noteDao.getNote() suspend fun insertNote(note : Note) = noteDao.insertNote(note) suspend fun deleteNote(ids : ArrayList<N...
0
Kotlin
0
0
6300886c6ba9914bc0e683009d0865093ee2529a
456
BMTA-project
MIT License
app/src/main/java/com/menesdurak/appterncasestudy/data/local/FavoriteTrackRepository.kt
menesdurak
637,885,226
false
null
package com.menesdurak.appterncasestudy.data.local import com.menesdurak.appterncasestudy.data.model.FavoriteTrack import javax.inject.Inject class FavoriteTrackRepository @Inject constructor(private val favoriteTrackDao: FavoriteTrackDao) { suspend fun addFavoriteTrack(favoriteTrack: FavoriteTrack) { fa...
0
Kotlin
0
0
8fde125e5f2d6bd0bff3254d12cbda83b46d44f8
627
Deezer
Apache License 2.0
app/src/main/java/com/douglasalipio/luasforecasts/data/AppDataSource.kt
douglasalipio
191,641,687
false
null
package com.douglasalipio.luasforecasts.data import com.douglasalipio.luasforecasts.data.ForecastsResponse import io.reactivex.Flowable interface AppDataSource { fun requestData(stop : String): Flowable<ForecastsResponse> }
0
Kotlin
0
0
90629f544d2e06f524a6a9cc8bbc6edfff0ee745
231
retail-in-motion-code-challenge
MIT License
app/src/main/java/com/myth/ticketmasterapp/presentation/di/RepositoryModule.kt
MichaelGift
634,539,469
false
{"Kotlin": 93804}
package com.myth.ticketmasterapp.presentation.di import com.myth.ticketmasterapp.data.EventRepositoryImplementation import com.myth.ticketmasterapp.data.datasource.EventCacheDataSource import com.myth.ticketmasterapp.data.datasource.EventLocalDataSource import com.myth.ticketmasterapp.data.datasource.EventRemoteDataSo...
0
Kotlin
0
0
16c9662777df64db41da7ed554e0312832363c68
1,075
Event-Finder-App
MIT License
Android/app/src/main/java/xyz/janficko/apphub/model/Job.kt
JanFicko
174,291,580
false
{"CSS": 266964, "Kotlin": 72364, "JavaScript": 50798, "TypeScript": 36319, "HTML": 28239, "Swift": 13023, "Ruby": 340}
package xyz.janficko.apphub.model import com.google.gson.annotations.Expose import com.google.gson.annotations.SerializedName import java.util.* data class Job( @SerializedName("_id") @Expose val _id : String, @SerializedName("title") @Expose val title : String, @SerializedName("changeLog"...
33
CSS
0
0
9218b848098b1d7e0e7f839f31ec738bc0454ca9
653
app-hub
MIT License
areminder/src/main/java/ir/awlrhm/areminder/view/reminder/AddReminderFragment.kt
Ali-Kazemii
361,654,444
false
null
package ir.awlrhm.areminder.view.reminder import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.core.content.ContextCompat import androidx.core.view.isVisible import androidx.lifecycle.Lifecycle import com.google.android.material.chip.Chip im...
0
null
0
1
7191e0269308aee9cc7ed754c3d676ea8fe075f9
16,463
AReminder
MIT License
FluentUI.Demo/src/main/java/com/microsoft/fluentuidemo/V2DesignTokensActivity.kt
microsoft
257,221,908
false
null
package com.microsoft.fluentuidemo import android.os.Bundle import androidx.compose.foundation.ExperimentalFoundationApi import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row imp...
43
null
97
574
851a4989a4fce5db50a1818aa4121538c1fb4ad9
20,181
fluentui-android
MIT License
jvm/src/main/kotlin/org/ionproject/core/userApi/auth/Exceptions.kt
i-on-project
242,369,946
false
null
package org.ionproject.core.userApi.auth import org.ionproject.core.userApi.auth.model.AuthError import org.ionproject.core.userApi.auth.model.AuthErrorResponse import java.lang.RuntimeException abstract class AuthErrorException(message: String, val error: AuthError) : RuntimeException(message) { fun getErrorResp...
14
Kotlin
0
3
339407d56e66ec164ecdc4172347272d97cc26b3
2,868
core
Apache License 2.0
modules/alertdialog/src/androidMain/kotlin/splitties/alertdialog/AlertDialog.kt
LouisCAD
65,558,914
false
{"Kotlin": 682428, "Java": 1368, "Shell": 358}
/* * Copyright 2019 <NAME>. Use of this source code is governed by the Apache 2.0 license. */ package splitties.alertdialog.appcompat import android.app.Activity import android.content.Context import android.content.DialogInterface import android.graphics.drawable.Drawable import android.widget.Button import androi...
53
Kotlin
160
2,476
1ed56ba2779f31dbf909509c955fce7b9768e208
8,589
Splitties
Apache License 2.0
src/test/kotlin/nl/jhvh/sudoku/grid/model/GridIT.kt
JanHendrikVanHeusden
305,492,630
false
null
package nl.jhvh.sudoku.grid.model /* Copyright 2020 <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 applica...
2
Kotlin
0
1
345516e1f5d35df9f5d362e633ea5d22f44dc08a
6,065
Sudoku
Apache License 2.0
compose/ui-layout-common/src/commonMain/kotlin/com/bselzer/ktx/compose/ui/layout/lazyrow/LazyRowProjector.kt
Woody230
388,189,330
false
{"Kotlin": 3122765}
package com.bselzer.ktx.compose.ui.layout.lazyrow import androidx.compose.foundation.lazy.LazyItemScope import androidx.compose.foundation.lazy.LazyListState import androidx.compose.foundation.lazy.LazyRow import androidx.compose.foundation.lazy.itemsIndexed import androidx.compose.runtime.Composable import androidx.c...
2
Kotlin
0
7
5ad55d66bbb58a12bf3a8b436ea1ea4d8e9737bc
2,569
KotlinExtensions
Apache License 2.0
app/src/main/java/com/kproject/chatgpt/commom/error/ApiResponseError.kt
jsericksk
581,359,749
false
{"Kotlin": 150740}
package com.kproject.chatgpt.commom.error sealed class ApiResponseError : Exception() { object InvalidApiKey : ApiResponseError() object MaxTokensReached : ApiResponseError() object OverloadedServer : ApiResponseError() object UnknownError : ApiResponseError() }
0
Kotlin
0
1
15561532c4836be546bd45d6b735b420c427e4ee
279
ChatGPT
MIT License
kex-runner/src/main/kotlin/org/vorpal/research/kex/asm/analysis/symbolic/SymbolicTraverser.kt
vorpal-research
204,454,367
false
{"Kotlin": 2271251, "Java": 82857, "Python": 1696}
package org.vorpal.research.kex.asm.analysis.symbolic import kotlinx.collections.immutable.PersistentList import kotlinx.collections.immutable.PersistentMap import kotlinx.collections.immutable.PersistentSet import kotlinx.collections.immutable.persistentListOf import kotlinx.collections.immutable.persistentMapOf impo...
9
Kotlin
20
28
459dd8cb1c5b1512b5a920260cd0ebe503861b3e
53,949
kex
Apache License 2.0
smali/src/main/kotlin/com/github/netomi/bat/smali/disassemble/LocalVariableCollector.kt
netomi
265,488,804
false
{"Kotlin": 1925501, "Smali": 713862, "ANTLR": 25494, "Shell": 12074, "Java": 2326}
/* * Copyright (c) 2020-2022 Thomas Neidhart. * * 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 applicab...
1
Kotlin
3
10
5f5ec931c47dd34f14bd97230a29413ef1cf219c
4,842
bat
Apache License 2.0
sphinx/screens/dashboard/dashboard/src/main/java/chat/sphinx/dashboard/ui/adapter/ChatListAdapter.kt
stakwork
340,103,148
false
null
package chat.sphinx.dashboard.ui.adapter import android.graphics.Color import android.view.LayoutInflater import android.view.ViewGroup import android.widget.ImageView import androidx.lifecycle.* import androidx.recyclerview.widget.DiffUtil import androidx.recyclerview.widget.LinearLayoutManager import androidx.recycl...
90
null
7
18
a28cbb8174ef7874d156f31e22023b014cba6029
19,828
sphinx-kotlin
MIT License
vtp-pensjon-application/src/main/kotlin/no/nav/pensjon/vtp/testmodell/load/StatsborgerskapTemplate.kt
navikt
254,055,233
false
null
package no.nav.pensjon.vtp.testmodell.load import no.nav.pensjon.vtp.testmodell.kodeverk.Endringstype import no.nav.pensjon.vtp.testmodell.personopplysning.Landkode import java.time.LocalDate data class StatsborgerskapTemplate( val fom: LocalDate?, val tom: LocalDate?, val endringstype: Endringstype?, ...
14
Kotlin
0
2
cd270b5f698c78c1eee978cd24bd788163c06a0c
382
vtp-pensjon
MIT License
VCL/src/main/java/io/velocitycareerlabs/api/entities/VCLOrganizationsSearchDescriptor.kt
velocitycareerlabs
525,006,413
false
null
/** * Created by <NAME> on 24/06/2021. * * Copyright 2022 Velocity Career Labs inc. * SPDX-License-Identifier: Apache-2.0 */ package io.velocitycareerlabs.api.entities import io.velocitycareerlabs.impl.extensions.encode data class VCLOrganizationsSearchDescriptor( val filter: VCLFilter? = null, val page...
0
null
0
2
160e938b2a3a676800e65aabec95c7badffbb4a6
2,860
WalletAndroid
Apache License 2.0
web3lib/src/commonMain/kotlin/com/sonsofcrypto/web3lib/provider/utils/JsonElementExtensions.kt
sonsofcrypto
454,978,132
false
{"Kotlin": 1330889, "Swift": 970782, "Objective-C": 77663, "Jupyter Notebook": 20914, "Go": 20697, "C": 15793, "Java": 12789, "Shell": 4282, "JavaScript": 1718}
package com.sonsofcrypto.web3lib.provider.utils import com.sonsofcrypto.web3lib.provider.model.QuantityHexString import com.sonsofcrypto.web3lib.provider.model.toBigIntQnt import com.sonsofcrypto.web3lib.provider.model.toIntQnt import com.sonsofcrypto.web3lib.provider.model.toULongQnt import com.sonsofcrypto.web3lib.u...
1
Kotlin
2
6
d86df4845a1f60624dffa179ce6507ede3222186
1,279
web3wallet
MIT License
simplified-tests/src/test/java/org/nypl/simplified/tests/mocking/FakeAccountCredentialStorage.kt
ThePalaceProject
367,082,997
false
{"Kotlin": 3269830, "JavaScript": 853788, "Java": 374503, "CSS": 65407, "HTML": 49220, "Shell": 5017, "Ruby": 178}
package org.nypl.simplified.tests.mocking import org.nypl.simplified.accounts.api.AccountAuthenticationCredentials import org.nypl.simplified.accounts.api.AccountAuthenticationCredentialsStoreType import org.nypl.simplified.accounts.api.AccountID class FakeAccountCredentialStorage : AccountAuthenticationCredentialsSt...
1
Kotlin
4
8
330252fd69ba690962b87d5554f71f19a85df362
777
android-core
Apache License 2.0
Corona-Warn-App/src/test/java/de/rki/coronawarnapp/ccl/dccwalletinfo/model/DccWalletInfoParserTest.kt
corona-warn-app
268,027,139
false
null
package de.rki.coronawarnapp.ccl.dccwalletinfo.model import com.fasterxml.jackson.module.kotlin.readValue import de.rki.coronawarnapp.util.serialization.SerializationModule import io.kotest.matchers.shouldBe import org.junit.jupiter.api.Test import testhelpers.BaseTest import testhelpers.extensions.toComparableJsonPre...
6
null
516
2,495
d3833a212bd4c84e38a1fad23b282836d70ab8d5
4,736
cwa-app-android
Apache License 2.0
app/src/main/java/ca/rovbot/flowtracker/repository/LogRepository.kt
spkdroid
377,685,159
false
null
package ca.rovbot.flowtracker.repository import android.arch.persistence.room.Room import android.content.Context import ca.rovbot.flowtracker.model.PeriodLogTable import ca.rovbot.flowtracker.repository.database.LogDatabase class LogRepository(private val applicationContext: Context) { private var database: Log...
0
Kotlin
0
0
294f772e40bf3a036451cce1f3d9eeaacd7c6207
1,115
FlowTracker
Apache License 2.0
src/main/java/no/nav/sbl/service/VeilederService.kt
navikt
149,753,566
false
{"Kotlin": 162825, "Dockerfile": 352, "Shell": 313}
package no.nav.sbl.service import no.nav.common.client.nom.NomClient import no.nav.common.client.nom.VeilederNavn import no.nav.common.types.identer.NavIdent import no.nav.sbl.rest.model.DecoratorDomain import org.springframework.cache.annotation.Cacheable open class VeilederService(private val nomClient: NomClient) ...
2
Kotlin
0
0
05f5540079fb94f337ee56cdc0c45787645e6e76
662
modiacontextholder
MIT License
js/js.translator/testData/box/export/reservedModuleNameInExportedFile.kt
JetBrains
3,432,266
false
null
// IGNORE_BACKEND: JS // EXPECTED_REACHABLE_NODES: 1270 // SKIP_MINIFICATION // RUN_PLAIN_BOX_FUNCTION // INFER_MAIN_MODULE // MODULE: if // FILE: lib.kt @JsName("foo") public fun foo(k: String): String = "O$k" // FILE: test.js function box() { return this["if"].foo("K"); }
184
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
280
kotlin
Apache License 2.0
app/src/main/java/com/bengisusahin/gallery/MainActivity.kt
bengisusaahin
867,304,398
false
{"Kotlin": 14638}
package com.bengisusahin.gallery import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.activity.enableEdgeToEdge import androidx.activity.viewModels import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout....
0
Kotlin
0
0
620de0e7ef11b0426e9daadcec96d45d56c260e7
1,231
GeoGallery
Apache License 2.0
src/main/kotlin/me/nobaboy/nobaaddons/config/NobaConfig.kt
nobaboy
867,566,026
false
{"Kotlin": 197524, "Java": 4140}
package me.nobaboy.nobaaddons.config import dev.isxander.yacl3.config.v2.api.SerialEntry import me.nobaboy.nobaaddons.config.configs.* class NobaConfig { @SerialEntry val version: Int = NobaConfigManager.CONFIG_VERSION @SerialEntry val general: GeneralConfig = GeneralConfig() @SerialEntry val uiAndVisuals: UI...
1
Kotlin
1
1
68410c38aa038c637fb0bdd9b6b8669eccf42f62
550
NobaAddons
The Unlicense
config/jacoco/jacocoConfig.kts
TW-Smart-CoE
596,466,446
false
null
apply plugin: 'jacoco' jacoco { toolVersion '0.8.7' } tasks.withType(Test) { jacoco.includeNoLocationClasses = true jacoco.excludes = ['jdk.internal.*'] } def defaultFileFilter = [ // android '**/R.class', '**/R$*.class', '**/BuildConfig.*', '**/Manifest*.*', ...
3
Kotlin
0
3
b7fa39bc5bf04f26e7572cca6d98135c8ffeed4d
1,127
Ark-Android-App-Template
Apache License 2.0
presentation/src/main/java/com/anytypeio/anytype/presentation/objects/LockedStateProvider.kt
anyproto
647,371,233
false
{"Kotlin": 10021359, "Java": 69306, "Shell": 11126, "Makefile": 1276}
package com.anytypeio.anytype.presentation.objects import com.anytypeio.anytype.core_models.Id import com.anytypeio.anytype.presentation.editor.Editor interface LockedStateProvider { fun isLocked(ctx: Id) : Boolean class EditorLockedStateProvider( private val storage: Editor.Storage ) : LockedStat...
34
Kotlin
26
309
ca99b691a7d341931c232c7862ac469092f80657
699
anytype-kotlin
RSA Message-Digest License
play/plugin/src/main/kotlin/com/github/triplet/gradle/play/PlayPublisherExtension.kt
nicolas-raoul
272,236,139
true
{"Kotlin": 439175, "HTML": 390, "Java": 342}
package com.github.triplet.gradle.play import com.android.build.gradle.api.ApkVariantOutput import com.github.triplet.gradle.play.internal.PlayExtensionConfig import com.github.triplet.gradle.play.internal.commitOrDefault import com.github.triplet.gradle.play.internal.promoteTrackOrDefault import com.github.triplet.gr...
0
null
0
0
88485d158b940bed40fa22f8dd9a6ae92b118d53
9,413
gradle-play-publisher
MIT License
idea/src/org/jetbrains/kotlin/idea/joinLines/JoinBlockIntoSingleStatementHandler.kt
JakeWharton
99,388,807
false
null
/* * Copyright 2010-2016 JetBrains s.r.o. * * 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 agre...
0
null
28
83
4383335168338df9bbbe2a63cb213a68d0858104
3,421
kotlin
Apache License 2.0
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/twotone/Quotedownsquare.kt
Tlaster
560,394,734
false
{"Kotlin": 25133302}
package moe.tlaster.icons.vuesax.vuesaxicons.twotone 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 import androidx...
0
Kotlin
0
2
b8a8231e6637c2008f675ae76a3423b82ee53950
4,404
VuesaxIcons
MIT License
android-basics-kotlin-bus-schedule-app/app/src/main/java/com/example/busschedule/FullScheduleFragment.kt
luannguyen252
371,359,679
false
null
package com.example.busschedule import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment import androidx.fragment.app.activityViewModels import androidx.lifecycle.coroutineScope import androidx.navigation.findNavController ...
0
null
0
1
a9b5aef8662a1808042c820c3dfac02e1efd5800
2,257
my-android-journey
MIT License
app/src/main/java/com/bossed/waej/eventbus/EBSelItem.kt
Ltow
710,230,789
false
{"Kotlin": 2304560, "Java": 395495, "HTML": 71364}
package com.bossed.waej.eventbus import com.bossed.waej.javebean.ItemRow data class EBSelItem(val sel: ArrayList<ItemRow>)
0
Kotlin
0
0
8c2e9928f6c47484bec7a5beca32ed4b10200f9c
125
wananexiu
Mulan Permissive Software License, Version 2
src/commonMain/kotlin/io/github/optimumcode/json/schema/internal/factories/object/PropertiesAssertionFactory.kt
OptimumCode
665,024,908
false
null
package io.github.optimumcode.json.schema.internal.factories.`object` import io.github.optimumcode.json.schema.ErrorCollector import io.github.optimumcode.json.schema.internal.AssertionContext import io.github.optimumcode.json.schema.internal.AssertionFactory import io.github.optimumcode.json.schema.internal.JsonSchem...
4
Kotlin
0
1
9bfbddf9b21731dd4aa7f96ca61b9e1ec68df49b
5,079
json-schema-validator
MIT License
library/src/main/java/moe/feng/common/stepperview/VerticalStepperItemView.kt
jvitinger
206,747,613
true
{"Kotlin": 17520}
package moe.feng.common.stepperview import android.animation.LayoutTransition import android.animation.ObjectAnimator import android.animation.ValueAnimator import android.content.Context import android.util.AttributeSet import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import a...
0
Kotlin
0
0
9845f712c4c2522dd717f6189b552260f4910ea3
7,092
MaterialStepperView
MIT License
src/commonMain/kotlin/net/dinkla/raytracer/materials/Transparent.kt
jdinkla
38,753,756
false
{"Kotlin": 467610, "Shell": 457}
package net.dinkla.raytracer.materials import net.dinkla.raytracer.brdf.PerfectSpecular import net.dinkla.raytracer.btdf.PerfectTransmitter import net.dinkla.raytracer.colors.Color import net.dinkla.raytracer.hits.IShade import net.dinkla.raytracer.math.Ray import net.dinkla.raytracer.utilities.equals import net.dinkl...
0
Kotlin
2
5
fdf196ff5370a5e64f27c6e7ea66141a25d17413
2,915
from-the-ground-up-ray-tracer
Apache License 2.0
NLiteAVDemo-Android-Java/call-ui/src/main/java/com/netease/yunxin/nertc/ui/service/CallKitUIBridgeService.kt
netease-kit
292,760,923
false
null
/* * Copyright (c) 2022 NetEase, Inc. All rights reserved. * Use of this source code is governed by a MIT license that can be * found in the LICENSE file. */ package com.netease.yunxin.nertc.ui.service import android.content.Context import android.text.TextUtils import com.netease.nimlib.sdk.ResponseCode import co...
2
null
27
38
9b2593a34179155cf2009124bec0e01944359d2d
12,920
NEVideoCall-1to1
MIT License
feature/topics/src/test/kotlin/uk/govuk/app/topics/TopicsViewModelTest.kt
alphagov
788,896,208
false
{"Kotlin": 222826}
package uk.govuk.app.topics import io.mockk.coEvery import io.mockk.mockk import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.ExperimentalCoroutinesApi import kotlinx.coroutines.flow.first import kotlinx.coroutines.test.UnconfinedTestDispatcher import kotlinx.coroutines.test.resetMain import kotlinx.corout...
2
Kotlin
0
1
b9fff082f9834cd8c8dbc3c605c38c4fb2f67046
1,808
govuk-mobile-android-app
MIT License
src/controller/java/generated/java/matter/controller/cluster/clusters/RvcOperationalStateCluster.kt
project-chip
244,694,174
false
null
/* * * Copyright (c) 2023 Project CHIP 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
5
null
57
6,671
420e6d424c00aed3ead4015eafd71a1632c5e540
50,228
connectedhomeip
Apache License 2.0
app/src/test/java/com/teobaranga/monica/TestDispatcher.kt
teobaranga
686,113,276
false
{"Kotlin": 269714}
package com.teobaranga.monica import com.teobaranga.monica.util.coroutines.Dispatcher import kotlinx.coroutines.ExperimentalCoroutinesApi import kotlinx.coroutines.test.UnconfinedTestDispatcher @OptIn(ExperimentalCoroutinesApi::class) class TestDispatcher : Dispatcher { override val main = UnconfinedTestDispatche...
1
Kotlin
1
8
b14afe98fc1d5eb67782ad106aeee607ab267c80
375
monica
Apache License 2.0
app/src/main/java/com/example/moviedatabase/allMovies/presentation/AllMoviesScreen.kt
ali-gevari
838,166,478
false
{"Kotlin": 150986}
package com.example.moviedatabase.allMovies.presentation import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.PaddingValues import androidx.compose.foundation.layout.height import androidx.compose.foundation.layout.padding impo...
2
Kotlin
0
0
d485ccf9e6fab0107155921d4b233af31346061a
2,303
MovieDatabase
Apache License 2.0
compiler/testData/codegen/boxInline/smap/resolve/inlineComponent.kt
JetBrains
3,432,266
false
null
// FILE: 1.kt package zzz public class A(val a: Int, val b: Int) operator inline fun A.component1() = a operator inline fun A.component2() = b // FILE: 2.kt import zzz.* fun box(): String { var (p, l) = A(1, 11) return if (p == 1 && l == 11) "OK" else "fail: $p" }
183
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
281
kotlin
Apache License 2.0
ybatis/src/main/kotlin/com/sununiq/handler/RefProcessor.kt
Sitrone
155,659,453
false
{"Text": 1, "Ignore List": 1, "Markdown": 1, "Maven POM": 3, "XML": 3, "Kotlin": 44, "Java": 12, "YAML": 1}
package com.sununiq.handler import com.sununiq.entity.Table import com.sununiq.handler.token.TokenParser import com.sununiq.util.getResourceAsString import org.w3c.dom.Element import org.w3c.dom.Node import java.io.File /** * 处理外部引用文件 */ class RefProcessor : NodeProcessor { override fun process(table: Table, n...
1
null
1
1
e06616a6f541f45ec7f61707667eda6af04d15e1
731
mybatis-enhancer
MIT License
kotlin-plugin/src/main/kotlin/io/github/kyay10/kotlinlambdareturninliner/LambdaReturnInlinerIrGenerationExtension.kt
kyay10
345,163,139
false
null
/* * Copyright (C) 2020 <NAME> * Copyright (C) 2021 <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...
1
null
1
7
ce21199d0ab3d31fa4c67917317ac7ad751848c0
38,400
kotlin-lambda-return-inliner
Apache License 2.0
core/src/main/java/io/github/thanosfisherman/gasket/Framerate.kt
ThanosFisherman
803,474,948
false
{"Kotlin": 79116, "GLSL": 22476, "Shell": 2608, "HTML": 2082}
package io.github.thanosfisherman.game.utils import com.badlogic.gdx.Gdx import com.badlogic.gdx.graphics.Texture import com.badlogic.gdx.graphics.g2d.BitmapFont import com.badlogic.gdx.graphics.g2d.SpriteBatch import com.badlogic.gdx.utils.Disposable import ktx.assets.disposeSafely class FrameRate : Disposable { ...
0
Kotlin
2
1
e7c3809fbaca06f383930966c16f545b06a3076f
1,147
ApollonianGasket
Apache License 2.0
app/src/main/java/com/auth0/android/lock/app/DemoActivity.kt
auth0
27,456,226
false
null
/* * DemoActivity.java * * Copyright (c) 2022 Authok (http://authok.cn) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
5
null
82
145
dc00916d2ff541171897940ee8c8664fadbaa6d8
11,670
Lock.Android
MIT License
api/src/main/kotlin/io/sparkled/api/PlaylistController.kt
sparkled
53,776,686
false
{"Kotlin": 321814, "TypeScript": 141619, "JavaScript": 133004, "CSS": 5012, "HTML": 353}
package io.sparkled.api import io.micronaut.http.HttpResponse import io.micronaut.http.annotation.Body import io.micronaut.http.annotation.Controller import io.micronaut.http.annotation.Delete import io.micronaut.http.annotation.Get import io.micronaut.http.annotation.PathVariable import io.micronaut.http.annotation.P...
20
Kotlin
21
71
d4a0a94d69440914d6e34484a8d5387b37c64718
4,440
sparkled
MIT License
common/src/main/kotlin/com/scurab/kuproxy/processor/KtorProcessor.kt
jbruchanov
359,263,583
false
null
package com.scurab.kuproxy.processor import io.ktor.application.ApplicationCall interface Processor<I, O> { suspend fun process(item: I): O } interface KtorProcessor : Processor<ApplicationCall, Unit> { override suspend fun process(item: ApplicationCall) }
0
Kotlin
0
1
2e10d85e7e318850679be3a21fe4406645f88811
268
kuproxy
Apache License 2.0
app/src/testInternal/java/com/kickstarter/viewmodels/FeatureFlagsViewModelTest.kt
proAhmed
119,650,202
false
null
package com.kickstarter.viewmodels import com.kickstarter.KSRobolectricTestCase import com.kickstarter.libs.preferences.MockStringPreference import com.kickstarter.libs.utils.ConfigFeatureName.SEGMENT_ENABLED import com.kickstarter.mock.MockCurrentConfig import com.kickstarter.mock.MockExperimentsClientType import com...
1
null
1
1
b42ede4faa0dad575bbd78c8fdd65c97519e13fb
3,463
android-oss
Apache License 2.0
subprojects/configuration-cache/src/main/kotlin/org/gradle/configurationcache/ConfigurationCacheState.kt
gradle
302,322
false
null
/* * Copyright 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
2,095
null
3792
13,076
c1b02a85c1d02816ba0c59fd02b656f6187a4472
27,140
gradle
Apache License 2.0
src/main/kotlin/no/nav/amt/person/service/clients/nom/NomClientMock.kt
navikt
618,357,446
false
{"Kotlin": 355598, "PLpgSQL": 635, "Dockerfile": 156}
package no.nav.amt.person.service.clients.nom class NomClientMock : NomClient { override fun hentNavAnsatt(navIdent: String): NomNavAnsatt? { return hentNavAnsatte(listOf(navIdent)).firstOrNull() } override fun hentNavAnsatte(navIdenter: List<String>): List<NomNavAnsatt> { return navIdenter.map { navIdent -> ...
0
Kotlin
0
0
907852ab4bb400de69fc37531ad9e38d18e558a9
480
amt-person-service
MIT License
src/test/kotlin/com/workos/test/TestBase.kt
workos
419,780,611
false
null
package com.workos.test import com.github.tomakehurst.wiremock.client.WireMock.* // ktlint-disable no-wildcard-imports import com.github.tomakehurst.wiremock.core.WireMockConfiguration.wireMockConfig import com.github.tomakehurst.wiremock.junit.WireMockRule import com.github.tomakehurst.wiremock.matching.StringValuePa...
2
Kotlin
8
9
8be0571a48e643cea2f0c783ddb4c5fa79be1ed5
3,015
workos-kotlin
MIT License
src/main/kotlin/no/fintlabs/testrunner/config/WebClientConfig.kt
FINTLabs
871,181,627
false
{"Kotlin": 17639, "Dockerfile": 282}
package no.fintlabs.testrunner.config import org.springframework.beans.factory.annotation.Value import org.springframework.context.annotation.Bean import org.springframework.context.annotation.Configuration import org.springframework.web.reactive.function.client.WebClient @Configuration class WebClientConfig { @...
0
Kotlin
0
0
b97d02f1f69d1f17700a8016a769a95788981e7d
886
fint-test-runner-kotlin
MIT License
kotlin/89.Gray Code(格雷编码).kt
learningtheory
141,790,045
false
{"Python": 4025652, "C++": 1999023, "Java": 1995266, "JavaScript": 1990554, "C": 1979022, "Ruby": 1970980, "Scala": 1925110, "Kotlin": 1917691, "Go": 1898079, "Swift": 1827809, "HTML": 124958, "Shell": 7944}
/** <p>The gray code is a binary numeral system where two successive values differ in only one bit.</p> <p>Given a non-negative integer <em>n</em> representing the total number of bits in the code, print the sequence of gray code. A gray code sequence must begin with 0.</p> <p><strong>Example 1:</strong></p> <pre> <...
0
Python
1
3
6731e128be0fd3c0bdfe885c1a409ac54b929597
2,601
leetcode
MIT License
lab9/src/main/kotlin/cs/put/pmds/lab9/jaccardCoef.kt
Azbesciak
153,350,976
false
null
package cs.put.pmds.lab9 import com.carrotsearch.hppc.IntArrayList import com.carrotsearch.hppc.IntHashSet import com.carrotsearch.hppc.IntObjectHashMap import kotlin.streams.toList fun countAndWriteCoefficient( total: Long, users: List<User>, output: String, userNeighbours: (User) -> List<User>, ...
0
Kotlin
0
0
f1d3cf4d51ad6588e39583f7b958c92b619799f8
2,438
BigDataLabs
MIT License
Compose/BasicswithCompose/Reply/src/androidTest/java/com/github/reply/ReplyAppStateRestorationTest.kt
pherasymchuk
723,622,473
false
{"Kotlin": 987660}
package com.github.reply import androidx.activity.ComponentActivity import androidx.compose.material3.windowsizeclass.WindowWidthSizeClass import androidx.compose.ui.test.assertAny import androidx.compose.ui.test.assertIsDisplayed import androidx.compose.ui.test.hasAnyDescendant import androidx.compose.ui.test.hasText...
0
Kotlin
0
1
96dcaf55b7b5c5ecb2bb79bb767022dcdefcba32
3,833
GoogleCodelabsApps
MIT License
shared/src/commonMain/kotlin/com/prof18/moneyflow/domain/repository/MoneyRepository.kt
snijsure
349,243,320
true
{"Kotlin": 203386, "Swift": 57221, "Ruby": 2496}
package com.prof18.moneyflow.domain.repository import com.prof18.moneyflow.domain.entities.BalanceRecap import com.prof18.moneyflow.domain.entities.Category import com.prof18.moneyflow.domain.entities.MoneyTransaction import kotlinx.coroutines.flow.Flow import com.prof18.moneyflow.presentation.addtransaction.Transacti...
0
null
0
1
65666f4ffa8758feebd37fd72386eba0c2cfb9fb
820
MoneyFlow
Apache License 2.0
library/kotlin/io/envoyproxy/envoymobile/LogLevel.kt
envoyproxy
173,839,917
false
null
package io.envoyproxy.envoymobile /** * Available logging levels for an Envoy instance. Note some levels may be compiled out. */ enum class LogLevel(internal val level: String, val levelInt: Int) { TRACE("trace", 0), DEBUG("debug", 1), INFO("info", 2), WARN("warn", 3), ERROR("error", 4), CRITICAL("critic...
215
Java
71
467
96911b46d0ef47857f74de252de65d8cbf3d106f
349
envoy-mobile
Apache License 2.0
atomicfu/src/commonMain/kotlin/kotlinx/atomicfu/Trace.common.kt
Kotlin
99,576,820
false
{"Kotlin": 310810, "Shell": 762, "Java": 487}
/* * Copyright 2016-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. */ @file:Suppress("INVISIBLE_REFERENCE", "INVISIBLE_MEMBER") package kotlinx.atomicfu import kotlin.internal.InlineOnly /** * Creates `Trace` object for tracing atomic operations. * * To use a trace create ...
57
Kotlin
58
917
b94c6bd887ec48a5b172cacc0a1dac3f76c4fdbb
2,952
kotlinx-atomicfu
Apache License 2.0
prova01/Ex04_Jogador.kt
KaioPortella
765,941,497
false
{"Kotlin": 10171}
//Nome: <NAME> <NAME> e <NAME> class Jogador { //Esta função receberCartas recebe uma lista de cartas como entrada e imprime as cartas recebidas. fun receberCartas(cartas: List<Carta>) { println("Recebidas as cartas: ${cartas.joinToString(", ")}") // Análise das combinações if (isFlush...
0
Kotlin
0
0
c8f5972b5125c2f4d4b61d44e81a93f8eff7f993
1,365
programacao-mobile
MIT License
src/main/kotlin/icu/windea/pls/model/expression/complex/errors/ParadoxExpressionError.kt
DragonKnightOfBreeze
328,104,626
false
{"Kotlin": 3329764, "Java": 165296, "Lex": 43309, "HTML": 24521, "Shell": 2741}
package icu.windea.pls.model.expression.complex.errors import com.intellij.codeInspection.* import com.intellij.openapi.util.* import com.intellij.psi.* interface ParadoxExpressionError { val rangeInExpression: TextRange val description: String val highlightType: ProblemHighlightType } fun ProblemsHolder...
17
Kotlin
4
33
597996b8102f840abb13c2fed692f2b1ca08bc6b
501
Paradox-Language-Support
MIT License
app/src/main/java/com/kcteam/features/logout/presentation/api/LogoutRepositoryProvider.kt
DebashisINT
558,234,039
false
null
package com.rajgarhiafsm.features.logout.presentation.api /** * Created by Pratishruti on 23-11-2017. */ object LogoutRepositoryProvider { fun provideLogoutRepository(): LogoutRepository { return LogoutRepository(LogoutApi.create()) } }
0
null
1
1
e6114824d91cba2e70623631db7cbd9b4d9690ed
255
NationalPlastic
Apache License 2.0
Chapter01/Activity01.01/app/src/main/java/com/example/jetpackcompose/myapplication/MainActivity.kt
PacktPublishing
810,886,298
false
{"Kotlin": 915804}
package com.example.jetpackcompose.myapplication import android.os.Bundle import android.widget.Toast import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.foundation.background import androidx.compose.foundation.layout.Arrangement import androidx.compose.founda...
0
Kotlin
1
0
c5c51b7a25c10347a673a93384ad717870221285
4,717
How-to-Build-Android-Apps-with-Kotlin-Third-Edition
MIT License
kotlin/src/main/kotlin/com/spoonacular/MenuItemsApi.kt
ddsky
189,444,765
false
null
/** * spoonacular API * The spoonacular Nutrition, Recipe, and Food API allows you to access over 380,000 recipes, thousands of ingredients, 800,000 food products, and 100,000 menu items. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as ...
6
PHP
34
18
63f955ceb2c356fefdd48ec634deb3c3e16a6ae7
15,126
spoonacular-api-clients
MIT License
org.librarysimplified.audiobook.tests/src/test/java/org/librarysimplified/audiobook/tests/PlayerManifestTest.kt
ThePalaceProject
379,956,255
false
{"Kotlin": 716069, "Java": 2392, "Shell": 968}
package org.librarysimplified.audiobook.tests import org.joda.time.Duration import org.junit.jupiter.api.Assertions import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Assertions.assertFalse import org.junit.jupiter.api.Assertions.assertNotNull import org.junit.jupiter.api.Assertions.asse...
1
Kotlin
1
1
e876ad5481897b14c37c0969997dcce0807fac33
31,833
android-audiobook
Apache License 2.0
lib/src/main/kotlin/be/zvz/klover/format/OpusAudioDataFormat.kt
organization
673,130,266
false
null
package be.zvz.klover.format import be.zvz.klover.format.transcoder.AudioChunkDecoder import be.zvz.klover.format.transcoder.AudioChunkEncoder import be.zvz.klover.format.transcoder.OpusChunkDecoder import be.zvz.klover.format.transcoder.OpusChunkEncoder import be.zvz.klover.player.AudioConfiguration /** * An [Audio...
1
Kotlin
0
2
06e801808933ff8c627543d579c4be00061eb305
1,951
Klover
Apache License 2.0
multiplatform/src/iosSimulatorArm64Main/kotlin/com/vsevolodganin/clicktrack/Main.kt
vganin
293,315,190
false
{"Kotlin": 611912, "C++": 4113, "Ruby": 2402, "Swift": 526, "CMake": 281}
package com.vsevolodganin.clicktrack import androidx.compose.runtime.remember import androidx.compose.ui.window.ComposeUIViewController import com.arkivanov.decompose.DefaultComponentContext import com.arkivanov.essenty.lifecycle.LifecycleRegistry import com.vsevolodganin.clicktrack.di.component.ApplicationComponent i...
7
Kotlin
1
22
e0de3d92ee1921eda2053064fd4ae082b831caa9
984
click-track
Apache License 2.0
idea/testData/findUsages/libraryUsages/kotlinLibrary/LibraryNestedClassMemberFunctionUsages.0.kt
JakeWharton
99,388,807
false
null
// PSI_ELEMENT: org.jetbrains.kotlin.psi.KtNamedFunction // OPTIONS: usages // FIND_BY_REF // WITH_FILE_NAME package usages import library.* fun test() { val f = A.T::bar A.T().<caret>bar(1) } // FIR_COMPARISON
1
null
30
83
4383335168338df9bbbe2a63cb213a68d0858104
222
kotlin
Apache License 2.0
src/test/kotlin/com/leetcode/P14Test.kt
antop-dev
229,558,170
false
{"Maven POM": 1, "Text": 4, "Ignore List": 1, "Markdown": 1, "Java": 233, "Kotlin": 832, "Python": 10}
package com.leetcode import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Test class P14Test { val p = P14() @Test fun `example 1`() { assertEquals("fl", p.longestCommonPrefix(arrayOf("flower", "flow", "flight"))) } @Test fun `example 2`() { asser...
6
Kotlin
0
0
c445a4d34cdd4b400d4171121cef11f1c6dc9aad
825
algorithm
MIT License
core/src/main/kotlin/com/malinskiy/marathon/execution/strategy/impl/flakiness/ProbabilityBasedFlakinessStrategy.kt
lukaville
251,365,845
true
{"Kotlin": 530071, "JavaScript": 41573, "SCSS": 27631, "HTML": 2925, "Shell": 2350, "CSS": 1662}
package com.malinskiy.marathon.execution.strategy.impl.flakiness import com.malinskiy.marathon.analytics.external.MetricsProvider import com.malinskiy.marathon.execution.TestShard import com.malinskiy.marathon.execution.strategy.FlakinessStrategy import com.malinskiy.marathon.test.Test import java.time.Instant /** *...
1
Kotlin
6
1
e07de46f42f42e7b0a335bc1f81682deaa769288
2,538
marathon
Apache License 2.0
client/standalone/src/main/kotlin/ai/flowstorm/client/standalone/io/NoSpeechDevice.kt
flowstorm
327,536,541
false
null
package ai.flowstorm.client.standalone.io import ai.flowstorm.client.audio.SpeechDevice object NoSpeechDevice : SpeechDevice { override val isSpeechDetected = true override val speechAngle = 0 override fun close() {} override fun toString(): String = this::class.simpleName!! }
1
null
5
9
53dae04fa113963d632ea4d44e184885271b0322
297
core
Apache License 2.0
core/uwb/uwb/src/main/java/androidx/core/uwb/UwbClientSessionScope.kt
androidx
256,589,781
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...
30
null
974
5,321
98b929d303f34d569e9fd8a529f022d398d1024b
2,942
androidx
Apache License 2.0
amethyst.core/common/src/main/kotlin/org/hexworks/amethyst/api/base/BaseFacet.kt
MaTriXy
196,859,874
true
{"Kotlin": 43839}
package org.hexworks.amethyst.api.base import org.hexworks.amethyst.api.Attribute import org.hexworks.amethyst.api.Context import org.hexworks.amethyst.api.system.Facet import org.hexworks.cobalt.datatypes.factory.IdentifierFactory import kotlin.reflect.KClass abstract class BaseFacet<C : Context>(vararg mandatoryAtt...
0
Kotlin
0
0
64b28c8f3ae8d92da49ad2c65416aacfc43c1568
521
amethyst
Apache License 2.0
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/quicksight/CfnTemplateWaterfallChartOptionsPropertyDsl.kt
cloudshiftinc
667,063,030
false
null
@file:Suppress( "RedundantVisibilityModifier", "RedundantUnitReturnType", "RemoveRedundantQualifierName", "unused", "UnusedImport", "ClassName", "REDUNDANT_PROJECTION", "DEPRECATION" ) package cloudshift.awscdk.dsl.services.quicksight import cloudshift.awscdk.common.CdkDslMarker import...
4
null
0
3
c59c6292cf08f0fc3280d61e7f8cff813a608a62
1,428
awscdk-dsl-kotlin
Apache License 2.0
app/src/main/java/com/eatssu/android/ui/review/delete/DeleteViewModel.kt
EAT-SSU
601,871,281
false
null
package com.eatssu.android.ui.review.etc import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.eatssu.android.base.BaseResponse import com.eatssu.android.data.dto.request.ModifyReviewRequest import com.eatssu...
25
null
0
9
ebd47bfe9e971a017f27a2436f56978cf7d9ec28
2,252
Android
MIT License
shared/src/iosTest/kotlin/siarhei/luskanau/kmm/shared/GreetingTest.kt
siarhei-luskanau
346,266,438
false
null
package siarhei.luskanau.kmm.shared import kotlin.test.Test import kotlin.test.assertEquals import platform.Foundation.NSBundle class GreetingTest { @Test fun testExample() { val bundle = NSBundle.mainBundle() assertEquals( expected = "{\n" + " \"name\": \"kotlinx...
0
null
0
1
fdb82c5d39266154bc6b36da799165b3fcf69807
515
kmm-sample
MIT License
app/src/main/kotlin/dev/sanmer/pi/ui/screens/sessions/SessionsScreen.kt
SanmerApps
720,492,308
false
{"Kotlin": 258662, "Java": 15047, "AIDL": 3726}
package dev.sanmer.pi.ui.screens.sessions import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.padding import androidx.compose.foundation.lazy.LazyColumn import androidx.compose.foundation.lazy.items import androidx.compose.foundation.lazy.rememberLazyListState import androidx.compos...
0
Kotlin
3
168
889c42f761aa41efc171a6b9cf87a7d019bae7ff
3,166
PI
MIT License
app/src/main/java/pl/vemu/zsme/ui/components/SimpleSmallAppBar.kt
xVemu
231,614,467
false
null
package pl.vemu.zsme.ui.components import androidx.annotation.StringRes import androidx.compose.material.icons.Icons import androidx.compose.material.icons.rounded.ArrowBack import androidx.compose.material3.Icon import androidx.compose.material3.IconButton import androidx.compose.material3.SmallTopAppBar import andro...
0
Kotlin
0
3
42b8d5e8bfcd071939b7eb9caeacc1bc6030356b
1,227
zsme
MIT License
compose-kit/src/main/java/com/nikoarap/compose_kit/composables/Expandables.kt
nikoarap
700,991,912
false
{"Kotlin": 342382}
package com.nikoarap.compose_kit.composables import androidx.compose.animation.core.animateFloatAsState import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.IntrinsicSize import androidx.compose.foundation.layout.Row import androidx.com...
0
Kotlin
0
2
eb4e487f4c6681aa4b8f3e477754bc1d1921af05
6,925
compose-kit
Apache License 2.0
shared/src/commonMain/kotlin/com/codewithfk/eventhub/scorecard/presentation/new_match_screen/NewMatchScreenState.kt
furqanullah717
729,414,725
false
{"Kotlin": 68839, "Swift": 802}
package com.codewithfk.eventhub.scorecard.presentation.new_match_screen sealed class NewMatchScreenState { object Idle : NewMatchScreenState() object Loading : NewMatchScreenState() object Success : NewMatchScreenState() data class Error(val message: String) : NewMatchScreenState() }
0
Kotlin
0
0
1d56215457510b809c3d652cba80f20e897e4e1e
301
kmm-offline-cricket-scorecard
MIT License
app/src/main/java/com/example/linkedup/HomeActivity.kt
HaqqiLucky
871,143,159
false
{"Kotlin": 87171}
package com.example.linkedup import android.os.Bundle import android.util.Log import androidx.activity.enableEdgeToEdge import androidx.appcompat.app.AppCompatActivity import androidx.core.view.ViewCompat import androidx.core.view.WindowInsetsCompat import androidx.lifecycle.Observer import androidx.lifecycle.ViewMode...
0
Kotlin
0
0
fad4a9dd41ee4978fed0529a6466b77b897f8a48
3,672
LinkedUp
MIT License
java/kotlin/src/main/kotlin/cosmos/authz/v1beta1/MsgExecKt.kt
dimitar-petrov
575,395,653
false
null
//Generated by the protocol buffer compiler. DO NOT EDIT! // source: cosmos/authz/v1beta1/tx.proto package cosmos.authz.v1beta1; @kotlin.jvm.JvmSynthetic inline fun msgExec(block: cosmos.authz.v1beta1.MsgExecKt.Dsl.() -> Unit): cosmos.authz.v1beta1.Tx.MsgExec = cosmos.authz.v1beta1.MsgExecKt.Dsl._create(cosmos.auth...
0
Kotlin
0
0
ddd9cd1abce2d51cf273be478c2b614960ace761
6,495
terra.proto
Apache License 2.0
app/src/main/java/com/bossed/waej/ui/OrderSettleActivity.kt
Ltow
710,230,789
false
{"Kotlin": 2304560, "Java": 395495, "HTML": 71364}
package com.bossed.waej.ui import android.os.Bundle import android.text.TextUtils import android.view.LayoutInflater import android.view.View import android.widget.TextView import androidx.recyclerview.widget.LinearLayoutManager import com.blankj.utilcode.util.GsonUtils import com.blankj.utilcode.util.LogUtils import ...
0
Kotlin
0
0
8c2e9928f6c47484bec7a5beca32ed4b10200f9c
7,799
wananexiu
Mulan Permissive Software License, Version 2
libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/targets/native/internal/GetCommonizerTargetOfSourceSet.kt
JetBrains
3,432,266
false
null
/* * Copyright 2010-2020 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.gradle.targets.native.internal import org.gradle.api.Project import org.jetbrain...
157
null
5209
42,102
65f712ab2d54e34c5b02ffa3ca8c659740277133
1,452
kotlin
Apache License 2.0
app/src/main/java/io/aethibo/fireshare/usecases/DeletePost.kt
primepixel
321,027,979
false
null
/* * Created by <NAME> on 2.2.2021 * Copyright (c) 2021 . All rights reserved. */ package io.aethibo.fireshare.usecases import io.aethibo.fireshare.data.remote.main.MainRepository import io.aethibo.fireshare.domain.Post import io.aethibo.fireshare.framework.utils.Resource interface DeletePostUseCase { suspend...
0
Kotlin
1
3
75d672d86095d23dfd90283800116e73a336927c
566
Fireshare
Apache License 2.0
compiler/fir/analysis-tests/testData/resolve/companionObjectCall.kt
JetBrains
3,432,266
false
null
// UNEXPECTED BEHAVIOUR // Issue: KT-37056 class A() // TESTCASE NUMBER: 1 fun case1(a: A?) { val test = a?.let { Case1.invoke(it) //resolved to private constructor <!INAPPLICABLE_CANDIDATE!>Case1<!>(it) //resolved to private constructor <!INAPPLICABLE_CANDIDATE!>Case1<!>(A()) //resolve...
181
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
1,091
kotlin
Apache License 2.0
save-cosv/src/main/kotlin/com/saveourtool/save/backend/service/IBackendService.kt
saveourtool
300,279,336
false
{"Kotlin": 3303010, "SCSS": 43215, "JavaScript": 5532, "HTML": 5481, "Shell": 2770, "Smarty": 2608, "Dockerfile": 1366}
@file:Suppress("FILE_NAME_INCORRECT") package com.saveourtool.save.backend.service import com.saveourtool.save.entities.Organization import com.saveourtool.save.entities.User import com.saveourtool.save.entities.cosv.LnkVulnerabilityMetadataTag import com.saveourtool.save.info.UserPermissions import com.saveourtool.s...
195
Kotlin
2
36
b516684f26005464e2da1f664e747228ca85d0d3
2,263
save-cloud
MIT License
crabzilla-core/src/test/kotlin/io/github/crabzilla/core/command/CommandSessionTest.kt
crabzilla
91,769,036
false
null
package io.github.crabzilla.core.command import io.github.crabzilla.core.command.CommandException.UnknownCommandException import io.github.crabzilla.core.test.TestSpecification import io.github.crabzilla.example1.customer.Customer import io.github.crabzilla.example1.customer.CustomerCommand.UnknownCommand import io.gi...
1
Kotlin
8
62
09cb11ffb7cc9ecb328cf47f15d79587137b1895
5,332
crabzilla
Apache License 2.0
app/src/main/java/dev/patrickgold/florisboard/settings/SettingsMainActivity.kt
gokmendeniz
273,973,202
true
{"Kotlin": 194978, "HTML": 25896}
package dev.patrickgold.florisboard.settings import android.content.Intent import android.content.SharedPreferences import android.net.Uri import android.os.Bundle import android.view.Menu import android.view.MenuItem import android.view.View import android.widget.ScrollView import androidx.appcompat.app.AppCompatActi...
0
null
0
0
4e697932983c44bb0c183328852a2cfa2af03461
7,225
florisboard
Apache License 2.0
app/src/main/java/com/babylon/wallet/android/presentation/ui/composables/assets/PoolUnitsTab.kt
radixdlt
513,047,280
false
null
package com.babylon.wallet.android.presentation.ui.composables.assets import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.fillMaxWi...
9
null
6
9
36c670dd32d181e462e9962d476cb8a370fbe4fe
7,585
babylon-wallet-android
Apache License 2.0
src/main/kotlin/com/sourcegraph/cody/config/CodyPersistentAccountsHost.kt
sourcegraph
702,947,607
false
null
package com.sourcegraph.cody.config import com.intellij.openapi.project.Project import com.sourcegraph.cody.telemetry.TelemetryV2 class CodyPersistentAccountsHost(private val project: Project) : CodyAccountsHost { override fun addAccount( server: SourcegraphServerPath, login: String, displayName: ...
291
null
19
62
6219e45cd89922ca0abf431f9a0dd1505dbc7058
685
jetbrains
Apache License 2.0
src/main/kotlin/com/sourcegraph/cody/config/CodyPersistentAccountsHost.kt
sourcegraph
702,947,607
false
null
package com.sourcegraph.cody.config import com.intellij.openapi.project.Project import com.sourcegraph.cody.telemetry.TelemetryV2 class CodyPersistentAccountsHost(private val project: Project) : CodyAccountsHost { override fun addAccount( server: SourcegraphServerPath, login: String, displayName: ...
291
null
19
62
6219e45cd89922ca0abf431f9a0dd1505dbc7058
685
jetbrains
Apache License 2.0
app/src/main/java/de/dertyp7214/rboardthememanager/preferences/Repos.kt
Ruslan-Yapparov-86RUS
430,297,331
true
{"Kotlin": 288153}
package de.dertyp7214.rboardthememanager.preferences import android.app.Activity.RESULT_OK import android.content.Intent import android.view.Menu import android.view.MenuInflater import android.view.MenuItem import android.view.View import androidx.activity.result.ActivityResultLauncher import androidx.activity.result...
0
null
0
0
beda76c0e052831a54959d0d6db553824baa2eed
5,796
RboardThemeManagerV3
MIT License
src/main/kotlin/com/refinedmods/refinedstorage/util/WorldUtils.kt
thinkslynk
290,596,653
true
{"Kotlin": 695976, "Shell": 456}
package com.refinedmods.refinedstorage.util import com.mojang.authlib.GameProfile import com.refinedmods.refinedstorage.render.Styles import net.minecraft.entity.player.PlayerEntity import net.minecraft.server.network.ServerPlayerEntity import net.minecraft.server.network.ServerPlayerInteractionManager import net.mine...
1
Kotlin
0
2
c92afa51af0e5e08caded00882f91171652a89e3
2,787
refinedstorage
MIT License
src/main/kotlin/dev/syoritohatsuki/yacg/integration/jade/GeneratorComponentProvider.kt
syorito-hatsuki
589,090,428
false
{"Kotlin": 38722}
package dev.syoritohatsuki.yacg.integration.jade import dev.syoritohatsuki.yacg.YetAnotherCobblestoneGenerator.MOD_ID import dev.syoritohatsuki.yacg.common.block.entity.GeneratorBlockEntity import dev.syoritohatsuki.yacg.common.item.UpgradeItem import dev.syoritohatsuki.yacg.registry.ItemsRegistry import net.minecraft...
2
Kotlin
4
2
4b86f78a01e6b12237ef7b818575468c4297dfe9
2,145
yet-another-cobble-gen
MIT License
subprojects/samples-tests/src/test/kotlin/org/gradle/kotlin/dsl/samples/samples.kt
jnizet
146,316,824
true
{"Kotlin": 1080014, "Java": 5870, "Shell": 549}
package org.gradle.kotlin.dsl.samples import org.gradle.kotlin.dsl.fixtures.loadPropertiesFrom import org.gradle.kotlin.dsl.fixtures.mergePropertiesInto import org.gradle.kotlin.dsl.fixtures.rootProjectDir import org.junit.Assume import java.io.File internal val samplesRootDir = File(rootProjectDir, "samples") i...
0
Kotlin
0
1
75ad0e760f9c6fe2d3f0728f60837a0b22184566
1,114
kotlin-dsl
Apache License 2.0
compose/foundation/foundation/integration-tests/foundation-demos/src/main/java/androidx/compose/foundation/demos/text2/ReceiveContentDemos.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...
29
null
937
5,321
98b929d303f34d569e9fd8a529f022d398d1024b
16,574
androidx
Apache License 2.0
app/src/main/java/com/guoyi/listeninglove/ui/download/ui/TaskItemAdapter.kt
GuoyiZhang
242,757,044
false
null
package com.cat.music.ui.download.ui import android.content.Context import androidx.recyclerview.widget.RecyclerView import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.Button import android.widget.ProgressBar import android.widget.TextView import com.cat.mu...
4
null
503
5
6d9442bad15910fe6d813bdf556fe1562d950947
7,571
077-Android-ListeningLove
Apache License 2.0
src/main/java/com/anyascii/build/Emojis.kt
zhilangtaosha
322,543,717
true
{"JSON": 4, "Shell": 6, "Maven POM": 2, "YAML": 3, "Text": 11, "Ignore List": 1, "Git Attributes": 1, "Batchfile": 2, "Markdown": 3, "Go": 4, "Go Module": 1, "INI": 2, "Java": 4, "Perl": 99, "X PixMap": 159, "Raku": 19, "Microsoft Visual Studio Solution": 1, "XML": 2, "C#": 3, "Kotlin": 22, "PHP": 547, "JavaScript": 54...
package com.anyascii.build import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper import java.io.File private val EMOJI_BLACKLIST = "©®‼⁉™Ⓜ㊗㊙🈁🈂🈚🈯🈲🈳🈴🈵🈶🈷🈸🈹🈺🉐🉑".codePointsArray().asList() fun emojis() = jacksonObjectMapper() .readTree(File("input/discord-emojis.json")) .flatten() ...
0
null
0
0
d5ea332081cefe3868602959982a427e74e487b9
564
anyascii
ISC License
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/quicksight/DashboardVersionDefinitionPropertyDsl.kt
F43nd1r
643,016,506
false
null
package com.faendir.awscdkkt.generated.services.quicksight import com.faendir.awscdkkt.AwsCdkDsl import javax.`annotation`.Generated import kotlin.Unit import software.amazon.awscdk.services.quicksight.CfnDashboard @Generated public fun buildDashboardVersionDefinitionProperty(initializer: @AwsCdkDsl CfnDashboard....
1
Kotlin
0
0
e08d201715c6bd4914fdc443682badc2ccc74bea
519
aws-cdk-kt
Apache License 2.0