path
stringlengths
4
280
owner
stringlengths
2
39
repo_id
int64
21.1k
879M
is_fork
bool
2 classes
languages_distribution
stringlengths
13
1.95k
content
stringlengths
7
482k
issues
int64
0
13.9k
main_language
stringclasses
121 values
forks
stringlengths
1
5
stars
int64
0
111k
commit_sha
stringlengths
40
40
size
int64
7
482k
name
stringlengths
1
100
license
stringclasses
93 values
app/src/main/java/jackpack/kotlin/databindingdemo/views/base/ViewModelFactory.kt
dev-mgkaung
260,715,347
false
null
package jackpack.kotlin.databindingdemo.views.base import android.app.Application import androidx.lifecycle.ViewModel import androidx.lifecycle.ViewModelProvider import jackpack.kotlin.databindingdemo.datas.apis.ApiHelper import jackpack.kotlin.databindingdemo.datas.remotes.repository.RemoteRepository import jackpack....
0
Kotlin
0
5
d6698e364405a2ad087e65d5e60de4391c7018e5
843
DataBindingDemo
Apache License 2.0
src/main/kotlin/kotlinext/jacksonmodule/internal/EmptyObjectNode.kt
lukaszimmermann
172,682,408
false
null
package kotlinext.jacksonmodule.internal import com.fasterxml.jackson.core.JsonPointer import com.fasterxml.jackson.databind.JsonNode import com.fasterxml.jackson.databind.node.MissingNode import com.fasterxml.jackson.databind.node.ObjectNode import com.fasterxml.jackson.databind.util.RawValue import com.fasterxml.jac...
0
Kotlin
0
0
f11a031a4e9ad12b29589a45cbe89da05e6d2ad3
4,784
kotlinext-jacksonmodule
MIT License
presentation/src/main/java/com/goms/presentation/view/sign_in/SignInActivity.kt
team-haribo
614,646,527
false
null
package com.goms.presentation.view.sign_in import android.content.Intent import android.os.Bundle import android.view.View import androidx.activity.viewModels import androidx.appcompat.app.AppCompatActivity import androidx.compose.material.Text import androidx.compose.runtime.Composable import androidx.compose.ui.res....
3
null
0
6
25a0c54cc61e1de0be730ebaa895ee584a8856c5
4,002
GOMS-Android
MIT License
MyRandom/app/src/main/java/com/example/myrandom/RandomActivity.kt
Yu-Kit42
516,591,850
false
null
package com.example.myrandom import android.os.Bundle import android.util.Log import android.widget.Button import android.widget.EditText import android.widget.TextView import android.widget.Toast import androidx.appcompat.app.AppCompatActivity import java.util.* class RandomActivity : AppCompatActivity() { over...
0
Kotlin
0
0
6be711f0b5a7b2c4c1f053c604f82a6bb7706055
2,759
Android_RandomDice.kt
MIT License
app/src/main/java/com/github/diabetesassistant/auth/presentation/LoginActivity.kt
diabetes-assistant
372,014,025
false
{"Kotlin": 73858}
package com.github.diabetesassistant.auth.presentation import android.content.Context import android.content.Intent import android.os.Bundle import android.util.Log import android.view.View import androidx.appcompat.app.AppCompatActivity import androidx.core.widget.doOnTextChanged import androidx.lifecycle.ViewModelPr...
0
Kotlin
0
0
e90614ea9d0e406892bb26ef464fc16d98c20ce7
3,933
android-app
MIT License
app/src/main/java/com/aayar94/valorantguidestats/data/models/Season.kt
AAyar94
609,987,445
false
null
package com.aayar94.valorantguidestats.data.models import java.util.Date class Season( val uuid: String, val displayName: String, val startTime: Date, val endTime: Date, )
0
Kotlin
0
1
1372f892175c7ee482fbf8cc6f2897f284da7423
191
Valorant_Guide_And_Stats
MIT License
v2-model/src/commonMain/kotlin/com/bselzer/gw2/v2/model/pvp/hero/skin/PvpHeroSkin.kt
Woody230
388,820,096
false
{"Kotlin": 750899}
package com.bselzer.gw2.v2.model.pvp.hero.skin import com.bselzer.gw2.v2.model.item.ItemId import com.bselzer.gw2.v2.model.wrapper.ImageLink import com.bselzer.ktx.value.identifier.Identifiable import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable @Serializable data class PvpHeroSkin( ...
2
Kotlin
0
2
7bd43646f94d1e8de9c20dffcc2753707f6e455b
840
GW2Wrapper
Apache License 2.0
advent-of-code/src/main/kotlin/setup/scaffold.kt
kressnick25
573,285,946
false
null
package setup import java.io.File import java.lang.Integer.parseInt import java.nio.file.Files import java.nio.file.Paths fun main(args: Array<String>) { val day = parseInt(args[0]) val dayPadded = day.toString().padStart(2, '0') val solutionTemplate = """ package solution ...
0
Rust
0
0
203284a1941e018c7ad3c5d719a6e366013ffb82
2,090
advent-of-code-2022
MIT License
app/src/main/java/dev/falhad/movieshowcase/model/db/entity/MovieEntity.kt
falhad
509,160,308
false
null
package dev.falhad.movieshowcase.model.db.entity import androidx.room.* import com.google.gson.annotations.SerializedName import dev.falhad.movieshowcase.model.db.converter.RatingConverter import dev.falhad.movieshowcase.network.model.Rating @Entity( tableName = "movies" ) data class MovieEntity( @PrimaryKey...
0
Kotlin
0
0
8529f0b1c4eb9e19a13521ef030882c991a9e270
2,395
mvp-movie
MIT License
vtp-pensjon-application/src/main/kotlin/no/nav/pensjon/vtp/mocks/virksomhet/arena/behandlearbeidogaktivitetoppgave/BehandleArbeidOgAktivitetOppgaveV1Mock.kt
navikt
254,055,233
false
null
package no.nav.pensjon.vtp.mocks.virksomhet.arena.behandlearbeidogaktivitetoppgave import no.nav.pensjon.vtp.annotations.SoapService import no.nav.tjeneste.virksomhet.behandlearbeidogaktivitetoppgave.v1.BehandleArbeidOgAktivitetOppgaveV1 import no.nav.tjeneste.virksomhet.behandlearbeidogaktivitetoppgave.v1.meldinger.W...
14
Kotlin
0
2
cd270b5f698c78c1eee978cd24bd788163c06a0c
2,928
vtp-pensjon
MIT License
app/src/main/java/hu/tb/minichefy/domain/model/storage/Food.kt
BTheofil
705,819,849
false
{"Kotlin": 123533}
package hu.tb.minichefy.domain.model.storage import hu.tb.minichefy.domain.model.storage.entity.FoodEntity data class Food( val id: Long? = null, val title: String, val quantity: Int, val unitOfMeasurement: UnitOfMeasurement, val type: String ) fun Food.toFoodEntity() = FoodEntity( id = this....
0
Kotlin
0
0
0dd0aca822cfe85adab9cb0fd6937eba38f14c31
530
MiniChefy
Apache License 2.0
app/src/main/java/com/dew/aihua/report/AcraReportSender.kt
ed828a
172,828,123
false
null
package com.dew.aihua.report import android.content.Context import com.dew.aihua.R import org.acra.collector.CrashReportData import org.acra.sender.ReportSender class AcraReportSender : ReportSender { override fun send(context: Context, report: CrashReportData) { ErrorActivity.reportError(context, report...
0
Kotlin
0
1
1896f46888b5a954b367e83f40b845ce174a2328
451
Aihua
Apache License 2.0
onixlabs-corda-bnms-workflow/src/main/kotlin/io/onixlabs/corda/bnms/workflow/membership/RevokeMembershipFlow.kt
onix-labs
281,494,633
false
null
/* * Copyright 2020-2021 ONIXLabs * * 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...
1
Kotlin
0
0
1f9e1fd0db0a83a782aefca78afa9940f26f0a64
3,201
onixlabs-corda-bnms
Apache License 2.0
app/src/main/java/changhwan/experiment/sopthomework/ui/view/home/datailpart/adapter/HomeFragmentViewPagerAdapter.kt
29th-WE-SOPT-Android-Part
413,076,866
false
null
package changhwan.experiment.sopthomework.ui.view.home.datailpart.adapter import androidx.fragment.app.Fragment import androidx.viewpager2.adapter.FragmentStateAdapter class HomeFragmentViewPagerAdapter(fragment :Fragment): FragmentStateAdapter(fragment) { val homeFragmentFragments = mutableListOf<Fragment>() ...
0
Kotlin
0
1
e9929a84a4bd840a013b2e11139d55b6b77475b7
476
Android-Changhwan
Apache License 2.0
src/main/java/fr/unreal852/quantum/command/DeletePortalCommand.kt
raevendev
829,165,277
false
{"Kotlin": 51319, "Java": 1336}
package fr.unreal852.quantum.command import com.mojang.brigadier.Command import com.mojang.brigadier.CommandDispatcher import com.mojang.brigadier.context.CommandContext import fr.unreal852.quantum.Quantum import fr.unreal852.quantum.command.suggestion.BlocksSuggestionProvider import fr.unreal852.quantum.state.Quantum...
0
Kotlin
0
0
edb02d85b7b391cb29ec7e5922158ef41fbef3f1
2,230
Quantum
MIT License
app/src/main/java/com/cmu/banavision/CameraViewModel.kt
AIBananaVision
716,120,908
false
{"Kotlin": 86495}
package com.cmu.banavision import android.annotation.SuppressLint import android.app.Application import android.content.BroadcastReceiver import android.content.Context import android.content.Intent import android.content.IntentFilter import android.graphics.Bitmap import android.net.Uri import android.util.Log import...
0
Kotlin
0
0
87110842bfd285631ade3bb8b9a60124888fbf2c
7,490
Banana-diseases-classification-mobile-app
Apache License 2.0
src/main/kotlin/com/br/maximo/shared/security/Jwt/JwtService.kt
oliveirabalsa
347,522,073
false
null
package com.br.maximo.shared.security.Jwt import com.br.maximo.modules.user.entities.User import com.br.maximo.modules.user.repositories.UserRepository import com.br.maximo.modules.user.services.UserService import com.br.maximo.shared.errors.UnauthorizedException import io.jsonwebtoken.Jwts import io.jsonwebtoken.Sign...
0
Kotlin
0
0
c021cfc0a6863a1462512b34571cdfa5f96685f0
1,599
maximo-kotlin
MIT License
kmock-processor/src/test/resources/mock/template/renamed/Platform.kt
bitPogo
455,829,905
false
{"Kotlin": 3506361}
/* * Copyright (c) 2022 <NAME> (bitPogo) / All rights reserved. * * Use of this source code is governed by Apache v2.0 */ package mock.template.renamed import tech.antibytes.kmock.Mock @Mock(Platform::class) interface Platform<K, L> where L : Any, L : Comparable<L>, K : Any { var template: L val ozz: Int...
3
Kotlin
2
56
9a94e2842f615b08d4e2942c4987278a3d5c9f43
390
kmock
Apache License 2.0
app/src/main/kotlin/com/zaiming/android/gallery/service/MediaDataService.kt
qiuzaiming
456,448,337
false
{"Kotlin": 295953}
package com.zaiming.android.gallery.service import android.app.Notification import android.app.NotificationChannel import android.app.NotificationManager import android.app.Service import android.content.Intent import android.database.ContentObserver import android.net.Uri import android.os.Handler import android.os.H...
1
Kotlin
0
1
1c47caffb2063c3e7ccd5c4b32893d06cf11ffdb
2,783
gallery
Apache License 2.0
app/src/main/java/io/github/takusan23/akaridroid/timeline/TimelineItemData.kt
takusan23
584,131,815
false
{"Kotlin": 370704, "Java": 67808}
package io.github.takusan23.akaridroid.timeline import kotlinx.serialization.Serializable /** タイムライン上のアイテム */ sealed interface TimelineItemData { /** 各タイムラインのアイテムを識別するために使われる */ val id: Long /** タイムラインのアイテム開始時間(ミリ秒) */ val startMs: Long /** タイムラインのアイテム終了時間(ミリ秒) */ val endMs: Long /** ...
0
Kotlin
0
0
f97cf00ac2eb71239e3a9a4b438634ec8d79d48f
2,696
AkariDroid
Apache License 2.0
local-storage/src/androidMain/kotlin/io/ashdavies/playground/PlatformContext.android.kt
ashdavies
36,688,248
false
{"Kotlin": 223982, "HCL": 20577, "Shell": 3934, "Mustache": 2101}
package io.ashdavies.playground import androidx.compose.runtime.Composable import androidx.compose.ui.platform.LocalContext import io.ashdavies.content.PlatformContext @Composable internal actual fun getPlatformContext(): PlatformContext { return LocalContext.current }
41
Kotlin
33
116
c61db4426f9836cebad49091d109ed91a1162d04
276
playground.ashdavies.dev
Apache License 2.0
app/src/main/java/com/lumiwallet/lumi_core/presentation/derivationScreen/DerivationPresenter.kt
lumiwallet
255,998,575
false
null
package com.lumiwallet.lumi_core.presentation.derivationScreen import com.arellomobile.mvp.InjectViewState import com.lumiwallet.android.core.crypto.hd.DeterministicKey import com.lumiwallet.android.core.crypto.hd.DeterministicSeed import com.lumiwallet.lumi_core.App import com.lumiwallet.lumi_core.R import com.lumiwa...
0
Kotlin
1
4
f4ba3bf7b4cd934f25b5b0271e1170aae496b4e5
2,822
lumi-android-core
Apache License 2.0
sample/composeApp/src/jsMain/kotlin/main.kt
WojciechOsak
760,489,107
false
{"Kotlin": 47645}
import androidx.compose.ui.ExperimentalComposeUiApi import androidx.compose.ui.window.CanvasBasedWindow import io.wojciechosak.calendar.calendar.App import org.jetbrains.skiko.wasm.onWasmReady @OptIn(ExperimentalComposeUiApi::class) fun main() { onWasmReady { CanvasBasedWindow("Calendar") { App...
7
Kotlin
5
97
55e23f73e217ab2c3d5968bdce8b8657eae3e2da
341
Calendar
Apache License 2.0
libColor/src/main/java/util/theme/color/MonetColorPalette.kt
chr56
772,865,763
false
{"Kotlin": 61181, "Java": 27053}
package util.theme.color import android.content.Context import android.os.Build import androidx.annotation.ColorInt import androidx.annotation.RequiresApi @JvmInline value class MonetColorPalette(val value: Int) { constructor(@MonetColor.Type type: Int, @MonetColor.Depth depth: Int) : this((type shl SHIFT) + dept...
0
Kotlin
0
0
987f2b314d0a8aeaaa5c20db1fc177de4c63d7ae
876
ThemeUtils
Apache License 2.0
common/common_presentation/src/main/java/com/serj113/common/presentation/util/FragmentExt.kt
serj113
260,604,628
false
null
package com.serj113.common.presentation.util import androidx.fragment.app.Fragment import androidx.navigation.NavDirections import androidx.navigation.fragment.NavHostFragment fun Fragment.navigateTo(direction: NavDirections) { NavHostFragment.findNavController(this).navigate(direction) }
0
Kotlin
0
4
c20db689fd0236df08237adb0c948586eef83ab0
295
Imagine-Movies
Apache License 2.0
src/ru/animelib/src/eu/kanade/tachiyomi/animeextension/ru/animelib/AnimelibDto.kt
almightyhak
817,607,446
false
{"Kotlin": 4066862}
package eu.kanade.tachiyomi.animeextension.ru.animelib import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable @Serializable data class AnimeStatus( val id: Int, ) @Serializable data class CoverInfo( val thumbnail: String, ) @Serializable data class GenreInfo( val id: Int, ...
55
Kotlin
28
93
507dddff536702999357b17577edc48353eab5ad
3,503
aniyomi-extensions
Apache License 2.0
api/src/main/kotlin/nebulosa/api/mounts/MountController.kt
tiagohm
568,578,345
false
{"Kotlin": 2747666, "TypeScript": 509060, "HTML": 243311, "JavaScript": 120539, "SCSS": 11332, "Python": 2817, "Makefile": 355}
package nebulosa.api.mounts import io.javalin.Javalin import io.javalin.http.Context import nebulosa.api.connection.ConnectionService import nebulosa.api.core.Controller import nebulosa.api.core.idempotencyKey import nebulosa.api.validators.* import nebulosa.guiding.GuideDirection import nebulosa.indi.device.mount.Tra...
29
Kotlin
2
4
f228706acd2c83397198a7606c0d8fa349213845
10,140
nebulosa
MIT License
src/commonTest/kotlin/com.russellbanks.ktgithub/internal/GHTreeTests.kt
russellbanks
622,670,257
false
{"Kotlin": 134597}
package com.russellbanks.ktgithub.internal import com.russellbanks.ktgithub.GitHub import com.russellbanks.ktgithub.objects.GHTree import io.kotest.core.spec.style.FunSpec class GHTreeTests : FunSpec({ lateinit var github: GitHub beforeTest { github = createGitHub(defaultMockEngine) } afterE...
1
Kotlin
0
3
57fd403277720159fc3edc6867b6f73e1e3960c7
1,447
KtGitHub
Apache License 2.0
src/main/kotlin/com/terraformation/backend/documentproducer/model/ExistingVariableWorkflowHistoryModel.kt
terraware
323,722,525
false
{"Kotlin": 5437913, "HTML": 125171, "Python": 46250, "FreeMarker": 20120, "PLpgSQL": 20103, "Makefile": 746, "Dockerfile": 674, "JavaScript": 380}
package com.terraformation.backend.documentproducer.model import com.terraformation.backend.db.default_schema.ProjectId import com.terraformation.backend.db.default_schema.UserId import com.terraformation.backend.db.docprod.VariableId import com.terraformation.backend.db.docprod.VariableValueId import com.terraformati...
4
Kotlin
1
10
7ad8291dc1f320ae737c855858acd6d66afe553b
1,992
terraware-server
Apache License 2.0
src/main/kotlin/icu/windea/pls/script/psi/ParadoxScriptDefinitionElement.kt
DragonKnightOfBreeze
328,104,626
false
{"Kotlin": 3434920, "Java": 164698, "Lex": 42127, "HTML": 23578, "Shell": 2822}
package icu.windea.pls.script.psi import com.intellij.psi.* import icu.windea.pls.lang.model.* /** * @see ParadoxScriptFile * @see ParadoxScriptProperty */ interface ParadoxScriptDefinitionElement : ParadoxScriptNamedElement, ParadoxScriptMemberElement { fun getStub(): ParadoxScriptDefinitionElementStub<out Pa...
2
Kotlin
5
38
8367017f8af739542635af1eb131e5a567f682fe
1,200
Paradox-Language-Support
MIT License
app/src/main/java/com/przemolab/oknotifier/data/entries/ContestEntry.kt
Stropek
143,238,189
false
null
package com.przemolab.oknotifier.data.entries import android.arch.persistence.room.ColumnInfo import android.arch.persistence.room.Entity import android.arch.persistence.room.Ignore import android.arch.persistence.room.PrimaryKey import com.przemolab.oknotifier.data.NotifierContract import com.przemolab.oknotifier.uti...
0
Kotlin
0
0
c20bf364e8226439c75ca2d3980899c182f2347d
1,775
OK-Notifier
MIT License
app/src/main/java/com/bimalghara/tv_shows/ui/details/DetailViewUiState.kt
bimalgharagithubprofile
731,006,121
false
{"Kotlin": 79293}
package com.bimalghara.tv_shows.ui.details import com.bimalghara.tv_shows.domain.model.TvShowsEntity data class DetailViewUiState( var show: TvShowsEntity? = null, var isSimilarShow: Boolean? = false ) { companion object { const val ARG_SHOW = "arg_show" const val ARG_SIMILAR_SHOW = "arg_...
0
Kotlin
0
0
0d7f1a26fee1104b3b6529d98e0cfd804769bcd4
345
Tv-Shows
Apache License 2.0
android-iconivoid-sample/src/main/java/io/github/diegoflassa/iconivoid/sample/SampleApplication.kt
diegoflassa
292,420,870
true
{"Kotlin": 218187}
package io.github.diegoflassa.iconivoid.sample import android.app.Application import android.content.Context import io.github.diegoflassa.iconivoid.IconiVoid import java.lang.ref.WeakReference @Suppress("unused") class SampleApplication : Application() { override fun onCreate() { super.onCreate() ...
0
Kotlin
0
0
702727ac6eb4eff6deef6ba76093972a3d8cc2bb
592
android-iconivoid
Apache License 2.0
app/src/main/java/com/demo/newsapp/viewmodel/NewsViewModel.kt
aidaole
386,987,885
false
null
package com.demo.newsapp.viewmodel import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.demo.newsapp.network.entity.PublicTab import com.demo.newsapp.repo.NewsRepo import com.demo.newsapp.utils.toast import ...
0
Kotlin
0
1
eb2ab27337c1357f612d975e8e870fa98362efca
860
NewsApp
Apache License 2.0
font-awesome/src/commonMain/kotlin/compose/icons/fontawesomeicons/solid/Barcode.kt
DevSrSouza
311,134,756
false
{"Kotlin": 36756847}
package compose.icons.fontawesomeicons.solid 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....
15
Kotlin
20
460
651badc4ace0137c5541f859f61ffa91e5242b83
5,220
compose-icons
MIT License
app/src/main/java/com/breezefsmaddischemicocorporation/features/dashboard/presentation/api/otpverifyapi/OtpVerificationRepo.kt
DebashisINT
641,390,752
false
null
package com.breezefsmaddischemicocorporation.features.dashboard.presentation.api.otpverifyapi import com.breezefsmaddischemicocorporation.app.Pref import com.breezefsmaddischemicocorporation.base.BaseResponse import io.reactivex.Observable /** * Created by Saikat on 22-11-2018. */ class OtpVerificationRepo(val apiS...
0
Kotlin
0
0
c08eaf8cb0a1f3ade4f1762526afe1fa3976690d
519
AddisChemicoCorporation
Apache License 2.0
app/src/main/java/com/efedaniel/bloodfinder/bloodfinder/home/bloodrequestresults/BloodResultsViewModel.kt
efguydan
212,603,634
false
null
package com.efedaniel.bloodfinder.bloodfinder.home.bloodrequestresults import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import com.efedaniel.bloodfinder.base.BaseViewModel import com.efedaniel.bloodfinder.bloodfinder.models.request.UploadBloodAvailabilityRequest import javax.inject.Inject ...
0
Kotlin
4
14
5d5b2c98d5ea9c180cbe9e44e69cda486679f399
760
Blood-Donor-Blood-Bank-Finder
Apache License 2.0
src/main/kotlin/tree/bintree/MinAwkward.kt
yx-z
106,589,674
false
null
package tree.bintree import util.* // given a binary tree representing company hierarchy, with each edge containing // a number, either positive, 0, or negative, also remembering that // there is an edge between two nodes iff. one is a direct parent of the other // find a subset of exactly k nodes with the smallest ...
0
Kotlin
0
1
15494d3dba5e5aa825ffa760107d60c297fb5206
2,885
AlgoKt
MIT License
tools/qvod/src/main/kotlin/top/bettercode/summer/tools/qvod/QvodPlaySignatureSerializer.kt
top-bettercode
387,652,015
false
null
package top.bettercode.summer.tools.qvod import com.fasterxml.jackson.core.JsonGenerator import com.fasterxml.jackson.databind.SerializerProvider import com.fasterxml.jackson.databind.annotation.JacksonStdImpl import com.fasterxml.jackson.databind.jsontype.TypeSerializer import com.fasterxml.jackson.databind.ser.std.S...
0
Kotlin
0
2
3e4c089f6a05cf0dcd658e1e792f0f3edcbff649
1,631
summer
Apache License 2.0
app/src/main/java/com/example/textrecoginition/di/AppModule.kt
ramafebri
592,581,937
false
null
package com.example.textrecoginition.di import com.example.textrecoginition.domain.usecase.ITextUseCase import com.example.textrecoginition.domain.usecase.TextUseCase import dagger.Binds import dagger.Module import dagger.hilt.InstallIn import dagger.hilt.android.components.ViewModelComponent import dagger.hilt.androi...
0
Kotlin
0
0
a7f14e1e2a68914ac8ea6742c04f25b160fbaab4
524
sawitpro-text-recognition
MIT License
hyperswitch-android-sdk-lite/src/main/java/io/hyperswitch/lite/paymentsheet/PaymentSheetResultCallback.kt
juspay
790,131,865
false
{"Kotlin": 293389, "Shell": 2483}
package io.hyperswitch.lite.paymentsheet /** * Callback that is invoked when a [PaymentSheetResult] is available. */ fun interface PaymentSheetResultCallback { fun onPaymentSheetResult(paymentSheetResult: PaymentSheetResult) }
1
Kotlin
1
7
03390c80741bbb4abae64bed09474b0345cffdb4
233
hyperswitch-sdk-android
Apache License 2.0
app/src/main/java/com/jxareas/xpensor/XpensorApp.kt
jxareas
540,284,293
false
{"Kotlin": 260827, "Python": 1602, "Shell": 695}
package com.jxareas.xpensor import android.app.Application import androidx.appcompat.app.AppCompatDelegate import com.jxareas.xpensor.core.data.local.preferences.DefaultUserPreferences.Companion.THEME_DARK import com.jxareas.xpensor.core.data.local.preferences.DefaultUserPreferences.Companion.THEME_LIGHT import com.jx...
0
Kotlin
3
35
c8639526a7fdd710e485668093ce627e0fa1e8e5
958
Xpensor
MIT License
student/src/main/java/com/solutionteam/mindfulmentor/data/local/UserDataStorePreferencesImp.kt
DevSkillSeekers
746,597,864
false
{"Kotlin": 412451}
package com.solutionteam.mindfulmentor.data.local import androidx.datastore.core.DataStore import androidx.datastore.preferences.core.Preferences import androidx.datastore.preferences.core.booleanPreferencesKey import androidx.datastore.preferences.core.edit import kotlinx.coroutines.flow.first import kotlinx.coroutin...
1
Kotlin
0
1
05d9da5efba3b9ca8b0c2e409d1329d8e22f19dd
1,111
GradesFromGeeks
Apache License 2.0
core/domain/src/main/java/com/specure/core/domain/location/LocationWithAltitude.kt
specure
873,554,191
false
{"Kotlin": 595697, "Java": 31068}
package com.specure.core.domain.location import kotlin.time.Duration data class LocationWithDetails( val location: Location, val source: String, val altitude: Double, val age: Duration, val timestamp: Duration, )
0
Kotlin
0
0
371dd71affda0251556496c1d2b9af00aa2dac4a
235
ont-drive-test-tool-tracker
Apache License 2.0
android/app/src/main/kotlin/com/akmal02/flutteversi/MainActivity.kt
amuhaimin02
332,970,506
false
{"Dart": 37074, "HTML": 1136, "Swift": 404, "Kotlin": 128, "Objective-C": 38}
package com.akmal02.flutteversi import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { }
0
Dart
1
0
d5af045447bb70f85d15b3f20ff4eeae033d281d
128
flutterversi
MIT License
src/main/kotlin/me/mrkirby153/KirBot/command/executors/fun/CommandSeen.kt
nbanmp
109,642,199
true
{"Kotlin": 207082}
package me.mrkirby153.KirBot.command.executors.`fun` import me.mrkirby153.KirBot.Bot import me.mrkirby153.KirBot.command.args.CommandContext import me.mrkirby153.KirBot.command.executors.CmdExecutor import me.mrkirby153.KirBot.utils.Context import me.mrkirby153.KirBot.utils.Time import net.dv8tion.jda.core.entities.Us...
0
Kotlin
0
0
d95e405564f8068a2396c90b6945944d5d1d221d
1,750
KirBot
MIT License
src-kotlin/ru/glitchless/game/collision/data/Arc.kt
frontend-park-mail-ru
102,366,064
false
{"JavaScript": 121837, "TypeScript": 35591, "Kotlin": 20868, "CSS": 17438, "HTML": 7412, "Dockerfile": 902}
package ru.glitchless.game.collision.data import kotlin.math.* class Arc(radius: Double, private val boundingPoints: Array<CollisionPoint>, center: CollisionPoint = CollisionPoint(0.0f, 0.0f)) : Circle(radius, center) { private val bound1 = boundingPoints[0]; private val bound2 = bounding...
14
JavaScript
1
5
3b91ac9ec8f04b3beb4b50c5927ac736fa6dce46
3,241
2017_2_glitchless
MIT License
kotlin/Battleships/Stage 5/Game.kt
YuraVolk
699,763,308
false
{"Java": 270149, "Kotlin": 160960, "JavaScript": 46154, "CSS": 25589, "HTML": 21447}
package battleship class Game { companion object { private const val SIZE = 10 private const val ENTER_MESSAGE = "Press Enter and pass the move to another player" } private val boards = mutableListOf<Board>() private fun inputBoard(index: Int) { println("Player $index, place y...
1
null
1
1
8ceb6e2c20bb347a4a9b6cd5d121170d199c8667
1,273
hyperskill-projects
The Unlicense
tome/src/main/kotlin/voodoo/changelog/ChangelogStepData.kt
elytra
119,208,408
false
{"Markdown": 7, "Git Config": 1, "Gradle Kotlin DSL": 8, "INI": 4, "Shell": 15, "Text": 2, "Ignore List": 2, "Batchfile": 2, "Groovy": 1, "Java": 2, "Kotlin": 262, "Java Properties": 45, "YAML": 1, "JSON": 378, "XML": 3}
package voodoo.changelog import voodoo.data.EntryReportData import voodoo.data.PackReportData data class ChangelogStepData ( val newPackMetaInfo: Map<PackReportData, String>, val oldPackMetaInfo: Map<PackReportData, String>, val newEntryMetaInfo: Map<String, Map<EntryReportData, String>>, val oldEntry...
1
null
1
1
5a4e0217b1f8d2af193e8c04d1bee0258fd1cc5a
373
Voodoo
MIT License
app/src/main/java/com/ieeevit/gakko/data/repository/ThreadsRepositoryImpl.kt
VibhorChinda
279,553,228
true
{"Kotlin": 218578}
package com.ieeevit.gakko.data.repository import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import com.ieeevit.gakko.data.models.Classroom import com.ieeevit.gakko.data.models.Threads import com.ieeevit.gakko.data.models.User import com.google.firebase.database.* class ThreadsRepositoryImpl...
0
null
0
3
bd2fa42693e81ff464d268cc88b629dd7a66cd8f
3,345
Gakko
MIT License
src/main/kotlin/org/sgdan/grelm/JsonData.kt
sgdan
229,807,930
false
null
/** * Contains data classes to represent the AST data that * will be turned into Truffle nodes. */ package org.sgdan.grelm import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable import kotlinx.serialization.modules.SerializersModule val astContext = SerializersModule { polymorphic(Ex...
0
Kotlin
0
7
c3af739bb181388496933343ce0348e3003377c1
2,088
truffle-elm
MIT License
shared/core/src/commonMain/kotlin/com/paligot/confily/core/database/mappers/CategoryMappers.kt
GerardPaligot
444,230,272
false
{"Kotlin": 887764, "Swift": 125581, "Shell": 1148, "Dockerfile": 542, "HTML": 338, "CSS": 102}
package com.paligot.confily.core.database.mappers import com.paligot.confily.models.Category import com.paligot.confily.models.ui.CategoryUi import com.paligot.confily.db.Category as CategoryDb fun Category.convertToDb(eventId: String): CategoryDb = CategoryDb( id = id, name = name, color = color, ico...
9
Kotlin
5
141
465cf6c21bf28010a01af8095ad9dcca068c5035
587
Confily
Apache License 2.0
shared/src/main/kotlin/net/rsprox/shared/filters/ProtCategory.kt
blurite
822,339,098
false
{"Kotlin": 5997123, "HCL": 3626}
package net.rsprox.shared.filters public enum class ProtCategory( public val label: String, ) { INTERFACES("Interfaces"), NPCS("Npcs"), LOCS("Locs"), OBJS("Objs"), PLAYERS("Players"), EVENTS("Events"), PROT_RESUME("Protected access resume"), FRIENDCHAT("Friend chat"), CLAN("Clan...
9
Kotlin
12
31
78fb08c23ec5bedd194371627586005b50b01ada
699
rsprox
MIT License
app/src/main/java/com/example/figutrader/ui/scan/ScanViewModel.kt
UTN-FRBA-Mobile
539,726,569
false
null
package com.example.figutrader.ui.scan import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel class ScanViewModel : ViewModel() { private val _text = MutableLiveData<String>().apply { value = "ESCANEAR" } val text: LiveData<String> = _text ...
0
Kotlin
0
0
0cbec5019554594d6843bacbe05093d1f5ce4da5
321
FiguTrader
MIT License
app/src/main/java/com/mateuszcholyn/wallet/frontend/domain/usecase/backup/impo/ImportV1UseCase.kt
mateusz-nalepa
467,673,984
false
{"Kotlin": 643422}
package com.mateuszcholyn.wallet.frontend.domain.usecase.backup.impo import com.mateuszcholyn.wallet.backend.api.core.category.CategoryCoreServiceAPI import com.mateuszcholyn.wallet.backend.api.core.category.CategoryId import com.mateuszcholyn.wallet.backend.api.core.expense.ExpenseCoreServiceAPI import com.mateuszcho...
0
Kotlin
0
0
3213bca91abc9aae68f43b5b2b627561ee1437b9
3,491
wallet
Apache License 2.0
sample-app/src/androidTest/java/com/atiurin/sampleapp/Steps/CustomClicksPageSteps.kt
NiaGognadze
814,668,274
false
{"Kotlin": 736312, "Java": 13304, "HTML": 2886, "Batchfile": 236, "Shell": 236}
package com.atiurin.sampleapp.Steps import com.atiurin.sampleapp.Constants.ConstantData.CIRCLE_MESSAGE_BOTTOM_LEFT import com.atiurin.sampleapp.Constants.ConstantData.CIRCLE_MESSAGE_BOTTOM_RIGHT import com.atiurin.sampleapp.Constants.ConstantData.CIRCLE_MESSAGE_TOP_LEFT import com.atiurin.sampleapp.Constants.ConstantD...
0
Kotlin
0
0
328bb5d584f4817559a99230e6ae637deb4a5fc1
1,762
Espresso_Third_Homework
Apache License 2.0
library-service/src/main/kotlin/library/service/api/books/payload/BorrowBookRequest.kt
nt-ca-aqe
100,617,700
false
null
package library.service.api.books.payload import library.service.business.books.domain.types.Borrower import javax.validation.constraints.NotNull import javax.validation.constraints.Pattern import javax.validation.constraints.Size /** Request body used when borrowing a book. */ data class BorrowBookRequest( @...
11
Kotlin
11
14
2942752684ce82167880908caed4111e402b6caa
469
library-app
Apache License 2.0
graph/graph-application/src/main/kotlin/eu/tib/orkg/prototype/contenttypes/services/actions/comparison/ComparisonContributionCreator.kt
TIBHannover
197,416,205
false
{"Kotlin": 2627763, "Cypher": 216189, "Python": 4880, "Groovy": 1936, "Shell": 1803, "HTML": 240}
package eu.tib.orkg.prototype.contenttypes.services.actions.comparison import eu.tib.orkg.prototype.contenttypes.services.actions.CreateComparisonCommand import eu.tib.orkg.prototype.contenttypes.services.actions.comparison.ComparisonAction.* import eu.tib.orkg.prototype.statements.api.Predicates import eu.tib.orkg.pr...
0
Kotlin
2
5
31ef68d87499cff09551febb72ae3d38bfbccb98
900
orkg-backend
MIT License
core/src/main/java/dev/pthomain/android/boilerplate/core/utils/string/StringUtils.kt
pthomain
140,967,224
false
{"Kotlin": 97269}
package dev.pthomain.android.boilerplate.core.utils.string fun String.capitaliseFirst() = if (length > 0) substring(0, 1).toUpperCase().plus(substring(1)) else this
0
Kotlin
1
1
9c58f74d7d7ccb01556ad8e2c2e3bcb407739569
181
boilerplate
Apache License 2.0
kspec-core/src/main/kotlin/io/polymorphicpanda/kspec/context/ContextVisitor.kt
raniejade
52,538,491
false
{"Kotlin": 128999}
package io.polymorphicpanda.kspec.context interface ContextVisitor { fun preVisitExampleGroup(context: Context.ExampleGroup): ContextVisitResult fun onVisitExample(context: Context.Example): ContextVisitResult fun postVisitExampleGroup(context: Context.ExampleGroup): ContextVisitResult }
8
Kotlin
3
18
62088541dc1743d69c26463529b27bfd7160403c
302
kspec
MIT License
src/main/kotlin/com/baileytye/dataresource/model/DefaultErrorMessages.kt
baileytye
277,396,202
false
null
package com.baileytye.dataresource.model data class DefaultErrorMessages( override val networkTimeout: String = "Network timeout", override val genericNetwork: String = "Network error", override val cacheTimeout: String = "Cache timeout", override val unknown: String = "Something went wrong", overr...
0
Kotlin
0
0
738f7487dae64f96cd113121f34f36eabf63767a
393
DataResource
Apache License 2.0
erikflowers-weather-icons/src/commonMain/kotlin/compose/icons/weathericons/Fog.kt
DevSrSouza
311,134,756
false
null
package compose.icons.weathericons import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Butt import androidx.compose.ui.graphics.StrokeJoin.Miter import androidx.compose.ui.graphic...
17
null
25
571
a660e5f3033e3222e3553f5a6e888b7054aed8cd
5,529
compose-icons
MIT License
app/src/main/java/com/dev_vlad/wikisearch/models/Urls.kt
vlad-ed-git
210,514,224
false
null
package com.dev_vlad.wikisearch.models import com.dev_vlad.wikisearch.R // kotlin has no concept of static object Urls { private const val BASE_URL = "https://en.wikipedia.org/w/api.php" fun getSearchUrl(term : String, skip : Int, take : Int ) : String { return BASE_URL + "?action=query" + ...
0
Kotlin
0
0
bbc71d20825d367687e264ff2e0ce6c05e5266ec
1,154
Wiki-Search
MIT License
e2e/src/test/kotlin/org/virtuslab/bazelsteward/e2e/rules/ScalaRulesUpdateTest.kt
VirtusLab
567,694,906
false
null
package org.virtuslab.bazelsteward.e2e.rules import org.junit.jupiter.api.Disabled import org.virtuslab.bazelsteward.e2e.rules.fixture.RulesUpdate @Disabled("Scala's release's tag is not compatible with SemVer") class ScalaRulesUpdateTest : RulesUpdate( "rules/rules_scala", "io_bazel_rules_scala" to "v5.0.0", )
35
Kotlin
3
9
f0764aacc0b13b1296eb8cc6cd062546ed1914ff
319
bazel-steward
Apache License 2.0
Chapter10/src/main/kotlin/05_Parallel_Map.kt
PacktPublishing
654,570,300
false
{"Kotlin": 133148}
import arrow.core.Either import arrow.core.NonEmptyList import arrow.fx.coroutines.parMap import arrow.fx.coroutines.parMapOrAccumulate import arrow.fx.coroutines.parMapUnordered import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.flow.asFlow import kotlinx.coroutines.flow.toList import kotlinx.coroutines.w...
0
Kotlin
2
1
5f6669e33db38d3099cdf34bee3ab8750807d10b
1,327
Kotlin-Design-Patterns-and-Best-Practices_Third-Edition
MIT License
src/main/kotlin/org/arend/psi/ext/ArendAtomLevelExprImplMixin.kt
i-walker
237,828,319
false
{"Gradle Kotlin DSL": 2, "INI": 2, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "YAML": 1, "Markdown": 1, "Kotlin": 318, "Java": 3, "XML": 1, "SVG": 14, "HTML": 4, "JFlex": 1}
package org.arend.psi.ext import com.intellij.lang.ASTNode import org.arend.term.abs.AbstractLevelExpressionVisitor import org.arend.psi.ArendAtomLevelExpr abstract class ArendAtomLevelExprImplMixin(node: ASTNode) : ArendSourceNodeImpl(node), ArendAtomLevelExpr { override fun getData() = this override fun <...
1
null
1
1
2d0a859283fac64d05bfd75c7e6a9bafb25eaee6
794
intellij-arend
Apache License 2.0
entity-service/src/main/kotlin/com/egm/stellio/entity/util/ParsingUtils.kt
vraybaud
274,435,648
true
{"Kotlin": 555843, "Shell": 4974, "TSQL": 1381, "Dockerfile": 844, "PLSQL": 61}
package com.egm.stellio.entity.util import java.net.URLDecoder fun extractComparaisonParametersFromQuery(query: String): ArrayList<String> { val splitted = ArrayList<String>() if (query.contains("==")) { splitted.add(query.split("==")[0]) splitted.add("=") splitted.add(query.split("=="...
0
null
0
0
e2c9ee575eaf3397f6262618c98356fe0dbd6d6a
1,258
stellio-context-broker
Apache License 2.0
src/main/kotlin/me/zhengjin/common/sso/auditing/SaTokenAuditorAware.kt
zhengjin-me
530,603,723
false
{"Kotlin": 46033}
package me.zhengjin.common.sso.auditing import cn.dev33.satoken.spring.SpringMVCUtil import me.zhengjin.common.sso.utils.AuthUtils import org.springframework.data.domain.AuditorAware import org.springframework.stereotype.Component import java.util.Optional /** * @version V1.0 * @title: SpringSecurityAuditorAware *...
0
Kotlin
0
0
e6e9c4522e0a23e7d20ee68d5d3bce141e0d3467
728
common-sso-sdk
MIT License
app/src/main/java/com/anip/swamphacks/model/Announcement.kt
swamphacks
112,042,979
false
null
package com.anip.swamphacks.model /** * Created by anip on 07/01/18. */ data class Announcement(val id: Int, val name: String, val description: String, val type : String) { constructor() : this(id = 124, name = "SwampHacks",description = "W...
0
Kotlin
0
0
00be451eb7e8186021d49fa6fe2cf0920a75d216
440
2018-SwampHacks-Android
Apache License 2.0
lib/src/main/kotlin/com/wnc_21/kandroidextensions/view/SupportFragmentManagerExtensions.kt
zamesilyasa
65,530,248
false
{"Gradle": 4, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Java Properties": 1, "Proguard": 2, "Java": 2, "XML": 10, "Kotlin": 21}
package com.wnc_21.kandroidextensions.view import android.support.v4.app.FragmentManager import android.support.v4.app.FragmentTransaction fun FragmentManager.isFragmentAdded(tag: String) : Boolean = findFragmentByTag(tag) != null fun FragmentManager.addIfNot(tag: String, transaction: (FragmentTransaction) -> Unit...
0
Kotlin
0
1
028035fcc776fead7d24222f063c2d5300d93a82
493
kandrextensions
Apache License 2.0
sea-shell-service-immutable/src/main/kotlin/org/jesperancinha/shell/webflux/immutable/config/SeaShellServiceConfiguration.kt
jesperancinha
217,506,082
false
{"Kotlin": 72933, "Java": 37498, "Makefile": 2414, "TypeScript": 2263, "Shell": 1790, "Dockerfile": 688}
package org.jesperancinha.shell.webflux.immutable.config import org.springframework.context.annotation.ComponentScan import org.springframework.context.annotation.Configuration import org.springframework.web.reactive.config.EnableWebFlux /** * Created by jofisaes on 03/08/2021 */ @Configuration @EnableWebFlux @Comp...
0
Kotlin
3
3
706f729bc53db5a630fd40a3b235d140f57e202c
399
sea-shell-archiver
Apache License 2.0
src/main/kotlin/com/skillw/asahi/internal/parser/prefix/top/StringParser.kt
Glom-c
396,683,163
false
null
package com.skillw.asahi.internal.parser.prefix.top import com.skillw.asahi.api.annotation.AsahiTopParser import com.skillw.asahi.api.member.lexer.AsahiLexer import com.skillw.asahi.api.member.parser.prefix.TopPrefixParser import com.skillw.asahi.api.member.quest.Quester import com.skillw.asahi.api.quester @AsahiTop...
1
Kotlin
0
9
35b93485f5f4c2d5c534a2765ff7cfb8f34dd737
944
Pouvoir
MIT License
src/main/kotlin/intermediaryoperators/Buffer.kt
szaszpeter
738,067,232
false
{"Kotlin": 15999, "Assembly": 52}
package intermediaryoperators import flows.emission_delay_from_user_input import flows.numberGeneratorFlow import kotlinx.coroutines.ExperimentalCoroutinesApi import kotlinx.coroutines.delay import kotlinx.coroutines.flow.buffer import kotlinx.coroutines.flow.onEach import kotlinx.coroutines.runBlocking /*** Bu...
0
Kotlin
0
0
9ab8c531e7c435a48222904914e242ebe32b09a5
778
Flowground
Apache License 2.0
straight/src/commonMain/kotlin/me/localx/icons/straight/outline/WishlistStar.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.straight.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.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion.Mite...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
2,886
icons
MIT License
8_flutter_sqlite/android/app/src/main/kotlin/br/com/danielmorita/flutter_sqlite/MainActivity.kt
danieldkm
414,401,442
false
{"Dart": 147929, "C++": 16843, "CMake": 7989, "Swift": 4040, "HTML": 3976, "Kotlin": 1464, "C": 734, "Objective-C": 380}
package br.com.danielmorita.flutter_sqlite import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { }
0
Dart
0
1
f68e8119817bf4cd5948cb3883914637b4047412
139
flutter
MIT License
buildSrc/src/main/kotlin/gradle/plugin/AndroidFeaturePlugin.kt
step-Mate
738,437,093
false
{"Kotlin": 753362}
package gradle.plugin import gradle.plugin.configure.configureTest import org.gradle.api.Plugin import org.gradle.api.Project import org.gradle.kotlin.dsl.dependencies internal class AndroidFeaturePlugin : Plugin<Project> { override fun apply(target: Project) = with(target) { with(pluginManager) { ...
3
Kotlin
0
0
8ddd7c783d7bef43506fa5be9de3a63248df81a1
970
Android
Apache License 2.0
app/src/main/java/org/oppia/app/player/stopexploration/StopExplorationInterface.kt
IronClad1607
248,988,006
true
{"Kotlin": 1921059}
package org.oppia.app.player.stopexploration /** Interface to stop the exploration and return to Topic in between. */ interface StopExplorationInterface { fun stopExploration() }
0
null
0
1
d6e58b45cc176170afa91d251e6d88b820a44a16
182
oppia-android
Apache License 2.0
app/src/main/java/com/api/scientificcalculator/ui/theme/AppNavigation.kt
pushkartiwarii
854,231,044
false
{"Kotlin": 56968}
package com.api.scientificcalculator.ui.theme import android.annotation.SuppressLint import androidx.compose.animation.slideIn import androidx.compose.animation.slideInHorizontally import androidx.compose.animation.slideInVertically import androidx.compose.animation.slideOut import androidx.compose.animation.slideOutH...
0
Kotlin
1
0
10e8a79fd1be430dc1cd2ebd837da3d67fc3d8b7
5,694
Two_In_One_Calculator
MIT License
project/AppInfoKtx/src/main/java/afkt/app/module/event/ExportEvent.kt
i-stack
307,603,115
true
{"Java": 6049626, "Kotlin": 204321}
package afkt.app.module.event import afkt.app.module.TypeEnum /** * detail: 导出事件 * @author Ttt */ class ExportEvent(type: TypeEnum) { val type: TypeEnum = type }
0
null
0
2
4631f8b20450ecad4734fbe1d1ebefb69cdfd38f
171
DevUtils
Apache License 2.0
meetprize/meetprize-common/src/main/kotlin/pl/jug/client/BookmarksClient.kt
krzydzie
172,727,556
false
{"JavaScript": 408336, "Kotlin": 53211, "CSS": 8323, "Groovy": 4490, "HTML": 2187}
package pl.jug.client import pl.jug.model.BookmarkTreeModel interface BookmarksClient { suspend fun getSubTree(parentId: String): BookmarkTreeModel suspend fun addFolder(parentId: String, name: String): BookmarkTreeModel suspend fun addBookmark(parentId: String, name: String, url: String): BookmarkTreeMod...
0
JavaScript
0
0
326dcd2963e4f326ec1832c9b3d078d41b52cb9b
324
jug-gdansk-kotlin-webextensions
MIT License
androidApp/src/main/java/dev/avatsav/linkding/android/ui/bookmarks/DeleteBookmarkDialog.kt
avatsav
576,855,763
false
{"Kotlin": 190189, "Swift": 589}
package dev.avatsav.linkding.android.ui.bookmarks import androidx.compose.material3.AlertDialog import androidx.compose.material3.Icon import androidx.compose.material3.Text import androidx.compose.material3.TextButton import androidx.compose.runtime.Composable import androidx.compose.ui.res.painterResource import dev...
2
Kotlin
0
8
1d853d58d9d584c270f7e2ed11392e2aec0bdf34
1,191
linkding-apps
MIT License
browser-kotlin/src/jsMain/kotlin/web/animations/AnimationPlaybackEvent.kt
karakum-team
393,199,102
false
{"Kotlin": 6272741}
// Automatically generated - do not modify! @file:Suppress( "EXTERNAL_CLASS_CONSTRUCTOR_PROPERTY_PARAMETER", ) package web.animations import seskar.js.JsAlias import seskar.js.JsAlias.Companion.THIS import seskar.js.JsValue import web.events.Event import web.events.EventType /** * [MDN Reference](https://devel...
0
Kotlin
8
36
95b065622a9445caf058ad2581f4c91f9e2b0d91
1,210
types-kotlin
Apache License 2.0
domain/src/main/java/com/infinitepower/newquiz/domain/repository/multi_choice_quiz/GuessMathSolutionRepository.kt
joaomanaia
443,198,327
false
null
package com.infinitepower.newquiz.domain.repository.multi_choice_quiz import com.infinitepower.newquiz.model.multi_choice_quiz.MultiChoiceBaseCategory interface GuessMathSolutionRepository : MultiChoiceQuestionBaseRepository<MultiChoiceBaseCategory.GuessMathSolution>
0
Kotlin
14
99
4741a80f1db8073c7d33499523117b446489bbf0
269
newquiz
Apache License 2.0
libraries/apollo-cli/src/main/kotlin/com/apollographql/apollo3/cli/PublishSchemaCommand.kt
apollographql
69,469,299
false
null
package com.apollographql.apollo3.cli import com.apollographql.apollo3.tooling.SchemaUploader import com.github.ajalt.clikt.core.CliktCommand import com.github.ajalt.clikt.parameters.options.default import com.github.ajalt.clikt.parameters.options.option import com.github.ajalt.clikt.parameters.options.required import...
176
null
629
3,409
a0f48676ad7e7e1715793740733b39208ace9a33
1,118
apollo-kotlin
MIT License
src/main/kotlin/au/gov/dxa/definition/DefinitionService.kt
apigovau
125,774,580
false
{"Kotlin": 82903, "HTML": 24514, "CSS": 14017, "Gherkin": 3860}
package au.gov.dxa.definition import org.springframework.beans.factory.annotation.Autowired import org.springframework.stereotype.Service @Service class DefinitionService { @Autowired private lateinit var repository: DefinitionRepository fun getDomainByAcronym(acronym:String): Domain? = repository.getDo...
0
Kotlin
1
0
85b1bf35dbffc6c2fa751e94488e6e03092d33cc
1,969
definitions-catalogue
MIT License
mediapicker/src/main/java/com/wli/mediapicker/crop/inputview/SizeInputViewType.kt
weblineindia
696,693,554
false
{"Kotlin": 154581}
package com.wli.mediapicker.crop.inputview enum class SizeInputViewType { WIDTH, HEIGHT }
0
Kotlin
0
0
f4a5d8faf40cec6d44c80b393bae70113ba069a3
94
Android-Media-Picker
MIT License
libraries/stdlib/wasm/internal/kotlin/wasm/internal/WasmInstructions.kt
JetBrains
3,432,266
false
null
/* * Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ @file:ExcludedFromCodegen @file:Suppress("unused", "NON_ABSTRACT_FUNCTION_WITH_NO_BODY", "INLINE_CLASS_IN_EXTE...
181
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
13,456
kotlin
Apache License 2.0
app/src/main/java/com/volie/lastearthquakes/ui/fragment/EarthquakeFragment.kt
harunuyan
614,096,463
false
null
package com.volie.lastearthquakes.ui.fragment import android.os.Bundle import android.view.* import androidx.appcompat.widget.SearchView import androidx.core.view.MenuHost import androidx.core.view.MenuProvider import androidx.fragment.app.Fragment import androidx.fragment.app.viewModels import androidx.lifecycle.Life...
0
Kotlin
0
1
3a52d34db84310904782d6afd81c764b1f06d00b
5,238
LastEarthquakes
The Unlicense
app/src/main/java/com/volie/lastearthquakes/ui/fragment/EarthquakeFragment.kt
harunuyan
614,096,463
false
null
package com.volie.lastearthquakes.ui.fragment import android.os.Bundle import android.view.* import androidx.appcompat.widget.SearchView import androidx.core.view.MenuHost import androidx.core.view.MenuProvider import androidx.fragment.app.Fragment import androidx.fragment.app.viewModels import androidx.lifecycle.Life...
0
Kotlin
0
1
3a52d34db84310904782d6afd81c764b1f06d00b
5,238
LastEarthquakes
The Unlicense
client/app/src/main/java/com/bubu/workoutwithclient/retrofitinterface/UserGetMatchListModule.kt
BusanBubu99
524,859,925
false
{"Kotlin": 228925, "Python": 33374}
package com.bubu.workoutwithclient.retrofitinterface import android.util.Log import com.google.gson.Gson import com.google.gson.annotations.SerializedName import retrofit2.Call import retrofit2.http.GET import java.io.EOFException import java.net.SocketTimeoutException /** * UserGetMatchListModule * Shows a list of...
0
Kotlin
4
3
11dbae588d1998a63723324b8c05d3354ce5d737
4,378
WorkoutWith
Apache License 2.0
tmp/arrays/youTrackTests/5582.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-33368 class Class { fun foo(block: suspend (v1: Int) -> Any?) {} fun foo(block: suspend (v1: Int, v2: String) -> Any?) {} suspend fun bar(v1: Int): Any? = null fun run() { foo(this::bar) } }
1
null
1
1
602285ec60b01eee473dcb0b08ce497b1c254983
242
bbfgradle
Apache License 2.0
backend/src/main/kotlin/com/samoxive/discordstats/controller/response/MemberDto.kt
Samoxive
253,906,020
false
{"TypeScript": 32666, "Kotlin": 21498, "Dockerfile": 755, "CSS": 366, "HTML": 296, "Shell": 63}
package com.samoxive.discordstats.controller.response import net.dv8tion.jda.api.entities.Member data class MemberDto( val id: String, val name: String, val nickname: String?, val avatarUrl: String ) fun Member.toDto() = MemberDto(id, user.asTag, nickname, user.effectiveAvatarUrl)
19
TypeScript
0
4
d4031e463f1fca2380cd8611465cec0ed5675be5
300
discord-stats
MIT License
processor/src/main/java/com/joom/lightsaber/processor/analysis/ExternalSetupAnalyzer.kt
joomcode
170,310,869
false
null
/* * Copyright 2020 SIA Joom * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
0
Kotlin
0
9
f1eede8e14ecb399a451085fd5d13e77dd67f329
5,185
lightsaber
Apache License 2.0
src/main/kotlin/network/xyo/sdkcorekotlin/crypto/signing/algorithms/rsa/XyoRsaPrivateKey.kt
ReconCatLord
179,439,094
true
{"Kotlin": 150281}
package network.xyo.sdkcorekotlin.crypto.signing.algorithms.rsa import network.xyo.sdkcorekotlin.XyoFromSelf import network.xyo.sdkcorekotlin.crypto.signing.XyoPrivateKey import network.xyo.sdkcorekotlin.schemas.XyoSchemas import network.xyo.sdkobjectmodelkotlin.buffer.XyoBuff import network.xyo.sdkobjectmodelkotlin.s...
0
Kotlin
0
0
a8d35cb1290ccbb1345df501f4ecf4eb97c92b19
2,197
sdk-core-kotlin
MIT License
common-query-builder/src/main/java/ro/andob/outofroom/querybuilder/QueryBuilder.kt
andob
363,221,615
false
null
package ro.andob.outofroom.querybuilder import ro.andob.outofroom.QueryArgumentConverter import ro.andob.outofroom.Table @Suppress("UNCHECKED_CAST") abstract class QueryBuilder<FILTER> ( val filter : FILTER, private val page : Page = Page(), ) { fun build() : Pair<String, Array<Any?>> { val sq...
0
Kotlin
0
4
418211123a4b782a9bf29d01692d006ada7cc0a7
2,166
OutOfROOM
Apache License 2.0
common/data/src/main/java/com/app/data/api/albums/AlbumsRepositoryImpl.kt
AhmedTawfiqM
486,283,872
false
null
package com.app.data.api.albums import com.app.core.domain.albums.repository.AlbumsRepository import com.app.core.domain.albums.model.AlbumDto import com.app.data.api.albums.source.LocalAlbumsDataSrc import com.app.data.api.albums.source.RemoteAlbumsDataSrc import retrofit2.Response class AlbumsRepositoryImpl( pr...
0
Kotlin
0
7
cb34d425033d5a8127bd74dad693fb3745f06fbd
569
Albums
Apache License 2.0
common/src/main/java/net/beholderface/ephemera/casting/patterns/spells/OpDatapackFunction.kt
beholderface
812,158,086
false
{"Kotlin": 84490, "Java": 80430}
package net.beholderface.ephemera.casting.patterns.spells import at.petrak.hexcasting.api.spell.ParticleSpray import at.petrak.hexcasting.api.spell.RenderedSpell import at.petrak.hexcasting.api.spell.SpellAction import at.petrak.hexcasting.api.spell.casting.CastingContext import at.petrak.hexcasting.api.spell.iota.* i...
2
Kotlin
1
0
e9a6d56a4fc0ddbe674459c46357659c618d7f40
10,121
Ephemera
MIT License
link/src/androidTest/java/com/stripe/android/link/ui/cardedit/CardEditScreenTest.kt
stripe
6,926,049
false
null
package com.stripe.android.link.ui.cardedit import androidx.activity.ComponentActivity import androidx.compose.ui.test.assertIsEnabled import androidx.compose.ui.test.assertIsNotEnabled import androidx.compose.ui.test.hasClickAction import androidx.compose.ui.test.hasParent import androidx.compose.ui.test.hasText impo...
86
Kotlin
584
1,078
74bf7263f56d53aff2d0035127d84dd40609403d
3,912
stripe-android
MIT License
app/src/main/java/space/w0lf/password/manager/data/dao/android/room/crypto/PasswordCipher.kt
R4v3nPr0
456,199,809
false
{"Kotlin": 76823}
package space.w0lf.password.manager.data.dao.android.room.crypto import android.content.Context import android.util.Base64 import space.w0lf.password.manager.data.dao.android.content.SharedPreferencesHelper import space.w0lf.password.manager.data.dao.android.room.entity.PasswordEntity import javax.crypto.Cipher import...
0
Kotlin
0
0
148f74af192b09229182b81f0de2ddc53e9c1a0b
4,844
password-manager
Apache License 2.0
app/src/main/java/bg/dabulgaria/tibroish/persistence/local/ViolationRepository.kt
ti-broish
359,553,419
false
null
package bg.dabulgaria.tibroish.persistence.local import bg.dabulgaria.tibroish.domain.protocol.Protocol import bg.dabulgaria.tibroish.domain.violation.IViolationRepository import bg.dabulgaria.tibroish.domain.violation.VoteViolation import bg.dabulgaria.tibroish.persistence.local.db.BaseTiBroishLocalRepository import ...
1
Kotlin
0
3
74904912edc11ef4c26014b9a7b259e2b8bc9c86
1,103
mobile-android
MIT License