path stringlengths 4 280 | owner stringlengths 2 39 | repo_id int64 21.1k 879M | is_fork bool 2
classes | languages_distribution stringlengths 13 1.95k ⌀ | content stringlengths 7 482k | issues int64 0 13.9k | main_language stringclasses 121
values | forks stringlengths 1 5 | stars int64 0 111k | commit_sha stringlengths 40 40 | size int64 7 482k | name stringlengths 1 100 | license stringclasses 93
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
src/main/kotlin/ee/ut/lahendus/intellij/data/DTOs.kt | alexisalliksaar | 777,245,963 | false | {"Kotlin": 88980, "HTML": 2158} | package ee.ut.lahendus.intellij.data
import com.google.gson.annotations.SerializedName
data class CoursesDTO(
@SerializedName("courses") val courses: List<Course>?
)
data class ExercisesDTO(
@SerializedName("exercises") val courseExercises: List<CourseExercise>?
)
data class AllSubmissionsDTO(
@Serializ... | 0 | Kotlin | 0 | 0 | 06c04b9269307535b64010daecea7bb7f8c47025 | 379 | lahendus-intellij-plugin | MIT License |
app/src/main/java/sjj/novel/util/SerializeUtils.kt | SJJ-dot | 100,725,636 | false | null | package sjj.novel.util
import android.util.Base64
import java.io.ByteArrayInputStream
import java.io.ByteArrayOutputStream
import java.io.ObjectInputStream
import java.io.ObjectOutputStream
fun Any?.serialize(): String {
var stream: ByteArrayOutputStream? = null
var objs: ObjectOutputStream? = null
try {
... | 1 | Kotlin | 1 | 20 | e5ec00872a0c655063e3ec1d220df09558f14332 | 889 | novel | Apache License 2.0 |
entities/src/main/java/com/santukis/entities/hearthstone/Keyword.kt | santukis | 504,046,648 | false | {"Kotlin": 206975} | package com.santukis.entities.hearthstone
data class Keyword(
val identity: Identity = Identity(),
val cardText: CardText = CardText(),
val gameModes: List<GameMode> = emptyList()
) {
fun getName(): String = identity.name
} | 0 | Kotlin | 0 | 3 | 7baff042a3bf97fc82eb5e7a73669cad9820ed39 | 241 | HearthStone | Apache License 2.0 |
app/src/main/java/luyao/mamba/MainActivity.kt | lulululbj | 307,651,089 | false | null | package luyao.mamba
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import kotlinx.android.synthetic.main.activity_main.*
import luyao.core.MambaManager
class MainActivity : AppCompatActivity(R.layout.activity_main) {
override fun onCreate(savedInstanceState: Bundle?) {
super.o... | 0 | Kotlin | 2 | 7 | e257d2ed228f7ff13a9e57159284360884349aad | 647 | Mamba | MIT License |
c2-ssm/ssm-tx/ssm-tx-f2/src/main/kotlin/ssm/chaincode/f2/features/command/SsmTxSessionStartFunctionImpl.kt | komune-io | 746,795,057 | false | {"Kotlin": 381968, "MDX": 96903, "Java": 39028, "Gherkin": 18221, "Makefile": 15434, "Dockerfile": 8936, "Go": 5435, "Shell": 1993, "JavaScript": 1453, "CSS": 102} | package ssm.chaincode.f2.features.command
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.map
import ssm.chaincode.dsl.config.InvokeChunkedProps
import ssm.chaincode.dsl.config.chunk
import ssm.chaincode.dsl.config.flattenConcurrentlyList
import ssm.chaincode.dsl.model.uri.burst
import ssm.sdk.core.... | 2 | Kotlin | 0 | 0 | 7c534953e0a0a8a6afbbc09f10b862444975edb0 | 1,122 | fixers-c2 | Apache License 2.0 |
infra/src/main/kotlin/com/example/services/EmptyService.kt | aahdahl | 303,190,840 | false | {"TypeScript": 7013, "Kotlin": 2600, "HTML": 1721, "CSS": 930} | package com.example.services
import software.amazon.awscdk.core.Construct
class EmptyService(scope: Construct, id: String) : Construct(scope, id) {
init { }
}
| 0 | TypeScript | 0 | 0 | 912bb74510ecc054b663c081106569955ef55510 | 165 | aws-cdk-lambda-react-ts | MIT License |
src/main/kotlin/no/nav/helse/flex/bildeprosessering/Bildeprosessering.kt | navikt | 713,342,894 | false | null | package no.nav.helse.flex.no.nav.helse.flex.bildeprosessering
import org.springframework.http.MediaType
import org.springframework.stereotype.Component
import java.awt.Color
import java.awt.Image
import java.awt.image.BufferedImage
import java.io.ByteArrayInputStream
import java.io.ByteArrayOutputStream
import javax.i... | 6 | Kotlin | 0 | 0 | 9418b23c0cbe97205434f3c20da7c99a2e1813c2 | 2,880 | sykepengesoknad-kvitteringer | MIT License |
src/test/kotlin/io/bazel/kotlin/KotlinJvmKaptAssertionTest.kt | bazelbuild | 119,720,081 | false | null | /*
* Copyright 2018 The Bazel Authors. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 225 | null | 3 | 332 | 7c14a348b8b4529d74f8ee52ff1ec4fbb4e4ac2a | 3,997 | rules_kotlin | Apache License 2.0 |
core/worker/src/main/java/com/niyaj/core/worker/di/WorkerModule.kt | skniyajali | 644,752,474 | false | {"Kotlin": 2051174} | package com.niyaj.core.worker.di
import com.niyaj.core.worker.status.MonitorWorkManager
import com.niyaj.data.utils.WorkMonitor
import dagger.Binds
import dagger.Module
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
@Module
@InstallIn(SingletonComponent::class)
interface WorkerModule {
... | 21 | Kotlin | 0 | 3 | df479a26e0bcd81549ef13a9f5334c39e52a2d0b | 425 | PoposRoom | Apache License 2.0 |
glados-client/glados-client-discord/src/main/kotlin/jp/nephy/glados/clients/discord/listener/websocket/events/category/update/DiscordCategoryUpdatePermissionsEvent.kt | StarryBlueSky | 125,806,741 | false | null | /*
* The MIT License (MIT)
*
* Copyright (c) 2017-2019 Nephy Project Team
*
* 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 ri... | 0 | Kotlin | 1 | 12 | 89c2ca214e728f454c386ebee4ee78c5a99d5130 | 2,255 | GLaDOS-bot | MIT License |
inputs/core/src/commonMain/kotlin/presenters/LongFieldBuilder.kt | picortex | 529,690,175 | false | null | package symphony
import liquid.NumberFormatter
import symphony.internal.LongInputFieldImpl
import kotlin.reflect.KProperty
inline fun LongInputField(
name: String,
label: String = name,
hint: String? = label,
value: Long? = null,
isReadonly: Boolean = false,
isRequired: Boolean = false,
fo... | 0 | null | 0 | 1 | 416452f8119cb87fb1867189ac5e27e48a27691e | 1,791 | presenters | MIT License |
paradox-language-support/src/main/kotlin/com/windea/plugin/idea/paradox/localisation/highlighter/ParadoxLocalisationAttributesKeys.kt | DragonKnightOfBreeze | 271,196,420 | false | null | package com.windea.plugin.idea.paradox.localisation.highlighter
import com.intellij.openapi.editor.DefaultLanguageHighlighterColors.*
import com.intellij.openapi.editor.HighlighterColors.*
import com.intellij.openapi.editor.colors.TextAttributesKey.*
import com.windea.plugin.idea.paradox.*
@Suppress("DEPRECATION")
ob... | 1 | Kotlin | 2 | 4 | abadd50d6fba765e64995f27d525270d4907efed | 3,283 | Idea-Plugins | MIT License |
api/src/commonTest/kotlin/LocalDateFormatTest.kt | aSoft-Ltd | 699,242,827 | false | {"Kotlin": 69163} | import kommander.expect
import krono.LocalDate
import krono.LocalDateTime
import krono.LocalTime
import krono.Patterns
import kotlin.test.Test
class LocalDateFormatTest {
@Test
fun should_parse_string_to_local_date() {
val date = LocalDate("2022-04-01").getOrThrow()
expect(date.format("{DD}/{MM... | 0 | Kotlin | 0 | 0 | 55ba6d1efb789d0dd78b4c139232d5fb0430f934 | 1,223 | krono-core | MIT License |
app/src/main/java/com/niyaj/popos/features/employee_salary/domain/repository/SalaryRepository.kt | skniyajali | 579,613,644 | false | null | package com.niyaj.popos.features.employee_salary.domain.repository
import com.niyaj.popos.features.common.util.Resource
import com.niyaj.popos.features.employee_salary.domain.model.EmployeeSalary
import com.niyaj.popos.features.employee_salary.domain.util.CalculatedSalary
import com.niyaj.popos.features.employee_salar... | 4 | Kotlin | 0 | 1 | 43bffb61e5634c11887f32eb08448f09fa95d51e | 1,202 | POS-Application | MIT License |
kotlin/src/main/kotlin/com/siimkinks/sqlitemagic/Tables.kt | SiimKinks | 61,441,349 | false | {"Gradle": 25, "Markdown": 3, "Java Properties": 4, "Shell": 4, "Text": 1, "Ignore List": 18, "Batchfile": 4, "INI": 13, "Proguard": 6, "XML": 42, "Kotlin": 82, "SQL": 3, "Java": 332} | @file:Suppress("NOTHING_TO_INLINE", "UNCHECKED_CAST")
package com.siimkinks.sqlitemagic
import androidx.annotation.CheckResult
/** @see Table.as */
@CheckResult
inline infix fun <T, TableType : Table<T>> TableType.AS(alias: String): TableType = this.`as`(alias) as TableType
/** @see Table.on */
@CheckResult
inline ... | 2 | Java | 10 | 121 | 926b2bf23453b8bd5060abbc434ba4f393978e97 | 517 | sqlitemagic | Apache License 2.0 |
data/RF00655/rnartist.kts | fjossinet | 449,239,232 | false | {"Kotlin": 8214424} | import io.github.fjossinet.rnartist.core.*
rnartist {
ss {
rfam {
id = "RF00655"
name = "consensus"
use alignment numbering
}
}
theme {
details {
value = 3
}
color {
location {
5 to 1... | 0 | Kotlin | 0 | 0 | 3016050675602d506a0e308f07d071abf1524b67 | 1,667 | Rfam-for-RNArtist | MIT License |
core/data/src/main/kotlin/com/merxury/blocker/core/data/respository/componentdetail/datasource/UserGeneratedComponentDetailDataSource.kt | lihenggui | 115,417,337 | false | {"Kotlin": 1765403, "Shell": 10301, "Java": 9767, "AIDL": 175} | /*
* Copyright 2023 Blocker
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | 27 | Kotlin | 48 | 629 | 304db7db547e895b5c76d3b71d1de7e35cde3d99 | 7,064 | blocker | Apache License 2.0 |
app/src/main/java/jp/co/tis/stc/roboticbase/core/fiware_xperiahello_guide/SettingsActivity.kt | ryo-ma | 183,557,639 | false | null | package jp.co.tis.stc.roboticbase.core.fiware_xperiahello
import android.os.Bundle
import android.preference.PreferenceFragment
import android.support.v7.app.AppCompatActivity
class SettingsActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceS... | 0 | Kotlin | 0 | 0 | fb129d41b901f2b58bc3c872a4226d62387351b4 | 681 | fiware_xperiahello | Apache License 2.0 |
app/src/main/java/com/eroom/erooja/feature/addDirectList/inactivejob/InactiveJobContract.kt | YAPP-16th | 235,351,786 | false | null | package com.eroom.erooja.feature.addDirectList.inactivejob
import com.eroom.data.entity.JobGroup
import com.eroom.data.response.JobGroupAndClassResponse
interface InactiveJobContract {
interface View {
fun reRequestClassByGroup(jobGroupList: ArrayList<JobGroup>)
fun updateJobGroupAndClass(result: ... | 15 | Kotlin | 5 | 14 | c762fbf4ff35bfe7a2d4a0cfc4ffb11a23fb86c0 | 668 | Team_Android_1_Client | Apache License 2.0 |
server/src/main/kotlin/org/tod87et/roomkn/server/database/di/databaseModule.kt | spbu-math-cs | 698,579,800 | false | {"Kotlin": 118200, "JavaScript": 68554, "CSS": 8738, "HTML": 1871, "Dockerfile": 716, "Shell": 483} | package org.tod87et.roomkn.server.database.di
import io.zonky.test.db.postgres.embedded.EmbeddedPostgres
import org.koin.core.module.Module
import org.koin.dsl.binds
import org.koin.dsl.module
import org.koin.dsl.onClose
import org.tod87et.roomkn.server.database.CredentialsDatabase
import org.tod87et.roomkn.server.dat... | 66 | Kotlin | 0 | 3 | 616d00cd0fbb4fb6cf479d5f18d20c35b9c081e0 | 1,434 | roomkn | Apache License 2.0 |
feature/manage-categories/src/main/java/com/example/manage_categories/ManageCategoriesScreen.kt | jin5578 | 859,358,191 | false | {"Kotlin": 358326} | package com.example.manage_categories
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.size
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundatio... | 0 | Kotlin | 0 | 0 | 01364ab1ea7b3333c16500c26c1105fe134374dd | 9,784 | Todo | Apache License 2.0 |
BaseExtend/src/main/java/com/chen/baseextend/repos/ActivityRepos.kt | forJrking | 271,493,156 | false | null | package com.chen.baseextend.repos
import com.chen.baseextend.base.BaseSimpleRepos
import com.chen.baseextend.bean.ActivityIdRequest
import com.chen.baseextend.bean.IdRequest
import com.chen.baseextend.bean.activity.*
import com.chen.basemodule.network.base.BaseRequest
import com.chen.basemodule.network.base.BaseRespon... | 1 | null | 1 | 1 | 281ac20234e2e5208d26f950571bfd301a7cff8a | 1,880 | EasyAndroid | Apache License 2.0 |
app/src/main/java/com/example/studentchat/friends/ui/stateholder/FriendsDiffCallback.kt | mourchidimfoumby | 726,650,487 | false | {"Kotlin": 100750} | package com.example.studentchat.friends.ui.stateholder
import androidx.recyclerview.widget.DiffUtil
import com.example.studentchat.friends.data.Friends
class FriendsDiffCallback(
private val oldList: List<Friends>,
private val newList: List<Friends>
) : DiffUtil.Callback() {
override fun getOldListSize()... | 7 | Kotlin | 0 | 0 | b0d7e304dd51f73b7e8bdd7b3e268bcc6efbb7eb | 776 | studentchat | Apache License 2.0 |
app/src/main/java/com/woopark/firebasequickstart/mvp/ui/base/BasePresenter.kt | wtwoo | 152,197,279 | false | {"Gradle": 3, "Java Properties": 1, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 17, "XML": 13, "JSON": 2, "Java": 2} | package com.woopark.firebasequickstart.mvp.ui.base
interface BasePresenter {
fun start()
fun clearDisposable()
}
| 1 | null | 1 | 1 | 1bef4109aa0322d1e2ea43e316724d092004fe13 | 122 | FirebaseQuickStart | Apache License 2.0 |
src/commonTest/kotlin/pw/binom/bitarray/Bitset64Test.kt | caffeine-mgn | 451,684,511 | false | {"Kotlin": 70005} | package pw.binom.bitarray
import kotlin.test.assertEquals
class Bitset64Test : AbstractBitArrayTest() {
override fun makeNew(): BitArray = BitArray64()
override fun toStringTest() {
var set = BitArray64()
set = set.update(0, true)
set = set.update(1, true)
set = set.update(31,... | 0 | Kotlin | 0 | 3 | f808e870a1e310b1353a8c545991b1b0d8604949 | 475 | bitarray | Apache License 2.0 |
app/src/main/java/com/an/trailers_compose/ui/list/movie/MovieListViewModel.kt | anitaa1990 | 870,606,866 | false | {"Kotlin": 175839} | package com.an.trailers_compose.ui.list.movie
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import androidx.paging.ExperimentalPagingApi
import androidx.paging.Pager
import androidx.paging.PagingConfig
import androidx.paging.cachedIn
import androidx.paging.map
import com.an.trailers_comp... | 0 | Kotlin | 1 | 1 | a93ecd98968f071a174601d807f5d3725c669ff2 | 2,436 | Trailers-Compose | Apache License 2.0 |
kotest-framework/kotest-framework-api/src/commonMain/kotlin/io/kotest/core/spec/style/scopes/FreeScope.kt | swanandvk | 284,610,632 | true | {"Kotlin": 2386077, "HTML": 423, "Java": 145} | package io.kotest.core.spec.style.scopes
import io.kotest.core.Tag
import io.kotest.core.extensions.TestCaseExtension
import io.kotest.core.test.Description
import io.kotest.core.test.EnabledIf
import io.kotest.core.test.TestCaseConfig
import io.kotest.core.test.TestContext
import io.kotest.core.test.TestType
import i... | 6 | Kotlin | 0 | 1 | ff1b42546abba34ec13eeb7c8f876e546ffc1e02 | 1,994 | kotlintest | Apache License 2.0 |
app/src/main/java/sideproject/tseen/pokemonassignment/viewmodel/PokemonViewModel.kt | allanswer | 545,035,118 | false | {"Kotlin": 55886} | package sideproject.tseen.pokemonassignment.viewmodel
import android.app.Application
import android.util.Log
import androidx.compose.runtime.mutableStateOf
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.LiveData
import androidx.lifecycle.viewModelScope
import kotlinx.coroutines.Dispatchers
import... | 0 | Kotlin | 0 | 1 | 63302d2ef087cc09804c2e02e691ed93548ed2d6 | 7,505 | Pokemons | MIT License |
binding/src/main/java/com/lifecycle/binding/adapter/AdapterType.kt | striveprince | 211,611,448 | false | null | package com.lifecycle.binding.adapter
import androidx.annotation.IntDef
import com.lifecycle.binding.adapter.AdapterType.add
import com.lifecycle.binding.adapter.AdapterType.click
import com.lifecycle.binding.adapter.AdapterType.close
import com.lifecycle.binding.adapter.AdapterType.end
import com.lifecycle.binding.ad... | 0 | Kotlin | 0 | 2 | 5e2921fa52ccc10dcd26f85b77c73a7331692c0a | 1,627 | kotlin | Apache License 2.0 |
app/src/main/java/com/xiong/xprojectframework/util/ToastUtil.kt | isaxiong | 313,889,080 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Kotlin": 21, "XML": 33, "Java": 2, "INI": 1} | package com.xiong.xprojectframework.util
import android.content.Context
import android.view.Gravity
import android.widget.Toast
/**
* @author xiong
* @since
* @description
**/
object ToastUtil {
fun showShortToast(context: Context, text: String) {
val toast = Toast.makeText(context, text, Toast.LENGT... | 0 | Kotlin | 0 | 0 | cdfce3fc077489d16bac94f4e0f904cdc53ec27d | 604 | XProjectFramework | Apache License 2.0 |
framework/src/main/kotlin/dev/alpas/ozone/ColumnTypes.kt | alpas | 222,342,832 | false | {"Kotlin": 674255, "Shell": 1497} | package dev.alpas.ozone
import me.liuwj.ktorm.entity.Entity
import me.liuwj.ktorm.schema.BaseTable
import me.liuwj.ktorm.schema.IntSqlType
import me.liuwj.ktorm.schema.LongSqlType
import me.liuwj.ktorm.schema.SqlType
import me.liuwj.ktorm.schema.VarcharSqlType
import java.sql.PreparedStatement
import java.sql.ResultSe... | 8 | Kotlin | 7 | 180 | 1006b1e6aa2a97f2e122162b7d90444515b43cc5 | 4,861 | alpas | MIT License |
feature-favorite/src/main/java/com/hanbitkang/feature/favorite/FavoriteScreen.kt | hanbikan | 566,121,083 | false | {"Kotlin": 58666} | package com.hanbitkang.feature.favorite
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.*
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.runtime.collectAsState
import androidx.compose.runtime.getValue
import androidx.compose.... | 1 | Kotlin | 0 | 0 | 1afd4dd586fe1b5ded28c5b45811900940c500d6 | 2,965 | mypokemon | Apache License 2.0 |
Base/src/main/java/com/xy/base/widget/refresh/RefreshListener.kt | xiuone | 291,512,847 | false | null | package com.xy.base.widget.refresh
interface RefreshListener {
fun onRefresh(page:Int)
} | 0 | Kotlin | 1 | 2 | f0778a53355f36d09bf01104d58458232872f223 | 93 | ajinlib | Apache License 2.0 |
app/src/main/java/com/apaluk/streamtheater/domain/use_case/webshare/GetFileLinkUseCase.kt | apaluk | 651,545,506 | false | null | package com.apaluk.streamtheater.domain.use_case.webshare
import com.apaluk.streamtheater.core.login.LoginManager
import com.apaluk.streamtheater.core.util.Resource
import com.apaluk.streamtheater.data.webshare.WebShareRepository
import kotlinx.coroutines.flow.Flow
import javax.inject.Inject
class GetFileLinkUseCase ... | 0 | Kotlin | 0 | 0 | c93547ac35bbf9e431704243c1c73e3b080f9b4d | 607 | stream-theater | MIT License |
src/jvmMain/kotlin/com/bkahlert/kommons/exception/Dump.kt | bkahlert | 323,048,013 | false | null | package com.bkahlert.kommons.exception
import com.bkahlert.kommons.Kommons
import com.bkahlert.kommons.io.path.Locations
import com.bkahlert.kommons.io.path.isSubPathOf
import com.bkahlert.kommons.io.path.randomFile
import com.bkahlert.kommons.io.path.withExtension
import com.bkahlert.kommons.io.path.writeText
import ... | 7 | Kotlin | 0 | 9 | 35e2ac1c4246decdf7e7a1160bfdd5c9e28fd066 | 3,087 | kommons | MIT License |
libraries/VastTools/src/main/kotlin/com/ave/vastgui/tools/base/BaseActive.kt | SakurajimaMaii | 353,212,367 | false | null | /*
* Copyright 2022 VastGui <EMAIL>
*
* 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 ... | 2 | Kotlin | 4 | 36 | 94ec3bf55dc0e30f05bd5f48f96b6a2502fd336e | 1,408 | Android-Vast-Extension | Apache License 2.0 |
app/src/main/java/com/example/androiddevchallenge/JetPetApplication.kt | ehsunshine | 342,849,463 | false | null | /*
* Copyright 2021 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 | dc25eeee75e14cb56f748df25f1309c65f8dad5b | 1,210 | puppy-cpmpose | Apache License 2.0 |
app/src/main/java/com/erickcapilla/dcyourself/Diagnose.kt | erickcapilla | 626,143,431 | false | null | package com.erickcapilla.dcyourself
import android.Manifest
import android.app.Activity
import android.bluetooth.BluetoothAdapter
import android.bluetooth.BluetoothDevice
import android.bluetooth.BluetoothManager
import android.content.BroadcastReceiver
import android.content.ContentValues.TAG
import android.content.C... | 0 | Kotlin | 0 | 0 | 646622d9a2af242cc0d03341a016beb1c074c9a4 | 6,733 | DCYourself | MIT License |
bigbone/src/main/kotlin/social/bigbone/api/entity/data/InstanceVersion.kt | andregasser | 565,112,249 | false | null | package social.bigbone.api.entity.data
import com.google.gson.annotations.SerializedName
/**
* A minimalistic version of the Instance entity just holding the version field.
* This class is not exposed to the library user and only used during client instantiation.
* @see <a href="https://docs.joinmastodon.org/entit... | 31 | null | 4 | 39 | 6ad62ac3c2534c64f9ffe5067e4463498dee3748 | 548 | bigbone | MIT License |
src/main/kotlin/de/skyrising/aoc2021/day4.kt | skyrising | 317,830,992 | false | {"Kotlin": 346951} | package de.skyrising.aoc2021
import de.skyrising.aoc.PuzzleInput
import de.skyrising.aoc.TestInput
class BenchmarkDay4 : BenchmarkDayV1(4)
fun registerDay4() {
val test = TestInput("""
7,4,9,5,11,17,23,2,0,14,21,24,10,16,13,6,15,25,12,22,18,20,8,19,3,26,1
22 13 17 11 0
8 2... | 0 | Kotlin | 0 | 0 | ca9cbf4212c50424f595c7ecbe3e13b53d4cefb6 | 4,692 | aoc | MIT License |
app/src/main/java/com/shivamkumarjha/supaflix/model/xmovies/SearchPropertyResponse.kt | ShivamKumarJha | 353,360,246 | false | null | package com.shivamkumarjha.supaflix.model.xmovies
import com.google.gson.annotations.SerializedName
data class SearchPropertyResponse(
@SerializedName("status") val status: String,
@SerializedName("meta") val meta: Meta,
@SerializedName("h1Text") val h1Text: String,
@SerializedName("description") val... | 0 | Kotlin | 1 | 9 | f027c8ae631b032b621ef2f33c8370b8919b7043 | 837 | supaflix | MIT License |
data/models/src/main/java/com/xently/models/Author.kt | morristech | 376,544,553 | false | null | package com.xently.models
import android.os.Parcel
import android.os.Parcelable
data class Author(
val firstName: String? = null,
val lastName: String? = null,
val photoUrl: String? = null
) : Parcelable {
val name: String?
get() = "${firstName ?: ""} ${lastName ?: ""}".run {
if (i... | 0 | null | 0 | 0 | 779dd3f9fbdf7dd98501c76b5e686aa69f536d5d | 962 | news | Apache License 2.0 |
wild-monitor-service/src/test/kotlin/wild/monitor/jobs/web/GetJobsByProjectControllerTest.kt | ddubson | 169,662,670 | false | null | package wild.monitor.jobs.web
import io.mockk.every
import io.mockk.mockk
import org.hamcrest.Matchers.equalTo
import org.hamcrest.Matchers.hasSize
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.extension.ExtendWith
import org.springframework.beans.factory.annotation.Autowired
import org.springframewor... | 0 | Kotlin | 0 | 0 | 28bc6535ab639c3ea712383d55f60dbdcb094cf0 | 5,030 | wild-monitor | MIT License |
vk-api/src/main/kotlin/name/alatushkin/api/vk/generated/users/methods/UsersIsAppUserMethod.kt | alatushkin | 156,866,851 | false | null | package name.alatushkin.api.vk.generated.users.methods
import com.fasterxml.jackson.core.type.TypeReference
import name.alatushkin.api.vk.VkMethod
import name.alatushkin.api.vk.api.VkSuccess
/**
* Returns information whether a user installed the application.
*
* [https://vk.com/dev/users.isAppUser]
* @property... | 2 | Kotlin | 3 | 10 | 123bd61b24be70f9bbf044328b98a3901523cb1b | 831 | kotlin-vk-api | MIT License |
src/main/kotlin/org/ionproject/integration/ui/output/Problem.kt | i-on-project | 243,606,271 | false | null | package org.ionproject.integration.ui.output
import com.fasterxml.jackson.annotation.JsonIgnore
import com.fasterxml.jackson.annotation.JsonInclude
import io.swagger.v3.oas.annotations.media.Schema
import org.ionproject.integration.infrastructure.exception.ArgumentException
import org.ionproject.integration.infrastruc... | 10 | Kotlin | 0 | 3 | d221d71dd5252da878953f2a0a93734a720a5290 | 2,672 | integration | Apache License 2.0 |
protokt-core-lite/src/jvmTest/kotlin/protokt/v1/SerializationTest.kt | open-toast | 231,140,493 | false | {"Kotlin": 1046958, "Shell": 346} | /*
* Copyright (c) 2022 Toast, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | 26 | Kotlin | 14 | 154 | 2130b98a50f233cbb436d8e06a600e157e33a8b8 | 945 | protokt | Apache License 2.0 |
app/src/main/java/com/ryz/movie/core/di/Injection.kt | MhmmdRFadhil | 467,525,024 | false | null | package com.ryz.movie.core.di
import android.content.Context
import com.ryz.movie.core.data.source.MovieRepository
import com.ryz.movie.core.data.source.local.LocalDataSource
import com.ryz.movie.core.data.source.local.room.MovieDatabase
import com.ryz.movie.core.data.source.remote.RemoteDataSource
import com.ryz.movi... | 0 | Kotlin | 0 | 0 | b207f03a05ca5d7f5d43d39e47458005f31eeb14 | 775 | Movie-App | MIT License |
src/main/kotlin/org/planx/converting/messaging/producer/Sender.kt | PlanX-Universe | 639,387,238 | false | null | package org.planx.converting.messaging.producer
import org.planx.convertingcap.functions.getLoggerFor
import org.springframework.amqp.AmqpException
import org.springframework.amqp.rabbit.core.RabbitTemplate
import org.springframework.stereotype.Component
import org.planx.common.models.BaseMessageInterface
import org.p... | 0 | Kotlin | 0 | 0 | 76f448a5ae7ce87ac8576df4f1a19939cf91823d | 1,670 | converting-service | MIT License |
app/src/main/java/com/android/pgo/SelectVideoTypeActivity.kt | Krataman | 807,611,814 | false | {"Kotlin": 25063} | package com.android.pgo
import android.Manifest
import android.annotation.SuppressLint
import android.app.Activity
import android.content.ContentValues
import android.content.ContentValues.TAG
import android.content.Intent
import android.content.pm.PackageManager
import android.net.Uri
import android.os.Bundle
import ... | 0 | Kotlin | 0 | 0 | 8960b333d20d04ab4b395279061621ac1ddd9785 | 6,712 | MEditor | MIT License |
app/src/main/java/br/ufpb/dcx/apps4society/educapimanager/view/ui/challenge/create/AudioCreateChallengeFragment.kt | VitorAmrm | 257,382,024 | true | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Java": 13, "XML": 73, "Kotlin": 35} | package br.ufpb.dcx.apps4society.educapimanager.view.ui.challenge.create
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.fragment.app.Fragment
import br.ufpb.dcx.apps4society.educapimanager.R
import br.ufp... | 0 | null | 1 | 0 | d4360253e4aafe79438afb51e8d35de6cc7df6c4 | 1,010 | EducAPI-Manager | MIT License |
src/main/kotlin/me/mrpingu/kotlinbiomesxl/item/ModItems.kt | luizrcs | 260,727,646 | false | null | package me.mrpingu.kotlinbiomesxl.item
import me.mrpingu.kotlinbiomesxl.ModRegistry
import me.mrpingu.kotlinbiomesxl.block.RedRockBlock
import net.fabricmc.fabric.api.client.itemgroup.*
import net.minecraft.block.Block
import net.minecraft.item.*
import net.minecraft.item.Item.*
import net.minecraft.util.Identifier
im... | 0 | Kotlin | 0 | 0 | 05d596a190db6f3498a31c813daeb61729ad4262 | 1,022 | KotlinBiomesXL | MIT License |
src/commonMain/kotlin/responses/Genre.kt | MrNuggelz | 866,645,099 | false | {"Kotlin": 132979} | package io.github.mrnuggelz.opensubsonic.responses
import kotlinx.serialization.Serializable
@Serializable
public data class Genre(
val value: String,
val songCount: Int,
val albumCount: Int,
)
| 0 | Kotlin | 0 | 1 | 0734cbd098998abd57e9210d93963dd58c1950bc | 208 | OpenSubsonicClient | Apache License 2.0 |
android/app/src/main/java/com/thebestdevelopers/exifphotogallery/fragments/search/SearchFragment.kt | TheBestDevelopers | 175,761,761 | false | null | package com.thebestdevelopers.exifphotogallery.fragments.search
import android.Manifest
import android.app.DatePickerDialog
import android.content.Context
import android.support.media.ExifInterface
import android.os.Bundle
import android.provider.MediaStore
import android.support.v4.app.Fragment
import android.support... | 0 | Kotlin | 0 | 0 | 8b5b10394386580253c5a0c80115a64bb2e03224 | 11,592 | SIiM_proj | Apache License 2.0 |
kotlin-code-generation/src/main/kotlin/spec/_types.kt | toolisticon | 804,098,315 | false | {"Kotlin": 153540} | package io.toolisticon.kotlin.generation.spec
import com.squareup.kotlinpoet.TypeSpec
import io.toolisticon.kotlin.generation.poet.KDoc
import io.toolisticon.kotlin.generation.poet.PoetSpec
import io.toolisticon.kotlin.generation.poet.PoetSpecSupplier
import io.toolisticon.kotlin.generation.poet.TypeSpecSupplier
inte... | 5 | Kotlin | 0 | 1 | a810de8f03c6eb0cbb943d747f7be3a1bd9566ee | 888 | kotlin-code-generation | Apache License 2.0 |
card-payments/src/main/java/com/paysafe/android/hostedfields/domain/model/cardadapter/AuthenticationStatus.kt | paysafegroup | 768,755,663 | false | {"Kotlin": 918773, "Shell": 912} | /*
* Copyright (c) 2024 Paysafe Group
*/
package com.paysafe.android.tokenization.domain.model.cardadapter
enum class AuthenticationStatus(val value: String) {
COMPLETED("COMPLETED"),
PENDING("PENDING"),
FAILED("FAILED"),
UNKNOWN("");
companion object {
fun fromString(string: String?): ... | 0 | Kotlin | 0 | 0 | ca9404fc3944705ec7fa629efb3ebeb69c3d83c1 | 505 | paysafe_sdk_android_payments_api | MIT License |
sample-app/shared/src/commonMain/kotlin/org/publicvalue/multiplatform/oidc/sample/config/SingleLineInput.kt | kalinjul | 717,845,466 | false | {"Kotlin": 323467, "Swift": 925} | package org.publicvalue.multiplatform.oidc.sample.config
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.material3.TextField
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
@Composable
fun SingleLineInput(value: String, onValueChange: (String) -> Unit, lab... | 8 | Kotlin | 15 | 44 | ee7dce23ce538a9ef62a75f5e3ff8a882636b746 | 529 | kotlin-multiplatform-oidc | Apache License 2.0 |
trip/src/main/kotlin/org/tsdes/trip/config/WebSecurityConfig.kt | khopland | 435,025,068 | false | null | package org.tsdes.trip.config
import org.springframework.context.annotation.Configuration
import org.springframework.http.HttpMethod
import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity
import org.sprin... | 0 | Kotlin | 0 | 0 | 22dcde3a6975cb7c912717055316f484ca591d84 | 1,316 | PG6100-Exam | Apache License 2.0 |
app/src/main/java/com/example/cinemaplus/home/landing/UI.kt | ryanKinoti | 709,224,376 | false | {"Kotlin": 130046} | package com.example.cinemaplus.home.landing
import android.content.Context
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.fillMaxHeight
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.requiredHeight
import androidx.comp... | 0 | Kotlin | 0 | 0 | b379db937791460cfa92f4d17957462ec3e7f122 | 21,486 | Cinema_Plus | MIT License |
function/src/main/java/app/allever/android/sample/function/download/DownloadMainFragment.kt | devallever | 522,186,250 | false | {"Kotlin": 576346, "Java": 298428, "C++": 14228, "Makefile": 1672, "CMake": 1635, "C": 1050} | package app.allever.android.sample.function.download
import android.Manifest
import android.os.Build
import androidx.lifecycle.lifecycleScope
import app.allever.android.lib.common.ListFragment
import app.allever.android.lib.common.adapter.TextClickAdapter
import app.allever.android.lib.common.adapter.bean.TextClickIte... | 1 | Kotlin | 0 | 2 | f6f468df19059bf1b4ca7cf51070f468e3cf9abd | 2,276 | AndroidSampleLibs | Apache License 2.0 |
src/main/kotlin/data/file/FileCreator.kt | gmatyszczak | 171,290,380 | false | {"Kotlin": 192668} | package data.file
import data.repository.SettingsRepository
import data.repository.SourceRootRepository
import model.*
import javax.inject.Inject
private const val LAYOUT_DIRECTORY = "layout"
interface FileCreator {
fun createScreenFiles(
packageName: String,
screenName: String,
androidC... | 6 | Kotlin | 28 | 147 | baf6d12b12c210e835e2513d9e6d6c1e279c8115 | 3,222 | screen-generator-plugin | Apache License 2.0 |
goblin-rpc-server/src/test/java/org/goblinframework/remote/server/transport/RemoteTransportServerManagerTest.kt | xiaohaiz | 206,246,434 | false | null | package org.goblinframework.remote.server.transport
import org.goblinframework.test.runner.GoblinTestRunner
import org.junit.Assert.assertNotNull
import org.junit.Test
import org.junit.runner.RunWith
import org.springframework.test.context.ContextConfiguration
@RunWith(GoblinTestRunner::class)
@ContextConfiguration("... | 0 | null | 6 | 9 | b1db234912ceb23bdd81ac66a3bf61933b717d0b | 538 | goblinframework | Apache License 2.0 |
anko/library/generator/src/org/jetbrains/android/anko/config/AnkoConfiguration.kt | Kotlin | 24,186,761 | false | null | /*
* Copyright 2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 243 | Kotlin | 1295 | 15,967 | 37893764c0f20208c842a466f0fd0159c1e247e2 | 1,349 | anko | Apache License 2.0 |
src/binarysearchtree/Node.kt | aostrouhhov | 88,399,451 | false | null | package binarysearchtree
class Node<K: Comparable<K>, V>(var key: K, var value: V, var parent: Node<K, V>? = null) {
var left: Node<K, V>? = null
var right: Node<K, V>? = null
override fun equals(other: Any?): Boolean {
if (this === other) return true
if (other?.javaClass != javaClass) re... | 0 | Kotlin | 2 | 1 | 68f862c1a6c9d046669a04c564ae4f3ec3f079a8 | 944 | trees | MIT License |
matching-engine/matching-engine-app/src/test/kotlin/co/nilin/opex/matching/engine/app/OrderBookEventEmitsUnitTest.kt | opexdev | 370,411,517 | false | null | package co.nilin.opex.matching.engine.app
import co.nilin.opex.matching.engine.core.engine.SimpleOrderBook
import co.nilin.opex.matching.engine.core.eventh.EventDispatcher
import co.nilin.opex.matching.engine.core.eventh.events.OrderBookPublishedEvent
import co.nilin.opex.matching.engine.core.inout.OrderCancelCommand
... | 29 | null | 22 | 51 | fedf3be46ee7fb85ca7177ae91b13dbc6f2e8a73 | 4,623 | core | MIT License |
plugins/kotlin/jps/graphImplementationTests/testData/incremental/resolution/classOverFun/usage.kt | JetBrains | 2,489,216 | false | null | package c
import a.*
import b.*
fun usage() {
A()
}
| 284 | null | 5162 | 16,707 | def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0 | 57 | intellij-community | Apache License 2.0 |
samples/gallery/src/main/java/com/bumptech/glide/samples/gallery/HorizontalGalleryFragment.kt | sjudd | 11,268,490 | false | null | package com.bumptech.glide.samples.gallery
import android.graphics.drawable.Drawable
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.fou... | 0 | null | 6 | 7 | b3fd2bc1b68b988202e50fac757a318274c16be8 | 2,889 | glide | Apache License 2.0 |
android/BGXCommander/app/src/main/java/com/silabs/bgxcommander/dialogs/DialogUtils.kt | SiliconLabs | 145,628,775 | false | {"Ruby": 2, "Markdown": 19, "Ignore List": 11, "Git Attributes": 1, "Objective-C": 125, "OpenStep Property List": 23, "C": 99, "Python": 4, "JSON": 21, "XML": 100, "Rich Text Format": 11, "Shell": 12, "Text": 2, "Gradle": 14, "Java Properties": 10, "Batchfile": 6, "Proguard": 5, "Java": 21, "INI": 1, "Kotlin": 22, "Ass... | package com.silabs.bgxcommander.dialogs
import android.app.Dialog
import android.content.Context
import androidx.appcompat.app.AlertDialog
class DialogUtils {
fun getInvalidGattHandlesDialog(context: Context, deviceName: String): Dialog {
return AlertDialog.Builder(context).apply {
setTitle("I... | 0 | C | 29 | 33 | 66138da0bdd4542fafda3534f216cee0b2923cf1 | 1,481 | wireless-xpress | Apache License 2.0 |
app/src/main/java/org/wikipedia/settings/SiteInfo.kt | dbrant | 590,289,323 | true | {"Git Config": 1, "Gradle": 7, "Shell": 3, "Text": 2, "INI": 3, "Ignore List": 2, "Batchfile": 1, "Markdown": 2, "EditorConfig": 1, "XML": 631, "CODEOWNERS": 1, "YAML": 4, "Proguard": 2, "JSON": 55, "Java Properties": 2, "Java": 242, "Kotlin": 442, "SVG": 1, "Python": 5, "Jinja": 1} | package org.wikipedia.settings
import com.google.gson.annotations.SerializedName
data class SiteInfo(val mainpage: String?,
val sitename: String?,
val lang: String?,
@SerializedName("readinglists-config")
val readingListsConfig: ReadingLi... | 0 | Java | 0 | 2 | c9cdc58674bb5991193b0bf513c18061790e3ce9 | 536 | wikipedia | Apache License 2.0 |
sample/src/main/java/com/anthonycr/tagger/sample/Test.kt | anthonycr | 113,112,664 | false | null | package com.anthonycr.tagger.sample
import android.util.Log
import com.anthonycr.sample.TAG
import com.anthonycr.tagger.CaseStyle
import com.anthonycr.tagger.Tag
/**
* Created by anthonycr on 12/4/17.
*/
@Tag(CaseStyle.ALL_CAPS)
object Test {
fun log() {
Log.d(TAG, "Hello World Test")
}
} | 0 | Kotlin | 1 | 5 | 8f5e3a0d75a33df52b167b0819a112b18293b956 | 311 | Tagger | MIT License |
codegen-cli/src/test/java/pro/bilous/codegen/process/FromModelProcessorTest.kt | v-bilous | 296,634,785 | false | null | package pro.bilous.codegen.process
import com.nhaarman.mockitokotlin2.mock
import com.nhaarman.mockitokotlin2.verify
import com.nhaarman.mockitokotlin2.whenever
import org.junit.jupiter.api.Assertions.*
import org.junit.jupiter.api.Test
import org.openapitools.codegen.CodegenModel
import org.openapitools.codegen.Codeg... | 1 | null | 1 | 3 | 3a32f8ecd14f477e59b541a10c752b352dded29e | 2,756 | difhub-codegen | MIT License |
kotlin/pangram/src/main/kotlin/Pangram.kt | vladflore | 299,923,035 | false | {"Text": 1, "Ignore List": 1, "Markdown": 51, "Gradle": 10, "Java": 21, "XML": 1, "Gradle Kotlin DSL": 5, "Shell": 9, "Batchfile": 5, "INI": 5, "Kotlin": 10, "Julia": 31, "Python": 20, "jq": 2, "JSON": 1} | object Pangram {
fun isPangram(input: String): Boolean {
val set = input.toLowerCase().asSequence().filter { it.isLetter() }.toSet()
return set.size == 26
}
}
| 1 | null | 1 | 1 | 6d6ec893c8389b8fd648cbe6ac9c34930a207ee8 | 165 | exercism | MIT License |
app/src/main/java/com/mitchwongho/example/apkotlin/MainActivity.kt | mitchwongho | 46,237,109 | false | null | package com.mitchwongho.example.apkotlin
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import android.os.Bundle
import android.support.design.widget.Snackbar
import android.support.v4.view.GravityCompat
import android.support.v7.app.AppCompatActivity
import android.support.v7.graphics.Palette
im... | 1 | null | 1 | 1 | db91de3d7d970fb96937e899d504cea4d72d7ffd | 1,914 | GDS-Material-Kotlin-Kata | MIT License |
src/main/kotlin/tech/gdragon/db/table/Tables.kt | fossabot | 128,123,819 | true | {"Nginx": 1, "YAML": 2, "Ignore List": 2, "Maven POM": 1, "Procfile": 1, "Dockerfile": 1, "Dotenv": 3, "Text": 1, "SVG": 1, "Batchfile": 2, "JSON": 1, "Markdown": 5, "XML": 2, "Java": 1, "HTML": 2, "Kotlin": 29} | package tech.gdragon.db.table
import org.jetbrains.exposed.dao.IntIdTable
import org.jetbrains.exposed.dao.LongIdTable
import org.jetbrains.exposed.sql.ReferenceOption
import java.math.BigDecimal
object Tables {
object Guilds : LongIdTable() {
val name = text("name")
}
object Settings : LongIdTable() {
... | 0 | Kotlin | 0 | 0 | 9a48ed433c0ff6f92f14def0d4fa99094803bac4 | 1,289 | throw-voice | Apache License 2.0 |
j2k/testData/fileOrElement/inheritance/classOneExtendsBaseWithZeroParamsNonEmptyConstructor.kt | JakeWharton | 99,388,807 | true | null | internal open class Base(name: String)
internal class One(name: String, private val mySecond: String) : Base(name) | 0 | Kotlin | 28 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 115 | kotlin | Apache License 2.0 |
src/main/kotlin/io/prometheus/proxy/ProxyHttpRoutes.kt | pambrose | 87,608,617 | false | null | /*
* Copyright © 2024 <NAME> (<EMAIL>)
*
* 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 a... | 6 | null | 23 | 141 | a7a57ca2b57dede349e09037e352596262040e9d | 10,796 | prometheus-proxy | Apache License 2.0 |
ui/src/main/java/io/snabble/sdk/ui/coupon/CouponItem.kt | snabble | 124,525,499 | false | null | package io.snabble.sdk.ui.coupon
import android.content.res.Resources
import android.graphics.Color
import android.os.Parcelable
import android.util.DisplayMetrics
import androidx.annotation.ColorInt
import androidx.annotation.Keep
import io.snabble.sdk.coupons.CouponImage
import io.snabble.sdk.Project
import io.snabb... | 2 | null | 1 | 6 | 666c1e53da8a2748519cd805accffc05e13381dd | 3,334 | Android-SDK | MIT License |
MyPractice/app/src/main/java/com/demon/yu/avatar/interact/CloneXComposeUiConfig.kt | yujintao529 | 63,918,338 | false | {"Java": 6634760, "C": 330310, "Kotlin": 261899, "C++": 235498, "AIDL": 3824, "CMake": 3765, "Objective-C++": 706, "Shell": 410} | package com.demon.yu.avatar.interact
import com.demon.yu.extenstion.dp2Px
/**
* Created by yujintao.529 on 2022/6/5
*/
object CloneXComposeUiConfig {
const val TAG = "composeAvatar"
const val MAX_SCALE = 124f / 60f
const val SECOND_MAX_SCALE = 85f / 60f
val RADIUS = 120.dp2Px()
val DISMISS_2_NO... | 1 | null | 1 | 1 | 70c8757c79099e222c93124c63b6351b65508fb2 | 392 | android_practice | Apache License 2.0 |
android-client/app/src/main/java/com/sysu/example/activity/MapTestData.kt | sanfengliao | 219,294,772 | false | {"Markdown": 2, "Text": 2, "Gradle": 9, "XML": 64, "Shell": 2, "Batchfile": 2, "INI": 10, "Java Properties": 4, "Java": 3, "Ignore List": 9, "Python": 80, "JSON": 4, "Protocol Buffer": 1, "Thrift": 1, "Proguard": 5, "Kotlin": 48} | package com.sysu.example.activity
object MapTestData {
val posSet = listOf(
doubleArrayOf(1.500999629497528076e-01, 1.911513805389404297e-01, 6.340360641479492188e-02),
doubleArrayOf(1.602425426244735718e-02, 1.095497533679008484e-01, 2.221112996339797974e-01),
doubleArrayOf(-7.625202089548... | 0 | Kotlin | 0 | 0 | dc405ac0010075c2eea63083528db7cb765ad161 | 52,958 | DeepNavi | Apache License 2.0 |
citybikeapp-backend/src/main/kotlin/com/mtuomiko/citybikeapp/common/model/TopStation.kt | mtuomiko | 579,733,958 | false | {"Kotlin": 114152, "TypeScript": 26783, "JavaScript": 6736, "Shell": 369, "HTML": 262} | package com.mtuomiko.citybikeapp.common.model
class TopStation(
val id: Int,
val journeyCount: Long
)
| 0 | Kotlin | 0 | 0 | f41f769556117344cabacafcd3da5a545984bde6 | 111 | citybikeapp | Creative Commons Attribution 4.0 International |
Corona-Warn-App/src/main/java/de/rki/coronawarnapp/contactdiary/ui/day/tabs/person/ContactDiaryPersonListViewModel.kt | corona-warn-app | 268,027,139 | false | null | package de.rki.coronawarnapp.contactdiary.ui.day.tabs.person
import androidx.lifecycle.LiveData
import androidx.lifecycle.asLiveData
import dagger.assisted.Assisted
import dagger.assisted.AssistedFactory
import dagger.assisted.AssistedInject
import de.rki.coronawarnapp.contactdiary.model.ContactDiaryPersonEncounter
im... | 6 | null | 8 | 2,495 | d3833a212bd4c84e38a1fad23b282836d70ab8d5 | 6,784 | cwa-app-android | Apache License 2.0 |
wpi/src/main/kotlin/frc/team4069/saturn/lib/subsystem/TrajectoryTrackerCommand.kt | FRCTeam4069 | 152,143,141 | false | null | /*
* Copyright 2019 Lo-Ellen Robotics
*
* 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 | 5 | cafa7ae6dbd39177f807d5aaa5ef17c98f057826 | 4,488 | SaturnLibrary | Apache License 2.0 |
gateway/src/sk/csirt/viruschecker/gateway/routing/utils/utils.kt | CSIRT-SK | 214,125,983 | false | null | package sk.csirt.viruschecker.gateway.routing.utils
import org.jetbrains.exposed.sql.LiteralOp
import org.jetbrains.exposed.sql.VarCharColumnType
import org.joda.time.DateTime
import java.time.Instant
fun DateTime.toJavaTimeInstant(): Instant = this.millis.let { Instant.ofEpochMilli(it) }
fun Instant.toJodaDateTime(... | 0 | Kotlin | 5 | 6 | f9269787d5c30fccb15f416f451113bba4e7cde9 | 432 | viruschecker | MIT License |
kit/src/main/java/healthstack/kit/datastore/PreferenceDataStore.kt | S-HealthStack | 520,365,275 | false | null | package healthstack.kit.datastore
import android.content.Context
import androidx.datastore.preferences.core.edit
import androidx.datastore.preferences.core.stringPreferencesKey
import androidx.datastore.preferences.preferencesDataStore
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.map
val Context... | 1 | Kotlin | 7 | 11 | 6cd6eddb3b7e29dc3f3a9d95b1d0cff8ea295243 | 772 | app-sdk | Apache License 2.0 |
kotlin-mui-icons/src/main/generated/mui/icons/material/SquareFootRounded.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/SquareFootRounded")
@file:JsNonModule
package mui.icons.material
@JsName("default")
external val SquareFootRounded: SvgIconComponent
| 12 | Kotlin | 145 | 983 | a99345a0160a80a7a90bf1adfbfdc83a31a18dd6 | 216 | kotlin-wrappers | Apache License 2.0 |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/bold/ScrewAlt.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.bold
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter
im... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 4,379 | icons | MIT License |
sample-postgres/src/test/kotlin/com/example/sample_postgres/fixtures/RentalFixture.kt | maeharin | 138,299,084 | false | null | package com.maeharin.factlin.fixtures
import java.time.LocalDateTime
import com.ninja_squad.dbsetup_kotlin.DbSetupBuilder
import com.ninja_squad.dbsetup_kotlin.mappedValues
data class RentalFixture (
val rental_id: Int = 0, //
val rental_date: LocalDateTime = LocalDateTime.now(), //
val inventory_id: In... | 1 | Kotlin | 4 | 35 | 2fb0754179904aeeaa223391719d512f2f246049 | 963 | factlin | Apache License 2.0 |
app/src/test/java/com/example/kotlin_coroutines_and_flow/usecases/coroutines/usecase6/FakeVersionsErrorApi.kt | bgunay | 786,270,720 | false | {"Kotlin": 323057} | package com.example.kotlin_coroutines_and_flow.usecases.coroutines.usecase5
import com.example.kotlin_coroutines_and_flow.mock.AndroidVersion
import com.example.kotlin_coroutines_and_flow.mock.MockApi
import com.example.kotlin_coroutines_and_flow.mock.VersionFeatures
import com.example.kotlin_coroutines_and_flow.utils... | 0 | Kotlin | 0 | 0 | 7015291989b8f839abdafc5295178752b4664e66 | 1,034 | kotlin-coroutines-flow-android | Apache License 2.0 |
2.08.02-Exercise-RecyclerViewAdapter/app/src/main/java/com/study/android20802/data/TwitModel.kt | ferryyuwono | 350,933,363 | false | null | package com.study.android20802.data
data class TwitModel(val fullName: String, val message: String)
| 0 | Kotlin | 0 | 2 | 3a42a3b1ca5d11e1dfb5c44c986d821fb211b803 | 101 | android-beginner | Apache License 2.0 |
apptestdemo/src/main/java/com/julive/apptestdemo/RecorderServiceConnectActivity.kt | ibaozi-cn | 246,830,487 | false | null | package com.julive.apptestdemo
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.os.Environment
import android.util.Log
import com.julive.audio.RecorderConfig
import com.julive.audio.RecorderManager
import com.julive.audio.common.RecorderOutFormat
import kotlinx.android.synthetic.... | 0 | null | 6 | 19 | 4b5689cf04e049ad71105cda4f94aebd6e76a3df | 2,289 | Multi-Process-Audio-Recorder | Apache License 2.0 |
app/src/main/java/com/byoutline/kickmaterial/dagger/AppComponent.kt | byoutline | 43,504,255 | false | null | package com.byoutline.kickmaterial.dagger
import com.byoutline.kickmaterial.KickMaterialApp
import com.byoutline.kickmaterial.model.DiscoverQuery
import com.byoutline.kickmaterial.model.DiscoverResponse
import com.byoutline.observablecachedfield.ObservableCachedFieldWithArg
import dagger.Component
import dagger.androi... | 2 | Kotlin | 316 | 1,649 | 25181c9ce4fdf5c76e40bc747a6f93f31e1bac9d | 924 | kickmaterial | Apache License 2.0 |
src/main/kotlin/com/octawizard/domain/usecase/reservation/JoinMatch.kt | octawizard | 299,882,247 | false | null | package com.octawizard.domain.usecase.reservation
import com.octawizard.domain.model.Email
import com.octawizard.domain.model.Reservation
import com.octawizard.domain.model.User
import com.octawizard.repository.reservation.ReservationRepository
import com.octawizard.repository.user.UserRepository
import com.octawizard... | 6 | Kotlin | 0 | 0 | a1d58d6fe35dda02a8cff27b52d2693ef4881fa4 | 1,211 | padles-api | Apache License 2.0 |
foundation/src/main/java/com/tairitsu/ignotus/foundation/config/TomcatWebServerCustomizer.kt | ParaParty | 430,148,230 | false | {"Kotlin": 173423, "Java": 30623} | package com.tairitsu.ignotus.foundation.config
import org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory
import org.springframework.boot.web.server.WebServerFactoryCustomizer
import org.springframework.stereotype.Component
import org.springframework.boot.web.embedded.tomcat.TomcatConnectorCusto... | 1 | Kotlin | 0 | 22 | 0937ec102c9da4df6c39ee8bd1832402ec9cd1e8 | 743 | Ignotus | MIT License |
app/src/main/java/com/kylecorry/trail_sense/navigation/infrastructure/export/BeaconExport.kt | leandrovisky | 371,525,007 | true | {"Kotlin": 1025888} | package com.kylecorry.trail_sense.navigation.infrastructure.export
import com.kylecorry.trailsensecore.domain.navigation.Beacon
import com.kylecorry.trailsensecore.domain.navigation.BeaconGroup
data class BeaconExport(val beacons: List<Beacon>, val groups: List<BeaconGroup>) | 0 | null | 0 | 0 | 02e94d81a575b7b77b273f682296d39759962d86 | 277 | Trail-Sense | MIT License |
Core/src/main/kotlin/com/asanasoft/init/Environment.kt | asanasoft | 729,726,651 | false | {"Kotlin": 55106} | package com.asanasoft.graphdb.init
import mu.KotlinLogging
import java.util.*
private val logger = KotlinLogging.logger {}
object Environment : PropertiesLoader() {
private var initialized : Boolean = false
val SYSTEM_FILENAME = "system.properties"
init {
logger.info("Initializing Environment...... | 0 | Kotlin | 0 | 0 | fc0995c94a9be5cc174e2b7e2d2f51ce37188984 | 1,871 | graphdb-document | MIT License |
crabzilla-core/src/test/java/io/github/crabzilla/core/JacksonJsonTest.kt | lukehuang | 131,502,776 | true | {"Kotlin": 103927, "Java": 65276, "Shell": 4897} | package io.github.crabzilla.core
import com.fasterxml.jackson.databind.SerializationFeature
import io.github.crabzilla.example1.customer.CreateCustomer
import io.github.crabzilla.example1.customer.CustomerActivated
import io.github.crabzilla.example1.customer.CustomerCreated
import io.github.crabzilla.example1.custome... | 0 | Kotlin | 0 | 0 | d9f6123411c2b4ea03912c0d709d323cbb078a4c | 2,047 | crabzilla | Apache License 2.0 |
library/src/main/kotlin/com/daniloaraujosilva/mathemagika/library/common/mathematica/functions/Divide.kt | Danilo-Araujo-Silva | 271,904,885 | false | null | package com.daniloaraujosilva.mathemagika.library.common.mathematica.functions
import com.daniloaraujosilva.mathemagika.library.common.mathematica.MathematicaFunction
/**
*````
*
* Name: Divide
*
* Full name: System`Divide
*
* Usage: x/y or Divide[x, y] is equivalent to x y^-1.
*... | 2 | Kotlin | 0 | 3 | 4fcf68af14f55b8634132d34f61dae8bb2ee2942 | 970 | mathemagika | Apache License 2.0 |
projects/simulation/src/main/kotlin/simulation/combat/spatial/MissileHit.kt | silentorb | 188,621,122 | false | {"Kotlin": 862571, "Python": 32172, "SuperCollider": 5214, "Faust": 528} | package simulation.combat.spatial
import marloth.scenery.enums.Meshes
import silentorb.mythic.ent.Id
import silentorb.mythic.happenings.DeleteEntityEvent
import silentorb.mythic.happenings.Events
import silentorb.mythic.physics.Body
import silentorb.mythic.physics.Collision
import silentorb.mythic.spatial.Vector3
impo... | 0 | Kotlin | 0 | 0 | 03a1e2c082343ee3d64c8d1ffadad156fca6f9e1 | 2,835 | marloth-kotlin | MIT License |
src/main/kotlin/kfoenix/TableView.kt | bkenn | 112,798,881 | false | null | package kfoenix
import com.jfoenix.controls.JFXCheckBox
import javafx.geometry.Pos
import javafx.scene.control.TableCell
import tornadofx.*
class JFXCheckBoxCell<S>(val makeEditable: Boolean): TableCell<S, Boolean?>() {
val checkbox: JFXCheckBox by lazy {
JFXCheckBox().apply {
if(makeEditable)... | 5 | Kotlin | 7 | 89 | ea701a050f5161dadf3ed5a42da215fed169b418 | 1,017 | KFoenix | Apache License 2.0 |
app/src/main/java/com/conectaedu/android/ui/course/CourseViewModel.kt | JuanPablo0612 | 683,558,698 | false | null | package com.conectaedu.android.ui.course
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.conectaedu.android.data.model.data
import com.conectaedu.andr... | 0 | Kotlin | 0 | 0 | 0b0f58b13718506892481d218a7676aa111d5730 | 2,812 | hackoriente_JuanPablo-Stiven | MIT License |
app/src/main/java/com/voidsamurai/lordoftime/bd/DAORutines.kt | VoidSamuraj | 386,862,009 | false | {"Kotlin": 306345, "Java": 18859} | package com.voidsamurai.lordoftime.bd
import com.google.firebase.database.*
import com.voidsamurai.lordoftime.MainActivity
import com.voidsamurai.lordoftime.R
import java.util.*
import kotlin.collections.ArrayList
//@Keep
class DAORutines(mActivity: MainActivity){
private val data:ArrayList<RutinesRow> = arrayList... | 0 | Kotlin | 0 | 1 | 46a2aa2e680e132b7ffef7aee89d032b64f34a7c | 4,229 | LordOfTime | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.