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/java/reagent/internal/task/TaskComplete.kt | Sunrobot | 73,375,778 | true | {"Kotlin": 76508} | /*
* Copyright 2016 <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 wri... | 0 | Kotlin | 0 | 0 | 502a8c2d2fcb23655f6d0bb9c9371213ac02674b | 743 | Reagent | Apache License 2.0 |
pendant-starlark/src/jvmMain/kotlin/io/morfly/pendant/starlark/lang/feature/EmptyLinesFeature.kt | Morfly | 699,622,261 | false | {"Kotlin": 490264} | /*
* 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 writin... | 0 | Kotlin | 0 | 3 | 1d9e226088ecdb5fc1b32eecfc9fa16dde99dec8 | 1,127 | pendant | Apache License 2.0 |
core/data/src/main/kotlin/com/najudoryeong/mineme/core/data/di/DataModule.kt | NaJuDoRyeong | 689,891,643 | false | {"Kotlin": 313446} | package com.najudoryeong.mineme.core.data.di
import com.najudoryeong.mineme.core.data.repository.DetailStoryResourceRepository
import com.najudoryeong.mineme.core.data.repository.HomeResourceRepository
import com.najudoryeong.mineme.core.data.repository.OfflineFirstDetailStoryResourceRepository
import com.najudoryeong... | 2 | Kotlin | 0 | 0 | 7b1b46b14b8af6994cb86cb6ca844266a6429d68 | 2,089 | mineme_AOS_new | Apache License 2.0 |
projects/make-recall-decisions-and-delius/src/dev/kotlin/uk/gov/justice/digital/hmpps/data/repository/PersonManagerRepository.kt | ministryofjustice | 500,855,647 | false | null | package uk.gov.justice.digital.hmpps.data.repository
import org.springframework.data.jpa.repository.JpaRepository
import uk.gov.justice.digital.hmpps.integrations.delius.recommendation.person.entity.PersonManager
interface PersonManagerRepository : JpaRepository<PersonManager, Long>
| 0 | Kotlin | 0 | 2 | 2a148131c90e90dcc541dc1c0a2e69fc4f3ea121 | 286 | hmpps-probation-integration-services | MIT License |
typescript/ts-lowerings/src/org/jetbrains/dukat/tsLowerings/collectKotlinStdlibCollision.kt | Kotlin | 159,510,660 | false | {"Kotlin": 2656818, "WebIDL": 323681, "TypeScript": 135641, "JavaScript": 19475, "ANTLR": 11333} | package org.jetbrains.dukat.tsLowerings
import TopLevelDeclarationLowering
import org.jetbrains.dukat.ownerContext.NodeOwner
import org.jetbrains.dukat.astCommon.IdentifierEntity
import org.jetbrains.dukat.model.commonLowerings.CollisionContext
import org.jetbrains.dukat.model.commonLowerings.TranslationContext
import... | 244 | Kotlin | 42 | 535 | d50b9be913ce8a2332b8e97fd518f1ec1ad7f69e | 3,036 | dukat | Apache License 2.0 |
app/src/main/java/com/shortendesign/k9keyboard/inputmode/NumberInputMode.kt | danielshorten | 448,453,815 | false | {"Kotlin": 87781, "Java": 572} | package com.shortendesign.k9keyboard.inputmode
import com.shortendesign.k9keyboard.KeyPressResult
import com.shortendesign.k9keyboard.Keypad
import com.shortendesign.k9keyboard.util.Command
import com.shortendesign.k9keyboard.util.Key
import com.shortendesign.k9keyboard.util.KeyCommandResolver
import com.shortendesign... | 5 | Kotlin | 5 | 30 | 47e7dd83fbcc63fc5f6d2ad6dc8f42a7af3aa72b | 2,136 | k9t9 | MIT License |
src/jsMain/kotlin/org/jetbrains/webwiz/content/Chips.kt | terrakok | 413,509,623 | false | null | package org.jetbrains.webwiz.content
import androidx.compose.runtime.Composable
import org.jetbrains.compose.web.attributes.disabled
import org.jetbrains.compose.web.dom.CheckboxInput
import org.jetbrains.compose.web.dom.Div
import org.jetbrains.compose.web.dom.Label
import org.jetbrains.compose.web.dom.Span
import or... | 4 | null | 26 | 218 | f3d7cc92c2e0d350aeb4f5980138aeed6947d8ae | 4,097 | kmp-web-wizard | MIT License |
app/src/test/java/com/balsikandar/github/usecases/HasTwoHoursPassedTest.kt | balsikandar | 255,555,406 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Kotlin": 49, "XML": 20, "INI": 1, "Java": 2} | package com.balsikandar.github.usecases
import com.google.common.truth.Truth.assertThat
import org.junit.Before
import org.junit.Test
import org.junit.runner.RunWith
import org.mockito.junit.MockitoJUnitRunner
@RunWith(MockitoJUnitRunner::class)
class HasTwoHoursPassedTest {
lateinit var hasTwoHoursPassed: HasTw... | 0 | Kotlin | 1 | 6 | 7a6f61a5390b68a023b8aafd19d1c25cd7eab1fe | 881 | MVIGithubSample | Apache License 2.0 |
src/main/kotlin/com/ecwid/apiclient/v3/dto/order/result/OrderItemOptionFileDeleteResult.kt | Ecwid | 160,232,759 | false | null | package com.ecwid.apiclient.v3.dto.order.result
import com.ecwid.apiclient.v3.dto.common.ApiResultDTO
data class OrderItemOptionFileDeleteResult(
val deleteCount: Int = 0
) : ApiResultDTO
| 13 | Kotlin | 8 | 9 | 6f5b965a53d31a5b27b50bd45885cfac80cd4a26 | 191 | ecwid-java-api-client | Apache License 2.0 |
src/main/kotlin/com/antwerkz/expression/types/NullByte.kt | evanchooly | 640,129,156 | false | null | package com.antwerkz.expression.types
internal object NullByte : Type("nullByte") {
init {
fusible = true
}
override fun copy() = NullByte
override fun evaluate() = "\\0"
}
| 0 | null | 0 | 9 | fdaf5ae2a918bae77fd76d4ca0205b8cea7b3407 | 199 | super-expressive | MIT License |
app/src/main/java/com/rodcollab/lingoleap/features/word/detail/components/SongsWordDetailsPagerComponent.kt | rodrigoliveirac | 640,045,271 | false | null | package com.rodcollab.lingoleap.features.word.detail.components
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.sizeI... | 0 | Kotlin | 0 | 1 | 66600b8aaef0d03327de0a97b373dd4d3b4dcd01 | 3,042 | LingoLeap | MIT License |
common/src/main/java/org/igster/bigriver/client/media/library/nugs/containers/Api.kt | igray | 556,097,336 | false | null | package org.igster.bigriver.client.media.library.nugs.containers
import android.net.Uri
import android.support.v4.media.MediaBrowserCompat
import android.support.v4.media.MediaMetadataCompat
import org.igster.bigriver.client.media.extensions.albumArtUri
import org.igster.bigriver.client.media.extensions.artist
import ... | 0 | Kotlin | 0 | 0 | e86edf5d4bbd17e1681aefe34e76a9942e6a910a | 3,069 | bigriver-client | Apache License 2.0 |
sykepenger-model/src/test/kotlin/no/nav/helse/serde/migration/V3BeregnerGjenståendeSykedagerFraMaksdatoTest.kt | navikt | 193,907,367 | false | null | package no.nav.helse.serde.migration
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
import org.intellij.lang.annotations.Language
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Assertions.assertTrue
import org.junit.jupiter.api.Test
internal class V3BeregnerGjenståen... | 2 | Kotlin | 6 | 5 | 2f940cad2bc6a756033a4e19edc5236a0648c971 | 7,486 | helse-spleis | MIT License |
WPILib/src/main/kotlin/com/github/ezauton/wpilib/util/WPIJoystickButton.kt | ezAuton | 140,008,964 | false | null | package com.github.ezauton.wpilib.util
import com.github.ezauton.core.action.Action
import com.github.ezauton.core.simulation.Scheduler
import com.github.ezauton.core.utils.EzJoystickButton
import com.github.ezauton.wpilib.command.CommandCreator
import edu.wpi.first.wpilibj.GenericHID
import edu.wpi.first.wpilibj.butt... | 26 | Kotlin | 3 | 25 | b08c52233b0c492e1b5fa0a4d638b436b5d06605 | 1,586 | ezAuton | MIT License |
app/src/main/java/com/mo/mutual/element/ShapeMutual.kt | ollgithub | 488,594,837 | false | {"Kotlin": 153331} | package com.mo.mutual.element
import android.graphics.Paint
import com.mo.base.XY
import com.mo.mutual.Mutual
abstract class ShapeMutual : Mutual() {
internal var beforeDrawCall: ((Paint) -> Unit)? = null
var currentSize = XY()
fun beforeDraw(beforeDrawCall: ((Paint) -> Unit)?) = apply {
this.b... | 0 | Kotlin | 1 | 4 | a5370d8a369d83ca27c131139a44aa5587e21138 | 459 | mutualDemo | Apache License 2.0 |
usuarios-api/src/main/kotlin/resa/rodriguez/repositories/user/UserRepositoryCached.kt | SebsMendoza | 610,919,372 | false | null | package resa.rodriguez.repositories.user
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.flow.*
import kotlinx.coroutines.withContext
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.cache.annotation.CacheEvict
import org.springframework.cache.annotation.CachePut... | 0 | Kotlin | 0 | 0 | a3425f3c8c7381c8fcd77d9dd5b066df298ccb88 | 5,669 | SuperTechnology | MIT License |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/filled/Compliance.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.filled
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter
... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 4,874 | icons | MIT License |
app/src/main/java/com/brndl/hourplan/SubstitutionManger.kt | brndel | 223,030,857 | false | null | package com.brndl.hourplan
import kotlin.collections.HashMap
data class SubstitutionInfo(var type: SubstitutionType? = null, var representedTeacher: String? = null, var representedRoom: String? = null, var movedInfo: MovedInfo? = null)
data class MovedInfo(var day: Int, var index: Int)
enum class SubstitutionType ... | 1 | Kotlin | 1 | 2 | 3d6121a6ce05a9e7becbeb6e966a7a824189680c | 522 | HourPlan | MIT License |
bhlib/src/main/java/com/bashizip/bhlib/BusinessHoursPicker.kt | bashizip | 173,013,624 | false | null | package com.bashizip.bhlib
import android.content.Context
import android.content.res.TypedArray
import android.support.v7.widget.AppCompatSpinner
import android.support.v7.widget.SwitchCompat
import android.util.AttributeSet
import android.view.LayoutInflater
import android.view.View
import android.widget.AdapterView
... | 0 | Kotlin | 0 | 1 | 2c4e97d185ea3b6b4e3a54609490cc9e174ea3a5 | 5,672 | business-hours-picker-kt | MIT License |
kt/plugins/godot-intellij-plugin/src/main/kotlin/godot/intellij/plugin/quickfix/RegisterPropertyMutabilityQuickFix.kt | utopia-rise | 289,462,532 | false | {"Python": 1, "Text": 8, "C++": 127, "C": 7, "CMake": 1, "YAML": 27, "Ignore List": 11, "Git Attributes": 6, "EditorConfig": 1, "Markdown": 46, "SVG": 20, "Gradle Kotlin DSL": 27, "INI": 17, "Shell": 12, "Batchfile": 7, "Kotlin": 1298, "XML": 3, "JSON": 10, "TOML": 1, "JavaScript": 1, "Godot Resource": 27, "GDScript": ... | package godot.intellij.plugin.quickfix
import com.intellij.codeInspection.LocalQuickFix
import com.intellij.codeInspection.ProblemDescriptor
import com.intellij.notification.NotificationGroupManager
import com.intellij.notification.NotificationType
import com.intellij.notification.Notifications
import com.intellij.ope... | 63 | Kotlin | 36 | 537 | cf2ead14402f4fee8caff4573fb8cd82114735e9 | 1,587 | godot-kotlin-jvm | MIT License |
app/src/main/java/com/bp/weatherapp/network/RetrofitManager.kt | rlawlsah1028 | 323,818,690 | false | null | package com.bp.weatherapp.network
import com.google.gson.GsonBuilder
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
object RetrofitManager {
private var instance : Retrofit? = null
private val gson = GsonBuilder().setLenient().create()
fun getInstnace() : Retrofit {
... | 0 | Kotlin | 0 | 0 | 678a02a3b2dfe4560406f5ec74d905816ec7a627 | 578 | WeatherApp | Apache License 2.0 |
app/src/main/java/com/example/currencyconversion/CurrencyViewModel.kt | kareemadesola | 406,708,713 | false | {"Kotlin": 17106} | package com.example.currencyconversion
import android.util.Log
import androidx.lifecycle.*
import com.example.currencyconversion.data.CurrencyDao
import com.example.currencyconversion.data.CurrencyView
import com.example.currencyconversion.network.CurrencyApi
import com.example.currencyconversion.utils.Pref
import kot... | 0 | Kotlin | 0 | 0 | c411c08f8af59fc4dfccbb7245f46f6fa424f745 | 5,064 | CurrencyConversion | MIT License |
SQotLin-library-core/src/test/java/ru/nehodov/sqotlin/select/FromTest.kt | Roux13 | 332,227,086 | false | null | package ru.nehodov.sqotlin.select
import org.junit.Assert
import org.junit.Test
import ru.nehodov.sqotlin.SQLiteConst
import ru.nehodov.sqotlin.TestDbSchemaConst.alias_a
import ru.nehodov.sqotlin.TestDbSchemaConst.alias_b
import ru.nehodov.sqotlin.TestDbSchemaConst.column_a
import ru.nehodov.sqotlin.TestDbSchemaConst.... | 1 | Kotlin | 0 | 1 | e710d3db539981a0f638fd73610008c97fedef0a | 5,020 | SQotLin | MIT License |
okhttp/src/main/java/cn/zybwz/okhttp/base/Request.kt | zhouyb96 | 402,692,678 | false | {"Kotlin": 13047, "Java": 1259} | package cn.zybwz.okhttp.base
import java.lang.StringBuilder
import java.net.URL
class Request {
private lateinit var url:String
private var method:String="GET"
private var protocol:String="HTTP/1.1"
private lateinit var host:String
private var port:Int = 80
private lateinit var api:String
... | 0 | Kotlin | 0 | 0 | 9adf2288d559af5692a2c10ffdfb4d092361feb0 | 3,657 | HttpProject | Apache License 2.0 |
src/services/CheckUps.kt | sdrobov | 295,032,132 | false | null | package com.checkme.test.services
import com.checkme.test.dao.*
import com.checkme.test.dao.CheckUps
import org.jetbrains.exposed.sql.Join
import org.jetbrains.exposed.sql.JoinType
import org.jetbrains.exposed.sql.deleteWhere
import org.jetbrains.exposed.sql.select
import org.jetbrains.exposed.sql.transactions.transac... | 0 | Kotlin | 0 | 0 | 4c5c35bf6418701cbe97905a1a79318893bb5159 | 2,236 | checkme-test | The Unlicense |
src/services/CheckUps.kt | sdrobov | 295,032,132 | false | null | package com.checkme.test.services
import com.checkme.test.dao.*
import com.checkme.test.dao.CheckUps
import org.jetbrains.exposed.sql.Join
import org.jetbrains.exposed.sql.JoinType
import org.jetbrains.exposed.sql.deleteWhere
import org.jetbrains.exposed.sql.select
import org.jetbrains.exposed.sql.transactions.transac... | 0 | Kotlin | 0 | 0 | 4c5c35bf6418701cbe97905a1a79318893bb5159 | 2,236 | checkme-test | The Unlicense |
hachi-repl/src/main/kotlin/hachi/repl/Application.kt | read-and-code | 130,965,511 | false | {"Java": 172560, "Kotlin": 117443, "ANTLR": 3815, "HolyC": 468} | package hachi.repl
import hachi.lang.compiler.Compiler
import java.io.File
class Application
fun main(args: Array<String>) {
if (args.isEmpty()) {
println("Missing hachi file")
} else {
val file = File(args[0])
Compiler().compile(file)
}
} | 2 | null | 1 | 1 | deab4413aaf5f0117b5130f6dd5c2672f347ddbd | 279 | hachi | MIT License |
android/src/main/java/com/reactnativereadium/utils/ContentResolverUtil.kt | 5-stones | 468,831,170 | false | {"Kotlin": 69970, "Swift": 36867, "TypeScript": 29373, "JavaScript": 3410, "Ruby": 3115, "Objective-C": 1128, "Objective-C++": 806, "HTML": 355, "Shell": 149, "C": 103} | package com.reactnativereadium.utils
import android.content.ContentUris
import android.content.Context
import android.net.Uri
import android.provider.DocumentsContract
import android.provider.MediaStore
import android.text.TextUtils
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.withContext
import com... | 8 | Kotlin | 25 | 89 | 1fae0a0cf066cf7bb4403950fd2622ae622ff788 | 5,751 | react-native-readium | MIT License |
compiler/testData/debug/stepping/commentBeforeCompanionProperty.kt | JetBrains | 3,432,266 | false | null | // FILE: test.kt
class AWithCompanion {
companion object {
//Comment before
val compPropVal = 1
}
}
fun box() {
AWithCompanion.compPropVal
}
// EXPECTATIONS JVM JVM_IR
// test.kt:11 box
// test.kt:6 <clinit>
// test.kt:6 getCompPropVal
// test.kt:6 getCompPropVal
// test.kt:11 box
// test... | 155 | Kotlin | 5608 | 45,423 | 2db8f31966862388df4eba2702b2f92487e1d401 | 430 | kotlin | Apache License 2.0 |
app/src/main/java/com/amalitec/moviesapp/presentation/MovieDetailState.kt | kclaudeeager | 639,718,284 | false | null | package com.amalitec.moviesapp.presentation
import com.amalitec.moviesapp.domain.model.Movie
data class MovieDetailState(
val isLoading : Boolean = false,
val movie : Movie? = null,
val error : String =""
) | 0 | Kotlin | 0 | 0 | f64dc5d88222542770b549b22e72e1f6eb40bd56 | 220 | MovieApp | Apache License 2.0 |
bootstrap-icons-compose/src/main/java/com/wiryadev/bootstrapiconscompose/bootstrapicons/normal/ArrowRepeat.kt | wiryadev | 380,639,096 | false | null | package com.wiryadev.bootstrapiconscompose.bootstrapicons.normal
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.grap... | 0 | Kotlin | 0 | 2 | 1c199d953dc96b261aab16ac230dc7f01fb14a53 | 3,270 | bootstrap-icons-compose | MIT License |
server/src/test/kotlin/ru/worklog/auth/AuthTest.kt | koldn | 166,682,027 | false | null | package ru.worklog.auth
import io.jsonwebtoken.Jwts
import org.junit.jupiter.api.Assertions
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.DisplayName
import org.junit.jupiter.api.Test
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.test.... | 2 | Kotlin | 0 | 0 | b1fa9297cbfcf0f5f3212ac85593a8c54fa51cbc | 2,793 | worklog-app | Apache License 2.0 |
app/src/main/java/com/z100/geopal/database/contracts/NetworkContract.kt | ZE-100 | 612,106,014 | false | null | package com.z100.geopal.database.contracts
import android.provider.BaseColumns
object NetworkContract {
object NetworkEntry : BaseColumns {
const val TABLE_NAME = "network"
const val COLUMN_NAME = "name"
const val COLUMN_SSID = "ssid"
}
const val SQL_CREATE_NETWORK_TABLE = """
... | 1 | Kotlin | 1 | 1 | 68bec9029923be9ba314629653b205f73c5c6b5a | 636 | GeoPal | MIT License |
src/androidTest/java/com/example/navigation/interaction/NavigationInteractionActivityTest.kt | vshpyrka | 754,325,488 | false | {"Kotlin": 183594} | package com.example.navigation.interaction
import androidx.test.core.app.ActivityScenario
import androidx.test.core.app.launchActivity
import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.action.ViewActions.click
import androidx.test.espresso.intent.Intents
import androidx.test.espresso.intent.I... | 0 | Kotlin | 0 | 0 | 827ddbad0b453e506abfcee9e9dea0e6a2dcd26f | 2,136 | android-navigation-example | Apache License 2.0 |
plugin/src/main/kotlin/xyz/jpenilla/resourcefactory/ResourceFactoryConventionPlugin.kt | jpenilla | 775,651,436 | false | {"Kotlin": 70506} | package xyz.jpenilla.resourcefactory
import org.gradle.api.Plugin
import org.gradle.api.Project
import org.gradle.api.plugins.JavaBasePlugin
import org.gradle.api.tasks.SourceSetContainer
import org.gradle.kotlin.dsl.apply
import org.gradle.kotlin.dsl.configure
import org.gradle.kotlin.dsl.getByType
import org.gradle.... | 2 | Kotlin | 1 | 5 | b2fbbae88f4981758d143fbeebf24512a8082e11 | 1,911 | resource-factory | Apache License 2.0 |
Gachi/app/src/main/kotlin/com/pickth/gachi/view/main/MainContract.kt | yh-kim | 96,616,577 | false | null | package com.pickth.gachi.view.main
import android.content.Context
import com.pickth.commons.mvp.BasePresenter
import com.pickth.commons.mvp.BaseView
import com.pickth.gachi.util.UserInfoManager
/**
* Created by yonghoon on 2017-07-09.
* Mail : <EMAIL>
*/
interface MainContract {
interface View: BaseView<Pres... | 0 | Kotlin | 0 | 0 | 98db967d30780656041527c982ead5ecaa80971c | 533 | gachi-android | Apache License 2.0 |
app/src/main/java/com/github/rezita/homelearning/view/ReadingActivity.kt | rezita | 722,617,292 | false | {"Kotlin": 277118, "JavaScript": 48136} | package com.github.rezita.homelearning.view
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.compose.material3.Surface
import androidx.compose.material3.windowsizeclass.ExperimentalMaterial3WindowSizeClassApi
import androidx.compose.material3.windowsizeclass.calculateWindowSizeC... | 0 | Kotlin | 0 | 0 | 2f5095919b0d981bef2394e98926134f40acd136 | 2,459 | HomeLearning | Apache License 2.0 |
app/src/main/java/com/xplorer/projectx/model/unsplash/PhotoResult.kt | breel93 | 232,095,585 | false | null | /**
* Designed and developed by ProjectX
*
* 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 ... | 0 | Kotlin | 0 | 5 | c2f457823720d48847726afcaa6eb20e66a5fe39 | 1,067 | ProjectX | Apache License 2.0 |
kcrud-server/src/main/kotlin/kcrud/server/domain/employee/graphql/utils/EmployeeServiceResolver.kt | perracodex | 682,128,013 | false | {"Kotlin": 433146, "CSS": 2539, "HTML": 590} | /*
* Copyright (c) 2023-Present <NAME>. All rights reserved.
* This work is licensed under the terms of the MIT license.
* For a copy, see <https://opensource.org/licenses/MIT>
*/
package kcrud.server.domain.employee.graphql.utils
import com.apurebase.kgraphql.Context
import graphql.schema.DataFetchingEnvironment... | 0 | Kotlin | 0 | 1 | 4261fcd686a2bde6d5d88409e5383ab1cd5ba37a | 1,995 | Kcrud | MIT License |
composer-example/src/main/java/com/patrykkosieradzki/composerexample/MainActivity.kt | k0siara | 391,273,596 | false | null | package com.patrykkosieradzki.composerexample
import android.os.Bundle
import androidx.fragment.app.FragmentActivity
import coil.ImageLoader
import coil.decode.SvgDecoder
import coil.util.CoilUtils
import com.patrykkosieradzki.composer.toast.ToastManager
import com.patrykkosieradzki.composer.toast.observeToastEffects
... | 0 | Kotlin | 0 | 1 | 1393f26c14183041f7882e58fb2897c04a0a4b59 | 1,198 | composer | Apache License 2.0 |
app/src/main/java/com/example/habit/data/network/AuthApi.kt | vickatGit | 663,121,210 | false | {"Kotlin": 482474, "Java": 4691} | package com.example.habit.data.network
import com.example.habit.data.network.model.LoginModel.LoginModel
import com.example.habit.data.network.model.LoginModel.LoginResponseModel
import com.example.habit.data.network.model.SignupModel.SignupModel
import com.example.habit.data.network.model.SignupModel.SignupResponseMo... | 0 | Kotlin | 0 | 0 | 67559162f6501881b4fbd9ff807e6e13023fc087 | 712 | HB | MIT License |
app/src/main/java/my/dictionary/free/domain/viewmodels/user/dictionary/UserDictionaryViewModel.kt | viacheslavtitov | 605,498,191 | false | {"Kotlin": 535474} | package my.dictionary.free.domain.viewmodels.user.dictionary
import android.content.Context
import android.util.Log
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import dagger.hilt.android.lifecycle.HiltViewModel
import kotlinx.coroutines.channel... | 5 | Kotlin | 0 | 0 | 995da2c0cd7327f965588ecb27537c7e3b597773 | 2,893 | Easy-Dictionary-Android | MIT License |
delta-coverage-core/src/main/kotlin/io/github/surpsg/deltacoverage/report/jacoco/csv/RawCoverageDataMapper.kt | SurpSG | 614,080,411 | false | null | package io.github.surpsg.deltacoverage.report.jacoco.csv
import io.github.surpsg.deltacoverage.report.console.RawCoverageData
internal fun CsvCoverageView.toCoverageData(): RawCoverageData = let { csvView ->
RawCoverageData {
group = csvView.group
aClass = "${aPackage}.${csvView.aClass}"
... | 7 | null | 4 | 17 | f1b612c5c3f42bcc32b1ca25738fb9caca388d8a | 653 | delta-coverage-plugin | MIT License |
lib/src/main/kotlin/com/swmansion/starknet/data/serializers/ContractClassGatewaySerializer.kt | software-mansion | 503,730,882 | false | null | package com.swmansion.starknet.data.serializers
import com.swmansion.starknet.data.types.ContractClass
import com.swmansion.starknet.extensions.base64Gzipped
import kotlinx.serialization.KSerializer
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import kotlinx.serialization.Serializa... | 10 | Kotlin | 5 | 39 | 6fa64025b751e9482d9892ede6fb9e56535a75f3 | 1,472 | starknet-jvm | MIT License |
src/main/kotlin/io/swagger/client/models/ConfigurationOutputDto.kt | em-ad | 443,796,768 | false | null | /**
* Datyar REST APIs
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 1.0.0
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the ... | 0 | Kotlin | 0 | 0 | be4c2e4a6222d467a51d9148555eed25264c7eb0 | 1,144 | kotlinsdk | Condor Public License v1.1 |
common/src/main/kotlin/com/github/netomi/bat/io/ConsoleOutputSink.kt | netomi | 265,488,804 | false | null | /*
* Copyright (c) 2020-2022 <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... | 1 | null | 3 | 10 | 5f5ec931c47dd34f14bd97230a29413ef1cf219c | 1,167 | bat | Apache License 2.0 |
domain/src/main/java/com/escodro/domain/usecase/alarm/implementation/UpdateTaskAsRepeatingImpl.kt | igorescodro | 116,942,964 | false | null | package com.escodro.domain.usecase.alarm.implementation
import com.escodro.domain.model.AlarmInterval
import com.escodro.domain.repository.TaskRepository
import com.escodro.domain.usecase.alarm.UpdateTaskAsRepeating
import mu.KLogging
internal class UpdateTaskAsRepeatingImpl(
private val taskRepository: TaskRepos... | 7 | Kotlin | 83 | 999 | e64a652c6b62dd5ca80c2c128186ef4b8bf6cf63 | 889 | alkaa | Apache License 2.0 |
app/src/main/java/com/iriswallet/ui/MainFragment.kt | RGB-Tools | 533,696,092 | false | {"Kotlin": 268429, "Shell": 2988, "CMake": 1621} | package com.iriswallet.ui
import android.os.Bundle
import android.os.Handler
import android.os.Looper
import android.util.Log
import android.view.View
import android.widget.Toast
import androidx.activity.OnBackPressedCallback
import androidx.coordinatorlayout.widget.CoordinatorLayout
import androidx.fragment.app.Fragm... | 1 | Kotlin | 8 | 33 | 28f27bccaa9749c3d0e9f50a0c756cd9a644b1f6 | 7,675 | iris-wallet-android | MIT License |
clients/android/app/src/main/java/app/lockbook/model/CoreModel.kt | lockbook | 231,677,385 | false | null | package app.lockbook.model
import app.lockbook.core.*
import app.lockbook.util.*
import com.beust.klaxon.Klaxon
import com.github.michaelbull.result.Err
import com.github.michaelbull.result.Result
object CoreModel {
private const val PROD_API_URL = "https://api.prod.lockbook.net"
fun getAPIURL(): String = Sy... | 74 | Rust | 0 | 42 | c13a72c20b16c482d0f68a5045d109dc3600ad7c | 12,268 | lockbook | The Unlicense |
bindings-graalvm241/src/jvmMain/kotlin/exports/GraalWasmFunctionBinding.kt | illarionov | 848,247,126 | false | {"Kotlin": 1306808, "ANTLR": 6038, "TypeScript": 3148, "CSS": 1042, "FreeMarker": 450, "JavaScript": 89} | /*
* Copyright 2024, the wasi-emscripten-host project authors and contributors. Please see the AUTHORS file
* for details. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
* SPDX-License-Identifier: Apache-2.0
*/
package at.released.weh.bindings.graalvm241.export... | 0 | Kotlin | 0 | 4 | 8cb136a17cbece15d9e2b0cc9286f35613a149a4 | 1,159 | wasi-emscripten-host | Apache License 2.0 |
app/src/main/java/by/lebedev/nanopoolmonitoring/domain/pool/LoadNanopoolShareCoefficientUseCase.kt | PaladinVCT | 536,445,483 | false | null | package by.lebedev.nanopoolmonitoring.domain.pool
import by.lebedev.nanopoolmonitoring.data.entities.pool.NanopoolPoolInfo
import by.lebedev.nanopoolmonitoring.repository.nanopool.account.AccountRepository
import by.lebedev.nanopoolmonitoring.utils.AppCoroutineDispatchers
import by.lebedev.nanopoolmonitoring.utils.Use... | 0 | Kotlin | 0 | 0 | 07d57e5a42b5794dfc644c08750b1241f6e35f54 | 1,025 | Nanopool | Apache License 2.0 |
src/test/kotlin/kz/btsd/messenger/bot/api/model/command/SendContainerMessageTest.kt | btsdigital | 195,374,563 | false | null | package kz.btsd.messenger.bot.api.model.command
import kz.btsd.messenger.bot.api.helpers.duplicate
import kz.btsd.messenger.bot.api.helpers.randomUuid
import kz.btsd.messenger.bot.api.model.peer.PeerUser
import kz.btsd.messenger.bot.api.validation.LocalId
import org.junit.jupiter.api.Test
import javax.validation.const... | 0 | Kotlin | 1 | 15 | 6279fd30b15e4896a6810d9ebda3436a90dd6781 | 851 | bot-api-contract | Apache License 2.0 |
src/main/java/com/github/kurtyan/fanfou4j/request/search/ListSavedSearchRequest.kt | kurtyan | 75,095,503 | false | {"Maven POM": 1, "Text": 1, "Ignore List": 1, "Markdown": 1, "Kotlin": 80, "Java": 1} | package com.github.kurtyan.fanfou4j.request.search
import com.github.kurtyan.fanfou4j.core.AbstractRequest
import com.github.kurtyan.fanfou4j.core.HttpMethod
import com.github.kurtyan.fanfou4j.entity.Search
/**
* Created by yanke on 2016/12/23.
*/
class ListSavedSearchRequest : AbstractRequest<Array<Search>>("/save... | 1 | null | 1 | 1 | 6e351c10854135cd852cc9396442491234fd9f90 | 361 | fanfou4j | MIT License |
assertk/src/commonTest/kotlin/test/assertk/exceptionName.kt | willowtreeapps | 88,210,079 | false | {"Kotlin": 390320, "Java": 133} | package test.assertk
expect val exceptionPackageName: String
expect val opentestPackageName: String
| 50 | Kotlin | 83 | 749 | c67ae5acb7201064c1c8f08c088428873d64b523 | 102 | assertk | MIT License |
src/main/kotlin/com/volitic/plugin/ngdartfolding/TreeStructureProvider.kt | remalkoil | 237,265,239 | true | {"Kotlin": 10191} | package com.volitic.plugin.ngdartfolding
import com.intellij.ide.projectView.ViewSettings
import com.intellij.ide.projectView.impl.nodes.PsiFileNode
import com.intellij.ide.util.treeView.AbstractTreeNode
/**
* TreeStructureProvider is where actual modifications to the project tree happen. Component dart files and th... | 0 | Kotlin | 0 | 0 | 5827ee8d43eb98addd35fa383770e78be681f6b9 | 1,831 | angulardart-folding | Apache License 2.0 |
Jetsurvey/app/src/main/java/com/example/compose/jetsurvey/survey/question/ChoiceQuestion.kt | hzhu75-ford | 573,177,653 | false | null | /*
* Copyright 2022 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 0 | Kotlin | 0 | 0 | ee217611f6dbddfaafe33ba781cdc99f4b78298b | 9,060 | compose-samples | Apache License 2.0 |
sykepengeperioder/src/test/kotlin/no/nav/helse/sparkel/sykepengeperioder/H2Database.kt | navikt | 341,650,641 | false | null | package no.nav.helse.sparkel.sykepengeperioder
import com.zaxxer.hikari.HikariConfig
import com.zaxxer.hikari.HikariDataSource
import kotliquery.queryOf
import kotliquery.sessionOf
import org.flywaydb.core.Flyway
import org.intellij.lang.annotations.Language
import java.time.LocalDate
import java.time.format.DateTimeF... | 1 | null | 1 | 2 | a963d0d5db6c4fcf81993a551efa2b38ed088b29 | 19,154 | helse-sparkelapper | MIT License |
app/src/main/java/ch/nevis/exampleapp/ui/selectAuthenticator/SelectAuthenticatorViewModel.kt | nevissecurity | 602,532,842 | false | {"Kotlin": 298091, "Ruby": 8543, "CSS": 427} | /**
* Nevis Mobile Authentication SDK Example App
*
* Copyright © 2023. Nevis Security AG. All rights reserved.
*/
package ch.nevis.exampleapp.ui.selectAuthenticator
import ch.nevis.exampleapp.common.error.ErrorHandler
import ch.nevis.exampleapp.domain.model.error.BusinessException
import ch.nevis.exampleapp.ui.b... | 0 | Kotlin | 0 | 2 | cf7c8651cd01254473de3696255f0b78c5a3adb9 | 2,642 | nevis-mobile-authentication-sdk-example-app-android | MIT License |
core/navigation/src/main/java/com/yapp/moa/navigation/gifticon/GifticonDestination.kt | Team-BuddyCon | 668,488,769 | false | {"Kotlin": 448366} | package com.yapp.moa.navigation.gifticon
import androidx.navigation.NavType
import androidx.navigation.navArgument
import com.yapp.moa.designsystem.R
import com.yapp.moa.navigation.base.BottomDestination
import com.yapp.moa.navigation.base.BuddyConDestination
private const val GIFTICON = "기프티콘"
private const val GIFT... | 4 | Kotlin | 0 | 2 | 820edec5c0572cfb20f75c83860d5c98f294f6f9 | 2,110 | MOA | Apache License 2.0 |
src/main/kotlin/com/github/djaler/evilbot/repository/UserRepository.kt | Eastz0r | 385,577,694 | true | {"Kotlin": 122048} | package com.github.djaler.evilbot.repository
import com.github.djaler.evilbot.entity.User
import org.springframework.data.jpa.repository.JpaRepository
interface UserRepository : JpaRepository<User, Int> {
fun findByTelegramId(telegramId: Int): User?
}
| 0 | Kotlin | 0 | 0 | 3bad29f933fd666eb8c296fe9781da4ca9ab3481 | 258 | evil-bot | MIT License |
platform/platform-api/src/com/intellij/ui/picker/ColorPickerPopupCloseListener.kt | ingokegel | 72,937,917 | true | null | // Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.ui.picker
fun interface ColorPickerPopupCloseListener {
fun onPopupClosed()
}
| 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 223 | intellij-community | Apache License 2.0 |
app/src/main/java/com/dubedivine/samples/data/model/Question.kt | dubeboy | 102,972,979 | false | null | package com.dubedivine.samples.data.model
import com.google.gson.annotations.SerializedName
import java.io.Serializable
import java.util.*
import kotlin.collections.ArrayList
/**
* Created by divine on 2017/09/10.
*/
// todo: should not deserialize the the nested objects? , Divine months later, like what was I say... | 0 | Kotlin | 1 | 1 | 0dccd66d69fc3f1ae7cbecbab397d8de6f29cc5c | 1,871 | Peerlink-mobile | The Unlicense |
app/src/main/java/th/ac/kku/cis/lab/androidroom/repository/model/Student.kt | tanapattara | 456,155,720 | false | {"Kotlin": 11005} | package th.ac.kku.cis.lab.androidroom.repository.model
import android.os.Parcel
import android.os.Parcelable
import androidx.room.Entity
import androidx.room.PrimaryKey
@Entity(tableName = "students")
data class Student(@PrimaryKey(autoGenerate = true) var id: Int? = null,
val studentID: String?,
... | 0 | Kotlin | 0 | 0 | 44bdf081525ca9e7d049189473068d0f9f9e75af | 1,202 | Android-Room | MIT License |
kotlin-mui-icons/src/main/generated/mui/icons/material/OutlinedFlagTwoTone.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/OutlinedFlagTwoTone")
package mui.icons.material
@JsName("default")
external val OutlinedFlagTwoTone: SvgIconComponent
| 12 | Kotlin | 5 | 983 | a99345a0160a80a7a90bf1adfbfdc83a31a18dd6 | 202 | kotlin-wrappers | Apache License 2.0 |
src/test/kotlin/com/example/services/OrderServiceTest.kt | sankaranarayanan06 | 598,970,272 | false | null | package com.example.services
import com.example.constants.allUsers
import com.example.constants.inventoryData
import com.example.constants.orderList
import com.example.controller.walletList
import com.example.model.Inventory
import com.example.model.Order
import com.example.model.User
import org.junit.jupiter.api.Asse... | 0 | Kotlin | 0 | 0 | 25944b04a7bde1a7b6a4e67edb6206a89ea07bda | 11,474 | mavericks-sankar-pair | Apache License 2.0 |
app/src/main/java/com/jackyli/salestax/products/ProductsPresenter.kt | liangfenxiaodao | 144,653,405 | false | null | package com.jackyli.salestax.products
import com.jackyli.salestax.domain.product.model.Product
import com.jackyli.salestax.domain.product.usecase.ProductsUseCase
import com.jackyli.salestax.BasePresenter
import com.jackyli.salestax.domain.product.model.BaseTaxCalculator
import com.jackyli.salestax.domain.product.model... | 0 | Kotlin | 0 | 1 | a41dc305e8ff0a07f9c4ba73569f4e5cb7728618 | 1,094 | sales-tax-android | Apache License 2.0 |
app/src/main/java/com/herry/test/app/intent/list/IntentListPresenter.kt | HerryPark | 273,154,769 | false | null | package com.herry.test.app.intent.list
import com.herry.libs.nodeview.model.Node
import com.herry.libs.nodeview.model.NodeHelper
import com.herry.libs.nodeview.model.NodeModelGroup
/**
* Created by herry.park on 2020/06/11.
**/
class IntentListPresenter : IntentListContract.Presenter() {
private val nodes: Nod... | 0 | null | 1 | 3 | 682655ec4ffe8bd564a2de0b8f93d8f9169066a5 | 1,262 | HerryApiDemo | Apache License 2.0 |
jOOQ-mcve-kotlin/src/main/kotlin/org/jooq/mcve/kotlin/tables/records/ActorRecord.kt | kuceraf | 519,723,842 | false | null | /*
* This file is generated by jOOQ.
*/
package org.jooq.mcve.kotlin.tables.records
import java.time.LocalDateTime
import org.jooq.Field
import org.jooq.Record1
import org.jooq.Record4
import org.jooq.Row4
import org.jooq.impl.UpdatableRecordImpl
import org.jooq.mcve.kotlin.tables.Actor
/**
* This class is gene... | 0 | Kotlin | 0 | 0 | 839cbb628ae14279fc117e29974a04e183ad21ed | 3,431 | jOOQ-mcve | Apache License 2.0 |
dateced/src/main/java/com/iamkamrul/dateced/DateCed.kt | kamrul3288 | 570,271,767 | false | null | package com.iamkamrul.dateced
import com.iamkamrul.dateced.DateCedPattern.matchPattern
import java.text.ParseException
import java.text.SimpleDateFormat
import java.util.*
import java.util.concurrent.TimeUnit
import kotlin.math.abs
private const val secondInMillSecond = 1000L
private const val minInMillSecond: Long ... | 0 | Kotlin | 0 | 6 | 2ad98be85bf87fb5888b6a02e20632d6aa45ff39 | 13,506 | dateced | MIT License |
Aoe/src/Principal.kt | aranzabe | 403,376,804 | false | null | import Factoria.factoriaAldeano
import Factoria.factoriaCivilizacion
import kotlin.random.Random
fun asignacionAldeano(): Int {
var cod = 0
val alea = Random.nextInt(0, 100)
if (alea < 40) {
cod = 1
} else if (alea < 60) {
cod = 2
}
return cod
}
fun extraerRecursos(m: Mina, civ... | 0 | Kotlin | 0 | 0 | d287547ea6cacc644802713a3fd514fa333613a4 | 2,995 | kotlin | MIT License |
baselibrary/src/main/java/com/lq/baselibrary/view/dialog/loadingview/style/MultiplePulseRing.kt | yuqianglianshou | 297,072,745 | false | null | package com.lq.baselibrary.view.dialog.loadingview.style
import com.lq.baselibrary.view.dialog.loadingview.sprite.Sprite
import com.lq.baselibrary.view.dialog.loadingview.sprite.SpriteContainer
/**
* @author tamsiree
*/
class MultiplePulseRing : SpriteContainer() {
override fun onCreateChild(): Array<Sprite?>? ... | 1 | null | 1 | 1 | 7f648b8a213143ac05fed4a67b42961802331aab | 615 | BestProject | Apache License 2.0 |
src/test/kotlin/year2023/day04/ProblemTest.kt | Ddxcv98 | 573,823,241 | false | {"Kotlin": 154634} | package year2023.day04
import kotlin.test.Test
import kotlin.test.assertEquals
class ProblemTest {
private val problem = Problem()
@Test
fun part1() {
assertEquals(13, problem.part1())
}
@Test
fun part2() {
assertEquals(30, problem.part2())
}
}
| 0 | Kotlin | 0 | 0 | 455bc8a69527c6c2f20362945b73bdee496ace41 | 293 | advent-of-code | The Unlicense |
app/src/main/java/com/github/jing332/tts_server_android/help/config/PluginConfig.kt | jing332 | 536,800,727 | false | null | package com.github.jing332.tts_server_android.help.config
import com.chibatching.kotpref.KotprefModel
import com.github.jing332.tts_server_android.constant.CodeEditorTheme
object PluginConfig : KotprefModel() {
override val kotprefName: String
get() = "plugin"
var isRemoteSyncEnabled by booleanPref(f... | 4 | Kotlin | 80 | 717 | b8aa01c268c8718f00f2bb6267921ea75e3cf619 | 424 | tts-server-android | MIT License |
solve/src/commonMain/kotlin/it/unibo/tuprolog/solve/stdlib/primitive/Repeat.kt | tuProlog | 230,784,338 | false | null | package it.unibo.tuprolog.solve.stdlib.primitive
import it.unibo.tuprolog.core.Substitution
import it.unibo.tuprolog.solve.ExecutionContext
import it.unibo.tuprolog.solve.primitive.PredicateWithoutArguments
import it.unibo.tuprolog.solve.primitive.Solve
object Repeat : PredicateWithoutArguments.WithoutSideEffects<Exe... | 92 | null | 14 | 93 | 3223ffc302e5da0efe2b254045fa1b6a1a122519 | 522 | 2p-kt | Apache License 2.0 |
app/src/main/java/star/iota/kisssub/ui/rss/main/RssTagFragment.kt | iota9star | 109,848,208 | false | null | /*
*
* * Copyright 2018. iota9star
* *
* * Licensed under the Apache License, Version 2.0 (the "License");
* * you may not use this file except in compliance with the License.
* * You may obtain a copy of the License at
* *
* * http://www.apache.org/licenses/LICENSE-2.0
* *
* * ... | 0 | Kotlin | 5 | 26 | edff44f5308acd660286096cf024cf996b1f29f2 | 3,489 | kisssub | Apache License 2.0 |
connector-model/src/main/kotlin/ch/addere/dga/connectormodel/DependencyImpl.kt | ryru | 658,943,263 | false | {"Kotlin": 85551} | package ch.addere.dga.connectormodel
import java.io.Serializable
data class DependencyImpl(
override val name: String,
override val group: String? = "",
override val version: String? = ""
) : Dependency, Serializable
| 1 | Kotlin | 0 | 2 | 15795bb123f8c048cfec95b1c3128ee302f11f6e | 231 | dependency-graph-analyser | MIT License |
app/src/main/java/com/alejandromr/kontacts/presentation/ui/ContactsListFragment.kt | alejandromr92 | 396,426,398 | false | null | package com.alejandromr.kontacts.presentation.ui
import android.graphics.Canvas
import android.os.Bundle
import android.view.View
import android.view.View.GONE
import android.view.View.VISIBLE
import androidx.appcompat.widget.SearchView
import androidx.core.content.ContextCompat
import androidx.core.view.isVisible
imp... | 0 | Kotlin | 0 | 1 | 2bf4e49db7061fa7aa47ccecf091da2656e4f0bd | 8,271 | Kontacts | Apache License 2.0 |
app/src/main/java/com/github/skytoph/taski/presentation/auth/authentication/AuthViewModel.kt | skytoph | 708,362,840 | false | {"Kotlin": 222636} | package com.github.skytoph.taski.presentation.auth.authentication
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.github.skytoph.taski.domain.auth.repository.AuthRepository
import com.github.skytoph.taski.presentation.auth.authentication.user.UserData
import dagger.hilt.android.... | 0 | Kotlin | 0 | 0 | 7ca889a5b509411edb3ad6aefa09796492067ddc | 664 | HabitMate | The Unlicense |
src/main/kotlin/frc/kyberlib/math/threeD/Translation3d.kt | Kanishk-Pandey | 625,399,371 | false | null | package frc.kyberlib.math.threeD
import edu.wpi.first.math.MatBuilder
import edu.wpi.first.math.Matrix
import edu.wpi.first.math.numbers.N1
import edu.wpi.first.math.numbers.N3
import edu.wpi.first.math.numbers.N4
import frc.kyberlib.math.units.extensions.Length
import frc.kyberlib.math.units.extensions.meters
import ... | 0 | Kotlin | 0 | 0 | e5d6c96397e1b4ab703e638db2361418fd9d4939 | 1,578 | MyRoboticsCode | Apache License 2.0 |
frontend/web-compose-ext/src/jsMain/kotlin/com/varabyte/kobweb/compose/css/Transition.kt | RockySteveJobs | 422,188,937 | true | {"Kotlin": 478096, "HTML": 72} | package com.varabyte.kobweb.compose.css
import org.jetbrains.compose.web.css.AnimationTimingFunction
import org.jetbrains.compose.web.css.CSSSizeValue
import org.jetbrains.compose.web.css.CSSUnitTime
import org.jetbrains.compose.web.css.StyleBuilder
// See: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Transit... | 0 | null | 0 | 0 | 223ba881bfc9e91f8fde6428c8113961c98bbf2a | 1,911 | kobweb | Apache License 2.0 |
src/main/kotlin/moe/kadosawa/ayami/discord/commands/BaseSlash.kt | httpolar | 440,479,429 | false | null | package moe.kadosawa.ayami.discord.commands
import moe.kadosawa.ayami.discord.CheckFailure
import moe.kadosawa.ayami.utils.Config
import mu.KotlinLogging
import net.dv8tion.jda.api.events.interaction.SlashCommandEvent
sealed class BaseSlash {
@Suppress("unused")
private val logger = KotlinLogging.logger {}
... | 0 | Kotlin | 0 | 4 | 79e7e83328b22ec74ad86cf4d8851297e18bb4fe | 1,480 | Ayami | Apache License 2.0 |
vico/compose/src/main/java/com/patrykandpatryk/vico/compose/extension/TextUnitExtensions.kt | ThaiCao | 652,554,705 | false | null | /*
* Copyright 2022 <NAME> and <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 agre... | 0 | Kotlin | 0 | 0 | 58b9b16f786f24b6570ed0252d5785cfe831c906 | 1,059 | vico-chart | Apache License 2.0 |
src/main/java/dev/sora/relay/cheat/module/impl/misc/ModuleRemoteStore.kt | OIMeowIO | 592,181,303 | true | {"Batchfile": 1, "Shell": 1, "Markdown": 2, "INI": 2, "Kotlin": 100, "Java": 71} | package dev.sora.relay.cheat.module.impl.misc
import dev.sora.relay.cheat.module.CheatModule
import dev.sora.relay.game.entity.EntityPlayerSP
class ModuleRemoteStore : CheatModule("RemoteStore","远程商店") {
override fun onEnable() {
val entityList = session.theWorld.entityMap.values.filter {
it.e... | 0 | Java | 0 | 1 | 1b302e622be69ea7f7a1e5ee4bae82f34c8c63b9 | 630 | ProtoHax | MIT License |
xsolla-login-sdk/src/main/java/com/xsolla/android/login/callback/CreateCodeForLinkingAccountCallback.kt | xsolla | 233,092,015 | false | null | package com.xsolla.android.login.callback
interface CreateCodeForLinkingAccountCallback: BaseCallback {
fun onSuccess(code: String)
override fun onError(throwable: Throwable?, errorMessage: String?)
} | 1 | Kotlin | 5 | 9 | 1c3f3d126bbc494e38c797598d724a2c089b0562 | 209 | store-android-sdk | Apache License 2.0 |
app/src/main/java/de/theess/eisbaer/ui/note/NoteViewViewModel.kt | teetrinkers | 215,319,991 | false | null | package de.theess.eisbaer.ui.note
import android.app.Application
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.LiveData
import de.theess.eisbaer.EisbaerApplication
import de.theess.eisbaer.data.Note
import de.theess.eisbaer.data.NoteRepository
class NoteViewViewModel(application: Application) :... | 0 | Kotlin | 0 | 1 | c53a7a9ce76ecfedd398110d4e198c5d7f1604fa | 548 | eisbaer | MIT License |
graphql-dgs-codegen-core/src/integTest/kotlin/com/netflix/graphql/dgs/codegen/cases/interfaceWithInterfaceInheritance/expected/client/QueryProjection.kt | Netflix | 317,379,776 | false | {"Kotlin": 1149646, "Python": 7680, "Java": 5969, "Makefile": 982, "Dockerfile": 246} | package com.netflix.graphql.dgs.codegen.cases.interfaceWithInterfaceInheritance.expected.client
import com.netflix.graphql.dgs.codegen.GraphQLProjection
public class QueryProjection : GraphQLProjection() {
public fun fruits(_projection: FruitProjection.() -> FruitProjection): QueryProjection {
field("fruits", F... | 78 | Kotlin | 90 | 167 | 9161bc9ea648b96eae509ce62d32d7c66034647a | 373 | dgs-codegen | Apache License 2.0 |
markdown-ui/src/main/kotlin/land/sungbin/markdown/ui/EmptyUpdater.kt | jisungbin | 815,573,501 | false | null | /*
* Developed by <NAME> 2024.
*
* Licensed under the MIT.
* Please see full license: https://github.com/jisungbin/compose-markdown/blob/main/LICENSE
*/
package land.sungbin.markdown.runtime.node
import androidx.compose.runtime.Updater
@PublishedApi
internal data object EmptyUpdater : (Updater<out Any>) -> Unit... | 3 | null | 0 | 9 | 043f053e3ef30f11b919d297492567bbb05e581c | 377 | compose-markdown | MIT License |
client/android/div-states/src/main/java/com/yandex/div/state/db/DivStateDaoImpl.kt | divkit | 523,491,444 | false | {"Kotlin": 7327303, "Swift": 5164616, "Svelte": 1148832, "TypeScript": 912803, "Dart": 630920, "Python": 536031, "Java": 507940, "JavaScript": 152546, "CSS": 37870, "HTML": 23434, "C++": 20911, "CMake": 18677, "Shell": 8895, "PEG.js": 7210, "Ruby": 3723, "C": 1425, "Objective-C": 38} | package com.yandex.div.state.db
import android.database.Cursor
import android.database.sqlite.SQLiteDatabase
import android.database.sqlite.SQLiteStatement
import androidx.core.database.getStringOrNull
import com.yandex.div.internal.Assert
import com.yandex.div.state.db.StateSchema.SQL_UPSERT_QUERY_TEMPLATE
internal ... | 5 | Kotlin | 128 | 2,240 | dd102394ed7b240ace9eaef9228567f98e54d9cf | 4,330 | divkit | Apache License 2.0 |
src/commonMain/kotlin/dimensional/usagi/connection/frame/Frame.kt | dimensional-fun | 530,918,524 | false | null | package dimensional.usagi.connection.frame
import dimensional.usagi.protocol.reader.ProtocolReader
import dimensional.usagi.protocol.writer.ProtocolWriter
import io.ktor.utils.io.core.*
public data class Frame(
val header: FrameHeader,
private val payload: ByteArray? = null,
) {
public companion object {
... | 2 | Kotlin | 0 | 2 | b71f9e79034e399540a107a5e20b8ce4accaab66 | 2,214 | usagi | Apache License 2.0 |
app/src/main/java/com/example/markdown/Falnatsheh.kt | HoncharukOleksandr | 244,198,511 | false | null | package com.example.markdown
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import us.feras.mdv.MarkdownView
class Falnatsheh: Fragment() {
override fun onCreateView(inflater: LayoutInflater, container: View... | 0 | Kotlin | 0 | 0 | 396dbb43fbc30f2e4f76726d4509a36101f25ffa | 756 | markdown | Apache License 2.0 |
src/main/kotlin/io/github/sunshinewzy/sunstcore/modules/guide/data/ElementPlayerData.kt | Sunshine-wzy | 511,270,536 | false | null | package io.github.sunshinewzy.sunstcore.modules.guide.data
data class ElementPlayerData(
var isUnlocked: Boolean = false,
var isComplete: Boolean = false
) {
} | 0 | Kotlin | 0 | 0 | 920d4ccd6e242a614a646f64c1558358b8d11639 | 183 | SunSTCore | Creative Commons Zero v1.0 Universal |
Secure-Biometric-App-Kotlin/app/src/main/java/sg/gov/tech/securebiometricappkotlin/BiometricListener.kt | GovTech-CSG | 288,643,475 | false | null | package sg.gov.tech.securebiometricappkotlin
import androidx.biometric.BiometricPrompt
interface BiometricListener {
fun onSuccess(result: BiometricPrompt.AuthenticationResult?)
fun onFailed()
} | 0 | Kotlin | 3 | 6 | 778035d32725a9b6652d7b0f37638409b9dfd7eb | 204 | Biometric-Authentication-Android-App | Apache License 2.0 |
identity/src/main/java/me/uport/sdk/identity/MetaIdentityAccount.kt | uport-project | 134,836,779 | false | null | package me.uport.sdk.identity
import android.content.Context
import android.support.annotation.VisibleForTesting
import com.uport.sdk.signer.UportHDSigner
import com.uport.sdk.signer.UportHDSignerImpl
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import kotlinx.serialization.Transie... | 12 | Kotlin | 7 | 32 | 6b53dc1dcc992b3761496c1f4b13838b1bf914d5 | 2,424 | uport-android-sdk | Apache License 2.0 |
essentials/src/main/java/info/covid/essentials/di/essentialsModule.kt | Ciriously | 340,889,395 | false | null | package info.covid.essentials.di
import info.covid.essentials.EssentialsViewModel
import info.covid.essentials.filter.EssentialFilterViewModel
import org.koin.android.viewmodel.dsl.viewModel
import org.koin.dsl.module
val essentialsModule = module {
viewModel { EssentialsViewModel(get()) }
viewModel { Essenti... | 0 | Kotlin | 0 | 2 | e8332951a4fc288e389a18558568091ca6be1de0 | 348 | covid-19-stats-Kotlin | MIT License |
modules/core/model/src/main/kotlin/nasa/core/model/Urls.kt | jonapoul | 794,260,725 | false | {"Kotlin": 488069} | package nasa.core.model
const val NASA_API_URL = "https://api.nasa.gov"
const val GALLERY_API_URL = "https://images-api.nasa.gov"
| 1 | Kotlin | 0 | 1 | 3638e2a3f3c1da5303a65ecc7828ffe9c2ff5d69 | 131 | nasa-android | Apache License 2.0 |
plugin-core/src/main/kotlin/net/meilcli/librarian/plugin/tasks/ShowFirstConfigurationDependenciesTask.kt | MeilCli | 250,963,046 | false | null | package net.meilcli.librarian.plugin.tasks
import net.meilcli.librarian.plugin.LibrarianDepth
import net.meilcli.librarian.plugin.LibrarianExtension
import net.meilcli.librarian.plugin.entities.DependencyGraph
import net.meilcli.librarian.plugin.internal.artifacts.DependencyGraphLoader
import org.gradle.api.DefaultTas... | 24 | Kotlin | 1 | 4 | 35598bea44864f96e62a6abdccb274b4b3ca1622 | 1,672 | Librarian | MIT License |
app/src/main/java/io/habit/android/sdklogin/App.kt | habitio | 198,196,651 | false | null | package io.habit.android.sdklogin
import android.app.Application
import io.habit.analytics.HabitStatusCodes
import io.habit.analytics.SDK
import io.habit.android.sdklogin.repository.LocalRepository
import io.habit.android.sdklogin.repository.LocalRepositoryPreferencesGateway
import timber.log.Timber
class App : Appli... | 0 | Kotlin | 0 | 0 | aa012a47331e6c6c5e0a2eba9fac408a6fc96fd4 | 883 | habit-android-sdk-sample | MIT License |
src/main/kotlin/facadePattern/classes/Rectangle.kt | mel182 | 262,513,252 | false | {"Kotlin": 34352} | package facadePattern.classes
import facadePattern.interfaces.Shape
class Rectangle : Shape {
override fun draw() {
println("Rectangle:draw")
}
} | 0 | Kotlin | 0 | 0 | 14b2eede349df6693f9b5415fe2e46d93bc038fa | 164 | design_pattern | Apache License 2.0 |
src/main/kotlin/org/ambientlux/service/Properties.kt | Posedge | 174,876,489 | false | null | package org.ambientlux.service
import org.springframework.boot.context.properties.ConfigurationProperties
import org.springframework.context.annotation.Configuration
@Configuration
@ConfigurationProperties
class ScheduleProperties {
var lightSchedules: List<Schedule> = ArrayList()
}
class Schedule {
lateinit... | 0 | Kotlin | 0 | 1 | 17a766478de1f8543bf90e2b5fd78d2fa36a1600 | 553 | a.lux | MIT License |
korge-core/src/korlibs/io/file/registry/WindowsRegistry.kt | korlibs | 80,095,683 | false | {"WebAssembly": 14293935, "Kotlin": 9728800, "C": 77092, "C++": 20878, "TypeScript": 12397, "HTML": 6043, "Python": 4296, "Swift": 1371, "JavaScript": 328, "Shell": 254, "CMake": 202, "CSS": 66, "Batchfile": 41} | package korlibs.io.file.registry
import korlibs.annotations.*
import korlibs.ffi.*
import korlibs.io.lang.*
import korlibs.platform.*
private typealias HKEY = Int
object WindowsRegistry {
@KeepNames
object Advapi32 : FFILib("Advapi32") {
val RegCloseKey: (hKey: HKEY) -> Int by func(config = FFIFuncCo... | 444 | WebAssembly | 121 | 2,207 | dc3d2080c6b956d4c06f4bfa90a6c831dbaa983a | 18,306 | korge | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.