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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/configurationImplementations.kt | drewhannay | 285,109,025 | true | {"Kotlin": 1180486, "CSS": 20670, "JavaScript": 14795, "TypeScript": 7384, "Java": 1484} | @file:Suppress("FunctionName")
package org.jetbrains.dokka.gradle
import com.android.build.gradle.api.AndroidSourceSet
import com.fasterxml.jackson.annotation.JsonIgnore
import groovy.lang.Closure
import org.gradle.api.Action
import org.gradle.api.Project
import org.gradle.api.tasks.Input
import org.gradle.api.tasks.... | 0 | null | 0 | 0 | 299d5ce889242cd352d4305b622cfe39c4e2f67d | 8,259 | dokka | Apache License 2.0 |
example/src/main/java/io/y2k/replexample/MainActivity.kt | y2k | 166,288,356 | false | null | package io.y2k.replexample
import android.app.Activity
import android.app.Application
import android.app.NotificationChannel
import android.app.NotificationManager
import android.os.Build
import androidx.core.app.NotificationCompat
import androidx.core.app.NotificationManagerCompat
import io.y2k.remoteconnector.Server... | 0 | Kotlin | 0 | 0 | 15de83c6aac857f6817a950c2c7e6fb89f76e7b4 | 2,016 | remote-embeded-repl | MIT License |
src/main/kotlin/juuxel/jay/Deserializer.kt | Juuxel | 165,117,741 | false | null | /* This file is a part of the Jay project
* by Juuxel, licensed under the MIT license.
* Full code and license: https://github.com/Juuxel/Jay
*/
package juuxel.jay
interface Deserializer<out T> {
fun deserialize(value: JsonValue): T?
}
| 0 | Kotlin | 0 | 0 | e4e5d7231869b3f49b8d9b6532a2036e53f69169 | 244 | Jay | MIT License |
app/src/main/kotlin/br/eng/ecarrara/vilibra/book/domain/entity/Book.kt | rviannaoliveira | 143,359,047 | false | {"Java Properties": 2, "Gradle": 4, "Shell": 1, "Markdown": 2, "Batchfile": 1, "Ignore List": 3, "YAML": 1, "Proguard": 2, "Kotlin": 43, "Java": 68, "INI": 1, "JSON": 1, "XML": 38} | package br.eng.ecarrara.vilibra.book.domain.entity
import br.eng.ecarrara.vilibra.util.DefaultData
data class Book(
val id: Long = DefaultData.NOT_INITIALIZED.getLong(),
val title: String = DefaultData.NOT_INITIALIZED.getString(),
val subtitle: String = DefaultData.NOT_INITIALIZED.getString(),... | 1 | null | 1 | 1 | 3c8395740512c575e34ca8c0573550fb62a9f152 | 790 | vilibra | MIT License |
src/commonTest/kotlin/com/github/andreypfau/raptorq/arraymap/ArrayMapTest.kt | andreypfau | 531,010,252 | false | {"Kotlin": 182365} | @file:Suppress("OPT_IN_USAGE")
package com.github.andreypfau.raptorq.arraymap
import kotlin.test.Test
import kotlin.test.assertTrue
class ArrayMapTest {
@Test
fun listMap() {
val builder = ImmutableListMapBuilder(10)
builder.add(0u, 1u)
builder.add(3u, 1u)
builder.add(3u, 2u)
... | 0 | Kotlin | 0 | 0 | e0364bfd0ceae46c30993db72424802b7553a02b | 608 | raptorq-kotlin | Apache License 2.0 |
backend/src/test/kotlin/com/github/davinkevin/podcastserver/entity/TagTest.kt | kareemabbas90 | 205,540,089 | true | {"HTML": 22707379, "Kotlin": 968949, "TypeScript": 162740, "JavaScript": 95419, "Java": 65945, "CSS": 26945, "Shell": 6240, "Dockerfile": 4258, "Smarty": 328} | package com.github.davinkevin.podcastserver.entity
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Test
import java.util.*
/**
* Created by kevin on 15/06/15 for HackerRank problem
*/
class TagTest {
@Test
fun `should create a tag`() {
val anId = UUID.randomUUID()
... | 0 | HTML | 0 | 0 | 1d94a578cc68654172a70efa40743c112c79cffa | 1,110 | Podcast-Server | Apache License 2.0 |
commons/ui/src/main/java/es/littledavity/commons/ui/base/rv/AdapterComon.kt | Benderinos | 260,322,264 | false | null | /*
* Copyright 2021 dalodev
*/
package es.littledavity.commons.ui.base.rv
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
typealias ListenerBinder<IT> = (IT, RecyclerView.ViewHolder) -> Unit
interface ViewHolderFactory {
fun create(
infl... | 0 | Kotlin | 0 | 1 | 4f7f9d251c4da8e130a9f2b64879867bfecb44e8 | 2,133 | ChorboAgenda | Apache License 2.0 |
server/zally-server/src/main/kotlin/org/zalando/zally/configuration/WebMvcConfiguration.kt | SchweizerischeBundesbahnen | 272,621,483 | true | {"Kotlin": 744050, "JavaScript": 118225, "Go": 76281, "SCSS": 3271, "Pug": 1680, "Shell": 1131, "Dockerfile": 519} | package org.zalando.zally.configuration
import com.fasterxml.jackson.databind.ObjectMapper
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.beans.factory.annotation.Qualifier
import org.springframework.context.annotation.Configuration
import org.springframework.http.MediaType
im... | 15 | Kotlin | 2 | 3 | 8045c57b346abc79110940971e721b31b1677e2c | 2,203 | zally | MIT License |
module_travel_policy/src/main/java/com/noble/module_travel_policy/bean/reqbean/PolicyDetailReqBean.kt | NobleXL | 514,568,667 | false | {"Kotlin": 69212} | package com.noble.module_travel_policy.bean.reqbean
import com.noble.module_travel_policy.bean.enum.RiskLevelEnum
/**
* @author:HQL
* @desc:政策详细信息
*/
class PolicyDetailReqBean {
var province_id: String? = null
var city_id: String? = null
var city_name: String? = null
var health_code_desc: String? =... | 0 | Kotlin | 0 | 0 | 1ef6f67f43fe122154adcb3b9793e4bbd2eea0f8 | 1,073 | TravelPrevention | Apache License 2.0 |
wear-app/src/main/java/ee/schimke/wmp/ui/settings/SettingsScreen.kt | yschimke | 514,614,213 | false | null | /*
* Copyright 2022 Google Inc. 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | 1 | Kotlin | 0 | 1 | 0d1fec3491c2faa8e6cdce867a835914620c3520 | 4,295 | wear-media-player | Apache License 2.0 |
src/test/kotlin/com/alipay/sofa/koupleless/kouplelessidea/parser/modifier/TransactionManagerBeanReuserTest.kt | koupleless | 783,180,038 | false | {"Kotlin": 840464, "Java": 26198, "Shell": 3994} | package com.alipay.sofa.koupleless.kouplelessidea.parser.modifier
import com.alipay.sofa.koupleless.kouplelessidea.model.splitmodule.staticparser.DBContext
import com.alipay.sofa.koupleless.kouplelessidea.parser.util.JavaParserUtil
import com.alipay.sofa.koupleless.kouplelessidea.util.MockKUtil
import com.github.javap... | 1 | Kotlin | 1 | 2 | 371a738491d60019d9c25a131fab484ad8064fc2 | 2,441 | koupleless-idea | Apache License 2.0 |
sample-compose/src/main/java/com/rubensousa/carioca/android/sample/SampleScreen.kt | rubensousa | 853,775,838 | false | {"Kotlin": 336232} | /*
* Copyright 2024 <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... | 2 | Kotlin | 0 | 1 | bc33dbf0f8b288e1950483c5711eebc1c910f8ac | 2,516 | Carioca | Apache License 2.0 |
src/main/kotlin/com/meiblorn/kotidgy/engine/generator/Generator.kt | meiblorn | 160,176,578 | false | null | package com.meiblorn.kotidgy.engine.generator
import com.meiblorn.kotidgy.domain.generation.sample.Sample
abstract class Generator<T> {
abstract fun process(source: T): Sequence<Sample<*>>
} | 0 | Kotlin | 0 | 3 | c4e666422151e3e1ff87216190bb2b8ad58e2642 | 198 | kotidgy | MIT License |
app/src/main/java/io/github/tonnyl/mango/DeepLinkActivity.kt | SelvaGaneshM | 101,606,103 | true | {"Kotlin": 256284, "HTML": 27144} | package io.github.tonnyl.mango
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import com.airbnb.deeplinkdispatch.DeepLinkHandler
/**
* Created by lizhaotailang on 2017/7/31.
*
* The activity with the scheme you'd like to handle in your `AndroidManifest.xml` file
* Annotate it with [DeepL... | 0 | Kotlin | 1 | 0 | 2c6de8532424dcaa814445a66830e4b9f24d0495 | 1,074 | Mango | MIT License |
src/test/kotlin/info/mycityreport/api/healthcheck/RouteingTest.kt | mycityreport | 434,082,324 | false | null | package info.mycityreport.api.healthcheck
import info.mycityreport.api.module
import io.ktor.application.Application
import io.ktor.http.HttpMethod
import io.ktor.http.HttpStatusCode
import io.ktor.server.testing.handleRequest
import io.ktor.server.testing.withTestApplication
import kotlin.test.Test
import kotlin.test... | 6 | Kotlin | 0 | 0 | fe3681410d08466217f7e9f15a74c0e82573e906 | 691 | mcr-api-server | MIT License |
UICPC/21/nwerc2020all/conteststruggles/submissions/accepted/paul.kt | mohammadi-milad-mim | 457,724,622 | false | {"C++": 896197, "Python": 190309, "Java": 61478, "TeX": 26818, "C": 14624, "Kotlin": 1431, "Asymptote": 771, "Shell": 337, "VHDL": 7} | private fun readInts() = readLine()!!.split(' ').map { it.toInt() }
fun main() {
val (n, k) = readInts()
val (a, s) = readInts()
val res = (n*a-k*s).toDouble()/(n-k)
println(if (res < 0 || res > 100) "impossible" else res)
}
| 0 | C++ | 0 | 0 | 9f84a2d2734a5efe0e1fde0062e51782cd5af2c6 | 242 | Competitive-Programming | MIT License |
core/src/test/kotlin/dev/usbharu/multim/api/NotImplEmojiApiTest.kt | multim-dev | 591,652,793 | false | null | package dev.usbharu.multim.api
import dev.usbharu.multim.TestUtil.failOnSuccess
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.test.runTest
import org.junit.jupiter.api.Assertions.*
import org.junit.jupiter.api.Test
@OptIn(ExperimentalCoroutinesApi::class)
class NotImplEmojiApiTest {
... | 8 | Kotlin | 0 | 7 | daad2d142ae6fa7414acdb6704832a4d477dc41f | 528 | multim | Apache License 2.0 |
basick/src/main/java/com/mozhimen/basick/elemk/android/view/cons/CSurface.kt | mozhimen | 353,952,154 | false | null | package com.mozhimen.kotlin.elemk.android.view.cons
import android.view.Surface
/**
* @ClassName CSurface
* @Description TODO
* @Author Mozhimen / Kolin Zhao
* @Date 2024/1/27 0:20
* @Version 1.0
*/
object CSurface {
const val ROTATION_0 = Surface.ROTATION_0
const val ROTATION_90 = Surface.ROTATION_90
... | 1 | null | 14 | 118 | bbdd6ab9b945f04036c27add35c1cbd70c1b49f7 | 420 | SwiftKit | Apache License 2.0 |
feature-theater/src/main/java/soup/movie/feature/theater/TheaterFilterChip.kt | Moop-App | 113,048,795 | false | null | /*
* Copyright 2021 SOUP
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wri... | 5 | Kotlin | 17 | 147 | 29693e89bcdfebcb0b5eb2f5c4adfb14d65bd5b5 | 6,700 | Moop-Android | Apache License 2.0 |
java/bc-foundation/src/main/kotlin/io/mike/foundation/service/CrudService.kt | fl3xman | 240,129,869 | false | null | /*
* Copyright (c) 2020 <EMAIL>
* All rights reserved.
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use... | 12 | Kotlin | 0 | 0 | 91c44d43af2a7ce30e3f4909905d39c2c73e578e | 2,369 | book-collection | MIT License |
tl/src/main/kotlin/com/github/badoualy/telegram/tl/api/TLInputBotInlineMessageMediaGeo.kt | Miha-x64 | 436,587,061 | true | {"Kotlin": 3919807, "Java": 75352} | package com.github.badoualy.telegram.tl.api
import com.github.badoualy.telegram.tl.TLObjectUtils.SIZE_CONSTRUCTOR_ID
import com.github.badoualy.telegram.tl.TLObjectUtils.SIZE_INT32
import com.github.badoualy.telegram.tl.serialization.TLDeserializer
import com.github.badoualy.telegram.tl.serialization.TLSerializer
impo... | 1 | Kotlin | 2 | 3 | 1a8963dce921c1e9ef05b9d1e56d8fbcb1ea1c4b | 3,534 | kotlogram-resurrected | MIT License |
tl/src/main/kotlin/com/github/badoualy/telegram/tl/api/TLInputBotInlineMessageMediaGeo.kt | Miha-x64 | 436,587,061 | true | {"Kotlin": 3919807, "Java": 75352} | package com.github.badoualy.telegram.tl.api
import com.github.badoualy.telegram.tl.TLObjectUtils.SIZE_CONSTRUCTOR_ID
import com.github.badoualy.telegram.tl.TLObjectUtils.SIZE_INT32
import com.github.badoualy.telegram.tl.serialization.TLDeserializer
import com.github.badoualy.telegram.tl.serialization.TLSerializer
impo... | 1 | Kotlin | 2 | 3 | 1a8963dce921c1e9ef05b9d1e56d8fbcb1ea1c4b | 3,534 | kotlogram-resurrected | MIT License |
scraper/src/commonMain/kotlin/kotlinx/scraper/Source.kt | mazuninky | 222,733,264 | false | null | package kotlinx.scraper
sealed class Source
data class WebPage(val url: String) : Source()
| 0 | Kotlin | 0 | 0 | f14943fca860873379ab7671ff5b2b1f98b12d8b | 93 | kotlinx.scraper | MIT License |
core/data/src/main/java/com/jetapps/jettaskboard/model/common/UrlDataModel.kt | pushpalroy | 535,554,638 | false | {"Kotlin": 490124, "Shell": 210} | package com.jetapps.jettaskboard.model.common
import com.google.gson.annotations.SerializedName
data class UrlDataModel(
@SerializedName("raw")
val raw: String? = null,
@SerializedName("full")
val full: String? = null,
@SerializedName("regular")
val regular: String? = null,
@SerializedNam... | 1 | Kotlin | 4 | 64 | a2df8dd3e763e5ad4f5d4ba5d3441f47c7c7680c | 487 | jetTaskBoard | MIT License |
core/src/main/kotlin/core/vfs/File.kt | naotiki | 585,808,592 | false | null | package core.vfs
import core.commands.parser.CommandResult
import core.commands.parser.Executable
import core.commands.parser.SuperArgsParser
import core.user.Group
import core.user.User
import core.vfs.Permission.Companion.Operation
class FileValue<T>(private val file: File, private var internalValue: T) {
fun ... | 0 | Kotlin | 0 | 4 | e410804e180fe76820544a5eeb3749e0b0270edb | 4,161 | EseLinux | MIT License |
app/shared/bitkey-primitives/public/src/commonMain/kotlin/build/wallet/bitkey/inheritance/InheritanceMaterialHash.kt | proto-at-block | 761,306,853 | false | {"C": 10474259, "Kotlin": 8243078, "Rust": 2779264, "Swift": 893661, "HCL": 349246, "Python": 338898, "Shell": 136508, "TypeScript": 118945, "C++": 69203, "Meson": 64811, "JavaScript": 36398, "Just": 32977, "Ruby": 13559, "Dockerfile": 5934, "Makefile": 3915, "Open Policy Agent": 1552, "Procfile": 80} | package build.wallet.bitkey.inheritance
import build.wallet.bitcoin.BitcoinNetworkType
import build.wallet.bitkey.app.AppSpendingPublicKey
import build.wallet.bitkey.relationships.EndorsedTrustedContact
import kotlin.jvm.JvmInline
@JvmInline
value class InheritanceMaterialHash(val value: Int)
data class InheritanceM... | 3 | C | 16 | 113 | 694c152387c1fdb2b6be01ba35e0a9c092a81879 | 537 | bitkey | MIT License |
ui/feature/details/src/main/kotlin/com/houlis/haris/feature/details/ui/DetailsMiddleware.kt | HarisHoulis | 595,512,452 | false | {"Kotlin": 74440, "Shell": 135} | package com.houlis.haris.feature.details.ui
import com.houlis.haris.core.domain.PicturesRepositoryContract
import com.houlis.haris.feature.details.ui.PicDetailsAction.DetailsFetched
import com.houlis.haris.feature.details.ui.PicDetailsAction.FetchDetailsFor
import com.houlis.haris.pictrfindr.core.coroutines.CloseableC... | 8 | Kotlin | 0 | 0 | 679d1a897048f019c849e828913dcd645174f3ca | 945 | PicFind | Apache License 2.0 |
purchasely-amazon/android/src/main/java/com/reactnativepurchaselyamazon/PurchaselyAmazonModule.kt | Purchasely | 327,927,099 | false | {"Objective-C": 64687, "Kotlin": 51241, "TypeScript": 49231, "Swift": 6513, "Ruby": 5232, "Shell": 2155, "JavaScript": 1195, "Objective-C++": 805} | package com.reactnativepurchaselyamazon
import com.facebook.react.bridge.ReactApplicationContext
import com.facebook.react.bridge.ReactContextBaseJavaModule
import com.facebook.react.bridge.ReactMethod
import com.facebook.react.bridge.Promise
class PurchaselyAmazonModule(reactContext: ReactApplicationContext) : React... | 2 | Objective-C | 3 | 14 | af88f9ed057cebede824cd6263c781fcc85b7a98 | 645 | Purchasely-ReactNative | MIT License |
mobile/src/main/java/de/michelinside/glucodatahandler/preferences/AlarmAdvancedFragment.kt | pachi81 | 587,280,747 | false | {"Kotlin": 813094, "Java": 1673} | package de.michelinside.glucodatahandler.preferences
import android.content.Intent
import android.content.SharedPreferences
import android.os.Bundle
import android.provider.Settings
import android.util.Log
import androidx.preference.ListPreference
import androidx.preference.Preference
import androidx.preference.Prefer... | 5 | Kotlin | 11 | 56 | 8ca4fcef5277806e557161bf90c830d08513765a | 7,277 | GlucoDataHandler | MIT License |
library/src/main/kotlin/com/daniloaraujosilva/mathemagika/library/common/mathematica/functions/ClassifierFunction.kt | Danilo-Araujo-Silva | 271,904,885 | false | null | package com.daniloaraujosilva.mathemagika.library.common.mathematica.functions
import com.daniloaraujosilva.mathemagika.library.common.mathematica.MathematicaFunction
/**
*````
*
* Name: ClassifierFunction
*
* Full name: System`ClassifierFunction
*
* Usage: ClassifierFunction[…] r... | 2 | Kotlin | 0 | 3 | 4fcf68af14f55b8634132d34f61dae8bb2ee2942 | 1,537 | mathemagika | Apache License 2.0 |
feature/profile/src/main/java/com/alexereh/profile/component/ProfileComponent.kt | AlexEreh | 680,205,233 | false | {"Kotlin": 106073} | package com.alexereh.profile.component
import com.alexereh.profile.ProfileStore
import kotlinx.coroutines.flow.StateFlow
interface ProfileComponent {
val state: StateFlow<ProfileStore.State>
fun doBackAction()
fun doLogoutAction()
fun refreshProfile()
} | 2 | Kotlin | 0 | 2 | c1e9d62fd3eb3f52d1377cce4cb42dd7875d6fb3 | 271 | CSFBRS | MIT License |
src/main/kotlin/heckerpowered/matrix/common/magics/DecisiveStrikeMagic.kt | heckerpowered | 766,079,408 | false | {"Kotlin": 41833, "Java": 2677} | package heckerpowered.matrix.common.magics
import heckerpowered.matrix.common.Magic
import heckerpowered.matrix.data.language.MatrixLanguage
import net.minecraft.entity.Entity
import net.minecraft.entity.player.PlayerEntity
import net.minecraft.text.Text
class DecisiveStrikeMagic : Magic(MatrixLanguage.magicDecisiveS... | 0 | Kotlin | 0 | 0 | f29b5c92bb18ec806581160773192883336ee2b5 | 781 | Matrix | Creative Commons Zero v1.0 Universal |
grammar/testData/grammar/annotations/namePrefixAsUseSiteTargetPrefix/setparam.kt | oleksiyp | 174,851,143 | true | {"ANTLR": 52211, "Kotlin": 47868, "JavaScript": 7607, "CSS": 6892, "Shell": 2376} | class Foo(@setparamann private val field: Int) {}
class Foo(@`setparamann` private val field: Int) {}
class Foo(@`setparam ` val field: Int) {}
class Foo {
@ann @setparamann var field: Int = 10
}
class Foo(@setparamann @ann protected val field: Int) {}
class Foo {
@ann@setparamann var field: Int = 10
}
cl... | 0 | ANTLR | 0 | 0 | 7244ab64ec4e820d0023f35e868b52839d240a2b | 493 | kotlin-spec | Apache License 2.0 |
app/src/main/java/com/example/gokartandroidapplication/activities/GoKartActivity.kt | diegowit | 772,832,343 | false | {"Kotlin": 46241} | package com.example.gokartandroidapplication.activities
import android.view.Menu
import com.example.gokartandroidapplication.main.MainApp
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.google.android.material.snackbar.Snackbar
import com.example.gokartandroidapplication.models.GoKa... | 0 | Kotlin | 0 | 0 | 5fdd1ca86045ea8e6a4e74dc3f119dc201a7eb3d | 7,208 | GoKartAndroidApplication | MIT License |
src/test/kotlin/com/autonomousapps/internal/advice/AdvisorTest.kt | tasomaniac | 250,905,017 | true | {"Kotlin": 316360, "Java": 71861, "ANTLR": 68053, "Groovy": 18464, "Shell": 587} | package com.autonomousapps.internal.advice
import com.autonomousapps.Ignore
import com.autonomousapps.Warn
import com.autonomousapps.internal.*
import com.autonomousapps.internal.utils.filterToOrderedSet
import org.junit.Test
import kotlin.test.assertEquals
import kotlin.test.assertNotNull
import kotlin.test.assertNul... | 0 | null | 0 | 1 | 866161796c564fc19b6fcca2343f438e8ec9aeff | 22,865 | dependency-analysis-android-gradle-plugin | Apache License 2.0 |
core/src/main/java/android/core/external/constants/AppConstant.kt | tossaro | 526,498,578 | false | {"Kotlin": 31073} | package android.core.external.constants
object AppConstant {
} | 0 | Kotlin | 0 | 0 | 210d0531abcb00f82d1da9387fad0da333dfe2af | 63 | kotlin-android-core | MIT License |
app/src/main/java/com/eeyan/mymenty/common/loader/AnimatorDialog.kt | otsembo | 436,253,051 | false | {"Kotlin": 72165} | package com.eeyan.mymenty.common.loader
import android.app.Dialog
import android.content.Context
import android.os.Bundle
import android.widget.LinearLayout
import com.eeyan.mymenty.R
import com.eeyan.mymenty.databinding.DialogAnimatorBinding
class AnimatorDialog (mCtx: Context) : Dialog(mCtx){
//binding object... | 0 | Kotlin | 0 | 1 | 9684f230b7bd53f9648fa65ba482bc56835b9290 | 841 | MyMenty | Apache License 2.0 |
services/csm.cloud.api/src/main/kotlin/com/bosch/pt/iot/smartsite/api/security/facade/rest/KeyCloak1SignupController.kt | boschglobal | 805,348,245 | false | {"Kotlin": 13156190, "HTML": 274761, "Go": 184388, "HCL": 158560, "Shell": 117666, "Java": 52634, "Python": 51306, "Dockerfile": 10348, "Vim Snippet": 3969, "CSS": 344} | /*
* ************************************************************************
*
* Copyright: <NAME> Power Tools GmbH, 2018 - 2023
*
* ************************************************************************
*/
package com.bosch.pt.iot.smartsite.api.security.facade.rest
import com.bosch.pt.iot.smartsite.a... | 0 | Kotlin | 3 | 9 | 9f3e7c4b53821bdfc876531727e21961d2a4513d | 1,386 | bosch-pt-refinemysite-backend | Apache License 2.0 |
app/src/main/java/com/smihajlovski/instabackstack/ui/base/BaseActivity.kt | kdu0136 | 376,753,829 | true | {"Kotlin": 37896, "Java": 1147} | package com.smihajlovski.instabackstack.ui.base
import android.content.Intent
import android.os.Bundle
import androidx.annotation.LayoutRes
import androidx.appcompat.app.AppCompatActivity
import androidx.databinding.ViewDataBinding
import com.smihajlovski.instabackstack.tmp.PrintLog
import com.smihajlovski.instabackst... | 0 | Kotlin | 0 | 0 | 7a0714dac29aae86b1a9f0fed7280d706c462c4e | 2,470 | instagram-like-backstack | Apache License 2.0 |
numeriko-core/src/main/kotlin/tomasvolker/numeriko/core/operations/reduction/DoubleReductions.kt | TomasVolker | 114,266,369 | false | null | package tomasvolker.numeriko.core.operations.reduction
import tomasvolker.numeriko.core.index.All
import tomasvolker.numeriko.core.interfaces.array1d.double.DoubleArray1D
import tomasvolker.numeriko.core.interfaces.array1d.integer.IntArray1D
import tomasvolker.numeriko.core.interfaces.array2d.double.DoubleArray2D
impo... | 8 | Kotlin | 1 | 3 | 1e9d64140ec70b692b1b64ecdcd8b63cf41f97af | 3,069 | numeriko | Apache License 2.0 |
src/main/kotlin/kitowashere/boiled_witchcraft/common/world/glyph/type/FireGlyphType.kt | AugustoMegener | 750,093,937 | false | {"Kotlin": 62440} | package kitowashere.boiled_witchcraft.common.world.glyph.type
import kitowashere.boiled_witchcraft.common.data.glyph.PillarGlyphData
class FireGlyphType : GlyphType.PrimaryGlyphType(listOf(1, 2, 3)) {
override fun newData(): PillarGlyphData = PillarGlyphData()
} | 0 | Kotlin | 0 | 1 | 5952266c28d9593b89be44c601fa9763f937451b | 268 | boiled_witchcraft | MIT License |
aareg/src/main/kotlin/no/nav/helse/sparkel/aareg/arbeidsforholdV2/StsRestClient.kt | navikt | 341,650,641 | false | null | package no.nav.helse.sparkel.aareg.arbeidsforholdV2
import com.fasterxml.jackson.module.kotlin.readValue
import io.ktor.client.*
import io.ktor.client.features.*
import io.ktor.client.request.*
import io.ktor.client.statement.*
import io.ktor.http.*
import kotlinx.coroutines.runBlocking
import no.nav.helse.sparkel.aar... | 0 | Kotlin | 0 | 1 | 1582a5129c10c88fbb2bf4d65492195042661809 | 1,739 | helse-sparkelapper | MIT License |
src/main/kotlin/io/github/dockyardmc/sounds/Sounds.kt | DockyardMC | 650,731,309 | false | {"Kotlin": 1019371} | package io.github.dockyardmc.sounds
import io.github.dockyardmc.DockyardServer
import io.github.dockyardmc.extentions.*
import io.github.dockyardmc.location.Location
import io.github.dockyardmc.player.Player
import io.github.dockyardmc.player.PlayerManager
import io.github.dockyardmc.protocol.packets.play.clientbound.... | 6 | Kotlin | 7 | 55 | 9a0eb8f3184123b79b835356ddde526d9eb6df65 | 2,959 | Dockyard | MIT License |
src/main/kotlin/com/IceCreamQAQ/SmartWeb/server/WebServer.kt | Yu-Works | 546,741,389 | false | {"Kotlin": 78653, "HTML": 191, "Java": 1} | package com.IceCreamQAQ.SmartWeb.server
import com.IceCreamQAQ.SmartWeb.http.websocket.WsAction
interface WebServer {
fun createWsAction(path: String, action: WsAction)
} | 0 | Kotlin | 0 | 3 | 428aaafaf98a32d5d44da4d6f12ed01a9a361919 | 182 | SmartWeb | Apache License 2.0 |
word-herd-server/src/main/kotlin/com/tripledip/wordherdserver/AuthenticationChecker.kt | benjamin-heasly | 136,988,497 | false | {"Kotlin": 17887, "JavaScript": 9376, "HTML": 1590, "Shell": 1534, "CSS": 711} | package com.tripledip.wordherdserver
import org.jboss.logging.Logger
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.RestController
import java.security.Principal
@RestController
class AuthenticationChecker {
val log = Logger.getLogger(AuthenticationChecker... | 0 | Kotlin | 0 | 0 | 9e41e79c0baf007b0bae0929c1d96977ba1f8536 | 537 | word-herd | The Unlicense |
app/src/main/java/com/msg/gcms/data/remote/dto/club/request/MemberManagementRequest.kt | GSM-MSG | 465,292,111 | false | null | package com.msg.gcms.data.remote.dto.club.request
data class MemberManagementRequest(
val q : String,
val type : String,
val userId : String
)
| 4 | Kotlin | 0 | 0 | 8239a015cc311b1631e0c6fc5047e231b5a7ec20 | 156 | GCMS-Android | MIT License |
korge-gradle-plugin-common/src/test/kotlin/com/soywiz/kproject/util/NewKProjectResolverTest.kt | korlibs | 80,095,683 | false | {"Kotlin": 4210038, "C": 105670, "C++": 20878, "HTML": 3853, "Swift": 1371, "JavaScript": 1068, "Shell": 439, "CMake": 202, "Batchfile": 41, "CSS": 33} | package com.soywiz.kproject.util
import com.soywiz.kproject.model.*
import kotlin.test.*
class NewKProjectResolverTest {
@Test
fun testResolver() {
val files = MemoryFiles().root
files["demo/kproject.yml"] = """
dependencies:
- ../demo2
""".trimIndent()
... | 464 | Kotlin | 123 | 2,497 | 1a565007ab748e00a4d602fcd78f7d4032afaf0b | 6,150 | korge | Apache License 2.0 |
app/src/main/java/com/example/pokedex/viewmodel/PokemonViewModelFactory.kt | GabrielDaCostaAlves | 843,550,258 | false | {"Kotlin": 15022} | package com.example.pokedex.viewmodel
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import com.example.pokedex.data.repository.PokemonRepository
class PokemonViewModelFactory(private val repository: PokemonRepository) : ViewModelProvider.Factory {
@Suppress("UNCHECKED_CAST")
... | 0 | Kotlin | 0 | 0 | de111916016c6b646b104c533a80c1d6a8b51db9 | 593 | Pokedex | MIT License |
return-to-wild/src/main/kotlin/com/briarcraft/rtw/change/repo/DependencyChanges.kt | toddharrison | 581,553,858 | false | null | package com.briarcraft.rtw.change.repo
import org.bukkit.Location
import org.bukkit.World
data class DependencyChanges(
val world: World,
val locations: List<Location>
) | 0 | Kotlin | 1 | 4 | 80528c8dbea16f3f7e3058785351eaba027c23a8 | 179 | BriarCode | MIT License |
_pending/android-super-hero-app/features/characters/characters-data/src/test/java/com/carlosrd/superhero/data/characters/datasource/remote/CharactersRemoteDataSourceTest.kt | luannguyen252 | 371,359,679 | false | null | package com.carlosrd.superhero.data.characters.datasource.remote
import com.carlosrd.superhero.data.characters.datasource.remote.model.CharactersDTO
import com.carlosrd.superhero.data.characters.datasource.remote.retrofit.CharactersService
import com.carlosrd.superhero.domain.characters.model.CharacterModel
import com... | 0 | Kotlin | 0 | 1 | a9b5aef8662a1808042c820c3dfac02e1efd5800 | 4,618 | my-android-journey | MIT License |
mvvm_rhine/src/main/java/com/qingmei2/rhine/ext/paging/PagingExt.kt | xiaowu55555 | 173,267,488 | true | {"Kotlin": 125811} | package com.qingmei2.rhine.ext.paging
import androidx.lifecycle.LiveData
import androidx.paging.DataSource
import androidx.paging.LivePagedListBuilder
import androidx.paging.PagedList
import androidx.paging.RxPagedListBuilder
import io.reactivex.BackpressureStrategy
import io.reactivex.Flowable
object Paging {
f... | 0 | Kotlin | 0 | 0 | 03c302232ee4ab2d079f0e48a19252933112cf6c | 3,923 | MVVM-Rhine | Apache License 2.0 |
app/src/main/kotlin/com/kentoapps/ministagram/di/module/ActivityModule.kt | kentoapps | 135,547,461 | false | null | package com.kentoapps.ministagram.di.module
import android.arch.lifecycle.ViewModelProvider
import com.kentoapps.ministagram.di.ViewModelFactory
import com.kentoapps.ministagram.ui.AccountActivity
import com.kentoapps.ministagram.ui.MainActivity
import dagger.Binds
import dagger.Module
import dagger.android.Contribute... | 0 | Kotlin | 7 | 18 | a40602027fbeb51d50362f21b49fef115c7d50b8 | 758 | Ministagram | Apache License 2.0 |
presentation-core/src/commonMain/kotlin/com.chrynan.presentation/BasePresenterFactory.kt | chRyNaN | 294,552,765 | false | null | @file:Suppress("unused")
package com.chrynan.presentation
/**
* An extension on a [PresenterFactory] that returns a [BasePresenter] instead of just a [Presenter].
*/
fun interface BasePresenterFactory<I : Intent, S : State, C : Change> : PresenterFactory<I, S, C> {
override fun invoke(view: View<I, S>): BasePr... | 0 | Kotlin | 0 | 4 | 60369f5f8f4cc166bb1bd1dab25198f27eb60771 | 361 | presentation | Apache License 2.0 |
src/Day02.kt | greg-burgoon | 573,074,283 | false | null | import java.util.*
fun main() {
val conclusionMap = mapOf(
"A X" to 3,
"A Y" to 6,
"A Z" to 0,
"B X" to 0,
"B Y" to 3,
"B Z" to 6,
"C X" to 6,
"C Y" to 0,
"C Z" to 3
)
val winLoseDrawMap = mapOf(
"A X" to "A Z",
"A Y" ... | 0 | Kotlin | 0 | 1 | 74f10b93d3bad72fa0fc276b503bfa9f01ac0e35 | 1,499 | aoc-kotlin | Apache License 2.0 |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/outline/FileAdd.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.outline
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.Companion.Miter... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 5,894 | icons | MIT License |
lib-ui/src/main/java/com/me/lib/ui/recycler/adapter/MuxAdapter.kt | pickerX | 311,518,829 | false | null | package com.me.lib.ui.recycler.adapter
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.me.lib.ui.recycler.ItemViewCreator
import com.me.lib.ui.recycler.ViewHolder
class MuxAdapter : RecyclerView.Adapter<ViewHolder<*>>() {
private val vi... | 0 | Kotlin | 0 | 0 | 28df25ec7879b3a4b08da844137fcbc8cde0399a | 1,487 | TMDB-collector | MIT License |
core/database/src/main/java/com/hanbikan/nook/core/database/translator/CollectionTranslator.kt | hanbikan | 737,877,468 | false | {"Kotlin": 247435} | package com.hanbikan.nook.core.database.translator
import com.hanbikan.nook.core.database.entity.FishEntity
import com.hanbikan.nook.core.domain.model.Fish
fun FishEntity.toDomain(): Fish {
return Fish(
id = id,
userId = userId,
name = name,
number = number,
imageUrl = imag... | 0 | Kotlin | 0 | 0 | c0d9dd3584778d98d39d546858a561343397ea43 | 658 | Nook | Apache License 2.0 |
src/feature_details/src/main/kotlin/com/gabrielbmoro/moviedb/details/ui/widgets/TextUrl.kt | gabrielbmoro | 574,746,759 | false | {"Kotlin": 162208} | package com.gabrielbmoro.moviedb.details.ui.widgets
import androidx.compose.foundation.text.ClickableText
import androidx.compose.material3.MaterialTheme
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.platform.LocalUriHandler
import androidx.compose.ui.text.bu... | 3 | Kotlin | 2 | 39 | 7c07b093340042b736a5b7ce6b57c1dafe18a6b9 | 1,223 | MovieDB-Android | MIT License |
client/src/main/java/ru/memebattle/feature/onboarding/page/OnboardingPageFragment.kt | MrSwimmer | 285,444,414 | false | null | package ru.memebattle.feature.onboarding.page
import android.os.Bundle
import android.view.View
import androidx.core.view.isVisible
import androidx.fragment.app.Fragment
import kotlinx.android.synthetic.main.fragment_onboarding_page.*
import ru.memebattle.R
/**
* Фрагмент одной страницы ViewPager'а онбодинга.
*/
cl... | 0 | Kotlin | 0 | 1 | ffea058e2ea8ea3f3a862e0639c518645f495578 | 1,641 | memeapp | Apache License 2.0 |
androidApp/src/main/java/com/amc/acieslinski/simplegiftapp/android/ui/scanner/BarCodeAnalyzer.kt | acieslinski | 777,244,363 | false | {"Kotlin": 71875, "Swift": 15526} | package com.amc.acieslinski.simplegiftapp.android.ui.scanner
import android.annotation.SuppressLint
import androidx.camera.core.ImageAnalysis
import androidx.camera.core.ImageProxy
import com.google.mlkit.vision.barcode.BarcodeScannerOptions
import com.google.mlkit.vision.barcode.BarcodeScanning
import com.google.mlki... | 0 | Kotlin | 0 | 0 | b8f62adb8b31d612df1cc222302d787816224cf4 | 1,430 | simplegiftapp | Apache License 2.0 |
library/src/main/kotlin/dev/niltsiar/easycrypt/EasyCryptInitProvider.kt | niltsiar | 188,866,823 | false | null | package dev.niltsiar.easycrypt
import android.content.ContentProvider
import android.content.ContentValues
import android.content.Context
import android.content.pm.ProviderInfo
import android.database.Cursor
import android.net.Uri
class EasyCryptInitProvider : ContentProvider() {
companion object {
@Jvm... | 0 | Kotlin | 0 | 0 | 18578409841bd3e20cdcc82fc2b64030aa8b39ba | 1,726 | easycrypt | Apache License 2.0 |
example/src/main/kotlin/com/expedia/graphql/sample/query/ResolverInterfaceQueries.kt | tkruener | 196,866,673 | true | {"Kotlin": 324093, "HTML": 20063, "Shell": 2927} | package com.expedia.graphql.sample.query
import com.expedia.graphql.sample.resolvers.Query
import com.expedia.graphql.sample.resolvers.Resolver
import org.springframework.stereotype.Component
interface Vehicle<X : Vehicle<X>> : VehicleResolverI<X> {
fun move(meters: Int): String
val color: String
}
interface Vehi... | 0 | Kotlin | 0 | 0 | 5197d3245b6d24fbdac3380b9f28e14115eb0377 | 1,234 | graphql-kotlin | Apache License 2.0 |
precompose/src/commonMain/kotlin/moe/tlaster/precompose/lifecycle/LifecycleRegistry.kt | Tlaster | 349,750,473 | false | {"Kotlin": 191657} | package moe.tlaster.precompose.lifecycle
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.StateFlow
import kotlinx.coroutines.flow.asStateFlow
class LifecycleRegistry : Lifecycle {
private var observers: List<LifecycleObserver> = emptyList()
private val _currentStateFlow = Mutabl... | 40 | Kotlin | 49 | 849 | 276c933397d94b8dfc60b809942bc38b23d945bd | 1,510 | PreCompose | MIT License |
app/src/main/java/com/example/fitpeo/data/repository/local/JsonDataSource.kt | Tabishahmad | 669,515,444 | false | null | package com.example.fitpeo.data.repository.local
import android.content.Context
import androidx.paging.PagingSource
import androidx.paging.PagingState
import com.example.fitpeo.common.MAX_PAGE
import com.example.fitpeo.data.repository.model.AlbumDTO
import com.example.fitpeo.domain.model.Album
import com.google.gson.G... | 0 | Kotlin | 0 | 0 | dde4964584dd2cec066eb0b0272d84c36349ab8c | 2,248 | Content-Showcase-App | MIT License |
presentation/src/main/java/com/movingmaker/presentation/util/BindingAdapter.kt | Comment-Diary | 458,682,004 | false | null | package com.movingmaker.presentation.util
import android.annotation.SuppressLint
import android.app.Activity
import android.view.View
import android.view.WindowManager
import android.widget.ImageView
import android.widget.ProgressBar
import android.widget.TextView
import androidx.appcompat.content.res.AppCompatResourc... | 7 | Kotlin | 1 | 2 | cf9f329970d83181c41a6cfc0470cd2712301f6f | 10,414 | CommentDiary-AOS | MIT License |
app/src/main/java/com/mati/automaster/data/MainItemModel.kt | mr-mati | 756,311,850 | false | {"Kotlin": 145918} | package com.mati.automaster.data
import android.os.Parcelable
import kotlinx.parcelize.Parcelize
@Parcelize
data class MainItemModel(
val ID: Int,
val title: String,
val image: Int,
) : Parcelable
| 0 | Kotlin | 0 | 0 | 6243239a888dd1d85eb5fad23cf06df9003b252d | 211 | AutoMaster | MIT License |
app/src/main/java/com/pokemon/go/data/remote/responses/MoveX.kt | hdmor | 757,383,118 | false | {"Kotlin": 46545} | package com.pokemon.go.data.remote.responses
data class MoveX(
val name: String,
val url: String
) | 0 | Kotlin | 0 | 0 | 575b0a6ba631bb9b2d48f1fa403528af851c85df | 107 | pokemon | MIT License |
src/main/kotlin/leetcode/kotlin/tree/102. Binary Tree Level Order Traversal.kt | sandeep549 | 251,593,168 | false | null | package leetcode.kotlin.tree
import java.util.*
import kotlin.collections.ArrayList
private fun levelOrder(root: TreeNode?): List<List<Int>> {
val res = mutableListOf<MutableList<Int>>()
if (root == null) return res
val q = ArrayDeque<TreeNode>()
q.add(root)
while (!q.isEmpty()) {
var size... | 0 | Kotlin | 0 | 0 | 9cf6b013e21d0874ec9a6ffed4ae47d71b0b6c7b | 646 | kotlinmaster | Apache License 2.0 |
android/flippertabular/src/main/java/me/haroldmartin/flipper/tabular/FlipperExt.kt | hbmartin | 357,045,056 | false | {"TypeScript": 7647, "Kotlin": 6193, "JavaScript": 4054} | /**
* Copyright (c) 2021 <NAME>.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package me.haroldmartin.flipper.tabular
import com.facebook.flipper.core.FlipperObject
internal fun Map<String, Any>.toFlipperObject(): FlipperObject ... | 0 | TypeScript | 0 | 1 | 78f2551b499d9c1f4599affb3614d3506a4cfb7b | 404 | flipper-plugin-tabular | MIT License |
app/src/main/java/com/example/instagramapplication/Post.kt | rdd43 | 553,217,024 | false | null | package com.example.instagramapplication
import android.util.Log
import com.parse.ParseClassName
import com.parse.ParseFile
import com.parse.ParseObject
import com.parse.ParseUser
import java.io.File
import java.util.*
//decs, user, file
@ParseClassName("Post")
class Post : ParseObject() {
fun getDescription():S... | 3 | Kotlin | 0 | 0 | 5ef51c573b890dc08edb529bce071fb5abd791ae | 1,102 | InstagramApplication | Apache License 2.0 |
sisterhood-core/src/commonMain/kotlin/sisterhood/business/commands/CommandProp.kt | trinity-library | 821,523,435 | false | {"Kotlin": 49468, "JavaScript": 21486} | package sisterhood.business.commands
import sisterhood.domain.PrintFactory
class CommandProp(
val printFactory: PrintFactory
)
| 0 | Kotlin | 0 | 0 | 538470b8dfceb920ab6b3546ea144382fd6d5d90 | 133 | sisterhood | MIT License |
app/src/main/java/com/imnstudios/runningapp/other/SortType.kt | imnithish | 278,848,739 | false | null | package com.imnstudios.runningapp.other
enum class SortType {
DATE, RUNNING_TIME, AVG_SPEED, DISTANCE, CALORIES_BURNED
} | 0 | Kotlin | 2 | 9 | 7d1a0da914babeba7a1f794dfcb3404dd51237d2 | 125 | running_app | Apache License 2.0 |
app/src/main/java/com/alexzh/composeplayground/ui/demo/dropdown/DemoDropDownMenu.kt | AlexZhukovich | 363,830,311 | false | null | package com.alexzh.composeplayground.ui.demo.dropdown
import android.widget.Toast
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.*
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.Add
import androidx.compose.material.icons.filled.Image
... | 0 | Kotlin | 0 | 9 | b5b2c7b4333d5c13f598f91e55cb4d7e00a869dc | 22,920 | ComposePlayground | MIT License |
db-async-common/src/main/java/com/github/jasync/sql/db/column/InetAddressEncoderDecoder.kt | franklx | 305,075,610 | true | {"Kotlin": 706487, "Java": 19240, "Shell": 3903} | package com.github.jasync.sql.db.column
import com.google.common.net.InetAddresses
import java.net.InetAddress
object InetAddressEncoderDecoder : ColumnEncoderDecoder {
override fun decode(value: String): Any = InetAddresses.forString(value)
override fun encode(value: Any): String {
return (value as... | 0 | Kotlin | 0 | 0 | 6b03a85f76b6ddf6ed5de2f3912cb037c46f6d43 | 354 | jasync-sql | Apache License 2.0 |
app/src/main/java/com/example/tonwalletapp/presentation/screen/main_wallet_screen/view/send_ton/SendTonViewController.kt | larkes-cyber | 619,220,724 | false | {"Kotlin": 268960} | package com.example.tonwalletapp.presentation.screen.main_wallet_screen.view.send_ton
import android.util.Log
import androidx.lifecycle.ViewModel
import com.example.tonwalletapp.domain.model.WalletDetail
import com.example.tonwalletapp.until.Constants.CONFIRM_TRANSFER_PROGRESS
import com.example.tonwalletapp.until.Con... | 0 | Kotlin | 0 | 2 | cc4822a1690c45f0d28b0ae3ff118de49c52855c | 2,794 | CryptoWalletApp | Apache License 2.0 |
ok-marketplace-rv-be-repository-cassandra/src/main/kotlin/ru/otus/otuskotlin/marketplace/backend/repository/cassandra/arts/ArtCassandraDao.kt | otuskotlin | 327,230,292 | false | null | package ru.otus.otuskotlin.marketplace.backend.repository.cassandra.arts
import com.datastax.oss.driver.api.mapper.annotations.*
import com.google.common.util.concurrent.ListenableFuture
@Dao
interface ArtByIdCassandraDao {
@Insert
@StatementAttributes(consistencyLevel = "ONE")
fun createAsync(dto: ArtByI... | 0 | Kotlin | 0 | 0 | 9748129f56f26761f8a757a06927ca46bd3905b1 | 1,610 | otuskotlin-202012-marketplace-rv | MIT License |
app/src/main/java/com/example/weatherapplication/ui/Forecast/ForecastViewModel.kt | JyothiGunnam29 | 864,795,329 | false | {"Kotlin": 62154, "Java": 1165} | package com.example.weatherapplication.ui.Forecast
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.example.weatherapplication.data.ForecastResult
class ForecastViewModel : ViewModel() {
private var forecastResult = MutableLiveData<Forecas... | 0 | Kotlin | 0 | 0 | bdfacafee3e24d9de0994c2d0946c5e56e41cbc9 | 729 | WeatherApplication | MIT License |
src/main/kotlin/bsu/cc/Styles.kt | JordanPaoletti | 167,065,523 | false | null | package bsu.cc
import javafx.geometry.Pos
import javafx.scene.paint.Color
import javafx.scene.paint.CycleMethod
import javafx.scene.paint.LinearGradient
import javafx.scene.paint.Stop
import javafx.scene.text.Font
import javafx.scene.text.FontWeight
import javafx.scene.text.TextAlignment
import tornadofx.*
import java... | 4 | Kotlin | 1 | 0 | 0b17d34f45cb162e82c76546708dca0c739880ae | 1,876 | Conflict_Checker | MIT License |
common/common.consul/common.consul.model/src/main/kotlin/org/eclipse/slm/common/consul/model/catalog/CatalogDeregistration.kt | 408b7f8b | 790,281,437 | true | {"JSON": 26, "Maven POM": 62, "Markdown": 31, "Git Attributes": 1, "Text": 2, "Ignore List": 6, "YAML": 184, "XML": 7, "Java": 317, "Kotlin": 208, "HTTP": 11, "JavaScript": 67, "Dotenv": 7, "JSON with Comments": 2, "Dockerfile": 25, "Browserslist": 1, "HTML": 2, "Vue": 117, "SCSS": 2, "Sass": 15, "SVG": 2, "HCL": 16, "... | package org.eclipse.slm.common.consul.model.catalog
import com.fasterxml.jackson.annotation.JsonInclude
import com.fasterxml.jackson.annotation.JsonProperty
@JsonInclude(JsonInclude.Include.NON_NULL)
class CatalogDeregistration {
@JsonProperty("Datacenter")
var datacenter: String? = null
@JsonProperty("... | 0 | null | 0 | 0 | 6ccf80fb0f55f4cd65890d689193c8fd47c7db4d | 664 | slm | Apache License 2.0 |
compiler/ir/ir.tree/src/org/jetbrains/kotlin/ir/expressions/impl/IrSyntheticBodyImpl.kt | google | 219,902,853 | true | {"Markdown": 177, "Gradle": 404, "Gradle Kotlin DSL": 1123, "Java Properties": 30, "Shell": 43, "Ignore List": 21, "Batchfile": 21, "Git Attributes": 8, "JSON": 199, "XML": 803, "Kotlin": 54041, "INI": 194, "Java": 3633, "Text": 21765, "JavaScript": 315, "JAR Manifest": 2, "Roff": 256, "Roff Manpage": 52, "Protocol Buf... | /*
* Copyright 2010-2024 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.ir.expressions.impl
import org.jetbrains.kotlin.ir.expressions.IrSyntheticBody
i... | 1 | Kotlin | 51 | 152 | e302420197acfd51c6ffe53866d69fcb5b2bb5c7 | 544 | kotlin | Apache License 2.0 |
app/src/main/java/com/example/worldcup2022/App.kt | noname6996-tta | 596,634,213 | false | {"Gradle": 5, "JSON": 864, "Java Properties": 8, "Markdown": 5, "Shell": 2, "Text": 24, "HTML": 1, "Batchfile": 2, "INI": 8, "Proguard": 11, "XML": 556, "Kotlin": 191, "Java": 335, "SQL": 4, "Unix Assembly": 2, "Motorola 68K Assembly": 9, "Ignore List": 1} | package com.example.worldcup2022
import android.app.Application
import android.content.Context
import com.example.worldcup2022.ui.component.splash.SplashActivity
import com.google.firebase.FirebaseApp
import com.proxglobal.proxads.adsv2.admax.openads.AppOpenManager
import com.proxglobal.proxads.adsv2.admax.openads.Max... | 0 | Java | 0 | 0 | dbddd12debd5dcf85689a49f92555e5359edd130 | 949 | WorldCupApp | Apache License 2.0 |
app/src/main/java/com/aykuttasil/sweetloc/ui/fragment/entry/EntryFragment.kt | aykuttasil | 61,756,879 | false | {"Gradle Kotlin DSL": 3, "Gradle": 8, "Shell": 1, "Ignore List": 4, "Batchfile": 1, "Kotlin": 117, "Markdown": 1, "Java Properties": 2, "YAML": 2, "JSON": 2, "Proguard": 2, "Java": 10, "XML": 50, "HTML": 2, "Text": 1} | /* Author - <NAME>(@aykuttasil) */
package com.aykuttasil.sweetloc.ui.fragment.entry
import android.content.Intent
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.viewModels
import androidx.navigation.fragment.findNavContro... | 7 | Kotlin | 2 | 6 | 5b8e861e3feaa4ed9e90dfb9b252f1ac8d8a7ec2 | 4,495 | sweetloc | Apache License 2.0 |
app/src/main/java/io/github/drumber/kitsune/data/source/network/media/model/unit/NetworkChapter.kt | Drumber | 406,471,554 | false | {"Kotlin": 993796, "Ruby": 2109} | package io.github.drumber.kitsune.data.source.network.media.model.unit
import com.github.jasminb.jsonapi.annotations.Id
import com.github.jasminb.jsonapi.annotations.Type
import io.github.drumber.kitsune.data.common.Image
import io.github.drumber.kitsune.data.common.Titles
@Type("chapters")
data class NetworkChapter(... | 6 | Kotlin | 4 | 92 | ba6f2a69cb71a9fd71d4825921ff6d9b6300471e | 654 | Kitsune | Apache License 2.0 |
app/src/main/java/com/jrk/mood4food/model/api/Backend.kt | Honrix | 369,880,093 | false | null | package com.jrk.mood4food.model.api
import android.content.Context
import android.util.Log
import com.android.volley.Request
import com.android.volley.Response
import com.android.volley.toolbox.JsonArrayRequest
import com.android.volley.toolbox.JsonObjectRequest
import com.android.volley.toolbox.Volley
import com.goog... | 0 | null | 0 | 0 | fc086543ef8993e5e43d070d8754f60c94bda003 | 2,849 | Mood4Food | MIT License |
calendarLibrary/src/main/java/com/example/calendarlibrary/utils/BaseCalendarHelper.kt | LeoSvjetlicic | 830,402,028 | false | {"Kotlin": 79744} | package com.example.calendarlibrary.utils
import com.example.calendarlibrary.ui.calendar.ICalendarViewState
import java.time.DayOfWeek
import java.time.LocalDate
import java.time.Month
import java.time.format.TextStyle
import java.time.temporal.TemporalAdjusters
import java.util.Locale
abstract class BaseCalendarHelp... | 0 | Kotlin | 0 | 0 | fc4aa37c7d1fa4ad577de3af3726e0bb40964c4d | 1,723 | CalendarLibrary | MIT License |
katalog-server/src/main/kotlin/com/bol/katalog/store/BlobStoreExtensions.kt | csu-anzai | 206,344,543 | true | {"Kotlin": 518462, "TypeScript": 149231, "HTML": 52073, "Java": 44310, "CSS": 1442, "HCL": 1015, "Dockerfile": 653, "Shell": 528} | package com.bol.katalog.store
import com.fasterxml.jackson.databind.ObjectMapper
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule
import com.fasterxml.jackson.module.kotlin.KotlinModule
import com.fasterxml.jackson.module.kotlin.readValue
import java.net.URI
object BlobStoreObjectMapper {
private val m... | 0 | null | 0 | 0 | e85038804bc7c146732461d3ce8decb8a5034ba6 | 832 | katalog | Apache License 2.0 |
src/main/kotlin/com/manoharprabhu/pngtool/chunk/PLTEChunk.kt | manoharprabhu | 380,360,424 | false | null | package com.manoharprabhu.pngtool.chunk
import com.manoharprabhu.pngtool.exceptions.InvalidChunkDataException
class PLTEChunk(length: Int, type: ByteArray, data: ByteArray, crc: Int) : Chunk(length, type, data, crc) {
private val paletteEntries: List<PaletteEntry>
init {
if(length % 3 != 0) {
... | 0 | Kotlin | 0 | 0 | a2b492cc3981b798f174696617e6de5b0e67f0dd | 850 | PNGTool | MIT License |
app/src/main/java/com/rozoomcool/archibook/ui/components/AppNavBar.kt | rozoomcool | 740,731,116 | false | {"Kotlin": 32770} | package com.rozoomcool.archibook.ui.components
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.animateContentSize
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.interaction.MutableInteractionSource
imp... | 0 | Kotlin | 0 | 0 | 33eeaf686cb6dc774b6ece5fe725161a8ae47263 | 4,841 | taskmanager | MIT License |
code/src/main/kotlin/com/expediagroup/sdk/lodgingconnectivity/configuration/ClientConfiguration.kt | ExpediaGroup | 851,671,527 | false | {"Kotlin": 176924} | package com.expediagroup.sdk.lodgingconnectivity.configuration
import com.expediagroup.sdk.core.configuration.ExpediaGroupClientConfiguration
data class ClientConfiguration(
val key: String?,
val secret: String?,
val environment: ClientEnvironment?,
val requestTimeout: Long? = null,
val connection... | 5 | Kotlin | 0 | 0 | ba8232c1116444c5ae1857d71ff4e71a507dc033 | 3,204 | lodging-connectivity-java-sdk | Apache License 2.0 |
app/src/main/java/com/android/goally/ui/home/adapter/CopilotListAdapter.kt | saifi369 | 867,819,222 | false | {"Kotlin": 94182} | package com.android.goally.ui.home.adapter
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.android.goally.R
import com.android.goally.databinding.CopilotListItemBinding
import com.android.goally.ui.home.model.CopilotListItem
import com.bumpte... | 0 | Kotlin | 0 | 0 | c3cc5e87f37f2840f0f25d37752a22afee096daa | 1,670 | GoallyAssignment | Apache License 2.0 |
app/src/main/java/com/android/goally/ui/home/adapter/CopilotListAdapter.kt | saifi369 | 867,819,222 | false | {"Kotlin": 94182} | package com.android.goally.ui.home.adapter
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.android.goally.R
import com.android.goally.databinding.CopilotListItemBinding
import com.android.goally.ui.home.model.CopilotListItem
import com.bumpte... | 0 | Kotlin | 0 | 0 | c3cc5e87f37f2840f0f25d37752a22afee096daa | 1,670 | GoallyAssignment | Apache License 2.0 |
feature/motion/src/main/java/com/supergene/loki/feature/motion/MotionViewModel.kt | victory316 | 660,866,016 | false | {"Kotlin": 186029, "Java": 20240} | package com.supergene.loki.feature.motion
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.choidev.core.actions.VibrateAction
import com.choidev.core.actions.mapToId
import com.choidev.latesteffort.core.util.motion.AccelerometerData
import com.choidev.latesteffort.core.util.motio... | 8 | Kotlin | 0 | 0 | 7c233b5e26e5df8873ddb9fb5679f2a3935c854f | 4,876 | LatestEffort | Apache License 2.0 |
dsl/src/main/kotlin/cloudshift/awscdk/dsl/services/wafv2/CfnWebACLResponseInspectionPropertyDsl.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package cloudshift.awscdk.dsl.services.wafv2
import cloudshift.awscdk.common.CdkDslMarker
import software.amazon.awscdk.IResolvable
import sof... | 1 | Kotlin | 0 | 0 | 17c41bdaffb2e10d31b32eb2282b73dd18be09fa | 4,503 | awscdk-dsl-kotlin | Apache License 2.0 |
kotlin-in-action/src/main/kotlin/chapter10/Json.kt | highright96 | 499,829,960 | false | {"Kotlin": 114073, "Java": 941} | package chapter10
fun main() {
val person = Person("hi", 10)
//println(serialize(person))
val json = """
{
"name": "hi"
"age": 10
}
""".trimIndent()
//println(deserialize<Person>(json))
}
data class Person(
/*@JsonName("name")*/ val name: String,
/*... | 0 | Kotlin | 0 | 2 | c3cd06deba34ac5b1e60650c638af65034d6ac42 | 354 | kotlin-sandbox | MIT License |
ws-example/src/main/kotlin/com/github/hyeyoom/springexamples/wsexample/stomp/ChatMessageController.kt | hyeyoom | 234,559,842 | false | null | package com.github.hyeyoom.springexamples.wsexample.stomp
import com.github.hyeyoom.springexamples.wsexample.entity.ChatMessage
import org.springframework.context.annotation.Profile
import org.springframework.messaging.handler.annotation.MessageMapping
import org.springframework.messaging.simp.SimpMessagingTemplate
im... | 0 | Kotlin | 0 | 0 | 8d7f7a11b3a05ddf727ebd3a1ee40fe951fe0a28 | 882 | spring-examples | MIT License |
app/help/src/main/kotlin/studio/lunabee/onesafe/help/main/OverrideWithBackupDialog.kt | LunabeeStudio | 624,544,471 | false | {"Kotlin": 3214440, "Java": 11987, "Python": 3979} | package studio.lunabee.onesafe.help.main
import androidx.compose.runtime.Composable
import studio.lunabee.compose.core.LbcTextSpec
import studio.lunabee.onesafe.commonui.OSString
import studio.lunabee.onesafe.commonui.dialog.DialogAction
import studio.lunabee.onesafe.dialog.OSDefaultAlertDialog
@Composable
internal f... | 1 | Kotlin | 1 | 2 | 2f1ff3aad95c748090c695743258fe3056fc6028 | 1,053 | oneSafe6_SDK_Android | Apache License 2.0 |
components/home/src/commonMain/kotlin/com/nikitakrapo/monkeybusiness/home/HomeDependencies.kt | nikitakrapo | 529,813,711 | false | null | package com.nikitakrapo.monkeybusiness.home
import com.nikitakrapo.account.AccountManager
import com.nikitakrapo.analytics.AnalyticsManager
import com.nikitakrapo.monkeybusiness.finance.account.BankAccountsRepository
import com.nikitakrapo.monkeybusiness.finances.FinancesDependencies
import com.nikitakrapo.monkeybusin... | 0 | Kotlin | 0 | 3 | af1dd192014c4e181cbc31be880579997bf6608b | 1,176 | Monkey-Business | Apache License 2.0 |
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/Dna2.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,897 | compose-icon-collections | MIT License |
features/library/src/main/java/taiwan/no/one/feat/library/domain/usecases/UpdatePlaylistOneShotCase.kt | pokk | 263,073,196 | false | null | /*
* MIT License
*
* Copyright (c) 2021 Jieyi
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, me... | 2 | Kotlin | 3 | 16 | 6d173194dcd3c44db46dfe6b0ef691b9322da975 | 4,182 | DropBeat | MIT License |
vector/src/main/java/im/vector/riotx/features/home/room/detail/composer/ComposerEditText.kt | michaelwechner | 224,202,170 | true | {"Kotlin": 3784708, "Java": 24146, "HTML": 22673, "Shell": 20887} | /*
* Copyright 2019 New Vector Ltd
*
* 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 i... | 0 | null | 0 | 0 | 4690754f5fafda66915a1a5dd3389b0497ac1e6c | 2,405 | riotX-android | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.