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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
plugins/kotlin/code-insight/postfix-templates/test/org/jetbrains/kotlin/idea/k2/codeInsight/postfix/test/AbstractKotlinPostfixTemplateTest.kt | mdaniel | 196,571,905 | false | {"Text": 9369, "INI": 518, "YAML": 419, "Ant Build System": 11, "Batchfile": 34, "Dockerfile": 9, "Shell": 633, "Markdown": 741, "Ignore List": 143, "Git Revision List": 1, "Git Attributes": 11, "EditorConfig": 260, "XML": 7809, "SVG": 4412, "Kotlin": 58074, "Java": 83551, "HTML": 3783, "Java Properties": 215, "Gradle"... | // Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package org.jetbrains.kotlin.idea.k2.codeInsight.postfix.test
import org.jetbrains.kotlin.idea.base.plugin.KotlinPluginMode
import org.jetbrains.kotlin.idea.codeInsight.postfix.AbstractKotlinPostfix... | 1 | null | 1 | 1 | da982277a1db650154baf710b44f43a4b167413c | 511 | intellij-community | Apache License 2.0 |
app/src/main/java/com/example/bancodigital/data/repository/transaction/TransactionDataSourceImpl.kt | DEV-GUS-AGO | 836,022,574 | false | {"Kotlin": 141785} | package com.example.bancodigital.data.repository.transaction
import com.example.bancodigital.data.model.Transaction
import com.example.bancodigital.util.FirebaseHelper
import com.google.firebase.database.*
import javax.inject.Inject
import kotlin.coroutines.suspendCoroutine
class TransactionDataSourceImpl @Inject con... | 0 | Kotlin | 0 | 0 | cd8ee534b2152035a81579a019d5f567916775ee | 2,268 | Banco-Digital | The Unlicense |
app/src/main/java/com/canwar/rawgvideogames/viewmodel/ViewModelFactory.kt | azisanw19 | 615,401,824 | false | null | package com.canwar.rawgvideogames.viewmodel
import android.content.Context
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import com.canwar.rawgvideogames.di.Injection
class ViewModelFactory(private val context: Context) : ViewModelProvider.Factory {
override fun <T : ViewModel> ... | 0 | Kotlin | 0 | 0 | 8000116eef443de053172361c5c24bbf64af76d3 | 1,023 | RAWG-Video-Games | MIT License |
libs/console/src/commonMain/kotlin/com/attafitamim/seer/libs/console/PlatformLogger.kt | tamimattafi | 281,893,883 | false | {"Kotlin": 9301, "Ruby": 3216} | package com.attafitamim.seer.libs.console
import com.attafitamim.seer.libs.core.model.LogLevel
expect fun log(level: LogLevel, tag: String, message: String)
| 1 | Kotlin | 0 | 1 | b60d8b9b6a78fb1a4fd2bb8dc6b2a8913ab178fe | 159 | seer | Apache License 2.0 |
app/src/main/java/com/tejpratapsingh/recyclercalendaractivity/MainActivity.kt | tejpratap46 | 232,281,186 | false | null | package com.tejpratapsingh.recyclercalendaractivity
import android.content.Intent
import android.os.Bundle
import android.widget.LinearLayout
import androidx.appcompat.app.AppCompatActivity
import com.tejpratapsingh.recyclercalendaractivity.horizontal.HorizontalCalendarActivity
import com.tejpratapsingh.recyclercalend... | 0 | Kotlin | 10 | 98 | e35596e321244fa92bd4b1d61aff07c044d3fa17 | 2,334 | RecyclerCalendarAndroid | MIT License |
app/src/main/java/com/example/finalproject/RestaurantTopFragment.kt | jadamcda | 733,744,991 | false | {"Kotlin": 55324} | package com.example.finalproject
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.lifecycle.ViewModelProvider
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widg... | 0 | Kotlin | 0 | 0 | d2e4dedbc6ffd697b05435be21a9513281869566 | 1,281 | FinalProject | Apache License 2.0 |
lib/src/test/kotlin/stack/LockFreeStackTests.kt | therain7 | 771,223,970 | false | {"Kotlin": 8333} | package stack
import org.jetbrains.kotlinx.lincheck.annotations.Operation
import org.jetbrains.kotlinx.lincheck.check
import org.jetbrains.kotlinx.lincheck.strategy.managed.modelchecking.ModelCheckingOptions
import org.junit.jupiter.api.Test
class SequentialIntStack : Stack<Int> {
private val stack = ArrayDeque<I... | 0 | Kotlin | 0 | 0 | 319625671023508d92b3ae83b5e881d63b6300bd | 909 | lockfree-stack | MIT License |
app/src/main/java/org/xtimms/ridebus/ui/routes/details/stop/base/BaseStopItem.kt | ridebus-by | 379,109,231 | false | null | package org.xtimms.ridebus.ui.routes.details.stop.base
import eu.davidea.flexibleadapter.items.AbstractHeaderItem
import eu.davidea.flexibleadapter.items.AbstractSectionableItem
import org.xtimms.ridebus.data.database.entity.Stop
abstract class BaseStopItem<T : BaseStopHolder, H : AbstractHeaderItem<*>>(
val stop... | 0 | null | 0 | 7 | 086da0d23cdbb238c35622053568361802ebd2bc | 708 | ridebus | Apache License 2.0 |
Oxygen/bukkit/src/main/kotlin/cc/fyre/stark/engine/command/data/parameter/impl/offlineplayer/OfflinePlayerWrapperParameterType.kt | AndyReckt | 364,514,997 | false | {"Java": 12055418, "Kotlin": 766337, "Shell": 5518} | /*
* Copyright (c) 2020.
* Created by YoloSanta
* Created On 10/22/20, 1:23 AM
*/
package cc.fyre.stark.engine.command.data.parameter.impl.offlineplayer
import cc.fyre.stark.Stark
import cc.fyre.stark.engine.command.data.parameter.ParameterType
import org.bukkit.Bukkit
import org.bukkit.command.CommandSender
impo... | 1 | null | 1 | 1 | 200501c7eb4aaf5709b4adceb053fee6707173fa | 992 | Old-Code | Apache License 2.0 |
woodroid/src/main/java/me/gilo/woodroid/data/api/ProductAttributeTermAPI.kt | syedtehrimabbas | 526,100,544 | false | null | package me.gilo.woodroid.data.api
import me.gilo.woodroid.models.AttributeTerm
import retrofit2.Call
import retrofit2.http.*
interface ProductAttributeTermAPI {
@Headers("Content-Type: application/json")
@POST("products/attributes/{id}/terms")
fun create(@Path("id") attribute_id: Int, @Body body: Attrib... | 0 | Kotlin | 0 | 0 | d3ffe8ce0e11abfde577a4bf4082e60c65d78309 | 1,436 | dida-procop-android | MIT License |
app/src/main/java/com/concordium/wallet/ui/bakerdelegation/baker/ChangeBakerStatusBottomSheet.kt | Concordium | 750,205,274 | false | {"Kotlin": 1615856, "Java": 247867, "HTML": 31416, "CSS": 256} | package com.concordium.wallet.ui.bakerdelegation.baker
import android.os.Bundle
import android.view.View
import android.widget.Button
import androidx.annotation.IdRes
import androidx.core.view.forEach
import androidx.fragment.app.setFragmentResult
import com.concordium.wallet.R
import com.concordium.wallet.databinding... | 8 | Kotlin | 0 | 1 | 0539d0282f76ba815046c0f75a2ef32f5aad2bc3 | 2,300 | cryptox-android | Apache License 2.0 |
app/src/main/java/com/example/findmyrepresentatives/MainActivity.kt | OrenScheer | 281,565,226 | false | null | package com.example.findmyrepresentatives
import android.Manifest
import android.content.Intent
import android.location.Location
import android.os.Bundle
import android.os.Looper
import android.util.Log
import android.view.View
import android.view.inputmethod.EditorInfo
import android.widget.TextView
import androidx.a... | 0 | Kotlin | 0 | 0 | 8aa1a42809d47fd1310233b08f216a510cd18b51 | 6,115 | Find-My-Representatives | MIT License |
presentation/src/main/java/com/bikcodeh/mubi/presentation/screens/home/HomeScreen.kt | Bikcodeh | 553,763,395 | false | {"Kotlin": 253338} | package com.bikcodeh.mubi.presentation.screens.home
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding
import androidx.compose.material3.ExperimentalMaterial3Api
import androidx.compose.material3.MaterialTheme
import and... | 0 | Kotlin | 0 | 1 | 25929e402744a1070357ff1af9b05eb7d8bd345c | 4,127 | Mubi | MIT License |
ontrack-kdsl-acceptance/src/test/java/net/nemerosa/ontrack/kdsl/acceptance/tests/jenkins/ACCJenkinsAutoVersioningPostProcessing.kt | nemerosa | 19,351,480 | false | {"Kotlin": 9640276, "JavaScript": 3232252, "Java": 1029918, "HTML": 507415, "Groovy": 372843, "CSS": 137546, "Less": 35335, "Dockerfile": 6298, "Shell": 5086} | package net.nemerosa.ontrack.kdsl.acceptance.tests.jenkins
import net.nemerosa.ontrack.json.asJson
import net.nemerosa.ontrack.kdsl.acceptance.tests.av.AbstractACCAutoVersioningTestSupport
import net.nemerosa.ontrack.kdsl.acceptance.tests.scm.withMockScmRepository
import net.nemerosa.ontrack.kdsl.acceptance.tests.supp... | 49 | Kotlin | 25 | 96 | 53c2b0df210aec3a2f57ca778d65393a7a95e719 | 4,809 | ontrack | MIT License |
internalServer/src/main/java/ru/rpuxa/internalserver/stream/TwoWayMessageStream.kt | rpuxa | 162,908,097 | false | null | package ru.rpuxa.internalserver.stream
import java.io.*
import java.util.*
import java.util.concurrent.ConcurrentHashMap
import kotlin.concurrent.thread
typealias MessageListener = (Int, Any?) -> Any?
class TwoWayMessageStream(input: InputStream, output: OutputStream) {
private var oos: ObjectOutputStream? = nu... | 0 | Kotlin | 2 | 8 | 26074194e3df70e673f4595bdbc7090f2ba07593 | 4,427 | SuperWirelessAdb | Apache License 2.0 |
adil-android/adil/app/src/main/java/com/path_studio/adil/ui/categoryResult/CategoryResultActivity.kt | nadhifikbarw | 372,546,196 | false | {"Jupyter Notebook": 1105192, "Kotlin": 114743, "Python": 27172, "JavaScript": 14999} | package com.path_studio.adil.ui.categoryResult
import android.annotation.SuppressLint
import android.content.Intent
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.lifecycle.ViewModelProvider
import androidx.recyclerview.widget.LinearLayoutManager
import com.path_studio.adil.da... | 0 | Jupyter Notebook | 4 | 1 | 4976e6cc97f75fa641af001b05b72f97da2293b0 | 3,957 | adil-monorepo | MIT License |
app/src/main/java/com/example/root/mvpdemo_kotlin/entity/Book.kt | jiwenjie | 154,255,046 | false | {"Gradle": 3, "Java Properties": 1, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "INI": 1, "Proguard": 1, "Kotlin": 11, "XML": 15, "Java": 1} | package com.example.root.mvpdemo_kotlin.entity
/**
* author:Jiwenjie
* email:Jiwenjie97@gmail.com
* time:2018/10/20
* desc:
* version:1.0
*/
data class Book(var count: Int, var start: Int, var total: Int,
var books: List<BooksBean>) {
data class BooksBean(var rating: RatingBean, va... | 0 | Kotlin | 0 | 1 | d937c133fc31338c949b96ba091262b8150c9331 | 1,292 | MVPDemo_Kotlin | Apache License 2.0 |
lib/src/test/kotlin/com/grappenmaker/mappings/Common.kt | 770grappenmaker | 705,037,045 | false | {"Kotlin": 187067} | package com.grappenmaker.mappings
private val testsClassLoader = (object {}).javaClass.classLoader
fun String.getResource() = testsClassLoader.getResourceAsStream(this)?.use { it.readBytes() }?.decodeToString()
?: error("Could not find resource $this") | 0 | Kotlin | 2 | 8 | 053b931959490da59eebf9705db9f290ac5a3012 | 257 | mappings-util | MIT License |
kotlin-mui-icons/src/main/generated/mui/icons/material/RequestPageRounded.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/RequestPageRounded")
@file:JsNonModule
package mui.icons.material
@JsName("default")
external val RequestPageRounded: SvgIconComponent
| 10 | Kotlin | 145 | 983 | 7ef1028ba3e0982dc93edcdfa6ee1edb334ddf35 | 218 | kotlin-wrappers | Apache License 2.0 |
app/src/main/java/com/mindvalley/mindvalleyapp/common/Constants.kt | ishtian-revee | 828,630,879 | false | {"Kotlin": 105571} | package com.mindvalley.mindvalleyapp.common
object Constants {
const val BASE_URL = "https://pastebin.com/raw/"
const val DATABASE_NAME = "mindvalley.db"
const val MAX_ITEM_PER_ROW = 6
const val MAX_CATEGORY_COLUMN_COUNT = 2
} | 0 | Kotlin | 0 | 0 | 554b3791541c11f394523e269be7cebe978cf058 | 243 | mindvalley-coding-challenge | MIT License |
telegram-bot-bumblebee-core/src/main/kotlin/com/github/bumblebee/security/PrivilegedCommandBeanPostProcessor.kt | denzelby | 46,003,534 | false | null | package com.github.bumblebee.security
import com.github.bumblebee.bot.consumer.UpdateHandler
import com.github.bumblebee.security.exception.UnprivilegedExecutionException
import com.github.bumblebee.security.roles.service.UserRolesService
import com.github.bumblebee.util.logger
import com.github.telegram.domain.Update... | 1 | Kotlin | 6 | 2 | 5a89784f5d042839bf6ce4cf3562d2cf14bbae2a | 2,590 | telegram-bot-bumblebee | MIT License |
app/src/main/java/com/goda/marvel/domain/characterList/CharacterListInteractor.kt | gehadfatah | 228,142,732 | false | null | package com.goda.marvel.domain.characterList
import com.goda.marvel.common.mapNetworkErrors
import com.goda.marvel.model.Character
import com.goda.marvel.model.CharacterRepository
import com.goda.marvel.model.charactersRepositoryDep
import io.reactivex.Single
const val LIMIT_Character_LIST = 10
const val API_KEY = "<... | 0 | Kotlin | 0 | 0 | b4a9593a5ec3dd100c815657c52a34b044ca3358 | 735 | MarvelGodaApp | Apache License 2.0 |
plugins/kotlin/idea/tests/testData/inspectionsLocal/convertTwoComparisonsToRangeCheck/gtDouble.kt | ingokegel | 72,937,917 | true | null | // PROBLEM: none
// WITH_STDLIB
fun foo(bar: Int) {
bar > 0.0 && 10.0 >= bar<caret>
} | 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 89 | intellij-community | Apache License 2.0 |
projects/workforce-allocations-to-delius/src/integrationTest/kotlin/uk/gov/justice/digital/hmpps/ProbationRecordIntegrationTest.kt | ministryofjustice | 500,855,647 | false | {"Kotlin": 3111491, "HTML": 50736, "D2": 27334, "Ruby": 22747, "Shell": 12351, "SCSS": 5590, "JavaScript": 2998, "HCL": 2712, "Dockerfile": 2103} | package uk.gov.justice.digital.hmpps
import org.hamcrest.MatcherAssert.assertThat
import org.hamcrest.Matchers.equalTo
import org.hamcrest.Matchers.hasItems
import org.junit.jupiter.api.Assertions.assertNotNull
import org.junit.jupiter.api.Test
import org.springframework.beans.factory.annotation.Autowired
import org.s... | 3 | Kotlin | 0 | 2 | d0c94f043b3b9d21aa3015e5f76b2462c473e76b | 2,767 | hmpps-probation-integration-services | MIT License |
app/src/main/java/eput/android/ui/widgets/ArrayPreference.kt | ni9l | 495,534,282 | false | null | package eput.android.ui.widgets
import android.content.Context
import android.util.AttributeSet
import android.util.TypedValue
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.AdapterView
import android.widget.ArrayAdapter
import android.widget.LinearLayou... | 0 | Kotlin | 0 | 0 | 8b47fc09309dccbde9dd1ca968223b6c671f31c2 | 7,024 | eput-android | MIT License |
app/src/main/kotlin/dev/aaa1115910/bv/viewmodel/search/SearchInputViewModel.kt | aaa1115910 | 571,702,700 | false | null | package dev.aaa1115910.bv.viewmodel.search
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateListOf
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import dev.aaa11159... | 21 | Kotlin | 95 | 812 | f4bdfb9f59f265c2d9e8c9ad99a58b1050885582 | 3,700 | bv | MIT License |
app/src/main/java/app/coinverse/feed/models/FeedViewEffects.kt | kumarsubramanir | 243,884,635 | true | {"Kotlin": 268176} | package app.coinverse.feed.models
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import app.coinverse.feed.models.FeedViewEffectType.*
import app.coinverse.utils.FeedType
import app.coinverse.utils.UserActionType
/** View state effects for content feeds */
class _FeedViewEffects(
... | 0 | null | 0 | 0 | 870b22ed48676bc01201f975419988ca58760b91 | 3,152 | Coinverse | Apache License 2.0 |
src/main/kotlin/com/lucaguiss/haikyuuapi/facade/PersonFacade.kt | lucasguiss | 378,271,807 | false | null | package com.lucaguiss.haikyuuapi.facade
import com.lucaguiss.haikyuuapi.api.dto.CreatePersonDTO
import com.lucaguiss.haikyuuapi.model.PersonModel
import com.lucaguiss.haikyuuapi.service.PersonService
import com.lucaguiss.haikyuuapi.service.SchoolService
import org.springframework.stereotype.Service
@Service
class Per... | 0 | Kotlin | 0 | 1 | 39c52932fc6758e8456537eec42de36029f97994 | 703 | haikyuu-api | MIT License |
app/src/main/kotlin/com/example/octodroid/views/components/ViewPagerAdapter.kt | rejasupotaro | 29,092,522 | false | null | package com.example.octodroid.views.components
import android.support.v4.app.Fragment
import android.support.v4.app.FragmentManager
import android.support.v4.app.FragmentStatePagerAdapter
import java.util.ArrayList
class ViewPagerAdapter(fragmentManager: FragmentManager) : FragmentStatePagerAdapter(fragmentManager) ... | 6 | null | 14 | 92 | e4af7cb485bd2335f55633fabcb822e8dee6a52d | 810 | octodroid | MIT License |
expandinglayout/src/main/java/io/github/grakhell/expandinglayout/ExpandState.kt | grakhell | 421,805,586 | false | {"Kotlin": 37208} | package io.github.grakhell.expandinglayout
/*
Copyright 2022 <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 la... | 0 | Kotlin | 0 | 0 | a9591e1f2de9638f79e13139f5f0bcba87079198 | 885 | ExpandingLayout | Apache License 2.0 |
src/main/kotlin/ar/edu/utn/frba/tacs/tp/api/herocardsgame/mapper/CharacterMapper.kt | tacs-2021-1c-tp-hero-cards | 358,787,857 | false | null | package ar.edu.utn.frba.tacs.tp.api.herocardsgame.mapper
import ar.edu.utn.frba.tacs.tp.api.herocardsgame.integration.client.api.*
import ar.edu.utn.frba.tacs.tp.api.herocardsgame.models.game.character.*
import org.springframework.stereotype.Component
@Component
class CharacterMapper {
fun map(characterApi: Char... | 20 | null | 1 | 1 | 5ddb882bfdef41c04eaca7a68afacbb2999457bb | 1,898 | hero-cards-game | MIT License |
examples/listOfCounters/src/main/kotlin/com/brianegan/bansa/listOfCounters/BansaAdapter.kt | brianegan | 47,591,925 | false | null | package com.brianegan.bansa.listOfCounters
import trikita.anvil.RenderableAdapter
class BansaAdapter<M, VM>(var models: List<M>, val mapModelToViewModel: (M) -> VM, val r: RenderableAdapter.Item<VM>) : RenderableAdapter() {
override fun getCount(): Int {
return models.size
}
override fun getItem(... | 4 | Kotlin | 29 | 442 | ffb606ad2aefa58cac08e9daee26b6767b03186b | 697 | bansa | MIT License |
quizview/src/main/java/com/chaturaloka/quizview/QuizView.kt | subbramanil | 186,014,079 | false | null | package com.chaturaloka.quizview
import android.content.Context
import android.util.AttributeSet
import android.util.Log
import android.view.Gravity
import android.view.LayoutInflater
import android.widget.LinearLayout
import android.widget.RadioButton
import android.widget.RadioGroup
import androidx.appcompat.widget.... | 0 | Kotlin | 0 | 0 | 27c3731b1eb3534add451ae8e21edb075f6446f2 | 4,803 | pop-quiz-view | Apache License 2.0 |
app/src/main/java/com/currency/currencyconvertermm/CurrencyApp.kt | oianmol | 508,191,089 | false | null | package com.currency.currencyconvertermm
import android.app.Application
import androidx.hilt.work.HiltWorkerFactory
import androidx.work.*
import com.currency.currencyconvertermm.features.currencyconverter.defferable.PeriodicFetchLatestRates
import com.currency.domain.CurrencyConverter
import dagger.hilt.android.HiltA... | 1 | Kotlin | 1 | 4 | 8a152bfe52ea57fb4954f7a27e7d4d3513a42d42 | 1,488 | CurrencyConverter | Apache License 2.0 |
app/src/main/java/com/example/lumatutorium2/MainActivity.kt | ChristianFigge | 874,697,341 | false | {"Kotlin": 19433} | package com.example.lumatutorium2
import android.annotation.SuppressLint
import android.content.Context
import android.content.pm.PackageManager
import android.hardware.Sensor
import android.hardware.SensorEvent
import android.hardware.SensorEventListener
import android.hardware.SensorManager
import android.location.L... | 0 | Kotlin | 0 | 0 | d4bcbc0e019366d97f11e7cd49546fb55b0d7ead | 15,401 | LumaTutorium2 | The Unlicense |
src/main/kotlin/com/github/xetra11/ck3workbench/app/view/CurrentMainView.kt | cybernetics | 324,037,223 | true | {"Kotlin": 91034} | package com.github.xetra11.ck3workbench.module.character.view
import androidx.compose.runtime.Composable
import com.github.xetra11.ck3workbench.app.ViewManager
import com.github.xetra11.ck3workbench.app.view.EntryView
@Composable
fun CurrentMainView() {
when (ViewManager.currentMainView()) {
ViewManager.V... | 0 | null | 0 | 0 | dbc23838e09f435878ac5ca5a8f6249a34d3ed45 | 557 | CK3-Workbench | MIT License |
src/main/kotlin/com/github/xetra11/ck3workbench/app/view/CurrentMainView.kt | cybernetics | 324,037,223 | true | {"Kotlin": 91034} | package com.github.xetra11.ck3workbench.module.character.view
import androidx.compose.runtime.Composable
import com.github.xetra11.ck3workbench.app.ViewManager
import com.github.xetra11.ck3workbench.app.view.EntryView
@Composable
fun CurrentMainView() {
when (ViewManager.currentMainView()) {
ViewManager.V... | 0 | null | 0 | 0 | dbc23838e09f435878ac5ca5a8f6249a34d3ed45 | 557 | CK3-Workbench | MIT License |
app/src/main/java/com/samset/workmanager/MainActivity.kt | SamsetDev | 153,939,847 | false | null | package com.samset.workmanager
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android.view.View
import androidx.work.*
import java.util.concurrent.TimeUnit
import androidx.work.PeriodicWorkRequest
import kotlinx.android.synthetic.main.activity_main.*
class Ma... | 0 | Kotlin | 2 | 1 | 06d8120bcd0fe1005ba684a132cdf6c180227eec | 2,125 | WorkManager-jetpack | Apache License 2.0 |
server/src/main/kotlin/de/westermann/robots/server/service/ThreadedService.kt | pixix4 | 130,015,411 | false | null | package de.westermann.robots.server.service
import de.westermann.robots.server.util.ServiceAlreadyStartedException
import de.westermann.robots.datamodel.util.toDashCase
import mu.KLogger
import kotlin.concurrent.thread
import kotlin.jvm.Volatile
/**
* @author lars
*/
abstract class ThreadedService(
private ... | 0 | Kotlin | 0 | 0 | 383475939c2ba1bf95b458edf762e123b10e8509 | 1,138 | Robots | Apache License 2.0 |
src/main/kotlin/com/cultureshock/madeleine/rest/controller/SignInController.kt | DDD-Community | 401,593,410 | false | null | package com.cultureshock.madeleine.rest.controller
import com.cultureshock.madeleine.rest.RestSupport
import com.cultureshock.madeleine.rest.dto.request.SignInRequest
import com.cultureshock.madeleine.rest.dto.request.SignOutRequest
import com.cultureshock.madeleine.service.user.KakaoAuthService
import io.swagger.anno... | 2 | Kotlin | 1 | 4 | fc07b03adafd42f7c9c11c8e135c197f24182df8 | 2,832 | CultureShock-Server | MIT License |
app/src/main/java/com/car2go/endpoint2mock/MainActivity.kt | sharenowTech | 93,642,073 | false | null | package com.car2go.endpoint2mock
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import kotlinx.android.synthetic.main.activity_main.*
import retrofit.RestAdapter
import rx.Subscription
import rx.android.schedulers.AndroidSchedulers
import rx.schedulers.Schedulers
class MainActivity : AppComp... | 1 | null | 1 | 16 | ac1dd5196a20372462ab2f2e0b3aa9f199d3c3c2 | 1,691 | Endpoint2mock | The Unlicense |
src/main/kotlin/org/ocpp/client/event/server/request/AuthorizeRequestEvent.kt | NLCProject | 494,622,679 | false | {"Kotlin": 45823} | package org.ocpp.client.event.server.request
import eu.chargetime.ocpp.model.core.AuthorizeRequest
import org.springframework.context.ApplicationEvent
import java.util.*
/**
* Event is fired by an incoming authorize request.
*
* @param sessionIndex .
* @param request .
* @param source Class where the event has b... | 0 | Kotlin | 0 | 0 | 26e0d5608de1daa723ef0f03ffc20e083e497d39 | 462 | OcppClient | ISC License |
src/commonTest/kotlin/ru/spbstu/wheels/ExpandoTest.kt | vorpal-research | 185,828,983 | false | {"Kotlin": 245655} | package ru.spbstu.wheels
import kotlin.test.Test
import kotlin.test.assertEquals
import kotlin.test.assertFailsWith
data class Foo(val i: Int): Expando() {
override fun toString(): String {
return "{i=$i, $expansion}"
}
}
val Foo.s: String by Expando.lazy { "" }
var Foo.ss: String by Expando
var Foo.... | 0 | Kotlin | 2 | 1 | 389f9c290d496aae3d4f5eaa2a0d4f4863f281c2 | 862 | kotlin-wheels | MIT License |
app/src/main/java/com/cyberfanta/talentviewer/presenters/JobActivityPresenter.kt | cyberfanta | 389,012,773 | false | null | package com.cyberfanta.talentviewer.presenters
import com.cyberfanta.talentviewer.models.Jobs
interface JobActivityPresenter {
//View
fun showJob(job: Jobs)
fun errorLoadingJob()
//Interactor
fun getJob(id: String): Jobs?
} | 0 | Kotlin | 0 | 0 | fe27f89b97cd3f18306957286eba01a8e9ab8d18 | 246 | TalentViewer | Apache License 2.0 |
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/bulk/Documentcloud.kt | Tlaster | 560,394,734 | false | {"Kotlin": 25133302} | package moe.tlaster.icons.vuesax.vuesaxicons.bulk
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx.co... | 0 | Kotlin | 0 | 2 | b8a8231e6637c2008f675ae76a3423b82ee53950 | 3,531 | VuesaxIcons | MIT License |
app/src/main/java/com/ganhuo/app/adpter/brvah/more/NavigationTwoAdapter.kt | robertchar | 250,484,237 | false | null | package com.ganhuo.app.adpter.brvah.more
import android.annotation.SuppressLint
import android.view.ViewGroup
import android.widget.TextView
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.ganhuo.app.R
import com.ganhuo.app.bean.HotTagBean... | 0 | Kotlin | 0 | 1 | 3ce1dedf35d203a5f878fc4b2353d4e112cac8f2 | 1,200 | KotlinGanhuo | Apache License 2.0 |
app/src/main/java/com/example/project_auction/util/fcm/MyJobService.kt | 4538cgy | 376,812,255 | false | null | package com.example.project_auction.util.fcm
import com.firebase.jobdispatcher.JobParameters
import com.firebase.jobdispatcher.JobService
class MyJobService : JobService() {
override fun onStartJob(jobParameters: JobParameters): Boolean {
//작업이 실행되기 시작했음을 나타 내기 위해 호출됩니다.
// TODO(developer): add lo... | 1 | Kotlin | 1 | 0 | ca8352892909aa1516098fbd859705a11630dcdc | 646 | ProjectAuction | Apache License 2.0 |
common/src/main/kotlin/org/jetbrains/research/deepbugs/common/ide/quickfixes/FlipFunctionArgumentsQuickFix.kt | JetBrains-Research | 146,897,119 | false | {"Kotlin": 87528, "JavaScript": 1529, "HTML": 806, "Python": 199} | package org.jetbrains.research.deepbugs.common.ide.quickfixes
import com.intellij.codeInsight.intention.PriorityAction
import com.intellij.codeInspection.LocalQuickFix
import com.intellij.codeInspection.ProblemDescriptor
import com.intellij.openapi.project.Project
import com.intellij.psi.PsiElement
import org.jetbrain... | 7 | Kotlin | 1 | 6 | 8e9b2c0b070baef9bdcbf9159c0fec0ef357b7a7 | 1,205 | DeepBugsPlugin | MIT License |
app/src/main/java/com/example/rostermanagementandroidsystem/database/AppDatabase.kt | Lelekhoa1812 | 837,902,175 | false | {"Kotlin": 62774, "JavaScript": 13112} | package com.example.rostermanagementandroidsystem.database
import AccountDao
import AccountEntity
import AppDatabaseCallback
import RoleDao
import RoleEntity
import ShiftDao
import ShiftEntity
import android.content.Context
import androidx.room.Database
import androidx.room.Room
import androidx.room.RoomDatabase
@Dat... | 0 | Kotlin | 0 | 0 | 721c4ad4f35c2f50a428660f6632801d839e62fd | 1,186 | RosterManagement | MIT License |
src/main/kotlin/com/youdozi/demo/config/bcrypt/BcryptConfig.kt | youdozi | 237,245,042 | false | null | package com.youdozi.demo.config.bcrypt
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder
import org.springframework.security.crypto.password.PasswordEncoder
/**
* PasswordEncoder 설정
*... | 0 | Kotlin | 0 | 0 | d9a1a9f93264bd017c118bb4f29ae8945421d30d | 461 | spring-boot-rest-kotlin | MIT License |
src/main/kotlin/com/zqlite/android/diycode/device/view/notification/NotificationContract.kt | ZhangQinglian | 100,032,799 | false | null | /*
* Copyright 2017 zhangqinglian
*
* 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... | 0 | Kotlin | 0 | 4 | 1341b52acdf005e5ecdba94c8ded6d31b05f41be | 1,183 | dcapp | Apache License 2.0 |
compiler/testData/debug/stepping/lambdaStepInline.kt | prasenjitghose36 | 258,198,392 | true | {"Kotlin": 46593414, "Java": 7626725, "JavaScript": 200386, "HTML": 77284, "Lex": 23805, "TypeScript": 21756, "Groovy": 11196, "CSS": 9270, "Swift": 8589, "Shell": 7220, "Batchfile": 5727, "Ruby": 1300, "Objective-C": 404, "Scala": 80} |
// FILE: test.kt
inline fun foo(stringMaker: () -> String): String {
return stringMaker()
}
fun box(): String {
foo { "OK "}
foo {
"OK"
// Comment
}
return "OK"
}
// LINENUMBERS
// test.kt:8
// test.kt:4
// test.kt:8
// test.kt:9
// test.kt:4
// test.kt:10
// test.kt:13 | 1 | null | 1 | 2 | acced52384c00df5616231fa5ff7e78834871e64 | 309 | kotlin | Apache License 2.0 |
src/sorting/ShellSorter.kt | chechulnikov | 108,676,828 | false | null | package sorting
class ShellSorter : Sorter {
override fun <T : Comparable<T>> ascendingSort(list: MutableList<T>): List<T> {
return sort(list, { element, selectedElement -> element.compareTo(selectedElement) > 0 })
}
override fun <T : Comparable<T>> descendingSort(list: MutableList<T>): List<T> {
... | 0 | Kotlin | 0 | 0 | 5746dbad19d54f3aa800236a6698031396b5554d | 1,108 | kotlin-workshop | MIT License |
app/src/main/java/com/example/proyectodam/RegistroOperacionActivity.kt | mabmab159 | 495,255,881 | false | null | package com.example.proyectodam
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
class RegistroOperacionActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_registro_operaci... | 0 | Kotlin | 0 | 0 | 7d79f34e4b3782a7967d753f60e263e00a2fb609 | 331 | ProyectoDAM | MIT License |
guide/example/example-readme-09.kt | vmishenev | 429,008,741 | true | {"Kotlin": 61064} | // This file was automatically generated from README.md by Knit tool. Do not edit.
package example.exampleReadme09
import arrow.*
import arrow.core.*
import arrow.fx.coroutines.*
import kotlinx.coroutines.*
import io.kotest.matchers.collections.*
import io.kotest.assertions.*
import io.kotest.matchers.*
import io.kote... | 0 | null | 0 | 0 | 8c58a0d677a5fd1fac5a9c8ef6628d9ca30155c2 | 1,813 | Continuation | Apache License 2.0 |
4436/solution.kt | daily-boj | 253,815,781 | false | null | fun main(args: Array<out String>) {
System.`in`.bufferedReader().lineSequence().joinToString("\n") {
val n = it.toLong()
val notAppeared = "0123456789".toCharArray().toMutableSet()
var curr = n
var k = 0
while (notAppeared.isNotEmpty()) {
k += 1
for (c... | 0 | Rust | 0 | 12 | 74294a4628e96a64def885fdcdd9c1444224802c | 466 | RanolP | The Unlicense |
src/main/java/de/vkay/api/tmdb/IncludeLanguages.kt | vkay94 | 352,665,975 | false | null | /*
* Copyright 2014 <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... | 1 | Kotlin | 1 | 7 | f0aad85f253ab2f8ffa1dd1515ddd98d814480c2 | 960 | TMDb-Kotlin | Apache License 2.0 |
idea/testData/codeInsight/outOfBlock/FunNoBody.kt | JakeWharton | 99,388,807 | false | null | // TRUE
fun some() = <caret>12 | 0 | null | 28 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 30 | kotlin | Apache License 2.0 |
plugins/textmate/src/org/jetbrains/plugins/textmate/editor/TextMateEnterHandler.kt | JetBrains | 2,489,216 | false | null | //package org.jetbrains.plugins.textmate.editor
//
//import com.intellij.codeInsight.editorActions.enter.EnterHandlerDelegate
//import com.intellij.codeInsight.editorActions.enter.EnterHandlerDelegateAdapter
//import com.intellij.openapi.actionSystem.DataContext
//import com.intellij.openapi.editor.Editor
//import com.... | 284 | null | 5162 | 16,707 | def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0 | 2,914 | intellij-community | Apache License 2.0 |
app/src/main/java/com/example/reply/data/MailboxType.kt | S-H-U-R-A | 751,377,074 | false | {"Kotlin": 63041} | /*
* Copyright (C) 2023 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 0 | Kotlin | 0 | 0 | e0e84a8db6fa1c6e0b52a5b7e00febf6911f06ef | 906 | Codelab-Adaptive-Desing | Apache License 2.0 |
app/src/main/java/com/rkbapps/neetflix/SplashActivity.kt | Rajkumarbhakta | 603,033,367 | false | null | package com.rkbapps.neetflix
import android.content.Intent
import android.os.Bundle
import android.os.Handler
import android.os.Looper
import androidx.appcompat.app.AppCompatActivity
import com.rkbapps.neetflix.activityes.MainActivity
class SplashActivity : AppCompatActivity() {
override fun onCreate(savedInstanc... | 0 | Kotlin | 0 | 0 | 9238d6a950cee413962191f6576180fe15c38666 | 633 | Neetflix | Apache License 2.0 |
css-gg/src/commonMain/kotlin/compose/icons/cssggicons/FormatColor.kt | DevSrSouza | 311,134,756 | false | {"Kotlin": 36719092} | package compose.icons.cssggicons
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx.c... | 17 | Kotlin | 25 | 571 | a660e5f3033e3222e3553f5a6e888b7054aed8cd | 2,949 | compose-icons | MIT License |
lib/src/commonMain/kotlin/com/prateekgrover/lib/common.kt | kerry | 215,108,844 | false | {"Ruby": 3466, "Kotlin": 1956, "Swift": 333} | package com.prateekgrover.lib
class Greeting() {
fun start() {
KNDispatchQueue.sharedInstance.performWorkAsync()
}
}
expect class KNDispatchQueue() {
companion object Singleton {
val sharedInstance: KNDispatchQueue
}
fun performWorkAsync()
}
| 2 | Ruby | 0 | 0 | a024e53f4710fe408df42f0d0ddaf1f4fa093b26 | 281 | CoreKN | Apache License 2.0 |
src/test/kotlin/io/toolisticon/lib/avro/declaration/SchemaDeclarationTest.kt | toolisticon | 493,962,736 | false | {"Kotlin": 48684} | package io.toolisticon.lib.avro.declaration
import io.toolisticon.lib.avro.AvroKotlinLib
import io.toolisticon.lib.avro.TestFixtures
import io.toolisticon.lib.avro.TestFixtures.simpleStringValueSchema
import io.toolisticon.lib.avro.ext.SchemaExt.writeToDirectory
import io.toolisticon.lib.avro.fqn.AvroDeclarationMismat... | 1 | Kotlin | 0 | 2 | 49276914d5e89b8875703f6caef7c19f98162366 | 3,187 | avro-kotlin | Apache License 2.0 |
app/src/main/java/com/dreamsoftware/tvnexa/ui/components/ChannelLogo.kt | sergio11 | 328,373,511 | false | {"Kotlin": 586066} | package com.dreamsoftware.tvnexa.ui.components
import androidx.compose.foundation.background
import androidx.compose.foundation.border
import androidx.compose.foundation.layout.size
import androidx.compose.foundation.shape.CircleShape
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
impor... | 0 | Kotlin | 0 | 1 | 30fb84765276b1afcadc27b0ce8ffc15155decc4 | 1,290 | tvnexa_androidtv | Apache License 2.0 |
android/app/src/main/kotlin/com/example/studio/MainActivity.kt | TerminalStudio | 285,940,840 | false | null | package com.example.studio
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 10 | 53 | c9d36e04e8a96bf21f941eb1336f60a632903d5b | 123 | studio | Apache License 2.0 |
kotlin/src/main/kotlin/com/laioffer/Kotlin基础/pkg18_解构/HiKotlin10.kt | yuanuscfighton | 632,030,844 | false | {"Kotlin": 1005102, "Java": 675082} | package Kotlin基础.pkg18_解构
fun main() {
// 只读类型是协变的,因为它只用于从集合中获取数据,而不会修改集合中的数据
val s = listOf("a", "b")
val s2: List<Any> = s
}
| 0 | Kotlin | 0 | 0 | b03a297acdf094f56c5d43f99eb29afa35146109 | 135 | SiberianHusky | Apache License 2.0 |
app/src/main/java/com/jarvis/weatherj/data/local/entity/CurrentConditionEntity.kt | johanforce | 569,695,306 | false | {"Kotlin": 212462, "Java": 10587} | package com.jarvis.weatherj.data.local.entity
import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey
@Entity(tableName = "current")
data class CurrentConditionEntity(
@PrimaryKey(autoGenerate = true)
@ColumnInfo(name = "id")
val id: Int = 0,
@ColumnInfo(name = "fee... | 0 | Kotlin | 0 | 1 | e4aea6a097f3085305574c79985385919b343c90 | 1,811 | aether | MIT License |
app/src/main/java/com/saranomy/nolauncher/AppItem.kt | sakkke | 577,204,035 | false | null | package com.saranomy.nolauncher
import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.foundation.Image
import androidx.compose.foundation.combinedClickable
import androidx.compose.foundation.interaction.MutableInteractionSource
import androidx.compose.foundation.layout.Row
import android... | 0 | Kotlin | 0 | 2 | dc8fc9977bd3144c57ceb7469a86874bb9dd1d3e | 1,967 | AmoledLauncher | Apache License 2.0 |
datalogger/src/main/java/org/obd/graphs/bl/query/DragRacingQueryStrategy.kt | tzebrowski | 326,375,780 | false | {"Kotlin": 594209} | /**
* Copyright 2019-2023, <NAME>
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Versi... | 1 | Kotlin | 0 | 4 | 45d1dcdf40c0f83ad5309c7bae055ba25ae5bcfa | 1,114 | ObdGraphs | Apache License 2.0 |
src/main/kotlin/ru/krindra/vknorthtypes/groups/GroupsLongPollSettings.kt | kravandir | 745,597,090 | false | {"Kotlin": 633233} | package ru.krindra.vknorthtypes.groups
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class GroupsLongPollSettings (
@SerialName("events") val events: GroupsLongPollEvents,
@SerialName("is_enabled") val isEnabled: Boolean,
@SerialName("api_version") va... | 0 | Kotlin | 0 | 0 | 508d2d1d59c4606a99af60b924c6509cfec6ef6c | 352 | VkNorthTypes | MIT License |
Mobile Development/app/src/main/java/com/bangkit/skinskan/data/source/remote/response/ResultResponse.kt | emnopal | 373,780,058 | true | {"Jupyter Notebook": 13020201, "Kotlin": 46548, "Python": 2961, "Dockerfile": 805} | package com.bangkit.skinskan.data.source.remote.response
import com.google.gson.annotations.SerializedName
data class ResultResponse(
@field:SerializedName("prediction")
val predictionResult: Int? = null,
) | 0 | Jupyter Notebook | 0 | 1 | b0642cb64d916a01101e35844fbf244bafdea4a2 | 217 | bangkit-final-project | MIT License |
mui-kotlin/src/jsMain/kotlin/mui/material/OutlinedInput.mui.kt | karakum-team | 387,062,541 | false | {"Kotlin": 3060426, "TypeScript": 2249, "HTML": 724, "CSS": 86} | // Automatically generated - do not modify!
@file:Suppress(
"NESTED_CLASS_IN_EXTERNAL_INTERFACE",
)
package mui.material
import seskar.js.JsValue
import seskar.js.JsVirtual
import web.cssom.ClassName
@JsVirtual
sealed external interface MuiOutlinedInput {
companion object {
@JsValue("MuiOutlinedInpu... | 0 | Kotlin | 5 | 35 | 83952a79ffff62f5409461a2928102d0ff95d86b | 1,417 | mui-kotlin | Apache License 2.0 |
src/main/kotlin/moe/irony/simplepc/parser/Combinator.kt | kokoro-aya | 398,263,839 | false | null | package moe.irony.simplepc.parser
import moe.irony.simplepc.instances.Either
import moe.irony.simplepc.instances.Option
import moe.irony.simplepc.instances.Result
import moe.irony.simplepc.parser.Parser.Companion.`*≻`
import moe.irony.simplepc.parser.Parser.Companion.`≺$≻`
import moe.irony.simplepc.parser.Parser.Compa... | 0 | Kotlin | 0 | 0 | 3fc718f6c525b79ecd07b5f86264e5a18d5ee20d | 7,207 | NekoBinator | MIT License |
lib_common/src/main/java/com/frame/mvp/common/base/BaseApplication.kt | jisx | 166,322,898 | false | {"Gradle": 8, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 6, "Batchfile": 1, "Markdown": 1, "Proguard": 4, "Java": 6, "XML": 40, "Kotlin": 45, "INI": 1} | package com.frame.mvp.common.base
import android.app.Application
import android.content.Context
import androidx.annotation.Keep
import androidx.multidex.MultiDex
@Keep
open class BaseApplication : Application() {
override fun attachBaseContext(base: Context) {
super.attachBaseContext(base)
MultiD... | 1 | null | 1 | 1 | 8e159bf09602d30717e373a7d44d3b9d65574706 | 346 | frame-mvp | Apache License 2.0 |
plugin_example/src/main/java/id/psw/floatstat/plugin_example/providers/PluginDataProvider.kt | EmiyaSyahriel | 500,192,208 | false | {"Kotlin": 85933} | package id.psw.floatstat.plugin_example.providers
import id.psw.floatstat.plugin_example.SamplePluginService
import id.psw.floatstat.plugins.PluginData
open class PluginDataProvider(val ctx: SamplePluginService) {
open fun getData() : PluginData = SamplePluginService.blankPluginData
} | 0 | Kotlin | 0 | 1 | acd72e9ed19683f96eed5159ddc8df6dc1d57a74 | 291 | floatstat | Apache License 2.0 |
subprojects/core/src/main/kotlin/com/handtruth/mc/mcsman/server/service/ServicesFunctionality.kt | handtruth | 417,843,728 | false | null | package com.handtruth.mc.mcsman.server.service
import com.handtruth.mc.mcsman.AlreadyExistsMCSManException
import com.handtruth.mc.mcsman.NotExistsMCSManException
import com.handtruth.mc.mcsman.event.ManageServiceEvent
import com.handtruth.mc.mcsman.event.SendCommand2ServiceEvent
import com.handtruth.mc.mcsman.event.S... | 0 | Kotlin | 0 | 0 | 58b2d4bd0413522dbf1cbabc1c8bab78e1b1edfe | 3,228 | mcsman | Apache License 2.0 |
Android/app/src/main/java/com/versilistyson/searchflix/presentation/ui/common/fragment/BindedFragment.kt | vdtyson | 255,445,964 | false | null | package com.versilistyson.searchflix.presentation.ui.common.fragment
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.databinding.DataBindingUtil
import androidx.databinding.ViewDataBinding
import androidx.fragment.app.Fragment
abstract... | 0 | Kotlin | 0 | 1 | 895bb09903d38952a4373bbe7dd413301771e6c9 | 772 | SearchFlix | MIT License |
buildSrc/src/main/kotlin/dev/jonaz/vured/util/gradle/Versions.kt | vured | 367,025,536 | false | null | package dev.jonaz.vured.util.gradle
object Versions {
const val KOTLIN = "1.5.0"
const val LAVA_PLAYER = "1.3.75"
const val JDA = "4.2.1_253"
const val LOGBACK = "1.2.3"
const val HOPLITE = "1.4.0"
const val KOIN = "3.0.1"
}
| 0 | Kotlin | 0 | 0 | e981064194ffe34590b7a3192528c24d495f0d86 | 250 | vured-util | Apache License 2.0 |
org.librarysimplified.drm.core/src/main/java/org/nypl/drm/core/AxisNowFileAsset.kt | NYPL-Simplified | 42,663,893 | false | null | package org.nypl.drm.core
import org.readium.r2.shared.publication.asset.FileAsset
import org.readium.r2.shared.publication.asset.PublicationAsset
import java.io.File
/**
* A Readium2 AxisNow-protected asset.
*/
class AxisNowFileAsset(
/**
* The actual EPUB file.
*/
val fileAsset: FileAsset,
... | 3 | null | 1 | 1 | d0fd9aed6167682c4575c565a790551d91e3e1ff | 552 | DRM-Android-Core | Apache License 2.0 |
app/src/main/java/com/masterwok/demoffmpegglidevideodecoder/glide/GlideModule.kt | masterwok | 144,424,265 | false | null | package com.masterwok.demoffmpegglidevideodecoder.glide
import android.content.Context
import android.graphics.Bitmap
import android.net.Uri
import com.bumptech.glide.Glide
import com.bumptech.glide.Registry
import com.bumptech.glide.annotation.GlideModule
import com.bumptech.glide.module.AppGlideModule
import com.mas... | 0 | Kotlin | 6 | 29 | c90a6c438e8f6b9292f6874c1d3ee5b440b2c4e8 | 789 | ffmpeg-glide-video-decoder | MIT License |
src/main/kotlin/com/cuupa/opengarden/persistence/field/FieldEntity.kt | Cuupa | 478,063,266 | false | null | package com.cuupa.opengarden.persistence.field
import com.cuupa.opengarden.persistence.user.UserEntity
import javax.persistence.*
@Entity
@Table(name = "field")
open class FieldEntity {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
@Column(name = "id", updatable = false, nullable = false)
open ... | 14 | Kotlin | 0 | 0 | c71b87dbdb4e97afb42a3dc7546a17cd8e8c8b5e | 707 | open-garden | MIT License |
app/src/main/java/com/gigamole/quatrogradesample/AnimationExampleActivity.kt | GIGAMOLE | 381,280,794 | false | {"Kotlin": 25056} | package com.gigamole.quatrogradesample
import android.animation.Animator
import android.animation.ArgbEvaluator
import android.animation.ValueAnimator
import android.os.Bundle
import android.view.animation.LinearInterpolator
import androidx.appcompat.app.AppCompatActivity
import codes.side.andcolorpicker.converter.set... | 0 | Kotlin | 7 | 35 | 19fe5225143794f585b2c19a67a2da2d450bbd3c | 3,963 | QuatroGrade | MIT License |
app/src/main/java/com/iambedant/mvistarter/mvibase/MviIntent.kt | iamBedant | 134,553,457 | false | null | package com.iambedant.mvistarter.mvibase
/**
* Immutable object which represent an view's intent.
*/
interface MviIntent
| 0 | Kotlin | 5 | 19 | c8dd34cce44967535de3498757f5f50157d7418e | 124 | Android-Mvi-Starter | MIT License |
app/src/main/java/com/katana/koin/ui/MainNavigator.kt | cybernetics | 211,757,315 | false | null | package com.katana.koin.ui
/**
* Created by Kaz on 10:15 2018-12-19
*/
interface MainNavigator {
} | 0 | Kotlin | 0 | 0 | 8f33d409174293f63e0a680d35eee9106065fdd7 | 101 | mvvm-koin | Apache License 2.0 |
ui/src/main/java/ru/tinkoff/acquiring/sdk/smartfield/BaubleClearOrScanButton.kt | itlogic | 293,802,517 | true | {"Kotlin": 1162428, "Java": 29422} | package ru.tinkoff.acquiring.sdk.smartfield
import android.content.res.ColorStateList
import android.util.Log
import android.view.ViewGroup
import android.widget.ImageView
import androidx.core.content.res.ResourcesCompat
import androidx.core.view.isVisible
import ru.tinkoff.acquiring.sdk.R
import ru.tinkoff.acquiring.... | 0 | Kotlin | 0 | 0 | 8de009c2ae6ca40843c74799429346fcfa74820c | 2,309 | AcquiringSdkAndroid | Apache License 2.0 |
app/src/main/java/com/tzion/jetpackmovies/domain/entities/Language.kt | 4mr0m3r0 | 156,536,164 | false | {"Kotlin": 151737} | package com.tzion.jetpackmovies.domain.entities
class Language {
} | 4 | Kotlin | 4 | 15 | 11b983e57bc1508a6ec5ca738af70c4f9a8ea9aa | 68 | movies-jetpack-sample | MIT License |
baselib/src/main/java/com/wan/baselib/rxbus/RxBus.kt | qinghuaAndroid | 252,683,218 | false | {"Kotlin": 278208, "Java": 73348} | package com.wan.baselib.rxbus
import io.reactivex.rxjava3.core.Flowable
import io.reactivex.rxjava3.processors.FlowableProcessor
import io.reactivex.rxjava3.processors.PublishProcessor
import io.reactivex.rxjava3.subscribers.SerializedSubscriber
enum class RxBus {
INSTANCE;
private val bus: FlowableProcessor... | 1 | Kotlin | 3 | 3 | 35e86bbc06a3ef306d3355432b8dc6cdb7217c1e | 703 | WanAndroid-MVVM | Apache License 2.0 |
app/src/main/java/com/ms/quokkaism/db/QuoteDao.kt | mshohrat | 548,821,104 | false | null | package com.ms.quokkaism.db
import androidx.paging.DataSource
import androidx.room.*
import com.ms.quokkaism.db.model.Quote
@Dao
interface QuoteDao {
@Insert(onConflict = OnConflictStrategy.IGNORE)
suspend fun insertQuote(quote: Quote)
@Insert(onConflict = OnConflictStrategy.IGNORE)
suspend fun ins... | 0 | Kotlin | 0 | 0 | 49e02903018d4a444428d3a8bba06b58e41193b1 | 1,936 | PositiveQuotes | MIT License |
app/src/main/java/cucerdariancatalin/sms_messenger/receivers/MmsSentReceiver.kt | cucerdariancatalin | 586,080,344 | false | null | package cucerdariancatalin.sms_messenger.receivers
import android.app.Activity
import android.content.Context
import android.content.Intent
import cucerdariancatalin.sms_messenger.helpers.refreshMessages
class MmsSentReceiver : com.klinker.android.send_message.MmsSentReceiver() {
override fun onMessageStatusUpdat... | 0 | Kotlin | 0 | 2 | bde8d17dfc800c3a291a96d3b4ee653f335019bb | 540 | SMSMessenger | MIT License |
app/src/main/java/com/example/budget/trx/TrxActivity.kt | okumaru | 725,161,333 | false | {"Kotlin": 258088} | package com.example.budget.trx
import android.content.Intent
import android.widget.Toast
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.fou... | 0 | Kotlin | 0 | 0 | 59627b9d50538fbbc5512f2622a3608ced425577 | 8,192 | mobile-app-budget | MIT License |
android/Library/Owner/app/src/main/java/com/pradyotprakash/libraryowner/app/pages/splash/viewmodel/SplashViewModel.kt | pradyotprksh | 385,586,594 | false | {"Kotlin": 1895342, "Dart": 1052279, "Python": 311069, "Swift": 145439, "C++": 90451, "CMake": 74709, "Go": 45704, "HTML": 19243, "Ruby": 12424, "C": 5700, "Shell": 817, "JavaScript": 781, "CSS": 588, "Objective-C": 342, "Makefile": 318, "Dockerfile": 32} | package com.pradyotprakash.libraryowner.app.pages.splash.viewmodel
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.pradyotprakash.libraryowner.app.routes.Routes
import com.pradyotprakash.libraryowner.ap... | 0 | Kotlin | 9 | 15 | f2bef232d7b45c68f94985a0ac2542f3bb2d8f19 | 2,378 | development_learning | MIT License |
SKIE/compiler/kotlin-plugin/src/kgp_common/kotlin/co/touchlab/skie/phases/swift/CompileSwiftPhase.kt | touchlab | 685,579,240 | false | {"Kotlin": 1041703, "Swift": 24501, "Shell": 183} | package co.touchlab.skie.phases.swift
import co.touchlab.skie.configuration.SkieConfigurationFlag
import co.touchlab.skie.phases.SirPhase
import co.touchlab.skie.util.Command
import org.jetbrains.kotlin.backend.konan.BitcodeEmbedding
import org.jetbrains.kotlin.backend.konan.KonanConfigKeys
import org.jetbrains.kotlin... | 9 | Kotlin | 4 | 358 | febe2f6f7448d4874f934a1ade10787eb02a86cc | 6,352 | SKIE | Apache License 2.0 |
project/jimmer-sql-kotlin/src/main/kotlin/org/babyfish/jimmer/sql/kt/filter/impl/JavaFilter.kt | meiMingle | 554,763,123 | true | {"Markdown": 18, "Batchfile": 8, "Shell": 10, "Java": 537, "Kotlin": 292, "SQL": 9, "INI": 11, "Gradle Kotlin DSL": 14, "JavaScript": 4, "CSS": 3} | package org.babyfish.jimmer.sql.kt.filter.impl
import org.apache.commons.lang3.reflect.TypeUtils
import org.babyfish.jimmer.meta.ImmutableType
import org.babyfish.jimmer.sql.ast.impl.table.TableImplementor
import org.babyfish.jimmer.sql.ast.table.Props
import org.babyfish.jimmer.sql.filter.Filter
import org.babyfish.j... | 0 | null | 0 | 0 | d3850dbb2b22ffa6b277914c0fafc03fa5b673de | 2,020 | jimmer | MIT License |
Extra/app/src/main/java/com/example/extra/MainActivity.kt | CHcrocs | 863,499,039 | false | {"Kotlin": 23790} | package com.example.extra
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundati... | 0 | Kotlin | 0 | 0 | bc7b56e5eceb73bdc7bce29d7c47e9d0f2d6a405 | 19,337 | AtividadeExtra | MIT License |
src/main/kotlin/io/github/gaming32/mckt/commands/commands/SaveCommand.kt | mckt-Minecraft | 532,076,162 | false | null | package io.github.gaming32.mckt.commands.commands
import com.mojang.brigadier.builder.LiteralArgumentBuilder.literal
import io.github.gaming32.mckt.commands.CommandSource
import io.github.gaming32.mckt.commands.executesSuspend
import net.kyori.adventure.text.Component
object SaveCommand : BuiltinCommand {
overrid... | 0 | Kotlin | 0 | 2 | 98e88af4f54a12faeea2543c4bbdc950dd744092 | 582 | mckt | MIT License |
src/main/kotlin/dev/argraur/aosp/builder/cli/command/Command.kt | argraur | 459,604,174 | false | null | /*
* SPDX-FileCopyrightText: 2022 Arseniy Graur <me@argraur.dev>
* SPDX-License-Identifier: MIT
*/
package dev.argraur.aosp.builder.cli.command
import dev.argraur.aosp.builder.utils.Logger
interface Command {
private val TAG: String
get() = this.javaClass.simpleName
private val logger: Logger
... | 0 | Kotlin | 0 | 2 | f0ebc53f318f81065b10a07b635bba66e2228f19 | 405 | aosp-builder | MIT License |
app/src/main/java/com/joe/transactionsapp/framework/presentation/detail/TransactionDetailFragment.kt | jizhe7550 | 389,596,293 | false | null | package com.joe.transactionsapp.framework.presentation.detail
import android.view.View
import androidx.fragment.app.viewModels
import androidx.navigation.fragment.findNavController
import androidx.navigation.navGraphViewModels
import com.joe.transactionsapp.R
import com.joe.transactionsapp.business.domain.state.StateM... | 0 | Kotlin | 1 | 3 | 6b0c238fba80dd040765b90c108145869dae15b2 | 2,522 | TransactionsApp | MIT License |
src/main/kotlin/com/lightbend/akka/sample/Printer.kt | harry-uglow | 136,621,983 | true | {"Kotlin": 65158, "Shell": 11857, "Batchfile": 1373, "Scala": 276} | package com.lightbend.akka.sample
import akka.actor.AbstractActor
import akka.actor.Props
import akka.event.Logging
class Printer : AbstractActor() {
private val log = Logging.getLogger(context.system, this)
class Greeting(val message: String)
override fun createReceive(): AbstractActor.Receive {
return ... | 0 | Kotlin | 1 | 1 | 218c91f6c1cb2f37c2669d1abe64e5afdc39da58 | 558 | akka-quickstart-kotlin | Creative Commons Zero v1.0 Universal |
src/main/kotlin/com/lightbend/akka/sample/Printer.kt | harry-uglow | 136,621,983 | true | {"Kotlin": 65158, "Shell": 11857, "Batchfile": 1373, "Scala": 276} | package com.lightbend.akka.sample
import akka.actor.AbstractActor
import akka.actor.Props
import akka.event.Logging
class Printer : AbstractActor() {
private val log = Logging.getLogger(context.system, this)
class Greeting(val message: String)
override fun createReceive(): AbstractActor.Receive {
return ... | 0 | Kotlin | 1 | 1 | 218c91f6c1cb2f37c2669d1abe64e5afdc39da58 | 558 | akka-quickstart-kotlin | Creative Commons Zero v1.0 Universal |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.