path stringlengths 4 280 | owner stringlengths 2 39 | repo_id int64 21.1k 879M | is_fork bool 2
classes | languages_distribution stringlengths 13 1.95k ⌀ | content stringlengths 7 482k | issues int64 0 13.9k | main_language stringclasses 121
values | forks stringlengths 1 5 | stars int64 0 111k | commit_sha stringlengths 40 40 | size int64 7 482k | name stringlengths 1 100 | license stringclasses 93
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
src/main/kotlin/uk/gov/justice/digital/hmpps/makerecalldecisionapi/domain/makerecalldecisions/PrisonTimelineResponse.kt | ministryofjustice | 478,614,213 | false | null | package uk.gov.justice.digital.hmpps.makerecalldecisionapi.domain.makerecalldecisions
import java.time.LocalDateTime
data class PrisonTimelineResponse(
val prisonerNumber: String,
val prisonPeriod: List<PrisonPeriod>,
)
data class PrisonPeriod(
val bookNumber: String = "",
val bookingId: Int,
val entryDate... | 3 | null | 1 | 3 | 9e7702ca39e860421554f0500d1a70a5c08f9ad4 | 829 | make-recall-decision-api | MIT License |
app/src/main/java/org/thefproject/fedu/profile.kt | FaliedDedd | 854,138,823 | false | {"Kotlin": 13806} | package org.thefproject.fedu
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import android.view.View
import androidx.activity.enableEdgeToEdge
import androidx.appcompat.app.AppCompatActivity
import androidx.core.view.ViewCompat
import androidx.core.view.WindowInsetsCompat
class profile ... | 0 | Kotlin | 0 | 1 | 9787f5496ea0a613b76fb54f574ea191d7f42f07 | 1,654 | edu | Freetype Project License |
source-local/src/commonMain/kotlin/tachiyomi/source/local/image/manga/LocalMangaCoverManager.kt | aniyomiorg | 358,887,741 | false | {"Kotlin": 4957619} | package tachiyomi.source.local.image.manga
import com.hippo.unifile.UniFile
import eu.kanade.tachiyomi.source.model.SManga
import java.io.InputStream
expect class LocalMangaCoverManager {
fun find(mangaUrl: String): UniFile?
fun update(manga: SManga, inputStream: InputStream): UniFile?
}
| 180 | Kotlin | 315 | 4,992 | 823099f775ef608b7c11f096da1f50762dab82df | 301 | aniyomi | Apache License 2.0 |
src/main/kotlin/br/com/zupacademy/jpcsik/chavepix/DetalheChaveResponse.kt | jpcsik | 398,043,799 | true | {"Kotlin": 28570, "Dockerfile": 164} | package br.com.zupacademy.jpcsik.chavepix
import br.com.zupacademy.jpcsik.BuscarChaveResponse
import io.micronaut.core.annotation.Introspected
import java.time.LocalDateTime
import java.time.ZoneOffset
import java.time.format.DateTimeFormatter
@Introspected
class DetalheChaveResponse(response: BuscarChaveResponse) {
... | 0 | Kotlin | 0 | 0 | db3b07d544f31d52828599594f72726a5296b8ff | 1,171 | orange-talents-06-template-pix-keymanager-rest | Apache License 2.0 |
feature/authorization/presentation/src/commonMain/kotlin/org/timemates/app/authorization/ui/initial_authorization/mvi/InitialAuthorizationReducer.kt | timemates | 575,537,317 | false | {"Kotlin": 346184} | package org.timemates.app.authorization.ui.initial_authorization.mvi
import org.timemates.app.authorization.ui.initial_authorization.mvi.InitialAuthorizationStateMachine.Effect
import org.timemates.app.authorization.ui.initial_authorization.mvi.InitialAuthorizationStateMachine.Event
import org.timemates.app.foundation... | 21 | Kotlin | 0 | 27 | af5f6048c2cef30ac56d80754de54849650d78d2 | 778 | app | MIT License |
feature/authorization/presentation/src/commonMain/kotlin/org/timemates/app/authorization/ui/initial_authorization/mvi/InitialAuthorizationReducer.kt | timemates | 575,537,317 | false | {"Kotlin": 346184} | package org.timemates.app.authorization.ui.initial_authorization.mvi
import org.timemates.app.authorization.ui.initial_authorization.mvi.InitialAuthorizationStateMachine.Effect
import org.timemates.app.authorization.ui.initial_authorization.mvi.InitialAuthorizationStateMachine.Event
import org.timemates.app.foundation... | 21 | Kotlin | 0 | 27 | af5f6048c2cef30ac56d80754de54849650d78d2 | 778 | app | MIT License |
app/src/main/java/io/usoamic/app/domain/repositories/DbRepositoryImpl.kt | usoamic | 257,408,360 | false | null | package io.usoamic.app.domain.repositories
import io.realm.Realm
import io.realm.RealmConfiguration
import io.usoamic.commons.crossplatform.models.repository.dashboard.DashboardEntity
import io.usoamic.commons.crossplatform.models.repository.history.TransactionEntity
import io.usoamic.commons.crossplatform.models.repo... | 0 | Kotlin | 0 | 0 | 170a2fffba4b72c11303fcf6aea16f202cbbc160 | 3,915 | UsoamicApp-Android | MIT License |
travako-core/travako-core-sdk/travako-core-sdk-job/src/main/java/io/arkitik/travako/sdk/job/JobInstanceSdk.kt | arkitik | 441,685,610 | false | {"Kotlin": 322279, "Shell": 91} | package io.arkitik.travako.sdk.job
import io.arkitik.radix.develop.operation.Operation
import io.arkitik.radix.develop.operation.OperationRole
import io.arkitik.travako.sdk.job.dto.AssignJobsToRunnerDto
import io.arkitik.travako.sdk.job.dto.AssignedJobsToRunnerDto
import io.arkitik.travako.sdk.job.dto.CreateJobDto
imp... | 1 | Kotlin | 0 | 3 | 913e9b17c479329022dd67f77d35efe1300877c5 | 1,966 | travako | Apache License 2.0 |
uxmobile/src/main/java/sk/uxtweak/uxmobile/ui/DebugFragmentViewModel.kt | macro39 | 389,744,953 | false | null | package sk.uxtweak.uxmobile.ui
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.launch
import kotlinx.coroutines.withContext
import sk.uxtweak.uxmobile.UxMobile
import sk.uxtweak.uxmobi... | 0 | Kotlin | 0 | 0 | 9dc1d26c95c42f739c7aa9610da815a01ea7f5d2 | 2,291 | UxMobile | Apache License 2.0 |
Corona-Warn-App/src/test/java/de/rki/coronawarnapp/transaction/RiskLevelTransactionTest.kt | activesince93 | 269,008,182 | true | {"Kotlin": 434691} | package de.rki.coronawarnapp.transaction
import com.google.android.gms.nearby.exposurenotification.ExposureSummary
import de.rki.coronawarnapp.nearby.InternalExposureNotificationClient
import de.rki.coronawarnapp.risk.RiskLevel
import de.rki.coronawarnapp.risk.RiskLevel.INCREASED_RISK
import de.rki.coronawarnapp.risk.... | 0 | null | 0 | 1 | 36921e586e653ad0fc2fc4e67fd5d52dbbfe9618 | 13,886 | cwa-app-android | Apache License 2.0 |
common/src/main/java/de/nicidienase/chaosflix/common/entities/recording/persistence/ConferenceGroupDao.kt | NiciDieNase | 108,323,397 | false | null | package de.nicidienase.chaosflix.common.entities.recording.persistence
import android.arch.lifecycle.LiveData
import android.arch.persistence.room.Dao
import android.arch.persistence.room.Insert
import android.arch.persistence.room.OnConflictStrategy
import android.arch.persistence.room.Query
@Dao
interface Conferenc... | 0 | Kotlin | 0 | 0 | de677e55c8d87731c554b814f19a703c71ccd33a | 718 | chaosflix-common | MIT License |
examples/cassandra/src/test/kotlin/io/bluetape4k/examples/cassandra/multitenancy/row/EmployeeRepository.kt | debop | 625,161,599 | false | {"Kotlin": 7504333, "HTML": 502995, "Java": 2273, "JavaScript": 1351, "Shell": 1301, "CSS": 444, "Dockerfile": 121, "Mustache": 82} | package io.bluetape4k.examples.cassandra.multitenancy.row
import org.springframework.data.repository.kotlin.CoroutineCrudRepository
interface EmployeeRepository: CoroutineCrudRepository<Employee, String>, RowAwareEmployeeRepository
| 0 | Kotlin | 0 | 1 | ce3da5b6bddadd29271303840d334b71db7766d2 | 234 | bluetape4k | MIT License |
app/src/main/java/com/brilliancesoft/mushaf/model/DownloadingState.kt | vipafattal | 189,261,183 | false | null | package com.brilliancesoft.mushaf.model
import androidx.room.Entity
import androidx.room.PrimaryKey
import com.brilliancesoft.mushaf.framework.database.helpers.DOWNLOAD_STATE_TABLE
import kotlinx.serialization.Serializable
/**
* Created by ${User} on ${Date}
*/
@Serializable
@Entity(tableName = DOWNLOAD_STATE_TABLE... | 8 | Kotlin | 1 | 3 | 782abb77ed3a284e8329b990c14d4e417a748ab2 | 601 | Mushaf | Apache License 2.0 |
src/commonMain/kotlin/app/start/StartState.kt | leptonquark | 694,379,590 | false | {"Kotlin": 21874, "HTML": 1876} | package app.start
import app.start.contactme.ContactMeItem
data class StartState(
val name: String = "",
val emailAddress: String = "",
val role: String = "",
val contactMeItems: Set<ContactMeItem> = emptySet(),
)
| 4 | Kotlin | 0 | 0 | df57a69e39052a30cf83335bcdcb76057262c0de | 232 | personal-webpage-compose-web | MIT License |
dbflow-tests/src/test/java/com/raizlabs/android/dbflow/test/sql/inherited/InheritorModel.kt | woshilaozhang | 85,462,503 | true | {"INI": 6, "Gradle": 14, "Shell": 1, "EditorConfig": 1, "Markdown": 24, "Proguard": 4, "Text": 1, "Ignore List": 5, "Kotlin": 245, "Java": 189, "XML": 10, "SQL": 1, "Java Properties": 1} | package com.raizlabs.android.dbflow.test.sql.inherited
import com.raizlabs.android.dbflow.annotation.Column
import com.raizlabs.android.dbflow.annotation.InheritedColumn
import com.raizlabs.android.dbflow.annotation.InheritedPrimaryKey
import com.raizlabs.android.dbflow.annotation.PrimaryKey
import com.raizlabs.androi... | 0 | Java | 0 | 0 | 42fdeb4e00d73ef24a8721ff87d394581911611b | 827 | DBFlow | MIT License |
formula-coroutines/src/main/java/com/instacart/formula/coroutines/FlowRuntimeExtensions.kt | instacart | 171,923,573 | false | null | package com.instacart.formula.coroutines
import com.instacart.formula.IFormula
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.flowOf
fun <Output : Any> IFormula<Unit, Output>.toFlow(): Flow<Output> {
return toFlow(input = Unit)
}
fun <Input ... | 7 | Kotlin | 13 | 145 | c563b02103479f27a9f2ce5c798298d27122f69d | 619 | formula | BSD 3-Clause Clear License |
common/src/main/kotlin/org/ksharp/common/ResettableBuilder.kt | ksharp-lang | 573,931,056 | false | null | package org.ksharp.common
import org.ksharp.common.annotation.Mutable
typealias ResettableListBuilder<Item> = ResettableBuilder<MutableList<Item>, List<Item>, ListBuilder<Item>>
@Mutable
class ResettableBuilder<S, V, T : Builder<S, V>>(private val initializer: () -> T) {
private var value: T? = null
fun bu... | 5 | Kotlin | 0 | 0 | 692541f4b9c2a62242c3dff51d3ca7a0376605b1 | 731 | ksharp-kt | Apache License 2.0 |
services/src/main/java/com/github/ppaszkiewicz/tools/services/BindServiceConnection.kt | PPaszkiewicz | 199,046,327 | false | null | package com.github.ppaszkiewicz.tools.services
import android.content.ComponentName
import android.content.Context
import android.content.Intent
import android.content.ServiceConnection
import android.os.Build
import android.os.Handler
import android.os.IBinder
import android.os.Looper
import android.system.Os.bind
im... | 0 | Kotlin | 0 | 0 | 41ea2dd0861dec3682af129147a581af6665fb95 | 32,681 | Tools | Apache License 2.0 |
kakao/src/main/kotlin/com/agoda/kakao/spinner/SpinnerAdapterAssertions.kt | agoda-com | 104,835,572 | false | null | package com.agoda.kakao.spinner
import androidx.test.espresso.assertion.ViewAssertions
import androidx.test.espresso.matcher.ViewMatchers.withSpinnerText
import com.agoda.kakao.common.assertions.AdapterAssertions
import com.agoda.kakao.common.matchers.SpinnerAdapterSizeMatcher
import org.hamcrest.CoreMatchers.contains... | 0 | Kotlin | 109 | 1,133 | 830488f91f1be0009a2543a43290f163e236a329 | 881 | Kakao | Apache License 2.0 |
src/main/kotlin/com/ruslan/growsseth/commands/BookTemplateCommand.kt | filloax | 786,455,213 | false | {"Kotlin": 690718, "Java": 149925, "Python": 52782, "HTML": 50775, "Jupyter Notebook": 50411, "JavaScript": 35720, "PowerShell": 1819, "CSS": 731, "mcfunction": 494, "Batchfile": 213} | package com.ruslan.growsseth.commands
import com.mojang.brigadier.CommandDispatcher
import com.mojang.brigadier.arguments.StringArgumentType
import com.mojang.brigadier.exceptions.DynamicCommandExceptionType
import com.ruslan.growsseth.templates.BookTemplates
import net.minecraft.commands.CommandBuildContext
import ne... | 1 | Kotlin | 1 | 3 | 2d0eda15c8f77b1bdfe459480deecb25c29652d9 | 3,128 | ruins-of-growsseth | MIT License |
WanAndroid-jetpack/app/src/main/java/com/bbq/wanandroid/MainActivity.kt | Youngfellows | 465,233,409 | false | null | package com.bbq.wanandroid
import android.os.Bundle
import androidx.navigation.NavController
import androidx.navigation.NavGraph
import androidx.navigation.NavGraphNavigator
import androidx.navigation.NavigatorProvider
import androidx.navigation.fragment.NavHostFragment
import com.bbq.base.base.BaseVMActivity
import c... | 0 | Kotlin | 0 | 2 | 4ffcba38d9acf5f7019bdcbae5e25112d9380bec | 4,270 | WanAndroid-MVVM-Projects | Apache License 2.0 |
android/app/src/main/kotlin/com/tommygiesbrecht/firstvoucher_mobile_client/MainActivity.kt | tommygiesbrecht | 419,848,720 | false | {"Dart": 51400, "Ruby": 1414, "Swift": 689, "Kotlin": 151, "Objective-C": 38} | package com.tommygiesbrecht.firstvoucher_mobile_client
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 0 | 1 | 87f37ed8cbaf79b72317a3fdc8774f8572bf49d4 | 151 | firstvoucher_mobile_client | Apache License 2.0 |
aws-runtime/aws-config/common/src/aws/sdk/kotlin/runtime/config/endpoints/Resolvers.kt | awslabs | 121,333,316 | false | null | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
package aws.sdk.kotlin.runtime.config.endpoints
import aws.sdk.kotlin.runtime.ConfigurationException
import aws.sdk.kotlin.runtime.InternalSdkApi
import aws.sdk.kotlin.runtime.client.AwsClientOption
impo... | 79 | null | 49 | 407 | 287408211f193624d37678d66b0f31f457017d08 | 4,475 | aws-sdk-kotlin | Apache License 2.0 |
app/src/main/java/com/example/pe_assignment/cancer/BreastCancerRecord02Fragment.kt | FishCatCake | 559,949,594 | false | {"Kotlin": 91899} | package com.example.pe_assignment.cancer
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Button
import androidx.navigation.findNavController
import com.example.pe_assignment.R
class BreastCan... | 0 | Kotlin | 0 | 0 | 921b06247642c550bb280470645996cc0e8a40cd | 973 | SWE401-PEIII-Project | MIT License |
src/main/java/com/chimerapps/gradle/webtranslateit/webtranslateit/TranslationDownloader.kt | Chimerapps | 102,452,142 | false | null | /*
* Copyright 2017 - Chimerapps BVBA
*
* 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 agre... | 0 | Kotlin | 1 | 0 | 0b82acec0ad773525934c97bfac57fcb01650267 | 2,451 | webtranslateit-android-gradle-plugin | Apache License 2.0 |
recyclercalendar/src/main/java/com/tejpratapsingh/recyclercalendar/model/RecyclerCalendarConfiguration.kt | tejpratap46 | 232,281,186 | false | null | package com.tejpratapsingh.recyclercalendar.model
import java.util.*
open class RecyclerCalendarConfiguration(
val calenderViewType: CalenderViewType,
val calendarLocale: Locale,
val includeMonthHeader: Boolean
) {
enum class CalenderViewType {
HORIZONTAL, VERTICAL
}
enum class START_... | 0 | Kotlin | 10 | 98 | e35596e321244fa92bd4b1d61aff07c044d3fa17 | 472 | RecyclerCalendarAndroid | MIT License |
zeppelin/implementation/src/org/intellij/plugin/zeppelin/dependency/models.kt | veor12 | 124,130,369 | false | {"Gradle": 7, "Shell": 1, "Text": 1, "Ignore List": 1, "Markdown": 1, "Java Properties": 1, "Java": 7, "Scala": 3, "XML": 10, "Kotlin": 74} | package org.intellij.plugin.zeppelin.dependency
data class Dependency(val group: String, val id: String, val version: String,
val excludes: List<Exclusion> = emptyList())
data class Exclusion(val group: String, val id: String)
| 5 | null | 1 | 1 | 90dfce523d9ccca40d0001158ce4117eb2c18780 | 251 | Zeppelin-Remote-Run | Apache License 2.0 |
sdk/ui-tests/src/androidTest/kotlin/com/vk/id/util/Locale.kt | VKCOM | 696,297,549 | false | {"Kotlin": 929849, "Shell": 17068, "AIDL": 3429, "JavaScript": 1182} | package com.vk.id.util
import android.content.Context
import android.os.Build
/**
* Returns the current system locale.
*/
internal fun systemLocaleForProviderParam(context: Context): String? {
val systemLocale = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
context.resources.configuration.locale... | 2 | Kotlin | 3 | 28 | b5fae72f77a8edd0211c873346c6f8a4579b99c2 | 662 | vkid-android-sdk | MIT License |
core/src/main/kotlin/io/github/restioson/kettle/entity/component/SoundComponent.kt | Restioson | 91,720,429 | false | null | package io.github.restioson.kettle.entity.component
import com.badlogic.ashley.core.Component
import com.badlogic.gdx.audio.Sound
import com.badlogic.gdx.utils.Pool
/**
* Component for sound
*/
class SoundComponent() : Component, Pool.Poolable {
var sound: Sound? = null
constructor(sound: Sound) : this() ... | 0 | Kotlin | 0 | 4 | 84c2fb79c920144ed25f72bbdc6918213de39e94 | 417 | kettle-engine | Apache License 2.0 |
src/main/kotlin/com/intworkers/application/model/schoolsystem/Grade.kt | bw-international-school-social-worker | 193,161,657 | false | null | package com.intworkers.application.model.schoolsystem
import com.fasterxml.jackson.annotation.JsonIgnore
import com.fasterxml.jackson.annotation.JsonIgnoreProperties
import com.intworkers.application.model.auditing.Auditable
import io.swagger.annotations.ApiModel
import javax.persistence.*
@ApiModel(value = "grades")... | 1 | Kotlin | 2 | 0 | eb876f9862af3b1731788e67952f05850ce96304 | 977 | international-school-socialworker-BE | MIT License |
straight/src/commonMain/kotlin/me/localx/icons/straight/bold/ChartSetTheory.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.straight.bold
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter
i... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 2,932 | icons | MIT License |
raindrop-app/src/main/java/moe/aoramd/raindrop/view/music/MusicFragment.kt | ashishkharcheiuforks | 256,655,890 | true | {"Kotlin": 174764} | package moe.aoramd.raindrop.view.music
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.databinding.DataBindingUtil
import androidx.fragment.app.viewModels
import androidx.lifecycle.Observer
import a... | 0 | null | 0 | 0 | 4285c6a5abade6e0c50a821edce9d5a6919de7fe | 3,872 | Raindrop | Apache License 2.0 |
src/main/kotlin/algorithm/DijkstrasExpressionEvaluator.kt | enderdincer | 610,972,888 | false | null | package algorithm
import Expressions
import java.util.Stack
object DijkstrasExpressionEvaluator {
fun evaluate(expression: String): Double {
val operandsStack = Stack<Double>()
val operatorsStack = Stack<Char>()
expression.forEach {
if (it == Expressions.RIGHT_BRACKET_CHAR) {... | 0 | Kotlin | 0 | 0 | 94d37949c421b104948216632a7f7003584df7b3 | 617 | dijkstras-two-stack-algorithm | MIT License |
src/main/kotlin/io/github/gradlebom/dependency/generators/ExternalDependenciesGenerator.kt | gradle-bom | 366,795,593 | false | null | package io.github.gradlebom.dependency.generators
import io.github.gradlebom.BomGeneratorExtension
import io.github.gradlebom.dependency.IncludedDependency
internal class ExternalDependenciesGenerator : IncludedDependenciesGenerator {
override fun generate(extension: BomGeneratorExtension): Sequence<IncludedDepen... | 7 | Kotlin | 3 | 7 | 14861a3ab30ce06eab6cb357288ca0927c231377 | 401 | gradle-bom-generator-plugin | MIT License |
app/shared/bitkey-primitives/public/src/commonMain/kotlin/build/wallet/bitkey/inheritance/InheritanceMaterialPackage.kt | proto-at-block | 761,306,853 | false | {"C": 10474259, "Kotlin": 8243078, "Rust": 2779264, "Swift": 893661, "HCL": 349246, "Python": 338898, "Shell": 136508, "TypeScript": 118945, "C++": 69203, "Meson": 64811, "JavaScript": 36398, "Just": 32977, "Ruby": 13559, "Dockerfile": 5934, "Makefile": 3915, "Open Policy Agent": 1552, "Procfile": 80} | package build.wallet.bitkey.inheritance
import build.wallet.bitkey.relationships.RelationshipId
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
/**
* Inheritance data needed for a beneficiary to perform an inheritance claim.
*
* This data is uploaded by a customer to be stored in ... | 3 | C | 16 | 113 | 694c152387c1fdb2b6be01ba35e0a9c092a81879 | 1,065 | bitkey | MIT License |
src/main/kotlin/com/atlassian/onetime/service/TOTPService.kt | atlassian-labs | 512,548,362 | false | null | package com.atlassian.onetime.service
import com.atlassian.onetime.core.TOTP
import com.atlassian.onetime.core.TOTPGenerator
import com.atlassian.onetime.model.EmailAddress
import com.atlassian.onetime.model.Issuer
import com.atlassian.onetime.model.TOTPSecret
import java.net.URI
import java.net.URLEncoder
import java... | 3 | Kotlin | 1 | 31 | 18e483c72798086b457004457c7b8386ff3788ad | 2,357 | 1time | Apache License 2.0 |
kotlin-mui-icons/src/main/generated/mui/icons/material/ThermostatAutoOutlined.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/ThermostatAutoOutlined")
@file:JsNonModule
package mui.icons.material
@JsName("default")
external val ThermostatAutoOutlined: SvgIconComponent
| 12 | Kotlin | 145 | 983 | a99345a0160a80a7a90bf1adfbfdc83a31a18dd6 | 226 | kotlin-wrappers | Apache License 2.0 |
app/src/test/java/com/example/scoreapp/ui/viewmodel/GameViewModelTest.kt | diegoleonds | 297,791,494 | false | null | package com.example.scoreapp.ui.viewmodel
import androidx.arch.core.executor.testing.InstantTaskExecutorRule
import com.example.scoreapp.data.model.Game
import com.example.scoreapp.domain.usecase.GetUpdatedViewSeason
import com.example.scoreapp.domain.usecase.UpdateGameUseCase
import com.example.scoreapp.ui.model.Seas... | 0 | Kotlin | 0 | 2 | e4a561a0d45b0fdb9a921a8ca3ff9c987b2df77d | 2,528 | ScoreApp | MIT License |
acceptance-tests/src/main/kotlin/org/ostelco/at/jersey/Tests.kt | sami-alajrami | 145,691,257 | false | {"Gradle": 25, "YAML": 32, "Markdown": 33, "Shell": 31, "Text": 1, "Ignore List": 11, "Batchfile": 1, "Dockerfile": 9, "Kotlin": 146, "XML": 27, "Java": 24, "Java Properties": 2, "OASv2-yaml": 2, "INI": 1, "Protocol Buffer": 2, "JSON": 3, "PlantUML": 19, "SVG": 13, "Cypher": 1} | package org.ostelco.at.jersey
import org.junit.Test
import org.ostelco.at.common.Payment.createPaymentSourceId
import org.ostelco.at.common.createProfile
import org.ostelco.at.common.createSubscription
import org.ostelco.at.common.expectedProducts
import org.ostelco.at.common.logger
import org.ostelco.at.common.random... | 1 | null | 1 | 1 | b642713279f783ca8fa643713cc34f6c8b3560cb | 15,985 | ostelco-core | Apache License 2.0 |
app/src/main/java/com/example/reply/ui/navigation/NavHost.kt | bingningO | 833,053,522 | false | {"Kotlin": 79019} | package com.example.reply.ui.navigation
import androidx.compose.material3.Surface
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.unit.dp
import androidx.hilt.navigation.compose.hiltViewModel
import androidx.navigation.NavHostController
import androidx.navigati... | 0 | Kotlin | 0 | 0 | 232399a85b5d82b4f8b6f8741d664a33ec0843c3 | 1,189 | screenshot-testing-sample-app | Apache License 2.0 |
src/main/kotlin/com/github/dineug/erdeditorintellijplugin/files/ErdEditorIcons.kt | dineug | 745,689,741 | false | {"Kotlin": 32105} | package com.github.dineug.erdeditorintellijplugin.files
import com.intellij.openapi.util.IconLoader
object ErdEditorIcons {
@JvmField
val ErdEditorFileIcon = IconLoader.getIcon("icons/erd-editor-file-icon.svg", javaClass)
}
| 0 | Kotlin | 0 | 5 | 7614de5274a1d1a9d22db25f6658ee94e2bb5259 | 234 | erd-editor-intellij-plugin | MIT License |
objects/src/commonMain/kotlin/ru/krindra/vkkt/objects/utils/UtilsStatsSexAge.kt | krindra | 780,080,411 | false | {"Kotlin": 1336107} | package ru.krindra.vkkt.objects.utils
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
/**
*
* @param ageRange Age denotation
* @param female Views by female users
* @param male Views by male users
*/
@Serializable
data class UtilsStatsSexAge (
@SerialName("male") val male:... | 0 | Kotlin | 0 | 1 | 58407ea02fc9d971f86702f3b822b33df65dd3be | 446 | VKKT | MIT License |
enro/src/androidTest/java/dev/enro/TestApplication.kt | isaac-udy | 256,179,010 | false | {"Kotlin": 1278674} | package dev.enro
import android.app.Application
import dev.enro.annotations.NavigationComponent
import dev.enro.core.compose.composableDestination
import dev.enro.core.controller.NavigationApplication
import dev.enro.core.controller.createNavigationController
import dev.enro.core.destinations.ComposableDestinations
im... | 2 | Kotlin | 13 | 242 | e43cc14968d750fe748b2e83d6554ea131bfef77 | 2,006 | Enro | Apache License 2.0 |
app/src/main/java/com/febers/uestc_bbs/module/search/view/SearchPostFragment.kt | Febers | 135,606,653 | false | null | package com.febers.uestc_bbs.module.search.view
import android.app.ProgressDialog
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView
import com.febers... | 1 | null | 11 | 41 | b9da253984e2febc235121ac6745bfbc215a7609 | 4,050 | UESTC_BBS | Apache License 2.0 |
matrix-sdk-android/src/main/java/im/vector/matrix/android/internal/session/signout/SignOutTask.kt | VenkatAdk7 | 206,477,660 | false | null | /*
* Copyright 2019 New Vector Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | 0 | null | 0 | 1 | a89f0ddd1db01317fd62fecd359848056e9ca2c3 | 1,682 | RiotMatrixAndroid | Apache License 2.0 |
data/src/main/java/com/sonphil/canadarecallsandsafetyalerts/data/api/model/details/ApiRecallDetailsPanel.kt | Sonphil | 237,512,399 | false | null | package com.sonphil.canadarecallsandsafetyalerts.data.api.model.details
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
@JsonClass(generateAdapter = true)
data class ApiRecallDetailsPanel(
@Json(name = "data")
val `data`: List<ApiRecallDetailsImage>?,
@Json(name = "panelName")
val p... | 0 | Kotlin | 0 | 1 | 7c7e02702861ce87c5a058a05acfcc61cb8f78f6 | 436 | CanadaRecallsAndSafetyAlerts | Apache License 2.0 |
compose/integration-tests/macrobenchmark/src/main/java/androidx/compose/integration/macrobenchmark/PagerBenchmark.kt | androidx | 256,589,781 | false | {"Kotlin": 112114129, "Java": 66594571, "C++": 9132142, "AIDL": 635065, "Python": 325169, "Shell": 194520, "TypeScript": 40647, "HTML": 35176, "Groovy": 27178, "ANTLR": 26700, "Svelte": 20397, "CMake": 15512, "C": 15043, "GLSL": 3842, "Swift": 3153, "JavaScript": 3019} | /*
* Copyright 2022 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... | 29 | Kotlin | 1011 | 5,321 | 98b929d303f34d569e9fd8a529f022d398d1024b | 13,069 | androidx | Apache License 2.0 |
MavenPublish/lib/src/main/java/com/xurui/lib/PublishActivity1.kt | pengxurui | 364,502,372 | false | null | package com.xurui.lib
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
class PublishActivity1 : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_publish)
}
} | 1 | Kotlin | 14 | 53 | 08c1b999760dcedd29408f50f0a0e74f4cbc0391 | 301 | DemoHall | Apache License 2.0 |
MavenPublish/lib/src/main/java/com/xurui/lib/PublishActivity1.kt | pengxurui | 364,502,372 | false | null | package com.xurui.lib
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
class PublishActivity1 : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_publish)
}
} | 1 | Kotlin | 14 | 53 | 08c1b999760dcedd29408f50f0a0e74f4cbc0391 | 301 | DemoHall | Apache License 2.0 |
lecture12/12-3_LazyComposables/app/src/main/java/dk/itu/moapd/lazycomposables/MainActivity.kt | fabricionarcizo | 591,892,856 | false | null | /*
* MIT License
*
* Copyright (c) 2023 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,
* including without limitation the rights to use, copy, modify, merg... | 0 | Kotlin | 6 | 0 | 1a691e80d1f76e16510286350866df6f0baa7760 | 4,206 | moapd2023 | MIT License |
app/src/main/java/cz/prague/cvut/fit/steuejan/amtelapp/view_models/activities/TeamInfoActivityVM.kt | hawklike | 234,594,207 | false | {"Text": 1, "Ignore List": 1, "Markdown": 1, "Kotlin": 162, "XML": 116, "Java": 2} | package cz.prague.cvut.fit.steuejan.amtelapp.view_models.activities
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.github.mikephil.charting.data.PieEntry
import cz.prague.cvut.fit.steuejan.amtelapp.App... | 1 | null | 1 | 1 | 1f88ddbcbd8e547158a4677c934b4dbf18ec82e1 | 5,755 | Amtel-App | MIT License |
src/main/kotlin/org/cmieux/parser/ast/nodes/TopLevelStatementNode.kt | 422404 | 312,337,271 | false | null | package org.cmieux.parser.ast.nodes
import org.cmieux.parser.SourcePosition
abstract class TopLevelStatementNode(position: SourcePosition): ASTNode(position)
| 1 | null | 1 | 1 | 8a01703d6ff65392017477146304c3d914de555e | 160 | CMieux | MIT License |
bot/src/main/kotlin/me/y9san9/prizebot/handlers/choosen_inline_result/commands/SendGiveawayCommand.kt | nullcookies | 354,393,208 | true | {"Kotlin": 113608} | package me.y9san9.prizebot.handlers.choosen_inline_result.commands
import me.y9san9.prizebot.extensions.telegram.PrizebotChosenInlineResultUpdate
object SendGiveawayCommand {
fun handle(update: PrizebotChosenInlineResultUpdate) {
update.di.addActiveMessage (
giveawayId = update.resultId.toLon... | 0 | null | 0 | 0 | a06f7c2fb5193b07e645ca2f848e8242f609a2fb | 420 | prizebot | MIT License |
ktor-intellij-plugin/src/io/ktor/start/intellij/locations/ParameterRenameProcessor.kt | searjeant | 269,642,824 | true | {"Kotlin": 529395, "HTML": 11844, "Java": 4473, "CSS": 1049} | package io.ktor.start.intellij.locations
import com.intellij.openapi.editor.Editor
import com.intellij.psi.PsiElement
import com.intellij.psi.PsiReference
import com.intellij.psi.util.parentOfType
import com.intellij.refactoring.listeners.RefactoringElementListener
import com.intellij.refactoring.rename.RenamePsiEleme... | 0 | null | 0 | 1 | 2ce787d9bb2df1230bb99276fafffbb29584adf6 | 2,981 | ktor-init-tools | Apache License 2.0 |
app/src/main/java/com/artear/stevedoreviewsexample/loading/LoadingViewHolder.kt | Artear | 176,757,658 | false | null | package com.artear.stevedoreviewsexample.loading
import android.view.View
import android.view.View.GONE
import android.view.View.VISIBLE
import android.widget.ProgressBar
import androidx.recyclerview.widget.RecyclerView
import com.artear.stevedore.stevedoreitems.presentation.contract.ArtearViewHolder
import com.artear... | 0 | Kotlin | 0 | 0 | aee7531462a451001592433472a571962f29deb1 | 2,667 | app_lib_stevedoreviews_android | Apache License 2.0 |
app/src/main/java/com/moumou/beachvolleyballweather/activities/MainActivity.kt | dennism1997 | 91,706,913 | false | null | package com.moumou.beachvolleyballweather.activities
import android.app.Activity
import android.content.Intent
import android.content.pm.PackageManager
import android.location.Geocoder
import android.os.Bundle
import android.support.v4.app.ActivityCompat
import android.support.v4.content.ContextCompat
import android.s... | 1 | Kotlin | 0 | 0 | 65504e94cca34573cfca3cc943e5550d1815a462 | 4,980 | BeachVolleyballWeather | MIT License |
src/main/kotlin/com/api/budgeteer/features/item/ItemDTO.kt | AnasChhilif | 804,789,537 | false | {"Kotlin": 44123, "Dockerfile": 1061, "Shell": 63} | package com.api.budgeteer.features.item
data class ItemDTO(var id: Long?, var userId: Long, var name: String, var price: Double, var quantity: Int) {
} | 3 | Kotlin | 0 | 0 | b8ccf687a04937e29e713679300eb2e2ca96ff32 | 153 | budgeteer-api | MIT License |
kottage/core/src/androidMain/kotlin/io/github/irgaly/kottage/platform/Calendar.kt | irgaly | 361,384,869 | false | {"Kotlin": 442716, "JavaScript": 195} | package io.github.irgaly.kottage.platform
actual class Calendar {
actual companion object {
actual fun getUnixTimeMillis(): Long {
return System.currentTimeMillis()
}
}
}
| 14 | Kotlin | 0 | 71 | 2c0332abc3d18c7ef75deefeaf58c95b5bc2cf04 | 208 | kottage | Apache License 2.0 |
kotlin-mui-icons/src/main/generated/mui/icons/material/AgricultureOutlined.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/AgricultureOutlined")
package mui.icons.material
@JsName("default")
external val AgricultureOutlined: SvgIconComponent
| 12 | Kotlin | 5 | 983 | 372c0e4bdf95ba2341eda473d2e9260a5dd47d3b | 202 | kotlin-wrappers | Apache License 2.0 |
walletlibrary/src/main/java/com/microsoft/walletlibrary/did/sdk/datasource/network/credentialOperations/SendPresentationResponseNetworkOperation.kt | microsoft | 567,422,889 | false | null | /*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... | 6 | null | 4 | 18 | a65908a063eb06383e235bd68c8ddd8815802eaa | 1,680 | entra-verifiedid-wallet-library-android | MIT License |
src/main/kotlin/br/com/alura/service/RegistraChavePixService.kt | PedroAugustoZup | 408,182,065 | true | {"Kotlin": 54924} | package br.com.alura.service
import br.com.alura.clients.BcbClient
import br.com.alura.clients.ContasClient
import br.com.alura.clients.dto.reponse.ContaApiResponse
import br.com.alura.clients.dto.request.ContaRequest
import br.com.alura.clients.dto.request.CreatePixKeyRequest
import br.com.alura.clients.dto.request.T... | 0 | Kotlin | 0 | 0 | 4862fb2d8dbff0260a0db23db6c41e23ac157684 | 2,787 | orange-talents-07-template-pix-keymanager-grpc | Apache License 2.0 |
data/src/main/java/com/github/hadilq/mobiletakehome/data/db/AppDatabase.kt | hadilq | 186,087,238 | true | {"Kotlin": 105469, "Java": 4723} | /***
* Copyright 2019 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writ... | 0 | Kotlin | 0 | 0 | cc75803c9dec14c07dde48d79b6936403580abe0 | 4,449 | mobile-take-home | Apache License 2.0 |
opensrp-chw-hiv/src/main/java/org/smartregister/chw/hiv/activity/BaseIndexContactsListActivity.kt | SoftmedTanzania | 425,199,185 | true | {"Kotlin": 206779, "Java": 287} | package org.smartregister.chw.hiv.activity
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.graphics.PorterDuff
import android.os.Bundle
import android.view.View
import android.widget.LinearLayout
import android.widget.ProgressBar
import android.widget.TextView
im... | 1 | Kotlin | 1 | 0 | 813cc6e643ef969e832343df3a874b1574c4b1ca | 5,455 | opensrp-client-chw-hiv | Apache License 2.0 |
src/main/kotlin/fl9/Node.kt | MirrgieRiana | 381,613,617 | false | null | package fl9
import fl9.channel.Operator
import fl9.channel.OperatorContext
import fl9.channel.operators
import fl9.domain.*
// NodeクラスはJSが与えるのでメンバメソッドを持てない
data class Node(val type: String, val value: Any, val location: Location)
fun <I> Node.isType(operator: Operator<I>) = type == operator.type
inline fun <I> Node.... | 2 | Kotlin | 0 | 0 | 8473ca4424235d727bd0a57fc79a653e78fb3cbc | 1,783 | fluorite9 | Apache License 2.0 |
src/main/kotlin/com/github/cpjinan/plugin/akarilevel/internal/database/DbCache.kt | CPJiNan | 672,557,565 | false | {"Kotlin": 47833} | package com.github.cpjinan.plugin.akarilevel.internal.database
import com.github.cpjinan.plugin.akarilevel.internal.database.type.PlayerData
object DbCache : Database {
val playerData: HashMap<String, PlayerData> = hashMapOf()
override fun getPlayerByName(name: String): PlayerData = playerData[name] ?: Playe... | 1 | Kotlin | 2 | 4 | 3211c9c5d7a59d9f08409388a028f7d7791bd184 | 462 | AkariLevel | Creative Commons Zero v1.0 Universal |
core/src/main/kotlin/com/bartlomiejpluta/smnp/dsl/ast/model/node/MapEntryNode.kt | bartlomiej-pluta | 247,806,164 | false | null | package com.bartlomiejpluta.smnp.dsl.ast.model.node
class MapEntryNode(key: Node, operator: Node, value: Node) : Node(2, operator.position) {
val key: Node
get() = children[0]
val value: Node
get() = children[1]
init {
children[0] = key
children[1] = value
}
} | 0 | Kotlin | 0 | 0 | 88f2089310b2a23b2ce63fb6be23a96db156ea4a | 303 | smnp-kt | MIT License |
app/src/main/java/ar/com/play2play/presentation/truco/envidoCalculator/EnvidoMessageCalculator.kt | UTN-FRBA-Mobile | 365,641,042 | false | null | package ar.com.play2play.presentation.truco.envidoCalculator
import ar.com.play2play.R
import ar.com.play2play.model.truco.TeamPlayer
import ar.com.play2play.presentation.truco.actions.TrucoAction
import ar.com.play2play.presentation.truco.actions.TrucoAction.ShowEnvidoPoints
object EnvidoMessageCalculator {
fun... | 0 | Kotlin | 1 | 0 | da5e0c7a2c648cda4ae4192b254495f3de83b4b3 | 4,651 | Play2Play | MIT License |
AndroidApp/domain/src/main/kotlin/me/nya_n/notificationnotifier/domain/usecase/impl/LoadAppUseCaseImpl.kt | ptkNktq | 50,931,408 | false | {"Kotlin": 137248, "HTML": 35029, "C#": 4925} | package me.nya_n.notificationnotifier.domain.usecase.impl
import android.content.pm.PackageManager
import androidx.annotation.VisibleForTesting
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.withContext
import me.nya_n.notificationnotifier.data.repository.AppRepository
import me.nya_n.notificationnoti... | 4 | Kotlin | 0 | 1 | ca50ab6c047cd8b8578a6887931efe41b2b580f6 | 2,306 | AndroidNotificationNotifier | MIT License |
componentk/src/main/java/com/mozhimen/componentk/netk/app/task/NetKAppTaskManager.kt | mozhimen | 353,952,154 | false | {"Kotlin": 2576552, "Java": 323729, "AIDL": 1012} | package com.mozhimen.componentk.netk.app.task
import com.mozhimen.basick.cachek.datastore.CacheKDS
import com.mozhimen.basick.cachek.datastore.temps.CacheKDSVarPropertyBoolean
import com.mozhimen.basick.utilk.bases.IUtilK
import com.mozhimen.basick.utilk.java.io.UtilKFileDir
import com.mozhimen.basick.utilk.java.io.de... | 0 | Kotlin | 7 | 114 | dc897f220ef5997062821a3da2192a70f35fbe95 | 1,530 | SwiftKit | Apache License 2.0 |
src/main/kotlin/no/nav/syfo/utenlandsk/api/UtenlandskSykmeldingApi.kt | navikt | 464,849,616 | false | {"Kotlin": 301480, "TypeScript": 89496, "CSS": 3260, "HTML": 352, "JavaScript": 347, "Dockerfile": 278} | package no.nav.syfo.utenlandsk.api
import io.ktor.http.*
import io.ktor.server.application.call
import io.ktor.server.request.receive
import io.ktor.server.response.respond
import io.ktor.server.routing.Route
import io.ktor.server.routing.post
import no.nav.syfo.model.HttpMessage
import no.nav.syfo.model.OppgaveOppret... | 0 | Kotlin | 1 | 1 | a7494099764d811958590b962904b14ebcd594ed | 2,417 | teamsykmelding-mock | MIT License |
app/src/main/java/com/swago/seenthemlive/ui/friends/ImportViewModel.kt | ajswago | 213,768,383 | false | null | package com.swago.seenthemlive.ui.friends
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.swago.seenthemlive.api.setlistfm.Setlist
import com.swago.seenthemlive.firebase.firestore.UserRepository
import com.swago.seenthemlive.ui.search.SetlistItem
import com.swago.seenthemlive.u... | 0 | Kotlin | 0 | 0 | 2c325c618dabbc6f269f463be63376d901be73c5 | 2,580 | seen-them-live | MIT License |
matrix-sdk-android/src/main/java/im/vector/matrix/android/internal/session/room/timeline/ClearUnlinkedEventsTask.kt | unixcrh | 216,604,681 | false | null | /*
* Copyright 2019 New Vector Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 0 | null | 0 | 1 | 723a007c39c38cfe1078d9f1fc562aba6a4555c7 | 1,834 | riotX-android | Apache License 2.0 |
heroapp/src/main/java/com/preachooda/heroapp/section/login/domain/LoginStatus.kt | Ko4eBHuK | 768,244,174 | false | {"Kotlin": 869239} | package com.preachooda.heroapp.section.login.domain
enum class LoginStatus {
LOGGED, NOT_LOGGED
} | 0 | Kotlin | 0 | 0 | 8c7051c9000bd132e27be0ce786a6881661791ce | 102 | BokuNoHeroServiceApps | The Unlicense |
gson/src/main/kotlin/au/com/redcrew/apisdkcreator/httpclient/gson/gson-adapter.kt | RedCrewOS | 457,583,996 | false | null | package au.com.redcrew.apisdkcreator.httpclient.gson
import arrow.core.Either
import au.com.redcrew.apisdkcreator.httpclient.*
import com.google.gson.Gson
import kotlin.reflect.KClass
private fun toUnmarshallingError(message: String?, cause: Any): SdkError =
SdkError(UNMARSHALLING_ERROR_TYPE, message ?: "", cause... | 0 | Kotlin | 0 | 0 | 711ec3d93f796c6efea9f40f24a516b7504a9e25 | 1,084 | api-sdk-creator-jvm | MIT License |
core/src/main/kotlin/com/kotling/rendering/Indices.kt | b005t3r | 56,796,079 | false | {"Gradle": 5, "INI": 1, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Kotlin": 48, "GLSL": 4, "XML": 1, "JSON": 2, "Java Properties": 1, "PLSQL": 1, "Java": 1} | package com.kotling.rendering
import com.badlogic.gdx.graphics.VertexAttributes
import com.badlogic.gdx.math.EarClippingTriangulator
class Indices(initialCapacity:Int = MIN_CAPACITY) : Iterable<Short>, Sequence<Short>, Cloneable {
private object Triangulator : EarClippingTriangulator() {
//private object Tria... | 0 | Kotlin | 0 | 1 | 9ff9027bd25c66a37fb7538216d685b30929532c | 6,203 | Kotling | MIT License |
core/src/main/java/com/github/dudgns0507/core/base/BaseViewModel.kt | dudgns0507 | 379,595,025 | false | null | package com.github.dudgns0507.core.base
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.SavedStateHandle
import androidx.lifecycle.ViewModel
import com.github.dudgns0507.core.util.network.GenericError
import com.github.dudgns0507.core.util.network.ResultWrapper
im... | 1 | null | 1 | 2 | c69453e3898271eba176975a8f5d1f2cc38386aa | 1,964 | MVVM-cropo | The Unlicense |
appLayer/src/main/java/com/aenadgrleey/tobedone/work/UpdateRemoteWorker.kt | Mobile-Developement-School-23 | 653,652,069 | false | null | package com.aenadgrleey.tobedone.work
import android.content.Context
import androidx.hilt.work.HiltWorker
import androidx.work.CoroutineWorker
import androidx.work.WorkerParameters
import com.aenadgrleey.tobedone.data.datasources.TodoItemsLocalDataSource
import com.aenadgrleey.tobedone.data.datasources.TodoItemsRemote... | 0 | Kotlin | 0 | 1 | e688479bf36eb981461c3d8eee9e1a274dfc3206 | 1,912 | android-todo-app-aenadgrleey | Apache License 2.0 |
java/me/antonio/noack/elementalcommunity/CandidateView.kt | AntonioNoack | 181,624,015 | false | null | package me.antonio.noack.elementalcommunity
import android.content.Context
import android.graphics.Canvas
import android.graphics.Paint
import android.graphics.Path
import android.util.AttributeSet
import android.view.GestureDetector
import android.view.MotionEvent
import android.view.View
import me.antonio.noack.elem... | 0 | Kotlin | 0 | 2 | 4c9d4c8aa83e89b379cadad164aa720af5b74227 | 4,825 | ElementalCommunity | Apache License 2.0 |
app/src/main/java/com/example/jpmorgantest/data/sources/search/SearchRepository.kt | Sushanth12361 | 861,347,513 | false | {"Kotlin": 126062, "Java": 3448} | package com.example.jpmorgantest.data.sources.search
import com.example.jpmorgantest.data.sources.search.local.SearchLocalDataSource
import com.example.jpmorgantest.data.sources.search.mapper.SearchResultMapper
import com.example.jpmorgantest.data.sources.search.remote.SearchRemoteDataSource
import com.example.jpmorga... | 0 | Kotlin | 0 | 0 | 6c0607adaba5018572237a7d51adcf0cd71a6540 | 1,487 | JPMC | Apache License 2.0 |
app/src/main/java/br/com/alura/orgs/ui/activity/ListaProdutosActivity.kt | ThailanDev | 547,926,133 | false | null | package br.com.alura.orgs.ui.activity
import android.annotation.SuppressLint
import android.content.Intent
import android.os.Bundle
import android.view.Menu
import android.view.MenuItem
import androidx.appcompat.app.AppCompatActivity
import br.com.alura.orgs.R
import br.com.alura.orgs.database.AppDatabase
import br.co... | 0 | Kotlin | 0 | 0 | 3e67acfcf7808075fa4044533cd1f120e9e38008 | 3,348 | Orgs | MIT License |
src/commonTest/kotlin/pw/binom/bitarray/Bitset32Test.kt | caffeine-mgn | 451,684,511 | false | {"Kotlin": 52361} | package pw.binom
import kotlin.test.assertEquals
class Bitset32Test : AbstractBitArrayTest() {
override fun makeNew(): BitArray = BitArray32()
override fun toStringTest() {
var set = BitArray32()
set = set.update(0, true)
set = set.update(1, true)
set = set.update(31, true)
... | 0 | Kotlin | 0 | 3 | 9e431c76947dccc961aba965d600867bae9270b9 | 399 | bitarray | Apache License 2.0 |
retrofit-extension/src/main/java/com/janphkre/laminat/retrofit/annotations/header/MatchHeaders.kt | janphkre | 213,916,389 | false | null | package com.janphkre.laminat.retrofit.annotations.header
/**
* Define a list of definitions for request headers that should
* be matched with regexes.
* @property values the regex header definitions
*/
@Target(AnnotationTarget.FUNCTION)
@Retention(AnnotationRetention.RUNTIME)
annotation class MatchHeaders(
val... | 0 | Kotlin | 0 | 0 | 2989ace01d054d94fb103b80553c7bae262e900b | 349 | laminat-retrofit | Apache License 2.0 |
mockito1_kotlin/src/main/kotlin/be/vergauwen/simon/mockito1_kotlin/Mockito.kt | appfoundry | 68,204,452 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Kotlin": 43, "Proguard": 1, "Java": 4, "XML": 5} | package be.vergauwen.simon.mockito1_kotlin
/*
* The MIT License
*
* Copyright (c) 2016 <NAME>
* Copyright (c) 2016 <NAME>
* Copyright (c) 2007 Mockito contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwa... | 0 | Kotlin | 0 | 3 | 6e740828e822a0e916f38dc75930f7592b82ff23 | 6,481 | android-spek-sample | MIT License |
sample/src/main/java/dev/teapot/sample/data/IAppPrefs.kt | sgrekov | 144,774,391 | false | {"Kotlin": 138941} | package dev.teapot.sample.data
interface IAppPrefs {
suspend fun getUserSavedCredentials2() : Pair<String, String>
suspend fun saveUserSavedCredentials2(login : String, pass : String) : Boolean
} | 0 | Kotlin | 2 | 30 | 01724b845aacf0ec0085b47906ceb4041f74b6d9 | 205 | Teapot | Apache License 2.0 |
src/main/kotlin/com/github/lppedd/cc/CCConstants.kt | cybernetics | 298,378,217 | true | {"Kotlin": 210342, "HTML": 11442, "Java": 5008} | @file:JvmName("CCConstants")
package com.github.lppedd.cc
import com.github.lppedd.cc.completion.Priority
const val APP_NAME: String = "ConventionalCommit"
const val STORAGE_FILE: String = "conventionalCommit.xml"
const val DEFAULT_FILE: String = "conventionalcommit.json"
const val COAUTHORS_FILE: String = "conventi... | 0 | null | 0 | 0 | e43b346b69ff582caa02aa82695c9b5d4dfb135b | 977 | idea-conventional-commit | MIT License |
app/src/main/java/com/adreal/birdmessenger/Repository/Repository.kt | adisingh925 | 468,892,232 | false | null | package com.adreal.birdmessenger.Repository
import androidx.lifecycle.LiveData
import androidx.lifecycle.viewModelScope
import androidx.paging.DataSource
import com.adreal.birdmessenger.Dao.Dao
import com.adreal.birdmessenger.Database.Database
import com.adreal.birdmessenger.Model.ChatModel
import com.adreal.birdmesse... | 0 | Kotlin | 0 | 1 | 440fefb6d647e699920fc9d6b4281cb6772a64f1 | 894 | BirdMessenger | Apache License 2.0 |
infrastructure-kotlin/src/main/kotlin/kotlin/internal/Kotlin.kt | RedMadRobot | 305,119,202 | false | null | package com.redmadrobot.build.kotlin.internal
import com.redmadrobot.build.InfrastructurePlugin
import com.redmadrobot.build.dsl.isRunningOnCi
import com.redmadrobot.build.dsl.kotlinCompile
import com.redmadrobot.build.internal.InternalGradleInfrastructureApi
import com.redmadrobot.build.internal.findBooleanProperty
i... | 16 | null | 2 | 41 | fb93711ccbdd81cfd0864720bb55cbfa752e8fec | 1,113 | gradle-infrastructure | MIT License |
feature-manga-list/src/main/java/com/melonhead/feature_manga_list/ui/scenes/dialogs/TitleChangeDialog.kt | taffyrat | 542,405,576 | false | {"Kotlin": 155176} | package com.melonhead.mangadexfollower.ui.scenes.home.dialogs
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.selection.selectable
i... | 7 | Kotlin | 0 | 0 | ee2deda19aa43f7480da66f65ad7409cfe1c53a9 | 2,965 | mangadexdroid | Do What The F*ck You Want To Public License |
app/src/main/java/com/vcheck/sdk/core/presentation/adapters/ProvidersListAdapter.kt | VCheckOrg | 530,737,486 | false | {"Kotlin": 332356, "Java": 13291} | package com.vcheck.sdk.core.presentation.adapters
import android.graphics.Color
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.vcheck.sdk.core.VCheckSDK
import com.vcheck.sdk.core.databinding.ListItemProviderBinding
import com.vcheck.sdk.cor... | 0 | Kotlin | 0 | 0 | 856cf4c7ce479ff26cbccab3a2b965400d9b15fb | 2,645 | vcheck_android | MIT License |
src/main/kotlin/com/github/gantsign/maven/doxia/sink/kotlin/content/DateContainer.kt | gantsign | 133,130,534 | false | null | /*-
* #%L
* doxia-sink-api-ktx
* %%
* Copyright (C) 2018 GantSign Ltd.
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*... | 0 | Kotlin | 0 | 0 | e518f1d8f94b9c3a5b03bbba971d2add469a4d81 | 926 | doxia-sink-api-ktx | Apache License 2.0 |
compiler/testData/codegen/boxInline/anonymousObject/kt8133.1.kt | erokhins | 44,854,854 | true | {"Markdown": 33, "XML": 665, "Ant Build System": 45, "Ignore List": 7, "Git Attributes": 1, "Kotlin": 20967, "Java": 4534, "Protocol Buffer": 7, "Text": 4663, "JavaScript": 63, "JAR Manifest": 3, "Roff": 46, "Roff Manpage": 11, "INI": 17, "HTML": 152, "Groovy": 23, "Java Properties": 14, "Maven POM": 49, "Gradle": 74, ... | import test.*
interface foo {
fun bar(): String
}
fun box(): String {
val baz = "OK".myLet {
object : foo {
override fun bar() = it
}
}
return baz.bar()
} | 0 | Java | 0 | 1 | ff00bde607d605c4eba2d98fbc9e99af932accb6 | 200 | kotlin | Apache License 2.0 |
app/src/main/java/org/lotka/bp/presentation/ui/dashboard/Dashboard.kt | mobinjafari | 645,700,541 | false | null | package org.lotka.bp.presentation.ui.dashboard
import org.lotka.bp.presentation.ui.dashboard.DashboardCategory.*
enum class DashboardCategory(val value: String){
ERROR("error"),
CHICKEN("Chicken"),
BEEF("Beef"),
SOUP("Soup"),
DESSERT("Dessert"),
VEGETARIAN("Vegetarian"),
MILK("Milk"),
... | 0 | Kotlin | 1 | 8 | 51ba36ea6e4435f28c9c260fa998f558135115a6 | 690 | Best-Practice-Kotlin | Apache License 2.0 |
simplified-tests/src/test/java/org/nypl/simplified/tests/mocking/MockLCPService.kt | ThePalaceProject | 367,082,997 | false | {"Kotlin": 3275959, "JavaScript": 853788, "Java": 374503, "CSS": 65407, "HTML": 49220, "Shell": 5017, "Ruby": 178} | package org.nypl.simplified.tests.mocking
import android.app.Application
import kotlinx.coroutines.DelicateCoroutinesApi
import org.mockito.Mockito
import org.readium.r2.lcp.LcpAuthenticating
import org.readium.r2.lcp.LcpError
import org.readium.r2.lcp.LcpLicense
import org.readium.r2.lcp.LcpService
import org.readium... | 0 | Kotlin | 4 | 8 | 91e03d505fc718dcc977930eb668761898ccdfc1 | 2,776 | android-core | Apache License 2.0 |
maps-kt-core/src/commonMain/kotlin/center/sciprog/maps/coordinates/WebMercatorProjection.kt | SciProgCentre | 514,287,233 | false | null | /*
* Copyright 2018-2021 KMath contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package center.sciprog.maps.coordinates
import kotlin.math.*
public data class WebMercatorCoordinates(val zoom: Int, val x: Double, val y: Double)
pub... | 6 | Kotlin | 3 | 15 | e7cb006a3c9ef6ccf587598f5a0e216670346c7a | 2,464 | maps-kt | Apache License 2.0 |
relateddigital-google/src/main/java/com/relateddigital/relateddigital_google/remoteConfig/RemoteConfigHelper.kt | relateddigital | 570,038,292 | false | {"Kotlin": 1551723, "HTML": 27616} | package com.relateddigital.relateddigital_google.remoteConfig
import android.content.Context
import android.util.Log
import com.relateddigital.relateddigital_google.RelatedDigital
import com.relateddigital.relateddigital_google.api.ApiMethods
import com.relateddigital.relateddigital_google.api.RemoteConfigApiClient
im... | 0 | Kotlin | 0 | 3 | 52947878ea65476a7576a70be69a871543acea26 | 3,089 | relateddigital-google | Amazon Digital Services License |
app/src/main/java/com/example/a10minutesworkout/ExercisesActivity.kt | Rizeq-D | 842,767,725 | false | {"Kotlin": 5798} | package com.example.a10minutesworkout
import android.os.Bundle
import androidx.activity.enableEdgeToEdge
import androidx.appcompat.app.AppCompatActivity
import androidx.core.view.ViewCompat
import androidx.core.view.WindowInsetsCompat
import com.example.a10minutesworkout.databinding.ActivityExercisesBinding
class Exe... | 0 | Kotlin | 0 | 0 | 88a8ca5786e7c4dc227d8794b7eecfa3660814a3 | 972 | 10MinutesWorkout | MIT License |
stars-data-av/src/main/kotlin/tools/aqua/stars/data/av/dataclasses/Lane.kt | tudo-aqua | 665,019,758 | false | {"Kotlin": 522819, "Shell": 480} | /*
* Copyright 2023 The STARS Project Authors
* SPDX-License-Identifier: Apache-2.0
*
* 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
... | 3 | Kotlin | 5 | 9 | e68f59674f5196a29a2e8554a393d0c26a07306e | 5,311 | stars | Apache License 2.0 |
app/src/main/java/care/vive/android/main/MainActivity.kt | AID-COVID-19 | 258,950,200 | false | null | package care.vive.android.main
import android.content.Intent
import android.os.Bundle
import android.view.View
import androidx.appcompat.app.AppCompatActivity
import androidx.navigation.findNavController
import androidx.navigation.ui.setupWithNavController
import care.vive.android.onboarding.OnboardingActivity
import ... | 0 | Kotlin | 0 | 0 | 42bf13d88f55a3e8cd4708140cf7a1abcaf3bfff | 1,518 | vive-android | MIT License |
app/src/test/kotlin/me/leon/ctf/ClassicalTest.kt | Leon406 | 381,644,086 | false | null | package me.leon.ctf
import kotlin.test.assertEquals
import me.leon.classical.*
import me.leon.ext.stripAllSpace
import org.junit.Test
class ClassicalTest {
@Test
fun caesar() {
val plain = "hello! yoshiko"
println(plain.shift26(3))
assertEquals("KHOOR! BRVKLNR", plain.shift26(3))
... | 1 | Kotlin | 80 | 339 | 5f7627974e58bd6a00679fd8ce69d8355815eaa2 | 8,414 | ToolsFx | ISC License |
src/main/kotlin/icu/windea/pls/cwt/CwtSpellchecker.kt | DragonKnightOfBreeze | 328,104,626 | false | null | package icu.windea.pls.cwt
import com.intellij.psi.*
import com.intellij.psi.util.*
import com.intellij.spellchecker.tokenizer.*
import icu.windea.pls.cwt.psi.CwtElementTypes.*
class CwtSpellchecker : SpellcheckingStrategy() {
private val textTokenizer = TEXT_TOKENIZER
private val compactTextTokenizer = EMPTY... | 12 | null | 5 | 41 | 99e8660a23f19642c7164c6d6fcafd25b5af40ee | 729 | Paradox-Language-Support | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.