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
samples/MobileBuyIntegration/app/src/main/java/com/shopify/checkout_sdk_mobile_buy_integration_sample/logs/details/LogDetailModal.kt
Shopify
704,521,719
false
{"Kotlin": 171627, "Java": 8693, "Ruby": 1057}
/* * MIT License * * Copyright 2023-present, Shopify Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, co...
3
Kotlin
0
8
f7aa3ed34437ff0d46c070a191597bb061fac16e
3,253
checkout-sheet-kit-android
MIT License
src/main/kotlin/io/github/dylmeadows/eontimer/model/timer/Gen4TimerConstants.kt
wuyaz
249,127,435
true
{"Kotlin": 113770, "CSS": 4817}
package io.github.dylmeadows.eontimer.model.timer object Gen4TimerConstants { @JvmField val DEFAULT_MODE = Gen4TimerMode.STANDARD const val DEFAULT_CALIBRATED_DELAY = 500L const val DEFAULT_CALIBRATED_SECOND = 14L const val DEFAULT_TARGET_DELAY = 600L const val DEFAULT_TARGET_SECOND = 50L }
0
null
0
0
d868afe77ff39bf867e51b3b9280a263785bb41a
316
EonTimer
MIT License
subprojects/gradle/instrumentation-tests/src/main/kotlin/com/avito/instrumentation/report/SendStatisticsActionImpl.kt
sundetova
287,793,131
true
{"Kotlin": 2381272, "Shell": 16491, "Python": 14168, "Dockerfile": 7088, "Makefile": 2410}
package com.avito.instrumentation.report import com.avito.test.summary.GraphiteRunWriter import com.avito.test.summary.TestSummarySender import com.avito.utils.logging.CILogger interface SendStatisticsAction { fun send() } class SendStatisticsActionImpl( private val report: Report, private val testSummar...
0
Kotlin
0
0
2f65d3005671248068fe734d7fd48ced92192418
1,001
avito-android
MIT License
src/main/kotlin/totoro/yui/db/Database.kt
MoonlightOwl
93,451,448
false
null
package totoro.yui.db import org.sqlite.JDBC import totoro.yui.Log import java.sql.Connection import java.sql.DriverManager @Suppress("unused") class Database(private val filename: String) { private var connection: Connection? = null var quotes: QuotesTable? = null var markov: MarkovTable? = null fu...
2
Kotlin
1
3
a63126933b9d4d0b4e02af385b2b3a0ff74714fa
1,122
Yui
MIT License
defitrack-protocol-contracts/src/main/java/io/defitrack/protocol/olympusdao/OlympusEthereumService.kt
decentri-fi
426,174,152
false
{"Kotlin": 1290412, "Java": 1948, "Dockerfile": 909}
package io.defitrack.protocol.olympusdao import io.defitrack.common.network.Network import io.defitrack.evm.contract.BlockchainGatewayProvider import org.springframework.stereotype.Service @Service class OlympusEthereumService( private val blockchainGatewayProvider: BlockchainGatewayProvider ) { suspend fun ...
59
Kotlin
6
11
8b8d6713c9734d2b4015e7affe658e797c9a00be
650
defi-hub
MIT License
src/main/kotlin/net/rebux/jumpandrun/database/models/Parkours.kt
7rebux
402,599,961
false
{"Kotlin": 119612}
package net.rebux.jumpandrun.database.models import net.rebux.jumpandrun.parkour.ParkourDifficulty import org.bukkit.Material import org.jetbrains.exposed.dao.id.IntIdTable import org.jetbrains.exposed.sql.ReferenceOption object Parkours : IntIdTable() { val name = text("name") val builder = text("builder") ...
0
Kotlin
0
1
ca887b515d3e279b156285c6a33d3cf232f05963
660
jump-and-run
MIT License
app/src/main/java/com/example/dropchallenge/data/model/Temp.kt
knappdev
279,151,994
false
null
package com.example.dropchallenge.data.model data class Temp ( val value:Int, val unit: String )
0
Kotlin
0
0
475f3ecadaa5cbb93eca7c60e83ce4db5f15edb7
105
dropChallenge
Apache License 2.0
app/src/test/java/br/com/nerdrapido/mvvmmockapiapp/data/mapper/PersonDataMapperTest.kt
fwgusberti
286,054,203
true
{"Kotlin": 131453}
package br.com.nerdrapido.mvvmmockapiapp.data.mapper import br.com.nerdrapido.mvvmmockapiapp.data.mapper.person.PersonDataMapper import br.com.nerdrapido.mvvmmockapiapp.data.mapper.person.PersonDataMapperImpl import br.com.nerdrapido.mvvmmockapiapp.remote.model.PersonResponse import br.com.nerdrapido.mvvmmockapiapp.te...
0
Kotlin
0
1
099084f455fe552c99cfed584b27dae385e58dc9
1,871
mvvp-mock-api-app
MIT License
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/bold/Tasksquare.kt
Tlaster
560,394,734
false
{"Kotlin": 25133302}
package moe.tlaster.icons.vuesax.vuesaxicons.bold import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Compa...
0
Kotlin
0
2
b8a8231e6637c2008f675ae76a3423b82ee53950
3,803
VuesaxIcons
MIT License
src/test/kotlin/com/hasanozgan/examples/bankaccount/aggregatesv1.kt
netologist
205,811,935
false
null
package com.hasanozgan.examples.bankaccount import arrow.core.None import arrow.core.Option import arrow.data.Invalid import arrow.data.Valid import arrow.data.Validated import com.hasanozgan.komandante.* class BankAccountAggregateV1(override var id: AggregateID) : Aggregate() { var owner: String = "not/assigned"...
2
Kotlin
4
15
767fee7d0a153c01e6a7f59bb5b2e8c2aeae113f
1,863
komandante
MIT License
src/test/kotlin/co/moelten/splity/FakeYnabClient.kt
ryanmoelter
270,082,440
false
null
package co.moelten.splity import co.moelten.splity.database.ProcessedState import co.moelten.splity.database.toAccountId import co.moelten.splity.database.toBudgetId import co.moelten.splity.database.toCategoryId import co.moelten.splity.database.toPayeeId import co.moelten.splity.database.toPublicSubTransaction impor...
1
Kotlin
0
2
d7e4794e8072d7e86877806c95b8ce08e04652da
15,085
splity
Apache License 2.0
base/core_navigation/src/main/java/com/nstudiosappdev/core/navigation/navigation/NavigationController.kt
harrunisk
231,150,453
false
null
package com.ozan.core.navigation.controller import android.content.Intent import androidx.annotation.IdRes import androidx.fragment.app.Fragment import androidx.fragment.app.FragmentActivity import androidx.fragment.app.FragmentTransaction import java.lang.ref.WeakReference interface NavigationController { val a...
1
Kotlin
1
15
b0059ae52e7875b78815bfe80a9384adb213846e
988
Games
MIT License
src/main/kotlin/online/hudacek/fxradio/ui/view/menu/StationMenu.kt
joeyboli
327,092,751
true
{"Kotlin": 239593, "AppleScript": 1497}
/* * Copyright 2020 FXRadio by hudacek.online * * 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 b...
0
null
0
0
3ac6739388711b4cbfc2c96f54024cb5e3a8c7ba
2,413
fxradio-main
Apache License 2.0
src/main/kotlin/ch/sourcemotion/vertx/gradle/hermes/generate/communication/CommunicationConsumerGenerator.kt
wem
394,379,123
false
null
package ch.sourcemotion.vertx.gradle.hermes.generate.communication import ch.sourcemotion.vertx.gradle.hermes.generate.Generator import ch.sourcemotion.vertx.gradle.hermes.generate.communication.CommunicationGenerator.Companion.unitTypeName import com.squareup.kotlinpoet.* import com.squareup.kotlinpoet.ParameterizedT...
2
Kotlin
0
0
1a65a5e7754272b361a4c23e63801b464cc87309
4,279
vertx-hermes-gradle-plugin
MIT License
modules/services/core-ui/src/commonMain/kotlin/com/makeevrserg/empireprojekt/mobile/core/ui/components/filtercard/FilterCard.kt
makeevrserg
655,032,944
false
{"Kotlin": 309198, "Swift": 16767, "Ruby": 1737}
package com.makeevrserg.empireprojekt.mobile.core.ui.components.filtercard import androidx.compose.foundation.background import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.padding import androidx.compose.foundation.shape.Roun...
1
Kotlin
0
3
0b2201d03b5b464f362e0d2e8bb4e59ed6d0950a
1,094
EmpireProjekt-Mobile
RSA Message-Digest License
guides/micronaut-oracle-function-http/kotlin/src/test/kotlin/example/micronaut/mock/MockData.kt
micronaut-projects
326,986,278
false
null
/* * Copyright 2017-2024 original 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
209
null
31
36
9f04eb978f4882e883adffb6c95d6a6928d79b29
915
micronaut-guides
Creative Commons Attribution 4.0 International
app/src/main/java/com/taiko/noblenote/fragments/TwoPaneFragment.kt
taiko000
5,546,533
false
{"Gradle": 3, "Text": 3, "INI": 1, "Shell": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 2, "Java Properties": 1, "XML": 68, "Kotlin": 43, "Java": 18}
package com.taiko.noblenote.fragments import android.os.Bundle import android.os.Handler import android.view.LayoutInflater import android.view.MenuItem import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment import androidx.navigation.fragment.findNavController import com.google.a...
1
null
1
1
299d6612b31245740eee64b485664104d7fdb3d7
4,488
nobleNoteAndroid
MIT License
app/src/main/java/com/flimbis/tvmaze/di/module/ShowsModule.kt
isnirp
91,095,216
false
null
package com.flimbis.tvmaze.di.module import com.flimbis.tvmaze.core.interactors.GetAllShows import com.flimbis.tvmaze.core.repository.ShowsRepository import com.flimbis.tvmaze.di.scope.CustomScope import com.flimbis.tvmaze.tv.shows.ViewContract import dagger.Module import dagger.Provides import io.reactivex.Scheduler ...
1
Kotlin
1
1
74181ea1621e094cf5a95401ee3d334b2f9c1d4c
682
TvSerial
Apache License 2.0
app/src/main/java/com/test/imagesapp/binding/RecyclerViewBinding.kt
DimaBrody
308,228,183
false
null
package com.test.imagesapp.binding import android.util.Log import androidx.databinding.BindingAdapter import androidx.recyclerview.widget.RecyclerView import androidx.recyclerview.widget.SimpleItemAnimator import com.test.imagesapp.data.model.Photo import com.test.imagesapp.ui.adapter.ImagesAdapter import com.test.i...
1
null
1
1
4ce1febe3f32bcdc2514c13a44ccd75f25ba344f
716
ImagesApp
MIT License
ctp-validators/src/main/kotlin/com/commercetools/rmf/validators/ResourceCatchAllRule.kt
commercetools
136,635,215
false
null
package com.commercetools.rmf.validators import com.damnhandy.uri.template.Literal import io.vrap.rmf.raml.model.resources.Resource import org.eclipse.emf.common.util.Diagnostic import java.util.* @ValidatorSet class ResourceCatchAllRule(severity: RuleSeverity, options: List<RuleOption>? = null) : ResourcesRule(sever...
20
null
6
14
1d29b69ae49e17c28a26be72fd28979ca74922ec
1,706
rmf-codegen
Apache License 2.0
app/src/sharedTest/java/org/oppia/android/app/devoptions/MarkTopicsCompletedActivityTest.kt
rt4914
219,694,111
false
null
package org.oppia.android.app.devoptions import android.app.Application import android.content.Context import android.content.Intent import androidx.appcompat.app.AppCompatActivity import androidx.recyclerview.widget.RecyclerView.ViewHolder import androidx.test.core.app.ActivityScenario.launch import androidx.test.cor...
1
null
1
1
9a5c928257cd3523060a28615e572614be18e631
23,838
oppia-android
Apache License 2.0
kleanarchitekture/remote/src/main/java/com/matthiasbruns/kleanarchitekture/remote/user/mapper/RemoteGeoMapper.kt
matthiasbruns
121,611,656
false
null
package com.matthiasbruns.kleanarchitekture.remote.user.mapper import com.matthiasbruns.kleanarchitekture.commons.data.Mapper import com.matthiasbruns.kleanarchitekture.data.user.model.GeoEntry import com.matthiasbruns.kleanarchitekture.remote.user.model.RemoteGeo import javax.inject.Inject class RemoteGeoMapper @Inj...
1
null
1
11
e5762a16e591c132b05130393ada7e813513a484
496
Klean-ArchiteKture
Apache License 2.0
middle/block/src/main/java/com/timecat/middle/block/page/SearchablePage.kt
LinXueyuanStdio
325,427,986
false
{"Java": 471304, "Kotlin": 335967}
package com.timecat.middle.block.page import android.content.Context import android.view.View import android.widget.EditText import android.widget.FrameLayout import androidx.lifecycle.lifecycleScope import androidx.recyclerview.widget.RecyclerView import com.same.lib.base.AndroidUtilities import com.same.lib.core.Act...
1
null
1
1
e8c126d51f1583b470523d5fa51c60971f8a6144
6,488
TimeCatMiddle
Apache License 2.0
src/daily/_202208/_20220821/Daily.kt
john-h3
253,674,898
false
{"Go Checksums": 1, "Text": 1, "Ignore List": 1, "Markdown": 4, "Go Module": 1, "Java": 407, "Kotlin": 5, "Go": 9}
package daily._202208._20220821 class Daily { class Solution { fun isPrefixOfWord(sentence: String, searchWord: String): Int { var matches = 0 var c = 1 var prefix = true for (i in sentence.indices) { if (sentence[i] == ' ') { ...
0
Java
0
0
3d25156096cabb38e079755c581ecc7be6400ace
846
leetcode-solution
MIT License
libraries/tools/kotlin-main-kts-test/test/org/jetbrains/kotlin/mainKts/test/mainKtsIT.kt
Tusharsaxena290
273,158,317
true
{"Kotlin": 51024013, "Java": 7691261, "JavaScript": 185101, "HTML": 77858, "Lex": 23805, "TypeScript": 21756, "Groovy": 11196, "CSS": 9270, "Swift": 8450, "Shell": 7220, "Batchfile": 5727, "Ruby": 1300, "Objective-C": 404, "Scala": 80}
/* * Copyright 2010-2019 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. */ package org.jetbrains.kotlin.mainKts.test import org.jetbrains.kotlin.mainKts.COMPILED_SCRIPTS_CACHE_DIR_ENV_...
0
null
0
2
62dcfcde790e330869ff1fe2ad5dda5e2e9daeb7
3,855
kotlin
Apache License 2.0
app/src/main/kotlin/com/andela/checksmarter/activities/SplashActivity.kt
coach-K
55,015,162
false
{"Java": 622310, "Kotlin": 39634}
package com.andela.checksmarter.activities import android.content.Intent import android.os.Bundle import android.support.v7.app.AppCompatActivity import android.util.Log import com.andela.checksmarter.utilities.alarm.OnBootReceiver import java.util.* /** * Created by CodeKenn on 14/04/16. */ class SplashActivity : ...
1
Java
1
3
6397e540fca9ea29d04078bf153bf69b4560a449
559
CheckSmarter
MIT License
idea/testData/intentions/simplifyBooleanWithConstants/equalsConjunction.kt
JakeWharton
99,388,807
false
null
fun foo(x: Boolean): Boolean = <caret>true == (x && false)
0
null
28
83
4383335168338df9bbbe2a63cb213a68d0858104
58
kotlin
Apache License 2.0
app/src/main/java/com/arturostrowski/quiz/app/ui/settings/presenter/SettingsMVPPresenter.kt
Mesti193
215,134,193
false
null
package com.arturostrowski.quiz.app.ui.settings.presenter import com.arturostrowski.quiz.app.ui.base.presenter.MVPPresenter import com.arturostrowski.quiz.app.ui.settings.interactor.SettingsMVPInteractor import com.arturostrowski.quiz.app.ui.settings.view.SettingsMVPView interface SettingsMVPPresenter<V : SettingsMVP...
0
Kotlin
0
0
1c0cef0108b0b90a4074f18b4690e5533214b41c
440
QuizApp
Apache License 2.0
app/src/main/java/network/o3/o3wallet/Wallet/SendV2/SendViewModel.kt
Alexandr1992
187,176,212
false
null
package network.o3.o3wallet.Wallet.SendV2 import android.arch.lifecycle.LiveData import android.arch.lifecycle.MutableLiveData import android.arch.lifecycle.ViewModel import neoutils.Neoutils import network.o3.o3wallet.API.NEO.NeoNodeRPC import network.o3.o3wallet.API.O3Platform.O3PlatformClient import network.o3.o3wa...
1
null
1
1
7b2a27e1edc52ada446a978ccb4afc51af193730
11,460
O3Android
MIT License
kirinmaru-android/src/main/java/stream/reconfig/kirinmaru/android/db/ChapterDao.kt
amirulzin
121,656,356
false
{"Gradle": 5, "Markdown": 2, "Java Properties": 1, "Shell": 1, "Ignore List": 3, "Batchfile": 1, "EditorConfig": 1, "Proguard": 1, "JSON": 1, "Kotlin": 158, "XML": 54, "INI": 1, "Java": 6, "YAML": 1}
package stream.reconfig.kirinmaru.android.db import android.arch.persistence.room.Dao import android.arch.persistence.room.Query import android.arch.persistence.room.Transaction import io.reactivex.Flowable import stream.reconfig.kirinmaru.android.vo.Chapter import stream.reconfig.kirinmaru.android.vo.DBChapterId /**...
1
null
1
1
15c1eeafe8f467a55008b402e30d97e6966926f3
938
Kirinmaru
Apache License 2.0
dbflow-tests/src/test/java/com/raizlabs/android/dbflow/test/sqlcipher/CipherModel.kt
woshilaozhang
85,462,503
true
{"Java": 593078, "Kotlin": 584681}
package com.raizlabs.android.dbflow.test.sqlcipher import com.raizlabs.android.dbflow.annotation.Column import com.raizlabs.android.dbflow.annotation.PrimaryKey import com.raizlabs.android.dbflow.annotation.Table import com.raizlabs.android.dbflow.structure.BaseModel /** * Description: */ @Table(database = CipherDa...
0
Java
0
0
42fdeb4e00d73ef24a8721ff87d394581911611b
473
DBFlow
MIT License
android/rctmgl/src/main/java-v10/com/mapbox/rctmgl/components/styles/atmosphere/RCTMGLAtmosphere.kt
rnmapbox
180,028,389
false
null
package com.mapbox.rctmgl.components.styles.atmosphere import android.content.Context import com.facebook.react.bridge.ReadableMap import com.mapbox.maps.MapboxMap import com.mapbox.maps.extension.style.atmosphere.generated.Atmosphere import com.mapbox.maps.extension.style.terrain.generated.Terrain import com.mapbox.m...
34
null
786
1,786
5e87a8d33d311d04c15d0c9489179e69d4b6d3ba
1,830
maps
MIT License
src/code/gfx/Sprite0x3.kt
Jki10
111,472,876
true
{"Markdown": 2, "Java": 75, "Kotlin": 10}
package code.gfx /** * Created on 17-11-08. * @author Brian * @since 2017/11/08 * @param row this is the row of the sprite * @param column The column of the sprite * @param bit The bit-inversion */ data class Sprite0x3(val column: Int, val row: Int, val bit: Inversion) { init { check(column in 0..127 && row ...
0
Java
0
0
da04a6d7edacce8f22f7337973ca23f423a9e1fb
430
Camasia
Apache License 2.0
mf/library/src/main/kotlin/ch/maxant/kdc/mf/library/MessageBuilder.kt
maxant
174,798,779
false
null
package ch.maxant.kdc.mf.library import com.fasterxml.jackson.databind.ObjectMapper import io.opentracing.Tracer import java.util.concurrent.CompletableFuture import javax.enterprise.context.ApplicationScoped import javax.inject.Inject @ApplicationScoped class MessageBuilder { @Inject lateinit var context: C...
3
Kotlin
2
4
88f4ddfbb7d062c3823b33d9e74cfc844cc9a23a
830
kafka-data-consistency
MIT License
test/nl/hannahsten/texifyidea/reference/LatexLabelCompletionTest.kt
Lukas-Heiligenbrunner
237,240,557
false
null
package nl.hannahsten.texifyidea.reference import com.intellij.codeInsight.completion.CompletionType import com.intellij.testFramework.fixtures.BasePlatformTestCase import nl.hannahsten.texifyidea.file.LatexFileType import org.junit.Test class LatexLabelCompletionTest : BasePlatformTestCase() { override fun getTe...
1
null
1
1
9f6bc89a2298e9bb89e4dc3462d02fbe2bb87fcf
3,005
TeXiFy-IDEA
MIT License
j2k/new/tests/testData/inference/common/lambdaAssign.kt
JetBrains
278,369,660
false
null
fun test() { val x: /*T5@*/Function2</*T2@*/Int, /*T3@*/String, /*T4@*/Boolean> = { a: /*T0@*/Int, b: /*T1@*/String -> true/*LIT*/ }/*Function2<T0@Int, T1@String, T6@Boolean>*/ } //LOWER <: T6 due to 'RETURN' //T2 <: T0 due to 'INITIALIZER' //T3 <: T1 due to 'INITIALIZER' //T6 <: T4 due to 'INITIALIZER'
0
null
30
82
cc81d7505bc3e9ad503d706998ae8026c067e838
310
intellij-kotlin
Apache License 2.0
src/test/java/org/khasanof/trycatch/TryKtTest.kt
Nurislom373
695,609,522
false
{"Java Properties": 1, "Maven POM": 1, "Text": 1, "Ignore List": 2, "Markdown": 3, "Kotlin": 4, "Java": 30, "YAML": 1, "XML": 7}
package org.khasanof.trycatch import org.junit.jupiter.api.Test import org.junit.jupiter.api.Assertions.* import org.junit.jupiter.api.Disabled class TryKtTest { @Test @Disabled fun toCallTest() { Try.toCall { thrower() }.ifRaises(RuntimeException::class.java) .the...
0
Java
0
4
7c1ea0ffa8b8e4a3c97356eb2bea00d8d6637b07
626
khasanof-common-util
MIT License
src/main/kotlin/com/github/bigdata/sql/parser/job/JobTaskAntlr4Visitor.kt
duhanmin
397,120,929
false
null
package com.github.bigdata.sql.parser.job import com.github.bigdata.sql.antlr4.job.JobTaskParser import com.github.bigdata.sql.antlr4.job.JobTaskParserBaseVisitor import com.github.bigdata.sql.parser.* import com.github.bigdata.sql.parser.util.StringUtil import org.apache.commons.lang.StringUtils /** * * Created by...
1
null
2
8
f17fb991cce435d77c2231845fb5329ef3dc6d43
3,244
bigdata-sql-parser
Apache License 2.0
domain/src/main/java/com/worldsnas/domain/repo/search/SearchAPI.kt
tamasbazs
195,262,935
true
{"Kotlin": 314785, "Java": 240871}
package com.worldsnas.domain.repo.search import com.worldsnas.domain.model.servermodels.MovieServerModel import com.worldsnas.domain.model.servermodels.ResultsServerModel import io.reactivex.Single import retrofit2.Response import retrofit2.http.GET import retrofit2.http.Query interface SearchAPI { @GET("/3/sear...
0
Kotlin
0
0
d93f780c4a3a6eec663e86a35c84d838907cbb69
545
AIO
Apache License 2.0
common/src/main/kotlin/su/plo/voice/groups/utils/extend/MinecraftCommandSource.kt
plasmoapp
606,352,443
false
null
package su.plo.voice.groups.utils.extend import su.plo.lib.api.chat.MinecraftTextComponent import su.plo.lib.api.server.command.MinecraftCommandSource import su.plo.lib.api.server.player.MinecraftServerPlayer import su.plo.voice.api.server.PlasmoBaseVoiceServer import java.util.* fun MinecraftCommandSource.getVoicePl...
0
Kotlin
2
2
a576b09ed064eae3f3935868ece984fc343b7e2a
2,430
pv-addon-groups
MIT License
libraries/recyclerview-renders/src/main/java/com/simplecrud/recyclerviewrenders/interfaces/RendererFactory.kt
keppra
510,439,516
false
{"Kotlin": 122424, "Java": 33124}
package com.simplecrud.recyclerviewrenders.interfaces import com.simplecrud.recyclerviewrenders.renderer.Renderer /** * @author <NAME> <https:></https:>//github.com/Alexrs95> * Interface that defines the implementation of the factory that return the renderer */ interface RendererFactory<R : Renderable> { /** ...
0
Kotlin
0
0
67a6468860c57593e219f3942e1341198023b6e1
461
simple-crud
MIT License
src/test/kotlin/no/nav/tiltakspenger/arena/repository/ArenaVedtakDTOTest.kt
navikt
501,620,756
false
{"Kotlin": 165171, "Shell": 1300, "Dockerfile": 135}
package no.nav.tiltakspenger.arena.repository import io.kotest.matchers.shouldBe import org.junit.jupiter.api.Test import java.time.LocalDate class ArenaVedtakDTOTest { private val vanligVedtak = ArenaVedtakDTO( vedtakType = ArenaVedtakType.O, uttaksgrad = 100, fomVedtaksperiode = LocalDa...
0
Kotlin
0
1
76d581c4185553d491e5329dddf8897726815f1a
3,537
tiltakspenger-arena
MIT License
modules/mpesa/src/commonMain/kotlin/com/github/jeffnyauke/mpesa/request/B2cCommandId.kt
jeffnyauke
803,735,331
false
{"Kotlin": 153750, "Shell": 2903}
/* * Copyright (c) 2024 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
1
Kotlin
0
0
9c1c0845bf5acb9532d2643d29c579e0b4167498
1,071
mpesa-sdk-kotlin
Apache License 2.0
sentinel/src/main/kotlin/com/infinum/sentinel/Sentinel.kt
AlexRogalskiy
332,481,990
false
null
package com.infinum.sentinel import android.view.View import androidx.annotation.DrawableRes import androidx.annotation.StringRes import com.infinum.sentinel.data.models.memory.triggers.manual.ManualTrigger import com.infinum.sentinel.ui.DependencyGraph import kotlinx.coroutines.GlobalScope import kotlinx.coroutines.l...
2
Kotlin
0
0
aec57ca5209c8f1c9e68cc5736acb6c692fd621c
4,499
android-sentinel
Apache License 2.0
library/src/main/java/weekend/coder/library/utils/DimensionUtils.kt
amarjain07
349,460,051
false
null
package weekend.coder.library.utils import android.content.Context import android.content.res.Resources import android.util.TypedValue internal fun Float.toDp(context: Context): Int { val r = context.resources return TypedValue.applyDimension( TypedValue.COMPLEX_UNIT_DIP, this, r.displ...
0
Kotlin
1
7
6d30bc7d556a356a64ed92bd0de17fd4eec28780
441
draggable-stories
The Unlicense
foosball/app/src/tablet/java/com/instructure/androidfoosball/views/TeamLayout.kt
instructure
179,290,947
false
null
/* * Copyright (C) 2017 - present Instructure, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
2
Kotlin
85
99
1bac9958504306c03960bdce7fbb87cc63bc6845
5,117
canvas-android
Apache License 2.0
HappyBirthday/dicegame/src/main/java/com/example/happybirthday/DiceActivity.kt
ETSEmpiricalStudyKotlinAndroidApps
496,360,419
false
{"Kotlin": 718685, "Java": 174794}
/** * File: DiceActivity.kt * Created: July 15, 2021 * Author: <NAME> * Email: <EMAIL> */ package com.example.happybirthday import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import com.example.happybirthday.databinding.ActivityDiceBinding /** * This activity allows user to roll a di...
0
null
0
0
147caab2622d15c52cd5b8cf21779c73481c9020
867
android-dev
MIT License
client/client-hci/src/commonMain/kotlin/de/jlnstrk/transit/api/hci/model/HciMapConfig.kt
jlnstrk
229,599,180
false
{"Kotlin": 729374}
package de.jlnstrk.transit.api.hci.model import de.jlnstrk.transit.api.hafas.HciModel import kotlinx.serialization.Serializable @HciModel("1.39") @Serializable public data class HciMapConfig( public val baseMapL: List<HciMapLayerExt> = emptyList(), public val overlayL: List<HciMapLayerExt> = emptyList(), ...
0
Kotlin
0
0
9f700364f78ebc70b015876c34a37b36377f0d9c
421
transit
Apache License 2.0
core/src/commonMain/kotlin/com/erolc/mrouter/route/router/PanelRouter.kt
ErolC
786,106,502
false
{"Kotlin": 240701, "Swift": 620}
package com.erolc.mrouter.route.router import androidx.lifecycle.Lifecycle import com.erolc.mrouter.Constants import com.erolc.mrouter.MRouter import com.erolc.mrouter.backstack.entry.* import com.erolc.mrouter.model.Route import com.erolc.mrouter.register.Address import com.erolc.mrouter.backstack.BackStack import co...
0
Kotlin
0
0
b2888dfd67f94bb6f7ba1b887d70a414cbe5dd4d
4,285
MRouter
Apache License 2.0
screen/recipedetails/src/main/java/com/jtuffery/mealmanager/recipedetails/RecipeDetailsScreen.kt
TufferyJordan
395,443,919
false
null
package com.jtuffery.mealmanager.recipedetails import androidx.compose.foundation.Image import androidx.compose.foundation.background import androidx.compose.foundation.layout.* import androidx.compose.foundation.rememberScrollState import androidx.compose.foundation.verticalScroll import androidx.compose.material.Mat...
0
Kotlin
0
1
289ce167f229ae466898c8c1322f461eae669190
3,730
MealManager
MIT License
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/MapPinQuestion.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
3,018
compose-icon-collections
MIT License
demos/chat-demo-mpp/common/src/commonMain/kotlin/io/github/jan/supabase/common/net/MessageApi.kt
supabase-community
495,084,592
false
null
package io.github.jan.supabase.common.net import io.github.jan.supabase.SupabaseClient import io.github.jan.supabase.gotrue.auth import io.github.jan.supabase.postgrest.postgrest import kotlinx.datetime.Instant import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable import kotlinx.serializati...
8
null
8
80
1a4d3803201ad4e10a65862b3ef40be66d03e47f
1,528
supabase-kt
MIT License
app/src/main/java/fi/jara/birdwatcher/observations/ObserveSingleObservationUseCase.kt
Pikkuninja
183,289,188
false
{"Kotlin": 141335}
package fi.jara.birdwatcher.observations import fi.jara.birdwatcher.common.* import fi.jara.birdwatcher.data.* import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.map class ObserveSingleObservationsUseCase(private val observationRepository: ObservationRepository) : ObservableUseCase<Long, Observati...
0
Kotlin
0
0
34744fc2347c094453bae3525f709ec1a6cf3285
1,155
birdwatcher
MIT License
TourGuide/app/src/main/java/com/notzero/tourguide/DetailsActivity.kt
sodiqOladeni
692,032,253
false
{"Kotlin": 10801}
package com.notzero.tourguide import android.content.Intent import android.net.Uri import android.os.Bundle import android.widget.ImageView import android.widget.TextView import androidx.appcompat.app.AppCompatActivity import androidx.core.content.ContextCompat class DetailsActivity : AppCompatActivity() { late...
0
Kotlin
0
1
77c6d18ac738b4c441ef81f687615990b7c4ac64
1,243
Android-Beginly
MIT License
app/src/main/java/com/example/study/presentation/session/ServiceHelper.kt
vivian347
804,227,700
false
{"Kotlin": 147460}
package com.example.study.presentation.session import android.app.PendingIntent import android.app.TaskStackBuilder import android.content.Context import android.content.Intent import androidx.core.net.toUri import com.example.study.MainActivity import com.example.study.util.Constants.CLICK_REQUEST_CODE object Servic...
0
Kotlin
0
0
79e61c5613a102ba47716a265b1327f0e3b5e03e
1,117
StudyBelle
MIT License
GURU_Hemjee/app/src/main/java/com/harahamzzi/android/Home/Setting/SettingHelpFragment.kt
Harahamzzi
447,871,826
false
{"Kotlin": 563880}
package com.harahamzzi.android.Home.Setting import android.os.Bundle import androidx.fragment.app.Fragment import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import com.harahamzzi.android.R import com.harahamzzi.android.databinding.FragmentSettingHelpBinding // 설정 - 도움말 페이지 clas...
0
Kotlin
0
2
876d1e4813e6369af1f1f433e631e94c1ab2908e
3,729
Android_GURU
Apache License 2.0
app/src/main/java/com/hannesdorfmann/navigation/view/login/LoginViewModel.kt
sockeqwe
132,318,664
false
null
package com.hannesdorfmann.navigation.view.login import android.arch.lifecycle.MutableLiveData import android.arch.lifecycle.ViewModel import com.hannesdorfmann.navigation.domain.user.LoginStateMachine import com.hannesdorfmann.navigation.utils.plus import io.reactivex.android.schedulers.AndroidSchedulers import io.re...
0
Kotlin
19
121
520d1add832e5ff72e425123a887889cbc9dea6f
2,187
CoordinatorsAndroid
Apache License 2.0
src/backend/storage/core/nuget/biz-nuget/src/main/kotlin/com/tencent/bkrepo/nuget/service/impl/NugetPackageMetadataServiceImpl.kt
Florence-y
466,159,327
true
{"Kotlin": 32055720, "Java": 5630945, "Vue": 5114034, "Go": 2452911, "JavaScript": 1705688, "Lua": 782810, "Dart": 551043, "TypeScript": 401445, "Shell": 395465, "SCSS": 382534, "C++": 149772, "HTML": 134571, "CSS": 92893, "Python": 50689, "C": 33502, "Smarty": 27962, "Less": 24714, "Objective-C": 18613, "Dockerfile": ...
package com.tencent.bkrepo.nuget.service.impl import com.tencent.bkrepo.common.artifact.repository.context.ArtifactContextHolder import com.tencent.bkrepo.common.artifact.repository.core.ArtifactService import com.tencent.bkrepo.nuget.artifact.repository.NugetRepository import com.tencent.bkrepo.nuget.pojo.artifact.Nu...
0
Kotlin
0
2
58baee8fabd09ff8e42885162a3b894bab1577da
1,877
bk-ci
MIT License
app/src/main/java/com/rickg/iprating/view/MainView.kt
rickgcn
676,341,076
false
null
package com.rickg.iprating.view import androidx.annotation.StringRes import androidx.compose.foundation.layout.padding import androidx.compose.material.icons.Icons import androidx.compose.material.icons.filled.Home import androidx.compose.material.icons.filled.Search import androidx.compose.material.icons.filled.Setti...
0
Kotlin
0
0
21093bd205720dcdcf2d9e1c7da93a9c7d1acedd
3,768
iprating-md3
MIT License
app/src/main/java/com/herdal/dummyshoppingcenter/data/repository/ProductRepositoryImpl.kt
herdal06
574,877,371
false
{"Kotlin": 79242}
package com.herdal.dummyshoppingcenter.data.repository import androidx.paging.PagingData import androidx.paging.map import com.herdal.dummyshoppingcenter.common.datasource.ProductDataSource import com.herdal.dummyshoppingcenter.common.ProductMapper import com.herdal.dummyshoppingcenter.domain.repository.ProductReposit...
0
Kotlin
0
1
a4275cb6ff10c6bd3dc7fee2d4bb2f0dfabbd829
1,819
DummyShoppingCenter
Apache License 2.0
provider_apk/src/main/java/com/mozhimen/taskk/provider/apk/helpers/NotificationProxy.kt
mozhimen
737,202,327
false
{"Kotlin": 348381, "Java": 6683}
package com.mozhimen.taskk.provider.apk.helpers /** * @ClassName Proxy * @Description TODO * @Author Mozhimen / <NAME> * @Date 2024/8/25 2:02 * @Version 1.0 */ import android.content.Intent import androidx.annotation.DrawableRes import androidx.core.app.NotificationCompat import androidx.lifecycle.LifecycleOwner...
0
Kotlin
0
3
6119739d1401c2949a2318a83aa7d07d45107768
4,184
ATaskKit_Provider
Apache License 2.0
src/main/kotlin/de/msiemens/educomp/front/ast/Type.kt
msiemens
315,987,850
false
null
package de.msiemens.educomp.front.ast enum class Type(val display: String? = null) { Bool("bool"), Int("int"), Char("char"), Str("str"), Unit("()"), Err, // Special type used for expressions with type errors Infer }
0
Kotlin
0
1
c72a765c9234e009b5939394d7d107f14926254a
244
RusTiny-JVM
MIT License
wakatimeclient/src/main/java/is/hth/wakatimeclient/wakatime/data/model/Commit.kt
hrafnthor
352,711,485
false
null
package `is`.hth.wakatimeclient.wakatime.data.model import kotlinx.serialization.* import kotlinx.serialization.builtins.nullable import kotlinx.serialization.builtins.serializer import kotlinx.serialization.descriptors.SerialDescriptor import kotlinx.serialization.descriptors.buildClassSerialDescriptor import kotlinx...
0
Kotlin
0
0
d8b95e777b304305b3e337e1336f763dcff04fef
16,980
wakatime-client
MIT License
demos-0-9-1/PopupManager/src/commonMain/kotlin/io/dongxi/view/PageFactory.kt
ghubstan
626,473,115
false
null
package io.dongxi.view import io.dongxi.application.DongxiConfig import io.dongxi.view.PageType.* import io.nacular.doodle.animation.Animator import io.nacular.doodle.controls.PopupManager import io.nacular.doodle.controls.modal.ModalManager import io.nacular.doodle.drawing.FontLoader import io.nacular.doodle.drawing....
0
Kotlin
0
0
f030e662c50490ea3d12e4969a599d1bcdde629a
7,513
kotlin-doodle-prototypes
MIT License
app/src/main/java/com/normanfr/todolist/AddEditTaskActivity.kt
normanfrdev
834,739,063
false
{"Kotlin": 23692}
package com.normanfr.todolist import android.app.DatePickerDialog import android.app.TimePickerDialog import android.content.Intent import android.os.Bundle import android.widget.Button import android.widget.EditText import android.widget.Toast import androidx.appcompat.app.AppCompatActivity import androidx.work.Data ...
0
Kotlin
0
0
63144d325569d3d3e0a71c517cb4854fad7b83fc
4,869
ToDoList
MIT License
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/appintegrations/CfnEventIntegrationPropsDsl.kt
F43nd1r
643,016,506
false
null
package com.faendir.awscdkkt.generated.services.appintegrations import com.faendir.awscdkkt.AwsCdkDsl import javax.`annotation`.Generated import kotlin.Unit import software.amazon.awscdk.services.appintegrations.CfnEventIntegrationProps @Generated public fun buildCfnEventIntegrationProps(initializer: @AwsCdkDsl C...
1
Kotlin
0
0
b22e397ff37c5fce365a5430790e5d83f0dd5a64
458
aws-cdk-kt
Apache License 2.0
utility/src/main/java/me/reezy/cosmo/utility/Json.kt
czy1121
532,951,869
false
null
package me.reezy.cosmo.utility import kotlin.reflect.KType import kotlin.reflect.typeOf object Json { interface Serializer { fun <T> encode(type: KType, value: T): String fun <T> decode(type: KType, string: String): T? } lateinit var serializer: Serializer inline fun <reified T> enco...
0
Kotlin
0
0
5c25078884c0a26850eecf777f78546fbc07b113
520
utility
Apache License 2.0
src/test/kotlin/net/pwall/json/schema/codegen/CodeGeneratorBaseDerivedNestedClassTest.kt
pwall567
287,935,667
false
{"Kotlin": 721424, "Mustache": 64184, "Java": 12785}
/* * @(#) CodeGeneratorCustomClassMaxLengthTest.kt * * json-kotlin-schema-codegen JSON Schema Code Generation * Copyright (c) 2023 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Sof...
30
Kotlin
14
77
96ed248ace4be8d2f90baa72535163cb31f188d5
4,058
json-kotlin-schema-codegen
MIT License
app/src/main/java/com/example/components/dynamic_components/components/multilinetext/MultilineTextFieldContent.kt
gemaxd
457,775,392
false
{"Kotlin": 109878}
package com.example.components.dynamic_components.components.multilinetext import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.height import androidx.compose.foundation.text.KeyboardOptions import androidx.compose.material.OutlinedTextField import androidx.compose.runtime.C...
0
Kotlin
0
0
78734952d09e76b140ffdd86c9e74cd2b97cf7e9
2,455
compose_components
MIT License
komapper-spring-boot-autoconfigure-r2dbc/src/main/kotlin/org/komapper/spring/boot/autoconfigure/r2dbc/R2dbcTransactionAwareSession.kt
komapper
349,909,214
false
null
package org.komapper.spring.boot.autoconfigure.r2dbc import io.r2dbc.spi.Connection import io.r2dbc.spi.ConnectionFactory import kotlinx.coroutines.flow.single import kotlinx.coroutines.reactive.asFlow import org.komapper.r2dbc.R2dbcSession import org.springframework.r2dbc.connection.TransactionAwareConnectionFactoryP...
3
Kotlin
0
33
2145cfd2a9d0cc50bc31b6702875ae4ff4a69be1
765
komapper
Apache License 2.0
src/main/kotlin/net/mcbrawls/blueprint/region/serialization/SerializableRegionTypes.kt
mcbrawls
716,153,443
false
{"Kotlin": 57493, "Java": 3324}
package net.mcbrawls.blueprint.region.serialization import com.mojang.serialization.Lifecycle import net.mcbrawls.blueprint.BlueprintMod import net.mcbrawls.blueprint.region.CuboidRegion import net.mcbrawls.blueprint.region.PointRegion import net.mcbrawls.blueprint.region.SphericalRegion import net.minecraft.registry....
0
Kotlin
0
3
caf0d7701591a96a087f1409435750aa4e642891
1,599
blueprint
MIT License
src/site/kotlinmdl/components/dslish/dslish.kt
sametkurumahmut
138,344,443
false
{"Kotlin": 8508, "CSS": 1475, "JavaScript": 1380, "HTML": 1227}
package site.kotlinmdl.components.dslish import kotlinmdl.components.IMdlComponent import kotlinmdl.extensions.plus import kotlinmdl.internal.extensions.empty import org.w3c.dom.Element import site.kotlinmdl.components.MdlFontAwesomeIcon //region Mdl Component Extensions fun <T : Element> IMdlComponent<T>.fontAwesome...
0
Kotlin
0
0
39067d46c711e8b6e7a83fa21973308c4df9035c
765
my-kotlin-website
Apache License 2.0
service-scheduling/src/main/kotlin/djei/clockpanda/scheduling/optimization/constraint/OptimizationConstraintsProvider.kt
Djei
676,192,849
false
null
package djei.clockpanda.scheduling.optimization.constraint import ai.timefold.solver.core.api.score.buildin.hardmediumsoft.HardMediumSoftScore import ai.timefold.solver.core.api.score.stream.Constraint import ai.timefold.solver.core.api.score.stream.ConstraintCollectors import ai.timefold.solver.core.api.score.stream....
0
Kotlin
0
2
ef43c752bf8cfd28e6c338ade8d8198fbf4d38fc
18,020
clockpanda
Apache License 2.0
src/test/kotlin/com/newardassociates/pptbuilder/PPTBuilderTests.kt
tedneward
231,859,399
false
null
package com.newardassociates.pptbuilder import com.newardassociates.pptbuilder.pptx.* import java.io.File import java.io.FileOutputStream import kotlin.test.BeforeTest import kotlin.test.Test class PPTBuilderTests { private val outPath = "build/test-results/test/pptx/" init { if (!File(outPath).exists...
4
Kotlin
2
6
f4d70cd1edaa7098a0f31a32eef8c0570f7dd218
4,340
pptbuilder
Apache License 2.0
flexvalidation/src/main/java/com/tcorner/flexvalidation/MinValueValidation.kt
tentenponce
197,154,252
false
null
package com.tcorner.flexvalidation /** * returns true if the number is equal or greater than * the given minimum number * * given min is 10 * 10 is true * 11 is true * 9 is false */ class MinValueValidation(val min: Float) : Validation() { override fun isValid(o: Any): Boolean { return when (o) { ...
3
Kotlin
0
1
067607154bfd6463bb8d41291a03e61e5e9c2128
580
FlexValidation
MIT License
BineClient/Sdk/app/src/main/java/com/msr/bine_android/data/entities/CartEntityDao.kt
microsoft
563,698,948
false
{"Kotlin": 1296950, "Java": 406327, "Gherkin": 3712, "Shell": 1179}
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. package com.msr.bine_android.data.entities import androidx.lifecycle.LiveData import androidx.room.* import org.jetbrains.annotations.NotNull @Dao interface CartEntityDao { @Insert(onConflict = OnConflictStrategy.REPLACE) suspend fun ...
0
Kotlin
3
1
fd6d91ba7e2efa1edd1d2fd43e30ee5b27a5a290
676
digital-content-distribution-toolkit-client
MIT License
app/src/main/java/com/example/myfavoritequotes/data/MyQuotesDao.kt
dionisioedu
352,372,594
false
null
package com.example.myfavoritequotes.data import androidx.lifecycle.LiveData import androidx.room.* @Dao interface MyQuotesDao { @Insert(onConflict = OnConflictStrategy.IGNORE) fun addFavorite(quote: MyQuoteModel) @Delete fun delFavorite(quote: MyQuoteModel) @Query("SELECT * FROM my_quotes") ...
0
Kotlin
1
1
e542676a28587da8f4c722712d1ef59c3a9201c2
371
MyFavoriteQuotes
Apache License 2.0
app/src/test/java/com/sample/liveadapter/ExampleUnitTest.kt
RaviKoradiya
159,804,014
false
null
package com.sample.liveadapter class ExampleUnitTest { }
2
Kotlin
5
50
ec7343523e8124b1598daa794a5a3e136959d9e3
58
LiveAdapter
Apache License 2.0
library/src/main/java/com/magical/location/service/TraceRecorder.kt
raedev
558,713,495
false
{"Kotlin": 59040}
package com.magical.location.service import android.content.Context import android.location.Location import androidx.core.location.LocationCompat import com.magical.location.LocationDatabaseManager import com.magical.location.MagicalLocationManager import com.magical.location.client.LocationListener import com.magical...
1
Kotlin
0
2
ad3b54f7959dd1253da00990b02b08d332d94ee3
1,337
magical-location-client
Apache License 2.0
app/src/main/java/io/horizontalsystems/bankwallet/modules/settings/experimental/timelock/TimeLockViewModel.kt
horizontalsystems
142,825,178
false
null
package io.horizontalsystems.bankwallet.modules.settings.experimental import androidx.compose.runtime.getValue import androidx.compose.runtime.mutableStateOf import androidx.compose.runtime.setValue import androidx.lifecycle.ViewModel import io.horizontalsystems.bankwallet.core.ILocalStorage class TimeLockViewModel(p...
100
null
340
778
454cb88a3f4687d77ffc3d2d878462f23b4b9dab
615
unstoppable-wallet-android
MIT License
src/main/kotlin/com/jaspervanmerle/aoc2021/day/Day15.kt
jmerle
434,010,865
false
{"Kotlin": 60581}
package com.jaspervanmerle.aoc2021.day import java.util.* class Day15 : Day("748", "3045") { private data class Node( val x: Int, val y: Int, val riskLevel: Int, val neighbors: MutableList<Node> = mutableListOf() ) { override fun equals(other: Any?): Boolean { ...
0
Kotlin
0
0
dcac2ac9121f9bfacf07b160e8bd03a7c6732e4e
3,638
advent-of-code-2021
MIT License
libs/ledger/src/commonMain/kotlin/kosh.libs.ledger/cmds/SignTransactionParameters.kt
niallkh
855,100,709
false
{"Kotlin": 1845307, "Swift": 768}
package kosh.libs.ledger.cmds class SignTransactionParameters( val plugins: List<PluginInfo> = listOf(), val externalPlugins: List<ExternalPluginInfo> = listOf(), val tokens: List<TokenInfo> = listOf(), val nfts: List<NftInfo> = listOf(), val domains: List<DomainInfo> = listOf(), )
0
Kotlin
0
3
2be90c7ce7775a76d44fac4cae3a6777d6e9c7f7
304
kosh
MIT License
data/database/src/main/java/android/template/core/database/di/DatabaseModule.kt
piloudu
659,439,478
false
{"Kotlin": 65279}
package android.template.core.database.di import android.content.Context import android.template.core.database.AppDatabase import android.template.core.database.ProductDao import androidx.room.Room import org.koin.android.ext.koin.androidContext import org.koin.core.module.Module import org.koin.dsl.module val databa...
2
Kotlin
0
5
289604bd67deef78962a5b83c26bd33f472cd41d
627
kmp-clean-app-template
Apache License 2.0
app/src/androidTest/java/com/example/cupcake/test/ScreenAssertions.kt
Bekzat-Chauvbayev
723,094,226
false
{"Kotlin": 40237}
package com.example.cupcake.test import androidx.navigation.NavController import org.junit.Assert.assertEquals fun NavController.assertCurrentRouteName(expectedRouteName: String) { assertEquals(expectedRouteName,currentBackStackEntry?.destination?.route) }
0
Kotlin
0
0
b4680cdad16021a09000dc11348ac3afd2cb6d27
262
betweenScreens
Apache License 2.0
data/repository/weather/weatherrepo-api/src/main/kotlin/com/francescsoftware/weathersample/data/repository/weather/api/model/forecast/ForecastResponse.kt
fvilarino
355,724,548
false
{"Kotlin": 617977, "Shell": 60}
package com.francescsoftware.weathersample.data.repository.weather.api.model.forecast import com.francescsoftware.weathersample.data.repository.weather.api.model.Current import com.francescsoftware.weathersample.data.repository.weather.api.model.Location /** * Weather forecast * * @property current current weather...
6
Kotlin
4
57
539a8ee7e5ebbee00745b39536d26f3bc9eb31d7
536
Weather-Sample
Apache License 2.0
app/src/main/java/com/example/musinsa/presentation/component/HeaderComponent.kt
junwooYeom
624,018,092
false
null
package com.example.musinsa.presentation.component import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.width import androidx.compose.material.Text import androidx.compose.runtime....
0
Kotlin
0
0
a05571d98764db8b718f08ba909e7229765d2592
1,503
Musinsa
Apache License 2.0
app/src/main/java/dev/esnault/bunpyro/android/screen/review/subview/ReviewSyncView.kt
esnaultdev
242,479,002
false
null
package dev.esnault.bunpyro.android.screen.review.subview import androidx.core.view.isVisible import dev.esnault.bunpyro.android.screen.review.ReviewViewState import dev.esnault.bunpyro.databinding.LayoutReviewSyncBinding class ReviewSyncView(private val binding: LayoutReviewSyncBinding) { fun bindViewState(vie...
2
Kotlin
1
9
89b3c7dad2c37c22648c26500016d6503d27019e
412
BunPyro
Intel Open Source License
src/commonMain/kotlin/piacenti/dslmaker/interfaces/TokenDefinition.kt
piacenti
346,152,697
false
{"Kotlin": 508046, "ANTLR": 11207, "JavaScript": 44}
package piacenti.dslmaker.interfaces /** * @author Piacenti */ interface TokenDefinition { /** * @return */ val regexDefinition: String val matchFilter: Int val addContext: String? val removeContext: String? val context: String? val validateToken:((String) -> Boolean)? }
5
Kotlin
0
2
646378862e296284be8a0cc4d3849e3dfd37fd77
314
dsl-maker
Apache License 2.0
app/src/main/java/com/sharkaboi/mediahub/modules/anime_seasonal/repository/AnimeSeasonalRepositoryImpl.kt
Sharkaboi
261,780,365
false
null
package com.sharkaboi.mediahub.modules.anime_seasonal.repository import android.content.SharedPreferences import androidx.paging.Pager import androidx.paging.PagingConfig import androidx.paging.PagingData import com.sharkaboi.mediahub.data.api.constants.ApiConstants import com.sharkaboi.mediahub.data.api.enums.AnimeSe...
8
Kotlin
5
60
f79d36f67d05047e5b3d0a0cc38e7ad858bb3a8d
1,823
MediaHub
MIT License
mtextdrawable/src/main/java/com/adwardstark/mtextdrawable/ColorGenerator.kt
adwardstark
299,243,127
false
null
package com.adwardstark.mtextdrawable import java.util.* /** * Created by Aditya Awasthi on 28/09/20. * @author github.com/adwardstark */ internal class ColorGenerator(colorMode: Int = 700) { private val randomiser: Stack<Int> = Stack() private val colors: Stack<Int> = Stack() init { if (col...
1
Kotlin
0
2
43fffae04110b449be0f50939b314dacb2431f11
1,953
materialtextdrawable-for-android
Apache License 2.0
common/src/main/java/com/phz/common/ext/GlideExt.kt
PengHaiZhuo
395,591,581
false
{"Kotlin": 429882, "Java": 59576, "HTML": 10034}
package com.phz.common.ext import android.graphics.Bitmap import androidx.appcompat.app.AppCompatActivity import androidx.fragment.app.Fragment import com.bumptech.glide.Glide import com.bumptech.glide.load.resource.bitmap.CircleCrop import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.Dispatchers import...
0
Kotlin
0
0
baf65155052ad759f01b24921c859dee181deaf6
2,561
lapAndroid
Apache License 2.0
xposed/src/main/java/moe/fuqiuluo/xposed/hooks/fused/AndroidFusedLocationProviderHook.kt
fuqiuluo
870,496,630
false
{"Kotlin": 280032, "AIDL": 21153, "Java": 3777}
package moe.fuqiuluo.xposed.hooks.fused import android.location.Location import moe.fuqiuluo.xposed.BaseLocationHook import moe.fuqiuluo.xposed.hooks.blindhook.BlindHookLocation import moe.fuqiuluo.xposed.utils.FakeLoc import moe.fuqiuluo.xposed.utils.Logger import moe.fuqiuluo.xposed.utils.hookMethodAfter import moe....
0
Kotlin
1
8
ded8017653fb6535cc71e421175d22867d2f12a2
1,613
Portal
Apache License 2.0
app/src/main/java/com/tarif/kotlinhelper/MainActivity.kt
tarifchakder
456,480,569
false
null
package com.tarif.kotlinhelper import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import androidx.core.net.toUri import com.tarif.kotlinhelper.databinding.ActivityMainBinding import com.tarif.picasso.load import com.tarif.picasso.transform.CropTransformation class MainActivity : AppCompatActivit...
0
Kotlin
0
0
34cd45bcf2774e9a90c6566eae070b4797127345
1,256
KotlinHelper
Apache License 2.0
repository/src/main/kotlin/org/goodmath/polytope/repository/data/permissions.kt
MarkChuCarroll
608,827,232
false
null
/* * Copyright 2023 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
0
Kotlin
0
0
9131a22a117b0d0f757bb118b83af4e292fda35d
3,094
polytope
Apache License 2.0
componentbox/src/commonMain/kotlin/com/dropbox/componentbox/ComponentBoxExport.kt
dropbox
464,561,169
false
null
package com.dropbox.componentbox @MustBeDocumented @Retention(AnnotationRetention.SOURCE) @Target(allowedTargets = [AnnotationTarget.FUNCTION]) annotation class ComponentBoxExport
2
Kotlin
4
228
9bfbb3aea428205b03c12310abde3dc141bf3bd7
180
componentbox
Apache License 2.0
app/src/main/java/com/fistr/fistr/data/local/data_store/AppRepository.kt
mtndrms
791,705,589
false
{"Kotlin": 183989}
package com.fistr.fistr.data.local.data_store import androidx.datastore.core.DataStore import androidx.datastore.preferences.core.Preferences import androidx.datastore.preferences.core.edit import com.fistr.fistr.data.local.data_store.DataStoreKeys.LOGGED_IN_USER_FULL_NAME import com.fistr.fistr.data.local.data_store....
0
Kotlin
0
0
0ef063e036856996ac76f3288275d2f0d44468aa
1,557
Fistr
The Unlicense
kotlin-mui-icons/src/main/generated/mui/icons/material/ElectricRickshawOutlined.kt
JetBrains
93,250,841
false
null
// Automatically generated - do not modify! @file:JsModule("@mui/icons-material/ElectricRickshawOutlined") @file:JsNonModule package mui.icons.material @JsName("default") external val ElectricRickshawOutlined: SvgIconComponent
10
Kotlin
145
983
7ef1028ba3e0982dc93edcdfa6ee1edb334ddf35
230
kotlin-wrappers
Apache License 2.0
opendc-simulator/opendc-simulator-compute/src/main/kotlin/org/opendc/simulator/compute/power/SquarePowerModel.kt
Koen1999
419,678,775
true
{"Kotlin": 1112148, "Jupyter Notebook": 275743, "JavaScript": 264579, "Shell": 133323, "Python": 101126, "Sass": 7151, "HTML": 3690, "Dockerfile": 1742}
package org.opendc.simulator.compute.power import kotlin.math.pow /** * The square power model partially adapted from CloudSim. * * @param maxPower The maximum power draw of the server in W. * @param idlePower The power draw of the server at its lowest utilization level in W. */ public class SquarePowerModel(pri...
0
Kotlin
0
0
f9b43518d2d50f33077734537a477539fca9f5b7
686
opendc
MIT License
app/src/main/java/com/example/tasks_jonathan/ClickDetectorInterface.kt
jreategui07
832,873,853
false
{"Kotlin": 7760}
package com.example.tasks_jonathan interface ClickDetectorInterface { fun onDeleteClicked(position: Int) fun onEditClicked(position: Int) }
0
Kotlin
0
1
59a5a4833bfbd876e9087a2c67fe10e86a273cda
148
ToDoApp
MIT License
src/main/kotlin/springrod/localrag/advisors/NoteMentionsAdvisor.kt
johnsonr
848,500,466
false
{"Kotlin": 15708, "HTML": 1601, "CSS": 1135}
package springrod.localrag.advisors import org.springframework.ai.chat.client.AdvisedRequest import org.springframework.ai.chat.client.RequestResponseAdvisor import org.springframework.context.ApplicationEventPublisher data class NotedMentionEvent( val what: String, val fullText: String, ) /** * Note mentio...
0
Kotlin
1
19
2a86afa3e31346bf4e6ba1a1ba845172fdaa2e4e
920
instrumented-rag
Apache License 2.0