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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
build-benchmarks/src/main/kotlin/runBenchmarks.kt | ALikhachev | 291,642,674 | false | null | import org.jetbrains.kotlin.build.benchmarks.*
fun main() {
mainImpl(santaScenarios(), "../.") // expected working dir is %SPACE_PROJECT_PATH%/build-benchmarks/
}
| 1 | null | 1 | 1 | 4df5f1b4559ed3a37f002580ac00b90d76f87a47 | 168 | santa-tracker-android | Apache License 2.0 |
treessence/src/main/java/fr/bipi/treessence/common/filters/MergeFilter.kt | bastienpaulfr | 113,416,930 | false | null | package fr.bipi.treessence.common.filters
/**
* Merge several filters into one.
*
* - If one of filters wants to skip log, then this merge filter is skipping log.
* - If one of filter tells that it is not loggable, then this merge filter is not loggable as well.
*/
class MergeFilter(
filters: List<Filter> = e... | 8 | null | 9 | 84 | 76c80f590988dbb4b317b2b3ff23eb4dddf0514a | 1,110 | Treessence | Apache License 2.0 |
app/src/main/kotlin/com/example/mingkangpan/learnrx2/fragment/MorphImageFragment.kt | minkiapps | 278,189,966 | false | null | package com.example.mingkangpan.learnrx2.fragment
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.example.mingkangpan.learnrx2.R
import com.example.mingkangpan.learnrx2.RxFragment
import io.reactivex.Observable
import io.reactivex.android.sc... | 0 | Kotlin | 0 | 0 | a7d4eafa8a49b4289fc678b0dc9a6d136af834cd | 1,203 | RxJava-Playground | Apache License 2.0 |
src/main/kotlin/com/yaroslavzghoba/routing/v1/GetCollectionsHandler.kt | papagei-service | 855,958,312 | false | {"Kotlin": 137594} | package com.yaroslavzghoba.routing.v1
import com.yaroslavzghoba.model.Repository
import com.yaroslavzghoba.routing.RouteHandlersProvider
import com.yaroslavzghoba.security.sessions.UserSession
import io.ktor.http.*
import io.ktor.server.response.*
import io.ktor.server.routing.*
import io.ktor.server.sessions.*
@Supp... | 0 | Kotlin | 0 | 0 | fda4a418997b25be36cca73038bad72d7afd09c0 | 1,442 | backend | MIT License |
2023/src/test/kotlin/Day20Test.kt | dlew | 498,498,097 | false | {"Kotlin": 322815, "TypeScript": 60083, "JavaScript": 262} | import org.junit.jupiter.api.Test
import utils.getResourceAsString
import kotlin.test.assertEquals
class Day20Test {
@Test
fun part1_sample1() {
assertEquals(32000000, Day20.part1(getResourceAsString("day20-sample1.txt")))
}
@Test
fun part1_sample2() {
assertEquals(11687500, Day20.part1(getResourceA... | 0 | Kotlin | 0 | 0 | d0727e5b3fcd2d4d23cab97a1265f6a8af6e0efd | 570 | advent-of-code | MIT License |
web-server/src/main/kotlin/me/devnatan/katan/webserver/impl/SerializableAccount.kt | iLemonBr | 313,459,082 | true | {"Kotlin": 102505} | package me.devnatan.katan.webserver.impl
import kotlinx.serialization.Contextual
import kotlinx.serialization.Serializable
import kotlinx.serialization.Transient
import me.devnatan.katan.api.account.Account
import me.devnatan.katan.api.permission.Permission
import me.devnatan.katan.api.permission.PermissionFlag
import... | 0 | null | 0 | 0 | e84eb52309cf1bdf316c58040dbb469b1ea42561 | 623 | Katan | Apache License 2.0 |
src/main/kotlin/com/computas/cxcloud101/gcp/speedtestapi/facade/SpeedtestResource.kt | cx-cloud-101 | 146,324,315 | false | null | package com.computas.cxcloud101.gcp.speedtestapi.facade
import com.computas.cxcloud101.gcp.speedtestapi.model.SpeedtestEvent
import com.google.gson.Gson
import org.springframework.beans.factory.annotation.Value
import org.springframework.cloud.gcp.pubsub.core.PubSubTemplate
import org.springframework.http.HttpStatus
i... | 0 | Kotlin | 0 | 1 | 4ae7a9d63d7591771bcb1af1cb8bf59859bb5dd4 | 1,285 | gcp-speedtest-api | MIT License |
app/src/main/java/com/maku/easydata/ui/LoginActivityFragment.kt | ma-za-kpe | 195,559,374 | false | null | package com.maku.easydata.ui
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.content.IntentSender
import android.content.SharedPreferences
import android.graphics.Color
import android.graphics.Typeface
import android.os.Bundle
import android.text.Spannable
import... | 0 | Kotlin | 1 | 2 | c30289f81216562c7fe4361c9f3e2644f70c796b | 6,784 | ma-pesa | The Unlicense |
roboquant-core/test/logging/SilentLoggerTest.kt | neurallayer | 406,929,056 | false | null | /*
* Copyright 2021 Neural Layer
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 4 | null | 9 | 27 | 601f0b39950a53b32889d6c3688b2bcfecae9323 | 1,098 | roboquant | Apache License 2.0 |
src/main/kotlin/net/rhseung/reimagined/tool/parts/definitions/Part.kt | Rhseung | 596,491,850 | false | null | package net.rhseung.reimagined.tool.parts.definitions
import net.minecraft.client.item.TooltipContext
import net.minecraft.item.Item
import net.minecraft.item.ItemStack
import net.minecraft.text.Text
import net.minecraft.world.World
import net.rhseung.reimagined.registration.RegistryHelper
import net.rhseung.reimagine... | 0 | Kotlin | 0 | 0 | b6c0c10ef140caa27d1d310b4d2062dc4c27a3c6 | 4,977 | ReImagined | MIT License |
kotlin-event-listener-archetype/src/main/resources/archetype-resources/src/main/kotlin/__pluginName__/__pluginName__EventListener.kt | curityio | 114,375,052 | false | null | package ${package}.${pluginName}
import se.curity.identityserver.sdk.data.events.Event
import se.curity.identityserver.sdk.event.EventListener
class ${pluginName}EventListener(private val _configuration: ${pluginName}EventListenerConfig): EventListener<Event>
{
// TODO: Change the generic type of the interface an... | 1 | null | 2 | 3 | b0c2f3babdec0a1c8c56dd62b8df4daf40be2144 | 1,003 | maven-archetypes | Apache License 2.0 |
kotlin-typescript/src/main/generated/typescript/Printer.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
package typescript
sealed external interface Printer {
/**
* Print a node and its subtree as-is, without any emit transformations.
* @param hint A value indicating the purpose of a node. This is primarily used to
* distinguish between an `Identifier` used... | 10 | Kotlin | 145 | 983 | 7ef1028ba3e0982dc93edcdfa6ee1edb334ddf35 | 1,515 | kotlin-wrappers | Apache License 2.0 |
.space.kts | promofu | 345,707,142 | true | {"Kotlin": 50228, "Shell": 484} | /**
* JetBrains Space Automation
* This Kotlin-script file lets you automate build activities
* For more info, see https://www.jetbrains.com/help/space/automation.html
*/
job("Build, run tests and publish") {
gradlew("openjdk:11", "build")
//gradlew("openjdk:11", "build publishh")
}
| 0 | Kotlin | 0 | 1 | 88996b244895bab6a22b63b580948f14db6910d2 | 291 | kotlin-ktor-realworld-example-app | MIT License |
src/main/kotlin/no/nav/syfo/trengeroppfolging/domain/TrengerOppfolging.kt | navikt | 189,998,720 | false | {"Kotlin": 679591, "Dockerfile": 226} | package no.nav.syfo.trengeroppfolging.domain
import no.nav.syfo.personstatus.domain.PersonIdent
import no.nav.syfo.personstatus.domain.PersonOversiktStatus
import java.time.LocalDate
import java.util.UUID
data class TrengerOppfolging private constructor(
val uuid: UUID,
val personIdent: PersonIdent,
val i... | 5 | Kotlin | 1 | 0 | e590c9ce3b6b18b09adaa049a9469b89e27da0c2 | 848 | syfooversiktsrv | MIT License |
fab/src/main/java/com/hatfat/fab/search/filter/FabFilter.kt | scottrick | 337,184,629 | false | {"Kotlin": 375629} | package com.hatfat.fab.search.filter
import com.hatfat.fab.data.FabCard
interface FabFilter {
fun filter(card: FabCard /* setRepository: SWCCGSetRepository */): Boolean
} | 0 | Kotlin | 0 | 2 | 37d24a571735b17078c737973845c0e0f342d5f8 | 176 | cards | MIT License |
app/src/main/java/ru/nbsp/pushka/di/SchedulerModule.kt | dimorinny | 51,604,851 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "JSON": 1, "Proguard": 11, "Java": 14, "XML": 102, "Kotlin": 258} | package ru.nbsp.pushka.di
import dagger.Module
import dagger.Provides
import ru.nbsp.pushka.di.annotation.IOSched
import ru.nbsp.pushka.di.annotation.UISched
import rx.Scheduler
import rx.android.schedulers.AndroidSchedulers
import rx.schedulers.Schedulers
import javax.inject.Singleton
/**
* Created by Dimorinny on ... | 0 | Kotlin | 0 | 0 | 71ac416b33f628bbcec12fad4776f7abc242c882 | 638 | pushka-android | MIT License |
app/src/main/java/org/tokend/template/view/util/fab/FloatingActionMenuAction.kt | tokend | 192,905,357 | false | null | package org.tokend.template.view.util.fab
import android.content.Context
import android.graphics.drawable.Drawable
import androidx.annotation.DrawableRes
import androidx.annotation.StringRes
import androidx.annotation.StyleRes
import androidx.core.content.ContextCompat
import android.view.ContextThemeWrapper
import co... | 1 | null | 9 | 6 | 05bb971859713830a9c229206dc9f525ce80f754 | 2,210 | conto-android-client | Apache License 2.0 |
tarka-ui/src/main/java/com/tarkalabs/tarkaui/components/base/TUIFloatingActionButton.kt | tarkalabs | 624,304,689 | false | {"Kotlin": 2082580} | package com.tarkalabs.tarkaui.components.base
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.defaultMinSize
import androidx.compose.foundation.layout.padding
import android... | 1 | Kotlin | 1 | 6 | 2880eee338c9ab2d1ecfe3e945beaaa5c686f871 | 3,312 | tarka-ui-kit-android | MIT License |
packages/expo-image/android/src/main/java/expo/modules/image/events/ImageLoadEventsManager.kt | derekstavis | 184,342,737 | false | null | package expo.modules.image.events
import android.graphics.BitmapFactory
import android.graphics.drawable.Drawable
import com.bumptech.glide.load.DataSource
import com.bumptech.glide.load.engine.GlideException
import com.bumptech.glide.request.RequestListener
import com.bumptech.glide.request.target.CustomTarget
import... | 1 | null | 1 | 2 | e377f0cd22db5cd7feb8e80348cd7064db5429b1 | 2,189 | expo | MIT License |
app/src/main/java/com/minglemakers/minglemaster/ui/base/VoiceManagedViewModel.kt | sleebapaul | 789,403,179 | false | {"Kotlin": 22747} | package com.minglemakers.minglemaster.ui.base
import androidx.lifecycle.ViewModel
import kotlinx.coroutines.flow.Flow
import com.minglemakers.minglemaster.data.VoiceRecognitionRepository
import com.minglemakers.minglemaster.data.entity.VoiceCommandEntity
abstract class VoiceManagedViewModel(
private val voiceReco... | 0 | Kotlin | 0 | 0 | 3597373b09c0ce7754b418f5fb9c0acba5de5d9d | 602 | MingleMaster | MIT License |
ok-marketplace-rv-app-ktor/test/WebsocketTest.kt | otuskotlin | 327,230,292 | false | null | import io.ktor.http.cio.websocket.*
import io.ktor.server.testing.*
import kotlinx.coroutines.withTimeoutOrNull
import ru.otus.otuskotlin.jsonConfig
import ru.otus.otuskotlin.marketplace.transport.models.arts.MpRequestArtList
import ru.otus.otuskotlin.marketplace.transport.models.arts.MpResponseArtList
import ru.otus.o... | 0 | Kotlin | 0 | 0 | 9748129f56f26761f8a757a06927ca46bd3905b1 | 2,681 | otuskotlin-202012-marketplace-rv | MIT License |
app/src/main/java/eu/caraus/dynamo/application/data/local/udacity/converters/TranscodingsListTypeConverter.kt | alexandrucaraus | 140,244,389 | false | {"Kotlin": 69803, "Java": 19004} | package eu.caraus.dynamo.application.data.local.udacity.converters
import android.arch.persistence.room.TypeConverter
import com.google.common.reflect.TypeToken
import com.google.gson.Gson
import eu.caraus.dynamo.application.data.domain.udacity.Transcodings
class TranscodingsListTypeConverter {
val gson = Gson(... | 0 | Kotlin | 0 | 0 | e0ab8096448088b23ee908abda7ec2d9791cd099 | 873 | ShowCase-UdacityApiMvvm | MIT License |
src/main/kotlin/Main.kt | maeste | 263,869,926 | true | {"Kotlin": 92163, "HTML": 370, "JavaScript": 275} | package org.wildfly.halos
import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.async
import kotlinx.html.*
import kotlinx.html.dom.append
import kotlinx.html.js.div
import org.wildfly.halos.dmr.*
import org.wildfly.halos.dmr.ModelDescriptionConstants.Companion.READ_RESOURCE_DESCRIPTION_OPERATION
import org.... | 0 | null | 0 | 0 | c900c61f1ef48daacd0972d0ab91a269bf684e13 | 1,174 | halos-console | Apache License 2.0 |
app/src/main/java/com/maku/pombe/ui/appdrawer/AppDrawer.kt | ma-za-kpe | 373,888,998 | false | null | package com.maku.pombe.ui.appdrawer
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.*
import androidx.compose.material.*
import androidx.compose.material.MaterialTheme.colors
import androidx.co... | 18 | Kotlin | 2 | 5 | e62294e8e5a25774f5955aa3565f62c4ff589cd5 | 5,889 | Pombe | The Unlicense |
src/commonMain/kotlin/com/dogeweb/fuzzymatcher/domain/Element.kt | dogeweb | 558,010,459 | false | {"Kotlin": 106948} | package com.dogeweb.fuzzymatcher.domain
import com.dogeweb.fuzzymatcher.component.TokenRepo
import com.dogeweb.fuzzymatcher.function.ScoringFunctions
/**
*
*
* This class represent the string "value" against which match are run.
*
*
* Configurable attributes
*
* * type - The ElementType for the value. This d... | 0 | Kotlin | 0 | 0 | 1d636b9b941441d92881ad36b149b3f14b2df9bd | 3,881 | fuzzy-matcher-kt | Apache License 2.0 |
compiler/testData/diagnostics/tests/j+k/annotationsInheritance.kt | JakeWharton | 99,388,807 | false | null | // FILE: MyAnnotation.java
public @interface MyAnnotation {
}
// FILE: MyAnnoClass.java
public class MyAnnoClass implements MyAnnotation {
//...
}
// FILE: main.kt
val ann: MyAnnotation = MyAnnoClass()
fun foo(x: MyAnnoClass) {
bar(x)
}
fun bar(y: MyAnnotation) {
y.hashCode()
}
| 181 | null | 5748 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 291 | kotlin | Apache License 2.0 |
detekt/sarif-github-previews/subproject/src/main/kotlin/com/example/file-in-sub.kt | TWiStErRob | 698,766,509 | true | {"Markdown": 103, "Text": 9, "INI": 114, "Gradle Kotlin DSL": 136, "Shell": 90, "Batchfile": 92, "Java": 81, "Gradle": 78, "XML": 61, "Kotlin": 61, "Proguard": 2, "Java Properties": 9, "JSON": 7, "Ignore List": 9, "JavaScript": 3, "TOML": 6, "YAML": 14, "Groovy": 1, "Mermaid": 1, "HTML": 1, "Ruby": 1, "Git Attributes":... | package com.example
fun main() {
println(4567) // Should trigger MagicNumber.
}
| 0 | null | 2 | 0 | d3019d7f0bba4e08a8a84b75c2673a26dc30b2db | 82 | repros | The Unlicense |
updatecenter-lib/src/main/java/sk/azet/updatecenter/OnVersionCheckedListener.kt | unitedclassifiedsapps | 133,951,027 | false | {"Kotlin": 27688, "Ruby": 4818} | package sk.azet.updatecenter
interface OnVersionCheckedListener {
fun notLatestVersion(currentVersion: String, latestVersion: String)
fun shouldUpdate(currentVersion: String, latestVersion: String)
fun mustUpdate(currentVersion: String, latestVersion: String)
fun onError(currentVersion: String, exc... | 0 | Kotlin | 0 | 4 | 52e76e012a13b7c6c92311f6264a7cd47d7dcc9c | 341 | updatecenter.android | MIT License |
app/src/main/java/com/example/todo/ui/view_task/ViewTaskRepository.kt | shrayanbajra | 257,043,313 | false | null | package com.example.todo.ui.view_task
import com.example.todo.db.task.TaskDao
import com.example.todo.db.task.TaskEntity
class ViewTaskRepository
constructor(
private val taskDao: TaskDao
) {
suspend fun getTask(taskId: Int): TaskEntity? {
return taskDao.get(taskId)
}
suspend fun updateTask(... | 0 | Kotlin | 0 | 0 | 0e4e0890a3e939ab458bb9e6794152da8fb8dd28 | 456 | To-Do | MIT License |
cva-airtable/src/main/kotlin/com/_2horizon/cva/airtable/AirtableConfig.kt | esowc | 264,099,974 | false | null | package com._2horizon.cva.airtable
import io.micronaut.context.annotation.ConfigurationProperties
import javax.validation.constraints.NotNull
/**
* Created by Frank Lieber (liefra) on 2019-04-03.
*/
@ConfigurationProperties("app.airtable")
class AirtableConfig {
@NotNull
var apiKey: String? = null
}
| 3 | Kotlin | 1 | 1 | e3cf8d9b5f8c76c8c0138b47d24ee91eb3043f82 | 316 | ECMWF-Conversational-Virtual-Assistant | MIT License |
app/src/main/java/com/topjohnwu/magisk/ui/settings/SettingsViewModel.kt | Joyoe | 446,940,533 | false | {"C++": 756842, "Kotlin": 468280, "Java": 133369, "Shell": 84185, "Python": 22147, "C": 11376, "Makefile": 4687} | package com.brightsight.magisk.ui.settings
import android.os.Build
import android.view.View
import android.widget.Toast
import androidx.core.content.pm.ShortcutManagerCompat
import androidx.lifecycle.viewModelScope
import com.brightsight.magisk.BR
import com.brightsight.magisk.BuildConfig
import com.brightsight.magisk... | 0 | C++ | 0 | 1 | 81fe065ffbfad3fc6f3cce63b251fc76f0206994 | 4,824 | Magisk-23001-jojo-brightsight | MIT License |
common/src/commonMain/kotlin/com/artemchep/keyguard/feature/justdeleteme/directory/JustDeleteMeServicesRoute.kt | AChep | 669,697,660 | false | {"Kotlin": 5254408, "HTML": 45810} | package com.artemchep.keyguard.feature.justdeleteme.directory
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.outlined.AccountBox
import androidx.compose.material.icons.outlined.Delete
import androidx.compose.runtime.Composable
import com.artemchep.keyguard.feature.navigation.Naviga... | 57 | Kotlin | 22 | 735 | 4e9809d0252257b9e918e44050570769d9326bc2 | 1,545 | keyguard-app | Linux Kernel Variant of OpenIB.org license |
src/io/github/grassmc/infra/utils/Extensions.kt | GrassMC | 736,861,653 | false | {"Kotlin": 60299} | /*
* Copyright 2023 GrassMC
*
* 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... | 2 | Kotlin | 0 | 0 | a367757d84e0402377173b5eb4a9fce751e038bf | 749 | infra-gradle | Apache License 2.0 |
presentation/src/main/java/com/semicolon/walkhub/di/RoomModule.kt | Walkhub | 443,006,389 | false | null | package com.semicolon.walkhub.di
import android.content.Context
import androidx.room.Room
import com.semicolon.data.local.converter.*
import com.semicolon.data.local.dao.*
import com.semicolon.data.local.database.WalkHubDataBase
import com.squareup.moshi.Moshi
import com.squareup.moshi.kotlin.reflect.KotlinJsonAdapter... | 5 | Kotlin | 1 | 29 | 5070c2c33365f2db6f57975078e1ecd7594f66fa | 2,958 | walkhub_android | MIT License |
rest-api/src/test/kotlin/com/kamijoucen/cenim/HelloTest.kt | Kamijoucen | 282,948,242 | false | null | package com.kamijoucen.cenim
import org.junit.Test
import kotlin.test.assertEquals
class HelloTest {
}
| 0 | Kotlin | 0 | 1 | 834b7e433f54ed856c9f17590eb7d877c85cc043 | 106 | CenIM | Apache License 2.0 |
kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnIdentityPool.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 149148378} | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package io.cloudshiftdev.awscdk.services.cognito
import io.cloudshiftdev.awscdk.CfnResource
import io.cloudshiftdev.awscdk.IInspectable
import... | 3 | Kotlin | 0 | 4 | db2b3a364f5e74d8f80490e7850da7f1e7f1e7d0 | 53,581 | kotlin-cdk-wrapper | Apache License 2.0 |
Intents/app/src/main/java/com/ybr_system/myapplication/MainActivity.kt | Flight552 | 353,632,256 | false | null | package com.ybr_system.myapplication
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.os.Handler
import android.view.View
import com.bumptech.glide.Glide
import kotlinx.android.synthetic.main.activity_login.*
const val urlImage = "https://cdn.pixabay.com/photo/2015/03/26/09/47/s... | 1 | null | 1 | 1 | ad68645b3c4acd5f0fa8c008457259553ebf859c | 4,387 | SkillBoxLessons | MIT License |
src/main/kotlin/de/nycode/slpf/SimpleLuckPermsFormatter.kt | NyCodeGHG | 348,251,340 | false | null | package de.nycode.slpf
import net.luckperms.api.LuckPerms
import net.luckperms.api.event.group.GroupCreateEvent
import net.luckperms.api.event.group.GroupDataRecalculateEvent
import net.luckperms.api.event.group.GroupDeleteEvent
import net.luckperms.api.model.group.Group
import org.bstats.bukkit.Metrics
import org.buk... | 2 | Kotlin | 3 | 1 | 65b5e19a3bce6f95f996420a7e97b58e37909c8d | 5,536 | SimpleLuckPermsFormatter | Apache License 2.0 |
Prototipo/app/src/main/java/com/example/prototipo/pages/Page_Ver_Mas.kt | WilliamQ16 | 661,788,293 | false | null | package com.example.prototipo.pages
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.heightIn
import androidx.compose.founda... | 0 | Kotlin | 0 | 0 | f24ff8f81955267dd5716e4ab0c97a8f8e81184b | 2,409 | Proyectos_Kotlin | MIT License |
bloc-core/src/commonMain/kotlin/com/onegravity/bloc/state/ReduxSimpleBlocStateBuilderImpl.kt | 1gravity | 460,126,850 | true | {"Kotlin": 85955, "Ruby": 6693, "Swift": 349} | package com.onegravity.bloc.state
class ReduxSimpleBlocStateBuilderImpl<State: Any, ReduxModel: Any> :
ReduxSimpleBlocStateBuilder<State, ReduxModel>,
ReduxBlocStateBuilderImpl<State, State, ReduxModel>() {
init {
map { it }
}
} | 0 | Kotlin | 0 | 2 | c7dcf96e17c547c0cdbb16a7afd225b6c60c0843 | 254 | Knot | Apache License 2.0 |
rewrite-java-8/src/test/kotlin/org/openrewrite/java/Java8TreeDebugTest.kt | openrewrite | 263,442,622 | false | null | /*
* Copyright 2020 the original author or authors.
* <p>
* 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
* <p>
* https://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by... | 47 | null | 51 | 431 | 5515571843fc3ce486fbf9a83258779d90517a0a | 5,822 | rewrite | Apache License 2.0 |
common/src/main/kotlin/org/apache/amaterasu/common/utils/ActiveNotifier.kt | apache | 105,068,223 | false | {"Kotlin": 198384, "Python": 65610, "Scala": 11850, "Shell": 8744, "Java": 3600} | /*
* 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 ... | 4 | Kotlin | 27 | 57 | b2eec0a0dc3de0368e8f7fea37c7d956c24c2f77 | 3,160 | incubator-retired-amaterasu | Apache License 2.0 |
fontawesome/src/de/msrd0/fontawesome/icons/FA_FIREFOX_BROWSER.kt | msrd0 | 363,665,023 | false | null | /* @generated
*
* This file is part of the FontAwesome Kotlin library.
* https://github.com/msrd0/fontawesome-kt
*
* This library is not affiliated with FontAwesome.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may... | 0 | Kotlin | 0 | 0 | b2fdb74278104be68c95e8f083fc75ab74395112 | 2,880 | fontawesome-kt | Apache License 2.0 |
lint/Bundle/src/main/java/com/wada811/ax/bundle/lint/UseBundleGetSerializableDetector.kt | wada811 | 562,910,344 | false | null | package com.wada811.ax.bundle.lint
import com.android.tools.lint.detector.api.*
import com.intellij.psi.PsiMethod
import org.jetbrains.uast.UCallExpression
@Suppress("UnstableApiUsage")
class UseBundleGetSerializableDetector : Detector(), SourceCodeScanner {
companion object {
val ISSUE = Issue.create(
... | 4 | Kotlin | 0 | 2 | 96b76dd5ffe4ba5ac23fdccfb35f46a4299c3e47 | 2,563 | ax | Apache License 2.0 |
android/src/main/kotlin/didisoft/cast/CastPlugin.kt | jhutchins | 158,026,279 | true | {"Dart": 21896, "Kotlin": 20155, "Swift": 3600, "Ruby": 3009, "Objective-C": 335} | package didisoft.cast
import android.app.Activity
import android.os.Bundle
import android.support.v7.media.*
import android.support.v7.media.MediaRouter.UNSELECT_REASON_STOPPED
import android.support.v7.media.RemotePlaybackClient.SessionActionCallback
import android.util.Log
import com.google.android.gms.cast.CastMedi... | 0 | Dart | 0 | 0 | e7956b5a6f0acb5447e4a35fae4c8d0d2f799007 | 17,281 | cast | MIT License |
app/src/main/java/com/asemlab/quakes/utils/UIUtils.kt | AsemLab | 619,952,382 | false | {"Kotlin": 115107} | package com.asemlab.quakes.utils
import android.content.Context
import android.content.res.Configuration
import android.content.res.Resources
import android.widget.Toast
fun makeToast(context: Context, m: String) {
Toast.makeText(context, m, Toast.LENGTH_SHORT).show()
}
fun makeLongToast(context: Context, m: Str... | 0 | Kotlin | 0 | 2 | d3e7701a68fa3a74ea1379393832aafc78409e78 | 597 | Quakes | Apache License 2.0 |
src/main/java/io/github/mdsimmo/bomberman/messaging/Formattable.kt | mdsimmo | 21,511,109 | false | null | package io.github.mdsimmo.bomberman.messaging
interface Formattable {
/**
* Applies a modifier to this object
* @param arg the value of the modifier
*/
fun applyModifier(arg: Message): Formattable
fun applyModifier(arg: String) : Formattable = applyModifier(Message.of(arg))
/**
*... | 12 | null | 7 | 3 | 6703100a298c2543098440eded52d7bf12412c39 | 470 | bomberman | The Unlicense |
commun4j/src/test/kotlin/Configs.kt | communcom | 212,557,974 | false | null | import io.golos.commun4j.BuildConfig
import io.golos.commun4j.Commun4j
import io.golos.commun4j.http.rpc.RpcServerMessage
import io.golos.commun4j.http.rpc.RpcServerMessageCallback
import io.golos.commun4j.model.AuthType
import io.golos.commun4j.sharedmodel.Commun4jConfig
import io.golos.commun4j.sharedmodel.CyberName
... | 0 | Kotlin | 3 | 1 | 094194b9e6e01ff0be4bce83559ae678bbeb055d | 4,007 | commun4j | MIT License |
app/src/main/java/com/dongyang/android/youdongknowme/data/repository/KeywordRepository.kt | TeamDMU | 470,044,500 | false | {"Kotlin": 171853} | package com.dongyang.android.youdongknowme.data.repository
import com.dongyang.android.youdongknowme.data.local.SharedPreference
import com.dongyang.android.youdongknowme.data.local.dao.KeywordDao
import com.dongyang.android.youdongknowme.data.local.entity.KeywordEntity
import kotlinx.coroutines.flow.Flow
class Keywo... | 1 | Kotlin | 0 | 9 | 4a9a706f320b0c8f7d0edb9241a871727992a08f | 613 | DMU-Android | Apache License 2.0 |
plugins/kotlin/jvm-debugger/evaluation/src/org/jetbrains/kotlin/idea/debugger/evaluate/classLoading/AndroidDexer.kt | ingokegel | 72,937,917 | false | null | // Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.kotlin.idea.debugger.evaluate.classLoading
import org.jetbrains.kotlin.extensions.ProjectExtensionDescriptor
interface AndroidDexer {
... | 191 | null | 4372 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 519 | intellij-community | Apache License 2.0 |
app/src/main/java/org/kinecosystem/kinit/viewmodel/backup/BackupModel.kt | kinecosystem | 129,919,791 | false | {"Gradle": 3, "Java Properties": 2, "Markdown": 2, "Shell": 1, "Text": 1, "Ignore List": 4, "Batchfile": 1, "YAML": 1, "Proguard": 1, "Java": 46, "Kotlin": 173, "XML": 158, "JSON": 3, "HTML": 1} | package org.kinecosystem.kinit.viewmodel.backup
import android.databinding.ObservableBoolean
import android.text.Editable
import android.text.TextWatcher
import android.util.Log
import android.view.View
import android.widget.AdapterView
import org.kinecosystem.kinit.KinitApplication
import org.kinecosystem.kinit.analy... | 2 | Kotlin | 3 | 18 | ababab65b4625fc83df2e6658c9962e68d55022a | 10,851 | kinit-android | MIT License |
navigator-android/src/main/java/dev/funkymuse/fosho/navigator/android/NavigationDestination.kt | FunkyMuse | 713,433,647 | false | {"Kotlin": 254630} | package dev.funkymuse.fosho.navigator.android
import androidx.navigation.NamedNavArgument
import androidx.navigation.NavDeepLink
interface NavigationDestination {
val destination: String
val arguments: List<NamedNavArgument>
get() = emptyList()
val deepLinks: List<NavDeepLink>
get() = em... | 0 | Kotlin | 1 | 24 | 36fa36340b6d8e622d5c09b7d84682b81321b23e | 331 | foSho | Apache License 2.0 |
demo/src/main/java/pyxis/uzuki/live/richutilskt/demo/set/AssetsSet.kt | WindSekirun | 92,814,709 | false | null | package pyxis.uzuki.live.richutilskt.demo.set
import android.content.Context
import pyxis.uzuki.live.richutilskt.demo.R
import pyxis.uzuki.live.richutilskt.demo.item.CategoryItem
import pyxis.uzuki.live.richutilskt.demo.item.ExecuteItem
import pyxis.uzuki.live.richutilskt.demo.item.generateExecuteItem
fun Context.get... | 3 | Kotlin | 28 | 171 | 351b6be5c35f7e6864f49f202532a7dd21f2d1df | 1,218 | RichUtilsKt | Apache License 2.0 |
src/main/kotlin/org/telegram/CreateNewStickerSet.kt | wirelib | 124,762,024 | false | null | package org.telegram
data class CreateNewStickerSet(
/**
* User identifier of created sticker set owner
*/
val userId: Int,
/**
* Short name of sticker set, to be used in t.me/addstickers/ URLs (e.g., animals). Can contain only english letters, digits and underscores. M... | 0 | Kotlin | 0 | 0 | 86f10b323b24187e97606c2d92598a56360bf658 | 1,480 | telegram-models | MIT License |
app/src/main/java/com/breezeisabgolfsm/features/login/model/productlistmodel/ModelListResponse.kt | DebashisINT | 764,494,737 | false | {"Kotlin": 14193578, "Java": 1003903} | package com.breezeisabgolfsm.features.login.model.productlistmodel
import com.breezeisabgolfsm.app.domain.ModelEntity
import com.breezeisabgolfsm.app.domain.ProductListEntity
import com.breezeisabgolfsm.base.BaseResponse
class ModelListResponse: BaseResponse() {
var model_list: ArrayList<ModelEntity>? = null
} | 0 | Kotlin | 0 | 0 | ad2738b0b422111993af86ef236826c9c679abda | 317 | SatIsabgol | Apache License 2.0 |
app/src/main/java/com/no5ing/bbibbi/data/model/member/Member.kt | depromeet | 738,807,741 | false | {"Kotlin": 649362} | package com.no5ing.bbibbi.data.model.member
import android.os.Parcelable
import com.no5ing.bbibbi.data.model.BaseModel
import com.no5ing.bbibbi.util.isBirthdayNow
import kotlinx.parcelize.IgnoredOnParcel
import kotlinx.parcelize.Parcelize
import java.time.LocalDate
@Parcelize
data class Member(
val memberId: Stri... | 0 | Kotlin | 0 | 3 | 5d0d722bf8390b9e75c46bdeabd40485df207251 | 866 | 14th-team5-AOS | MIT License |
app/src/main/kotlin/com/peecock/ymusic/ui/screens/settings/QuickPicsSettings.kt | geekeie | 852,991,746 | false | {"Kotlin": 3810622, "Batchfile": 445} | package com.peecock.ymusic.ui.screens.settings
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.ExperimentalAnimationApi
import androidx.compose.animation.core.tween
import androidx.compose.animation.fadeIn
import androidx.compose.animation.fadeOut
import androidx.compose.foundati... | 0 | Kotlin | 0 | 0 | b49ac089e3301adb5dcaca6443e13e257eb2be14 | 11,000 | YMusic | Apache License 2.0 |
src/main/kotlin/kui/Diff.kt | juggernaut0 | 146,204,158 | false | null | package kui
internal fun <T> diff(first: List<T>, second: List<T>, eq: (T, T) -> Boolean = { x, y -> x == y }): List<Diff<T>> {
val a = first.asReversed()
val b = second.asReversed()
val mat = Array(a.size) { IntArray(b.size) }
val pts = Array(a.size) { _ -> Array(b.size) { Ptr.EMPTY } }
fun mat(a... | 0 | Kotlin | 1 | 3 | 2271549eb78aaa5e51ad8aea05168e699ea256b9 | 2,152 | kui | MIT License |
android/versioned-abis/expoview-abi43_0_0/src/main/java/abi43_0_0/expo/modules/sms/SMSPackage.kt | derekstavis | 184,342,737 | false | null | package abi43_0_0.expo.modules.sms
import android.content.Context
import abi43_0_0.expo.modules.core.BasePackage
import abi43_0_0.expo.modules.core.ExportedModule
class SMSPackage : BasePackage() {
override fun createExportedModules(reactContext: Context): List<ExportedModule> {
return listOf(SMSModule(reactCon... | 1 | null | 1 | 2 | e377f0cd22db5cd7feb8e80348cd7064db5429b1 | 333 | expo | MIT License |
ktor-network/src/io/ktor/network/sockets/CIOReader.kt | Ekito | 112,228,070 | true | {"Kotlin": 1507570, "Java": 62081, "HTML": 30993, "FreeMarker": 6484, "CSS": 5444, "JavaScript": 3408} | package io.ktor.network.sockets
import io.ktor.network.selector.*
import io.ktor.network.util.*
import kotlinx.coroutines.experimental.*
import kotlinx.coroutines.experimental.io.*
import kotlinx.coroutines.experimental.io.ByteChannel
import kotlinx.io.pool.*
import java.nio.channels.*
internal fun attachForReadingIm... | 0 | Kotlin | 0 | 1 | 6b0fadcc30d3942a9d0ae8f2758c267ab557f8d5 | 2,985 | ktor | Apache License 2.0 |
basick/src/main/java/com/mozhimen/basick/utilk/java/io/UtilKFileFormat.kt | mozhimen | 353,952,154 | false | {"Kotlin": 2357242, "Java": 313493, "AIDL": 1012} | package com.mozhimen.basick.utilk.java.io
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import android.net.Uri
import android.util.Log
import androidx.core.content.FileProvider
import com.mozhimen.basick.elemk.android.content.cons.CIntent
import com.mozhimen.basick.lintk.annors.ADescription
impo... | 0 | Kotlin | 6 | 114 | 6b1b28352048386f1309506bcaf71e6dc12bb8ae | 4,406 | SwiftKit | Apache License 2.0 |
features/settings/impl/src/main/java/ru/aleshin/features/settings/impl/presentation/ui/settings/views/ColorsTypeChooser.kt | v1tzor | 638,022,252 | false | {"Kotlin": 1353995, "Assembly": 26} | /*
* Copyright 2023 Stanislav Aleshin
*
* 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 t... | 2 | Kotlin | 15 | 99 | 0762559e4dabea2971df1573472216f554ab8577 | 4,071 | TimePlanner | Apache License 2.0 |
components/membership/registration-impl/src/test/kotlin/net/corda/membership/impl/registration/dynamic/handler/member/ProcessMemberVerificationRequestHandlerTest.kt | corda | 346,070,752 | false | null | package net.corda.membership.impl.registration.dynamic.handler.member
import net.corda.avro.serialization.CordaAvroSerializationFactory
import net.corda.data.KeyValuePair
import net.corda.data.KeyValuePairList
import net.corda.data.membership.command.registration.RegistrationCommand
import net.corda.data.membership.co... | 96 | null | 9 | 69 | d478e119ab288af663910f9a2df42a7a7b9f5bce | 6,082 | corda-runtime-os | Apache License 2.0 |
src/me/anno/gpu/GFX.kt | AntonioNoack | 266,471,164 | false | null | package me.anno.gpu
import me.anno.Engine
import me.anno.audio.AudioStream
import me.anno.config.DefaultConfig
import me.anno.engine.ui.render.ECSShaderLib
import me.anno.gpu.RenderState.blendMode
import me.anno.gpu.RenderState.currentRenderer
import me.anno.gpu.RenderState.depthMode
import me.anno.gpu.RenderState.use... | 0 | Kotlin | 1 | 8 | 421ba71c93c2b660476f96ffb6f4332fa07bd2b3 | 17,788 | RemsStudio | Apache License 2.0 |
remix/src/commonMain/kotlin/com/woowla/compose/icon/collections/remix/remix/map/ParkingFill.kt | walter-juan | 868,046,028 | false | {"Kotlin": 34345428} | package com.woowla.compose.icon.collections.remix.remix.map
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.Stroke... | 0 | Kotlin | 0 | 3 | eca6c73337093fbbfbb88546a88d4546482cfffc | 1,975 | compose-icon-collections | MIT License |
app/src/main/java/io/outblock/lilico/page/profile/subpage/developer/model/DeveloperPageModel.kt | Outblock | 435,317,689 | false | {"Kotlin": 1563313, "Java": 104099} | package io.outblock.lilico.page.profile.subpage.developer.model
class DeveloperPageModel(
val progressDialogVisible: Boolean? = null,
val result: Boolean? = null,
) | 63 | Kotlin | 0 | 4 | a238e4f9db0d93a9c87fc9682860f2ea265c798b | 173 | Lilico-Android | Apache License 2.0 |
app/src/main/java/com/openwallet/network/exception/AppException.kt | hsbc | 742,467,592 | false | {"Kotlin": 502702, "Java": 40426} | package com.openwallet.network.exception
class AppException : Exception() {
var errorMessage: String? = ""
var errorCode = -1
} | 0 | Kotlin | 0 | 1 | b72ac403ce1e38139ab42548967e08e6db347ddd | 136 | OpenWallet-aOS | Apache License 2.0 |
lib/src/main/kotlin/com/monkopedia/konstructor/lib/KcsgRemoteHostImpl.kt | Monkopedia | 418,215,448 | false | null | package com.monkopedia.konstructor.lib
import com.monkopedia.kcsg.CSG
import com.monkopedia.kcsg.ImportedScript
import com.monkopedia.kcsg.KcsgHost
import com.monkopedia.kcsg.STL
import java.io.File
import java.nio.file.Path
internal class KcsgRemoteHostImpl(
private val hostService: HostService,
private val ... | 0 | Kotlin | 0 | 0 | 13bc4e1a2de2026eb09e19599eb6a59db9afaba5 | 1,872 | Konstructor | Apache License 2.0 |
app/src/main/java/com/barisatalay/themoviedatabase/core/data/constant/SystemDefaults.kt | barisatalay | 193,387,251 | false | null | package com.barisatalay.themoviedatabase.core.data.constant
object SystemDefaults {
const val WEB_TIMEOUT = 120
} | 0 | Kotlin | 0 | 0 | f464f7c846d2729687f326ecd5dc8d668bd5aed8 | 118 | movie-database | Apache License 2.0 |
099Playground_RKSBD/0102bPlayground_RKSBD_Refactored/src/main/kotlin/com/br/playground4/repository/personRepository.kt | mateusribeirocampos | 725,170,706 | false | {"Kotlin": 101318} | package com.br.playground4.repository
import com.br.playground4.model.Person
import org.springframework.data.jpa.repository.JpaRepository
interface personRepository : JpaRepository<Person, Long?> {
}
| 0 | Kotlin | 0 | 0 | a132824d772c4bb911160cae12e1cc72b1e2308f | 202 | Rest_Kotlin_Spring_Boot_Docker | Apache License 2.0 |
app/src/main/java/com/developersbreach/composeactors/ui/screens/actorDetails/composables/ActorBiography.kt | RajashekarRaju | 437,301,550 | false | {"Kotlin": 287694} | package com.developersbreach.composeactors.ui.screens.actorDetails.composables
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.*
import androidx.compose.material.MaterialTheme
import androidx.compose.material.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.... | 3 | Kotlin | 29 | 269 | ea07b95718c981f41deb2fd2322ab951825d0231 | 2,603 | compose-actors | Apache License 2.0 |
app/src/main/java/com/example/santanderdevweek/ui/MainViewModel.kt | pauloeduardo2906 | 397,004,972 | false | null | package com.example.santanderdevweek.ui
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.example.santanderdevweek.data.Conta
import com.example.santanderdevweek.data.local.FakeData
class MainViewModel : ViewModel(){
private val mutableLiv... | 0 | null | 0 | 1 | db1a8010300522b5164b9959a86c007b3c537764 | 519 | SantanderDevWeek | MIT License |
app/src/main/java/com/puutaro/commandclick/proccess/CommentOutLabelingSection.kt | puutaro | 596,852,758 | false | {"Kotlin": 1472142, "JavaScript": 147417, "HTML": 19619} | package com.puutaro.commandclick.proccess
import com.puutaro.commandclick.common.variable.CommandClickShellScript
import com.puutaro.commandclick.common.variable.LanguageTypeSelects
import com.puutaro.commandclick.util.JsOrShellFromSuffix
class CommentOutLabelingSection {
companion object {
fun commentOut... | 2 | Kotlin | 3 | 54 | 000db311f5780b2861a2143f7985507b06cae5f1 | 2,398 | CommandClick | MIT License |
opendc-compute/opendc-compute-service/src/test/kotlin/org/opendc/compute/service/InternalServerTest.kt | atlarge-research | 79,902,234 | false | null | /*
* Copyright (c) 2021 AtLarge Research
*
* 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, pu... | 9 | null | 14 | 41 | 578394adfb5f1f835b7d8e24f68094968706dfaa | 10,458 | opendc | MIT License |
src/main/kotlin/com/msg/gcms/domain/club/domain/entity/OpeningApplication.kt | GSM-MSG | 592,816,374 | false | {"Kotlin": 354687} | package com.msg.gcms.domain.club.domain.entity
import javax.persistence.Entity
import javax.persistence.GeneratedValue
import javax.persistence.GenerationType
import javax.persistence.Id
@Entity
class OpeningApplication(
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
val id: Long = 0,
val fi... | 7 | Kotlin | 0 | 12 | d91ed310b912a47db69cd0994ecc0ca1f85a5410 | 434 | GCMS-BackEnd | MIT License |
app/src/main/java/hu/tuleloverseny/versenynaplo/extra/PlacedShape.kt | krajorama | 207,670,063 | false | null | package hu.tuleloverseny.versenynaplo.extra
class PlacedShape(val shape: Shape, val position: Position = Position(), val rotation: Int = 0, val active: Boolean = false) {
val blocks = shape.blocks.map {it.add(position)}
private val container =
ShapeContainer(
shape.container.lowCorner.add(p... | 0 | Kotlin | 0 | 0 | 73452090baf1f7ad191ea94ac99a0c0c4fd4aedf | 1,263 | VersenyNaploExtra46 | MIT License |
gaia/src/main/kotlin/fyi/pauli/ichor/gaia/entity/player/Player.kt | kxmpxtxnt | 586,376,008 | false | null | package fyi.pauli.ichor.gaia.entity.player
import fyi.pauli.ichor.gaia.entity.Entity
import fyi.pauli.ichor.gaia.networking.packet.PacketHandle
class Player(
val profile: UserProfile,
val handle: PacketHandle
) : Entity.Creature | 6 | null | 0 | 3 | 6cabc15ba6597941a1d72e503904ed4146900001 | 232 | ichor | Apache License 2.0 |
app/src/main/java/id/adeds/started/view/MainViewModel.kt | adeds | 282,396,135 | false | null | package id.adeds.started.view
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import id.adeds.started.data.model.BaseModel
import id.adeds.started.data.model.User
import id.adeds.started.data.repository.ApiCallback
import id.adeds.started.data.repo... | 0 | Kotlin | 0 | 0 | 35d40c2b36c079643f2bdb35ae691107fd48234d | 1,063 | simple-started | MIT License |
libs/data/src/test/kotlin/com/astrum/data/repository/neo4j/InMemoryNeo4jCacheRepositoryTest.kt | yacosta738 | 579,772,354 | false | null | package com.astrum.data.repository.neo4j
import com.astrum.data.entity.Person
import com.astrum.data.repository.QueryableRepositoryTestHelper
import com.astrum.data.repository.neo4j.migration.CreatePerson
import com.astrum.data.test.Neo4jTestHelper
import com.astrum.ulid.ULID
import com.google.common.cache.CacheBuilde... | 3 | Kotlin | 0 | 1 | 0f704b8c8e99de3985d29f3f5364fcbf2d2c5c1b | 1,453 | astrum | MIT License |
auth/src/main/kotlin/com/tidal/sdk/auth/login/CodeChallengeBuilder.kt | tidal-music | 806,866,286 | false | {"Kotlin": 1775374, "Shell": 9881, "Python": 7380, "Mustache": 911} | package com.tidal.sdk.auth.login
import android.util.Base64
import java.security.MessageDigest
import java.security.SecureRandom
internal class CodeChallengeBuilder {
fun createCodeVerifier(): String {
val code = ByteArray(CODE_VERIFIER_BYTE_ARRAY_SIZE)
SecureRandom().nextBytes(code)
retu... | 27 | Kotlin | 0 | 23 | 1f654552133ef7794fe9bb7677bc7fc94c713aa3 | 966 | tidal-sdk-android | Apache License 2.0 |
messaginginapp/src/main/java/io/customer/messaginginapp/gist/data/listeners/Queue.kt | customerio | 355,691,391 | false | null | package io.customer.messaginginapp.gist.data.listeners
import android.content.Context
import android.util.Base64
import android.util.Log
import io.customer.messaginginapp.gist.data.NetworkUtilities
import io.customer.messaginginapp.gist.data.model.GistMessageProperties
import io.customer.messaginginapp.gist.data.model... | 4 | null | 9 | 9 | bbc770d513026e679bb17a5cd0d9d25221138f06 | 9,626 | customerio-android | MIT License |
app/src/main/java/com/sample/githubconnect/models/services/UserServices.kt | chetan-AD | 315,594,185 | false | null | package com.sample.githubconnect.models.services
import com.sample.githubconnect.models.entities.User
import com.sample.githubconnect.models.entities.UserListModel
import retrofit2.Response
import retrofit2.http.GET
import retrofit2.http.Path
import retrofit2.http.Query
interface UserServices {
@GET("search/user... | 0 | Kotlin | 0 | 1 | 8c3c08e2c803717c9a0d6e7e88b86bc1c0d1d708 | 1,008 | GithubConnect | Apache License 2.0 |
presentation/src/main/java/com/redcatgames/movies/presentation/settings/SettingsFragment.kt | v-kravchenko | 484,328,569 | false | null | package com.redcatgames.movies.presentation.settings
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.AutoCompleteTextView
import androidx.appcompat.app.AppCompatDelegate.*
import androidx.fragment.app.viewModels
import com.redcatg... | 0 | Kotlin | 0 | 1 | b06edc260f656e07fa220eefcb4333f8478c7204 | 3,331 | android-movie-lib | MIT License |
jvideo/src/main/java/com/jplus/jvideoview/view/VideoLoadingView.kt | purejiang | 205,129,860 | false | null | package com.jplus.jvideoview.view
import android.animation.AnimatorSet
import android.animation.ValueAnimator
import android.content.Context
import android.graphics.Canvas
import android.graphics.Paint
import android.util.AttributeSet
import android.view.View
import android.view.animation.LinearInterpolator
import and... | 0 | null | 4 | 7 | da2ee40b45ab9cba89c6aa0d2a78d878cb0aa94a | 6,696 | Jvideoview | Apache License 2.0 |
lens_launcher/src/main/java/com/google/android/apps/googlecamera/fishfood/MainActivity.kt | LineageOS | 544,998,745 | false | {"Kotlin": 323908} | /*
* SPDX-FileCopyrightText: 2023 The LineageOS Project
* SPDX-License-Identifier: Apache-2.0
*/
package com.google.android.apps.googlecamera.fishfood
import android.app.Activity
import android.content.Intent
import android.net.Uri
import android.os.Bundle
class MainActivity : Activity() {
override fun onCrea... | 0 | Kotlin | 49 | 89 | 3d6eb266012d8e78ece7f5b02745802d9381c2c8 | 676 | android_packages_apps_Aperture | Apache License 2.0 |
csstype-kotlin/src/jsMain/kotlin/web/cssom/BackgroundClip.kt | karakum-team | 393,199,102 | false | {"Kotlin": 6272741} | // Automatically generated - do not modify!
package web.cssom
import seskar.js.JsValue
sealed external interface BackgroundClip {
companion object {
@JsValue("border-box")
val borderBox: BackgroundClip
@JsValue("content-box")
val contentBox: BackgroundClip
@JsValue("padd... | 0 | Kotlin | 8 | 36 | 95b065622a9445caf058ad2581f4c91f9e2b0d91 | 377 | types-kotlin | Apache License 2.0 |
app/src/main/java/cn/rongcloud/voiceroomdemo/net/RetrofitManager.kt | iostyle | 396,748,047 | true | {"Kotlin": 403974, "Java": 168868} | /*
* Copyright © 2021 RongCloud. All rights reserved.
*/
package cn.rongcloud.voiceroomdemo.net
import cn.rongcloud.voiceroomdemo.common.AccountStore
import cn.rongcloud.voiceroomdemo.net.api.ApiConstant
import cn.rongcloud.voiceroomdemo.net.api.CommonApiService
import cn.rongcloud.voiceroomdemo.net.api.DownloadFil... | 0 | null | 0 | 0 | 801268cf14a5e1b65f02ad2d4b6a024c213ad05f | 2,802 | rongcloud-scene-android-demo | MIT License |
product/server/intake/src/test/kotlin/io/codekvast/intake/agent/service/impl/AgentServiceImplTest.kt | crispab | 19,436,066 | false | null | package io.codekvast.intake.agent.service.impl
import com.nhaarman.mockitokotlin2.mock
import com.nhaarman.mockitokotlin2.whenever
import io.codekvast.common.customer.CustomerData
import io.codekvast.common.customer.CustomerService
import io.codekvast.common.customer.LicenseViolationException
import io.codekvast.commo... | 8 | null | 4 | 42 | 9d751523dbd3354872c55637b4a6c50cd1f5ef87 | 6,312 | codekvast | MIT License |
ktor-swagger-ui-examples/src/main/kotlin/io/github/smiley4/ktorswaggerui/examples/RequestResponse.kt | SMILEY4 | 526,907,299 | false | {"Kotlin": 296275} | package io.github.smiley4.ktorswaggerui.examples
import com.fasterxml.jackson.core.util.DefaultIndenter
import com.fasterxml.jackson.core.util.DefaultPrettyPrinter
import com.fasterxml.jackson.databind.SerializationFeature
import io.github.smiley4.ktorswaggerui.SwaggerUI
import io.github.smiley4.ktorswaggerui.dsl.rout... | 7 | Kotlin | 33 | 172 | d040a9738c3dbbf3008a776bf38e8fa68386a83d | 5,052 | ktor-swagger-ui | Apache License 2.0 |
plugins/groovy/src/org/jetbrains/plugins/groovy/annotator/intentions/elements/annotation/MapConstructorAttributesFix.kt | ingokegel | 72,937,917 | false | null | // Copyright 2000-2020 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.plugins.groovy.annotator.intentions.elements.annotation
import com.intellij.psi.*
import com.intellij.psi.util.parentOfType
import org.jetbrains.plugins.gro... | 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 3,950 | intellij-community | Apache License 2.0 |
app/src/main/java/com/example/mastertask/Fragments/WorkerEvaluationFragment.kt | pp3-mastertask | 682,073,681 | false | {"Kotlin": 143143} | package com.example.mastertask.Fragments
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Button
import android.widget.EditText
import android.widget.RatingBar
import android.widget.TextView
im... | 0 | Kotlin | 0 | 1 | b21b68d26fedf00434e6c22ff1ec2c48cdf80ad0 | 8,080 | mastertask-mobile | MIT License |
mulConverter/app/src/main/java/com/ambersun1234/mulconverter/MainActivity.kt | ambersun1234 | 245,987,718 | false | {"Kotlin": 95074} | package com.ambersun1234.mulconverter
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.KeyEvent
import android.view.KeyEvent.KEYCODE_ENTER
import android.view.View
import android.widget.*
import kotlinx.android.synthetic.main.activity_main.*
class MainActivity : AppCompatAc... | 0 | Kotlin | 0 | 2 | 59f861c1ff0fd3d320cc01fe5c5cc297126acb42 | 3,912 | android | MIT License |
Android-Kotlin-Demo-App/src/main/java/com/applovin/apps/kotlindemoapp/nativeads/carouselui/cards/InlineCarouselCardState.kt | mohammadbabaeitb | 179,533,096 | true | {"Gradle": 3, "Markdown": 1, "Text": 1, "Ignore List": 2, "Proguard": 2, "XML": 49, "Java": 43, "Kotlin": 37} | package com.applovin.apps.kotlindemoapp.nativeads.carouselui.cards
/**
* This class tracks the display and playback state of an individual card view within a carousel.
*/
class InlineCarouselCardState
{
var isVideoStarted: Boolean = false
var isVideoCompleted: Boolean = false
var isImpressionTracked: Boo... | 0 | Java | 0 | 0 | c4baa754edf1a1aec4706bc3888e2518dc7f2f60 | 791 | Android-SDK-Demo | MIT License |
micronaut-service/src/test/kotlin/io/heterogeneousmicroservices/micronautservice/MicronautServiceApplicationTest.kt | rkudryashov | 184,460,501 | false | null | package io.heterogeneousmicroservices.micronautservice
import io.heterogeneousmicroservices.micronautservice.model.ApplicationInfo
import io.micronaut.core.io.ResourceLoader
import io.micronaut.core.io.ResourceResolver
import io.micronaut.core.io.scan.ClassPathResourceLoader
import io.micronaut.http.HttpResponse
impor... | 0 | Kotlin | 21 | 44 | 55d89ff829dfdb412916e0163aa95cf3bcc5d75d | 1,878 | heterogeneous-microservices | Apache License 2.0 |
app/src/main/java/org/rfcx/incidents/view/guardian/checklist/site/GuardianSiteSetViewModel.kt | rfcx | 104,899,135 | false | {"Kotlin": 1176262, "Java": 1049} | package org.rfcx.incidents.view.guardian.checklist.site
import android.location.Location
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.asStateFlow
import kotlinx.coroutines.flow.collectLatest
import kotlinx.co... | 29 | Kotlin | 0 | 0 | 804d56b8c7475e51299db5fde9207ae783820bf9 | 3,265 | guardian-app-android | Apache License 2.0 |
src/lang-xpath/main/uk/co/reecedunn/intellij/plugin/xpath/psi/impl/xpath/XPathTreatExprPsiImpl.kt | rhdunn | 62,201,764 | false | {"Kotlin": 8262637, "XQuery": 996770, "HTML": 39377, "XSLT": 6853} | /*
* Copyright (C) 2016, 2020-2021 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 49 | Kotlin | 9 | 25 | d8d460d31334e8b2376a22f3832a20b2845bacab | 1,631 | xquery-intellij-plugin | Apache License 2.0 |
remix/src/commonMain/kotlin/com/woowla/compose/icon/collections/remix/remix/design/AlignItemVerticalCenterLine.kt | walter-juan | 868,046,028 | false | {"Kotlin": 34345428} | package com.woowla.compose.icon.collections.remix.remix.design
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.Str... | 0 | Kotlin | 0 | 3 | eca6c73337093fbbfbb88546a88d4546482cfffc | 3,194 | compose-icon-collections | MIT License |
src/main/kotlin/io/github/legion2/open_cue_cli/Main.kt | Legion2 | 254,895,625 | false | {"Kotlin": 14289} | package io.github.legion2.open_cue_cli
import com.github.ajalt.clikt.core.subcommands
import io.github.legion2.open_cue_cli.profile.*
import io.github.legion2.open_cue_cli.sdk.*
fun createCLI(): OpenCueCli {
return OpenCueCli().subcommands(
SdkCommand().subcommands(
SdkInfo(),
... | 3 | Kotlin | 3 | 43 | 1ba255c26467a84af39ee50095a0d4bab1b5c7cf | 801 | open-cue-cli | Apache License 2.0 |
bboxview/src/main/java/com/nex3z/bboxview/box/BBoxView.kt | nex3z | 297,661,862 | false | null | package com.nex3z.bboxview.box
import android.content.Context
import android.util.AttributeSet
import android.view.LayoutInflater
import android.widget.FrameLayout
import com.nex3z.bboxview.R
import kotlinx.android.synthetic.main.view_bbox.view.*
class BBoxView(
context: Context,
attrs: AttributeSet? = null
)... | 0 | Kotlin | 0 | 0 | d57abef735f8e9ff2fe3b94189c5152e7c6f0ca0 | 663 | BBoxView | Apache License 2.0 |
common-compose/src/commonMain/kotlin/com/cmgapps/common/curriculumvitae/components/StarChip.kt | chrimaeon | 349,755,471 | false | null | /*
* Copyright (c) 2023. <NAME> <<EMAIL>>
*
* SPDX-License-Identifier: Apache-2.0
*/
package com.cmgapps.common.curriculumvitae.components
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Row
import androidx.compose.found... | 0 | Kotlin | 2 | 8 | 9695bcd6fe134700da97f76a46b48e2328881966 | 1,791 | curriculumvitae | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.