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/org/blitzortung/android/map/overlay/PopupOverlay.kt | KubaDeX | 49,097,832 | true | {"Kotlin": 220517, "Java": 62} | package org.blitzortung.android.map.overlay
import android.graphics.drawable.Drawable
import android.view.ViewGroup
import android.widget.TextView
import com.google.android.maps.GeoPoint
import com.google.android.maps.ItemizedOverlay
import com.google.android.maps.MapView
import com.google.android.maps.OverlayItem
imp... | 0 | Kotlin | 0 | 0 | 1197dbf9693b588f92ce8bdb1254507274838a8a | 1,716 | bo-android | MIT License |
app/src/main/java/com/example/mymovieapp/activitys/HomeFragment.kt | alpcetinkus | 606,760,722 | false | null | package com.example.mymovieapp.activitys
import android.os.Bundle
import android.util.Log
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.recyclerview.widget.StaggeredGridLayoutManager
import com.example.mymovieapp.R
import... | 0 | Kotlin | 0 | 0 | 2998699e52828ebb8dfd21740877f06431efd381 | 5,592 | MyMovieApp | MIT License |
fluxo-core/src/commonMain/kotlin/kt/fluxo/core/SideEffectsStrategy.kt | fluxo-kt | 566,869,438 | false | null | @file:Suppress("CanSealedSubClassBeObject")
package kt.fluxo.core
import kotlinx.coroutines.channels.Channel
import kotlinx.coroutines.flow.MutableSharedFlow
import kotlinx.coroutines.flow.consumeAsFlow
import kotlinx.coroutines.flow.receiveAsFlow
import kt.fluxo.core.SideEffectsStrategy.RECEIVE
import kt.fluxo.core.... | 0 | Kotlin | 0 | 4 | 0b4ee15e9ce497d53c92fddb41eea5072243c648 | 3,444 | fluxo-mvi | Apache License 2.0 |
src/main/kotlin/org/celtric/kotlin/html/summary.kt | celtric | 121,420,012 | false | null | package org.celtric.kotlin.html
fun summary(
// Global
classes: String? = null,
id: String? = null,
// Custom
other: Attributes = emptyMap(),
data: Attributes = emptyMap(),
// Content
content: () -> Any
) = BlockElement("summary", content(), AllAttributes(mapOf(
"class" to classes... | 1 | Kotlin | 3 | 25 | 70cd501bb534ad84f8c8c3a8f8fb18dddd7054e4 | 510 | kotlin-html | Apache License 2.0 |
examples/src/tl/telegram/upload/UploadWebFile.kt | andreypfau | 719,064,910 | false | {"Kotlin": 62259} | // This file is generated by TLGenerator.kt
// Do not edit manually!
package tl.telegram.upload
import io.github.andreypfau.tl.serialization.Base64ByteStringSerializer
import io.github.andreypfau.tl.serialization.TLCombinatorId
import kotlin.jvm.JvmName
import kotlinx.io.bytestring.ByteString
import kotlinx.serializat... | 0 | Kotlin | 0 | 1 | 11f05ad1f977235e3e360cd6f6ada6f26993208e | 964 | tl-kotlin | MIT License |
common/src/jvmMain/kotlin/com/saveourtool/common/security/CommentPermissionEvaluator.kt | saveourtool | 300,279,336 | false | {"Kotlin": 3428381, "SCSS": 86430, "JavaScript": 9061, "HTML": 8852, "Shell": 2770, "Smarty": 2608, "Dockerfile": 1366} | package com.saveourtool.common.security
import com.saveourtool.common.domain.Role
import com.saveourtool.common.entities.Comment
import com.saveourtool.common.entities.CommentDto
import com.saveourtool.common.permission.Permission
import com.saveourtool.common.utils.hasRole
import org.springframework.security.core.Au... | 201 | Kotlin | 3 | 38 | 8f62e13ee6618a36ad2df7ff15ecfb8019ec19d5 | 1,236 | save-cloud | MIT License |
src/main/kotlin/io/daobab/demo/example/part_c/JoinLeft.kt | daobab-projects | 638,170,318 | false | {"Kotlin": 243943, "HTML": 1652, "Java": 667} | package io.daobab.demo.example.part_c
import io.daobab.demo.DemoApplication
import io.daobab.demo.base.ServiceBase
import io.daobab.demo.example.part_c.JoinLeft
import io.daobab.model.FlatPlate
import io.daobab.statement.join.JoinType
import org.springframework.boot.SpringApplication
import org.springframework.stereot... | 0 | Kotlin | 0 | 0 | 4262bc0412e68ccbd7faaae811f42a0ec041c926 | 1,176 | daobab-100plus-examples-kotlin | Apache License 2.0 |
src/main/kotlin/uk/gov/justice/digital/hmpps/visitscheduler/dto/visitnotification/PrisonerReleasedNotificationDto.kt | ministryofjustice | 409,259,375 | false | {"Kotlin": 1429494, "PLpgSQL": 148899, "FreeMarker": 14114, "Dockerfile": 1541, "Shell": 238} | package uk.gov.justice.digital.hmpps.visitscheduler.dto.visitnotification
import jakarta.validation.constraints.NotBlank
data class PrisonerReleasedNotificationDto(
@NotBlank
val prisonerNumber: String,
@NotBlank
val prisonCode: String,
)
| 0 | Kotlin | 2 | 6 | 9ab9fe6020336f21bf879354326df2fef402abc4 | 249 | visit-scheduler | MIT License |
app/src/main/java/com/frogobox/research/ui/detail/DetailActivity.kt | armorycodes | 556,466,917 | false | null | package com.frogobox.research.ui.detail
import android.content.Intent
import android.os.Bundle
import android.util.Log
import androidx.activity.viewModels
import com.frogobox.research.core.BaseBindActivity
import com.frogobox.research.databinding.ActivityDetailBinding
import com.frogobox.research.util.Constant
import ... | 0 | Kotlin | 0 | 0 | 4d8fd945d79f3eb8e9ed9d7af102df5a24177217 | 2,229 | android-activity-result | Apache License 2.0 |
app/src/main/java/com/zeronesky/kcoolweather/db/County.kt | zyxins | 123,904,974 | false | null | package com.zeronesky.kcoolweather.db
import org.litepal.crud.DataSupport
/**
* Created by zyxins on 05/03/2018.
*/
class County: DataSupport() {
var id: Int = 0
var countyName: String? = ""
var weatherId: String? = ""
var cityId: Int = 0
} | 0 | Kotlin | 0 | 0 | f2e84590dbefe9dbb2463310a052234885cef2f8 | 260 | kcoolweather | Apache License 2.0 |
app/src/main/java/com/catscoffeeandkitchen/fitnessjournal/services/TimerService.kt | allisonjoycarter | 563,490,185 | false | null | package com.catscoffeeandkitchen.fitnessjournal.services
import android.app.*
import android.content.Context
import android.content.Intent
import android.media.MediaPlayer
import android.os.Binder
import android.os.IBinder
import androidx.lifecycle.LifecycleService
import androidx.lifecycle.lifecycleScope
import com.c... | 1 | Kotlin | 0 | 0 | 1c52a737c7d3d55da242719cb1759b166e1182a5 | 2,889 | FitnessJournal | MIT License |
listmaker/app/src/main/java/com/trios2024amdj/listmaker/ui/detail/ui/detail/ListDetailViewModel.kt | dougjasper2013 | 841,438,527 | false | {"Kotlin": 16673} | package com.trios2024amdj.listmaker.ui.detail.ui.detail
import androidx.lifecycle.ViewModel
import com.trios2024amdj.listmaker.models.TaskList
class ListDetailViewModel : ViewModel() {
lateinit var onTaskAdded: (() -> Unit)
lateinit var list: TaskList
fun addTask(task: String) {
list.tasks.add(ta... | 0 | Kotlin | 0 | 0 | 872de5f0fa513132e86d064100fe8b6bca433dc1 | 361 | listmakeram | MIT License |
data/src/main/java/com/mkdev/data/source/TransactionCacheDataSource.kt | msddev | 469,005,380 | false | null | package com.mkdev.data.source
import com.mkdev.data.models.TransactionEntity
import com.mkdev.data.repository.TransactionCache
import com.mkdev.data.repository.TransactionDataSource
import javax.inject.Inject
class TransactionCacheDataSource @Inject constructor(
private val cache: TransactionCache
) : Transaction... | 0 | Kotlin | 0 | 0 | ca6eacd6b5c6e4e612c766cf9b2df45f6b7ed9d0 | 632 | Currency-Exchange | Apache License 2.0 |
fluent-icons-extended/src/commonMain/kotlin/com/konyaco/fluent/icons/regular/TableMoveAbove.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.TableMoveAbove: ImageVector
get() {
if (_tableMoveAbove != ... | 1 | Kotlin | 3 | 83 | 9e86d93bf1f9ca63a93a913c990e95f13d8ede5a | 3,809 | compose-fluent-ui | Apache License 2.0 |
order/src/main/kotlin/dev/yn/restaraunt/user/aggregation/UserAggregation.kt | dgoetsch | 100,337,343 | false | null | /*
* Copyright 2017 Devyn Goetsch
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | 0 | Kotlin | 0 | 5 | afe6b2caba24b2a08347dc508d019a70bdeba10f | 1,899 | akka-vertx-demo | Apache License 2.0 |
app/src/main/java/com/example/georeality/MapFragment.kt | RoopeVaarama | 297,615,110 | false | {"Kotlin": 68378} | package com.example.georeality
import android.Manifest
import android.annotation.SuppressLint
import android.content.Context
import android.content.pm.PackageManager
import android.location.Location
import android.location.LocationManager
import android.os.Build
import android.os.Bundle
import android.util.Log
import ... | 0 | Kotlin | 0 | 0 | 553996945609cc1ce4e8e4008885afd37dd7f77a | 9,871 | GeoReality | Apache License 2.0 |
app/src/main/java/com/mycompany/advioo/api/PinfoAPI.kt | demirelarda | 609,874,629 | false | null | package com.mycompany.advioo.api
import com.mycompany.advioo.models.pinfo.PinfoResponse
import com.mycompany.advioo.util.Util.GET_PINFO
import retrofit2.Response
import retrofit2.http.GET
interface PinfoAPI {
@GET(GET_PINFO)
suspend fun getPinfos(): Response<PinfoResponse>
} | 0 | Kotlin | 0 | 0 | 092240cd5de976186b94312eddf4f03d1c553bfa | 287 | Advioo | FSF All Permissive License |
src/algorithmdesignmanualbook/graph/PrimMinSpanningTree.kt | realpacific | 234,499,820 | false | null | package algorithmdesignmanualbook.graph
import _utils.UseCommentAsDocumentation
/**
* Solution: https://www.programiz.com/dsa/prim-algorithm
*
* Given vertices with weighted edges, from start vertex, chose the edge with min edge such that it doesnt form cycle.
*/
@UseCommentAsDocumentation
fun prim(graph: Array<A... | 4 | null | 5 | 93 | 22eef528ef1bea9b9831178b64ff2f5b1f61a51f | 1,586 | algorithms | MIT License |
core/src/main/java/io/github/thibaultbee/streampack/streamers/interfaces/IFileStreamer.kt | ThibaultBee | 262,623,449 | false | null | /*
* Copyright (C) 2021 <NAME>.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | 5 | Kotlin | 37 | 99 | 3a9af52fd6f34c2dac308ece85a2a38c6d64760e | 908 | StreamPack | Apache License 2.0 |
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/modules/driveTrain/DriveTrain.kt | WoEN239 | 850,255,356 | false | {"Kotlin": 92236, "Java": 48138} | package org.firstinspires.ftc.teamcode.modules.driveTrain
import com.qualcomm.robotcore.hardware.DcMotorEx
import com.qualcomm.robotcore.hardware.DcMotorSimple
import org.firstinspires.ftc.teamcode.collectors.BaseCollector
import org.firstinspires.ftc.teamcode.collectors.IRobotModule
import org.firstinspires.ftc.teamc... | 1 | Kotlin | 0 | 1 | ca7b06e73585bb3a1d65ccd4f604d1d7576f2b86 | 3,519 | IntoTheDeep18742 | BSD 3-Clause Clear License |
app/src/main/java/com/cb/meapps/domain/usecase/GetAdditionalPaymentsUseCase.kt | cbedoy | 871,038,589 | false | {"Kotlin": 170130} | package com.cb.meapps.domain.usecase
import com.cb.meapps.data.repository.AdditionalPaymentsRepository
import com.cb.meapps.data.repository.CardsRepository
import com.cb.meapps.domain.fake.IsFakeDataEnabledUseCase
import com.cb.meapps.domain.fake.getFakeAdditionalPayments
import com.cb.meapps.domain.fake.getFakeCards
... | 0 | Kotlin | 0 | 2 | bdb052be05a4d7583e27e3d7d5105ce1489e54d3 | 1,511 | DayMate | Apache License 2.0 |
app/src/main/java/com/utkarshambassadorfsm/features/damageProduct/api/GetDamageProductListRegRepository.kt | DebashisINT | 702,488,999 | false | {"Kotlin": 13578428, "Java": 995803} | package com.utkarshambassadorfsm.features.damageProduct.api
import android.content.Context
import android.net.Uri
import android.text.TextUtils
import android.util.Log
import com.utkarshambassadorfsm.app.FileUtils
import com.utkarshambassadorfsm.base.BaseResponse
import com.utkarshambassadorfsm.features.NewQuotation.m... | 0 | Kotlin | 0 | 0 | 620e44c4b91351436f99da862ebae19eae8c1eaa | 1,538 | UtkarshClasses | Apache License 2.0 |
app/src/main/java/com/kursx/chart/ui/screen/Input.kt | KursX | 676,468,282 | false | null | package com.kursx.chart.ui.screen
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.text.KeyboardActions
import androidx.compose.foundation.text.KeyboardOptions
import androidx.com... | 0 | Kotlin | 0 | 0 | 065d6fb5275ab614ef4ebd70225fa8d75cfc052a | 3,149 | points_demo | Apache License 2.0 |
src/main/kotlin/com/sbl/sulmun2yong/survey/domain/reward/NotStartedDrawSetting.kt | SUIN-BUNDANG-LINE | 819,257,518 | false | {"Kotlin": 349771} | package com.sbl.sulmun2yong.survey.domain.reward
/** 시작 전 상태의 불완전한 리워드 지급 설정 */
data class NotStartedDrawSetting(
override val type: RewardSettingType,
override val rewards: List<Reward>,
override val targetParticipantCount: Int?,
override val finishedAt: FinishedAt?,
) : RewardSetting
| 0 | Kotlin | 1 | 3 | e2203ff721fcde4bcdcc7e21b8aeb0c849dae17d | 304 | Backend | MIT License |
data/models/src/commonMain/kotlin/dev/avatsav/linkding/data/model/Errors.kt | avatsav | 576,855,763 | false | {"Kotlin": 255958, "Swift": 2031} | package dev.avatsav.linkding.data.model
data class BookmarkError(val message: String)
sealed class AuthError(open val message: String) {
data class InvalidHostname(override val message: String) : AuthError(message)
data class InvalidApiKey(override val message: String) : AuthError(message)
data class Othe... | 2 | Kotlin | 0 | 9 | 73518b1652503edc4ba4323922281bc616a6be8f | 375 | linkding-apps | MIT License |
BLEApplication/app/src/main/java/com/demo/bleapplication/ble/BluetoothServer.kt | Zz-m | 82,144,524 | false | {"Text": 9, "Markdown": 10, "C++": 6, "CMake": 4, "C": 26, "Ignore List": 40, "XML": 136, "Maven POM": 31, "Java": 215, "Makefile": 2, "CSS": 56, "JavaScript": 31, "JSON with Comments": 16, "JSON": 57, "EditorConfig": 7, "Browserslist": 7, "HTML": 47, "SVG": 2, "Gradle": 12, "Shell": 5, "Batchfile": 5, "INI": 6, "Groov... | package com.demo.bleapplication.ble
import android.annotation.SuppressLint
import android.bluetooth.BluetoothGattService
import android.bluetooth.BluetoothManager
import android.bluetooth.le.AdvertiseData
import android.bluetooth.le.AdvertiseSettings
import android.content.Context
import android.os.Build
import androi... | 0 | Java | 0 | 0 | 9722d96d2689d57091ced32eff288c9c8c1e0503 | 3,919 | Practice-collection | MIT License |
pop-miners/altchain-pop-miner/src/main/kotlin/org/veriblock/miners/pop/serialization/MessageSerializer.kt | VeriBlock | 179,742,374 | false | null | // VeriBlock Blockchain Project
// Copyright 2017-2018 VeriBlock, Inc
// Copyright 2018-2021 <NAME>
// All rights reserved.
// https://www.veriblock.org
// Distributed under the MIT software license, see the accompanying
// file LICENSE or http://www.opensource.org/licenses/mit-license.php.
package org.veriblock.miner... | 72 | null | 16 | 12 | ef06c51c1410ba59da13403b65e367b21dcfed21 | 6,813 | nodecore | MIT License |
src/main/kotlin/dev/epicsquid/superiorshields/capability/SuperiorShieldCapProvider.kt | EpicSquid | 153,854,411 | false | null | package dev.epicsquid.superiorshields.capability
import dev.epicsquid.superiorshields.registry.CapabilityRegistry
import net.minecraft.core.Direction
import net.minecraft.nbt.CompoundTag
import net.minecraftforge.common.capabilities.Capability
import net.minecraftforge.common.capabilities.ICapabilityProvider
import ne... | 8 | Kotlin | 7 | 7 | 22f893a47e82493cbd02bd7c41b5c747ba9b7cbb | 931 | SuperiorShields | MIT License |
android/app/src/main/java/com/francesco/montano/notify/MainActivity.kt | Monti03 | 240,569,383 | false | null | package com.francesco.montano.notify
import android.os.Bundle
import com.google.android.material.snackbar.Snackbar
import androidx.appcompat.app.AppCompatActivity
import android.view.Menu
import android.view.MenuItem
import kotlinx.android.synthetic.main.activity_main.*
import android.content.Context.MODE_PRIVATE
imp... | 3 | Kotlin | 0 | 1 | 37895872fe7584f241f9232c536fdcdc22c47571 | 6,770 | Notify | MIT License |
walletlibrary/src/main/java/com/microsoft/walletlibrary/util/http/httpagent/IResponse.kt | microsoft | 567,422,889 | false | {"Kotlin": 1390274} | package com.microsoft.walletlibrary.util.http.httpagent
class IResponse(
val status: Int,
val headers: Map<String, String>,
val body: ByteArray
) | 13 | Kotlin | 8 | 20 | b31d71b53baef4e1390a4f85f0c80bba3ae35702 | 158 | entra-verifiedid-wallet-library-android | MIT License |
app/src/main/java/com/hulusimsek/cryptoapp/data/repository/CryptoRepositoryImp.kt | hulusimsek | 841,740,788 | false | {"Kotlin": 115100} | package com.hulusimsek.cryptoapp.data.repository
import com.hulusimsek.cryptoapp.data.database.entity.SearchQuery
import com.hulusimsek.cryptoapp.data.remote.dto.Crypto
import com.hulusimsek.cryptoapp.data.remote.dto.CryptoItem
import com.hulusimsek.cryptoapp.data.remote.dto.CryptoList
import com.hulusimsek.cryptoapp.... | 0 | Kotlin | 0 | 0 | 66d49b82a178a8d29a8585d0ab5633e4256a1205 | 1,806 | Cointograf | MIT License |
src/main/kotlin/dev/programadorthi/migration/visitor/SyntheticReferenceRecursiveVisitor.kt | programadorthi | 598,366,528 | false | null | package dev.programadorthi.migration.visitor
import android.databinding.tool.ext.parseXmlResourceReference
import android.databinding.tool.ext.toCamelCaseAsVar
import com.intellij.psi.PsiElement
import com.intellij.psi.PsiReference
import com.intellij.psi.xml.XmlAttribute
import com.intellij.psi.xml.XmlAttributeValue
... | 0 | Kotlin | 0 | 17 | ac0bdfd1add6d6c37d8eebf96666833f259e910c | 15,495 | synthetic-to-viewbinding | MIT License |
app/src/main/java/com/biolumeaccessfsm/features/login/model/productlistmodel/ProductListResponseModel.kt | DebashisINT | 740,453,031 | false | {"Kotlin": 13980759, "Java": 1001438} | package com.biolumeaccessfsm.features.login.model.productlistmodel
import com.biolumeaccessfsm.app.domain.ProductListEntity
import com.biolumeaccessfsm.base.BaseResponse
/**
* Created by Saikat on 20-11-2018.
*/
class ProductListResponseModel : BaseResponse() {
//var product_list: ArrayList<ProductListDataModel... | 0 | Kotlin | 0 | 0 | 1a51f3bdcf8e79c9ef523846fb89fcfb6072bbb4 | 390 | BIOLUMESKINSCIENCE | Apache License 2.0 |
sample/src/main/java/com/decathlon/design/sample/components/screens/resources/icons/IconsFragment.kt | Decathlon | 353,745,954 | false | {"Kotlin": 63972} | package com.decathlon.design.sample.components.screens.resources.icons
import androidx.lifecycle.LiveData
import androidx.navigation.fragment.findNavController
import com.decathlon.design.sample.R
import com.decathlon.design.sample.components.screens.resources.common.AbstractResourcesFragment
import com.decathlon.desi... | 7 | Kotlin | 18 | 74 | 11b7df97d3b9f2f1110cc56f4669007375b621da | 709 | vitamin-android | Apache License 2.0 |
src/HelloWorld.kt | saugatlamichhane | 700,642,753 | false | {"Kotlin": 6362} | fun main() {
//use println() for output with endline
//can use just println() for a single empty line output
//use print() for printing a line without endline
println("Hello World!")
println()
print("from ")
println("Nepal")
}
| 0 | Kotlin | 0 | 0 | 6c33b6425ca67be0ec70381f410a3b277b43414f | 256 | LearnKotlin | MIT License |
shared/src/commonMain/kotlin/util/KermitLogging.kt | OlayG | 662,705,249 | false | null | package util
import co.touchlab.kermit.Logger
import org.koin.core.component.KoinComponent
import org.koin.core.component.get
import org.koin.core.module.Module
import org.koin.core.parameter.parametersOf
import org.koin.core.scope.Scope
/**
* Setup default logger with koin.
*
* @param baseLogger
*/
fun Module.ke... | 0 | Kotlin | 0 | 0 | 3202ccf478b03ef42dd869d0af6f825abffb1a89 | 996 | KMM-AlbumViewer | Apache License 2.0 |
app/src/main/java/com/boolder/boolder/view/contribute/ContributeFragment.kt | boolder-org | 566,723,758 | false | {"Kotlin": 485650} | package com.boolder.boolder.view.contribute
import android.content.Intent
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.compose.ui.platform.ComposeView
import androidx.core.net.toUri
import androidx.fragment.app.Fragment
import com.bo... | 8 | Kotlin | 11 | 23 | fcd50ffbe2510764b911257862409038c18dde35 | 1,440 | boolder-android | MIT License |
feature/home/favorites/src/main/java/com/uragiristereo/mikansei/feature/home/favorites/favgroup/new/core/NewFavGroupTopAppBar.kt | uragiristereo | 583,834,091 | false | {"Kotlin": 978568} | package com.uragiristereo.mikansei.feature.home.favorites.favgroup.new.core
import androidx.compose.material.Icon
import androidx.compose.material.IconButton
import androidx.compose.material.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.res.painterResour... | 3 | Kotlin | 2 | 62 | 4f136b0479ee7772f3d7ba48927cef9389d5c2be | 1,109 | Mikansei | Apache License 2.0 |
src/backend/job/biz-job/src/main/kotlin/com/tencent/bkrepo/job/config/properties/ProjectRepoMetricsStatJobProperties.kt | TencentBlueKing | 548,243,758 | false | {"Kotlin": 13657594, "Vue": 1261332, "JavaScript": 683823, "Shell": 124343, "Lua": 100415, "SCSS": 34137, "Python": 25877, "CSS": 17382, "HTML": 13052, "Dockerfile": 4483, "Smarty": 3661, "Java": 423} | package com.tencent.bkrepo.job.config.properties
open class ProjectRepoMetricsStatJobProperties : MongodbJobProperties() {
val ignoreArchiveProjects: MutableList<String> = ArrayList()
}
| 363 | Kotlin | 38 | 70 | 54b0c7ab20ddbd988387bac6c9143b594681e73c | 191 | bk-repo | MIT License |
components-core/src/test/java/com/adyen/checkout/components/core/paymentmethod/TwintPaymentMethodTest.kt | Adyen | 91,104,663 | false | {"Kotlin": 4787892, "Shell": 4706} | package com.adyen.checkout.components.core.paymentmethod
import org.json.JSONObject
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Test
internal class TwintPaymentMethodTest {
@Test
fun `when serializing, then all fields should be serialized correctly`() {
val reque... | 22 | Kotlin | 66 | 126 | c45a6ee4d2039163ae075436a9d1231ffcb16f5c | 1,570 | adyen-android | MIT License |
src/testData/jvm/expression/call/call8/ProviderCall8.kt | XYZboom | 767,934,164 | false | {"Kotlin": 1241229, "Java": 26268} | package expression.call.call8
class ProviderCall8 {
/*<target>*/fun func() {
}/*<target/>*/
} | 0 | Kotlin | 0 | 0 | 6b7dab23cd8af5c94edcf6888050be89cf4acbdc | 103 | psi-reference-extractor | Apache License 2.0 |
lib/src/main/java/dev/tunnicliff/replace_me/Example.kt | Brent-Tunnicliff | 750,803,978 | false | {"Kotlin": 7019} | package dev.tunnicliff.replace_me
class Example {
companion object {
const val VALUE = "Hello world!"
}
} | 0 | Kotlin | 0 | 0 | 7c9dffc0234916451bee3fb9e77d944860e9193f | 122 | template-lib-android | MIT License |
adaptive-core/src/commonMain/kotlin/fun/adaptive/foundation/util.kt | spxbhuhb | 788,711,010 | false | {"Kotlin": 2273072, "Java": 24502, "HTML": 7707, "JavaScript": 3880, "Shell": 687} | package `fun`.adaptive.foundation
fun AdaptiveAdapter.dumpFragmentTree(): String =
rootFragment.dumpFragmentTree()
fun AdaptiveFragment.dumpFragmentTree(indent: String = ""): String {
val lines = mutableListOf<String>()
lines += indent + this.toString()
for (child in children) {
lines += child... | 33 | Kotlin | 0 | 3 | 98e84716b9a2e3713b70b64c36bfaeecbab397d0 | 394 | adaptive | Apache License 2.0 |
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/frauddetector/CfnEntityTypeDsl.kt | F43nd1r | 643,016,506 | false | null | package com.faendir.awscdkkt.generated.services.frauddetector
import com.faendir.awscdkkt.AwsCdkDsl
import javax.`annotation`.Generated
import kotlin.String
import kotlin.Unit
import software.amazon.awscdk.services.frauddetector.CfnEntityType
import software.amazon.awscdk.services.frauddetector.CfnEntityTypeProps
impo... | 1 | Kotlin | 0 | 0 | e08d201715c6bd4914fdc443682badc2ccc74bea | 916 | aws-cdk-kt | Apache License 2.0 |
app/src/main/java/io/betterapps/graysky/MainActivity.kt | raychenon | 290,579,350 | false | null | package io.betterapps.graysky
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.location.Location
import android.os.Bundle
import android.view.Menu
import android.view.MenuItem
import android.widget.Toast
import androidx.appcompat.app.AlertDialog
import androidx.ap... | 5 | Kotlin | 1 | 1 | a99094c666a56640c947b0b0b65e654f0caacf37 | 9,148 | gray-sky-weather | Apache License 2.0 |
src/twentytwentytwo/day13/Day13.kt | colinmarsch | 571,723,956 | false | null | package day13
import readInput
fun main() {
fun part1(input: List<String>): Int {
var total = 0
input.chunked(3).forEachIndexed { index, pair ->
val left = parse(pair[0])
val right = parse(pair[1])
if (inOrder(left, right)) {
total += index + 1
... | 0 | Kotlin | 0 | 0 | 423bb0fa53c42169b62b8a5ee792032dd1477280 | 3,145 | advent-of-code-kotlin-2022 | Apache License 2.0 |
shared/src/commonMain/kotlin/com.yunext.twins/ui/page/device/TwinsDevicePage.kt | LaputaZeej | 665,861,090 | false | null | package com.yunext.twins.ui.page.device
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.interaction.MutableInteractionSource
import androidx.compose.foundation.layout.Box
import androidx.compose.found... | 0 | Kotlin | 0 | 0 | 9d6daea9fa00a172dca17a317854da8ea12b46ea | 12,416 | XComposer | Apache License 2.0 |
src/main/kotlin/de/debuglevel/monitoring/monitors/TcpMonitor.kt | debuglevel | 151,229,232 | false | null | package de.debuglevel.monitoring.monitors
import de.debuglevel.monitoring.ServiceState
import de.debuglevel.monitoring.monitoring.Monitoring
import mu.KotlinLogging
import java.net.*
class TcpMonitor : Monitor {
private val logger = KotlinLogging.logger {}
override fun isValid(url: String): Boolean {
... | 0 | Kotlin | 0 | 0 | e82a562af83b39c4b83835360473b34765abe1fe | 1,963 | monitoring-microservice | The Unlicense |
theme-controller/src/main/java/com/vkondrav/ram/theme/controller/usecase/ToggleThemeUseCase.kt | vkondrav | 481,052,423 | false | null | package com.vkondrav.ram.theme.controller.usecase
import com.vkondrav.ram.theme.controller.core.ThemeController
class ToggleThemeUseCase(
private val themeController: ThemeController,
) {
operator fun invoke() {
themeController.toggleTheme()
}
}
| 0 | Kotlin | 1 | 0 | 78c466563652800d8001a58504a533b764507461 | 268 | rick_and_morty_compose | MIT License |
src/main/kotlin/marais/vibin/App.kt | Gui-Yom | 312,903,100 | false | null | package marais.vibin
import kotlinx.serialization.decodeFromString
import kotlinx.serialization.json.Json
import uk.co.caprica.vlcj.factory.MediaPlayerFactory
import uk.co.caprica.vlcj.player.base.MediaPlayer
import uk.co.caprica.vlcj.player.base.MediaPlayerEventAdapter
import uk.co.caprica.vlcj.player.component.Embed... | 0 | Kotlin | 0 | 2 | 247c475288149a0b0277dabc2a00df4e3ef87392 | 4,691 | vibin | Apache License 2.0 |
app/src/main/kotlin/de/nanogiants/a5garapp/model/entities/domain/NearbyPOI.kt | 5GAR-Hackathon | 283,319,676 | false | null | package de.nanogiants.a5garapp.model.entities.domain
import com.squareup.moshi.JsonClass
@JsonClass(generateAdapter = true)
data class NearbyPOI(
override val id: Int,
override val name: String,
override val description: String,
override val tags: List<Tag>,
override val coordinates: Coordinates,
override... | 0 | Kotlin | 0 | 1 | c672c4b0353ca3c27d06268c27ae49b5252dc848 | 662 | 5g-ar-hackathon-app-android | MIT License |
moviedb/src/main/java/com/santimattius/moviedb/network/model/Tv.kt | santimattius | 295,560,177 | false | null | package com.santimattius.moviedb.network.model
import com.squareup.moshi.Json
private const val BASE_IMAGE_URL = "https://image.tmdb.org/t/p/w500"
data class Tv(
@Json(name = "id")
val id: Int = 0,
@Json(name = "first_air_date")
val firstAirDate: String = "",
@Json(name = "overview")
val over... | 0 | Kotlin | 0 | 4 | 75083390066ad4850d94bb7f3e6af5e19511407c | 1,097 | android-sample-paging | Apache License 2.0 |
HIGOODS-Infra/src/main/kotlin/com/higoods/infra/config/slack/SlackProperties.kt | higoods-hongik | 663,934,695 | false | {"Kotlin": 324199, "Dockerfile": 291} | package com.higoods.infra.config.slack
import org.springframework.boot.context.properties.ConfigurationProperties
import org.springframework.boot.context.properties.ConstructorBinding
@ConfigurationProperties(prefix = "slack")
@ConstructorBinding
data class SlackProperties(
val webhook: SlackSecret
) {
data c... | 4 | Kotlin | 0 | 1 | 5cc4812aa57ce6706e62bc1566eccb7c02a01c82 | 458 | HIGOODS-Backend | MIT License |
appupdatewrapper/src/main/java/com/motorro/appupdatewrapper/UpdateFlowBreaker.kt | dev-mgkaung | 302,810,342 | true | {"Kotlin": 118087} | /*
* Copyright 2019 <NAME> (motorro).
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in w... | 0 | null | 0 | 0 | 726b233cb16372b0138cae73edd1f0abdecfe1ee | 5,254 | AppUpdateWrapper | Apache License 2.0 |
app/src/main/java/me/robbin/wanandroid/ui/fragment/me/viewmodel/ProjectViewModel.kt | ModestoMa | 278,850,144 | false | null | package me.robbin.wanandroid.ui.fragment.me.viewmodel
import androidx.lifecycle.MutableLiveData
import androidx.paging.PagingData
import kotlinx.coroutines.flow.Flow
import me.robbin.wanandroid.ui.fragment.common.viewmodel.BaseArticlesViewModel
import me.robbin.wanandroid.api.ApiService
import me.robbin.wanandroid.mod... | 1 | Kotlin | 1 | 21 | e8808e53b6a26110ea3e5d4e710a62545b237b0d | 1,122 | WanAndroidMVVM | Apache License 2.0 |
plugin-dotnet-agent/src/main/kotlin/jetbrains/buildServer/dotcover/report/BundledDotCover.kt | JetBrains | 49,584,664 | false | {"Kotlin": 2624677, "C#": 319161, "Java": 95520, "Dockerfile": 831, "CSS": 123} | package jetbrains.buildServer.dotcover.report
import jetbrains.buildServer.agent.BundledToolsRegistry
import jetbrains.buildServer.dotnet.CoverageConstants
import jetbrains.buildServer.util.FileUtil
import java.io.File
class BundledDotCover(private val _registry: BundledToolsRegistry) {
val dotCoverPath: File?
... | 3 | Kotlin | 25 | 94 | 9665e2ac5c4e70b3b50b95275346cce1f95574d5 | 569 | teamcity-dotnet-plugin | Apache License 2.0 |
src/main/kotlin/com/unscrambler/controllers/WordController.kt | blrB | 93,422,946 | false | null | package com.unscrambler.controllers
import com.unscrambler.models.Word
import com.unscrambler.models.getLanguageByString
import com.unscrambler.services.WordService
import org.springframework.web.bind.annotation.*
@RestController
class WordController(val wordService: WordService) {
@RequestMapping(value = "{lang... | 0 | Kotlin | 0 | 0 | 225fa64c1b4da63db237ebce81b250cf39996304 | 569 | UnscramblerWord | The Unlicense |
kukot/src/main/java/com/abohomol/kukot/user/RetrofitUserProfileRepository.kt | abohomol | 138,405,695 | false | null | package com.abohomol.kukot.user
import com.abohomol.kukot.network.BaseRepository
import io.reactivex.Single
import io.reactivex.android.schedulers.AndroidSchedulers
import io.reactivex.schedulers.Schedulers
class RetrofitUserProfileRepository(
private val profileService: ProfileService,
secret: String... | 0 | Kotlin | 2 | 11 | 73576cd218506ee8bde52cae65a6a727470c5f0a | 756 | kukot | Apache License 2.0 |
common/resources/src/main/java/com/juzabel/composables/CommonComposables.kt | juzabel | 810,698,846 | false | {"Kotlin": 42936} | package com.juzabel.composables
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.width
import androidx.compose.material3.CircularProgressIndicator
import androidx.compose.material3.MaterialTheme
import androidx.compose.materia... | 0 | Kotlin | 0 | 0 | 36739eba94bd163c989d6e336e3dadb020a9731e | 1,225 | user-list-test | MIT License |
browser-kotlin/src/jsMain/kotlin/web/gpu/GPUStoreOp.kt | karakum-team | 393,199,102 | false | {"Kotlin": 6272741} | // Automatically generated - do not modify!
package web.gpu
import seskar.js.JsValue
sealed external interface GPUStoreOp {
companion object {
@JsValue("store")
val store: GPUStoreOp
@JsValue("discard")
val discard: GPUStoreOp
}
}
| 0 | Kotlin | 8 | 36 | 95b065622a9445caf058ad2581f4c91f9e2b0d91 | 275 | types-kotlin | Apache License 2.0 |
library/src/main/java/com/afollestad/aesthetic/views/AestheticNavigationView.kt | weidiaoxiang | 149,248,717 | true | {"Kotlin": 170261} | /*
* Licensed under Apache-2.0
*
* Designed and developed by <NAME> (@afollestad)
*/
package com.afollestad.aesthetic.views
import android.annotation.SuppressLint
import android.content.Context
import android.content.res.ColorStateList
import android.graphics.Color
import android.graphics.drawable.ColorDrawable
im... | 0 | Kotlin | 0 | 0 | 867080a54b5afcf9526e6d1f072a295cad79ecb8 | 4,090 | aesthetic | Apache License 2.0 |
src/main/kotlin/net/bjoernpetersen/deskbot/lifecycle/Lifecyclist.kt | BjoernPetersen | 89,800,914 | false | null | package net.bjoernpetersen.deskbot.lifecycle
import com.google.inject.Guice
import com.google.inject.Injector
import com.google.inject.Module
import javafx.application.Platform
import javafx.concurrent.Task
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.GlobalS... | 21 | Kotlin | 1 | 1 | c66cdad693ae982d51780d3a9dbee5c1b1909820 | 17,386 | MusicBot-desktop | MIT License |
app/src/main/java/com/kevalpatel2106/yip/edit/EditDeadlineActivity.kt | kevalpatel2106 | 166,789,807 | false | null | package com.kevalpatel2106.yip.edit
import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.view.Menu
import android.view.MenuItem
import androidx.activity.viewModels
import androidx.appcompat.app.AppCompatActivity
import androidx.core.widget.doAfterTextChanged
import andro... | 0 | Kotlin | 1 | 16 | 61311ba7d40802ba7fed87b2f16b72089c6f7746 | 6,843 | year-in-progress | Apache License 2.0 |
app/src/main/java/pl/elpassion/cloudtimer/base/CloudTimerActivity.kt | elpassion | 50,499,984 | false | null | package pl.elpassion.cloudtimer.base
import android.support.v7.app.AppCompatActivity
open class CloudTimerActivity : AppCompatActivity() | 17 | Kotlin | 0 | 2 | 8b5d5af736356aa707d417cb219a75ea076d539b | 138 | cloud-timer-android | Apache License 2.0 |
app/src/test/java/com/amitranofinzi/vimata/data/dao/UserDaoTest.kt | Ggino11 | 788,949,158 | false | {"Kotlin": 399279} | package com.amitranofinzi.vimata.data.dao
import com.amitranofinzi.vimata.data.dao.UserDao
import com.amitranofinzi.vimata.data.model.User
import kotlinx.coroutines.runBlocking
import org.junit.Assert.assertEquals
import org.junit.Assert.assertNull
import org.junit.Before
import org.junit.Test
import org.mockito.Mocki... | 0 | Kotlin | 0 | 0 | e864fc070b7343394457425601c7e276968a2ca6 | 4,520 | ProgettoAmitranoFinzi-progMob | MIT License |
androidDemo/src/test/java/com/zachklipp/seqdiag/demo/DemoTest.kt | zach-klippenstein | 578,426,759 | false | {"Kotlin": 97672, "Shell": 383} | package com.zachklipp.seqdiag.demo
import androidx.compose.ui.test.assertIsDisplayed
import androidx.compose.ui.test.junit4.createAndroidComposeRule
import androidx.compose.ui.test.onNodeWithText
import androidx.test.ext.junit.runners.AndroidJUnit4
import org.junit.Rule
import org.junit.Test
import org.junit.runner.Ru... | 1 | Kotlin | 1 | 60 | 8ea350740ac929cc8e3b3ed95ff42e56db315dbe | 552 | compose-seqdiag | Apache License 2.0 |
app/src/main/java/emu/cosmic/data/Permissions.kt | shadergz | 664,406,301 | false | {"C++": 360624, "Kotlin": 52114, "CMake": 5937} | package emu.cosmic.data
import android.Manifest
class Permissions(val permissions: Array<String>) {
companion object {
val storageAccess = Permissions(arrayOf(Manifest.permission.MANAGE_EXTERNAL_STORAGE))
}
} | 10 | C++ | 5 | 192 | d960de0b62a4637f8a2368ee1e5f0c5f69a95ef4 | 226 | cosmic-station | MIT License |
app/src/main/java/com/nb/daggermvvmdemo/extensions/Extenstions.kt | jayshah3893 | 219,512,909 | false | null | package com.nb.daggermvvmdemo.extensions
import android.app.Activity
import android.util.Log
import android.widget.Toast
import androidx.annotation.StringRes
import androidx.fragment.app.Fragment
import com.nb.daggermvvmdemo.App.Companion.getAppInstance
import com.nb.daggermvvmdemo.R
fun Activity.toast(msg: String) =... | 0 | Kotlin | 0 | 1 | c9211ab7f6c203421a712a5da05e0f5dc505916a | 759 | MVVM-Dagger-Retrofit-Rxjava2-Demo | MIT License |
components-core/src/main/java/com/adyen/checkout/components/core/internal/ui/PermissionRequestingDelegate.kt | Adyen | 91,104,663 | false | {"Kotlin": 4787892, "Shell": 4706} | /*
* Copyright (c) 2024 <NAME>.
*
* This file is open source and available under the MIT license. See the LICENSE file for more info.
*
* Created by ararat on 8/1/2024.
*/
package com.adyen.checkout.components.core.internal.ui
import androidx.annotation.RestrictTo
import com.adyen.checkout.components.core.inter... | 22 | Kotlin | 66 | 126 | c45a6ee4d2039163ae075436a9d1231ffcb16f5c | 523 | adyen-android | MIT License |
app/src/main/java/app/eluvio/wallet/data/AspectRatio.kt | eluv-io | 719,801,077 | false | {"Kotlin": 748789, "Java": 22753} | package app.eluvio.wallet.data
object AspectRatio {
const val SQUARE = 1f
const val WIDE = 16f / 9f // A.K.A. "Landscape"
const val POSTER = 2f / 3f // A.K.A. "Portrait"
fun parse(aspectRatioString: String?): Float? {
return when (aspectRatioString) {
"Square" -> SQUARE
... | 8 | Kotlin | 1 | 0 | d9fc4a936b1b8c0186812fc75faaaf6ffbcec7f5 | 435 | elv-wallet-android | MIT License |
data/src/main/java/dev/mslalith/focuslauncher/data/di/modules/DtoMapperModule.kt | mslalith | 453,114,601 | false | null | package dev.mslalith.focuslauncher.data.di.modules
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import dev.mslalith.focuslauncher.data.database.dao.AppsDao
import dev.mslalith.focuslauncher.data.database.dao.QuotesDao
import dev.mslalith.focu... | 8 | Kotlin | 5 | 40 | 3298e2505e9f3eb6f8760b603586bd8c60d065e4 | 2,321 | focus_launcher | Apache License 2.0 |
library/src/commonMain/kotlin/com/ioki/passenger/api/models/ApiPersonalDiscountTypeResponse.kt | ioki-mobility | 838,801,042 | false | {"Kotlin": 344735} | package com.ioki.passenger.api.models
import kotlinx.datetime.LocalDate
import kotlinx.serialization.ExperimentalSerializationApi
import kotlinx.serialization.KSerializer
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import kotlinx.serialization.builtins.nullable
import kotlinx.seri... | 4 | Kotlin | 0 | 1 | 0a4bf35a2bdb523b9f705712cb35577f1664b76b | 2,813 | kmp-passenger-api | MIT License |
app/src/main/kotlin/com/simplemobiletools/calendar/pro/dialogs/ExportEventsDialog.kt | GiridharanS1729 | 724,120,449 | false | {"Kotlin": 796515, "Ruby": 909} | package com.simplemobiletools.calendar.pro.dialogs
import androidx.appcompat.app.AlertDialog
import com.simplemobiletools.calendar.pro.R
import com.simplemobiletools.calendar.pro.activities.SimpleActivity
import com.simplemobiletools.calendar.pro.adapters.FilterEventTypeAdapter
import com.simplemobiletools.calendar.pr... | 0 | Kotlin | 0 | 1 | 2e539105f60e2bb7eda892f458619789918f0361 | 5,321 | Event_Calendar | MIT License |
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/broken/Discover.kt | Tlaster | 560,394,734 | false | {"Kotlin": 25133302} | package moe.tlaster.icons.vuesax.vuesaxicons.broken
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 | 2,321 | VuesaxIcons | MIT License |
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/outline/Grid1.kt | Tlaster | 560,394,734 | false | {"Kotlin": 25133302} | package moe.tlaster.icons.vuesax.vuesaxicons.outline
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx... | 0 | Kotlin | 0 | 2 | b8a8231e6637c2008f675ae76a3423b82ee53950 | 5,149 | VuesaxIcons | MIT License |
app/src/main/java/com/github/kuya32/chitchat/core/presentation/MainActivity.kt | kuya32 | 422,393,629 | false | {"Kotlin": 174412} | package com.github.kuya32.chitchat.core.presentation
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material.ExperimentalMaterialApi
import androidx.compose.material.MaterialTh... | 0 | Kotlin | 0 | 0 | dc05a0f479d286cd3eb066f31a30d92f8fc35434 | 2,411 | Chit-Chat | MIT License |
shared/src/commonMain/kotlin/feature_detail/data/remote/dto/watchProvider/WatchProvidersDto.kt | tolgaprm | 712,824,422 | false | {"Kotlin": 281188, "Swift": 657, "Shell": 228} | package feature_detail.data.remote.dto.watchProvider
import kotlinx.serialization.Serializable
@Serializable
data class WatchProvidersDto(
val results: WatchProviderRegionDto?
) | 2 | Kotlin | 0 | 0 | 1bf08352171b694b04a5cc702cf5dfaa7bd4073f | 183 | MovaApp-compose-multiplatform | Apache License 2.0 |
src/main/kotlin/net/mt32/expoll/entities/User.kt | Universumgames | 508,613,455 | false | {"Kotlin": 257520, "TSQL": 5917, "Dockerfile": 2077, "Shell": 1946} | package net.mt32.expoll.entities
import com.yubico.webauthn.data.ByteArray
import io.ktor.util.*
import net.mt32.expoll.config
import net.mt32.expoll.database.DatabaseEntity
import net.mt32.expoll.database.UUIDLength
import net.mt32.expoll.entities.notifications.APNDevice
import net.mt32.expoll.entities.notifications.... | 0 | Kotlin | 1 | 0 | 9411f9bc6b226dacbb4f9bed01827a52622ac94d | 12,723 | expoll_server | MIT License |
app/src/main/java/com/comicreader/comicray/ui/fragments/read/controller/ReadController.kt | Comic-Ray | 399,188,798 | false | null | package com.comicreader.comicray.ui.fragments.read.controller
import com.airbnb.epoxy.EpoxyController
import com.comicreader.comicray.data.models.BookType
import com.comicreader.comicray.epoxyModels.readImage
import java.util.concurrent.CopyOnWriteArrayList
class ReadController : EpoxyController() {
private val ... | 0 | Kotlin | 1 | 0 | 86ccfe98a883a8e16f0f2d87f00c1bb05b2c9bf1 | 835 | comicray-android | Apache License 2.0 |
app/src/main/java/com/hardiktrivedi/letthemusicplay/detail/TrackListAdapter.kt | hardik-trivedi | 381,812,894 | false | null | package com.hardiktrivedi.letthemusicplay.detail
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.ListAdapter
import androidx.recyclerview.widget.RecyclerView
import com.hardiktrivedi.letthemusicplay.data.model.Track
impor... | 0 | Kotlin | 0 | 0 | 7d8d9776fe14477017aa0a749a7e617de5794948 | 1,789 | LetTheMusicPlay | Apache License 2.0 |
src/main/kotlin/br/com/zup/edu/pix/exceptions/ChavePixExistenteException.kt | victorsimiao | 397,702,881 | true | {"Kotlin": 80556} | package br.com.zup.edu.pix.exceptions
import java.lang.RuntimeException
class ChavePixExistenteException(message:String?): RuntimeException(message) {
} | 0 | Kotlin | 0 | 0 | e9048ebf0ca5c3a360a7efe199452c9a6ee29c95 | 154 | orange-talents-06-template-pix-keymanager-grpc | Apache License 2.0 |
src/main/kotlin/exercises/linkedlist/LinkedList.kt | edgardobarriam | 829,169,780 | false | {"Kotlin": 25858} | package exercises.linkedlist
class LinkedList<T> {
var head : Node<T>? = null
fun insertFirst(value : T) {
this.head = Node(value, this.head)
}
fun size(): Int {
var node = this.head
var size = 0
while (node != null) {
size++
node = node.next
}
return size
}
fun getFi... | 0 | Kotlin | 0 | 0 | facf3174a8a0665f9d182e5ded60d8ae19548ce4 | 2,054 | algo-kasts | Apache License 2.0 |
app/src/main/java/com/nafanya/mp3world/features/albums/AlbumListManager.kt | AlexSoWhite | 445,900,000 | false | null | package com.nafanya.mp3world.features.albums
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.map
import com.nafanya.mp3world.core.coroutines.IOCoroutineProvider
import com.nafanya.mp3world.core.listManagers.ListManager
import com.nafanya.mp3world.core.mediaStore.M... | 0 | Kotlin | 0 | 0 | 480fa9c16460890d393ece7c8aa2466c031d8f78 | 2,505 | mp3world | MIT License |
library/src/commonMain/kotlin/net/freshplatform/ktor_server/firebase_app_check/service/FirebaseAppCheckTokenVerifierService.kt | freshplatform | 704,895,371 | false | {"Kotlin": 60653, "Shell": 64} | package net.freshplatform.ktor_server.firebase_app_check.service
import net.freshplatform.ktor_server.firebase_app_check.service.jwt.DecodedJwt
import kotlin.time.Duration
import kotlin.time.Duration.Companion.hours
/**
* Configuration data class for fetching Firebase App Check public keys. This class
* encapsulat... | 0 | Kotlin | 0 | 12 | d58821422b60d29d8ea30e5140edcae0affae3ef | 2,343 | ktor-server-firebase-app-check | MIT License |
shared/src/commonMain/kotlin/model/AppRecord.kt | sdercolin | 708,470,210 | false | {"Kotlin": 307043, "Swift": 2742, "Shell": 1668} | package model
import androidx.compose.runtime.Immutable
import kotlinx.serialization.Serializable
@Immutable
@Serializable
data class AppRecord(
val windowSizeDp: Pair<Float, Float> = Pair(800f, 500f),
)
| 0 | Kotlin | 0 | 7 | 46d6a8e699c4c89d715b3ad80ea185ce12272530 | 210 | recstar | Apache License 2.0 |
Fucntions/functions_6.kt | abhijitramesh | 172,509,609 | false | null | fun main(args: Array<String>){
pritInts(1,2,3,4,5)
}
fun pritInts(vararg ints: Int){
for(n in ints)
print("$n \t")
}
| 5 | Kotlin | 1 | 9 | ab668eb4c96700a559081f653c11d03a83a290bd | 120 | Kotlin | Apache License 2.0 |
app/src/main/java/com/jumpy/activity/MainActivity.kt | Hert97 | 601,104,498 | false | null | package com.jumpy.activity
import android.content.Intent
import android.graphics.BitmapFactory
import android.os.Bundle
import android.os.CountDownTimer
import android.view.View
import android.view.animation.TranslateAnimation
import android.widget.Button
import android.widget.ImageView
import android.widget.LinearLay... | 0 | Kotlin | 0 | 0 | 66c3711a10f2d07f5dd8cc19f901e4997c052ac2 | 3,593 | Jumpy | MIT License |
mpp-library/domain/src/commonMain/kotlin/com/kotlinconf/library/domain/entity/GameConfig.kt | JetBrains | 204,497,967 | false | null | package com.kotlinconf.library.domain.entity
import dev.icerock.moko.network.generated.models.ConfigResponse
data class GameConfig(
val index: Int,
val active: Int?,
val winnerCount: Int,
val hints: Map<Int, String>,
val facts: List<String>
)
internal fun ConfigResponse.toDomain(): GameConfig = G... | 1 | Kotlin | 7 | 33 | 915eb539cf04248b1314a14a596b8affb68352c1 | 502 | KotlinFinder | Apache License 2.0 |
JetNews/app/src/main/java/com/example/jetnews/data/posts/impl/BlockingFakePostsRepository.kt | zach-klippenstein | 267,634,112 | false | null | /*
* Copyright 2020 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 | null | 0 | 1 | d3c4d349f8022137000c66f0e59deb6b886fb1dd | 1,651 | compose-samples-workflowed | Apache License 2.0 |
src/main/kotlin/org/wagham/config/locale/subcommands/ItemInfoLocale.kt | kaironbot | 566,988,243 | false | {"Kotlin": 584271, "Dockerfile": 237} | package org.wagham.config.locale.subcommands
import dev.kord.common.Locale
import org.wagham.config.locale.LocaleEnum
enum class ItemInfoLocale(val localeMap: Map<Locale, String>): LocaleEnum {
ATTUNEMENT(
mapOf(
Locale.ENGLISH_GREAT_BRITAIN to "Attunement required?",
Locale.ITALIA... | 3 | Kotlin | 0 | 0 | 62769fdbe0c2f4976edfbc1dab2d832db61d751f | 2,841 | kairon-bot | MIT License |
app/src/main/java/fr/nexhub/homedia/features/settings/SettingsMenuItem.kt | valmnt | 795,633,176 | false | {"Kotlin": 238030} | @file:OptIn(ExperimentalTvMaterial3Api::class)
package fr.nexhub.homedia.features.settings
import androidx.compose.foundation.layout.padding
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.unit.dp
import andro... | 6 | Kotlin | 0 | 6 | 0cd04aa9cb4944da6be1dd796e827ebc72ac7f05 | 1,969 | homedia | Apache License 2.0 |
Android-Application/Dhanrakshak2/app/src/main/java/com/example/dhanrakshak/presentation/viewModel/AddTransactionViewModel.kt | omkarugale7 | 614,695,364 | false | null | package com.example.dhanrakshak.presentation.viewModel
import androidx.lifecycle.ViewModel
import com.example.dhanrakshak.data.model.entities.Transaction
import com.example.dhanrakshak.use_case.AddTransaction
import dagger.hilt.android.lifecycle.HiltViewModel
import javax.inject.Inject
import androidx.lifecycle.viewMod... | 0 | Kotlin | 1 | 1 | 39c32d97c2f65144da1ab9d8b4c77515fa78d6e3 | 1,436 | Homies | MIT License |
matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/send/queue/QueuedTask.kt | ActiveGymnastics | 323,292,168 | true | {"Kotlin": 8316611, "Java": 157700, "HTML": 24247, "Shell": 18884, "Python": 11382, "FreeMarker": 7722, "JavaScript": 1782} | /*
* Copyright 2020 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 applicable ... | 0 | Kotlin | 0 | 0 | 30980088d994dda56d4ada50c5fca6baaca12257 | 1,136 | element-android | Apache License 2.0 |
src/main/kotlin/com/melardev/spring/rest/dtos/responses/ErrorResponse.kt | melardev | 192,565,304 | false | null | package com.melardev.spring.rest.dtos.responses
import com.melardev.spring.rest.dtos.responses.AppResponse
class ErrorResponse(errorMessage: String) : AppResponse(false) {
init {
addFullMessage(errorMessage)
}
}
| 0 | Kotlin | 0 | 0 | 8c53438b73fcf8e3ad246fde154b65889fb5cbb6 | 232 | KotlinSpringBootRxApiRxMongoCrud | MIT License |
event-log/src/main/kotlin/dev/yn/event/service/EventService.kt | dgoetsch | 100,337,343 | false | null | /*
* Copyright 2017 <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 ... | 0 | Kotlin | 0 | 5 | afe6b2caba24b2a08347dc508d019a70bdeba10f | 3,743 | akka-vertx-demo | Apache License 2.0 |
Kernl.Runtime/src/main/kotlin/org/mattshoe/shoebox/kernl/runtime/cache/invalidation/tracker/impl/EagerRefreshInvalidationExecutor.kt | mattshoe | 825,957,770 | false | {"Kotlin": 344588, "Shell": 1045} | package org.mattshoe.shoebox.kernl.runtime.cache.invalidation.tracker.impl
import kotlinx.coroutines.flow.*
import org.mattshoe.shoebox.kernl.InvalidationStrategy
import org.mattshoe.shoebox.kernl.runtime.DataResult
import org.mattshoe.shoebox.kernl.runtime.cache.invalidation.tracker.BaseInvalidationExecutor
import or... | 10 | Kotlin | 1 | 9 | 9682fcafeb1dccd468443e1265eab55c05757e52 | 1,407 | kernl | Apache License 2.0 |
kotlin-mui-icons/src/main/generated/mui/icons/material/SignalWifi0Bar.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/SignalWifi0Bar")
@file:JsNonModule
package mui.icons.material
@JsName("default")
external val SignalWifi0Bar: SvgIconComponent
| 10 | Kotlin | 145 | 983 | 7ef1028ba3e0982dc93edcdfa6ee1edb334ddf35 | 210 | kotlin-wrappers | Apache License 2.0 |
lib_framework/src/main/java/com/logan/framework/log/XLogger.kt | logan0817 | 790,127,966 | false | null | package com.sum.framework.log
import android.app.Application
import android.util.Log
//import com.tencent.mars.xlog.Log
//import com.tencent.mars.xlog.Xlog
/**
* XLog的管理工具类
*/
class XLogger {
/**
* 初始化xlog
*/
fun init(context: Application, isDebug: Boolean, logPath: String, namePrefix: String = "s... | 0 | null | 0 | 2 | 20b74ca8af06dea1f48b5f188f86f31944826aa0 | 1,679 | BleExplorer | Apache License 2.0 |
src/commonTest/kotlin/csense/kotlin/extensions/primitives/ByteTest.kt | csense-oss | 136,911,995 | false | null | package csense.kotlin.extensions.primitives
import csense.kotlin.tests.assertions.*
import kotlin.test.*
class ByteTest {
@Test
fun isNotZero() {
val zero: Byte = Byte.zero
val positive: Byte = 1
val negative: Byte = -1
zero.isNotZero.assertFalse()
positive.isNotZero.a... | 1 | Kotlin | 0 | 2 | 49113dd6b2cb1e18992d07faa1e0305d18f766f4 | 5,890 | csense-kotlin | MIT License |
db-async-common/src/main/kotlin/com/github/mauricio/async/db/util/DaemonThreadsFactory.kt | KotlinPorts | 77,183,383 | false | null | /*
* Copyright 2013 <NAME>
*
* <NAME> licenses this file to you 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... | 5 | Kotlin | 2 | 23 | 942ebfeee4601f9580916ed551fcfd2f8084d701 | 1,195 | pooled-client | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.