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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
app/src/main/java/com/vectorinc/vectormoviesearch/data/local/MoviesDao.kt | somtorizm | 513,634,919 | false | {"Kotlin": 221854} | package com.vectorinc.vectormoviesearch.data.local
import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
@Dao
interface MoviesDao {
@Insert(onConflict = OnConflictStrategy.REPLACE)
suspend fun insertMovieListings(
moviesEntity: MoviesEn... | 0 | Kotlin | 0 | 3 | f8ee62191309cdaefc3297010133e3800a2bf30a | 934 | MovieAblum | Apache License 2.0 |
app/src/main/java/com/vectorinc/vectormoviesearch/data/local/MoviesDao.kt | somtorizm | 513,634,919 | false | {"Kotlin": 221854} | package com.vectorinc.vectormoviesearch.data.local
import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
@Dao
interface MoviesDao {
@Insert(onConflict = OnConflictStrategy.REPLACE)
suspend fun insertMovieListings(
moviesEntity: MoviesEn... | 0 | Kotlin | 0 | 3 | f8ee62191309cdaefc3297010133e3800a2bf30a | 934 | MovieAblum | Apache License 2.0 |
plugins/uast-kotlin/tests/AbstractKotlinRenderLogTest.kt | gigliovale | 89,726,097 | false | {"Java": 23302590, "Kotlin": 21941511, "JavaScript": 137521, "Protocol Buffer": 56992, "HTML": 49980, "Lex": 18051, "Groovy": 14093, "ANTLR": 9797, "IDL": 7706, "Shell": 5152, "CSS": 4679, "Batchfile": 3721} | package org.jetbrains.uast.test.kotlin
import org.jetbrains.uast.test.common.RenderLogTestBase
import java.io.File
abstract class AbstractKotlinRenderLogTest : AbstractKotlinUastTest(), RenderLogTestBase {
override fun getTestFile(testName: String, ext: String) =
File(File(TEST_KOTLIN_MODEL_DIR, testN... | 0 | Java | 4 | 6 | ce145c015d6461c840050934f2200dbc11cb3d92 | 353 | kotlin | Apache License 2.0 |
app/src/test/java/com/kevalpatel2106/yip/edit/colorPicker/ColorStatesTest.kt | kevalpatel2106 | 166,789,807 | false | null | package com.kevalpatel2106.yip.edit.colorPicker
import android.graphics.Color
import com.kevalpatel2106.yip.core.ext.emptyString
import org.junit.Assert.assertEquals
import org.junit.Assert.assertNotEquals
import org.junit.Test
import org.junit.runner.RunWith
import org.junit.runners.JUnit4
@RunWith(JUnit4::class)
cl... | 0 | Kotlin | 1 | 16 | 61311ba7d40802ba7fed87b2f16b72089c6f7746 | 1,454 | year-in-progress | Apache License 2.0 |
app/src/main/java/shvyn22/flexingtranslations/di/RepositoryModule.kt | shvyn22 | 379,557,417 | false | {"Kotlin": 28483} | package shvyn22.flexingtranslations.di
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import shvyn22.flexingtranslations.data.local.dao.TranslationDao
import shvyn22.flexingtranslations.data.remote.api.ApiService
import shvyn22.flexingtranslati... | 0 | Kotlin | 0 | 0 | ac41ad1faa4db697d028d275f7aa9c3edf68bf16 | 688 | FlexingTranslations | MIT License |
app/src/main/java/com/armutyus/ninova/constants/Constants.kt | armutyus | 494,403,387 | false | {"Kotlin": 257381} | package com.armutyus.ninova.constants
import com.armutyus.ninova.BuildConfig
import com.armutyus.ninova.R
import com.armutyus.ninova.constants.Util.Companion.toLocalizedString
object Constants {
const val VERSION_NAME = BuildConfig.VERSION_NAME
//Firebase
const val DELETED_FIRESTORE = "Deleted from fire... | 3 | Kotlin | 4 | 9 | d1482f60dc309b1aff82bb725e901ecb4ef58122 | 6,110 | ninova | MIT License |
app/src/main/java/me/tandeneck/tanutils/MainActivity.kt | ahaliulang | 323,002,178 | false | null | package me.tandeneck.tanutils
import android.os.Bundle
import android.util.Log
import androidx.appcompat.app.AppCompatActivity
import dagger.hilt.android.AndroidEntryPoint
import me.tandeneck.tanutils.bean.TruckBean
import timber.log.Timber
import javax.inject.Inject
private const val TAG = "MainActivity"
@AndroidEn... | 0 | Kotlin | 0 | 0 | ed39c975e03860caed711cf17f42377c754c58b3 | 599 | TanUtils | Apache License 2.0 |
common/presentation/overview/src/commonMain/kotlin/com/gmvalentino/overview/contract/OverviewEvent.kt | wasabi-muffin | 378,753,431 | false | {"Objective-C": 1112998, "Kotlin": 144204, "Swift": 6514, "Ruby": 2369, "JavaScript": 503, "HTML": 175, "Dockerfile": 121} | package com.gmvalentino.overview.contract
import com.gmvalentino.contract.Event
import com.gmvalentino.entities.Task
sealed class OverviewEvent : Event {
object NavigateToCreate : OverviewEvent()
data class NavigateToEdit(val task: Task) : OverviewEvent()
} | 0 | Objective-C | 0 | 1 | 088077dc5db7245e1e116e32b8c65b74c510326f | 267 | mvi-multiplatform | Apache License 2.0 |
scanformatbeam/src/main/kotlin/com/seanshubin/code/structure/scanformatbeam/BeamFileWriter.kt | SeanShubin | 614,471,624 | false | null | package com.seanshubin.code.structure.scanformatbeam
import com.seanshubin.code.structure.scanformatbeam.IntUtil.paddingFor
import java.io.OutputStream
import java.nio.ByteBuffer
import java.nio.charset.StandardCharsets
object BeamFileWriter {
fun OutputStream.writeAtoms(atoms: List<String>) {
writeBytes(... | 0 | Kotlin | 0 | 0 | 8a23cd7c1fe574063351caaaadcb11786d9781c9 | 2,234 | code-structure | The Unlicense |
common/compose-ui/src/commonMain/kotlin/ru/tetraquark/ton/explorer/app/ui/view/Spacer.kt | Tetraquark | 608,328,051 | false | null | package ru.tetraquark.ton.explorer.app.ui.view
import androidx.compose.foundation.layout.ColumnScope
import androidx.compose.foundation.layout.RowScope
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.width
import androidx.compo... | 0 | Kotlin | 0 | 3 | c4ff09ac5e3919f9025af1fba9db54002bc4083a | 620 | TONSkanner | MIT License |
wallet-core/src/main/java/io/zerion/wallet/core/models/WalletAccount.kt | zeriontech | 484,262,866 | false | {"Kotlin": 85014} | package io.zerion.wallet.core.models
/**
* Created by rolea on 23.11.2021.
*/
class WalletAccount(
val address: String,
val index: Int?,
val derivationPath: String?,
) | 0 | Kotlin | 0 | 3 | 644f50534bfa5fa8a133a260b3fca42546bdcd2b | 182 | wallet-core-android | Apache License 2.0 |
features/articles/src/main/java/com/aliumujib/artic/articles/presentation/ArticleListActionProcessor.kt | aliumujib | 210,103,091 | false | {"Kotlin": 448725} | /*
* Copyright 2020 <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 | 6 | 47 | ad986536632f532d0d24aa3847bdef33ab7a5d16 | 6,887 | Artic | Apache License 2.0 |
app/src/main/java/com/martinszuc/phishing_emails_detection/data/data_repository/local/component/emails/EmailMboxLocalRepository.kt | martinszuc | 698,968,668 | false | {"Kotlin": 383778, "Python": 48298} | package com.martinszuc.phishing_emails_detection.data.data_repository.local.component.emails
import android.util.Log
import com.martinszuc.phishing_emails_detection.data.data_repository.local.db.AppDatabase
import com.martinszuc.phishing_emails_detection.data.data_repository.local.entity.EmailMboxMetadata
import com.m... | 0 | Kotlin | 0 | 0 | 2e5e043695000fd0401347179b17743e511a0f2a | 4,449 | phishing-emails-detection | MIT License |
url-gen/src/main/kotlin/com/cloudinary/transformation/Background.kt | baraka-gini | 266,517,520 | true | {"Kotlin": 589400, "Java": 7089} | package com.cloudinary.transformation
class Background(private val action: Action) : Action by action {
companion object {
fun color(color: Color) = background(color.cldAsBackground())
fun color(color: String) = background(Color.parseString(color).cldAsBackground())
}
}
fun background(param: ... | 0 | Kotlin | 0 | 0 | 4eedf1de1b7d784dff7232aa108f6a363364f205 | 360 | cloudinary_kotlin | MIT License |
app/src/main/java/com/fridaytech/zrxkit/sample/TransactionsFragment.kt | 5daytech | 197,700,358 | false | null | package com.fridaytech.zrxkit.sample
import android.graphics.Color
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 androidx.lifecycle.Observer
import androidx.lifecycle.ViewMod... | 0 | Kotlin | 2 | 4 | 3bcce510a88d5d2d27144380a5578f9a720ec76d | 3,791 | zrx-kit-android | MIT License |
app/src/main/java/com/mw/beam/beamwallet/screens/owner_key/OwnerKeyPresenter.kt | BeamMW | 156,687,787 | false | {"Kotlin": 1454975, "Java": 16801, "Shell": 4651, "IDL": 1} | /*
* // Copyright 2018 Beam Development
* //
* // 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 ... | 4 | Kotlin | 21 | 36 | 7e9d9c0df49f3cb35bb58152c285cc7b618a28ba | 1,894 | android-wallet | Apache License 2.0 |
src/main/kotlin/me/techchrism/enchantmentjsonexporter/RemappedClassLoader.kt | techchrism | 512,617,449 | false | null | package me.techchrism.enchantmentjsonexporter
import net.md_5.specialsource.JarMapping
import net.md_5.specialsource.JarRemapper
import net.md_5.specialsource.repo.ClassRepo
import java.io.ByteArrayInputStream
import java.io.InputStream
import java.util.jar.JarEntry
import java.util.jar.JarInputStream
class Remapped... | 0 | Kotlin | 0 | 0 | 7f3b41873c49b48c3f4d5ba35c1f74f18961632d | 4,320 | enchantment-json-exporter | MIT License |
imagepicker/src/main/java/com/wilinz/imagepicker/ImagePicker.kt | wilinz | 489,705,420 | false | {"Kotlin": 36733} | package com.wilinz.imagepicker
object ImagePicker {
var pickerOption = PickerOption()
} | 0 | Kotlin | 0 | 0 | bf55835557fcc045040363c64ddabfea0db8c487 | 92 | ImagePicker | Apache License 2.0 |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/bold/QuizAlt.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 | 7,032 | icons | MIT License |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/bold/QuizAlt.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 | 7,032 | icons | MIT License |
src/main/kotlin/no/nav/helse/nl/Application.kt | navikt | 209,468,274 | false | null | package no.nav.helse.nl
import io.ktor.application.Application
import io.ktor.application.install
import io.ktor.metrics.micrometer.MicrometerMetrics
import io.ktor.routing.routing
import io.ktor.server.engine.embeddedServer
import io.ktor.server.netty.Netty
import io.micrometer.core.instrument.Clock
import io.microme... | 0 | Kotlin | 0 | 0 | a4f31d464a6b4d6d0bc77ad298ae09f41d330e49 | 2,419 | helse-nl-altinn | MIT License |
src/server/src/Client.kt | andersonarc | 218,299,357 | false | {"Kotlin": 57869, "GLSL": 3320} | import java.net.Socket
class Client(socket: Socket) {
private val reader = socket.getInputStream().bufferedReader()
private val writer = socket.getOutputStream().bufferedWriter()
fun write(string: String) {
writer.write(string)
writer.newLine()
writer.flush()
}
fun read():... | 0 | Kotlin | 0 | 1 | 95307498e5d19fe2b9b831776b95f32d426e931e | 370 | graphics | The Unlicense |
hideout-worker/src/main/kotlin/dev/usbharu/hideout/worker/DeliverAcceptTaskRunner.kt | usbharu | 627,026,893 | false | {"Kotlin": 1472831, "Mustache": 111614, "Gherkin": 21440, "JavaScript": 1112, "HTML": 936} | /*
* Copyright (C) 2024 usbharu
*
* 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... | 37 | Kotlin | 0 | 11 | 99a846bdfbd6ab8923a98adfb8eeec1a3f239dc1 | 1,789 | Hideout | Apache License 2.0 |
app/src/main/java/com/erkindilekci/instagramclone/presentation/components/BottomNavigationMenu.kt | erkindilekci | 660,885,899 | false | null | package com.erkindilekci.instagramclone.presentation.components
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compos... | 0 | Kotlin | 0 | 0 | 2af2dda8f4f205882a6ed9bb75104ff775d7efae | 2,049 | InstragramClone | Apache License 2.0 |
app/src/main/java/com/example/superheroes/HeroesScreen.kt | Hitendra27 | 781,150,687 | false | {"Kotlin": 22806} | package com.example.superheroes
import android.content.res.Configuration
import androidx.annotation.DrawableRes
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.ExperimentalAnimationApi
import androidx.compose.animation.core.MutableTransitionState
import androidx.compose.animation... | 0 | Kotlin | 0 | 0 | e3e7883bf3ef256006a607aaaa211c7809ff8bc2 | 10,187 | Superheroes | MIT License |
app/src/main/java/com/jrk/mood4food/waterbalance/model/WaterBalanceObserver.kt | JanPfenning | 299,564,277 | false | null | package com.jrk.mood4food.waterbalance.model
import com.jrk.mood4food.model.DomainObservers
interface WaterBalanceObserver: DomainObservers {
fun waterStoredIn()
fun goalsChanged()
} | 0 | Kotlin | 1 | 0 | 08864088d22b321defd659a2aed3511feff361e2 | 193 | Mood4Food | MIT License |
app/src/main/java/com/siedg/desafio_android/data/api/ApiService.kt | Siedg | 393,771,537 | true | {"Kotlin": 32482} | package com.siedg.desafio_android.data.api
import com.siedg.desafio_android.data.model.*
import retrofit2.Response
import retrofit2.http.GET
import retrofit2.http.Query
interface ApiService {
@GET("people")
suspend fun getPersonList(@Query("page") index: Int): Response<PersonList>
@GET("planets")
sus... | 0 | Kotlin | 0 | 0 | e212df9769b03de9b9053fa0d347fc777d5aa736 | 495 | desafio-android | The Unlicense |
src/main/kotlin/com/hkmod/soluna/Soluna.kt | HKMOD | 525,047,786 | false | {"Kotlin": 27261} | package com.hkmod.soluna
import com.hkmod.soluna.client.keybind.KeyBindings
import com.hkmod.soluna.client.renderer.registerRenderers
import com.hkmod.soluna.common.blocks.SolunaBlocks
import com.hkmod.soluna.common.blocks.entity.SolunaBlockEntities
import com.hkmod.soluna.common.items.SolunaItems
import com.hkmod.sol... | 0 | Kotlin | 0 | 1 | 596423f0cbf7eaca09f3eb340458b9f7face640e | 1,112 | Soluna | MIT License |
app/src/main/java/com/example/appName/presentation/features/main/MainIntent.kt | maanoo1409 | 283,405,874 | false | null | package com.example.appName.presentation.features.main
sealed class MainIntent {
object Login : MainIntent()
object Logout : MainIntent()
}
| 0 | Kotlin | 0 | 1 | d2f40c652bd9a51e2d6756cc983babcb90fad676 | 149 | sabb | MIT License |
src/main/kotlin/com/unqueam/gamingplatform/application/http/AuthController.kt | UNQueam | 681,903,849 | false | {"Kotlin": 149452, "HTML": 3393} | package com.unqueam.gamingplatform.application.http
import com.unqueam.gamingplatform.infrastructure.configuration.jwt.JwtTokenBlacklistService
import com.unqueam.gamingplatform.application.dtos.AuthenticationOutput
import com.unqueam.gamingplatform.application.dtos.SignInRequest
import com.unqueam.gamingplatform.appl... | 0 | Kotlin | 0 | 0 | f8e80a146d23cd061f4934ecefbe6005e903e525 | 2,165 | unqueam-backend | MIT License |
app/src/main/java/xyz/sentrionic/harmony/ui/main/story/state/StoryStateEvent.kt | sentrionic | 220,498,638 | false | {"Kotlin": 325826} | package xyz.sentrionic.harmony.ui.main.story.state
sealed class StoryStateEvent {
class StorySearchEvent : StoryStateEvent()
class ProfileSearchEvent : StoryStateEvent()
class GetProfilePropertiesEvent : StoryStateEvent()
class GetProfileStoriesEvent: StoryStateEvent()
class CheckAuthorOfStory... | 0 | Kotlin | 0 | 1 | 0751148a2566ad11098ddd7f122cade7c1792dc3 | 635 | HarmonyApp | MIT License |
src/main/kotlin/com/github/imeszaros/vb2buxfer/gui/GUI.kt | imeszaros | 144,510,968 | false | null | package com.github.imeszaros.vb2buxfer.gui
import com.github.imeszaros.buxfer.Buxfer.Companion.login
import com.github.imeszaros.buxfer.BuxferException
import com.github.imeszaros.vb2buxfer.Configuration
import com.github.imeszaros.vb2buxfer.Configuration.Buxfer.password
import com.github.imeszaros.vb2buxfer.Configura... | 0 | Kotlin | 0 | 0 | ede4202a604cc43a90613c0cdab3167d069053f8 | 2,408 | vb2buxfer | Apache License 2.0 |
kotlin-code-generation/src/main/kotlin/spec/KotlinAnnotationClassSpec.kt | toolisticon | 804,098,315 | false | {"Kotlin": 324780} | package io.toolisticon.kotlin.generation.spec
import com.squareup.kotlinpoet.ClassName
import com.squareup.kotlinpoet.ExperimentalKotlinPoetApi
import com.squareup.kotlinpoet.TypeSpec
import io.toolisticon.kotlin.generation.poet.KDoc
import kotlin.reflect.KClass
/**
* Represents an annotation class.
*/
@Experimenta... | 5 | Kotlin | 0 | 2 | e16f4f5ab3fc01ca585e833caa67e85f9152caa6 | 1,044 | kotlin-code-generation | Apache License 2.0 |
transferwise/src/main/java/com/transferwise/banks/recipients/create/CreateRecipientFragment.kt | Ryggs | 237,440,757 | true | {"Kotlin": 446684} | /*
* Copyright 2019 TransferWise Ltd.
*
* 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 agr... | 0 | null | 0 | 1 | 54688a6bd7054c2ed7d5db325591bf26a97286bd | 3,283 | banks-reference-android | Apache License 2.0 |
compiler/testData/diagnostics/tests/imports/ExplicitPackageImportsAmbiguity.kt | staltz | 38,581,975 | true | {"Java": 15450397, "Kotlin": 8578737, "JavaScript": 176060, "HTML": 22810, "Lex": 17327, "Protocol Buffer": 13024, "ANTLR": 9689, "CSS": 9431, "Shell": 3931, "IDL": 3257, "Groovy": 3010, "Batchfile": 2831} | // FILE: a.kt
package a.x
class X
// FILE: b.kt
package b.x
class X
// FILE: c.kt
package c
import <!CONFLICTING_IMPORT!>a.x<!>
import <!CONFLICTING_IMPORT!>b.x<!>
class Y : <!UNRESOLVED_REFERENCE!>x<!>.<!DEBUG_INFO_MISSING_UNRESOLVED!>X<!> | 0 | Java | 0 | 1 | 80074c71fa925a1c7173e3fffeea4cdc5872460f | 246 | kotlin | Apache License 2.0 |
attendance/app/src/main/java/com/capstone/attendance/ui/update/UpdateUsernameFragment.kt | gunadermawan | 428,836,954 | false | {"Kotlin": 79686} | package com.capstone.attendance.ui.update
import android.app.Activity
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.core.content.res.ResourcesCompat
import androidx.fragment.app.Fragment
import androidx.navigation.Navigation
import co... | 1 | Kotlin | 0 | 4 | f33091dabbc54b7abe14d34505a9886a46576ce2 | 3,555 | android-PeduliPresensi-kotlin | MIT License |
speech_demo/android/app/src/main/kotlin/ecu/cs4730/speech_demo/MainActivity.kt | JimSeker | 349,205,191 | false | {"Dart": 149553, "C++": 37398, "HTML": 33284, "CMake": 20024, "Java": 2726, "C": 1468, "Swift": 1212, "Kotlin": 127, "Objective-C": 114} | package ecu.cs4730.speech_demo
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 0 | 3 | 6f1e2a4f4e222274af0dea72a2b9d315b53a4629 | 127 | flutter | Apache License 2.0 |
app/src/main/java/com/apx8/mongoose/presentation/view/display/ForecastTodayDisplay.kt | volt772 | 770,166,792 | false | {"Kotlin": 115465, "Shell": 8753} | package com.apx8.mongoose.presentation.view.display
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layou... | 0 | Kotlin | 0 | 1 | dc651d3d7dd9903295229379b64acbe59e720915 | 5,486 | mongoose | Apache License 2.0 |
src/test/kotlin/nl/fifthpostulate/specifikation/algebra/AllTest.kt | fifth-postulate | 283,838,936 | false | null | package nl.fifthpostulate.specifikation.algebra
import nl.fifthpostulate.specifikation.*
import nl.fifthpostulate.specifikation.assertions.ReportAssert.Companion.assertThat
import org.junit.jupiter.api.*
class AllTest {
lateinit var subject: Person
@BeforeEach
fun `create subject under test`() {
... | 0 | Kotlin | 0 | 0 | 25fc5c99cd1d426c67dfd05d5648a9b2a59779e2 | 1,231 | specifikation | MIT License |
MoviesApp/app/src/main/java/com/larrykapija/moviesapp/ui/navigation/Destinations.kt | LarryKapija | 776,903,563 | false | {"Kotlin": 55363} | package com.larrykapija.moviesapp.ui.navigation
object Destinations {
const val SplashScreen = "splashScreen"
const val MainScreen = "mainScreen"
const val SearchScreen = "searchScreen"
const val WatchListScreen = "watchListScreen"
const val DetailsScreen = "detailsScreen"
}
| 0 | Kotlin | 0 | 0 | 5a61c292014583f984ceef2c0cae41c4d23f8b05 | 297 | Android-Movies-App | MIT License |
app/src/main/java/com/tensesapp/navigation/NavGraph.kt | RanggaNf | 802,828,457 | false | {"Kotlin": 238849} |
package com.tensesapp.navigation
import androidx.navigation.NavHostController
object Destination {
// Tambahkan konstanta untuk home screen
const val Home = "Home"
const val Splash = "Splash"
const val Login = "Login"
const val DetailScreen = "DetailScreen"
const val Materi = "Materi"
co... | 0 | Kotlin | 1 | 1 | 84cc6594c945178544fa14c2be95a7dee8a1425d | 1,493 | TensesApp | MIT License |
domain/src/main/java/com/pomodorotime/domain/login/ILoginRepository.kt | RoberMiranda92 | 283,567,928 | false | null | package com.pomodorotime.domain.login
import com.pomodorotime.domain.models.User
interface ILoginRepository {
suspend fun signIn(email: String, password: String): User
suspend fun signUp(email: String, password: String): User
} | 1 | Kotlin | 0 | 0 | 07e77f018db930b50b1695d0d79debdc373f39e7 | 240 | PomodoroTime | Apache License 2.0 |
app/src/main/java/codingblocks/com/networkokhttp/Tvshows/TvDetails.kt | Karandeep98 | 195,439,969 | false | null | package codingblocks.com.networkokhttp.Tvshows
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android.view.View
import android.widget.Toast
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.room.Room
import and... | 0 | Kotlin | 0 | 1 | 63050fad03bc84a8eaf012a7061da72e1cd90df8 | 10,789 | Movie-Time | FSF All Permissive License |
kotlin/perfect-numbers/src/main/kotlin/NaturalNumber.kt | aymannadeem | 128,678,010 | true | {"JavaScript": 1037867, "C#": 482229, "F#": 359821, "Java": 351020, "Haskell": 258405, "Scala": 230869, "Kotlin": 111391, "Elm": 92127, "Shell": 7468, "Batchfile": 5992, "GLSL": 5077, "Smalltalk": 2949, "RenderScript": 1248} | enum class Classification {
DEFICIENT, PERFECT, ABUNDANT
}
fun sumOfFactors(naturalNumber: Int): Int {
var sumOfFactors = 0
for (i in 1..naturalNumber - 1)
if (naturalNumber % i === 0)
sumOfFactors += i
return sumOfFactors
}
fun classify(naturalNumber: Int): Classification {
... | 0 | JavaScript | 0 | 0 | 5f9371845afca71f5fe0a50ddaf07a6796a174ce | 635 | exercism | Apache License 2.0 |
app/src/test/java/net/msalt/doublecheck/BunchDetailViewModelUnitTest.kt | msaltnet | 519,156,245 | false | {"Kotlin": 49240} | package net.msalt.doublecheck
import androidx.arch.core.executor.testing.InstantTaskExecutorRule
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.delay
import kotlinx.coroutines.test.StandardTestDispatcher
import kotlinx.coroutines.test.runTest
import net.msalt.doublecheck.bunchdetail.Bunc... | 5 | Kotlin | 0 | 1 | e2e8c0f91e2466be1c59584032f88e7fe4cda630 | 4,386 | double-check | MIT License |
nuimo/src/main/kotlin/com/senic/nuimo/NuimoGestureEvent.kt | getsenic | 46,062,491 | false | null | /*
* Copyright (c) 2015 Senic. All rights reserved.
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
package com.senic.nuimo
class NuimoGestureEvent(gesture: NuimoGesture, value: Int? = null) {
val gesture: NuimoGesture = gesture
... | 4 | Kotlin | 4 | 12 | 34f4ff7184bdfad46ea87b1db9da7b33b7742d74 | 723 | nuimo-android | MIT License |
kmm_otus_news/shared/src/commonMain/kotlin/com/azharkova/kmm_news/network/NetworkClient.kt | anioutkazharkova | 525,440,114 | false | null | package com.azharkova.kmm_news.network
import io.ktor.client.*
import io.ktor.client.call.*
import io.ktor.client.request.*
expect fun createHttpClient() : HttpClient
class NetworkClient {
var httpClient = createHttpClient()
suspend inline fun<reified T> getData(path: String): Result<T> {
try {
... | 0 | Kotlin | 0 | 0 | 86bda10514bfa80c6f77cd1f016bae9df3a300c5 | 502 | kmm_otus_news_16_08 | Apache License 2.0 |
locationsyncservice/src/main/java/com/shuttl/location_pings/data/model/request/SendLocationRequestBody.kt | betaCode95 | 228,328,623 | false | {"Kotlin": 40171} | package com.shuttl.location_pings.data.model.request
import com.shuttl.location_pings.data.model.entity.GPSLocation
data class SendLocationRequestBody(val data: List<GPSLocation>? = listOf(), val userId: String? = "", val bookingId: String? = "") {
companion object {
fun create(gps: List<GPSLocation>?) =... | 1 | Kotlin | 2 | 4 | 16c639d4477c869c4abe4a5ab00b346199f8f545 | 364 | Wherro | Apache License 2.0 |
app/src/main/java/com/zhuzichu/orange/ui/picture/viewmodel/PictureViewModel.kt | qq524787275 | 191,562,693 | false | null | package com.zhuzichu.orange.ui.picture.viewmodel
import android.app.Application
import androidx.lifecycle.MutableLiveData
import com.zhuzichu.mvvm.base.BaseViewModel
import com.zhuzichu.mvvm.databinding.command.BindingCommand
import com.zhuzichu.mvvm.utils.itemBindingOf
import com.zhuzichu.mvvm.utils.itemDiffOf
import... | 0 | Kotlin | 2 | 2 | 79b0cd43c4f33b492cbb7e219be4547a6900d866 | 1,186 | orange | Apache License 2.0 |
app/src/main/java/com/example/todolist/domain/base/BaseResult.kt | yoempanha | 730,547,101 | false | {"Kotlin": 38263} | package com.example.todolist.domain.base
sealed class BaseResult<out T> {
data class Success<T>(val data: T): BaseResult<T>()
data class Failure(val error: Throwable): BaseResult<Nothing>()
}
| 0 | Kotlin | 0 | 0 | fb0dcd9f83ce886641f9966eb3ea112baa4bd246 | 201 | todo-list | Apache License 2.0 |
src/main/kotlin/org.domaintbn.sommd.core/synth/Oversampler.kt | user00e00 | 163,682,297 | false | null | package org.domaintbn.sommd.core.synth
import kotlin.math.pow
class Oversampler(private val osc: OscilatorInterface, overSamplingFactor: Int) {
private var lastphase: Double = 0.toDouble()
private val oversampling: Int
init {
this.lastphase = 0.0
this.oversampling = (2.0).pow(overSamplin... | 0 | Kotlin | 2 | 0 | 60c6784e53eb38894272f74616c9484019cc3ab4 | 722 | sommd | MIT License |
app/src/main/java/com/thicapps/artbook/Constants.kt | cemaltuysuz | 398,304,728 | false | null | package com.thicapps.artbook
object Constants {
object Api{
const val API_KEY = "<KEY>"
const val BASE_URL = "https://pixabay.com/"
}
} | 0 | Kotlin | 0 | 0 | 9d854b731cfe9973f3082a1e803f5f55e750283e | 162 | ArtBook-Lesson-Example | MIT License |
codec/src/commonTest/kotlin/com/inkapplications/ack/codec/extension/SignalInfoCodecTest.kt | InkApplications | 277,934,100 | false | null | package com.inkapplications.ack.codec.extension
import com.inkapplications.ack.structures.SignalInfo
import com.inkapplications.ack.structures.unit.Strength
import inkapplications.spondee.measure.Bels
import inkapplications.spondee.measure.Feet
import inkapplications.spondee.spatial.Cardinal
import inkapplications.spo... | 4 | Kotlin | 1 | 0 | 665be5fd074f047ff018ab428b69e680cc101a9b | 2,355 | Karps | MIT License |
app/src/main/java/com/teknolojipiri/contactsgenerator/generate/GenerateContactsUseCase.kt | mehmet6parmak | 543,553,308 | false | null | package com.teknolojipiri.contactsgenerator.generate
import android.content.Context
import contacts.async.commitWithContext
import contacts.core.Contacts
import contacts.core.entities.NewRawContact
import contacts.core.entities.PhoneEntity
import contacts.core.log.AndroidLogger
import contacts.core.util.addPhone
impor... | 0 | Kotlin | 0 | 0 | c2518701aa90a6b9350605d39e9dad4ea7a659d4 | 2,241 | contacts-generator-android | Apache License 2.0 |
app/src/main/java/app/books/tanga/feature/listen/PlaySummaryAudioScreen.kt | rygelouv | 605,776,570 | false | null | package app.books.tanga.feature.listen
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layo... | 0 | Kotlin | 0 | 4 | d06dfe7c57225bd6d07817d5011d7d123da00826 | 8,521 | Tanga | Apache License 2.0 |
server/src/test/kotlin/io/liquidsoftware/base/web/integration/user/UserRegistrationTest.kt | edreyer | 445,325,795 | false | {"Kotlin": 204259, "Procfile": 119} | package io.liquidsoftware.base.web.integration.user
import assertk.assertThat
import assertk.assertions.isEqualTo
import io.liquidsoftware.base.test.BaseWebTest
import io.liquidsoftware.base.user.adapter.`in`.web.RegisterUserInputDto
import io.liquidsoftware.base.user.adapter.`in`.web.RegisteredUserDto
import io.liqui... | 7 | Kotlin | 12 | 49 | 8e006542b23bb90823c66dfe59a70476370a912c | 1,938 | modulith | MIT License |
app/src/main/java/com/kryptkode/carz/ui/summary/SummaryFragment.kt | KryptKode | 342,202,429 | false | null | package com.kryptkode.carz.ui.summary
import android.os.Bundle
import android.view.View
import androidx.core.os.bundleOf
import androidx.fragment.app.Fragment
import com.kryptkode.carz.R
import com.kryptkode.carz.data.model.CarBuildDate
import com.kryptkode.carz.data.model.CarManufacturer
import com.kryptkode.carz.dat... | 0 | Kotlin | 0 | 0 | a121312a983dcbb44226d6a2b23f00e3af396a3f | 2,250 | Carz | MIT License |
app/src/main/java/com/example/sescgmf/adapter/TrainingAdapter.kt | andrecomegno | 677,199,399 | false | {"Kotlin": 26757} | package com.example.sescgmf.adapter
import android.content.Context
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.example.sescgmf.databinding.TrainingItemBinding
import com.example.sescgmf.training.TrainingClasses
class TrainingAdapter(priv... | 0 | Kotlin | 0 | 1 | 2e1979f68d906e5a1315ed3c7431ad4c4a9a352f | 1,362 | SescGMF | MIT License |
router/src/main/java/com/speakerboxlite/router/result/RouterResultProviderImpl.kt | AlexExiv | 688,805,446 | false | {"Kotlin": 441742} | package com.speakerboxlite.router.result
import com.speakerboxlite.router.ViewResult
import java.lang.ref.WeakReference
class RouterResultProviderImpl(private val from: String,
private val resultManager: ResultManager): RouterResultProvider
{
override val key: String get() = from
... | 11 | Kotlin | 2 | 3 | 2732f15dcd89d3afde46176a82cd6f927c04f468 | 973 | Router-Android | MIT License |
core/src/commonMain/kotlin/maryk/core/query/responses/AddResponse.kt | marykdb | 290,454,412 | false | null | package maryk.core.query.responses
import maryk.core.models.IsRootDataModel
import maryk.core.models.SimpleQueryDataModel
import maryk.core.properties.IsPropertyDefinitions
import maryk.core.properties.ObjectPropertyDefinitions
import maryk.core.properties.definitions.list
import maryk.core.properties.enum.TypeEnum
im... | 0 | Kotlin | 0 | 6 | 2db4430b9d05f6f25ffc8d7d79a637a50bd73390 | 1,577 | maryk | Apache License 2.0 |
src/test/kotlin/no/nav/medlemskap/sykepenger/lytter/service/BrukerinputMappingLogikkTest.kt | navikt | 392,288,955 | false | {"Kotlin": 311975, "Dockerfile": 44} | package no.nav.medlemskap.sykepenger.lytter.service
import no.nav.medlemskap.sykepenger.lytter.persistence.*
import org.junit.jupiter.api.Assertions
import org.junit.jupiter.api.Test
import java.time.LocalDate
class BrukerinputMappingLogikkTest {
@Test
fun testmappingAvOppholdstilatelseMedNullVerdi(){
... | 0 | Kotlin | 1 | 0 | 9b0ba0b0089c177a9b7f7f85a21ad0feeeac3d00 | 10,523 | medlemskap-sykepengerlytter | MIT License |
app/src/main/java/br/com/meiadois/decole/presentation/user/education/InteractiveModeListener.kt | meiadois | 256,744,460 | false | null | package br.com.meiadois.decole.presentation.user.education
import java.lang.Exception
interface InteractiveModeListener {
fun onStarted()
fun onSuccess()
fun onFailure(ex: Exception)
} | 0 | Kotlin | 1 | 2 | f9c861124d3a1031bf0b802465eaa166c16f1693 | 198 | decole-android | MIT License |
app/src/main/java/com/awxkee/jxlcoder/app/glide/MainActivity.kt | awxkee | 693,219,289 | false | {"Kotlin": 15911} | package com.awxkee.jxlcoder.app.glide
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Surface
import androidx.compose.m... | 0 | Kotlin | 0 | 6 | 22b8d47f45dd4cdfb9f30b4d26921180e0151780 | 1,711 | jxl-coder-glide | Creative Commons Zero v1.0 Universal |
src/main/kotlin/exceptions/ParserException.kt | OwnMind-ai | 831,952,738 | false | {"Kotlin": 115274} | package org.cindustry.exceptions
import org.cindustry.parser.Token
class ParserException(message: String, token: Token? = null) : TokenException(SYNTAX, message, token) | 0 | Kotlin | 0 | 0 | 6d13218019afea572f9ae60acf0402b681d2fb02 | 170 | Cindustry | MIT License |
core/src/main/kotlin/finance/tegro/core/contract/op/SuccessfulSwapPayloadOp.kt | TegroTON | 586,902,794 | false | {"Kotlin": 227007} | package finance.tegro.core.contract.op
import org.ton.block.Maybe
import org.ton.cell.Cell
import org.ton.cell.CellBuilder
import org.ton.cell.CellSlice
import org.ton.tlb.TlbCodec
import org.ton.tlb.TlbConstructor
import org.ton.tlb.constructor.AnyTlbConstructor
import org.ton.tlb.loadTlb
import org.ton.tlb.storeTlb
... | 17 | Kotlin | 4 | 0 | f15616ec84716f9ecab118b855a8d5aaf5c2a9be | 1,215 | API-DEX-TON-Blockchain | MIT License |
app/src/main/java/ui/all_characters/AllItemsFragment.kt | omertzroya | 809,783,374 | false | {"Kotlin": 31122} | package ui.all_characters
import android.os.Bundle
import android.view.LayoutInflater
import android.view.Menu
import android.view.MenuInflater
import android.view.MenuItem
import android.view.View
import android.view.ViewGroup
import android.widget.Toast
import androidx.appcompat.app.AlertDialog
import androidx.fragm... | 0 | Kotlin | 0 | 0 | 1648a953c794a0441a31c9b1e21f1748851414e3 | 5,548 | CouponChest-Kotlin-App | MIT License |
src/test/kotlin/g1501_1600/s1534_count_good_triplets/SolutionTest.kt | javadev | 190,711,550 | false | {"Kotlin": 4870729, "TypeScript": 50437, "Python": 3646, "Shell": 994} | package g1501_1600.s1534_count_good_triplets
import org.hamcrest.CoreMatchers.equalTo
import org.hamcrest.MatcherAssert.assertThat
import org.junit.jupiter.api.Test
internal class SolutionTest {
@Test
fun countGoodTriplets() {
assertThat(
Solution().countGoodTriplets(intArrayOf(3, 0, 1, 1,... | 0 | Kotlin | 20 | 43 | e8b08d4a512f037e40e358b078c0a091e691d88f | 546 | LeetCode-in-Kotlin | MIT License |
src/main/kotlin/com/dongfg/project/api/web/graphql/resolver/ResourceResolver.kt | fossabot | 170,657,046 | false | null | package com.dongfg.project.api.web.graphql.resolver
import com.coxautodev.graphql.tools.GraphQLQueryResolver
import com.dongfg.project.api.component.ZiMuZu
import com.dongfg.project.api.model.ResourceDetail
import com.dongfg.project.api.model.ResourceEpisode
import com.dongfg.project.api.model.ResourceInfo
import com.... | 0 | Kotlin | 0 | 1 | e0538f524b92931e70cf5badfac5e23b53214fc7 | 996 | api-10 | MIT License |
domain/src/main/java/tachiyomi/domain/manga/interactor/SetFetchInterval.kt | tachiyomiorg | 43,807,251 | false | null | package tachiyomi.domain.manga.interactor
import tachiyomi.domain.chapter.interactor.GetChapterByMangaId
import tachiyomi.domain.chapter.model.Chapter
import tachiyomi.domain.manga.model.Manga
import tachiyomi.domain.manga.model.MangaUpdate
import java.time.Instant
import java.time.ZonedDateTime
import java.time.tempo... | 462 | Kotlin | 2586 | 23,920 | 96f6a5abc2a879cf4ff79c0c4e61153292f61357 | 4,778 | tachiyomi | Apache License 2.0 |
src/test/kotlin/io/github/simplydemo/ConfigurationVerticleTest.kt | simplydemo | 710,141,733 | false | {"Kotlin": 11690, "Dockerfile": 188} | package io.github.simplydemo
import io.vertx.config.ConfigRetriever
import io.vertx.config.ConfigRetrieverOptions
import io.vertx.config.ConfigStoreOptions
import io.vertx.core.Vertx
import io.vertx.junit5.VertxExtension
import io.vertx.junit5.VertxTestContext
import io.vertx.kotlin.core.json.json
import io.vertx.kotl... | 0 | Kotlin | 0 | 0 | c2e51629e830acd134117d2fb55566d23c5f452d | 2,901 | vertx-lotto-api | Apache License 2.0 |
src/test/kotlin/com/tylerthrailkill/helpers/prettyprint/EnumTest.kt | youvere | 220,963,506 | true | {"Kotlin": 120549} | package com.tylerthrailkill.helpers.prettyprint
import org.spekframework.spek2.Spek
import org.spekframework.spek2.style.specification.describe
object EnumTest : Spek({
setup()
describe("pretty printing enums should") {
it("render all values of the enum") {
prettyPrint(TestEnum.BOOLEA... | 0 | null | 0 | 0 | 93db14fcf85f5ad73ca929b6a776455b992c3e0d | 1,253 | pretty-print | MIT License |
app/src/main/java/des/c5inco/pokedexer/di/MovesDatabaseModule.kt | c5inco | 461,368,002 | false | {"Kotlin": 241702} | package des.c5inco.pokedexer.di
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import des.c5inco.pokedexer.data.PokemonDatabase
import des.c5inco.pokedexer.data.moves.MovesDao
@InstallIn(SingletonComponent::class)
@Module
object MovesDatabaseM... | 0 | Kotlin | 11 | 98 | 864891236d09bbcbfaca75cb4cdba4c2fdb112db | 448 | compose-pokedexer | MIT License |
app/src/main/java/at/opnote/notifications/NotificationsProvider.kt | fly8899 | 456,671,546 | false | null | package at.opnote.notifications
import android.app.NotificationChannel
import android.app.NotificationManager
import android.content.Context
import android.content.SharedPreferences
import android.os.Bundle
import androidx.core.app.NotificationCompat
import androidx.core.app.NotificationManagerCompat
import androidx.n... | 0 | Kotlin | 0 | 0 | a5997cb2031ea57f6a16c4ab8cd203e51838c0ce | 3,963 | OpNote | Apache License 2.0 |
rx-runtime-reaktive/src/commonTest/kotlin/com/suparnatural/runtime/rx/reaktive/ReaktiveTests.kt | suparngp | 191,891,618 | false | null | package com.suparnatural.runtime.rx.reaktive
import kotlin.test.Test
class ReaktiveTests {
@Test
fun testRxRuntime() {
}
} | 15 | HTML | 7 | 97 | 82b217e1fcfdc7a62fdfb3821a556409a2b34ad3 | 136 | kotlin-multiplatform-projects | MIT License |
src/main/kotlin/io/matrixfy/commands.kt | VaiTon | 588,932,217 | false | null | package io.matrixfy
import com.adamratzman.spotify.SpotifyScope
import com.adamratzman.spotify.SpotifyUserAuthorization
import com.adamratzman.spotify.endpoints.pub.SearchApi
import com.adamratzman.spotify.getSpotifyAuthorizationUrl
import com.adamratzman.spotify.models.SpotifyTrackUri
import com.adamratzman.spotify.s... | 3 | Kotlin | 0 | 5 | 9a60797a2bcb69274a07adbbbdbbee27faeb6350 | 5,132 | matrixfy | Apache License 2.0 |
app/src/main/java/ke/co/svs/mykrypto/MainActivity.kt | Wamae | 428,778,929 | false | {"Kotlin": 25476} | package ke.co.svs.mykrypto
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material.*
import androidx.compose.runtime.Composable
import androidx.compose.runtime.rememberCoroutin... | 5 | Kotlin | 0 | 0 | edb383788eaf2c9ccfeebbdd97b3cf58129899db | 2,572 | krypto | MIT License |
src/main/kotlin/ru/coding4fun/intellij/database/action/security/NewCryptographicProviderAction.kt | scrappyCoco | 201,919,288 | false | null | package ru.coding4fun.intellij.database.action.security
//import ru.coding4fun.intellij.database.action.common.updateVisibility
//import ru.coding4fun.intellij.database.data.property.security.SecurityDataProviders
//import ru.coding4fun.intellij.database.ui.displayDialog
import ru.coding4fun.intellij.database.action.K... | 0 | Kotlin | 2 | 1 | 1408f2a9229dbdf9ad99966faa5e7a5b74786270 | 888 | SQL-Server-Administration-Tool | Apache License 2.0 |
src/main/kotlin/views/screens/GeneratedPathPickerScreen.kt | legora-io | 473,590,009 | false | null | package views.screens
import androidx.compose.foundation.layout.*
import androidx.compose.material.Button
import androidx.compose.material.OutlinedTextField
import androidx.compose.material.Text
import androidx.compose.material.TextFieldDefaults
import androidx.compose.runtime.Composable
import androidx.compose.runtim... | 0 | Kotlin | 1 | 1 | d71d1277101350569eabd21c26b92d352b23bce7 | 5,547 | Legora | MIT License |
src/main/kotlin/net/averkhoglyad/chess/manager/core/service/ProfileServiceImpl.kt | averkhoglyad | 113,734,963 | false | null | //package net.averkhoglyad.chess.manager.core.service
//
//import net.averkhoglyad.chess.manager.core.sdk.data.User
//
//import java.nio.file.Files
//import java.nio.file.Path
//import java.util.ArrayList
//import java.util.stream.Collectors
//import java.util.stream.Stream
//
//import net.averkhoglyad.chess.manager.co... | 3 | Kotlin | 0 | 0 | 3a3c5ebd00cd716713da584409d8f1eabcb4ef3b | 1,048 | chess-manager | Apache License 2.0 |
app/src/main/java/com/example/ceritaku/data/remote/response/story/NewStoryResponse.kt | Alstonargodi | 479,324,167 | false | {"Kotlin": 121568} | package com.example.ceritaku.data.remote.response.story
import com.google.gson.annotations.SerializedName
data class NewStoryResponse(
@SerializedName("error")
val error: Boolean,
@SerializedName("message")
val message: String
) | 0 | Kotlin | 0 | 3 | 0fe9437bfbb0e5ec5b532b72b73934033f9f697f | 247 | Cerita | Apache License 2.0 |
xenoglot-atlas-extended/src/commonMain/kotlin/dev/teogor/xenoglot/atlas/extended/LanguageToCountryMappings_to.kt | teogor | 718,087,802 | false | {"Kotlin": 1614676} | /*
* Copyright 2024 teogor (<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 agree... | 0 | Kotlin | 0 | 6 | 48dddb213920f7cc1d19d2ea34a61948a633dc38 | 16,852 | xenoglot | Apache License 2.0 |
korma-triangulator/src/commonMain/kotlin/korlibs.math/geom/vector/VectorBuilderTriangleExt.kt | korlibs | 666,376,560 | false | null | package korlibs.math.geom.vector
import korlibs.math.geom.Triangle
fun VectorBuilder.triangle(triangle: Triangle) {
polygon(triangle.points.map { it }, close = true)
}
fun VectorBuilder.triangles(triangles: List<Triangle>) {
for (triangle in triangles) triangle(triangle)
}
| 0 | Kotlin | 0 | 2 | 1569421f0412127bdd9fe01d7285177dcdf94f3d | 284 | korma-triangulator | MIT License |
src/main/kotlin/com/mytrove/items/ItemFamilyCategory.kt | stackstorage | 171,768,478 | false | null | package com.mytrove.items
/**
* Top-level category for {@link ItemFamily}.
*/
enum class ItemFamilyCategory {
/**
* Category for a family where all the member item types have a similar use.
*/
USE,
/**
* Category for a family where all the member item types are often in the same room.
*/
ROOM,
... | 0 | Kotlin | 0 | 0 | bc347c815802c861deddd9411b60123da0f2b2d5 | 325 | items | Apache License 2.0 |
app/src/main/java/dev/eastar/recyclerview/DiffBindingDataArrayAdapterDemo.kt | eastar-dev | 293,751,844 | false | null | package dev.eastar.recyclerview
import android.log.Log
import android.os.Bundle
import android.recycler.DiffBindingDataArrayAdapter
import android.recycler.DiffBindingDataArrayAdapter.DiffInfo
import android.recycler.NullItem
import androidx.activity.viewModels
import androidx.appcompat.app.AppCompatActivity
import an... | 0 | Kotlin | 0 | 0 | ab4ed110351a73fc53ef6f349ecdd2fe76c87432 | 2,091 | EastarRecyclerview | Apache License 2.0 |
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/components/IMU.kt | RoshanAH | 554,962,519 | false | {"Kotlin": 65941, "Java": 44938} | package org.firstinspires.ftc.teamcode.components
import com.qualcomm.hardware.rev.RevHubOrientationOnRobot
import com.qualcomm.robotcore.hardware.HardwareMap
import com.qualcomm.robotcore.hardware.IMU as RevIMU
import com.roshanah.jerky.math.Angle
import com.roshanah.jerky.math.rad
import org.firstinspires.ftc.teamco... | 0 | Kotlin | 1 | 1 | 4435be448884baa316d2c011e6bfaadb7e59bfe3 | 1,484 | power-play | BSD 3-Clause Clear License |
archivarius/src/test/java/com/sherepenko/android/archivarius/entries/RawLogEntryTest.kt | asherepenko | 237,088,692 | false | null | package com.sherepenko.android.archivarius.entries
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.google.common.truth.Truth.assertThat
import com.sherepenko.android.archivarius.utils.ArchivariusTestUtils
import com.sherepenko.android.archivarius.utils.DateTimeUtils
import java.io.ByteArrayOutputStream... | 0 | Kotlin | 0 | 2 | 2829053317fbf042ac0f67d39a412487d2ebaec5 | 1,170 | android-archivarius | MIT License |
app/src/main/java/com/example/ecommerce/ui/main_screen/MyTabs.kt | stymsaw | 737,599,268 | false | {"Kotlin": 110066} | package com.example.ecommerce.ui.main_screen
import androidx.compose.foundation.background
import androidx.compose.material3.Icon
import androidx.compose.material3.Tab
import androidx.compose.material3.TabRow
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.M... | 0 | Kotlin | 0 | 1 | d117965449c37f9530ebe4ed406ff0ed0ffa6bb1 | 2,040 | Ecommerce | The Unlicense |
common/src/main/java/com/hh/common/base/BaseActivity.kt | yellowhai | 469,705,102 | false | {"Kotlin": 326860} | /*
* 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 | 1 | 8 | 1463c4d222cd0bf36fd8deeccf295b4f68d479a5 | 982 | PlayAndroid | Apache License 2.0 |
src/main/kotlin/dev/lunarcoffee/risako/bot/Extensions.kt | lunarcoffee | 191,968,430 | false | {"Kotlin": 283896} | package dev.lunarcoffee.risako.bot
import dev.lunarcoffee.risako.bot.consts.TIME_FORMATTER
import java.time.LocalDateTime
fun Boolean.toYesNo() = if (this) "yes" else "no"
fun String.constToEng() = replace("_", " ").toLowerCase()
fun <T : Enum<T>> Enum<T>.constToEng() = name.replace("_", " ").toLowerCase()
fun Loc... | 0 | Kotlin | 0 | 0 | 8ae6c0fa0f85c90725667055493276116a0c0870 | 386 | Risako | MIT License |
server/src/main/kotlin/net/eplusx/mimosa/server/Routing.kt | eplusx | 707,934,134 | false | {"Kotlin": 29820} | package net.eplusx.mimosa.server
import io.ktor.server.application.*
import io.ktor.server.request.receive
import io.ktor.server.response.*
import io.ktor.server.routing.*
import kotlinx.serialization.Serializable
@Serializable
data class Request(
val name: String,
)
fun Application.configureRouting() {
rout... | 0 | Kotlin | 0 | 0 | 3e3c5a326ad55b081ac9876f5eb9bcf2177b333c | 475 | mimosa | MIT License |
app/src/main/java/com/rektapps/assaulttimer/dagger/module/ServiceModule.kt | N3-M3-S1S | 199,498,741 | false | null | package com.rektapps.assaulttimer.dagger.module
import com.rektapps.assaulttimer.service.AssaultService
import com.rektapps.assaulttimer.service.AssaultsUpdater
import com.rektapps.assaulttimer.service.IncomingAssaultService
import com.rektapps.assaulttimer.service.ManualNotificationsService
import com.rektapps.assau... | 0 | Kotlin | 0 | 0 | 0a01605890842182d00963cad4e3165e2da81b45 | 1,285 | assault_timer | MIT License |
domain/src/main/java/com/aconno/sensorics/domain/ifttt/NotificationDisplay.kt | recreational-snacker | 163,322,239 | false | null | package com.aconno.sensorics.domain.ifttt
/**
* @author aconno
*/
interface NotificationDisplay {
fun displayAlertNotification(message: String)
} | 0 | Kotlin | 0 | 0 | 18530c7272e685744f1b25f223124e9f67bfdd0b | 152 | Sensorics | Apache License 2.0 |
domain/src/main/java/com/aconno/sensorics/domain/ifttt/NotificationDisplay.kt | recreational-snacker | 163,322,239 | false | null | package com.aconno.sensorics.domain.ifttt
/**
* @author aconno
*/
interface NotificationDisplay {
fun displayAlertNotification(message: String)
} | 0 | Kotlin | 0 | 0 | 18530c7272e685744f1b25f223124e9f67bfdd0b | 152 | Sensorics | Apache License 2.0 |
app/src/main/kotlin/me/xizzhu/android/joshua/search/SearchViewModel.kt | TrendingTechnology | 336,463,037 | true | {"Kotlin": 1016945} | /*
* Copyright (C) 2020 <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 ... | 0 | null | 0 | 0 | db9b681ca744bb9dc4a415cf1dec0de7e3f8fa1a | 4,181 | Joshua | Apache License 2.0 |
app/src/main/java/me/lazy_assedninja/demo/ui/retrofit/RetrofitListAdapter.kt | henryhuang1219 | 357,838,778 | false | null | package me.lazy_assedninja.demo.ui.retrofit
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.databinding.DataBindingUtil
import androidx.recyclerview.widget.DiffUtil
import me.lazy_assedninja.demo.R
import me.lazy_assedninja.demo.databinding.RetrofitItemBinding
import me.lazy_assedninja... | 0 | Kotlin | 1 | 2 | 2f5a79974f8d6b6af516a8959824558324bab8ce | 1,401 | Android-Demo | Apache License 2.0 |
src/main/kotlin/io/github/clechasseur/adventofcode/y2022/Day2.kt | clechasseur | 567,968,171 | false | null | package io.github.clechasseur.adventofcode.y2022
import io.github.clechasseur.adventofcode.y2022.data.Day2Data
object Day2 {
private val input = Day2Data.input
fun part1(): Int = input.lines().sumOf { score(it) }
fun part2(): Int = input.lines().sumOf { score2(it) }
private enum class Choice(val op... | 0 | Kotlin | 0 | 0 | 7ead7db6491d6fba2479cd604f684f0f8c1e450f | 1,835 | adventofcode2022 | MIT License |
src/jvmTest/kotlin/main.kt | apereira435 | 336,340,523 | false | null | class jvmTest {
} | 0 | Kotlin | 0 | 0 | 9a9340f245ca578fd53bfab7fc6dd7af178e57ad | 18 | take5 | MIT License |
mewwalletbl/src/main/java/com/myetherwallet/mewwalletbl/data/PurchasePrices.kt | MyEtherWallet | 225,456,139 | false | null | package com.myetherwallet.mewwalletbl.data
import android.os.Parcelable
import com.google.gson.annotations.SerializedName
import kotlinx.android.parcel.Parcelize
import java.math.BigDecimal
@Parcelize
data class PurchasePrices(
@SerializedName("fiat_currency")
val fiatCurrency: String,
@Serial... | 1 | Kotlin | 6 | 7 | 62f56849b4a7c0909cf00c20076bf036aa39192e | 462 | mew-wallet-android-biz-logic | MIT License |
app/src/main/java/com/lttrung/notepro/domain/usecases/ResetPasswordUseCase.kt | lttrung2001 | 587,661,881 | false | null | package com.lttrung.notepro.domain.usecases
import io.reactivex.rxjava3.core.Single
import javax.inject.Singleton
@Singleton
interface ResetPasswordUseCase {
fun execute(code: String, newPassword: String): Single<Unit>
} | 0 | Kotlin | 0 | 0 | c4d5b4d167b092fc003f5a61849b043b6ea47367 | 226 | note-pro | MIT License |
auth/ui/src/main/java/com/niqr/auth/ui/screens/authentication/components/SignInWithGoogleButton.kt | Niqrs | 619,145,854 | false | null | package com.niqr.auth.ui.screens.authentication.components
import androidx.compose.foundation.BorderStroke
import androidx.compose.foundation.layout.*
import androidx.compose.material3.Icon
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.OutlinedButton
import androidx.compose.material... | 1 | Kotlin | 0 | 1 | 2609d528b85685ab01343ef2bf066782409343cb | 2,146 | Mono | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.