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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
frontend/app/src/main/java/com/intersoft/groupup_app/AppContext.kt | DMindek | 708,011,924 | false | {"Kotlin": 150659, "Ruby": 34125, "Dockerfile": 1590, "Batchfile": 250, "HTML": 240, "Shell": 191} | package com.intersoft.groupup_app
import com.intersoft.googlemapsservice.GoogleMapsService
import com.intersoft.location.ILocationServices
import com.intersoft.osmservice.OSMLocationServices
object AppContext {
private var LocationService: ILocationServices = OSMLocationServices
private val modules: Map<Stri... | 3 | Kotlin | 0 | 0 | d4dc545e093631d4684750cb6a358e8c67a443c7 | 741 | GroupUP | MIT License |
android/app/src/main/java/com/kaelesty/audionautica/data/repos/tools/FileUploaderTool.kt | Kaelesty | 698,507,418 | false | {"Kotlin": 252943, "JavaScript": 51949, "Python": 44050, "CSS": 17184, "HTML": 231} | package com.kaelesty.audionautica.data.repos.tools
import android.app.Application
import android.content.ContentResolver
import android.net.Uri
import android.provider.OpenableColumns
import android.util.Log
import okhttp3.MediaType.Companion.parse
import okhttp3.MediaType.Companion.toMediaTypeOrNull
import okhttp3.Mu... | 0 | Kotlin | 1 | 0 | 3cec63e3bf6b88a046f27b45c9330e53f2f55df9 | 1,876 | project-audionautica | The Unlicense |
accountant/accountant-ports/accountant-persister-postgres/src/main/kotlin/co/nilin/opex/accountant/ports/postgres/impl/FinancialActionLoaderImpl.kt | opexdev | 370,411,517 | false | null | package co.nilin.opex.accountant.ports.postgres.impl
import co.nilin.opex.accountant.core.model.FinancialAction
import co.nilin.opex.accountant.core.model.FinancialActionStatus
import co.nilin.opex.accountant.core.spi.FinancialActionLoader
import co.nilin.opex.accountant.ports.postgres.dao.FinancialActionRepository
im... | 25 | Kotlin | 9 | 20 | 27b2698696d9c9cd2b7aa0606a0f0826c1c73a07 | 2,555 | core | MIT License |
shikimori/src/main/kotlin/com/gnoemes/shikimori/entities/roles/CharacterDetailsResponse.kt | gnoemes | 213,210,354 | false | {"Kotlin": 788446, "Shell": 2974} | package com.gnoemes.shikimori.entities.roles
import com.gnoemes.shikimori.entities.anime.AnimeResponse
import com.gnoemes.shikimori.entities.common.ImageResponse
import com.gnoemes.shikimori.entities.manga.MangaResponse
import kotlinx.serialization.SerialName
@kotlinx.serialization.Serializable
internal data class Ch... | 0 | Kotlin | 1 | 31 | 7bf5caccb92d3c789ecd3f1c8a6d3a7eeb4d408b | 961 | Shimori | Apache License 2.0 |
app/src/main/java/com/faigenbloom/testtask/ui/common/animations/AnimatedTab.kt | ZakharchenkoWork | 770,109,532 | false | {"Kotlin": 135444} | package com.faigenbloom.testtask.ui.common.animations
import androidx.compose.animation.AnimatedContent
import androidx.compose.animation.AnimatedContentScope
import androidx.compose.animation.AnimatedContentTransitionScope
import androidx.compose.animation.core.EaseIn
import androidx.compose.animation.core.EaseOut
im... | 1 | Kotlin | 0 | 0 | e0020ac1c18a0b27e4aee206393303e24d0e7af8 | 1,465 | WittixTestTask | Apache License 2.0 |
apps/intellij/src/main/kotlin/dev/nx/console/generate/ui/GenerateUiMessages.kt | nrwl | 137,811,219 | false | null | package dev.nx.console.generate.ui
import dev.nx.console.models.NxGeneratorContext
import dev.nx.console.models.NxGeneratorOption
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
/** Output Messages */
@Serializable
sealed interface GenerateUiOutputMessage {
val payloadType: Strin... | 43 | null | 210 | 1,307 | 990e2dfb2cdc928d4041654d40d8e8c4c5cb45a6 | 3,377 | nx-console | MIT License |
cascade-compose/src/main/java/me/saket/cascade/internal/ScreenRelativeBounds.kt | saket | 302,216,494 | false | {"Kotlin": 111546} | package me.saket.cascade.internal
import android.view.View
import androidx.compose.runtime.Immutable
import androidx.compose.ui.geometry.Offset
import androidx.compose.ui.geometry.Rect
import androidx.compose.ui.geometry.Size
import androidx.compose.ui.layout.LayoutCoordinates
import androidx.compose.ui.layout.findRoo... | 17 | Kotlin | 64 | 1,997 | 7736224c749c0ad2309ff5b90dcf6e18926d350d | 3,671 | cascade | Apache License 2.0 |
fontawesome/src/de/msrd0/fontawesome/icons/FA_COMMENT_SMS.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... | 1 | Kotlin | 0 | 0 | a49fdedb55f0a931db5121fe187ef199bc72203c | 3,028 | fontawesome-kt | Apache License 2.0 |
workflow-testing/src/main/java/com/squareup/workflow1/testing/RenderTesterWorkers.kt | SontagBae | 526,085,781 | false | null | /*
* Copyright 2020 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 ... | 1 | null | 0 | 1 | 86f6dcbb995c2f5a6c98ca7dbea12d5a9531bac6 | 10,708 | workflow-kotlin | Apache License 2.0 |
korlibs-datastructure/src/korlibs/datastructure/_Datastructure_closeable.kt | korlibs | 80,095,683 | false | {"WebAssembly": 14293935, "Kotlin": 9728800, "C": 77092, "C++": 20878, "TypeScript": 12397, "HTML": 6043, "Python": 4296, "Swift": 1371, "JavaScript": 328, "Shell": 254, "CMake": 202, "CSS": 66, "Batchfile": 41} | @file:Suppress("PackageDirectoryMismatch")
package korlibs.datastructure.closeable
@OptIn(ExperimentalStdlibApi::class)
interface Closeable : AutoCloseable {
companion object {
operator fun invoke(callback: () -> Unit) = object : Closeable {
override fun close() = callback()
}
}
}
| 444 | WebAssembly | 121 | 2,207 | dc3d2080c6b956d4c06f4bfa90a6c831dbaa983a | 320 | korge | Apache License 2.0 |
app/src/main/java/com/example/app/feature/album/simple/adapter/AlbumItemModel.kt | apoi | 258,803,528 | false | null | package com.example.app.feature.album.simple.adapter
import com.example.app.domain.photo.Photo
import com.example.app.ui.adapter.simple.ListItem
import com.example.app.ui.adapter.simple.ListTypeFactory
data class AlbumItemModel(
val id: Int,
val title: String,
val url: String,
val thumbnailUrl: String... | 0 | Kotlin | 0 | 1 | e711db16942b0338e7528673debeb9a87655a027 | 675 | android-kotlin-flow-template | Apache License 2.0 |
hurl-core/src/test/kotlin/com/orange/ccmd/hurl/core/query/cookiepath/CookieTest.kt | isabella232 | 379,204,586 | true | {"Kotlin": 512534, "Python": 22137, "Shell": 3425, "HTML": 1830, "Mustache": 1098} | /*
* Copyright (C) 2020 Orange
*
* Hurl JVM (JVM Runner for https://hurl.dev)
*
* 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
... | 0 | null | 0 | 0 | 787bb3f83ff6629a5d3a391518675b60e2a28e9b | 2,293 | hurl-jvm | Apache License 2.0 |
app/src/main/java/com/amagen/supercheap/exceptions/MyExceptions.kt | MagenL | 455,111,166 | false | {"Kotlin": 135319, "Python": 8826, "CSS": 828, "HTML": 429} | package com.amagen.supercheap.exceptions
import android.app.Activity
import android.content.Context
import android.widget.Toast
import androidx.compose.ui.res.stringResource
import androidx.lifecycle.LifecycleCoroutineScope
import com.amagen.supercheap.MainActivityApplication
import com.amagen.supercheap.MainActivityV... | 0 | Kotlin | 0 | 1 | c0a567634f29e58220cc9e13b6425db1fef5cfce | 1,923 | SuperCheap | MIT License |
feature-twitch/src/main/java/com/freshdigitable/yttt/feature/subscription/FetchSubscriptionListSourceFromTwitchUseCase.kt | akihito104 | 613,290,086 | false | {"Kotlin": 352903} | package com.freshdigitable.yttt.feature.subscription
import com.freshdigitable.yttt.data.TwitchLiveRepository
import com.freshdigitable.yttt.data.model.LiveSubscription
import com.freshdigitable.yttt.data.model.toLiveSubscription
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.flow
import javax.inje... | 12 | Kotlin | 0 | 0 | 986b9d8a0201692b4030fe73c5c0cc2353370382 | 1,080 | yttt | Apache License 2.0 |
core/src/jvmMain/kotlin/nl/adaptivity/xmlutil/StAXWriter.kt | gubaojian | 399,312,256 | true | {"Kotlin": 748970, "Java": 81} | /*
* Copyright (c) 2018.
*
* This file is part of XmlUtil.
*
* This file is licenced to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You should have received a copy of the license with the source distribution.
* Alternatively, y... | 0 | null | 0 | 0 | f16b7b9bcd387ff3b594335ae3f215ebe9cbc02f | 18,562 | xmlutil | Apache License 2.0 |
buildSrc/src/main/kotlin/plugin/utils/DependenciesHelper.kt | trycatchx | 419,286,595 | false | {"Kotlin": 69612, "Java": 2497} | package plugin.utils
import getMavenArtifactId
import getMavenGroupId
import org.gradle.api.Project
import org.gradle.api.artifacts.Configuration
import org.gradle.api.internal.artifacts.dependencies.DefaultProjectDependency
import org.gradle.api.internal.artifacts.dependencies.DefaultSelfResolvingDependency
import or... | 9 | Kotlin | 87 | 831 | e78b4c47d21af68c8ae3b05f410e6063f70c67d5 | 8,520 | RocketX | Apache License 2.0 |
miniapp/src/test/java/com/rakuten/tech/mobile/miniapp/js/securestoragedispatcher/MessageBridgeSecurestorageDispatcherSpec.kt | rakutentech | 225,744,634 | false | null | package com.rakuten.tech.mobile.miniapp.js.securestoragedispatcher
import androidx.test.core.app.ActivityScenario
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.google.gson.Gson
import com.rakuten.tech.mobile.miniapp.*
import com.rakuten.tech.mobile.miniapp.js.*
import com.rakuten.tech.mobile.miniapp.... | 8 | null | 34 | 73 | 9111d5080f211cf3d6104a2531f4439ac3eb8bcd | 8,190 | android-miniapp | MIT License |
miniapp/src/test/java/com/rakuten/tech/mobile/miniapp/js/securestoragedispatcher/MessageBridgeSecurestorageDispatcherSpec.kt | rakutentech | 225,744,634 | false | null | package com.rakuten.tech.mobile.miniapp.js.securestoragedispatcher
import androidx.test.core.app.ActivityScenario
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.google.gson.Gson
import com.rakuten.tech.mobile.miniapp.*
import com.rakuten.tech.mobile.miniapp.js.*
import com.rakuten.tech.mobile.miniapp.... | 8 | null | 34 | 73 | 9111d5080f211cf3d6104a2531f4439ac3eb8bcd | 8,190 | android-miniapp | MIT License |
app/src/main/java/com/example/simpletodo/MainActivity.kt | PeterHe0226 | 430,317,921 | false | {"Kotlin": 5092} | package com.example.simpletodo
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.Button
import android.widget.EditText
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView
import org.apache.commons.io.FileUtils
import java... | 1 | Kotlin | 0 | 0 | c4011f3f4a1fa2e70deb123136db13b3d1801de7 | 2,252 | SimpleToDo | Apache License 2.0 |
simple-icons/src/commonMain/kotlin/compose/icons/simpleicons/Cinema4d.kt | DevSrSouza | 311,134,756 | false | null | package compose.icons.simpleicons
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Butt
import androidx.compose.ui.graphics.StrokeJoin.Miter
import androidx.compose.ui.graphics... | 17 | null | 25 | 571 | a660e5f3033e3222e3553f5a6e888b7054aed8cd | 3,574 | compose-icons | MIT License |
app/src/main/kotlin/com/madness/collision/Democratic.kt | cliuff | 231,891,447 | false | {"Kotlin": 1532215} | /*
* Copyright 2021 Clifford Liu
*
* 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 | Kotlin | 9 | 97 | bf61e5587039098c3161f8d1a8cd5c7398cb1b82 | 2,263 | boundo | Apache License 2.0 |
src/shmp/lang/language/phonology/prosody/ProsodyChangeParadigm.kt | ShMPMat | 240,860,070 | false | null | package shmp.lang.language.phonology.prosody
import shmp.lang.language.lexis.Word
data class ProsodyChangeParadigm(val stress: StressType) {
fun apply(sourceWord: Word, newWord: Word): Word {
return when (stress) {
StressType.None -> newWord
StressType.NotFixed -> newWord
... | 0 | Kotlin | 0 | 1 | 4d26b0d50a1c3c6318eede8dd9678d3765902d4b | 687 | LanguageGenerator | MIT License |
src/main/kotlin/com/github/davenury/ucac/consensus/ratis/HistoryRatisNode.kt | Davenury | 487,023,571 | false | {"Kotlin": 718446, "Go": 61294, "Python": 33653, "Shell": 21544, "JavaScript": 3419, "Dockerfile": 1344, "Ruby": 888} | package com.github.davenury.ucac.consensus.ratis
import com.github.davenury.common.Change
import com.github.davenury.common.ChangeResult
import com.github.davenury.common.PeerAddress
import com.github.davenury.common.PeerId
import com.github.davenury.common.PeersetId
import com.github.davenury.common.history.History
i... | 9 | Kotlin | 2 | 4 | afff882b67ead65f58b8805e2763820aed4ff035 | 2,898 | Unifying-Consensus-And-Atomic-Commitment-PoC | Apache License 2.0 |
src/us/inest/kotlin/types/Arrays.kt | inest-us | 188,445,475 | false | null | package us.inest.kotlin.types
fun main(args: Array<String>) {
val numbers: IntArray = intArrayOf(1, 2, 3, 4, 5)
println("Hey!! I am array Example: " + numbers[2])
} | 0 | Kotlin | 0 | 0 | a4572414fbf3d3deb55dadae340c9e704233d8a0 | 173 | Kotlin | MIT License |
app/src/main/java/eu/ginlo_apps/ginlo/UseCases/InviteFriendUseCase.kt | cdskev | 358,279,979 | false | {"Java": 4918351, "Kotlin": 717287, "HTML": 2200} | // Copyright (c) 2020-2024 ginlo.net GmbH
package eu.ginlo_apps.ginlo.UseCases
import android.app.Activity
import android.content.ClipData
import android.content.Intent
import android.graphics.Bitmap
import android.net.Uri
import android.os.Build
import androidx.core.content.FileProvider
import eu.ginlo_apps.ginlo.Bu... | 1 | Java | 0 | 5 | 5609a68a539fc5fd9666d3d5f93be750fa5a2b77 | 3,815 | ginlo-android | Apache License 2.0 |
src/main/kotlin/com/terminaltabtailor/enum/TabNameTypeEnum.kt | romaindalichamp | 750,147,000 | false | {"Kotlin": 51020} | package com.terminaltabtailor.enum
enum class TabNameTypeEnum {
FILE_NAME, FIRST_DIR_NAME, MODULE_NAME, MODULE_DIR_NAME, PROJECT_NAME
} | 1 | Kotlin | 0 | 9 | 421483479b4a04f14f68198a1d1926f4f2bb1f3f | 140 | TerminalTabTailor | Apache License 2.0 |
feature/profile/ui/src/main/java/com/profile/ui/screens/profile_detail/ProfileDetailState.kt | 7pak | 764,350,162 | false | {"Kotlin": 496880} | package com.profile.ui.screens.profile_detail
data class ProfileDetailState(
val address: String = "",
val contactNumber: String = "",
val country: String = "",
val email: String = "",
val name: String = "",
val username: String = "",
val profilePic: String? = null,
val oldPassword:Stri... | 0 | Kotlin | 0 | 1 | 2fe106a4241dfd24ef63948ebb3095ce40c6f9d7 | 433 | LonePaw-PetAdoption | MIT License |
Android/Podium/app/src/main/java/xyz/thisisjames/boulevard/android/podium/room/PreferenceDao.kt | JamesNjong | 652,773,723 | false | {"Kotlin": 76766, "JavaScript": 13790} | package xyz.thisisjames.boulevard.android.podium.room
import androidx.lifecycle.LiveData
import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import androidx.room.Update
@Dao
interface PreferenceDao {
@Query("SELECT * FROM preference_table order ... | 0 | Kotlin | 0 | 0 | 0d843d3045de6b0cd9eff085f2f289fc4a653488 | 614 | Podium | Creative Commons Zero v1.0 Universal |
app/src/main/kotlin/net/yuzumone/bergamio/model/HdoInfo.kt | yuzumone | 81,647,607 | false | null | package net.yuzumone.bergamio.model
import android.annotation.SuppressLint
import android.os.Parcelable
import kotlinx.android.parcel.Parcelize
@SuppressLint("ParcelCreator")
@Parcelize
data class HdoInfo(
val hdoServiceCode: String,
val number: String,
val iccid: String,
val regulatio... | 0 | Kotlin | 0 | 0 | a2335b62dfdc5e182616e9a13c722c138708cfda | 464 | bergamio | Apache License 2.0 |
Chapter03/src/main/kotlin/com/rivuchk/packtpub/reactivekotlin/chapter03/ObservableExmpl2.kt | PacktPublishing | 111,785,750 | false | null | package com.rivuchk.packtpub.reactivekotlin.chapter03
import io.reactivex.Observer
import io.reactivex.disposables.Disposable
import io.reactivex.rxkotlin.toObservable
/**
* Created by rivuc on 22-07-2017.
*/
fun main(args: Array<String>) {
val observer: Observer<Any> = object :Observer<Any>{//1
overr... | 0 | Kotlin | 36 | 71 | a2333e22fc1190dbacefba46cdf8c0339d509d75 | 1,132 | Reactive-Programming-in-Kotlin | MIT License |
mpdata/src/test/java/com/jpp/mpdata/repository/movies/MoviePageRepositoryImplTest.kt | perettijuan | 156,444,935 | false | null | package com.jpp.mpdata.repository.movies
import com.jpp.mpdata.datasources.moviepage.MoviePageApi
import com.jpp.mpdata.datasources.moviepage.MoviePageDb
import com.jpp.mpdomain.MoviePage
import com.jpp.mpdomain.MovieSection
import com.jpp.mpdomain.SupportedLanguage
import com.jpp.mpdomain.repository.MoviePageReposito... | 9 | Kotlin | 7 | 46 | 7921806027d5a9b805782ed8c1cad447444f476b | 10,182 | moviespreview | Apache License 2.0 |
src/main/kotlin/com/bh/planners/core/kether/game/ActionIsforward.kt | postyizhan | 754,476,430 | false | {"Kotlin": 652703, "Java": 215} | package com.bh.planners.core.kether.game
import com.bh.planners.core.kether.NAMESPACE
import com.bh.planners.core.kether.createContainer
import com.bh.planners.core.kether.nextSelector
import com.bh.planners.core.kether.origin
import org.bukkit.Location
import taboolib.library.kether.ParsedAction
import taboolib.modul... | 0 | Kotlin | 1 | 0 | dea343908592d722cd03d9dbadbc659372131dfe | 2,347 | planners | Creative Commons Zero v1.0 Universal |
kotlin-mui-icons/src/main/generated/mui/icons/material/DeliveryDiningOutlined.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/DeliveryDiningOutlined")
@file:JsNonModule
package mui.icons.material
@JsName("default")
external val DeliveryDiningOutlined: SvgIconComponent
| 12 | Kotlin | 5 | 983 | 372c0e4bdf95ba2341eda473d2e9260a5dd47d3b | 226 | kotlin-wrappers | Apache License 2.0 |
sample-library/src/jvmTest/kotlin/sample/SampleTests.kt | nosix | 162,433,160 | false | null | package sample
actual fun isWorking(): Boolean = true
| 0 | Kotlin | 0 | 0 | c70959712c1e64dab566b40f062b9056f9a64ef6 | 55 | kotlin-serialization-sample | MIT License |
app/src/main/java/com/breezefieldstatcon/features/stock/model/NewStockListResponseModel.kt | DebashisINT | 878,294,212 | false | {"Kotlin": 16043339, "Java": 1030448} | package com.breezefieldstatcon.features.stock.model
import com.breezefieldstatcon.base.BaseResponse
/**
* Created by Saikat on 17-09-2019.
*/
class NewStockListResponseModel : BaseResponse() {
var stock_list: ArrayList<StockListDataModel>? = null
} | 0 | Kotlin | 0 | 0 | 841b394cc9a8c393b0598bd87699d7d798cb1a96 | 257 | StatconEnergiaa | Apache License 2.0 |
app/src/main/java/cucer/darian/f1races/F1RacesActivity.kt | darian-catalin-cucer | 476,402,137 | false | {"Kotlin": 22170} | package cucer.darian.f1races
import android.os.Bundle
import com.android.volley.Request
import androidx.appcompat.app.AppCompatActivity
import com.android.volley.Response
import com.android.volley.toolbox.StringRequest
//public static final BASE_URL = ""
const val BASE_URL = "https://ergast.com/api/f1"
class F1Races... | 0 | Kotlin | 0 | 3 | 945a38d491826b6f39546c8b87a1d5b5823db6c6 | 834 | F1RACES | Apache License 2.0 |
src/main/kotlin/glm_/vec2/Vec2i.kt | kotlin-graphics | 71,653,021 | false | null | package glm_.vec2
import glm_.*
import glm_.vec1.Vec1bool
import glm_.vec1.Vec1i
import glm_.vec1.Vec1t
import glm_.vec2.operators.opVec2i
import glm_.vec3.Vec3bool
import glm_.vec3.Vec3i
import glm_.vec3.Vec3t
import glm_.vec4.Vec4bool
import glm_.vec4.Vec4i
import glm_.vec4.Vec4t
import kool.*
import java.io.PrintSt... | 7 | null | 19 | 99 | dcbdd6237fbc5af02722b8ea1b404a93ce38a043 | 24,336 | glm | MIT License |
adapty/src/main/java/com/adapty/api/requests/TransactionVariationIdRequest.kt | Another1dd | 343,393,066 | true | {"Kotlin": 174922} | package com.adapty.api.requests
import com.google.gson.annotations.SerializedName
class TransactionVariationIdRequest(
@SerializedName("data")
val data: Data
) {
class Data(
val type: String = "adapty_analytics_transaction_variation_id",
@SerializedName("attributes")
val attributes... | 0 | Kotlin | 0 | 0 | 887600334ddce47c165d88eea287511a3dae7cf0 | 972 | AdaptySDK-Android | MIT License |
app/src/main/java/io/petros/posts/kotlin/model/Comment.kt | ParaskP7 | 97,504,961 | false | null | package io.petros.posts.kotlin.model
import android.arch.persistence.room.*
@Entity(tableName = "comment",
foreignKeys = arrayOf(
ForeignKey(entity = Post::class,
parentColumns = arrayOf("id"),
childColumns = arrayOf("post_id"),
... | 0 | Kotlin | 1 | 3 | 49c7b839b5b566d0a285a3a1454b0b1fd6536892 | 616 | sample-code-posts-kotlin | Apache License 2.0 |
src/test/kotlin/com/quizapp/QuizappApplicationTests.kt | JacekKaczmarek10 | 806,260,511 | false | {"Kotlin": 45985, "JavaScript": 25158, "HTML": 1721, "Dockerfile": 286} | package com.quizapp
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Test
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.test.context.SpringBootTest
import org.springframework.context.ApplicationContext
import org.springframework.test.context... | 0 | Kotlin | 0 | 0 | bd9ce526d2db9d73b2de65c72005b609b533f870 | 581 | vocabulary-learning-tool | Apache License 2.0 |
src/main/kotlin/pl/komorowskidev/kotlinrest/util/converters/TransactionConverter.kt | komorowskidev | 312,876,443 | false | null | package pl.komorowskidev.kotlinrest.util.converters
import org.apache.logging.log4j.LogManager
import org.springframework.stereotype.Component
import pl.komorowskidev.kotlinrest.db.entities.AccountTypeEntity
import pl.komorowskidev.kotlinrest.db.entities.CustomerEntity
import pl.komorowskidev.kotlinrest.db.entities.Tr... | 0 | Kotlin | 0 | 0 | 201470cda10f026b151ba17a5a8d94ceeb85a6ac | 3,604 | kotlin-rest | MIT License |
buildSrc/src/main/kotlin/Libs.kt | Decathlon | 492,727,156 | false | {"Kotlin": 4999004} | object Libs {
const val vitamin_icons = "com.decathlon.vitamin:foundation-icons:_"
const val vitamin_assets = "com.decathlon.vitamin:foundation-assets:_"
const val compose_ui = "androidx.compose.ui:ui:_"
const val compose_ui_util = "androidx.compose.ui:ui-util:_"
const val core = "androidx.core... | 15 | Kotlin | 24 | 232 | fcb1a1e23bf9480d00cdc995ddd82b44acc36025 | 911 | vitamin-compose | Apache License 2.0 |
src/main/kotlin/com/skillw/fightsystem/internal/manager/FightStatusManagerImpl.kt | Skillw | 591,845,487 | false | null | package com.skillw.fightsystem.internal.manager
import com.skillw.fightsystem.FightSystem
import com.skillw.fightsystem.api.event.EntityFightStatusEvent
import com.skillw.fightsystem.api.manager.FightStatusManager
import com.skillw.fightsystem.internal.feature.realizer.fight.FightStatusRealizer
import com.skillw.pouvo... | 2 | null | 4 | 6 | 84a1273549df31573acb4e8ae32d46923ebc23d1 | 2,269 | FightSystem | MIT License |
app/src/main/java/net/voussoir/trkpt/helpers/MapOverlayHelper.kt | voussoir | 616,275,924 | false | {"Kotlin": 196051, "Python": 2538} | /*
* MapHelper.kt
* Implements the MapOverlayHelper class
* A MapOverlayHelper offers helper methods for creating osmdroid map overlays
*
* This file is part of
* TRACKBOOK - Movement Recorder for Android
*
* Copyright (c) 2016-22 - Y20K.org
* Licensed under the MIT-License
* http://opensource.org/licenses/MI... | 0 | Kotlin | 0 | 0 | a27b8713a9d59596ef4e44f0a505c60e4b14340f | 2,805 | trkpt | MIT License |
app/src/main/java/com/jarvislin/drugstores/page/map/MarkerCacheManager.kt | jarvislin | 238,508,346 | false | null | package com.jarvislin.drugstores.page.map
import androidx.collection.LruCache
import com.google.android.gms.maps.model.Marker
import com.jarvislin.domain.entity.DrugstoreInfo
class MarkerCacheManager {
companion object {
const val MAX_MARKER_AMOUNT = 150
private const val SIZE = 1
}
priv... | 1 | Kotlin | 10 | 39 | 0f45d84d524fed54af0e3f7efb9925b8773eb004 | 1,192 | drugstores | Apache License 1.1 |
app/src/main/java/com/alexzh/coffeedrinks/data/RuntimeCoffeeDrinkRepository.kt | AlexZhukovich | 244,125,139 | false | null | package com.alexzh.coffeedrinks.data
import com.alexzh.coffeedrinks.R
import com.alexzh.coffeedrinks.data.model.CoffeeDrink
import kotlinx.coroutines.delay
class RuntimeCoffeeDrinkRepository : CoffeeDrinksRepository {
private val coffeeDrinks: MutableList<CoffeeDrink> = initCoffeeDrinks()
override suspend fu... | 0 | Kotlin | 0 | 1 | 052539a797454e46ad281e4f69c86fe3ec94a731 | 6,246 | MigrateToJetpackCompose | Apache License 2.0 |
ton-kotlin-crypto/common/test/Sha256Test.kt | ton-community | 448,983,229 | false | {"Kotlin": 1267329, "Java": 164} |
import io.ktor.utils.io.core.*
import org.ton.crypto.digest.sha512
import org.ton.crypto.encodeHex
import kotlin.test.Test
class Sha256Test {
@Test
fun test() {
println(sha512("вика".toByteArray()).encodeHex())
}
}
| 21 | Kotlin | 23 | 69 | b7d9665292388d513c7e35174a8e76eb7481de9f | 237 | ton-kotlin | Apache License 2.0 |
android/app/src/main/kotlin/com/example/tictactoe/MainActivity.kt | Hemant28codes | 433,750,858 | false | {"Dart": 16715, "Objective-C": 790, "Swift": 404, "Kotlin": 387, "HTML": 182, "Java": 141} | package io.flutter.plugins.firebasecoreexample;
import io.flutter.embedding.android.FlutterActivity;
import io.flutter.embedding.engine.FlutterEngine;
import io.flutter.plugins.firebase.core.FirebaseCorePlugin;
public class MainActivity extends FlutterActivity {
// You can keep this empty class or remove it. Plugin... | 0 | Dart | 2 | 0 | d266dd2cb767dcd5a29973f633b1471689aad5cb | 387 | TicTacToe | MIT License |
data/remote/src/test/kotlin/com/hivian/remote/base/BaseTest.kt | hivian | 245,177,544 | false | null | package com.hivian.remote.base
import com.hivian.remote.PokemonApiService
import com.hivian.remote.di.createRemoteModule
import okhttp3.mockwebserver.MockResponse
import okhttp3.mockwebserver.MockWebServer
import org.junit.After
import org.junit.Before
import org.koin.core.context.startKoin
import org.koin.core.contex... | 0 | Kotlin | 1 | 5 | 5525c2330e52dae04c5bda1bae2d9e5edafc9fb1 | 1,521 | PokeApex | MIT License |
src/test/kotlin/NumbersUtilsTest.kt | 0awawa0 | 262,578,607 | false | null | import bot.features.numbers.NumbersUtils
fun testBinToDec() {
println("Starting binToDec tests")
val testCases = arrayOf(
"101",
"000000",
"010101101",
"1111111111111111111111111111111111111111111111111111111111111111",
"100000000000000000000000000000000000000000000000... | 0 | Kotlin | 0 | 1 | 2641a819253eaedf41689b4a415ee14bdc34ece7 | 2,805 | CTF_Bot | MIT License |
app/src/main/java/eina/unizar/xiangqi_frontendmovil/OtherProfile.kt | UNIZAR-30226-2022-12 | 463,121,041 | false | {"Kotlin": 186429} | package eina.unizar.xiangqi_frontendmovil
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.MenuItem
import android.widget.ImageView
import android.widget.ProgressBar
import android.widget.TextView
import com.github.mikephil.charting.charts.BarChart
import com.github.mikephil... | 4 | Kotlin | 0 | 0 | 503d859c9f6c1d96dc8173d7b6129ec4875d08c1 | 6,909 | Xiangqi-frontendMovil | MIT License |
src/main/kotlin/icu/windea/pls/model/expressionInfo/ParadoxLocalisationParameterInfo.kt | DragonKnightOfBreeze | 328,104,626 | false | null | package icu.windea.pls.model.expressionInfo
import com.intellij.openapi.vfs.*
import icu.windea.pls.model.*
data class ParadoxLocalisationParameterInfo(
val name: String,
val localisationName: String,
override val elementOffset: Int,
override val gameType: ParadoxGameType
) : ParadoxExpressionInfo {
... | 12 | null | 5 | 41 | 99e8660a23f19642c7164c6d6fcafd25b5af40ee | 385 | Paradox-Language-Support | MIT License |
Hermes/Logger/src/main/java/com/spartancookie/hermeslogger/share/ShareHelperCommon.kt | RafaelsRamos | 352,183,568 | false | null | package com.spartancookie.hermeslogger.share
import android.app.Activity
import android.content.Context
import android.content.Intent
import com.spartancookie.hermeslogger.core.HermesHandler
import com.spartancookie.hermeslogger.core.LogType
import com.spartancookie.hermeslogger.models.LogDataHolder
import com.spartan... | 7 | Kotlin | 0 | 0 | 73f3932e87e3f488e9457f4703964d3165b1b387 | 2,829 | HermesLogger | Apache License 2.0 |
src/main/kotlin/com/github/utilx/assetsjournalist/ProjectExtensions.kt | karczews | 173,720,691 | false | {"Kotlin": 68597, "Shell": 118} | /*
* Copyright (c) 2019-present, Android Assets Journalist 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-2.0
*
* Unless requ... | 0 | Kotlin | 1 | 2 | 7f4315312a85de32f07796931510b7642bb66296 | 1,791 | android-assets-journalist | Apache License 2.0 |
app/src/main/java/com/example/bitfit/AddActivity.kt | kshu2011 | 552,631,868 | false | null | package com.example.bitfit
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android.widget.Button
import android.widget.EditText
import androidx.lifecycle.lifecycleScope
import androidx.recyclerview.widget.RecyclerView
import kotlinx.coroutines.Dispatchers.IO
impo... | 1 | Kotlin | 0 | 0 | 1dab5b0d3e1199155a54f77100d3890f71cb739d | 1,324 | BitFitApp_part2 | Apache License 2.0 |
android/app/src/main/java/app/log/weicheng/ui/LoginScreen.kt | Weicheng783 | 735,533,851 | false | {"Kotlin": 94430} | package app.log.weicheng.ui
import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.... | 0 | Kotlin | 0 | 2 | 9d932a097f7d9d8c89b39a37c510d38235b1a2d8 | 9,732 | WeichengLog | MIT License |
kakao open sdk/sample-common/src/main/java/com/kakao/sdk/sample/common/internal/PickerItem.kt | hs-1971467-jungchulHwang | 565,815,268 | false | {"Kotlin": 243248, "JavaScript": 177942, "Python": 163828, "Java": 123510, "Vue": 22567, "HTML": 15118, "TypeScript": 12164, "CSS": 4942, "Procfile": 96, "Makefile": 75} | /*
Copyright 2019 Kakao Corp.
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, s... | 4 | Kotlin | 1 | 0 | 202600474836309bf05d5493801be60cdeb139d7 | 857 | OpenSource-Project | MIT License |
app/src/main/java/com/prerna/newsappkotlin/di/NetworkModule.kt | Prernaakumaree | 356,011,312 | false | null | package com.prerna.newsappkotlin.di
import com.prerna.newsappkotlin.network.NewsApi
import com.prerna.newsappkotlin.util.Constant.Companion.BASE_URL
import com.google.gson.Gson
import com.google.gson.GsonBuilder
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.Sing... | 0 | Kotlin | 0 | 0 | 5b978217026b703c98bd2d420d6f8139e166af84 | 1,036 | NewsAppKotlin | Apache License 2.0 |
app/src/main/java/dev/mkao/weaver/domain/model/UppsertCase.kt | mkaomwakuni | 675,072,003 | false | {"Kotlin": 75768} | package dev.mkao.weaver.domain.model
import dev.mkao.weaver.data.remote.NewsDao
class UppsertCase (private val newsDao: NewsDao){
suspend operator fun invoke(article: Article){
newsDao.upsert(article = article)
}
} | 2 | Kotlin | 2 | 5 | 4b4ef043c6fccbaf1a96d87b3521ac0412c33256 | 233 | Weaver-News-App | MIT License |
domain/src/main/java/org/watsi/domain/usecases/FetchHouseholdIdByMembershipNumberUseCase.kt | Meso-Health | 227,514,539 | false | {"Gradle": 7, "Java Properties": 2, "Shell": 3, "Text": 1, "Ignore List": 4, "Markdown": 1, "Proguard": 2, "JSON": 25, "Kotlin": 419, "YAML": 3, "XML": 153, "Java": 1} | package org.watsi.domain.usecases
import io.reactivex.Flowable
import org.watsi.domain.repositories.MemberRepository
import java.util.UUID
class FetchHouseholdIdByMembershipNumberUseCase(private val memberRepository: MemberRepository) {
fun execute(membershipNumber: String): Flowable<UUID> {
return membe... | 2 | Kotlin | 3 | 6 | 6e1da182073088f28230fe60a2e09d6f38aab957 | 393 | meso-clinic | Apache License 2.0 |
app/src/main/java/com/project/forensika/model/HistoryDetail.kt | aridwiprayogo | 354,845,010 | false | {"Gradle": 4, "XML": 87, "INI": 3, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Java Properties": 1, "Proguard": 1, "Java": 2, "Kotlin": 27} | package com.project.forensika.model
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
@JsonClass(generateAdapter = true)
data class HistoryDetail(
@Json(name = "result")
val result: Result,
@Json(name = "status")
val status: String
) {
@JsonClass(generateAdapter = true)
data ... | 0 | Kotlin | 0 | 2 | cbccb15444543e2a6f85e69890cb063bafbd9e7d | 1,318 | aplikasiForensika | Apache License 2.0 |
app/src/main/java/com/aykuttasil/sweetloc/data/local/entity/Room.kt | aykuttasil | 61,756,879 | false | {"Gradle Kotlin DSL": 3, "Gradle": 8, "Shell": 1, "Ignore List": 4, "Batchfile": 1, "Kotlin": 117, "Markdown": 1, "Java Properties": 2, "YAML": 2, "JSON": 2, "Proguard": 2, "Java": 10, "XML": 50, "HTML": 2, "Text": 1} | /* Author - <NAME>(@aykuttasil) */
package com.aykuttasil.sweetloc.data.local.entity
/*
import androidx.room.Entity
import androidx.room.Ignore
import androidx.room.PrimaryKey
@Entity(tableName = "UserTracker")
data class Room(
@PrimaryKey(autoGenerate = true) var userTrackerId: Long? = null,
var nam... | 7 | Kotlin | 2 | 6 | 5b8e861e3feaa4ed9e90dfb9b252f1ac8d8a7ec2 | 624 | sweetloc | Apache License 2.0 |
festival-kotlin-web/src/main/kotlin/cn/bdqfork/kotlin/web/annotation/RolesAllowed.kt | bdqfork | 170,458,565 | false | null | package cn.bdqfork.kotlin.web.annotation
import cn.bdqfork.kotlin.web.constant.LogicType
/**
* 表示哪些角色可以访问api
*
* @author bdq
* @since 2020/1/27
*/
@Auth
@MustBeDocumented
@kotlin.annotation.Retention(AnnotationRetention.RUNTIME)
@Target(AnnotationTarget.ANNOTATION_CLASS, AnnotationTarget.FUNCTION)
annotation cla... | 0 | Java | 19 | 46 | 093db2ce271b2f2bc061e1ddaa873a27c9d34e5d | 399 | festival | Apache License 2.0 |
changelog/src/main/java/com/savvasdalkitsis/gameframe/feature/changelog/view/ChangeLogDialogFragment.kt | savvasdalkitsis | 107,058,704 | false | null | /**
* Copyright 2017 <NAME>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,... | 9 | Kotlin | 3 | 8 | 2db2932139b5f410b4ee0922e2e1386c0c6b6aa5 | 1,768 | gameframe | Apache License 2.0 |
app/src/main/java/com/learnopengles/android/lesson5/LessonFiveGLSurfaceView.kt | jimandreas | 213,848,461 | false | {"Gradle": 3, "Java Properties": 1, "Text": 1, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "INI": 1, "XML": 13, "GLSL": 12, "Kotlin": 27, "Java": 11} | package com.learnopengles.android.lesson5
import android.annotation.SuppressLint
import android.content.Context
import android.opengl.GLSurfaceView
import android.view.MotionEvent
class LessonFiveGLSurfaceView(context: Context) : GLSurfaceView(context) {
private var mRenderer: LessonFiveRenderer? = null
@Sup... | 1 | null | 1 | 1 | 2e699232989e701ef42b6aaeee86d12441ea99d7 | 1,023 | AndroidOpenGLESLessons | Apache License 2.0 |
WindowManager/app/src/main/java/com/example/windowmanagersample/SplitLayout.kt | GanzDEF | 257,011,303 | true | {"Markdown": 28, "Text": 1, "Ignore List": 15, "Gradle": 82, "INI": 16, "Shell": 27, "Batchfile": 26, "Java Properties": 33, "YAML": 26, "XML": 451, "Kotlin": 111, "Proguard": 8, "Java": 149, "JSON": 1} | /*
* Copyright 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | 0 | Java | 0 | 1 | 8651743ffa4900e2b6e815c4d252e2c5157bddb1 | 6,679 | user-interface-samples | Apache License 2.0 |
app/src/main/java/com/okbreathe/quasar/ui/settings/SettingsActivity.kt | okbreathe | 95,939,089 | false | null | package com.okbreathe.quasar.ui.settings
import android.content.Context
import android.content.res.Configuration
import android.media.RingtoneManager
import android.net.Uri
import android.os.Bundle
import android.preference.ListPreference
import android.preference.Preference
import android.preference.PreferenceActivit... | 0 | Kotlin | 0 | 0 | 0c367e67301717a7c096cc05d26153ae71a03ab5 | 4,048 | quasar-android | Apache License 2.0 |
DDRTools/DDRTools/src/main/java/com/mx/ddrtools/components/dialogs/DDRLoader.kt | EderNocelo | 328,757,086 | false | {"Text": 1, "Ignore List": 5, "Markdown": 1, "Gradle": 4, "Java Properties": 2, "Shell": 1, "Batchfile": 1, "Proguard": 2, "Kotlin": 23, "XML": 44, "JSON": 1, "INI": 1, "Java": 7} | /**
Copyright 2021 DDRTools
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, software
distribut... | 1 | null | 1 | 1 | ad2ffc8183f5fd4f84ee76947c8311086bae054c | 1,732 | DDRTools | Apache License 2.0 |
app/src/main/java/com/suihan74/satena/models/NoticesKey.kt | suihan74 | 207,459,108 | false | null | package com.suihan74.satena.models
import android.content.Context
import com.suihan74.hatenaLib.Notice
import com.suihan74.utilities.SafeSharedPreferences
import com.suihan74.utilities.SharedPreferencesKey
import com.suihan74.utilities.typeInfo
import java.lang.reflect.Type
import java.time.LocalDateTime
data class N... | 14 | null | 1 | 7 | d18b936e17647745920115041fe15d761a209d8a | 2,737 | Satena | MIT License |
app/src/main/java/com/suihan74/satena/models/NoticesKey.kt | suihan74 | 207,459,108 | false | null | package com.suihan74.satena.models
import android.content.Context
import com.suihan74.hatenaLib.Notice
import com.suihan74.utilities.SafeSharedPreferences
import com.suihan74.utilities.SharedPreferencesKey
import com.suihan74.utilities.typeInfo
import java.lang.reflect.Type
import java.time.LocalDateTime
data class N... | 14 | null | 1 | 7 | d18b936e17647745920115041fe15d761a209d8a | 2,737 | Satena | MIT License |
azure/src/main/java/com/nimbusframework/nimbusaws/arm/resources/Resource.kt | thomasjallerton | 163,180,980 | false | {"YAML": 3, "Ignore List": 2, "XML": 4, "Maven POM": 9, "Dockerfile": 1, "Text": 1, "Markdown": 35, "Kotlin": 570, "Java": 167, "JSON": 2, "JavaScript": 4, "SVG": 4, "CSS": 1} | package com.nimbusframework.nimbusaws.arm.resources
import com.nimbusframework.nimbuscore.persisted.NimbusState
import com.google.gson.JsonArray
import com.google.gson.JsonObject
abstract class Resource(protected val nimbusState: NimbusState, val stage: String) {
protected abstract fun configureJson(jsonObj: Jso... | 4 | Kotlin | 4 | 39 | 5c3325caaf3fe9de9ffad130fd1e773c6f680e89 | 2,309 | nimbus-framework | MIT License |
plugins/kotlin/j2k/new/tests/testData/libSources/simple/kotlin/Library.kt | ingokegel | 72,937,917 | false | null | package library.kotlin.test
public class LibraryKt {
fun doSomething(b: String) {
val a = b
}
} | 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 112 | intellij-community | Apache License 2.0 |
idea/src/org/jetbrains/kotlin/idea/intentions/MoveMemberOutOfCompanionObjectIntention.kt | JetBrains | 278,369,660 | false | null | /*
* Copyright 2010-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 0 | null | 30 | 82 | cc81d7505bc3e9ad503d706998ae8026c067e838 | 5,591 | intellij-kotlin | Apache License 2.0 |
android/testData/projects/EtrWithAndroidx/app/src/main/java/com/example/etrwithandroidx/MainActivity.kt | JetBrains | 60,701,247 | false | null | package com.example.etrwithandroidx
import android.app.Activity
class MainActivity : Activity() | 5 | null | 227 | 948 | 10110983c7e784122d94c7467e9d243aba943bf4 | 97 | android | Apache License 2.0 |
shared/src/commonMain/kotlin/com/aglushkov/wordteacher/shared/general/extensions/StateFlow.kt | ilmat192 | 306,018,342 | true | {"Kotlin": 140323, "Swift": 11473, "Ruby": 2076, "Java": 579} | package com.aglushkov.wordteacher.shared.general.extensions
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.collect
suspend fun <T> Flow<T>.forward(stateFlow: MutableStateFlow<T>) {
collect {
stateFlow.value = it
}
} | 0 | Kotlin | 0 | 1 | fe3c9c29df5ba48ad1873dec276d1e5ee05e8f7f | 301 | WordTeacher | MIT License |
source-gallery/src/main/java/com/google/android/apps/muzei/gallery/GalleryArtDocumentsProvider.kt | ianhanniballake | 24,799,536 | false | null | /*
* Copyright 2020 Google 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 ... | 40 | null | 959 | 7 | 14a0c0c41e2628375bc5a5e5a135ff933d8b7c27 | 1,139 | muzei | Apache License 2.0 |
app/src/main/java/org/simple/clinic/summary/PatientSummaryCaller.kt | pratul | 151,071,054 | false | null | package org.simple.clinic.summary
enum class PatientSummaryCaller {
SEARCH,
NEW_PATIENT
}
| 0 | Kotlin | 0 | 1 | fa311d989cac0a167070f2e1e466191919b659b8 | 95 | citest | MIT License |
cours-filters-kotlin/src/test/kotlin/controllers/HelloControllerTest.kt | bkuchcik | 161,939,676 | false | null | package controllers
import fr.isima.controllers.HelloController
import org.junit.Before
import org.junit.Test
import org.assertj.core.api.Assertions.assertThat
class HelloControllerTest {
private val helloController: HelloController = HelloController()
@Test
fun hello_returnHello() {
assertTha... | 1 | null | 1 | 1 | 4082b4f5dcb455501d1c7f2e761145dfa237e4d6 | 380 | cours-jee-2-filters | MIT License |
bbfgradle/tmp/arrays/JavaAndKotlin/javaAndKotlin191.kt | DaniilStepanov | 346,008,310 | false | {"Markdown": 122, "Gradle": 762, "Gradle Kotlin DSL": 649, "Java Properties": 23, "Shell": 49, "Ignore List": 20, "Batchfile": 26, "Git Attributes": 8, "Kotlin": 82508, "Protocol Buffer": 12, "Java": 6674, "Proguard": 12, "XML": 1698, "Text": 13298, "INI": 221, "JavaScript": 294, "JAR Manifest": 2, "Roff": 217, "Roff M... | // FILE: BoxFunKt.java
import kotlin.Metadata;
import org.jetbrains.annotations.NotNull;
class BoxFunKt {
@NotNull
public static final String box() {
CharSequenceIndicesKt.testR0xE0();
CharSequenceIndicesKt.testR0xE1();
CharSequenceIndicesKt.testR0xE2();
CharSequenceIndicesKt.testR0xE3()... | 1 | null | 1 | 1 | e772ef1f8f951873ebe7d8f6d73cf19aead480fa | 69,546 | kotlinWithFuzzer | Apache License 2.0 |
app/src/main/java/com/rolandvitezhu/todocloud/ui/activity/main/viewmodel/viewmodelfactory/ListsViewModelFactory.kt | rolandvitezhu | 95,643,629 | false | {"Gradle": 3, "Markdown": 3, "XML": 73, "Java Properties": 2, "Ignore List": 1, "Proguard": 1, "JSON": 4, "Java": 18, "Kotlin": 74} | package com.rolandvitezhu.todocloud.ui.activity.main.viewmodel.viewmodelfactory
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import com.rolandvitezhu.todocloud.ui.activity.main.viewmodel.CategoriesViewModel
import com.rolandvitezhu.todocloud.ui.activity.main.viewmodel.ListsViewModel
... | 1 | null | 1 | 1 | db7293c834093d22af64fbe690928043edbe1d52 | 698 | TodoCloud | MIT License |
app/src/main/java/jp/juggler/subwaytooter/ActColumnCustomize.kt | comradekingu | 177,438,602 | false | null | package jp.juggler.subwaytooter
import android.content.Intent
import android.content.res.ColorStateList
import android.graphics.Bitmap
import android.net.Uri
import android.os.Bundle
import androidx.annotation.ColorInt
import androidx.core.view.ViewCompat
import androidx.appcompat.app.AppCompatActivity
import android.... | 1 | null | 1 | 1 | 805af9ca2c4ddd770fd79b0a19a35e036bf41387 | 13,833 | SubwayTooter | Apache License 2.0 |
togetherAd/src/main/java/com/rumtel/ad/other/AdNameType.kt | huangdehui2013 | 192,863,431 | false | null | package com.rumtel.ad.other/*
* (●゚ω゚●)
*
* Created by Matthew_Chen on 2018/8/23.
*/
enum class AdNameType(val type : String) {
//百度 Mob
BAIDU("baidu"),
//腾讯的广点通
GDT("gdt"),
//穿山甲
CSJ("csj"),
//不展示
NO("no")
} | 1 | null | 1 | 2 | 212d749a5644b60c9c67e7e64e9e51527ee2504f | 250 | TogetherAd | Apache License 2.0 |
src/main/kotlin/pl/exbook/exbook/shared/Exceptions.kt | Ejden | 339,380,956 | false | null | package pl.exbook.exbook.shared
open class ApplicationException(message: String? = null, cause: Throwable? = null, val userMessage: String? = null) : RuntimeException(message, cause)
open class IllegalParameterException(message: String? = null, cause: Throwable? = null) : ApplicationException(message, cause)
open cl... | 3 | Kotlin | 0 | 1 | ac636229a26daf6e82f7f7d0ea1c02f32788c782 | 731 | exbook-backend | The Unlicense |
src/main/kotlin/de/lancom/openapi/common/util/ValidParsedReference.kt | lancomsystems | 733,524,954 | false | {"Kotlin": 996057, "Mustache": 16764} | package de.lancom.openapi.common.util
import de.lancom.openapi.common.types.ComponentType
data class ValidParsedReference(
val componentType: ComponentType,
val name: String,
) : ParsedReference {
override val ref: String = "#/components/${componentType.name.lowercase()}/$name"
override fun toString(... | 3 | Kotlin | 0 | 1 | 1c737b79c70fa77a80e9b0e59c102125b52a5a7c | 359 | openapi-parser | Apache License 2.0 |
src/main/kotlin/de/lancom/openapi/common/util/ValidParsedReference.kt | lancomsystems | 733,524,954 | false | {"Kotlin": 996057, "Mustache": 16764} | package de.lancom.openapi.common.util
import de.lancom.openapi.common.types.ComponentType
data class ValidParsedReference(
val componentType: ComponentType,
val name: String,
) : ParsedReference {
override val ref: String = "#/components/${componentType.name.lowercase()}/$name"
override fun toString(... | 3 | Kotlin | 0 | 1 | 1c737b79c70fa77a80e9b0e59c102125b52a5a7c | 359 | openapi-parser | Apache License 2.0 |
src/main/kotlin/androidstudio/tools/missed/features/LoadingView.kt | rasoulmiri | 668,869,188 | false | {"Kotlin": 440329} | package androidstudio.tools.missed.features
import com.intellij.ui.AnimatedIcon
import java.awt.BorderLayout
import javax.swing.JLabel
import javax.swing.JPanel
import javax.swing.SwingConstants
class LoadingView : JPanel(BorderLayout()) {
init {
add(JLabel("Loading...", AnimatedIcon.Default(), SwingConst... | 0 | Kotlin | 0 | 2 | fb33080fef3289880a4efdaf92bb9826c322cfc4 | 363 | AndroidStudioToolsMissed | Apache License 2.0 |
domain/src/main/kotlin/io/github/wykopmobilny/domain/linkdetails/VoteDownReason.kt | otwarty-wykop-mobilny | 374,160,630 | true | {"Kotlin": 1326147, "HTML": 66896, "Java": 38599} | package io.github.wykopmobilny.domain.linkdetails
enum class VoteDownReason {
Duplicate,
Spam,
FakeInfo,
WrongContent,
UnsuitableContent,
}
| 13 | Kotlin | 4 | 47 | 85b54b736f5fbcd6f62305779ed7ae2085c3b136 | 161 | wykop-android | MIT License |
yangxj96-starter/yangxj96-starter-security/src/main/java/com/yangxj96/saas/starter/security/exception/handle/AccessDeniedHandlerImpl.kt | yangxj96 | 574,967,993 | false | {"Kotlin": 187589} | package com.yangxj96.saas.starter.security.exception.handle
import cn.hutool.extra.spring.SpringUtil
import com.fasterxml.jackson.databind.ObjectMapper
import com.yangxj96.saas.common.respond.R
import com.yangxj96.saas.common.respond.RStatus
import jakarta.servlet.ServletException
import jakarta.servlet.http.HttpServl... | 0 | Kotlin | 0 | 0 | bcda1fce15148f8cfea85a735d09bd97a1b9923b | 1,144 | yangxj96-saas-api | MIT License |
hello-kafka-es/order-query-service/src/main/kotlin/kafka/es/query/OrderController.kt | thecodemonkey | 374,150,626 | false | null | package kafka.es.query
import org.springframework.http.ResponseEntity.ok
import org.springframework.web.bind.annotation.*
@RestController
@RequestMapping("/orders")
class OrderController(val repository: OrderRepository) {
@GetMapping
fun getAllOrders() =
ok().body(repository.findAll())
}
| 1 | Kotlin | 3 | 9 | a4752cdb21d1d06bffb398fd5d128d14a87c6cec | 309 | kafka-microservices | MIT License |
src/main/kotlin/starter/task/claim/thief/ClaimToThiefExecutor.kt | temik911 | 238,478,789 | true | {"Kotlin": 469598} | package starter.task.claim.thief
import screeps.api.BodyPartConstant
import screeps.api.Creep
import screeps.api.ERR_NOT_IN_RANGE
import screeps.api.Game
import screeps.api.OK
import screeps.api.Room
import screeps.api.RoomPosition
import screeps.api.get
import starter.calculateClaimToThiefRoom
import starter.memory.T... | 0 | Kotlin | 0 | 0 | 0cd2df83df1eb31b4beab1dfba601fbfd5c1e8c0 | 1,475 | screeps-kotlin-starter | MIT License |
app/src/main/java/com/pm/catlover/ImageViewer.kt | PattoMotto | 65,618,956 | false | null | package com.pm.catlover
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import com.bumptech.glide.Glide
import kotlinx.android.synthetic.main.image_include.*
class ImageViewer : AppCompatActivity() {
var flickrPost: FlickrPost? = null
var FLICKR_DATA:String = "flickrData"
override... | 0 | Kotlin | 0 | 0 | e7a364dd25839e49f94ec22e06ab27e53f25ad3f | 959 | CatLover | Apache License 2.0 |
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/opmodes/Auto_Sandbox.kt | oaleksander | 299,095,696 | true | {"Gradle": 6, "Java Properties": 2, "Shell": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 4, "Text": 5, "XML": 16, "Java": 2, "Kotlin": 63} | @file:Suppress("ClassName")
package org.firstinspires.ftc.teamcode.opmodes
import com.qualcomm.robotcore.eventloop.opmode.Autonomous
import org.firstinspires.ftc.teamcode.math.Pose2D
import org.firstinspires.ftc.teamcode.robot.WoENrobot.delay
import org.firstinspires.ftc.teamcode.robot.WoENrobot.movement
import kotli... | 0 | Kotlin | 0 | 0 | c9a8ca2bd134022704b24acb9b11d620da86f75e | 729 | FTCUltimateGoal | MIT License |
app/src/main/java/live/hms/app2/ui/meeting/HlsPlayer.kt | 100mslive | 330,654,934 | false | null | package live.hms.app2.ui.meeting
import android.content.Context
import com.google.android.exoplayer2.ExoPlayer
import com.google.android.exoplayer2.MediaItem
import com.google.android.exoplayer2.Player
import com.google.android.exoplayer2.source.hls.HlsMediaSource
import com.google.android.exoplayer2.upstream.DataSour... | 17 | null | 27 | 71 | 12055903ab6225ed4babced8526f461433959c38 | 1,717 | 100ms-android | MIT License |
app/src/main/java/com/xflip/arglassesdemo/base/BaseViewModel.kt | aioptix | 781,304,871 | false | {"Kotlin": 65744, "Java": 30375} | package com.xflip.arglassesdemo.base
import android.app.Application
import androidx.lifecycle.AndroidViewModel
open class BaseViewModel(context: Application) : AndroidViewModel(context) {
} | 0 | Kotlin | 0 | 1 | d90bda60b347e5a0b98f42f381e2430aad3e1a3a | 191 | ai-glasses-demo | MIT License |
messaging/src/river/exertion/kcop/messaging/SwitchboardEntry.kt | exertionriver | 589,248,613 | false | null | package river.exertion.kcop.messaging
data class SwitchboardEntry(val switchboardTag : String, var switchboardTagAction: (() -> Unit)? = { throw Exception("$switchboardTag action not defined") }) | 0 | Kotlin | 0 | 1 | 420ddbc626d2de7617a579030c3998a7b985d96d | 196 | kcop | MIT License |
app/src/main/java/com/fatlytics/app/ui/base/BaseViewActivity.kt | necatisozer | 177,310,241 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 108, "XML": 38, "Java": 2} | package com.fatlytics.app.ui.base
import android.os.Bundle
import androidx.annotation.LayoutRes
import androidx.databinding.DataBindingUtil
import androidx.databinding.ViewDataBinding
abstract class BaseViewActivity<M : BaseViewModel, B : ViewDataBinding> :
BaseActivity<M>() {
@get:LayoutRes
protected ab... | 0 | Kotlin | 0 | 1 | 6f5cadb83570d09f5aea89d9fc1139b7ccb7bc0c | 558 | Fatlytics | Apache License 2.0 |
app/src/main/java/com/fatlytics/app/ui/base/BaseViewActivity.kt | necatisozer | 177,310,241 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 108, "XML": 38, "Java": 2} | package com.fatlytics.app.ui.base
import android.os.Bundle
import androidx.annotation.LayoutRes
import androidx.databinding.DataBindingUtil
import androidx.databinding.ViewDataBinding
abstract class BaseViewActivity<M : BaseViewModel, B : ViewDataBinding> :
BaseActivity<M>() {
@get:LayoutRes
protected ab... | 0 | Kotlin | 0 | 1 | 6f5cadb83570d09f5aea89d9fc1139b7ccb7bc0c | 558 | Fatlytics | Apache License 2.0 |
core/src/main/kotlin/com/strumenta/kolasu/transformation/NodeTransformer.kt | Strumenta | 91,565,400 | false | null | package com.strumenta.kolasu.transformation
import com.strumenta.kolasu.language.Concept
import com.strumenta.kolasu.model.NodeLike
import com.strumenta.kolasu.model.asContainment
import kotlin.reflect.KClass
import kotlin.reflect.KMutableProperty1
import kotlin.reflect.KProperty1
import kotlin.reflect.full.memberFunc... | 94 | null | 12 | 112 | 2053bffbc615a35f06a3d49f59984a5e6a6568dd | 9,299 | kolasu | Apache License 2.0 |
src/main/kotlin/dev/xanhub/tinyengine/renderer/camera/Camera.kt | xandergos | 258,840,521 | false | {"Kotlin": 104978, "GLSL": 37306, "Assembly": 15} | package dev.xanhub.tinyengine.renderer.camera
import dev.xanhub.tinyengine.renderer.Window
import dev.xanhub.tinyengine.renderer.math.Transform
import org.joml.*
import kotlin.math.PI
private val upVector = Vector3f(0f, 1f, 0f)
open class Camera(position: Vector3fc, direction: Vector3fc, var screenSize: Vector2i, fo... | 0 | Kotlin | 1 | 2 | e3cce689740a154326c8299a529e8c389e40a01c | 3,812 | tiny-engine | MIT License |
apps/intellij/src/main/kotlin/dev/nx/console/nxls/client/NxlsLanguageClient.kt | nrwl | 137,811,219 | false | {"TypeScript": 721361, "Kotlin": 448147, "JavaScript": 8073, "HTML": 304, "CSS": 298} | package dev.nx.console.nxls.client
import com.intellij.openapi.diagnostic.logger
import java.util.concurrent.CompletableFuture
import org.eclipse.lsp4j.MessageActionItem
import org.eclipse.lsp4j.MessageParams
import org.eclipse.lsp4j.PublishDiagnosticsParams
import org.eclipse.lsp4j.ShowMessageRequestParams
import org... | 44 | TypeScript | 210 | 1,306 | 77ae9985e961676a5e439e6ea6e6fc4b79ff5329 | 1,447 | nx-console | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.