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/kotlin/com/newmcs/filive/handler/CollectionHandler.kt | Ruskonert | 233,437,084 | false | null | package com.newmcs.filive.handler
import com.newmcs.filive.application.ApplicationListener
import java.nio.file.Paths
import java.nio.file.Path
interface CollectionHandler : IObjectHandler<ApplicationListener>
{
fun getPath() : Path {
val currentRelativePath = Paths.get("")
return currentRelativeP... | 0 | Kotlin | 0 | 0 | 70cb0c60398d7c36dd13d0dc72ff10ce3e9b2e6e | 430 | Filive | MIT License |
consumerapp/src/main/java/com/blank/consumerapp/data/GithubRepository.kt | mbahgojol | 290,164,894 | false | {"Kotlin": 120927} | package com.blank.consumerapp.data
import android.content.Context
import android.net.Uri
import com.blank.consumerapp.data.model.User
import com.blank.consumerapp.utils.rx.RxCursorIterable
import dagger.hilt.android.qualifiers.ApplicationContext
import io.reactivex.Observable
import io.reactivex.Single
import javax.in... | 0 | Kotlin | 2 | 9 | a7845c51039bbf8c2e2d757c31328554f2e90a18 | 1,257 | GithubUsers-AndroidApp | Apache License 2.0 |
keel-core/src/main/kotlin/com/netflix/spinnaker/keel/events/ArtifactEvent.kt | spinnakerbot | 202,427,627 | true | {"Kotlin": 612438, "Shell": 2086} | package com.netflix.spinnaker.keel.events
import com.netflix.spinnaker.kork.artifacts.model.Artifact
data class ArtifactEvent(
val artifacts: List<Artifact>,
val details: Map<String, Any>?
)
| 0 | Kotlin | 0 | 0 | 4efdcb9996dc51e7dc3dbdd5ecad2bd6d97a3e0a | 197 | keel | Apache License 2.0 |
src/main/java/tarehart/rlbot/steps/strikes/KickAwayFromOwnGoal.kt | tarehart | 101,009,961 | true | {"Kotlin": 781564, "Python": 29120, "Batchfile": 324} | package tarehart.rlbot.steps.strikes
import tarehart.rlbot.TacticalBundle
import tarehart.rlbot.input.CarData
import tarehart.rlbot.math.VectorUtil
import tarehart.rlbot.math.vector.Vector2
import tarehart.rlbot.math.vector.Vector3
import tarehart.rlbot.planning.GoalUtil
class KickAwayFromOwnGoal : KickStrategy {
... | 0 | Kotlin | 7 | 10 | 8a5ba0ba751235e775d383c9796ee8fa966030b9 | 2,363 | ReliefBot | MIT License |
dsl/src/main/kotlin/cloudshift/awscdk/dsl/services/kinesisanalytics/CfnApplicationV2CatalogConfigurationPropertyDsl.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package cloudshift.awscdk.dsl.services.kinesisanalytics
import cloudshift.awscdk.common.CdkDslMarker
import software.amazon.awscdk.IResolvable... | 1 | Kotlin | 0 | 0 | 17c41bdaffb2e10d31b32eb2282b73dd18be09fa | 2,429 | awscdk-dsl-kotlin | Apache License 2.0 |
src/main/kotlin/widget/general/HomeScreen.kt | paashzj | 463,386,523 | false | {"Kotlin": 332086, "Java": 264164} | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache license, Version 2.0
* (the "License"); you may n... | 6 | Kotlin | 7 | 7 | 1bfda18303c80e51fa12d8e9f27bdfa9c508778d | 4,431 | dev-tools-kotlin | Apache License 2.0 |
composeApp/src/commonMain/kotlin/escuela/Escuela.kt | KevinMeneses | 869,799,686 | false | {"Kotlin": 112521, "Ruby": 2671, "Swift": 1225} | package escuela
import kotlinx.serialization.Serializable
@Serializable
data class Escuela(
val id: Int,
val director: String,
val descripcion: String,
val correo: String,
val direccion: String,
val latitud: Double,
val longitud: Double
) | 0 | Kotlin | 0 | 0 | d26b3cd2936e99e8cb74a88a58e8935d8a5f2b40 | 268 | PosgradosAppMultiplatform | Apache License 2.0 |
app_frontend/vendor_app/android/app/src/main/kotlin/hackNSU/jhalmuri/vendor_app/MainActivity.kt | FarishtaJayas | 296,792,351 | false | {"HTML": 85549, "Python": 28679, "Dart": 19023, "CSS": 17441, "JavaScript": 3421, "Swift": 404, "Kotlin": 132, "Objective-C": 38} | package hackNSU.jhalmuri.vendor_app
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | HTML | 1 | 0 | c49fe1d57cc512266e1208eb8ad6d62ddbac8743 | 132 | HackNSU-2.0-team-jhalmuri | MIT License |
cran-pkg-input-impl-hid/src/main/kotlin/com/valaphee/cran/impl/Keyboard.kt | valaphee | 489,528,584 | false | {"Kotlin": 298793, "CSS": 135553, "Java": 16841, "Dockerfile": 506} | /*
* Copyright (c) 2022, Valaphee.
*
* 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 | 2 | 251b9a9d6e03990d9fd959c312eb873d379663b0 | 4,998 | cran | Apache License 2.0 |
app/src/main/java/cz/movapp/app/data/Language.kt | cesko-digital | 478,685,113 | false | {"Kotlin": 224382, "Ruby": 3026, "Java": 78} | package cz.movapp.app.data
import androidx.annotation.DrawableRes
import androidx.annotation.StringRes
import cz.movapp.app.R
import java.util.*
/**
* @param isReversed whether translation is reverse to data of json see cs-uk-dictionary.json
*/
enum class LanguagePair(
val from: Language,
val to: Language,
... | 14 | Kotlin | 4 | 7 | 6271a2bcda417a8eebae1d3dcf1c10664735d927 | 1,648 | movapp-android | MIT License |
app/src/main/java/codes/umair/quotes/adapters/QuotesAdapter.kt | umairayub79 | 226,858,415 | false | null | package codes.umair.quotes.adapters
import android.content.ClipData
import android.content.ClipboardManager
import android.content.Context.CLIPBOARD_SERVICE
import android.content.Intent
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Button
import androi... | 0 | Kotlin | 2 | 1 | c51f95b0f356f2a721bf7feada06fdd7a2c39362 | 2,514 | Quotes | MIT License |
androidApp/src/androidMain/kotlin/eu/kevin/composedemo/MainActivity.kt | bettercalltolya | 647,835,073 | false | {"Kotlin": 48539, "Swift": 1970, "Shell": 228, "Ruby": 101} | package eu.kevin.composedemo
import demo.RootContent
import android.os.Bundle
import androidx.activity.compose.setContent
import androidx.appcompat.app.AppCompatActivity
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.imePadd... | 0 | Kotlin | 0 | 2 | 0d9b008e0bcffb0172875d25cef478fb0356b7d4 | 1,649 | ComposeMultiplatformDemo | Apache License 2.0 |
app/src/main/kotlin/io/github/erikjhordanrey/livebinding/view/DcCharacterBinderHolder.kt | erikjhordan-rey | 116,209,588 | false | null | package io.github.erikjhordanrey.livebinding.view
import androidx.databinding.ViewDataBinding
import androidx.recyclerview.widget.RecyclerView
import io.github.erikjhordanrey.livebinding.BR
import io.github.erikjhordanrey.livebinding.model.DcCharacter
class DcCharacterBinderHolder constructor(private val viewDataBind... | 0 | Kotlin | 16 | 89 | 75ae78923f900c18debdf0f88805e71ce0a06587 | 556 | LiveData-DataBinding-Kotlin | Apache License 2.0 |
komapper-core/src/main/kotlin/org/komapper/core/expr/ExprException.kt | nakamura-to | 185,160,048 | false | null | package org.komapper.core.expr
class ExprException(message: String) : Exception(message)
| 2 | Kotlin | 0 | 29 | 606d3fac5eb5738a7d8a6f013503549221d19928 | 90 | komapper | Apache License 2.0 |
plugin/src/main/kotlin/intellij/music/core/MusicAlgorithmType.kt | artbobrov | 218,348,276 | true | {"Kotlin": 25616} | package intellij.music.core
enum class MusicAlgorithmType {
RANDOM,
SEQUENTIAL;
fun isRandom(): Boolean {
return this == RANDOM
}
} | 0 | null | 0 | 0 | a9795d1d8817caeeb356f04382121e6358c9413c | 158 | intellij-music | MIT License |
app/src/main/kotlin/ir/thatsmejavad/backgroundable/screens/search/SearchViewModel.kt | javadjafari1 | 642,709,238 | false | {"Kotlin": 431381} | package ir.thatsmejavad.backgroundable.screens.search
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import androidx.paging.LoadState
import androidx.paging.LoadStates
import androidx.paging.PagingData
import androidx.paging.cachedIn
import ir.thatsmejavad.backgroundable.core.SnackbarMana... | 2 | Kotlin | 2 | 30 | 23d62ddbd08b8996319699e505e11a180fcba62e | 3,405 | Backgroundable | Apache License 2.0 |
dsl/jpql/src/test/kotlin/com/linecorp/kotlinjdsl/dsl/jpql/expression/FunctionDslTest.kt | line | 442,633,985 | false | {"Kotlin": 1959613, "JavaScript": 5144, "Shell": 1023} | package com.linecorp.kotlinjdsl.dsl.jpql.expression
import com.linecorp.kotlinjdsl.dsl.jpql.queryPart
import com.linecorp.kotlinjdsl.querymodel.jpql.expression.Expression
import com.linecorp.kotlinjdsl.querymodel.jpql.expression.Expressions
import org.assertj.core.api.WithAssertions
import org.junit.jupiter.api.Test
... | 4 | Kotlin | 86 | 705 | 3a58ff84b1c91bbefd428634f74a94a18c9b76fd | 1,710 | kotlin-jdsl | Apache License 2.0 |
src/main/kotlin/com/alwa/testhub/report/SimpleCypressReportParser.kt | alexwatts | 450,846,737 | false | {"Kotlin": 50215, "Dockerfile": 152, "Shell": 104} | package com.alwa.testhub.report
import com.alwa.testhub.domain.Property
import com.alwa.testhub.domain.ReportData
import com.alwa.testhub.domain.TestResult
import org.xml.sax.InputSource
import java.io.StringReader
import javax.xml.parsers.DocumentBuilderFactory
import javax.xml.xpath.XPathFactory
import javax.xml.xpa... | 0 | Kotlin | 0 | 0 | 18a61149525ecadef8f1c773a1318cf5cfb0e8d5 | 3,233 | TestHub | MIT License |
jsonapi-adapters/src/test/java/jsonapi/integration/IntegrationTest.kt | MarkoMilos | 338,423,356 | false | null | package jsonapi.integration
import com.squareup.moshi.FromJson
import com.squareup.moshi.JsonAdapter
import com.squareup.moshi.JsonClass
import com.squareup.moshi.Moshi
import com.squareup.moshi.ToJson
import com.squareup.moshi.Types
import com.squareup.moshi.kotlin.reflect.KotlinJsonAdapterFactory
import jsonapi.Docu... | 1 | Kotlin | 5 | 25 | aa1043c9528c75eade884b411bb1db5a89bf8b87 | 14,559 | jsonapi | Apache License 2.0 |
dsl/base/src/main/kotlin/studio/forface/easygradle/dsl/references/libraries/touchLab.kt | 4face-studi0 | 206,301,872 | false | null | @file:Suppress("unused", "PackageDirectoryMismatch")
package studio.forface.easygradle.dsl
import studio.forface.easygradle.internal.lateinit
var `kermit version` by lateinit()
fun kermit() = touchLab("kermit") version `kermit version`
// Base
fun touchLab(module: String) =
dependency("co.touchlab", module ... | 0 | Kotlin | 1 | 5 | a254834c8801fccc1ec3c6dd0bf509de39c63ec4 | 330 | EasyGradle | Apache License 2.0 |
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/linear/Musicdashboard.kt | Tlaster | 560,394,734 | false | {"Kotlin": 25133302} | package moe.tlaster.icons.vuesax.vuesaxicons.linear
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx.... | 0 | Kotlin | 0 | 2 | b8a8231e6637c2008f675ae76a3423b82ee53950 | 4,614 | VuesaxIcons | MIT License |
boxicons/src/commonMain/kotlin/com/woowla/compose/icon/collections/boxicons/boxicons/regular/BxUserCircle.kt | walter-juan | 868,046,028 | false | {"Kotlin": 34345428} | package com.woowla.compose.icon.collections.boxicons.boxicons.regular
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.StrokeCa... | 0 | Kotlin | 0 | 3 | eca6c73337093fbbfbb88546a88d4546482cfffc | 3,897 | compose-icon-collections | MIT License |
src/main/kotlin/de/jensklingenberg/data/SimpleIcons.kt | Foso | 238,774,137 | false | null | package de.jensklingenberg.data
import com.intellij.openapi.util.IconLoader
object SimpleIcons {
val LINK = IconLoader.getIcon("/icons/link_icon.svg")
} | 0 | Kotlin | 0 | 3 | f581ba325e143852cd2869b2c9b567c1fd88ba13 | 158 | Android-Deeplink-Starter | Apache License 2.0 |
libautomata/src/main/java/com/mathewsachin/libautomata/extensions/GestureExtensions.kt | SleipnirTheRapid | 289,129,296 | true | {"Kotlin": 305660} | package com.mathewsachin.libautomata.extensions
import com.mathewsachin.libautomata.ExitManager
import com.mathewsachin.libautomata.IGestureService
import com.mathewsachin.libautomata.Location
import com.mathewsachin.libautomata.Region
import javax.inject.Inject
class GestureExtensions @Inject constructor(
val ge... | 0 | null | 0 | 0 | 5e2f88b5edbc4197aa0a0ba9093fe55d08807218 | 863 | Fate-Grand-Automata | MIT License |
src/main/kotlin/com/twbarber/bigplaybot/slack/model/Message.kt | twbarber | 107,900,599 | false | null | package com.twbarber.bigplaybot.slack.model
import com.fasterxml.jackson.annotation.JsonProperty
data class Message(
val channel: String,
val text: String,
@JsonProperty("icon_emoji")
val emoji: String?
) | 1 | Kotlin | 2 | 10 | 8699b6cf342cec42aaa66fc689ae862127e13937 | 222 | big-play-bot | MIT License |
app/src/main/java/com/abbas/gamesign/data/dto/developer/DeveloperDto.kt | AbbasTorabi | 624,361,187 | false | null | package com.abbas.gamesign.data.dto.developer
import com.abbas.gamesign.data.dto.base.BaseDto
import com.google.gson.annotations.SerializedName
data class DeveloperDto(
@SerializedName("name") var name: String? = null
) : BaseDto() | 0 | Kotlin | 0 | 2 | 0c77483445d835dde22a604125fe9aeafe43a9d5 | 239 | Game-Sign | MIT License |
app/src/main/java/xjunz/tool/mycard/util/PendingIntentCompat.kt | xjunz | 482,685,350 | false | {"Kotlin": 352659, "HTML": 8679} | package xjunz.tool.mycard.util
import android.app.PendingIntent
import android.os.Build
/**
* @author xjunz 2022/3/14
*/
object PendingIntentCompat {
/**
* Automatically add [PendingIntent.FLAG_MUTABLE] to [flags] not containing [PendingIntent.FLAG_IMMUTABLE]
* on Android S and above.
*/
fun... | 0 | Kotlin | 0 | 3 | c7f329739339790393ea9a73c83f5b2c0d8285ff | 573 | MyCard-YGO-Assistant | Apache License 2.0 |
app/src/main/java/com/example/gamepicker/presentation/recyclerview/viewholders/ScreenshotHolder.kt | IlyaBorisovDly | 447,408,801 | false | {"Kotlin": 81181} | package com.example.gamepicker.presentation.recyclerview.viewholders
import androidx.recyclerview.widget.RecyclerView
import com.bumptech.glide.Glide
import com.bumptech.glide.load.resource.drawable.DrawableTransitionOptions
import com.example.domain.entities.Screenshot
import com.example.gamepicker.databinding.ItemSc... | 0 | Kotlin | 0 | 0 | 1e08c0d35e9779d67e1b046892a99532a4a936be | 851 | GamePicker | MIT License |
interpreter/src/main/kotlin/io/github/aplcornell/viaduct/backend/io/Strategy.kt | apl-cornell | 169,159,978 | false | {"Kotlin": 1117382, "Java": 43793, "C++": 13898, "Lex": 12293, "Python": 11983, "Dockerfile": 1951, "Makefile": 1762, "SWIG": 1212, "Shell": 950} | package io.github.aplcornell.viaduct.backend.io
import io.github.aplcornell.viaduct.syntax.values.Value
interface Strategy {
suspend fun getInput(): Value
suspend fun recvOutput(value: Value)
}
| 31 | Kotlin | 4 | 20 | 567491fdcfd313bf287b8cdd374e80f1e005ac62 | 204 | viaduct | MIT License |
gmaven/src/test/kotlin/ru/rzn/gmyasoedov/gmaven/project/BuildHelperMavenPluginTest.kt | grisha9 | 586,299,688 | false | {"Kotlin": 366384, "Java": 250878, "HTML": 339} | package ru.rzn.gmyasoedov.gmaven.project
import org.jetbrains.jps.model.java.JavaResourceRootType
import org.jetbrains.jps.model.java.JavaSourceRootType
import ru.rzn.gmyasoedov.gmaven.MavenImportingTestCase
class BuildHelperMavenPluginTest : MavenImportingTestCase() {
fun testRelativePaths() {
createPro... | 2 | Kotlin | 0 | 12 | 824ec9cab804b12d27cd952d3cdbe7e541c162bf | 7,935 | gmaven-plugin | Apache License 2.0 |
leetcode/p2849/Solution.kt | suhwanhwang | 199,259,343 | false | {"Text": 138, "Ignore List": 2, "Markdown": 1, "Makefile": 2, "Java": 638, "C++": 118, "YAML": 15, "JSON": 311, "Shell": 56, "Gradle": 12, "Python": 6, "Jupyter Notebook": 10, "XML": 4, "Kotlin": 232, "Swift": 67, "INI": 1} | class Solution {
fun isReachableAtTime(sx: Int, sy: Int, fx: Int, fy: Int, t: Int): Boolean {
val hor = abs(fx - sx)
val ver = abs(fy - sy)
if (hor == 0 && ver == 0 && t == 1) return false
return t >= hor + ver - min(hor, ver)
}
}
| 0 | Java | 0 | 0 | 0cc37fd7b9350a2a9f01f4828e3f4a22cf2121e5 | 271 | problem-solving | MIT License |
app_m3/src/main/java/com/alorma/compose/settings/example/ui/theme/Theme.kt | alorma | 360,568,361 | false | null | package com.alorma.compose.settings.example.ui.theme
import android.os.Build
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.darkColorScheme
import androidx.compose.material3.dynamicDarkColorScheme
import androidx.compose.material3.dynamicLightColorScheme
import androidx.compose.mater... | 9 | null | 25 | 284 | 921636c6c9faeea2de61c0ee1eeeba3cbf135fb9 | 1,090 | Compose-Settings | MIT License |
app/src/main/java/ca/hojat/gamehub/core/extensions/String.kt | hojat72elect | 574,228,468 | false | {"Kotlin": 912868, "Shell": 539} | @file:JvmName("StringUtils")
package ca.hojat.gamehub.core.extensions
private const val SEPARATOR = ","
fun String.fromCsv(): List<String> {
return split(SEPARATOR)
}
| 0 | Kotlin | 8 | 14 | 0d89fb6e48ea00eb2063b9c415c924730be0a29a | 174 | GameHub | MIT License |
paparazzi-gradle-plugin/src/test/projects/compose-leaks/src/test/java/app/cash/paparazzi/plugin/test/LoggerLeakTest.kt | cashapp | 176,338,719 | false | null | package app.cash.paparazzi.plugin.test
import androidx.compose.runtime.Composable
import app.cash.paparazzi.Paparazzi
import org.junit.Rule
import org.junit.Test
import org.junit.rules.RuleChain
import org.junit.rules.TestRule
import org.junit.runners.model.Statement
class LoggerLeakTest {
private val paparazzi = P... | 133 | null | 214 | 2,290 | a47d3a28700ad0994c45975a5cd0e86e834a9a81 | 967 | paparazzi | Apache License 2.0 |
blocker/src/main/java/com/leaf/blocker/compose/material/RadioButton.kt | Im-Tae | 388,698,724 | false | {"Kotlin": 60461} | /*
* Create by Im-Tae on 2024. 8. 14.
*
* Copyright (c) 2024. Im-Tae. All rights reserved.
*/
package com.leaf.blocker.compose.material
import androidx.compose.foundation.interaction.MutableInteractionSource
import androidx.compose.material.RadioButton
import androidx.compose.material.RadioButtonColors
import and... | 1 | Kotlin | 1 | 3 | dafaa4a81e54512c73e2cf30c878063397d667f0 | 2,940 | Blocker | Apache License 2.0 |
solar/src/main/java/com/chiksmedina/solar/bold/security/ShieldKeyholeMinimalistic.kt | CMFerrer | 689,442,321 | false | {"Kotlin": 36591890} | package com.chiksmedina.solar.bold.security
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Compan... | 0 | Kotlin | 0 | 0 | 3414a20650d644afac2581ad87a8525971222678 | 4,135 | SolarIconSetAndroid | MIT License |
ktask-base/src/main/kotlin/ktask/base/scheduler/routing/scheduler/State.kt | perracodex | 810,476,641 | false | {"Kotlin": 252713, "JavaScript": 11106, "HTML": 8779, "CSS": 4693, "Dockerfile": 3127} | /*
* Copyright (c) 2024-Present Perracodex. Use of this source code is governed by an MIT license.
*/
package ktask.base.scheduler.routing.scheduler
import io.ktor.http.*
import io.ktor.server.application.*
import io.ktor.server.response.*
import io.ktor.server.routing.*
import ktask.base.scheduler.service.core.Sch... | 0 | Kotlin | 0 | 1 | 94e457bbf5cfcbe3711c11c37129048bcfa4d426 | 659 | KTask | MIT License |
runtime/observability/telemetry-api/common/src/aws/smithy/kotlin/runtime/telemetry/trace/SpanStatus.kt | smithy-lang | 294,823,838 | false | {"Kotlin": 4171610, "Smithy": 122979, "Python": 1215} | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
package aws.smithy.kotlin.runtime.telemetry.trace
/**
* Indicates whether the operation/task represented by a span is known to be successful or not.
*/
public enum class SpanStatus {
/**
* De... | 36 | Kotlin | 26 | 82 | ad18e2fb043f665df9add82083c17877a23f8610 | 660 | smithy-kotlin | Apache License 2.0 |
src/main/kotlin/websocket/GmoCoinPublicWSApiClient.kt | mogamusa31 | 348,792,888 | false | null | package websocket
import io.ktor.client.HttpClient
import io.ktor.client.features.websocket.WebSockets
import io.ktor.client.features.websocket.webSocket
import io.ktor.http.cio.websocket.Frame
import io.ktor.http.cio.websocket.readText
class GmoCoinPublicWSApiClient private constructor() {
companion object {
... | 0 | Kotlin | 0 | 0 | 812e519151334b98e24c789493c4ca44cdf7a053 | 2,062 | GmoCoinApiSample | Apache License 2.0 |
app/src/main/java/io/horizontalsystems/bankwallet/modules/manageaccount/privatekeys/PrivateKeysFragment.kt | horizontalsystems | 142,825,178 | false | null | package io.horizontalsystems.bankwallet.modules.manageaccount.privatekeys
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Toast
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
impo... | 57 | null | 334 | 672 | becd3af848071035ac41819676c25f2b07cc2622 | 5,896 | unstoppable-wallet-android | MIT License |
app/src/main/java/com/override0330/teamim/model/bean/MessageItem.kt | Override0330 | 202,737,292 | false | null | package com.override0330.teamim.model.bean
import androidx.databinding.ObservableField
/**
* @data 2019-08-16
* @author Override0330
* @description
*/
class MessageItem(val conversationId:String,val fromId:String,messageName:String="",messageAvatar:String="",messageDetail:String,messageTime:String) {
val me... | 1 | Kotlin | 0 | 2 | cce6deecdbd07bf5acc95d5c7a7fa1f23c3ed42d | 697 | TeamIM | Apache License 2.0 |
HelloJetpack/jetnews/src/main/java/com/example/jetnews/ui/theme/Theme.kt | ETSEmpiricalStudyKotlinAndroidApps | 496,360,419 | false | {"Kotlin": 718685, "Java": 174794} | package com.example.jetnews.ui.theme
import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.material.MaterialTheme
import androidx.compose.material.darkColors
import androidx.compose.material.lightColors
import androidx.compose.runtime.Composable
private val JNLightColors = lightColors(
pr... | 0 | null | 0 | 0 | 147caab2622d15c52cd5b8cf21779c73481c9020 | 1,052 | android-dev | MIT License |
newm-chain-db/src/main/kotlin/io/newm/chain/database/repository/KeysRepository.kt | projectNEWM | 447,979,150 | false | null | package io.newm.chain.database.repository
import io.newm.chain.database.entity.Key
interface KeysRepository {
fun get(id: Long): Key?
fun findByAddress(address: String): Key?
fun findByScriptAddress(scriptAddress: String): Key?
fun findByTxId(transactionId: String): List<Key>
fun insert(key: K... | 2 | Kotlin | 2 | 4 | ed0669f0a211fb9e07c1c0666bbc1281c115afd2 | 385 | newm-server | Apache License 2.0 |
rss_domain/src/main/java/com/example/rss_domain/model/RssFeedItemDataMapper.kt | kackogut | 703,912,490 | false | {"Kotlin": 42703} | package com.example.rss_domain.model
import com.example.rss_repository.model.RssItemResponse
internal fun RssItemResponse.toDomainModel() = RssFeedItemData(
description = description,
url = url,
title = title
)
| 0 | Kotlin | 0 | 0 | 193dec8414fc76fdb1071b515f7d17a0ca142e72 | 225 | rss_feed | Apache License 2.0 |
logicsolver/src/test/kotlin/nl/hiddewieringa/logicsolver/SudokuSolverTest.kt | hiddewie | 147,922,971 | false | null | package nl.hiddewieringa.logicsolver
import org.junit.Test
import kotlin.test.assertEquals
class SudokuSolverTest {
@Test
fun solveDataToString() {
assertEquals("SSD(Coordinate(a=1, b=2), null, [])", SudokuSolveData(Coordinate(1, 2), null, listOf()).toString())
assertEquals("SSD(Coordinate(a=... | 0 | Kotlin | 0 | 0 | bcf12c102f4ab77c5aa380dbf7c98a1cc3e585c0 | 407 | LogicSolver | MIT License |
ray-tracing-in-one-weekend/src/main/kotlin/io/github/ocirne/ray/weekend/material.kt | ocirne | 379,563,605 | false | null | package io.github.ocirne.ray.weekend
import kotlin.math.PI
import kotlin.math.min
import kotlin.math.pow
import kotlin.math.sqrt
import kotlin.random.Random
data class scatter_record(
val specular_ray: ray?,
val is_specular: Boolean,
val attenuation: color,
val pdf_ptr: pdf?
)
open class material {
... | 0 | Kotlin | 0 | 0 | 5075b417be18fd07f61f5182e0381fd283319c66 | 3,991 | ray | The Unlicense |
debugger/src/test/kotlin/org/rust/debugger/RsDebuggerToolchainServiceTest.kt | intellij-rust | 42,619,487 | false | null | /*
* Use of this source code is governed by the MIT license that can be
* found in the LICENSE file.
*/
package org.rust.debugger
import com.intellij.util.PlatformUtils
import com.intellij.util.ThrowableRunnable
import org.rust.RsTestBase
import java.io.File
class RsDebuggerToolchainServiceTest : RsTestBase() {
... | 1,789 | Kotlin | 369 | 4,410 | 3037c1a1b4f71432eba5f88b94b4fadb907f9be7 | 2,266 | intellij-rust | MIT License |
app/src/main/java/me/wcy/music/common/bean/PlaylistData.kt | wangchenyan | 46,907,841 | false | {"Kotlin": 194817} | package me.wcy.music.common.bean
import com.google.gson.annotations.SerializedName
import me.wcy.music.account.bean.ProfileData
data class PlaylistData(
@SerializedName("id")
val id: Long = 0,
@SerializedName("name")
val name: String = "",
@SerializedName("coverImgUrl", alternate = ["picUrl"])
... | 8 | Kotlin | 408 | 1,904 | c08af59b092b705183e98a71b67f9d1f8e425a10 | 1,046 | ponymusic | Apache License 2.0 |
Stratify.Consumer/src/main/kotlin/test/stratify/processors/DocReaderClassProcessor.kt | mattshoe | 831,774,190 | false | {"Kotlin": 69191, "Shell": 1020} | package test.stratify.processors
import com.google.devtools.ksp.symbol.KSClassDeclaration
import com.squareup.kotlinpoet.ClassName
import com.squareup.kotlinpoet.FileSpec
import com.squareup.kotlinpoet.FunSpec
import io.github.mattshoe.shoebox.stratify.model.GeneratedFile
import io.github.mattshoe.shoebox.stratify.pro... | 0 | Kotlin | 0 | 23 | 43dfe31b05d3a07aa9da7f22b3ee6a84a69a7d5e | 1,250 | stratify | Apache License 2.0 |
litfass-server/src/main/kotlin/lit/fass/server/script/ScriptException.kt | aemaem | 158,592,240 | false | null | package lit.fass.server.script
class ScriptException(message: String) : Exception(message) | 4 | Kotlin | 0 | 2 | da65a02b080174e749e78e8cce178b29f14f3545 | 91 | litfass | MIT License |
src/main/kotlin/pl/kubaf2k/tictactoeminimax/StateNode.kt | KubaF2K | 491,279,378 | false | null | package pl.kubaf2k.tictactoeminimax
class StateNode(var player: Boolean, var state: Array<CharArray>) {
var children = ArrayList<StateNode>()
var payout = 0
val won: Boolean get() {
for (i in 0 until 3) {
var won = true
for (j in 0 until 3) {
... | 0 | Kotlin | 0 | 0 | 71dc4d000824b02f8481db44b25008c5d8a839c2 | 4,541 | tictactoe-minimax | MIT License |
app/src/main/java/com/example/noteapp/ViewModels/NoteViewModel.kt | AHED200 | 577,900,371 | false | {"Kotlin": 12081} |
import android.content.Context
import androidx.lifecycle.ViewModel
import com.example.noteapp.Models.Note
import com.example.noteapp.Models.NoteDatabase
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.launch
class NoteViewModel(context: Context) : ViewModel() {... | 0 | Kotlin | 0 | 0 | bf43b82ada80398ebe274f8c9a92d68ed60fa59c | 816 | Note_App | MIT License |
src/main/java/io/vacuum/quickfix/inline/InlineLocalVariableQuickFix.kt | marcin-bukowiecki | 362,093,504 | false | null | /*
* Copyright 2021 <NAME>.
* Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
*/
package io.vacuum.quickfix.inline
import com.goide.GoTypes
import com.goide.psi.GoExpression
import com.goide.psi.GoReturnStatement
import com.goide.psi.GoSimpleStatement
import com... | 1 | Kotlin | 0 | 2 | bf1560f53fb372fdef909156981a0ccd10cdcfaf | 1,641 | vacuum-plugin | Apache License 2.0 |
BirdsViewModel/app/src/main/java/com/matejarlovic/birdsviewmodel/MainActivity.kt | B-Matt | 257,010,846 | false | null | package com.matejarlovic.birdsviewmodel
import android.graphics.Color
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.databinding.DataBindingUtil
import androidx.lifecycle.LiveData
import androidx.lifecycle.Observer
import androidx.lifecycle.ViewModelProvider
import com.matejar... | 0 | Kotlin | 0 | 0 | 02febe835c6148133ed0154b6dc97a61c7913072 | 2,076 | rma-lv1 | MIT License |
app/src/main/java/group/two/tripplanningapp/data/Trip.kt | YuanRuQian | 748,721,550 | false | {"Kotlin": 189712, "Shell": 390} | package group.two.tripplanningapp.data
import group.two.tripplanningapp.compose.trips.Privacy
data class Trips(
val trips: List<Trip> = emptyList()
)
data class Trip(
var tripName: String = "",
var numberOfPeople: Int = 0,
var privacy: Privacy = Privacy.Private,
var destinations: List<String> = e... | 0 | Kotlin | 0 | 0 | 11a2e68116f59f79eded0af4c357120a843007df | 458 | group-2-final-project | MIT License |
app/src/main/java/com/example/pexelapp/Models/Photo.kt | Winstonexe | 719,033,233 | false | null | package com.example.pexelapp.Models
data class Photo(
val alt: String,
val avg_color: String,
val height: Int,
val id: Int,
val liked: Boolean,
val photographer: String,
val photographer_id: Int,
val photographer_url: String,
val src: Src,
val url: String,
val width: Int
) | 0 | null | 0 | 2 | 2cb14f08fe99232db85bc1fa57c26fb09a8d5075 | 318 | PexelsApp | Apache License 2.0 |
src/main/kotlin/it/bot/service/impl/command/ShowOrderButtonsService.kt | gturi | 480,951,059 | false | {"Kotlin": 113492, "Shell": 1788, "HTML": 658} | package it.bot.service.impl.command
import it.bot.model.command.ChatOrdersCommand
import it.bot.model.command.CloseOrderCommand
import it.bot.model.command.CreateOrderCommand
import it.bot.model.command.JoinOrderCommand
import it.bot.model.command.LeaveOrderCommand
import it.bot.model.command.OpenOrderCommand
import i... | 0 | Kotlin | 0 | 0 | af641c01ff1ca4e7dda9f04b4fae99c55e2ea8b7 | 1,769 | all-you-can-eat-bot | MIT License |
src/main/kotlin/io/github/crackthecodeabhi/kreds/commands/ListCommands.kt | crackthecodeabhi | 435,502,260 | false | {"Kotlin": 365150} | /*
* Copyright (C) 2022 <NAME>
* See the notice.md file distributed with this work for additional
* information regarding copyright ownership.
*
* 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 ... | 18 | Kotlin | 17 | 188 | 4d5742419fc8fbce6994d17e7af3d20d39743aea | 21,468 | kreds | Apache License 2.0 |
app/src/main/java/com/greylabsdev/pexwalls/presentation/screen/categoryphotos/CategoryPhotosViewModel.kt | GreyLabsDev | 210,593,289 | false | {"Kotlin": 146528} | package com.greylabsdev.pexwalls.presentation.screen.categoryphotos
import androidx.lifecycle.LiveData
import androidx.lifecycle.viewModelScope
import com.greylabsdev.pexwalls.domain.usecase.PhotoDisplayingUseCase
import com.greylabsdev.pexwalls.presentation.base.BaseViewModel
import com.greylabsdev.pexwalls.presentat... | 3 | Kotlin | 13 | 45 | 813390aee18412e127addff09d2bb236eadf45ea | 1,611 | PexWalls | MIT License |
app/src/main/kotlin/cn/govast/vmusic/broadcast/BConstant.kt | SakurajimaMaii | 351,469,044 | false | null | /*
* Copyright 2022 <NAME> <EMAIL>
*
* 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 ... | 2 | Kotlin | 0 | 8 | af1cb8e620cb3e65f9ad5a0d05b240142db2608b | 1,562 | Music-Voice | Apache License 2.0 |
backend/src/main/kotlin/com/schibsted/elephant/backend/model/RegisterRequest.kt | ElephantTeam | 267,237,784 | false | null | package com.schibsted.elephant.backend.model
data class RegisterRequest(
val name: String?,
val uuid: String?,
val token: String?
) | 5 | Kotlin | 0 | 0 | 628e195fb785efeef3471cec73b20bd88b9df6c5 | 144 | backend-android | Apache License 2.0 |
backend/src/main/kotlin/com/schibsted/elephant/backend/model/RegisterRequest.kt | ElephantTeam | 267,237,784 | false | null | package com.schibsted.elephant.backend.model
data class RegisterRequest(
val name: String?,
val uuid: String?,
val token: String?
) | 5 | Kotlin | 0 | 0 | 628e195fb785efeef3471cec73b20bd88b9df6c5 | 144 | backend-android | Apache License 2.0 |
base/media/medialib/src/main/kotlin/com/flammky/common/media/audio/meta_tag/audio/opus/OpusVorbisTagWriter.kt | flammky | 462,795,948 | false | {"Kotlin": 5222947} | package com.flammky.common.media.audio.meta_tag.audio.opus
import com.flammky.common.media.audio.meta_tag.audio.ogg.util.OggPage
import com.flammky.musicplayer.common.media.audio.meta_tag.audio.exceptions.CannotReadException
import com.flammky.musicplayer.common.media.audio.meta_tag.audio.exceptions.CannotWriteExcept... | 0 | Kotlin | 6 | 56 | a452c453815851257462623be704559d306fb383 | 4,074 | Music-Player | Apache License 2.0 |
model/src/main/kotlin/org/digma/intellij/plugin/model/rest/insights/InsightTypeImportance.kt | digma-ai | 472,408,329 | false | {"Kotlin": 1686412, "Java": 579281, "C#": 117248, "Shell": 13664, "HTML": 11307, "FreeMarker": 10897} | package org.digma.intellij.plugin.model.rest.insights
import com.fasterxml.jackson.annotation.JsonCreator
import com.fasterxml.jackson.annotation.JsonIgnoreProperties
import java.beans.ConstructorProperties
@JsonIgnoreProperties(ignoreUnknown = true)
data class InsightTypesForJaegerResponse
@JsonCreator(mode = JsonCr... | 477 | Kotlin | 7 | 32 | ce460b0cdc604968d267b98e72bf9dd211cf39b3 | 795 | digma-intellij-plugin | MIT License |
app/src/main/kotlin/com/isaac/pokedex_clone/presentation/base/BaseBottomSheet.kt | isaacnguyen0809 | 731,470,010 | false | {"Kotlin": 80093, "JavaScript": 6285, "Pug": 275, "CSS": 111} | package com.isaac.pokedex_clone.presentation.base
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.annotation.CallSuper
import androidx.viewbinding.ViewBinding
import com.google.android.material.bottomsheet.BottomSheetDialogFragment
abs... | 0 | Kotlin | 0 | 0 | a299dc4e6fe259b0e7ad631bdc4ed34e2e3548ab | 1,189 | pokedex_clone | Apache License 2.0 |
app/src/main/java/com/fsmmmssaleschampionhoneywell/features/TA/model/TaListResponse.kt | DebashisINT | 644,251,838 | false | null | package com.fsmmmssaleschampionhoneywell.features.TA.model
import com.fsmmmssaleschampionhoneywell.base.BaseResponse
/**
* Created by Pratishruti on 28-11-2017.
*/
class TaListResponse : BaseResponse() {
var data:TaListResponseData?=null
} | 0 | Kotlin | 0 | 0 | 05ed93d40d6c4ef068c100bfb5b2d33145398db9 | 247 | Honeywell | Apache License 2.0 |
app/src/main/java/com/example/quotidian/MainActivity.kt | lssarao | 579,010,205 | false | {"Kotlin": 19016} | package com.example.quotidian
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material.Surface
import androidx.compose.ui.Modifier
import androidx.navigation.compose.rememberNav... | 0 | Kotlin | 0 | 1 | aff9d2bebb0eaa763f6a92c2aa36ae48d238c577 | 1,591 | jetpack-compose-quotidian | MIT License |
app/src/main/java/com/fduranortega/marvelheroes/data/local/AppDatabase.kt | fduranortega | 442,528,178 | false | {"Kotlin": 47633} | package com.fduranortega.marvelheroes.data.local
import androidx.room.Database
import androidx.room.RoomDatabase
import com.fduranortega.marvelheroes.data.model.ro.HeroExtraRO
import com.fduranortega.marvelheroes.data.model.ro.HeroRO
@Database(entities = [HeroRO::class, HeroExtraRO::class], version = 1, exportSchema ... | 0 | Kotlin | 0 | 0 | 91b679ce66d91c283ee9a68b4864a96fefb3c2a0 | 411 | android-marvel-heroes | Apache License 2.0 |
stream-chat-android-core/src/main/java/io/getstream/chat/android/models/UploadAttachmentsNetworkType.kt | GetStream | 177,873,527 | false | {"Kotlin": 8578375, "MDX": 2150736, "Java": 271477, "JavaScript": 6737, "Shell": 5229} | /*
* Copyright (c) 2014-2022 Stream.io Inc. All rights reserved.
*
* Licensed under the Stream License;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://github.com/GetStream/stream-chat-android/blob/main/LICENSE
*
* Unless required by a... | 24 | Kotlin | 273 | 1,451 | 8e46f46a68810d8086c48a88f0fff29faa2629eb | 1,150 | stream-chat-android | FSF All Permissive License |
vgscollect/src/test/java/com/verygoodsecurity/vgscollect/card/filter/brand/EloTest.kt | verygoodsecurity | 273,198,410 | false | {"Kotlin": 1128775, "Python": 210} | package com.verygoodsecurity.vgscollect.card.filter.brand
import com.verygoodsecurity.vgscollect.view.card.CardType
import com.verygoodsecurity.vgscollect.view.card.filter.CardBrandFilter
import com.verygoodsecurity.vgscollect.view.card.filter.VGSCardFilter
import org.junit.Assert
import org.junit.Test
class EloTest ... | 6 | Kotlin | 9 | 8 | 119d3479daccc789039e3f5d9bc08d6e7e9556e5 | 857 | vgs-collect-android | MIT License |
app/src/test/kotlin/com/subtlefox/currencyrates/domain/Utils.kt | Subtle-fox | 177,306,258 | false | null | package com.subtlefox.currencyrates.domain
fun rateOf(iso: String, value: String = "1") = CurrencyRate(iso, value.toBigDecimal())
fun valueOf(iso: String, value: String = "1") = CurrencyValue(iso, value.toBigDecimal()) | 0 | Kotlin | 0 | 0 | cdcaf7d6ccef790aa903de419ffbc6206dc3c4d8 | 220 | currency-exchange-rates | Apache License 2.0 |
remix/src/commonMain/kotlin/com/woowla/compose/icon/collections/remix/remix/arrows/CornerUpRightFill.kt | walter-juan | 868,046,028 | false | {"Kotlin": 34345428} | package com.woowla.compose.icon.collections.remix.remix.arrows
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.Str... | 0 | Kotlin | 0 | 3 | eca6c73337093fbbfbb88546a88d4546482cfffc | 1,721 | compose-icon-collections | MIT License |
src/test/kotlin/com/thelgis/geodsl/integrationtests/Landmarks.kt | thelgis | 157,778,951 | false | null | package com.thelgis.geodsl.integrationtests
import com.thelgis.geodsl.GeoEntity
import com.vividsolutions.jts.geom.Point
import javax.persistence.*
@Entity
@Table(name = "points")
data class Landmarks(
@Id @GeneratedValue(strategy = GenerationType.IDENTITY) val id: Long = 0,
val name: String,
val location: Poin... | 0 | Kotlin | 0 | 2 | d4c947a84bfb51c8e2c3f0361998b52210f0f2b6 | 334 | geo-dsl | MIT License |
sample-app/src/androidTest/java/com/atiurin/sampleapp/framework/utils/UITestingExceptions.kt | Lmosakhlishvili | 607,196,493 | false | null | package com.atiurin.sampleapp.framework.utils
import androidx.test.espresso.EspressoException
class UITestingExceptions : Exception(), EspressoException | 0 | Kotlin | 0 | 0 | 7dff9bb29cb2ba2a29160b945235a59d393f0506 | 154 | Friends-Espresso | Apache License 2.0 |
plc-catch/src/main/kotlin/cn/yycampus/plc/core/enity/PLCPointEntity.kt | 123enjoy | 760,280,109 | false | {"Kotlin": 53188, "Java": 44821} | package cn.yycampus.plc.core.enity
class PLCPointEntity(
var title: String = "",
var db: String = "",
var type: String = "",
var period: Int = 10
) | 0 | Kotlin | 0 | 0 | b2128cb5e920ccfa266823eff769948bbc5a5346 | 164 | plc-view | Apache License 2.0 |
teamcity-kotlin-trigger-server/src/main/kotlin/jetbrains/buildServer/buildTriggers/remote/controller/action/DeletePolicyAction.kt | JetBrains | 307,772,250 | false | {"Kotlin": 82041, "Java": 14780, "Makefile": 599, "CSS": 181} |
package jetbrains.buildServer.buildTriggers.remote.controller.action
import com.intellij.openapi.diagnostic.Logger
import jetbrains.buildServer.buildTriggers.remote.CustomTriggerPolicyDescriptor
import jetbrains.buildServer.buildTriggers.remote.CustomTriggersManager
import jetbrains.buildServer.buildTriggers.remote.... | 2 | Kotlin | 3 | 2 | fd314a0e7d22522e6146557eb550af7a5089de0f | 1,785 | teamcity-kotlin-trigger | Apache License 2.0 |
androidApp/app/src/main/java/com/star_zero/dagashi/ui/NavGraphs.kt | STAR-ZERO | 294,861,954 | false | null | package com.star_zero.dagashi.ui
import com.ramcosta.composedestinations.spec.DestinationSpec
import com.ramcosta.composedestinations.spec.NavGraphSpec
import com.ramcosta.composedestinations.spec.Route
import com.star_zero.dagashi.features.issue.destinations.IssueScreenDestination
import com.star_zero.dagashi.feature... | 0 | Kotlin | 2 | 22 | 1c3f927bea740c619f96933ce68120b158032d61 | 867 | DagashiApp | Apache License 2.0 |
src/main/java/com/sirinlabs/walletconnectionsdk/exceptions/WalletServiceNotBindedException.kt | sirin-labs | 163,275,437 | false | null | package com.sirinlabs.walletconnectionsdk.exceptions
const val WALLET_SERVICE_NOT_BINDED = "Wallet Service Not binded, assign callback or use force bind after disconnection"
class WalletServiceNotBindedException : Exception(WALLET_SERVICE_NOT_BINDED) | 0 | Kotlin | 2 | 3 | 7bd8a1e223a1c2119529c048b2d14a2148cdc62c | 252 | SirinOS-SDK | Apache License 2.0 |
solar/src/main/java/com/chiksmedina/solar/lineduotone/astronomy/Earth.kt | CMFerrer | 689,442,321 | false | {"Kotlin": 36591890} | package com.chiksmedina.solar.lineduotone.astronomy
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Com... | 0 | Kotlin | 0 | 0 | 3414a20650d644afac2581ad87a8525971222678 | 3,131 | SolarIconSetAndroid | MIT License |
simple-stack-multi-stack-sample/src/main/java/com/ddmeng/bottom_navigation/navigation/NavigationKeys.kt | mengdd | 505,520,243 | false | {"Kotlin": 75993} | package com.ddmeng.bottom_navigation.navigation
import androidx.fragment.app.Fragment
import com.ddmeng.bottom_navigation.ui.dashboard.DashboardFragment
import com.ddmeng.bottom_navigation.ui.detail.DetailFragment
import com.ddmeng.bottom_navigation.ui.home.HomeFragment
import com.ddmeng.bottom_navigation.ui.notificat... | 0 | Kotlin | 1 | 9 | fc316d4cac3ca789a93b191c99ed74a305bf2297 | 963 | bottom-navigation-samples | Apache License 2.0 |
android/libraries/rib-base/src/androidTest/java/com/badoo/ribs/android/lifecycle/InitialNodesStateTest.kt | bohsen | 185,576,172 | true | {"Swift": 402146, "Kotlin": 359452, "Java": 118312, "Shell": 2571, "Ruby": 1955, "Objective-C": 814} | package com.badoo.ribs.android.lifecycle
import com.badoo.common.ribs.RibsRule
import com.badoo.ribs.android.lifecycle.BaseNodesTest.TestNode.NODE_1
import com.badoo.ribs.android.lifecycle.BaseNodesTest.TestNode.NODE_2
import com.badoo.ribs.test.util.ribs.root.TestRootRouter.Configuration
import com.badoo.ribs.test.ut... | 0 | Swift | 0 | 0 | f3361951f587a22e83cb20cdfcac0325efb9b5f5 | 2,531 | RIBs | Apache License 2.0 |
src/main/kotlin/hello/Application.kt | Kinmarui | 95,583,068 | true | {"Kotlin": 9492} | package hello
import hello.form.Form
import hello.form.FormNode
import hello.form.FormRepository
import org.slf4j.LoggerFactory
import org.springframework.boot.CommandLineRunner
import org.springframework.boot.SpringApplication
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframew... | 0 | Kotlin | 0 | 0 | cf6a53ce776be29113e7ec2efddac39d1016e878 | 2,666 | spring-boot-kotlin-demo | Apache License 2.0 |
src/jsFrontendCommonMain/kotlin/de/robolab/client/net/client.kt | pixix4 | 243,975,894 | false | null | package de.robolab.client.net
import io.ktor.client.HttpClient
import io.ktor.client.engine.js.Js
import kotlinx.browser.document
import kotlinx.browser.window
import kotlinx.coroutines.CancellableContinuation
import kotlinx.coroutines.suspendCancellableCoroutine
import kotlin.coroutines.resume
actual val client: Htt... | 4 | Kotlin | 0 | 2 | 1f20731971a9b02f971f01ab8ae8f4e506ff542b | 1,430 | robolab-renderer | MIT License |
app/src/main/java/br/com/lucolimac/pokedex/data/repository/PokedexRepositoryImpl.kt | lucasomac | 627,122,617 | false | {"Kotlin": 66216} | package br.com.lucolimac.pokedex.data.repository
import br.com.lucolimac.pokedex.data.source.PokedexDataSource
import br.com.lucolimac.pokedex.domain.entity.Pokemon
import br.com.lucolimac.pokedex.domain.entity.Pokedex
import br.com.lucolimac.pokedex.domain.repository.PokedexRepository
import br.com.lucolimac.pokedex.... | 0 | Kotlin | 0 | 0 | 79fbfe20e877acd20378464ce32cb26035af1750 | 1,511 | Pokedex | RSA Message-Digest License |
foundation/map/implementation/maplibre/src/main/kotlin/com/savvasdalkitsis/uhuruphotos/foundation/map/implementation/maplibre/ui/LatLon.kt | savvasdalkitsis | 485,908,521 | false | null | /*
Copyright 2023 <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 writing, software
distribu... | 63 | null | 26 | 345 | 93f7a6b6b5bef5236cc50144ead91dade51e44d9 | 884 | uhuruphotos-android | Apache License 2.0 |
app/src/main/java/com/willowtree/vocable/customviews/SettingsButton.kt | willowtreeapps | 188,443,410 | false | null | package com.willowtree.vocable.customviews
import android.content.Context
import android.content.Intent
import android.util.AttributeSet
/**
* A subclass of VocableButton that will open SettingsActivity when interacted with
*/
class SettingsButton @JvmOverloads constructor(
context: Context,
attrs: Attribut... | 50 | null | 9 | 86 | bf9f69d32d8e722f8a2479f874dd11b895c26f61 | 473 | vocable-android | MIT License |
shared/src/jvmMain/kotlin/com/teka/organiks/di/Module.kt | samAricha | 742,657,034 | false | {"Kotlin": 325336, "Java": 225730, "Shell": 1615, "Assembly": 30} | package com.teka.organiks.di
import com.teka.organiks.platform.DatabaseDriverFactory
import com.teka.organiks.platform.MultiplatformSettingsWrapper
import com.teka.organiks.platform.NotificationsManager
import org.koin.core.module.Module
import org.koin.dsl.module
actual fun platformModule(): Module = module {
si... | 0 | Kotlin | 0 | 15 | 43925a9d661e4a89b78b03fb92acebd20c5f3622 | 456 | Organiks1_KMP_Server | MIT License |
shared/src/commonMain/kotlin/eu/baroncelli/dkmpsample/shared/viewmodel/screens/countrieslist/CountriesListEvents.kt | cboiangiu | 365,127,263 | true | {"Kotlin": 62289, "Swift": 15470} | package eu.baroncelli.dkmpsample.shared.viewmodel.screens.countrieslist
import eu.baroncelli.dkmpsample.shared.viewmodel.Events
/********** INTERNAL event function, called by the StateProvider's callOnInit **********/
internal fun Events.loadCountriesListData() = screenCoroutine {
stateReducers.updateCountriesLi... | 0 | null | 0 | 0 | 9d8d62570eec47693d117d4352c314af6ffc8d96 | 637 | D-KMP-sample | Apache License 2.0 |
arrow-libs/fx/arrow-fx-coroutines/src/jvmTest/kotlin/arrow/fx/coroutines/FlowJvmTest.kt | kubino | 391,932,338 | true | {"Kotlin": 1714011, "JavaScript": 78420, "SCSS": 78040, "HTML": 21760, "Scala": 8073, "Java": 7899, "Shell": 4207, "Ruby": 83} | package arrow.fx.coroutines
import io.kotest.assertions.throwables.shouldThrow
import io.kotest.matchers.longs.shouldBeGreaterThanOrEqual
import io.kotest.matchers.longs.shouldBeLessThan
import io.kotest.matchers.shouldBe
import io.kotest.property.Arb
import io.kotest.property.arbitrary.int
import kotlinx.coroutines.f... | 0 | Kotlin | 0 | 0 | c3a668740d1e62d020672a67ccc761b30b4937d0 | 1,862 | arrow | Apache License 2.0 |
composeUi/src/commonMain/kotlin/com/darkrockstudios/apps/hammer/common/projectselection/settings/AccountSettingsUi.kt | Wavesonics | 499,367,913 | false | {"Kotlin": 1630287, "Swift": 32452, "CSS": 2064, "Ruby": 1578, "Shell": 361} | package com.darkrockstudios.apps.hammer.common.projectselection.settings
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.defaultMinSize
import androidx.compose.foundation.layout.fil... | 19 | Kotlin | 6 | 128 | 5eb281596110fe9c315f9c53d5412a93078f870d | 5,208 | hammer-editor | MIT License |
src/main/kotlin/com/onehypernet/demo/model/entity/ForexEntity.kt | quangpv | 470,011,476 | false | null | package com.onehypernet.demo.model.entity
import java.time.LocalDateTime
import javax.persistence.Column
import javax.persistence.Entity
import javax.persistence.Id
@Entity(name = "forex")
class ForexEntity(
@Id
var id: String = "",
@Column(name = "exchange_rate")
var exchangeRate: Double = 0.0,
... | 0 | Kotlin | 0 | 0 | e84f52230f1d6e583e1457d3f85b5f580bfe9a8b | 404 | netting-demo-BE | MIT License |
core-ui-android/src/main/java/com/frogobox/ui/animation/core/IAttention.kt | frogobox | 463,901,878 | false | {"Kotlin": 175857, "Java": 77640} | package com.frogobox.animation.core
import android.animation.AnimatorSet
import android.view.View
/*
* Created by faisalamir on 16/03/22
* FrogoAnimation
* -----------------------------------------
* Name : <NAME>
* E-mail : <EMAIL>
* Github : github.com/amirisback
* ----------------------------------... | 0 | Kotlin | 3 | 22 | d605c302d894b685f2ee8e09fae20a8ca92728f0 | 838 | frogo-ui | Apache License 2.0 |
src/main/kotlin/ar/edu/unq/modelo/Usuario.kt | CristianGonzalez1980 | 320,041,280 | false | null | package ar.edu.unq.modelo
class Usuario : ModelObjectWithBsonId {
var nombre: String = ""
var apellido: String = ""
var dni : Int = 0
constructor()
constructor(
nombre: String,
apellido: String,
dni: Int
) {
this.nombre = nombre
this.apellido = apellido... | 1 | Kotlin | 0 | 0 | 28553d578b6c6ec24c32759d604731bfbc40627a | 451 | exposicion-virtual | The Unlicense |
braspag3ds/src/main/java/br/com/braspag/internal/network/dto/Authentication.kt | Braspag | 224,435,304 | false | null | package br.com.braspag.internal.network.dto
import com.google.gson.annotations.SerializedName
internal data class Authentication(
@SerializedName("DirectoryServerTransactionId")
val transactionId: String? = null,
@SerializedName("Xid")
val xId: String? = null,
@SerializedName("Eci")
val eci... | 2 | Kotlin | 1 | 3 | 9900d718fc4d2d179c4311273b847f22b20b186b | 1,006 | braspag-3ds-android | MIT License |
ktpack/src/commonMain/kotlin/ktpack/compilation/dependencies/RootDependencyNode.kt | DrewCarlson | 371,519,366 | false | null | package ktpack.compilation.dependencies
import kotlinx.serialization.Serializable
import ktpack.configuration.KotlinTarget
import ktpack.configuration.ModuleConf
@Serializable
data class RootDependencyNode(
val targets: List<KotlinTarget>,
val module: ModuleConf,
val children: List<ChildDependencyNode>,
... | 11 | Kotlin | 0 | 5 | f60ec28e755a13062c457415ac91411511a53c40 | 842 | ktpack | MIT License |
design_library/src/main/java/com/muvi/design_library/TextFormatters.kt | ataulm | 186,059,686 | false | null | package com.muvi.design_library
/**
* Formats as a comma-separated list, with the last item appended with an ampersand.
*/
fun List<String>.commaAmpersandList() = when (size) {
0 -> null
1 -> this[0]
else -> {
val firstLot = subList(0, size - 1).joinToString(separator = ", ")
firstLot + "... | 9 | Kotlin | 3 | 39 | 1c446fa09a271b9e65d06e10a65e4f59f9adf947 | 342 | muvi | Apache License 2.0 |
inference/inference-tfjs/src/jsMain/kotlin/io.kinference.tfjs/operators/tensor/Unsqueeze.kt | JetBrains-Research | 244,400,016 | false | null | package io.kinference.tfjs.operators.tensor
import io.kinference.attribute.Attribute
import io.kinference.data.ONNXData
import io.kinference.graph.Contexts
import io.kinference.ndarray.extensions.tidyNDArray
import io.kinference.operator.*
import io.kinference.protobuf.message.AttributeProto
import io.kinference.tfjs.... | 4 | Kotlin | 5 | 95 | e47129b6f1e2a60bf12404d8126701ce7ef4db3a | 2,888 | kinference | Apache License 2.0 |
verik-compiler/src/main/kotlin/io/verik/compiler/main/Platform.kt | frwang96 | 269,980,078 | false | null | /*
* SPDX-License-Identifier: Apache-2.0
*/
package io.verik.compiler.main
import io.verik.compiler.common.TextFile
import io.verik.compiler.message.Messages
import io.verik.compiler.message.SourceLocation
import java.io.BufferedReader
import java.io.FileInputStream
import java.io.InputStreamReader
import java.nio.... | 0 | Kotlin | 1 | 33 | ee22969235460fd144294bcbcbab0338c638eb92 | 2,097 | verik | Apache License 2.0 |
query/src/main/kotlin/me/rasztabiga/thesis/query/infrastructure/db/SpringDataRestaurantRepository.kt | BartlomiejRasztabiga | 604,846,079 | false | {"Kotlin": 242910, "TypeScript": 59276, "Python": 6675, "Dockerfile": 1793, "JavaScript": 800, "Shell": 181} | package me.rasztabiga.thesis.query.infrastructure.db
import me.rasztabiga.thesis.query.domain.query.entity.RestaurantEntity
import org.springframework.data.mongodb.repository.ReactiveMongoRepository
import org.springframework.stereotype.Repository
import java.util.*
@Repository
interface SpringDataRestaurantRepositor... | 17 | Kotlin | 0 | 0 | c546e0794284d5ba637baf16aa241ed83ae6fb1c | 372 | thesis | MIT License |
solar/src/main/java/com/chiksmedina/solar/bold/facesemotionsstickers/SleepingSquare.kt | CMFerrer | 689,442,321 | false | {"Kotlin": 36591890} | package com.chiksmedina.solar.bold.facesemotionsstickers
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoi... | 0 | Kotlin | 0 | 0 | 3414a20650d644afac2581ad87a8525971222678 | 7,006 | SolarIconSetAndroid | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.