path stringlengths 4 280 | owner stringlengths 2 39 | repo_id int64 21.1k 879M | is_fork bool 2
classes | languages_distribution stringlengths 13 1.95k ⌀ | content stringlengths 7 482k | issues int64 0 13.9k | main_language stringclasses 121
values | forks stringlengths 1 5 | stars int64 0 111k | commit_sha stringlengths 40 40 | size int64 7 482k | name stringlengths 1 100 | license stringclasses 93
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
src/main/kotlin/com/bravedroid/jobby/auth/presentation/dtos/LoginResponseDto.kt | BraveDroid | 428,729,381 | false | {"Kotlin": 65435} | package com.bravedroid.jobby.auth.presentation.dtos
data class LoginResponseDto(
val accessToken: String,
val refreshToken: String,
) {
val tokenType: String = "Bearer"
}
| 0 | Kotlin | 1 | 0 | ee0809159273a093de7cccb6839e41d3d720155e | 185 | JobbyServer | The Unlicense |
src/main/kotlin/com/bravedroid/jobby/auth/presentation/dtos/LoginResponseDto.kt | BraveDroid | 428,729,381 | false | {"Kotlin": 65435} | package com.bravedroid.jobby.auth.presentation.dtos
data class LoginResponseDto(
val accessToken: String,
val refreshToken: String,
) {
val tokenType: String = "Bearer"
}
| 0 | Kotlin | 1 | 0 | ee0809159273a093de7cccb6839e41d3d720155e | 185 | JobbyServer | The Unlicense |
core/src/org/river/exertion/ecs/entity/character/CharacterNone.kt | exertionriver | 345,650,250 | false | null | package org.river.exertion.ecs.entity.character
import com.badlogic.ashley.core.Component
import com.badlogic.ashley.core.Entity
import com.badlogic.gdx.ai.fsm.DefaultStateMachine
import org.river.exertion.ecs.component.action.*
import org.river.exertion.ecs.component.action.core.ActionState
import org.river.exertion.... | 0 | Kotlin | 0 | 2 | e554d700d5fbc16953a61d782cbe63162072483a | 1,055 | koboldCave | MIT License |
src/main/kotlin/eu/fizzystuff/krog/model/dungeongenerators/objects/ObjectGenerator.kt | noseblowhorn | 53,980,499 | false | null | package eu.fizzystuff.krog.model.dungeongenerators.objects
import eu.fizzystuff.krog.model.DungeonLevel
interface ObjectGenerator {
fun generate(dungeonLevel: DungeonLevel)
} | 9 | Kotlin | 0 | 0 | 07bd6389b0bb20a60a5ab2e4cc7f31b8c867949c | 180 | krog | Apache License 2.0 |
tickerview/src/main/java/com/github/bassaer/tickerview/TickerTextView.kt | bassaer | 131,505,171 | false | null | package com.github.bassaer.tickerview
import android.app.Activity
import android.content.Context
import android.graphics.Color
import android.graphics.Paint
import android.graphics.PixelFormat
import android.graphics.PorterDuff
import android.util.AttributeSet
import android.util.DisplayMetrics
import android.view.Sur... | 1 | null | 1 | 1 | 76f383bacc12e682ba9528477cef409e3e036c4f | 3,374 | TickerView | Apache License 2.0 |
util-db/src/main/kotlin/com/seanshubin/condorcet/util/db/Table.kt | SeanShubin | 190,099,313 | false | {"Text": 27, "XML": 1, "Markdown": 1, "Maven POM": 21, "Ignore List": 1, "Shell": 1, "HTML": 20, "Java": 20, "Kotlin": 212, "SVG": 1, "SQL": 47, "JSON": 2, "YAML": 1} | package com.seanshubin.condorcet.util.db
import com.seanshubin.condorcet.util.db.SqlUtil.indent
data class Table(val name: String,
val columns: List<Column>,
val unique: List<Column>) {
constructor(name: String, vararg columns: Column) : this(name, columns.toList(), listOf())
... | 2 | Kotlin | 0 | 0 | 61219ae238b47792a5d347625f4963a1b2841d2d | 1,473 | condorcet5 | The Unlicense |
core/src/main/java/de/solarisbank/sdk/logger/data/LoggerAPI.kt | Solarisbank | 336,233,277 | false | {"Kotlin": 468901, "Java": 6478, "Shell": 1215} | package de.solarisbank.sdk.logger.data
import de.solarisbank.sdk.logger.domain.model.LogContent
import io.reactivex.Single
import retrofit2.http.Body
import retrofit2.http.POST
interface LoggerAPI {
@POST("/sdk_logging")
fun postLog(@Body logContent: LogContent): Single<Boolean>
} | 0 | Kotlin | 0 | 6 | 555ae8cb524ad592115245f13d73bd4cfdd46c9c | 292 | identhub-android | MIT License |
app/src/main/java/com/github/vase4kin/teamcityapp/account/create/data/CreateAccountDataManagerImpl.kt | vase4kin | 68,111,887 | false | {"Gradle": 29, "JSON": 2, "Java Properties": 2, "Markdown": 6, "Shell": 1, "Ignore List": 26, "Batchfile": 1, "Text": 1, "YAML": 5, "INI": 24, "Proguard": 25, "XML": 228, "Java": 33, "Kotlin": 580, "HTML": 1, "Gradle Kotlin DSL": 1} | /*
* Copyright 2020 <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 wri... | 0 | Kotlin | 11 | 52 | 9abb1ed56c127d64679124c38d30b0014ec024de | 8,034 | TeamCityApp | Apache License 2.0 |
data/src/main/java/com/kennyc/dashweather/data/model/Weather.kt | Kennyc1012 | 105,380,988 | false | null | package com.kennyc.dashweather.data.model
data class Weather(val latitude: Double,
val longitude: Double,
val current: Double,
val high: Double,
val low: Double,
val humidity: Int,
val summary: String,
... | 0 | Kotlin | 2 | 0 | 212ce9f0dc434a537530b3904b1763684f7f6915 | 413 | DashWeatherExtension | Apache License 2.0 |
src/Day09.kt | hrach | 572,585,537 | false | {"Kotlin": 32838} | fun main() {
fun isAdjacent(hx: Int, hy: Int, tx: Int, ty: Int): Boolean =
tx in (hx - 1..hx + 1) && ty in (hy - 1..hy + 1)
fun newPos(hx: Int, hy: Int, tx: Int, ty: Int): Pair<Int, Int> {
if (isAdjacent(hx, hy, tx, ty)) return tx to ty
val dx = if (hx > tx) 1 else if (hx == tx) 0 else ... | 0 | Kotlin | 0 | 1 | 40b341a527060c23ff44ebfe9a7e5443f76eadf3 | 2,484 | aoc-2022 | Apache License 2.0 |
app/src/main/java/com/pkj/wow/androidkotlin/kotlin/functions/HighOrderFunctions.kt | pkjvit | 612,047,289 | false | null | package com.pkj.wow.androidkotlin.kotlin.functions
class HighOrderFunctions {
} | 0 | Kotlin | 0 | 1 | f593d2749653e237050ab4f226fe0d85cef88ff8 | 80 | ANDROID-Kotlin | Apache License 2.0 |
app/src/main/java/com/ick/kalambury/words/WordsSetDownloadJob.kt | radek606 | 459,264,828 | false | null | package com.ick.kalambury.words
import android.content.Context
import androidx.hilt.work.HiltWorker
import androidx.work.Data
import androidx.work.WorkerParameters
import androidx.work.rxjava3.RxWorker
import com.ick.kalambury.net.api.RestApiManager
import com.ick.kalambury.net.api.exceptions.NetworkFailureException
i... | 0 | Kotlin | 0 | 0 | 3dd2fe12e40ab3f9bac145ba15e9719d55e12b89 | 2,874 | Charades-Android | MIT License |
app/src/main/java/com/ick/kalambury/words/WordsSetDownloadJob.kt | radek606 | 459,264,828 | false | null | package com.ick.kalambury.words
import android.content.Context
import androidx.hilt.work.HiltWorker
import androidx.work.Data
import androidx.work.WorkerParameters
import androidx.work.rxjava3.RxWorker
import com.ick.kalambury.net.api.RestApiManager
import com.ick.kalambury.net.api.exceptions.NetworkFailureException
i... | 0 | Kotlin | 0 | 0 | 3dd2fe12e40ab3f9bac145ba15e9719d55e12b89 | 2,874 | Charades-Android | MIT License |
app/src/main/java/com/example/blinkanime/misc/ScraperData.kt | huAlahdal | 655,283,953 | false | null | package com.example.blinkanime.misc
import com.example.blinkanime.mainFragment.Anime
import com.example.blinkanime.mainFragment.AnimeDetails
data class MALAnimeData(
val score: String,
val ranked: String,
val popularity: String,
val animeLink: String,
val animeImage: String,
val animeName: Str... | 0 | Kotlin | 0 | 1 | b3734b1bec0b5ae4646a43d165df00e0ba1225b5 | 1,610 | animeApp | MIT License |
app/src/main/java/ru/kovsh/tasku/ui/area/entities/AreaScreenStates.kt | KovshefulCoder | 670,538,720 | false | null | package ru.kovsh.tasku.ui.area.entities
data class AreaScreenStates(
val navigationState: NavigationStates = NavigationStates.None,
val newTaskText: String = ""
)
| 0 | Kotlin | 0 | 0 | 5b4a23217599e03b8c69bcde10295803cca728d5 | 173 | Tasku | Apache License 2.0 |
arspell-android/src/main/java/com/nikialeksey/arspell/android/SimpleAndroidStrings.kt | nikialeksey | 157,249,355 | false | null | package com.nikialeksey.arspell.android
import com.nikialeksey.arspell.strings.SimpleString
import com.nikialeksey.arspell.strings.String
import com.nikialeksey.arspell.strings.Strings
import org.apache.commons.text.StringEscapeUtils
import java.io.File
import javax.xml.parsers.DocumentBuilderFactory
class SimpleAndr... | 3 | Kotlin | 0 | 5 | 890664124ddf372c154c1a15cd4ce9a5d0478664 | 1,071 | arspell | MIT License |
components/flow/flow-service/src/main/kotlin/net/corda/flow/pipeline/FlowEventPipeline.kt | corda | 346,070,752 | false | null | package net.corda.flow.pipeline
import net.corda.data.flow.event.FlowEvent
import net.corda.flow.fiber.FlowIORequest
import net.corda.flow.pipeline.events.FlowEventContext
/**
* [FlowEventPipeline] encapsulates the pipeline steps that are executed when a [FlowEvent] is received by a [FlowEventProcessor].
*/
interfa... | 117 | Kotlin | 13 | 39 | 9790d4f101f2fd8aecc9d083f8a61c21efe089e7 | 2,163 | corda-runtime-os | Apache License 2.0 |
components/flow/flow-service/src/main/kotlin/net/corda/flow/pipeline/FlowEventPipeline.kt | corda | 346,070,752 | false | null | package net.corda.flow.pipeline
import net.corda.data.flow.event.FlowEvent
import net.corda.flow.fiber.FlowIORequest
import net.corda.flow.pipeline.events.FlowEventContext
/**
* [FlowEventPipeline] encapsulates the pipeline steps that are executed when a [FlowEvent] is received by a [FlowEventProcessor].
*/
interfa... | 117 | Kotlin | 13 | 39 | 9790d4f101f2fd8aecc9d083f8a61c21efe089e7 | 2,163 | corda-runtime-os | Apache License 2.0 |
app/src/test/java/org/simple/clinic/summary/medicalhistory/MedicalHistorySummaryEffectHandlerTest.kt | simpledotorg | 132,515,649 | false | null | package org.simple.clinic.summary.medicalhistory
import io.reactivex.Observable
import org.junit.Test
import org.mockito.kotlin.doReturn
import org.mockito.kotlin.mock
import org.mockito.kotlin.whenever
import org.simple.clinic.medicalhistory.MedicalHistoryRepository
import org.simple.clinic.mobius.EffectHandlerTestCa... | 7 | null | 74 | 236 | ff699800fbe1bea2ed0492df484777e583c53714 | 2,078 | simple-android | MIT License |
src/main/kotlin/com/github/nikitavbv/servicemonitor/metric/resources/UptimeMetricRepository.kt | nikitavbv | 151,761,891 | false | null | package com.github.nikitavbv.servicemonitor.metric.resources
import org.springframework.data.jpa.repository.JpaRepository
interface UptimeMetricRepository : JpaRepository<UptimeMetric, Long>
| 0 | Kotlin | 0 | 0 | d26cbb6e99cb420590e5f47f58f282612aa89997 | 193 | ServiceMonitor | MIT License |
app/src/test/java/com/stevemd/unittesting/viewmodel/LoginViewModelTest.kt | MuindiStephen | 649,324,735 | false | null | package com.stevemd.unittesting.viewmodel
import android.annotation.SuppressLint
import androidx.arch.core.executor.testing.InstantTaskExecutorRule
import com.google.common.truth.Truth
import com.google.common.truth.Truth.*
import com.stevemd.unittesting.data.repository.LoginRepo
import com.stevemd.unittesting.data.r... | 0 | Kotlin | 0 | 0 | 67de6309a981d70ab0613d99174c8ac687f8a44d | 2,925 | UnitTesting | MIT License |
kubernetes/dsl/src/main/kotlin-gen/com/fkorotkov/kubernetes/exec.kt | MaTriXy | 129,299,660 | true | {"Kotlin": 237663} | // GENERATED
package com.fkorotkov.kubernetes
import io.fabric8.kubernetes.api.model.ExecAction
import io.fabric8.kubernetes.api.model.Handler
import io.fabric8.kubernetes.api.model.Probe
fun Handler.`exec`(block: ExecAction.() -> Unit = {}) {
if(this.`exec` == null) {
this.`exec` = ExecAction()
}
this.`... | 0 | Kotlin | 0 | 0 | 6446f7995b9fdf012ba72b380fe7b5ebe11649e2 | 482 | k8s-kotlin-dsl | MIT License |
server/src/main/kotlin/org/kryptonmc/krypton/network/NioConnection.kt | KryptonMC | 255,582,002 | false | null | /*
* This file is part of the Krypton project, licensed under the Apache License v2.0
*
* Copyright (C) 2021-2023 KryptonMC and the contributors of the Krypton project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may ... | 27 | Kotlin | 11 | 233 | a9eff5463328f34072cdaf37aae3e77b14fcac93 | 12,061 | Krypton | Apache License 2.0 |
visualizer/src/main/java/nativ/hannes/info/visualizer/renderer/Renderer.kt | hannesa2 | 305,927,205 | false | {"Kotlin": 28244} | package nativ.hannes.info.visualizer.renderer
import android.graphics.Canvas
import android.graphics.Rect
import nativ.hannes.info.visualizer.data.AudioData
import nativ.hannes.info.visualizer.data.FFTData
abstract class Renderer {
// Have these as members, so we don't have to re-create them each time
protect... | 4 | Kotlin | 1 | 5 | 569bbe5545f608845dd94779a7da34dfc8ce7923 | 2,013 | audio-visualizer | MIT License |
analyser_architecture/src/main/kotlin/org/archguard/architecture/view/module/ArchitectureStyle.kt | archguard | 460,910,110 | false | {"Kotlin": 1763628, "Java": 611399, "TypeScript": 11395, "C#": 5593, "Dockerfile": 2549, "C": 1223, "Shell": 926, "JavaScript": 400, "Go": 291, "Scala": 97, "Python": 42, "Rust": 32} | package org.archguard.architecture.view.module
import kotlinx.serialization.Serializable
import org.archguard.architecture.detect.PotentialExecArch
@Serializable
sealed interface ArchitectureStyle {
fun canBeApplied(identPotential: PotentialExecArch): Boolean
companion object {
fun from(identPotentia... | 1 | Kotlin | 89 | 575 | 049f3cc8f2c0e2c34e65bb0049f645caa5be9bf8 | 817 | archguard | MIT License |
21_MVVM_Dagger/app/src/main/java/com/hellohasan/mvvm_dagger/ui/student/student_list/StudentListAdapter.kt | hasancse91 | 297,706,458 | false | null | package com.hellohasan.room_orm.ui.student.student_list.view
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.hellohasan.room_orm.data.repository.student.Student
import com.hellohasan.room_orm.databinding.ItemStudentBinding
class StudentListA... | 0 | Kotlin | 4 | 12 | 89c245c45007e076eacf927aa17c7698e660d0db | 1,894 | android-course-v2 | MIT License |
app/src/main/java/com/project/segunfrancis/yetanothertodoapp/ui/list/OnItemClickListener.kt | segunfrancis | 285,689,224 | false | null | package com.project.segunfrancis.yetanothertodoapp.ui.list
import com.project.segunfrancis.yetanothertodoapp.data.ToDo
/**
* Created by SegunFrancis
*
* Interface to handle adapter item clicks
*/
interface OnItemClickListener {
fun onCheckboxChecked(id: String)
fun onDeleteIconClicked(toDo: ToDo)
} | 0 | Kotlin | 2 | 12 | aac37f050ab56eb26580c4d712b5a397b2573602 | 314 | Yet-Another-Todo-App | Apache License 2.0 |
app/src/main/java/com/graduation/mawruth/ui/resetpassword/cyclefragments/SuccessfulPasswordChangedFragment.kt | MohamedElattar22 | 753,310,964 | false | {"Kotlin": 193180} | package com.graduation.mawruth.ui.resetpassword.cyclefragments
import android.content.Intent
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.navigation.fragment.findNavController
import com.graduati... | 0 | Kotlin | 0 | 4 | d9cb7e523edbfd0eb17d7ce0f8c70c6e77820d03 | 1,443 | Mawruth | Apache License 2.0 |
app/src/main/java/com/shenghaiyang/oksign/ui/library/LibraryScreen.kt | shenghaiyang | 111,828,813 | false | null | package com.shenghaiyang.oksign.ui.library
import androidx.compose.foundation.clickable
import androidx.compose.foundation.gestures.Orientation
import androidx.compose.foundation.gestures.rememberScrollableState
import androidx.compose.foundation.gestures.scrollable
import androidx.compose.foundation.layout.Column
imp... | 0 | Kotlin | 0 | 1 | 3f60b3c6c725d1b4c86984bf725fa90c858535ea | 4,290 | OkSign | Apache License 2.0 |
shared/src/iosMain/kotlin/dev/vaibhav/newsapp/utils/serialize/SourceDtoSerializer.kt | Vaibhav2002 | 571,660,723 | false | {"Kotlin": 103756, "Swift": 21874, "Ruby": 251} | package dev.vaibhav.newsapp.utils.serialize
import dev.vaibhav.newsapp.data.models.remote.SourceDto
import kotlinx.serialization.decodeFromString
import kotlinx.serialization.encodeToString
actual class SourceDtoSerializer : Serializer<SourceDto> {
actual override fun serialize(data: SourceDto) = json.encodeToStr... | 1 | Kotlin | 3 | 46 | 2e19c2a7a3f37c25fb70eb2867a6fb6bebf8f7dc | 424 | NewsGo | MIT License |
bibix-base/main/kotlin/com/giyeok/bibix/base/TypeDetails.kt | Joonsoo | 477,378,536 | false | {"Kotlin": 901499, "Java": 29118, "TeX": 16376, "Scala": 3164} | package com.giyeok.bibix.base
sealed class TypeDetails
sealed class ClassTypeDetails : TypeDetails()
data class DataClassTypeDetails(
val packageName: String,
val className: String,
val fields: List<RuleParam>
) : ClassTypeDetails() {
val typeName = TypeName(packageName, className)
override fun toString()... | 10 | Kotlin | 1 | 3 | 643c0ece3f98e5dc5087b50ecbd0559d9de5bf0c | 831 | bibix | MIT License |
bbfgradle/tmp/results/diffCompile/rrmuysn_PROJECT.kt | DaniilStepanov | 346,008,310 | false | null | // Bug happens on JVM -Xuse-fir, JVM
// WITH_RUNTIME
// IGNORE_BACKEND: JS, JS_IR, NATIVE
// IGNORE_BACKEND: JS_IR_ES6
// IGNORE_BACKEND_FIR: JVM_IR
// FILE: J.java
public class J {
public static long platformLong() {
return 42;
}
public static Comparable<Long> platformCLong() {
return ne... | 1 | null | 1 | 1 | e772ef1f8f951873ebe7d8f6d73cf19aead480fa | 2,161 | kotlinWithFuzzer | Apache License 2.0 |
stream-chat-android-docs/src/main/kotlin/io/getstream/chat/docs/kotlin/client/docusaurus/Attachments.kt | GetStream | 177,873,527 | false | {"Kotlin": 8578375, "MDX": 2150736, "Java": 271477, "JavaScript": 6737, "Shell": 5229} | @file:Suppress("unused")
package io.getstream.chat.docs.kotlin.client.docusaurus
import io.getstream.chat.android.client.ChatClient
import io.getstream.chat.android.models.Attachment
import io.getstream.chat.android.models.Message
import io.getstream.result.Result
import java.io.File
/**
* @see <a href="https://get... | 24 | Kotlin | 273 | 1,451 | 8e46f46a68810d8086c48a88f0fff29faa2629eb | 2,111 | stream-chat-android | FSF All Permissive License |
app/src/main/java/com/ittianyu/relight/b_list/ListActivity.kt | CJC-ivotten | 152,044,752 | true | {"Java": 75840, "Kotlin": 13884} | package com.ittianyu.relight.b_list
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
class ListActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(ListLayout(this, lifecycle).render())
... | 0 | Java | 0 | 1 | f5c377ffdf50354b5f033ce2883ba019cb5ea07a | 324 | relight | Apache License 2.0 |
plot-builder-portable/src/commonMain/kotlin/jetbrains/datalore/plot/builder/VarBinding.kt | yanglv-onepunchman | 361,674,348 | true | {"Kotlin": 5066719, "Python": 747545, "C": 2832, "CSS": 1948, "Shell": 1773, "JavaScript": 1048} | /*
* Copyright (c) 2019. JetBrains s.r.o.
* Use of this source code is governed by the MIT license that can be found in the LICENSE file.
*/
package jetbrains.datalore.plot.builder
import jetbrains.datalore.plot.base.Aes
import jetbrains.datalore.plot.base.DataFrame
class VarBinding(
val variable: DataFrame.V... | 0 | null | 0 | 0 | ef6c27c175aa231e0067e024e18b353e11f7d789 | 431 | lets-plot | MIT License |
src/main/kotlin/me/clip/voteparty/user/User.kt | ParallelMC | 377,993,164 | true | {"Kotlin": 96252, "Java": 773} | package me.clip.voteparty.user
import me.clip.voteparty.VoteParty
import me.clip.voteparty.conf.sections.VoteSettings
import me.clip.voteparty.exte.formMessage
import me.clip.voteparty.leaderboard.LeaderboardType
import me.clip.voteparty.plugin.VotePartyPlugin
import org.bukkit.Bukkit
import org.bukkit.OfflinePlayer
i... | 0 | Kotlin | 0 | 0 | 0fca82a2c0a6d821660454ac0507ed77e2c74a51 | 3,189 | VoteParty | MIT License |
app/src/main/java/de/karzek/diettracker/presentation/main/cookbook/recipeDetails/adapter/viewHolder/RecipeDetailsMealsViewHolder.kt | andiwijayaid | 217,832,494 | true | {"INI": 1, "Gradle": 3, "Shell": 1, "Markdown": 1, "Batchfile": 1, "Text": 1, "Ignore List": 2, "XML": 144, "Java Properties": 1, "Proguard": 1, "Java": 361, "Kotlin": 70} | package de.karzek.diettracker.presentation.main.cookbook.recipeDetails.adapter.viewHolder
import android.view.View
import androidx.recyclerview.widget.RecyclerView
import de.karzek.diettracker.presentation.main.cookbook.recipeDetails.adapter.itemWrapper.RecipeDetailsViewItemWrapper
import kotlinx.android.extensions.La... | 0 | null | 0 | 0 | dfb308e26e4a7c5f3c18aff1d917a823326d198e | 969 | dietracker-reloaded | Apache License 2.0 |
example/kotlin/jimmer-sql-graphql-kt/src/main/kotlin/org/babyfish/jimmer/example/kt/graphql/input/AuthorInput.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.example.kt.graphql.input
import org.babyfish.jimmer.example.kt.graphql.entities.Author
import org.babyfish.jimmer.example.kt.graphql.entities.Gender
import org.babyfish.jimmer.example.kt.graphql.entities.by
import org.babyfish.jimmer.kt.new
class AuthorInput(
val id: Long?, // Optional... | 0 | null | 0 | 0 | d3850dbb2b22ffa6b277914c0fafc03fa5b673de | 691 | jimmer | MIT License |
mlbusinesscomponents/src/main/java/com/mercadolibre/android/mlbusinesscomponents/components/touchpoint/domain/model/flex_cover_carousel/FlexCoverCarouselResponse.kt | crrodriguesml | 473,360,910 | true | {"Java Properties": 1, "Markdown": 3, "Gradle": 6, "Shell": 1, "Batchfile": 1, "Ignore List": 1, "YAML": 1, "Proguard": 2, "Java": 153, "XML": 60, "Kotlin": 24, "INI": 1, "JSON": 7} | package com.mercadolibre.android.mlbusinesscomponents.components.touchpoint.domain.model.flex_cover_carousel
import android.os.Parcelable
import androidx.annotation.Keep
import com.mercadolibre.android.mlbusinesscomponents.components.touchpoint.view.flex_cover_carousel.pill_touchpoint.PillInterface
import com.mercadol... | 0 | Java | 0 | 0 | 99c758713cd8ae6695f255b4d13aaa0d7416295e | 1,830 | mlbusiness-components-android | The Unlicense |
android/app/src/main/kotlin/com/network/proxy/vpn/socket/ProtectSocketHolder.kt | wanghongenpin | 649,662,864 | false | {"Dart": 1049174, "Kotlin": 107254, "Swift": 30914, "C++": 27239, "Java": 24315, "CMake": 19272, "Ruby": 2831, "C": 1425, "Shell": 869, "Objective-C": 38} | package com.network.proxy.vpn.socket
import java.net.DatagramSocket
import java.net.Socket
/**
* ProtectSocket的持有者,用于在VPNService中获取ProtectSocket的实例
*/
class ProtectSocketHolder {
companion object {
private var protectSocket: ProtectSocket? = null
fun setProtectSocket(protectSocket: ProtectSock... | 55 | Dart | 555 | 6,573 | 201166e466b73b82653c91ccb8e771fa93fe2945 | 727 | network_proxy_flutter | Apache License 2.0 |
pictl-ktor/src/org/unividuell/pictl/server/Modules.kt | cleemansen | 321,330,316 | false | null | package org.unividuell.pictl.server
import io.ktor.application.*
import io.ktor.client.*
import io.ktor.client.engine.cio.*
import io.ktor.client.features.*
import io.ktor.client.features.json.*
import io.ktor.client.features.logging.*
import io.ktor.http.cio.websocket.*
import io.ktor.metrics.micrometer.*
import io.k... | 11 | Kotlin | 2 | 0 | 235814d13523ae9001f72c963e3cdebd2b8d7ae3 | 4,327 | pi-audio-multiroom | MIT License |
Kweeter-Backend/src/main/kotlin/nl/teun/kweeter/authentication/ProfileRole.kt | teunw | 121,419,125 | false | {"Text": 2, "Ignore List": 3, "JSON": 7, "XML": 17, "YAML": 2, "Markdown": 2, "JSON with Comments": 2, "JavaScript": 2, "EditorConfig": 1, "HTML": 17, "CSS": 15, "SCSS": 3, "Python": 26, "Gradle": 1, "Shell": 1, "Batchfile": 2, "AsciiDoc": 1, "Java Properties": 1, "Kotlin": 64, "Java": 2, "Dotenv": 1} | package nl.teun.kweeter.authentication
enum class ProfileRole {
Operator,
Moderator,
Admin
} | 14 | null | 1 | 1 | 9da250bc4717e5c17297e8d2bc9ee0e39b6d53e6 | 105 | JEA6-Kweeter | MIT License |
data/src/main/java/com/youhajun/data/models/enums/SignalingCommand.kt | YeonjunNotPed | 757,175,597 | false | {"Kotlin": 402548} | package com.youhajun.data.models.enums
enum class SignalingCommand(val type: String) {
STATE("state"), // Command for WebRTCSessionState
OFFER("offer"), // to send or receive offer
ANSWER("answer"), // to send or receive answer
ICE("ice"); // to send and receive ice candidates
companion object {
... | 0 | Kotlin | 0 | 0 | d097fe886b1d8d030569765d8a10edd461e89830 | 482 | MyTask | Apache License 2.0 |
CleanUI/src/main/java/devjdelasen/com/cleanui/settingsRow/SettingsRowAction.kt | JonathandelaSen | 302,954,575 | false | null | package devjdelasen.com.cleanui.settingsRow
import android.content.Context
import android.content.res.ColorStateList
import android.util.AttributeSet
import android.view.View
import android.widget.ImageView
import androidx.core.widget.ImageViewCompat
import devjdelasen.com.cleanui.R
import kotlinx.android.synthetic.ma... | 0 | Kotlin | 1 | 19 | b9de3278ce3cac83a7c546bfadc91fe3d40bbf95 | 1,520 | CleanUI | Apache License 2.0 |
mongokrypt-shared/src/main/kotlin/com/mongokrypt/shared/vault/provider/LocalProvider.kt | JacobRhiel | 387,090,389 | false | null | package com.mongokrypt.shared.vault.provider
import com.mongodb.client.model.vault.DataKeyOptions
import com.mongokrypt.shared.vault.configuration.local.LocalProviderConfiguration
/**
* @author Jacob Rhiel <jacob.rhiel@gmail.com>
* @created Jul 17, 2021
*/
class LocalProvider(
uri: String,
namespace: Strin... | 0 | Kotlin | 0 | 0 | 91d52404f706ca5b8fb87cf9e8174f630bfab0db | 1,090 | mongo-krypt | MIT License |
mollib/src/main/java/com/bammellab/mollib/common/util/ConnectionUtil.kt | bammellab | 314,793,120 | true | {"Kotlin": 944764, "Rich Text Format": 254772} | /*
* Copyright 2020 Bammellab / James Andreas
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law o... | 0 | Kotlin | 0 | 2 | 95f040f0ce8f33c35f549fd5828690b7ba0f192d | 11,686 | MotmBrowser | Apache License 2.0 |
zowe-zos-files-for-zowe-sdk/src/jsMain/kotlin/zowe/sdk/zos/files/methods/utilities/doc/Tag.kt | lppedd | 761,812,661 | false | {"Kotlin": 1852866} | @file:JsModule("@zowe/zos-files-for-zowe-sdk")
package zowe.sdk.zos.files.methods.utilities.doc
import seskar.js.JsValue
import seskar.js.JsVirtual
@JsVirtual
@Suppress("NESTED_CLASS_IN_EXTERNAL_INTERFACE")
sealed external interface Tag {
companion object {
@JsValue("text")
val TEXT: Tag
@JsValue("bin... | 0 | Kotlin | 0 | 2 | 657725963b6ad927330d5e8075a6762131b83fa4 | 394 | kotlin-externals | MIT License |
src/main/java/com/example/navigation/ui/toolbar/NavigationUiFragmentOne.kt | vshpyrka | 754,325,488 | false | {"Kotlin": 183594} | package com.example.navigation.ui.toolbar
import android.os.Bundle
import android.view.View
import androidx.fragment.app.Fragment
import androidx.navigation.Navigation
import com.example.navigation.R
class NavigationUiFragmentOne : Fragment(R.layout.fragment_navigation_ui_one) {
override fun onViewCreated(view: ... | 0 | Kotlin | 0 | 0 | 827ddbad0b453e506abfcee9e9dea0e6a2dcd26f | 639 | android-navigation-example | Apache License 2.0 |
app/src/main/java/com/chidurala/rahul/simonsays/Service/GameSequenceChecker.kt | RahulChidurala | 105,840,851 | false | null | package com.chidurala.rahul.simonsays.Service
/**
* Created by Rahul Chidurala on 10/7/2017.
*/
class GameSequenceChecker {
/**
* Checks if the input sequence matches the correctSequence so far
*/
fun checkSequence(correctSequence: Sequence, inputSequence: Sequence): Boolean {
var correct... | 3 | Kotlin | 0 | 0 | 53a6bfc4079c27e1f4df9677a49c10fe63b35d43 | 814 | SimonSays | MIT License |
app/src/main/kotlin/cz/covid19cz/erouska/ui/about/AboutFragment.kt | waqarsqureshi | 305,278,133 | false | {"Gradle": 4, "Markdown": 4, "Shell": 2, "Java Properties": 3, "Text": 1, "Ignore List": 1, "Batchfile": 1, "YAML": 1, "JSON": 3, "Proguard": 2, "Kotlin": 139, "XML": 185, "Java": 43} | package cz.covid19cz.erouska.ui.about
import android.os.Bundle
import android.view.View
import cz.covid19cz.erouska.R
import cz.covid19cz.erouska.databinding.FragmentAboutBinding
import cz.covid19cz.erouska.ext.showWeb
import cz.covid19cz.erouska.ui.base.BaseFragment
import cz.covid19cz.erouska.ui.base.UrlEvent
import... | 1 | null | 1 | 1 | 93df27675ef0dfb8500b2af2d829cd18b8690f1f | 960 | erouska-android | MIT License |
app/src/main/java/com/example/android/codelabs/navigation/mvp/presenter/MainActivityPresenter.kt | capraber | 255,429,808 | true | {"Kotlin": 23492} | package com.example.android.codelabs.navigation.mvp.presenter
import android.view.Menu
import android.view.MenuItem
import com.example.android.codelabs.navigation.mvp.contracts.MainActivityContracts
class MainActivityPresenter(private val view: MainActivityContracts.View) : MainActivityContracts.Presenter{
overri... | 0 | Kotlin | 0 | 0 | 61bbc1d7cd9ec5427ba5e98a39a0fdddd929bd55 | 772 | android-navigation | Apache License 2.0 |
client/android/application/app/src/main/java/com/example/myapplication/network/TopicApi.kt | masai-oss | 342,198,621 | false | {"JavaScript": 477017, "Kotlin": 66497, "CSS": 41389, "Java": 12556, "HTML": 1938, "Shell": 739, "Dockerfile": 235} | package com.example.myapplication.network
import com.example.myapplication.Attempt.PostStart
import com.example.myapplication.Attempt.ResponseQuestionData
import com.example.myapplication.Attempt.ResponseStart
import com.example.myapplication.AuthResponse.AuthTask
import com.example.myapplication.AuthSuccess
import co... | 0 | JavaScript | 4 | 3 | 969ddd0face9a8625ca05df221a4032d299b7fce | 2,642 | Masai_Refresh | MIT License |
lovebird-api/src/main/kotlin/com/lovebird/api/common/resolver/RefreshTokenResolver.kt | wooda-ege | 722,352,043 | false | {"Kotlin": 272409, "HTML": 216136, "Shell": 1813} | package com.lovebird.api.common.resolver
import com.lovebird.api.annotation.RefreshToken
import org.springframework.core.MethodParameter
import org.springframework.stereotype.Component
import org.springframework.web.bind.support.WebDataBinderFactory
import org.springframework.web.context.request.NativeWebRequest
impor... | 2 | Kotlin | 0 | 13 | c9eb61bdff72dee43a003c968e510a753f55bfcc | 972 | lovebird-server | MIT License |
src/main/kotlin/com/developerphil/adbidea/adb/command/ForceStopCommand.kt | longforus | 146,382,514 | false | null | package com.developerphil.adbidea.adb.command
import com.android.ddmlib.IDevice
import com.developerphil.adbidea.adb.AdbUtil.isAppInstalled
import com.developerphil.adbidea.adb.command.receiver.PrintReceiver
import com.developerphil.adbidea.ui.NotificationHelper
import com.developerphil.adbidea.ui.NotificationHelper.*... | 2 | null | 3 | 31 | 8e3c405ca80b9d341b419d65693d4c4d4e0c546e | 1,589 | adb-idea-plus | Apache License 2.0 |
core/src/test/java/com/pouyaheydari/appupdater/core/utils/StoreListUtilTest.kt | SirLordPouya | 159,145,908 | false | null | package com.pouyaheydari.appupdater.core.utils
import com.pouyaheydari.appupdater.core.pojo.Store
import com.pouyaheydari.appupdater.core.pojo.StoreListItem
import org.junit.Assert.assertEquals
import org.junit.Test
internal class StoreListUtilTest {
@Test
fun `when passing both direct and app stores, then a... | 0 | Kotlin | 7 | 56 | f8970a204de6e0f952187d1050bd2f98b49dec55 | 1,537 | AndroidAppUpdater | Apache License 2.0 |
app/src/main/java/com/nikola/jakshic/dagger/profile/matches/byhero/MatchesByHeroPagingSource.kt | nikolajakshic | 113,763,638 | false | {"Kotlin": 258509} | package com.nikola.jakshic.dagger.profile.matches.byhero
import androidx.paging.PagingSource
import androidx.paging.PagingState
import com.nikola.jakshic.dagger.common.Dispatchers
import com.nikola.jakshic.dagger.common.network.OpenDotaService
import com.nikola.jakshic.dagger.profile.matches.MatchJson
import com.nikol... | 2 | Kotlin | 3 | 14 | 95ff37a7000a4ecfae0cf9b1162c3882eebd7a19 | 1,627 | dagger | MIT License |
app/src/main/java/com/github/naz013/facehide/utils/PhotoSelectionUtil.kt | naz013 | 180,198,240 | false | null | package com.github.naz013.facehide.utils
import android.app.Activity
import android.content.ActivityNotFoundException
import android.content.ClipData
import android.content.ContentValues
import android.content.Intent
import android.graphics.Bitmap
import android.net.Uri
import android.os.Environment
import android.pro... | 0 | Kotlin | 1 | 0 | 41144299175c49e345786f493ce584577deefe4f | 6,524 | face-hide-ml | Apache License 2.0 |
MomentumAndroid/src/main/java/com/mwaibanda/momentum/android/MainActivity.kt | MwaiBanda | 509,266,324 | false | null | package com.mwaibanda.momentum.android
import android.app.PictureInPictureParams
import android.content.pm.PackageManager
import android.content.res.ColorStateList
import android.content.res.Configuration
import android.os.Build
import android.os.Bundle
import android.util.Log
import android.util.Rational
import andro... | 0 | Kotlin | 4 | 27 | 81aa7c0fd4500e99df0c0529b78c2a0671b571e7 | 12,500 | Momentum | MIT License |
app/src/main/java/com/benforino/trailtrackerv2/adaptor/trailAdaptor.kt | BenForino | 604,647,388 | false | null | package com.benforino.trailtrackerv2.adaptor
import android.graphics.Bitmap
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.benforino.trailtrackerv2.R
import com.benforino.trailtrackerv2... | 0 | Kotlin | 0 | 0 | b36c2f660ae8fabef0201c01b9a0af2d006382b1 | 1,450 | Trail-Tracker | MIT License |
src/main/kotlin/furhatos/app/sahra/config.kt | Autoura | 647,722,648 | false | null | package furhatos.app.sahra
import furhatos.event.Event
val PORT = 8100 // GUI Port
val SPEECH_ENDED = "SpeechEnded"
val SPEECH_STARTED = "SpeechStarted"
val LISTENING_STARTED = "ListeningStarted"
val LISTENING_ENDED = "ListeningEnded"
val THINKING_STARTED = "ThinkingStarted"
val THINKING_ENDED = "ThinkingEnded"
// ... | 0 | Kotlin | 0 | 0 | b513ea4b0513b16fd9ca6416e797797c212ef853 | 419 | SahraInterview | MIT License |
aws-auth-plugins-core/src/test/java/com/amplifyframework/auth/plugins/core/AuthHubEventEmitterTest.kt | aws-amplify | 177,009,933 | false | {"Java": 5271326, "Kotlin": 3564857, "Shell": 28043, "Groovy": 11755, "Python": 3681, "Ruby": 1874} | /*
* Copyright 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" ... | 105 | Java | 115 | 245 | 14c71f38f052a964b96d7abaff6e157bd21a64d8 | 3,384 | amplify-android | Apache License 2.0 |
app/src/main/java/com/jincal/angellottogenerator/classes/Lotto.kt | jinu0321 | 282,425,778 | false | {"Kotlin": 50183} | package com.jincal.angellottogenerator.classes
import com.beust.klaxon.Json
import java.util.Random
open class Lotto(
@Json(name = "returnValue")
var returnValue: String = "fail",
@Json(name = "totSellamnt")
var totalSellAmount: Long = 0, // 누적 금액
@Json(name = "drwNo")
var episode: Int = 0, ... | 0 | Kotlin | 0 | 0 | 55bbfd0585caa78a19634babcbff82aa1fa87c2f | 2,816 | Angel-Lotto-Generator | Apache License 2.0 |
jdwp-injector/src/main/java/com/wuyr/jdwp_injector/debugger/JdwpInjector.kt | wuyr | 752,326,309 | false | {"Kotlin": 109812, "C++": 3346, "C": 475, "CMake": 229} | package com.wuyr.jdwp_injector.debugger
import android.os.Environment
import com.wuyr.jdwp_injector.adb.AdbClient
import com.wuyr.jdwp_injector.exception.ProcessNotFoundException
import java.io.File
/**
* @author wuyr
* @github https://github.com/wuyr/jdwp-injector-for-android
* @since 2024-01-25 下午6:19
*/
objec... | 0 | Kotlin | 0 | 10 | 1d33400e17fc5bb3e11014032bdb7d0cb0551935 | 3,922 | jdwp-injector-for-android | Apache License 2.0 |
shared/core/persistence/src/commonMain/kotlin/com/thomaskioko/tvmaniac/shared/persistance/SettingsContract.kt | c0de-wizard | 361,393,353 | false | null | package com.thomaskioko.tvmaniac.shared.persistance
import com.thomaskioko.tvmaniac.shared.core.ui.Action
import com.thomaskioko.tvmaniac.shared.core.ui.Effect
sealed class SettingsState
data class SettingsContent(
val theme: Theme,
val showPopup: Boolean,
val showTraktDialog: Boolean,
val loggedIn: ... | 3 | Kotlin | 8 | 81 | 9df7429257c4cff0346734392c89b8017b90bd45 | 1,348 | tv-maniac | Apache License 2.0 |
app/src/main/java/com/rogertalk/roger/network/request/StreamUpdatePlayedUntilRequest.kt | rogertalk | 207,123,525 | false | {"Gradle": 4, "Java Properties": 3, "Markdown": 7, "Text": 6, "Shell": 1, "Ignore List": 3, "Batchfile": 1, "XML": 157, "Proguard": 2, "Kotlin": 408, "Java": 2, "JSON": 1, "Makefile": 2, "C": 105, "C++": 11} | package com.rogertalk.roger.network.request
import com.rogertalk.roger.event.success.SingleStreamSuccessEvent
import com.rogertalk.roger.models.json.Stream
import com.rogertalk.roger.utils.extensions.postEvent
class StreamUpdatePlayedUntilRequest(val streamId: Long, val playedUntilTimestamp: Long) : BaseRequest() {
... | 0 | C | 0 | 1 | 55c9922947311d9d8a1e930463b9ac2a1332e006 | 717 | roger-android | MIT License |
Katydid-CSS-JS/src/main/kotlin/o/katydid/css/styles/builders/KatydidVisibilityStyleBuilder.kt | martin-nordberg | 131,987,610 | false | null | //
// (C) Copyright 2018-2019 Martin E. Nordberg III
// Apache 2.0 License
//
package o.katydid.css.styles.builders
import o.katydid.css.styles.KatydidStyle
import o.katydid.css.types.EVisibility
//---------------------------------------------------------------------------------------------------------------------
... | 1 | Kotlin | 1 | 6 | 8fcb99b2d96a003ff3168aef101eaa610e268bff | 531 | Katydid | Apache License 2.0 |
app/src/main/java/com/temtem/interactive/map/temzone/presentation/auth/sign_in/state/SignInGoogleState.kt | Temtem-Interactive-Map | 568,136,913 | false | null | package com.temtem.interactive.map.temzone.presentation.auth.sign_in.state
import com.google.android.gms.auth.api.identity.BeginSignInResult
sealed interface SignInGoogleState {
object Empty : SignInGoogleState
object Loading : SignInGoogleState
data class Request(val result: BeginSignInResult) : SignInGo... | 0 | Kotlin | 0 | 1 | 338c95ef870b6ead4a58daec914c99583f1dc294 | 441 | Temzone-Android | MIT License |
api/src/main/kotlin/io/zerobase/smarttracing/api/features/organizations/OrganizationsResource.kt | zerobase-io | 249,016,150 | false | null | package io.zerobase.smarttracing.api.features.organizations
import com.google.common.collect.Multimap
import com.google.common.eventbus.EventBus
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings
import io.zerobase.smarttracing.api.resources.Creator
import io.zerobase.smarttracing.common.LoggerDelegate
import i... | 19 | Kotlin | 8 | 6 | e0514f99c78bae6883e1bf50da5ee6a5c87f0a7f | 4,556 | smart-tracing-api | Apache License 2.0 |
app/src/main/java/com/sethchhim/kuboo_client/data/repository/PdfRepository.kt | befora | 137,512,422 | false | null | package com.sethchhim.kuboo_client.data.repository
import com.artifex.mupdf.fitz.Document
import com.sethchhim.epublibdroid_kotlin.task.Task_EpubCoverInputStream
import com.sethchhim.kuboo_client.data.model.GlideEpub
import com.sethchhim.kuboo_client.data.model.GlidePdf
import com.sethchhim.kuboo_client.data.task.pdf.... | 1 | Kotlin | 39 | 81 | 33e456344172eab96b136e30130c4125096f253d | 1,048 | Kuboo | Apache License 2.0 |
mobile-common-lib/src/commonMain/kotlin/fi/riista/common/domain/huntingControl/sync/HuntingControlRhyFromNetworkProvider.kt | suomenriistakeskus | 78,840,058 | false | null | package fi.riista.common.domain.huntingControl.sync
import co.touchlab.stately.concurrency.AtomicReference
import fi.riista.common.domain.huntingControl.sync.dto.LoadRhysAndHuntingControlEventsDTO
import fi.riista.common.domain.huntingControl.sync.dto.toLoadRhyHuntingControlEvents
import fi.riista.common.domain.huntin... | 0 | Kotlin | 0 | 3 | 23645d1abe61c68d649b6d0ca1d16556aa8ffa16 | 1,883 | oma-riista-android | MIT License |
canvas/src/main/java/com/github/boybeak/canvas/AbsRenderer.kt | boybeak | 622,424,516 | false | null | package com.github.boybeak.canvas
import android.view.SurfaceHolder
import com.github.boybeak.canvas.executor.RenderExecutor
abstract class AbsRenderer : ICanvasRenderer {
companion object {
private const val TAG = "AbsRenderer"
}
override fun onSurfaceCreated(holder: SurfaceHolder, executor: Re... | 0 | Kotlin | 0 | 0 | b4e54dd07a71f0d23c289d1fcbcd070fe507a792 | 613 | canvas | MIT License |
flickr-public-feed-android-master/app/src/main/java/com/developer/davidtc/flickrpublicfeedandroid/publicfeed/ui/FeedItemsAdapter.kt | Nils27 | 149,969,437 | false | {"Java": 26782, "Kotlin": 14658} | package com.developer.davidtc.flickrpublicfeedandroid.publicfeed.ui
import android.content.Context
import android.databinding.DataBindingUtil
import android.support.v7.widget.RecyclerView
import android.view.LayoutInflater
import android.view.ViewGroup
import com.developer.davidtc.flickrpublicfeedandroid.R
import com... | 1 | null | 1 | 1 | b2ee474a924699f182d1f76e3033b0f96458c759 | 1,587 | Public_FLikr_Feed | Apache License 2.0 |
app/src/main/java/com/elhady/movies/ui/profile/ratings/RatingViewModel.kt | islamelhady | 301,591,032 | false | {"Kotlin": 397718} | package com.elhady.movies.ui.profile.ratings
import androidx.lifecycle.viewModelScope
import com.elhady.movies.domain.enums.MediaType
import com.elhady.movies.domain.usecases.GetListOfRatedUseCase
import com.elhady.movies.ui.base.BaseViewModel
import com.elhady.movies.utilities.Event
import dagger.hilt.android.lifecyc... | 1 | Kotlin | 0 | 0 | 11cca97dbb5e5358310fa75148a33110c6f3483b | 1,713 | movie-night-v2 | Apache License 2.0 |
infra/src/main/kotlin/fr/sacane/jmanager/infrastructure/postgres/adapters/DatasourceMapper.kt | Sacane | 531,082,439 | false | {"Kotlin": 92781, "Vue": 31862, "TypeScript": 13514} | package fr.sacane.jmanager.infrastructure.postgres.adapters
import fr.sacane.jmanager.domain.models.*
import fr.sacane.jmanager.infrastructure.postgres.entity.*
internal fun Sheet.asResource(): SheetResource {
val resource = SheetResource()
resource.label = this.label
resource.date = this.date
this.e... | 0 | Kotlin | 0 | 0 | c00f0d54922153ca5233ddd119a15a3e9983aa75 | 2,235 | JManager | MIT License |
api/src/main/kotlin/nebulosa/api/cameras/CameraStartCaptureRequest.kt | tiagohm | 568,578,345 | false | {"Kotlin": 2031289, "TypeScript": 322187, "HTML": 164617, "SCSS": 10191, "Python": 2817, "JavaScript": 1119} | package nebulosa.api.cameras
import com.fasterxml.jackson.databind.annotation.JsonDeserialize
import jakarta.validation.Valid
import jakarta.validation.constraints.Positive
import jakarta.validation.constraints.PositiveOrZero
import nebulosa.api.beans.converters.time.DurationDeserializer
import nebulosa.api.guiding.Di... | 1 | Kotlin | 1 | 2 | ab7b7235ffae5f9fb47c4901d71405e2d13a7b23 | 2,310 | nebulosa | MIT License |
app/src/main/java/com/example/upschoolcapstoneproject/data/repository/AuthRepository.kt | Gamzecoskkun | 719,202,608 | false | {"Kotlin": 85051} | package com.example.upschoolcapstoneproject.data.repository
import com.example.upschoolcapstoneproject.common.Resource
import com.google.firebase.auth.FirebaseAuth
import kotlinx.coroutines.tasks.await
class AuthRepository(private val firebaseAuth: FirebaseAuth) {
fun isUserLoggedIn() = firebaseAuth.currentUser ... | 0 | Kotlin | 0 | 0 | 568b56f59f8a5626be8d38fc725a49dec2733fc7 | 1,337 | upschoolcapstoneproject | Freetype Project License |
mc-randomizer-plugin/src/main/kotlin/forbidden/dev/randomizer/Fishing.kt | dkantereivin | 223,837,078 | false | {"Python": 13555, "HTML": 8978, "Kotlin": 8692, "Java": 8490, "JavaScript": 1321, "C++": 881} | package forbidden.dev.randomizer
import org.bukkit.GameMode
import org.bukkit.Material
import org.bukkit.event.EventHandler
import org.bukkit.event.Listener
import org.bukkit.event.player.PlayerFishEvent
import org.bukkit.inventory.ItemStack
object Fishing: Listener {
@EventHandler
fun onFish(event: PlayerFi... | 2 | Python | 3 | 4 | b34b8de719dd088e5e7dd8c8c0206e7ef704c77c | 1,065 | programmers-palace-examples | The Unlicense |
src/main/kotlin/net/bjoernpetersen/musicbot/spi/player/PlayerHistory.kt | BjoernPetersen | 89,800,012 | false | null | package net.bjoernpetersen.musicbot.spi.player
import net.bjoernpetersen.musicbot.api.player.SongEntry
/**
* Keeps track of the history of songs played by the [Player].
*
* The history is limited to a maximum size, it's not kept indefinitely.
*/
interface PlayerHistory {
/**
* Gets the current player his... | 22 | Kotlin | 2 | 5 | 6174262490a182bc9033a331523c36af117b8c3d | 687 | MusicBot | MIT License |
core/src/main/kotlin/org/neo4j/graphql/GraphQLExtensions.kt | rbramley | 369,255,130 | true | {"Kotlin": 237743, "Java": 2521, "Python": 1363, "Shell": 263} | package org.neo4j.graphql
import graphql.Scalars
import graphql.language.*
import graphql.language.TypeDefinition
import graphql.schema.*
import graphql.schema.idl.TypeDefinitionRegistry
import org.neo4j.cypherdsl.core.SymbolicName
import org.neo4j.graphql.DirectiveConstants.Companion.CYPHER
import org.neo4j.graphql.D... | 0 | Kotlin | 0 | 0 | f91e76ef6a3217755d7f99280e57c9fa1b029038 | 11,899 | neo4j-graphql-java | Apache License 2.0 |
architecture/domain/src/main/java/com/aminography/domain/city/CityRepository.kt | aminography | 338,760,259 | false | null | package com.aminography.domain.city
import androidx.paging.PagingData
import com.aminography.model.city.City
import kotlinx.coroutines.flow.Flow
/**
* The abstraction of the city repository that defines expected functions for the concrete child
* class.
*
* @author aminography
*/
interface CityRepository {
... | 0 | Kotlin | 4 | 28 | 7f2d3f08a4b339d6d4778c2c2ed7ac3ec22c219b | 823 | WorldCitiesApp | Apache License 2.0 |
src/main/kotlin/nextstep/subway/member/ui/MemberController.kt | parkchu | 286,419,405 | false | null | package nextstep.subway.member.ui
import nextstep.subway.member.application.MemberService
import nextstep.subway.member.domain.LoginMember
import nextstep.subway.member.dto.MemberRequest
import nextstep.subway.member.dto.MemberResponse
import org.springframework.http.ResponseEntity
import org.springframework.web.bind.... | 0 | Kotlin | 0 | 1 | 0d47fe02069852659b5548ad0a3fe5bd21eeed99 | 1,712 | atdd-with-kotlin | MIT License |
app/src/main/java/js/spotifytool/focuscounter/LoginActivity.kt | Smintheus | 734,762,584 | false | {"Kotlin": 16396} | package js.spotifytool.focuscounter
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import android.util.Log
import android.view.View
import androidx.appcompat.app.AppCompatActivity
import com.spotify.sdk.android.auth.AuthorizationResponse
import js.spotifytool.focuscounter.spotify.Spotify... | 0 | Kotlin | 0 | 0 | 32105600ec7f646414adfa2e71b0c51692a9427a | 1,784 | SpotifySmoothFocusApp | MIT License |
shared/src/commonMain/kotlin/features/favorite/data/source/local/LocalFavoriteDataSource.kt | mamadou94Diop | 683,034,694 | false | {"Kotlin": 41310, "Ruby": 1790, "Swift": 653, "Shell": 228} | package features.favorite.data.source.local
import features.favorite.data.source.FavoriteDataSource
import features.favorite.data.source.local.entity.FavoriteBurgerEntity
import io.realm.kotlin.Realm
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.flow
import kotlinx.coroutines.flow.map
class Local... | 0 | Kotlin | 0 | 0 | ba2cd7c609940989abe33bf7ec2dd3fcaa2edff2 | 1,574 | restaurant-app-compose-multiplatform | Apache License 2.0 |
Android/app/src/main/java/sample/sdk/breez/page/home/receiveonchain/ReceiveOnChain.kt | breez | 681,972,081 | false | {"Kotlin": 132212, "Rust": 2438, "Python": 1484} | package sample.sdk.breez.page.home.receiveonchain
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.padding
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.res.stringResource
import... | 1 | Kotlin | 1 | 1 | 3d1d51830315e0ceb54eca79cd43d14c10ec71f4 | 2,613 | breez-sdk-examples | MIT License |
src/test/kotlin/cl/benm/jsons/command/selector/ClaimSelectorConditionTest.kt | BenMMcLean | 660,937,130 | false | null | package cl.benm.jsons.command.selector
import cl.benm.jsons.config.CompilerConfig
import cl.benm.jsons.context.ClaimsCompilerContext
import cl.benm.jsons.context.CompilerContext
import cl.benm.jsons.exception.CompilerException
import cl.benm.jsons.exception.ContextException
import com.google.gson.JsonArray
import com... | 0 | Kotlin | 0 | 0 | a129ec95d334fef9e71df370a2d8674042a5d4e7 | 3,794 | JSON-Specialiser | Apache License 2.0 |
features/settings/src/main/java/com/kape/settings/ui/screens/mobile/ExternalProxyAppList.kt | pia-foss | 808,533,574 | false | {"Kotlin": 1249493} | package com.kape.settings.ui.screens.mobile
import android.graphics.drawable.Drawable
import androidx.activity.compose.BackHandler
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.defaul... | 3 | Kotlin | 0 | 4 | 151ea781036e280fcbfecfcb5716c7881fc802c1 | 6,893 | mobile-android | MIT License |
app/src/test/java/com/jeanca/mapsapp/utils/JsonReader.kt | hajc1294 | 745,624,364 | false | {"Kotlin": 41854} | package com.jeanca.mapsapp.utils
import com.jeanca.mapsapp.commons.Constants.DATA_TEST_PATH
import java.io.File
import java.io.FileInputStream
object JsonReader {
fun readDataFromJsonFile(filename: String): String {
val file = File("$DATA_TEST_PATH/$filename")
return if (file.exists()) FileInputS... | 0 | Kotlin | 0 | 0 | 3de4c6abf062938317c704e70c07d9b0b5b16520 | 400 | KotlinMapsApp | MIT License |
server/src/main/kotlin/org/octopusden/octopus/releasemanagementservice/ReleaseManagementServiceApplication.kt | octopusden | 768,499,841 | false | {"Kotlin": 66993, "Java": 3146} | package org.octopusden.octopus.releasemanagementservice
import org.springframework.boot.SpringApplication
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.context.properties.ConfigurationPropertiesScan
@SpringBootApplication
@ConfigurationPropertiesScan
class Release... | 0 | Kotlin | 0 | 0 | 84169206296deecd85f7f954252619611f7128ad | 466 | octopus-release-management-service | Apache License 2.0 |
app/src/main/java/com/example/inventory/model/StockViewModel.kt | wenvelope | 538,791,409 | false | null | package com.example.inventory.model
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.Transformations
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.example.inventory.MyApplication
import com.example.inventory.bean.MaterialByRe
import com.example.inventory.rep... | 0 | Kotlin | 0 | 1 | d2fa3c4aa7fa478e57bfff76754919a762c86687 | 945 | Inventory | MIT License |
app/src/main/java/fr/uge/mobistory/DailyEventService.kt | tvelu77 | 838,054,968 | false | {"Kotlin": 118530} | package fr.uge.mobistory
import android.Manifest
import android.annotation.SuppressLint
import android.app.Notification
import android.app.NotificationChannel
import android.app.NotificationManager
import android.app.PendingIntent
import android.app.Service
import android.content.Context
import android.content.Intent
... | 0 | Kotlin | 0 | 0 | 70f2548ef9bd00ca04165fcbcee18067f41b921f | 6,417 | mobistory | MIT License |
app/src/main/java/ir/radical_app/radical/models/CategoryModel.kt | ShahabGT | 183,623,208 | false | {"Java": 492194, "Kotlin": 25016} | package ir.radical_app.radical.models
import com.google.gson.annotations.SerializedName
data class CategoryModel(@SerializedName("data") val list:List<JsonResponse>,
val slider:List<SliderResponse>)
| 1 | null | 1 | 1 | 808eb22fd2e843a958c0e43f243b15ddeb9dbdbd | 226 | Radical | Apache License 2.0 |
uikit-samples/src/main/java/com/sendbird/uikit/samples/common/consts/Region.kt | sendbird | 350,188,329 | false | {"Java": 2425698, "Kotlin": 1378512} | package com.sendbird.uikit.samples.common.consts
enum class Region {
PRODUCTION,
PREPROD,
NO1,
NO2,
NO3,
NO4
;
}
| 1 | Java | 43 | 39 | c2f6aa7f37fb1428a96f3d93cf05e736e3659351 | 142 | sendbird-uikit-android | MIT License |
codebase/android/core-datastore/src/main/java/com/makeappssimple/abhimanyu/financemanager/android/core/datastore/MyDataStore.kt | Abhimanyu14 | 429,663,688 | false | null | package com.makeappssimple.abhimanyu.financemanager.android.core.datastore
import android.content.Context
import androidx.datastore.core.DataStore
import androidx.datastore.preferences.core.Preferences
import androidx.datastore.preferences.preferencesDataStore
import com.makeappssimple.abhimanyu.financemanager.android... | 0 | Kotlin | 0 | 0 | 29afaec0cf4e95ba4d6c0dcc32cba3fea6a088cb | 1,642 | finance-manager | Apache License 2.0 |
prodigy/src/main/java/ds/prodigy/Result.kt | deviant-studio | 68,241,792 | false | {"Gradle": 5, "Shell": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "XML": 26, "Kotlin": 38, "Java": 14, "Java Properties": 1} | package ds.prodigy
class Result<T : Any>(var owner: Presenter<*>, val resultType: Class<T>, val callback: (T?) -> Unit) {
var result: T? = null
} | 0 | Kotlin | 0 | 3 | 076e13cb98196245f61dec3f2e9b13322a41a3cc | 151 | Prodigy-Framework | Apache License 2.0 |
cryptography-providers/openssl3/api/src/commonMain/kotlin/algorithms/Openssl3Aes.kt | whyoleg | 492,907,371 | false | {"Kotlin": 1074574, "JavaScript": 318} | /*
* Copyright (c) 2023-2024 <NAME>. Use of this source code is governed by the Apache 2.0 license.
*/
package dev.whyoleg.cryptography.providers.openssl3.algorithms
import dev.whyoleg.cryptography.*
import dev.whyoleg.cryptography.BinarySize.Companion.bytes
import dev.whyoleg.cryptography.algorithms.*
import dev.w... | 10 | Kotlin | 20 | 302 | 69b77a88b4b81109704475ed02be48d263d1a1c8 | 2,134 | cryptography-kotlin | Apache License 2.0 |
app/src/main/java/com/brins/lightmusic/utils/ShowShadowUtil.kt | BrinsLee | 193,304,333 | false | null | package com.brins.lightmusic.utils
import android.graphics.*
import android.graphics.drawable.Drawable
import android.view.View
import androidx.core.view.ViewCompat
class ShowShadowUtil(
var mShape: Int, var mBgColor: IntArray,
var mShadowRadius: Float,var shadowColor: Int = 0, var mShapeRadius: Float,
va... | 1 | Kotlin | 3 | 20 | f0be073b901efdee40d38824bc3c0cc4d6aa426d | 7,176 | LightMusic | Apache License 2.0 |
src/main/kotlin/org/wint3794/ftc/pathfollower/debug/telemetries/SimulatorSender.kt | WinT-3794 | 267,687,048 | false | null | package org.wint3794.ftc.pathfollower.debug.telemetries
import org.wint3794.ftc.pathfollower.controllers.Robot
import org.wint3794.ftc.pathfollower.debug.DebugConfiguration
import org.wint3794.ftc.pathfollower.geometry.Point
import org.wint3794.ftc.pathfollower.geometry.Pose2d
import org.wint3794.ftc.pathfollower.util... | 0 | Kotlin | 1 | 0 | 8b05c46ddc25317158c9cf92ce9c68fd3e1b9c6e | 3,184 | PathFollower | Apache License 2.0 |
src/main/kotlin/dex/Leb128.kt | changchengfeng | 687,293,199 | false | {"Kotlin": 131482} | package dex
import dex.toByteString
import dex.toInt
import okio.ByteString.Companion.toByteString
import okio.buffer
import okio.sink
import okio.source
import java.io.ByteArrayInputStream
import java.io.ByteArrayOutputStream
import java.nio.ByteBuffer
import java.util.Base64.Decoder
import kotlin.experimental.and
im... | 0 | Kotlin | 0 | 0 | ae3c8850dc66460bdf813391157fd8c2fb7b8deb | 4,224 | DexParser | Apache License 2.0 |
app/src/main/java/com/pelisapp/core/PreferencesApi.kt | UTN-FRBA-Mobile | 366,484,889 | false | null | package com.pelisapp.core
import com.google.firebase.database.DataSnapshot
import com.google.firebase.database.DatabaseError
import com.google.firebase.database.ValueEventListener
import com.google.firebase.database.ktx.database
import com.google.firebase.database.ktx.getValue
import com.google.firebase.ktx.Firebase
... | 0 | Kotlin | 0 | 0 | 68a68ae9bde73e614dfa1f0c9ffd154f218c4712 | 1,169 | PelisApp | MIT License |
wasi-emscripten-host/src/jvmMain/kotlin/jvm/filesystem/nio/NioMkdir.kt | illarionov | 769,429,996 | false | {"Kotlin": 1653596} | /*
* Copyright 2024, the wasm-sqlite-open-helper project authors and contributors. Please see the AUTHORS file
* for details. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
* SPDX-License-Identifier: Apache-2.0
*/
package ru.pixnews.wasm.sqlite.open.helper.host... | 0 | Kotlin | 0 | 3 | 546dc6fce69d2d3704ddf34939ab498931b2d047 | 2,885 | wasm-sqlite-open-helper | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.