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/studio1r/simpleblockexplorer/BlockListViewModelFactory.kt
takn
186,167,067
false
null
package com.studio1r.simpleblockexplorer import android.arch.lifecycle.ViewModel import android.arch.lifecycle.ViewModelProvider import io.reactivex.Scheduler class BlockListViewModelFactory(private val repository: BlockRepository, private val executionScheduler: Scheduler, ...
1
null
1
1
031dbc33e4b430a0fa27bd38ef1deb8eca2ad8ae
589
SimpleBlockExplorer
Apache License 2.0
android/src/main/kotlin/io/sourcya/playx_3d_scene/factory/Playx3dSceneFactory.kt
playx-flutter
607,852,578
false
null
package io.sourcya.playx_3d_scene.factory import android.content.Context import com.google.android.filament.Engine import com.google.android.filament.gltfio.AssetLoader import com.google.android.filament.gltfio.ResourceLoader import io.flutter.embedding.engine.plugins.FlutterPlugin import io.flutter.plugin.common.Stan...
1
null
0
3
46cd40546b4b06aea4fae0889926d24e441ad825
1,549
playx-3d-scene
MIT License
idea/idea-completion/testData/basic/common/override/Simple.kt
JakeWharton
99,388,807
false
null
interface I { infix fun foo(p: Int) val someVal: Int var someVar: Int } class Base1 { protected open suspend fun bar(){} } open class Base2 : Base1() { } class A : Base2(), I { o<caret> } // EXIST: { lookupString: "override", itemText: "override"} // EXIST: { itemText: "override suspend fun bar(...
191
null
4372
83
4383335168338df9bbbe2a63cb213a68d0858104
1,540
kotlin
Apache License 2.0
cobalt.core/src/commonMain/kotlin/org/hexworks/cobalt/databinding/internal/extensions/PropertyExtensions.kt
cobalt
155,008,361
false
{"Kotlin": 179455, "Shell": 65}
package org.hexworks.cobalt.databinding.internal.extensions import org.hexworks.cobalt.databinding.api.property.Property import org.hexworks.cobalt.databinding.internal.property.InternalProperty internal fun <T : Any> Property<T>.asInternalProperty(): InternalProperty<T> { return this as InternalProperty<T> }
0
Kotlin
5
6
4b75558da4c72190706d7e30929eb0cfa110653a
317
cobalt
Apache License 2.0
app/src/main/java/fr/thegostsniperfr/todoapp/utils/Constants.kt
mamad2050
796,186,908
false
{"Kotlin": 13260}
package fr.thegostsniperfr.todoapp.utils object Constants { const val DATABASE_TABLE = "todo_table" const val DATABASE_NAME = "todo_database" const val LIST_SCREEN = "list/{action}" const val TASK_SCREEN = "task/{taskId}" const val LIST_ARGUMENT_KEY = "action" const val TASK_ARGUMENT_KEY = "t...
0
Kotlin
0
0
8ea54276a30c874a17dfc8ea46d803883d7a33dd
328
ToDoApp
MIT License
app/src/main/java/com/example/quitter/MainActivity.kt
Johnricharde
799,963,883
false
{"Kotlin": 17410}
package com.example.quitter import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.activity.enableEdgeToEdge import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.padding import androidx.compose.material3...
0
Kotlin
0
0
ea73347be65c818fb0741fe27c14cf30f52a04f8
880
Quitter
The Unlicense
product/appkit/src/main/kotlin/com/reown/appkit/ui/components/button/Web3Button.kt
reown-com
851,466,242
false
{"Kotlin": 2055654, "Java": 4294, "Shell": 1676}
package com.reown.appkit.ui.components.button import androidx.compose.animation.AnimatedContent import androidx.compose.runtime.Composable import androidx.compose.runtime.collectAsState import androidx.compose.runtime.getValue @Composable fun Web3Button( state: AppKitState, accountButtonType: AccountButtonTyp...
78
Kotlin
70
8
893084b3df91b47daa77f8f964e37f84a02843b1
824
reown-kotlin
Apache License 2.0
app/src/main/java/com/example/makeupmate/ui/PreviewActivity.kt
Nugraha-akt
646,423,292
false
null
package com.example.makeupmate.ui import android.content.Intent import android.graphics.BitmapFactory import android.os.Build import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import com.example.makeupmate.databinding.ActivityPreviewBinding import com.example.makeupmate.utils.rotateFile import j...
0
Kotlin
0
0
a6b4df517f7fd436ab0162f5dd994625c4d9a611
1,993
makeupmate
MIT License
plugins/kotlin/gradle/gradle-java/tests/test/org/jetbrains/kotlin/gradle/newTests/KotlinBeforeAfterTestRuleWithTarget.kt
rpaquay
136,651,574
false
null
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package org.jetbrains.kotlin.gradle.newTests import org.junit.rules.MethodRule import org.junit.runners.model.FrameworkMethod import org.junit.runners.model.Statement interface KotlinBeforeAfterTe...
1
null
1
1
1f52648bb045575c53c3b22ccbab8bf8ad93094b
919
intellij-community
Apache License 2.0
api/src/main/java/org/runestar/client/api/SidePanel.kt
widget-
179,150,566
true
{"Kotlin": 1038885, "Java": 4010}
package org.runestar.client.api import com.alee.managers.style.StyleId import org.kxtra.slf4j.info import org.kxtra.slf4j.getLogger import org.kxtra.swing.component.window import java.awt.BorderLayout import java.awt.Component import java.awt.Dimension import java.util.* import javax.swing.* class SidePanel internal ...
0
Kotlin
0
0
5ff4db62d216fcc316d7171501ec5c1a45460bd2
5,138
client
MIT License
app/src/main/java/com/example/fitness_app/welcome/FragmentWelcome.kt
HauntedMilkshake
698,074,119
false
{"Kotlin": 18759}
package com.example.fitness_app.welcome import android.annotation.SuppressLint import android.os.Bundle import android.os.Handler import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.view.animation.Animation import android.view.animation.ScaleAnimation import android...
0
Kotlin
0
1
d6b4b437f082996fccf971ad4d9992ea67739a07
2,207
fitness_app
MIT License
androidApp/src/main/java/com/mutualmobile/harvestKmp/android/HKMPApp.kt
mutualmobile
495,292,087
false
null
package com.mutualmobile.harvestKmp.android import android.app.Application import com.mutualmobile.harvestKmp.android.di.viewModelModule import com.mutualmobile.harvestKmp.db.DriverFactory import com.mutualmobile.harvestKmp.di.SharedComponent import com.mutualmobile.harvestKmp.di.initSharedDependencies import kotlinx....
0
Kotlin
4
41
763dd7f45f8271cebe9107c63f3532e1b14c666f
1,037
HarvestTimeKMP
Apache License 2.0
app/src/main/java/com/kaelesty/shoppinglist/di/DatasourceModule.kt
Kaelesty
669,493,927
false
null
package com.kaelesty.shoppinglist.di import android.app.Application import com.kaelesty.shoppinglist.data.ShopItemDatabase import dagger.BindsInstance import dagger.Module import dagger.Provides @Module class DatasourceModule { @Provides fun provideDatabase(@AppContextQualifier application: Application) = ShopIt...
0
Kotlin
0
0
da6f5104647f1373c12799470ffe2fa478324f82
426
study-android-shopping_list
The Unlicense
05-data-layer-caching/projects/starter/app/src/androidTest/java/com/raywenderlich/android/petsave/common/data/PetFinderAnimalRepositoryTest.kt
GoddayOkos
410,719,187
false
null
package com.raywenderlich.android.petsave.common.data import androidx.arch.core.executor.testing.InstantTaskExecutorRule import androidx.room.Room import androidx.test.platform.app.InstrumentationRegistry import com.google.common.truth.Truth.assertThat import com.raywenderlich.android.petsave.common.data.api.PetFinder...
0
Kotlin
0
0
97c8fc18f93ded73006d5f39daaaab88871d05c7
4,735
RW-PetSave-App
Apache License 2.0
compiler/tests-spec/testData/diagnostics/notLinked/contracts/declarations/contractBuilder/common/neg/1.kt
arrow-kt
109,678,056
false
null
// !LANGUAGE: +AllowContractsForCustomFunctions +UseCallsInPlaceEffect // !DIAGNOSTICS: -INVISIBLE_REFERENCE -INVISIBLE_MEMBER -UNUSED_VARIABLE -UNUSED_PARAMETER -UNREACHABLE_CODE -UNUSED_EXPRESSION // !USE_EXPERIMENTAL: kotlin.contracts.ExperimentalContracts /* KOTLIN DIAGNOSTICS NOT LINKED SPEC TEST (NEGATIVE) SE...
12
null
1
43
d2a24985b602e5f708e199aa58ece652a4b0ea48
1,117
kotlin
Apache License 2.0
feature/settings/src/main/kotlin/com/github/ilikeyourhat/lsaa/feature/settings/home/SettingsUi.kt
ILikeYourHat
385,717,121
false
null
package com.github.ilikeyourhat.lsaa.feature.settings.home import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.fillMaxWidth import android...
12
Kotlin
2
4
3c2073e1eb9f10285c84382caf5caad455f2bb9a
2,260
Large-Scale-Android-App
Apache License 2.0
src/commonMain/kotlin/org.angproj.aux/io/Model.kt
angelos-project
677,039,667
false
{"Kotlin": 972623, "Python": 196308}
/** * Copyright (c) 2024 by <NAME> <<EMAIL>>. * * This software is available under the terms of the MIT license. Parts are licensed * under different terms if stated. The legal terms are attached to the LICENSE file * and are made available on: * * https://opensource.org/licenses/MIT * * SPDX-License-Iden...
0
Kotlin
0
0
7a4016cea0dbd37275d13cf9b929ed52c1d722ce
972
angelos-project-aux
MIT License
src/main/kotlin/dev/isxander/perko/Perko.kt
isXander
453,786,695
false
{"Java": 4962, "Kotlin": 4202}
package dev.isxander.perko import dev.isxander.perko.perks.Perk import dev.isxander.perko.perks.impl.TestSwordPerk import net.fabricmc.api.ModInitializer import net.fabricmc.loader.api.entrypoint.PreLaunchEntrypoint import net.minecraft.item.Item import net.minecraft.item.SwordItem object Perko : ModInitializer, PreL...
0
Java
0
0
bd4211e77859d2761115971c56f17867bf34fad8
783
Perko
The Unlicense
toggles-prefs-noop/src/main/java/se/eelde/toggles/prefs/TogglesPreferencesImpl.kt
erikeelde
273,583,444
false
null
package se.eelde.toggles.prefs import android.content.Context @Suppress("LibraryEntitiesShouldNotBePublic") class TogglesPreferencesImpl(@Suppress("UNUSED_PARAMETER") context: Context) : TogglesPreferences { override fun getBoolean(key: String, defValue: Boolean): Boolean = defValue override fun getInt(key:...
4
null
2
7
e5c226723c41bb1478916435820b49ac656f00cd
536
toggles
MIT License
app/src/test/java/za/co/foursure/weatherapp/viewModel/WeatherDetailViewModelTest.kt
masithedeveloper
401,830,096
false
{"Kotlin": 140195}
package za.co.foursure.weatherapp.viewModel import android.os.Build import androidx.arch.core.executor.testing.InstantTaskExecutorRule import androidx.room.Room import androidx.test.core.app.ApplicationProvider import androidx.test.ext.junit.runners.AndroidJUnit4 import za.co.foursure.weatherapp.db.WeatherDatabase imp...
0
Kotlin
0
0
41be540161c92319cb9809e4736024a40976af31
2,278
4-Sure-Weatherapp
MIT License
kotlin-mui-icons/src/main/generated/mui/icons/material/ThumbDownRounded.kt
JetBrains
93,250,841
false
null
// Automatically generated - do not modify! @file:JsModule("@mui/icons-material/ThumbDownRounded") @file:JsNonModule package mui.icons.material @JsName("default") external val ThumbDownRounded: SvgIconComponent
10
null
5
983
7ef1028ba3e0982dc93edcdfa6ee1edb334ddf35
214
kotlin-wrappers
Apache License 2.0
samples/kofu-reactive-cassandra/src/main/kotlin/com/sample/Application.kt
spring-projects-experimental
134,733,282
false
null
/* * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
46
null
139
1,673
c41806b1429dc31f75e2cb0f69ddd51a0bd8e9da
1,276
spring-fu
Apache License 2.0
src/test/kotlin/com/atlassian/performance/tools/virtualusers/LoadTestTerminationIT.kt
atlassian
172,478,035
false
{"Gradle Kotlin DSL": 2, "CODEOWNERS": 1, "Markdown": 4, "INI": 2, "Shell": 1, "Ignore List": 1, "Batchfile": 1, "Git Attributes": 1, "EditorConfig": 1, "Text": 1, "XML": 1, "Dockerfile": 1, "Kotlin": 80, "Java": 1, "YAML": 1}
package com.atlassian.performance.tools.virtualusers import com.atlassian.performance.tools.jiraactions.api.ActionType import com.atlassian.performance.tools.jiraactions.api.SeededRandom import com.atlassian.performance.tools.jiraactions.api.WebJira import com.atlassian.performance.tools.jiraactions.api.action.Action ...
1
null
1
1
c1e8d65595c1482bd9b51a5fb980a30d5a4b3f60
8,395
virtual-users
Apache License 2.0
ktor-client/ktor-client-features/ktor-client-auth/jvm/test/DigestTest.kt
LloydFinch
166,520,021
false
null
/* * Copyright 2014-2019 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license. */ import io.ktor.application.* import io.ktor.auth.* import io.ktor.client.features.auth.Auth import io.ktor.client.features.auth.providers.* import io.ktor.client.request.* import io.ktor.clien...
0
null
0
2
9b9fc6c3b853c929a806c65cf6bf7c104b4c07fc
2,721
ktor
Apache License 2.0
server-core/src/main/kotlin/com/lightningkite/lightningserver/websocket/WebSocketIdentifierSerializer.kt
lightningkite
512,032,499
false
{"Kotlin": 2353225, "TypeScript": 38628, "JavaScript": 118}
package com.lightningkite.lightningserver.websocket import kotlinx.serialization.KSerializer import kotlinx.serialization.descriptors.PrimitiveKind import kotlinx.serialization.descriptors.PrimitiveSerialDescriptor import kotlinx.serialization.descriptors.SerialDescriptor import kotlinx.serialization.encoding.Decoder ...
1
Kotlin
1
5
f404cc57cbdbe2a90b4e59d4ecd5ad22e008a730
799
lightning-server
Apache License 2.0
components/src/main/kotlin/com/exyui/android/debugbottle/components/widgets/__FloatAnimatedDialog.kt
knowingman
71,956,841
true
{"Kotlin": 430762, "Java": 11466, "Shell": 1481}
package com.exyui.android.debugbottle.components.widgets import android.app.Dialog import android.app.DialogFragment import android.app.FragmentManager import android.os.Bundle import android.view.* import com.exyui.android.debugbottle.components.R /** * Created by yuriel on 9/26/16. */ abstract class __FloatAnimat...
0
Kotlin
0
1
d02988b0de207ea3f616221d1c5ffea310628736
3,265
debug-bottle
Apache License 2.0
app/src/main/kotlin/com/fibelatti/pinboard/features/tags/presentation/TagListLayout.kt
fibelatti
165,537,939
false
null
package com.fibelatti.pinboard.features.tags.presentation import android.animation.LayoutTransition import android.content.Context import android.util.AttributeSet import android.view.LayoutInflater import android.widget.LinearLayout import androidx.core.view.isVisible import androidx.core.widget.doAfterTextChanged im...
3
null
8
87
c10e57a97d4123be72fff7bbc4ac444b55b23bb7
4,986
pinboard-kotlin
Apache License 2.0
android/app/src/main/java/com/fabirt/roka/di/AppModule.kt
fabirt
282,489,397
false
null
package com.fabirt.roka.di import android.content.Context import com.fabirt.roka.core.data.database.AppDatabase import com.fabirt.roka.core.data.network.client.RecipesApiClient import com.fabirt.roka.core.data.network.services.RecipeService import com.fabirt.roka.core.data.network.services.RecipeServiceFakeImpl import...
0
Kotlin
14
62
f52145b2d3551b72e9478faef7d38bdfbb5aee8e
964
roka-recipe-app
MIT License
app/src/main/java/com/tandurteam/tandur/core/model/network/myplant/response/myplantlist/MyPlantListData.kt
Tandur-Team
490,700,073
false
null
package com.tandurteam.tandur.core.model.network.myplant.response.myplantlist import com.google.gson.annotations.SerializedName data class MyPlantListData( @SerializedName("_id") val id: String?, @SerializedName("is_harvested") val isHarvested: Int?, @SerializedName("plant_harvest_date") val p...
0
Kotlin
0
1
edc412f999c5a202ed2a3f4203f63a99b6262dce
638
tandur-android
MIT License
server/src/main/kotlin/io/github/alessandrojean/tankobon/infrastructure/web/StringToImporterSourceSetConverter.kt
alessandrojean
609,405,137
false
null
package io.github.alessandrojean.tankobon.infrastructure.web import io.github.alessandrojean.tankobon.infrastructure.importer.ImporterSource import org.springframework.core.convert.converter.Converter import org.springframework.stereotype.Component @Component class StringToImporterSourceSetConverter : Converter<Strin...
0
Kotlin
0
1
cb28b68c0b6f3b1de7f77450122a609295396c28
558
tankobon
MIT License
python/src/com/jetbrains/python/codeInsight/mlcompletion/correctness/PythonMLCompletionCorrectnessSupporter.kt
JetBrains
2,489,216
false
null
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package com.jetbrains.python.codeInsight.mlcompletion.correctness import com.intellij.lang.Language import com.intellij.platform.ml.impl.correctness.MLCompletionCorrectnessSupporter import com.jetbr...
251
null
5079
16,158
831d1a4524048aebf64173c1f0b26e04b61c6880
943
intellij-community
Apache License 2.0
app/src/main/java/com/example/burutoapp/domain/models/OnBoarding.kt
Mzazi25
528,442,786
false
{"Kotlin": 130574}
package com.example.burutoapp.domain.models import androidx.annotation.DrawableRes import com.example.burutoapp.R sealed class OnBoarding( @DrawableRes val image:Int, val title: String, val description: String ){ object First: OnBoarding( image = R.drawable.greetings, title = "Gree...
0
Kotlin
0
2
849814c25164d23352eb066c3e361700f5b64919
831
BorutoApp
The Unlicense
app/src/main/java/com/chittchorefsm/features/viewAllOrder/interf/NewOrderSizeQtyDelOnClick.kt
DebashisINT
533,183,419
false
{"Kotlin": 11200956, "Java": 960181}
package com.chittchorefsm.features.viewAllOrder.interf import com.chittchorefsm.app.domain.NewOrderGenderEntity import com.chittchorefsm.features.viewAllOrder.model.ProductOrder import java.text.FieldPosition interface NewOrderSizeQtyDelOnClick { fun sizeQtySelListOnClick(product_size_qty: ArrayList<ProductOrder>...
0
Kotlin
0
0
dfdfafd5c35ebf69c1606fcf84af819079e25fb9
396
Chittchore
Apache License 2.0
app/src/main/java/com/chittchorefsm/features/viewAllOrder/interf/NewOrderSizeQtyDelOnClick.kt
DebashisINT
533,183,419
false
{"Kotlin": 11200956, "Java": 960181}
package com.chittchorefsm.features.viewAllOrder.interf import com.chittchorefsm.app.domain.NewOrderGenderEntity import com.chittchorefsm.features.viewAllOrder.model.ProductOrder import java.text.FieldPosition interface NewOrderSizeQtyDelOnClick { fun sizeQtySelListOnClick(product_size_qty: ArrayList<ProductOrder>...
0
Kotlin
0
0
dfdfafd5c35ebf69c1606fcf84af819079e25fb9
396
Chittchore
Apache License 2.0
js/js.translator/testData/reservedWords/cases/localVarLet.kt
msdgwzhy6
51,743,245
true
{"Markdown": 33, "XML": 665, "Ant Build System": 45, "Ignore List": 7, "Git Attributes": 1, "Kotlin": 20967, "Java": 4534, "Protocol Buffer": 7, "Text": 4663, "JavaScript": 63, "JAR Manifest": 3, "Roff": 46, "Roff Manpage": 11, "INI": 17, "HTML": 152, "Groovy": 23, "Java Properties": 14, "Maven POM": 49, "Gradle": 74, ...
package foo // NOTE THIS FILE IS AUTO-GENERATED by the generateTestDataForReservedWords.kt. DO NOT EDIT! fun box(): String { var let: Int = 0 testRenamed("let", { let }) return "OK" }
0
Java
0
1
f713adc96e9adeacb1373fc170a5ece1bf2fc1a2
199
kotlin
Apache License 2.0
feature/auth/src/main/java/com/flexcode/wedate/auth/presentation/profile_images_screen/ProfileImageState.kt
Felix-Kariuki
588,745,399
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 ...
14
null
1
9
20a9b38cb4ae45572a248f819eca775e2d2f2678
829
Mingle
Apache License 2.0
ses-plugin-server/src/main/kotlin/jetbrains/buildServer/sesPlugin/teamcity/ui/EditSQSAjaxController.kt
JetBrains
105,000,686
false
{"Kotlin": 153538, "Java": 9533, "JavaScript": 6552, "CSS": 57}
package jetbrains.buildServer.sesPlugin.teamcity.ui import com.google.common.annotations.VisibleForTesting import jetbrains.buildServer.controllers.BaseController import jetbrains.buildServer.controllers.BasePropertiesBean import jetbrains.buildServer.serverSide.auth.Permission import jetbrains.buildServer.sesPlugin...
4
Kotlin
4
2
defc95b475b7971ca29a43beddc31d08ff96269f
2,553
TeamCity.SESPlugin
Apache License 2.0
src/main/java/net/oxyopia/vice/features/cooking/CookingAPI.kt
Oxyopiia
689,119,282
false
null
package net.oxyopia.vice.features.cooking import net.oxyopia.vice.Vice import net.oxyopia.vice.config.features.worlds.CookingStorage import net.oxyopia.vice.data.World import net.oxyopia.vice.events.ChatEvent import net.oxyopia.vice.events.TitleEvent import net.oxyopia.vice.events.core.SubscribeEvent import net.oxyopi...
6
null
1
2
e9aa1527b093391b8b418a9e53acc2e83aab529b
3,909
ViceMod
MIT License
markup/core/src/commonMain/kotlin/raven/Html.kt
aSoft-Ltd
849,606,763
false
{"Kotlin": 62632, "HTML": 24145}
package raven class Html( val lang: String, val dir: String, val head: Head, val body: Body ) class HtmlScope { internal var head = Head(mutableListOf(), mutableListOf()) internal var body = Body(mutableMapOf(), mutableListOf()) fun head(builder: HeadScope.() -> Unit): Head { val s...
0
Kotlin
0
0
b2feaf2166e65b7f8c2a0269c179480975223e19
664
raven-core
MIT License
components/data-support/src/main/kotlin/io/newsanalyzer/datasupport/DatabaseTemplate.kt
tyknkd
756,621,540
false
{"Kotlin": 92477, "FreeMarker": 4724, "Shell": 2140, "Dockerfile": 2067, "CSS": 1818}
package io.newsanalyzer.datasupport import org.jetbrains.exposed.sql.* import org.jetbrains.exposed.sql.transactions.* import com.zaxxer.hikari.* open class DatabaseTemplate(dbName: String, tables: List<Table>) { var database: Database init { val driverClassName = "org.postgresql.Driver" val p...
0
Kotlin
0
0
e2315aafc13a7eaad70540ab7c5b6b58a2a4f6fc
1,806
news-analyzer
FSF All Permissive License
dynamic-query-specification/src/test/kotlin/br/com/dillmann/dynamicquery/specification/predicate/range/BetweenRangeSpecificationUnitTests.kt
lucasdillmann
766,655,271
false
{"Kotlin": 343330, "ANTLR": 1950}
package br.com.dillmann.dynamicquery.specification.predicate.range import br.com.dillmann.dynamicquery.specification.parameter.Parameter import io.mockk.every import io.mockk.mockk import io.mockk.verify import jakarta.persistence.criteria.* import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test imp...
0
Kotlin
0
1
e30e8b3d26cc2f23c976f73207bf7a7e7fbb91ad
2,997
dynamic-query
MIT License
src/main/kotlin/org/itaya/pixiv/basic/ability/process/piece/save/IMGSaveStep.kt
Ita-Ya
704,809,151
false
{"Kotlin": 48081, "Assembly": 811}
package org.kyaru.pixiv.basic.ability.process.piece.save import org.kyaru.pixiv.basic.item.Artwork import java.io.IOException import java.nio.file.Path import javax.imageio.ImageIO class IMGSaveStep : SaveStep() { override fun store(targetDir: Path, artwork: Artwork): List<Path> { return ArrayList<Path>()...
0
Kotlin
0
0
13a768073b98ba9393e22ad698fde33ebafb3668
889
pixiv-artists-api
MIT License
feature/profile/src/main/kotlin/team/duckie/app/android/feature/profile/viewmodel/state/ProfileState.kt
duckie-team
503,869,663
false
null
/* * Designed and developed by Duckie Team, 2022 * * Licensed under the MIT. * Please see full license: https://github.com/duckie-team/duckie-android/blob/develop/LICENSE */ package team.duckie.app.android.feature.profile.viewmodel.state import kotlinx.collections.immutable.ImmutableList import kotlinx.collectio...
32
null
2
8
5dbd5b7a42c621931d05a96e66431f67a3a50762
1,098
duckie-android
MIT License
services/csm.cloud.project.project/src/main/kotlin/com/bosch/pt/iot/smartsite/common/model/VersionedEntity.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.iot.smartsite.common.model import java.util.UUID interface VersionedEntity...
0
Kotlin
3
9
9f3e7c4b53821bdfc876531727e21961d2a4513d
370
bosch-pt-refinemysite-backend
Apache License 2.0
app/src/main/java/com/alirahimi/digikalaclone/viewmodel/ProfileViewModel.kt
Aliiiw
612,510,322
false
null
package com.alirahimi.digikalaclone.viewmodel import androidx.compose.runtime.getValue import androidx.compose.runtime.mutableStateOf import androidx.compose.runtime.setValue import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.alirahimi.digikalaclone.data.model.basket.BasketDetail i...
0
Kotlin
0
4
0e503827a19eb619c348dfcec1998afb1b00c1b9
2,284
Digikala-clone
MIT License
server/src/main/kotlin/com/sebastiansokolowski/auctionhunter/allegro_api/AuthInterceptor.kt
sebastiansokolowski
82,472,206
false
{"Java": 99429, "Kotlin": 56005, "JavaScript": 32024, "HTML": 3888, "CSS": 930}
package com.sebastiansokolowski.auctionhunter.allegro_api import com.sebastiansokolowski.auctionhunter.allegro_api.response.AuthResponse import com.sebastiansokolowski.auctionhunter.allegro_api.response.RefreshTokenResponse import okhttp3.Interceptor import okhttp3.Request import okhttp3.Response class AuthIntercepto...
1
null
1
1
816c4397a002ea8898aec8cc898c9802077a2257
2,482
AuctionHunter---Allegro
Apache License 2.0
data/legacy/src/main/java/app/tivi/data/util/StoreExtensions.kt
chrisbanes
100,624,553
false
null
/* * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
39
null
792
5,749
5dc4d831fd801afab556165d547042c517f98875
1,291
tivi
Apache License 2.0
src/main/kotlin/com/seko0716/springboot/starter/oauth2/social/domains/User.kt
Sergey34
127,253,488
false
{"Kotlin": 34421}
package com.seko0716.springboot.starter.oauth2.social.domains import com.seko0716.springboot.starter.oauth2.social.infrastructure.annotations.NoArgs import org.bson.types.ObjectId import javax.persistence.Entity import javax.persistence.Id import javax.persistence.ManyToMany @NoArgs @Entity data class User(@Id var id...
0
Kotlin
3
9
255c7c5ce34ab0ae03331126ff0344a4d131a688
724
spring-boot-starter-security-oauth-social
The Unlicense
app/src/main/java/com/myth/movieapp/presentation/di/RemoteDataModule.kt
MichaelGift
631,115,747
false
{"Kotlin": 23570}
package com.myth.movieapp.presentation.di import com.myth.movieapp.data.api.TMDBService import com.myth.movieapp.data.datasource.MovieRemoteDataSource import com.myth.movieapp.data.datasourceimplementation.MovieRemoteDataSourceImplementation import dagger.Module import dagger.Provides import javax.inject.Singleton @M...
0
Kotlin
0
2
70ef3d4501a1b9c8b96092f364a7324955a6de71
608
Movie-Recommendations-App
Apache License 2.0
embrace-android-sdk/src/main/java/io/embrace/android/embracesdk/internal/payload/SpanMapper.kt
embrace-io
704,537,857
false
{"Kotlin": 3102378, "C": 189946, "Java": 179815, "C++": 13140, "CMake": 4188}
package io.embrace.android.embracesdk.internal.payload import io.embrace.android.embracesdk.arch.schema.AppTerminationCause import io.embrace.android.embracesdk.arch.schema.EmbType import io.embrace.android.embracesdk.arch.schema.ErrorCodeAttribute import io.embrace.android.embracesdk.internal.clock.millisToNanos impo...
9
Kotlin
7
130
e3ab4c793ce7fceae98cf82ff68d1ee6cd33a2c1
3,387
embrace-android-sdk
Apache License 2.0
app/src/main/java/com/example/cointrackr/ui/TopGainLossFragment.kt
Ankitsh-rtx
655,849,197
false
null
package com.example.cointrackr.ui import android.os.Bundle import androidx.fragment.app.Fragment import android.view.LayoutInflater import android.view.View import android.view.View.GONE import android.view.ViewGroup import androidx.lifecycle.lifecycleScope import com.example.cointrackr.adapter.MarketAdapter import co...
0
Kotlin
0
1
cceeda5eb2a03d6c5fd38daf50e29c1ef1ec1a6a
2,827
CoinTrackr
MIT License
src/test/kotlin/Day20Test.kt
mgellert
572,594,052
false
{"Kotlin": 45517}
import java.util.* import kotlin.test.Test import kotlin.test.assertEquals class Day20Test { @Test fun `should mix example input`() { val mix = GrovePositioningSystem.mix(testInput, LinkedList(testInput)).map { it.value } assertEquals(listOf<Long>(-2, 1, 2, -3, 4, 0, 3), mix) } @Test ...
0
Kotlin
0
0
2ce7dba06f924223069ea337ad3eb7b79a759766
1,711
advent-of-code-2022-kotlin
The Unlicense
compiler/frontend/src/org/jetbrains/kotlin/psi/FindDocComment.kt
staltz
52,316,479
false
null
/* * Copyright 2010-2015 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
0
null
0
1
80074c71fa925a1c7173e3fffeea4cdc5872460f
1,125
kotlin
Apache License 2.0
android/app/src/main/java/org/bitcoinppl/cove/Extention.kt
bitcoinppl
808,235,398
false
{"Swift": 684819, "Rust": 258970, "Kotlin": 203233, "Shell": 4523, "Just": 1801}
import org.bitcoinppl.cove.AutoComplete open class Bip39AutoComplete : org.bitcoinppl.cove.Bip39AutoComplete(), AutoComplete {}
17
Swift
2
24
bf3673f6f8f78d89195cbab7e633ce0bca54737c
128
cove
MIT License
app/src/main/java/com/developerbreach/developerbreach/ui/favorites/FavoritesFragment.kt
RajashekarRaju
285,625,118
false
{"Kotlin": 164789}
package com.developerbreach.developerbreach.ui.favorites // //import android.os.Bundle //import android.view.LayoutInflater //import android.view.View //import android.view.ViewGroup //import androidx.fragment.app.Fragment //import androidx.fragment.app.viewModels //import androidx.navigation.fragment.findNavController...
0
Kotlin
0
0
65e3019f6babda8ca722a734f5d5b23012b5f7e9
1,564
developers-breach-android
Apache License 2.0
domain/src/main/kotlin/team/mobileb/opgg/domain/usecase/CheckRoomUseCase.kt
OPGG-HACKTHON
391,351,999
false
null
package team.mobileb.opgg.domain.usecase import team.mobileb.opgg.domain.model.CheckInfo import team.mobileb.opgg.domain.repository.RoomRepository private typealias BaseCheckRoomUseCase = BaseUseCase<String, CheckInfo> class CheckRoomUseCase(private val repository: RoomRepository) : BaseCheckRoomUseCase { overri...
0
Kotlin
1
23
26036b3a9e38b3e2e127746dcda733b108138e61
410
mobile-b-android
MIT License
compiler/testData/debug/stepping/chainCall.kt
JetBrains
3,432,266
false
null
// FILE: test.kt class A { fun foo() = this inline fun bar() = this } fun box() { val a = A() a.foo() .foo() a.bar() .bar() } // EXPECTATIONS JVM_IR // test.kt:10 box // test.kt:4 <init> // test.kt:10 box // test.kt:11 box // test.kt:5 foo // test.kt:12 box // test.kt:5 foo // t...
184
null
5771
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
850
kotlin
Apache License 2.0
masterswitch/src/main/java/com/smp/masterswitchpreference/MasterSwitchPreferenceFragment.kt
svenoaks
284,879,301
false
null
package com.smp.masterswitchpreference import android.content.Context import android.os.Bundle import android.util.TypedValue import android.view.LayoutInflater import android.view.ViewGroup import androidx.annotation.Keep import androidx.preference.Preference import androidx.preference.PreferenceFragmentCompat import...
3
null
2
6
cc3557da9dd804f7378a98a9c394610eac4d9b67
4,512
MasterSwitchPreference
Apache License 2.0
masterswitch/src/main/java/com/smp/masterswitchpreference/MasterSwitchPreferenceFragment.kt
svenoaks
284,879,301
false
null
package com.smp.masterswitchpreference import android.content.Context import android.os.Bundle import android.util.TypedValue import android.view.LayoutInflater import android.view.ViewGroup import androidx.annotation.Keep import androidx.preference.Preference import androidx.preference.PreferenceFragmentCompat import...
3
null
2
6
cc3557da9dd804f7378a98a9c394610eac4d9b67
4,512
MasterSwitchPreference
Apache License 2.0
library/src/main/java/com/zerlings/library/SmartSpinner.kt
ZAndroidH
445,982,646
true
{"Kotlin": 25424}
package com.zerlings.library import android.R.attr import android.annotation.SuppressLint import android.content.Context import android.graphics.Color import android.graphics.drawable.Drawable import android.support.annotation.ColorInt import android.support.annotation.DrawableRes import android.support.v4.content.Con...
0
null
0
0
8eb9ac92d6fe8635b51928dc5b362dc325c546ec
8,907
SmartSpinner
Apache License 2.0
library/src/main/java/com/zerlings/library/SmartSpinner.kt
ZAndroidH
445,982,646
true
{"Kotlin": 25424}
package com.zerlings.library import android.R.attr import android.annotation.SuppressLint import android.content.Context import android.graphics.Color import android.graphics.drawable.Drawable import android.support.annotation.ColorInt import android.support.annotation.DrawableRes import android.support.v4.content.Con...
0
null
0
0
8eb9ac92d6fe8635b51928dc5b362dc325c546ec
8,907
SmartSpinner
Apache License 2.0
room/compiler/src/main/kotlin/androidx/room/log/RLog.kt
FYI-Google
258,765,297
false
null
/* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
0
null
0
6
b9cd83371e928380610719dfbf97c87c58e80916
6,015
platform_frameworks_support
Apache License 2.0
app/src/main/java/com/example/musicplayercompose/ui/playerview/viewmodel/PlayScreenViewModel.kt
KevinMartinezC
627,693,804
false
null
package com.example.musicplayercompose.ui.playerview.viewmodel import android.content.Context import android.net.Uri import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.example.musicplayercompose.R import com.example.musicplayercompose.model.Song import com.example.musicplayercompo...
0
Kotlin
0
0
0fce426b7a3d5be481fd91004348939db3192490
5,817
MusicPlayerComposeMVVM
MIT License
packages/webservice/app/src/test/kotlin/com/yahoo/navi/ws/test/integration/AsyncQueryTest.kt
yavin-dev
101,244,961
false
null
/** * Copyright 2021 Yahoo Holdings Inc. * Licensed under the terms of the MIT license. See accompanying LICENSE.md file for terms. */ package com.yahoo.yavin.ws.test.integration import com.jayway.restassured.RestAssured.given import com.yahoo.yavin.ws.test.framework.IntegrationTest import org.apache.http.HttpStatu...
83
null
38
86
cd2b41054f723789600f5de4ae7d4f16f11584b5
2,999
framework
MIT License
rounded/src/commonMain/kotlin/me/localx/icons/rounded/filled/SearchLocation.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.rounded.filled import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter ...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
3,874
icons
MIT License
network/src/main/java/com/eslam/network/ApiResponse.kt
zerox321
271,759,108
false
null
package com.eslam.network import okhttp3.ResponseBody import retrofit2.Response @Suppress("unused") sealed class ApiResponse<out T> { /** * API Success response class from retrofit. * * [data] is optional. (There are responses without data) */ class Success<T>(response: Response<T>) : ApiResponse<T>(...
0
Kotlin
1
2
ebc1141adce891971a6d220490e68ad106abc946
2,213
TMDB-MVVM
Apache License 2.0
modern-treasury-kotlin-core/src/main/kotlin/com/moderntreasury/api/models/AccountCollectionFlowListParams.kt
Modern-Treasury
665,762,762
false
null
// File generated from our OpenAPI spec by Stainless. package com.moderntreasury.api.models import com.moderntreasury.api.core.JsonValue import com.moderntreasury.api.core.NoAutoDetect import com.moderntreasury.api.core.toUnmodifiable import com.moderntreasury.api.models.* import java.util.Objects class AccountColle...
3
null
2
2
776a9b5bb0c3057643ba163b01fdcc14a92e3941
8,404
modern-treasury-kotlin
MIT License
app/src/main/java/com/example/clonethreads/Models/UserModel.kt
aspirers01
746,045,724
false
{"Kotlin": 106428}
package com.example.clonethreads.Models data class UserModel ( val username:String="", val email:String="", val password:String="", val image:String="", val uid:String="", val bio:String="", )
0
Kotlin
0
0
bf84b0079ac549f28fbed8a553b28ed57d12d5d7
241
clonethreads
MIT License
Music-Player-GO-main/project/app/src/main/java/com/iven/musicplayergo/preferences/SettingsFragment.kt
cano696969
786,286,313
false
null
package com.example.rove.preferences import android.annotation.SuppressLint import android.content.Context import android.content.Intent import android.content.pm.PackageManager import android.content.pm.ResolveInfo import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.vi...
10
null
0
1
f2c39a7bf9fc014c314d592bcd0ccc56c471cd2c
5,772
Lab-Studio-Apps
MIT License
common/src/desktopMain/kotlin/com/darkrockstudios/apps/hammer/common/components/projectselection/accountsettings/PlatformSettingsComponent.desktop.kt
Wavesonics
499,367,913
false
{"Kotlin": 1630287, "Swift": 32452, "CSS": 2064, "Ruby": 1578, "Shell": 361}
package com.darkrockstudios.apps.hammer.common.components.projectselection.accountsettings import com.arkivanov.decompose.ComponentContext import com.arkivanov.decompose.value.Value import com.arkivanov.decompose.value.getAndUpdate import com.darkrockstudios.apps.hammer.common.components.SavableComponent import com.da...
19
Kotlin
6
128
5eb281596110fe9c315f9c53d5412a93078f870d
2,669
hammer-editor
MIT License
src/main/kotlin/waffle/domain/entity/WebCheckpoint.kt
tmyksj
571,796,959
false
null
package waffle.domain.entity import waffle.domain.model.WebSnapshot import waffle.domain.time.now import java.time.LocalDateTime import java.util.* /** * Checkpoint of pages. */ data class WebCheckpoint( /** * ID. */ val id: UUID = UUID.randomUUID(), /** * WebFlow. */ val flow:...
0
Kotlin
0
0
cd399f56945bb259117e0b4f6991d5f5b7711a73
1,420
waffle
Apache License 2.0
app/src/main/java/com/kylecorry/trail_sense/shared/sensors/altimeter/FusedAltimeter.kt
kylecorry31
215,154,276
false
null
package com.kylecorry.trail_sense.shared.sensors class FusedAltimeter(private val gps: IGPS, private val barometer: IBarometer) : AbstractSensor(), IAltimeter { override val altitude: Float get() = baseAltitude + altitudeChange override val hasValidReading: Boolean get() = gotGps pri...
401
null
49
739
e06d698b18f2d20e384f5a31aa3226741beb6a69
1,529
Trail-Sense
MIT License
testingplaygroundapp/src/main/java/com/programmersbox/testingplaygroundapp/cardgames/CardUtils.kt
jakepurple13
243,099,864
false
null
package com.programmersbox.testingplaygroundapp.cardgames import android.content.Context import com.programmersbox.funutils.cards.Card import com.programmersbox.funutils.cards.CardColor import com.programmersbox.funutils.cards.Suit import com.programmersbox.loggingutils.FrameType import com.programmersbox.loggingutils...
10
Kotlin
1
8
904eb4dc9d6ca3024df1096a4a8ccadaca566a4c
2,395
HelpfulTools
Apache License 2.0
app/src/main/java/com/urbanist/music/feature/map/domain/EventsRepository.kt
MrSwimmer
187,322,536
false
null
package com.urbanist.music.feature.map.domain import io.reactivex.Observable interface EventsRepository { fun observeEvents(): Observable<List<Event>> }
0
Kotlin
0
4
6c9971bca1d7ef41d6b3f00d86c49e7f0916c507
159
urbanist-music
Apache License 2.0
src/studio/papercube/ipprobe/Ip4Address.kt
PaperCube
135,261,702
false
{"Kotlin": 12560}
package studio.papercube.ipprobe import java.util.* class Ip4Address(address: IntArray) { companion object { /** * Parses either full ip or partial ip. * Partial ip refers to those whose several parts in the end are omitted. * This method will return the smallest possible ip. ...
0
Kotlin
0
0
39573eb71ab0fb6ba07cf2d7921420afb0794ed0
3,459
lan-ip-availability-prober
MIT License
MyHairDiary_c/app/src/main/java/com/example/myhairdiary_c/diary/MyHairDiary.kt
sungdoolim
238,624,065
false
null
package com.example.myhairdiary_c.diary import android.content.Intent import android.os.Build import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.view.MenuItem import android.view.MotionEvent import android.view.VelocityTracker import android.view.View import android.widget.AbsListV...
1
null
1
1
dc08834dafcef20209ba15bcff114f9f55775913
10,246
android_practice
Apache License 2.0
app/src/main/java/com/azuredragon/app/ui/launchrouter/LaunchRouterFragment.kt
bastionkid
536,519,741
false
null
package com.azuredragon.app.ui.launchrouter import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.compose.runtime.getValue import androidx.compose.ui.graphics.Color import androidx.fragment.app.Fragment import androidx.fragment.app.viewModels...
1
Kotlin
0
0
ca22bbdfc1c6e9263d33693f03e1e67d7cef2630
2,021
android-app-template
Apache License 2.0
library/src/main/kotlin/com/daniloaraujosilva/mathemagika/library/common/mathematica/functions/Parallelize.kt
Danilo-Araujo-Silva
271,904,885
false
null
package com.daniloaraujosilva.mathemagika.library.common.mathematica.functions import com.daniloaraujosilva.mathemagika.library.common.mathematica.MathematicaFunction /** *```` * * Name: Parallelize * * Full name: System`Parallelize * * Usage: Parallelize[expr] evaluates expr usin...
2
Kotlin
0
3
4fcf68af14f55b8634132d34f61dae8bb2ee2942
1,393
mathemagika
Apache License 2.0
app/src/main/java/colorpickerlayout/inlacou/bvapps/com/colorpickerlayout/ExampleColorPickerView.kt
inlacou
114,781,033
false
{"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Kotlin": 9, "XML": 17, "Java": 2}
package colorpickerlayout.inlacou.bvapps.com.colorpickerlayout import android.graphics.Color import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import android.util.Log import android.widget.Toast import colorpickerlayout.inlacou.bvapps.com.colorpicklayout.ColorListener import colorpickerlayout.in...
1
null
1
1
7aa713ab12df88432f9e4d7d81ae810a74b67e15
1,298
ColorPickLayout
MIT License
app/src/main/java/top/rainysummer/openhappyhackingcalendar/MonthActivity.kt
lzcapp
332,923,922
false
null
package top.rainysummer.openhappyhackingcalendar import android.annotation.SuppressLint import android.content.Intent import android.os.Build import android.os.Bundle import android.util.TypedValue import android.view.* import android.view.GestureDetector.SimpleOnGestureListener import android.widget.LinearLayout impo...
1
null
1
2
96a6517fc5b1600c3c80bacb8f4c070fdb9fb12e
6,260
Android.OHHC
Apache License 2.0
src/test/kotlin/g1301_1400/s1351_count_negative_numbers_in_a_sorted_matrix/SolutionTest.kt
javadev
190,711,550
false
{"Kotlin": 4909193, "TypeScript": 50446, "Python": 3646, "Shell": 994}
package g1301_1400.s1351_count_negative_numbers_in_a_sorted_matrix import org.hamcrest.CoreMatchers.equalTo import org.hamcrest.MatcherAssert.assertThat import org.junit.jupiter.api.Test internal class SolutionTest { @Test fun countNegatives() { assertThat( Solution() .coun...
0
Kotlin
20
43
62708bc4d70ca2bfb6942e4bbfb4c64641e598e8
776
LeetCode-in-Kotlin
MIT License
plugins/music_player/android/src/main/kotlin/com/xhhold/plugin/music_player/MediaNotificationManager.kt
xiaohuihuiold
380,486,716
false
null
package com.xhhold.plugin.music_player import android.app.NotificationChannel import android.app.NotificationManager import android.app.PendingIntent import android.support.v4.media.MediaDescriptionCompat import android.support.v4.media.session.MediaSessionCompat import android.support.v4.media.session.PlaybackStateCo...
0
Kotlin
0
0
077ed5c596f5212975478fe1c3f9f8644d8fb045
5,260
listening
Apache License 2.0
apps/androidData/src/main/java/com/baptistecarlier/am24/data/repository/StorageRepositoryImpl.kt
BapNesS
781,361,632
false
{"Kotlin": 58941}
package com.baptistecarlier.am24.data.repository import android.content.Context import androidx.datastore.core.DataStore import androidx.datastore.preferences.core.Preferences import androidx.datastore.preferences.core.booleanPreferencesKey import androidx.datastore.preferences.core.edit import androidx.datastore.pref...
0
Kotlin
0
3
8a07812369181db3a041fe7c9f78a99bbc8ab717
1,077
goat-multiplatform
Apache License 2.0
src/main/kotlin/archangeldlt/ArchangelConfig.kt
archangel-dlt
161,204,132
false
{"Gradle": 2, "Markdown": 3, "INI": 1, "Shell": 1, "Ignore List": 1, "Batchfile": 1, "Java Properties": 2, "Java": 4, "XSLT": 1, "XML": 2, "Kotlin": 16, "AsciiDoc": 1}
package archangeldlt import tornadofx.ConfigProperties import kotlin.reflect.KProperty class ConfigProp(private val key: String, private val defaultValue: String) { operator fun getValue(thisRef: ArchangelConfig, property: KProperty<*>): String { return thisRef.config.string(key, defaultValue) } o...
0
Kotlin
0
1
24e5c7831f8b7370e16d4786724243997bebe640
1,044
archangel-desktop
MIT License
library/location/src/main/kotlin/xyz/fcampbell/rxplayservices/locationservices/action/geocode/ReverseGeocode.kt
francoiscampbell
75,945,848
true
null
package xyz.fcampbell.rxplayservices.locationservices.action.geocode import android.content.Context import android.location.Address import android.location.Geocoder import io.reactivex.Observable import io.reactivex.ObservableEmitter import io.reactivex.ObservableOnSubscribe import io.reactivex.schedulers.Schedulers i...
1
Kotlin
2
10
b7461e4534a81d78f7bf70a6047395b059e61c3c
1,611
RxPlayServices
Apache License 2.0
platform/platform-impl/src/com/intellij/ide/CommandLineProcessor.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. package com.intellij.ide import com.intellij.featureStatistics.fusCollectors.LifecycleUsageTriggerCollector import com.intellij.ide.CommandLineProcessorResult.Companion.createError import com.intell...
284
null
5162
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
15,239
intellij-community
Apache License 2.0
src/ru/alexxxdev/kGen/ClassSpec.kt
alexxxdev
84,447,501
false
null
package ru.alexxxdev.kGen import ru.alexxxdev.kGen.FieldSpec.PropertyType import ru.alexxxdev.kGen.FieldSpec.PropertyType.READONLY import ru.alexxxdev.kGen.FieldSpec.ValueType import ru.alexxxdev.kGen.FieldSpec.ValueType.NOTNULL /** * Created by alexxxdev on 28.02.17. */ class ClassSpec(val kind: Kind, internal val...
0
Kotlin
0
0
07ab50d0260e64e722c215cf40010df4b72f5c6e
3,733
kGen
Apache License 2.0
src/main/kotlin/ch/sourcemotion/vertx/kinesis/consumer/orchestra/impl/redis/lua/LuaScriptLoader.kt
wem
253,237,315
false
null
package ch.sourcemotion.vertx.kinesis.consumer.orchestra.impl.redis.lua import io.vertx.kotlin.coroutines.await import io.vertx.redis.client.Command import io.vertx.redis.client.Redis import io.vertx.redis.client.Request /** * Simple a loader with cache of LUA scripts used for short, fast operations against Redis. ...
10
Kotlin
0
3
a2290613daf15c96034bf5d3d67103ddc8741776
1,062
vertx-kinesis-consumer-orchestra
MIT License
app/src/main/java/org/wikipedia/descriptions/DescriptionEditReviewView.kt
greatfire
460,298,221
true
{"Kotlin": 2932557, "Java": 68018, "C++": 37990, "Python": 23673, "CMake": 1104, "Jinja": 533, "Shell": 521}
package org.wikipedia.descriptions import android.content.Context import android.net.Uri import android.util.AttributeSet import android.view.LayoutInflater import androidx.constraintlayout.widget.ConstraintLayout import org.wikipedia.databinding.ViewDescriptionEditReviewBinding import org.wikipedia.descriptions.Descr...
29
Kotlin
624
38
8c8de602274b0132fc5d22b394a2c47fcd0bf2eb
3,345
apps-android-wikipedia-envoy
Apache License 2.0
src/test/kotlin/org/rust/ide/inspections/RsLiteralOutOfRangeInspectionTest.kt
intellij-rust
42,619,487
false
{"Gradle Kotlin DSL": 2, "Java Properties": 5, "Markdown": 11, "TOML": 19, "Shell": 2, "Text": 124, "Ignore List": 1, "Batchfile": 1, "EditorConfig": 1, "XML": 140, "Kotlin": 2284, "INI": 3, "ANTLR": 1, "Rust": 362, "YAML": 131, "RenderScript": 1, "JSON": 6, "HTML": 198, "SVG": 136, "JFlex": 1, "Java": 1, "Python": 37}
/* * Use of this source code is governed by the MIT license that can be * found in the LICENSE file. */ package org.rust.ide.inspections import org.junit.Test class RsLiteralOutOfRangeInspectionTest: RsInspectionsTestBase(RsLiteralOutOfRangeInspection::class) { fun `test declaration max u8`() = checkByText("...
1,841
Kotlin
380
4,528
c6657c02bb62075bf7b7ceb84d000f93dda34dc1
6,434
intellij-rust
MIT License
sample/src/main/java/ro/dobrescuandrei/demonewlibs/restaurant/editor/RestaurantEditorActivity.kt
irfanirawansukirman
171,591,919
false
null
package ro.dobrescuandrei.demonewlibs.restaurant.editor import android.os.Bundle import android.widget.SeekBar import kotlinx.android.synthetic.main.activity_restaurant_editor.* import org.greenrobot.eventbus.Subscribe import ro.dobrescuandrei.demonewlibs.R import ro.dobrescuandrei.demonewlibs.model.Restaurant import ...
0
Kotlin
5
1
f940702c98847e42dc0ce230485da8f35bc32e32
3,240
DobDroidMVVM
Apache License 2.0
core/src/main/java/io/github/thibaultbee/streampack/streamers/interfaces/ICameraStreamer.kt
ThibaultBee
262,623,449
false
null
/* * Copyright (C) 2021 <NAME>. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
4
Kotlin
17
42
abc4c9316d916b07bbf174fbf27a89e9d49f2fc0
1,602
StreamPack
Apache License 2.0
compiler/testData/diagnostics/tests/modifiers/suspendAnonymousFunction.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...
// FIR_IDENTICAL // ISSUE: KT-57991 fun foo() { suspend fun() { } }
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
78
kotlin
Apache License 2.0
app/src/main/java/com/lytredrock/emocloudmusic/data/Artist.kt
lytMoon
666,257,860
false
null
package com.lytredrock.emocloudmusic.data data class Artist( val id: Int, val img1v1Url: String, val name: String, val picUrl: String, )
0
Kotlin
0
0
7a5e0c48a96ffa4057ee7bcea94a72a10c2da3c3
157
emoCloud
Apache License 2.0
eCommerceMobile/app/src/main/java/com/example/ecommercemobile/data/network/orders/ApiOrders.kt
Lloansi
716,627,802
false
{"Kotlin": 213931, "Python": 13552}
package com.example.ecommercemobile.data.network.orders import com.example.ecommercemobile.data.model.Cart import com.example.ecommercemobile.data.model.OrderClient import com.example.ecommercemobile.data.model.OrderState import retrofit2.http.Body import retrofit2.http.DELETE import retrofit2.http.GET import retrofit...
0
Kotlin
0
0
95d2a239c6f562d1e24886500a0d169705ab8127
1,513
eCommerce_app
MIT License
app/src/main/java/hu/tb/minichefy/presentation/screens/storage/storage_list/StorageListViewModel.kt
BTheofil
705,819,849
false
{"Kotlin": 98968}
package hu.tb.minichefy.presentation.screens.storage.storage_list import androidx.lifecycle.ViewModel import kotlinx.coroutines.flow.MutableStateFlow import kotlinx.coroutines.flow.StateFlow class StorageListViewModel: ViewModel() { data class UiState( val searchText: String = "", val filterList:...
0
Kotlin
0
0
544bb3d8f068f6d71d3f76d76a8df46a44b5d325
508
MiniChefy
Apache License 2.0
src/main/kotlin/Day1.kt
clechasseur
264,758,910
false
null
object Day1 { private const val input = "29917128875332952564321392569634257121244516819997569284938677239676779378822158323549832814412597817651244117851771257438674567254146559419528411463781241159837576747416543451994579655175322397355255587935456185669334559882554936642122347526466965746273596321419312386992922...
0
Kotlin
0
0
f3e8840700e4c71e59d34fb22850f152f4e6e739
2,485
adventofcode2017
MIT License
src/main/kotlin/com/github/shmvanhouten/adventofcode/day21letterscramble/Size8PasswordLetterDescrambler.kt
SHMvanHouten
109,886,692
false
{"Kotlin": 616528}
package com.github.shmvanhouten.adventofcode.day21letterscramble class Size8PasswordLetterDescrambler(private val instructionBuilder: DescrambleInstructionConverter = DescrambleInstructionConverter()) { fun descramblePassword(rawInstructions: String, password: String): String { val instructions = instruct...
0
Kotlin
0
0
a8abc74816edf7cd63aae81cb856feb776452786
595
adventOfCode2016
MIT License
app/src/main/kotlin/fr/ekito/myweatherapp/util/mvp/BasePresenter.kt
KotlinAndroidWorkshops
174,023,444
false
null
package fr.ekito.myweatherapp.util.mvp /** * Presenter */ interface BasePresenter<V> { fun subscribe(view: V) fun unSubscribe() var view : V? }
0
Kotlin
0
7
efdba4e28bee049888aa1110d22a76a6590b6138
162
2019-android-architecture-components-workshop
Creative Commons Attribution 4.0 International
app/src/main/kotlin/fr/ekito/myweatherapp/util/mvp/BasePresenter.kt
KotlinAndroidWorkshops
174,023,444
false
null
package fr.ekito.myweatherapp.util.mvp /** * Presenter */ interface BasePresenter<V> { fun subscribe(view: V) fun unSubscribe() var view : V? }
0
Kotlin
0
7
efdba4e28bee049888aa1110d22a76a6590b6138
162
2019-android-architecture-components-workshop
Creative Commons Attribution 4.0 International