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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
plugins/hh-garcon/src/main/kotlin/ru/hh/plugins/garcon/actions/create_recycler_item_page_object/CreateRecyclerItemPageObjectDialogResult.kt | hhru | 159,637,875 | false | null | package ru.hh.plugins.garcon.actions.create_recycler_item_page_object
import com.intellij.psi.xml.XmlFile
import org.jetbrains.kotlin.psi.KtClass
data class CreateRecyclerItemPageObjectDialogResult(
val xmlFile: XmlFile,
val className: String,
val targetClass: KtClass,
val openInEditor: Boolean
)
| 17 | Kotlin | 11 | 97 | 2d6c02fc814eff3934c17de77ef7ade91d3116f5 | 316 | android-multimodule-plugin | MIT License |
plugins/hh-garcon/src/main/kotlin/ru/hh/plugins/garcon/actions/create_recycler_item_page_object/CreateRecyclerItemPageObjectDialogResult.kt | hhru | 159,637,875 | false | null | package ru.hh.plugins.garcon.actions.create_recycler_item_page_object
import com.intellij.psi.xml.XmlFile
import org.jetbrains.kotlin.psi.KtClass
data class CreateRecyclerItemPageObjectDialogResult(
val xmlFile: XmlFile,
val className: String,
val targetClass: KtClass,
val openInEditor: Boolean
)
| 17 | Kotlin | 11 | 97 | 2d6c02fc814eff3934c17de77ef7ade91d3116f5 | 316 | android-multimodule-plugin | MIT License |
app/src/main/java/com/danielvilha/cvappandroid/net/dtos/EducationTraining.kt | danielvilha | 271,622,846 | false | null | package com.danielvilha.cvappandroid.net.dtos
/**
* Created by danielvilha on 16/06/20
*/
data class EducationTraining(
val name: String?,
val date: Date?,
val degree: String?,
val course: String?
) | 0 | Kotlin | 0 | 0 | e62abbb56c471eb7abbb6b77d71ec049393bf42c | 217 | kotlin-cv-app-android | The Unlicense |
app/src/main/java/com/theupnextapp/domain/TraktAccessToken.kt | akitikkx | 450,777,381 | false | {"Kotlin": 588175} | /*
* MIT License
*
* Copyright (c) 2022 <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... | 19 | Kotlin | 8 | 56 | 1be1d597131481a9406bb53de77838c08fd3bde8 | 2,074 | upnext | MIT License |
src/main/kotlin/no/nav/helse/flex/domain/ReisetilskuddSoknad.kt | navikt | 274,088,133 | false | null | package no.nav.helse.flex.domain
import java.time.Instant
import java.time.LocalDate
import java.util.*
data class ReisetilskuddSoknad(
val id: String = UUID.randomUUID().toString(),
val status: ReisetilskuddStatus,
val sykmeldingId: String,
val fnr: String,
val fom: LocalDate,
val tom: LocalD... | 4 | Kotlin | 0 | 0 | ec7531506d650b4b203137540bd5a6d89b344172 | 659 | flex-reisetilskudd-backend | MIT License |
src/main/kotlin/com/bkahlert/kustomize/patch/UsernamePatch.kt | bkahlert | 390,165,287 | false | null | package com.bkahlert.kustomize.patch
import com.bkahlert.kustomize.os.LinuxRoot
import com.bkahlert.kustomize.os.OperatingSystemImage
/**
* Applied to an [OperatingSystemImage] this [Patch]
* changes the specified [oldUsername] to the specified [newUsername].
*/
class UsernamePatch(
private val oldUsername: St... | 10 | Kotlin | 0 | 2 | 0e0d325c42c5981e7eb43069e3da80c7cfc7564c | 1,211 | kustomize | MIT License |
solutions/src/MaximumBinaryTreeDepth.kt | JustAnotherSoftwareDeveloper | 139,743,481 | false | null | /**
* https://leetcode.com/problems/maximum-depth-of-binary-tree/
*/
class MaximumBinaryTreeDepth {
fun maxDepth(root: TreeNode?) : Int {
return maxDepthHelper(root,1)
}
private fun maxDepthHelper(node: TreeNode?,level: Int) : Int {
if (node == null) {
return level-1
}... | 1 | null | 1 | 1 | fa4a9089be4af420a4ad51938a276657b2e4301f | 420 | leetcode-solutions | MIT License |
core/src/commonMain/kotlin/maryk/core/query/responses/statuses/AlreadyExists.kt | marykdb | 290,454,412 | false | null | package maryk.core.query.responses.statuses
import maryk.core.models.IsRootDataModel
import maryk.core.models.SimpleQueryDataModel
import maryk.core.properties.IsPropertyDefinitions
import maryk.core.properties.ObjectPropertyDefinitions
import maryk.core.properties.types.Key
import maryk.core.query.responses.statuses.... | 1 | null | 1 | 8 | cf646307302d7527b3426cd23d40d5492cdf552a | 1,028 | maryk | Apache License 2.0 |
app/src/main/java/ch/nevis/exampleapp/domain/interaction/BiometricUserVerifierImpl.kt | nevissecurity | 602,532,842 | false | null | /**
* Nevis Mobile Authentication SDK Example App
*
* Copyright © 2023. Nevis Security AG. All rights reserved.
*/
package ch.nevis.exampleapp.domain.interaction
import ch.nevis.exampleapp.NavigationGraphDirections
import ch.nevis.exampleapp.logging.sdk
import ch.nevis.exampleapp.ui.navigation.NavigationDispatche... | 0 | Kotlin | 0 | 1 | 15c41eb7bd9a4342d36cbd6719fe9fc9453772f1 | 2,012 | nevis-mobile-authentication-sdk-example-app-android | MIT License |
implementation/src/test/kotlin/com/aoc/intcode/computer/strategy/UnknownTest.kt | TomPlum | 227,887,094 | false | null | package com.aoc.intcode.computer.strategy
import assertk.assertThat
import assertk.assertions.isEqualTo
import com.aoc.intcode.computer.Memory
import com.aoc.intcode.computer.OpCode
import com.aoc.intcode.computer.instructions.strategies.Unknown
import org.junit.jupiter.api.DisplayName
import org.junit.jupiter.api.Tes... | 7 | null | 1 | 2 | 12d47cc9c50aeb9e20bcf110f53d097d8dc3762f | 889 | advent-of-code-2019 | Apache License 2.0 |
domain/src/commonMain/kotlin/port/shipyard/Shipyard.kt | lifenjoy51 | 514,788,143 | false | null | package tamra.port.shipyard
import kotlinx.serialization.Serializable
import tamra.common.*
@Serializable
class ShipBlueprint(
val type: ShipType,
val typeName: String,
val imgName: String,
val cargoSize: Int,
val speed: Int,
val price: Int,
) {
fun build(name: String): Ship {
retu... | 0 | Kotlin | 0 | 0 | 8f445630f312a629955e42a4e233d25176414094 | 1,108 | tamra-voyager | MIT License |
app/shared/state-machine/ui/public/src/commonMain/kotlin/build/wallet/statemachine/account/create/full/onboard/notifications/UiErrorHintsProviderImpl.kt | proto-at-block | 761,306,853 | false | {"C": 10424094, "Kotlin": 7156393, "Rust": 2046237, "Swift": 700307, "Python": 331492, "HCL": 271992, "Shell": 111209, "TypeScript": 102700, "C++": 64770, "Meson": 64234, "JavaScript": 36227, "Just": 28071, "Ruby": 9428, "Dockerfile": 5731, "Makefile": 3839, "Open Policy Agent": 1552, "Procfile": 80} | package build.wallet.statemachine.account.create.full.onboard.notifications
import build.wallet.statemachine.notifications.UiErrorHintSubmitter
import build.wallet.store.EncryptedKeyValueStoreFactory
import com.russhwolf.settings.coroutines.SuspendSettings
import kotlinx.coroutines.CoroutineScope
import kotlinx.corout... | 0 | C | 10 | 98 | 1f9f2298919dac77e6791aa3f1dbfd67efe7f83c | 3,020 | bitkey | MIT License |
feature/discover/src/main/java/com/mataku/scrobscrob/discover/ui/molecule/ChartTrackList.kt | mataku | 99,928,377 | false | {"Kotlin": 471497, "Ruby": 4322, "Makefile": 462} | package com.mataku.scrobscrob.discover.ui.molecule
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.fillMaxWidth
import an... | 1 | Kotlin | 2 | 13 | 2721b2a7323ea58a21856bbbbf2dbe6d146ba256 | 3,298 | SunsetScrob | Apache License 2.0 |
core/src/main/kotlin/org/futurerobotics/jargon/profile/MotionProfileGeneration.kt | Future14473 | 199,776,352 | false | null | @file:JvmName("MotionProfileGeneration")
@file:Suppress("ExplicitThis")
package org.futurerobotics.jargon.profile
import org.futurerobotics.jargon.math.DoubleProgression
import org.futurerobotics.jargon.math.EPSILON
import org.futurerobotics.jargon.math.distTo
import org.futurerobotics.jargon.math.ifNan
import org.fu... | 9 | Kotlin | 0 | 1 | 2cb837a402fb3fe2ce634e07cff9bed426447125 | 6,665 | JARGON | MIT License |
compiler/testData/diagnostics/testsWithJsStdLib/dynamicTypes/inExpression.fir.kt | JetBrains | 3,432,266 | false | null | fun foo() {
val a: dynamic = Any()
println(a in setOf(1, 2))
println(1 in a)
println(1 !in a)
when (2) {
in a -> println("ok")
}
when (3) {
!in a -> println("ok")
}
}
| 151 | null | 5478 | 44,267 | 7545472dd3b67d2ac5eb8024054e3e6ff7795bf6 | 215 | kotlin | Apache License 2.0 |
src/main/kotlin/it/valeriovaudi/vauthenticator/extentions/ClientApplicationExt.kt | mrFlick72 | 191,632,792 | false | null | package it.valeriovaudi.vauthenticator.extentions
import it.valeriovaudi.vauthenticator.oauth2.clientapp.Authorities
import it.valeriovaudi.vauthenticator.oauth2.clientapp.AuthorizedGrantTypes
import it.valeriovaudi.vauthenticator.oauth2.clientapp.Scopes
import it.valeriovaudi.vauthenticator.oauth2.clientapp.TokenTime... | 1 | Kotlin | 1 | 5 | 17212be77b0d5c0f527e0162ad42a7cba5add411 | 900 | vauthenticator | Apache License 2.0 |
src/main/kotlin/org/blocovermelho/mod/api/Result.kt | blocovermelho | 722,373,364 | false | {"Kotlin": 52989, "Java": 3142} | package org.blocovermelho.mod.api
open class Result<T, E>
class Ok<T, E>(val value: T) : Result<T, E>()
class Err<T, E>(val error: E) : Result<T, E>()
fun <T, E> Result<T, E>.handleErr(f: (E) -> Unit): T? {
return when (this) {
is Ok -> this.value
is Err -> {
f(this.error)
... | 0 | Kotlin | 0 | 0 | cdbb6321d94376ce5814fb9a3c51a9fabc11b430 | 366 | mod | Creative Commons Zero v1.0 Universal |
app/src/main/java/com/quantumcode/napets/ui/history/view/HistoryFragment.kt | Tesis-IA | 586,580,191 | false | {"Kotlin": 107004} | package com.quantumcode.napets.ui.history.view
import android.os.Bundle
import android.view.View
import androidx.fragment.app.activityViewModels
import androidx.fragment.app.viewModels
import androidx.navigation.fragment.findNavController
import com.quantumcode.napets.data.model.history.History
import com.quantumcode.... | 0 | Kotlin | 0 | 0 | a0d2c6be01f29894a068fa4fc1a74f4ebe91ac14 | 2,133 | napets-app | MIT License |
ktoggl-jvm/src/main/kotlin/org/ktoggl/jvm/entity/DetailedTimeEntryExt.kt | krystiankaluzny | 146,050,692 | false | null | package org.ktoggl.jvm.entity
import org.ktoggl.entity.DetailedTimeEntry
import java.time.Duration
import java.time.OffsetDateTime
val DetailedTimeEntry.startTime: OffsetDateTime
get() = java.time.OffsetDateTime.ofInstant(java.time.Instant.ofEpochSecond(startTimestamp), java.time.ZoneOffset.UTC)
val DetailedTime... | 0 | Kotlin | 0 | 0 | 8f40a65cb14a5001f1f5ca352eff29352ae2950b | 817 | ktoggl | MIT License |
hostsample/src/main/java/com/audioroute/hostsample/RecyclerViewAdapter.kt | AudioRoute | 141,570,271 | false | {"Java": 140153, "C++": 109872, "C": 77202, "Kotlin": 32813, "CMake": 14329, "AIDL": 7216, "Makefile": 1432, "HTML": 333} | /*
* Copyright 2019 n-Track S.r.l.
*
* 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... | 4 | Java | 12 | 42 | af01cc2a2f5a4d2a071f02b2c47720aa8ba0bdd9 | 2,200 | AudioRoute-SDK | Apache License 2.0 |
1748.Sum of Unique Elements.kt | sarvex | 842,260,390 | false | {"Kotlin": 1775678, "PowerShell": 418} | internal class Solution {
fun sumOfUnique(nums: IntArray): Int {
val cnt = IntArray(101)
for (x in nums) {
++cnt[x]
}
var ans = 0
for (x in 0..100) {
if (cnt[x] == 1) {
ans += x
}
}
return ans
}
}
| 0 | Kotlin | 0 | 0 | 17a80985d970c8316fb694e4952692e598d700af | 255 | kotlin-leetcode | MIT License |
app/src/main/java/com/marknkamau/unipool/ui/driverMap/RideHelper.kt | MarkNjunge | 117,090,097 | false | null | package com.marknkamau.unipool.ui.driverMap
import com.marknkamau.unipool.domain.LocalRide
import com.marknkamau.unipool.domain.PickUp
import com.marknkamau.unipool.domain.RequestOffer
import com.marknkamau.unipool.domain.RideUpdateType
import com.marknkamau.unipool.domain.data.api.ApiRepository
import com.marknkamau.... | 0 | Kotlin | 9 | 14 | 88c4fb319f07e3811b4a44cd7ce3236826e8edac | 8,180 | Unipool-Android | MIT License |
src/main/kotlin/uk/gov/justice/digital/hmpps/deliusapi/controller/v1/AllocationController.kt | ministryofjustice | 334,932,480 | false | null | package uk.gov.justice.digital.hmpps.deliusapi.controller.v1
import io.swagger.v3.oas.annotations.Operation
import io.swagger.v3.oas.annotations.responses.ApiResponse
import io.swagger.v3.oas.annotations.responses.ApiResponses
import io.swagger.v3.oas.annotations.tags.Tag
import org.springframework.http.HttpStatus
imp... | 0 | Kotlin | 1 | 3 | abde2f649378ec49ba23491c5bc752e5f2443b65 | 3,326 | hmpps-delius-api | MIT License |
QuickWidget/src/main/java/com/wpf/app/quickwidget/wheel/WheelRecyclerView.kt | walgr | 487,438,913 | false | {"Kotlin": 831704, "Shell": 865} | package com.wpf.app.quickwidget.wheel
import android.content.Context
import android.graphics.Camera
import android.graphics.Canvas
import android.graphics.Matrix
import android.util.AttributeSet
import android.view.View
import com.wpf.app.quickwidget.selectview.QuickSelectRecyclerView
import kotlin.math.abs
import kot... | 0 | Kotlin | 3 | 29 | 6b4da7f07e347ca6d4fbaa7a555ebcedde1494d6 | 2,337 | Quick | MIT License |
app/src/main/java/com/shane/calculator/ui/theme/Color.kt | shanearcaro | 525,797,762 | false | null | package com.shane.calculator.ui.theme
import androidx.compose.ui.graphics.Color
// Dark Theme colors
val DarkBackground = Color(0xFF22252D)
val DarkForeground = Color(0xFF292D36)
val DarkText = Color(0xFFFFFFFF)
// Light Theme colors
val LightBackground = Color(0xFFFFFFFF)
val LightForeground = Color(0xFFF9F9F9)
val... | 0 | Kotlin | 0 | 0 | eb95cef8b88f969240b7fa5cbb50f0e217b81a73 | 444 | Calculator | MIT License |
compiler/testData/klib/evolution/changeFakeOverrides.kt | JetBrains | 3,432,266 | false | null | // MODULE: base
// FILE: base.kt
package serialization.fake_overrides
open class A {
open fun qux() = "quxSuper"
open fun tic() = "ticSuper"
}
// MODULE: move(base)
// FILE: move.kt
// VERSION: 1
package serialization.fake_overrides
open class X {
}
class Y: X() {
fun bar() = "barStale"
}
class B: A() ... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 1,330 | kotlin | Apache License 2.0 |
android/latestlistings/src/main/kotlin/ru/akella/cryptocoin/android/latestlistings/model/Sort.kt | akella266 | 651,284,444 | false | {"Kotlin": 87660, "Swift": 9626, "Ruby": 2264} | package ru.akella.cryptocoin.android.latestlistings.model
enum class SortField(val value: String) {
MARKET_CAP("market_cap"),
PRICE("price"),
VOLUME_24H("volume_24h")
} | 0 | Kotlin | 0 | 0 | b89141c29e6bb805267e7ab40383be1acbbc2c8e | 181 | CryptoCoin | Apache License 2.0 |
android/latestlistings/src/main/kotlin/ru/akella/cryptocoin/android/latestlistings/model/Sort.kt | akella266 | 651,284,444 | false | {"Kotlin": 87660, "Swift": 9626, "Ruby": 2264} | package ru.akella.cryptocoin.android.latestlistings.model
enum class SortField(val value: String) {
MARKET_CAP("market_cap"),
PRICE("price"),
VOLUME_24H("volume_24h")
} | 0 | Kotlin | 0 | 0 | b89141c29e6bb805267e7ab40383be1acbbc2c8e | 181 | CryptoCoin | Apache License 2.0 |
shared/src/commonMain/kotlin/com/norrisboat/ziuq/presentation/home/HomeViewModel.kt | norrisboat | 746,362,661 | false | {"Kotlin": 225770, "Swift": 70758} | package com.norrisboat.ziuq.presentation.home
import com.norrisboat.ziuq.data.repository.SettingsRepository
import com.norrisboat.ziuq.domain.usecase.GetCategoriesUseCase
import com.norrisboat.ziuq.domain.usecase.UseCase
import com.norrisboat.ziuq.domain.utils.FlowResult
import com.norrisboat.ziuq.domain.utils.WhileVi... | 0 | Kotlin | 2 | 7 | 94140c28aae2621f87b77a79edd66ea66519b047 | 2,049 | Ziuq | MIT License |
app/src/main/java/com/example/androiddevchallenge/homepage/PetAdoptionCards.kt | hykruntoahead | 343,270,216 | false | null | /*
* Copyright 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 0 | Kotlin | 0 | 0 | 64c6975ac2cdbe4f935b30bff1440ba12737394c | 2,958 | PetAdoptionCompose | Apache License 2.0 |
data/room/src/main/java/ly/david/data/room/relation/RelationRoomModel.kt | lydavid | 458,021,427 | false | null | package ly.david.data.room.relation
import androidx.room.ColumnInfo
import androidx.room.Entity
import java.net.URLDecoder
import ly.david.data.Relation
import ly.david.data.common.emptyToNull
import ly.david.data.common.transformThisIfNotNullOrEmpty
import ly.david.data.getDisplayNames
import ly.david.data.getLifeSpa... | 54 | null | 0 | 4 | 052613fefaeb5a687ee36d0f3889d9a120224994 | 8,153 | MusicSearch | Apache License 2.0 |
app/src/test/java/me/lazy_assedninja/util/ui/encrypt/EncryptViewModelTest.kt | henryhuang1219 | 350,927,277 | false | null | package me.lazy_assedninja.util.ui.encrypt
import androidx.arch.core.executor.testing.InstantTaskExecutorRule
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.test.runTest
import kotlinx.coroutines.withContext
import me.lazy_assedninja.util.common.MainCoroutineRule
import me.lazy_assedninj... | 0 | Kotlin | 1 | 1 | c30bbee4cbe5369209629e6dd106d0bc9a8a6aa9 | 7,682 | Android-Util | Apache License 2.0 |
src/main/kotlin/gitMiners/UtilGitMiner.kt | ilwoof | 351,076,627 | true | {"Kotlin": 110749, "Shell": 60} | package gitMiners
import org.eclipse.jgit.api.Git
import org.eclipse.jgit.api.ListBranchCommand
import org.eclipse.jgit.diff.DiffEntry
import org.eclipse.jgit.internal.storage.file.FileRepository
import org.eclipse.jgit.lib.ObjectReader
import org.eclipse.jgit.lib.Ref
import org.eclipse.jgit.revwalk.RevCommit
import o... | 0 | null | 0 | 0 | a996f5144001597f69debc3830fb4f792a13f0db | 5,077 | tnm | MIT License |
src/main/kotlin/gitMiners/UtilGitMiner.kt | ilwoof | 351,076,627 | true | {"Kotlin": 110749, "Shell": 60} | package gitMiners
import org.eclipse.jgit.api.Git
import org.eclipse.jgit.api.ListBranchCommand
import org.eclipse.jgit.diff.DiffEntry
import org.eclipse.jgit.internal.storage.file.FileRepository
import org.eclipse.jgit.lib.ObjectReader
import org.eclipse.jgit.lib.Ref
import org.eclipse.jgit.revwalk.RevCommit
import o... | 0 | null | 0 | 0 | a996f5144001597f69debc3830fb4f792a13f0db | 5,077 | tnm | MIT License |
app/src/main/java/com/mikifus/padland/Database/PadGroupModel/PadGroupViewModel.kt | mikifus | 29,370,170 | false | {"Gradle": 3, "Maven POM": 1, "Java Properties": 2, "Shell": 1, "Text": 7, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "JSON": 1, "Kotlin": 93, "XML": 67} | package com.mikifus.padland.Database.PadGroupModel
import android.app.Application
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.viewModelScope
import com.mikifus.padland.Database.PadListDatabase
import com.mikifus.padla... | 7 | Kotlin | 15 | 62 | e22e933f81f6d1b5841736c0cf06b8ef2bc6b538 | 2,665 | padland | Apache License 2.0 |
04_SharedPreference_Singletone_Pattern/app/src/main/java/com/hellohasan/sharedpreferencesingletonepattern/preference/AppPreference.kt | hasancse91 | 297,706,458 | false | null | package com.hellohasan.sharedpreferencesingletonepattern.preference
interface AppPreference {
companion object {
const val NAME = "name"
const val AGE = "age"
const val IS_STUDENT = "is_student"
}
fun getString(key: String): String?
fun setString(key: String, value: String)
... | 0 | Kotlin | 4 | 12 | 89c245c45007e076eacf927aa17c7698e660d0db | 483 | android-course-v2 | MIT License |
mui-kotlin/src/jsMain/kotlin/mui/material/TableRow.classes.kt | karakum-team | 387,062,541 | false | {"Kotlin": 2961484, "TypeScript": 2249, "JavaScript": 1167, "HTML": 724, "CSS": 86} | // Automatically generated - do not modify!
@file:JsModule("@mui/material/TableRow")
package mui.material
import web.cssom.ClassName
external interface TableRowClasses {
/** Styles applied to the root element. */
var root: ClassName
/** State class applied to the root element if `selected={true}`. */
... | 0 | Kotlin | 5 | 35 | d12f6b1ad1b215ad7d3d9f27e24d48ada9b7fe2d | 707 | mui-kotlin | Apache License 2.0 |
app/src/main/java/com/example/homepage/features/plazaTab/plazaDashboard/Adapter/PlazaDashBoardAdapter.kt | Parvez-Uni-Projects | 516,901,454 | false | {"Kotlin": 271402, "HTML": 6242, "Ruby": 3020, "Python": 789} | package com.example.homepage.features.plazaTab.plazaDashboard.Adapter
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.example.homepage.databinding.CardPlazaDashboardBinding
import com.example.homepage.utils.models.Announcements
import com.exa... | 10 | Kotlin | 4 | 9 | a2bbc2ca9310241e623b123b4e9f62004c28e2e5 | 1,341 | AUST_BUDDY | MIT License |
app/src/main/java/com/restaff/wordle/utils/PrefKeys.kt | xuanqh | 505,907,183 | false | {"Kotlin": 55238} | package com.restaff.wordle.utils
object PrefKeys {
const val KEY_TOKEN = "app_token"
} | 0 | Kotlin | 0 | 0 | 93ccd5a6e8a8f6192a2adcb99e9483bfd8bdb175 | 91 | wordle | Apache License 2.0 |
app/src/main/java/com/pierresousa/likemovie/MainApplication.kt | pierresousa | 738,689,784 | false | {"Kotlin": 24219} | package com.pierresousa.likemovie
import android.app.Application
import com.pierresousa.likemovie.database.AppDatabase
class MainApplication : Application() {
val database by lazy {
AppDatabase.getInstance(this@MainApplication)
}
} | 0 | Kotlin | 0 | 1 | fa0e2d3b92a1b6391d60e8e79c5f742ff64b1d87 | 250 | LikeMovie | MIT License |
plugin/src/main/kotlin/mdspoon/plugin/MultiDensitySpoonExtension.kt | MobileAct | 202,087,210 | false | null | package mdspoon.plugin
open class MultiDensitySpoonExtension {
companion object {
const val defaultTitleDelimiter = "-"
}
var titleDelimiter = defaultTitleDelimiter
var densities = intArrayOf(420)
} | 0 | Kotlin | 0 | 0 | ec6a1e79c8acce9e169eee9187ce296f387741db | 227 | GradleMultiDensitySpoonPlugin | MIT License |
yukihookapi-stub/src/main/java/com/highcapable/yukihookapi/hook/xposed/parasitic/activity/delegate/impl/IActivityManagerProxyImpl_Impl.kt | HighCapable | 453,432,887 | false | {"Kotlin": 759072, "TypeScript": 15375, "SCSS": 3606} | /*
* YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin.
* Copyright (C) 2019-2024 HighCapable
* https://github.com/HighCapable/YukiHookAPI
*
* Apache License Version 2.0
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in complia... | 4 | Kotlin | 61 | 991 | b4ee6a0e159bfa58ea01f35f8f992074368dc329 | 1,461 | YukiHookAPI | Apache License 2.0 |
app/src/main/java/com/rabobank/csvreader/model/IssuesListRepository.kt | babu-kaliyamoorthy | 223,904,429 | false | null | package com.rabobank.csvreader.model
import com.rabobank.csvreader.utils.CSVParser
import java.io.InputStream
/**
* Created by <NAME> on 23/11/19.
*/
class IssuesListRepository(
private val csvParser: CSVParser,
private val inputStream: InputStream
) : IssueDataSource {
override fun fetchIssuesList(): A... | 0 | Kotlin | 0 | 0 | 0d47508cbbcc792c71c61b153530ab00fe1e509c | 475 | CSV-Reader | Apache License 2.0 |
app/src/main/kotlin/taiwan/no1/app/mvp/presenters/adapter/MovieCastAdapterPresenter.kt | pokk | 77,319,651 | false | null | package taiwan.no1.app.mvp.presenters.adapter
import com.hwangjr.rxbus.RxBus
import com.touchin.constant.RxbusTag.FRAGMENT_CHILD_NAVIGATOR
import taiwan.no1.app.api.config.TMDBConfig.BASE_IMAGE_URL
import taiwan.no1.app.mvp.contracts.adapter.MovieCastAdapterContract.Presenter
import taiwan.no1.app.mvp.contracts.adapte... | 0 | Kotlin | 5 | 5 | d5c8c3e473e6c480e1eb1660caf477ada65859f0 | 1,350 | mvp-magazine | Apache License 2.0 |
src/app/api/src/main/kotlin/yapp/be/apiapplication/system/security/SecurityTokenType.kt | YAPP-Github | 634,126,325 | false | {"Kotlin": 415858, "HTML": 7648} | package yapp.be.apiapplication.system.security
enum class SecurityTokenType(val value: String) {
ACCESS("ACCESS_TOKEN"), REFRESH("REFRESH_TOKEN"), AUTH("AUTH_TOKEN")
}
| 0 | Kotlin | 1 | 7 | 8f8d6d16113773b80e731c10daa63932a89075b2 | 173 | DangleDangle-server | Apache License 2.0 |
app/src/main/java/com/hansung/traveldiary/src/bulletin/BulletinDaySectionActivity.kt | JGeun | 379,587,709 | false | null | package com.hansung.traveldiary.src.bulletin
import android.app.Activity
import android.content.Context
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import androidx.core.content.res.ResourcesCompat
import androidx.recyclerview.widget.Lin... | 0 | Kotlin | 0 | 2 | aaf59820aceac992ae397c725e97771d8a31dcd1 | 5,431 | TravelDiaryApp | MIT License |
brd-android/app/src/main/java/com/breadwallet/ui/settings/delete/DeleteAccountInfo.kt | fabriik | 489,117,365 | false | null | /**
* BreadWallet
*
* Created by <NAME> <<EMAIL>> on 10/25/19.
* Copyright (c) 2019 breadwallet LLC
*
* 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 wi... | 2 | Kotlin | 1 | 1 | 8894f5c38203c64e48242dae9ae9344ed4b2a61f | 2,145 | wallet-android | MIT License |
library/src/main/java/com/cl/gesturelock/view/DefaultLockLinkView.kt | JKchenli | 328,339,097 | false | null | package com.cl.gesturelock.view
import android.graphics.Canvas
import android.graphics.Paint
import android.graphics.Path
import android.util.SparseArray
import com.cl.gesturelock.bean.LockCellBean
import com.cl.gesturelock.impl.ILockLinkView
/**
* @author Chenli
* @Date 2020/12/21
* @Description
*/
class Default... | 0 | Kotlin | 0 | 1 | 131a14c816c80dc0f602699489144e067e2f305e | 1,810 | GestureLock | Apache License 2.0 |
stackk/src/main/java/com/mozhimen/stackk/bases/BaseApplication.kt | mozhimen | 851,487,038 | false | {"Kotlin": 42310} | package com.mozhimen.stackk.bases
import androidx.annotation.CallSuper
import androidx.multidex.MultiDexApplication
import com.mozhimen.kotlin.lintk.optins.OApiInit_InApplication
import com.mozhimen.kotlin.lintk.optins.OApiMultiDex_InApplication
import com.mozhimen.stackk.callback.StackKCb
import com.mozhimen.kotlin.u... | 0 | Kotlin | 0 | 0 | d430a2d6bd33732fb073a2d555c2be0ed922b934 | 1,043 | AStackKit | Apache License 2.0 |
plugin/src/main/kotlin/dev/aga/gradle/versioncatalogs/StringSubstitutors.kt | austinarbor | 679,523,691 | false | {"Kotlin": 83528} | package dev.aga.gradle.versioncatalogs
import org.apache.commons.text.StringSubstitutor
fun StringSubstitutor.unwrap(s: String): String {
val numStart = variablePrefixMatcher.isMatch(s, 0)
if (numStart == 0) {
return s
}
for (i in numStart until s.length) {
variableSuffixMatcher
... | 3 | Kotlin | 0 | 8 | 2a1a03df12676ab4adaa4c4d793961d49be0dd32 | 714 | version-catalog-generator | Apache License 2.0 |
shared/src/iosMain/kotlin/com/bunjne/bbit/ui/components/PlatformWebView.kt | Bunjne | 676,815,886 | false | {"Kotlin": 115976, "Swift": 954} | package com.bunjne.bbit.ui.components
import androidx.compose.runtime.Composable
import androidx.compose.runtime.remember
import androidx.compose.ui.Modifier
import androidx.compose.ui.interop.UIKitView
import kotlinx.cinterop.ExperimentalForeignApi
import kotlinx.cinterop.readValue
import platform.CoreGraphics.CGRect... | 0 | Kotlin | 0 | 1 | 54669a00edefb8ee5d7f609292d9d8069b1d9417 | 2,917 | BBit | Apache License 2.0 |
app/src/main/kotlin/org/emunix/insteadlauncher/presentation/unpackresources/UnpackResourcesViewModel.kt | btimofeev | 125,632,007 | false | {"Kotlin": 199030, "Java": 193100, "CMake": 77681, "C": 6062, "Lua": 459} | /*
* Copyright (c) 2020-2023 <NAME> <<EMAIL>>
* Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT).
*/
package org.emunix.insteadlauncher.presentation.unpackresources
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import dagger.hilt.android.lif... | 8 | Kotlin | 6 | 25 | 09416564c984bcad40513480ec4c47a381d1cb49 | 2,251 | instead-launcher-android | MIT License |
compiler/fir/resolve/src/org/jetbrains/kotlin/fir/scopes/impl/FirNestedClassifierScope.kt | haerulmuttaqin | 156,727,010 | true | {"Kotlin": 31513732, "Java": 7641810, "JavaScript": 152543, "HTML": 68411, "Lex": 18275, "IDL": 10060, "ANTLR": 9803, "Shell": 6769, "Groovy": 5466, "CSS": 4679, "Batchfile": 4437} | /*
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.fir.scopes.impl
import org.jetbrains.kotlin.fir.FirSession
import org.jetbrains.kotlin.fir.resolve.FirProvider
import org.jetb... | 0 | Kotlin | 1 | 2 | 8f2117685f9f1b76b7f61ef67c0f58431bbf2f0e | 1,018 | kotlin | Apache License 2.0 |
app/src/main/java/com/kssidll/arru/ui/screen/display/category/CategoryRoute.kt | KSSidll | 655,360,420 | false | {"Kotlin": 730211} | package com.kssidll.arru.ui.screen.display.category
import androidx.compose.runtime.*
import androidx.paging.compose.*
import dev.olshevski.navigation.reimagined.hilt.*
@Composable
fun CategoryRoute(
categoryId: Long,
navigateBack: () -> Unit,
navigateCategoryEdit: () -> Unit,
navigateProduct: (produ... | 0 | Kotlin | 0 | 1 | d863878f6ff2ea9593a25aa423d06639171ab397 | 1,531 | Arru | BSD 3-Clause Clear License |
app/src/main/java/com/moreyeah/test/presentation/di/module/MainActivityModule.kt | droidwithme | 277,919,251 | false | {"Kotlin": 50410} | package com.moreyeah.test.presentation.di.module
import com.moreyeah.test.data.repository.DomainRepoImp
import com.moreyeah.test.presentation.main.MainViewModel
import dagger.Module
import dagger.Provides
@Module
class MainActivityModule {
@Provides
internal fun provideMainViewModel(movieRepository: Domain... | 0 | Kotlin | 0 | 1 | b93db0c5b2d49af16ae56f4d631caed32aeb4411 | 400 | mvvm-clean-architeture | Apache License 2.0 |
app/src/main/java/com/moreyeah/test/presentation/di/module/MainActivityModule.kt | droidwithme | 277,919,251 | false | {"Kotlin": 50410} | package com.moreyeah.test.presentation.di.module
import com.moreyeah.test.data.repository.DomainRepoImp
import com.moreyeah.test.presentation.main.MainViewModel
import dagger.Module
import dagger.Provides
@Module
class MainActivityModule {
@Provides
internal fun provideMainViewModel(movieRepository: Domain... | 0 | Kotlin | 0 | 1 | b93db0c5b2d49af16ae56f4d631caed32aeb4411 | 400 | mvvm-clean-architeture | Apache License 2.0 |
shared/src/commonMain/kotlin/com/mutualmobile/harvestKmp/features/datamodels/orgProjectsDataModels/GetListOfUsersForAProjectDataModel.kt | mutualmobile | 495,292,087 | false | null | package com.mutualmobile.harvestKmp.features.datamodels.orgProjectsDataModels
import com.mutualmobile.harvestKmp.datamodel.PraxisDataModel.DataState
import com.mutualmobile.harvestKmp.datamodel.PraxisDataModel.ErrorState
import com.mutualmobile.harvestKmp.datamodel.PraxisDataModel.LoadingState
import com.mutualmobile.... | 0 | Kotlin | 4 | 41 | 763dd7f45f8271cebe9107c63f3532e1b14c666f | 2,442 | HarvestTimeKMP | Apache License 2.0 |
rangeseekbar/src/main/java/net/peterg/android/rangeseekbar/Bar.kt | PGrube26 | 127,263,680 | false | {"Gradle Kotlin DSL": 4, "Java Properties": 2, "YAML": 1, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Kotlin": 6, "XML": 14, "Java": 2} | package net.peterg.android.rangeseekbar
import android.content.Context
import android.graphics.Canvas
import android.graphics.Color
import android.graphics.Paint
import android.util.TypedValue
/**
* Class for painting a bar presenting a seek range or the base path to move the thumbs on.
* With the draw() methods yo... | 0 | Kotlin | 0 | 0 | 15916ad98a618c36c4c526602bbd027593b4c11c | 4,067 | RangeSeekBar | Apache License 2.0 |
app-data/src/debug/java/me/dmba/mychecks/data/di/DevDataModule.kt | dmba | 134,446,274 | false | {"Kotlin": 50472, "Prolog": 233} | package me.dmba.mychecks.data.di
import android.content.Context
import android.content.res.AssetManager
import dagger.Binds
import dagger.Module
import dagger.Provides
import me.dmba.mychecks.common.scopes.ForApplication
import me.dmba.mychecks.data.source.remote.ChecksApi
import me.dmba.mychecks.data.source.remote.De... | 8 | Kotlin | 0 | 0 | 23e4504c7b5f81e971564d960e1c17c2fd25d4bf | 783 | android-boilerplate | MIT License |
app/src/main/java/br/com/fiap/acid/cap2/ProfileActivity.kt | xudre | 481,403,862 | false | {"Kotlin": 17774} | package br.com.fiap.acid.cap2
import android.os.Bundle
import android.widget.TextView
import androidx.appcompat.app.AppCompatActivity
import br.com.fiap.acid.cap2.utils.showSnackBar
import com.google.firebase.auth.FirebaseUser
class ProfileActivity : AppCompatActivity() {
private val tvUserId by lazy { findViewB... | 0 | Kotlin | 0 | 0 | 3d71832c3185a472a5c50b00c4932b1e637c4b5b | 1,312 | fiap-mba-acid-cap2 | MIT License |
css-gg/src/commonMain/kotlin/compose/icons/cssggicons/EditFlipV.kt | DevSrSouza | 311,134,756 | false | {"Kotlin": 36756847} | package compose.icons.cssggicons
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.compose.ui.graphics... | 15 | Kotlin | 20 | 460 | 651badc4ace0137c5541f859f61ffa91e5242b83 | 3,326 | compose-icons | MIT License |
app/src/main/java/com/example/foodmark/editFoodMark.kt | HoshikawaShiori | 793,925,356 | false | {"Kotlin": 37723, "Java": 16468} | package com.example.foodmark
import android.app.Activity
import android.content.Intent
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import android.graphics.Canvas
import android.graphics.drawable.Drawable
import android.os.Bundle
import android.provider.MediaStore
import android.util.Base64
imp... | 0 | Kotlin | 0 | 0 | f88e725399651a987872022f127c962b53854072 | 13,968 | foodMark | MIT License |
codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/model/AWSDeprecatedShapeRemover.kt | awslabs | 278,475,105 | false | {"Swift": 264012689, "Kotlin": 353669, "Smithy": 100541, "Shell": 23167, "Dockerfile": 879} | package software.amazon.smithy.aws.swift.codegen.model
import software.amazon.smithy.model.Model
import software.amazon.smithy.model.shapes.Shape
import software.amazon.smithy.model.traits.DeprecatedTrait
import software.amazon.smithy.model.transform.ModelTransformer
import software.amazon.smithy.swift.codegen.SwiftSe... | 143 | Swift | 78 | 398 | 08334ae7385b08c14d01dfb961df8632761a9647 | 1,679 | aws-sdk-swift | Apache License 2.0 |
ktfx-layouts/tests/src/javafx/scene/control/TitledPaneTest.kt | hendraanggrian | 102,934,147 | false | null | package ktfx.layouts
import javafx.scene.control.TitledPane
import com.hendraanggrian.ktfx.test.LayoutsTest
import kotlin.test.assertNull
class TitledPaneTest : LayoutsTest<KtfxAccordion, TitledPane>() {
override fun manager() = KtfxAccordion()
override fun KtfxAccordion.childCount() = panes.size
overrid... | 1 | Kotlin | 2 | 15 | ea4243fb75edb70d6710e7488fa08834084f6169 | 547 | ktfx | Apache License 2.0 |
app/src/main/java/com/example/dictionary/data/local/relations/WordInfoWithMeaningsAndDefinitions.kt | EEseka | 848,970,107 | false | {"Kotlin": 149996} | package com.example.dictionary.data.local.relations
import androidx.room.Embedded
import androidx.room.Relation
import com.example.dictionary.data.local.entity.MeaningEntity
import com.example.dictionary.data.local.entity.WordInfoEntity
// Nested Relationships, can affect performance so i no fit spam am :(
data class... | 1 | Kotlin | 0 | 0 | c9121edadf099283ec7b3daf8bdbead24171f169 | 571 | English-Dictionary- | MIT License |
module/data/src/main/kotlin/com/github/jameshnsears/chance/data/repository/settings/impl/SettingsProtocolBufferSerializer.kt | jameshnsears | 725,514,594 | false | {"Kotlin": 372490, "Shell": 1419} | package com.github.jameshnsears.chance.data.repository.settings.impl
import androidx.datastore.core.CorruptionException
import androidx.datastore.core.Serializer
import com.github.jameshnsears.chance.data.domain.proto.SettingsProtocolBuffer
import com.google.protobuf.InvalidProtocolBufferException
import java.io.Input... | 4 | Kotlin | 2 | 6 | 3abfa1d918d8d34dadc2498888793726cba508a0 | 966 | Chance | Apache License 2.0 |
katarina-cdn/src/main/kotlin/com/hubtwork/cdn/config/Configuration.kt | 2rohyun | 334,353,545 | false | null | package com.hubtwork.katarinaapi.config
import com.google.gson.Gson
import com.google.gson.GsonBuilder
import org.apache.http.impl.client.HttpClientBuilder
import org.springframework.beans.factory.annotation.Value
import org.springframework.boot.web.client.RestTemplateBuilder
import org.springframework.context.annotat... | 0 | Kotlin | 0 | 0 | 87538a4aae38f84668a9e2c905411e69aa2dd501 | 2,040 | Katarina | MIT License |
app/src/main/java/br/com/programadorthi/anarchtecturetry/di/modules/DatabaseModule.kt | programadorthi | 165,963,379 | false | null | package br.com.programadorthi.anarchtecturetry.di.modules
import android.content.Context
import androidx.room.Room
import br.com.programadorthi.anarchtecturetry.database.MainDatabase
import dagger.Module
import dagger.Provides
import javax.inject.Singleton
@Module
object DatabaseModule {
@Provides
@Singleton... | 0 | Kotlin | 0 | 12 | 3547af32de09f6dbdaf22c921c0e9c63421d327e | 497 | Anarchitecturetry | MIT License |
src/main/kotlin/io/github/jokoroukwu/zephyrapi/publication/ZephyrTestCycle.kt | jokoroukwu | 471,393,179 | false | null | package io.github.jokoroukwu.zephyrapi.publication
data class ZephyrTestCycle(
val id: Long = -1,
val key: String = "",
override val name: String = "Anonymous Test Cycle",
override val testResults: List<ZephyrTestResult> = emptyList(),
override val startTime: Long,
override val endTime: Long
) ... | 0 | Kotlin | 0 | 0 | c720fae44211a321384652ee6efd88cfd5dae877 | 330 | zephyr-api | Apache License 2.0 |
app/src/main/java/com/breezeuttamseeds/app/xmlmodel/UserLocationList.kt | DebashisINT | 809,659,083 | false | {"Kotlin": 14710752, "Java": 1021518} | package com.breezeuttamseeds.app.xmlmodel
import com.breezeuttamseeds.features.location.UserLocationDataEntity
/**
* Created by Kinsuk on 16-01-2019.
*/
class UserLocationList {
//@JacksonXmlElementWrapper(useWrapping = false)
var userLocationDataEntities : List<UserLocationDataEntity>? =null
} | 0 | Kotlin | 0 | 0 | 1b2cedec9da3033f8c88cb67000fda67f0094619 | 308 | UttamSeeds | Apache License 2.0 |
app/src/main/java/id/kotlin/reactive/mvi/presentation/feature/detail/DetailModule.kt | budioktaviyan | 139,346,294 | false | {"Kotlin": 15475} | package id.kotlin.reactive.mvi.presentation.feature.detail
import dagger.Module
import dagger.Provides
import id.kotlin.reactive.mvi.presentation.di.PerFeature
@Module
class DetailModule {
@Provides
@PerFeature
fun providesDetailPresenter() = DetailPresenter()
} | 0 | Kotlin | 0 | 1 | 972426c5e343048c6006426e204fcd5e5f784165 | 277 | mvi-reactive-sample | Apache License 2.0 |
AndroidSDK/src/main/java/com/paytheory/android/sdk/watchers/BankWatchers.kt | pay-theory | 312,339,678 | false | null | package com.paytheory.android.sdk.watchers
import android.text.Editable
import android.text.TextWatcher
import com.paytheory.android.sdk.view.PayTheoryButton
import com.paytheory.android.sdk.view.PayTheoryEditText
var accountNumberValid: Boolean = false
var routingNumberValid: Boolean = false
var bankFieldsValid: Bo... | 0 | Kotlin | 0 | 0 | f6550c4563114012b4fcdbe943c8f4c067383d5c | 2,778 | pay-theory-android | MIT License |
src/test/kotlin/io/openfuture/chain/config/ServiceTests.kt | OpenFuturePlatform | 135,143,034 | false | {"Kotlin": 466643, "Dockerfile": 210, "Shell": 74} | package io.openfuture.chain.config
import org.junit.runner.RunWith
import org.mockito.junit.MockitoJUnitRunner
@RunWith(MockitoJUnitRunner::class)
abstract class ServiceTests | 2 | Kotlin | 16 | 64 | f7e511b3ba17cc75d7f23618008dd89a7b83c4c0 | 176 | open-chain | MIT License |
src/main/java/org/mtransit/commons/Cleaner.kt | mtransitapps | 335,757,548 | false | {"Gradle": 1, "Text": 1, "Ignore List": 1, "Markdown": 1, "Kotlin": 30, "Java": 2} | package org.mtransit.commons
import org.mtransit.commons.Constants.EMPTY
import org.mtransit.commons.RegexUtils.WORD_BOUNDARY
import org.mtransit.commons.RegexUtils.group
import org.mtransit.commons.RegexUtils.groupOr
@Suppress("unused")
data class Cleaner @JvmOverloads constructor(
val regex: Regex,
val repl... | 0 | Java | 0 | 2 | a9bc8c28a559d74e9d84c2561cbf789fbe7b2452 | 2,383 | commons-java | Apache License 2.0 |
src/main/kotlin/net/stckoverflw/hg/game/state/ExploreState.kt | StckOverflw | 643,612,224 | false | null | package net.stckoverflw.hg.game.state
import net.axay.kspigot.extensions.onlinePlayers
import net.axay.kspigot.runnables.KSpigotRunnable
import net.axay.kspigot.runnables.task
import net.stckoverflw.hg.game.HungerGamesGame
import net.stckoverflw.hg.util.formatTime
class ExploreState(val game: HungerGamesGame) : GameS... | 3 | Kotlin | 0 | 1 | 5cf401507a26808547bad3aced05059c8ff779b3 | 1,175 | hungergames | MIT License |
app/src/main/java/com/silkysys/umco/data/model/address/save/response/Data.kt | AhmedZaki918 | 466,545,857 | false | {"Kotlin": 192147} | package com.silkysys.umco.data.model.address.save.response
import android.os.Parcelable
import kotlinx.parcelize.Parcelize
@Parcelize
data class Data(
val rates: List<Rates>?,
val cart: Cart
) : Parcelable | 0 | Kotlin | 0 | 2 | d038e4ad8fce32b3d1a86c4d50a94bbcf5680f79 | 215 | E-commerce | The Unlicense |
kotlin-mui-icons/src/main/generated/mui/icons/material/Rsvp.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/Rsvp")
@file:JsNonModule
package mui.icons.material
@JsName("default")
external val Rsvp: SvgIconComponent
| 12 | Kotlin | 145 | 983 | a99345a0160a80a7a90bf1adfbfdc83a31a18dd6 | 190 | kotlin-wrappers | Apache License 2.0 |
app/src/main/java/com/gostsoft/giftivus/views/RecipientListView.kt | GostGaming | 467,555,833 | false | {"Kotlin": 20474} | package com.gostsoft.giftivus.views
import android.os.Bundle
import android.util.Log
import androidx.activity.viewModels
import androidx.appcompat.app.AppCompatActivity
import androidx.recyclerview.widget.LinearLayoutManager
import com.gostsoft.giftivus.databinding.ActivityRecipientListBinding
import com.gostsoft.gift... | 0 | Kotlin | 0 | 0 | 19221ce5ddc3f77c1f3ea3f4b3d150f7584e943e | 1,311 | Giftivus | Apache License 2.0 |
src/main/kotlin/brightspark/aocleaderboardbot/SessionCookieStorage.kt | thebrightspark | 317,931,018 | false | null | package brightspark.aocleaderboardbot
import io.ktor.client.features.cookies.*
import io.ktor.http.*
import org.springframework.stereotype.Component
@Component
class SessionCookieStorage : CookiesStorage {
private var sessionCookie = Cookie("session", "")
override suspend fun addCookie(requestUrl: Url, cookie: Coo... | 0 | Kotlin | 0 | 0 | dc67a34cb6b76ad641765165043d0b28be56dfc5 | 523 | AocLeaderboardBot | MIT License |
inject-descriptor/src/main/java/com/growingio/android/descriptor/X5WebViewInjector.kt | growingio | 486,100,482 | false | {"Kotlin": 393664, "Java": 22282, "Shell": 243} | /*
* Copyright (c) 2022 Beijing Yishu Technology Co., 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 ... | 0 | Kotlin | 3 | 8 | b7dad0f355e8c6a4f58838419dc0ec56ecf6db12 | 2,189 | growingio-sdk-android-plugin | Apache License 2.0 |
src/backend/codecc/core/task/biz-task/src/main/kotlin/com/tencent/bk/codecc/task/service/KafkaSyncService.kt | Lwxiang | 322,234,685 | true | {"Kotlin": 21248288, "Vue": 4292612, "Java": 4238219, "JavaScript": 938064, "Go": 481632, "SCSS": 370772, "Lua": 217209, "HTML": 78714, "CSS": 54856, "TypeScript": 34981, "Shell": 33734, "Python": 3714, "Batchfile": 1301, "Makefile": 669} | package com.tencent.bk.codecc.task.service
import com.tencent.devops.common.api.CommonPageVO
import com.tencent.devops.common.api.pojo.Page
interface KafkaSyncService {
/**
* 同步任务信息到kafka
*/
fun syncTaskInfoToKafka(startTrigger : String)
/**
* 同步任务信息到kafka
*/
fun syncTaskInfoToK... | 0 | Kotlin | 0 | 0 | ae967632af80687b40a711417bda9e996494cf37 | 558 | bk-ci | MIT License |
XDPLib/src/main/java/com/spread/xdplib/adapter/base/BaseViewBindingActivity.kt | SpreadZhao | 715,187,997 | false | {"Kotlin": 43616} | package com.spread.xdplib.adapter.base
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.viewbinding.ViewBinding
abstract class BaseViewBindingActivity<T : ViewBinding> :AppCompatActivity(){
lateinit var binding : T
override fun onCreate(savedInstanceState: Bundle?) {
... | 1 | Kotlin | 0 | 1 | 8c04e25fd34dfd9b254504ee8cb27b0b29cb5131 | 529 | XDPartner | Apache License 2.0 |
android/app/src/main/java/com/algorand/android/utils/PrismUrlBuilder.kt | perawallet | 364,359,642 | false | {"Swift": 8753304, "Kotlin": 7709389, "Objective-C": 88978, "Shell": 7715, "Ruby": 4727, "C": 596} | /*
* Copyright 2022 <NAME>, LDA
* 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 writing, soft... | 22 | Swift | 62 | 181 | 92fc77f73fa4105de82d5e87b03c1e67600a57c0 | 1,641 | pera-wallet | Apache License 2.0 |
app/src/main/java/com/willymax/exercisealarm/utils/SharedPreferencesHelper.kt | willymax | 732,780,770 | false | {"Kotlin": 73669, "Java": 3529} | package com.willymax.exercisealarm.utils
import android.content.Context
import com.google.gson.Gson
import com.google.gson.reflect.TypeToken
import com.willymax.exercisealarm.alarm.AlarmItem
class SharedPreferencesHelper(
private val context: Context,
private val sharedPreferencesName: String
) {
private ... | 0 | Kotlin | 0 | 0 | 7433513ca94747c96c865b4cda9bd2da8d6422f4 | 1,187 | exercise-alarm-app | Apache License 2.0 |
src/main/kotlin/modelo/Cartas/Mazo.kt | joaqogomez | 646,572,458 | false | null | package modelo.Cartas
import modelo.Excepciones.NoQuedanCartasError
import modelo.JuegoYJugador.Jugador
import java.util.*
class Mazo(cartas: ArrayList<Carta>) {
val cartas: ArrayList<Carta>
private fun asociarmeLasCartas(cartas: ArrayList<Carta>) {
for (carta in cartas) {
carta.asociarA... | 0 | Kotlin | 0 | 0 | 9764f7905c08fd2309f0b6879e6f4f6c75a4924c | 1,158 | 75.31-TDL | MIT License |
adoptopenjdk-api-v3-frontend/src/test/kotlin/net/adoptopenjdk/api/ReleaseNamesPathTest.kt | heubeck | 355,335,958 | true | {"Kotlin": 463588, "HTML": 1846, "Shell": 1256, "CSS": 992, "Dockerfile": 608} | package net.adoptopenjdk.api
import io.quarkus.test.junit.QuarkusTest
import io.restassured.RestAssured
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.extension.ExtendWith
import org.junit.jupiter.params.ParameterizedTest
import org.junit.jupiter.params.provider.ValueSource
@QuarkusTest
@ExtendWith(va... | 10 | Kotlin | 0 | 0 | 3bf55828098d0089c17051547e1aa1a69155efb7 | 2,971 | api.adoptium.net | Apache License 2.0 |
library/src/main/kotlin/com/daniloaraujosilva/mathemagika/library/common/mathematica/functions/IndependenceTest.kt | Danilo-Araujo-Silva | 271,904,885 | false | null | package com.daniloaraujosilva.mathemagika.library.common.mathematica.functions
import com.daniloaraujosilva.mathemagika.library.common.mathematica.MathematicaFunction
/**
*````
*
* Name: IndependenceTest
*
* Full name: System`IndependenceTest
*
* IndependenceTest[v , v ] te... | 2 | Kotlin | 0 | 3 | 4fcf68af14f55b8634132d34f61dae8bb2ee2942 | 1,448 | mathemagika | Apache License 2.0 |
ocpp-1-6-core/src/main/kotlin/com/izivia/ocpp/core16/model/unlockconnector/UnlockConnectorReq.kt | IZIVIA | 501,708,979 | false | {"Kotlin": 1934096} | package com.izivia.ocpp.core16.model.unlockconnector
import com.izivia.ocpp.core16.model.Request
data class UnlockConnectorReq(
val connectorId: Int
) : Request
| 6 | Kotlin | 10 | 32 | bd8e7334ae05ea75d02d96a508269acbe076bcd8 | 167 | ocpp-toolkit | MIT License |
src/test/kotlin/cu/suitetecsa/sdk/nauta/UserPortalBalanceHandlerTest.kt | suitetecsa | 696,970,114 | false | {"Kotlin": 180648} | package cu.suitetecsa.sdk.nauta
import cu.suitetecsa.sdk.nauta.exception.TopUpBalanceException
import cu.suitetecsa.sdk.nauta.exception.TransferFundsException
import cu.suitetecsa.sdk.nauta.scraper.ErrorParser
import cu.suitetecsa.sdk.nauta.scraper.TokenParser
import cu.suitetecsa.sdk.nauta.util.action.TopUpBalance
im... | 0 | Kotlin | 0 | 2 | 936c8e49fe3c76f9d7a0ec5f6abd684583cfb1eb | 8,255 | sdk-kotlin | MIT License |
app/src/main/java/com/theapphideaway/automatewithpython/Chapters/ChapterSevenActivity.kt | theapphideaway | 162,361,615 | false | null | package com.theapphideaway.automatewithpython.Chapters
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import com.chaquo.python.Python
import com.theapphideaway.automatewithpython.R
import kotlinx.android.synthetic.main.activity_chapter_five.*
import kotlinx.android.syn... | 0 | Kotlin | 0 | 0 | 3cdbc334ac8cfd3502aa87546be826bc209f291e | 1,012 | AutomateWithPython | MIT License |
composeApp/src/commonMain/kotlin/com/alexjlockwood/twentyfortyeight/ui/GameLayout.kt | alexjlockwood | 301,594,226 | false | {"Kotlin": 42947, "Swift": 607, "HTML": 306} | package com.alexjlockwood.twentyfortyeight.ui
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.BoxWithConstraints
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.c... | 0 | Kotlin | 40 | 372 | af584a11d5d0e80d3628a60fae6045d3710aeb4e | 4,133 | compose-multiplatform-2048 | MIT License |
data-api/src/main/java/prieto/fernando/data_api/mapper/CompanyInfoResponseToRepositoryModelMapperImpl.kt | ferPrieto | 226,459,777 | false | null | package prieto.fernando.data_api.mapper
import prieto.fernando.data_api.model.CompanyInfoResponse
import prieto.fernando.data.model.CompanyInfoRepositoryModel
import javax.inject.Inject
interface CompanyInfoResponseToRepositoryModelMapper {
fun toRepositoryModel(companyInfoResponse: CompanyInfoResponse): CompanyI... | 1 | Kotlin | 80 | 578 | 0cc02b33fea78e32864d97f032c0f6dc249f3112 | 938 | SpaceX-prepare-for-Clean-Architecture-liftoff | Apache License 2.0 |
entity/src/main/java/vn/toanpv/sample/arena/entity/Match.kt | toanpv | 620,264,148 | false | null | package vn.toanpv.sample.arena.entity
data class Match(
var id: String = "",
val date: String,
val description: String,
val home: String,
val away: String,
val winner: String? = null,
val highlights: String? = null,
var homeId: String = "",
var awayId: String = "",
var winnerId:... | 0 | Kotlin | 0 | 0 | 2815a33ac1e597a6e053da7d1e27454522f36bfb | 334 | InspiusArena | Apache License 2.0 |
feature-wallet-api/src/main/java/jp/co/soramitsu/wallet/api/presentation/view/AssetSelectorView.kt | soramitsu | 278,060,397 | false | {"Kotlin": 5738291, "Java": 18796} | package jp.co.soramitsu.wallet.api.presentation.view
import android.content.Context
import android.util.AttributeSet
import android.view.View
import androidx.constraintlayout.widget.ConstraintLayout
import coil.ImageLoader
import coil.load
import jp.co.soramitsu.common.utils.getEnum
import jp.co.soramitsu.common.utils... | 15 | Kotlin | 30 | 89 | 812c6ed5465d19a0616865cbba3e946d046720a1 | 2,217 | fearless-Android | Apache License 2.0 |
app/data/src/test/java/com/nab/data/TestData.kt | MinhPD92 | 367,825,601 | false | null | package com.nab.data
import com.nab.data.remote.response.ForecastResponse
import com.nab.data.remote.response.TemperatureResponse
import com.nab.data.remote.response.WeatherResponse
import com.nab.data.room.entities.LocalWeatherInfo
import com.nab.domain.models.WeatherInfo
const val TIME = "Tue, 10 Mar 2021"
const va... | 0 | Kotlin | 0 | 0 | a7d26d65f520e959d4dfda9f5391d57c7bdcf665 | 1,629 | Weather-Forecast | MIT License |
app/src/main/kotlin/com/hongwei/demo/coroutinesvisualiser/data/datasource/firebase/FirebaseStorageApiService.kt | hongwei-bai | 693,073,003 | false | {"Kotlin": 17184} | package com.hongwei.demo.coroutinesvisualiser.data.datasource.firebase
class FirebaseStorageApiService {
} | 0 | Kotlin | 0 | 0 | d3846680ef82070b83235bb22b08b4652c28f2bd | 107 | coroutines-visualiser | Apache License 2.0 |
app/src/main/kotlin/com/hongwei/demo/coroutinesvisualiser/data/datasource/firebase/FirebaseStorageApiService.kt | hongwei-bai | 693,073,003 | false | {"Kotlin": 17184} | package com.hongwei.demo.coroutinesvisualiser.data.datasource.firebase
class FirebaseStorageApiService {
} | 0 | Kotlin | 0 | 0 | d3846680ef82070b83235bb22b08b4652c28f2bd | 107 | coroutines-visualiser | Apache License 2.0 |
googlepay/src/main/java/br/com/braspag/googlepay/Environment.kt | Braspag | 211,155,141 | false | null | package br.com.braspag.googlepay
enum class Environment {
SANDBOX,
PRODUCTION
} | 0 | Kotlin | 1 | 0 | 74d519e29ecd348442055fe0c932fa864da758dd | 88 | braspag-google-pay | MIT License |
compiler-plugin/src/main/kotlin/arrow/meta/quotes/BinaryExpression.kt | pt2121 | 222,190,326 | true | {"Kotlin": 547264, "Shell": 3065} | package arrow.meta.quotes
import arrow.meta.Meta
import arrow.meta.phases.ExtensionPhase
import org.jetbrains.kotlin.psi.KtBinaryExpression
import org.jetbrains.kotlin.psi.KtExpression
import org.jetbrains.kotlin.psi.KtOperationReferenceExpression
/**
* A template destructuring [Scope] for a [KtBinaryExpression]
*
... | 0 | null | 0 | 0 | f5accc6d2bd8d65e93cd2054a432b575e04f447f | 1,204 | arrow-meta | Apache License 2.0 |
compiler-plugin/src/main/kotlin/arrow/meta/quotes/BinaryExpression.kt | pt2121 | 222,190,326 | true | {"Kotlin": 547264, "Shell": 3065} | package arrow.meta.quotes
import arrow.meta.Meta
import arrow.meta.phases.ExtensionPhase
import org.jetbrains.kotlin.psi.KtBinaryExpression
import org.jetbrains.kotlin.psi.KtExpression
import org.jetbrains.kotlin.psi.KtOperationReferenceExpression
/**
* A template destructuring [Scope] for a [KtBinaryExpression]
*
... | 0 | null | 0 | 0 | f5accc6d2bd8d65e93cd2054a432b575e04f447f | 1,204 | arrow-meta | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.