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/com/steliosf/konsist/samples/presentation/viewmodel/LoginViewModel.kt
steliosfran
806,777,229
false
{"Kotlin": 15086}
package com.steliosf.konsist.samples.presentation.viewmodel class LoginViewModel { // ... }
0
Kotlin
0
1
b31a35acc2c56111a54370dd86f558e59537b6a5
97
konsist-lint-rules-samples
Apache License 2.0
app/src/main/java/com/he/fastandroid/ui/fragment/LoginSignUpFragment.kt
tianhe-github
304,500,680
false
null
package com.he.fastandroid.ui.fragment import androidx.core.widget.doAfterTextChanged import androidx.lifecycle.lifecycleScope import androidx.navigation.fragment.findNavController import com.he.common.base.BaseFragment import com.he.common.extension.isInternetOn import com.he.common.extension.showShortToast import co...
0
Kotlin
0
0
482c1a80468b07a4b947b64138cf8d8c16292a81
3,299
FastAndroid
Apache License 2.0
imagepicker/src/main/kotlin/com/github/dhaval2404/imagepicker/util/IntentUtils.kt
BinaryTiger
243,116,156
true
{"Kotlin": 72927}
package com.github.dhaval2404.imagepicker.util import android.content.Context import android.content.Intent import android.content.pm.PackageManager import android.net.Uri import android.os.Build import android.provider.MediaStore import androidx.core.content.FileProvider import com.github.dhaval2404.imagepicker.R imp...
0
Kotlin
0
0
cb281c069d3be9aba8e0d77e192b216c55ef3a26
3,949
ImagePicker
Apache License 2.0
app/src/main/java/dev/arkbuilders/navigator/presentation/screen/gallery/GalleryView.kt
ARK-Builders
394,855,699
false
null
package dev.arkbuilders.navigator.presentation.screen.gallery import dev.arkbuilders.navigator.presentation.common.CommonMvpView import moxy.viewstate.strategy.AddToEndSingleStrategy import moxy.viewstate.strategy.SkipStrategy import moxy.viewstate.strategy.StateStrategyType import space.taran.arklib.ResourceId import...
105
Kotlin
14
12
732fa222ab52915e139addd9a6a9beaa87e18be9
2,551
ARK-Navigator
MIT License
Corona-Warn-App/src/main/java/de/rki/coronawarnapp/util/files/FileSharing.kt
corona-warn-app
268,027,139
false
null
package de.rki.coronawarnapp.util.files import android.app.Activity import android.content.Context import android.content.Intent import android.net.Uri import androidx.core.app.ShareCompat import androidx.core.content.FileProvider import dagger.Reusable import de.rki.coronawarnapp.BuildConfig import de.rki.coronawarna...
6
Kotlin
514
2,495
d3833a212bd4c84e38a1fad23b282836d70ab8d5
1,850
cwa-app-android
Apache License 2.0
src/test/no/nav/pto/veilarbfilter/IntegrationTestsInternal.kt
navikt
207,477,352
false
null
package no.nav.pto.veilarbfilter import io.ktor.server.engine.* import org.apache.http.client.methods.HttpGet import org.apache.http.client.methods.HttpUriRequest import org.apache.http.impl.client.BasicResponseHandler import org.apache.http.impl.client.HttpClientBuilder import org.junit.jupiter.api.AfterAll import or...
5
Kotlin
0
0
cbf314f0ca9f1ec97d430084a988a7ee582dab72
3,007
veilarbfilter
MIT License
src/test/kotlin/com/github/varenytsiamykhailo/knml/systemsolvingmethods/ThomasMethodTest.kt
VarenytsiaMykhailo
490,834,301
false
{"Kotlin": 315543, "Java": 58256}
package com.github.varenytsiamykhailo.knml.systemsolvingmethods import com.github.varenytsiamykhailo.knml.util.Matrix import com.github.varenytsiamykhailo.knml.util.Vector import com.github.varenytsiamykhailo.knml.util.results.VectorResultWithStatus import org.junit.jupiter.api.Assertions.* import org.junit.jupiter.ap...
0
Kotlin
2
6
a556245de1f4d2529e259a3eee595d735005dcc8
8,513
KNML-Kotlin-Numerical-Methods-Library
MIT License
Chapter01/CarAndTruck.kt
TrainingByPackt
168,300,143
false
null
class Car class Truck
0
Kotlin
2
2
cd4303736bcffb52309defbf3c32c0853ed67b56
22
Complete-Guide-to-Kotlin
MIT License
src/main/kotlin/no/nav/tiltakspenger/ufore/auth/OAuth2AccessTokenResponse.kt
navikt
573,031,705
false
null
package no.nav.tiltakspenger.ufore.auth import com.fasterxml.jackson.annotation.JsonIgnoreProperties import com.fasterxml.jackson.annotation.JsonProperty @JsonIgnoreProperties(ignoreUnknown = true) data class OAuth2AccessTokenResponse( @JsonProperty("token_type") val tokenType: String, @JsonProperty("acce...
2
null
0
2
c321c086d09ab29c7d3c1d8ec31b358e4a5e1958
481
tiltakspenger-vedtak
MIT License
app/src/test/java/com/example/scoreapp/domain/usecase/GetViewSeasonsUseCaseTest.kt
diegoleonds
297,791,494
false
null
package com.example.scoreapp.domain.usecase import com.example.scoreapp.data.model.Game import com.example.scoreapp.data.repository.GameRepositoryImpl import com.example.scoreapp.data.repository.SeasonRepositoryImpl import io.mockk.coEvery import io.mockk.mockk import junit.framework.TestCase.assertEquals import kotli...
0
Kotlin
0
2
e4a561a0d45b0fdb9a921a8ca3ff9c987b2df77d
2,322
ScoreApp
MIT License
backend/todolist/src/main/kotlin/com/steiner/workbench/todolist/request/UpdateTagRequest.kt
nesteiner
693,014,583
false
{"Kotlin": 366481, "Dart": 247737, "C++": 24228, "CMake": 19460, "HTML": 1843, "C": 1425}
package com.steiner.workbench.todolist.request import com.steiner.workbench.common.TAG_NAME_LENGTH import jakarta.validation.constraints.NotEmpty import org.hibernate.validator.constraints.Length class UpdateTagRequest( val id: Int, @NotEmpty(message = "tag name cannot be empty") @Length(max ...
1
Kotlin
0
0
e0fe7a0f9aca965bc74736f1364153a695597bfe
430
Workbench
MIT License
libnavigation-core/src/main/java/com/mapbox/navigation/core/fasterroute/FasterRouteObserver.kt
joshkw
366,568,071
true
{"Gradle": 37, "JSON": 30, "Markdown": 14, "Java Properties": 2, "Shell": 5, "Ignore List": 23, "Batchfile": 2, "EditorConfig": 1, "Makefile": 1, "YAML": 3, "XML": 324, "JavaScript": 1, "INI": 33, "Proguard": 16, "Text": 34, "Kotlin": 635, "Java": 6, "CSS": 1, "Python": 4}
package com.mapbox.navigation.core.fasterroute import com.mapbox.api.directions.v5.models.DirectionsRoute import java.util.concurrent.TimeUnit /** * Interface definition for an observer that is notified whenever the Navigation SDK checks for a faster route to the destination. */ interface FasterRouteObserver { ...
0
Kotlin
0
0
9acc5b209355cbe8a3f4ce10a6e4e71533a9ddee
1,083
mapbox-navigation-android
MIT License
app/src/main/java/com/jshvarts/notespaging/presentation/addnote/AddNoteViewModel.kt
jshvarts
149,038,970
false
null
package com.jshvarts.notespaging.presentation.addnote import android.arch.lifecycle.LiveData import android.arch.lifecycle.MutableLiveData import com.jshvarts.notespaging.domain.AddNoteUseCase import com.jshvarts.notespaging.domain.Note import com.jshvarts.notespaging.presentation.BaseViewModel import io.reactivex.rxk...
3
Kotlin
20
144
d89f0fed222f6673db078fb48d83e8402c4df48e
1,083
PagingRoom
Apache License 2.0
src/main/kotlin/io/lsdconsulting/lsd/distributed/mongo/repository/InterceptedInteractionCollectionBuilder.kt
lsd-consulting
412,871,461
false
{"Kotlin": 44362, "Shell": 1724}
package io.lsdconsulting.lsd.distributed.mongo.repository import com.mongodb.ConnectionString import com.mongodb.MongoClientSettings import com.mongodb.client.MongoClient import com.mongodb.client.MongoCollection import com.mongodb.client.model.CreateCollectionOptions import com.mongodb.client.model.Indexes import com...
2
Kotlin
0
0
f2865186c8f46857af013ca697ed857b35597b92
5,578
lsd-distributed-mongodb-connector
Apache License 2.0
features/task/impl/src/main/java/wottrich/github/io/smartchecklist/domain/model/SortItemType.kt
Wottrich
295,605,540
false
{"Kotlin": 360367}
package wottrich.github.io.smartchecklist.domain.model enum class SortItemType { UNSELECTED_SORT, COMPLETED_TASKS, UNCOMPLETED_TASKS; }
10
Kotlin
0
8
67aad31c791a0dcd19138e93126efc46c85b5036
140
android-smart-checklist
MIT License
src/main/java/miyucomics/hexical/items/ConjuredStaffItem.kt
miyucomics
757,094,041
false
{"Kotlin": 324683, "Java": 27372, "GLSL": 1075, "Shell": 44}
package miyucomics.hexical.items import at.petrak.hexcasting.api.spell.casting.CastingContext import at.petrak.hexcasting.api.spell.casting.CastingHarness import at.petrak.hexcasting.api.spell.iota.Iota import at.petrak.hexcasting.common.items.magic.ItemPackagedHex import miyucomics.hexical.enums.SpecializedSource imp...
1
Kotlin
4
1
82cc52643713c35b801ce1fe73fa128ed62c8785
2,031
hexical
MIT License
app/shared/state-machine/ui/public/src/commonMain/kotlin/build/wallet/statemachine/moneyhome/full/MoneyHomeViewingBalanceUiStateMachineImpl.kt
proto-at-block
761,306,853
false
null
package build.wallet.statemachine.moneyhome.full import androidx.compose.runtime.* import build.wallet.analytics.events.EventTracker import build.wallet.analytics.v1.Action import build.wallet.availability.AppFunctionalityStatus import build.wallet.availability.AppFunctionalityStatusProvider import build.wallet.availa...
3
null
6
98
1f9f2298919dac77e6791aa3f1dbfd67efe7f83c
27,528
bitkey
MIT License
app/src/main/java/com/prush/justanotherplayer/ui/artistslibrary/ArtistRowView.kt
iamporus
203,219,989
false
null
package com.prush.justanotherplayer.ui.artistslibrary import com.prush.justanotherplayer.base.ItemRowView interface ArtistRowView : ItemRowView { }
0
Kotlin
2
8
1d83a0cd55fa1d92c5bc1a6b0a95c34056809a14
149
Yamp
Apache License 2.0
simple/src/test/java/com/sovegetables/util/ExampleUnitTest.kt
sovegetables
217,002,321
false
{"Java": 282474, "Kotlin": 116065}
package com.sovegetables.util import org.junit.Test import java.util.concurrent.ExecutorService import java.util.concurrent.Executors /** * Example local unit test, which will execute on the development machine (host). * * See [testing documentation](http://d.android.com/tools/testing). */ class ExampleUnitTest {...
1
Java
1
7
38ecff18409fe08ef43136d3f8c96b2e12fc1573
517
shineandroid
Apache License 2.0
core/database/src/commonMain/kotlin/com/google/samples/apps/nowinandroid/core/database/dao/NewsResourceDao.kt
khalid64927
813,915,854
false
{"Kotlin": 1284599, "Shell": 14536, "HTML": 2098, "JavaScript": 1122, "Swift": 594, "CSS": 342}
/* * Copyright 2022 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
10
Kotlin
0
0
620ad9acbec33b5cdb316aafbb8376bd0718e875
5,185
nowinkmp-copy
Apache License 2.0
libraries/csm.cloud.common.web/src/main/kotlin/com/bosch/pt/csm/cloud/common/config/ExceptionMessageHideFilter.kt
boschglobal
805,348,245
false
{"Kotlin": 13156190, "HTML": 274761, "Go": 184388, "HCL": 158560, "Shell": 117666, "Java": 52634, "Python": 51306, "Dockerfile": 10348, "Vim Snippet": 3969, "CSS": 344}
/* * ************************************************************************ * * Copyright: <NAME> Power Tools GmbH, 2018 - 2021 * * ************************************************************************ */ package com.bosch.pt.csm.cloud.common.config import com.bosch.pt.csm.cloud.common.exceptions.Blo...
0
Kotlin
3
9
9f3e7c4b53821bdfc876531727e21961d2a4513d
2,617
bosch-pt-refinemysite-backend
Apache License 2.0
platform/backend/core/src/integrationTest/kotlin/io/hamal/core/req/handler/flow/UpdateFlowHandlerTest.kt
hamal-io
622,870,037
false
{"Kotlin": 2114763, "C": 1398432, "TypeScript": 279976, "Lua": 100966, "C++": 40651, "Makefile": 11728, "Java": 7564, "JavaScript": 3406, "CMake": 2810, "CSS": 1626, "HTML": 1239, "Shell": 977}
package io.hamal.core.req.handler.flow import io.hamal.core.req.handler.BaseReqHandlerTest import org.junit.jupiter.api.Disabled import org.junit.jupiter.api.Test internal class UpdateFlowHandlerTest : BaseReqHandlerTest() { @Test @Disabled fun `Updates flow`() { TODO() } }
26
Kotlin
0
0
64288303fd12b334787c7bbb15afbaa99f716125
300
hamal
Creative Commons Zero v1.0 Universal
app/src/main/kotlin/io/github/feelfreelinux/wykopmobilny/ui/modules/mikroblog/feed/tag/TagActivity.kt
saletrak
102,412,247
true
{"Kotlin": 211185}
package io.github.feelfreelinux.wykopmobilny.ui.modules.mikroblog.feed.tag import android.content.Context import android.content.Intent import android.os.Bundle import android.view.Menu import android.view.MenuItem import io.github.feelfreelinux.wykopmobilny.R import io.github.feelfreelinux.wykopmobilny.WykopApp impor...
0
Kotlin
0
0
0f2b65a46888e193134e8b94dacf5653ce5bb0ea
2,722
WykopMobilny
MIT License
app/src/main/java/com/kire/audio/device/audio/functional/MediaCommands.kt
KiREHwYE
674,992,893
false
{"Kotlin": 258878}
package com.kire.audio.device.audio.functional import kotlinx.coroutines.flow.MutableStateFlow object MediaCommands { val isPlayRequired = MutableStateFlow(true) val isNextTrackRequired = MutableStateFlow(false) val isPreviousTrackRequired = MutableStateFlow(false) val isRepeatRequired = MutableStateF...
0
Kotlin
0
0
4a0cc2a6e0a3abc7c4bd8996cbbf059ecc9d801a
382
Meowdio
Apache License 2.0
plugins/world/player/settings/toggle.kts
luna-rs
41,239,479
false
{"Gradle Kotlin DSL": 2, "Java Properties": 1, "Markdown": 5, "Shell": 1, "Ignore List": 1, "Batchfile": 1, "Text": 8, "YAML": 2, "Kotlin": 209, "INI": 1, "Java": 342, "CSS": 1, "XML": 1, "JSON": 9, "SQL": 3}
package world.player.settings import api.predef.* import io.luna.game.model.mob.PlayerSettings.* /** * Running settings. */ button(152) { plr.isRunning = false } button(153) { plr.isRunning = true } /** * Auto-retaliate settings. */ button(150) { plr.settings.isAutoRetaliate = true } button(151) { plr.setting...
52
Java
42
152
876bbe43345953a4f700c670eb999b761cc2a624
1,973
luna
MIT License
query/src/main/kotlin/me/rasztabiga/thesis/query/infrastructure/db/SpringDataOrderDeliveryRepository.kt
BartlomiejRasztabiga
604,846,079
false
{"Kotlin": 368953, "TypeScript": 109077, "Python": 10389, "Dockerfile": 1695, "Shell": 662, "JavaScript": 639, "CSS": 59}
package me.rasztabiga.thesis.query.infrastructure.db import me.rasztabiga.thesis.query.domain.query.entity.DeliveryStatus import me.rasztabiga.thesis.query.domain.query.entity.OrderDeliveryEntity import org.springframework.data.mongodb.repository.ReactiveMongoRepository import org.springframework.stereotype.Repository...
4
Kotlin
0
2
dbb3b329f06f951b9531b03cc41d1e1e52bf7422
873
thesis
MIT License
app/src/main/java/my/dictionary/free/data/di/modules/MainActivityModule.kt
viacheslavtitov
605,498,191
false
{"Kotlin": 171766}
package my.dictionary.free.data.di.modules import android.content.Context import com.google.firebase.database.ktx.database import com.google.firebase.ktx.Firebase import dagger.Module import dagger.Provides import dagger.hilt.InstallIn import dagger.hilt.android.components.ActivityRetainedComponent import dagger.hilt....
0
Kotlin
0
0
a77bd30985f2f3005ae6a693a4a1a59c84573520
2,336
Easy-Dictionary-Android
MIT License
util/src/main/kotlin/voodoo/util/Timing.kt
DaemonicLabs
119,208,408
false
null
package voodoo.util import kotlin.contracts.ExperimentalContracts import kotlin.contracts.InvocationKind import kotlin.contracts.contract /** * Executes the given [block] and returns elapsed time in milliseconds. */ @UseExperimental(ExperimentalContracts::class) public inline fun measureTimeMillis(block: () -> Unit...
4
null
7
28
23614ea3102875e5fe68bb1be09873f896ebc507
510
Voodoo
MIT License
kandy-echarts/src/main/kotlin/org/jetbrains/kotlinx/kandy/echarts/layers/context/CandlestickContext.kt
Kotlin
502,039,936
false
null
/* * Copyright 2020-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. */ package org.jetbrains.kotlinx.ggdsl.echarts.layers import org.jetbrains.kotlinx.ggdsl.dsl.internal.LayerCollectorContextImmutable import org.jetbrains.kotlinx.ggdsl.dsl.internal.PlotDslMarker import org.jetbrai...
79
null
2
98
fd613edc4dd37aac0d0ecdb4245a770e09617fc7
1,529
kandy
Apache License 2.0
app/src/main/java/com/flamingo/matlogx/data/log/Log.kt
Flamingo-OS
498,781,881
false
{"Kotlin": 110267}
/* * Copyright (C) 2022 FlamingoOS Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
0
Kotlin
2
0
2e000a4c309a137a7cb351ac18ceb8aa597d05fe
2,416
packages_apps_MatlogX
Apache License 2.0
app/src/main/java/com/xcheko51x/crud_room_compose_kotlin/room/UsuariosDatabaseDao.kt
german654
851,339,674
false
{"Kotlin": 26298}
package com.xcheko51x.crud_room_compose_kotlin.room import androidx.room.Dao import androidx.room.Delete import androidx.room.Insert import androidx.room.Query import androidx.room.Update import com.xcheko51x.crud_room_compose_kotlin.models.Usuarios import kotlinx.coroutines.flow.Flow @Dao interface UsuariosDatabaseD...
0
Kotlin
0
0
42cb481b7290ee089f93da33e4f2dbd81432e1fb
705
Proyecto-bolsa-Laboral
MIT License
app/src/main/java/com/muratcangzm/valorantstore/model/remote/EventsModel.kt
NecroEye
719,144,732
false
{"Kotlin": 17524}
package com.muratcangzm.valorantstore.model import com.google.gson.annotations.Expose import com.google.gson.annotations.SerializedName import java.util.Date data class EventsModel( @SerializedName("status") @Expose val status : Int?, @SerializedName("data") @Expose val eventData: List<EventDa...
0
Kotlin
0
0
4409822d79d8dbfdcad8f128f666cddac886c0bf
802
Valorant_Store
Apache License 2.0
app/src/main/kotlin/me/echeung/moemoekyun/viewmodel/UserViewModel.kt
LISTEN-moe
86,269,685
false
null
package me.echeung.moemoekyun.viewmodel import androidx.databinding.Bindable import androidx.databinding.library.baseAdapters.BR import me.echeung.moemoekyun.client.api.model.User class UserViewModel : BaseViewModel() { @get:Bindable var user: User? = null set(user) { field = user ...
8
Kotlin
25
210
13eee483d8b3edb1065a4c089d99f2950a211f2b
1,004
android-app
MIT License
vector/src/main/java/im/vector/riotx/features/home/room/detail/composer/rainbow/RainbowGenerator.kt
ginnyTheCat
295,460,879
false
{"Gradle": 8, "Markdown": 16, "Java Properties": 2, "Shell": 19, "Text": 43, "Ignore List": 7, "Batchfile": 1, "EditorConfig": 1, "YAML": 2, "INI": 2, "Proguard": 5, "XML": 768, "Kotlin": 2184, "Java": 12, "JavaScript": 4, "JSON": 5, "HTML": 2, "Python": 2, "FreeMarker": 2, "Fluent": 7}
/* * Copyright 2020 New Vector Ltd * * 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 ...
1
null
1
1
ee1d5faf0d59f9cc1c058d45fae3e811d97740fd
2,544
element-android
Apache License 2.0
app/src/main/java/com/taylorsloan/jobseer/dagger/module/view/AppModule.kt
taylorsloan
108,706,949
false
null
package com.taylorsloan.jobseer.dagger.module.view import android.app.Application import dagger.Module import dagger.Provides import javax.inject.Singleton /** * Created by taylorsloan on 10/28/17. */ @Module class AppModule(val application: Application) { @Provides @Singleton fun provideApplication() ...
0
Kotlin
0
1
d22fa1fdd85c828be6295d5db2af4ecdbc7b1307
370
Job-Seer
MIT License
src/test/java/com/mvv/gui/task/TaskManagerTest.kt
odisseylm
679,732,600
false
{"Kotlin": 974620, "CSS": 25523, "Java": 6651}
package com.mvv.gui.task import com.mvv.gui.test.useAssertJSoftAssertions import org.junit.jupiter.api.Test import java.util.Collections.synchronizedList import java.util.concurrent.atomic.AtomicInteger class TaskManagerTest { @Test fun addTask() { useAssertJSoftAssertions { val v = AtomicInteger()...
0
Kotlin
0
0
c3f9d40a9c69d9075f46e31ce70298e17320f7da
2,051
learn-words
Creative Commons Attribution 3.0 Unported
idea/idea-completion/testData/basic/common/lambdaSignature/ParameterType3.kt
JakeWharton
99,388,807
false
null
fun bar() { val handler = { i: List<<caret>> } } // EXIST: Int // EXIST: String // ABSENT: bar // ABSENT: handler
1
null
30
83
4383335168338df9bbbe2a63cb213a68d0858104
118
kotlin
Apache License 2.0
platform/lang-impl/src/com/intellij/codeInsight/actions/ReaderModeConfigurable.kt
JetBrains
2,489,216
false
null
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package com.intellij.codeInsight.actions import com.intellij.application.options.colors.ReaderModeStatsCollector import com.intellij.application.options.editor.CheckboxDescriptor import com.intellij...
191
null
4372
13,319
4d19d247824d8005662f7bd0c03f88ae81d5364b
4,033
intellij-community
Apache License 2.0
idea/testData/inspectionsLocal/scopeFunctions/letToRun/nestedLambda.kt
JakeWharton
99,388,807
true
null
// WITH_RUNTIME val x = hashSetOf("abc").<caret>let { it.forEach { println(it) } }
0
Kotlin
28
83
4383335168338df9bbbe2a63cb213a68d0858104
100
kotlin
Apache License 2.0
jpa2.0-rxjava2/src/main/kotlin/net/eraga/jpa/async/RxPersistence.kt
eraga
132,671,655
false
null
package net.eraga.jpa.async import io.reactivex.Single import javax.persistence.EntityManagerFactory import javax.persistence.Persistence import javax.persistence.PersistenceException import javax.persistence.PersistenceUtil /** * RxJava2 wrapper for [Persistence] class */ object RxPersistence { /** * Crea...
0
Kotlin
1
3
a515723d7023393d3438006bd44ac83b4296de00
1,632
async-jpa
Apache License 2.0
src/test/kotlin/com/korektur/scheduler/lock/H2BasedTaskExecutionLockTest.kt
korektur
134,327,082
false
{"Kotlin": 29594, "Java": 804}
package com.korektur.scheduler.lock import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test class H2BasedTaskExecutionLockTestL : H2BasedTest() { private lateinit var lock: H2BasedTaskExecutionLock @BeforeEach fun setUp() { createServer() lock = H2BasedTaskExecutionLoc...
0
Kotlin
0
0
def5b3adce0df5b939615c19eff00b61c2ab192a
429
distributed-scheduler
Apache License 2.0
plugins/completion-ml-ranking/src/com/intellij/completion/ml/sorting/ElementFeatures.kt
ingokegel
72,937,917
false
null
package com.intellij.completion.ml.sorting data class ElementFeatures(val relevance: MutableMap<String, Any>, val additional: MutableMap<String, Any>)
1
null
1
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
151
intellij-community
Apache License 2.0
gradle-plugin/src/main/java/com/anatawa12/modPatching/resourcesDev/ResourcesContainer.kt
fixrtm
343,694,407
false
null
package com.anatawa12.modPatching.resourcesDev import com.anatawa12.modPatching.common.DownloadingMod import groovy.lang.Closure import org.gradle.api.Action import org.gradle.api.NamedDomainObjectContainer import org.gradle.util.ConfigureUtil interface ResourcesContainer : NamedDomainObjectContainer<ResourcesConfig>...
24
null
1
2
b2d76448b47a543238700c1834a913b4ba6977af
737
mod-patching
Apache License 2.0
compiler/testData/codegen/box/inlineClasses/callableReferences/boundInlineClassPrimaryVal.kt
JetBrains
3,432,266
false
{"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML...
// !LANGUAGE: +InlineClasses // WITH_RUNTIME inline class Z(val x: Int) { val xx get() = x } inline class L(val x: Long) { val xx get() = x } inline class S(val x: String) { val xx get() = x } fun box(): String { if (Z(42)::xx.get() != 42) throw AssertionError() if (L(1234L)::xx.get() != 1234L) ...
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
427
kotlin
Apache License 2.0
bbfgradle/tmp/results/diffCompile/lmvbtmt.kt
DaniilStepanov
346,008,310
false
{"Markdown": 122, "Gradle": 762, "Gradle Kotlin DSL": 649, "Java Properties": 23, "Shell": 49, "Ignore List": 20, "Batchfile": 26, "Git Attributes": 8, "Kotlin": 82508, "Protocol Buffer": 12, "Java": 6674, "Proguard": 12, "XML": 1698, "Text": 13298, "INI": 221, "JavaScript": 294, "JAR Manifest": 2, "Roff": 217, "Roff M...
// Different compile happens on:JVM ,JVM -Xnew-inference class B fun B.magic():Unit = TODO() fun boom(a: Any) { when (a) { is B -> (a ::magic) } }
1
null
1
1
e772ef1f8f951873ebe7d8f6d73cf19aead480fa
164
kotlinWithFuzzer
Apache License 2.0
issue-repro/src/main/kotlin/com/airbnb/lottie/issues/IssueReproViewModel.kt
pitmobboss101
716,419,861
false
{"INI": 4, "Shell": 5, "Markdown": 9, "XML": 193, "Gradle": 10, "Java Properties": 1, "EditorConfig": 1, "Git Attributes": 1, "Batchfile": 1, "Text": 3, "JavaScript": 1, "Ignore List": 1, "JSON": 404, "Kotlin": 163, "YAML": 3, "SVG": 5, "Java": 220, "TOML": 1, "Proguard": 1}
package com.airbnb.lottie.issues import android.content.Context import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.airbnb.lottie.LottieCompositionFactory import kotlinx.coroutines.Dispatchers import kotlin...
1
null
1
1
49b38b93bba7ef47526c114b1411cc6efc2783a6
1,824
lottie-android
Apache License 2.0
educational-core/src/com/jetbrains/edu/learning/courseGeneration/ProjectOpenerImpl.kt
JetBrains
43,696,115
false
null
package com.jetbrains.edu.learning.courseGeneration import com.intellij.openapi.project.Project import com.jetbrains.edu.learning.courseFormat.Course import com.jetbrains.edu.learning.newproject.ui.JoinCourseDialog import com.jetbrains.edu.learning.newproject.ui.coursePanel.CourseDisplaySettings import com.jetbrains.e...
6
Kotlin
45
99
cfc24fe13318de446b8adf6e05d1a7c15d9511b5
760
educational-plugin
Apache License 2.0
src/main/java/com/coinpaprika/apiclient/entity/CoinEntity.kt
ligi
160,554,207
false
null
package com.coinpaprika.apiclient.entity import com.google.gson.annotations.SerializedName data class CoinEntity(val id: String, val name: String, val symbol: String, val rank: Int, @SerializedName("is_new") val isNew: Boolean, ...
1
null
1
1
582c7a687613a8a125d90d8b09aee40241c26043
391
coinpaprika-api-kotlin-client
MIT License
src/main/kotlin/io/hirasawa/server/logger/ConsoleLogger.kt
cg0
256,633,551
false
{"Kotlin": 337713, "Java": 6661}
package io.hirasawa.server.logger class ConsoleLogger: Logger() { override fun log(message: Any) { println("$timestamp $message") } }
37
Kotlin
0
6
ce416d649095bbaee105fcbaa88e9a3c7cf745ac
150
Hirasawa-Project
MIT License
permissionsmanager/src/main/java/com/skumar/manager/viewModel/PermissionViewModel.kt
ksughosh
98,284,956
false
{"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "XML": 12, "Kotlin": 18, "Java": 1}
/* * @author Sughosh on 04/03/2020. * * Copyright (C) 04/03/2020 <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 Software without restriction, * including without limitation the rights to ...
1
null
1
1
81e6c3afdfa3281afe20779df643f73cce601515
1,685
PermissionsManager
MIT License
app/src/main/kotlin/kr/ac/snu/hcil/omnitrack/core/analytics/OTUsageLoggingManager.kt
yghokim
62,933,149
false
null
package kr.ac.snu.hcil.omnitrack.core.analytics import android.content.Context import android.os.Looper import androidx.work.ExistingWorkPolicy import androidx.work.OneTimeWorkRequest import androidx.work.WorkManager import com.github.salomonbrys.kotson.* import com.google.gson.JsonObject import dagger.internal.Factor...
9
Kotlin
4
8
f13e5c157d5646c3f9493c4fdc25ed3b1fc2e296
9,275
omnitrack_android
MIT License
app/src/main/java/com/guoyi/listeninglove/event/StatusChangedEvent.kt
GuoyiZhang
242,757,044
false
{"Java": 822064, "Kotlin": 793171, "AIDL": 925}
package com.guoyi.listeninglove.event /** * Created by D22434 on 2018/1/10. */ class StatusChangedEvent(var isPrepared: Boolean, var isPlaying: Boolean, var percent: Long = 0)
1
Java
1
5
6d9442bad15910fe6d813bdf556fe1562d950947
180
077-Android-ListeningLove
Apache License 2.0
plugins/github/src/org/jetbrains/plugins/github/ui/component/GHAccountSelectorComponentFactory.kt
JetBrains
2,489,216
false
null
// Copyright 2000-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.jetbrains.plugins.github.ui.component import com.intellij.ide.ui.laf.darcula.DarculaUIUtil import com.intellij.openapi.progress.EmptyProgressIndicator import com.inte...
191
null
4372
13,319
4d19d247824d8005662f7bd0c03f88ae81d5364b
7,406
intellij-community
Apache License 2.0
features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/timeline/components/retrysendmenu/RetrySendMenuState.kt
element-hq
546,522,002
false
{"Kotlin": 7982937, "Shell": 39223, "Python": 37400, "JavaScript": 20268, "Java": 9607, "HTML": 9416, "CSS": 2519, "Ruby": 44}
/* * Copyright (c) 2023 New Vector Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
236
Kotlin
109
828
4867354fd4ff78ff0b223b84636d7a8b6cff0d38
946
element-x-android
Apache License 2.0
domain/model/src/main/kotlin/com/louisfn/somovie/domain/model/Account.kt
LouisFn
571,351,948
false
{"Kotlin": 500276, "Shell": 779}
package com.louisfn.somovie.domain.model data class Account( val id: Long, val name: String, val username: String, )
3
Kotlin
6
23
772c90cf46e0056d826344b1f95c559b8101de2d
130
SoMovie
MIT License
codegen/src/test/java/net/codefeet/lemmyandroidclient/Util.kt
Flex4Reddit
648,927,752
false
null
package net.codefeet.lemmyandroidclient import com.squareup.kotlinpoet.ClassName import com.squareup.kotlinpoet.FileSpec import com.squareup.kotlinpoet.ParameterizedTypeName.Companion.parameterizedBy import com.squareup.kotlinpoet.TypeName import com.squareup.kotlinpoet.asClassName import java.io.File import java.nio....
0
Kotlin
0
0
8028bbf4fc50d7c945d20c7034d6da2de4b7c0ac
3,374
lemmy-android-client
MIT License
verik-importer/src/main/kotlin/io/verik/importer/ast/element/declaration/ETypeParameter.kt
frwang96
269,980,078
false
null
/* * SPDX-License-Identifier: Apache-2.0 */ package io.verik.importer.ast.element.declaration import io.verik.importer.ast.element.descriptor.EDescriptor import io.verik.importer.common.Visitor import io.verik.importer.message.SourceLocation /** * Element that represents a type parameter. */ class ETypeParameter...
0
Kotlin
1
33
ee22969235460fd144294bcbcbab0338c638eb92
764
verik
Apache License 2.0
shared/src/commonMain/kotlin/com/multiplatform/kmmcc/domain/model/ExchangeRate.kt
shahrozekhan
735,403,154
false
null
package com.multiplatform.kmmcc.domain.model import com.multiplatform.kmmcc.common.Constants.ExchangeRateConstants.DEFAULT_CURRENCY import com.multiplatform.kmmcc.common.Constants.ExchangeRateConstants.DEFAULT_CURRENCY_NAME import com.multiplatform.kmmcc.common.Constants.ExchangeRateConstants.DEFAULT_CURRENCY_RATE imp...
0
null
1
7
5825a9d713df3501d7757632682b90b7ab283763
1,387
KMPCurrencyConvertor
MIT License
android/app/src/main/java/dk/jens/webpage_saver/openid/OpenIDTokenHandler.kt
jensstein
594,808,419
false
null
package dk.jens.webpage_saver.openid import android.content.Intent import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.util.Log import dk.jens.webpage_saver.AUTHORIZATION_BROADCAST_FLAG import dk.jens.webpage_saver.AUTHORIZATION_BROADCAST_RESULT import dk.jens.webpage_saver.LOGGING_...
0
Rust
0
0
ad85fdf213f6d07105e135f087d838052d64e38b
1,803
webpage-saver
MIT License
presentation/src/main/java/arcus/presentation/pairing/device/post/zwaveheal/ZWaveRebuildContract.kt
arcus-smart-home
168,191,380
false
null
/* * Copyright 2019 Arcus Project. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
6
null
27
27
845b23b6ee913c58e009914e920242e29d0b137a
1,373
arcusandroid
Apache License 2.0
src/main/kotlin/io/github/aecsocket/klam/VecD.kt
aecsocket
616,665,512
false
null
@file:Suppress("NOTHING_TO_INLINE", "MemberVisibilityCanBePrivate", "unused", "SpellCheckingInspection") package io.github.aecsocket.klam private const val TO_STRING_FORMAT = "%f" private inline fun typeArrayOf(vararg elements: Double) = doubleArrayOf(*elements) data class DVec2(@JvmField var x: Double, @JvmField va...
0
Kotlin
0
0
b6ec9a5a5794f1b3f36af9d29138221e191c8f44
79,664
klam
MIT License
game/src/main/kotlin/gg/rsmod/game/plugin/impl/StandardPlugin.kt
OldschoolPKTeam
358,415,643
false
null
package gg.rsmod.game.plugin.impl import gg.rsmod.game.Server import gg.rsmod.game.model.World import gg.rsmod.game.plugin.KotlinPlugin import gg.rsmod.game.plugin.KotlinPluginConfiguration import gg.rsmod.game.plugin.PluginRepository import kotlin.script.experimental.annotations.KotlinScript /** * Represents a Kotl...
0
Kotlin
0
0
761929bf559098cbc87008486fcf07032cbcd548
636
OldschoolPK
Apache License 2.0
app/src/main/java/com/dreamsoftware/tvnexa/ui/di/UiModule.kt
sergio11
328,373,511
false
{"Kotlin": 586066}
package com.dreamsoftware.tvnexa.ui.di import android.content.Context import com.dreamsoftware.tvnexa.ui.core.FormErrorMapperImpl import com.dreamsoftware.tvnexa.ui.features.signin.error.SignInScreenSimpleErrorMapper import com.dreamsoftware.tvnexa.ui.core.IFormErrorMapper import com.dreamsoftware.tvnexa.ui.features.p...
0
Kotlin
0
1
30fb84765276b1afcadc27b0ce8ffc15155decc4
1,395
tvnexa_androidtv
Apache License 2.0
Gachi/app/src/main/kotlin/com/pickth/gachi/view/main/MainActivity.kt
yh-kim
96,616,577
false
null
package com.pickth.gachi.view.main import android.content.Context import android.os.Bundle import android.os.Handler import android.support.design.widget.BottomNavigationView import android.support.v4.view.ViewPager import android.view.Menu import android.view.MenuItem import com.pickth.commons.extensions.hideKeyboard...
0
Kotlin
0
0
98db967d30780656041527c982ead5ecaa80971c
5,471
gachi-android
Apache License 2.0
feature/utilcode/pkg/src/main/java/com/blankj/utilcode/pkg/feature/keyboard/KeyboardActivity.kt
Blankj
64,558,143
false
null
package com.blankj.utilcode.pkg.feature.keyboard import android.content.Context import android.content.Intent import android.os.Bundle import android.view.View import com.blankj.common.activity.CommonActivity import com.blankj.common.item.CommonItem import com.blankj.common.item.CommonItemClick import com.blankj.commo...
308
null
3
33,181
7b4caf9e5440046b3fefb63b6b6e2ead7ebaf809
2,505
AndroidUtilCode
Apache License 2.0
detail/src/main/java/com/rviannaoliveira/detail/presentation/DetailActivity.kt
rviannaoliveira
296,884,981
false
null
package com.rviannaoliveira.detail.presentation import android.content.Context import android.content.Intent import android.net.Uri import android.os.Bundle import android.view.MenuItem import androidx.databinding.DataBindingUtil import com.google.android.material.tabs.TabLayoutMediator import com.rviannaoliveira.base...
0
Kotlin
0
1
97f5a2f0d166dd09893a03921d317baa57b81428
2,161
PlayGroundMVVM
Apache License 2.0
shared/src/commonMain/kotlin/io.github.krisbitney.yuli/state/follows/store/YuliFollowsStoreProvider.kt
krisbitney
652,384,671
false
{"Kotlin": 107231, "Swift": 708, "Shell": 228}
package io.github.krisbitney.yuli.state.follows.store import com.arkivanov.mvikotlin.core.store.Reducer import com.arkivanov.mvikotlin.core.store.SimpleBootstrapper import com.arkivanov.mvikotlin.core.store.Store import com.arkivanov.mvikotlin.core.store.StoreFactory import com.arkivanov.mvikotlin.extensions.coroutine...
0
Kotlin
0
0
d15c33721fffa5f251a61f07bab0ddf6ff1f8334
2,993
yuli
Apache License 2.0
app/src/main/java/com/example/ecommerce/repository/FavoriteListRepository.kt
DucHienIT
637,472,006
false
null
package com.example.ecommerce.repository import com.example.ecommerce.model.FavoriteList import io.reactivex.rxjava3.core.Single interface FavoriteListRepository { fun listFavorite(access_token:String):Single<List<FavoriteList>> }
0
Kotlin
0
0
75bbd3bfa59da57b4f7b3a6658c53feb997b8b9c
236
Project-Ecommerce-With-Kotlin---SHOP-CODE
MIT License
app/src/main/java/com/example/educai/data/viewmodel/UserViewModel.kt
educ-ai-org
847,523,094
false
{"Kotlin": 178135}
package com.example.educai.data.viewmodel import android.util.Log import androidx.compose.runtime.mutableStateOf import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.example.educai.data.model.Classroom import com.example.educai.data.model.Err...
0
Kotlin
0
0
08800e079c41435be5907c6c84c67db03884ef9f
3,267
educai-app
MIT License
shared/src/androidMain/kotlin/core/Resource.kt
prashant17d97
707,855,780
false
{"Kotlin": 110043, "Swift": 592, "Shell": 228}
package core import androidx.compose.runtime.Composable import androidx.compose.ui.platform.LocalContext import androidx.compose.ui.text.font.Font import androidx.compose.ui.text.font.FontStyle import androidx.compose.ui.text.font.FontWeight /* @Composable actual fun GetFont( id: FontResource, fontWeight: Fon...
0
Kotlin
0
0
d3e74dd07f63c34eae0141f57b20236283a9587f
1,240
Blog
Apache License 2.0
src/test/kotlin/no/nav/syfo/testutil/mock/AktorregisterMock.kt
navikt
206,008,107
false
null
package no.nav.syfo.testutil.mock import com.fasterxml.jackson.databind.SerializationFeature import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule import com.fasterxml.jackson.module.kotlin.registerKotlinModule import io.ktor.serialization.jackson.* import io.ktor.server.application.* import io.ktor.server.appli...
0
Kotlin
0
0
b103750661526e06e2a6a531ef63e1004f137e06
6,011
syfooversikthendelsetilfelle
MIT License
app/src/main/java/com/redridgeapps/remoteforqbittorrent/ui/MainActivity.kt
SaurabhSandav
123,869,187
false
null
package com.redridgeapps.remoteforqbittorrent.ui import android.os.Bundle import android.view.MenuItem import androidx.activity.viewModels import androidx.appcompat.app.AppCompatActivity import androidx.core.view.GravityCompat import androidx.databinding.DataBindingUtil import androidx.drawerlayout.widget.DrawerLayout...
0
Kotlin
0
1
1d3d81dfd9add116333e5892de1c7dda96a58dcb
3,643
qBittorrentRemote
MIT License
app/src/main/java/com/example/heartrate_monitor/ui/DeviceConnectionViewModel.kt
jaakaappi
624,999,492
false
null
package com.example.heartrate_monitor.ui import androidx.lifecycle.LiveData import androidx.lifecycle.ViewModel import com.example.heartrate_monitor.ble.BluetoothHandler import com.welie.blessed.BluetoothPeripheral import dagger.hilt.android.lifecycle.HiltViewModel import kotlinx.coroutines.flow.Flow import kotlinx.co...
0
Kotlin
0
0
0e8a1b018a41943cc0c61899ebe78b735c0ec44e
1,092
heartrate-app
MIT License
app/src/main/java/com/mezhendosina/sgo/data/requests/sgo/diary/entities/DiaryInitResponseEntity.kt
mezhendosina
448,087,094
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
null
0
9
95b1f6ea6f7ccdeaf86f81e423c62a310230f77e
1,802
sgo-app
Apache License 2.0
filepicker/src/main/java/me/rosuh/filepicker/adapter/RecyclerViewListener.kt
Xiaohy61
251,479,748
false
{"Gradle": 4, "Markdown": 2, "YAML": 1, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Proguard": 2, "Java": 9, "XML": 60, "Kotlin": 34}
package me.rosuh.filepicker.adapter import android.app.Activity import android.view.GestureDetector import android.view.MotionEvent import android.view.View import androidx.core.view.GestureDetectorCompat import me.rosuh.filepicker.R import me.rosuh.filepicker.utils.ScreenUtils /** * * @author rosu * @date 2018/11...
0
Kotlin
0
0
d1e09b2d155a32bf65ef64eb30f3c310f458169d
3,384
FilePicker
MIT License
plugins/kotlin/idea/tests/test/org/jetbrains/kotlin/idea/AbstractExpressionSelectionTest.kt
ingokegel
72,937,917
false
null
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.jetbrains.kotlin.idea import org.jetbrains.kotlin.idea.util.ElementKind import org.jetbrains.kotlin.idea.refactoring.IntroduceRefactoringException ...
233
null
4912
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
1,173
intellij-community
Apache License 2.0
core/src/main/java/page/smirnov/wallester/core/util/extension/ContextExtensions.kt
RankoR
465,888,502
false
{"Kotlin": 104194}
package page.smirnov.wallester.core.util.extension import android.content.Context import android.content.pm.PackageManager import androidx.core.content.ContextCompat fun Context.isPermissionGranted(permission: String): Boolean { return ContextCompat.checkSelfPermission(this, permission) == PackageManager.PERMISSI...
0
Kotlin
0
0
5720264750d5240281d45fc6c7341e09277e52db
459
WallesterTest
Apache License 2.0
app/src/main/java/com/yuhang/novel/pirate/ui/book/viewmodel/BookDetailsViewModel.kt
yuhanghate
200,383,190
false
null
package com.yuhang.novel.pirate.ui.book.viewmodel import android.annotation.SuppressLint import android.text.TextUtils import com.yuhang.novel.pirate.app.PirateApp import com.yuhang.novel.pirate.base.BaseViewModel import com.yuhang.novel.pirate.repository.database.entity.BookChapterKSEntity import com.yuhang.novel.pir...
1
null
1
2
8c72fc787a2927efb10c8c03b714195c7b1a6c76
3,927
Pirate
Apache License 2.0
build-logic/configuration/src/main/kotlin/KotlinJsConfiguration.kt
y9vad9
401,499,573
false
null
import org.gradle.api.Plugin import org.gradle.api.Project class KotlinJsConfiguration : Plugin<Project> { override fun apply(target: Project) { target.plugins.apply(Deps.Plugins.Kotlin.Js) } }
1
null
0
9
405c75e174e55e3071f91cf575cebe6f7cb756c7
212
dove
MIT License
aspoet/src/main/kotlin/com/google/androidstudiopoet/models/AbstractModuleBlueprint.kt
android
106,021,222
false
null
/* Copyright 2017 Google 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 https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software di...
12
Kotlin
89
680
f820e9cc0e5d7db4de9a7e31b818277143546f73
1,697
android-studio-poet
Apache License 2.0
data/src/test/java/com/parsadehghan/data/mapper/MultipleWeatherMapperKtTest.kt
parsadehghan2003
467,811,356
false
{"Kotlin": 53758}
package com.parsadehghan.data.mapper import com.parsadehghan.data.remote.model.* import com.parsadehghan.domain.entity.WeatherState import org.junit.Assert.* import org.junit.Test import kotlin.math.roundToInt class MultipleWeatherMapperKtTest { @Test fun mapToForecast() { val city = City(Coord(35.6...
0
Kotlin
0
0
c08fccfd7098902d53174f5953d1f54ad707df54
1,238
clean-weather
MIT License
Kotlin/src/main/kotlin/FuncosDeString.kt
ThiagoSR27
529,719,899
false
null
fun main() { val str = "Programação Kotlin" println("O tamanho da string é ${str.length}") println("Posição(index) 0 da string ${str[0]}") println(str.startsWith("Pro")) println(str.endsWith("abc")) println(str.substring(2,4)) println(str.replace("Kotlin", "Kotlin é show")) println(str...
0
Kotlin
0
0
c7c489cfbf3a2e9516173276bb3d26301a14e3aa
418
Desenvolvimento-de-Aplicativos-Android-usando-Kotlin
MIT License
src/main/kotlin/com/intworkers/application/service/schoolsystem/GradeServiceImpl.kt
bw-international-school-social-worker
193,610,954
true
{"Kotlin": 84025}
package com.intworkers.application.service.schoolsystem import com.intworkers.application.exception.ResourceNotFoundException import com.intworkers.application.model.schoolsystem.Course import com.intworkers.application.model.schoolsystem.Grade import com.intworkers.application.repository.schoolsystem.ClassRepository ...
1
Kotlin
2
0
eb876f9862af3b1731788e67952f05850ce96304
3,295
international-school-socialworker-BE
MIT License
app/src/main/java/com/kennah/wecatch/local/model/Pokemon.kt
kaiyan910
101,561,893
false
null
package com.kennah.wecatch.local.model import android.os.Parcel import android.os.Parcelable import kotlinx.android.parcel.Parcelize class Pokemon( val pokemonId: Int, val latitude: Double, val longitude: Double, val expireTime: Long, val iv: Int, val cp: Int, v...
0
Kotlin
27
66
d3b56f5d82af46210437ba94e031f5e8088b776c
1,557
PGO-WeCatch-Android
The Unlicense
test-output/innerclass.isc.kt
dvekeman
181,682,664
false
{"Haskell": 66206, "Kotlin": 13495, "JavaScript": 415, "TypeScript": 65}
@file:JsQualifier("isc") external interface Array { } package isc external open class Foo { } external fun getKeys(`object`: Any): Array<Any> = definedExternally external open class SomeClass { open fun someFun(bar: (() -> Unit)): Unit = definedExternally }
6
Haskell
0
0
e37e7f43ca8d34ff0665e03d0c0823f1503cd9a4
264
tsinterop
Apache License 2.0
domain/src/main/java/com/wiseassblog/domain/api/IReminderAPI.kt
BracketCove
84,023,304
false
null
package com.wiseassblog.domain.api import com.wiseassblog.common.ResultWrapper import com.wiseassblog.domain.domainmodel.Reminder /** * This interface describes the responsibilities and interactions between * Presenters and The ReminderRepository class. * Created by Ryan on 09/03/2017. */ interface IReminderAPI ...
1
Kotlin
36
85
66136bf7b3e173d964dc15729f982293189b2ee2
490
PosTrainer
Apache License 2.0
app/src/main/java/br/ifsp/moviedb/network/api/MovieApi.kt
pdalbem
844,668,803
false
{"Kotlin": 109217}
package br.ifsp.moviedb.network.api import br.ifsp.moviedb.model.parsers.movie.MovieResponse import br.ifsp.moviedb.model.parsers.search.SearchResponse import br.ifsp.moviedb.model.parsers.theatre.TheatreResponse import br.ifsp.moviedb.model.parsers.tv.TvShowResponse import retrofit2.http.GET import retrofit2.http.Pat...
0
Kotlin
0
0
f30a1f3decafeaf6b4c6789db1febdef41f49289
1,443
movieDB
MIT License
src/main/kotlin/org/radarbase/push/integration/garmin/backfill/Route.kt
RADAR-base
307,485,421
false
{"Kotlin": 161008, "Dockerfile": 1555}
package org.radarbase.push.integration.garmin.backfill import org.radarbase.push.integration.common.user.User import java.time.Duration import java.time.Instant interface Route { /** * The number of days to request in a single request of this route. */ val maxIntervalPerRequest: Duration fun g...
9
Kotlin
2
2
1745929ccb91041bb03def684f95c60db5355b60
555
RADAR-PushEndpoint
Apache License 2.0
ui/src/main/java/com/redvelvet/ui/composable/MediaRateRow.kt
RedVelvet-Team
670,763,637
false
null
package com.redvelvet.ui.composable import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.padding import androidx.compose.material3.Icon import androidx.compose.material3.MaterialTheme i...
1
Kotlin
1
4
b9b17caa25439823ae354d3262921fb5f88c73d7
2,338
IMovie
Apache License 2.0
sample-app/src/main/kotlin/net/steamcrafted/loadtoastlib/MainActivity.kt
mohsenoid
335,014,675
true
{"Kotlin": 47947}
package net.steamcrafted.loadtoastlib import android.graphics.Color import android.os.Bundle import android.view.View import android.view.ViewGroup import androidx.appcompat.app.AppCompatActivity import net.steamcrafted.loadtoast.LoadToast // Example activity class MainActivity : AppCompatActivity() { public over...
0
Kotlin
0
1
099aea31df4fc57f3f160df3269acd1008b3aeff
1,592
load-toast
Apache License 2.0
app/src/main/java/com/gmail/uwriegel/superfit/provider/TracksContentProvider.kt
uwriegel
99,416,992
false
{"Kotlin": 52646, "TypeScript": 7042, "CSS": 3079, "HTML": 1785}
package com.gmail.uwriegel.superfit.provider import android.content.ContentProvider import android.content.ContentUris import android.content.ContentValues import android.content.UriMatcher import android.database.Cursor import android.database.sqlite.SQLiteQueryBuilder import android.net.Uri import com.gmail.uwriegel...
0
Kotlin
0
0
f855f24c33b21e2be87557d6f081f1e4f00ad9fb
3,762
SuperFit-deprecated
MIT License
app/src/main/java/com/gmail/uwriegel/superfit/provider/TracksContentProvider.kt
uwriegel
99,416,992
false
{"Kotlin": 52646, "TypeScript": 7042, "CSS": 3079, "HTML": 1785}
package com.gmail.uwriegel.superfit.provider import android.content.ContentProvider import android.content.ContentUris import android.content.ContentValues import android.content.UriMatcher import android.database.Cursor import android.database.sqlite.SQLiteQueryBuilder import android.net.Uri import com.gmail.uwriegel...
0
Kotlin
0
0
f855f24c33b21e2be87557d6f081f1e4f00ad9fb
3,762
SuperFit-deprecated
MIT License
minigames/common/src/main/kotlin/net/casual/championships/common/minigame/rules/RuleEntry.kt
CasualChampionships
334,382,250
false
{"Kotlin": 271263, "Java": 4670}
package net.casual.championships.common.minigame.rule import net.casual.arcade.scheduler.MinecraftTimeDuration import net.casual.arcade.utils.TimeUtils.Seconds import net.minecraft.network.chat.Component class RuleEntry( val lines: List<Component>, val duration: MinecraftTimeDuration ) { class Builder { ...
0
Kotlin
1
3
810c7f2d5e2e61f7bf5b773862cc945f00cdb6b5
624
CasualChampionships
MIT License
plugin/src/main/kotlin/io/github/irgaly/gradle/rur/RemoveUnusedResourcesTask.kt
irgaly
447,291,114
false
{"Kotlin": 28536}
package io.github.irgaly.gradle.rur import io.github.irgaly.gradle.rur.extensions.containsInDescendants import io.github.irgaly.gradle.rur.extensions.getAttributeText import io.github.irgaly.gradle.rur.extensions.getElements import io.github.irgaly.gradle.rur.xml.getAttributeValue import org.gradle.api.DefaultTask imp...
2
Kotlin
1
29
f4c6ab86c06568a72eb0abce9f499dbe3b66e3b0
11,825
android-remove-unused-resources-plugin
Apache License 2.0
emulators/gameboy/src/commonTest/kotlin/com/kiliansteenman/kemulation/gameboy/cpu/OpcodeLdSpHlTest.kt
KilianSteenman
289,452,042
false
{"Kotlin": 101270, "Ruby": 2419, "Swift": 580, "HTML": 176}
package com.kiliansteenman.kemulation.gameboy.cpu import kotlin.test.Test @ExperimentalStdlibApi class OpcodeLdSpHlTest : OpcodeBaseTest() { @Test fun opcode_LD_SP_HL() { registers.h = 0x01 registers.l = 0x01 performOpcode(byteArrayOf(0xF9.toByte())) registers.assertRegister...
1
Kotlin
0
3
90b96fffb2d02d5beb5110e9879cfdd7c5c949cd
339
KEmulation
MIT License
Skyflow/src/main/kotlin/Skyflow/reveal/RevealRequestBody.kt
skyflowapi
396,648,989
false
{"Kotlin": 688615, "Shell": 585}
package Skyflow.reveal import Skyflow.Label import org.json.JSONArray import org.json.JSONObject internal class RevealRequestBody { companion object { internal fun createRequestBody(elements: MutableList<Label>): JSONObject { val payload = JSONArray() for (element in elements) { ...
11
Kotlin
2
7
c907a26c4c6e668d459020677f27907f25505f69
665
skyflow-android
MIT License
plugins/android-extensions/android-extensions-compiler/src/org/jetbrains/kotlin/android/synthetic/codegen/AndroidIrExtension.kt
android
263,405,600
false
null
/* * Copyright 2010-2020 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.android.synthetic.codegen import kotlinx.android.extensions.CacheImplementation ...
4
null
37
316
74126637a097f5e6b099a7b7a4263468ecfda144
15,093
kotlin
Apache License 2.0
dnq/src/test/kotlin/kotlinx/dnq/GetOldLinkTest.kt
JetBrains
72,845,430
false
null
/** * Copyright 2006 - 2024 JetBrains s.r.o. * * 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 ...
7
null
32
86
feffc04edb59c406322ebb8e222579bfc49b836c
2,436
xodus-dnq
Apache License 2.0
app/src/main/java/com/chris/adviceapp/view/PhoneActivity.kt
christyansegecs
530,834,133
false
null
package com.chris.adviceapp.view import android.content.Intent import android.os.Bundle import android.telephony.PhoneNumberFormattingTextWatcher import android.widget.Toast import androidx.appcompat.app.AppCompatActivity import com.chris.adviceapp.R import com.chris.adviceapp.databinding.ActivityPhoneBinding import c...
0
Kotlin
0
0
96a1bc56b30b91b8f53d9cd138a06aefac362fb8
4,516
AdviceMeApp
Apache License 2.0
mui-icons-kotlin/src/jsMain/kotlin/mui/icons/material/SportsHockeySharp.kt
karakum-team
387,062,541
false
{"Kotlin": 3037818, "TypeScript": 2249, "HTML": 724, "CSS": 86}
// Automatically generated - do not modify! @file:JsModule("@mui/icons-material/SportsHockeySharp") package mui.icons.material @JsName("default") external val SportsHockeySharp: SvgIconComponent
1
Kotlin
5
35
eb68a042133a7d025aef8450151ee0150cbc9b1b
198
mui-kotlin
Apache License 2.0