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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
parsely/src/test/java/com/parsely/parselyandroid/InMemoryBufferTest.kt | Parsely | 9,324,299 | false | {"Kotlin": 96548, "Java": 6619} | package com.parsely.parselyandroid
import kotlin.time.Duration.Companion.seconds
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.cancel
import kotlinx.coroutines.test.advanceTimeBy
import kotlinx.coroutines.test.runCurrent
import kotlinx.coroutines.test.runTest
import org.assertj.core.api... | 8 | Kotlin | 6 | 5 | 3ae9382f33594a6ba52d5f59bb1c5bdf83da3b52 | 2,877 | parsely-android | Apache License 2.0 |
app/src/main/java/id/co/woiapp/data/remote/service/DetailBookService.kt | bintangeditya | 340,482,979 | false | null | package id.co.woiapp.data.remote.service
import id.co.woiapp.data.entities.Book
import id.co.woiapp.data.entities.DetailBook
import id.co.woiapp.data.entities.RootResponse
import retrofit2.Response
import retrofit2.http.*
interface DetailBookService {
@GET("book/bookid/{id_book}/userid/{id_user}")
suspend fu... | 0 | Kotlin | 0 | 0 | a88ef6c24baa270b03c3637d4f95beb335316e5b | 961 | WorkOnItApp | Apache License 2.0 |
samples/SampleKMPApplication/shared/src/androidMain/kotlin/dev/zawadzki/samplekmpapplication/platform/Dispatchers.android.kt | zawadz88 | 701,447,072 | false | {"Kotlin": 81372} | package dev.zawadzki.samplekmpapplication.platform
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.Dispatchers
internal actual val IoDispatcher: CoroutineDispatcher
get() = Dispatchers.IO
| 0 | Kotlin | 0 | 0 | bad3ebb1af70d0e60ae0f15b6a909e70fd845d1b | 218 | AnalyticsEventGenerator | MIT License |
samples/SampleKMPApplication/shared/src/androidMain/kotlin/dev/zawadzki/samplekmpapplication/platform/Dispatchers.android.kt | zawadz88 | 701,447,072 | false | {"Kotlin": 81372} | package dev.zawadzki.samplekmpapplication.platform
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.Dispatchers
internal actual val IoDispatcher: CoroutineDispatcher
get() = Dispatchers.IO
| 0 | Kotlin | 0 | 0 | bad3ebb1af70d0e60ae0f15b6a909e70fd845d1b | 218 | AnalyticsEventGenerator | MIT License |
src/main/kotlin/magicsquare/quartumbackend/security/payload/SignupRequest.kt | MagicSquareTeam | 458,905,234 | false | null | package magicsquare.quartumbackend.security.payload
import javax.validation.constraints.Email
import javax.validation.constraints.NotBlank
import javax.validation.constraints.Size
/**
* Signup request - запрос при попытке регистрациии
*
* @property email
* @property role
* @property password
* @property usernam... | 0 | Kotlin | 0 | 0 | 35ed0f9594da403a9d39f7fe481a5669d6599df2 | 811 | quartum-backend | MIT License |
home/src/main/java/com/wo1f/home/components/HomeComponents.kt | adwardwolf | 387,865,580 | false | null | package com.wo1f.home.components
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.wrapContentSize
import androidx.compose... | 0 | Kotlin | 0 | 2 | d9372ab26a0f74ff32e196ffc7457258f1d7270c | 2,655 | the-earth | Apache License 2.0 |
app/src/main/java/com/bsuir/bsuirschedule/api/services/GetGroupScheduleService.kt | Saydullin | 526,953,048 | false | {"Kotlin": 634026, "HTML": 7301} | package com.bsuir.bsuirschedule.api.services
import com.bsuir.bsuirschedule.domain.models.GroupSchedule
import com.bsuir.bsuirschedule.domain.models.ScheduleLastUpdatedDate
import retrofit2.Response
import retrofit2.http.GET
import retrofit2.http.Path
import retrofit2.http.Query
interface GetGroupScheduleService {
... | 0 | Kotlin | 0 | 4 | edb67f1ec3602227f4a4a757bc89a6ec587160c3 | 873 | BSUIR_Schedule | Creative Commons Zero v1.0 Universal |
android-app/app/src/main/java/top/vuhe/android/activity/MainActivity.kt | vuhe | 495,742,442 | false | {"Kotlin": 31574} | package top.vuhe.android.activity
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import top.vuhe.android.databinding.ActivityMainBinding
/**
* ## 欢迎页面
*/
class MainActivity : AppCompatActivity() {
private lateinit var binding: ActivityMainBinding
override fun onCreate(savedInstan... | 0 | Kotlin | 0 | 0 | 7427d337914ab68e0675cd8ebb74e0aaa74e82cc | 741 | recite-words | MIT License |
web/src/main/kotlin/no/nav/su/se/bakover/web/routes/regulering/ReguleringRoutes.kt | navikt | 227,366,088 | false | null | package no.nav.su.se.bakover.web.routes.regulering
import io.ktor.routing.Route
import no.nav.su.se.bakover.service.regulering.ReguleringService
internal const val reguleringPath = "/reguleringer"
internal fun Route.reguleringRoutes(
reguleringService: ReguleringService,
) {
hentListeAvVedtakSomKanReguleres(... | 3 | Kotlin | 0 | 0 | b0864f973c8986f58af07c4bc7f601caa602dbfc | 341 | su-se-bakover | MIT License |
data/networking/src/main/java/be/appwise/networking/interceptors/Authenticator.kt | wisemen-digital | 349,150,482 | false | {"Kotlin": 255860} | package be.appwise.networking.interceptors
import be.appwise.networking.NetworkConstants
import be.appwise.networking.Networking
import be.appwise.networking.NetworkingUtil
import be.appwise.networking.model.AccessToken
import com.orhanobut.logger.Logger
import okhttp3.Authenticator
import okhttp3.Request
import okhtt... | 7 | Kotlin | 5 | 5 | c7a8a31aea0b61923af987ab5410f19897d52820 | 3,685 | AndroidCore | MIT License |
composeApp/src/commonMain/kotlin/com/jetbrains/dependoapp/presentation/screens/otp/OTPScreenMain.kt | loke101 | 763,358,687 | false | {"Kotlin": 234797, "Swift": 661} | package com.jetbrains.dependoapp.presentation.screens.otp
import androidx.compose.foundation.BorderStroke
import androidx.compose.foundation.border
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose... | 0 | Kotlin | 0 | 0 | edcd07d4846375a79173b3aff090e7a7828029fe | 8,191 | KMPDEPENDO_01 | Apache License 2.0 |
app/src/main/java/com/tmdb/movie/TMDBMovieApplication.kt | sqsong66 | 703,818,964 | false | {"Kotlin": 899108} | package com.tmdb.movie
import android.app.Application
import coil.ImageLoader
import coil.ImageLoaderFactory
import coil.decode.SvgDecoder
import coil.util.DebugLogger
import dagger.hilt.android.HiltAndroidApp
@HiltAndroidApp
class TMDBMovieApplication : Application(), ImageLoaderFactory {
override fun newImageL... | 1 | Kotlin | 11 | 24 | 7dfc6aa197d1646773967f06eeef5a998bcda5a3 | 530 | TMDB-Movie | Apache License 2.0 |
app/src/main/java/org/p2p/wallet/newsend/model/FeePayerState.kt | p2p-org | 306,035,988 | false | null | package org.p2p.wallet.newsend.model
import org.p2p.core.token.Token
import java.math.BigInteger
sealed interface FeePayerState {
object SwitchToSol : FeePayerState
class SwitchToSpl(val tokenToSwitch: Token.Active) : FeePayerState
class ReduceInputAmount(val maxAllowedAmount: BigInteger) : FeePayerState
... | 8 | Kotlin | 16 | 28 | 71b282491cdafd26be1ffc412a971daaa9c06c61 | 322 | key-app-android | MIT License |
legal/core/src/commonMain/kotlin/identifier/IndividualUtils.kt | aSoft-Ltd | 537,239,153 | false | null | package identifier
import identifier.params.IndividualProfileParams
fun Individual.toProfileParams() = IndividualProfileParams(
name, title, dob, gender, idDocumentNumber, idDocumentType, location
) | 0 | Kotlin | 0 | 2 | cbc3c6afb6bfd0d9860dd5cc2c7b8d523301d481 | 204 | identifier | MIT License |
app/src/main/java/com/breezefieldsalesgypmart/features/viewAllOrder/interf/SizeListNewOrderOnClick.kt | DebashisINT | 756,313,443 | false | {"Kotlin": 28651411, "Java": 1675874} | package com.breezefieldsalesgypmart.features.viewAllOrder.interf
import com.breezefieldsalesgypmart.app.domain.NewOrderProductEntity
import com.breezefieldsalesgypmart.app.domain.NewOrderSizeEntity
interface SizeListNewOrderOnClick {
fun sizeListOnClick(size: NewOrderSizeEntity)
} | 0 | Kotlin | 0 | 0 | 5d00949301ef30f93da463ae40abad1605e483c5 | 287 | GypmartIndiaPvtLtd | Apache License 2.0 |
src/me/fzzy/eventvoter/commands/help/Picturetypes.kt | Fzzy2j | 133,724,537 | false | {"Text": 1, "Markdown": 1, "Kotlin": 29, "Java": 1, "XML": 1} | package me.fzzy.eventvoter.commands.help
import me.fzzy.eventvoter.Command
import sx.blah.discord.handle.impl.events.guild.channel.message.MessageReceivedEvent
import sx.blah.discord.util.RequestBuffer
import java.io.File
class Picturetypes : Command {
override val cooldownMillis: Long = 4 * 1000
override va... | 0 | Kotlin | 1 | 0 | 46a5274d55c3128e83259c9c1dba360716eb166b | 929 | EvilFzzy4J | MIT License |
musicasBD/src/main/kotlin/br/com/alura/musicasBD/dados/BandaDAO.kt | ruan4f | 670,308,529 | false | {"Text": 1, "Git Attributes": 1, "Markdown": 2, "Ignore List": 12, "XML": 53, "INI": 6, "Java": 65, "Java Server Pages": 4, "HTML": 1, "JAR Manifest": 1, "Maven POM": 3, "Kotlin": 46, "JSON": 1, "Gradle": 3, "Java Properties": 2, "Shell": 1, "Batchfile": 1, "Proguard": 1} | package br.com.alura.musicasBD.dados
import br.com.alura.musicasBD.extensions.toEntity
import br.com.alura.musicasBD.extensions.toModel
import br.com.alura.musicasBD.modelos.Banda
import javax.persistence.EntityManager
class BandaDAO(manager: EntityManager)
: DAO<Banda, BandaEntity>(manager, BandaEntity::class.ja... | 0 | Java | 0 | 0 | b509647443678675e7f7b16d8ca127b05dc0445c | 514 | kotlin | MIT License |
sample/app/src/main/java/com/pulseinsights/surveysdkexample/SurveyDemoActivity.kt | Pulse-Insights | 693,447,000 | false | {"Text": 1, "Ignore List": 4, "Markdown": 1, "Gradle": 2, "Gradle Kotlin DSL": 2, "Java Properties": 2, "Shell": 1, "Batchfile": 1, "Proguard": 2, "Kotlin": 12, "XML": 60, "Java": 96, "YAML": 1} | package com.pulseinsights.surveysdkexample;
import android.content.Intent
import android.os.Bundle
import android.view.Menu
import android.view.View
import android.widget.ImageView
import android.widget.TextView
import androidx.appcompat.app.AppCompatActivity
import androidx.constraintlayout.widget.Group
import com.pu... | 0 | Java | 0 | 0 | 6fa63d908594b66f8896a942676aa8d9fb0835a7 | 3,866 | pi.android | MIT License |
clients/kotlin-vertx/generated/src/main/kotlin/org/openapitools/server/api/verticle/ConversionTagsApiVerticle.kt | oapicf | 489,369,143 | false | {"Markdown": 13009, "YAML": 64, "Text": 6, "Ignore List": 43, "JSON": 688, "Makefile": 2, "JavaScript": 2261, "F#": 1305, "XML": 1120, "Shell": 44, "Batchfile": 10, "Scala": 4677, "INI": 23, "Dockerfile": 14, "Maven POM": 22, "Java": 13384, "Emacs Lisp": 1, "Haskell": 75, "Swift": 551, "Ruby": 1149, "Cabal Config": 2, ... | package org.openapitools.server.api.verticle
import io.vertx.core.Vertx
import io.vertx.core.AbstractVerticle
import io.vertx.serviceproxy.ServiceBinder
fun main(){
Vertx.vertx().deployVerticle(ConversionTagsApiVerticle())
}
class ConversionTagsApiVerticle:AbstractVerticle() {
override fun start() {
... | 0 | Java | 0 | 2 | dcd328f1e62119774fd8ddbb6e4bad6d7878e898 | 653 | pinterest-sdk | MIT License |
giftcard-multiconfig-monolith/src/main/java/com/example/giftcard/query/api.kt | djtalez | 146,441,290 | true | {"Markdown": 3, "Text": 1, "Ignore List": 1, "Maven POM": 6, "Java": 20, "INI": 4, "XML": 1, "Kotlin": 3, "Shell": 1, "SQL": 3, "Batchfile": 1, "Java Properties": 1} | package com.example.giftcard.query
import java.time.Instant
import java.util.*
import javax.persistence.Entity
import javax.persistence.Id
@Entity
data class CardSummary(
@Id var id: String? = null,
var initialValue: Int? = null,
var issuedAt: Instant? = null,
var remainingValue: Int? ... | 0 | Java | 0 | 0 | e4a20197b918df173d2ac409aeff33449dd66e10 | 946 | giftcard-demo-series | Apache License 2.0 |
aTalk/src/main/java/net/java/sip/communicator/service/protocol/event/WhiteboardObjectDeliveryFailedEvent.kt | cmeng-git | 704,328,019 | false | {"Kotlin": 14462775, "Java": 2824517, "C": 275021, "Shell": 49203, "Makefile": 28273, "C++": 13642, "HTML": 7793, "CSS": 3127, "JavaScript": 2758, "AIDL": 375} | /*
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
*
* 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 b... | 0 | Kotlin | 0 | 0 | 393d94a8b14913b718800238838801ce6cdf5a1f | 4,634 | atalk-hmos_kotlin | Apache License 2.0 |
src/main/java/io/github/alexiscomete/lapinousecond/view/discord/manager/MessagesManager.kt | Alexiscomete | 377,132,555 | false | {"Kotlin": 502869} | package io.github.alexiscomete.lapinousecond.view.discord.manager
import io.github.alexiscomete.lapinousecond.entity.entities.PlayerManager
import io.github.alexiscomete.lapinousecond.entity.xp.LevelRewards
import org.javacord.api.entity.message.embed.EmbedBuilder
import org.javacord.api.event.message.MessageCreateEve... | 65 | Kotlin | 0 | 9 | e269a7e62bd53e6aa2a64db48a5829ee772bb5a6 | 1,785 | A-Discord-Adventure | MIT License |
app/src/main/java/com/oneguygames/exquicksettings/QuickSettingsService.kt | Elforama | 108,608,287 | false | null | package com.oneguygames.exquicksettings
import android.content.Intent
import android.service.quicksettings.TileService
import android.widget.Toast
/**
* Created by Jonathan Muller on 10/27/17.
*/
class QuickSettingsService : TileService() {
override fun onDestroy() {
super.onDestroy()
showToast... | 0 | Kotlin | 0 | 0 | 61c91ea12c81c6e5eda24d987969a8408b9a5e43 | 1,049 | exQuickSettings | Apache License 2.0 |
vitrivr-engine-core/src/main/kotlin/org/vitrivr/engine/core/config/IndexConfig.kt | vitrivr | 679,355,326 | false | {"Kotlin": 608109} | package org.vitrivr.engine.core.config
import io.github.oshai.kotlinlogging.KLogger
import io.github.oshai.kotlinlogging.KotlinLogging
import kotlinx.serialization.Serializable
import kotlinx.serialization.json.Json
import kotlinx.serialization.json.decodeFromStream
import org.vitrivr.engine.core.config.operators.Enum... | 35 | Kotlin | 1 | 4 | 1af88808f815237018eec48ede0f9c36d22b6145 | 1,498 | vitrivr-engine | MIT License |
utils/src/main/java/dev/medzik/android/utils/Coroutines.kt | M3DZIK | 698,762,035 | false | {"Kotlin": 50600, "Shell": 165} | package dev.medzik.android.utils
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.MainScope
import kotlinx.coroutines.launch
/**
* Runs the code block on the main (UI) thread using Kotlin Coroutines.
*
* @param block The code block which will be executed on the UI thread.
*/
fun runOnUiThread(block... | 2 | Kotlin | 0 | 1 | 5041dee3f97e43090ed8edf785d94bf32718ce81 | 636 | android-utils | MIT License |
app/src/main/java/io/github/zwieback/familyfinance/business/chart/display/HorizontalBarChartDisplay.kt | zwieback | 111,666,879 | false | null | package io.github.zwieback.familyfinance.business.chart.display
import io.github.zwieback.familyfinance.business.chart.display.type.HorizontalBarChartGroupByType
import kotlinx.parcelize.Parcelize
@Parcelize
data class HorizontalBarChartDisplay(
var groupByType: HorizontalBarChartGroupByType = HorizontalBarChartG... | 0 | Kotlin | 0 | 0 | a640c6ce73ca195f2ee5e41ed71fbf6169d9bb3e | 794 | FamilyFinance | Apache License 2.0 |
app/src/main/java/com/sdk/getid/model/app/form/FormValueType.kt | vvorld | 226,843,394 | false | {"Kotlin": 46529, "Java": 929} | package com.sdk.getid.model.app.form
import android.os.Parcelable
import kotlinx.android.parcel.Parcelize
@Parcelize
enum class FormValueType : Parcelable {
TEXT,
DATE,
SEX,
COUNTRY
}
| 5 | Kotlin | 3 | 6 | 96f5e08d8002cd5d8e0a0a6585f616be00ad18bb | 203 | getid-android-sdk | MIT License |
platforms/forge-1.18/src/main/java/org/anti_ad/mc/common/vanilla/Vanilla.kt | blackd | 351,481,591 | false | null | package org.anti_ad.mc.common.vanilla
import org.anti_ad.mc.common.vanilla.alias.IntegratedServer
import org.anti_ad.mc.common.vanilla.alias.MinecraftClient
import org.anti_ad.mc.common.vanilla.alias.Screen
import org.anti_ad.mc.common.vanilla.alias.Window
// ============
// vanillamapping code depends on mappings (p... | 12 | null | 12 | 47 | d8ff23dd59d58b22b4dc1684f081b7139a0dd42e | 2,208 | Inventory-Profiles | MIT License |
core/src/main/java/com/ifmvo/togetherad/core/helper/BaseHelper.kt | xiaokangkang168lxk | 297,619,982 | true | {"Kotlin": 146034} | package com.ifmvo.togetherad.core.helper
import android.os.CountDownTimer
import org.jetbrains.annotations.NotNull
import com.ifmvo.togetherad.core.TogetherAd
import com.ifmvo.togetherad.core.listener.BaseListener
import com.ifmvo.togetherad.core.utils.logd
import com.ifmvo.togetherad.core.utils.logi
import com.ifmvo.... | 0 | null | 0 | 0 | bbde805d5d1a2bab25c4e2fa9d74a4f5bac31557 | 1,850 | TogetherAd | MIT License |
app/src/main/java/com/example/pokedex/navigation/Screens.kt | PedroDias111 | 873,590,478 | false | {"Kotlin": 98787} | package com.example.pokedex.navigation
import kotlinx.serialization.Serializable
internal sealed class Screens {
@Serializable
object PokemonListScreen
@Serializable
data class PokemonDetailsScreen(val name: String)
} | 0 | Kotlin | 0 | 0 | 71c1a4137847819eb5f3b68abeeb4be9948fb85e | 237 | Pokedex | MIT License |
plugin-build/plugin/src/main/java/ru/kode/android/build/publish/plugin/extension/config/PlayConfig.kt | appKODE | 489,095,496 | false | {"Kotlin": 188675} | package ru.kode.android.build.publish.plugin.extension.config
import org.gradle.api.file.RegularFileProperty
import org.gradle.api.provider.Property
import org.gradle.api.tasks.Input
import org.gradle.api.tasks.InputFile
interface PlayConfig {
val name: String
/**
* The path to file with token for Googl... | 9 | Kotlin | 8 | 8 | ecc622efd4e203fd55cb942020e0c59eb23aaf10 | 775 | build-publish-plugin | MIT License |
app/src/main/java/com/palkowski/friendupp/Components/ScreenHeading.kt | adampalkowski | 650,671,766 | false | null | package com.palkowski.friendupp.Components
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.*
import androidx.compose.material.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.text.... | 0 | Kotlin | 0 | 0 | 36851c9f03634467cb3f0457dbc178da87a3559a | 2,080 | FriendUpp | MIT License |
backend/src/test/java/kudos/Utils/StringPlusHashTagsTest.kt | jasperblues | 108,792,582 | true | {"Kotlin": 23833, "JavaScript": 22544, "HTML": 7573, "CSS": 6334} | package kudos.Utils
import kudos.utils.hashTags
import org.junit.Test
import org.junit.Assert.*
class StringPlusHashTagsTest {
@Test
fun shouldExtractHashTags() {
val text = "Hosting the Local Google Suncoast meetup and discussing #Kotlin w/@traversoft https://t.co/XM5erRNn5z\""
val tags = te... | 0 | Kotlin | 0 | 0 | ccecd9e98d0f0f42ca7f45e1118305af92e8517a | 417 | community-radar | Apache License 2.0 |
app/src/main/java/com/example/mymeme/other/Permission.kt | agamkoradiya | 382,245,015 | false | null | package com.example.mymeme.other
import android.Manifest
import android.content.Context
import android.util.Log
import androidx.fragment.app.Fragment
import com.example.mymeme.other.Constants.PERMISSION_STORAGE_REQUEST_CODE
import com.vmadalin.easypermissions.EasyPermissions
private const val TAG = "Permission"
obje... | 0 | Kotlin | 1 | 4 | 0858f7c95212fb1a5e8557332ac6eb66bf6ff056 | 978 | MemeLover | MIT License |
shared/src/main/java/de/loosetie/k8s/dsl/impls/LabelSelector.kt | loosetie | 283,145,621 | false | {"Kotlin": 10664277} | package de.loosetie.k8s.dsl.impls
import com.fasterxml.jackson.annotation.JsonIgnore
import com.fasterxml.jackson.annotation.JsonPropertyOrder
import de.loosetie.k8s.dsl.K8sManifest
import de.loosetie.k8s.dsl.HasParent
import de.loosetie.k8s.dsl.manifests.*
@JsonPropertyOrder("matchExpressions", "matchLabels")
class ... | 0 | Kotlin | 0 | 1 | dd616e546de56240a7a4d3edb18cb4f6529e301b | 1,004 | k8s-dsl | Apache License 2.0 |
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/twotone/Mousesquare.kt | Tlaster | 560,394,734 | false | {"Kotlin": 25133302} | package moe.tlaster.icons.vuesax.vuesaxicons.broken
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx.... | 0 | Kotlin | 0 | 2 | b8a8231e6637c2008f675ae76a3423b82ee53950 | 2,921 | VuesaxIcons | MIT License |
app/src/androidTest/kotlin/org/andstatus/app/service/CommandExecutorStrategyTest.kt | andstatus | 3,040,264 | false | {"Kotlin": 3385973, "XSLT": 14655, "HTML": 14046, "CSS": 4427, "Shell": 707} | /*
* Copyright (C) 2014 yvolk (<NAME>), http://yurivolkov.com
*
* 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 ... | 86 | Kotlin | 69 | 306 | 6166aded1f115e6e6a7e66ca3756f39f0434663e | 9,471 | andstatus | Apache License 2.0 |
cottontaildb-core/src/main/kotlin/org/vitrivr/cottontail/core/values/generators/StringValueGenerator.kt | vitrivr | 160,775,368 | false | null | package org.vitrivr.cottontail.core.values.generators
import org.apache.commons.math3.random.RandomGenerator
import org.vitrivr.cottontail.core.values.StringValue
import org.vitrivr.cottontail.core.values.types.VectorValue
/**
* A [ValueGenerator] for [StringValue]s.
*
* @author <NAME>
* @version 1.0.0
*/
object... | 23 | null | 20 | 38 | baaf9a8799ed9a7c6b5113587fdca674d3f11497 | 1,428 | cottontaildb | MIT License |
sei-chain/src/commonMain/kotlin/seiprotocol/seichain/dex/order_entry.converter.kt | jdekim43 | 759,720,689 | false | {"Kotlin": 8940168, "Java": 3242559} | // Transform from dex/order_entry.proto
@file:GeneratorVersion(version = "0.3.1")
package seiprotocol.seichain.dex
import google.protobuf.Any
import java.lang.IllegalStateException
import kr.jadekim.protobuf.`annotation`.GeneratorVersion
import kr.jadekim.protobuf.converter.ProtobufConverter
import kr.jadekim.protobu... | 0 | Kotlin | 0 | 0 | eb9b3ba5ad6b798db1d8da208b5435fc5c1f6cdc | 1,148 | chameleon.proto | Apache License 2.0 |
automotive/src/main/java/com/ixam97/carStatsViewer/InAppLogger.kt | Ixam97 | 583,674,516 | false | null | package com.ixam97.carStatsViewer
import android.app.Activity
import android.app.AlertDialog
import android.content.ClipData
import android.content.ClipboardManager
import android.content.Context
import android.os.Bundle
import android.util.Patterns
import android.view.LayoutInflater
import android.widget.EditText
imp... | 16 | Kotlin | 19 | 32 | 00137dc829b2a22996ad9e20fa8818aa1685df7e | 11,216 | CarStatsViewer | MIT License |
lib/sisyphus-common/src/main/kotlin/com/bybutter/sisyphus/security/Blowfish.kt | ButterCam | 264,589,207 | false | {"Kotlin": 1187893, "ANTLR": 12352} | package com.bybutter.sisyphus.security
import javax.crypto.Cipher
import javax.crypto.spec.SecretKeySpec
fun ByteArray.blowfishEncrypt(
key: String,
from: Int = 0,
to: Int = this.size,
): ByteArray {
return blowfishEncrypt(key.toByteArray(), from, to)
}
fun ByteArray.blowfishDecrypt(
key: String,... | 9 | Kotlin | 10 | 92 | 1f9851c7c45030fa08e018e961110851e029f940 | 1,042 | sisyphus | MIT License |
app/src/main/java/com/imtae/gitcheck/bindingadapter/Layout.kt | Im-Tae | 237,409,069 | false | null | package com.imtae.gitcheck.bindingadapter
import android.view.View
import android.widget.LinearLayout
import androidx.databinding.BindingAdapter
@BindingAdapter("setVisibilityProfileLinearLayout")
fun LinearLayout.setVisibilityProfileLinearLayout(text: String?) {
if (!text.isNullOrBlank()) this.visibility = View.... | 0 | Kotlin | 0 | 4 | 9ab2fd7d39a948890e68a34f87181f327a926b1d | 366 | GitCheck | Apache License 2.0 |
src/test/kotlin/com/demo/controllers/UserLoginTest.kt | mmaggioni | 145,760,354 | false | null | package com.demo.controllers
import com.demo.config.WebConfig
import com.demo.users.User
import com.demo.jwt.JwtService
import com.demo.users.UserController
import com.demo.users.UserService
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.extension.ExtendWith
import org.mockito.BDDMockito.given
import o... | 0 | Kotlin | 1 | 0 | 874c1fde0207c6f6fde7deb2811c1147e31f4274 | 2,219 | kotlin-jwt | MIT License |
KAdmob/src/iosMain/kotlin/io/github/kadmob/adManager/AdInterstitialManager.kt | the-best-is-best | 873,461,219 | false | {"Kotlin": 32555, "Swift": 782, "HTML": 352, "Ruby": 252} | package io.github.kadmob.adManager
import cocoapods.KAdmob.InterstitialAdController
import io.github.kadmob.getCurrentUIViewController
import kotlinx.cinterop.ExportObjCClass
import platform.darwin.NSObject
@ExportObjCClass
class AdInterstitialManager : NSObject() {
private var interstitialAdView: InterstitialAd... | 0 | Kotlin | 0 | 0 | 3b577cef2f742cba1097154f3368632bcf3ce494 | 659 | KMMAdmob | Apache License 2.0 |
appwidget/src/main/java/uk/co/barbuzz/appwidget/configure/ConfigurePreferenceFragment.kt | andyb129 | 268,361,827 | false | null | package uk.co.barbuzz.appwidget.configure
import android.content.Context
import android.os.Bundle
import androidx.lifecycle.ViewModelProvider
import androidx.lifecycle.get
import androidx.preference.EditTextPreference
import androidx.preference.ListPreference
import androidx.preference.PreferenceFragmentCompat
import ... | 0 | Kotlin | 5 | 22 | 6adaf5111345e72b2dfaf2e172b540aa222a081e | 3,339 | AppDevToolbox | Apache License 2.0 |
src/test/kotlin/io/github/tmcreative1/playwright/remote/page/TestPageWaitForResponse.kt | TMcreative1 | 344,872,041 | false | {"Kotlin": 1474337, "JavaScript": 10814, "HTML": 10152, "CSS": 2547} | package io.github.tmcreative1.playwright.remote.page
import io.github.tmcreative1.playwright.remote.base.BaseTest
import io.github.tmcreative1.playwright.remote.core.exceptions.PlaywrightException
import io.github.tmcreative1.playwright.remote.engine.options.wait.WaitForResponseOptions
import io.github.tmcreative1.pla... | 0 | Kotlin | 0 | 1 | a4b4d3fe199f0a3e7d740feded801ecd5e2b9992 | 2,816 | playwright-remote | MIT License |
src/main/kotlin/xyz/nightfury/commands/moderator/KickCmd.kt | NightFuryBot | 93,881,665 | false | null | /*
* Copyright 2017-2018 Kaidan Gustave
*
* 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 ag... | 0 | Kotlin | 0 | 6 | 6644cf54e64ded25f9c5a5ba113b610f3595e251 | 3,006 | NightFury | Apache License 2.0 |
repository/src/main/java/com/senierr/repository/entity/bmob/Pointer.kt | senierr | 272,867,752 | false | null | package com.senierr.repository.entity.bmob
/**
* 用于表示一对一及一对多的关系
*
* @author chunjiezhou
* @date 2021/01/11
*/
data class Pointer(
val __type: String = "Pointer",
val className: String = "",
val objectId: String = ""
) | 0 | Kotlin | 0 | 1 | eb6e8a12fbc8f887cfbe057b8fa11e36e44b8239 | 235 | Mortal | Apache License 2.0 |
privacysandbox/tools/tools-apicompiler/src/test/test-data/sdkruntimelibrarysdk/output/com/mysdk/AbstractSandboxedSdkProvider.kt | KOLANICH-libs | 445,548,183 | true | {"Kotlin": 68310818, "Java": 60327498, "C++": 9028407, "Python": 292398, "AIDL": 264519, "Shell": 174895, "HTML": 21175, "ANTLR": 19860, "CMake": 12136, "TypeScript": 7599, "C": 7083, "Swift": 3153, "JavaScript": 1343} | package com.mysdk
import android.content.Context
import android.os.Bundle
import android.view.View
import androidx.privacysandbox.sdkruntime.core.SandboxedSdkCompat
import androidx.privacysandbox.sdkruntime.core.SandboxedSdkCompat.Companion.create
import androidx.privacysandbox.sdkruntime.core.SandboxedSdkProviderComp... | 0 | Kotlin | 0 | 0 | c542b3a7cf2c46dfe3e071ca57956761e90aaff3 | 863 | androidx | Apache License 2.0 |
src/main/kotlin/me/syari/ss/tool/item/attachment/gun/option/ScopeOption.kt | SecondStoryServer | 257,216,726 | false | null | package me.syari.ss.tool.item.attachment.gun.option
import me.syari.ss.core.config.CustomConfig
import me.syari.ss.core.config.dataType.ConfigDataType
import me.syari.ss.tool.Main.Companion.toolPlugin
import org.bukkit.entity.Player
import org.bukkit.metadata.FixedMetadataValue
import org.bukkit.potion.PotionEffect
im... | 0 | Kotlin | 0 | 0 | 738d11c9b4af9adf268744f5adc1dcecd0569fa1 | 3,086 | SS-Tool | Apache License 2.0 |
PennMobile/src/main/java/com/pennapps/labs/pennmobile/classes/CalendarCell.kt | pennlabs | 16,791,473 | false | {"Kotlin": 618721, "Java": 96504, "HTML": 1719} | package com.pennapps.labs.pennmobile.classes
data class CalendarCell(
val events: List<CalendarEvent>,
) : HomeCell() {
init {
type = "calendar"
}
}
| 0 | Kotlin | 5 | 34 | 8469628fd469ccfbcead093a67c899556708d935 | 170 | penn-mobile-android | MIT License |
fingerprint/src/main/java/com/fingerprintjs/android/fingerprint/info_providers/PackageManagerInfoProvider.kt | fingerprintjs | 305,740,280 | false | null | package com.fingerprintjs.android.fingerprint.info_providers
import android.annotation.SuppressLint
import android.content.pm.PackageManager
import com.fingerprintjs.android.fingerprint.tools.executeSafe
interface PackageManagerDataSource {
fun getApplicationsList(): List<PackageInfo>
fun getSystemApplicati... | 6 | null | 35 | 292 | b99aff0a4315dc99546901b71c23c3b07462af25 | 1,454 | fingerprint-android | MIT License |
src/test/kotlin/com/sksamuel/avro4k/schema/AvroAliasSchemaTest.kt | JacobJohansen | 307,819,926 | true | {"Kotlin": 261305} | package com.sksamuel.avro4k.schema
import com.sksamuel.avro4k.Avro
import com.sksamuel.avro4k.AvroAlias
import com.sksamuel.avro4k.AvroAliases
import io.kotest.matchers.shouldBe
import io.kotest.core.spec.style.WordSpec
import kotlinx.serialization.Serializable
class AvroAliasSchemaTest : WordSpec({
"SchemaEncoder... | 0 | null | 0 | 0 | b38560f83cae881b9a0031da5c95744b7578e981 | 1,979 | avro4k | Apache License 2.0 |
straight/src/commonMain/kotlin/me/localx/icons/straight/bold/DotCircle.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.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
im... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 2,232 | icons | MIT License |
src/main/kotlin/org/move/lang/core/psi/ext/MvStructLitExpr.kt | pontem-network | 279,299,159 | false | {"Kotlin": 2191000, "Move": 39421, "Lex": 5509, "HTML": 2114, "Java": 1275} | package org.move.lang.core.psi.ext
import org.move.lang.core.psi.MvStructLitExpr
import org.move.lang.core.psi.MvStructLitField
import org.move.lang.core.psi.MvStructLitFieldsBlock
val MvStructLitExpr.fields: List<MvStructLitField> get() = structLitFieldsBlock.structLitFieldList
val MvStructLitExpr.providedFieldName... | 3 | Kotlin | 29 | 69 | d090ecd542bb16f414cc1cf2dcbe096ca37536af | 475 | intellij-move | MIT License |
app/src/main/java/ch/abwesend/privatecontacts/view/screens/importexport/ImportCategoryComponent.kt | fgubler | 462,182,037 | false | {"Kotlin": 1163443, "Java": 369326} | /*
* Private Contacts
* Copyright (c) 2023.
* <NAME>
*/
package ch.abwesend.privatecontacts.view.screens.importexport
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
im... | 0 | Kotlin | 1 | 9 | 49b98707f8cd250f7f15279c4b9e61fef41f1fb1 | 12,159 | PrivateContacts | Apache License 2.0 |
plotlykt-core/src/commonMain/kotlin/space/kscience/plotly/models/TraceValues.kt | mipt-npm | 186,020,000 | false | null | package space.kscience.plotly.models
import space.kscience.dataforge.meta.Scheme
import space.kscience.dataforge.meta.value
import space.kscience.dataforge.names.Name
import space.kscience.dataforge.values.*
/**
* Type-safe accessor class for values in the trace
*/
public class TraceValues internal constructor(publ... | 8 | Kotlin | 18 | 114 | 77c3882daff7e65b51e4ef6761a7147c01c3ee9c | 1,973 | plotly.kt | Apache License 2.0 |
src/main/kotlin/turfkt/Center.kt | Ixw123 | 172,767,838 | true | {"Kotlin": 61212} | package turfkt
import geojsonkt.*
private fun center(geojson: GeoJson): Position {
val ext = geojson.bbox!!
val x = (ext.southWest[0] + ext.northEast[0]) / 2
val y = (ext.southWest[1] + ext.northEast[1]) / 2
return Position(x, y)
}
fun Feature<*>.center(): Position = center(this)
fun FeatureCollec... | 0 | Kotlin | 0 | 0 | 10d8fdf7c05f52464e58e50e51a3e27d20766c20 | 358 | turf.kt | MIT License |
de.oklab.leipzig.cdv.damals.generator/src/main/kotlin/de/oklab/leipzig/cdv/damals/generator/nominatim/Nominatims.kt | CodeforLeipzig | 115,515,616 | false | {"Kotlin": 44795, "Java": 33993, "HTML": 14334, "Xtend": 11779, "JavaScript": 10167} | package de.oklab.leipzig.cdv.damals.generator.nominatim
import com.fasterxml.jackson.annotation.JsonIgnoreProperties
@JsonIgnoreProperties(ignoreUnknown = true)
data class Nominatims(
val nominatims: Array<Nominatim> = arrayOf()
) {
override fun equals(other: Any?): Boolean {
if (this === other) return true
if... | 23 | Kotlin | 1 | 1 | adb0739f5393ef5066055d3074897f201f30cc84 | 520 | codingdavinciost2018 | MIT License |
app/src/main/java/com/rejowan/pdfreaderpro/adapter/FavoriteAdapter.kt | ahmmedrejowan | 696,907,897 | false | {"Kotlin": 179727, "Java": 163713} | package com.rejowan.pdfreaderpro.adapter
import android.app.Dialog
import android.content.Context
import android.content.Intent
import android.graphics.Bitmap
import android.util.LruCache
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.FrameLayout
import ... | 1 | Kotlin | 0 | 3 | c89445b7039bf02dd7ea9d169df8686058e50e1a | 13,372 | PdfReaderPro | Apache License 2.0 |
core/usecases/src/main/kotlin/storyevent/listAllStoryEvents/ListAllStoryEvents.kt | Soyle-Productions | 239,407,827 | false | null | package com.soyle.stories.usecase.storyevent.listAllStoryEvents
import com.soyle.stories.usecase.storyevent.StoryEventItem
import java.util.*
interface ListAllStoryEvents {
suspend operator fun invoke(projectId: UUID, output: OutputPort)
class ResponseModel(val storyEventItems: List<StoryEventItem>)
interface O... | 45 | Kotlin | 0 | 9 | 1a110536865250dcd8d29270d003315062f2b032 | 402 | soyle-stories | Apache License 2.0 |
src/main/kotlin/de/takeweiland/aoc2019/helpers.kt | diesieben07 | 226,095,130 | false | null | package de.takeweiland.aoc2019
import java.io.BufferedReader
private object DummyClass
fun inputReader(day: Int): BufferedReader {
return DummyClass::class.java.getResourceAsStream("/day$day.txt")
.bufferedReader()
}
fun input(day: Int): String {
return inputReader(day).use { it.readText() }
} | 0 | Kotlin | 0 | 0 | 2b778201213941de7f37dbc18864a04ce3601f32 | 314 | advent-of-code-2019 | MIT License |
repository/src/test/java/com/github/oheger/wificontrol/repository/impl/WiFiStateRepositoryImplTest.kt | oheger | 646,529,710 | false | {"Kotlin": 277864} | /*
* Copyright 2023-2024 <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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 0 | Kotlin | 0 | 0 | 76e9cf20460a5092843945d0f56c03f00b27e708 | 1,623 | WifiControl | Apache License 2.0 |
kotlin-insight-client/kotlin-insight-client-api/src/main/kotlin/com/linkedplanet/kotlininsightclient/api/interfaces/InsightHistoryOperator.kt | linked-planet | 602,453,377 | false | {"Kotlin": 570134, "Java": 744, "Shell": 499} | /*-
* #%L
* kotlin-insight-client-api
* %%
* Copyright (C) 2022 - 2023 linked-planet GmbH
* %%
* 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/... | 0 | Kotlin | 0 | 1 | 7ab43a459e07468cdcc236d75bbd697e76f9b629 | 1,490 | kotlin-atlassian-client | Apache License 2.0 |
android/src/main/kotlin/com/sayx/hm_cloud/callback/OnEditClickListener.kt | Rambo0422 | 584,657,563 | false | {"Kotlin": 476378, "Objective-C": 233220, "C++": 23762, "CMake": 19412, "Dart": 7992, "HTML": 6577, "C": 4586, "Swift": 1581, "Java": 1522, "Ruby": 1205} | package com.sayx.hm_cloud.callback
import com.sayx.hm_cloud.model.KeyInfo
interface OnEditClickListener {
fun onEditKeyClick(keyInfo: KeyInfo)
} | 0 | Kotlin | 0 | 0 | 955b8af58ef4ca4c8bde0bd61e9f3fc398362401 | 150 | hm_cloud_flutter | MIT License |
domain/src/main/java/com/anytypeio/anytype/domain/workspace/WorkspaceManager.kt | anyproto | 647,371,233 | false | {"Kotlin": 11623123, "Java": 69306, "Shell": 11350, "Makefile": 1334} | package com.anytypeio.anytype.domain.workspace
import com.anytypeio.anytype.core_models.Config
import com.anytypeio.anytype.core_models.Id
import com.anytypeio.anytype.core_models.primitives.SpaceId
import com.anytypeio.anytype.domain.base.AppCoroutineDispatchers
import com.anytypeio.anytype.domain.block.repo.BlockRep... | 45 | Kotlin | 43 | 528 | c708958dcb96201ab7bb064c838ffa8272d5f326 | 4,053 | anytype-kotlin | RSA Message-Digest License |
app/src/main/java/com/pefdneves/mydots/inject/BroadcastReceiverModule.kt | pefdneves | 255,625,707 | false | null | package com.pefdneves.mydots.inject
import com.pefdneves.mydots.broadcastreceiver.MyDotsBroadcastReceiver
import dagger.Module
import dagger.android.ContributesAndroidInjector
@Module
abstract class BroadcastReceiverModule {
@ContributesAndroidInjector
abstract fun contributeBroadcastReceiverModule() : MyDots... | 0 | Kotlin | 1 | 7 | 1c85f1fada8b110fbfa0d7806ad65ef51bbe2203 | 340 | MyDots | The Unlicense |
9_chatMsgApp/app/src/main/java/com/example/firebasechatapp/SplachScreenActivity.kt | arkkhanu | 194,027,946 | false | null | package com.example.firebasechatapp
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.os.Handler
import android.view.Window
import android.view.WindowManager
import com.google.firebase.auth.FirebaseAuth
import org.jetbrains.anko.startActivity
import java.lang.Exception
class Spla... | 0 | Kotlin | 0 | 0 | d6de57295f4e2708c6a0b1ad5d1aebbed0d274ac | 991 | Android_Kotlin_Examples | Apache License 2.0 |
core/spi/src/main/kotlin/edu/byu/uapi/spi/introspection/IntrospectionLocation.kt | byu-oit | 130,911,554 | false | null | package edu.byu.uapi.spi.introspection
import kotlin.reflect.KCallable
import kotlin.reflect.KClass
import kotlin.reflect.KParameter
import kotlin.reflect.KProperty0
sealed class IntrospectionLocation {
object Root : IntrospectionLocation() {
override fun toString(): String {
return "(root)"
... | 16 | Kotlin | 0 | 0 | 1ca0e357a1b00cf11c1e1c9a1b00af4455d6d30c | 1,768 | kotlin-uapi | Apache License 2.0 |
core/spi/src/main/kotlin/edu/byu/uapi/spi/introspection/IntrospectionLocation.kt | byu-oit | 130,911,554 | false | null | package edu.byu.uapi.spi.introspection
import kotlin.reflect.KCallable
import kotlin.reflect.KClass
import kotlin.reflect.KParameter
import kotlin.reflect.KProperty0
sealed class IntrospectionLocation {
object Root : IntrospectionLocation() {
override fun toString(): String {
return "(root)"
... | 16 | Kotlin | 0 | 0 | 1ca0e357a1b00cf11c1e1c9a1b00af4455d6d30c | 1,768 | kotlin-uapi | Apache License 2.0 |
app/src/main/java/no/nordicsemi/android/ei/model/Device.kt | NordicSemiconductor | 340,311,410 | false | {"Kotlin": 410219} | /*
*
* * Copyright (c) 2022, Nordic Semiconductor
* *
* * SPDX-License-Identifier: Apache-2.0
*
*/
package no.nordicsemi.android.ei.model
import com.google.gson.annotations.SerializedName
data class Device(
val id: Int,
val deviceId: String,
val created: String,
val lastSeen: String,
val... | 0 | Kotlin | 0 | 2 | e03bacd8c27ad6ab9712b3f62ec81d6f0e61368f | 522 | Android-nRF-Edge-Impulse | Apache License 2.0 |
core/src/main/kotlin/io/github/legion2/tosca_orchestrator/tosca/model/resolved/ResolvedArtifact.kt | Legion2 | 350,881,803 | false | null | package io.github.legion2.tosca_orchestrator.tosca.model.resolved
import io.github.legion2.tosca_orchestrator.tosca.definitions.ArtifactDefinition
import io.github.legion2.tosca_orchestrator.tosca.definitions.ArtifactDefinitionOrName
import io.github.legion2.tosca_orchestrator.tosca.model.TypeResolver
import io.github... | 6 | Kotlin | 0 | 3 | fb4ef1a7bf3d79d258da2b6779381a87e0c435e9 | 3,907 | ritam | Apache License 2.0 |
invirt-core/src/main/kotlin/invirt/http4k/filters/ErrorPages.kt | resoluteworks | 762,239,437 | false | {"Kotlin": 284040, "Makefile": 673, "CSS": 8} | package invirt.core.filters
import invirt.core.views.renderTemplate
import org.http4k.core.Filter
import org.http4k.core.Status
/**
* An http4k filter that renders a view (template) for a given status code.
*/
object ErrorPages {
operator fun invoke(vararg statusViewMappings: Pair<Status, String>): Filter = in... | 0 | Kotlin | 0 | 2 | c93607f1ee623e5d1728c6ed9a8d2f28584aeab6 | 738 | invirt | Apache License 2.0 |
src/testaFuncionarios.kt | carolfons | 315,751,960 | false | null | package org.kotlinlang.play
fun testaFuncionarios() {
val alex = Analista(nome = "Alex",
cpf = "111.111.111-12",
salario = 1000.0)
println("Analista")
println("nome: ${alex.nome}")
println("cpf: ${alex.cpf}")
println("salário: ${alex.salario}")
println("bonificação: ${... | 0 | Kotlin | 0 | 3 | 5637be6428783df30376a36257242811a94315f1 | 1,792 | Byte-Bank-Kotlin | MIT License |
app/src/main/java/com/mouredev/tenerifegg/MainActivity.kt | mouredev | 664,519,366 | false | null | package com.mouredev.tenerifegg
import android.Manifest
import android.content.Context
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.f... | 0 | Kotlin | 1 | 12 | 1967d428b94f4faade66c18a4ba148e9576c2774 | 5,819 | tggenerator | Apache License 2.0 |
src/main/kotlin/kotlinmud/player/social/SocialChannel.kt | danielmunro | 241,230,796 | false | null | package kotlinmud.player.social
enum class SocialChannel {
SAY,
TELL,
YELL,
GOSSIP,
}
| 0 | Kotlin | 1 | 9 | b7ee0d21ae813990896b1b8c6703da9bd1f1fc5b | 103 | kotlinmud | MIT License |
airin-gradle-android/src/main/kotlin/io/morfly/airin/plugin/AirinAndroidGradlePlugin.kt | Morfly | 368,910,388 | false | {"Kotlin": 124992} | /*
* Copyright 2023 <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 writin... | 1 | Kotlin | 5 | 34 | 7ba3fada7a1e0e73a758d37447a42ef7f54d338f | 886 | airin | Apache License 2.0 |
src/all/projectsuki/src/eu/kanade/tachiyomi/extension/all/projectsuki/SmartBookSearchHandler.kt | komikku-app | 720,497,299 | false | null | package eu.kanade.tachiyomi.extension.all.projectsuki
import android.icu.text.BreakIterator
import android.icu.text.Collator
import android.icu.text.Normalizer2
import android.icu.text.RuleBasedCollator
import android.icu.text.StringSearch
import android.os.Build
import androidx.annotation.RequiresApi
import eu.kanade... | 9 | null | 99 | 97 | 7fc1d11ee314376fe0daa87755a7590a03bc11c0 | 8,469 | komikku-extensions | Apache License 2.0 |
composeApp/src/androidMain/kotlin/com/github/springeye/memosc/db/RemoteKeyDao.android.kt | springeye | 744,851,257 | false | {"Kotlin": 505192, "Swift": 594} | package com.github.springeye.memosc.db
actual fun createRemoteKeyDao(): RemoteKeyDao {
TODO("Not yet implemented")
} | 0 | Kotlin | 0 | 0 | 6e1b84a8f8dfd0218710b4078c911340c945f2fa | 121 | memosc | MIT License |
driver/src/main/java/com/sailer/driver/presentation/arrived/view/ArrivedFragment.kt | mysangle | 274,810,426 | true | {"Kotlin": 75910} | package com.sailer.driver.presentation.arrived.view
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.setFragmentResultListener
import com.sailer.core.base.view.BaseFragment
import com.sailer.core.extension.exhaustive
import ... | 0 | null | 0 | 0 | 56a5c9aa5eac3f56d194604f2f9b77fdaddc6f4e | 2,332 | sailer | MIT License |
src/backend/ci/core/common/common-auth/common-auth-api/src/main/kotlin/com/tencent/devops/common/auth/api/pojo/ResourceAuthorizationHandoverDTO.kt | TencentBlueKing | 189,153,491 | false | {"Kotlin": 30176725, "Vue": 6739254, "JavaScript": 1256623, "Go": 616850, "Lua": 567159, "TypeScript": 461781, "SCSS": 365654, "Shell": 157561, "Java": 153049, "CSS": 106299, "HTML": 96201, "Python": 39238, "Less": 24714, "Makefile": 10630, "Smarty": 10297, "Dockerfile": 5097, "Batchfile": 4908, "PowerShell": 1626, "VB... | package com.tencent.devops.common.auth.api.pojo
import io.swagger.v3.oas.annotations.media.Schema
@Schema(title = "交接资源授权DTO")
data class ResourceAuthorizationHandoverDTO(
@get:Schema(title = "项目ID")
override val projectCode: String,
@get:Schema(title = "资源类型")
override val resourceType: String,
@... | 719 | Kotlin | 498 | 2,382 | dd483c38bdbe5c17fa0e5e5bc3390cd1cd40757c | 1,236 | bk-ci | MIT License |
app/src/main/java/vn/loitp/a/cv/bs/SampleBaseBottomSheet.kt | tplloi | 126,578,283 | false | null | package vn.loitp.a.cv.bs
import android.content.Intent
import android.os.Bundle
import android.view.View
import android.view.WindowManager
import com.google.android.material.bottomsheet.BottomSheetBehavior
import com.loitp.annotation.LogTag
import com.loitp.core.base.BaseBottomSheetFragment
import com.loitp.core.commo... | 0 | Kotlin | 0 | 10 | 6be6469ce7237f36c3b3aa395ac10988b5eb9654 | 2,498 | base | Apache License 2.0 |
app/src/main/java/com/entelgy/marvel/data/utils/Constants.kt | Riflin | 479,453,421 | false | {"Kotlin": 260458} | package com.entelgy.marvel.data.utils
/**
* Constantes necesarias en la aplicación
*/
object Constants {
const val PRIVATE_KEY = "<KEY>"
const val PUBLIC_KEY = "<KEY>"
const val COPYRIGHT_TEXT = "Data provided by Marvel. © 2014 Marvel"
const val URL_BASE = "https://gateway.marvel.com:443"
con... | 0 | Kotlin | 0 | 0 | 62f8d9e49748412d65ef9d48808867a8c89f206e | 886 | marvel | Apache License 2.0 |
AIDLClient/app/src/main/java/com/jetpack/aidlclient/MainActivity.kt | MakeItEasyDev | 476,000,081 | false | {"Kotlin": 13941, "AIDL": 342} | package com.jetpack.aidlclient
import android.content.ComponentName
import android.content.Intent
import android.content.ServiceConnection
import android.content.pm.PackageManager
import android.os.Bundle
import android.os.IBinder
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
i... | 0 | Kotlin | 1 | 1 | 0c2f451daa907a6e47d3246af1aeabc138900fb4 | 5,665 | Jetpack-Compose-AIDL-Client-And-Server | Apache License 2.0 |
generator/src/main/kotlin/io/outfoxx/sunday/generator/typescript/utils/TypeScriptDataNodes.kt | outfoxx | 336,954,223 | false | {"Kotlin": 1386423, "RAML": 60810, "Swift": 5605, "Java": 400} | /*
* Copyright 2020 Outfox, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 5 | Kotlin | 0 | 0 | 2f303d76874b545400703424d9ac4b9c7e4364e3 | 3,207 | sunday-generator | Apache License 2.0 |
src/main/kotlin/tree/easy/FindModeInBinarySearchTreeTODO.kt | jiahaoliuliu | 747,189,993 | false | {"Kotlin": 426555} | package tree.easy
import tree.TreeNode
/**
* Find mode in binary search tree
*
* Given the root of a binary search tree (BST) with duplicates, return all the mode(s) (i.e., the most
* frequently occurred element) in it.
*
* If the tree has more than one mode, return them in any order.
* Assume a BST is defined... | 0 | Kotlin | 0 | 0 | 8cd61d21c45e946514410d2eb8b20bab2496159c | 1,981 | CodingExercises | Apache License 2.0 |
common-test/src/main/kotlin/io/mailit/test/callback/ClearDatabaseCallback.kt | awelless | 467,556,925 | false | {"Kotlin": 304527, "Vue": 18555, "JavaScript": 10159, "TypeScript": 9415, "HTML": 1274, "SCSS": 777, "Java": 428, "Shell": 50} | package io.mailit.test.callback
import io.mailit.test.readResource
import io.quarkus.arc.Arc
import io.quarkus.test.junit.callback.QuarkusTestAfterEachCallback
import io.quarkus.test.junit.callback.QuarkusTestMethodContext
import javax.sql.DataSource
class ClearDatabaseCallback : QuarkusTestAfterEachCallback {
p... | 1 | Kotlin | 0 | 1 | 498ef5c6c6a3dc18121a0fca2cec158d56ff8fa6 | 928 | mail-it | MIT License |
heroesdesk-test/src/main/kotlin/org/hexastacks/heroesdesk/kotlin/adapters/inmemory/InMemoryUserRepository.kt | ManoManoTech | 739,443,317 | false | {"Kotlin": 122086} | package org.hexastacks.heroesdesk.kotlin.adapters.inmemory
import arrow.core.Either.Left
import arrow.core.Either.Right
import arrow.core.EitherNel
import arrow.core.nonEmptyListOf
import org.hexastacks.heroesdesk.kotlin.adapters.InstrumentedUserRepository
import org.hexastacks.heroesdesk.kotlin.impl.user.*
import jav... | 8 | Kotlin | 1 | 0 | 8e8e2371b2be9893b633c74e9c9c982da60db02c | 2,031 | hexa-playground | MIT License |
bookingservice-repo-in-memory/src/main/kotlin/entities/MeetingEntity.kt | akopovab | 638,664,041 | false | null | package ru.otuskotlin.public.bookingservice.repo.inmemory.entities
import ru.otuskotlin.public.bookingservice.common.models.meeting.*
import ru.otuskotlin.public.bookingservice.common.models.slot.BsSlot
data class MeetingEntity(
val id: String,
val clientId: String,
val employeeId: String,
val status:... | 0 | Kotlin | 0 | 0 | 7d837698d96892fe5ac9369ee069e1f7913855d3 | 1,173 | ok-bookingservice | Apache License 2.0 |
app/src/main/java/com/xdr/imgurinator/ui/post/CommentsRecyclerAdapter.kt | xidsyed | 545,864,106 | false | {"Kotlin": 47015} | package com.xdr.imgurinator.ui.post
import android.view.LayoutInflater
import android.view.View.GONE
import android.view.View.VISIBLE
import android.view.ViewGroup
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.ListAdapter
import androidx.recyclerview.widget.RecyclerView
import com.xd... | 0 | Kotlin | 0 | 2 | f7f383cb9b64c2cfc76a5ddad57f1aa1dac35684 | 3,156 | Imgurinator | MIT License |
presentation/measurements/src/main/kotlin/ru/vt/presentation/measurements/headaches/summary/ActionHeadachesSummary.kt | magic-goop | 522,567,133 | false | {"Kotlin": 484480, "Shell": 117} | package ru.vt.presentation.measurements.headaches.summary
import ru.vt.domain.measurement.entity.HeadacheEntity
import ru.vt.presentation.measurements.common.entity.Period
internal sealed class ActionHeadachesSummary {
data class Init(val profileId: Long) : ActionHeadachesSummary()
data class SetPeriod(val pe... | 0 | Kotlin | 0 | 2 | b7ff60f72cc67f43755a75b05ef4ba6a06d02315 | 584 | vitals-tracker | Apache License 2.0 |
shared/src/commonMain/kotlin/one/azim/todo/shared/Ui/App.kt | azim-charaniya | 691,164,127 | false | {"Kotlin": 7633, "Swift": 592, "Shell": 228} | @file:OptIn(ExperimentalFoundationApi::class)
package one.azim.todo.shared.Ui
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundat... | 0 | Kotlin | 0 | 0 | dc36cd488d25edb925da4e3f0e5a5d4af3e99f0f | 3,305 | ComposeMultiplatform | Apache License 2.0 |
app/src/main/java/pl/marianjureczko/poszukiwacz/activity/map/MapViewModel.kt | mjureczko | 720,519,840 | false | {"Kotlin": 182852} | package pl.marianjureczko.poszukiwacz.activity.map
import androidx.lifecycle.SavedStateHandle
import androidx.lifecycle.ViewModel
import pl.marianjureczko.poszukiwacz.model.Route
class MapViewModel(private val state: SavedStateHandle) : ViewModel() {
lateinit var route: Route
fun setup(route: Route) {
... | 0 | Kotlin | 0 | 0 | 57892f306471e470ca6656c1170dbecbefedbda9 | 349 | maly-poszukiwacz-skarbow | W3C Software Notice and License (2002-12-31) |
picture_library/src/main/java/com/luck/picture/lib/listener/OnRecyclerViewPreloadMoreListener.kt | MoustafaShahin | 365,029,122 | false | null | package com.luck.picture.lib.listener
/**
* @author:luck
* @date:2020-04-14 18:44
* @describe:OnRecyclerViewPreloadMoreListener
*/
interface OnRecyclerViewPreloadMoreListener {
/**
* load more
*/
fun onRecyclerViewPreloadMore()
} | 0 | Kotlin | 0 | 0 | 6cc5ff6a5c86c491a852304c58ce979ed42d6225 | 252 | InsGallery | Apache License 2.0 |
canvas_lp/src/main/java/com/angcyo/canvas/laser/pecker/dslitem/CanvasTextStyleItem.kt | angcyo | 229,037,684 | false | null | package com.angcyo.canvas.laser.pecker.dslitem
import com.angcyo.canvas.CanvasView
import com.angcyo.canvas.items.PictureTextItem
import com.angcyo.canvas.items.renderer.IItemRenderer
import com.angcyo.canvas.items.renderer.PictureItemRenderer
import com.angcyo.canvas.items.renderer.PictureTextItemRenderer
import com.... | 0 | Kotlin | 4 | 2 | 96a6ea873c8486a06525e752038ab2630b3c86ca | 3,248 | UICoreEx | MIT License |
app/src/main/java/com/dfavilav/marvelapplication/presentation/common/HomeContent.kt | davilav | 751,080,023 | false | {"Kotlin": 110960} | package com.dfavilav.marvelapplication.presentation.common
import android.content.res.Configuration
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.f... | 0 | Kotlin | 0 | 0 | 25beb759cd9e84ec7740e893fa17eed5b7f972b1 | 6,453 | MarvelApp | Apache License 2.0 |
app/src/main/java/com/android/task/budgetmanagement/ui/update_month/UpdateMonthDialogFragment.kt | AhmadSSamhan | 638,052,395 | false | null | package com.android.task.budgetmanagement.ui.update_month
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.FragmentManager
import androidx.fragment.app.viewModels
import com.android.task.budgetmanagement.data.database.entity... | 0 | Kotlin | 0 | 0 | aec81be66a01e2cd95f5b1e101fab181ee372a3e | 3,549 | budgetManagement | MIT License |
src/main/kotlin/dev/sublab/scale/adapters/Int512Adapter.kt | sublabdev | 535,539,309 | false | {"Kotlin": 124289} | /**
*
* Copyright 2023 SUBSTRATE LABORATORY LLC <<EMAIL>>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by appl... | 0 | Kotlin | 1 | 3 | f653a2189a0c4830450a8bb2da8dcd7a028a40b2 | 1,241 | scale-codec-kotlin | Apache License 2.0 |
src/jsMain/kotlin/net.ormr.userskripter/engine/tampermonkey/TMXmlHttpRequestResponse.kt | Olivki | 567,409,820 | false | {"Kotlin": 80483} | /*
* Copyright 2022 Oliver Berg
*
* 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 ... | 0 | Kotlin | 0 | 2 | 733ac4cb140bcd21614693f05ac717828f9d698f | 1,069 | userskripter | Apache License 2.0 |
ComicX/src/main/java/com/qiuchenly/comicparse/HttpRequests/WeatherRequest.kt | MyGhost233 | 203,593,656 | false | {"Kotlin": 333289, "Java": 254227} | package com.qiuchenly.comicparse.HttpRequests
import okhttp3.ResponseBody
import retrofit2.Call
import retrofit2.http.GET
interface WeatherRequest {
@GET("/s?q=%E5%A4%A9%E6%B0%94")
fun getWeatherInfo(): Call<ResponseBody>
} | 0 | Kotlin | 4 | 1 | a78a6913132db468b6646adaf08cf241773d9e4c | 233 | iComic | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.