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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
color/src/commonMain/kotlin/io/data2viz/color/Color.kt | data2viz | 89,368,762 | false | null | /*
* Copyright (c) 2018-2021. data2viz sàrl.
*
* 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... | 81 | null | 28 | 352 | c883d740c94b1c917cdbe334c8a933f51db97513 | 3,501 | data2viz | Apache License 2.0 |
ktor-client/ktor-client-plugins/ktor-client-logging/common/src/io/ktor/client/plugins/logging/HttpClientCallLogger.kt | danbrough | 527,165,659 | true | {"Kotlin": 5808536, "Python": 948, "JavaScript": 775, "HTML": 317, "Mustache": 77} | /*
* Copyright 2014-2022 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
package io.ktor.client.plugins.logging
import kotlinx.atomicfu.*
import kotlinx.coroutines.*
internal class HttpClientCallLogger(private val logger: Logger) {
private val requestLog = St... | 5 | null | 1051 | 2 | f6f34582a36ee2f950ea672c4908498680cc24b2 | 1,612 | ktor | Apache License 2.0 |
src/main/kotlin/net/leanix/githubagent/services/GitHubEnterpriseService.kt | leanix | 818,186,956 | false | {"Kotlin": 73878, "Dockerfile": 244} | package net.leanix.githubagent.services
import net.leanix.githubagent.client.GitHubClient
import net.leanix.githubagent.dto.GitHubAppResponse
import net.leanix.githubagent.exceptions.GitHubAppInsufficientPermissionsException
import net.leanix.githubagent.exceptions.UnableToConnectToGitHubEnterpriseException
import org... | 2 | Kotlin | 0 | 1 | afcd1205e6b305aa377eec35e1c4093cde1e685e | 2,182 | leanix-github-agent | Apache License 2.0 |
src/main/java/top/wetabq/wac/module/DefaultModuleName.kt | WetABQ | 573,748,985 | false | {"Kotlin": 281849, "Java": 13566} | package top.wetabq.wac.module
/**
* WAntiCheatPro
*
* @author WetABQ Copyright (c) 2019.07
* @version 1.0
*/
object DefaultModuleName {
val DEFAULTCONFIG = "DefaultConfig"
val DEBUGLOG = "DebugLog"
val CHECKLOG = "CheckLog"
val LOGRECORDCONFIG = "LogRecordConfig"
val HELPCOMMAND = "HelpComman... | 0 | Kotlin | 5 | 16 | 4bc49e045421a6367f9fe6880eed285140630beb | 1,259 | WAntiCheatPro | Apache License 2.0 |
app/system/src/test/java/app/emmabritton/system/TestRuntimeKernel.kt | emmabritton | 559,135,688 | false | null | package app.emmabritton.system
private val runOnMainThread = { method: () -> Unit -> method() }
class TestRuntimeKernel<S : State>(
reduce: (Action, S) -> Effect<S>,
initState: S,
render: (S) -> Unit = {}
) : RuntimeKernel<S>(runOnMainThread, reduce, render, ImmediateCommandHandler(), initState) {
ini... | 0 | Kotlin | 0 | 0 | 1e2bf6836a97b8f4b92d00656c113a27ace1185c | 547 | cibusana | MIT License |
src/main/kotlin/backtobasicsoop/domain/services/ItemNotifier.kt | joaofbantunes | 226,717,208 | false | null | package backtobasicsoop.domain.services
import backtobasicsoop.domain.entities.ItemId
interface ItemNotifier {
fun notify(itemId: ItemId)
} | 0 | Kotlin | 0 | 0 | 7a9c5d4d2911f5073f58bb8daaa2b3347f08f479 | 145 | BackToBasicsTheMessWereMakingOutOfOOPKT | MIT License |
app/src/main/java/com/allenlabsfsm/features/report/model/MISResponse.kt | DebashisINT | 620,819,564 | false | null | package com.allenlabsfsm.features.report.model
import com.allenlabsfsm.base.BaseResponse
import com.allenlabsfsm.features.nearbyshops.model.ShopData
/**
* Created by Pratishruti on 27-12-2017.
*/
class MISResponse:BaseResponse() {
var shop_list:List<ShopData>? = null
var shop_list_count:MISShopListCount?=nu... | 0 | Kotlin | 0 | 0 | c6e068aa152f11575488ef559da49b5be7662d46 | 324 | AllenLabs | Apache License 2.0 |
src/commonMain/kotlin/org/andstatus/game2048/view/MainView.kt | andstatus | 299,049,641 | false | null | package org.andstatus.game2048.view
import com.soywiz.korge.view.Container
import com.soywiz.korge.view.addTo
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.async
import org.andstatus.game2048.ai.AiResult
import org.andstatus.game2048.view.AppBar.Companion.setupAppBar
class MainView private constr... | 7 | null | 11 | 61 | 7ab38d367cf8070ebc9a11a61a1983679846375f | 1,611 | game2048 | Apache License 2.0 |
core/src/main/kotlin/sh/christian/aaraar/merger/impl/ClassesMerger.kt | christiandeange | 588,680,111 | false | {"Kotlin": 266948, "Shell": 1171} | package sh.christian.aaraar.merger.impl
import sh.christian.aaraar.merger.ClassesAndLibsMerger
import sh.christian.aaraar.merger.Merger
import sh.christian.aaraar.model.Classes
import sh.christian.aaraar.model.GenericJarArchive
import sh.christian.aaraar.model.Libs
/**
* Standard jar-wise implementation for merging ... | 1 | Kotlin | 2 | 32 | 9e1bb7ca023d4e3f40dc24fd93b6360fde252d5e | 758 | aaraar | Apache License 2.0 |
src/main/kotlin/io/github/markgregg/agent/configuration/DuplicateEndPointException.kt | markgregg | 565,568,903 | false | null | package io.github.markgregg.agent.configuration
class DuplicateEndPointException(message: String): Exception(message) {
} | 0 | Kotlin | 0 | 0 | 59c441ab82f364215be6bab788b8e85dbd778738 | 122 | adaptable-agent | Apache License 2.0 |
app/src/main/java/io/ak1/jetalarm/ui/screens/home/timer/TimerScreen.kt | akshay2211 | 304,924,674 | false | null | /*
* Copyright (C) 2022 akshay2211 (<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 ag... | 0 | Kotlin | 3 | 9 | 90512a58a9a4ea3e4bd2a9e2a40c7bfb55fa911f | 819 | JetAlarm | Apache License 2.0 |
onixlabs-corda-identity-framework-workflow/src/test/kotlin/io/onixlabs/corda/identityframework/workflow/FlowTest.kt | onix-labs | 319,453,527 | false | null | /*
* Copyright 2020-2022 ONIXLabs
*
* 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 | null | 0 | 3 | 9dabb2f88efd8affb5bea8215ae6923a72721952 | 4,789 | onixlabs-corda-identity-framework | Apache License 2.0 |
app/src/main/java/au/gondwanasoftware/ontrack/OnTrackDataStore.kt | gondwanasoft | 834,300,448 | false | {"Kotlin": 170741} | package au.gondwanasoftware.ontrack
import android.content.Context
import androidx.datastore.core.DataStore
import androidx.datastore.preferences.core.MutablePreferences
import androidx.datastore.preferences.core.Preferences
import androidx.datastore.preferences.core.booleanPreferencesKey
import androidx.datastore.pre... | 0 | Kotlin | 0 | 0 | 84f36f6d447fa665c6fa40f1503e4a68a9f9bcee | 8,964 | wear-os-on-track | MIT License |
metno_weather/app/src/main/java/com/paheco/metno_weather/models/metnoProperties.kt | bphermansson | 590,911,675 | false | null | package com.paheco.willitrain
import com.google.gson.annotations.SerializedName
data class metnoProperties (
@SerializedName("meta" ) var meta : metnoMeta? = metnoMeta(),
@SerializedName("timeseries" ) var timeseries : ArrayList<metnoTimeseries> = arrayListOf()
) | 0 | Kotlin | 0 | 0 | a3a8fa091202fbbe43b79df425d28becb1de9aa3 | 300 | KotlinkursVT2023 | MIT License |
app/src/main/java/com/duckduckgo/app/browser/autocomplete/SuggestionViewHolderFactory.kt | duckduckgo | 78,869,127 | false | null | /*
* Copyright (c) 2019 DuckDuckGo
*
* 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 ... | 84 | null | 901 | 3,823 | 6415f0f087a11a51c0a0f15faad5cce9c790417c | 13,737 | Android | Apache License 2.0 |
app/src/main/java/com/example/wyrmprint/injection/module/DragaliaServiceModule.kt | arsonistAnt | 222,794,987 | false | null | package com.example.wyrmprint.injection.module
import android.os.Build
import com.example.wyrmprint.data.remote.DragaliaLifeService
import com.example.wyrmprint.util.DragaliaLifeUtil
import com.example.wyrmprint.util.TLSSocketFactory
import dagger.Module
import dagger.Provides
import okhttp3.ConnectionPool
import okht... | 3 | Kotlin | 0 | 1 | ecee46d1eb70d08d732fe872763787f757bd050d | 1,466 | Wyrmprint | MIT License |
ssu-commerce-cores/ssu-commerce-core-jpa/src/test/kotlin/com/ssu/commerce/core/test/CoreApplicationTests.kt | ssu-commerce | 477,757,436 | false | null | package com.ssu.commerce.core
import org.junit.jupiter.api.Test
import org.springframework.boot.test.context.SpringBootTest
@SpringBootTest(properties = ["spring.profiles.active:test"])
class CoreApplicationTests {
@Test
fun contextLoads() {
}
}
| 6 | null | 1 | 3 | d1ec707a2dfcfd313d638fcf711c14c4268aaaba | 261 | ssu-commerce-core | MIT License |
buildSrc/src/main/java/Dependencies.kt | codecameo | 361,180,128 | true | {"Kotlin": 14679, "Swift": 8164} |
object Versions {
const val kotlin = "1.4.32"
const val kotlinxCoroutines = "1.4.3-native-mt"
const val apollo = "2.5.6"
const val compose = "1.0.0-beta05"
const val nav_compose = "1.0.0-alpha10"
const val accompanist = "0.8.0"
const val junit = "4.13"
}
object AndroidSdk {
const va... | 0 | null | 0 | 0 | 5f2c47b34add7994caef1b8f64d35709644465c7 | 1,296 | StarWars | Apache License 2.0 |
Bukkit/src/main/kotlin/me/mrkirby153/kcutils/protocollib/ProtocolLib.kt | mrkirby153 | 75,577,963 | false | null | package me.mrkirby153.kcutils.protocollib
import com.comphenix.protocol.ProtocolLibrary
import com.comphenix.protocol.ProtocolManager
import com.comphenix.protocol.events.PacketContainer
import com.google.common.base.Throwables
import me.mrkirby153.kcutils.Module
import org.bukkit.entity.Player
import org.bukkit.plugi... | 0 | Kotlin | 0 | 0 | 96b6d0993a26dd7fa4a3e921c59a9948bac6f519 | 1,884 | KirbyUtils | MIT License |
app/src/main/java/com/hientran/wallpaper/data/di/RepositoryModule.kt | hientranea | 553,982,644 | false | null | package com.hientran.wallpaper.data.di
import com.hientran.wallpaper.data.remote.repositories.PexelsRepositoryImpl
import com.hientran.wallpaper.data.remote.services.PexelsApiService
import com.hientran.wallpaper.domain.repositories.PexelsRepository
import dagger.Module
import dagger.Provides
import dagger.hilt.Instal... | 0 | Kotlin | 0 | 1 | d2f1e69400c29f111357073a3c128b3ad31be7d5 | 597 | Wallpaper | Apache License 2.0 |
kotest-core/src/commonMain/kotlin/io/kotest/core/spec/style/scopes/RootTestRegistration.kt | niraj8 | 268,596,932 | true | {"Kotlin": 2246160, "HTML": 423, "Java": 145} | package io.kotest.core.spec.style.scopes
import io.kotest.core.factory.TestFactoryConfiguration
import io.kotest.core.spec.style.DslDrivenSpec
import io.kotest.core.test.*
interface RootTestRegistration {
val defaultConfig: TestCaseConfig
fun addContainerTest(name: TestName, xdisabled: Boolean, test: suspend ... | 0 | null | 0 | 1 | 53daa30e3fb889935e8de419d233454dda2e385f | 1,998 | kotest | Apache License 2.0 |
sdk-openapi/src/main/kotlin/org/sinou/pydia/openapi/model/RestRelationResponse.kt | bsinou | 434,248,316 | false | {"Kotlin": 2133584, "Java": 10237} | /**
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit this file manually.
*
*/
@file:Suppress(
"ArrayInDataClass",
"EnumEntryName",
"RemoveRedundantQualifierName",
"UnusedImport"
)
package org.sinou.pydia.openapi.model
import or... | 0 | Kotlin | 0 | 1 | 51a128c49a24eedef1baf2d4f295f14aa799b5d3 | 787 | pydia | Apache License 2.0 |
p8e-util/src/main/kotlin/io/p8e/util/Exception.kt | provenance-io | 340,506,091 | false | null | package io.p8e.util
fun <T : Any> T?.orThrowNotFound(message: String) = this ?: throw NotFoundException(message)
fun <T : Any> T?.orThrowContractDefinition(message: String) = this ?: throw ContractDefinitionException(message)
class AffiliateConnectionException(message: String) : RuntimeException(message)
class Authen... | 2 | Kotlin | 0 | 23 | d27b71e8ab95af104705b2e245b31a4fd6499a6d | 671 | p8e | Apache License 2.0 |
yunext-context/src/commonMain/kotlin/com/yunext/kotlin/kmp/context/HDContext.kt | zeeeeej | 859,714,832 | false | {"Kotlin": 371002, "Swift": 621, "HTML": 335, "CSS": 102} | package com.yunext.kotlin.kmp.context
expect class HDContext constructor() {
val context: Any
fun init(ctx: Any)
}
| 0 | Kotlin | 0 | 0 | af00b4cb868e91cb23dfcd6f1e6c102f18fdfb75 | 125 | HadlinksKMP | Apache License 2.0 |
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/broken/Globalsearch.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 | 4,745 | VuesaxIcons | MIT License |
system/src/main/kotlin/cn/soybean/system/application/command/role/convert/Convert.kt | soybeanjs | 467,859,867 | false | {"Kotlin": 303690, "HTML": 244772, "Python": 958, "Makefile": 571} | package cn.soybean.system.application.command.role.convert
import cn.soybean.system.application.command.role.CreateRoleCommand
import cn.soybean.system.domain.event.role.RoleCreatedOrUpdatedEventBase
fun CreateRoleCommand.convert2RoleCreatedOrUpdatedEventBase(
id: String,
tenantId: String,
createBy: Strin... | 4 | Kotlin | 87 | 204 | f38bc76401dd9cd03ad35c868d8359559c227e68 | 768 | soybean-admin-java | MIT License |
app/src/main/java/com/mathewsachin/fategrandautomata/dagger/app/ViewModelModule.kt | SleipnirTheRapid | 289,129,296 | true | {"Kotlin": 305660} | package com.mathewsachin.fategrandautomata.dagger.app
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import com.mathewsachin.fategrandautomata.ui.auto_skill_list.AutoSkillListViewModel
import com.mathewsachin.fategrandautomata.ui.prefs.AutoSkillItemViewModel
import com.mathewsachin.fat... | 0 | null | 0 | 0 | 5e2f88b5edbc4197aa0a0ba9093fe55d08807218 | 1,328 | Fate-Grand-Automata | MIT License |
src/main/java/com/kingmang/lazurite/compiler/unparsers/NULzrCast.kt | ArtyomKingmang | 652,611,608 | false | {"Kotlin": 539876, "Java": 380684} | package com.kingmang.lazurite.compiler.unparsers
import ru.DmN.pht.utils.vtype.nameWithGenerics
import com.kingmang.lazurite.compiler.ast.NodeLzrCast
import ru.DmN.siberia.unparser.Unparser
import ru.DmN.siberia.unparser.ctx.UnparsingContext
import ru.DmN.siberia.unparsers.INodeUnparser
import ru.DmN.siberia.utils.ope... | 2 | Kotlin | 15 | 142 | 2e8318b549d16cd8612baa242ae0a7e7c45f3c86 | 757 | Lazurite | MIT License |
app/src/main/java/com/example/asetku/view/internalRateOfReturnOneCompany/Different/InternalRateOfReturnOneDifferentResult.kt | mas-diq | 509,682,356 | false | {"Kotlin": 187851} | package com.example.asetku.view.internalRateOfReturnOneCompany.Different
import android.annotation.SuppressLint
import android.content.Intent
import android.os.Build
import android.os.Bundle
import androidx.annotation.RequiresApi
import androidx.appcompat.app.AppCompatActivity
import androidx.lifecycle.ViewModelProvid... | 0 | Kotlin | 0 | 0 | 6ec16e2490b2ea9109e8b3e972717ee4e7df1272 | 3,040 | ASETKU | MIT License |
navigator/src/main/java/dev/joshuasylvanus/navigator/interfaces/ActivityContinuation.kt | Yungjay131 | 532,385,212 | false | null | package dev.joshuasylvanus.navigator.interfaces
import android.net.Uri
import android.view.View
import androidx.annotation.AnimRes
/**
* Created by Joshua Sylvanus, 5:59 AM, 25/08/2022.
*/
interface ActivityContinuation {
fun setActivityTransition(@AnimRes enterAnim:Int, @AnimRes exitAnim:Int): ActivityContinu... | 0 | Kotlin | 0 | 1 | 48052b9d7437086ae5936912c92979f2ce149f81 | 945 | navigator | MIT License |
src/main/kotlin/no/digdir/fdk/searchservice/model/DataService.kt | Informasjonsforvaltning | 730,308,878 | false | {"Kotlin": 144973, "Java": 124436, "Shell": 1412, "Dockerfile": 479} | package no.digdir.fdk.searchservice.model
import com.fasterxml.jackson.annotation.JsonIgnoreProperties
import org.springframework.data.annotation.Id
@JsonIgnoreProperties(ignoreUnknown = true)
data class DataService(
val uri: String,
val title: LocalizedStrings?,
val catalog: Catalog?,
val descriptio... | 4 | Kotlin | 0 | 0 | ce1fcf00e8b51926ac18ccedd5f6647fb803b5ea | 690 | fdk-search-service | Apache License 2.0 |
models/src/main/java/mobdao/com/openquiz/models/QuestionType.kt | diegohkd | 209,090,263 | false | null | package mobdao.com.openquiz.models
import com.google.gson.annotations.SerializedName
@Suppress("unused")
enum class QuestionType {
@SerializedName("multiple")
MULTIPLE_CHOICE,
@SerializedName("boolean")
TRUE_FALSE
}
| 0 | Kotlin | 0 | 0 | 3ba3f957840711869af81c9a63c5495111cbe817 | 235 | OpenQuizAndroid | Apache License 2.0 |
address/src/main/kotlin/htnk128/kotlin/ddd/sample/address/usecase/outputport/AddressUseCase.kt | htnk128 | 135,583,260 | false | {"Kotlin": 154792} | package htnk128.kotlin.ddd.sample.address.usecase.outputport
import htnk128.kotlin.ddd.sample.address.domain.model.address.Address
import htnk128.kotlin.ddd.sample.address.usecase.outputport.dto.AddressDTO
interface AddressUseCase {
fun toDTO(address: Address): AddressDTO
}
| 2 | Kotlin | 7 | 20 | e8f038c29f08c6914f5c824164a2103f7b518e20 | 282 | kotlin-ddd-sample | MIT License |
application/src/main/kotlin/tech/alexib/yaba/server/feature/item/ItemMutation.kt | ruffCode | 381,245,396 | false | null | /*
* Copyright 2021 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | 5 | Kotlin | 0 | 1 | 0f5ac0bf3e0cb9dedf8499b0763ea85eba4248ba | 6,290 | yaba-server | Apache License 2.0 |
src/test/kotlin/com/simiacryptus/openai/opt/DistanceTypeTest.kt | SimiaCryptus | 616,165,852 | false | {"Kotlin": 633469} | package com.simiacryptus.openai.opt
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Assertions.assertTrue
import org.junit.jupiter.api.Test
import kotlin.random.Random
class DistanceTypeTest {
@Test
fun testCosineSimilarVectors() {
val vector1 = Array(100) { Random.n... | 1 | Kotlin | 0 | 0 | 7d89ba9da78c05374554c491ee35c060c8c3f4d2 | 2,089 | joe-penai | Apache License 2.0 |
ehr-common-amnode/src/main/kotlin/care/better/platform/template/AmAttribute.kt | better-care | 343,543,899 | false | null | /* Copyright 2021 Better Ltd (www.better.care)
*
* 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 ... | 0 | null | 1 | 2 | 368cae4a0464dcd90cbae48a1c6b3d4615450d6f | 1,367 | ehr-common | Apache License 2.0 |
sample/shared/src/commonMain/kotlin/soup/compose/material/motion/shared/common/BottomTabsContents.kt | fornewid | 347,555,255 | false | null | /*
* Copyright 2021 SOUP
*
* 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 in wri... | 6 | null | 12 | 574 | 9d17a5219c80a7da0dc5d3541f4c6f18caad139e | 4,573 | material-motion-compose | Apache License 2.0 |
utils/files-api/src/main/java/com/grappim/hateitorrateit/utils/filesapi/inforetriever/FileInfoRetriever.kt | Grigoriym | 704,244,986 | false | {"Kotlin": 500015} | package com.grappim.hateitorrateit.utils.filesapi.inforetriever
import android.net.Uri
import java.io.File
interface FileInfoRetriever {
suspend fun findFileInFolder(fileName: String, folderName: String): File
fun getFileExtension(uri: Uri): String
fun getMimeType(uri: Uri): String
fun getFileSize(uri... | 17 | Kotlin | 0 | 1 | 70b5ee468f57ed1af60bbf1c2aa089a5195a464b | 456 | HateItOrRateIt | Apache License 2.0 |
mvvm-livedata/src/iosMain/kotlin/dev/icerock/moko/mvvm/livedata/deprecated/UITextViewBindings.kt | icerockdev | 204,883,322 | false | null | /*
* Copyright 2021 IceRock MAG Inc. Use of this source code is governed by the Apache 2.0 license.
*/
@file:Suppress("PackageDirectoryMismatch")
package dev.icerock.moko.mvvm.livedata
import platform.UIKit.UITextView
@Deprecated(
"Use UITextView.bindText",
replaceWith = ReplaceWith("UITextView.bindText")... | 35 | Kotlin | 77 | 675 | 4ab6dee9a53c1a5b5e6eac3f913d403be1cb89f5 | 969 | moko-mvvm | Apache License 2.0 |
common/src/main/kotlin/cz/lastaapps/common/Communication.kt | Lastaapps | 336,640,142 | false | null | package cz.lastaapps.common
import android.content.Context
import android.content.Intent
import android.content.pm.PackageManager
import android.net.Uri
import android.util.Log
object Communication {
private val TAG get() = Communication::class.simpleName
private const val facebookUrl = "https://www.faceboo... | 0 | Kotlin | 0 | 0 | f804e1eb7a352062177ef173676fff06b49e4db7 | 1,831 | Lasta_Apps_Common | MIT License |
app/src/main/java/com/example/fmtpro/models/user/UserApiResponse.kt | piyush672 | 815,316,791 | false | {"Kotlin": 63640} | package com.example.fmtpro.models.user
data class UserApiResponse(
val token: Token
) | 0 | Kotlin | 0 | 0 | 453e17d171bcf3e377d855d2004655bc38df1f8e | 90 | FMTPro_Native | MIT License |
src/main/kotlin/dev/lunarcoffee/beanly/exts/commands/utility/uno/UnoDeck.kt | LunarCoffee | 184,699,115 | false | null | package dev.lunarcoffee.beanly.exts.commands.utility.uno
import dev.lunarcoffee.beanly.exts.commands.utility.uno.cards.UnoCard
import dev.lunarcoffee.beanly.exts.commands.utility.uno.cards.UnoCardType
// The deck encompasses both the deck of active active and the discard pile.
class UnoDeck {
private val active =... | 0 | Kotlin | 0 | 0 | 8f428aa32dd7b69903bf57dab67e248fdbda688d | 2,120 | Beanly | MIT License |
src/main/kotlin/pcrypto/cf/common/util/PhoneNumberUtils.kt | ChainFront | 202,961,537 | false | null | /*
* Copyright (c) 2019 ChainFront LLC.
*
* 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... | 0 | Kotlin | 0 | 0 | 4996e61d1e3b587e523e1e2492a1eb4e1989ad0e | 2,056 | cf-core-kt | Apache License 2.0 |
api/src/main/kotlin/nebulosa/api/beans/converters/angle/LSTSerializer.kt | tiagohm | 568,578,345 | false | {"Kotlin": 2578484, "TypeScript": 403673, "HTML": 208928, "JavaScript": 48941, "SCSS": 11404, "Python": 2817, "Makefile": 313} | package nebulosa.api.beans.converters.angle
import nebulosa.math.AngleFormatter
class LSTSerializer : FormattedAngleSerializer(AngleFormatter.Builder().hours().noSign().noSeconds().build())
| 29 | Kotlin | 2 | 4 | 98d2fea4bc5d953350409d08823d642dbb95a199 | 192 | nebulosa | MIT License |
kotlin/samples/sample-grpc/src/main/kotlin/com/github/frtu/sample/config/ObservabilityConfig.kt | frtu | 338,595,537 | false | {"Kotlin": 393692, "Java": 157399, "Shell": 10826, "Dockerfile": 248} | package com.github.frtu.sample.config
import com.github.frtu.kotlin.grpc.instrumentation.server.ServerLogGrpcInterceptor
import io.grpc.ServerInterceptor
import io.micrometer.core.instrument.Meter
import io.micrometer.core.instrument.MeterRegistry
import io.micrometer.core.instrument.Metrics
import io.micrometer.core.... | 0 | Kotlin | 0 | 1 | 604c3bd18543bbe2dde31720c615ef2967ca57a1 | 3,397 | lib-toolbox | Apache License 2.0 |
app/src/main/java/dev/shreyansh/pokemon/pokedex/network/MovesService.kt | binaryshrey | 667,418,478 | false | null | package dev.shreyansh.pokemon.pokedex.network
import com.jakewharton.retrofit2.adapter.kotlin.coroutines.CoroutineCallAdapterFactory
import com.squareup.moshi.Moshi
import com.squareup.moshi.kotlin.reflect.KotlinJsonAdapterFactory
import dev.shreyansh.pokemon.pokedex.network.response.MovesResponse
import retrofit2.Ret... | 0 | Kotlin | 1 | 0 | c2b250a32748b0f5f5249695231507a0692def74 | 1,069 | Pokedex | MIT License |
underdocs-renderer/src/main/kotlin/underdocs/renderer/output/html/CppReferenceHtmlRenderer.kt | underdocs | 260,535,022 | false | null | package underdocs.renderer.output.html
import underdocs.configuration.RendererConfiguration
import underdocs.renderer.output.html.link.DefaultLinker
import underdocs.renderer.output.html.render.page.PageRenderer
import underdocs.renderer.output.html.render.section.SectionRenderer
import underdocs.renderer.representati... | 26 | Kotlin | 0 | 2 | 63841ebabd76a0d86e420fce5f5395d5cbf02991 | 3,013 | underdocs | Apache License 2.0 |
app/src/main/java/com/andreadev/roomsample/ui/itemslist/ItemListView.kt | battagliandrea | 112,673,607 | false | null | package com.andreadev.roomsample.ui.itemslist
import com.andreadev.roomsample.data.models.Item
import com.andreadev.roomsample.ui.base.BaseMvpView
/**
* Created by andrea on 18/08/2017.
*/
interface ItemListView : BaseMvpView {
fun rootListSuccess(data : List<Item>)
fun addItemSuccess(item: Item)
fun ... | 0 | Kotlin | 0 | 0 | 6e2ab03813ff80ab3f6b2cb7fbaaafb86289b582 | 366 | RoomSample | Apache License 2.0 |
app/src/test/java/com/hypertrack/android/api/ApiClientTest.kt | android-team-sudo | 304,932,299 | true | {"Kotlin": 109366, "Java": 10342} | package com.hypertrack.android.api
import androidx.arch.core.executor.testing.InstantTaskExecutorRule
import okhttp3.mockwebserver.MockWebServer
import com.hypertrack.android.repository.AccessTokenRepository
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.corout... | 0 | null | 1 | 1 | c8cf75be88b04448086aaa2302a7e6fc817f8717 | 16,715 | logistics-android | MIT License |
orchestrator-service/src/main/kotlin/com/dekinci/gdeploy/orchestrator/KubernetesConfig.kt | DeKinci | 380,109,331 | false | {"Kotlin": 64234} | package com.dekinci.gdeploy.orchestrator
import com.dekinci.gdeploy.orchestrator.deployment.DefaultGranularClient
import com.dekinci.gdeploy.orchestrator.deployment.GranularClient
import io.fabric8.kubernetes.client.Config
import io.fabric8.kubernetes.client.ConfigBuilder
import io.fabric8.kubernetes.client.DefaultKub... | 0 | Kotlin | 1 | 0 | 77b7e80242f2e30a6e001f0c0d469b49a44cfa35 | 1,775 | granular-deployment | MIT License |
src/main/kotlin/me/luna/trollhack/module/modules/render/BreakESP.kt | NotMonika | 509,752,527 | false | {"Kotlin": 2035807, "Java": 168054, "GLSL": 91098} | package me.luna.trollhack.module.modules.render
import me.luna.trollhack.event.SafeClientEvent
import me.luna.trollhack.event.events.render.Render2DEvent
import me.luna.trollhack.event.events.render.Render3DEvent
import me.luna.trollhack.event.safeListener
import me.luna.trollhack.module.Category
import me.luna.trollh... | 0 | Kotlin | 0 | 0 | 543ac418b69e0c7359cde487e828b4c3d2260241 | 3,275 | MorisaHack | Do What The F*ck You Want To Public License |
app/src/main/java/dev/mslalith/imagecachingandroid/screens/listing/ListingScreen.kt | mslalith | 786,144,387 | false | {"Kotlin": 26037} | package dev.mslalith.imagecachingandroid.screens.listing
import androidx.compose.animation.animateContentSize
import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.foundation.Image
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
import a... | 0 | Kotlin | 0 | 0 | ea23af7f6c8bad5c87a1facc32537fde7ea52c72 | 3,746 | image-caching-android | MIT License |
app/src/main/java/me/stanis/apps/fiRun/database/util/converters/InstantConverters.kt | fstanis | 647,926,349 | false | {"Kotlin": 311776} | /*
* Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | 0 | Kotlin | 0 | 0 | 2886b35b5075955fefe8720ffa3882d3652d0f82 | 955 | fiRun | Apache License 2.0 |
app/src/main/java/com/kaiwolfram/nozzle/data/nostr/INostrService.kt | kaiwolfram | 559,341,150 | false | null | package com.kaiwolfram.nozzle.data.nostr
import com.kaiwolfram.nostrclientkt.model.*
interface INostrService {
fun publishProfile(metadata: Metadata): Event
fun sendPost(content: String, relaySelection: RelaySelection = AllRelays): Event
fun sendRepost(postId: String, quote: String): Event
fun send... | 0 | Kotlin | 4 | 33 | 22efa33d7e46b3c10aca69d285763624a6132dbd | 802 | Nozzle | MIT License |
app/src/main/java/com/nnn/footballclub/model/Event.kt | rfnajid | 130,395,686 | false | null | package com.nnn.footballclub.model
import com.google.gson.annotations.SerializedName
import com.nnn.footballclub.model.favorite.FavEvent
import com.nnn.footballclub.utils.Global
import java.io.Serializable
import java.util.*
/**
* Created by ridhaaaaazis on 19/04/18.
*/
data class Event (
//BASIC
... | 15 | Kotlin | 0 | 1 | 231fe313513ddde12704711ad095f832d299c568 | 5,819 | football | MIT License |
search-service/src/test/kotlin/com/egm/stellio/search/service/TemporalEntityAttributeServiceTests.kt | stellio-hub | 257,818,724 | false | null | package com.egm.stellio.search.service
import arrow.core.right
import com.egm.stellio.search.model.AttributeInstance
import com.egm.stellio.search.model.AttributeMetadata
import com.egm.stellio.search.model.EntityPayload
import com.egm.stellio.search.model.TemporalEntityAttribute
import com.egm.stellio.search.support.... | 48 | Kotlin | 9 | 19 | 006f70cb121ff4f19f81800646860ca4c602a837 | 37,978 | stellio-context-broker | Apache License 2.0 |
cookbook/src/commonMain/kotlin/fun/adaptive/cookbook/auto/autoFolder_autoFile/DataWorker.kt | spxbhuhb | 788,711,010 | false | {"Kotlin": 2251135, "Java": 24502, "HTML": 7707, "JavaScript": 3880, "Shell": 687} | package `fun`.adaptive.cookbook.auto.autoFolder_autoFile
import `fun`.adaptive.auto.api.autoFolder
import `fun`.adaptive.auto.backend.AutoWorker
import `fun`.adaptive.auto.internal.frontend.FolderFrontend
import `fun`.adaptive.auto.internal.origin.OriginBase
import `fun`.adaptive.auto.model.AutoConnectionInfo
import `... | 34 | Kotlin | 0 | 3 | d6c0623918922416e3f2d6666b66626e25fb0704 | 1,881 | adaptive | Apache License 2.0 |
app/src/main/java/com/sedsoftware/yaptalker/presentation/base/enums/lifecycle/PresenterLifecycle.kt | srihi | 123,927,915 | true | {"Kotlin": 417819, "IDL": 1260, "Shell": 1229, "Prolog": 873, "CSS": 50} | package com.sedsoftware.yaptalker.presentation.base.enums.lifecycle
import android.support.annotation.IntDef
class PresenterLifecycle {
companion object {
const val CREATE = 0L
const val ATTACH_VIEW = 1L
const val DETACH_VIEW = 2L
const val DESTROY = 3L
}
@Retention(AnnotationRetention.SOURCE)... | 0 | Kotlin | 0 | 0 | 6c06171d2af44b0bb9b7809221b2f594d2354102 | 401 | YapTalker | Apache License 2.0 |
app/src/main/java/com/al3jodroid/recipes/ui/recipe/DetailsCard.kt | Al3jodroid | 721,253,507 | false | {"Kotlin": 66403} | package com.al3jodroid.recipes.ui.recipe
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.rememberScrollState
import androi... | 0 | Kotlin | 0 | 0 | 0f2e6bd907c594d2fbbc6312e783e65586968dd9 | 3,169 | recipes-yape | MIT License |
vscode/src/jsMain/kotlin/vscode/TestRun.kt | lppedd | 761,812,661 | false | {"Kotlin": 1887051} | package vscode
import js.array.ReadonlyArray
/**
* A TestRun represents an in-progress or completed test run and
* provides methods to report the state of individual tests in the run.
*/
external interface TestRun {
/**
* The human-readable name of the run. This can be used to
* disambiguate multiple sets ... | 0 | Kotlin | 0 | 3 | 0f493d3051afa3de2016e5425a708c7a9ed6699a | 3,280 | kotlin-externals | MIT License |
android/src/main/java/com/lodev09/truesheet/core/KeyboardManager.kt | lodev09 | 776,272,298 | false | null | package com.lodev09.truesheet.core
import android.content.Context
import android.view.View
import android.view.ViewTreeObserver.OnGlobalLayoutListener
import android.view.inputmethod.InputMethodManager
import com.facebook.react.bridge.ReactContext
class KeyboardManager(reactContext: ReactContext) {
interface OnKeyb... | 9 | null | 5 | 382 | d73a39743ce902e6f72773872701c4233f6eb8bb | 1,963 | react-native-true-sheet | MIT License |
capabilities/src/main/kotlin/com/mindstix/capabilities/database/dao/SkincareProductDao.kt | omatmsx | 862,765,661 | false | {"Kotlin": 305394} | package com.mindstix.capabilities.database.dao
import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import com.mindstix.capabilities.database.entities.SkincareProductEntity
@Dao
interface SkincareProductDao {
@Insert(onConflict = OnConflictStrate... | 0 | Kotlin | 1 | 0 | 28e9a52fd35dc50ea150398afabf011dadda953b | 765 | glow-ai | MIT License |
graphql-kotlin-schema-generator/src/main/kotlin/com/expediagroup/graphql/execution/FunctionDataFetcher.kt | QuantumDecaydev | 233,327,187 | true | {"Kotlin": 711698, "JavaScript": 5387, "Shell": 2897, "HTML": 2703, "CSS": 297} | /*
* Copyright 2019 Expedia, 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 0 | null | 0 | 0 | 9d2be3ff860e375f410b5fd5a2a719159a75f3ac | 3,954 | graphql-kotlin | Apache License 2.0 |
src/main/kotlin/com/aemtools/lang/htl/psi/util/PsiExtension.kt | iannovic | 107,144,305 | true | {"Kotlin": 574047, "HTML": 14948, "Java": 4019, "Lex": 3652} | package com.aemtools.lang.htl.psi.util
import com.intellij.psi.*
import com.intellij.psi.impl.source.tree.CompositeElement
import com.intellij.psi.xml.XmlElement
import com.intellij.psi.xml.XmlTag
import com.intellij.psi.xml.XmlTokenType
/**
* @author <NAME>
*/
/**
* Check if current [PsiElement] resides within t... | 0 | Kotlin | 0 | 0 | d9c1558872fd5e32f18e0bab0afa8f4495da95b0 | 1,966 | aemtools | MIT License |
app/src/main/java/com/example/hillclimbers/RegisterFragment.kt | FredericoNicola | 356,027,275 | false | null | package com.example.hillclimbers
import android.content.Intent
import android.os.Bundle
import android.text.TextUtils
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Toast
import androidx.fragment.app.Fragment
import com.example.hillclimbers.R.layout.acti... | 0 | Kotlin | 0 | 1 | 82c4492476295ddb9b81c11fe44812ac208d240d | 3,374 | HillClimbers | MIT License |
kere-build/kere-core/src/main/kotlin/com/briarshore/rule/CustomPureJavaReflectionProvider.kt | steveswing | 108,190,974 | false | null | package com.briarshore.rule
import com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider
import org.slf4j.LoggerFactory
import java.lang.reflect.InvocationTargetException
/**
* Class: CustomPureJavaReflectionProvider
*/
class CustomPureJavaReflectionProvider : PureJavaReflectionProvider() {
... | 2 | Kotlin | 0 | 2 | 9c3f8c4c3f2999026691c44969fb447a1df6fdf1 | 3,416 | kere | Apache License 2.0 |
kb_user/src/main/java/com/stew/kb_user/api/UserApi.kt | stewForAni | 463,379,833 | false | {"Kotlin": 123823, "CMake": 3319, "C++": 1364} | package com.stew.kb_user.api
import com.stew.kb_common.network.BaseResp
import com.stew.kb_user.bean.LoginBean
import retrofit2.http.Field
import retrofit2.http.FormUrlEncoded
import retrofit2.http.POST
/**
* Created by stew on 8/21/22.
* mail: <EMAIL>
*/
interface UserApi {
//登录
@FormUrlEncoded
@POST(... | 1 | Kotlin | 19 | 96 | 60da2611e91f76aea37f14103f8b2048e3410129 | 474 | KotlinBox-WanAndroid | Apache License 2.0 |
src/main/kotlin/amaze/LlamaState.kt | dan-rusu-personal | 161,058,720 | false | null | package main.kotlin.amaze
import main.kotlin.amaze.core.assets.Sound
import main.kotlin.amaze.core.assets.Sounds
private const val MOVEMENT_SPEED = 1.0
private const val QUARTER_ROTATION_COUNTER_CLOCKWISE = -Math.PI / 2
private const val QUARTER_ROTATION_CLOCKWISE = Math.PI / 2
enum class LlamaState(val rotation: Do... | 0 | null | 3 | 17 | 9272fe53c6d8bbc82d9eb1d5e3f48fc655f64cc6 | 1,901 | Kotlin-Waterloo-AMaze | MIT License |
src/main/kotlin/amaze/LlamaState.kt | dan-rusu-personal | 161,058,720 | false | null | package main.kotlin.amaze
import main.kotlin.amaze.core.assets.Sound
import main.kotlin.amaze.core.assets.Sounds
private const val MOVEMENT_SPEED = 1.0
private const val QUARTER_ROTATION_COUNTER_CLOCKWISE = -Math.PI / 2
private const val QUARTER_ROTATION_CLOCKWISE = Math.PI / 2
enum class LlamaState(val rotation: Do... | 0 | null | 3 | 17 | 9272fe53c6d8bbc82d9eb1d5e3f48fc655f64cc6 | 1,901 | Kotlin-Waterloo-AMaze | MIT License |
build-logic/src/main/kotlin/cloudshift/awscdkdsl/build/dsl/model/type/TypeGeneratorContext.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 142794926} | package cloudshift.awscdkdsl.build.dsl.model.type
import cloudshift.awscdkdsl.build.dsl.model.CdkModel
internal class TypeGeneratorContext(val model: CdkModel) {
}
| 0 | Kotlin | 0 | 4 | b1af417dc38eb29bba6244f8da914964c5e7fa3d | 167 | kotlin-cdk-wrapper | Apache License 2.0 |
app/src/main/java/com/gfabrego/moviesapp/popular/domain/repository/PopularShowsRepository.kt | abeade | 155,909,336 | false | null | package com.gfabrego.moviesapp.popular.domain.repository
import com.gfabrego.moviesapp.popular.domain.model.PageRequest
import com.gfabrego.moviesapp.popular.domain.model.PopularShowsResponse
import io.reactivex.Single
internal interface PopularShowsRepository {
fun getPopularShows(pageRequest: PageRequest): Sin... | 0 | Kotlin | 1 | 0 | 11b598d720caa82880f7e43b898006c0ade1ab8e | 348 | MoviesApp | MIT License |
test/src/nativeMain/kotlin/Environment.kt | mpetuska | 382,043,636 | false | null | package test
import kotlinx.cinterop.toKStringFromUtf8
import platform.posix.getenv
actual object Env {
actual operator fun get(key: String): String? = getenv(key)?.toKStringFromUtf8()
} | 11 | Kotlin | 5 | 7 | 0a0d5c2ffc4731064f5f8b05fb87f685d37e5a4f | 190 | monko | Apache License 2.0 |
dd-sdk-android/src/main/kotlin/com/datadog/android/webview/internal/MixedWebViewEventConsumer.kt | DataDog | 219,536,756 | false | null | /*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/
package com.datadog.android.webview.internal
import androidx.annotat... | 52 | null | 60 | 86 | bcf0d12fd978df4e28848b007d5fcce9cb97df1c | 4,003 | dd-sdk-android | Apache License 2.0 |
reaktive/src/commonMain/kotlin/com/badoo/reaktive/completable/AsObservable.kt | AurangzaibRamzan | 183,221,988 | true | {"Kotlin": 180317, "HTML": 1106} | package com.badoo.reaktive.completable
import com.badoo.reaktive.base.Observer
import com.badoo.reaktive.observable.Observable
import com.badoo.reaktive.observable.observableUnsafe
fun <T> Completable.asObservable(): Observable<T> =
observableUnsafe { observer ->
subscribeSafe(
object : Comple... | 0 | Kotlin | 0 | 0 | 38ccaa972dfc1844e3987bcd5978e8950aca492f | 421 | Reaktive | Apache License 2.0 |
Aplicacion/app/src/main/java/com/example/miincidencia/listadoIncidencias/NuevoFragment.kt | Tania105 | 753,646,655 | false | {"Kotlin": 94351} | package com.example.miincidencia
import android.content.Intent
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.appcompat.app.AppCompatActivity
import androidx.fragment.app.Fragment
import androidx.recyclerview.widget.LinearLayoutManager... | 0 | Kotlin | 0 | 0 | 1ed1d05860ff4721fe39c3b027d960def74eb379 | 2,259 | Android_Grupo1 | MIT License |
src/main/kotlin/ru/yoomoney/gradle/plugins/release/ReleaseExtension.kt | yoomoney | 320,603,497 | false | null | package ru.yoomoney.gradle.plugins.release
/**
* Объект расширение DSL gradle для конфигурации плагина
*/
open class ReleaseExtension {
/**
* Перечень задач которые нужно выполнить в момент релиза
*/
var releaseTasks: MutableList<String> = mutableListOf()
/**
* Перечень задач которые нужн... | 2 | Kotlin | 0 | 2 | 581f070c324efcb2b8235e411ec0a1628ec310ce | 2,168 | artifact-release-plugin | MIT License |
api-editor/backend/src/main/kotlin/com/safeds/apiEditor/transformation/TransformationPlan.kt | Safe-DS | 365,253,624 | false | {"TypeScript": 628092, "Kotlin": 353491, "JavaScript": 16693, "Python": 1671, "HTML": 544} | package com.safeds.apiEditor.transformation
import com.safeds.apiEditor.mutableModel.PythonPackage
/**
* Processes all annotations and updates the AST to create adapters.
*/
fun PythonPackage.transform(newPackageName: String = "new_package") {
preprocess()
processAnnotations()
postprocess(newPackageName... | 31 | TypeScript | 1 | 9 | d6d480b6fb789234440ded67e9621a5e2e9cd3f2 | 1,379 | API-Editor | MIT License |
aws-b2bi-transformer/src/test/kotlin/software/amazon/b2bi/transformer/CreateHandlerTest.kt | aws-cloudformation | 703,214,360 | false | {"Kotlin": 256021} | package software.amazon.b2bi.transformer
import io.mockk.clearAllMocks
import io.mockk.every
import io.mockk.mockk
import io.mockk.unmockkAll
import org.assertj.core.api.Assertions.assertThat
import org.assertj.core.api.Assertions.assertThatThrownBy
import org.junit.jupiter.api.*
import org.junit.jupiter.api.TestInsta... | 1 | Kotlin | 1 | 1 | c155ed2e8e435d1a98540369f0288aea74afc29b | 4,943 | aws-cloudformation-resource-providers-b2bi | Apache License 2.0 |
Pinned/app/src/main/java/com/sugarbrain/pinned/profile/ProfileActivity.kt | sugarbrain | 314,893,789 | false | null | package com.sugarbrain.pinned.profile
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import androidx.core.view.isVisible
import androidx.recyclerview.widget.LinearLayoutManager
import com.bumptech.glide.Glide
import com.google.firebase.aut... | 1 | Kotlin | 0 | 0 | b88ff3764b4a8b084fe45dd8fd38157ccae186a9 | 3,623 | pinned | MIT License |
app/src/main/java/com/example/kotlinquiz/ui/main/util/QuizState.kt | NiranjanNlc | 671,107,884 | false | {"Kotlin": 93869, "Java": 1143} | package com.example.kotlinquiz.ui.main.util
import org.niranjan.quiz.modal.QuizEntity
sealed class QuizState {
object Loading : QuizState()
data class Success(val quiz: QuizEntity) : QuizState()
data class Failure(val error: String) : QuizState()
}
| 2 | Kotlin | 2 | 1 | 7e3dc251420827f659073bda8ba4e1ca5445bfb5 | 263 | Kotilin-Quiz | MIT License |
app/src/main/java/ir/abolfazl/abolmovie/userScreen/UserFragment.kt | abolfazl344 | 713,461,288 | false | {"Kotlin": 71079} | package ir.abolfazl.abolmovie.userScreen
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.activity.addCallback
import androidx.fragment.app.Fragment
import androidx.navigation.fragment.findNavController
import com.google.firebase.auth.F... | 0 | Kotlin | 0 | 0 | e9de25e1a37a54572f40df7f02d84b6ad5b84545 | 1,789 | Movie-TV | MIT License |
app/src/main/java/instamovies/app/domain/model/movie/details/MovieDetails.kt | mubashirpa | 720,638,343 | false | {"Kotlin": 450402} | package instamovies.app.domain.model.movie.details
import instamovies.app.domain.model.movie.MovieResultModel
import instamovies.app.domain.model.movie.credits.MovieCredits
data class MovieDetails(
val backdropPath: String? = null,
val genres: List<MovieGenre>? = null,
val id: Int? = null,
val overvie... | 0 | Kotlin | 0 | 1 | fd45c156c6f6f63526946e7c524f9200558fd13a | 608 | InstaMovies-v2 | Apache License 2.0 |
app/src/main/java/com/zaneschepke/wireguardautotunnel/repository/SettingsDoa.kt | zaneschepke | 644,710,160 | false | {"Kotlin": 225248, "HTML": 1349} | package com.zaneschepke.wireguardautotunnel.repository
import androidx.room.Dao
import androidx.room.Delete
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import com.zaneschepke.wireguardautotunnel.repository.model.Settings
import kotlinx.coroutines.flow.Flow
@Dao
inter... | 6 | Kotlin | 8 | 96 | 79583e0e61b69312a2c317abbea09409107c8d3e | 915 | wgtunnel | MIT License |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/datazone/CfnDataSourceRedshiftCredentialConfigurationPropertyDsl.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 70198112} | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package io.cloudshiftdev.awscdkdsl.services.datazone
import io.cloudshiftdev.awscdkdsl.common.CdkDslM... | 0 | Kotlin | 0 | 3 | 256ad92aebe2bcf9a4160089a02c76809dbbedba | 1,622 | awscdk-dsl-kotlin | Apache License 2.0 |
core/src/test/kotlin/in/specmatic/core/wsdl/parser/message/ComplexElementTest.kt | znsio | 247,710,440 | false | null | package `in`.specmatic.core.wsdl.parser.message
import io.mockk.every
import io.mockk.mockk
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Test
import `in`.specmatic.core.pattern.TYPE_ATTRIBUTE_NAME
import `in`.specmatic.core.pattern.XMLPattern
import `in`.specmatic.core.value.XMLNode
i... | 46 | null | 8 | 92 | b3eb9b6e0f7d42bde35d95b83ea187cd1d6aa3bc | 2,674 | specmatic | MIT License |
gradle-plugin/src/main/kotlin/com/gradle/kotlin/dsl/CucumberCompanion.kt | gradle | 685,002,718 | false | {"Groovy": 85721, "Kotlin": 23714, "Java": 18339} | /*
* Copyright 2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 3 | Groovy | 1 | 14 | 68667cd36a6f47d39c73d641283b7fc137c3b99e | 1,299 | cucumber-companion | Apache License 2.0 |
api/src/main/java/com/applakazam/androidmvvmtemplate/api/error/ResponseTimeoutException.kt | BisiPaul | 642,722,484 | false | {"Kotlin": 62813} | package com.applakazam.androidmvvmtemplate.api.error
/**
* Created by paulbisioc on 23.05.2023
*/
class ResponseTimeoutException: NetworkException() | 2 | Kotlin | 0 | 0 | 16aa0b890a4982f51bf53e89f429a8803923190c | 152 | AndroidMvvmTemplate | MIT License |
src/main/kotlin/com/rvdsoft/kotlinflowextensions/WithLatestFromImpl.kt | rvdsoft | 206,081,998 | false | null | package com.rvdsoft.kotlinflowextensions
import kotlinx.coroutines.*
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.FlowCollector
import kotlinx.coroutines.flow.collect
import java.util.concurrent.atomic.AtomicReference
@ExperimentalCoroutinesApi
@Suppress("UNCHECKED_CAST")
/**
* @see <a href="h... | 0 | Kotlin | 0 | 0 | 09ad3736af70a8f3710df4f5094de8f615964339 | 1,387 | kotlin-flow-extensions | Apache License 2.0 |
src/me/anno/io/files/SignatureCache.kt | AntonioNoack | 456,513,348 | false | {"Kotlin": 9750409, "C": 236481, "GLSL": 9454, "Java": 6888, "Lua": 4404} | package me.anno.io.files
import me.anno.cache.CacheData
import me.anno.cache.CacheSection
object SignatureCache : CacheSection("Signatures") {
operator fun get(file: FileReference, async: Boolean): Signature? {
val data = getFileEntry(file, false, 10_000, async) { _, _ ->
CacheData(Signature.f... | 0 | Kotlin | 3 | 17 | f92d95392c4502ae6abf967f11b4c57487540349 | 410 | RemsEngine | Apache License 2.0 |
android/src/main/kotlin/com/rockwellits/rw_plugins/rw_barcode_reader/RwBarcodeReaderPlugin.kt | Skyggedans | 191,960,573 | false | null | package com.rockwellits.rw_plugins.rw_barcode_reader
import android.app.Activity
import android.content.Intent
import android.os.Bundle
import androidx.annotation.NonNull
import io.flutter.embedding.engine.plugins.FlutterPlugin
import io.flutter.embedding.engine.plugins.activity.ActivityAware
import io.flutter.embeddi... | 0 | Kotlin | 0 | 1 | 73fd9d0329f622fc7d792ca01cd6f391f1f24108 | 3,368 | rw_barcode_reader | MIT License |
app/src/main/java/jp/juggler/subwaytooter/api/entity/TootDomainBlock.kt | dengzhicheng092 | 273,178,424 | true | {"Kotlin": 2598700, "Java": 1605147, "Perl": 61230} | package jp.juggler.subwaytooter.api.entity
import jp.juggler.util.JsonArray
import java.util.ArrayList
class TootDomainBlock(
val domain : Host
):TimelineItem() {
companion object {
fun parseList(array : JsonArray?) : ArrayList<TootDomainBlock> {
val result = ArrayList<TootDomainBlock>()
if(array != null) ... | 0 | null | 0 | 0 | c03a5ff731b6056e7fafec4b07e00733eeda02da | 517 | SubwayTooter | Apache License 2.0 |
feature/account/setup/src/main/kotlin/app/k9mail/feature/account/setup/ui/options/display/DisplayOptionsScreen.kt | thunderbird | 1,326,671 | false | null | package app.k9mail.feature.account.setup.ui.options.display
import androidx.activity.compose.BackHandler
import androidx.compose.runtime.Composable
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.ui.Modifier
import app.k9mail.core.common.provider.AppNameProvider
import app.k9mail.core.ui.compose... | 871 | null | 2492 | 9,969 | 8b3932098cfa53372d8a8ae364bd8623822bd74c | 1,758 | thunderbird-android | Apache License 2.0 |
marcel-compilation/marcel-semantic/marcel-semantic-core/src/main/kotlin/com/tambapps/marcel/semantic/ast/expression/SuperReferenceNode.kt | tambapps | 587,877,674 | false | {"Maven POM": 26, "Text": 1, "Ignore List": 11, "Markdown": 87, "Kotlin": 465, "Gradle Kotlin DSL": 5, "INI": 4, "Java Properties": 4, "Shell": 5, "Batchfile": 2, "Proguard": 8, "XML": 83, "Java": 226, "YAML": 1, "JavaScript": 1, "TOML": 1, "Gradle": 5, "JFlex": 1} | package com.tambapps.marcel.semantic.ast.expression
import com.tambapps.marcel.lexer.LexToken
import com.tambapps.marcel.semantic.type.JavaType
// must pass the actual superType
class SuperReferenceNode(type: JavaType, token: LexToken) :
AbstractExpressionNode(type, token) {
override fun <T> accept(visitor: Expr... | 0 | Java | 0 | 7 | 83bf3562f8bb6b43fe5d6f2e13c9ed5ad3300bce | 653 | marcel | Apache License 2.0 |
app/src/main/kotlin/io/armcha/ribble/domain/entity/Image.kt | armcha | 98,714,221 | false | null | package io.armcha.ribble.domain.entity
import android.annotation.SuppressLint
import android.os.Parcel
import android.os.Parcelable
import io.armcha.ribble.presentation.utils.extensions.emptyString
import kotlinx.android.parcel.Parcelize
/**
* Created by Chatikyan on 28.08.2017.
*/
@SuppressLint("ParcelCreator")
@P... | 6 | null | 120 | 879 | 815beaeb7c6c3f5d7d5c32aa60172372b2e5a844 | 490 | Ribble | Apache License 2.0 |
src/main/kotlin/uk/gov/justice/hmpps/offenderevents/config/OffenderEventsProperties.kt | ministryofjustice | 212,796,813 | false | {"Shell": 3, "Gradle Kotlin DSL": 2, "JSON": 3, "YAML": 14, "Dockerfile": 1, "Java Properties": 2, "Text": 2, "Ignore List": 1, "Batchfile": 1, "Markdown": 2, "INI": 1, "Kotlin": 44, "XML": 1, "HTML": 1, "Mustache": 1} | package uk.gov.justice.hmpps.offenderevents.config
import org.hibernate.validator.constraints.URL
import org.springframework.beans.factory.annotation.Value
import org.springframework.context.annotation.Configuration
import org.springframework.validation.annotation.Validated
@Configuration
@Validated
class OffenderEve... | 0 | Kotlin | 1 | 2 | 858ffc037354487575acf87c4abe7905de9ac487 | 490 | prison-offender-events | MIT License |
uast/uast-tests/test/org/jetbrains/uast/test/java/JavaUastCommentOwnersTest.kt | bmuskalla | 297,600,619 | true | null | // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.uast.test.java
import junit.framework.TestCase
import org.jetbrains.uast.*
import org.junit.Test
class JavaUastCommentOwnersTest : AbstractJavaUastTest() ... | 1 | null | 1 | 1 | c8c7fd7d9b5d530b364284fe4c6629ebc965f669 | 2,521 | intellij-community | Apache License 2.0 |
app/src/main/java/com/breadwallet/ui/launcher/LauncherViewModel.kt | bitkanda | 219,949,393 | false | {"Java": 1996548, "Kotlin": 326574, "Ruby": 2148, "HTML": 979} | /**
* BreadWallet
* <p/>
* Created by Pablo Budelli on <pablo.budelli@breadwallet.com> 5/16/19.
* Copyright (c) 2019 breadwallet LLC
* <p/>
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Soft... | 0 | Java | 0 | 1 | e69d7a2e3b7d3c4f37cb9242cf5fa8b465380630 | 1,776 | breadwallet-android | MIT License |
2022/Bookmarklet/RXWeb/src/main/kotlin/Main.kt | kyoya-p | 253,926,918 | false | {"Kotlin": 972544, "JavaScript": 86232, "HTML": 72159, "TypeScript": 64736, "Java": 30207, "C++": 29172, "CMake": 20891, "Dart": 14886, "Shell": 7841, "CSS": 6307, "Batchfile": 6227, "Dockerfile": 5012, "C": 3042, "Swift": 2246, "PowerShell": 234, "Objective-C": 78} | import jp.wjg.shokkaa.AesAlgorithmEncrypt
import jp.wjg.shokkaa.AesAlgorithmKeyGen
import jp.wjg.shokkaa.crypto
import kotlinx.browser.document
import kotlinx.browser.window
import kotlinx.coroutines.await
import org.w3c.fetch.CORS
import org.w3c.fetch.RequestInit
import org.w3c.fetch.RequestMode
const val cryptJs = ... | 16 | Kotlin | 1 | 2 | 362b42ac71f9cd24bbc3cfb06da9c0dfbbd0590a | 2,705 | samples | Apache License 2.0 |
plugins/maven/src/test/java/org/jetbrains/idea/maven/importing/DependenciesSubstitutionTest.kt | JetBrains | 2,489,216 | false | null | // Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.idea.maven.importing
import com.intellij.maven.testFramework.MavenMultiVersionImportingTestCase
import com.intellij.openapi.util.registry.... | 284 | null | 5162 | 16,707 | def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0 | 1,767 | intellij-community | Apache License 2.0 |
plugins/maven/src/test/java/org/jetbrains/idea/maven/importing/DependenciesSubstitutionTest.kt | JetBrains | 2,489,216 | false | null | // Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.idea.maven.importing
import com.intellij.maven.testFramework.MavenMultiVersionImportingTestCase
import com.intellij.openapi.util.registry.... | 284 | null | 5162 | 16,707 | def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0 | 1,767 | intellij-community | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.