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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
app/src/main/java/com/example/ourapplicationglamour3000/models/ModellClass.kt | Unweaveringforehead11 | 683,009,589 | false | null | package com.example.ourapplicationglamour3000.models
class ModellClass {
var id:String = ""
var itemName:String = ""
var itemDescription:String = ""
var itemCategory:String = ""
var itemCategoryId:String = ""
var itemNotes:String = ""
var itemDate:String = ""
var timestamp:Long = 0
... | 0 | Kotlin | 0 | 0 | dbec6f3675c6b4deb72de482ac83a38a7cdbe757 | 945 | Glamour3000 | MIT License |
shared/src/commonMain/kotlin/com.sbga.sdgbapp/Net/VO/Mai2/GameNgMusicIdRequestVO.kt | NickJi2019 | 717,286,554 | false | {"Kotlin": 134744, "Ruby": 2257, "Swift": 1595, "JavaScript": 485, "HTML": 323} | package com.sbga.sdgbapp.Net.VO.Mai2
import com.sbga.sdgbapp.Net.VO.VOSerializer
import kotlinx.serialization.Serializable
@Serializable
class GameNgMusicIdRequestVO : VOSerializer()
| 0 | Kotlin | 1 | 4 | 4358ab163f560a9e28255b789e42b8054e4cd8f9 | 185 | SDGBApp | MIT License |
app/src/main/java/com/red_velvet/yumhub/ui/instructions/InstructionsViewModel.kt | Red-velvet-cake | 646,910,557 | false | {"Kotlin": 322415} | package com.red_velvet.yumhub.ui.instructions
import androidx.lifecycle.SavedStateHandle
import com.red_velvet.yumhub.domain.models.recipes.AnalyzedInstructionsEntity
import com.red_velvet.yumhub.domain.usecases.GetAnalyzedRecipeInstructionsUseCase
import com.red_velvet.yumhub.ui.base.BaseViewModel
import com.red_velv... | 4 | Kotlin | 7 | 10 | 9b01e06754ee1dae4e12f004df4e7b6264a55006 | 1,637 | yumhub | MIT License |
src/main/kotlin/com/dsoftware/ghmanager/data/GhActionsService.kt | cunla | 495,431,686 | false | {"Kotlin": 153824} | package com.dsoftware.ghmanager.data
import com.intellij.openapi.components.service
import com.intellij.openapi.project.Project
import git4idea.remote.hosting.knownRepositories
import kotlinx.coroutines.flow.StateFlow
import org.jetbrains.plugins.github.authentication.accounts.GHAccountManager
import org.jetbrains.plu... | 5 | Kotlin | 9 | 52 | f177566cc83c778fa14b8d224329cce411fa1e0d | 1,312 | ghactions-manager | MIT License |
app/src/main/java/com/june0122/wakplus/data/api/TwitchService.kt | f-lab-edu | 476,731,349 | false | {"Kotlin": 116665} | package com.june0122.wakplus.data.api
import com.june0122.wakplus.data.entity.TwitchUserInfoSet
import com.june0122.wakplus.data.entity.TwitchVideos
import retrofit2.http.GET
import retrofit2.http.Query
interface TwitchService {
@GET("videos")
suspend fun getChannelVideos(
@Query("user_id") userId: St... | 9 | Kotlin | 4 | 25 | 2b64c219ec20b8a3f1c09e6ba56942dae62e7875 | 488 | wak-plus | Apache License 2.0 |
movie/src/main/java/com/future/movie/detail/fragment/MovieDetailFragment.kt | zhan2046 | 96,447,778 | false | null | package com.future.movie.detail.fragment
import android.os.Bundle
import android.util.DisplayMetrics
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.appcompat.app.AppCompatActivity
import androidx.fragment.app.Fragment
import androidx.lifecycle.Observer
import ... | 0 | null | 90 | 528 | 0a939121e5a553e47073e967ca66c4c6bc34c9ed | 6,177 | awaker | Apache License 2.0 |
app/src/main/java/com/nodmp/guide/customize_view/PieChart.kt | nodmp | 287,563,072 | false | null | package com.nodmp.guide.customize_view
import android.content.Context
import android.graphics.Canvas
import android.graphics.Paint
import android.graphics.RectF
import android.util.AttributeSet
import android.util.Log
import android.view.View
import com.nodmp.guide.R
////一个饼状图的实现
class PieChart(context: Context?, att... | 0 | Kotlin | 0 | 0 | 99f55b5fe190ccdd4dad846615f0af09bc8e284b | 2,744 | guide | Apache License 2.0 |
app/src/main/java/com/leehendryp/stoneandroidchallenge/feed/presentation/viewmodel/FeedViewModel.kt | leehendryp | 258,582,373 | false | null | package com.leehendryp.stoneandroidchallenge.feed.presentation.viewmodel
import androidx.lifecycle.ViewModel
import com.leehendryp.stoneandroidchallenge.core.extensions.observeOnMain
import com.leehendryp.stoneandroidchallenge.core.extensions.subscribeOnIO
import com.leehendryp.stoneandroidchallenge.feed.domain.usecas... | 2 | Kotlin | 0 | 0 | 3f165de843abe9ec89eaaf9e93144ac4e6f56f7f | 2,356 | stone_android_challenge | MIT License |
domain/src/main/java/com/zlagi/domain/model/TokensDomainModel.kt | Zlagi | 475,379,557 | false | {"Kotlin": 496613} | package com.zlagi.domain.model
data class TokensDomainModel(
val accessToken: String,
val refreshToken: String
)
| 0 | Kotlin | 12 | 63 | dffd07e8533c285bb5ca9de4e9676985aa0e87cc | 114 | Blogfy | Apache License 2.0 |
app/src/main/java/org/imozerov/streetartview/network/endpoints/ArtWorksEndpoint.kt | genaforvena | 51,136,285 | false | null | package org.imozerov.streetartview.network.endpoints
import org.imozerov.streetartview.network.model.Artwork
import retrofit.Call
import retrofit.http.GET
import rx.Observable
interface ArtWorksEndpoint {
@GET("artworks/")
fun list(): Observable<List<Artwork>>
}
| 19 | Kotlin | 5 | 10 | b6d2f98bc2a62845c35f8f549a7449d34af2ee00 | 274 | StreetArtView | Apache License 2.0 |
src/jsMain/kotlin/org/olafneumann/palette/app/utils/Utils.kt | noxone | 858,150,641 | false | {"Kotlin": 112179, "Dockerfile": 1694, "JavaScript": 1296, "CSS": 764, "HTML": 757} | package org.olafneumann.palette.app.utils
import org.w3c.dom.url.URLSearchParams
import kotlin.math.pow
import kotlin.math.roundToInt
fun Double.format(digits: Int) =
((10.0.pow(digits) * this).roundToInt().toDouble() / 10.0.pow(digits)).toString()
fun URLSearchParams.toMap(): Map<String, String?> {
return o... | 0 | Kotlin | 0 | 0 | 31e71fcf9133202681d5b8fa8e67b3427a1cc5f0 | 1,117 | palette-creator-web | MIT License |
app/src/main/java/com/qifan/kgank/di/viewmodel_module.kt | underwindfall | 177,219,767 | false | null | package com.qifan.kgank.di
import com.qifan.kgank.data.source.remote.KGankRepository
import com.qifan.kgank.ui.KGankViewModel
import org.koin.androidx.viewmodel.ext.koin.viewModel
import org.koin.dsl.module.module
/**
* Created by Qifan on 16/03/2019.
*/
val viewModelModule = module {
viewModel { KGankViewModel... | 0 | Kotlin | 0 | 0 | 816172fc55842b6f5787ce8149af256d1635ba0d | 348 | Gank-Coroutines-Paging | MIT License |
app/src/main/java/com/ncyc/project/main/ui/login/fragment/FindIDViewModel.kt | qwqeqrqwqeqr | 392,321,193 | false | null | package com.ncyc.project.main.ui.login.fragment
import android.app.Application
import android.util.Log
import android.widget.Toast
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.ncyc.project.main.dat... | 0 | Kotlin | 0 | 0 | 5d9aa489675c1a0a362516a22eb35fa59c9084c0 | 3,227 | androidProjectST | Apache License 2.0 |
app/src/main/java/com/dimowner/elections/app/welcome/WelcomeFragment.kt | Dimowner | 173,108,250 | false | null | /*
* Copyright 2019 <NAME>
*
* Licensed to the Apache Software Foundation (ASF) under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership. The ASF licenses this
* file to you under the Apache License, Version ... | 0 | Kotlin | 1 | 1 | ed6db9c18f1bba0c98bc7e091ea1190e0ff22a0f | 1,943 | Elections | Apache License 2.0 |
ThreeDSecure/src/main/java/com/braintreepayments/api/threedsecure/ThreeDSecureUiType.kt | braintree | 21,631,528 | false | {"Kotlin": 1036089, "Java": 700403, "Shell": 282} | package com.braintreepayments.api.threedsecure
enum class ThreeDSecureUiType {
NATIVE, HTML, BOTH
}
| 23 | Kotlin | 233 | 409 | 92dabb74f14e6203259511f6b6a51367e3247fc5 | 105 | braintree_android | MIT License |
app/src/main/java/com/cindaku/holanear/viewmodel/ChatViewModel.kt | metacdq | 567,627,709 | false | {"Kotlin": 356041} | package com.cindaku.holanear.viewmodel
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.cindaku.holanear.db.entity.ChatListWithDetail
import com.cindaku.holanear.module.ChatRepository
import com.cindaku.holanear.module.Storage
import kotlinx.coroutines.flow.Flow
import javax.inje... | 0 | Kotlin | 1 | 0 | 94e3e0e88f637a8dc484fa236f0ccdfecf0b7447 | 1,658 | holanear | MIT License |
libs/flows/flow-mapper-impl/src/main/kotlin/net/corda/flow/mapper/impl/executor/SessionEventExecutor.kt | corda | 346,070,752 | false | null | package net.corda.flow.mapper.impl.executor
import net.corda.avro.serialization.CordaAvroSerializer
import net.corda.data.ExceptionEnvelope
import net.corda.data.flow.event.FlowEvent
import net.corda.data.flow.event.MessageDirection
import net.corda.data.flow.event.SessionEvent
import net.corda.data.flow.event.session... | 117 | Kotlin | 13 | 39 | 9790d4f101f2fd8aecc9d083f8a61c21efe089e7 | 5,775 | corda-runtime-os | Apache License 2.0 |
imx-core-sdk-kotlin-jvm/generated/src/main/kotlin/com/immutable/sdk/api/model/Deposit.kt | immutable | 467,767,205 | false | {"Kotlin": 668106, "Java": 131024, "Mustache": 29745, "Solidity": 10068} | /**
* Immutable X API
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 0.1
* Contact: <EMAIL>
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not e... | 2 | Kotlin | 2 | 5 | 4a823d30db92356c325140874f5ba708547585ca | 1,381 | imx-core-sdk-kotlin-jvm | Apache License 2.0 |
part3/chapter1/MyFragment/app/src/main/java/org/techtown/fragment/LoginFragment.kt | mike-jung | 281,814,310 | false | null | package org.techtown.fragment
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import kotlinx.android.synthetic.main.fragment_login.view.*
class LoginFragment : Fragment() {
override fun onCreateView(inflater:... | 0 | Kotlin | 17 | 13 | f7b6f1df6d5445bee3b02c63527c997da22157f1 | 671 | kotlin-android | Apache License 2.0 |
lib/src/integrationTest/kotlin/com/lemonappdev/konsist/core/declaration/kointerface/KoInterfaceDeclarationForKoObjectProviderTest.kt | LemonAppDev | 621,181,534 | false | null | package com.lemonappdev.konsist.core.declaration.kointerface
import com.lemonappdev.konsist.TestSnippetProvider.getSnippetKoScope
import com.lemonappdev.konsist.api.KoModifier.COMPANION
import com.lemonappdev.konsist.api.KoModifier.INTERNAL
import com.lemonappdev.konsist.api.KoModifier.PRIVATE
import org.amshove.kluen... | 5 | null | 26 | 995 | 603d19e179f59445c5f4707c1528a438e4595136 | 5,582 | konsist | Apache License 2.0 |
app/src/main/kotlin/no/nav/tiltakspenger/vedtak/repository/behandling/alder/AlderVilkårDbJson.kt | navikt | 487,246,438 | false | {"Kotlin": 681488, "Shell": 1309, "Dockerfile": 495, "HTML": 45} | package no.nav.tiltakspenger.vedtak.repository.behandling.alder
import no.nav.tiltakspenger.saksbehandling.domene.vilkår.alder.AlderVilkår
import no.nav.tiltakspenger.vedtak.repository.behandling.felles.PeriodisertUtfallDbJson
import no.nav.tiltakspenger.vedtak.repository.behandling.felles.toDbJson
import no.nav.tilta... | 7 | Kotlin | 0 | 1 | e125e2953c16c4bb2c99e6d36075c553b51ed794 | 1,762 | tiltakspenger-vedtak | MIT License |
sample/src/main/java/il/co/blaster/feathericonslibsample/SecondActivity.kt | Blaster-Creative | 241,336,418 | false | {"Kotlin": 9949} | package il.co.blaster.feathericonslibsample
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.appcompat.app.AppCompatActivity
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerv... | 0 | Kotlin | 0 | 1 | 4113aacde2ce353eea5b94a700fe1143053294d4 | 2,327 | FeatherIcons-iconfont-lib | MIT License |
transport/src/commonMain/kotlin/com/genesys/cloud/messenger/transport/shyrka/send/TextMessage.kt | isabella232 | 460,351,109 | true | {"Kotlin": 233023, "Swift": 22404, "Ruby": 2211} | package com.genesys.cloud.messenger.transport.shyrka.send
import kotlinx.serialization.Required
import kotlinx.serialization.Serializable
@Serializable
internal data class TextMessage(
val text: String,
val metadata: Map<String, String>? = null
) {
@Required val type = "Text"
}
| 1 | null | 0 | 0 | c5e2232b9ebf6836f945bcd43da164a54bb23f3d | 293 | genesys-messenger-transport-mobile-sdk | MIT License |
modules/modules_my/src/main/java/com/cl/modules_my/adapter/DeviceAutomationAdapter.kt | aaaaaaaazmx | 528,318,389 | false | {"Kotlin": 3795613, "Java": 743721} | package com.cl.modules_my.adapter
import android.text.Html
import android.text.Spanned
import androidx.core.text.toSpannable
import androidx.databinding.DataBindingUtil
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.cl.common_base.bean.Au... | 0 | Kotlin | 0 | 0 | 247e94565fc8418fc8c43e543dc52dcd541842b4 | 3,807 | abby | Apache License 2.0 |
sample/src/main/java/com/drake/brv/sample/ui/fragment/CommentFragment.kt | liangjingkanji | 206,460,689 | false | null | package com.drake.brv.sample.ui.fragment
import androidx.recyclerview.widget.RecyclerView
import com.drake.brv.sample.R
import com.drake.brv.sample.databinding.FragmentCommentBinding
import com.drake.brv.sample.model.CommentModel
import com.drake.brv.utils.models
import com.drake.brv.utils.setup
import com.drake.engin... | 6 | Kotlin | 186 | 1,487 | 2d9727b081a72e0af9da4a4a0aeaf3841168bd9e | 2,769 | BRV | Apache License 2.0 |
app/src/main/java/br/com/dtidigital/whoarethoseguys/model/entities/ExampleEntity.kt | zeadion | 172,913,940 | false | null | package br.com.dtidigital.whoarethoseguys.model.entities
data class ExampleEntity(val quoteText: String,
val author: String) {
override fun toString(): String {
return "$quoteText - $author"
}
} | 0 | Kotlin | 1 | 0 | 4b03c7a0cc837472feb361833127d481cb88a771 | 237 | app-watg-android | MIT License |
app/src/main/java/org/blitzortung/android/data/beans/DefaultStrike.kt | KubaDeX | 49,097,832 | true | {"Kotlin": 220517, "Java": 62} | package org.blitzortung.android.data.beans
import java.io.Serializable
data class DefaultStrike(
override val timestamp: Long = 0,
override val longitude: Float = 0f,
override val latitude: Float = 0f,
val altitude: Int = 0,
val amplitude: Float = 0f,
val stationCount: ... | 0 | Kotlin | 0 | 0 | 1197dbf9693b588f92ce8bdb1254507274838a8a | 521 | bo-android | MIT License |
android/app/src/main/kotlin/ca/etsmtl/applets/etsmobile/domain/FetchCurrentSessionSeancesUseCase.kt | ApplETS | 159,037,998 | false | null | package ca.etsmtl.applets.etsmobile.domain
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.Transformations
import ca.etsmtl.applets.etsmobile.R
import ca.etsmtl.applets.etsmobile.presentation.App
import ca.etsmtl.applets.repository.data.repository.signets.SeanceRe... | 66 | null | 4 | 13 | c4c5c86a54fe16e19a5f7eeea3a0dfb7076207ad | 1,542 | Notre-Dame-v3 | Apache License 2.0 |
app/src/main/java/io/github/a2en/shoestore/MainActivity.kt | a2en | 387,120,114 | false | null | package io.github.a2en.shoestore
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.navigation.findNavController
import androidx.navigation.fragment.findNavController
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super... | 0 | Kotlin | 0 | 0 | d3a393fdad6fe5a3fa5376f1f974aab9bd63acbe | 574 | Shoe_Store_Android_Navigation_Graph | Apache License 2.0 |
src/test/kotlin/no/nav/helse/flex/nyttarbeidsforhold/SammeSkjaringstidspunktTest.kt | navikt | 475,306,289 | false | {"Kotlin": 1859651, "Dockerfile": 267} | package no.nav.helse.flex.nyttarbeidsforhold
import no.nav.helse.flex.client.aareg.ArbeidsforholdOversikt
import no.nav.helse.flex.domain.Soknadstatus
import no.nav.helse.flex.domain.Sporsmal
import no.nav.helse.flex.domain.Svar
import no.nav.helse.flex.domain.Sykepengesoknad
import no.nav.helse.flex.mock.opprettNySok... | 5 | Kotlin | 0 | 4 | ae134009919f3e104bca0b77313cd2ff1368a72f | 6,325 | sykepengesoknad-backend | MIT License |
tests/src/test/kotlin/dev/restate/e2e/node/HandlerApiTest.kt | restatedev | 489,007,488 | false | {"Kotlin": 165135, "Java": 66424, "TypeScript": 66189, "Shell": 760, "Dockerfile": 403} | // Copyright (c) 2023 - Restate Software, Inc., Restate GmbH
//
// This file is part of the Restate e2e tests,
// which are released under the MIT license.
//
// You can find a copy of the license in file LICENSE in the root
// directory of this repository or package, or at
// https://github.com/restatedev/e2e/blob/mai... | 14 | Kotlin | 2 | 2 | 79db56d7acbc2c32e9a52a770bb07fd4099a1bcd | 1,962 | e2e | MIT License |
Fase-1/API/self-order-management/src/main/kotlin/com/fiap/selfordermanagement/adapters/driver/web/api/PaymentAPI.kt | FIAP-3SOAT-G15 | 686,372,615 | false | {"Kotlin": 117337, "HCL": 2087, "Makefile": 622} | package com.fiap.selfordermanagement.adapters.driver.web.api
import com.fiap.selfordermanagement.application.domain.entities.Payment
import io.swagger.v3.oas.annotations.tags.Tag
import org.springframework.http.ResponseEntity
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind... | 3 | Kotlin | 0 | 4 | 2e1f4ccfbc2eb379639b72709fe28105665ee6d3 | 684 | tech-challenge | MIT License |
src/main/kotlin/y2023/day07/Player.kt | niedrist | 726,105,019 | false | {"Kotlin": 13033} | package y2023.day07
data class Player(val hand: List<Char>, val bid: Int) {
fun getType(withJoker: Boolean): Int {
val cardCountSorted = hand.filter {
!withJoker || it != 'J'
}.groupingBy { it }.eachCount().values.sortedDescending().toMutableList()
if (withJoker) {
... | 0 | Kotlin | 0 | 1 | 4be18d9bfe525ca5d8f184f808ea66be77497840 | 784 | advent-of-code | Apache License 2.0 |
libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/tasks/configuration/KaptGenerateStubsConfig.kt | keeganwitt | 524,268,149 | true | {"Kotlin": 66553092, "Java": 6996490, "Swift": 4228526, "C": 2633021, "C++": 2337038, "Objective-C": 560154, "JavaScript": 208273, "Objective-C++": 167067, "Groovy": 103247, "Python": 45251, "Shell": 36903, "TypeScript": 22641, "Lex": 18369, "Batchfile": 15927, "CSS": 11259, "HTML": 6105, "EJS": 5241, "CMake": 5121, "D... | /*
* Copyright 2010-2022 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.gradle.tasks.configuration
import org.gradle.api.Project
import org.gradle.api.f... | 0 | null | 0 | 0 | eb3bbc326563e069585eb03fdd74fc13bc36f32e | 6,361 | kotlin | Apache License 2.0 |
question-service/src/main/kotlin/de/clines/questionservice/dto/GeneralQuestionModelDto.kt | d-stoll | 239,963,269 | false | null | package de.clines.questionservice.dto
import de.clines.questionservice.model.Question
data class GeneralQuestionModelDto(
val id: String,
val tags: List<String>
)
fun Question.GeneralQuestion.toGeneralQuestionModelDto(): GeneralQuestionModelDto {
return GeneralQuestionModelDto(id, tags)
} | 0 | Kotlin | 0 | 2 | 4fff166b17c2b7fd0adf3117fded94d6ecc58af5 | 312 | citymatch | Apache License 2.0 |
src/main/java/com/temelyan/pomoapp/service/ProjectService.kt | temaEmelyan | 108,548,342 | false | null | package com.temelyan.pomoapp.service
import com.temelyan.pomoapp.model.Project
import java.time.LocalDateTime
interface ProjectService {
fun save(project: Project, userId: Int): Project
fun getAllForUserWithTasks(userId: Int): Set<Project>
fun getAllForUserWithTasksAndPomos(userId: Int, from: LocalDate... | 0 | Kotlin | 0 | 2 | c9ced11ceecffbb9971d6f42adb855f69eb14d64 | 361 | pomodoreApp | MIT License |
src/test/kotlin/bybit/sdk/rest/MarketClientTest.kt | alleyway | 650,567,178 | false | null | package bybit.sdk.rest
import bybit.sdk.rest.market.InstrumentsInfoParams
import bybit.sdk.rest.market.PublicTradingHistoryParams
import bybit.sdk.shared.Category
import kotlin.test.Test
import kotlin.test.assertEquals
import kotlin.test.assertTrue
internal class MarketClientTest {
private var client: ByBitRestC... | 0 | Kotlin | 0 | 0 | a72a8af3cad6ebec9b83cdb8def6fce7c0d70c7f | 1,546 | bybit-kotlin-api | MIT License |
mediator/src/main/kotlin/domain/IATCMediator.kt | brunotiyoda | 350,147,780 | false | null | package domain
interface IATCMediator {
val isLandingOk: Boolean
fun registerRunway(runway: Runway)
fun registerFlight(flight: Flight)
fun setLandingStatus(status: Boolean)
}
| 0 | Kotlin | 0 | 0 | 435405cf5b25ce36a94936b0eae9ddb59030c11a | 192 | behavioral-design-patterns | MIT License |
implementation/src/main/kotlin/io/github/tomplum/aoc/sorting/crate/strategy/CrateMover9000.kt | TomPlum | 572,260,182 | false | null | package io.github.tomplum.aoc.sorting.crate.strategy
import io.github.tomplum.aoc.sorting.crate.Instruction
import java.util.*
/**
* This model of giant cargo crane moves one crate at a time.
*/
class CrateMover9000 : CrateSortingStrategy {
override fun sort(instructions: List<Instruction>, stacks: List<Stack<C... | 0 | Kotlin | 0 | 0 | 703db17fe02a24d809cc50f23a542d9a74f855fb | 592 | advent-of-code-2022 | Apache License 2.0 |
example-ftue/src/main/java/com/zhuinden/simplestackftuecomposesample/features/registration/EnterProfileDataKey.kt | Zhuinden | 343,652,244 | false | null | package com.zhuinden.simplestackftuecomposesample.features.registration
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import com.zhuinden.simplestack.ScopeKey
import com.zhuinden.simplestackftuecomposesample.app.ComposeKey
import kotlinx.parcelize.Parcelize
@Parcelize
data object Ente... | 3 | Kotlin | 8 | 98 | 48a1b40e9348258eb744fe8354a18f1cc89679c2 | 669 | simple-stack-compose-integration | Apache License 2.0 |
src/main/kotlin/dev/supergrecko/kllvm/ir/values/constants/ConstantVector.kt | dhruvrajvanshi | 251,108,828 | true | {"Kotlin": 197922, "Shell": 2591, "Makefile": 33} | package dev.supergrecko.kllvm.ir.values.constants
import dev.supergrecko.kllvm.internal.contracts.Unreachable
import dev.supergrecko.kllvm.internal.util.toLLVMBool
import dev.supergrecko.kllvm.ir.TypeKind
import dev.supergrecko.kllvm.ir.Value
import dev.supergrecko.kllvm.ir.instructions.IntPredicate
import dev.supergr... | 0 | Kotlin | 0 | 0 | 40031e5f00509d8a3e9dc4cf17002d0b2ddf6af8 | 16,220 | kllvm | Apache License 2.0 |
platform/microservice/src/main/kotlin/com/dreamsoftware/di/SmsNotificationModule.kt | sergio11 | 538,255,353 | false | {"Kotlin": 56871, "Ruby": 5208, "Shell": 1373, "Dockerfile": 625} | package com.dreamsoftware.di
import com.dreamsoftware.model.SmsSenderConfig
import com.dreamsoftware.service.OTPSender
import com.dreamsoftware.service.impl.OTPSmsSenderServiceImpl
import org.koin.core.qualifier.named
import org.koin.dsl.module
const val SMS_NOTIFICATION_SENDER = "smsNotificationSender"
val smsNotif... | 0 | Kotlin | 1 | 6 | 9e0cd12fe6ddcc86be81ac29690dd817b45c8a60 | 447 | passwordless_authentication_architecture | MIT License |
services/csm.cloud.project.project/src/main/kotlin/com/bosch/pt/iot/smartsite/project/attachment/facade/rest/resource/response/factory/AttachmentResourceFactoryHelper.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.project.attachment.facade.rest.resource.response.factory
imp... | 0 | Kotlin | 3 | 9 | 9f3e7c4b53821bdfc876531727e21961d2a4513d | 2,084 | bosch-pt-refinemysite-backend | Apache License 2.0 |
app/src/main/java/com/example/myweather/data/model/MainRemote.kt | serj113 | 227,987,490 | false | null | package com.example.myweather.data.model
import androidx.room.Entity
import com.example.myweather.domain.entity.Main
@Entity
data class MainRemote(
val temp: Double,
val feels_like: Double,
val temp_min: Double,
val temp_max: Double,
val pressure: Int,
val sea_level: Int,
val grnd_level: I... | 0 | Kotlin | 0 | 0 | 152f181c1e16e8691332854f86617075b678f304 | 509 | My-Weather | Apache License 2.0 |
app/src/main/java/cz/hlinkapp/flidea/data/data_sources/room/MainDao.kt | gohlinka2 | 207,782,913 | false | null | package cz.hlinkapp.flidea.data.data_sources.room
import androidx.lifecycle.LiveData
import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import cz.hlinkapp.flidea.model.Flight
import cz.hlinkapp.flidea.model.Flight.Companion.DISPLAY_DAY_TIMESTAMP_DEF_... | 0 | Kotlin | 0 | 0 | 247eabffbbfb431d579af0c247e472e59d6da637 | 3,626 | flidea | Apache License 2.0 |
src/main/kotlin/io/github/smaugfm/lunchmoney/request/transaction/params/GetAllTransactionsParams.kt | smaugfm | 609,011,135 | false | {"Kotlin": 190467, "Shell": 1786} | @file:UseSerializers(TransactionStatusSerializer::class, LocalDateSerializer::class)
package io.github.smaugfm.lunchmoney.request.transaction.params
import io.github.smaugfm.lunchmoney.model.enumeration.LunchmoneyTransactionStatus
import io.github.smaugfm.lunchmoney.serializer.LocalDateSerializer
import io.github.sma... | 0 | Kotlin | 0 | 1 | 913a67b4f81302894a64ab1dacf6937e262a6831 | 946 | lunchmoney | MIT License |
store/src/commonTest/kotlin/org/mobilenativefoundation/store/store5/MutableStoreWithMultiCacheTests.kt | MobileNativeFoundation | 226,169,258 | false | {"Kotlin": 302884} | package org.mobilenativefoundation.store.store5
import kotlinx.coroutines.flow.take
import kotlinx.coroutines.flow.toList
import kotlinx.coroutines.test.TestScope
import kotlinx.coroutines.test.runTest
import org.mobilenativefoundation.store.cache5.CacheBuilder
import org.mobilenativefoundation.store.cache5.MultiCache... | 53 | Kotlin | 193 | 2,991 | 4f34a8b017da4934d84f58c61167fa780471f0a8 | 3,783 | Store | Apache License 2.0 |
app/src/main/java/com/mycompany/advioo/ui/activities/MainActivity.kt | demirelarda | 609,874,629 | false | {"Kotlin": 330942} | package com.mycompany.advioo.ui.activities
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.navigation.findNavController
import com.mycompany.advioo.R
import com.mycompany.advioo.ui.fragments.AppFragmentFactory
import com.mycompany.advioo.util.Util.... | 0 | Kotlin | 0 | 0 | b27390784a5903d4ba81249f7b3535ff49c08ab1 | 1,920 | Advioo | FSF All Permissive License |
src/backend/archive/boot-archive/src/main/kotlin/com/tencent/bkrepo/archive/ArchiveApplication.kt | TencentBlueKing | 548,243,758 | false | {"Kotlin": 13657594, "Vue": 1261332, "JavaScript": 683823, "Shell": 124343, "Lua": 100415, "SCSS": 34137, "Python": 25877, "CSS": 17382, "HTML": 13052, "Dockerfile": 4483, "Smarty": 3661, "Java": 423} | package com.tencent.bkrepo.archive
import com.tencent.bkrepo.common.service.condition.MicroService
import org.springframework.boot.runApplication
@MicroService
class ArchiveApplication
fun main(args: Array<String>) {
runApplication<ArchiveApplication>(*args)
}
| 363 | Kotlin | 38 | 70 | 54b0c7ab20ddbd988387bac6c9143b594681e73c | 268 | bk-repo | MIT License |
app/src/main/java/com/nohjason/momori/component/button/MomoriIconButton.kt | Team-Nojason | 697,189,752 | false | {"Kotlin": 47062} | package com.nohjason.momori.component.button
import android.util.Log
import androidx.annotation.DrawableRes
import androidx.compose.foundation.BorderStroke
import androidx.compose.foundation.background
import androidx.compose.foundation.interaction.MutableInteractionSource
import androidx.compose.foundation.layout.Box... | 0 | Kotlin | 0 | 0 | e8481073f974baae727fb89fccd73a94e3af10e2 | 3,171 | Momori-Android | MIT License |
src/main/kotlin/org/xbery/artbeams/google/docs/controller/GoogleDocsController.kt | beranradek | 354,546,253 | false | {"Kotlin": 535613, "JavaScript": 286267, "FreeMarker": 105721, "CSS": 12906, "Procfile": 109} | package org.xbery.artbeams.google.docs.controller
import jakarta.servlet.http.HttpServletRequest
import org.springframework.http.HttpHeaders
import org.springframework.http.HttpStatus
import org.springframework.http.MediaType
import org.springframework.http.ResponseEntity
import org.springframework.web.bind.annotation... | 0 | Kotlin | 1 | 2 | 75c5dc6892b423fe840410ce1bab6c710b6ba8f2 | 2,576 | artbeams | Apache License 2.0 |
src/test/java/common/factory/StringFactory.kt | KamilSucharski | 348,818,428 | false | null | package common.factory
object StringFactory {
private val ALLOWED_CHARACTERS = charArrayOf('a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z')
fun createString(length: Int): String {
val builder = StringBuilder()
fo... | 0 | Kotlin | 0 | 0 | 3dae2204818c1f7f52624deeae18efaa148a4ec1 | 473 | appium_suite | Apache License 2.0 |
common/common-base/src/main/java/com/bbgo/common_base/interceptor/RefletionUtils.kt | bbggo | 371,705,786 | false | null | package com.bytebitx.base.interceptor
import com.alibaba.android.arouter.utils.ClassUtils
import com.bytebitx.base.BaseApplication
import com.bytebitx.base.util.AppUtil
/**
* @Description:
* @Author: wangyuebin
* @Date: 2021/9/18 9:37 上午
*/
class RefletionUtils {
companion object {
private val class... | 3 | Kotlin | 3 | 8 | 9c983af26f5bd9cd5e08b7a6080190305738b435 | 2,208 | WanAndroid | Apache License 2.0 |
app/src/main/java/com/zxdeveloper/bmicalculator/MainActivity.kt | iamnippon | 806,685,359 | false | {"Kotlin": 3006} | package com.zxdeveloper.bmicalculator
import android.graphics.Color
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.Button
import android.widget.EditText
import android.widget.TextView
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceSta... | 0 | Kotlin | 0 | 1 | 47d0a0ecd827c9ae6aa1f0e484e6e3a284931685 | 1,968 | BMI-APP-Kotlin | MIT License |
projects/prison-identifier-and-delius/src/integrationTest/kotlin/uk/gov/justice/digital/hmpps/NomsNumberIntegrationTest.kt | ministryofjustice | 500,855,647 | false | {"Kotlin": 2996093, "HTML": 48956, "D2": 27334, "Ruby": 21689, "Shell": 11799, "SCSS": 5330, "JavaScript": 2942, "HCL": 2575, "Dockerfile": 1709} | package uk.gov.justice.digital.hmpps
import com.fasterxml.jackson.databind.ObjectMapper
import com.github.tomakehurst.wiremock.WireMockServer
import org.assertj.core.api.Assertions
import org.junit.jupiter.api.MethodOrderer
import org.junit.jupiter.api.Order
import org.junit.jupiter.api.Test
import org.junit.jupiter.a... | 86 | Kotlin | 0 | 1 | 112db64bc5eb5f17c7063ce2d8e69d6c3c2a5112 | 8,075 | hmpps-probation-integration-services | MIT License |
flowbus/src/main/java/me/reezy/cosmo/flowbus/utility.kt | czy1121 | 531,831,912 | false | null | package me.reezy.cosmo.flowbus
import androidx.lifecycle.Lifecycle
import androidx.lifecycle.LifecycleOwner
import androidx.lifecycle.lifecycleScope
import androidx.lifecycle.whenStateAtLeast
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.launch
inline fun <reified T> busKey(name: String) = BusKey(nam... | 0 | Kotlin | 0 | 2 | 24fbf0154080bd53364d953861a0a80ba9936121 | 595 | flowbus | Apache License 2.0 |
src/main/java/com/aillen/shopmall/base/BaseApplication.kt | anlonglong | 138,116,731 | false | {"Kotlin": 234110, "HTML": 390} | package com.aillen.shopmall.base
import android.app.Application
import android.os.Handler
import android.os.Looper
import cn.bmob.v3.Bmob
import com.aillen.shopmall.R
import com.iflytek.cloud.SpeechUtility
import kotlin.properties.Delegates
/**
* Created by anlonglong on 2018/4/25.
* Email: 940752944@qq.com
*/
cla... | 0 | Kotlin | 2 | 2 | 6ceafeca69702605c08a04957c57ab66bff01d08 | 1,040 | ShopMall | Apache License 2.0 |
player/playback-engine/src/main/kotlin/com/tidal/sdk/player/playbackengine/player/renderer/audio/flac/LibflacAudioRendererFactory.kt | tidal-music | 806,866,286 | false | {"Kotlin": 1775374, "Shell": 9881, "Python": 7380, "Mustache": 911} | package com.tidal.sdk.player.playbackengine.player.renderer.audio.flac
import android.os.Handler
import androidx.media3.decoder.flac.LibflacAudioRenderer
import androidx.media3.exoplayer.audio.AudioRendererEventListener
import com.tidal.sdk.player.playbackengine.player.renderer.audio.AudioRendererFactory
internal cla... | 27 | Kotlin | 0 | 23 | 1f654552133ef7794fe9bb7677bc7fc94c713aa3 | 570 | tidal-sdk-android | Apache License 2.0 |
reaktive/src/nativeCommonMain/kotlin/com/badoo/reaktive/scheduler/BufferedExecutor.kt | badoo | 174,194,386 | false | {"Kotlin": 1507792, "Swift": 2268, "HTML": 956} | package com.badoo.reaktive.scheduler
import com.badoo.reaktive.utils.lock.Lock
internal actual class BufferedExecutor<in T> actual constructor(
private val executor: Scheduler.Executor,
private val onNext: (T) -> Unit
) {
private val lock = Lock()
private val queue = ArrayDeque<T>()
private var i... | 2 | Kotlin | 57 | 1,171 | 26788ab67ef85e2e3971e5bc79cce4ed9e3b5636 | 984 | Reaktive | Apache License 2.0 |
app/src/main/java/com/rifafauzi/moviecoroutines/utils/ViewModelKey.kt | rrifafauzikomara | 236,888,438 | false | null | package com.rifafauzi.moviecoroutines.utils
import androidx.lifecycle.ViewModel
import dagger.MapKey
import kotlin.reflect.KClass
/**
* Created by rrifafauzikomara on 2020-02-20.
*/
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER)
@Retention(AnnotationRetention... | 0 | Kotlin | 2 | 10 | 04783877178c459bd1183e1f8378d45962b6af6a | 410 | MovieCoroutines | The Unlicense |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/medialive/CfnChannelHlsS3SettingsPropertyDsl.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 63959868} | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package io.cloudshiftdev.awscdkdsl.services.medialive
import io.cloudshiftdev.awscdkdsl.common.CdkDsl... | 3 | Kotlin | 0 | 3 | c59c6292cf08f0fc3280d61e7f8cff813a608a62 | 1,453 | awscdk-dsl-kotlin | Apache License 2.0 |
modules/ui/src/main/kotlin/com/harleyoconnor/gitdesk/ui/menu/clone/CloneTab.kt | Harleyoc1 | 437,374,163 | false | {"Kotlin": 627023, "CSS": 15559, "Java": 5354} | package com.harleyoconnor.gitdesk.ui.menu.clone
import com.harleyoconnor.gitdesk.git.repository.Remote
import com.harleyoconnor.gitdesk.ui.menu.MenuWindow
import com.harleyoconnor.gitdesk.ui.util.Tab
import com.harleyoconnor.gitdesk.ui.window.Window
import javafx.scene.Node
import javafx.scene.layout.Region
import jav... | 0 | Kotlin | 0 | 0 | 88e49e1e3f1072fd16e7651dc716b891c50cfa71 | 906 | GitDesk | MIT License |
modules/ui/src/main/kotlin/com/harleyoconnor/gitdesk/ui/menu/clone/CloneTab.kt | Harleyoc1 | 437,374,163 | false | {"Kotlin": 627023, "CSS": 15559, "Java": 5354} | package com.harleyoconnor.gitdesk.ui.menu.clone
import com.harleyoconnor.gitdesk.git.repository.Remote
import com.harleyoconnor.gitdesk.ui.menu.MenuWindow
import com.harleyoconnor.gitdesk.ui.util.Tab
import com.harleyoconnor.gitdesk.ui.window.Window
import javafx.scene.Node
import javafx.scene.layout.Region
import jav... | 0 | Kotlin | 0 | 0 | 88e49e1e3f1072fd16e7651dc716b891c50cfa71 | 906 | GitDesk | MIT License |
app/src/main/java/com/muradtop/kitsu/presentation/models/manga/TinyUI.kt | muradtop | 493,405,815 | false | {"Kotlin": 144882} | package com.muradtop.kitsu.presentation.models.manga
import com.muradtop.kitsu.domain.models.manga.TinyModel
data class TinyUI(
val width: Int?,
val height: Int?
)
fun TinyModel.toUI() = TinyUI(width, height)
| 0 | Kotlin | 0 | 0 | 9be8846ddd2bf85896a139a742314b23bca4a2e7 | 220 | Kitsu-Auntheticator | MIT License |
features/search/src/main/java/com/escodro/search/di/SearchModule.kt | igorescodro | 116,942,964 | false | null | package com.escodro.search.di
import com.escodro.search.mapper.TaskSearchMapper
import com.escodro.search.presentation.SearchViewModel
import org.koin.androidx.viewmodel.dsl.viewModelOf
import org.koin.core.module.dsl.factoryOf
import org.koin.dsl.module
/**
* Search dependency injection module.
*/
val searchModule... | 16 | Kotlin | 106 | 999 | e64a652c6b62dd5ca80c2c128186ef4b8bf6cf63 | 440 | alkaa | Apache License 2.0 |
plugin/src/main/kotlin/net/octyl/ts2kt/gradle/tasks/RunTs2ktForPackage.kt | octylFractal | 148,719,546 | false | {"Kotlin": 84220} | /*
* This file is part of ts2kt-unofficial-gradle-plugin-plugin, licensed under the MIT License (MIT).
*
* Copyright (c) <NAME> <https://octyl.net>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (... | 6 | Kotlin | 2 | 2 | 06b0e804f26f897cde77049ce0b077a7b2bf26f4 | 2,160 | ts2kt-unofficial-gradle-plugin | MIT License |
modern-treasury-java-core/src/test/kotlin/com/moderntreasury/api/models/ClientPingParamsTest.kt | Modern-Treasury | 665,761,562 | false | {"Kotlin": 6155959, "Java": 1587, "Shell": 1285} | package com.moderntreasury.api.models
import com.moderntreasury.api.models.*
import org.junit.jupiter.api.Test
class ClientPingParamsTest {
@Test
fun createClientPingParams() {
ClientPingParams.builder().build()
}
}
| 1 | Kotlin | 1 | 0 | 8d229383b41338e97049f8d3c4beff65c8b1dc9e | 239 | modern-treasury-java | MIT License |
shared/src/androidMain/kotlin/main.android.kt | MixDrinks | 614,917,688 | false | null | import androidx.appcompat.app.AppCompatActivity
import androidx.compose.runtime.Composable
import androidx.compose.ui.platform.LocalContext
import com.arkivanov.decompose.defaultComponentContext
import org.mixdrinks.app.MixDrinksApp
@Composable
fun MainView() {
val context = (LocalContext.current as AppCompatActivit... | 13 | Kotlin | 0 | 3 | d748f6d572f479f15125b5cf62730e96e419523d | 375 | Mobile | Apache License 2.0 |
app/src/main/java/com/losandroides/learn/domain/ItemRepository.kt | LosAndroides | 451,635,400 | false | null | package com.losandroides.learn.domain
import arrow.core.Either
import arrow.core.left
import com.losandroides.learn.data.local.datasource.LocalItemDatasource
import com.losandroides.learn.data.network.item.datasource.RemoteItemDatasource
import com.losandroides.learn.data.toDomain
import com.losandroides.learn.domain.... | 9 | Kotlin | 2 | 23 | 44d531cad2f672ac274794e2e2ec4009d5f88366 | 964 | Learn | Apache License 2.0 |
app/src/main/java/com/nonetxmxy/mmzqfxy/model/auth/ConfirmMessage.kt | AnFxy | 623,415,411 | false | null | package com.nonetxmxy.mmzqfxy.model.auth
data class ConfirmMessage(
val requestAmount: Double,
val requestDays: String,
val proId: Long,
val proName: String,
val proLogo: String,
val handAmount: Double,
val rate: Double,
val payDate: String,
val needPayWhenDateOver: Double,
val ... | 0 | Kotlin | 0 | 0 | 5fa1b0610746a42a8adad1f7da282842356851d1 | 390 | M22 | Apache License 2.0 |
modules/library-ui/src/main/kotlin/com/leinardi/forlago/library/ui/component/BottomSheetNavigator.kt | leinardi | 405,185,933 | false | null | /*
* Copyright 2022 Roberto Leinardi.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | 0 | Kotlin | 1 | 7 | fcc6d519b69c17fc3e0bddcfe89c88ae4dd5c541 | 2,511 | Forlago | Apache License 2.0 |
android/app/src/main/java/com/marcinmoskala/kotlinacademy/ui/view/news/NewsItemAdapter.kt | edvin | 112,480,371 | true | {"CSS": 390495, "Kotlin": 82563, "JavaScript": 4278, "HTML": 1285} | package com.marcinmoskala.kotlinacademy.ui.view.news
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import com.marcinmoskala.kotlinacademy.R
import com.marcinmoskala.kotlinacademy.data.News
import com.marcinmoskala.kotlinacademy.ui.common.bindView
... | 0 | CSS | 0 | 3 | 40c453109005f3c5080ee2b0ffed10e6aea25963 | 1,635 | KotlinAcademyApp | Apache License 2.0 |
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/ZoomReplace.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,314 | compose-icon-collections | MIT License |
src/main/java/com/mvv/gui/cardeditor/FindWordInOtherSets.kt | odisseylm | 679,732,600 | false | {"Kotlin": 958577, "CSS": 25523, "Java": 6651} | package com.mvv.gui.cardeditor
import com.mvv.gui.javafx.newButton
import com.mvv.gui.words.MatchMode
import javafx.application.Platform
import javafx.event.EventHandler
import javafx.scene.control.ComboBox
import javafx.scene.control.TextField
import javafx.scene.image.ImageView
import javafx.scene.layout.HBox
import... | 0 | Kotlin | 0 | 0 | cb6364700e440bb0a7632e5ab7e41a68120244dc | 1,514 | learn-words | Creative Commons Attribution 3.0 Unported |
buildSrc/src/main/kotlin/proguard.kt | LlamaLad7 | 444,907,542 | false | {"Java": 505467, "Kotlin": 5802, "ANTLR": 4937} | import gradle.kotlin.dsl.accessors._c5ed198e191f30f39ee46d0abbbd888f.javaToolchains
import org.gradle.api.Project
import org.gradle.jvm.toolchain.JavaLanguageVersion
import org.gradle.kotlin.dsl.create
import proguard.gradle.ProGuardTask
import java.io.File
fun Project.createProGuardTask(name: String, input: File, out... | 2 | Java | 16 | 304 | 76a2a0b589b68be1f76b79a97009d670cbf3784c | 909 | MixinExtras | MIT License |
src/main/kotlin/dev/supergrecko/kllvm/ir/values/ConstantValue.kt | dhruvrajvanshi | 251,108,828 | true | {"Kotlin": 197922, "Shell": 2591, "Makefile": 33} | package dev.supergrecko.kllvm.ir.values
import dev.supergrecko.kllvm.internal.contracts.ContainsReference
import dev.supergrecko.kllvm.internal.contracts.Unreachable
import dev.supergrecko.kllvm.internal.util.fromLLVMBool
import dev.supergrecko.kllvm.ir.Type
import dev.supergrecko.kllvm.ir.Value
import dev.supergrecko... | 0 | Kotlin | 0 | 0 | 40031e5f00509d8a3e9dc4cf17002d0b2ddf6af8 | 3,059 | kllvm | Apache License 2.0 |
Stopwatch App/app/src/main/java/com/example/stopwatchapp/MainActivity.kt | sudo-parnab | 868,831,175 | false | {"Kotlin": 157182, "Java": 51878} | package com.example.stopwatchapp
import android.Manifest
import android.content.ComponentName
import android.content.Context
import android.content.Intent
import android.content.ServiceConnection
import android.os.Bundle
import android.os.IBinder
import android.util.Log
import androidx.activity.ComponentActivity
impor... | 0 | Kotlin | 5 | 4 | cf10dc900d805d7847ee74f7bb54d44fc75dcfcb | 2,472 | Its-apptober | MIT License |
shuttle/database/src/main/kotlin/shuttle/database/datasource/SuggestionCacheDataSource.kt | fardavide | 462,194,990 | false | {"Kotlin": 465845, "Shell": 11573} | package shuttle.database.datasource
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.invoke
import org.koin.core.annotation.Factory
import org.koin.core.annotation.Named
import shuttle.database.SuggestionCacheQueries
import shuttle.database.model.DatabaseCachedSuggestedApp
import shuttle.databas... | 12 | Kotlin | 1 | 14 | 375798a9ea6433839d5d34965afd0b216f82391a | 1,548 | Shuttle | Apache License 2.0 |
app/src/main/java/com/honorida/ui/components/pages/library/components/BookCard.kt | Pa222 | 739,687,721 | false | {"Kotlin": 166377} | package com.honorida.ui.components.pages.library.components
import androidx.compose.foundation.clickable
import androidx.compose.material3.Card
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import com.honorida.data.models.db.Book
import com.honorida.ui.components.shared.BookThumbnail
... | 0 | Kotlin | 0 | 0 | 44f104b5f3a957f4977d8b65f5748f989545766b | 583 | Honorida | Apache License 2.0 |
kotlin/android/app/src/main/java/dev/firezone/android/features/settings/ui/AdvancedSettingsFragment.kt | firezone | 257,787,813 | false | {"Elixir": 3615162, "Rust": 1429084, "TypeScript": 350643, "HCL": 280160, "Swift": 184242, "Kotlin": 113193, "HTML": 56616, "Shell": 48405, "JavaScript": 23181, "Dockerfile": 13166, "Makefile": 5495, "CSS": 3446, "Nix": 2504, "Batchfile": 930, "C": 334, "Mermaid": 319, "MDX": 197} | /* Licensed under Apache 2.0 (C) 2024 Firezone, Inc. */
package dev.firezone.android.features.settings.ui
import android.os.Bundle
import android.view.View
import android.view.inputmethod.EditorInfo
import androidx.core.widget.doOnTextChanged
import androidx.fragment.app.Fragment
import androidx.fragment.app.activityV... | 343 | Elixir | 279 | 6,711 | 4c6a64defe2e2c6c7159159bf57bc5488b9a4d8d | 2,923 | firezone | Apache License 2.0 |
app/src/main/java/com/example/practice3/provider/GameProvider.kt | MJackson22-bit | 477,278,453 | false | null | package com.example.practice3.provider
import com.example.practice3.model.Game
class GameProvider {
companion object {
var gameList = mutableListOf<Game>(
Game(0, "<NAME>", "Supercell", "Estrategia", "https://media.vandal.net/i/ivandal/1200x630/37900/clash-royale-2016330115744_6.jpg", "Lorem I... | 0 | Kotlin | 0 | 0 | e77ce2a154c8362c643477730493dd4fe44e01c0 | 1,386 | GameManagement | MIT License |
adoptium-models-parent/adoptium-api-v3-models/src/main/kotlin/net/adoptium/api/v3/config/APIConfig.kt | adoptium | 349,432,712 | false | {"Kotlin": 625902, "HTML": 8785, "Shell": 2474, "Dockerfile": 2080, "CSS": 2037} | package net.adoptium.api.v3.config
class APIConfig {
companion object {
val ENVIRONMENT: MutableMap<String, String> = HashMap(System.getenv())
val DEBUG: Boolean = System.getenv("DEBUG")?.toBoolean() ?: false
var DISABLE_UPDATER: Boolean = System.getenv("DISABLE_UPDATER")?.toBoolean() ?: f... | 23 | Kotlin | 26 | 33 | b2fffafe0748e028d5e77e9840b34d43eaccc55b | 601 | api.adoptium.net | Apache License 2.0 |
src/main/kotlin/cn/yangtuooc/gin/endpoints/GinUrlMappingElement.kt | yangtuooc | 727,745,109 | false | {"Kotlin": 12858} | package cn.yangtuooc.gin.endpoints
import com.intellij.microservices.url.UrlPath
import com.intellij.openapi.util.text.StringUtil
import com.intellij.psi.PsiElement
/**
* @author yangtuo
*/
interface GinUrlMappingElement {
fun getURL(): String
fun getUrlPath(): UrlPath
fun getNavigationTarget(): Psi... | 5 | Kotlin | 0 | 0 | e70e8c12ab4c1d93f29ea197b5e2c2279d9c7649 | 774 | gin-endpoints | MIT License |
tiltak/src/main/kotlin/no/nav/amt/tiltak/tiltak/dbo/GjennomforingDbo.kt | navikt | 393,356,849 | false | null | package no.nav.amt.tiltak.tiltak.dbo
import no.nav.amt.tiltak.core.domain.arrangor.Arrangor
import no.nav.amt.tiltak.core.domain.tiltak.Gjennomforing
import no.nav.amt.tiltak.core.domain.tiltak.Tiltak
import no.nav.amt.tiltak.utils.UpdateCheck
import no.nav.amt.tiltak.utils.UpdateStatus
import java.time.LocalDate
impo... | 3 | null | 1 | 2 | 90b2da08f224d9b05496cecc36434d95762e4cd5 | 1,523 | amt-tiltak | MIT License |
src/main/kotlin/nsl/sam/core/config/spel/AuthorizationRulesRoot.kt | neat-solutions-lab | 146,033,971 | false | null | package nsl.sam.core.config.spel
import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.security.config.annotation.web.configurers.ExpressionUrlAuthorizationConfigurer
class AuthorizationRulesRoot(private val httpSecurity: HttpSecurity) {
fun antMatchers(vararg... | 0 | Kotlin | 0 | 0 | 85b1059a6a37f2163e27bb4bdd8b0596f45e904d | 492 | simple-authentication-methods | MIT License |
src/commonTest/kotlin/io/github/hansanto/kault/util/JsonUtil.kt | Hansanto | 712,104,593 | false | {"Kotlin": 436555, "Shell": 427} | package io.github.hansanto.kault.util
import io.kotest.matchers.ints.shouldBeExactly
import kotlinx.serialization.json.Json
import kotlinx.serialization.json.JsonArray
import kotlinx.serialization.json.JsonElement
import kotlinx.serialization.json.JsonNull
import kotlinx.serialization.json.JsonObject
import kotlinx.se... | 2 | Kotlin | 0 | 3 | be25c2e7c585ed053e1b4f03ed5a4089b26dafb7 | 2,962 | kault | Apache License 2.0 |
features/home/src/main/java/com/fappslab/features/home/presentation/extension/ViewExtension.kt | F4bioo | 628,097,763 | false | null | package com.fappslab.features.home.presentation.extension
import android.view.Menu
import android.view.MenuInflater
import android.view.MenuItem
import androidx.appcompat.app.AppCompatActivity
import androidx.appcompat.widget.Toolbar
import androidx.core.view.MenuProvider
import androidx.lifecycle.Lifecycle
import and... | 0 | Kotlin | 0 | 0 | d3e0405eae2038ea13c352daa8bc976da85914a4 | 2,412 | faurecia-aptoide-challenge | MIT License |
src/main/java/challenges/cracking_coding_interview/sorting_and_searching/rank_from_stream/Question.kt | MalekKamel | 342,007,920 | false | {"Kotlin": 835322} | package challenges.cracking_coding_interview.sorting_and_searching.rank_from_stream
import challenges.util.AssortedMethods
object Question {
private var root: RankNode? = null
private fun track(number: Int) {
if (root == null) {
root = RankNode(number)
} else {
root!!.i... | 0 | Kotlin | 0 | 1 | a465bff204ef63ecfbea5c520303ed5312ccf6e8 | 1,257 | ProblemSolving | Apache License 2.0 |
app/src/main/java/org/p2p/wallet/jupiter/ui/routes/SwapSelectRoutesMapper.kt | p2p-org | 306,035,988 | false | {"Kotlin": 4545395, "HTML": 3064848, "Java": 296567, "Groovy": 1601, "Shell": 1252} | package org.p2p.wallet.jupiter.ui.routes
import java.math.BigInteger
import org.p2p.core.common.DrawableContainer
import org.p2p.core.common.TextContainer
import org.p2p.core.utils.formatToken
import org.p2p.core.utils.fromLamports
import org.p2p.uikit.components.finance_block.FinanceBlockCellModel
import org.p2p.uiki... | 9 | Kotlin | 18 | 34 | d091e18b7d88c936b7c6c627f4fec96bcf4a0356 | 4,369 | key-app-android | MIT License |
compiler/testData/codegen/boxInline/smap/kt23369_2.kt | JetBrains | 3,432,266 | false | null | // FILE: a.kt
package test
inline fun inlineFun(lambda: () -> String): String {
return lambda()
}
// FILE: 2.kt
import test.*
fun box(): String {
return inlineFun { "OK" }
}
| 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 186 | kotlin | Apache License 2.0 |
app/src/main/java/com/app/simple/codes/bean/UserRepos.kt | shishoufengwise1234 | 259,852,670 | false | {"Gradle": 5, "HTML": 1, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 4, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "JSON": 1, "Kotlin": 32, "XML": 51, "Java": 31, "INI": 1, "Groovy": 2, "Checksums": 36} | package com.app.simple.codes.bean
/**
* Created by shishoufeng on 2020-05-04.
* email:<EMAIL>
*
*
*
*
*/
class UserRepos | 1 | null | 1 | 1 | bb7b82443515e04a72b7c005bd3a4e1fea1b8cd9 | 128 | AndroidSimpleCodes | Apache License 2.0 |
app/src/main/kotlin/com/amar/notesapp/dialogs/PickDirectoryDialog.kt | AMARJITVS | 108,282,499 | false | {"Gradle": 3, "Markdown": 1, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Java Properties": 1, "Proguard": 1, "XML": 86, "Kotlin": 41, "Java": 1} | package com.amar.NoteDirector.dialogs
import android.support.v7.app.AlertDialog
import android.support.v7.widget.GridLayoutManager
import android.view.LayoutInflater
import android.view.View
import com.simplemobiletools.commons.dialogs.FilePickerDialog
import com.simplemobiletools.commons.extensions.beGoneIf
import co... | 1 | null | 1 | 1 | 5ce822ae6c1b38961765d7fda6a539b9fe465d1c | 3,737 | NoteDirector | Apache License 2.0 |
intellij-plugin-verifier/verifier-test/src/test/java/com/jetbrains/pluginverifier/tests/mocks/MockLogger.kt | JetBrains | 3,686,654 | false | {"Markdown": 10, "Text": 11, "Ignore List": 1, "TOML": 5, "Gradle Kotlin DSL": 36, "Shell": 5, "Batchfile": 5, "INI": 11, "Kotlin": 810, "XML": 90, "Java": 456, "YAML": 7, "Gradle": 1, "JSON": 19, "CSS": 1, "JavaScript": 1, "Java Properties": 2, "desktop": 1, "SVG": 1} | package com.jetbrains.pluginverifier.tests.mocks
import org.slf4j.Marker
import org.slf4j.event.Level
import org.slf4j.helpers.AbstractLogger
/**
* Mock SLF4J logger that aggregates logging events into in-memory list of logging events.
*
* This is used to assert logging events in unit tests.
*/
class MockLogger :... | 1 | null | 1 | 1 | 87f7a15fe0485314deac32184fd33cfe5133b0ee | 1,413 | intellij-plugin-verifier | Apache License 2.0 |
buildSrc/src/main/kotlin/dependencies/module dependencies shorthands.kt | LouisCAD | 65,558,914 | false | {"Kotlin": 682428, "Java": 1368, "Shell": 358} | /*
* Copyright 2019-2021 <NAME>. Use of this source code is governed by the Apache 2.0 license.
*/
@file:Suppress("PackageDirectoryMismatch")
import org.gradle.api.artifacts.dsl.DependencyHandler
import org.gradle.kotlin.dsl.project
import org.jetbrains.kotlin.gradle.plugin.KotlinDependencyHandler
fun DependencyHa... | 53 | Kotlin | 160 | 2,476 | 1ed56ba2779f31dbf909509c955fce7b9768e208 | 1,342 | Splitties | Apache License 2.0 |
plugins/kotlin/highlighting/highlighting-k2/testData/outsider/badSourceDiff/src/lib.kt | ingokegel | 72,937,917 | true | null | package lib
@Deprecated("Use consume(Int) instead")
fun consume(rawValue: String) {}
@Deprecated("Use consume(Int) instead")
fun consume(rawValue: Char) {}
fun consume(value: Int) {} | 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 185 | intellij-community | Apache License 2.0 |
src/main/kotlin/no/nav/helse/inntektsmelding/App.kt | navikt | 187,002,889 | false | {"Java": 58986, "Kotlin": 14260, "Dockerfile": 74} | package no.nav.helse.inntektsmelding
import org.slf4j.LoggerFactory
const val appName = "spinntektsmelding"
private val log = LoggerFactory.getLogger(appName)
fun main() {
log.info("Starting $appName")
Spinntektsmelding().start()
}
| 2 | null | 1 | 1 | 05222ee87a23aed8c136b7c614c94042f22482ee | 245 | helse-spinntektsmelding | MIT License |
src/main/kotlin/no/nav/helse/inntektsmelding/App.kt | navikt | 187,002,889 | false | {"Java": 58986, "Kotlin": 14260, "Dockerfile": 74} | package no.nav.helse.inntektsmelding
import org.slf4j.LoggerFactory
const val appName = "spinntektsmelding"
private val log = LoggerFactory.getLogger(appName)
fun main() {
log.info("Starting $appName")
Spinntektsmelding().start()
}
| 2 | null | 1 | 1 | 05222ee87a23aed8c136b7c614c94042f22482ee | 245 | helse-spinntektsmelding | MIT License |
moudule_home/src/main/java/com/hzsoft/moudule/home/fragment/MainHomeFragment.kt | lucky-sheep | 402,401,179 | true | {"Batchfile": 1, "Shell": 1, "Markdown": 1, "Java Properties": 3, "INI": 11, "Proguard": 12, "Kotlin": 168, "Java": 102} | package com.hzsoft.moudule.home.fragment
import android.view.View
import android.widget.TextView
import androidx.recyclerview.widget.LinearLayoutManager
import com.hzsoft.basedemo.adapter.MainHomeAdapter
import com.hzsoft.lib.base.view.BaseMvvmRefreshDataBindingFragment
import com.hzsoft.lib.common.utils.EnvironmentUt... | 0 | null | 0 | 0 | 14792c71ae63715b7f7b8775281198b879cbaa19 | 3,830 | BaseDemo | Apache License 2.0 |
moudule_home/src/main/java/com/hzsoft/moudule/home/fragment/MainHomeFragment.kt | lucky-sheep | 402,401,179 | true | {"Batchfile": 1, "Shell": 1, "Markdown": 1, "Java Properties": 3, "INI": 11, "Proguard": 12, "Kotlin": 168, "Java": 102} | package com.hzsoft.moudule.home.fragment
import android.view.View
import android.widget.TextView
import androidx.recyclerview.widget.LinearLayoutManager
import com.hzsoft.basedemo.adapter.MainHomeAdapter
import com.hzsoft.lib.base.view.BaseMvvmRefreshDataBindingFragment
import com.hzsoft.lib.common.utils.EnvironmentUt... | 0 | null | 0 | 0 | 14792c71ae63715b7f7b8775281198b879cbaa19 | 3,830 | BaseDemo | Apache License 2.0 |
analysis/analysis-api/testData/components/resolver/singleByPsi/invoke/onObjects/companionObjectWithName1.kt | JetBrains | 3,432,266 | false | null | class Foo private constructor() {
companion object Helper {
operator fun invoke() {}
}
}
fun test() {
Foo.He<caret>lper()
} | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 144 | kotlin | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.