path
stringlengths
4
280
owner
stringlengths
2
39
repo_id
int64
21.1k
879M
is_fork
bool
2 classes
languages_distribution
stringlengths
13
1.95k
content
stringlengths
7
482k
issues
int64
0
13.9k
main_language
stringclasses
121 values
forks
stringlengths
1
5
stars
int64
0
111k
commit_sha
stringlengths
40
40
size
int64
7
482k
name
stringlengths
1
100
license
stringclasses
93 values
src/main/kotlin/dev/emortal/immortal/game/GameManager.kt
EmortalMC
387,273,202
false
null
package dev.emortal.immortal.game import dev.emortal.immortal.inventory.GameSelectorGUI import net.kyori.adventure.sound.Sound import net.kyori.adventure.text.Component import net.kyori.adventure.text.format.NamedTextColor import net.minestom.server.entity.Player import net.minestom.server.event.Event import net.mines...
4
Kotlin
0
5
81dfdace2b64f98a1c3433afd9f330dbe9d1cf4a
6,229
Immortal
MIT License
src/main/kotlin/com/wutsi/flutter/sdui/Positioned.kt
wutsi
415,658,640
false
null
package com.wutsi.flutter.sdui import com.wutsi.flutter.sdui.enums.WidgetType class Positioned( val top: Double? = null, val bottom: Double? = null, val left: Double? = null, val right: Double? = null, val width: Double? = null, val height: Double? = null, val child: WidgetAware, ) : Widge...
1
Kotlin
1
2
0e39b6120b9cb6e8acf35c5d4d86cf95e75ebfae
675
sdui-kotlin
MIT License
lib/src/apiTest/kotlin/com/lemonappdev/konsist/architecture/assertarchitecture/architecture5/project/presentation/sample/PresentationSecondClass.kt
LemonAppDev
621,181,534
false
{"Kotlin": 4854719, "Python": 17926}
package com.lemonappdev.konsist.architecture.assertarchitecture.architecture5.project.presentation.sample import com.lemonappdev.konsist.architecture.assertarchitecture.architecture5.project.presentation.PresentationFirstClass class PresentationSecondClass(val sampleParameter: PresentationFirstClass)
5
Kotlin
26
995
603d19e179f59445c5f4707c1528a438e4595136
304
konsist
Apache License 2.0
thirdparty/ktfx-controlsfx-commons/src/main/kotlin/ktfx/controlsfx/controls/Notifications.kt
hanggrian
102,934,147
false
{"Kotlin": 1146536, "CSS": 1653}
@file:OptIn(ExperimentalContracts::class) package ktfx.controlsfx.controls import javafx.event.ActionEvent import javafx.geometry.Pos import javafx.scene.Node import javafx.util.Duration import ktfx.internal.KtfxInternals.NO_GETTER import ktfx.internal.KtfxInternals.noGetter import org.controlsfx.control.Notification...
1
Kotlin
2
19
6e5ec9fedf8359423c31a2ba64cd175bc9864cd2
4,003
ktfx
Apache License 2.0
app/src/main/java/com/example/jetpack_compose_all_in_one/features/quotes_using_rx_java/QuoteAPI/APIService.kt
myofficework000
626,474,700
false
{"Kotlin": 1392414}
package com.example.jetpack_compose_all_in_one.features.quotes_using_rx_java.QuoteAPI import com.example.jetpack_compose_all_in_one.utils.Constants.RANDOM_ENDPOINT import io.reactivex.Single import retrofit2.http.GET interface APIService { @GET(RANDOM_ENDPOINT) fun getRandomQuote(): Single<QuoteResponse> }
21
Kotlin
22
222
4de5418608d6917b5c97fac7d868454c424daa26
318
Jetpack-Compose-All-in-one-Guide
MIT License
app/src/main/java/com/hoc/comicapp/ui/chapter_detail/ChapterDetailInteractorImpl.kt
hoang06kx1
216,228,666
true
{"Kotlin": 353295}
package com.hoc.comicapp.ui.chapter_detail import com.hoc.comicapp.domain.repository.ComicRepository import com.hoc.comicapp.domain.repository.DownloadComicsRepository import com.hoc.comicapp.domain.thread.CoroutinesDispatcherProvider import com.hoc.comicapp.ui.chapter_detail.ChapterDetailPartialChange.InitialRetryLoa...
0
null
0
0
8ff2ea495d56c2d73bfd5cfc4c6244d2b7c8faaa
3,548
ComicReaderApp_MVI_Coroutine_RxKotlin_Jetpack
MIT License
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/emr/AutoTerminationPolicyPropertyDsl.kt
F43nd1r
643,016,506
false
null
package com.faendir.awscdkkt.generated.services.emr import com.faendir.awscdkkt.AwsCdkDsl import javax.`annotation`.Generated import kotlin.Unit import software.amazon.awscdk.services.emr.CfnCluster @Generated public fun buildAutoTerminationPolicyProperty(initializer: @AwsCdkDsl CfnCluster.AutoTerminationPolicyPr...
1
Kotlin
0
0
e08d201715c6bd4914fdc443682badc2ccc74bea
477
aws-cdk-kt
Apache License 2.0
app/src/main/java/com/baptistecarlier/echo/ui/component/videodetail/VideoDetailScreen.kt
BapNesS
533,918,653
false
{"Kotlin": 111871}
package com.baptistecarlier.echo.ui.component.videodetail import android.content.share import android.content.shareOnTwitter import androidx.compose.runtime.Composable import androidx.compose.runtime.collectAsState import androidx.compose.ui.platform.LocalContext import androidx.hilt.navigation.compose.hiltViewModel i...
0
Kotlin
0
1
26c09e5da4735f25ee066a3c5216b2cfc6ff95ac
1,102
EchoApp
Apache License 2.0
flare/src/iosMain/kotlin/enchant/flare/FirebaseStorage.kt
TeraThought
442,684,893
false
null
package enchant.flare import cocoapods.FirebaseStorage.* import kotlinx.cinterop.* import kotlinx.coroutines.suspendCancellableCoroutine import platform.Foundation.* import kotlin.coroutines.resume import kotlin.coroutines.resumeWithException class FirebaseStorageImpl(private val storage: FIRStorage) : FirebaseStorag...
1
Kotlin
3
0
8874d6ad0791b7d2dc6f2fd72d156d21d0c7eb7b
9,556
flare
Apache License 2.0
src/main/kotlin/com/fileee/oihAdapter/Constants.kt
openintegrationhub
159,690,721
false
null
package com.fileee.oihAdapter const val API_BASE_URL = "https://api.fileee.com/v2" const val PERSONS_API_URL = "$API_BASE_URL/persons" const val USER_INFO = "$API_BASE_URL/authorization/user-info" const val REFRESH_TOKEN_URL = "$API_BASE_URL/authorization/token" // json configuration constants const val OAUTH_KEY = ...
0
Kotlin
0
0
0bef6ec18c38c34f55b3ede68f7b68a3b7baf743
581
fileee-adapter
Apache License 2.0
music/commands/src/main/kotlin/dev/schlaubi/mikmusic/commands/NowPlayingCommand.kt
DRSchlaubi
409,332,765
false
{"Kotlin": 343748, "Java": 5154, "Dockerfile": 201, "Shell": 197, "PowerShell": 96}
package dev.schlaubi.mikmusic.commands import com.kotlindiscord.kord.extensions.commands.Arguments import com.kotlindiscord.kord.extensions.commands.converters.impl.optionalInt import com.kotlindiscord.kord.extensions.extensions.publicSlashCommand import dev.kord.rest.builder.message.embed import dev.schlaubi.mikmusic...
16
Kotlin
12
36
7023a740f1019eba14ae667ba63b049743e7f502
2,394
mikbot
MIT License
base/src/main/kotlin/github/hua0512/plugins/base/Extractor.kt
hua0512
756,063,189
false
{"Kotlin": 530228, "Dockerfile": 614}
/* * MIT License * * Stream-rec https://github.com/hua0512/stream-rec * * Copyright (c) 2024 hua0512 (https://github.com/hua0512) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software w...
5
Kotlin
1
7
cebff4def8190f642a73f4f0863b7e91059fce41
5,382
stream-rec
MIT License
app/src/main/java/com/pperrin54/happy_plants/home_activity/PlantModal.kt
protoxvga
570,509,351
false
{"Kotlin": 57661}
package com.pperrin54.happy_plants.home_activity class PlantModal( val plantID: Int, var plantName: String, var plantImage: Int, var plantCategory: String, var plantLuminosity: Float, var plantTemperature: Float, var plantHumidity: Float, var plantLastWatering: String, var plantWate...
0
Kotlin
0
0
fbfd0d52c4f00917693733826da5a373ba32e07e
610
happy_plants
MIT License
src/main/kotlin/no/nav/tjenestepensjon/simulering/v1/soap/marshalling/domain/XMLSimulertPensjon.kt
navikt
184,583,998
false
null
package no.nav.tjenestepensjon.simulering.v1.soap.marshalling.domain import jakarta.xml.bind.annotation.XmlAccessType.* import jakarta.xml.bind.annotation.XmlAccessorType import jakarta.xml.bind.annotation.XmlElement import jakarta.xml.bind.annotation.XmlType import no.nav.tjenestepensjon.simulering.model.domain.FNR i...
10
Kotlin
0
0
4e8543b8c263fad378b2f2f75441f03d78762bf3
1,487
tjenestepensjon-simulering
MIT License
app/src/main/java/com/robert/android/lostpets/network/MessagingServiceGenerator.kt
robertene1994
303,119,114
false
null
package com.robert.android.lostpets.network import android.content.Context import com.robert.android.lostpets.BuildConfig import com.robert.android.lostpets.storage.SessionRepositoryImpl import ua.naiksoftware.stomp.Stomp import ua.naiksoftware.stomp.StompClient import ua.naiksoftware.stomp.dto.StompHeader /** * Cla...
0
Kotlin
0
0
a7af7de031d3ab4e2d14851a117d3729330cd875
1,601
lostpets-android
MIT License
src/commonMain/kotlin/com.comcast.vrex.sdk/message/send/WakeUpWord.kt
rdkcentral
493,187,704
false
null
/* * Copyright 2021 Comcast Cable Communications Management, LLC * * 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...
0
Kotlin
0
0
8cade4bea0976afe422c909a664477701222421a
1,292
xvcs-speech-sdk-core
Apache License 2.0
src/main/kotlin/io/cutebot/markonimagemanage/bot/blocks/managebot/tools/MarkBuilder.kt
asundukov
275,147,772
false
null
package io.cutebot.markonimagemanage.bot.blocks.managebot.tools import io.cutebot.markonimagemanage.botclient.model.MarkPosition data class MarkBuilder( var filePath: String, var title: String = "", var description: String = "", var sizePercent: Int = 50, var opacity: Int = 100...
2
Kotlin
0
0
cf165269d0053c5060ddf24ae1a943c339701259
377
mark-on-image-manage-bot
Apache License 2.0
ach/src/main/java/com/adyen/checkout/ach/internal/ui/ACHDirectDebitDelegate.kt
Adyen
91,104,663
false
null
/* * Copyright (c) 2023 <NAME>. * * This file is open source and available under the MIT license. See the LICENSE file for more info. * * Created by onurk on 16/2/2023. */ package com.adyen.checkout.ach.internal.ui import com.adyen.checkout.ach.ACHDirectDebitComponentState import com.adyen.checkout.ach.internal...
28
Kotlin
59
96
1f000e27e07467f3a30bb3a786a43de62be003b2
1,169
adyen-android
MIT License
app/src/main/java/playground/develop/socialnote/di/AppModules.kt
mars-amn
197,773,483
false
{"Kotlin": 252056, "JavaScript": 2212}
package playground.develop.socialnote.di import androidx.room.Room import com.google.firebase.auth.FirebaseAuth import com.google.firebase.firestore.FirebaseFirestore import com.google.firebase.storage.FirebaseStorage import org.koin.android.ext.koin.androidContext import org.koin.androidx.viewmodel.dsl.viewModel impo...
0
Kotlin
10
58
811a30081d7cf3555419a618ead5cebc0e28a6d7
1,491
Social-Note
MIT License
src/main/kotlin/com/google/androidstudiopoet/input/ModuleConfig.kt
Soros1223
118,137,013
true
{"Kotlin": 154933}
/* Copyright 2017 Google Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software di...
0
Kotlin
0
0
594742e98a042e565806a98b25f5162fc6a19b33
1,011
android-studio-poet
Apache License 2.0
app/src/main/java/com/example/uasAPI/ui/penerbit/ListPenerbitFragment.kt
alkusr
501,196,460
false
null
package com.example.uasAPI.ui.penerbit import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment import androidx.fragment.app.activityViewModels import androidx.navigation.fragment.findNavController import com.example.uasAPI...
0
Kotlin
0
1
d1d5f35149853d4a3d8534143fa5b2010fc79e19
1,177
UAS-Pemrograman-Mobile
MIT License
app/src/main/java/com/udacity/loadapp/view/ButtonState.kt
jploz
343,891,618
false
null
package com.udacity.loadapp.view sealed class ButtonState { object Clicked : ButtonState() object Loading : ButtonState() object Completed : ButtonState() }
0
Kotlin
0
0
7259636d163ce979cc7eed61f16444b381ccd274
171
android-nd-load-app
Apache License 2.0
helper/src/main/kotlin/io/kaxis/extension/DefaultKaxisBcJcaGenerator.kt
barudisshu
806,368,620
false
{"Kotlin": 1248420, "Java": 451145, "Shell": 28440, "Dockerfile": 956}
/* * Copyright (c) 2024. <EMAIL> * * All rights reserved. */ package io.kaxis.extension import io.kaxis.BCProvider import io.kaxis.extension.generator.KaxisBcFabric import io.kaxis.extension.param.AlgEnum import org.bouncycastle.asn1.x500.X500Name import org.slf4j.Logger import org.slf4j.LoggerFactory import java...
0
Kotlin
0
0
e5cfba9c1f3db08eba55201a6fa128cfebb00006
3,171
kaxis
MIT License
src/test/kotlin/chapter6/solutions/ex10/listing.kt
DavidGomesh
680,857,367
false
{"Kotlin": 204685}
package chapter6.solutions.ex10 import chapter3.Cons import chapter3.List import chapter3.foldRight import chapter6.RNG import chapter6.rng1 import io.kotest.matchers.shouldBe import io.kotest.core.spec.style.WordSpec //tag::init[] data class State<S, out A>(val run: (S) -> Pair<A, S>) { companion object { ...
0
Kotlin
0
0
41fd131cd5049cbafce8efff044bc00d8acddebd
2,680
fp-kotlin
MIT License
db/src/main/kotlin/org/jaram/jubaky/db/repository/JobRepositoryImpl.kt
jubaky
195,964,455
false
null
package org.jaram.jubaky.db.repository import org.jaram.jubaky.db.dao.JobDao import org.jaram.jubaky.protocol.JobInfo import org.jaram.jubaky.repository.JobRepository class JobRepositoryImpl( private val jobDao: JobDao ) : JobRepository { override suspend fun getJobInfo(applicationId: Int, branch: String): J...
1
Kotlin
1
0
834790726cc2d9be82eded60fc2449cf7e22591a
748
api_server
Apache License 2.0
src/main/kotlin/io/battlerune/game/world/actor/pawn/player/block/PlayerHitUpdateBlock.kt
scape-tools
105,257,050
false
null
package io.battlerune.game.world.actor.pawn.player.block import io.battlerune.game.world.actor.pawn.player.Player import io.battlerune.game.world.actor.pawn.update.UpdateBlock import io.battlerune.game.world.actor.pawn.update.BlockType import io.battlerune.net.codec.game.RSByteBufWriter class PlayerHitUpdateBlock : U...
0
Kotlin
12
9
dd711cf4c61cd0af99e8e2d51afee5f5c02bdbad
452
kotlin-osrs
MIT License
persistance/src/main/java/com/linhtetko/persistance/entities/WeatherEntity.kt
lin-htet-ko
726,358,254
false
{"Kotlin": 95925, "CMake": 1249, "C++": 502}
package com.linhtetko.persistance.entities import androidx.room.Entity import androidx.room.Index import androidx.room.PrimaryKey import com.linhtetko.persistance.databases.Schema @Entity(tableName = Schema.Table.TB_WEATHER, indices = [Index("type")]) data class WeatherEntity( @PrimaryKey(autoGenerate = true) ...
0
Kotlin
0
0
dea33ddf60850d8e3ec8fc6d121cb161ea65bd1a
757
efficient_weather_app
Apache License 2.0
Server/src/main/kotlin/server/PythonInitialization.kt
MikeDepies
325,124,905
false
{"CSS": 7942948, "Kotlin": 700526, "Python": 545415, "TypeScript": 76204, "Svelte": 50830, "JavaScript": 6857, "HTML": 2446, "Dockerfile": 772}
package server import kotlinx.serialization.Serializable @Serializable data class EvaluatorSettings(val attackTime: Int, val maxTime: Int, val actionLimit: Int) @Serializable enum class MeleeStage { FinalDestination, BattleField, PokemonStadium, Dreamland, FountainOfDreams } @Serializable data class ControllerC...
0
CSS
0
3
215f13fd4140e32b882e3a8c68900b174d388d9f
608
NeatKotlin
Apache License 2.0
airin-core/src/jvmMain/kotlin/io/morfly/airin/SharedPropertiesHolder.kt
Morfly
368,910,388
false
{"Kotlin": 84682}
package io.morfly.airin import io.morfly.airin.label.MavenCoordinates interface SharedPropertiesHolder { val sharedProperties: MutableMap<String, Any> } @Suppress("UNCHECKED_CAST") val SharedPropertiesHolder.allMavenArtifacts: MutableSet<MavenCoordinates> get() = sharedProperties.getOrPut("allMavenArtifacts...
1
Kotlin
3
31
0891ce67c744e9b49ddf0714247ae1b7131df03e
404
airin
Apache License 2.0
app/src/androidTest/java/com/kylecorry/trail_sense/astronomy/domain/moon/MoonPhaseCalculatorTest.kt
TrendingTechnology
268,941,914
true
{"Kotlin": 217677}
package com.kylecorry.trail_sense.astronomy.domain.moon import org.junit.Test import org.junit.Assert.* import java.time.LocalDateTime import java.time.Month import java.time.ZoneId import java.time.ZonedDateTime class MoonPhaseCalculatorTest { @Test fun getPhase() { val calculator = MoonPhaseCalcul...
0
null
0
0
ba8786be4ac8deb02f3f0cbc71f4b11420cd09fa
2,027
Trail-Sense
MIT License
app/src/main/java/com/uphar/bussiness/domain/Utils/BasePreferences.kt
uphargaur
790,430,007
false
{"Kotlin": 44522, "Java": 2198}
package com.jhalakXCorp.vent.bussinesss.domain.Utils import android.content.Context val PREFERENCE_NAME = "language_preference" val FIREBASE_REFRESH_TOKEN = "firebase_refresh_token" val MULTIPLE_LOGIN = "multiple_login" val LOG_OUT_REASON = "login_out_reason" val LOG_IN_STATUS = "login_status" val APP_TOKEN = "app...
0
Kotlin
0
0
0d3b021399a1eb384f13a374fe79c66d65422948
1,720
PicSprint
MIT License
src/main/kotlin/dev/architectury/plugin/TransformingTask.kt
architectury
300,942,019
false
null
package dev.architectury.plugin import dev.architectury.plugin.utils.GradleSupport import dev.architectury.transformer.Transform import dev.architectury.transformer.Transformer import dev.architectury.transformer.shadowed.impl.com.google.gson.Gson import dev.architectury.transformer.transformers.BuiltinProperties impo...
4
Kotlin
7
48
0a37a6b6ed26600d0eea26d45281e50eb29233a2
3,424
architectury-plugin
MIT License
koarl-backend/src/main/java/dev/moetz/koarl/backend/obfuscation/ObfuscationManager.kt
FlowMo7
317,061,970
false
null
package dev.moetz.koarl.backend.obfuscation import dev.moetz.koarl.api.model.CrashUploadRequestBody import dev.moetz.koarl.backend.persistence.CrashStorage import dev.moetz.koarl.backend.persistence.ObfuscationMappingStorage import proguard.retrace.ReTrace import java.io.File import java.io.LineNumberReader import jav...
0
Kotlin
0
6
48bec5de7c1fdb9eaa67795f3313f0b3d690af15
5,603
Koarl
Apache License 2.0
src/main/kotlin/br/com/manieri/mikoshi/repository/RepositoryData.kt
JoaoManieri
798,898,226
false
{"Kotlin": 9453}
package br.com.manieri.mikoshi.repository import br.com.manieri.mikoshi.model.SaveData import br.com.manieri.mikoshi.model.Validation import br.com.manieri.mikoshi.util.getHash import org.springframework.stereotype.Repository import java.io.File @Repository class RepositoryData { fun setData(data : SaveData){ ...
0
Kotlin
0
0
f00b8c8d548f6f36eadcfebed5ebcc62429c618a
829
mikoshi
Apache License 2.0
app/src/main/java/com/bulletapps/candypricer/domain/usecase/product/DeleteProductUseCase.kt
jvsena42
485,055,339
false
{"Kotlin": 265086}
package com.bulletapps.candypricer.domain.usecase.product import com.bulletapps.candypricer.data.repository.CandyPricerRepository import javax.inject.Inject class DeleteProductUseCase @Inject constructor( private val repository: CandyPricerRepository ) { // TODO VALIDATE NEGATIVE VALUE suspend operator fu...
18
Kotlin
0
2
c89da3d248d32f976ad7f0d918815822787ae33a
382
baking_calculator
MIT License
PhoneClient/app/src/main/java/ru/niatomi/phoneclient/Entrypoint.kt
Niatomi
705,881,258
false
{"Kotlin": 14000, "C": 1499, "C++": 1217, "Makefile": 95}
package ru.niatomi.phoneclient import android.os.Build import android.util.Log import androidx.annotation.RequiresApi import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.runtime.Composable import androidx.compose.runtime.LaunchedEffect import androidx....
0
Kotlin
0
0
69e31dd7e50aa3789daab2dba9f4e17f8aded122
2,228
portable-phone-osciloscope
Apache License 2.0
core/src/main/kotlin/io/zeebe/bpmnspec/verifications/ElementInstanceStateVerification.kt
strogo
359,518,634
true
{"Kotlin": 73169, "Shell": 987}
package io.zeebe.bpmnspec.verifications import io.zeebe.bpmnspec.api.Verification import io.zeebe.bpmnspec.api.VerificationResult import io.zeebe.bpmnspec.api.WorkflowInstanceContext import io.zeebe.bpmnspec.api.runner.ElementInstanceState import io.zeebe.bpmnspec.api.runner.TestRunner class ElementInstanceStateVerif...
0
null
0
0
b86b23d5abb7951b9f8eeaf2ce7a48a4c2627c96
2,039
bpmn-spec
Apache License 2.0
demo/src/main/java/nl/joery/demo/animatedbottombar/MainActivity.kt
rushabh13
245,955,972
true
{"Kotlin": 48258}
package nl.joery.demo.animatedbottombar import android.os.Bundle import android.util.Log import androidx.appcompat.app.AppCompatActivity import kotlinx.android.synthetic.main.activity_main.* import nl.joery.animatedbottombar.AnimatedBottomBar class MainActivity : AppCompatActivity() { override fun onCreate(saved...
0
null
2
5
7043ba5a14a873d2389df95e042b5d96f9c6bd25
1,803
AnimatedBottomBar
MIT License
retroravelry/src/test/java/com/caseykulm/retroravelry/MockClient.kt
caseykulm
106,941,886
false
null
package com.caseykulm.retroravelry import com.caseykulm.retroravelry.auth.AuthenticationHeaderProvider import com.caseykulm.retroravelry.auth.OAuth2Authenticator import okhttp3.OkHttpClient import okhttp3.Request import okhttp3.logging.HttpLoggingInterceptor import okhttp3.mockwebserver.MockWebServer val MOCK_USER_NA...
1
Kotlin
0
2
177f20c4a84bd0a6f7a4da2ac7b942fd01699e06
1,818
retroravelry
Apache License 2.0
lcc-content/src/main/kotlin/com/joshmanisdabomb/lcc/block/entity/ClassicChestBlockEntity.kt
joshmanisdabomb
537,458,013
false
{"Kotlin": 2724329, "Java": 138822}
package com.joshmanisdabomb.lcc.block.entity import com.joshmanisdabomb.lcc.directory.LCCBlockEntities import com.joshmanisdabomb.lcc.directory.LCCBlocks import com.joshmanisdabomb.lcc.extensions.NBT_STRING import com.joshmanisdabomb.lcc.lib.inventory.LCCInventory import net.minecraft.block.BlockState import net.minec...
0
Kotlin
0
0
a836162eaf64a75ca97daffa02c1f9e66bdde1b4
4,468
loosely-connected-concepts
Creative Commons Zero v1.0 Universal
thelema-kx/src/commonMain/kotlin/org/ksdfv/thelema/fs/FS.kt
cybernetics
365,452,918
true
{"Kotlin": 3356187, "C": 552354, "Java": 355550, "HTML": 6211, "Makefile": 260}
/* * Copyright 2020 Anton Trushkov * * 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 ...
0
null
0
0
c274a903f0a4d17e5ef14773efa144ee8c8809dd
1,515
thelema-engine
Apache License 2.0
Android/app/src/test/java/uk/ac/lshtm/keppel/android/scanning/ScanActivityTest.kt
LSHTM-ORK
240,033,125
false
{"Kotlin": 93320, "Java": 4400, "Shell": 1742}
package uk.ac.lshtm.keppel.android.scanning import android.content.Context import android.content.Intent import androidx.test.core.app.ApplicationProvider import org.junit.Before import org.junit.Test import org.junit.runner.RunWith import org.mockito.Mockito.mock import org.mockito.Mockito.verify import org.robolectr...
4
Kotlin
2
7
d9e5f8bc99c068751004085351bd0a5ff8d8c49f
1,744
ODK_Biometrics
MIT License
kotest-examples/kotest-examples-jvm/src/jvmMain/kotlin/com/sksamuel/kotest/examples/jvm/ssn.kt
niraj8
268,596,932
true
{"Kotlin": 2246160, "HTML": 423, "Java": 145}
package com.sksamuel.kotest.examples.jvm val socialRegex = "^\\d{3}-\\d{3}-\\d{4}$".toRegex() fun validateSocial(ssn: String): Boolean = socialRegex.matches(ssn)
0
null
0
1
53daa30e3fb889935e8de419d233454dda2e385f
164
kotest
Apache License 2.0
vk-api-generated/src/main/kotlin/name/anton3/vkapi/generated/photos/methods/PhotosReportComment.kt
Anton3
159,801,334
true
{"Kotlin": 1382186}
@file:Suppress("unused", "MemberVisibilityCanBePrivate", "SpellCheckingInspection") package name.anton3.vkapi.generated.photos.methods import com.fasterxml.jackson.module.kotlin.jacksonTypeRef import name.anton3.vkapi.generated.common.objects.ReportReason import name.anton3.vkapi.method.UserMethod import name.anton3....
2
Kotlin
0
8
773c89751c4382a42f556b6d3c247f83aabec625
1,011
kotlin-vk-api
MIT License
starter/slack-spring-boot/src/main/kotlin/io/hndrs/slack/broker/util/SlackApiTextResponseExt.kt
hndrs
168,710,332
false
null
package io.hndrs.slack.broker.util import com.slack.api.methods.SlackApiTextResponse fun <T : SlackApiTextResponse, R> T.on(onSuccess: (response: T) -> R, onFailure: (response: T) -> R): R { return if (this.isOk) { onSuccess(this) } else { onFailure(this) } }
56
Kotlin
13
17
1691baf43c8d842e087e684aa14597909e80d310
290
slack-spring-boot-starter
MIT License
audioengine/src/main/java/io/github/gaomjun/audioengine/AudioEngine.kt
GaoMjun
261,919,677
false
{"C++": 5298889, "Java": 1356277, "C": 826238, "Kotlin": 143998, "GLSL": 17726, "Objective-C": 7774, "CMake": 4632, "Makefile": 2264}
package io.github.gaomjun.audioengine import android.media.AudioFormat import android.media.AudioRecord import android.media.MediaRecorder import android.os.Handler import android.os.HandlerThread import io.github.gaomjun.live.aacEncoder.AACEncoder import io.github.gaomjun.live.encodeConfiguration.AudioConfiguration i...
0
C++
3
6
70e6d8f075521fd14012ee9a0687f19046a97f19
4,939
Ringo-Android
MIT License
app/src/main/java/com/better/alarm/background/AlertService.kt
csshine
252,324,328
true
{"Kotlin": 216111, "Java": 195933}
package com.better.alarm.background import com.better.alarm.interfaces.IAlarmsManager import com.better.alarm.interfaces.Intents import com.better.alarm.logger.Logger import com.better.alarm.model.Alarmtone import com.better.alarm.wakelock.Wakelocks import io.reactivex.Observable import io.reactivex.disposables.Compos...
0
null
0
0
3f0686d6e7e7ccc3d24c1433b4d3273bb1655cb1
5,143
AlarmClock
Apache License 2.0
app/src/main/java/com/stocksexchange/android/ui/views/MarkableImageView.kt
libertaria-project
183,030,087
true
{"Kotlin": 2210140}
package com.stocksexchange.android.ui.views import android.content.Context import android.graphics.* import androidx.annotation.ColorInt import android.util.AttributeSet import android.widget.ImageView import androidx.appcompat.widget.AppCompatImageView import com.stocksexchange.android.ui.utils.extensions.spToPx /**...
0
Kotlin
0
0
35a7f9a61f52f68ab3267da24da3c1d77d84e9c3
5,049
Android-app
MIT License
components/external-messaging-services/src/test/kotlin/net/corda/external/messaging/services/ExternalMessagingRoutingServiceImplTest.kt
corda
346,070,752
false
{"Kotlin": 20585419, "Java": 308202, "Smarty": 115357, "Shell": 54409, "Groovy": 30246, "PowerShell": 6470, "TypeScript": 5826, "Solidity": 2024, "Batchfile": 244}
package net.corda.external.messaging.services import com.typesafe.config.ConfigFactory import net.corda.external.messaging.entities.VirtualNodeRouteKey import net.corda.external.messaging.services.impl.ExternalMessagingRoutingServiceImpl import net.corda.libs.configuration.SmartConfig import net.corda.libs.configurati...
11
Kotlin
27
69
d478e119ab288af663910f9a2df42a7a7b9f5bce
6,843
corda-runtime-os
Apache License 2.0
model/src/main/java/com/gentalhacode/github/model/Response.kt
thgMatajs
239,887,486
false
null
package com.gentalhacode.github.model /** * .:.:.:. Created by @thgMatajs on 11/02/20 .:.:.:. */ interface Response { val totalRepositories: Int val repositories: List<Repository> }
0
Kotlin
0
5
f3e8465cdbc92c9375f32c20085afdeac69dd04d
192
GitHubSearch
The Unlicense
inputs/core/src/commonMain/kotlin/symphony/Serializable.kt
aSoft-Ltd
632,021,007
false
null
package symphony import kotlinx.serialization.KSerializer interface Serializable<T> { val serializer: KSerializer<T> }
0
Kotlin
0
0
53ebc57b18457ef0417812a21d4b73caa10c10f0
124
symphony
MIT License
archive/533/solve.kt
daniellionel01
435,306,139
false
null
/* === #533 Minimum values of the Carmichael function - Project Euler === The Carmichael function λ(n) is defined as the smallest positive integer m such that am = 1 modulo n for all integers a coprime with n. For example λ(8) = 2 and λ(240) = 4. Define L(n) as the smallest positive integer m such that λ(k) ≥ n for al...
0
Kotlin
0
1
1ad6a549a0a420ac04906cfa86d99d8c612056f6
573
euler
MIT License
app/src/main/java/com/koleff/kare_android/ui/state/WorkoutDetailsListState.kt
MartinKoleff
741,013,199
false
{"Kotlin": 655085}
package com.koleff.kare_android.ui.state import com.koleff.kare_android.data.model.dto.ExerciseDetailsDto import com.koleff.kare_android.data.model.dto.WorkoutDetailsDto import com.koleff.kare_android.data.model.response.base_response.KareError data class WorkoutDetailsListState ( val workoutDetailsList: List<Wor...
15
Kotlin
0
4
e31db6fb293ae0b00fd9c4526b1f8d5c2be64b67
507
KareFitnessApp
MIT License
app/src/main/java/com/loan/golden/cash/money/loan/app/util/CacheUtil.kt
williamXw
693,063,899
false
{"Java": 2423785, "Kotlin": 747998}
package com.loan.golden.cash.money.loan.app.util import android.text.TextUtils import com.google.gson.Gson import com.loan.golden.cash.money.loan.data.response.LoginResponse import com.tencent.mmkv.MMKV object CacheUtil { /** * 获取保存的账户信息 */ fun getUser(): LoginResponse? { val kv = MMKV.mmkv...
1
null
1
1
2ba6be236ce6de634dda7d02f78d87b4a6f9c7f6
1,189
goldenMoney
Apache License 2.0
common/sdk/settings/api/external/src/commonMain/kotlin/io/chefbook/sdk/settings/api/external/domain/usecases/SetCommunityRecipesLanguagesUseCase.kt
mephistolie
379,951,682
false
{"Kotlin": 1334117, "Ruby": 16819, "Swift": 352}
package io.chefbook.sdk.settings.api.external.domain.usecases import io.chefbook.libs.models.language.Language interface SetCommunityRecipesLanguagesUseCase { suspend operator fun invoke(languages: List<Language>) }
0
Kotlin
0
12
ddaf82ee3142f30aee8920d226a8f07873cdcffe
220
chefbook-mobile
Apache License 2.0
examples/kotless/shortener/src/main/kotlin/io/kotless/examples/page/Shortener.kt
JetBrains
192,359,205
false
null
package io.kotless.examples.page import io.kotless.dsl.lang.http.* import io.kotless.dsl.model.HttpResponse import io.kotless.examples.storage.URLStorage import org.apache.commons.validator.routines.UrlValidator import org.slf4j.LoggerFactory @Get("/r") fun redirectUrl(k: String): HttpResponse { val url = URLStor...
51
Kotlin
56
975
596c77f41410409207647dfd195e34f4562728ed
920
kotless
Apache License 2.0
poko-compiler-plugin/src/main/kotlin/dev/drewhamilton/poko/ir/PokoIrGenerationExtension.kt
drewhamilton
243,601,035
false
null
package dev.drewhamilton.poko.ir import org.jetbrains.kotlin.backend.common.extensions.IrGenerationExtension import org.jetbrains.kotlin.backend.common.extensions.IrPluginContext import org.jetbrains.kotlin.cli.common.messages.CompilerMessageSeverity import org.jetbrains.kotlin.cli.common.messages.MessageCollector imp...
6
Kotlin
3
99
3d433f1851085076efc88ce8e9cfcbce8d8ba841
1,484
Poko
Apache License 2.0
app/src/main/java/com/nyinyihtunlwin/prj_getgo/search/Car.kt
nyinyihtunlwin-codigo
368,795,690
false
{"Kotlin": 13808}
package com.nyinyihtunlwin.prj_getgo.search class Car { }
0
Kotlin
0
0
11f1d203ca128b54444b7f5f5333fc485c4e622d
58
prj-getgo
Apache License 2.0
app/src/main/java/com/udacity/shoestore/models/Shoe.kt
PaoloCaldera
607,771,342
false
{"Kotlin": 17867}
package com.udacity.shoestore.models import android.os.Parcelable import kotlinx.android.parcel.Parcelize @Parcelize data class Shoe(var name: String, var size: Double, var company: String, var description: String, val images: List<String> = mutableListO...
0
Kotlin
0
0
3db9315d032e0e3d5977d5c747d7bbebe78bcb10
338
shoeStore
MIT License
day7/src/main/kotlin/BagRuleParser.kt
ascheja
317,918,055
false
null
package net.sinceat.aoc2020.day7 class BagRuleParser(private val rules: Map<String, List<Pair<Int, String>>>) { fun unpackShinyGoldBags(): Sequence<String> { return unpackBag("shiny gold") } private fun unpackBag(toUnpack: String): Sequence<String> = sequence { rules[toUnpack]?.forEach { ...
0
Kotlin
0
0
f115063875d4d79da32cbdd44ff688f9b418d25e
1,893
aoc2020
MIT License
Java_part/AssignmentD/src/Q2.kt
enihsyou
58,862,788
false
null
import java.util.* class MazeGenerator(private val x: Int, private val y: Int) { private val maze = Array(x) { IntArray(y) } fun generate(cx: Int, cy: Int) { Direction.values().shuffle().forEach { val nx = cx + it.dx val ny = cy + it.dy if (between(nx, x) && between...
1
null
1
1
09a109bb26e0d8d165a4d1bbe18ec7b4e538b364
4,222
Sorting-algorithm
MIT License
core/src/test/kotlin/org/tty/dioc/core/test/services/circle/HelloServiceToPrintImpl.kt
h1542462994
374,315,892
false
null
package org.tty.dioc.core.test.services.circle import org.tty.dioc.annotation.Inject import org.tty.dioc.annotation.Component @Component class HelloServiceToPrintImpl: HelloServiceToPrint { @Inject lateinit var printService: PrintService override fun hello(): String { return "hello" } ov...
0
Kotlin
0
1
f24ce47a59936ee21a7d705ef19b5c2e17208868
392
dioc
MIT License
shared/src/commonMain/kotlin/com/mbta/tid/mbta_app/repositories/TripRepository.kt
mbta
718,216,969
false
{"Kotlin": 1077869, "Swift": 529057, "Ruby": 4666, "Shell": 4134}
package com.mbta.tid.mbta_app.repositories import com.mbta.tid.mbta_app.json import com.mbta.tid.mbta_app.model.TripShape import com.mbta.tid.mbta_app.model.response.ApiResult import com.mbta.tid.mbta_app.model.response.ErrorDetails import com.mbta.tid.mbta_app.model.response.TripResponse import com.mbta.tid.mbta_app....
10
Kotlin
0
0
d9d9e2129e532125f2d46b37bc3b9eba44517728
3,675
mobile_app
MIT License
app/src/main/java/ir/roohi/farshid/reminderpro/repository/LocationRepository.kt
FarshidRoohi
156,371,913
false
null
package ir.roohi.farshid.reminderpro.repository import android.content.Context import androidx.lifecycle.LiveData import ir.roohi.farshid.reminderpro.database.AppDatabase import ir.roohi.farshid.reminderpro.model.LocationEntity import java.util.concurrent.Executors /** * Created by <NAME>. * ReminderPro | Copyright...
9
Kotlin
8
32
ca8057f117442ae1ff292179723d0f779efbde7a
1,490
ReminderPro
Apache License 2.0
app/src/main/java/pl/sienczykm/templbn/ui/list/weather/WeatherListViewModel.kt
mat-sienczyk
193,071,707
false
null
package pl.sienczykm.templbn.ui.list.weather import android.app.Application import pl.sienczykm.templbn.db.AppDb import pl.sienczykm.templbn.db.model.BaseStationModel import pl.sienczykm.templbn.db.model.WeatherStationModel import pl.sienczykm.templbn.ui.list.common.BaseStationListViewModel import pl.sienczykm.templbn...
0
Kotlin
1
2
9c87e40d685d62a4e523708428c2f8ec44494948
1,725
LubelskieStacjePogodowe
Apache License 2.0
app/src/main/java/com/yveschiong/macrofit/activities/AddNutritionFactActivity.kt
yveschiong
135,364,946
false
{"Kotlin": 130902}
package com.yveschiong.macrofit.activities import android.app.Activity import android.content.Intent import android.os.Bundle import android.support.design.widget.TextInputLayout import android.widget.ArrayAdapter import com.yveschiong.macrofit.App import com.yveschiong.macrofit.R import com.yveschiong.macrofit.consta...
0
Kotlin
0
0
57a923fe85f7a69d3da87d4835cd453522f3d009
4,385
macro-fit
MIT License
app/src/main/java/com/example/bitfit_pt1/Navigation.kt
irania0201
555,544,995
false
null
package com.example.bitfit_pt1 import android.os.Bundle import androidx.fragment.app.Fragment import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.TextView import androidx.lifecycle.lifecycleScope import kotlinx.coroutines.launch import kotlin.math.max import ...
2
Kotlin
0
0
2505fc6e1ec385375670db9b6c6bccbb6ef65c6c
2,614
BitFitPt2
Apache License 2.0
teamcity-vsix-gallery-server/src/main/teamcity/vsix/index/VsixMetadataProvider.kt
hhariri
34,997,181
true
{"Kotlin": 15178, "Java": 8061, "JavaScript": 2032, "CSS": 244}
package teamcity.vsix.index import com.google.common.collect.Lists import com.intellij.openapi.diagnostic.Logger import jetbrains.buildServer.log.Loggers import jetbrains.buildServer.serverSide.SBuild import jetbrains.buildServer.serverSide.artifacts.BuildArtifact import jetbrains.buildServer.serverSide.artifacts.Buil...
0
Kotlin
0
0
2e92cac2fe231138246e36951c0948530f1f1af9
3,545
teamcity-vsix-gallery
MIT License
game/plugins/src/main/kotlin/gg/rsmod/plugins/content/combat/strategy/ranged/weapon/Bows.kt
2011Scape
578,880,245
false
{"Kotlin": 8359518, "Dockerfile": 1354}
package gg.rsmod.plugins.content.combat.strategy.ranged.weapon import gg.rsmod.plugins.api.cfg.Items /** * @author Tom <<EMAIL>> */ object Bows { val CRYSTAL_BOWS = arrayOf( Items.NEW_CRYSTAL_BOW, Items.CRYSTAL_BOW_FULL, Items.CRYSTAL_BOW_110, Items.CRYSTAL_BOW_2...
36
Kotlin
14
32
da66bb6d68ebae531ee325b909a6536e798b1144
757
game
Apache License 2.0
NativeMobileCaseStudy/app/src/main/java/com/example/nativemobilecasestudy/presentation/screens/cart_screen/components/CartProductCard.kt
ekineskin
849,029,080
false
{"Kotlin": 63538}
package com.example.nativemobilecasestudy.presentation.screens.cart_screen.components 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
0ebd59e58dd1d00bfd41154a709a121f14f019d9
3,389
NativeMobileCaseStudy
MIT License
app/web3proxy/src/main/kotlin/io/hamal/app/web3proxy/arbitrum/repository/Block.kt
hamal-io
622,870,037
false
{"Kotlin": 3316689, "C": 1401511, "TypeScript": 450023, "Lua": 193995, "C++": 40651, "Makefile": 11728, "Java": 7564, "JavaScript": 5832, "SCSS": 5191, "CMake": 2838, "CSS": 1626, "HTML": 1245, "Shell": 993}
package io.hamal.app.web3proxy.arbitrum.repository import io.hamal.lib.common.compress.BzipCompressor import io.hamal.lib.common.hot.HotObjectModule import io.hamal.lib.common.serialization.JsonFactoryBuilder import io.hamal.lib.domain.Json import io.hamal.lib.domain.vo.ValueObjectJsonModule import io.hamal.lib.sqlite...
44
Kotlin
0
0
1c9b1ad3368823ad9c339b6a56532a602cef7c63
5,662
hamal
Creative Commons Zero v1.0 Universal
src/app/src/main/java/com/huawei/touchmenot/kotlin/main/common/PermissionManager.kt
huaweicodelabs
400,165,704
false
null
/** * Copyright 2020. Huawei Technologies Co., Ltd. All rights reserved. * * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * * http://www.apache.org/licenses/LICENSE-2.0 * * * U...
1
null
1
1
46ff26e6627395e16f7bd5a6ba904e89f7e6ba34
2,790
TouchMeNot
Apache License 2.0
interpreter/src/main/kotlin/org/actorlang/interpreter/InterpreterImpl.kt
422404
371,440,848
false
null
package org.actorlang.interpreter import org.actorlang.actorsystem.ActorSystem import org.actorlang.actorsystem.ServerLikeState import org.actorlang.interpreter.eval.RootEvaluator import org.actorlang.interpreter.synchronization.InterpreterExitReason import org.actorlang.interpreter.synchronization.InterpreterSynchron...
23
null
1
3
bccf9c554e2dc2ad9c946cf8f38cacdd7002b555
1,804
ActorLang
MIT License
app/src/main/java/com/example/contactconnect/Contactlist/contactinfo_activity.kt
uphargaur
654,267,647
false
null
package com.example.contactconnect.Contactlist import android.content.Context import android.icu.text.SimpleDateFormat import android.os.Bundle import android.util.Base64 import android.widget.Button import android.widget.EditText import android.widget.TextView import android.widget.Toast import androidx.appcompat.ap...
0
Kotlin
0
1
39ab833d685f55e6e62474a4381fc1f8c336b2e5
4,168
Contactapp
MIT License
solidblocks-test/src/test/kotlin/de/solidblocks/infra/test/snippets/CommandSnippets.kt
pellepelster
427,474,970
false
{"Kotlin": 327110, "Shell": 145200, "HCL": 94738, "Python": 9981, "Dockerfile": 7516, "HTML": 4972}
package de.solidblocks.infra.test.snippets import de.solidblocks.infra.test.SolidblocksTest import de.solidblocks.infra.test.SolidblocksTestContext import de.solidblocks.infra.test.command.runtimeShouldBeLessThan import de.solidblocks.infra.test.command.shouldHaveExitCode import de.solidblocks.infra.test.docker.Docker...
4
Kotlin
5
25
e63a6f13522e32ae2343fd75791f47e5777fd702
4,645
solidblocks
MIT License
src/main/kotlin/implementation/TagShort.kt
luizrcs
259,787,951
false
null
package io.github.mrpng.nbt.implementation import io.github.mrpng.nbt.* import io.github.mrpng.nbt.TagType.* import java.nio.* class TagShort private constructor(name: String? = null): Tag<Short>(TAG_SHORT, name) { override val sizeInBytes = Short.SIZE_BYTES constructor(value: Short, name: String? = null): this...
1
Kotlin
3
9
9f110ecf41bac6f9e9986ec5ff5c20157be5adfc
668
KotlinNBT
MIT License
cli_kt/app/src/main/kotlin/net/nanai10a/twomeat/cli/usecases/user/get/UserGetOutputData.kt
Nanai10a
330,746,827
false
null
package net.nanai10a.twomeat.cli.usecases.user.get import net.nanai10a.twomeat.cli.entities.User import net.nanai10a.twomeat.cli.usecases.SessionData data class UserGetOutputData(val sessionData: SessionData, val user: User?)
1
Kotlin
0
1
d28a4e3997958e703af79a8896655d96f06b043e
228
2Meat-4.5th
MIT License
app/src/main/java/pl/polciuta/qrscanner/utils/BitmapUtils.kt
nikt0r
311,046,064
false
null
package pl.polciuta.qrscanner.utils import android.content.Context import android.graphics.* import android.util.TypedValue import pl.polciuta.qrscanner.analyzer.RelativeCornerPoints import kotlin.math.max import kotlin.math.min object BitmapUtils { // forSize - if bitmap size differs from forSize, rescale corne...
0
Kotlin
0
0
dda9cf235db27ccc6474a308b39c13e1eb4ad838
3,725
QRScanner
MIT License
src/main/kotlin/icons/FlutterDevToolsIcons.kt
wanggaowan
599,862,484
false
{"Kotlin": 693357}
package icons import com.intellij.openapi.util.IconLoader import javax.swing.Icon /** * 图片ICON资源加载 * * @author Created by wanggaowan on 2022/5/1 21:44 */ object FlutterDevToolsIcons { // IconLoader.getIcon,只要在同一个路径下放置同名,后缀为_dark的图片,则自动在暗色主题时加载dart图片 // 比如:/icons/ic_search.svg /icons/ic_search_dark.svg ...
0
Kotlin
0
0
fd49bb62d901b289644475ccee66df2ae549492b
1,665
FlutterDevTools
Apache License 2.0
core-media/src/main/java/com/thoughtworks/ark/media/video/player/VideoPlayer.kt
TW-Smart-CoE
548,729,881
false
null
@file:Suppress("TooManyFunctions") package com.thoughtworks.ark.media.video.player interface VideoPlayer { fun addListener(videoPlayerListener: VideoPlayerListener) fun removeListener(videoPlayerListener: VideoPlayerListener) fun play(videoDataSource: VideoDataSource) fun replay() fun pause() ...
16
Kotlin
2
16
35d0c4fe5e9ffc1c0cbd6318e46a2ad6f34f4e63
474
ARK-Android
Apache License 2.0
src/main/java/com/impact/addon/gt/api/multis/ISwitchRecipeMap.kt
GT-IMPACT
272,411,733
false
{"Java": 2070057, "Kotlin": 191017}
package com.impact.addon.gt.api.multis import gregtech.api.util.GT_Recipe.GT_Recipe_Map import net.minecraft.entity.player.EntityPlayer interface ISwitchRecipeMap { fun getRecipesMap(): List<GT_Recipe_Map> fun onChangeRecipeMap(map: GT_Recipe_Map, player: EntityPlayer) fun hasSwitchMap(): Boolean fun ...
0
Java
4
3
1320d520b6a96e18d609fd8ac3520b2a3f1f2f0c
342
Impact-Core
MIT License
app/src/main/kotlin/net/ketc/numeri/presentation/view/activity/MainActivity.kt
KetcKtsD
75,272,615
false
null
package net.ketc.numeri.presentation.view.activity import android.content.Context import android.content.Intent import android.content.res.Configuration import android.graphics.drawable.Drawable import android.os.Bundle import android.support.design.widget.BottomSheetDialog import android.support.design.widget.Navigat...
0
Kotlin
0
0
ea3b007ab7875ea6d1bc1c5c1cec871eee2685a5
11,960
numeri3
MIT License
src/main/kotlin/g1801_1900/s1878_get_biggest_three_rhombus_sums_in_a_grid/Solution.kt
javadev
190,711,550
false
{"Kotlin": 4901773, "TypeScript": 50437, "Python": 3646, "Shell": 994}
package g1801_1900.s1878_get_biggest_three_rhombus_sums_in_a_grid // #Medium #Array #Math #Sorting #Matrix #Heap_Priority_Queue #Prefix_Sum // #2023_06_22_Time_326_ms_(100.00%)_Space_43.8_MB_(100.00%) import java.util.PriorityQueue class Solution { fun getBiggestThree(grid: Array<IntArray>): IntArray { v...
0
Kotlin
20
43
471d45c60f669ea1a2e103e6b4d8d54da55711df
2,420
LeetCode-in-Kotlin
MIT License
compose_material3/src/main/java/dev/vengateshm/compose_material3/apps/landmark_recognition/LandmarkRecognitionSample.kt
vengateshm
670,054,614
false
{"Kotlin": 1918870, "Java": 46008}
package dev.vengateshm.compose_material3.apps.landmark_recognition import androidx.camera.view.CameraController import androidx.camera.view.LifecycleCameraController import androidx.compose.foundation.background import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import andro...
0
Kotlin
0
1
50b5792dc73c2f4c7da625f6c3a0771813089c83
2,671
Android-Kotlin-Jetpack-Compose-Practice
Apache License 2.0
features/auth/src/main/java/com/shekharhandigol/auth/LoginUserUiState.kt
iamShekharGH
861,279,529
false
{"Kotlin": 188994}
package com.shekharhandigol.auth import com.shekharhandigol.models.UserInformation sealed class LoginUserUiState { data object FirstBoot : LoginUserUiState() sealed class Response : LoginUserUiState() { data class Error(val errorMessage: String) : Response() data class Success(val userInforma...
0
Kotlin
0
1
0e57f3f0ddb6b6b2f6ce78fb1be34dbce8641929
604
Employee_crm
MIT License
src/commonMain/kotlin/matt/file/numbered/common/common.kt
mgroth0
513,680,528
false
{"Kotlin": 152887}
package matt.file.numbered.common import matt.file.construct.common.mFile import matt.file.expects.file.toIoFile import matt.lang.anno.MergeWith import matt.lang.model.file.AnyFsFile import matt.lang.model.file.fName @MergeWith(id = 34206385) fun AnyFsFile.next(): AnyFsFile { var ii = 0 while (true) { ...
0
Kotlin
0
0
7af07174145d7c5cf16410f6f38ce8c6162ba6cf
1,165
file
MIT License
src/main/kotlin/org/hukehrs/appmessenger/AppMessenger.kt
HukehrsEngineering
226,487,788
false
null
package org.hukehrs.appmessenger import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.launch import kotlinx.coroutines.runBlocking import org.hukehrs.extensions.printableStacktrace import org.slf4j.LoggerFactory import java.util.concurrent.locks.ReentrantReadWriteLock import kotlin.concurrent.read import...
0
Kotlin
0
0
f711d8540985217b0c98f74ea0295a433529fe3a
3,901
AppMessenger
MIT License
buildSrc/src/main/kotlin/Dependencies.kt
faogustavo
304,986,591
false
null
object Kached { val core = ":core" object Serializer { const val gson = ":serializer:gson-serializer" } object Storage { const val simpleMemory = ":storage:simple-memory-storage" } } object Kotlin { const val version = "1.4.10" const val testJUnit = "test-junit" const...
9
Kotlin
1
5
f5124a6e295e9328669cb2d8a744321fac57b5c2
1,461
kached
Apache License 2.0
recycler/delegate/RecyclerDelegateDispatcher.kt
nikitamasloff
847,614,511
false
{"Kotlin": 34937}
import androidx.recyclerview.widget.DiffUtil interface RecyclerDelegateDispatcher { fun addDelegate(delegate: RecyclerDelegate<*, *>) fun <T : Any> getDelegateViewTypeForItem(item: T): Int? fun findDelegateByViewType(viewType: Int): RecyclerDelegate<*, *>? fun <T : Any> findDelegateForItem(item: T)...
0
Kotlin
0
0
3b4c56fda00616dee0a17cd7049eede4a93511d4
927
block-delegate-adapterr
MIT License
app/src/main/java/com/parish/register/model/FilterType.kt
valerybodak
554,869,752
false
{"Kotlin": 90023}
package com.parish.register.model enum class FilterType(val id: Int) { ALL(0), BORN(1), MARRIAGES(2), DIED(3); companion object { fun getById(id: Int?): FilterType { if (id == null) { return ALL } return values() .find { i...
0
Kotlin
0
3
e1d528dd35c3938bca44d3b2eb0f075629919f4f
357
ParishRegister
Apache License 2.0
solana-kotlin/src/commonMain/kotlin/net/avianlabs/solana/methods/sendTransaction.kt
avianlabs
653,085,616
false
{"Kotlin": 89848}
package net.avianlabs.solana.methods import io.ktor.util.* import kotlinx.serialization.json.add import kotlinx.serialization.json.buildJsonArray import kotlinx.serialization.json.buildJsonObject import kotlinx.serialization.json.put import net.avianlabs.solana.SolanaClient import net.avianlabs.solana.domain.core.Comm...
8
Kotlin
0
2
6afbe1c50dcc4fff66db557a49925f4efcd63316
1,501
solana-kotlin
MIT License
solana-kotlin/src/commonMain/kotlin/net/avianlabs/solana/methods/sendTransaction.kt
avianlabs
653,085,616
false
{"Kotlin": 89848}
package net.avianlabs.solana.methods import io.ktor.util.* import kotlinx.serialization.json.add import kotlinx.serialization.json.buildJsonArray import kotlinx.serialization.json.buildJsonObject import kotlinx.serialization.json.put import net.avianlabs.solana.SolanaClient import net.avianlabs.solana.domain.core.Comm...
8
Kotlin
0
2
6afbe1c50dcc4fff66db557a49925f4efcd63316
1,501
solana-kotlin
MIT License
rtsp/src/main/java/com/pedro/rtsp/rtp/packets/BasePacket.kt
pedroSG94
79,667,969
false
{"Kotlin": 1116814, "Java": 618860, "GLSL": 34672}
/* * Copyright (C) 2024 pedroSG94. * * 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 i...
87
Kotlin
772
2,545
eca59948009d5a7b564f9a838c149b850898d089
2,212
RootEncoder
Apache License 2.0
app/src/main/java/com/udacity/geofence/basics/model/LandmarkModel.kt
RicardoBravoA
317,751,620
false
null
package com.udacity.geofence.basics.model import com.google.android.gms.maps.model.LatLng /** * Stores latitude and longitude information along with a hint to help user find the location. */ data class LandmarkModel(val id: String, val hint: Int, val name: Int, val latLong: LatLng)
0
Kotlin
0
0
1f7aa5b5d3fd01432215e32bcd39a20571c0b96d
286
GeofenceBasics
Apache License 2.0
browser-kotlin/src/jsMain/kotlin/web/uievents/TouchList.kt
karakum-team
393,199,102
false
null
// Automatically generated - do not modify! package web.uievents import js.core.ArrayLike import js.core.JsIterable sealed external class TouchList : ArrayLike<Touch>, JsIterable<Touch> { fun item(index: Int): Touch? }
0
Kotlin
6
22
340fa5d93f874ebf14810ab797a9808af574e058
234
types-kotlin
Apache License 2.0
app/src/main/kotlin/com/josealfonsomora/jetpackgithubtrends/ui/reposlist/GithubReposListFragment.kt
josealfonsomora
294,715,074
false
null
package com.josealfonsomora.jetpackgithubtrends.ui.reposlist import android.os.Bundle import android.view.View import android.widget.Toast import androidx.appcompat.widget.Toolbar import androidx.fragment.app.Fragment import androidx.fragment.app.viewModels import androidx.navigation.fragment.findNavController import ...
0
Kotlin
0
0
f6dfb4fc9d27fa521ab94fbb13359a85dc4ce567
2,134
jetpack-github-trends
MIT License
feature/room_list/src/main/java/fr/boitakub/room_list/RoomListViewModel.kt
jforatier
388,597,382
false
null
package fr.boitakub.room_list import androidx.lifecycle.MutableLiveData import androidx.lifecycle.SavedStateHandle import androidx.lifecycle.ViewModel import dagger.hilt.android.lifecycle.HiltViewModel import fr.boitakub.common.jeedom_client.ListObjectRequest import fr.boitakub.common.jeedom_client.Object import fr.bo...
1
Kotlin
2
2
7c15e1844a53601648bd46eac282d8be1b6e25ce
1,890
Tuxedo
MIT License
src/main/kotlin/io/curity/identityserver/plugin/dynamodb/helpers/DatabaseClientAttributesHelper.kt
curityio
319,927,873
false
{"Kotlin": 385688}
/* * Copyright 2023 Curity AB * * 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...
0
Kotlin
2
0
82aae9ffb45f6e4ed9e633eab469bb3a3dae648f
6,673
dynamodb-data-access-provider
Apache License 2.0
app/src/main/java/com/example/newsapp/fragments/WebViewFragment.kt
atiQkhalid
383,113,868
false
null
package com.example.newsapp.fragments import android.graphics.Bitmap import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.webkit.WebChromeClient import android.webkit.WebView import android.webkit.WebViewClient import com.example.newsapp.R im...
0
Kotlin
0
0
3a77284efcab0bf700a833a60f1b4f02fe65ee39
1,722
newsApp
MIT License
src/test/kotlin/eu/luminis/workshops/kdd/testutil/FirstFromList.kt
nkrijnen
500,971,652
false
{"Kotlin": 69360}
package eu.luminis.workshops.kdd.testutil import org.assertj.core.api.Assertions internal inline fun <reified T> List<*>.firstAndOnlyItemAs(): T { Assertions.assertThat(this.size).isEqualTo(1) return this[0] as T }
0
Kotlin
0
7
05b896ac01651f05eacbf7880743321a97cc8d79
224
event-sourcing-in-code
MIT License