path stringlengths 4 280 | owner stringlengths 2 39 | repo_id int64 21.1k 879M | is_fork bool 2
classes | languages_distribution stringlengths 13 1.95k ⌀ | content stringlengths 7 482k | issues int64 0 13.9k | main_language stringclasses 121
values | forks stringlengths 1 5 | stars int64 0 111k | commit_sha stringlengths 40 40 | size int64 7 482k | name stringlengths 1 100 | license stringclasses 93
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
src/test/kotlin/uk/gov/justice/digital/hmpps/hmppsaccreditedprogrammesapi/referral/jparepo/JpaReferralRepositoryTest.kt | ministryofjustice | 615,402,552 | false | null | package uk.gov.justice.digital.hmpps.hmppsaccreditedprogrammesapi.referral.jparepo
import io.kotest.matchers.optional.shouldBePresent
import io.kotest.matchers.shouldBe
import org.junit.jupiter.api.Test
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.jdbc.core.JdbcTemplate
impo... | 4 | Kotlin | 0 | 0 | 7fb76dccd8953bb0da90b5c906236a3de8b0592a | 1,904 | hmpps-accredited-programmes-api | MIT License |
model/src/commonMain/kotlin/ScannerJob.kt | eclipse-apoapsis | 760,319,414 | false | {"Kotlin": 2994047, "Dockerfile": 24090, "Shell": 6277} | /*
* Copyright (C) 2023 The ORT Server Authors (See <https://github.com/eclipse-apoapsis/ort-server/blob/main/NOTICE>)
*
* 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://w... | 18 | Kotlin | 2 | 9 | 0af70d6382a86f0ebc35d9b377f4229c6a71637a | 1,561 | ort-server | Apache License 2.0 |
app/src/main/java/com/example/gitapp/provider/UserContentProvider.kt | ni-sh-a-char | 455,244,685 | false | {"Kotlin": 42314, "Shell": 3185} | package com.example.gitapp.provider
import android.content.ContentProvider
import android.content.ContentValues
import android.content.UriMatcher
import android.database.Cursor
import android.net.Uri
import com.example.gitapp.data.local.FavoriteUser
import com.example.gitapp.data.local.FavoriteUserDao
import com.examp... | 0 | Kotlin | 0 | 0 | 85a273918982842e00493063a8a7e8258cbdbe15 | 1,951 | Gitapp | MIT License |
vxutil-vertigram/src/main/kotlin/ski/gagar/vxutil/vertigram/types/KeyboardButton.kt | gagarski | 314,041,476 | false | {"Kotlin": 339081} | package ski.gagar.vxutil.vertigram.types
data class KeyboardButton(
val text: String,
val requestContact: Boolean? = false,
val requestLocation: Boolean? = false,
val requestPoll: KeyboardButtonPollType? = null,
val webApp: WebAppInfo? = null,
// Since Telegram Bot Api 6.5
val requestUser: ... | 0 | Kotlin | 0 | 0 | 76fcae3eb17c34d4afc463403e49195070589139 | 413 | vxutil | Apache License 2.0 |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/opensearchserverless/CfnSecurityConfigDsl.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package cloudshift.awscdk.dsl.services.opensearchserverless
import cloudshift.awscdk.common.CdkDslMar... | 4 | null | 0 | 3 | c59c6292cf08f0fc3280d61e7f8cff813a608a62 | 4,145 | awscdk-dsl-kotlin | Apache License 2.0 |
android/src/main/java/com/rnmapbox/rnmbx/utils/extensions/Dynamic.kt | rnmapbox | 180,028,389 | false | {"Kotlin": 752850, "Swift": 462623, "TypeScript": 454914, "JavaScript": 335927, "Java": 131768, "Objective-C++": 120743, "Objective-C": 37244, "EJS": 24288, "Ruby": 13289, "C": 3203, "Starlark": 1328, "Shell": 446} | package com.rnmapbox.rnmbx.utils.extensions
import com.facebook.react.bridge.Dynamic;
import com.facebook.react.bridge.ReadableArray
import com.facebook.react.bridge.ReadableMap
import com.facebook.react.bridge.ReadableType
import com.mapbox.bindgen.Value
fun ReadableMap.toValueHashMap(): HashMap<String, Value> {
... | 95 | Kotlin | 844 | 2,244 | f87653dc694e9478a4fda1d2e7585f22bc1b95cb | 1,926 | maps | MIT License |
src/main/kotlin/com/github/zerocode/map4k/configuration/TypeMapBuilder.kt | zerocode | 159,180,311 | false | null | package com.github.zerocode.map4k.configuration
import com.github.zerocode.map4k.MappingException
import com.github.zerocode.map4k.extensions.returnTypeClass
import kotlin.reflect.KClass
import kotlin.reflect.KProperty1
import kotlin.reflect.full.createType
import kotlin.reflect.full.declaredMemberProperties
import ko... | 1 | Kotlin | 1 | 1 | fae9b311fcfd1386652b2d87ef01b074c1aa9d84 | 5,471 | map4k | Apache License 2.0 |
straight/src/commonMain/kotlin/me/localx/icons/straight/filled/Sausage.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.straight.filled
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... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 2,642 | icons | MIT License |
kotlin/lib-spring-boot-llm-os/src/main/kotlin/com/github/frtu/kotlin/llm/os/llm/MessageBuilder.kt | frtu | 338,595,537 | false | {"Kotlin": 396231, "Java": 157399, "Shell": 10826, "Dockerfile": 248} | package com.github.frtu.kotlin.llm.os.llm
import com.aallam.openai.api.chat.ChatMessage
import com.aallam.openai.api.chat.ChatRole
import com.aallam.openai.api.chat.FunctionCall
/**
* Encapsulate aallam chat message builder and role into function
*/
object MessageBuilder {
fun system(content: String) = createMe... | 0 | Kotlin | 0 | 1 | d641ca6826d57d91985da34492eff8a92ad9261e | 830 | lib-toolbox | Apache License 2.0 |
spring-batch-plus-kotlin/src/main/kotlin/com/navercorp/spring/batch/plus/kotlin/configuration/support/LazyConfigurer.kt | naver | 558,165,952 | false | {"Kotlin": 961076, "Java": 446765} | /*
* Spring Batch Plus
*
* Copyright 2022-present NAVER Corp.
*
* 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 require... | 4 | Kotlin | 9 | 99 | 01a5aefe9b860b8ea951832114422581ff49d101 | 1,122 | spring-batch-plus | Apache License 2.0 |
favorite/src/main/java/com/aprian1337/favorite/FavoriteComponent.kt | aprian1337 | 374,189,692 | false | null | package com.aprian1337.favorite
import android.content.Context
import com.aprian1337.batique.di.FavDependencies
import dagger.BindsInstance
import dagger.Component
@Component(dependencies = [FavDependencies::class])
interface FavoriteComponent {
fun inject(act: FavoriteFragment)
@Component.Builder
interf... | 0 | Kotlin | 0 | 0 | ca39d150ac57d5b2d3cb80d21a240fa581826fd5 | 504 | batique | MIT License |
foundation/src/commonMain/kotlin/me.lincolnstuart.funblocks.foundation.ui/token/content/border/FunBlocksBorderWidth.kt | LincolnStuart | 645,064,211 | false | {"Kotlin": 451042} | package me.lincolnstuart.funblocks.foundation.ui.token.content.border
import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.dp
/**
* Object that provides border width tokens to standard surface components.
*
* Based on [androidx.compose.ui.unit.Dp].
*/
public object FunBlocksBorderWidth {
public ... | 0 | Kotlin | 0 | 4 | 5a9d60f062132df12a6022530dfa10692fbf6c6d | 441 | fun-blocks | MIT License |
sketch-core/src/commonTest/kotlin/com/github/panpf/sketch/core/common/test/request/internal/RequestInterceptorChainTest.kt | panpf | 14,798,941 | false | {"Kotlin": 2979756, "Shell": 1469} | package com.github.panpf.sketch.core.common.test.request.internal
class RequestInterceptorChainTest {
// TODO test
} | 8 | Kotlin | 309 | 2,057 | 89784530da0de6085a5b08f810415147cb3165cf | 121 | sketch | Apache License 2.0 |
core/src/main/kotlin/sh/christian/aaraar/utils/files.kt | christiandeange | 588,680,111 | false | {"Kotlin": 266948, "Shell": 1171} | package sh.christian.aaraar.utils
import java.io.File
import java.net.URI
import java.nio.file.FileSystem
import java.nio.file.FileSystems
import java.nio.file.Files
import java.nio.file.Path
internal operator fun Path.div(path: String): Path {
return resolve(path)
}
internal operator fun FileSystem.div(path: Stri... | 1 | Kotlin | 2 | 32 | 9e1bb7ca023d4e3f40dc24fd93b6360fde252d5e | 1,665 | aaraar | Apache License 2.0 |
plugins/base/src/main/kotlin/transformers/documentables/DeprecatedDocumentableFilterTransformer.kt | hamza1311 | 289,545,081 | true | {"Kotlin": 1390491, "CSS": 20105, "JavaScript": 15166, "TypeScript": 11065, "SCSS": 1734, "Java": 1484} | package org.jetbrains.dokka.base.transformers.documentables
import org.jetbrains.dokka.DokkaConfiguration
import org.jetbrains.dokka.model.*
import org.jetbrains.dokka.model.properties.WithExtraProperties
import org.jetbrains.dokka.plugability.DokkaContext
import org.jetbrains.dokka.transformers.documentation.PreMerge... | 0 | Kotlin | 0 | 0 | dfc5910730a1e09d09ad4de199bf7636c225dfc4 | 11,336 | dokka | Apache License 2.0 |
remote/src/main/java/com/icgen/movieapp/remote/common/ApiHelper.kt | Ahnset | 539,038,324 | false | {"Kotlin": 138435} | package com.icgen.movieapp.remote.common
object ApiHelper {
const val OKHTTP_MAX_CACHE_SIZE: Long = 50 * 1024 * 1024
const val CACHE_CONTROL = "Cache-Control"
const val CACHE_TIMEOUT = 5
}
| 0 | Kotlin | 2 | 3 | a5ddc921f8f4df80cc13f17284015086fe6112b0 | 202 | movieapp | Apache License 2.0 |
library/src/main/kotlin/eu/tib/orkg/prototype/community/adapter/output/jpa/internal/PostgresObservatoryRepository.kt | TIBHannover | 197,416,205 | false | null | package eu.tib.orkg.prototype.community.adapter.output.jpa.internal
import java.util.Optional
import java.util.UUID
import org.springframework.data.jpa.repository.JpaRepository
import org.springframework.data.jpa.repository.Query
interface PostgresObservatoryRepository : JpaRepository<ObservatoryEntity, UUID> {
f... | 0 | Kotlin | 1 | 4 | 84e17adb51e35e7123e1d853d49ae1d8ea95d400 | 681 | orkg-backend | MIT License |
app/server/src/main/jooq/io/github/novemdecillion/adapter/jooq/tables/records/AccountGroupAuthority_1Record.kt | novemdecillion | 332,666,905 | false | null | /*
* This file is generated by jOOQ.
*/
package io.github.novemdecillion.adapter.jooq.tables.records
import io.github.novemdecillion.adapter.jooq.tables.AccountGroupAuthority_1Table
import io.github.novemdecillion.adapter.jooq.tables.interfaces.IAccountGroupAuthority_1
import java.util.UUID
import org.jooq.Field
... | 10 | Kotlin | 0 | 0 | ea259afd23a28ccf03aa7c5c6f35b932d2c22182 | 4,435 | magic-lantern | Apache License 2.0 |
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/teleops/auto/MainAuto.kt | LincolnRoboticsFTC14298 | 694,390,163 | false | {"Kotlin": 261529, "Java": 140195} | package org.firstinspires.ftc.teamcode.teleops.auto
import android.util.Log
import androidx.annotation.NonNull
import com.acmerobotics.dashboard.telemetry.TelemetryPacket
import com.acmerobotics.roadrunner.Action
import com.acmerobotics.roadrunner.InstantAction
import com.acmerobotics.roadrunner.Pose2d
import com.acme... | 1 | Kotlin | 1 | 0 | b010f166a95cbfc6283530dfaa5bbd7036fa3459 | 18,638 | Robotics2023-24 | BSD 3-Clause Clear License |
app/src/main/java/com/bubelov/coins/editplace/EditPlaceViewModel.kt | msgpo | 266,929,338 | true | {"Kotlin": 227542, "Dockerfile": 847} | package com.bubelov.coins.editplace
import androidx.lifecycle.ViewModel
import com.bubelov.coins.data.Place
import com.bubelov.coins.repository.place.PlacesRepository
import com.bubelov.coins.util.BasicTaskState
import kotlinx.coroutines.*
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.flow
import ... | 0 | null | 0 | 0 | f3033534d1c104b04a98f9e734853f533a6c26dd | 1,346 | coin-map-android | MIT License |
src/hackhub/app/src/main/java/com/univpm/hackhub/adapters/MessageAdapter.kt | NourCheriff | 792,292,205 | false | {"Kotlin": 258512, "TeX": 48232, "Dart": 45042, "C++": 24274, "CMake": 19478, "Swift": 2209, "HTML": 1849, "C": 1425, "Objective-C": 38} | package com.univpm.hackhub.adapters
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.core.view.isVisible
import androidx.databinding.DataBindingUtil
import androidx.recyclerview.widget.RecyclerView
import com.univpm.hackhub.R
import com.univpm.hackhub.databindin... | 1 | Kotlin | 0 | 0 | 95337cbef1cbd7a659e49475de3caa28a62bf41d | 2,875 | hackhub | MIT License |
src/main/kotlin/org/jetbrains/research/ml/tasktracker/tracking/dialog/CustomDialogWrapper.kt | JetBrains-Research | 217,919,960 | false | {"Kotlin": 130961, "CSS": 5631} | package org.jetbrains.research.ml.tasktracker.tracking.dialog
import com.intellij.openapi.ui.DialogWrapper
import org.jetbrains.research.ml.tasktracker.models.PaneLanguage
import org.jetbrains.research.ml.tasktracker.ui.panes.util.LanguagePaneUiData
import java.awt.BorderLayout
import java.awt.Dimension
import javax.s... | 2 | Kotlin | 7 | 7 | 86d67c60e93a3dc150a9fe77a8f998624fbe58a4 | 1,003 | task-tracker-plugin | MIT License |
app/src/common/annotations/Day.kt | henningBunk | 432,858,990 | false | {"Kotlin": 124495} | package common.annotations
@Target(AnnotationTarget.CLASS)
@Retention(AnnotationRetention.RUNTIME)
annotation class Day(val day: Int) {
}
| 0 | Kotlin | 0 | 0 | 94235f97c436f434561a09272642911c5588560d | 139 | advent-of-code-2021 | Apache License 2.0 |
app/src/main/java/com/letter/days/service/CoreService.kt | NevermindZZT | 164,197,780 | false | null | package com.letter.days.service
import android.app.NotificationManager
import android.app.Service
import android.content.Intent
import android.os.Build
import android.os.IBinder
import com.letter.days.R
import com.letter.days.database.AppDatabase
import com.letter.days.utils.setAllAnniversaryAlarm
import com.letter.da... | 0 | Kotlin | 1 | 9 | 641bc9587bc8edbe569653c3242cb08fc7bfc071 | 3,704 | Days | MIT License |
app/src/main/java/com/github/anastr/myscore/fragments/CourseListFragment.kt | anastr | 347,355,104 | false | null | package com.github.anastr.myscore.fragments
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.core.view.ViewGroupCompat
import androidx.fragment.app.Fragment
import androidx.fragment.app.viewModels
import androidx.lifecycle.Lifecycle
impo... | 0 | Kotlin | 0 | 0 | ef1b8e66a472762477b2cfe1da142521942a8a78 | 4,155 | MyDegree | Apache License 2.0 |
prj-website/src/commonMain/kotlin/state/State.kt | simonegiacomelli | 473,571,649 | false | null | package state
var stateOrNull: () -> ClientState = { error("no State handler") }
val state get() = stateOrNull()
| 0 | Kotlin | 1 | 0 | 9cb30a5139c268a7c3037fa335fdec9d118d463e | 115 | kotlin-mpp-starter | Apache License 2.0 |
app/src/main/java/com/ema/jannik/logbook/activity/AddDriveActivity.kt | osti11 | 157,562,778 | false | null | package com.ema.jannik.logbook.activity
import android.app.Activity
import android.app.DatePickerDialog
import android.app.TimePickerDialog
import android.os.Bundle
import android.view.Menu
import android.view.MenuItem
import android.view.View
import androidx.appcompat.app.AppCompatActivity
import androidx.fragment.ap... | 0 | Kotlin | 0 | 0 | 65ea8d3f9baef9021433faba8ff6695627ea06fc | 17,175 | logbook | MIT License |
heroesdesk/src/test/kotlin/org/hexastacks/heroesdesk/kotlin/impl/task/PendingTaskIdTest.kt | ManoManoTech | 739,443,317 | false | {"Kotlin": 122086} | package org.hexastacks.heroesdesk.kotlin.impl.task
import arrow.core.EitherNel
import org.hexastacks.heroesdesk.kotlin.impl.scope.Scope
class PendingTaskIdTest : AbstractTaskIdTest<PendingTaskId>() {
override fun createTaskId(scope: Scope, value: String): EitherNel<TaskId.TaskIdError, PendingTaskId> =
Pen... | 8 | Kotlin | 1 | 0 | 8e8e2371b2be9893b633c74e9c9c982da60db02c | 348 | hexa-playground | MIT License |
app/src/main/java/com/github/zsoltk/chesso/ui/dialogs/GameDialog.kt | zsoltk | 369,016,520 | false | null | package com.github.zsoltk.chesso.ui.dialogs
import androidx.compose.runtime.Composable
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.tooling.preview.Preview
import com.github.zsoltk.chesso.R
@Composable
fun GameDialog(
onDismiss: () -> Unit,
onNewGame: () -> Unit,
onImportGame: ... | 2 | null | 6 | 87 | e31f0913a6af64f7769112f49a909e8ee52d8d09 | 843 | chesso | Apache License 2.0 |
app/src/main/java/com/shuhart/md5gallery/media/Photo.kt | shuhart | 115,040,485 | false | null | package com.shuhart.md5gallery.media
data class Photo(val imageId: Long,
val dateTaken: Long,
val path: String,
val size: Long,
val orientation: Int,
var md5: String = "",
var thumbPath: String = "",
... | 0 | Kotlin | 0 | 0 | 22fad06a47c8c5050cce5446a6c09f6febe1896f | 447 | Md5Gallery | Apache License 2.0 |
src/test/java/com/digitalpetri/strictmachine/dsl/ViaBuilderTest.kt | digitalpetri | 159,901,587 | false | null | /*
* Copyright 2018 Kevin Herron
*
* 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... | 0 | null | 5 | 17 | cc9c26dd37657bedd6584f2a6d29c98e5f772169 | 3,168 | strict-machine | Apache License 2.0 |
RichTextEditorAndroid/src/main/kotlin/net/dankito/richtexteditor/android/command/AlignRightCommand.kt | E-Mans-Application | 141,055,104 | false | null | package net.dankito.richtexteditor.android.command
import net.dankito.richtexteditor.Icon
import net.dankito.richtexteditor.android.AndroidIcon
import net.dankito.richtexteditor.android.R
import net.dankito.richtexteditor.command.AlignRightCommandBase
class AlignRightCommand(icon: Icon = AndroidIcon(R.drawable.ic_fo... | 1 | null | 1 | 1 | 1fa7c2617d3f2fe775d893e176e9bac4e7b8658e | 379 | RichTextEditor | MIT License |
src/main/kotlin/com/funivan/idea/phpClean/inspections/methodCanBePrivate/MethodCanBePrivateInspection.kt | funivan | 144,475,458 | false | {"Kotlin": 98271, "HTML": 3584} | package com.funivan.idea.phpClean.inspections.methodCanBePrivate
import com.funivan.idea.phpClean.qf.makeClassMemberPrivate.MakeClassMemberPrivateQF
import com.funivan.idea.phpClean.spl.PhpCleanInspection
import com.intellij.codeInspection.ProblemsHolder
import com.intellij.psi.PsiElementVisitor
import com.jetbrains.p... | 6 | Kotlin | 6 | 86 | 103124c4a270989bd24e59151358acbb80407ffd | 1,480 | PhpClean | MIT License |
bloom/src/main/java/com/fjoglar/composechallenge/bloom/ui/components/BloomTextButton.kt | felipejoglar | 412,404,654 | false | null | package com.fjoglar.composechallenge.bloom.ui.components
import android.content.res.Configuration
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material.ButtonDefaults
import androidx.compose.material.MaterialTheme
import androidx.c... | 0 | Kotlin | 0 | 0 | 688692b44e59e9e25f966426ff08beaf1dd50d27 | 1,328 | jetpack-compose-challenge | MIT License |
src/main/kotlin/com/refinedmods/refinedstorage/api/storage/disk/IStorageDiskManager.kt | thinkslynk | 290,596,653 | true | {"Kotlin": 695976, "Shell": 456} | package com.refinedmods.refinedstorage.api.storage.disk
import net.minecraft.item.ItemStack
import java.util.*
/**
* Stores storage disks.
*/
interface IStorageDiskManager {
/**
* Gets a storage disk by id.
*
* @param id the id
* @return the storage disk, or null if no storage disk is found... | 1 | Kotlin | 0 | 2 | c92afa51af0e5e08caded00882f91171652a89e3 | 1,076 | refinedstorage | MIT License |
relive-simulator-core/src/commonMain/kotlin/xyz/qwewqa/relive/simulator/core/presets/memoir/generated/equip3000005.kt | qwewqa | 390,928,568 | false | null | package xyz.qwewqa.relive.simulator.core.presets.memoir.generated
import xyz.qwewqa.relive.simulator.core.stage.actor.StatData
import xyz.qwewqa.relive.simulator.core.stage.autoskill.EffectTag
import xyz.qwewqa.relive.simulator.core.stage.dress.ActParameters
import xyz.qwewqa.relive.simulator.core.stage.memoir.CutinBl... | 0 | Kotlin | 11 | 7 | 70e1cfaee4c2b5ab4deff33b0e4fd5001c016b74 | 801 | relight | MIT License |
app/src/main/java/cn/cqautotest/sunnybeach/http/glide/GlideConfig.kt | anjiemo | 378,095,612 | false | null | package cn.android52.demo.http.glide
import android.content.Context
import cn.android52.demo.R
import com.bumptech.glide.Glide
import com.bumptech.glide.GlideBuilder
import com.bumptech.glide.Registry
import com.bumptech.glide.annotation.GlideModule
import com.bumptech.glide.load.engine.bitmap_recycle.LruBitmapPool
im... | 1 | null | 3 | 95 | a2402da1cb6af963c829a69d9783053f15d866b5 | 2,789 | SunnyBeach | Apache License 2.0 |
src/main/kotlin/com/luxoft/ness/tmdbgraphql/TheMovieDbGraphQlApiWrapperApplication.kt | nestorperezdev | 624,112,410 | false | null | package com.luxoft.ness.tmdbgraphql
import com.luxoft.ness.tmdbgraphql.tmdb.TMDBApi
import com.luxoft.ness.tmdbgraphql.tmdb.interceptor.ErrorHandlingInterceptor
import okhttp3.OkHttpClient
import okhttp3.logging.HttpLoggingInterceptor
import org.springframework.beans.factory.annotation.Autowired
import org.springframe... | 0 | Kotlin | 0 | 0 | b484d03a8dcc8dd6bc7b4dc0728b04a65242e246 | 1,579 | tmdb-graphql-server | Apache License 2.0 |
androidApp/src/main/java/io/github/lazyengineer/castaway/androidApp/view/onboarding/TextButton.kt | lazy-engineer | 321,396,462 | false | null | package io.github.lazyengineer.castaway.androidApp.view.onboarding
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.LayoutScopeMarker
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.pa... | 0 | Kotlin | 0 | 2 | b65ffceb9b9a9e4e17302c69f50b307a17b7f372 | 3,219 | castaway | MIT License |
app/src/main/java/com/febers/uestc_bbs/io/CacheHelper.kt | WattledGnata | 221,683,082 | true | {"Kotlin": 626855, "Java": 281346, "HTML": 5241, "IDL": 746} | package com.febers.uestc_bbs.io
import android.os.Looper
import com.bumptech.glide.Glide
import com.febers.uestc_bbs.MyApp
import com.febers.uestc_bbs.io.FileHelper.appApkDir
import com.febers.uestc_bbs.io.FileHelper.appCacheDir
import com.febers.uestc_bbs.io.FileHelper.deleteFolderFile
import com.febers.uestc_bbs.io... | 0 | null | 0 | 0 | 682790f32c02a5b2a517f07f69dc048f12add0c0 | 1,839 | UESTC_BBS | Apache License 2.0 |
app/src/main/java/com/comjeong/nomadworker/domain/model/place/LocationPlaceResult.kt | HUFSummer-Hackathon | 512,365,622 | false | null | package com.comjeong.nomadworker.domain.model.place
data class LocationPlaceResult(
val message: String,
val status: Int,
val data: Result?
) {
data class Result(
val locationName: String?,
val place: List<Place>?
) {
data class Place(
val placeId: Long,
... | 2 | Kotlin | 0 | 0 | 5857dbe020888785367e0e4596a7b342aa1ec4a7 | 565 | NomadWorker-Android | MIT License |
app/src/main/java/com/dialogapp/dialog/util/Event.kt | microdotblog | 204,969,556 | false | null | package com.dialogapp.dialog.util
/**
* Used as a wrapper for data that is exposed via a LiveData that represents an event.
*/
open class Event<out T>(private val content: T) {
var consumed = false
private set // Allow external read but not write
/**
* Returns the content and prevents its use ... | 1 | Kotlin | 1 | 5 | 3e484f76f702a855726b92eec906443a61f510a1 | 1,062 | dialog | Apache License 2.0 |
features/core/database/src/main/kotlin/dev/marlonlom/apps/bookbar/core/database/db.kt | marlonlom | 740,270,327 | false | null | /*
* Copyright 2024 Marlonlom
* SPDX-License-Identifier: Apache-2.0
*/
package dev.marlonlom.apps.bookbar.core.database
import android.content.Context
import androidx.room.Database
import androidx.room.Room
import androidx.room.RoomDatabase
import dev.marlonlom.apps.bookbar.core.database.dao.BookDetailsDao
import ... | 4 | null | 0 | 1 | 246bf6c765cb41aec494591e056a8b26a83bc5d3 | 2,210 | bookbar | Apache License 2.0 |
PaperclipEngine/src/main/kotlin/com/paperclip/engine/application/Display.kt | Nick-Fanelli | 575,598,132 | false | {"Kotlin": 80132, "GLSL": 1313} | package com.paperclip.engine.application
import com.paperclip.engine.utils.Logger
import com.paperclip.engine.utils.PaperclipEngineFatalException
import com.paperclip.engine.utils.RuntimeConfig
import org.lwjgl.BufferUtils
import org.lwjgl.glfw.Callbacks.glfwFreeCallbacks
import org.lwjgl.glfw.GLFW.*
import org.lwjgl.... | 0 | Kotlin | 0 | 0 | f269666b0980f75e08f31d91523beb9ab2a9f88d | 6,642 | Paperclip | MIT License |
src/main/kotlin/me/devoxin/jukebot/utils/HttpClient.kt | devoxin | 104,263,117 | false | null | package me.devoxin.jukebot.utils
import okhttp3.*
import okhttp3.Headers.Companion.headersOf
import org.slf4j.LoggerFactory
import java.io.IOException
import java.util.concurrent.CompletableFuture
class RequestUtil {
private val httpClient = OkHttpClient()
inner class PendingRequest(private val request: Requ... | 0 | null | 11 | 39 | 7754d73038ecc1657ff858a11fb2ef960b607a11 | 1,931 | JukeBot | Apache License 2.0 |
vector/src/main/java/im/vector/app/features/settings/devices/v2/GetDeviceFullInfoListUseCase.kt | tchapgouv | 340,329,238 | false | null | /*
* Copyright (c) 2022 New Vector Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | 91 | Kotlin | 6 | 9 | a2c060c687b0aa69af681138c5788d6933d19860 | 5,185 | tchap-android | Apache License 2.0 |
app/src/main/java/me/hegj/wandroid/mvp/ui/adapter/TodoAdapter.kt | hegaojian | 206,478,384 | false | null | package me.hegj.wandroid.mvp.ui.adapter
import android.util.TypedValue
import android.widget.ImageView
import androidx.cardview.widget.CardView
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.BaseViewHolder
import me.hegj.wandroid.R
import me.hegj.wandroid.app.utils.DatetimeU... | 1 | Kotlin | 100 | 713 | 622016c9695c01f3a134a23c4af1f76686aad6f1 | 2,387 | WanAndroid | Apache License 2.0 |
info/src/main/java/com/droidcon/info/presentation/InfoOptionViewHolders.kt | rockndroid | 219,824,667 | false | null | package com.droidcon.info.presentation
import android.view.View
import android.widget.ImageView
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.bumptech.glide.Glide
import com.bumptech.glide.load.resource.bitmap.FitCenter
import com.droidcon.info.R
sealed class InfoOptionVie... | 2 | Kotlin | 0 | 0 | 01e1bbb55b65ee57f186eb0fd98cbc84ea92b3f9 | 1,347 | android-droidcon-madrid-19 | Apache License 2.0 |
features/src/main/kotlin/ru/mobileup/template/features/pokemons/ui/details/FakePokemonDetailsComponent.kt | MobileUpLLC | 485,284,340 | false | null | package ru.mobileup.template.features.pokemons.ui.details
import kotlinx.coroutines.flow.MutableStateFlow
import ru.mobileup.template.core.utils.LoadableState
import ru.mobileup.template.features.pokemons.domain.DetailedPokemon
import ru.mobileup.template.features.pokemons.domain.PokemonId
import ru.mobileup.template.... | 1 | null | 2 | 8 | 75c3350979d4d2a92d8b685194b80ef3747201e9 | 903 | MobileUp-Android-Template | MIT License |
android/src/com/android/tools/idea/welcome/install/Aehd.kt | JetBrains | 60,701,247 | false | {"Kotlin": 53054415, "Java": 43443054, "Starlark": 1332164, "HTML": 1218044, "C++": 507658, "Python": 191041, "C": 71660, "Lex": 70302, "NSIS": 58238, "AIDL": 35382, "Shell": 29838, "CMake": 27103, "JavaScript": 18437, "Smali": 7580, "Batchfile": 7357, "RenderScript": 4411, "Clean": 3522, "Makefile": 2495, "IDL": 19} | /*
* Copyright (C) 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 5 | Kotlin | 227 | 948 | 10110983c7e784122d94c7467e9d243aba943bf4 | 2,584 | android | Apache License 2.0 |
app/src/main/java/com/yashk9/githubapp/ui/adapter/RepoAdapter.kt | yash-k9 | 450,887,409 | false | {"Kotlin": 32123} | package com.yashk9.githubapp.ui.adapter
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.paging.PagingDataAdapter
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.RecyclerView
import com.bumptech.glide.Glide
import com.yashk9.githubapp.R
import com.yashk9... | 0 | Kotlin | 0 | 2 | bd9190c8b3e6ee5c68fecad4a37a947f4eaf2cc5 | 2,002 | GithubApp | Apache License 2.0 |
wear/src/main/java/io/homeassistant/companion/android/tiles/TemplateTile.kt | home-assistant | 179,008,173 | false | null | package io.homeassistant.companion.android.tiles
import androidx.wear.tiles.ActionBuilders
import androidx.wear.tiles.DimensionBuilders
import androidx.wear.tiles.DimensionBuilders.dp
import androidx.wear.tiles.LayoutElementBuilders
import androidx.wear.tiles.LayoutElementBuilders.Box
import androidx.wear.tiles.Layout... | 90 | Kotlin | 345 | 1,187 | e3bd338bf1ebf8256c65d45737fd236f70ac9098 | 5,328 | home-assistant-android | Apache License 2.0 |
src/test/kotlin/app/infinityflow/keycloak/events/tests/TemporalTest.kt | InfinityFlowApp | 784,920,727 | false | {"Kotlin": 13363} | package app.infinityflow.keycloak.events.tests
import app.infinityflow.keycloak.events.TemporalEventListenerProviderFactory
import org.keycloak.events.Event
import org.keycloak.events.EventType
import org.keycloak.events.admin.AdminEvent
import org.keycloak.events.admin.AuthDetails
import org.keycloak.events.admin.Ope... | 4 | Kotlin | 0 | 2 | 5065a5a17ed5c918bda6472ea5d7a5b8504f9c9d | 2,113 | keycloak-event-listener-temporal | Apache License 2.0 |
src/main/kotlin/SettingsPanel.kt | antonarhipov | 501,758,453 | false | null | import androidx.compose.desktop.ui.tooling.preview.Preview
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.width
import androidx.compose.foundation.lazy.LazyColumn
import androidx.c... | 0 | Kotlin | 3 | 61 | f3c2a4f6f58ee3ad58a1c2a683d783dafbcfcf2d | 5,444 | compose-for-desktop-samples | Apache License 2.0 |
design-library/src/main/kotlin/app/dapk/st/design/components/itemRow.kt | ShadowJonathan | 471,471,233 | true | {"Kotlin": 586327, "Java": 13756, "Shell": 763, "Prolog": 113} | package app.dapk.st.design.components
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.*
import androidx.compose.material.Divider
import androidx.compose.material.Icon
import androidx.compose.material.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Align... | 0 | null | 0 | 0 | 2ab2253e7a1335f8c25b5e69be0dc1ec9c254958 | 2,091 | small-talk | Apache License 2.0 |
client/src/main/kotlin/com/github/bvfnbk/plopp/client/components/application/bar/ApplicationBarStyles.kt | bvfnbk | 427,322,781 | false | null | package com.github.bvfnbk.plopp.client.components.application.bar
import com.github.bvfnbk.plopp.client.DefaultTheme
import kotlinx.css.*
import styled.StyleSheet
/**
* @author bvfnbk
*/
object ApplicationBarStyles : StyleSheet("ApplicationBarStyles", isStatic = true) {
val appBar by css {
flex(0.0)
... | 21 | Kotlin | 0 | 0 | f613efba000533114b90d46b554d0854db00d07f | 524 | plopp | Apache License 2.0 |
src/main/kotlin/org/arend/psi/ext/impl/MetaAdapter.kt | JetBrains | 96,068,447 | false | null | package org.arend.psi.ext.impl
import com.intellij.lang.ASTNode
import com.intellij.openapi.application.runReadAction
import com.intellij.psi.SmartPsiElementPointer
import com.intellij.psi.stubs.IStubElementType
import org.arend.ArendIcons
import org.arend.naming.reference.GlobalReferable
import org.arend.naming.refer... | 67 | Kotlin | 13 | 79 | 65a989952c2c9830ade7b0b303b09a827ab7dfff | 3,419 | intellij-arend | Apache License 2.0 |
app/src/main/java/com/budget/tracker/requests/AddCategoryRequest.kt | PWSZ-Budget-Tracker | 245,879,552 | false | null | package com.budget.tracker.requests
data class AddCategoryRequest(val name: String, val type: Int) | 0 | Kotlin | 0 | 1 | 81e37d1ee99f3d9c2a09b727b36fd2b44d359f5b | 99 | mobile | MIT License |
plugin-development/version-catalog-accessor/src/test/resources/fixture/VersionCatalogDependency.kt | bitfunk | 462,763,869 | false | null | package com.example.catalog.generated
import kotlin.String
public interface VersionCatalogDependency {
public interface Group : VersionCatalogDependency
public interface GroupLeaf : VersionCatalogDependency {
public fun `get`(): String
public fun getStatic(): String
}
public interfa... | 11 | Kotlin | 0 | 3 | 84546f26717eafae6d214069eeb66f7a92240376 | 440 | gradle-plugins | ISC License |
features/total_cases/src/main/java/com/pimenta/pandreports/totalcases/di/module/TotalCasesRemoteDataSourceModule.kt | marcuspimenta | 250,781,614 | false | null | /*
* Copyright (C) 2020 <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 writi... | 0 | Kotlin | 0 | 0 | 1503d6626f1eb82ca649b8b155f6f343dd7351bb | 1,237 | Pandemic-reports | Apache License 2.0 |
graphecule-client/src/main/kotlin/graphecule/client/model/GraphModelBuilder.kt | josesamuel | 259,990,102 | false | null | /*
* Copyright (C) 2020 <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 ... | 1 | Kotlin | 1 | 2 | 82bd348f06a84eccf946541a1683f32f509cfe5a | 14,788 | graphecule | Apache License 2.0 |
src/main/kotlin/bot/extensions/StatsReport.kt | zxcqirara | 499,319,820 | false | {"Kotlin": 101588} | package bot.extensions
import bot.botLogger
import bot.lib.Config
import bot.lib.Database
import com.kotlindiscord.kord.extensions.extensions.Extension
import com.kotlindiscord.kord.extensions.i18n.TranslationsProvider
import com.kotlindiscord.kord.extensions.utils.scheduling.Scheduler
import dev.kord.common.entity.Sn... | 0 | Kotlin | 0 | 1 | 599cee06e9a200e1ba8dbebd64be3039e5f937fb | 2,529 | Kyrtizanka-Bot | MIT License |
android-hce-app/app/src/main/java/com/lexycon/hostcardemulation/HostCardEmulatorService.kt | Lexycon | 254,213,031 | false | null | package com.lexycon.hostcardemulation
import android.nfc.cardemulation.HostApduService
import android.os.Bundle
import android.util.Log
class HostCardEmulatorService: HostApduService() {
companion object {
val TAG = "Host Card Emulator"
val STATUS_SUCCESS = "9000"
val STATUS_FAILED = "6F0... | 0 | Kotlin | 5 | 8 | 06b84a3c8c7dfcedc0fbf929d0d587e92c399d3b | 1,840 | android-pn532-hce | MIT License |
src/test/kotlin/org/rust/ide/template/postfix/OkPostfixTemplateTest.kt | intellij-rust | 42,619,487 | false | {"Gradle Kotlin DSL": 2, "Java Properties": 5, "Markdown": 11, "TOML": 19, "Shell": 2, "Text": 124, "Ignore List": 1, "Batchfile": 1, "EditorConfig": 1, "XML": 140, "Kotlin": 2284, "INI": 3, "ANTLR": 1, "Rust": 362, "YAML": 131, "RenderScript": 1, "JSON": 6, "HTML": 198, "SVG": 136, "JFlex": 1, "Java": 1, "Python": 37} | /*
* Use of this source code is governed by the MIT license that can be
* found in the LICENSE file.
*/
package org.rust.ide.template.postfix
class OkPostfixTemplateTest : RsPostfixTemplateTest(OkPostfixTemplate(RsPostfixTemplateProvider())) {
fun `test expr`() = doTest("""
fn foo(number: i32) -> Resu... | 1,841 | Kotlin | 380 | 4,528 | c6657c02bb62075bf7b7ceb84d000f93dda34dc1 | 617 | intellij-rust | MIT License |
src/main/kotlin/com/rarnu/mdpro3/database/entity/CardData.kt | rarnu | 809,611,315 | false | {"Kotlin": 125118} | package com.rarnu.mdpro3.database.entity
import org.ktorm.entity.Entity
interface CardData : Entity<CardData> {
companion object : Entity.Factory<CardData>()
var id: Long
var ot: Int
var alias: Long
var setcode: Long
var type: Long
var atk: Int
var def: Int
var level: Int
var ... | 0 | Kotlin | 0 | 1 | 2965b8d9c178f101640d54c6777cfefb8257df5c | 492 | mdpro3-deck-center | Apache License 2.0 |
liveview-android/src/test/java/com/dockyard/liveviewtest/liveview/util/LiveViewComposableTest.kt | liveview-native | 459,214,950 | false | {"Kotlin": 2067475, "Elixir": 74863, "ANTLR": 12846} | package com.dockyard.liveviewtest.liveview.util
import androidx.activity.ComponentActivity
import androidx.compose.runtime.Composable
import androidx.compose.runtime.collectAsState
import androidx.compose.runtime.getValue
import androidx.compose.ui.test.junit4.ComposeContentTestRule
import androidx.compose.ui.test.jun... | 44 | Kotlin | 3 | 75 | ef08559f9bda7e74fdaf80859b47e2db9502303c | 3,351 | liveview-client-jetpack | MIT License |
kross2d-core/src/commonMain/kotlin/bitspittle/kross2d/engine/context/DrawContext.kt | bitspittle | 171,082,426 | false | null | package bitspittle.kross2d.engine.context
import bitspittle.kross2d.engine.GameState
import bitspittle.kross2d.engine.graphics.DrawSurface
import bitspittle.kross2d.engine.graphics.Screen
import bitspittle.kross2d.engine.time.Timer
/**
* Classes that may be useful to [GameState.update]
*/
interface DrawContext {
... | 2 | Kotlin | 1 | 2 | bc40c0b71ee6826be06044c5f3f1239e30252872 | 363 | kross2d | MIT License |
app/src/main/java/cn/lyric/getter/hook/app/SystemUi.kt | xiaowine | 650,612,086 | false | null | package cn.lyric.getter.hook.app
import android.media.MediaMetadata
import android.media.session.PlaybackState
import android.os.Build
import cn.lyric.getter.BuildConfig
import cn.lyric.getter.R
import cn.lyric.getter.api.data.LyricData
import cn.lyric.getter.api.listener.LyricListener
import cn.lyric.getter.api.list... | 7 | null | 8 | 433 | 63e6881376a7b19af997536c33cfc0cf15c85db7 | 4,608 | Lyric-Getter | Apache License 2.0 |
compiler/testData/ir/irText/js/dynamic/dynamicMemberAugmentedAssignment.kt | mcpiroman | 375,462,779 | true | {"Kotlin": 73023707, "Java": 6608057, "Swift": 4256908, "C": 2635707, "C++": 2546276, "Objective-C": 636652, "JavaScript": 211357, "Objective-C++": 165224, "Groovy": 103363, "Python": 44364, "Shell": 31842, "TypeScript": 22854, "Lex": 18369, "Batchfile": 11692, "CSS": 11368, "HTML": 6971, "Ruby": 6839, "EJS": 5241, "Do... | // TARGET_BACKEND: JS_IR
// MUTE_SIGNATURE_COMPARISON_K2: ANY
// ^ KT-57566
fun testAugmentedMemberAssignment(d: dynamic) {
d.m += "+="
d.m -= "-="
d.m *= "*="
d.m /= "/="
d.m %= "%="
}
// see KT-29768
fun testSafeAugmentedMemberAssignment(d: dynamic) {
d?.m += "+="
d?.m -= "-="
d?.m ... | 0 | Kotlin | 0 | 1 | 973adb6a38df87d16ee089eee7faafa1983fd76a | 364 | kotlin | Apache License 2.0 |
simulator/src/main/kotlin/util/svg/elementdsl/path.kt | jGleitz | 239,469,794 | false | null | package de.joshuagleitze.transformationnetwork.simulator.util.svg.elementdsl
import kotlinx.html.HTMLTag
import kotlinx.html.TagConsumer
import kotlinx.html.attributesMapOf
import react.RBuilder
import react.dom.tag
import styled.StyledDOMBuilder
import styled.styledTag
fun RBuilder.styledPath(
id: String? = null... | 3 | Kotlin | 0 | 1 | d5d0bd7722abe3260bc204f128337c25c0fb340e | 829 | transformationnetwork-simulator | MIT License |
android/app/src/main/java/com/algorand/android/repository/FeedbackRepository.kt | perawallet | 364,359,642 | false | null | /*
* 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 | null | 62 | 181 | 92fc77f73fa4105de82d5e87b03c1e67600a57c0 | 1,764 | pera-wallet | Apache License 2.0 |
src/main/kotlin/eu/glatz/tomeyreader/Settings.kt | glatzan | 251,613,613 | false | null | package eu.glatz.tomeyreader
import org.slf4j.Logger
import org.slf4j.LoggerFactory
import org.springframework.boot.system.ApplicationHome
import picocli.CommandLine
import java.io.File
@CommandLine.Command(name = "settings", mixinStandardHelpOptions = true, showAtFileInUsageHelp = true)
class Settings {
privat... | 1 | Kotlin | 0 | 1 | 5605edee32305003b2bbe4f59eb6c934c42137b9 | 4,945 | TomeyReader2 | MIT License |
web/src/test/kotlin/com/github/jactor/web/model/UserModelTest.kt | jactor-rises | 178,705,353 | false | {"Kotlin": 58604, "HTML": 10548, "CSS": 2049} | package com.github.jactor.web.model
import com.github.jactor.shared.dto.AddressDto
import com.github.jactor.shared.dto.PersonDto
import com.github.jactor.shared.dto.UserDto
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.assertAll
internal class UserMod... | 0 | Kotlin | 0 | 0 | 544edcb274744bd91ecf2d4e939d18f50e3f4d79 | 2,098 | jactor-web | MIT License |
desktop/views/src/testFixtures/kotlin/scene/sceneSetting/doubles/RemoveLocationFromSceneControllerDouble.kt | Soyle-Productions | 239,407,827 | false | null | package com.soyle.stories.desktop.view.scene.sceneSetting.doubles
import com.soyle.stories.domain.location.Location
import com.soyle.stories.domain.scene.Scene
import com.soyle.stories.scene.locationsInScene.removeLocationFromScene.RemoveLocationFromSceneController
import kotlinx.coroutines.Job
class RemoveLocationFr... | 45 | Kotlin | 0 | 9 | 1a110536865250dcd8d29270d003315062f2b032 | 655 | soyle-stories | Apache License 2.0 |
src/jvmMain/kotlin/com/ditchoom/websocket/WebsocketKeyGenerator.kt | DitchOoM | 600,892,985 | false | {"Kotlin": 98736, "Ruby": 2416, "JavaScript": 483} | package com.ditchoom.websocket
import java.util.Base64
import kotlin.random.Random
import kotlin.random.nextInt
actual fun generateWebSocketKey(): String =
Base64.getEncoder().encodeToString(ByteArray(16) { Random.nextInt(97..122).toByte() })
| 1 | Kotlin | 0 | 3 | 921307e59eeabac9869432aa10094894d966a22c | 249 | websocket | Apache License 2.0 |
compiler/tests-common-new/tests/org/jetbrains/kotlin/test/frontend/fir/handlers/FirIdenticalChecker.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.test.frontend.fir.handlers
import org.jetbrains.kotlin.test.WrappedException
imp... | 157 | Kotlin | 5209 | 42,102 | 65f712ab2d54e34c5b02ffa3ca8c659740277133 | 2,127 | kotlin | Apache License 2.0 |
plugins/jvm-abi-gen/testData/compile/privateClassesFromJavaLib/lib/lib.kt | JetBrains | 3,432,266 | false | {"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML... | package lib
private class A {
fun result() = "OK"
}
| 181 | Kotlin | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 57 | kotlin | Apache License 2.0 |
app/src/main/java/com/comunidadedevspace/taskbeats/core/data/repository/TaskRepositoryImpl.kt | RenanPdeOliveira | 615,246,251 | false | {"Kotlin": 83912} | package com.comunidadedevspace.taskbeats.core.data.repository
import androidx.lifecycle.LiveData
import com.comunidadedevspace.taskbeats.news.data.local.NewsDao
import com.comunidadedevspace.taskbeats.news.data.local.NewsItem
import com.comunidadedevspace.taskbeats.tasks.data.TaskDao
import com.comunidadedevspace.task... | 0 | Kotlin | 0 | 0 | ea0e5957af3ccd54e7312e06af0bfb98a9461dd0 | 2,320 | TaskBeats | The Unlicense |
chat-demo-android/src/main/kotlin/com/twilio/chat/demo/activities/LoginActivity.kt | twilio | 47,708,643 | false | null | package com.twilio.chat.demo.activities
import com.google.android.gms.common.ConnectionResult
import com.google.android.gms.common.GoogleApiAvailability
import com.twilio.chat.ChatClient
import com.twilio.chat.demo.BasicChatClient.LoginListener
import com.twilio.chat.demo.R
import com.twilio.chat.demo.BuildConfig
impo... | 0 | null | 49 | 65 | 643f861aceaccb924a2c3fed2027e500e4aaa4d0 | 5,845 | twilio-chat-demo-android | MIT License |
src/main/kotlin/ar/edu/unq/dao/mongodb/MongoUsuarioDAOImpl.kt | CristianGonzalez1980 | 320,041,280 | false | null | package ar.edu.unq.dao.mongodb
import ar.edu.unq.dao.UsuarioDAO
import ar.edu.unq.modelo.Usuario
class MongoUsuarioDAOImpl : UsuarioDAO, GenericMongoDAO<Usuario>(Usuario::class.java) | 1 | Kotlin | 0 | 0 | 28553d578b6c6ec24c32759d604731bfbc40627a | 184 | exposicion-virtual | The Unlicense |
app/src/main/java/com/manu/foodacious/view/ui/MainActivity.kt | ManaswiniKundeti | 279,084,751 | false | null | package com.manu.foodacious.view.ui
import android.content.Intent
import android.content.res.Configuration
import android.os.Bundle
import android.util.Log
import android.view.Menu
import android.view.MenuItem
import android.widget.Toast
import androidx.activity.viewModels
import androidx.appcompat.app.AppCompatActivi... | 0 | Kotlin | 0 | 0 | 5842ff938c2fbd82fcf41dccff2ab719786d2b92 | 5,227 | Foodacious | Apache License 2.0 |
app/main/kotlin/tilgang/Config.kt | navikt | 819,933,604 | false | {"Kotlin": 105450, "Dockerfile": 248} | package tilgang
import tilgang.auth.AzureConfig
import java.net.URI
import java.util.*
private fun getEnvVar(envar: String) = System.getenv(envar) ?: error("missing envvar $envar")
data class Config(
val azureConfig: AzureConfig = AzureConfig(
clientId = getEnvVar("AZURE_APP_CLIENT_ID"),
clientSe... | 0 | Kotlin | 0 | 0 | ad73f13132698cf5642c092a331e3e0c885ca3dd | 2,980 | aap-tilgang | MIT License |
app/src/main/java/com/meier/marina/magiccoroutines/data/MagicWand.kt | MarinaShaposhnikova | 136,235,329 | false | {"Kotlin": 15404} | package com.meier.marina.magiccoroutines.data
data class MagicWand(val wood: String, val core: String, val length: Int)
| 0 | Kotlin | 0 | 0 | 9b4c60571f6129d8d54b868ac282e476cec3a1e8 | 121 | MagicCoroutines | Apache License 2.0 |
src/main/kotlin/no/nav/lydia/ia/sak/api/IASakRådgiverRoutes.kt | navikt | 444,072,054 | false | null | package no.nav.lydia.ia.sak.api
import arrow.core.flatMap
import arrow.core.getOrElse
import arrow.core.right
import io.ktor.http.*
import io.ktor.server.application.*
import io.ktor.server.request.*
import io.ktor.server.response.*
import io.ktor.server.routing.*
import no.nav.lydia.ADGrupper
import no.nav.lydia.Audi... | 1 | Kotlin | 1 | 2 | cf80398e555acfb4bfabe1e0f18d1ace19b133e4 | 13,211 | lydia-api | MIT License |
src/main/kotlin/io/framed/framework/render/html/HtmlShapeContainer.kt | Eden-06 | 138,000,306 | false | null | package io.framed.framework.render.html
import de.westermann.kobserve.event.EventHandler
import de.westermann.kobserve.event.EventListener
import io.framed.framework.JsPlumbInstance
import io.framed.framework.pictogram.BoxShape
import io.framed.framework.pictogram.IconShape
import io.framed.framework.pictogram.Shape
i... | 5 | null | 1 | 2 | 27f4a4c44d90f20f748ab779c3c184cb012a59fe | 3,074 | FRaMED-io | MIT License |
petsearch-shared/core/util/src/commonMain/kotlin/com/msa/petsearch/shared/core/util/resource/MessageDeque.kt | msa1422 | 534,594,528 | false | null | package com.msa.petsearch.shared.core.util.resource
import com.rickclephas.kmp.nativecoroutines.NativeCoroutines
import kotlinx.coroutines.flow.MutableSharedFlow
import kotlinx.coroutines.flow.asSharedFlow
object MessageDeque : Queue<ResourceMessage> {
private val deque = ArrayDeque<ResourceMessage>()
private... | 1 | null | 0 | 19 | b67e8e287e0d2b3fc0f2d3feaf3d0a21fd525c88 | 1,560 | KMM-Arch-PetSearch | MIT License |
androidOlympusBlog/src/main/java/com/olympusblog/android/presentation/screens/search/SearchScreen.kt | sentrionic | 551,827,184 | false | null | package com.olympusblog.android.presentation.screens.search
import androidx.compose.foundation.layout.*
import androidx.compose.material.*
import androidx.compose.runtime.Composable
import androidx.compose.ui.ExperimentalComposeUiApi
import androidx.compose.ui.Modifier
import androidx.compose.ui.platform.LocalContext
... | 0 | Kotlin | 0 | 0 | bb61f26adcdded63b83c505d2f67c50715e8b859 | 6,449 | OlympusKMM | MIT License |
home/src/main/java/com/kingsland/home/data/repository/TaskRepository.kt | data-programmer | 599,861,493 | false | null | package com.kingsland.home.data.repository
import com.kingsland.home.convertTaskDtoToDomain
import com.kingsland.home.data.source.TaskDataSource
import com.kingsland.home.domain.model.TaskDomain
import com.kingsland.home.domain.repository.ITaskRepository
import javax.inject.Inject
class TaskRepository @Inject constru... | 0 | Kotlin | 0 | 0 | bcd53b9784689e5b60d893248ccc2910b17391e0 | 547 | ProjectTrakAndroid | MIT License |
analysis/analysis-api/testData/components/inheritorsProvider/sealedInheritors/sealedInheritorWrongPackageSameModule.kt | JetBrains | 3,432,266 | false | null | // FILE: main.kt
package foo.bar
sealed class MySealedClass
class Inheritor1 : MySealedClass()
// FILE: Inheritor2.kt
package foo
import foo.bar.MySealedClass
class Inheritor2 : MySealedClass()
// class: foo/bar/MySealedClass
| 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 232 | kotlin | Apache License 2.0 |
src/main/kotlin/org/rust/lang/core/mir/schemas/MirBinaryOperator.kt | intellij-rust | 42,619,487 | false | null | /*
* Use of this source code is governed by the MIT license that can be
* found in the LICENSE file.
*/
package org.rust.lang.core.mir.schemas
import org.rust.lang.core.psi.ext.ArithmeticOp
import org.rust.lang.core.psi.ext.BinaryOperator
import org.rust.lang.core.psi.ext.ComparisonOp
import org.rust.lang.core.psi... | 1,841 | null | 380 | 4,528 | c6657c02bb62075bf7b7ceb84d000f93dda34dc1 | 1,161 | intellij-rust | MIT License |
common/src/main/java/com/ishow/common/manager/CacheManager.kt | i-show | 62,766,394 | false | null | package com.ishow.common.manager
import android.os.SystemClock
import androidx.collection.LruCache
import com.ishow.common.extensions.parseJSON
import com.ishow.common.extensions.toJSON
import com.ishow.common.utils.StorageUtils
import java.util.concurrent.TimeUnit
/**
* Created by yuhaiyang on 2020/7/30.
* 缓存管理
*... | 1 | null | 1 | 1 | 0b823a69256345078a0c110798c8e9ac4ae2b565 | 2,420 | android-Common | Apache License 2.0 |
src/main/kotlin/land/src/toolbox/jvm/oop/InstanceKlass.kt | JVMInspect | 874,749,033 | false | {"Kotlin": 138930} | package land.src.toolbox.jvm.oop
import land.src.toolbox.jvm.dsl.*
import land.src.toolbox.jvm.primitive.Address
import land.src.toolbox.jvm.primitive.Array
import land.src.toolbox.jvm.primitive.ByteArray
import land.src.toolbox.jvm.util.*
class InstanceKlass(address: Address) : Klass(address) {
val majorVersion:... | 0 | Kotlin | 0 | 6 | dfd87cc5a2462a582696a0a1e2752e8830bcbd09 | 4,808 | toolbox | MIT License |
app/src/main/java/com/appbusters/robinpc/constitutionofindia/di/component/activity/MiddleActivityComponent.kt | kumar4Vipul | 213,992,183 | false | {"Kotlin": 141940, "Java": 708} | package com.appbusters.robinpc.constitutionofindia.di.component.activity
import com.appbusters.robinpc.constitutionofindia.di.component.ConstitutionAppComponent
import com.appbusters.robinpc.constitutionofindia.di.module.ViewModelFactoryModule
import com.appbusters.robinpc.constitutionofindia.di.module.ViewModelModule... | 1 | null | 1 | 1 | 82a916316ac6822023392991f1efc74ff2ed571f | 868 | Indian-Constitution-App | Apache License 2.0 |
test-framework/src/main/kotlin/com/aemtools/test/parser/BaseParserTest.kt | iannovic | 112,768,567 | true | {"Kotlin": 618081, "HTML": 14958, "Lex": 3652} | package com.aemtools.blocks.parser
import com.intellij.lang.ParserDefinition
import com.intellij.testFramework.ParsingTestCase
/**
* @author Dmytro_Troynikov
*/
abstract class BaseParserTest(dataPath: String,
fileExt: String,
parserDefinition: ParserDefini... | 0 | Kotlin | 0 | 0 | d9c1558872fd5e32f18e0bab0afa8f4495da95b0 | 617 | aemtools | MIT License |
app/src/main/java/com/example/slabber/composables/NewChat.kt | Wahabahmad694 | 477,558,751 | false | null | package com.example.slabber.composables
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.itemsIndexed... | 0 | Kotlin | 0 | 0 | d7f87252662fc50db0089810b231702eb5e97e35 | 4,683 | Slabber | Apache License 2.0 |
src/test/kotlin/org/learning/by/example/reactive/kotlin/microservices/KotlinReactiveMS/application/mainTest.kt | LearningByExample | 92,105,897 | false | null | package org.learning.by.example.reactive.kotlin.microservices.KotlinReactiveMS.application
import org.junit.jupiter.api.DisplayName
import org.junit.jupiter.api.Test
import org.learning.by.example.reactive.kotlin.microservices.KotlinReactiveMS.test.BasicIntegrationTest
import org.learning.by.example.reactive.kotlin.mi... | 0 | null | 13 | 34 | 05acfe82f670d9a9aa31206ba4c6b3cffa506b9d | 526 | KotlinReactiveMS | MIT License |
reactive-crypto-bithumb/src/main/kotlin/com/njkim/reactivecrypto/bithumb/BithumbWebsocketClient.kt | namjug-kim | 184,743,851 | false | null | /*
* Copyright 2019 namjug-kim
*
* LINE Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | 22 | null | 30 | 92 | 68ea8859f8900e2b3e041874504bd6343c0dff49 | 6,145 | reactive-crypto | Apache License 2.0 |
reactive-crypto-bithumb/src/main/kotlin/com/njkim/reactivecrypto/bithumb/BithumbWebsocketClient.kt | namjug-kim | 184,743,851 | false | null | /*
* Copyright 2019 namjug-kim
*
* LINE Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | 22 | null | 30 | 92 | 68ea8859f8900e2b3e041874504bd6343c0dff49 | 6,145 | reactive-crypto | Apache License 2.0 |
app/src/main/java/eu/kanade/tachiyomi/ui/source/browse/repos/InfoRepoMessage.kt | cuong-tran | 808,519,905 | false | {"Kotlin": 3259056} | package eu.kanade.tachiyomi.ui.source.browse.repos
import android.view.View
import androidx.recyclerview.widget.RecyclerView
import eu.davidea.flexibleadapter.FlexibleAdapter
import eu.davidea.flexibleadapter.items.AbstractFlexibleItem
import eu.davidea.flexibleadapter.items.IFlexible
import eu.kanade.tachiyomi.R
impo... | 1 | Kotlin | 2 | 5 | ccc5052fdd450b937e478c7017aad427f3da8b9e | 1,919 | tachiyomiJ2K | Apache License 2.0 |
buildSrc/lint-checks/src/main/java/androidx/build/lint/BanTargetApiAnnotation.kt | FYI-Google | 258,765,297 | false | null | /*
* Copyright (C) 2018 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 0 | null | 0 | 6 | b9cd83371e928380610719dfbf97c87c58e80916 | 2,479 | platform_frameworks_support | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.