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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
arrow-libs/core/arrow-core/src/commonTest/kotlin/arrow/core/raise/TraceSpec.kt | arrow-kt | 86,057,409 | false | {"Gradle Kotlin DSL": 21, "JSON": 1, "Java Properties": 20, "Markdown": 11, "Shell": 2, "Text": 1, "Ignore List": 1, "Batchfile": 1, "EditorConfig": 1, "TOML": 1, "INI": 13, "YAML": 5, "SVG": 2, "Kotlin": 620, "Java": 2, "Gradle": 3, "XML": 1} | package arrow.core.raise
import arrow.core.right
import io.kotest.assertions.throwables.shouldThrow
import io.kotest.matchers.shouldBe
import io.kotest.property.Arb
import io.kotest.property.arbitrary.int
import io.kotest.property.arbitrary.string
import io.kotest.property.checkAll
import kotlin.test.Test
import kotli... | 1 | null | 1 | 1 | 1911025b2f6e84b70074edc578becb69cda8fb24 | 1,528 | arrow | Apache License 2.0 |
ANDROID APP/app/src/main/java/com/app/hbcu/activity/BaseAppCompatActivity.kt | CodeCraftsCanvas | 426,396,978 | false | {"C++": 4530070, "C": 930961, "Swift": 378772, "Kotlin": 308625, "Python": 247661, "M4": 171945, "Makefile": 95271, "Shell": 54819, "HTML": 50621, "CSS": 43194, "Roff": 35838, "QMake": 26144, "Assembly": 7639, "Objective-C++": 7326, "Java": 2100, "Ruby": 931} | package com.app.hbcu.activity
import android.content.Context
import android.net.ConnectivityManager
import android.net.NetworkInfo
import android.os.Bundle
import android.view.View
import android.view.ViewGroup
import android.view.inputmethod.InputMethodManager
import android.widget.Toast
import androidx.appcompat.app... | 1 | C++ | 0 | 0 | a1a999af442f81d760cef5b50e2976fc8b3cff79 | 5,132 | hbcur | MIT License |
vxutil-vertigram/src/main/kotlin/ski/gagar/vxutil/vertigram/methods/SendVideo.kt | gagarski | 314,041,476 | false | null | package ski.gagar.vxutil.vertigram.methods
import ski.gagar.vertigram.annotations.TgMethod
import ski.gagar.vxutil.vertigram.types.ChatId
import ski.gagar.vxutil.vertigram.types.Message
import ski.gagar.vxutil.vertigram.types.MessageEntity
import ski.gagar.vxutil.vertigram.types.ParseMode
import ski.gagar.vxutil.verti... | 0 | Kotlin | 0 | 0 | 20cd7a50d017f865814891fa15324c11434e679a | 1,114 | vertigram | Apache License 2.0 |
data/src/main/java/com/team_sunshijo/data/remote/response/auth/TokenResponse.kt | Team-Sunshijo | 640,839,334 | false | null | package com.team_sunshijo.data.remote.response.auth
import com.google.gson.annotations.SerializedName
import com.team_sunshijo.domain.entity.auth.TokenEntity
import org.threeten.bp.LocalDateTime
data class TokenResponse(
@SerializedName("access_token") val access_token: String,
@SerializedName("refresh_token"... | 0 | Kotlin | 0 | 1 | bd983ab706f202c6560118426544501c5ae002f2 | 595 | Sunshijo-Android | MIT License |
src/main/kotlin/org/bilalkilic/kediatrhelper/utils/constants/TemplateFileConstants.kt | bilal-kilic | 285,244,277 | false | {"Kotlin": 23907} | package org.bilalkilic.kediatrhelper.utils.constants
object TemplateFileConstants {
const val CLASS = "CLASS"
const val RETURN = "RETURN"
const val MESSAGE = "MESSAGE"
const val SUFFIX_HANDLER = "Handler"
const val SUFFIX_HANDLER_ASYNC = "AsyncHandler"
const val TEMPLATE_FILE_HANDLER_QUERY = "c... | 2 | Kotlin | 5 | 4 | ac41fcb1346f1153991745a03a9dae33df6c212f | 952 | kediatr-helper | MIT License |
src/main/kotlin/ltd/icecold/music/musicUrlBean/FreeTrialPrivilege.kt | GceCold | 338,926,661 | false | null | package ltd.icecold.music.musicUrlBean
data class FreeTrialPrivilege(
val resConsumable: Boolean,
val userConsumable: Boolean
) | 0 | Kotlin | 0 | 3 | bec035ccbfb4db33ea7388994e99a3ef852a13f4 | 136 | MusicBot | MIT License |
src/main/kotlin/ltd/icecold/music/musicUrlBean/FreeTrialPrivilege.kt | GceCold | 338,926,661 | false | null | package ltd.icecold.music.musicUrlBean
data class FreeTrialPrivilege(
val resConsumable: Boolean,
val userConsumable: Boolean
) | 0 | Kotlin | 0 | 3 | bec035ccbfb4db33ea7388994e99a3ef852a13f4 | 136 | MusicBot | MIT License |
server/src/test/kotlin/com/adobe/testing/s3mock/HttpRangeHeaderConverterTest.kt | adobe | 97,753,277 | false | {"Kotlin": 519898, "Java": 424551, "Shell": 3792, "Dockerfile": 3156} | /*
* Copyright 2017-2024 Adobe.
*
* 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 ... | 17 | Kotlin | 180 | 826 | 2a375f602dc130d5a789b2812e2b8760c6689e87 | 1,098 | S3Mock | Apache License 2.0 |
Kotlin/sigaa/src/main/java/sigaa/acristoffers/me/sigaagrades/Utils.kt | acristoffers | 141,364,244 | false | {"Dart": 153946, "Kotlin": 92257, "C++": 21356, "CMake": 18200, "Ruby": 2684, "Swift": 1766, "C": 1425, "HTML": 184, "Objective-C": 38} | /*
* Copyright (c) 2018 <NAME>
*
* 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, publish, dis... | 1 | Dart | 1 | 5 | bc8172dbffea97278370f5790210ae182a2d62e8 | 1,764 | SIGAAGrades | MIT License |
src/main/kotlin/io/sharptree/maximo/app/label/sse/okhttp/OkHttp.kt | sharptree | 489,526,298 | false | null | package io.sharptree.maximo.app.label.sse.okhttp
import io.sharptree.maximo.app.label.sse.AwaitConnectivity
import io.sharptree.maximo.app.label.sse.EventId
import io.sharptree.maximo.app.label.sse.Logger
import io.sharptree.maximo.app.label.sse.MaybeAwaitConnectivity
import io.sharptree.maximo.app.label.sse.Milliseco... | 0 | Kotlin | 0 | 0 | 6f0179f8022a7881ae78ef207a33e43ded634ede | 2,086 | label-print-agent | MIT License |
app/src/main/java/com/solarexsoft/constraintlayoutlearningdemo/motion/MotionBasic.kt | flyfire | 287,486,056 | false | null | package com.solarexsoft.constraintlayoutlearningdemo.motion
import com.solarexsoft.constraintlayoutlearningdemo.BaseDemoActivity
import com.solarexsoft.constraintlayoutlearningdemo.R
/**
* <pre>
* Author: houruhou
* CreatAt: 23:45/2020/8/24
* Desc:
* </pre>
*/
class MotionBasic : BaseDemoActivity() {... | 0 | Kotlin | 0 | 0 | 41abe56914aa77813d6523a3acb3f72511c7ce6e | 381 | ConstraintLayoutLearningDemo | MIT License |
core/src/commonMain/kotlin/work/socialhub/planetlink/model/paging/DatePaging.kt | uakihir0 | 733,128,300 | false | {"Kotlin": 687284, "Shell": 1521, "Makefile": 363} | package work.socialhub.planetlink.model.paging
import work.socialhub.planetlink.model.Identify
import work.socialhub.planetlink.model.Paging
/**
* Paging with date range
* 時間範囲指定
* (Slack)
*/
class DatePaging : Paging() {
var latest: String? = null
var oldest: String? = null
var inclusive: Boolean?... | 1 | Kotlin | 0 | 1 | 04213c5d21f0df4c0f2424b680efd4d159784572 | 2,663 | planetlink | MIT License |
src/test/java/com/bukowiecki/breakpoints/utils/BreakpointManagerUtilsTest.kt | marcin-bukowiecki | 401,104,358 | false | null | /*
* Copyright 2021 <NAME>.
* Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
*/
package com.bukowiecki.breakpoints.utils
import com.bukowiecki.breakpoints.service.MyMockProject
import com.bukowiecki.breakpoints.service.MyProjectWrapper
import org.junit.Assert
i... | 0 | Kotlin | 0 | 2 | a6f5005b34894980bd49c04a61387cca79877307 | 670 | breakpoint-manager-plugin | Apache License 2.0 |
api/src/main/kotlin/br/com/strn/erp/api/database/dao/seguranca/UsuarioLoginRepository.kt | IvoSestren | 331,951,557 | false | null | package br.com.strn.erp.api.database.dao.seguranca
import br.com.strn.erp.api.database.dao.BaseRepository
import br.com.strn.erp.api.database.entities.seguranca.UsuarioLogin
import org.springframework.data.jpa.repository.Query
interface UsuarioLoginRepository : BaseRepository<UsuarioLogin> {
@Query("select b from... | 0 | Kotlin | 0 | 0 | a955b4a4b8b4e4f2b746bbe5bc4fe3674ab9caf1 | 442 | erp_001 | The Unlicense |
Core/src/commonMain/kotlin/io/nacular/doodle/deviceinput/KeyboardFocusManager.kt | Hazer | 273,358,963 | true | {"Kotlin": 1307880} | package io.nacular.doodle.deviceinput
import io.nacular.doodle.core.View
import io.nacular.doodle.event.KeyEvent
import io.nacular.doodle.event.KeyState
import io.nacular.doodle.focus.FocusManager
import io.nacular.doodle.focus.FocusTraversalPolicy.TraversalType
import io.nacular.doodle.focus.FocusTraversalPolicy.Trav... | 0 | null | 0 | 0 | f878abf3163a49d515038f6699a4124f087e9885 | 3,986 | doodle | MIT License |
src/main/kotlin/xyz/xenondevs/nmsutils/advancement/trigger/LevitationTrigger.kt | xenondevs | 510,266,783 | false | null | package xyz.xenondevs.nmsutils.advancement.trigger
import xyz.xenondevs.nmsutils.adapter.Adapter
import xyz.xenondevs.nmsutils.adapter.impl.IntBoundsAdapter
import xyz.xenondevs.nmsutils.advancement.predicate.DistancePredicate
import xyz.xenondevs.nmsutils.advancement.predicate.EntityPredicate
import net.minecraft.adv... | 0 | Kotlin | 1 | 1 | dd7bbb76240cf5c8316f67c9b076ce8ce7842d6f | 1,611 | NMS-Utilities | MIT License |
app/src/main/java/com/example/pokedex/data/PokedexPagingSource.kt | RamziJabali | 389,429,666 | false | {"Kotlin": 35432} | package com.example.pokedex.data
import android.annotation.SuppressLint
import android.util.Log
import androidx.paging.PagingSource
import androidx.paging.PagingState
import androidx.paging.rxjava2.RxPagingSource
import com.example.pokedex.model.PokedexRepo
import com.example.pokedex.model.UseCase
import com.example.p... | 0 | Kotlin | 0 | 2 | 59e60563e32feabb07abb1cb22839f0c81a7c37a | 2,674 | pokedex-android | Apache License 2.0 |
src/main/kotlin/snc/openchargingnetwork/node/config/TaskConfig.kt | energywebfoundation | 480,875,794 | false | {"Kotlin": 612395, "Java": 136702, "Shell": 209, "Batchfile": 194, "Dockerfile": 150} | /*
Copyright 2019-2020 eMobilify GmbH
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... | 16 | Kotlin | 4 | 5 | 396e4b54541981a5c9b8c0b5a56db2eff50a27ab | 1,674 | ocn-node | Apache License 2.0 |
src/main/kotlin/de/coaster/cringepvp/enums/Kits.kt | RasselbandeDE | 524,159,699 | false | {"Kotlin": 167161} | package de.coaster.cringepvp.enums
import de.coaster.cringepvp.extensions.Currency
import de.coaster.cringepvp.extensions.abbreviate
import de.coaster.cringepvp.utils.toItemBuilder
import org.bukkit.Material
import org.bukkit.inventory.ItemStack
import kotlin.time.Duration
import kotlin.time.Duration.Companion.INFINIT... | 1 | Kotlin | 0 | 0 | d76595745f7ad74e8fb043f103ece1e590e33564 | 3,110 | CringePvP | MIT License |
src/main/kotlin/com/redlimerl/carnage/registry/CarnageEntities.kt | RedLime | 336,246,065 | false | null | package com.redlimerl.carnage.registry
import com.redlimerl.carnage.CarnageMod.Companion.identifier
import com.redlimerl.carnage.client.*
import com.redlimerl.carnage.entity.*
import net.fabricmc.fabric.api.`object`.builder.v1.entity.FabricDefaultAttributeRegistry
import net.fabricmc.fabric.api.`object`.builder.v1.ent... | 1 | null | 1 | 1 | 57051adce9e19aee7fbdcc5daa798f9d4e512af0 | 2,988 | CarnageMod | Creative Commons Zero v1.0 Universal |
ejemplo-validacion/src/main/kotlin/com/salesianostriana/dam/ejerciciojpakotlin/EjercicioJpaKotlinApplication.kt | lmlopezmagana | 338,992,934 | false | null | package com.salesianostriana.dam.ejerciciojpakotlin
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
@SpringBootApplication
class EjercicioJpaKotlinApplication
fun main(args: Array<String>) {
runApplication<EjercicioJpaKotlinApplication>(*args)
}
| 0 | Kotlin | 0 | 3 | 45c355d5f21d79e7172edcf24af6c17f8fe66291 | 317 | ad-psp-springboot-kotlin-2021 | Creative Commons Zero v1.0 Universal |
src/main/kotlin/com/github/toncherami/mpd/web/adapter/properties/MpdProperties.kt | TonCherAmi | 295,049,940 | false | null | package com.github.toncherami.mpd.web.adapter.properties
import org.springframework.boot.context.properties.ConfigurationProperties
import org.springframework.boot.context.properties.ConstructorBinding
@ConstructorBinding
@ConfigurationProperties(prefix = "mpd")
data class MpdProperties(
val host: String,
val... | 0 | Kotlin | 0 | 0 | bf35157584e0856d11281572cd58d9ceccb57676 | 360 | mpdweb.backend | MIT License |
app/src/main/java/com/nisaefendioglu/errorhandler/ErrorActivity.kt | nisaefendioglu | 780,402,400 | false | {"Kotlin": 4504} | package com.nisaefendioglu.errorhandler
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.nisaefendioglu.errorhandler.databinding.ActivityErrorBinding
import kotlin.system.exitProcess
class ErrorActivity : AppCompatActivity() {
private lateinit var binding: ActivityErrorBinding
... | 0 | Kotlin | 0 | 1 | 14f08d6995903bdeb4c23c8123ab1d97d31e6204 | 718 | ErrorHandler | MIT License |
server/src/main/kotlin/com/thoughtworks/archguard/workbench/model/AsCodeResponse.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 com.thoughtworks.archguard.workbench.model
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
sealed class AsCodeContent
@Serializable
class RepoStatus(val success: List<String>, val existed: List<String>) : AsCodeContent()
@Serializable
class PlaceHolder() : AsC... | 1 | Kotlin | 89 | 575 | 049f3cc8f2c0e2c34e65bb0049f645caa5be9bf8 | 553 | archguard | MIT License |
ui-library/src/main/java/app/surgo/ui/library/LibraryViewState.kt | tsukiymk | 382,220,719 | false | null | package app.surgo.ui.library
import androidx.compose.runtime.Immutable
import app.surgo.data.entities.PlaylistEntity
@Immutable
internal data class LibraryViewState(
val playlists: List<PlaylistEntity> = emptyList()
)
| 0 | Kotlin | 0 | 0 | 270baf768c5bfab528384693ed85289fecb0e365 | 224 | surgo-android | Apache License 2.0 |
src/main/kotlin/com/google/androidstudiopoet/generators/project/ProjectBuildGradleGenerator.kt | ZacSweers | 111,372,837 | true | {"Kotlin": 60506} | package com.google.androidstudiopoet.generators.project
import java.io.File
import java.io.FileInputStream
import java.nio.file.Files
import java.nio.file.StandardCopyOption
internal const val ASSETS_PATH = "src/main/assets"
class ProjectBuildGradleGenerator {
fun generate(root: String) {
val buildGrad... | 0 | Kotlin | 0 | 1 | ecae7eab1750910bf7357daed87efb1bd57e3250 | 526 | android-studio-poet | Apache License 2.0 |
shared/src/commonMain/kotlin/dev/vladleesi/yac/ui/style/Colors.kt | vladleesi | 655,099,053 | false | null | package dev.vladleesi.yac.ui.style
import androidx.compose.ui.graphics.Color
val orange = Color(0xfff08e3a)
val textColorBlack = Color(0xff707070)
val textColorWhite = Color(0xfff7f7f7) | 0 | Kotlin | 0 | 0 | fbde78f124ab35fff9cc1e947b71f834712cc7a3 | 187 | yet-another-calculator | Apache License 2.0 |
app/src/main/java/com/mohfahmi/mkaassesment/data/source/remote/response/SearchResponse.kt | MohFahmi27 | 447,899,964 | false | null | package com.mohfahmi.mkaassesment.data.source.remote.response
import com.google.gson.annotations.SerializedName
data class SearchResponse(
@field:SerializedName("items")
val items: List<ItemsItem>
)
data class ItemsItem(
@field:SerializedName("login")
val login: String
)
| 0 | Kotlin | 0 | 1 | 9a53345d539d005c199a42123e4a0703f85974f6 | 279 | MkaAssesment | MIT License |
app/src/main/java/com/joseluisgs/mislugares/Utilidades/Fotos.kt | AlbertoMunozBautista | 318,469,220 | true | {"Kotlin": 85567} | package com.joseluisgs.mislugares.Utilidades
import android.content.ContentUris
import android.content.ContentValues
import android.content.Context
import android.graphics.Bitmap
import android.net.Uri
import android.os.Environment
import android.provider.MediaStore
import androidx.core.net.toFile
import java.io.ByteA... | 0 | null | 0 | 0 | 997247cb3302a93993212f886d22320a362e1a58 | 5,952 | MisLugaresKotlin | MIT License |
SharedCode/src/commonMain/kotlin/repository/RepositoryProvider.kt | billy-yoyo | 294,122,084 | true | {"Kotlin": 36988, "Swift": 28160} | package com.jetbrains.handson.mpp.mobile.repository
import com.jetbrains.handson.mpp.mobile.repository.impl.FaresRepositoryImpl
import com.jetbrains.handson.mpp.mobile.repository.impl.JourneyRepositoryImpl
import com.jetbrains.handson.mpp.mobile.repository.impl.StationRepositoryImpl
import kotlin.native.concurrent.Thr... | 0 | Kotlin | 0 | 0 | 0102fc7b8c04c493c16516e1434d7e93d7c86905 | 595 | mpp-ios-android | Apache License 2.0 |
app/src/main/java/com/ersiver/gymific/ui/home/HomeViewModel.kt | ersiver | 299,712,057 | false | null | package com.ersiver.gymific.ui.home
import androidx.hilt.lifecycle.ViewModelInject
import androidx.lifecycle.LiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.asLiveData
import com.ersiver.gymific.model.Workout
import com.ersiver.gymific.model.WorkoutCategory
import com.ersiver.gymific.repository.... | 1 | Kotlin | 11 | 40 | 8c581f69c022a3de1046cf0f8d24019c0f90796a | 1,358 | Gymific | Apache License 2.0 |
app/src/main/java/com/netchar/pixally/data/image/remote/ImageResponse.kt | netchar | 540,591,203 | false | null | package com.netchar.pixally.data.image.remote
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class ImageResponse(
val total: Int,
val totalHits: Int,
val hits: List<Image>
) {
@Serializable
data class Image(
val id: Int,
val pa... | 0 | Kotlin | 0 | 0 | 0eeb2b83974dd784a6c938431b494cc6b237496f | 935 | Pixally | Apache License 2.0 |
HTTPShortcuts/app/src/main/kotlin/ch/rmy/android/http_shortcuts/scripting/actions/types/SetShortcutHiddenActionType.kt | Waboodoo | 34,525,124 | false | null | package ch.rmy.android.http_shortcuts.scripting.actions.types
import ch.rmy.android.framework.extensions.takeUnlessEmpty
import ch.rmy.android.http_shortcuts.scripting.ActionAlias
import ch.rmy.android.http_shortcuts.scripting.actions.ActionData
import ch.rmy.android.http_shortcuts.scripting.actions.ActionRunnable
imp... | 26 | null | 110 | 1,105 | 07faf75e2f1a53f8986d669946adf6de509176e1 | 1,118 | HTTP-Shortcuts | MIT License |
source-code/starter-project/app/src/main/java/com/droidcon/weatherglancewidget/ui/theme/Theme.kt | droidcon-academy | 607,558,842 | false | {"Kotlin": 48198} | package com.droidcon.weatherglancewidget.ui.theme
import android.os.Build
import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.darkColorScheme
import androidx.compose.material3.dynamicDarkColorScheme
import androidx.compose.material3.d... | 0 | Kotlin | 0 | 0 | 1cf0e1aa90d41d58cdf5c9867f7b9869f396937f | 1,441 | android-jetpack-glance-study-materials | Apache License 2.0 |
app/src/main/java/com/override0330/teamim/viewmodel/TaskCompletedViewModel.kt | Override0330 | 202,737,292 | false | null | package com.override0330.teamim.viewmodel
import androidx.lifecycle.LiveData
import com.override0330.teamim.Repository.TaskRepository
import com.override0330.teamim.base.BaseViewModel
import com.override0330.teamim.model.bean.Task
/**
* @data 2019-08-24
* @author Override0330
* @description
*/
class TaskComplete... | 1 | Kotlin | 0 | 2 | cce6deecdbd07bf5acc95d5c7a7fa1f23c3ed42d | 608 | TeamIM | Apache License 2.0 |
android/src/main/kotlin/dev/juyoung/sign_in_with_kakao/extensions/Gender.kt | dev-juyoung | 322,199,498 | false | {"Dart": 34569, "Kotlin": 15018, "Swift": 13376, "Ruby": 2285, "Objective-C": 755} | package dev.juyoung.sign_in_with_kakao.extensions
import com.kakao.sdk.user.model.Gender
val Gender.rawValue: String?
get() = when (this) {
Gender.FEMALE -> "female"
Gender.MALE -> "male"
else -> null
}
| 0 | Dart | 0 | 3 | caec86de1adac3bd77add8a301375578f557d1da | 237 | sign_in_with_kakao | MIT License |
components/faphub/installation/queue/api/src/main/java/com/flipperdevices/faphub/installation/queue/api/FapInstallationQueueApi.kt | flipperdevices | 288,258,832 | false | {"Kotlin": 4167715, "FreeMarker": 10352, "CMake": 1780, "C++": 1152, "Fluent": 21} | package com.flipperdevices.faphub.installation.queue.api
import com.flipperdevices.faphub.installation.queue.api.model.FapActionRequest
import com.flipperdevices.faphub.installation.queue.api.model.FapQueueState
import kotlinx.collections.immutable.ImmutableList
import kotlinx.coroutines.flow.Flow
interface FapInstal... | 21 | Kotlin | 174 | 1,528 | 8f293e596741a6c97409acbc8de10c7ae6e8d8b0 | 574 | Flipper-Android-App | MIT License |
core/src/main/java/com/whitecloud/socket/core/exceptions/UnConnectException.kt | femonres | 228,414,465 | false | null | package com.whitecloud.socket.core.exceptions
class UnConnectException : RuntimeException {
constructor() : super()
constructor(message: String) : super(message)
constructor(message: String, cause: Throwable) : super(message, cause)
constructor(cause: Throwable) : super(cause)
protected constru... | 0 | Kotlin | 0 | 0 | 419c84cdece8586a6dbcb6a587ea955b9ecda936 | 503 | live-socket | MIT License |
agp-7.1.0-alpha01/tools/base/lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/ProguardDetectorTest.kt | jomof | 502,039,754 | true | {"Markdown": 63, "Java Properties": 56, "Shell": 31, "Batchfile": 12, "Proguard": 30, "CMake": 10, "Kotlin": 3443, "C++": 594, "Java": 4446, "HTML": 34, "Makefile": 14, "RenderScript": 22, "C": 30, "JavaScript": 2, "CSS": 3, "INI": 11, "Filterscript": 11, "Prolog": 1, "GLSL": 1, "Gradle Kotlin DSL": 5, "Python": 12, "D... | /*
* Copyright (C) 2011 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 app... | 1 | null | 1 | 0 | 9e3475f6d94cb3239f27ed8f8ee81b0abde4ef51 | 10,850 | CppBuildCacheWorkInProgress | Apache License 2.0 |
safeToRunInternal/src/main/kotlin/com/safetorun/models/builders/DeviceInformationBuilder.kt | Safetorun | 274,838,056 | false | null | package com.safetorun.models.builders
import com.safetorun.models.core.BlacklistedApps
import com.safetorun.models.core.DeviceInformation
import com.safetorun.models.core.DeviceSignature
import com.safetorun.models.core.InstallOrigin
import com.safetorun.models.core.OsCheck
internal class DeviceInformationBuilder(
... | 24 | Kotlin | 0 | 29 | 83176f07ab4351d2f84dc9718224dc03458e6658 | 2,002 | safe_to_run | Apache License 2.0 |
kotter/src/main/kotlin/com/varabyte/kotter/runtime/internal/ansi/commands/AnsiCommand.kt | varabyte | 397,769,020 | false | null | package com.varabyte.kotter.runtime.internal.ansi.commands
import com.varabyte.kotter.runtime.internal.TerminalCommand
import com.varabyte.kotter.runtime.internal.ansi.Ansi.Csi
internal open class AnsiCommand(ansiCode: String) : TerminalCommand(ansiCode)
internal open class AnsiCsiCommand(csiCode: Csi.Code) : AnsiCom... | 19 | Kotlin | 3 | 74 | a077138a3b07f994cea0f28a3a41cab962f47402 | 352 | kotter | Apache License 2.0 |
shared/src/commonMain/kotlin/config/Parameter.kt | west2-online | 840,273,230 | false | {"Kotlin": 742964, "Swift": 592, "Shell": 228} | package config
import kotlinx.datetime.TimeZone
/** 软件支持的时区,默认为东八区 */
val CurrentZone = TimeZone.of("UTC+8")
| 6 | Kotlin | 2 | 0 | 484b699b372e6ff5c43ae725372b28c6de4eaa73 | 111 | fzuhelper-KMP | Apache License 2.0 |
src/day16/Code.kt | fcolasuonno | 162,470,286 | false | null | package day16
import java.io.File
fun main(args: Array<String>) {
val name = if (true) "test.txt" else "input.txt"
val dir = ::main::class.java.`package`.name
val input = File("src/$dir/$name").readLines()
val parsed = parse(input)
println("Part 1 = ${part1(parsed)}")
println("Part 2 = ${part2... | 0 | Kotlin | 0 | 0 | 24f54bf7be4b5d2a91a82a6998f633f353b2afb6 | 1,716 | AOC2015 | MIT License |
core/src/main/kotlin/converters/Converters.kt | hexagonkt | 56,139,239 | false | null | package com.hexagonkt.core.converters
import kotlin.reflect.KClass
/**
* Utility method to convert one type to another.
*
* @param target Target type for the source instance.
* @receiver Value to convert to another type.
*
* @see ConvertersManager.convert
*/
fun <T : Any> Any.convert(target: KClass<T>): T =
... | 21 | Kotlin | 80 | 371 | fdeda404a295a08335d6033a1d5c341d97873311 | 708 | hexagon | MIT License |
server/src/main/kotlin/de/sambalmueslie/openevent/server/announcement/api/AnnouncementAPI.kt | sambalmueslie | 270,265,994 | false | {"Kotlin": 265865, "Dockerfile": 434, "Batchfile": 61} | package de.sambalmueslie.openevent.server.announcement.api
import de.sambalmueslie.openevent.server.common.CrudAPI
import io.micronaut.data.model.Page
import io.micronaut.data.model.Pageable
import io.micronaut.security.authentication.Authentication
interface AnnouncementAPI : CrudAPI<Announcement, AnnouncementChange... | 0 | Kotlin | 0 | 1 | 053fb05dbe4242941659518f93dcac4c34b29126 | 445 | open-event | Apache License 2.0 |
cryptocurrencychallenge/src/test/java/com/yoti/android/cryptocurrencychallenge/domain/GetMarketDataTest.kt | photizzo | 432,595,756 | false | {"Kotlin": 38245} | package com.yoti.android.cryptocurrencychallenge.domain
import androidx.arch.core.executor.testing.InstantTaskExecutorRule
import com.yoti.android.cryptocurrencychallenge.domain.repository.CoinRepository
import com.yoti.android.cryptocurrencychallenge.domain.usecase.GetMarketData
import com.yoti.android.cryptocurrency... | 0 | Kotlin | 0 | 0 | 2351339f8397decbb91a1bfe5ad061b5f07b3578 | 1,854 | yoti-android-challenge | MIT License |
data/src/main/kotlin/com/github/hchery/kd/data/Transactional.kt | hchery | 789,581,942 | false | {"Kotlin": 20369, "Java": 10023, "Python": 5290} | package com.github.hchery.kd.data
import com.github.hchery.kd.GetOrNull
import com.github.hchery.kd.spring.bean
import org.springframework.stereotype.Component
import org.springframework.transaction.annotation.Transactional
/**
* DATE: 2024/4/24
* AUTHOR: hchery
* URL: https://github.com/hchery
* EMAIL: h.chery@q... | 0 | Kotlin | 0 | 0 | 0f608cf20c60a06042f0d9b8559319975bc20710 | 634 | KitDiscovery | MIT License |
src/main/kotlin/id/walt/services/key/import/JwkKeyImport.kt | walt-id | 392,607,264 | false | {"Kotlin": 1154151, "Java": 9175, "Open Policy Agent": 2974, "Shell": 2842, "Dockerfile": 1615, "JavaScript": 891, "Python": 351} | package id.walt.services.key.import
import com.nimbusds.jose.jwk.Curve
import com.nimbusds.jose.jwk.JWK
import com.nimbusds.jose.jwk.KeyType
import id.walt.crypto.*
import id.walt.services.CryptoProvider
import id.walt.services.keystore.KeyStoreService
class JwkKeyImport(private val keyString: String) : KeyImportStra... | 2 | Kotlin | 34 | 97 | 1a8776a899ac97aa32f58d2f70aba23683d2c9b3 | 2,386 | waltid-ssikit | Apache License 2.0 |
core/ui/src/main/kotlin/dev/yacsa/ui/composable/dialog/UpdateDialog.kt | andrew-malitchuk | 589,720,124 | false | null | package dev.yacsa.ui.composable.dialog
import androidx.compose.material.AlertDialog
import androidx.compose.material.Text
import androidx.compose.material.TextButton
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import dev.yacsa.model.model.update.CheckUpdateUiModel
import dev.yacsa.ui... | 0 | Kotlin | 0 | 0 | e35620cf1c66b4f76f0ed30d9c6d499acd134403 | 1,521 | yet-another-compose-showcase-app | MIT License |
base/src/main/kotlin/browser/tts/Import.kt | DATL4G | 372,873,797 | false | null | @file:JsModule("webextension-polyfill")
@file:JsQualifier("tts")
package browser.tts
import browser.events.Event
import kotlin.js.Promise
/**
* Speaks text using a text-to-speech engine.
*
* @param utterance The text to speak, either plain text or a complete, well-formed SSML document.
* Speech engines that do n... | 0 | Kotlin | 1 | 37 | ab2a825dd8dd8eb704278f52c603dbdd898d1875 | 1,751 | Kromex | Apache License 2.0 |
feature/convertcurrency/src/main/java/com/nicoqueijo/android/convertcurrency/composables/util/NumPadKey.kt | nicoqueijo | 794,591,762 | false | {"Kotlin": 128109} | package com.nicoqueijo.android.convertcurrency.composables.util
enum class NumPadKey(var value: Char) {
ONE(value = '1'),
TWO(value = '2'),
THREE(value = '3'),
FOUR(value = '4'),
FIVE(value = '5'),
SIX(value = '6'),
SEVEN(value = '7'),
EIGHT(value = '8'),
NINE(value = '9'),
DECI... | 0 | Kotlin | 0 | 0 | 5fcb4e2e0892ec8d999d4d2aad8cb2f180ff2d11 | 400 | Android-Currency-Converter-v2 | Apache License 2.0 |
app/src/main/java/com/mudassir/moviesapp/util/BindingAdapter.kt | mookyjan | 313,948,503 | false | null | package com.mudassir.moviesapp.util
import android.os.Build
import android.text.Html
import android.text.Spanned
import android.view.View
import android.widget.ImageView
import android.widget.RatingBar
import android.widget.TextView
import androidx.core.content.ContextCompat
import androidx.databinding.BindingAdapter
... | 0 | Kotlin | 0 | 4 | ebdc9848305a3cb2272e2ac8c396e0db223172ae | 2,571 | MoviesApp | Apache License 2.0 |
PrimFastKotlin/KotlinAction/app/src/main/java/com/prim/gkapp/anno/POKO.kt | zyl4265097 | 194,000,972 | true | {"Java": 261503, "Kotlin": 104047, "JavaScript": 6068, "Objective-C": 4141, "Python": 2070, "CMake": 1603, "Shell": 398} | package com.prim.gkapp.anno
/**
* @desc 给数据类添加 注解
* @author prim
* @time 2019-05-28 - 18:26
* @version 1.0.0
*/
@Retention(AnnotationRetention.BINARY)
@Target(AnnotationTarget.CLASS)
annotation class POKO | 0 | Java | 0 | 0 | dba30a1b3518da41cdc5c492f70b8d3ae4146ee4 | 210 | PrimFastApp | Apache License 2.0 |
sdk-core/src/main/java/co/reachfive/identity/sdk/core/ProfileClient.kt | ReachFive | 177,561,302 | false | {"Kotlin": 151288} | package co.reachfive.identity.sdk.core
import co.reachfive.identity.sdk.core.ProfileManagement.Companion.fields
import co.reachfive.identity.sdk.core.api.ReachFiveApi
import co.reachfive.identity.sdk.core.api.ReachFiveApiCallback
import co.reachfive.identity.sdk.core.models.AuthToken
import co.reachfive.identity.sdk.c... | 4 | Kotlin | 2 | 2 | c88e8ab52d32a2069d31a9606e96c7868fdf3c99 | 5,285 | identity-android-sdk | MIT License |
app/src/main/java/com/yuhang/novel/pirate/repository/DataRepository.kt | yuhanghate | 200,383,190 | false | null | package com.yuhang.novel.pirate.repository
import android.annotation.SuppressLint
import android.content.Context
import androidx.work.*
import com.google.gson.Gson
import com.orhanobut.logger.Logger
import com.yuhang.novel.pirate.app.PirateApp
import com.yuhang.novel.pirate.extension.niceBody
import com.yuhang.novel.p... | 1 | null | 1 | 2 | 8c72fc787a2927efb10c8c03b714195c7b1a6c76 | 30,228 | Pirate | Apache License 2.0 |
protocol/src/main/kotlin/org/openrs2/protocol/create/downstream/PasswordInvalidLengthCodec.kt | openrs2 | 315,027,372 | false | null | package org.openrs2.protocol.create.downstream
import org.openrs2.protocol.EmptyPacketCodec
import javax.inject.Singleton
@Singleton
public class PasswordInvalidLengthCodec : EmptyPacketCodec<CreateResponse.PasswordInvalidLength>(
packet = CreateResponse.PasswordInvalidLength,
opcode = 30
)
| 0 | Kotlin | 2 | 8 | 12eba96055ba13e8a8e3ec0ad3be7d93b3dd5b1b | 302 | openrs2 | ISC License |
libnavigation-tripdata/src/main/java/com/mapbox/navigation/tripdata/shield/internal/api/MapboxRouteShieldApiEx.kt | mapbox | 87,455,763 | false | {"Kotlin": 8885438, "Makefile": 8762, "Python": 7925, "Java": 4624} | package com.mapbox.navigation.tripdata.shield.internal.api
import com.mapbox.bindgen.Expected
import com.mapbox.navigation.tripdata.shield.api.MapboxRouteShieldApi
import com.mapbox.navigation.tripdata.shield.internal.model.RouteShieldToDownload
import com.mapbox.navigation.tripdata.shield.model.RouteShieldError
impor... | 508 | Kotlin | 318 | 621 | 88163ae3d7e34948369d6945d5b78a72bdd68d7c | 781 | mapbox-navigation-android | Apache License 2.0 |
app/src/test/java/com/ankitgh/employeeportal/ui/LauncherViewModelTest.kt | AnkitGhate | 267,842,910 | false | null | /*
* 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 writin... | 0 | Kotlin | 0 | 2 | c92797926019fb62a30226f54fc8327c1517c9df | 2,474 | EmployeePortal | Apache License 2.0 |
app/src/main/java/org/phcbest/neteasymusic/ui/activity/PlayDetailActivity.kt | phcbest | 471,621,513 | false | null | package org.phcbest.neteasymusic.ui.activity
import android.annotation.SuppressLint
import android.content.ComponentName
import android.content.Intent
import android.content.ServiceConnection
import android.graphics.Color
import android.os.IBinder
import android.text.Spannable
import android.text.SpannableStringBuilde... | 0 | Kotlin | 1 | 2 | d94a834216d24f81ee5e2e35b0c54ef6da8b50af | 7,173 | KotlinNetEasyMusic | MIT License |
idea/testData/copyPaste/plainTextLiteral/WithEntries.kt | JakeWharton | 99,388,807 | false | null | val a="<caret>" | 0 | null | 28 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 15 | kotlin | Apache License 2.0 |
idea/testData/copyPaste/plainTextLiteral/WithEntries.kt | JakeWharton | 99,388,807 | false | null | val a="<caret>" | 0 | null | 28 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 15 | kotlin | Apache License 2.0 |
app/src/main/java/com/qflow/main/domain/DataConstant.kt | DanielPinaM | 303,209,249 | true | {"Kotlin": 167916, "Java": 3748} | package com.qflow.main.domain
const val COLLECTION_QUEUE = "queue"
const val COLLECTION_QUEUE_USER = "queue_user"
const val COLLECTION_USER = "user"
//crear demas bbdd | 0 | null | 0 | 0 | 7a5a91096dffc75fbc167d8d1483b7f1adcfbe0b | 168 | QueueApp | Apache License 2.0 |
mpp-library/feature/list/src/commonMain/kotlin/org/example/library/feature/list/di/ListFactory.kt | icerockdev | 210,767,979 | false | null | /*
* Copyright 2019 IceRock MAG Inc. Use of this source code is governed by the Apache 2.0 license.
*/
package org.example.library.feature.list.di
import org.example.library.feature.list.model.ListSource
import org.example.library.feature.list.presentation.ListViewModel
class ListFactory<T>(
private val listSo... | 8 | Kotlin | 43 | 413 | 1e202b699153a337944ca4b00353ecf3a685884d | 659 | moko-template | Apache License 2.0 |
discussions/discussions-common/src/commonMain/kotlin/DiscCorSettings.kt | Piligrim678 | 600,730,971 | false | null | package ru.music.common
import repo.IDiscussionRepository
import ru.music.discussions.MpLoggerProvider
data class DiscCorSettings(
val loggerProvider: MpLoggerProvider = MpLoggerProvider(),
val repoStub: IDiscussionRepository = IDiscussionRepository.NONE,
val repoTest: IDiscussionRepository = IDiscussionR... | 1 | Kotlin | 0 | 0 | 2a10c588334d27a8864ff893c8a4871b8cbecac4 | 477 | music | Apache License 2.0 |
src/test/kotlin/world/cepi/kstom/item/ItemTests.kt | Project-Cepi | 320,725,364 | false | null | package world.cepi.kstom.item
import io.kotest.core.plan.Descriptor.EngineDescriptor.displayName
import io.kotest.core.spec.style.StringSpec
import io.kotest.matchers.nulls.shouldBeNull
import io.kotest.matchers.shouldBe
import net.kyori.adventure.text.Component
import world.cepi.kstom.nbt.classes.CollectionClass
impo... | 3 | Kotlin | 3 | 7 | 9ae0eb4872458661315ecadc4d570617039e10ca | 1,433 | KStom | MIT License |
Data/azure.android.data/src/main/java/com/microsoft/azureandroid/data/services/ResourceResponse.kt | NateRickard | 108,568,001 | false | null | package com.microsoft.azureandroid.data.services
import com.microsoft.azureandroid.data.model.DataError
import com.microsoft.azureandroid.data.model.ResourceBase
import com.microsoft.azureandroid.data.model.Result
import okhttp3.Request
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed unde... | 1 | Kotlin | 1 | 1 | 4eab6b9b30698081e7f7092e3b5d7e5645fd33f9 | 1,346 | Azure.Android | MIT License |
compose-ide-plugin/src/com/android/tools/compose/debug/ComposableSingletonsUtil.kt | JetBrains | 60,701,247 | false | {"Kotlin": 53054415, "Java": 43443054, "Starlark": 1332164, "HTML": 1218044, "C++": 507658, "Python": 191041, "C": 71660, "Lex": 70302, "NSIS": 58238, "AIDL": 35382, "Shell": 29838, "CMake": 27103, "JavaScript": 18437, "Smali": 7580, "Batchfile": 7357, "RenderScript": 4411, "Clean": 3522, "Makefile": 2495, "IDL": 19} | // Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.android.tools.compose.debug
import com.intellij.openapi.application.runReadAction
import org.jetbrains.kotlin.fileClasses.JvmFileClassUtil
import org.jetbrains.kotlin.load.kotlin.Package... | 5 | Kotlin | 227 | 948 | 10110983c7e784122d94c7467e9d243aba943bf4 | 2,127 | android | Apache License 2.0 |
app/src/main/java/com/example/inventory/data/Item.kt | emmanuelwithme | 502,542,936 | false | {"Kotlin": 49308} | package com.example.inventory.data
import android.content.ContentValues
import android.net.Uri
import androidx.core.net.toUri
import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey
import com.example.inventory.MainActivity.Companion.ITEM_TABLE_COLNAME_BIRTHDAY
import com.example.in... | 0 | Kotlin | 0 | 0 | b9c226a98c058c5798c745f26983aa3d499b21d1 | 3,917 | android_final_project | Apache License 2.0 |
sample/src/main/java/com/kiven/sample/network/socket/AHSocketTest.kt | WangKiven | 64,111,499 | false | null | package com.kiven.sample.network.socket
import android.net.Uri
import android.os.Bundle
import android.view.View
import android.view.ViewGroup
import android.view.inputmethod.EditorInfo
import android.widget.Button
import android.widget.TextView
import androidx.core.widget.NestedScrollView
import com.google.android.fl... | 0 | null | 5 | 5 | fc73477823f89e741588862e243a46e45279fdf3 | 11,814 | KUtils | Apache License 2.0 |
tempest2-testing/src/main/kotlin/app/cash/tempest2/testing/TestTable.kt | cashapp | 270,829,467 | false | {"Kotlin": 487620, "Shell": 2116, "Java": 2108} | /*
* Copyright 2021 Square Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | 17 | Kotlin | 33 | 83 | 8430cf3ad4be5f1e6786dd927bcc494fe0ea7baf | 1,907 | tempest | Apache License 2.0 |
agp-7.1.0-alpha01/tools/base/build-system/gradle-core/src/test/java/com/android/build/gradle/internal/tasks/GenerateLibraryProguardRulesTaskTest.kt | jomof | 502,039,754 | false | {"Java": 35519326, "Kotlin": 22849138, "C++": 2171001, "HTML": 1377915, "Starlark": 915536, "C": 141955, "Shell": 110207, "RenderScript": 58853, "Python": 25635, "CMake": 18109, "Batchfile": 12180, "Perl": 9310, "Dockerfile": 5690, "Makefile": 4535, "CSS": 4148, "JavaScript": 3488, "PureBasic": 2359, "GLSL": 1628, "AID... | package com.android.build.gradle.internal.tasks
import com.android.build.gradle.internal.fixtures.FakeGradleProperty
import com.android.build.gradle.internal.fixtures.FakeNoOpAnalyticsService
import com.android.build.gradle.internal.fixtures.FakeObjectFactory
import com.android.build.gradle.internal.profile.AnalyticsS... | 1 | Java | 1 | 0 | 9e3475f6d94cb3239f27ed8f8ee81b0abde4ef51 | 9,341 | CppBuildCacheWorkInProgress | Apache License 2.0 |
app/src/test/java/com/movietrivia/filmfacts/model/SessionDataSourceTest.kt | jlynchsd | 631,418,923 | false | {"Kotlin": 524037} | package com.movietrivia.filmfacts.model
import android.content.SharedPreferences
import io.mockk.clearAllMocks
import io.mockk.every
import io.mockk.mockk
import io.mockk.mockkObject
import io.mockk.verify
import org.junit.After
import org.junit.Assert
import org.junit.Before
import org.junit.Test
import org.junit.run... | 0 | Kotlin | 0 | 0 | 9a6c9ae5bc2f7a743c9399a64d0c9edf5c7e0d84 | 2,171 | FilmFacts | Apache License 2.0 |
app/src/main/java/com/safeboda/ui/scroller/PaginatedScrollListener.kt | jumaallan | 313,547,738 | false | null | /*
* Copyright 2020 Safeboda
*
* 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... | 2 | Kotlin | 14 | 21 | ec11c0ce526d2a790cb3b6fdd90f4ed56e9bfff8 | 1,903 | safeboda | The Unlicense |
argus-apm-gradle/src/main/kotlin/com/argusapm/gradle/internal/PluginConfig.kt | Qihoo360 | 159,286,067 | false | null | package com.argusapm.gradle.internal
import com.android.build.gradle.*
import com.argusapm.gradle.ArgusApmConfig
import com.argusapm.gradle.internal.utils.getVariants
import org.gradle.api.GradleException
import org.gradle.api.Project
import org.gradle.api.tasks.compile.JavaCompile
import java.io.File
class PluginCon... | 31 | Java | 412 | 2,603 | 75ead19ca98a8a1f776688e9df5b572f20c80b12 | 2,273 | ArgusAPM | Apache License 2.0 |
hubdle-gradle-plugin/main/kotlin/com/javiersc/hubdle/project/extensions/config/project/HubdleProjectExtension.kt | JavierSegoviaCordoba | 348,863,451 | false | {"Kotlin": 501858, "Shell": 21101, "Perl": 4726, "CSS": 195} | package com.javiersc.hubdle.project.extensions.config.project
import com.javiersc.hubdle.project.extensions.HubdleDslMarker
import com.javiersc.hubdle.project.extensions._internal.getHubdleExtension
import com.javiersc.hubdle.project.extensions.apis.HubdleConfigurableExtension
import com.javiersc.hubdle.project.extens... | 12 | Kotlin | 10 | 26 | 0f7c0b7fb2d1fd15a2cdaeee2ec1cacea522cca2 | 2,825 | hubdle | Apache License 2.0 |
app/src/main/java/dev/seabat/android/hellobottomnavi/di/DataSourceModuleProvider.kt | seabat | 614,867,401 | false | {"Kotlin": 67436} | package dev.seabat.android.hellobottomnavi.di
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import dev.seabat.android.hellobottomnavi.data.datasource.github.GithubApi
import dev.seabat.android.hellobottomnavi.data.datasource.github.GithubApiSe... | 0 | Kotlin | 0 | 0 | b4c5afa9609ef0e07e36593b8545d9ab093c33ea | 751 | hello-bottom-navigation | Apache License 2.0 |
sdk/src/main/kotlin/io/rover/sdk/ui/blocks/poll/text/ViewTextPoll.kt | RoverPlatform | 55,724,334 | false | null | package io.rover.sdk.ui.blocks.poll.text
import android.graphics.Typeface
import android.view.View
import android.view.ViewGroup
import android.widget.LinearLayout
import io.rover.sdk.data.domain.TextPoll
import io.rover.sdk.data.mapToFont
import io.rover.sdk.logging.log
import io.rover.sdk.platform.addView
import io.... | 16 | Java | 13 | 6 | 1b6e627a1e4b3651d0cc9f6e78f995ed9e4a821a | 7,767 | rover-android | Apache License 2.0 |
OnlinePK-Android/lib-live-room-service/src/main/java/com/netease/yunxin/lib_live_room_service/delegate/LiveRoomDelegate.kt | netease-george | 377,830,443 | true | {"Objective-C": 1325069, "Kotlin": 611041, "Java": 270376, "Swift": 124836, "C": 6974, "Python": 2874, "Ruby": 797} | /*
* Copyright (c) 2021 NetEase, Inc. All rights reserved.
* Use of this source code is governed by a MIT license that can be found in the LICENSE file
*/
package com.netease.yunxin.lib_live_room_service.delegate
import com.netease.yunxin.lib_live_room_service.bean.LiveUser
import com.netease.yunxin.lib_live_ro... | 0 | Objective-C | 0 | 0 | 9ba2e45734d24bcc287a08288e25b6d27856744d | 1,654 | OnlinePK | MIT License |
PRACTICE_JETPACK/app/src/main/java/nlab/practice/jetpack/ui/home/HomeViewModel.kt | skaengus2012 | 153,380,376 | false | null | /*
* Copyright (C) 2007 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 a... | 2 | Kotlin | 0 | 0 | 6c742e0888f5e01e0d7f0f1dd3d57707c62716b0 | 3,904 | Practice-Jetpack | Apache License 2.0 |
NavigationComponentExample/app/src/main/java/com/example/navigationcomponentexample/FragmentTwo.kt | velmurugan-murugesan | 159,637,287 | false | null | package com.example.navigationcomponentexample
import android.os.Bundle
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.navigation.findNavController
import androidx.navigation.fragment.navArgs
import... | 1 | Java | 1 | 6 | 8c2e8b2a0e8f33b5e8c0ea66890756e02577fa54 | 1,029 | AndriodSamples | Apache License 2.0 |
8vim/src/test/kotlin/inc/flide/vim8/utils/GeometricUtilitiesSpec.kt | 8VIM | 72,917,629 | false | {"Kotlin": 269386, "Java": 59286, "Ruby": 4678, "Shell": 55} | package inc.flide.vim8.utils
import android.graphics.PointF
import io.kotest.core.spec.style.FunSpec
import io.kotest.matchers.shouldBe
import io.mockk.mockk
class GeometricUtilitiesSpec : FunSpec({
fun mockPointF(x: Float, y: Float): PointF {
val point = mockk<PointF>()
point.x = x
point.... | 63 | Kotlin | 58 | 389 | d13c901396710c38bb4d5f5dbe6856664ae1e76b | 590 | 8VIM | Apache License 2.0 |
im-organization/organization-domain/src/commonMain/kotlin/city.smartb.im.organization.domain/OrganizationQueryFeatures.kt | smartbcity | 651,445,390 | false | null | package city.smartb.im.organization.domain
import city.smartb.im.organization.domain.features.query.OrganizationGetFromInseeFunction
import city.smartb.im.organization.domain.features.query.OrganizationGetFunction
import city.smartb.im.organization.domain.features.query.OrganizationPageFunction
import city.smartb.im.o... | 0 | Kotlin | 0 | 0 | 6a727ac998241724d073ac66247496355316f934 | 1,014 | connect-im | Apache License 2.0 |
app/src/main/java/com/arcadone/cheers/ui/mainFragment/BeerViewModelFactory.kt | ArcaDone | 367,069,951 | false | {"Kotlin": 46937} | package com.arcadone.cheers.ui.mainFragment
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import com.arcadone.cheers.repository.BeerRepository
import kotlinx.coroutines.InternalCoroutinesApi
// By using viewModels and ViewModelProvider.Factory,
// the framework will take care of the ... | 0 | Kotlin | 0 | 2 | 72081135059cc5e4ea52194f147048c3e5d53fe8 | 931 | PunkAPI | MIT License |
app/src/main/java/com/example/frasesmotivadoras/model/JSONRepository.kt | FelipeSPB | 272,586,238 | false | null | package com.example.frasesmotivadoras.model
import android.content.Context
import com.google.gson.Gson
import com.google.gson.reflect.TypeToken
import java.io.IOException
import java.io.InputStream
class JSONRepository(context: Context) {
fun getJSONFile(context: Context, fileName: String): String?{
val ... | 0 | Kotlin | 0 | 0 | 3dcfe20b4b39c9dd0c6d3c8e1fe15f9c62fb3d90 | 790 | FrasesMotivacionais | Apache License 2.0 |
core/util/src/main/kotlin/com/flixclusive/core/util/common/dispatcher/di/DispatchersModule.kt | rhenwinch | 659,237,375 | false | {"Kotlin": 1893733, "Java": 18011} | package com.flixclusive.core.util.common.dispatcher.di
import com.flixclusive.core.util.common.dispatcher.AppDispatchers
import com.flixclusive.core.util.common.dispatcher.Dispatcher
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import kotlinx... | 26 | Kotlin | 24 | 319 | 44517ccc0d77b78cf686f6f6d4464298a05c72fe | 717 | Flixclusive | MIT License |
starbound-text/src/main/kotlin/com/windea/plugin/idea/sbtext/SbTextLanguage.kt | DragonKnightOfBreeze | 271,196,420 | false | null | package com.windea.plugin.idea.sbtext
import com.intellij.lang.*
object SbTextLanguage: Language(sbTextName)
| 1 | Kotlin | 2 | 4 | abadd50d6fba765e64995f27d525270d4907efed | 112 | Idea-Plugins | MIT License |
composeApp/src/commonMain/kotlin/presentation/screens/profile/ProfileScreen.kt | vrcm-team | 746,586,818 | false | {"Kotlin": 155380, "Swift": 4222} | package io.github.vrcmteam.vrcm.presentation.screens.profile
import androidx.compose.animation.core.FastOutSlowInEasing
import androidx.compose.animation.core.tween
import androidx.compose.foundation.*
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.shape.CircleShape
import androidx.comp... | 0 | Kotlin | 0 | 4 | 28582f66a8fe196e82c0d662c2791c5f507a8f59 | 13,955 | VRCM | MIT License |
composeApp/src/commonMain/kotlin/presentation/screens/profile/ProfileScreen.kt | vrcm-team | 746,586,818 | false | {"Kotlin": 155380, "Swift": 4222} | package io.github.vrcmteam.vrcm.presentation.screens.profile
import androidx.compose.animation.core.FastOutSlowInEasing
import androidx.compose.animation.core.tween
import androidx.compose.foundation.*
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.shape.CircleShape
import androidx.comp... | 0 | Kotlin | 0 | 4 | 28582f66a8fe196e82c0d662c2791c5f507a8f59 | 13,955 | VRCM | MIT License |
kotlin/lightning_talk/src/main/kotlin/me/bendoan/helloKotlin/user.kt | BenDoan | 29,168,104 | false | null | package me.bendoan.helloKotlin
data class User(var name: String, var age: Int)
fun main(args: Array<String>) {
val ben = User("<NAME>", 22)
val ben2 = User("<NAME>", 22)
val nick = User("<NAME>", 21)
println("Does $ben equal $nick? ${ben == nick}")
println("Does $ben equal $ben2? ${ben == ben2}"... | 56 | Jupyter Notebook | 1 | 1 | 80c74ac2edc8707b96a386099ce7dad5837f279f | 324 | playground | MIT License |
src/test/java/de/platon42/intellij/plugins/cajon/inspections/AssertThatSizeInspectionTest.kt | myplacedk | 463,208,541 | true | {"Kotlin": 263139, "Java": 206801, "HTML": 8728} | package de.platon42.intellij.plugins.cajon.inspections
import com.intellij.testFramework.fixtures.JavaCodeInsightTestFixture
import de.platon42.intellij.jupiter.MyFixture
import de.platon42.intellij.jupiter.TestDataSubPath
import de.platon42.intellij.plugins.cajon.AbstractCajonTest
import org.junit.jupiter.api.Test
i... | 0 | null | 0 | 0 | 2d92d71af0bbf7991c4709c3b36548c1be474b46 | 2,404 | cajon-plugin | Apache License 2.0 |
app/src/main/java/dev/igorxp5/applada/data/repositories/SubscriptionRepository.kt | Igorxp5 | 743,171,374 | false | {"Kotlin": 58397} | package dev.igorxp5.applada.data.repositories
import dev.igorxp5.applada.data.Subscription
import dev.igorxp5.applada.data.source.Result
import dev.igorxp5.applada.data.source.SubscriptionDataSource
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.Dispatchers
class SubscriptionRepository(
p... | 0 | Kotlin | 0 | 0 | 64f696fd87f7e76b1aaf385f34bcdd34f51cd9bd | 2,075 | applada-android | MIT License |
app/src/main/java/oliveiradev/br/livromaterialdesign/ui/adapters/HeroesAdapter.kt | oliveiradev27 | 135,095,467 | false | {"Kotlin": 10036} | package oliveiradev.br.livromaterialdesign.ui.adapters
import android.support.v7.widget.CardView
import android.support.v7.widget.RecyclerView
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.LinearLayout
import android.widg... | 0 | Kotlin | 0 | 0 | cb7bfac6f5d4358dc432d2e217886cfd9cf0161b | 1,898 | Painel-de-Herois | MIT License |
seskar/seskar-compiler-plugin/src/main/kotlin/seskar/compiler/union/extensions/UnionTransformExtension.kt | turansky | 279,976,108 | false | {"Kotlin": 64960, "Shell": 286} | package seskar.compiler.union.extensions
import org.jetbrains.kotlin.backend.common.extensions.IrGenerationExtension
import org.jetbrains.kotlin.backend.common.extensions.IrPluginContext
import org.jetbrains.kotlin.ir.declarations.IrModuleFragment
import seskar.compiler.union.backend.UnionTransformer
internal class U... | 0 | Kotlin | 4 | 30 | 50d17ed657653b7660ead90fb3201772e893c9ed | 574 | seskar | Apache License 2.0 |
android/benchmark/src/main/java/io/github/reactivecircus/benchmark/baselineprofile/BaselineProfileGenerator.kt | ReactiveCircus | 513,535,591 | false | {"Kotlin": 479642} | package io.github.reactivecircus.benchmark.baselineprofile
import androidx.benchmark.macro.junit4.BaselineProfileRule
import androidx.test.ext.junit.runners.AndroidJUnit4
import androidx.test.filters.LargeTest
import io.github.reactivecircus.benchmark.PackageName
import io.github.reactivecircus.benchmark.home.homeFeed... | 1 | Kotlin | 0 | 0 | 57c1b136c769f0c444fcdc7028534b4ca278954a | 982 | kstreamlined-mobile | Apache License 2.0 |
android/app/src/main/kotlin/com/example/material_design/MainActivity.kt | flutter-codelabs | 437,217,914 | false | {"Dart": 26704, "C++": 16826, "CMake": 7955, "C": 734, "Swift": 404, "Kotlin": 132, "Objective-C": 38} | package com.example.material_design
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 0 | 0 | 248dab8c4c57eec768fa161e4967146095223d89 | 132 | material_design | MIT License |
urbanairship-core/src/test/java/com/urbanairship/permission/PermissionsManagerTest.kt | urbanairship | 58,972,818 | false | {"Kotlin": 3266979, "Java": 2582150, "Python": 10137, "Shell": 589} | /* Copyright Airship and Contributors */
package com.urbanairship.permission
import android.app.Activity
import android.content.Context
import androidx.core.util.Consumer
import androidx.test.core.app.ApplicationProvider
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.urbanairship.TestActivityMonitor
i... | 2 | Kotlin | 122 | 111 | 21d49c3ffd373e3ba6b51a706a4839ab3713db11 | 17,353 | android-library | Apache License 2.0 |
components/psi/imagevector/src/main/kotlin/io/github/composegears/valkyrie/psi/extension/PsiElement.kt | ComposeGears | 778,162,113 | false | {"Kotlin": 777429} | package io.github.composegears.valkyrie.psi.extension
import com.intellij.psi.PsiElement
import com.intellij.psi.util.PsiTreeUtil
inline fun <reified T : PsiElement> PsiElement.childrenOfType(): Collection<T> {
return PsiTreeUtil.findChildrenOfType(this, T::class.java)
}
inline fun <reified T : PsiElement> PsiEl... | 27 | Kotlin | 6 | 321 | f0647081b15b907ad92b38c33eb62179ffd0f969 | 408 | Valkyrie | Apache License 2.0 |
TeamCode/src/main/kotlin/org/firstinspires/ftc/teamcode/opModes/teleOp/OutreachTeleOp.kt | ftc13100 | 536,340,996 | false | {"Java": 206334, "Kotlin": 72073} | package org.firstinspires.ftc.teamcode.opModes.teleOp
import com.acmerobotics.dashboard.FtcDashboard
import com.acmerobotics.dashboard.telemetry.MultipleTelemetry
import com.arcrobotics.ftclib.command.CommandOpMode
import com.arcrobotics.ftclib.command.ConditionalCommand
import com.arcrobotics.ftclib.command.InstantCo... | 1 | null | 1 | 1 | fac135fb57c4c84938c3d11a6b43fbe09b6c70cf | 4,343 | PowerPlay-2023 | BSD 3-Clause Clear License |
Android/app/src/main/java/io/agora/app/karaoke/kit/KaraokeUiKit.kt | apex-wang | 659,114,842 | true | {"Markdown": 19, "Text": 3, "Ignore List": 5, "Git Config": 1, "Ruby": 3, "Swift": 23, "OpenStep Property List": 1, "XML": 45, "JSON": 9, "Java Properties": 2, "Gradle": 4, "Shell": 2, "Batchfile": 2, "INI": 2, "Proguard": 2, "Kotlin": 7, "Java": 107, "JavaScript": 1, "Maven POM": 1, "Dockerfile": 1, "YAML": 2, "JSON w... | package io.agora.app.karaoke.kit
import io.agora.app.karaoke.BuildConfig
import io.agora.asceneskit.karaoke.AUIKaraokeRoomService
import io.agora.asceneskit.karaoke.KaraokeRoomView
import io.agora.auikit.model.AUICommonConfig
import io.agora.auikit.model.AUICreateRoomInfo
import io.agora.auikit.model.AUIRoomConfig
imp... | 0 | null | 0 | 0 | acc5f2823364b3645ad21d5d7c29fb2c653e144a | 5,193 | AUIKitKaraoke | MIT License |
app/src/main/java/com/stanica/speedoxtream/ui/settings/userinfo/UserInfoGuidedFragment.kt | Danini2308 | 587,394,185 | false | {"Java Properties": 13, "Gradle": 50, "Shell": 9, "Markdown": 7, "Batchfile": 8, "Text": 5, "Ignore List": 5, "JSON": 77, "Python": 1, "Proguard": 26, "XML": 397, "Java": 441, "Kotlin": 59, "SVG": 1, "HTML": 1} | package com.stanica.speedoxtream.ui.settings.userinfo
import android.content.Context
import android.os.Bundle
import androidx.leanback.app.ErrorSupportFragment
import androidx.leanback.app.GuidedStepSupportFragment
import androidx.leanback.app.ProgressBarManager
import androidx.leanback.widget.GuidanceStylist
import a... | 1 | null | 1 | 1 | fc502b55a4cc434e9c04e2ce7e12f966ced4e07c | 4,557 | SpeedoXtream | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.