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/au/com/starships/service/RestService.kt
tuannam
405,780,564
false
null
package au.com.starships.service import au.com.starships.rest.RestResponse import au.com.starships.model.Ship import io.reactivex.Observable import retrofit2.http.GET import retrofit2.http.Path import retrofit2.http.Query interface RestApiService { @GET("api/starships") fun fetchShips(): Observable<RestRespon...
0
Kotlin
0
0
03fd41a196b7d3a9a24460fe92a3c046a668649a
435
starships
MIT License
compiler/testData/diagnostics/tests/regressions/Jet169.fir.kt
JetBrains
3,432,266
false
null
fun set(key : String, value : String) { val a : String? = "" when (a) { "" -> a.get(0) is String, is Any -> a.compareTo("") else -> a.toString() } }
181
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
166
kotlin
Apache License 2.0
uiview/src/main/java/com/angcyo/uiview/kotlin/FloatEx.kt
hewking
115,018,718
true
{"Java": 4899878, "Kotlin": 427390}
package com.angcyo.uiview.kotlin import com.angcyo.uiview.utils.RUtils /** * Copyright (C) 2016,深圳市红鸟网络科技股份有限公司 All rights reserved. * 项目名称: * 类的描述: * 创建人员:Robi * 创建时间:2017/09/12 10:04 * 修改人员:Robi * 修改时间:2017/09/12 10:04 * 修改备注: * Version: 1.0.0 */ /**保留小数点后几位*/ public fun Float.decimal(bitNum: Int = 2 /*小...
0
Java
0
0
3c200bfcd566a44e95995d1ae8d9fca33b61f813
421
RLibrary
Apache License 2.0
src/main/kotlin/Util.kt
Setadokalo
345,263,640
false
{"Gradle": 2, "Java Properties": 1, "TOML": 2, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Groovy": 1, "INI": 1, "Java": 18, "JSON": 3, "Kotlin": 11, "YAML": 2}
package me.geek.tom.serverutils import net.kyori.adventure.text.Component import net.kyori.adventure.text.event.ClickEvent import net.kyori.adventure.text.event.HoverEvent fun Component.clickToCopy(tooltip: String, toCopy: String): Component { return this.hoverEvent(HoverEvent.showText(Component.text(tooltip))) ...
1
null
1
1
677fc23e1fd0a3812f31179c856cbb6acd4eddd3
377
TomsServerUtils
MIT License
ide/src/main/java/com/pqixing/intellij/ui/AutoCompleteEditor.kt
pqixing
323,899,603
false
null
package com.pqixing.intellij.ui import com.intellij.codeInsight.AutoPopupController import com.intellij.codeInsight.completion.CompletionType import com.intellij.openapi.editor.event.DocumentEvent import com.intellij.openapi.editor.event.DocumentListener import com.intellij.openapi.project.Project import com.intellij....
1
null
1
7
d6aab2d6a125599b93629c4b128817a973b22af6
3,488
aex
Apache License 2.0
src/main/java/org/openasr/idear/nlp/NlpParserService.kt
umangsehgal
117,372,709
true
{"Java": 138167, "Kotlin": 88336, "Logos": 13802}
package org.openasr.idear.nlp import opennlp.tools.cmdline.parser.ParserTool import opennlp.tools.parser.* import org.jetbrains.annotations.TestOnly import org.openasr.idear.Idear import java.io.* class NlpParserService @TestOnly constructor(path: String?) : ParserService() { private var parser: Parser? = null ...
0
Java
0
0
e46330797e5b0672adb82b7adb67b994051852f8
1,155
idear
Apache License 2.0
base/src/main/java/org/kin/stellarfork/NoNetworkSelectedException.kt
wangpeikai
364,139,277
true
{"Kotlin": 2253108, "Java": 312868}
package org.kin.stellarfork /** * Indicates that no network was selected. */ class NoNetworkSelectedException : RuntimeException("No network selected. Use `Network.use`, `Network.usePublicNetwork` or `Network.useTestNetwork` helper methods to select network.")
0
null
0
0
7b0ccee81d00f445af7ca25252bb0bf2d7c02b40
264
kin-core
MIT License
compiler/src/main/kotlin/net/dummydigit/qbranch/compiler/symbols/Symbol.kt
fuzhouch
99,569,266
false
{"Gradle": 5, "Shell": 1, "Text": 7, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "Java": 12, "Kotlin": 103, "INI": 1, "Groovy": 2, "Java Properties": 1, "ANTLR": 1}
// Licensed under the MIT license. See LICENSE file in the project root // for full license information. package net.dummydigit.qbranch.compiler.symbols import net.dummydigit.qbranch.compiler.SourceCodeInfo import net.dummydigit.qbranch.compiler.codegen.Translator internal abstract class Symbol(val sourceCodeInfo : ...
0
Kotlin
1
2
e126f99a6c8db6c1f998d1ddb0dc6c85b2ecb896
505
qbranch
MIT License
analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localVariable.kt
JetBrains
3,432,266
false
{"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML...
// MODULE: context // FILE: context.kt fun test() { var x = "a" <caret_context>x } // MODULE: main // MODULE_KIND: CodeFragment // CONTEXT_MODULE: context // FILE: fragment.kt // CODE_FRAGMENT_KIND: BLOCK x = "O" x + "K"
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
232
kotlin
Apache License 2.0
plugins/kotlin/jvm-debugger/test/testData/evaluation/singleBreakpoint/coroutines/runToCursor/runToCursorFromSuspendToNonSuspend.kt
JetBrains
2,489,216
false
null
// ATTACH_LIBRARY: maven(org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3)-javaagent import kotlinx.coroutines.* fun main() { runBlocking { for (i in 1 .. 100) { launch(Dispatchers.Default) { aaa(i) println("after a: $i") } } } } susp...
284
null
5162
16,707
def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0
1,088
intellij-community
Apache License 2.0
app/src/main/java/cz/prague/cvut/fit/steuejan/amtelapp/view_models/activities/InputReportActivityVM.kt
hawklike
234,594,207
false
null
package cz.prague.cvut.fit.steuejan.amtelapp.view_models.activities import androidx.lifecycle.LiveData import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import cz.prague.cvut.fit.steuejan.amtelapp.business.helpers.SingleLiveEvent import cz.prague.cvut.fit.steuejan.amtelapp.data.entities.Repo...
1
null
1
1
1f88ddbcbd8e547158a4677c934b4dbf18ec82e1
1,564
Amtel-App
MIT License
plugin/src/test/kotlin/net/dzikoysk/funnyguilds/shared/TimeUtilsTest.kt
FunnyGuilds
24,366,589
false
{"Java": 1356972, "Kotlin": 25743}
package net.dzikoysk.funnyguilds.shared import net.dzikoysk.funnyguilds.FunnyGuildsSpec import org.junit.jupiter.api.Test import java.time.Duration import kotlin.test.assertEquals class TimeUtilsTest : FunnyGuildsSpec() { @Test fun `should parse time`() { val durationOne = TimeUtils.parseTime("6d15h1...
26
Java
93
184
7c21433f7b4feeafd087928423fc4875bdd7e35d
980
FunnyGuilds
Apache License 2.0
safetorunpinscreen/src/main/java/com/safetorun/pinscreen/models/Attempts.kt
Safetorun
274,838,056
false
{"Kotlin": 315254, "Shell": 228}
package com.safetorun.pinscreen.models import java.util.Date internal data class Attempts(val attempts: Int, val lastAttemptTime: Date = Date())
22
Kotlin
1
37
bc56dd28a1fecf945a54cd1e74119b696dc2ed8e
147
safe_to_run
Apache License 2.0
src/main/java/uk/ac/cam/cl/bravo/pipeline/PreprocessPipeline.kt
jjurm
166,785,284
false
null
package uk.ac.cam.cl.bravo.pipeline import uk.ac.cam.cl.bravo.dataset.Dataset import uk.ac.cam.cl.bravo.dataset.ImageSample import uk.ac.cam.cl.bravo.hash.ImageMatcherImpl import uk.ac.cam.cl.bravo.preprocessing.ImagePreprocessor import uk.ac.cam.cl.bravo.preprocessing.ImagePreprocessorI import java.io.File import jav...
0
null
2
2
f08b2a7f57062f14301ae12c9e5295ffa4016aab
3,177
bonedoctor
MIT License
src/main/java/uk/ac/cam/cl/bravo/pipeline/PreprocessPipeline.kt
jjurm
166,785,284
false
null
package uk.ac.cam.cl.bravo.pipeline import uk.ac.cam.cl.bravo.dataset.Dataset import uk.ac.cam.cl.bravo.dataset.ImageSample import uk.ac.cam.cl.bravo.hash.ImageMatcherImpl import uk.ac.cam.cl.bravo.preprocessing.ImagePreprocessor import uk.ac.cam.cl.bravo.preprocessing.ImagePreprocessorI import java.io.File import jav...
0
null
2
2
f08b2a7f57062f14301ae12c9e5295ffa4016aab
3,177
bonedoctor
MIT License
gto-support-androidx-lifecycle/src/test/kotlin/org/ccci/gto/android/common/androidx/lifecycle/TransformationsBooleanOperatorsTest.kt
CruGlobal
30,609,844
false
null
package org.ccci.gto.android.common.androidx.lifecycle import androidx.lifecycle.MutableLiveData import org.hamcrest.MatcherAssert.assertThat import org.hamcrest.Matchers.contains import org.junit.Assert.assertFalse import org.junit.Assert.assertTrue import org.junit.Test import org.mockito.kotlin.argumentCaptor impor...
13
Kotlin
2
9
e29637677cfa12aa1996c73e87431a2f7d84a026
1,683
android-gto-support
MIT License
platform/lang-impl/src/com/intellij/ide/scratch/workspace/ScratchRootsEntity.kt
JetBrains
2,489,216
false
null
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package com.intellij.ide.scratch.workspace import com.intellij.platform.workspace.storage.EntitySource import com.intellij.platform.workspace.storage.EntityType import com.intellij.platform.workspac...
284
null
5162
16,707
def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0
1,739
intellij-community
Apache License 2.0
exercises/practice/run-length-encoding/.meta/src/reference/kotlin/RunLengthEncoding.kt
exercism
47,675,865
false
null
import java.util.regex.Pattern object RunLengthEncoding { private val encodePattern = Pattern.compile("""([ a-zA-Z])\1*""") private val decodePattern = Pattern.compile("""(|\d+)([ a-zA-Z])""") fun encode(input: String): String { val matcher = encodePattern.matcher(input) val matcherSeq = ...
40
null
194
224
ff80badd116c6ce558335ae1547cd23c8940e05a
998
kotlin
MIT License
api-tester/src/main/java/com/revenuecat/apitester/kotlin/BillingFeatureAPI.kt
RevenueCat
127,346,826
false
{"Kotlin": 3187935, "Java": 82657, "Ruby": 28079, "Shell": 443}
package com.revenuecat.apitester.kotlin import com.revenuecat.purchases.models.BillingFeature @Suppress("unused", "UNUSED_VARIABLE") private class BillingFeatureAPI { fun check(billingFeature: BillingFeature) { when (billingFeature) { BillingFeature.PRICE_CHANGE_CONFIRMATION, Billi...
30
Kotlin
52
253
dad31133777389a224e9a570daec17f5c4c795ca
454
purchases-android
MIT License
plugins/toolkit/jetbrains-core/src/software/aws/toolkits/jetbrains/core/startup/PluginInstallUtil.kt
aws
91,485,909
false
{"Kotlin": 7507266, "TypeScript": 132101, "C#": 97693, "Vue": 47529, "Java": 19596, "JavaScript": 12450, "HTML": 5878, "Python": 2939, "Shell": 2920, "Dockerfile": 2209, "SCSS": 2045, "CSS": 1827, "PowerShell": 386, "Batchfile": 77}
// Copyright 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.aws.toolkits.jetbrains.core.startup import com.intellij.ide.plugins.marketplace.MarketplaceRequests import com.intellij.openapi.extensions.PluginId import com.intellij.openapi.progress.Pr...
519
Kotlin
220
757
a81caf64a293b59056cef3f8a6f1c977be46937e
1,262
aws-toolkit-jetbrains
Apache License 2.0
package-identifier-plugin/src/main/java/com/trello/identifier/plugin/PackageIdentifierGenerator.kt
trello
168,758,500
false
{"Gradle": 6, "Markdown": 5, "INI": 4, "YAML": 2, "Shell": 2, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Proguard": 1, "Java": 2, "XML": 8, "Java Properties": 1, "Kotlin": 4}
package com.trello.identifier.plugin import org.gradle.api.DefaultTask import org.gradle.api.tasks.Input import org.gradle.api.tasks.OutputDirectory import org.gradle.api.tasks.TaskAction import java.io.File open class PackageIdentifierGenerator : DefaultTask() { @get:OutputDirectory var outputDir: File? = null ...
0
Kotlin
2
0
53d745708255363a29d7b075920878e4fd55e17e
873
package-identifier
Apache License 2.0
app/src/main/java/pers/sweven/arcdemo/Test.kt
sweven-tears
289,234,362
false
{"Java": 27394, "Kotlin": 2454}
package pers.sweven.arcdemo import java.io.File import java.io.FileInputStream import java.io.FileOutputStream import kotlin.jvm.Throws /** * Created by Sweven on 2020/8/21--17:04. */ object Test { @Throws(Exception::class) @JvmStatic fun main(args: Array<String>) { //先模拟一个图形byte[] val b...
1
null
1
1
8bc99db32f98977e533227f4031745f97cee2d1f
971
ArcDemo
Apache License 2.0
app/src/p_app/main/java/com/llj/architecturedemo/ui/presenter/RequestPresenter.kt
liulinjie1990823
133,350,610
false
{"Gradle": 94, "Python": 7, "JSON": 2, "Java Properties": 40, "Shell": 54, "Text": 149, "JavaScript": 32, "Ignore List": 72, "Markdown": 59, "Java": 651, "INI": 17, "Proguard": 56, "XML": 352, "Groovy": 16, "CMake": 13, "C++": 49, "C": 704, "Kotlin": 304, "Roff Manpage": 30, "YAML": 11, "CSS": 6, "JAR Manifest": 1, "HT...
package com.llj.architecturedemo.ui.presenter import androidx.lifecycle.LifecycleOwner import androidx.lifecycle.Observer import com.llj.architecturedemo.repository.MobileRepository import com.llj.architecturedemo.ui.view.IRequestView import com.llj.component.service.permission.PermissionManager import com.llj.lib.bas...
1
null
1
1
7c5d7fe1e5e594baba19778e0ed857325ce58095
1,335
ArchitectureDemo
Apache License 2.0
rxLife1/src/main/java/com/dhh/rxlife1/LifecycleOwnerScope.kt
dhhAndroid
158,918,677
false
null
package com.dhh.rxlife1 import android.arch.lifecycle.Lifecycle import android.arch.lifecycle.LifecycleOwner import android.view.View import rx.Completable import rx.Observable import rx.Single import rx.Subscription /** * Created by dhh on 2019/12/16. * * @author dhh */ interface LifecycleOwnerScope { fun g...
1
Kotlin
13
95
41ed5094158b16a16f66218e49d760572b43911a
2,222
RxLife
Apache License 2.0
compiler/fir/tree/src/org/jetbrains/kotlin/fir/BaseTransformedType.kt
haerulmuttaqin
156,727,010
false
null
/* * Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license * that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.fir annotation class BaseTransformedType
0
null
1
2
8f2117685f9f1b76b7f61ef67c0f58431bbf2f0e
234
kotlin
Apache License 2.0
app/src/main/java/com/bitwindow/aacpaginginfinitescrollingwithnetworksample/domain/Logger.kt
asheshb
150,709,173
false
null
package com.bitwindow.aacpaginginfinitescrollingwithnetworksample.domain //interface to remove domain layer dependency on Timber library interface Logger { fun d(msg: String, vararg values: Any?) }
1
null
17
76
e60bf8c84f5296bdfa93cf54d56324855d9b09a5
202
AACPagingInfiniteScrollingWithNetworkSample
Apache License 2.0
plugins/kotlin/j2k/k1.new.post-processing/src/org/jetbrains/kotlin/idea/j2k/post/processing/processings/ShortenReferenceProcessing.kt
JetBrains
2,489,216
false
null
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package org.jetbrains.kotlin.idea.j2k.post.processing.processings import com.intellij.openapi.application.runReadAction import com.intellij.openapi.editor.RangeMarker import com.intellij.psi.PsiEle...
284
null
5162
16,707
def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0
2,126
intellij-community
Apache License 2.0
src/test/kotlin/com/github/oowekyala/rxstring/ReplaceHandlerTest.kt
oowekyala
166,382,719
false
null
package com.github.oowekyala.rxstring import io.kotlintest.matchers.beOfType import io.kotlintest.matchers.haveSize import io.kotlintest.should import io.kotlintest.shouldBe import io.kotlintest.specs.FunSpec import javafx.collections.FXCollections import org.reactfx.value.Var import java.util.logging.Logger /** * @...
1
null
1
1
5716d3de58be7dffdf0c02c719e758b2702d8633
20,458
fx-live-templates
MIT License
app/src/test-common/java/com/alexvanyo/sportsfeed/util/TestUtil.kt
alexvanyo
183,487,984
false
null
import com.alexvanyo.sportsfeed.api.* import com.alexvanyo.sportsfeed.api.BaseballCompetition import com.alexvanyo.sportsfeed.api.BaseballEvent import com.alexvanyo.sportsfeed.api.SoccerCompetition import com.alexvanyo.sportsfeed.api.SoccerEvent import java.util.* fun createDefaultScoreboardData( events: List<Defa...
0
Kotlin
0
2
d3639e7143f2f1155dc70931d352566f0618a1b7
3,268
SportsFeed
Apache License 2.0
app/src/main/java/io/github/droidkaigi/confsched2018/util/ColorCalculator.kt
tomoya0x00
362,496,116
true
{"Kotlin": 170802, "Ruby": 608}
package io.github.droidkaigi.confsched2018.util import androidx.annotation.ColorInt import androidx.core.graphics.ColorUtils object ColorCalculator { @JvmStatic fun calculateColor(fraction: Float, @ColorInt color: Int): Int { return ColorUtils.setAlphaComponent(color, (255 * fraction).toInt()) }...
1
Kotlin
0
0
0d4798cef7d97323ce5b431dae9a7e581d64ac6a
323
conference-app-2018
Apache License 2.0
src/jvmMain/kotlin/data/TextSample.kt
abhinav12k
601,933,618
false
{"Kotlin": 50078}
/** * @author abhinav12k */ package data const val text = "The arrival of the traveler and his typewriter brought about a new wave of excitement in the small village nestled in the mountains. The villagers, who had never seen such a device before, were both curious and apprehensive at the same time. The travele...
1
Kotlin
1
17
6514009967981b22ae3e5a5d2bca59b029af5fab
2,927
Typster
FSF All Permissive License
src/main/kotlin/placeholder/rest/PlaceHolderRest.kt
joseluisgs
449,762,074
false
{"Kotlin": 19946}
package placeholder.rest import placeholder.model.User import retrofit2.Response import retrofit2.http.* /** * Voy a usar funciones suspendidas, para poder usar código asíncrono. Si no quitar el suspend y cambiar Response<T> * por Call<T> * Aqí van todas las llamadas a la API REST que quiera hacer */ interface Pl...
0
Kotlin
3
6
e554b985900e3fd67399be1af4ba41750867d7a4
901
Kotlin-REST-Retrofit
MIT License
app/src/main/java/br/com/afischer/fisl/extensions/DateExtensions.kt
andfisbr
140,753,331
false
{"Kotlin": 136107, "Java": 1083}
package br.com.afischer.fisl.extensions import br.com.afischer.fisl.util.Consts import java.text.SimpleDateFormat import java.util.* /** * Date extensions */ internal val calendar: Calendar by lazy { Calendar.getInstance() } fun Date.asString(format: String = Consts.DATE_FORMAT): String = SimpleDateForma...
0
Kotlin
0
0
b21b3b3b41c2fa1d485f9d56d179ffb76cc31acd
1,167
FISL
MIT License
app/src/main/java/com/sadjadmallahzadeh/app/foodDelivery/model/MyDataBase.kt
androiddeveloper2023
557,353,248
false
{"Kotlin": 21796}
package com.sadjadmallahzadeh.app.foodDelivery.model import android.content.Context import androidx.room.Database import androidx.room.Room import androidx.room.RoomDatabase @Database(entities = [FoodItem::class], version = 1, exportSchema = false) abstract class MyDataBase : RoomDatabase() { abstract val foodDa...
2
Kotlin
0
0
d4f4a5f13c82ccc36083df0303a9a742f2639f84
883
sprin_live_G
MIT License
app/src/main/java/com/example/kotlinmvpespresso/ui/home/HomeActivity.kt
sallySalem
96,570,597
false
null
package com.example.kotlinmvpespresso.ui.home import android.app.Activity import android.content.Intent import android.graphics.Color import android.os.Bundle import android.support.design.widget.Snackbar import android.support.v7.app.AppCompatActivity import android.view.View import com.example.kotlinmvpespresso.R im...
0
Kotlin
3
7
3944b087e56263ed8d3119b7f6dfa111febe7796
1,903
KotlinMvpEspresso
MIT License
app/src/main/java/com/neeplayer/glide/AlbumThumbnailModelLoader.kt
daugeldauge
35,284,835
false
{"Kotlin": 107855, "HTML": 2854}
package com.neeplayer.glide import android.content.ContentUris import android.content.Context import android.graphics.Bitmap import android.net.Uri import android.os.CancellationSignal import android.provider.MediaStore import android.util.Size import com.bumptech.glide.Priority import com.bumptech.glide.load.DataSour...
0
Kotlin
0
4
48d461a2edcdfa81b80697a796109d6402541a5b
1,962
NeePlayer
MIT License
reactive-logger/src/test/kotlin/io/github/numichi/reactive/logger/core/CoreTest.kt
Numichi
448,675,398
true
{"Kotlin": 386596, "Java": 18115}
package io.github.numichi.reactive.logger.core import io.github.numichi.reactive.logger.Configuration import io.github.numichi.reactive.logger.LoggerFactory import io.github.numichi.reactive.logger.coroutine.CoroutineKLogger import io.github.numichi.reactive.logger.coroutine.CoroutineLogger import io.github.numichi.re...
0
Kotlin
4
16
0b2eb0cac1b82c1e5a2771ca7b3166ddc56e3b6e
3,176
reactive-logger
Apache License 2.0
src/main/kotlin/ru/biluta/memes/service/persistence/model/MemesApp.kt
antonbiluta
755,326,602
false
{"Kotlin": 38361, "Dockerfile": 1079}
package ru.biluta.memes.service.persistence.model import jakarta.persistence.Entity import jakarta.persistence.GeneratedValue import jakarta.persistence.GenerationType import jakarta.persistence.Id import jakarta.persistence.Table import java.time.LocalDateTime @Entity @Table(name="memes_app") class MemesApp ( ...
0
Kotlin
0
0
e42745bb5a7e666acb6f6a7268735a34a3dd2f2e
613
memes-backend
MIT License
UCAdemic/app/src/main/java/com/altf4/ucademic/screens/auth/signUp/semester/SemesterScreen.kt
Alt-F4-UCA
633,915,500
false
null
package com.altf4.ucademic.screens.auth.signUp.semester import android.annotation.SuppressLint import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androidx.compose.runtime.Composable import androidx.compose.ui.tooling.preview.Preview import androidx.compose.founda...
4
Kotlin
0
0
c01d4b2fbd633c506d3c5acf041fd88da8088ccd
6,613
ucademic-app
MIT License
src/main/kotlin/de/westermann/kobserve/property/ConstProperty.kt
Eden-06
138,000,306
false
{"Kotlin": 675525, "SCSS": 21894, "HTML": 768}
package de.westermann.kobserve.property import de.westermann.kobserve.event.EventHandler import de.westermann.kobserve.ReadOnlyProperty class ConstProperty<T>(private val internal: T) : ReadOnlyProperty<T> { override fun get(): T = internal override val onChange = EventHandler<Unit>() } /** * Create an co...
5
Kotlin
1
2
27f4a4c44d90f20f748ab779c3c184cb012a59fe
475
FRaMED-io
MIT License
library/src/main/java/com/fcannizzaro/ksoup/delegates/bindClass.kt
fcannizzaro
101,414,786
false
null
@file:Suppress("UNCHECKED_CAST") package com.fcannizzaro.ksoup.delegates import com.fcannizzaro.ksoup.IKsoup import kotlin.reflect.KProperty /** * Created by <NAME> (fcannizzaro). */ class bindClass(private val instance: IKsoup, private val parent: IKsoup) { private var value: Any? = null private var ass...
1
Kotlin
6
60
89e34f2173758626660d7c7b1bad44d43d89d765
911
ksoup
Apache License 2.0
kotlin/src/nativeMain/kotlin/io/github/cuixiang0130/minecraft/leveldb/WriteBatch.native.kt
cuixiang0130
701,134,871
false
{"Kotlin": 30012, "C": 12956, "C++": 12577, "CMake": 1846}
package io.github.cuixiang0130.minecraft.leveldb import kotlinx.cinterop.* import platform.posix.size_t @OptIn(ExperimentalStdlibApi::class, ExperimentalForeignApi::class) public actual class WriteBatch public actual constructor() : AutoCloseable { private val writeBatch = leveldb_writebatch_create()!! priv...
0
Kotlin
0
0
bdb432e96c0c26549c99156c44be362a46e9959b
1,675
kotlin-leveldb-minecraft
MIT License
insetter/src/main/java/com/lws/insetter/Interceptor.kt
liu-wanshun
604,958,131
false
{"Kotlin": 20515}
package com.lws.insetter import android.content.Context import android.util.AttributeSet import android.view.View fun interface Interceptor { fun intercept(chain: Chain): View? interface Chain { fun request(): Request fun proceed(request: Request): View? } data class Request( ...
0
Kotlin
0
2
93dfa36b2eb7ee18a0ac619647c6798f91d9e0f5
439
Insetter
Apache License 2.0
src/test/kotlin/ch10/ApplicativesTest.kt
jatzuk
193,890,732
false
null
package ch10 import org.junit.Test /* * Created with passion and love * for project FunctionalKotlin * by Jatzuk on 08.07.2019 * *_____* * *_*****_* * *_(O)_(O)_* * ...
0
Kotlin
0
0
76a1db7ba339c5eb8956bcb81e4d6b9b8c970a43
2,008
FunctionalKotlin
MIT License
app/src/main/java/com/hermanowicz/pantry/navigation/features/editProduct/ui/EditProductViewModel.kt
sirconceptz
615,655,539
false
null
package com.hermanowicz.pantry.navigation.features.editProduct.ui import androidx.lifecycle.SavedStateHandle import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.hermanowicz.pantry.data.model.Product import com.hermanowicz.pantry.domain.FetchDatabaseModeUseCase import com.hermanowicz...
0
Kotlin
0
1
60dc91a7ff016bf636c07eb10f4606fea8998c08
10,193
MyPantry
Apache License 2.0
app/src/main/java/com/example/expensetracker/MainActivity.kt
seyone22
719,374,552
false
{"Kotlin": 288946}
package com.example.expensetracker import android.app.Activity import android.os.Bundle import android.util.Log import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.activity.enableEdgeToEdge import androidx.compose.foundation.layout.fillMaxSize import androidx.compose....
17
Kotlin
0
0
a5969f7a30d0384125ec3fdce71eb6890b327d19
2,387
Expense_Tracker
MIT License
app/src/main/java/com/ahmad/aghazadeh/noteita/MainActivity.kt
ahmadaghazadeh
673,721,504
false
null
package com.ahmad.aghazadeh.noteita import android.os.Bundle import android.widget.Toast import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.activity.viewModels import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.material3.MaterialTheme impor...
0
Kotlin
1
0
c8349b27484b2f9b4ff1d59200729f6188ba67bf
2,008
Noteita
Apache License 2.0
kt/godot-library/src/main/kotlin/godot/gen/godot/JavaClassWrapper.kt
utopia-rise
289,462,532
false
null
// THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY! @file:Suppress("PackageDirectoryMismatch", "unused", "FunctionName", "RedundantModalityModifier", "UNCHECKED_CAST", "JoinDeclarationAndAssignment", "USELESS_CAST", "RemoveRedundantQualifierName", "NOTHING_TO_INLINE", "NON_FINAL_MEMBER_IN_OBJECT", "Redundan...
64
null
39
572
d9b7cb3ca57753de95ed5925699779249962b925
1,274
godot-kotlin-jvm
MIT License
extensions-compose-jetpack/src/androidTest/java/com/arkivanov/decompose/extensions/compose/jetpack/pages/PagesTest.kt
arkivanov
437,015,897
false
{"Kotlin": 468992}
package com.arkivanov.decompose.extensions.compose.jetpack.pages import androidx.compose.foundation.ExperimentalFoundationApi import androidx.compose.foundation.text.BasicText import androidx.compose.runtime.Composable import androidx.compose.runtime.MutableState import androidx.compose.runtime.State import androidx.c...
8
Kotlin
55
1,465
a6cdbdf30363c4902c977e04f5eeec662124ad50
3,321
Decompose
Apache License 2.0
app/src/main/java/com/quizapp/data/datasource/remote/quiz/entity/OptionsDto.kt
AhmetOcak
591,704,302
false
null
package com.quizapp.data.datasource.remote.quiz.entity import com.google.gson.annotations.SerializedName data class OptionsDto( @SerializedName("questionId") val questionId: String, @SerializedName("description") val description: String, @SerializedName("isAnswer") val isAnswer: Boolean, @SerializedNa...
0
Kotlin
0
5
cc9d467fcd37cc88c9bbac315bd9aae920722bac
406
QuizApp
MIT License
app/src/main/java/com/rohitjakhar/hashpass/presention/add_password/AddPasswordVM.kt
rohitjakhar
469,813,668
false
{"Kotlin": 112878}
package com.rohitjakhar.hashpass.presention.add_password import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.rohitjakhar.hashpass.data.model.PasswordModel import com.rohitjakhar.hashpass.data.remote.RemoteRepo import com.rohitjakhar.hashpass.utils.Resource import dagger.hilt.android...
3
Kotlin
3
24
e7fe17c725546ed256694681ae262ebf928040b9
2,101
hashpass
MIT License
RightClickRowSelectionAndPopupMenu/src/main/kotlin/example/App.kt
aterai
158,348,575
false
null
package example import java.awt.* import java.awt.event.MouseAdapter import java.awt.event.MouseEvent import javax.swing.* import javax.swing.event.PopupMenuEvent import javax.swing.event.PopupMenuListener import javax.swing.plaf.LayerUI fun makeUI(): Component { val table = JTable(10, 5) table.setFillsViewportHe...
0
null
6
28
6cb78e4f3d01817ea98fb8a01f12efc6cfc2ab5e
4,876
kotlin-swing-tips
MIT License
src/jvmMain/kotlin/tools/empathy/libro/server/sessions/RedisSessionStorage.kt
ontola
624,799,212
false
null
package tools.empathy.libro.server.sessions import io.lettuce.core.ExperimentalLettuceCoroutinesApi import tools.empathy.libro.server.configuration.RedisConfig import tools.empathy.libro.server.plugins.StorageAdapter import tools.empathy.libro.server.util.KeyManager private const val sessionPrefix = "session" class ...
0
Kotlin
0
0
2e9fa6622e00ebf5ffd1cf6156e8abd774430f7e
1,106
libro-cache
MIT License
src/main/kotlin/com/coreduo/obbah/packet/inventory/achievements/AchievementListPacket.kt
Cor3Duo
821,185,975
false
{"Kotlin": 62619}
package com.coreduo.obbah.packet.inventory.achievements import com.coreduo.obbah.data.inventory.achievements.AchievementData import com.coreduo.obbah.packet.HabboPacket import com.coreduo.obbah.packet.PacketHeader @PacketHeader(305) class AchievementListPacket : HabboPacket() { var achievements: MutableList<Achie...
0
Kotlin
0
1
525e84e5a989218789a55c04fe4d16c056b191c2
982
Obbah
MIT License
neko-engine/src/main/kotlin/de/twometer/neko/render/ShaderProperty.kt
Twometer
305,384,431
false
null
package de.twometer.neko.render import org.lwjgl.opengl.GL11.* enum class ShaderProperty(val apply: (String) -> Unit) { DepthTest({ OpenGL.setBoolean(GL_DEPTH_TEST, it == on) }), DepthMask({ OpenGL.depthMask(it == on) }), DepthFunc({ OpenGL.depthFunc(openGlMapping[it]!!)...
1
Kotlin
0
8
2b30ccc316a592e667a4bb269617ed663b627e51
968
neko-engine
Apache License 2.0
androidApp/src/main/java/com/mrebollob/loteria/android/di/AppModule.kt
mrebollob
46,619,950
false
{"Kotlin": 142333, "Swift": 29488, "Ruby": 1908}
package com.mrebollob.loteria.android.di import com.google.firebase.analytics.FirebaseAnalytics import com.mrebollob.loteria.android.analytics.AnalyticsManager import com.mrebollob.loteria.android.presentation.create.CreateViewModel import com.mrebollob.loteria.android.presentation.home.HomeViewModel import com.mrebol...
0
Kotlin
0
0
2fe351ceaa6a3fc40faf2d57e32325bff6d5235b
880
LoteriadeNavidad
Apache License 2.0
app/src/main/java/com/istu/schedule/data/service/projfair/FiltersDataService.kt
imysko
498,018,609
false
{"Kotlin": 702754}
package com.istu.schedule.data.service.projfair import com.istu.schedule.data.model.response.FiltersDataResponse import retrofit2.Response import retrofit2.http.GET import retrofit2.http.Header interface FiltersDataService { @GET("api/skills") suspend fun getSkills( @Header("Cookie") token: String = "...
1
Kotlin
0
2
0d7542e7d2864c8fe2edb4b266f48b89fcf01335
362
Schedule-ISTU
MIT License
feature-list-streams/src/main/java/com/codandotv/streamplayerapp/feature_list_streams/search/data/api/MostPopularMoviesService.kt
CodandoTV
622,602,133
false
{"Kotlin": 217374, "Ruby": 542}
package com.codandotv.streamplayerapp.feature_list_streams.search.data.api import com.codandotv.streamplayerapp.core_networking.handleError.NetworkResponse import com.codandotv.streamplayerapp.feature_list_streams.search.data.model.ListSearchStreamResponse import retrofit2.http.GET interface MostPopularMoviesService ...
7
Kotlin
16
52
21f0982eb0009675bdf3f9879944da86370e10d0
422
StreamPlayerApp
Apache License 2.0
app/src/main/java/com/rerere/iwara4a/ui/screen/dev/DevScreen.kt
re-ovo
349,642,808
false
null
package com.rerere.iwara4a.ui.screen.dev import androidx.compose.foundation.background import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.height import androidx.compose.foun...
6
null
16
354
571cd02d5455bb636e3544abb8ac4498902ed8eb
2,747
iwara4a
Apache License 2.0
app/src/main/kotlin/me/mataha/misaki/solutions/adventofcode/aoc2015/d02/Box.kt
mataha
302,513,601
false
null
package me.mataha.misaki.solutions.adventofcode.aoc2015.d02 import me.mataha.misaki.util.math.max data class Box(val length: Int, val width: Int, val height: Int) { init { require(length > 0 && width > 0 && height > 0) { "Dimensions must be positive numbers (are: [$length, $width, $height])" ...
0
Kotlin
0
0
82fac9dae62136da8217e21ef5a0d6984d6310e0
1,185
misaki
MIT License
Kotlin/deserializer/channel/ActorChannel.kt
DMY2003
123,704,487
false
null
package pubg.radar.deserializer.channel import com.badlogic.gdx.graphics.Color import com.badlogic.gdx.math.Vector3 import pubg.radar.* import pubg.radar.deserializer.CHTYPE_ACTOR import pubg.radar.deserializer.actor.repl_layout_bunch import pubg.radar.struct.* import pubg.radar.struct.Archetype.* import pubg.radar.st...
0
null
5
9
fa24b6943d7e08d947f72617fb496744bc9f1d5b
7,324
PUBG-Radar
MIT License
defitrack-protocols/quickswap/src/main/java/io/defitrack/protocol/quickswap/contract/QuickswapDualRewardPoolContract.kt
decentri-fi
426,174,152
false
null
package io.defitrack.protocol.quickswap.contract import io.defitrack.abi.TypeUtils.Companion.toAddress import io.defitrack.abi.TypeUtils.Companion.uint256 import io.defitrack.evm.contract.BlockchainGateway import io.defitrack.evm.contract.ERC20Contract import java.math.BigInteger class QuickswapDualRewardPoolContract...
17
Kotlin
6
9
cba6769eaa7a2700ccf5658c3ea9e3db7bdfca36
1,708
defi-hub
MIT License
mvikotlin-logging/src/commonMain/kotlin/com/arkivanov/mvikotlin/logging/logger/Logger.kt
badoo
135,858,329
false
null
package com.arkivanov.mvikotlin.logging.logger /** * Represents MVIKotlin logger */ interface Logger { /** * Logs the provided string * * @param text a string to log */ fun log(text: String) }
10
null
70
825
39de85b944a52cd1878478e2c5c4921f8896920d
225
MVIKotlin
Apache License 2.0
ui/runtime/sources/com/meowbase/ui/core/graphics/ScaleType.kt
siylt007
336,180,880
true
{"Kotlin": 1405824, "Java": 474434, "Dart": 14190, "HTML": 70}
package com.meowbase.ui.core.graphics import android.graphics.Matrix as AndroidMatrix import android.widget.ImageView.ScaleType as AndroidScaleType /* * author: 凛 * date: 2020/8/11 11:59 AM * github: https://github.com/RinOrz * description: 图片缩放类型,用于适应图片控件 */ enum class ScaleType(val real: AndroidScaleType) { ...
0
null
0
0
df82f0588beb13fbd22308b3d015852c25781612
1,360
toolkit
Apache License 2.0
src/main/kotlin/eu/malek/tokotlin/ToKotlin.kt
OndrejMalek
276,177,721
false
null
package eu.malek.tokotlin // Author <NAME> - <EMAIL> import java.lang.RuntimeException import java.lang.StringBuilder import java.util.* import kotlin.collections.ArrayList import kotlin.collections.HashMap import kotlin.collections.HashSet import kotlin.collections.LinkedHashMap import kotlin.collections.LinkedHashS...
0
Kotlin
0
0
306aed6d81dcc6aab444c967facf29b75a9df351
3,379
toKotlin
Apache License 2.0
app/src/main/java/com/orange/ouds/app/ui/guidelines/GuidelinesScreen.kt
Orange-OpenSource
817,725,638
false
{"Kotlin": 220017, "HTML": 14555, "CSS": 1404, "JavaScript": 197}
/* * Software Name: OUDS Android * SPDX-FileCopyrightText: Copyright (c) Orange SA * SPDX-License-Identifier: MIT * * This software is distributed under the MIT license, * the text of which is available at https://opensource.org/license/MIT/ * or see the "LICENSE" file for more details. * * Software descriptio...
22
Kotlin
1
6
ea5f16ebc697382bbc54891b196a71e9b7aafe4c
1,201
ouds-android
MIT License
app/src/main/java/io/github/gusriil/moviemagnet/repository/TVShowFeedRepository.kt
superosystem
479,150,681
false
{"Kotlin": 225959, "Java": 7644}
package io.github.gusriil.moviemagnet.repository import android.content.Context import io.github.gusriil.moviemagnet.R import io.github.gusriil.moviemagnet.data.response.asTVShowDomainModel import io.github.gusriil.moviemagnet.di.IoDispatcher import io.github.gusriil.moviemagnet.domain.repository.BaseFeedRepository im...
0
Kotlin
0
3
91a2d005aab478bb5c864210fe0cbd2286daf2ad
1,484
MovieMagnet
MIT License
src/me/anno/Build.kt
AntonioNoack
266,471,164
false
null
package me.anno object Build { val isDebug = true val isShipped = false }
0
Kotlin
1
8
e5f0bb17202552fa26c87c230e31fa44cd3dd5c6
82
RemsStudio
Apache License 2.0
android/quest/src/test/java/org/smartregister/fhircore/quest/ui/patient/details/QuestPatientTestResultScreenTest.kt
opensrp
339,242,809
false
null
/* * Copyright 2021 Ona Systems, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
134
Kotlin
6
14
36aec71186c6264fce425e8ad9cf0581c2ce0600
3,274
fhircore
Apache License 2.0
shared/src/commonMain/kotlin/uk/co/sentinelweb/cuer/app/service/serviceExt.kt
sentinelweb
220,796,368
false
{"Kotlin": 2627509, "CSS": 205156, "Java": 98919, "Swift": 85812, "HTML": 19322, "JavaScript": 12105, "Ruby": 2170}
package uk.co.sentinelweb.cuer.app.service const val EXTRA_ITEM_ID: String = "cuer.itemId"
95
Kotlin
0
2
1e3522bffa43f75f0e030f7ead3ce1b6873f5bd6
92
cuer
Apache License 2.0
cryptic-sequences-core/commonMain/src/net/plcarmel/crypticsequences/core/concurrency/Future.kt
plcarmel
344,168,944
false
null
package net.plcarmel.crypticsequences.core.concurrency interface Future<T> { val result: T }
0
Kotlin
0
0
2792e9632fef0cb22c4bacc49f209d3463ec5b19
98
cryptic-sequences
MIT License
src/main/kotlin/com/kotlindiscord/api/client/models/InfractionModel.kt
Kotlin-Discord
272,949,806
false
null
@file:UseSerializers(LocalDateTimeSerialiser::class, InfractionTypeSerialiser::class) package com.kotlindiscord.api.client.models import com.kotlindiscord.api.client.enums.InfractionType import com.kotlindiscord.api.client.serialisers.InfractionTypeSerialiser import com.kotlindiscord.api.client.serialisers.LocalDateT...
0
Kotlin
0
0
a107d2a8e68230d4ddcd9d05bb9fb0af7fb5b2a5
722
api
MIT License
src/com/aleexf/game/drawer/TextureManager.kt
aleexf
118,165,541
false
null
package com.aleexf.game.drawer import java.awt.Image import java.io.File import javax.imageio.ImageIO import java.lang.System.exit import com.aleexf.logging.Logger object TextureManager { val iBlock: Image val iBox: Image val iFloor: Image val iBomb: Image val iToxicBomb: Image val iHeavyBox:...
0
Kotlin
0
2
ba4ba1cc6f8a0715c5997f059a25b03db299cb94
1,978
bomberman
MIT License
plugins/kotlin/base/code-insight/src/org/jetbrains/kotlin/idea/core/CollectingNameValidator.kt
ingokegel
72,937,917
true
null
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package org.jetbrains.kotlin.idea.core import java.util.* class CollectingNameValidator @JvmOverloads constructor( existingNames: Collection<String> = Collections.emptySet(), private val filter...
1
null
1
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
707
intellij-community
Apache License 2.0
app/src/main/kotlin/com/xurxodev/movieskotlinkata/data/FakeMovieRepository.kt
Kisty
94,874,816
true
{"Kotlin": 12051}
package com.xurxodev.movieskotlinkata.data import android.app.Application import android.content.Context import com.xurxodev.movieskotlinkata.model.MovieNotFoundException import com.xurxodev.movieskotlinkata.model.Movie class FakeMovieRepository (context: Application){ fun getAll (): List<Movie>{ val BA...
0
Kotlin
0
0
32d111a5d2998c6273168f7f3aaacd44a92e1af8
2,789
Movies-Kotlin-Kata
Apache License 2.0
idea/testData/navigation/gotoSymbol/builtInArrayOfNulls.kt
fysoft2006
48,032,421
true
null
// RUNTIME_WITH_SOURCES // CHECK_BOX // SEARCH_TEXT: arrayOfNulls // ALLOW_MORE_RESULTS // REF: (kotlin).arrayOfNulls(kotlin.Int)
0
Java
0
0
b9ae7ed97df5b0cd160bf4ad1a1a01385e630b2e
129
kotlin
Apache License 2.0
fuzzer/fuzzing_output/crashing_tests/verified/kt10259_2.kt-1684901741.kt
ItsLastDay
102,885,402
false
null
fun box(): String { var encl1 = "fail" test({encl1 = "OK"}) return encl1 } inline fun test(s: (() -> Unit)): Unit { {{(s)!!()}()}() }
1
null
1
6
bb80db8b1383a6c7f186bea95c53faff4c0e0281
133
KotlinFuzzer
MIT License
samples/app/src/main/java/zlc/season/butterflydemo/FragmentDemoActivity.kt
ssseasonnn
452,103,571
false
{"Kotlin": 137671}
package zlc.season.butterflydemo import android.annotation.SuppressLint import android.os.Bundle import zlc.season.base.BaseActivity import zlc.season.base.Destinations import zlc.season.bracer.params import zlc.season.butterfly.Butterfly import zlc.season.butterfly.annotation.Destination import zlc.season.butterflyde...
5
Kotlin
16
215
29857872ee8b933527752d62c09de8452d2c2be9
2,063
Butterfly
Apache License 2.0
src/main/kotlin/uk/gov/justice/digital/hmpps/prisonertonomisupdate/incentives/IncentivesMappingService.kt
ministryofjustice
445,140,246
false
{"Kotlin": 901961, "Mustache": 1803, "Dockerfile": 1118}
package uk.gov.justice.digital.hmpps.prisonertonomisupdate.incentives import org.springframework.beans.factory.annotation.Qualifier import org.springframework.stereotype.Service import org.springframework.web.reactive.function.client.WebClient import uk.gov.justice.digital.hmpps.prisonertonomisupdate.helpers.awaitBodi...
1
Kotlin
0
2
f94e20d31a6ff3cad80f341e99a08e62f15e4a62
1,229
hmpps-prisoner-to-nomis-update
MIT License
app/src/main/java/com/baymax104/bookmanager20/repository/local/BookDao.kt
Baymax104
616,083,064
false
null
package com.baymax104.bookmanager20.repository.local import androidx.room.Dao import androidx.room.Insert import androidx.room.Query import androidx.room.Update import com.baymax104.bookmanager20.entity.Book /** *@Description *@Author John *@email *@Date 2023/3/24 19:05 *@Version 1 */ @Dao interface BookDao { ...
0
Kotlin
0
0
80fb6a94bd95399386dc900ace88eedd975120b9
958
BookManager2.0
MIT License
providers/aws/src/main/kotlin/cloudspec/aws/ec2/EC2Image.kt
efoncubierta
259,448,965
false
null
/*- * #%L * CloudSpec AWS Provider * %% * 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 * * Un...
3
Kotlin
2
26
edabff96392cdb1f0d55b3a9c57ae5c433c7be69
8,283
cloudspec
Apache License 2.0
src/main/kotlin/org/strykeforce/trapper/TrapperSubsystem.kt
strykeforce
97,531,449
false
null
package org.strykeforce.trapper import edu.wpi.first.wpilibj2.command.SubsystemBase class TrapperSubsystem @JvmOverloads constructor( val baseUrl: String, @get:JvmName("isEnabled") var enabled: Boolean = true ) : SubsystemBase() { private val session: Session = if (enabled) OkHttpSession(baseUrl) else Du...
2
null
13
37
3b79cab51c6759959af794419ef1caab49b208a8
1,164
thirdcoast
MIT License
kotlin/app/src/main/java/nl/teamwildenberg/solometrics/Ble/BlueDevice.kt
teamwildenberg
264,293,850
false
{"Kotlin": 99186, "C++": 13609, "Shell": 719}
package nl.teamwildenberg.solometrics.Ble import android.bluetooth.BluetoothDevice import android.bluetooth.BluetoothGatt import android.os.Parcelable import kotlinx.android.parcel.Parcelize @Parcelize public class BlueDevice ( var name: String, // var id: String, var address: String, var type: Device...
3
Kotlin
0
0
f405e55a29aed7a9605b8a0234245eb4247cc78e
487
SoloMetrics
MIT License
cinescout/screenplay/domain/src/commonMain/kotlin/cinescout/screenplay/domain/sample/KeywordSample.kt
fardavide
280,630,732
false
null
package cinescout.screenplay.domain.sample import cinescout.screenplay.domain.model.Keyword import cinescout.screenplay.domain.model.TmdbKeywordId object KeywordSample { val AntiHero = Keyword( id = TmdbKeywordId(value = 2095), name = "anti-hero" ) val Avatar = Keyword( id = Tmdb...
8
Kotlin
2
6
dcbd0a0b70d6203a2ba1959b797038564d0f04c4
2,534
CineScout
Apache License 2.0
app/src/main/java/com/anayaenterprises/features/lead/api/GetLeadRegProvider.kt
DebashisINT
533,183,856
false
{"Kotlin": 11224841, "Java": 960771}
package com.anayaenterprises.features.lead.api import com.anayaenterprises.features.NewQuotation.api.GetQuotListRegRepository import com.anayaenterprises.features.NewQuotation.api.GetQutoListApi object GetLeadRegProvider { fun provideList(): GetLeadListRegRepository { return GetLeadListRegRepository(GetL...
0
Kotlin
0
0
1f59ca22da8458779f9b0bc337dc553f965ec082
348
AnayaEnterprises
Apache License 2.0
native-ui/app/src/main/java/com/example/cityinyourpocket/model/User.kt
albcristi
308,359,242
false
{"Text": 2, "Ignore List": 6, "Markdown": 3, "Gradle": 9, "Java Properties": 5, "Shell": 3, "Batchfile": 3, "Proguard": 2, "Kotlin": 41, "XML": 67, "JSON": 6, "JavaScript": 19, "Git Attributes": 1, "INI": 2, "Starlark": 1, "Java": 3, "Ruby": 1, "OpenStep Property List": 4, "Objective-C": 4, "YAML": 1, "Python": 32, "Do...
package com.example.cityinyourpocket.model class User(var username: String, var password: String){ var name: String? = null }
0
Kotlin
0
0
7807e48a7ad11b5752b1bc83aec22a5ff892f1e7
130
mobile-programming
MIT License
src/main/kotlin/de/sambalmueslie/openevent/storage/history/HistoryStorageService.kt
Black-Forrest-Development
542,810,521
false
{"Kotlin": 334759, "TypeScript": 179633, "HTML": 73007, "SCSS": 3950, "Batchfile": 202}
package de.sambalmueslie.openevent.storage.history import de.sambalmueslie.openevent.core.model.* import de.sambalmueslie.openevent.core.storage.HistoryEntryStorage import de.sambalmueslie.openevent.error.InvalidRequestException import de.sambalmueslie.openevent.infrastructure.cache.CacheService import de.sambalmuesl...
6
Kotlin
0
1
43cf66668db937150ae8f14078437c1e5a7287e2
4,043
open-event
Apache License 2.0
1 First Apps/DiceRoller/app/src/main/java/com/example/diceroller/MainActivity.kt
Android-SrA-2020
232,633,529
false
null
package com.example.diceroller import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.widget.Button import android.widget.TextView import java.util.* class MainActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInsta...
0
Kotlin
0
0
400c83d0339ad0eae5e313f8596734d5369cbeea
884
homework-pawsey18
MIT License
hellowcharts/src/main/java/ren/imyan/hellowcharts/PieChartFragment.kt
Yanren1225
356,110,733
false
null
package ren.imyan.hellowcharts import android.graphics.Color import android.view.LayoutInflater import android.view.ViewGroup import androidx.lifecycle.ViewModelProvider import lecho.lib.hellocharts.listener.PieChartOnValueSelectListener import lecho.lib.hellocharts.model.PieChartData import lecho.lib.hellocharts.mode...
1
null
1
2
4a86620ac472943b936427cf82d459659dbce867
2,884
AndroidWork
MIT License
src/main/kotlin/tr/emreone/adventofcode/AdventOfCode.kt
krllus
572,617,904
false
{"Kotlin": 166975}
package tr.emreone.adventofcode import com.github.ajalt.mordant.rendering.TextColors.* import com.github.ajalt.mordant.rendering.TextStyles import com.github.ajalt.mordant.terminal.Terminal import org.reflections.Reflections import java.awt.Toolkit import java.awt.datatransfer.Clipboard import java.awt.datatransfer.S...
0
Kotlin
0
0
f77cf4694a4b392251d57be0638c256a8609de8b
26,230
advent-of-code-2022
Apache License 2.0
core/src/test/kotlin/net/corda/core/flows/FinalityFlowTests.kt
Bladefidz
141,038,868
true
{"Kotlin": 6532478, "Java": 278651, "CSS": 23489, "Shell": 9940, "Gherkin": 3162, "Groovy": 2129, "Batchfile": 1367, "PowerShell": 660, "Makefile": 569}
package net.corda.core.flows import net.corda.core.identity.Party import net.corda.core.transactions.TransactionBuilder import net.corda.core.utilities.getOrThrow import net.corda.finance.POUNDS import net.corda.finance.contracts.asset.Cash import net.corda.finance.issuedBy import net.corda.testing.core.* import net.c...
0
Kotlin
0
1
bf4f30fd39ec84f3722bcc1ae1e517845ce30bac
2,634
corda
Apache License 2.0
wanandroid/src/main/java/com/lyl/wanandroid/ui/fragment/first/usefulweb/UsefulWebBean.kt
laiyuling424
145,495,250
false
null
package com.lyl.wanandroid.ui.fragment.first.usefulweb /** * Create By: lyl * Date: 2019-07-11 15:41 */ /** { "data": [ { "icon": "", "id": 17, "link": "http://www.wanandroid.com/article/list/0?cid=176", "name": "国内大牛博客集合", "order": 1, "visible": 1 } ], "errorCode": 0, "errorMsg": "" } */ data class UsefulWebBea...
1
C++
2
5
8c8d10aa48546f0a66f0a466990e3b2f886b011c
526
lylproject
MIT License
samples/pagingflowexample/android-compose/src/main/java/ru/snowmaze/pagingflow/samples/MainActivity.kt
Snowmaze-dev
745,268,395
false
{"Kotlin": 61092}
package ru.snowmaze.pagingflow.samples import android.os.Bundle import android.util.Log import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.activity.enableEdgeToEdge import androidx.compose.foundation.layout.PaddingValues import androidx.compose.foundation.layout.fill...
0
Kotlin
0
0
9a0b60179cd0c9e300e10d89231f9389747bada0
3,301
PagingFlow
Apache License 2.0
app/src/main/java/com/jintin/youtubeparser/MainApplication.kt
Jintin
424,243,071
false
{"Kotlin": 6828}
package com.jintin.youtubeparser import android.app.Application import dagger.hilt.android.HiltAndroidApp @HiltAndroidApp class MainApplication : Application()
0
Kotlin
0
1
1db7d2990da565fa363385417899967eb77ccad3
161
YoutubeParser
MIT License
bot/src/main/kotlin/com/qingzhu/bot/knowledgebase/domain/entity/TopicCategory.kt
nedphae
322,789,778
false
{"Kotlin": 744301, "ANTLR": 281490, "Java": 48298, "Dockerfile": 375}
package com.qingzhu.bot.knowledgebase.domain.entity import com.qingzhu.common.domain.AbstractAuditingEntity import org.springframework.data.annotation.Id import org.springframework.data.relational.core.mapping.Table /** * 知识库分类管理 */ @Table data class TopicCategory( /** 分类名称 */ var name: String, /** 所属知识...
1
Kotlin
18
42
217b4658508763133e1a5b6a96763a14e9f6f4ad
461
contact-center
Apache License 2.0
kotlin/src/main/java/app/rive/runtime/kotlin/core/LinearAnimationInstance.kt
rive-app
299,578,948
false
null
package app.rive.runtime.kotlin.core /** * The [LinearAnimationInstance] is a helper to wrap common operations to play an [animation]. * * This object has a counterpart in c++, which implements a lot of functionality. * The [cppPointer] keeps track of this relationship. * * Use this to keep track of an animation...
7
Kotlin
17
98
f7f2389eb11a080e18c8f15d82f35bc25bf998b4
2,491
rive-android
MIT License
modern-treasury-java-core/src/main/kotlin/com/moderntreasury/api/services/async/CounterpartyServiceAsync.kt
Modern-Treasury
665,761,562
false
{"Kotlin": 8739348, "Java": 1587, "Shell": 1104, "Dockerfile": 305}
@file:Suppress("OVERLOADS_INTERFACE") // See https://youtrack.jetbrains.com/issue/KT-36102 package com.moderntreasury.api.services.async import com.moderntreasury.api.core.RequestOptions import com.moderntreasury.api.models.Counterparty import com.moderntreasury.api.models.CounterpartyCollectAccountParams import com....
2
Kotlin
1
1
f88080d9e1349c1f72733b0b6206a1d3f378a884
2,255
modern-treasury-java
MIT License
app/src/main/java/com/ravnnerdery/photo_challenge/network/PhotosApiService.kt
hunter4466
451,636,484
false
{"Kotlin": 20898}
package com.ravnnerdery.photo_challenge.network import com.ravnnerdery.photo_challenge.database.tables.Photo import com.squareup.moshi.Moshi import com.squareup.moshi.kotlin.reflect.KotlinJsonAdapterFactory import retrofit2.Call import retrofit2.Retrofit import retrofit2.converter.moshi.MoshiConverterFactory import re...
1
Kotlin
1
0
29c48c03c04ee0d0f8aed8e14f37c53d80ed6969
845
photo_challenge
MIT License
lib/src/test/java/com/irurueta/android/navigation/inertial/processors/attitude/AccurateRelativeGyroscopeAttitudeProcessorTest.kt
albertoirurueta
440,663,799
false
null
/* * Copyright (C) 2023 <NAME> (<EMAIL>) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
0
Kotlin
0
0
a5e3d05af8b2dad44a1c9ee47e76e8c97e835367
15,136
irurueta-android-navigation-inertial
Apache License 2.0
sample/src/main/java/de/trbnb/mvvmbase/sample/list/ListViewModel.kt
trbnb
63,249,401
false
null
package de.trbnb.mvvmbase.sample.list import de.trbnb.mvvmbase.BaseViewModel import de.trbnb.mvvmbase.observableproperty.observable import java.util.UUID class ListViewModel : BaseViewModel() { val items by observable(List(5) { Item(text = UUID.randomUUID().toString()) }) }
0
Kotlin
4
14
a3b6d841263d5d0e54b9802334035940f2d0f75f
281
MvvmBase
Apache License 2.0