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
relive-simulator-core/src/commonMain/kotlin/xyz/qwewqa/relive/simulator/core/presets/dress/generated/dress4030017.kt
pointillion
428,683,199
true
{"Kotlin": 1212476, "HTML": 26704, "CSS": 26127, "JavaScript": 1640}
package xyz.qwewqa.relive.simulator.core.presets.dress.generated import xyz.qwewqa.relive.simulator.core.stage.actor.ActType import xyz.qwewqa.relive.simulator.core.stage.actor.Attribute import xyz.qwewqa.relive.simulator.core.stage.actor.StatData import xyz.qwewqa.relive.simulator.core.stage.dress.ActParameters impor...
0
Kotlin
0
0
53479fe3d1f4a067682509376afd87bdd205d19d
10,055
relive-simulator
MIT License
compiler/testData/codegen/bytecodeText/mergedProgression.kt
JetBrains
3,432,266
false
{"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML...
// TARGET_BACKEND: JVM_IR fun test(a: Int, b: Int, flag: Boolean) = (if (flag) a..b else a downTo b).map { it + 1 } // 0 java/util/Iterator.next \(\)Ljava/lang/Object; // 1 kotlin/collections/IntIterator.nextInt \(\)I
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
224
kotlin
Apache License 2.0
common/src/main/kotlin/com/ing/zkflow/common/zkp/Util.kt
ing-bank
550,239,957
false
{"Kotlin": 1610321, "Shell": 1609}
package com.ing.zkflow.common.zkp import com.ing.zkflow.common.zkp.metadata.ResolvedZKCommandMetadata import net.corda.core.contracts.ComponentGroupEnum import net.corda.core.transactions.TraversableTransaction fun TraversableTransaction.serializedComponentBytesFor( groupEnum: ComponentGroupEnum, metadata: Re...
0
Kotlin
4
9
f6e2524af124c1bdb2480f03bf907f6a44fa3c6c
600
zkflow
MIT License
src/main/kotlin/ru/girchev/fsm/impl/extended/ExTransitionTable.kt
NGirchev
517,312,637
false
{"Kotlin": 54398}
package ru.girchev.fsm.impl.extended import ru.girchev.fsm.* import ru.girchev.fsm.exception.DuplicateTransitionException import ru.girchev.fsm.impl.AbstractTransitionTable open class ExTransitionTable<STATE, EVENT> internal constructor( override val transitions: Map<STATE, LinkedHashSet<ExTransition<STATE, EVENT...
1
Kotlin
0
1
ca9101c69a580a699a8d0ea689da7bd48809534d
2,810
fsm
MIT License
webauthn2-json-core/src/main/java/io/github/ryunen344/webauthn2/json/core/enum/PublicKeyCredentialType.kt
RyuNen344
729,132,404
false
{"Kotlin": 340153, "TypeScript": 26425, "WebIDL": 5880}
package io.github.ryunen344.webauthn2.json.core.enum import com.squareup.moshi.JsonClass import io.github.ryunen344.webauthn2.json.serialization.PublicKeyCredentialTypeSerializer import kotlinx.serialization.Serializable /** * https://www.w3.org/TR/webauthn-2/#enum-credentialType */ @Serializable(with = PublicKeyCr...
0
Kotlin
0
2
1f7a439de71ff10755eb2354553d66e391048d31
565
WebAuthnKt
Apache License 2.0
androidApp/src/main/java/com/grappim/aipal/android/recognition/android/AndroidSpeechRecognizerWrapper.kt
Grigoriym
819,323,833
false
{"Kotlin": 195288, "Swift": 615}
package com.grappim.aipal.android.recognition.android import android.content.Intent import android.speech.RecognitionListener import android.speech.SpeechRecognizer import androidx.annotation.MainThread interface AndroidSpeechRecognizerWrapper { val speechRecognizer: SpeechRecognizer fun isRecognitionAvailab...
10
Kotlin
1
3
fd543fafaa8bbee7a024b42703a11d518eee4071
546
AiPal
Apache License 2.0
database/src/main/kotlin/example/bank/database/generated/tables/records/AccountTransactionRecord.kt
craigatk
332,464,235
false
null
/* * This file is generated by jOOQ. */ package example.bank.database.generated.tables.records import example.bank.database.generated.enums.TransactionType import example.bank.database.generated.tables.AccountTransaction import java.math.BigDecimal import org.jooq.Field import org.jooq.Record1 import org.jooq.Rec...
0
Kotlin
1
9
c3fef27f3c110c5bd319e8795b50ebf6a04add2b
3,766
bank-account-example
MIT License
plot-builder-portable/src/commonMain/kotlin/jetbrains/datalore/plot/builder/map/GeoPositionField.kt
tchigher
229,856,588
true
{"Kotlin": 4345032, "Python": 257583, "CSS": 1842, "C": 1638, "Shell": 1590, "JavaScript": 1584}
/* * Copyright (c) 2019. JetBrains s.r.o. * Use of this source code is governed by the MIT license that can be found in the LICENSE file. */ package jetbrains.datalore.plot.builder.map // column names in data-frames provided by geocoding object GeoPositionField { // fixed columns in 'boundaries' of 'centroid...
0
null
0
0
f6fd07e9f44c789206a720dcf213d0202392976f
757
lets-plot
MIT License
app/src/main/java/vn/loitp/app/activity/animation/flyschool/FlySchoolActivity.kt
tplloi
126,578,283
false
null
package vn.loitp.app.activity.animation.flyschool import android.os.Bundle import com.animation.flyschool.ImgObject import com.animation.flyschool.PATHS import com.annotation.IsFullScreen import com.annotation.LogTag import com.core.base.BaseFontActivity import kotlinx.android.synthetic.main.activity_animation_fly_sch...
0
Kotlin
0
6
b6c11ccff814d25ff368013ea6dd8a6b5d987ff1
2,340
basemaster
Apache License 2.0
payment-sdk/src/main/java/payment/sdk/android/PaymentClient.kt
Mohmd-H-BH
363,589,599
true
{"Kotlin": 230557}
package payment.sdk.android import android.app.Activity import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.GlobalScope import kotlinx.coroutines.launch import payment.sdk.android.cardpayment.CardPaymentActivity import payment.sdk.android.cardpayment.CardPaymentRequest import payment.sdk.android.core.Order...
0
Kotlin
0
0
316d29a15cd95e79e7b71f875af4843af9620933
1,947
payment-sdk-android
MIT No Attribution
app/src/main/java/io/viper/android/mpv/player/MainActivity.kt
mylhyz
772,417,718
false
{"Kotlin": 119531, "C++": 18449, "CMake": 1932, "C": 1327, "Java": 63}
package io.viper.android.mpv.player import android.os.Bundle import androidx.appcompat.app.AppCompatActivity class MainActivity : AppCompatActivity(R.layout.activity_frag_container) { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) with(supportFragmentMana...
0
Kotlin
1
0
0184d519b54ccf2d621b41356c9bede375f2b554
446
viper-mpv-android
MIT License
himataway/src/main/java/com/github/fhenm/himataway/viewmodel/MyTimelineFragmentViewModel.kt
fhenm
146,009,555
false
{"Java": 485426, "Kotlin": 204574, "Shell": 317}
package com.github.fhenm.himataway.viewmodel import android.arch.lifecycle.ViewModel import android.arch.lifecycle.ViewModelProvider import io.reactivex.BackpressureStrategy import io.reactivex.Flowable import io.reactivex.Observable import com.github.fhenm.himataway.model.AccessTokenManager import com.github.fhenm.hi...
1
Java
1
1
315154f72da34a90cfac960f58a7eabdc872dd57
1,990
Himataway-for-Android
MIT License
app/src/main/java/com/stocksexchange/android/theming/ThemingUtil.kt
libertaria-project
183,030,087
true
{"Kotlin": 2210140}
package com.stocksexchange.android.theming import android.content.res.ColorStateList import android.view.View import android.widget.* import androidx.appcompat.app.ActionBarDrawerToggle import androidx.appcompat.widget.SwitchCompat import androidx.browser.customtabs.CustomTabsIntent import androidx.cardview.widget.Car...
0
Kotlin
0
0
35a7f9a61f52f68ab3267da24da3c1d77d84e9c3
54,427
Android-app
MIT License
core/src/main/kotlin/core/models/FavoriteModel.kt
Subtle-fox
130,334,439
false
{"Kotlin": 103006, "Java": 2809}
package core.models data class FavoriteModel( val id: Int, val translateResult: TranslateResult, val isFavorite: Boolean )
0
Kotlin
0
0
d371f1a221e713a0ad34fab12afc55d8106e79f6
136
translator
Apache License 2.0
model/src/main/kotlin/org/nixos/gradle2nix/model/ResolvedDependency.kt
ashhhleyyy
875,388,146
false
{"Kotlin": 53890, "Nix": 15028, "Shell": 3735}
package org.nixos.gradle2nix.model import java.io.Serializable interface ResolvedDependency : Serializable { val coordinates: DependencyCoordinates val artifacts: List<ResolvedArtifact> }
0
Kotlin
0
1
bfceaea8bc6a21aee2a879b8047bdecb3114be32
198
fabric2nix
Apache License 2.0
app/src/main/java/com/schuanhe/auto_redbook/alarm/AlarmUtils.kt
schuanhe
796,457,378
false
{"Kotlin": 149242, "Java": 46195}
/* * Copyright (c) 2024. */ package com.schuanhe.auto_redbook.alarm import android.app.AlarmManager import android.app.PendingIntent import com.schuanhe.auto_redbook.MainActivity.Companion.alarmManager import com.schuanhe.auto_redbook.MainActivity.Companion.pendingIntent import com.schuanhe.auto_redbook.log import ...
0
Kotlin
0
0
c123503e8c5ee202a220d225bbb1510a0f9fd8c5
1,880
Android-Auto
Apache License 2.0
src/main/java/ru/deeplink/plugin/dto/CommandDto.kt
masteroffreedom
312,594,171
false
null
package ru.deeplink.plugin.dto import com.google.gson.annotations.SerializedName data class CommandDto( @SerializedName("command") val command: String?, @SerializedName("name") val name: String? )
0
Kotlin
0
9
ee62ed46a8fb0499717177405db7ebfbfd57db26
206
DeeplinkHelperPlugin
MIT License
retrofit-jsonapi-converter/src/main/java/com/tanasi/jsonapi/callAdapter/JsonApiCallAdapter.kt
stantanasi
358,537,182
false
{"Kotlin": 42719}
package com.tanasi.jsonapi.callAdapter import com.tanasi.jsonapi.JsonApiResponse import com.tanasi.jsonapi.bodies.JsonApiBody import retrofit2.Call import retrofit2.CallAdapter import java.lang.reflect.Type class JsonApiCallAdapter<T : Any>( private val responseType: Type, ) : CallAdapter<JsonApiBody<T>, Call<Jso...
0
Kotlin
0
2
539ddfb1efb6871fe1b5282f1c2b61dc53aaf30b
515
retrofit-jsonapi-converter
Apache License 2.0
platforms/android/Dezel/dezel/src/main/java/ca/logaritm/dezel/modules/dialog/AlertButton.kt
logaritmdev
174,257,253
false
null
package ca.logaritm.dezel.modules.dialog import ca.logaritm.dezel.core.* /** * @class AlertButton * @since 0.1.0 * @hidden */ open class AlertButton(context: JavaScriptContext) : JavaScriptClass(context) { //-------------------------------------------------------------------------- // Properties //-----------...
6
Kotlin
1
1
507022b806e0ffb91bfe87336c6642634c5123a0
1,622
dezel
MIT License
app/src/main/java/com/friendly_machines/frbpdoctor/ui/settings/DeviceFilesFragment.kt
daym
744,679,396
false
{"Kotlin": 453101}
package com.friendly_machines.frbpdoctor.ui.settings import android.app.AlertDialog import android.app.Dialog import android.os.Bundle import android.os.Handler import android.os.Looper import android.widget.TextView import androidx.fragment.app.DialogFragment import com.friendly_machines.fr_yhe_api.watchprotocol.IWat...
0
Kotlin
1
1
d2bc5a833d755bef3bb8886c54fd09b539fb14c9
1,974
frbpdoctor
BSD 2-Clause FreeBSD License
app/src/main/java/io/horizontalsystems/bankwallet/core/security/FingerprintUiHelper.kt
amitkpandey
157,035,948
true
{"Kotlin": 392733, "Ruby": 4476}
package io.horizontalsystems.bankwallet.core.security /* * Copyright (C) 2017 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.apach...
0
Kotlin
0
1
cbcaed74f977fbec7d2ed1b13bb0b08d9a0f8ef6
4,643
bank-wallet-android
MIT License
app/src/main/java/jgappsandgames/me/kitchenassistant/ingredients/IngredientActivity.kt
tfcbandgeek
126,097,188
false
null
package jgappsandgames.me.kitchenassistant.ingredients // Android import android.app.Activity import android.content.Intent import android.os.Bundle // Anko import org.jetbrains.anko.alert import org.jetbrains.anko.customView import org.jetbrains.anko.editText import org.jetbrains.anko.selector // JSON import org.js...
0
Kotlin
0
0
80986340c0dba9ee7f5cade72bf0fc18cdba1640
9,512
KitchenAssistant-android
Apache License 2.0
src/test/java/lsd/format/PrettyPrinterShould.kt
lsd-consulting
384,566,399
false
null
package lsd.format import io.mockk.every import io.mockk.mockkStatic import io.mockk.unmockkAll import lsd.format.json.objectMapper import org.approvaltests.Approvals import org.approvaltests.Approvals.verify import org.approvaltests.core.Options import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.Test...
0
Kotlin
0
0
af057d559c007109810ba682666c3b1b0595efc2
4,638
lsd-formatting-library
MIT License
tmp/arrays/youTrackTests/793.kt
DaniilStepanov
228,623,440
false
{"Git Config": 1, "Gradle": 6, "Text": 3, "INI": 5, "Shell": 2, "Ignore List": 3, "Batchfile": 2, "Markdown": 2, "Kotlin": 15942, "JavaScript": 4, "ANTLR": 2, "XML": 12, "Java": 4}
// Original bug: KT-44461 import java.lang.reflect.ParameterizedType import java.lang.reflect.Type import kotlin.reflect.KType open class KTypeToken<T> { val kType: KType = this::class.supertypes.first { it.classifier == KTypeToken::class }.arguments[0].type!! val type: Type = (javaClass.genericSuperclass as ...
1
null
1
1
602285ec60b01eee473dcb0b08ce497b1c254983
918
bbfgradle
Apache License 2.0
app/src/main/java/com/olabode/wilson/moovy/screens/home/HomeViewModel.kt
whilson03
355,191,357
false
null
package com.olabode.wilson.moovy.screens.home import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import androidx.paging.cachedIn import com.olabode.wilson.moovy.repository.MovieRepository import dagger.hilt.android.lifecycle.HiltViewModel import timber.log.Timber import javax.inject.Inject @...
1
Kotlin
2
3
f80b21a301cb7eaef3a9791a99d4d20fdc7e9e8f
682
Moovy-Compose
The Unlicense
app/src/main/java/lijewski/demodb/di/module/AppModule.kt
DawidLijewski
243,611,467
false
null
package lijewski.demodb.di.module import android.content.Context import dagger.Module import dagger.Provides import lijewski.demodb.App @Module(includes = [ViewModelModule::class]) class AppModule { @Provides fun provideContext(application: App): Context { return application.applicationContext } }...
1
Kotlin
0
0
cb81bbd1678366f1626ec84b2b733e4234dc6e8c
321
demo-android-db
MIT License
src/main/kotlin/no/nav/api/dialog/sf/TemagruppeTemaMapping.kt
navikt
505,610,197
false
{"Kotlin": 133640, "Shell": 313, "Dockerfile": 137}
package no.nav.modiapersonoversikt.commondomain import no.nav.api.dialog.sf.Temagruppe object TemagruppeTemaMapping { val TEMA_UTEN_TEMAGRUPPE: Temagruppe = Temagruppe.OVRG val TEMA_TEMAGRUPPE_MAPPING: Map<String, String> = mapOf( "AAP" to Temagruppe.ARBD.name, "DAG" to Temagru...
1
Kotlin
0
0
53a31d9fd967af3fcad734590ee94e2fccf049bd
2,422
modia-robot-api
MIT License
source-downloader-core/src/main/kotlin/xyz/shoaky/sourcedownloader/core/YamlConfigStorage.kt
shoaky009
607,575,763
false
null
package xyz.shoaky.sourcedownloader.core import com.fasterxml.jackson.databind.DeserializationFeature import com.fasterxml.jackson.databind.SerializationFeature import com.fasterxml.jackson.dataformat.yaml.YAMLGenerator import com.fasterxml.jackson.dataformat.yaml.YAMLMapper import com.fasterxml.jackson.datatype.jsr31...
1
Kotlin
0
5
16c265c082112aad122bb8a59cad6308e35da098
3,473
source-downloader
Apache License 2.0
app/common/src/main/java/com/can_apps/common/wrappers/CommonTimestampWrapper.kt
Canato
287,899,145
false
null
package com.can_apps.common.wrappers import java.text.SimpleDateFormat import java.util.Calendar import java.util.Locale interface CommonTimestampWrapper { val currentTimeStampMillis: Long fun toDate(millis: Long): String } class CommonTimestampWrapperDefault : CommonTimestampWrapper { companion objec...
4
Kotlin
2
19
3e43582f0f195364f2d7e1d221246b14bc72ebe1
1,070
showcase
Freetype Project License
core/src/main/java/com/lionparcel/commonandroid/navbar/utils/NavbarMenu.kt
Lionparcel
258,373,753
false
{"Kotlin": 565643}
package com.lionparcel.commonandroid.navbar.utils import com.lionparcel.commonandroid.R enum class CANavbarMenu(val menuRes: Int) { HOME(R.id.navHome), TRACK(R.id.navTrack), PAYMENT(R.id.navPayment), PROFILE(R.id.navAccount) } enum class CANavbarLongMenu(val menuRes: Int) { HOME(R.id.navHome), ...
0
Kotlin
0
0
7691021e2bc8ee27ce01df50eca1f5305546c697
932
common-android
MIT License
android/src/main/java/im/y2k/messaging/infrastructure/common.kt
y2k
88,178,761
false
null
package im.y2k.messaging.infrastructure import android.app.Application import android.content.ContentResolver import android.content.Context import android.content.Intent import android.net.Uri import android.provider.Settings import com.facebook.soloader.SoLoader import com.pengrad.telegrambot.Callback import com.pen...
0
Kotlin
0
0
bbba8d099c7d3fd442beb171eb73689340ad9d8e
3,601
SmsToTelegram
MIT License
hook-epic/src/main/java/io/github/xanderwang/hook/epic/XC_MethodHookEpic.kt
xanderwang
255,372,682
false
{"Java": 422257, "Kotlin": 108656}
package io.github.xanderwang.hook.epic import de.robv.android.xposed.XC_MethodHook import io.github.xanderwang.hook.core.MethodHook /** * @param methodHookCallback 最外层的 hook 方法回调 */ class XC_MethodHookEpic(var methodHookCallback: MethodHook?) : XC_MethodHook() { /** * 实现外层的 hook param ,用来桥接 epic 的 MethodHo...
2
Java
44
294
d24f468283cc17ca5e841495c0c88e7f2ebe9c7d
972
performance
Apache License 2.0
app/src/main/java/com/yabancikelimedefteri/domain/usecase/category/ObserveCategoriesUseCase.kt
AhmetOcak
621,942,001
false
{"Kotlin": 215007}
package com.yabancikelimedefteri.domain.usecase.category import com.yabancikelimedefteri.domain.repository.WordsRepository import javax.inject.Inject class ObserveCategoriesUseCase @Inject constructor(private val repository: WordsRepository) { operator fun invoke() = repository.observeCategories() }
1
Kotlin
0
2
70b79147500e11ce47657091910d2457df3862b3
307
YabanciKelimeDefterim
MIT License
app/src/main/java/com/example/tamaskozmer/kotlinrxexample/presentation/view/UserListView.kt
albodelu
100,381,478
true
{"Kotlin": 79247}
package com.example.tamaskozmer.kotlinrxexample.presentation.view import com.example.tamaskozmer.kotlinrxexample.presentation.view.viewmodels.UserViewModel /** * Created by Tamas_Kozmer on 7/4/2017. */ interface UserListView { fun showLoading() fun hideLoading() fun addUsersToList(users: List<UserViewMo...
0
Kotlin
0
0
4c244042a92fc0cdae6ba3d124faceb7e4691774
367
Kotlin-Android-Examples
Apache License 2.0
Merusuto/src/main/kotlin/cat/dcat/util/Helper_Kt.kt
wDCat
109,504,734
false
null
package cat.dcat.util import com.alibaba.fastjson.JSON import com.alibaba.fastjson.JSONArray import com.alibaba.fastjson.JSONObject /** * Created by DCat on 2017/1/18. */ fun getCallerName(): String { try { throw RuntimeException("ass we can") } catch (e: RuntimeException) { val sts = e.stac...
1
null
1
1
cd6247eba30a7bf11fa476a5d59cfb395d59badd
997
Marguerite
Do What The F*ck You Want To Public License
Jetchat/app/src/main/java/com/example/compose/jetchat/UiExtras.kt
markgray
872,334,021
false
{"Kotlin": 1285123}
/* * Copyright 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
0
Kotlin
0
0
afe5528c451adf978eebb78e1fe09150c7e2f6e5
2,527
Compose-Overflow
Apache License 2.0
examples/counter/src/main/kotlin/com/brianegan/bansa/counter/ApplicationState.kt
brianegan
47,591,925
false
null
package com.brianegan.bansa.counter data class ApplicationState(val counter: Int = 0)
4
null
29
442
ffb606ad2aefa58cac08e9daee26b6767b03186b
87
bansa
MIT License
opta-router-core/src/main/kotlin/io/github/pintowar/opta/router/core/solver/spi/Solver.kt
pintowar
120,393,481
false
null
package io.github.pintowar.opta.router.core.solver.spi import io.github.pintowar.opta.router.core.domain.models.VrpSolution import io.github.pintowar.opta.router.core.domain.models.VrpSolutionRequest import io.github.pintowar.opta.router.core.domain.models.matrix.Matrix import io.github.pintowar.opta.router.core.solve...
1
Kotlin
2
27
df74f25d95192134ee6bb1c94822062fe5b2af3b
621
opta-router
Apache License 2.0
Corona-Warn-App/src/main/java/de/rki/coronawarnapp/ui/launcher/LauncherActivityModule.kt
corona-warn-app
268,027,139
false
null
package de.rki.coronawarnapp.ui.launcher import dagger.Binds import dagger.Module import dagger.multibindings.IntoMap import de.rki.coronawarnapp.util.viewmodel.CWAViewModel import de.rki.coronawarnapp.util.viewmodel.CWAViewModelFactory import de.rki.coronawarnapp.util.viewmodel.CWAViewModelKey @Module abstract class...
6
Kotlin
514
2,495
d3833a212bd4c84e38a1fad23b282836d70ab8d5
559
cwa-app-android
Apache License 2.0
src/main/kotlin/box/ast/common/Proj.kt
mcenv
558,700,207
false
null
package box.ast.common sealed class Proj { data class I8ArrayOf( val index: Int, ) : Proj() data class I32ArrayOf( val index: Int, ) : Proj() data class I64ArrayOf( val index: Int, ) : Proj() data class ListOf( val index: Int, ) : Proj() data class CompoundOf( val name: String...
127
Kotlin
0
9
245724f56c4184a14dfbaeb159a1d35c180de7c5
337
box
MIT License
HTTPShortcuts/app/src/main/kotlin/ch/rmy/android/http_shortcuts/dialogs/DialogBuilder.kt
2219160052
270,527,875
false
{"Markdown": 3, "Gradle Kotlin DSL": 2, "INI": 1, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "Gradle": 2, "Kotlin": 286, "Java Properties": 1, "Proguard": 1, "XML": 745, "Text": 13, "Java": 1, "HTML": 2, "CSS": 3, "JavaScript": 1}
package ch.rmy.android.http_shortcuts.dialogs import android.app.Dialog import android.content.Context import android.text.InputType import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.ArrayAdapter import android.widget.ListView import android.widget.TextView...
1
null
1
1
427c4bc35f69d871145c11661839048e6b00eac1
7,414
HTTP-Shortcuts
MIT License
bug-call-notify-when-scroll/src/main/java/com/example/cm/bug/rv/BadAdapter.kt
410063005
132,123,442
false
null
package com.example.cm.bug.rv import android.annotation.SuppressLint import android.os.Message import android.support.v7.widget.RecyclerView import android.view.LayoutInflater import android.view.ViewGroup import kotlinx.android.synthetic.main.item_timer.view.* /** * Created by 410063005 on 2018/5/25. */ class BadA...
1
null
1
1
3dd2a981a5b50045eaeac60482aacf16e840e365
2,450
FragmentLifeCircle
Apache License 2.0
compiler/testData/codegen/box/intrinsics/nonShortCircuitAnd.kt
JetBrains
3,432,266
false
{"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML...
var s = "" fun o(): Boolean { s += "O" return false } fun k(): Boolean { s += "K" return true } fun box(): String { val b = o() and k() if (b) return "fail: b should be false" return s }
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
225
kotlin
Apache License 2.0
app/src/main/java/com/swensun/func/fragment/FirstFragment.kt
yunshuipiao
186,582,408
false
{"Kotlin": 344102, "Java": 163601, "HTML": 2189}
package com.swensun.func.fragment import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment import com.swensun.base.BaseFragment import com.swensun.potato.R import com.swensun.potato.databinding.FirstFragmentBinding import c...
73
Kotlin
12
75
7036458d3b2d7b64730a9fa03f105460560e97fe
555
Potato
Apache License 2.0
app/src/main/java/com/example/clone_daum/ui/main/setting/SettingFragment.kt
aucd29
159,471,417
false
null
package com.example.clone_daum.ui.main.setting import androidx.appcompat.app.AlertDialog import androidx.fragment.app.Fragment import brigitte.BaseDaggerFragment import brigitte.di.dagger.scope.FragmentScope import brigitte.string import com.example.clone_daum.R import com.example.clone_daum.databinding.SettingFragmen...
0
Kotlin
0
2
759e4a0bbb96578a47cccf591015eb3b715cb3dc
8,995
clone-daum
Apache License 2.0
src/main/kotlin/org/team2471/frc/lib/input/MappingDSL.kt
TeamMeanMachine
72,503,638
false
null
package org.team2471.frc.lib.input import org.team2471.frc.lib.framework.Events fun (() -> Boolean).whenTrue(body: suspend () -> Unit) = Events.whenActive(this, body) fun (() -> Boolean).whileTrue(body: suspend () -> Unit) = Events.whileActive(this, body) fun (() -> Boolean).toggleWhenTrue(body: suspend () -> Unit)...
2
null
3
17
93dd7e7163ec2535e11965687e563369ca899f21
359
meanlib
The Unlicense
jmix-templates/content/screen/main-window-responsive/controller.kt
jmix-framework
285,281,777
false
null
<% def imageType = version.startsWith("7") ? "Image" : "Embedded" %>package ${packageName} import com.haulmont.cuba.gui.components.AbstractMainWindow import com.haulmont.cuba.gui.components.${imageType} import com.haulmont.cuba.gui.components.mainwindow.FtsField import org.springframework.beans.factory.annotation.Aut...
573
null
77
337
db1d06503d56f6b18e20a615df44f9895a60a444
769
jmix
Apache License 2.0
Common/src/main/java/at/petrak/hexcasting/common/casting/operators/eval/OpEval.kt
LedinecMing
484,156,630
true
{"Java Properties": 1, "Groovy": 1, "Text": 3, "Gradle": 5, "Shell": 1, "Markdown": 2, "Git Attributes": 1, "Batchfile": 1, "Ignore List": 1, "INI": 3, "Kotlin": 173, "Java": 215, "JSON": 917, "TOML": 1}
package at.petrak.hexcasting.common.casting.operators.eval import at.petrak.hexcasting.api.spell.OperationResult import at.petrak.hexcasting.api.spell.Operator import at.petrak.hexcasting.api.spell.getChecked import at.petrak.hexcasting.api.spell.SpellDatum import at.petrak.hexcasting.api.spell.SpellList import at.pet...
0
Java
0
0
fada64d770cc013285815139470188f0d4c72753
1,396
HexMod
MIT License
app/src/main/java/com/example/museumapplication/utils/museumpanel/StatisticsUtils.kt
basaraksanli
281,362,445
false
null
/* * Copyright 2020. Huawei Technologies Co., Ltd. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
1
null
1
1
87fc69e2baa4ac60cb4909ec126ef925b74cba9c
6,575
MuseumApplication
Apache License 2.0
mobile_app1/module346/src/main/java/module346packageKt0/Foo1034.kt
uber-common
294,831,672
false
null
package module346packageKt0; annotation class Foo1034Fancy @Foo1034Fancy class Foo1034 { fun foo0(){ module346packageKt0.Foo1033().foo5() } fun foo1(){ foo0() } fun foo2(){ foo1() } fun foo3(){ foo2() } fun foo4(){ foo3() } fun foo5(){ foo4() } }
6
null
6
72
9cc83148c1ca37d0f2b2fcb08c71ac04b3749e5e
301
android-build-eval
Apache License 2.0
src/main/kotlin/nl/deltadak/plep/ui/taskcell/components/checkbox/CheckBoxUpdater.kt
deltadak
79,740,220
false
{"Kotlin": 151733, "CSS": 10567, "Java": 3369, "Shell": 2794, "Inno Setup": 1913}
package nl.deltadak.plep.ui.taskcell.components.checkbox import javafx.beans.value.ChangeListener import javafx.beans.value.ObservableValue import javafx.scene.control.CheckBox import javafx.scene.control.ProgressIndicator import javafx.scene.control.TreeView import nl.deltadak.plep.HomeworkTask import nl.deltadak.ple...
26
Kotlin
1
2
a5ee4e8f389bfa5c312eea3589b877c5cd468877
4,346
plep
MIT License
kchttp/src/main/java/com/zsc/aac/kchttp/util/KcFileProvider.kt
zhousongchao
203,324,635
false
{"Gradle": 8, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 6, "Batchfile": 1, "Markdown": 1, "Proguard": 5, "Kotlin": 45, "Java": 5, "XML": 27}
package com.zsc.aac.kchttp.util import androidx.core.content.FileProvider /** * @author Zsc * @date 2019/6/9 * @desc */ internal class KcFileProvider : FileProvider(){ override fun onCreate(): Boolean { KcUtils.init(context!!) return true } }
1
null
1
1
22d7ad376c84ac8197709ddaee4d241a8c5560e5
274
AacUnit
Apache License 2.0
kchttp/src/main/java/com/zsc/aac/kchttp/util/KcFileProvider.kt
zhousongchao
203,324,635
false
{"Gradle": 8, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 6, "Batchfile": 1, "Markdown": 1, "Proguard": 5, "Kotlin": 45, "Java": 5, "XML": 27}
package com.zsc.aac.kchttp.util import androidx.core.content.FileProvider /** * @author Zsc * @date 2019/6/9 * @desc */ internal class KcFileProvider : FileProvider(){ override fun onCreate(): Boolean { KcUtils.init(context!!) return true } }
1
null
1
1
22d7ad376c84ac8197709ddaee4d241a8c5560e5
274
AacUnit
Apache License 2.0
idea/tests/testData/quickfix/autoImports/importAliasClassAlreadyExists.before.Dependency.kt
JetBrains
278,369,660
false
null
package editor.completion.apx class ImportedClass
0
null
30
82
cc81d7505bc3e9ad503d706998ae8026c067e838
49
intellij-kotlin
Apache License 2.0
mobile_app1/module520/src/main/java/module520packageKt0/Foo45.kt
uber-common
294,831,672
false
null
package module520packageKt0; annotation class Foo45Fancy @Foo45Fancy class Foo45 { fun foo0(){ module520packageKt0.Foo44().foo3() } fun foo1(){ foo0() } fun foo2(){ foo1() } fun foo3(){ foo2() } }
6
Java
6
72
9cc83148c1ca37d0f2b2fcb08c71ac04b3749e5e
233
android-build-eval
Apache License 2.0
airbyte-cdk/java/airbyte-cdk/dependencies/src/test/kotlin/io/airbyte/commons/map/MoreMapsTest.kt
tim-werner
511,419,970
false
{"Java Properties": 8, "Shell": 57, "Markdown": 1170, "Batchfile": 1, "Makefile": 3, "JavaScript": 31, "CSS": 9, "Python": 4183, "Kotlin": 845, "Java": 723, "INI": 10, "Dockerfile": 27, "HTML": 7, "SQL": 527, "PLpgSQL": 8, "TSQL": 1, "PLSQL": 2}
/* * Copyright (c) 2023 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.map import com.google.common.collect.ImmutableMap import org.junit.jupiter.api.Assertions import org.junit.jupiter.api.Test internal class MoreMapsTest { @Test fun testMerge() { val map1: Map<String, Int> = Imm...
1
null
1
1
b2e7895ed3e1ca7c1600ae1c23578dd1024f20ff
512
airbyte
MIT License
domain/src/main/java/com/yveschiong/domain/common/Mapper.kt
yveschiong
155,301,951
false
{"Gradle": 6, "Java Properties": 1, "Shell": 1, "Text": 1, "Ignore List": 4, "Batchfile": 1, "Markdown": 1, "Proguard": 3, "Java": 4, "XML": 51, "Kotlin": 106, "INI": 1, "JSON": 2}
package com.yveschiong.domain.common import io.reactivex.Observable import java.util.ArrayList abstract class Mapper<E, T> { abstract fun mapFrom(from: E): T fun mapFrom(from: List<E>): List<T> { val list = ArrayList<T>() for (item in from) { list.add(mapFrom(item)) } ...
0
Kotlin
0
0
0fcef969c37db162b4eebbaa974a2d950a12cfec
590
personal-record-book
Apache License 2.0
rewrite-test/src/main/kotlin/org/openrewrite/java/ChangeFieldTypeTest.kt
leiq2005
320,113,053
true
{"Java": 2757838, "Kotlin": 588016, "ANTLR": 28611, "Shell": 1951}
/* * Copyright 2020 the original author or authors. * <p> * 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 * <p> * https://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by...
0
null
0
0
decf842c45b95b71e2d196035efb59b1618a4803
1,869
rewrite
Apache License 2.0
app/src/main/java/com/ludoscity/findmybikes/ui/sheet/FavoriteSheetItemData.kt
f8full
112,850,726
false
null
package com.ludoscity.findmybikes.ui.sheet data class FavoriteSheetItemData( val itemBackgroundResId: Int, val affordanceHandleVisible: Boolean, val editFabShown: Boolean, val deleteFabShown: Boolean, val infoWidthPercent: Float, val nameText: String, val nameTyp...
1
Kotlin
1
5
c072c3658d6daca88af7ee9e6012fb7f48ee25df
369
findmybikes
MIT License
android/src/main/java/ca/zyra/capacitor/stripe/StripePaymentMethodsListener.kt
tokentransit
358,920,799
true
{"JSON with Comments": 6, "YAML": 3, "Ruby": 3, "JSON": 17, "JavaScript": 8, "Markdown": 9, "Text": 1, "Ignore List": 8, "Browserslist": 1, "HTML": 5, "SCSS": 2, "SVG": 1, "Gradle": 7, "Java Properties": 4, "Shell": 2, "Batchfile": 2, "Proguard": 2, "Java": 3, "XML": 24, "OpenStep Property List": 6, "Swift": 7, "CODEOW...
package ca.zyra.capacitor.stripe import com.google.android.gms.wallet.PaymentData import com.stripe.android.CustomerSession import com.stripe.android.StripeError import com.stripe.android.model.PaymentMethod internal abstract class PaymentMethodsCallback { abstract fun onSuccess(paymentMethods: List<PaymentMethod...
0
TypeScript
0
0
b6d45726a6404da1cd437f71e43d44b110a1070c
925
stripe
MIT License
Compiler/src/main/kotlin/horilang/Builder.kt
scorsi
116,045,065
false
null
package horilang import horilang.lexer.TokenType import horilang.lexer.Lexer import horilang.lexer.LexerRule import horilang.nodes.* import horilang.parser.Parser import horilang.parser.ParserInfo import horilang.parser.ParserRule import horilang.parser.MTree import kotlin.Pair object Builder { private var lexer...
1
null
1
1
e18b19c60ef2b2eb9741b58ca6628cb89b67efad
22,021
first-test-horilang
Apache License 2.0
dsl/src/main/kotlin/cloudshift/awscdk/dsl/services/ec2/CfnLaunchTemplateBlockDeviceMappingPropertyDsl.kt
cloudshiftinc
667,063,030
false
null
@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") package cloudshift.awscdk.dsl.services.ec2 import cloudshift.awscdk.common.CdkDslMarker import kotlin.String import software.amazon.awscdk.IRe...
1
Kotlin
0
0
17c41bdaffb2e10d31b32eb2282b73dd18be09fa
3,003
awscdk-dsl-kotlin
Apache License 2.0
compiler/testData/ir/interpreter/inKeyword.kt
JetBrains
3,432,266
false
{"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML...
import kotlin.collections.* @CompileTimeCalculation fun numberIsInArray(array: IntArray, number: Int): Boolean { return number in array } @CompileTimeCalculation fun valueIsInArray(array: Array<Any>, value: Any?): Boolean { return value in array } const val a1 = <!EVALUATED: `true`!>numberIsInArray(intArrayO...
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
822
kotlin
Apache License 2.0
src/main/kotlin/org/gradle/gradle2kts/tasks/Gradle2Kts.kt
vmptk
124,084,238
true
{"Kotlin": 35814}
/* * Copyright 2016 the original author or authors. * * 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...
0
Kotlin
0
0
50c8bc1a508d45e662744d42cd94b935be3f315a
2,199
gradle2kts
Apache License 2.0
mqtt/src/main/kotlin/org/sheedon/mqtt/OkMqttClient.kt
Sheedon
253,232,370
false
{"Gradle": 5, "Markdown": 2, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "INI": 2, "Proguard": 2, "Kotlin": 71, "XML": 36, "Java": 9}
/* * Copyright (C) 2022 Sheedon. * * 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
3
6
82bfdf15b61f0cd08d3ff2f751e516d1116ce711
20,641
MqttDispatcher
Apache License 2.0
component-toolkit/src/commonMain/kotlin/com/pablichj/templato/component/core/panel/PanelStatePresenter.kt
pablichjenkov
135,388,611
false
null
package com.macaosoftware.component.panel import androidx.compose.runtime.State import androidx.compose.runtime.mutableStateOf import kotlinx.coroutines.CoroutineDispatcher import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.flow.MutableSharedFlow import kotlinx.coroutines.flow.SharedFlow import kotlinx...
0
null
5
26
749dee06d4d31413a0f6d90eb67bdfcfd2a61ebf
2,670
component-toolkit
The Unlicense
yetutil/src/main/java/yet/ui/activities/TabBarActivity.kt
yangentao
127,633,295
false
null
package yet.ui.activities import android.app.FragmentTransaction import android.os.Bundle import android.view.KeyEvent import android.widget.FrameLayout import android.widget.LinearLayout import yet.ui.ext.* import yet.ui.page.BaseFragment import yet.ui.util.FragmentHelper import yet.ui.viewcreator.createFrame import ...
0
Kotlin
0
1
c2e1330ab9cd2c57c069970628863d6a4778ed4d
2,753
ble
Apache License 2.0
server/src/test/kotlin/com/github/vyadh/teamcity/deploys/DeployTest.kt
nekhozhin
197,378,713
true
{"Kotlin": 84461, "JavaScript": 35981, "CSS": 7387, "Java": 5989, "HTML": 458}
package com.github.vyadh.teamcity.deploys import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test import java.time.ZonedDateTime internal class DeployTest { @Test fun jsonRepresentation() { val deploy = Deploy( "project", "1.1.0", "DEV", Zon...
0
Kotlin
0
0
dff5be7ac24e02ad80e79ebf7bcf0afc1441ed1d
720
teamcity-deployment-dashboard
Apache License 2.0
core/domain/src/main/java/com/tomaszrykala/recsandfx/core/domain/effect/Effect.kt
tomaszrykala
672,373,610
false
null
package com.tomaszrykala.recsandfx.core.domain.effect import androidx.annotation.StringRes import com.tomaszrykala.recsandfx.core.datatype.EffectDescription import com.tomaszrykala.recsandfx.core.datatype.NativeEffect data class Effect( val id: Int, val name: String, val params: List<Param>, val categ...
2
Kotlin
0
0
45bb9580fcd020006b6f1356bb6c0180d8fc164d
603
RecsAndFx
Apache License 2.0
MaWPhotos/src/main/java/us/mikeandwan/photos/database/RandomPreferenceDao.kt
AerisG222
59,966,716
false
{"Kotlin": 260116, "Shell": 1268}
package us.mikeandwan.photos.database import androidx.room.Dao import androidx.room.Insert import androidx.room.OnConflictStrategy import androidx.room.Query import kotlinx.coroutines.flow.Flow @Dao interface RandomPreferenceDao { @Query("SELECT * FROM random_preference WHERE id = :id") fun getRandomPreferenc...
0
Kotlin
0
0
1e51844439da188ce1858014bba17c1410bf0876
476
maw_photos_android
MIT License
app/src/main/java/com/punchthrough/blestarterappandroid/Detect.kt
Nici1
645,296,921
false
null
package com.punchthrough.blestarterappandroid import android.content.BroadcastReceiver import android.content.Context import android.content.Intent import android.content.IntentFilter import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.util.Log import android.widget.ImageView im...
0
Kotlin
0
0
f201d3a506da69c4ebb17d0811b86d12b7b4ca9d
2,254
ble
Apache License 2.0
app/src/main/java/com/azyoot/relearn/data/AppDatabase.kt
mzsolt90
242,523,252
false
null
package com.azyoot.relearn.data import androidx.room.Database import androidx.room.RoomDatabase import com.azyoot.relearn.data.dao.RelearnEventDaoInternal import com.azyoot.relearn.data.dao.TranslationEventDao import com.azyoot.relearn.data.dao.WebpageTranslationDao import com.azyoot.relearn.data.dao.WebpageVisitDao i...
0
Kotlin
0
1
d2ede681453f8aa142503192b3efdddc0999b673
923
ReLearn
MIT License
src/main/kotlin/no/nav/eessi/pensjon/config/RestTemplateConfig.kt
navikt
178,813,650
false
null
package no.nav.eessi.pensjon.config import com.fasterxml.jackson.core.StreamReadConstraints import io.micrometer.core.instrument.MeterRegistry import no.nav.eessi.pensjon.eux.klient.EuxKlientLib import no.nav.eessi.pensjon.logging.RequestIdHeaderInterceptor import no.nav.eessi.pensjon.logging.RequestResponseLoggerInte...
1
Kotlin
3
6
748d4fce9dc6e1a54f0c744a9fade2d85c38be7d
5,650
eessi-pensjon-journalforing
MIT License
data/src/main/java/com/himanshu/newspoint/data/models/otp/VerifyOtpLoginRequest.kt
Him-khati
286,278,619
false
null
package com.himanshu.newspoint.data.models.otp import com.google.gson.annotations.SerializedName import com.vinners.newspoint.data.models.mdm.MobileInformation data class VerifyOtpLoginRequest( @SerializedName("token") val otpToken : String? = null, @SerializedName("otp") val otp : String? = null, ...
1
null
1
1
802822343a4fabfe69667ee5b44cef98b31c8380
405
news-point
MIT License
app/src/main/java/com/example/Wandroid/room/WorkDataBase.kt
xuell0601
324,354,223
false
null
package com.example.Wandroid.room import androidx.room.Database import androidx.room.RoomDatabase @Database(entities = [WorkEntity::class], version = 1, exportSchema = false) abstract class WorkDataBase : RoomDatabase() { abstract val dao: DataBaseDao? }
0
Kotlin
0
0
5c2fae49669c3144529ab6768cc9929c35cd3d35
260
Wandroid
Apache License 2.0
src/main/kotlin/dev/xanhub/tinyengine/util/Resource.kt
xandergos
258,840,521
false
{"Kotlin": 104978, "GLSL": 37306, "Assembly": 15}
package dev.xanhub.tinyengine.util import java.io.File import java.io.FileNotFoundException object Resource { fun get(path: String): File { val url = this::class.java.classLoader.getResource(path) ?: throw FileNotFoundException() return File(url.toURI()) } }
0
Kotlin
1
2
e3cce689740a154326c8299a529e8c389e40a01c
284
tiny-engine
MIT License
app/src/main/java/com/cc/fairy/model/UserModel.kt
MidChen
643,446,165
false
null
package com.cc.fairy.model import kotlinx.serialization.Serializable @Serializable data class UserModel(val id: Int, val username: String, val email: String, val icon: String, )
0
Kotlin
0
0
ba11e1676bee20a8acad556772434ce67bb950e7
242
Fairy
Apache License 2.0
app/src/main/java/com/steleot/jetpackcompose/playground/compose/foundation/DefaultMinSizeScreen.kt
Vivecstel
338,792,534
false
null
package com.steleot.jetpackcompose.playground.compose.foundationlayout import androidx.compose.foundation.background import androidx.compose.foundation.layout.* import androidx.compose.material.MaterialTheme import androidx.compose.runtime.Composable import androidx.compose.ui.Alignment import androidx.compose.ui.Modi...
1
Kotlin
10
117
e4f4c45b4376dac907cae4ef07db1f188c86d01c
1,286
Jetpack-Compose-Playground
Apache License 2.0
infra/src/fanpoll/infra/auth/principal/MyPrincipal.kt
csieflyman
359,559,498
false
{"Kotlin": 785294, "JavaScript": 17435, "HTML": 6167, "PLpgSQL": 5563, "Dockerfile": 126}
/* * Copyright (c) 2021. fanpoll All rights reserved. */ package fanpoll.infra.auth.principal import io.ktor.server.auth.Principal interface MyPrincipal : Principal { val id: String val source: PrincipalSource }
1
Kotlin
9
74
1a7d54115dbc42c6a02230f527d9ad56862b4a0b
224
multi-projects-architecture-with-Ktor
MIT License
graph/graph-application/src/testFixtures/kotlin/eu/tib/orkg/prototype/contenttypes/testing/fixtures/PublishingFactoryFunctions.kt
TIBHannover
197,416,205
false
{"Kotlin": 2433821, "Cypher": 215872, "Python": 4880, "Groovy": 1936, "Shell": 1803, "HTML": 240}
package eu.tib.orkg.prototype.contenttypes.testing.fixtures import eu.tib.orkg.prototype.contenttypes.domain.model.Author import eu.tib.orkg.prototype.contenttypes.services.PublishingService import eu.tib.orkg.prototype.contenttypes.spi.DoiService import eu.tib.orkg.prototype.statements.api.Classes import eu.tib.orkg....
0
Kotlin
2
5
13cd2ba723dbd061e0dad8e9a9aa02378dd9166d
2,168
orkg-backend
MIT License
language/src/main/kotlin/dev/abla/language/nodes/File.kt
zeta1999
261,174,735
true
{"Kotlin": 73714, "ANTLR": 6153, "Java": 911}
package dev.abla.language.nodes import dev.abla.language.ASTVisitor import dev.abla.language.Position data class File(val fileName: String, val declarations: Array<Declaration>, override val position: Position) : Node { override suspend fun accept(visitor: ASTVisitor) { visitor.visit(this) } over...
0
null
0
0
a2cef735508e4234153059a68ad31f9c2c4acaf6
802
ablac
MIT License
src/main/java/space/impact/impact_compat/core/CLog.kt
GT-IMPACT
658,419,880
false
null
package space.impact.impact_compat.core import cpw.mods.fml.common.FMLLog import org.apache.logging.log4j.Level object CLog { var isDebug: Boolean = false fun i(text: String) { FMLLog.log(Level.INFO, text) } fun e(text: String) { if (isDebug) FMLLog.log(Level.ERROR, text) } ...
0
Kotlin
0
0
bbdc69de2819a27914be3c2a52991d441929d87e
402
Impact-compat
MIT License
client/src/commonTest/kotlin/serialize/settings/TestSearchableAttribute.kt
algolia
153,273,215
false
{"Kotlin": 1346247, "Dockerfile": 163}
package serialize.settings import attributeA import attributeB import com.algolia.search.model.settings.SearchableAttribute import com.algolia.search.model.settings.SearchableAttribute.Default import com.algolia.search.model.settings.SearchableAttribute.Unordered import com.algolia.search.serialize.internal.Key import...
14
Kotlin
23
59
21f0c6bd3c6c69387d1dd4ea09f69a220c5eaff4
765
algoliasearch-client-kotlin
MIT License
UIViews/src/main/java/com/programmersbox/uiviews/SettingsFragment.kt
jakepurple13
353,155,453
false
null
package com.programmersbox.uiviews import android.Manifest import android.content.Context import android.graphics.drawable.Drawable import android.os.Bundle import android.os.Environment import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.Toast import android...
0
Kotlin
5
36
f06db9367e9c4155b7af3839301d6838b4b347cd
51,855
OtakuWorld
Apache License 2.0
client/slack-spring-test-api-client/src/main/kotlin/io/hndrs/slack/api/test/group/users/MockUsersMethodGroup.kt
hndrs
168,710,332
false
null
package com.kreait.slack.api.test.group.users import com.kreait.slack.api.group.users.UsersMethodGroup /** * Testable implementation of [UsersMethodGroup] */ class MockUsersMethodGroup : UsersMethodGroup { private val mockUsersInfoMethod = MockUsersInfoMethod() private val mockUserListMethod = MockUserList...
57
null
13
16
89c5a6ddd0cbac522dd9cd4324901bf2907369a8
1,929
slack-spring-boot-starter
MIT License
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/ExclamationMark.kt
walter-juan
868,046,028
false
{"Kotlin": 20416825}
package com.woowla.compose.icon.collections.tabler.tabler.outline 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.vector.ImageVector import androidx.compose.ui.graphics.vector...
0
Kotlin
0
1
b037895588c2f62d069c724abe624b67c0889bf9
1,854
compose-icon-collections
MIT License
shared/src/commonMain/kotlin/io.newm.shared/usecases/SignupUseCase.kt
projectNEWM
435,674,758
false
{"Kotlin": 276127, "Swift": 233616}
package io.newm.shared.usecases import io.newm.shared.login.models.NewUser import io.newm.shared.login.repository.KMMException import io.newm.shared.login.repository.LogInRepository import org.koin.core.component.KoinComponent import org.koin.core.component.inject import kotlin.coroutines.cancellation.CancellationExce...
0
Kotlin
8
9
fb463394ef45da1a6736f1cb3524ddbcd5621989
1,730
newm-mobile
Apache License 2.0
shared/src/commonMain/kotlin/io.newm.shared/usecases/SignupUseCase.kt
projectNEWM
435,674,758
false
{"Kotlin": 276127, "Swift": 233616}
package io.newm.shared.usecases import io.newm.shared.login.models.NewUser import io.newm.shared.login.repository.KMMException import io.newm.shared.login.repository.LogInRepository import org.koin.core.component.KoinComponent import org.koin.core.component.inject import kotlin.coroutines.cancellation.CancellationExce...
0
Kotlin
8
9
fb463394ef45da1a6736f1cb3524ddbcd5621989
1,730
newm-mobile
Apache License 2.0
app/src/main/java/com/songlan/deepink/model/data/Chapter.kt
songlan0222
314,155,497
false
null
package com.songlan.deepink.model.data import androidx.room.Entity import androidx.room.PrimaryKey @Entity data class Chapter( var chapterName: String, var contentPath: String, var bookId: Long ) { @PrimaryKey(autoGenerate = true) var chapterId: Long = 0 }
0
Kotlin
0
3
b0e3e8d990aae1a61b1f2ec02daadd4aee001ad4
279
ForgeDeepInk
Apache License 2.0
app/src/main/java/com/taru/data/remote/weather/dto/inner/WeatherLocationDto.kt
nirajprakash
577,555,049
false
{"Kotlin": 258181}
package com.taru.data.remote.weather.dto.inner import com.squareup.moshi.JsonClass /** * Created by Niraj on 17-01-2023. */ @JsonClass(generateAdapter = true) data class WeatherLocationDto(val lon: Float, val lat: Float) { }
2
Kotlin
4
54
2f2d00465f2eb73e9f8520e629a2fd63d83e0ca1
228
taru-plants-android
MIT License
app/src/main/java/com/example/andriginting/pisang/app/Config.kt
andriiginting
105,514,627
false
{"Java": 24029, "Kotlin": 2331}
package com.example.andriginting.pisang.app /** * Created by <NAME> on 10/10/2017. */ object Config { //global topic untuk receive push notif val TOPIC_GLOBAL = "global" //broadcast intent filter val REGISTRATION_COMPLETE = "registrationComplete" val PUSH_NOTIFICATION = "pushNotification" ...
1
null
1
1
bdf5a9db31fa9d9cc1ecfdc86b247fecbe09e9be
463
Pisang
Apache License 2.0
src/test/kotlin/io/openfuture/api/service/DefaultUserServiceTests.kt
yzwyzwyzw1
142,394,820
true
{"Kotlin": 180512, "JavaScript": 155725, "CSS": 42779, "FreeMarker": 11541, "HTML": 1669, "Dockerfile": 167}
package io.openfuture.api.service import io.openfuture.api.config.UnitTest import io.openfuture.api.config.any import io.openfuture.api.entity.auth.OpenKey import io.openfuture.api.entity.auth.User import io.openfuture.api.repository.UserRepository import org.assertj.core.api.Assertions.assertThat import org.junit.Bef...
0
Kotlin
0
0
536246daa10503a43f3403e0f61786a20a62d094
1,685
open-api
Apache License 2.0
src/test/kotlin/com/forgerock/sapi/gateway/ob/uk/tests/functional/payment/international/standing/orders/consents/junit/v3_1_10/CreateInternationalStandingOrderConsentsTest.kt
SecureApiGateway
330,627,234
false
null
package com.forgerock.sapi.gateway.ob.uk.tests.functional.payment.international.standing.orders.consents.junit.v3_1_10 import com.forgerock.sapi.gateway.framework.extensions.junit.CreateTppCallback import com.forgerock.sapi.gateway.framework.extensions.junit.EnabledIfVersion import com.forgerock.sapi.gateway.uk.common...
9
Kotlin
0
5
c9e01e0bef427def36db3900322aaa54f011d250
7,401
secure-api-gateway-ob-uk-functional-tests
Apache License 2.0
kitten-house-care/src/test/kotlin/org/jesperancinha/housing/repository/OwnerRepositoryTest.kt
jesperancinha
545,124,250
false
null
package org.jesperancinha.housing.repository import com.fasterxml.jackson.databind.ObjectMapper import io.kotest.matchers.shouldBe import org.jesperancinha.housing.dao.OwnerRepository import org.junit.jupiter.api.Test internal class OwnerRepositoryTest { private val ownerRepository = OwnerRepository(ObjectMapper(...
0
Kotlin
0
3
94baf29d9ebd743711d4426c452af3501c10fc0d
710
kitten-house-care-parent
Apache License 2.0
shared/src/commonMain/kotlin/dev/community/gdg/baku/kmpbank/domain/entities/Transaction.kt
kk-public
868,002,544
false
{"Kotlin": 72179, "Swift": 486}
package dev.community.gdg.baku.kmpbank.domain.entities import kotlinx.datetime.LocalDateTime data class Transaction( val id: String, val amount: Double, val currency: Currency, val currencyCode: String, val date: LocalDateTime, val description: String, val category: String )
0
Kotlin
0
3
453c8c19930ca9c2e0b2234a259a8032a7a418a4
305
workshop-kotlin-multiplatform
MIT License
app/src/main/java/com/imnstudios/justanotherproject/ui/home/profile/quotes/QuotesFragment.kt
imnithish
262,377,417
false
null
package com.imnstudios.justanotherproject.ui.home.profile.quotes import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment import androidx.lifecycle.Observer import androidx.lifecycle.ViewModelProvider import com.imnstudios....
0
Kotlin
0
0
b35d1713dca9b1bda56c069808ec1d8f3c66a7f2
1,395
kotlin_mvvm
MIT License
server/src/main/kotlin/org/octopusden/octopus/vcsfacade/document/UserDocument.kt
octopusden
613,474,629
false
{"Kotlin": 249242, "Shell": 356}
package org.octopusden.octopus.vcsfacade.document import org.springframework.data.elasticsearch.annotations.Field import org.springframework.data.elasticsearch.annotations.FieldType data class UserDocument( @Field(type = FieldType.Keyword) val name: String, @Field(type = FieldType.Keyword) val avatar: String?...
1
Kotlin
0
0
3fa176571615e8457142663246b12d995fb42942
323
octopus-vcs-facade
Apache License 2.0
src/main/kotlin/modules/personality_ck3/PityAdjectiveComponent.kt
saber71
845,560,398
false
{"Kotlin": 81680}
package heraclius.modules.personality.ck3 class PityAdjectiveComponent(value: Int) : CK3PersonalityDescriptionComponent(value) { override fun describe(value: Int): String { return if (value >= 76) "仁慈的" else if (value >= 1) "富有同情心的" else if (value >= 0) "" else if (value > -76) "铁石心...
0
Kotlin
0
0
ea1cf6e0fb39a40f52404cd71e2012c2117d5a3c
351
whispers-of-warlocks
MIT License
net.akehurst.language/agl-processor/src/commonTest/kotlin/agl/automaton/AutomatonTest.kt
dhakehurst
197,245,665
false
null
package agl.automaton import net.akehurst.language.agl.automaton.ParserState import net.akehurst.language.agl.automaton.ParserStateSet import net.akehurst.language.agl.automaton.Transition internal object AutomatonTest { fun assertEquals(expected: ParserStateSet, actual: ParserStateSet) { val expected_st...
2
Kotlin
5
36
c4a404149d165ea57220f978c5f2bde3ac6f14f3
4,121
net.akehurst.language
Apache License 2.0
app/src/main/java/com/app/khajaghar/data/model/LoginResponse.kt
samundrak
359,170,668
false
null
package com.app.khajaghar.data.model import com.google.gson.annotations.SerializedName data class LoginResponse( @SerializedName("token") val token: String? )
1
null
1
1
53e048764c3ed1dcd01e4687e235abf043cb3b5b
177
khajaGhar-android
MIT License