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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
rounded/src/commonMain/kotlin/me/localx/icons/rounded/bold/AgeRestrictionSeven.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.bold
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
im... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 3,784 | icons | MIT License |
src/lib/kotlin/slatekit-tests/src/test/kotlin/test/setup/SampleMiddlewareApi.kt | slatekit | 55,942,000 | false | null | package test.setup
import slatekit.apis.ApiRequest
import slatekit.apis.ApiResult
import slatekit.apis.Middleware
import slatekit.results.*
import slatekit.results.builders.Outcomes
open class SampleMiddlewareApi : Middleware {
// Used for demo/testing purposes
var middlewareHook = mutableListOf<ApiRequest>... | 6 | Kotlin | 12 | 107 | f8ae048bc7d19704a2558e1d02374e98782e7b47 | 773 | slatekit | Apache License 2.0 |
app/src/main/java/com/flexcode/devspace/quotes/data/local/QuotesDatabase.kt | Felix-Kariuki | 533,876,693 | false | null | package com.flexcode.devspace.quotes.data.local
import androidx.room.Database
import androidx.room.RoomDatabase
import com.flexcode.devspace.quotes.data.local.dao.QuotesDao
import com.flexcode.devspace.quotes.data.local.entity.QuotesEntity
@Database(entities = [QuotesEntity::class], version = 1, exportSchema = false)... | 0 | Kotlin | 1 | 6 | 64fa5ef872adeb4c746accdbabe7cfd6c468cfc8 | 411 | DevSpace | MIT License |
src/cafe/Menu.kt | codetober | 160,382,283 | false | null | package com.codetober.cafe
class Menu(){
val items: List<MenuItem> = listOf(MenuItem(name = "Zero-Gravity Mocha", description = "It gives you jumping boots!"))
fun getItemByName(itemName: String): MenuItem {
return items.first { item -> item.name == itemName }
}
// override fun toString(): Str... | 0 | Kotlin | 0 | 0 | cba1cbb2bb8153d5a7600bf27297fcb802cfffab | 355 | kotlin-classes | MIT License |
shared/src/androidMain/kotlin/link/peipei/countmoney/App.kt | haoxikang | 675,957,687 | false | {"Kotlin": 181587, "Swift": 710, "Ruby": 361, "Shell": 228} | package link.peipei.countmoney
import android.app.Application
class App : Application() {
companion object {
private lateinit var instance: App
fun getInstance(): App {
return instance
}
}
override fun onCreate() {
super.onCreate()
instance = this
}... | 0 | Kotlin | 1 | 2 | 4cc2cc4c606938c97c271aab2b4adb0ffc4c1a61 | 322 | KMM-CountMoney | Apache License 2.0 |
app/src/main/java/com/tavant/demo/di/MyApplication.kt | reeteshkumar39 | 645,061,646 | false | null | package com.tavant.demo.di
import android.app.Application
import dagger.hilt.android.HiltAndroidApp
//Application class
@HiltAndroidApp
class MyApplication: Application() | 0 | Kotlin | 0 | 0 | 8c0bdc0c0d31f149b93437879984c0edebcc3cda | 171 | tavant_demo | MIT License |
moove/legacy-moove/src/main/kotlin/io/charlescd/moove/legacy/moove/controller/AuthInfoController.kt | xereda | 273,485,521 | false | null | /*
* Copyright 2020 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | 0 | null | 0 | 1 | d2597bf8a29920050ed0f566fa9846b9fc9eaaae | 3,827 | charlescd | Apache License 2.0 |
mobile/src/main/java/com/google/samples/apps/iosched/ui/map/MapVariantAdapter.kt | google | 18,347,476 | false | null | /*
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 77 | null | 6259 | 21,755 | 738e1e008096fad5f36612325275e80c33dbe436 | 3,474 | iosched | Apache License 2.0 |
Oxygen/bukkit/src/main/kotlin/cc/fyre/stark/engine/menu/buttons/BackButton.kt | AndyReckt | 364,514,997 | false | {"Java": 12055418, "Kotlin": 766337, "Shell": 5518} | /*
* Copyright (c) 2020.
* Created by YoloSanta
* Created On 10/22/20, 1:23 AM
*/
package cc.fyre.stark.engine.menu.buttons
import cc.fyre.stark.engine.menu.Button
import cc.fyre.stark.util.Callback
import org.bukkit.Material
import org.bukkit.entity.Player
import org.bukkit.event.inventory.ClickType
import java.... | 1 | null | 1 | 1 | 200501c7eb4aaf5709b4adceb053fee6707173fa | 853 | Old-Code | Apache License 2.0 |
src/test/kotlin/org/nexial/core/ResourceBundleTest.kt | nexiality | 118,983,002 | false | null | /*
* Copyright 2012-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | 2 | null | 9 | 42 | 776668ea5ee65183a84f09eca52e7e79eb6665af | 2,989 | nexial-core | Apache License 2.0 |
kotlin-analysis-api/src/main/kotlin/com/google/devtools/ksp/cmdline/KSPJsMain.kt | google | 297,744,725 | false | null | package com.google.devtools.ksp.cmdline
import com.google.devtools.ksp.processing.kspJsArgParser
import com.google.devtools.ksp.processing.kspJsArgParserHelp
class KSPJsMain {
companion object {
@JvmStatic
fun main(args: Array<String>) {
if ("-h" in args || "--help" in args) {
... | 370 | null | 268 | 2,854 | a977fb96b05ec9c3e15b5a0cf32e8e7ea73ab3b3 | 468 | ksp | Apache License 2.0 |
src/main/kotlin/com/github/jactor/persistence/dto/BlogDto.kt | iuriimattos2 | 411,934,857 | true | {"Java": 198556, "Kotlin": 10425, "Shell": 810, "JavaScript": 301, "Dockerfile": 241} | package com.github.jactor.persistence.dto
import java.time.LocalDate
data class BlogDto(
var persistentDto: PersistentDto? = null,
var created: LocalDate? = null,
var title: String? = null,
var userInternal: UserInternalDto? = null
) : PersistentData(persistentDto) {
constructor(
... | 0 | null | 0 | 0 | 00c07e0ece08dd0ade04d73ebeaf2d9987062950 | 461 | jactor-persistence | MIT License |
airbyte-workload-launcher/src/main/kotlin/client/StatusUpdater.kt | ogomaemmanuel | 711,154,614 | true | {"Java Properties": 2, "Shell": 54, "Markdown": 64, "Batchfile": 1, "Java": 1443, "Dockerfile": 20, "Python": 20, "Gradle Kotlin DSL": 4, "Kotlin": 166, "INI": 6, "TypeScript": 423, "JavaScript": 21, "HTML": 5, "CSS": 3, "SQL": 14} | package io.airbyte.workload.launcher.client
import io.airbyte.api.client2.AirbyteApiClient2
import io.airbyte.api.client2.model.generated.WorkloadStatus
import io.airbyte.api.client2.model.generated.WorkloadStatusUpdateRequest
import io.airbyte.workload.launcher.pipeline.StageError
import io.airbyte.workload.launcher.... | 0 | null | 0 | 0 | 77510e0048d772cb95b86b3a64e0a8c04702c721 | 1,156 | airbyte-platform | MIT License |
coffee-system/src/main/kotlin/org/jesperancinha/coffee/system/manager/PaymentProcessor.kt | jesperancinha | 44,446,487 | false | {"Shell": 2, "Markdown": 4, "Maven POM": 3, "Text": 3, "Ignore List": 1, "Makefile": 1, "YAML": 6, "Kotlin": 32, "XML": 4, "Java Properties": 2} | package org.jesperancinha.coffee.system.manager
import org.jesperancinha.coffee.system.api.concurrency.QueueCallable
import org.jesperancinha.coffee.system.concurrency.PaymentCallable
import org.jesperancinha.coffee.system.input.CoffeeMachines.CoffeeMachine.PaymentTypes.Payment
import org.jesperancinha.coffee.system.i... | 0 | Kotlin | 0 | 1 | 82ef1b5df6463955bd85c48c0acbd485421b4006 | 1,853 | coffee-paradigms-version-1 | Apache License 2.0 |
fxgl-cutscene/src/main/kotlin/com/almasb/fxgl/cutscene/CutsceneDialogLine.kt | xlj44400 | 343,617,328 | false | null | /*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB (<EMAIL>).
* See LICENSE for details.
*/
package com.almasb.fxgl.cutscene
/**
*
*
* @author <NAME> (<EMAIL>)
*/
data class CutsceneDialogLine(
/**
* Who says this line.
*/
val owner: String,
... | 0 | null | 0 | 1 | b6a6b13205e73924cdb82bc56f35b06a7430eb3a | 391 | FXGL | MIT License |
app/src/main/java/org/softeg/slartus/forpdaplus/fragments/topic/editpost/tasks/AcceptEditTask.kt | slartus | 21,554,455 | false | null | package org.softeg.slartus.forpdaplus.fragments.topic.editpost.tasks
import org.softeg.slartus.forpdaapi.post.EditPost
import org.softeg.slartus.forpdaapi.post.EditPostParams
import org.softeg.slartus.forpdaapi.post.PostApi
import org.softeg.slartus.forpdaplus.Client
import org.softeg.slartus.forpdaplus.R
import org.s... | 16 | null | 17 | 86 | 03dfdb68c1ade272cf84ff1c89dc182f7fe69c39 | 1,229 | 4pdaClient-plus | Apache License 2.0 |
Kotiln/payment-service/src/main/kotlin/core/paymentservice/service/PaymentEventService.kt | bekurin | 558,176,225 | false | {"Git Config": 1, "Text": 12, "Ignore List": 96, "Markdown": 58, "YAML": 55, "JSON with Comments": 2, "JSON": 46, "HTML": 104, "robots.txt": 6, "SVG": 10, "TSX": 15, "CSS": 64, "Gradle Kotlin DSL": 107, "Shell": 72, "Batchfile": 71, "HTTP": 15, "INI": 112, "Kotlin": 682, "EditorConfig": 1, "Gradle": 40, "Java": 620, "J... | package core.paymentservice.service
import core.paymentservice.domain.PaymentEvent
import core.paymentservice.repository.PaymentEventRepository
import org.springframework.stereotype.Service
import org.springframework.transaction.reactive.TransactionalOperator
import reactor.core.publisher.Mono
@Service
class PaymentE... | 0 | Java | 0 | 2 | ede7cdb0e164ed1d3d2ee91c7770327b2ee71e4d | 856 | blog_and_study | MIT License |
jwt/src/main/kotlin/io/solarconnect/security/jwt/auth/JwtAuthenticationProvider.kt | solarconnect-io | 108,113,733 | false | null | package kr.scripton.biz.jwt.auth
import org.springframework.security.authentication.AuthenticationProvider
import org.springframework.security.core.Authentication
class JwtAuthenticationProvider<USER_ID, JWT_USER : JwtUser<USER_ID>> : AuthenticationProvider {
private val authenticationManager: JwtAuthenticationMana... | 1 | null | 1 | 1 | 94e4d8e907bbc607c1bd7c9d12d352b4729b5ef6 | 766 | spring-security-business | MIT License |
app/src/main/java/com/jsongo/app/ui/main/MainActivity.kt | MasterRun | 198,136,332 | false | null | package com.jsongo.app.ui.main
import android.app.Activity
import android.content.Intent
import android.graphics.Color
import android.os.Bundle
import android.view.KeyEvent
import androidx.core.content.ContextCompat
import androidx.fragment.app.FragmentStatePagerAdapter
import androidx.lifecycle.Observer
import androi... | 1 | null | 1 | 4 | fdd91a892fa1260898b9a44d551ca773692a6b87 | 8,250 | MyBaseFrm | Apache License 2.0 |
tmp/arrays/youTrackTests/9895.kt | DaniilStepanov | 228,623,440 | false | {"Git Config": 1, "Gradle": 6, "Text": 3, "INI": 5, "Shell": 2, "Ignore List": 3, "Batchfile": 2, "Markdown": 2, "Kotlin": 15942, "JavaScript": 4, "ANTLR": 2, "XML": 12, "Java": 4} | // Original bug: KT-10044
open class JClass(ctx: Any)
class Example : JClass {
constructor(ctx: Any) : super(ctx)
private var obj: Any? = null
init {
{
obj?.let { }
}()
}
}
fun main(args: Array<String>) {
Example("13")
}
| 1 | null | 8 | 1 | 602285ec60b01eee473dcb0b08ce497b1c254983 | 275 | bbfgradle | Apache License 2.0 |
processor/src/test/kotlin/net/octyl/aptcreator/processor/BasicProcessorTest.kt | octylFractal | 154,010,824 | false | {"Java": 35597, "Kotlin": 35248} | package net.octyl.aptcreator.processor
import com.google.common.io.Resources
import com.google.testing.compile.Compilation
import com.google.testing.compile.CompilationSubject
import com.google.testing.compile.CompilationSubject.assertThat
import com.google.testing.compile.Compiler
import com.google.testing.compile.Ja... | 1 | null | 1 | 1 | b2709a3f29f6bed298aea2a71c0b69a586c9141d | 4,465 | apt-creator | MIT License |
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/bulk/Arrowsquareup.kt | Tlaster | 560,394,734 | false | {"Kotlin": 25133302} | package moe.tlaster.icons.vuesax.vuesaxicons.bulk
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.co... | 0 | Kotlin | 0 | 2 | b8a8231e6637c2008f675ae76a3423b82ee53950 | 2,907 | VuesaxIcons | MIT License |
app/src/main/kotlin/org/misumirize/hackernews/app/StoryListPresenter.kt | MisumiRize | 43,597,283 | false | null | package org.misumirize.hackernews.app
import android.os.Bundle
import rx.android.schedulers.AndroidSchedulers
import javax.inject.Inject
class StoryListPresenter(val view: StoryView) {
var hackerNewsService: HackerNewsService? = null
@Inject set
fun onCreate(savedInstanceState: Bundle?) {
if... | 1 | Kotlin | 1 | 1 | 65c41a39fc45d88f7025d40f840c61e3205122bd | 691 | HackerNews-Android | MIT License |
app/src/main/java/com/capstone/agrovision/data/remote/retrofit/ApiConfig.kt | C241-PS206 | 817,614,310 | false | {"Kotlin": 81324, "JavaScript": 24372, "Dockerfile": 132, "CSS": 111} | package com.capstone.agrovision.data.remote.retrofit
import com.capstone.agrovision.BuildConfig
import okhttp3.OkHttpClient
import okhttp3.logging.HttpLoggingInterceptor
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
object ApiConfig {
private const val BASE_URL_AGRO = BuildConfig.... | 0 | Kotlin | 0 | 0 | 725356a64b48b70852837b465d52ad4acb125410 | 1,491 | MD-main-app | MIT License |
composeApp/src/commonMain/kotlin/component/TextComponent.kt | miuix-kotlin-multiplatform | 838,760,422 | false | {"Kotlin": 275757, "HTML": 1142, "Swift": 629} | package component
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.expandVertically
import androidx.compose.animation.fadeIn
import androidx.compose.animation.fadeOut
import androidx.compose.animation.shrinkVertically
import androidx.compose.foundation.Image
import androidx.compos... | 1 | Kotlin | 1 | 22 | 3296ed6dd89a670b99a46d3f61095dfdcae6aa07 | 9,622 | miuix | Apache License 2.0 |
src/commonMain/kotlin/com.bay.aiclient/api/cohere/Internal.kt | bay73 | 865,265,432 | false | {"Kotlin": 64524} | package com.bay.aiclient.api.cohere
import kotlinx.serialization.Serializable
@Serializable
data class CohereHttpChatRequest(
val message: String,
val stream: Boolean = false,
val model: String? = null,
val preamble: String? = null,
val chat_history: List<CohereHttpChatMessage>? = null,
val te... | 0 | Kotlin | 0 | 0 | 618d1023a0a0d7c2c2ae2862aa7231f924aac1e4 | 1,317 | generic-ai | MIT License |
environment/src/main/kotlin/jetbrains/exodus/tree/patricia/SinglePageImmutableNode.kt | JetBrains | 19,271,154 | false | null | /*
* Copyright 2010 - 2023 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | 1 | Java | 114 | 1,095 | 0a0fd05209606f7d4e443e5cd168797c7ebe9743 | 21,295 | xodus | Apache License 2.0 |
kotlin-js/src/jsMain/kotlin/js/iterable/JsIterator.kt | JetBrains | 93,250,841 | false | {"Kotlin": 12635434, "JavaScript": 423801} | @file:Suppress(
"WRONG_BODY_OF_EXTERNAL_DECLARATION",
"INLINE_EXTERNAL_DECLARATION",
"NON_ABSTRACT_MEMBER_OF_EXTERNAL_INTERFACE",
"DECLARATION_CANT_BE_INLINED",
"NOTHING_TO_INLINE",
)
package js.iterable
import js.array.ReadonlyArray
@JsName("Iterator")
abstract external class JsIterator<out T> :... | 38 | Kotlin | 162 | 1,347 | 997ed3902482883db4a9657585426f6ca167d556 | 1,178 | kotlin-wrappers | Apache License 2.0 |
src/main/kotlin/name/oshurkov/books/api/file/fb2/parser/EmptyLine.kt | dmitry-oshurkov | 307,598,181 | false | null | package name.oshurkov.books.api.file.fb2.parser
class EmptyLine : Element() {
init {
text = ""
}
}
| 0 | Kotlin | 0 | 1 | 3c528ba32e0ff82bcc5ca02d84d85426c3401995 | 116 | books | MIT License |
src/main/kotlin/problems/TwoSum.kt | amartya-maveriq | 510,824,460 | false | {"Kotlin": 42296} | package problems
/**
* Leetcode : Easy
*
* https://leetcode.com/problems/two-sum/
*
*
* Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.
You may assume that each input would have exactly one solution, and you may not use the same element t... | 0 | Kotlin | 0 | 0 | 2f12e7d7510516de9fbab866a59f7d00e603188b | 1,016 | data-structures | MIT License |
src/main/kotlin/problems/TwoSum.kt | amartya-maveriq | 510,824,460 | false | {"Kotlin": 42296} | package problems
/**
* Leetcode : Easy
*
* https://leetcode.com/problems/two-sum/
*
*
* Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.
You may assume that each input would have exactly one solution, and you may not use the same element t... | 0 | Kotlin | 0 | 0 | 2f12e7d7510516de9fbab866a59f7d00e603188b | 1,016 | data-structures | MIT License |
app-indexing/app/src/main/java/com/google/samples/quickstart/app_indexing/kotlin/StickerProvider.kt | austonricardo | 151,084,345 | true | {"Java Properties": 19, "Shell": 20, "Markdown": 20, "Batchfile": 17, "Proguard": 21, "Java": 113, "Kotlin": 106, "INI": 15, "HTML": 1, "JavaScript": 2} | package com.google.samples.quickstart.app_indexing.kotlin
import android.content.ContentProvider
import android.content.ContentValues
import android.database.Cursor
import android.net.Uri
import android.os.ParcelFileDescriptor
import android.webkit.MimeTypeMap
import java.io.File
import java.io.FileNotFoundException
i... | 1 | Java | 0 | 1 | af840474aaa30fc3135687e7b6350edd95bded2f | 3,184 | quickstart-android | Creative Commons Attribution 4.0 International |
src/main/kotlin/no/nav/familie/ks/sak/kjerne/beregning/BeregningService.kt | navikt | 533,308,075 | false | {"Kotlin": 2851682, "Shell": 1039, "Dockerfile": 141} | package no.nav.familie.ks.sak.kjerne.beregning
import no.nav.familie.kontrakter.felles.objectMapper
import no.nav.familie.kontrakter.felles.oppdrag.Utbetalingsoppdrag
import no.nav.familie.ks.sak.common.util.toYearMonth
import no.nav.familie.ks.sak.integrasjon.økonomi.utbetalingsoppdrag.AndelTilkjentYtelseForUtbetalin... | 4 | Kotlin | 1 | 2 | d7a12df78b63280c202bbe4915ba6bd20efe4285 | 11,709 | familie-ks-sak | MIT License |
test/src/test/kotlin/graphql/nadel/tests/hooks/service-context-is-being-set.kt | atlassian-labs | 121,346,908 | false | null | package graphql.nadel.tests.hooks
import graphql.nadel.Nadel
import graphql.nadel.ServiceExecution
import graphql.nadel.ServiceExecutionFactory
import graphql.nadel.hooks.CreateServiceContextParams
import graphql.nadel.hooks.NadelExecutionHooks
import graphql.nadel.tests.EngineTestHook
import graphql.nadel.tests.UseHo... | 24 | null | 23 | 157 | d9bb3cf1f301c685ca6d578279c4b2c6d6a74158 | 1,500 | nadel | Apache License 2.0 |
src/test/kotlin/no/nav/pensjon/kalkulator/vedtak/api/map/LoependeVedtakMapperV1Test.kt | navikt | 596,104,195 | false | {"Kotlin": 830954, "Java": 1630, "Dockerfile": 153} | package no.nav.pensjon.kalkulator.vedtak.api.map
import no.nav.pensjon.kalkulator.vedtak.LoependeVedtak
import no.nav.pensjon.kalkulator.vedtak.LoependeVedtakDetaljer
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Assertions.assertFalse
import org.junit.jupiter.api.Test
import java.... | 3 | Kotlin | 0 | 0 | a8a48bcebaf689d3285e64ed0cbaf520a50b3a10 | 2,488 | pensjonskalkulator-backend | MIT License |
app/src/main/java/com/hoangtien2k3/themoviedb/domain/use_case/person/series/GetPersonSerieCreditsUseCase.kt | hoangtien2k3 | 781,918,819 | false | {"Kotlin": 385191} | package com.hoangtien2k3.themoviedb.domain.use_case.person.series
import com.hoangtien2k3.themoviedb.domain.repository.MovaRepository
import javax.inject.Inject
class GetPersonSerieCreditsUseCase @Inject constructor(private val repository: MovaRepository) {
operator fun invoke(personId: Int) = repository.getPerso... | 1 | Kotlin | 0 | 3 | 0ef347135c141cc49cb1e9d27fde6fdeedf71471 | 345 | movie | MIT License |
native/objcexport-header-generator/testData/headers/interfaceReferencingOtherInterfaceAsReturnType/Foo.kt | JetBrains | 3,432,266 | false | null | interface A {
fun foo(): B
}
interface B | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 45 | kotlin | Apache License 2.0 |
app/src/main/java/com/straucorp/mviflow/domain/usecase/GetUsersUseCase.kt | astraube | 343,548,974 | false | null | package com.straucorp.mviflow.domain.usecase
import com.straucorp.mviflow.domain.repository.UserRepository
import javax.inject.Inject
class GetUsersUseCase @Inject constructor(private val userRepository: UserRepository) {
operator fun invoke() = userRepository.getUsers()
} | 0 | Kotlin | 0 | 2 | ca4ec9e80c8668aff94cd3256a13490f6788cf2a | 277 | MVI-Coroutines-Flow-Dagger-Hilt | MIT License |
src/lang-xquery/main/uk/co/reecedunn/intellij/plugin/xquery/lexer/XQDocTokenType.kt | rhdunn | 62,201,764 | false | {"Kotlin": 8262637, "XQuery": 996770, "HTML": 39377, "XSLT": 6853} | /*
* Copyright (C) 2016; 2018 <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... | 49 | Kotlin | 9 | 25 | d8d460d31334e8b2376a22f3832a20b2845bacab | 4,564 | xquery-intellij-plugin | Apache License 2.0 |
common/build/generated/sources/schemaCode/kotlin/main/io/portone/sdk/server/schemas/CardCredential.kt | portone-io | 809,427,199 | false | {"Kotlin": 385115, "Java": 331} | package io.portone.sdk.server.schemas
import kotlin.String
import kotlinx.serialization.Serializable
/**
* 카드 인증 관련 정보
*/
@Serializable
public data class CardCredential(
/**
* 카드 번호 (숫자만)
*/
public val number: String,
/**
* 유효 기간 만료 연도 (2자리)
*/
public val expiryYear: String,
/**
* 유효 기간 만료 ... | 0 | Kotlin | 0 | 2 | f984c4cc31aa64aad5cd0fa0497bdd490a0fe33a | 566 | server-sdk-jvm | MIT License |
src/main/kotlin/com/ecwid/apiclient/v3/dto/producttype/request/ProductTypesGetAllRequest.kt | Ecwid | 160,232,759 | false | {"Kotlin": 1019261} | package com.ecwid.apiclient.v3.dto.producttype.request
import com.ecwid.apiclient.v3.dto.ApiRequest
import com.ecwid.apiclient.v3.impl.RequestInfo
import com.ecwid.apiclient.v3.responsefields.ResponseFields
data class ProductTypesGetAllRequest(
val responseFields: ResponseFields = ResponseFields.All,
) : ApiRequest ... | 11 | Kotlin | 13 | 17 | 2f94bfea3ad2073b89b8ea2b38dacdaa5f443a47 | 467 | ecwid-java-api-client | Apache License 2.0 |
aoc2023/aoc2023-kotlin/src/main/kotlin/de/havox_design/aoc2023/day08/Node.kt | Gentleman1983 | 737,309,232 | false | {"Kotlin": 1066977, "Java": 686584, "Scala": 57186, "Groovy": 40981, "Python": 25970} | package de.havox_design.aoc2023.day08
import de.havox_design.aoc.utils.kotlin.model.directions.LeftRightDirection
data class Node(val name: String, var left: Node?, var right: Node?) : Comparable<Node> {
fun setNode(direction: LeftRightDirection, node: Node) {
when (direction) {
LeftRightDirec... | 4 | Kotlin | 0 | 1 | 3989b4e36f979b2f4a2b84e040d8bc8e5fc35c91 | 1,177 | advent-of-code | Apache License 2.0 |
app/src/main/java/com/twist/sunnyweather/ui/place/PlaceViewModel.kt | tshd78 | 264,582,455 | false | null | package com.twist.sunnyweather.ui.place
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.Transformations
import androidx.lifecycle.ViewModel
import com.twist.sunnyweather.logic.Repository
import com.twist.sunnyweather.logic.model.Place
/**
* File description
*
* @author twist
* @email <EMAIL>
... | 0 | Kotlin | 0 | 0 | 5eff9c06dd040e8ffcd9971ca878655a4d9f7786 | 918 | SunnyWeather | Apache License 2.0 |
radar-upload-backend/src/main/java/org/radarbase/upload/doa/entity/RecordStatus.kt | RADAR-base | 179,307,077 | false | {"Kotlin": 457599, "Vue": 39859, "Java": 31511, "JavaScript": 15050, "Shell": 4782, "Dockerfile": 3674, "HTML": 798, "SCSS": 251} | /*
*
* * Copyright 2019 The Hyve
* *
* * Licensed under the Apache License, Version 2.0 (the "License");
* * you may not use this file except in compliance with the License.
* * You may obtain a copy of the License at
* *
* * http://www.apache.org/licenses/LICENSE-2.0
* *
* * Unless required by app... | 22 | Kotlin | 1 | 1 | 7da101d69fef7b36ac688275758f77019cb3f03b | 793 | radar-upload-source-connector | Apache License 2.0 |
app/src/main/java/com/example/gamebuddy/presentation/main/chat/ChatFragment.kt | GameBuddyDevs | 609,491,782 | false | null | package com.example.gamebuddy.presentation.main.chat
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.fragment.app.viewModels
import androidx.navigation.fragment.findNavController
import androidx.rec... | 0 | Kotlin | 1 | 3 | 0a767229f5505e6a68e167aece41c10abb282e1b | 9,656 | GameBuddy-Android | MIT License |
library/src/main/java/com/freakyaxel/nfc/card/CardData.kt | alexpopa95 | 574,745,516 | false | null | package com.freakyaxel.nfc.card
import java.text.SimpleDateFormat
import java.util.Date
import java.util.Locale
class CardData(
val aids: List<String>,
val types: List<String>,
val expireDate: Date?,
val number: String?,
val state: CardState
) {
var formattedNumber: String? = null
pri... | 0 | Kotlin | 0 | 2 | 8c27dc1b4da6f095ecc5e3f7fb82463e8d3ef4aa | 1,382 | nfc-card-reader | MIT License |
app/src/main/java/fr/comif/mycomifclient/fragmenttransaction/TransactionFragment.kt | PierreCIT | 220,233,605 | false | null | package fr.comif.mycomifclient.fragmenttransaction
import android.content.Context
import android.net.Uri
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Toast
import androidx.constraintlayout.widget.ConstraintLayout
import android... | 1 | Kotlin | 1 | 3 | c9b97c99cf5f9f613f2613f02d955eb530be00d6 | 6,459 | MyComifClient | MIT License |
src/main/kotlin/com/chattriggers/ctjs/launch/plugin/entityPlayer.kt | ChatTriggers | 103,319,998 | false | null | package com.chattriggers.ctjs.launch.plugin
import com.chattriggers.ctjs.minecraft.listeners.ClientListener
import dev.falsehonesty.asmhelper.dsl.At
import dev.falsehonesty.asmhelper.dsl.InjectionPoint
import dev.falsehonesty.asmhelper.dsl.code.CodeBlock.Companion.aReturn
import dev.falsehonesty.asmhelper.dsl.inject
i... | 9 | Kotlin | 20 | 77 | bdaf1b5b627346aa4f125a1a38edb516ada5fbaf | 1,312 | ChatTriggers | MIT License |
src/main/kotlin/no/nav/bidrag/beregn/kostnadsberegnetbidrag/KostnadsberegnetBidragCoreImpl.kt | navikt | 273,502,209 | false | {"Kotlin": 867869} | package no.nav.bidrag.beregn.kostnadsberegnetbidrag
import no.nav.bidrag.beregn.felles.FellesCore
import no.nav.bidrag.beregn.felles.bo.Avvik
import no.nav.bidrag.beregn.felles.bo.Periode
import no.nav.bidrag.beregn.felles.dto.PeriodeCore
import no.nav.bidrag.beregn.kostnadsberegnetbidrag.bo.BPsAndelUnderholdskostnadP... | 5 | Kotlin | 0 | 1 | a52e83c8b545e21efd26fcb235f47cebeb11c8ba | 6,528 | bidrag-beregn-barnebidrag-core | MIT License |
hodler/src/main/kotlin/io/space/hodler/HodlerData.kt | numsecurelab | 247,338,625 | false | null | package io.space.hodler
import io.space.bitcoincore.core.IPluginData
data class HodlerData(val lockTimeInterval: LockTimeInterval) : IPluginData
| 1 | null | 1 | 1 | 861d7029e938b224e56189246bc9dd136b1ccac9 | 147 | android-wal | MIT License |
sample/src/main/java/com/bennyhuo/kotlin/mixin/sample/Api.kt | bennyhuo | 426,646,493 | false | null | package com.bennyhuo.kotlin.mixin.sample
import com.bennyhuo.kotlin.mixin.annotations.Mixin
/**
* Created by benny.
*/
@Mixin("com.bennyhuo.kotlin.mixin.sample", "Apis")
class Api {
} | 0 | Kotlin | 0 | 27 | 61c9d5678865a309b35b10fbdade02d53b54b6ac | 192 | Mixin | MIT License |
app/src/main/java/io/traxa/ui/onboard/OnboardAdapter.kt | chrisinvb | 517,052,842 | false | {"Kotlin": 213490, "Java": 18186} | package io.traxa.ui.onboard
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentManager
import androidx.lifecycle.Lifecycle
import androidx.viewpager2.adapter.FragmentStateAdapter
class OnboardAdapter(fragmentManager: FragmentManager,
val lifecycle: Lifecycle,
... | 0 | Kotlin | 0 | 0 | a21ba2aa3dfa3056083b0f72c644c913c3df45b8 | 545 | traxaio_android_polygon_filecoin | MIT License |
Demos/Ktor/src/main/kotlin/com/groupdocs/ui/comparison/ktor/Module.kt | groupdocs-comparison | 65,550,714 | false | null | package com.groupdocs.ui.comparison.ktor
import com.groupdocs.ui.comparison.ktor.modules.compare.compareModule
import com.groupdocs.ui.comparison.ktor.modules.config.configModule
import com.groupdocs.ui.comparison.ktor.modules.description.descriptionModule
import com.groupdocs.ui.comparison.ktor.modules.download.downl... | 5 | null | 9 | 7 | 4d289958d8fc6ab338bbcfca8e82d237b71838be | 2,046 | GroupDocs.Comparison-for-Java | MIT License |
core/network/src/main/java/com/yjh/network/retrofit/RetrofitNetWork.kt | yejihai1 | 642,629,204 | false | null | package com.yjh.network.retrofit
import android.util.Log
import com.yjh.network.NetworkDataSource
import com.yjh.network.model.BaseResponse
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.collect
import kotlinx.coroutines.fl... | 0 | Kotlin | 0 | 1 | 44f678382bc1730193a2689422da88b2556f7c94 | 1,849 | Compose | Apache License 2.0 |
compiler/fir/checkers/src/org/jetbrains/kotlin/fir/analysis/checkers/expression/FirDataClassCopyUsageWillBecomeInaccessibleChecker.kt | JetBrains | 3,432,266 | false | null | /*
* 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.fir.analysis.checkers.expression
import org.jetbrains.kotlin.descriptors.isClass... | 182 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 4,719 | kotlin | Apache License 2.0 |
kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/efs/CfnAccessPointProps.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 140726596} | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package io.cloudshiftdev.awscdk.services.efs
import io.cloudshiftdev.awscdk.IResolvable
import io.cloudshiftdev.awscdk.common.CdkDslMarker
imp... | 1 | Kotlin | 0 | 4 | eb3eef728b34da593a3e55dc423d4f5fa3668e9c | 14,155 | kotlin-cdk-wrapper | Apache License 2.0 |
components/filemanager/impl/src/main/java/com/flipperdevices/filemanager/impl/composable/ComposableFileManagerDownloadScreen.kt | flipperdevices | 288,258,832 | false | null | package com.flipperdevices.filemanager.impl.composable
import androidx.compose.foundation.layout.Box
import androidx.compose.runtime.Composable
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.runtime.getValue
import androidx.compose.ui.res.stringResource
import com.flipperdevices.filemanager.imp... | 21 | null | 174 | 1,528 | 8f293e596741a6c97409acbc8de10c7ae6e8d8b0 | 1,553 | Flipper-Android-App | MIT License |
app/src/main/java/com/shuyu/github/kotlin/common/net/ResultTipObserver.kt | CarGuo | 156,679,291 | false | null | package com.shuyu.github.kotlin.common.net
import android.accounts.NetworkErrorException
import android.content.Context
import com.shuyu.github.kotlin.R
import org.jetbrains.anko.toast
import java.net.ConnectException
import java.net.UnknownHostException
import java.util.concurrent.TimeoutException
/**
* 网络请求返回处理
... | 4 | Kotlin | 232 | 1,312 | a8c0697f92dea388a3cf86aed26db12ddde640f5 | 1,885 | GSYGithubAppKotlin | Apache License 2.0 |
src/main/kotlin/it/zoo/vendro/racoon/internals/casting/builtin/LazyCaster.kt | vendro-zoo | 487,989,643 | false | null | package it.zoo.vendro.racoon.internals.casting.builtin
import it.zoo.vendro.racoon.habitat.context.FromParameterCasterContext
import it.zoo.vendro.racoon.habitat.context.ToParameterCasterContext
import it.zoo.vendro.racoon.habitat.definition.LazyId
import it.zoo.vendro.racoon.habitat.definition.Table
import it.zoo.ven... | 1 | Kotlin | 0 | 1 | 687dc1a0f8e575aafe148cc7d99fc813f80b5535 | 1,028 | racoon | MIT License |
src/test/kotlin/solve/interactive/scene/view/association/AssociationLineTests.kt | prime-slam | 542,695,410 | false | {"Kotlin": 442756} | package solve.interactive.scene.view.association
import javafx.beans.property.SimpleBooleanProperty
import javafx.beans.property.SimpleDoubleProperty
import javafx.beans.property.SimpleObjectProperty
import javafx.scene.paint.Color
import javafx.scene.shape.Line
import org.junit.jupiter.api.Assertions.assertEquals
imp... | 52 | Kotlin | 0 | 8 | 67352bd0ed1f437fad6b151400898f57ae926c67 | 4,194 | SOLVE | MIT License |
mylibrary/src/main/java/id/indosw/igdownloader/model/story/ImageVersionModel.kt | SWRevo | 336,055,943 | false | null | @file:Suppress("unused")
package id.indosw.igdownloader.model.story
import com.google.gson.annotations.SerializedName
import java.io.Serializable
import java.util.*
class ImageVersionModel : Serializable {
@SerializedName("candidates")
private var candidates: ArrayList<CandidatesModel?>? = null
fun getCa... | 3 | null | 5 | 6 | b551aa7c4538ad14e401e4b9601ae2935c835319 | 506 | InstagramDownloader | Apache License 2.0 |
compose-designer/testSrc/com/android/tools/idea/compose/ComposeGradleProjectRule.kt | JetBrains | 60,701,247 | false | null | package com.android.tools.idea.compose
import com.android.ide.common.blame.Message
import com.android.testutils.TestUtils
import com.android.tools.idea.compose.preview.SIMPLE_COMPOSE_PROJECT_PATH
import com.android.tools.idea.rendering.NoSecurityManagerRenderService
import com.android.tools.idea.rendering.RenderServic... | 0 | null | 187 | 751 | 16d17317f2c44ec46e8cd2180faf9c349d381a06 | 2,946 | android | Apache License 2.0 |
src/main/kotlin/io/github/ehedbor/diskordlin/entities/channel/Embeds.kt | ehedbor | 117,317,882 | false | null | /*
* MIT License
*
* Copyright (c) 2017-2018 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modi... | 0 | Kotlin | 0 | 0 | 3a832dc0119abf4d97a96d2afc2c6d09715cf4ef | 2,838 | diskordlin | MIT License |
material-prefs-dialogs/src/main/java/com/imangazaliev/materialprefs/dsl/ListItem.kt | ImangazalievM | 293,368,380 | false | {"Kotlin": 67071} | package com.imangazaliev.materialprefs.dsl
class ListItem<ValueType>(
val value: ValueType,
val title: String
) | 2 | Kotlin | 6 | 59 | 2ee8cc8e22b03da157e99b406457628efa4ba79e | 120 | material-prefs | Apache License 2.0 |
baselibrary/src/main/kotlin/com/notch/RomUtils.kt | cc17236 | 297,074,446 | false | null | package com.notch
import android.os.Build
import java.util.*
/**
* Created by feifan on 2017/2/10.
* Contacts me:<EMAIL>
*/
object RomUtils {
val isHuaweiRom: Boolean
get() {
val manufacturer = Build.MANUFACTURER
return !manufacturer.isNullOrEmpty() && manufacturer.contains("HU... | 0 | Kotlin | 0 | 0 | 219c6d63fee41a9f28e9f935a3d222159d12d5e3 | 1,012 | AnroidKotlinSample | Apache License 2.0 |
src/main/kotlin/com/skillw/fightsystem/internal/feature/listener/fight/Damage.kt | Skillw | 591,845,487 | false | {"Kotlin": 162033, "JavaScript": 15586} | package com.skillw.fightsystem.internal.feature.listener.fight
import com.skillw.fightsystem.api.FightAPI.intoFighting
import com.skillw.fightsystem.api.fight.FightData
import com.skillw.fightsystem.internal.manager.FSConfig
import com.skillw.pouvoir.util.isAlive
import org.bukkit.entity.EntityType
import org.bukkit.e... | 2 | Kotlin | 5 | 6 | 84a1273549df31573acb4e8ae32d46923ebc23d1 | 1,748 | FightSystem | MIT License |
app/src/main/java/com/factor8/opUndoor/UI/Auth/RegisterP1Fragment.kt | akshanshgusain | 736,863,285 | false | {"Kotlin": 286606, "Java": 1157} | package com.factor8.opUndoor.UI.Auth
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.factor8.opUndoor.R
class RegisterP1Fragment : BaseAuthFragment() {
override fun onCreateView(inflater: LayoutIn... | 0 | Kotlin | 0 | 0 | 62b1fa87034405a283645fab76bed84a578d8da2 | 480 | opunroom | MIT License |
idea/idea-frontend-fir/idea-fir-low-level-api/src/org/jetbrains/kotlin/idea/fir/low/level/api/element/builder/FirElementBuilder.kt | BenNeighbour | 287,625,909 | false | null | /*
* Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.idea.fir.low.level.api.element.builder
import org.jetbrains.kotlin.fir.FirElemen... | 1 | null | 1 | 2 | 0328fcaf5d7f3e3aef39ddd549f09d68914ed455 | 5,756 | kotlin | Apache License 2.0 |
app/src/main/java/com/example/facedetection/di/app_module.kt | alekseytimoshchenko | 174,006,243 | false | null | package com.example.facedetection.di
import com.example.facedetection.App
import com.example.facedetection.data.local.model.IImageFactory
import com.example.facedetection.data.local.model.ImageFactory
import com.example.facedetection.data.repo.face_detected_photo_screen.FaceDetectedRepo
import com.example.facedetectio... | 0 | Kotlin | 0 | 0 | c1408b57d261715f81c76f5ac22c09472eb8a529 | 2,357 | FaceDetection | Do What The F*ck You Want To Public License |
stdlib/src/org/jetbrains/dukat/stdlib/KotlinStdlibEntities.kt | Kotlin | 159,510,660 | false | null | package org.jetbrains.dukat.stdlib
import org.jetbrains.dukat.astCommon.IdentifierEntity
import org.jetbrains.dukat.astCommon.NameEntity
import org.jetbrains.dukat.astCommon.leftMost
import org.jetbrains.dukat.astCommon.rightMost
val KotlinStdlibEntities = setOf(
IdentifierEntity("Any"),
IdentifierEnt... | 244 | null | 42 | 535 | d50b9be913ce8a2332b8e97fd518f1ec1ad7f69e | 24,514 | dukat | Apache License 2.0 |
app/src/main/java/com/designdemo/uaha/data/model/wiki/Page.kt | mwolfson | 41,123,962 | false | null | package com.designdemo.uaha.data.model.wiki
import com.google.gson.annotations.Expose
import com.google.gson.annotations.SerializedName
class Page {
@SerializedName("pageid")
@Expose
var pageid: Int? = null
@SerializedName("ns")
@Expose
var ns: Int? = null
@SerializedName("title")
@Ex... | 1 | null | 163 | 960 | a26051726bc5471363bda8ea3476b80463fb5e20 | 445 | android-historian | Apache License 2.0 |
layers-kt/src/main/kotlin/hm/binkley/layers/PersistedLayers.kt | binkley | 184,655,460 | false | null | package hm.binkley.layers
import org.eclipse.jgit.api.Git
import java.util.Objects.hash
import javax.script.ScriptEngine
class PersistedLayers(
private val persistence: GitPersistence,
private val scripting: Scripting,
private val _layers: MutableList<PersistedLayer> = mutableListOf()
) : Layers,
Laye... | 1 | null | 1 | 2 | 4787a43f8e27dbde3a967b35f5a3363864cbd51f | 4,091 | spikes | The Unlicense |
feature-assets/src/main/java/com/edgeverse/wallet/feature_assets/domain/assets/filters/AssetFilter.kt | finn-exchange | 512,140,809 | false | {"Kotlin": 2956205, "Java": 14536, "JavaScript": 399} | package com.edgeverse.wallet.feature_assets.domain.assets.filters
import com.edgeverse.wallet.common.utils.NamedFilter
import com.edgeverse.wallet.feature_wallet_api.domain.model.Asset
typealias AssetFilter = NamedFilter<Asset>
| 0 | Kotlin | 1 | 0 | 03229c4188cb56b0fb0340e60d60184c7afa2c75 | 230 | edgeverse-wallet | Apache License 2.0 |
api/src/main/java/com/muedsa/tvbox/tool/JsonTool.kt | muedsa | 869,996,479 | false | {"Kotlin": 21243} | package com.muedsa.tvbox.tool
import kotlinx.serialization.json.Json
val LenientJson = Json {
ignoreUnknownKeys = true
isLenient = true
} | 0 | Kotlin | 0 | 0 | ed67c0201f47017d2e487c307d205f7e6fe9080c | 147 | TvBoxPlugin | MIT License |
kotlin-typescript/src/jsMain/generated/typescript/BindingOrAssignmentElementTarget.kt | JetBrains | 93,250,841 | false | {"Kotlin": 12635434, "JavaScript": 423801} | // Automatically generated - do not modify!
package typescript
sealed external interface BindingOrAssignmentElementTarget : Node
| 38 | Kotlin | 162 | 1,347 | 997ed3902482883db4a9657585426f6ca167d556 | 131 | kotlin-wrappers | Apache License 2.0 |
src/main/kotlin/com/ruslan/growsseth/commands/GiveStructMapCommand.kt | filloax | 786,455,213 | false | {"Kotlin": 710818, "Java": 153352, "Python": 54018, "HTML": 52574, "Jupyter Notebook": 50411, "JavaScript": 35872, "PowerShell": 1826, "CSS": 731, "mcfunction": 494, "Batchfile": 213} | package com.ruslan.growsseth.commands
import com.google.common.base.Stopwatch
import com.mojang.brigadier.CommandDispatcher
import com.mojang.brigadier.exceptions.DynamicCommandExceptionType
import com.ruslan.growsseth.maps.MapLocateContext
import com.ruslan.growsseth.maps.updateMapToStruct
import net.minecraft.Util
i... | 1 | Kotlin | 1 | 3 | 2d3c9c5f1bc3f88d0a0d466521612dd21bfa6bd8 | 4,790 | ruins-of-growsseth | MIT License |
omnitrack_core/src/main/kotlin/kr/ac/snu/hcil/omnitrack/core/flags/AFlagsHelperBase.kt | yghokim | 62,933,149 | false | null | package kr.ac.snu.hcil.omnitrack.core.flags
import com.google.gson.Gson
import com.google.gson.JsonObject
/**
* Created by younghokim on 2018. 2. 19..
*/
abstract class AFlagsHelperBase {
companion object {
val parser: Gson by lazy {
Gson()
}
fun parseFlags(json: String): J... | 9 | Kotlin | 4 | 8 | f13e5c157d5646c3f9493c4fdc25ed3b1fc2e296 | 913 | omnitrack_android | MIT License |
idea/testData/intentions/importAllMembers/EnumMembers.kt | JakeWharton | 99,388,807 | false | null | // INTENTION_TEXT: "Import members from 'kotlin.LazyThreadSafetyMode'"
// WITH_RUNTIME
class A {
val v1: Int by lazy(<caret>LazyThreadSafetyMode.NONE) { 1 }
val v2: Int by lazy(LazyThreadSafetyMode.PUBLICATION) { 1 }
/*
val v3 = LazyThreadSafetyMode.values
val v4 = LazyThreadSafetyMode.valueOf("")
*/
} | 1 | null | 28 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 320 | kotlin | Apache License 2.0 |
Corona-Warn-App/src/debug/java/de/rki/coronawarnapp/ui/main/FakeMainActivity.kt | corona-warn-app | 268,027,139 | false | null | package de.rki.coronawarnapp.ui.main
import androidx.appcompat.app.AppCompatActivity
import androidx.fragment.app.Fragment
import com.google.android.material.bottomnavigation.BottomNavigationView
import de.rki.coronawarnapp.R
/**
* Adds the [Fragment] required for testing and [BottomNavigationView] in a similar layo... | 6 | Kotlin | 514 | 2,495 | d3833a212bd4c84e38a1fad23b282836d70ab8d5 | 552 | cwa-app-android | Apache License 2.0 |
bibtex/src/test/kotlin/TestExtensions.kt | kotexio | 235,947,461 | false | null | import io.kotex.bibtex.bibliography
import io.kotex.bibtex.cite
import io.kotex.bibtex.generateBibTex
import io.kotex.core.article
import io.kotex.core.document
import org.junit.Test
import io.kotex.bibtex.techReport
import io.kotex.core.write
import org.junit.Assert.*
class TestExtensions {
private val testEntry ... | 2 | Kotlin | 0 | 8 | 4c0308fecd4b8cb6dbeb0e11c506591e4091aa56 | 1,173 | KoTeX | Apache License 2.0 |
app/src/main/java/de/drtobiasprinz/summitbook/dao/SummitDao.kt | prinztob | 370,702,913 | false | null | package de.drtobiasprinz.summitbook.dao
import androidx.room.*
import com.google.android.gms.maps.model.LatLng
import de.drtobiasprinz.summitbook.models.ElevationData
import de.drtobiasprinz.summitbook.models.Summit
import de.drtobiasprinz.summitbook.models.TrackBoundingBox
import de.drtobiasprinz.summitbook.models.Ve... | 0 | Kotlin | 0 | 0 | dae46b5b9781c06cc2c7a47a107c05a8fe0e05d3 | 1,516 | summitbook | MIT License |
data/src/main/java/com/ravnnerdery/data/di/useCasesModule.kt | hunter4466 | 462,122,793 | false | {"Kotlin": 43723} | package com.ravnnerdery.data.di
import com.ravnnerdery.data.useCases.*
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import javax.inject.Singleton
@Module
@InstallIn(SingletonComponent::class)
class UseCasesModule {
@Provides
@Single... | 0 | Kotlin | 0 | 0 | 97a3d0ede87104377aa50e97bac18f7ff9cf9073 | 1,250 | compose_navigation_challenge | MIT License |
compose/runtime/runtime/src/commonMain/kotlin/androidx/compose/runtime/external/kotlinx/collections/immutable/implementations/persistentOrderedMap/PersistentOrderedMap.kt | RikkaW | 389,105,112 | false | null | /*
* Copyright 2016-2019 JetBrains s.r.o.
* Use of this source code is governed by the Apache 2.0 License that can be found in the LICENSE.txt file.
*/
package androidx.compose.runtime.external.kotlinx.collections.immutable.implementations.persistentOrderedMap
import androidx.compose.runtime.external.kotlinx.colle... | 0 | null | 0 | 7 | 6d53f95e5d979366cf7935ad7f4f14f76a951ea5 | 5,200 | androidx | Apache License 2.0 |
game-server/src/main/kotlin/org/alter/game/message/impl/OpObjUMessage.kt | AlterRSPS | 421,831,790 | false | null | package org.alter.game.message.impl
import org.alter.game.message.Message
/**
* @author Tom <<EMAIL>>
*/
data class OpObjUMessage(val componentHash: Int, val movementType: Int, val item: Int, val slot: Int,
val groundItem: Int, val x: Int, val z: Int) : Message | 8 | Kotlin | 33 | 23 | 9dbd62d67de547cfedc43b902797306c5db8fb55 | 290 | Alter | Apache License 2.0 |
classfile/src/main/kotlin/com/github/netomi/bat/classfile/instruction/BranchInstruction.kt | netomi | 265,488,804 | false | {"Kotlin": 1925501, "Smali": 713862, "ANTLR": 25494, "Shell": 12074, "Java": 2326} | /*
* Copyright (c) 2020-2022 Thomas Neidhart.
*
* 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 applicab... | 1 | Kotlin | 3 | 10 | 5f5ec931c47dd34f14bd97230a29413ef1cf219c | 3,808 | bat | Apache License 2.0 |
app/src/main/java/com/ant/app/ui/main/movies/top/TopRatedMoviesFragment.kt | toaderandrei | 786,415,615 | false | {"Kotlin": 270589, "Java": 376} | package com.ant.app.ui.main.movies.top
import androidx.fragment.app.Fragment
import androidx.fragment.app.viewModels
import androidx.navigation.fragment.findNavController
import com.ant.app.ui.main.base.movies.BaseMainListMoviesFragment
import com.ant.models.entities.MovieData
import dagger.hilt.android.AndroidEntryPo... | 1 | Kotlin | 0 | 0 | 7d8a5f944d297942dac117d750ccf2fd1b61069b | 763 | popular-movies-kt | MIT License |
app/src/main/java/com/z80h3x/kezd_kov/data/network/models/Character.kt | futobarna | 356,016,117 | false | null | /**
* <NAME>
* This is a mobil client for tracking initiative in D&D and other ttrpgs.
*
* OpenAPI spec version: 1.0.0
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package com.z80h3x.kezd_kov.da... | 0 | Kotlin | 0 | 0 | f8cd6f99550075c41555807504c035ea765478de | 521 | Kezd_Kov | Apache License 2.0 |
feature_note/src/main/java/com/aqube/notes/feature_note/domain/use_case/AddNote.kt | akhilesh0707 | 412,617,490 | false | {"Kotlin": 80393} | package com.aqube.notes.feature_note.domain.use_case
import com.aqube.notes.feature_note.domain.model.InvalidNoteException
import com.aqube.notes.feature_note.domain.model.Note
import com.aqube.notes.feature_note.domain.repository.NoteRepository
class AddNote(
private val repository: NoteRepository
) {
@Throw... | 0 | Kotlin | 4 | 21 | 3fd715e1db3dd77d9a69dcec4dc5dcd1065aa1cc | 672 | Easy-Note | Apache License 2.0 |
data/RF02744/rnartist.kts | fjossinet | 449,239,232 | false | {"Kotlin": 8214424} | import io.github.fjossinet.rnartist.core.*
rnartist {
ss {
rfam {
id = "RF02744"
name = "consensus"
use alignment numbering
}
}
theme {
details {
value = 3
}
color {
location {
5 to 1... | 0 | Kotlin | 0 | 0 | 3016050675602d506a0e308f07d071abf1524b67 | 7,157 | Rfam-for-RNArtist | MIT License |
modules/feature/app_settings/src/main/kotlin/kekmech/ru/feature_app_settings/screens/map_type/item/MapTypeItem.kt | tonykolomeytsev | 203,239,594 | false | null | package kekmech.ru.feature_app_settings.screens.map_type.item
import android.view.View
import androidx.recyclerview.widget.RecyclerView
import kekmech.ru.common_adapter.AdapterItem
import kekmech.ru.common_adapter.BaseItemBinder
import kekmech.ru.coreui.items.ClickableItemViewHolder
import kekmech.ru.coreui.items.Clic... | 9 | null | 4 | 28 | 209f34745458e150136c3cd6acb1fcad2e12ef9c | 1,907 | mpeiapp | MIT License |
app/src/main/java/com/akakou/sample/oyanoteki/GraphUtils.kt | mon-ban | 161,866,858 | false | null | package com.akakou.sample.oyanoteki
import com.github.mikephil.charting.data.DataSet
import com.github.mikephil.charting.data.Entry
import com.github.mikephil.charting.data.LineDataSet
import java.text.SimpleDateFormat
import java.util.*
class GraphData(_xValues: ArrayList<String>, _dataSets: ArrayList<LineDataSet> )... | 0 | Kotlin | 0 | 0 | df38a8eb139ca055c12b34dfb21a674e0ff2b3c7 | 2,324 | oyanoteki-android | MIT License |
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/lambda/AliasOptionsDsl.kt | F43nd1r | 643,016,506 | false | null | package com.faendir.awscdkkt.generated.services.lambda
import com.faendir.awscdkkt.AwsCdkDsl
import javax.`annotation`.Generated
import kotlin.Unit
import software.amazon.awscdk.services.lambda.AliasOptions
@Generated
public fun buildAliasOptions(initializer: @AwsCdkDsl AliasOptions.Builder.() -> Unit): AliasOptions
... | 1 | Kotlin | 0 | 0 | e9a0ff020b0db2b99e176059efdb124bf822d754 | 376 | aws-cdk-kt | Apache License 2.0 |
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/lambda/AliasOptionsDsl.kt | F43nd1r | 643,016,506 | false | null | package com.faendir.awscdkkt.generated.services.lambda
import com.faendir.awscdkkt.AwsCdkDsl
import javax.`annotation`.Generated
import kotlin.Unit
import software.amazon.awscdk.services.lambda.AliasOptions
@Generated
public fun buildAliasOptions(initializer: @AwsCdkDsl AliasOptions.Builder.() -> Unit): AliasOptions
... | 1 | Kotlin | 0 | 0 | e9a0ff020b0db2b99e176059efdb124bf822d754 | 376 | aws-cdk-kt | Apache License 2.0 |
library/src/main/kotlin/com/daniloaraujosilva/mathemagika/library/common/mathematica/functions/BoundingRegion.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: BoundingRegion
*
* Full name: System`BoundingRegion
*
* BoundingRegion[{pt , pt , …}] g... | 2 | Kotlin | 0 | 3 | 4fcf68af14f55b8634132d34f61dae8bb2ee2942 | 1,409 | mathemagika | Apache License 2.0 |
app/src/main/java/com/example/nordicnews/ui/home/HomeScreen.kt | avanisoam | 803,286,041 | false | {"Kotlin": 160121} | package com.example.nordicnews.ui.home
import android.net.Uri
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWi... | 0 | Kotlin | 0 | 0 | 07b072261bf7b172745e189fedcf2d017bbb9c51 | 14,963 | NordicNews | MIT License |
boxicons/src/commonMain/kotlin/com/woowla/compose/icon/collections/boxicons/boxicons/regular/BxCool.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 | 4,019 | compose-icon-collections | MIT License |
sorapointa-utils/sorapointa-utils-time/src/main/kotlin/org/sorapointa/utils/Time.kt | Sorapointa | 486,928,445 | false | {"Kotlin": 751968, "Rust": 4292, "Shell": 2385} | @file:Suppress("NOTHING_TO_INLINE")
package org.sorapointa.utils
import kotlinx.datetime.*
import java.time.ZonedDateTime
/**
* Just a fast path for [Clock.System.now]
*/
inline fun now() = Clock.System.now()
/**
* Convert KotlinX [Instant] to Java [ZonedDateTime]
*/
fun Instant.toZonedUtc(): ZonedDateTime = to... | 15 | Kotlin | 27 | 157 | 31578cb9e460bb4516b51fcef4f0c4af5600caa9 | 615 | Sorapointa | Apache License 2.0 |
Corona-Warn-App/src/main/java/de/rki/coronawarnapp/statistics/StatisticsModule.kt | corona-warn-app | 268,027,139 | false | null | package de.rki.coronawarnapp.statistics
import android.content.Context
import dagger.Binds
import dagger.Module
import dagger.Provides
import dagger.multibindings.IntoSet
import de.rki.coronawarnapp.environment.download.DownloadCDNHttpClient
import de.rki.coronawarnapp.environment.download.DownloadCDNServerUrl
import ... | 6 | null | 504 | 2,486 | 7b0eee8d53a090ee0ca585c6a90c4cec570e51d6 | 5,750 | cwa-app-android | Apache License 2.0 |
fontawesome/src/de/msrd0/fontawesome/icons/FA_UNIREGISTRY.kt | msrd0 | 363,665,023 | false | null | /* @generated
*
* This file is part of the FontAwesome Kotlin library.
* https://github.com/msrd0/fontawesome-kt
*
* This library is not affiliated with FontAwesome.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may... | 0 | Kotlin | 0 | 0 | e757d073562077a753280bf412eebfc4a9121b33 | 2,176 | fontawesome-kt | Apache License 2.0 |
animk_builder/src/main/java/com/mozhimen/animk/builder/mos/MAnimKConfig.kt | mozhimen | 766,991,738 | false | {"Kotlin": 77847} | package com.mozhimen.animk.builder.mos
import android.view.animation.AccelerateDecelerateInterpolator
import android.view.animation.Interpolator
import com.mozhimen.basick.utilk.wrapper.UtilKRes
/**
* @ClassName MAnimationConfig
* @Description TODO
* @Author mozhimen / <NAME>
* @Version 1.0
*/
data class MAnimKC... | 0 | Kotlin | 0 | 0 | e7343401b7a09cd2bf3ca2f1d79cfca19bd17a59 | 755 | AAnimKit | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.