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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
helper/src/main/java/archtree/helper/binding/CommonAdapter.kt | TrendingTechnology | 146,884,571 | true | {"Kotlin": 56289} | package archtree.helper.binding
import android.content.res.Resources
import android.databinding.BindingAdapter
import android.os.Build
import android.support.v4.content.ContextCompat
import android.support.v4.content.res.ResourcesCompat
import android.text.Html
import android.view.View
import android.widget.ImageView
... | 0 | Kotlin | 0 | 0 | 9a1c6263148978676ab3d1a5b93aeef6ae4ff7f0 | 2,171 | archtree | Apache License 2.0 |
jujubasvg/src/test/kotlin/com/gabrielbmoro/jujubasvg/core/commander/JujubaCommanderTest.kt | gabrielbmoro | 799,596,261 | false | {"Kotlin": 534789, "HTML": 547} | package com.gabrielbmoro.jujubasvg.core.commander
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.test.advanceUntilIdle
import kotlinx.coroutines.test.runTest
import kotlin.test.Test
import kotlin.test.assertEquals
@OptIn(ExperimentalCoroutinesApi::class)
class JujubaCommanderTest {
... | 3 | Kotlin | 0 | 2 | 6563bfedf758d68020e87d1165c8b91d68bc39ca | 2,311 | jujubaSVG | MIT License |
app/src/main/java/com/artemchep/literaryclock/logic/live/AppDependencyLiveData.kt | AChep | 160,681,782 | false | {"Kotlin": 130814} | package com.artemchep.literaryclock.logic.live
import androidx.lifecycle.LiveData
import com.artemchep.literaryclock.BuildConfig
import com.artemchep.literaryclock.models.DependencyItem
/**
* @author <NAME>
*/
class AppDependencyLiveData : LiveData<List<DependencyItem>>() {
init {
value = BuildConfig.D... | 4 | Kotlin | 0 | 8 | 0a067570b49474a049960d892a72749ca3cb903c | 429 | literaryclock | Apache License 2.0 |
extension/assert/src/main/kotlin/IntermediateEventRepresentationListAssert.kt | holixon | 314,334,294 | false | {"Kotlin": 116237, "Java": 24219} | package io.holixon.axon.testing.assert
import org.assertj.core.api.AbstractListAssert
import org.axonframework.serialization.Serializer
import org.axonframework.serialization.upcasting.event.IntermediateEventRepresentation
class IntermediateEventRepresentationListAssert(
actual: List<IntermediateEventRepresentation... | 13 | Kotlin | 0 | 5 | 8e622b2a9af26648be882954a6c382d75e1422da | 1,269 | axon-testing | Apache License 2.0 |
client/client-hapi/src/commonMain/kotlin/de/jlnstrk/transit/api/hapi/model/HapiPolylineDescription.kt | jlnstrk | 229,599,180 | false | {"Kotlin": 729374} | package de.jlnstrk.transit.api.hapi.model
import de.jlnstrk.transit.api.hafas.HapiXsd
@HapiXsd("1.39")
public typealias HapiPolylineDescription = HapiPolyline | 0 | Kotlin | 0 | 0 | 9f700364f78ebc70b015876c34a37b36377f0d9c | 160 | transit | Apache License 2.0 |
kondor-core/src/main/kotlin/com/ubertob/kondor/json/JsonAdjunction.kt | s4nchez | 344,814,409 | true | {"Kotlin": 59308, "Shell": 526} | package com.ubertob.kondor.json
import JsonLexer
import com.ubertob.kondor.outcome.*
data class JsonError(val path: NodePath, val reason: String) : OutcomeError {
override val msg = "error on <${path.getPath()}> $reason"
override fun toString(): String = msg
}
typealias JsonOutcome<T> = Outcome<JsonError,... | 0 | null | 0 | 0 | cb84e8603953d1b70bc78c7ca094012a1614d7b1 | 1,998 | kondor-json | Apache License 2.0 |
app/src/main/java/com/github/app/ui/home/UserItem.kt | andyhaha | 870,067,838 | false | {"Kotlin": 83479} | package com.github.app.ui.home
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.size
import androidx.compose.foundation.shape.CircleShape
import androidx.compose.material3.HorizontalDivider
import androidx.compose.material3.Li... | 0 | Kotlin | 0 | 0 | 9e6a4dc56c1c840e23dad704c0326787f940f694 | 1,326 | GitHubApp | Apache License 1.1 |
build-logic/conventions/src/main/kotlin/com/squareup/anvil/conventions/utils/project.kt | square | 271,357,426 | false | {"Kotlin": 1440554, "Shell": 712} | package com.squareup.anvil.conventions.utils
import com.rickbusarow.kgx.isPartOfRootBuild
import com.rickbusarow.kgx.javaExtension
import com.rickbusarow.kgx.parents
import org.gradle.accessors.dm.LibrariesForLibs
import org.gradle.api.Project
import org.gradle.api.internal.project.ProjectInternal
import org.gradle.ap... | 38 | Kotlin | 72 | 1,210 | 2a0bfe5ffbfaa11a9dc45a27b7b3f3b884e1427c | 1,770 | anvil | Apache License 2.0 |
remote-config/src/test/kotlin/com/rakuten/tech/mobile/remoteconfig/api/PublicKeyFetcherSpec.kt | rakutentech | 183,537,422 | false | null | package com.rakuten.tech.mobile.remoteconfig.api
import androidx.test.core.app.ApplicationProvider
import com.nhaarman.mockitokotlin2.argForWhich
import com.nhaarman.mockitokotlin2.eq
import com.rakuten.tech.mobile.sdkutils.RasSdkHeaders
import junit.framework.TestCase
import okhttp3.*
import org.amshove.kluent.*
impo... | 0 | Kotlin | 9 | 5 | 63e10f2e1e5139f962d4a52ab94236856266c7ee | 4,863 | android-remote-config | MIT License |
app/src/main/java/com/androidpoet/cleanarchitecture/presentation/root/BottomNavItem.kt | AndroidPoet | 515,106,144 | false | {"Kotlin": 104539} | package com.androidpoet.cleanarchitecture.presentation.root
import androidx.annotation.StringRes
import com.androidpoet.cleanarchitecture.R
sealed class Screen(val route: String, val image: Int, @StringRes val resourceId: Int) {
object NowPlaying : Screen("Now Playing", R.drawable.ic_baseline_now_playing_24, R.s... | 0 | Kotlin | 0 | 1 | 1d7cde8debbd0f24c990febfa0a20d14b586e7d4 | 635 | Clean-Architecture | Apache License 2.0 |
src/main/kotlin/com/joocy/helloworld/HelloWorldConfiguration.kt | d3z | 52,111,566 | false | null | package com.joocy.helloworld
import com.fasterxml.jackson.annotation.JsonProperty
import io.dropwizard.Configuration
class HelloWorldConfiguration(@JsonProperty val template: String = "", @JsonProperty val defaultName: String = "") : Configuration() {
} | 0 | Kotlin | 0 | 0 | 65e5cb8dc2f94b2c5a9d260dd7e0eb234f8f6ec6 | 255 | kotlin_dropwizard_helloworld | Apache License 2.0 |
src/main/kotlin/com/aerospike/skyhook/listener/map/SstoreCommandListener.kt | aerospike-community | 349,306,040 | false | {"Kotlin": 252788, "CSS": 4448, "JavaScript": 3795, "TypeScript": 1278, "Shell": 868, "Dockerfile": 452, "MDX": 213} | package com.aerospike.skyhook.listener.map
import com.aerospike.client.Key
import com.aerospike.client.Record
import com.aerospike.client.Value
import com.aerospike.client.cdt.MapOperation
import com.aerospike.client.cdt.MapPolicy
import com.aerospike.client.listener.RecordArrayListener
import com.aerospike.skyhook.co... | 13 | Kotlin | 7 | 26 | f0b057797c42756bf14998cf7b0e4625ce33e691 | 2,196 | skyhook | Apache License 2.0 |
Mesh_network app/test-app/src/main/java/com/meshnetwork/meshnetworks/testapp/screens/SendFileScreen.kt | arif6371 | 862,438,759 | false | {"Kotlin": 492389, "TypeScript": 157688, "HTML": 33644, "Java": 18350, "JavaScript": 6573, "Objective-C": 2285, "Ruby": 2277, "Objective-C++": 745} | package com.meshnetwork.meshnetworks.testapp.screens
import android.net.Uri
import androidx.activity.compose.rememberLauncherForActivityResult
import androidx.activity.result.contract.ActivityResultContracts
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.items
import android... | 0 | Kotlin | 0 | 0 | 67810a07661786d72a5f74a2305a16cdd4c96c4a | 2,844 | Technova_Mayday-sos-app | MIT License |
src/test/kotlin/com/github/gabrielshanahan/phpkt/statements/constructs/branching/IfElseTest.kt | gabrielshanahan | 226,652,392 | false | null | package com.github.gabrielshanahan.phpkt.statements.constructs.branching
import com.github.gabrielshanahan.phpkt.expressions.assignables.`$`
import com.github.gabrielshanahan.phpkt.expressions.assignments.`=`
import com.github.gabrielshanahan.phpkt.invoke
import com.github.gabrielshanahan.phpkt.statements.CompoundStat... | 0 | Kotlin | 0 | 0 | 132f9ef6a517646f1ea1272af8a3066c4c147785 | 3,123 | PhpKt | MIT License |
app/src/main/java/com/pocads/MainActivity.kt | alexanderdeoliveira | 632,520,628 | false | null | package com.pocads
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.recyclerview.widget.GridLayoutManager
import androidx.recyclerview.widget.RecyclerView
import com.n_ads.util.ProductAdsTypeEnum
import com.pocads.databinding.ActivityMainBinding
class MainActivitySecond: AppCom... | 0 | Kotlin | 0 | 0 | e50dac139d2b98e62ec1a0aaaeb9805a18bb60eb | 5,760 | POC-Ads | Apache License 2.0 |
server/lib/base/src/main/kotlin/dev/reprator/base/action/JwtTokenService.kt | TheReprator | 781,077,991 | false | {"Kotlin": 399028, "Swift": 5325, "HTML": 357, "JavaScript": 92} | package dev.reprator.base.action
import com.auth0.jwt.interfaces.JWTVerifier
import io.ktor.server.auth.jwt.*
interface JwtTokenService {
companion object {
const val JWT_USER_ID = "userId"
const val SECOND_1 = 1_000L
private const val MINUTE_1_MILLISECONDS = 60 * SECOND_1
const v... | 1 | Kotlin | 0 | 0 | 1468ecc36c791f643973d0fadae9f6154d726b84 | 830 | ExpenseManagment | Apache License 2.0 |
src/main/kotlin/io/vlang/lang/VlangFileType.kt | vlang | 754,996,747 | false | {"Kotlin": 1646396, "V": 250415, "Java": 68641, "Lex": 20424, "HTML": 6275} | package io.vlang.lang
import com.intellij.openapi.fileTypes.LanguageFileType
import com.intellij.openapi.vfs.VirtualFile
import io.vlang.ide.ui.VIcons
object VlangFileType : LanguageFileType(VlangLanguage) {
override fun getName() = "V"
override fun getDescription() = "V file"
override fun getDefaultExten... | 5 | Kotlin | 5 | 33 | a0d2cbfa63b995d93aaca3c80676f0c2f9bef117 | 458 | intellij-v | MIT License |
app/src/main/kotlin/com/lalosoft/myshopping/home/HomeView.kt | gonzalonm | 93,402,704 | false | null | package com.lalosoft.myshopping.home
import com.lalosoft.myshopping.BaseView
import com.lalosoft.myshopping.domain.Item
interface HomeView : BaseView {
fun render(list: List<Item>)
fun renderEmpty()
fun renderError()
fun restartApp()
} | 0 | Kotlin | 0 | 0 | 66b558c08af7a77d9c8f9f49bdecdd08d5109d88 | 253 | sample-my-shopping | Apache License 2.0 |
fontawesome/src/de/msrd0/fontawesome/icons/FA_CHEVRON_DOWN.kt | msrd0 | 363,665,023 | false | null | /* @generated
*
* This file is part of the FontAwesome Kotlin library.
* https://github.com/msrd0/fontawesome-kt
*
* This library is not affiliated with FontAwesome.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may... | 0 | Kotlin | 0 | 0 | e757d073562077a753280bf412eebfc4a9121b33 | 1,486 | fontawesome-kt | Apache License 2.0 |
fontawesome/src/de/msrd0/fontawesome/icons/FA_CHEVRON_DOWN.kt | msrd0 | 363,665,023 | false | null | /* @generated
*
* This file is part of the FontAwesome Kotlin library.
* https://github.com/msrd0/fontawesome-kt
*
* This library is not affiliated with FontAwesome.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may... | 0 | Kotlin | 0 | 0 | e757d073562077a753280bf412eebfc4a9121b33 | 1,486 | fontawesome-kt | Apache License 2.0 |
src/test/kotlin/com/stefan_grafberger/streamdq/checks/row/RowValueCompleteTest.kt | stefan-grafberger | 515,256,686 | false | null | package com.stefan_grafberger.streamdq.checks.row
import com.stefan_grafberger.streamdq.TestUtils
import com.stefan_grafberger.streamdq.VerificationSuite
import com.stefan_grafberger.streamdq.data.TestDataUtils
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.TestInstance
@TestInstance(TestInstance.Life... | 3 | Kotlin | 0 | 4 | 0fafda659a0d1cdbe1791826eb71d34c671b83db | 1,646 | StreamDQ | Apache License 2.0 |
oldAndroidProjects/More Projects/PraticeProjects/AndReadyCode/basic-android-kotlin-compose-training-bus-schedule-app-starter/app/src/main/java/com/example/busschedule/data/BusScheduleDao.kt | shivathapaa | 800,628,391 | false | {"Kotlin": 3413631, "Shell": 2341} | package com.example.busschedule.data
import androidx.room.Dao
import androidx.room.Query
import kotlinx.coroutines.flow.Flow
@Dao
interface BusScheduleDao {
// The query now says to select all columns from the items, where the stopName matches the :id argument. Notice the :id uses the colon notation in the query ... | 0 | Kotlin | 0 | 0 | 19185d178bb0ff390c9c2c43adbd9ddefc9a2288 | 988 | Android-Practice-Projects | The Unlicense |
core/common/src/main/java/com/season/winter/common/util/security/RSA2048AlgorithmService.kt | f-lab-edu | 701,993,574 | false | {"Kotlin": 272600} | package com.season.winter.common.util.security
interface RSA2048AlgorithmService {
fun create(alias: String): Boolean
fun encrypt(plainText: String): String
fun decrypt(base64EncryptedCipherText: String): String
} | 0 | Kotlin | 0 | 0 | 19d12aca76e09848579bc1a2c46b96140ddcc759 | 228 | CatchBottle | Apache License 2.0 |
library/echo/src/jvmBenchmarks/kotlin/io/github/alexandrepiveteau/echo/lww/LWWRegister.kt | markdown-party | 341,117,604 | false | {"Kotlin": 603967, "Dockerfile": 723, "JavaScript": 715, "Shell": 646, "HTML": 237, "CSS": 133} | package io.github.alexandrepiveteau.echo.lww
import io.github.alexandrepiveteau.echo.core.causality.EventIdentifier
import io.github.alexandrepiveteau.echo.projections.OneWayProjection
/**
* A [OneWayProjection] which represents a [LWWRegister], which will preserve the last value in the
* operation log.
*
* @para... | 0 | Kotlin | 3 | 54 | 760a0066fa683d1ca0a99d44370e10db5932dc20 | 725 | mono | MIT License |
gateway/src/main/kotlin/org/heeheepresso/gateway/recommendation/RecommendationResultSet.kt | HeeHeePresso | 758,780,391 | false | {"Kotlin": 73624, "Java": 538} | package org.heeheepresso.gateway.recommendation
data class RecommendationResultSet(
val results: List<RecommendationResult>
) {
fun getMenuList(handler: RecommendationHandler): List<RecommendedMenu>? {
return this.results
.firstOrNull { it.handler == handler.name }
?.recommended... | 11 | Kotlin | 0 | 0 | 22aad7048d85d4a5618ec2026d1fd3e9df85dd1d | 334 | Backend | Apache License 2.0 |
feature/detail/src/main/java/com/lelestacia/lelenime/feature/detail/util/ListToString.kt | Kamil-Malik | 628,208,142 | false | null | package com.lelestacia.lelenime.feature.detail.util
class ListToString {
operator fun invoke(list: List<String>): String {
var newList = ""
for (i in list.indices) {
newList +=
if (i == 0) {
list[i]
} else {
", ${li... | 1 | Kotlin | 0 | 7 | 4bb4ff8a3e0c1137fe815ac7ce82babcb13cc5d1 | 387 | lelenime | Apache License 2.0 |
lib/src/test/kotlin/com/lemonappdev/konsist/api/ext/list/KoSourceSetProviderListExtTest.kt | LemonAppDev | 621,181,534 | false | {"Kotlin": 3830717, "Python": 17471} | package com.lemonappdev.konsist.api.ext.list
import com.lemonappdev.konsist.api.provider.KoSourceSetProvider
import io.mockk.every
import io.mockk.mockk
import org.amshove.kluent.shouldBeEqualTo
import org.junit.jupiter.api.Test
class KoSourceSetProviderListExtTest {
@Test
fun `withSourceSet(String) returns d... | 4 | Kotlin | 22 | 840 | 81324e09fe46c9f1095b133713ae0062e742c2e3 | 3,916 | konsist | Apache License 2.0 |
src/main/kotlin/com/sipios/springsearch/SearchOperation.kt | sipios | 205,107,934 | false | {"Kotlin": 87940, "ANTLR": 1962} | package com.sipios.springsearch
enum class SearchOperation {
EQUALS, NOT_EQUALS, GREATER_THAN, LESS_THAN, STARTS_WITH, ENDS_WITH, CONTAINS, DOESNT_START_WITH, DOESNT_END_WITH, DOESNT_CONTAIN, GREATER_THAN_EQUALS, LESS_THAN_EQUALS;
companion object {
val SIMPLE_OPERATION_SET = arrayOf(":", "!", ">", "<... | 15 | Kotlin | 44 | 188 | ccde29a13751e9cc39f8220e7c534f30442aa68e | 1,058 | spring-search | MIT License |
src/main/kotlin/cn/taskeren/hazelnut/feature/bili/model/BiliLiveRoom.kt | Taskeren | 478,102,629 | false | {"Kotlin": 17939} | package cn.taskeren.hazelnut.feature.bili.model
import com.google.gson.annotations.SerializedName
data class BiliLiveRoom(
val roomStatus: Int,
val roundStatus: Int,
val liveStatus: Int,
val url: String,
val title: String,
val cover: String,
val online: Int,
val roomId: Int,
@SerializedName("broadcast_type")... | 0 | Kotlin | 0 | 1 | b5e3c697fcecdd6108917625b22a45c67fbfa2d5 | 607 | Hazelnut | MIT License |
app/src/main/java/com/ethosa/ktc/ui/widgets/TeacherTimetableWidget.kt | Ethosa | 453,099,570 | false | null | package com.ethosa.ktc.ui.widgets
import android.annotation.SuppressLint
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.os.Build
import... | 2 | Kotlin | 1 | 11 | 751503a27a4ca7761fc3cc37879c0dfccc021e5a | 6,300 | KTC | MIT License |
src/main/kotlin/com/williambl/prometheus/common/block/base/BaseTileEntityProviderBlock.kt | williambl | 171,054,820 | false | null | package com.williambl.prometheus.common.block.base
import net.minecraft.block.ITileEntityProvider
import net.minecraft.block.SoundType
import net.minecraft.block.material.Material
import net.minecraft.block.state.IBlockState
import net.minecraft.creativetab.CreativeTabs
import net.minecraft.tileentity.TileEntity
impor... | 0 | Kotlin | 0 | 0 | 32a302a037888658e79709fa57e6a1a5d4842edd | 1,059 | prometheus | MIT License |
src/main/kotlin/org/example/domain/port/PersonRepositoryPort.kt | jackelinenascimento | 840,871,765 | false | {"Kotlin": 7394, "Dockerfile": 281} | package org.example.domain.port
import org.example.domain.model.Person
import java.util.UUID
interface PersonRepositoryPort {
fun save(person: Person): Person
fun findById(id: UUID): Person?
fun findAll(): List<Person>
fun deleteById(id: UUID)
}
| 0 | Kotlin | 0 | 0 | 9f571fcabd485b4c2ce1fa60286debace595a707 | 264 | experimentacoes-kotlin | MIT License |
library-ui/src/main/java/com/pp/library_ui/utils/AppTheme.kt | PPQingZhao | 548,315,946 | false | {"Kotlin": 553508, "Java": 1135} | package com.pp.library_ui.utils
//noinspection SuspiciousImport,SuspiciousImport
import android.R
import android.annotation.SuppressLint
import android.content.res.Resources
import android.graphics.Color
import androidx.lifecycle.MutableLiveData
class AppTheme : Theme {
val windowBackground = MutableLiveData<Int... | 0 | Kotlin | 0 | 5 | 904d9a980811d502f88479cb450c3a6e8d027f09 | 2,202 | Eyepetizer | Apache License 2.0 |
src/main/kotlin/io/xmake/actions/CleanConfigurationAction.kt | xmake-io | 108,999,121 | false | {"Kotlin": 182810, "HTML": 4522} | package io.xmake.actions
import com.intellij.execution.ui.ConsoleViewContentType
import com.intellij.notification.NotificationGroupManager
import com.intellij.notification.NotificationType
import com.intellij.openapi.actionSystem.AnAction
import com.intellij.openapi.actionSystem.AnActionEvent
import io.xmake.project.x... | 12 | Kotlin | 18 | 76 | 30f7c92deebe71e8cba97187cbf04f8460f2d31a | 1,493 | xmake-idea | Apache License 2.0 |
src/main/kotlin/com/ecwid/apiclient/v3/dto/producttype/result/ProductTypesGetAllResult.kt | Ecwid | 160,232,759 | false | null | package com.ecwid.apiclient.v3.dto.producttype.result
class ProductTypesGetAllResult : ArrayList<FetchedProductType>()
| 6 | Kotlin | 8 | 9 | d1a470002ba7bee6f2edc25d0038aeb085c91352 | 120 | ecwid-java-api-client | Apache License 2.0 |
glimpse/geom/src/commonMain/kotlin/freeform/Surface3BuilderImpl.kt | glimpse-graphics | 319,730,354 | false | null | /*
* Copyright 2020-2023 Glimpse Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | 5 | Kotlin | 0 | 6 | e00a9f22db9e10493e7711d5dd8524eb7b06be77 | 3,089 | glimpse | Apache License 2.0 |
androidApp/src/main/java/io/github/lazyengineer/castaway/androidApp/player/PlayerStateUseCase.kt | lazy-engineer | 321,396,462 | false | {"Kotlin": 285918, "Swift": 86110, "Ruby": 1720} | package io.github.lazyengineer.castaway.androidApp.player
import io.github.lazyengineer.castawayplayer.MediaServiceClient
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.map
class PlayerStateUseCase(
private val castawayPlayer: MediaServiceClient
) {
operator fun invoke(): Flow<PlayerState> = ... | 0 | Kotlin | 0 | 2 | 556234559b4f94cdcd5b6c2e5046c9a07ce47e4f | 921 | castaway | MIT License |
app/src/main/java/com/unilim/iut/truckers/controleur/MessageControleur.kt | paul-rezzonico | 690,680,634 | false | {"Kotlin": 72032} | package com.unilim.iut.truckers.controleur
import android.content.Context
import android.util.Log
import com.fasterxml.jackson.databind.ObjectMapper
import com.fasterxml.jackson.module.kotlin.KotlinModule
import com.google.gson.Gson
import com.unilim.iut.truckers.api.ApiManager
import com.unilim.iut.truckers.commande.... | 0 | Kotlin | 1 | 0 | 328800e8b05328616ca13012cd5ddf30f1f045f2 | 8,154 | truckers | The Unlicense |
feature/main-screen/feature-main-screen-impl/src/main/kotlin/ru/ivk1800/tg/feature/mainscreen/impl/FeatureMainScreenImpl.kt | ivk1800 | 429,483,837 | false | {"Kotlin": 57209} | package ru.ivk1800.tg.feature.mainscreen.impl
import ru.ivk1800.tg.feature.mainscreen.api.FeatureMainScreenApi
import ru.ivk1800.tg.feature.mainscreen.api.MainScreenFactory
class FeatureMainScreenImpl(
private val dependencies: FeatureMainScreenDependencies,
) : FeatureMainScreenApi {
override val mainScreenF... | 0 | Kotlin | 0 | 0 | 9c8bce51d7860541959ddbd5118ca0a70c310151 | 433 | telegram-compose | Apache License 2.0 |
basic/src/main/kotlin/io/github/nishikigii/criterionkt/basic/format/builtin/Move.kt | Nishikigii | 745,864,963 | false | {"Kotlin": 28153} | package io.github.nishikigii.criterionkt.basic.format.builtin
import io.github.nishikigii.criterionkt.basic.Index
import io.github.nishikigii.criterionkt.basic.Index.First
import io.github.nishikigii.criterionkt.basic.Index.Last
import io.github.nishikigii.criterionkt.basic.Index.Order
import io.github.nishikigii.crit... | 0 | Kotlin | 0 | 0 | 70739e722cd1fe7da3c0909b5926c5049249c8f4 | 2,280 | CriterionKt | MIT License |
src/ru/mobiledimension/study/day5/WhereIAm.kt | z-gys | 187,865,942 | false | null | package ru.mobiledimension.study.day5
fun main() {
target()
}
fun whereIAm(): String {
try {
throw Exception()
} catch (e: Exception) {
return e.stackTrace[1].methodName +":"+ e.stackTrace[1].lineNumber
}
}
fun target() {
println(whereIAm())
} | 0 | Kotlin | 0 | 0 | 1b201f2a680d64f46ef19010fe0fc64dd4b9230f | 282 | kotlin-basics | MIT License |
plugin/src/test/kotlin/com/jraska/module/graph/GraphvizWriterTest.kt | jraska | 227,907,412 | false | {"Kotlin": 65591} | package com.jraska.module.graph
import org.junit.Test
class GraphvizWriterTest {
@Test
fun testPrintsProperly() {
val graphvizText = GraphvizWriter.toGraphviz(testGraph())
assert(graphvizText == EXPECTED_OUTPUT)
}
@Test
fun testPrintsProperlyWithAliases() {
val aliases = mapOf(
"app" to... | 3 | Kotlin | 22 | 522 | 03a3d40cae4c8625f3f80f0286214f3dd4fd4a78 | 1,478 | modules-graph-assert | Apache License 2.0 |
remix/src/commonMain/kotlin/com/woowla/compose/icon/collections/remix/remix/communication/ChatPollFill.kt | walter-juan | 868,046,028 | false | {"Kotlin": 34345428} | package com.woowla.compose.icon.collections.remix.remix.communication
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graph... | 0 | Kotlin | 0 | 3 | eca6c73337093fbbfbb88546a88d4546482cfffc | 2,405 | compose-icon-collections | MIT License |
sources/feature/landing/src/main/kotlin/com/egoriku/ladyhappy/landing/koin/LandingModule.kt | DoTheMonkeyBusiness | 317,000,577 | true | {"Kotlin": 340209, "JavaScript": 2522, "Shell": 289} | package com.egoriku.ladyhappy.landing.koin
import com.egoriku.ladyhappy.landing.data.repository.LandingRepository
import com.egoriku.ladyhappy.landing.domain.usecase.LandingUseCase
import com.egoriku.ladyhappy.landing.presentation.LandingPageFragment
import com.egoriku.ladyhappy.landing.presentation.LandingViewModel
i... | 1 | null | 0 | 0 | 38c6b7ff347763cee016dc04b415951305d5768e | 736 | Lady-happy-Android | Apache License 2.0 |
src/main/kotlin/enums/Rainbow.kt | AnuragThePathak | 398,529,760 | false | null | package enums
enum class Rainbow {
VIOLET, INDIGO, BLUE, GREEN, YELLOW, ORANGE, RED;
companion object {
fun findColorByName(color: String): Boolean {
for (i in values()) {
if (i.name == color) return true
}
return false
}
}
}
fun main() ... | 0 | Kotlin | 0 | 0 | 1c5db5703904488a9119fef90b92e0c06b585358 | 409 | Learning-Kotlin | MIT License |
defitrack-protocols/stargate/src/main/java/io/defitrack/protocol/StargateFantomService.kt | decentri-fi | 426,174,152 | false | null | package io.defitrack.protocol
import org.springframework.stereotype.Component
@Component
class StargateFantomService : StargateService{
override fun getLpFarm(): String {
return "0x224D8Fd7aB6AD4c6eb4611Ce56EF35Dec2277F03"
}
} | 16 | Kotlin | 6 | 5 | e4640223e69c30f986b8b4238e026202b08a5548 | 245 | defi-hub | MIT License |
ImageLoader/src/main/java/cn/quibbler/imageloader/utils/StorageUtils.kt | quibbler01 | 524,270,844 | false | {"Kotlin": 252007} | package cn.quibbler.imageloader.utils
import android.content.Context
import android.content.pm.PackageManager
import android.os.Environment
import java.io.File
import java.io.IOException
private const val EXTERNAL_STORAGE_PERMISSION = "android.permission.WRITE_EXTERNAL_STORAGE"
private const val INDIVIDUAL_DIR_NAME ... | 0 | Kotlin | 0 | 0 | d2fae5a52fe791f0338bd303f3f7cb128fa7e504 | 6,506 | ImageLoader | Apache License 2.0 |
appactions/interaction/interaction-capabilities-core/src/test/java/androidx/appactions/interaction/capabilities/serializers/types/BuiltInTypeSerializerRegistryTest.kt | androidx | 256,589,781 | false | {"Kotlin": 102962181, "Java": 64545272, "C++": 9133578, "AIDL": 614395, "Python": 310931, "Shell": 188067, "TypeScript": 40586, "HTML": 35176, "Groovy": 27482, "ANTLR": 26700, "Svelte": 20307, "CMake": 18011, "C": 16982, "GLSL": 3842, "Swift": 3153, "JavaScript": 3019} | /*
* 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... | 24 | Kotlin | 930 | 5,073 | 559b440b4b57a373b305bfc0fe0f284a9f68a1c1 | 3,265 | androidx | Apache License 2.0 |
src/eu/iamgio/chorus/menus/variables/VariablesPlaceholder.kt | Banbeucmas | 131,820,916 | true | {"Kotlin": 167582, "CSS": 55153, "Java": 35307} | package eu.iamgio.chorus.menus.variables
import javafx.geometry.Pos
import javafx.scene.control.Label
import javafx.scene.layout.FlowPane
import javafx.scene.layout.StackPane
/**
* @author Gio
*/
class VariablesPlaceholder : FlowPane() {
init {
opacity = .5
val label1 = Label("Press ")
... | 0 | Kotlin | 0 | 0 | a7652096e27593ced804f1e3a9d1a3c85c24a0fd | 1,003 | chorus | Apache License 2.0 |
protocol/src/main/kotlin/io/kaxis/dtls/message/handshake/EcdhPskServerKeyExchange.kt | barudisshu | 806,368,620 | false | {"Kotlin": 1251282, "Java": 451145, "Shell": 28440, "Dockerfile": 956} | /*
* COPYRIGHT Cplier 2024
*
* The copyright to the computer program(s) herein is the property of
* Cplier Inc. The programs may be used and/or copied only with written
* permission from Cplier Inc. or in accordance with the terms and
* conditions stipulated in the agreement/contract under which the
* program(s)... | 0 | Kotlin | 0 | 0 | f18e39e826792f145468f33d8751decc79769c07 | 3,040 | kaxis | MIT License |
kotlin-css/src/commonTest/kotlin/kotlinx/css/TestBoxShadow.kt | JetBrains | 93,250,841 | false | {"Kotlin": 12635434, "JavaScript": 423801} | package kotlinx.css
import kotlinx.css.properties.BoxShadow
import kotlinx.css.properties.BoxShadowInset
import kotlin.test.Test
import kotlin.test.assertEquals
private const val message = "Unexpected generated CSS block"
class TestBoxShadow {
private val testCases = listOf(
PropertyTestCase(
... | 38 | Kotlin | 162 | 1,347 | 997ed3902482883db4a9657585426f6ca167d556 | 1,406 | kotlin-wrappers | Apache License 2.0 |
app/src/main/java/com/taitascioredev/android/chucknorrisquotes/feature/categories/CategoryIntent.kt | phanghos | 115,355,159 | false | null | package com.taitascioredev.android.chucknorrisquotes.feature.categories
import com.google.auto.value.AutoValue
import com.taitascioredev.android.chucknorrisquotes.mvibase.MviIntent
/**
* Created by rrtatasciore on 25/12/17.
*/
interface CategoryIntent : MviIntent {
@AutoValue
abstract class InitialIntent :... | 0 | Kotlin | 0 | 2 | c1914d52a37a9bc4d5ae41d168fedd0439690f40 | 724 | mvi-kotlin-rxjava-livedata-dagger-example | MIT License |
app/src/main/java/com/ademir/moview/ui/home/feed/FeedFragment.kt | luizhenriquefbb | 130,928,148 | true | {"Kotlin": 81194, "Java": 39058} | package com.ademir.moview.home.fragments
import android.os.Bundle
import android.support.v4.app.Fragment
import android.support.v7.widget.LinearLayoutManager
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.ademir.moview.R
import com.ademir.moview.commons.prepare
imp... | 0 | Kotlin | 0 | 0 | 65c1a67556812c3d6a4d8077fd67c4aa34628466 | 2,065 | Moview | MIT License |
app/src/main/java/com/business/money_minder/presentation/setting_screen/components/LimitSetting.kt | myofficework000 | 645,450,368 | false | {"Kotlin": 349960} | package com.business.money_minder.presentation.setting_screen.components
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.ma... | 1 | Kotlin | 2 | 11 | acfb0f22f145c363d2775b76c86668f75e73dd0f | 3,057 | MoneyMinder | MIT License |
app/src/main/java/ar/edu/unlam/mobile/scaffolding/ui/theme/Color.kt | unlam-tec-movil | 787,108,910 | false | {"Kotlin": 17455} | package ar.edu.unlam.mobile.scaffolding.ui.theme
import androidx.compose.ui.graphics.Color
val Purple80 = Color(0xFFD0BCFF)
val PurpleGrey80 = Color(0xFFCCC2DC)
val Pink80 = Color(0xFFEFB8C8)
val Purple40 = Color(0xFF6650a4)
val PurpleGrey40 = Color(0xFF625b71)
val Pink40 = Color(0xFF7D5260)
val rojoPokeball = Colo... | 0 | Kotlin | 0 | 0 | 74ed496071d5d6e67182d5622b43f26ce8c8ad8a | 398 | A2-2024-H1-Equipo3 | MIT License |
src/main/kotlin/br/com/jiratorio/config/ErrorHandler.kt | alanjds | 199,070,045 | true | {"Kotlin": 519339, "Dockerfile": 315, "TSQL": 269, "PLSQL": 52} | package br.com.jiratorio.config
import br.com.jiratorio.config.internationalization.MessageResolver
import br.com.jiratorio.exception.BadRequestException
import br.com.jiratorio.exception.UniquenessFieldException
import com.fasterxml.jackson.module.kotlin.MissingKotlinParameterException
import org.springframework.http... | 0 | Kotlin | 0 | 0 | 3a49a3b434ce94a4bc5aaca494e3ce5c84ab4bb4 | 2,778 | jirareport | MIT License |
src/CoroutineContext.kt | aibingbing | 677,432,299 | false | null | import kotlinx.coroutines.*
import kotlin.coroutines.Continuation
import kotlin.coroutines.ContinuationInterceptor
import kotlin.coroutines.coroutineContext
fun log(msg: Job?) {
println("[${Thread.currentThread().name}] $msg")
}
suspend inline fun Job.Key.currentJob() = coroutineContext[Job]
suspend fun coroutin... | 0 | Kotlin | 0 | 0 | bdef73a74c49ab8e789d0592bd61a1da90ed6a11 | 1,347 | KotlinCoroutinesDemo | Apache License 2.0 |
src/main/kotlin/io/github/nillkki/aoc/Day03.kt | Nillkki | 572,858,950 | false | {"Kotlin": 38345} | package io.github.nillkki.aoc
import org.openjdk.jmh.annotations.Benchmark
import org.openjdk.jmh.annotations.BenchmarkMode
import org.openjdk.jmh.annotations.Measurement
import org.openjdk.jmh.annotations.Mode
import org.openjdk.jmh.annotations.OutputTimeUnit
import org.openjdk.jmh.annotations.Scope
import org.openjd... | 0 | Kotlin | 0 | 0 | 42b38e2a2592a8a5191c221b3dc648b879920ef8 | 2,143 | aoc-2022 | Apache License 2.0 |
app/src/main/java/com/stocksexchange/android/ui/settings/items/SettingAccountItem.kt | nscoincommunity | 277,168,471 | true | {"Kotlin": 2814235} | package com.stocksexchange.android.ui.settings.items
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.RelativeLayout
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.arthurivanets.ad... | 0 | null | 0 | 0 | 52766afab4f96506a2d9ed34bf3564b6de7af8c3 | 2,819 | Android-app | MIT License |
dsl/src/main/kotlin/cloudshift/awscdk/dsl/services/ses/SNSActionConfigDsl.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package cloudshift.awscdk.dsl.services.ses
import cloudshift.awscdk.common.CdkDslMarker
import kotlin.String
import software.amazon.awscdk.ser... | 1 | Kotlin | 0 | 0 | 17c41bdaffb2e10d31b32eb2282b73dd18be09fa | 1,266 | awscdk-dsl-kotlin | Apache License 2.0 |
app/src/main/kotlin/com/dot/gallery/feature_node/presentation/search/components/SearchBarElevation.kt | IacobIonut01 | 614,314,251 | false | null | package com.dot.gallery.feature_node.presentation.search.components
import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.dp
sealed class SearchBarElevation(val dp: Dp) {
data object Collapsed : SearchBarElevation(2.dp)
data object Expanded : SearchBarElevation(0.dp)
operator fun invoke() ... | 65 | null | 57 | 997 | 3510ea658dff358a0ea0716997082d0e06234c83 | 326 | Gallery | Apache License 2.0 |
src/commonMain/kotlin/nl/astraeus/css/properties/Perspective.kt | rnentjes | 413,056,107 | false | {"Kotlin": 117943} | package nl.astraeus.css.properties
class Perspective(
value: String
) : CssProperty(value) {
companion object {
val none = Perspective("none")
val initial = Perspective("initial")
val inherit = Perspective("inherit")
}
}
| 0 | Kotlin | 0 | 0 | e0a4ff54de9968c180fe180f0d3d58e345993489 | 242 | kotlin-css-generator | MIT License |
src/commonMain/kotlin/io/github/agrevster/pocketbaseKotlin/models/User.kt | agrevster | 672,076,191 | false | null | package io.github.agrevster.pocketbaseKotlin.models
import kotlinx.serialization.Serializable
import kotlinx.serialization.Transient
@Serializable
/**
* A Pocketbase generated 'users' collection user. If you want to work with custom fields use your own object which extends this one.
* @param [verified] weather or ... | 4 | null | 3 | 5 | a6b6bd810b4e550ef9b66e19a92b86c41291e34d | 974 | pocketbase-kotlin | MIT License |
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/ec2/CfnClientVpnEndpointDsl.kt | F43nd1r | 643,016,506 | false | null | package com.faendir.awscdkkt.generated.services.ec2
import com.faendir.awscdkkt.AwsCdkDsl
import javax.`annotation`.Generated
import kotlin.String
import kotlin.Unit
import software.amazon.awscdk.services.ec2.CfnClientVpnEndpoint
import software.amazon.awscdk.services.ec2.CfnClientVpnEndpointProps
import software.cons... | 1 | Kotlin | 0 | 0 | b22e397ff37c5fce365a5430790e5d83f0dd5a64 | 991 | aws-cdk-kt | Apache License 2.0 |
app/src/main/java/com/masterplus/notex/viewmodels/BackupDiaViewModel.kt | Ramazan713 | 458,716,624 | false | {"Kotlin": 467000} | package com.masterplus.notex.viewmodels
import android.app.Application
import android.net.Uri
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.viewModelScope
import com.masterplus.notex.R
import com.masterplus.notex.managers.BackupManager
import com.masterplus.note... | 0 | Kotlin | 0 | 0 | 69758feb796c6afa728844339ffe8d64bd0a17dc | 3,780 | Note-X | Apache License 2.0 |
classes.kts | tedneward | 734,969,936 | false | {"Kotlin": 18069, "Shell": 58} | import kotlin.collections.*
import java.util.*
/*
// {{## BEGIN simple ##}}
class Person(var firstName: String, val lastName: String, var age: Int)
{
init {
println("Person $firstName $lastName constructed")
}
}
val ted = Person("Ted", "Neward", 45)
println("${ted.firstName} is ${ted.age} years old")
// {{## E... | 0 | Kotlin | 0 | 0 | f407cb981650f31e2b72174b618a8dc9b2cfa292 | 3,294 | Demo-Kotlin | Creative Commons Zero v1.0 Universal |
src/main/kotlin/TokenBuilder.kt | adwardstark | 339,720,866 | false | null | import io.jsonwebtoken.*
import io.jsonwebtoken.io.Decoders
import org.json.JSONException
import org.json.JSONObject
import java.security.Key
import java.util.*
import javax.crypto.spec.SecretKeySpec
/**
* Created by <NAME> on 04/02/2021.
* @author github.com/adwardstark
*/
object TokenBuilder {
// Do not use... | 0 | Kotlin | 0 | 1 | e08a0ae0cc363182689d686da45d4969b62c10ba | 5,164 | jwtKT | Apache License 2.0 |
app/src/main/java/com/oscarliang/knews/MainActivity.kt | iamoscarliang | 761,140,560 | false | {"Kotlin": 151931} | package com.oscarliang.knews
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.core.view.isVisible
import androidx.navigation.fragment.NavHostFragment
import androidx.navigation.ui.setupWithNavController
import com.oscarliang.knews.databinding.ActivityMainBinding
import com.oscar... | 0 | Kotlin | 0 | 0 | c03764f4d80338cff8fa98bc59a72ecbd892af6d | 1,515 | k-news | MIT License |
src/main/kotlin/dev/galiev/sc/blocks/custom/FoldingChair.kt | GalievDev | 628,931,160 | false | null | package dev.galiev.sc.blocks.custom
import dev.galiev.sc.blocks.custom.entity.ChairEntity
import dev.galiev.sc.blocks.custom.entity.ChairEntity.Companion.OCCUPIED
import dev.galiev.sc.helper.EntityTypeRegistry
import net.fabricmc.fabric.api.`object`.builder.v1.block.FabricBlockSettings
import net.minecraft.block.Block... | 0 | Kotlin | 0 | 1 | 212a7e7edef86955fc3ea2d0ac6ff79b06b1bfed | 3,145 | Summer-Cottage | MIT License |
data/src/main/java/ru/maksonic/rdpodcast/data/podcast/PodcastRepositoryImpl.kt | maksonic | 455,857,524 | false | null | package ru.maksonic.rdpodcast.data.podcast
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.collect
import kotlinx.coroutines.flow.flow
import ru.maksonic.rdpodcast.core.Result
import ru.maksonic.rdpodcast.core.Abstract
import ru.maksonic.rdpodcast.core.data.BaseRepository
import ru.maksonic.rdpodcas... | 0 | Kotlin | 0 | 0 | 12d65900beddd1a0bbf0f95fa79f8c54f11c775b | 1,929 | RDPodcast | MIT License |
labstate/src/main/java/com/example/labstate/MainActivity.kt | gnoejh | 738,881,237 | false | {"Kotlin": 788673, "HTML": 47717, "JavaScript": 18873, "CSS": 18737, "Java": 268} | package com.example.labstate
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.Image
import androidx.compose.foundation.border
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout... | 0 | Kotlin | 0 | 0 | d4480222d703106f53832f5a71f090aad3c24471 | 5,403 | AndroidComposeMaster | MIT License |
kotest-core/src/commonMain/kotlin/io/kotest/core/spec/descriptions.kt | nagellack5C | 235,292,077 | true | {"Kotlin": 1862796, "HTML": 423, "Java": 153, "Shell": 125} | package io.kotest.core.spec
import io.kotest.core.bestName
import io.kotest.core.displayName
import io.kotest.core.test.Description
import io.kotest.fp.getOrElse
import kotlin.reflect.KClass
/**
* Returns a [Description] that can be used for a spec.
*
* If the spec has been annotated with @DisplayName (JVM only), ... | 0 | null | 0 | 0 | 6c3b7967ec7c9d7604d237a8cf37fb023ab46f09 | 745 | kotlintest | Apache License 2.0 |
graph/graph-application/src/main/kotlin/eu/tib/orkg/prototype/contenttypes/domain/model/Paper.kt | TIBHannover | 197,416,205 | false | {"Kotlin": 2627763, "Cypher": 216189, "Python": 4880, "Groovy": 1936, "Shell": 1803, "HTML": 240} | package eu.tib.orkg.prototype.contenttypes.domain.model
import eu.tib.orkg.prototype.community.domain.model.ObservatoryId
import eu.tib.orkg.prototype.community.domain.model.OrganizationId
import eu.tib.orkg.prototype.community.domain.model.ContributorId
import eu.tib.orkg.prototype.statements.domain.model.ExtractionM... | 0 | Kotlin | 2 | 5 | 31ef68d87499cff09551febb72ae3d38bfbccb98 | 1,018 | orkg-backend | MIT License |
app/src/main/java/me/ibrahimsn/smoothbottombar/MainActivity.kt | tobiasschuerg | 217,917,496 | true | {"Kotlin": 12654} | package me.ibrahimsn.smoothbottombar
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import kotlinx.android.synthetic.main.activity_main.*
import me.ibrahimsn.lib.SmoothBottomBar
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super... | 0 | null | 0 | 0 | bd4b353ede098fba8b513a732dc58d9999de176c | 633 | SmoothBottomBar | MIT License |
app/src/main/java/com/cngal/app/model/entry/StaffPositionGroupModel.kt | CnGal | 648,083,407 | false | {"Kotlin": 421043} | package com.cngal.app.model.entry
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
@JsonClass(generateAdapter = true)
data class StaffPositionGroupModel(
@Json(name = "modifier")
val modifier: String,
@Json(name = "names")
val content: List<StaffModel>
) | 0 | Kotlin | 1 | 2 | 6703376adae97557825f39d7492a04b3aee55729 | 291 | cngal-jetpack-app | MIT License |
src/main/kotlin/no/nav/familie/ba/sak/kjerne/behandling/BehandlingHentOgPersisterService.kt | navikt | 224,639,942 | false | null | package no.nav.familie.ba.sak.kjerne.behandling
import no.nav.familie.ba.sak.kjerne.behandling.domene.Behandling
import no.nav.familie.ba.sak.kjerne.behandling.domene.BehandlingRepository
import no.nav.familie.ba.sak.kjerne.behandling.domene.BehandlingStatus
import no.nav.familie.ba.sak.statistikk.saksstatistikk.Sakss... | 13 | Kotlin | 0 | 7 | 54d8a8a9f29783a0f76495b11bf563fba3e5d88e | 4,141 | familie-ba-sak | MIT License |
src/main/kotlin/com/springKotlinAuthentication/demo/authentication/dto/request/UpdateUserRequest.kt | Kenato254 | 854,587,987 | false | {"Kotlin": 93453, "Shell": 1143} | package com.springKotlinAuthentication.demo.authentication.dto.request
import com.springKotlinAuthentication.demo.authentication.constant.Constant
import com.springKotlinAuthentication.demo.authentication.validators.dob.DateOfBirth
import jakarta.validation.constraints.Email
import jakarta.validation.constraints.NotBl... | 0 | Kotlin | 0 | 0 | 463f79638fde7e6f9f9db27119b6d5a888ea37eb | 586 | spring-kotlin-authentication-demo | MIT License |
android/src/main/java/com/shibumurugan/reactnativestaggered/ReactNativeStaggeredModule.kt | shibumrgn | 458,134,595 | false | {"JavaScript": 15403, "Kotlin": 6069, "Swift": 2145, "Ruby": 1435, "TypeScript": 969, "Starlark": 602, "Objective-C": 578} | package com.shibumurugan.reactnativestaggered
import com.facebook.react.bridge.ReactApplicationContext
import com.facebook.react.bridge.ReactContextBaseJavaModule
class ReactNativeStaggeredModule(reactContext: ReactApplicationContext) : ReactContextBaseJavaModule(reactContext) {
override fun getName() = "ReactNa... | 0 | JavaScript | 0 | 0 | daa0e8a9040318b540e2f203d6f123a9974b97ec | 448 | react-native-staggered | MIT License |
shared/src/commonMain/kotlin/com/norrisboat/ziuq/domain/utils/Labels.kt | norrisboat | 746,362,661 | false | {"Kotlin": 225770, "Swift": 70758} | package com.norrisboat.ziuq.domain.utils
import com.norrisboat.ziuq.MR
import dev.icerock.moko.resources.desc.Resource
import dev.icerock.moko.resources.desc.ResourceFormatted
import dev.icerock.moko.resources.desc.StringDesc
class Labels {
val app: StringDesc = StringDesc.Resource(MR.strings.app)
val tagline... | 0 | Kotlin | 2 | 7 | 94140c28aae2621f87b77a79edd66ea66519b047 | 3,420 | Ziuq | MIT License |
app/src/main/java/com/ably/tracking/demo/publisher/data/api/OrderResponse.kt | ably | 497,980,892 | false | null | package com.ably.tracking.demo.publisher.data.api
import com.google.gson.annotations.SerializedName
data class OrderResponse(
@SerializedName("to") val destination: Destination
)
data class Destination(
val latitude: Double,
val longitude: Double
)
| 0 | Kotlin | 1 | 1 | c7bfe7aacd4e048cebe8d857f5a811b62c5bd328 | 264 | asset-tracking-android-rider-app-demo | Apache License 2.0 |
mobzy-nms-injection/src/main/kotlin/com/mineinabyss/mobzy/injection/types/InteractableEntity.kt | MineInAbyss | 142,800,887 | false | null | package com.mineinabyss.mobzy.injection.types
import com.mineinabyss.idofront.nms.aliases.NMSEntity
import com.mineinabyss.idofront.nms.aliases.NMSEntityType
import com.mineinabyss.idofront.nms.aliases.NMSWorld
import com.mineinabyss.idofront.nms.aliases.toBukkit
import com.mineinabyss.idofront.nms.entity.typeName
imp... | 13 | Kotlin | 8 | 29 | 6fdf955a0bc906f297eb91340fcdcabf5031beef | 1,127 | Mobzy | MIT License |
app/src/main/java/com/kishknkoopz/onlyus/ui/wheel/InnerWheel.kt | NikhilShankar | 698,557,961 | false | {"Kotlin": 33573} | package com.kishknkoopz.onlyus.ui.wheel
import androidx.compose.animation.core.Animatable
import androidx.compose.animation.core.AnimationEndReason
import androidx.compose.animation.core.tween
import androidx.compose.foundation.Canvas
import androidx.compose.foundation.gestures.detectDragGestures
import androidx.compo... | 0 | Kotlin | 0 | 0 | 033b6792393af1240bc437b633d5b7a6c52e2b59 | 5,220 | OnlyUs | MIT License |
bluetape4k/coroutines/src/main/kotlin/io/bluetape4k/coroutines/SuspendLazy.kt | debop | 625,161,599 | false | {"Kotlin": 7504333, "HTML": 502995, "Java": 2273, "JavaScript": 1351, "Shell": 1301, "CSS": 444, "Dockerfile": 121, "Mustache": 82} | package io.bluetape4k.coroutines
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.CoroutineStart
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.async
import kotlinx.coroutines.withContext
import kotlin.coroutines.CoroutineContext
import k... | 0 | Kotlin | 0 | 1 | ce3da5b6bddadd29271303840d334b71db7766d2 | 3,378 | bluetape4k | MIT License |
src/main/kotlin/org/gradle/script/lang/kotlin/codegen/Predicates.kt | pchintale | 78,643,265 | true | {"Kotlin": 255767, "Shell": 477} | /*
* Copyright 2016 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... | 0 | Kotlin | 0 | 0 | 7aa0841ede483ff11a8938b09b40971647a5ecca | 1,424 | gradle-script-kotlin | Apache License 2.0 |
macfiles/src/main/kotlin/garden/ephemeral/macfiles/dsstore/codecs/IconViewOptionsCodec.kt | ephemeral-laboratories | 564,594,150 | false | null | package garden.ephemeral.macfiles.dsstore.codecs
import garden.ephemeral.macfiles.common.types.Blob
import garden.ephemeral.macfiles.dsstore.types.IconViewOptions
object IconViewOptionsCodec : Codec<IconViewOptions> {
override fun decode(blob: Blob) = IconViewOptions.fromBlob(blob)
override fun encode(value: ... | 0 | Kotlin | 0 | 0 | 7ae5f10591429b44408187c0e555a8baaaa085a4 | 355 | dsstore-kotlin | MIT License |
macfiles/src/main/kotlin/garden/ephemeral/macfiles/dsstore/codecs/IconViewOptionsCodec.kt | ephemeral-laboratories | 564,594,150 | false | null | package garden.ephemeral.macfiles.dsstore.codecs
import garden.ephemeral.macfiles.common.types.Blob
import garden.ephemeral.macfiles.dsstore.types.IconViewOptions
object IconViewOptionsCodec : Codec<IconViewOptions> {
override fun decode(blob: Blob) = IconViewOptions.fromBlob(blob)
override fun encode(value: ... | 0 | Kotlin | 0 | 0 | 7ae5f10591429b44408187c0e555a8baaaa085a4 | 355 | dsstore-kotlin | MIT License |
app/src/test/kotlin/kotlinadventofcode/2023/2023-03-Test.kt | pragmaticpandy | 356,481,847 | false | {"Kotlin": 854605, "Shell": 219} | // Originally generated by the template in CodeDAO
package kotlinadventofcode.`2023`
import kotlin.test.Test
import kotlin.test.assertEquals
import kotlin.test.assertNotNull
class `2023-03-Test` {
private infix fun String.when1runsWith(input: String) {
assertEquals(this, `2023-03`().runPart1(input))
... | 0 | Kotlin | 0 | 3 | 48efe6d4dfd21a33130ce4282487fd33825a9721 | 863 | kotlinadventofcode | MIT License |
SerawaziApplication/app/src/main/java/com/greenrevive/serawaziapplication/L1SecondQuestion.kt | MutindaVictoria | 718,561,733 | false | {"Kotlin": 107697} | package com.greenrevive.serawaziapplication
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.os.Handler
import android.widget.Toast
import android.graphics.Color
import android.media.MediaPlayer
import com.greenrevive.serawaziapplication.databinding.... | 0 | Kotlin | 0 | 0 | 3e68806907fa0489274d5625a35d220ffb79c9a0 | 5,484 | Serawazi-Mobile | MIT License |
app/src/main/java/com/ti/sunrain/logic/model/dayforecast/DayForecastItem.kt | bluebonnet27 | 317,797,469 | false | null | package com.ti.sunrain.logic.model.dayforecast
import com.ti.sunrain.logic.model.DailyResponse
/**
* @author: tihon
* @date: 2021/4/3
* @description:
*/
class DayForecastItem(val skycon:DailyResponse.Skycon,
val temp:DailyResponse.Temperature) | 1 | Kotlin | 2 | 6 | 68696f18320a86799e0b2243a92c7fa45df83272 | 271 | SunRain | MIT License |
v2-model/src/commonMain/kotlin/com/bselzer/gw2/v2/model/quest/QuestId.kt | Woody230 | 388,820,096 | false | {"Kotlin": 750899} | package com.bselzer.gw2.v2.model.quest
import com.bselzer.ktx.value.identifier.IntIdentifier
import kotlinx.serialization.Serializable
import kotlin.jvm.JvmInline
@Serializable
@JvmInline
value class QuestId(override val value: Int = 0) : IntIdentifier {
override fun toString(): String = value.toString()
} | 2 | Kotlin | 0 | 2 | 32f1fd4fc4252dbe886b6fc0f4310cf34ac2ef27 | 313 | GW2Wrapper | Apache License 2.0 |
rubik/rubik_kapt/src/main/java/com/rubik/apt/utility/KotlinPoet.kt | baidu | 504,447,693 | false | {"Kotlin": 607049, "Java": 37304} | /**
* Copyright (C) Baidu Inc. All rights reserved.
*
* 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... | 1 | Kotlin | 7 | 153 | 065ba8f4652b39ff558a5e3f18b9893e2cf9bd25 | 1,442 | Rubik | Apache License 2.0 |
src/main/kotlin/no/nav/tiltakspenger/meldekort/api/repository/MeldekortRepo.kt | navikt | 720,213,646 | false | {"Kotlin": 78400, "Shell": 1153, "Dockerfile": 515} | package no.nav.tiltakspenger.meldekort.api.repository
import no.nav.tiltakspenger.meldekort.api.domene.Meldekort
import no.nav.tiltakspenger.meldekort.api.domene.MeldekortUtenDager
import no.nav.tiltakspenger.meldekort.api.felles.Periode
import java.util.UUID
interface MeldekortRepo {
fun opprett(grunnlagId: UUID... | 2 | Kotlin | 0 | 0 | bf8d171d9f81e3f7606be9c42331fdf9cf2c73f1 | 630 | tiltakspenger-meldekort-api | MIT License |
app/src/main/java/com/example/homeswap_android/adapter/ReviewAdapter.kt | lisisaraujo | 834,512,241 | false | {"Kotlin": 222972} | package com.example.homeswap_android.adapter
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.ListAdapter
import androidx.recyclerview.widget.RecyclerView
import coil.load
import com.example.homeswap_android.data.models.R... | 0 | Kotlin | 0 | 0 | fe031a617a2f456f36ead6d04f85fedf92f8e322 | 2,043 | HomeSwap---Android | MIT License |
src/main/kotlin/hii/thing/api/sessions/dao/recordsession/SqlSessionDetail.kt | hii-in-th | 190,712,805 | false | null | /*
* Copyright (c) 2019 NSTDA
* National Science and Technology Development Agency, Thailand
*
* 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/LI... | 0 | Kotlin | 0 | 0 | 02fc485731329edfaf3ce7c4b0d5e0e98e9b9d36 | 2,089 | thing-api | Apache License 2.0 |
kotlin-antd/antd-samples/src/main/kotlin/samples/upload/Drag.kt | oxiadenine | 206,398,615 | false | {"Kotlin": 1619835, "HTML": 1515} | package samples.upload
import antd.icon.inboxOutlined
import antd.message.message
import antd.upload.uploadDragger
import kotlinx.html.classes
import react.RBuilder
import react.dom.p
import styled.css
import styled.styledDiv
fun RBuilder.drag() {
styledDiv {
css { +UploadStyles.drag }
uploadDragg... | 1 | Kotlin | 8 | 50 | e0017a108b36025630c354c7663256347e867251 | 1,489 | kotlin-js-wrappers | Apache License 2.0 |
app/src/main/java/org/grakovne/lissen/domain/PagedItems.kt | GrakovNe | 859,536,477 | false | {"Kotlin": 215059} | package org.grakovne.lissen.domain
data class PagedItems<T>(
val items: List<T>,
val currentPage: Int
)
| 7 | Kotlin | 0 | 20 | b285aa1f51c6bb242ce45b11a20b4b8212aa6f3f | 113 | lissen-android | MIT License |
src/main/kotlin/com/troop77eagle/events/Event.kt | quincy | 763,159,633 | false | {"Kotlin": 31312, "Dockerfile": 1687, "HTML": 72} | package com.troop77eagle.events
import kotlinx.datetime.Instant
import kotlinx.serialization.Serializable
@Serializable
data class Event(
val id: Long,
val name: String,
val startTime: Instant,
val endTime: Instant,
val summary: String,
val description: String,
val eventLocation: String,
... | 3 | Kotlin | 0 | 0 | 0869134e0cc054bb33dcfd85f502197bd1548d67 | 1,113 | scout-events-app | MIT License |
TeamCode/src/main/kotlin/org/firstinspires/ftc/teamcode/util/NotForCompetition.kt | LightningHawks6032 | 666,608,345 | false | {"Kotlin": 258258, "Java": 41887} | package org.firstinspires.ftc.teamcode.util
@RequiresOptIn(message = "This is not meant to be used in competition, acknowledgement of this is required.")
@Retention(AnnotationRetention.BINARY)
@Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY)
annotation class NotForCompetition
| 0 | Kotlin | 0 | 1 | d1d75d6f04c318396cee4f8f37dcb5f7fae1b30c | 316 | FTCRobotController-2023-24 | BSD 3-Clause Clear License |
generator/src/main/kotlin/com/laidpack/sourcerer/generator/generators/ModuleGeneratorManager.kt | dpnolte | 151,090,095 | false | null | package com.laidpack.sourcerer.generator.generators
import com.laidpack.sourcerer.generator.resources.widgets.WidgetConnoisseur
import com.laidpack.sourcerer.generator.toCamelCase
import com.squareup.kotlinpoet.ClassName
import java.io.File
class ModuleGeneratorManager(
private val targetDir: File,
va... | 8 | Kotlin | 1 | 0 | 9513bbc54768e9248c450b0aba125b433c447e68 | 1,759 | sourcerer | Apache License 2.0 |
src/main/kotlin/com/vauthenticator/server/account/welcome/WelcomeMailEndPoint.kt | VAuthenticator | 191,632,792 | false | null | package com.vauthenticator.server.account.welcome
import com.vauthenticator.server.account.AccountNotFoundException
import org.springframework.http.ResponseEntity
import org.springframework.web.bind.annotation.ExceptionHandler
import org.springframework.web.bind.annotation.PathVariable
import org.springframework.web.b... | 21 | Kotlin | 1 | 8 | 8847b3b0ed3d9530a85aa1124a8b2fdb634eba2b | 860 | vauthenticator | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.