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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
shared/src/commonMain/kotlin/uk/co/sentinelweb/cuer/app/ui/player/PlayerContract.kt | sentinelweb | 220,796,368 | false | {"Kotlin": 2604269, "CSS": 205156, "Java": 98919, "Swift": 85812, "HTML": 19322, "JavaScript": 12105, "Ruby": 2170} | package uk.co.sentinelweb.cuer.app.ui.player
import com.arkivanov.mvikotlin.core.store.Store
import com.arkivanov.mvikotlin.core.view.MviView
import kotlinx.datetime.Clock
import uk.co.sentinelweb.cuer.app.ui.common.views.description.DescriptionContract.DescriptionModel
import uk.co.sentinelweb.cuer.app.ui.play_contro... | 95 | Kotlin | 0 | 2 | ededd667157400da44e696c2da5adaf6f9b763ee | 11,642 | cuer | Apache License 2.0 |
app/src/main/java/com/stocksexchange/android/ui/views/UserAdmissionButton.kt | nscoincommunity | 277,168,471 | true | {"Kotlin": 2814235} | package com.stocksexchange.android.ui.views
import android.content.Context
import android.graphics.Color
import android.util.AttributeSet
import android.view.View
import androidx.annotation.ColorInt
import androidx.core.content.withStyledAttributes
import com.stocksexchange.android.R
import com.stocksexchange.android.... | 0 | null | 0 | 0 | 52766afab4f96506a2d9ed34bf3564b6de7af8c3 | 3,572 | Android-app | MIT License |
domain/src/main/java/com/kuluruvineeth/domain/features/profile/model/ManualSettings.kt | kuluruvineeth | 595,400,329 | false | null | package com.kuluruvineeth.domain.features.profile.model
sealed class ManualSettings {
object UseSystemTheme : ManualSettings()
object UseDarkTheme : ManualSettings()
object UseAutoGc : ManualSettings()
} | 0 | Kotlin | 0 | 0 | a8603d847f831bf6391fa07009cff633f676805c | 216 | pointsofinterests | Apache License 2.0 |
app/src/main/java/com/ning/mvvmplayandroid/ui/model/SearchHistoryModel.kt | caa0924 | 327,831,602 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 4, "Proguard": 1, "Kotlin": 84, "XML": 66, "Java": 25} | package fule.com.playandroidkotlin.ui.model
import java.io.Serializable
/**
* 作者: njb
* 时间: 2018/8/11 0011-下午 5:33
* 描述:
* 来源:
*/
class SearchHistoryModel: Serializable{
var id : Long = 0
var key : String ?= null
} | 1 | null | 1 | 1 | 7d46e5976075fceaac53504910a621aec6fd5624 | 229 | MvvmAndroid | Apache License 2.0 |
shared/src/commonMain/kotlin/navigation/TabNavigationItem.kt | ddevilcore | 787,301,288 | false | {"Kotlin": 50260, "Swift": 581, "Shell": 228} | package navigation
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material.Icon
import androidx.compose.material.IconButton
import androidx.compose.material.Surface
import androidx.co... | 0 | Kotlin | 0 | 0 | f887c98d0aade1269dc4c1926ef9c06397c0da6d | 1,248 | composeApp | Apache License 2.0 |
app/src/main/java/zlc/season/morbidmaskapp/TestActivity.kt | ssseasonnn | 197,581,259 | false | null | package zlc.season.morbidmaskapp
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import android.util.Log
import kotlinx.android.synthetic.main.activity_test.*
import zlc.season.morbidmask.annotation.MutableParams
import zlc.season.morbidmask.annotation.Params
import zlc.season.morbidmask.annot... | 2 | Kotlin | 2 | 67 | 6edd6a037ae150a9b05731a960e222e8c14d74c0 | 2,097 | MobidMask | Apache License 2.0 |
src/main/kotlin/dev/emortal/lobby/commands/SitCommand.kt | emortalmc | 396,165,548 | false | null | package dev.emortal.lobby.commands
import dev.emortal.immortal.game.GameManager
import dev.emortal.lobby.SeatEntity
import dev.emortal.lobby.modules.armourStandSeatList
import net.kyori.adventure.text.Component
import net.kyori.adventure.text.format.NamedTextColor
import net.minestom.server.command.builder.Command
imp... | 9 | Kotlin | 0 | 1 | f7c0d40c8b7a19d17e0b34c741e98373aa856a3b | 2,257 | LobbyExtensionOld | MIT License |
typescript-kotlin/src/jsMain/kotlin/typescript/TypeOnlyCompatibleAliasDeclaration.kt | karakum-team | 393,199,102 | false | {"Kotlin": 6914539} | // Automatically generated - do not modify!
package typescript
sealed external interface TypeOnlyCompatibleAliasDeclaration /* ImportClause | ImportEqualsDeclaration | NamespaceImport | ImportOrExportSpecifier | ExportDeclaration | NamespaceExport */
| 0 | Kotlin | 7 | 31 | c3de7c4098277a67bd40a9f0687579a6b9956cb2 | 253 | types-kotlin | Apache License 2.0 |
feature/product/src/main/kotlin/com/niyaj/feature/product/details/ProductTotalOrderDetails.kt | skniyajali | 644,752,474 | false | {"Kotlin": 5076894, "Shell": 16584, "Ruby": 1461, "Java": 232} | /*
* Copyright 2024 Sk Niyaj Ali
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 42 | Kotlin | 0 | 1 | a38d8d1551726195cab9c65595de0a4fa34e893b | 976 | PoposRoom | Apache License 2.0 |
sms-core/src/main/kotlin/team/msg/sms/domain/salary/model/Salary.kt | GSM-MSG | 625,717,097 | false | null | package team.msg.sms.domain.salary.model
import team.msg.sms.common.annotation.Aggregate
@Aggregate
data class Salary(
val id: Long,
val min: Long,
val max: Long,
val studentId: Long
) | 0 | Kotlin | 0 | 2 | 98ce08547baff34d568cdd6c7e29eb14e3e9aea1 | 202 | SMS-BackEnd | MIT License |
app/src/main/java/com/bossed/waej/adapter/ItemAdapter.kt | Ltow | 710,230,789 | false | {"Kotlin": 2304560, "Java": 395495, "HTML": 71364} | package com.bossed.waej.adapter
import android.text.TextUtils
import android.view.View
import android.widget.ImageView
import android.widget.TextView
import com.bossed.waej.R
import com.bossed.waej.javebean.ItemBean
import com.bossed.waej.javebean.ItemDispatchBean
import com.bossed.waej.util.PopupWindowUtils
import co... | 0 | Kotlin | 0 | 0 | 8c2e9928f6c47484bec7a5beca32ed4b10200f9c | 5,851 | wananexiu | Mulan Permissive Software License, Version 2 |
app/src/main/java/com/husseinelfeky/smartbank/network/Constants.kt | hfeky | 362,859,956 | false | {"Kotlin": 142897, "Java": 2417} | package com.husseinelfeky.smartbank.network
object FirebaseApi {
const val BASE_URL = "https://us-central1-smart-bank-touchless-atm.cloudfunctions.net"
}
| 1 | Kotlin | 1 | 4 | 41d50d33388fab74ea3700a00b3b51eeed3009da | 159 | touchless-qr-based-atm | MIT License |
core/src/testFixtures/kotlin/com/alecstrong/sql/psi/test/fixtures/TestHeadlessParser.kt | AlecKazakova | 100,426,545 | false | {"Kotlin": 130599, "Lex": 8074, "Python": 932, "Java": 140} | package com.alecstrong.sql.psi.test.fixtures
import com.alecstrong.sql.psi.core.SqlAnnotationHolder
import com.alecstrong.sql.psi.core.SqlCoreEnvironment
import com.alecstrong.sql.psi.core.SqlFileBase
import com.alecstrong.sql.psi.core.SqlParserDefinition
import com.intellij.core.CoreApplicationEnvironment
import com.... | 30 | Kotlin | 27 | 95 | 056d784079452b9ce34d9f825d84478e29025a99 | 3,065 | sql-psi | Apache License 2.0 |
im-api/api-gateway/src/main/kotlin/city/smartb/im/api/gateway/ImApplication.kt | smartbcity | 651,445,390 | false | null | package city.smartb.im.api.gateway
import org.springframework.boot.SpringApplication
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.cache.annotation.EnableCaching
@EnableCaching
@SpringBootApplication(scanBasePackages = ["city.smartb.im", "city.smartb.i2.spring.boot.aut... | 0 | Kotlin | 0 | 0 | a85f09c5416ce211b671c14b13d25fbbe9804f3a | 483 | connect-im | Apache License 2.0 |
renders/webgl/src/commonTest/kotlin/com/aitorgf/threekt/math/MutableBox3Test.kt | tokkenno | 276,641,018 | false | null | package com.aitorgf.threekt.math
import kotlin.js.ExperimentalJsExport
import kotlin.test.Test
import kotlin.test.assertEquals
@ExperimentalJsExport
class MutableBox3Test {
val zero = Vector3(0.0, 0.0, 0.0)
val one = Vector3(1.0, 1.0, 1.0)
val two = Vector3(2.0, 2.0, 2.0)
@Test
fun `Set from cent... | 0 | Kotlin | 0 | 0 | ae7731892ca6784f382c858bf623d68f73819fe9 | 1,014 | threekt | MIT License |
core-mpp/src/commonMain/kotlin/io/github/unredundant/satisfaketion/core/Faker.kt | rgbrizzlehizzle | 368,589,852 | false | null | package io.github.unredundant.satisfaketion.core
import kotlin.random.Random
interface Faker<T> {
fun generate(seed: Random): T
}
| 4 | Kotlin | 1 | 5 | 1619f9841cccf2f8300c330b1b425c09aca2f462 | 134 | satisfaketion | MIT License |
src/main/kotlin/dev/crashteam/keanalytics/repository/clickhouse/model/ChProductPositionHistory.kt | crashteamdev | 643,974,955 | false | {"Kotlin": 545613, "Dockerfile": 698} | package dev.crashteam.keanalytics.repository.clickhouse.model
import java.time.LocalDate
data class ChProductPositionHistory(
val date: LocalDate,
val position: Long,
)
| 1 | Kotlin | 0 | 0 | 61d533fb47d56620dbeb63e68743e6cd1f59a9b1 | 179 | ke-analytics | Apache License 2.0 |
wear/app/src/main/java/rocks/poopjournal/fucksgivenwatch/di/AppModule.kt | Crazy-Marvin | 88,270,317 | false | {"Kotlin": 163243} | package rocks.poopjournal.fucksgivenwatch.di
import android.content.Context
import androidx.room.Room
import rocks.poopjournal.fucksgivenwatch.data.FuckDao
import rocks.poopjournal.fucksgivenwatch.data.FuckDatabase
import rocks.poopjournal.fucksgivenwatch.utils.THEDATABASE_DATABASE_NAME
import dagger.Module
import dag... | 3 | Kotlin | 9 | 98 | 9f39580a8bb8cd01f92262360a1c6d1d4c353b66 | 941 | FucksGiven | Apache License 2.0 |
wear/src/main/java/com/turtlepaw/health/database/exercise/model.kt | Turtlepaw | 850,914,510 | false | {"Kotlin": 619443} | package com.turtlepaw.shared.database.exercise
import androidx.room.Entity
import androidx.room.PrimaryKey
import com.turtlepaw.heart_connection.Metric
import java.time.Duration
import java.time.LocalDateTime
import java.time.LocalTime
@Entity(tableName = "preferences")
data class Preference(
@PrimaryKey(autoGene... | 0 | Kotlin | 0 | 0 | fefcc68ef68667f28eebe6de2b12ab1ce252e439 | 816 | health | Apache License 2.0 |
src/main/kotlin/rando/config/Configuration.kt | ustits | 478,693,908 | false | null | package rando.config
import com.sksamuel.hoplite.ConfigLoader
import com.sksamuel.hoplite.ConfigLoaderBuilder
import com.sksamuel.hoplite.PropertySource
import java.io.File
data class Configuration(
val server: Server = Server(),
val app: App = App(),
val database: Database = Database()
)
fun readConfigu... | 0 | Kotlin | 0 | 0 | 9221929ceb8f7691ad0d5b4382f26634504e7b50 | 789 | rando | MIT License |
katarina-api/src/main/kotlin/com/hubtwork/katarinaapi/service/jpaService/UserWithMatchService.kt | muscleJoah | 333,264,682 | false | null | package com.hubtwork.katarinaapi.service.jpaService
import com.hubtwork.katarinaapi.jpa.domain.UserWithMatch
import com.hubtwork.katarinaapi.jpa.respository.UserWithMatchRepository
import org.springframework.stereotype.Service
@Service
class UserWithMatchService(private val repository : UserWithMatchRepository) {
... | 0 | Kotlin | 0 | 0 | 42ac132e48c3743eb3cbafa170c614bbdef63dc3 | 405 | KatarinaDataCrawling | MIT License |
backend/src/main/kotlin/com/zenika/lunchPlace/organization/Organization.kt | Zenika | 71,989,106 | false | null | package com.zenika.lunchPlace.organization
import org.springframework.data.annotation.Id
import java.io.Serializable
data class Organization(val name: String = "",
val teams: MutableList<Team> = mutableListOf<Team>(),
@Id val id: String? = null) : Serializable
| 3 | Kotlin | 5 | 5 | fc67e2cf191306ed241989ce9708974e79f893dd | 312 | lunchPlace | MIT License |
app/src/main/java/com/pachatary/data/common/ClientExceptionMapper.kt | jordifierro | 116,311,809 | false | null | package com.abidria.data.auth
import com.google.gson.JsonParser
data class ClientExceptionMapper(val errorBodyString: String) {
fun toError(): ClientException {
val jsonElement = JsonParser().parse(errorBodyString)
val jsonError = jsonElement.asJsonObject.get("error").asJsonObject
val sou... | 0 | Kotlin | 1 | 2 | f6ec0112c4a555232c8544e4f380dd733dddb286 | 527 | pachatary-android | Apache License 2.0 |
src/main/java/com/silverhetch/vesta/tag/uri/TagUriImpl.kt | LarryHsiao | 164,227,499 | false | null | package com.silverhetch.vesta.tag.uri
import com.silverhetch.vesta.tag.Tag
import java.net.URI
/**
* The implementation of [TagUri]
*/
class TagUriImpl : TagUri {
private val uri: URI
constructor(uri: URI) {
this.uri = uri
}
constructor(tagId: Long) {
this.uri = URI.create("vesta:/... | 5 | Kotlin | 1 | 1 | 5795894581bf205518a8dcca48cd1d3ca240d372 | 669 | Vesta | MIT License |
vivy_encryptor/src/main/java/com/vivy/symmetric/SymmetricEncryption.kt | VivyTeam | 166,982,417 | false | null | package com.vivy.symmetric
interface SymmetricEncryption {
fun encrypt(
data: ByteArray,
key: ByteArray,
iv: ByteArray
): ByteArray
fun decrypt(
encryptedData: ByteArray,
key: ByteArray,
iv: ByteArray
): ByteArray
}
| 1 | Kotlin | 0 | 3 | 923dde9bf16623e3481dc25b37fff7031337d0fc | 307 | krypt-android | MIT License |
src/main/kotlin/ru/maxultra/meme_creator_telegram_bot/logic/MemeCreatorReducer.kt | mmoschenskikh | 567,892,565 | false | {"Kotlin": 27459, "Dockerfile": 426} | package ru.maxultra.meme_creator_telegram_bot.logic
import org.telegram.telegrambots.meta.api.objects.Message
import ru.maxultra.meme_creator_telegram_bot.logic.MemeCreator.Eff
import ru.maxultra.meme_creator_telegram_bot.logic.MemeCreator.Msg
import ru.maxultra.meme_creator_telegram_bot.model.local.MemeModel
import r... | 0 | Kotlin | 0 | 0 | 39e50fed0f5d67b1e1cb53efa623ad3375170e9e | 2,041 | meme-creator-telegram-bot | MIT License |
src/main/kotlin/ru/maxultra/meme_creator_telegram_bot/logic/MemeCreatorReducer.kt | mmoschenskikh | 567,892,565 | false | {"Kotlin": 27459, "Dockerfile": 426} | package ru.maxultra.meme_creator_telegram_bot.logic
import org.telegram.telegrambots.meta.api.objects.Message
import ru.maxultra.meme_creator_telegram_bot.logic.MemeCreator.Eff
import ru.maxultra.meme_creator_telegram_bot.logic.MemeCreator.Msg
import ru.maxultra.meme_creator_telegram_bot.model.local.MemeModel
import r... | 0 | Kotlin | 0 | 0 | 39e50fed0f5d67b1e1cb53efa623ad3375170e9e | 2,041 | meme-creator-telegram-bot | MIT License |
imagetaker/src/main/java/com/ulvijabbarli/imagetaker/listener/ImageOperationStatusListener.kt | ulvij | 214,688,083 | false | null | package com.ulvijabbarli.imagetaker.listener
import android.graphics.Bitmap
import java.io.File
abstract class ImageOperationStatusListener {
private lateinit var file: File
abstract fun onOperationSuccess(image: Bitmap)
abstract fun onOperationFailure(errorMessage: String)
fun setImageFile(file: ... | 1 | Kotlin | 1 | 1 | ffb346b6567c969983659e9d685d2f5be0354bd5 | 418 | ImageTaker | MIT License |
app/src/main/java/com/items/bim/common/consts/LocalConfig.kt | losebai | 800,799,665 | false | {"Kotlin": 648062, "Java": 11455} | package com.items.bim.common.consts
object LocalConfig {
const val localCookies = "local.cookie"
} | 0 | Kotlin | 0 | 0 | 325bd3c4d8d9c7717dafd3e8d346446f85e32b8a | 105 | B-Im | Apache License 2.0 |
app/src/main/java/info/moevm/moodle/ui/theme/Theme.kt | moevm | 297,595,021 | false | null | package info.moevm.moodle.ui.theme
import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.material.Colors
import androidx.compose.material.MaterialTheme
import androidx.compose.material.darkColors
import androidx.compose.material.lightColors
import androidx.compose.runtime.Composable
import and... | 18 | Kotlin | 0 | 0 | 65c8850ba081be04eb599813f03449378876a88f | 2,725 | mse_android_app_for_moodle | MIT License |
android/app/src/main/java/it/airgap/vault/util/AnyExtensions.kt | airgap-it | 140,544,417 | false | null | package it.airgap.vault.util
fun Any.serialize(): Any = when (this) {
is String -> "\"$this\""
else -> toString()
} | 58 | null | 110 | 396 | 091fff8707ea5cac8670c143daade542c899bf6f | 124 | airgap-vault | MIT License |
app/src/main/java/com/eurobond/features/taskManagement/PriorityTaskSel.kt | DebashisINT | 780,900,656 | false | {"Kotlin": 16447920, "Java": 1022222} | package com.breezefieldsalesdemo.features.taskManagement
import com.breezefieldsalesdemo.base.BaseResponse
data class PriorityTaskSel(var task_priority_list:ArrayList<TaskPriorityResponse> = ArrayList()): BaseResponse()
data class TaskPriorityResponse (var task_priority_id:String = "",
... | 0 | Kotlin | 0 | 0 | 6e9c7441fe4cafbb49015b29dc2a1927452f2595 | 366 | FSM_APP_ANDROIDX_LastApiBuild | Apache License 2.0 |
app/src/main/kotlin/com/imangazaliev/notelin/ui/commons/ItemClickSupport.kt | ImangazalievM | 56,873,521 | false | null | package com.adiutant.notes.adapters
import android.view.View
import com.adiutant.notes.R
import androidx.recyclerview.widget.RecyclerView
import androidx.recyclerview.widget.RecyclerView.OnChildAttachStateChangeListener
class ItemClickSupport private constructor(private val recyclerView: RecyclerView) {
compan... | 1 | null | 39 | 148 | 9eea4d499727b45049baf1d516c0597f388e45bf | 3,296 | Notelin | The Unlicense |
compiler/testData/codegen/bytecodeText/boxingOptimization/inlineClassesAndInlinedLambda.kt | JetBrains | 3,432,266 | false | null | // LANGUAGE: +InlineClasses
// FILE: dependency.kt
inline class InlinedInt(val internal: Int)
inline class InlinedString(val internal: String)
inline fun <T> foo(callback: () -> T): T {
return callback()
}
inline fun bar(callback: () -> InlinedInt): InlinedInt {
return callback()
}
inline fun baz(callback... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 698 | kotlin | Apache License 2.0 |
src/main/kotlin/Main.kt | LuodachuiXG | 729,846,062 | false | {"Kotlin": 35198} | import algorithm.*
import algorithm.AlgorithmsEnum.*
import androidx.compose.animation.Crossfade
import androidx.compose.animation.animateContentSize
import androidx.compose.animation.core.*
import androidx.compose.animation.fadeIn
import androidx.compose.desktop.ui.tooling.preview.Preview
import androidx.compose.found... | 0 | Kotlin | 0 | 0 | 99f2195e1c6f51a14602d75b31b05419ebc3cbcc | 16,212 | MemoryAllocation | Apache License 2.0 |
kotest-framework/kotest-framework-datatest/src/jvmTest/kotlin/io/kotest/datatest/DescribeSpecForAllDataTest.kt | comahe-de | 423,253,927 | true | {"Kotlin": 3297666, "CSS": 352, "Java": 145} | package io.kotest.datatest
import io.kotest.common.ExperimentalKotest
import io.kotest.core.spec.style.DescribeSpec
import io.kotest.matchers.shouldBe
@ExperimentalKotest
internal class DescribeSpecForAllDataTest : DescribeSpec() {
init {
val results = registerRootTests()
var count = 0
afterTes... | 0 | null | 0 | 0 | 3a03d74521d406ff8e3ebc82285e34511812f973 | 672 | kotest | Apache License 2.0 |
app/src/main/java/com/example/appName/presentation/random/RandomPresenter.kt | przemek19980102 | 180,936,819 | true | {"Kotlin": 29073} | package com.example.appName.presentation.random
import io.reactivex.Observable
import io.reactivex.disposables.Disposable
import io.reactivex.subjects.BehaviorSubject
import java.util.*
import javax.inject.Inject
class RandomPresenter @Inject constructor(private val view: RandomView,
... | 1 | Kotlin | 0 | 0 | ecaa38aa94adb11b58cecc93567647737af1e805 | 2,329 | Mvi-Android-Example | MIT License |
app/src/main/java/com/softaai/dsa_kotlin/priorityqueue/Heap.kt | amoljp19 | 537,774,597 | false | {"Kotlin": 139041} | package com.softaai.dsa_kotlin.priorityqueue
import java.util.*
import kotlin.Comparator
import kotlin.collections.ArrayList
/**
* Created by amoljp19 on 11/18/2022.
* softAai Apps.
*/
interface Collection<T> {
val count : Int
get
val isEmpty : Boolean
get() = count == 0
fun insert(value :... | 0 | Kotlin | 0 | 1 | 3dabfbb1e506bec741aed3aa13607a585b26ac4c | 5,208 | DSA_KOTLIN | Apache License 2.0 |
android/presentation/src/main/java/com/saehyun/presentation/feature/journal/SMonkeyCalendarView.kt | hackersground-kr | 656,532,644 | false | null | package com.saehyun.presentation.feature.journal
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.la... | 0 | Kotlin | 3 | 3 | 6782fb89e747b4b3f7cd8170d480597bb1b99c30 | 4,093 | smonkey | MIT License |
src/test/kotlin/hm/binkley/labs/skratch/math/matrix/GenericMatrix2x2Test.kt | binkley | 81,584,688 | false | {"YAML": 3, "Shell": 3, "Batchfile": 2, "Markdown": 2, "Maven POM": 1, "Ignore List": 1, "Git Attributes": 1, "EditorConfig": 1, "INI": 1, "Java Properties": 1, "SVG": 1, "Kotlin": 105, "Java": 1} | package hm.binkley.labs.skratch.math.matrix
import org.junit.jupiter.api.Assertions.assertTrue
import org.junit.jupiter.api.Test
internal class GenericMatrix2x2Test {
@Test
fun equivalentIfTypesEquivalent() {
val left = GenericMatrix2x2(
Rational.ONE,
Rational.ZERO,
... | 5 | Kotlin | 0 | 1 | 92df064eda6f76b218e3eefcdad5a9a0f21e66ca | 645 | skratch | The Unlicense |
Katydid-VDOM-JS/src/main/kotlin/i/katydid/vdom/builders/tables/KatydidTableBodyContentBuilderImpl.kt | martin-nordberg | 131,987,610 | false | null | //
// (C) Copyright 2018-2019 <NAME>
// Apache 2.0 License
//
package i.katydid.vdom.builders.tables
import i.katydid.vdom.builders.KatydidAttributesContentBuilderImpl
import i.katydid.vdom.builders.KatydidContentRestrictions
import i.katydid.vdom.elements.KatydidHtmlElementImpl
import i.katydid.vdom.elements.tabular... | 1 | Kotlin | 1 | 6 | 8fcb99b2d96a003ff3168aef101eaa610e268bff | 2,940 | Katydid | Apache License 2.0 |
app/src/main/java/abdul/hafiidh/oratashop/ui/Home/AdapterMainKtg.kt | yonieq | 402,402,435 | false | null | package abdul.hafiidh.oratashop.ui.Home
import abdul.hafiidh.oratashop.R
import abdul.hafiidh.oratashop.data.DataKtg
import abdul.hafiidh.oratashop.data.DataProduct
import abdul.hafiidh.oratashop.data.ModelProduct
import abdul.hafiidh.oratashop.ui.Detail.DetailActivity
import android.content.Intent
import android.view... | 0 | Kotlin | 0 | 0 | 38d297e6a3883b661e6e374168e57d2014a819eb | 1,531 | penjualan-ayam-android | MIT License |
app/src/test/java/com/assignment/bongotalkies/movie_details/MovieDetailsViewModelTest.kt | anjandebnath | 493,330,612 | false | null | package com.assignment.bongotalkies.movie_details
import androidx.arch.core.executor.testing.InstantTaskExecutorRule
import com.assignment.bongotalkies.network.MovieListService
import com.assignment.bongotalkies.repository.MovieDetailsRepository
import com.google.gson.GsonBuilder
import kotlinx.coroutines.runBlocking
... | 0 | Kotlin | 0 | 0 | 54c06f2be449823e2a881fecc9ea496a11bbabf1 | 2,266 | BongoTalkies | Apache License 2.0 |
inspector/src/main/kotlin/com/github/weisj/swingdsl/inspector/HierarchyTree.kt | weisJ | 349,581,043 | false | null | /*
* MIT License
*
* Copyright (c) 2021 <NAME>
*
* 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, modify, m... | 4 | Kotlin | 0 | 6 | 7291a86a000007d74027cc7ec1b332664ea60cb7 | 8,032 | swing-dsl | MIT License |
src/main/kotlin/dev/cbyrne/kdiscordipc/data/user/PremiumType.kt | caoimhebyrne | 379,862,700 | false | null | package dev.cbyrne.kdiscordipc.data.user
import kotlinx.serialization.KSerializer
import kotlinx.serialization.Serializable
import kotlinx.serialization.descriptors.PrimitiveKind
import kotlinx.serialization.descriptors.PrimitiveSerialDescriptor
import kotlinx.serialization.descriptors.SerialDescriptor
import kotlinx.... | 2 | null | 8 | 37 | b136b267d146544c49d80b4c9a046d66324a601b | 1,296 | KDiscordIPC | MIT License |
app/src/main/kotlin/com/wiley/fordummies/androidsdk/tictactoe/model/viewmodel/ContactViewModel.kt | acchampion | 157,287,910 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 67, "XML": 53, "Java": 5} | package com.wiley.fordummies.androidsdk.tictactoe.model.viewmodel
import android.app.Application
import android.content.ContentResolver
import android.database.Cursor
import android.provider.ContactsContract
import androidx.lifecycle.AndroidViewModel
import com.wiley.fordummies.androidsdk.tictactoe.model.Contact
impor... | 0 | Kotlin | 3 | 3 | a7ed3df4e9f69508350f72309cf4314e1aecb931 | 2,756 | TicTacToeKotlin | Apache License 2.0 |
ios-app/src/iosMain/kotlin/Screens/SplashViewController.kt | JetBrains | 204,497,967 | false | null | package screens
import com.kotlinconf.library.feature.mainMap.presentation.SplashViewModel
import common.fillContainer
import common.fillSuperview
import kotlinx.cinterop.ObjCAction
import platform.CoreGraphics.CGRectMake
import platform.CoreGraphics.CGSizeMake
import platform.Foundation.NSCoder
import platform.Founda... | 1 | Kotlin | 7 | 33 | 915eb539cf04248b1314a14a596b8affb68352c1 | 2,124 | KotlinFinder | Apache License 2.0 |
app/src/main/java/com/canerkorkmaz/cicek/jobdistribution/model/IPositionable.kt | nberktumer | 173,110,988 | false | {"Kotlin": 47340} | package com.canerkorkmaz.cicek.jobdistribution.model
interface IPositionable {
fun getLatitude(): Double
fun getLongitude(): Double
}
fun IPositionable.distanceSqr(other: IPositionable): Double =
Math.pow(getLatitude() - other.getLatitude(), 2.0) +
Math.pow(getLongitude() - other.getLongitude(... | 0 | Kotlin | 0 | 0 | bd3356d1dcd0da1fa4a4ed5967205ea488724d3a | 328 | CicekSepeti-Hackathon | Apache License 2.0 |
core-media/src/main/java/com/thoughtworks/ark/media/video/view/CrossFadeVideoView.kt | TW-Smart-CoE | 548,729,881 | false | null | @file:Suppress("TooManyFunctions")
package com.thoughtworks.ark.media.video.view
import android.content.Context
import android.util.AttributeSet
import android.view.View
import android.view.ViewGroup.LayoutParams.MATCH_PARENT
import android.widget.FrameLayout
import androidx.core.view.forEach
import com.thoughtworks.... | 16 | Kotlin | 2 | 16 | 35d0c4fe5e9ffc1c0cbd6318e46a2ad6f34f4e63 | 5,164 | ARK-Android | Apache License 2.0 |
query-model/jpql/src/main/kotlin/com/linecorp/kotlinjdsl/querymodel/jpql/expression/impl/JpqlValue.kt | line | 442,633,985 | false | {"Kotlin": 1959613, "JavaScript": 5144, "Shell": 1023} | package com.linecorp.kotlinjdsl.querymodel.jpql.expression.impl
import com.linecorp.kotlinjdsl.Internal
import com.linecorp.kotlinjdsl.querymodel.jpql.expression.Expression
@Internal
data class JpqlValue<T : Any> internal constructor(
val value: T,
) : Expression<T>
| 4 | Kotlin | 86 | 705 | 3a58ff84b1c91bbefd428634f74a94a18c9b76fd | 273 | kotlin-jdsl | Apache License 2.0 |
src/jsMain/kotlin/team/karakum/showcase/material/surfaces/Card.kt | karakum-team | 388,885,791 | false | {"Kotlin": 85864, "JavaScript": 1111, "HTML": 515, "CSS": 160} | package team.karakum.components.showcases
import mui.material.*
import mui.material.styles.TypographyVariant.Companion.h5
import mui.system.sx
import react.FC
import react.Props
import react.dom.html.ReactHTML.div
import react.dom.html.ReactHTML.span
import team.karakum.common.color
import web.cssom.Display.Companion.... | 0 | Kotlin | 13 | 88 | 5a56f30a72f0ea700f9485972c0ebebbdded3ebc | 1,150 | kotlin-mui-showcase | Apache License 2.0 |
app/src/main/java/com/currencyApp/Currency.kt | enesulkerr | 651,920,009 | false | null | package com.currencyApp
data class Currency(
val Isim:String,
val ForexBuying:String,
val ForexSelling:String,
val BanknoteBuying:String,
val BanknoteSelling:String,
)
| 0 | Kotlin | 0 | 0 | daa168dbd60ad4b7bb1c1bc90c88d1bfec1e366b | 191 | Currency-App | MIT License |
app/src/main/java/net/obsidianx/chakra/Flex.kt | ObsidianX | 661,440,228 | false | {"Kotlin": 83737} | package net.obsidianx.chakra
import androidx.compose.foundation.layout.Column
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.unit.dp
@Composable
fun Flex() {
Column {
Heading("Flex Shrink/Grow/Basis")
SubHeading("Default style")
F... | 0 | Kotlin | 2 | 0 | a3325df63ebc5f0d04b12bea23a9efd7f8466a18 | 3,924 | chakra | MIT License |
docBuilder/src/wasmJsMain/kotlin/common.kt | anythingdev | 843,654,364 | false | {"Kotlin": 228003, "HTML": 5047} | import kotlinx.dom.appendElement
import kotlinx.dom.appendText
import org.w3c.dom.*
context(Element)
operator fun String.unaryPlus() = appendText(this)
context(HTMLUListElement)
operator fun String.unaryPlus() = "li" { appendText(this@unaryPlus) }
context(HTMLUListElement)
operator fun Element.unaryPlus() = "li" { a... | 25 | Kotlin | 1 | 0 | 9f78a9a153775e9c978bd3d690da632b6098f830 | 1,434 | Supachain | Apache License 2.0 |
app/src/main/java/com/ozan/cleanpokedex/ui/theme/PokedexTypography.kt | ozantas | 364,196,126 | false | null | package com.ozan.cleanpokedex.ui.theme
import androidx.compose.material.Typography
import androidx.compose.ui.text.TextStyle
import androidx.compose.ui.text.font.Font
import androidx.compose.ui.text.font.FontFamily
import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.unit.sp
import com.ozan.clean... | 2 | Kotlin | 1 | 9 | 26bf815189f266dfab8673fc6a5ef12ba705eb81 | 2,381 | CleanPokedex | Apache License 2.0 |
app/src/androidTest/java/org/n27/nutshell/detail/robots/DetailRobot.kt | Narsuf | 843,534,148 | false | {"Kotlin": 124770} | package org.n27.nutshell.detail.robots
import androidx.compose.ui.test.assert
import androidx.compose.ui.test.assertIsDisplayed
import androidx.compose.ui.test.assertIsNotDisplayed
import androidx.compose.ui.test.hasText
import androidx.compose.ui.test.junit4.ComposeTestRule
import androidx.compose.ui.test.onNodeWithT... | 0 | Kotlin | 0 | 0 | 9b1f2975a5389fb60b5b2017e038eefd9f252178 | 2,641 | Nutshell | Apache License 2.0 |
kotlin2kernel/src/main/kotlin/eu/simonbinder/kart/kotlin/lower/MoveInnerClassesUp.kt | simolus3 | 246,149,736 | false | null | package eu.simonbinder.kart.kotlin.lower
import eu.simonbinder.kart.kotlin.DartBackendContext
import org.jetbrains.kotlin.backend.common.FileLoweringPass
import org.jetbrains.kotlin.backend.common.ir.addChild
import org.jetbrains.kotlin.ir.IrElement
import org.jetbrains.kotlin.ir.declarations.IrClass
import org.jetbra... | 1 | Kotlin | 2 | 14 | 7d780397ccb20bc50265abd653e88f8c5a5751a2 | 2,467 | kart | MIT License |
utbot-framework-test/src/test/kotlin/org/utbot/examples/objects/PrivateFieldsTest.kt | UnitTestBot | 480,810,501 | false | null | package org.utbot.examples.objects
import org.junit.jupiter.api.Test
import org.utbot.testcheckers.eq
import org.utbot.testing.UtValueTestCaseChecker
import org.utbot.testing.isException
internal class PrivateFieldsTest : UtValueTestCaseChecker(testClass = PrivateFields::class) {
@Test
fun testAccessWithGetter... | 398 | Kotlin | 32 | 91 | abb62682c70d7d2ecc4ad610851d304f7ad716e4 | 629 | UTBotJava | Apache License 2.0 |
src/main/kotlin/no/nav/permitteringsskjemaapi/journalføring/JournalføringService.kt | navikt | 247,277,988 | false | {"Kotlin": 157250, "Dockerfile": 82} | package no.nav.permitteringsskjemaapi.journalføring
import jakarta.transaction.Transactional
import no.nav.permitteringsskjemaapi.config.X_CORRELATION_ID
import no.nav.permitteringsskjemaapi.config.logger
import no.nav.permitteringsskjemaapi.journalføring.Journalføring.State
import no.nav.permitteringsskjemaapi.journa... | 2 | Kotlin | 0 | 0 | cec72a7cfd24a58a261793edcc337ea70651f197 | 5,694 | permitteringsskjema-api | MIT License |
lib-starter-core/src/main/kotlin/com/github/arhor/aws/graphql/federation/starter/core/data/JsonWritingConverter.kt | arhor | 651,576,809 | false | {"Kotlin": 319361, "Java": 181121, "TypeScript": 67168, "JavaScript": 9167, "Shell": 880, "Batchfile": 754, "Dockerfile": 696, "HTML": 596, "CSS": 363} | package com.github.arhor.aws.graphql.federation.starter.core.data
import com.fasterxml.jackson.databind.ObjectMapper
import org.postgresql.util.PGobject
import org.springframework.core.convert.converter.Converter
import org.springframework.data.convert.WritingConverter
@WritingConverter
class JsonWritingConverter(pri... | 0 | Kotlin | 1 | 2 | bba57387d7ad9a2569ccc844b6ee36a37bcf406c | 647 | aws-graphql-federation | Apache License 2.0 |
preferences-annotation/src/main/java/io/androidalatan/datastore/preference/annotations/getter/GetString.kt | android-alatan | 462,405,374 | false | null | package io.androidalatan.datastore.preference.annotations.getter
@Retention(AnnotationRetention.RUNTIME)
@Target(AnnotationTarget.FUNCTION)
annotation class GetString(
val name: String,
val defaultValue: String = "",
val disable: Boolean = false,
val disableValue: String = ""
) | 0 | Kotlin | 1 | 2 | 20dc6bc2d685d71dbab8d89eaec22ba810fc82b9 | 295 | Preferences | MIT License |
backend/mlreef-rest/src/test/kotlin/com/mlreef/rest/testcommons/TestGitlabContainer.kt | PWENZWE700 | 451,256,459 | true | {"Kotlin": 1792703, "JavaScript": 1383596, "Python": 165260, "SCSS": 145217, "Shell": 122988, "Ruby": 100068, "TypeScript": 56139, "ANTLR": 27697, "CSS": 19114, "Dockerfile": 18068, "HTML": 8912, "PLpgSQL": 3248, "Batchfile": 310} | package com.mlreef.rest.testcommons
import com.mlreef.rest.ApplicationProfiles
import org.slf4j.LoggerFactory
import org.springframework.boot.test.util.TestPropertyValues
import org.springframework.context.ApplicationContextInitializer
import org.springframework.context.ConfigurableApplicationContext
import org.spring... | 0 | null | 0 | 1 | 401ed3dcb749ceba1e9a6e1f26691ebe5afde294 | 3,428 | mlreef | MIT License |
backend/mlreef-rest/src/test/kotlin/com/mlreef/rest/testcommons/TestGitlabContainer.kt | PWENZWE700 | 451,256,459 | true | {"Kotlin": 1792703, "JavaScript": 1383596, "Python": 165260, "SCSS": 145217, "Shell": 122988, "Ruby": 100068, "TypeScript": 56139, "ANTLR": 27697, "CSS": 19114, "Dockerfile": 18068, "HTML": 8912, "PLpgSQL": 3248, "Batchfile": 310} | package com.mlreef.rest.testcommons
import com.mlreef.rest.ApplicationProfiles
import org.slf4j.LoggerFactory
import org.springframework.boot.test.util.TestPropertyValues
import org.springframework.context.ApplicationContextInitializer
import org.springframework.context.ConfigurableApplicationContext
import org.spring... | 0 | null | 0 | 1 | 401ed3dcb749ceba1e9a6e1f26691ebe5afde294 | 3,428 | mlreef | MIT License |
app/src/main/java/io/github/coffeegerm/glucoseguide/dagger/AppModule.kt | Coffeegerm | 95,516,843 | false | null | /*
* Copyright 2017 Coffee and Cream Studios
*
* 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 ... | 1 | Kotlin | 4 | 6 | 61e0d5b1b4d63267c76717644f40f4cd0db39212 | 1,697 | GlucoseGuide | Apache License 2.0 |
data/src/main/java/ru/rznnike/eyehealthmanager/data/storage/entity/ColorPerceptionTestEntity.kt | RznNike | 207,148,781 | false | {"Kotlin": 527398} | package ru.rznnike.eyehealthmanager.data.storage.entity
import io.objectbox.annotation.Entity
import io.objectbox.annotation.Id
@Entity
data class ColorPerceptionTestEntity(
@Id var id: Long = 0,
val recognizedColorsCount: Int,
val allColorsCount: Int
) | 0 | Kotlin | 0 | 0 | 6d3ce9d5092c2613a01144001c7b2b834a05a137 | 267 | EyeHealthManager | MIT License |
sol_game/src/main/kotlin/sol_game/core_game/systems/RespawnOnStockLossSystem.kt | sol-ai | 189,388,872 | false | null | package sol_game.core_game.systems
import org.joml.Vector2f
import sol_engine.core.TransformComp
import sol_engine.ecs.IteratingSystemBase
import sol_engine.ecs.SystemBase
import sol_engine.physics_module.PhysicsBodyComp
import sol_game.core_game.components.CharacterComp
import sol_game.core_game.components.SpawnPosit... | 1 | null | 1 | 1 | 4c627bfed1ea7f36e5409dd780a46c4f10dc5d39 | 1,352 | sol_champ | MIT License |
app/src/main/java/com/fibelatti/photowidget/widget/DuplicatePhotoWidgetUseCase.kt | fibelatti | 709,530,733 | false | {"Kotlin": 336440} | package com.fibelatti.photowidget.widget
import com.fibelatti.photowidget.model.PhotoWidgetSource
import javax.inject.Inject
class DuplicatePhotoWidgetUseCase @Inject constructor(
private val loadPhotoWidgetUseCase: LoadPhotoWidgetUseCase,
private val photoWidgetStorage: PhotoWidgetStorage,
) {
suspend o... | 1 | Kotlin | 4 | 86 | 582a58201eb0162568bbb41d1270902a91dfe4d2 | 1,162 | photo-widget | Apache License 2.0 |
src/main/kotlin/com/challenge/interview/calendar/api/dto/AvailabilityDto.kt | apdmatos | 513,131,959 | false | {"Kotlin": 21851, "Shell": 73} | package com.challenge.interview.calendar.api.dto
import java.time.OffsetDateTime
class NonIdentifiableAvailabilityDto(val from: OffsetDateTime, val to: OffsetDateTime);
class AvailabilityDto(val id: Long, val from: OffsetDateTime, val to: OffsetDateTime); | 0 | Kotlin | 0 | 0 | 9432f0d42ff40b1e8ed2327ef12071e1b8a55fe7 | 257 | interview-calendar | MIT License |
tl/src/main/kotlin/com/github/badoualy/telegram/tl/api/TLBotCommandScopePeerUser.kt | Miha-x64 | 436,587,061 | true | {"Kotlin": 3919807, "Java": 75352} | package com.github.badoualy.telegram.tl.api
import com.github.badoualy.telegram.tl.TLObjectUtils.SIZE_CONSTRUCTOR_ID
import com.github.badoualy.telegram.tl.serialization.TLDeserializer
import com.github.badoualy.telegram.tl.serialization.TLSerializer
import java.io.IOException
/**
* botCommandScopePeerUser#a1321f3
... | 1 | Kotlin | 2 | 3 | 1a8963dce921c1e9ef05b9d1e56d8fbcb1ea1c4b | 1,870 | kotlogram-resurrected | MIT License |
src/main/java/com/mvv/win/winapi/vssym32_h.kt | odisseylm | 679,732,600 | false | {"Kotlin": 1311124, "CSS": 32895, "Java": 6651} | @file:Suppress("FunctionName", "unused", "SpellCheckingInspection", "PackageDirectoryMismatch")
package com.mvv.win.winapi.vssym
// See vssym32.h
const val TMT_RESERVEDLOW: Int = 0
const val TMT_RESERVEDHIGH: Int = 7999
const val TMT_DIBDATA: Int = 2
const val TMT_GLYPHDIBDATA: Int = 8
const val TMT_ENUM: Int = 20... | 0 | Kotlin | 0 | 0 | 288fa12db9e895b2a445dd5e1eb7e15449876277 | 9,711 | learn-words | Creative Commons Attribution 3.0 Unported |
app/src/main/java/com/ekibet/androidfirebaseremoteconfig/ui/pay/PayViewModel.kt | e-kibet | 455,491,933 | false | null | package com.ekibet.androidfirebaseremoteconfig.ui.pay
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
class PayViewModel: ViewModel() {
var amount: MutableLiveData<Int> = MutableLiveData()
} | 3 | Kotlin | 1 | 0 | 5fe231d263c4e550d196c2e5a32fd1c9a2469484 | 226 | FirebaseAndroidToolkit | Apache License 2.0 |
src/main/kotlin/model/Event.kt | cinq | 116,181,395 | false | null | package com.cinq.betterMem.model
class Event(val name: String, val dateTime: String, val story: String) {
} | 0 | Kotlin | 0 | 0 | fbe39a2292eb0476786e1c3e1b9d30c243b5dcfb | 109 | betterMem | Apache License 2.0 |
src/main/kotlin/org/ak2/android/build/dependencies/base/DependencyKt.kt | a--v--k | 195,702,595 | false | null | /*
* Copyright 2019 AK2.
*
* 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 | 5042f4b68d5658bf5a9836771c90d50f0ceb667b | 837 | android.build | Apache License 2.0 |
editor/src/commonMain/kotlin/com/mindovercnc/editor/reader/EditorReader.kt | 85vmh | 543,628,296 | false | {"Kotlin": 956103, "C++": 75148, "Java": 7157, "Makefile": 2742, "HTML": 419, "Shell": 398, "CSS": 108} | package com.mindovercnc.editor.reader
import com.mindovercnc.editor.IntList
import com.mindovercnc.editor.textlines.TextLines
import kotlinx.coroutines.CoroutineScope
import okio.Path
interface EditorReader {
/** Read line positions into an [IntList]. */
fun Path.readLinePositions(starts: IntList)
/** Reads [T... | 0 | Kotlin | 1 | 3 | 5cf42426895ba8691c9b53ba1b97c274bbdabc07 | 453 | mindovercnclathe | Apache License 2.0 |
app/src/main/java/io/github/ohem/punkbrew/ui/base/BaseView.kt | alxiw | 386,373,878 | false | null | package io.github.ohem.punkbrew.ui.base
interface BaseView<VM : BaseViewModel> {
val viewModel: VM
val layoutId: Int
fun onLoading()
fun onContentReceived()
fun onEmptyContent()
}
| 0 | Kotlin | 0 | 0 | dbefcb1441b49e2c47376ef18c977b40147ee163 | 206 | punk-brew | MIT License |
kontroller/src/main/kotlin/no/ssb/kostra/area/sosial/kvalifisering/KvalifiseringConstants.kt | statisticsnorway | 414,216,275 | false | {"Kotlin": 1602685, "TypeScript": 57803, "Batchfile": 6608, "HTML": 694, "SCSS": 110} | package no.ssb.kostra.area.sosial.kvalifisering
object KvalifiseringConstants {
const val JA = "1"
const val NEI = "2"
const val PERMISJON = "2"
const val FULLFORT_PROGRAM = "3"
} | 4 | Kotlin | 0 | 1 | 8f30aeeef2a1733db468c40e7b682c9609184df9 | 198 | kostra-kontrollprogram | MIT License |
app/src/debug/java/net/rafaeltoledo/code/HiltTestActivity.kt | rafaeltoledo | 272,973,131 | false | null | package net.rafaeltoledo.code
import androidx.appcompat.app.AppCompatActivity
import dagger.hilt.android.AndroidEntryPoint
@AndroidEntryPoint
class HiltTestActivity : AppCompatActivity() | 0 | Kotlin | 0 | 2 | 93c6af64b504cf5924b9cd32ba18039d79aa3988 | 188 | hilt-sandbox | Apache License 2.0 |
straight/src/commonMain/kotlin/me/localx/icons/straight/outline/ClockFourThirty.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.straight.outline
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Mite... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 2,274 | icons | MIT License |
tooling-country/src/commonMain/kotlin/dev/datlag/tooling/country/Sudan.kt | DatL4g | 739,165,922 | false | {"Kotlin": 535226} | package dev.datlag.tooling.country
data object Sudan : Country {
override val codeAlpha2: Country.Code.Alpha2 = Country.Code.Alpha2("SD")
override val codeAlpha3: Country.Code.Alpha3 = Country.Code.Alpha3("SDN")
override val codeNumeric: Country.Code.Numeric = Country.Code.Numeric(729)
} | 0 | Kotlin | 0 | 3 | 11f8ee76909f12d96e4f1889e8b6daa7ae28ddd2 | 302 | tooling | Apache License 2.0 |
web/src/jsMain/kotlin/viewmodel/ResultsViewModel.kt | manimaul | 711,314,892 | false | {"Kotlin": 274341, "Shell": 961, "JavaScript": 532, "HTML": 437, "Dockerfile": 303} | package viewmodel
import com.mxmariner.regatta.data.*
import components.selectedYear
import kotlinx.coroutines.launch
import utils.*
data class ResultState(
val loggedIn: Boolean = loginViewModel.flow.value.login?.isExpired() == false,
val results: Async<List<RaceResult>> = Loading(),
val races: Async<Map... | 0 | Kotlin | 0 | 0 | d35b86d247c52b5574fb67617907359cc08a30cf | 1,721 | regatta | Apache License 2.0 |
app/src/main/java/com/kickstarter/viewmodels/DeepLinkViewModel.kt | apoorv-arora | 412,108,272 | true | {"Kotlin": 2648938, "Java": 1329699, "Ruby": 22329, "Shell": 6325, "Makefile": 3463} | package com.kickstarter.viewmodels
import android.content.Intent
import android.net.Uri
import android.text.TextUtils
import android.util.Pair
import com.kickstarter.libs.ActivityViewModel
import com.kickstarter.libs.CurrentUserType
import com.kickstarter.libs.Environment
import com.kickstarter.libs.RefTag
import com.... | 0 | null | 0 | 0 | 601189a14abfdb65cf952a74fd9b48d731023ebc | 6,982 | android-oss | Apache License 2.0 |
app/src/main/java/com/example/mytasklist/viewpager/ViewPagerFragment.kt | ttmr0420 | 386,566,494 | false | null | package com.example.mytasklist.viewpager
import android.app.AlertDialog
import android.app.Dialog
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.core.content.ContextCompat
import androidx.databinding.DataBindingUtil
import androidx.fra... | 0 | Kotlin | 0 | 0 | 0d8940ec1a3cf59f61a4aa752d5c2de6a2bbb75a | 5,380 | MyTaskList | Apache License 2.0 |
src/main/kotlin/org/uevola/jsonautovalidation/common/extensions/ObjectNode.kt | ugoevola | 646,607,242 | false | {"Kotlin": 81751} | package org.uevola.jsonautovalidation.common.extensions
import com.fasterxml.jackson.databind.JsonNode
import com.fasterxml.jackson.databind.node.ObjectNode
import org.uevola.jsonautovalidation.common.utils.JsonUtil
/**
* used to resolve json-auto-validation template
* each property value that need to be replaced... | 0 | Kotlin | 0 | 0 | f3cca3660b402e4408ae452b66a008c5835bc753 | 1,518 | json-auto-validation | MIT License |
kt/godot-library/src/main/kotlin/godot/gen/godot/Area.kt | ngcin | 372,020,634 | true | {"Kotlin": 839677, "C++": 320679, "GDScript": 309830, "C#": 11670, "Shell": 7968, "CMake": 3035, "C": 1481, "Python": 75} | // THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY!
@file:Suppress("PackageDirectoryMismatch", "unused", "FunctionName", "RedundantModalityModifier",
"UNCHECKED_CAST", "JoinDeclarationAndAssignment", "USELESS_CAST",
"RemoveRedundantQualifierName", "NOTHING_TO_INLINE")
package godot
import godot.annotation.God... | 0 | Kotlin | 0 | 0 | b48a7c73bc21023e33a59d319e3d887ee77aa723 | 20,120 | godot-kotlin-jvm | MIT License |
openmrs-client/src/main/java/edu/upc/blopup/toggles/ReleaseToggle.kt | BLOPUP-UPC | 536,613,762 | false | null | package edu.upc.blopup.toggles
import edu.upc.BuildConfig
val hardcodeBluetoothDataToggle = ReleaseToggle(BuildConfig.HARDCODE_BLUETOOTH_DATA_TOGGLE)
val showPatientConsentToggle = ReleaseToggle(BuildConfig.SHOW_PATIENT_CONSENT_TOGGLE)
typealias OnToggleEnabled = () -> Unit
typealias OnToggleDisabled = () -> Unit
d... | 0 | Kotlin | 1 | 3 | 319ee1a0e2eb2bc1138cd3656d4cc72ba1ed45eb | 573 | blopup-android-app | Condor Public License v1.1 |
src/main/kotlin/com/elp/editor/ExampleLineMarkerProvider.kt | Paulpanther | 608,780,854 | false | null | package com.paulmethfessel.elp.editor
import com.paulmethfessel.elp.actions.showCreateOrOpenExampleDialog
import com.paulmethfessel.elp.services.classService
import com.paulmethfessel.elp.ui.ELPIcons
import com.paulmethfessel.elp.util.struct
import com.intellij.codeInsight.daemon.LineMarkerInfo
import com.intellij.cod... | 0 | Kotlin | 0 | 0 | ab29343c3f6c5cd6fa55c311ccb85bcefbea731a | 1,404 | muse-embedded-live-programming | MIT License |
floatingx/src/main/java/com/petterp/floatingx/view/FxLocationRestoreHelper.kt | Petterpx | 372,486,273 | false | null | package com.petterp.floatingx.view
import android.content.res.Configuration
import com.petterp.floatingx.assist.helper.BasisHelper
import com.petterp.floatingx.util.coerceInFx
/**
* Fx location restore helper,Used to restore the location of the floating window after the screen is rotated
* @author petterp
*/
class... | 4 | Kotlin | 85 | 712 | ed8bcd2bd12d2f713ecd8cdf1703c2a5a98385ef | 2,196 | FloatingX | MIT License |
data/shows/api/src/commonMain/kotlin/com/thomaskioko/tvmaniac/shows/api/DiscoverRepository.kt | c0de-wizard | 361,393,353 | false | {"Kotlin": 617457, "Swift": 88232} | package com.thomaskioko.tvmaniac.shows.api
import com.thomaskioko.tvmaniac.category.api.model.Category
import com.thomaskioko.tvmaniac.core.db.ShowById
import com.thomaskioko.tvmaniac.core.db.ShowsByCategory
import kotlinx.coroutines.flow.Flow
import org.mobilenativefoundation.store.store5.StoreReadResponse
interface... | 8 | Kotlin | 16 | 129 | 61e4c9722b38b1315c77366e8181591c8a36770d | 995 | tv-maniac | Apache License 2.0 |
net.akehurst.kotlinx/kotlinx-reflect-gradle-plugin/src/main/kotlin/KotlinxReflectAnalysisHandlerExtension.kt | dhakehurst | 189,049,817 | false | {"Kotlin": 177637} | package net.akehurst.kotlinx.reflect.gradle.plugin
import org.jetbrains.kotlin.analyzer.AnalysisResult
import org.jetbrains.kotlin.backend.common.extensions.IrGenerationExtension
import org.jetbrains.kotlin.backend.common.extensions.IrPluginContext
import org.jetbrains.kotlin.cli.common.messages.CompilerMessageSeverit... | 0 | Kotlin | 0 | 1 | 0f29e96aa48d84efb1cd41ec469a68040b31ecc3 | 2,109 | net.akehurst.kotlinx | Apache License 2.0 |
app/src/main/java/app/pokedex/common/utils/ConnectivityUtil.kt | tRexBruce | 454,233,245 | false | null | package app.pokedex.common.utils
import android.content.Context
import android.net.ConnectivityManager
import android.net.NetworkCapabilities
/**
* Util to check network connection.
*
* https://medium.com/scalereal/observing-live-connectivity-status-in-jetpack-compose-way-f849ce8431c7
* */
sealed class Connectio... | 0 | Kotlin | 0 | 0 | 8be5f8681a89ab7b21852b86082944e1fddb31f3 | 1,028 | Pokedex-App | The Unlicense |
core/src/main/kotlin/snitch/parameters/HeaderFactories.kt | memoizr | 322,370,926 | false | null | package snitch.parameters
import snitch.validation.ofNonEmptyString
import snitch.documentation.Visibility
import snitch.validation.Validator
inline fun <reified T, R> optionalHeader(
condition: Validator<T, R>,
name: String = "",
description: String = "",
emptyAsMissing: Boolean = false,
invalidA... | 0 | Kotlin | 2 | 34 | 501b43074653207279fe3646a8f8519520967c3b | 3,050 | snitch | Apache License 2.0 |
src/commonMain/kotlin/com/ashampoo/kim/format/bmff/CopyByteReader.kt | Ashampoo | 647,186,626 | false | {"Kotlin": 820326, "HTML": 85533} | /*
* Copyright 2024 Ashampoo GmbH & Co. KG
*
* 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... | 6 | Kotlin | 5 | 128 | adf017bb269f1f5cc6af80e7695e1438a87fe2fa | 1,581 | kim | Apache License 2.0 |
modern/src/test/kotlin/rs/emulate/modern/codec/ContainerTest.kt | apollo-rsps | 50,723,825 | false | null | package rs.emulate.modern.codec
import io.netty.buffer.Unpooled
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Assertions.assertFalse
import org.junit.jupiter.api.Test
import rs.emulate.modern.codec.Container.Companion.readContainer
import rs.emulate.util.compression.*
import rs.emul... | 6 | Kotlin | 5 | 12 | fba5069744a04835c23373c1d11f90b201cdc604 | 11,104 | Vicis | ISC License |
src/main/kotlin/io/github/sgtsilvio/gradle/javadoc/links/JavadocLinksTaskBefore_7_4.kt | SgtSilvio | 264,299,639 | false | null | package com.github.sgtsilvio.gradle.javadoc.links
import org.gradle.api.artifacts.Configuration
import org.gradle.api.artifacts.ModuleVersionIdentifier
import org.gradle.api.tasks.Input
import org.gradle.api.tasks.TaskAction
import org.gradle.kotlin.dsl.listProperty
import java.io.File
import kotlin.collections.set
/... | 0 | null | 1 | 5 | f70c24ab3c3c01c0b917f89342bb47fa97ab53ce | 1,666 | gradle-javadoc-links | Apache License 2.0 |
feature/home/src/main/kotlin/br/com/stonks/feature/home/ui/viewmodel/HomeViewModel.kt | jonathanarodr | 792,544,529 | false | {"Kotlin": 189661, "Shell": 832} | package br.com.stonks.feature.home.ui.viewmodel
import androidx.lifecycle.viewModelScope
import br.com.stonks.common.states.ViewModelState
import br.com.stonks.feature.home.domain.mapper.HomeModelToUiMapper
import br.com.stonks.feature.home.domain.usecase.HomeContentUseCase
import br.com.stonks.feature.home.ui.states.... | 0 | Kotlin | 0 | 0 | 3303211e4ad5bde4dd4f2a00685884568a5eaeec | 1,564 | stonks | MIT License |
app/src/main/kotlin/com/dmko/bulldogvods/app/common/views/ProgressView.kt | dmitrykochanov | 477,314,891 | false | null | package com.dmko.bulldogvods.app.common.views
import android.content.Context
import android.graphics.Canvas
import android.graphics.Paint
import android.graphics.Rect
import android.util.AttributeSet
import android.view.View
import androidx.core.content.ContextCompat
import com.dmko.bulldogvods.R
import kotlin.math.ro... | 0 | Kotlin | 0 | 1 | 0aa6ec12113a0366c81c236cc6288e72ed15798c | 1,517 | BulldogVods | MIT License |
src/test/kotlin/lpk/words/test/DictionaryTest.kt | Apress | 327,178,639 | false | null | package lpk.words.test
import lpk.words.Dictionary
import org.junit.Assert
import org.junit.Test
import java.nio.file.Paths
class DictionaryTest {
@Test
fun containsTest() {
val path = Paths.get("src/test/resources/books/FiveWords.txt")
val dictionary = Dictionary(path)
Assert.assertT... | 0 | Kotlin | 1 | 1 | a6d5c264a487640b864b1d996402bd000a453d2d | 697 | learn-to-program-w-kotlin-wordswitch | MIT License |
app/src/main/kotlin/com/goo32v2/feedfire/screens/main/FeedActivity.kt | goo32v2 | 118,955,717 | false | null | package com.goo32v2.feedfire.screens.main
import android.os.Bundle
import android.support.design.widget.BottomNavigationView
import android.support.v4.app.Fragment
import android.view.MenuItem
import com.arellomobile.mvp.presenter.InjectPresenter
import com.goo32v2.feedfire.R
import com.goo32v2.feedfire.extentions.add... | 0 | Kotlin | 0 | 0 | 5e3b88d9a67891d6427bd93903ea74190afac75f | 2,372 | FeedFire | Apache License 2.0 |
plugins/kotlin-dataframe/src/org/jetbrains/kotlinx/dataframe/plugin/impl/data/KPropertyApproximation.kt | Kotlin | 259,256,617 | false | {"Kotlin": 8227503, "Java": 17608, "JavaScript": 11483, "CSS": 3083, "HTML": 137, "Shell": 73} | package org.jetbrains.kotlinx.dataframe.plugin.impl.data
import org.jetbrains.kotlinx.dataframe.plugin.impl.api.TypeApproximation
data class KPropertyApproximation(val name: String, val type: TypeApproximation)
| 235 | Kotlin | 60 | 833 | 54d00e69ae7c06ff254c6591242413eaf7894f01 | 213 | dataframe | Apache License 2.0 |
app/src/main/java/io/wso2/android/api_authenticator/sdk/sample/util/MainNavDestination.kt | Achintha444 | 731,559,375 | false | {"Kotlin": 83698} | //package io.wso2.android.api_authenticator.sdk.sample.util
//
//import androidx.compose.runtime.Composable
//import androidx.navigation.NavController
//import androidx.navigation.compose.NavHost
//import androidx.navigation.NavHostController
//import androidx.navigation.compose.composable
//
//// Main navigation graph... | 0 | Kotlin | 0 | 0 | c196ade08f2aa065086be2b6edebdba9aaedd6d1 | 888 | wso2-android-api-authenticator-sdk | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.