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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
lib/src/main/java/com/exallium/kviewbinding/Views.kt | exallium | 116,050,231 | false | null | package com.exallium.kviewbinding
import android.support.annotation.IdRes
import android.support.v4.app.Fragment
import android.support.v7.app.AppCompatActivity
import android.view.View
interface ViewBinder {
fun <T> findViewById(@IdRes idRes: Int): T
}
fun <T : View> View.bindView(@IdRes idRes: Int): Lazy<T> = ... | 0 | Kotlin | 0 | 1 | 8ec11354d45b534d77e0d105e77565732bc4fe57 | 819 | KViewBinding | MIT License |
newm-chain-db/src/main/kotlin/io/newm/chain/database/entity/StakeRegistration.kt | projectNEWM | 447,979,150 | false | {"Kotlin": 2056610, "HTML": 153991, "Shell": 2775, "Dockerfile": 2535, "Procfile": 60} | package io.newm.chain.database.entity
data class StakeRegistration(
val id: Long? = null,
// the user's stake address
val stakeAddress: String,
// the slot where the stake key registration happened
val slot: Long,
// the transaction index inside the block where the stake key registration happen... | 1 | Kotlin | 4 | 9 | 3809a375cc159b540eb35e78fe3d0bdea0c24f6e | 465 | newm-server | Apache License 2.0 |
framework/src/main/java/com/kortisan/framework/redux/controllers/navigation/targets/DashboardNavigationGroup.kt | cobogt | 805,950,893 | false | {"Kotlin": 307796, "Java": 134} | package com.kortisan.framework.redux.controllers.navigation.targets
/** * * * * * * * * *
* Project KoreFrame
* Created by <NAME> on 30/12/22.
* * * * * * * * * * **/
import com.kortisan.framework.redux.controllers.navigation.PrimitiveTargetActivityIdentifier
import com.kortisan.framework.redux.gates.FingerprintGate... | 0 | Kotlin | 1 | 20 | c3dd59ba705ba6872801ac1c605ded8555c1c4c3 | 1,555 | kortisan-android-framework | MIT License |
logwritelibrary/src/main/java/com/gxx/logwritelibrary/db/DBWriteUtils.kt | CMzhizhe | 855,034,103 | false | {"Kotlin": 12385} | package com.gxx.logwritelibrary.db
import android.content.Context
import android.database.sqlite.SQLiteDatabase
import com.gxx.logwritelibrary.model.TagLogModel
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.withContext
class DBWriteUtils(context: Context, dbName: String) {
private val writableDa... | 0 | Kotlin | 0 | 0 | d1f723762a0f3ee7ac0ed86d40dfc373913ab57d | 2,206 | writeLogApplication | Apache License 2.0 |
inference/inference-ort/src/jvmMain/kotlin/io/kinference/ort/ORTEngine.kt | JetBrains-Research | 244,400,016 | false | null | package io.kinference.ort
import ai.onnxruntime.*
import io.kinference.BackendInfo
import io.kinference.InferenceEngine
import io.kinference.data.*
import io.kinference.model.Model
import io.kinference.ort.data.tensor.ORTTensor
import io.kinference.ort.model.ORTModel
import io.kinference.protobuf.ProtobufReader
import... | 2 | Kotlin | 4 | 68 | 7f11d4085348ff3b6f3eba2bec3b3fbcbcf0ceca | 2,309 | kinference | Apache License 2.0 |
src/test/kotlin/com/github/debop/kodatimes/TimeIntervalxTest.kt | dmi3coder | 119,803,117 | true | {"Kotlin": 40159} | /*
* Copyright (c) 2016. <NAME> <<EMAIL>>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | 0 | Kotlin | 0 | 0 | 7ace468f0ca02512db1faf13bd0cdf1259593b1e | 1,387 | koda-time | Apache License 2.0 |
lib-wallet-mnemonic/src/main/java/com/smallraw/wallet/mnemonic/SeedCalculator.kt | QuincySx | 262,699,409 | false | null | package com.smallraw.wallet.mnemonic
import com.smallraw.crypto.core.execptions.JNICallException
import com.smallraw.wallet.mnemonic.Normalization.normalizeNFKD
import com.smallraw.wallet.mnemonic.extensions.toUTF8ByteArray
import com.smallraw.wallet.mnemonic.jni.Pbkdf2JNI
import java.util.*
class SeedCalculator {
... | 1 | C | 6 | 26 | 0beea2170ea56e2dd224fe0e174d5ac2951632ca | 2,638 | ChainWallet | Apache License 2.0 |
src/Day06.kt | bigtlb | 573,081,626 | false | null | fun main() {
fun part1(input: List<String>): Int =
input.single().windowed(4).indexOfFirst { it.length == it.toSet().size } + 4
fun part2(input: List<String>): Int =
input.single().windowed(14).indexOfFirst { it.length == it.toSet().size } + 14
// test if implementation meets criteria from... | 0 | Kotlin | 0 | 0 | d8f76d3c75a30ae00c563c997ed2fb54827ea94a | 545 | aoc-2022-demo | Apache License 2.0 |
app/src/main/java/soko/ekibun/bangumi/ui/subject/CommentAdapter.kt | ekibun | 136,573,582 | false | null | package soko.ekibun.bangumi.ui.subject
import android.view.View
import com.bumptech.glide.request.RequestOptions
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.module.LoadMoreModule
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import kotlinx.android.synthet... | 9 | null | 13 | 408 | 81099b44d5f351868f8ff2beb0cc19704d44e030 | 1,513 | Bangumi | Apache License 2.0 |
src/main/kotlin/com/github/grishberg/android/layoutinspector/ui/tree/NodeViewTreeCellRenderer.kt | Grigory-Rylov | 268,242,347 | false | null | package com.github.grishberg.android.layoutinspector.ui.tree
import com.android.layoutinspector.model.ViewNode
import com.github.grishberg.android.layoutinspector.ui.dialogs.bookmarks.Bookmarks
import com.github.grishberg.android.layoutinspector.ui.theme.ThemeColors
import java.awt.Color
import java.awt.Component
impo... | 4 | Kotlin | 6 | 133 | 559070f6fa0b57605d89a820b11600a8784e932a | 6,215 | android-layout-inspector | Apache License 2.0 |
app/src/main/java/com/pichu/nanamare/base/ui/BaseActivity.kt | Nanamare | 268,554,300 | false | null | package com.pichu.nanamare.base.ui
import android.app.Activity
import android.graphics.Point
import android.os.Bundle
import android.os.Handler
import android.os.Looper
import android.view.Gravity
import android.view.View
import android.view.ViewGroup
import android.view.inputmethod.InputMethodManager
import android.w... | 1 | null | 1 | 6 | e5ac27b1d873152be817e73cf3e382bd8b233638 | 3,734 | opengl_camera | MIT License |
templates_kotlinx/src/test/kotlin/com/hexagonkt/templates/kotlinx/GenericIT.kt | ozzpy | 126,635,042 | true | {"Kotlin": 316457, "FreeMarker": 16374, "CSS": 8405, "Groovy": 2183, "HTML": 1732, "JavaScript": 1280} | package com.hexagonkt.templates.kotlinx
import com.hexagonkt.helpers.Log
import com.hexagonkt.templates.kotlinx.KotlinxEngine.page
import kotlinx.html.*
import org.testng.annotations.Test
import javax.script.Compilable
import javax.script.ScriptEngineManager
import java.util.Locale.getDefault as defaultLocale
@Test c... | 0 | Kotlin | 0 | 0 | 9c1a165e1ab2a4e83504bc251b013b2c5b08ab88 | 2,088 | hexagon | MIT License |
app/src/main/java/at/team30/setroute/ui/routes/RouteListFragment.kt | sw21-tug | 350,495,398 | false | null | package at.team30.setroute.ui.routes
import android.os.Bundle
import android.util.Log
import android.view.*
import android.widget.ListView
import android.widget.RadioGroup
import android.widget.Spinner
import android.widget.TextView
import androidx.fragment.app.Fragment
import androidx.fragment.app.viewModels
import a... | 0 | Kotlin | 9 | 0 | 9537bbb5a409b68189a12d4bca50a3eb34a13417 | 6,156 | Team_30 | MIT License |
app/src/main/java/com/alex/pokemon/data/api/pokemon/Form.kt | AlexKrayVR | 775,474,108 | false | {"Kotlin": 47705} | package com.alex.pokemon.data.api.pokemon
import com.google.gson.annotations.SerializedName
data class Form(
val name: String,
val url: String
)
| 0 | Kotlin | 0 | 0 | 9534e7c4b6f4634def49b45147cca9220e6dd30b | 156 | Pokemon | The Unlicense |
repository/src/androidMain/kotlin/gcu/product/repository/models/other/KMMApplication.kt | Ilyandr | 612,297,078 | false | null | package gcu.product.repository.models.other
import android.app.Application
actual typealias KMMApplication = Application | 0 | Kotlin | 0 | 1 | dcb51e3cdd50b9500704c6e272de85d792279ed8 | 123 | Friendly | Apache License 2.0 |
app/src/main/java/com/xattacker/android/bingo/view/CountViewType.kt | xattacker | 189,384,469 | false | null | package com.xattacker.android.bingo.view
interface CountViewType
{
var count: Int
var countColor: Int
}
val CountViewType.maxCount: Int
get() = 5
fun CountViewType.reset()
{
this.count = 0
} | 0 | Kotlin | 0 | 0 | 504c88f1ca03cd8ae9423e18f9cfbabe62edcf5d | 209 | Bingo_Android | MIT License |
src/commonTest/kotlin/org/treeWare/json/TokenizeJsonTests.kt | tree-ware | 214,941,384 | false | {"Kotlin": 1060177} | package org.treeWare.json
import okio.Buffer
import org.treeWare.util.TokenException
import kotlin.test.Test
import kotlin.test.assertEquals
import kotlin.test.assertFailsWith
internal class TokenizeJsonTests {
private fun doubleQuoted(value: String): String = "\"$value\""
// region Empty and blank JSON
... | 36 | Kotlin | 0 | 1 | 98dbd94c5e38845111413e5429bd200743a67411 | 29,662 | tree-ware-kotlin-core | Apache License 2.0 |
src/commonTest/kotlin/org/treeWare/json/TokenizeJsonTests.kt | tree-ware | 214,941,384 | false | {"Kotlin": 1060177} | package org.treeWare.json
import okio.Buffer
import org.treeWare.util.TokenException
import kotlin.test.Test
import kotlin.test.assertEquals
import kotlin.test.assertFailsWith
internal class TokenizeJsonTests {
private fun doubleQuoted(value: String): String = "\"$value\""
// region Empty and blank JSON
... | 36 | Kotlin | 0 | 1 | 98dbd94c5e38845111413e5429bd200743a67411 | 29,662 | tree-ware-kotlin-core | Apache License 2.0 |
app/src/main/java/com/agusyc/daycounter/MainActivity.kt | Agusyc | 96,165,597 | false | null | package com.agusyc.daycounter
import android.animation.ArgbEvaluator
import android.animation.ObjectAnimator
import android.animation.ValueAnimator
import android.content.Context
import android.content.Intent
import android.content.IntentFilter
import android.content.SharedPreferences
import android.graphics.Color
imp... | 1 | null | 1 | 1 | 9d952b2b2850fcc09230f7cad8820e394e62d87f | 9,188 | DayCounter | MIT License |
app/src/main/java/io/wiffy/gachonNoti/model/object/VerticalSpaceItemDecoration.kt | cbw1030 | 247,952,552 | true | {"Kotlin": 214293} | package io.wiffy.gachonNoti.model.`object`
import android.graphics.Rect
import android.view.View
import androidx.recyclerview.widget.RecyclerView
object VerticalSpaceItemDecoration : RecyclerView.ItemDecoration() {
override fun getItemOffsets(
outRect: Rect,
view: View,
parent: RecyclerVi... | 0 | null | 0 | 0 | d59a119ac1f25a65f08da1476520eee3f5ace473 | 501 | GachonNoti-android | Apache License 2.0 |
app/src/main/java/com/padcmyanmar/mmkunyi/activities/AccountControlActivity.kt | YaminThwe | 142,387,982 | false | null | package com.padcmyanmar.mmkunyi.activities
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import com.padcmyanmar.mmkunyi.R
import com.padcmyanmar.mmkunyi.fragments.LoginFragment
import com.padcmyanmar.mmkunyi.fragments.RegisterFragment
class AccountControlActivity:AppCompatActivity() {
... | 0 | Kotlin | 0 | 0 | bd84726b955a52f89788b422edbd054f0a733ce1 | 1,108 | MMKuNyi-YMT | MIT License |
src/commonMain/kotlin/com/soywiz/korio/async/withOptTimeoutCompat.kt | kpspemu | 108,654,928 | false | {"Gradle": 1, "Gradle Kotlin DSL": 1, "JSON": 3, "Java Properties": 1, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "JavaScript": 3, "Markdown": 1, "Kotlin": 275, "INI": 2, "HTML": 3, "XML": 3, "SVG": 2, "Java": 30, "YAML": 2, "C": 61, "Unix Assembly": 3, "Makefile": 12, "Motorola 68K Assembly": 3, "C++": 8... | package com.soywiz.korio.async
import kotlinx.coroutines.*
import kotlin.coroutines.*
suspend fun <T> CoroutineContext.withOptTimeout(timeout: Long?, name: String, block: suspend CoroutineScope.() -> T): T {
if (timeout == null) {
return block(CoroutineScope(this))
} else {
return kotlinx.coro... | 16 | Kotlin | 9 | 72 | 5ad15d161bef8baa40961ee508643306d933a50a | 362 | kpspemu | MIT License |
app/src/main/java/br/com/compasso/markup/http/repositories/UserRepository.kt | jotavier | 330,055,469 | false | null | package br.com.compasso.markup.http.repositories
import android.content.SharedPreferences
import android.util.Log
import androidx.core.content.edit
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import br.com.compasso.markup.data.models.CheckIn
import br.com.compasso.markup.data.models.Us... | 0 | Kotlin | 0 | 1 | fc9a47ca44cdb4e50916dbc450f99bb51e58c9c9 | 1,433 | markup | MIT License |
AppDemos/RetroDemo/app/src/main/java/net/ayossef/kotlin/retrodemo/network/UsersAPIClient.kt | ayossef21 | 268,372,001 | false | null | package net.ayossef.kotlin.retrodemo.network
import io.reactivex.Observable
import retrofit2.Retrofit
import retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory
import retrofit2.converter.gson.GsonConverterFactory
import retrofit2.http.GET
interface UsersAPIClient {
@GET("users")
fun listAllUser():Observable... | 0 | Kotlin | 4 | 9 | 8db454ffbbd50abd27d824e5cc06ddf88541798c | 837 | Kotlin-for-android-course | Apache License 2.0 |
core/src/main/kotlin/kt/firmata/hardware/Altimeter.kt | tiagohm | 734,739,135 | false | {"Kotlin": 102030, "C++": 2146} | package kt.firmata.hardware
interface Altimeter<T : Altimeter<T>> : Hardware {
val altitude: Double
fun registerAltimeterListener(listener: AltimeterListener<T>)
fun unregisterAltimeterListener(listener: AltimeterListener<T>)
}
| 0 | Kotlin | 0 | 0 | 33654b7e31a4deb4e8f9aa5f1fb8bda748be984f | 244 | KtFirmata | MIT License |
day2/day2_B.kts | jshap999 | 575,148,328 | false | {"Kotlin": 19624, "Shell": 452, "Nim": 433, "JavaScript": 404} | #!/usr/bin/env kotlin
import java.io.File
if (args.size != 1) {
println("Please provide the file containing the puzzle input.")
} else {
runCatching {
val file = File(args.first())
val validKeys = listOf("A", "B", "C")
val validVals = listOf("X", "Y", "Z")
val rounds = file.... | 0 | Kotlin | 0 | 0 | 1295c6dc1776b5e61bc774cd0d0649b0e31732f1 | 2,455 | aoc2022 | MIT License |
src/main/kotlin/org/epistatic/jfx/control/FileUtils.kt | SergeMerzliakov | 310,151,192 | false | {"Kotlin": 21336} | /*
* Copyright 2020 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | 0 | Kotlin | 0 | 0 | 84fb022b0beb2b492994fac70d8980b82469862f | 862 | jfx-utils | Apache License 2.0 |
processor/src/main/kotlin/com/github/shootmoon/xmlconfigmapper/processor/util/ElementExtension.kt | ShootMooN | 254,022,597 | false | null | package com.github.shootmoon.xmlconfigmapper.processor.util
import javax.lang.model.element.*
import javax.lang.model.type.TypeMirror
import javax.lang.model.util.Elements
import javax.lang.model.util.Types
/**
* @Author: longheng
* @Description:
* @Date: 2020/3/24 15:15
*/
fun VariableElement.getSurroundingCla... | 1 | null | 1 | 1 | fd1d91d28ccff9803c0bb819af7cad06cf2998a6 | 2,579 | xmlconfigmapper | Apache License 2.0 |
cinescout/database/src/commonMain/kotlin/cinescout/database/sample/DatabaseScreenplayGenreSample.kt | fardavide | 280,630,732 | false | null | package cinescout.database.sample
import cinescout.database.model.DatabaseScreenplayGenre
import cinescout.database.model.DatabaseTmdbGenreId
object DatabaseScreenplayGenreSample {
val Action = DatabaseScreenplayGenre(
screenplayId = DatabaseMovieSample.Inception.tmdbId,
genreId = DatabaseTmdbGen... | 14 | Kotlin | 2 | 6 | f2e3993816452afaf6c3f1e7c7a384eb9a66c06e | 653 | CineScout | Apache License 2.0 |
app/src/main/java/xyz/schwaab/template/TemplateApplication.kt | vitorhugods | 314,032,163 | false | null | package xyz.schwaab.template
import android.app.Application
import org.koin.android.ext.koin.androidContext
import org.koin.androidx.fragment.koin.fragmentFactory
import org.koin.core.context.startKoin
import xyz.schwaab.template.di.servicesModule
import xyz.schwaab.template.di.uiModule
import xyz.schwaab.template.di.... | 0 | Kotlin | 0 | 0 | d997ae69d809d96ecadca5ce58f0f92ccf7ee1d4 | 621 | android-template | Apache License 2.0 |
kotlin/goi/src/gen/kotlin/net/paploo/goi/persistence/db/goi/kanji/tables/records/KanjiCharacterRecord.kt | paploo | 526,415,165 | false | {"Kotlin": 546703, "Ruby": 153592, "Java": 50625, "ANTLR": 2824, "CSS": 1827, "PLpgSQL": 274} | /*
* This file is generated by jOOQ.
*/
package net.paploo.goi.persistence.db.goi.kanji.tables.records
import java.util.UUID
import net.paploo.goi.persistence.db.goi.kanji.tables.KanjiCharacter
import org.jooq.Field
import org.jooq.Record1
import org.jooq.Record11
import org.jooq.Row11
import org.jooq.impl.Updata... | 3 | Kotlin | 0 | 0 | 2ffb2d6f67fdebf1e1ec19312fdca1a8c72b8ea7 | 7,913 | goi | MIT License |
app-chain-wallet/src/main/java/com/smallraw/chain/wallet/feature/wallets/WalletSelectListFragment.kt | QuincySx | 262,699,409 | false | null | package com.smallraw.chain.wallet.feature.wallets
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.fragment.app.viewModels
import com.smallraw.chain.wallet.databinding.FragmentSelectWalletBinding
imp... | 1 | C | 6 | 26 | 0beea2170ea56e2dd224fe0e174d5ac2951632ca | 898 | ChainWallet | Apache License 2.0 |
MQTT/app/src/main/java/com/kimmandoo/mqtt/paho/MainActivity.kt | kimmandoo | 810,895,614 | false | {"Kotlin": 300640} | package com.kimmandoo.mqtt.paho
import android.os.Bundle
import android.util.Log
import android.widget.TextView
import androidx.activity.enableEdgeToEdge
import androidx.appcompat.app.AppCompatActivity
import androidx.core.view.ViewCompat
import androidx.core.view.WindowInsetsCompat
import com.kimmandoo.mqtt.R
import ... | 0 | Kotlin | 0 | 0 | 9a8ea13862807e5064362abaab34cef720c379cf | 2,159 | android-drill | MIT License |
petsearch-shared/domain/home/src/commonMain/kotlin/com/msa/petsearch/shared/domain/home/di/DomainHomeModule.kt | msa1422 | 534,594,528 | false | null | package com.msa.petsearch.shared.domain.home.di
import com.msa.petsearch.shared.domain.home.usecase.LoadPetTypesUseCase
import com.msa.petsearch.shared.domain.home.usecase.LoadPetsUseCase
import org.koin.core.module.dsl.singleOf
import org.koin.dsl.module
val DomainHomeModule = module {
singleOf(::LoadPetTypesUse... | 0 | null | 0 | 15 | 808563ffdb0936d262ca03de97578862d3b34c0f | 360 | KMM-Arch-PetSearch | MIT License |
lib/src/test/kotlin/org/didcommx/peerdid/TestResolveNumalgo0.kt | sicpa-dlab | 391,847,682 | false | {"Kotlin": 153185} | package org.didcommx.peerdid
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.assertThrows
import kotlin.test.assertEquals
import kotlin.test.assertTrue
class TestResolveNumalgo0 {
@Test
fun testResolvePositiveDefault() {
val realValue = resolvePeerDID(PEER_DID_NUMALGO_0)
assert... | 0 | Kotlin | 7 | 3 | 6c3400138e8571a42e98e5a0533272276b7f7441 | 3,878 | peer-did-jvm | Apache License 2.0 |
cupertino-adaptive/src/commonMain/kotlin/io/github/alexzhirkevich/cupertino/adaptive/AdaptiveAlertDialogNative.kt | alexzhirkevich | 636,411,288 | false | null | /*
* Copyright (c) 2023-2024. Compose Cupertino project and open source 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
*
* http://www.apache.org/licenses/LICENSE... | 18 | null | 31 | 848 | 54bfbb58f6b36248c5947de343567903298ee308 | 7,002 | compose-cupertino | Apache License 2.0 |
mui-icons-kotlin/src/jsMain/kotlin/mui/icons/material/EightKSharp.kt | karakum-team | 387,062,541 | false | {"Kotlin": 3079611, "TypeScript": 2249, "HTML": 724, "CSS": 86} | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/EightKSharp")
package mui.icons.material
@JsName("default")
external val EightKSharp: SvgIconComponent
| 0 | Kotlin | 5 | 35 | 60404a8933357df15ecfd8caf6e83258962ca909 | 186 | mui-kotlin | Apache License 2.0 |
tiltak/src/main/kotlin/no/nav/amt/tiltak/tiltak/controllers/GjennomforingController.kt | navikt | 393,356,849 | false | null | package no.nav.amt.tiltak.tiltak.controllers
import no.nav.amt.tiltak.common.auth.AuthService
import no.nav.amt.tiltak.core.port.ArrangorAnsattTilgangService
import no.nav.amt.tiltak.core.port.DeltakerService
import no.nav.amt.tiltak.core.port.GjennomforingService
import no.nav.amt.tiltak.tiltak.dto.GjennomforingDto
i... | 3 | Kotlin | 1 | 1 | e5809985aa3ea715ff224fef2aab3b65b16e2782 | 2,476 | amt-tiltak | MIT License |
app/src/main/kotlin/com/mitch/my_unibo/ui/profile/components/StudentIdFormatter.kt | seve-andre | 511,074,187 | false | {"Kotlin": 320965} | package com.mitch.my_unibo.ui.profile.components
import com.mitch.my_unibo.extensions.length
class StudentIdFormatter {
companion object {
fun formatId(idStudent: Int): String {
val length = idStudent.length()
return "0".repeat(10 - length) + idStudent.toString()
}
}
... | 0 | Kotlin | 0 | 2 | d10efb2a1676ecbf78643f88726b586a3d8c989d | 322 | myUniBo | Apache License 2.0 |
app/src/main/java/com/exner/tools/activitytimerfortv/ui/tools/ActivityTimerNavigationDrawerContent.kt | janexner | 749,859,621 | false | {"Kotlin": 179434} | package com.exner.tools.activitytimerfortv.ui.tools
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxHeight
import androi... | 0 | Kotlin | 0 | 0 | 13fa95ae0884fc1de75247a2a66fa27b41116834 | 3,491 | ActivityTimerForTV | Apache License 2.0 |
magic/core/src/main/java/link/magic/android/modules/wallet/response/WalletInfoResponse.kt | magiclabs | 589,703,550 | false | {"Kotlin": 116145, "Java": 7309, "Solidity": 426} | package link.magic.android.modules.wallet.response
import androidx.annotation.Keep
import org.web3j.protocol.core.Response
@Keep
class WalletInfoResponse: Response<WalletInfo>()
@Keep
class WalletInfo {
var walletType: String? = null
}
| 0 | Kotlin | 2 | 3 | 97cc4293a84a9bf007fa5c82ccafaeab07485279 | 243 | magic-android | Apache License 2.0 |
src/main/kotlin/com/handra/demo/demometrics/DemometricsApplication.kt | handracs2007 | 306,847,353 | false | null | package com.handra.demo.demometrics
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
@SpringBootApplication
class DemometricsApplication
fun main(args: Array<String>) {
runApplication<DemometricsApplication>(*args)
}
| 0 | Kotlin | 1 | 0 | 2b73fb005e12b61c731267da3779d7e25dce8661 | 290 | bootgrafana | Apache License 2.0 |
wukonganimation/src/main/java/com/wukonganimation/action/extend/ActionViewExtend.kt | wufuqi123 | 508,572,944 | false | {"Kotlin": 129233, "Java": 37698} | package com.wukonganimation.action.extend
import android.app.Activity
import android.view.View
import com.wukonganimation.action.ActionData
import com.wukonganimation.action.RunAction
import com.wukonganimation.action.chained.SequenceActionRunBuild
import com.wukonganimation.action.chained.SpawnActionRunBuild
/**
* ... | 1 | Kotlin | 3 | 30 | cd65f2b50b747095fcf37a74e1204dd7b5ec5d93 | 1,176 | WuKongAnimation | MIT License |
data/model/src/main/java/io/filmtime/data/model/VideoThumbnail.kt | moallemi | 633,160,161 | false | {"Kotlin": 522936, "Shell": 3102} | package io.filmtime.data.model
data class VideoThumbnail(
val ids: VideoId,
val title: String,
val posterUrl: String,
val year: Int,
val type: VideoType,
) {
val isMovie: Boolean
get() = type == VideoType.Movie
val isShow: Boolean
get() = type == VideoType.Show
}
data class VideoId(
val trakt... | 9 | Kotlin | 7 | 87 | ad3eeed30bed20216a9fa12e34f06e43b70a74cc | 487 | Film-Time | MIT License |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/outline/HelmetBattle.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.outline
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 4,061 | icons | MIT License |
komga/src/main/kotlin/org/gotson/komga/interfaces/web/rest/AdminController.kt | basdp | 232,067,859 | true | {"Kotlin": 181216, "Vue": 86048, "TypeScript": 25611, "TSQL": 2978, "JavaScript": 1423, "HTML": 529, "Dockerfile": 316, "CSS": 292, "Shell": 292} | package org.gotson.komga.interfaces.web.rest
import mu.KotlinLogging
import org.gotson.komga.domain.service.AsyncOrchestrator
import org.springframework.http.HttpStatus
import org.springframework.security.access.prepost.PreAuthorize
import org.springframework.web.bind.annotation.PostMapping
import org.springframework.... | 1 | null | 0 | 0 | 50f7f353fe009bca6959f9ed59c48a53f3cad904 | 1,535 | komga | MIT License |
data/src/main/java/ave/arch/sample/data/model/network/user/UserResponse.kt | avegrv | 171,438,866 | false | null | package ave.arch.sample.data.model.network.user
import com.google.gson.annotations.SerializedName
data class UserResponse(
@SerializedName("id")
val id: Long?,
@SerializedName("first_name")
val firstName: String?,
@SerializedName("last_name")
val lastName: String?
) | 0 | Kotlin | 0 | 5 | 9c1ca73f7466caf890995f5b700ce7783ef32121 | 318 | android-architecture-components-example | The Unlicense |
src/iosMain/kotlin/com/molikuner/kn/ios/main.kt | molikuner | 653,274,602 | false | null | package com.molikuner.kn.ios
import kotlinx.cinterop.MemScope
import kotlinx.cinterop.autoreleasepool
import kotlinx.cinterop.cstr
import kotlinx.cinterop.memScoped
import kotlinx.cinterop.toCValues
import platform.Foundation.NSStringFromClass
import platform.UIKit.UIApplicationMain
import kotlin.system.exitProcess
f... | 0 | Kotlin | 0 | 0 | d58abd21473d087cd094b390eb749d94ca02e662 | 838 | pure-kotlin-ios | Apache License 2.0 |
app/src/main/java/com/jdagnogo/welovemarathon/common/submenu/SubMenuContent.kt | jdagnogo | 424,252,162 | false | null | package com.jdagnogo.welovemarathon.common.submenu
import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.comp... | 0 | Kotlin | 0 | 0 | c604da10657fe937af7492710e71a1872337444b | 4,535 | WeLoveMArathon | The Unlicense |
app/src/main/java/com/exnor/vray/bean/GGConfigBean.kt | mambatech | 247,466,141 | true | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 3, "INI": 1, "Proguard": 1, "Kotlin": 39, "XML": 42, "Java": 9, "JSON": 2} | package com.exnor.vray.bean
import com.google.gson.annotations.SerializedName
/**
created by edison 2020/5/31
*/
data class GGConfigBean(
@SerializedName("need_show_ad")
val needShowAd: Boolean,
@SerializedName("ad_ids")
val adIDS: AdIDS
) {
}
data class AdIDS(
@SerializedNa... | 0 | Kotlin | 0 | 0 | f663d87f843bd2fdb98b598e99a3f93f553edeb8 | 549 | kitsunebi-android | MIT License |
glib-core/src/main/java/com/glib/core/http/PostDelegate.kt | hgani | 223,511,724 | false | null | package com.glib.core.http
import java.io.IOException
import java.net.HttpURLConnection
import java.nio.charset.Charset
internal class PostDelegate(nakedUrl: String, params: GImmutableParams?, override protected val method: HttpMethod) : HttpDelegate(nakedUrl) {
private val params: GImmutableParams
override ... | 0 | Kotlin | 0 | 0 | 9a7c56236d664f2b518310d12e5b0839382c2920 | 1,149 | glib-android | Apache License 2.0 |
android/app/src/main/kotlin/io/tosh/workout_stopwatch/MainActivity.kt | marciotoshio | 430,548,585 | false | {"Dart": 20257, "HTML": 3876, "Ruby": 1354, "Swift": 404, "Kotlin": 130, "Objective-C": 38} | package io.tosh.workout_stopwatch
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 0 | 0 | f47e6fb17855d99f88d58709dd34e18e69172c15 | 130 | workout_stopwatch | MIT License |
app/src/main/java/com/example/sujungmate/CustomDialog.kt | SujungMate | 392,577,823 | false | null | package com.dongmin.www.customdialog
import android.app.Dialog
import android.content.Context
import android.view.Window
import android.view.WindowManager
import android.widget.Button
import android.widget.EditText
import android.widget.TextView
import com.example.sujungmate.R
import kotlinx.android.synthetic.main.act... | 0 | Kotlin | 1 | 0 | a22da844028af1359a5d2f23157ec25f4c3872c8 | 1,548 | SujungMate-Client | MIT License |
gradle-plugin/src/main/java/com/dpforge/manifestguard/DefaultManifestGuardConfiguration.kt | int02h | 450,190,696 | false | {"Kotlin": 63591} | package com.dpforge.manifestguard
import com.dpforge.manifestguard.ManifestGuardConfiguration.IgnoreConfig
import org.gradle.api.Action
import org.gradle.api.file.ProjectLayout
import org.gradle.api.file.RegularFileProperty
import org.gradle.api.model.ObjectFactory
import org.gradle.api.provider.Property
import javax.... | 1 | Kotlin | 2 | 49 | 2cac7f8054cd3afd5be522b81e180a56193914ba | 1,273 | manifest-guard | MIT License |
app/src/main/java/brillembourg/parser/emovie/presentation/home/HomeUiState.kt | ThrownFran | 535,329,631 | false | null | package brillembourg.parser.emovie.presentation.home
import brillembourg.parser.emovie.presentation.models.MoviePresentationModel
import brillembourg.parser.emovie.presentation.models.UiText
data class HomeUiState(
val topRatedMovies: List<MoviePresentationModel> = emptyList(),
val upcomingMovies: List<MovieP... | 0 | Kotlin | 1 | 0 | 2f5dc39c251120b0e5e651138f4460da197044f4 | 998 | eMovie | MIT License |
android/app/src/main/java/com/dojadragon/dolphins/MainActivity.kt | helderman | 69,394,475 | false | {"Kotlin": 23207, "JavaScript": 18666, "HTML": 8598, "CSS": 4526, "Scheme": 3080, "Makefile": 274, "Shell": 74} | package com.dojadragon.dolphins
import android.app.WallpaperManager
import android.content.ComponentName
import android.content.Intent
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
su... | 0 | Kotlin | 0 | 0 | 7c333f05967ad8db5559ca697d801a4261218149 | 734 | dolphins | Creative Commons Attribution 4.0 International |
app/src/main/kotlin/com/unhappychoice/droidflyer/presentation/view/OrderView.kt | unhappychoice | 101,175,014 | false | null | package com.unhappychoice.droidflyer.presentation.view
import android.content.Context
import android.util.AttributeSet
import com.github.salomonbrys.kodein.instance
import com.google.android.material.tabs.TabLayout
import com.unhappychoice.droidflyer.MainActivity
import com.unhappychoice.droidflyer.R
import com.unhapp... | 1 | Kotlin | 2 | 9 | 97b0f9e89b525e9a1a3292b15635fcb95956f64c | 2,234 | DroidFlyer | Apache License 2.0 |
shared/src/iosMain/kotlin/data/Settings.iosMain.kt | evilya | 661,036,698 | false | {"Kotlin": 62182, "Swift": 527} | package data
import com.russhwolf.settings.NSUserDefaultsSettings
import com.russhwolf.settings.ObservableSettings
actual fun createSettings(): ObservableSettings {
return NSUserDefaultsSettings.Factory().create()
} | 0 | Kotlin | 0 | 0 | bb16bb9f9931acdb2e30c579cf4daf6bd304a3ea | 221 | forekast | Apache License 2.0 |
composeApp/src/commonMain/kotlin/ui/state/ImageDownloadState.kt | dalafiarisamuel | 820,153,053 | false | {"Kotlin": 126012, "Swift": 648} | package ui.state
internal sealed class ImageDownloadState {
data object Idle : ImageDownloadState()
data object Loading : ImageDownloadState()
data object Success : ImageDownloadState()
data class Failure(val exception: Throwable) : ImageDownloadState()
} | 0 | Kotlin | 2 | 25 | 472a080b4b7486a8fc83036724463a06d44775b5 | 272 | Unsplash-KMP | MIT License |
native/swift/swift-export-standalone/testData/inheritance/golden_result/main/main.kt | JetBrains | 3,432,266 | false | {"Kotlin": 78963920, "Java": 6943075, "Swift": 4063829, "C": 2609498, "C++": 1947933, "Objective-C++": 170573, "JavaScript": 106044, "Python": 59695, "Shell": 32949, "Objective-C": 22132, "Lex": 21352, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML... | import kotlin.native.internal.ExportedBridge
import kotlinx.cinterop.*
@ExportedBridge("__root___Foo_init_allocate")
public fun __root___Foo_init_allocate(): kotlin.native.internal.NativePtr {
val _result = kotlin.native.internal.createUninitializedInstance<Foo>()
return kotlin.native.internal.ref.createRetain... | 184 | Kotlin | 5691 | 48,625 | bb25d2f8aa74406ff0af254b2388fd601525386a | 1,316 | kotlin | Apache License 2.0 |
demo-bukkit/exposed-db/src/main/kotlin/com/lgou2w/ldk/demo/exposed/ExposedFactory.kt | lgou2w | 149,722,781 | false | null | /*
* Copyright (C) 2018 The lgou2w <lgou2w@hotmail.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 applicab... | 1 | null | 1 | 9 | c20f2070afbfce01a40f6fe53706a725bc30bbb3 | 1,323 | ldk-demo | Apache License 2.0 |
taxiql-query-engine/src/test/java/com/orbitalhq/formats/csv/CsvModelSpecTest.kt | orbitalapi | 541,496,668 | false | {"TypeScript": 9344934, "Kotlin": 5669840, "HTML": 201985, "SCSS": 170620, "HCL": 55741, "Java": 29373, "JavaScript": 24697, "Shell": 8800, "Dockerfile": 7001, "Smarty": 4741, "CSS": 2966, "Mustache": 1392, "Batchfile": 983, "MDX": 884, "PLpgSQL": 337} | package com.orbitalhq.formats.csv
import com.winterbe.expekt.should
import com.orbitalhq.models.TypedCollection
import com.orbitalhq.models.TypedInstance
import com.orbitalhq.testVyne
import org.junit.Test
class CsvModelSpecTest {
@Test
fun `can specify csv format on model spec`() {
val (vyne,_) = testVy... | 9 | TypeScript | 10 | 292 | 2be59abde0bd93578f12fc1e2ecf1f458a0212ec | 909 | orbital | Apache License 2.0 |
app/src/main/java/example/jllarraz/com/passportreader/ui/fragments/SuccessFragment.kt | ZeroPass | 208,288,635 | false | null | package example.jllarraz.com.passportreader.ui.fragments
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import example.jllarraz.com.passportreader.R
import example.jllarraz.com.passportreader.proto.UserId
import kotlinx.android.synthetic.main.fragment... | 0 | Kotlin | 1 | 1 | 59ddb16a050cc373f9796014702944eed0601872 | 1,390 | PassID-Android-App | MIT License |
AmniXtension/src/main/java/com/amnix/xtension/logs/L.kt | TrendingTechnology | 173,906,903 | true | {"Kotlin": 126818, "Java": 67175} | /*
* Copyright (c) 2019, AmniX
* 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 applicabl... | 0 | Kotlin | 0 | 0 | dfa4a126534dff2b36b6c1cb2f8b2b3139cbe011 | 2,496 | AmniXTension | Apache License 2.0 |
kotlin/vci-client/src/main/java/io/mosip/vciclient/credentialResponse/CredentialResponseFactory.kt | mosip | 787,870,201 | false | {"Kotlin": 60066} | package io.mosip.vciclient.credentialResponse
import io.mosip.vciclient.constants.CredentialFormat
import io.mosip.vciclient.credentialResponse.types.ldpVc.LdpVcCredentialResponseFactory
interface CredentialResponseFactory {
companion object {
fun createCredentialResponse(
formatType: Credenti... | 0 | Kotlin | 5 | 0 | b47edabe344d4b591c04f29733ebd8a365d0572c | 669 | inji-vci-client | MIT License |
app/src/main/java/no/kasperi/Models/NaeringsstoffModel.kt | Keezpaa | 538,821,448 | false | null | package no.kasperi.Models
import android.os.Parcelable
import kotlinx.android.parcel.Parcelize
@Parcelize
class NaeringsstoffModel(
val tittel: String,
val antall: Double,
val enhet: String
) : LocalModel, Parcelable {
constructor() : this(
"", 0.0, ""
)
} | 0 | Kotlin | 0 | 0 | 1d60fafdef8f99d040a7dcae8ca76df4e6db5bf7 | 287 | Food4U | MIT License |
fontawesome/src/de/msrd0/fontawesome/icons/FA_QUOTE_RIGHT.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 | 1358935395f9254cab27852457e2aa6c58902e16 | 1,677 | fontawesome-kt | Apache License 2.0 |
app/src/main/java/com/example/vino/model/Vineyard.kt | juanm707 | 373,001,324 | false | null | package com.example.vino.model
import androidx.room.Entity
import androidx.room.PrimaryKey
@Entity(tableName = "Vineyard")
class Vineyard(
@PrimaryKey val vineyardId: Int,
val name: String,
val imageUrl: String,
val latitude: Double = 0.0,
val longitude: Double = 0.0,
val city: String,
val... | 0 | null | 0 | 1 | 58774aea692460513de9eda6c99a77e2416d5a7d | 485 | Vino | MIT License |
octicons/src/commonMain/kotlin/compose/icons/octicons/DiffModified16.kt | DevSrSouza | 311,134,756 | false | {"Kotlin": 36719092} | package compose.icons.octicons
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter
import a... | 17 | Kotlin | 25 | 571 | a660e5f3033e3222e3553f5a6e888b7054aed8cd | 2,499 | compose-icons | MIT License |
app/src/main/java/com/example/jetbee/data/remote/repositoryImpl/GoogleSignInRepositoryImpl.kt | arfinhosainn | 567,978,176 | false | {"Kotlin": 134981} | package com.example.jetbee.data.remote.repositoryImpl
import com.example.jetbee.domain.model.AuthUser
import com.example.jetbee.domain.repository.GoogleSignInRepository
import com.example.jetbee.util.Constant.USER_COLLECTION
import com.example.jetbee.util.Resource
import com.google.firebase.auth.AuthCredential
import ... | 1 | Kotlin | 9 | 29 | c2918b56ec4135c7c1081cc8dc304e60c03348fe | 1,919 | JetBee | Apache License 2.0 |
app/src/main/java/ru/boronin/simpleweather/domain/repository/WeatherRepository.kt | SarifIndustries | 253,895,364 | true | {"Kotlin": 186266} | package ru.boronin.simpleweather.domain.repository
import io.reactivex.Single
import ru.boronin.simpleweather.model.common.data.DetailedWeatherResponse
import ru.boronin.simpleweather.model.common.data.WeatherResponse
import ru.boronin.simpleweather.model.common.presentation.ForecastModel
/**
* Created by Sergey Bor... | 0 | null | 0 | 0 | 301afdd5b719ede40f189f40412a4b5cd98cc982 | 631 | simpleweather | MIT License |
client/src/commonTest/kotlin/com/github/mustafaozhan/ccc/client/viewmodel/CalculatorViewModelTest.kt | Manya8497 | 364,513,169 | true | {"Kotlin": 252046, "Swift": 45819, "HTML": 797} | /*
* Copyright (c) 2021 <NAME>. All rights reserved.
*/
package com.github.mustafaozhan.ccc.client.viewmodel
import com.github.mustafaozhan.ccc.client.base.BaseViewModelTest
import com.github.mustafaozhan.ccc.client.model.Currency
import com.github.mustafaozhan.ccc.client.util.getCurrencyConversionByRate
import com.... | 0 | null | 0 | 0 | db6a497ecef0cf3ba2ff588dc548d3b58e15f26c | 3,241 | CCC | Apache License 2.0 |
src/main/kotlin/site/vie10/radio/updater/BaseUpdater.kt | viktorhrekh | 462,706,415 | false | {"Kotlin": 98586} | package site.vie10.radio.updater
import site.vie10.radio.config.RuntimeConfig.runtimeVar
/**
* @author vie10
**/
abstract class BaseUpdater : Updater {
abstract val currentVersion: String
override val enabled: Boolean
get() = UpdaterConfig::enabled.runtimeVar
override val delay: Long
ge... | 3 | Kotlin | 0 | 3 | 09da47703a6d4b36e02673c857fff19603203269 | 762 | radio | MIT License |
telegram-bot/src/main/kotlin/eu/vendeli/tgbot/api/botactions/CreateInvoiceLink.kt | vendelieu | 496,567,172 | false | null | @file:Suppress("MatchingDeclarationName")
package eu.vendeli.tgbot.api.botactions
import eu.vendeli.tgbot.interfaces.ActionState
import eu.vendeli.tgbot.interfaces.SimpleAction
import eu.vendeli.tgbot.interfaces.TgAction
import eu.vendeli.tgbot.interfaces.features.OptionsFeature
import eu.vendeli.tgbot.types.internal... | 3 | Kotlin | 3 | 86 | dbd88d5ab599ada5aa0c1d671ab69c3da9686b11 | 2,221 | telegram-bot | Apache License 2.0 |
typescript-kotlin/src/main/kotlin/typescript/TemplateLiteralTypeNode.kt | turansky | 393,199,102 | false | null | // Automatically generated - do not modify!
package typescript
external interface TemplateLiteralTypeNode : TypeNode {
/*
kind: SyntaxKind.TemplateLiteralType;
readonly head: TemplateHead;
readonly templateSpans: NodeArray<TemplateLiteralTypeSpan>;
*/
}
| 0 | Kotlin | 1 | 10 | bcf03704c0e7670fd14ec4ab01dff8d7cca46bf0 | 276 | react-types-kotlin | Apache License 2.0 |
app/src/main/java/com/msg/gfo_v2/viewmodel/RegistrationViewModel.kt | Project-GFO | 564,264,624 | false | null | package com.msg.gfo_v2.viewmodel
class RegistrationViewModel {
} | 1 | Kotlin | 0 | 0 | 157dd12cbcbef3755c21c38cd0e1457f90bf12b4 | 65 | GFO-Android | MIT License |
src/main/java/com/kingmang/lazurite/core/Arguments.kt | ArtyomKingmang | 652,611,608 | false | {"Kotlin": 538298, "Java": 377693} | package com.kingmang.lazurite.core
import com.kingmang.lazurite.exceptions.LzrException
import lombok.NoArgsConstructor
object Arguments {
@JvmStatic
fun check(expected: Int, got: Int) {
if (got != expected) {
throw LzrException("ArgumentsMismatchException ", String.format("%d %s expected,... | 2 | Kotlin | 14 | 142 | c368a9cc80c2ffa9ea842491e71f47935cd34272 | 1,324 | Lazurite | MIT License |
app/src/main/java/com/app/musicplayer/presentation/screen/player/PlayerControllerRow.kt | dilshad0101 | 665,112,662 | false | null | package com.app.musicplayer.presentation.screen.player
import androidx.compose.animation.AnimatedContent
import androidx.compose.animation.ExperimentalAnimationApi
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.shape.RoundedCornerShape
impor... | 0 | Kotlin | 0 | 0 | f6804d9cfc959fa38d3e5dbd305293da2fe49ae2 | 3,613 | music-player | Apache License 2.0 |
src/main/kotlin/com/muxiu1997/mxrandom/network/container/ContainerConfigLargeMolecularAssembler.kt | MuXiu1997 | 488,799,900 | false | {"Kotlin": 43955, "Shell": 1246} | package com.muxiu1997.mxrandom.network.container
import com.muxiu1997.mxrandom.metatileentity.LargeMolecularAssembler
import net.minecraft.entity.player.EntityPlayer
import net.minecraft.inventory.Container
class ContainerConfigLargeMolecularAssembler(val LMA: LargeMolecularAssembler) : Container() {
override fun... | 0 | Kotlin | 2 | 3 | 1c8cd88c67949f4b22d4327cffeb2e06d9cec24c | 399 | MX-Random | MIT License |
app/src/main/java/com/duckduckgo/app/browser/tabpreview/WebViewPreviewGenerator.kt | hojat72elect | 822,396,044 | false | {"Kotlin": 11626231, "HTML": 65873, "Ruby": 16984, "C++": 10312, "JavaScript": 5520, "CMake": 1992, "C": 1076, "Shell": 784} |
package com.duckduckgo.app.browser.tabpreview
import android.annotation.SuppressLint
import android.graphics.Bitmap
import android.webkit.WebView
import androidx.core.view.drawToBitmap
import com.duckduckgo.common.utils.DispatcherProvider
import kotlinx.coroutines.withContext
interface WebViewPreviewGenerator {
... | 0 | Kotlin | 0 | 0 | b89591136b60933d6a03fac43a38ee183116b7f8 | 1,948 | DuckDuckGo | Apache License 2.0 |
app/src/androidTest/java/com/example/lunchtray/test/composeRuleExtensions.kt | joolaoye | 816,929,967 | false | {"Kotlin": 61073} | package com.example.lunchtray.test
import android.content.Context
import androidx.activity.ComponentActivity
import androidx.annotation.StringRes
import androidx.compose.ui.test.SemanticsMatcher
import androidx.compose.ui.test.SemanticsNodeInteraction
import androidx.compose.ui.test.hasText
import androidx.compose.ui.... | 0 | Kotlin | 0 | 0 | 455ed52a8237bfa38e4feb8efa9b5eb4eb9f58b7 | 908 | Lunch-Tray | Apache License 2.0 |
data/src/main/java/app/melon/data/daos/JoinGroupDao.kt | biubiubiiu | 344,728,768 | false | null | package app.melon.data.daos
import androidx.room.Dao
import androidx.room.Query
import app.melon.data.daos.base.EntityDao
import app.melon.data.entities.JoinGroup
@Dao
abstract class JoinGroupDao : EntityDao<JoinGroup>() {
@Query("SELECT * FROM join_group WHERE group_id = :groupId AND user_id = :userId")
ab... | 1 | Kotlin | 1 | 2 | 6bb52f962084674ed50ffb3f8399c1b413a5a234 | 654 | Melon | Apache License 2.0 |
app/src/main/java/com/aliernfrog/pftool/ui/screen/settings/ExperimentalPage.kt | aliernfrog | 491,592,330 | false | {"Kotlin": 327043, "AIDL": 714} | package com.aliernfrog.lactool.ui.screen.settings
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.text.KeyboardOptions
import a... | 0 | Kotlin | 1 | 8 | ac7f2758f6e66d3fb53de1765f06f89bc8c67c29 | 7,219 | pf-tool | MIT License |
app/src/main/java/me/fabianfg/filesender/frontend/ui/receive/FileInfoContainer.kt | FabianFG | 237,303,112 | false | null | package me.fabianfg.filesender.frontend.ui.receive
import me.fabianfg.filesender.server.BasicFileDescriptor
class FileInfoContainer(val id : Int, val descriptor: BasicFileDescriptor) {
override fun toString() = descriptor.toString()
} | 0 | Kotlin | 0 | 0 | a83cc1b6664a474311be2a80e9a07a762b5b5f12 | 240 | FileSender | Apache License 2.0 |
dsl/src/main/kotlin/cloudshift/awscdk/dsl/services/elasticbeanstalk/CfnEnvironmentOptionSettingPropertyDsl.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package cloudshift.awscdk.dsl.services.elasticbeanstalk
import cloudshift.awscdk.common.CdkDslMarker
import kotlin.String
import software.amaz... | 1 | Kotlin | 0 | 0 | 17c41bdaffb2e10d31b32eb2282b73dd18be09fa | 2,786 | awscdk-dsl-kotlin | Apache License 2.0 |
src/main/kotlin/cafe/astolfo/plugins/Routing.kt | ArtieFuzzz | 653,346,222 | false | null | package cafe.astolfo.plugins
import cafe.astolfo.routing.authorizationRoute
import cafe.astolfo.routing.imagesRoute
import cafe.astolfo.routing.mainRoute
import cafe.astolfo.s3.R2Client
import io.ktor.server.application.*
import io.ktor.server.routing.*
fun Application.configureRouting(r2: R2Client) {
routing {
... | 2 | Kotlin | 0 | 0 | 3ad9cd8dc25eb1c48c1b382965c80b1031e7cafb | 400 | starlight | Apache License 2.0 |
app/src/main/java/com/africablue/awsapp/translateprovider/AwsTranslateProvider.kt | AfricaBlue72 | 259,641,836 | false | null | package com.africablue.awsapp.translateprovider
import android.util.Log
import androidx.lifecycle.MutableLiveData
import com.africablue.awsapp.util.APP_TAG
import com.africablue.awsapp.util.DEFAULT_URL
import com.amazonaws.auth.AWSCredentialsProvider
import com.amazonaws.services.polly.AmazonPollyPresigningClient
impo... | 0 | Kotlin | 0 | 0 | f5aea4b4e08e69c79f76cd7384308f657d61e21f | 4,109 | AwsApp | MIT License |
src/main/kotlin/fun/brassicold/server/update/internal/core/ServerPluginsManager.kt | BrassiCold | 594,626,868 | false | null | package `fun`.brassicold.server.update.internal.core
import org.bukkit.Bukkit
object ServerPluginsManager {
fun obtainPluginList(): java.util.ArrayList<*> {
val serverPlugins by lazy { Bukkit.getPluginManager().plugins.toMutableList() as ArrayList<*> }
val pluginList by lazy { serverPlugins.clone... | 0 | Kotlin | 0 | 1 | abfcb7a6ac3149a264cb915ecceb693a083006e8 | 600 | BrassiUpdate | Creative Commons Zero v1.0 Universal |
src/main/kotlin/cz/lukynka/youkai/Request.kt | LukynkaCZE | 834,312,321 | false | {"Kotlin": 32327} | package cz.lukynka.youkai
import cz.lukynka.prettylog.LogType
import cz.lukynka.prettylog.log
import cz.lukynka.youkai.config.ConfigManager
import kotlinx.serialization.Serializable
import kotlinx.serialization.encodeToString
import kotlinx.serialization.json.Json
import java.lang.Exception
import java.net.URI
import ... | 0 | Kotlin | 0 | 2 | e64a2511f53e9ac0d86a567a50bfc287806ffd1e | 1,290 | Youkai | MIT License |
block/src/test/java/com/vairavans/block/DrawerLayoutTest.kt | Ethan1983 | 165,296,417 | false | null | package com.vairavans.block
import android.os.Build
import android.view.View
import androidx.drawerlayout.widget.DrawerLayout
import androidx.lifecycle.Lifecycle
import androidx.lifecycle.LifecycleOwner
import com.google.common.truth.Truth.assertThat
import io.mockk.every
import io.mockk.mockk
import org.junit.Before
... | 0 | Kotlin | 0 | 0 | e2738bbdbfc8701b475bde69ed66b041991b6d1f | 4,290 | Blocks | Apache License 2.0 |
essential/utils/src/main/java/ir/ac/iust/dml/kg/raw/utils/dump/owl/OwlDumpReader.kt | IUST-DMLab | 143,078,400 | false | {"Java": 1305698, "JavaScript": 309084, "Kotlin": 291339, "HTML": 262524, "Python": 140248, "CSS": 134871, "Shell": 11166} | /*
* Farsi Knowledge Graph Project
* Iran University of Science and Technology (Year 2017)
* Developed by Majid Asgari.
*/
package ir.ac.iust.dml.kg.raw.utils.dump.owl
import org.slf4j.LoggerFactory
import java.io.BufferedReader
import java.io.Closeable
import java.io.FileInputStream
import java.io.InputStreamRea... | 1 | null | 1 | 1 | 2e020ae3d619a35ffa00079b9aeb31ca77ce2346 | 2,882 | farsbase | Apache License 2.0 |
domain/src/main/java/com/core/domain/interactor/impl/GetProjectListUseCaseImpl.kt | raxden | 165,669,612 | false | null | package com.core.domain.interactor.impl
import com.core.domain.Project
import com.core.domain.interactor.GetProjectListUseCase
import com.core.domain.repository.AccountRepository
import com.core.domain.repository.ProjectRepository
import com.core.domain.repository.UserRepository
import io.reactivex.Maybe
import javax.... | 1 | null | 1 | 1 | 9ad3b3d2fffdaa7abdf567320e8d6d9f98a67746 | 807 | android-core | Apache License 2.0 |
compiler/frontend/src/org/jetbrains/kotlin/psi/JetFunctionLiteralArgument.kt | staltz | 93,485,627 | true | {"Markdown": 33, "XML": 685, "Ant Build System": 37, "Proguard": 1, "Ignore List": 8, "Maven POM": 49, "Kotlin": 18030, "Java": 4375, "CSS": 3, "Shell": 9, "Batchfile": 8, "Java Properties": 10, "Gradle": 68, "HTML": 131, "INI": 7, "Groovy": 20, "JavaScript": 61, "Text": 3936, "ANTLR": 1, "Protocol Buffer": 4, "JAR Man... | /*
* Copyright 2010-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 0 | Java | 0 | 1 | 80074c71fa925a1c7173e3fffeea4cdc5872460f | 1,381 | kotlin | Apache License 2.0 |
ontrack-extension-indicators/src/main/java/net/nemerosa/ontrack/extension/indicators/model/IndicatorCategoryService.kt | nemerosa | 19,351,480 | false | null | package net.nemerosa.ontrack.extension.indicators.model
import net.nemerosa.ontrack.model.Ack
import net.nemerosa.ontrack.model.exceptions.InputException
import net.nemerosa.ontrack.model.exceptions.NotFoundException
import javax.validation.constraints.Pattern
interface IndicatorCategoryService {
fun registerCat... | 57 | null | 27 | 97 | 7c71a3047401e088ba0c6d43aa3a96422024857f | 1,691 | ontrack | MIT License |
stripe/src/main/java/com/stripe/android/PaymentSessionPrefs.kt | swdreams | 220,836,994 | true | {"Kotlin": 1543131, "Java": 141606, "Ruby": 6208} | package com.stripe.android
import android.content.Context
internal interface PaymentSessionPrefs {
fun getSelectedPaymentMethodId(customerId: String): String?
fun saveSelectedPaymentMethodId(customerId: String, paymentMethodId: String?)
companion object {
private const val PREF_FILE = "PaymentSes... | 0 | null | 1 | 2 | 413c85d6213d894510cc78684287783e36eeb53b | 1,259 | stripe-android | MIT License |
domain/src/test/java/com/telen/easylineup/domain/SaveDashboardTilesTests.kt | kaygenzo | 177,859,247 | false | {"Gemfile.lock": 1, "Gradle": 9, "JSON": 2, "YAML": 4, "XML": 208, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Ruby": 2, "INI": 2, "Proguard": 3, "Kotlin": 298, "Java": 1} | /*
Copyright (c) <NAME>. 2010-2024
*/
package com.telen.easylineup.domain
import com.nhaarman.mockitokotlin2.any
import com.nhaarman.mockitokotlin2.verify
import com.telen.easylineup.domain.model.DashboardTile
import com.telen.easylineup.domain.model.tiles.TileType
import com.telen.easylineup.domain.repository.Ti... | 1 | null | 1 | 1 | 152fa21de470e81d368b26a4f18de5d5198ef8fc | 3,470 | EasyLineUp | Apache License 2.0 |
shell/src/test/kotlin/app/graviton/shell/UtilsTest.kt | graviton-browser | 127,417,210 | false | null | package app.graviton.shell
import org.junit.Test
import kotlin.test.assertEquals
class UtilsTest {
@Test
fun reversedCoordinatesGroupIdOnly() {
assertEquals("com.github.spotbugs", reversedCoordinates("spotbugs.github.com"))
}
@Test
fun reversedCoordinatesWithArtifactId() {
assert... | 39 | null | 7 | 39 | ce6180b85c627293d22e76073ecf9b06910af310 | 1,438 | graviton-browser | Apache License 2.0 |
notary-commons/src/main/kotlin/sidechain/iroha/IrohaChainListener.kt | yurivin | 172,449,765 | false | null | package sidechain.iroha
import com.github.kittinunf.result.Result
import com.github.kittinunf.result.map
import io.reactivex.Observable
import jp.co.soramitsu.iroha.java.IrohaAPI
import model.IrohaCredential
import mu.KLogging
import sidechain.ChainListener
import sidechain.iroha.util.ModelUtil
/**
* Dummy implement... | 1 | null | 1 | 1 | 78d7c592f572fa8548fa21bc518f5fe1d5db698b | 1,633 | notary | Apache License 2.0 |
tmp/arrays/youTrackTests/6344.kt | DaniilStepanov | 228,623,440 | false | {"Git Config": 1, "Gradle": 6, "Text": 3, "INI": 5, "Shell": 2, "Ignore List": 3, "Batchfile": 2, "Markdown": 2, "Kotlin": 15942, "JavaScript": 4, "ANTLR": 2, "XML": 12, "Java": 4} | // Original bug: KT-21526
import TestClass.NamedObject.CONST
class TestClass{
fun method(){
print(CONST)
}
private object NamedObject{
const val CONST = "abc"
}
}
fun main(args: Array<String>){
TestClass().method()
}
| 1 | null | 12 | 1 | 602285ec60b01eee473dcb0b08ce497b1c254983 | 231 | bbfgradle | Apache License 2.0 |
mobile-common-lib/src/commonMain/kotlin/fi/riista/common/domain/shootingTest/model/CommonShootingTestVenue.kt | suomenriistakeskus | 78,840,058 | false | null | package fi.riista.common.domain.shootingTest.model
import fi.riista.common.model.Revision
data class CommonShootingTestVenue(
val id: Long?,
val rev: Revision,
val name: String?,
val address: CommonShootingTestVenueAddress?,
val info: String?,
)
| 0 | Kotlin | 0 | 3 | 23645d1abe61c68d649b6d0ca1d16556aa8ffa16 | 268 | oma-riista-android | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.