path stringlengths 4 280 | owner stringlengths 2 39 | repo_id int64 21.1k 879M | is_fork bool 2
classes | languages_distribution stringlengths 13 1.95k ⌀ | content stringlengths 7 482k | issues int64 0 13.9k | main_language stringclasses 121
values | forks stringlengths 1 5 | stars int64 0 111k | commit_sha stringlengths 40 40 | size int64 7 482k | name stringlengths 1 100 | license stringclasses 93
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
src/test/SuspendedFourthChordsTest.kt | UrielSarrazin | 243,283,788 | false | null | import Note.*
import Quality.*
import org.junit.jupiter.api.DisplayName
import org.junit.jupiter.api.Test
@DisplayName("Suspended Fourth Chords")
class SuspendedFourthChordsTest {
@Test
fun keyOfC() {
val notes = listOf(C, F, G)
val chord = resolve(notes)
assertSuspendedFourth(chord, C)... | 1 | Kotlin | 0 | 0 | 407934faeafd420244d37be9f03b49b8e1b40bf9 | 1,366 | chords | Apache License 2.0 |
scalechain-api/src/main/kotlin/io/scalechain/blockchain/api/command/wallet/GetAccount.kt | ScaleChain | 45,332,311 | false | null | package io.scalechain.blockchain.api.command.wallet
import io.scalechain.blockchain.chain.Blockchain
import io.scalechain.blockchain.transaction.CoinAddress
import io.scalechain.blockchain.api.command.RpcCommand
import io.scalechain.blockchain.api.domain.StringResult
import io.scalechain.blockchain.api.domain.RpcError... | 11 | Kotlin | 67 | 234 | 702ac4d65febb05dc8283e8c165df454efa339b8 | 2,600 | scalechain | Intel Open Source License |
app/src/main/java/org/stepik/android/view/injection/calendar/CalendarDataModule.kt | StepicOrg | 42,045,161 | false | null | package org.stepik.android.view.injection.calendar
import dagger.Binds
import dagger.Module
import org.stepik.android.cache.calendar.CalendarCacheDataSourceImpl
import org.stepik.android.data.calendar.repository.CalendarRepositoryImpl
import org.stepik.android.data.calendar.source.CalendarCacheDataSource
import org.st... | 13 | null | 54 | 189 | dd12cb96811a6fc2a7addcd969381570e335aca7 | 731 | stepik-android | Apache License 2.0 |
compiler/src/main/kotlin/eu/nitok/jitsu/compiler/parser/Location.kt | nbrugger-tgm | 683,089,096 | false | {"Kotlin": 148008, "TypeScript": 4002} | package eu.nitok.jitsu.compiler.parser
import kotlinx.serialization.Serializable
@Serializable
data class Location(val line: Int, val column: Int, var file: String? = null) : Locatable {
override fun format() = "$line:$column"
override fun absoluteFormat(): String {
return if (file != null) {
... | 0 | Kotlin | 0 | 0 | e4b72909c01fb09e8e8f7890e22696546e1fcb27 | 1,130 | jitsu | Apache License 2.0 |
app/src/main/java/at/guger/moneybook/ui/home/accounts/addeditaccount/AddEditAccountBottomSheetDialogFragment.kt | ashishkharcheiuforks | 256,960,657 | true | {"Kotlin": 297842, "Java": 2697} | /*
* Copyright 2019 <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 ag... | 0 | null | 0 | 0 | f2df55b9ff55bcd01dc7458d779ee49da22b8292 | 2,780 | MoneyBook | Apache License 2.0 |
yde-impl/src/main/kotlin/io/github/ydwk/yde/impl/entities/builder/guild/channel/VoiceChannelBuilderImpl.kt | YDWK | 527,250,343 | false | {"Kotlin": 1184155} | /*
* Copyright 2024 YDWK inc.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
*
* you may not use this file except in compliance with the License.
*
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | 9 | Kotlin | 1 | 1 | bfbebb7f51e651b8103ae185dd8c7cabe72f6043 | 3,673 | YDWK | Apache License 2.0 |
app/src/main/java/com/mokelab/demo/samcollection/jetpack/arch/livedata/JetpackLiveDataFragment.kt | mokelab | 177,933,256 | false | null | package com.mokelab.demo.samcollection.jetpack.arch.livedata
import android.os.Bundle
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.lifecycle.Observer
import androidx.lifecycle.ViewModelProviders
import com.mokelab.demo.binding.BindingFragment
import com.mokelab.demo.samcollection.da... | 0 | Kotlin | 0 | 0 | c0c882dffcc0abc4d198f4808dd22ed3e2079270 | 2,161 | android-samcollection | Apache License 2.0 |
save-cloud-common/src/jvmMain/kotlin/com/saveourtool/save/utils/BlockingBridge.kt | saveourtool | 300,279,336 | false | null | package com.saveourtool.common.utils
import org.jetbrains.annotations.NonBlocking
import org.springframework.stereotype.Component
import reactor.core.publisher.Flux
import reactor.core.publisher.Mono
import reactor.core.scheduler.Scheduler
import reactor.core.scheduler.Schedulers
import reactor.kotlin.core.publisher.t... | 201 | null | 3 | 38 | 7e126d4fb23f8527c47ca9fa27282379759d154e | 1,945 | save-cloud | MIT License |
project-course/kotlin-android/Flickr-Browser/app/src/main/java/kiz/learnwithvel/flickrbrowser/util/RecyclerItemClickListener.kt | vel02 | 261,988,454 | false | null | package kiz.learnwithvel.flickrbrowser.util
import android.content.Context
import android.view.GestureDetector
import android.view.MotionEvent
import android.view.View
import androidx.core.view.GestureDetectorCompat
import androidx.recyclerview.widget.RecyclerView
private const val TAG = "RecyclerItemClickListen"
cl... | 1 | null | 1 | 1 | 7644d1911ff35fda44e45b1486bcce5d790fe7c0 | 1,680 | learn-kotlin-android | MIT License |
app/src/main/java/com/eurobond/features/orderhistory/activitiesapi/LocationFetchRepository.kt | DebashisINT | 467,012,976 | false | null | package com.eurobond.features.orderhistory.activitiesapi
import com.eurobond.app.Pref
import com.eurobond.base.BaseResponse
import com.eurobond.features.orderhistory.model.FetchLocationRequest
import com.eurobond.features.orderhistory.model.FetchLocationResponse
import com.eurobond.features.orderhistory.model.SubmitLo... | 0 | Kotlin | 0 | 0 | 236c74a32aeef737fd476312fbc23eac367cbd75 | 1,171 | Eurobond | Apache License 2.0 |
resources-generator/src/test/kotlin/dev/icerock/gradle/generator/stringsGenerator/XmlStringsAndroidFormatTest.kt | icerockdev | 204,874,263 | false | {"Kotlin": 456033, "Shell": 1362} | /*
* Copyright 2024 IceRock MAG Inc. Use of this source code is governed by the Apache 2.0 license.
*/
package dev.icerock.gradle.generator.stringsGenerator
import dev.icerock.gradle.utils.convertXmlStringToAndroidLocalization
import dev.icerock.gradle.utils.removeAndroidMirroringFormat
import kotlin.test.Test
impo... | 147 | Kotlin | 121 | 1,077 | 2c484808c928a13ab4d0523b82db3b5ab4e90db5 | 1,076 | moko-resources | Apache License 2.0 |
app/src/main/java/com/kyungeun/mvc_mvp_mvvm_mvi_demo/mvp/model/Memo.kt | shruddms | 518,024,752 | false | {"Kotlin": 16650} | package com.kyungeun.mvc_mvp_mvvm_mvi_demo.mvp.model
import com.kyungeun.mvc_mvp_mvvm_mvi_demo.mvp.presenter.Contract
class Memo(presenter: Contract.Presenter) {
private var presenter: Contract.Presenter
init {
this.presenter = presenter
}
}
| 0 | Kotlin | 0 | 0 | 2d830d101c90de2436be39ee07890b7130cd418a | 265 | MVC-MVP-MVVM-MVI-Demo | Apache License 2.0 |
app/src/main/kotlin/com/arnaudpiroelle/conference/ui/explore/model/Group.kt | Gropoid | 71,445,494 | false | null | package com.arnaudpiroelle.conference.ui.explore.model
data class Group<T>(val data: T, val type: GroupType) {
enum class GroupType {
MESSAGE,
KEYNOTE,
TAG
}
}
| 0 | Kotlin | 1 | 0 | 4d0a4b18f05d9ab389abcccc94820ab90fa7f202 | 197 | conference-android | Apache License 2.0 |
src/main/kotlin/eu/boxwork/dhbw/capturethecode/model/Player.kt | harkle-the-cake | 547,371,196 | false | {"Kotlin": 171929, "HTML": 5140} | package eu.boxwork.dhbw.capturethecode.model
import com.fasterxml.jackson.annotation.JsonIgnore
import eu.boxwork.dhbw.capturethecode.dto.PlayerDto
import eu.boxwork.dhbw.capturethecode.enums.PlayerState
import org.hibernate.annotations.OnDelete
import org.hibernate.annotations.OnDeleteAction
import java.util.UUID
imp... | 0 | Kotlin | 0 | 0 | 8f1c6a5476bc674c23e98ae04afe2d95b84b78f4 | 1,074 | dhbw_capturethecode | MIT License |
src/main/kotlin/no/nav/aap/proxy/rest/FellesRestBeanConfig.kt | navikt | 422,128,379 | false | null | package no.nav.aap.proxy.rest
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule
import com.fasterxml.jackson.module.kotlin.KotlinModule
import io.micrometer.observation.ObservationRegistry
import io.micrometer.observation.aop.ObservedAspect
import io.netty.handler.logging.LogLevel.DEBUG
import io.netty.handl... | 0 | Kotlin | 0 | 2 | c20c7138057e30d27fa939d6e9662501b442df3a | 4,355 | aap-fss-proxy | MIT License |
vk-api/src/main/kotlin/name/alatushkin/api/vk/generated/common/Reason.kt | alatushkin | 156,866,851 | false | null | package name.alatushkin.api.vk.generated.common
import com.fasterxml.jackson.annotation.JsonCreator
import com.fasterxml.jackson.annotation.JsonValue
enum class Reason(@JsonValue val jsonValue: String) {
SPAM("0"), CHILD_PORNOGRAPHY("1"), EXTREMISM("2"),
VIOLENCE("3"), DRUG_PROPAGANDA("4"),
ADULT_MATERIA... | 2 | Kotlin | 3 | 10 | 123bd61b24be70f9bbf044328b98a3901523cb1b | 572 | kotlin-vk-api | MIT License |
starrysky/src/main/java/com/lzx/starrysky/imageloader/ImageLoader.kt | xiongsongyu2016 | 214,321,300 | true | {"Java Properties": 2, "Markdown": 14, "Gradle": 4, "Shell": 1, "Batchfile": 1, "Text": 1, "Ignore List": 3, "XML": 33, "Proguard": 2, "Java": 41, "Kotlin": 28} | package com.lzx.starrysky.imageloader
import android.content.Context
/**
* 图片加载类
* 策略或者静态代理模式,开发者只需要关心ImageLoader + ImageLoaderOptions
*/
class ImageLoader(private val context: Context) {
private var mLoader: ImageLoaderStrategy? = null
fun init(loader: ImageLoaderStrategy) {
this.mLoader = loader... | 0 | null | 0 | 1 | e83d70726ce5a8008669d4244ca705f858da9200 | 531 | StarrySky | MIT License |
MusicPlayer/app/src/main/java/com/example/musicplayer/ui/MainFragment.kt | rafgasinski | 378,656,544 | false | null | package com.example.musicplayer.ui
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Toast
import androidx.activity.OnBackPressedCallback
import androidx.core.content.ContextCompat
import androidx.fragment.app.Fragment
import androi... | 0 | Kotlin | 0 | 0 | 6619a6025b5e8183719b6e2dd4d83bd104a1453d | 2,845 | Music-Player | MIT License |
Demos/Micronaut/src/main/kotlin/com/groupdocs/ui/modules/home/HomeController.kt | groupdocs-comparison | 65,550,714 | false | null | package com.groupdocs.ui.modules.home
import com.groupdocs.ui.config.ApplicationConfig
import com.groupdocs.ui.util.setGroupdocsLicense
import io.micronaut.http.HttpResponse
import io.micronaut.http.annotation.Controller
import io.micronaut.http.annotation.Get
import io.micronaut.views.View
import jakarta.inject.Injec... | 5 | null | 9 | 7 | 4d289958d8fc6ab338bbcfca8e82d237b71838be | 1,037 | GroupDocs.Comparison-for-Java | MIT License |
app/src/main/java/com/example/androiddevchallenge/MainActivity.kt | takahirom | 347,238,508 | false | null | /*
* Copyright 2021 The Android Open Source Project
*
* 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 applica... | 0 | Kotlin | 0 | 0 | 1b3b8de36946e7fc6f574596fe789d7a4d75fad3 | 6,592 | android-dev-challenge-3 | Apache License 2.0 |
grundlagen-tag-27-konstruktoren-just1984/Aufgabe 6/src/Car.kt | just1984 | 639,436,580 | false | null | class Car {
var color: String
var brand: String
var attribute: String // neues Feld hinzugefügt
constructor(color: String, brand: String, attribute: String) { // Konstruktor angepasst
this.color = color
this.brand = brand
this.attribute = attribute // neues Feld initialisiert
... | 0 | Kotlin | 0 | 0 | 3b6a84bb526f2c2151fe761526bdb1253f343df1 | 325 | school_progress_kotlin | MIT License |
lib/src/main/kotlin/com/lemonappdev/konsist/api/ext/list/KoParentProviderListExt.kt | LemonAppDev | 621,181,534 | false | {"Kotlin": 3830717, "Python": 17471} | @file:Suppress("detekt.TooManyFunctions")
package com.lemonappdev.konsist.api.ext.list
import com.lemonappdev.konsist.api.declaration.KoParentDeclaration
import com.lemonappdev.konsist.api.provider.KoParentProvider
import kotlin.reflect.KClass
/**
* List containing parent declarations.
*/
@Deprecated("Will be remo... | 4 | Kotlin | 22 | 840 | 81324e09fe46c9f1095b133713ae0062e742c2e3 | 14,271 | konsist | Apache License 2.0 |
kat/src/main/kotlin/msg/kat/encodings/formats/TypedKafkaRecord.kt | MarkOSIndustries | 107,061,415 | false | {"Kotlin": 136360, "JavaScript": 116828, "HTML": 6120, "Dockerfile": 3104, "Shell": 1504, "Batchfile": 366} | package msg.kat.encodings.formats
import com.google.protobuf.ByteString
import msg.encodings.Transport
import msg.kat.encodings.KafkaEncoding
import msg.schemas.MSG
import org.apache.kafka.clients.consumer.ConsumerRecord
import org.apache.kafka.clients.producer.ProducerRecord
import org.apache.kafka.common.header.inte... | 9 | Kotlin | 1 | 6 | a7bde01bae21085e36d971fc0ae994f1e2a41d5c | 1,778 | monosodium-glutamate | MIT License |
app/src/main/java/com/example/andretortolano/githubsearch/ui/screens/showuser/ShowUserView.kt | andretortolano | 94,994,900 | false | null | package com.example.andretortolano.githubsearch.ui.screens.showuser
import android.os.Bundle
import android.view.*
import com.example.andretortolano.githubsearch.R
import com.example.andretortolano.githubsearch.api.github.GithubService
import com.example.andretortolano.githubsearch.api.github.responses.User
import com... | 0 | Kotlin | 0 | 0 | 8bfd6f24ff3b3053ab193db1b6340ca0e4433428 | 2,029 | GithubSearch | MIT License |
app/src/main/java/com/mohammadfayaz/hn/ui/adapters/loading/LoadingIndicatorViewHolder.kt | fayaz07 | 431,064,021 | false | {"Kotlin": 109519} | package com.mohammadfayaz.hn.ui.adapters.loading
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.core.view.isVisible
import androidx.paging.LoadState
import androidx.recyclerview.widget.RecyclerView
import com.mohammadfayaz.hn.databinding.LayoutLoadingIndicatorBinding
class LoadingInd... | 13 | Kotlin | 2 | 4 | 498917164eeea6b7808ff30b8f772cf557e1c4e6 | 1,142 | HackerNews | MIT License |
viewlegacy/src/androidMain/kotlin/tech/skot/libraries/map/SkMapClusterRenderer.kt | useradgents | 470,093,737 | true | {"Kotlin": 156431} | package tech.skot.libraries.map
import android.content.Context
import com.google.android.gms.maps.GoogleMap
import com.google.maps.android.clustering.Cluster
import com.google.maps.android.clustering.ClusterManager
import com.google.maps.android.clustering.view.DefaultClusterRenderer
class SkMapClusterRenderer(
c... | 0 | Kotlin | 0 | 0 | 9fb2c59c672cb1fad467c968d70c8d7b5040dfd4 | 572 | sk-map | Apache License 2.0 |
app/src/main/java/com/alissonmanfron/busaocampolargo/fragment/favoritos/FragmentFavoritos.kt | AlissonManfron | 143,551,272 | false | null | package com.alissonmanfron.busaocampolargo.fragment.favoritos
import android.content.Intent
import android.os.Bundle
import android.support.v4.app.Fragment
import android.support.v7.widget.DefaultItemAnimator
import android.support.v7.widget.LinearLayoutManager
import android.view.LayoutInflater
import android.view.V... | 0 | Kotlin | 0 | 0 | 2001d4dd96fac05e48b97e3004f61551b56ea5bf | 4,164 | Bus | Apache License 2.0 |
TrendAnalyzer/app/src/main/java/vorotilenko/trendanalyzer/fragments/chart/TradeData.kt | P-Vorotilenko | 384,447,785 | false | null | package vorotilenko.trendanalyzer.fragments.chart
import android.os.Parcel
import android.os.Parcelable
/**
* Stores data about trades including only time and price.
*/
data class TradeData(
/**
* Trade time in milliseconds.
*/
val tradeTimeMillis: Long,
/**
* Price of the trade.
*/
... | 0 | Kotlin | 0 | 0 | 09a65b0dd516e29a0624d19f3f6f0a523ba825dd | 873 | TrendAnalyzer | Apache License 2.0 |
src/test/kotlin/org/axonframework/intellij/ide/plugin/specifics/ConstantsInAnnotationTest.kt | AxonFramework | 10,942,246 | false | {"Kotlin": 330266} | /*
* Copyright (c) 2022. Axon Framework
*
* 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... | 22 | Kotlin | 19 | 34 | 781f71ca1707df9d23e624adddefa7050a408307 | 3,997 | IdeaPlugin | Apache License 2.0 |
libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/roomlist/RoomListDynamicEvents.kt | element-hq | 546,522,002 | false | null | /*
* Copyright (c) 2023 New Vector Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | 263 | null | 129 | 955 | 31d0621fa15fe153bfd36104e560c9703eabe917 | 975 | element-x-android | Apache License 2.0 |
app/src/main/java/com/pt/mysociety/dashboard/events/EventsViewModelFactory.kt | Prathy | 528,724,668 | false | null | package com.pt.mysociety.dashboard.events
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
/**
* ViewModel provider factory to instantiate LoginViewModel.
* Required given LoginViewModel has a non-empty constructor
*/
class EventsViewModelFactory : ViewModelProvider.Factory {
@S... | 0 | Kotlin | 0 | 0 | 2261e245887f46063b37e9dfbfbd851c9380cf7a | 610 | MySociety | Apache License 2.0 |
app/src/main/java/com/phantom/banguminote/detail/character/web/CharacterRelatedWebFragment.kt | PhantomLGZ | 741,144,233 | false | {"Kotlin": 247864} | package com.phantom.banguminote.detail.character.web
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.viewModels
import androidx.navigation.fragment.findNavController
import com.phantom.banguminote.R
import com.phantom.banguminote.base.BaseFragment
... | 0 | Kotlin | 0 | 3 | f47b57c45c57eded74c80980a9d9853f61724c8d | 1,867 | BangumiNote | MIT License |
src/main/kotlin/dev/fakek/fakes/FakerTypeAliases.kt | RafaelPereiraSantos | 299,042,364 | true | {"Kotlin": 31759} | package dev.fakek.fakes
import com.github.javafaker.Address
import com.github.javafaker.Internet
import com.github.javafaker.Name
internal typealias FakerAddress = Address
internal typealias FakerInternet = Internet
internal typealias FakerName = Name
| 0 | null | 0 | 0 | 7535dc457df1aa7f248e25ad263511d411b4f36a | 254 | fakek | Apache License 2.0 |
src/test/kotlin/io/andrewohara/tabbychat/auth/dao/AuthorizationDaoTest.kt | oharaandrew314 | 391,217,773 | false | null | package io.andrewohara.tabbychat.auth.dao
import io.andrewohara.tabbychat.TestDriver
import io.andrewohara.tabbychat.auth.AccessToken
import io.andrewohara.tabbychat.auth.Realm
import io.andrewohara.tabbychat.contacts.Authorization
import io.andrewohara.tabbychat.createUser
import io.kotest.matchers.shouldBe
import or... | 0 | Kotlin | 0 | 0 | a48f7604dd30180c9c88e40530480707e9cbcf43 | 1,076 | tabby-chat-server | The Unlicense |
src/scripts/kt/lumbridge/raider/api/behaviors/combat/magic/CombatMagicBehavior.kt | its-jackson | 536,221,289 | false | {"Java": 132902, "Kotlin": 91701} | package scripts.kt.lumbridge.raider.api.behaviors.combat.magic
import org.tribot.script.sdk.Combat
import org.tribot.script.sdk.frameworks.behaviortree.*
import scripts.kt.lumbridge.raider.api.ScriptTask
import scripts.kt.lumbridge.raider.api.behaviors.banking.initializeBankTask
import scripts.kt.lumbridge.raider.api.... | 1 | null | 1 | 1 | a03aacb5748507fd9a9dbbc44b5329d1a1b02daa | 1,218 | lumbridge-raider-kt | MIT License |
library/src/main/java/io/syslogic/colorpicker/compose/LayoutId.kt | syslogic | 366,586,612 | false | {"Gradle": 4, "Java Properties": 2, "YAML": 3, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "XML": 26, "TOML": 1, "Java": 14, "Kotlin": 13, "Proguard": 1} | package io.syslogic.colorpicker.compose
/**
* Jetpack Compose Layout Ids
*
* @author Martin Zeitler
*/
enum class LayoutId {
AlphaPanel,
SatValPanel,
HuePanel,
OldColor,
NewColor,
EmbeddedColorPicker,
DialogSurface,
DialogTitleText,
DialogCloseIcon
}
| 0 | Java | 0 | 6 | f2d68ad5c4a0f434c7a5254288ed5985d840624a | 292 | androidx-colorpicker | MIT License |
src/core/src/main/kotlin/org/apache/jmeter/testelement/TestElementSchema.kt | hongweichang | 650,399,793 | true | {"Java Properties": 220, "Gradle Kotlin DSL": 75, "XML": 215, "Shell": 14, "Markdown": 16, "EditorConfig": 1, "JSON": 17, "YAML": 10, "Git Attributes": 3, "Batchfile": 15, "Text": 47, "XSLT": 7, "Ignore List": 4, "Public Key": 218, "Kotlin": 72, "Java": 1406, "Groovy": 43, "HTML": 29, "SVG": 14, "E-mail": 1, "JavaScrip... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to you under the Apache License, Version 2.0
* (the "License"); you may ... | 0 | null | 0 | 0 | 4e5b9df4579489f13d4c4ca3da4ff4ca6bc06c03 | 2,121 | jmeter | Apache License 2.0 |
app/src/test/java/com/gzaber/forexviewer/ui/home/HomeViewModelTest.kt | gzaber | 734,830,877 | false | {"Kotlin": 131338} | package com.gzaber.forexviewer.ui.home
import com.gzaber.forexviewer.util.fake.repository.FakeApiKeyRepository
import com.gzaber.forexviewer.util.fake.repository.FakeFavoritesRepository
import com.gzaber.forexviewer.data.repository.favorites.model.Favorite
import com.gzaber.forexviewer.util.fake.repository.FakeForexDa... | 0 | Kotlin | 0 | 0 | b15832ebb0bb90cf844d7d7777fce9592be719d0 | 5,837 | ForexViewer | MIT License |
app/src/main/java/net/ddns/rkdawenterprises/weather_gov_api/Gridpoint.kt | rkdawenterprises | 538,289,740 | false | null | /*
* Copyright (c) 2023 RKDAW Enterprises and <NAME>.
* email: <EMAIL>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Un... | 0 | Kotlin | 0 | 0 | bd4195667c416504b0cb7d4c99ad796cbac2bcd9 | 9,895 | weatherstationdonna | Apache License 2.0 |
shared/src/commonMain/kotlin/nowplaying/Constants.kt | exyte | 662,910,206 | false | null | package nowplaying
const val ANIM_DURATION = 500
| 0 | Kotlin | 5 | 44 | 822d1bdc2149e855db16c65570f2ccc3e650ba1f | 50 | ComposeMultiplatformDribbbleAudio | Apache License 2.0 |
src/main/kotlin/cn/gongyinan/yasha/task/db/converter/DefaultDbDataConverter.kt | gyn7561 | 239,718,549 | false | {"Java": 188789, "Kotlin": 89409} | package cn.gongyinan.yasha.task.db.converter
import cn.gongyinan.yasha.YashaDbModal
import cn.gongyinan.yasha.task.YashaTask
import java.net.URI
class DefaultDbDataConverter : IDbDataConverter {
override fun toYashaDbModal(yashaTask: YashaTask): YashaDbModal {
val dbModal = YashaDbModal(
... | 0 | Java | 0 | 1 | 255d184b08232f09f939fc7ce2d7e869ef895d8a | 1,446 | yasha | MIT License |
0872.Leaf-Similar Trees.kt | sarvex | 842,260,390 | false | {"Kotlin": 1775678, "PowerShell": 418} | /**
* Definition for a binary tree node.
* public class TreeNode {
* int val;
* TreeNode left;
* TreeNode right;
* TreeNode() {}
* TreeNode(int val) { this.val = val; }
* TreeNode(int val, TreeNode left, TreeNode right) {
* this.val = val;
* this.left = left;
* this.right = right;
* }
* }
*/
internal clas... | 0 | Kotlin | 0 | 0 | 17a80985d970c8316fb694e4952692e598d700af | 803 | kotlin-leetcode | MIT License |
buildSrc/src/main/kotlin/Application.kt | wkchae | 576,075,411 | false | {"Kotlin": 86734} | import org.gradle.api.JavaVersion
/**
* @author hubtwork (alenheo)
* @contacts hubtwork@gmail.com
*/
object Application {
// create proper namespace with root path
fun namespace(modulePath: String): String {
return "com.hubtwork.clean_android.$modulePath"
}
const val ID = "com.hubtwork.clea... | 0 | null | 0 | 0 | a7ac7a6180b1d14aedf4ebef963fa58646b8a43f | 691 | Android-CleanArchitecture-Template | Apache License 2.0 |
src/providers/implementations/Guilded.kt | DRSchlaubi | 842,196,978 | false | {"Kotlin": 94736, "HTML": 1973, "Dockerfile": 214} | package dev.schlaubi.openid.helper.providers.implementations
import dev.schlaubi.openid.helper.providers.ProviderRegistry
import dev.schlaubi.openid.helper.providers.registerProvider
fun ProviderRegistry.guilded() = registerProvider("guilded") {
authorize("https://authlink.app/auth")
token("https://authlink.a... | 0 | Kotlin | 0 | 0 | b0e599f8c34c6e56a16b4e3ca6ec55fa41dd47c7 | 603 | openid-helper | MIT License |
app/src/main/java/vn/loitp/a/cv/et/autoResize/AutoResizeEditTextActivityFont.kt | tplloi | 126,578,283 | false | null | package vn.loitp.a.cv.et.autoResize
import android.os.Bundle
import androidx.core.view.isVisible
import com.loitp.annotation.IsFullScreen
import com.loitp.annotation.LogTag
import com.loitp.core.base.BaseActivityFont
import com.loitp.core.ext.setSafeOnClickListenerElastic
import kotlinx.android.synthetic.main.a_et_aut... | 0 | Kotlin | 0 | 10 | 333bebaf3287b1633f35d29b8adaf25b19c1859f | 1,063 | base | Apache License 2.0 |
trixnity-utils/src/jvmMain/kotlin/net/folivo/trixnity/utils/ByteBufferExtensions.kt | benkuly | 330,904,570 | false | {"Kotlin": 4226967, "JavaScript": 5352, "TypeScript": 2906, "Dockerfile": 2635, "CSS": 1454} | package net.folivo.trixnity.utils
import kotlinx.coroutines.flow.flowOf
import java.nio.ByteBuffer
fun ByteBuffer.toByteArrayFlow(): ByteArrayFlow {
return flowOf(array().copyOf())
} | 0 | Kotlin | 3 | 30 | ae3045394cb661f8ac31dbbd8e4fc0e2daea661b | 188 | trixnity | Apache License 2.0 |
app/src/main/java/com/wisnu/kurniawan/composetodolist/features/todo/detail/ui/ListDetailAction.kt | wisnukurniawan | 409,054,048 | false | null | package com.wisnu.kurniawan.composetodolist.features.todo.detail.ui
import androidx.compose.ui.text.input.TextFieldValue
import com.wisnu.kurniawan.composetodolist.model.ToDoTask
sealed class ListDetailAction {
sealed class ListAction : ListDetailAction() {
object Create : ListAction()
object Up... | 0 | Kotlin | 4 | 73 | 784a7b86014f4d0b3ee0d2055aaa64f731bcbfd6 | 971 | Compose-ToDo | Apache License 2.0 |
library/src/commonMain/kotlin/component/PasscodeHeader.kt | akashmeruva9 | 852,982,975 | false | {"Kotlin": 64924} | package component
import androidx.compose.animation.core.MutableTransitionState
import androidx.compose.animation.core.Transition
import androidx.compose.animation.core.animateFloat
import androidx.compose.animation.core.animateOffset
import androidx.compose.animation.core.updateTransition
import androidx.compose.foun... | 0 | Kotlin | 0 | 0 | 6f32a16d9850703940d38952a35ca10764a6d9ca | 4,449 | cmp-mifos-passcode | Apache License 2.0 |
app/src/main/java/com/samirmaciel/gerenciadorbancoimobiliario/ui/Components.kt | samirmaciel | 775,724,117 | false | {"Kotlin": 43205} | package com.samirmaciel.gerenciadorbancoimobiliario.ui
import android.annotation.SuppressLint
import android.bluetooth.BluetoothDevice
import androidx.annotation.ColorInt
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
imp... | 0 | Kotlin | 0 | 0 | 2a4d71839c1d00273efb0182e1276f0fdd5c65ac | 11,647 | GerenciadorBancoImobiliario-App | MIT License |
app/src/main/java/com/lighthouse/sendbird_demo/CustomFactory.kt | flash159483 | 680,804,161 | false | null | package com.lighthouse.sendbird_demo
import android.os.Bundle
import androidx.fragment.app.Fragment
import com.sendbird.uikit.fragments.UIKitFragmentFactory
class CustomFactory : UIKitFragmentFactory() {
override fun newChannelListFragment(args: Bundle): Fragment {
val fragment = CustomChannelList()
... | 1 | Kotlin | 0 | 0 | 92f90eab34abde0e834af4e11baa73a7797122f2 | 380 | sendbird_customization | Apache License 2.0 |
formbuilder/src/main/java/it/ciaosonokekko/formbuilder/form/view/FormRecyclerView.kt | ciaosonokekko | 305,103,256 | false | null | package it.ciaosonokekko.formbuilder.form.view
import android.content.Context
import android.util.AttributeSet
import android.view.LayoutInflater
import androidx.constraintlayout.widget.ConstraintLayout
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView
import it.c... | 0 | Kotlin | 0 | 2 | 030afcadef342d8bf3cbd527d2a095c0edffe293 | 3,587 | KBuilder | MIT License |
daemon/src/main/kotlin/dev/krud/boost/daemon/actuator/model/HealthActuatorResponse.kt | krud-dev | 576,882,508 | false | null | package dev.krud.boost.daemon.actuator.model
data class HealthActuatorResponse(
val status: Status = Status.UNKNOWN,
val components: Map<String, Component>? = null,
val groups: List<String>? = null,
val details: Map<String, Any>? = null
) {
enum class Status {
UP, DOWN, OUT_OF_SERVICE, UNKN... | 41 | TypeScript | 6 | 251 | 1f3db028ac7d60faa6c30daabbb41482e814d23f | 552 | ostara | Apache License 2.0 |
core/src/main/kotlin/com/github/quillraven/quillycrawler/ashley/component/ItemComponent.kt | Quillraven | 336,620,410 | false | {"Kotlin": 395446} | package com.github.quillraven.quillycrawler.ashley.component
import com.badlogic.ashley.core.Component
import com.badlogic.ashley.core.Entity
import com.badlogic.gdx.utils.GdxRuntimeException
import com.badlogic.gdx.utils.I18NBundle
import com.badlogic.gdx.utils.Pool
import ktx.ashley.get
import ktx.ashley.mapperFor
... | 1 | Kotlin | 8 | 28 | 1c528e533709cfb6437d088c459402014b8f9475 | 2,909 | Quilly-Crawler | MIT License |
app/src/main/java/com/schaefer/mymovies/data/model/EpisodeResponseItem.kt | arturschaefer | 318,792,328 | false | {"Kotlin": 160961} | package com.schaefer.mymovies.data.model
data class EpisodeResponseItem(
val _links: Links?,
val airdate: String?,
val airstamp: String?,
val airtime: String?,
val id: Int,
val image: Image?,
val name: String?,
val number: Int?,
val runtime: Int?,
val season: Int?,
val summa... | 0 | Kotlin | 0 | 0 | a2580e6020ef40b2efbbafd95c3e5db7ab3b1bb3 | 378 | My-Shows | MIT License |
src/main/kotlin/SnakeGame.kt | DavidEdwards | 346,445,114 | false | null | import java.awt.Color
import java.awt.event.KeyEvent
import java.awt.event.KeyListener
import java.util.*
import kotlin.system.exitProcess
data class Position(val x: Int, val y: Int)
class SnakeGame : SnakeApp(), KeyListener {
val playerSnake = LinkedList<Position>()
// var playerx = 100
// var playery = ... | 0 | Kotlin | 0 | 0 | e59c4eabba4bb738968b3d0c3e63e9989c2331e1 | 2,781 | parent1 | MIT License |
app/src/main/java/eu/kanade/presentation/components/Badges.kt | CFManuel | 134,889,201 | true | {"Kotlin": 2276037} | package eu.kanade.presentation.components
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.RowScope
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.sha... | 0 | Kotlin | 0 | 0 | 1c8da5fa974b4cfd0fd762b0b1c2a07622ac7662 | 1,622 | tachiyomi | Apache License 2.0 |
embrace-android-core/src/main/kotlin/io/embrace/android/embracesdk/internal/spans/EmbraceSpanBuilder.kt | embrace-io | 704,537,857 | false | {"Kotlin": 2807710, "C": 190147, "Java": 175321, "C++": 13140, "CMake": 4261} | package io.embrace.android.embracesdk.internal.spans
import io.embrace.android.embracesdk.internal.arch.schema.EmbType
import io.embrace.android.embracesdk.internal.arch.schema.FixedAttribute
import io.embrace.android.embracesdk.internal.arch.schema.KeySpan
import io.embrace.android.embracesdk.internal.arch.schema.Pri... | 19 | Kotlin | 8 | 133 | c3d8b882d91f7200c812d8ffa2dee5b820263c0d | 3,111 | embrace-android-sdk | Apache License 2.0 |
PluginsAndFeatures/azure-toolkit-for-intellij/rider/src/org/jetbrains/plugins/azure/functions/run/AzureFunctionsDotNetCoreAttachSuspendedProfileState.kt | JetBrains | 137,064,201 | true | {"Java": 6824035, "Kotlin": 2388176, "C#": 183917, "Scala": 151332, "Gherkin": 108427, "JavaScript": 98350, "HTML": 23518, "CSS": 21770, "Groovy": 21447, "Shell": 21354, "XSLT": 7141, "Dockerfile": 3518, "Batchfile": 2155} | /**
* Copyright (c) 2019-2021 JetBrains s.r.o.
*
* All rights reserved.
*
* MIT License
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
* documentation files (the "Software"), to deal in the Software without restriction, including without limitati... | 73 | Java | 10 | 41 | a8b64627376a5144a71725853ba4217b97044722 | 2,727 | azure-tools-for-intellij | MIT License |
core/kmpp/libJs/src/jsMain/kotlin/com/kanastruk/mvi/JsFbServiceModel.kt | kanawish | 480,934,685 | false | null | package com.kanastruk.mvi
import com.kanastruk.data.core.Address
import com.kanastruk.data.core.Contact
import com.kanastruk.data.core.Profile
import com.kanastruk.mvi.fb.FbAuthState
import com.kanastruk.mvi.fb.FbServiceModel
import firebase.database.Query
import kotlinx.coroutines.async
import kotlinx.coroutines.awai... | 3 | Kotlin | 1 | 1 | 24da293e6511f80d1678963bfbfe8fe4a4ad49e0 | 5,120 | ks-community | MIT License |
compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/internal/BackHandler.kt | VexorMC | 838,305,267 | false | {"Kotlin": 104238872, "Java": 66757679, "C++": 9111230, "AIDL": 628952, "Python": 306842, "Shell": 199496, "Objective-C": 47117, "TypeScript": 38627, "HTML": 28384, "Swift": 21386, "Svelte": 20307, "ANTLR": 19860, "C": 15043, "CMake": 14435, "JavaScript": 6457, "GLSL": 3842, "CSS": 1760, "Batchfile": 295} | /*
* Copyright 2024 The Android Open Source Project
*
* 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 applica... | 0 | Kotlin | 0 | 2 | 9730aa39ce1cafe408f28962a59b95b82c68587f | 1,258 | compose | Apache License 2.0 |
app/src/main/kotlin/com/monoid/hackernews/view/itemlist/ItemList.kt | zirman | 477,438,501 | false | null | package com.monoid.hackernews.view.itemlist
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.LazyListState
import androidx.compose.foundation.lazy.items
import androi... | 0 | Kotlin | 0 | 3 | eed737963d5cd49960cc8d507e488a28db00e313 | 3,646 | hacker_news | Apache License 2.0 |
app/src/main/java/com/recipe/search/data/network/RecipeService.kt | ChetanAshtivkar | 249,130,749 | false | null | package com.recipe.search.data.network
import com.recipe.search.data.RecipeResponse
import okhttp3.OkHttpClient
import retrofit2.Call
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
import retrofit2.http.GET
import retrofit2.http.Path
import retrofit2.http.Query
import java.util.concurre... | 0 | Kotlin | 0 | 0 | 8c74dd96df72af63f34f2ed9549711361be6f119 | 1,088 | Recipe-search | Apache License 2.0 |
app/src/main/java/com/livewire/audax/locale/models/TemperatureDisplayType.kt | HDSANAULLAHS | 466,947,990 | false | {"Kotlin": 211156, "Java": 919} | package com.livewire.audax.locale.models
import com.livewire.audax.R
enum class TemperatureDisplayType {
FAHRENHEIT {
override val rawValue = "fahrenheit"
override val titleResource = R.string.temperature_display_type_fahrenheit
override val titleWithSymbolsResource = R.string.temperature... | 0 | Kotlin | 0 | 0 | 356cfa88f3685882abd1336398defe12ea04f93f | 933 | Livewire | Apache License 2.0 |
client/src/test/java/com/rarible/ethereum/client/HaEthereumTransportProviderTest.kt | rarible | 358,506,329 | false | {"Kotlin": 277476, "Java": 16048, "Scala": 620} | package com.rarible.ethereum.client
import com.rarible.ethereum.client.failover.NoopFailoverPredicate
import com.rarible.ethereum.client.failover.SimplePredicate
import io.daonomic.rpc.domain.Request
import kotlinx.coroutines.delay
import kotlinx.coroutines.reactive.awaitSingle
import kotlinx.coroutines.runBlocking
im... | 1 | Kotlin | 7 | 6 | 0ee922402da2344d227d6d36a7d7d1f59505141b | 20,190 | ethereum-core | MIT License |
kotlin-node/src/jsMain/generatedLegacy/node/inspector/NodeRuntimeEvent.kt | JetBrains | 93,250,841 | false | {"Kotlin": 11989651, "JavaScript": 231504} | // Automatically generated - do not modify!
@file:Suppress(
"NESTED_CLASS_IN_EXTERNAL_INTERFACE",
)
package node.inspector
import node.events.EventType
import seskar.js.JsValue
import seskar.js.JsVirtual
@JsVirtual
sealed external interface NodeRuntimeEvent {
companion object {
@JsValue("NodeRuntime... | 33 | Kotlin | 176 | 1,266 | 167767803bf3245ff9277386e261c9f2eab60d6e | 468 | kotlin-wrappers | Apache License 2.0 |
cruddemo-security/src/main/kotlin/com/deepblue/cruddemo/dao/EmployeeDAOImp.kt | DeepBlue-dot | 848,954,541 | false | {"Kotlin": 35341} | package com.deepblue.cruddemo.dao
import com.deepblue.cruddemo.entity.Employee
import jakarta.persistence.EntityManager
import jakarta.persistence.TypedQuery
import org.springframework.stereotype.Repository
@Repository
class EmployeeDAOImp(
private val entityManager: EntityManager
): EmployeeDAO {
override f... | 0 | Kotlin | 0 | 0 | c452f02312b583e25fda087cd0ca8999a11c3c97 | 866 | Kotlin | MIT License |
app/src/main/java/com/treplabs/ddm/ddmapp/screens/signin/SignInViewModel.kt | TREP-LABS | 240,090,919 | false | null | package com.treplabs.ddm.ddmapp.screens.signin
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import com.google.android.gms.auth.api.signin.GoogleSignInAccount
import com.google.firebase.auth.FirebaseAuth
import com.google.firebase.auth.FirebaseUser
import com.treplabs.ddm.base.BaseViewMo... | 0 | Kotlin | 0 | 1 | 66dd9ca8e3ea6a0c6a91d7956bd97224c5534291 | 3,290 | DDMAndroid | Apache License 2.0 |
app/src/main/java/com/gwj/sem4_anime_app/ui/search/SearchViewModel.kt | GWJian | 730,619,677 | false | {"Kotlin": 141201} | package com.gwj.sem4_anime_app.ui.search
import androidx.lifecycle.viewModelScope
import com.gwj.sem4_anime_app.ui.base.BaseViewModel
import com.gwj.sem4_anime_app.data.model.Data
import com.gwj.sem4_anime_app.data.model.DataX
import com.gwj.sem4_anime_app.data.repo.anime.AnimeRepo
import dagger.hilt.android.lifecycle... | 0 | Kotlin | 0 | 0 | bc0e0d52caadcacf33c0b01e6dd3acc6f9f546d7 | 5,035 | sem4_anime_app | MIT License |
app/src/main/java/com/example/kd/priceemitter/di/PriceRepositoryManagerModule.kt | kdotdi | 296,287,999 | false | null | package com.example.kd.priceemitter.di
import com.example.kd.priceemitter.datasource.PriceRepository
import com.example.kd.priceemitter.datasource.PriceRepositoryImpl
import dagger.Binds
import dagger.Module
@Module
abstract class PriceRepositoryManagerModule {
@Binds
abstract fun bindPriceRepositoryImpl(pric... | 0 | Kotlin | 0 | 0 | 1ed525f8d70f41c24d04f164f997532ae59fac49 | 376 | PriceEmitter | MIT License |
app/src/main/java/com/smlnskgmail/jaman/deviceinfo/info/components/system/realization/infoitems/ApiLevelInfoItem.kt | DexterDsd | 224,637,905 | true | {"Kotlin": 69371} | package com.smlnskgmail.jaman.deviceinfo.info.components.system.realization.infoitems
import android.content.Context
import com.smlnskgmail.jaman.deviceinfo.R
import com.smlnskgmail.jaman.deviceinfo.info.components.system.structure.SystemInfo
import com.smlnskgmail.jaman.deviceinfo.info.ui.list.InfoItem
class ApiLeve... | 0 | null | 0 | 0 | dee2b0d1dbf18d6c2f290ed715fed9e853f78156 | 549 | android-device-info | The Unlicense |
src/main/java/com/aillen/shopmall/module/asynwork/TaskRunnable.kt | anlonglong | 138,116,731 | false | {"Kotlin": 234110, "HTML": 390} | package com.aillen.shopmall.module.asynwork
import android.os.Looper
import android.os.Message
/**
* Created by anlonglong on 2018/5/31.
* Email: <EMAIL>
*/
abstract class TaskRunnable<T>(result: Result<T>) : Runnable {
private var mResult: Result<T> = result
private lateinit var mThreadHandler:ThreadHan... | 0 | Kotlin | 2 | 2 | 6ceafeca69702605c08a04957c57ab66bff01d08 | 1,329 | ShopMall | Apache License 2.0 |
ooxml-spreadsheet/src/main/kotlin/io/github/nillerr/ooxml/table/Table.kt | Nillerr | 657,676,368 | false | {"Kotlin": 59525} | package io.github.nillerr.ooxml.table
/**
* Represents a table that can be rendered in a spreadsheet or document.
*
* @param name The name of the sheet this table is rendered in (if supported by the target format).
* @param columns The styles of the columns in the sheet this table is rendered in (if supported by t... | 0 | Kotlin | 0 | 2 | a184fbaa4b75011e9dd78904fea8f9677c4133b4 | 506 | ooxml-kotlin | MIT License |
app/src/main/java/com/thatsmanmeet/tasky/TodoItemCard.kt | thatsmanmeet | 603,736,595 | false | null | package com.thatsmanmeet.tasky
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material3.Checkbox
import androidx.compose.material3.ExperimentalMaterial3Api
import androidx.compose.material3.Ma... | 0 | Kotlin | 0 | 2 | b85f40b55157cbbcafec1871964da1ae5c10ab4b | 2,153 | Tasky | MIT License |
app/src/main/java/com/thatsmanmeet/tasky/TodoItemCard.kt | thatsmanmeet | 603,736,595 | false | null | package com.thatsmanmeet.tasky
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material3.Checkbox
import androidx.compose.material3.ExperimentalMaterial3Api
import androidx.compose.material3.Ma... | 0 | Kotlin | 0 | 2 | b85f40b55157cbbcafec1871964da1ae5c10ab4b | 2,153 | Tasky | MIT License |
compiler/src/main/java/com/squareup/anvil/compiler/codegen/dagger/ProvidesMethodFactoryGenerator.kt | jzbrooks | 312,558,967 | true | {"Kotlin": 480092, "Shell": 694} | package com.squareup.anvil.compiler.codegen.dagger
import com.squareup.anvil.compiler.AnvilCompilationException
import com.squareup.anvil.compiler.codegen.CodeGenerator.GeneratedFile
import com.squareup.anvil.compiler.codegen.PrivateCodeGenerator
import com.squareup.anvil.compiler.codegen.addGeneratedByComment
import ... | 1 | Kotlin | 0 | 0 | a188af94796e982cfcc03212c1d073f1110d30ec | 12,317 | anvil | Apache License 2.0 |
android/app/src/main/java/cloud/multipos/pos/devices/DefaultCustomerDisplay.kt | multipos-app | 773,180,579 | false | {"Kotlin": 548453, "Java": 306036} | /**
* Copyright (C) 2023 multiPOS, 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 ag... | 0 | Kotlin | 1 | 7 | 119bb0c86a5f9589e0219249b02f0f56d43120f7 | 977 | pos | Apache License 2.0 |
app/src/main/java/io/horizontalsystems/bankwallet/modules/addtoken/AddTokenFragment.kt | fahimaltinordu | 312,207,740 | true | {"Kotlin": 1883211, "Java": 33448, "Ruby": 5803, "Shell": 2024} | package io.horizontalsystems.bankwallet.modules.addtoken
import android.os.Bundle
import android.os.Handler
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.core.view.isVisible
import androidx.fragment.app.viewModels
import androidx.lifecycle.Observer
import io.... | 0 | Kotlin | 0 | 4 | d3094c4afaa92a5d63ce53583bc07c8fb343f90b | 3,486 | WILC-wallet-android | MIT License |
sample/src/main/kotlin/com/infinum/halley/sample/data/models/serialization/ProductResource.kt | infinum | 515,133,770 | false | null | package com.infinum.halley.sample.data.models.serialization
import com.infinum.halley.core.annotations.HalEmbedded
import com.infinum.halley.core.annotations.HalLink
import com.infinum.halley.core.serializers.hal.models.HalResource
import com.infinum.halley.core.serializers.link.models.Link
import kotlinx.serializatio... | 0 | Kotlin | 0 | 0 | 0af19cf3a4ffeebb10b5b053dff01bb1acd15dbc | 1,038 | android-halley | Apache License 2.0 |
platform/src/main/kotlin/com/samsung/healthcare/platform/application/config/Constants.kt | S-HealthStack | 520,365,362 | false | null | package com.samsung.healthcare.platform.application.config
object Constants {
const val DEFAULT_TENANT_NAME = "DEFAULT"
}
| 2 | Kotlin | 2 | 7 | 8600eaa7c1d10734a0c90fe396eaf42ffdc10e73 | 127 | backend-system | Apache License 2.0 |
openai/src/main/kotlin/herbaccara/openai/model/model/Model.kt | herbaccara | 611,054,860 | false | null | package herbaccara.openai.model.model
import com.fasterxml.jackson.annotation.JsonProperty
data class Model(
val id: String,
@field:JsonProperty("object")
val `object`: String,
val created: Int,
@field:JsonProperty("owned_by")
val ownedBy: String,
val permission: List<Permission>,
val ... | 1 | Kotlin | 1 | 2 | 7a3558a5e771d9ce5b8c1bf0cf44ade310471c85 | 360 | openai | MIT License |
visionforge-solid/src/commonTest/kotlin/space/kscience/visionforge/solid/VisionUpdateTest.kt | mipt-npm | 174,502,624 | false | null | package space.kscience.visionforge.solid
import space.kscience.dataforge.context.Global
import space.kscience.dataforge.context.fetch
import space.kscience.dataforge.meta.MetaItem
import space.kscience.dataforge.names.toName
import space.kscience.visionforge.VisionChange
import space.kscience.visionforge.get
import ko... | 11 | Kotlin | 5 | 25 | 456e01fcfa48f798a03cc5866acc5d4c557e00c3 | 2,649 | visionforge | Apache License 2.0 |
plugins/src/main/java/com/google/gradle/tasks/WarnAboutApiChangesTask.kt | google | 727,310,537 | false | {"Kotlin": 193548, "Shell": 1825} | /*
* Copyright 2023 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | 26 | Kotlin | 153 | 78 | 440f960d8ddd96b846ded23d7f20a983b635fa03 | 3,360 | generative-ai-android | Apache License 2.0 |
sample/src/main/java/com/example/webtrekk/androidsdk/mapp/SecondActivity.kt | Webtrekk | 166,987,236 | false | null | package com.example.webtrekk.androidsdk.mapp
import android.app.Activity
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import android.view.View
import com.example.webtrekk.androidsdk.R
class SecondActivity : Activity() {
private val DEEPLINK_SCHEME = "com.appoxee.test"
override... | 1 | Kotlin | 1 | 12 | 24cdccd048b5ff80935934fc00cf36da6321f580 | 887 | webtrekk-android-sdk-v5 | MIT License |
database/src/main/java/com/danielwaiguru/touristnews/database/entities/TouristEntity.kt | daniel-waiguru | 680,273,793 | false | {"Kotlin": 123694, "Shell": 254} | package com.danielwaiguru.touristnews.database.entities
import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey
import com.danielwaiguru.touristnews.database.entities.TouristEntity.Companion.TOURISTS_TABLE_NAME
@Entity(tableName = TOURISTS_TABLE_NAME)
data class TouristEntity(
... | 11 | Kotlin | 0 | 0 | 96955bb7fe4e2565947f96358b64d277b69512ab | 768 | Tourist-App | The Unlicense |
app/src/main/java/cz/palda97/lpclient/model/entities/pipeline/DialogJsFactory.kt | Palda97 | 280,530,029 | false | null | package cz.palda97.lpclient.model.entities.pipeline
import com.google.gson.Gson
import com.google.gson.JsonSyntaxException
import cz.palda97.lpclient.Injector
/**
* Factory for transforming dialog.js to [DialogJs].
*/
class DialogJsFactory(private val js: String, private val componentId: String) {
/**
* P... | 0 | Kotlin | 0 | 0 | e2e1c188a21dac4cd78d9242633dc094ba50ef64 | 3,837 | LinkedPipesAndroidClient | MIT License |
spring/support/src/main/kotlin/io/bluetape4k/spring/ui/ModelExtensions.kt | debop | 625,161,599 | false | {"Kotlin": 7504333, "HTML": 502995, "Java": 2273, "JavaScript": 1351, "Shell": 1301, "CSS": 444, "Dockerfile": 121, "Mustache": 82} | package io.bluetape4k.spring.ui
import org.springframework.ui.Model
fun Model.addAttributes(vararg pairs: Pair<String, Any?>): Model =
addAllAttributes(pairs.toMap())
fun Model.mergeAttributes(vararg pairs: Pair<String, Any?>): Model =
mergeAttributes(pairs.toMap())
| 0 | Kotlin | 0 | 1 | ce3da5b6bddadd29271303840d334b71db7766d2 | 278 | bluetape4k | MIT License |
riskscore/src/main/java/uk/nhs/riskscore/RiskScoreCalculatorConfiguration.kt | klinker41 | 330,272,308 | true | {"Kotlin": 76046} | package uk.nhs.riskscore
/**
* Configuration for the [RiskScoreCalculator]
*
* @param sampleResolution: The resolution of samples taken in seconds.
* @param expectedDistance: The expected distance moved per second in meters.
* @param minimumDistance: The minimum distance in meters. Any estimated distance lower th... | 0 | Kotlin | 0 | 0 | 31e7235d807b5701fee138ff8ca38b2174edad59 | 3,096 | riskscore-kt-public | MIT License |
app/src/main/java/com/etasdemir/ethinspector/utils/Utils.kt | etasdemir | 584,191,764 | false | null | package com.etasdemir.ethinspector.utils
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.runtime.remember
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.unit... | 0 | Kotlin | 0 | 2 | 96a74f3f31bf6aeaa9516110065405ea606f9702 | 3,580 | eth-inspector | MIT License |
app/src/main/java/com/diana/test/meddrawer/view/medicine/MedicineAdapter.kt | dianaiosifescu | 273,247,013 | false | null | package com.diana.test.meddrawer.view.medicine
import android.app.DatePickerDialog
import android.content.Context
import android.graphics.Color
import android.text.InputType
import android.view.LayoutInflater
import android.view.View
import android.view.View.OnTouchListener
import android.view.ViewGroup
import android... | 0 | Kotlin | 0 | 0 | a3443991f9070c14c470b37577c9ad1d61716794 | 12,501 | MedDrawer-Public | MIT License |
benchmarks/src/jmh/kotlin/com/github/kdbc/benchmarks/postgresql/JdbcBenchmarkConcurrentSingle.kt | ClasicRando | 722,364,579 | false | {"Kotlin": 861814} | package com.github.kdbc.benchmarks.postgresql
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.async
import kotlinx.coroutines.awaitAll
import kotlinx.coroutines.runBlocking
import kotlinx.datetime.toKotlinLocalDateTime
import org.openjdk.jmh.annotations.Benchmark
import org.openjdk.jmh.annotations.Benc... | 7 | Kotlin | 0 | 0 | 5440565fd91cf3caf0bf3e913afba3078c24c24e | 3,231 | kdbc | Apache License 2.0 |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/bold/MarsStrokeUp.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,033 | icons | MIT License |
EmmaExampleApp/app/src/main/java/com/emma/emmaandroidexample/ui/home/HomeScreen.kt | EMMADevelopment | 851,476,718 | false | {"Kotlin": 30988} | package com.emma.emmaandroidexample.ui.home
import android.util.Log
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.items
import androidx.compose.runtime.Composable
import andro... | 0 | Kotlin | 0 | 0 | 57e0cea0ac150172c021418058ede4dd335c6188 | 3,518 | emma-android-app | Apache License 2.0 |
invert-report/src/jsMain/kotlin/com/squareup/invert/common/pages/BlankReportPage.kt | square | 789,061,154 | false | {"Kotlin": 369133, "JavaScript": 4120, "HTML": 1882, "CSS": 1113, "Shell": 878} | package com.squareup.invert.common.pages
import androidx.compose.runtime.Composable
import com.squareup.invert.common.InvertReportPage
import com.squareup.invert.common.navigation.NavPage
import com.squareup.invert.common.navigation.routes.BaseNavRoute
import org.jetbrains.compose.web.dom.Text
import kotlin.reflect.K... | 4 | Kotlin | 0 | 82 | 31b1859a5b9b49553068a4da6ada5de2fe9d82ac | 721 | invert | Apache License 2.0 |
generators/server/templates/spring-boot-with-kotlin/spring-boot-with-kotlin-app/src/main/kotlin/me/ely/service/UserService.kt | xiaochunyong | 204,886,659 | false | {"JavaScript": 145201, "Kotlin": 82063, "CSS": 10974, "HTML": 514, "Dockerfile": 289} | package me.ely.service
import me.ely.domain.entity.User
import me.ely.domain.entity.User_
import me.ely.domain.request.UserSearchRequestModel
import me.ely.repository.jpa.UserRepository
import org.springframework.data.domain.Page
import org.springframework.data.domain.PageImpl
import org.springframework.data.domain.Pa... | 17 | JavaScript | 1 | 0 | fb8523e3d04923be45737918ca693718bc6dcf04 | 2,304 | generator-acg | Apache License 2.0 |
src/main/kotlin/vm2gol_v2/util/Utils.kt | sonota88 | 329,389,312 | false | null | package vm2gol_v2.util
class Utils {
companion object {
const val DQ = "\""
const val LF = "\n"
fun puts(x: Any?) {
println(x)
}
fun puts_e(x: Any?) {
System.err.println(x)
}
fun putskv_e(k: String, v: Any?) {
val vstr... | 0 | Kotlin | 0 | 1 | e2ed5dfd30c25f3953740d18a290d8f0cd9d8d5a | 3,328 | vm2gol-v2-kotlin | MIT License |
shared/src/commonMain/kotlin/com/kevinschildhorn/fotopresenter/ui/screens/common/composables/AtomikText.kt | KevinSchildhorn | 522,216,678 | false | {"Kotlin": 299918, "Swift": 580} | package com.kevinschildhorn.fotopresenter.ui.screens.common.composables
import androidx.compose.material.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import com.kevinschildhorn.atomik.atomic.atoms.interfaces.TextAtom
import com.kevinschildhorn.atomik.atomic.atoms.textStyle
import... | 0 | Kotlin | 0 | 0 | c48e2b410b4f0f347448b7fa3f9b8cca644ba71c | 599 | FoToPresenter | Apache License 2.0 |
dsl/src/main/kotlin/cloudshift/awscdk/dsl/services/eks/KubernetesManifestPropsDsl.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package cloudshift.awscdk.dsl.services.eks
import cloudshift.awscdk.common.CdkDslMarker
import kotlin.Any
import kotlin.Boolean
import kotlin.... | 1 | Kotlin | 0 | 0 | 17c41bdaffb2e10d31b32eb2282b73dd18be09fa | 5,486 | awscdk-dsl-kotlin | Apache License 2.0 |
app/src/main/java/com/hal/kaiyan/ui/home/fragment/PreferenceSettingsFragment.kt | leihaogit | 734,572,648 | false | {"Kotlin": 239759} | package com.hal.kaiyan.ui.home.fragment
import android.os.Bundle
import androidx.appcompat.app.AppCompatDelegate
import androidx.preference.Preference
import androidx.preference.PreferenceFragmentCompat
import androidx.preference.SwitchPreferenceCompat
import com.hal.kaiyan.R
import com.hal.kaiyan.ui.base.Constant
imp... | 0 | Kotlin | 1 | 6 | dc9cbb8035f46e35c7a2f648fc9e3bdf7a8eb7d6 | 7,686 | kaiyan | Apache License 2.0 |
app/src/main/java/com/jawnnypoo/geotune/dialog/EditNameDialog.kt | Commit451 | 58,508,396 | false | null | package com.jawnnypoo.geotune.dialog
import android.content.Context
import android.support.v7.app.AppCompatDialog
import com.jawnnypoo.geotune.R
import kotlinx.android.synthetic.main.dialog_edit_name.*
class EditNameDialog(context: Context) : AppCompatDialog(context) {
private var listener: ((name: String) -> Un... | 0 | Kotlin | 2 | 8 | 776e36f119efc855a76c4acd92caa9498f934392 | 836 | GeoTune | Apache License 2.0 |
app/src/main/java/com/bejussi/dailyadvice/di/DataModule.kt | Bejussi | 641,076,669 | false | null | package com.bejussi.dailyadvice.di
import android.content.Context
import androidx.datastore.core.DataStore
import androidx.datastore.preferences.core.Preferences
import androidx.datastore.preferences.preferencesDataStore
import androidx.room.Room
import com.bejussi.dailyadvice.data.AdviceRepositoryImpl
import com.beju... | 0 | Kotlin | 0 | 0 | 250b1b1988c823e9a1e4afdadfc838f3b220ec87 | 2,012 | DailyAdvice | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.