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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
src/main/kotlin/day13/day13.kt | corneil | 572,437,852 | false | {"Kotlin": 93311, "Shell": 595} | package day13
import utils.groupLines
import utils.readFile
import utils.readLines
import utils.separator
import java.util.*
fun main() {
val test = readLines(
"""[1,1,3,1,1]
[1,1,5,1,1]
[[1],[2,3,4]]
[[1],4]
[9]
[[8,7,6]]
[[4,4],4,4]
[[4,4],... | 0 | Kotlin | 0 | 0 | dd79aed1ecc65654cdaa9bc419d44043aee244b2 | 4,854 | aoc-2022-in-kotlin | Apache License 2.0 |
app/src/main/java/com/kusamaru/standroid/nicolive/compose/JCNicoLiveInfoFragment.kt | kusamaru | 442,642,043 | false | {"Kotlin": 1954774} | package com.kusamaru.standroid.nicolive.compose
import android.content.Intent
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foun... | 0 | Kotlin | 0 | 3 | 5c58707eecc7a994fbd4bc900b22106697bf3806 | 12,863 | StanDroid | Apache License 2.0 |
yasha-compose/src/main/java/zlc/season/yasha/compose/ComposeDataSource.kt | ssseasonnn | 135,985,766 | false | {"Kotlin": 84640} | package zlc.season.yasha.compose
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.onSubscription
import kotlinx.coroutines.flow.update
import zlc.season.sange.datasource.DataSource
import zlc.season.sange.datasource.FetchState
open class ComposeDa... | 5 | Kotlin | 55 | 520 | 96db2547a1d071b83a7c183bb97656c3322bd5e4 | 1,077 | Yasha | Apache License 2.0 |
app/src/main/java/ru/sshex/exchange/di/app/module/NetworkModule.kt | ShadyRover | 182,038,832 | false | null | package ru.sshex.exchange.di.app.module
import dagger.Module
import dagger.Provides
import dagger.Reusable
import io.reactivex.schedulers.Schedulers
import retrofit2.Retrofit
import retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory
import retrofit2.converter.gson.GsonConverterFactory
import ru.sshex.exchange.network... | 0 | Kotlin | 0 | 0 | d050e45e413ea60057f3103bf249603b51b8cebe | 1,209 | Exchange | Apache License 2.0 |
app/src/main/java/edu/uw/acevedoj/sos/WelcomeActivity.kt | amjadz | 161,661,449 | false | {"Kotlin": 63090} | package edu.uw.acevedoj.sos
import android.content.Intent
import android.content.pm.PackageManager
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import android.preference.PreferenceManager
import android.support.v4.app.ActivityCompat
import android.support.v4.content.ContextCompat
import and... | 0 | Kotlin | 0 | 0 | b6092a1083f856828a20347f1543b8fc26f6a938 | 2,002 | SOS | MIT License |
src/main/kotlin/io/github/riej/lsl/KwdbData.kt | riej | 597,798,011 | false | {"Kotlin": 199607, "Java": 199569, "ANTLR": 5887, "Lex": 3385, "HTML": 90} | package io.github.riej.lsl
import com.intellij.openapi.project.Project
import com.intellij.openapi.util.Key
import com.intellij.openapi.vfs.VfsUtil
import com.intellij.psi.PsiManager
import com.intellij.psi.util.PsiTreeUtil
import com.intellij.psi.xml.XmlFile
import com.intellij.psi.xml.XmlTag
import com.intellij.util... | 2 | Kotlin | 1 | 2 | 0720929467d598d866c27ca016cb7e9f2733ab1d | 4,694 | lsl | MIT License |
network/src/main/java/androidx/essentials/network/Builder.kt | kunal26das | 282,238,393 | false | null | package androidx.essentials.network
@Suppress("PropertyName")
abstract class Builder<T> {
@Volatile
private var value: Any? = UninitializedValue
val INSTANCE: T
@Suppress("UNCHECKED_CAST") get() {
val v1 = value
if (v1 !== UninitializedValue) {
return v1 as... | 5 | Kotlin | 0 | 3 | 4968a43c341f728c905d3db7a124fd8b6e05041a | 718 | androidx-essentials | Apache License 2.0 |
app/src/main/java/com/onlinemadrasa/model/StoryModel.kt | samsadch | 282,285,809 | false | {"Kotlin": 104434, "Java": 48689, "CMake": 1745, "Rich Text Format": 400, "C++": 2} | package com.onlinemadrasa.model
import android.os.Parcelable
import kotlinx.android.parcel.Parcelize
@Parcelize
data class StoryModel(
var storyTitle: String = "",
var storyList: List<StoryItem>? = null,
var createdDate: String = "",
var updatedDate: String = "",
var refrence: String? = "",
va... | 0 | Kotlin | 0 | 0 | 08832f4e322133fd0102349cb8a8752376b89e0e | 539 | OnlineMadrasa | Apache License 2.0 |
HTTPShortcuts/app/src/main/kotlin/ch/rmy/android/http_shortcuts/activities/editor/headers/RequestHeadersDialogState.kt | Waboodoo | 34,525,124 | false | {"Kotlin": 1970466, "HTML": 200869, "CSS": 2316, "Python": 1548} | package ch.rmy.android.http_shortcuts.activities.editor.headers
import androidx.compose.runtime.Stable
@Stable
sealed class RequestHeadersDialogState {
@Stable
data object AddHeader : RequestHeadersDialogState()
@Stable
data class EditHeader(
val id: String,
val key: String,
v... | 31 | Kotlin | 105 | 999 | 34ec1652d431d581c3c275335eb4dbcf24ced9f5 | 376 | HTTP-Shortcuts | MIT License |
modern-treasury-kotlin-core/src/test/kotlin/com/moderntreasury/api/models/AsyncResponseTest.kt | Modern-Treasury | 665,762,762 | false | {"Kotlin": 8612635, "Shell": 3666, "Dockerfile": 399} | package com.moderntreasury.api.models
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Test
class AsyncResponseTest {
@Test
fun createAsyncResponse() {
val asyncResponse =
AsyncResponse.builder()
.id("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
... | 1 | Kotlin | 2 | 2 | 37b7af4a5ae3088434ceca856942b20619b57f82 | 582 | modern-treasury-kotlin | MIT License |
MyJetPackApplication/businesses/business-video/src/alone/java/com/example/myjetpackapplication/business/video/SingleVideoItemAdapter.kt | seelikes | 154,868,585 | false | {"Markdown": 4, "Batchfile": 11, "Ignore List": 58, "JSON": 5, "Text": 1, "Gradle": 72, "reStructuredText": 1, "Java Properties": 14, "Shell": 8, "Proguard": 42, "Java": 57, "XML": 265, "INI": 29, "Kotlin": 311, "C++": 1, "CMake": 1, "Groovy": 26, "Fluent": 40, "FreeMarker": 11} | package com.example.myjetpackapplication.business.video
import android.content.Context
import android.view.LayoutInflater
import android.view.ViewGroup
import com.example.myjetpackapplication.annotationprocessor.business.annotation.BusinessItem
import com.example.myjetpackapplication.business.video.databinding.ItemSin... | 1 | null | 1 | 1 | 7b3bc00c2e98f11b0798a97474a28fb63c0b53ae | 956 | MyAndroidSet | MIT License |
android/libraries/rib-coroutines/src/main/kotlin/com/uber/rib/core/RibCoroutineScopes.kt | uber | 105,686,726 | false | null | /*
* Copyright (C) 2022. Uber Technologies
*
* 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... | 124 | null | 905 | 7,754 | 08b95b6d0ee16c1b5e02a769d8b40f0310add73a | 3,069 | RIBs | Apache License 2.0 |
VCL/src/main/java/io/velocitycareerlabs/impl/domain/infrastructure/keys/KeyService.kt | velocitycareerlabs | 525,006,413 | false | null | /**
* Created by <NAME> on 15/05/2023.
*
* Copyright 2022 Velocity Career Labs inc.
* SPDX-License-Identifier: Apache-2.0
*/
package io.velocitycareerlabs.impl.domain.infrastructure.keys
import com.nimbusds.jose.jwk.ECKey
import io.velocitycareerlabs.api.entities.VCLDidJwk
internal interface KeyService {
fu... | 0 | Kotlin | 0 | 0 | 149dea21a7ff83a45a68b4a6102d1f2e3885443c | 470 | WalletAndroid | Apache License 2.0 |
app/src/main/java/com/items/bim/dto/LotteryAwardCountDto.kt | losebai | 800,799,665 | false | {"Kotlin": 644896, "Java": 11455} | package com.items.bim.dto
data class LotteryAwardCountDto (
var id: String? = null,
var name: String = "",
var sumCount: Int = 0,
var star5Count: Int = 0,
var star4Count: Int = 0,
var avgRoleCount: Double = 0.0,
var avgWeaponCount: Double = 0.0,
var up: Double = 0.0,
var avgUpCount ... | 0 | Kotlin | 0 | 0 | 86f8cb939b3671158e568638b0c8e3b82df87fa1 | 1,465 | B-Im | Apache License 2.0 |
sentry-spring/src/test/kotlin/io/sentry/spring/SentryRequestHttpServletRequestProcessorTest.kt | PaulWoitaschek | 315,937,144 | false | null | package io.sentry.spring.reactive
import io.sentry.SentryEvent
import io.sentry.SentryOptions
import kotlin.test.Test
import kotlin.test.assertEquals
import kotlin.test.assertFalse
import kotlin.test.assertNull
import kotlin.test.assertTrue
import org.springframework.http.MediaType
import org.springframework.mock.http... | 1 | null | 1 | 1 | 8f9b3923f6ae79bdbaedfbce6a8f4df5e9158150 | 4,042 | sentry-java | MIT License |
app/src/main/java/com/eyther/lumbridge/features/expenses/viewmodel/overview/delegate/ExpensesOverviewScreenSortByDelegate.kt | ruialmeida51 | 249,223,684 | false | {"Kotlin": 687400} | package com.eyther.lumbridge.features.expenses.viewmodel.overview.delegate
import com.eyther.lumbridge.features.expenses.model.overview.ExpensesOverviewSortBy
import com.eyther.lumbridge.model.expenses.ExpensesMonthUi
import javax.inject.Inject
class ExpensesOverviewScreenSortByDelegate @Inject constructor(): IExpens... | 8 | Kotlin | 0 | 7 | 8e35f83c34e4b29eae1b048d3fda6aaa81b04858 | 1,492 | lumbridge-android | MIT License |
SingleModuleApp/app/src/main/java/com/github/yamamotoj/singlemoduleapp/package66/Foo06621.kt | yamamotoj | 163,851,411 | false | {"Text": 1, "Ignore List": 30, "Markdown": 1, "Gradle": 34, "Java Properties": 11, "Shell": 6, "Batchfile": 6, "Proguard": 22, "Kotlin": 36021, "XML": 93, "INI": 1, "Java": 32, "Python": 2} | package com.github.yamamotoj.singlemoduleapp.package66
class Foo06621 {
fun method0() {
Foo06620().method5()
}
fun method1() {
method0()
}
fun method2() {
method1()
}
fun method3() {
method2()
}
fun method4() {
method3()
}
fun met... | 0 | Kotlin | 0 | 9 | 2a771697dfebca9201f6df5ef8441578b5102641 | 355 | android_multi_module_experiment | Apache License 2.0 |
WebView/app/src/main/java/com/android/samples/webviewdemo/JsObject.kt | android | 206,877,845 | false | {"Java": 469931, "Kotlin": 289433, "JavaScript": 2890, "CSS": 1896, "HTML": 1663} | /*
* Copyright (C) 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 180 | Java | 3009 | 5,038 | 64bd334762dbe479aae285cadb0d8b2d976381a8 | 3,516 | views-widgets-samples | Apache License 2.0 |
app/src/main/java/com/gonodono/smssender/MainActivity.kt | shageldi-dev | 813,416,302 | false | {"Kotlin": 37778} | package com.gonodono.smssender
import android.content.pm.PackageManager.PERMISSION_GRANTED
import android.os.Bundle
import android.util.Log
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.activity.result.contract.ActivityResultContracts.RequestMultiplePermissions
... | 0 | Kotlin | 0 | 0 | 23fb69fb82537cdaa55090843e3a9f8523834dfe | 10,956 | sms | MIT License |
ggdsl-echarts/src/main/kotlin/org/jetbrains/kotlinx/ggdsl/echarts/layers/PieContextImmutable.kt | Kotlin | 502,039,936 | false | null | /*
* Copyright 2020-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
package org.jetbrains.kotlinx.ggdsl.echarts.layers
import org.jetbrains.kotlinx.ggdsl.dsl.internal.LayerCollectorContextImmutable
// import org.jetbrains.kotlinx.ggdsl.dsl.internal.PlotDslMarker
import org.jetb... | 55 | Kotlin | 2 | 44 | 8a161098d0d946c28bde3cf3c7bea6a1eeba073c | 2,000 | ggdsl | Apache License 2.0 |
app/src/main/java/io/agora/flat/ui/viewmodel/RtcVideoController.kt | netless-io | 358,147,122 | false | {"Kotlin": 1090689, "Shell": 2529, "HTML": 452} | package io.agora.flat.ui.viewmodel
import android.view.TextureView
import android.view.View
import android.widget.FrameLayout
import androidx.core.view.isVisible
import dagger.hilt.android.scopes.ActivityRetainedScoped
import io.agora.flat.di.interfaces.RtcApi
import io.agora.rtc.RtcEngine
import io.agora.rtc.video.Vi... | 0 | Kotlin | 67 | 99 | 989efad4ad2b05d8c106c9eb66a068c30127e35c | 3,053 | flat-android | MIT License |
simpleinterceptor-debug/src/main/java/com/kangaroo/simpleinterceptor/internal/tools/FormatUtils.kt | smartbackme | 369,059,807 | false | null | package com.kangaroo.simpleinterceptor.internal.tools
import android.content.Context
import android.text.TextUtils
import com.google.gson.JsonParser
import com.kangaroo.simpleinterceptor.R
import com.kangaroo.simpleinterceptor.internal.data.HttpHeader
import com.kangaroo.simpleinterceptor.internal.data.HttpTransaction... | 1 | null | 1 | 25 | 966e3420e52c8aba3e8e6980c592ab66f79767b9 | 7,183 | SimpleInterceptor | Apache License 2.0 |
src/main/kotlin/com/github/mikedepies/ConnectionGenome.kt | MikeDepies | 776,556,570 | false | {"Kotlin": 1710} | package com.github.mikedepies
data class ConnectionGenome(val id: Int, val inputNode: NodeGenome, val outputNode: NodeGenome, val weight: Double, val enabled: Boolean) | 0 | Kotlin | 0 | 0 | 28f31d78eddd083c7f9d1958e04864fb28c07e20 | 168 | hyperNeatKotlin | MIT License |
platform/platform-api/src/com/intellij/openapi/progress/tasks.kt | JetBrains | 2,489,216 | false | null | // Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
@file:Experimental
package com.intellij.openapi.progress
import com.intellij.openapi.application.ApplicationManager
import com.intellij.openapi.components.service
import com.intellij.openapi.projec... | 214 | null | 4829 | 15,129 | 5578c1c17d75ca03071cc95049ce260b3a43d50d | 11,002 | intellij-community | Apache License 2.0 |
wgpu4k/src/jsMain/kotlin/io.ygdrasil.wgpu/CommandBuffer.js.kt | wgpu4k | 773,068,055 | false | {"Kotlin": 1936202, "TypeScript": 1001930, "HTML": 93097, "WGSL": 70068, "JavaScript": 8101, "CSS": 5773, "Shell": 253} |
package io.ygdrasil.wgpu
import io.ygdrasil.wgpu.internal.js.GPUCommandBuffer
@JsExport
actual class CommandBuffer(internal val handler: GPUCommandBuffer) : AutoCloseable {
override fun close() {
// Nothing to do
}
} | 0 | Kotlin | 1 | 0 | 56fa04c130dac55f96d61edb3376072a0584bb64 | 224 | wgpu4k | MIT License |
app/src/main/java/com/infoskillstechnology/fluperpaginationdemo/DemoApp.kt | Computer-Programming-Tube | 264,425,610 | false | null | package com.infoskillstechnology.fluperpaginationdemo
import android.app.Application
class DemoApp:Application(){
override fun onCreate() {
super.onCreate()
}
} | 0 | Kotlin | 0 | 0 | 0254da32086267263fb0dcbab1d6cd751c864728 | 179 | FluperPaginationDemo | Apache License 2.0 |
src/test/kotlin/io/github/smaugfm/lunchmoney/TestBase.kt | smaugfm | 609,011,135 | false | {"Kotlin": 189664, "Shell": 1786} | package io.github.smaugfm.lunchmoney
import org.junit.jupiter.api.BeforeAll
import reactor.tools.agent.ReactorDebugAgent
open class TestBase {
companion object {
@BeforeAll
@JvmStatic
fun initReactorTools() {
ReactorDebugAgent.init()
}
}
}
| 0 | Kotlin | 0 | 1 | 0f30a77a92d72b15c9dbeca44de4ad769def3224 | 294 | lunchmoney | MIT License |
src/Day01.kt | Advice-Dog | 436,116,275 | true | {"Kotlin": 25836} | fun main() {
object : CodeRunner("Day01") {
override val part1Result: Long
get() = 7
override val part2Result: Long
get() = 5
override fun part1(input: List<String>): Int {
return input
.map { it.toInt() }
.windowed(2, 1... | 0 | Kotlin | 0 | 0 | 2a2a4767e7f0976dba548d039be148074dce85ce | 695 | advent-of-code-kotlin-template | Apache License 2.0 |
worldwind/src/commonMain/kotlin/earth/worldwind/globe/elevation/CacheSourceFactory.kt | WorldWindEarth | 488,505,165 | false | null | package earth.worldwind.globe.elevation
import earth.worldwind.geom.Sector
import kotlinx.datetime.Instant
interface CacheSourceFactory : ElevationSourceFactory {
/**
* Unique key of this layer in the cache
*/
val contentKey: String
/**
* Path to cache content storage root
*/
val c... | 24 | null | 12 | 98 | b5ee69cdd30f6c6a90bf3bec638a3bc5bdb0fbc2 | 1,040 | WorldWindKotlin | Apache License 2.0 |
src/main/java/de/jotbepunkt/blackbook/masterdata/eventType/EventTypeView.kt | JotBePunkt | 125,917,618 | false | null | package de.jotbepunkt.blackbook.masterdata.eventType
import com.vaadin.spring.annotation.SpringView
import com.vaadin.spring.annotation.ViewScope
import com.vaadin.ui.CheckBox
import com.vaadin.ui.TextArea
import com.vaadin.ui.TextField
import com.vaadin.ui.TwinColSelect
import de.jotbepunkt.blackbook.masterdata.Maste... | 0 | Kotlin | 0 | 0 | e8a34b839435e88c9b7a48d28b30f2448d5f1835 | 1,940 | blackbook | Apache License 2.0 |
build-logic/convention/src/main/kotlin/EasterEggApp.kt | hushenghao | 306,645,388 | false | {"Kotlin": 766881, "Java": 579645, "Python": 13697, "Ruby": 7903} | import com.android.build.gradle.internal.dsl.BaseAppModuleExtension
import org.gradle.api.Plugin
import org.gradle.api.Project
import org.gradle.kotlin.dsl.dependencies
import org.gradle.kotlin.dsl.project
class EasterEggApp : Plugin<Project> {
override fun apply(target: Project) {
with(target) {
... | 4 | Kotlin | 31 | 626 | e1874513fbf03f7b1fbb2c89ce093dc97728e162 | 1,191 | AndroidEasterEggs | Apache License 2.0 |
shared/src/commonMain/kotlin/com/san/englishbender/data/local/dataStore/IDataStore.kt | SanEffect | 661,043,037 | false | null | package com.san.englishbender.data.local.dataStore
import com.san.englishbender.data.local.dataStore.models.AppSettings
import com.san.englishbender.data.local.dataStore.models.UserSettings
import kotlinx.coroutines.flow.Flow
import org.koin.core.component.KoinComponent
interface IDataStore : KoinComponent {
fun ... | 0 | Kotlin | 0 | 0 | 39469ca2231b2cc1e6869d0d1461d32d87f1abef | 549 | EngApp | MIT License |
bot/connector-businesschat/src/main/kotlin/model/csp/listPicker/ListPicker.kt | theopenconversationkit | 84,538,053 | false | {"Kotlin": 6173880, "TypeScript": 1286450, "HTML": 532576, "Python": 376720, "SCSS": 79512, "CSS": 66318, "Shell": 12085, "JavaScript": 1849} | /*
* Copyright (C) 2017/2021 e-voyageurs technologies
*
* 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... | 163 | Kotlin | 127 | 475 | 890f69960997ae9146747d082d808d92ee407fcb | 2,274 | tock | Apache License 2.0 |
domain/src/commonMain/kotlin/uk/co/sentinelweb/cuer/domain/PlayerStateDomain.kt | sentinelweb | 220,796,368 | false | {"Kotlin": 2627352, "CSS": 205156, "Java": 98919, "Swift": 85812, "HTML": 19322, "JavaScript": 12105, "Ruby": 2170} | package uk.co.sentinelweb.cuer.domain
import kotlinx.serialization.Serializable
@Serializable
enum class PlayerStateDomain {
UNKNOWN,
UNSTARTED,
ENDED,
PLAYING,
PAUSED,
BUFFERING,
VIDEO_CUED,
ERROR
} | 94 | Kotlin | 0 | 2 | f74e211570fe3985ba45848b228e91a3a8593788 | 233 | cuer | Apache License 2.0 |
mvvm-core/src/androidMain/kotlin/dev/icerock/moko/mvvm/ViewModelFactory.kt | icerockdev | 204,883,322 | false | null | /*
* Copyright 2019 IceRock MAG Inc. Use of this source code is governed by the Apache 2.0 license.
*/
package dev.icerock.moko.mvvm
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import androidx.lifecycle.ViewModelStoreOwner
class ViewModelFactory(
private val viewModelBlock: ... | 35 | Kotlin | 77 | 675 | 4ab6dee9a53c1a5b5e6eac3f913d403be1cb89f5 | 904 | moko-mvvm | Apache License 2.0 |
src/backend/codecc/core/defect/biz-defect/src/main/kotlin/com/tencent/bk/codecc/defect/service/impl/DefectAuthTaskServiceImpl.kt | Florence-y | 466,159,327 | false | null | package com.tencent.bk.codecc.codeccjob.service.impl
import com.tencent.bk.codecc.task.api.ServiceTaskRestResource
import com.tencent.devops.common.api.QueryTaskListReqVO
import com.tencent.devops.common.auth.api.external.AuthTaskService
import com.tencent.devops.common.auth.api.pojo.external.KEY_CREATE_FROM
import co... | 0 | null | 0 | 2 | 58baee8fabd09ff8e42885162a3b894bab1577da | 4,718 | bk-ci | MIT License |
zxscanner/android/app/src/androidTest/java/com/markosyan/zxscanner/JUnit4StyleTests.kt | khoren93 | 472,074,535 | false | {"Dart": 145723, "C++": 41271, "CMake": 21237, "Swift": 17133, "Ruby": 9596, "C": 2026, "Kotlin": 1981, "HTML": 1818, "Shell": 854, "Objective-C": 76} | package com.markosyan.zxscanner
import androidx.test.ext.junit.rules.ActivityScenarioRule
import org.junit.*
import org.junit.runner.RunWith
import org.junit.runners.JUnit4
import tools.fastlane.screengrab.Screengrab
import tools.fastlane.screengrab.UiAutomatorScreenshotStrategy
import tools.fastlane.screengrab.cleans... | 42 | Dart | 56 | 98 | 8678ebf7e13a447416a486b0c7bca52ce832cdc9 | 1,401 | flutter_zxing | MIT License |
backend/src/main/kotlin/be/osoc/team1/backend/util/Serializers.kt | SELab-2 | 457,425,785 | false | null | package be.osoc.team1.backend.util
import be.osoc.team1.backend.entities.Position
import be.osoc.team1.backend.entities.Project
import be.osoc.team1.backend.entities.Student
import be.osoc.team1.backend.entities.User
import com.fasterxml.jackson.core.JsonGenerator
import com.fasterxml.jackson.databind.SerializerProvid... | 2 | Kotlin | 0 | 8 | 66692b6c5ceb2cf9852e1fd051a7d62ea7bcd27e | 1,061 | OSOC-1 | MIT License |
libraries/core/src/main/java/com/n27/core/presentation/detail/adapters/ResultsAdapter.kt | Narsuf | 52,900,182 | false | {"Kotlin": 247331} | package com.n27.core.presentation.detail.adapters
import android.graphics.Color
import android.view.LayoutInflater
import android.view.ViewGroup
import android.widget.TextView
import androidx.constraintlayout.widget.ConstraintLayout
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.Recyc... | 1 | Kotlin | 0 | 2 | ef21ef7e7ef0b132224e6d40f316e960932ee895 | 2,267 | Elections | Apache License 2.0 |
src/main/kotlin/net/sonmoosans/dui/listeners/ComponentListener.kt | fuma-nama | 529,182,440 | false | {"Kotlin": 85867} | package net.sonmoosans.dui.listeners
import net.sonmoosans.dui.Component
import net.sonmoosans.dui.Data
import net.dv8tion.jda.api.events.interaction.ModalInteractionEvent
import net.dv8tion.jda.api.events.interaction.component.GenericComponentInteractionCreateEvent
import net.dv8tion.jda.api.hooks.ListenerAdapter
imp... | 0 | Kotlin | 0 | 6 | 743c74ccfcef8681111d4653c8f99605d399f2f0 | 3,795 | discord-ui | MIT License |
collaboration-suite-glass-ui/src/main/java/com/kaleyra/collaboration_suite_glass_ui/participants/ParticipantStateTextView.kt | Bandyer | 337,367,845 | false | null | /*
* Copyright 2023 Kaleyra @ https://www.kaleyra.com
*
* 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 applic... | 1 | null | 2 | 2 | 2a9dc8f493337a466bdfb0c94b9a8c7c9077a312 | 2,283 | Bandyer-Android-Design | Apache License 2.0 |
core-starter/src/main/kotlin/com/labijie/application/configuration/ApplicationDefaultsAutoConfiguration.kt | hongque-pro | 309,874,586 | false | {"Kotlin": 1081011, "Java": 72766} | /**
* @author <NAME>
* @date 2024-05-28
*/
package com.labijie.application.configuration
import com.labijie.application.component.IEmailAddressValidator
import com.labijie.application.component.IPhoneValidator
import com.labijie.application.component.impl.NationalPhoneValidator
import com.labijie.application.compon... | 0 | Kotlin | 0 | 7 | db1ab039b44d9c9f710bf74ac31a85ad95ef94cc | 1,120 | application-framework | Apache License 2.0 |
examples/KotlinMP-Example/app/src/main/java/presentation/adapters/DeviceAdapter.kt | jamesjmtaylor | 319,074,911 | true | null | package presentation.adapters
import android.view.View
import android.view.ViewGroup
import android.widget.BaseAdapter
import org.jetbrains.anko.linearLayout
import org.jetbrains.anko.padding
import org.jetbrains.anko.textView
import presentation.viewmodels.device.DeviceServiceViewModel
class DeviceAdapter(var device... | 0 | Kotlin | 1 | 8 | 68a9ccfad87809b9c4ecd657be3bdecca58ad65d | 964 | blue-falcon-ftms | MIT License |
app/src/main/java/org/md/pegpixel/pegboard/Peg.kt | PegPixel | 153,925,429 | false | {"Kotlin": 30541} | package org.md.pegpixel.pegboard
data class Peg(
val columnIndex: Int,
val rowIndex: Int,
var selected: Boolean,
var color: Int) {
fun toggleSelect() {
selected = !selected
}
} | 0 | Kotlin | 0 | 1 | 8a8c78b53c5bedb43194b27f0fb1cef83956bf8e | 226 | pegpixel-app | MIT License |
app/src/main/java/se/locutus/sl/realtidhem/service/WakeLockReceiever.kt | ovelius | 157,601,439 | false | {"Kotlin": 210551, "Batchfile": 162} | package se.locutus.sl.realtidhem.service
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import java.util.logging.Logger
internal class WakeLockReceiever(val service : BackgroundUpdaterService) : BroadcastReceiver() {
companion object {
val LOG = Logge... | 2 | Kotlin | 0 | 3 | ff49106e55980bed22375d3465d21d2180e78b9e | 721 | SlRealtidwidget-ng | Apache License 2.0 |
app/src/main/java/com/dokja/mizumi/repository/AppRepository.kt | shrimpyvongue | 761,620,637 | false | {"Kotlin": 144521} | package com.dokja.mizumi.repository
import android.content.Context
import androidx.core.net.toUri
import com.dokja.mizumi.data.Response
import com.dokja.mizumi.data.local.MizumiDatabase
import com.dokja.mizumi.data.local.chapter.Chapter
import com.dokja.mizumi.data.local.library.LibraryItem
import com.dokja.mizumi.epu... | 0 | Kotlin | 1 | 1 | eabf20688848d6896430de4e271bec46fe6a0b98 | 3,309 | Mizumi | MIT License |
app/src/main/java/com/hercan/rickandmortyapp/ui/home/HomeViewModel.kt | hanifeercan | 623,656,170 | false | null | package com.hercan.rickandmortyapp.ui.home
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import androidx.paging.PagingData
import androidx.paging.liveData
import com.hercan.rickandmortyapp.domain.repository.Rick... | 0 | Kotlin | 0 | 0 | 6b760f229d08dbfb6486f9b0d5d79540ccf91860 | 2,253 | RickAndMortyApp | MIT License |
app/src/main/java/com/revolgenx/anilib/user/fragment/AnimeUserStatsStaffFragment.kt | AniLibApp | 244,410,204 | false | {"Kotlin": 1593083, "Shell": 52} | package com.revolgenx.anilib.user.fragment
class AnimeUserStatsStaffFragment : UserStatsStaffFragment()
| 36 | Kotlin | 3 | 76 | b3caec5c00779c878e4cf22fb7d2034aefbeee54 | 105 | AniLib | Apache License 2.0 |
bot/storage-mongo/target/generated-sources/kapt/compile/ai/tock/bot/mongo/ArchivedEntityValuesCol_Deserializer.kt | theopenconversationkit | 84,538,053 | false | null | package ai.tock.bot.mongo
import com.fasterxml.jackson.core.JsonParser
import com.fasterxml.jackson.core.JsonToken
import com.fasterxml.jackson.core.type.TypeReference
import com.fasterxml.jackson.databind.DeserializationContext
import com.fasterxml.jackson.databind.JsonDeserializer
import com.fasterxml.jackson.databi... | 163 | null | 127 | 475 | 890f69960997ae9146747d082d808d92ee407fcb | 4,678 | tock | Apache License 2.0 |
src/commonMain/kotlin/uk/org/jurg/yakl/engine/v2/exceptions/DuplicateKeyException.kt | jurgc11 | 250,645,845 | false | null | /*
* Copyright (c) 2018, http://www.snakeyaml.org
* Copyright (c) 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
*
* Unl... | 2 | Kotlin | 0 | 3 | 5677967ab51f4bc6096bd6b953248f389898aa9d | 962 | yakl | Apache License 2.0 |
app/src/main/java/dev/arkbuilders/rate/presentation/summary/SummaryViewModel.kt | ARK-Builders | 515,514,394 | false | null | package space.taran.arkrate.presentation.summary
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import androidx.lifecycle.viewModelScope
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.launchIn
import kotlinx.coroutines.flow.onEach
import kotlinx.coroutin... | 6 | Kotlin | 1 | 2 | 2f3c9b160016954df658d354bb3dbbc83df22ea5 | 2,404 | ARK-Rate | MIT License |
lib/src/main/kotlin/model/Statement.kt | sschuberth | 110,685,170 | false | null | @file:UseSerializers(
dev.schuberth.stan.utils.LocaleSerializer::class,
dev.schuberth.stan.utils.LocalDateSerializer::class
)
package dev.schuberth.stan.model
import java.time.LocalDate
import java.util.Locale
import kotlinx.serialization.Serializable
import kotlinx.serialization.UseSerializers
@Serializabl... | 0 | Kotlin | 2 | 9 | c7fe4feaaf5dfdd4fc197b16ff40ed7fb0790b48 | 786 | stan | Apache License 2.0 |
src/main/kotlin/site/xiaocao/genshin/dto/QueryRole.kt | git-xiaocao | 458,071,305 | false | null | package site.xiaocao.genshin.dto
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class QueryRole(
@SerialName("character_ids")
val characterIds: List<Int>,
@SerialName("role_id")
val roleId: String,
val server: String,
)
| 0 | Kotlin | 1 | 8 | 8bacbda35cc9008339ae197ddfa069765e668a54 | 296 | genshin-query | MIT License |
data/src/main/java/com/youhajun/data/models/dto/gpt/ChatGptResponse.kt | YeonjunNotPed | 757,175,597 | false | {"Kotlin": 402548} | package com.youhajun.model_data.gpt
import com.google.gson.annotations.SerializedName
data class ChatGptResponse(
@SerializedName("id")
val id: String,
@SerializedName("choices")
val messageList: List<ChatGptMessageInfoResponse>,
@SerializedName("created")
val created: Long,
@Serialized... | 0 | Kotlin | 0 | 0 | d097fe886b1d8d030569765d8a10edd461e89830 | 358 | MyTask | Apache License 2.0 |
airbyte-data/src/test/kotlin/io/airbyte/data/services/impls/data/DeclarativeManifestImageVersionServiceDataImplTest.kt | airbytehq | 592,970,656 | false | null | package io.airbyte.data.services.impls.data
import io.airbyte.data.repositories.DeclarativeManifestImageVersionRepository
import io.airbyte.data.repositories.entities.DeclarativeManifestImageVersion
import io.mockk.clearAllMocks
import io.mockk.confirmVerified
import io.mockk.every
import io.mockk.mockk
import io.mock... | 54 | null | 249 | 205 | a2e58f1b60ea79ec96546c98f712077c82de373a | 4,449 | airbyte-platform | MIT License |
app/src/main/java/com/merttoptas/composebase/features/component/RickAndMortySearchBar.kt | merttoptas | 467,006,657 | false | null | package com.berger.baseapp.features.component
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layou... | 2 | null | 25 | 227 | 84ce69aaab69ca351c09712bc7213da0dcbf7639 | 2,228 | BaseApp-Jetpack-Compose-Android-Kotlin | Apache License 2.0 |
core/src/main/kotlin/net/rikarin/options/OptionsManager.kt | Rikarin | 586,107,122 | false | null | package net.rikarin.options
class OptionsManager<TOptions : Any>(private val factor: OptionsFactory<TOptions>) : Options<TOptions>,
OptionsSnapshot<TOptions> {
private val _cache = OptionsCache<TOptions>()
override fun get(name: String?): TOptions {
val n = name ?: Options.DEFAULT_NAME
TO... | 0 | Kotlin | 0 | 0 | ae49fd70b3a46c5e74e161758f6e7eeaed08ed88 | 421 | kotlin | MIT License |
core/src/commonMain/kotlin/work/socialhub/kmisskey/api/request/files/FilesCreateRequest.kt | uakihir0 | 756,689,268 | false | {"Kotlin": 248708, "Shell": 2141, "Makefile": 316} | package work.socialhub.kmisskey.api.request.files
import kotlinx.serialization.Serializable
import work.socialhub.kmisskey.api.model.TokenRequest
import kotlin.js.JsExport
@JsExport
@Serializable
class FilesCreateRequest : TokenRequest() {
var folderId: String? = null
var name: String? = null
var comment... | 0 | Kotlin | 1 | 6 | f59e9296d3e1976cd92fe853b5811f63a38b8d41 | 439 | kmisskey | MIT License |
plugins/pill/pill-importer/src/render.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.pill
import org.jetbrains.kotlin.pill.model.*
import org.jetbrains.kotlin.pill.u... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 8,435 | kotlin | Apache License 2.0 |
idea/testData/quickfix/typeMismatch/typeMismatchOnReturnedExpression/beforeDontChangeFunctionReturnTypeToErrorType.kt | develar | 4,304,550 | false | null | // "Change 'foo' function return type to '([ERROR : NoSuchType]) -> Int'" "false"
// ERROR: <html>Type mismatch.<table><tr><td>Required:</td><td>kotlin.Int</td></tr><tr><td>Found:</td><td>([ERROR : NoSuchType]) → kotlin.Int</td></tr></table></html>
// ERROR: Unresolved reference: NoSuchType
fun foo(): Int {
re... | 0 | null | 0 | 1 | bf5b387580265cba01efc8fd30d1d0c0b41ac5a9 | 359 | kotlin | Apache License 2.0 |
compiler/testData/loadJava/compiledKotlin/annotations/classes/Simple.kt | JakeWharton | 99,388,807 | false | null | package test
annotation class Anno
@Anno class X
| 179 | null | 5640 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 51 | kotlin | Apache License 2.0 |
src/main/kotlin/com/ex_dock/ex_dock/frontend/text_pages/router/textPagesRouter.kt | rensPols | 849,499,548 | false | {"Kotlin": 36915, "Dockerfile": 511} | package com.ex_dock.ex_dock.frontend.text_pages.router
import io.vertx.ext.web.Router
import io.vertx.core.Vertx
fun Router.initTextPages(vertx: Vertx) {
val textPagesRouter = Router.router(vertx)
textPagesRouter.get("/").handler { ctx ->
ctx.end("request to textPagesRouter successful")
}
this.route("/t... | 14 | Kotlin | 0 | 2 | 54268d24375a78e50a2cb78235256e391674927f | 362 | ex-dock | Apache License 2.0 |
plugins/package-search/src/com/jetbrains/packagesearch/intellij/plugin/ui/toolwindow/panels/management/packages/columns/renderers/PackageScoreTableCellRenderer.kt | ingokegel | 72,937,917 | true | null | /*******************************************************************************
* Copyright 2000-2023 JetBrains s.r.o. and contributors.
*
* 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
... | 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 3,348 | intellij-community | Apache License 2.0 |
Corona-Warn-App/src/test/java/de/rki/coronawarnapp/submission/auto/AutoSubmissionTest.kt | corona-warn-app | 268,027,139 | false | null | package de.rki.coronawarnapp.submission.auto
import androidx.work.ExistingPeriodicWorkPolicy
import androidx.work.NetworkType
import androidx.work.WorkManager
import de.rki.coronawarnapp.coronatest.type.BaseCoronaTest
import de.rki.coronawarnapp.submission.SubmissionSettings
import de.rki.coronawarnapp.submission.task... | 6 | Kotlin | 504 | 2,486 | 7b0eee8d53a090ee0ca585c6a90c4cec570e51d6 | 6,930 | cwa-app-android | Apache License 2.0 |
compiler/testData/codegen/box/invokedynamic/sam/builtinMemberReference.kt | JetBrains | 3,432,266 | false | null | // TARGET_BACKEND: JVM
// JVM_TARGET: 1.8
// SAM_CONVERSIONS: INDY
// CHECK_BYTECODE_TEXT
// 0 java/lang/invoke/LambdaMetafactory
// 1 final synthetic class BuiltinMemberReferenceKt\$box\$test\$1
fun interface IntFun {
fun invoke(i: Int): Int
}
fun invoke1(intFun: IntFun) = intFun.invoke(1)
fun box(): String {
... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 415 | kotlin | Apache License 2.0 |
gradle/apps/kotlin-portlet/src/main/kotlin/com/liferay/blade/samples/portlet/kotlin/KotlinGreeterPortletKt.kt | roberto1073 | 116,287,398 | true | {"Java": 2581793, "JavaScript": 13795, "Shell": 7592, "FreeMarker": 5931, "Batchfile": 5630, "CSS": 3504, "Kotlin": 3457, "TypeScript": 3113, "HTML": 982, "PLSQL": 930} | /**
* Copyright 2000-present Liferay, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | 0 | Java | 0 | 0 | d12954a751aa2f0c940d5f5782b589523ed4ba73 | 1,385 | liferay-blade-samples | Apache License 2.0 |
clientprotocol/src/commonMain/generated/org/inthewaves/kotlinsignald/clientprotocol/v1/structures/SendRequest.kt | inthewaves | 398,221,861 | false | null | // File is generated by ./gradlew generateSignaldClasses --- do not edit unless reformatting
package org.inthewaves.kotlinsignald.clientprotocol.v1.structures
import kotlinx.serialization.KSerializer
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import org.inthewaves.kotlinsignald.c... | 2 | Kotlin | 1 | 2 | 9259e3f41e87f32b4bf2e6f88179489e4f36d8ca | 3,621 | kotlin-signald | MIT License |
core-starter/src/main/kotlin/com/labijie/application/data/pojo/FileIndex.kt | hongque-pro | 309,874,586 | false | {"Kotlin": 1021178, "Java": 72766} | @file:Suppress("RedundantVisibilityModifier")
package com.labijie.application.`data`.pojo
import kotlin.Long
import kotlin.String
/**
* POJO for FileIndexTable
*
* This class made by a code generation tool (https://github.com/hongque-pro/infra-orm).
*
* Don't modify these codes !!
*
* Origin Exposed Table:
*... | 0 | Kotlin | 0 | 7 | 9cb2b41de76734d1743f61419a5a31c9546f5d79 | 572 | application-framework | Apache License 2.0 |
app/src/main/java/com/searchit/hastime/receiver/ScreenStateReceiver.kt | AmanBang | 876,281,406 | false | {"Kotlin": 31218} | package com.searchit.hastime.receiver
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import android.util.Log
import com.searchit.hastime.Room.MyDatabase
import com.searchit.hastime.Room.model.EventLog
import kotlinx.coroutines.CoroutineScope
import kotlinx.corout... | 0 | Kotlin | 0 | 0 | 1fcb15dc177b3f634ff7cc27437169b68934015d | 1,599 | HasTime | MIT License |
list/src/testCommon/kotlin/com/rey/movies/data/source/remote/FakeMovieRemoteDataImpl.kt | stefanus-dany | 371,651,162 | false | {"Kotlin": 30424} | package com.rey.movies.data.source.remote
import com.rey.lib.cleanarch.domain.dto.Result
import com.rey.lib.cleanarch.domain.dto.UNKNOWN_ERROR
import com.rey.lib.cleanarch.domain.dto.suspendTryCatch
import com.rey.list.data.repository.source.remote.MovieRemoteData
import com.rey.movies.domain.dto.MovieResponse
class ... | 0 | Kotlin | 1 | 0 | 9d910b5e9d52fc5cf7e752a709f9c3e21fcc80be | 655 | android-movies-sample | Apache License 2.0 |
shared/src/commonMain/kotlin/WelcomeScreen.kt | Pireeee | 721,595,517 | false | {"Kotlin": 27812, "Swift": 580, "Shell": 228} | import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxHeight
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foun... | 0 | Kotlin | 0 | 0 | 0136aeff324b4e7833430238a1aab42762451668 | 2,991 | MineQuizProjet | Apache License 2.0 |
microservices/edge/src/main/kotlin/kr/revfactory/edge/controller/CrmRestController.kt | revfactory | 437,314,629 | false | null | package kr.revfactory.edge.controller
import kr.revfactory.edge.service.CrmService
import org.springframework.stereotype.Controller
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.ResponseBody
@Controller
@ResponseBody
class CrmRestController(private val crmSer... | 0 | Kotlin | 0 | 0 | 01f567d7a3bfd24c7cbdb6423a61ac85610eb1b6 | 452 | reactive-programming | Apache License 2.0 |
app/src/main/java/com/suihan74/hatenaLib/EntriesType.kt | suihan74 | 207,459,108 | false | {"Kotlin": 1729040, "Java": 10330} | package com.suihan74.hatenaLib
import androidx.annotation.StringRes
import com.suihan74.satena.R
enum class EntriesType(val id: Int) {
Hot(0),
Recent(1);
// for Gson
private constructor() : this(0)
companion object {
fun fromId(id: Int) = values().firstOrNull { it.id == id } ?: Hot
... | 14 | Kotlin | 1 | 7 | ee29a0ed1d60c9ee35bb03f128d0e39c58e3a4c4 | 832 | Satena | MIT License |
App/app/src/main/java/com/app/appellas/viewmodel/user/HomeViewModel.kt | spocasangre | 656,841,017 | false | null | /*
Copyright 2023 WeGotYou!
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | 0 | Kotlin | 0 | 0 | 2d91163f417b8f56a334d16abcad4aec3dc28ab3 | 2,894 | proyecto_aca_2023 | Apache License 2.0 |
src/test/kotlin/com/aquivalabs/force/ant/reporters/CoberturaCoverageReporterTestCase.kt | valmaev | 70,699,743 | false | null | package com.aquivalabs.force.ant.reporters
import com.aquivalabs.force.ant.codeCoverageResult
import com.aquivalabs.force.ant.codeLocation
import com.aquivalabs.force.ant.deployResult
import com.aquivalabs.force.ant.runTestsResult
import com.aquivalabs.force.ant.reporters.cobertura.Coverage
import com.aquivalabs.force... | 3 | null | 2 | 2 | d48f151782bd343aa635d706b4806b3e499ed384 | 15,830 | antforce | Apache License 2.0 |
backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/CompilerOutput.kt | horita-yuya | 158,491,258 | false | null | /*
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the LICENSE file.
*/
package org.jetbrains.kotlin.backend.konan
import llvm.LLVMLinkModules2
import llvm.LLVMWriteBitcodeToFile
import org.jetbrains.kotlin.backend.konan.library.impl.buildL... | 0 | null | 0 | 1 | 6d141ba87d576e87d87f905627b83f3dac7202b0 | 3,638 | kotlin-native | Apache License 2.0 |
app/src/main/java/com/example/buynow/presentation/seller/adapter/OrderSellerAdapter.kt | Shanan23 | 794,368,317 | false | {"Kotlin": 220243} | package com.example.buynow.presentation.seller.adapter
import android.content.Context
import android.content.Intent
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Filter
import android.widget.Filterable
import android.widget.ImageView
import android.wid... | 0 | Kotlin | 0 | 0 | 072435120a602f1818e692ad95a58b0c887b496a | 4,565 | ToSerba | MIT License |
demo/src/main/java/com/bytedance/scenedemo/animation/TransitionListDemo.kt | bytedance | 213,812,935 | false | {"Java": 2232337, "Kotlin": 42131} | package com.bytedance.scenedemo.animation
import android.os.Build
import androidx.annotation.RequiresApi
import android.view.LayoutInflater
import android.view.ViewGroup
import android.os.Bundle
import com.bytedance.scenedemo.R
import android.view.View
import android.widget.Button
import android.widget.LinearLayout
im... | 2 | Java | 197 | 2,067 | 61ffdf4c4aff627afb8e3b2cf615dbd6704b3cb5 | 2,595 | scene | Apache License 2.0 |
app/src/main/java/com/csc2007/notetaker/ui/Theme.kt | mcdulltii | 741,826,311 | false | {"Kotlin": 457049} | package com.csc2007.notetaker.ui
import android.app.Activity
import android.os.Build
import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.darkColorScheme
import androidx.compose.material3.dynamicDarkColorScheme
import androidx.compose.... | 31 | Kotlin | 0 | 1 | c07db1b27d15debb98735cbb020799a6e17c55e2 | 3,602 | CSC2007 | MIT License |
app/src/main/java/com/rangganf/storyappearly/ui/maps/MapViewModel.kt | RanggaNf | 820,492,762 | false | {"Kotlin": 84236} | package com.rangganf.storyappearly.ui.maps
import androidx.lifecycle.ViewModel
import com.rangganf.storyappearly.data.StoryRepository
/**
* ViewModel untuk menangani logika terkait tampilan peta (maps) dan data cerita.
*
* @param storyRepository Repository untuk mengakses data cerita.
*/
class MapViewModel(privat... | 0 | Kotlin | 0 | 1 | 2d25b89fe8cc3f335d6078e3c6c7735a2fda05b0 | 622 | StoryApp | MIT License |
src/test/java/ar/edu/unq/eperdemic/utils/DataService.kt | Dominikowivan | 257,255,510 | false | null | package ar.edu.unq.eperdemic.utils
interface DataService {
fun crearSetDeDatosIniciales()
fun eliminarTodo()
} | 0 | Kotlin | 0 | 0 | d0b012c8cd6d6aed07fdc054f40573dee6fc08be | 119 | EPERdemic_Backend | MIT License |
kotlin-micronaut/src/main/kotlin/x/domainpersistencemodeling/PersistedChanges.kt | binkley | 227,846,529 | false | {"Markdown": 2, "CODEOWNERS": 1, "Batchfile": 3, "Shell": 7, "Maven POM": 3, "Dockerfile": 1, "YAML": 6, "Ignore List": 3, "Git Attributes": 3, "INI": 6, "Java": 42, "Java Properties": 1, "Kotlin": 73, "XML": 3, "SQL": 2, "PLpgSQL": 4} | package x.domainpersistencemodeling
import io.micronaut.data.annotation.Repository
import io.micronaut.data.exceptions.DataAccessException
import javax.inject.Singleton
import javax.transaction.Transactional
/**
* @todo Generic repository needs `@Repository` but crud does not
* @todo Why does kotlin open plugin n... | 1 | null | 1 | 1 | 22dc7763ef1cffb63ffb0f18f7bbe5f6fb975b4e | 917 | domain-persistence-modeling | The Unlicense |
android/src/main/kotlin/org/acyb/sayit/app/SayIt.kt | a-cyborg | 766,941,087 | false | {"Kotlin": 64500} | /*
* Copyright (c) 2024 <NAME> / All rights reserved.
*
* Use of this source code is governed by Apache v2.0
*/
package org.acyb.sayit.app
import android.app.Application
class SayIt : Application()
| 0 | Kotlin | 0 | 0 | dc69c992895d0377dc6cc499dfc3e9e876758873 | 205 | SayItAlarmMP | Apache License 2.0 |
src/main/kotlin/dev/itv/itv_proyecto/di/Modulo.kt | AlvaroDVA | 641,823,911 | false | null | package dev.itv.itv_proyecto.di
import dev.itv.itv_proyecto.config.AppConfig
import dev.itv.itv_proyecto.repositories.InformeRepositoryImpl
import dev.itv.itv_proyecto.repositories.PropietarioRepositoryImpl
import dev.itv.itv_proyecto.repositories.TrabajadorRepositoryImpl
import dev.itv.itv_proyecto.repositories.Vehic... | 0 | Kotlin | 1 | 1 | c63907fde55a46c2d54bf04a985b1cab41c45a35 | 1,390 | Proyecto_ITV | Creative Commons Zero v1.0 Universal |
app/src/main/kotlin/com/peecock/ymusic/ui/screens/searchresult/SearchResultScreen.kt | geekeie | 852,991,746 | false | {"Kotlin": 3810622, "Batchfile": 445} | package com.peecock.ymusic.ui.screens.searchresult
import android.annotation.SuppressLint
import androidx.compose.animation.ExperimentalAnimationApi
import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.foundation.clickable
import androidx.compose.foundation.combinedClickable
import andr... | 0 | Kotlin | 0 | 0 | bcc8e691579ea2c6f04e9287e45056e9fb85c532 | 37,982 | YMusic | Apache License 2.0 |
app/src/main/java/com/germanautolabs/acaraus/screens/articles/list/ArticleListScreen.kt | alexandrucaraus | 836,093,916 | false | {"Kotlin": 57869} | package com.germanautolabs.acaraus.screens.articles.list
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.size
import androidx.compose.... | 0 | Kotlin | 0 | 0 | 9e42bdc964fd9fd82598bd8558f11f8d36f3644f | 2,820 | germanautolabs | MIT License |
example-v8/src/main/kotlin/com/github/vok/karibudsl/example/CommonElementsView.kt | tcbuddy | 384,814,707 | true | {"Kotlin": 423344, "HTML": 16485, "CSS": 3191} | package com.github.vok.karibudsl.example
import com.github.vok.karibudsl.*
import com.vaadin.event.ShortcutAction
import com.vaadin.icons.VaadinIcons
import com.vaadin.navigator.View
import com.vaadin.navigator.ViewChangeListener
import com.vaadin.server.AbstractErrorMessage
import com.vaadin.server.Page
import com.va... | 0 | Kotlin | 0 | 0 | a1b1dfbf3cb6bd0cefe741e2fbaf6ede08f0fe36 | 17,502 | karibu-dsl | MIT License |
router/src/main/java/com/fzm/chat/router/main/SimpleTx.kt | txchat | 507,831,442 | false | {"Kotlin": 2234450, "Java": 384844} | package com.fzm.chat.router.main
import java.io.Serializable
/**
* @author zhengjy
* @since 2021/08/13
* Description:
*/
data class SimpleTx(
val hash: String,
/**
* 交易时间
*/
val blockTime: Long,
/**
* 矿工费
*/
val fee: String,
/**
* 转账地址
*/
val from: String,... | 0 | Kotlin | 1 | 1 | 6a3c6edf6ae341199764d4d08dffd8146877678b | 949 | ChatPro-Android | MIT License |
src/main/kotlin/de/sambalmueslie/openevent/storage/location/LocationData.kt | Black-Forrest-Development | 542,810,521 | false | {"Kotlin": 334759, "TypeScript": 179633, "HTML": 73007, "SCSS": 3950, "Batchfile": 202} | package de.sambalmueslie.openevent.storage.location
import de.sambalmueslie.openevent.core.model.Event
import de.sambalmueslie.openevent.core.model.Location
import de.sambalmueslie.openevent.core.model.LocationChangeRequest
import de.sambalmueslie.openevent.storage.SimpleDataObject
import jakarta.persistence.*
import ... | 6 | Kotlin | 0 | 1 | 43cf66668db937150ae8f14078437c1e5a7287e2 | 2,162 | open-event | Apache License 2.0 |
eartho-one/src/main/java/com/eartho/one/request/ErrorAdapter.kt | eartho-group | 499,781,444 | false | null | package com.auth0.android.request
import java.io.IOException
import java.io.Reader
/**
* Adapter that converts from different sources into the <T> class that represents an error.
*/
public interface ErrorAdapter<T> {
/**
* Converts the JSON input given in the Reader to the <T> instance.
* @param stat... | 5 | null | 136 | 5 | c57130f02e3765969aeb16d8156daa749f536710 | 1,171 | one-client-kotlin | MIT License |
alerting/src/main/kotlin/com/amazon/opendistroforelasticsearch/alerting/action/IndexMonitorAction.kt | marshell0 | 400,442,979 | false | null | /*
* Copyright 2020 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://www.apache.org/licenses/LICENSE-2.0
*... | 15 | null | 82 | 3 | e571571c7abd4ade9fc230c0d449423f947ae0ea | 984 | alerting | Apache License 2.0 |
app/src/main/java/com/projectbyzakaria/animes/ui/component/ErrorShow.kt | HmidouZaka | 680,457,944 | false | null | package com.projectbyzakaria.animes.ui.component
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.size
import androidx.compose.found... | 0 | Kotlin | 0 | 1 | 32a6a8131e0659379ca0d76dd86f9b57bb7e1bb8 | 1,927 | Anime-Android-App | MIT License |
kotlin/samples/dungeon/common/src/main/java/com/squareup/sample/dungeon/board/BoardCell.kt | arriolac | 208,501,497 | true | {"Kotlin": 713665, "Swift": 410693, "Ruby": 13608, "Shell": 5606, "Java": 2817} | /*
* Copyright 2019 Square Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 0 | null | 0 | 1 | 8acff486c2fc80b1de2e1956170819f03fa0eafd | 1,317 | workflow | Apache License 2.0 |
app/src/main/java/com/fracta7/csgostats/presentation/main_screen/MainScreenState.kt | fracta7 | 529,130,175 | false | null | package com.fracta7.csgostats.presentation.main_screen
import com.fracta7.csgostats.domain.model.UserStats
data class MainScreenState(
val stats: List<UserStats> = emptyList(),
val status: String = "",
val showStats: Boolean = false
)
| 0 | Kotlin | 0 | 1 | a2e05cd665925a695351cf3838794cf1c6aa3aea | 249 | CSGO-Stats-Android | MIT License |
library/src/main/kotlin/com/daniloaraujosilva/mathemagika/library/common/mathematica/functions/GridGraph.kt | Danilo-Araujo-Silva | 271,904,885 | false | null | package com.daniloaraujosilva.mathemagika.library.common.mathematica.functions
import com.daniloaraujosilva.mathemagika.library.common.mathematica.MathematicaFunction
/**
*````
*
* Name: GridGraph
*
* Full name: System`GridGraph
*
* GridGraph[{m, n}] gives the grid graph wi... | 2 | Kotlin | 0 | 3 | 4fcf68af14f55b8634132d34f61dae8bb2ee2942 | 4,027 | mathemagika | Apache License 2.0 |
library/src/main/java/dev/storeforminecraft/skinviewandroid/library/libs/BufferUtil.kt | storeforminecraft | 517,862,529 | false | {"Kotlin": 44552} | package dev.storeforminecraft.skinviewandroid.library.libs
import java.nio.ByteBuffer
import java.nio.ByteOrder
import java.nio.FloatBuffer
import java.nio.ShortBuffer
/**
* GL ES buffer related utils
*/
object BufferUtil {
fun createFloatBuffer(array: FloatArray) : FloatBuffer{
// (number of coordinate... | 0 | Kotlin | 0 | 7 | 13669724f73798ce873e4ea3f95807086e48a2a7 | 1,168 | SkinViewAndroid | MIT License |
src/main/kotlin/com/refinedmods/refinedstorage/apiimpl/storage/disk/factory/ItemStorageDiskFactory.kt | thinkslynk | 290,596,653 | true | {"Kotlin": 695976, "Shell": 456} | package com.refinedmods.refinedstorage.apiimpl.storage.disk.factory
import com.refinedmods.refinedstorage.RS
import com.refinedmods.refinedstorage.api.storage.disk.IStorageDisk
import com.refinedmods.refinedstorage.api.storage.disk.IStorageDiskFactory
import com.refinedmods.refinedstorage.apiimpl.storage.disk.ItemStor... | 1 | Kotlin | 0 | 2 | c92afa51af0e5e08caded00882f91171652a89e3 | 1,467 | refinedstorage | MIT License |
common/src/main/kotlin/tech/sethi/pebbles/cobbledhunters/data/DatabaseHandlerInterface.kt | navneetset | 770,120,520 | false | {"Kotlin": 258730} | package tech.sethi.pebbles.cobbledhunters.data
import com.cobblemon.mod.common.item.PokemonItem
import com.cobblemon.mod.common.pokemon.Pokemon
import net.minecraft.item.ItemStack
import tech.sethi.pebbles.cobbledhunters.config.exp.ExpConfigLoader
import tech.sethi.pebbles.cobbledhunters.hunt.type.*
import tech.sethi.... | 0 | Kotlin | 0 | 0 | f01b9c51cc97a97e9a0d396b4e63c1ad4bb468c7 | 2,452 | pebbles-cobbledhunters-multiplatform | Creative Commons Zero v1.0 Universal |
src/test/kotlin/fm/force/quiz/security/service/PasswordHashGeneratorServiceTest.kt | night-crawler | 207,094,425 | false | null | package fm.force.quiz.security.service
import fm.force.quiz.AbstractBootTest
import io.kotlintest.matchers.boolean.shouldBeTrue
import io.kotlintest.matchers.string.shouldNotBeBlank
import io.kotlintest.matchers.types.shouldNotBeNull
import io.kotlintest.specs.WordSpec
open class PasswordHashGeneratorServiceTest(
... | 1 | Kotlin | 1 | 7 | 0e34f5ff4cd85f877e739260a6055ada933364e2 | 836 | quiz | MIT License |
app/src/main/java/com/example/fitnesslog/program/view/adapter/ProgramAdapter.kt | Mark-Vasquez | 684,065,542 | false | {"Kotlin": 34321} | package com.example.fitnesslog.program.ui.program.adapter
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.example.fitnesslog.R
import com.example.fitnesslog.program.data.entity.Program
... | 2 | Kotlin | 0 | 0 | 7434cc4407995a79283f5fb9eced2e3f79ca70b6 | 1,272 | Fitness-Log | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.