path stringlengths 4 280 | owner stringlengths 2 39 | repo_id int64 21.1k 879M | is_fork bool 2
classes | languages_distribution stringlengths 13 1.95k ⌀ | content stringlengths 7 482k | issues int64 0 13.9k | main_language stringclasses 121
values | forks stringlengths 1 5 | stars int64 0 111k | commit_sha stringlengths 40 40 | size int64 7 482k | name stringlengths 1 100 | license stringclasses 93
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
src/main/kotlin/Utopia.kt | brillenheini | 123,725,036 | false | null | import io.reactivex.Flowable
import io.reactivex.rxkotlin.Flowables
import io.reactivex.rxkotlin.subscribeBy
import io.reactivex.schedulers.Schedulers
import mu.KotlinLogging
import print.LinePrinter
import search.createArchiveSearcher
import java.awt.Desktop
import java.io.File
import java.io.FileNotFoundException
imp... | 0 | Kotlin | 0 | 1 | cd7e158fc5604c8175fa58b63053392c9ad991d6 | 2,660 | utopia2 | Apache License 2.0 |
src/main/kotlin/server/ExpressApp.kt | mesoneer-ag | 139,211,166 | false | {"Kotlin": 17697, "Shell": 307} | package server
external class ExpressApp {
fun get(route: String, handle: (req: dynamic, res: Response) -> Unit)
fun post(route: String, handle: (req: dynamic, res: Response) -> Unit)
fun put(route: String, handle: (req: dynamic, res: Response) -> Unit)
fun listen(i: Int, function: () -> Unit)
}
exte... | 0 | Kotlin | 0 | 0 | 63508fb590332de9afe7de05a814b52cbad4e5c7 | 398 | antjs-engine | MIT License |
src/main/kotlin/ru/scisolutions/scicmscore/api/graphql/CustomScalarsRegistration.kt | borisblack | 737,700,232 | false | {"Kotlin": 709559, "HTML": 4440, "Shell": 282, "Dockerfile": 123} | package ru.scisolutions.scicmscore.api.graphql
import com.netflix.graphql.dgs.DgsComponent
import com.netflix.graphql.dgs.DgsRuntimeWiring
import graphql.scalars.ExtendedScalars
import graphql.schema.idl.RuntimeWiring
import java.util.regex.Pattern
@DgsComponent
class CustomScalarsRegistration {
@DgsRuntimeWiring... | 0 | Kotlin | 0 | 4 | 586b6bbe338cc3ea678b1116f9d095a276d20d99 | 603 | scicms-core | Apache License 2.0 |
basick/src/main/java/com/mozhimen/basick/utilk/app/UtilKAppInstall.kt | mozhimen | 353,952,154 | false | null | package com.mozhimen.basick.utilk.android.content
import android.app.Activity
import android.app.PendingIntent
import android.content.Context
import android.content.Intent
import android.content.pm.PackageInstaller
import android.util.Log
import androidx.annotation.RequiresApi
import androidx.annotation.RequiresPermis... | 0 | null | 6 | 2 | 5077b41303c564a4f7acd8e7df03133ebf1e04f2 | 11,783 | SwiftKit | Apache License 2.0 |
src/main/kotlin/dev/shtanko/algorithms/leetcode/DiffWaysToCompute.kt | ashtanko | 203,993,092 | false | {"Kotlin": 7380373, "Shell": 1168, "Makefile": 1144} | /*
* 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... | 6 | Kotlin | 0 | 19 | edb06efcddd1fb4989db0f6f2c624c098f563883 | 3,323 | kotlab | Apache License 2.0 |
http4k-openapi/src/main/kotlin/org/http4k/util/builders/NullableListBuilder.kt | savagematt | 251,337,496 | true | {"Kotlin": 1938601, "JavaScript": 133282, "Java": 31515, "Shell": 10427, "HTML": 2049, "Handlebars": 1130, "Pug": 944, "CSS": 832} | package org.http4k.util.builders
import kotlin.reflect.KFunction1
/**
* toList() will return null if the initial value was null and
* no items have been assigned
*/
class NullableListBuilder<T, Dsl : Builder<T, Dsl>>(
private val initial: List<T>?,
private val toBuilder: (T) -> Dsl
) {
constructor(init... | 0 | Kotlin | 0 | 0 | 9cc8ef11121bfbe10a1cd0ca58a17885c297af52 | 1,046 | http4k | Apache License 2.0 |
http4k-openapi/src/main/kotlin/org/http4k/util/builders/NullableListBuilder.kt | savagematt | 251,337,496 | true | {"Kotlin": 1938601, "JavaScript": 133282, "Java": 31515, "Shell": 10427, "HTML": 2049, "Handlebars": 1130, "Pug": 944, "CSS": 832} | package org.http4k.util.builders
import kotlin.reflect.KFunction1
/**
* toList() will return null if the initial value was null and
* no items have been assigned
*/
class NullableListBuilder<T, Dsl : Builder<T, Dsl>>(
private val initial: List<T>?,
private val toBuilder: (T) -> Dsl
) {
constructor(init... | 0 | Kotlin | 0 | 0 | 9cc8ef11121bfbe10a1cd0ca58a17885c297af52 | 1,046 | http4k | Apache License 2.0 |
pagingk_paging3_data/src/main/java/com/mozhimen/pagingk/paging3/data/widgets/PagingKDataMultiAdapter.kt | mozhimen | 747,018,353 | false | {"Kotlin": 124487} | package com.mozhimen.pagingk.data.widgets
import android.annotation.SuppressLint
import android.content.Context
import com.mozhimen.basick.utilk.android.util.UtilKLogWrapper
import android.util.SparseArray
import android.view.ViewGroup
import androidx.recyclerview.widget.DiffUtil.ItemCallback
import androidx.recyclerv... | 0 | Kotlin | 2 | 2 | 5d38803bddf5e5a70ee5f70408f7e7b5c152762e | 3,916 | APagingKit | Apache License 2.0 |
src/commonMain/kotlin/net/notjustanna/tartar/api/dsl/LexerFunctionTypes.kt | adriantodt | 251,127,025 | false | null | package net.notjustanna.tartar.api.dsl
import net.notjustanna.tartar.api.lexer.LexerContext
/**
* Function which receives a [LexerContext] as its receiver and a matched [Char] as its parameter.
*/
public typealias MatchFunction<T> = LexerContext<T>.(char: Char) -> Unit
/**
* Function which receives a [LexerDSL] a... | 2 | Kotlin | 0 | 2 | dc839c08ae3801d5fd07787943b8e99039ce28c9 | 397 | tartar | Apache License 2.0 |
app/src/main/java/com/sik/sikcomposehub/ui/main/ProgressIndicatorLayout.kt | SilverIceKey | 807,532,704 | false | {"Kotlin": 25609} | package com.sik.sikcomposehub.ui.main
import androidx.compose.animation.core.LinearEasing
import androidx.compose.animation.core.keyframes
import androidx.compose.animation.core.tween
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.founda... | 0 | Kotlin | 0 | 1 | 3a2cda19491479ae7d4de65d9ce3ede4c4b52a04 | 2,440 | SIKComposeHub | MIT License |
compiler/testData/codegen/boxAgainstJava/sam/adapters/operators/compareTo.kt | JakeWharton | 99,388,807 | false | null | // FILE: JavaClass.java
class JavaClass {
int compareTo(Runnable i) {
i.run();
return 239;
}
}
// FILE: 1.kt
fun box(): String {
val obj = JavaClass()
var v1 = "FAIL"
obj < { v1 = "OK" }
if (v1 != "OK") return "<: $v1"
var v2 = "FAIL"
obj > { v2 = "OK" }
if (v2 !... | 181 | null | 5748 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 529 | kotlin | Apache License 2.0 |
api/src/main/kotlin/br/com/strn/erp/api/database/entities/financeiro/CentroCusto.kt | IvoSestren | 331,951,557 | false | null | package br.com.strn.erp.api.database.entities.financeiro
import br.com.strn.erp.api.database.entities.BaseEntity
import br.com.strn.erp.api.database.util.newHandle
import org.hibernate.annotations.Where
import javax.persistence.*
@Entity
@Table(name = "centrocusto")
@Where(clause = "deleted_at is null")
class CentroC... | 0 | Kotlin | 0 | 0 | a955b4a4b8b4e4f2b746bbe5bc4fe3674ab9caf1 | 882 | erp_001 | The Unlicense |
feature/ui/edit-note/core/src/main/kotlin/ru/maksonic/beresta/feature/ui/edit_note/core/screen/ContentExpanded.kt | maksonic | 580,058,579 | false | {"Kotlin": 1619980} | package ru.maksonic.beresta.feature.ui.edit_note.core.screen
import androidx.activity.SystemBarStyle
import androidx.activity.enableEdgeToEdge
import androidx.compose.animation.core.animateDpAsState
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.BoxWithConstraints
import androi... | 0 | Kotlin | 0 | 0 | d9a53cc50c6e149923fc5bc6fc2c38013bfadb9d | 14,707 | Beresta | MIT License |
lite/examples/hand_tracking/android/app/src/main/java/org/tensorflow/lite/examples/handtracking/MainActivity.kt | hannesa2 | 345,906,548 | true | {"Jupyter Notebook": 1733035, "Python": 1232274, "Kotlin": 682381, "Swift": 553535, "Java": 305092, "C++": 106227, "Shell": 41573, "JavaScript": 24461, "Starlark": 17498, "Objective-C": 14639, "Objective-C++": 14293, "HTML": 12491, "CSS": 4746, "Ruby": 3744, "CMake": 1553, "Dockerfile": 467} | package org.tensorflow.lite.examples.handtracking
import android.app.Activity
import android.content.Intent
import android.graphics.*
import android.net.Uri
import android.os.Bundle
import android.os.Environment
import android.provider.MediaStore
import android.util.Log
import android.widget.Button
import android.widg... | 1 | Jupyter Notebook | 0 | 0 | b5f93b7eef5467fb24d6860385962930fa2a66d9 | 9,716 | tensorflowExamples | Apache License 2.0 |
modules/library-logging-api/src/main/kotlin/com/leinardi/forlago/library/logging/api/CrashlyticsTree.kt | leinardi | 405,185,933 | false | {"Kotlin": 631450, "Shell": 3032} | /*
* Copyright 2021 <NAME>.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | 77 | Kotlin | 6259 | 9 | d3592f7e270fbf10878a5d540f646c4010fddf69 | 1,706 | Forlago | Apache License 2.0 |
subprojects/gradle/impact-shared/src/main/java/com/avito/impact/configuration/sets/AndroidSourceSets.kt | avito-tech | 230,265,582 | false | null | package com.avito.impact.configuration.sets
import com.android.build.gradle.api.AndroidSourceSet
internal fun AndroidSourceSet.isImplementation() = !(isTest() or isAndroidTest())
internal fun AndroidSourceSet.isTest(): Boolean = name.startsWith("test")
internal fun AndroidSourceSet.isAndroidTest(): Boolean = name.sta... | 10 | null | 50 | 414 | bc94abf5cbac32ac249a653457644a83b4b715bb | 343 | avito-android | MIT License |
src/main/kotlin/pw/modder/mgt2helper/parser/savegame/SaveGame.kt | Nik-mmzd | 445,708,703 | false | null | package pw.modder.mgt2helper.parser.savegame
import kotlinx.serialization.*
import kotlinx.serialization.json.*
import pw.modder.mgt2helper.parser.*
import java.io.InputStream
import java.nio.file.*
import kotlin.io.path.*
@Serializable
data class SaveGame(
@SerialName("genres_TARGETGROUP") val genreTargets: Obje... | 0 | Kotlin | 0 | 0 | ad25cda4f242befcb3ecf6f1d1873b0c2a1c95a9 | 2,612 | mgt2-tool | MIT License |
wow-openapi/src/main/kotlin/me/ahoo/wow/openapi/event/ArchiveAggregateIdRouteSpec.kt | Ahoo-Wang | 628,167,080 | false | null | /*
* Copyright [2021-present] [<NAME> <<EMAIL>> (https://github.com/Ahoo-Wang)].
* 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... | 7 | null | 13 | 133 | 4d0e9fb736f08e002f2426f5609c0e0130ea9f2c | 2,136 | Wow | Apache License 2.0 |
envoy-control-tests/src/main/kotlin/pl/allegro/tech/servicemesh/envoycontrol/EnvoyControlTest.kt | misiek08 | 304,321,182 | true | {"Kotlin": 730663, "Java": 42479, "Lua": 13505, "Shell": 2436, "Dockerfile": 2406} | package pl.allegro.tech.servicemesh.envoycontrol
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.BeforeAll
import org.junit.jupiter.api.Test
import pl.allegro.tech.servicemesh.envoycontrol.config.Ads
import pl.allegro.tech.servicemesh.envoycontrol.config.AdsWithStaticListeners
import pl.... | 0 | null | 0 | 0 | 430c5a1357b3cd030de7469403072dd5dd68a51f | 2,300 | envoy-control | Apache License 2.0 |
compiler/testData/codegen/box/annotations/annotatedEnumEntry.kt | JakeWharton | 99,388,807 | false | null | // TARGET_BACKEND: JVM
// WITH_RUNTIME
// KT-5665
@Retention(AnnotationRetention.RUNTIME)
annotation class First
@Retention(AnnotationRetention.RUNTIME)
annotation class Second(val value: String)
enum class E {
@First
E1 {
fun foo() = "something"
},
@Second("OK")
E2
}
fun box(): String... | 181 | null | 5748 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 822 | kotlin | Apache License 2.0 |
app/src/main/java/com/ryunen344/twikot/mediaViewer/MediaViewerActivity.kt | RyuNen344 | 168,919,467 | false | null | package com.ryunen344.twikot.mediaViewer
import android.Manifest
import android.content.pm.PackageManager
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.ryunen344.twikot.R.layout.activity_media_viewer
import com.ryunen344.twikot.util.LogUtil
import com.ryunen344.twikot.util.replace... | 0 | Kotlin | 0 | 0 | 21fb417513674a6273ef8ce823bc5fddfb1a7e93 | 1,699 | TwiKot | Apache License 2.0 |
app/src/main/java/core/ApplicationLauncher.kt | Mnemotechnician | 454,707,533 | false | null | package com.github.mnemotechnician.game
import arc.*
import arc.util.*
import arc.scene.*
import arc.scene.ui.layout.*
import arc.assets.*
import arc.graphics.*
import arc.graphics.g2d.*
class ApplicationLauncher : ApplicationCore() {
override fun setup() {
//halp wat do i do here QwQ
Log.info("GL Version: ... | 0 | Kotlin | 0 | 0 | 4d1cc46be481c3ab18845ba680df1c424aca26f2 | 768 | something | MIT License |
ui/src/main/kotlin/team/duckie/quackquack/ui/util/numberbuilder.kt | duckie-team | 523,387,054 | false | {"Kotlin": 901061, "MDX": 51559, "JavaScript": 6871, "CSS": 1060} | /*
* Designed and developed by Duckie Team 2023.
*
* Licensed under the MIT.
* Please see full license: https://github.com/duckie-team/quack-quack-android/blob/main/LICENSE
*/
@file:Suppress("unused")
package team.duckie.quackquack.ui.util
/** builder api와 유사하게 [Number]를 build합니다. */
internal interface NumberBu... | 45 | Kotlin | 8 | 99 | 24d44663cf5bea29fc73595b5f60be03b08e162b | 1,700 | quack-quack-android | MIT License |
app/src/main/java/danielabbott/personalorganiser/data/TimetableEvent.kt | gaptab | 307,991,387 | false | null | package danielabbott.personalorganiser.data
class TimetableEvent(
val id: Long,
val timetable_id: Long,
var startTime: Int,
var duration: Int, // In minutes
var days: Int,
var name: String,
var notes: String?,
var remind30Mins: Boolean,
var remind1Hr: Boolean,
var remind2Hrs: Bo... | 0 | Kotlin | 0 | 0 | 51fc73672aa20d69f3efefb5d6b71c6aaef32ed4 | 498 | timetable-allinone | MIT License |
src/main/kotlin/io/acari/memory/tactical/PomodoroSettingsEffectListener.kt | Unthrottled | 178,487,158 | false | {"Kotlin": 109281, "TypeScript": 68140, "Dockerfile": 687, "Shell": 624, "JavaScript": 272} | package io.acari.memory.tactical
import io.acari.http.UPDATED_POMODORO_SETTINGS
import io.acari.memory.Effect
import io.acari.memory.TacticalSettingsSchema
import io.acari.memory.user.UserMemoryWorkers
import io.acari.util.toMaybe
import io.reactivex.Completable
import io.vertx.core.Handler
import io.vertx.ext.mongo.U... | 0 | Kotlin | 0 | 1 | 6dc41adc14b6aaf332a6d98b7b4a6b086e077e5c | 1,604 | SOGoS-API | MIT License |
compiler/testData/diagnostics/tests/generics/tpAsReified/InProperty.kt | JakeWharton | 99,388,807 | true | null | val <<!REIFIED_TYPE_PARAMETER_NO_INLINE!>reified<!> T> T.v: T
get() = throw UnsupportedOperationException()
| 181 | Kotlin | 5748 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 112 | kotlin | Apache License 2.0 |
app/src/main/java/com/openso/weatherapp/utils/AxisBarFormatter.kt | mahdihassani-dev | 670,042,466 | false | null | package com.openso.weatherapp.utils
import com.github.mikephil.charting.components.AxisBase
import com.github.mikephil.charting.formatter.ValueFormatter
class AxisBarFormatter(private val values: ArrayList<String>) : ValueFormatter() {
override fun getFormattedValue(value: Float, axis: AxisBase?): String? {
... | 0 | null | 0 | 3 | a3a40f01f550d4cc878d43ffb76a3e288c19ca30 | 363 | WeatherForecastApp | MIT License |
LayoutCompoundLabel/src/main/kotlin/example/App.kt | aterai | 158,348,575 | false | null | package example
import java.awt.*
import java.awt.event.MouseEvent
import javax.swing.*
fun makeUI(): Component {
val icon = UIManager.getIcon("OptionPane.informationIcon")
val label = object : JLabel("OptionPane.informationIcon", icon, SwingConstants.LEADING) {
private val viewRect = Rectangle()
private ... | 0 | null | 5 | 9 | 47a0c684f64c3db2c8b631b2c20c6c7f9205bcab | 2,815 | kotlin-swing-tips | MIT License |
app/src/main/java/org/obd/graphs/ui/metrics/MetricsFragment.kt | tzebrowski | 326,375,780 | false | null | package org.obd.graphs.ui.metrics
import android.annotation.SuppressLint
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import android.content.IntentFilter
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.Vie... | 0 | Kotlin | 2 | 7 | 5d1cf0530aaebb60bfe846e51d804bea58541c6d | 2,735 | ObdGraphs | Apache License 2.0 |
app/shared/relationships/public/src/commonMain/kotlin/build/wallet/relationships/RelationshipsFakeKeys.kt | proto-at-block | 761,306,853 | false | {"C": 10474259, "Kotlin": 8243078, "Rust": 2779264, "Swift": 893661, "HCL": 349246, "Python": 338898, "Shell": 136508, "TypeScript": 118945, "C++": 69203, "Meson": 64811, "JavaScript": 36398, "Just": 32977, "Ruby": 13559, "Dockerfile": 5934, "Makefile": 3915, "Open Policy Agent": 1552, "Procfile": 80} | package build.wallet.relationships
import build.wallet.bitkey.relationships.DelegatedDecryptionKey
import build.wallet.bitkey.relationships.PakeCode
import com.github.michaelbull.result.getOrThrow
import io.ktor.utils.io.core.toByteArray
import okio.ByteString.Companion.toByteString
val DelegatedDecryptionKeyFake =
... | 3 | C | 16 | 113 | 694c152387c1fdb2b6be01ba35e0a9c092a81879 | 646 | bitkey | MIT License |
coworker-core/src/test/kotlin/org/camunda/community/extension/coworker/zeebe/worker/JobCoworkerTest.kt | camunda-community-hub | 574,492,193 | false | null | package org.camunda.community.extension.coworker.zeebe.worker
import io.camunda.zeebe.client.api.response.ActivatedJob
import io.mockk.coEvery
import io.mockk.coVerify
import io.mockk.every
import io.mockk.mockk
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.asCoroutineDispatcher
import kotlinx.cor... | 16 | null | 5 | 7 | 4dfe2520bc7bfbba076818d985911a0053bc9cbc | 5,607 | kotlin-coworker | Apache License 2.0 |
kotlin-client/src/main/kotlin/com/couchbase/client/kotlin/env/dsl/LoggerConfigDslBuilder.kt | munisekharneeru7 | 391,487,493 | true | {"Groovy": 1, "Shell": 1, "Maven POM": 15, "Batchfile": 1, "Markdown": 8, "Text": 22, "HOCON": 1, "Ignore List": 2, "Makefile": 1, "Kotlin": 99, "Java Properties": 12, "XML": 13, "Java": 1183, "Scala": 256, "JSON": 68, "INI": 3, "AsciiDoc": 1, "CSS": 1} | /*
* Copyright 2021 Couchbase, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 0 | null | 0 | 0 | 3b88e11fdd42019f761575c2c5d28a4a04922e14 | 2,255 | couchbase-jvm-clients | Apache License 2.0 |
kotlin-mui-icons/src/main/generated/mui/icons/material/EmailOutlined.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/EmailOutlined")
package mui.icons.material
@JsName("default")
external val EmailOutlined: SvgIconComponent
| 12 | Kotlin | 5 | 983 | a99345a0160a80a7a90bf1adfbfdc83a31a18dd6 | 190 | kotlin-wrappers | Apache License 2.0 |
src/main/kotlin/net/starlegacy/cache/trade/CargoCrates.kt | hafarooki | 437,384,015 | false | null | package net.starlegacy.cache.trade
import com.google.gson.Gson
import net.starlegacy.cache.ManualCache
import net.starlegacy.database.Oid
import net.starlegacy.database.schema.economy.CargoCrate
import net.starlegacy.feature.economy.cargotrade.CrateItems
import net.starlegacy.feature.economy.cargotrade.ShipmentManager... | 0 | null | 5 | 4 | c830eb40180c935e8bfff599da0f9310eeccfb5c | 4,168 | StarLegacy | MIT License |
kotlin-mui-icons/src/main/generated/mui/icons/material/BathroomSharp.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/BathroomSharp")
package mui.icons.material
@JsName("default")
external val BathroomSharp: SvgIconComponent
| 12 | Kotlin | 5 | 983 | a99345a0160a80a7a90bf1adfbfdc83a31a18dd6 | 190 | kotlin-wrappers | Apache License 2.0 |
app/src/main/java/com/plcoding/stockmarketapp/data/local/StockDao.kt | shubham230523 | 533,838,711 | false | null | package com.plcoding.stockmarketapp.data.local
import androidx.room.*
@Dao
interface StockDao {
@Query(
"""
SELECT *
FROM companylistingentity
WHERE LOWER(name) LIKE '%' || LOWER(:query) || '%' OR
UPPER(:query) == symbol
"""
)
suspend fun se... | 0 | Kotlin | 0 | 0 | fbe46892c71ebf6b6d4dfc266a43c5b807ce686a | 629 | JetPack_StockMarketApp | MIT License |
line-awesome/src/commonMain/kotlin/compose/icons/lineawesomeicons/BusSolid.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 | 3,204 | compose-icons | MIT License |
app/src/main/java/com/simbiri/equityjamii/ui/main_activity/people_page/PersonInfoFragment.kt | SimbaSimbiri | 706,250,529 | false | {"Kotlin": 145092} | package com.simbiri.equityjamii.ui.main_activity.people_page
import android.app.Dialog
import android.content.Context
import android.net.Uri
import androidx.lifecycle.ViewModelProvider
import android.os.Bundle
import android.util.DisplayMetrics
import android.view.LayoutInflater
import android.view.View
import android... | 0 | Kotlin | 0 | 0 | 8e65d4085c96872ce055dc8f4c0484b8dda4ce35 | 5,277 | EquiJamii | Apache License 2.0 |
app/src/main/java/com/babylon/wallet/android/presentation/settings/linkedconnectors/LinkedConnectorsScreen.kt | radixdlt | 513,047,280 | false | {"Kotlin": 5059334, "HTML": 215350, "Ruby": 2757, "Shell": 1963} | package com.babylon.wallet.android.presentation.settings.linkedconnectors
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
impo... | 7 | Kotlin | 6 | 11 | b21ad9d25e186649f3631a83d0d87dafaafc5fdb | 19,211 | babylon-wallet-android | Apache License 2.0 |
app/src/main/java/dev/kingbond/notify/ui/event/AlarmReceiver.kt | Kingbond470 | 429,672,171 | false | null | package dev.kingbond.notify.ui.event
import android.app.NotificationChannel
import android.app.PendingIntent
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import android.media.MediaPlayer
import android.os.Build
import androidx.annotation.RequiresApi
import andro... | 0 | Kotlin | 3 | 5 | a663e7c2390279a6ff1661c38d31a8f49b9673d1 | 1,665 | Notify | MIT License |
core/network/src/commonMain/kotlin/com/cdcoding/network/client/cosmo/CosmosFee.kt | Christophe-DC | 822,562,468 | false | {"Kotlin": 728291, "Ruby": 4739, "Swift": 617} | package com.cdcoding.network.client.cosmo
import com.cdcoding.model.AssetId
import com.cdcoding.model.Chain
import com.cdcoding.model.Fee
import com.cdcoding.model.GasFee
import com.cdcoding.model.TransactionType
import com.ionspin.kotlin.bignum.integer.BigInteger
class CosmosFee(
private val txType: Transactio... | 0 | Kotlin | 0 | 0 | bc7c3eb161ee18db83402ded314e2e0b72196974 | 2,026 | secureWallet | Apache License 2.0 |
app/src/main/java/com/pt/mysociety/login/view/LoginViewModel.kt | Prathy | 528,724,668 | false | null | package com.pt.mysociety.login.view
import android.app.Activity
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import android.util.Patterns
import com.google.firebase.auth.ktx.auth
import com.google.firebase.ktx.Firebase
import com.pt.mysociety.R
impor... | 0 | Kotlin | 0 | 0 | 2261e245887f46063b37e9dfbfbd851c9380cf7a | 2,048 | MySociety | Apache License 2.0 |
app/src/main/java/com/gaugustini/vort/repository/ResultRepository.kt | gaugustini | 416,395,415 | false | null | package com.gaugustini.vort.repository
import com.gaugustini.vort.database.ResultDao
import com.gaugustini.vort.model.Result
import javax.inject.Inject
class ResultRepository @Inject constructor(private val resultDao: ResultDao) {
suspend fun insert(resultList: List<Result>) = resultDao.insert(resultList)
s... | 0 | Kotlin | 0 | 0 | 2f26bb863801caab95733511c6683b527ef33f35 | 415 | vort | MIT License |
ktor-legacy/ktor-client-legacy/common/src/io/ktor/client/features/cache/storage/HttpCacheStorage.kt | ktorio | 40,136,600 | false | null | /*
* Copyright 2014-2021 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
@file:Suppress("DEPRECATION_ERROR")
package io.ktor.client.features.cache.storage
@Deprecated(
message = "Moved to io.ktor.client.plugins.cache",
level = DeprecationLevel.ERROR,
... | 303 | Kotlin | 755 | 9,053 | 240363d6760754c325e0022f48eb5ea3069bc060 | 441 | ktor | Apache License 2.0 |
livingdoc-engine/src/main/kotlin/org/livingdoc/engine/execution/examples/scenarios/ScenarioFixtureModel.kt | LivingDoc | 85,412,044 | false | null | package org.livingdoc.engine.execution.examples.scenarios
import org.livingdoc.api.fixtures.scenarios.Step
import org.livingdoc.engine.execution.ScopedFixtureModel
import org.livingdoc.engine.execution.examples.scenarios.matching.ScenarioStepMatcher
import org.livingdoc.engine.execution.examples.scenarios.matching.Sce... | 34 | Kotlin | 16 | 14 | f3d52b8bacbdf81905e4b4a753d75f584329b297 | 2,073 | livingdoc | Apache License 2.0 |
src/Day06Alternate.kt | aneroid | 572,802,061 | false | {"Kotlin": 27313} | class Day06Alternate(private val input: String) {
private fun String.indexForUniqSeqLen(size: Int): Int {
val checkArray = IntArray(26) { 0 }
return withIndex().first { (index, char) ->
checkArray[char - 'a']++
if (index >= size) {
checkArray[elementAt(index -... | 0 | Kotlin | 0 | 0 | cf4b2d8903e2fd5a4585d7dabbc379776c3b5fbd | 1,040 | advent-of-code-2022-kotlin | Apache License 2.0 |
app/src/main/java/com/kshitijpatil/tazabazar/util/EditTextUtils.kt | Kshitij09 | 395,308,440 | false | null | package com.kshitijpatil.tazabazar.util
import android.text.Editable
import android.text.TextWatcher
import android.util.Patterns
import android.widget.EditText
import kotlinx.coroutines.channels.awaitClose
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.callbackFlow
import kotlinx.coroutines.flow.o... | 8 | Kotlin | 2 | 1 | d709b26d69cf46c3d6123a217190f098b79a6562 | 1,028 | TazaBazar | Apache License 2.0 |
apps/student/src/androidTest/java/com/instructure/student/ui/pages/SubmissionDetailsPage.kt | instructure | 179,290,947 | false | null | /*
* Copyright (C) 2019 - present Instructure, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... | 5 | null | 85 | 99 | 1bac9958504306c03960bdce7fbb87cc63bc6845 | 11,008 | canvas-android | Apache License 2.0 |
core/model/src/main/kotlin/com/xeladevmobile/medicalassistant/core/model/data/Audio.kt | Alexminator99 | 702,145,143 | false | {"Kotlin": 534097} | package com.xeladevmobile.medicalassistant.core.model.data
import java.text.SimpleDateFormat
import java.util.Date
import java.util.Locale
import java.util.UUID
data class Audio(
val id: String,
val extension: String,
val duration: Int,
val path: String,
val createdDate: Long,
val emotion: Emo... | 0 | Kotlin | 0 | 0 | 37a35835a2562b0c6b4129e7b86cfca081a24783 | 3,466 | Medical_Assistant | MIT License |
android/src/main/java/dev/sergiobelda/todometer/ui/components/ToDometerTopAppBar.kt | serbelga | 301,817,067 | false | null | /*
* Copyright 2021 <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... | 7 | Kotlin | 16 | 219 | cb365f363a018db8381de5cce6e010aa0d870102 | 3,278 | ToDometerKotlinMultiplatform | Apache License 2.0 |
app/src/androidTest/kotlin/com/mvvmclean/trendingrepos/sample/SampleData.kt | anoopmaddasseri | 254,618,197 | false | null | package com.mvvmclean.trendingrepos.sample
val searchSuccess = """
[
{
"author": "goldbergyoni",
"name": "nodebestpractices",
"avatar": "https://github.com/goldbergyoni.png",
"url": "https://github.com/goldbergyoni/nodebestpractices",
"description": " The largest Node.js best practices list (J... | 0 | Kotlin | 12 | 50 | ecfeff5efdf073944e68f22668cbd51bfc415316 | 25,436 | GithubTrendingRepos | Apache License 2.0 |
src/main/java/club/cpsslab/ruskonert/sql/TableColumn.kt | Ruskonert | 218,726,160 | false | null | package club.cpsslab.ruskonert.sql
@MustBeDocumented
@Retention(AnnotationRetention.RUNTIME)
@Target(AnnotationTarget.FIELD)
/**
* TableColumn 클래스는 [AsyncTableElement]에 의해서 동기화 작업이 수행될 때, 동기화하고자 하는 필드를
* 지정할 수 있습니다. [ref]은 필드의 이름이 클래스에서 정의한 필드와 이름이 다를때, 개별적으로 설정해줄 수
* 있습니다.
*
* @param ref 참조하고자 하는 필드
* @param si... | 2 | null | 1 | 1 | 365619a598db6702ed096f641f7892124e1c7d00 | 436 | Project.DBP | MIT License |
modules/paket/src/commonMain/kotlin/com/handtruth/mc/paket/codec/UIntCodec.kt | handtruth | 282,440,433 | false | null | package com.handtruth.mc.paket.codec
import com.handtruth.mc.paket.Paket
import com.handtruth.mc.paket.field.UIntField
import com.handtruth.mc.paket.util.INT_SIZE
import io.ktor.utils.io.core.*
import kotlin.reflect.KProperty
public object UIntCodec : Codec<UInt> {
override fun measure(value: UInt): Int = INT_SIZ... | 0 | Kotlin | 0 | 0 | fa6d230dc1f7e62cd75b91ad4798a763ca7e78f1 | 607 | mc-tools | MIT License |
project/Application/src/main/kotlin/cga/exercise/components/geometry/mesh/Renderable.kt | DennisGoss99 | 397,846,380 | true | {"Kotlin": 147862, "GLSL": 9453} | package cga.exercise.components.geometry.mesh
import cga.exercise.components.geometry.RenderCategory
import cga.exercise.components.geometry.transformable.Transformable
import cga.exercise.components.shader.ShaderProgram
import org.joml.Matrix4f
open class Renderable(val shouldRender : List<RenderCategory>, renderabl... | 0 | Kotlin | 0 | 0 | eb988c98528bf26a3362e74bae2b2b250d6255dd | 418 | CGA_Project | MIT License |
database/src/androidUnitTest/kotlin/uk/co/sentinelweb/cuer/db/util/MultiPlatformPreferencesWrapperDbTestImpl.kt | sentinelweb | 220,796,368 | false | {"Kotlin": 2383617, "CSS": 205156, "Java": 98919, "Swift": 85812, "HTML": 19322, "JavaScript": 12105, "Ruby": 2170} | package uk.co.sentinelweb.cuer.db.util
import uk.co.sentinelweb.cuer.app.util.prefs.multiplatfom_settings.MultiPlatformPreferences
import uk.co.sentinelweb.cuer.app.util.prefs.multiplatfom_settings.MultiPlatformPreferences.DATABASE_VERSION
import uk.co.sentinelweb.cuer.app.util.prefs.multiplatfom_settings.MultiPlatfor... | 94 | Kotlin | 0 | 2 | f74e211570fe3985ba45848b228e91a3a8593788 | 3,852 | cuer | Apache License 2.0 |
libraries/property-delegates/src/main/java/com/app/propertydelegates/bundle/Utils.kt | atulgpt | 314,638,411 | false | null | /*
* Copyright (C) 2020 <NAME>.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 0 | Kotlin | 2 | 8 | 95563901c0070c4a7be56a690de09abc7bdaa01c | 5,063 | LibTron | Apache License 2.0 |
app/src/main/java/com/example/tupicionario/PovosNativosActivity.kt | RubensZaes | 253,876,517 | false | null | package com.example.tupicionario
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.Toast
import androidx.recyclerview.widget.LinearLayoutManager
import kotlinx.android.synthetic.main.activity_povos_nativos.*
class PovosNativosActivity : AppCompatActivity(), OnItemClickList... | 0 | Kotlin | 0 | 0 | 66a4aa68bba1c354ef56c606ebc623277cd68c45 | 1,536 | Tupicionario | MIT License |
app/src/main/java/com/jonnyhsia/storybook/page/main/timeline/TimelineContract.kt | jonnyhsia | 111,225,431 | false | null | package com.jonnyhsia.storybook.page.main.timeline
import android.support.annotation.StringRes
import com.jonnyhsia.storybook.biz.entity.Story
import com.jonnyhsia.storybook.page.base.BasePresenter
import com.jonnyhsia.storybook.page.base.BaseView
import me.drakeet.multitype.Items
/**
* Created by JonnyHsia on 17/10... | 0 | Kotlin | 0 | 1 | 0aa23c800b2a8b9a75a4806557a22e89c4fc18b0 | 1,394 | storybook-deprecated | Apache License 2.0 |
src/main/kotlin/com/imma/persist/mango/MongoMapperMaterial.kt | Indexical-Metrics-Measure-Advisory | 344,732,013 | false | null | package com.imma.persist.mango
import com.imma.persist.core.*
import com.imma.persist.defs.EntityDef
import com.imma.persist.defs.MapperMaterial
import org.bson.BsonInt32
import org.bson.Document
class MongoMapperMaterial(
entity: Any?,
entityClass: Class<*>? = null,
entityName: String? = null
) : MapperMaterial(e... | 0 | Kotlin | 0 | 1 | c42a959826e72ac8cea7a8390ccc7825f047a591 | 8,266 | watchmen-ktor | MIT License |
src/main/kotlin/org/rust/lang/core/macros/RsMacroData.kt | intellij-rust | 42,619,487 | false | {"Gradle Kotlin DSL": 2, "Java Properties": 5, "Markdown": 11, "TOML": 19, "Shell": 2, "Text": 124, "Ignore List": 1, "Batchfile": 1, "EditorConfig": 1, "XML": 140, "Kotlin": 2284, "INI": 3, "ANTLR": 1, "Rust": 362, "YAML": 131, "RenderScript": 1, "JSON": 6, "HTML": 198, "SVG": 136, "JFlex": 1, "Java": 1, "Python": 37} | /*
* Use of this source code is governed by the MIT license that can be
* found in the LICENSE file.
*/
package org.rust.lang.core.macros
import org.rust.cargo.project.workspace.CargoWorkspaceData
import org.rust.lang.core.macros.builtin.BuiltinMacroExpander
import org.rust.lang.core.psi.RsMacroBody
import org.rus... | 1,841 | Kotlin | 380 | 4,528 | c6657c02bb62075bf7b7ceb84d000f93dda34dc1 | 1,078 | intellij-rust | MIT License |
plugins/editorconfig/src/org/editorconfig/language/codeinsight/inspections/EditorConfigValueUniquenessInspection.kt | ingokegel | 284,920,751 | true | null | // Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.editorconfig.language.codeinsight.inspections
import com.intellij.codeInspection.LocalInspectionTool
import com.intellij.codeInspection.ProblemsHolder
import org.edit... | 191 | null | 4372 | 2 | dc846ecb926c9d9589c1ed8a40fdb20e47874db9 | 2,392 | intellij-community | Apache License 2.0 |
src/main/kotlin/no/nav/bidrag/cucumber/aop/ExceptionLoggerAspect.kt | navikt | 426,232,197 | false | null | package no.nav.bidrag.cucumber.aop
import no.nav.bidrag.commons.ExceptionLogger
import no.nav.bidrag.cucumber.model.CucumberTestRun
import org.aspectj.lang.JoinPoint
import org.aspectj.lang.annotation.AfterThrowing
import org.aspectj.lang.annotation.Aspect
import org.springframework.stereotype.Component
@Aspect
@Comp... | 8 | Kotlin | 0 | 2 | fd15f9bd5dab142c55edb37abdf92cd4975fc0f2 | 737 | bidrag-cucumber-onprem | MIT License |
infobip-rtc-ui/src/main/java/com/infobip/webrtc/ui/InfobipRtcUiImpl.kt | infobip | 56,227,769 | false | null | package com.infobip.webrtc.ui
import android.content.Context
import android.util.Log
import com.infobip.webrtc.Cache
import com.infobip.webrtc.Injector
import com.infobip.webrtc.TAG
import com.infobip.webrtc.TokenProvider
import com.infobip.webrtc.sdk.api.InfobipRTC
import com.infobip.webrtc.sdk.api.model.push.Status
... | 5 | null | 16 | 44 | 4ada56a654f56f5bf73f1521bcbd8d66cdb2499f | 6,172 | mobile-messaging-sdk-android | Apache License 2.0 |
azure-communication-ui/calling/src/main/java/com/azure/android/communication/ui/calling/presentation/fragment/calling/support/SupportViewModel.kt | Azure | 429,521,705 | false | {"Kotlin": 2573728, "Java": 167445, "Shell": 3964, "HTML": 1856} | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.android.communication.ui.calling.presentation.fragment.calling.support
import com.azure.android.communication.ui.calling.redux.Dispatch
import com.azure.android.communication.ui.calling.redux.action.Navig... | 6 | Kotlin | 27 | 24 | 96a897fb62cf8ce39a30f8bb7232df8aa888e084 | 2,242 | communication-ui-library-android | MIT License |
src/main/kotlin/Main.kt | Rokucraft | 320,306,024 | false | {"Kotlin": 52866} | package com.rokucraft.rokubot
import com.rokucraft.rokubot.di.DaggerRokuBotComponent
fun main() {
val botComponent = DaggerRokuBotComponent.create()
botComponent.bot()
}
| 0 | Kotlin | 2 | 7 | 45dc9c138b267c236782d15c202d27e51bbfee60 | 180 | RokuBot | MIT License |
ui/homepage/src/main/java/org/kafka/homepage/components/Carousels.kt | vipulyaara | 612,950,214 | false | {"Kotlin": 635130, "JavaScript": 440999, "HTML": 11959, "CSS": 7888, "Shell": 2974} | package org.kafka.homepage.components
import androidx.compose.foundation.clickable
import androidx.compose.foundation.gestures.snapping.SnapLayoutInfoProvider
import androidx.compose.foundation.gestures.snapping.rememberSnapFlingBehavior
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.f... | 5 | Kotlin | 10 | 86 | fa64a43602eecac8b93ae9e8b713f6d29ba90727 | 2,798 | Kafka | Apache License 2.0 |
ivassistant/src/main/java/com/thoughtworks/ivassistant/abilities/wakeup/WakeUp.kt | TW-Smart-CoE | 679,741,051 | false | {"Kotlin": 95347} | package com.thoughtworks.ivassistant.abilities.wakeup
interface WakeUpCallback {
fun onSuccess() {}
fun onError(errorCode: Int, errorMessage: String) {}
fun onStop() {}
}
interface WakeUp {
fun initialize()
fun start(wakeUpCallback: WakeUpCallback? = null)
fun stop()
fun release()
} | 1 | Kotlin | 0 | 1 | c93dbb6528dfa980e19e28dfed09e6be4934e860 | 313 | ivassistant-android | Apache License 2.0 |
ivassistant/src/main/java/com/thoughtworks/ivassistant/abilities/wakeup/WakeUp.kt | TW-Smart-CoE | 679,741,051 | false | {"Kotlin": 95347} | package com.thoughtworks.ivassistant.abilities.wakeup
interface WakeUpCallback {
fun onSuccess() {}
fun onError(errorCode: Int, errorMessage: String) {}
fun onStop() {}
}
interface WakeUp {
fun initialize()
fun start(wakeUpCallback: WakeUpCallback? = null)
fun stop()
fun release()
} | 1 | Kotlin | 0 | 1 | c93dbb6528dfa980e19e28dfed09e6be4934e860 | 313 | ivassistant-android | Apache License 2.0 |
kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/batch/CfnJobQueue.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 142794926} | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package io.cloudshiftdev.awscdk.services.batch
import io.cloudshiftdev.awscdk.CfnResource
import io.cloudshiftdev.awscdk.IInspectable
import i... | 1 | Kotlin | 0 | 4 | b1af417dc38eb29bba6244f8da914964c5e7fa3d | 40,498 | kotlin-cdk-wrapper | Apache License 2.0 |
eth/src/main/kotlin/com/d3/eth/deploy/main.kt | d3ledger | 184,047,300 | false | null | /*
* Copyright D3 Ledger, Inc. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
@file:JvmName("EthPreDeployMain")
package com.d3.eth.deploy
import com.d3.commons.config.loadLocalConfigs
import com.d3.commons.model.IrohaCredential
import com.d3.commons.sidechain.iroha.consumer.IrohaConsumer
import com... | 2 | Kotlin | 3 | 2 | 5c246c32991e4a30194cc320b77641190f1497e5 | 2,805 | d3-eth | Apache License 2.0 |
plugin-build/plugin/src/main/java/io/github/anvell/keepass/gradle/plugin/GradleKeePassExtension.kt | Anvell | 566,407,138 | false | {"Kotlin": 14457} | @file:Suppress("UnnecessaryAbstractClass", "MemberVisibilityCanBePrivate")
package io.github.anvell.keepass.gradle.plugin
import app.keemobile.kotpass.constants.BasicField
import app.keemobile.kotpass.cryptography.EncryptedValue
import app.keemobile.kotpass.database.Credentials
import app.keemobile.kotpass.database.K... | 0 | Kotlin | 0 | 1 | 5a574075aab3782592dbf0a22f465e4afc51263c | 6,137 | keepass-gradle-plugin | MIT License |
app/src/main/java/com/git/gitapp/VideoListActivity.kt | aneri135 | 178,009,030 | false | {"Java": 193062, "Kotlin": 6942} | package com.git.gitapp
import android.app.Activity
import android.content.Intent
import android.databinding.DataBindingUtil
import android.databinding.ObservableArrayList
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import android.support.v7.widget.LinearLayoutManager
import android.view.Me... | 1 | null | 1 | 1 | 0d2b6536ca8decd9d6420e068c9832a08e0fe4f9 | 4,087 | GIT_App2017-master | Apache License 2.0 |
tools/test_suite/src/main/java/com/grab/test/ClasspathSuite.kt | grab | 379,151,712 | false | {"Kotlin": 372586, "Starlark": 172838, "Java": 2517, "Smarty": 2052} | // Copyright 2014 The Bazel Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | 13 | Kotlin | 14 | 38 | 0540712597f4346f7573bbd01dfe1bd93a7060bb | 1,140 | grab-bazel-common | Apache License 2.0 |
app/src/main/java/com/rosen/timecraft/ui/components/BottomNavigationBar.kt | DerekWasswa | 734,374,493 | false | {"Kotlin": 40733} | package com.rosen.timecraft.ui.components
import androidx.compose.foundation.layout.RowScope
import androidx.compose.material3.Icon
import androidx.compose.material3.NavigationBar
import androidx.compose.material3.NavigationBarItem
import androidx.compose.runtime.Composable
import androidx.compose.runtime.getValue
imp... | 0 | Kotlin | 0 | 0 | c28962cbdc902d1172a5d9f8821a9c84b21ddb69 | 3,297 | TimeCraft | Apache License 2.0 |
idea/tests/org/jetbrains/jet/completion/handlers/AbstractSmartCompletionHandlerTest.kt | craastad | 18,462,025 | false | {"Markdown": 18, "XML": 405, "Ant Build System": 23, "Ignore List": 7, "Maven POM": 34, "Kotlin": 10194, "Java": 3675, "CSS": 10, "Shell": 6, "Batchfile": 6, "Java Properties": 9, "Gradle": 61, "INI": 6, "JavaScript": 42, "HTML": 77, "Text": 875, "Roff": 53, "Roff Manpage": 8, "JFlex": 3, "JAR Manifest": 1, "Protocol B... | /*
* Copyright 2010-2013 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 1 | null | 1 | 1 | f41f48b1124e2f162295718850426193ab55f43f | 2,800 | kotlin | Apache License 2.0 |
app/src/main/java/com/amalitec/moviesapp/domain/util/MovieType.kt | kclaudeeager | 639,718,284 | false | null | package com.amalitec.moviesapp.domain.util
sealed class MovieType {
object Latest : MovieType()
object TopRated :MovieType()
object Featured : MovieType()
object TvShow : MovieType()
} | 0 | Kotlin | 0 | 0 | f64dc5d88222542770b549b22e72e1f6eb40bd56 | 201 | MovieApp | Apache License 2.0 |
android-core/src/main/kotlin/dev/jonpoulton/alakazam/core/INotifier.kt | jonapoul | 375,762,483 | false | null | package dev.jonpoulton.alakazam.core
import android.view.View
import androidx.annotation.StringRes
interface INotifier {
data class Action(
@StringRes val actionText: Int,
val onClick: View.OnClickListener,
)
fun success(root: View, @StringRes message: Int, action: Action = EMPTY_ACTION)
fun caution(... | 0 | Kotlin | 0 | 0 | 14f111c8f1ea50be893a0af6f6eb21034cb574ee | 938 | alakazam | Apache License 2.0 |
core/src/main/kotlin/io/paddle/plugin/standard/tasks/CleanTask.kt | JetBrains-Research | 377,213,824 | false | null | package io.paddle.plugin.standard.tasks
import io.paddle.project.PaddleProject
import io.paddle.tasks.Task
import io.paddle.tasks.Tasks
import io.paddle.utils.deleteRecursivelyWithoutSymlinks
import io.paddle.utils.tasks.TaskDefaultGroups
import java.io.File
open class CleanTask(project: PaddleProject) : Task(project... | 13 | Kotlin | 6 | 20 | 42a26a7f5815961d564f71e3606252fab7a87f82 | 769 | paddle | MIT License |
uitest-framework/testSrc/com/android/tools/idea/tests/gui/framework/fixture/ResourceDetailViewFixture.kt | JetBrains | 60,701,247 | false | null | /*
* Copyright (C) 2023 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... | 5 | null | 227 | 948 | 10110983c7e784122d94c7467e9d243aba943bf4 | 2,281 | android | Apache License 2.0 |
src/main/kotlin/io/usoamic/validateutilkt/error/EmptyAppIdError.kt | usoamic | 260,280,238 | false | {"Kotlin": 10654} | package io.usoamic.validateutilkt.error
class EmptyAppIdError : ValidateUtilError() | 0 | Kotlin | 0 | 0 | 74e212822de4a8a45131add9798497f1031f4907 | 84 | validateutilkt | MIT License |
nftkit/src/main/java/io/horizontalsystems/nftkit/models/Eip721Event.kt | horizontalsystems | 152,531,605 | false | null | package io.horizontalsystems.nftkit.models
import androidx.room.Entity
import androidx.room.Ignore
import androidx.room.PrimaryKey
import io.horizontalsystems.ethereumkit.core.toHexString
import io.horizontalsystems.ethereumkit.models.Address
import java.math.BigInteger
@Entity
data class Eip1155Event(
val hash: ... | 10 | null | 53 | 98 | f4957a971be56ed15719cf640d27e514909be123 | 700 | ethereum-kit-android | MIT License |
app/src/main/java/com/mindorks/framework/mvp/data/network/ApiHeader.kt | janishar | 115,260,052 | false | null | package com.mindorks.framework.mvp.data.network
import com.google.gson.annotations.Expose
import com.google.gson.annotations.SerializedName
import com.mindorks.framework.mvp.di.ApiKeyInfo
import javax.inject.Inject
/**
* Created by jyotidubey on 11/01/18.
*/
class ApiHeader @Inject constructor(internal val publicAp... | 17 | null | 199 | 702 | 5ac97334d417aff636dd587c82ad97c661c38666 | 1,126 | android-kotlin-mvp-architecture | Apache License 2.0 |
app/src/main/java/com/harshalv/jetpackcompose/ui/screen/DetailScreen.kt | harshalkvibhandik | 737,453,397 | false | {"Kotlin": 55814} | package com.harshalv.jetpackcompose.ui.screen
import android.annotation.SuppressLint
import androidx.compose.foundation.ScrollState
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.lay... | 0 | Kotlin | 0 | 0 | 27118a34fc5fccf6672a7ade14b389c58ab683bf | 4,762 | Android_Jetpack_Compose_Learning | MIT License |
app/src/main/java/com/harshalv/jetpackcompose/ui/screen/DetailScreen.kt | harshalkvibhandik | 737,453,397 | false | {"Kotlin": 55814} | package com.harshalv.jetpackcompose.ui.screen
import android.annotation.SuppressLint
import androidx.compose.foundation.ScrollState
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.lay... | 0 | Kotlin | 0 | 0 | 27118a34fc5fccf6672a7ade14b389c58ab683bf | 4,762 | Android_Jetpack_Compose_Learning | MIT License |
src/net/sheltem/aoc/y2015/Day13.kt | jtheegarten | 572,901,679 | false | {"Kotlin": 169383} | package net.sheltem.aoc.y2015
import kotlinx.coroutines.async
import kotlinx.coroutines.awaitAll
import kotlinx.coroutines.coroutineScope
import net.sheltem.common.SearchGraph
import net.sheltem.common.SearchGraph.Edge
import net.sheltem.common.SearchGraph.Node
import net.sheltem.common.regexNumbers
import net.sheltem... | 0 | Kotlin | 0 | 0 | 6837628fcf49db9fd8bac4291d861f761db55ddd | 2,695 | aoc | Apache License 2.0 |
report-generator/src/main/kotlin/dev/shreyaspatil/composeCompilerMetricsGenerator/generator/content/ComposableReport.kt | PatilShreyas | 481,097,747 | false | null | /**
* MIT License
*
* Copyright (c) 2022 Shreyas Patil
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, m... | 5 | null | 7 | 397 | 7be2856ffb9f72c1354180ff4283242a9cad8da8 | 7,573 | compose-report-to-html | MIT License |
ktor-samples/ktor-samples-post/src/org/jetbrains/ktor/samples/post/FormPostApplication.kt | hallefy | 94,839,121 | false | null | package org.jetbrains.ktor.samples.post
import kotlinx.html.*
import org.jetbrains.ktor.application.*
import org.jetbrains.ktor.features.*
import org.jetbrains.ktor.html.*
import org.jetbrains.ktor.http.*
import org.jetbrains.ktor.locations.*
import org.jetbrains.ktor.request.*
import org.jetbrains.ktor.response.*
imp... | 0 | null | 0 | 1 | b5dcbe5b740c2d25c7704104e01e0a01bf53d675 | 2,147 | ktor | Apache License 2.0 |
app/src/main/java/cu/suitetecsa/sdkandroid/MainActivity.kt | suitetecsa | 676,273,066 | false | {"Kotlin": 48691, "Java": 45696, "HTML": 14924} | package cu.suitetecsa.sdkandroid
import android.Manifest
import android.content.pm.PackageManager
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.RowScope
import androidx.compose.foundation.layout.fillMaxSize
impo... | 1 | Kotlin | 0 | 2 | c05299d74e9c1f571785c1de94629be7d5966b45 | 3,336 | sdk-android | MIT License |
app/src/main/java/cu/suitetecsa/sdkandroid/MainActivity.kt | suitetecsa | 676,273,066 | false | {"Kotlin": 48691, "Java": 45696, "HTML": 14924} | package cu.suitetecsa.sdkandroid
import android.Manifest
import android.content.pm.PackageManager
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.RowScope
import androidx.compose.foundation.layout.fillMaxSize
impo... | 1 | Kotlin | 0 | 2 | c05299d74e9c1f571785c1de94629be7d5966b45 | 3,336 | sdk-android | MIT License |
kt/godot-library/src/main/kotlin/godot/gen/godot/GraphNode.kt | utopia-rise | 289,462,532 | false | null | // THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY!
@file:Suppress("PackageDirectoryMismatch", "unused", "FunctionName", "RedundantModalityModifier",
"UNCHECKED_CAST", "JoinDeclarationAndAssignment", "USELESS_CAST",
"RemoveRedundantQualifierName", "NOTHING_TO_INLINE", "NON_FINAL_MEMBER_IN_OBJECT",
"Redundan... | 64 | null | 39 | 580 | fd1af79075e7b918200aba3302496b70c76a2028 | 19,039 | godot-kotlin-jvm | MIT License |
analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/declarations/KotlinFileBasedDeclarationProvider.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.analysis.low.level.api.fir.project.structure
import org.jetbrains.kotlin.analysi... | 182 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 6,082 | kotlin | Apache License 2.0 |
app/src/main/java/org/imaginativeworld/simplemvvm/ui/screens/awesometodos/splash/TodoSplashViewModel.kt | ImaginativeShohag | 225,951,395 | false | {"Kotlin": 483782, "Java": 1056} | /*
* Copyright 2023 Md. <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 i... | 0 | Kotlin | 12 | 65 | 5ddbfcf932de943faf6a47654adbd6a018a1f991 | 2,413 | Simple-MVVM | Apache License 2.0 |
markdown/src/test/kotlin/com/appmattus/markdown/rules/NoSpaceInCodeRuleTest.kt | appmattus | 172,489,287 | false | {"Kotlin": 248958, "XSLT": 7533} | package com.appmattus.markdown.rules
import org.spekframework.spek2.Spek
import org.spekframework.spek2.style.gherkin.Feature
object NoSpaceInCodeRuleTest : Spek({
Feature("NoSpaceInCodeRule") {
FileRuleScenario { NoSpaceInCodeRule() }
}
})
| 9 | Kotlin | 3 | 16 | 18e5bee66b7f38d1df18484e2f8f23a1f9190cf6 | 259 | markdown-lint | Apache License 2.0 |
markdown/src/test/kotlin/com/appmattus/markdown/rules/NoSpaceInCodeRuleTest.kt | appmattus | 172,489,287 | false | {"Kotlin": 248958, "XSLT": 7533} | package com.appmattus.markdown.rules
import org.spekframework.spek2.Spek
import org.spekframework.spek2.style.gherkin.Feature
object NoSpaceInCodeRuleTest : Spek({
Feature("NoSpaceInCodeRule") {
FileRuleScenario { NoSpaceInCodeRule() }
}
})
| 9 | Kotlin | 3 | 16 | 18e5bee66b7f38d1df18484e2f8f23a1f9190cf6 | 259 | markdown-lint | Apache License 2.0 |
dashboard/src/commonMain/kotlin/com/opencritic/dashboard/ui/DashboardPosterGameListItem.kt | MAX-POLKOVNIK | 797,563,657 | false | {"Kotlin": 502940, "Swift": 141399} | package com.opencritic.dashboard.ui
import com.opencritic.dashboard.domain.PosterGame
import com.opencritic.games.GameRankModel
import com.opencritic.games.Tier
import com.opencritic.mvvm.ListItem
data class DashboardPosterGameListItem(
val game: PosterGame,
private val onClick: (DashboardPosterGameListItem) ... | 0 | Kotlin | 0 | 1 | d9b9f89101ab1a94c05e03cb2a45e332270c81b2 | 733 | OpenCritic | Apache License 2.0 |
src/test/java/dev/blachut/svelte/lang/parsing/html/SvelteDirectiveParserTest.kt | tomblachut | 184,821,501 | false | null | package dev.blachut.svelte.lang.parsing.html
import com.intellij.openapi.util.TextRange
import dev.blachut.svelte.lang.directives.SvelteDirectiveTypes
import dev.blachut.svelte.lang.directives.SvelteDirectiveUtil.Directive
import dev.blachut.svelte.lang.directives.SvelteDirectiveUtil.DirectiveSegment
import junit.fram... | 59 | null | 38 | 482 | 793f21924edd2436b2c980ad1958785e000a65ac | 1,396 | svelte-intellij | MIT License |
src/main/kotlin/ai/welltested/fluttergpt/utilities/configManager/secretKeyConfig.kt | Welltested-AI | 630,833,057 | false | null | package ai.welltested.fluttergpt.utilities.configManager
import com.intellij.openapi.components.*
@State(name = "SecretKeyConfig", storages = [Storage("secretKeyConfig.xml")])
@Service
class SecretKeyConfig : PersistentStateComponent<SecretKeyConfig.State> {
data class State(var secretKey: String = "")
priv... | 3 | Kotlin | 2 | 2 | 98133dec3985aeda9998ba1fa0e63b94858a43c2 | 732 | fluttergpt-intellij | Apache License 2.0 |
composeApp/src/commonMain/kotlin/com/rwmobi/kunigami/domain/usecase/product/GetTariffUseCase.kt | ryanw-mobile | 794,752,204 | false | {"Kotlin": 1112930, "Ruby": 2466, "Swift": 693} | /*
* Copyright (c) 2024. <NAME>
* https://github.com/ryanw-mobile
* Sponsored by RW MobiMedia UK Limited
*
*/
package com.rwmobi.kunigami.domain.usecase.product
import com.rwmobi.kunigami.domain.model.product.Tariff
import com.rwmobi.kunigami.domain.repository.OctopusApiRepository
import kotlinx.coroutines.Corou... | 20 | Kotlin | 10 | 98 | e1e73f5b44baaef5ab87fd10db21775d442a3172 | 768 | OctoMeter | Apache License 2.0 |
matrix/src/main/kotlin/Matrix.kt | 3mtee | 98,672,009 | false | null | class Matrix(matrixAsString: String) {
private val matrix: List<List<Int>> = matrixAsString.split("\n")
.map { it.trim().split(Regex("\\s+")).map(String::toInt) }
fun column(colNr: Int): List<Int> = matrix.map { it[colNr - 1] }
fun row(rowNr: Int): List<Int> = matrix[rowNr - 1]
}
| 0 | Kotlin | 0 | 0 | 815d0e41e6f88a47681b8cc6eaec3858e59e0975 | 303 | exercism-kotlin | Apache License 2.0 |
kotlinpoet-metadata-specs/src/main/kotlin/com/squareup/kotlinpoet/metadata/specs/JvmFieldModifier.kt | LloydFinch | 224,367,360 | false | null | package com.squareup.kotlinpoet.metadata.specs
import com.squareup.kotlinpoet.AnnotationSpec
import com.squareup.kotlinpoet.asClassName
import com.squareup.kotlinpoet.metadata.KotlinPoetMetadataPreview
/** Modifiers that are annotations in Kotlin but modifier keywords in bytecode. */
@KotlinPoetMetadataPreview
public... | 0 | null | 0 | 2 | c73c349b32d1de0d5b5233fa61a40bd15d4a51e1 | 791 | kotlinpoet | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.