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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
app/src/main/java/com/omegajak/artisanapp/CreationDataManager.kt | OmegaJak | 174,069,693 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Java": 2, "XML": 29, "Kotlin": 9} | package com.omegajak.artisanapp
import com.google.gson.Gson
object CreationDataManager {
val creationDataCollection = ArrayList<CreationData>()
init {
creationDataCollection.add(CreationData(
name = "Level 1 Rune Stone Part 1",
artistryPointCost = 2,
fu... | 0 | Kotlin | 0 | 0 | 5f673aecef383386c6022179c116b5f4e57c205f | 7,911 | ArtisanApp | MIT License |
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/Seeding.kt | walter-juan | 868,046,028 | false | {"Kotlin": 20416825} | package com.woowla.compose.icon.collections.tabler.tabler.outline
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector... | 0 | Kotlin | 0 | 1 | b037895588c2f62d069c724abe624b67c0889bf9 | 2,654 | compose-icon-collections | MIT License |
Corona-Warn-App/src/main/java/de/rki/coronawarnapp/nearby/ENFModule.kt | corona-warn-app | 268,027,139 | false | null | package de.rki.coronawarnapp.nearby
import android.content.Context
import com.google.android.gms.nearby.Nearby
import com.google.android.gms.nearby.exposurenotification.ExposureNotificationClient
import dagger.Module
import dagger.Provides
import de.rki.coronawarnapp.nearby.modules.detectiontracker.DefaultExposureDete... | 148 | Kotlin | 516 | 2,493 | aa450b97e701f6481019681cc6f5a03b7dcc6e86 | 2,978 | cwa-app-android | Apache License 2.0 |
jvm/jvm-analysis-kotlin-tests/testSrc/com/intellij/codeInspection/tests/kotlin/test/junit/KotlinJunitBeforeAfterInspectionTest.kt | theruslanusmanov | 241,720,155 | true | null | package com.intellij.codeInspection.tests.kotlin.test.junit
import com.intellij.codeInspection.tests.ULanguage
import com.intellij.codeInspection.tests.test.junit.JUnitBeforeAfterInspectionTestBase
class KotlinJunitBeforeAfterInspectionTest : JUnitBeforeAfterInspectionTestBase() {
fun testHighlightingBefore() {
... | 0 | null | 0 | 0 | f01bb9c943d4ddc330d8da06b359a1bb5c2e240f | 1,483 | intellij-community | Apache License 2.0 |
schema-server-core/src/main/java/com/orbitalhq/schemaServer/core/editor/QueryEditor.kt | orbitalapi | 541,496,668 | false | {"TypeScript": 9344934, "Kotlin": 5669840, "HTML": 201985, "SCSS": 170620, "HCL": 55741, "Java": 29373, "JavaScript": 24697, "Shell": 8800, "Dockerfile": 7001, "Smarty": 4741, "CSS": 2966, "Mustache": 1392, "Batchfile": 983, "MDX": 884, "PLpgSQL": 337} | package com.orbitalhq.schemaServer.core.editor
import com.orbitalhq.VersionedSource
import lang.taxi.Compiler
import lang.taxi.source
object QueryEditor {
/**
* Adds a query { } block to an existing find { ... } TaxiQL
* query, if not already present.
*
* The name of the query is taken from the Ver... | 9 | TypeScript | 10 | 292 | 2be59abde0bd93578f12fc1e2ecf1f458a0212ec | 1,217 | orbital | Apache License 2.0 |
src/main/kotlin/com/example/messaging/domains/broadcast/broadcast.kt | teambankrupt | 292,074,628 | false | {"HTML": 44531, "Kotlin": 27569, "CSS": 4314, "Java": 216} | package com.example.messaging.domains.broadcast
import com.example.common.utils.TimeUtility
import com.example.messaging.configs.QUEUE_PREFIX
import com.example.messaging.configs.TOPIC_PREFIX
import com.example.messaging.routing.Route
import org.slf4j.LoggerFactory
import org.springframework.messaging.Message
import o... | 0 | HTML | 0 | 1 | 0a68d19616983790282708dabaebbb88306ad5d5 | 2,487 | messaging | Apache License 2.0 |
src/main/kotlin/pl/polsl/timetable/course/room/ClassroomRepository.kt | BetterSUTTimetable | 108,151,697 | false | null | package pl.polsl.timetable.course.room
import org.springframework.data.jpa.repository.JpaRepository
import java.util.*
interface ClassroomRepository: JpaRepository<JpaClassroom, Long> {
fun findByRoom(room: String): Optional<JpaClassroom>
} | 1 | null | 1 | 1 | b9a495214f628f460746d0b20efd6e00d88d3e59 | 246 | timetable-backend | MIT License |
tmdb-api/src/main/java/com/chahine/tmdb/api/TmdbApi.kt | chahine | 120,981,876 | false | {"Kotlin": 141261} | package com.chahine.tmdb.api
import com.chahine.tmdb.api.entities.AccountStates
import com.chahine.tmdb.api.entities.AlternativeTitles
import com.chahine.tmdb.api.entities.AppendToResponse
import com.chahine.tmdb.api.entities.AuthenticationType
import com.chahine.tmdb.api.entities.Changes
import com.chahine.tmdb.api.e... | 7 | Kotlin | 1 | 6 | f28df033cef99881570c35e7455ea3fd23073fe6 | 12,211 | showhive | MIT License |
data/src/main/java/com/mutualmobile/praxis/data/repository/paging/GithubPagingSource.kt | rooparsh | 391,088,971 | true | {"Kotlin": 152548, "Shell": 287} | package com.mutualmobile.praxis.data.repository.paging
import androidx.paging.PagingSource
import androidx.paging.PagingState
import com.mutualmobile.praxis.data.mapper.EntityMapper
import com.mutualmobile.praxis.data.remote.model.NETRepoListData
import com.mutualmobile.praxis.data.sources.IGithubReposRemoteSource
imp... | 0 | Kotlin | 0 | 0 | 783989d2dc41664d6a613381eadf05d61a06a128 | 2,217 | Praxis | Apache License 2.0 |
sculptor-version/src/main/kotlin/io/papermc/sculptor/version/tasks/SetupSources.kt | PaperMC | 776,033,668 | false | {"Kotlin": 91077} | package io.papermc.sculptor.version.tasks
import io.papermc.sculptor.shared.util.convertToPath
import java.nio.file.Path
import javax.inject.Inject
import kotlin.io.path.createDirectories
import kotlin.io.path.deleteRecursively
import kotlin.io.path.listDirectoryEntries
import kotlin.io.path.name
import kotlin.io.path... | 2 | Kotlin | 2 | 1 | 587470c158d1d3244f07918b917d840859ef6b07 | 4,525 | sculptor | MIT License |
src/main/java/net/kigawa/oyucraft/oyubingo/config/Config.kt | oyucraft | 650,205,610 | false | null | package net.kigawa.oyucraft.oyubingo.config
import net.kigawa.kutil.kutil.reflection.KutilReflect
import net.kigawa.oyucraft.oyubingo.OyuBingo
import net.kigawa.oyucraft.oyubingo.caseformat.CaseFormat
import org.bukkit.configuration.file.FileConfiguration
import org.bukkit.configuration.file.YamlConfiguration
import j... | 0 | Kotlin | 0 | 0 | d293a16f504be3d86dba3360dcd590c23338a497 | 1,897 | oyu-bingo | MIT License |
admin/src/jsMain/kotlin/ant/message.kt | DXueShengKa | 846,092,089 | false | {"Kotlin": 116678, "Swift": 621, "HTML": 362, "CSS": 221, "PLpgSQL": 202} | @file:JsModule("antd")
package ant
external val message: AntMessage
@JsName("Message")
external interface AntMessage {
fun success(content: String, duration: Int = definedExternally, onClose: (() -> Unit)? = definedExternally)
fun error(content: String, duration: Int = definedExternally, onClose: (() -> Uni... | 0 | Kotlin | 0 | 0 | 8b5f00c3cafc73edc56cff72a505fd4568491228 | 679 | AllInKt | Apache License 2.0 |
app/src/main/java/com/wuruoye/know/ui/edit/vm/RecordShowViewModel.kt | ruoyewu | 183,387,390 | false | null | package com.wuruoye.know.ui.edit.vm
import android.util.ArrayMap
import android.view.ViewGroup
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import com.wuruoye.know.util.GsonFactory
import com.wuruoye.know.util.model.beans.*
import com.wuruoye... | 1 | null | 1 | 1 | 2de5a7fdecc8c135463c99c47cde417de0cbe2ec | 5,753 | know2 | Apache License 2.0 |
app/src/main/java/com/example/chat_bot/Activities/Mcqs_activity.kt | SEEDS-learning-apps | 536,944,125 | false | null | package com.example.chat_bot.Activities
import android.content.Intent
import android.os.Build
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.os.Handler
import android.os.Looper
import android.provider.AlarmClock.EXTRA_MESSAGE
import android.util.Log
import android.view.View
imp... | 0 | Kotlin | 2 | 0 | f8245e8c608460bc95f00f7705a72bba5aa49a6f | 8,091 | learning-MobileApp | Educational Community License v2.0 |
src/lib/kotlin/slatekit-entities/src/main/kotlin/slatekit/entities/databases/converters/LocalTimeConverter.kt | ColleenKeegan | 174,519,919 | false | {"Text": 22, "Ignore List": 25, "YAML": 1, "Markdown": 20, "Gradle": 44, "Shell": 27, "Batchfile": 27, "Java Properties": 17, "Kotlin": 690, "INI": 2, "Java": 4, "SQL": 1, "XML": 5, "HTML": 1, "CSS": 1, "JavaScript": 1, "Swift": 3} | package slatekit.entities.databases.converters
import slatekit.common.SqlConverter
import slatekit.common.records.Record
import slatekit.entities.Consts
import java.time.LocalTime
object LocalTimeConverter : SqlConverter<LocalTime> {
override fun toSql(value: LocalTime?): String {
return value?.let { "'"... | 1 | null | 1 | 1 | bd1d55f2191f729149e901be102c22d7c719793d | 501 | slatekit | Apache License 2.0 |
fontawesome/src/de/msrd0/fontawesome/icons/FA_GRADUATION_CAP.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 | 2,005 | fontawesome-kt | Apache License 2.0 |
app/src/main/java/volovyk/guerrillamail/util/Html.kt | oleksandrvolovyk | 611,731,548 | false | {"Kotlin": 122688, "Java": 767} | package volovyk.guerrillamail.util
import android.text.Html
object Html {
fun extractTextFromHtml(html: String): String {
return Html.fromHtml(html, Html.FROM_HTML_MODE_COMPACT).toString()
}
} | 0 | Kotlin | 0 | 0 | fb360bbc957a560a8fde574f069ce31cb1a38ace | 210 | guerrilla-mail-android-client | MIT License |
app/src/main/java/com/breezefieldnationalplastic/features/login/model/opportunitymodel/OpportunityStatusListResponseModel.kt | DebashisINT | 506,900,340 | false | {"Kotlin": 15923116, "Java": 1032012} | package com.breezefieldnationalplastic.features.login.model.opportunitymodel
import com.breezefieldnationalplastic.app.domain.OpportunityStatusEntity
import com.breezefieldnationalplastic.app.domain.ProductListEntity
import com.breezefieldnationalplastic.base.BaseResponse
/**
* Created by Puja on 30.05.2024
*/
clas... | 0 | Kotlin | 0 | 1 | e6114824d91cba2e70623631db7cbd9b4d9690ed | 441 | NationalPlastic | Apache License 2.0 |
image_type_detector/src/main/java/com/shevelev/my_footprints_remastered/image_type_detector/ImageType.kt | AlShevelev | 283,178,554 | false | null | package com.shevelev.my_footprints_remastered.image_type_detector
enum class ImageType {
JPEG,
PNG,
UNDEFINED
} | 0 | Kotlin | 0 | 1 | 6894f98fb439f30ef7a9988043ace059b844c81b | 124 | MyFootprints_remastered | Apache License 2.0 |
app/src/main/java/be/hogent/faith/faith/cinema/CinemaStartScreenFragment.kt | hydrolythe | 353,694,404 | false | null | package be.hogent.faith.faith.cinema
import android.content.Context
import android.content.res.ColorStateList
import android.graphics.Color
import android.view.View
import android.widget.CompoundButton
import android.widget.ImageButton
import androidx.lifecycle.Observer
import androidx.recyclerview.widget.RecyclerView... | 0 | Kotlin | 0 | 0 | 14c6aec4b3c0a42bc73a7f779964d166fffeea20 | 5,810 | FAITHAndroid | The Unlicense |
app/src/main/java/com/example/weather_kotlin/MainActivity.kt | OverLordN7 | 567,596,630 | false | {"Kotlin": 19237} | package com.example.weather_kotlin
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android.view.LayoutInflater
import androidx.fragment.app.FragmentManager
import com.android.volley.Request
import com.android.volley.toolbox.StringRequest
import com.android.volley... | 0 | Kotlin | 0 | 0 | 97b031c5ac6b4d4023cacf0af06640c77bd4b4e1 | 1,021 | Weather_kotlin | The Unlicense |
src/main/kotlin/no/nav/sf/person/Main.kt | navikt | 264,187,325 | false | null | package no.nav.sf.person
fun main() = Bootstrap.start()
| 0 | Kotlin | 0 | 0 | 9024fc12df761bf51225ba23b53c11837de926d0 | 57 | sf-person | MIT License |
intellij.tools.ide.starter.junit5/testSrc/com/intellij/ide/starter/junit5/GitProjectDownloadingTest.kt | JetBrains | 499,194,001 | false | {"Kotlin": 449993, "C++": 3610, "Makefile": 713} | package com.intellij.ide.starter.junit5
import com.intellij.ide.starter.di.di
import com.intellij.ide.starter.path.GlobalPaths
import com.intellij.ide.starter.project.GitProjectInfo
import io.kotest.matchers.paths.shouldExist
import io.kotest.matchers.shouldBe
import org.junit.jupiter.api.Test
import org.junit.jupiter... | 0 | Kotlin | 2 | 9 | a10bb3ca0b39db26f4948a54d3e7f8fadd5847f2 | 1,035 | intellij-ide-starter | Apache License 2.0 |
lib/src/test/kotlin/io/wavebeans/lib/SampleVectorSpec.kt | WaveBeans | 174,378,458 | false | {"Kotlin": 1263856, "Shell": 6924, "Dockerfile": 408} | package io.wavebeans.lib
import assertk.all
import assertk.assertThat
import assertk.assertions.*
import io.wavebeans.lib.stream.window.Window
import org.spekframework.spek2.Spek
import org.spekframework.spek2.style.specification.describe
import io.wavebeans.tests.isEqualTo
object SampleVectorSpec : Spek({
descri... | 26 | Kotlin | 0 | 21 | 2a0eb6b481f0f848a7e66f7cb4c395ddb47952d1 | 19,723 | wavebeans | Apache License 2.0 |
Demo/src/main/java/com/angcyo/uicore/demo/ShortcutDemo.kt | angcyo | 229,037,572 | false | {"Shell": 3505} | package com.angcyo.uicore.demo
import android.content.ComponentName
import android.content.Intent
import android.os.Bundle
import com.angcyo.component.hawkInstallAndRestore
import com.angcyo.dsladapter.DslAdapterItem
import com.angcyo.library.component.DslShortcut
import com.angcyo.library.component.dslShortcut
import... | 0 | Shell | 2 | 1 | e981f6530e91023ae8fb722b2cacd091e5a0fb24 | 3,461 | UICoreDemo | MIT License |
entity-browser-app/src/main/kotlin/jetbrains/xodus/browser/web/Home.kt | JetBrains | 45,294,329 | false | {"Kotlin": 102609, "JavaScript": 78609, "HTML": 49382, "CSS": 6656, "Shell": 473, "Batchfile": 425} | package jetbrains.xodus.browser.web
import java.io.File
import java.text.SimpleDateFormat
import java.util.*
object Home {
val appHome by lazy {
val userHome = System.getProperty("user.home")
val appHome = File(userHome, ".xodus-entity-browser")
if (appHome.exists()) {
appHome... | 17 | Kotlin | 22 | 60 | 730ee27dd70f7a0fae3e024df8e28a2865977f31 | 941 | xodus-entity-browser | Apache License 2.0 |
shared/src/androidMain/kotlin/com/uteke/kmm/feature/common/StandardSchedulerProvider.kt | uteke | 466,413,830 | false | null | package com.uteke.kmm.feature.common
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.Dispatchers
actual class StandardSchedulerProvider : SchedulerProvider {
actual override fun io(): CoroutineDispatcher = Dispatchers.IO
actual override fun ui(): CoroutineDispatcher = Dispatchers.Main
... | 0 | Kotlin | 0 | 0 | f69e673d1663d22a8cf0ba63cfb56a1ed85b3deb | 321 | kmm-application | Apache License 2.0 |
app/src/main/java/dev/pimentel/rickandmorty/presentation/characters/filter/CharactersFilterModule.kt | bfpimentel | 273,356,184 | false | null | package dev.pimentel.rickandmorty.presentation.characters.filter
import dagger.Module
import dagger.hilt.InstallIn
import dagger.hilt.android.components.FragmentComponent
@Module
@InstallIn(FragmentComponent::class)
object CharactersFilterModule
| 0 | Kotlin | 1 | 1 | 0de46077173eeeef0d2e737e4618280d02075a31 | 248 | rick-and-morty-app | MIT License |
uranium-arkade-htmlcanvas/src/commonMain/kotlin/pl/karol202/uranium/arkade/htmlcanvas/component/primitives/RectClear.kt | karol-202 | 269,330,616 | false | null | package pl.karol202.uranium.arkade.htmlcanvas.component.primitives
import pl.karol202.uranium.arkade.htmlcanvas.ArkadeRenderScope
import pl.karol202.uranium.arkade.htmlcanvas.component.draw.drawComponent
import pl.karol202.uranium.arkade.htmlcanvas.values.Bounds
import pl.karol202.uranium.core.common.AutoKey
fun Arka... | 1 | Kotlin | 1 | 3 | ed458611e89b2bdb85d0a23c30c9dd6c0611d30f | 487 | uranium-arkade | MIT License |
safeToRunLogger/src/commonMain/kotlin/com/safetorun/logger/models/DeviceSignature.kt | Safetorun | 274,838,056 | false | null | package com.safetorun.logger.models
/**
* Wrapped to hold the signature of a device check. Decode using any JWT tool
*
* @param signature the JWT signature
*/
@kotlinx.serialization.Serializable
data class DeviceSignature(val signature: String)
| 20 | Kotlin | 0 | 29 | d89edf0de63e1459f23f038caba583b177aaedf6 | 250 | safe_to_run | Apache License 2.0 |
app/src/main/java/com/civciv/app/ui/CivcivApp.kt | fatih-ozturk | 638,702,981 | false | {"Kotlin": 336135, "Shell": 934} | /*
* Copyright 2024 <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 wr... | 10 | Kotlin | 1 | 2 | 32f6cf9c8e3239bcb6f9968d5ac460557896436d | 6,717 | Civciv | Apache License 2.0 |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/outline/Replay10.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.outline
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 4,984 | icons | MIT License |
kmp/remote/common/src/commonMain/kotlin/io/github/reactivecircus/kstreamlined/kmp/remote/model/KotlinWeeklyIssueEntry.kt | ReactiveCircus | 513,535,591 | false | null | package io.github.reactivecircus.kstreamlined.kmp.networking.model
public data class KotlinWeeklyIssueEntry(
val title: String,
val summary: String,
val url: String,
val source: String,
val group: Group,
) {
public enum class Group {
Announcements,
Articles,
Android,
... | 5 | null | 0 | 4 | c3aecd6500c724591d6e3f5a5dcf90cc1b770c57 | 360 | kstreamlined-mobile | Apache License 2.0 |
features/finances/impl/src/test/kotlin/br/com/mob1st/features/finances/impl/domain/events/BuilderStepScreenViewFactoryTest.kt | mob1st | 526,655,668 | false | {"Kotlin": 796049, "Shell": 1558} | package br.com.mob1st.features.finances.impl.domain.events
import br.com.mob1st.features.finances.impl.domain.entities.BuilderNextAction
import br.com.mob1st.features.finances.impl.domain.entities.FixedExpensesStep
import br.com.mob1st.features.finances.impl.domain.entities.FixedIncomesStep
import br.com.mob1st.featur... | 11 | Kotlin | 0 | 3 | 48eadc8642a06cad6cbe3dc5e068655bb9c03839 | 1,582 | bet-app-android | Apache License 2.0 |
src/day2/Solution.kt | Zlate87 | 572,858,682 | false | {"Kotlin": 12960} | package day2
import readInput
fun main() {
fun score1(round: String): Int {
val elveHand = Hand.from(round[0])!!
val myHand = Hand.from(round[2])!!
if (elveHand == Hand.ELVE_ROCK && myHand == Hand.MY_ROCK) return 3 + myHand.scoreWhenWih
if (elveHand == Hand.ELVE_ROCK && myHand ==... | 0 | Kotlin | 0 | 0 | 57acf4ede18b72df129ea932258ad2d0e2f1b6c3 | 3,916 | advent-of-code-2022 | Apache License 2.0 |
drill-plugin-api/drill-agent-part/src/commonMain/kotlin/com/epam/drill/plugin/api/processing/AgentPluginPart.kt | disfogeN | 174,986,456 | true | {"Kotlin": 822313, "HTML": 17724, "CSS": 8583, "Shell": 532} | package com.epam.drill.plugin.api.processing
import com.epam.drill.plugin.api.DrillPlugin
expect abstract class AgentPluginPart() : DrillPlugin, SwitchablePlugin {
var np: NativePluginPart?
open fun init(nativePluginPartPath: String)
abstract override fun load()
abstract override fun unload()
// ... | 0 | Kotlin | 0 | 0 | c2a6002caab163d1fdb836dd77e4a8966c5d9ce2 | 547 | Drill4J | Apache License 2.0 |
android/app/src/main/kotlin/com/example/ntfy/MainActivity.kt | Brianspha | 351,271,189 | false | {"Dart": 191497, "Vue": 26352, "JavaScript": 9311, "Ruby": 1354, "Solidity": 1119, "HTML": 936, "Swift": 404, "Kotlin": 121, "Objective-C": 38} | package com.example.ntfy
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 5 | Dart | 1 | 0 | a1aa6ee178a85548f25401847c87f335ee85de75 | 121 | ntfy | MIT License |
src/main/kotlin/enterprises/stardust/burst/meta/impl/pom/PomMetadata.kt | stardust-enterprises | 510,941,136 | false | {"Kotlin": 20030} | package enterprises.stardust.burst.meta.impl.pom
import enterprises.stardust.burst.meta.Data
import enterprises.stardust.burst.meta.impl.ProjectMetadata
import enterprises.stardust.burst.meta.mutateAndGet
/**
* @author xtrm
* @since 4.0.0
*/
class PomMetadata : Data<ProjectMetadata>() {
internal val developers... | 0 | Kotlin | 1 | 1 | 728503debba04257b4037f6034d91d72f6100d85 | 851 | burst | ISC License |
src/test/kotlin/com/theapache64/mufy/utils/srtparser/Extensions.kt | theapache64 | 264,432,029 | false | null | package com.theapache64.mufy.utils.srtparser
import java.io.File
fun getResourceFile(fileName: String): File {
return File(Thread.currentThread().contextClassLoader.getResource(fileName)!!.file)
} | 0 | Kotlin | 0 | 2 | 0227f7cf1458600678f8fcb79b959ffcd9b9beb1 | 202 | mufy | Apache License 2.0 |
backend/src/main/kotlin/online/senpai/webo/entity/blog/BlogPostEntity.kt | SenpaiOnline | 212,161,333 | false | {"TypeScript": 42087, "Vue": 17889, "JavaScript": 17279, "Kotlin": 16440, "Sass": 1657, "HTML": 959} | package online.senpai.webo.entity.blog
import io.micronaut.data.annotation.DateCreated
import io.micronaut.data.annotation.DateUpdated
import java.time.LocalDateTime
import javax.persistence.Column
import javax.persistence.Entity
import javax.persistence.GeneratedValue
import javax.persistence.Id
import javax.persiste... | 0 | TypeScript | 0 | 0 | 5787d30210dfc52b0bcec8fb3bd2c0613b802818 | 840 | webo | Apache License 2.0 |
src/main/kotlin/io/github/mellda1024/rta/core/json/IJsonManager.kt | MellDa1024 | 612,876,967 | false | null | package io.github.mellda1024.rta.core.json
import java.io.File
interface IJsonManager {
val programPath: String get() = File(".").canonicalPath
fun load(): Boolean
fun save(): Boolean
} | 0 | Kotlin | 0 | 0 | fe73dd9659c37881ca516e5e6ee3afe2057c6c63 | 202 | ReplayToolAdvanced | Apache License 2.0 |
app/src/androidMain/kotlin/dev/kadirkid/rickandmorty/app/MainActivity.kt | kadirkid | 694,456,200 | false | {"Kotlin": 129735, "HTML": 238} | /**
* Copyright 2023 <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 w... | 0 | Kotlin | 0 | 0 | 433f711e3be731f8870902c50f398ba7e9c1592d | 3,340 | RickAndMorty-kmp | Apache License 2.0 |
framework/hibernate/hibernate5/src/test/kotlin/com/IceCreamQAQ/SmartAccess/hibernate/test/main.kt | Yu-Works | 479,644,020 | false | {"Kotlin": 60350} | package com.IceCreamQAQ.SmartAccess.hibernate.test
import com.IceCreamQAQ.SmartAccess.annotation.Transactional
import com.IceCreamQAQ.SmartAccess.hibernate.test.model.StudentAccess
import com.IceCreamQAQ.SmartAccess.item.Page
import com.IceCreamQAQ.Yu.FullStackApplicationLauncher
import com.IceCreamQAQ.Yu.annotation.E... | 0 | Kotlin | 0 | 0 | f8939ebf3d22ca18c9bdb871d5d7a86ce7cadd19 | 809 | SmartAccess | Apache License 2.0 |
app/src/main/kotlin/me/rei_m/hbfavmaterial/activity/BookmarkActivity.kt | stvjbz | 66,257,224 | true | {"Kotlin": 274150, "HTML": 171927} | package me.rei_m.hbfavmaterial.activity
import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.support.design.widget.FloatingActionButton
import android.support.v4.app.ShareCompat
import android.view.Menu
import android.view.MenuItem
import me.rei_m.hbfavmaterial.R
import ... | 0 | Kotlin | 0 | 0 | 6c4bc0e077c1622000358f9b6b18623f5213aad9 | 8,010 | HBFav_material | MIT License |
src/commonMain/kotlin/baaahs/sm/server/PinkyConfig.kt | baaahs | 174,897,412 | false | {"Kotlin": 3453370, "C": 1529197, "C++": 661364, "GLSL": 404582, "HTML": 55183, "JavaScript": 53132, "CMake": 30499, "CSS": 4340, "Shell": 2381, "Python": 1450} | package baaahs.sm.server
import baaahs.client.document.DataStore
import baaahs.io.Fs
import baaahs.migrator.DataMigrator
import baaahs.plugin.Plugins
import kotlinx.serialization.Serializable
@Serializable
data class PinkyConfig(
val runningShowPath: String? = null,
val runningScenePath: String? = null
)
cla... | 108 | Kotlin | 12 | 40 | 384a415dc129f7123a48697a79a5a27140e003ea | 882 | sparklemotion | MIT License |
src/test/kotlin/g0901_1000/s0919_complete_binary_tree_inserter/CBTInserterTest.kt | javadev | 190,711,550 | false | {"Kotlin": 4909193, "TypeScript": 50446, "Python": 3646, "Shell": 994} | package g0901_1000.s0919_complete_binary_tree_inserter
import com_github_leetcode.TreeNode
import org.hamcrest.CoreMatchers.equalTo
import org.hamcrest.MatcherAssert.assertThat
import org.junit.jupiter.api.Test
internal class CBTInserterTest {
@Test
fun cBTInserterTest() {
val treeNode: TreeNode? = Tr... | 0 | Kotlin | 20 | 43 | 62708bc4d70ca2bfb6942e4bbfb4c64641e598e8 | 665 | LeetCode-in-Kotlin | MIT License |
src/test/kotlin/GoogleTest.kt | bulataleev | 419,221,256 | false | {"Kotlin": 1978} | import com.codeborne.selenide.CollectionCondition.sizeGreaterThan
import com.codeborne.selenide.Condition.text
import com.codeborne.selenide.ElementsCollection
import com.codeborne.selenide.Selenide.*
import com.codeborne.selenide.SelenideElement
import org.junit.jupiter.api.BeforeAll
import org.junit.jupiter.api.Test
... | 0 | Kotlin | 0 | 0 | 8202a0572d40daaa649c6f07d768c1525b6bcad4 | 1,484 | kotlin-web-tests | MIT License |
src/main/kotlin/co/csadev/advent2022/Day13.kt | gtcompscientist | 577,439,489 | false | {"Kotlin": 252918} | /**
* Copyright (c) 2022 by <NAME>
* Advent of Code 2022, Day 13
* Problem Description: http://adventofcode.com/2021/day/13
*/
package co.csadev.advent2022
import co.csadev.adventOfCode.BaseDay
import co.csadev.adventOfCode.Resources.resourceAsText
class Day13(override val input: String = resourceAsText("22day13.... | 0 | Kotlin | 0 | 1 | 43cbaac4e8b0a53e8aaae0f67dfc4395080e1383 | 2,605 | advent-of-kotlin | Apache License 2.0 |
app/src/main/java/com/example/sunnyweather/logic/dao/PlaceDao.kt | EarlJiRH | 335,237,315 | false | null | package com.example.sunnyweather.logic.dao
import android.content.Context
import androidx.core.content.edit
import com.example.sunnyweather.MyApplication
import com.example.sunnyweather.logic.model.Place
import com.google.gson.Gson
object PlaceDao {
//将Place对象存储进SP文件中
fun savePlace(place: Place) {
sh... | 0 | Kotlin | 0 | 0 | cd0a6900f659b1787aaa968a1348df7a65df2c73 | 870 | SunnyWeather | Apache License 2.0 |
src/main/kotlin/com/graphscout/plugins/util/WebClient.kt | sztojkatamas | 668,778,024 | false | null | package com.graphscout.plugins.util
import io.ktor.client.*
import io.ktor.client.engine.cio.*
import io.ktor.client.engine.jetty.*
import io.ktor.client.plugins.*
import io.ktor.client.plugins.contentnegotiation.*
import io.ktor.serialization.kotlinx.json.*
import kotlinx.serialization.json.Json
import org.eclipse.je... | 0 | Kotlin | 0 | 0 | a312899426723452e42964a8c71d4d28582e26a6 | 1,664 | GraphScout | MIT License |
image-loader/src/commonMain/kotlin/com/seiko/imageloader/intercept/InterceptorChainHelper.kt | qdsfdhvh | 502,954,331 | false | {"Kotlin": 742728, "Swift": 718, "HTML": 364, "CSS": 108, "Ruby": 107} | package com.seiko.imageloader.intercept
import com.seiko.imageloader.ImageLoaderConfig
import com.seiko.imageloader.model.ImageAction
import com.seiko.imageloader.model.ImageRequest
import com.seiko.imageloader.option.Options
import com.seiko.imageloader.option.takeFrom
import kotlinx.coroutines.flow.FlowCollector
in... | 19 | Kotlin | 11 | 290 | 846d1f865407577d7f478590033f87ec1678dea6 | 1,174 | compose-imageloader | MIT License |
presentation/src/commonMain/kotlin/ireader/presentation/core/theme/AppTheme.kt | kazemcodes | 540,829,865 | true | {"Kotlin": 2179459} | package ireader.presentation.core.theme
import androidx.compose.material.ripple.LocalRippleTheme
import androidx.compose.runtime.*
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.luminance
import androidx.compose.ui.text.ExperimentalTextApi
import cafe.adriel.voyager.navigator.currentOrTh... | 0 | Kotlin | 0 | 6 | b6b2414fa002cec2aa0d199871fcfb4c2e190a8f | 3,316 | IReader | Apache License 2.0 |
play/src/main/kotlin/PlayTest.kt | congwiny | 172,692,942 | false | null | //import kt.bean.Employee
////
////fun main(args: Array<String>) {
//// val employee = Employee()
////} | 0 | Kotlin | 0 | 0 | 8c8ac2f83b32deaa8400afff342131e645aac73b | 106 | KotlinShare | Apache License 2.0 |
cathode/src/main/java/net/simonvt/cathode/ui/NavigationListener.kt | SimonVT | 9,478,484 | false | null | /*
* Copyright (C) 2015 <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... | 11 | Kotlin | 9 | 99 | 29d916efcd1dbb8ddac1fc2600b2bfbe6ee84c27 | 1,400 | cathode | Apache License 2.0 |
src/main/kotlin/es/jaranda/poc/java8/lamdbaexamples/Java8LamdbaExamplesApplication.kt | jorge-aranda | 110,177,218 | false | {"Java": 3972, "Kotlin": 979} |
package es.jaranda.poc.java8.lamdbaexamples
import org.springframework.boot.SpringApplication
import org.springframework.boot.autoconfigure.SpringBootApplication
@SpringBootApplication
class Java8LamdbaExamplesApplication
fun main(args: Array<String>) {
SpringApplication.run(Java8LamdbaExamplesApplication::clas... | 1 | null | 1 | 1 | 5c92b0f0636b6992a9ff955df9db4a87cd3bd1ce | 337 | java8-lamdba-examples | Apache License 2.0 |
MyJetPackApplication/businesses/business-view/business-view-motion/src/alone/java/com/example/myjetpackapplication/business/view/motion/SingleViewMotionActivity.kt | seelikes | 154,868,585 | false | {"Markdown": 4, "Batchfile": 11, "Ignore List": 58, "JSON": 5, "Text": 1, "Gradle": 72, "reStructuredText": 1, "Java Properties": 14, "Shell": 8, "Proguard": 42, "Java": 57, "XML": 265, "INI": 29, "Kotlin": 311, "C++": 1, "CMake": 1, "Groovy": 26, "Fluent": 40, "FreeMarker": 11} | package com.example.myjetpackapplication.business.view.motion
import android.graphics.Rect
import android.os.Bundle
import android.view.View
import androidx.databinding.DataBindingUtil
import androidx.lifecycle.ViewModelProviders
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widg... | 1 | null | 1 | 1 | 7b3bc00c2e98f11b0798a97474a28fb63c0b53ae | 3,310 | MyAndroidSet | MIT License |
app/src/main/java/fr/free/nrw/commons/actions/PageEditClient.kt | commons-app | 42,032,884 | false | null | package fr.free.nrw.commons.actions
import fr.free.nrw.commons.auth.csrf.InvalidLoginTokenException
import io.reactivex.Observable
import io.reactivex.Single
import fr.free.nrw.commons.auth.csrf.CsrfTokenClient
import timber.log.Timber
/**
* This class acts as a Client to facilitate wiki page editing
* services to ... | 571 | null | 1179 | 997 | 93f1e1ec299a78dac8a013ea21414272c1675e7b | 6,438 | apps-android-commons | Apache License 2.0 |
gradle-tooling/studio-gradle-tooling-api/src/com/android/tools/idea/gradle/project/sync/idea/UsedInBuildAction.kt | JetBrains | 60,701,247 | false | null | /*
* Copyright (C) 2019 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 0 | Java | 187 | 751 | 16d17317f2c44ec46e8cd2180faf9c349d381a06 | 1,568 | android | Apache License 2.0 |
src/main/kotlin/io/array/Maximum1Consecutive.kt | jffiorillo | 138,075,067 | false | {"Gradle Kotlin DSL": 2, "Shell": 2, "Text": 1, "Ignore List": 1, "Batchfile": 1, "INI": 1, "Java": 11, "Kotlin": 286, "Markdown": 3} | package io.array
import io.utils.runTests
// https://leetcode.com/explore/learn/card/array-and-string/205/array-two-pointer-technique/1301/
class Maximum1Consecutive {
fun execute(input: IntArray): Int {
var maxCon = 0
var index = 0
while (index < input.size) {
if (input[index] == 1) {
val... | 1 | null | 1 | 1 | f093c2c19cd76c85fab87605ae4a3ea157325d43 | 795 | coding | MIT License |
booster-cha/src/main/kotlin/com/didiglobal/booster/cha/graph/CallGraph.kt | didi | 182,968,735 | false | null | package com.didiglobal.booster.task.analyser.graph
import com.didiglobal.booster.transform.util.ArgumentsParser
import java.io.PrintWriter
import java.util.Objects
import java.util.concurrent.ConcurrentHashMap
import java.util.concurrent.CopyOnWriteArraySet
/**
* Represents the call graph
*
* @author johnsonlee
*... | 47 | null | 455 | 3,966 | 23a2cb3723d884b965c547c6c1c0ca28ccc94118 | 4,106 | booster | Apache License 2.0 |
matrix-sdk-android/src/main/java/im/vector/matrix/android/api/crypto/Emojis.kt | aalzehla | 287,565,471 | false | {"Gradle": 8, "Markdown": 12, "Java Properties": 2, "Shell": 18, "Text": 3, "Ignore List": 7, "Batchfile": 1, "EditorConfig": 1, "YAML": 1, "INI": 2, "Proguard": 5, "XML": 787, "Kotlin": 2101, "Java": 12, "JavaScript": 4, "JSON": 5, "HTML": 2, "FreeMarker": 2, "Fluent": 7, "Python": 1} | /*
* 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 ... | 1 | null | 1 | 1 | ee1d5faf0d59f9cc1c058d45fae3e811d97740fd | 995 | element-android | Apache License 2.0 |
app/src/main/java/com/musicplayer/aow/delegates/data/model/DataConverter.kt | ilemobayo | 138,568,151 | false | {"Gradle": 3, "Java Properties": 4, "Shell": 1, "Text": 2, "Ignore List": 2, "Batchfile": 1, "Git Attributes": 1, "Markdown": 1, "XML": 736, "JSON": 3, "Proguard": 1, "Kotlin": 370, "Java": 40, "HTML": 4} | package com.musicplayer.aow.delegates.data.model
import android.arch.persistence.room.TypeConverter
import com.google.gson.Gson
import com.google.gson.reflect.TypeToken
import com.musicplayer.aow.delegates.data.db.model.Member
import com.musicplayer.aow.delegates.data.db.model.Result
class DataConverter {
@TypeCo... | 0 | Kotlin | 0 | 2 | bc50a7cace0367b5bcffcd92008f7dbe2727da96 | 1,938 | KStudio | MIT License |
easy/kotlin/c0043_172_factorial-trailing-zeroes/00_leetcode_0043.kt | drunkwater | 127,843,545 | false | {"Text": 2, "Shell": 7, "Markdown": 3, "Perl": 12, "HTML": 3645, "C": 2246, "Java": 738, "Swift": 738, "Go": 738, "C#": 750, "Microsoft Visual Studio Solution": 4, "XML": 8, "Makefile": 1476, "Python": 1476, "Kotlin": 738, "Ruby": 738, "JavaScript": 738, "Scala": 738, "C++": 1484} | // DRUNKWATER TEMPLATE(add description and prototypes)
// Question Title and Description on leetcode.com
// Function Declaration and Function Prototypes on leetcode.com
//172. Factorial Trailing Zeroes
//Given an integer n, return the number of trailing zeroes in n!.
//Note: Your solution should be in logarithmic time ... | 1 | null | 1 | 1 | 8cc4a07763e71efbaedb523015f0c1eff2927f60 | 510 | leetcode | Ruby License |
Packable-Kotlin/src/main/kotlin/example/RandomUtil.kt | BillyWei01 | 392,383,736 | false | {"Kotlin": 187379, "Java": 109910, "C#": 108590, "C++": 88339, "Objective-C": 70546, "Go": 59603, "C": 1651, "Swift": 594, "Makefile": 546} | package example
import kotlin.math.abs
import kotlin.random.Random
object RandomUtil {
private const val ALL_ASCII = false
private val NOT_ASCII = arrayOf("\uD842\uDFB7", "一", "二", "三", "四", "五")
private val SPECIAL_CHARACTERS = "~@#$%^&*(){}[]<>:\"?;',./".toCharArray()
private val random = Random(1)... | 0 | Kotlin | 5 | 31 | c828a63540de3a5ff5d3445f7c633cb4ee4a2bda | 4,165 | Packable | MIT License |
src/test/java/com/google/wireless/android/vending/developer/signing/tools/extern/export/MainSpec.kt | yongjhih | 170,794,077 | false | null | package com.google.wireless.android.vending.developer.signing.tools.extern.export
import com.google.security.keymaster.lite.KeymaestroHybridEncrypter
import org.junit.jupiter.api.Assertions.assertNotNull
import org.spekframework.spek2.Spek
import org.spekframework.spek2.style.specification.describe
import java.io.File... | 0 | Java | 10 | 27 | 9ccfd7e36ba9724a5f6623c16192a41f1a172e58 | 1,341 | pepk | Apache License 2.0 |
core/src/main/kotlin/com/malinskiy/marathon/test/MetaProperty.kt | MarathonLabs | 129,365,301 | false | null | package com.malinskiy.marathon.test
data class MetaProperty(val name: String, val values: Map<String, Any?> = emptyMap()) | 66 | Kotlin | 89 | 328 | 77271f081c04093134d8d6ed77e380afd0a362a4 | 122 | marathon | Apache License 2.0 |
weather-mvp-dagger-kotlin/src/main/java/com/minimalist/weather/kotlin/model/http/entity/EnvironmentCloudForecast.kt | xungui | 180,759,630 | false | null | package com.minimalist.weather.kotlin.model.http.entity
import com.alibaba.fastjson.annotation.JSONField
class EnvironmentCloudForecast {
/**
* citycode : 101020100
* rdesc : Success
* suggestion : {"uv":{"txt":"属弱紫外线辐射天气,无需特别防护。若长期在户外,建议涂擦SPF在8-12之间的防晒护肤品。","brf":"最弱"},"cw":{"txt":"不宜洗车,未来24小时内有雨,... | 1 | null | 1 | 2 | 3fecb250ad88b591347dd0171deab6ac16d97226 | 8,002 | MinimalistWeather | Apache License 2.0 |
app/src/main/java/com/mospolytech/mospolyhelper/features/ui/account/teachers/adapter/TeachersAdapter.kt | tonykolomeytsev | 341,524,793 | true | {"Kotlin": 646693} | package com.mospolytech.mospolyhelper.features.ui.account.teachers.adapter
import android.content.Context
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.core.content.ContextCompat
import androidx.paging.PagingDataAdapter
import androidx.recyclerview.widget.Dif... | 0 | null | 0 | 0 | 379c9bb22913da1854f536bf33e348a459db48b9 | 2,481 | mospolyhelper-android | MIT License |
locale-core/src/iosMain/kotlin/com.chrynan.locale.core/IosLocale.kt | chRyNaN | 532,300,775 | false | null | @file:Suppress("unused")
package com.chrynan.locale.core
import platform.Foundation.*
class IosLocale internal constructor(@Suppress("MemberVisibilityCanBePrivate") val iosLocale: NSLocale) : Locale {
override val language: String?
get() = iosLocale.languageCode.takeIf { it.isNotBlank() }
override ... | 0 | Kotlin | 0 | 0 | bd77705528fa4585f3471a376f9a1d235a0e49a5 | 3,534 | locale | Apache License 2.0 |
app/src/main/java/com/honorida/domain/services/foreground/AppUpdateForegroundService.kt | Pa222 | 739,687,721 | false | {"Kotlin": 166377} | package com.honorida.domain.services.foreground
import android.app.Service
import android.content.Intent
import android.os.IBinder
class AppUpdateForegroundService: Service() {
override fun onBind(intent: Intent?): IBinder? {
return null
}
override fun onStartCommand(intent: Intent?, flags: Int, ... | 0 | Kotlin | 0 | 0 | 44f104b5f3a957f4977d8b65f5748f989545766b | 408 | Honorida | Apache License 2.0 |
app/src/main/java/com/kenkoro/taurus/client/feature/shared/viewmodels/SharedAuthViewModel.kt | kenkoro | 746,982,789 | false | {"Kotlin": 272290, "JavaScript": 64} | package com.kenkoro.taurus.client.feature.shared.viewmodels
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
import androidx.lifecycle.ViewModel
import androidx.room.withTransaction
import com.kenkoro.taurus.client.feature.auth.data.mapper... | 4 | Kotlin | 0 | 4 | f14526cccbf81ab247cae532709efe57b63b71f5 | 1,734 | taurus | Apache License 2.0 |
app/src/main/java/com/mty/bangcalendar/ui/settings/SettingsViewModel.kt | mty1122 | 485,456,860 | false | {"Kotlin": 173246, "C++": 12060, "CMake": 814} | package com.mty.bangcalendar.ui.settings
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.mty.bangcalendar.logic.DatabaseUpdater
import com.mty.bangcalendar.logic.model.UserPreference
import com.mty.bangcalendar.logic.repository.SettingsRepository
import com.mty.bangcalendar.ui.s... | 0 | Kotlin | 0 | 0 | d6de722787331b9805a5907d7fc993567dbb85ee | 2,978 | BangCalendar | Apache License 2.0 |
ktx-datetime/src/commonTest/kotlin/tech/antibytes/kfixture/mock/GeneratorStub.kt | bitPogo | 471,069,650 | false | {"Kotlin": 1155858} | /*
* Copyright (c) 2024 Matthias Geisler (bitPogo) / All rights reserved.
*
* Use of this source code is governed by Apache v2.0
*/
package tech.antibytes.kfixture.mock
import kotlin.js.JsName
import tech.antibytes.kfixture.PublicApi
class GeneratorStub<T : Any>(
@JsName("generateStub")
var generate: (()... | 0 | Kotlin | 1 | 12 | 52ccc8a29b0429fc07335cd4926169d254a78551 | 551 | kfixture | Apache License 2.0 |
korge/src/commonMain/kotlin/com/soywiz/korge/render/AgBitmapTextureManager.kt | dwursteisen | 237,209,432 | true | {"Kotlin": 1824737, "Java": 182026, "Shell": 1955, "Batchfile": 1618} | package com.soywiz.korge.render
import com.soywiz.kds.*
import com.soywiz.korag.*
import com.soywiz.korge.internal.*
import com.soywiz.korim.bitmap.*
import com.soywiz.korma.geom.Rectangle
/** Extra property for [Bitmap] objects that specify whether mipmaps should be created for this Bitmap */
var Bitmap.texMipmaps: ... | 0 | null | 0 | 0 | 713eb6a9e5644b8bba7ec6d8c274c2d7ed66a431 | 5,149 | korge | Apache License 2.0 |
app/src/main/java/com/example/stsotre/ui/theme/Color.kt | shirinvn | 711,298,897 | false | {"Kotlin": 161486} | package com.example.stsotre.ui.theme
import androidx.compose.material.Colors
import androidx.compose.runtime.Composable
import androidx.compose.ui.graphics.Color
val Purple200 = Color(0xFFed1b34)
val Purple500 = Color(0xFFFA465B)
val Pink700 = Color(0xFF3700B3)
val Teal200 = Color(0xFF03DAC5)
val Colors.splashBg :... | 0 | Kotlin | 0 | 0 | 2d78af4a6cfb1c40319a41df203c2e95f0ceed62 | 1,862 | STStore | MIT License |
app/src/main/java/com/github/julesssss/moderndagger/main/MainViewModel.kt | Julesssss | 141,633,962 | false | null | package com.github.julesssss.moderndagger.main
import com.github.julesssss.moderndagger.AnalyticsHelper
/**
* ViewModel which provides data and state to MainActivity. Should have no knowledge of Activity
* behaviour or state.
*/
class MainViewModel {
private val analyticsHelper by lazy { AnalyticsHelper() }
... | 0 | Kotlin | 0 | 0 | 4cb74e33c2e8a1f0287f95f1fceb2ce57b2d440e | 646 | Modern-Dagger | MIT License |
presentation_shared/src/main/java/com/pimenta/bestv/presentation/extension/FragmentManagerExtension.kt | marcuspimenta | 132,016,354 | false | null | /*
* Copyright (C) 2018 Marcus Pimenta
*
* 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 ... | 5 | null | 20 | 54 | 63b92f876dd7d4571d3824e723e67c1872d25cd3 | 1,178 | BESTV | Apache License 2.0 |
app/src/main/java/com/kire/audio/presentation/activity/MainActivity.kt | KiREHwYE | 674,992,893 | false | {"Kotlin": 276219} | package com.kire.audio.presentation.activity
import android.annotation.SuppressLint
import android.app.Activity
import android.content.ComponentName
import android.content.Context
import android.os.Build
import android.os.Bundle
import android.view.Window
import android.view.WindowManager
import androidx.activity.... | 0 | Kotlin | 0 | 0 | faea19fe52e18fcad60a4fb01f65c77f461da288 | 8,576 | Meowdio | Apache License 2.0 |
kit/src/main/java/healthstack/kit/task/activity/model/SpeechRecognitionIntroModel.kt | S-HealthStack | 520,365,275 | false | {"Kotlin": 915664} | package healthstack.kit.task.activity.model
import healthstack.kit.R
import healthstack.kit.task.activity.model.common.SimpleAudioActivityModel
import healthstack.kit.ui.TextType
import healthstack.kit.ui.TextType.NUMBER
class SpeechRecognitionIntroModel(
id: String,
title: String = "Speech Recognition",
... | 6 | Kotlin | 19 | 25 | 87d1b829674c78a73b19f72b05395d989d65708b | 810 | app-sdk | Apache License 2.0 |
ui/widgets/modal-bottom-sheet/src/main/kotlin/com/edricchan/studybuddy/ui/widgets/modalbottomsheet/select/SelectBottomSheetUtils.kt | EdricChan03 | 100,260,817 | false | {"Kotlin": 837135, "Ruby": 202} | package com.edricchan.studybuddy.ui.widgets.modalbottomsheet.select
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentActivity
import androidx.fragment.app.FragmentManager
import androidx.lifecycle.LifecycleOwner
import com.edricchan.studybuddy.ui.widgets.modalbottomsheet.select.model.OptionBo... | 43 | Kotlin | 11 | 16 | bee36bea7c6bfdef783ac0c0ebf1005e068effdc | 3,245 | studybuddy-android | MIT License |
sample/src/main/java/org/koreanlab/sample/MainActivity.kt | chanjungkim | 377,881,333 | false | null | package org.koreanlab.sample
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.os.Handler
import android.widget.TextView
import androidx.lifecycle.Observer
import org.koreanlab.alivedata.ALiveArrayListData
class MainActivity : AppCompatActivity() {
val aliveArrayListData = AL... | 0 | Kotlin | 0 | 1 | a3dcba6e185cdaf7c1129199889de7bcee1f60e4 | 1,896 | AMutableLiveData | MIT License |
mulighetsrommet-tiltakshistorikk/src/main/kotlin/no/nav/mulighetsrommet/tiltakshistorikk/plugins/Authentication.kt | navikt | 435,813,834 | false | {"Kotlin": 1538935, "TypeScript": 1377841, "SCSS": 41073, "JavaScript": 27458, "PLpgSQL": 14591, "HTML": 2263, "Dockerfile": 1339, "CSS": 1145, "Shell": 396} | package no.nav.mulighetsrommet.arena.adapter.plugins
import com.auth0.jwk.JwkProviderBuilder
import io.ktor.server.application.*
import io.ktor.server.auth.*
import io.ktor.server.auth.jwt.*
import no.nav.mulighetsrommet.arena.adapter.AuthConfig
import java.net.URI
import java.util.concurrent.TimeUnit
fun Application... | 3 | Kotlin | 2 | 7 | e3225d9b78d6a682c358580012d5e3417fc8efbe | 796 | mulighetsrommet | MIT License |
src/main/kotlin/com/deflatedpickle/bugmagic/api/client/util/extension/BufferBuilder.kt | DeflatedPickle | 141,510,202 | false | null | /* Copyright (c) 2019-2020 DeflatedPickle under the MIT license */
package com.deflatedpickle.bugmagic.api.client.util.extension
import net.minecraft.client.renderer.BufferBuilder
fun BufferBuilder.tex(u: Float, v: Float): BufferBuilder {
return this.tex(u.toDouble(), v.toDouble())
}
fun BufferBuilder.tex(u: Do... | 18 | Kotlin | 1 | 3 | 1781740bb23631aee8daef0806441182c387044e | 492 | BugMagic | MIT License |
java-agent/src/commonMain/kotlin/com/epam/drill/agent/classloading/source/ClassSource.kt | Drill4J | 240,284,351 | false | null | /**
* Copyright 2020 - 2022 EPAM Systems
*
* 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 agree... | 2 | null | 3 | 6 | 5306faa9e600be17244004ecc3d7737b106c7d88 | 1,632 | java-agent | Apache License 2.0 |
example/android/app/src/main/kotlin/com/onegini/mobile/onegini_example/SecurityController.kt | onewelcome | 418,922,893 | false | null | package com.onegini.mobile.onegini_example
object SecurityController {
const val debugDetection = false
const val rootDetection = false
const val debugLogs = true
}
| 3 | Kotlin | 1 | 0 | ddbb5eadd8af3d3d295c3e426d089669efab0213 | 178 | sdk-flutter | Apache License 2.0 |
app/src/main/java/com/example/bancomlogin/DispatcherProvider.kt | marlonpya | 644,247,354 | false | null | package com.example.bancomlogin
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.CoroutineExceptionHandler
import kotlinx.coroutines.Dispatchers
import kotlin.coroutines.AbstractCoroutineContextElement
import kotlin.coroutines.CoroutineContext
class DispatcherProvider {
open val IO: Corout... | 0 | Kotlin | 0 | 0 | 3eb4d78ba7e9bd836549cbd2cab4f2379d7c13b4 | 906 | BancomLogin | Apache License 2.0 |
app/src/main/java/com/kiylx/cameraxexample/CameraExampleActivity.kt | Knightwood | 517,621,489 | false | null | package com.kiylx.cameraxexample
import android.content.Intent
import android.net.Uri
import android.util.Size
import android.view.View
import androidx.camera.view.PreviewView
import com.kiylx.camerax_lib.main.manager.CameraHolder
import com.kiylx.camerax_lib.main.manager.imagedetection.base.AnalyzeResultListener
impo... | 1 | Kotlin | 1 | 12 | a8b10984e76a46985531b59eba00cc06bfb5bef1 | 3,411 | CameraX-mlkit-FaceDetection | Apache License 2.0 |
src/app/android/app/src/main/java/com/deepseat/ds/viewholder/CommunityListViewHolder.kt | seongjiko | 456,172,826 | false | null | package com.deepseat.ds.viewholder
import android.content.res.ColorStateList
import android.view.View
import androidx.core.content.ContextCompat
import androidx.recyclerview.widget.RecyclerView
import com.deepseat.ds.R
import com.deepseat.ds.databinding.RowCommunityListBinding
import com.deepseat.ds.vo.CommunityListVO... | 0 | Python | 2 | 10 | 9490ab8eb690daefde5b418eedde90d90b871c79 | 3,511 | DeepSeat_project | MIT License |
Owl/app/src/main/java/dev/olog/owl/utils/Insets.kt | ologe | 297,404,639 | false | null | package dev.olog.owl.utils
import androidx.compose.foundation.layout.height
import androidx.compose.ui.Modifier
import androidx.compose.ui.composed
import androidx.compose.ui.unit.dp
// TODO jetpack compose insets snippet don't work with compose alpha04
fun Modifier.statusBarHeight(): Modifier = composed {
this.... | 0 | Kotlin | 0 | 1 | f5dfe76ba8e6f8038ccfe9147787e55416cc82d4 | 485 | material-studies | MIT License |
data/RF04069/rnartist.kts | fjossinet | 449,239,232 | false | {"Kotlin": 8214424} | import io.github.fjossinet.rnartist.core.*
rnartist {
ss {
rfam {
id = "RF04069"
name = "consensus"
use alignment numbering
}
}
theme {
details {
value = 3
}
color {
location {
1 to 8... | 0 | Kotlin | 0 | 0 | 3016050675602d506a0e308f07d071abf1524b67 | 2,292 | Rfam-for-RNArtist | MIT License |
coffee-app/src/main/kotlin/com/github/lexer/injektor/coffee/Pump.kt | lexer | 143,588,526 | false | null | package com.github.lexer.injektor.coffee
interface Pump {
fun pump()
} | 0 | Kotlin | 1 | 20 | 171b34abf9856342fa9498b3474cfef79b5df707 | 75 | injektor | Apache License 2.0 |
core/jsonrpc/parser/impl/src/main/kotlin/odoo/miem/android/core/jsonrpc/parser/impl/di/MoshiModule.kt | 19111OdooApp | 546,191,502 | false | null | package odoo.miem.android.core.jsonrpc.parser.impl.di
import com.squareup.moshi.Moshi
import com.squareup.moshi.kotlin.reflect.KotlinJsonAdapterFactory
import dagger.Module
import dagger.Provides
/**
* [MoshiModule] - **Dagger** module for providing [Moshi] in general map
*
* @author <NAME>
*/
@Module
class Moshi... | 0 | Kotlin | 0 | 3 | 66eab22e7786f52903c5679cf5d95ad27cf13b34 | 434 | OdooApp-Android | Apache License 2.0 |
fhgapp/src/main/java/de/jbamberger/fhgapp/repository/RepositoryImpl.kt | JBamberger | 95,302,910 | false | {"Kotlin": 147912, "HTML": 80453, "PowerShell": 583} | /*
* Copyright 2021 Jannik Bamberger
*
* 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 appli... | 8 | Kotlin | 1 | 0 | d9cb7ddf37b0a56846c0711050da82e8073930d1 | 1,873 | fhg-android-app | Apache License 2.0 |
app/src/main/java/com/breezebaruch/features/nearbyuserlist/api/NearbyUserRepo.kt | DebashisINT | 863,564,790 | false | {"Kotlin": 15819808, "Java": 1028932} | package com.breezebaruch.features.nearbyuserlist.api
import com.breezebaruch.app.Pref
import com.breezebaruch.features.nearbyuserlist.model.NearbyUserResponseModel
import com.breezebaruch.features.newcollection.model.NewCollectionListResponseModel
import com.breezebaruch.features.newcollection.newcollectionlistapi.New... | 0 | Kotlin | 0 | 0 | 5ff295242877825b98ac559a3a10320a77130181 | 577 | BaruchEngineering | Apache License 2.0 |
src/main/kotlin/server/core/advices/exceptions/DuplicationException.kt | Hermanest | 694,798,667 | false | {"Kotlin": 51990} | package com.hermanest.schedularserver.server.core.advices.exceptions
class DuplicationException(
objectName: String = "object"
) : com.hermanest.schedularserver.server.core.advices.exceptions.RequestException("FAILED_${objectName.uppercase()}_ALREADY_EXISTS") | 0 | Kotlin | 0 | 0 | 9ba0355b425a5e89fdcb88b5b7a8cb66f5fd6857 | 264 | schedular-server | Apache License 2.0 |
app/src/main/java/com/gram/color_android/data/model/profile/ProfileResponse.kt | GRAM-DSM | 386,310,948 | false | null | package com.gram.color_android.data.model.profile
data class ProfileResponse(
val user_info: UserInfo,
val posts: ArrayList<Posts>
){
data class UserInfo(
val nickname: String,
val is_mine: Boolean
)
data class Posts(
val id: String,
val content: String,
val ... | 0 | Kotlin | 0 | 1 | 37011629404b4c6676995d77b6a4f89d7f272e0c | 548 | Color-Android | MIT License |
kira-processor-test/src/test/resources/KiraProcessorTest/functions_with_strange_names/input/input.kt | popovanton0 | 489,662,148 | false | {"Kotlin": 294584} | package functions_with_strange_names
import com.popovanton0.kira.annotations.Kira
import com.popovanton0.kira.annotations.KiraRoot
@KiraRoot(generateRegistry = false)
object RootModule
@Kira fun misses(sdf: Throwable) = Unit
@Kira fun kira() = Unit
@Kira fun injector() = Unit
@Kira fun string() = Unit
@Kira fun Supp... | 0 | Kotlin | 0 | 5 | b65f7af94b94cd5334fd5070b1676b99a15fbffe | 365 | kira | Apache License 2.0 |
app/src/main/java/com/myth/ticketmasterapp/data/eventmodels/Dma.kt | MichaelGift | 634,539,469 | false | {"Kotlin": 113077} | package com.myth.ticketmasterapp.data.eventmodels
import android.os.Parcelable
import kotlinx.parcelize.Parcelize
@Parcelize
data class Dma(
val id: Int
):Parcelable | 0 | Kotlin | 1 | 0 | 398821b347414a3f5ea711143b5fcc6f266738a7 | 171 | Event-Finder-App | MIT License |
src/main/java/uk/ac/shef/tracker/core/database/queries/TrackerLocations.kt | oakgroup | 630,448,719 | false | {"Kotlin": 383102} | /*
*
Copyright (c) 2023.
This code was developed by <NAME>, The University of Sheffield.
All rights reserved.
No part of this code can be used without the explicit written permission by the author
*/
package uk.ac.shef.tracker.core.database.queries
import androidx.room.*
import uk.ac.shef.tracker.core.database... | 0 | Kotlin | 0 | 0 | 78e517e98a63e8d0f379b33a4e410db7dd5abf45 | 1,508 | android-bhf-tracker | MIT License |
fluent-icons-extended/src/commonMain/kotlin/com/konyaco/fluent/icons/regular/Scan.kt | Konyaco | 574,321,009 | false | null |
package com.konyaco.fluent.icons.regular
import androidx.compose.ui.graphics.vector.ImageVector
import com.konyaco.fluent.icons.Icons
import com.konyaco.fluent.icons.fluentIcon
import com.konyaco.fluent.icons.fluentPath
public val Icons.Regular.Scan: ImageVector
get() {
if (_scan != null) {
... | 1 | Kotlin | 3 | 83 | 9e86d93bf1f9ca63a93a913c990e95f13d8ede5a | 3,539 | compose-fluent-ui | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.