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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
src/main/kotlin/csperandio/dependencies/files/FileFinder.kt | lolo101 | 366,496,744 | true | {"Kotlin": 20826} | package csperandio.dependencies.files
import java.io.File
class FileFinder(private val rootDir: File) {
fun all(fileName: String): List<File> {
return rootDir.walk().filter { it.isFile && it.name == fileName }.toList()
}
} | 0 | Kotlin | 0 | 0 | c20f9df48bbe5e37172704f05b6be0bace2914d0 | 240 | check-dependencies | MIT License |
app/src/main/java/com/spit/tph/nike_mvp/IPresenter.kt | edcedc | 761,522,515 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "JSON": 3, "Proguard": 2, "XML": 113, "Java": 294, "Kotlin": 32} | package com.csl.ams.nike_mvp
/**
* User: Nike
* 2024/1/15 09:42
*/
interface IPresenter<in V: IBaseView> {
fun init(mRootView: V)
} | 0 | Java | 0 | 0 | 2945055ad6e48f201c38348f574919ecc0e56d55 | 142 | NEWTPH | MIT License |
rd-core/rd-core-jvm/src/test/kotlin/com/jetbrains/rider/util/test/cases/BackgroundSchedulerTest.kt | kjellski | 147,781,181 | true | {"Kotlin": 579409} | package com.jetbrains.rider.util.test.cases
import com.jetbrains.rider.util.Closeable
import com.jetbrains.rider.util.ILoggerFactory
import com.jetbrains.rider.util.Statics
import com.jetbrains.rider.util.log.ErrorAccumulatorLoggerFactory
import com.jetbrains.rider.util.threading.TestSingleThreadScheduler
import org.j... | 0 | Kotlin | 0 | 0 | 0eaa82803db30efec5b832bf660f511f6e205ca0 | 1,541 | rd | Apache License 2.0 |
adk/reduction_gatt_connection/Android/connectableDevice.kt | forrestan | 399,789,055 | true | {"C": 1311640, "C++": 899092, "Objective-C": 36107, "Makefile": 15256, "Kotlin": 2598, "Swift": 2145, "Shell": 1488} | var bluetoothGatt: BluetoothGatt? = null
var refreshGattServicesCallback: RefreshGattServicesCallback? = null
lateinit var bluetoothGattCallback: BluetoothGattCallback
...
bluetoothGattCallback = object : BluetoothGattCallback() {
override fun onServicesDiscovered(gatt: BluetoothGatt, status: Int) {
...
... | 0 | null | 0 | 1 | 1d26565e41d2d59fb1c3417f4ae4646541b77a6d | 1,207 | bluetooth_mesh_stack_features | zlib License |
buildSrc/src/main/java/com/pp/ppcompose/buildsrc/Dependencies.kt | pauloaapereira | 517,433,807 | false | {"Kotlin": 414514} | package com.pp.ppcompose.buildsrc
object Configs {
const val CompileSdkVersion = 32
const val MinSdkVersion = 26
const val TargetSdkVersion = 32
const val VersionCode = 1
const val VersionName = "1.0"
}
object ClassPaths {
const val gradlePlugin = "com.android.tools.build:gradle:7.2.1"
co... | 0 | Kotlin | 0 | 0 | 3acacdd970a20bb65a034a869dfaea8bf648a357 | 3,181 | ViveAFesta | Apache License 2.0 |
src/test/kotlin/io/steinh/aoc/day01/TrebuchetTest.kt | daincredibleholg | 726,426,347 | false | {"Kotlin": 14505} | package day01
import kotlin.test.Test
import kotlin.test.assertEquals
class TrebuchetTest {
val trebuchet = Trebuchet()
@Test
fun checkDemoInput() {
val input = {}.javaClass.classLoader?.getResource("day01/demo-input.txt")?.readText()?.lines()
val actual = trebuchet.calibrate(input!!)
... | 0 | Kotlin | 0 | 0 | 4aa7c684d0e337c257ae55a95b80f1cf388972a9 | 607 | AdventOfCode2023 | MIT License |
app/src/main/java/cz/muni/fi/umimecesky/game/flappy/ConceptAdapter.kt | mareksabo | 82,814,524 | false | null | /*
* Copyright (c) 2018 <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 ... | 1 | Kotlin | 0 | 4 | 488245ce33b0abace0d21a153ac44e348fd6d1f2 | 2,562 | umimecesky | Apache License 2.0 |
app/src/main/java/com/kirillemets/flashcards/domain/model/DictionaryEntry.kt | KirillEmets | 291,228,411 | false | null | package com.kirillemets.flashcards.domain.model
class DictionaryEntry(
val japanese: String,
val reading: String,
val englishMeanings: List<String>,
) {
val meaningsString: String
get() = englishMeanings.joinToString().take(50)
fun meaningString(id: Int) = (id + 1).toString() + ". " + engl... | 3 | Kotlin | 0 | 1 | 271dadbb27b6adec52f3f5b57058027ca3325b0e | 337 | JpCards | MIT License |
app/src/main/java/com/example/movieapp/ViewModel/MovieViewModel.kt | Danc-0 | 377,314,329 | false | null | package com.example.movieapp.ViewModel
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import androidx.paging.Pager
import androidx.paging.PagingConfig
import androidx.paging.PagingData
import androidx.paging.cach... | 0 | Kotlin | 0 | 0 | 45d4b4fe94ee22b2d71714cc28fb38a7f4ae2516 | 2,295 | Movies | MIT License |
composeApp/src/commonMain/kotlin/com/afapps/notificationSaver/presentation/features/splash/logo/NSaver.kt | alfayedoficial | 869,041,201 | false | {"Kotlin": 126759, "Swift": 621} | /*
* Converted using https://composables.com/svgtocompose
*/
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx.compose.ui.graphics.StrokeJoin
import androidx.compose.ui.... | 0 | Kotlin | 0 | 5 | de331f0977e22a54f1b5d098f8c0d950922a4740 | 10,031 | NotificationSaver_KMP | MIT License |
module_home/src/main/java/com/phone/module_home/view/IHomePageView.kt | UrasakiNakajima | 685,999,091 | false | {"Kotlin": 1376968, "Java": 250415, "CMake": 172579, "C++": 147334, "HTML": 45021, "C": 10920, "AIDL": 910} | package com.phone.module_home.view
import com.phone.library_base.base.IBaseView
import com.phone.library_common.bean.ResultData
import java.io.File
/**
* author : Urasaki
* e-mail : <EMAIL>
* date : 2020/3/7 15:44
* introduce :
*/
interface IHomePageView : IBaseView {
fun homePageDataSuccess(succ... | 0 | Kotlin | 0 | 3 | c96e018ab96d1723e5684ef8f4e93a228ac110ab | 401 | RxJava2AndRetrofit2 | Apache License 2.0 |
app/src/main/java/com/android/skip/node/NodeCount.kt | GuoXiCheng | 506,451,823 | false | {"Kotlin": 38437, "JavaScript": 863} | package com.android.skip.node
import android.view.accessibility.AccessibilityNodeInfo
class NodeCount: NodeCallBack {
private var nodeCount = 0
override fun onCallback(accessibilityNodeInfo: AccessibilityNodeInfo) {
nodeCount ++
}
fun cleanCount() {
nodeCount = 0
}
fun getCou... | 8 | Kotlin | 51 | 716 | b56999f3bcf85b965aa798ede45c26cc5f3c2c42 | 364 | SKIP | MIT License |
app/src/main/java/com/mbaguszulmi/githubuser/provider/UserProvider.kt | mbaguszulmi | 287,586,839 | false | null | package com.mbaguszulmi.githubuser.provider
import android.content.ContentProvider
import android.content.ContentValues
import android.content.Context
import android.content.UriMatcher
import android.database.Cursor
import android.net.Uri
import com.mbaguszulmi.githubuser.model.database.AppDb
import com.mbaguszulmi.gi... | 0 | Kotlin | 0 | 0 | 8cb3ebd7f416dfdb430e9d6a107cccc953c4caa1 | 2,743 | android-github-user | Apache License 2.0 |
app/src/main/java/at/markushi/checkmate/ui/SettingsScreen.kt | markushi | 543,017,728 | false | {"Kotlin": 73559} | package at.markushi.checkmate.ui
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
impor... | 0 | Kotlin | 0 | 0 | c84d794829b9df2898bc3a10e452ec5e891b11db | 2,554 | checkmate | Apache License 2.0 |
base/src/main/java/com/surrus/galwaybus/domain/interactor/GetBusStopsUseCase.kt | eduardb | 147,106,837 | true | {"Kotlin": 105848, "Java": 73116, "GLSL": 9264, "Ruby": 3139} | package com.surrus.galwaybus.domain.interactor
import com.surrus.galwaybus.domain.executor.ExecutorThread
import com.surrus.galwaybus.domain.executor.PostExecutionThread
import com.surrus.galwaybus.domain.repository.GalwayBusRepository
import com.surrus.galwaybus.model.BusStop
import io.reactivex.Flowable
open class ... | 0 | Kotlin | 0 | 0 | 2fc542f37e19de59f4ef0eea15a8046244680bfe | 763 | galway-bus-android | MIT License |
base/src/main/java/com/surrus/galwaybus/domain/interactor/GetBusStopsUseCase.kt | eduardb | 147,106,837 | true | {"Kotlin": 105848, "Java": 73116, "GLSL": 9264, "Ruby": 3139} | package com.surrus.galwaybus.domain.interactor
import com.surrus.galwaybus.domain.executor.ExecutorThread
import com.surrus.galwaybus.domain.executor.PostExecutionThread
import com.surrus.galwaybus.domain.repository.GalwayBusRepository
import com.surrus.galwaybus.model.BusStop
import io.reactivex.Flowable
open class ... | 0 | Kotlin | 0 | 0 | 2fc542f37e19de59f4ef0eea15a8046244680bfe | 763 | galway-bus-android | MIT License |
neuvi/src/main/kotlin/com/github/jnexil/neuvi/internal/MutNetwork.kt | JNexil | 76,639,857 | false | null | package com.github.jnexil.neuvi.internal
import com.github.jnexil.neuvi.api.*
import com.github.jnexil.neuvi.api.layers.*
import com.github.jnexil.neuvi.api.linalg.*
import com.github.jnexil.neuvi.api.networks.*
import com.github.jnexil.neuvi.api.providers.*
internal class MutNetwork internal constructor(override val... | 0 | Kotlin | 0 | 0 | 100081be16f921e39e8bfb7b6cccae0785d51f04 | 721 | Neurio | Apache License 2.0 |
core/src/commonMain/kotlin/com/sjaindl/s11/core/firestore/config/model/Config.kt | sjaindl | 833,289,183 | false | {"Kotlin": 196302, "Ruby": 7377, "Swift": 1695, "HTML": 1023, "CSS": 306} | package com.sjaindl.s11.core.firestore.config.model
import kotlinx.serialization.Serializable
@Serializable
data class Config(
val bets: Boolean,
val freeze: Boolean,
)
| 0 | Kotlin | 0 | 0 | 3cf276256f442ad905ce1a8b222379ffc45cbee6 | 179 | StartingEleven | MIT License |
adventure-serialization/src/main/kotlin/net/bladehunt/kotstom/serialization/adventure/AdventureCompoundDecoder.kt | bladehuntmc | 822,386,546 | false | {"Kotlin": 117270} | package net.bladehunt.kotstom.serialization.adventure
import kotlinx.serialization.DeserializationStrategy
import kotlinx.serialization.ExperimentalSerializationApi
import kotlinx.serialization.InternalSerializationApi
import kotlinx.serialization.SerializationException
import kotlinx.serialization.descriptors.SerialD... | 0 | Kotlin | 0 | 9 | f0bd4675be3ecd858b057d2d936aa93e5ed20cc2 | 3,558 | KotStom | MIT License |
app/src/main/kotlin/kkris/hatschen/sampling/VertexSampler.kt | kkris | 461,260,394 | false | {"Kotlin": 27718, "JavaScript": 3634, "Shell": 287} | package kkris.hatschen.sampling
import kkris.hatschen.gtsp.GtspSet
import kkris.hatschen.parser.Area
enum class VertexSampleType(val value: String) {
CENTROID("centroid"),
CENTER_BIAS("center-bias"),
GRID("grid"),
BOUNDARY("boundary")
}
interface VertexSampler {
fun sample(area: Area, allAreas: L... | 0 | Kotlin | 0 | 2 | d00f1df9012cf92f8e76af0eb6eb3954653c69fb | 745 | hatschen | MIT License |
kool-core/src/commonMain/kotlin/de/fabmax/kool/scene/ui/UiShader.kt | fabmax | 81,503,047 | false | null | package de.fabmax.kool.scene.ui
import de.fabmax.kool.KoolContext
import de.fabmax.kool.pipeline.*
import de.fabmax.kool.pipeline.shadermodel.ShaderModel
import de.fabmax.kool.pipeline.shadermodel.StageInterfaceNode
import de.fabmax.kool.pipeline.shadermodel.fragmentStage
import de.fabmax.kool.pipeline.shadermodel.ver... | 3 | Kotlin | 4 | 62 | edef672ca0f491b5b612203be7a9e102d411993b | 2,389 | kool | Apache License 2.0 |
src/main/kotlin/xyz/chlamydomonos/hyphacraft/blocks/MycovastusHyphaHiddenBlock.kt | Chlamydomonos | 832,406,228 | false | {"Kotlin": 139172, "Java": 3138} | package xyz.chlamydomonos.hyphacraft.blocks
import net.minecraft.world.level.block.Block
import net.minecraft.world.level.block.Blocks
import net.minecraft.world.level.block.state.BlockState
import net.minecraft.world.level.block.state.StateDefinition
import xyz.chlamydomonos.hyphacraft.blocks.utils.ModProperties
cla... | 0 | Kotlin | 0 | 0 | ee09cd02a3a0d2e1dbf751849280e55ab9cd5dd1 | 544 | HyphaCraft | MIT License |
src/com/design/pattern/singleton/Singleton.kt | alphaguy4 | 441,482,895 | false | {"Kotlin": 6610, "Java": 1885} | package com.design.pattern.singleton
/*
* In kotlin we need to simply use `object` keyword to declare a singleton class
* For example: object Singleton
* The object classes can have functions, properties and the init method
* Constructor isn't allowed in object, so we can use `init{}` for some initialisation
* */
obj... | 0 | Kotlin | 0 | 1 | 5a31023c942d07c0e7158e42c092dc0f8cddd566 | 759 | Design-Patterns | Apache License 2.0 |
src/main/kotlin/com/booleworks/prl/model/rules/GroupRule.kt | booleworks | 721,827,131 | false | {"Kotlin": 995198, "ANTLR": 16772, "Shell": 261} | // SPDX-License-Identifier: MIT
// Copyright 2023 BooleWorks GmbH
package com.booleworks.prl.model.rules
import com.booleworks.prl.model.AnyProperty
import com.booleworks.prl.model.Module
import com.booleworks.prl.model.Visibility
import com.booleworks.prl.model.constraints.BooleanFeature
import com.booleworks.prl.mo... | 1 | Kotlin | 0 | 0 | 2f0fb469f74b133aba7006d30e37d5ba882a1191 | 7,731 | prl-compiler | MIT License |
game/src/main/kotlin/com/runt9/heroDynasty/character/item/armor/Mail.kt | runt9 | 130,910,358 | false | null | package com.runt9.heroDynasty.character.item.armor
class Mail : Armor() {
override val dodgeChanceRoll: Pair<Double, Double> = 0.95 to 0.99
override val physicalIncomingDamageRoll: Pair<Double, Double> = 0.92 to 0.97
override val insulatedIncomingDamageRoll: Pair<Double, Double> = 0.98 to 1.0
override... | 0 | Kotlin | 0 | 0 | 87be0aa7394a2980145768ee315797a3e1655ff0 | 786 | hero-dynasty | MIT License |
overlord-server/src/main/kotlin/tv/dotstart/overlord/server/entity/security/User.kt | dotStart | 260,457,926 | false | {"Kotlin": 211624} | /*
* Copyright (C) 2020 <NAME> <<EMAIL>>
* and other copyright owners as documented in the project's IP log.
*
* 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.... | 6 | Kotlin | 1 | 0 | c1050766a48c44a7464b0350eff2f70c906c1ba4 | 3,085 | overlord | Apache License 2.0 |
search/search_data/src/main/java/com/erkindilekci/search_data/mapper/NewsMappers.kt | erkindilekci | 666,722,648 | false | null | package com.erkindilekci.search_data.mapper
import com.erkindilekci.search_data.model.ArticleDto
import com.erkindilekci.search_domain.model.Article
fun ArticleDto.toArticle(): Article = Article(
author ?: "",
content ?: "",
description ?: "",
title ?: "",
urlToImage ?: ""
)
| 0 | Kotlin | 0 | 0 | 4774dffbfb9751390e53fa20baa56471e50dd68a | 298 | Multi-ModuleNewsApp | Apache License 2.0 |
app/src/main/java/com/cmt/view/fragment/OtpFragment.kt | ChanduSaketi | 789,653,107 | false | {"Kotlin": 268298} | package com.cmt.view.fragment
import android.annotation.SuppressLint
import android.content.Intent
import android.os.Bundle
import android.text.InputType
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.lifecycle.ViewModelPr... | 0 | Kotlin | 0 | 0 | facc36cb37801215c31585c8bc5655ea78489d15 | 3,943 | satyam_acadamy | MIT License |
lib/compiler/src/main/kotlin/dev/buijs/klutter/compiler/scanner/ControllerTypes.kt | buijs-dev | 436,644,099 | false | {"Kotlin": 415674, "Groovy": 202700, "Shell": 4390, "Ruby": 3246} | /* Copyright (c) 2021 - 2023 Buijs Software
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, ... | 3 | Kotlin | 5 | 220 | 93d360ce7e391c0b60d7a1c63f7ba949df09f44e | 2,057 | klutter | MIT License |
library/kdenticon/src/main/java/kdenticon/SvgRenderer.kt | huskcasaca | 464,732,039 | false | null | package kdenticon
class SvgRenderer(target: SvgWriter) : Renderer {
private var _pathsByColor = HashMap<String, SvgPath>()
private var _target = target
var size = target.size
private lateinit var _path: SvgPath
override fun setBackground(fillColor: String) {
val re = Regex("^(#......)(..)... | 0 | Kotlin | 4 | 5 | 2522ec7169a5fd295225caf936bae2edf09b157e | 1,459 | bitshares-oases-android | MIT License |
server/src/main/kotlin/org/kryptonmc/krypton/event/player/KryptonPlayerResourcePackStatusEvent.kt | KryptonMC | 255,582,002 | false | null | /*
* This file is part of the Krypton project, licensed under the Apache License v2.0
*
* Copyright (C) 2021-2023 KryptonMC and the contributors of the Krypton 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 ... | 27 | Kotlin | 11 | 233 | a9eff5463328f34072cdaf37aae3e77b14fcac93 | 1,085 | Krypton | Apache License 2.0 |
sdk/src/androidMain/kotlin/com/simplyfi/sdk/view/WebView.android.kt | simplyfi-com | 738,484,911 | false | {"Kotlin": 19414, "CSS": 134} | package com.simplyfi.sdk.view
import android.annotation.SuppressLint
import android.graphics.Bitmap
import android.view.ViewGroup
import android.webkit.WebView
import android.webkit.WebViewClient
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.viewinterop.Andro... | 0 | Kotlin | 0 | 0 | 15ca984e234cc11582d4f4f97d65eeea109d2791 | 1,554 | kotlin-shared | MIT License |
projects/android/koin-android-compat/src/main/java/org/koin/android/compat/GetViewModelCompat.kt | InsertKoinIO | 93,515,203 | false | null | /*
* Copyright 2017-2023 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... | 96 | null | 674 | 8,587 | 0dcf904e9da4948af292206704de34d885b78dce | 1,613 | koin | Apache License 2.0 |
app/src/test/java/com/openwallet/playerframe/bean/ScaleTypeTest.kt | hsbc | 742,467,592 | false | {"Kotlin": 502702, "Java": 40426} | package com.openwallet.playerframe.bean
import junit.framework.TestCase
import org.junit.Before
import org.junit.Test
import org.junit.runner.RunWith
import org.mockito.junit.MockitoJUnitRunner
@RunWith(MockitoJUnitRunner::class)
class ScaleTypeTest : TestCase() {
@Before
public override fun setUp() {
... | 0 | Kotlin | 0 | 1 | b72ac403ce1e38139ab42548967e08e6db347ddd | 505 | OpenWallet-aOS | Apache License 2.0 |
kProperties-core/src/commonMain/kotlin/de/kotlinBerlin/kProperties/property/KProperty.kt | KotlinBerlin | 276,181,033 | false | null | package de.kotlinBerlin.kProperties.property
import de.kotlinBerlin.kProperties.value.KObservableValue
import de.kotlinBerlin.kProperties.value.KWritableValue
/**
* In addition to an [KReadOnlyProperty] a [KProperty] also implements the [KWritableValue] interface and
* so its value can be modified.
*
* Additional... | 0 | Kotlin | 0 | 1 | e4f37018e15bb291c68b677d9b1d8b559d80f6d5 | 2,160 | kProperties | Apache License 2.0 |
frontend/silk-foundation/src/jsMain/kotlin/com/varabyte/kobweb/silk/defer/Deferred.kt | varabyte | 389,223,226 | false | {"Kotlin": 1688738} | package com.varabyte.kobweb.silk.defer
import androidx.compose.runtime.*
import kotlinx.browser.window
private class DeferredComposablesState {
private var timeoutHandle = -1
private val batchedCommands = mutableListOf<() -> Unit>()
private val entries = mutableStateListOf<DeferredComposablesState.Entry>(... | 109 | Kotlin | 70 | 1,556 | da9ea932d01d770cdd6cf2afce50edc9b615fde2 | 3,532 | kobweb | Apache License 2.0 |
app/src/main/java/com/bossed/waej/eventbus/EBSelectPart.kt | Ltow | 710,230,789 | false | {"Kotlin": 2304560, "Java": 395495, "HTML": 71364} | package com.bossed.waej.eventbus
import com.bossed.waej.javebean.PartListRow
data class EBSelectPart(val data: ArrayList<PartListRow>) | 0 | Kotlin | 0 | 0 | 8c2e9928f6c47484bec7a5beca32ed4b10200f9c | 136 | wananexiu | Mulan Permissive Software License, Version 2 |
app/src/main/java/com/bossed/waej/eventbus/EBSelectPart.kt | Ltow | 710,230,789 | false | {"Kotlin": 2304560, "Java": 395495, "HTML": 71364} | package com.bossed.waej.eventbus
import com.bossed.waej.javebean.PartListRow
data class EBSelectPart(val data: ArrayList<PartListRow>) | 0 | Kotlin | 0 | 0 | 8c2e9928f6c47484bec7a5beca32ed4b10200f9c | 136 | wananexiu | Mulan Permissive Software License, Version 2 |
shepherd-java-api/src/main/kotlin/ShepherdClient.kt | mvysny | 644,365,109 | false | null | package com.github.mvysny.shepherd.api
import java.io.Closeable
import java.time.Duration
import java.time.Instant
import java.time.ZoneId
import java.time.ZonedDateTime
public interface ShepherdClient : Closeable {
/**
* Lists all registered projects.
*/
public fun getAllProjectIDs(): List<ProjectI... | 2 | Kotlin | 0 | 0 | 511497749cbdba3133a57c1b4d75ee18c5b5b406 | 6,092 | shepherd-java-client | Apache License 2.0 |
app/src/main/java/com/zaenur/androidbasickotlindiceroller/Dice.kt | rochman25 | 471,257,517 | false | {"Kotlin": 2407} | package com.zaenur.androidbasickotlindiceroller
class Dice(private val numSides: Int) {
fun roll(): Int {
return (1..numSides).random()
}
} | 0 | Kotlin | 0 | 0 | 4db477a5998341db13acbeb099682988f1f93841 | 158 | android-basic-kotlin-dice-roller | The Unlicense |
design/src/main/java/dev/kadirkid/pagingtest/design/core/color/BackgroundColors.kt | kadirkid | 732,869,570 | false | {"Kotlin": 63479} | /**
* Copyright (c) 2023 <NAME>
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package dev.kadirkid.pagingtest.design.core.color
import androidx.compose.runtime.Immutable
import androidx.compose.runtime.ProvidableCompositionLocal
im... | 0 | Kotlin | 0 | 0 | 6f19cc1b117905e29203926b9e95c9e21828d413 | 3,479 | Pagingtest | MIT License |
src/main/kotlin/com/vk/modulite/actions/usages/yaml/FindSymbolUsagesInSelectedModuleAction.kt | VKCOM | 568,834,307 | false | {"Kotlin": 422298, "HTML": 610, "PHP": 478} | package com.vk.modulite.actions.usages.yaml
import com.intellij.openapi.actionSystem.AnActionEvent
import com.vk.modulite.actions.YamlPsiElementAction
import com.vk.modulite.actions.dialogs.SelectFindUsagesModuliteDialog
import com.vk.modulite.psi.extensions.files.containingModulite
import org.jetbrains.yaml.psi.YAMLQ... | 16 | Kotlin | 4 | 65 | 1710a34883000389383020524ac77e8bcae45bfc | 1,257 | modulite | MIT License |
src/main/kotlin/team/msg/hiv2/global/error/GlobalExceptionHandler.kt | GSM-MSG | 634,687,373 | false | null | package team.msg.hiv2.global.error
import org.springframework.http.HttpStatus
import org.springframework.http.ResponseEntity
import org.springframework.web.bind.annotation.ExceptionHandler
import org.springframework.web.bind.annotation.RestControllerAdvice
import team.msg.hiv2.global.error.exception.HiException
@Rest... | 0 | Kotlin | 0 | 9 | a5010400e231335fa0ccb7cd77b5562fd90aca2d | 640 | Hi-v2-BackEnd | MIT License |
intellij-plugin/educational-core/testSrc/com/jetbrains/edu/coursecreator/actions/create/CCCreateFrameworkTaskTest.kt | JetBrains | 43,696,115 | false | {"Kotlin": 5014435, "Java": 42267, "Python": 19649, "HTML": 14893, "CSS": 10327, "JavaScript": 302, "Shell": 71} | package com.jetbrains.edu.coursecreator.actions.create
import com.intellij.openapi.vfs.VfsUtil
import com.intellij.openapi.vfs.VirtualFile
import com.intellij.testFramework.LightPlatformTestCase
import com.jetbrains.edu.coursecreator.actions.studyItem.CCCreateTask
import com.jetbrains.edu.coursecreator.ui.withMockCrea... | 7 | Kotlin | 49 | 150 | 9cec6c97d896f4485e76cf9a2a95f8a8dd21c982 | 11,369 | educational-plugin | Apache License 2.0 |
src/commonTest/kotlin/serialize/search/TestExactOnSingleWordQuery.kt | pallavirawat | 205,637,107 | true | {"Kotlin": 941656, "Ruby": 4462} | package serialize.search
import com.algolia.search.model.search.ExactOnSingleWordQuery
import com.algolia.search.model.search.ExactOnSingleWordQuery.*
import kotlinx.serialization.json.JsonLiteral
import serialize.TestSerializer
import unknown
internal class TestExactOnSingleWordQuery : TestSerializer<ExactOnSingleW... | 0 | Kotlin | 0 | 0 | a7127793476d4453873266222ea71b1fce5c8c32 | 577 | algoliasearch-client-kotlin | MIT License |
db-objekts-core/src/test/kotlin/com/dbobjekts/metadata/joins/ManualJoinBuilderTest.kt | jaspersprengers | 576,889,038 | false | null | package com.dbobjekts.metadata.joins
import com.dbobjekts.testdb.acme.CatalogDefinition
import com.dbobjekts.testdb.acme.core.Address
import com.dbobjekts.testdb.acme.core.Country
import com.dbobjekts.testdb.acme.core.Employee
import com.dbobjekts.testdb.acme.core.EmployeeAddress
import com.dbobjekts.testdb.acme.libra... | 0 | Kotlin | 2 | 4 | 51b40a89c2ae648cb720073538ca7a3ee712b49e | 1,160 | db-objekts | Apache License 2.0 |
apps/mvpapp/src/main/java/dev/eduayuso/cleansamples/mvpapp/features/posts/OnPostClickListener.kt | eduayuso | 340,966,656 | false | null | package dev.eduayuso.cleansamples.mvpapp.features.posts
interface OnPostClickListener {
fun onPostClick(id: String)
} | 1 | Kotlin | 0 | 0 | d42fe931d229636596b7e969405e5c9d04e3a290 | 123 | clean_samples | Apache License 2.0 |
app/src/androidTest/java/ir/amirsobhan/sticknote/utils/RecyclerViewTestUtils.kt | a1383n | 342,316,747 | false | null | package ir.amirsobhan.sticknote.utils
import android.view.View
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import androidx.test.espresso.NoMatchingViewException
import androidx.test.espresso.ViewAssertion
import com.google.common.truth.Truth.assertThat
import ir.amirsobhan.sticknote... | 11 | Kotlin | 0 | 1 | f34e4f45e63cd5965fbd883502d15bb0e0e99daf | 1,387 | sticknote | MIT License |
server/src/main/kotlin/nl/ordina/robotics/server/transport/cli/Script.kt | Ordina-Group | 632,941,364 | false | {"Kotlin": 102174, "Svelte": 35570, "TypeScript": 14959, "JavaScript": 2253, "HTML": 1407, "Dockerfile": 264, "CSS": 114} | package nl.ordina.robotics.server.transport.cli
import kotlinx.serialization.Serializable
import nl.ordina.robotics.server.robot.RobotSettings
import nl.ordina.robotics.server.socket.Message
typealias InstructionExecutor = suspend (Instruction) -> InstructionResult
fun interface Script {
suspend fun run(execute:... | 0 | Kotlin | 0 | 0 | eab777ebd1b8b0a3810184ad1211d5e1f2b4e437 | 1,501 | robotics-chief | MIT License |
app/src/main/java/com/jamesnyakush/carhub/ui/auth/Register.kt | danny-o | 252,690,988 | true | {"Kotlin": 48808} | package com.jamesnyakush.carhub.ui.auth
import android.content.Intent
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.databinding.DataBindingUtil
import androidx.lifecycle.Observer
import androidx.lifecycle.ViewModelProviders
import com.jamesnyakush.carhub.R
import com.jamesnya... | 0 | null | 0 | 0 | 6e370ae7cbe3e88bfa028786300e5623f8d88bd6 | 1,991 | truck-hub | Apache License 2.0 |
core/src/main/java/com/summit/core/status/Status.kt | cesarwillymc | 326,488,032 | false | null | package com.summit.core.status
enum class Status {
SUCCESS,
LOADING,
ERROR
}
| 0 | Kotlin | 0 | 2 | 9583792cfc3832bdc5b76584ff90a741f4b87458 | 93 | AddFast | Apache License 2.0 |
src/test/kotlin/g0401_0500/s0401_binary_watch/SolutionTest.kt | javadev | 190,711,550 | false | {"Kotlin": 4909193, "TypeScript": 50446, "Python": 3646, "Shell": 994} | package g0401_0500.s0401_binary_watch
import org.hamcrest.CoreMatchers.equalTo
import org.hamcrest.MatcherAssert.assertThat
import org.junit.jupiter.api.Test
internal class SolutionTest {
@Test
fun readBinaryWatch() {
assertThat(
Solution().readBinaryWatch(1),
equalTo(
... | 0 | Kotlin | 20 | 43 | 62708bc4d70ca2bfb6942e4bbfb4c64641e598e8 | 684 | LeetCode-in-Kotlin | MIT License |
straight/src/commonMain/kotlin/me/localx/icons/straight/outline/Tshirt.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.straight.outline
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Mite... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 3,350 | icons | MIT License |
yandex-mapkit-kmp/src/androidMain/kotlin/ru/sulgik/mapkit/map/ClusterListener.android.kt | SuLG-ik | 813,953,018 | false | {"Kotlin": 321441} | package ru.sulgik.mapkit.map
import ru.sulgik.mapkit.geometry.Cluster
import ru.sulgik.mapkit.geometry.toCommon
import com.yandex.mapkit.map.ClusterListener as NativeClusterListener
public actual abstract class ClusterListener actual constructor() {
private val nativeListener = NativeClusterListener { onClusterA... | 0 | Kotlin | 1 | 17 | 2d292b701adb2c538f8cd3ddf614250f9d6a444d | 497 | yandex-mapkit-kmp | Apache License 2.0 |
src/test/kotlin/jamilservices/ComponentIdGeneratorTest.kt | jamilservices | 836,473,913 | false | {"Kotlin": 5947} | /*-
* #%L
* component-id-generator
* %%
* Copyright (C) 2024 Jamil Services
* %%
* 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 ... | 0 | Kotlin | 0 | 0 | 901c27f33c448990efb4b784d80cc073b6ba7e47 | 2,569 | component-id-generator | MIT License |
src/all/comicznetv2/src/eu/kanade/tachiyomi/extension/all/comicznetv2/ComiczNetV2.kt | komikku-app | 720,497,299 | false | {"Kotlin": 6775539, "JavaScript": 2160} | package eu.kanade.tachiyomi.extension.all.comicznetv2
import eu.kanade.tachiyomi.multisrc.madara.Madara
class ComiczNetV2 : Madara("Comicz.net v2", "https://v2.comiz.net", "all") {
override val useNewChapterEndpoint = false
}
| 22 | Kotlin | 8 | 97 | 7fc1d11ee314376fe0daa87755a7590a03bc11c0 | 232 | komikku-extensions | Apache License 2.0 |
MirrorTrips-main/app/src/main/java/com/ipca/budget/travelmobile/entities/Destiny.kt | ademar1k82 | 676,015,143 | false | {"Kotlin": 32495} | package com.ipca.budget.travelmobile.entities
import org.json.JSONObject
class Destiny {
var name: String? = null
var country: String? = null
var image: String? = null
var apiTime: String? = null
var description: String? = null
var tourismLink: String? = null
var youtubeLink: String? = nul... | 0 | Kotlin | 0 | 1 | 444215982a8fa0bb32e32e5722e4ad73cb4cd6e2 | 1,484 | mirrortrips | FSF All Permissive License |
MirrorTrips-main/app/src/main/java/com/ipca/budget/travelmobile/entities/Destiny.kt | ademar1k82 | 676,015,143 | false | {"Kotlin": 32495} | package com.ipca.budget.travelmobile.entities
import org.json.JSONObject
class Destiny {
var name: String? = null
var country: String? = null
var image: String? = null
var apiTime: String? = null
var description: String? = null
var tourismLink: String? = null
var youtubeLink: String? = nul... | 0 | Kotlin | 0 | 1 | 444215982a8fa0bb32e32e5722e4ad73cb4cd6e2 | 1,484 | mirrortrips | FSF All Permissive License |
app/src/main/java/com/andor/watchit/screens/movielist/view/MovieListItemViewMvc.kt | andor201995 | 233,206,385 | false | null | package com.andor.watchit.screens.movielist.view
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import com.andor.watchit.R
import com.andor.watchit.screens.common.helper.ImageLoader
import com.andor.watchit.screens.common.mvc.BaseObservableView... | 10 | Kotlin | 0 | 0 | 873829cd486d7756bd2a94b1bd1b06a89bfc94be | 1,634 | WatchIt | Apache License 2.0 |
ui/features/tasks/src/main/java/com/example/tasks/model/NoteAndTask.kt | City-Zouitel | 576,223,915 | false | null | package com.example.tasks.model
data class NoteAndTask(
val noteUid:String,
val todoId:Long
) | 25 | Kotlin | 6 | 43 | 113dab3fe752335fec2b394dc0097dc54ff4643d | 102 | JetNote | Apache License 2.0 |
app/src/main/java/com/example/project5/MainActivity.kt | howardjh | 701,034,816 | false | {"Kotlin": 10036} | package com.example.project5
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.renderscript.ScriptGroup.Input
import androidx.lifecycle.ViewModelProvider
import com.example.project5.databinding.ActivityMainBinding
class MainActivity : AppCompatActivity() {
private lateinit v... | 0 | Kotlin | 0 | 0 | 0bef6a9df3fd41ab3c83e92343d0d2469e0f23d1 | 1,765 | Project5Real | Apache License 2.0 |
shoppifront/android/app/src/main/kotlin/com/example/shoppifront/MainActivity.kt | VB10 | 251,075,703 | false | null | package com.example.shoppifront
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 12 | Dart | 12 | 63 | ba7a7c7f861d9408fb40e3c7c24c7865ed2caf47 | 128 | shoppii | Apache License 2.0 |
app/common/src/commonJvmMain/kotlin/com/denchic45/studiversity/ui/auth/WelcomeComponent.kt | denchic45 | 435,895,363 | false | null | package com.denchic45.studiversity.ui.auth
import com.arkivanov.decompose.ComponentContext
import com.denchic45.studiversity.PlatformMain
import com.denchic45.studiversity.data.domain.Cause
import com.denchic45.studiversity.data.domain.ClientError
import com.denchic45.studiversity.data.domain.Forbidden
import com.denc... | 0 | Kotlin | 0 | 5 | 02d19321d16604a052f6dd29aa54be29343991e6 | 3,302 | Studiversity | Apache License 2.0 |
amazon/kms/client/src/main/kotlin/org/http4k/connect/amazon/kms/action/GetPublicKey.kt | http4k | 295,641,058 | false | {"Kotlin": 1624429, "Handlebars": 10370, "CSS": 5434, "Shell": 3178, "JavaScript": 2076, "Python": 1834, "HTML": 675} | package org.http4k.connect.amazon.kms.action
import org.http4k.connect.Http4kConnectAction
import org.http4k.connect.amazon.core.model.KMSKeyId
import org.http4k.connect.amazon.kms.KMSAction
import org.http4k.connect.amazon.kms.model.CustomerMasterKeySpec
import org.http4k.connect.amazon.kms.model.EncryptionAlgorithm
... | 7 | Kotlin | 17 | 37 | 94e71e6bba87d9c79ac29f7ba23bdacd0fdf354c | 1,066 | http4k-connect | Apache License 2.0 |
app/src/main/java/com/leonbec/easychat/service/UserDataService.kt | wenfangdu | 115,662,878 | false | {"Kotlin": 26898} | package com.leonbec.easychat.service
import android.graphics.Color
import com.leonbec.easychat.controller.App
import java.util.*
/**
* Created by leonbec on 2017/12/30.
*/
object UserDataService {
var id = ""
var avatarColor = ""
var avatarName = ""
var email = ""
var name = ""
fun logout()... | 0 | Kotlin | 0 | 1 | 547eeab859af9f92b0b105cd16498b2d25a4bc2e | 1,127 | EasyChat | MIT License |
app/src/main/java/ch/admin/foitt/pilotwallet/platform/deeplink/domain/repository/DeepLinkIntentRepository.kt | e-id-admin | 775,912,525 | false | {"Kotlin": 1521284} | package ch.admin.foitt.pilotwallet.platform.deeplink.domain.repository
interface DeepLinkIntentRepository {
fun set(deepLink: String)
fun get(): String?
fun reset()
}
| 1 | Kotlin | 1 | 4 | 6572b418ec5abc5d94b18510ffa87a1e433a5c82 | 182 | eidch-pilot-android-wallet | MIT License |
lib/src/main/kotlin/com/lemonappdev/konsist/api/provider/KoIsWildcardProvider.kt | LemonAppDev | 621,181,534 | false | {"Kotlin": 5054558, "Python": 46133} | package com.lemonappdev.konsist.api.provider
/**
* An interface representing a Kotlin declaration that provides information about whether it is a wildcard.
*/
interface KoIsWildcardProvider : KoBaseProvider {
/**
* Determines whatever this declaration is a wildcard.
*/
val isWildcard: Boolean
}
| 6 | Kotlin | 27 | 1,141 | 696b67799655e2154447ab45f748e983d8bcc1b5 | 317 | konsist | Apache License 2.0 |
bitgouel-domain/src/main/kotlin/team/msg/domain/club/repository/custom/impl/CustomClubRepositoryImpl.kt | School-of-Company | 700,741,727 | false | {"Kotlin": 622843, "Shell": 764, "Dockerfile": 206} | package team.msg.domain.club.repository.custom.impl
import com.querydsl.core.types.dsl.BooleanExpression
import com.querydsl.jpa.impl.JPAQueryFactory
import team.msg.domain.club.model.QClub.club
import team.msg.domain.club.repository.custom.CustomClubRepository
import team.msg.domain.school.model.QSchool.school
class... | 0 | Kotlin | 0 | 17 | 49b3337e147d4e7325d5145a2bb86e2dfedcbce3 | 1,257 | Bitgouel-Server | MIT License |
src/main/kotlin/com/ffaero/openrocketassembler/view/ConfigurationTabLabelBase.kt | wildcat-rocketry | 313,389,669 | false | {"Kotlin": 162168} | package com.ffaero.openrocketassembler.view
import java.awt.Component
import javax.swing.JLabel
open class ConfigurationTabLabelBase(val view: Component) : JLabel() {
private val unsafeMouseListener = MouseHierarchyTrampoline()
private var _enableUnsafeUI = false
var enableUnsafeUI: Boolean
get() = _enableUnsa... | 5 | Kotlin | 0 | 0 | 4c12948ed3b2fd5656a88ceb0cb2fcaa72d738ef | 718 | openrocket-assembler | MIT License |
app/src/main/java/com/convidadoskotlin/view/viewholder/GuestViewHolder.kt | gabrielvieira1 | 770,099,780 | false | {"Kotlin": 32406} | package com.convidadoskotlin.view.viewholder
import android.app.AlertDialog
import androidx.recyclerview.widget.RecyclerView
import com.convidadoskotlin.R
import com.convidadoskotlin.databinding.RowGuestBinding
import com.convidadoskotlin.service.model.GuestModel
import com.convidadoskotlin.view.listener.GuestListener... | 0 | Kotlin | 0 | 0 | 5b0eb029d82e6022e3ab76edec48b505287f0db8 | 1,170 | ConvidadosKotlin | MIT License |
app/src/main/java/com/unichamba1/MainActivity2.kt | bryanmiranda138 | 854,299,220 | false | {"Kotlin": 149451} | package com.unichamba1
import android.content.Intent
import android.content.SharedPreferences
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.unichamba1.Fragmentos.FragmentCuenta
import com.unichamba1.Fragmentos.FragmentInicio
import com.unichamba1.Fragmentos.FragmentMisOfertas
impo... | 0 | Kotlin | 0 | 0 | 2a56db1ea30d1087f047ed2d9f82c7f58e8e3790 | 4,903 | LaAppV2 | Apache License 2.0 |
src/main/kotlin/csense/idea/base/bll/kotlin/KtClass.kt | csense-oss | 226,373,994 | false | {"Kotlin": 150126} | @file:Suppress("unused")
package csense.idea.base.bll.kotlin
import com.intellij.psi.PsiClass
import com.intellij.psi.search.searches.ClassInheritorsSearch
import org.jetbrains.kotlin.asJava.toLightClass
import org.jetbrains.kotlin.idea.core.isOverridable
import org.jetbrains.kotlin.psi.*
import org.jetbrains.kotlin.... | 0 | Kotlin | 0 | 0 | 1543bcadb124ca29c5f09e6762384648e19fa6e0 | 723 | idea-kotlin-shared-base | MIT License |
app/src/main/java/com/permissionx/app/MainActivity.kt | long948 | 401,197,763 | false | null | package com.permissionx.app
import android.Manifest
import android.content.Intent
import android.net.Uri
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.Toast
import com.permissionx.hxldev.PermissionX
import kotlinx.android.synthetic.main.activity_main.*
class MainActiv... | 0 | Kotlin | 0 | 0 | 12d61e3c7da5f401caaac31f0a9cff9f72092e63 | 1,180 | PermissionX | Apache License 2.0 |
ok-marketplace-be-repository-cassandra/src/main/kotlin/ru/otus/otuskotlin/marketplace/backend/repository/cassandra/common/dto/UnitTypeCassandraDto.kt | otuskotlin | 323,966,359 | false | null | package ru.otus.otuskotlin.marketplace.backend.repository.cassandra.common.dto
import com.datastax.oss.driver.api.mapper.annotations.CqlName
import com.datastax.oss.driver.api.mapper.annotations.Entity
import ru.otus.otuskotlin.marketplace.common.backend.models.MpUnitTypeIdModel
import ru.otus.otuskotlin.marketplace.c... | 0 | Kotlin | 0 | 1 | 5f05fe658504dfa5d7300e3f0f523d250ff6ce31 | 2,262 | 202012-otuskotlin-marketplace | MIT License |
ethers-crypto/src/main/kotlin/io/ethers/crypto/bip32/HDPath.kt | Kr1ptal | 712,963,462 | false | {"Kotlin": 1017930, "Solidity": 28233} | package io.ethers.crypto.bip32
/**
* Implementation of [BIP-0032](https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki) derivation paths.
* */
class HDPath(private val indices: Array<Int>) {
/**
* Returns depth of current derivation path.
* */
val depth: Int
get() = indices.size
... | 10 | Kotlin | 1 | 9 | 85f3824fde9caaeeee91986ca177d005f7a225bb | 2,741 | ethers-kt | Apache License 2.0 |
libs/firebase/src/main/kotlin/br/com/mob1st/libs/firebase/firestore/Collections.kt | mob1st | 526,655,668 | false | {"Kotlin": 589975, "Shell": 1558} | package br.com.mob1st.libs.firebase.firestore
import com.google.firebase.firestore.FirebaseFirestore
fun FirebaseFirestore.groups() = collection("groups")
fun FirebaseFirestore.users() = collection("users")
fun FirebaseFirestore.members(groupId: String) = groups().document(groupId).collection("members")
fun Fireba... | 11 | Kotlin | 0 | 3 | ea57a781dd1c7e336213ed9ca76146afbb445e9d | 480 | bet-app-android | Apache License 2.0 |
docs/src/main/kotlin/me/hana/docs/endpoint/EndPointGroup.kt | utsmannn | 459,662,831 | false | {"Kotlin": 777} | package me.hana.docs.endpoint
data class EndPointGroup(
val name: String = "",
val endPoint: EndPoint = EndPoint(),
val child: List<EndPoint> = emptyList(),
val priority: Int = 100
) | 0 | Kotlin | 0 | 5 | ee901a6a2943fa0b6b1d52b2984742c13d419507 | 199 | hana | Apache License 2.0 |
app/src/main/java/com/digitaldream/linkskool/fragments/StaffELearningCourseWorkFragment.kt | Toochidennis | 706,639,845 | false | {"Gradle": 3, "Java Properties": 5, "Shell": 1, "Text": 2, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "JSON": 1, "Java": 225, "XML": 1015, "Kotlin": 246, "JavaScript": 1, "HTML": 2, "INI": 2} | package com.digitaldream.linkskool.fragments
import android.content.Context.MODE_PRIVATE
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.recyclerview.widget.ItemTouchHelper
import androidx.recyclerv... | 1 | Java | 0 | 1 | 551e25524b77efaba17cb9bd89a07b8ccc01b13e | 7,875 | linkskool | MIT License |
sample/app/src/main/java/com/google/android/jacquard/sample/home/HomeTilesListAdapter.kt | gildardoperez | 624,963,235 | true | {"Text": 2, "Markdown": 16, "Gradle": 8, "Ignore List": 5, "Java Properties": 2, "XML": 138, "Shell": 2, "Proguard": 2, "Java": 251, "JSON": 4, "YAML": 1, "SVG": 2, "SCSS": 1, "JavaScript": 1, "INI": 1, "Kotlin": 100} | /*
* Copyright 2021 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 0 | null | 0 | 0 | f88ec2dea9813203a4ed5d70646915c4d5651d6e | 7,749 | JacquardSDKAndroid | Apache License 2.0 |
services/analytics/impl/src/main/kotlin/io/element/android/services/analytics/impl/DefaultScreenTracker.kt | vector-im | 546,522,002 | false | {"Gradle Kotlin DSL": 179, "Markdown": 28, "CODEOWNERS": 1, "Java Properties": 2, "Shell": 19, "Text": 34, "Ignore List": 20, "Batchfile": 1, "Git Attributes": 1, "EditorConfig": 1, "TOML": 2, "Ruby": 1, "Kotlin": 2498, "XML": 821, "HTML": 1, "JavaScript": 5, "CSS": 1, "INI": 9, "Java": 1, "YAML": 45, "JSON": 3, "Progu... | /*
* Copyright (c) 2024 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... | 1 | null | 1 | 1 | c7672ab25022f58e3a9fec567b7d455f6085f7fc | 2,257 | element-x-android | Apache License 2.0 |
src/main/kotlin/io/github/nikpivkin/lifetime/event/PluginReloadEvent.kt | nikpivkin | 618,118,736 | false | {"Java": 24475, "Kotlin": 21796} | package io.github.nikpivkin.lifetime.event
import org.bukkit.event.Event
import org.bukkit.event.HandlerList
class PluginReloadEvent : Event() {
override fun getHandlers() = HANDLERS
companion object {
private val HANDLERS = HandlerList()
@JvmStatic
fun getHandlerList() = HANDLERS
... | 1 | null | 1 | 1 | 14568b818dc90e318c9816353a52855e8fab5d14 | 327 | lifetime-min-plg | MIT License |
core/kotlin-stub/source/jetbrains/mps/kotlin/stubs/metadata/metadataReader.kt | JetBrains | 2,209,077 | false | {"Text": 29, "XML": 11142, "Ignore List": 8, "Markdown": 22, "Git Attributes": 1, "Java": 29329, "JetBrains MPS": 4297, "C++": 789, "Java Properties": 29, "INI": 12, "Kotlin": 69, "SVG": 756, "Ant Build System": 15, "Shell": 8, "Batchfile": 8, "NSIS": 1, "Diff": 10, "Groovy": 2, "HTML": 78, "JSON": 2, "CSS": 3, "Python... | package jetbrains.mps.kotlin.stubs.metadata
import jetbrains.mps.kotlin.stubs.platform.isKlibMetadataFileName
import jetbrains.mps.kotlin.stubs.platform.isKotlinJsFileName
import jetbrains.mps.kotlin.stubs.platform.isKotlinMetadataFileName
import kotlinx.metadata.internal.accept
import kotlinx.metadata.internal.common... | 1 | null | 1 | 1 | 5bb20b8a104c08206490e0f3fad70304fa0e0151 | 2,899 | MPS | Apache License 2.0 |
app/src/main/java/com/jpb/android/appget/sysinfoToolsActivity.kt | jpbandroid | 615,646,483 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "JSON": 1, "XML": 55, "Kotlin": 20, "Java": 6, "AIDL": 3} | package com.jpb.android.appget
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
class sysinfoToolsActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_sysinfo_tools)
}
} | 0 | Java | 0 | 1 | 947024cbbf123a863a2ccfe8006eb91f83e98107 | 320 | AppGet | Apache License 2.0 |
app/src/main/java/cz/inventi/inventiskeleton/presentation/post/list/PostListComponent.kt | InventiDevelopment | 89,702,956 | false | null | package cz.inventi.inventiskeleton.presentation.post.list
import cz.inventi.inventiskeleton.di.ScreenModule
import cz.inventi.inventiskeleton.di.ScreenScope
import dagger.Subcomponent
import dagger.android.AndroidInjector
/**
* Created by tomas.valenta on 5/11/2017.
*/
@ScreenScope @Subcomponent(modules = arrayOf(... | 5 | Kotlin | 3 | 4 | faee881565eeffe5a25b0501909692acba83ed52 | 756 | AndroidSkeleton | Apache License 2.0 |
core/data/src/main/java/com/halilozcan/animearch/core/data/di/IoDispatcher.kt | halilozcan | 572,966,235 | false | null | package com.halilozcan.animearch.core.data.di
import javax.inject.Qualifier
@Retention(AnnotationRetention.RUNTIME)
@Qualifier
annotation class IoDispatcher | 1 | Kotlin | 8 | 97 | 5903644dbabf505702d488d8ec7bb19b78174467 | 158 | AnimeArch | Apache License 2.0 |
app/src/main/java/com/example/DiarioApplication/data/Note/Note.kt | AdrianZa1 | 860,056,200 | false | {"Kotlin": 135595} | package com.example.DiarioApplication.data.Note
import androidx.room.Entity
import androidx.room.PrimaryKey
@Entity(tableName = "notes")
data class Note(
@PrimaryKey(autoGenerate = true) val id: Int = 0,
val title: String,
val content: String,
val timestamp: Long,
val isPinned: Boolean = false,
... | 0 | Kotlin | 0 | 0 | b4879190d9581510d2f1fd7dfe11217f4a1f67cc | 356 | diario_personal | Apache License 2.0 |
Week3/W3S2_11321051/src/main/kotlin/Player3.kt | marloxxx | 563,639,368 | false | {"Kotlin": 171819, "PHP": 91686, "C++": 39436, "CMake": 34938, "Blade": 18425, "Dart": 7911, "C": 2850, "Swift": 2316, "HTML": 1830, "Shell": 1069, "JavaScript": 285, "Objective-C": 76} | class Player3(_name: String, var _healthPoints: Int, val _isBlessed: Boolean, private val _isImmortal: Boolean) {
var name = _name
get() = field.capitalize()
private set(value) {
field = value.trim()
}
constructor(name: String) : this(
name,
_healthPoints = 1... | 0 | Kotlin | 0 | 0 | 6c32297cef729b18561591555d5bdbe630562bd0 | 1,762 | PAM | MIT License |
build-logic/convention/src/main/kotlin/io/github/john/tuesday/nutrition/ConfigurePublishing.kt | John-Tuesday | 700,786,727 | false | {"Kotlin": 50100} | package io.github.john.tuesday.nutrition
const val MavenGroupId = "io.github.john-tuesday"
const val MavenVersion = "0.2.0-alpha02"
data class RepositoryInfo(
val name: String,
val description: String,
val repoUrl: String,
val homeUrl: String = repoUrl,
val documentationBaseUrl: String = "",
)
va... | 0 | Kotlin | 0 | 0 | edae76d81270b8de1949556035d32773622b4b4a | 960 | nutrition | MIT License |
app/src/main/java/com/liorhass/android/chargecap/UserAlerter.kt | liorhass | 293,218,053 | false | null | package com.liorhass.android.chargecap
import android.app.Notification
import android.app.PendingIntent
import android.content.Context
import android.content.Intent
import android.os.Build
import android.os.PowerManager
import androidx.core.app.NotificationCompat
import androidx.core.app.NotificationManagerCompat
impo... | 0 | Kotlin | 0 | 0 | 0d87a28c4a0a0f8cad25e19a63c51a48defb5993 | 3,449 | ChargeCap | MIT License |
src/main/kotlin/de/gmuth/log/Slf4jAdapter.kt | gmuth | 247,626,449 | false | null | package de.gmuth.log
/**
* Copyright (c) 2022 <NAME>
*/
import de.gmuth.log.Logging.LogLevel
import de.gmuth.log.Logging.LogLevel.*
// slf4j, http://www.slf4j.org
class Slf4jAdapter(name: String) : Logger(name, supportLevelConfiguration = false) {
private val slf4jLogger = org.slf4j.LoggerFactory.getLogger(na... | 0 | Kotlin | 8 | 49 | c18ebf4ffdb3fe69d5517717305f1e1d9baa5c10 | 1,510 | ipp-client-kotlin | MIT License |
app/src/main/java/com/app/whakaara/data/preferences/PreferencesDatabase.kt | ahudson20 | 531,856,934 | false | {"Kotlin": 170057, "Shell": 761} | package com.app.whakaara.data.preferences
import androidx.room.Database
import androidx.room.RoomDatabase
@Database(entities = [Preferences::class], version = 1, exportSchema = false)
abstract class PreferencesDatabase : RoomDatabase() {
abstract fun preferencesDao(): PreferencesDao
}
| 1 | Kotlin | 1 | 3 | a5c93145e580b065342dd9833bb2b496bd6a9e00 | 292 | whakaara | MIT License |
app/src/main/java/com/example/cstv/entities/Live.kt | GusttavoOliveira | 474,155,926 | false | null | package com.example.cstv.entities
data class Live(
val opens_at: Any,
val supported: Boolean,
val url: Any
) | 0 | Kotlin | 0 | 2 | 7a9a270bb99d50c4b3c58e77b2ee348479eaeb14 | 121 | CSTV | MIT License |
src/main/kotlin/playground/common/exception/MoxRestClientException.kt | dtkmn | 596,118,171 | false | {"Kotlin": 334372, "Dockerfile": 763} | package playground.common.exception
import org.springframework.http.HttpStatus
class MoxRestClientException(
override val statusCode: HttpStatus,
override val errorCode: String,
val debugMessage: String,
val validationErrors: Map<String, Any>? = null
) : DragonException(debugMessage, errorCode, status... | 0 | Kotlin | 0 | 0 | 06b6e996d3d319a7ad390dab9b3f33132f5f0378 | 332 | kotlin-playground | MIT License |
modules/wasm-binary/src/commonMain/kotlin/ParserException.kt | wasmium | 761,480,110 | false | {"Kotlin": 584714, "JavaScript": 203} | package org.wasmium.wasm.binary
public class ParserException(
override val message: String,
) : WasmBinaryException()
| 0 | Kotlin | 0 | 3 | 4c474db29b638e2ad09f19ad9d90dd648fc7c776 | 123 | wasmium-wasm-binary | Apache License 2.0 |
app/src/main/java/com/rpfcoding/borutocharacterviewer/di/DatabaseModule.kt | riley0521 | 461,738,945 | false | null | package com.rpfcoding.borutocharacterviewer.di
import android.content.Context
import androidx.room.Room
import com.rpfcoding.borutocharacterviewer.data.local.BorutoDatabase
import com.rpfcoding.borutocharacterviewer.data.local.dao.HeroEntityDao
import com.rpfcoding.borutocharacterviewer.data.local.dao.HeroRemoteKeyDao... | 0 | Kotlin | 0 | 0 | 86baf29435338ac9294224174a2fcc52d37f7945 | 1,784 | BorutoCharacterViewer | Apache License 2.0 |
src/main/kotlin/me/fzzyhmstrs/amethyst_imbuement/entity/ManaPotionEntity.kt | fzzyhmstrs | 461,338,617 | false | {"Kotlin": 1732617, "Java": 107324} | package me.fzzyhmstrs.amethyst_imbuement.entity
import me.fzzyhmstrs.amethyst_imbuement.registry.RegisterEntity
import me.fzzyhmstrs.amethyst_imbuement.registry.RegisterItem
import net.minecraft.entity.EntityType
import net.minecraft.entity.ExperienceOrbEntity
import net.minecraft.entity.LivingEntity
import net.minecr... | 9 | Kotlin | 8 | 4 | e5c456771de86c614858fa24587bf03a22590f3f | 1,688 | ai | MIT License |
app/src/main/java/me/qcuncle/nowinnews/domain/usecases/userentry/SaveNewsShowNumber.kt | QCuncle | 768,718,477 | false | {"Kotlin": 313407} | package me.qcuncle.nowinnews.domain.usecases.userentry
import me.qcuncle.nowinnews.domain.manager.SubscriptionManager
import javax.inject.Inject
class SaveNewsShowNumber @Inject constructor(
private val subscriptionManager: SubscriptionManager
) {
suspend operator fun invoke(num: Int) {
subscriptionMa... | 0 | Kotlin | 0 | 7 | 2105632328876c3c23349470c05a0b7cde226931 | 364 | nowinnews | Apache License 2.0 |
app/src/main/java/me/qcuncle/nowinnews/domain/usecases/userentry/SaveNewsShowNumber.kt | QCuncle | 768,718,477 | false | {"Kotlin": 313407} | package me.qcuncle.nowinnews.domain.usecases.userentry
import me.qcuncle.nowinnews.domain.manager.SubscriptionManager
import javax.inject.Inject
class SaveNewsShowNumber @Inject constructor(
private val subscriptionManager: SubscriptionManager
) {
suspend operator fun invoke(num: Int) {
subscriptionMa... | 0 | Kotlin | 0 | 7 | 2105632328876c3c23349470c05a0b7cde226931 | 364 | nowinnews | Apache License 2.0 |
kgl-glfw/src/nativeMain/kotlin/com/kgl/glfw/Window.kt | Dominaezzz | 164,507,082 | false | null | /**
* Copyright [2019] [<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... | 13 | Kotlin | 11 | 96 | 41155a8200602535697b872232e41cfe6f5eb20e | 18,276 | kgl | Apache License 2.0 |
app/src/main/java/com/example/classvista_admin/Main/Teacher/EnrollTeacherInSubjects.kt | abdulqaderpatel | 732,734,663 | false | {"Kotlin": 146089} | package com.example.classvista_admin.Main.Teacher
import android.os.Looper
import android.util.Log
import android.widget.Toast
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.lazy.La... | 0 | Kotlin | 0 | 0 | 4d4ef065e82ea55b6d42b63f954d50998a7d511c | 4,674 | ClassVista_admin | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.