path stringlengths 4 280 | owner stringlengths 2 39 | repo_id int64 21.1k 879M | is_fork bool 2
classes | languages_distribution stringlengths 13 1.95k ⌀ | content stringlengths 7 482k | issues int64 0 13.9k | main_language stringclasses 121
values | forks stringlengths 1 5 | stars int64 0 111k | commit_sha stringlengths 40 40 | size int64 7 482k | name stringlengths 1 100 | license stringclasses 93
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
src/main/java/wiresegal/zenmodelloader/common/items/base/ItemMod.kt | yrsegal | 63,903,596 | false | null | package wiresegal.zenmodelloader.common.items.base
import net.minecraft.creativetab.CreativeTabs
import net.minecraft.item.Item
import net.minecraft.item.ItemStack
import net.minecraftforge.fml.common.Loader
import wiresegal.zenmodelloader.common.core.IModItemProvider
import wiresegal.zenmodelloader.common.core.Varian... | 0 | Kotlin | 0 | 4 | 1b14d36194378891fc52706880fa3c788d013e8b | 1,597 | ZenModelLoader | Do What The F*ck You Want To Public License |
trixnity-clientserverapi/trixnity-clientserverapi-model/src/commonMain/kotlin/net/folivo/trixnity/clientserverapi/model/keys/DeleteRoomKeyBackup.kt | benkuly | 330,904,570 | false | null | package net.folivo.trixnity.clientserverapi.model.keys
import io.ktor.resources.*
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import net.folivo.trixnity.core.HttpMethod
import net.folivo.trixnity.core.HttpMethodType.DELETE
import net.folivo.trixnity.core.MatrixEndpoint
import net.... | 0 | null | 3 | 30 | 6dfadb2efa1843a33030fba9eb6be0bfecdfb94d | 852 | trixnity | Apache License 2.0 |
bpmn-intellij-plugin/src/main/kotlin/com/valb3r/bpmn/intellij/plugin/render/DefaultBpmnProcessRenderer.kt | gitter-badger | 278,793,073 | true | {"Kotlin": 670303} | package com.valb3r.bpmn.intellij.plugin.render
import com.valb3r.bpmn.intellij.plugin.Colors
import com.valb3r.bpmn.intellij.plugin.bpmn.api.bpmn.BpmnElementId
import com.valb3r.bpmn.intellij.plugin.bpmn.api.bpmn.elements.WithBpmnId
import com.valb3r.bpmn.intellij.plugin.bpmn.api.bpmn.elements.activities.BpmnCallActiv... | 0 | null | 0 | 0 | dc88e900203f0620e498d1f9dc61750850f268e3 | 18,181 | flowable-bpmn-intellij-plugin | MIT License |
app/src/androidTest/java/net/zdendukmonarezio/pathfinder/domain/game/model/board/GameBoardTest.kt | monarezio | 89,070,099 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Java": 11, "XML": 19, "Kotlin": 25, "JSON": 4} | package net.zdendukmonarezio.pathfinder.domain.game.model.board
import net.zdendukmonarezio.pathfinder.domain.game.model.utils.Coordinate
import org.junit.Test
import org.junit.Assert.*
import net.zdendukmonarezio.pathfinder.domain.game.model.utils.Field;
/**
* Created by monarezio on 23/04/2017.
*/
class GameBoar... | 1 | null | 1 | 1 | 80ccc3c4f4e49a58a0926fb24acfcd7113ff3ed6 | 919 | PathFinder | Apache License 2.0 |
core/src/test/kotlin/com/github/samelVhatargh/vapula/map/PathFinderTest.kt | SamelVhatargh | 273,857,522 | false | null | package com.github.samelVhatargh.vapula.map
import com.badlogic.ashley.core.Engine
import com.github.samelVhatargh.vapula.game.statuses.OccupySpaceComponent
import com.github.samelVhatargh.vapula.tests.DescribedMap
import com.github.samelVhatargh.vapula.tests.MapBaseTest
import ktx.ashley.entity
import ktx.ashley.with... | 11 | Kotlin | 1 | 2 | a0c8d3159aa382c01220a0c75acc65566f3892dc | 12,095 | vapula | Creative Commons Zero v1.0 Universal |
core/utils/src/main/java/it/ipzs/utils/Mappable.kt | italia | 730,138,590 | false | {"Kotlin": 245691} | package it.ipzs.utils
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.map
import kotlin.reflect.full.companionObjectInstance
interface Mappable <in O, out R>{
fun from(origin: O): R
}
inline fun <O: Any, reified R> Collection<O>.mapToModel(): List<R> = mapNotNull {
(R::class.companionObjec... | 0 | Kotlin | 0 | 1 | 5aafddcc60e8e60db543a61ed398050c39cb5538 | 454 | eudi-wallet-it-iso-verifier | Apache License 2.0 |
mvikotlin-timetravel-proto-internal/src/commonMain/kotlin/com/arkivanov/mvikotlin/timetravel/proto/internal/data/value/ReadWrite.kt | wiltonlazary | 378,491,432 | true | {"Gradle": 26, "YAML": 5, "Java Properties": 1, "Shell": 1, "Text": 1, "Ignore List": 27, "Batchfile": 1, "EditorConfig": 1, "Markdown": 10, "Kotlin": 348, "XML": 55, "HTML": 1, "OpenStep Property List": 4, "Swift": 32, "JSON": 16, "INI": 1, "Java": 1, "Groovy": 1, "SVG": 6} | package com.arkivanov.mvikotlin.timetravel.proto.internal.data.value
import com.arkivanov.mvikotlin.timetravel.proto.internal.io.DataReader
import com.arkivanov.mvikotlin.timetravel.proto.internal.io.DataWriter
import com.arkivanov.mvikotlin.timetravel.proto.internal.io.readBoolean
import com.arkivanov.mvikotlin.timet... | 0 | Kotlin | 0 | 0 | c48cdd6e6081cf21bc88b4d41e1d8f41d8d5dc57 | 9,233 | MVIKotlin | Apache License 2.0 |
android/app/src/main/kotlin/com/example/teslaapp/MainActivity.kt | kyleorin | 411,747,834 | false | {"Dart": 8656, "HTML": 3851, "Swift": 404, "Kotlin": 125, "Objective-C": 38} | package com.example.teslaapp
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 0 | 0 | 9d6ec370e9f015885e3973a203c785aa9746c5f0 | 125 | flutter-teslaapp | Apache License 2.0 |
src/main/kotlin/org/rust/lang/core/stubs/RsPlaceholderStub.kt | torkleyy | 103,789,734 | false | null | package org.rust.lang.core.stubs
import com.intellij.lang.ASTNode
import com.intellij.psi.stubs.*
import org.rust.lang.core.psi.ext.RsCompositeElement
class RsPlaceholderStub(parent: StubElement<*>?, elementType: IStubElementType<*, *>)
: StubBase<RsCompositeElement>(parent, elementType) {
class Type<PsiT : ... | 1 | null | 1 | 1 | fd96ed4524a6365ea89bfad3e761954a1361edbc | 1,134 | intellij-rust | MIT License |
webui/src/test/kotlin/com/simiacryptus/skyenet/DemoAgent.kt | SimiaCryptus | 619,329,127 | false | null | @file:Suppress("unused")
package com.simiacryptus.skyenet
import com.simiacryptus.skyenet.heart.GroovyInterpreter
import com.simiacryptus.skyenet.body.SessionServerUtil.asJava
import com.simiacryptus.skyenet.body.SkyenetCodingSessionServer
import com.simiacryptus.util.AbbrevWhitelistYamlDescriber
import java.awt.Des... | 0 | Kotlin | 0 | 1 | 57d1e58abf26afb2d75a089b0c6b3e68cb04ea4f | 1,440 | SkyeNet | Apache License 2.0 |
src/main/java/dev/chieppa/wrapper/model/result/TagSummaryResult.kt | nrc4867 | 368,734,815 | false | null | package dev.chieppa.wrapper.model.result
import dev.chieppa.wrapper.constants.workproperties.TagType
import java.io.Serializable
@kotlinx.serialization.Serializable
data class TagSummaryResult(
val primaryTag: String,
val category: TagType?,
val filterWorksOrBookmarks: Boolean,
val merger: String?,
... | 0 | Kotlin | 0 | 0 | 0c57cf295e806feb5ec5a96b55f1108329a203d0 | 514 | AO3-Parser | MIT License |
app/src/main/java/com/example/currencyconversion/api/FixerObject.kt | arononak | 158,136,969 | false | null | package com.example.currencyconversion.api
import com.google.gson.JsonObject
data class FixerObject(
val success: Boolean,
val timestamp: Long,
val base: String,
val date: String,
val rates: JsonObject
) | 0 | Kotlin | 0 | 0 | 2df693e2ceedfbe9db1d67d027aacaac6c159fbb | 245 | FixerCurrencyConversion | Apache License 2.0 |
app/src/main/java/com/composeweatherapp/domain/model/Forecast.kt | AhmetOcak | 538,149,907 | false | null | package com.weather.domain.model
data class Forecast(
val weatherList: List<ForecastWeather>,
val cityDtoData: City
)
| 0 | null | 2 | 8 | 3132fd3814887d99b70fc78570fb39e899f2ac4d | 127 | JetpackCompose-WeatherApp | MIT License |
DEEP/app/src/main/java/com/example/deep/diver/aqua_frame.kt | SL1dee36 | 809,486,488 | false | null | package com.example.deep.diver
import android.content.Intent
import android.os.Bundle
import android.view.View
import androidx.appcompat.app.AppCompatActivity
import com.example.deep.R
class aqua_frame : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanc... | 0 | null | 0 | 3 | 73fd52e188b488cb6d40855757e1537329429af4 | 923 | DEEP | MIT License |
app/src/main/java/de/ka/rgreed/utils/NavigationUtils.kt | hothf | 288,734,066 | false | null | package de.ka.rgreed.utils
import androidx.navigation.NavController
import androidx.navigation.NavOptions
import de.ka.rgreed.R
import de.ka.rgreed.base.events.AnimType
import de.ka.rgreed.base.events.NavigateTo
object NavigationUtils {
/**
* Indicate to simply go back and popup the last fragment.
*/
... | 0 | Kotlin | 0 | 1 | a6eddef3a2f8c7139805249bcfb48ef374743eb8 | 3,577 | rgreed-app | MIT License |
ktlint/src/test/kotlin/au/sjowl/lib/ktlint/SortRuleTest.kt | vorobeij | 331,657,255 | false | {"Kotlin": 25535} | package au.sjowl.lib.ktlint
import com.pinterest.ktlint.test.format
import org.junit.Test
val inputCode = """
package au.sjowl.apps.everlang.presentation.rssfeeds
import org.jetbrains.anko.dip
import org.jetbrains.anko.layoutInflater
import org.jetbrains.anko.sp
import org.jetbrains.anko.textAppearance
import org.je... | 0 | Kotlin | 0 | 0 | 6b072350c60b08e2abe9b1d88c38c2d0591b279a | 13,658 | ktlint-android | Apache License 2.0 |
build-logic/src/main/kotlin/com/ku_stacks/ku_ring/buildlogic/primitive/FirebasePlugin.kt | ku-ring | 412,458,697 | false | {"Kotlin": 651475} | package com.ku_stacks.ku_ring.buildlogic.primitive
import com.ku_stacks.ku_ring.buildlogic.dsl.implementationPlatform
import com.ku_stacks.ku_ring.buildlogic.dsl.library
import com.ku_stacks.ku_ring.buildlogic.dsl.libs
import org.gradle.api.Plugin
import org.gradle.api.Project
import org.gradle.kotlin.dsl.dependencies... | 6 | Kotlin | 1 | 23 | 5580b0c1c5a9f82d44399df6e8f96ae64cbdd79d | 801 | KU-Ring-Android | Apache License 2.0 |
relive-simulator-core/src/commonMain/kotlin/xyz/qwewqa/relive/simulator/core/presets/dress/middle/wind/Kaoruko.kt | qwewqa | 390,928,568 | false | null | package xyz.qwewqa.relive.simulator.core.presets.dress.middle.wind
import xyz.qwewqa.relive.simulator.core.presets.condition.*
import xyz.qwewqa.relive.simulator.core.presets.dress.generated.dress1090016
import xyz.qwewqa.relive.simulator.core.presets.dress.generated.dress1090022
import xyz.qwewqa.relive.simulator.cor... | 0 | null | 11 | 7 | 70e1cfaee4c2b5ab4deff33b0e4fd5001c016b74 | 5,553 | relight | MIT License |
packages/cactus-plugin-ledger-connector-corda/src/main-server/kotlin/gen/kotlin-spring/src/main/kotlin/org/hyperledger/cactus/plugin/ledger/connector/corda/server/model/NodeInfo.kt | eu09 | 348,786,091 | false | null | package org.hyperledger.cactus.plugin.ledger.connector.corda.server.model
import java.util.Objects
import com.fasterxml.jackson.annotation.JsonProperty
import org.hyperledger.cactus.plugin.ledger.connector.corda.server.model.NetworkHostAndPort
import org.hyperledger.cactus.plugin.ledger.connector.corda.server.model.Pa... | 0 | null | 0 | 1 | 4cbed454817dd11c1eac0d19d12aef9b336fc18a | 1,431 | cactus | Apache License 2.0 |
kotest-tests/kotest-tests-timeout/src/jvmTest/kotlin/com/sksamuel/kotest/timeout/GlobalTimeoutTest.kt | nino-n26 | 246,523,590 | true | {"Kotlin": 1972899, "HTML": 423, "Java": 153} | package com.sksamuel.kotest.timeout
import io.kotest.core.spec.TestCaseExtensionFn
import io.kotest.core.spec.style.StringSpec
import io.kotest.core.test.TestResult
import io.kotest.core.test.TestStatus
import kotlinx.coroutines.delay
import kotlin.time.Duration
import kotlin.time.ExperimentalTime
@ExperimentalTime
c... | 0 | null | 0 | 0 | a7da04aaa137613d115a9143b898f6602385ecf7 | 1,173 | kotlintest | Apache License 2.0 |
app/src/main/java/com/example/agrehahora/model/Produto.kt | matheusdelnero | 563,035,964 | false | null | package com.example.agrehahora.model
data class Produto (
val foto: Int,
val nome: String,
val descricao: String,
val preco: String
) | 0 | Kotlin | 0 | 0 | 81c22362c1ea9acd0329c35d4d1dfbb3f9b392c3 | 158 | Estudo_RecyclerView | MIT License |
app/src/androidTest/java/al/ahgitdevelopment/municion/ext/TestExtensions.kt | foliolo | 55,931,400 | false | null | package al.ahgitdevelopment.municion.ext
import android.view.View
import com.google.android.material.textfield.TextInputLayout
import org.hamcrest.Description
import org.hamcrest.Matcher
import org.hamcrest.TypeSafeMatcher
fun hasTextInputLayoutErrorText(expectedErrorText: String): Matcher<View> =
object : TypeSa... | 0 | Kotlin | 2 | 4 | d3cf70945228b455b73b21e2af699ed5b87e248e | 1,032 | Municion | MIT License |
app/src/main/java/com/david/hackro/covid/presentation/adapter/country/CountryViewHolder.kt | David-Hackro | 260,338,201 | false | null | package com.david.hackro.covid.presentation.adapter.country
import android.view.View
import androidx.recyclerview.widget.RecyclerView
import com.david.hackro.androidext.setUrlCircle
import com.david.hackro.covid.R
import com.david.hackro.covid.presentation.model.CountryItem
import com.david.hackro.kotlinext.formatValu... | 0 | Kotlin | 4 | 24 | fab77132389c46e9773982f5a31e33b694091530 | 1,767 | Covid | MIT License |
src/test/kotlin/com/kiptechie/ApplicationTest.kt | kiptechie | 419,120,019 | false | {"Shell": 14860, "Kotlin": 9185, "Batchfile": 8820, "HTML": 7659, "JavaScript": 5252, "CSS": 3780, "Procfile": 78} | package com.kiptechie
import io.ktor.routing.*
import io.ktor.http.*
import io.ktor.serialization.*
import io.ktor.features.*
import org.slf4j.event.*
import io.ktor.content.*
import io.ktor.http.content.*
import io.ktor.application.*
import io.ktor.response.*
import io.ktor.request.*
import kotlin.test.*
import io.kt... | 0 | Shell | 0 | 1 | 390c709f0b9a955e448962cd847d612c3827fef4 | 3,563 | ktor-rabbits | MIT License |
tempAlgEval/src/main/kotlin/json/parsers/MetadataQueryResultOParser.kt | vGsteiger | 375,249,755 | false | null | package json.parsers
import json.MetadataQueryResultO
import json.Model
import java.io.File
class MetadataQueryResultOParser : Parser() {
override fun fromJsonToModel(s: String): Model {
return gson.fromJson(s, MetadataQueryResultO::class.java)
}
override fun fromFileToModel(file: String): Model... | 1 | Kotlin | 1 | 0 | ce813615b635fdfb947df45791638c75c11b5e5c | 435 | BachelorsThesisContribution | MIT License |
src/kotlin/example/spring/src/main/kotlin/com/planetnine/sessionless/util/sessionless/models/vaults/IVault.kt | planet-nine-app | 753,932,446 | false | {"JavaScript": 341804, "Kotlin": 81083, "C": 50979, "Rust": 41308, "Java": 37019, "C#": 31869, "Swift": 13774, "C++": 12875, "Python": 12803, "TypeScript": 11445, "HTML": 10459, "CSS": 7885, "Game Maker Language": 3115, "CMake": 2915, "Ruby": 1842, "Dockerfile": 927, "Shell": 108} | package com.planetnine.sessionless.util.sessionless.models.vaults
import com.planetnine.sessionless.util.sessionless.impl.KeyStoreVault
import com.planetnine.sessionless.util.sessionless.models.ISessionless
import java.security.KeyStore
/** The governing interface for vaults used by [ISessionless] */
sealed interfac... | 12 | JavaScript | 9 | 35 | e27f0908175404640e6181a375dc0d2f12363ff0 | 522 | sessionless | MIT License |
Corona-Warn-App/src/main/java/de/rki/coronawarnapp/appconfig/AppConfigProvider.kt | corona-warn-app | 268,027,139 | false | null | package de.rki.coronawarnapp.appconfig
import de.rki.coronawarnapp.appconfig.internal.AppConfigSource
import de.rki.coronawarnapp.util.coroutine.AppScope
import de.rki.coronawarnapp.util.coroutine.DispatcherProvider
import de.rki.coronawarnapp.util.flow.HotDataFlow
import de.rki.coronawarnapp.util.reset.Resettable
imp... | 6 | Kotlin | 8 | 2,495 | d3833a212bd4c84e38a1fad23b282836d70ab8d5 | 1,837 | cwa-app-android | Apache License 2.0 |
Power Tools/Extension Lambdas/Exercise 3/src/Task.kt | marchdz | 633,862,396 | false | null | // ExtensionLambdas/ExtensionLambdasSoln3.kt
package extensionLambdasExercise3
import atomictest.eq
open class Cleanser : ArrayList<String>() {
fun selectContainer() {
add("Container selected")
}
fun sealContainer() {
add("Container sealed")
}
fun detergent() { add("detergent") }
fun abrasive() { a... | 0 | Kotlin | 0 | 0 | 1efabf8721c4efbb0891b7b9469efc9e7b36f189 | 952 | atomic-kotlin-exercises | MIT License |
Owl/app/src/main/java/com/materialstudies/owl/model/Lesson.kt | material-components | 212,063,679 | false | {"Kotlin": 267765} | /*
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 16 | Kotlin | 539 | 2,492 | 901335d111c5f8378acf6fe32e90f1176cddccaf | 2,833 | material-components-android-examples | Apache License 2.0 |
common/src/main/java/com/netchar/common/extensions/ViewExt.kt | netchar | 171,912,089 | false | null | /*
* Copyright © 2019 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | 1 | Kotlin | 3 | 4 | 2bcccb5a5cc161831a11c7976eb2cb1ba7c90923 | 4,391 | Wallpaperify | Apache License 2.0 |
data/src/main/java/com/comit/data/datasource/RemoteFileDataSource.kt | Team-ComIT | 511,156,689 | false | null | package com.comit.data.datasource
import okhttp3.MultipartBody
interface RemoteFileDataSource {
suspend fun uploadFile(
file: MultipartBody.Part,
): String
suspend fun uploadFileList(
files: List<MultipartBody.Part>,
): List<String>
}
| 2 | Kotlin | 0 | 31 | 48293d51264908cc2f1ece572bf42c8c2f93880d | 271 | SimTong-Android | Apache License 2.0 |
src/main/kotlin/us/frollo/frollosdk/network/api/PaymentsAPI.kt | frollous | 261,670,220 | false | {"Kotlin": 3158745} | /*
* Copyright 2019 Frollo
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wri... | 5 | Kotlin | 1 | 2 | 177580bf9bfd8190258c626bb57bde5272d9be51 | 3,499 | frollo-android-sdk | Apache License 2.0 |
src/main/kotlin/xyz/oniverse/music/listeners/framework/Context.kt | bulletsabbath | 511,569,049 | false | null | package xyz.oniverse.music.listeners.framework
import net.dv8tion.jda.api.EmbedBuilder
import net.dv8tion.jda.api.events.message.MessageReceivedEvent
import xyz.oniverse.music.Oni
class Context(event: MessageReceivedEvent, val args: List<String>) {
val message = event.message
val author = event.author
va... | 0 | Kotlin | 0 | 0 | 6503ccd273e0ac523f6d418a1eb2aee32061e576 | 1,061 | onimusic | MIT License |
app/src/main/java/com/rangganf/storyappearly/ui/story/liststory/LoadingStateAdapter.kt | RanggaNf | 820,492,762 | false | {"Kotlin": 84236} | package com.rangganf.storyappearly.ui.story.liststory
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.core.view.isVisible
import androidx.paging.LoadState
import androidx.paging.LoadStateAdapter
import androidx.recyclerview.widget.RecyclerView
import com.rangganf.storyappearly.databind... | 0 | Kotlin | 0 | 1 | 2d25b89fe8cc3f335d6078e3c6c7735a2fda05b0 | 1,539 | StoryApp | MIT License |
app/src/main/java/com/mmdev/kudago/app/data/BaseRepository.kt | muramrr | 259,294,007 | false | null | /*
*
* Copyright (c) 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 ... | 0 | Kotlin | 0 | 4 | a41341a5c08e4a49dcd98ec56d3fec7fcb5954d6 | 1,431 | Kudago-Application | Apache License 2.0 |
demo/src/main/java/de/wirecard/ecr/demo/dialog/LoadingFragment.kt | WirecardMobileServices | 247,036,346 | false | null | package de.wirecard.ecr.demo.dialog
import android.os.Bundle
import android.os.Handler
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import de.wirecard.ecr.demo.R
import de.wirecard.ecr.demo.dialog.abs.BaseDialogFragment
import kotlinx.android.synthetic.main.fragment_loading... | 0 | null | 0 | 0 | d02e2fa78dc811131f90e34ebf03e92db83acf3b | 1,081 | Wirecard-ECR-Demo-Android | MIT License |
src/main/kotlin/nl/nickkoepr/tictactoe/game/gamerequest/GameRequest.kt | NickKoepr | 444,190,774 | false | {"Kotlin": 57557} | package nl.nickkoepr.tictactoe.game.gamerequest
import nl.nickkoepr.tictactoe.game.objects.Player
data class GameRequest(
val sender: Player,
val getter: Player,
val messageId: String,
val channelId: String,
var lastActivity: Long
)
| 0 | Kotlin | 0 | 0 | a98d76f42d8e834f88c287f520a4aa796cf1d211 | 255 | TicTacToe | MIT License |
src/main/kotlin/graphql/dataTransferObjects/Chat.kt | neelkamath | 250,690,176 | false | null | @file:Suppress("unused")
package com.neelkamath.omniChatBackend.graphql.dataTransferObjects
import com.neelkamath.omniChatBackend.db.BackwardPagination
import com.neelkamath.omniChatBackend.db.tables.Chats
import com.neelkamath.omniChatBackend.db.tables.Messages
import com.neelkamath.omniChatBackend.db.tables.Private... | 8 | Kotlin | 2 | 9 | a475c268c5d5a312f9950608d7a4e164db848d26 | 942 | omni-chat-backend | MIT License |
src/main/kotlin/graphql/dataTransferObjects/Chat.kt | neelkamath | 250,690,176 | false | null | @file:Suppress("unused")
package com.neelkamath.omniChatBackend.graphql.dataTransferObjects
import com.neelkamath.omniChatBackend.db.BackwardPagination
import com.neelkamath.omniChatBackend.db.tables.Chats
import com.neelkamath.omniChatBackend.db.tables.Messages
import com.neelkamath.omniChatBackend.db.tables.Private... | 8 | Kotlin | 2 | 9 | a475c268c5d5a312f9950608d7a4e164db848d26 | 942 | omni-chat-backend | MIT License |
wear-tile/src/main/java/kndroidx/wear/tile/layout/Box.kt | KndroidX | 711,136,725 | false | {"Kotlin": 29599} | package kndroidx.wear.tile.layout
import androidx.wear.protolayout.DimensionBuilders.ContainerDimension
import androidx.wear.protolayout.LayoutElementBuilders
import androidx.wear.protolayout.ModifiersBuilders.Modifiers.Builder as ModifiersBuilder
fun Box(
width: ContainerDimension,
height: ContainerDimension... | 0 | Kotlin | 0 | 1 | 2ddcdeb5f58d5c8c37bc32e254935c11a428a764 | 599 | KndroidX | Apache License 2.0 |
goblinframework-cache-redis/src/main/java/org/goblinframework/cache/redis/provider/RedisCacheBuilder.kt | HuangKunInkess | 224,439,191 | false | {"INI": 8, "Gradle": 35, "Markdown": 1, "Text": 1, "Ignore List": 1, "Kotlin": 514, "XML": 27, "JSON": 9, "Java": 418, "FreeMarker": 10, "SQL": 3, "CSS": 8, "JavaScript": 8, "SVG": 2, "Fluent": 5} | package org.goblinframework.cache.redis.provider
import org.goblinframework.api.annotation.Singleton
import org.goblinframework.cache.core.Cache
import org.goblinframework.cache.core.CacheBuilder
import org.goblinframework.cache.core.CacheSystem
import org.goblinframework.cache.redis.client.RedisClientManager
@Single... | 1 | null | 1 | 1 | 75124c38c952c51dfed9849d11ee20d2424eb081 | 706 | goblinframework | Apache License 2.0 |
mapboxautocomplete/src/main/java/io/devmike01/compose/textfield/AutocompleteState.kt | devmike01 | 636,439,017 | false | null | package io.devmike01.compose.textfield
import io.devmike01.compose.repo.SuggestionResponse
data class AutocompleteState(val place: PlaceState = PlaceState.Nothing)
sealed interface PlaceState{
data class Success(val data: SuggestionResponse): PlaceState
data class Error(val error : Throwable): PlaceState
... | 1 | Kotlin | 0 | 0 | 0f8a322e4e47f8a99a8f19241462e747e9d1ce36 | 350 | MapboxAutocomplete-Compose | Apache License 2.0 |
base/src/main/java/org/kin/stellarfork/xdr/ManageDataOp.kt | wangpeikai | 364,139,277 | true | {"Kotlin": 2253108, "Java": 312868} | // Automatically generated by xdrgen
// DO NOT EDIT or your changes may be overwritten
package org.kin.stellarfork.xdr
import org.kin.stellarfork.xdr.DataValue.Companion.encode
import java.io.IOException
// === xdr source ============================================================
// struct ManageDataOp
// {
// ... | 0 | null | 0 | 0 | 7b0ccee81d00f445af7ca25252bb0bf2d7c02b40 | 1,523 | kin-core | MIT License |
app/src/main/java/com/reggar/earthquakes/earthquakelist/data/models/Earthquake.kt | REggar | 342,381,403 | false | null | package com.reggar.earthquakes.earthquakelist.data.models
import android.os.Parcelable
import kotlinx.parcelize.Parcelize
@Parcelize
data class Earthquake(
val eqid: String,
val datetime: String,
val depth: Double,
val lat: Double,
val lng: Double,
val src: String,
val magnitude: Double,
)... | 0 | Kotlin | 0 | 1 | fa6ebec8b0a69d1333d2ac8fbb729f695252a14a | 332 | Earthquakes | Apache License 2.0 |
componentes/android/app/src/main/kotlin/com/example/componentes/MainActivity.kt | Galonzinho | 386,091,668 | false | {"Dart": 13713, "Swift": 1212, "Kotlin": 383, "Objective-C": 114} | package com.example.componentes
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 0 | 0 | 3ac21beadbceac9bb237fd6e4bb40385c570fb2b | 128 | Exercicio_Aula_11 | MIT License |
ListDetail/src/androidTest/java/com/microsoft/device/display/samples/listdetail/ListDetailTest.kt | microsoft | 329,091,156 | false | null | package com.microsoft.device.display.samples.listdetail
import androidx.compose.ui.test.junit4.createAndroidComposeRule
import androidx.compose.ui.test.onNodeWithContentDescription
import androidx.compose.ui.test.onNodeWithTag
import androidx.compose.ui.test.performClick
import androidx.window.testing.layout.WindowLay... | 3 | null | 9 | 59 | 1ae8ef33490227dbd311fdc261d3cf270ccb2853 | 3,223 | surface-duo-compose-samples | MIT License |
feature-assets/src/main/java/io/novafoundation/nova/feature_assets/presentation/transaction/detail/swap/SwapDetailViewModel.kt | novasamatech | 415,834,480 | false | {"Kotlin": 8137060, "Java": 14723, "JavaScript": 425} | package io.novafoundation.nova.feature_assets.presentation.transaction.detail.swap
import io.novafoundation.nova.common.address.AddressIconGenerator
import io.novafoundation.nova.common.address.AddressModel
import io.novafoundation.nova.common.base.BaseViewModel
import io.novafoundation.nova.common.utils.flowOf
import... | 12 | Kotlin | 6 | 9 | 618357859a4b7af95391fc0991339b78aff1be82 | 7,792 | nova-wallet-android | Apache License 2.0 |
compiler/testData/diagnostics/tests/controlStructures/catchGenerics.kt | JakeWharton | 99,388,807 | false | null | // JAVAC_EXPECTED_FILE
// See KT-9816, KT-9742
// Not allowed in Java
class ZException<T>(val p: T) : Exception()
class YException<T>(val p: T): java.lang.RuntimeException()
class XException<T>(val p: T): Throwable()
fun bar() {
try {
throw ZException(11)
} catch (e: ZException<*>) {}
}
inline ... | 181 | null | 5748 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 534 | kotlin | Apache License 2.0 |
ontrack-extension-elasticsearch/src/main/kotlin/net/nemerosa/ontrack/extension/elastic/ElasticSearchClientExtensions.kt | ReginaBabo | 245,408,806 | true | {"Java": 2224530, "Kotlin": 2141387, "Groovy": 807848, "JavaScript": 428163, "HTML": 326440, "CSS": 144727, "TSQL": 23826, "Shell": 6022, "Dockerfile": 5144} | package net.nemerosa.ontrack.extension.elastic
| 0 | null | 0 | 0 | 2559a95e2ebf41f52c6b409f2fa828558a260784 | 48 | ontrack | MIT License |
buildSrc/src/main/kotlin/androidx/build/metalava/GenerateApiTask.kt | FYI-Google | 258,765,297 | false | null | /*
* Copyright 2018 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 8 | null | 0 | 6 | b9cd83371e928380610719dfbf97c87c58e80916 | 2,431 | platform_frameworks_support | Apache License 2.0 |
agp-7.1.0-alpha01/tools/base/lint/libs/lint-tests/src/main/java/com/android/tools/lint/checks/infrastructure/ResolveChecker.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) 2021 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 | 8,409 | CppBuildCacheWorkInProgress | Apache License 2.0 |
tmp/arrays/youTrackTests/10828.kt | DaniilStepanov | 228,623,440 | false | {"Git Config": 1, "Gradle": 6, "Text": 3, "INI": 5, "Shell": 2, "Ignore List": 3, "Batchfile": 2, "Markdown": 2, "Kotlin": 15942, "JavaScript": 4, "ANTLR": 2, "XML": 12, "Java": 4} | // Original bug: KT-1048
import java.util.HashMap
public open class Java() {
open fun test() : Unit {
var m : HashMap<Any?, Any?>? = HashMap()
m?.put(1, 1)
}
}
| 1 | null | 8 | 1 | 602285ec60b01eee473dcb0b08ce497b1c254983 | 187 | bbfgradle | Apache License 2.0 |
src/main/kotlin/io/github/facilityapi/intellij/inspection/DeleteAttributeParameterListFix.kt | jzbrooks | 408,662,559 | false | {"Gradle Kotlin DSL": 2, "Markdown": 2, "Java Properties": 1, "YAML": 5, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Git Attributes": 1, "EditorConfig": 1, "INI": 2, "Kotlin": 67, "SVG": 9, "XML": 11, "HTML": 9, "JFlex": 1, "Java": 59} | package io.github.facilityapi.intellij.inspection
import com.intellij.codeInspection.LocalQuickFix
import com.intellij.codeInspection.ProblemDescriptor
import com.intellij.openapi.project.Project
import io.github.facilityapi.intellij.FsdBundle
import io.github.facilityapi.intellij.psi.FsdAttributeParameters
class Del... | 1 | Kotlin | 1 | 0 | 77453a34e08d5dac7be9fe84b986a1fa00305cfa | 694 | FacilityIntellij | MIT License |
src/main/kotlin/com/github/recognized/screencast/player/CompileUtil.kt | Recognized | 161,948,377 | false | {"Gradle Kotlin DSL": 2, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "Java Properties": 1, "Kotlin": 29, "Java": 1, "XML": 1} | package com.github.recognized.screencast.player
import com.intellij.ide.plugins.cl.PluginClassLoader
import com.intellij.openapi.application.ApplicationManager
import com.intellij.openapi.components.ServiceManager
import com.intellij.testGuiFramework.recorder.actions.PerformScriptAction
import java.io.File
import java... | 1 | Kotlin | 0 | 10 | a00b97ac2c3128d13d347ec7f65664009be0d9b6 | 3,924 | ScreencastRecorder | Apache License 2.0 |
paging/common/src/test/kotlin/androidx/paging/SingleRunnerTest.kt | Sathawale27 | 284,157,908 | true | {"Java": 41106538, "Kotlin": 22235015, "Python": 226099, "Shell": 104113, "C++": 23223, "ANTLR": 19795, "HTML": 10802, "TypeScript": 6933, "JavaScript": 1343, "CMake": 995} | /*
* Copyright 2019 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 0 | null | 0 | 1 | 549e3e3003cd308939ff31799cf1250e86d3e63e | 4,027 | androidx | Apache License 2.0 |
paging/common/src/test/kotlin/androidx/paging/SingleRunnerTest.kt | Sathawale27 | 284,157,908 | true | {"Java": 41106538, "Kotlin": 22235015, "Python": 226099, "Shell": 104113, "C++": 23223, "ANTLR": 19795, "HTML": 10802, "TypeScript": 6933, "JavaScript": 1343, "CMake": 995} | /*
* Copyright 2019 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 0 | null | 0 | 1 | 549e3e3003cd308939ff31799cf1250e86d3e63e | 4,027 | androidx | Apache License 2.0 |
lite/examples/generative_ai/android/app/src/main/java/com/google/tensorflowdemo/ui/screens/autocomplete/components/WindowSizeSelection.kt | tensorflow | 141,200,054 | false | {"Jupyter Notebook": 1733035, "Python": 1236700, "Kotlin": 701472, "Swift": 553535, "Java": 344358, "C++": 121451, "Shell": 42663, "JavaScript": 24461, "Starlark": 17666, "Objective-C": 14639, "Objective-C++": 14293, "HTML": 12491, "CSS": 4746, "Ruby": 3736, "CMake": 2634, "Dockerfile": 467} | /*
* Copyright 2023 The TensorFlow Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... | 133 | Jupyter Notebook | 7394 | 7,912 | 9084c2efc4837ecaa2544b43ea2f3c26b593dde4 | 4,037 | examples | Apache License 2.0 |
ARSPAppUI/app/src/main/java/com/example/arspapp_ui/Constants.kt | cch230 | 234,639,686 | false | {"Ignore List": 3, "Markdown": 5, "Gradle": 6, "Java Properties": 6, "Shell": 1, "Batchfile": 1, "Text": 16, "Proguard": 2, "Wavefront Material": 1, "Wavefront Object": 1, "Java": 199, "XML": 128, "Kotlin": 16, "JSON": 6, "SQL": 1, "HTML": 190, "CSS": 1, "JavaScript": 1, "AIDL": 1, "Makefile": 5, "CMake": 19, "C++": 19... |
@file:JvmName("Constants")
package com.example.arspapp_ui
/** Request camera and external storage permission. */
const val REQUEST_CAMERA_PERMISSION = 1
/** Model input shape for images. */
const val MODEL_WIDTH = 257
const val MODEL_HEIGHT = 257
| 1 | null | 1 | 1 | 71b71e77df19ca0b673e5435ffcae99a7b0268ed | 255 | Augmented-Reality-Soccer-Practice-Application | MIT No Attribution |
core/src/main/kotlin/imgui/internal/api/loggingCapture.kt | kotlin-graphics | 59,469,938 | false | {"Gradle Kotlin DSL": 7, "INI": 3, "Shell": 1, "Text": 2, "Ignore List": 1, "Batchfile": 1, "YAML": 2, "Markdown": 1, "Kotlin": 224, "Java": 11, "Gradle": 1, "XML": 10} | package imgui.internal.api
import glm_.vec2.Vec2
import imgui.ImGui
import imgui.ImGui.logText
import imgui.api.g
import imgui.getOrNul
import imgui.internal.eolRange
import imgui.internal.sections.LogType
/** Logging/Capture */
internal interface loggingCapture {
/** -> BeginCapture() when we design v2 api, for... | 24 | Kotlin | 36 | 589 | 665b1032094c4f342a4306c0d3adcc944d87d0e7 | 3,928 | imgui | MIT License |
plugins/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/lang/psi/controlFlow/impl/LoopIteratorVariableDescriptor.kt | ingokegel | 72,937,917 | true | null | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.plugins.groovy.lang.psi.controlFlow.impl
import org.jetbrains.plugins.groovy.lang.psi.api.statements.clauses.GrForInClause
import org.jetbrains.plugins.groo... | 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 609 | intellij-community | Apache License 2.0 |
android/beagle/src/main/java/br/com/zup/beagle/android/action/FormLocalAction.kt | tyagi2141 | 295,206,658 | true | {"Kotlin": 1378821, "Swift": 832288, "C++": 262909, "Objective-C": 59536, "Java": 26668, "Ruby": 22044, "Shell": 2714, "sed": 1618, "HTML": 1322, "C": 1109} | /*
* Copyright 2020 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA
*
* 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... | 1 | null | 1 | 1 | d64c69511dbf7c8f6198ed14cc07c1fa15bf080e | 2,212 | beagle | Apache License 2.0 |
app/src/main/java/org/oppia/android/app/story/StoryActivity.kt | prudhvir3ddy | 330,956,278 | true | {"Gradle": 8, "Starlark": 16, "Java Properties": 7, "Shell": 6, "Text": 1, "Ignore List": 1, "Batchfile": 1, "YAML": 3, "EditorConfig": 1, "Protocol Buffer": 13, "Proguard": 4, "XML": 618, "Kotlin": 861, "JSON": 43, "CODEOWNERS": 1, "Markdown": 6, "Java": 14} | package org.oppia.android.app.story
import android.content.Context
import android.content.Intent
import android.os.Bundle
import org.oppia.android.app.activity.InjectableAppCompatActivity
import org.oppia.android.app.home.RouteToExplorationListener
import org.oppia.android.app.player.exploration.ExplorationActivity
im... | 0 | Kotlin | 0 | 1 | c42dca3eb6c69821784063fb18621a81473735ce | 2,550 | oppia-android | Apache License 2.0 |
plugin/src/org/jetbrains/haskell/parser/HaskellParserDefinition.kt | riazanovskiy | 54,122,929 | false | null | package org.jetbrains.haskell.parser
import com.intellij.extapi.psi.ASTWrapperPsiElement
import com.intellij.lang.ASTNode
import com.intellij.lang.ParserDefinition
import com.intellij.lang.PsiParser
import com.intellij.lexer.Lexer
import com.intellij.openapi.project.Project
import com.intellij.psi.FileViewProvider
imp... | 1 | null | 1 | 1 | 51de5fa74691f12e25dde7b51047b9210013aec5 | 2,027 | haskell-idea-plugin | Apache License 2.0 |
test-suite-kotlin/src/main/kotlin/io/micronaut/sourcegen/example/Person.kt | micronaut-projects | 702,938,400 | false | {"Gradle Kotlin DSL": 12, "Java Properties": 1, "Markdown": 4, "Gradle": 6, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Git Attributes": 1, "EditorConfig": 1, "Java": 107, "XML": 2, "Kotlin": 12, "TOML": 1, "INI": 1, "AsciiDoc": 8, "YAML": 14, "JSON": 1, "Groovy": 3} | /*
* Copyright 2017-2023 original authors
*
* 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 agr... | 6 | Java | 2 | 3 | c48df55145b1ac067f95559523030495b5d1617a | 752 | micronaut-sourcegen | Apache License 2.0 |
app/src/main/java/com/ty/voogla/adapter/InspectionAdapter.kt | Boom618 | 162,539,793 | false | null | package com.ty.voogla.adapter
import android.content.Context
import com.ty.voogla.R
import com.ty.voogla.bean.CheckInfoList
import com.zhy.adapter.recyclerview.CommonAdapter
import com.zhy.adapter.recyclerview.base.ViewHolder
/**
* @author TY on 2019/1/7.
*/
class InspectionAdapter(context: Context, layoutId: Int, ... | 1 | null | 1 | 1 | c63c2a8cc97d2f4e3b4a1f3d087377729ae3f4e1 | 1,417 | Voogla | Apache License 2.0 |
app/src/main/java/com/multiaddress/transactions/di/ActivityModule.kt | lomza | 292,776,760 | false | null | package com.multiaddress.transactions.di
import com.multiaddress.transactions.backend.SchedulerProvider
import com.multiaddress.transactions.business.ConnectionManager
import com.multiaddress.transactions.business.MultiaddressManager
import com.multiaddress.transactions.ui.viewmodels.TransactionsViewModelFactory
impor... | 1 | null | 1 | 1 | 7eee907fbe42e37f6b27f50bb11a7a7f94cb79d3 | 956 | my-blockchain-wallet | MIT License |
app/src/main/java/work/airz/primanager/MembersActivity.kt | KeikaChan | 134,936,721 | false | {"Kotlin": 107044} | package work.airz.primanager
import android.content.Intent
import android.graphics.Bitmap
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import android.util.Log
import android.view.MenuItem
import android.view.View
import kotlinx.android.synthetic.main.activity_members.*
import kotlinx.androi... | 15 | Kotlin | 0 | 2 | c3028938b918c604ca47c1e1f149780c170a2749 | 3,352 | PriManager | Apache License 2.0 |
library/src/test/java/io/karn/notify/NotifyAlertingTest.kt | j0lzsnz3 | 133,006,795 | true | {"Kotlin": 64803} | package io.karn.notify
import android.support.v4.app.NotificationCompat
import org.junit.Assert
import org.junit.Test
import org.junit.runner.RunWith
import org.robolectric.RobolectricTestRunner
@RunWith(RobolectricTestRunner::class)
class NotifyAlertingTest : NotifyTestBase() {
@Test
fun defaultAlertingTest... | 0 | Kotlin | 0 | 0 | f5d96c310304220062361fbb5462fe1402f2e50f | 1,451 | notify | MIT License |
viewport/src/main/java/com/facebook/fresco/viewport/ViewportData.kt | facebook | 31,533,997 | false | {"Java": 2895425, "Kotlin": 1024596, "C++": 183862, "C": 53836, "Makefile": 10411, "Python": 10096, "Shell": 840} | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.fresco.viewport
@Suppress("KtDataClass")
data class ViewportData(val width: Int, val height: Int, val trans... | 233 | Java | 3751 | 17,073 | dbb46cebfffeeabf289db5f4a8d64950ba1e020d | 857 | fresco | MIT License |
data/src/main/java/com/mrx/data/usecase/SaveNoteUseCase.kt | BillyMRX1 | 666,053,672 | false | {"Kotlin": 41882} | package com.mrx.data.usecase
import com.mrx.data.model.Notes
import com.mrx.data.repository.NotesRepository
class SaveNoteUseCase(private val notesRepository: NotesRepository) {
suspend operator fun invoke(note: Notes) = notesRepository.saveNote(note)
} | 0 | Kotlin | 0 | 0 | 00c792eb76660db1a71b70b8ac428fa7d1f641d5 | 259 | The-Notes | Apache License 2.0 |
servidor/src/main/kotlin/Classes/Mensagem.kt | fortmea | 647,986,774 | false | null | package Classes
import java.io.Serializable
class Mensagem: Serializable {
private val posicoes: MutableMap<String, Int>;
constructor(posicoes: MutableMap<String, Int>) {
this.posicoes = posicoes
}
public fun getPosicoes(): MutableMap<String,Int>{
return this.posicoes;
}
} | 0 | Kotlin | 0 | 0 | 31bcf4722b76172de81e6829d2e27ee8055fedd4 | 314 | servidortcc | MIT License |
tabler-icons/src/commonMain/kotlin/compose/icons/tablericons/BuildingBank.kt | DevSrSouza | 311,134,756 | false | null | package compose.icons.tablericons
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx.compose.ui.graphic... | 17 | null | 25 | 571 | a660e5f3033e3222e3553f5a6e888b7054aed8cd | 4,022 | compose-icons | MIT License |
app/src/main/kotlin/nz/co/ventegocreative/rgIntegrationSample/detail/DetailViewModel.kt | TheRealAgentK | 338,707,663 | false | null | package nz.co.ventegocreative.rgIntegrationSample.detail
import androidx.databinding.BindingAdapter
import android.widget.ImageView
import com.squareup.picasso.Picasso
import nz.co.ventegocreative.rgIntegrationSample.R
import nz.co.ventegocreative.rgIntegrationSample.data.models.Film
class DetailViewModel(private val... | 0 | Kotlin | 0 | 0 | 7f8e3977f15e6f2b046b84c9a8b7e1fb8a993f68 | 785 | rgIntegrationSample | MIT License |
src/commonMain/kotlin/maryk/rocksdb/BackupInfo.kt | marykdb | 192,168,972 | false | null | package maryk.rocksdb
/**
* Instances of this class describe a Backup made by
* [BackupEngine].
*/
expect class BackupInfo {
/** @return the backup id.*/
fun backupId(): Int
/** @return the timestamp of the backup. */
fun timestamp(): Long
/** @return the size of the backup */
fun size(): ... | 0 | Kotlin | 2 | 7 | f2bed17a8bebbc9c76448205db4ba070073ecc68 | 506 | rocksdb-multiplatform | Apache License 2.0 |
mediator/src/main/kotlin/no/nav/dagpenger/saksbehandling/pdl/PDLKlient.kt | navikt | 571,475,339 | false | {"Kotlin": 135103, "Mustache": 8476, "PLpgSQL": 2764, "HTML": 699, "Dockerfile": 77} | package no.nav.dagpenger.saksbehandling.pdl
interface PDLKlient {
suspend fun erAdressebeskyttet(ident: String): Result<Boolean>
}
| 0 | Kotlin | 0 | 0 | 1f2a649592fc31522c37f8d4fc76630aae838afa | 136 | dp-saksbehandling | MIT License |
app/app/src/main/java/com/example/genshin_wiki/domain/useCase/artifact/GetArtifactUseCase.kt | SlavaPerryAyeKruchkovenko | 600,055,723 | false | null | package com.example.genshin_wiki.domain.useCase.artifact
import com.example.genshin_wiki.data.converters.ArtifactConvert
import com.example.genshin_wiki.domain.interfaces.artifact.IGetArtifactUseCase
import com.example.genshin_wiki.repository.artifact.ArtifactRepository
class GetArtifactUseCase: IGetArtifactUseCase {... | 0 | Kotlin | 0 | 0 | bd98b658211d3a73f12c96a356af3ad95f18ddd4 | 483 | Genshin_Wiki | MIT License |
core/src/com/ore/infinium/HotbarInventoryView.kt | sreich | 28,576,297 | false | null | /**
MIT License
Copyright (c) 2016 Shaun Reich <sreich02@gmail.com>
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, modi... | 13 | null | 18 | 169 | 44167c43ff5328f1721ab258d9721bbc8187a1ef | 13,906 | ore-infinium | MIT License |
app/src/main/kotlin/com/futtetennista/trading/product/WebSocketApi.kt | futtetennista | 113,675,203 | false | null | package com.futtetennista.trading.product
import android.util.Log
import com.squareup.moshi.JsonReader
import com.squareup.moshi.JsonWriter
import io.reactivex.*
import io.reactivex.disposables.CompositeDisposable
import io.reactivex.disposables.Disposable
import io.reactivex.rxkotlin.addTo
import io.reactivex.subject... | 0 | Kotlin | 0 | 1 | 13eb2a67911a9fefa85e64d8f0e8d877b0164bb8 | 14,763 | TradingApp | MIT License |
api/src/test/kotlin/types/StringResolverTest.kt | ITesserakt | 153,517,565 | false | null | package types
import org.junit.jupiter.api.Assertions
import org.junit.jupiter.api.Test
internal class StringResolverTest : ResolverTestTemplate<String>() {
override val resolver: ITypeResolver<String> = StringResolver()
@Test
suspend fun `string, parse to string, Mono(string)`() {
Assertions.ass... | 11 | Kotlin | 4 | 1 | 7db0262ce4a8e007d7127bd142a027d2c42afc3c | 381 | rainbow | MIT License |
app/src/main/java/com/jinbo/newsdemo/DetailsActivity.kt | AuPt666 | 394,197,132 | false | null | package com.jinbo.newsdemo
import android.annotation.SuppressLint
import android.content.Intent
import android.opengl.Visibility
import android.os.Bundle
import android.os.PersistableBundle
import android.util.Log
import android.view.Menu
import android.view.MenuItem
import android.view.View
import android.webkit.WebV... | 0 | Kotlin | 0 | 0 | 896a55fffe64e7b2b7c2ddda6133c1f6ae333f44 | 3,150 | NewsDemo | Apache License 2.0 |
test/src/sharedTest/kotlin/com/moriatsushi/launcher/test/Main.kt | Mori-Atsushi | 524,382,164 | false | null | package com.moriatsushi.launcher.test
import androidx.compose.material.Text
import androidx.compose.runtime.Composable
import com.moriatsushi.launcher.Entry
@Entry(default = true)
@Composable
fun Main() {
Text(text = "Main")
}
| 6 | Kotlin | 5 | 62 | 96a814b2f8915b974b850c150cb8843a02c4669f | 233 | compose-launcher | Apache License 2.0 |
src/main/java/io/javalin/websocket/WsPathMatcher.kt | LevinGermann | 181,950,497 | false | {"Batchfile": 1, "Shell": 1, "Maven POM": 1, "Markdown": 7, "Text": 2, "Ignore List": 1, "EditorConfig": 1, "YAML": 1, "INI": 1, "Java": 51, "Kotlin": 104, "OASv2-yaml": 1, "Fluent": 1, "HTML": 7, "Twig": 2, "Mustache": 1, "JavaScript": 2, "CSS": 1, "Java Properties": 1} | /*
* Javalin - https://javalin.io
* Copyright 2017 David Åse
* Licensed under Apache 2.0: https://github.com/tipsy/javalin/blob/master/LICENSE
*/
package io.javalin.websocket
import io.javalin.core.JavalinConfig
import io.javalin.core.PathParser
import io.javalin.security.Role
import org.eclipse.jetty.websocket.a... | 1 | null | 1 | 1 | d4b578d0aa2214435cc1664a9e397b1254324949 | 4,015 | javalin | Apache License 2.0 |
compose-app/src/main/java/com/ahmadhamwi/tabsync_compose_example/ui/components/ItemCard.kt | Ahmad-Hamwi | 398,466,672 | false | null | package com.ahmadhamwi.tabsync_compose_example.ui.components
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.defaultMinSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.material.Card
import androidx.compose.material.Text
import androidx.compose.... | 0 | Kotlin | 12 | 116 | 292044b3848e5dd95e4813a2f4f96d1190cf02c0 | 1,001 | TabSync | Apache License 2.0 |
app/src/test/java/io/github/tobyhs/weatherweight/test/BaseTestCase.kt | tobyhs | 78,722,921 | false | null | package io.github.tobyhs.weatherweight.test
import org.junit.Rule
import org.mockito.junit.MockitoJUnit
import org.mockito.junit.MockitoRule
import org.mockito.quality.Strictness
/**
* Base abstract test class to hold common hooks
*/
abstract class BaseTestCase {
@get:Rule
var mockito: MockitoRule = Mockit... | 0 | Kotlin | 1 | 7 | d9e8d542d07088a51fa4346aea2c2376efb9df4a | 372 | WeatherWeight | MIT License |
sqiffy/src/main/kotlin/com/dzikoysk/sqiffy/migrator/SqiffyMigrator.kt | dzikoysk | 589,226,903 | false | null | package com.dzikoysk.sqiffy.changelog
import com.dzikoysk.sqiffy.SqiffyDatabase
import com.dzikoysk.sqiffy.dsl.Column
import com.dzikoysk.sqiffy.dsl.Table
import com.dzikoysk.sqiffy.dsl.Values
import com.dzikoysk.sqiffy.dsl.eq
import com.dzikoysk.sqiffy.dsl.generator.ParameterAllocator
import com.dzikoysk.sqiffy.dsl.g... | 9 | null | 1 | 41 | 67093bc13803248ab5b9a54b9bd104d68adee62c | 6,173 | sqiffy | Apache License 2.0 |
library/src/main/java/com/spendesk/grapes/list/simple/SimpleListAdapter.kt | Spendesk | 364,042,096 | false | {"Kotlin": 628975} | package com.spendesk.grapes.list.simple
import android.view.View
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.spendesk.grapes.component.SimpleEntryItemView
import com.spendesk.grapes.component.SimpleSectionItemView
/**
* @author danyboucanova
* @since 12/07/2021
*/
clas... | 1 | Kotlin | 5 | 9 | 3f754ca2312d27f2639c8bb3f8fb906ff515b870 | 2,618 | grapes-android | Apache License 2.0 |
LearnFlow/app/src/main/java/com/example/learnflow/network/NetworkManager.kt | ousmane-diallo-sio | 622,699,791 | false | null | package com.example.learnflow.network
import android.app.Activity
import android.app.AlertDialog
import android.content.Context
import android.content.Intent
import android.net.ConnectivityManager
import android.net.Network
import android.net.NetworkCapabilities
import android.provider.Settings
import android.util.Log... | 0 | Kotlin | 0 | 0 | 2f950a534524e41e9976ca83153ed2ff40b5dfbd | 7,495 | learnflow-app | MIT License |
src/main/kotlin/com/myinstagram/authservice/rest/validation/passwordmatch/PasswordMatchValidator.kt | LucasRDDalMas | 497,399,660 | false | null | package com.myinstagram.authservice.rest.validation.passwordmatch
import com.myinstagram.authservice.rest.request.UserSignUpRequest
import javax.validation.ConstraintValidator
import javax.validation.ConstraintValidatorContext
class PasswordMatchValidator : ConstraintValidator<PasswordMatch, UserSignUpRequest> {
... | 0 | Kotlin | 0 | 0 | 81d06ab21a9b37a91c8f0bccd876ddf086d378ce | 474 | my-instagram-auth-service | MIT License |
app/src/main/java/com/oajstudios/pocketshop/activity/PaymentSuccessfullyActivity.kt | AYOMITIDE-OAJ | 617,064,177 | false | null | package com.oajstudios.pocketshop.activity
import android.os.Bundle
import com.oajstudios.pocketshop.AppBaseActivity
import com.oajstudios.pocketshop.R
import com.oajstudios.pocketshop.models.CreateOrderNotes
import com.oajstudios.pocketshop.models.CreateOrderResponse
import com.oajstudios.pocketshop.utils.BroadcastRe... | 1 | Kotlin | 0 | 10 | 48cf66963987da31392350a9afec1125b9cfa4fa | 2,582 | pocketshop | Apache License 2.0 |
app/src/main/java/com/oajstudios/pocketshop/activity/PaymentSuccessfullyActivity.kt | AYOMITIDE-OAJ | 617,064,177 | false | null | package com.oajstudios.pocketshop.activity
import android.os.Bundle
import com.oajstudios.pocketshop.AppBaseActivity
import com.oajstudios.pocketshop.R
import com.oajstudios.pocketshop.models.CreateOrderNotes
import com.oajstudios.pocketshop.models.CreateOrderResponse
import com.oajstudios.pocketshop.utils.BroadcastRe... | 1 | Kotlin | 0 | 10 | 48cf66963987da31392350a9afec1125b9cfa4fa | 2,582 | pocketshop | Apache License 2.0 |
compose-multiplatform-material3/src/androidxCommonMain/kotlin/com/huanshankeji/compose/material3/ProgressIndicator.androidxCommon.kt | huanshankeji | 570,509,992 | false | {"Kotlin": 346678} | package com.huanshankeji.compose.material3
import androidx.compose.runtime.Composable
import com.huanshankeji.compose.ui.Modifier
import androidx.compose.material3.CircularProgressIndicator as PlatformCircularProgressIndicator
import androidx.compose.material3.LinearProgressIndicator as PlatformLinearProgressIndicator... | 15 | Kotlin | 0 | 16 | 755a2593006cfd9f117793a11efd23f83eecc851 | 927 | compose-multiplatform-material | Apache License 2.0 |
common/src/main/java/io/novafoundation/nova/common/utils/selectionStore/ComputationalCacheSelectionStoreProvider.kt | novasamatech | 415,834,480 | false | {"Kotlin": 11121812, "Rust": 25308, "Java": 17664, "JavaScript": 425} | package io.novafoundation.nova.common.utils.selectionStore
import io.novafoundation.nova.common.data.memory.ComputationalCache
import kotlinx.coroutines.CoroutineScope
abstract class ComputationalCacheSelectionStoreProvider<T : SelectionStore<*>>(
private val computationalCache: ComputationalCache,
private va... | 12 | Kotlin | 30 | 50 | 127f8739ca86dc74d006f018237daed0de5095a1 | 598 | nova-wallet-android | Apache License 2.0 |
wisefy/networkinfo/src/main/kotlin/com/isupatches/android/wisefy/networkinfo/NetworkInfoDelegate.kt | isuPatches | 57,158,628 | false | null | /*
* Copyright 2022 <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... | 19 | null | 38 | 312 | 2d87a8f560c82b6e2447c20304793f3f00087fc3 | 966 | android-wisefy | Apache License 2.0 |
shared/src/commonMain/kotlin/org/noise_planet/noisecapture/shared/child/PermissionScreen.kt | nicolas-f | 716,113,143 | false | {"Kotlin": 263970, "Python": 24672, "Ruby": 1801, "Swift": 631, "HTML": 352, "CSS": 134} | package org.noise_planet.noisecapture.shared.child
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.animateColorAsState
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.PaddingValues
im... | 6 | Kotlin | 0 | 1 | a13ca61afdf9627d1a634662e2d319f12daf0da4 | 7,651 | NoiseCaptureKotlin | Apache License 2.0 |
app/src/main/kotlin/sku/processsor/generator/request/app/Excluded.kt | sku0x20 | 544,182,761 | false | {"Kotlin": 16352} | package sku.processsor.generator.request.app
import sku.processor.generator.request.GenerateRequest
import java.util.*
@GenerateRequest
data class Excluded(
val field1: Int,
var field2: String,
val field3: kotlin.Float,
val date: Date,
@GenerateRequest.Exclude
val excludeThis: Int
) | 0 | Kotlin | 0 | 0 | bc07a4d40b61c169a98eee1604822689dc63b78c | 310 | request-generator | Apache License 2.0 |
src/commonMain/kotlin/data/items/SunGildedShouldercaps.kt | marisa-ashkandi | 332,658,265 | false | null | package `data`.items
import `data`.Constants
import `data`.buffs.Buffs
import `data`.model.Item
import `data`.model.ItemSet
import `data`.model.Socket
import `data`.model.SocketBonus
import character.Buff
import character.Stats
import kotlin.Array
import kotlin.Boolean
import kotlin.Double
import kotlin.Int
import kot... | 21 | Kotlin | 11 | 25 | 9cb6a0e51a650b5d04c63883cb9bf3f64057ce73 | 1,630 | tbcsim | MIT License |
theme/src/main/java/xyz/aprildown/theme/tint/ToolbarTint.kt | onlymash | 182,917,650 | true | {"Kotlin": 103435} | package xyz.aprildown.theme.tint
import android.graphics.PorterDuff
import android.view.Menu
import android.view.MenuItem
import androidx.annotation.ColorInt
import androidx.appcompat.widget.Toolbar
import xyz.aprildown.theme.utils.tint
internal class ToolbarTint private constructor() {
init {
throw Ille... | 0 | Kotlin | 0 | 0 | f74d9517052c9c1d631a16bde58179a45ebbad31 | 2,310 | Theme | Apache License 2.0 |
Client/core/src/main/java/com/t3ddyss/core/util/Log.kt | t3ddyss | 337,083,750 | false | null | package com.t3ddyss.core.util
import android.util.Log
private const val DEBUG_TAG = "ClotherLogs"
fun log(message: String, tag: String = DEBUG_TAG) {
Log.d(tag, message)
} | 0 | Kotlin | 1 | 23 | a2439707002e0086de09bf37c3d10e7c8cf9f060 | 178 | Clother | MIT License |
network/core/src/commonMain/kotlin/co/yml/network/core/engine/network/NetworkEngine.kt | yml-org | 504,124,065 | false | null | package co.yml.network.core.engine.network
import co.yml.network.core.Resource
import co.yml.network.core.engine.network.config.NetworkEngineConfiguration
import co.yml.network.core.request.DataRequest
import co.yml.network.core.response.DataResponse
import kotlinx.coroutines.flow.Flow
/**
* This class/interface is ... | 1 | Kotlin | 2 | 5 | 2b5162b3e687d81546d9c7ce7a666b3a2b6df889 | 926 | ynetwork-android | Apache License 2.0 |
extender-api/src/main/kotlin/info/pzss/zomboid/extender/api/event/api.kt | pz-extender | 442,668,863 | false | {"Kotlin": 28949} | package info.pzss.zomboid.extender.api.event
typealias EventCtx = ZomboidScriptEventRegistrationContext
typealias EventHandler<T> = T.() -> Unit
inline fun <reified T : ZomboidScriptEvent> EventCtx.eventHandlerFactory(): (EventHandler<T>) -> Unit = ::event
| 12 | Kotlin | 1 | 4 | 1dea9e88e46debc5adedce88ae6cd37c810b71ba | 259 | extender | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.