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/ru/luckycactus/steamroulette/presentation/utils/extensions/viewModel.kt | luckycactus | 196,364,852 | false | null | package ru.luckycactus.steamroulette.presentation.utils.extensions
import androidx.fragment.app.Fragment
import androidx.fragment.app.viewModels
import androidx.lifecycle.AbstractSavedStateViewModelFactory
import androidx.lifecycle.SavedStateHandle
import androidx.lifecycle.ViewModel
inline fun <reified T : ViewModel... | 0 | Kotlin | 0 | 5 | c6c2b00ca77f8224145ef3182b1910bd249d76ba | 661 | steam-roulette | Apache License 2.0 |
ViewModel/src/main/java/com/example/core/NavigationScreen.kt | NovikFeed | 804,718,118 | false | {"Kotlin": 59354} | package com.example.core
enum class NavigationScreen {
Loading,Login, Register, Chats
} | 0 | Kotlin | 0 | 0 | c2a6a090b97015cb3bb4b087f04b950685cc4474 | 92 | chat-application | MIT License |
bezier/src/main/java/io/channel/bezier/icon/SplitLeftFilled.kt | channel-io | 736,533,981 | false | {"Kotlin": 2421787, "Python": 12500} | @file:Suppress("ObjectPropertyName", "UnusedReceiverParameter")
// Auto-generated by script/generate_compose_bezier_icon.py
package io.channel.bezier.icon
import androidx.compose.foundation.layout.size
import androidx.compose.material.Icon
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifie... | 7 | Kotlin | 3 | 6 | 39cd58b0dd4a1543d54f0c1ce7c605f33ce135c6 | 3,769 | bezier-compose | MIT License |
app/src/main/java/by/offvanhooijdonk/dailyroutine/ui/main/MainViewModel.kt | offvanHooijdonk | 774,881,554 | false | {"Kotlin": 16998} | package by.offvanhooijdonk.dailyroutine.ui.main
import androidx.lifecycle.ViewModel
class MainViewModel : ViewModel() {
} | 0 | Kotlin | 0 | 0 | 1f47888f29e41874183e96e1aee145af8c6239d6 | 123 | daily-routine | Apache License 2.0 |
src/main/kotlin/es/joseluisgs/kotlinspringbootrestservice/config/cors/CorsConfig.kt | joseluisgs | 462,853,361 | false | {"Kotlin": 127596} | package es.joseluisgs.kotlinspringbootrestservice.config.cors
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration
import org.springframework.web.servlet.config.annotation.CorsRegistry
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer
... | 0 | Kotlin | 3 | 2 | 8ba321403c0e672372ed9df79c0ae996ae5c0e91 | 1,484 | Kotlin-SpringBoot-REST-Service | MIT License |
Chapter11/Exercise11.06/app/src/main/java/com/android/testable/camera/ProviderFileManager.kt | PacktWorkshops | 204,445,200 | false | {"Kotlin": 556387} | package com.android.testable.camera
import android.content.Context
import android.os.Environment
import java.io.File
class ProviderFileManager(
private val context: Context,
private val fileHelper: FileHelper
) {
fun generatePhotoUri(time: Long): FileInfo {
val file = File(
context.ge... | 0 | Kotlin | 18 | 9 | ab42898f6debe3bc83d0f08bbb1c0b7dea959d4b | 734 | The-Android-Workshop | MIT License |
pickerkt-ui/src/main/java/io/rektplorer64/pickerkt/ui/component/collection/CountBadge.kt | rektplorer64 | 453,108,501 | false | {"Kotlin": 367937} | package io.rektplorer64.pickerkt.ui.component.collection
import androidx.compose.animation.*
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.size
import androidx.compose.mater... | 2 | Kotlin | 2 | 24 | 2751247e76c50437930aca9b0904591eaecd7fac | 2,258 | picker-kt | Apache License 2.0 |
core/src/nativeMain/kotlin/pw.binom/ByteDataBuffer.kt | dragossusi | 277,504,821 | true | {"C": 13518997, "Kotlin": 569853, "C++": 546364, "Shell": 86} | package pw.binom
import kotlinx.cinterop.*
import platform.posix.free
import platform.posix.malloc
import platform.posix.memcpy
import pw.binom.io.Closeable
actual class ByteDataBuffer private constructor(actual val size: Int) : Closeable, Iterable<Byte> {
actual companion object {
actual fun alloc(size: ... | 0 | null | 0 | 0 | d16040b0f0d340104194014fc174858244684813 | 2,502 | pw.binom.io | Apache License 2.0 |
app/src/main/java/com/androiddevs/firebasenotifications/Constants.kt | abhinay100 | 700,343,283 | false | {"Kotlin": 8253} | package com.androiddevs.firebasenotifications
/**
* Created by Abhinay on 04/10/23.
*/
class Constants {
companion object {
const val BASE_URL = "https://fcm.googleapis.com"
const val SERVER_KEY = "<KEY><KEY>"
const val CONTENT_TYPE = "application/json"
}
} | 0 | Kotlin | 0 | 0 | 21bd874527248afca764e07e7bf75609bd374cc2 | 292 | FirebasePushNotification | MIT License |
aws-ses-request-handler/src/main/kotlin/com/johnturkson/aws/ses/requesthandler/SESConfiguration.kt | JohnTurkson | 293,227,996 | false | null | package com.johnturkson.aws.ses.requesthandler
import com.johnturkson.aws.requesthandler.AWSServiceConfiguration
data class SESConfiguration(
override val region: String,
override val path: String,
override val service: String = "ses",
override val endpoint: String = "https://email.$region.amazonaws.c... | 0 | Kotlin | 0 | 0 | f89c32631f230660fcdea6a0974d5f297a5cb76e | 491 | aws-tools | Apache License 2.0 |
src/main/java/cn/starrah/thu_course_backend/utils/CookiedFuel.kt | Starrah | 258,477,700 | false | null | package cn.starrah.thu_course_backend.utils
import com.github.kittinunf.fuel.core.FuelManager
import com.github.kittinunf.fuel.core.Headers
import com.github.kittinunf.fuel.core.Request
import com.github.kittinunf.fuel.core.Response
import java.util.regex.Pattern
import com.github.kittinunf.fuel.core.interceptors.redi... | 0 | Kotlin | 1 | 4 | 587852c5e09a1ec4805aa30a0b090191de5a2690 | 2,556 | THUCourseHelperBackend | MIT License |
straight/src/commonMain/kotlin/me/localx/icons/straight/outline/BugSlash.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.straight.outline
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Mite... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 4,360 | icons | MIT License |
src/main/kotlin/com/vepanimas/intellij/prisma/lang/types/PrismaReferencedType.kt | vepanimas | 527,378,342 | false | {"Kotlin": 303241, "HTML": 7321, "Lex": 2375, "JavaScript": 1076} | package com.vepanimas.intellij.prisma.lang.types
import com.intellij.psi.PsiElement
import com.intellij.psi.PsiNamedElement
import com.vepanimas.intellij.prisma.lang.psi.PrismaFieldType
class PrismaReferencedType(val name: String, element: PsiElement) :
PrismaTypeBase(element),
PrismaResolvableType {
ove... | 0 | Kotlin | 0 | 0 | f98b18d5f9f451d70994ebe672ab9a584f184b73 | 587 | intellij-prisma | Apache License 2.0 |
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/Auto.kt | AlejandroE25 | 563,062,386 | false | {"Java": 50715, "Kotlin": 18110} | package org.firstinspires.ftc.teamcode
import com.acmerobotics.dashboard.FtcDashboard
import com.acmerobotics.dashboard.telemetry.MultipleTelemetry
import com.qualcomm.robotcore.eventloop.opmode.Autonomous
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode
import org.firstinspires.ftc.teamcode.DriveConstants.... | 1 | null | 1 | 1 | a32db6958b2587b882e582094e1623d6229ab674 | 3,721 | FTC_POWER_PLAY | BSD 3-Clause Clear License |
marathons/oxfordCompSoc/y2024ht_robotMazeSolvingCompetition/robotMazeSolvingCompetition.kt | mikhail-dvorkin | 93,438,157 | false | {"XML": 3, "Text": 1, "Ignore List": 1, "Markdown": 5, "Java": 988, "Shell": 20, "Python": 66, "Kotlin": 512, "INI": 1, "Batchfile": 2, "Diff": 1, "Haskell": 140} | package marathons.oxfordCompSoc.y2024ht_robotMazeSolvingCompetition //TESTING
import java.io.*
private val TO_EVAL = -3 until 100
private val EVALUATOR: (() -> Unit)
= { marathons.utils.evaluate(::robotMazeSolvingCompetitionEval, TO_EVAL) } //TESTING
// ?= null //SUBMISSION
@Suppress("SENSELESS_COMPARISON")
privat... | 0 | Java | 1 | 9 | bf2846347011309aace0c4a04ac5355296dfbd90 | 11,412 | competitions | The Unlicense |
src/com/hxz/mpxjs/web/symbols/VueDocumentedItemSymbol.kt | wuxianqiang | 508,329,768 | false | {"Kotlin": 1447881, "Vue": 237479, "TypeScript": 106023, "JavaScript": 93869, "HTML": 17163, "Assembly": 12226, "Lex": 11227, "Java": 2846, "Shell": 1917, "Pug": 338} | // Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.hxz.mpxjs.web.symbols
import com.intellij.webSymbols.PsiSourcedWebSymbol
import com.intellij.model.Symbol
import com.intellij.model.presentation.SymbolPresentation
//import com.intellij.... | 2 | Kotlin | 0 | 4 | e069e8b340ab04780ac13eab375d900f21bc7613 | 1,755 | intellij-plugin-mpx | Apache License 2.0 |
plugins/publish-plugin/src/main/kotlin/AndroidAppyxPublishPlugin.kt | bumble-tech | 493,334,393 | false | {"Kotlin": 829246, "Python": 2324, "HTML": 347, "Shell": 327, "CSS": 134} | import com.android.build.gradle.LibraryExtension
import org.gradle.api.Project
import org.gradle.api.publish.PublicationContainer
import org.gradle.api.publish.maven.MavenPublication
import org.gradle.kotlin.dsl.configure
import org.gradle.kotlin.dsl.create
import org.gradle.kotlin.dsl.get
internal class AndroidAppyxP... | 85 | Kotlin | 54 | 997 | f5cc89fbdf9a168a70f8e9f11313e6524914179a | 1,543 | appyx | Apache License 2.0 |
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/twotone/Keysquare.kt | Tlaster | 560,394,734 | false | {"Kotlin": 25133302} | package moe.tlaster.icons.vuesax.vuesaxicons.twotone
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx... | 0 | Kotlin | 0 | 2 | b8a8231e6637c2008f675ae76a3423b82ee53950 | 3,864 | VuesaxIcons | MIT License |
src/main/kotlin/com/github/l1an/yubattlemusic/YuBattleMusic.kt | L1-An | 777,987,419 | false | {"Kotlin": 11342} | package com.github.l1an.yubattlemusic
import taboolib.common.platform.Platform
import taboolib.common.platform.Plugin
import taboolib.common.platform.function.console
import taboolib.common.platform.function.pluginVersion
import taboolib.module.chat.colored
import taboolib.module.metrics.Metrics
object YuBattleMusic ... | 0 | Kotlin | 0 | 0 | 587aba762b885a9c1ec73e85fdf05809a0d43718 | 660 | YuBattleMusic | Creative Commons Zero v1.0 Universal |
data/releases/src/main/java/tech/dalapenko/data/releases/datasource/remote/RemoteDataSource.kt | dalapenko | 739,864,810 | false | {"Kotlin": 136155, "Dockerfile": 1314} | package tech.dalapenko.data.releases.datasource.remote
import tech.dalapenko.data.releases.model.Release
import tech.dalapenko.core.network.adapter.NetworkResponse
interface RemoteDataSource {
suspend fun getReleaseList(month: String, year: Int): NetworkResponse<List<Release>>
} | 0 | Kotlin | 0 | 0 | c1c5e965deb7216fbccf050175a66f9a07993079 | 286 | kinosearch | Apache License 2.0 |
app/src/main/java/ru/mrfrozzen/cookbook/data/CategoryWithRecipes.kt | MrFrozzen | 222,162,272 | false | null | package ru.mrfrozzen.cookbook.data
import androidx.room.Embedded
import androidx.room.Relation
import ru.mrfrozzen.cookbook.data.db.entity.Category
import ru.mrfrozzen.cookbook.data.db.entity.Recipe
class CategoryWithRecipes {
@Embedded
var category: Category? = null
@Relation(parentColumn = "category_i... | 0 | Kotlin | 0 | 0 | 0d417a0beb30d3b9628372f67395ae7afbb0e715 | 427 | Cookbook | Apache License 2.0 |
data/repository/city/cityrepo-impl/src/test/kotlin/com/francescsoftware/weathersample/data/repository/city/impl/CityRepositoryImplTest.kt | fvilarino | 355,724,548 | false | {"Kotlin": 593148, "Shell": 60} | package com.francescsoftware.weathersample.data.repository.city.impl
import assertk.assertThat
import assertk.assertions.isEqualTo
import assertk.assertions.isInstanceOf
import assertk.assertions.isNotNull
import com.francescsoftware.weathersample.core.type.either.Either
import com.francescsoftware.weathersample.core.... | 2 | Kotlin | 1 | 39 | ad29136cf04ae479db6b50109d3410e54e881f61 | 5,483 | Weather-Sample | Apache License 2.0 |
src/main/kotlin/me/camdenorrb/purrbot/cmd/impl/LeaderBoardCmd.kt | camdenorrb | 169,963,697 | false | null | package me.camdenorrb.purrbot.cmd.impl
import me.camdenorrb.purrbot.cmd.struct.MemberCmd
import me.camdenorrb.purrbot.cmd.struct.context.MemberCmdContext
import me.camdenorrb.purrbot.data.ChannelData
import me.camdenorrb.purrbot.store.ScramblerStore
import me.camdenorrb.purrbot.utils.createEmbed
import net.dv8tion.jda... | 0 | Kotlin | 0 | 0 | 96aca918cd2b59caa9678080101f37f6410d7db5 | 1,253 | PurrBot | MIT License |
features/quiz/src/main/java/com/zigis/paleontologas/features/quiz/stories/finalresult/QuizFinalResultIntent.kt | edgar-zigis | 240,962,785 | false | {"Kotlin": 217487} | package com.zigis.paleontologas.features.quiz.stories.finalresult
import com.zigis.paleontologas.core.architecture.interfaces.IIntent
sealed class QuizFinalResultIntent : IIntent {
data class Initialize(val mark: Int) : QuizFinalResultIntent()
data object InvokeBack : QuizFinalResultIntent()
} | 0 | Kotlin | 16 | 123 | 5dbf133cc334c949d10a6caf37a8a698ecd873ca | 304 | Paleontologas | Apache License 2.0 |
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/filled/ArrowUpSquare.kt | walter-juan | 868,046,028 | false | {"Kotlin": 34345428} | package com.woowla.compose.icon.collections.tabler.tabler.filled
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.S... | 0 | Kotlin | 0 | 3 | eca6c73337093fbbfbb88546a88d4546482cfffc | 3,082 | compose-icon-collections | MIT License |
src/main/java/net/ccbluex/liquidbounce/features/module/modules/world/Fisher.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.features.module.modules.world
import net.ccbluex.liquidbounce.event.EventTarget
import net.ccbluex... | 3 | Kotlin | 0 | 0 | b48c4e83c888568111a6665037db7fd3f7813ed3 | 3,183 | FDPClient | MIT License |
app/src/main/java/com/samuelokello/kazihub/data/repository/AuthRepositoryImp.kt | OkelloSam21 | 749,782,789 | false | {"Kotlin": 278163} | package com.samuelokello.kazihub.data.repository
import android.util.Log
import com.samuelokello.kazihub.data.model.profile.ProfileResponse
import com.samuelokello.kazihub.data.model.sign_in.SignInRequest
import com.samuelokello.kazihub.data.model.sign_in.SignInResponse
import com.samuelokello.kazihub.data.remote.Kazi... | 0 | Kotlin | 0 | 0 | 510745d20b259d7930fa58481181080fd70a4a9f | 3,139 | KaziHub | MIT License |
src/main/kotlin/io/ysakhno/adventofcode2015/util/AlgorithmsEx.kt | YSakhno | 816,649,625 | false | {"Kotlin": 93259} | @file:Suppress("unused")
package io.ysakhno.adventofcode2015.util
/**
* Searches this list or its sub-range for an element for which the given [comparison] function returns zero using the
* binary search algorithm. Unlike the [binarySearch] function from Kotlin Standard Library, this function (and
* consequently,... | 0 | Kotlin | 0 | 0 | 200685847c7abf2e66f6af95cb3982a8b42713b4 | 4,575 | advent-of-code-2015-in-kotlin | MIT License |
sample/src/main/java/com/synesthesia/pushmanager/sample/view/PushTokenActivity.kt | synesthesia-it | 316,270,228 | false | null | //
// Created by <NAME> on 25/11/2020.
// Copyright © 2020 Synesthesia. All rights reserved.
//
package com.synesthesia.pushmanager.sample.view
import android.os.Bundle
import android.widget.Button
import android.widget.TextView
import androidx.activity.viewModels
import androidx.fragment.app.FragmentActivity
impor... | 0 | Kotlin | 0 | 4 | d7937a91b184f9f36839b45712b9b7fe70e844c6 | 1,101 | PushManager | MIT License |
blockstack-sdk/src/main/java/org/blockstack/android/sdk/Scopes.kt | fiatexodus | 146,040,832 | true | {"JavaScript": 5132748, "Kotlin": 102301, "HTML": 4872, "CSS": 1691} | package org.blockstack.android.sdk
/**
* An enum of scopes supported in Blockstack Authentication.
*
* @property scope identifies the permission, same as in blockstack.js
*/
enum class Scope(val scope: String) {
/**
* Read and write data to the user's Gaia hub in an app-specific storage bucket.
*
... | 0 | JavaScript | 0 | 0 | 6a34b6abf0b3c2c9e19c59bdb9364d219ff157a6 | 1,061 | blockstack-android | MIT License |
kProperties-core/src/commonMain/kotlin/de/kotlinBerlin/kProperties/binding/CombinedBindingsFactory.kt | KotlinBerlin | 276,181,033 | false | null | @file:Suppress("unused")
package de.kotlinBerlin.kProperties.binding
import de.kotlinBerlin.kProperties.constants.toObservableConst
import de.kotlinBerlin.kProperties.value.KObservableValue
/**
* Creates a new [KBinding] which observes [this] as well as all of [anObservablesList] and combines their values
* using ... | 0 | Kotlin | 0 | 1 | e4f37018e15bb291c68b677d9b1d8b559d80f6d5 | 8,000 | kProperties | Apache License 2.0 |
domain/src/main/kotlin/dev/notypie/domain/command/dto/SlackEventResponse.kt | TrulyNotMalware | 810,739,918 | false | {"Kotlin": 2097} | package dev.notypie.domain.command.dto
open class SlackEventResponse(
val ok: Boolean,
val warning: String,
val error: String,
val needed: String,
val provided: String
) {
} | 0 | Kotlin | 0 | 0 | 1957383269756118941225e4ce84bc0ba245e3ca | 194 | CodeCompanion | MIT License |
app/src/main/java/io/agora/education/config/ConfigService.kt | AgoraIO-Community | 330,886,965 | false | null | package io.agora.education.config
import io.agora.agoraeducore.core.internal.education.impl.network.HttpBaseRes
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Path
interface ConfigService {
@GET("edu/v3/rooms/{roomUuid}/roles/{role}/users/{userUuid}/token")
fun getConfigV3(
@Pa... | 4 | Kotlin | 19 | 16 | 1d58c5a056cf6d126d9796999f72a6c3a17b911e | 797 | CloudClass-Android | MIT License |
src/main/kotlin/br/com/jiratorio/service/chart/HistogramService.kt | andrelugomes | 230,294,644 | true | {"Kotlin": 541514, "PLSQL": 366, "Dockerfile": 315, "TSQL": 269} | package br.com.jiratorio.service.chart
import br.com.jiratorio.domain.entity.Issue
import br.com.jiratorio.domain.entity.embedded.Histogram
interface HistogramService {
fun issueHistogram(issues: List<Issue>): Histogram
}
| 0 | null | 0 | 1 | 168de10e5e53f31734937816811ac9dae6940202 | 230 | jirareport | MIT License |
src/main/kotlin/me/blast/command/slash/SlashCommand.kt | vyfor | 681,682,310 | false | {"Kotlin": 179726} | package me.blast.command.slash
import me.blast.command.Arguments
import me.blast.command.BaseCommand
import me.blast.command.text.TextCommand
import me.blast.command.argument.builder.ArgumentBuilder
import org.javacord.api.entity.permission.PermissionType
import kotlin.time.Duration
abstract class SlashCommand(
nam... | 0 | Kotlin | 0 | 5 | 1db06a6405010f53db2913fd7b071810b4007260 | 1,130 | Cordex | MIT License |
library/src/main/java/eu/darken/mvpbakery/injection/broadcastreceiver/BroadcastReceiverComponent.kt | d4rken | 123,724,699 | false | null | package eu.darken.mvpbakery.injection.broadcastreceiver
import android.content.BroadcastReceiver
import dagger.android.AndroidInjector
interface BroadcastReceiverComponent<ReceiverT : BroadcastReceiver> : AndroidInjector<ReceiverT> {
abstract class Builder<ReceiverT : BroadcastReceiver, ComponentT : BroadcastRec... | 0 | Kotlin | 14 | 39 | ddf2249eda5ac707f116f1db01e11c2f3df58077 | 446 | mvp-bakery | MIT License |
test/org/jetbrains/r/mock/MockInterpreterStateProvider.kt | JetBrains | 214,212,060 | false | {"Kotlin": 2850624, "Java": 814635, "R": 36890, "CSS": 23692, "Lex": 14307, "HTML": 10063, "Rez": 245, "Rebol": 64} | /*
* Copyright 2000-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 file.
*/
package org.jetbrains.r.mock
import com.intellij.openapi.vfs.VirtualFile
import org.jetbrains.r.common.ExpiringList
import org.jetbrains.r.common.emptyExpiringList
import... | 2 | Kotlin | 12 | 62 | 801234f9bee37a12063d11dff6515b9517555e31 | 1,496 | Rplugin | Apache License 2.0 |
src/test/kotlin/MimeTypesVideoTest.kt | markwhitaker | 456,146,247 | false | null | package uk.co.mainwave.mimetypeskotlin
import org.junit.Assert
import org.junit.Test
class MimeTypesVideoTest {
@Test
fun testVideoH264() = Assert.assertEquals("video/h264", MimeTypes.Video.H264)
@Test
fun testVideoMp4() = Assert.assertEquals("video/mp4", MimeTypes.Video.MP4)
@Test
fun testV... | 0 | Kotlin | 0 | 2 | 6ec340c32ae297719c57191d15da457fe8805453 | 1,112 | MimeTypes.kt | Apache License 2.0 |
app/src/main/java/com/example/newsapp/viewModel/NewsViewModelProviderFactory.kt | rybakova-auca-2021 | 638,567,705 | false | null | package com.example.newsapp.viewModel
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import com.example.newsapp.repository.NewsRepository
class NewsViewModelProviderFactory(val NewsRepository: NewsRepository) : ViewModelProvider.Factory {
override fun <T : ViewModel> create(modelC... | 0 | Kotlin | 0 | 0 | 24511f4de83fed30879be537d7801706b4f77a93 | 398 | Neobis_Android_News_App | MIT License |
app/src/main/java/com/xluo/nops/adapter/PenModeAdapter.kt | VocientLuo | 794,170,414 | false | {"Kotlin": 469730, "Java": 118636} | package com.xluo.nops.adapter
import android.content.Context
import android.view.LayoutInflater
import android.view.ViewGroup
import com.xluo.lib_base.adapter.BaseSingleRVAdapter
import com.xluo.nops.R
import com.xluo.nops.databinding.PopPenModeItemBinding
import com.xluo.pen.core.PenMixMode
class PenModeAdapter(cont... | 0 | Kotlin | 0 | 0 | 2ffabe9101cf772ee51a76a48b4287e18e64a5ed | 1,294 | NoPS | Apache License 2.0 |
src/commonMain/kotlin/codes/spectrum/konveyor/IHandlerContainerBuilder.kt | svok | 216,475,985 | false | null | /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 0 | Kotlin | 1 | 1 | 4d201c9ac18fc5c21dde18a979f519788d230cdc | 2,540 | konveyor | Apache License 2.0 |
app-tv/src/main/kotlin/app/ss/tv/presentation/home/HomeUiScreen.kt | Adventech | 65,243,816 | false | {"Kotlin": 1485130, "Java": 23539, "CSS": 9010, "JavaScript": 7718, "HTML": 2229, "Shell": 544} | /*
* Copyright (c) 2023. Adventech <<EMAIL>>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge... | 6 | Kotlin | 42 | 151 | f929fe8123382ce7b313f41b9cf467487ce5916b | 5,197 | sabbath-school-android | MIT License |
app/src/main/java/com/bawp/jetweatherapp/screens/screens/main/MainScreen.kt | pdichone | 428,785,582 | false | {"Kotlin": 75337} | package com.bawp.jetweatherapp.screens.screens.main
import androidx.compose.animation.ExperimentalAnimationApi
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.items
import androidx.compo... | 0 | Kotlin | 0 | 2 | 3ddc8b97a5cdeae15c81b394718e594e51ef2044 | 6,956 | jetWeatherApp-Test | Apache License 2.0 |
apps/processing/common/src/main/kotlin/io/enkrypt/common/config/ChainId.kt | briandevilish | 169,686,634 | true | {"Kotlin": 312805, "TypeScript": 204497, "Vue": 187785, "HCL": 64972, "Shell": 59077, "Dockerfile": 11314, "JavaScript": 7539, "CSS": 803, "HTML": 783} | package io.enkrypt.common.config
enum class ChainId(val number: Int) {
MainNet(1),
Morden(2),
Ropsten(3),
Rinkleby(4),
UbiqMainNet(8),
UbiqTestNest(9),
RootStockMainNet(30),
RootStockTestNet(31),
Kovan(42),
EthClassicMainNet(61),
EthClassicTestNet(62),
EWasmTestNet(66),
GethPrivateChains(133... | 0 | Kotlin | 0 | 0 | c748068d143c42aded70441e82534dadb1cd0488 | 359 | ethvm | MIT License |
2GDAW/TFC/Activiza (front end)/app/src/main/java/com/activiza/activiza/data/RutinaPostData.kt | Barraguesh | 702,637,366 | false | {"Kotlin": 180174, "Python": 33897, "Dockerfile": 787, "Shell": 240} | package com.activiza.activiza.data
import com.google.gson.annotations.SerializedName
data class RutinaPostData (
@SerializedName("id") var id:Int,
@SerializedName("nombre") var nombre:String,
@SerializedName("descripcion") var descripcion:String,
@SerializedName("ejercicios") var ejercicios:List<Int>,... | 0 | Kotlin | 0 | 0 | 2361b0a4bb31a378c4bf2f2df735ca342565b74c | 595 | GDAM | MIT License |
src/main/kotlin/io/github/gciatto/kt/node/SetRegistryTask.kt | gciatto | 276,425,519 | false | null | package io.github.gciatto.kt.node
open class SetRegistryTask : AbstractNodeExecTask() {
override fun setupArguments(): Array<String> {
return arrayOf(
npm.get().absolutePath,
"set",
"registry",
"https://${registry.get()}/"
)
}
}
| 5 | Kotlin | 2 | 17 | 2db056208571d9b547dcdd223ceec812f81504c3 | 302 | kt-npm-publish | Apache License 2.0 |
compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/carousel/Carousel.kt | androidx | 256,589,781 | false | {"Kotlin": 95878258, "Java": 67276414, "C++": 9121933, "AIDL": 629410, "Python": 308602, "Shell": 191832, "TypeScript": 40586, "HTML": 26377, "Svelte": 20307, "ANTLR": 19860, "C": 16935, "CMake": 14401, "Groovy": 13532, "GLSL": 3842, "Swift": 3153, "JavaScript": 3019} | /*
* Copyright 2024 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 27 | Kotlin | 901 | 4,898 | e7c7c42655aba3f04cb7672f2eb02744bd24ce7f | 7,815 | androidx | Apache License 2.0 |
src/main/kotlin/no/nav/tilleggsstonader/sak/migrering/routing/SøknadRoutingService.kt | navikt | 685,490,225 | false | {"Kotlin": 2149188, "Gherkin": 54372, "HTML": 39535, "Shell": 924, "Dockerfile": 164} | package no.nav.tilleggsstonader.sak.migrering.routing
import no.nav.tilleggsstonader.kontrakter.arena.ArenaStatusDto
import no.nav.tilleggsstonader.kontrakter.felles.IdentStønadstype
import no.nav.tilleggsstonader.kontrakter.felles.ObjectMapperProvider.objectMapper
import no.nav.tilleggsstonader.kontrakter.felles.Støn... | 3 | Kotlin | 1 | 0 | 7520818c5a146efeb6ad3c690bc6155bf08a09ae | 5,093 | tilleggsstonader-sak | MIT License |
app/src/main/java/com/devcommop/myapplication/ui/components/authscreen/SignInState.kt | pareekdevansh | 648,905,400 | false | null | package com.devcommop.myapplication.ui.components.authscreen
data class SignInState(
val isSignInSuccessful : Boolean = false ,
val signInError : String? = null
) | 0 | Kotlin | 0 | 0 | d0fda60a15fe2c7bd93596cf6582fccdbccb788a | 171 | Social-Jaw | MIT License |
app/src/main/java/net/yslibrary/monotweety/activity/ActionBarProvider.kt | konvergent | 72,869,271 | true | {"Kotlin": 177053, "Java": 2401} | package net.yslibrary.monotweety.activity
import android.support.v7.app.ActionBar
/**
* Created by yshrsmz on 2016/09/25.
*/
interface ActionBarProvider {
fun getSupportActionBar(): ActionBar?
} | 0 | Kotlin | 0 | 0 | d662f9de6e7cbef180ee81964b6340a9a0aee3c0 | 200 | monotweety | Apache License 2.0 |
library_widget/src/main/java/com/knight/kotlin/library_widget/CompatToolBar.kt | KnightAndroid | 438,567,015 | false | {"Kotlin": 1817006, "Java": 294277, "HTML": 46741, "C": 31605, "C++": 14920, "CMake": 5510} | package com.knight.kotlin.library_widget
import android.content.Context
import android.content.res.Resources
import android.os.Build
import android.util.AttributeSet
import android.widget.Toolbar
/**
* Author:Knight
* Time:2021/12/24 16:08
* Description:CompatToolBar
*/
class CompatToolBar : Toolbar {
@JvmOv... | 0 | Kotlin | 3 | 6 | d423c9cf863afe8e290c183b250950bf155d1f84 | 1,570 | wanandroidByKotlin | Apache License 2.0 |
app/src/main/java/xyz/tberghuis/floatingtimer/common/OverlayState.kt | tberghuis | 500,632,576 | false | null | package xyz.tberghuis.floatingtimer.common
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
import androidx.compose.ui.unit.IntOffset
class OverlayState {
var timerOffset by mutableStateOf(IntOffset.Zero)
var showTrash by mutableState... | 6 | Kotlin | 0 | 19 | 91af4efb1abce0292b70150f18f64ea331d72c09 | 605 | FloatingCountdownTimer | MIT License |
app/src/main/java/uk/nhs/nhsx/covid19/android/app/exposure/sharekeys/ShareKeysInformationViewModel.kt | coderus-ltd | 369,240,870 | true | {"Kotlin": 3133494, "Shell": 1098, "Ruby": 847, "Batchfile": 197} | package uk.nhs.nhsx.covid19.android.app.exposure.sharekeys
import android.app.Activity
import androidx.lifecycle.LiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import kotlinx.coroutines.launch
import uk.nhs.nhsx.covid19.android.app.exposure.sharekeys.ShareKeysNavigateTo.Finish
im... | 0 | null | 0 | 0 | b74358684b9dbc0174890db896b93b0f7c6660a4 | 3,893 | covid-19-app-android-ag-public | MIT License |
dsl/src/main/kotlin/cloudshift/awscdk/dsl/services/fms/_BuildableLastArgumentExtensions.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package cloudshift.awscdk.dsl.services.fms
import kotlin.Unit
import software.amazon.awscdk.services.fms.CfnPolicy
/**
* Details about the s... | 1 | Kotlin | 0 | 0 | 17c41bdaffb2e10d31b32eb2282b73dd18be09fa | 1,314 | awscdk-dsl-kotlin | Apache License 2.0 |
src/main/kotlin/string/StringCompression.kt | ghonix | 88,671,637 | false | null | package string
/**
* https://leetcode.com/problems/string-compression/
*/
class StringCompression {
fun compress(chars: CharArray): Int {
var index = 0
var compressedIndex = 0
while (index < chars.size) {
var current = chars[index]
var endOfRepeated = index + 1
... | 0 | Kotlin | 0 | 2 | 25d4ba029e4223ad88a2c353a56c966316dd577e | 1,126 | Problems | Apache License 2.0 |
app/src/main/java/com/particle/sample/utils/Ext.kt | Particle-Network | 672,722,314 | false | null | package com.particle.sample.utils
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import androidx.fragment.app.Fragment
import com.afollestad.materialdialogs.MaterialDialog
import com.particle.base.ParticleNetwork
import com.particle.base.isTron
import com.particle.base.utils.toTronBase58
i... | 0 | Kotlin | 0 | 0 | 82bf32ee839aaf29bdb6b79190195960db5fc3d9 | 2,503 | particle-mpc-core-android | Apache License 2.0 |
app/src/main/java/com/yaman/multiplemoduleapp/MainActivity.kt | Yamanaswal | 685,417,811 | false | {"Kotlin": 74236} | package com.yaman.multiplemoduleapp
import android.Manifest
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android.widget.Button
import com.yaman.pdf_viewer.ui.PdfViewerActivity
import com.yaman.runtime_permissions.coroutine_permiss... | 0 | Kotlin | 0 | 0 | 51792700730e847231effd5ec79b006e1f7dd4e8 | 1,213 | MultipleModuleApp | MIT License |
app/src/main/java/com/namanh/lovedays/core/navigation/Navigator.kt | namanh11611 | 301,474,275 | false | null | package com.namanh.lovedays.core.navigation
import android.content.ActivityNotFoundException
import android.content.Context
import android.content.Intent
import android.net.Uri
import android.view.View
import android.widget.ImageView
import androidx.core.app.ActivityOptionsCompat
import androidx.fragment.app.FragmentA... | 0 | Kotlin | 0 | 0 | cf3bacd74fb6823daaa23057be1f1159fc63f97a | 2,415 | LoveDays | MIT License |
json-builder/kotlin/src/generated/kotlin/divkit/dsl/AlignmentVertical.kt | divkit | 523,491,444 | false | {"Kotlin": 7327303, "Swift": 5164616, "Svelte": 1148832, "TypeScript": 912803, "Dart": 630920, "Python": 536031, "Java": 507940, "JavaScript": 152546, "CSS": 37870, "HTML": 23434, "C++": 20911, "CMake": 18677, "Shell": 8895, "PEG.js": 7210, "Ruby": 3723, "C": 1425, "Objective-C": 38} | @file:Suppress(
"unused",
"UNUSED_PARAMETER",
)
package divkit.dsl
import com.fasterxml.jackson.annotation.JsonAnyGetter
import com.fasterxml.jackson.annotation.JsonIgnore
import com.fasterxml.jackson.annotation.JsonValue
import divkit.dsl.annotation.*
import divkit.dsl.core.*
import divkit.dsl.scope.*
import... | 5 | Kotlin | 128 | 2,240 | dd102394ed7b240ace9eaef9228567f98e54d9cf | 609 | divkit | Apache License 2.0 |
app/src/main/java/com/montfel/pokfinder/data/profile/dto/PokemonProfileDto.kt | Montfel | 489,497,209 | false | null | package com.montfel.pokfinder.data.profile.dto
import com.google.gson.annotations.SerializedName
import com.montfel.pokfinder.domain.profile.model.EV
import com.montfel.pokfinder.domain.profile.model.PokemonProfile
import com.montfel.pokfinder.data.DtoMapper
import com.montfel.pokfinder.data.profile.dto.AbilitiesDto
... | 24 | Kotlin | 2 | 6 | 32102e924ec7e91a7f9bf387f9e89f0c004d5779 | 1,558 | pokfinder | MIT License |
composeApp/src/desktopMain/kotlin/presentation/extensions/AppPlatforms.desktop.kt | vrcm-team | 746,586,818 | false | {"Kotlin": 556756, "Swift": 567} | package io.github.vrcmteam.vrcm.presentation.extensions
import io.github.vrcmteam.vrcm.AppPlatform
import java.awt.Desktop
import java.net.URI
actual fun AppPlatform.openUrl(url: String) {
Desktop.getDesktop().browse(URI(url))
}
actual val AppPlatform.isSupportBlur: Boolean
get() = true | 0 | Kotlin | 3 | 23 | cf723aee7c5653df01f8c1aa3e45f88cff3a45b6 | 298 | VRCM | MIT License |
generator/accessor-plugin/src/main/kotlin/me/kcra/takenaka/generator/accessor/plugin/tasks/ResolveMappingsTask.kt | zlataovce | 596,960,001 | false | {"Kotlin": 650033, "Java": 93227, "CSS": 12015, "JavaScript": 8203} | /*
* This file is part of takenaka, licensed under the Apache License, Version 2.0 (the "License").
*
* Copyright (c) 2023-2024 <NAME>
*
* 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 req... | 3 | Kotlin | 3 | 53 | 55839a77073b4ee588d5d2184b51964c31f930c9 | 13,477 | takenaka | Apache License 2.0 |
src/main/kotlin/com/rutilicus/uisetlist/model/SongKey.kt | rutilicus | 231,705,129 | false | null | package com.rutilicus.uisetlist.model
import com.rutilicus.uisetlist.Constants
import java.io.Serializable
class SongKey : Serializable {
var movieId = ""
set(value) {
if (value.length == Constants.ID_LEN) {
field = value
}
}
var time = 0
}
| 4 | Kotlin | 1 | 1 | d3a8e7ea33baaed77003448b1a10090f597e0a80 | 308 | uisetlist | Apache License 2.0 |
src/main/kotlin/com/kreait/bots/agile/domain/common/data/StandupRepository.kt | kreait | 316,613,408 | false | null | package com.kreait.bots.agile.domain.common.data
import com.kreait.bots.agile.domain.common.actuator.ArrayCount
import com.kreait.bots.agile.domain.slack.standup.statistics.DailyActiveUsers
import com.mongodb.client.result.UpdateResult
import org.springframework.beans.factory.annotation.Autowired
import org.springfram... | 3 | Kotlin | 2 | 8 | 0b56e5b82eda60ed76f31dbdf8f57719b2d30acd | 12,286 | olaph-slack-app | MIT License |
domain/src/main/java/com/clcmo/domain/entities/SpotlightType.kt | clcmo | 572,208,998 | false | {"Kotlin": 37997} | package com.clcmo.domain.entities
enum class SpotlightType {
COMICS,
EVENTS,
SERIES,
STORIES
} | 6 | Kotlin | 0 | 1 | a2e1c1f10b11949bae17f879943f777581cdce03 | 111 | marvel-challenge | MIT License |
app/src/main/java/com/madtoast/flyingboat/ui/fragments/creators/CreatorProfileFragment.kt | MadToast | 511,992,274 | false | {"Kotlin": 224718} | package com.madtoast.flyingboat.ui.fragments.creators
import android.content.res.Configuration
import android.os.Bundle
import android.util.TypedValue
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.core.view.ViewCompat
import androidx.core.view.WindowInsetsCom... | 0 | Kotlin | 0 | 0 | d2f52e5f22cfb580287d3baa7e0c7fe327d8cb86 | 7,883 | refloated-android | MIT License |
projects/core/src/main/kotlin/site/siredvin/peripheralworks/common/recipes/AnchorCleanRecipe.kt | SirEdvin | 489,471,520 | false | {"Kotlin": 624227, "Java": 4072} | package site.siredvin.peripheralworks.common.recipes
import net.minecraft.core.RegistryAccess
import net.minecraft.resources.ResourceLocation
import net.minecraft.world.inventory.CraftingContainer
import net.minecraft.world.item.ItemStack
import net.minecraft.world.item.crafting.CraftingBookCategory
import net.minecra... | 16 | Kotlin | 3 | 9 | a59b8b79e5df1de388bba9fb0d8effe5763e569b | 1,835 | UnlimitedPeripheralWorks | MIT License |
common/src/main/kotlin/com/zerra/common/api/mod/ModLoader.kt | bvanseg | 309,162,032 | false | {"Kotlin": 105931, "GLSL": 1222} | package com.zerra.common.api.mod
import bvanseg.kotlincommons.any.getLogger
import bvanseg.kotlincommons.evenir.bus.EventBus
import bvanseg.kotlincommons.javaclass.createNewInstance
import com.zerra.common.util.ModLoadException
import com.zerra.common.util.resource.MasterResourceManager
import com.zerra.common.util.st... | 0 | Kotlin | 0 | 0 | 8e3d6c86c573afb9e8942b9018ece3b1a6eeb95f | 3,609 | Zerra | MIT License |
src/jsMain/kotlin/org/olafneumann/regex/generator/ui/utils/Xhtml.kt | noxone | 239,624,807 | false | {"Kotlin": 247250, "HTML": 22083, "CSS": 5034, "C": 2817, "Dockerfile": 1749, "JavaScript": 210} | package org.olafneumann.regex.generator.ui.utils
import kotlinx.html.BUTTON
import kotlinx.html.ButtonType
import kotlinx.html.DIV
import kotlinx.html.button
import kotlinx.html.js.onClickFunction
import kotlinx.html.title
import org.w3c.dom.events.Event
fun DIV.gButton(
classes: String,
title: String,
on... | 15 | Kotlin | 66 | 397 | 1e684746a51d7e4398e89f89986059b0edf5ef07 | 565 | regex-generator | MIT License |
tagged-union-implementation/src/main/kotlin/models.kt | Cerber-Ursi | 587,276,242 | false | null | import org.jboss.forge.roaster.Roaster
data class SourceClass(val name: String)
fun parseClass(code: String): SourceClass {
val source = Roaster.parse(code)
return SourceClass(
name = source.getName()
)
} | 0 | Kotlin | 0 | 0 | 55c55eb1366ab5480df5b11d43617141c6237296 | 216 | tagged-union-gradle-codegen-plugin | MIT License |
Subscription-core/app/src/main/java/com/cashfree/subscription/demo/helper/Helper.kt | cashfree | 644,277,821 | false | {"Kotlin": 48510, "Java": 2357} | package com.cashfree.subscription.demo.helper
import android.view.View
fun View.visibility(show: Boolean) {
if (show) this.visibility = View.VISIBLE
else this.visibility = View.GONE
} | 0 | Kotlin | 0 | 2 | 05f9f7c3b474b79647d044a69b97c240888dcf6f | 193 | android-subscription-sdk | Apache License 2.0 |
app/src/main/java/com/laurenyew/githubbrowser/ui/GithubBrowserActivity.kt | laurenyew | 252,290,716 | false | null | package com.laurenyew.githubbrowser.ui
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.laurenyew.githubbrowser.R
import com.laurenyew.githubbrowser.ui.browser.GithubBrowserFragment
/**
* Wrapper activity for Github Browser feature
*/
class GithubBrowserActivity : AppCompatActivit... | 0 | Kotlin | 0 | 0 | 2694154be1bc21b745b2e8bc02393145a3b13108 | 703 | GithubBrowser | MIT License |
core/src/no/sandramoen/blipblop/actors/MiddleWhiteLine.kt | Slideshow776 | 384,910,444 | false | null | package no.sandramoen.blipblop.actors
import com.badlogic.gdx.scenes.scene2d.Stage
import no.sandramoen.blipblop.utils.BaseActor
class MiddleWhiteLine(x: Float, y: Float, s: Stage) : BaseActor(x, y, s) {
init {
loadImage("whitePixel")
setSize(100f, .1f)
setPosition(0f, 50f - height / 2)
... | 0 | Kotlin | 0 | 1 | 6c5d94dd72262811cb5bd2b3c311cf580a166c13 | 326 | Blip-Blop | Freetype Project License |
news-cast-explorer-cdc/src/main/kotlin/org/jesperancinha/newscast/cdc/domain/Message.kt | jesperancinha | 573,498,638 | false | {"Kotlin": 83277, "Java": 40711, "TypeScript": 29056, "Shell": 7420, "Makefile": 6627, "HTML": 6537, "JavaScript": 5146, "Dockerfile": 3530, "CSS": 3421, "Python": 2092, "Sass": 80} | package org.jesperancinha.newscast.cdc.domain
import org.hibernate.Hibernate
import jakarta.persistence.Entity
import jakarta.persistence.Id
import jakarta.persistence.Table
/**
* Created by jofisaes on 08/10/2021
*/
@Entity
@Table(name = "message", schema = "eventuate")
data class Message(
@Id
val id: Stri... | 0 | Kotlin | 0 | 4 | 0c68da885a7ef05623e1492a864fde0ea8fcf982 | 1,068 | news-cast-explorer | Apache License 2.0 |
app/src/main/java/org/simple/clinic/search/results/PatientSearchResultsController.kt | TrendingTechnology | 149,613,985 | true | {"Kotlin": 869727, "C": 680052, "Makefile": 635} | package org.simple.clinic.search.results
import io.reactivex.Observable
import io.reactivex.ObservableSource
import io.reactivex.ObservableTransformer
import io.reactivex.rxkotlin.ofType
import io.reactivex.rxkotlin.withLatestFrom
import org.simple.clinic.ReportAnalyticsEvents
import org.simple.clinic.patient.OngoingP... | 0 | Kotlin | 0 | 0 | 9ecc19d178b7aa04787f36474c542b806d94d1ba | 2,437 | simple-android | MIT License |
app/src/main/java/com/androidapp/cakelistapp/app/view/adapter/CakeListAdapter.kt | serifenuruysal | 435,931,288 | false | {"Kotlin": 24162} | package com.androidapp.cakelistapp.app.view.adapter
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Toast
import androidx.recyclerview.widget.AsyncListDiffer
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.RecyclerView
imp... | 0 | Kotlin | 0 | 3 | 19292a0f77c3fb07c6cee833a089b9c5b17f5668 | 2,411 | CakeListAndroidApp | Apache License 2.0 |
app/src/main/kotlin/com/hexanovate/familytree/ui/user/tree/TreeListActivityUser.kt | shivpanks19 | 229,116,616 | false | null | /*
* Copyright 2018 Farbod Salamat-Zadeh
*
* 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... | 0 | Kotlin | 0 | 0 | 7cbf7cd83510954113ec0109c0a1ac77fca3f275 | 4,270 | FamilyTreeApp-master | Apache License 2.0 |
cams-module-mine/src/main/java/com/linwei/cams/module/mine/http/ApiService.kt | WeiShuaiDev | 390,640,743 | false | null | package com.linwei.cams.module.mine.http
interface ApiService {
} | 0 | Kotlin | 0 | 3 | 37ffb7142ce1141c7b09ef69664c535150d25aaa | 68 | CamsModular | Apache License 2.0 |
asset-collection-example/src/main/kotlin/furhatos/app/assetcollectionexample/flow/behaviorlibrary/behaviorLibExample.kt | FurhatRobotics | 418,899,332 | false | {"Kotlin": 120881, "Python": 13628, "JavaScript": 5293, "HTML": 4541, "CSS": 2334} | package furhatos.app.assetcollectionexample.flow.behaviorlibrary
import furhat.libraries.standard.BehaviorLib
import furhat.libraries.standard.BehaviorLib.behaviorLib
import furhatos.app.assetcollectionexample.flow.MenuParent
import furhatos.flow.kotlin.State
import furhatos.flow.kotlin.furhat
import furhatos.flow.kot... | 1 | Kotlin | 12 | 4 | 70aa5af3ca6f1d4a1e81f01db9d86444aa838043 | 1,502 | tutorials | MIT License |
src/main/kotlin/unq/deportes/repository/TeamRepository.kt | Coronel-B | 217,918,188 | false | null | package unq.deportes.repository
import org.springframework.data.repository.CrudRepository
import unq.deportes.model.Team
interface TeamRepository : CrudRepository<Team, Long> {
} | 0 | Kotlin | 1 | 0 | c25915cebb358c48bae14e18aa82e707216f4707 | 181 | deportesunq-backend | Apache License 2.0 |
src/main/kotlin/com/appifyhub/monolith/features/auth/domain/AuthMapper.kt | appifyhub | 323,403,014 | false | {"Kotlin": 874718, "Python": 840576, "HTML": 10613, "Shell": 4596, "Dockerfile": 930} | package com.appifyhub.monolith.features.auth.domain
import com.appifyhub.monolith.features.common.domain.stubUser
import com.appifyhub.monolith.features.user.domain.toData
import com.appifyhub.monolith.features.user.domain.model.User
import com.appifyhub.monolith.features.user.domain.model.UserId
import com.appifyhub.... | 20 | Kotlin | 0 | 0 | 6b7cdacf736505de038d19b5a5de34b9613f8eb1 | 2,842 | monolith | MIT License |
app/src/main/java/com/densitech/scrollsmooth/ui/video/model/MediaOwner.kt | thanhduy26091995 | 832,247,908 | false | {"Kotlin": 223972} | package com.densitech.scrollsmooth.ui.video.model
import kotlinx.serialization.Serializable
@Serializable
data class MediaOwner(
val name: String,
val email: String
)
| 0 | Kotlin | 0 | 2 | f607ca891885a71bd60ad909794df25ba9aff0eb | 177 | SmoothScroll | MIT License |
application/src/main/kotlin/com/ziemsky/uploader/stats/StatsCalculator.kt | ziemsky | 137,949,351 | false | {"Kotlin": 222979} | package com.ziemsky.uploader.stats
import com.ziemsky.uploader.securing.model.SecuredFileSummary
import com.ziemsky.uploader.securing.model.SecuredFilesBatchStats
import com.ziemsky.uploader.securing.model.local.LocalFile
import java.time.Instant
class StatsCalculator {
fun calculateStatsFor(securedFileSummaries... | 15 | Kotlin | 0 | 0 | bcaab60a52abc473e259da32ad5c73839ffc5c59 | 1,382 | gdrive-uploader | MIT License |
project/src/tests/CaterPillarTests.kt | informramiz | 173,284,942 | false | null | package tests
import org.junit.Test
import problems.CaterPillarMethod
import kotlin.test.assertEquals
class CaterPillarTests {
@Test
fun testAbsDistinct() {
assertEquals(7, CaterPillarMethod.absDistinct(intArrayOf(-10, -9, -3, -3, -3, -1, 0, 1, 1, 1, 1, 1, 1, 2, 2, 2, 3, 3, 32)))
assertEquals(... | 0 | Kotlin | 0 | 0 | a38862f3c36c17b8cb62ccbdb2e1b0973ae75da4 | 1,471 | codility-challenges-practice | Apache License 2.0 |
app/src/main/java/com/example/tests/fundamentos/recycle_view/InternalStorageAdapter.kt | Fenias-Manhenge | 611,944,189 | false | null | package com.example.tests.fundamentos.recycle_view
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import androidx.recyclerview.widget.RecyclerView
import com.example.tests.R
import com.example.tests.storage.InternalStoragePhoto
class InternalS... | 0 | Kotlin | 0 | 0 | 52d961c367bddd0bf059614a86be8075e083dbd7 | 1,378 | Tests-in-Android-Studio | MIT License |
backend-kt/src/main/kotlin/net/daimatz/gql/study/KtorGraphQLServer.kt | daimatz | 408,349,887 | false | null |
package net.daimatz.gql.study
import com.expediagroup.graphql.server.execution.GraphQLRequestHandler
import com.expediagroup.graphql.server.execution.GraphQLServer
import io.ktor.request.ApplicationRequest
class KtorGraphQLServer(
requestParser: KtorGraphQLRequestParser,
contextFactory: KtorGraphQLContextFac... | 0 | Kotlin | 0 | 0 | f105ae6193fad2c7c13bbad2100c736400cd2732 | 453 | gql-study | MIT License |
CompleteAppCodelab/app/src/main/java/com/google/relay/example/reflect/ui/HomeScreen.kt | googlecodelabs | 619,951,716 | false | {"Kotlin": 102766} | /*
* Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 0 | Kotlin | 7 | 8 | 89948606cf9c22deb8d2bf31b46fc46be345eee3 | 2,538 | relay-codelabs | Apache License 2.0 |
app/src/main/java/com/bluerayfsm/features/location/model/ShopDurationResponse.kt | DebashisINT | 772,059,684 | false | {"Kotlin": 14146263, "Java": 1002625} | package com.bluerayfsm.features.location.model
import com.bluerayfsm.base.BaseResponse
/**
* Created by Pratishruti on 28-11-2017.
*/
class ShopDurationResponse:BaseResponse() | 0 | Kotlin | 0 | 0 | 875bc5a3927897d1daa465a4f122c35df513a7ec | 179 | BluerayFSM | Apache License 2.0 |
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/rekognition/KinesisVideoStreamPropertyDsl.kt | F43nd1r | 643,016,506 | false | null | package com.faendir.awscdkkt.generated.services.rekognition
import com.faendir.awscdkkt.AwsCdkDsl
import javax.`annotation`.Generated
import kotlin.Unit
import software.amazon.awscdk.services.rekognition.CfnStreamProcessor
@Generated
public fun buildKinesisVideoStreamProperty(initializer: @AwsCdkDsl
CfnStreamProc... | 1 | Kotlin | 0 | 0 | 451a1e42282de74a9a119a5716bd95b913662e7c | 513 | aws-cdk-kt | Apache License 2.0 |
profiledomain/src/main/java/com/nikitamaslov/profiledomain/model/Profile.kt | nikitamasloff | 182,624,620 | false | null | package com.nikitamaslov.profiledomain.model
data class Profile(
val id: Id,
val initials: Initials,
val description: Description,
val followersAmount: Int,
val subscriptionsAmount: Int,
val isMe: Boolean,
val relation: Relation?
) {
data class Id(val src: String)
data class Initi... | 0 | null | 0 | 0 | cbdd62b9eab3ae3362c6fec4f8c0d498133174c0 | 646 | in-touch | Apache License 2.0 |
step5/function8.kt | shilpasayura | 400,781,913 | false | null | // Triple represents a triad of values
fun timeConversionTriple(seconds: Int): Triple<Int,Int,Int> {
val hour = seconds/3600
val minutes = (seconds % 3600) / 60
val sec = seconds % 60
return Triple(hour,minutes, sec)
}
fun display(myTriple: Triple<Int,Int,Int>) {
println("${myTriple.first} Hour(s)... | 0 | Kotlin | 0 | 0 | d0898fef7231adc9c6661ab6f75f9020696d0600 | 487 | kotlin | MIT License |
src/main/kotlin/com/github/lld4n/rocketiconsjetbrains/settings/PluginSettings.kt | lld4n | 844,119,636 | false | {"Kotlin": 9795, "TypeScript": 2919} | package com.github.lld4n.rocketiconsjetbrains.settings
import com.intellij.ide.GeneralSettings
import com.intellij.ide.IdeBundle
import com.intellij.ide.projectView.ProjectView
import com.intellij.openapi.application.ApplicationManager
import com.intellij.openapi.application.ex.ApplicationEx
import com.intellij.openap... | 3 | Kotlin | 0 | 0 | 673b43d7565b07f9163e56ece8d4e34d229325a8 | 2,339 | rocket-icons-jetbrains | MIT License |
src/main/kotlin/com/atlassian/performance/tools/virtualusers/api/browsers/Browser.kt | atlassian | 172,478,035 | false | {"Gradle Kotlin DSL": 2, "CODEOWNERS": 1, "Markdown": 4, "INI": 2, "Shell": 1, "Ignore List": 1, "Batchfile": 1, "Git Attributes": 1, "EditorConfig": 1, "Text": 1, "XML": 1, "Dockerfile": 1, "Kotlin": 80, "Java": 1, "YAML": 1} | package com.atlassian.performance.tools.virtualusers.api.browsers
@Deprecated("Include your browser/WebDriver logic in your LoadProcess")
interface Browser {
fun start(): CloseableRemoteWebDriver
}
| 1 | null | 1 | 1 | c1e8d65595c1482bd9b51a5fb980a30d5a4b3f60 | 203 | virtual-users | Apache License 2.0 |
packages/expo-modules-core/android/src/androidTest/java/expo/modules/kotlin/jni/SharedObjectTest.kt | expo | 65,750,241 | false | {"Gemfile.lock": 1, "YAML": 79, "Git Config": 1, "JSON with Comments": 175, "Ignore List": 236, "JSON": 713, "Markdown": 291, "JavaScript": 1979, "Text": 62, "Git Attributes": 7, "Shell": 66, "Ruby": 99, "TSX": 976, "Gradle": 106, "Java Properties": 5, "Batchfile": 4, "INI": 8, "Proguard": 10, "XML": 273, "Kotlin": 121... | @file:OptIn(ExperimentalCoroutinesApi::class)
package expo.modules.kotlin.jni
import com.google.common.truth.Truth
import expo.modules.kotlin.sharedobjects.SharedObject
import expo.modules.kotlin.sharedobjects.SharedObjectId
import expo.modules.kotlin.sharedobjects.sharedObjectIdPropertyName
import kotlinx.coroutines... | 668 | TypeScript | 5226 | 32,824 | e62f80228dece98d5afaa4f5c5e4fb195f3daa15 | 3,810 | expo | Apache License 2.0 |
oura-library/src/main/kotlin/org/radarbase/oura/route/OuraSessionRoute.kt | RADAR-base | 142,870,498 | false | {"Gradle Kotlin DSL": 6, "YAML": 7, "Dotenv": 1, "Ignore List": 3, "INI": 2, "Shell": 3, "Text": 2, "Batchfile": 1, "EditorConfig": 1, "Markdown": 2, "Java": 85, "XML": 1, "Dockerfile": 2, "Kotlin": 60, "Gradle": 1, "Python": 1} | package org.radarbase.oura.route
import org.radarbase.oura.converter.OuraSessionConverter
import org.radarbase.oura.converter.OuraSessionHeartRateConverter
import org.radarbase.oura.converter.OuraSessionHrvConverter
import org.radarbase.oura.converter.OuraSessionMotionCountConverter
import org.radarbase.oura.user.User... | 17 | Java | 4 | 4 | 361ae2bf1d2d71eb74d4c96e6ff71de1ee56ea67 | 736 | RADAR-REST-Connector | Apache License 2.0 |
app/src/main/java/com/devicewifitracker/android/ui/notifications/NotificationsFragment.kt | wanghoa | 542,192,628 | false | {"Java": 434396, "Kotlin": 221472} | package com.devicewifitracker.android.ui.notifications
import android.content.Context
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.fragment.app.Fragment
import androidx.lifecycle.ViewModelProvider
impor... | 1 | null | 1 | 1 | 028916627beb4ea1827fa497433741749268ef25 | 2,563 | DeviceScanner | Apache License 2.0 |
clients/kotlin/generated/src/test/kotlin/org/openapitools/client/models/CatalogsFeedValidationWarningsTest.kt | oapicf | 489,369,143 | false | {"Markdown": 13009, "YAML": 64, "Text": 6, "Ignore List": 43, "JSON": 688, "Makefile": 2, "JavaScript": 2261, "F#": 1305, "XML": 1120, "Shell": 44, "Batchfile": 10, "Scala": 4677, "INI": 23, "Dockerfile": 14, "Maven POM": 22, "Java": 13384, "Emacs Lisp": 1, "Haskell": 75, "Swift": 551, "Ruby": 1149, "Cabal Config": 2, ... | /**
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit this file manually.
*
*/
@file:Suppress(
"ArrayInDataClass",
"EnumEntryName",
"RemoveRedundantQualifierName",
"UnusedImport"
)
package org.openapitools.client.models
import i... | 0 | Java | 0 | 2 | dcd328f1e62119774fd8ddbb6e4bad6d7878e898 | 17,145 | pinterest-sdk | MIT License |
Application-Challenge/【Dooze】CircleLive/app/src/main/java/com/dong/circlelive/live/createchannel/CreateLiveChannelFragment.kt | tningjs | 372,697,757 | false | {"Ignore List": 48, "Markdown": 43, "Gradle": 35, "Java Properties": 14, "Shell": 11, "Batchfile": 6, "Proguard": 21, "Java": 360, "XML": 530, "INI": 15, "C": 78, "C++": 849, "CMake": 4, "HTML": 284, "PHP": 3, "CSS": 23, "JavaScript": 541, "JSON": 187, "Text": 32, "JSON with Comments": 2, "Git Attributes": 1, "YAML": 8... | package com.dong.circlelive.live.createchannel
import android.os.Bundle
import android.view.MenuItem
import android.view.View
import androidx.appcompat.widget.Toolbar
import androidx.fragment.app.activityViewModels
import androidx.fragment.app.viewModels
import com.dong.circlelive.R
import com.dong.circlelive.base.Bas... | 1 | null | 1 | 1 | 2778ae967db70c492a2addb9e754e56fbd45703b | 2,577 | RTE-2021-Innovation-Challenge | MIT License |
app/src/main/java/com/fox2code/mmm/utils/RuntimeUtils.kt | DeeShawna84 | 644,886,164 | true | {"Java Properties": 1, "Gradle Kotlin DSL": 3, "Shell": 8, "Markdown": 7, "Batchfile": 1, "Ignore List": 2, "YAML": 6, "INI": 1, "Text": 45, "Proguard": 1, "XML": 145, "Java": 53, "Kotlin": 9} | package com.fox2code.mmm.utils
import android.Manifest
import android.annotation.SuppressLint
import android.content.Context
import android.content.Intent
import android.content.pm.PackageManager
import android.net.Uri
import android.os.Build
import android.os.Handler
import android.os.Looper
import android.provider.S... | 0 | Java | 0 | 0 | 2324d0dc4f77f8ca3d1c80d2586bfe9a81dd0aeb | 13,110 | MagiskModuleManager | The Unlicense |
domain/src/commonMain/kotlin/domain/stats/RateMovie.kt | 4face-studi0 | 280,630,732 | false | null | package domain.stats
import entities.model.UserRating
import entities.movies.Movie
import entities.stats.StatRepository
class RateMovie(
private val stats: StatRepository
) {
suspend operator fun invoke(movie: Movie, rating: UserRating): Unit =
stats.rate(movie, rating)
}
| 24 | Kotlin | 1 | 3 | 572514b24063815fba93809a9169a470f89fd445 | 293 | CineScout | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.