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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
web/web-backend/src/main/kotlin/com/testerum/web_backend/services/version_info/VersionInfoFrontendService.kt | testerum | 241,460,788 | false | {"Text": 47, "Gradle Kotlin DSL": 62, "Shell": 17, "Batchfile": 16, "Maven POM": 71, "Java Properties": 2, "Ignore List": 8, "Git Attributes": 1, "EditorConfig": 5, "Markdown": 8, "Kotlin": 1089, "Java": 27, "JSON": 161, "INI": 3, "XML": 30, "JavaScript": 36, "Gherkin": 1, "HTML": 232, "JSON with Comments": 11, "Browse... | package com.testerum.web_backend.services.version_info
import com.testerum.common_jdk.asMap
import java.io.InputStream
import java.util.*
class VersionInfoFrontendService {
companion object {
private val VERSION_PROPERTIES_CLASSPATH_LOCATION = "version.properties"
private val VERSION_PROPERTIES:... | 33 | Kotlin | 3 | 22 | 0a53c71b5f659e41282114127f595aad5ab1e4fb | 1,061 | testerum | Apache License 2.0 |
hammer-core/src/main/kotlin/dev/vini2003/hammer/core/api/common/math/position/Positioned.kt | Shnupbups | 497,613,399 | true | {"Kotlin": 647205, "Java": 143999, "GLSL": 925} | /*
* MIT License
*
* Copyright (c) 2020 - 2022 vini2003
*
* 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, ... | 0 | null | 0 | 0 | b08882400350ae95672e24b2696be04c04e15140 | 1,684 | Hammer | MIT License |
app/src/main/java/fergaral/autoshorten/util/Utils.kt | fercarcedo | 119,392,820 | false | null | package fergaral.autoshorten.util
import android.app.Activity
import android.content.ClipboardManager
import android.content.Context
import android.widget.Toast
import fergaral.autoshorten.R
import fergaral.autoshorten.data.repository.DomainRepository
import fergaral.autoshorten.shorteners.UrlShortenerFactory
import o... | 0 | Kotlin | 0 | 1 | 003d39d1485672a94258fcdae145b8887c010220 | 1,406 | AutoShorten | Apache License 2.0 |
src/test/kotlin/examples/generation.kt | alwyn | 133,869,186 | true | {"Kotlin": 26084, "Shell": 102} | package examples
import io.github.databob.CollectionSizeRange
import io.github.databob.Databob
import io.github.databob.Generators
import org.funktionale.option.Option
import java.time.ZonedDateTime
data class ReadReceipt(val readDate: ZonedDateTime)
data class EmailAddress(val value: String)
data class Email(val ... | 0 | Kotlin | 0 | 0 | 31180b27b4ba63aaf3a21883e497aed957ab9773 | 1,311 | databob.kotlin | Apache License 2.0 |
app/src/main/java/br/com/edsilfer/android/starwarswiki/presenter/QRCodeScannerPresenter.kt | edsilfer | 82,405,787 | false | null | package br.com.edsilfer.android.starwarswiki.presenter
import android.app.Activity.RESULT_OK
import android.content.Intent
import android.support.v7.app.AppCompatActivity
import br.com.edsilfer.android.starwarswiki.infrastructure.Postman
import br.com.edsilfer.android.starwarswiki.presenter.contracts.BasePresenter
imp... | 0 | Kotlin | 0 | 4 | 18c0aa2bf3559ee90d1a7b95639b8966046802e5 | 1,353 | star-wars-wiki | Apache License 2.0 |
app/src/main/java/com/spitchenko/photoeditor/feature/main/presentation/viewmodel/MainViewModel.kt | Onotole1 | 183,995,071 | false | null | package com.spitchenko.photoeditor.feature.main.presentation.viewmodel
import android.graphics.Bitmap
import android.net.Uri
import androidx.databinding.ObservableList
import com.spitchenko.domain.model.State
import com.spitchenko.photoeditor.feature.main.domain.entity.BitmapWithId
import com.spitchenko.photoeditor.fe... | 0 | Kotlin | 0 | 0 | b165e6fe95d6a2a71930d27cf4948c2d35d76727 | 8,409 | Photo-Editor | Apache License 2.0 |
kzen-auto-jvm/src/main/kotlin/tech/kzen/auto/server/objects/report/exec/output/export/format/RecordFormat.kt | alexoooo | 131,353,826 | false | {"Kotlin": 1949601, "Java": 163744, "CSS": 5632, "JavaScript": 203} | package tech.kzen.auto.server.objects.report.exec.output.export.format
import tech.kzen.auto.plugin.model.data.DataRecordBuffer
import tech.kzen.auto.plugin.model.record.FlatFileRecord
interface RecordFormat {
fun format(record: FlatFileRecord, output: DataRecordBuffer)
} | 1 | Kotlin | 1 | 1 | 477e2801de4ec8d5585486bfabb6fc549bed92c9 | 279 | kzen-auto | MIT License |
app/src/main/java/com/bp/weatherapp/network/WeatherApis.kt | rlawlsah1028 | 323,818,690 | false | null | package com.bp.weatherapp.network
import com.bp.weatherapp.models.Location
import com.bp.weatherapp.models.responses.WeatherResponse
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Path
import retrofit2.http.Query
interface WeatherApis {
@GET("api/location/search")
fun getLocations(
... | 0 | Kotlin | 0 | 0 | 678a02a3b2dfe4560406f5ec74d905816ec7a627 | 507 | WeatherApp | Apache License 2.0 |
app/src/main/java/com/onegold/steamnewsviewer/MainViewModel.kt | Onegold11 | 346,320,459 | false | null | package com.onegold.steamnewsviewer
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
enum class FragmentName{
SEARCH, FAVORITE
}
class MainViewModel : ViewModel() {
val appTitle = MutableLiveData("")
val appId = MutableLiveData<Int>()
val currentMenuFragment = MutableLive... | 0 | Kotlin | 0 | 0 | 221202cf84ac1cc40add37e50eafbbf4845b18d3 | 347 | SteamNewsViewer | MIT License |
app/src/main/java/com/htueko/resumeapp/presentation/view/main/state/DashboardUserEvent.kt | htueko | 458,821,932 | false | null | package com.htueko.resumeapp.presentation.view.main.state
import com.htueko.resumeapp.domain.model.Resume
/**
* a model that represented everything that user can do on main screen.
*/
sealed class DashboardUserEvent {
// to delete a resume from main screen.
data class OnDeleteResumeClick(val resume: Resume)... | 0 | Kotlin | 0 | 2 | 07b35847def753a8d79a1da7c4c820bb4ce85911 | 451 | ResumeApp | Apache License 2.0 |
app/src/main/java/com/vishal/callblocker/util/SharedPrefsUtil.kt | vishal105 | 210,252,680 | false | {"Gradle": 3, "Markdown": 2, "Java Properties": 2, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "YAML": 1, "Proguard": 1, "Java": 3, "XML": 21, "Kotlin": 16} | package com.osquare.support.utils.sharedPreference
import android.annotation.SuppressLint
import android.content.Context
import android.content.SharedPreferences
@SuppressLint("StaticFieldLeak")
object SharedPrefsUtil {
private var sPrefs: SharedPreferences? = null
private var context: Context? = null
... | 0 | Kotlin | 0 | 1 | 3701cc9d323e39d20669bec174165b19d8b42d8e | 804 | android-call-blocker | Apache License 2.0 |
Corona-Warn-App/src/main/java/de/rki/coronawarnapp/covidcertificate/common/certificate/DateFormatting.kt | corona-warn-app | 268,027,139 | false | null | package de.rki.coronawarnapp.covidcertificate.common.certificate
import org.joda.time.DateTime
import org.joda.time.DateTimeZone
import org.joda.time.Instant
import org.joda.time.LocalDate
import org.joda.time.format.DateTimeFormat
import org.joda.time.format.DateTimeFormatterBuilder
import org.joda.time.format.ISODat... | 2 | Kotlin | 514 | 2,495 | d3833a212bd4c84e38a1fad23b282836d70ab8d5 | 1,351 | cwa-app-android | Apache License 2.0 |
src/main/kotlin/ru/scisolutions/scicmscore/config/props/I18nProps.kt | borisblack | 737,700,232 | false | {"Kotlin": 713256, "HTML": 4440, "Shell": 282, "Dockerfile": 123} | package ru.scisolutions.scicmscore.config.props
import org.springframework.boot.context.properties.ConfigurationProperties
import org.springframework.stereotype.Component
@Component
@ConfigurationProperties(prefix = "scicms-core.i18n")
class I18nProps {
var defaultLocale: String = DEFAULT_LOCALE
companion ob... | 0 | Kotlin | 0 | 4 | a74816b04105b97d7d592c3011c66752b738c548 | 385 | scicms-core | Apache License 2.0 |
src/main/kotlin/com/gmail/fishnet37222/fndice/MainWindow.kt | fishnet37222 | 871,587,849 | false | {"Kotlin": 5593} | /*
* Copyright (c) 2024 <NAME>
*
* SPDX-License-Identifier: Apache-2.0
*/
package com.gmail.fishnet37222.fndice
import java.awt.BorderLayout
import java.awt.Dimension
import java.awt.GraphicsEnvironment
import java.awt.GridBagConstraints
import java.awt.GridBagLayout
import java.awt.Image
import java.awt.Point
im... | 0 | Kotlin | 0 | 0 | 269ca5fc47f6cbaaae0d9b673ee48b90b98d03ae | 5,009 | FNDice | Apache License 2.0 |
desktopApp/src/jvmMain/kotlin/com/prof18/feedflow/desktop/reaadermode/ReaderModeScreen.desktop.kt | prof18 | 600,257,020 | false | {"Kotlin": 746513, "HTML": 182777, "Swift": 163455, "SCSS": 161629, "CSS": 16810, "Shell": 2392, "JavaScript": 1214} | package com.prof18.feedflow.desktop.reaadermode
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.rememberScrollState
import androidx.compose.foundation.verticalScroll
import andro... | 27 | Kotlin | 18 | 332 | 60c15c24c157e46625e05158c5d048d4ca4b7217 | 4,951 | feed-flow | Apache License 2.0 |
app/src/main/java/com/notesync/notes/framework/presentation/notelist/ItemTouchHelperCallback.kt | AgarwalsRahul | 410,538,003 | false | {"Kotlin": 427137, "JavaScript": 1559, "Shell": 739} | package com.notesync.notes.framework.presentation.notelist
import androidx.recyclerview.widget.ItemTouchHelper
import androidx.recyclerview.widget.RecyclerView
import com.notesync.notes.framework.presentation.notelist.state.NoteListInteractionManager
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.c... | 0 | Kotlin | 2 | 5 | 9b4c16efffcb3dfe314a2f45c4ffae318717e05f | 1,521 | Sync-Note | Apache License 2.0 |
solar/src/main/java/com/chiksmedina/solar/lineduotone/users/UserSpeak.kt | CMFerrer | 689,442,321 | false | {"Kotlin": 36591890} | package com.chiksmedina.solar.linear.users
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.StrokeCap.Companion.Rou... | 0 | Kotlin | 0 | 0 | 3414a20650d644afac2581ad87a8525971222678 | 3,113 | SolarIconSetAndroid | MIT License |
app/src/main/java/com/zac4j/applinks/MainActivity.kt | zac4j | 144,220,479 | false | null | package com.zac4j.applinks
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import kotlinx.android.synthetic.main.activity_main.main_page_name
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
... | 0 | Kotlin | 0 | 0 | 588400cbd45032ae7ef0ce64c079b4c45ad76976 | 466 | applinks | Apache License 2.0 |
app/src/main/java/com/nrk/newsbreeze/data/local/Converters.kt | pushpapatil1997 | 508,722,127 | false | {"Kotlin": 39260} | package com.nrk.newsbreeze.data.local
import androidx.room.TypeConverter
import com.nrk.newsbreeze.data.model.Source
class Converters {
@TypeConverter
fun fromSource(source: Source): String{
return source.name
}
@TypeConverter
fun toSource(name: String): Source{
return Source(nam... | 0 | Kotlin | 0 | 0 | cf2273403284d6a421ebc683aa8a701ab2accd59 | 336 | News_Application | Apache License 2.0 |
projects/domain-events-and-delius/src/integrationTest/kotlin/uk/gov/justice/digital/hmpps/EngagementCreatedTest.kt | ministryofjustice | 500,855,647 | false | {"Kotlin": 3107358, "HTML": 50736, "D2": 27334, "Ruby": 22747, "Shell": 12351, "SCSS": 5590, "JavaScript": 2998, "HCL": 2712, "Dockerfile": 2102} | package uk.gov.justice.digital.hmpps
import org.hamcrest.MatcherAssert.assertThat
import org.hamcrest.Matchers.equalTo
import org.junit.jupiter.api.Test
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc
import org.springfra... | 24 | Kotlin | 0 | 2 | b8d163a7adef343bb3ceae83c426e149ac2cf15a | 1,804 | hmpps-probation-integration-services | MIT License |
kotlin-electron/src/jsMain/generated/electron/main/JumpListSettings.kt | JetBrains | 93,250,841 | false | {"Kotlin": 12159121, "JavaScript": 330528} | // Generated by Karakum - do not modify it manually!
package electron.main
typealias JumpListSettings = electron.core.JumpListSettings
| 40 | Kotlin | 165 | 1,319 | a8a1947d73e3ed26426f1e27b641bff427dfd6a0 | 139 | kotlin-wrappers | Apache License 2.0 |
ui/src/test/kotlin/io/rippledown/casecontrol/CaseInspectionUpdateTest.kt | TimLavers | 513,037,911 | false | {"Kotlin": 1079848, "Gherkin": 37331} | package io.rippledown.casecontrol
import androidx.compose.material.Button
import androidx.compose.runtime.*
import androidx.compose.ui.Modifier
import androidx.compose.ui.platform.testTag
import androidx.compose.ui.test.junit4.createComposeRule
import androidx.compose.ui.test.onNodeWithTag
import androidx.compose.ui.t... | 0 | Kotlin | 0 | 0 | f9dfbc29c52a3f6a2e0beb983431ed0383de90b5 | 3,578 | OpenRDR | MIT License |
app/src/main/java/ru/glomadov/univerproject/MainActivity.kt | AntonGlomadov | 411,397,831 | false | {"Kotlin": 9989} | package ru.glomadov.univerproject
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.navigation.findNavController
import androidx.navigation.ui.AppBarConfiguration
import androidx.navigation.ui.setupActionBarWithNavController
import androidx.navigatio... | 0 | Kotlin | 0 | 0 | 3573cc2d03a88d3f7a5ef0ca302bb1ca4e8ba3e3 | 1,441 | UniverProject | MIT License |
app/src/main/java/cn/neday/sheep/viewmodel/BaseViewModel.kt | gitter-badger | 203,146,869 | false | {"Gradle": 7, "Markdown": 6, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "YAML": 2, "Proguard": 1, "INI": 1, "Kotlin": 79, "XML": 65, "Java": 7} | package cn.neday.sheep.viewmodel
import androidx.lifecycle.LifecycleObserver
import androidx.lifecycle.ViewModel
import cn.neday.sheep.SingleLiveEvent
import com.tencent.mmkv.MMKV
/**
* ViewModel基类
*
* @author nEdAy
*/
open class BaseViewModel : ViewModel(), LifecycleObserver {
val kv: MMKV = MMKV.defaultMMK... | 1 | null | 1 | 1 | 9c8ddc824a6a7eb079d41707c98ec5252d22230d | 414 | Sheep | MIT License |
app/src/main/java/com/kotlin/smpale/ui/MainActivity.kt | ir-hesanmanesh | 170,205,693 | false | null | package com.kotlin.smpale.ui
import android.os.Bundle
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import com.kotlin.managerpermission.base.ManagerPermission
import com.kotlin.managerpermission.utils.RequestHelper
import com.kotlin.smpale.R
import kotlinx.android.synthetic.main.activity_... | 0 | Kotlin | 0 | 1 | fbbabeff9ec012fa5516cd2e3dfa8633fa184d39 | 1,565 | MHPermission | Apache License 2.0 |
mobile_app1/module224/src/main/java/module224packageKt0/Foo258.kt | uber-common | 294,831,672 | false | null | package module224packageKt0;
annotation class Foo258Fancy
@Foo258Fancy
class Foo258 {
fun foo0(){
module224packageKt0.Foo257().foo3()
}
fun foo1(){
foo0()
}
fun foo2(){
foo1()
}
fun foo3(){
foo2()
}
} | 6 | null | 6 | 72 | 9cc83148c1ca37d0f2b2fcb08c71ac04b3749e5e | 237 | android-build-eval | Apache License 2.0 |
app/src/main/java/com/jerry/assessment/features/loginreg/presentation/components/RegisterPage.kt | jchodev | 730,705,691 | false | {"Kotlin": 257177} | package com.jerry.assessment.features.loginreg.presentation.components
import androidx.compose.foundation.Image
import androidx.compose.foundation.border
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.... | 0 | Kotlin | 0 | 1 | 5cdbdeb2cf9178310bce2eb2e4028409d4f40fbd | 11,781 | mobile-coverage-2 | MIT License |
src/main/kotlin/com/dinhhuy258/vintellij/neovim/Constants.kt | chau-bao-long | 312,856,988 | true | {"Kotlin": 133105, "Vim Script": 36500, "Java": 7722, "Python": 4518} | package com.dinhhuy258.vintellij.neovim
class Constants {
companion object {
const val FUN_NVIM_BUF_ATTACH = "nvim_buf_attach"
const val FUN_NVIM_BUF_DETACH = "nvim_buf_detach"
const val FUN_NVIM_BUF_GET_CHANGEDTICK = "nvim_buf_get_changedtick"
const val FUN_NVIM_BUF_GET_LINES = "nv... | 0 | null | 0 | 0 | 65d80fe1a9dae95e27c6b0b518285c1cc5cb1af4 | 823 | vintellij | MIT License |
app/src/main/kotlin/com/rantolin/cleanarchitecture/presentation/internal/di/components/ActivityComponent.kt | ricardoAntolin | 86,933,107 | false | null | package com.rantolin.cleanarchitecture.presentation.internal.di.components
import com.rantolin.cleanarchitecture.presentation.internal.di.modules.ActivityModule
import com.rantolin.cleanarchitecture.presentation.internal.di.scope.PerActivity
import com.rantolin.cleanarchitecture.presentation.ui.activities.MainActivit... | 0 | Kotlin | 7 | 49 | 98b076b044017c4c68917b02bfff704dfba4a39c | 767 | androidKotlinCleanArchitecture | Apache License 2.0 |
app/src/main/java/com/appsnado/haippNew/Comman_Pacakges/retro/Genericdatapass.kt | Mhassaansi | 608,113,854 | false | null | package com.appsnado.haippNew.Comman_Pacakges.retro
public class Genericdatapass<T> {
internal var data: T? = null
fun getData(): T? {
return data
}
fun setData(data: T?) {
this.data = data
}
//
// new AsyncTask<Void, Void, Void>() {
//
// @Override
// ... | 0 | Kotlin | 0 | 0 | 7be2fb609a5bd76851bae46c6dd6354fca985e12 | 471 | haipp | Apache License 2.0 |
app/src/main/java/com/nhanbt/demo_kotlin_native/features/category/data/repositories/CategoryRepositoryImp.kt | vfa-nhanbt | 578,101,663 | false | null | package com.nhanbt.demo_kotlin_native.features.category.data.repositories
import com.google.firebase.firestore.FirebaseFirestore
import com.google.firebase.firestore.QueryDocumentSnapshot
import com.google.firebase.firestore.ktx.toObject
import com.nhanbt.demo_kotlin_native.core.response.BaseResponse
import com.nhanbt... | 0 | Kotlin | 0 | 0 | 2e62e112456510f631b6dbea37c7949d295b530b | 1,727 | demo-android-native | MIT License |
app/src/main/kotlin/pl/mbaleczny/rapid_mg/dagger/tweetList/TweetListModule.kt | mbaleczny | 80,750,215 | false | null | package pl.mbaleczny.rapid_mg.dagger.tweetList
import dagger.Module
import dagger.Provides
import pl.mbaleczny.rapid_mg.dagger.data.qualifier.TwitterRepoDataSource
import pl.mbaleczny.rapid_mg.dagger.scope.PerActivity
import pl.mbaleczny.rapid_mg.dagger.tweetList.qualifier.FavoritesPresenterType
import pl.mbaleczny.ra... | 0 | Kotlin | 0 | 0 | 972d8e4fd0f9715383416949919aad0b868a6ad2 | 1,765 | rapid-mg | Apache License 2.0 |
src/main/kotlin/C_0073f3a8.kt | argcc | 777,572,651 | false | {"Kotlin": 606554} | package org.example
class C_0073f3a8 : C_0073f38c() {
var list_1 = mutableListOf<Any>()
var connections = mutableListOf<CConnection2>()
override fun field_0x14() {}
override fun field_0x10(): Byte {
return 1
}
fun FUN_00479e30(connection: CConnection?) {
if (!IsDead(connecti... | 0 | Kotlin | 0 | 0 | 61ecbe17303609df33cc7593051b6300417f9bd7 | 741 | ei_reverse_consp | MIT License |
data/remote/src/main/java/com/xanthenite/isining/data/remote/model/response/RegisterResponse.kt | ajcatindig | 534,358,909 | false | {"Kotlin": 484017} | package com.xanthenite.isining.data.remote.model.response
data class RegisterResponse(
override val state : State ,
override val message : String?)
: BaseResponse
| 1 | Kotlin | 2 | 4 | c91e1d2240fe7f189f001813726e1171e0856047 | 180 | iSining | Apache License 2.0 |
core/src/main/java/com/oscleton/sdk/enums/TrackParameterIndex.kt | ArthurVimond | 143,203,233 | false | {"Kotlin": 133478, "Java": 6753} | package com.oscleton.sdk.enums
/**
* Constants class representing a Live track parameter index.
*
* @since 0.4
*/
internal object TrackParameterIndex {
const val VOLUME = 0
const val PANNING = 1
const val MUTE = 2
const val SOLO = 3
const val ARM = 4
} | 1 | Kotlin | 1 | 7 | 6b409e77e321b9d7ff594c91dafc064fc1ac64f0 | 277 | oscleton-android-sdk | Apache License 2.0 |
reflekt-plugin/src/test/resources/io/reflekt/plugin/analysis/data/objects5_test/project/test/Main.kt | altavir | 408,735,983 | true | {"Kotlin": 257342} | package io.reflekt.test
import io.reflekt.Reflekt
fun main() {
val objects = Reflekt.objects().withSupertypes(AInterfaceTest::class)
}
| 0 | null | 0 | 0 | d8938ad12beeb2b53a4abe647ae6f875a1157d29 | 141 | reflekt | Apache License 2.0 |
android/FlashChat/app/src/main/java/com/project/pradyotprakash/flashchat/view/Widgets.kt | pradyotprksh | 385,586,594 | false | null | package com.project.pradyotprakash.flashchat.view
import androidx.compose.foundation.layout.fillMaxHeight
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.foundation.text.Keyboard... | 0 | Kotlin | 7 | 9 | e10e007fab12c3d056920741c06ff599a64cca21 | 3,337 | development_learning | MIT License |
kingmc-platform-bukkit/api/src/main/kotlin/kingmc/platform/bukkit/audience/BukkitConsole.kt | Kingsthere | 599,960,106 | false | {"Kotlin": 1080096} | package kingmc.platform.bukkit.audience
import kingmc.platform.audience.Console
import kingmc.platform.bukkit.BukkitImplementation
/**
* A [Console] implementation for bukkit platform
*
* @since 0.0.3
* @author kingsthere
*/
@BukkitImplementation
abstract class BukkitConsole : Console | 0 | Kotlin | 0 | 1 | 9a010ff50677c7effbb941320108d2f25b2a154d | 292 | kingmc-platform | MIT License |
src/main/kotlin/com/github/simiacryptus/aicoder/actions/generic/AnalogueFileAction.kt | SimiaCryptus | 580,649,146 | false | null | package com.github.simiacryptus.aicoder.actions.generic
import com.github.simiacryptus.aicoder.actions.BaseAction
import com.github.simiacryptus.aicoder.config.AppSettingsState
import com.github.simiacryptus.aicoder.config.Name
import com.github.simiacryptus.aicoder.util.UITools
import com.intellij.openapi.actionSyste... | 6 | null | 7 | 26 | 4727a5ca13928ac65a4bef1c77c5b2638e7c5a75 | 6,808 | intellij-aicoder | Apache License 2.0 |
src/test/java/common/PlatformSpecificInstructions.kt | KamilSucharski | 348,818,428 | false | null | package common
import io.appium.java_client.MobileDriver
import io.appium.java_client.MobileElement
interface PlatformSpecificInstructions<T : MobileDriver<MobileElement>> {
@Throws(Exception::class)
fun resetApplication()
@Throws(Exception::class)
fun restartApplication()
@Throws(Exception::class... | 0 | Kotlin | 0 | 0 | 3dae2204818c1f7f52624deeae18efaa148a4ec1 | 757 | appium_suite | Apache License 2.0 |
src/main/kotlin/com/msw/aldkli/util/ClassUtil.kt | IStrangers | 706,460,303 | false | {"Kotlin": 15020, "Java": 2413} | package com.msw.aldkli.util;
import java.io.File
import java.lang.reflect.ParameterizedType
import java.lang.reflect.Type
import kotlin.reflect.KClass
class ClassUtil {
companion object {
fun scanClass(packagePath: String, classFilter: ((KClass<out Any>) -> Boolean)?): ArrayList<KClass<out Any>> {
... | 0 | Kotlin | 0 | 0 | f5e98fecf629877b644a932ddf25579be1f550fa | 2,373 | Aldkli | MIT License |
shared/booking/booking-app/src/commonMain/kotlin/id/djaka/droidjam/shared/booking/app/domain/CalculatePriceBreakDownUseCase.kt | DjakaTechnology | 546,059,000 | false | null | package id.djaka.droidjam.shared.booking.app.domain
import id.djaka.droidjam.shared.booking.app.repository.AddonRepository
import id.djaka.droidjam.shared.booking.app.repository.CouponRepository
import id.djaka.droidjam.shared.booking.app.repository.ProductRepository
import id.djaka.droidjam.shared.booking.presentatio... | 2 | Kotlin | 0 | 24 | e4231e74a679e8d6df6825d144c9d37b866cc3eb | 2,965 | droidjam-managing-state-compose | Apache License 2.0 |
app/src/main/java/io/github/mcasper3/gitgud/main/repositories/RepositoryFragment.kt | mcasper3 | 122,885,250 | false | null | package io.github.mcasper3.gitgud.main.repositories
import android.os.Bundle
import android.view.View
import io.github.mcasper3.gitgud.base.list.ListFragment
import javax.inject.Inject
class RepositoryFragment : ListFragment() {
@Inject internal lateinit var presenter: RepositoryPresenter
override fun onVie... | 0 | Kotlin | 0 | 0 | 39197a3fdf135c6c4ac292c862392c2ff6b8d7bf | 559 | GitGud | Apache License 2.0 |
commons/src/commonMain/kotlin/org/jetbrains/letsPlot/commons/intern/observable/collections/CollectionListener.kt | JetBrains | 176,771,727 | false | {"Kotlin": 7616680, "Python": 1299756, "Shell": 3453, "C": 3039, "JavaScript": 931, "Dockerfile": 94} | /*
* Copyright (c) 2023. JetBrains s.r.o.
* Use of this source code is governed by the MIT license that can be found in the LICENSE file.
*/
package org.jetbrains.letsPlot.commons.intern.observable.collections
interface CollectionListener<ItemT> {
fun onItemAdded(event: CollectionItemEvent<out ItemT>)
fun ... | 150 | Kotlin | 51 | 1,561 | c8db300544974ddd35a82a90072772b788600ac6 | 431 | lets-plot | MIT License |
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsintegrationapi/models/createAndVaryLicence/CvlLicenceCondition.kt | ministryofjustice | 572,524,532 | false | {"Kotlin": 790959, "Python": 32511, "Shell": 13508, "Dockerfile": 1204, "Makefile": 684} | package uk.gov.justice.digital.hmpps.hmppsintegrationapi.models.createAndVaryLicence
import com.fasterxml.jackson.annotation.JsonProperty
import uk.gov.justice.digital.hmpps.hmppsintegrationapi.models.hmpps.LicenceCondition
class CvlLicenceCondition(
@JsonProperty("AP")
val AP: CvlAPCondition? = null,
@JsonProp... | 1 | Kotlin | 1 | 2 | d48e1c7b32e2fc6ddadc50c9c61da13d0a52f961 | 974 | hmpps-integration-api | MIT License |
app/src/main/java/com/herscher/swiftlydemo/api/special/ManagerSpecials.kt | markherscher | 392,020,007 | false | null | package com.herscher.swiftlydemo.api.special
data class ManagerSpecials(
val canvasUnit: Int,
val specialItemList: List<SpecialItem>
) | 0 | Kotlin | 0 | 0 | 680324f1e8736489ac8357cc41002882fbd2f438 | 143 | ManagerSpecialDemo | Apache License 2.0 |
EZRecipes/app/src/main/java/com/abhiek/ezrecipes/data/RecipeService.kt | Abhiek187 | 502,751,240 | false | null | package com.abhiek.ezrecipes.data
import com.abhiek.ezrecipes.data.models.Recipe
import com.abhiek.ezrecipes.utils.Constants
import okhttp3.OkHttpClient
import okhttp3.logging.HttpLoggingInterceptor
import retrofit2.Response
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
import retrofit... | 0 | Kotlin | 0 | 1 | 543f7d8f280a2298e3fd3d0d5b97bcf9f37e5fde | 1,970 | ez-recipes-android | MIT License |
koncat-runtime-model/src/main/kotlin/me/xx2bab/koncat/runtime/KoncatAnnotations.kt | 2BAB | 433,810,120 | false | {"Kotlin": 83292, "Shell": 128} | package me.xx2bab.koncat.runtime
/**
* Used for triggering extension processors.
*/
@Retention(AnnotationRetention.SOURCE)
@Target(AnnotationTarget.PROPERTY)
annotation class KoncatExtend(val metaDataInJson: String)
/**
* Used for each module's export file as index.
*/
@Retention(AnnotationRetention.BINARY)
@Targ... | 3 | Kotlin | 3 | 57 | 04e6400fe06fb8d099ed31c8f3ed246f8c805ac6 | 408 | Koncat | Apache License 2.0 |
android/app/src/main/kotlin/com/example/smartpos/dto/SdkError.kt | justapagamentos | 866,836,091 | false | {"Kotlin": 28439, "Dart": 4301, "Java": 516} | package com.example.smartpos.dto
// Classe que representa um erro retornado pela SDK.
data class SdkError(
// Código do erro.
val code: String?,
// Descrição do erro.
val description: String?,
// Mensagem adicional.
val message: String?
)
| 0 | Kotlin | 0 | 0 | 5648155044a448ca08b2401c9b77eda169641f80 | 264 | jst-smart-pos-flutter-demo | Apache License 2.0 |
frontend/app/src/main/java/com/asuravan/smartsupply/service/AppUserService.kt | benspylee | 283,804,229 | false | null | package com.asuravan.smartsupply.service
import com.asuravan.smartsupply.pojo.AppUser
import com.asuravan.smartsupply.pojo.ItemInfo
import retrofit2.Call
import retrofit2.http.Body
import retrofit2.http.POST
interface AppUserService {
@POST("/appuser/login")
fun logIn(@Body itemInfo: AppUser): Call<AppUser>
... | 1 | null | 1 | 1 | d3f3b374283c9b52dcd7ad4552254e11b2095a5e | 401 | smartsupply-v2 | Apache License 2.0 |
data-adapter/src/main/java/com/gauvain/seigneur/data_adapter/model/CurrentUserExt.kt | GauvainSeigneur | 264,162,160 | false | null | package com.gauvain.seigneur.data_adapter.model
import com.gauvain.seigneur.domain.model.AccountDetailsModel
import com.gauvain.seigneur.domain.model.CurrentUserModel
import com.gauvain.seigneur.domain.utils.SERVER_DATE_FORMAT
import com.gauvain.seigneur.domain.utils.toDate
import java.text.DateFormat
import java.uti... | 0 | Kotlin | 0 | 0 | d44a86973c242473fd27ddd0845d12a43fe91fe5 | 935 | TheOfficeQuote | Apache License 2.0 |
src/main/kotlin/com/codymikol/components/commit/diff/file/header/icons/FileHeaderIcon.kt | codymikol | 433,658,834 | false | {"Kotlin": 100353} | package com.codymikol.components.commit.diff.file.header.icons
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.draw.shadow
import androidx.compose.ui.unit.dp
import com.codymikol.components.commit.File... | 23 | Kotlin | 3 | 29 | 5ee8dc95ad549661e34fcf17f7c57ceb1be2e6e0 | 572 | git-down | MIT License |
componentbox/src/commonMain/kotlin/com/dropbox/componentbox/component/Text.kt | dropbox | 464,561,169 | false | null | package com.dropbox.componentbox.component
import com.dropbox.componentbox.foundation.Events
import com.dropbox.componentbox.foundation.Color
import com.dropbox.componentbox.foundation.Modifier
import com.dropbox.componentbox.foundation.TextStyle
import com.dropbox.componentbox.impl.ComponentBoxText
interface Text : ... | 2 | Kotlin | 4 | 226 | a6b0c59ae519fede2ebb6de77da5cb12d3f95a35 | 834 | componentbox | Apache License 2.0 |
app/src/main/java/com/matthiaslapierre/jack/core/game/impl/sprites/bg/FloorSprite.kt | MatthiasLapierre | 299,308,705 | false | null | package com.matthiaslapierre.jack.core.game.impl.sprites.bg
import android.graphics.Canvas
import android.graphics.Paint
import android.graphics.RectF
import com.matthiaslapierre.jack.Constants.UNDEFINED
import com.matthiaslapierre.framework.ui.Sprite
import com.matthiaslapierre.jack.Constants.FLOOR_HEIGHT
import com.... | 0 | Kotlin | 0 | 0 | 7ae193cca70f9129a1a1f39d9a24bd8c7da090c2 | 1,848 | jack | MIT License |
Templars/src/main/java/com/templars/templars/models/User.kt | ExpanseTech | 335,983,244 | false | null | package com.templars.templars.models
import java.util.*
data class User(
val id: String,
val createdAt: Date,
val updatedAt: Date,
val active: Boolean,
val firstName: String,
val lastName: String,
val email: String,
val phoneNumber: String,
val verified: Boolean,
val role: Stri... | 0 | Kotlin | 0 | 0 | 774332d757734b32a403035cf0c31e091f92cf48 | 325 | templars-android | Apache License 2.0 |
kotlin/src/main/kotlin/org/axonframework/extensions/kotlin/serialization/ArrayResponseType.kt | AxonFramework | 219,790,172 | false | {"Kotlin": 105318} | /*
* Copyright (c) 2010-2024. Axon Framework
*
* 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 o... | 6 | Kotlin | 9 | 43 | 60f31281cfd360047ab0dc2750c1e7cd9dcbfc5d | 4,943 | extension-kotlin | Apache License 2.0 |
demo/src/main/java/de/check24/compose/demo/features/viewpager/ComposableViewPagerActivity.kt | check24-profis | 469,706,312 | false | null | package de.check24.compose.demo.features.viewpager
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding
import... | 0 | Kotlin | 3 | 11 | abd64a7d2edac0dbedb4d67d3c0f7b49d9173b88 | 2,195 | jetpack-compose-is-like-android-view | MIT License |
app/src/main/java/app/epf/ratp_eb_pf/ActivityUtils.kt | pierrefrncs | 255,360,624 | false | null | package app.epf.ratp_eb_pf
import android.content.Context
import androidx.room.Room
import app.epf.ratp_eb_pf.data.AppDatabase
import app.epf.ratp_eb_pf.data.LineDao
import app.epf.ratp_eb_pf.data.StationsDao
import app.epf.ratp_eb_pf.data.TrafficDao
import com.facebook.stetho.okhttp3.StethoInterceptor
import okhttp3.... | 0 | Kotlin | 0 | 0 | 8e17c15d5cba1194247e0adc7a35b694fe14435c | 1,900 | Metro-Finder | MIT License |
feature/user/settings/src/main/java/com/uragiristereo/mikansei/feature/user/settings/core/UserSettingsTopAppBar.kt | uragiristereo | 583,834,091 | false | {"Kotlin": 978568} | package com.uragiristereo.mikansei.feature.user.settings.core
import androidx.compose.foundation.layout.Column
import androidx.compose.material.DropdownMenu
import androidx.compose.material.DropdownMenuItem
import androidx.compose.material.Icon
import androidx.compose.material.IconButton
import androidx.compose.materi... | 3 | Kotlin | 2 | 62 | 4f136b0479ee7772f3d7ba48927cef9389d5c2be | 2,949 | Mikansei | Apache License 2.0 |
Chapter-6/Packtagram/feature/newsfeed/src/main/java/com/packt/newsfeed/data/NewsFeedApiService.kt | PacktPublishing | 621,206,516 | false | {"Kotlin": 543087} | package com.packt.newsfeed.data
import com.packt.newsfeed.data.model.PostApiData
import retrofit2.http.GET
import retrofit2.http.Query
interface NewsFeedService {
@GET("feed")
suspend fun getNewsFeed(
@Query("pageNumber") pageNumber: Int,
@Query("pageSize") pageSize: Int
): List<PostApiDat... | 1 | Kotlin | 7 | 23 | aeeb4e61395cf08830841762e0cfcfbdcd5836d0 | 324 | Thriving-in-Android-Development-using-Kotlin | MIT License |
server/src/main/kotlin/com/xebia/functional/xef/server/db/tables/XefTokensTable.kt | xebia-functional | 629,411,216 | false | {"Kotlin": 3795633, "TypeScript": 67083, "Scala": 16870, "CSS": 6570, "JavaScript": 1935, "Java": 457, "HTML": 395, "Shell": 238} | package com.xebia.functional.xef.server.db.tables
import com.xebia.functional.xef.server.models.ProvidersConfig
import kotlinx.serialization.json.Json
import org.jetbrains.exposed.dao.IntEntity
import org.jetbrains.exposed.dao.IntEntityClass
import org.jetbrains.exposed.dao.id.EntityID
import org.jetbrains.exposed.dao... | 42 | Kotlin | 11 | 111 | bf8955d7624304462a443756819a75b1c387b2d2 | 1,685 | xef | Apache License 2.0 |
app/src/main/java/com/example/android/navigation/NameFragment.kt | ridiculoys | 245,314,493 | true | {"Kotlin": 17951} | package com.example.android.navigation
import android.content.Context
import android.os.Bundle
import android.util.Log
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.view.inputmethod.InputMethodManager
import androidx.core... | 0 | Kotlin | 0 | 0 | 89c19529cda3ecb800cef98e0b63bb8edc051598 | 1,508 | cmsc23-andtroidtrivia-starter | Apache License 2.0 |
android/src/main/kotlin/com/shatsy/admobflutter/AdmobBannerFactory.kt | kmcgill88 | 161,095,292 | false | null | package com.shatsy.admobflutter
import android.content.Context
import io.flutter.plugin.common.BinaryMessenger
import io.flutter.plugin.common.StandardMessageCodec
import io.flutter.plugin.platform.PlatformView
import io.flutter.plugin.platform.PlatformViewFactory
class AdmobBannerFactory(private val messenger: Binar... | 113 | Dart | 139 | 415 | b2c54d6d12f401ef35fb70ee79faf0a695bdf730 | 556 | admob_flutter | ISC License |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/bold/ChartBullet.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.bold
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
im... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 4,923 | icons | MIT License |
application/src/test/kotlin/com/ziemsky/uploader/stats/StatsCalculatorSpec.kt | ziemsky | 137,949,351 | false | {"Kotlin": 222979} | package com.ziemsky.uploader.stats
import com.ziemsky.uploader.UploaderAbstractBehaviourSpec
import com.ziemsky.uploader.securing.model.SecuredFileSummary
import com.ziemsky.uploader.securing.model.SecuredFilesBatchStats
import com.ziemsky.uploader.securing.model.local.LocalFile
import com.ziemsky.uploader.securing.m... | 15 | Kotlin | 0 | 0 | bcaab60a52abc473e259da32ad5c73839ffc5c59 | 3,989 | gdrive-uploader | MIT License |
app/src/main/java/com/lovelytrip/lovelyTrip/ui/viewModels/HomeViewModel.kt | YahefuYusufu | 779,944,544 | false | {"Kotlin": 70731} |
package com.lovelytrip.lovelyTrip.ui.viewModels
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.lovelytrip.lovelyTrip.data.Item
import com.lovelytrip.lovelyTrip.data.ItemsRepository
import kotlinx.coroutines.flow.SharingStarted
import kotlinx.coroutines.flow.StateFlow
import k... | 2 | Kotlin | 0 | 1 | 99e4a45ff6335748ae0520f7e5414afbf9bb0679 | 912 | LovelyTrip | MIT License |
vitrivr-engine-module-m3d/src/main/kotlin/org/vitrivr/engine/model3d/lwjglrender/util/fsm/abstractworker/JobControlCommand.kt | vitrivr | 679,355,326 | false | {"Kotlin": 1141407, "GLSL": 568} | package org.vitrivr.engine.model3d.lwjglrender.util.fsm.abstractworker
/**
* JobControlCommand are used to control the worker thread.
*/
enum class JobControlCommand {
/**
* Is used to return the end of the job
*/
JOB_DONE,
/**
* Is used to return an error on the job
*/
JOB_FAIL... | 8 | Kotlin | 3 | 5 | 8d89bba313b3aa2195d31afb5b9694828cf4ce46 | 404 | vitrivr-engine | MIT License |
vitrivr-engine-module-m3d/src/main/kotlin/org/vitrivr/engine/model3d/lwjglrender/util/fsm/abstractworker/JobControlCommand.kt | vitrivr | 679,355,326 | false | {"Kotlin": 1141407, "GLSL": 568} | package org.vitrivr.engine.model3d.lwjglrender.util.fsm.abstractworker
/**
* JobControlCommand are used to control the worker thread.
*/
enum class JobControlCommand {
/**
* Is used to return the end of the job
*/
JOB_DONE,
/**
* Is used to return an error on the job
*/
JOB_FAIL... | 8 | Kotlin | 3 | 5 | 8d89bba313b3aa2195d31afb5b9694828cf4ce46 | 404 | vitrivr-engine | MIT License |
app/src/main/java/com/github/amatkivskiy/template/domain/datasource/UserDataSource.kt | amatkivskiy | 140,286,853 | false | {"Kotlin": 61151} | package com.github.amatkivskiy.template.domain.datasource
import arrow.core.Option
import com.github.amatkivskiy.template.domain.model.User
import com.github.kittinunf.result.Result
import io.reactivex.Observable
interface UserDataSource {
fun getUsersList(): Observable<Result<List<User>, Exception>>
fun getU... | 0 | Kotlin | 0 | 0 | c8b1c103008c53564201d88abc874165f8c6b4ed | 393 | android-app-template | MIT License |
src/main/kotlin/no/nav/sykmeldinger/sykmelding/model/ArbeidsrelatertArsakType.kt | navikt | 530,979,591 | false | null | package no.nav.sykmeldinger.sykmelding.model
enum class ArbeidsrelatertArsakType(val codeValue: String, val text: String, val oid: String = "2.16.578.1.12.4.1.1.8132") {
MANGLENDE_TILRETTELEGGING("1", "Manglende tilrettelegging på arbeidsplassen"),
ANNET("9", "Annet")
}
| 0 | Kotlin | 1 | 0 | c9ebfb5a65e2f258c93d5626a8bee55360552147 | 280 | sykmeldinger-backend-kafka | MIT License |
walletconnectv2/src/main/kotlin/com/walletconnect/walletconnectv2/common/model/vo/clientsync/session/after/params/SessionPermissionsVO.kt | seabornlee | 451,919,130 | true | {"Kotlin": 255486} | package com.walletconnect.walletconnectv2.common.model.vo.clientsync.session.after.params
import com.squareup.moshi.Json
import com.walletconnect.walletconnectv2.common.model.vo.clientsync.session.before.proposal.SessionProposedPermissionsVO
internal data class SessionPermissionsVO(
@Json(name = "blockchain")
... | 0 | null | 0 | 0 | 2278c04c3c73588b54bff7e67821b09c489382e5 | 479 | WalletConnectKotlinV2 | Apache License 2.0 |
core/src/main/java/com/github/offile/permissionshelper/runtime/RuntimeRequest.kt | offile | 338,356,908 | false | null | package com.github.offile.permissionshelper.runtime
import android.content.pm.PackageManager
import com.github.offile.permissionshelper.core.NeverAskAgainFun
import com.github.offile.permissionshelper.core.Request
import com.github.offile.permissionshelper.core.Source
import java.util.*
import kotlin.collections.Array... | 0 | Kotlin | 0 | 0 | 0d65bcb170f15a92f8227e0d348e63c089324dd0 | 5,208 | PermissionsHelper | Apache License 2.0 |
src/main/kotlin/org/move/lang/core/psi/ext/MoveModuleDef.kt | WormholeStudio | 386,158,725 | true | {"Kotlin": 522703, "Lex": 7602, "HTML": 131} | package org.move.lang.core.psi.ext
import com.intellij.ide.projectView.PresentationData
import com.intellij.lang.ASTNode
import com.intellij.navigation.ItemPresentation
import com.intellij.openapi.project.Project
import org.move.ide.MoveIcons
import org.move.lang.core.psi.*
import org.move.lang.core.psi.impl.MoveNameI... | 0 | null | 0 | 0 | eaf3fbfaf7183274cab9d88bb4dc25187eb534ad | 7,259 | intellij-move | MIT License |
presentation/src/commonMain/kotlin/ireader/presentation/ui/home/history/HistoryScreen.kt | kazemcodes | 540,829,865 | true | {"Kotlin": 2179459} | package ireader.presentation.ui.home.history
import androidx.compose.foundation.layout.Box
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import ireader.domain.models.entities.HistoryWithRelations
import ireader.i18n.localize
import ireader.i18n.resources.MR
import ireader.presentation.... | 11 | Kotlin | 21 | 6 | b6b2414fa002cec2aa0d199871fcfb4c2e190a8f | 1,373 | IReader | Apache License 2.0 |
app/src/main/java/com/mrmannwood/hexlauncher/view/HexagonView.kt | MrMannWood | 298,718,785 | false | null | package com.mrmannwood.hexlauncher.view
import android.content.Context
import android.graphics.Canvas
import android.graphics.Color
import android.graphics.Path
import android.graphics.PorterDuff
import android.util.AttributeSet
import androidx.appcompat.widget.AppCompatImageView
import kotlin.math.max
import kotlin.m... | 7 | null | 7 | 7 | de338a5589a624fd25347dd6720a365fed2b4f33 | 1,793 | launcher | Apache License 2.0 |
src/test/kotlin/com/dwolla/api/ApiTest.kt | Dwolla | 189,449,029 | false | null | package com.dwolla.api
import com.dwolla.Dwolla
import com.dwolla.Instances.dwolla
import com.dwolla.http.JsonBody
import com.github.kittinunf.fuel.core.Headers
import com.github.kittinunf.fuel.core.Response
import com.github.kittinunf.fuel.core.requests.DefaultBody
import io.mockk.every
import java.net.URL
import jav... | 7 | Kotlin | 5 | 9 | 013d9d5cbf963c85224c0fd9c68f84044046ed17 | 2,037 | dwolla-v2-kotlin | MIT License |
presentation/src/main/java/com/yapp/bol/presentation/view/home/HomeActivity.kt | YAPP-Github | 634,125,431 | false | null | package com.yapp.bol.presentation.view.home
import android.content.Context
import android.content.Intent
import androidx.activity.viewModels
import com.yapp.bol.presentation.R
import com.yapp.bol.presentation.base.BaseActivity
import com.yapp.bol.presentation.databinding.ActivityHomeBinding
import dagger.hilt.android.... | 0 | Kotlin | 2 | 12 | 9ab67d91a2f1946bc9c59478978384692c7be828 | 966 | onboard-aos | Apache License 2.0 |
app/src/main/java/x/spritekit/SKView.kt | xthang | 476,919,801 | false | {"Java": 461406, "Kotlin": 169714, "CMake": 1714, "C": 1478, "C++": 1288} | package x.spritekit
import android.content.Context
import android.util.AttributeSet
import android.util.Log
import android.view.SurfaceView
import android.view.ViewTreeObserver
import android.widget.FrameLayout
import androidx.annotation.CallSuper
import androidx.core.view.children
import x.core.Helper
class SKView ... | 1 | null | 1 | 1 | b145cd1a85c9c52bbb3849fd29d7f2f9cd9a8280 | 3,191 | SpriteKit | MIT License |
me/src/main/java/com/module/me/ui/activity/photos/PhotosActivity.kt | chenyacheng | 471,260,725 | false | {"Java": 183942, "Kotlin": 58525} | package com.module.me.ui.activity.photos
import android.graphics.BitmapFactory
import android.net.Uri
import androidx.activity.result.ActivityResultLauncher
import androidx.activity.result.contract.ActivityResultContracts
import androidx.core.content.FileProvider
import com.alibaba.android.arouter.facade.annotation.Ro... | 1 | null | 1 | 1 | 0c73512b4150db24fca9cbced9439c0697deefee | 1,830 | FrameModule | MIT License |
app/src/main/java/com/project/monopad/network/remote/api/MovieRepoApi.kt | 4z7l | 298,148,434 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 37, "XML": 23, "Java": 1} | package com.project.monopad.network.remote.api
import com.project.monopad.model.network.MovieInfoResponse
import com.project.monopad.model.network.OtherMovieInfoResponse
import io.reactivex.Single
import retrofit2.http.GET
import retrofit2.http.Path
import retrofit2.http.Query
interface MovieRepoApi {
@GET("movi... | 1 | null | 1 | 1 | ca59e3cacae187acbb4a07be85b6fc3e73c32f17 | 2,157 | MonoPad | Apache License 2.0 |
app/shared/cloud-backup/public/src/commonMain/kotlin/build/wallet/cloud/backup/health/CloudBackupStatus.kt | proto-at-block | 761,306,853 | false | {"C": 10424094, "Kotlin": 7156393, "Rust": 2046237, "Swift": 700307, "Python": 331492, "HCL": 271992, "Shell": 111209, "TypeScript": 102700, "C++": 64770, "Meson": 64234, "JavaScript": 36227, "Just": 28071, "Ruby": 9428, "Dockerfile": 5731, "Makefile": 3839, "Open Policy Agent": 1552, "Procfile": 80} | package build.wallet.cloud.backup.health
data class CloudBackupStatus(
val mobileKeyBackupStatus: MobileKeyBackupStatus,
val eakBackupStatus: EakBackupStatus,
)
fun CloudBackupStatus.isHealthy(): Boolean {
return mobileKeyBackupStatus.isHealthy() && eakBackupStatus.isHealthy()
}
| 0 | C | 10 | 98 | 1f9f2298919dac77e6791aa3f1dbfd67efe7f83c | 288 | bitkey | MIT License |
src/main/kotlin/com/piashcse/models/user/body/UserId.kt | piashcse | 410,331,425 | false | {"Kotlin": 132685, "FreeMarker": 59, "Procfile": 55} | package com.piashcse.models.user.body
import com.papsign.ktor.openapigen.annotations.parameters.QueryParam
import org.valiktor.functions.isNotNull
import org.valiktor.validate
data class UserId(@QueryParam("userId") val userId: String){
fun validation(){
validate(this){
validate(UserId::userId).... | 4 | Kotlin | 12 | 75 | 9f614305a165266bbee5294ab0eddea1c02a80a7 | 349 | ktor-E-Commerce | curl License |
ListView/app/src/main/java/com/github/kazenetu/listview/view/recyclerView/CustomDividerItemDecoration.kt | kazenetu | 286,057,889 | false | null | package com.github.kazenetu.listview.view.recyclerView
import android.app.Activity
import android.graphics.Canvas
import androidx.recyclerview.widget.DividerItemDecoration
import androidx.recyclerview.widget.RecyclerView
class CustomDividerItemDecoration(context: Activity, orientation:Int, private val listener:DrawOv... | 0 | Kotlin | 0 | 0 | 81ee364d01f2de3f68829cbd0f96b18739d90f54 | 618 | android-practice | MIT License |
ListView/app/src/main/java/com/github/kazenetu/listview/view/recyclerView/CustomDividerItemDecoration.kt | kazenetu | 286,057,889 | false | null | package com.github.kazenetu.listview.view.recyclerView
import android.app.Activity
import android.graphics.Canvas
import androidx.recyclerview.widget.DividerItemDecoration
import androidx.recyclerview.widget.RecyclerView
class CustomDividerItemDecoration(context: Activity, orientation:Int, private val listener:DrawOv... | 0 | Kotlin | 0 | 0 | 81ee364d01f2de3f68829cbd0f96b18739d90f54 | 618 | android-practice | MIT License |
komelia-app/src/commonMain/kotlin/io/github/snd_r/komelia/ui/dialogs/komf/reset/KomfResetMetadataDialog.kt | Snd-R | 775,064,249 | false | {"Kotlin": 1748559, "C": 71240, "CMake": 23706, "Shell": 7532, "Dockerfile": 4672, "C++": 2511, "JavaScript": 695, "HTML": 444} | package io.github.snd_r.komelia.ui.dialogs.komf.reset
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.heightIn
import androidx.compose.foundation.layout.widthIn
impor... | 2 | Kotlin | 1 | 24 | c4174445a18caa10a94654cc2a9382689149dda2 | 2,919 | Komelia | Apache License 2.0 |
shared/src/commonMain/kotlin/com/henrymxu/openaikotlin/services/Moderations.kt | henrymxu | 574,030,476 | false | {"Kotlin": 117215, "TypeScript": 11097, "Swift": 7107, "Ruby": 3681, "HTML": 1721, "CSS": 577, "Shell": 344} | package com.henrymxu.openaikotlin.services
import com.henrymxu.openaikotlin.Response
import com.henrymxu.openaikotlin.models.CreateModerationRequest
import com.henrymxu.openaikotlin.models.ModerationResult
/**
* https://beta.openai.com/docs/api-reference/moderations
*/
interface ModerationsApi {
suspend fun cre... | 0 | Kotlin | 3 | 3 | 4c78b930b3a732a58d2451068d74e7c1b5cbb168 | 398 | openai-kotlin | MIT License |
src/commonMain/kotlin/io/github/kkarnauk/parsek/token/type/CharTokenType.kt | kkarnauk | 440,554,625 | false | {"Kotlin": 111337} | package io.github.kkarnauk.parsek.token.type
/**
* Represents a token that compares first character with [char] taking into account [ignoreCase].
*/
public class CharTokenType(
private val char: Char,
private val ignoreCase: Boolean,
name: String,
ignored: Boolean
) : AbstractTokenType(name, ignored)... | 0 | Kotlin | 0 | 17 | 7479f94b28d4fdb611f4fabf83acece597a0203c | 469 | parsek | Apache License 2.0 |
embrace-test-fakes/src/main/kotlin/io/embrace/android/embracesdk/fakes/FakeOtelLogger.kt | embrace-io | 704,537,857 | false | {"Kotlin": 2867942, "C": 190133, "Java": 177132, "C++": 13140, "CMake": 4261} | package io.embrace.android.embracesdk.fakes
import io.opentelemetry.api.logs.LogRecordBuilder
import io.opentelemetry.api.logs.Logger
public class FakeOtelLogger : Logger {
override fun logRecordBuilder(): LogRecordBuilder = FakeLogRecordBuilder()
}
| 19 | Kotlin | 8 | 133 | c3d8b882d91f7200c812d8ffa2dee5b820263c0d | 256 | embrace-android-sdk | Apache License 2.0 |
src/main/kotlin/name/oshurkov/books/web/BooksController.kt | dmitry-oshurkov | 307,598,181 | false | null | package name.oshurkov.books.web
import name.oshurkov.books.Repositories.Companion.authorsRep
import name.oshurkov.books.Repositories.Companion.booksRep
import org.springframework.core.env.*
import org.springframework.stereotype.*
import org.springframework.ui.*
import org.springframework.web.bind.annotation.*
import j... | 0 | Kotlin | 0 | 1 | a003f125acd92fb394837a7187147311e64e22a2 | 933 | books | MIT License |
data/models/src/main/java/com/ant/models/request/NavigationType.kt | toaderandrei | 786,415,615 | false | {"Kotlin": 212047, "Java": 376} | package com.ant.models.request
enum class NavigationType {
MOVIES,
TV,
FAVORITES,
} | 1 | Kotlin | 0 | 0 | b7691975f404ee834a4567cf6dfbdea77086aeb2 | 96 | popular-movies-kt | MIT License |
src/flashcards/Main.kt | PrathmeshSwaroop | 252,204,499 | false | null | package flashcards
import flashcards.game.FlashCard
import flashcards.game.FlashCardGame
import flashcards.game.FlashCardGame.Companion.EXPORT
import flashcards.game.FlashCardGame.Companion.IMPORT
import flashcards.game.FlashCardGame.Extension.log
import flashcards.game.FlashCardGame.Extension.toFlashCommand
import fl... | 0 | Kotlin | 0 | 1 | 0251f9c92040dc36d1bb6944f5c22e9ab5242197 | 2,031 | flash-card-game | MIT License |
compiler/testData/ir/irText/declarations/contextReceivers/function.kt | mcpiroman | 375,462,779 | true | {"Kotlin": 73023707, "Java": 6608057, "Swift": 4256908, "C": 2635707, "C++": 2546276, "Objective-C": 636652, "JavaScript": 211357, "Objective-C++": 165224, "Groovy": 103363, "Python": 44364, "Shell": 31842, "TypeScript": 22854, "Lex": 18369, "Batchfile": 11692, "CSS": 11368, "HTML": 6971, "Ruby": 6839, "EJS": 5241, "Do... | // FIR_IDENTICAL
// !LANGUAGE: +ContextReceivers
// DUMP_LOCAL_DECLARATION_SIGNATURES
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: JS_IR_ES6
// MUTE_SIGNATURE_COMPARISON_K2: ANY
// ^ KT-57428, KT-57435
class C {
val c = 42
}
context(C)
fun foo() {
c
}
fun bar(c: C) {
with(c) {
foo()
}
}
| 0 | Kotlin | 0 | 1 | 973adb6a38df87d16ee089eee7faafa1983fd76a | 315 | kotlin | Apache License 2.0 |
server/src/main/kotlin/com/kazakago/cueue/controller/MenuController.kt | KazaKago | 329,953,173 | false | {"Kotlin": 112293, "Dockerfile": 338} | package com.kazakago.cueue.controller
import com.kazakago.cueue.model.FirebaseUser
import com.kazakago.cueue.model.MenuId
import com.kazakago.cueue.model.MenuRegistrationData
import com.kazakago.cueue.repository.MenuRepository
import com.kazakago.cueue.repository.UserRepository
import io.ktor.http.HttpStatusCode
impor... | 6 | Kotlin | 0 | 1 | 351e8739aaef8e1ecbeb1cbb55eda65d1d732ba8 | 1,428 | cueue_server | Apache License 2.0 |
app/src/main/java/cl/bootcamp/chatboxgeminiapi/views/HomeView.kt | cTapiaDev | 875,049,799 | false | {"Kotlin": 15437} | package cl.bootcamp.chatboxgeminiapi.views
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.fo... | 0 | Kotlin | 0 | 0 | 9a78d55beb4f1716715a963d5f988c03ca38829c | 2,533 | chatbox_gemini_ai | MIT License |
Corona-Warn-App/src/main/java/de/rki/coronawarnapp/ui/qrcode/fullscreen/QrCodeFullScreenViewModel.kt | rgrenz | 390,331,768 | false | null | package de.rki.coronawarnapp.ui.qrcode.fullscreen
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import com.google.zxing.qrcode.decoder.ErrorCorrectionLevel
import dagger.assisted.Assisted
import dagger.assisted.AssistedFactory
import dagger.assisted.AssistedInject
import de.rki.coronawar... | 1 | null | 1 | 1 | bd2b989daff48881949402dbbc8827a1d3806425 | 1,825 | cwa-app-android | Apache License 2.0 |
z2-kotlin-plugin/src/hu/simplexion/z2/kotlin/ir/rui/air/visitors/DumpAirTreeVisitor.kt | spxbhuhb | 665,463,766 | false | {"Kotlin": 1355048, "CSS": 126999, "Java": 7121, "HTML": 1560, "JavaScript": 975} | /*
* Copyright © 2020-2021, <NAME> and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
package hu.simplexion.z2.kotlin.ir.rui.air.visitors
import hu.simplexion.z2.kotlin.ir.rui.air.*
import org.jetbrains.kotlin.utils.Printer
class DumpAirTreeVisitor(
out: Appendable
) : AirElemen... | 6 | Kotlin | 0 | 1 | 980100fb733a7b9346ff3482ec7bb8a3b03d0e7f | 4,205 | z2 | Apache License 2.0 |
app/src/main/java/com/classops/flowbus/MainActivity.kt | classops | 854,153,891 | false | {"Kotlin": 16470} | package com.classops.flowbus
import android.content.Intent
import android.os.Bundle
import android.util.Log
import android.view.View
import android.widget.Button
import androidx.activity.enableEdgeToEdge
import androidx.appcompat.app.AppCompatActivity
import androidx.core.view.ViewCompat
import androidx.core.view.Wind... | 0 | Kotlin | 0 | 0 | b04503254ffcbd85217095f144e39eed0c9062f9 | 3,288 | flowbus | Apache License 2.0 |
idea/testData/multiFileInspections/mainInTwoModules/before/B/src/part2B.kt | JakeWharton | 99,388,807 | true | null | @file:JvmName("MultiPart")
@file:JvmMultifileClass
package test.multiPart
fun main(args: Array<String>) {
}
| 0 | Kotlin | 28 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 111 | kotlin | Apache License 2.0 |
app/src/main/java/com/evya/myweatherapp/model/dailyweathermodel/Coord.kt | EvyatarKohn | 439,841,080 | false | null | package com.evya.myweatherapp.model.dailyweathermodel
import com.google.gson.annotations.SerializedName
import com.google.gson.annotations.Expose
data class Coord(
@SerializedName("lat")
@Expose
val lat: Double,
@SerializedName("lon")
@Expose
val lon: Double
) | 0 | Kotlin | 0 | 0 | e36f79e8006045e9a34f2d274e86c88909693517 | 288 | TravelMaker | Apache License 2.0 |
Aula19Quiz/app/src/main/java/eduardo/gladzik/aula19quiz/activities/Activity19.kt | EduardoGladzik | 289,071,387 | false | null | package eduardo.gladzik.aula19quiz.activities
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import android.widget.RadioButton
import eduardo.gladzik.aula19quiz.R
import eduardo.gladzik.aula19quiz.extension.toast
import eduardo.gladzik.au... | 0 | Kotlin | 0 | 0 | 7854c98a604dc4b436583ae0143e86c96ced739f | 1,929 | kotlin-android | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.