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
base/src/main/java/com/aboback/base/view/BaseDialog.kt
jhbxyz
233,553,341
false
{"Kotlin": 231460}
package com.aboback.base.view import android.os.Bundle import android.view.LayoutInflater import androidx.appcompat.app.AppCompatActivity import androidx.appcompat.app.AppCompatDialog import androidx.databinding.DataBindingUtil import androidx.databinding.ViewDataBinding import androidx.lifecycle.ViewModelProvider imp...
0
Kotlin
28
144
5d6b158c463596ac811adfda094ec5ab28f585c9
1,588
WanAndroidJetpack
Apache License 2.0
buildSrc/src/main/kotlin/io/github/rhdunn/intellij/IntellijProductType.kt
rhdunn
62,201,764
false
null
// Copyright (C) 2023 <NAME>. SPDX-License-Identifier: Apache-2.0 package io.github.rhdunn.intellij /** * The IntelliJ product type. * * @param productName The name of the product. * * @see <a href="https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#intellij-extension-type">Gradle Intel...
47
Kotlin
4
24
dff41fc0d74586041cfab6bc2575d192e65ccfc0
1,154
xquery-intellij-plugin
Apache License 2.0
shared/src/commonMain/kotlin/data/remote/model/SyncResponse.kt
ChromeSD22159
825,951,465
false
{"Kotlin": 762084, "Swift": 234835}
package data.remote.model import kotlinx.serialization.Serializable @Serializable data class SyncResponse( val message: String )
2
Kotlin
0
1
9f6048bb4321f9459bf1710176ad8691a4ffe59a
134
BauchGlueck
Apache License 2.0
app/src/main/java/com/zipdabang/zipdabang_android/module/guide/ui/FlipCard.kt
zipdabang
666,457,004
false
{"Kotlin": 1553856}
package com.zipdabang.zipdabang_android.module.guide.ui import androidx.compose.animation.core.FastOutSlowInEasing import androidx.compose.animation.core.animateFloatAsState import androidx.compose.animation.core.tween import androidx.compose.foundation.BorderStroke import androidx.compose.foundation.Image import andr...
6
Kotlin
1
2
b9d7e17689afbc19231ba679412b7f390b4cbcfb
4,978
android
The Unlicense
app/src/main/java/io/github/alemazzo/sushime/ui/screens/order_resume/OrderResumeScreen.kt
alemazzo
500,416,329
false
{"Kotlin": 195244}
package io.github.alemazzo.sushime.ui.screens.order_resume import android.os.Bundle import android.util.Log import androidx.compose.foundation.background import androidx.compose.foundation.layout.* import androidx.compose.foundation.lazy.LazyColumn import androidx.compose.foundation.lazy.items import androidx.compose....
0
Kotlin
0
0
d7d91440517f3cd888e967a740cbd881293b7b32
5,926
sushi-me
Apache License 2.0
app/src/main/java/org/fattili/luckymusic/data/constant/ConstantParam.kt
dengzhenli
354,794,474
false
null
package org.fattili.luckymusic.data.constant /** * 2020/10/28 * @author dengzhenli * 常量池 * */ object ConstantParam { const val SONGS_TYPE_LOCAL = -1 // 歌单类型 -- 本地歌单 const val SONGS_TYPE_MARK = -2 // 歌单类型 -- 收藏歌单 const val SONGS_TYPE_SONGS = 1// 歌单类型 -- 普通歌单 const val SONGS_ID_LOCAL = 1L// 歌单默认ID...
1
null
0
1
869d5714a1a9fa4c131da4e833dfcb0856bc3549
380
LuckyMusic
Apache License 2.0
verik-compiler/src/main/kotlin/io/verik/compiler/specialize/ElementSpecializer.kt
frwang96
269,980,078
false
null
/* * Copyright (c) 2021 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
0
Kotlin
0
3
70f9d58061350ca01db0e7c226de50d3b532229e
1,734
verik
Apache License 2.0
komga/src/main/kotlin/org/gotson/komga/domain/model/BookPageContent.kt
Deathnerd
247,069,329
true
{"Kotlin": 204548, "Vue": 120470, "TypeScript": 32622, "TSQL": 3392, "JavaScript": 2489, "Shell": 1470, "HTML": 704, "PLSQL": 536, "Dockerfile": 391}
package org.gotson.komga.domain.model class BookPageContent( val number: Int, val content: ByteArray, val mediaType: String )
0
null
0
0
dcad66eb672862da65842eb7178d71a468e07971
138
komga
MIT License
src/test/kotlin/no/nav/arbeidsforhold/config/mocks/aaregMocks.kt
navikt
175,394,209
false
{"Kotlin": 57979, "Dockerfile": 263}
package no.nav.arbeidsforhold.config.mocks import io.ktor.client.engine.mock.MockRequestHandleScope import io.ktor.client.engine.mock.respond import io.ktor.client.engine.mock.respondError import io.ktor.client.request.HttpRequestData import io.ktor.http.ContentType import io.ktor.http.HttpHeaders import io.ktor.http....
2
Kotlin
0
1
f54ca6f7870760d64d63b879cbca51777c11044a
1,100
arbeidsforhold-api
MIT License
src/main/kotlin/sosteam/deamhome/domain/account/handler/WishListResolver.kt
S-OSTeam
686,862,885
false
{"Kotlin": 162047, "Dockerfile": 158}
package sosteam.deamhome.domain.account.handler import org.springframework.graphql.data.method.annotation.Argument import org.springframework.graphql.data.method.annotation.MutationMapping import org.springframework.graphql.data.method.annotation.QueryMapping import org.springframework.web.bind.annotation.RestControll...
4
Kotlin
0
0
37369e8d20e931aed718dfebcd3401d30d456425
1,325
shop-api
MIT License
ktoggl-core/src/main/kotlin/org/ktoggl/TimeUtilProvider.kt
krystiankaluzny
146,050,692
false
null
package org.ktoggl interface TimeUtilProvider { fun toEpochSecond(str: String): Long fun toEpochSecond(str: String?): Long? fun secondsToOffsetDateTimeStr(seconds: Long): String fun secondsToOffsetDateTimeStr(seconds: Long?): String? fun secondsToLocalDateStr(seconds: Long): String fun secondsT...
0
Kotlin
0
0
8f40a65cb14a5001f1f5ca352eff29352ae2950b
395
ktoggl
MIT License
frameworks/payload.core/src/main/kotlin/com/qomolangma/frameworks/payload/core/Payload.kt
highsoft-shanghai
386,574,483
false
null
package com.qomolangma.frameworks.payload.core import com.qomolangma.frameworks.payload.core.MapFieldType.Companion.asMap class Payload(private val value: Any) { operator fun <I> get(type: FieldType<I>): I { return type.from(value) } operator fun <I> get(key: String?, type: FieldType<I>): I { ...
0
Kotlin
2
4
d2622ea653baccd9a68cedc0b3daf60957f00dae
895
qomolangma
MIT License
app/src/androidTest/java/com/manuege/boxfitapp/tojson/KtToJsonTest.kt
ManueGE
124,768,375
false
null
package com.manuege.boxfitapp.tojson import com.manuege.boxfit.BoxfitSerializer import com.manuege.boxfitapp.AbstractObjectBoxTest import com.manuege.boxfitapp.model.java.Child import com.manuege.boxfitapp.model.java.Parent import com.manuege.boxfitapp.model.java.ToJsonTestObject import com.manuege.boxfitapp.model.kot...
4
null
2
22
2bcd8a89e6e71c7b90f6833c190dec116ab7e480
7,041
Boxfit
MIT License
features/third_party/androidx/material/extensions/src/main/java/com/ruslan/hlushan/third_party/androidx/material/extensions/FloatingActionButtonExtensions.kt
game-x50
361,364,864
false
null
@file:Suppress("PackageNaming") package com.ruslan.hlushan.third_party.androidx.material.extensions import com.google.android.material.floatingactionbutton.FloatingActionButton fun FloatingActionButton.show(show: Boolean) = if (show) { this.show() } else { this.hide() ...
22
Kotlin
0
0
159a035109fab5cf777dd7a60f142a89f441df63
321
android_client_app
Apache License 2.0
src/test/kotlin/no/nav/fo/veilarbregistrering/arbeidssoker/meldekort/MeldekortServiceTest.kt
navikt
131,013,336
false
{"Kotlin": 892366, "PLpgSQL": 853, "PLSQL": 546, "Dockerfile": 87}
package no.nav.fo.veilarbregistrering.arbeidssoker.meldekort import io.mockk.every import io.mockk.mockk import no.nav.fo.veilarbregistrering.bruker.FoedselsnummerTestdataBuilder import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test import java.time...
17
Kotlin
5
6
68dabd12cfa5af1eb0a3af33fd422a3e755ad433
1,409
veilarbregistrering
MIT License
src/main/kotlin/net/fabricmc/example/server/uti/Utils.kt
DasPhiller
853,029,836
false
{"Kotlin": 9671, "Java": 8520}
package net.fabricmc.example.server.uti import kotlinx.coroutines.cancel import net.fabricmc.example.server.lives.getConfigValue import net.fabricmc.example.server.playtime.getPlayValue import net.minecraft.server.network.ServerPlayerEntity import net.silkmc.silk.core.task.infiniteMcCoroutineTask import net.silkmc.sil...
0
Kotlin
0
1
99d2f0269852e6641b88d5c202059d22e7f1c4f9
1,021
Klassenpvp
Creative Commons Zero v1.0 Universal
src/main/kotlin/io/jvaas/dsl/html/attribute/AttrSrcset.kt
JVAAS
304,887,456
false
null
package io.jvaas.dsl.html.attribute // generated by HtmlDslGenerator.kt interface AttrSrcset : Attr { var srcset: String? get() = attributes["srcset"] set(value) { value?.let { attributes["srcset"] = it } } }
0
Kotlin
2
3
e6e17b834673e8755ed4cbabacabf9df2a0ffbae
229
jvaas-html
Apache License 2.0
thimble/src/main/kotlin/com/infinum/thimble/extensions/Float.kt
infinum
291,794,084
false
null
package com.infinum.thimble.extensions import android.content.res.Resources import kotlin.math.roundToInt internal fun Float.toPx(): Int = (this * Resources.getSystem().displayMetrics.density).roundToInt() internal fun Float.toHalf(): Float = this / 2.0f @Suppress("MagicNumber") internal fun Float.fromPerce...
0
Kotlin
0
0
8da055d449a4b5805620af5bf4f9d7be7f275373
489
android-thimble
Apache License 2.0
compiler/testData/diagnostics/tests/multiplatform/topLevelFun/headerDeclarationWithBody.fir.kt
JetBrains
3,432,266
false
{"Kotlin": 78963920, "Java": 6943075, "Swift": 4063829, "C": 2609498, "C++": 1947933, "Objective-C++": 170573, "JavaScript": 106044, "Python": 59695, "Shell": 32949, "Objective-C": 22132, "Lex": 21352, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML...
// MODULE: m1-common // FILE: common.kt <!CONFLICTING_OVERLOADS, CONFLICTING_OVERLOADS{METADATA}, NO_ACTUAL_FOR_EXPECT{JVM}!>expect fun foo()<!> <!NO_ACTUAL_FOR_EXPECT{JVM}!><!CONFLICTING_OVERLOADS, CONFLICTING_OVERLOADS{METADATA}, EXPECTED_DECLARATION_WITH_BODY!>expect fun foo()<!> {}<!> <!NO_ACTUAL_FOR_EXPECT{JVM}...
184
Kotlin
5691
48,625
bb25d2f8aa74406ff0af254b2388fd601525386a
382
kotlin
Apache License 2.0
News-App-Starter/app/src/main/java/br/com/carvalho/newsappstarter/data/local/model/Source.kt
juliocarvalho2019
650,383,020
false
null
package br.com.carvalho.newsappstarter.data.local.model import java.io.Serializable data class Source( val id: Any, val name: String ):Serializable
0
Kotlin
0
0
0ad44134eeaa59c07efbbc5c61854e7fde06f63e
157
News-App-Starter-MVVM
Apache License 2.0
save-backend/src/main/kotlin/com/saveourtool/save/backend/repository/TestsSourceVersionRepository.kt
saveourtool
300,279,336
false
{"Kotlin": 3427815, "SCSS": 86430, "JavaScript": 9061, "HTML": 8852, "Shell": 2770, "Smarty": 2608, "Dockerfile": 1366}
package com.saveourtool.save.backend.repository import com.saveourtool.common.entities.TestsSourceSnapshot import com.saveourtool.common.entities.TestsSourceVersion import com.saveourtool.common.spring.repository.BaseEntityRepository import org.springframework.stereotype.Repository /** * Repository for [TestsSourceV...
201
Kotlin
3
38
9d11f7c01c65905f968fba82b9ca5a9f52af88a8
2,489
save-cloud
MIT License
src/main/kotlin/com/github/burrunan/multicache/internal/BuildCacheDescriber.kt
burrunan
288,141,892
false
null
package com.github.burrunan.multicache.internal import org.gradle.caching.BuildCacheServiceFactory class BuildCacheDescriber : BuildCacheServiceFactory.Describer { var type: String = "" var params = mutableMapOf<String, String>() override fun type(type: String): BuildCacheServiceFactory.Describer = apply...
2
Kotlin
0
0
93a11cd6f3fb8bb5f4d6bd93958c77892741eb7f
591
gradle-multi-cache
Apache License 2.0
app/src/main/kotlin/com/stefanodacchille/playground/State.kt
futtetennista
37,577,198
false
null
package com.stefanodacchille.playground open class State() { data class Init(val displayNumber: DisplayNumber) : State() data class Operation(val left: Double, val action: Action, val displayNumber: DisplayNumber, val latestRightOperand: Double ...
0
Kotlin
0
2
59d7b04ffdd898ef893c6484795d7639151dfc7b
515
calculator-kotlin-android
MIT License
app/src/main/java/com/example/heartrate_monitor/db/ExerciseListViewmodel.kt
jaakaappi
625,001,053
false
null
package com.example.heartrate_monitor.db import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.example.heartrate_monitor.db.model.ExerciseModel import dagger.hilt.android.lifecycle.HiltViewModel import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.launch import javax.inject.I...
0
Kotlin
0
0
74788e766e1af4a0ee360de2bf494dd9fd5c09ef
710
jetpack-app-template
MIT License
designpatterns/src/test/kotlin/com/sinlov/kotlin/design/patterns/structural/adapter/CelsiusTemperatureTest.kt
ljdbj100
341,504,367
true
{"Kotlin": 68514, "Java": 10136, "Makefile": 5219}
package com.sinlov.kotlin.design.patterns.structural.adapter import io.kotest.core.spec.style.FunSpec import io.kotest.matchers.shouldBe class CelsiusTemperatureTest : FunSpec({ test("temperature") { val temperature = CelsiusTemperature(22.1) temperature.temperature shouldBe 22.1 tempera...
0
null
0
0
d708294cf3378b0391b0b019330661389361c5bc
545
kotlin-playground
Apache License 2.0
kotlin-mui-icons/src/main/generated/mui/icons/material/Insights.kt
JetBrains
93,250,841
false
null
// Automatically generated - do not modify! @file:JsModule("@mui/icons-material/Insights") package mui.icons.material @JsName("default") external val Insights: SvgIconComponent
10
null
5
983
7ef1028ba3e0982dc93edcdfa6ee1edb334ddf35
180
kotlin-wrappers
Apache License 2.0
android/src/main/kotlin/com/fascode/advertising_info/AdvertisingInfoPlugin.kt
pruoo
387,445,244
true
{"Dart": 5112, "Kotlin": 2508, "Ruby": 2345, "Swift": 1985, "Objective-C": 745}
package com.fascode.advertising_info import android.content.Context import android.os.Handler import android.os.Looper import androidx.annotation.NonNull; import com.google.android.gms.ads.identifier.AdvertisingIdClient import io.flutter.embedding.engine.plugins.FlutterPlugin import io.flutter.plugin.common.BinaryMes...
0
Dart
0
0
e7881af51023f186ed3b7333213d96aaaf73e063
2,367
AdvertisingInfo
MIT License
glance/glance/src/test/kotlin/androidx/glance/semantics/SemanticsTest.kt
androidx
256,589,781
false
null
/* * 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
18
null
787
4,563
2c8f7ee9eb6bd033a33c2cf8e22b21dd953accac
1,230
androidx
Apache License 2.0
epoque-test/src/main/kotlin/io/github/uharaqo/epoque/test/EpoqueTest.kt
uharaqo
772,784,876
false
{"Kotlin": 105435}
package io.github.uharaqo.epoque.test import io.github.uharaqo.epoque.api.CallbackHandler import io.github.uharaqo.epoque.api.CommandExecutorOptions import io.github.uharaqo.epoque.api.CommandRouter import io.github.uharaqo.epoque.api.EpoqueEnvironment import io.github.uharaqo.epoque.api.EventStore import io.github.uh...
0
Kotlin
0
0
62634dcc77ecc96b8ae2ddc93ce12491ffcdcc04
2,509
epoque-kt
Apache License 2.0
kotlin-mui-icons/src/main/generated/mui/icons/material/CurrencyPoundTwoTone.kt
JetBrains
93,250,841
false
null
// Automatically generated - do not modify! @file:JsModule("@mui/icons-material/CurrencyPoundTwoTone") @file:JsNonModule package mui.icons.material @JsName("default") external val CurrencyPoundTwoTone: SvgIconComponent
12
Kotlin
145
983
a99345a0160a80a7a90bf1adfbfdc83a31a18dd6
222
kotlin-wrappers
Apache License 2.0
ktmidi-ci/src/commonMain/kotlin/dev/atsushieno/ktmidi/ci/MidiCIDevice.kt
atsushieno
340,913,447
false
{"Kotlin": 888353, "Swift": 600, "HTML": 352, "Shell": 301}
package dev.atsushieno.ktmidi.ci enum class ConnectionChange { Added, Removed } /** * Represents A MIDI-CI Device entity, or a Function Block[*1]. * * [*1] M2-101-UM_v1_2: MIDI-CI specification section 3.1 states: * "Each Function Block that supports MIDI-CI shall have a different MUID and act as a unique...
9
Kotlin
6
69
48792a4826cea47edbec7eabcd62d5a489dd374e
2,988
ktmidi
MIT License
Sprint1/Sprint1_ProblemAnalysis/test/it/unibo/wasteservice/TestWasteService.kt
iss2022-BCR
512,403,748
false
{"Kotlin": 909375, "HTML": 783049, "Java": 201128, "Dart": 160137, "Python": 120310, "Jupyter Notebook": 112065, "CSS": 99806, "Shell": 98883, "Prolog": 97538, "C": 72670, "Batchfile": 52252, "C++": 41915, "CMake": 36931, "JavaScript": 34675, "Dockerfile": 2599, "Swift": 2447, "NSIS": 1540, "Objective-C": 76}
package it.unibo.wasteservice import it.unibo.kactor.ActorBasic import it.unibo.kactor.MsgUtil import it.unibo.kactor.QakContext import unibo.comm22.interfaces.Interaction2021 import unibo.comm22.tcp.TcpClientSupport import unibo.comm22.utils.ColorsOut import unibo.comm22.utils.CommSystemConfig import unibo.comm22.uti...
5
Kotlin
0
3
aa95a3bf4d5cc162b0ae8429d24ad9895496e6c4
9,978
WasteService
MIT License
riistaandroid/src/main/java/fi/riista/mobile/database/room/Migrations.kt
suomenriistakeskus
78,840,058
false
null
package fi.riista.mobile.database.room import androidx.room.migration.Migration import androidx.sqlite.db.SupportSQLiteDatabase object Migrations { val MIGRATION_1_2 = object : Migration(1, 2) { override fun migrate(database: SupportSQLiteDatabase) { database.execSQL("ALTER TABLE mh_permit AD...
0
Kotlin
0
3
0115971fb26453c56eb091e319cabed30decd9bb
563
oma-riista-android
MIT License
app/src/main/java/com/akexorcist/ruammij/ui/component/LoadingContent.kt
akexorcist
772,642,329
false
{"Kotlin": 219396}
package com.akexorcist.ruammij.ui.component import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.fillMaxSize import androidx.compose...
9
Kotlin
30
225
417ec0d0d8d06aeaba7962ca388af29d36e220eb
1,954
ruam-mij-android
Apache License 2.0
typescript-kotlin/src/jsMain/kotlin/typescript/SemicolonPreference.kt
karakum-team
393,199,102
false
{"Kotlin": 6149331}
// Automatically generated - do not modify! @file:Suppress( "NAME_CONTAINS_ILLEGAL_CHARS", "NESTED_CLASS_IN_EXTERNAL_INTERFACE", ) package typescript // language=JavaScript @JsName("""(/*union*/{Ignore: 'ignore', Insert: 'insert', Remove: 'remove'}/*union*/)""") sealed external interface SemicolonPreference ...
0
Kotlin
6
26
188d780966c530ed7385f81248ebac5e5abcc40b
473
types-kotlin
Apache License 2.0
app/src/main/java/org/p2p/wallet/home/ui/wallet/WalletContract.kt
p2p-org
306,035,988
false
null
package org.p2p.wallet.home.ui.wallet import org.p2p.core.crypto.Base58String import org.p2p.uikit.model.AnyCellItem import org.p2p.uikit.utils.text.TextViewCellModel import org.p2p.wallet.common.mvp.MvpPresenter import org.p2p.wallet.common.mvp.MvpView import org.p2p.wallet.common.ui.widget.actionbuttons.ActionButton...
7
Kotlin
16
27
8caa107366b13512266ed975ca9db2a5a4fd396f
2,098
key-app-android
MIT License
main/src/test/kotlin/Main.kt
tlfn
369,547,701
true
{"Java": 1229867, "Kotlin": 15472}
import com.sedmelluq.discord.lavaplayer.player.AudioLoadResultHandler import com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager import com.sedmelluq.discord.lavaplayer.source.AudioSourceManagers import com.sedmelluq.discord.lavaplayer.tools.FriendlyException import com.sedmelluq.discord.lavaplayer.track....
0
Java
1
4
feb03601511a56d1a9d4b78550ecba20dc38203b
1,696
lavaplayer
Apache License 2.0
floatingactionbuttonexpandable/src/main/java/com/tuann/floatingactionbuttonexpandable/FloatingActionButtonExpandable.kt
ps-jimmy
159,119,747
true
{"Kotlin": 10934}
package com.tuann.floatingactionbuttonexpandable import android.content.Context import android.graphics.Bitmap import android.graphics.drawable.Drawable import android.os.Parcel import android.os.Parcelable import android.support.v4.content.ContextCompat import android.support.v7.widget.CardView import android.transit...
0
Kotlin
0
1
bc108ca894101641635c3cdb6eba9437725e56b4
7,439
FloatingActionButtonExpandable
Apache License 2.0
src/main/kotlin/generator/builders/defaultRouting/DefaultRoutingBuilder.kt
OKGenTool
766,121,849
false
{"Kotlin": 169952}
package generator.builders.defaultRouting import com.squareup.kotlinpoet.* import datamodel.DSLOperation import datamodel.Schema import datamodel.compareSchemas import generator.builders.defaultRouting.utils.createOperationStatement import generator.builders.defaultRouting.utils.getExampleImports import generator.buil...
24
Kotlin
0
2
c948dccba6d6cf6f34dd83e66892c23e06f8a560
3,624
okgentool
Apache License 2.0
library/src/main/java/eu/andro/observableevent/EventObserver.kt
rojarand
457,463,311
false
{"Kotlin": 2422}
package eu.andro.observableevent import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.Observer class Event<T>(val payload: T) { private val deliveryHistory = HashSet<String>() fun isDeliveredFor(eventObserverKey: String): Boolean { return deliveryHist...
0
Kotlin
0
0
38de7a1b25915dfcb4303dcb69ac2e8a13c55359
1,394
observableevent
MIT License
app/src/main/java/com/example/jetpackdemo/data/model/bean/MovieCommentTagDetailed.kt
QingTianI
411,199,785
false
null
package com.example.jetpackdemo.data.model.bean data class MovieCommentTagDetailed( val `data`: Data, val paging: Paging ) { data class Data( val cmts: List<Cmt>, val hcmts: List<Any>, val hotIds: List<Int> ) data class Paging( val hasMore: Boolean, val lim...
1
null
1
1
94ec7a142072e97282578f65137c5a6460c7d0e7
1,683
CatEyeDemo
Apache License 2.0
presentation/src/main/kotlin/com/popalay/cardme/injection/AppModule.kt
Popalay
83,484,077
false
null
package com.popalay.cardme.injection import android.content.Context import com.popalay.cardme.App import com.popalay.cardme.presentation.base.navigation.CustomRouter import dagger.Module import dagger.Provides import ru.terrakok.cicerone.Cicerone import ru.terrakok.cicerone.NavigatorHolder import javax.inject.Singleto...
1
Kotlin
3
20
271b0697095ebe5b532726ffb66826243a0b6f3b
712
Cardme
Apache License 2.0
samples/app/gallery/src/main/java/com/badoo/ribs/samples/gallery/rib/root/container/compose/Shape.kt
badoo
170,855,556
false
null
package com.badoo.ribs.samples.gallery.rib.root.container.compose import androidx.compose.foundation.shape.RoundedCornerShape import androidx.compose.material.Shapes import androidx.compose.ui.unit.dp val shapes = Shapes( small = RoundedCornerShape(4.dp), medium = RoundedCornerShape(6.dp), large = Rounde...
34
null
50
162
cec2ca936ed17ddd7720b4b7f8fca4ce12033a89
341
RIBs
Apache License 2.0
soapui-streams/src/main/kotlin/eu/k5/soapui/streams/box/test/TestCaseBox.kt
denninger-eu
244,302,123
false
{"XML": 41, "Maven POM": 17, "Text": 13, "Ignore List": 1, "Markdown": 1, "Kotlin": 397, "YAML": 106, "Java": 5, "Batchfile": 3, "INI": 1, "Gherkin": 5}
package eu.k5.soapui.streams.box.test import eu.k5.soapui.streams.box.Box import eu.k5.soapui.streams.box.BoxImpl.Companion.changed import eu.k5.soapui.streams.box.PropertiesBox import eu.k5.soapui.streams.model.SuuProperties import eu.k5.soapui.streams.model.rest.SuuRestMethod import eu.k5.soapui.streams.model.rest.S...
5
Kotlin
0
0
665e54e4ac65d6c7e9805bb1b44f30f9ec702ce3
5,323
soapui-utils
Apache License 2.0
src/site/pegasis/ta/fetch/tools/time.kt
PegasisForever
224,926,609
false
null
package site.pegasis.ta.fetch.tools import java.time.Instant import java.time.LocalDateTime import java.time.ZoneId import java.time.ZonedDateTime import java.time.format.DateTimeFormatter import java.util.* import kotlin.math.abs val defaultZoneID = ZoneId.of("America/Toronto") fun Long.toZonedDateTime(): ZonedDateT...
1
Kotlin
0
5
61868641952ab6a8a4ba51ac34fe808c00c4dac3
1,215
Fetch-TA-Data
MIT License
apps/toi-oppfolgingsperiode/src/test/kotlin/no/nav/arbeidsgiver/toi/oppfolgingsperiode/OppfolgingsperiodeTest.kt
navikt
379,186,604
false
{"Kotlin": 460771, "Dockerfile": 1380}
package no.nav.arbeidsgiver.toi.oppfolgingsperiode import no.nav.helse.rapids_rivers.testsupport.TestRapid import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test class OppfolgingsperiodeTest { @Test fun `Lesing av oppfølgingsperiodeMelding fra eksternt topic skal produsere ny mel...
2
Kotlin
1
0
85eeaad5639dec74a3ea4476b739beee9aa45a0c
2,112
toi-rapids-and-rivers
MIT License
app/src/test/java/jp/cordea/mvidemo/ui/login/LoginViewModelTest.kt
CORDEA
127,511,069
false
null
package jp.cordea.mvidemo.ui.login import com.google.common.truth.Truth import com.nhaarman.mockito_kotlin.whenever import io.reactivex.Observable import io.reactivex.ObservableTransformer import org.junit.Before import org.junit.Test import org.mockito.Mock import org.mockito.MockitoAnnotations class LoginViewModelT...
0
Kotlin
0
0
3534449c41f4fd376877ffe5ede98ec1cacb7e0c
6,360
MviDemo
Apache License 2.0
jps-plugin/testData/general/KotlinProjectWithEmptyOutputDirInSomeModules/test_module/test/test.kt
JakeWharton
99,388,807
true
null
fun test() { foo() }
179
Kotlin
5640
83
4383335168338df9bbbe2a63cb213a68d0858104
25
kotlin
Apache License 2.0
telegram-bot-core/src/main/kotlin/io/github/dehuckakpyt/telegrambot/model/telegram/PaidMedia.kt
DEHuckaKpyT
670,859,055
false
{"Kotlin": 1719026}
package io.github.dehuckakpyt.telegrambot.model.telegram import com.fasterxml.jackson.`annotation`.JsonSubTypes import com.fasterxml.jackson.`annotation`.JsonTypeInfo import kotlin.String /** * This object describes paid media. Currently, it can be one of * * * [PaidMediaPreview](https://core.telegram.org/bots/api...
0
Kotlin
3
24
5912e61857da3f63a7bb383490730f47f7f1f8c6
1,014
telegram-bot
Apache License 2.0
android/src/main/java/com/getcapacitor/community/applesignin/LoginActivity.kt
no-dap
312,478,637
true
{"Kotlin": 4735, "Swift": 3165, "Java": 1175, "TypeScript": 1066, "Ruby": 922, "Objective-C": 649, "JavaScript": 253}
package com.getcapacitor.community.applesignin import android.annotation.SuppressLint import android.app.Activity import android.content.Intent import android.os.Bundle import android.view.KeyEvent import android.webkit.WebView import com.getcapacitor.community.applesignin.applesignin.R class LoginActivity : Activity...
0
Kotlin
0
0
2e48e4005fae0eeea25bb9c1a242a1201da546df
1,861
apple-sign-in
MIT License
src/main/kotlin/de/raphaelgoetz/astralis/task/TaskHandler.kt
building-tools
787,501,023
false
{"Kotlin": 75464}
package de.raphaelgoetz.astralis.task import java.util.UUID private val taskRegistry: MutableMap<UUID, Task> = mutableMapOf() /** * Registers a new task by its uuid. */ fun Task.register() { taskRegistry[this.uuid] = this } /** * Stop & registration of the task. * @param uuid of the given task */ fun unreg...
3
Kotlin
0
0
2e95f746dcc5ed65babf88a77b54ff10b1a2ced3
649
astralis
Apache License 2.0
octicons/src/commonMain/kotlin/compose/icons/octicons/Squirrel16.kt
DevSrSouza
311,134,756
false
{"Kotlin": 36719092}
package compose.icons.octicons import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter import a...
17
Kotlin
25
571
a660e5f3033e3222e3553f5a6e888b7054aed8cd
5,590
compose-icons
MIT License
octicons/src/commonMain/kotlin/compose/icons/octicons/Squirrel16.kt
DevSrSouza
311,134,756
false
{"Kotlin": 36719092}
package compose.icons.octicons import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter import a...
17
Kotlin
25
571
a660e5f3033e3222e3553f5a6e888b7054aed8cd
5,590
compose-icons
MIT License
app/src/main/java/com/lukasbrand/sharedwallet/data/datasource/AuthenticationRemoteDataSource.kt
LukasBrand
438,420,050
false
{"Kotlin": 180281}
package com.lukasbrand.sharedwallet.data.datasource import com.lukasbrand.sharedwallet.data.datasource.firestore.FirebaseAuthApi import kotlinx.coroutines.CoroutineDispatcher import kotlinx.coroutines.withContext class AuthenticationRemoteDataSource( private val firestoreAuthApi: FirebaseAuthApi, private val ...
0
Kotlin
0
0
e8c29277ceb8745054c70232d9915ed9cf418296
1,743
shared-wallet
MIT License
src/SchoolAPI.kt
DSM-SchoolAPI
134,550,219
false
null
import datastructure.Meal import java.io.BufferedReader import java.io.InputStreamReader import java.net.URL import java.util.ArrayList private val URL_FORMAT = "https://%s/sts_sci_md00_001.do?schulCode=%s&schulCrseScCode=%d&schulKndScScore=0%d&schYm=%d%02d" private fun getResponseDataFromConnection(url: URL): Strin...
0
Kotlin
0
1
4c72936d99b11417c349966edfc1775907076aaf
2,149
schapi-kotlin
Apache License 2.0
src/test/kotlin/com/cultureshock/madeleine/domain/repository/UserRepositoryTest.kt
DDD-Community
401,593,410
false
null
package com.cultureshock.madeleine.domain.repository import com.cultureshock.madeleine.domain.user.User import com.cultureshock.madeleine.domain.user.UserRepository import com.cultureshock.madeleine.rest.controller.SignInController import org.assertj.core.api.Assertions import org.junit.jupiter.api.AfterEach import o...
2
Kotlin
1
4
fc07b03adafd42f7c9c11c8e135c197f24182df8
2,042
CultureShock-Server
MIT License
app/src/main/java/com/github/aicoleman/digimonrxsample/data/remote/HTTPInterceptor.kt
AiColeman
302,268,435
false
null
package com.github.aicoleman.digimon_flow_sample.data.remote import okhttp3.Interceptor import okhttp3.Response class HTTPInterceptor : Interceptor { override fun intercept(chain: Interceptor.Chain): Response { val originalRequest = chain.request() val request = originalRequest .newBui...
0
Kotlin
0
0
7d441b5f2790cf4dbae1f6d08d410b1302c618bb
650
DigimonRxSample
MIT License
io/grpc/src/main/kotlin/io/bluetape4k/grpc/interceptor/ServerInterceptorSupport.kt
debop
625,161,599
false
{"Kotlin": 7504333, "HTML": 502995, "Java": 2273, "JavaScript": 1351, "Shell": 1301, "CSS": 444, "Dockerfile": 121, "Mustache": 82}
package io.bluetape4k.grpc.interceptor import io.grpc.ForwardingServerCall import io.grpc.Metadata import io.grpc.ServerCall import io.grpc.ServerCallHandler import io.grpc.ServerInterceptor import io.grpc.Status /** * Echo the request headers from a client into response headers and trailers. * Useful for testing ...
0
Kotlin
0
1
ce3da5b6bddadd29271303840d334b71db7766d2
3,241
bluetape4k
MIT License
app/src/main/java/ru/dimon6018/metrolauncher/Main.kt
queuejw
659,118,377
false
{"Kotlin": 196328, "Java": 1153}
package ru.dimon6018.metrolauncher import android.app.UiModeManager import android.os.Build import android.os.Bundle import android.view.View import androidx.appcompat.app.AppCompatActivity import androidx.appcompat.app.AppCompatDelegate import androidx.coordinatorlayout.widget.CoordinatorLayout import androidx.core.v...
0
Kotlin
0
8
87737424470f33ed18621abff89a4234bd8ec8ae
6,894
MetroPhoneLauncher
MIT License
app/src/test/java/com/mikepenz/storyblok/TestKoinGraph.kt
mikepenz
407,633,318
false
null
package com.mikepenz.storyblok import android.content.Context import androidx.test.core.app.ApplicationProvider.getApplicationContext import com.mikepenz.common.di.initKoin import com.mikepenz.storyblok.di.appModule import org.junit.Rule import org.junit.Test import org.junit.runner.RunWith import org.koin.android.ext...
0
Kotlin
0
6
e669554c7cacb5299ab857652038077ec6fcae25
895
storyblok-mp-SDK-sample
Apache License 2.0
src/me/anno/ecs/prefab/change/Path.kt
AntonioNoack
266,471,164
false
null
package me.anno.ecs.prefab.change import me.anno.ecs.prefab.Prefab import me.anno.engine.ECSRegistry import me.anno.io.ISaveable import me.anno.io.Saveable import me.anno.io.base.BaseWriter import me.anno.io.json.JsonFormatter import me.anno.io.text.TextReader import me.anno.io.text.TextWriter import me.anno.utils.io....
0
Kotlin
1
8
e5f0bb17202552fa26c87c230e31fa44cd3dd5c6
13,722
RemsStudio
Apache License 2.0
src/main/kotlin/com/hoho/upbitapihelper/dto/exchange/OrderState.kt
hoho4190
518,368,050
false
{"Kotlin": 113377, "Java": 2565}
package com.hoho.upbitapihelper.dto.exchange import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable /** * 주문 상태 */ @Serializable enum class OrderState { /** * 체결 대기 (default) */ @SerialName("wait") WAIT, /** * 예약주문 대기 */ @SerialName("watch") W...
0
Kotlin
0
3
9f38818e8c82e7c64a4e11119187ce2b21cdb021
461
upbit-api-helper
Apache License 2.0
inference/inference-webgpu/src/commonTest/kotlin/io/kinference/webgpu/operators/math/CumSumTest.kt
isomethane
591,976,225
false
null
package io.kinference.webgpu.operators.math import io.kinference.utils.TestRunner import io.kinference.webgpu.WebGPUTestEngine.WebGPUAccuracyRunner import kotlin.test.Test class CumSumTest { private fun getTargetPath(dirName: String) = "cumsum/$dirName/" @Test fun gpu_test_cumulative_sum_for_1d_data() = ...
0
Kotlin
0
0
3056bc4ebcd03a86d0ee9ef093cdac81491325b2
1,654
kinference
Apache License 2.0
src/main/kotlin/com/github/jeancsanchez/leaofaminto/data/OperacaoRepository.kt
jeancsanchez
375,216,780
false
null
package com.github.jeancsanchez.leaofaminto.data import com.github.jeancsanchez.leaofaminto.domain.model.Operacao import org.springframework.data.jpa.repository.JpaRepository import org.springframework.stereotype.Repository /** * @author @jeancsanchez * @created 15/05/2021 * Jesus loves you. */ @Repository inter...
0
Kotlin
0
11
f047df1e156cdb761286d24e9609d087db9525b2
670
leaofaminto-api
MIT License
generator/src/main/kotlin/dev/drzepka/wikilinks/generator/pipeline/SqlStatementParser.kt
drzpk
513,034,741
false
null
package dev.drzepka.wikilinks.generator.pipeline import dev.drzepka.wikilinks.generator.model.Value class SqlStatementParser(private val statement: String) : Iterator<Value> { private var pos = 0 private var buffer: Value? = null private val valueParser = ValueParser(statement) override fun hasNext()...
0
Kotlin
0
1
ab55472076b04ff6cca0b8ae4777f074d6f7be73
1,653
wikilinks
Apache License 2.0
app/src/main/java/com/nbossard/packlist/gui/ChangeLogDialog.kt
nbossard
48,583,116
false
null
/* * PackList is an open-source packing-list for Android * * Copyright (c) 2017 <NAME> and other contributors. * * 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...
20
null
11
13
25fe14dfd28b5ac543eefb5362e8917763423438
2,046
packlist
Apache License 2.0
plugins/package-managers/conan/src/main/kotlin/PackageInfo.kt
oss-review-toolkit
107,540,288
false
{"Kotlin": 5110480, "JavaScript": 333852, "Shell": 127273, "HTML": 98970, "Python": 51191, "Haskell": 30438, "FreeMarker": 27693, "CSS": 27239, "Dockerfile": 19565, "Swift": 12129, "Ruby": 10007, "Roff": 7688, "Vim Snippet": 6802, "Scala": 6656, "Starlark": 3270, "Go": 1909, "C++": 882, "Java": 559, "Rust": 280, "Emacs...
/* * Copyright (C) 2024 The ORT Project Authors (see <https://github.com/oss-review-toolkit/ort/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://www.a...
304
Kotlin
309
1,590
ed4bccf37bab0620cc47dbfb6bfea8542164725a
1,562
ort
Apache License 2.0
rounded/src/commonMain/kotlin/me/localx/icons/rounded/filled/GrinHearts.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.rounded.filled 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 ...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
2,736
icons
MIT License
src/test/kotlin/VaultEnvironmentSpek.kt
navikt
218,005,192
false
null
import no.nav.syfo.VaultServiceUser import no.nav.syfo.utils.getFileAsString import org.amshove.kluent.shouldBeEqualTo import org.spekframework.spek2.Spek import org.spekframework.spek2.style.specification.xdescribe object VaultEnvironmentSpek : Spek({ xdescribe("Inject vault from file") { it("Should creat...
0
Kotlin
1
0
0ef0d440c7966d1862ea9f097352f6a46839f58c
792
syfoservice-data-syfosmregister
MIT License
komposecountrycodepicker/src/test/java/com/joelkanyi/jcomposecountrycodepicker/utils/PickerUtilsTest.kt
joelkanyi
668,574,920
false
{"Kotlin": 184208}
package com.joelkanyi.jcomposecountrycodepicker.utils import com.google.common.truth.Truth.assertThat import com.joelkanyi.jcomposecountrycodepicker.data.Country import com.joelkanyi.jcomposecountrycodepicker.utils.PickerUtils.getCountry import com.joelkanyi.jcomposecountrycodepicker.utils.PickerUtils.removeSpecialCha...
3
Kotlin
13
152
27c9b0206fc7ade5d1e1b93daffae5c063060254
2,663
kompose-country-code-picker
Apache License 2.0
app/src/main/java/com/whisker/world/presentation/favourite/FavouriteScreen.kt
juyuky
866,404,196
false
{"Kotlin": 67848}
package com.whisker.world.presentation.favourite import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.height import androidx...
0
Kotlin
0
0
2b317ba625a88a1309805a3a23144b3b09ea3896
3,130
WhiskerWorld
MIT License
app/src/main/java/com/turtlemint/assignment/ui/comment/CommentViewModel.kt
Kiran7007
387,196,993
false
null
package com.turtlemint.assignment.ui.comment import android.util.Log import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.turtlemint.assignment.data.Result import com.turtlemint.assignment.data.repository.CommentRepository import kotlinx.coroutines.channels.Channel import kotlinx.cor...
0
Kotlin
0
0
b9fe4832a355b9d570fd37c572e2abe3db83086f
2,441
Turtlemint
MIT License
src/main/kotlin/no/nav/hjelpemidler/configuration/Cluster.kt
navikt
390,976,856
false
null
package no.nav.hjelpemidler.configuration enum class Cluster { DEV_GCP, PROD_GCP; companion object { val current: Cluster by lazy { when (val c = System.getenv("NAIS_CLUSTER_NAME")) { "dev-gcp" -> DEV_GCP "prod-gcp" -> PROD_GCP else -> throw ...
0
Kotlin
0
0
efe98c17e62e4aa7a76ffc1aa4cd72520a0d9309
458
hm-forslagsmotor-tilbehoer
MIT License
src/jsMain/kotlin/ui/BackfillIndicator.kt
mihbor
425,041,426
false
{"Kotlin": 33399, "CSS": 515, "HTML": 335, "JavaScript": 78}
package ui import androidx.compose.runtime.* import blockStats import getBlockStats import getFlag import kotlinx.coroutines.delay import ltd.mbor.minimak.MDS import org.jetbrains.compose.web.css.px import org.jetbrains.compose.web.dom.Text import kotlin.time.Duration.Companion.seconds var isBackfilling by mutableSta...
0
Kotlin
0
0
7a9bcb56eb940eee83a02760446323b3d03a20d5
841
minidapp-blok
Apache License 2.0
core/src/main/java/app/grapheneos/seedvault/core/backends/FileHandle.kt
GrapheneOS
386,747,442
false
{"Kotlin": 1340282, "Java": 12080, "Shell": 6142}
/* * SPDX-FileCopyrightText: 2024 The Calyx Institute * SPDX-License-Identifier: Apache-2.0 */ package app.grapheneos.seedvault.core.backends import app.grapheneos.seedvault.core.backends.Constants.FILE_BACKUP_ICONS import app.grapheneos.seedvault.core.backends.Constants.FILE_BACKUP_METADATA import app.grapheneos....
0
Kotlin
12
24
8560bc60b3e2717bd9b4bef2a8d77b0e7fdc26a8
2,588
platform_external_seedvault
Apache License 2.0
src/main/kotlin/com/github/insanusmokrassar/AutoPostBotConfigBuilder/controllers/json/KeyValueWrappers/KeyValueController.kt
InsanusMokrassar
141,381,270
false
null
package com.github.insanusmokrassar.AutoPostBotConfigBuilder.controllers.json.KeyValueWrappers import com.github.insanusmokrassar.AutoPostBotConfigBuilder.controllers.json.ValueValueController import javafx.fxml.FXML import javafx.scene.control.TextField class KeyValueController : KeyValueWrapperController<String> { ...
0
Kotlin
0
0
86ea761230016193a9c6d5181b112d428f86e808
808
AutoPostBotConfigBuilder
Apache License 2.0
data/src/main/java/dev/seabat/android/hellobottomnavi/data/datasource/github/model/GetAllRepoResponse.kt
seabat
614,867,401
false
{"Kotlin": 67436}
package dev.seabat.android.hellobottomnavi.data.datasource.github.model /** * API https://api.github.com/search/repositories のレスポンス * * 以下のデータを受信する * { * "total_count": 1948, * "incomplete_results": false, * "items": [...] * } */ data class GetAllRepoResponse(val items: List<Repository>)
0
Kotlin
0
0
b4c5afa9609ef0e07e36593b8545d9ab093c33ea
304
hello-bottom-navigation
Apache License 2.0
app/src/main/java/whereismytransport/di/module/ViewModelModule.kt
Abdoul02
272,794,482
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Java": 2, "XML": 19, "Kotlin": 19}
package whereismytransport.di.module import androidx.lifecycle.ViewModel import androidx.lifecycle.ViewModelProvider import dagger.Binds import dagger.Module import dagger.multibindings.IntoMap import whereismytransport.di.scope.ViewModelKey import whereismytransport.ui.MainViewModel import whereismytransport.viewMode...
0
Kotlin
0
0
f0d7d2a912fb8c045cdcc1d8c8ca77eb2c083e1b
618
WhereIsMyCheese
Apache License 2.0
src/test/kotlin/no/nav/arbeidsplassen/importapi/transferlog/TransferLogTasksTest.kt
navikt
236,483,368
false
null
package no.nav.arbeidsplassen.importapi.transferlog import com.fasterxml.jackson.databind.ObjectMapper import io.micronaut.data.model.Pageable import io.micronaut.test.extensions.junit5.annotation.MicronautTest import no.nav.arbeidsplassen.importapi.adstate.AdStateRepository import no.nav.arbeidsplassen.importapi.dao....
0
Kotlin
0
3
8b50c61ceea8160480739646a6c9da32d1d405d9
2,006
pam-import-api
MIT License
cache/src/main/java/com/rodrigobresan/cache/review/dao/ReviewDao.kt
rodrigobressan
107,698,692
false
null
package com.rodrigobresan.cache.review.dao import android.arch.persistence.room.Dao import android.arch.persistence.room.Insert import android.arch.persistence.room.OnConflictStrategy import android.arch.persistence.room.Query import com.rodrigobresan.cache.review.model.ReviewCached @Dao interface ReviewDao { @I...
0
Kotlin
17
68
99b861f813b907d9604903c4ba2ca2e33b7c3ecd
531
android_tmdb_clean_architecture
MIT License
app/src/main/java/com/example/bookloverfinalapp/app/ui/general_screens/screen_genre_info/FragmentGenreInfo.kt
yusuf0405
484,801,816
false
{"Kotlin": 1421124}
package com.example.bookloverfinalapp.app.ui.general_screens.screen_genre_info import android.content.Context import android.os.Bundle import android.view.View import androidx.recyclerview.widget.RecyclerView import com.example.bookloverfinalapp.R import com.example.bookloverfinalapp.app.base.BaseFragment import com.e...
1
Kotlin
1
3
e1ecdb14efbf7a25643ded1319841712f5e12a3b
6,382
BookLoverFinalApp
Apache License 1.1
messaging-core/src/main/java/com/nabla/sdk/core/data/local/SecuredKVStorage.kt
AchrafAmil
488,648,507
false
{"Kotlin": 305347}
package com.nabla.sdk.core.data.local import android.content.Context import android.content.SharedPreferences import androidx.security.crypto.EncryptedSharedPreferences import androidx.security.crypto.MasterKeys import com.nabla.sdk.core.domain.boundary.Logger internal class SecuredKVStorage( context: Context, ...
0
null
1
0
ff93b3c6e58ac0969b7be402b50c292bdfa8f534
2,414
nabla-android
MIT License
planty-client/common/src/commonMain/kotlin/nest/planty/data/mapping/PlantMapping.kt
HLCaptain
693,789,413
false
{"Kotlin": 186539, "Python": 9666, "C++": 4729, "HTML": 1243, "JavaScript": 1215, "CSS": 173}
package nest.planty.data.mapping import nest.planty.data.firestore.model.FirestorePlant import nest.planty.db.Plant import nest.planty.domain.model.DomainPlant import nest.planty.domain.model.DomainSensor fun Plant.toDomainModel(sensors: List<DomainSensor>) = DomainPlant( uuid = uuid, ownerUUID = ownerUUID, ...
0
Kotlin
0
0
bf42461ccd164962a0d19c3718ff074ca1aaa350
1,540
planty
MIT License
http/http-server-symbol-processor/src/test/kotlin/ru/tinkoff/kora/http/server/symbol/processor/controllers/StringRequestMapper.kt
Tinkoff
568,800,636
false
null
package ru.tinkoff.kora.http.server.symbol.processor.controllers import reactor.core.publisher.Mono import ru.tinkoff.kora.http.server.common.HttpServerRequest import ru.tinkoff.kora.http.server.common.handler.HttpServerRequestMapper class StringRequestMapper : HttpServerRequestMapper<String> { override fun apply...
21
Java
23
146
bb6f65080d9f50b674c8a77dac08116b2ee9eebf
406
kora
Apache License 2.0
src/com/blackoutburst/wally/core/commands/CommandGetConfig.kt
Blackoutburst
296,468,102
false
null
package com.blackoutburst.wally.core.commands import com.blackoutburst.wally.core.WallyUser import net.dv8tion.jda.api.entities.MessageChannel import com.blackoutburst.wally.core.config.ConfigManager import net.dv8tion.jda.api.entities.Guild import net.dv8tion.jda.api.entities.Message class CommandGetConfig : Command...
0
Kotlin
4
4
9c075ab0c5dc8754b01d202055ca54a64473303c
563
Wally
Do What The F*ck You Want To Public License
src/commonMain/kotlin/dimensional/usagi/channel/event/ChannelClosedEvent.kt
dimensional-fun
530,918,524
false
null
package dimensional.usagi.channel.event import dimensional.usagi.channel.Channel /** * Signals that the [channel] has been cancelled. */ public data class ChannelClosedEvent(override val channel: Channel) : ChannelEvent
2
Kotlin
0
2
7c67f737321921878eff1e174189b310a3a378fa
224
usagi
Apache License 2.0
common/sdk/profile/impl/src/commonMain/kotlin/io/chefbook/sdk/profile/impl/domain/usecases/SetAvatarUseCaseImpl.kt
mephistolie
379,951,682
false
{"Kotlin": 1334117, "Ruby": 16819, "Swift": 352}
package io.chefbook.sdk.profile.impl.domain.usecases import io.chefbook.sdk.profile.api.external.domain.usecases.SetAvatarUseCase import io.chefbook.sdk.profile.api.internal.data.repositories.ProfileRepository internal class SetAvatarUseCaseImpl( private val profileRepository: ProfileRepository, ) : SetAvatarUseCas...
0
Kotlin
0
12
ddaf82ee3142f30aee8920d226a8f07873cdcffe
423
chefbook-mobile
Apache License 2.0
spigot/src/main/kotlin/command/KotlinCommand.kt
atombuilt
662,346,123
false
{"Kotlin": 49812}
package com.atombuilt.atomkt.spigot.command import com.atombuilt.atomkt.commons.reflection.access import com.atombuilt.atomkt.commons.reflection.assure import com.atombuilt.atomkt.spigot.KotlinPlugin import kotlinx.coroutines.launch import org.bukkit.Location import org.bukkit.command.Command import org.bukkit.command...
0
Kotlin
0
1
cb765fb23bb3066a84571c8daba899485a1db3c0
5,244
atomkt
MIT License
examples/check_kotlin_update.kt
b8b
158,726,937
false
{"Kotlin": 63072, "Java": 26869, "Shell": 810}
#!/bin/sh /*__kotlin_script_installer__/ 2>&- # vim: syntax=kotlin # _ _ _ _ _ _ # | | | | | (_) (_) | | # | | _____ | |_| |_ _ __ ___ ___ _ __ _ _ __ | |_ # | |/ / _ \| __| | | '_ \ / __|/ __| '__| | '_ \| __| # | < (_) | |_| | | | ...
0
Kotlin
0
1
fafc4d172cd202d9f84321aa8304f2058ed9f466
3,016
kotlin_script
Apache License 2.0
app/src/main/java/com/sample/cook/utilities/Constants.kt
nazaroi
210,846,831
false
null
package com.sample.cook.utilities /** * Constants used throughout the app. */ const val DATABASE_NAME = "recipe-db36" const val RECIPE_DATA_FILENAME = "recipes.json"
0
Kotlin
0
0
ae0f9cf60802fb03169607ed9255a5a88ded9847
168
Cook
Apache License 2.0
app/src/main/java/cn/lemoe/btconn/BTOperate.kt
TennousuAthena
667,050,407
false
null
package cn.lemoe.btconn import android.annotation.SuppressLint import android.content.BroadcastReceiver import android.content.Context import android.content.Intent import android.os.Handler import android.util.Log import world.shanya.serialport.SerialPort import world.shanya.serialport.SerialPortBuilder class BTOpe...
0
Kotlin
0
0
412b72b1d088a090c2792b73d0de8c10fae4c95a
2,708
SmartTennisPartner
MIT License
java/com/google/android/libraries/pcc/chronicle/api/Connection.kt
google
564,990,777
false
{"Kotlin": 1440403, "Starlark": 163311, "Java": 10061, "AIDL": 5852, "Python": 4367, "Dockerfile": 2035, "Shell": 1301}
/* * Copyright 2022 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
0
Kotlin
7
29
aa89a5c470f5fbb5d00496f8d4da488d9f771f67
1,443
private-compute-libraries
Apache License 2.0
oauth/src/main/java/jp/co/soramitsu/oauth/common/model/XorLiquiditySufficiency.kt
sora-xor
610,919,196
false
{"Kotlin": 321971}
package jp.co.soramitsu.oauth.common.model class XorLiquiditySufficiency( val xorInsufficiency: Double, val xorLiquidityFullPrice: Double )
12
Kotlin
1
3
f07bbcd675088bbbc74d6f32487b92768dba5ff2
148
sora-card-android
Apache License 2.0
cachepro-rxjava/src/main/java/com/pv_libs/cachepro_rxjava/api_caller/RxApiCaller.kt
pv-libs
257,612,803
false
{"Kotlin": 28857}
package com.pv_libs.cachepro_rxjava.api_caller import androidx.lifecycle.LiveData import com.pv_libs.cachepro_rxjava.ApiResult import io.reactivex.Observable import retrofit2.Response interface RxApiCaller<NetworkResponse> { val isApiInProgressLiveData: LiveData<Boolean> fun getResponseObservable(callServer...
0
Kotlin
0
1
d19eb990ad1eb8f71fb33ed2873b8f33515a96be
428
RxCachePro
MIT License
app/src/main/java/com/bwaim/cryptocurrency/features/cryptocurrency/api/CryptoCompareApi.kt
Bwaim
181,058,687
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 50, "XML": 25, "Java": 1}
/* * Copyright 2019 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
0
Kotlin
0
0
e2740dcef3806fafe738ff27331e57a2c9dabae2
1,583
CryptoCurrency
Apache License 2.0
app/src/main/kotlin/hr/kbratko/instakt/domain/validation/pagination-validation.kt
karlobratko
802,886,736
false
{"Kotlin": 343278, "Makefile": 749}
package hr.kbratko.instakt.domain.validation import hr.kbratko.instakt.domain.ValidationError.PaginationValidationError import hr.kbratko.instakt.domain.ValidationError.PaginationValidationError.CountValidation.TooBigPageCount import hr.kbratko.instakt.domain.ValidationError.PaginationValidationError.CountValidation.N...
4
Kotlin
0
0
7084ed472695b69e4ead99bd2511fd81d606df33
985
instakt
MIT License
api/src/main/kotlin/de/jnkconsulting/e3dc/easyrscp/api/bytes/ByteHelper.kt
jnk-cons
691,762,451
false
{"Kotlin": 914173}
package de.jnkconsulting.e3dc.easyrscp.api.bytes import de.jnkconsulting.e3dc.easyrscp.api.frame.DataType import de.jnkconsulting.e3dc.easyrscp.api.frame.Tag import de.jnkconsulting.e3dc.easyrscp.api.frame.UnknownTag import de.jnkconsulting.e3dc.easyrscp.api.frame.tags.* import java.nio.ByteBuffer import java.nio.Byte...
5
Kotlin
0
1
d50796a7561387c193650c4aaeded91b3446fbdd
9,706
easy-rscp
MIT License
image-loader/src/androidMain/kotlin/com/seiko/imageloader/util/Uri.android.kt
qdsfdhvh
502,954,331
false
{"Kotlin": 824269, "Swift": 717, "HTML": 496}
package com.seiko.imageloader.util import android.content.ContentResolver import com.eygraber.uri.Uri private const val ASSET_FILE_PATH_ROOT = "android_asset" internal fun isAssetUri(uri: Uri): Boolean { return uri.scheme == ContentResolver.SCHEME_FILE && uri.pathSegments.firstOrNull() == ASSET_FILE_PATH_ROOT }
32
Kotlin
15
432
bdf4a1e89113552abe98d250f192ea55bd8a2c24
320
compose-imageloader
MIT License
src/main/kotlin/io/github/uinnn/spigot/annotations/Module.kt
uinnn
395,092,927
false
null
package io.github.uinnn.spigot.annotations import com.google.auto.service.AutoService import io.github.uinnn.spigot.extensions.transform import kotlinx.serialization.Serializable import org.bukkit.plugin.Plugin import org.bukkit.plugin.PluginLoadOrder import org.yaml.snakeyaml.Yaml import javax.annotation.processing.P...
0
Kotlin
0
0
0e6efb8fa35cd7ef4b4cc7d8009ea2929862fb1d
4,533
spigot-common
MIT License
examples/src/main/java/com/mapbox/navigation/examples/history/HistoryFilesClient.kt
karanveer0802
279,296,063
true
{"Java Properties": 3, "Markdown": 11, "Gradle": 45, "Shell": 6, "YAML": 2, "Batchfile": 2, "JSON": 24, "Ignore List": 28, "Makefile": 1, "INI": 40, "Proguard": 16, "XML": 541, "HTML": 8, "Kotlin": 506, "Text": 13, "Java": 523, "JavaScript": 2, "Python": 2}
package com.mapbox.navigation.examples.history import com.google.gson.annotations.SerializedName import com.mapbox.navigation.core.replay.history.ReplayHistoryDTO import kotlin.coroutines.resume import kotlin.coroutines.suspendCoroutine import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.withContext import...
0
null
0
0
6c52c50c7194798a23f334c90e36aa48937758fe
3,231
mapbox-navigation-android
Apache License 2.0