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/AST/ASTVariableNode.kt
Ten-James
696,690,413
false
{"Kotlin": 50603}
package AST import compiler.Compiler import czechtina.GrammarToken class ASTVariableNode : ASTTypedNode { val data: String val isLocal:Boolean constructor(data:String, expressionType: String = "none", isLocal: Boolean = true) : super(expressionType) { this.data = data this.isLocal = isLoc...
0
Kotlin
0
2
34b3afd0f271811d43e8b2a15e2b6ae0b563081d
1,210
czechtina
MIT License
domain/src/test/java/com/dev/domain/fakes/FakeData.kt
namdevlondhe
721,257,049
false
{"Kotlin": 51610}
package com.dev.domain.fakes import com.dev.domain.model.Article import com.dev.domain.model.ArticleResult import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.flow object FakeData { fun getArticles(): Flow<ArticleResult> = flow { val characters = ArticleResult(count = 1, next = "Next", prev...
0
Kotlin
0
0
58fb906af47e7763cceb5c380a2234a658aaa134
1,112
Spaceflight-News
Apache License 2.0
common/src/main/kotlin/net/spaceeye/vmod/constraintsManaging/MExtensionTypes.kt
SuperSpaceEye
751,999,893
false
{"Kotlin": 672289, "Java": 16898}
package net.spaceeye.vmod.constraintsManaging import net.spaceeye.vmod.constraintsManaging.extensions.RenderableExtension import net.spaceeye.vmod.constraintsManaging.util.MConstraintExtension import net.spaceeye.vmod.utils.Registry object MExtensionTypes: Registry<MConstraintExtension>() { init { registe...
2
Kotlin
7
5
862abdd4dc31e7493d34d59773b90a4b0d73705c
352
VMod
MIT License
straight/src/commonMain/kotlin/me/localx/icons/straight/bold/Down.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.straight.bold import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter i...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
2,381
icons
MIT License
desertpusher/src/main/java/com/olutoba/desertpusher/DessertTimer.kt
Olutobz
403,427,242
false
{"Kotlin": 101796}
package com.olutoba.desertpusher import android.os.Handler import android.os.Looper import androidx.lifecycle.Lifecycle import androidx.lifecycle.LifecycleObserver import androidx.lifecycle.OnLifecycleEvent import timber.log.Timber /** * This is a class representing a timer that you can start or stop. The secondsCou...
0
Kotlin
0
1
56bdd9659470443863b5099dd4c91e69efb92922
1,778
Android-Projects
Apache License 2.0
hideout-core/src/main/kotlin/dev/usbharu/hideout/core/infrastructure/springframework/SpringSecurityFormLoginPrincipalContextHolder.kt
usbharu
627,026,893
false
{"Kotlin": 1314674, "Mustache": 111758, "HTML": 22697, "Dockerfile": 121}
/* * Copyright (C) 2024 usbharu * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
18
Kotlin
0
13
32483abfe0e8e0458b5339887489c31bb62ad111
2,204
Hideout
Apache License 2.0
core/usecases/src/main/kotlin/net/onefivefour/sessiontimer/core/usecases/timer/PauseTimerUseCase.kt
OneFiveFour
715,295,614
false
{"Kotlin": 171272}
package net.onefivefour.sessiontimer.core.usecases.timer import net.onefivefour.sessiontimer.core.timer.api.SessionTimer import javax.inject.Inject class PauseTimerUseCase @Inject constructor( private val sessionTimer: SessionTimer ){ fun execute() { sessionTimer.pause() } }
0
Kotlin
0
0
12ec8dc3bacd6d307f5bbdc60f1b143a4ee980f1
298
session-timer
Apache License 2.0
eartho-one/src/main/java/com/eartho/one/request/internal/JwksDeserializer.kt
eartho-group
499,781,444
false
{"Kotlin": 177091, "Java": 89921}
package com.auth0.android.request.internal import android.util.Base64 import android.util.Log import com.google.gson.JsonDeserializationContext import com.google.gson.JsonDeserializer import com.google.gson.JsonElement import com.google.gson.JsonParseException import java.lang.reflect.Type import java.math.BigInteger ...
5
Kotlin
136
5
c57130f02e3765969aeb16d8156daa749f536710
3,313
one-client-kotlin
MIT License
generator/src/functionalTest/kotlin/ru/pixnews/gradle/fbase/android/junit/AndroidProjectExtension.kt
illarionov
726,786,986
false
{"Kotlin": 101117, "Java": 6746}
/* * Copyright (c) 2023, the fbase-config-generator-gradle-plugin project authors and contributors. * Please see the AUTHORS file for details. * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. */ package ru.pixnews.gradle.fbase.android.junit import org.gradle.t...
0
Kotlin
0
0
e598a928bb797f85dfc0f77a61fd6fa271ed0064
4,585
fbase-config-generator-gradle-plugin
Apache License 2.0
src/commonMain/kotlin/net/orandja/obor/io/CborReader.kt
L-Briand
289,461,298
false
{"Kotlin": 158647}
package net.orandja.obor.io interface CborReader { fun peek(): UByte fun consume() fun peekConsume(): UByte { val result = peek() consume() return result } /** Always read the next byte. Should not return peeked value. */ fun read(): Byte fun read(bytes: Int): Byte...
0
Kotlin
0
3
67af6deae92859f98aada23dc268e75fa1c2d9ea
462
obor
The Unlicense
app/src/main/java/de/dhbw/mensaapp/database/orderhistory/OrderHistoryManager.kt
SteveBinary
621,552,225
false
null
package de.dhbw.mensaapp.database.orderhistory import de.dhbw.mensaapp.model.orderhistory.OrderHistory class OrderHistoryManager(private val orderHistoryDatabaseManager: OrderHistoryDatabaseManager) { fun getAllOrderHistories(): List<OrderHistory> { return orderHistoryDatabaseManager.getAllOrderHistorie...
0
Kotlin
0
1
5e581880c96c54b0b20b2bb85e0c13c46157a822
550
mensa-app
MIT License
app/src/main/java/io/melih/android/currencyconverter/di/CoroutineModule.kt
melomg
282,532,575
false
null
/* * Copyright 2019 CurrencyConverter * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
1
Kotlin
0
0
5d94b9ce0a141403082a9157b4df19787f455bf2
1,088
currency-converter-android
Apache License 2.0
app/src/main/java/nl/nickkoepr/bored/intents/LinkIntent.kt
NickKoepr
670,772,490
false
null
package nl.nickkoepr.bored.intents import android.content.Context import android.content.Intent import android.net.Uri /** * Open a given link in the browser of a user. * @param context [Context] * @param link The link that has to be opened */ fun openLink(context: Context, link: String) { val urlIntent = Int...
0
Kotlin
0
0
b073177dc5bc9ef7006194aa582b65a4b45e3d00
727
Bored
MIT License
app/src/test/java/nl/jovmit/lyrics/main/data/song/SongDataBuilder.kt
mitrejcevski
187,831,953
false
{"Kotlin": 200322, "Shell": 202}
package nl.jovmit.lyrics.main.data.song class SongDataBuilder { private var songTitle: String = "" private var songPerformer: String = "" private var songLyrics: String = "" companion object { fun aSongData(): SongDataBuilder { return SongDataBuilder() } } fun wit...
1
Kotlin
0
0
0c279aad7a1c5b9709a30fb6cbffa6a3b918dd3c
865
lyrics
Apache License 2.0
src/jsMain/kotlin/matt/async/athread/athread.kt
mgroth0
497,201,859
false
{"Kotlin": 103222}
package matt.async.athread import matt.async.athread.js.SingleJsThread import matt.async.athread.like.ThreadLike actual fun currentThreadLike(): ThreadLike = SingleJsThread
0
Kotlin
0
0
9f10460eb4d239750723035c60eb20bd6937704c
177
async
MIT License
kotlin-mui-icons/src/main/generated/mui/icons/material/FindReplaceRounded.kt
JetBrains
93,250,841
false
null
// Automatically generated - do not modify! @file:JsModule("@mui/icons-material/FindReplaceRounded") @file:JsNonModule package mui.icons.material @JsName("default") external val FindReplaceRounded: SvgIconComponent
12
Kotlin
145
983
372c0e4bdf95ba2341eda473d2e9260a5dd47d3b
218
kotlin-wrappers
Apache License 2.0
presentation/src/main/java/com/yapp/timitimi/presentation/web/taskdetail/TaskDetailViewModel.kt
YAPP-Github
561,172,097
false
{"Kotlin": 374971}
package com.yapp.timitimi.presentation.web.taskdetail import androidx.lifecycle.SavedStateHandle import com.yapp.timitimi.domain.preference.UserPreference import com.yapp.timitimi.presentation.constant.Extras import com.yapp.timitimi.presentation.web.webview.WebViewViewModel import dagger.hilt.android.lifecycle.HiltVi...
0
Kotlin
0
6
fcbff3b9bc0a4104a812e39f993b56585054bcbf
1,272
21st-ALL-Rounder-Team-3-Android
Apache License 2.0
src/main/kotlin/net/kodehawa/lib/imageboards/boards/DefaultBoards.kt
Doomsdayrs
188,209,067
true
{"Kotlin": 49623}
/* * Copyright 2017 Kodehawa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
0
Kotlin
0
0
aa9d0243de8d50309c7ce1e960a46083be066637
1,764
imageboard-api
Apache License 2.0
namshi-credit-card-input/src/main/java/com/namshi/cardinput/cards/CardAccountRangeSource.kt
namshi
301,696,955
false
null
package com.namshi.cardinput.cards import com.namshi.cardinput.model.AccountRange import kotlinx.coroutines.flow.Flow internal interface CardAccountRangeSource { suspend fun getAccountRange( cardNumber: CardNumber.Unvalidated ): AccountRange? val loading: Flow<Boolean> }
0
Kotlin
0
0
825703cd613f84e90826f159bd55dd72f0b4c652
295
NamshiCreditCardInput
MIT License
app/src/main/java/fr/bsodium/cron/theme/Color.kt
BSoDium
775,352,659
false
{"Kotlin": 41753}
/* * Copyright 2022 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
0
Kotlin
0
0
7745b7fce7af6b64156cd86a88b7aee57672964e
3,189
Cron
MIT License
src/main/kotlin/com/github/medavox/kubjson/KubjsonIgnore.kt
medavox
192,512,870
false
null
package com.github.medavox.kubjson @Retention(AnnotationRetention.RUNTIME) @Target(AnnotationTarget.PROPERTY) annotation class KubjsonIgnore
0
Kotlin
0
1
d6bc98e6dbf7828d955a6b92dab5aaaa7b1c6bfa
141
kubjson
Apache License 2.0
buildSrc/src/main/kotlin/Dependencies.kt
openmedia-technologies
484,470,102
false
{"Kotlin": 13214}
private const val kotlinVersion = "1.6.20" object Plugins { const val KOTLIN = kotlinVersion const val GRGIT = "4.1.1" // old version for jgit to work on Java 8 const val KTLINT = "10.2.1" const val DOKKA = "1.6.20" const val NEXUS_PUBLISH = "1.0.0" } object Dependencies { const val KOTLIN = k...
0
Kotlin
0
0
fb0a61710ee61cea245b5aaa4d7286aca10b8f6c
469
animemaster
ISC License
remix/src/commonMain/kotlin/com/woowla/compose/icon/collections/remix/remix/editor/Omega.kt
walter-juan
868,046,028
false
{"Kotlin": 34345428}
package com.woowla.compose.icon.collections.remix.remix.editor import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.Str...
0
Kotlin
0
3
eca6c73337093fbbfbb88546a88d4546482cfffc
2,169
compose-icon-collections
MIT License
src/main/kotlin/com/emarketeer/aws/apigateway/dto/ProxyGatewayRequest.kt
eMarketeerSE
119,720,106
false
null
package com.emarketeer.aws.apigateway.dto import com.emarketeer.consent.dto.RequestContext class ProxyGatewayRequest<Body, Query>( val resource: String?, val path: String?, val httpMethod: String?, val headers: Map<String, String>?, val pathParameters: Map<String, String>?, ...
0
Kotlin
0
0
5db4ba43744d025af656bd5ad0adfb793f50daee
518
proxy-integration-handler
MIT License
src/main/kotlin/abc/194-d.kt
kirimin
197,707,422
false
null
package abc import utilities.debugLog import java.util.* fun main(args: Array<String>) { val sc = Scanner(System.`in`) val n = sc.nextInt() println(problem194d(n)) } fun problem194d(n: Int): Double { var ans = 0.0 for (i in n - 1 downTo 1) { ans += n / (n - i.toDouble()) } return...
0
Kotlin
1
5
87f20b4aa2031c130867c546dd5533890f1978ee
326
AtCoderLog
The Unlicense
src/main/kotlin/competition/group/GroupSelection.kt
tamilschool
711,222,508
false
{"Kotlin": 153687, "HTML": 1758}
package competition.group import data.Group import kotlinx.css.pct import kotlinx.css.width import kotlinx.html.js.onClickFunction import react.RBuilder import react.RComponent import react.RProps import react.RState import react.ReactElement import styled.css import styled.styledButton import styled.styledDiv import ...
0
Kotlin
0
0
ee1e574e83468df3eb9faf99bd91196facb564ea
1,432
tamilschool.github.io
Apache License 2.0
app/src/main/java/com/lianyi/paimonsnotebook/ui/screen/app_widget/components/page/AppWidgetBindPage.kt
QooLianyi
435,314,581
false
{"Kotlin": 1942953}
package com.lianyi.paimonsnotebook.ui.screen.app_widget.components.page import androidx.compose.runtime.Composable @Composable internal fun AppWidgetBindPage() { }
1
Kotlin
2
36
692b93b7e712903c795e1a2ce79859af14e2c197
166
PaimonsNotebook
MIT License
examples/android/src/main/kotlin/com/algolia/instantsearch/examples/android/codex/suggestions/query/SearchScreen.kt
algolia
55,971,521
false
{"Kotlin": 689459}
package com.algolia.instantsearch.examples.android.codex.suggestions.query import androidx.compose.foundation.background import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.fillMaxWidth imp...
5
Kotlin
32
156
cb068acebbe2cd6607a6bbeab18ddafa582dd10b
3,144
instantsearch-android
Apache License 2.0
Merge/src/main/java/com/qicode/merge/ui/ToolsView.kt
o0starshine0o
243,410,873
false
null
package com.qicode.merge.ui import android.animation.AnimatorInflater import android.animation.AnimatorSet import android.animation.ObjectAnimator import android.content.Context import android.graphics.Color import android.os.Handler import android.support.annotation.IntDef import android.support.constraint.Constraint...
0
Kotlin
0
0
44bb21be9b9c61209ef8f3dc1e50118d24dc2d48
18,420
Travel
MIT License
src/main/kotlin/Main.kt
Haoxiqiang
474,890,016
false
{"Kotlin": 37419}
import androidx.compose.desktop.ui.tooling.preview.Preview import androidx.compose.foundation.background import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.comp...
0
Kotlin
0
0
c9a4f3e14a81266e7cf5215faaab886169160b8c
5,354
CopyRightTools
MIT License
app/src/main/java/com/steleot/sample/ui/utils/BleCharacteristicUtils.kt
Vivecstel
321,435,519
false
null
package com.steleot.sample.ui.utils import android.bluetooth.BluetoothGattCharacteristic import com.steleot.blekotlin.BleGattCharacteristic import com.steleot.blekotlin.constants.BleGattCharacteristicUuids import com.steleot.blekotlin.utils.toBluetoothUuidString object BleCharacteristicUtils { fun BleGattCharact...
0
Kotlin
0
2
d379c43d99c524161d57c59eddd430b8e8323e1b
1,131
ble-kotlin
Apache License 2.0
generator/src/commonMain/kotlin/com/sudoplay/joise/module/ModuleCombiner.kt
ToxicBakery
228,751,535
true
{"Kotlin": 457675, "HTML": 289}
package com.sudoplay.joise.module @Suppress("TooManyFunctions") class ModuleCombiner( private var type: CombinerType ) : Module() { var sources = arrayOfNulls<ScalarParameter>(Module.MAX_SOURCES) fun setSource(index: Int, source: Module) { sources[index] = ScalarParameter(source) } fun s...
1
Kotlin
0
4
d85b57ff626de6b17a8a3542a10af03dcfda4573
11,425
Accidental-Noise-Generator
Apache License 2.0
app/src/main/java/com/soodkartik/mvppattern/modules/dashboard/presenter/DashboardPresenterImp.kt
soodkartik24
251,079,550
false
null
package com.soodkartik.mvppattern.modules.dashboard.presenter import com.soodkartik.mvppattern.base.presenter.BasePresenterImp import com.soodkartik.mvppattern.base.presenter.MVPView import javax.inject.Inject class DashboardPresenterImp @Inject internal constructor(pMVPView: MVPView) : BasePresenterImp(pMVPView), Da...
0
Kotlin
0
0
fe433e4e743664d5b537a1d478bea0e99b95eeb8
336
MvpPattern-Dagger-Code-Inspection
MIT License
src/main/kotlin/dreifa/app/opentelemetry/InMemorySpanExporter.kt
dreifadotapp
478,598,303
false
null
package dreifa.app.opentelemetry import io.opentelemetry.sdk.common.CompletableResultCode import io.opentelemetry.sdk.trace.data.SpanData import io.opentelemetry.sdk.trace.export.SpanExporter class InMemorySpanExporter(private val decorated: SpanExporter? = null) : SpanExporter { val allSpans = ArrayList<SpanData...
0
Kotlin
0
0
a31809cc91858259d1e48d109c3743762dca28a5
883
open-telemetry
MIT License
app/src/main/kotlin/com/nick/mowen/wearossms/presenter/ConversationPresenter.kt
NickM-27
184,172,212
false
null
package com.nick.mowen.wearossms.presenter import android.app.Activity import android.content.Context import android.view.View import android.widget.ImageView import android.widget.Toast import androidx.core.graphics.toColorInt import androidx.navigation.findNavController import com.nick.mowen.wearossms.Constants impo...
1
Kotlin
1
3
41681223e79162fa35a52e1aa4f9663d45a051b0
1,219
WearOS-SMS
Apache License 2.0
app/src/main/java/com/bcit/ghiblifilm/ui/main/FilmDetails.kt
Lijuan-Z
854,391,418
false
{"Kotlin": 24000}
package com.bcit.ghiblifilm.ui.main import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.founda...
0
Kotlin
0
0
159fb75df0f59d4214836637a08de5767094200d
2,549
GhibliFilm
MIT License
app/src/main/java/com/mindhub/view/events/EventUpdate.kt
grupo-bala
682,555,434
false
{"Kotlin": 293077, "HTML": 179400}
package com.mindhub.view.events import androidx.compose.runtime.Composable import androidx.compose.ui.tooling.preview.Preview import com.google.android.gms.maps.model.LatLng import com.mindhub.common.ext.getTime import com.mindhub.common.ext.toBrazilianDateFormat import com.mindhub.model.entities.Badge import com.mind...
0
Kotlin
0
1
83fac46be55e0003c5dd52914811976ca263029f
2,086
mindhub-android
MIT License
ui-app/src/jvmMain/kotlin/com/alexvanyo/composelife/ui/app/cells/SKSLNonInteractableCells.kt
alexvanyo
375,146,193
false
null
/* * Copyright 2024 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
39
null
11
99
64595b8d36c559a70ca52d578069fe4df8d170c7
6,415
composelife
Apache License 2.0
src/jvmMain/kotlin/ess/papyrus/VarFlt.kt
jfmherokiller
366,592,978
false
null
package ess.papyrus import PlatformByteBuffer /** * Variable that stores a float. */ class VarFlt : Variable { constructor(input: PlatformByteBuffer) { value = input.getFloat() } constructor(`val`: Float) { value = `val` } override fun calculateSize(): Int { return 5 ...
0
Kotlin
0
0
cff93de2d16b33afc4cc046347d856cb6281795a
830
ResaverResaved
Apache License 2.0
LeetCode/Minimum Time Visiting All Points Minimum Time Visiting All Points Minimum Time Visiting All Points Minimum Time Visiting All Points/main.kt
jartinup
346,678,950
true
{"C++": 1699319, "Java": 77742, "Python": 36708, "Kotlin": 25737, "Swift": 24009, "JavaScript": 18820, "C": 5082, "Shell": 752}
class Solution { fun findCost(a: IntArray, b: IntArray): Int { return Math.max(Math.abs(a[0] - b[0]), Math.abs(a[1] - b[1])) } fun minTimeToVisitAllPoints(points: Array<IntArray>): Int { val n = points.count() var ans = 0 for (i in 0 until n - 1) { ans +...
0
null
0
0
0a825515a6cf901ec5d166b73986001c356bcb8b
393
competitive-programming
MIT License
app/src/main/java/com/raassh/gemastik15/adapter/OptionTagAdapter.kt
NTS-NTS
540,716,155
false
{"Kotlin": 405622}
package com.raassh.gemastik15.adapter import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.recyclerview.widget.DiffUtil import androidx.recyclerview.widget.ListAdapter import androidx.recyclerview.widget.RecyclerView import com.raassh.gemastik15.R import com.raassh....
6
Kotlin
0
1
453b696b4c5f3a2b775efc5a4c81864692812896
2,550
PPL-Gemastik-15-Android
MIT License
src/main/kotlin/no/nav/klage/dokument/domain/PDFDocument.kt
navikt
297,650,936
false
null
package no.nav.klage.dokument.domain data class PDFDocument( val filename: String, val bytes: ByteArray, )
3
Kotlin
1
2
168c8c4b9ed5192ac6870f88b6e82a665b29a4b9
116
kabal-api
MIT License
src/main/kotlin/FileWrapper.kt
mcpkg
46,906,235
false
null
package org.mcpkg.server import java.io.File; abstract class FileRoot { abstract fun get(path:String) : FileWrapper; } abstract class FileWrapper { abstract fun list() : Array<String>; abstract fun get(path:String) : FileWrapper; abstract fun readBytes() : ByteArray; abstract fun readText() : Stri...
1
null
1
1
8767afd7dc5a25f6d92a3ea43e50ed23d4703e5d
1,177
mcpkg-server
MIT License
kotlin/checkvist/DemoTreeViews.kt
jmfayard
82,162,118
false
null
package checkvist import javafx.scene.control.TreeItem import javafx.scene.layout.HBox import tornadofx.View import tornadofx.addClass import tornadofx.cellFormat import tornadofx.label import tornadofx.onUserSelect import tornadofx.plusAssign import tornadofx.populate import tornadofx.treeview import tornadofx.vbox ...
2
Kotlin
2
6
b0c51334749a632b6413ae08f131612460abd432
1,709
skripts
Apache License 2.0
RetenoSdkCore/src/test/java/com/reteno/core/data/local/mappers/GeneralKtTest.kt
reteno-com
545,381,514
false
{"Kotlin": 1360551, "Java": 159640, "HTML": 17807, "Shell": 379}
package com.reteno.core.data.local.mappers import com.reteno.core.base.BaseUnitTest import com.reteno.core.data.local.model.BooleanDb import org.junit.Assert.assertEquals import org.junit.Test class GeneralKtTest : BaseUnitTest() { @Test fun givenTrue_whenToDb_thenBooleanDbTrueReturned() { // Given ...
1
Kotlin
2
1
8be261c2b571a7a6124c62c038dfcf97b1ccad3f
1,132
reteno-mobile-android-sdk
MIT License
exposed-core/src/main/kotlin/org/jetbrains/exposed/sql/statements/UpdateBuilder.kt
JetBrains
11,765,017
false
null
@file:Suppress("internal", "INVISIBLE_REFERENCE", "INVISIBLE_MEMBER") package org.jetbrains.exposed.sql.statements import org.jetbrains.exposed.dao.id.EntityID import org.jetbrains.exposed.dao.id.IdTable import org.jetbrains.exposed.sql.* import kotlin.internal.LowPriorityInOverloadResolution /** * Represents the u...
199
null
682
8,203
6c47d7aec17988d99860abca54ad3751a6374c08
3,818
Exposed
Apache License 2.0
dao/src/test/kotlin/repositories/DaoResolvedConfigurationRepositoryTest.kt
eclipse-apoapsis
760,319,414
false
{"Kotlin": 2994047, "Dockerfile": 24090, "Shell": 6277}
/* * Copyright (C) 2023 The ORT Server Authors (See <https://github.com/eclipse-apoapsis/ort-server/blob/main/NOTICE>) * * 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://w...
18
Kotlin
2
9
0af70d6382a86f0ebc35d9b377f4229c6a71637a
11,041
ort-server
Apache License 2.0
sdk/java/core/src/test/kotlin/com/keepersecurity/secretsManager/core/SecretsManagerTest.kt
inna-btc
439,433,367
false
{"Python": 360930, "TypeScript": 93407, "C#": 88847, "Kotlin": 81167, "PowerShell": 8828, "JavaScript": 2135, "Shell": 462}
package com.keepersecurity.secretsManager.core import kotlinx.serialization.ExperimentalSerializationApi import kotlinx.serialization.Serializable import kotlinx.serialization.decodeFromString import kotlinx.serialization.json.* import java.io.BufferedReader import java.io.File import java.io.FileReader import kotlin....
0
null
1
0
5c65fea092e80b25d2466b395fa03eabd6a98f9b
5,073
secrets-manager
MIT License
utbot-framework-api/src/main/kotlin/org/utbot/framework/plugin/services/WorkingDirService.kt
UnitTestBot
480,810,501
false
null
package org.utbot.framework.plugin.services import java.nio.file.Path import java.nio.file.Paths /** * Singleton to enable abstract access to the working directory. * * Used in [org.utbot.instrumentation.process.InstrumentedProcessRunner]. * The purpose is to use the same working directory in [org.utbot.instrumen...
398
null
32
91
abb62682c70d7d2ecc4ad610851d304f7ad716e4
797
UTBotJava
Apache License 2.0
node-kotlin/src/jsMain/kotlin/node/test/HookOptions.kt
karakum-team
393,199,102
false
{"Kotlin": 7083457}
// Automatically generated - do not modify! package node.test import web.abort.AbortSignal sealed external interface HookOptions { /** * Allows aborting an in-progress hook. */ var signal: AbortSignal? /** * A number of milliseconds the hook will fail after. If unspecified, subtests inher...
0
Kotlin
6
26
3ca49a8f44fc8b46e393ffe66fbd81f8b4943c18
420
types-kotlin
Apache License 2.0
sample/sample-jvm/src/main/kotlin/com/bennyhuo/kotlin/deepcopy/sample/collection/Collections.kt
bennyhuo
156,778,105
false
{"Kotlin": 157255, "Shell": 1038, "Java": 98}
package com.bennyhuo.kotlin.deepcopy.sample.collection import com.bennyhuo.kotlin.deepcopy.annotations.DeepCopy @DeepCopy data class Team(val name: String, val workers: List<Worker>) @DeepCopy data class Worker(val name: String) @DeepCopy data class Team2(val name: String, val workers: List<Worker2>, val pair: Pair...
2
Kotlin
25
269
f8f8d54920108f1faca6522bac6e1a1ef9243c02
429
KotlinDeepCopy
MIT License
app/src/main/java/com/jacobdamiangraham/groceryhelper/ui/GroceryItemAdapter.kt
JacobGraham02
790,757,293
false
{"Kotlin": 55418}
package com.jacobdamiangraham.groceryhelper.ui import android.content.Context import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.LinearLayout import android.widget.TextView import androidx.appcompat.widget.AppCompatImageView import androidx.recyclerview.widg...
0
Kotlin
0
0
3391422e7f87511af59fe447c889151c3439a59c
3,236
GroceryHelper
MIT License
src/test/kotlin/org/jlang/kt_config/FailureTest.kt
jlangch
99,270,480
false
null
package org.jlang.kt_config import org.testng.annotations.Test class FailureTest { @Test(expectedExceptions = arrayOf(ConfigException::class)) fun testInvalidLineBreakInSingleQuotedString() { ConfigReader("x = ' \n '").read() } @Test(expectedExceptions = arrayOf(ConfigException::class)) ...
0
Kotlin
0
0
e833577e9fbd54e19da96fa3fe35631d0b61d19f
2,884
kt-config
Apache License 2.0
cfg4k-core/src/test/kotlin/com/jdiazcano/cfg4k/providers/FullConfigProviderTest.kt
jdiazcano
75,337,058
false
null
package com.jdiazcano.cfg4k.providers import com.jdiazcano.cfg4k.InterfaceMethodWithAllTheThings import com.jdiazcano.cfg4k.InterfacePropertyWithAllTheThings import com.jdiazcano.cfg4k.ObjectWithAllTheThings import com.jdiazcano.cfg4k.Potato import com.jdiazcano.cfg4k.bytebuddy.ByteBuddyConfigProvider import com.jdiaz...
10
Kotlin
7
80
d2fa6a616a4860445d7268a7f932e41ad0c45993
12,343
cfg4k
Apache License 2.0
android_sdk/src/main/java/com/swirepay/android_sdk/checkout/ui/activity/PaymentStatusActivity.kt
swirepay
344,241,532
false
null
package com.swirepay.android_sdk.checkout.ui.activity import android.graphics.Color import android.graphics.drawable.ColorDrawable import android.os.* import androidx.appcompat.app.AppCompatActivity import android.text.SpannableString import android.text.style.ForegroundColorSpan import android.view.Menu import androi...
0
Kotlin
2
1
a7f2b6bcae57f471ac6520f667e7c86ea9af64ca
4,404
swirepay-android
MIT License
app/src/main/java/io/exzocoin/wallet/modules/settings/experimental/ExperimentalFeaturesRouter.kt
rexdev0211
403,525,735
false
{"Kotlin": 2356794, "Shell": 2039, "Ruby": 966}
package io.exzocoin.wallet.modules.settings.experimental import io.exzocoin.core.SingleLiveEvent class ExperimentalFeaturesRouter : ExperimentalFeaturesModule.IRouter { val showBitcoinHodlingLiveEvent = SingleLiveEvent<Unit>() override fun showBitcoinHodling() { showBitcoinHodlingLiveEvent.call() ...
0
Kotlin
1
0
1ed5d80490ecf1574499cafa5aad922c4ea9a362
327
exzo-android-wallet-main
MIT License
app/src/main/java/io/github/luteoos/cookrepo/di/KoinModules.kt
Luteoos
269,471,804
false
null
package io.github.luteoos.cookrepo.di import io.github.luteoos.cookrepo.utils.Session import io.github.luteoos.cookrepo.viewmodel.MainScreenViewModel import org.koin.android.ext.koin.androidContext import org.koin.androidx.viewmodel.dsl.viewModel import org.koin.dsl.module /** * Add your DI here */ val sessionPrefe...
0
Kotlin
0
0
9df47040fad1835d18fd7708531ca73aaf47e24e
589
Android--CookingRepository
MIT License
app/src/test/java/com/example/emafoods/feature/addfood/domain/usecase/RemoveIngredientFromListUseCaseTest.kt
vladr7
625,532,633
false
{"Kotlin": 531389}
package com.example.emafoods.feature.addfood.domain.usecase import com.example.emafoods.feature.addfood.domain.models.IngredientResult import com.example.emafoods.feature.addfood.presentation.ingredients.models.IngredientViewData import kotlinx.coroutines.ExperimentalCoroutinesApi import kotlinx.coroutines.test.runTes...
0
Kotlin
0
4
a65fc01c1f64f5cbf939812d4e54efba6a973842
2,830
EmaFoods
Apache License 2.0
amazon-chime-sdk/src/main/java/com/amazonaws/services/chime/sdk/meetings/ingestion/EventClientConfiguration.kt
aws
249,543,698
false
null
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ package com.amazonaws.services.chime.sdk.meetings.ingestion /** * [EventClientType] defines the type of event client configuration that will be * sent to the server. */ enum class EventClientType { ...
24
Kotlin
44
91
320a98419aa774a4b72d7951ffc47d303879db20
775
amazon-chime-sdk-android
Apache License 2.0
core/designsystem/src/main/kotlin/com/example/visitedcountries/designsystem/component/VisitedCountriesAppBar.kt
tecruz
858,709,650
false
{"Kotlin": 165426}
/* * Designed and developed by 2024 tecruz * * 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...
1
Kotlin
0
0
ee2f34939b17b387fcd67eab7a2308b7c7578bd4
1,682
VisitedCountries
Apache License 2.0
base/src/commonTest/kotlin/com/github/fsbarata/functional/data/compose/ComposedTest.kt
fsbarata
277,280,202
false
null
package com.github.fsbarata.functional.data.compose import com.github.fsbarata.functional.assertEquals import com.github.fsbarata.functional.data.FunctorLaws import com.github.fsbarata.functional.data.list.ListF import com.github.fsbarata.functional.data.list.NonEmptyContext import com.github.fsbarata.functional.data....
0
Kotlin
1
0
bc867d492fa88ddc0bed623068325671d683f973
1,245
kotlin-functional
Apache License 2.0
src/main/kotlin/com/nylas/models/Contact.kt
nylas
202,446,537
false
{"Kotlin": 532809}
package com.nylas.models import com.squareup.moshi.Json /** * Class representation of a Nylas contact object */ data class Contact( @Json(name = "id") val id: String = "", @Json(name = "grant_id") val grantId: String = "", @Json(name = "object") private val obj: String = "contact", @Json(name = "birth...
0
Kotlin
12
31
1dac6ecd43a8fcd2c06fe52fac5bac8e9822327d
1,709
nylas-java
MIT License
hueboatsdk/src/main/java/com/nicholasholley/dev/hueboatsdk/di/modules/BaseModule.kt
nich-dev
113,250,219
false
{"Kotlin": 95394, "Java": 16492}
package com.nicholasholley.dev.hueboatsdk.di.modules import com.nicholasholley.dev.hueboatsdk.data.network.upnp.UPnPDeviceFinder import com.nicholasholley.dev.hueboatsdk.util.rx.SchedulersFacade import dagger.Module import dagger.Provides import javax.inject.Singleton @Module class BaseModule { @Provides @Sin...
0
Kotlin
0
0
5df0749c1816ae95a6bc644f3a862fd374ef7ef9
489
Hue-Boat
Apache License 2.0
openfeature/providers/kotlin-provider/gofeatureflag-kotlin-provider/src/main/java/org/gofeatureflag/openfeature/exception/InvalidOptions.kt
thomaspoignant
320,579,524
false
{"Go": 831286, "JavaScript": 112281, "Python": 47410, "CSS": 36706, "Java": 19136, "MDX": 17066, "Kotlin": 14825, "C#": 14046, "Makefile": 3863, "Shell": 2824, "Smarty": 1822, "Dockerfile": 236}
package org.gofeatureflag.openfeature.exception open class InvalidOptions(): GoFeatureFlagException() { }
8
Go
96
990
39ea466985dca3a9915c28ac9222cf61b0bcde6d
106
go-feature-flag
MIT License
libraries/rib-base/src/androidTest/java/com/badoo/ribs/test/util/ribs/child/TestChildInteractor.kt
fmontesino
337,463,518
true
{"Kotlin": 1194537}
package com.badoo.ribs.test.util.ribs.child import com.badoo.ribs.clienthelper.interactor.Interactor import com.badoo.ribs.core.modality.BuildParams class TestChildInteractor( buildParams: BuildParams<Nothing?> ) : Interactor<TestChild, TestChildView>( buildParams = buildParams )
0
Kotlin
0
0
0ffeabef7928bb94d186baa5b8d94616f77c6a01
291
RIBs
Apache License 2.0
app/src/main/java/com/lolo/io/onelist/core/data/di/AppModule.kt
lolo-io
198,519,184
false
{"Kotlin": 212665}
package com.lolo.io.onelist.core.data.di import androidx.room.Room import com.lolo.io.onelist.MainActivityViewModel import com.lolo.io.onelist.core.data.file_access.FileAccess import com.lolo.io.onelist.core.data.reporitory.OneListRepository import com.lolo.io.onelist.core.data.shared_preferences.SharedPreferencesHelp...
16
Kotlin
25
84
2d91b4a8ce7e4dfcb38532dfad89cf9df3b5fe04
3,661
OneList
MIT License
oldAndroidProjects/PackageM3/app/src/main/java/com/example/packagem3/feature/artist/MyArtistScreen.kt
shivathapaa
800,628,391
false
{"Kotlin": 3353288, "Shell": 2341}
package com.example.packagem3.feature.artist import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.material3.Text import androidx.compose.runtime.Composable import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier @Composable fun My...
0
Kotlin
0
0
442ac0be8d0d619e9abf6abb62249a06c1cd4320
529
Android-Practice-Projects
The Unlicense
worldwind/src/jvmCommonMain/kotlin/earth/worldwind/ogc/GpkgLayerFactory.kt
WorldWindEarth
488,505,165
false
{"Kotlin": 2723825, "JavaScript": 459619, "HTML": 108987, "CSS": 8778}
package earth.worldwind.ogc import earth.worldwind.layer.RenderableLayer import earth.worldwind.layer.mercator.MercatorTiledSurfaceImage import earth.worldwind.ogc.gpkg.AbstractGeoPackage import earth.worldwind.ogc.gpkg.GeoPackage import earth.worldwind.shape.TiledSurfaceImage import earth.worldwind.util.LevelSet impo...
24
Kotlin
11
78
38a310bc703051284eb3bddf763a0b62a38b3df2
2,176
WorldWindKotlin
Apache License 2.0
dsl/src/main/kotlin/cloudshift/awscdk/dsl/services/greengrass/CfnResourceDefinitionGroupOwnerSettingPropertyDsl.kt
cloudshiftinc
667,063,030
false
null
@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") package cloudshift.awscdk.dsl.services.greengrass import cloudshift.awscdk.common.CdkDslMarker import kotlin.Boolean import kotlin.String impo...
1
Kotlin
0
0
17c41bdaffb2e10d31b32eb2282b73dd18be09fa
3,050
awscdk-dsl-kotlin
Apache License 2.0
app/src/main/java/com/asynctaskcoffee/tinderlikecardstack/ui/social/MainTestModel.kt
AsynctaskCoffee
319,157,503
false
null
package com.asynctaskcoffee.tinderlikecardstack.ui.social class MainTestModel( var userName: String, var userImage: String, var userGender: Int, var userAgeLastSeen: String ){ override fun toString(): String { return "userName: $userName userImage: $userImage" } }
1
Kotlin
1
17
641411ba04c6204058c9fbb624fef8ee392a02f7
297
TinderLikeCardStack
Apache License 2.0
instrumentation/spring/spring-data/spring-data-3.0/kotlin-testing/src/test/kotlin/io/opentelemetry/javaagent/instrumentation/spring/data/v3_0/repository/CustomerRepository.kt
open-telemetry
210,933,087
false
{"Java": 12306411, "Groovy": 799019, "Kotlin": 115592, "Scala": 107317, "Lex": 14938, "JavaScript": 14173, "Dockerfile": 11818, "HTML": 5175, "Batchfile": 889, "Python": 639, "Shell": 514, "FreeMarker": 367, "Mustache": 286}
/* * Copyright The OpenTelemetry Authors * SPDX-License-Identifier: Apache-2.0 */ package io.opentelemetry.javaagent.instrumentation.spring.data.v3_0.repository import org.springframework.data.repository.kotlin.CoroutineCrudRepository import org.springframework.stereotype.Repository @Repository interface Customer...
444
Java
839
1,921
d156afb48bbbc642785b64c2ae338bee1b6b5876
373
opentelemetry-java-instrumentation
Apache License 2.0
app/src/main/java/com/raturu/pertaminanow/data/source/remote/response/GetPromosResponse.kt
Raturu
128,503,967
false
{"Kotlin": 126787}
package com.raturu.pertaminanow.data.source.remote.response import com.google.gson.annotations.SerializedName import com.raturu.pertaminanow.data.model.Location import com.raturu.pertaminanow.data.model.Promo import com.raturu.pertaminanow.data.model.Spbu import com.raturu.pertaminanow.data.source.remote.toDate /** ...
0
Kotlin
0
0
66281540936887bf628d9789bbca077d67fa7c0a
1,951
pertamina-now-android
Apache License 2.0
app/src/main/java/hiendao/moviefinder/domain/model/Movie.kt
HienDao14
826,173,311
false
{"Kotlin": 469154}
package hiendao.moviefinder.domain.model import hiendao.moviefinder.util.Category data class Movie( val id: Int, val adult: Boolean, val backdropPath: String, val genreIds: List<Int>, val originalLanguage: String, val originalTitle: String, val overview: String, val popularity: Double...
0
Kotlin
1
0
00b2e8d262ff203ef8b409e92298013f908a8517
892
Movie-Discover
MIT License
app/src/main/java/com/suda/datetimewallpaper/ui/WebActivity.kt
ghbhaha
181,253,319
false
null
package com.suda.datetimewallpaper.ui import android.app.Activity import android.content.Intent import android.os.Bundle import android.webkit.JavascriptInterface import android.webkit.WebChromeClient import android.webkit.WebSettings import android.webkit.WebView import android.widget.ProgressBar import android.widge...
0
Kotlin
0
4
3b745cbcfde56eaa3efeafd49043e3a035117b25
3,983
DateTimewallpaper
MIT License
nav/safeargs/common/src/com/android/tools/idea/nav/safeargs/psi/java/LightArgsClass.kt
JetBrains
60,701,247
false
{"Kotlin": 53054415, "Java": 43443054, "Starlark": 1332164, "HTML": 1218044, "C++": 507658, "Python": 191041, "C": 71660, "Lex": 70302, "NSIS": 58238, "AIDL": 35382, "Shell": 29838, "CMake": 27103, "JavaScript": 18437, "Smali": 7580, "Batchfile": 7357, "RenderScript": 4411, "Clean": 3522, "Makefile": 2495, "IDL": 19}
/* * Copyright (C) 2020 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
5
Kotlin
227
948
10110983c7e784122d94c7467e9d243aba943bf4
5,996
android
Apache License 2.0
guardian/src/main/java/com/guardianconnect/model/api/VPNCredentials.kt
GuardianFirewall
613,794,030
false
{"Kotlin": 304235, "Shell": 5798}
package com.guardianconnect.model.api import com.google.gson.annotations.SerializedName class VPNCredentials { @SerializedName("subscriber-credential") var subscriberCredential: String? = null @SerializedName("api-auth-token") var apiAuthToken: String? = null }
5
Kotlin
2
4
af4854da6ebfac9339df4cdff94ddece2ac97126
281
GuardianConnect-Android
MIT License
cottontaildb-client/src/main/kotlin/org/vitrivr/cottontail/core/database/Name.kt
vitrivr
160,775,368
false
{"Kotlin": 2741089, "TypeScript": 98011, "HTML": 38965, "ANTLR": 23679, "CSS": 8582, "SCSS": 1690, "JavaScript": 1441, "Dockerfile": 548}
package org.vitrivr.cottontail.core.database /** * A [Name] that identifies a DBO used within Cottontail DB. * * @author <NAME> * @version 1.2.0 */ sealed interface Name: Comparable<Name> { companion object { /* Delimiter between name components. */ const val DELIMITER = "." /* Chara...
7
Kotlin
18
26
766dedaf1f212796e479ed0c06bf107cc5a5b2ce
13,168
cottontaildb
MIT License
limp/src/commonMain/kotlin/dev/bitspittle/limp/parser/Parser.kt
bitspittle
583,402,131
false
null
package dev.bitspittle.limp.parser interface Parser<T: Any> { fun tryParse(ctx: ParserContext): ParseResult<T>? }
1
Kotlin
0
0
551cbe3fe06f9bdb630eb81d2f6a00b387b62d6b
118
limp
MIT License
java/compiler/impl/src/com/intellij/packaging/impl/artifacts/workspacemodel/BridgeUtils.kt
BeepBoopSkdaPow
362,277,946
true
null
// Copyright 2000-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.packaging.impl.artifacts.workspacemodel import com.intellij.openapi.compiler.JavaCompilerBundle import com.intellij.openapi.project.Project import com.intell...
0
null
0
0
5c0be0af8ac79cd0931d24a079778a4ed3fd4560
3,453
intellij-community
Apache License 2.0
KotlinMultiplatform/XFullStack/server/src/main/kotlin/com/pradyotprakash/xfullstack/core/converter/convertToUserResponse.kt
pradyotprksh
385,586,594
false
{"Kotlin": 2946772, "Dart": 1066884, "Python": 321205, "Rust": 180589, "Swift": 149624, "C++": 113494, "JavaScript": 103891, "CMake": 94132, "HTML": 57188, "Go": 45704, "CSS": 18615, "SCSS": 17864, "Less": 17245, "Ruby": 13609, "Dockerfile": 9772, "C": 8043, "Shell": 7657, "PowerShell": 3045, "Nix": 2616, "Makefile": 1...
package com.pradyotprakash.xfullstack.core.converter import com.pradyotprakash.xfullstack.core.data.parseToUserInfoResponse import com.pradyotprakash.xfullstack.data.chat.ChatDataSource import com.pradyotprakash.xfullstack.data.follow.FollowDataSource import com.pradyotprakash.xfullstack.data.user.User import core.mod...
0
Kotlin
11
24
da2054de505260bdfa5ffa6d67674f0fa5ba8d3c
1,505
development_learning
MIT License
app/src/main/java/com/stslex93/notes/ui/widget/ComposeCustomTextView.kt
stslex
376,845,384
false
null
package com.stslex93.notes.ui.widget import android.content.Context import android.util.AttributeSet import androidx.compose.animation.core.LinearOutSlowInEasing import androidx.compose.animation.core.animateIntAsState import androidx.compose.animation.core.tween import androidx.compose.foundation.clickable import and...
1
Kotlin
1
2
daa3dfe56b2655dc9ad92011733f8120e37c2669
1,797
Notes
Apache License 2.0
app/src/main/java/edumate/app/domain/repository/StudentsRepository.kt
mubashirpa
605,945,315
false
{"Kotlin": 833094}
package edumate.app.domain.repository import edumate.app.data.remote.dto.UserProfileDto interface StudentsRepository { /** * Adds a user as a student of a course. * @param courseId Identifier of the course to create the student in. * @param userId Identifier of the student to create. */ s...
0
Kotlin
0
0
bdd56d3e03192c3b002916a1274844739ea6f225
1,333
Edumate
Apache License 2.0
Themes-example/Android/app/src/main/java/cn/jiguang/imuisample/themes/MainActivity.kt
jpush
91,675,117
false
null
package cn.jiguang.imuisample.themes import android.content.Intent import android.databinding.DataBindingUtil import android.support.v7.app.AppCompatActivity import android.os.Bundle import android.view.View import cn.jiguang.imuisample.R import cn.jiguang.imuisample.databinding.ActivityMainBinding class MainActivit...
8
Swift
20
65
277f32851ca0bf001205fbb6ab6d58d8cba32308
1,133
aurora-imui-examples
MIT License
jext-datadog-apm/src/main/kotlin/kr/jadekim/jext/apm/datadog/extensions.kt
jdekim43
421,788,472
false
null
package kr.jadekim.jext.apm.datadog import io.opentracing.Span import io.opentracing.SpanContext import io.opentracing.Tracer import io.opentracing.propagation.Format import io.opentracing.propagation.TextMap import io.opentracing.propagation.TextMapAdapter import io.opentracing.propagation.TextMapExtract import kotli...
0
Kotlin
1
0
f821862ee1b4b2d6857af12714ff03a7ef3544a7
1,600
jext
Apache License 2.0
test/resources/includes/expexcted_variations.kts
ilanpillemer
112,200,760
true
{"Kotlin": 46450, "Shell": 19766}
println("Let's resolve includes!") fun include_1() = println("include_1") fun include_2() = println("include_2") fun include_3() = println("include_3") fun include_4() = println("include_4") include_1() include_2() include_3() include_4() println("wow, so many includes")
0
Kotlin
0
0
e26c02612f8213b147b27d4f44f115bd44f45ca1
281
kscript
MIT License
app/src/main/java/com/elprograstinador/blockbuster/BlockbusterApp.kt
ElPrograstinador
605,281,257
false
null
package com.elprograstinador.blockbuster class BlockbusterApp { }
0
Kotlin
0
0
35c2aed51257e8fbda9969b88df681897e1100b3
66
Blockbuster
MIT License
app/src/androidTest/java/org/simple/clinic/overdue/AppointmentSyncAndroidTest.kt
rakshakhegde
164,807,065
true
{"Kotlin": 1462065, "C": 680052, "Java": 8232, "Makefile": 635}
package org.simple.clinic.overdue import android.support.test.runner.AndroidJUnit4 import com.f2prateek.rx.preferences2.Preference import io.reactivex.Single import org.junit.Before import org.junit.Rule import org.junit.runner.RunWith import org.simple.clinic.AuthenticationRule import org.simple.clinic.TestClinicApp ...
0
Kotlin
1
0
d4835e69b68a9f5441736faaed6b06c8f992350c
2,096
simple-android
MIT License
src/main/kotlin/org/shardscript/semantics/infer/StringInstantiation.kt
shardscript
301,230,998
false
{"Kotlin": 1176823, "ANTLR": 8647}
package org.shardscript.semantics.infer import org.shardscript.semantics.core.* class StringInstantiation : SingleTypeInstantiation { override fun apply( ctx: SourceContext, errors: LanguageErrors, args: List<Ast>, parameterized: ParameterizedSymbol, explicitTypeArgs: List<...
10
Kotlin
0
6
b3a8ae3fa77031bab40292b489d9c721448bb5d4
2,497
shardscript
MIT License
commoncomposeui/src/jvmTest/kotlin/uitests/base/composeappsetup/SlackKoinTest.kt
oianmol
528,898,439
false
{"Kotlin": 752408, "Swift": 113141, "Ruby": 11800, "Shell": 587, "Objective-C": 486, "C": 1}
package uitests.base.composeappsetup import android.content.Context import androidx.test.platform.app.InstrumentationRegistry import dev.baseio.database.SlackDB import dev.baseio.grpc.IGrpcCalls import dev.baseio.slackclone.data.injection.viewModelDelegateModule import dev.baseio.slackclone.platformModule import dev.b...
3
Kotlin
21
235
143f06c11b757641fd3e67809f57dee9f2ffd04b
1,559
SlackComposeMultiplatform
Apache License 2.0
keel-api/src/main/kotlin/com/netflix/spinnaker/keel/api/verification/VerificationRepository.kt
titirigaiulian
360,858,312
true
{"Kotlin": 2577691, "Java": 20143, "Shell": 1691, "Slim": 359}
package com.netflix.spinnaker.keel.api.verification import com.netflix.spinnaker.keel.api.DeliveryConfig import com.netflix.spinnaker.keel.api.Environment import com.netflix.spinnaker.keel.api.Verification import com.netflix.spinnaker.keel.api.artifacts.DeliveryArtifact import com.netflix.spinnaker.keel.api.artifacts....
0
null
0
0
fe94d4cae0f4048ed48d0c8cf38893b2a5d20622
3,074
keel
Apache License 2.0
src/main/java/metifikys/kotlin/utils/extends/StringExtends.kt
Metifikys
134,952,116
false
{"Kotlin": 2206}
package metifikys.kotlin.utils.extends import java.io.File fun String.getFileFromResources() : File { val classLoader = this::javaClass.javaClass.classLoader return classLoader.getResource(this).path.toFile() } fun String.toFile() = File(this)
0
Kotlin
0
0
95bdd382677637c6c9a73b6dd6195b21162b61fa
255
KotlinUtils
Apache License 2.0
app/src/test/java/com/nab/weatherforecast/ui/DailyForecastViewModelTest.kt
phuongnguyen2302
517,059,024
false
null
package com.nab.weatherforecast.ui import androidx.arch.core.executor.testing.InstantTaskExecutorRule import androidx.lifecycle.Observer import com.nab.weatherforecast.domain.DailyForecast import com.nab.weatherforecast.domain.DailyForecastInputException import com.nab.weatherforecast.domain.DailyForecastNetworkExcept...
0
Kotlin
0
0
76179d8c809481a633e4dab8084365d51e4d2cd4
6,830
weather_forecast
Apache License 2.0
src/main/kotlin/com/xy/designpatterns/adapter/classdiagram/objectadapter/Adaptee.kt
monkey1992
482,294,811
false
{"Kotlin": 29205}
package com.xy.designpatterns.adapter.classdiagram.objectadapter /** * 被适配者,即需要被适配的类 */ class Adaptee { fun method() { println("method invoked") } }
0
Kotlin
0
1
0e9a3889ec2fc915fad8c080c68469791b8a5593
168
XyDesignPatterns
Apache License 2.0
src/main/kotlin/net/johnpgr/craftingtableiifabric/blocks/ContainerInfo.kt
johnpgr
750,016,272
false
{"Kotlin": 60523, "Java": 2074}
@file:Suppress("UNCHECKED_CAST") package net.johnpgr.craftingtableiifabric.blocks import net.fabricmc.fabric.api.screenhandler.v1.ExtendedScreenHandlerType import net.johnpgr.craftingtableiifabric.CraftingTableIIFabric import net.minecraft.client.gui.screen.ingame.HandledScreen import net.minecraft.client.gui.screen....
0
Kotlin
0
0
59755e57cea79c81fb5147afeac38e51493154b4
2,154
craftingtable-ii-refabricated
MIT License
dokka-subprojects/plugin-javadoc/src/main/kotlin/org/jetbrains/dokka/javadoc/pages/JavadocIndexExtra.kt
Kotlin
21,763,603
false
{"Text": 4, "Gradle Kotlin DSL": 231, "Java Properties": 41, "Markdown": 102, "Shell": 12, "Ignore List": 10, "Batchfile": 9, "Git Attributes": 2, "JSON": 12, "Kotlin": 1142, "TOML": 2, "YAML": 12, "HTML": 145, "SVG": 85, "CSS": 36, "Gradle": 15, "Java": 22, "JavaScript": 28, "Diff": 3, "XML": 13, "INI": 1, "Maven POM"...
/* * Copyright 2014-2024 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. */ package org.jetbrains.dokka.javadoc.pages import org.jetbrains.dokka.model.Documentable import org.jetbrains.dokka.model.properties.ExtraProperty import org.jetbrains.dokka.pages.ContentNode public data clas...
1
null
1
1
09437c33bae16dd6432129db7b5706577103d3ba
562
dokka
Apache License 2.0
app/src/main/java/com/qartf/popularmovies/domain/DeleteMovieUseCase.kt
QArtur99
189,873,484
false
null
package com.qartf.popularmovies.domain import com.qartf.popularmovies.data.repository.Repository interface DeleteMovieUseCase { suspend operator fun invoke(movieItemId: String) } class DeleteMovieUseCaseImpl(private val repository: Repository) : DeleteMovieUseCase { override suspend fun invoke(movieItemId: S...
0
Kotlin
2
1
c1207bbd372ee14851fc9ed5f505a8a74567b7b6
375
PopularMovies_KT
Apache License 2.0
app/src/main/java/com/example/mvi/GetPosts.kt
YarZav
789,844,481
false
{"Kotlin": 4918}
package com.example.mvi import com.example.mvi.api.PostApi import com.example.mvi.network.model.Post import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.flow import java.lang.Exception class GetPosts( private val postApi: PostApi ) { fun execute(): Flow<DataState<List<Post>>> { return f...
0
Kotlin
0
0
6061a73e6dbfd9942f5e05d585c8c02914d4476f
772
MVI
Apache License 2.0
app/src/main/kotlin/com/rayfantasy/icode/util/FileUtil.kt
javaljj
50,779,104
true
{"Java": 110241, "Kotlin": 109767, "CSS": 701}
package com.rayfantasy.icode.util import java.io.* import java.util.* /** * Created by Allen on 2015/12/7 0007. */ object FileUtil { private val LINE_BREAK = System.getProperty("line.separator", "\n") fun readObject(name: String): Any? { var obj: Any? = null val file = File(File.separator +...
0
Java
0
0
e06ce926c6980bf4186f58777812e441e7e2c5f5
4,493
iCode-Android
Apache License 2.0
android/app/src/main/java/com/emergetools/hackernews/ui/preview/AppStoreSnapshot.kt
EmergeTools
682,684,464
false
{"Kotlin": 140739, "Swift": 30095, "Ruby": 5422}
package com.emergetools.hackernews.ui.preview import android.content.res.Configuration.UI_MODE_NIGHT_YES import androidx.compose.ui.tooling.preview.Devices import androidx.compose.ui.tooling.preview.Preview import com.emergetools.snapshots.annotations.EmergeAppStoreSnapshot @EmergeAppStoreSnapshot @Preview(device = D...
3
Kotlin
2
14
62e148411ab3768e1d7aabf0b99e60965c53f9b6
433
hackernews
MIT License
api-gen-runtime/src/jvmMain/kotlin/sh/christian/ozone/api/runtime/JsonContentSerializer.jvm.kt
christiandeange
611,550,055
false
null
@file:Suppress("EXPECT_ACTUAL_CLASSIFIERS_ARE_IN_BETA_WARNING") package sh.christian.ozone.api.runtime import kotlinx.serialization.KSerializer import kotlinx.serialization.descriptors.PrimitiveKind import kotlinx.serialization.descriptors.PrimitiveSerialDescriptor import kotlinx.serialization.descriptors.SerialDescr...
1
null
6
34
df457f4fcedca8e621c99689a79b46812023bffd
1,044
ozone
MIT License