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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
buildSrc/src/main/kotlin/io/embrace/gradle/InternalEmbracePlugin.kt | embrace-io | 704,537,857 | false | {"Kotlin": 3102378, "C": 189946, "Java": 179815, "C++": 13140, "CMake": 4188} | package io.embrace.gradle
import com.android.build.api.dsl.LibraryExtension
import io.gitlab.arturbosch.detekt.Detekt
import io.gitlab.arturbosch.detekt.DetektCreateBaselineTask
import io.gitlab.arturbosch.detekt.extensions.DetektExtension
import kotlinx.validation.ApiValidationExtension
import org.gradle.api.JavaVers... | 15 | Kotlin | 7 | 130 | e3ab4c793ce7fceae98cf82ff68d1ee6cd33a2c1 | 7,737 | embrace-android-sdk | Apache License 2.0 |
releases-hub-gradle-plugin/src/test/java/com/releaseshub/gradle/plugin/dependencies/BasicDependenciesExtractorTest.kt | dipien | 196,064,299 | false | {"Kotlin": 111095, "Shell": 2559, "HTML": 1750, "Java": 15} | package com.releaseshub.gradle.plugin.dependencies
import com.google.common.truth.Truth
import com.releaseshub.gradle.plugin.artifacts.ArtifactUpgrade
import com.releaseshub.gradle.plugin.common.ResourceUtils
import org.junit.Assert
import org.junit.Test
import java.io.File
class BasicDependenciesExtractorTest {
... | 27 | Kotlin | 7 | 151 | 92e5d7af431c81f5f3c6c7fa5fc0857b0f18a0e6 | 3,170 | releases-hub-gradle-plugin | Apache License 2.0 |
app/src/main/java/com/dede/nativetools/netspeed/utils/NetFormatter.kt | hushenghao | 242,718,110 | false | null | package com.dede.nativetools.netspeed.utils
import java.text.DecimalFormat
/**
* 字节数格式化工具
*
* Created by hsh on 2017/5/15 015 下午 05:14.
*/
object NetFormatter {
/**
* 精确等宽格式
*
* 888
* 88.8
* 8.88
*/
const val ACCURACY_EQUAL_WIDTH_EXACT = 1
/**
* 精确格式
*
... | 1 | Kotlin | 2 | 5 | f7550e37d20efe555914c0c2428a048b131a89aa | 2,819 | NativeTools | Apache License 2.0 |
app/src/main/java/com/example/universitysystem/adapters/LectureSelectionAdapter.kt | SabirHalil | 707,783,946 | false | {"Kotlin": 99226} | package com.example.universitysystem.adapters
import android.annotation.SuppressLint
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.core.content.ContextCompat
import androidx.recyclerview.widget.RecyclerView
import com.example.universitysystem.R
import com.example.universitysystem.dat... | 0 | Kotlin | 0 | 1 | 53a236db8ff589a5dc2824526ba2b98a90f2971d | 1,872 | University-System-Mobile-Kotlin | MIT License |
android/companionapp/src/main/java/com/benoitletondor/pixelminimalwatchfacecompanion/view/donation/DonationViewModel.kt | benoitletondor | 236,035,670 | false | null | /*
* Copyright 2022 <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 agre... | 13 | Kotlin | 35 | 161 | b52591c3f9f416864935664942f633d8ca71bac8 | 4,364 | PixelMinimalWatchFace | Apache License 2.0 |
survey/src/main/java/com.quickbirdstudios.surveykit/backend/views/questions/IntegerQuestionView.kt | QuickBirdEng | 208,727,886 | false | {"Kotlin": 246845, "Shell": 8542} | package com.quickbirdstudios.surveykit.backend.views.questions
import android.content.Context
import android.view.Gravity
import androidx.annotation.StringRes
import com.quickbirdstudios.surveykit.AnswerFormat
import com.quickbirdstudios.surveykit.R
import com.quickbirdstudios.surveykit.StepIdentifier
import com.quick... | 19 | Kotlin | 71 | 384 | 83cd95cc79db67fb96e642e84b815a4c8b5fb5ab | 2,915 | SurveyKit | MIT License |
app/server/src/main/jooq/io/github/novemdecillion/adapter/jooq/tables/FlywaySchemaHistoryTable.kt | novemdecillion | 332,666,905 | false | null | /*
* This file is generated by jOOQ.
*/
package io.github.novemdecillion.adapter.jooq.tables
import io.github.novemdecillion.adapter.jooq.DefaultSchema
import io.github.novemdecillion.adapter.jooq.indexes.FLYWAY_SCHEMA_HISTORY_S_IDX
import io.github.novemdecillion.adapter.jooq.keys.FLYWAY_SCHEMA_HISTORY_PK
import i... | 10 | Kotlin | 0 | 0 | ea259afd23a28ccf03aa7c5c6f35b932d2c22182 | 6,280 | magic-lantern | Apache License 2.0 |
android/src/main/kotlin/qiuxiang/android_window/WindowService.kt | qiuxiang | 412,021,747 | false | null | package qiuxiang.android_window
import android.app.Notification
import android.app.NotificationChannel
import android.app.NotificationManager
import android.content.Intent
import android.content.res.Configuration
import android.os.Build
import android.os.IBinder
import io.flutter.embedding.engine.FlutterEngine
import ... | 10 | Kotlin | 15 | 42 | c30187c88ede6fffe76b51482876170ddc6457c2 | 2,451 | flutter-android-window | MIT License |
sample-kotlin-koin/src/main/java/com/infullmobile/android/infullmvp/sample/mvpCardActivity/MvpCardActivity.kt | inFullMobile | 75,730,560 | false | null | package com.infullmobile.android.infullmvp.sample.mvpCardActivity
import com.infullmobile.android.infullmvp.InFullMvpActivity
import org.koin.android.ext.android.inject
import org.koin.core.parameter.parametersOf
class MvpCardActivity : InFullMvpActivity<MvpCardView, MvpCardPresenter>() {
override val presenter: ... | 7 | Kotlin | 5 | 11 | 2b25b5b957fff0c6bec89a5c6875b1870a152e3e | 448 | InfullMvpAndroid | MIT License |
src/main/kotlin/com/networkedassets/gherkin/runner/util/GherkinLoader.kt | NetworkedAssets | 120,890,153 | false | null | package com.networkedassets.gherkin.runner.util
import com.networkedassets.gherkin.runner.exception.InvalidTagsExpressionException
import com.networkedassets.gherkin.runner.gherkin.GherkinFeature
import com.networkedassets.gherkin.runner.gherkin.GherkinScenario
import gherkin.AstBuilder
import gherkin.Parser
import gh... | 3 | null | 4 | 7 | b57d6f90acd5183511aa988040d4f33ddcba5bdb | 3,547 | gherkin-runner | Apache License 2.0 |
app/src/main/kotlin/no/nav/tiltakspenger/vedtak/routes/HealthRoutes.kt | navikt | 487,246,438 | false | {"Kotlin": 1044388, "Shell": 1318, "Dockerfile": 495, "HTML": 45} | package no.nav.tiltakspenger.vedtak.routes
import io.ktor.server.response.respondText
import io.ktor.server.routing.Route
import io.ktor.server.routing.get
/** Disse skal være helt åpne. */
fun Route.healthRoutes() {
get("/isalive") {
call.respondText("ALIVE")
}
get("/isready") {
call.res... | 2 | Kotlin | 0 | 1 | e5295a1543d080919ecbada5e796e59baa089fa7 | 346 | tiltakspenger-vedtak | MIT License |
local/local/src/main/java/com/nimbusframework/nimbuslocal/deployment/webserver/LocalHttpServer.kt | thomasjallerton | 163,180,980 | false | null | package com.nimbusframework.nimbuslocal.deployment.webserver
import org.eclipse.jetty.server.Connector
import org.eclipse.jetty.server.Server
import org.eclipse.jetty.server.ServerConnector
class LocalHttpServer(val port: Int, handler: WebServerHandler) {
val handler = CorsPassThroughHandler(handler)
var ... | 3 | Kotlin | 5 | 38 | 789a9599d2388bde323feabc5896edc72d405198 | 901 | nimbus-framework | MIT License |
app/src/main/java/com/julianczaja/esp_monitoring_app/presentation/device/DeviceScreen.kt | julianczaja | 575,978,649 | false | {"Kotlin": 566150} | package com.julianczaja.esp_monitoring_app.presentation.device
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.pager.HorizontalPager
import androidx.compose.foundation.pager.rememberPagerState
import androidx.compose.material3.Ho... | 0 | Kotlin | 0 | 2 | 4a6eabdef30af464f39447b55cccee09d8a0d9ab | 4,288 | esp_monitoring_app | MIT License |
finiteDifference-examples/src/main/kotlin/io/improbable/swayze/examples/navierStokes/Burgers.kt | improbable-research | 131,702,951 | false | {"Kotlin": 70259, "Java": 11945} | package io.improbable.swayze.examples.navierStokes
import gnuPlotLib.*
import io.improbable.swayze.finiteDifference.*
import io.improbable.keanu.kotlin.ArithmeticDouble
/**
* In this example we implement and solve the Burgers' equation - handy because it contains the full convective
* nonlinearity of the flow equat... | 0 | Kotlin | 0 | 1 | 588e91097f86b3ebf7ccf11a167a188860c6dc5a | 2,280 | swayze | MIT License |
app/src/main/java/com/anafthdev/imdbmovie/data/MovieType.kt | kafri8889 | 423,406,173 | false | {"Kotlin": 167215} | package com.anafthdev.imdbmovie.data
/**
* MOST_POPULAR_MOVIE | BOX_OFFICE_MOVIE | TOP_250_MOVIE | MOVIE_INFORMATION
*/
enum class MovieType {
MOST_POPULAR_MOVIE,
BOX_OFFICE_MOVIE,
TOP_250_MOVIE,
MOVIE_INFORMATION
} | 0 | Kotlin | 0 | 9 | c568f460bb75c94cf52b088c0f79c5825a94ec57 | 228 | IMDb-Movie-App-Jetpack-Compose | Apache License 2.0 |
Application/app/src/main/java/com/droid/code/demos/application_receiver/ApplicationReceiverActivity.kt | devrath | 535,729,462 | false | {"Kotlin": 12041} | package com.droid.code.demos.application_receiver
import android.content.Intent
import android.content.IntentFilter
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.droid.code.databinding.ActivityDynamicRecieverBinding
import com.droid.code.demos.application_receiver.reciever.Applica... | 0 | Kotlin | 0 | 1 | 027f40d935a42b19e0ad57fbfe6002dedf6506a3 | 1,458 | droid-component-broadcastreciever | Apache License 2.0 |
src/main/kotlin/pl/jwizard/api/security/SecurityProperties.kt | jwizard-bot | 744,983,606 | false | {"Kotlin": 45083} | /*
* Copyright (c) 2024 by JWizard
* Originally developed by <NAME> <https://miloszgilga.pl>
*/
package pl.jwizard.api.security
import org.springframework.boot.context.properties.ConfigurationProperties
import org.springframework.context.annotation.Configuration
@Configuration
@ConfigurationProperties(prefix = "jw... | 0 | Kotlin | 0 | 0 | 4e006a26c0dfccf558426e66ab4c9f7c09aded47 | 854 | jwizard-api | Apache License 2.0 |
services/csm.cloud.project.api.timeseries/src/test/kotlin/com/bosch/pt/csm/cloud/projectmanagement/application/security/PatAuthenticationManagerTest.kt | boschglobal | 805,348,245 | false | {"Kotlin": 13156190, "HTML": 274761, "Go": 184388, "HCL": 158560, "Shell": 117666, "Java": 52634, "Python": 51306, "Dockerfile": 10348, "Vim Snippet": 3969, "CSS": 344} | /*
* ************************************************************************
*
* Copyright: <NAME> Power Tools GmbH, 2018 - 2023
*
* ************************************************************************
*/
package com.bosch.pt.csm.cloud.projectmanagement.application.security
import com.bosch.pt.csm.c... | 0 | Kotlin | 3 | 9 | 9f3e7c4b53821bdfc876531727e21961d2a4513d | 3,124 | bosch-pt-refinemysite-backend | Apache License 2.0 |
app/src/main/java/com/pillpals/pillpals/services/BootupReceiver.kt | pill-pals | 196,889,464 | false | {"Gradle": 3, "JSON": 2, "Java Properties": 2, "Markdown": 3, "Shell": 1, "JavaScript": 1, "Ignore List": 2, "Batchfile": 1, "Proguard": 1, "Kotlin": 65, "XML": 127, "Java": 6, "HTML": 1} | package com.pillpals.pillpals.services
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import com.pillpals.pillpals.data.model.Schedules
import com.pillpals.pillpals.helpers.DatabaseHelper
import com.pillpals.pillpals.helpers.NotificationUtils
import com.pillpals.p... | 11 | Kotlin | 1 | 1 | 01a4b1c786272d949c2fff466afbf1bf967d93fa | 680 | pillbuddies-android | MIT No Attribution |
explorer/explorer-device-android/src/main/java/com/tencent/iot/explorer/device/android/http/retrofit/request/GetRequest.kt | SundoggyNew | 625,740,627 | true | {"Java Properties": 4, "Gradle": 18, "Shell": 6, "Markdown": 215, "Batchfile": 1, "Text": 4, "Ignore List": 15, "INI": 6, "Proguard": 12, "Java": 366, "XML": 87, "GLSL": 4, "Kotlin": 28, "CMake": 4, "JSON": 23, "C++": 1, "AIDL": 10, "YAML": 3, "Public Key": 6} | package com.tencent.iot.explorer.device.android.http.retrofit.request
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.QueryMap
import retrofit2.http.Url
/**
* GET请求接口
*/
interface GetRequest {
@GET
fun get(@Url url: String): Call<String>
@GET
fun get(@Url url: String, @Query... | 0 | null | 0 | 0 | 1363c629d0d4d19df298ddb85af8db23ffe2d07b | 393 | iot-device-java | MIT License |
base/src/main/kotlin/com/bethibande/http/impl/http2/context/Http2RequestContext.kt | Bethibande | 646,437,650 | false | {"Kotlin": 91005} | package com.bethibande.http.impl.http2.context
import com.bethibande.http.impl.http2.Http2Connection
import com.bethibande.http.request.AbstractHttpHeader
import com.bethibande.http.request.HttpRequestContext
import io.netty.buffer.ByteBuf
import io.netty.handler.codec.Headers
import io.netty.handler.codec.http2.Defau... | 10 | Kotlin | 0 | 1 | 9c74a2df52a9fc2c756a900539ddc9c068e84855 | 1,401 | NettyHttpFramework | Apache License 2.0 |
app/src/main/java/com/gaugustini/shiny/data/repository/ArmorRepositoryImpl.kt | gaugustini | 695,659,583 | false | {"Kotlin": 65131} | package com.gaugustini.shiny.data.repository
import com.gaugustini.shiny.data.dao.ArmorDao
import com.gaugustini.shiny.data.mapper.toArmor
import com.gaugustini.shiny.domain.model.Armor
import com.gaugustini.shiny.domain.model.Query
import com.gaugustini.shiny.domain.repository.ArmorRepository
import com.gaugustini.sh... | 0 | Kotlin | 0 | 0 | eba84609c319f983b31b67cb7746bed8263d6463 | 2,003 | shiny | MIT License |
app/src/main/java/com/nhnextsoft/qrcode/initializer/CrashlyticsInitializer.kt | nts6920 | 497,127,126 | false | {"Kotlin": 227192, "Java": 3990} | package com.nhnextsoft.qrcode.initializer
import android.content.Context
import androidx.startup.Initializer
class CrashlyticsInitializer : Initializer<Unit> {
override fun create(context: Context) {
// FirebaseCrashlytics.getInstance().setCrashlyticsCollectionEnabled(!BuildConfig.DEBUG)
}
overri... | 0 | Kotlin | 0 | 0 | 9c114c13cb5c581b86bfb3eb0b20af432a93d62e | 390 | QrCode | Apache License 2.0 |
src/main/kotlin/br/com/zupacademy/giovanna/pix/cadastro/GerenciadorCadastroChavePix.kt | giovanna-bernardi | 383,793,280 | true | {"Kotlin": 112775, "Smarty": 1902, "Dockerfile": 154} | package br.com.zupacademy.giovanna.pix.cadastro
import br.com.zupacademy.giovanna.excecoes.ChavePixExistenteException
import br.com.zupacademy.giovanna.externos.bcb.BcbClient
import br.com.zupacademy.giovanna.externos.bcb.CreatePixKeyRequest
import br.com.zupacademy.giovanna.externos.itau.ErpItauClient
import br.com.z... | 0 | Kotlin | 0 | 0 | 646992b7e3bf4c27fd8989ce5d9e85909511a167 | 2,933 | orange-talents-05-template-pix-keymanager-grpc | Apache License 2.0 |
app/src/main/java/com/purplekraken/loadguard/NotificationControllerBase.kt | flimberger | 219,596,486 | false | null | /*
*
* * SPDX-License-Identifier: Apache-2.0
* *
* * Copyright 2019 <NAME> <<EMAIL>>
* *
* * Licensed under the Apache License, Version 2.0 (the "License");
* * you may not use this file except in compliance with the License.
* * You may obtain a copy of the License at
* *
* * http://www.apache.org/l... | 1 | Kotlin | 0 | 0 | 3819739f0c8b94890764efc34c2b5b27ae64ff3d | 2,214 | loadguard | Apache License 2.0 |
src/main/kotlin/com/anatawa12/decompileCrasher/core/Main.kt | anatawa12 | 165,655,076 | false | null | @file:JvmName("MainKt")
package com.anatawa12.decompileCrasher.core
import java.io.File
import java.util.*
import kotlin.system.exitProcess
/**
* Created by anatawa12 on 2018/09/08.
*/
val scanner = Scanner(System.`in`)
fun main(args: Array<String>) {
var runnerType: RunnerType? = null
var index = 0
... | 3 | Kotlin | 0 | 9 | 3f97414bb1b9a53f0832607033d326bfa2b0ebc4 | 5,826 | DecompileCrasher | MIT License |
sample/src/main/java/com/freeletics/coredux/PopularRepositoriesActivity.kt | freeletics | 154,348,495 | false | null | package com.freeletics.coredux
import android.app.Activity
import android.arch.lifecycle.Observer
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import com.freeletics.coredux.businesslogic.pagination.Action
import com.freeletics.coredux.util.viewModel
import io.reactivex.Observable
import io.... | 0 | Kotlin | 6 | 161 | 47127d6b56fbab24a4d00cce93f4ae1b992f581e | 1,983 | CoRedux | Apache License 2.0 |
enro/src/androidTest/java/dev/enro/core/fragment/FragmentDestinationPresentReplaceRoot.kt | isaac-udy | 256,179,010 | false | null | package dev.enro.core.fragment
import dev.enro.core.compose.ComposableDestination
import dev.enro.core.destinations.*
import org.junit.Test
class FragmentDestinationPresentReplaceRoot {
@Test
fun givenFragmentDestination_whenExecutingReplaceRoot_andTargetIsComposableDestination_thenCorrectDestinationIsOpened... | 13 | Kotlin | 13 | 217 | 84dbdbd4b6dda314629353b06db6491863431a91 | 2,038 | Enro | Apache License 2.0 |
cli/src/main/java/io/github/cdsap/comparescans/cli/output/CsvWriter.kt | cdsap | 818,394,985 | false | {"Kotlin": 60100} | package io.github.cdsap.compare2buildscans.output
import io.github.cdsap.comparescans.model.Entity
import io.github.cdsap.comparescans.model.MultipleBuildScanMetric
import io.github.cdsap.comparescans.model.TypeMetric
import io.github.cdsap.comparescans.rules.RuleMatched
import java.io.BufferedWriter
import java.io.Fi... | 1 | Kotlin | 0 | 13 | a32530c2741deb02abe5498802d099a5ae557b6d | 5,660 | CompareScans | MIT License |
src/day08/Day08.kt | gr4cza | 572,863,297 | false | {"Kotlin": 93944} | package day08
import readInput
private fun Array<Array<Int>>.checkLeft(column: Int, row: Int): Boolean {
val selectedColumns = (0 until column).map {
this[row][it]
}
return selectedColumns.any { it >= this[row][column] }.not()
}
private fun Array<Array<Int>>.checkRight(column: Int, row: Int): Bo... | 0 | Kotlin | 0 | 0 | ceca4b99e562b4d8d3179c0a4b3856800fc6fe27 | 3,447 | advent-of-code-kotlin-2022 | Apache License 2.0 |
core/src/androidMain/kotlin/AndroidPeripheral.kt | JuulLabs | 293,227,216 | false | null | package com.juul.kable
import kotlinx.coroutines.flow.StateFlow
public interface AndroidPeripheral : Peripheral {
public fun requestConnectionPriority(priority: Priority): Boolean
/**
* Requests that the current connection's MTU be changed. Suspends until the MTU changes, or failure occurs. The
* ... | 34 | Kotlin | 61 | 528 | daf79f53677a984d2ed0b9c1c4cddadabb704094 | 1,102 | kable | Apache License 2.0 |
douban_android/src/main/java/com/movies/douban/interceptors/DoubanInterceptor.kt | chenshige | 152,017,908 | false | null | package com.movies.douban.interceptors
import com.movies.douban.Douban.Companion.API_KEY
import com.movies.douban.Douban.Companion.API_KEY_PARAM
import okhttp3.Interceptor
import okhttp3.Response
/**
* @author donnieSky
* @created_at 2018/9/3.
* @description
* @version
*/
class DoubanInterceptor : Interceptor {
... | 0 | Kotlin | 1 | 0 | d4d4d898b334aa29a1943728673e5549ddc58766 | 680 | Digging | MIT License |
vector/src/main/java/im/vector/app/ext/data/model/QueryFilter.kt | huy22091999 | 542,926,323 | false | {"Kotlin": 9903484, "Java": 166049, "HTML": 24691, "Shell": 23527, "Python": 17848, "FreeMarker": 7722, "JavaScript": 1782} | package im.vector.app.ext.data.model
import com.google.gson.annotations.SerializedName
data class QueryFilter(
@SerializedName("pageIndex")
val pageIndex: Int? = 1,
@SerializedName("pageSize")
val pageSize: Int? = 10,
@SerializedName("text")
val keyword: String? = null
) {
override fun ... | 0 | Kotlin | 0 | 0 | 9255297220ad63fef367b2c8b1a1065ad5241c92 | 381 | edoctor_OCT | Apache License 2.0 |
app/src/main/java/com/irancell/nwg/ios/data/remote/response/audit/Name.kt | afshin1394 | 755,443,887 | false | {"Kotlin": 803604} | package com.irancell.nwg.ios.data.remote.response.audit
import android.os.Parcelable
import com.google.gson.annotations.Expose
import com.google.gson.annotations.SerializedName
import kotlinx.parcelize.Parcelize
@Parcelize
data class Name(
@SerializedName("name_fa")
@Expose
var persian: String? = null,
... | 0 | Kotlin | 0 | 0 | 23a544780da643c4fa190bbe48d3bd9aa5673d88 | 412 | Audit | MIT License |
sample/src/main/kotlin/com/getcatch/sample/App.kt | getcatch | 527,652,112 | false | {"Kotlin": 314904, "HTML": 511, "Shell": 441} | package com.getcatch.sample
import android.app.Application
import com.getcatch.android.Catch
import com.getcatch.android.CatchOptions
import com.getcatch.android.network.Environment
import dagger.hilt.android.HiltAndroidApp
@HiltAndroidApp
class App : Application() {
override fun onCreate() {
super.onCrea... | 2 | Kotlin | 0 | 1 | d0638436dfc233593ce13171cb279629b2b799ad | 588 | catch-android-sdk | MIT License |
src/main/kotlin/com/github/frozencure/helix/extensions/ExtensionService.kt | frozencure | 253,615,832 | false | null | package com.github.frozencure.helix.extensions
import com.github.frozencure.helix.auth.model.AuthCredentials
import com.github.frozencure.helix.exceptions.BadRequestException
import com.github.frozencure.helix.extensions.model.transaction.ExtensionTransaction
import com.github.frozencure.helix.http.ResourceService
imp... | 3 | Kotlin | 3 | 17 | 285d49ad2ddf19f8ba2d0973ca17a40168fac914 | 2,690 | twitch-client | MIT License |
app/src/main/java/com/hansung/sherpa/ui/preference/calendar/ScheduleModalSheetOption.kt | KJH0506 | 792,786,312 | false | {"Kotlin": 827793} | package com.hansung.sherpa.ui.preference.calendar
enum class ScheduleModalSheetOption {
ADD,
EDIT
} | 0 | Kotlin | 3 | 0 | f29a26ff0a1622f371fa43f480e5cf9a9d741439 | 108 | Naver_Navi_TeamProject | Apache License 2.0 |
content/src/main/kotlin/com/alfresco/content/models/PathElement.kt | Alfresco | 243,303,915 | false | null | /**
* NOTE: This class is auto generated by the Swagger Gradle Codegen for the following API: Alfresco Content Services REST API
*
* More info on this tool is available on https://github.com/Yelp/swagger-gradle-codegen
*/
package com.alfresco.content.models
import com.squareup.moshi.Json
import com.squareup.moshi... | 0 | Kotlin | 2 | 2 | a96507e3e60e88b70d04be53c7f66d2d662f24fb | 826 | alfresco-android-kotlin-api | Apache License 2.0 |
feature/image-stitch/src/main/java/com/t8rin/imagetoolboxlite/feature/image_stitch/domain/StitchMode.kt | T8RIN | 767,600,774 | false | null | /*
* ImageToolbox is an image editor for android
* Copyright (c) 2024 T8RIN (Malik Mukhametzyanov)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Unless required by applicable law or agreed to in writing, software
* dist... | 5 | null | 176 | 8 | f8fe322c2bde32544e207b49a01cfeac92c187ce | 1,322 | ImageToolboxLite | Apache License 2.0 |
app/src/test/java/com/reggar/summvvm/BaseTest.kt | REggar | 104,240,136 | false | null | package com.reggar.summvvm
import android.support.annotation.CallSuper
import org.junit.Before
import org.mockito.MockitoAnnotations
open class BaseTest {
@CallSuper
@Before
open fun setUp() {
MockitoAnnotations.initMocks(this)
}
}
| 0 | Kotlin | 0 | 1 | 0e04fc95457ba9cb2dc5c944fe803e80759a6a6f | 258 | SumMVVM | Apache License 2.0 |
lib/src/main/kotlin/com/konigsoftware/decimal/KonigDecimalScale.kt | konigsoftware | 710,058,752 | false | {"Kotlin": 63329} | package com.konigsoftware.decimal
import java.math.BigDecimal
import java.math.RoundingMode
import java.math.RoundingMode.HALF_EVEN
/**
* Represents the scale of a KonigDecimal. Scale is defined as the total number of digits to the right of the decimal point.
* For example, the number `1.123456` has a scale of `6`,... | 5 | Kotlin | 0 | 2 | 318a895087d4235ed21d01f568fe116ba8aab389 | 2,197 | konig-decimal | MIT License |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/bold/ShareAltSquare.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.bold
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter
im... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 3,765 | icons | MIT License |
core-database/src/main/kotlin/io/getstream/avengerschat/core/database/entity/mapper/AvengerEntityMapper.kt | GetStream | 420,033,848 | false | {"Kotlin": 143313} | /*
* Copyright 2022 Stream.IO, Inc. All Rights Reserved.
*
* 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... | 1 | Kotlin | 37 | 364 | d712bf44d89fa342d65dc4e8b81f9aa955a9f1ce | 1,671 | AvengersChat | Apache License 2.0 |
couchbase-lite/src/jvmCommonMain/kotlin/kotbase/ReplicatorStatus.jvmCommon.kt | jeffdgr8 | 518,984,559 | false | {"Kotlin": 2289925, "Python": 294} | /*
* Copyright 2022-2023 Jeff Lockhart
*
* 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 | 7 | 188723bf0c4609b649d157988de44ac140e431dd | 1,194 | kotbase | Apache License 2.0 |
app/src/main/java/dev/esnault/bunpyro/android/display/notification/INotificationService.kt | esnaultdev | 242,479,002 | false | null | package dev.esnault.bunpyro.android.display.notification
interface INotificationService {
// region Sync
fun buildSyncNotification(): NotificationWithId
fun hideSyncNotification()
// endregion
// region Reviews
fun showReviewsNotification(count: Int)
fun hideReviewsNotification()
... | 2 | Kotlin | 1 | 9 | 89b3c7dad2c37c22648c26500016d6503d27019e | 429 | BunPyro | Intel Open Source License |
Checkbox/Checkbox.kt | KieuApps | 558,096,830 | false | {"Kotlin": 116129} | import androidx.compose.material3.Checkbox
import androidx.compose.material3.CheckboxDefaults
import androidx.compose.material3.MaterialTheme
import androidx.compose.runtime.Composable
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.saveable.rememb... | 0 | Kotlin | 1 | 1 | 6c5880d59c8f3b0e6e80c12547922cf67668cd7a | 945 | Material_3_Github_Examples | MIT License |
android/domain/src/main/java/co/nimblehq/smsforwarder/domain/usecase/NotifyNewIncomingSmsUseCase.kt | nimblehq | 367,302,182 | false | null | package co.nimblehq.smsforwarder.domain.usecase
import co.nimblehq.smsforwarder.domain.data.IncomingSmsEntity
import co.nimblehq.smsforwarder.domain.data.error.DataError.GetDataError
import co.nimblehq.smsforwarder.domain.persistence.IncomingSmsPersistence
import co.nimblehq.smsforwarder.domain.schedulers.BaseSchedule... | 15 | Kotlin | 0 | 7 | 39bd275698276f531b8fde4030785c2bad55c83b | 1,097 | sms-forwarder | MIT License |
app/src/main/java/com/fluffydevs/journeybeacon/data/login/LoginRequestBody.kt | BisiPaul | 639,972,897 | false | null | package com.fluffydevs.journeybeacon.data.login
data class LoginRequestBody(
val email: String,
val userId: String,
val idToken: String,
val displayName: String
) | 0 | Kotlin | 0 | 0 | 30709d024b55b049846ddc90fbc9af5a3d5ca0b4 | 179 | JourneyBeaconAndroid | MIT License |
app/src/main/java/com/fluffydevs/journeybeacon/data/login/LoginRequestBody.kt | BisiPaul | 639,972,897 | false | null | package com.fluffydevs.journeybeacon.data.login
data class LoginRequestBody(
val email: String,
val userId: String,
val idToken: String,
val displayName: String
) | 0 | Kotlin | 0 | 0 | 30709d024b55b049846ddc90fbc9af5a3d5ca0b4 | 179 | JourneyBeaconAndroid | MIT License |
src/test/kotlin/com/tfowl/cosmobuzz/fakes/FakeCosmoSocketFactory.kt | T-Fowl | 403,921,630 | false | {"Kotlin": 18884} | package com.tfowl.cosmobuzz.fakes
import com.tfowl.cosmobuzz.CosmoSocket
import com.tfowl.cosmobuzz.CosmoSocketFactory
class FakeCosmoSocketFactory(val socket: FakeCosmoSocket) : CosmoSocketFactory {
override suspend fun create(): CosmoSocket {
return socket
}
} | 9 | Kotlin | 0 | 0 | 5134a9a101788eb0a94624dfc02e83600abcfdc6 | 280 | cosmobuzz-client-kotlin | MIT License |
kotest-core/src/jsMain/kotlin/io/kotest/core/test/timeout.kt | nagellack5C | 235,292,077 | true | {"Kotlin": 1862796, "HTML": 423, "Java": 153, "Shell": 125} | package io.kotest.core.test
import io.kotest.core.config.Project
import kotlin.time.Duration
import kotlin.time.ExperimentalTime
| 0 | null | 0 | 0 | 6c3b7967ec7c9d7604d237a8cf37fb023ab46f09 | 130 | kotlintest | Apache License 2.0 |
app/src/main/java/com/meksconway/covid/viewmodel/Input.kt | meksconways | 256,483,114 | false | null | package com.meksconway.covid.viewmodel
interface Input | 0 | Kotlin | 1 | 2 | 8feaacf6dc251b6359c19113e2dd0e2f05575d8d | 55 | Covid-19-Android | MIT License |
android/app/src/main/kotlin/com/radhe/flutter_git_hook/MainActivity.kt | RadheshyamSingh | 297,699,609 | false | {"Dart": 2623, "Shell": 784, "Swift": 404, "Kotlin": 131, "Objective-C": 38} | package com.radhe.flutter_git_hook
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 0 | 0 | d253e259fb33d6baae3a115519d268fb9ea893e5 | 131 | gitHookFlutter | Apache License 2.0 |
src/main/kotlin/org/cdb/homunculus/controller/StorageController.kt | CodeDrillBrigade | 714,769,385 | false | {"Kotlin": 122651, "Dockerfile": 336} | package org.cdb.homunculus.controller
import io.ktor.server.application.*
import io.ktor.server.request.*
import io.ktor.server.response.*
import io.ktor.server.routing.*
import kotlinx.coroutines.flow.toList
import org.cdb.homunculus.logic.StorageLogic
import org.cdb.homunculus.models.StorageRoom
import org.cdb.homun... | 0 | Kotlin | 0 | 0 | 64aa91cd4513b17ace0e3fe833a11f9a715e4712 | 4,157 | Homunculus | MIT License |
aws-lambdas/base/src/main/kotlin/com/bkahlert/aws/lambda/APIGatewayProxyResponseEvents.kt | bkahlert | 439,967,726 | false | {"Kotlin": 1770181, "CSS": 20318, "JavaScript": 11584, "Shell": 6384, "HTML": 2857, "SCSS": 588} | package com.bkahlert.aws.lambda
import com.amazonaws.services.lambda.runtime.Context
import com.amazonaws.services.lambda.runtime.events.APIGatewayProxyResponseEvent
import kotlinx.serialization.encodeToString
import kotlinx.serialization.json.Json
import kotlinx.serialization.json.JsonArray
import kotlinx.serializati... | 0 | Kotlin | 0 | 0 | 0bb812cafe5256fe793cdfbfd8ec00dde0b4c084 | 5,412 | hello | MIT License |
testcaller/src/main/kotlin/pers/shawxingkwok/test/server/ManualApiImpl.kt | ShawxingKwok | 702,423,277 | false | {"Kotlin": 122297} | package pers.shawxingkwok.test.server
import io.ktor.server.application.*
import io.ktor.server.request.*
import io.ktor.server.response.*
object ManualApiImpl : Phone.ManualApi {
override suspend fun directGet(): CommonConnector<Long> = {
1
}
override suspend fun exchange(id: String): CommonCo... | 0 | Kotlin | 0 | 0 | 402c4c6c351bb743736a6fb50724a177be6dc95e | 645 | Phone | Apache License 2.0 |
import-export/domain/src/main/kotlin/studio/lunabee/onesafe/importexport/model/SafeAutoBackupEnabled.kt | LunabeeStudio | 624,544,471 | false | {"Kotlin": 3214461, "Java": 11987, "Python": 3979} | /*
* Copyright (c) 2024 Lunabee Studio
*
* 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 agree... | 1 | Kotlin | 1 | 2 | 4d6199939c91e0d6d31aa5328549a3ac442d046a | 918 | oneSafe6_SDK_Android | Apache License 2.0 |
application/src/main/java/org/zhiwei/app/AppActivity.kt | iOrchid | 224,837,266 | false | {"Kotlin": 30034} | package org.zhiwei.app
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import org.zhiwei.application.R
/**
* 作者: 志威 zhiwei.org
* 主页: Github: https://github.com/zhiwei1990
* 日期: 2019年12月02日 9:43
* 签名: 天行健,君子以自强不息;地势坤,君子以厚德载物。
* _ _ _ _ ____ _ ... | 0 | Kotlin | 4 | 3 | a81138e57b31551251a6df4a90861b63d1e00512 | 1,012 | ApiDemos | Apache License 2.0 |
plugin/buildSrc/src/main/kotlin/embeddable.kt | facebookresearch | 498,810,868 | false | null | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
@file:Suppress("unused") // usages in build scripts are not tracked properly
import com.github.jengelman.gradle.plugins.shadow.t... | 15 | Kotlin | 2 | 8 | b80b7484b8f1033fbef3e76a401b7a0237a35e05 | 1,468 | shapekt | MIT License |
anthropic-sdk-kotlin-demo-jvm/src/main/kotlin/Demo02Streaming.kt | xemantic | 865,480,026 | false | {"Kotlin": 8370, "Java": 295} | package com.xemantic.anthropic.demo
import com.xemantic.anthropic.Anthropic
import com.xemantic.anthropic.event.ContentBlockDeltaEvent
import com.xemantic.anthropic.event.Delta
import com.xemantic.anthropic.message.Message
import kotlinx.coroutines.flow.filterIsInstance
import kotlinx.coroutines.flow.map
import kotlin... | 0 | Kotlin | 0 | 0 | 0f369b0b0a89017f44d8418e6e4f6bb495ddc948 | 623 | anthropic-sdk-kotlin-demo | MIT License |
app/src/main/java/se/kruskakli/nso/data/packages/NsoPackages.kt | etnt | 751,577,496 | false | {"Kotlin": 182621} | package se.kruskakli.nso.data.packages
import com.squareup.moshi.Json
data class NsoPackages(
@Json(name = "tailf-ncs:packages") val tailfNcsPackages: TailfNcsPackages
) | 0 | Kotlin | 0 | 0 | b4e8a04ac1ce5feeb375269c7062714ac6421a7c | 175 | Nso-Mobile | Apache License 2.0 |
shared/src/commonMain/kotlin/ru/akella/cryptocoin/data/api/Consts.kt | akella266 | 651,284,444 | false | null | package ru.akella.cryptocoin.data.api
val BASE_URL = "https://pro-api.coinmarketcap.com"
data class Sort(
val direction: SortDirection,
val field: String,
)
enum class SortDirection {
ASC, DESC
} | 0 | Kotlin | 0 | 0 | b89141c29e6bb805267e7ab40383be1acbbc2c8e | 210 | CryptoCoin | Apache License 2.0 |
core/src/main/java/com/oscarg798/amiibowiki/core/usecases/UpdateAmiiboTypeUseCase.kt | oscarg798 | 275,942,605 | false | null | /*
* Copyright 2020 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, subl... | 0 | Kotlin | 3 | 10 | e3f7f3f97af3ffb4998a3e8d4cb2144c82a5221c | 1,660 | AmiiboWiki | MIT License |
src/main/kotlin/me/sudodios/codewalker/ui/components/CustomModifiers.kt | SudoDios | 758,517,419 | false | {"Rust": 163883, "Kotlin": 133069} | package me.sudodios.codewalker.ui.components
import androidx.compose.foundation.ScrollState
import androidx.compose.foundation.clickable
import androidx.compose.foundation.interaction.MutableInteractionSource
import androidx.compose.runtime.Composable
import androidx.compose.runtime.remember
import androidx.compose.ru... | 0 | Rust | 0 | 0 | c844d54b44c16b2fae7ad67bce82182cd815fe43 | 5,250 | CodeWalker | Apache License 2.0 |
app/src/main/java/com/creepersan/switchhost/bean/WelcomeItem.kt | CreeperSan | 216,014,973 | false | null | package com.creepersan.switchhost.bean
import android.graphics.Color
import androidx.annotation.ColorInt
import com.creepersan.switchhost.manager.SizeManager
data class WelcomeItem(
var img : Int = 0,
var hintString : String = "",
var hintStringSizeSP : Float = 14f,
@ColorInt var hintStringColor : Int... | 0 | Kotlin | 0 | 4 | 103fee3880a9544d46c460fa0312b9cefd32e349 | 419 | SwitchHost-Android | Apache License 2.0 |
app/src/main/java/com/routinely/routinely/task/addTaskModule.kt | RoutinelyOrganization | 609,263,361 | false | {"Kotlin": 211801} | package com.routinely.routinely.task
import org.koin.androidx.viewmodel.dsl.viewModel
import org.koin.dsl.module
val addTaskModule = module {
viewModel<AddTaskViewModel> {
AddTaskViewModel(get(), get())
}
} | 18 | Kotlin | 1 | 3 | a68ef34e40be46351fb2f66cfa793a376b6347ba | 224 | routinely-mobile | MIT License |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/lambda/CfnAliasAliasRoutingConfigurationPropertyDsl.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 70198112} | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package io.cloudshiftdev.awscdkdsl.services.lambda
import io.cloudshiftdev.awscdkdsl.common.CdkDslMar... | 4 | Kotlin | 0 | 3 | 256ad92aebe2bcf9a4160089a02c76809dbbedba | 2,733 | awscdk-dsl-kotlin | Apache License 2.0 |
app/src/test/java/cz/fontan/gomoku_gui/game/GameTest.kt | Hexik | 369,313,533 | false | {"C++": 723092, "Kotlin": 72860, "CMake": 6436, "Java": 598} | package cz.fontan.gomoku_gui.game
import org.junit.Test
class GameTest {
@Test
fun empty() {
val game = Game(BOARD_SIZE_MAX)
assert(game.moveCount() == 0)
assert(game.playerToMove == EnumMove.Black)
assert(game.canMakeMove(Move(0, 0)))
assert(game.canMakeMove(Move(BOARD... | 0 | C++ | 1 | 2 | 36940e0d5390cc8ca91370535993ee278ec6a288 | 6,016 | Gomoku_GUI | MIT License |
app/src/main/java/com/ei1039_1048/notesapp/ui/note/NoteItem.kt | matey97 | 658,761,056 | false | {"Kotlin": 45629} | package com.ei1039_1048.notesapp.ui.note
import androidx.compose.animation.animateContentSize
import androidx.compose.animation.core.Spring
import androidx.compose.animation.core.spring
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.founda... | 0 | Kotlin | 0 | 0 | 5838e45c83545ad9e71cf6602a64f02dd41492d4 | 4,704 | NotesAppAndroid | Apache License 2.0 |
Android/app/src/main/java/ru/alexskvortsov/policlinic/domain/states/registry/RegistryProfilePartialState.kt | AlexSkvor | 244,438,301 | false | null | package ru.alexskvortsov.policlinic.domain.states.registry
sealed class RegistryProfilePartialState(val log: String) {
object PersonSaved: RegistryProfilePartialState("PersonSaved")
data class Loading(val flag: Boolean) : RegistryProfilePartialState("Loading $flag")
data class Error(val e: Throwable) : R... | 0 | Kotlin | 0 | 0 | 5cc6a10a1399ee08643e69308afd4626938882b0 | 1,043 | polyclinic | Apache License 2.0 |
app/src/main/java/com/wahibhaq/locationservicelivedata/MainViewModel.kt | KI-labs | 135,055,942 | false | null | package com.wahibhaq.locationservicelivedata
import android.Manifest
import android.app.Application
import android.app.NotificationManager
import android.arch.lifecycle.AndroidViewModel
import android.content.Context
import android.content.Intent
class MainViewModel(application: Application) : AndroidViewModel(appli... | 13 | Kotlin | 10 | 39 | cbbd7608810b4a3bba3d99474ba67316d0460600 | 1,078 | gps-permission-checks-livedata | MIT License |
virtualjoystick/src/main/java/com/yoimerdr/android/virtualjoystick/exceptions/InvalidControlPositionException.kt | yoimerdr | 752,392,779 | false | {"Kotlin": 112504, "CSS": 2645} | package com.yoimerdr.android.virtualjoystick.exceptions
/**
* Represents an invalid control position exception.
* It is usually thrown when one of the x or y coordinates is negative.
*/
class InvalidControlPositionException(
message: String?
) : Exception(message) {
constructor() : this("None of the coordi... | 0 | Kotlin | 0 | 0 | 1ede27026dae3058a37b52ce6fc91272441fb601 | 370 | AndroidVirtualJoystick | Apache License 2.0 |
components/faphub/installation/queue/impl/src/main/java/com/flipperdevices/faphub/installation/queue/impl/model/FapInternalQueueState.kt | flipperdevices | 288,258,832 | false | {"Kotlin": 2760721, "FreeMarker": 10084, "CMake": 1780, "C++": 1152, "Fluent": 21} | package com.flipperdevices.faphub.installation.queue.impl.model
import com.flipperdevices.faphub.installation.queue.api.model.FapActionRequest
import com.flipperdevices.faphub.installation.queue.api.model.FapQueueState
sealed class FapInternalQueueState {
abstract val request: FapActionRequest
data class Sch... | 13 | Kotlin | 131 | 999 | ef27b6b6a78a59b603ac858de2c88f75b743f432 | 1,046 | Flipper-Android-App | MIT License |
app/src/main/java/cbedoy/stateshopapp/dto/PokeProductResponse.kt | cbedoy | 339,294,675 | false | null | package cbedoy.stateshopapp.dto
import com.google.gson.annotations.SerializedName
data class PokeProductResponse(
val results: List<PokeProductResponseItem> = emptyList()
)
data class PokeProductResponseItem(
val name: String = "",
val url: String = ""
)
data class PokeItemResponse(
... | 0 | Kotlin | 0 | 0 | 69711c937fd59b547fbb9521dec104f60b963994 | 1,269 | StateShopApp | MIT License |
src/main/kotlin/no/nav/syfo/pdl/redis/PdlPersonRedisModel.kt | navikt | 375,347,237 | false | null | package no.nav.syfo.pdl.redis
import no.nav.syfo.pdl.model.Navn
import no.nav.syfo.pdl.model.PdlPerson
data class PdlPersonRedisModel(
val navn: NavnRedisModel,
val fnr: String,
val aktorId: String
)
data class NavnRedisModel(
val fornavn: String,
val mellomnavn: String?,
val etternavn: Strin... | 1 | Kotlin | 6 | 0 | ecbdb6d3e12629090107606dca2af2c34e9ea257 | 818 | narmesteleder | MIT License |
src/main/kotlin/MobUnitLogic.kt | argcc | 777,572,651 | false | {"Kotlin": 545918} | package org.example
class MobUnitLogic(obj: MobNode? = null, li: UnitLogic) : MobNode(obj) {
var logic_info: UnitLogic = li
override fun ReadNodeData() {
when (node_type_id) {
0xbbbd0000u -> {
logic_info.points.add(GuartPt())
logic_info.points.last().positi... | 0 | Kotlin | 0 | 0 | 9e207ca143dfccbd9d5341bbf9df00fa96bfd4d9 | 2,142 | ei_reverse_consp | MIT License |
automotive/src/main/java/com/volvocars/wearablemonitor/domain/usecase/SetPreferenceFromServerStatus.kt | volvo-cars | 309,467,507 | false | {"Kotlin": 127151, "HTML": 36742} | package com.volvocars.wearablemonitor.domain.usecase
import com.volvocars.wearablemonitor.domain.model.ServerStatus
import com.volvocars.wearablemonitor.domain.repository.PreferenceRepository
import javax.inject.Inject
class SetPreferenceFromServerStatus @Inject constructor(
private val repository: PreferenceRepo... | 0 | Kotlin | 0 | 6 | 78ef44a021208c4b1f6f181511d1e79d97648233 | 455 | sample-android-automotive-wearable-monitoring | Apache License 2.0 |
compiler/testData/compileKotlinAgainstKotlin/constructorWithInlineClassParametersInBinaryDependenciesOldMangling.kt | cortinico | 282,973,729 | true | null | // TARGET_BACKEND: JVM
// !LANGUAGE: +InlineClasses
// FILE: A.kt
// KOTLIN_CONFIGURATION_FLAGS: +JVM.USE_OLD_INLINE_CLASSES_MANGLING_SCHEME
package lib
inline class S(val string: String)
class Test(val s: S)
// FILE: B.kt
import lib.*
fun box() = Test(S("OK")).s.string | 0 | null | 0 | 1 | 2fce6a4af9044de7975392474a6eb3b8c3985bd5 | 274 | kotlin | Apache License 2.0 |
core/src/main/kotlin/org.rscarela.security.reactive.pendragon.core/credentials/UserCredentials.kt | rscarela | 879,027,195 | false | {"Kotlin": 25169} | package org.rscarela.security.reactive.pendragon.core.credentials
import java.io.Serializable
interface UserCredentials : Serializable {
/**
* @return username required for authentication.
*/
fun getUsername(): String
/**
* @return password required for authentication.
*/
fun get... | 0 | Kotlin | 0 | 0 | 1b472cdc7f8273bb4cbfd2366b407d09bc64e8df | 341 | pendragon-reactive | Apache License 2.0 |
fontawesome/src/de/msrd0/fontawesome/icons/FA_X_RAY.kt | msrd0 | 363,665,023 | false | null | /* @generated
*
* This file is part of the FontAwesome Kotlin library.
* https://github.com/msrd0/fontawesome-kt
*
* This library is not affiliated with FontAwesome.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may... | 0 | Kotlin | 0 | 0 | 2fc4755051325e730e9d012c9dfe94f5ea800fdd | 1,987 | fontawesome-kt | Apache License 2.0 |
app/src/main/java/com/example/mycookbook/di/MainModule.kt | LucasMelll0 | 511,222,971 | false | {"Kotlin": 34085} | package com.example.mycookbook.di
import com.example.mycookbook.database.AppDataBase
import com.example.mycookbook.repository.ReceitaRepository
import com.example.mycookbook.ui.viewmodel.ReceitaViewModel
import org.koin.android.ext.koin.androidContext
import org.koin.androidx.viewmodel.dsl.viewModel
import org.koin.ds... | 0 | Kotlin | 0 | 2 | 39e0a54398d7990cc2b8713df121749ff851d351 | 570 | MyCookBook-With-Kotlin | Apache License 2.0 |
MyApplication/app/src/main/java/com/example/myapplication/activity/LoginActivity.kt | Roba42 | 636,406,586 | false | null | package com.example.myapplication.activity
| 13 | Kotlin | 0 | 1 | 3a46224bc0e1d8e31d072402b2a2c5cd2d7dff72 | 44 | MoCo_SS23_FootPrintHero | MIT License |
app/src/main/kotlin/io/dolphin/move/android/features/messages/presentation/messages/MessagesViewModel.kt | dolphin-technologies | 603,088,245 | false | {"Kotlin": 624279} | package io.dolphin.move.android.features.messages.presentation.messages
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.viewModelScope
import dagger.hilt.android.lifecycle.HiltViewModel
import io.dolphin.move.android.basepresentation.BaseViewModel
import io.dolphin.move.android.basepresentation.com... | 1 | Kotlin | 0 | 0 | 519ff6e880104ad50770d2b9bf0ac6320eeaaa67 | 2,802 | MOVE-App-Android | Apache License 2.0 |
services/csm.cloud.project.project/src/test/kotlin/com/bosch/pt/iot/smartsite/project/message/shared/model/MessageBuilder.kt | boschglobal | 805,348,245 | false | {"Kotlin": 13156190, "HTML": 274761, "Go": 184388, "HCL": 158560, "Shell": 117666, "Java": 52634, "Python": 51306, "Dockerfile": 10348, "Vim Snippet": 3969, "CSS": 344} | /*
* ************************************************************************
*
* Copyright: <NAME> Power Tools GmbH, 2018 - 2024
*
* ************************************************************************
*/
package com.bosch.pt.iot.smartsite.project.message.shared.model
import com.bosch.pt.iot.smartsi... | 0 | Kotlin | 3 | 9 | 9f3e7c4b53821bdfc876531727e21961d2a4513d | 3,481 | bosch-pt-refinemysite-backend | Apache License 2.0 |
src/test/kotlin/uk/gov/justice/digital/hmpps/hmppsactivitiesmanagementapi/service/events/handlers/OffenderMergedEventHandlerTest.kt | ministryofjustice | 533,838,017 | false | {"Kotlin": 3614888, "Shell": 8572, "Dockerfile": 1478} | package uk.gov.justice.digital.hmpps.hmppsactivitiesmanagementapi.service.events.handlers
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.Test
import org.mockito.kotlin.any
import org.mockito.kotlin.doReturn
import org.mockito.kotlin.inOrder
import org.mockito.kotlin.mock
import org.mockito.kotlin... | 3 | Kotlin | 0 | 1 | c4fc5a7966d71151d2d2257c4063c91d195364aa | 7,849 | hmpps-activities-management-api | MIT License |
alert/src/main/java/com/hymnal/alert/Custom.kt | Hymn-Qin | 215,482,049 | false | null | package com.hymnal.alert
import android.content.DialogInterface
import android.content.res.Configuration
import android.os.Bundle
import android.support.v4.app.DialogFragment
import android.view.*
import android.widget.LinearLayout
import org.jetbrains.anko.*
import org.jetbrains.anko.support.v4.UI
internal class Cus... | 0 | Kotlin | 0 | 0 | 6b6232ee99d0cb5f8c6fd11a77448a4b17af06c6 | 5,424 | alert | Apache License 2.0 |
presentation/src/main/java/com/yapp/buddycon/presentation/ui/login/KaKaoLoginViewModel.kt | YAPP-Github | 561,172,522 | false | null | package com.yapp.buddycon.presentation.ui.login
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.yapp.buddycon.domain.model.UserInfo
import com.yapp.buddycon.domain.usecase.login.GetUserInfoUseCase
import com.yapp.buddycon.domain.usecase.token.SaveTokenUseCase
import dagger.hilt.... | 33 | Kotlin | 0 | 8 | dcd6324f1c313a2af05b328ea21673b096caca51 | 2,404 | 21st-Android-Team-1-Android | Apache License 2.0 |
app/src/main/java/com/example/instabus/stations/StationsListActivity.kt | Dramaix | 238,223,346 | false | null | package com.example.instabus.stations
import android.annotation.SuppressLint
import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.util.Log
import android.view.MenuItem
import androidx.appcompat.app.ActionBarDrawerToggle
import androidx.appcompat.app.AppCompatActivity
imp... | 2 | Kotlin | 0 | 0 | b242078c8893a07b6d7f55c872fecd81613014ce | 3,214 | InstaBus | MIT License |
presentation/src/main/java/org/lotka/xenon/presentation/screen/edit_profile/EditProfileScreen.kt | armanqanih | 860,856,530 | false | {"Kotlin": 300166} | package org.lotka.xenon.presentation.screen.edit_profile
import androidx.activity.compose.rememberLauncherForActivityResult
import androidx.activity.result.contract.ActivityResultContracts
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.... | 0 | Kotlin | 0 | 0 | 6b639355540fcc96477726f700c8dee702c99a1d | 7,644 | ModernNews | Apache License 2.0 |
app/src/main/java/com/pigeoff/rss/adapters/SwipeAdapter.kt | 16arpi | 357,496,459 | false | null | package com.pigeoff.rss.adapters
import android.content.Context
import android.content.Intent
import android.net.Uri
import android.os.Build
import android.text.Html
import android.util.Base64
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import andro... | 0 | Kotlin | 1 | 0 | ecd1c3185e8682b7bdc677385a1b97e8c0c8ea88 | 4,906 | Fox-RSS | Apache License 2.0 |
src/main/kotlin/kotlinmud/action/impl/admin/room/RoomDescriptionChange.kt | danielmunro | 241,230,796 | false | null | package kotlinmud.action.impl.admin.room
import kotlinmud.action.builder.ActionBuilder
import kotlinmud.action.model.Action
import kotlinmud.action.type.Command
import kotlinmud.io.factory.messageToActionCreator
import kotlinmud.io.factory.roomChangeDescription
import kotlinmud.io.type.Syntax
import kotlinmud.mob.type... | 0 | Kotlin | 1 | 9 | b7ee0d21ae813990896b1b8c6703da9bd1f1fc5b | 789 | kotlinmud | MIT License |
Shudipto Trafder/Sticker Generator/app/src/main/java/com/example/myapplication/FinalActivity.kt | kkech | 196,375,756 | false | null | package com.example.myapplication
import android.Manifest
import android.content.pm.PackageManager
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import android.os.Build
import android.os.Bundle
import android.os.Environment
import android.os.Environment.getExternalStoragePublicDirectory
import a... | 11 | Jupyter Notebook | 195 | 25 | e347e919e75ba62e2d56fabfe626cbee94378a15 | 4,305 | UdacityOpenSource | Apache License 2.0 |
app/app/src/main/java/dev/kdrag0n/quicklock/ui/QrScanActivity.kt | kdrag0n | 512,900,415 | false | {"Kotlin": 127083, "JavaScript": 94229, "Rust": 88205, "TypeScript": 53751, "Java": 43766, "Shell": 4854, "HTML": 1777, "CSS": 930} | package dev.kdrag0n.quicklock.ui
import android.Manifest
import android.content.Intent
import android.content.pm.PackageManager
import android.os.Bundle
import android.util.Size
import androidx.activity.result.contract.ActivityResultContracts
import androidx.activity.viewModels
import androidx.appcompat.app.AppCompatA... | 0 | Kotlin | 0 | 2 | 86297ee58e0a757a4542bca9efb1a4b8961d3f0c | 4,021 | quicklock | MIT License |
attribution/src/main/java/com/affise/attribution/parameters/UuidProvider.kt | affise | 496,592,599 | false | null | package com.affise.attribution.parameters
import com.affise.attribution.parameters.base.StringPropertyProvider
import com.affise.attribution.utils.generateUUID
/**
* Provider for parameter [Parameters.UUID]
*/
class UuidProvider : StringPropertyProvider() {
override fun provide(): String? = generateUUID().toSt... | 0 | Kotlin | 0 | 3 | ed6209e9eff536569c2ce618945365e63c9419fd | 328 | sdk-android | The Unlicense |
src/main/java/com/sayzen/campfiresdk/controllers/notifications/chat/NotificationChatAnswerParser.kt | HorsePower68 | 230,018,763 | true | {"Kotlin": 1489208} | package com.sayzen.campfiresdk.controllers.notifications.chat
import android.content.Intent
import com.dzen.campfire.api.models.chat.ChatTag
import com.dzen.campfire.api.models.notifications.chat.NotificationChatAnswer
import com.sayzen.campfiresdk.R
import com.sayzen.campfiresdk.controllers.ControllerNotifications
im... | 0 | null | 0 | 0 | 214a4ee9262e185eb33a0ddcfc3a6803f22d54fd | 2,401 | CampfireSDK | Apache License 2.0 |
paradox-language-support/src/main/kotlin/com/windea/plugin/idea/paradox/script/refactoring/ParadoxScriptRefactoringSupportProvider.kt | fonata | 320,514,128 | true | {"Kotlin": 532553, "Lex": 41918, "HTML": 3712} | package com.windea.plugin.idea.paradox.script.refactoring
import com.intellij.lang.refactoring.*
import com.intellij.psi.*
import com.windea.plugin.idea.paradox.localisation.psi.*
import com.windea.plugin.idea.paradox.script.psi.*
class ParadoxScriptRefactoringSupportProvider : RefactoringSupportProvider() {
overrid... | 0 | Kotlin | 0 | 0 | edf37fb29407701d65749e76a70f73ff55614461 | 459 | Idea-Plugins | MIT License |
paradox-language-support/src/main/kotlin/com/windea/plugin/idea/paradox/script/refactoring/ParadoxScriptRefactoringSupportProvider.kt | fonata | 320,514,128 | true | {"Kotlin": 532553, "Lex": 41918, "HTML": 3712} | package com.windea.plugin.idea.paradox.script.refactoring
import com.intellij.lang.refactoring.*
import com.intellij.psi.*
import com.windea.plugin.idea.paradox.localisation.psi.*
import com.windea.plugin.idea.paradox.script.psi.*
class ParadoxScriptRefactoringSupportProvider : RefactoringSupportProvider() {
overrid... | 0 | Kotlin | 0 | 0 | edf37fb29407701d65749e76a70f73ff55614461 | 459 | Idea-Plugins | MIT License |
src/test/kotlin/info/jdavid/asynk/sql/ResultSetTests.kt | programingjd | 122,729,739 | false | null | package info.jdavid.asynk.sql
import kotlinx.coroutines.channels.Channel
import kotlinx.coroutines.channels.ChannelIterator
import kotlinx.coroutines.channels.ReceiveChannel
import kotlinx.coroutines.coroutineScope
import kotlinx.coroutines.delay
import kotlinx.coroutines.runBlocking
import org.junit.jupiter.api.Test
... | 0 | Kotlin | 0 | 0 | 2c2f70275d7de25d1f22fc9b17b035dc4eca6e8a | 6,327 | asynk_sql | Apache License 2.0 |
src/main/kotlin/br/com/project/key/Errors.kt | thiagohayacizup | 407,656,384 | true | {"Kotlin": 91388, "Shell": 665, "Dockerfile": 278} | package br.com.project.key
import br.com.project.key.model.KeyResponseData
import io.grpc.Status
import io.grpc.StatusRuntimeException
class Errors {
companion object {
val bodyBcbNotFound = KeyResponseData(
error = Status
.NOT_FOUND
.withDescription("Response ... | 0 | Kotlin | 0 | 0 | f921bf1bda2ccdce54aaf2c0ddd6f5e212806a5b | 1,724 | orange-talents-07-template-pix-keymanager-grpc | Apache License 2.0 |
android/src/main/java/com/example/android/presentation/home/HomeScreen.kt | DeNyWho | 584,003,645 | false | {"Kotlin": 511314} | package com.example.android.presentation.home
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.nav... | 0 | Kotlin | 0 | 0 | 4388d4eb1f0c3e52929077ba3939b7f4124d1d5b | 698 | AniFoxKMP | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.