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/steleot/jetpackcompose/playground/compose/rest/MainScreen.kt | Sagar19RaoRane | 410,922,276 | false | null | package com.steleot.jetpackcompose.playground.compose.rest
import android.widget.Toast
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.rememberScrollState
import androidx.compose.foundation.verticalScroll
import androidx.compose.material.Divid... | 0 | null | 0 | 1 | 91d0a3571031a97a437e13ab103a6cd7092f1598 | 7,663 | Jetpack-Compose-Playground | Apache License 2.0 |
DSLs/kubernetes/dsl/src/main/kotlin-gen/com/fkorotkov/kubernetes/cinder.kt | fkorotkov | 84,911,320 | false | null | // GENERATED
package com.fkorotkov.kubernetes
import io.fabric8.kubernetes.api.model.CinderPersistentVolumeSource as model_CinderPersistentVolumeSource
import io.fabric8.kubernetes.api.model.CinderVolumeSource as model_CinderVolumeSource
import io.fabric8.kubernetes.api.model.PersistentVolumeSpec as model_PersistentVo... | 6 | Kotlin | 19 | 317 | ef8297132e6134b6f65ace3e50869dbb2b686b21 | 802 | k8s-kotlin-dsl | MIT License |
device/src/main/java/com/baka3k/architecture/device/barcode/decoder/Decoder.kt | baka3k | 395,602,773 | false | null | /*
* Created by <NAME> on 4/22/20 1:27 PM.
* Copyright © 2020 <EMAIL>. All rights reserved.
* Licensed under the MIT license. See LICENSE file in the project root for details
*/
package com.baka3k.architecture.device.barcode.decoder
interface Decoder {
fun decode(
width: Int,
height: Int,
... | 0 | Kotlin | 5 | 6 | d1b71dd125c2bfed42ade988821addb38e21aad4 | 360 | CleanArchitecture | MIT License |
moit-api/src/main/kotlin/com/mashup/moit/util/Constant.kt | mash-up-kr | 631,176,365 | false | null | package com.mashup.moit.util
object SwaggerConstant {
const val API_NAME = "MOIT-API"
const val API_VERSION = "v1"
const val API_DESCRIPTION = "MOIT API 명세"
const val BEARER_AUTH = "bearerAuth"
}
| 2 | Kotlin | 2 | 8 | 4e53605f9133c531f2508038c3e92cdd8e6aa569 | 213 | MOIT-backend | The Unlicense |
app/src/main/java/com/netnovelreader/bean/BookBean.kt | wonhoyv | 123,305,339 | true | {"Kotlin": 270406, "Java": 6492} | package com.netnovelreader.bean
import android.databinding.BaseObservable
import android.databinding.ObservableField
import android.graphics.Bitmap
/**
* Created by yangbo on 18-1-12.
*/
data class BookBean(
var bookname: ObservableField<String>,
var latestChapter: ObservableField<String>,
var downloadU... | 0 | Kotlin | 0 | 0 | b32abc2d54b245db6efb5054d1348d24d1a8449c | 452 | NetNovelReader | Apache License 2.0 |
mockup-processor/src/main/kotlin/mir/oslav/mockup/processor/MockupVisitor.kt | miroslavhybler | 691,973,907 | false | {"Kotlin": 81659} | package mir.oslav.mockup.processor
import com.google.devtools.ksp.getDeclaredProperties
import com.google.devtools.ksp.processing.SymbolProcessorEnvironment
import com.google.devtools.ksp.symbol.KSClassDeclaration
import com.google.devtools.ksp.symbol.KSDeclaration
import com.google.devtools.ksp.symbol.KSFunctionDecla... | 0 | Kotlin | 0 | 0 | a4fb4cca4f4a37e9c129437ee46d15663af22e1b | 9,007 | ksp-mockup | Apache License 2.0 |
injector/src/main/java/merkulyevsasha/ru/injector/halls/HallsPresenterInjector.kt | sashamerkulev | 153,995,748 | false | null | package merkulyevsasha.ru.injector.halls
import android.content.Context
import merkulyevsasha.ru.halls.HallsPresenter
import merkulyevsasha.ru.router.ScreenRouter
class HallsPresenterInjector(
private val context: Context,
private val screenRouter: ScreenRouter
) {
private val hallsPresenter: HallsPresen... | 0 | Kotlin | 0 | 0 | e8d0367863ea2ebb93ccdf181a27f8a9685c5c60 | 603 | ITLanch | Apache License 2.0 |
base/src/main/java/dev/cgomez/uber/base/blocks/OptionsSheet.kt | go-cristian | 480,201,098 | false | {"Kotlin": 28545} | package dev.cgomez.uber.base.blocks
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Button
import android.widget.TextView
import androidx.appcompat.app.AppCompatActivity
import androidx.core.os.bundleOf
import androidx.fragment.ap... | 0 | Kotlin | 0 | 1 | fe4260fa9c88e6d498b6211e3de75ccae9803ba9 | 4,136 | uber-base | Apache License 2.0 |
practice/src/main/java/com/hd/practice/handler/MeasureYCHandler.kt | HelloHuDi | 111,981,539 | false | {"Gradle": 6, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 5, "Batchfile": 1, "Markdown": 2, "Proguard": 4, "Kotlin": 47, "XML": 48, "Java": 9, "JSON": 1} | package com.hd.practice.handler
import android.content.Context
import android.os.SystemClock
import android.widget.ScrollView
import android.widget.TextView
import com.hd.bluetoothutil.utils.BL
import java.io.OutputStream
import kotlin.concurrent.thread
/**
* Created by hd on 2018/3/26 .
* blood sugar : yicheng
*... | 0 | Kotlin | 0 | 1 | 03f68d4d5050a9056a26d5dfdbd8767a8b7a4f7b | 1,230 | android-bluetooth-handler | Apache License 2.0 |
nab-shared/src/main/java/au/com/nab/android/shared/common/extensions/ActivityExtension.kt | nphausg | 312,741,827 | false | {"Gradle": 15, "Shell": 2, "XML": 60, "Java Properties": 2, "Text": 1, "Ignore List": 5, "Batchfile": 1, "Markdown": 1, "INI": 8, "Proguard": 5, "Kotlin": 128, "Java": 6} | package au.com.nab.android.shared.common.extensions
import android.app.Activity
import androidx.annotation.LayoutRes
import androidx.databinding.ViewDataBinding
import au.com.nab.android.shared.common.ActivityBindingProperty
import org.jetbrains.anko.inputMethodManager
/**
* Extension method to provide hide keyboard... | 0 | Kotlin | 0 | 0 | af5cd949793467dbd4893bc5690cf5f1ce6eeed8 | 628 | android.interview.nab | Apache License 2.0 |
app/src/main/java/com/spiraclesoftware/androidsample/feature/transaction_list/ContentModel.kt | Benjiko99 | 153,489,461 | false | {"Kotlin": 314050} | package com.spiraclesoftware.androidsample.feature.transaction_list
import com.spiraclesoftware.androidsample.domain.entity.TransferDirectionFilter
import com.spiraclesoftware.androidsample.framework.core.Model
data class ContentModel(
val listModels: List<Model>,
val filterModel: FilterModel,
val emptySt... | 0 | Kotlin | 0 | 0 | 2a899d98da19b8fbce9f7fe6607b7cb33e68fa8e | 416 | Android-Sample | The Unlicense |
graphql-kotlin-schema-generator/src/main/kotlin/com/expediagroup/graphql/exceptions/InvalidInterfaceException.kt | babyfish-ct | 247,506,424 | true | {"Kotlin": 813165, "JavaScript": 5387, "HTML": 2703, "CSS": 297} | /*
* Copyright 2020 Expedia, 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 t... | 0 | null | 0 | 2 | 270c0b147753fc5c624de3601e3c064fc8d23946 | 1,081 | graphql-kotlin | Apache License 2.0 |
Kotlin/Code/Kotlin-Basic/src/main/kotlin/me/ztiany/oop/InnerClass.kt | hiloWang | 203,300,702 | false | {"Java": 6943796, "C": 1648441, "C++": 1559595, "HTML": 600176, "Kotlin": 599497, "JavaScript": 456120, "Groovy": 288531, "CSS": 100975, "Dart": 95015, "Python": 93418, "Makefile": 29544, "TSQL": 22344, "CMake": 19243, "Objective-C": 2259, "Shell": 1356, "AspectJ": 477, "Batchfile": 203} | package me.ztiany.oop
import java.awt.Frame
import java.awt.Window
import java.awt.event.ActionListener
import java.awt.event.MouseAdapter
import java.awt.event.MouseEvent
/**
* 内部类:
* 1, 类可以嵌套在其他类中,默认为静态内部类
* 2,类可以标记为 inner 以便能够访问外部类的成员。内部类会带有一个对外部类的对象的引用
*/
private class Outer {
private val bar... | 0 | Java | 15 | 4 | 64a637a86f734e4e80975f4aa93ab47e8d7e8b64 | 1,100 | notes | Apache License 2.0 |
app/src/main/java/com/malibin/morse/presentation/login/LoginViewModel.kt | cha7713 | 463,427,946 | true | {"Kotlin": 121634, "PureBasic": 2910} | package com.malibin.morse.presentation.login
import androidx.hilt.lifecycle.ViewModelInject
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.malibin.morse.R
import com.malibin.morse.data.repository.AuthRepository
import com.malibin.morse.... | 0 | null | 0 | 0 | 8103c56b8079224aba8eedc7a4a4af40a1b92b4c | 2,118 | morse_android_stove_camp | Apache License 2.0 |
app/src/test/java/com/fueledbycaffeine/mivote/ui/voter/VoterRegistrationViewModelTest.kt | MI-Vote | 298,102,135 | false | null | package com.fueledbycaffeine.mivote.ui.voter
import androidx.arch.core.executor.testing.InstantTaskExecutorRule
import com.fueledbycaffeine.mivote.data.VoterDataStore
import com.fueledbycaffeine.mivote.data.VoterInfo
import io.michiganelections.api.model.Ballot
import io.michiganelections.api.model.ResultPage
import i... | 2 | Kotlin | 2 | 2 | 71a2b3580469c8b1fc004b80691ff346c5a19548 | 2,617 | mivote-android | MIT License |
Confroid/app/src/main/java/fr/uge/confroid/utils/RecyclerViewUtils.kt | alopesmendes | 317,221,345 | false | null | package fr.uge.confroid.utils
import android.view.View
import android.widget.Filter
import android.widget.ImageView
import androidx.recyclerview.widget.RecyclerView
/***
* Will deal with the features of an [RecyclerView].
*
* @author Ailton Lopes Mendes
* @author Jonathan CHU
* @author Fabien LAMBERT--DELAVAQUER... | 1 | Kotlin | 0 | 1 | 7bbd2ae98de1b913a44e5113937de8cf020f3cbd | 1,032 | Android | Creative Commons Zero v1.0 Universal |
domain/src/main/java/org/lotka/xenon/domain/repository/ProfileRepository.kt | armanqanih | 860,856,530 | false | {"Kotlin": 281646} | package org.lotka.xenon.domain.repository
import android.net.Uri
import androidx.paging.PagingData
import kotlinx.coroutines.flow.Flow
import org.lotka.xenon.domain.model.User
import org.lotka.xenon.domain.util.Resource
interface ProfileRepository {
suspend fun getProfile(userId: String): Flow<Resource<User>>
... | 0 | Kotlin | 0 | 0 | 894b4ba5b113d951ee4975c66cbbe3115f3239b2 | 426 | ModernNews | Apache License 2.0 |
platform/src/main/kotlin/researchstack/backend/adapter/incoming/mapper/task/TaskSpecMapper.kt | S-ResearchStack | 520,365,362 | false | {"Kotlin": 1297740, "Dockerfile": 202, "Shell": 59} | package researchstack.backend.adapter.incoming.mapper.task
import researchstack.backend.adapter.incoming.mapper.toGrpc
import researchstack.backend.application.port.incoming.task.ActivityTaskResponse
import researchstack.backend.application.port.incoming.task.SurveyTaskResponse
import researchstack.backend.application... | 1 | Kotlin | 9 | 29 | edd76f219cdb10c8151b8ac14175b1e818a6036a | 1,849 | backend-system | Apache License 2.0 |
app/src/test/java/ch/abwesend/privatecontacts/infrastructure/repository/importexport/VCardImportExportRepositoryTest.kt | fgubler | 462,182,037 | false | null | /*
* Private Contacts
* Copyright (c) 2022.
* <NAME>
*/
package ch.abwesend.privatecontacts.infrastructure.repository.importexport
import ch.abwesend.privatecontacts.domain.model.contact.ContactType
import ch.abwesend.privatecontacts.domain.model.importexport.VCardParseError
import ch.abwesend.privatecontacts.dom... | 0 | Kotlin | 1 | 5 | b1d7a7b72148b3238d9974e4696b8d652bca4763 | 4,233 | PrivateContacts | Apache License 2.0 |
src/jsMain/kotlin/Api.kt | twcrone | 535,889,366 | false | null | import io.ktor.client.*
import io.ktor.client.call.*
import io.ktor.client.plugins.contentnegotiation.*
import io.ktor.client.request.*
import io.ktor.http.*
import io.ktor.serialization.kotlinx.json.*
import kotlinx.browser.window
val endpoint = window.location.origin
val jsonClient = HttpClient {
install(Conten... | 0 | Kotlin | 0 | 0 | 51ad2b58ac8fc7e37f8801d3fb898a0b84708877 | 715 | ktlist | Apache License 2.0 |
src/main/java/com/media/mob/bean/PositionConfig.kt | QingTengXinXi | 410,820,262 | false | {"Kotlin": 251390} | package com.media.mob.bean
import com.google.gson.annotations.SerializedName
import java.io.Serializable
class PositionConfig(
/**
* 物理广告位id
*/
@SerializedName("position_id")
var positionId: String,
/**
* 物理广告位名称
*/
@SerializedName("position_name")
var positionName: Strin... | 0 | Kotlin | 0 | 4 | d9dc3eca91087f50e6b2518be17697e7bb739c06 | 770 | MediaMob | Apache License 2.0 |
src/test/kotlin/org/homieiot/TestDevice.kt | boc-tothefuture | 155,069,544 | false | null | package org.homieiot
import io.mockk.every
import io.mockk.just
import io.mockk.mockk
import io.mockk.runs
import io.mockk.slot
import org.assertj.core.api.Assertions
import org.assertj.core.api.Assertions.assertThat
import org.homieiot.mqtt.HomiePublisher
import org.junit.jupiter.api.Test
class TestDevice {
@Te... | 2 | Kotlin | 2 | 7 | 1a4ae6260f3fa6a2cdebfc7eca30cfbe59c98736 | 5,856 | kotlin-homieiot | Apache License 2.0 |
src/Day01.kt | jdappel | 575,879,747 | false | {"Kotlin": 10062} | fun main() {
fun logic(input: List<String>): Map<Int,Int> {
var elves = mutableMapOf<Int,Int>()
var tmp = 0
var cnt = 0
input.forEach { line ->
if (line.isNotEmpty()) {
tmp += line.toInt()
}
else {
elves[++cnt] = tm... | 0 | Kotlin | 0 | 0 | ddcf4f0be47ccbe4409605b37f43534125ee859d | 917 | AdventOfCodeKotlin | Apache License 2.0 |
src/Day01.kt | jdappel | 575,879,747 | false | {"Kotlin": 10062} | fun main() {
fun logic(input: List<String>): Map<Int,Int> {
var elves = mutableMapOf<Int,Int>()
var tmp = 0
var cnt = 0
input.forEach { line ->
if (line.isNotEmpty()) {
tmp += line.toInt()
}
else {
elves[++cnt] = tm... | 0 | Kotlin | 0 | 0 | ddcf4f0be47ccbe4409605b37f43534125ee859d | 917 | AdventOfCodeKotlin | Apache License 2.0 |
columbiad-express-domain/src/test/kotlin/org/craftsrecords/columbiadexpress/domain/sharedkernel/ScheduleShould.kt | davidaparicio | 761,161,576 | false | null | package org.craftsrecords.columbiadexpress.domain.sharedkernel
import org.assertj.core.api.Assertions.assertThat
import org.assertj.core.api.Assertions.assertThatThrownBy
import org.craftsrecords.columbiadexpress.domain.EqualityShould
import org.junit.jupiter.api.Test
import java.time.Duration
import java.time.LocalDa... | 8 | Kotlin | 0 | 0 | b06fcef38e8fa258184b91fe52e66100c518c1c1 | 1,327 | model-mitosis | MIT License |
matrix-sdk/src/main/java/org/matrix/androidsdk/rest/api/IdentityAuthApi.kt | matrix-org | 24,635,052 | false | null | /*
* Copyright 2019 The Matrix.org Foundation C.I.C.
*
* 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... | 31 | Java | 142 | 373 | 68165b6ddbbea51524b5c7e6192d4ae4a0083ad3 | 1,807 | matrix-android-sdk | Apache License 2.0 |
NavigationStyles/composeApp/src/iosMain/kotlin/MainViewController.kt | deepakkaligotla | 733,301,131 | false | {"Kotlin": 138249, "Swift": 1170} |
import androidx.compose.ui.window.ComposeUIViewController
import screen.AboutScreen
import screen.HomeScreen
import screen.SettingsScreen
val navigatorHandler: NavigatorHandler = Navigator()
fun MainViewController() = ComposeUIViewController { App(navigatorHandler) }
fun homeViewController() = ComposeUIViewControll... | 0 | Kotlin | 0 | 0 | 9a18bb3e2da47815c7710236b499269689de6519 | 487 | Kotlin_Compose_Multiplatform | The Unlicense |
bbs/src/main/kotlin/com/example/bbs/SampleController.kt | dyaos1 | 727,579,217 | false | {"Kotlin": 49112} | package com.example.bbs
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.PostMapping
import org.springframework.web.bind.annotation.RequestParam
import org.springframework.web.bind.annotation.RestController
@RestController
class SampleController {
@GetMappin... | 3 | Kotlin | 0 | 0 | 1d51222f791de173dfcf57018a7a6b0df0602048 | 535 | compose-kotlin-practices | MIT License |
src/test/kotlin/no/nav/omsorgspenger/testutils/IdentitetsnummerGenerator.kt | navikt | 293,469,365 | false | null | package no.nav.omsorgspenger.testutils
import no.nav.omsorgspenger.Identitetsnummer
internal object IdentitetsnummerGenerator {
private var teller = 10000000000
internal fun identitetsnummer(): Identitetsnummer {
return "%011d".format(teller++)
}
} | 1 | Kotlin | 0 | 2 | d16411518577c84e6cb93fed444a2f8aa6ff264e | 270 | omsorgspenger-rammemeldinger | MIT License |
app/src/main/java/com/qomunal/opensource/androidresearch/ui/main/MainActivity.kt | teamqomunal | 742,709,161 | false | {"Kotlin": 101318} | package com.qomunal.opensource.androidresearch.ui.main
import android.os.Bundle
import androidx.activity.viewModels
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentManager
import androidx.fragment.app.FragmentTransaction
import com.qomunal.opensource.androidresearch.R
import com.qomunal.open... | 0 | Kotlin | 0 | 5 | 59f8a9b41b863f99bda059f7e60c4aaaa2e9231f | 2,270 | android-mvvm | MIT License |
kotlin.web.demo.server/examples/Kotlin in Action/Chapter 9/9.1/3_3_TypeParameterConstraints2.kt | arrow-kt | 117,599,238 | true | {"Kotlin": 759728, "Java": 468940, "JavaScript": 379303, "CSS": 79321, "HTML": 14587, "Shell": 1029, "Dockerfile": 355} | package ch09.ex1_3_3_TypeParameterConstraints2
import java.time.Period
fun <T> ensureTrailingPeriod(seq: T)
where T : CharSequence, T : Appendable {
if (!seq.endsWith('.')) {
seq.append('.')
}
}
fun main(args: Array<String>) {
val helloWorld = StringBuilder("Hello World")
ensureTraili... | 2 | Kotlin | 2 | 7 | 7165d9568d725c9784a1e7525f35bab93241f292 | 367 | try.arrow-kt.io | Apache License 2.0 |
gto-support-snowplow/src/test/kotlin/org/ccci/gto/android/common/snowplow/events/CustomEventTest.kt | CruGlobal | 30,609,844 | false | null | package org.ccci.gto.android.common.snowplow.events
import android.content.Context
import android.net.ConnectivityManager
import androidx.test.core.app.ApplicationProvider
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.snowplowanalytics.snowplow.internal.emitter.Emitter
import com.snowplowanalytics.sn... | 9 | Kotlin | 2 | 8 | 529634f181da6f2c1394d07ed05594caf178706c | 2,538 | android-gto-support | MIT License |
app/src/main/java/com/tolgaozgun/sprintplanning/viewmodels/lobby/create/CreateLobbyViewModel.kt | tolgaozgun | 517,648,955 | false | {"Kotlin": 94983} | package com.tolgaozgun.sprintplanning.viewmodels.lobby.create
import android.content.Context
import android.content.SharedPreferences
import android.os.Bundle
import android.util.Log
import android.widget.Toast
import androidx.fragment.app.FragmentManager
import androidx.lifecycle.viewModelScope
import com.tolgaozgun.... | 0 | Kotlin | 0 | 0 | 9d54898d2a46591746ded0c52facca38c41a8093 | 2,747 | androidsprintplanning | Apache License 2.0 |
app/src/main/java/com/kieronquinn/app/discoverkiller/ui/screens/wallpapercolourpicker/WallpaperColourPickerBottomSheetFragment.kt | KieronQuinn | 273,963,637 | false | {"Kotlin": 417138, "Java": 18179, "AIDL": 4171} | package com.kieronquinn.app.discoverkiller.ui.screens.wallpapercolourpicker
import android.content.res.ColorStateList
import android.os.Bundle
import android.view.View
import android.widget.Toast
import androidx.core.view.ViewCompat
import androidx.core.view.WindowInsetsCompat
import androidx.core.view.updatePadding
i... | 1 | Kotlin | 8 | 302 | 8a59868f5de7493b685c20a38239b08f8c1c9259 | 3,269 | DiscoverKiller | Apache License 2.0 |
framework/src/main/kotlin/br/com/zup/beagle/widget/ui/ListView.kt | ZupIT | 391,145,988 | false | null | /*
* Copyright 2020, 2022 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... | 6 | null | 8 | 5 | e3f33bae4e209b3852c9a24182a109676166c3d9 | 2,459 | beagle-backend-kotlin | Apache License 2.0 |
codeSnippets/snippets/upload-file-testing-config/src/test/kotlin/UploadFileMapConfigTest.kt | ktorio | 278,572,893 | false | null | package com.example
import com.typesafe.config.ConfigFactory
import io.ktor.application.*
import io.ktor.config.*
import io.ktor.http.*
import io.ktor.http.content.*
import io.ktor.server.testing.*
import io.ktor.utils.io.streams.*
import java.io.File
import kotlin.test.*
class UploadFileMapConfigTest {
@Test
... | 5 | Kotlin | 94 | 95 | 4ede19d93a98dd25c3e1665702f13a8468a364aa | 1,716 | ktor-documentation | Apache License 2.0 |
src/commonMain/kotlin/com/shimmermare/stuffiread/stories/cover/StoryCoverFormat.kt | Shimmermare | 605,765,511 | false | {"Kotlin": 591299} | package com.shimmermare.stuffiread.stories.cover
enum class StoryCoverFormat(
val mimeSubType: String,
vararg val extensions: String
) {
PNG("png", "png"),
JPEG("jpeg", "jpg", "jpeg"),
WEBP("webp", "webp"),
BMP("bmp", "bmp"),
GIF("gif", "gif"),
HEIF("avif", "heif", "avif"),
ICO("vnd... | 7 | Kotlin | 0 | 0 | a5cd268c46494cc3e6ad17405f9013680f9ae240 | 1,086 | StuffIRead | MIT License |
src/main/java/com/caldremch/widget/CommonItemView.kt | android-module | 424,556,749 | false | null | package com.caldremch.widget
import android.content.Context
import android.graphics.Color
import android.graphics.drawable.Drawable
import android.text.TextUtils
import android.util.AttributeSet
import android.view.View
import android.widget.ImageView
import android.widget.TextView
import androidx.constraintlayout.wid... | 0 | Kotlin | 0 | 0 | 8bc69ce7ab8b816121ece8cfda9a1ac474bedef5 | 10,316 | widget | Apache License 2.0 |
plugins/kotlin/idea/tests/testData/codeInsight/expressionType/IfAsExpression.kt | JetBrains | 2,489,216 | false | null | val x = if (2 > 1) <caret>3 else 4
// K1_TYPE: if (2 > 1) 3 else 4 -> <html>Int</html>
// K2_TYPE: if (2 > 1) 3 else 4 -> Int
| 284 | null | 5162 | 16,707 | def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0 | 128 | intellij-community | Apache License 2.0 |
app/src/main/java/com/anafthdev/imdbmovie/api/APIService.kt | kafri8889 | 423,406,173 | false | {"Kotlin": 167215} | package com.anafthdev.imdbmovie.api
import okhttp3.OkHttpClient
import okhttp3.logging.HttpLoggingInterceptor
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
import java.util.concurrent.TimeUnit
object APIService {
private const val BASE_URL = "https://imdb-api.com/"
const val POSTE... | 0 | Kotlin | 0 | 9 | c568f460bb75c94cf52b088c0f79c5825a94ec57 | 831 | IMDb-Movie-App-Jetpack-Compose | Apache License 2.0 |
arch/src/main/java/knaufdan/android/arch/databinding/view/TextStyle.kt | DanielKnauf | 219,150,024 | false | null | package knaufdan.android.arch.databinding.view
import android.graphics.Typeface
enum class TextStyle {
NORMAL,
BOLD,
ITALIC,
BOLD_ITALIC;
fun toTypeFace(): Int =
when (this) {
NORMAL -> Typeface.NORMAL
BOLD -> Typeface.BOLD
ITALIC -> Typeface.ITALIC
... | 0 | Kotlin | 0 | 2 | 38692cd27f106b50bf82a074ffda68d6a7973b8a | 377 | ArchServices | Apache License 2.0 |
app/src/main/java/ru/a1024bits/bytheway/repository/Filter.kt | NooAn | 103,396,921 | false | null | package ru.a1024bits.bytheway.repository
import com.google.android.gms.maps.model.LatLng
import ru.a1024bits.bytheway.model.Method
import java.io.Serializable
data class Filter(var startAge: Int = 0,
var endAge: Int = MAX_AGE,
var startBudget: Int = -1,
var endBu... | 0 | Kotlin | 0 | 5 | cead3342689933c01f251bfb8048d87088783bee | 1,173 | bytheway | MIT License |
core/src/main/kotlin/sift/core/element/FieldNode.kt | junkdog | 561,870,959 | false | null | package sift.core.element
import org.objectweb.asm.Opcodes.*
import sift.core.AsmNodeHashcoder.hash
import sift.core.AsmNodeHashcoder.idHash
import sift.core.asm.signature.FieldSignatureNode
import sift.core.asm.signature.signature
import sift.core.dsl.Type
import sift.core.dsl.Visibility
import sift.core.kotlin.Kotli... | 5 | null | 0 | 56 | b486fe82fc07d85355311c13160a9fadc2f65831 | 1,955 | sift | MIT License |
src/main/kotlin/no/nav/tiltak/datadeling/domene/Formidlingsgruppe.kt | navikt | 704,474,061 | false | {"Kotlin": 50482, "Dockerfile": 100} | package no.nav.tiltak.datadeling.domene
enum class Formidlingsgruppe() {
ARBS, // Person er tilgjengelig for alt søk etter arbeidskraft, ordinær og vikar
IARBS, // Person er ikke tilgjengelig for søk etter arbeidskraft
IJOBS, // Jobbskifter som er inaktivert fra nav.no
ISERV, // Inaktivering, person... | 1 | Kotlin | 0 | 0 | 8e5de1aef438681a7339571f79daa897258cc26c | 551 | tiltak-datadeling | MIT License |
yaka.test/tests/AbstractUnitTest.kt | leo-from-spb | 188,502,399 | false | null | package lb.yaka
import org.junit.jupiter.api.Tag
import org.junit.jupiter.api.TestInstance
@Tag("UnitTest")
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
interface AbstractUnitTest
| 1 | null | 1 | 1 | dc3893e239c936ad02d3586fb94152992af6e79b | 186 | yaka | Apache License 2.0 |
notificare_geo/android/src/main/kotlin/re/notifica/geo/flutter/NotificareGeoPluginEventBroker.kt | Notificare | 313,433,393 | false | {"Kotlin": 111683, "Swift": 100761, "Dart": 82448, "Ruby": 16913, "Objective-C": 7251} | package re.notifica.geo.flutter
import android.os.Handler
import android.os.Looper
import io.flutter.plugin.common.BinaryMessenger
import io.flutter.plugin.common.EventChannel
import io.flutter.plugin.common.JSONMethodCodec
import re.notifica.geo.models.NotificareBeacon
import re.notifica.geo.models.NotificareLocation... | 0 | Kotlin | 0 | 2 | 355c38d20fa41f4acefe884ef627fb2093d54603 | 3,792 | notificare-sdk-flutter | MIT License |
lib/src/main/java/fr/o80/sample/lib/core/LibApplication.kt | olivierperez | 98,867,027 | false | null | package fr.o80.sample.lib.core
import android.app.Application
import android.content.Context
import android.support.multidex.MultiDex
import com.raizlabs.android.dbflow.config.FlowConfig
import com.raizlabs.android.dbflow.config.FlowManager
import fr.o80.sample.lib.di.DaggerLibComponent
import fr.o80.sample.lib.di.L... | 0 | Kotlin | 1 | 1 | 01b780b604eb433f1829c63ce04f06da83f1f6fa | 1,131 | crapp | Apache License 2.0 |
src/main/kotlin/ch/jtaf/boundary/web/HttpContentProducer.kt | 72services | 9,931,766 | false | {"CSS": 167263, "Kotlin": 151364, "HTML": 100849, "Arc": 2791} | package ch.jtaf.boundary.web
import org.springframework.http.HttpHeaders
import org.springframework.http.HttpStatus
import org.springframework.http.MediaType
import org.springframework.http.ResponseEntity
class HttpContentProducer {
fun getContentAsPdf(fileName: String, data: ByteArray): ResponseEntity<ByteArray... | 4 | CSS | 0 | 2 | 3428c302b04f76dd0901fbcf23325b649d9534e5 | 1,046 | jtaf | Apache License 2.0 |
client/android/div/src/main/java/com/yandex/div/core/expression/local/RuntimeStore.kt | divkit | 523,491,444 | false | {"Kotlin": 6693041, "Swift": 4462192, "TypeScript": 634790, "Dart": 541272, "Svelte": 478532, "Python": 461025, "Java": 377992, "JavaScript": 142322, "CSS": 35672, "HTML": 23068, "C++": 20911, "CMake": 18677, "Shell": 8952, "Ruby": 3689, "C": 1425, "Objective-C": 38} | package com.yandex.div.core.expression.local
import com.yandex.div.core.expression.ExpressionResolverImpl
import com.yandex.div.core.expression.ExpressionsRuntime
import com.yandex.div.core.expression.variables.VariableControllerImpl
import com.yandex.div.core.view2.errors.ErrorCollector
import com.yandex.div.data.Var... | 5 | Kotlin | 120 | 2,188 | 35eb5ce4553b83f2804021994005f32c4ff2db98 | 5,764 | divkit | Apache License 2.0 |
buildSrc/src/main/kotlin/Versions.kt | alilosoft | 169,886,591 | true | {"Kotlin": 145886, "Shell": 1519, "Java": 1138, "HTML": 241} | /**
* Find which updates are available by running
* `$ ./gradlew buildSrcVersions`
* This will only update the comments.
*
* YOU are responsible for updating manually the dependency version. */
object Versions {
const val kscript_support: String = "1.2.5"
const val ktlint: String = "0.29.0"
con... | 0 | Kotlin | 0 | 0 | ea768cf981854503956e0ebd11bdff0268a40261 | 2,852 | skripts | Apache License 2.0 |
app/src/main/java/kz/ioka/android/iokademoapp/presentation/profile/ProfileFragment.kt | iokadev | 452,776,665 | false | null | package kz.ioka.android.iokademoapp.presentation.profile
import android.content.Intent
import android.os.Bundle
import android.view.View
import android.widget.FrameLayout
import android.widget.TextView
import androidx.appcompat.app.AppCompatDelegate
import androidx.appcompat.app.AppCompatDelegate.MODE_NIGHT_NO
import ... | 0 | Kotlin | 0 | 0 | aba4a3873a46e42ab110af92b865d60559d0a005 | 3,799 | ioka-android | MIT License |
data/src/main/kotlin/team/duckie/app/android/data/exam/model/ExamFundingsResponseData.kt | duckie-team | 503,869,663 | false | {"Kotlin": 1819917} | /*
* Designed and developed by Duckie Team, 2022
*
* Licensed under the MIT.
* Please see full license: https://github.com/duckie-team/duckie-android/blob/develop/LICENSE
*/
package team.duckie.app.android.data.exam.model
import com.fasterxml.jackson.annotation.JsonProperty
internal data class ExamFundingsRespo... | 32 | Kotlin | 1 | 8 | 5dbd5b7a42c621931d05a96e66431f67a3a50762 | 470 | duckie-android | MIT License |
katarina-batch/batch-matchdata/src/main/kotlin/com/hubtwork/katarina/batchmatch/api/repository/FlexRankRepository.kt | 2rohyun | 334,353,545 | false | null | package com.hubtwork.katarina.batchmatch.api.repository
import com.hubtwork.katarina.batchmatch.api.domain.FlexRank
import org.springframework.data.jpa.repository.JpaRepository
import org.springframework.stereotype.Repository
@Repository
interface FlexRankRepository: JpaRepository<FlexRank, Long> | 0 | Kotlin | 0 | 0 | 87538a4aae38f84668a9e2c905411e69aa2dd501 | 299 | Katarina | MIT License |
plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/cwc/clients/chat/model/Responses.kt | aws | 91,485,909 | false | null | // Copyright 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
package software.aws.toolkits.jetbrains.services.cwc.clients.chat.model
data class ChatResponseEvent(
val requestId: String,
val statusCode: Int,
val token: String?,
val followUps: List<Sug... | 519 | null | 220 | 757 | a81caf64a293b59056cef3f8a6f1c977be46937e | 1,600 | aws-toolkit-jetbrains | Apache License 2.0 |
src/main/kotlin/thosijulio/aulas/s2d2/App.kt | thosijulio | 772,721,170 | false | {"Kotlin": 2225} | package thosijulio.aulas.s2d2
/* Exercícios
Exercício 1:
Escreva um programa usando Kotlin que receba o salário de uma pessoa colaboradora,
calcule e mostre o novo salário, sabendo-se que este sofreu um aumento de 25%.
Exercício 2
Cada degrau de uma escada tem X de altura. Escreva um programa usando Kotlin que
receba... | 0 | Kotlin | 0 | 0 | ebe9b051945b296206af53c6948b586b0e609f29 | 2,067 | Kotlin | MIT License |
protocol/push/src/main/kotlin/com/walletconnect/push/engine/sync/use_case/SetupSyncInPushUseCase.kt | WalletConnect | 435,951,419 | false | null | package com.walletconnect.push.engine.sync.use_case
import com.walletconnect.android.cacao.signature.SignatureType
import com.walletconnect.android.internal.common.model.AccountId
import com.walletconnect.android.internal.common.signing.cacao.Cacao
import com.walletconnect.android.sync.client.Sync
import com.walletcon... | 144 | Kotlin | 57 | 153 | 53fec6c04bb16a4af00339895bfeb07fb792a9a1 | 3,550 | WalletConnectKotlinV2 | Apache License 2.0 |
src/jvmMain/kotlin/com/github/thamid_gamer/locatereborn/backend/datagen/classifier/ManualCourseTypeClassifier.kt | tahmid-23 | 459,855,199 | false | {"Kotlin": 76370, "CSS": 2272} | package com.github.thamid_gamer.locatereborn.backend.datagen.classifier
import com.github.thamid_gamer.locatereborn.shared.api.data.CourseType
class ManualCourseTypeClassifier : CourseTypeClassifier {
private val keywordMap = buildMap {
put(CourseType.ART, listOf("acting", "visual", "music", "digital", "... | 0 | Kotlin | 0 | 0 | c6d0195389c0c39558076af093fe0bbad4ffdeda | 3,013 | LocateReborn | MIT License |
android-nsd-flow/src/main/java/de/aroio/library/nsd/flow/NsdThrowable.kt | aroio | 340,172,384 | false | null | package de.aroio.library.nsd.flow
import android.net.nsd.NsdServiceInfo
data class DiscoveryStopFailed(val serviceType: String, val errorCode: Int)
: Throwable("Discovery stop failed for $serviceType with error $errorCode")
data class DiscoveryStartFailed(val serviceType: String, val errorCode: Int)
: Throwa... | 1 | Kotlin | 0 | 2 | b66d32929f354fcb99b4ffb1f001b927bf265312 | 886 | android-nsd-flow | Apache License 2.0 |
castled-notifications/src/main/java/io/castled/android/notifications/push/views/PushVideoViewLayout.kt | castledio | 525,047,434 | false | {"Kotlin": 255947, "HTML": 28150, "Java": 17986, "JavaScript": 1717} | package io.castled.android.notifications.push.views
import android.content.Context
import android.net.Uri
import android.util.AttributeSet
import android.widget.*
import io.castled.android.notifications.R
class PushVideoViewLayout(context: Context, attrs: AttributeSet) : FrameLayout(context, attrs) {
private va... | 0 | Kotlin | 2 | 3 | aa6f6e7a8f353200db740b14448b1d828552b33a | 1,256 | castled-notifications-android | MIT License |
fluent-icons-extended/src/commonMain/kotlin/com/konyaco/fluent/icons/regular/PortUsbC.kt | Konyaco | 574,321,009 | false | null |
package com.konyaco.fluent.icons.regular
import androidx.compose.ui.graphics.vector.ImageVector
import com.konyaco.fluent.icons.Icons
import com.konyaco.fluent.icons.fluentIcon
import com.konyaco.fluent.icons.fluentPath
public val Icons.Regular.PortUsbC: ImageVector
get() {
if (_portUsbC != null) {
... | 1 | Kotlin | 3 | 83 | 9e86d93bf1f9ca63a93a913c990e95f13d8ede5a | 1,129 | compose-fluent-ui | Apache License 2.0 |
src/integration-test/java/ca/mcgill/science/tepid/server/auth/AuthIT.kt | ctf | 138,677,497 | false | null | package ca.mcgill.science.tepid.server.auth
import ca.mcgill.science.tepid.models.data.AdGroup
import ca.mcgill.science.tepid.models.data.FullUser
import ca.mcgill.science.tepid.models.data.ShortUser
import ca.mcgill.science.tepid.server.db.DB
import ca.mcgill.science.tepid.server.db.HibernateCrud
import ca.mcgill.sci... | 1 | null | 2 | 2 | 6d7a9a33c7d2c3518d62acb7467c8f3e2c27b9f5 | 7,067 | TEPID-Server | Apache License 2.0 |
hw5/src/main/kotlin/ru/itmo/draw/AwtApi.kt | KirillKurdyukov | 538,702,916 | false | null | package ru.itmo.draw
import ru.itmo.base.DrawingApi
import ru.itmo.base.HEIGHT
import ru.itmo.base.Point
import ru.itmo.base.WIDTH
import java.awt.Frame
import java.awt.Graphics
import java.awt.Graphics2D
import java.awt.event.WindowAdapter
import java.awt.event.WindowEvent
import java.awt.geom.Ellipse2D
import java.a... | 0 | Kotlin | 1 | 1 | 7f93a94c1ec72cc033e57d44c15439f584b02814 | 1,274 | software-design | MIT License |
app/src/main/java/cucerdariancatalin/clock/activities/WidgetAnalogueConfigureActivity.kt | darian-catalin-cucer | 586,531,861 | false | null | package cucerdariancatalin.clock.activities
import android.app.Activity
import android.appwidget.AppWidgetManager
import android.content.Intent
import android.content.res.ColorStateList
import android.graphics.Color
import android.os.Bundle
import android.widget.SeekBar
import cucerdariancatalin.clock.R
import cucerda... | 0 | Kotlin | 0 | 3 | 3e7e7e7531db793866ea3cc973c23ddfc44ce315 | 4,796 | Clock | MIT License |
kodein-di/src/commonMain/kotlin/org/kodein/di/DIAware.kt | romainbsl | 266,330,275 | true | {"Kotlin": 599043, "Java": 16368} | @file:Suppress("FunctionName")
package org.kodein.di
import org.kodein.di.internal.DirectDIImpl
import org.kodein.type.TypeToken
@Deprecated(DEPRECATED_KODEIN_7X, ReplaceWith("DIContext<C>"), DeprecationLevel.ERROR)
typealias KodeinContext<C> = DIContext<C>
/**
* Defines a context and its type to be used by Di
*/... | 0 | null | 0 | 0 | 47dbaa12d3cf36f9c2a0151b55fb1443e51a10e8 | 16,743 | Kodein-DI | MIT License |
src/test/kotlin/waffle/domain/service/WebCheckpointServiceTests.kt | tmyksj | 571,796,959 | false | null | package waffle.domain.service
import org.assertj.core.api.Assertions
import org.junit.jupiter.api.Test
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.test.context.SpringBootTest
import waffle.domain.repository.WebCheckpointRepository
import waffle.test.factory.WebCheckpoi... | 0 | Kotlin | 0 | 0 | d998f28a4b534493d662a1656979ffb27c378b86 | 878 | waffle | Apache License 2.0 |
module/parser/src/commonMain/kotlin/org/cru/godtools/tool/model/Fallback.kt | CruGlobal | 310,338,913 | false | null | package org.cru.godtools.tool.model
import org.cru.godtools.tool.internal.RestrictTo
import org.cru.godtools.tool.internal.RestrictToScope
import org.cru.godtools.tool.xml.XmlPullParser
import org.cru.godtools.tool.xml.XmlPullParserException
class Fallback : Content, Parent {
internal companion object {
i... | 2 | Kotlin | 1 | 0 | 0af819117b922910d1544d1ea5bb648cd4c63521 | 1,325 | kotlin-mpp-godtools-tool-parser | MIT License |
stripe/src/main/java/com/stripe/android/view/PaymentAuthWebViewActivityViewModel.kt | westy92 | 355,475,833 | true | {"Kotlin": 2858273, "Java": 67236, "Ruby": 6208, "Shell": 321} | package com.stripe.android.view
import android.app.Application
import android.content.Intent
import android.net.Uri
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import com.stripe.android.AnalyticsEvent
import com.stripe.android.Logger
import com.stripe.android.PaymentConfiguration
im... | 0 | null | 0 | 0 | 9939ef08993127ae6eb959e7adb722f122c335e6 | 5,399 | stripe-android | MIT License |
common/util/src/main/java/com/developersancho/util/NetworkUtils.kt | developersancho | 204,070,386 | false | null | package com.developersancho.util
import android.annotation.SuppressLint
import android.content.Context
import android.net.ConnectivityManager
import android.net.NetworkCapabilities
import android.os.Build
object NetworkUtils {
@SuppressLint("MissingPermission")
@JvmStatic
fun hasInternet(context: Context... | 0 | Kotlin | 9 | 43 | 88f182e5a6dc266957c59ff20338b53a974d9fac | 2,032 | CleanArchitectureMVVM | Apache License 2.0 |
plugins/kotlin/idea/tests/testData/decompiler/navigation/fromJavaSource/globalProperty.kt | ingokegel | 72,937,917 | false | null | public val globalVal : String = ""
public val globalValWithGetter : Long
get() {
return System.currentTimeMillis()
}
| 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 126 | intellij-community | Apache License 2.0 |
app/src/main/java/com/youngmanster/collectionkotlin/fragment/recyclerview/FragmentAddHeader.kt | usernameyangyan | 243,885,240 | false | null | package com.youngmanster.collectionkotlin.fragment.recyclerview
import android.view.LayoutInflater
import androidx.recyclerview.widget.LinearLayoutManager
import com.youngmanster.collection_kotlin.mvp.BasePresenter
import com.youngmanster.collectionkotlin.R
import com.youngmanster.collectionkotlin.adapter.recyclerview... | 0 | null | 3 | 20 | bc7ed916e676075b35f719ec2d41e63f4ae6d9dd | 1,538 | Collection-Android-kotlin | MIT License |
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/twotone/Cloudconnection.kt | Tlaster | 560,394,734 | false | {"Kotlin": 25133302} | package moe.tlaster.icons.vuesax.vuesaxicons.twotone
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx... | 0 | Kotlin | 0 | 2 | b8a8231e6637c2008f675ae76a3423b82ee53950 | 3,741 | VuesaxIcons | MIT License |
src/main/com/doitintl/blaster/test/tests/BucketTest.kt | doitintl | 406,397,049 | false | null | package com.doitintl.blaster.test.tests
import com.doitintl.blaster.shared.runCommand
import com.doitintl.blaster.test.TestBase
class BucketTest(project: String) : TestBase(project) {
override fun assetTypeIds() = listOf("storage.googleapis.com/Bucket")//same value twice
override fun createAssets(sfx: Stri... | 3 | null | 3 | 22 | ce769661dfca7915037330db7ff782c5fef2a97b | 860 | CloudBlaster | Apache License 2.0 |
src/main/com/doitintl/blaster/test/tests/BucketTest.kt | doitintl | 406,397,049 | false | null | package com.doitintl.blaster.test.tests
import com.doitintl.blaster.shared.runCommand
import com.doitintl.blaster.test.TestBase
class BucketTest(project: String) : TestBase(project) {
override fun assetTypeIds() = listOf("storage.googleapis.com/Bucket")//same value twice
override fun createAssets(sfx: Stri... | 3 | null | 3 | 22 | ce769661dfca7915037330db7ff782c5fef2a97b | 860 | CloudBlaster | Apache License 2.0 |
core/src/main/kotlin/org/jetbrains/research/ktglean/Constants.kt | e2e4b6b7 | 476,404,280 | false | {"Kotlin": 85849, "ANTLR": 2903} | package org.jetbrains.research.ktglean
const val pluginID = "org.jetbrains.research.ktglean"
const val outputDirectoryCLIKey = "outputDirectory"
| 0 | Kotlin | 0 | 4 | 84b9d903f16cf9300bf5d0c0930b37b7e480b0dd | 146 | KtGlean | Apache License 2.0 |
client/android/app/src/main/java/com/rolandoasmat/aji/recipe_details/RecipeDetailsActivity.kt | rolandoasmat | 205,771,682 | false | null | package com.rolandoasmat.aji.recipe_details
import android.os.Bundle
import androidx.activity.viewModels
import androidx.appcompat.app.AppCompatActivity
import androidx.navigation.findNavController
import androidx.navigation.navArgs
import com.rolandoasmat.aji.AjiApplication
import com.rolandoasmat.aji.R
import com.ro... | 0 | Kotlin | 0 | 0 | baa27d502171ba622cd6de81d610673b03bd257b | 1,410 | Aji | MIT License |
app/src/main/java/com/example/mealplanner/ui/groupActivity/members/MemberListAdaptor.kt | Avantei | 637,927,926 | false | null | package com.example.mealplanner.ui.groupActivity.members
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageButton
import android.widget.TextView
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.ListAdapter
import android... | 0 | Kotlin | 1 | 0 | eaa54a7dae564ae163d04bdb535eda8e5f19043d | 1,717 | 446ProjectRepo | MIT License |
feature/src/main/java/com/eoyeongbooyeong/mypage/bookmark/BookmarkSideEffect.kt | Booyoungee | 819,817,364 | false | {"Kotlin": 356674} | package com.eoyeongbooyeong.mypage.bookmark
import com.eoyeongbooyeong.mypage.MyPageSideEffect
sealed class BookmarkSideEffect {
data object NavigateUp : BookmarkSideEffect()
data class NavigateToPlaceDetail(val placeId: Int, val type: String) : BookmarkSideEffect()
}
| 1 | Kotlin | 0 | 1 | d6c0f529cda8a77973313baa3cf63786641c4deb | 279 | booyoungee-android | Apache License 2.0 |
lwjgl-2/src/main/kotlin/dev/luna5ama/glwrapper/api/GL11LWJGL2.kt | Luna5ama | 594,203,393 | false | null | package dev.luna5ama.glwrapper.api
import dev.luna5ama.kmogus.Arr
import org.lwjgl.opengl.GL11
import java.lang.invoke.MethodType
open class GL11LWJGL2(override val tempArr: Arr) : IGL11 {
override fun glEnable(target: Int) {
GL11.glEnable(target)
}
override fun glDisable(target: Int) {
G... | 0 | Kotlin | 0 | 1 | 3d1136c24e039f9ad5b327895c36a04329e9f323 | 5,610 | gl-wrapper | MIT License |
lwjgl-2/src/main/kotlin/dev/luna5ama/glwrapper/api/GL11LWJGL2.kt | Luna5ama | 594,203,393 | false | null | package dev.luna5ama.glwrapper.api
import dev.luna5ama.kmogus.Arr
import org.lwjgl.opengl.GL11
import java.lang.invoke.MethodType
open class GL11LWJGL2(override val tempArr: Arr) : IGL11 {
override fun glEnable(target: Int) {
GL11.glEnable(target)
}
override fun glDisable(target: Int) {
G... | 0 | Kotlin | 0 | 1 | 3d1136c24e039f9ad5b327895c36a04329e9f323 | 5,610 | gl-wrapper | MIT License |
plugins/space/src/main/kotlin/com/intellij/space/ui/ImageUtils.kt | hieuprogrammer | 284,920,751 | false | null | // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.space.ui
import java.awt.AlphaComposite
import java.awt.Graphics2D
import java.awt.RenderingHints
import java.awt.geom.Area
import java.awt.geom.Ellipse2D
im... | 1 | null | 1 | 2 | dc846ecb926c9d9589c1ed8a40fdb20e47874db9 | 2,400 | intellij-community | Apache License 2.0 |
ontrack-extension-notifications/src/main/java/net/nemerosa/ontrack/extension/notifications/dispatching/NotificationDispatcher.kt | nemerosa | 19,351,480 | false | null | package net.nemerosa.ontrack.extension.notifications.dispatching
import net.nemerosa.ontrack.extension.notifications.subscriptions.EventSubscription
import net.nemerosa.ontrack.model.events.Event
/**
* For a given event and subscription, gets the appropriate channel, checks the configuration
* and sends the notific... | 57 | null | 27 | 97 | 7c71a3047401e088ba0c6d43aa3a96422024857f | 738 | ontrack | MIT License |
service/src/main/kotlin/tech/figure/aggregator/api/model/request/TxRequest.kt | FigureTechnologies | 395,683,487 | false | {"Kotlin": 186142, "Dockerfile": 644, "Makefile": 531, "Shell": 61} | package tech.figure.aggregator.api.model.request
import com.papsign.ktor.openapigen.annotations.Path
import com.papsign.ktor.openapigen.annotations.parameters.PathParam
import com.papsign.ktor.openapigen.annotations.parameters.QueryParam
@Path("{address}")
data class TxRequest(
@PathParam("transaction's address")... | 4 | Kotlin | 0 | 5 | 9c074db1e75737a1a8e671fc56c11b8121c4208a | 612 | aggregate-service | Apache License 2.0 |
src/main/kotlin/com/masahirosaito/spigot/homes/datas/FeeData.kt | MasahiroSaito | 81,658,813 | false | {"Markdown": 3, "Gradle": 1, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "YAML": 2, "Java Properties": 1, "Kotlin": 125, "Java": 3} | package com.masahirosaito.spigot.homes.datas
import com.google.gson.annotations.SerializedName
data class FeeData(
@SerializedName("Home Command Fee")
var HOME: Double = 0.0,
@SerializedName("Home Name Command Fee")
var HOME_NAME: Double = 0.0,
@SerializedName("Home Player C... | 12 | Kotlin | 0 | 1 | f07ac116147877eec13821a1c750b3bd8f1dd725 | 1,685 | Homes | Apache License 2.0 |
src/main/kotlin/hu/matusek/productalgorithms/feature/history/service/CalculationHistoryService.kt | matusekma | 606,008,078 | false | null | package hu.matusek.productalgorithms.feature.history.service
import hu.matusek.productalgorithms.feature.history.dto.CalculationHistoryFilter
import hu.matusek.productalgorithms.feature.history.dto.CalculationHistoryResponse
import hu.matusek.productalgorithms.feature.history.dto.SaveCalculationHistoryRequest
interfa... | 0 | Kotlin | 0 | 0 | 57883ba0b6ac4f40e89b65bd11083d8eae182f02 | 569 | product-algorithms | Apache License 2.0 |
app/storybook/src/main/java/com/yourssu/storybook/atom/ListToggleItemViewModel.kt | yourssu | 364,290,281 | false | {"Kotlin": 677574, "Ruby": 1965} | package com.yourssu.storybook.atom
import android.app.Application
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.yourssu.design.system.atom.Toggle
import com.yourssu.design.undercarriage.base.TextField
import com.yourssu.storybook.BaseViewModel
class ListToggleItemViewModel(a... | 9 | Kotlin | 2 | 30 | 2cb0f09f9c27ad332b4deac8314fee81bcffaf43 | 909 | YDS-Android | MIT License |
samples/starter-mobile-app/src/main/kotlin/researchstack/presentation/screen/study/StudyInformedConsentScreen.kt | S-ResearchStack | 520,365,275 | false | {"Kotlin": 178868, "AIDL": 4785} | package researchstack.presentation.screen.study
import android.webkit.WebView
import android.webkit.WebViewClient
import androidx.activity.compose.BackHandler
import androidx.annotation.StringRes
import androidx.compose.foundation.background
import androidx.compose.foundation.border
import androidx.compose.foundation.... | 0 | Kotlin | 20 | 26 | 58b4b9b64623a7d2a0865307d490a59a7538d7cd | 13,841 | app-sdk | Apache License 2.0 |
src/main/kotlin/com/waicool20/waicoolutils/javafx/TableExtensions.kt | waicool20 | 135,830,471 | false | null | /*
* The MIT License (MIT)
*
* Copyright (c) waicool20
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, m... | 0 | Kotlin | 1 | 1 | 83c675a414800c1662e3dd33a4cde2b8246962b9 | 1,931 | waicoolUtils | MIT License |
chargebee/src/main/java/com/chargebee/android/models/Addon.kt | chargebee | 279,238,499 | false | null | package com.chargebee.android.models
data class Addon(
val id: String,
val name: String,
val invoiceName: String,
val description: String,
val pricingModel: String,
val chargeType: String,
val price: Int,
val periodUnit: String,
val status: String,
val enabledInPortal: Boolean,
... | 8 | null | 7 | 8 | ba3d15dc9e6d19b91a78753d851ff1e1946b2ffc | 649 | chargebee-android | MIT License |
src/main/kotlin/me/rhysxia/explore/server/service/impl/TokenServiceImpl.kt | RhysXia | 362,829,891 | false | null | package me.rhysxia.explore.server.service.impl
import me.rhysxia.explore.server.dto.AuthUser
import me.rhysxia.explore.server.exception.ParameterException
import me.rhysxia.explore.server.po.TokenPo
import me.rhysxia.explore.server.po.UserStatus
import me.rhysxia.explore.server.repository.TokenRepository
import me.rhy... | 6 | Kotlin | 0 | 0 | 8896c3c2916493ceb45b8cad488fd007446a65c9 | 1,992 | explore-server | MIT License |
src/main/kotlin/me/schlaubi/intellij_gradle_version_checker/util/PsiStringUtil.kt | DRSchlaubi | 310,387,505 | false | null | /*
* MIT License
*
* Copyright (c) 2020 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, m... | 4 | null | 5 | 56 | f9d38a94c4e7333ecaf1188b778ba482aff9af8b | 2,150 | Intellij-GradleUpdater | MIT License |
plugins/kotlin/refactorings/kotlin.refactorings.common/src/org/jetbrains/kotlin/idea/refactoring/rename/RenameKotlinTypeParameterProcessor.kt | JetBrains | 2,489,216 | false | null | // Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package org.jetbrains.kotlin.idea.refactoring.rename
import com.intellij.psi.PsiElement
import com.intellij.refactoring.listeners.RefactoringElementListener
import com.intellij.usageView.UsageInfo
... | 284 | null | 5162 | 16,707 | def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0 | 1,438 | intellij-community | Apache License 2.0 |
packages/WalkingPromotor/app/src/main/kotlin/io/github/healthifier/walking_promoter/models/Thumbnail_Image.kt | Healthifier | 229,195,370 | false | null | package io.github.healthifier.walking_promoter.models
import android.graphics.Bitmap
import android.graphics.BitmapFactory
class Thumbnail_Image {
private fun calculateInSampleSize(options: BitmapFactory.Options, reqWidth: Int, reqHeight: Int): Int {
// Raw height and width of image
val (height: ... | 0 | null | 0 | 2 | f91f4bf321dbfc6aa6627eb134618f9f2e81b50b | 1,526 | WalkingPromotor | Apache License 2.0 |
core/kotlin/src/main/java/com/pilinhas/android/core/kotlin/constants/FloatConstants.kt | pilinhasapp | 587,541,347 | false | null | package com.pilinhas.android.core.kotlin.constants
object FloatConstants {
const val ZERO = 0f
} | 0 | Kotlin | 0 | 0 | 075edd796b36203b4950567aecd303e22a330b43 | 101 | Android | MIT License |
k/kotlin/src/main/kotlin/sh/foxboy/api/listeners/MessageListener.kt | ZachyFoxx | 384,331,913 | false | {"Markdown": 11, "Git Config": 2, "Text": 2, "Ignore List": 8, "CMake": 1, "C++": 1, "JSON": 3, "PHP": 1, "Dotenv": 5, "Python": 1, "Gradle Kotlin DSL": 2, "Shell": 2, "Batchfile": 2, "Git Attributes": 2, "INI": 3, "Kotlin": 8, "Lua": 1, "YAML": 2, "JSON with Comments": 1, "Gradle": 2, "XML": 2, "Java": 7, "JavaScript"... | package sh.foxboy.api.listeners
import net.dv8tion.jda.api.events.message.MessageReceivedEvent
import net.dv8tion.jda.api.hooks.ListenerAdapter
import sh.foxboy.api.command.CommandMap
class MessageListener(private val commandMap: CommandMap) : ListenerAdapter() {
override fun onMessageReceived(event: MessageRec... | 0 | Kotlin | 0 | 4 | 3ac0ca70c7a06594a4b978954226d5e25726932a | 504 | hello-discord | MIT License |
app/src/main/java/com/synrgyacademy/finalproject/ui/ticket/AirportState.kt | Synrgy-Academy-Final-Project | 738,116,027 | false | {"Kotlin": 429514, "Ruby": 1824} | package com.synrgyacademy.finalproject.ui.ticket
import com.synrgyacademy.domain.model.airport.AirportDataModel
import com.synrgyacademy.domain.model.airport.FilterDataModel
import com.synrgyacademy.domain.model.airport.MinimumDataModel
import com.synrgyacademy.domain.model.airport.PromotionsDataModel
import com.synrg... | 0 | Kotlin | 0 | 0 | d7fefca1200efd6eae4a33a34ef0511d90dfd54a | 1,589 | Android | MIT License |
compiler/src/main/kotlin/se/ansman/kotshi/kapt/generators/SealedClassAdapterGenerator.kt | ansman | 95,685,398 | false | null | package se.ansman.kotshi.kapt.generators
import com.squareup.kotlinpoet.ClassName
import com.squareup.kotlinpoet.KModifier
import com.squareup.kotlinpoet.STAR
import com.squareup.kotlinpoet.metadata.isSealed
import com.squareup.kotlinpoet.tag
import kotlinx.metadata.KmClass
import se.ansman.kotshi.JsonDefaultValue
imp... | 2 | Kotlin | 40 | 697 | a82b4e8105d169b948c97dd59d9867a8b9de91cd | 5,117 | kotshi | Apache License 2.0 |
app/src/main/kotlin/io/github/feelfreelinux/wykopmobilny/ui/modules/pm/conversation/ConversationPresenter.kt | feelfreelinux | 97,154,881 | false | null | package io.github.feelfreelinux.wykopmobilny.ui.modules.pm.conversation
import io.github.feelfreelinux.wykopmobilny.api.WykopImageFile
import io.github.feelfreelinux.wykopmobilny.api.pm.PMApi
import io.github.feelfreelinux.wykopmobilny.base.BasePresenter
import io.github.feelfreelinux.wykopmobilny.base.Schedulers
impo... | 47 | Kotlin | 51 | 166 | ec6365b9570818a7ee00c5b512f01cedead30867 | 2,180 | WykopMobilny | MIT License |
src/main/kotlin/AsyncQLiteConnection.kt | ronhombre | 816,502,926 | false | {"Kotlin": 18462} | package asia.hombre.asyncqlitekt
import androidx.sqlite.SQLiteConnection
import androidx.sqlite.execSQL
import androidx.sqlite.use
import java.util.concurrent.LinkedBlockingQueue
import java.util.concurrent.atomic.AtomicBoolean
import kotlin.concurrent.thread
/**
* A wrapper for [SQLiteConnection] to provide asynchr... | 0 | Kotlin | 0 | 0 | ee488dbcc9df784f063e4bc05695ec0ea29fb2bc | 6,346 | asyncqlitekt | Apache License 2.0 |
erc20/api/src/test/kotlin/com/rarible/protocol/erc20/api/End2EndTest.kt | NFTDroppr | 418,665,809 | true | {"Kotlin": 2329156, "Scala": 37343, "Shell": 6001, "HTML": 547} | package com.rarible.protocol.erc20.api
import com.rarible.core.test.ext.EthereumTest
import com.rarible.core.test.ext.MongoTest
import org.springframework.boot.test.autoconfigure.json.AutoConfigureJson
import org.springframework.boot.test.context.SpringBootTest
import org.springframework.test.context.ActiveProfiles
@... | 0 | Kotlin | 0 | 1 | b1efdaceab8be95429befe80ce1092fab3004d18 | 820 | ethereum-indexer | MIT License |
app/src/main/java/com/muhammedesadcomert/fastfood/FastFoodApp.kt | muhammedesadcomert | 535,368,908 | false | {"Kotlin": 39582} | package com.muhammedesadcomert.fastfood
import android.app.Application
import dagger.hilt.android.HiltAndroidApp
@HiltAndroidApp
class FastFoodApp : Application()
| 0 | Kotlin | 0 | 4 | 8b8343d79a783f76aaff9fcd509ae650239986f4 | 165 | FastFood | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.