path stringlengths 4 280 | owner stringlengths 2 39 | repo_id int64 21.1k 879M | is_fork bool 2
classes | languages_distribution stringlengths 13 1.95k ⌀ | content stringlengths 7 482k | issues int64 0 13.9k | main_language stringclasses 121
values | forks stringlengths 1 5 | stars int64 0 111k | commit_sha stringlengths 40 40 | size int64 7 482k | name stringlengths 1 100 | license stringclasses 93
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
app/src/main/java/name/eraxillan/anilistapp/model/MediaSource.kt | eraxillan | 434,593,947 | false | {"Kotlin": 347938} | /*
* Copyright 2021 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | 0 | Kotlin | 0 | 1 | 58abc53e7bdb7f215907cd3029abf9dda74fa09b | 1,059 | anilistapp | Apache License 2.0 |
src/main/kotlin/uk/me/danielharman/kotlinspringbot/audio/GuildMusicManager.kt | DanielHarman | 525,566,778 | false | null | package uk.me.danielharman.kotlinspringbot.audio
import com.sedmelluq.discord.lavaplayer.player.AudioPlayer
import com.sedmelluq.discord.lavaplayer.player.AudioPlayerManager
import com.sedmelluq.discord.lavaplayer.player.event.AudioEvent
import com.sedmelluq.discord.lavaplayer.player.event.AudioEventListener
import co... | 1 | Kotlin | 0 | 0 | 71764aebd0b7e49dc5ac08324fc34f8a9ee13ce3 | 1,452 | kobot | Apache License 2.0 |
data-core-manga/src/main/java/com/melonhead/data_core_manga/models/Manga.kt | taffyrat | 542,405,576 | false | {"Kotlin": 193298} | package com.melonhead.data_core_manga.models
@kotlinx.serialization.Serializable
data class Manga(val id: String, val attributes: MangaAttributes, val relationships: List<com.melonhead.data_core_manga.models.ChapterRelationships>) {
private val coverArtRelationships: com.melonhead.data_core_manga.models.ChapterRel... | 6 | Kotlin | 0 | 0 | ee2deda19aa43f7480da66f65ad7409cfe1c53a9 | 483 | mangadexdroid | Do What The F*ck You Want To Public License |
data/src/main/java/com/androchef/data/models/MovieEntity.kt | happysingh23828 | 251,545,848 | false | null | package com.androchef.data.models
data class MovieEntity(
var id: Long? = 0,
var movieTitle: String? = "",
var movieName: String? = "",
var voteAverage: Double? = 0.0,
var profilePath: String? = "",
var posterPath: String? = "",
var isBookMarked: Boolean
)
| 0 | Kotlin | 51 | 293 | 63777c3d98929b31294719a99c9bf0ae4d7cd616 | 286 | Android-Clean-Architecture | MIT License |
samples/VerificationSample/src/main/java/com/sinch/sinchverification/utils/AppConfig.kt | sinch | 353,915,754 | false | null | package com.sinch.sinchverification.utils
import kotlinx.serialization.Serializable
import kotlinx.serialization.Transient
@Serializable
data class AppConfig(
val name: String,
val appKey: String,
val environment: String,
@Transient val isCustom: Boolean = false
) {
companion object {
cons... | 0 | Kotlin | 1 | 0 | 4c9d56358da68633ae1c3896e5d8c9f2af2e39c4 | 364 | verification-android-sdk | Apache License 2.0 |
src/main/kotlin/icu/windea/pls/lang/psi/ParadoxLanguageInjectionHost.kt | DragonKnightOfBreeze | 328,104,626 | false | {"Kotlin": 3443954, "Java": 164903, "Lex": 42127, "HTML": 23760, "Shell": 2822} | package icu.windea.pls.lang.psi
import com.intellij.psi.*
import com.intellij.psi.impl.source.tree.injected.*
interface ParadoxLanguageInjectionHost : PsiLanguageInjectionHost, InjectionBackgroundSuppressor {
//disable injection background highlight (by implementing InjectionBackgroundSuppressor)
} | 12 | Kotlin | 5 | 41 | 99e8660a23f19642c7164c6d6fcafd25b5af40ee | 305 | Paradox-Language-Support | MIT License |
vk-api-generated/src/main/kotlin/name/anton3/vkapi/generated/users/objects/UserRelation.kt | Anton3 | 159,801,334 | true | {"Kotlin": 1382186} | @file:Suppress("unused", "SpellCheckingInspection")
package name.anton3.vkapi.generated.users.objects
import name.anton3.vkapi.vktypes.ValueEnum
enum class UserRelation(override val value: Int) : ValueEnum<Int> {
NOT_SPECIFIED(0),
SINGLE(1),
IN_A_RELATIONSHIP(2),
ENGAGED(3),
MARRIED(4),
COMPL... | 2 | Kotlin | 0 | 8 | 773c89751c4382a42f556b6d3c247f83aabec625 | 400 | kotlin-vk-api | MIT License |
frontend/app/src/main/java/com/harissabil/anidex/data/remote/anime/dto/AnimeResponse.kt | harissabil | 718,008,784 | false | {"Kotlin": 306276, "PHP": 38166} | package com.harissabil.anidex.data.remote.anime.dto
data class AnimeResponse(
val data: List<Data>,
val pagination: Pagination
) | 0 | Kotlin | 0 | 0 | ce077792f1b081f6730af964745aa4fcb783ef92 | 137 | TemanWibu | MIT License |
composeApp/src/commonMain/kotlin/PomodoroTimer.kt | Mirror83 | 715,891,908 | false | {"Kotlin": 28130} | import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
import kotlinx.coroutines.delay
class PomodoroTimer(workMinutes: Int = 25, breakMinutes: Int = 5, longBreakMinutes: Int = 15) {
private val workSeconds = workMinutes * 60
private val... | 0 | Kotlin | 0 | 0 | a712fc6ae37d3895ebaa7c1377526aeb82f8b015 | 3,341 | focus | MIT License |
app/src/main/java/jb/project/starwarsshoppinglist/home/activity/view/HomeView.kt | joaobbaptista | 106,693,876 | true | {"Kotlin": 58885} | package jb.project.starwarsshoppinglist.home.activity.view
import jb.project.starwarsshoppinglist.model.Product
/**
* Created by Jb on 12/10/2017.
*/
interface HomeView {
fun loadProductList(productList: ArrayList<Product>)
fun errorLoading()
fun productListNotFound()
} | 0 | Kotlin | 0 | 0 | 56ae754a1bd0502f1966a162a1690ad6db6d6aa3 | 286 | desafio-mobile | MIT License |
app/src/main/java/com/capstone/urskripsi/utils/Constant.kt | Naufal0010 | 429,732,609 | false | null | package com.capstone.urskripsi.utils
class Constant {
companion object {
// Save Data Is First Time Run On Boarding
const val PREF_ON_BOARDING = "on_boarding_pref"
const val FIRST_TIME_RUN = "isFirstTime"
// Save Data Login
const val PREF_USER_LOGIN = "user_pref"
co... | 0 | Kotlin | 1 | 0 | 46c57498547218b1fda601b5f811511d999bd859 | 827 | UrSkripsi | MIT License |
app/src/main/java/com/xareas/pylearn/viewmodel/MainViewModel.kt | xareas | 429,293,313 | false | {"Kotlin": 46874} | package com.xareas.pylearn.viewmodel
import androidx.lifecycle.*
import com.xareas.pylearn.data.model.LessonDetail
import com.xareas.pylearn.data.model.LessonHeader
import com.xareas.pylearn.data.repository.LessonRepository
import com.xareas.pylearn.data.repository.QuizRepository
import com.xareas.pylearn.init.PyLearn... | 1 | Kotlin | 0 | 0 | cd881a5aecb19e1f59426bfed14d32fb3f82d8fc | 1,784 | PyLearn | MIT License |
app/src/main/java/com/orange/ods/app/ui/components/radiobuttons/ComponentRadioButtons.kt | Orange-OpenSource | 440,548,737 | false | {"Kotlin": 1058580, "HTML": 26065, "CSS": 14905, "Shell": 587, "JavaScript": 197} | /*
* Software Name: Orange Design System
* SPDX-FileCopyrightText: Copyright (c) Orange SA
* SPDX-License-Identifier: MIT
*
* This software is distributed under the MIT license,
* the text of which is available at https://opensource.org/license/MIT/
* or see the "LICENSE" file for more details.
*
* Software de... | 79 | Kotlin | 9 | 17 | 5500dbcee3693342533a5a63bdc45b7a752ed0e6 | 3,360 | ods-android | MIT License |
app/src/main/java/com/example/marsphotos/network/MarsApiService.kt | Mahendra-mous | 762,305,873 | false | {"Kotlin": 29292} | package com.example.marsphotos.network
import com.example.marsphotos.model.MarsPhoto
import retrofit2.http.GET
import retrofit2.http.Query
interface MarsApiService {
@GET("v1/images/search")
suspend fun getPhotos(
@Query("limit") limit: Int = 10,
@Query("api_key") apiKey: String = "<KEY>"
... | 0 | Kotlin | 0 | 0 | 11a79e8ff40bc9056403412d7fff334dee3a4dfa | 341 | MarsPhotos | Apache License 2.0 |
app/src/main/java/app/krunal3kapadiya/mlglossary/ui/AboutActivity.kt | krunal3kapadiya | 179,922,645 | false | null | package app.krunal3kapadiya.mlglossary.ui
import android.content.ActivityNotFoundException
import android.content.Context
import android.content.Intent
import android.net.Uri
import android.os.Build
import android.os.Bundle
import android.text.Html
import android.text.method.LinkMovementMethod
import androidx.core.con... | 0 | Kotlin | 0 | 2 | 2c87912363df919d931cb7852f98d765c222f579 | 2,079 | ML-Glossary | Apache License 2.0 |
exercise-01/api/src/main/kotlin/io/tacsio/adaptive/api/config/ApiEffector.kt | tacsio | 624,175,766 | false | null | package io.tacsio.adaptive.api.config
import org.slf4j.LoggerFactory
import org.springframework.web.bind.annotation.PostMapping
import org.springframework.web.bind.annotation.RequestMapping
import org.springframework.web.bind.annotation.RestController
@RestController
@RequestMapping("/effectors")
class ApiEffector(pr... | 0 | Kotlin | 0 | 0 | 682ed0edab73acc9860453a2b61c0af0498701ea | 890 | in1060-2023 | MIT License |
composeApp/src/commonMain/kotlin/presentation/happyHourListScreen/HappyHourListScreen.kt | CzinkeM | 825,876,701 | false | {"Kotlin": 99278, "Swift": 621} | package presentation.happyHourListScreen
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.fadeIn
import androidx.compose.animation.fadeOut
import androidx.compose.animation.scaleIn
import androidx.compose.animation.scaleOut
import androidx.compose.foundation.layout.Box
import andr... | 0 | Kotlin | 0 | 0 | 28a2477f0d669b5c60a2052fe6e546af2ea13b78 | 3,949 | thevr-happyhour-browser | MIT License |
pcbridge-spigot/src/main/kotlin/com/projectcitybuild/pcbridge/features/announcements/actions/StartAnnouncementTimer.kt | projectcitybuild | 42,997,941 | false | {"Kotlin": 261041} | package com.projectcitybuild.pcbridge.features.announcements.actions
import com.projectcitybuild.pcbridge.core.config.Config
import com.projectcitybuild.pcbridge.features.announcements.repositories.AnnouncementRepository
import com.projectcitybuild.pcbridge.support.spigot.SpigotTimer
import kotlinx.coroutines.runBlock... | 9 | Kotlin | 0 | 3 | 01e50eed661a4c069df3e6518c4b6ce697e56723 | 1,423 | PCBridge | MIT License |
vk-kotlin-bot/src/main/kotlin/tk/skeptick/bot/api.kt | Skeptick | 115,691,908 | false | null | package tk.skeptick.bot
import com.github.kittinunf.fuel.core.FuelManager
import com.github.kittinunf.fuel.core.Request
import com.github.kittinunf.fuel.httpGet
import com.github.kittinunf.fuel.httpPost
import com.github.kittinunf.fuel.httpUpload
import kotlinx.coroutines.experimental.delay
import kotlinx.serializatio... | 0 | Kotlin | 1 | 8 | 7b6e013c5ee29442153e1f8594b906e81b830365 | 10,164 | vk-kotlin-bot | Apache License 2.0 |
core/commonTest/src/contract/ComparisonDSL.kt | Kotlin | 59,769,494 | false | {"Kotlin": 569271} | /*
* Copyright 2016-2019 JetBrains s.r.o.
* Use of this source code is governed by the Apache 2.0 License that can be found in the LICENSE.txt file.
*/
package tests.contract
import tests.assertTypeEquals
import kotlin.test.*
public fun <T> compare(expected: T, actual: T, block: CompareContext<T>.() -> Unit) {
... | 56 | Kotlin | 61 | 996 | c73ce02cf1214f14ec177cc6c2da15677ec98012 | 1,844 | kotlinx.collections.immutable | Apache License 2.0 |
app/src/main/java/shvyn22/flexingmarvel/domain/repository/local/CharacterLocalRepository.kt | shvyn22 | 348,811,041 | false | null | package shvyn22.flexingmarvel.domain.repository.local
import androidx.paging.Pager
import androidx.paging.PagingConfig
import androidx.paging.PagingData
import kotlinx.coroutines.flow.Flow
import shvyn22.flexingmarvel.data.local.dao.CharacterDao
import shvyn22.flexingmarvel.data.local.model.CharacterModel
import shvyn... | 0 | Kotlin | 1 | 0 | 7483fb47b48fd3336e1c4253146237b3a64a8784 | 1,142 | FlexingMarvel | MIT License |
canvas2_lp/src/main/java/com/angcyo/canvas2/laser/pecker/dialog/dslitem/VariableTextEditItem.kt | angcyo | 229,037,684 | false | {"Kotlin": 3502808, "JavaScript": 5542, "HTML": 1598} | package com.angcyo.canvas2.laser.pecker.dialog.dslitem
import com.angcyo.canvas2.laser.pecker.R
import com.angcyo.doodle.ui.dslitem.DoodleIconItem
import com.angcyo.library.ex._string
/**
* 变量模板预览item
* @author <a href="mailto:<EMAIL>">angcyo</a>
* @since 2023/08/31
*/
class VariableTextAddItem : DoodleIconItem()... | 0 | Kotlin | 4 | 4 | 438d0a123f5eea7cad0aeadd9ae9f2dca60d8142 | 427 | UICoreEx | MIT License |
app/src/main/kotlin/com/virajbhartiya/pyxis/services/base/InterfaceService.kt | virajbhartiya | 644,530,410 | false | null | package com.virajbhartiya.pyxis.services.base
import com.virajbhartiya.pyxis.di.component.ServiceComponent
import io.reactivex.disposables.Disposable
interface InterfaceService {
fun getComponent(): ServiceComponent?
fun addDisposable(disposable: Disposable)
fun clearDisposable()
} | 0 | Kotlin | 0 | 0 | 497696bd6a24a4d9c30117614b65eecb485a7f6e | 301 | Pyxis | Apache License 2.0 |
server/src/main/kotlin/org/octopusden/octopus/releasemanagementservice/legacy/LegacyRelengComponentService.kt | octopusden | 768,499,841 | false | {"Kotlin": 68599, "Java": 3146} | package org.octopusden.octopus.releasemanagementservice.legacy
import org.octopusden.octopus.releasemanagementservice.client.common.dto.ComponentDTO
import org.octopusden.octopus.releasemanagementservice.service.ComponentService
import org.springframework.stereotype.Service
@Service
class LegacyRelengComponentService... | 0 | Kotlin | 0 | 0 | f6c31797a24ac40b77bde565142e0574d17b19f5 | 691 | octopus-release-management-service | Apache License 2.0 |
projects/fabric/src/main/kotlin/site/siredvin/peripheralworks/integrations/universal_shops/Configuration.kt | SirEdvin | 489,471,520 | false | {"Kotlin": 624227, "Java": 4072} | package site.siredvin.peripheralworks.integrations.universal_shops
import net.minecraftforge.common.ForgeConfigSpec
import site.siredvin.peripheralium.api.config.IConfigHandler
object Configuration : IConfigHandler {
private var enableShopsConfig: ForgeConfigSpec.BooleanValue? = null
val enableShops: Boolea... | 16 | Kotlin | 3 | 9 | a59b8b79e5df1de388bba9fb0d8effe5763e569b | 624 | UnlimitedPeripheralWorks | MIT License |
app/src/main/java/com/example/screp/bottomNavigation/BottomNavActivity.kt | GiangNguyen1207 | 541,750,538 | false | null | package com.example.screp.bottomNavigation
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.size
import androidx.compose.material.BottomNavigationItem
import androidx.compose.material.Icon
import androidx.compose.material.MaterialTheme
//import androidx.compose.material.R
impo... | 0 | Kotlin | 1 | 1 | a871ef75d21b675753b83146a10fe68b0ff39dc5 | 2,443 | screp | MIT License |
app/src/main/java/com/reynarz/shder3D/engine/ScreenQuad.kt | reynarzz | 488,060,387 | false | {"Kotlin": 199562, "Java": 3389, "C": 2990, "GLSL": 1971} | package com.reynarz.shder3D.engine
import android.opengl.GLES20.*
import android.opengl.Matrix
import com.reynarz.shder3D.engine.components.MeshRenderer
import com.reynarz.shder3D.views.MainActivity
class ScreenQuad(private val cameraMeshRenderer: MeshRenderer) {
val identityM = FloatArray(16).also {
Mat... | 0 | Kotlin | 0 | 0 | be3293fb4ba3432cb5724c23d0c20cc904774870 | 1,524 | Shder3D | MIT License |
Main/src/main/java/com/redelf/commons/scheduling/alarm/AlarmScheduler.kt | red-elf | 731,934,432 | false | {"Kotlin": 524249, "Java": 41189, "Shell": 3417} | package com.redelf.commons.scheduling.alarm
import android.app.job.JobInfo
import android.app.job.JobScheduler
import android.content.ComponentName
import android.content.Context
import android.os.PersistableBundle
import com.redelf.commons.application.BaseApplication
import com.redelf.commons.extensions.isEmpty
impor... | 0 | Kotlin | 1 | 0 | bbede5b61227f2272ea9c1ff98ddb3185e769e37 | 2,714 | Android-Toolkit | Apache License 2.0 |
usecases/src/main/java/com/jesuslcorominas/mybooks/usecases/ToggleCollectedBook.kt | jesuslcorominas | 227,665,370 | false | null | package com.jesuslcorominas.mybooks.usecases
import com.jesuslcorominas.mybooks.data.repository.BooksRepository
import com.jesuslcorominas.mybooks.domain.Book
class ToggleCollectedBook(val booksRepository: BooksRepository) : PersistBook {
suspend fun invoke(book: Book): Book = with(book) {
copy(collected ... | 0 | Kotlin | 0 | 0 | 5d253294c327dc12cca45ad833e1444084168a58 | 383 | mybooks | Apache License 2.0 |
compiler/testData/codegen/box/callableReference/classMemberFromTopLevelStringNoArgs.kt | udalov | 10,645,710 | false | {"Java": 9931656, "Kotlin": 2142480, "JavaScript": 942412, "C++": 613791, "C": 193807, "Objective-C": 22634, "Shell": 12589, "Groovy": 1267} | class A {
fun foo() = "OK"
}
fun box(): String {
val x = A::foo
return A().x()
}
| 0 | Java | 1 | 6 | 3958b4a71d8f9a366d8b516c4c698aae80ecfe57 | 94 | kotlin-objc-diploma | Apache License 2.0 |
app/src/main/java/com/example/restfoundkt/MainActivity.kt | T-yomcha | 668,308,343 | false | {"Kotlin": 57558} | package com.example.restfoundkt
import ContactForm
import android.Manifest
import android.content.pm.PackageManager
import android.os.Build
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.activity.result.contract.ActivityResultContracts
i... | 0 | Kotlin | 0 | 0 | 4d1fe46dd77e55edc8e28f003438e4fe8492cdf4 | 2,571 | RestFound | MIT License |
graphql-dgs/src/main/kotlin/com/netflix/graphql/dgs/internal/SchemaFailureAnalyzer.kt | jsxiaoshunzi | 344,373,190 | true | {"Kotlin": 385062, "Java": 79560, "HTML": 6786, "TypeScript": 3256, "JavaScript": 2934} | /*
* Copyright 2021 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 0 | null | 0 | 0 | 8e6104b16a282053161e60de919ab97b9a218bcb | 1,440 | dgs-framework | Apache License 2.0 |
core/src/commonMain/kotlin/maryk/core/aggregations/bucket/Types.kt | marykdb | 290,454,412 | false | null | package maryk.core.aggregations.bucket
import maryk.core.aggregations.AggregationRequestType.TypesType
import maryk.core.aggregations.Aggregations
import maryk.core.aggregations.IsAggregationRequest
import maryk.core.models.SimpleQueryDataModel
import maryk.core.properties.ObjectPropertyDefinitions
import maryk.core.p... | 0 | Kotlin | 0 | 6 | 2db4430b9d05f6f25ffc8d7d79a637a50bd73390 | 1,533 | maryk | Apache License 2.0 |
src/test/kotlin/com/compiler/server/controllers/KotlinPlaygroundTest.kt | s4nchez | 257,102,677 | true | {"Kotlin": 433628, "Dockerfile": 1597, "Shell": 225} | package com.compiler.server.controllers
import com.compiler.server.configuration.ApplicationConfiguration
import com.compiler.server.generator.generateSingleProject
import com.compiler.server.model.bean.VersionInfo
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
import junit.framework.TestCase.assertEqu... | 1 | Kotlin | 0 | 0 | 41e278d08cdc3837d31f6962decb753cb175891b | 2,557 | kotlin-compiler-server | Apache License 2.0 |
webservice/src/main/kotlin/com/noticemedan/dykkerdan/webservice/Main.kt | NoticeMeDan | 285,365,234 | false | null | package com.noticemedan.dykkerdan.webservice
import dk.acto.auth.client.FafnirClientConfiguration
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
import org.springframework.context.annotation.Import
import org.springframework.transaction.annotation.Ena... | 0 | Kotlin | 0 | 0 | 8e7b2f52386fe6e37e53a948013d5f419c60a24c | 550 | dykkerdan | MIT License |
src/main/kotlin/michi/bot/commands/misc/randomRaccoon.kt | slz-br | 598,900,844 | false | null | package michi.bot.commands.misc
import net.dv8tion.jda.api.EmbedBuilder
import net.dv8tion.jda.api.events.interaction.command.SlashCommandInteractionEvent
import java.awt.Color
import java.io.BufferedReader
import java.io.FileReader
import kotlin.random.Random
fun randomRaccoon(context: SlashCommandInteractionEvent) ... | 0 | Kotlin | 0 | 0 | dd5f1e3b5895fd50b8f39489ef12ac00fe833a97 | 777 | Michi | Apache License 2.0 |
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/Comet.kt | walter-juan | 868,046,028 | false | {"Kotlin": 20416825} | package com.woowla.compose.icon.collections.tabler.tabler.outline
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector... | 0 | Kotlin | 0 | 1 | b037895588c2f62d069c724abe624b67c0889bf9 | 2,884 | compose-icon-collections | MIT License |
src/main/kotlin/co/edu/uniquindio/compiladores/lexico/AnalizadorLexico.kt | jenunezb | 542,360,188 | false | {"Kotlin": 503857, "Java": 255} | package co.edu.uniquindio.compiladores.lexico
class AnalizadorLexico(var codigoFuente:String) {
var posicionActual = 0
var caracterActual = codigoFuente[0]
var listaTokens = ArrayList<Token>()
var ListaErrores = ArrayList<Error>();
var finCodigo = 0.toChar()
var filaActual = 0
var columnaA... | 0 | Kotlin | 0 | 0 | 4f9571e6c8679cf395e33cc4ff057e3c142382d5 | 82,679 | compiladores | Creative Commons Attribution 2.0 Generic |
13 - Banco digital/BancoApp/app/src/main/java/br/com/devmeist3r/bancoapp/presenter/splash/SplashFragment.kt | luksinocencio | 703,578,671 | false | {"Kotlin": 238286} | package br.com.devmeist3r.bancoapp.presenter.splash
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import br.com.devmeist3r.bancoapp.R
import br.com.devmeist3r.bancoapp.databinding.FragmentSplashBinding
class Spl... | 0 | Kotlin | 0 | 0 | 3760d039cc9346e0a9b9de3196644bf792aaf485 | 802 | kotlin_desenvolvimento_de_apps_android_com_kotlin_profissional | MIT License |
core/state-holder/src/commonMain/kotlin/br/alexandregpereira/hunter/state/ScopeManager.kt | alexandregpereira | 347,857,709 | false | null | /*
* Copyright 2023 Alexandre Gomes Pereira
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | 7 | null | 5 | 85 | 46a636ec6fe5a60101e761847c85776180c6f5b2 | 987 | Monster-Compendium | Apache License 2.0 |
src/test/kotlin/com/jcminarro/bittrex/BittrexTest.kt | JcMinarro | 115,442,410 | false | null | package com.jcminarro.bittrex
import com.github.tomakehurst.wiremock.client.WireMock.*
import com.github.tomakehurst.wiremock.core.WireMockConfiguration
import com.github.tomakehurst.wiremock.junit.WireMockRule
import com.github.tomakehurst.wiremock.matching.EqualToPattern
import com.jcminarro.bittrex.api.RetrofitFact... | 0 | Kotlin | 0 | 11 | 22e3b9068208cae54e0340a1e391b87960f6f0eb | 22,767 | Bittrex | Apache License 2.0 |
src/main/kotlin/com/mecheka/todo/controller/AuthController.kt | Mecheka | 761,606,384 | false | {"Kotlin": 15736, "Dockerfile": 3240} | package com.mecheka.todo.controller
import com.mecheka.todo.data.repository.UserRepository
import kotlinx.serialization.Serializable
import javax.inject.Inject
interface AuthController {
suspend fun register(username: String, password: String): AuthResponse
suspend fun login(username: String, password: String... | 0 | Kotlin | 0 | 0 | cf61088142d023a07eacf8f8a57a7808f05f7bc0 | 1,325 | ktor-todo | Apache License 2.0 |
app/src/main/kotlin/com/inasweaterpoorlyknit/merlinsbag/ui/MainActivity.kt | Lucodivo | 762,597,375 | false | null | package com.inasweaterpoorlyknit.merlinsbag.ui
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.activity.enableEdgeToEdge
import androidx.activity.viewModels
import androidx.compose.material3.windowsizeclass.ExperimentalMaterial3WindowSizeC... | 0 | null | 0 | 3 | c5386378af29b386cda99b4406c2c43c19a48e90 | 2,907 | Merlinsbag | Apache License 2.0 |
SimpleLogin/app/src/main/java/io/simplelogin/android/module/alias/AliasListAdapter.kt | simple-login | 244,631,377 | false | {"Kotlin": 341987} | package io.simplelogin.android.module.alias
import android.view.ViewGroup
import androidx.recyclerview.widget.ListAdapter
import io.simplelogin.android.utils.diffutil.AliasDiffCallback
import io.simplelogin.android.utils.model.Alias
import io.simplelogin.android.viewholder.AliasViewHolder
class AliasListAdapter(priva... | 23 | Kotlin | 39 | 312 | 46a0b7a7d9c560d7f230b11788d9c52ab74d50d5 | 873 | Simple-Login-Android | Apache License 2.0 |
src/main/kotlin/lol/sander/easyRTP/EasyRTP.kt | voltration | 831,507,012 | false | {"Kotlin": 5060} | package lol.sander.easyRTP
import lol.sander.easyRTP.commands.EasyRTPCommand
import lol.sander.easyRTP.commands.RTP
import org.bukkit.plugin.java.JavaPlugin
lateinit var plugin: EasyRTP
private set
class EasyRTP : JavaPlugin() {
init {
plugin = this
}
override fun onEnable() {
saveDe... | 0 | Kotlin | 1 | 0 | d029d0b9a5b79dec8683e704b8ffea49ff1e0881 | 497 | easyRTP | MIT License |
module/common/src/iosMain/kotlin/org/cru/godtools/shared/common/model/Uri.ios.kt | CruGlobal | 310,338,913 | false | {"Kotlin": 465921, "ANTLR": 1243, "Ruby": 58} | package org.cru.godtools.shared.common.model
import co.touchlab.kermit.Logger
import platform.Foundation.NSURL
@Suppress("CONFLICTING_OVERLOADS")
actual typealias Uri = NSURL
actual val Uri.scheme get() = scheme
actual fun String.toUriOrNull() = try {
NSURL(string = this)
} catch (e: NullPointerException) {
... | 4 | Kotlin | 1 | 0 | b9ba7b150becfad5045fda4fd9ceb5de6d338dc5 | 375 | kotlin-mpp-godtools-tool-parser | MIT License |
core/src/main/kotlin/materialui/components/steplabel/enums/StepLabelStyle.kt | subroh0508 | 167,797,152 | false | null | package materialui.components.steplabel.enums
@Suppress("EnumEntryName")
enum class StepLabelStyle {
root,
horizontal,
vertical,
label,
active,
completed,
error,
disabled,
iconContainer,
alternativeLabel,
labelContainer
} | 14 | Kotlin | 27 | 81 | a959a951ace3b9bd49dc5405bea150d4d53cf162 | 266 | kotlin-material-ui | MIT License |
library/src/test/java/com/ebr163/inspector/rule/TextNotEmptyRuleTest.kt | pavel163 | 116,406,074 | false | null | package com.ebr163.inspector.rule
import org.junit.Before
import org.junit.Test
import org.junit.Assert.assertFalse
import org.junit.Assert.assertTrue
/**
* Created by Bakht
* on 12.01.2018.
*/
class TextNotEmptyRuleTest {
private var rule: TextNotEmptyRule? = null
@Before
fun setUp() {
rule... | 0 | Kotlin | 1 | 4 | ec64f98dad638b1ab7b89171754a1a5e359da239 | 544 | Inspector | MIT License |
core/src/com/ascending/games/engine/edit/action/ITimedActionProvider.kt | AscendingSoft | 150,993,561 | false | {"Kotlin": 31976} | package com.ascending.games.engine.edit.action
interface ITimedActionProvider {
fun getNextAction() : com.ascending.games.engine.edit.action.ITimedAction?
} | 0 | Kotlin | 0 | 0 | f75f3d38849d0c4b64c0f7e508cfb955c6d1a48d | 161 | AscendingEngine | MIT License |
app/src/main/java/com/cdhiraj40/leetdroid/adapter/QuestionDiscussionAdapter.kt | cdhiraj40 | 448,634,081 | false | {"Kotlin": 377758} | package com.cdhiraj40.leetdroid.adapter
import android.content.Context
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.bumptech.glide.Glide
import com.cd... | 2 | Kotlin | 15 | 54 | a4a42158297c9cb48600259febd7b1d4916a4bb6 | 4,151 | LeetDroid | MIT License |
app/src/main/java/com/cyberlogitec/freight9/ui/youroffers/YourOffersHistoryDetailViewModel.kt | manosbatsis | 549,532,234 | false | null | package com.cyberlogitec.freight9.ui.youroffers
import android.content.Context
import android.content.Intent
import com.cyberlogitec.freight9.common.BaseActivity
import com.cyberlogitec.freight9.common.BaseViewModel
import com.cyberlogitec.freight9.lib.rx.Parameter
import com.cyberlogitec.freight9.lib.rx.ParameterClic... | 0 | null | 0 | 0 | ca9c94c2b83f5808edca00a4abc99f0b8b836817 | 2,614 | fremvp | Apache License 2.0 |
app/src/main/java/com/forcetower/uefs/feature/siecomp/editor/CreateSpeakerFragment.kt | marcelobiao | 184,821,890 | true | {"Kotlin": 1857200, "Java": 257698, "Shell": 376} | /*
* Copyright (c) 2019.
* <NAME> <<EMAIL>>
*
* This file is part of the UNES Open Source Project.
*
* UNES is licensed under the MIT License
*
* 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 th... | 0 | Kotlin | 0 | 0 | 8c27cac95ffde6aae6a07156be0aad3d6039767e | 3,480 | Melon | MIT License |
src/main/kotlin/no/nav/tiltak/datadeling/graphql/GraphQLMapping.kt | navikt | 704,474,061 | false | {"Kotlin": 35841, "Dockerfile": 100} | package no.nav.tiltak.datadeling.graphql
import no.nav.tiltak.datadeling.domene.*
import java.time.LocalDate
import java.time.LocalDateTime
import java.time.OffsetDateTime
import java.time.ZoneOffset
import java.util.*
data class AvtaleGQL(
val avtaleId: UUID?,
val avtaleNr: Int?,
val opprettetTidspunkt: ... | 1 | Kotlin | 0 | 0 | ae5e36a750669010189c5882d96b1711d6dcd3a0 | 17,401 | tiltak-datadeling | MIT License |
src/main/kotlin/me/melijn/melijnbot/enums/PatternPermission.kt | ToxicMushroom | 107,187,088 | false | null | package me.melijn.melijnbot.enums
val option = RegexOption.IGNORE_CASE
enum class PatternPermission(val pattern: Regex) {
CUSTOM_COMMAND("cc\\.(\\d+)".toRegex(option)), // cc.id
REACTION_ROLE("rr\\.(?:(?!\\.).)*\\.(?:(?!\\.).)*".toRegex(option)), // rr.group.role
REACTION_ROLE_GROUP("rr\\.(?:(?!\\.).)*".t... | 5 | Kotlin | 22 | 80 | 01107bbaad0e343d770b1e4124a5a9873b1bb5bd | 354 | Melijn | MIT License |
arcade-minigames/src/main/kotlin/net/casual/arcade/minigame/task/impl/PlayerListTask.kt | CasualChampionships | 621,955,934 | false | {"Kotlin": 1009293, "Java": 177804, "GLSL": 4396} | package net.casual.arcade.minigame.task.impl
import net.casual.arcade.minigame.Minigame
import net.casual.arcade.scheduler.task.Task
import net.casual.arcade.visuals.tab.PlayerListDisplay
public open class PlayerListTask(
private val minigame: Minigame<*>,
display: PlayerListDisplay
): Task {
init {
... | 1 | Kotlin | 1 | 2 | 313ea08f5d9ad562b4bb5aef28b6fa5891615baa | 460 | arcade | MIT License |
app/src/main/java/com/example/zukkey/groupiesampleofmaster/ExpandableHeaderItem.kt | yutaro6547 | 125,634,169 | false | null | package com.example.zukkey.groupiesampleofmaster
import com.xwray.groupie.ExpandableGroup
import com.xwray.groupie.ExpandableItem
import com.xwray.groupie.kotlinandroidextensions.Item
import com.xwray.groupie.kotlinandroidextensions.ViewHolder
import kotlinx.android.synthetic.main.item_expandable_header.*
class Expa... | 0 | Kotlin | 0 | 0 | 06138aba390c3c23a24bfa223c385d831ba95dd2 | 1,299 | GroupieSampleOfMaster | Apache License 2.0 |
src/main/kotlin/com/creator/auth/data/entity/Role.kt | emidiocruciani | 670,916,156 | false | null | package com.creator.auth.data.entity
import jakarta.persistence.*
@Entity
@Table(name = "roles")
data class Role(
@Id
@GeneratedValue(strategy = GenerationType.SEQUENCE)
val id: Int?,
@Column(unique = true, nullable = false)
val label: String
)
| 0 | Kotlin | 0 | 0 | 69739f2c7485b0aefb17683be93522ab225254b7 | 268 | creator-auth-server | MIT License |
android/app/src/main/kotlin/com/example/note_app/MainActivity.kt | zalviandyr | 399,865,997 | false | {"Dart": 43117, "Swift": 404, "Kotlin": 125, "Objective-C": 38} | package com.example.Note_App
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 0 | 3 | da6bf5bbc41a6fd87f694045b6dafa289b2348f3 | 125 | note-app-flutter | MIT License |
analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/test/base/AbstractLowLevelApiModifiablePsiSingleFileTest.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.analysis.low.level.api.fir.test.base
import com.intellij.openapi.command.Command... | 162 | null | 5729 | 46,436 | c902e5f56504e8572f9bc13f424de8bfb7f86d39 | 2,208 | kotlin | Apache License 2.0 |
analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/test/base/AbstractLowLevelApiModifiablePsiSingleFileTest.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.analysis.low.level.api.fir.test.base
import com.intellij.openapi.command.Command... | 162 | null | 5729 | 46,436 | c902e5f56504e8572f9bc13f424de8bfb7f86d39 | 2,208 | kotlin | Apache License 2.0 |
src/main/kotlin/instacli/commands/connections/ConnectTo.kt | Hes-Siemelink | 617,124,378 | false | {"Kotlin": 154732, "Shell": 54} | package instacli.commands.connections
import com.fasterxml.jackson.databind.JsonNode
import com.fasterxml.jackson.databind.node.ValueNode
import instacli.cli.CliFile
import instacli.cli.CliFileContext
import instacli.language.*
import kotlin.io.path.name
object ConnectTo : CommandHandler("Connect to", "instacli/conne... | 1 | Kotlin | 0 | 3 | 532893d7a57f508972fb15a97b2daa0d5aad8398 | 1,146 | instacli | Apache License 2.0 |
Tutorial - Ejercicio y API/LibrosApp/app/src/main/java/com/example/librosapp/MainActivity.kt | Leonardo-Rodenas | 387,786,113 | false | null | package com.example.librosapp
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android.view.SearchEvent
import android.view.inputmethod.InputMethodManager
import android.widget.LinearLayout
import android.widget.Toast
import androidx.appcompat.widget.SearchView
im... | 0 | Kotlin | 0 | 0 | fb3eae06b2598d537a791b088fa5d347b458ed56 | 9,199 | MODULO_4_DESARROLLO_DE_APLICACIONES_MOVILES_ANDROID_KOTLIN | MIT License |
src/main/kotlin/com/example/vok/view/AllStudentsView.kt | MaggieKuo | 571,140,150 | false | {"Kotlin": 29274, "HTML": 638, "TypeScript": 275, "Isabelle": 24} | package com.example.vok.view
import com.example.vok.MainLayout
import com.example.vok.confirmDialog
import com.example.vok.dao.Gender
import com.example.vok.dao.Student
import com.example.vok.refactor.view.CreateStudentView
import com.example.vok.refactor.view.EditStudentView
import com.github.javafaker.Faker
import c... | 1 | Kotlin | 0 | 0 | 069d7ffa23eaafe3b4f2da5b7040c856a17a6890 | 3,374 | kug-vaadin | MIT License |
builder/src/main/java/com/kamer/builder/SyncWorker.kt | kamerok | 192,063,678 | false | {"Kotlin": 213563} | package com.kamer.builder
import android.content.Context
import androidx.work.CoroutineWorker
import androidx.work.WorkerParameters
import easydone.core.domain.Synchronizer
import easydone.widget.updateWidget
class SyncWorker(
private val appContext: Context,
workerParams: WorkerParameters,
private val sy... | 0 | Kotlin | 0 | 4 | 3a6b1e5290209ddd0c9926cb04af1853030d9bde | 538 | EasyDone | Apache License 2.0 |
app/src/main/java/com/example/moviedb/data/scheduler/SchedulerProvider.kt | pareen1504 | 186,191,995 | false | null | package com.example.moviedb.data.scheduler
import kotlinx.coroutines.CoroutineScope
import kotlin.coroutines.CoroutineContext
interface SchedulerProvider {
val uiContext: CoroutineContext
val ioContext: CoroutineContext
val uiScope: CoroutineScope
val ioScope: CoroutineScope
} | 0 | Kotlin | 0 | 0 | 046b44ecdd2bda8d764ffd90f2fa4298adb90097 | 300 | TheMoviePlanet | Apache License 2.0 |
src/main/kotlin/zkr/BinaryInputArchiveFactory.kt | Nordstrom | 229,333,924 | false | null | package zkr
import org.apache.jute.BinaryInputArchive
import org.apache.zookeeper.server.persistence.FileHeader
import org.apache.zookeeper.server.persistence.FileTxnLog
import org.slf4j.Logger
import org.slf4j.LoggerFactory
import software.amazon.awssdk.core.sync.ResponseTransformer
import software.amazon.awssdk.regi... | 0 | Kotlin | 1 | 6 | f001c282ac7c1d9f79f5c639a4eacdc2b555a9a6 | 2,729 | zkr | Apache License 2.0 |
src/main/java/net/ccbluex/liquidbounce/handler/network/AutoReconnect.kt | Rmejia39 | 733,988,804 | false | {"Kotlin": 2304965, "Java": 1271227, "GLSL": 13515, "JavaScript": 8926} | /*
* FDPClient Hacked Client
* A free open source mixin-based injection hacked client for Minecraft using Minecraft Forge by LiquidBounce.
* https://github.com/SkidderMC/FDPClient/
*/
package net.ccbluex.liquidbounce.handler.network
object AutoReconnect {
const val MAX = 60000
const val MIN = 1000
var... | 3 | Kotlin | 0 | 0 | b48c4e83c888568111a6665037db7fd3f7813ed3 | 454 | FDPClient | MIT License |
app/src/main/java/com/stefanoq21/socialcleaningcontrol/presentation/screen/map/MapViewModel.kt | stefanoq21 | 786,445,860 | false | {"Kotlin": 212818} | /*
* Copyright 2024 stefanoq21
*
* 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 | 1 | 15d8fe11f5e63358a838922fc742dcc6e212b0d9 | 6,761 | Social-Cleaning-Control | Apache License 2.0 |
app/src/main/java/com/g/pocketmal/ui/presenter/BaseUpdatingPresenter.kt | glodanif | 847,288,195 | false | {"Kotlin": 517413, "Java": 112995} | package com.g.pocketmal.ui.presenter
import android.text.TextUtils
import androidx.annotation.CallSuper
import androidx.lifecycle.Lifecycle
import androidx.lifecycle.OnLifecycleEvent
import com.g.pocketmal.data.api.SessionExpiredException
import com.g.pocketmal.data.api.UpdateParams
import com.g.pocketmal.data.common.... | 0 | Kotlin | 1 | 8 | 1a7fe52c2dc59dd3bf4eaeb3d9bb64d469e10845 | 8,207 | Pocket_MAL | MIT License |
straight/src/commonMain/kotlin/me/localx/icons/straight/bold/Introduction.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.straight.bold
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter
i... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 2,901 | icons | MIT License |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/autoscaling/WarmPoolOptionsDsl.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package io.cloudshiftdev.awscdkdsl.services.autoscaling
import io.cloudshiftdev.awscdkdsl.common.CdkD... | 3 | null | 0 | 3 | c59c6292cf08f0fc3280d61e7f8cff813a608a62 | 2,218 | awscdk-dsl-kotlin | Apache License 2.0 |
src/main/java/jp/osak/haggledehaghag/model/Game.kt | haggle-de-haghag | 363,896,456 | false | {"TypeScript": 133798, "Kotlin": 50837, "HTML": 7203, "JavaScript": 3623, "CSS": 946, "SCSS": 844, "Java": 231} | package jp.osak.haggledehaghag.model
import org.springframework.data.annotation.Id
data class Game(
@Id val id: Int,
val title: String,
val gameKey: String,
val masterKey: String,
val state: State
) {
enum class State {
PLAYING,
POST_MORTEM
}
}
| 7 | TypeScript | 0 | 0 | d11bcb3f9c2805e3f212c92200674eab4e1c8193 | 291 | haggle-de-haghag | MIT License |
src/main/kotlin/NegativeDenominatorException.kt | evilthreads669966 | 721,369,481 | false | {"Kotlin": 16467} | class NegativeDenominatorException : Exception("Denominator is less than zero")
| 0 | Kotlin | 0 | 1 | 53f1cf3a3b1a31649d93e2c07ca2d057258ab866 | 80 | fraction_calculator | Apache License 2.0 |
example/src/main/java/org/xmtp/android/example/extension/StringExtension.kt | xmtp | 577,891,020 | false | null | package org.xmtp.android.example.extension
fun String.truncatedAddress(): String {
if (length > 6) {
val start = 6
val end = lastIndex - 3
return replaceRange(start, end, "...")
}
return this
}
| 4 | Kotlin | 2 | 4 | d4fdbfb04327bc3141f243bf5fbfefc71c1ffd2a | 231 | xmtp-android | MIT License |
core/src/main/kotlin/physicaltherapy/user/UserReader.kt | giantbalance | 738,855,640 | false | {"Gradle Kotlin DSL": 8, "Java Properties": 1, "Shell": 3, "YAML": 10, "Text": 1, "Batchfile": 1, "Markdown": 1, "Kotlin": 37, "JAR Manifest": 5, "SQL": 6, "INI": 1, "Dockerfile": 1, "HTTP": 1, "XML": 2, "Java": 32} | package physicaltherapy.user
import org.springframework.stereotype.Component
import java.lang.IllegalArgumentException
@Component
class UserReader(
private val userRepository: UserRepository,
) {
fun read(id: Long): User {
return userRepository.read(id) ?: throw IllegalArgumentException("존재하지 않는 유저입니다... | 0 | Java | 0 | 0 | 96b6a414b326c41129d3f466b4171f9e31734904 | 344 | action_test | Apache License 2.0 |
ComicX/src/main/java/com/qiuchenly/comicparse/Modules/RecentlyReading/Adapter/MyRecentlyBookListAdapter.kt | MyGhost233 | 203,593,656 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Git Attributes": 1, "Markdown": 1, "Proguard": 2, "Java": 128, "XML": 116, "Kotlin": 93} | package com.qiuchenly.comicparse.Modules.RecentlyReading.Adapter
import android.support.v4.content.ContextCompat.startActivity
import android.view.View
import com.qiuchenly.comicparse.BaseImp.AppManager
import com.qiuchenly.comicparse.BaseImp.BaseRecyclerAdapter
import com.qiuchenly.comicparse.Bean.ComicBookInfo_Recen... | 1 | null | 1 | 1 | 057406d81e685aeb272df22450e40cfc64a535bb | 2,310 | iComic | MIT License |
client/app/src/main/java/com/example/healthc/data/dto/kor_product/KorProductResponse.kt | Solution-Challenge-HealthC | 601,915,784 | false | null | package com.example.healthc.data.dto.kor_product
import com.example.healthc.domain.model.kor_product.KorProduct
import com.example.healthc.domain.model.kor_product.KorProductInfo
data class KorProductResponse(
val body: KorProductDto,
val header: ProductHeaderDto
)
data class KorProductDto(
val items: L... | 5 | Kotlin | 1 | 2 | 11d38169ecdc42dc12943b829b842f0e5b360788 | 1,413 | HealthC_Android | MIT License |
buildSrc/src/main/kotlin/dependencies/UnitTestDependencies.kt | atilabraga | 290,815,896 | true | {"Kotlin": 157854, "Prolog": 798, "IDL": 438, "Shell": 245} | package dependencies
import Libraries
class UnitTestDependencies {
private val all by lazy {
listOf(
Libraries.jUnit,
Libraries.assertj,
Libraries.burster,
Libraries.mockWebServer
)
}
fun forEachDependency(consumer: (String) -> Unit) =
... | 0 | Kotlin | 0 | 0 | 67c6cdceb64bb343a24faa2bca88268e6eed0b16 | 502 | norris | MIT License |
src/main/kotlin/io/github/uinnn/serializer/ProtocolBuffers.kt | uinnn | 388,945,281 | false | null | /*
MIT License
Copyright (c) 2021 uin
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 ri... | 0 | Kotlin | 0 | 2 | ad4e9dc6fdc184cc8520b92015539cb62928385d | 6,816 | serializer-framework | MIT License |
app/src/main/java/com/prmto/mova_movieapp/core/domain/models/genre/Genre.kt | tolgaprm | 541,709,201 | false | {"Kotlin": 522687} | package com.prmto.mova_movieapp.core.domain.models.genre
data class Genre(
val id: Int,
val name: String
)
data class GenreList(
val genres: List<Genre>
)
| 1 | Kotlin | 3 | 56 | 1936fb736958a2e47e691ae7d694ba56e77e44f5 | 169 | Mova-MovieApp | Apache License 2.0 |
sample/src/main/java/com/thoughtworks/ark/sample/permission/ui/ScreenState.kt | TW-Smart-CoE | 548,729,881 | false | null | package com.thoughtworks.ark.sample.permission.ui
internal sealed class ScreenState {
object None : ScreenState()
object SinglePermissionState : ScreenState()
object SinglePermissionWithDialogState : ScreenState()
object MultiplePermissionsState : ScreenState()
} | 16 | Kotlin | 2 | 16 | 35d0c4fe5e9ffc1c0cbd6318e46a2ad6f34f4e63 | 280 | ARK-Android | Apache License 2.0 |
cobalt.networking/src/jsMain/kotlin/org/hexworks/cobalt/http/HttpRequest.kt | cobalt | 155,008,361 | false | null | package org.hexworks.cobalt.http
import org.hexworks.cobalt.http.builder.EventContext
import org.w3c.xhr.FormData
import org.w3c.xhr.XMLHttpRequest
class HttpRequest(private val method: HttpMethod,
private val url: String,
private var async: Boolean,
private val u... | 0 | Kotlin | 5 | 5 | 51fc64a311cfb7fffdd5e1b7ccdb64319f7602f1 | 1,799 | cobalt | Apache License 2.0 |
library/lorcana-data/src/commonMain/kotlin/eu/codlab/lorcana/raw/VirtualCard.kt | great-illuminary | 710,799,476 | false | {"Kotlin": 42337, "TypeScript": 4085, "Shell": 438} | package eu.codlab.lorcana.raw
import eu.codlab.lorcana.abilities.Ability
import eu.codlab.lorcana.cards.CardThirdParty
import eu.codlab.lorcana.cards.CardTranslations
import eu.codlab.lorcana.cards.CardType
import eu.codlab.lorcana.cards.ClassificationHolder
import eu.codlab.lorcana.cards.InkColor
import eu.codlab.lor... | 0 | Kotlin | 0 | 6 | e1e4d48b1dede0c066f1e7958446d8f5b538a516 | 1,148 | lorcana-data | MIT License |
ERMSCompany/src/main/java/com/kust/erms_company/ui/auth/CompanyRegistrationFragment.kt | sabghat90 | 591,653,827 | false | {"Kotlin": 583902, "HTML": 87217} | package com.kust.erms_company.ui.auth
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.fragment.app.viewModels
import androidx.navigation.fragment.findNavController
import com.kust.erms_company.R as ... | 1 | Kotlin | 0 | 2 | 56497f553ddcbbe2bdbafb987caa40cb44d552e8 | 3,717 | ERMS | MIT License |
src/jvmMain/kotlin/life/traktorist/chapter/Estate.kt | traktorist-life | 498,842,625 | false | {"Kotlin": 127077, "CSS": 600, "Dockerfile": 435, "HTML": 233} | /*
* Copyright 2022 traktorist.life
*
* 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... | 0 | Kotlin | 0 | 0 | 06369a89e6ff8ba4295e26c113b36db303533145 | 3,226 | faq | Apache License 2.0 |
feature/tag/src/commonMain/kotlin/com/taetae98/diary/feature/tag/detail/compose/TagDetailLayout.kt | TaeTae98 | 670,251,079 | false | {"Kotlin": 306928, "Swift": 1582, "HTML": 230} | package com.taetae98.diary.feature.tag.detail.compose
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.material3.Card
import android... | 1 | Kotlin | 0 | 0 | 459b923b853a0af9b7aae85ba120b2a0e203d355 | 1,992 | Diary | Apache License 2.0 |
src/main/kotlin/no/nav/familie/endringsmelding/mock/MockLoginController.kt | bekk | 647,235,139 | false | null | package no.nav.familie.endringsmelding.mock
import com.nimbusds.jose.JOSEObjectType
import no.nav.security.mock.oauth2.MockOAuth2Server
import no.nav.security.mock.oauth2.token.DefaultOAuth2TokenCallback
import no.nav.security.token.support.core.api.Unprotected
import org.springframework.context.annotation.Profile
imp... | 2 | Kotlin | 0 | 1 | 3c10b9b9e770e20b05920cfb93537cb6e70471d8 | 2,375 | nav-familie-endringsmelding-api | MIT License |
src/main/java/site/hirecruit/hr/domain/company/entity/CompanyEntity.kt | themoment-team | 473,691,285 | false | {"Kotlin": 205045, "Dockerfile": 1004, "Shell": 97} | package site.hirecruit.hr.domain.company.entity
import javax.persistence.*
/**
* 회사의 정보를 담는 CompanyEntity
*
* @author 정시원
* @since 1.0
*/
@Entity @Table(name = "company")
class CompanyEntity(
@Id @GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "company_id")
val companyId: Long? = n... | 2 | Kotlin | 0 | 16 | 6dbf1779257a5ecde9f51c9878bc0cb8871f5336 | 678 | HiRecruit-server | MIT License |
src/app/src/test/kotlin/org/vaccineimpact/orderlyweb/tests/unit_tests/models/ScopeTests.kt | vimc | 173,126,600 | false | null | package org.vaccineimpact.orderlyweb.tests.unit_tests.models
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Test
import org.vaccineimpact.orderlyweb.models.Scope
import org.vaccineimpact.orderlyweb.viewmodels.PermissionViewModel
class ScopeTests
{
@Test
fun `GlobalScope encompa... | 6 | Kotlin | 4 | 4 | e3a2a8204a3e559e15f1d54e884e8ea1aa798cf0 | 2,770 | orderly-web | MIT License |
app/src/main/java/com/bqliang/nfushortcuts/activity/CallXiaobaiActivity.kt | bqliang | 371,436,812 | false | null | package com.bqliang.nfushortcuts.activity
import android.Manifest
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.bqliang.nfushortcuts.R
import com.bqliang.nfushortcuts.adapter.MyListAdapter
import com.bqliang.nfushortcuts.model.D... | 0 | Kotlin | 0 | 1 | d7e9dabf1ab054f1aed25ba29fcd235c8b5bacd2 | 2,126 | NFU-shortcuts | Apache License 2.0 |
src/main/kotlin/com/github/hank9999/kook/types/Emoji.kt | hank9999 | 505,054,380 | false | null | package com.github.hank9999.kook.types
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class Emoji(
@SerialName("id") val id: String = "",
@SerialName("name") val name: String = ""
) | 0 | Kotlin | 3 | 5 | bb285d9c131203934b66e8ef562ebcf28b0284e3 | 245 | kook-kt | MIT License |
core/src/main/kotlin/de/uulm/se/couchedit/model/graphic/attributes/LineAttributes.kt | sp-uulm | 303,650,849 | false | null | package de.uulm.se.couchedit.model.graphic.attributes
import de.uulm.se.couchedit.model.attribute.Attribute
import de.uulm.se.couchedit.model.attribute.AttributeReference
import de.uulm.se.couchedit.model.attribute.elements.AttributeBag
import de.uulm.se.couchedit.model.base.probability.ProbabilityInfo
import de.uulm.... | 0 | Kotlin | 0 | 0 | 595266c0bca8f2ee6ff633c4b45b91e5f3132cc4 | 1,849 | CouchEdit | Apache License 2.0 |
core/src/main/kotlin/com/cinema/entract/core/widget/ItemAdapter.kt | StephaneBg | 147,789,207 | 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 writin... | 0 | Kotlin | 0 | 6 | 4453e5f02a0b2c6683cbbab4f8a8c551258930d6 | 894 | entract-cinema-android | Apache License 2.0 |
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/vpclattice/CfnServiceNetworkDsl.kt | F43nd1r | 643,016,506 | false | null | package com.faendir.awscdkkt.generated.services.vpclattice
import com.faendir.awscdkkt.AwsCdkDsl
import javax.`annotation`.Generated
import kotlin.String
import kotlin.Unit
import software.amazon.awscdk.services.vpclattice.CfnServiceNetwork
import software.amazon.awscdk.services.vpclattice.CfnServiceNetworkProps
impor... | 1 | Kotlin | 0 | 0 | a1cf8fbfdfef9550b3936de2f864543edb76348b | 1,272 | aws-cdk-kt | Apache License 2.0 |
app/src/test/java/com/falcon/restaurants/domain/interactor/meal/FetchAndUpsertMealUseCaseTest.kt | muhammed-ahmad | 407,126,448 | false | {"Kotlin": 133604} | package com.falcon.restaurants.domain.interactor.meal
import com.falcon.restaurants.domain.interactor.DomainTestData
import com.falcon.restaurants.domain.model.Meal
import io.reactivex.Completable
import io.reactivex.Single
import io.reactivex.observers.TestObserver
import org.junit.Before
import org.junit.Test
import... | 0 | Kotlin | 1 | 3 | 8796dcedbd5598b9e591ab702e6445e478ce4662 | 1,885 | restaurants | MIT License |
compose-mds/src/main/java/ch/sbb/compose_mds/sbbicons/small/DocumentDocSmall.kt | SchweizerischeBundesbahnen | 853,290,161 | false | {"Kotlin": 6728512} | package ch.sbb.compose_mds.sbbicons.small
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Mit... | 0 | Kotlin | 0 | 1 | 090a66a40e1e5a44d4da6209659287a68cae835d | 5,967 | mds-android-compose | MIT License |
app/src/main/java/com/pg/cloudcleaner/ui/components/fileexplorer/FileListView.kt | prateekgupta22195 | 556,909,764 | false | null | package com.pg.cloudcleaner.ui.components.fileexplorer
import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.lazy... | 1 | Kotlin | 0 | 0 | 43d83437039893b91ba90f945bf016c9e27660fd | 1,145 | file-manager-android | MIT License |
src/main/kotlin/xyz/jmullin/drifter/entity/Layer3D.kt | JustinMullin | 65,239,521 | false | {"Kotlin": 193418} | package xyz.jmullin.drifter.entity
import com.badlogic.gdx.graphics.Camera
import com.badlogic.gdx.graphics.PerspectiveCamera
import com.badlogic.gdx.graphics.g3d.Environment
import com.badlogic.gdx.graphics.g3d.ModelBatch
import com.badlogic.gdx.graphics.g3d.attributes.ColorAttribute
import com.badlogic.gdx.graphics.... | 0 | Kotlin | 0 | 0 | df40d709d57861053e2c17b3ec8bb115ad2a377d | 3,303 | drifter-kotlin | MIT License |
src/main/kotlin/io/heartpattern/mcremapper/visitor/ParameterAnnotationFixVisitor.kt | HeartPattern | 206,837,415 | false | null | package io.heartpattern.mcremapper.visitor
import org.objectweb.asm.ClassVisitor
import org.objectweb.asm.Opcodes
import org.objectweb.asm.Type
import org.objectweb.asm.tree.AnnotationNode
import org.objectweb.asm.tree.ClassNode
import org.objectweb.asm.tree.MethodNode
/**
* ProGuard, the obfuscator used by Minecraf... | 0 | Kotlin | 16 | 98 | 56c88235fa2554989008924e6d763084e3fdb4fc | 6,805 | MC-Remapper | MIT License |
widget/src/main/java/com/github/fajaragungpramana/our/widget/extension/ViewExtension.kt | fajaragungpramana | 774,786,902 | false | {"Kotlin": 41956} | package com.github.fajaragungpramana.our.widget.extension
import android.view.View
import com.google.android.material.snackbar.Snackbar
fun View.snackBar(message: String, duration: Int = Snackbar.LENGTH_SHORT) {
Snackbar.make(this, message, duration).show()
} | 0 | Kotlin | 0 | 1 | 9d9acf76f67cf4c02542c7193cf08af9afc89909 | 265 | android.our | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.