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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
generator/src/main/kotlin/io/github/ruedigerk/contractfirst/generator/java/transform/JavadocHelper.kt | ruedigerk | 134,967,111 | false | {"Maven POM": 9, "Markdown": 2, "Ignore List": 1, "Text": 1, "Java": 143, "YAML": 6, "XML": 1, "Groovy": 27, "Kotlin": 67, "OASv3-yaml": 21, "JSON": 2} | package io.github.ruedigerk.contractfirst.generator.java.transform
import io.github.ruedigerk.contractfirst.generator.model.Schema
/**
* For extracting the Javadoc relevant description from a schema.
*/
object JavadocHelper {
fun toJavadoc(schema: Schema): String? = schema.description ?: schema.title
} | 0 | Java | 1 | 3 | 73899644793762ea4f2f9bab7dc8c6d62dfef09b | 312 | contractfirst-generator | MIT License |
library/implementations/timber/src/main/java/com/michaelflisar/lumberjack/implementation/timber/TimberLogger.kt | MFlisar | 71,460,539 | false | {"Kotlin": 138941} | package com.michaelflisar.lumberjack.implementation.timber
import com.michaelflisar.lumberjack.core.AbstractLogger
import com.michaelflisar.lumberjack.core.classes.Level
import com.michaelflisar.lumberjack.implementation.timber.core.DefaultFormatter
import com.michaelflisar.lumberjack.implementation.timber.data.StackD... | 0 | Kotlin | 7 | 42 | 5e97f50775d286f10e82599235bad788dbdccaf0 | 3,667 | Lumberjack | Apache License 2.0 |
app/src/main/java/com/github/programmerr47/flickrawesomeclient/pages/search/PhotoListAdapter.kt | programmerr47 | 147,911,795 | false | null | package com.github.programmerr47.flickrawesomeclient.pages.search
import android.arch.paging.PagedListAdapter
import android.content.Context
import android.support.v7.util.DiffUtil
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import com.github.pr... | 7 | null | 2 | 12 | 33650da75f5bc1bf5ef27192f92349293c049329 | 1,922 | flickr-test-app | MIT License |
katalog-plugins/katalog-plugin-gcp/src/main/kotlin/com/bol/katalog/plugin/gcp/GcpBlobStoreAutoConfiguration.kt | csu-anzai | 206,344,543 | true | {"Kotlin": 518462, "TypeScript": 149231, "HTML": 52073, "Java": 44310, "CSS": 1442, "HCL": 1015, "Dockerfile": 653, "Shell": 528} | package com.bol.katalog.plugin.gcp
import com.bol.katalog.store.BlobStore
import com.google.cloud.storage.Storage
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty
import org.springframework.boot.context.properties.EnableConfigurationProperties
import org.springframework.context.annotation.... | 0 | null | 0 | 0 | e85038804bc7c146732461d3ce8decb8a5034ba6 | 715 | katalog | Apache License 2.0 |
app/src/main/java/com/example/loginviaotp/MainActivity.kt | evenidontknow | 253,469,708 | false | null | @file:Suppress("MemberVisibilityCanBePrivate")
package com.example.loginviaotp
import android.os.Bundle
import android.util.Log
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import androidx.databinding.DataBindingUtil
import com.example.loginviaotp.databinding.ActivityMainBinding
class ... | 1 | Kotlin | 1 | 0 | a4b08e133bb10ab192572b3acc2e653d510ccf74 | 1,458 | LoginViaOTP-PART2 | MIT License |
fingerprint-protection/fingerprint-protection-impl/src/main/java/com/duckduckgo/fingerprintprotection/impl/FingerprintProtectionFeatureNameUtil.kt | duckduckgo | 78,869,127 | false | {"Kotlin": 14333964, "HTML": 63593, "Ruby": 20564, "C++": 10312, "JavaScript": 8463, "CMake": 1992, "C": 1076, "Shell": 784} | /*
* Copyright (c) 2022 DuckDuckGo
*
* 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 ... | 67 | Kotlin | 901 | 3,823 | 6415f0f087a11a51c0a0f15faad5cce9c790417c | 1,006 | Android | Apache License 2.0 |
kotest-core/src/commonMain/kotlin/io/kotest/core/test/TestName.kt | koperagen | 273,506,027 | true | {"Kotlin": 2330303, "HTML": 423, "Java": 145} | package io.kotest.core.test
import io.kotest.core.config.Project
/**
* Models the name of a test. A test can sometimes have a prefix set, eg when using FeatureSpec.
* This prefix can be disabled in output through project config flags.
*/
data class TestName(val prefix: String?, val name: String, val focus: Boolean... | 0 | null | 0 | 0 | d6e86efeaa6aa2a8274c6d06ccb64537a76f08e8 | 2,028 | kotest | Apache License 2.0 |
app/src/main/java/id/co/binar/secondhand/ui/dashboard/list_sell/ListSellViewModel.kt | anantyan | 518,069,410 | false | {"Kotlin": 259916, "Ruby": 641} | package id.co.binar.secondhand.ui.dashboard.list_sell
import androidx.lifecycle.*
import dagger.hilt.android.lifecycle.HiltViewModel
import id.co.binar.secondhand.data.local.model.SellerProductLocal
import id.co.binar.secondhand.model.ErrorResponse
import id.co.binar.secondhand.model.seller.category.GetCategoryRespons... | 0 | Kotlin | 0 | 0 | 1bb2890297c174f67aac0cd6bb472010f13c87af | 1,053 | SecondHand | MIT License |
dbflow-tests/src/test/java/com/raizlabs/android/dbflow/sql/language/OperatorTest.kt | jovezhougang | 91,161,377 | true | {"Shell": 1, "Markdown": 26, "Proguard": 5, "INI": 10, "Kotlin": 131, "Java": 206, "SQL": 1, "Java Properties": 1} | package com.raizlabs.android.dbflow.sql.language
import com.raizlabs.android.dbflow.BaseUnitTest
import com.raizlabs.android.dbflow.models.TwoColumnModel_Table.id
import com.raizlabs.android.dbflow.annotation.Collate
import com.raizlabs.android.dbflow.assertEquals
import com.raizlabs.android.dbflow.kotlinextensions.an... | 0 | Java | 0 | 0 | f4d7b6196d0289467fc3a7a701b66e80854067b7 | 2,334 | DBFlow | MIT License |
app/src/test/java/com/programmergabut/solatkuy/JsonToPojoConverter.kt | jiwomdf | 247,947,112 | false | null | package com.programmergabut.solatkuy
import com.google.gson.Gson
import java.io.IOException
class JsonToPojoConverterAndroidTest {
companion object{
inline fun <reified BASE, reified RES> convertJson(fileName: String): RES {
val inputStream = readFromFile<BASE>(fileName)
return G... | 0 | Kotlin | 23 | 35 | fc8e239f3cd677470bb5099ab021210db36a18e5 | 870 | solat-kuy-android-mvvm-with-coroutine | MIT License |
app/src/main/java/com/karthek/android/s/gallery/MediaViewActivity.kt | karthek-git | 601,273,989 | false | null | package com.karthek.android.s.gallery
import android.database.Cursor
import android.net.Uri
import android.os.Bundle
import android.provider.OpenableColumns
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.material3.Surface
import androidx.compose.runtime.C... | 0 | Kotlin | 0 | 0 | d12182ca98005a98bfb17fffbd0743b4872baa3a | 1,608 | Gallery | Apache License 2.0 |
src/main/kotlin/no/nav/bidrag/domene/streng/Bruksenhetsnummer.kt | navikt | 712,376,909 | false | null | @file:Suppress("unused")
package no.nav.bidrag.domain.string
import jakarta.persistence.AttributeConverter
import no.nav.bidrag.domain.felles.Verdiobjekt
import no.nav.bidrag.domain.util.trimToNull
import org.springframework.core.convert.converter.Converter
class Bruksenhetsnummer(override val verdi: String) : Verdi... | 5 | Kotlin | 0 | 0 | c751106a3844c3ef320b0c6590f41e44ef796e7b | 1,052 | bidrag-domene | MIT License |
src/main/kotlin/net/ndrei/teslapoweredthingies/machines/powdermaker/PowderMakerRegistry.kt | MinecraftModDevelopmentMods | 77,729,751 | false | {"Kotlin": 552829} | package net.ndrei.teslapoweredthingies.machines.powdermaker
import com.google.gson.JsonElement
import net.minecraft.client.Minecraft
import net.minecraft.init.Blocks
import net.minecraft.init.Items
import net.minecraft.item.Item
import net.minecraft.item.ItemStack
import net.minecraft.item.crafting.IRecipe
import net.... | 21 | Kotlin | 4 | 2 | 22fdcf629e195a73dd85cf0ac0c5dda551085e71 | 11,238 | Tesla-Powered-Thingies | MIT License |
marcel-compilation/marcel-semantic/marcel-semantic-transformer/src/main/kotlin/com/tambapps/marcel/semantic/transform/SyntaxTreeTransformation.kt | tambapps | 587,877,674 | false | {"Maven POM": 26, "Text": 1, "Ignore List": 11, "Markdown": 87, "Kotlin": 465, "Gradle Kotlin DSL": 5, "INI": 4, "Java Properties": 4, "Shell": 5, "Batchfile": 2, "Proguard": 8, "XML": 83, "Java": 226, "YAML": 1, "JavaScript": 1, "TOML": 1, "Gradle": 5, "JFlex": 1} | package com.tambapps.marcel.semantic.transform
import com.tambapps.marcel.parser.cst.CstNode
import com.tambapps.marcel.semantic.SemanticPurpose
import com.tambapps.marcel.semantic.ast.AnnotationNode
import com.tambapps.marcel.semantic.ast.AstNode
import com.tambapps.marcel.semantic.ast.ClassNode
import com.tambapps.m... | 0 | Java | 0 | 7 | 83bf3562f8bb6b43fe5d6f2e13c9ed5ad3300bce | 1,530 | marcel | Apache License 2.0 |
app/src/main/java/com/example/androiddevchallenge/ui/HomeScreen.kt | mechurak | 344,447,654 | 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 | 302d61e3f151bf313979161c034a09855d82a4f5 | 2,743 | countdown-timer-compose | Apache License 2.0 |
cupertino-icons-extended/src/commonMain/kotlin/io/github/alexzhirkevich/cupertino/icons/outlined/HandPointUpLeft.kt | alexzhirkevich | 636,411,288 | false | {"Kotlin": 5215549, "Ruby": 2329, "Swift": 2101, "HTML": 2071, "Shell": 868} | package io.github.alexzhirkevich.cupertino.icons.outlined
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.StrokeJo... | 18 | Kotlin | 31 | 848 | 54bfbb58f6b36248c5947de343567903298ee308 | 4,820 | compose-cupertino | Apache License 2.0 |
app/src/main/java/com/zenhub/user/RepoListActivity.kt | rasa-silva | 98,320,033 | false | null | package com.zenhub.user
import android.app.Dialog
import android.app.DialogFragment
import android.content.Context
import android.os.Bundle
import android.support.v4.widget.SwipeRefreshLayout
import android.support.v7.app.AlertDialog
import android.support.v7.app.AppCompatActivity
import android.support.v7.widget.Divi... | 11 | Kotlin | 1 | 0 | d7680215cd17c926b09d20bc90603fd2c3aedd90 | 6,383 | GitZen | Apache License 2.0 |
app/src/main/kotlin/com/dmko/bulldogvods/app/common/extensions/RxExtensions.kt | dmitrykochanov | 477,314,891 | false | null | package com.dmko.bulldogvods.app.common.extensions
import androidx.datastore.preferences.core.MutablePreferences
import androidx.datastore.preferences.core.Preferences
import androidx.datastore.rxjava3.RxDataStore
import androidx.lifecycle.SavedStateHandle
import androidx.lifecycle.asFlow
import io.reactivex.rxjava3.c... | 0 | Kotlin | 0 | 1 | 0aa6ec12113a0366c81c236cc6288e72ed15798c | 969 | BulldogVods | MIT License |
client/src/nativeMain/kotlin/batect/dockerclient/AutoCloseable.kt | batect | 401,175,530 | false | null | /*
Copyright 2017-2022 Charles Korn.
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 ag... | 7 | Kotlin | 0 | 9 | de36438edf0eafae8823c2ebd5a960835b0c2981 | 1,388 | docker-client | Apache License 2.0 |
IMCApp/app/src/main/java/com/example/imcapp/MainActivity.kt | Alfser | 380,266,461 | false | null | package com.example.imcapp
import android.os.Bundle
import android.view.View
import android.widget.Button
import android.widget.EditText
import android.widget.TextView
import androidx.appcompat.app.AppCompatActivity
class MainActivity : AppCompatActivity() {
lateinit var edPeso: EditText
lateinit var edAltura... | 0 | Kotlin | 0 | 0 | 22300b2590516de159b4abcff47e83d2b3fd9e8a | 1,470 | BootcampMobileSantander | Apache License 2.0 |
soil-form/src/commonMain/kotlin/soil/form/rule/LongRule.kt | soil-kt | 789,648,330 | false | {"Kotlin": 315429, "Makefile": 915} | // Copyright 2024 Soil Contributors
// SPDX-License-Identifier: Apache-2.0
package soil.form.rule
import soil.form.fieldError
import soil.form.FieldErrors
import soil.form.ValidationRule
import soil.form.ValidationRuleBuilder
import soil.form.noErrors
typealias LongRule = ValidationRule<Long>
typealias LongRuleBuild... | 0 | Kotlin | 0 | 34 | b3d9ad5146c38395125e538b0f921d628b544298 | 840 | soil | Apache License 2.0 |
app/src/main/java/co/tiagoaguiar/course/instagram/profile/data/ProfileLocalDataSource.kt | Felipe-Borba | 751,564,839 | false | {"Kotlin": 149355} | package co.tiagoaguiar.course.instagram.profile.data
import co.tiagoaguiar.course.instagram.common.base.Cache
import co.tiagoaguiar.course.instagram.common.base.RequestCallback
import co.tiagoaguiar.course.instagram.common.model.Database
import co.tiagoaguiar.course.instagram.common.model.Post
import co.tiagoaguiar.co... | 0 | Kotlin | 0 | 0 | 58a795ec85a7f530917005cbaeded94d0aebbe76 | 1,622 | InstagramCopy | MIT License |
automotive/src/main/java/com/volvocars/wearablemonitor/domain/repository/DiabetesRepository.kt | volvo-cars | 309,467,507 | false | {"Kotlin": 127151, "HTML": 36742} | package com.volvocars.wearablemonitor.domain.repository
import com.volvocars.wearablemonitor.domain.model.Glucose
import com.volvocars.wearablemonitor.domain.model.ServerStatus
import kotlinx.coroutines.flow.Flow
/**
* Simple repository to handle glucose values and server status
*/
interface DiabetesRepository {
... | 0 | Kotlin | 0 | 6 | 78ef44a021208c4b1f6f181511d1e79d97648233 | 580 | sample-android-automotive-wearable-monitoring | Apache License 2.0 |
src/main/kotlin/days_2020/Day1.kt | BasKiers | 434,124,805 | false | null | package days_2020
import util.Day
class Day1 : Day(1, 2020) {
val input = inputList.map { it.toInt() }
fun getPairs() = input.mapIndexed { i, value -> input.drop(i + 1).map { listOf(value, it) } }
fun getTriples(): List<List<List<Int>>> {
val pairs = getPairs()
return input.flatMapIndexe... | 0 | Kotlin | 0 | 0 | 870715c172f595b731ee6de275687c2d77caf2f3 | 707 | advent-of-code-2021 | Creative Commons Zero v1.0 Universal |
mbmobilesdk/src/main/java/com/daimler/mbmobilesdk/jumio/identitycheckhint/IdentityCheckHintActivity.kt | rafalzawadzki | 208,997,288 | true | {"Kotlin": 1297852, "Groovy": 4489} | package com.daimler.mbmobilesdk.jumio.identitycheckhint
import android.app.Activity
import android.content.Intent
import androidx.databinding.ViewDataBinding
import androidx.lifecycle.ViewModelProviders
import com.daimler.mbmobilesdk.BR
import com.daimler.mbmobilesdk.R
import com.daimler.mbmobilesdk.jumio.identitychec... | 0 | null | 0 | 0 | 1a924f70fbde5d731cdfde275e724e6343ee6ebe | 2,595 | MBSDK-Mobile-Android | MIT License |
app/src/main/java/com/mustafacanyucel/textcrypt/HomeFragment.kt | mcanyucel | 629,053,453 | false | {"Kotlin": 30412} | package com.mustafacanyucel.textcrypt
import android.app.Activity
import android.app.AlertDialog
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.activity.result.contract.ActivityResul... | 0 | Kotlin | 0 | 1 | 1fd0c1d21881948df4d39c9842bf1136b2717925 | 4,781 | textcrypt-android | MIT License |
buildSrc/src/main/kotlin/BuildDependenciesVersions.kt | jeffnyauke | 254,036,844 | false | null | /*
*
* Copyright (c) 2020 jeffnyauke@gmail.com
*
* 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 applic... | 0 | Kotlin | 0 | 0 | 0960891558650bd167c0c923cbf29f124981f3ea | 2,635 | TheAdventPress | Apache License 2.0 |
src/main/kotlin/com/citi/cloudlab/dao/repository/CommentRepository.kt | LokiSnow | 598,947,081 | false | {"Kotlin": 38209, "HCL": 15588, "Makefile": 1691, "Dockerfile": 615, "Shell": 142} | package com.citi.cloudlab.dao.repository
import com.citi.cloudlab.dao.model.Comment
/**
*
*@author Loki
*@date 2023/5/11
*/
interface CommentRepository : BaseRepository<Comment> {
suspend fun findByPostId(postId: String, lastCommentId: String?): List<Comment>
} | 1 | Kotlin | 0 | 0 | cae3611a4580a45c0e8f5c1deae11e00d869c1fa | 271 | cloudlab | Apache License 2.0 |
app/src/main/java/se/kruskakli/nso/data/alarms/TailfNcsAlarmsAlarmList.kt | etnt | 751,577,496 | false | {"Kotlin": 183453} | package se.kruskakli.nso.data.alarms
import com.squareup.moshi.Json
data class TailfNcsAlarmsAlarmList(
val alarm: List<Alarm>,
@Json(name = "last-changed") val lastChanged: String,
@Json(name = "number-of-alarms") val numberOfAlarms: Int
) | 0 | Kotlin | 0 | 0 | bdf9d0c11b82a1a5523eacc3fe6c4ed8dca7ee48 | 254 | Nso-Mobile | Apache License 2.0 |
src/commonTest/kotlin/io/github/tokuhirom/kdary/internal/DoubleArrayBuilderTest.kt | tokuhirom | 828,213,475 | false | {"Kotlin": 70457} | package io.github.tokuhirom.kdary.internal
import kotlin.test.Test
import kotlin.test.assertEquals
class DoubleArrayBuilderTest {
@Test
fun simple() {
val keyset =
Keyset(
keys = listOf("abc".encodeToByteArray()),
values = listOf(1),
)
v... | 1 | Kotlin | 0 | 2 | b4326f45c5bf6d426d100dd91708449b2df245e5 | 949 | kdary | MIT License |
server/src/test/kotlin/com/configset/server/db/memory/InMemoryConfigurationDaoTest.kt | raymank26 | 296,910,120 | false | null | package com.configset.server.db.memory
import com.configset.server.db.AbstractConfigurationDaoTest
import com.configset.server.db.ConfigurationDao
import com.configset.server.db.DbHandleFactory
class InMemoryConfigurationDaoTest : AbstractConfigurationDaoTest() {
override fun getDao(): ConfigurationDao {
... | 0 | Kotlin | 0 | 0 | a43603265e1c7e4c5e38d69ecd3bb8a210ba3691 | 464 | configset | Apache License 2.0 |
feature/financialposition/src/main/kotlin/com/finwise/feature/financialposition/FinancialPositionNavGraph.kt | nimaiwalsh | 757,345,803 | false | {"Kotlin": 67435, "Shell": 2385} | package com.finwise.feature.financialposition
import androidx.navigation.NavGraphBuilder
import androidx.navigation.NavHostController
import androidx.navigation.navigation
import com.finwise.feature.financialposition.details.financialPositionDetail
import com.finwise.feature.financialposition.details.navigateToFinanci... | 0 | Kotlin | 0 | 0 | 09dd188404a1f4cec038a4b08904c6436e1ccd78 | 895 | finwise | Apache License 2.0 |
arrow-libs/core/arrow-core/src/main/kotlin/arrow/core/extensions/sortedmapk/hash/SortedMapKHash.kt | clojj | 343,913,289 | true | {"Kotlin": 6274993, "SCSS": 78040, "JavaScript": 77812, "HTML": 21200, "Scala": 8073, "Shell": 2474, "Ruby": 83} | package arrow.core.extensions.sortedmapk.hash
import arrow.core.SortedMapK
import arrow.core.SortedMapK.Companion
import arrow.core.extensions.SortedMapKHash
import arrow.typeclasses.Hash
import arrow.typeclasses.HashDeprecation
import kotlin.Comparable
import kotlin.Deprecated
import kotlin.Int
import kotlin.Suppress... | 0 | null | 0 | 0 | 5eae605bbaeb2b911f69a5bccf3fa45c42578416 | 1,056 | arrow | Apache License 2.0 |
microapps/MicroappsLib/src/main/java/com/esri/microappslib/theme/Color.kt | Esri | 585,717,773 | false | {"Kotlin": 1508969, "Shell": 16478} | /*
*
* Copyright 2024 Esri
*
* 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... | 9 | Kotlin | 4 | 14 | 0e54056a49f3b89967dcbdd7ebb69ed0ee97a5ac | 2,349 | arcgis-maps-sdk-kotlin-toolkit | Apache License 2.0 |
app/src/main/java/com/example/NavigationForBlind/Activities/SettingsActivity.kt | KMoszczyc | 323,914,988 | false | null | package com.example.NavigationForBlind.Activities
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import androidx.preference.*
import com.example.NavigationForBlind.SettingsUtils.*
import com.example.obstacledetection.R
class SettingsActiv... | 0 | Kotlin | 0 | 3 | 0dfd8e2716a25e2b3328977e7bfe1e87f2ac5879 | 4,660 | Navigation-For-Blind | MIT License |
feature/books/src/test/java/com/githukudenis/comlib/feature/books/BooksViewModelTest.kt | DenisGithuku | 707,847,935 | false | {"Kotlin": 702830, "Java": 307129, "HTML": 145488, "Roff": 24734, "JavaScript": 10504, "CSS": 7560} |
/*
* Copyright 2023 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, soft... | 2 | Kotlin | 1 | 0 | f7cac6483c4d847fafd2777946798f683cf29533 | 3,035 | comlib-android-client | Apache License 2.0 |
retriever-runtime/src/commonMain/kotlin/com/ustadmobile/retriever/fetcher/ZipExtractionProgressListener.kt | UstadMobile | 439,850,316 | false | null | package com.ustadmobile.retriever.fetcher
import com.ustadmobile.retriever.util.ZipEntryKmp
fun interface ZipExtractionProgressListener {
suspend fun onProgress(entry: ZipEntryKmp, bytesSoFar: Long, totalBytes: Long)
}
| 0 | Kotlin | 0 | 0 | aa5c73a7b09d50fa596fad938d031bdb27dc9982 | 226 | retriever | MIT License |
hellocharts/src/main/java/lecho/lib/hellocharts/animation/ChartDataAnimatorV14.kt | raquezha | 588,987,526 | false | null | package lecho.lib.hellocharts.animation
import android.animation.Animator
import android.animation.ValueAnimator
import android.animation.ValueAnimator.AnimatorUpdateListener
import lecho.lib.hellocharts.view.Chart
class ChartDataAnimatorV14(private val chart: Chart) : ChartDataAnimator, Animator.AnimatorListener,
... | 0 | Kotlin | 1 | 3 | 1f5db36de51a5d1dd5a05c615b3f581c7ec17dde | 1,810 | hellocharts-kotlin | Apache License 2.0 |
src/main/kotlin/no/nav/pensjon/simulator/alderspensjon/tpo/api/acl/v2out/TpoSimuleringResultV2.kt | navikt | 753,551,695 | false | {"Kotlin": 1584529, "Java": 2774, "Dockerfile": 144} | package no.nav.pensjon.simulator.alderspensjon.tpo.api.acl.v2out
import com.fasterxml.jackson.annotation.JsonFormat
import java.time.LocalDate
/**
* This class is basically a subset of SimulatorOutput.
* It maps 1-to-1 with SimuleringResultLegacyV2 in PEN
* (except that dates are represented by java.time.LocalDate... | 1 | Kotlin | 0 | 0 | bb93f7cafbbc331bf1775d2508e292fab95a3490 | 1,635 | pensjonssimulator | MIT License |
app/src/main/java/com/bulletapps/candypricer/domain/usecase/product/CreateProductUseCase.kt | jvsena42 | 485,055,339 | false | {"Kotlin": 265086} | package com.bulletapps.candypricer.domain.usecase.product
import com.bulletapps.candypricer.data.parameters.CreateProductParameters
import com.bulletapps.candypricer.data.parameters.CreateSupplyParameters
import com.bulletapps.candypricer.data.repository.CandyPricerRepository
import javax.inject.Inject
class CreatePr... | 18 | Kotlin | 0 | 2 | c89da3d248d32f976ad7f0d918815822787ae33a | 511 | baking_calculator | MIT License |
app/src/main/java/tech/takahana/android/connectivitywatcher/ConnectivityFragment.kt | Takahana | 260,131,475 | false | null | package tech.takahana.android.connectivitywatcher
import android.os.Bundle
import android.view.View
import androidx.fragment.app.Fragment
import androidx.fragment.app.activityViewModels
import androidx.lifecycle.lifecycleScope
import dagger.hilt.android.AndroidEntryPoint
import kotlinx.coroutines.flow.collectLatest
im... | 0 | Kotlin | 0 | 2 | 358603821095a8d7eed1eb7d23b5b08d91688291 | 1,377 | AndroidConnectivityWatcher | MIT License |
app/src/main/java/com/example/locationtestdi/di/module/LocationViewModelModule.kt | suki-sahota | 284,710,822 | false | null | package com.example.locationtestdi.di.module
import android.content.Context
import com.example.locationtestdi.model.LocatorManager
import com.example.locationtestdi.viewmodel.LocationViewModelProvider
import dagger.Module
import dagger.Provides
@Module
class LocationViewModelModule { // This is actually the "Location... | 0 | Kotlin | 0 | 0 | cd1baaa67a425d51d8eda5dda20f563f65c389a3 | 540 | locationTestDI | MIT License |
reactcomponentkit/src/main/java/com/github/skyfe79/android/reactcomponentkit/util/ActionDispatcher.kt | BansookNam | 190,102,772 | true | {"Kotlin": 102390, "Java": 86370} | package com.github.skyfe79.android.reactcomponentkit.util
import com.github.skyfe79.android.reactcomponentkit.ComponentDispatchEvent
import com.github.skyfe79.android.reactcomponentkit.eventbus.EventBus
import com.github.skyfe79.android.reactcomponentkit.eventbus.Token
import com.github.skyfe79.android.reactcomponentk... | 0 | Kotlin | 0 | 0 | 43e8c95023b38c42128fc630710476d0e15575ba | 752 | AndroidReactComponentKit | MIT License |
app/src/main/java/today/kinema/ui/views/moviedetails/MovieDetailsViewModel.kt | manununhez | 288,487,056 | false | {"Kotlin": 191312} | package today.kinema.ui.views.moviedetails
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import dagger.hilt.android.lifecycle.HiltViewModel
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.StateFlow
import kotlin... | 12 | Kotlin | 0 | 0 | 95582e5545fbae83136ac675d65107080f3b0c1c | 2,597 | pl-cinemas-app | MIT License |
kotlin-mui-icons/src/main/generated/mui/icons/material/StarBorderPurple500.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/StarBorderPurple500")
@file:JsNonModule
package mui.icons.material
@JsName("default")
external val StarBorderPurple500: SvgIconComponent
| 12 | Kotlin | 145 | 983 | a99345a0160a80a7a90bf1adfbfdc83a31a18dd6 | 220 | kotlin-wrappers | Apache License 2.0 |
jvm/src/main/kotlin/org/ionproject/core/ingestion/processor/ProgrammesIngestionProcessor.kt | i-on-project | 242,369,946 | false | null | package org.ionproject.core.ingestion.processor
import org.ionproject.core.common.transaction.TransactionManager
import org.ionproject.core.ingestion.model.SchoolProgramme
import org.ionproject.core.ingestion.model.SchoolProgrammes
import org.ionproject.core.ingestion.processor.sql.ProgrammeIngestionDao
import org.ion... | 14 | Kotlin | 0 | 3 | 339407d56e66ec164ecdc4172347272d97cc26b3 | 4,936 | core | Apache License 2.0 |
app/src/main/java/com/dreamsoftware/fitflextv/ui/navigation/DashboardNavHost.kt | sergio11 | 534,529,261 | false | {"Kotlin": 615931} | package com.dreamsoftware.fitflextv.ui.navigation
import androidx.compose.runtime.Composable
import androidx.navigation.NavHostController
import androidx.navigation.compose.NavHost
import androidx.navigation.compose.composable
import com.dreamsoftware.fitflextv.ui.screens.category.CategoryDetailScreen
import com.dream... | 0 | Kotlin | 3 | 40 | 4452dcbcf3d4388144a949c65c216de5547c82a6 | 6,645 | fitflextv_android | Apache License 2.0 |
app/src/main/java/com/android/hogwartsenciclopedia/adapter/AllCharactersAdapter.kt | marlonneile | 348,127,798 | false | null | package com.android.hogwartsenciclopedia.adapter
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.RecyclerView
import com.android.hogwartsenciclopedia.databinding.GridItemCharacterBinding
import com.android.hogwartsenciclo... | 0 | Kotlin | 0 | 0 | aa8af11c7ca086674c4d21163752c38cfb4537f9 | 2,024 | hogwarts-enciclopedia-kotlin | Apache License 2.0 |
app/src/main/java/com/touchsides/wordreader/entities/ScrabbleLetterScores.kt | masithedeveloper | 364,835,348 | false | null | package com.touchsides.wordreader.entities
class ScrabbleLetterScores {
var inputWord: String? = null
companion object {
private val letterScore: HashMap<Int, Int> = HashMap('Z' - 'A')
private fun mapToScore(letters: String, score: Int) {
letters.chars().forEach { letter: Int ->... | 0 | Kotlin | 0 | 0 | 44fa23f5a6364948e6a9e222a98f6c81e47f5a71 | 901 | Touchsides | Apache License 2.0 |
app/src/main/java/com/shyam/currencyconverter/data/repository/CurrencyRatesRepositoryImpl.kt | rsriniva86 | 332,465,507 | false | null | package com.shyam.currencyconverter.data.repository
import android.util.Log
import com.shyam.currencyconverter.CurrencyConverterApplication
import com.shyam.currencyconverter.data.source.CurrencyDataSource
import com.shyam.currencyconverter.data.source.local.CurrencyLocalDataSource
import com.shyam.currencyconverter.d... | 0 | Kotlin | 0 | 0 | 4f028e9eb25140418507a94406275fd08090bee0 | 3,357 | CurrencyConverterApp | Apache License 2.0 |
features/details/src/commonMain/kotlin/com/utsman/tokobola/details/ui/brand/BrandDetailViewModel.kt | utsmannn | 668,794,183 | false | null | package com.utsman.tokobola.details.ui.brand
import com.utsman.tokobola.common.entity.ThumbnailProduct
import com.utsman.tokobola.core.ViewModel
import com.utsman.tokobola.details.domain.BrandDetailUseCase
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.launch
class BrandDetailViewModel(priv... | 0 | Kotlin | 0 | 10 | d3e6f4090e965d991effc55d1e78b6f9c85d6143 | 930 | tokobola | Apache License 2.0 |
src/main/kotlin/uk/co/ben_gibson/git/link/ui/actions/menu/CopyAction.kt | ben-gibson | 50,448,458 | false | {"Kotlin": 131315} | package uk.co.ben_gibson.git.link.ui.actions.menu
class CopyAction : MenuAction(Type.COPY) | 33 | Kotlin | 59 | 712 | 9e4584b5845c50487e844fc054c3f28dd81d5886 | 91 | GitLink | MIT License |
core/src/com/battleship/model/Board.kt | sirimykland | 241,909,234 | false | null | package com.battleship.model
import com.badlogic.gdx.Gdx
import com.badlogic.gdx.graphics.Color
import com.badlogic.gdx.graphics.g2d.SpriteBatch
import com.badlogic.gdx.graphics.glutils.ShapeRenderer
import com.badlogic.gdx.math.Vector2
import com.battleship.model.equipment.Equipment
import com.battleship.model.treasu... | 0 | Kotlin | 2 | 5 | a0087ef0500ea426967bec81c84ae071f8734128 | 11,305 | Battleship-Project | MIT License |
app/src/main/kotlin/com/github/oryanmat/trellowidget/widget/CardRemoteViewFactory.kt | oryanm | 39,719,456 | false | {"Kotlin": 46151} | package com.github.oryanmat.trellowidget.widget
import android.content.Context
import android.content.Intent
import android.graphics.Color
import android.graphics.Color.*
import android.net.Uri
import android.view.View
import android.widget.RemoteViews
import android.widget.RemoteViewsService
import androidx.annotatio... | 13 | Kotlin | 24 | 55 | 7c0c6d136d619272b18e5883a8ffbc279b12a39b | 6,574 | TrelloWidget | MIT License |
grpc-engine/src/main/kotlin/com/cinematica/sdk/grpc/main.kt | CinematicaTech | 678,827,841 | false | {"Kotlin": 22440} | package com.cinematica.sdk.grpc
import com.cinematica.sdk.core.authorization.api.AuthorizationApi
import com.cinematica.sdk.common.constructor.createOrThrow
import com.cinematica.sdk.grpc.factory.DefaultGrpcEngineBuilder
import com.cinematica.sdk.users.types.EmailAddress
import kotlinx.coroutines.runBlocking
public f... | 0 | Kotlin | 0 | 0 | 1205af366d37096ef0c7b8cb78e61703a6f0b92a | 648 | sdk | MIT License |
app/src/main/java/com/andor/navigate/notepad/listing/NotesActivity.kt | andor201995 | 188,668,352 | false | {"Kotlin": 95557} | package com.andor.navigate.notepad.listing
import android.app.SearchManager
import android.content.Context
import android.content.Intent
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.lifecycle.ViewModelProvider
import androidx.navigation.fragment.NavHostFragment.findNavContro... | 6 | Kotlin | 0 | 2 | d3ee59258616a1a1333f45e1b1e4ddeccc4a2262 | 2,105 | NoteIt | Apache License 2.0 |
server/src/main/kotlin/net/horizonsend/ion/server/features/screens/listeners/InventoryDragListener.kt | HorizonsEndMC | 461,042,096 | false | {"Kotlin": 2629890, "Java": 13759, "Shell": 1414, "JavaScript": 78} | package net.horizonsend.ion.server.features.screens.listeners
import net.horizonsend.ion.server.features.screens.ScreenManager.isInScreen
import net.horizonsend.ion.server.listener.SLEventListener
import org.bukkit.entity.Player
import org.bukkit.event.EventHandler
import org.bukkit.event.inventory.InventoryDragEvent
... | 16 | Kotlin | 26 | 9 | 4887e1d25ed39f3fad9b6ab91eb125648797889b | 549 | Ion | MIT License |
app/src/main/java/com/lianyi/paimonsnotebook/common/database/app_widget_binding/type_converter/SetRemoteViewsTypeConverter.kt | QooLianyi | 435,314,581 | false | {"Kotlin": 1942953} | package com.lianyi.paimonsnotebook.common.database.app_widget_binding.type_converter
import androidx.room.TypeConverter
import com.lianyi.paimonsnotebook.common.database.util.ITypeConverter
import com.lianyi.paimonsnotebook.common.util.json.JSON
import com.lianyi.paimonsnotebook.common.util.parameter.getParameterizedT... | 1 | Kotlin | 2 | 36 | 692b93b7e712903c795e1a2ce79859af14e2c197 | 852 | PaimonsNotebook | MIT License |
app/src/main/java/com/ealva/toque/db/TextSearchType.kt | pandasys | 311,981,753 | false | null | /*
* Copyright 2021 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | 0 | Kotlin | 0 | 0 | f64ca9023f2384d322d924ceeb0cf3c8c5a1809d | 2,086 | toque | Apache License 2.0 |
PassiveData/app/src/main/java/com/example/passivedata/MainViewModel.kt | yingding | 401,380,550 | true | {"Kotlin": 102349} | /*
* 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 | f32c8956daa3f9e2c9bce6cf45102a8ae34bc22e | 2,545 | health-samples | Apache License 2.0 |
app/src/main/java/com/android/nimbus/ui/MainActivity.kt | ArmanKhanTech | 734,667,343 | false | {"Kotlin": 14241} | package com.android.nimbus.ui
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import com.android.nimbus.ui.theme.NimbusTheme
class MainActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedI... | 0 | Kotlin | 0 | 3 | 41acfa9d54551c53bb17f9ad4b6a806b2cb3764e | 440 | Nimbus | MIT License |
kotlin/src/test/kotlin/org/sp1k_e/leetCode/easy/CountingBitsTests.kt | zp1ke | 833,756,557 | false | {"Kotlin": 21031} | package org.sp1k_e.leetCode.easy
import kotlin.test.Test
import kotlin.test.assertContentEquals
class CountingBitsTests {
@Test
fun test() {
val testCases = arrayOf(
CountingBitsTestCase(expected = intArrayOf(0, 1, 1), input = 2),
CountingBitsTestCase(expected = intArrayOf(0, 1... | 0 | Kotlin | 0 | 0 | 683015f4e2dd9281aeab49082d009826f00c5115 | 646 | leet-code | MIT License |
app/src/main/java/com/mobilemovement/kotlintvmaze/ui/MainViewModel.kt | sunnykinger | 224,211,682 | true | {"Kotlin": 98175, "Shell": 957} | package com.mobilemovement.kotlintvmaze.ui
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.mobilemovement.kotlintvmaze.base.Status.EMPTY
import com.mobilemovement.kotlintvmaze.base.Status.ERROR
import c... | 0 | null | 0 | 0 | 988146ccdd4fc10af856bda4304e30a919e38352 | 2,204 | kotlin-modular-tdd-coroutines-mvvm | MIT License |
client/client-efa/src/commonMain/kotlin/de/jlnstrk/transit/api/efa/EfaClient.kt | jlnstrk | 229,599,180 | false | {"Kotlin": 729374} | package de.jlnstrk.transit.api.efa
import de.jlnstrk.transit.api.efa.endpoint.addinfo.EfaAddInfoRequest
import de.jlnstrk.transit.api.efa.endpoint.addinfo.EfaAddInfoResponse
import de.jlnstrk.transit.api.efa.endpoint.coord.EfaCoordRequest
import de.jlnstrk.transit.api.efa.endpoint.coord.EfaCoordResponse
import de.jlns... | 0 | Kotlin | 0 | 0 | 9f700364f78ebc70b015876c34a37b36377f0d9c | 5,599 | transit | Apache License 2.0 |
src/main/kotlin/no/nav/pensjon/opptjening/omsorgsopptjening/bestem/pensjonsopptjening/kafka/OmsorgsOpptejningProducer.kt | navikt | 593,529,397 | false | null | package no.nav.pensjon.opptjening.omsorgsopptjening.bestem.pensjonsopptjening.kafka
import no.nav.pensjon.opptjening.omsorgsopptjening.bestem.pensjonsopptjening.omsorgsopptjening.OmsorgsOpptjening
import no.nav.pensjon.opptjening.omsorgsopptjening.felles.domene.kafka.KafkaHeaderKey
import no.nav.pensjon.opptjening.oms... | 0 | Kotlin | 0 | 0 | 24bcb00b9bed35e970d3bb6d75f6f66f443fbb44 | 1,456 | omsorgsopptjening-bestem-pensjonsopptjening | MIT License |
app/src/main/java/com/sterlingbankng/football/base/BaseViewModel.kt | AbdulDroid | 171,152,458 | false | null | package com.sterlingbankng.football.base
import androidx.annotation.CallSuper
import androidx.lifecycle.ViewModel
import io.reactivex.disposables.CompositeDisposable
import io.reactivex.disposables.Disposable
abstract class BaseViewModel: ViewModel() {
private val disposable = CompositeDisposable()
fun fetc... | 0 | Kotlin | 1 | 0 | c464a447f7f6ea0cc810607431e86120ce9cf337 | 493 | Football | MIT License |
core/src/org/river/exertion/ai/internalSymbol/core/IInternalSymbology.kt | exertionriver | 345,650,250 | false | null | package org.river.exertion.ai.internalSymbol.core
import org.river.exertion.ai.internalFocus.IInternalFocus
import org.river.exertion.ai.internalFocus.InternalFocusDisplay
interface IInternalSymbology {
var internalSymbolLexicon : MutableSet<ISymbol> //symbols projected over environment or 'motherAI' presents th... | 0 | Kotlin | 0 | 2 | 058c7ec60da78953c3141a7e866047eb2f453a3b | 552 | koboldCave | MIT License |
app/src/main/java/com/sunnyweather/android/logic/dao/PlaceManageDao.kt | wanghaha23333 | 637,687,640 | false | null | package com.sunnyweather.android.logic.dao
import androidx.room.*
import com.sunnyweather.android.logic.model.PlaceManage
@Dao
interface PlaceManageDao {
// 添加城市对象,并返回行数
@Insert
fun insertPlace(place: PlaceManage): Long
// 删除城市对象
@Delete
fun deletePlace(place: PlaceManage)
// 更新城市对象
... | 0 | Kotlin | 0 | 0 | a567092d25d21d6b405c59ef8e4ea4c3fc6acb61 | 957 | SunnyWeather | Apache License 2.0 |
app/src/main/java/top/xjunz/tasker/service/AutomatorService.kt | xjunz | 651,527,105 | false | null | /*
* Copyright (c) 2022 xjunz. All rights reserved.
*/
package top.xjunz.tasker.service
import top.xjunz.tasker.bridge.OverlayToastBridge
import top.xjunz.tasker.engine.applet.base.AppletResult
import top.xjunz.tasker.engine.runtime.TaskRuntime
import top.xjunz.tasker.engine.task.XTask
import top.xjunz.tasker.task.... | 0 | Kotlin | 0 | 2 | e8eb03801cc28fcf62a4a25e9054c1a79101b728 | 1,432 | AutoTask | Apache License 2.0 |
app/src/main/java/com/eudycontreras/bowlingcalculator/libraries/morpher/utilities/ColorUtility.kt | EudyContreras | 191,932,949 | false | null | package com.eudycontreras.bowlingcalculator.libraries.morpher.utilities
import android.graphics.Color
import androidx.annotation.ColorInt
import kotlin.math.roundToInt
/**
* Copyright (C) 2019 Motion Morpher Project
*
**Note:** Unlicensed private property of the author and creator
* unauthorized use of this class... | 0 | Kotlin | 0 | 2 | 72ddc5f4d8cb56e857a02ff2cf2ea61cdc0516e0 | 3,875 | Bowling-Score-Calculator | MIT License |
MomoPlantsUser/app/src/main/java/com/johndev/momoplants/common/entities/Notification.kt | Johnmorales26 | 614,629,687 | false | null | package com.johndev.momoplants.common.entities
data class Notification(
val id: String,
val status: String
)
| 0 | Kotlin | 0 | 0 | 737fed93f4ab43321b5776b9f20ea84eb76eaee3 | 118 | Momo_Plants | W3C Software Notice and License (2002-12-31) |
kotlin-react-intl/react-intl-samples/src/main/kotlin/samples/Messages.kt | oxiadenine | 206,398,615 | false | {"Kotlin": 1619835, "HTML": 1515} | package samples
import kotlinx.js.Record
import react.*
import react.dom.html.ReactHTML.br
import react.dom.html.ReactHTML.p
import react.dom.html.ReactHTML.strong
import reactintl.components.message.FormattedMessage
import reactintl.components.provider.IntlProvider
import kotlin.js.Date
import kotlin.js.json
import k... | 1 | Kotlin | 8 | 50 | e0017a108b36025630c354c7663256347e867251 | 4,281 | kotlin-js-wrappers | Apache License 2.0 |
src/jvmMain/kotlin/maryk/rocksdb/WriteBufferManager.kt | webnah | 195,759,908 | true | {"Kotlin": 707302} | package maryk.rocksdb
import org.rocksdb.WriteBufferManager as RDBWriteBufferManager
actual typealias WriteBufferManager = RDBWriteBufferManager
| 0 | Kotlin | 0 | 0 | 92ec1677df1646d817abfd434929d27d430ec319 | 147 | rocksdb | Apache License 2.0 |
app/src/main/java/com/eklitstudio/advokatkotilin/ui/konacni_trosak/MyPrintDocumentAdapter.kt | skokomilos | 231,165,269 | false | null | package com.eklitstudio.advokatkotilin.ui.konacni_trosak
import android.content.Context
import android.content.res.Resources
import android.graphics.Color
import android.graphics.Paint
import android.graphics.pdf.PdfDocument
import android.os.Bundle
import android.os.CancellationSignal
import android.os.ParcelFileDesc... | 0 | Kotlin | 0 | 0 | 4fbc8aed05483761aad01ea610d4049dbadf03b4 | 10,478 | kalkulator_advokatske_tarife | No Limit Public License |
amadeus-api/src/commonMain/kotlin/com/pablichj/incubator/amadeus/endpoint/offers/hotel/model/GetOfferResponseBody.kt | pablichjenkov | 634,079,433 | false | {"Kotlin": 126721, "Swift": 5230, "JavaScript": 1308, "HTML": 337} | package com.pablichj.incubator.amadeus.endpoint.offers.hotel.model
import com.pablichj.incubator.amadeus.common.model.MetaWithLang
import kotlinx.serialization.Serializable
import kotlinx.serialization.decodeFromString
import kotlinx.serialization.encodeToString
import kotlinx.serialization.json.Json
@Serializable
cl... | 0 | Kotlin | 0 | 3 | 714edb7a61aadddfa29600d4eb0c4e60e5b02b23 | 581 | kmp-amadeus-api | The Unlicense |
assessmentModel/src/commonMain/kotlin/serialization/Results.kt | rachelye1 | 335,787,999 | true | {"Objective-C": 776780, "Kotlin": 583804, "Swift": 17593, "Shell": 606} | package org.sagebionetworks.assessmentmodel.serialization
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import kotlinx.serialization.json.JsonElement
import kotlinx.serialization.modules.*
import org.sagebionetworks.assessmentmodel.*
import org.sagebionetworks.assessmentmodel.naviga... | 0 | null | 0 | 0 | ae580ea998abd1febd641a7ed1c64845152a99c6 | 5,811 | AssessmentModel-KotlinNative | Apache License 2.0 |
app/src/main/kotlin/cn/navigational/dbfx/navigator/folder/mysql/MySchemeFolder.kt | tivrfoa | 303,001,716 | true | {"Kotlin": 108780, "Java": 52343, "CSS": 9400} | package cn.navigational.dbfx.navigator.folder.mysql
import cn.navigational.dbfx.navigator.FolderItem
import cn.navigational.dbfx.navigator.scheme.ComSchemeItem
import cn.navigational.dbfx.kit.SQLQuery
import cn.navigational.dbfx.kit.enums.Clients
import cn.navigational.dbfx.kit.utils.StringUtils
class MySchemeFolder ... | 0 | null | 0 | 0 | 84074162f9765f5f480f77bfd6c5b220a1f093e3 | 1,017 | dbfx | Apache License 2.0 |
discord-gateway/src/main/kotlin/fr/misterassm/korden/adapters/PrivilegedIntentsAdapter.kt | MisterAssm | 471,698,681 | false | {"Kotlin": 12530} | package fr.misterassm.korden.adapters
// https://discord.com/developers/docs/topics/gateway#list-of-intents
interface PrivilegedIntentsAdapter : IntentsAdapter
| 0 | Kotlin | 0 | 0 | 97f551592576a5f6c83a98753404afcc2ff12b46 | 161 | Korden | MIT License |
app/src/main/java/pl/jergro/shopinglist/ui/themes/ThemeModel.kt | DeLaiT | 187,497,518 | false | null | package pl.jergro.shopinglist.ui.themes
import androidx.annotation.ColorLong
import androidx.annotation.ColorRes
import androidx.annotation.StyleRes
class ThemeModel(
@StyleRes val themeLight: Int,
@StyleRes val themeDark: Int,
@ColorRes val themeColor: Int,
val themeName: String
) | 0 | Kotlin | 1 | 1 | 1e99a2b6a8889e4defb3f3bf85e101593fd15723 | 300 | Shopping-List-Android | MIT License |
app/shared/logging/impl/src/commonMain/kotlin/build/wallet/logging/dev/LogStoreWriterImpl.kt | proto-at-block | 761,306,853 | false | {"C": 10551861, "Kotlin": 6455657, "Rust": 1874547, "Swift": 629125, "Python": 329146, "HCL": 257498, "Shell": 97542, "TypeScript": 81148, "C++": 64770, "Meson": 64252, "JavaScript": 36229, "Just": 26345, "Ruby": 9265, "Dockerfile": 5755, "Makefile": 3839, "Open Policy Agent": 1456, "Procfile": 80} | package build.wallet.logging.dev
import build.wallet.logging.LogLevel
import build.wallet.logging.dev.LogStore.Entity
import co.touchlab.kermit.Severity
import co.touchlab.kermit.Severity.Assert
import co.touchlab.kermit.Severity.Debug
import co.touchlab.kermit.Severity.Error
import co.touchlab.kermit.Severity.Info
im... | 0 | C | 6 | 74 | b7401e0b96f9378cbd96eb01914a4f888e0a9303 | 1,103 | bitkey | MIT License |
fcl/src/main/java/io/outblock/fcl/utils/parse/FclResultParse.kt | Outblock | 491,736,206 | false | {"Kotlin": 98752} | package io.outblock.fcl.utils.parse
import com.google.gson.Gson
import com.google.gson.annotations.SerializedName
import com.google.gson.reflect.TypeToken
import io.outblock.fcl.utils.loge
internal fun String.parseFclResultAddress(): String? {
// {"type":"Optional","value":{"type":"Address","value":"0x5d2cd5bf303... | 3 | Kotlin | 4 | 14 | f450e75a85ec7edec0914cc6322ed8a4297c3c61 | 2,088 | fcl-android | MIT License |
app/src/main/java/app/envelop/data/BlockstackModule.kt | envelop-app | 188,259,356 | false | null | package app.envelop.data
import android.content.Context
import android.content.res.Resources
import android.os.Handler
import android.os.HandlerThread
import androidx.preference.PreferenceManager
import app.envelop.R
import dagger.Module
import dagger.Provides
import io.reactivex.Scheduler
import io.reactivex.schedule... | 2 | null | 7 | 39 | d33c7a6827eaf6827230e34b67ec330c2e574aab | 1,700 | envelop-android | MIT License |
app/src/main/java/com/rio/testapp/ui/screens/truck/SearchBar.kt | mfadiilahrio | 777,890,207 | false | {"Kotlin": 54439} | package com.rio.testapp.ui.screens.truck
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.f... | 0 | Kotlin | 0 | 0 | addba60bf73103c2285222c4c4b45f1a382ba48f | 5,020 | testapp | Apache License 2.0 |
src/main/kotlin/solver/SolverOrchestrator.kt | RomanPozdeev | 177,619,103 | false | null | package solver
import kdtree.KdPoint
import kdtree.KdTree
import java.util.*
class SolverOrchestrator<T>(
private val tree: KdTree<T>,
private val workerThreadsCount: Int =
Runtime.getRuntime().availableProcessors()
)
where T : Number, T : Comparable<T> {
/**
*
* @param inputPo... | 0 | Kotlin | 0 | 0 | 365bc3c9a26addff3a484283a016a1152dc923f9 | 1,654 | NNSolver | MIT License |
web/src/main/kotlin/no/nav/su/se/bakover/web/services/dokument/DistribuerDokumentJob.kt | navikt | 227,366,088 | false | {"Kotlin": 10090270, "Shell": 4388, "TSQL": 1233, "Dockerfile": 1209} | package no.nav.su.se.bakover.web.services.dokument
import no.nav.su.se.bakover.common.infrastructure.job.RunCheckFactory
import no.nav.su.se.bakover.common.infrastructure.job.StoppableJob
import no.nav.su.se.bakover.common.infrastructure.job.startStoppableJob
import no.nav.su.se.bakover.service.dokument.DistribuerDoku... | 4 | Kotlin | 1 | 1 | d7eb23cdea9ac500e089d258b3c2e7fd1b59ab39 | 1,415 | su-se-bakover | MIT License |
src/aws/lambdas/incremental_distribution/cta/src/main/java/uk/nhs/nhsx/core/aws/cloudfront/events.kt | faberga | 304,428,308 | true | {"Kotlin": 1762543, "HCL": 516174, "Ruby": 402118, "Python": 95997, "HTML": 10538, "Java": 6060, "Shell": 5028, "Dockerfile": 3728, "Makefile": 780, "JavaScript": 554} | package uk.nhs.nhsx.core.aws.cloudfront
import com.amazonaws.services.cloudfront.model.AmazonCloudFrontException
import uk.nhs.nhsx.core.events.Event
import uk.nhs.nhsx.core.events.EventCategory.Error
import uk.nhs.nhsx.core.events.EventCategory.Info
import java.util.*
data class CloudFrontCachesInvalidated(
val ... | 0 | Kotlin | 0 | 0 | 8c67d6e23c7fc79f039c4012238d82131900a4d4 | 679 | covid19-app-system-public | MIT License |
app/src/main/kotlin/io/github/wykopmobilny/ui/modules/addlink/fragments/urlinput/AddLinkUrlInputModule.kt | otwarty-wykop-mobilny | 374,160,630 | true | {"Kotlin": 1326147, "HTML": 66896, "Java": 38599} | package io.github.wykopmobilny.ui.modules.addlink.fragments.urlinput
import dagger.Module
import dagger.Provides
import io.github.wykopmobilny.api.addlink.AddLinkApi
import io.github.wykopmobilny.base.Schedulers
@Module
class AddLinkUrlInputModule {
@Provides
fun providePresenter(schedulers: Schedulers, addLi... | 13 | Kotlin | 4 | 47 | 85b54b736f5fbcd6f62305779ed7ae2085c3b136 | 392 | wykop-android | MIT License |
domain/src/main/java/com/cheise_proj/domain/entity/user/UserEntity.kt | marshall219 | 249,870,132 | true | {"Kotlin": 788935} | package com.cheise_proj.domain.entity.user
data class UserEntity(
override val username: String,
override var password: String,
override val uuid: Int,
override val role: String,
override var photo: String?,
override val name: String,
override val level: String,
override val token: Str... | 0 | null | 0 | 0 | 0183ab6165a42be83691dd7281efc6d738ebe88c | 335 | Nagies-Edu-Center | Apache License 2.0 |
examples/tutorial/step-1/app/src/main/kotlin/org/example/tegraltutorial/App.kt | utybo | 491,247,680 | false | {"Kotlin": 1066259, "Nix": 2449, "Shell": 8} | package org.example.tegraltutorial
import guru.zoroark.tegral.di.dsl.put
import guru.zoroark.tegral.web.appdsl.tegral
fun main() {
tegral {
put(::HelloController)
}
}
| 26 | Kotlin | 4 | 37 | fa4284047f2ce7ba9ee78e92d8c67954716e9dcc | 185 | Tegral | Apache License 2.0 |
app/src/main/java/xyz/daijoubuteam/foodshoppingappadmin/ui/report/ReportViewModelFactory.kt | phuquang147 | 491,842,785 | false | {"Kotlin": 121240} | package xyz.daijoubuteam.foodshoppingappadmin.ui.report
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
class ReportViewModelFactory : ViewModelProvider.Factory {
override fun <T : ViewModel> create(modelClass: Class<T>): T {
if (modelClass.isAssignableFrom(ReportViewModel:... | 0 | Kotlin | 0 | 0 | cb429e624c42cfea866e4c4fc5f716e0da37ae3f | 467 | FoodShoppingAppAdmin | MIT License |
TalkIn/app/src/main/java/com/example/talk_in/SignUp.kt | Ijaiswalshivam | 664,282,006 | false | {"Kotlin": 16364} | package com.example.talk_in
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.Button
import android.widget.EditText
import android.widget.Toast
import com.google.firebase.auth.FirebaseAuth
import com.google.firebase.database.DatabaseReference
i... | 22 | Kotlin | 16 | 9 | e840f4532959f1043d030db8eca3ef988f75b0e8 | 2,387 | Talk-In | MIT License |
core/src/main/java/com/aqube/notes/core/util/ContextUtil.kt | akhilesh0707 | 412,617,490 | false | {"Kotlin": 80393} | package com.aqube.notes.core.util
import android.content.Context
import android.content.Intent
import android.net.Uri
fun Context.getVersionName(): String = packageManager.getPackageInfo(packageName, 0).versionName
inline fun Context.openWebPage(url: String, onCantHandleAction: () -> Unit = {}) {
val webpage: U... | 0 | Kotlin | 4 | 21 | 3fd715e1db3dd77d9a69dcec4dc5dcd1065aa1cc | 498 | Easy-Note | Apache License 2.0 |
EnumIntegrateX/src/main/kotlin/com/example/demo/controller/students/StudentsController.kt | dylandasilva1999 | 385,648,798 | false | null | package com.example.demo.controller.students
import com.example.demo.controller.subjects.SubjectsController
import com.example.demo.model.Student
import tornadofx.*
class StudentsController: Controller() {
val studentsList = mutableListOf(
Student(1,"MR","<NAME>","<EMAIL>", "student-1.png", "9801015800081... | 0 | Kotlin | 0 | 1 | 33c2b5cb691b2ae205b3c3f48b348f19af529156 | 1,066 | enum-integrateX-tornadofx-app | MIT License |
FE/Algo/app/src/main/java/com/d204/algo/remote/mapper/Mapper.kt | OneDayOneAlgorithm | 702,771,315 | false | {"Kotlin": 214386, "Java": 137214, "Python": 31787, "HTML": 4437, "JavaScript": 3222, "Dockerfile": 537} | package com.d204.algo.remote.mapper
interface Mapper<E, D> {
fun mapFromModel(model: E): D
fun mapToModel(type: D): E
}
| 0 | Kotlin | 0 | 0 | 273bf6fc4072767e40984d98a47c4a8af0c059b2 | 129 | AlgoArium | MIT License |
rainbowbeachlib/src/main/java/com/sven/rainbowbeachlib/service/LocalFileServer.kt | sven-xie | 657,843,925 | false | {"Gradle": 4, "Java Properties": 2, "YAML": 1, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Kotlin": 32, "XML": 37, "Java": 18, "INI": 1, "JavaScript": 1, "HTML": 1} | package com.sven.rainbowbeachlib.service
import android.content.Context
import android.content.Intent
import android.os.Environment
import com.koushikdutta.async.AsyncServer
import com.koushikdutta.async.http.body.MultipartFormDataBody
import com.koushikdutta.async.http.server.AsyncHttpServer
import com.koushikdutta.a... | 0 | Java | 1 | 2 | f2e5f25999758950c0fb52918e404b87a680f8b3 | 11,731 | RainbowBeach | Apache License 2.0 |
src/commonMain/kotlin/requests/response/BalanceAccountStock.kt | devngho | 565,833,597 | false | {"Kotlin": 268528} | package io.github.devngho.kisopenapi.requests.response
import com.ionspin.kotlin.bignum.decimal.BigDecimal
import com.ionspin.kotlin.bignum.integer.BigInteger
import io.github.devngho.kisopenapi.requests.Response
import kotlinx.serialization.Contextual
import kotlinx.serialization.SerialName
/**
* [KIS Developers 문서... | 0 | Kotlin | 1 | 2 | bba61df1301f0d75f9051e5f423773faadb0a333 | 3,200 | kt_kisopenapi | MIT License |
core/model/src/main/java/io/architecture/model/Connection.kt | vitaliystoyanov | 750,598,499 | false | {"Kotlin": 134187, "Java": 390} | package io.architecture.model
data class Connection(
var state: State = State.UNDEFINED,
var rtt: UpstreamRtt,
var isConnected: Boolean = false
) {
enum class State {
UNDEFINED,
OPENED,
CLOSED,
CLOSING,
FAILED,
MESSAGE_RECEIVED
}
}
| 3 | Kotlin | 0 | 1 | 918a551b8abc1d557a8b81569c36df8fc3345a72 | 305 | trace-node-tracking-playground | MIT License |
app/src/main/java/com/gbros/tabslite/utilities/InjectorUtils.kt | AbreuY | 314,902,792 | true | {"Kotlin": 190887} | package com.gbros.tabslite.utilities
import android.content.Context
import com.gbros.tabslite.data.*
import com.gbros.tabslite.viewmodels.*
/**
* Static methods used to inject classes needed for various Activities and Fragments.
*/
object InjectorUtils {
private fun getChordVariationRepository(context: Context)... | 0 | null | 0 | 0 | 9e40c9c4c7e255e2e8c56b320ccc2afe15f74ed2 | 1,155 | Tabs-Lite | Apache License 2.0 |
src/Day07_part2.kt | abeltay | 572,984,420 | false | {"Kotlin": 91982, "Shell": 191} | fun main() {
fun part2(input: List<String>): Int {
data class Directory(
val name: String,
var size: Int = 0,
val subDirectories: MutableList<Directory> = mutableListOf()
)
fun changeDirectory(directory: Directory, name: String): Directory {
r... | 0 | Kotlin | 0 | 0 | a51bda36eaef85a8faa305a0441efaa745f6f399 | 2,278 | advent-of-code-2022 | Apache License 2.0 |
src/main/kotlin/com/vicheGallery/post/dto/PostResponse.kt | ssamzag | 561,648,517 | false | null | package com.vicheGallery.post.dto
import com.vicheGallery.post.domain.Post
import java.time.LocalDateTime
data class PostResponse(
val id: Long?,
val title: String,
val content: String,
val createdDate: LocalDateTime,
val thumbnailFile: String?
) {
companion object {
fun of(post: Post)... | 0 | Kotlin | 0 | 0 | 3f1b70a73ddda2b9aef9bfd9aa58010467de16d9 | 604 | viche-gallery | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.