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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Project/app/src/main/java/org/ionproject/android/offline/models/CatalogProgrammeTermInfo.kt | i-on-project | 245,234,364 | false | null | package org.ionproject.android.offline.models
import com.fasterxml.jackson.annotation.JsonProperty
/**
NOTE: These classes are redundant since the same result could be achieved using the
catalog programmes and catalog programme classes. However, despite using JSON properties with the
same names, the name of the value... | 8 | Kotlin | 0 | 4 | c18e940a10b9bcc4e3511ca7fa2c647be5db9ff2 | 796 | android | Apache License 2.0 |
vgscollect/src/main/java/com/verygoodsecurity/vgscollect/view/card/validation/RegexValidator.kt | verygoodsecurity | 273,198,410 | false | {"Kotlin": 1128775, "Python": 210} | package com.verygoodsecurity.vgscollect.view.card.validation
import java.util.regex.Pattern
/** @suppress */
class RegexValidator(
internal val value: String,
override val errorMsg: String = DEFAULT_ERROR_MSG
) : VGSValidator {
private var pattern: Pattern = Pattern.compile(value)
override fun isVal... | 6 | Kotlin | 9 | 8 | 119d3479daccc789039e3f5d9bc08d6e7e9556e5 | 520 | vgs-collect-android | MIT License |
src/main/kotlin/com/kentrino/graphql/UserResolver.kt | kentrino | 200,906,140 | false | null | package com.kentrino.graphql
import com.coxautodev.graphql.tools.GraphQLResolver
import com.kentrino.db.Book
import com.kentrino.db.User
class UserResolver: GraphQLResolver<User> {
private val books: List<Book> = listOf(
Book(id = 1, title = "a"),
Book(id = 2, title = "b"),
Boo... | 0 | Kotlin | 0 | 0 | 8f02cd7cc62e14b1d955b87f5a3f1eb9b1829101 | 443 | graphql-ktor-minimal | Apache License 2.0 |
src/commonTest/kotlin/me/sbntt/mpp/math/units/RadiansTests.kt | SBNTT | 315,407,967 | false | null | package me.sbntt.mpp.math.units
import me.sbntt.mpp.math.units.Radians.Extensions.radians
import me.sbntt.mpp.math.units.Degrees.Extensions.degrees
import me.sbntt.mpp.math.extensions.comparators.*
import kotlin.math.PI
import kotlin.test.Test
import kotlin.test.assertFalse
import kotlin.test.assertTrue
class Radians... | 0 | Kotlin | 0 | 0 | 6047c98e730d8fdff62c21921ffea4553642a330 | 3,520 | mpp-game-math | MIT License |
libs/clock/src/main/kotlin/ClockStore.kt | chadmarchand | 320,885,997 | false | null | package com.chadmarchand.forgeofhistory.clock
class ClockStore {
private var gameTime = 1
fun setGameTime(gameTime: Int) {
this.gameTime = gameTime
}
fun getGameTime(): Int = gameTime
}
| 5 | Kotlin | 0 | 0 | c9987610ef742f47c99913faf9a98e79f70fd80e | 213 | forge-of-history | MIT License |
src/main/kotlin/me/ferrandis/textAnalyzer/controller/AnalysisController.kt | ferrandisme | 689,373,192 | false | {"Kotlin": 10042} | package me.ferrandis.textAnalyzer.controller
import me.ferrandis.textAnalyzer.model.SentimentAnalysis
import me.ferrandis.textAnalyzer.service.AnalysisService
import org.springframework.web.bind.annotation.PostMapping
import org.springframework.web.bind.annotation.RequestBody
import org.springframework.web.bind.annota... | 0 | Kotlin | 0 | 0 | b300e87eac242cb925246266bb0409df21d4c1fe | 611 | textAnalyzer | MIT License |
src/main/kotlin/com/pedrovasconcelos/beautymanager/application/commands/scheduler/UpdateAppointment.kt | pedronvasconcelos | 863,271,192 | false | {"Kotlin": 59054, "Dockerfile": 284} | package com.pedrovasconcelos.beautymanager.application.commands.scheduler
import arrow.core.Either
import arrow.core.left
import com.pedrovasconcelos.beautymanager.domain.scheduler.Appointment
import com.pedrovasconcelos.beautymanager.domain.scheduler.AppointmentRepository
import com.pedrovasconcelos.beautymanager.dom... | 0 | Kotlin | 0 | 0 | fbc30e5c6c032b29afef95dac7238389c82b26e6 | 1,880 | beautymanager | MIT License |
src/main/kotlin/com/erpvin/dto/ProductPhotoDto.kt | etertech | 703,238,112 | false | {"Kotlin": 48485, "Dockerfile": 352} | package com.erpvin.dto
data class ProductPhotoDto(
val id: Long,
val photoLink: String
) | 0 | Kotlin | 0 | 0 | e80a3ca9ce2e9f972c156496280a4290e6679668 | 97 | erp-vin-springboot-kotlin-demo | MIT License |
AndroidApp/app/src/main/java/me/nya_n/notificationnotifier/repositories/sources/KeyValueDataStore.kt | ptkNktq | 50,931,408 | false | null | package me.nya_n.notificationnotifier.repositories.sources
import android.content.Context
import android.content.SharedPreferences
import androidx.core.content.edit
import androidx.security.crypto.EncryptedSharedPreferences
import androidx.security.crypto.MasterKey
open class KeyValueDataStore(
context: Context
)... | 1 | Kotlin | 0 | 1 | 38a98a9ed28f84ace48ac3dfc84c33a13a38cee7 | 1,495 | AndroidNotificationNotifier | MIT License |
src/main/kotlin/dev/arbjerg/ukulele/jda/ConversationListener.kt | Zudrak | 548,085,793 | false | {"Kotlin": 91190, "Java": 8568, "Dockerfile": 282, "Batchfile": 197, "Shell": 99} | package dev.arbjerg.ukulele.jda
import ConversationAudioHandler
import dev.arbjerg.ukulele.audio.PCMToWAVConverter
import net.dv8tion.jda.api.audio.AudioReceiveHandler
import net.dv8tion.jda.api.entities.channel.concrete.VoiceChannel
import net.dv8tion.jda.api.events.guild.voice.GuildVoiceUpdateEvent
import net.dv8tio... | 0 | Kotlin | 0 | 0 | fc64be67b6e3abe246cc5c65d0a70b5b36e4ab38 | 2,276 | Chrisalaxelrto-bot | MIT License |
src/main/kotlin/com/surfsoftconsulting/taskmaster/TaskmasterApplication.kt | surfsoft | 318,549,532 | false | null | package com.surfsoftconsulting.taskmaster
class TaskmasterApplication {} | 0 | Kotlin | 0 | 0 | 225746dfc6b37b11efba7f4330fbfc530d67e2f2 | 73 | Taskmaster | Apache License 2.0 |
auth/src/main/java/studio/crud/feature/auth/authentication/AuthenticationServiceImpl.kt | crud-studio | 390,327,908 | false | null | package studio.crud.feature.auth.authentication
import studio.crud.crudframework.crud.handler.CrudHandler
import studio.crud.crudframework.modelfilter.dsl.where
import studio.crud.crudframework.utils.component.componentmap.annotation.ComponentMap
import mu.KotlinLogging
import org.springframework.stereotype.Component
... | 6 | Kotlin | 0 | 0 | 6cb1d5f7b3fc7117c9fbaaf6708ac93ae631e674 | 14,588 | feature-depot | MIT License |
src/main/kotlin/dev/schlaubi/musicbot/module/song_quiz/game/SongQuizPlayer.kt | Korsti | 414,297,572 | true | {"Kotlin": 265776, "Dockerfile": 199, "Shell": 97} | package dev.schlaubi.musicbot.module.song_quiz.game
import dev.kord.core.behavior.UserBehavior
import dev.schlaubi.musicbot.game.Player
class SongQuizPlayer(override val user: UserBehavior) : Player
| 0 | null | 0 | 0 | 488ac29bf58aac7aa30a41de296e5a908524b492 | 201 | mikmusic | MIT License |
app/src/main/java/com/babylon/wallet/android/data/gateway/generated/models/ProgrammaticScryptoSborValueMapAllOf.kt | radixdlt | 513,047,280 | false | {"Kotlin": 4905038, "HTML": 215350, "Ruby": 2757, "Shell": 1963} | /**
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit this file manually.
*
*/
@file:Suppress(
"ArrayInDataClass",
"EnumEntryName",
"RemoveRedundantQualifierName",
"UnusedImport"
)
package com.babylon.wallet.android.data.gateway.... | 6 | Kotlin | 6 | 9 | a973af97556c2c3c5c800dac937d0007a13a3a1c | 1,362 | babylon-wallet-android | Apache License 2.0 |
dolphin/src/main/kotlin/net/bytemc/bytecloud/dolphin/groups/DolphinGroupProviderImpl.kt | bytemcnetzwerk | 684,494,766 | false | {"Kotlin": 147393} | package net.bytemc.bytecloud.dolphin.groups
import net.bytemc.bytecloud.api.group.CloudGroup
import net.bytemc.bytecloud.api.group.CloudGroupProvider
import net.bytemc.bytecloud.api.group.packets.*
import net.bytemc.bytecloud.api.network.BufferedFuture
import net.bytemc.bytecloud.api.network.PacketBuffer
import net.by... | 2 | Kotlin | 3 | 5 | 71a52f1a41d3dcd3c656090549e25e13b846539b | 3,535 | bytecloud | Apache License 2.0 |
src/main/kotlin/com/school/system/grading/repository/impl/UserRepositoryImpl.kt | saad129 | 374,616,148 | false | null | package com.school.system.grading.repository.impl
import com.school.system.grading.datasource.UserDataSource
import com.school.system.grading.entity.Response
import com.school.system.grading.entity.user.request.UserLogin
import com.school.system.grading.entity.user.request.UserUpdate
import com.school.system.grading.e... | 0 | Kotlin | 0 | 0 | 4800be374e1a7e030f02ce5bbc0db7802a715610 | 1,345 | school-grading-prototype | Apache License 2.0 |
service/catalog-service/src/main/kotlin/com/msa/catalogservice/global/config/KafkaConsumerConfig.kt | earlgrey02 | 634,131,701 | false | null | package com.msa.catalogservice.global.config
import org.apache.kafka.clients.consumer.ConsumerConfig
import org.apache.kafka.common.serialization.StringDeserializer
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration
import org.springframework.kafka.annotation... | 0 | Kotlin | 0 | 0 | e8c63816fecc31e0ccc372e89e5b082b7296a3cb | 1,338 | Spring-MSA | MIT License |
twitlin/src/common/test/kotlin/com/sorrowblue/twitlin/v2/tweets/counts/TweetsCountsApiTest.kt | SorrowBlue | 278,215,181 | false | null | package com.sorrowblue.twitlin.v2.tweets.counts
import com.sorrowblue.twitlin.Twitlin
import com.sorrowblue.twitlin.v2.testResult
import kotlin.test.Test
import kotlin.time.Duration.Companion.minutes
import kotlin.time.ExperimentalTime
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.test.... | 1 | Kotlin | 0 | 1 | 0604daf5524688f112960eb039d90ff44765445e | 895 | Twitlin | MIT License |
sharedCompose/src/commonMain/kotlin/com/movisens/bluetooth/kmm/view/DetailScreen.kt | rzetzsche | 720,164,007 | false | {"Kotlin": 48456, "Swift": 10972, "Shell": 228} | package com.movisens.bluetooth.kmm.view
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.padding
import androidx.compose.materi... | 0 | Kotlin | 0 | 2 | 0fc70f2f1026aedc7c854af9affe0274e5fe0842 | 3,996 | BluetoothKotlinMultiplatform | Apache License 2.0 |
app/src/main/java/com/muhammadwahyudin/identitasku/ui/home/HomeViewModelImpl.kt | hyuwah | 170,234,024 | false | null | package com.muhammadwahyudin.identitasku.ui.home
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.map
import com.muhammadwahyudin.identitasku.data.Constants
import com.muhammadwahyudin.identitasku.data.model.Data
import com.muhammadwahyudin.identitasku.data.model.D... | 1 | Kotlin | 1 | 1 | a8cc2a0b0d5d9dd90fc5f229d84ed42c499b1bf8 | 5,092 | IdentitasKu | MIT License |
core/src/main/kotlin/org/eduardoleolim/organizadorpec660/instrument/application/update/InstrumentUpdater.kt | eduardoleolim | 673,214,659 | false | {"Kotlin": 827389, "Shell": 2116} | package org.eduardoleolim.organizadorpec660.instrument.application.update
import org.eduardoleolim.organizadorpec660.instrument.domain.*
import org.eduardoleolim.organizadorpec660.municipality.domain.MunicipalityCriteria
import org.eduardoleolim.organizadorpec660.municipality.domain.MunicipalityRepository
import org.e... | 0 | Kotlin | 0 | 0 | 8b03fcbe17e4274b70a8fba40975e59f6868c06d | 3,849 | organizador-pec-6-60 | Creative Commons Attribution 4.0 International |
ZelisPolarResearchApp/PolarSdkEcgHrDemoMarchLibraryUpdates/app/src/main/java/com/polar/polarsdkecghrdemo/ECGActivity.kt | hanna8008 | 725,296,132 | false | {"Kotlin": 52386, "Java": 1131} | package com.polar.polarsdkecghrdemo
import android.os.Bundle
import android.util.Log
import android.widget.TextView
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import com.androidplot.xy.BoundaryMode
import com.androidplot.xy.StepMode
import com.androidplot.xy.XYPlot
import com.polar.sdk... | 2 | Kotlin | 0 | 1 | 9555e057ef720cfb79fe5f54b2f499dcf376497b | 8,205 | Zelis_Polar_App_Development_Research_High-Point-University- | MIT License |
app/src/main/java/com/hvasoft/weather/common/entities/WeatherBase.kt | hva94 | 575,948,749 | false | null | package com.hvasoft.weather.common.entities
open class WeatherBase(
dt: Long,
humidity: Int,
temp: Double,
weather: List<Weather>) | 0 | Kotlin | 0 | 1 | 90590847bacc093317e4f6ac8a07a223c2abd01a | 147 | Weather | Apache License 2.0 |
math/src/commonMain/kotlin/me/y9san9/calkt/math/parse/MathParseOperandFunction.kt | y9san9 | 842,898,431 | false | {"Kotlin": 79012} | package me.y9san9.calkt.math.parse
import me.y9san9.calkt.Expression
import me.y9san9.calkt.parse.ParseContext
public fun interface MathParseOperandFunction {
public operator fun invoke(context: ParseContext): Expression
}
| 1 | Kotlin | 1 | 21 | 06d1ecbca749ad4107d08d719916a10aa95aa6df | 229 | calkt | MIT License |
role-guardian/src/main/java/org/rfcx/guardian/guardian/audio/capture/AudioScheduleService.kt | rfcx | 7,535,854 | false | {"Gradle": 11, "Java Properties": 2, "Shell": 67, "Text": 29, "Ignore List": 10, "Batchfile": 2, "Markdown": 4, "INI": 1, "JSON": 37, "Proguard": 7, "Kotlin": 66, "XML": 159, "Java": 238, "Makefile": 170, "C": 541, "Python": 13, "Perl": 7, "Roff Manpage": 7, "Public Key": 1, "HTML": 165, "JavaScript": 4, "C++": 20, "M4... | package org.rfcx.guardian.guardian.audio.capture
import android.app.Service
import android.content.Intent
import android.os.IBinder
import android.util.Log
import org.rfcx.guardian.guardian.RfcxGuardian
import org.rfcx.guardian.guardian.companion.CompanionSocketService
import org.rfcx.guardian.utility.misc.TimeUtils.i... | 21 | C | 0 | 0 | 627594651e0665b17f2990187c1c5d86ced1c199 | 3,020 | rfcx-guardian-android | Apache License 2.0 |
app/src/main/java/com/justnik/mosplace/data/network/apiservices/ReviewApiService.kt | JustNik8 | 460,106,261 | false | {"Kotlin": 160815} | package com.justnik.mosplace.data.network.apiservices
import com.justnik.mosplace.data.network.datamodels.ReviewDto
import com.justnik.mosplace.data.network.reviewmodels.AddReviewBody
import retrofit2.http.Body
import retrofit2.http.GET
import retrofit2.http.POST
import retrofit2.http.Query
interface ReviewApiService... | 0 | Kotlin | 1 | 1 | 8ae2a811c895c6b4d75f8e31139dd4d15c425561 | 673 | MosPlace | Apache License 2.0 |
app/src/main/java/com/layfones/calculator/ui/screens/CalculatorScreen.kt | layfones | 528,757,200 | false | null | package com.layfones.calculator.ui.screens
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.items
import androidx.compose.foundation.lazy.rememberLazyListState
import androidx.compose.mat... | 0 | Kotlin | 0 | 0 | fe53ca30082c2835673e1ab0b82e212bcf5c51d3 | 9,890 | ComposeCalculator | MIT License |
app/src/main/java/xyz/leomurca/sporteventtracker/MainActivity.kt | leomurca | 815,376,543 | false | {"Kotlin": 46715} | package xyz.leomurca.sporteventtracker
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.activity.enableEdgeToEdge
import androidx.activity.viewModels
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
imp... | 0 | Kotlin | 0 | 0 | f0b1eafb2810b9c7f9595fd04562503a7b4ad6e5 | 2,623 | sport-event-tracker | MIT License |
src/main/kotlin/br/com/danielvazmartins/labcreditsystemkotlin/service/ICustomerService.kt | danielvazmartins | 709,357,294 | false | {"Kotlin": 51198} | package br.com.danielvazmartins.labcreditsystemkotlin.service
import br.com.danielvazmartins.labcreditsystemkotlin.entity.Customer
interface ICustomerService {
fun save(customer: Customer): Customer
fun findById(id: Long): Customer
fun delete(id: Long)
} | 0 | Kotlin | 0 | 0 | fd235cb0e9938035c176ea676477becaeb6b5954 | 270 | lab-credit-system-kotlin | MIT License |
stream-chat-android-ui-uitests/src/androidTest/java/io/getstream/chat/android/uitests/snapshot/uicomponents/search/SearchViewTest.kt | GetStream | 177,873,527 | false | {"Kotlin": 8578375, "MDX": 2150736, "Java": 271477, "JavaScript": 6737, "Shell": 5229} | /*
* Copyright (c) 2014-2022 Stream.io Inc. All rights reserved.
*
* Licensed under the Stream License;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://github.com/GetStream/stream-chat-android/blob/main/LICENSE
*
* Unless required by a... | 24 | Kotlin | 273 | 1,451 | 8e46f46a68810d8086c48a88f0fff29faa2629eb | 3,270 | stream-chat-android | FSF All Permissive License |
src/test/kotlin/cz/opendatalab/captcha/datamanagement/objectdetection/ObjectDetectorKotlinDLTest.kt | opendatalabcz | 481,095,558 | false | {"Kotlin": 221562, "JavaScript": 47287, "HTML": 26542, "CSS": 9253, "Dockerfile": 304} | package cz.opendatalab.captcha.datamanagement.objectdetection
import cz.opendatalab.captcha.TestImages
import mu.KotlinLogging
import org.junit.jupiter.api.AfterAll
import org.junit.jupiter.api.Assertions.assertTrue
import org.junit.jupiter.api.Test
import org.springframework.util.FileSystemUtils
import java.nio.file.... | 0 | Kotlin | 0 | 0 | 16e1871255bdda1a79a0b44502d2acc01b6ad0af | 1,399 | czech-captcha | Apache License 2.0 |
app/src/main/java/com/coppel/preconfirmar/loteo/ListaLoteoFragment.kt | Aguayo91 | 394,428,141 | false | null | package com.coppel.preconfirmar.loteo
import android.app.Dialog
import android.os.Bundle
import android.os.Handler
import android.os.Looper
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.view.Window
import android.widget.Bu... | 0 | Kotlin | 0 | 0 | 17880cc61f72229b0b8ed8f87afa560877234097 | 3,363 | Christian | MIT License |
app/src/main/java/com/example/cryptoapp/data/repository/CoinRepositoryImpl.kt | jlpmartinss | 855,792,857 | false | {"Kotlin": 31610} | package com.example.cryptoapp.data.repository
import com.example.cryptoapp.data.remote.CoinPaprikaApi
import com.example.cryptoapp.data.remote.dto.CoinDetailDto
import com.example.cryptoapp.data.remote.dto.CoinDto
import com.example.cryptoapp.domain.repository.CoinRepository
import javax.inject.Inject
class CoinRepos... | 0 | Kotlin | 0 | 0 | e15502aa9608828687b2374da081b01dcc6695a2 | 614 | CryptoApp | MIT License |
app/src/main/java/com/example/cryptoapp/data/repository/CoinRepositoryImpl.kt | jlpmartinss | 855,792,857 | false | {"Kotlin": 31610} | package com.example.cryptoapp.data.repository
import com.example.cryptoapp.data.remote.CoinPaprikaApi
import com.example.cryptoapp.data.remote.dto.CoinDetailDto
import com.example.cryptoapp.data.remote.dto.CoinDto
import com.example.cryptoapp.domain.repository.CoinRepository
import javax.inject.Inject
class CoinRepos... | 0 | Kotlin | 0 | 0 | e15502aa9608828687b2374da081b01dcc6695a2 | 614 | CryptoApp | MIT License |
app/src/main/java/com/elliot/weathermate/views/init/InitActivity.kt | elliot-cx | 619,191,283 | false | null | package com.elliot.weathermate.views.init
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.elliot.weathermate.Utils
import com.elliot.weathermate.views.main.MainActivity
import com.elliot.weathermate.views.setup.SetupActivity
class InitActivity : AppCom... | 0 | Kotlin | 0 | 0 | 0dd1dcbf0b7c9762a898d87f2b1fbced4efd263a | 804 | WeatherMate | MIT License |
app/src/main/java/com/wisnu/kurniawan/wallee/features/dashboard/ui/DashboardNavRail.kt | wisnukurniawan | 502,203,866 | false | {"Kotlin": 546472} | package com.wisnu.kurniawan.wallee.features.dashboard.ui
import androidx.compose.foundation.layout.safeDrawingPadding
import androidx.compose.material3.LocalContentColor
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.NavigationRail
import androidx.compose.material3.NavigationRailItem... | 11 | Kotlin | 17 | 168 | 0076eebb25846bbab772accfb2a4e49ffa7be3d5 | 2,370 | Compose-Expense | Apache License 2.0 |
src/jsMain/kotlin/external/index.Asn1js.module_asn1js.kt | asit-fdraschbacher | 373,781,190 | true | {"Kotlin": 195978, "HTML": 3567, "JavaScript": 1308} | @file:JsModule("asn1js")
@file:JsNonModule
@file:Suppress("INTERFACE_WITH_SUPERCLASS", "OVERRIDING_FINAL_MEMBER", "RETURN_TYPE_MISMATCH_ON_OVERRIDE", "CONFLICTING_OVERLOADS")
package Asn1js
import kotlin.js.*
import org.khronos.webgl.*
import org.w3c.dom.*
import org.w3c.dom.events.*
import org.w3c.dom.parsing.*
impor... | 0 | null | 0 | 0 | f347dc143010e5299765551df41bc4228ad728d2 | 20,748 | hcert-kotlin | Apache License 2.0 |
nodecore-cli/src/main/java/nodecore/cli/serialization/BitcoinBlockPayload.kt | VeriBlock | 179,742,374 | false | {"Gradle Kotlin DSL": 22, "INI": 3, "Markdown": 15, "Shell": 1, "Text": 14, "Ignore List": 6, "Batchfile": 2, "Git Attributes": 1, "EditorConfig": 2, "YAML": 3, "Kotlin": 480, "Java": 253, "Dockerfile": 6, "Java Properties": 1, "XML": 9, "JSON with Comments": 3, "JSON": 6, "JavaScript": 2, "Browserslist": 1, "HTML": 10... | // VeriBlock NodeCore CLI
// Copyright 2017-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 nodecore.cli.serialization
import com.google.gson.annotations.S... | 72 | Kotlin | 16 | 12 | ef06c51c1410ba59da13403b65e367b21dcfed21 | 694 | nodecore | MIT License |
sample/src/main/java/org/walletconnect/example/wallet/ui/WalletUiState.kt | WalletConnect-Labs | 397,808,009 | false | null | package org.walletconnect.example.wallet.ui
import org.walletconnect.walletconnectv2.client.SessionProposal
sealed class WalletUiEvent
data class ShowSessionProposalDialog(val proposal: SessionProposal) : WalletUiEvent()
data class UpdateActiveSessions(val sessions: List<Session>) : WalletUiEvent()
object RejectSessi... | 1 | Kotlin | 2 | 11 | b05a1990cfbfc43b3380274183c33b0b7b307dc2 | 442 | WalletConnectKotlinV2 | Apache License 2.0 |
app/src/main/java/com/pandacorp/noteui/presentation/utils/helpers/Utils.kt | MrRuslanYT | 547,794,682 | false | null | package com.pandacorp.noteui.presentation.utils.helpers
import android.app.Activity
import android.content.Context
import android.graphics.drawable.ColorDrawable
import android.net.Uri
import android.os.Build
import android.util.TypedValue
import android.view.Gravity
import android.view.View
import android.view.ViewGr... | 0 | Kotlin | 0 | 2 | d9cc0ca8e17a5af92bfced5bc3bd85776d2a0204 | 7,277 | NoteUI | Apache License 2.0 |
feature/profilecard/src/androidMain/kotlin/io/github/droidkaigi/confsched/profilecard/component/InvertSystemBarAppearance.android.kt | DroidKaigi | 776,354,672 | false | {"Kotlin": 1119401, "Swift": 211686, "Shell": 2954, "Makefile": 1314, "Ruby": 386} | package io.github.droidkaigi.confsched.profilecard.component
import android.app.Activity
import androidx.compose.runtime.Composable
import androidx.compose.runtime.DisposableEffect
import androidx.compose.runtime.remember
import androidx.compose.ui.platform.LocalContext
import androidx.core.view.WindowCompat
@Composa... | 49 | Kotlin | 201 | 438 | 57c38a76beb5b75edc9220833162e1257f40ac06 | 861 | conference-app-2024 | Apache License 2.0 |
RecyclerView/app/src/main/java/com/example/demoapp/MainActivity.kt | BennyZhang-Canviz | 255,919,665 | false | null | package com.example.demoapp
import android.content.Context
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.core.content.ContextCompat
import androidx.recyclerview.widget.DividerItemDecoration
import androidx.recyclerview.widget.GridLayoutManager
import androidx.recyclerview.wid... | 0 | Kotlin | 0 | 0 | 55ae049d5c880b67251e40cf658c4535d52cd017 | 1,456 | Android | Apache License 2.0 |
libs/trezor/src/commonMain/kotlin/kosh/libs/trezor/DefaultTrezorManager.kt | niallkh | 855,100,709 | false | {"Kotlin": 1892361, "Swift": 21492} | package kosh.libs.trezor
import arrow.fx.coroutines.Resource
import arrow.fx.coroutines.resource
import co.touchlab.kermit.Logger
import kosh.libs.transport.Device
import kosh.libs.usb.Usb
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.map
class DefaultTrezorManager(
private val usb: Usb,
... | 0 | Kotlin | 0 | 3 | e0149252019f8b47ceede5c0c1eb78c0a1e1c203 | 1,146 | kosh | MIT License |
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/bulk/Happyemoji.kt | Tlaster | 560,394,734 | false | {"Kotlin": 25133302} | package moe.tlaster.icons.vuesax.vuesaxicons.bulk
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx.co... | 0 | Kotlin | 0 | 2 | b8a8231e6637c2008f675ae76a3423b82ee53950 | 2,764 | VuesaxIcons | MIT License |
android/src/main/kotlin/co/glyco/flutter_essentials/Accelerometer.kt | acastr7 | 199,530,601 | false | {"Dart": 35326, "Kotlin": 26667, "Swift": 17464, "Ruby": 2978, "Objective-C": 415} | package co.glyco.flutter_essentials
import android.content.Intent
import android.hardware.Sensor
import android.hardware.SensorEvent
import android.hardware.SensorEventListener
import android.hardware.SensorManager
import android.net.Uri
import android.os.Parcel
import android.os.Parcelable
import io.flutter.plugin.co... | 0 | Dart | 1 | 1 | 57c4f27ccfdc05827c2c47f7fd3c869bc1484b32 | 3,639 | flutter_essentials | MIT License |
mvvm-coroutines-clean-architecture/app/src/main/java/br/com/mobiplus/gitclient/presentation/ui/gitRepo/list/GitRepoListViewModel.kt | mariofelesdossantosjunior | 249,457,538 | false | null | package br.com.mobiplus.gitclient.presentation.ui.gitRepo.list
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import br.com.mobiplus.gitclient.domain.base.BaseErrorData
import br.com.mobiplus.gitclient.domain.mod... | 2 | null | 1 | 1 | f1d96c8f45814b883fab3987b8e365310e2de2dc | 1,967 | android-architecture-examples | MIT License |
androidApp/src/main/java/me/lwn/cakom/android/domain/model/XhubEntity.kt | fatterx | 477,536,944 | false | null | package me.lwn.cakom.android.domain.model
/**
* Created by fatterx on 2022/4/4
*/
data class XhubEntity(
val leftText: String = "Gay",
val rightText: String = "Hub"
)
| 0 | Kotlin | 0 | 0 | b88b867675d18c51c6a69fcde524a9267c6af098 | 178 | cakom-mvi | MIT License |
src/main/java/com/patres/automation/action/delay/TimeContainer.kt | bhaweshksingh | 280,514,738 | true | {"Kotlin": 351445, "CSS": 23726, "Java": 2979, "Batchfile": 22} | package com.patres.automation.action.delay
data class TimeContainer(
val value: Long,
val type: TimeType = TimeType.MILLISECONDS
) {
fun calculateMilliseconds() = type.toMilliseconds(value)
} | 0 | null | 0 | 0 | bd6403e43e231527ed99244ddf73d57aebbb83e6 | 214 | AutomationBoot | Apache License 1.1 |
app/src/main/java/com/anugrahdev/litenews/menu/sources/views/SourcesFragment.kt | anugrahdev | 260,928,757 | false | null | package com.anugrahdev.litenews.menu.sources.views
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.appcompat.app.AppCompatActivity
import androidx.lifecycle.ViewModelProvider
import androidx.navigat... | 0 | Kotlin | 0 | 1 | 244e7ed0f526a26462f43c74ab7beee0ad3656c1 | 4,111 | Litenews | MIT License |
common/src/commonMain/kotlin/tk/zwander/common/util/Settings.kt | zacharee | 342,079,605 | false | {"Kotlin": 421919} | package tk.zwander.common.util
import androidx.compose.runtime.Composable
import androidx.compose.runtime.DisposableEffect
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.runtime.MutableState
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.remember
import com.russh... | 5 | Kotlin | 84 | 690 | a9b7bab51ceb55c6800a9aaeeef4cc50764f8ecf | 6,846 | SamloaderKotlin | MIT License |
src/main/kotlin/me/melijn/melijnbot/commands/anime/PunchCommand.kt | ToxicMushroom | 107,187,088 | false | null | package me.melijn.melijnbot.commands.anime
import me.melijn.melijnbot.commandutil.anime.AnimeCommandUtil
import me.melijn.melijnbot.internals.command.AbstractCommand
import me.melijn.melijnbot.internals.command.CommandCategory
import me.melijn.melijnbot.internals.command.ICommandContext
class PunchCommand : AbstractC... | 5 | Kotlin | 22 | 80 | 01107bbaad0e343d770b1e4124a5a9873b1bb5bd | 571 | Melijn | MIT License |
app/src/main/java/com/ved/net/response/AllResponse.kt | vedeng | 244,312,896 | false | null | package com.ved.net.response
import com.bese.widget.addressselect.Region
import com.netlib.BaseResponse
data class AppBaseUrlResponse(var data: AppBaseUrlData) : BaseResponse()
data class CheckUpdateResponse(var data: CheckUpdateData) : BaseResponse()
data class RegionListResponse(var data: ArrayList<Region?>?) : Bas... | 0 | Kotlin | 0 | 0 | 8a92cd925b57a481a8e0422d225da2c5396bca22 | 332 | Bese | Creative Commons Zero v1.0 Universal |
src/main/kotlin/com/empcontrol/backend/enums/EmployeeStatus.kt | rgomqui | 838,395,439 | false | {"Kotlin": 24635, "Dockerfile": 254, "Java": 86} | package com.empcontrol.backend.enums
enum class EmployeeStatus {
ACTIVE, INACTIVE
} | 0 | Kotlin | 0 | 0 | cca4f4937849cd986be363c46882c04aa609de82 | 88 | emp_control_backend | The Unlicense |
0291.Word Pattern II.kt | sarvex | 842,260,390 | false | {"Kotlin": 1775678, "PowerShell": 418} | internal class Solution {
private var vis: Set<String>? = null
private var d: Map<Char, String>? = null
private var p: String? = null
private var s: String? = null
private var m = 0
private var n = 0
fun wordPatternMatch(pattern: String?, s: String): Boolean {
vis = HashSet()
d = HashMap()
th... | 0 | Kotlin | 0 | 0 | 17a80985d970c8316fb694e4952692e598d700af | 1,014 | kotlin-leetcode | MIT License |
dial-phone-core/src/commonMain/kotlin/de/mtorials/dialphone/core/RoomExtensions.kt | mtorials | 272,526,016 | false | null | package de.mtorials.dialphone.core
import de.mtorials.dialphone.api.model.mevents.roommessage.MRoomMessage
import de.mtorials.dialphone.api.model.mevents.roomstate.MRoomName
import de.mtorials.dialphone.core.entities.MemberImpl
import de.mtorials.dialphone.core.entities.Message
import de.mtorials.dialphone.core.entiti... | 1 | Kotlin | 0 | 6 | 1f78fed1af1287069fa8c6c585f868cd75e372f9 | 1,486 | dial-phone | Apache License 2.0 |
core/src/commonMain/kotlin/dev/iaiabot/furuhuru/repository/ScreenshotRepository.kt | iaia | 523,282,500 | false | null | package dev.iaiabot.furuhuru.repository
import kotlinx.coroutines.flow.Flow
interface ScreenshotRepository {
suspend fun save(fileStr: String)
suspend fun load(remove: Boolean = false): String?
suspend fun remove()
suspend fun observe(): Flow<String?>
}
| 2 | Kotlin | 0 | 0 | b83cf1558a8bb906015b3cc478ab8e18e80e5a89 | 272 | Furuhuru | MIT License |
src/main/kotlin/ampersand/userservice/persistence/MassageStatus.kt | Team-Ampersand | 745,334,935 | false | {"Kotlin": 37212, "Dockerfile": 91} | package ampersand.userservice.persistence
enum class MassageStatus {
CAN, CANT
} | 4 | Kotlin | 0 | 2 | 1a21bd0b3f66e56503e448eb923e376599af036c | 85 | Dotori-V3-Member | Apache License 2.0 |
src/test/kotlin/uk/org/lidalia/kotlinfromgroovy/testsupport/ClassWithDefaultedArgumentsToMethods.kt | Lidalia-World | 716,557,125 | false | {"Kotlin": 38920, "Groovy": 37085, "Dockerfile": 3166, "Shell": 209} | package uk.org.lidalia.kotlinfromgroovy.testsupport
class ClassWithDefaultedArgumentsToMethods {
val calls = mutableListOf<Call>()
fun functionWithOneDefaultedArgument(argument1: String = "argument1") {
calls += Call(
functionName = "functionWithOneDefaultedArgument",
arguments = linkedMapOf(
... | 1 | Kotlin | 0 | 0 | b694959a14c0a25140b616293045acc309f2caef | 1,824 | kotlin-from-groovy | Apache License 2.0 |
gaia/src/main/kotlin/fyi/pauli/ichor/gaia/networking/packet/outgoing/configuration/RegistryData.kt | ichor-dev | 676,285,724 | false | {"Kotlin": 78133} | package fyi.pauli.ichor.gaia.networking.packet.outgoing.configuration
import fyi.pauli.ichor.gaia.extensions.bytes.buffer
import fyi.pauli.ichor.gaia.extensions.bytes.buffer.compoundTag
import fyi.pauli.ichor.gaia.models.nbt.impl.CompoundTag
import fyi.pauli.ichor.gaia.networking.packet.State
import fyi.pauli.ichor.ga... | 5 | Kotlin | 0 | 0 | 7db6bad2aa9c963ae7410a685857c1d634c27344 | 910 | ichor | Apache License 2.0 |
gaia/src/main/kotlin/fyi/pauli/ichor/gaia/networking/packet/outgoing/configuration/RegistryData.kt | ichor-dev | 676,285,724 | false | {"Kotlin": 78133} | package fyi.pauli.ichor.gaia.networking.packet.outgoing.configuration
import fyi.pauli.ichor.gaia.extensions.bytes.buffer
import fyi.pauli.ichor.gaia.extensions.bytes.buffer.compoundTag
import fyi.pauli.ichor.gaia.models.nbt.impl.CompoundTag
import fyi.pauli.ichor.gaia.networking.packet.State
import fyi.pauli.ichor.ga... | 5 | Kotlin | 0 | 0 | 7db6bad2aa9c963ae7410a685857c1d634c27344 | 910 | ichor | Apache License 2.0 |
src/main/kotlin/org/lj92458/plugins/services/MyProjectService.kt | lj92458 | 490,599,655 | false | null | package org.lj92458.plugins.services
import com.intellij.openapi.project.Project
import org.lj92458.plugins.MyBundle
class MyProjectService(project: Project) {
init {
println(MyBundle.message("projectService", project.name))
}
}
| 0 | Kotlin | 1 | 0 | c4797a7b11b0f1dcb65df4a4ce1bb617f9a75df5 | 248 | reformatMine | Apache License 2.0 |
sample/src/main/java/nu/dropud/bundr/app/InitActivity.kt | Bundedaterne | 129,445,865 | false | null | package nu.dropud.bundr.app
import android.Manifest
import android.content.Intent
import android.content.pm.PackageManager
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android.widget.Button
import com.google.firebase.database.DataSnapshot
import com.google.fir... | 2 | Kotlin | 2 | 0 | bad0ae3b772e56c1571bda1feb5836d067be15e2 | 3,287 | Bundr | Apache License 2.0 |
kotlinui/src/main/java/kotlinx/kotlinui/Views/Spacer.kt | bclnet | 327,138,530 | false | null | package kotlinx.kotlinui
import android.content.Context
import android.widget.Space
import android.view.View as XView
import kotlinx.ptype.PType
class Spacer : View, ViewBuildable {
override val body: Never
get() = error("Never")
//: ViewBuildable
override fun buildView(context: Context?): XView ... | 0 | Kotlin | 0 | 0 | 8ea61bd04ce4a0b3dd440c36d4b82a5ccf5ec3f2 | 470 | KotlinUI | MIT License |
app/src/main/java/com/bereguliak/arscheduler/di/module/loading/LoadingModule.kt | YuriyBereguliak | 177,011,797 | false | null | package com.bereguliak.arscheduler.di.module.loading
import com.bereguliak.arscheduler.ui.fragments.loading.view.LoadingFragment
import dagger.Module
import dagger.android.ContributesAndroidInjector
@Module
abstract class LoadingModule {
@ContributesAndroidInjector(modules = [LoadingContractModule::class])
@L... | 0 | Kotlin | 0 | 2 | 562dca9b6595baab35f395c5dac386c4720cfce8 | 404 | ArScheduler | MIT License |
domain/src/main/java/com/nowiwr01p/domain/auth/verification/usecase/SetVerificationCompletedUseCase.kt | nowiwr01w | 584,138,480 | false | null | package com.nowiwr01p.domain.auth.verification.usecase
import com.nowiwr01p.domain.UseCase
import com.nowiwr01p.domain.auth.verification.repository.VerificationLocalRepository
import com.nowiwr01p.domain.auth.verification.repository.VerificationRemoteRepository
class SetVerificationCompletedUseCase(
private val l... | 0 | Kotlin | 1 | 1 | 5595a307cbb8ca5b9979aa76894f3498bdac34f3 | 612 | Meetings | MIT License |
android/app/src/main/kotlin/com/example/flutter_github_actions_advanced/MainActivity.kt | daniil-shumko | 461,507,858 | false | {"C++": 16842, "Dart": 12870, "CMake": 8271, "HTML": 3974, "C": 734, "Swift": 404, "Shell": 211, "Kotlin": 148, "Objective-C": 38} | package com.example.flutter_github_actions_advanced
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | C++ | 1 | 0 | d21f65ba7604f12e305fbd144756b5108eed21cc | 148 | flutter_github_actions_advanced | MIT License |
app/src/main/java/com/jfma75/composeform/components/DatePickerView.kt | JuanFcoMiranda | 430,703,059 | false | {"Kotlin": 49019} | package com.jfma75.composeform.components
import android.os.Build
import androidx.annotation.RequiresApi
import androidx.appcompat.app.AppCompatActivity
import androidx.compose.foundation.border
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.*
import androidx.compose.material.Ic... | 0 | Kotlin | 0 | 0 | f9611efb7c9d55276f3a93a95d603352fe91702f | 5,050 | ComposeForm | Apache License 2.0 |
libraries/cache/src/main/java/com/ezike/tobenna/starwarssearch/cache/model/CharacterCacheModel.kt | Ezike | 294,171,829 | false | {"Kotlin": 190343, "Shell": 657} | package com.ezike.tobenna.starwarssearch.cache.model
import androidx.room.Entity
import androidx.room.PrimaryKey
@Entity(tableName = "SEARCH_HISTORY")
data class CharacterCacheModel(
val name: String,
val birthYear: String,
val height: String,
@PrimaryKey
val url: String
) {
var lastUpdated: L... | 0 | Kotlin | 30 | 198 | f091dc9b19b0a4b5b38d27c5331a4d70388f970d | 331 | StarWarsSearch-MVI | Apache License 2.0 |
appModules/appFeatures/impl/src/jsMain/kotlin/dev/reprator/appFeatures/impl/performance/PerformanceComponent.kt | TheReprator | 781,077,991 | false | {"Kotlin": 399028, "Swift": 5325, "HTML": 357, "JavaScript": 92} | package dev.reprator.appFeatures.impl.performance
import dev.reprator.appFeatures.api.performance.Tracer
import dev.reprator.core.inject.ApplicationScope
import me.tatarka.inject.annotations.Provides
actual interface PerformanceComponent {
@ApplicationScope
@Provides
fun provideTracer(tracer: JsTracer): ... | 1 | Kotlin | 0 | 0 | 1468ecc36c791f643973d0fadae9f6154d726b84 | 338 | ExpenseManagment | Apache License 2.0 |
auth/src/main/kotlin/gov/cdc/prime/reportstream/auth/service/ProxyURIStrategy.kt | CDCgov | 304,423,150 | false | {"Kotlin": 5417139, "CSS": 3370586, "TypeScript": 1881870, "Java": 1326278, "HCL": 282334, "MDX": 140844, "PLpgSQL": 77695, "Shell": 69067, "HTML": 68387, "SCSS": 66843, "Smarty": 51325, "RouterOS Script": 17080, "Python": 13724, "Makefile": 8166, "JavaScript": 8003, "Dockerfile": 3127} | package gov.cdc.prime.reportstream.auth.service
import gov.cdc.prime.reportstream.auth.config.ApplicationConfig
import org.springframework.context.annotation.Profile
import org.springframework.stereotype.Component
import java.net.URI
/**
* Implementations are ways to decide the ultimate destination of an incoming re... | 1,458 | Kotlin | 39 | 71 | 81f5d3c284982ccdb7f24f36fc69fdd8fac2a919 | 1,827 | prime-reportstream | Creative Commons Zero v1.0 Universal |
app/src/main/java/io/korostenskyi/chestnut/presentation/screen/home/HomeViewModel.kt | korostenskyi | 401,812,198 | false | null | package io.korostenskyi.chestnut.presentation.screen.home
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import androidx.paging.Pager
import androidx.paging.PagingConfig
import androidx.paging.PagingData
import androidx.paging.cachedIn
import dagger.hilt.android.lifecycle.HiltViewModel
im... | 3 | Kotlin | 0 | 0 | 5c7e285cb495e83bf9d9d29817fd0eb76f601a35 | 1,821 | Chestnut-Compose | MIT License |
core/src/river/exertion/kcop/assets/NarrativeAsset.kt | exertionriver | 589,248,613 | false | null | package river.exertion.kcop.assets
import river.exertion.kcop.narrative.structure.Narrative
class NarrativeAsset(var narrative : Narrative? = null) {
var status : String? = null
var statusDetail : String? = null
} | 0 | Kotlin | 0 | 0 | 011e04852134376b1888aa115885d535d72d8c8c | 223 | kcop | MIT License |
detekt-rules/src/test/kotlin/io/gitlab/arturbosch/detekt/rules/NestedBlockDepthSpec.kt | lummax | 92,387,195 | true | {"Kotlin": 203718, "Java": 153} | package io.gitlab.arturbosch.detekt.rules
import io.gitlab.arturbosch.detekt.api.ThresholdedCodeSmell
import io.gitlab.arturbosch.detekt.rules.complexity.NestedBlockDepth
import org.jetbrains.spek.api.dsl.describe
import org.jetbrains.spek.api.dsl.it
import org.jetbrains.spek.subject.SubjectSpek
import org.jetbrains.s... | 0 | Kotlin | 0 | 0 | 391c9d0cda1660b4869448eb07b8a5c74dc90383 | 834 | detekt | Apache License 2.0 |
app/src/main/java/com/lnight/externalstorageandroid15/MainViewModel.kt | EvgenyPlaksin | 844,281,754 | false | {"Kotlin": 13737} | package com.lnight.externalstorageandroid15
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.launc... | 0 | Kotlin | 0 | 0 | 796ab028654cbd2a8747e4d5b5e75d77358450be | 604 | ExternalStorageAndroid15 | MIT License |
src/main/kotlin/no/nav/omsorgspenger/KtorHttp.kt | navikt | 314,496,410 | false | null | package no.nav.omsorgspenger
import io.ktor.client.call.*
import io.ktor.client.engine.okhttp.*
import io.ktor.client.plugins.*
import io.ktor.client.request.*
import io.ktor.client.statement.*
import io.ktor.http.*
import io.ktor.http.content.*
import io.ktor.server.application.*
import io.ktor.server.request.*
impor... | 7 | Kotlin | 0 | 0 | 87d0cfc14760a41ee8396d762ee058dcf993555b | 7,349 | omsorgspenger-proxy | MIT License |
app/src/main/java/com/sevenzerotwo/takeit/pages/funktions.kt | SwastikGorai | 590,920,284 | false | null | package com.sevenzerotwo.takeit.pages
import androidx.compose.foundation.BorderStroke
import androidx.compose.foundation.Image
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.foundation.text.sel... | 0 | Kotlin | 0 | 6 | faa75644d2614bafcb22344d5196540777b37b6a | 3,973 | Take_It | MIT License |
compiler/testData/diagnostics/tests/ReturnInFunctionWithoutBody.fir.kt | JetBrains | 3,432,266 | false | {"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML... | fun foo1(): () -> String = <!RETURN_IN_FUNCTION_WITH_EXPRESSION_BODY!>return<!> { "some long expression "}
fun foo2(): () -> String = <!RETURN_IN_FUNCTION_WITH_EXPRESSION_BODY!>return<!UNRESOLVED_LABEL!>@label<!><!> { "some long expression "}
fun foo3(): () -> String = <!RETURN_IN_FUNCTION_WITH_EXPRESSION_BODY!>return<... | 181 | Kotlin | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 364 | kotlin | Apache License 2.0 |
src/main/kotlin/com/github/parkee/messenger/model/response/ResponsePayload.kt | parkee | 58,060,512 | false | null | package com.github.parkee.messenger.model.response
import com.fasterxml.jackson.annotation.JsonIgnoreProperties
import com.fasterxml.jackson.annotation.JsonProperty
@JsonIgnoreProperties(ignoreUnknown = true)
data class ResponsePayload(
@JsonProperty("url") val url: String
) | 0 | Kotlin | 3 | 5 | ddde00d68f36f26978426cfe5ebb1a6cecb310af | 285 | messenger-send-api-client | MIT License |
deprecated/template-xml/app/src/main/java/co/nimblehq/template/xml/ui/ErrorMapping.kt | nimblehq | 101,353,301 | false | {"Kotlin": 387666, "Ruby": 5344, "XSLT": 1824} | package co.nimblehq.template.xml.ui
import android.content.Context
import co.nimblehq.template.xml.R
import co.nimblehq.template.xml.domain.exceptions.ApiException
fun Throwable.userReadableMessage(context: Context): String {
return when (this) {
is ApiException -> error?.message
else -> message
... | 31 | Kotlin | 23 | 94 | f07941499a70b6144f4280c233edba542ab3e516 | 372 | android-templates | MIT License |
arrangement/src/main/java/com/fang/arrangement/ui/shared/component/DropdownSelector.kt | 7ANG2C | 794,384,998 | false | {"Kotlin": 435901} | package com.fang.arrangement.ui.shared.component
import androidx.compose.foundation.ScrollState
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.ColumnScope
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx... | 0 | Kotlin | 0 | 0 | 7df9040856234c63b597a24e51feda55a19f4900 | 2,442 | FANG | Apache License 2.0 |
android-compose/ComposeStore/app/src/main/java/io/github/mrgsrylm/composeshop/features/login/LoginViewModel.kt | mrgsrylm | 740,344,950 | false | {"Kotlin": 604059} | package io.github.mrgsrylm.composeshop.features.login
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import dagger.hilt.android.lifecycle.HiltViewModel
import i... | 0 | Kotlin | 0 | 1 | 719dca756600fbdd75c228cd0998ddceb0ac63bc | 5,669 | kotlin-sandbox | MIT License |
app/src/main/java/ru/rznnike/eyehealthmanager/app/ui/item/TestTypeSmallItem.kt | RznNike | 207,148,781 | false | {"Kotlin": 879326} | package ru.rznnike.eyehealthmanager.app.ui.item
import android.view.LayoutInflater
import android.view.ViewGroup
import ru.rznnike.eyehealthmanager.R
import ru.rznnike.eyehealthmanager.app.global.BaseBindingItem
import ru.rznnike.eyehealthmanager.databinding.ItemTestTypeSmallBinding
import ru.rznnike.eyehealthmanager.... | 0 | Kotlin | 0 | 4 | 70c802c797d8d893e9d19952a4ea4269ed33e544 | 975 | EyeHealthManager | MIT License |
octicons/src/commonMain/kotlin/compose/icons/octicons/BellSlash16.kt | DevSrSouza | 311,134,756 | false | {"Kotlin": 36719092} | package compose.icons.octicons
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter
import a... | 17 | Kotlin | 25 | 571 | a660e5f3033e3222e3553f5a6e888b7054aed8cd | 3,626 | compose-icons | MIT License |
library/src/main/java/com/github/lcdsmao/springx/ViewPropertySpringAnimator.kt | lcdsmao | 187,489,244 | false | null | package com.github.lcdsmao.springx
import android.view.View
import androidx.annotation.MainThread
import androidx.dynamicanimation.animation.DynamicAnimation
import androidx.dynamicanimation.animation.FloatPropertyCompat
import androidx.dynamicanimation.animation.SpringAnimation
import androidx.dynamicanimation.animat... | 12 | Kotlin | 1 | 104 | 2b8d9fee70981142967680cb038e04c2fca163a6 | 11,188 | SpringX | Apache License 2.0 |
android/src/main/java/ch/jls/reactnative/mapboxnavigation/MapboxNavigationViewManager.kt | jls-digital | 804,361,168 | false | {"Kotlin": 44814, "TypeScript": 7585, "Swift": 6530, "Ruby": 3293, "Objective-C": 3126, "JavaScript": 2122, "Objective-C++": 815, "C": 103} | package ch.jls.reactnative.mapboxnavigation
import android.content.pm.PackageManager
import android.util.Log
import android.view.Choreographer
import android.view.View
import android.view.ViewGroup
import android.widget.FrameLayout
import androidx.fragment.app.FragmentActivity
import com.facebook.react.bridge.ReactApp... | 0 | Kotlin | 0 | 0 | ca6453d9e069e11898938ab4b1daa3579cfe793e | 7,320 | react-native-mapbox-navigation | MIT License |
core/src/commonMain/kotlin/io/shortway/kobankat/EntitlementVerificationMode.kt | JayShortway | 758,647,648 | false | {"Kotlin": 225838, "Ruby": 2360, "Swift": 594} | package io.shortway.kobankat
/**
* Verification strictness levels for [EntitlementInfo].
*/
public enum class EntitlementVerificationMode {
/**
* The SDK will not perform any entitlement verification.
*/
DISABLED,
/**
* Enable entitlement verification.
*/
INFORMATIONAL,
} | 8 | Kotlin | 3 | 9 | f374c234be5b1fc5da36dbf0ddcfe0398d871cf5 | 312 | kobankat | MIT License |
app/src/main/java/com/example/arduino_sense/SignupActivity.kt | tlehikoinen | 472,755,130 | false | {"Kotlin": 62084} | package com.example.arduino_sense
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.os.Handler
import android.os.Looper
import android.util.Log
import android.widget.Button
import android.widget.EditText
import android.widget.TextView
import android.w... | 0 | Kotlin | 2 | 0 | 09032f742d1fff4077f58e9f9cd5020ece340d4f | 2,327 | arduino-sense | MIT License |
src/main/kotlin/com/yingtaohuo/db/DBWXUser.kt | menuxx | 96,880,838 | false | {"JavaScript": 1254682, "Kotlin": 162067, "FreeMarker": 67462, "Java": 22082, "CSS": 2227, "HTML": 4} | package com.yingtaohuo.db
import com.yingtaohuo.model.WXUserModel
import com.yingtaohuo.sso.db.tables.TWxUser
import com.yingtaohuo.sso.db.tables.records.TWxUserRecord
import com.zaxxer.hikari.HikariDataSource
import org.jooq.impl.DSL
import org.springframework.stereotype.Service
/**
* 作者: <EMAIL>
* 创建于: 2017/10/18... | 0 | JavaScript | 0 | 0 | 81ffb601aa4b92024966067574357109ac81e115 | 1,917 | sso | Apache License 2.0 |
Aretech App/app/src/main/java/com/example/aretech/ui/activities/menu/notification/util/PAGER.kt | s3bu7i | 871,643,869 | false | {"Kotlin": 317569, "TypeScript": 228210, "JavaScript": 16695, "Java": 6185, "CSS": 1738, "Python": 1259} | package com.example.aretech.ui.activities.menu.notification.util
enum class PAGER {
NOTIFICATION_UNREAD,
NOTIFICATION_READ
} | 0 | Kotlin | 0 | 1 | a5c86328a4fced42e04380e448e53f9452be9b5b | 133 | Aretech | MIT License |
sketch-core/src/commonMain/kotlin/com/github/panpf/sketch/request/ImageOptionsProvider.kt | panpf | 14,798,941 | false | {"Kotlin": 2979756, "Shell": 1469} | /*
* Copyright (C) 2024 panpf <<EMAIL>>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | 8 | Kotlin | 309 | 2,057 | 89784530da0de6085a5b08f810415147cb3165cf | 1,214 | sketch | Apache License 2.0 |
app/src/main/java/com/ferdyhaspin/githubuserapp/util/ext/ViewExt.kt | ferdyhaspin | 262,837,173 | false | null | package com.ferdyhaspin.githubuserapp.util.ext
import android.content.Context
import android.view.View
import android.widget.ImageView
import android.widget.Toast
import com.bumptech.glide.Glide
import com.bumptech.glide.load.engine.DiskCacheStrategy
import com.bumptech.glide.request.RequestOptions
import com.ferdyhas... | 0 | Kotlin | 0 | 0 | d129fbec737258e0582bb5abe01e54b54916fad0 | 1,006 | github-user | Apache License 2.0 |
demo/multiround/src/test/java/com/alessandro/claymore/demo/multiround/villains/VillainsActivityTest.kt | alecarnevale | 559,250,665 | false | {"Kotlin": 92000} | package com.alessandro.claymore.demo.multiround.villains
import androidx.compose.ui.test.assertIsDisplayed
import androidx.compose.ui.test.junit4.createComposeRule
import androidx.compose.ui.test.onNodeWithText
import androidx.compose.ui.test.performClick
import androidx.test.core.app.ActivityScenario
import com.aless... | 1 | Kotlin | 0 | 5 | fedfc34d5d114fff7f3f5063906caf70ea419137 | 1,712 | claymore | Apache License 2.0 |
library/src/main/java/by/dzmitry_lakisau/month_year_picker_dialog/MonthsAdapter.kt | Dzmitry-Lakisau | 420,276,564 | false | {"Kotlin": 32379} | /**
* Copyright © 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 i... | 2 | Kotlin | 0 | 9 | 82f8a43949863acf42161826c0b9c31bc5de6431 | 4,527 | MonthYearPickerDialog | Apache License 2.0 |
app/src/main/java/com/memad/moviesmix/ui/main/trending/TrendingFragment.kt | Mohamed-Emad126 | 438,245,160 | false | {"Kotlin": 191086, "Makefile": 158} | package com.memad.moviesmix.ui.main.trending
import android.animation.ObjectAnimator
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.View.GONE
import android.view.View.VISIBLE
import android.view.ViewGroup
import android.view.animation.DecelerateInterpolator
imp... | 0 | Kotlin | 8 | 45 | a0d5aea7c91db0eef3a847918998a84e79a335ba | 12,367 | MoviesMix | MIT License |
app/src/main/java/jp/cordea/d7362089/ui/details/Details.kt | CORDEA | 492,123,031 | false | null | package jp.cordea.d7362089.ui.details
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.material3.*
import androidx.compose.runtime.Composable
import androidx.compose.runtime.getValue
import androidx.compose.r... | 0 | Kotlin | 0 | 0 | 7829b3aabdd412d5f85657a0b56ff596e02a2ec5 | 5,143 | d7362089 | Apache License 2.0 |
AstroYoga/common-ui-compose/src/main/java/com/shushant/common/compose/utils/ActivityProvider.kt | ShushantTiwari-ashu | 667,410,698 | false | null | package com.shushant.common.compose.utils
import android.app.Activity
import android.app.Application
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.lifecycle.lifecycleScope
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.Supe... | 0 | Kotlin | 0 | 0 | 9882d51d4a1d975249109c097da0c7b141e6ff69 | 2,751 | AstroYoga-Full-kotlin-stack-App | Apache License 2.0 |
src/jvmMain/kotlin/com/bkahlert/netmon/scanner/NetworkFilterSettings.kt | bkahlert | 671,899,608 | false | {"Kotlin": 911730, "JavaScript": 766538, "Shell": 102968, "HTML": 57668, "Python": 13258, "CSS": 6078, "Jinja": 809} | package com.bkahlert.netmon.scanner
import com.bkahlert.kommons.config.Settings
/** Settings for the network monitor's scanner. */
object NetworkFilterSettings : Settings("network") {
/**
* The minimum number of host bits, that is, the IP address length minus the prefix.
*
* The default is `4`, wh... | 0 | Kotlin | 0 | 1 | 0bfd007d349dc9dbb7c2308a92fa9584f16ca767 | 978 | netmon | MIT License |
server/src/main/kotlin/net/eiradir/server/session/ServerSessionManager.kt | Eiradir | 635,460,745 | false | {"Kotlin": 646160, "Dockerfile": 470} | package net.eiradir.server.session
import arrow.core.Either
import net.eiradir.server.auth.EiradirAuthentication
import net.eiradir.server.auth.EiradirCredentials
interface ServerSessionManager {
suspend fun createSession(authentication: EiradirAuthentication): Session
suspend fun verifySession(credentials: E... | 11 | Kotlin | 0 | 0 | edca8986ef06fd5a75fd2a4dc53dfe75dbfbbaae | 377 | eiradir-server | MIT License |
buildSrc/src/main/kotlin/VerifyTemplateExtension.kt | ohtomi | 48,268,715 | false | null | import groovy.lang.Closure
import org.gradle.api.Action
import org.gradle.api.model.ObjectFactory
import org.gradle.util.ConfigureUtil
open class VerifyTemplateExtension(val objectFactory: ObjectFactory) {
val templates: MutableList<VerifyTemplateConventionItem> = mutableListOf()
fun template(configuration: ... | 0 | Kotlin | 0 | 1 | 67d030557296229b6f3f51d31be7567829b3092f | 753 | lazybones-templates | MIT License |
data/src/main/kotlin/io/github/jisungbin/githubusers/data/util/Response.kt | jisungbin | 414,807,757 | false | null | /*
* AndroidModernArchitectureSample © 2021 Ji Sungbin. all rights reserved.
* AndroidModernArchitectureSample license is under the Apache-2.0.
*
* [Response.kt] created by Ji Sungbin on 21. 10. 8. 오후 4:09
*
* Please see: https://github.com/jisungbin/AndroidModernArchitectureSample/blob/master/LICENSE
*/
packag... | 3 | Kotlin | 0 | 23 | 2916ccf068512574b15c4ac2a32f624249f03984 | 686 | AndroidModernArchitectureSample | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.