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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/BroadcastOff.kt | walter-juan | 868,046,028 | false | null | package com.woowla.compose.icon.collections.tabler.tabler.outline
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
im... | 0 | null | 0 | 3 | eca6c73337093fbbfbb88546a88d4546482cfffc | 2,978 | compose-icon-collections | MIT License |
src/test/kotlin/no/digdir/servicecatalog/integration/RDF.kt | Informasjonsforvaltning | 706,104,096 | false | {"Kotlin": 67014, "Dockerfile": 208} | package no.digdir.servicecatalog.integration
import no.digdir.servicecatalog.utils.ApiTestContext
import no.digdir.servicecatalog.utils.TestResponseReader
import no.digdir.servicecatalog.utils.apiAuthorizedRequest
import org.apache.jena.rdf.model.ModelFactory
import org.apache.jena.riot.Lang
import org.junit.jupiter.a... | 4 | Kotlin | 0 | 0 | e016d5db1087c15b488ebf0f0b4f10483d99682b | 5,785 | service-catalog | Apache License 2.0 |
app/src/main/java/cc/sovellus/vrcaa/ui/screen/login/MfaScreen.kt | Nyabsi | 745,635,224 | false | null | package cc.sovellus.vrcaa.ui.screen.login
import android.content.ClipboardManager
import android.content.Context
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxHeight
import androidx.compose.foundation.layout.heigh... | 1 | null | 3 | 38 | b45497cd686df2583ceb7b9cdefdd7ac2ee39b14 | 3,979 | VRCAA | Apache License 2.0 |
core/src/com/mygdx/game/FileHandler.kt | freddyblockchain | 791,340,797 | false | {"Kotlin": 132447, "OpenEdge ABL": 2029, "Java": 835} | package com.mygdx.game
import com.badlogic.gdx.Gdx
import com.badlogic.gdx.files.FileHandle
import java.io.BufferedWriter
import java.io.File
class FileHandler {
companion object{
var handle = Gdx.files.internal("SaveFiles/CurrentSave")
private val file: File = handle.file()
private latein... | 0 | Kotlin | 0 | 0 | fe938937d9758116ee4cdea24b32ae2149201ee7 | 1,045 | Elemental-Brawl-Online | The Unlicense |
compiler/fir/resolve/src/org/jetbrains/kotlin/fir/scopes/impl/FirClassUseSiteMemberScope.kt | android | 263,405,600 | false | null | /*
* Copyright 2010-2019 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.fir.scopes.impl
import org.jetbrains.kotlin.fir.FirSession
import org.jetbrains.... | 1 | null | 37 | 316 | 74126637a097f5e6b099a7b7a4263468ecfda144 | 1,330 | kotlin | Apache License 2.0 |
ktor-server/ktor-server-core/jvm/src/io/ktor/util/Parameters.kt | jakobkmar | 323,173,348 | true | {"Kotlin": 5039593, "Python": 948, "JavaScript": 775, "HTML": 165} | /*
* Copyright 2014-2020 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
package io.ktor.util
import io.ktor.features.*
import io.ktor.http.*
import java.lang.reflect.*
import kotlin.reflect.*
import kotlin.reflect.full.*
import kotlin.reflect.jvm.*
/**
* Operat... | 0 | Kotlin | 0 | 7 | ea35658a05cc085b97297a303a7c0de37efe0024 | 2,212 | ktor | Apache License 2.0 |
app/src/main/java/com/apiguave/tinderclonecompose/data/profile/repository/ProfileRepository.kt | alejandro-piguave | 567,907,964 | false | {"Kotlin": 190150, "Java": 427} | package com.apiguave.tinderclonecompose.data.profile.repository
import com.apiguave.tinderclonecompose.data.picture.repository.Picture
interface ProfileRepository {
suspend fun createProfile(profile: CreateUserProfile)
suspend fun createProfile(userId: String, profile: CreateUserProfile)
suspend fun updat... | 1 | Kotlin | 7 | 21 | f30af595c58dea07ca329b70289d1e45a2b19a98 | 465 | TinderCloneCompose | MIT License |
nugu-android-helper/src/main/java/com/skt/nugu/sdk/external/silvertray/NuguOpusPlayer.kt | nugu-developers | 214,067,023 | false | null | /**
* Copyright (c) 2019 SK Telecom Co., Ltd. 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 requir... | 3 | null | 18 | 27 | 53ebf6b8b17afeff6fdb3a8741f345f2fbe0d649 | 5,342 | nugu-android | Apache License 2.0 |
save-frontend/src/main/kotlin/com/saveourtool/save/frontend/components/basic/projects/ProjectSecurityMenu.kt | saveourtool | 300,279,336 | false | null | @file:Suppress(
"FILE_NAME_MATCH_CLASS",
"HEADER_MISSING_IN_NON_SINGLE_CLASS_FILE",
)
package com.saveourtool.save.frontend.components.basic.projects
import com.saveourtool.save.entities.ProjectDto
import com.saveourtool.save.entities.ProjectProblemDto
import com.saveourtool.save.filters.ProjectProblemFilter
... | 202 | null | 3 | 38 | 9d11f7c01c65905f968fba82b9ca5a9f52af88a8 | 7,203 | save-cloud | MIT License |
sample-app/src/main/java/com/joinforage/android/example/network/model/PaymentResponse.kt | teamforage | 554,343,430 | false | null | package com.joinforage.android.example.network.model
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
@JsonClass(generateAdapter = true)
data class PaymentResponse(
@Json(name = "ref")
var ref: String?,
@Json(name = "merchant")
var merchant: String?,
@Json(name = "funding_type")
... | 6 | Kotlin | 0 | 0 | f430751747f0e8887ab6ca218c8db92a7552d1ef | 959 | forage-android-sdk | MIT License |
src/jsMain/kotlin/sicher/model.kt | SkDeWw | 328,365,535 | false | null | package sicher
import dev.fritz2.lenses.Lens
import dev.fritz2.lenses.buildLens
// import dev.fritz2.styling.theme.IconDefinition
/* TEST */
data class Names(
val id: Int,
val text: String
)
/* End */
data class NavIndex(
var index: Int = 0
)
data class QuestionnaireData(
val user: User = User(),
... | 0 | Kotlin | 0 | 0 | 5be52a08d19dac16b3de2bcc563eb89042f3b067 | 11,486 | test | MIT License |
lce-data/src/main/java/at/florianschuster/data/lce/DataFlowBuilder.kt | floschu | 215,345,549 | false | null | package at.florianschuster.data.lce
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.flow
/**
* Evaluates the suspending [block] and creates [Data.Success] or [Data.Failure] depending
* on the outcome.
*/
suspend inline fun <T> dataOf(
crossinline block: suspend () -> T
): Data<T> = try {
... | 0 | Kotlin | 1 | 2 | 0aa21d6d3e04cf22f0414def5487c8384b8ee595 | 664 | lce-data | Apache License 2.0 |
app/src/main/java/de/dhbw/mensaapp/database/menu/Menu.kt | SteveBinary | 621,552,225 | false | null | package de.dhbw.mensaapp.database.menu
import androidx.room.*
import kotlin.random.Random
import kotlin.random.nextLong
@Entity(tableName = "menu")
data class MenuEntity(
val menuId: String,
val name: String,
val subTitle: String,
val priceUnit: String,
val priceStudent: Float,
val priceEmplo... | 0 | Kotlin | 0 | 1 | 5e581880c96c54b0b20b2bb85e0c13c46157a822 | 714 | mensa-app | MIT License |
app/src/test/java/com/github/grishberg/profiler/NoOpLogger.kt | Grigory-Rylov | 256,819,360 | false | null | package com.github.grishberg.profiler
import com.github.grishberg.profiler.common.AppLogger
object NoOpLogger : AppLogger {
override fun d(msg: String) = Unit
override fun e(msg: String) = Unit
override fun e(msg: String, t: Throwable) = Unit
override fun w(msg: String) = Unit
override fun i(ms... | 19 | Kotlin | 3 | 97 | e0ba609640cea72c301ff1537dc9cdd9b67bfe4c | 340 | android-methods-profiler | Apache License 2.0 |
xml/impl/src/com/intellij/application/options/XmlCodeCompletionConfigurable.kt | ingokegel | 72,937,917 | true | null | package com.intellij.application.options
import com.intellij.openapi.options.Configurable
import com.intellij.openapi.options.UiDslUnnamedConfigurable
import com.intellij.ui.dsl.builder.Panel
import com.intellij.ui.dsl.builder.bindSelected
import com.intellij.xml.XmlBundle
class XmlCodeCompletionConfigurable : UiDslU... | 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 931 | intellij-community | Apache License 2.0 |
server/src/main/kotlin/net/horizonsend/ion/server/features/sidebar/command/SidebarCommand.kt | HorizonsEndMC | 461,042,096 | false | {"Kotlin": 2629890, "Java": 13759, "Shell": 1414, "JavaScript": 78} | package net.horizonsend.ion.server.features.sidebar.command
import co.aikar.commands.annotation.CommandAlias
import co.aikar.commands.annotation.Default
import co.aikar.commands.annotation.Optional
import net.horizonsend.ion.common.utils.text.colors.HEColorScheme.Companion.HE_LIGHT_ORANGE
import net.horizonsend.ion.co... | 16 | Kotlin | 26 | 9 | 4887e1d25ed39f3fad9b6ab91eb125648797889b | 8,216 | Ion | MIT License |
tmp/arrays/youTrackTests/4688.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-30244
fun decodeValue(value: String) =
when (value) {
"F" -> String::toFloat
"B" -> String::toBoolean
else -> TODO()
}
| 1 | null | 12 | 1 | 602285ec60b01eee473dcb0b08ce497b1c254983 | 192 | bbfgradle | Apache License 2.0 |
wire-runtime/src/commonMain/kotlin/com/squareup/wire/internal/-Platform.kt | square | 12,274,147 | false | null | /*
* Copyright (C) 2019 Square, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | 150 | null | 600 | 4,229 | b5782414ea6ed71d635b22580c40e35123960611 | 1,938 | wire | Apache License 2.0 |
superwall/src/main/java/com/superwall/sdk/paywall/presentation/internal/request/PresentationInfo.kt | superwall | 642,585,064 | false | {"Kotlin": 1190760} | package com.superwall.sdk.paywall.presentation.internal.request
import com.superwall.sdk.models.events.EventData
// EventData should be defined in Kotlin before this.
// Assuming it is defined, and it contains a property 'name'
sealed class PresentationInfo {
data class ImplicitTrigger(
override val even... | 6 | Kotlin | 3 | 9 | 2582de8d48af7c0ad080e30949d920e8a34d9219 | 1,404 | Superwall-Android | MIT License |
src/main/kotlin/xyz/gnarbot/gnar/Credentials.kt | nutspanther | 123,030,514 | true | {"Gradle": 2, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "Java Properties": 1, "Java": 68, "Kotlin": 56, "XML": 1} | package xyz.gnarbot.gnar
import ninja.leaping.configurate.commented.CommentedConfigurationNode
import ninja.leaping.configurate.hocon.HoconConfigurationLoader
import ninja.leaping.configurate.loader.ConfigurationLoader
import okhttp3.Request
import org.json.JSONObject
import org.json.JSONTokener
import xyz.gnarbot.gna... | 0 | Kotlin | 0 | 0 | d0cbb9df60a12473378e0a8f9c4f49f993a8ad54 | 2,238 | Music-Bot | MIT License |
data/RF02343/rnartist.kts | fjossinet | 449,239,232 | false | {"Kotlin": 8214424} | import io.github.fjossinet.rnartist.core.*
rnartist {
ss {
rfam {
id = "RF02343"
name = "consensus"
use alignment numbering
}
}
theme {
details {
value = 3
}
color {
location {
3 to 6... | 0 | Kotlin | 0 | 0 | 3016050675602d506a0e308f07d071abf1524b67 | 3,004 | Rfam-for-RNArtist | MIT License |
idea/src/org/jetbrains/kotlin/idea/quickfix/RemoveWhenBranchFix.kt | JetBrains | 278,369,660 | false | null | /*
* Copyright 2010-2017 JetBrains s.r.o.
*
* 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... | 0 | Kotlin | 30 | 82 | cc81d7505bc3e9ad503d706998ae8026c067e838 | 2,024 | intellij-kotlin | Apache License 2.0 |
glfw/src/main/kotlin/imgui/impl/glfw/ImplGlfw.kt | kotlin-graphics | 59,469,938 | false | null | package imgui.impl.glfw
import glm_.b
import glm_.c
import glm_.f
import glm_.vec2.Vec2
import glm_.vec2.Vec2d
import glm_.vec2.Vec2i
import imgui.*
import imgui.ImGui.io
import imgui.ImGui.mouseCursor
import imgui.Key
import imgui.api.g
import imgui.impl.*
import imgui.windowsIme.imeListener
import kool.cap
import ko... | 23 | null | 34 | 531 | 0091e9b297eb940cd91a78bb71c3036bb4463269 | 12,571 | imgui | MIT License |
kt/godot-library/src/main/kotlin/godot/gen/godot/TextureButton.kt | utopia-rise | 289,462,532 | false | null | // THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY!
@file:Suppress("PackageDirectoryMismatch", "unused", "FunctionName", "RedundantModalityModifier",
"UNCHECKED_CAST", "JoinDeclarationAndAssignment", "USELESS_CAST",
"RemoveRedundantQualifierName", "NOTHING_TO_INLINE", "NON_FINAL_MEMBER_IN_OBJECT",
"Redundan... | 60 | null | 28 | 412 | fe7379a450ed32ad069f3b672709a2520b86f092 | 9,195 | godot-kotlin-jvm | MIT License |
src/jsMain/kotlin/mapbox/Declarations.kt | dellisd | 597,549,419 | false | null | package mapbox
typealias quat = Array<Number>
typealias vec3 = Array<Number>
typealias TransformRequestFunction = (url: String, resourceType: String /* "Unknown" | "Style" | "Source" | "Tile" | "Glyphs" | "SpriteImage" | "SpriteJSON" | "Image" */) -> RequestParameters
typealias ExpressionSpecification = Array<Any>
... | 0 | Kotlin | 1 | 1 | 0393b3eae4f14cb9c6579d2092f047734ce200c6 | 367 | compose-web-mapbox | MIT License |
xmlschema/src/commonMain/kotlin/io/github/pdvrieze/formats/xmlschema/resolved/SyntheticSequence.kt | pdvrieze | 143,553,364 | false | {"Kotlin": 3481762} | /*
* Copyright (c) 2023.
*
* This file is part of xmlutil.
*
* This file is licenced to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You should have received a copy of the license with the source distribution.
* Alternatively, y... | 35 | Kotlin | 31 | 378 | c4053519a8b6c90af9e1683a5fe0e9e2b2c0db79 | 1,803 | xmlutil | Apache License 2.0 |
src/nl/hannahsten/texifyidea/lang/commands/LatexRegularCommand.kt | Hannah-Sten | 62,398,769 | false | null | package nl.hannahsten.texifyidea.lang.commands
/**
* @author <NAME>, <NAME>
*/
object LatexRegularCommand {
val GENERIC: Set<LatexCommand> = LatexGenericRegularCommand.values().toSet()
val TEXTCOMP: Set<LatexCommand> = LatexTextcompCommand.values().toSet()
val EURO: Set<LatexCommand> = LatexEuroCommand.... | 4 | Kotlin | 60 | 640 | 897da43f3815432e9b3b307a8af8be74e7a50895 | 2,092 | TeXiFy-IDEA | MIT License |
app/src/main/kotlin/com/simplemobiletools/notes/activities/MainActivity.kt | robbinhan | 150,848,366 | false | null | package com.simplemobiletools.notes.activities
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import android.support.v4.view.ViewPager
import android.text.method.ArrowKeyMovementMethod
import android.text.method.LinkMovementMethod
import android.util.Log
import android.util.TypedValue
im... | 0 | null | 0 | 1 | 4bb1db7c50b07149dc8b5c7e7edd37bbbd9df238 | 21,962 | Simple-Notes | Apache License 2.0 |
platform/lang-impl/src/com/intellij/codeInspection/ex/ApplicationInspectionProfileManager.kt | ingokegel | 284,920,751 | 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 com.intellij.codeInspection.ex
import com.intellij.codeHighlighting.HighlightDisplayLevel
import com.intellij.codeInsight.daemon.InspectionProfileConvertor
import com.int... | 284 | null | 5162 | 2 | dc846ecb926c9d9589c1ed8a40fdb20e47874db9 | 4,498 | intellij-community | Apache License 2.0 |
idea/src/org/jetbrains/kotlin/idea/PluginStartupService.kt | JetBrains | 278,369,660 | false | null | /*
* Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.idea
import com.intellij.openapi.Disposable
import com.intellij.openapi.componen... | 0 | null | 30 | 82 | cc81d7505bc3e9ad503d706998ae8026c067e838 | 2,087 | intellij-kotlin | Apache License 2.0 |
libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/resources/testProject/new-mpp-parallel/src/commonMain/kotlin/A.kt | damenez | 176,209,431 | true | {"Markdown": 56, "Gradle": 497, "Gradle Kotlin DSL": 215, "Java Properties": 12, "Shell": 11, "Ignore List": 10, "Batchfile": 9, "Git Attributes": 1, "Protocol Buffer": 12, "Java": 5238, "Kotlin": 43905, "Proguard": 7, "XML": 1594, "Text": 9172, "JavaScript": 239, "JAR Manifest": 2, "Roff": 209, "Roff Manpage": 34, "IN... | /*
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the license/LICENSE.txt file.
*/
package common
class A(val x: Int)
| 0 | Kotlin | 0 | 2 | 9a2178d96bd736c67ba914b0f595e42d1bba374d | 201 | kotlin | Apache License 2.0 |
modules/jooby-openapi/src/test/kotlin/kt/KtRouteImport.kt | jooby-project | 25,446,835 | false | null | package kt
import examples.RouteA
import io.jooby.Kooby
import io.jooby.require
class KtRouteImport : Kooby({
use(RouteA())
path("/main") {
use(RouteA())
use("/submain", RouteA())
}
use(RouteA())
use("/require", require(RouteA::class))
use("/subroute", RouteA())
})
| 51 | null | 175 | 1,439 | 1a0252d5dac7d3730f3e7017008c65a9ae4e5dd3 | 291 | jooby | Apache License 2.0 |
moove/application/src/main/kotlin/io/charlescd/moove/application/build/response/ComponentResponse.kt | ZupIT | 249,519,503 | false | null | /*
* 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... | 93 | TypeScript | 76 | 343 | a65319e3712dba1612731b44346100e89cd26a60 | 1,786 | charlescd | Apache License 2.0 |
sourceamazing-schema/src/test/kotlin/org/codeblessing/sourceamazing/schema/util/EnumUtilTest.kt | code-blessing | 695,574,460 | false | {"Kotlin": 659707} | package org.codeblessing.sourceamazing.schema.util
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Assertions.assertFalse
import org.junit.jupiter.api.Assertions.assertNull
import org.junit.jupiter.api.Assertions.assertTrue
import org.junit.jupiter.api.Test
class EnumUtilTest {
... | 3 | Kotlin | 0 | 1 | 784e827214308144c22639946c34b99b6b591a8a | 2,426 | sourceamazing | MIT License |
anti_swindle/src/main/kotlin/com/magina/antiswindle/AntiSwindleApplication.kt | dongzhixuanyuan | 306,818,640 | false | null | package com.magina.antiswindle
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity
@SpringBootApplication
class AntiSwindleApplication
fun main(args: Array<String>)... | 0 | Kotlin | 0 | 0 | 923a2495bf4fa9d20d5db4c369f275b74f1172f8 | 375 | server_learning_project | Apache License 2.0 |
app/src/main/java/io/redgreen/benchpress/hellostranger/HelloStrangerActivity.kt | kkrishna001 | 440,793,337 | false | null | package io.redgreen.benchpress.hellostranger
import android.annotation.SuppressLint
import android.content.Context
import android.content.Intent
import com.spotify.mobius.Next
import io.reactivex.ObservableTransformer
import io.redgreen.benchpress.architecture.BaseActivity
import kotlinx.android.synthetic.main.hello_s... | 0 | Kotlin | 0 | 0 | 6e669c813cd4090a4f78cc9b59db56ad32515a53 | 2,560 | MYBENCHPRESS | Apache License 2.0 |
protoc-gen-kroto-plus/src/main/kotlin/com/github/marcoferrer/krotoplus/generators/builders/UnaryStubExtsBuilder.kt | marcoferrer | 124,468,545 | false | null | /*
* Copyright 2019 Kroto+ Contributors
*
* 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 ag... | 32 | Kotlin | 27 | 486 | 2b0b447d47f14da93b536ef238b379eb4cc6075c | 9,705 | kroto-plus | Apache License 2.0 |
reposilite-backend/src/main/kotlin/com/reposilite/console/infrastructure/ConsoleWebSocketHandler.kt | dzikoysk | 96,474,388 | false | null | /*
* Copyright (c) 2022 dzikoysk
*
* 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... | 27 | null | 85 | 631 | a4ad03ca8e060282308c1e9b63c454171cded47e | 4,692 | reposilite | Apache License 2.0 |
app/src/main/java/com/gmail/fattazzo/meteo/activity/stazioni/meteo/StazioniMeteoViewModel.kt | fattazzo | 182,333,126 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 2, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "XML": 278, "Kotlin": 219, "Java": 1, "JSON": 4} | /*
* Project: meteo
* File: StazioniMeteoViewModel.kt
*
* Created by fattazzo
* Copyright © 2019 <NAME>. All rights reserved.
*
* MIT License
* 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 ... | 1 | null | 1 | 1 | 8345a9a1b0d0dcb87922262c1691cd6ec8d058fc | 3,257 | meteo | MIT License |
advent-of-code2016/src/main/kotlin/day20/Advent20.kt | REDNBLACK | 128,669,137 | false | {"Text": 41, "Ignore List": 1, "Markdown": 6, "Kotlin": 167, "Scala": 64, "INI": 2, "XML": 49, "HTML": 43, "Java": 3} | package day20
import parseInput
import splitToLines
import java.util.stream.LongStream
/**
--- Day 20: Firewall Rules ---
You'd like to set up a small hidden computer here so you can use it to get back into the network later. However, the corporate firewall only allows communication with certain external IP addresse... | 0 | Kotlin | 0 | 0 | e282d1f0fd0b973e4b701c8c2af1dbf4f4a149c7 | 2,121 | courses | MIT License |
modules/meta/arrow-meta/src/test/resources/arrow/ap/objects/iso/Iso.kt | Krishan14sharma | 183,217,828 | true | {"Kotlin": 2391225, "CSS": 152663, "JavaScript": 67900, "HTML": 23177, "Java": 4465, "Shell": 3043, "Ruby": 1598} | package `arrow`.`ap`.`objects`.`iso`
inline val `arrow`.`ap`.`objects`.`iso`.`Iso`.Companion.iso: arrow.optics.Iso<`arrow`.`ap`.`objects`.`iso`.`Iso`, arrow.core.Tuple3<`kotlin`.`String`, `kotlin`.`String`?, `arrow`.`core`.`Option`<`kotlin`.`String`>>> get()= arrow.optics.Iso(
get = { iso: `arrow`.`ap`.`object... | 0 | Kotlin | 0 | 1 | 2b26976e1a8fbf29b7a3786074d56612440692a8 | 602 | arrow | Apache License 2.0 |
android/app/src/main/java/com/emergetools/hackernews/features/bookmarks/BookmarksScreen.kt | EmergeTools | 682,684,464 | false | {"Kotlin": 174590, "Swift": 30430, "Ruby": 5422} | package com.emergetools.hackernews.features.bookmarks
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.... | 3 | Kotlin | 8 | 72 | 2cc224a3ee355f4b0044bbae74b20b6a3f820dd7 | 5,909 | hackernews | MIT License |
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/BuildingPavilion.kt | walter-juan | 868,046,028 | false | {"Kotlin": 34345428} | package com.woowla.compose.icon.collections.tabler.tabler.outline
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
im... | 0 | Kotlin | 0 | 3 | eca6c73337093fbbfbb88546a88d4546482cfffc | 3,159 | compose-icon-collections | MIT License |
backend/src/main/kotlin/de/debuglevel/walkingdinner/backend/cli/Main.kt | debuglevel | 133,810,544 | false | null | //package de.debuglevel.walkingdinner.cli
//
//import com.github.ajalt.clikt.core.CliktCommand
//import com.github.ajalt.clikt.parameters.options.option
//import de.debuglevel.walkingdinner.rest.common.TimeMeasurement
//import de.debuglevel.walkingdinner.backend.BuildVersion
//import de.debuglevel.walkingdinner.backend... | 36 | Kotlin | 0 | 0 | 2ddc1054723e79282320eb5aa950dcfe50f407ef | 4,008 | walkingdinner-geneticplanner | The Unlicense |
app/src/main/java/com/example/android/todoapp/navigation/intro/IntroNavGraph.kt | dvird | 728,990,328 | false | {"Kotlin": 206364, "Java": 231} | package com.example.android.todoapp.navigation.intro
import androidx.compose.material.DrawerState
import androidx.compose.ui.Modifier
import androidx.navigation.NavGraphBuilder
import androidx.navigation.NavHostController
import androidx.navigation.compose.composable
import com.example.android.todoapp.module.intro.log... | 0 | Kotlin | 0 | 5 | 2b98923152268462337ded16468239e01e4d2467 | 918 | android-template-starter | MIT License |
data/src/test/java/com/mariomanzano/nasaexplorer/repositories/DailyEarthRepositoryTest.kt | MarioManzanoCulebras | 463,844,402 | false | null | package com.mariomanzano.nasaexplorer.repositories
import arrow.core.right
import com.devexperto.architectcoders.testshared.sampleEarth
import com.mariomanzano.domain.Error
import com.mariomanzano.domain.entities.EarthItem
import com.mariomanzano.nasaexplorer.datasource.EarthLocalDataSource
import com.mariomanzano.nas... | 50 | Kotlin | 0 | 3 | 9c9d2475aabc7f106446cc7f65b390d5b4903530 | 3,565 | Nasa-Explorer | Apache License 2.0 |
python/testSrc/com/jetbrains/python/console/PydevConsoleRunnerUtilTest.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.
package com.jetbrains.python.console
import com.intellij.execution.Platform
import com.intellij.execution.target.*
import com.intellij.execution.target.value.TargetValue
import com.intellij.executio... | 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 3,217 | intellij-community | Apache License 2.0 |
app/src/main/java/me/rosuh/easywatermark/ui/dialog/ChangeLogDialogFragment.kt | edgargithub | 293,069,553 | true | {"Kotlin": 160264} | package me.rosuh.easywatermark.ui.dialog
import android.content.Context
import android.content.DialogInterface
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.core.content.edit
import androidx.fragment.app... | 0 | Kotlin | 0 | 0 | ab153a937824d9a3ff0fa7f5d54b2755a09b7b06 | 3,278 | EasyWatermark | MIT License |
yabapi-core/src/commonMain/kotlin/moe/sdl/yabapi/data/live/commands/SendGiftCmd.kt | SDLMoe | 437,756,989 | false | null | @file:UseSerializers(BooleanJsSerializer::class)
package moe.sdl.yabapi.data.live.commands
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import kotlinx.serialization.UseSerializers
import kotlinx.serialization.json.Json
import kotlinx.serialization.json.JsonElement
import kotlinx.s... | 0 | null | 1 | 26 | c8be46f9b5e4db1e429c33b0821643fd94789fa1 | 6,002 | Yabapi | Creative Commons Zero v1.0 Universal |
android/app/src/main/java/com/utn/frba/mobile/regalapp/joinEvent/JoinEventFragment.kt | UTN-FRBA-Mobile | 542,387,698 | false | null | package com.utn.frba.mobile.regalapp.joinEvent
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material.CircularProgressIndicat... | 0 | Kotlin | 0 | 1 | 2addb3960108d9baab9a12eaeb1c4bdcc8e7e4c9 | 5,313 | RegalApp | MIT License |
module-base/src/main/java/win/techflowing/android/base/runtime/AppRuntimeInit.kt | techflowing | 500,921,879 | false | null | package win.techflowing.android.base.runtime
import android.app.Application
object AppRuntimeInit {
@JvmStatic
fun init(application: Application, debug: Boolean) {
AppRuntime.init(application, debug)
}
} | 0 | Kotlin | 0 | 0 | 3de479a53425f1fe97470ceb71547bfd48c8fce0 | 226 | Universe | Apache License 2.0 |
core/src/main/kotlin/org/neo4j/graphql/handler/QueryHandler.kt | neo4j-graphql | 147,095,795 | false | null | package org.neo4j.graphql.handler
import graphql.language.*
import graphql.schema.DataFetcher
import graphql.schema.DataFetchingEnvironment
import graphql.schema.idl.TypeDefinitionRegistry
import org.atteo.evo.inflector.English
import org.neo4j.cypherdsl.core.Cypher.*
import org.neo4j.cypherdsl.core.Statement
import o... | 62 | null | 50 | 99 | 43633def77e1fe6a6b42152fc099b04e9747fa8b | 5,939 | neo4j-graphql-java | Apache License 2.0 |
src/main/kotlin/edu/csh/chase/aggregations/expressions/Constant.kt | chaseberry | 119,105,770 | false | null | package edu.csh.chase.aggregations.expressions
/**
* Used for things like
* $project: {
* _id: 1
* }
*/
class Constant(val constant: Any?) : Expression() | 0 | Kotlin | 0 | 0 | 9ffb0520d7e6aed84e48c4022337dfe11a9ead2a | 160 | Aggregations | MIT License |
app/src/main/java/com/example/legostore_kt/api/APIService.kt | proyeckt | 583,807,261 | false | null | package com.example.legostore_kt.api
import retrofit2.Response
import retrofit2.http.GET
import retrofit2.http.POST
interface APIService {
@GET("all-products")
suspend fun getProducts() : Response<ProductsResponse>
//fun getProducts() : Call<List<Product>>
//@GET("detail/{id}")
//fun getProductBy... | 0 | Kotlin | 0 | 0 | b6880ea524d4ba1b4c1ac8f54c7f0527b56df236 | 431 | lego-store-kt | Apache License 2.0 |
NewsApp/app/src/main/java/com/mustk/newsapp/util/RetrofitErrorHandler.kt | mustafakamber | 804,916,194 | false | {"Kotlin": 164466} | package com.mustk.newsapp.util
import android.content.Context
import com.mustk.newsapp.R
import com.mustk.newsapp.shared.Constant.STATUS_CODE_400
import com.mustk.newsapp.shared.Constant.STATUS_CODE_401
import com.mustk.newsapp.shared.Constant.STATUS_CODE_403
import com.mustk.newsapp.shared.Constant.STATUS_CODE_404
im... | 0 | Kotlin | 0 | 0 | ae635d1614706b1f0f35ca0554f57a4f7d0e98b6 | 1,667 | NewsApp | Apache License 2.0 |
pom-application/app/src/main/java/net/dzikoysk/presenceofmind/model/task/reminder/EventReminderReceiver.kt | dzikoysk | 487,407,030 | false | {"Kotlin": 181237} | package net.dzikoysk.presenceofmind.model.task.reminder
import android.app.AlarmManager
import android.app.NotificationChannel
import android.app.NotificationManager
import android.app.NotificationManager.IMPORTANCE_HIGH
import android.app.PendingIntent
import android.app.PendingIntent.FLAG_CANCEL_CURRENT
import andro... | 8 | Kotlin | 5 | 27 | 106597d558bc6b4575c3e050428bce768a6f265f | 5,715 | presence-of-mind | Apache License 2.0 |
app/src/main/java/pl/better/foodzilla/data/repositories/recipe/FavouriteAndRecentRecipesRepositoryImpl.kt | kambed | 612,140,416 | false | null | package pl.better.foodzilla.data.repositories.recipe
import pl.better.foodzilla.data.api.recipe.FavouriteAndRecentRecipesFlowClient
import pl.better.foodzilla.data.models.recipe.Recipe
class FavouriteAndRecentRecipesRepositoryImpl(private val favouriteRecipeFlowClient: FavouriteAndRecentRecipesFlowClient) :
Favou... | 1 | Kotlin | 0 | 3 | 94a8993b3aefc6271cea6ffd95546cb8c02802f4 | 951 | FoodzillaFrontendAndroid | Apache License 2.0 |
platform/testFramework/src/com/intellij/testFramework/LightPlatform4TestCase.kt | hieuprogrammer | 284,920,751 | 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 com.intellij.testFramework
import org.junit.runner.RunWith
import org.junit.runners.JUnit4
@RunWith(JUnit4::class)
abstract class LightPlatform4TestCase : LightPlatformT... | 1 | null | 1 | 2 | dc846ecb926c9d9589c1ed8a40fdb20e47874db9 | 330 | intellij-community | Apache License 2.0 |
analytics/src/main/java/io/appmetrica/analytics/impl/component/processor/event/ReportPrevSessionNativeCrashHandler.kt | appmetrica | 650,662,094 | false | null | package io.appmetrica.analytics.impl.component.processor.event
import io.appmetrica.analytics.impl.CounterReport
import io.appmetrica.analytics.impl.component.ComponentUnit
class ReportPrevSessionNativeCrashHandler(component: ComponentUnit) : ReportComponentHandler(component) {
override fun process(reportData: Co... | 1 | null | 5 | 54 | 472d3dfb1e09f4e7f35497e5049f53287ccce7d1 | 439 | appmetrica-sdk-android | MIT License |
app/src/main/java/vn/loitp/a/cv/sb/vertical/VerticalSeekbarActivityFont.kt | tplloi | 126,578,283 | false | null | package vn.loitp.a.cv.sb.vertical
import android.os.Bundle
import android.widget.SeekBar
import com.loitp.annotation.IsFullScreen
import com.loitp.annotation.LogTag
import com.loitp.core.base.BaseActivityFont
import com.loitp.core.ext.setSafeOnClickListenerElastic
import kotlinx.android.synthetic.main.a_sb_vert.*
impo... | 0 | Kotlin | 0 | 10 | 333bebaf3287b1633f35d29b8adaf25b19c1859f | 1,734 | base | Apache License 2.0 |
app/src/main/java/ru/rznnike/eyehealthmanager/app/di/GatewayModule.kt | RznNike | 207,148,781 | false | null | package ru.rznnike.eyehealthmanager.app.di
import org.koin.dsl.module
import ru.rznnike.eyehealthmanager.data.gateway.AnalysisGatewayImpl
import ru.rznnike.eyehealthmanager.data.gateway.DevGatewayImpl
import ru.rznnike.eyehealthmanager.data.gateway.NotificationGatewayImpl
import ru.rznnike.eyehealthmanager.data.gatewa... | 0 | null | 1 | 5 | ea21e191ea3d6797be32f7f5e66e8e0ebae30ab6 | 1,034 | EyeHealthManager | MIT License |
simplecloud-base/src/main/kotlin/eu/thesimplecloud/base/manager/update/converter/VersionConversionManager.kt | theSimpleCloud | 270,085,977 | false | null | /*
* MIT License
*
* Copyright (C) 2020-2022 The SimpleCloud authors
*
* 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 u... | 8 | null | 49 | 98 | 8f10768e2be523e9b2e7c170965ca4f52a99bf09 | 3,928 | SimpleCloud | MIT License |
mime/src/main/java/com/jetictors/futures/mime/mime/ui/EditPwdFragment.kt | Jetictors | 118,728,987 | false | {"Java": 170792, "Kotlin": 110014} | package com.jetictors.futures.mime.mime.ui
import android.os.Bundle
import android.view.View
import com.jetictors.futures.common.base.BaseFragment
import com.jetictors.futures.mime.R
/**
* @描述 : 修改密码页面
* @author : Jetictors
* @time : 2018/3/7 11:13
* @version : v1.0.1
*/
class EditPwdFragment : B... | 0 | Java | 1 | 3 | 52d6987e6db03e458d220d73491663c1d5c1ebd9 | 619 | Juejin-Kotlin | Apache License 2.0 |
src/test/kotlin/no/fdk/fdk_public_service_harvester/service/HarvestAdminAdapter.kt | Informasjonsforvaltning | 335,976,565 | false | null | package no.fdk.fdk_concept_harvester.service
import com.nhaarman.mockitokotlin2.mock
import com.nhaarman.mockitokotlin2.whenever
import no.fdk.fdk_concept_harvester.adapter.HarvestAdminAdapter
import no.fdk.fdk_concept_harvester.configuration.ApplicationProperties
import org.junit.jupiter.api.Nested
import org.junit.j... | 1 | Kotlin | 0 | 0 | d4d62e62b5bff73419f0a89b89ce2e9af53c21b0 | 1,992 | fdk-public-service-harvester | Apache License 2.0 |
old/basic/src/main/java/com/dinesh/android/kotlin/activity/floating_window/v0/FloatingWindowService.kt | Dinesh2811 | 745,880,179 | false | {"Kotlin": 1200547, "Java": 206284, "JavaScript": 20260} | package com.dinesh.android.kotlin.activity.floating_window.v0
import android.app.Service
import android.content.Intent
import android.os.IBinder
import android.util.Log
class FloatingWindowService : Service() {
private lateinit var floatingWindowManager: FloatingWindowManager
override fun onCreate() {
... | 0 | Kotlin | 0 | 1 | d5b4b55728848196c71c351c186df7e57ad4e8c2 | 975 | Android101 | Apache License 2.0 |
sample/database/src/commonMain/kotlin/com/arkivanov/mvikotlin/sample/database/TodoDatabase.kt | arkivanov | 437,014,963 | false | {"Kotlin": 481306, "CSS": 842, "JavaScript": 716, "HTML": 583} | package com.arkivanov.mvikotlin.sample.database
interface TodoDatabase {
fun get(id: String): TodoItem?
fun create(data: TodoItem.Data): TodoItem
fun save(id: String, data: TodoItem.Data)
fun delete(id: String)
fun getAll(): List<TodoItem>
}
| 3 | Kotlin | 32 | 814 | 8ab014968028bc042ed0710c31113537fc9f66ed | 268 | MVIKotlin | Apache License 2.0 |
kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/ApplicationLoadBalancedEc2ServiceProps.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 140726596} | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package io.cloudshiftdev.awscdk.services.ecs.patterns
import io.cloudshiftdev.awscdk.Duration
import io.cloudshiftdev.awscdk.common.CdkDslMark... | 4 | Kotlin | 0 | 4 | ddf2bfd2275b50bb86a667c4298dd92f59d7e342 | 49,239 | kotlin-cdk-wrapper | Apache License 2.0 |
src/commonMain/kotlin/baaahs/gl/GlManager.kt | lucgirardin | 290,413,324 | true | {"Kotlin": 1134726, "C++": 479123, "JavaScript": 365308, "GLSL": 120375, "C": 100546, "CMake": 25514, "HTML": 10796, "CSS": 10322, "Shell": 663} | package baaahs.gl
abstract class GlManager {
abstract val available: Boolean
abstract fun createContext(): GlContext
} | 0 | null | 0 | 0 | 80865b7141d4ab8fcaafcc1c58402afb02561ecc | 128 | sparklemotion | MIT License |
debug-app/src/main/java/io/rover/app/debug/fcm/FirebaseInstanceIdReceiver.kt | mkj-gram | 167,372,309 | true | {"Gradle": 12, "Shell": 2, "Text": 3, "Ignore List": 8, "Batchfile": 1, "Markdown": 8, "Proguard": 9, "JSON": 5, "Kotlin": 239, "XML": 216, "Java": 255, "Java Properties": 1, "Checksums": 1292} | package io.rover.app.debug.fcm
import com.google.firebase.iid.FirebaseInstanceId
import com.google.firebase.iid.FirebaseInstanceIdService
import io.rover.core.Rover
import io.rover.notifications.PushReceiverInterface
class FirebaseInstanceIdReceiver : FirebaseInstanceIdService() {
override fun onTokenRefresh() {
... | 0 | Java | 0 | 0 | a5e155a1ed7d19b1cecd9a7b075e2852623a06bf | 471 | rover-android | Apache License 2.0 |
app/src/main/java/com/raassh/gemastik15/local/db/ChatDao.kt | raassh-23 | 540,716,155 | false | null | package com.raassh.gemastik15.local.db
import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import kotlinx.coroutines.flow.Flow
@Dao
interface ChatDao {
@Insert(onConflict = OnConflictStrategy.REPLACE)
suspend fun insertChats(chats: List<Chat... | 4 | Kotlin | 0 | 1 | b374d5fe9636db1af6623804b2bdcce301aa55d3 | 1,400 | PPL-Gemastik-15-Android | MIT License |
jetbrains-core/src/software/aws/toolkits/jetbrains/services/lambda/steps/LambdaWorkflows.kt | smooth80stech | 384,458,101 | false | null | // Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
package software.aws.toolkits.jetbrains.services.lambda.upload.steps
import com.intellij.openapi.project.Project
import com.intellij.openapi.vfs.VirtualFile
import software.aws.toolkits.jetbrains.core.aws... | 1 | null | 1 | 1 | 73a50130bf90b23069334db6e07bb2b968eeac75 | 10,058 | aws-toolkit-jetbrains | Apache License 2.0 |
db/src/main/kotlin/no/nav/helsearbeidsgiver/inntektsmelding/db/InntektsmeldingUtils.kt | navikt | 495,713,363 | false | {"Kotlin": 1293757, "PLpgSQL": 153, "Dockerfile": 68} | package no.nav.helsearbeidsgiver.inntektsmelding.db
import no.nav.helsearbeidsgiver.domene.inntektsmelding.deprecated.Inntektsmelding
import no.nav.helsearbeidsgiver.domene.inntektsmelding.v1.skjema.SkjemaInntektsmelding
fun Inntektsmelding.erDuplikatAv(other: Inntektsmelding): Boolean =
this ==
other.cop... | 12 | Kotlin | 0 | 2 | f8e33771e305712986eeb7c9d38edfd8d5f24a7b | 712 | helsearbeidsgiver-inntektsmelding | MIT License |
presentation/src/main/java/com/glowka/rafal/topmusic/presentation/flow/dashboard/country/CountryDialogFragment.kt | RafalGlowka | 523,115,375 | false | null | package com.glowka.rafal.topmusic.presentation.flow.dashboard.country
import androidx.compose.runtime.Composable
import androidx.compose.runtime.collectAsState
import androidx.compose.runtime.getValue
import com.glowka.rafal.topmusic.presentation.architecture.BaseBottomSheetDialogFragment
import com.glowka.rafal.topmu... | 0 | Kotlin | 0 | 0 | 1177a4bd83fa54570dce15c119985896c229d81c | 873 | TopMusic | Apache License 2.0 |
features/timeline/src/main/java/com/chesire/nekome/app/timeline/TimelineViewModel.kt | Chesire | 223,272,337 | false | null | package com.chesire.nekome.app.timeline
import androidx.lifecycle.ViewModel
import androidx.lifecycle.liveData
import com.chesire.nekome.datasource.activity.ActivityDomain
import com.chesire.nekome.datasource.activity.ActivityRepository
import com.chesire.nekome.datasource.activity.UserActivityResult
import dagger.hil... | 24 | Kotlin | 31 | 269 | d9747aeb6ca7dab5fa3ed6925b5cb7715915c3e0 | 1,523 | Nekome | Apache License 2.0 |
app/src/main/java/com/mafqud/android/notification/NotificationViewModel.kt | MafQud | 483,257,198 | false | null | package com.mafqud.android.notification
import androidx.lifecycle.viewModelScope
import androidx.paging.Pager
import androidx.paging.cachedIn
import androidx.paging.map
import com.mafqud.android.base.viewModel.BaseViewModel
import com.mafqud.android.notification.models.NotificationsResponse
import com.mafqud.android.u... | 0 | Kotlin | 6 | 35 | 309e82d51d6c1c776365643ef48ecb78fd243c23 | 2,623 | MafQud-Android | MIT License |
app/src/main/java/com/mafqud/android/notification/NotificationViewModel.kt | MafQud | 483,257,198 | false | null | package com.mafqud.android.notification
import androidx.lifecycle.viewModelScope
import androidx.paging.Pager
import androidx.paging.cachedIn
import androidx.paging.map
import com.mafqud.android.base.viewModel.BaseViewModel
import com.mafqud.android.notification.models.NotificationsResponse
import com.mafqud.android.u... | 0 | Kotlin | 6 | 35 | 309e82d51d6c1c776365643ef48ecb78fd243c23 | 2,623 | MafQud-Android | MIT License |
src/test/kotlin/test/tests/extractors/ExtractorTest.kt | gyandroid | 113,510,869 | true | {"Kotlin": 217689, "Shell": 4820, "Groovy": 1445} | // Copyright 2017 Sourcerer Inc. All Rights Reserved.
// Author: <NAME> (<EMAIL>)
package test.tests.extractors
import app.extractors.*
import junit.framework.TestCase.assertTrue
import org.jetbrains.spek.api.Spek
import org.jetbrains.spek.api.dsl.given
import org.jetbrains.spek.api.dsl.it
import kotlin.test.assertEq... | 0 | Kotlin | 0 | 0 | 0ffa58ea7266a6e9561bde0c71b1611c281acd64 | 7,022 | sourcerer-app | MIT License |
plugins/gradle/src/org/jetbrains/plugins/gradle/issue/UnsupportedGradleVersionIssueChecker.kt | StingNevermore | 113,538,568 | 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.gradle.issue
import com.intellij.build.issue.BuildIssue
import com.intellij.openapi.application.impl.ApplicationInfoImpl
import com.intellij.openapi... | 0 | null | 0 | 0 | 68a9dba2e125a7d8ee96ca86e965a30a8ead7e2c | 7,079 | intellij-community | Apache License 2.0 |
app/src/main/java/com/example/myapplication/MainActivity.kt | jakobfridesjo | 636,587,336 | false | null | package com.example.myapplication
import android.Manifest
import android.app.Activity
import android.content.Context
import android.content.pm.PackageManager
import android.os.Bundle
import android.view.Menu
import android.view.MenuItem
import androidx.appcompat.app.AppCompatActivity
import androidx.core.app.ActivityC... | 0 | Kotlin | 0 | 0 | a72c92adc8cacb6e2cfbf7f98cee79f49c97855a | 3,110 | Waves | MIT License |
gi/src/commonMain/kotlin/org/anime_game_servers/multi_proto/gi/data/activity/roguelike_dungeon/RoguelikeSelectAvatarAndEnterDungeonReq.kt | Anime-Game-Servers | 642,871,918 | false | {"Kotlin": 1651536} | package org.anime_game_servers.multi_proto.gi.data.activity.roguelike_dungeon
import org.anime_game_servers.core.base.Version.GI_2_2_0
import org.anime_game_servers.core.base.annotations.AddedIn
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
import org.anime_game_servers.core.base.annotations.... | 0 | Kotlin | 2 | 6 | 7639afe4f546aa5bbd9b4afc9c06c17f9547c588 | 552 | anime-game-multi-proto | MIT License |
samples/notary-demo/src/main/kotlin/net/corda/notarydemo/BFTNotaryCordform.kt | whaleyu | 118,630,368 | true | {"Kotlin": 4482664, "Java": 224447, "Groovy": 11712, "Shell": 1884, "Batchfile": 106} | package net.corda.notarydemo
import net.corda.cordform.CordformContext
import net.corda.cordform.CordformDefinition
import net.corda.cordform.CordformNode
import net.corda.core.identity.CordaX500Name
import net.corda.core.utilities.NetworkHostAndPort
import net.corda.node.services.config.BFTSMaRtConfiguration
import n... | 0 | Kotlin | 0 | 0 | d00438b86f6ead59321056d864ea7ad820487dab | 2,465 | corda | Apache License 2.0 |
src/test/kotlin/homework/propositional_logic/Chapter2_7.kt | jpgagnebmc | 625,129,199 | false | null | package homework.propositional_logic
import kotlin.test.Test
class Chapter2_7 {
//Prove that α |= β iff α =⇒ β is valid. This is known as the Deduction Theorem.
@Test
fun homework2_7() {
// Formula("α =⇒ β").apply {
// world.print()
// }
}
}
| 0 | Kotlin | 0 | 0 | 087bcc0f908fb71da2e3f0e03fe8066f44797643 | 290 | homework | Apache License 2.0 |
bgw-gui/src/main/kotlin/tools/aqua/bgw/animation/DiceAnimation.kt | tudo-aqua | 377,420,862 | false | null | /*
* Copyright 2021-2023 The BoardGameWork Authors
* SPDX-License-Identifier: Apache-2.0
*
* 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... | 8 | null | 16 | 24 | 266db439e4443d10bc1ec7eb7d9032f29daf6981 | 1,829 | bgw | Apache License 2.0 |
app/src/main/java/com/coupleblog/singleton/CB_SingleSystemMgr.kt | Yumin2019 | 412,790,011 | false | {"Kotlin": 547883, "Java": 37622} | package com.coupleblog.singleton
import android.annotation.SuppressLint
import android.content.Context
import android.widget.Toast
class CB_SingleSystemMgr
{
// enum class for single system
enum class ACTIVITY_TYPE
{
MAIN,
PHOTO_EDTIOR,
VIDEO_CALL,
DAYS_WIDGET,
ACTI... | 1 | Kotlin | 0 | 1 | e4092ca0149a8cf76d3dcb49b54a7abf76d586db | 3,170 | CoupleBlog | MIT License |
app/src/main/java/com/example/calculator/NumberStorage.kt | kire27 | 574,937,556 | false | {"Kotlin": 23805} | package com.example.calculator
import android.widget.Toast
data class NumberStorage(var equation: String = "", var theResult: String = "")
// var firstNumber: String = "",
// var secondNumber: String = "",
// var calculatedNumber: String = "",
// var strongerSymbol: String = "",
// var weakerSymbol... | 0 | Kotlin | 0 | 0 | 159c68cab95babd9fa3729fd8038fdc6977a9411 | 801 | Calculator | The Unlicense |
examples/src/main/kotlin/space/kscience/kmath/operations/complexDemo.kt | SciProgCentre | 129,486,382 | false | {"Kotlin": 2003550, "ANTLR": 887} | /*
* Copyright 2018-2022 KMath contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package space.kscience.kmath.operations
import space.kscience.kmath.complex.Complex
import space.kscience.kmath.complex.algebra
import space.kscience.km... | 91 | Kotlin | 55 | 645 | 6c1a5e62bff541cca8065e4ab4c97d02a29d685a | 1,116 | kmath | Apache License 2.0 |
daggie-sample/src/main/java/com/nextfaze/daggie/Activity.kt | NextFaze | 245,320,888 | false | null | package com.nextfaze.daggie
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
abstract class DaggerActivity<I> : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
inject(injector)
super.onCreate(savedInstanceState)
}
protected abstract val i... | 0 | Kotlin | 0 | 0 | 833ff0cb478a03af60cc004f090e8b90bc1d1744 | 381 | daggie | Apache License 2.0 |
messageview/src/main/java/dev/armoury/android/widget/MessageView.kt | filmnet | 520,485,868 | false | null | package dev.armoury.android.widget
import android.animation.Animator
import android.content.Context
import android.content.res.TypedArray
import android.util.AttributeSet
import android.view.Gravity
import android.view.LayoutInflater
import android.view.View
import android.widget.TextView
import androidx.annotation.Dr... | 1 | Kotlin | 1 | 0 | e6349313f1ecc98eeefb509bc07297715212c5d1 | 13,088 | MessageView | MIT License |
app/src/main/java/com/github/naz013/tasker/task/AddTaskFragment.kt | Vistaus | 178,057,902 | false | null | package com.github.naz013.tasker.task
import android.graphics.Color
import android.graphics.drawable.GradientDrawable
import android.os.Bundle
import android.text.TextUtils
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.lifecycle.Observer
import androidx.lifec... | 1 | null | 1 | 1 | 4aa8fedf8bed3244ea87699d0933e5ef052b90a6 | 3,391 | my-day-todo | Apache License 2.0 |
lib/src/main/java/me/ertugrul/lib/OnItemReselectedListener.kt | ertugrulkaragoz | 353,617,181 | false | null | package me.ertugrul.lib
interface OnItemReselectedListener {
fun onItemReselect(pos: Int)
}
| 0 | Kotlin | 4 | 78 | ffc8b7b9e4f157437b8fe39e0d8dccd8c5f6fa12 | 97 | SuperBottomBar | MIT License |
src/main/kotlin/dev/jbang/idea/run/JBangRunScriptAction.kt | jbangdev | 439,798,570 | false | {"Kotlin": 99272, "Java": 3691} | package dev.jbang.intellij.plugins.jbang.run
import com.intellij.execution.Executor
import com.intellij.execution.Location
import com.intellij.execution.PsiLocation
import com.intellij.execution.RunManagerEx
import com.intellij.execution.actions.ConfigurationContext
import com.intellij.execution.runners.ExecutionUtil
... | 27 | Kotlin | 8 | 20 | 4db3b15f18854a2597c52fdd7639ab76cce38ff9 | 1,234 | jbang-idea | MIT License |
kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/cognito/CfnLogDeliveryConfiguration.kt | cloudshiftinc | 667,063,030 | false | null | @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 | null | 0 | 4 | 8571d0ceb68f09e0c8ce412281fefeb99866fc87 | 23,354 | kotlin-cdk-wrapper | Apache License 2.0 |
app/src/main/java/com/nohjason/momori/component/button/MomoriImageButton.kt | Team-Nojason | 697,189,752 | false | {"Kotlin": 103550} | package com.nohjason.momori.component.button
import android.util.Log
import androidx.annotation.DrawableRes
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.found... | 6 | Kotlin | 0 | 0 | c77d15a81b107a9dc089387fa5bedab0cbdef411 | 2,461 | Momori-Android | MIT License |
projects/pathfinder-and-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/entity/ReferenceData.kt | ministryofjustice | 500,855,647 | false | null | package uk.gov.justice.digital.hmpps.epf.entity
import jakarta.persistence.Column
import jakarta.persistence.Entity
import jakarta.persistence.Id
import jakarta.persistence.Table
import org.hibernate.annotations.Immutable
@Entity
@Immutable
@Table(name = "r_standard_reference_list")
class ReferenceData(
@Id
@... | 4 | Kotlin | 0 | 2 | da4b4d97531c27c44d2391f39778320d88d18ccd | 590 | hmpps-probation-integration-services | MIT License |
app/src/main/java/io/github/gmathi/novellibrary/network/NovelApi_Recents.kt | TechnoJo4 | 249,806,029 | true | {"Kotlin": 582529, "Java": 16521} | package io.github.gmathi.novellibrary.network
import io.github.gmathi.novellibrary.model.RecenlytUpdatedItem
fun NovelApi.getRecentlyUpdatedNovels(): ArrayList<RecenlytUpdatedItem>? {
var searchResults: ArrayList<RecenlytUpdatedItem>? = null
try {
searchResults = ArrayList()
val document = ge... | 1 | Kotlin | 1 | 1 | 4a9e1b66c508430b6024319658bb50eb5a313e64 | 1,069 | NovelLibrary | Apache License 2.0 |
shared/src/main/java/xyz/klinker/messenger/shared/service/ReplyService.kt | zacharee | 295,825,167 | 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 to in wr... | 1 | null | 7 | 4 | f957421823801b617194cd68e31ba31b96e6100b | 4,667 | pulse-sms-android | Apache License 2.0 |
src/main/java/lala/di/module/StartViewModule.kt | miguelslemos | 112,460,912 | false | null | package lala.di.module
import dagger.Module
import dagger.Provides
import lala.Navigator
import lala.data.AppDataManager
import lala.ui.start.StartPresenter
/**
* Created by miguellemos on 18/10/17.
*/
@Module
class StartViewModule {
@Provides
fun providerStartPresenter(appDataManager: AppDataManager, navi... | 1 | Kotlin | 1 | 2 | 31db387ae4557eb55754c6afa986653c79b7c567 | 421 | brazilian-voting-system | Apache License 2.0 |
tray-gtk/src/main/kotlin/com/hristogochev/tray/gtk/components/TrayIcon.kt | hristogochev | 634,594,951 | false | null | package com.hristogochev.tray.gtk.components
import com.hristogochev.tray.gtk.jna.lib.GObject
import com.hristogochev.tray.gtk.jna.lib.Gtk3
import com.hristogochev.tray.gtk.jna.Gtk3Dispatcher
import com.hristogochev.tray.gtk.jna.structs.GEventCallback
import com.hristogochev.tray.gtk.jna.structs.GdkEventButton
import ... | 0 | null | 0 | 2 | d79710dd9e74ebfa38679914a5d9f78a1ea28483 | 3,170 | tray-gtk | Apache License 2.0 |
test-case-factory/src/test/java/com/barteklipinski/testcasefactory/CombinationsBuildingFlowTest.kt | blipinsk | 439,698,827 | false | null | package com.barteklipinski.testcasefactory
import org.junit.Test
import org.junit.runner.RunWith
import org.junit.runners.JUnit4
import strikt.api.Assertion
import strikt.api.expectThat
import strikt.assertions.any
import strikt.assertions.isEqualTo
import strikt.assertions.isNull
@RunWith(JUnit4::class)
class Combin... | 0 | Kotlin | 0 | 3 | 9820d6ed81cfa9cd595a45cd0c600afe89d2d6e1 | 6,459 | test-case-factory | Apache License 2.0 |
app/src/main/java/com/example/compose_clean_base/presentation/login/LoginScreen.kt | samyoney | 783,208,332 | false | {"Kotlin": 136569} | package com.example.compose_clean_base.presentation.login
import androidx.compose.foundation.clickable
import androidx.compose.foundation.interaction.MutableInteractionSource
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout... | 0 | Kotlin | 0 | 7 | 38ebae18cd04f7533f151885746f8b90cef0099a | 6,102 | compose_clean_base | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.