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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
vector/src/main/java/im/vector/riotx/features/home/room/detail/composer/ComposerEditText.kt | michaelwechner | 224,202,170 | true | {"Kotlin": 3784708, "Java": 24146, "HTML": 22673, "Shell": 20887} | /*
* Copyright 2019 New Vector Ltd
*
* 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 i... | 0 | null | 0 | 0 | 4690754f5fafda66915a1a5dd3389b0497ac1e6c | 2,405 | riotX-android | Apache License 2.0 |
modules/wasm-binary/src/commonMain/kotlin/tree/sections/NameNodeKind.kt | wasmium | 761,480,110 | false | {"Kotlin": 584714, "JavaScript": 203} | package org.wasmium.wasm.binary.tree.sections
public enum class NameNodeKind(public val nameNodeKindId: Int) {
MODULE(0),
FUNCTION(1),
LOCAL(2),
EXCEPTION(3),
/** No NameNodeKind. */
NONE(-1),
;
public companion object {
public fun fromNameNodeKind(nameNodeKindId: Int): NameNo... | 0 | Kotlin | 0 | 3 | 4c474db29b638e2ad09f19ad9d90dd648fc7c776 | 412 | wasmium-wasm-binary | Apache License 2.0 |
app/src/main/java/com/bookcrossing/mobile/util/adapters/BooksAdapter.kt | fobo66 | 96,350,722 | false | null | /*
* Copyright 2019 <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 ... | 10 | Kotlin | 1 | 3 | 3428041869733e10d48250a935cf84ec7ab2c36d | 1,701 | BookcrossingMobile | Apache License 2.0 |
kotest-tests/kotest-tests-core/src/jvmTest/kotlin/com/sksamuel/kotest/specs/feature/FeatureSpecOneInstanceTest.kt | besil | 234,156,653 | true | {"Kotlin": 1813982, "JavaScript": 457, "HTML": 423, "Java": 153, "Shell": 125} | //package com.sksamuel.kotest.specs.feature
//
//import io.kotest.core.spec.IsolationMode
//import io.kotest.core.spec.style.FeatureSpec
//import io.kotest.shouldBe
//import io.kotest.specs.FeatureSpec
//import java.util.concurrent.atomic.AtomicInteger
//
//class FeatureSpecOneInstanceTest : FeatureSpec() {
//
// over... | 0 | null | 0 | 0 | 722ebe230b17ff12615be6dc2979d51f84f2e0bf | 1,385 | kotlintest | Apache License 2.0 |
vector/src/main/java/im/vector/app/features/home/room/list/RoomListViewState.kt | iiitomo | 313,868,666 | true | {"Kotlin": 7936105, "Java": 157700, "Shell": 30205, "HTML": 24199, "Python": 11382, "FreeMarker": 7721, "JavaScript": 1782} | /*
* Copyright 2019 New Vector Ltd
*
* 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 i... | 0 | Kotlin | 0 | 0 | d6bc7d02ec56e8b5f86b45f238cea50411da35da | 7,984 | ChatonMessenger-android | Apache License 2.0 |
app/src/main/java/io/alexeychurchill/dplayer/media/presentation/CoverArtPath.kt | alexeychurchill | 795,201,879 | false | {"Kotlin": 213307} | package io.alexeychurchill.dplayer.media.presentation
sealed interface CoverArtPath {
data class LocalUri(val mediaUri: String) : CoverArtPath
}
| 0 | Kotlin | 1 | 0 | b022fd85542ef05d8d06a4cac35061cc34159227 | 152 | DPlayer | MIT License |
dusseldorf-ktor-auth/src/test/kotlin/no/nav/helse/dusseldorf/ktor/auth/ClaimEnforcerTest.kt | navikt | 177,815,271 | false | {"Kotlin": 263645, "Shell": 4117} | package no.nav.helse.dusseldorf.ktor.auth
import com.auth0.jwt.JWT
import com.auth0.jwt.interfaces.Claim
import java.util.*
import kotlin.test.Test
import kotlin.test.assertEquals
class ClaimEnforcerTest {
private val requiredAudience = "my-own-client"
private val authorizedClients = setOf("clientA", "clientB... | 2 | Kotlin | 2 | 3 | b3c6cac00002940aa3f670a13facb7cc339dbdf6 | 6,425 | dusseldorf-ktor | MIT License |
app/src/main/java/com/goodweather/android/util/String.kt | freelunch2016 | 380,457,383 | false | {"Kotlin": 26618} | package com.goodweather.android.util
import android.widget.Toast
import com.goodweather.android.GoodWeatherApplication
fun String.toastShow(duration:Int = Toast.LENGTH_SHORT){
Toast.makeText(GoodWeatherApplication.context,this,duration).show()
}
| 0 | Kotlin | 0 | 0 | 9e5336c16c90edebe5b547ba32b4e491e00db708 | 254 | GoodWeather2 | Apache License 2.0 |
libnavui-maps/src/main/java/com/mapbox/navigation/ui/maps/util/RoutesRenderedCallbackExtensions.kt | mapbox | 87,455,763 | false | {"Kotlin": 8885438, "Makefile": 8762, "Python": 7925, "Java": 4624} | package com.mapbox.navigation.ui.maps.util
import com.mapbox.navigation.base.ExperimentalPreviewMapboxNavigationAPI
import com.mapbox.navigation.ui.maps.route.line.api.DelayedRoutesRenderedCallback
import com.mapbox.navigation.ui.maps.route.line.api.RoutesRenderedCallback
@OptIn(ExperimentalPreviewMapboxNavigationAPI... | 508 | Kotlin | 318 | 621 | 88163ae3d7e34948369d6945d5b78a72bdd68d7c | 472 | mapbox-navigation-android | Apache License 2.0 |
core-ui/src/main/kotlin/com/laomuji666/compose/core/ui/we/icons/Search.kt | laomuji666 | 844,336,531 | false | {"Kotlin": 235984} | package com.laomuji666.compose.core.ui.we.icons
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.path
import androidx.compose.ui.uni... | 1 | Kotlin | 0 | 99 | 55ebed2733bdbc2330f3297b74b5514fea786ba3 | 1,982 | Quickly-Use-Jetpack-Compose | Apache License 2.0 |
app/src/main/java/com/brins/locksmith/ui/main/MineFragment.kt | BrinsLee | 224,311,693 | false | null | package com.brins.locksmith.ui.main
import android.content.Context
import android.view.View
import androidx.lifecycle.ViewModelProvider
import butterknife.OnClick
import com.brins.locksmith.R
import com.brins.locksmith.ui.activity.BaseActivity
import com.brins.locksmith.ui.activity.MainActivity
import com.brins.locks... | 0 | Kotlin | 0 | 1 | e1fd0e515a410c49c33c6b9e94411ae07936f1e3 | 1,652 | Locksmith | MIT License |
data/database/impl/src/main/java/com/onseok/marvelpedia/database/impl/dao/MarvelHeroDao.kt | onseok | 733,347,236 | false | {"Kotlin": 111071} | /*
* Copyright 2023 onseok
*
* 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 w... | 1 | Kotlin | 0 | 2 | e2148252f5892a543f8661c1725b0f88539f0a79 | 1,793 | Marvelpedia | Apache License 2.0 |
app/shared/state-machine/ui/public/src/commonTest/kotlin/build/wallet/statemachine/BodyModelMock.kt | proto-at-block | 761,306,853 | false | {"C": 10424094, "Kotlin": 7156393, "Rust": 2046237, "Swift": 700307, "Python": 331492, "HCL": 271992, "Shell": 111209, "TypeScript": 102700, "C++": 64770, "Meson": 64234, "JavaScript": 36227, "Just": 28071, "Ruby": 9428, "Dockerfile": 5731, "Makefile": 3839, "Open Policy Agent": 1552, "Procfile": 80} | package build.wallet.statemachine
import build.wallet.analytics.events.screen.EventTrackerScreenInfo
import build.wallet.statemachine.core.BodyModel
/** A fake [BodyModel] for testing, identifiable by its id. */
data class BodyModelMock<PropsT : Any>(
val id: String,
val latestProps: PropsT,
override val eventT... | 0 | C | 10 | 98 | 1f9f2298919dac77e6791aa3f1dbfd67efe7f83c | 386 | bitkey | MIT License |
src/main/kotlin/com/vicheGallery/post/ui/PostController.kt | ssamzag | 561,648,517 | false | null | package com.vicheGallery.post.ui
import com.vicheGallery.auth.domain.AuthenticationPrincipal
import com.vicheGallery.auth.domain.LoginUser
import com.vicheGallery.post.dto.PostRequest
import com.vicheGallery.post.application.PostService
import com.vicheGallery.post.dto.PostRead
import com.vicheGallery.post.dto.PostsRe... | 0 | Kotlin | 0 | 0 | 3f1b70a73ddda2b9aef9bfd9aa58010467de16d9 | 2,223 | viche-gallery | Apache License 2.0 |
binary-transcoders/src/main/kotlin/com/kamelia/sprinkler/transcoder/binary/decoder/DecoderUtils.kt | Black-Kamelia | 579,095,832 | false | {"Kotlin": 647359, "Java": 18620} | @file:JvmName("DecoderUtils")
package com.kamelia.sprinkler.transcoder.binary.decoder
import com.kamelia.sprinkler.transcoder.binary.decoder.core.*
import com.kamelia.sprinkler.util.ExtendedCollectors
import com.kamelia.sprinkler.util.unsafeCast
import com.zwendo.restrikt.annotation.HideFromJava
import java.util.stre... | 3 | Kotlin | 0 | 6 | c86847064925469383cdde0cce68572bcde1e57b | 18,945 | Sprinkler | MIT License |
src/test/kotlin/com/intellij/aws/cloudformation/tests/InspectionsTests.kt | shalupov | 15,524,636 | false | null | package com.intellij.aws.cloudformation.tests
import com.intellij.aws.cloudformation.inspections.JsonFormatViolationInspection
import com.intellij.testFramework.InspectionFixtureTestCase
class InspectionsTests : InspectionFixtureTestCase() {
fun testFormatViolationInspection() {
myFixture.testDataPath = TestUti... | 41 | Kotlin | 28 | 143 | 22a7a3aaee8784afc49b752c55da518b702fc067 | 405 | idea-cloudformation | Apache License 2.0 |
android/app/src/main/kotlin/com/example/navigationcheck/MainActivity.kt | samrat19 | 273,435,256 | false | {"Dart": 5710, "Swift": 404, "Kotlin": 132, "Objective-C": 38} | package com.example.navigationcheck
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 0 | 0 | 26556a1ef7e4b99ad5c78285c0d869a542396a93 | 132 | navigation_with_provider | Apache License 2.0 |
common/sdk/profile/api/external/src/commonMain/kotlin/io/chefbook/sdk/profile/api/external/domain/usecases/SetDescriptionUseCase.kt | mephistolie | 379,951,682 | false | {"Kotlin": 1334117, "Ruby": 16819, "Swift": 352} | package io.chefbook.sdk.profile.api.external.domain.usecases
import io.chefbook.libs.utils.result.EmptyResult
interface SetDescriptionUseCase {
suspend operator fun invoke(description: String?): EmptyResult
}
| 0 | Kotlin | 0 | 12 | ddaf82ee3142f30aee8920d226a8f07873cdcffe | 214 | chefbook-mobile | Apache License 2.0 |
app/src/main/kotlin/io/crypto/bitstamp/model/OpenOrderStatus.kt | jamiepg20 | 120,178,812 | true | {"Kotlin": 133574} | package io.crypto.bitstamp.model
data class OpenOrderStatus(
val status: String?
) {
companion object {
val EMPTY = OpenOrderStatus(null)
}
}
| 0 | Kotlin | 0 | 0 | 0d072593f4feed5e4730c046432907d4d968423e | 148 | Bitcoin | Apache License 2.0 |
src/main/kotlin/com/example/plugins/Routing.kt | betulnecanli | 591,738,048 | false | null | package com.example.plugins
import com.example.routes.characters
import com.example.routes.root
import com.example.routes.searchCharacters
import io.ktor.server.routing.*
import io.ktor.server.application.*
import io.ktor.server.http.content.*
fun Application.configureRouting() {
routing {
root()
... | 0 | Kotlin | 0 | 4 | 8166c8563f88f57fda784a0bce2f2083e7f368af | 437 | PowerpuffGirlsServer | Apache License 2.0 |
ERMSCompany/src/main/java/com/kust/erms_company/ui/complaints/ComplaintViewModel.kt | sabghat90 | 591,653,827 | false | {"Kotlin": 583902, "HTML": 87217} | package com.kust.erms_company.ui.complaints
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.kust.erms_company.data.repositroy.ComplaintRepository
import com.kust.ermslibrary.models.Complaint
import com.... | 1 | Kotlin | 0 | 2 | 56497f553ddcbbe2bdbafb987caa40cb44d552e8 | 2,446 | ERMS | MIT License |
ui/src/main/java/com/pyamsoft/tetherfi/ui/Alpha.kt | pyamsoft | 475,225,784 | false | {"Kotlin": 933742, "Shell": 2212} | /*
* Copyright 2024 pyamsoft
*
* 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... | 10 | Kotlin | 31 | 401 | aebdfc88e59a967d2c343d68d5dccb49dfa4ac06 | 951 | tetherfi | Apache License 2.0 |
src/test/kotlin/nl/joerihofman/avroexample/GenericMapperTest.kt | joerihofman | 176,556,036 | false | null | package nl.joerihofman.avroexample
import org.junit.jupiter.api.BeforeAll
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.TestInstance
import java.time.LocalDate
import java.util.*
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
object GenericMapperTest {
private lateinit var mapper: GenericMapper
... | 0 | Kotlin | 0 | 0 | 1166e1a36d02f2e81eba5bfcbb5f8950c97cc6d7 | 2,821 | avroExample | The Unlicense |
src/commonMain/kotlin/net/notjustanna/lin/parser/parselets/value/ParenthesisParser.kt | annathelibri | 280,314,655 | false | {"Kotlin": 323273} | package net.notjustanna.lin.parser.parselets.value
import net.notjustanna.lin.ast.node.Expr
import net.notjustanna.lin.ast.node.InvalidNode
import net.notjustanna.lin.ast.node.Node
import net.notjustanna.lin.lexer.TokenType
import net.notjustanna.tartar.api.grammar.PrefixParselet
import net.notjustanna.tartar.api.pars... | 17 | Kotlin | 0 | 7 | 9178bacb49385bdbbbebceb54d757ecf96b37705 | 975 | Lin | MIT License |
model/src/main/kotlin/org/digma/intellij/plugin/model/rest/event/CodeObjectEventType.kt | digma-ai | 472,408,329 | false | null | package org.digma.intellij.plugin.model.rest.event
enum class CodeObjectEventType {
Unmapped,
DurationChangeEvent,
FirstImportantInsight,
}
| 264 | Kotlin | 4 | 7 | ec199eb6f3eca60536282b9fe2c9fbca3e581b45 | 153 | digma-intellij-plugin | MIT License |
src/main/kotlin/com/steven/model/dto/PageRequest.kt | Steven0038 | 521,627,330 | false | null | package com.steven.model.dto
import javax.validation.constraints.Max
import javax.validation.constraints.Min
import javax.ws.rs.DefaultValue
import javax.ws.rs.QueryParam
open class PageRequest {
@field:[
QueryParam("page")
DefaultValue("1")
Min(1)
Max(100)]
var page: Int = 1
@field:[
... | 0 | Kotlin | 1 | 0 | 65d7d83eea1b341e941de6c58ba197ac4b211834 | 413 | todo-list | Apache License 2.0 |
src/main/kotlin/watch/craft/scrapers/GipsyHillScraper.kt | alexsparrow | 279,883,860 | true | {"Kotlin": 216874, "TypeScript": 36907, "CSS": 10390, "HCL": 1516, "JavaScript": 1092, "Shell": 440} | package watch.craft.scrapers
import watch.craft.Offer
import watch.craft.Scraper
import watch.craft.Scraper.Job.Leaf
import watch.craft.Scraper.ScrapedItem
import watch.craft.utils.*
import java.net.URI
class GipsyHillScraper : Scraper {
override val jobs = forRootUrls(ROOT_URL) { root ->
root
.selectMult... | 0 | null | 0 | 0 | 7eda21a18754d0bd29e5e4ff3bbce5aacd3ff37e | 1,739 | craft-watch | MIT License |
model/src/commonMain/kotlin/dev/stashy/symcollector/CollectSymbols.kt | stashymane | 847,958,563 | false | {"Kotlin": 9350} | package dev.stashy.symcollector
/**
* Marks an annotation as a collector for symbols.
*
* @property collectionName The name of the property your symbols will be placed in.
* @property collectionType The fully-qualified type of your collection.
* @property packageName The package your collected symbols will be pla... | 0 | Kotlin | 0 | 0 | d6c57ed1ceb871f863e6583481e3024ab3392752 | 1,033 | ksp-symbol-collector | Apache License 2.0 |
line-awesome/src/commonMain/kotlin/compose/icons/lineawesomeicons/TrashRestoreSolid.kt | DevSrSouza | 311,134,756 | false | {"Kotlin": 36719092} | package compose.icons.lineawesomeicons
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
... | 17 | Kotlin | 25 | 571 | a660e5f3033e3222e3553f5a6e888b7054aed8cd | 2,869 | compose-icons | MIT License |
src/main/kotlin/uk/gov/justice/digital/hmpps/locationsinsideprison/jpa/repository/LocationRepository.kt | ministryofjustice | 738,978,080 | false | {"Kotlin": 459889, "Dockerfile": 1369} | package uk.gov.justice.digital.hmpps.locationsinsideprison.jpa.repository
import org.springframework.data.jpa.repository.JpaRepository
import org.springframework.stereotype.Repository
import uk.gov.justice.digital.hmpps.locationsinsideprison.jpa.Location
import uk.gov.justice.digital.hmpps.locationsinsideprison.jpa.Lo... | 2 | Kotlin | 0 | 1 | 2798f5b78a539effc3d62b2ffef03d96af714d46 | 724 | hmpps-locations-inside-prison-api | MIT License |
src/jvmMain/kotlin/topDecorationBar.kt | RM-camp-for-high-school-students | 514,791,705 | false | {"Kotlin": 111502} | import androidx.compose.foundation.background
import androidx.compose.foundation.layout.*
import androidx.compose.material.Divider
import androidx.compose.material.Icon
import androidx.compose.material.MaterialTheme
import androidx.compose.material.Text
import androidx.compose.runtime.Composable
import androidx.compose... | 0 | Kotlin | 0 | 0 | 2d1acec4f6bab8d2e14e97f816a506e289112c7e | 1,461 | camp-wms-kotlin | MIT License |
Movie App/app/src/main/java/com/example/cineaste/Adapters/MovieListAdapter.kt | bbandic1 | 830,579,083 | false | {"Kotlin": 174133} | package com.example.cineaste.Adapters
import android.content.Context
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.bumptech.glide.Glide
import com.examp... | 0 | Kotlin | 0 | 0 | 49d050b368975f57c0d5fedd05f1eae121c88ed5 | 2,108 | Android-Studio-Applications | MIT License |
test45/src/main/java/Main.kt | ariannysOronoz | 603,181,296 | false | null |
fun main(){
var miNumero : Int = 8
if (miNumero%2==0) {
println("su numero: $miNumero es par ")
}else{
println(" su numero: $miNumero no es par ")
}
} | 0 | Kotlin | 0 | 0 | a779f54a7ca7db9e377e2b911a101daaababf84c | 186 | tutorialKotlin | MIT License |
src/main/kotlin/no/nav/tiltakspenger/mottak/serder/LocalDateTimeSerializer.kt | navikt | 417,420,999 | false | null | package no.nav.tiltakspenger.mottak.serder
import kotlinx.serialization.KSerializer
import kotlinx.serialization.descriptors.PrimitiveKind
import kotlinx.serialization.descriptors.PrimitiveSerialDescriptor
import kotlinx.serialization.descriptors.SerialDescriptor
import kotlinx.serialization.encoding.Decoder
import ko... | 0 | Kotlin | 0 | 3 | 919e2ccaaec37d1da279faf68d419368946f1516 | 911 | tiltakspenger-mottak | MIT License |
libnavui-maps/src/test/java/com/mapbox/navigation/ui/maps/internal/route/line/RouteLineViewRenderRouteLineClearDataValueTest.kt | mapbox | 87,455,763 | false | {"Kotlin": 8885438, "Makefile": 8762, "Python": 7925, "Java": 4624} | package com.mapbox.navigation.ui.maps.internal.route.line
import com.mapbox.navigation.testing.FieldsAreDoubledTest
import com.mapbox.navigation.ui.maps.route.line.model.RouteLineClearValue
import com.mapbox.navigation.ui.maps.route.line.model.RouteLineDynamicData
internal class RouteLineViewRenderRouteLineClearDataV... | 508 | Kotlin | 318 | 621 | 88163ae3d7e34948369d6945d5b78a72bdd68d7c | 809 | mapbox-navigation-android | Apache License 2.0 |
app/src/androidTest/java/testUtils/Mappers.kt | Wakamoly | 331,492,101 | false | null | package testUtils
object Mappers{
/*fun ReminderDTO.toDomainModel(): ReminderDataItem {
return ReminderDataItem(
this.title,
this.description,
this.location,
this.latitude,
this.longitude,
this.id
)
... | 0 | Kotlin | 0 | 2 | bb03b30490d11d31363e38ed8b84e328c37e06fb | 327 | Taxidi | Apache License 2.0 |
solana/src/commonTest/kotlin/com/solana/serialization/AnchorDiscriminatorSerializerTests.kt | solana-mobile | 719,706,022 | false | {"Kotlin": 78285} | package com.solana.serialization
import com.funkatronics.hash.Sha256
import com.funkatronics.kborsh.Borsh
import kotlinx.serialization.Serializable
import kotlinx.serialization.encodeToByteArray
import kotlin.test.Test
import kotlin.test.assertContentEquals
import kotlin.test.assertEquals
class AnchorDiscriminatorSer... | 2 | Kotlin | 1 | 0 | e5a920560cd0584cbabf7de6199e6b29dd9ec658 | 2,044 | web3-core | Apache License 2.0 |
app/src/main/java/me/ssttkkl/mrmemorizer/AppPreferences.kt | ssttkkl | 437,893,611 | false | {"Kotlin": 77581} | package me.ssttkkl.mrmemorizer
import android.content.SharedPreferences
import android.util.Log
import androidx.preference.PreferenceManager
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.launch
import me.ssttkkl.mrmemorizer.ui.utils.LiveToday
import java.time.Loc... | 0 | Kotlin | 0 | 2 | 3b2ef323465c71c5bfd214a6a71bf2c85c635882 | 4,294 | Mr.MEMORIZER | MIT License |
composeApp/src/commonMain/kotlin/eu/heha/cyclone/model/ComicPosition.kt | sihamark | 614,073,078 | false | {"Kotlin": 97200, "Swift": 692} | package eu.heha.cyclone.model
data class ComicPosition(
val chapterId: Long,
val pageNumber: Long
) | 0 | Kotlin | 0 | 0 | ae9a9ab8a11d212db7be0c0051752ba90d359661 | 108 | ComicReader | Apache License 2.0 |
src/test/kotlin/uk/gov/justice/digital/hmpps/hmppsintegrationapi/extensions/StringExtensionTest.kt | ministryofjustice | 572,524,532 | false | null | package uk.gov.justice.digital.hmpps.hmppsintegrationapi.extensions
import io.kotest.core.spec.style.DescribeSpec
import io.kotest.matchers.shouldBe
class StringExtensionTest : DescribeSpec({
describe("#removeWhitespaceAndNewlines") {
it("removes all whitespace and new lines") {
"""
{
"never... | 2 | Kotlin | 1 | 1 | e6136014e345ed405b4c969f8619056d95e1cfde | 498 | hmpps-integration-api | MIT License |
app/src/main/java/smk/adzikro/moviezone/ui/main/home/HomeFragment.kt | al-qorut | 683,978,951 | false | {"Kotlin": 97687} | package smk.adzikro.moviezone.ui.main.home
import android.content.Intent
import android.os.Bundle
import android.view.*
import android.widget.ImageView
import android.widget.TextView
import androidx.appcompat.widget.AppCompatImageView
import androidx.appcompat.widget.AppCompatRatingBar
import androidx.core.app.Activit... | 0 | Kotlin | 0 | 0 | 1057c8c290ff078d2d69a1e33317c07eea368348 | 4,485 | MovieZone | Apache License 2.0 |
libs/packaging/packaging-core/src/main/kotlin/net/corda/libs/packaging/core/CpkManifest.kt | corda | 346,070,752 | false | {"Kotlin": 20585419, "Java": 308202, "Smarty": 115357, "Shell": 54409, "Groovy": 30246, "PowerShell": 6470, "TypeScript": 5826, "Solidity": 2024, "Batchfile": 244} | package net.corda.libs.packaging.core
import net.corda.data.packaging.CpkManifest as CpkManifestAvro
data class CpkManifest(val cpkFormatVersion: CpkFormatVersion) {
companion object {
fun fromAvro(other: CpkManifestAvro) : CpkManifest =
CpkManifest(CpkFormatVersion.fromAvro(other.version))
... | 11 | Kotlin | 27 | 69 | d478e119ab288af663910f9a2df42a7a7b9f5bce | 404 | corda-runtime-os | Apache License 2.0 |
src/main/kotlin/dreifa/app/opentelemetry/ZipkinOpenTelemetryProvider.kt | dreifadotapp | 478,598,303 | false | null | package dreifa.app.opentelemetry
import io.opentelemetry.api.common.Attributes
import io.opentelemetry.exporter.zipkin.ZipkinSpanExporter
import io.opentelemetry.sdk.OpenTelemetrySdk
import io.opentelemetry.sdk.resources.Resource
import io.opentelemetry.sdk.trace.SdkTracerProvider
import io.opentelemetry.sdk.trace.dat... | 0 | Kotlin | 0 | 0 | a31809cc91858259d1e48d109c3743762dca28a5 | 1,732 | open-telemetry | MIT License |
amazon/instancemetadata/client/src/main/kotlin/org/http4k/connect/amazon/instancemetadata/model/Ec2Credentials.kt | http4k | 295,641,058 | false | {"Kotlin": 1624429, "Handlebars": 10370, "CSS": 5434, "Shell": 3178, "JavaScript": 2076, "Python": 1834, "HTML": 675} | package org.http4k.connect.amazon.instancemetadata.model
import org.http4k.aws.AwsCredentials
import org.http4k.connect.amazon.core.model.AccessKeyId
import org.http4k.connect.amazon.core.model.Expiration
import org.http4k.connect.amazon.core.model.SecretAccessKey
import org.http4k.connect.amazon.core.model.SessionTok... | 7 | Kotlin | 17 | 37 | 94e71e6bba87d9c79ac29f7ba23bdacd0fdf354c | 976 | http4k-connect | Apache License 2.0 |
myblog-jpa/src/main/kotlin/com/site/blog/service/ImgService.kt | yzqdev | 394,679,800 | false | {"Kotlin": 453510, "Java": 239310, "Vue": 114812, "HTML": 47519, "TypeScript": 29771, "Go": 22465, "Less": 8160, "JavaScript": 7120, "CSS": 4588, "SCSS": 979} | package com.site.blog.service
import com.site.blog.model.entity.Img
import org.springframework.web.multipart.MultipartFile
/**
* @author yanni
* @date time 2021/10/29 12:46
* @modified By:
*/
interface ImgService {
fun uploadImage(file: MultipartFile): Img
fun deleteImage(fileName: String)
fun creat... | 0 | Kotlin | 2 | 4 | 7f367dbe7883722bf1d650504265254d5224f69b | 405 | mild-blog | MIT License |
src/main/kotlin/output/kanji/templates/kanji/KanjiPage.kt | Jackson-S | 443,654,833 | false | null | package output.kanji.templates.kanji
import common.Language
import kanjidic.datatypes.CharacterElement
import kotlinx.html.body
import kotlinx.html.dom.create
import kotlinx.html.html
import org.w3c.dom.Document
import org.w3c.dom.Element
import output.common.Page
import output.kanji.templates.kanji.Definitions.defini... | 0 | Kotlin | 0 | 0 | 3ce7765887d55a2701c2dbdcdd3fe82f97093fdc | 829 | JapaneseDictionaryRewrite | MIT License |
src/main/kotlin/com/study/biddingwar/UserDto.kt | iandmyhand | 385,786,113 | false | null | package com.study.biddingwar
data class UserDto(
val name: String,
val password: String
)
| 2 | Kotlin | 3 | 2 | 9e3f0924aa66c885944038cbffbe88106d1f0a5e | 99 | bidding-war | MIT License |
model-aws/src/generated/kotlin/uy/kohesive/iac/model/aws/clients/DeferredAWSElasticBeanstalk.kt | kohesive | 81,814,921 | false | null | package uy.kohesive.iac.model.aws.clients
import com.amazonaws.services.elasticbeanstalk.AWSElasticBeanstalk
import com.amazonaws.services.elasticbeanstalk.AbstractAWSElasticBeanstalk
import com.amazonaws.services.elasticbeanstalk.model.*
import uy.kohesive.iac.model.aws.IacContext
import uy.kohesive.iac.model.aws.pro... | 0 | Kotlin | 1 | 3 | c52427c99384396ea60f436750932ed12aad4e6d | 6,315 | kohesive-iac | MIT License |
server/src/main/kotlin/org/ivdnt/galahad/util/ResourceUtil.kt | INL | 808,669,682 | false | {"Kotlin": 407350, "Vue": 251252, "TypeScript": 81103, "Shell": 24857, "JavaScript": 2290, "Dockerfile": 2176, "HTML": 777, "XSLT": 362} | package org.ivdnt.galahad.util
import java.io.InputStream
fun getResourceStream(path: String): InputStream? =
object {}.javaClass.classLoader.getResourceAsStream(path)
| 0 | Kotlin | 0 | 0 | 84a7fb40da99bd1b9ebada112e6958086d034b50 | 174 | galahad | Apache License 2.0 |
src/main/kotlin/icu/windea/pls/core/annotations/TrickyApi.kt | DragonKnightOfBreeze | 328,104,626 | false | null | package icu.windea.pls.core.annotations
/**
* 注明了此API的实现使用了某种取巧的逻辑(例如反射)。
*/
@MustBeDocumented
@Retention(AnnotationRetention.SOURCE)
annotation class TrickyApi | 4 | Kotlin | 3 | 21 | d9c2337ff189f114914d3c76431c95647721c7a5 | 163 | Paradox-Language-Support | MIT License |
shuttle/database/src/main/kotlin/shuttle/database/adapter/DateAdapter.kt | fardavide | 462,194,990 | false | {"Kotlin": 465845, "Shell": 11573} | package shuttle.database.adapter
import com.squareup.sqldelight.ColumnAdapter
import shuttle.database.model.DatabaseDate
internal class DateAdapter : ColumnAdapter<DatabaseDate, Long> {
override fun decode(databaseValue: Long) = DatabaseDate(databaseValue.toInt())
override fun encode(value: DatabaseDate): L... | 12 | Kotlin | 1 | 14 | 375798a9ea6433839d5d34965afd0b216f82391a | 353 | Shuttle | Apache License 2.0 |
sdk/src/main/java/io/customer/sdk/queue/QueueStorage.kt | customerio | 355,691,391 | false | {"Kotlin": 459133, "Shell": 4485, "Makefile": 1568, "Ruby": 257} | package io.customer.sdk.queue
import io.customer.base.extenstions.isOlderThan
import io.customer.base.extenstions.subtract
import io.customer.sdk.CustomerIOConfig
import io.customer.sdk.data.store.FileStorage
import io.customer.sdk.data.store.FileType
import io.customer.sdk.queue.type.*
import io.customer.sdk.util.Dat... | 2 | Kotlin | 9 | 9 | bbc770d513026e679bb17a5cd0d9d25221138f06 | 7,498 | customerio-android | MIT License |
clvr-back/platform/src/main/kotlin/com/clvr/platform/api/db/DBType.kt | spbu-math-cs | 698,591,633 | false | {"Kotlin": 94320, "TypeScript": 49419, "JavaScript": 8395, "Python": 8353, "CSS": 738} | package com.clvr.platform.api.db
enum class DBType {
JVM,
EMBEDDED,
REMOTE
} | 16 | Kotlin | 0 | 0 | d5b1b910047bf60d22f628c20ebda1d329d743f5 | 89 | ig-platform | Apache License 2.0 |
app/src/main/java/com/sample/application/cell/ThemeExtensions.kt | Raghuramchowdary-tech | 363,732,877 | false | null | package com.sample.application.cell
import android.content.res.Resources
import android.content.res.TypedArray
import android.graphics.drawable.Drawable
import androidx.annotation.AttrRes
import androidx.annotation.ColorInt
@ColorInt
fun Resources.Theme.getColorAttr(@AttrRes attrRes: Int, default: Int = 0): Int {
... | 0 | Kotlin | 0 | 0 | 76910ece9b3e3ec8627052d20f4c0b93514bbd1e | 923 | Task | Apache License 2.0 |
sirius-wallet/src/main/kotlin/org/starcoin/sirius/wallet/core/Wallet.kt | fanngyuan | 174,496,801 | true | {"Kotlin": 542014, "Shell": 3030, "Dockerfile": 781} | package org.starcoin.sirius.wallet.core
import kotlinx.coroutines.channels.Channel
import org.starcoin.sirius.core.*
import org.starcoin.sirius.protocol.Chain
import org.starcoin.sirius.protocol.ChainAccount
import org.starcoin.sirius.wallet.core.blockchain.BlockChain
import java.math.BigInteger
import kotlin.properti... | 0 | Kotlin | 0 | 0 | c0f694340e1973204de355c496d11a4716fcd82a | 2,615 | sirius | MIT License |
src/app/api/src/main/kotlin/yapp/be/apiapplication/auth/controller/model/UserSignUpRequest.kt | YAPP-Github | 634,126,325 | false | null | package yapp.be.apiapplication.auth.controller.model
import yapp.be.apiapplication.auth.service.model.SignUpUserRequestDto
import yapp.be.model.Email
data class UserSignUpRequest(
val nickname: String,
val email: String,
val phone: String,
) {
fun toDto(): SignUpUserRequestDto {
return SignUpU... | 2 | Kotlin | 0 | 3 | 6c5310cd9aa71b5af29f63e5c0c2db4532e57827 | 447 | 22nd-Web-Team-2-BE | Apache License 2.0 |
utils/StartSnapHelper/StartSnapHelper.kt | myung6024 | 738,118,126 | false | {"Kotlin": 19351, "Java": 3591} | package com.runeanim.mytoyproject.util
import android.view.View
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.OrientationHelper
import androidx.recyclerview.widget.PagerSnapHelper
import androidx.recyclerview.widget.RecyclerView
import androidx.recyclerview.widget.Recycler... | 0 | Kotlin | 0 | 3 | 67dc5030f9ee69b2ecafbf511af0451a6d784511 | 6,409 | Utility | Apache License 2.0 |
junit4-android-integration-rules/src/test/java/com/vanniktech/junit4androidintegrationrules/assertions.kt | vanniktech | 99,514,897 | false | null | package com.vanniktech.junit4androidintegrationrules
import org.assertj.core.api.AbstractThrowableAssert
import org.assertj.core.api.Java6Assertions.assertThat
@Suppress("Detekt.InstanceOfCheckForException") // https://github.com/arturbosch/detekt/pull/1424
inline fun <reified T> assertThrows(block: () -> Unit): Abst... | 0 | Kotlin | 0 | 14 | 0a324bbf8d5c18c2006c70cd4492db2f6a05c71a | 550 | junit-rules | Apache License 2.0 |
app/src/main/java/com/example/pexelapp/Models/WallPaperResponse.kt | Winstonexe | 719,033,233 | false | {"Kotlin": 27700} | package com.example.pexelapp.Models
data class WallPaperResponse(
val next_page: String,
val page: Int,
val per_page: Int,
val photos: List<Photo>,
val total_results: Int
) | 0 | Kotlin | 0 | 2 | 00de09e485fbf665fc1cc8cad491ad9206624a2d | 193 | PexelsApp | Apache License 2.0 |
app/src/main/java/com/javalon/xpensewhiz/presentation/home_screen/components/InfoBanner.kt | ezechuka | 472,029,227 | false | {"Kotlin": 333980} | package com.javalon.xpensewhiz.presentation.home_screen.components
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.core.FastOutLinearInEasing
import androidx.compose.animation.core.LinearOutSlowInEasing
import androidx.compose.animation.core.tween
import androidx.compose.animatio... | 1 | Kotlin | 5 | 52 | 7876f00908cca4f8444ab8b4460f1e7edb4cfa1a | 2,075 | xpense-whiz | MIT License |
common/src/main/kotlin/org/collaborator/paymentlab/common/error/InvalidArgumentException.kt | f-lab-edu | 665,758,863 | false | {"Kotlin": 171941, "HTML": 1979, "Shell": 1679, "Dockerfile": 298} | package org.collaborator.paymentlab.common.error
class InvalidArgumentException: ServiceException(ErrorCode.INVALID_INPUT) | 0 | Kotlin | 1 | 9 | 5646d799f9cfd9f3fcf41d1119d41e18b30674af | 123 | payment-lab | MIT License |
androidApp/src/main/java/com/m3u/androidApp/ui/AppNavHost.kt | oxyroid | 592,741,804 | false | {"Kotlin": 1102944} | package com.m3u.androidApp.ui
import android.app.ActivityOptions
import android.content.Intent
import androidx.compose.animation.fadeIn
import androidx.compose.animation.fadeOut
import androidx.compose.animation.slideInVertically
import androidx.compose.animation.slideOutVertically
import androidx.compose.foundation.l... | 34 | Kotlin | 33 | 375 | ca92e3487c8e22b73b50197baa2d652185cb4f2e | 3,575 | M3UAndroid | Apache License 2.0 |
app/common/src/main/kotlin/me/zhanghai/android/files/provider/common/WatchServicePathObservable.kt | overphoenix | 621,371,055 | false | null | package me.zhanghai.android.files.provider.common
import java8.nio.file.ClosedWatchServiceException
import java8.nio.file.Path
import java8.nio.file.StandardWatchEventKinds
import java8.nio.file.WatchService
import java.io.IOException
import java.util.concurrent.atomic.AtomicInteger
class WatchServicePathObservable(p... | 0 | Kotlin | 0 | 0 | 64264f261c2138d5f1932789702661917bbfae28 | 2,127 | phoenix-android | Apache License 2.0 |
app/common/src/main/kotlin/me/zhanghai/android/files/provider/common/WatchServicePathObservable.kt | overphoenix | 621,371,055 | false | null | package me.zhanghai.android.files.provider.common
import java8.nio.file.ClosedWatchServiceException
import java8.nio.file.Path
import java8.nio.file.StandardWatchEventKinds
import java8.nio.file.WatchService
import java.io.IOException
import java.util.concurrent.atomic.AtomicInteger
class WatchServicePathObservable(p... | 0 | Kotlin | 0 | 0 | 64264f261c2138d5f1932789702661917bbfae28 | 2,127 | phoenix-android | Apache License 2.0 |
app/src/main/java/com/example/noteapp/utils/di/NoteContractViewModuleFr.kt | rezakardan | 719,037,194 | false | {"Kotlin": 25568} | package com.example.noteapp.utils.di
import androidx.fragment.app.Fragment
import com.example.noteapp.ui.add.NoteContract
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.android.components.FragmentComponent
@Module
@InstallIn(FragmentComponent::class)
class NoteContractView... | 0 | Kotlin | 0 | 0 | a77a5193a9ed24c43e58f8afca9e133919df7831 | 464 | noteWithMvp_Git | MIT License |
app/src/main/java/com/internshala/activitylifecycle/RegisterYourself.kt | AbhiiVops | 494,532,783 | false | null | package com.internshala.activitylifecycle
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.Button
import android.widget.Toast
class RegisterYourself : AppCompatActivity() {
lateinit var register_button : Button
override fun onCreate(savedInstanceState: Bundle?) {... | 0 | Kotlin | 1 | 0 | e5ee793373d1065375d5aebbadd80baae0ae3969 | 651 | Android-Development | The Unlicense |
feature-nft-impl/src/main/java/com/dfinn/wallet/feature_nft_impl/presentation/nft/list/NftListItem.kt | finn-exchange | 500,972,990 | false | null | package com.dfinn.wallet.feature_nft_impl.presentation.nft.list
import com.dfinn.wallet.common.presentation.LoadingState
import com.dfinn.wallet.feature_wallet_api.presentation.model.AmountModel
data class NftListItem(
val content: LoadingState<Content>,
val identifier: String,
) {
data class Content(
... | 0 | Kotlin | 0 | 0 | 6cc7a0a4abb773daf3da781b7bd1dda5dbf9b01d | 444 | dfinn-android-wallet | Apache License 2.0 |
Conceito_iniciais/src/main/kotlin/Main.kt | ManoKondz | 752,826,237 | false | {"Kotlin": 2868} | fun main(args: Array<String>) {
println("Nome: <NAME>")
println("Idade: 17 Anos")
} | 0 | Kotlin | 0 | 0 | de636ab75586d3c24c3094e6149a6fd3db1cc79a | 91 | Learning-Kotlin | MIT License |
entity-service/src/main/kotlin/com/egm/stellio/entity/repository/PropertyRepository.kt | stellio-hub | 257,818,724 | false | null | package com.egm.stellio.entity.repository
import com.egm.stellio.entity.model.Property
import org.springframework.data.neo4j.repository.Neo4jRepository
import org.springframework.data.neo4j.repository.query.Query
import org.springframework.stereotype.Repository
import java.net.URI
@Repository
interface PropertyReposi... | 50 | Kotlin | 8 | 16 | 38bc7189a5fec1b14a46e86fc35e1ee7d842d8c0 | 868 | stellio-context-broker | Apache License 2.0 |
mps-legacy-sync-plugin/src/main/java/org/modelix/model/mpsplugin/plugin/AddTransientModuleBinding_Action.kt | modelix | 716,210,628 | false | {"Kotlin": 918053, "Shell": 617, "JavaScript": 391} | package org.modelix.model.mpsplugin.plugin
import com.intellij.openapi.actionSystem.AnActionEvent
import com.intellij.openapi.actionSystem.CommonDataKeys
import com.intellij.openapi.project.Project
import jetbrains.mps.ide.actions.MPSCommonDataKeys
import jetbrains.mps.workbench.action.BaseAction
import org.modelix.mo... | 2 | Kotlin | 0 | 0 | ba50a9cbb100f3886ed1602d60cc84e5f4f866a8 | 3,586 | modelix.mps-plugins | Apache License 2.0 |
src/main/java/com/common/widgets/adapter/interfaces/DefaultAdapterHolderClickListener.kt | teddylinzz | 604,409,249 | false | null | package com.common.widgets.adapter.interfaces
fun interface DefaultAdapterHolderClickListener {
fun onItemClicked(position: Int)
} | 0 | Kotlin | 0 | 0 | 2378dde3361a1aaea14973bfbd7a2e52b607961e | 135 | common-widgets-android | Apache License 2.0 |
src/main/kotlin/com/ort/lastwolf/domain/service/ability/PsychicDomainService.kt | h-orito | 288,476,085 | false | {"Kotlin": 447706, "Batchfile": 522, "Shell": 454} | package com.ort.lastwolf.domain.service.ability
import com.ort.lastwolf.domain.model.charachip.Chara
import com.ort.lastwolf.domain.model.daychange.DayChange
import com.ort.lastwolf.domain.model.message.Message
import com.ort.lastwolf.domain.model.village.Village
import com.ort.lastwolf.domain.model.village.participan... | 5 | Kotlin | 0 | 0 | a86e0b7a55dbe616bfd390b69ea368c990aee99f | 2,060 | lastwolf-api | MIT License |
app/src/main/java/id/dtprsty/simpleunittesting/MainActivity.kt | dtprsty | 245,940,331 | false | null | package id.dtprsty.simpleunittesting
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android.view.View
import kotlinx.android.synthetic.main.activity_main.*
class MainActivity : AppCompatActivity(), View.OnClickListener {
private lateinit var mainViewModel:... | 0 | Kotlin | 0 | 0 | 1865072bf40ecd62a50c5615a6ade6ad1b1eb8fd | 2,601 | simple-unit-testing | MIT License |
android/src/main/kotlin/com/seyedjafariy/shuttle/ui/main/MainScreenContent.kt | seyedjafariy | 520,298,973 | false | {"Kotlin": 101839} | package com.seyedjafariy.shuttle.ui.main
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.LazyListScope
import androidx.compose.material.CircularProgressIndicator
import androidx.compose.material.Text
import androidx.compose.runtime.... | 0 | Kotlin | 0 | 7 | 65a91dbc992368e0552fde97c7975cdd5bed3b92 | 2,296 | Shuttle | Apache License 2.0 |
account-bff/src/test/kotlin/se/sbab/es/demo/bff/AccountBffApplicationIT.kt | tnt-sbab | 751,858,774 | false | {"Kotlin": 145967} | package se.sbab.es.demo.bff
import org.assertj.core.api.Assertions
import org.junit.jupiter.api.Test
import org.springframework.boot.test.context.SpringBootTest
import org.springframework.boot.test.web.server.LocalServerPort
import org.springframework.test.web.reactive.server.WebTestClient
import org.springframework.t... | 0 | Kotlin | 1 | 4 | 09ca03d73fe03e429c3253073e4b899519b780f7 | 899 | spring-boot-event-store | Apache License 2.0 |
app/src/main/java/aelsi2/natkschedule/domain/use_cases/CleanCacheUseCase.kt | aelsi2 | 588,422,030 | false | null | package aelsi2.natkschedule.domain.use_cases
import aelsi2.natkschedule.data.preferences.FavoritesReader
import aelsi2.natkschedule.data.preferences.SettingsReader
import aelsi2.natkschedule.data.repositories.WritableScheduleAttributeRepository
import aelsi2.natkschedule.data.repositories.WritableScheduleDayRepository... | 0 | Kotlin | 0 | 1 | 6494abd7cd80fd0c68c1cd5dbba5a3a7a546c654 | 2,255 | NatkSchedule | Apache License 2.0 |
core/usecases/src/main/kotlin/theme/listAvailableOppositionValuesForCharacterInTheme/OppositionValuesAvailableForCharacterInTheme.kt | Soyle-Productions | 239,407,827 | false | null | package com.soyle.stories.usecase.theme.listAvailableOppositionValuesForCharacterInTheme
import com.soyle.stories.usecase.theme.listOppositionsInValueWeb.OppositionValueItem
import com.soyle.stories.usecase.theme.listValueWebsInTheme.ValueWebItem
import java.util.*
class OppositionValuesAvailableForCharacterInTheme(
... | 45 | Kotlin | 0 | 9 | 1a110536865250dcd8d29270d003315062f2b032 | 1,152 | soyle-stories | Apache License 2.0 |
user/jwtdemo/src/main/kotlin/com/gongsung/user/service/UserService.kt | 403-gallery-gongsung | 736,332,935 | false | {"Kotlin": 96306} | package com.gongsung.user.service
import com.gongsung.common.authority.JwtTokenProvider
import com.gongsung.common.authority.TokenInfo
import com.gongsung.common.exception.InvalidInputException
import com.gongsung.user.domain.dto.LoginDto
import com.gongsung.user.domain.dto.UserDtoRequest
import com.gongsung.user.doma... | 14 | Kotlin | 0 | 1 | 0f9322f55b2ae1fbfa1d36dadd9310f619afa1a4 | 2,359 | meet-in | Apache License 2.0 |
app/src/main/java/io/zoemeow/dutschedule/ui/component/settings/dialog/DialogSchoolYearSettings.kt | ZoeMeow1027 | 504,228,485 | false | {"Kotlin": 505302} | package io.zoemeow.dutschedule.ui.component.settings.dialog
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.material3.DropdownMenu
impo... | 1 | Kotlin | 0 | 1 | 4ef00cd06ecf3396a2eebba9b320516dbcf81587 | 6,569 | DutSchedule | MIT License |
app/src/main/java/in/kaligotla/allpermissionsimpl/presentation/main/permissions/photosVideos/MyPhotosVideosViewModel.kt | deepakkaligotla | 722,851,480 | false | {"Kotlin": 563021, "JavaScript": 4545} | package `in`.kaligotla.allpermissionsimpl.presentation.main.permissions.photosVideos
import android.annotation.SuppressLint
import android.content.ContentUris
import android.content.Context
import android.database.Cursor
import android.media.AudioAttributes
import android.media.AudioManager
import android.media.MediaP... | 0 | Kotlin | 0 | 0 | 021aa3376b4a6042c433b06539fdb8f357d12400 | 3,698 | android_permissions | The Unlicense |
app/src/main/java/com/app/whakaara/receiver/TimerReceiver.kt | ahudson20 | 531,856,934 | false | {"Kotlin": 466756, "Shell": 761} | package com.app.whakaara.receiver
import android.content.Context
import android.content.Intent
import com.app.whakaara.logic.TimerManagerWrapper
import com.app.whakaara.utils.constants.NotificationUtilsConstants.TIMER_RECEIVER_ACTION_PAUSE
import com.app.whakaara.utils.constants.NotificationUtilsConstants.TIMER_RECEIV... | 2 | Kotlin | 3 | 23 | 80bd00189b5356d71dd97cf9267aa5ecedd33afa | 2,141 | whakaara | MIT License |
app/src/main/java/com/example/taskmanager/AddTodoActivity.kt | IT22070180 | 799,426,151 | false | {"Kotlin": 20741, "Java": 129} | package com.example.taskmanager
import android.content.Intent
import android.os.Bundle
import android.view.View
import android.widget.EditText
import android.widget.ImageButton
import android.widget.ImageView
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import com.example.taskmanager.mod... | 0 | Kotlin | 0 | 0 | 8f9e6c6b43f07e8ecc708ff68919060a747dd21a | 5,201 | Task-Management-App | Apache License 2.0 |
app/src/main/java/com/kishorebabu/android/commitstrip/injection/component/ActivityComponent.kt | KishoreBabuIN | 105,754,517 | false | null | package com.kishorebabu.android.commitstrip.injection.component
import com.kishorebabu.android.commitstrip.features.base.BaseActivity
import com.kishorebabu.android.commitstrip.features.main.MainActivity
import com.kishorebabu.android.commitstrip.features.splash.SplashActivity
import com.kishorebabu.android.commitstri... | 1 | Kotlin | 0 | 0 | dc243aff8ac5a6d8dacdcda04ca8d99359757ef3 | 741 | CommitStripAndroid | The Unlicense |
feature/subscription/dialog/src/main/kotlin/ru/resodostudios/cashsense/feature/subscription/dialog/SubscriptionDialogViewModel.kt | f33lnothin9 | 674,320,726 | false | {"Kotlin": 293526} | package ru.resodostudios.cashsense.feature.subscription.dialog
import android.app.AlarmManager
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import dagger.hilt.android.lifecycle.HiltViewModel
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.asStateFlow
impor... | 0 | Kotlin | 2 | 26 | a89733b3413ad2170b6395dd0d8024882c5bb159 | 5,635 | cashsense | Apache License 2.0 |
m-gles20-pipeline/src/main/java/org/frikadelki/deepv/pipeline/math/WorldUtils.kt | frikadelki | 122,027,202 | false | null | /*
* Deep Venture K3D
* Copyright 2018 -*- frikadelki-corps -*-
* Created by frikadelki on 2018/2/11
*/
package org.frikadelki.deepv.pipeline.math
object World {
const val C0: Float = 0.0f
const val C1: Float = 1.0f
val center: Vector4RO = v4Point()
val axisX: Vector4RO = v4Vector(x = C1)
va... | 0 | Kotlin | 0 | 0 | fd8350e61b360fe60ddd06438e3405c683f4813a | 1,084 | deep-venture-k3d | MIT License |
engine/src/main/kotlin/com/delphix/sdk/objects/Credential.kt | CloudSurgeon | 212,463,880 | true | {"Kotlin": 586314, "Shell": 46347, "Java": 9931, "Dockerfile": 904} | /**
* Copyright (c) 2019 by Delphix. All rights reserved.
*/
package com.delphix.sdk.objects
/**
* The security credential.
*/
interface Credential : TypedObject {
override val type: String
override fun toMap(): Map<String, Any?>
}
| 0 | Kotlin | 0 | 1 | 819f7e9ea1bb0c675e0d04d61cf05302c488d74f | 245 | titan-server | Apache License 2.0 |
app/src/main/java/com/plussoft/testannotation/NoAndroid.kt | PanyaNaknoppakun | 830,208,054 | false | {"Kotlin": 22080} | package com.plussoft.testannotation
import android.content.Context
import com.pls.annotation.GenerateEntryPointHiltModule
import com.pls.autohilt.NonAndroid_HiltEntryPoint
import com.plussoft.testannotation.extension.getEntryPoint
import javax.inject.Inject
@GenerateEntryPointHiltModule
class NoAndroid(context: Conte... | 0 | Kotlin | 0 | 4 | 209512b95b6f5cc0ad05715fb59f2ad8ced62df5 | 638 | HiltAnnotationExtension | MIT License |
app/src/main/java/com/alex/bioauth/App.kt | MinghuiWang-TT | 173,919,272 | false | null | package com.alex.bioauth
import android.app.Application
class App : Application() {
override fun onCreate() {
super.onCreate()
Preference.getInstance(applicationContext)
}
} | 11 | Kotlin | 0 | 0 | a40c21cf5b656b0b7a8014232a4f5ae8172d86a3 | 200 | BiometicAuthClient | Apache License 2.0 |
app/src/main/kotlin/jp/co/yumemi/android/codecheck/data/history/room/HistoryDatabase.kt | mickie895 | 633,669,896 | false | null | package jp.co.yumemi.android.codecheck.data.history.room
import androidx.room.Database
import androidx.room.RoomDatabase
import androidx.room.TypeConverters
import jp.co.yumemi.android.codecheck.data.history.SearchHistory
@Database(entities = [SearchHistory::class], version = 1, exportSchema = false)
@TypeConverters(... | 9 | Kotlin | 0 | 0 | 507c1dac2aa6960faf493d29e14c2dd082c30f3b | 433 | yumemi_codecheck | Apache License 2.0 |
library/src/main/kotlin/com/daniloaraujosilva/mathemagika/library/common/mathematica/functions/CycleIndexPolynomial.kt | Danilo-Araujo-Silva | 271,904,885 | false | null | package com.daniloaraujosilva.mathemagika.library.common.mathematica.functions
import com.daniloaraujosilva.mathemagika.library.common.mathematica.MathematicaFunction
/**
*````
*
* Name: CycleIndexPolynomial
*
* Full name: System`CycleIndexPolynomial
*
* CycleIndexPolynomia... | 2 | Kotlin | 0 | 3 | 4fcf68af14f55b8634132d34f61dae8bb2ee2942 | 1,498 | mathemagika | Apache License 2.0 |
src/main/kotlin/no/nav/medlemskap/popp/services/PoppService.kt | navikt | 863,386,411 | false | {"Kotlin": 33074, "Dockerfile": 66} | package no.nav.medlemskap.popp.services
import no.nav.medlemskap.popp.domain.Medlemperioder
import no.nav.medlemskap.popp.domain.PoppRequest
import no.nav.medlemskap.popp.domain.PoppRespons
import no.nav.medlemskap.popp.domain.Status
import java.time.LocalDate
import java.util.*
import kotlin.random.Random
class Popp... | 0 | Kotlin | 0 | 0 | 733a26e998a4380b6cd461c2ce50a5751423761c | 2,315 | medlemskap-popp | MIT License |
app/src/main/java/com/ethermail/androidchallenge/data/CoincapService.kt | Ethersuite | 775,439,375 | false | {"Kotlin": 12906} | package com.ethermail.androidchallenge.data
import com.ethermail.androidchallenge.data.model.assets.AssetsApiData
import com.ethermail.androidchallenge.data.model.markets.MarketsApiData
import retrofit2.http.GET
const val HOST_COINCAP = "https://api.coincap.io/"
interface CoincapService {
@GET("/v2/assets")
... | 0 | Kotlin | 0 | 1 | dc15d2fcaf900c87e3cbc515fe2086e6e52ecbad | 432 | android-challenge | MIT License |
newm-server/src/main/kotlin/io/newm/server/features/minting/MintingStatusSqsMessage.kt | projectNEWM | 447,979,150 | false | {"Kotlin": 2426137, "HTML": 185244, "Dockerfile": 2535, "Shell": 1986, "Procfile": 60} | package io.newm.server.features.minting
import io.newm.server.features.song.model.MintingStatus
import io.newm.server.typealiases.SongId
import kotlinx.serialization.Contextual
import kotlinx.serialization.Serializable
@Serializable
data class MintingStatusSqsMessage(
@Contextual
val songId: SongId,
val m... | 1 | Kotlin | 4 | 10 | 4dc2c689eb5518d1bbd25ba69d1d57839ad16f0d | 351 | newm-server | Apache License 2.0 |
src/app/src/main/java/jp/kaleidot725/sample/room/AppDatabase.kt | kaleidot725-android | 263,554,854 | false | null | package jp.kaleidot725.sample.room
import androidx.room.Database
import androidx.room.RoomDatabase
import jp.kaleidot725.sample.room.dao.RepoDao
import jp.kaleidot725.sample.room.data.User
import jp.kaleidot725.sample.room.dao.UserDao
import jp.kaleidot725.sample.room.dao.UserRepoDao
import jp.kaleidot725.sample.room.... | 0 | Kotlin | 0 | 0 | c2ad5c579bc67fa27f8d28ce4515d39837c22d6a | 632 | room | MIT License |
plugins/playerinfo/src/main/kotlin/Plugin.kt | pluginloader | 354,578,063 | false | null | package playerinfo
import configs.Conf
import kotlinx.serialization.Serializable
import org.bukkit.Bukkit
import pluginloader.api.Load
import pluginloader.api.Plugin
import provide.Provider
import provide.registerProvider
import java.util.*
fun interface PlayerReadable{
fun readable(uuid: UUID): String
compa... | 0 | Kotlin | 0 | 0 | 85942ebdb9f65a5c57ec93285703464cac41a4b8 | 2,658 | mono | MIT License |
android/app/src/main/kotlin/com/example/gamerev/MainActivity.kt | sinbaddoraji | 383,593,300 | false | {"Dart": 46904, "HTML": 3693, "Swift": 404, "Kotlin": 124, "Objective-C": 38} | package com.example.gamerev
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 0 | 0 | 9a5279335373c18ac627740176041ca72f1aeb02 | 124 | GameRev | MIT License |
src/test/kotlin/eZmaxApi/models/EzsigntemplateCreateObjectV2ResponseMPayloadTest.kt | eZmaxinc | 271,950,932 | false | {"Kotlin": 6909939} | /**
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit this file manually.
*
*/
@file:Suppress(
"ArrayInDataClass",
"EnumEntryName",
"RemoveRedundantQualifierName",
"UnusedImport"
)
package eZmaxApi.models
import io.kotlintest.sh... | 0 | Kotlin | 0 | 0 | 961c97a9f13f3df7986ea7ba55052874183047ab | 1,133 | eZmax-SDK-kotlin | MIT License |
common/ui/compose/src/main/java/app/tivi/common/compose/TiviPreferenceExtensions.kt | chrisbanes | 100,624,553 | false | null | /*
* Copyright 2020 Google LLC
*
* 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 i... | 39 | null | 792 | 5,749 | 5dc4d831fd801afab556165d547042c517f98875 | 1,152 | tivi | Apache License 2.0 |
src/main/kotlin/io/openfuture/chain/network/server/TcpServer.kt | OpenFuturePlatform | 135,143,034 | false | null | package io.openfuture.chain.network.server
import io.netty.bootstrap.ServerBootstrap
import io.openfuture.chain.network.property.NodeProperties
import org.slf4j.Logger
import org.slf4j.LoggerFactory
import org.springframework.boot.context.event.ApplicationReadyEvent
import org.springframework.context.ApplicationListen... | 2 | null | 16 | 64 | f7e511b3ba17cc75d7f23618008dd89a7b83c4c0 | 2,050 | open-chain | MIT License |
src/main/kotlin/ru/itis/kotlin/news_api/model/Place.kt | feduuusha | 857,301,669 | false | {"Kotlin": 27021} | package ru.itis.kotlin.news_api.model
import kotlinx.serialization.Serializable
@Serializable
data class Place(val id: Long)
| 0 | Kotlin | 0 | 0 | f069992b2f22b2ea2015653625199b7173fe5b58 | 127 | KudaGo-API-Kotlin | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.