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
domain/src/main/kotlin/land/sungbin/apilibrary/domain/usecase/ApiLibraryFetchUseCase.kt
duckie-team
557,999,746
false
{"Kotlin": 115491}
/* * Designed and developed by 2022 <NAME>. * * Licensed under the MIT. * Please see full license: https://github.com/duckie-team/ApiLibrary/blob/trunk/LICENSE */ package land.sungbin.apilibrary.domain.usecase import land.sungbin.apilibrary.domain.repository.ApiLibraryRepository class ApiLibraryFetchUseCase( ...
11
Kotlin
0
4
157f41d6dc98b00c71ee1c2390567a38f495d94f
521
ApiLibrary
MIT License
code/src/main/kotlin/exceptions/GenericPassedFunctionException.kt
HotCL
120,297,748
false
{"TeX": 261407, "Kotlin": 233661, "HCL": 8763, "C++": 3550}
package exceptions /** * It is not allowed to pass a function into another function if the argument-function is generic. * For instance: * var map = (list[num] l, func[num, text] f): list[text] {...} * var something = (T1 i): T2 {...} * :something map * is not allowed. */ class GenericPassedFunction...
1
TeX
1
4
b6adbc46cc7347aacd45dce5fddffd6fee2d37ac
645
P4-HCL
Apache License 2.0
src/main/kotlin/com/blr19c/falowp/bot/system/plugin/hook/HookTypeEnum.kt
falowp-bot
736,172,318
false
{"Kotlin": 229423, "HTML": 3910}
package com.blr19c.falowp.bot.system.plugin.hook /** * 注入类型 */ enum class HookTypeEnum { /** * 前置 */ BEFORE, /** * 后置 */ AFTER_RETURNING, /** * 异常通知 */ AFTER_THROWING, /** * 最终通知 */ AFTER_FINALLY, /** * 环绕 */ AROUND }
0
Kotlin
0
6
4dfb4620ce2ef529bcf27bc1b719587eb668b56e
315
falowp-bot-system
Apache License 2.0
src/main/kotlin/nieldw/socially/domain/events/RelationshipEvents.kt
MateuszNaKodach
188,601,748
true
{"Kotlin": 23660}
package nieldw.socially.domain.events import nieldw.socially.domain.ContactId import nieldw.socially.domain.RelationshipLevel data class RelationshipLevelUpdatedEvent( val contactId: ContactId, val newRelationshipLevel: RelationshipLevel )
0
Kotlin
0
0
5adbc9f4a1d48a14a6fb2f7a5d845bc6d944810c
257
ContactsAxonDemo
MIT License
library/src/main/java/com/jonapoul/extensions/time/TimeUnits.kt
jonapoul
375,762,483
false
null
package com.jonapoul.extensions.data private const val SECONDS_IN_MS = 1_000L private const val MINUTES_IN_MS = SECONDS_IN_MS * 60L private const val HOURS_IN_MS = MINUTES_IN_MS * 60L private const val DAYS_IN_MS = HOURS_IN_MS * 24L @JvmInline value class Millis(val ms: Long) : Comparable<Millis> { override fun c...
0
Kotlin
0
0
95760476dc741b7a53dba6bc66fe2caed7c5c7b8
1,720
android-extensions
Apache License 2.0
app/src/main/java/com/app/missednotificationsreminder/ApplicationComponent.kt
httpdispatch
45,973,237
false
{"Gradle Kotlin DSL": 4, "Java Properties": 2, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "XML": 84, "Java": 45, "Kotlin": 168}
package com.app.missednotificationsreminder import android.content.Context import dagger.BindsInstance import dagger.Component import dagger.android.AndroidInjector import dagger.android.support.AndroidSupportInjectionModule import javax.inject.Singleton /** * Main component for the application. */ @Singleton @Comp...
46
Kotlin
22
73
8f8c012f6ebc63c8a6262ac0e7afbbd89f798355
656
MissedNotificationsReminder
Apache License 2.0
src/test/kotlin/morpher/model/model/notice/infrastructure/dto/request/RequestBudgetBreakdown.kt
Qlifyw
282,825,141
false
null
package com.procurement.notice.infrastructure.dto.request import com.fasterxml.jackson.annotation.JsonInclude import com.fasterxml.jackson.annotation.JsonProperty import com.procurement.notice.model.ocds.Value data class RequestBudgetBreakdown( @field:JsonProperty("id") @param:JsonProperty("id") val id: String, ...
0
Kotlin
0
0
e799e42b32c3159ff49448aeec22d2df85c6f687
1,137
mionik
MIT License
data-table/src/commonMain/kotlin/com/seanproctor/datatable/TableDecorationScope.kt
sproctor
638,790,475
false
{"Kotlin": 64304}
/* * Copyright 2019 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
1
Kotlin
11
80
1edea2e5c654405b3a8a386c295ea4c233e98017
1,118
compose-data-table
Apache License 2.0
lib/src/main/java/tech/relaycorp/awaladroid/endpoint/Endpoint.kt
relaycorp
327,584,039
false
{"Kotlin": 224510}
package tech.relaycorp.awaladroid.endpoint /** * Awala endpoint. */ public abstract class Endpoint(public val nodeId: String)
9
Kotlin
1
2
03dd6a0a7c3e2f72dc12a3ea72d4b0d418375e9d
129
awala-endpoint-android
Apache License 2.0
src/main/kotlin/me/modmuss50/fr/mutlipart/PipeMultipart.kt
modmuss50
47,500,948
false
null
package me.modmuss50.fr.mutlipart import cofh.api.energy.IEnergyConnection import cofh.api.energy.IEnergyProvider import cofh.api.energy.IEnergyReceiver import ic2.api.energy.EnergyNet import ic2.api.energy.tile.IEnergySink import ic2.api.energy.tile.IEnergySource import me.modmuss50.fr.FluxedRedstone import me.modmus...
2
Kotlin
6
14
32bf3ef79ecca9109107faece0149b6ea1a34ce9
17,337
Fluxed-Redstone
MIT License
app/src/main/java/com/evosticlabs/apollo/screens/SplashScreen.kt
idee24
831,997,261
false
{"Kotlin": 80255, "Python": 10120, "Java": 412}
package com.evosticlabs.apollo.screens import androidx.compose.foundation.Image import androidx.compose.foundation.background import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.lay...
0
Kotlin
0
0
1dd54d17e9f6b202020b10cff361f44ed15ee133
1,656
apollo_android
MIT License
room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/XTypeElement.kt
RikkaW
389,105,112
false
null
/* * Copyright (C) 2020 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
6
null
937
7
6d53f95e5d979366cf7935ad7f4f14f76a951ea5
5,000
androidx
Apache License 2.0
android/app/src/main/kotlin/com/example/scorekeeper/MainActivity.kt
He-Martijn
450,554,690
false
{"Dart": 8335, "Swift": 404, "Kotlin": 128, "Objective-C": 38}
package com.example.scorekeeper import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { }
0
Dart
0
0
60f58ca5b7b6d6f2dc8bd459e13e2f4dfda42c26
128
scorekeeper
MIT License
14-interfaces-enums/src/interfaces/Family.kt
johnehunt
286,785,922
false
null
package interfaces class Family { // ... fun add(org: Organizer) { // ... } }
0
Kotlin
0
3
9dfc541c93b13d7e7aee289408103538faa23134
98
kotlin-book
Apache License 2.0
src/main/kotlin/uk/gov/justice/digital/hmpps/prisonerfromnomismigration/csip/CSIPMappingService.kt
ministryofjustice
452,734,022
false
{"Kotlin": 2526024, "Mustache": 1803, "Dockerfile": 1377}
package uk.gov.justice.digital.hmpps.prisonerfromnomismigration.csip import kotlinx.coroutines.reactive.awaitFirstOrDefault import org.springframework.beans.factory.annotation.Qualifier import org.springframework.core.ParameterizedTypeReference import org.springframework.stereotype.Service import org.springframework.w...
1
Kotlin
1
2
c2246f3388fdbd46f6dba28c26940048607f9704
2,917
hmpps-prisoner-from-nomis-migration
MIT License
app/src/main/java/com/example/sally/rxjavakotlin/ui/home/HomeActivity.kt
sallySalem
121,965,570
false
null
package com.example.sally.rxjavakotlin.ui.home import android.app.Activity import android.content.Intent import android.os.Bundle import android.support.v4.content.ContextCompat import android.support.v4.widget.SwipeRefreshLayout import android.support.v7.widget.LinearLayoutManager import android.view.View import andr...
0
Kotlin
0
0
6e80ce733fb2e98350e86006a6f2fb3957739f46
3,474
Rx-MVP-kotlin
Apache License 2.0
fresco-bridge/src/main/kotlin/drivechain/bridge/fresco/FrescoBridgeModule.kt
InkApplications
106,982,918
false
null
package drivechain.bridge.fresco import dagger.Module import dagger.Provides import dagger.multibindings.IntoSet import drivechain.lifecycle.application.ApplicationLifecycleSubscriber import okhttp3.OkHttpClient @Module class FrescoBridgeModule { @Provides @IntoSet fun fresco(okHttpClient: OkHttpClient): Applicat...
1
Kotlin
2
3
070d7d77291272f60cff9650c7c6e5240c6b58f1
378
DriveChain
MIT License
compass/src/main/java/com/arch/jonnyhsia/compass/facade/IRouteInterceptor.kt
jonnyhsia
179,116,275
false
null
package com.arch.jonnyhsia.compass.facade /** * 原生页跳转拦截 (对应 @Route 注解中的 Interceptor) * 优先级: 低 * * 主要用于用户登录等条件拦截, 跳转到其他页面 */ interface IRouteInterceptor { fun intercept(intent: ProcessableIntent) }
0
Kotlin
0
3
8b38a99fcadf38d11065839b55904a60b4c1b630
206
Compass
MIT License
junit5/src/test/kotlin/com/toasttab/gradle/testkit/TestKitIntegrationTest.kt
open-toast
694,203,503
false
{"Kotlin": 44971, "Java": 66}
/* * Copyright (c) 2024 Toast Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
0
Kotlin
0
1
af30e72f2f2f50c9d7f54c6e3acc388b6b7d9e17
1,217
testkit-plugins
Apache License 2.0
library/src/main/java/com/dino/lib/dialog/progress/PriorityProgressDialog.kt
dino9
124,686,433
false
null
package com.dino.lib.dialog.progress import android.app.Dialog import android.app.ProgressDialog import android.content.Context import android.content.DialogInterface import android.os.Bundle import androidx.fragment.app.Fragment import androidx.fragment.app.FragmentManager import com.dino.lib.dialog.BaseDialogBuilder...
1
Kotlin
1
4
6c1f81d18fc504aa9ff20b748d32bb6d1d412272
6,471
PriorityDialog
The Unlicense
baselib/src/main/java/com/wukangjie/baselib/base/fragment/BaseMainFragment.kt
wukangjie
188,939,915
false
null
package com.wukangjie.baselib.base.fragment import android.content.Context /** * tab页中,带有画面跳转功能的画面的容器fragment */ open class BaseMainFragment : BaseFragment() { protected var _mBackToFirstListener: OnBackToFirstListener? = null override fun onAttach(context: Context) { super.onAttach(context) ...
0
Kotlin
0
0
cc59ded26f2c1a7bef65cd63ccf22d461625e0a7
1,292
K-MVVM
Apache License 2.0
src/main/kotlin/samples/Analytics.kt
frozencure
253,615,832
false
null
package samples import com.github.frozencure.helix.HelixClient import com.github.frozencure.helix.auth.model.OAuthCredentials import kotlinx.coroutines.runBlocking import java.time.Duration import java.time.Instant fun getExtensionAnalytics() { val credentials = OAuthCredentials("<OAuth access token here>", "<Ap...
3
Kotlin
3
17
285d49ad2ddf19f8ba2d0973ca17a40168fac914
930
twitch-client
MIT License
src/main/kotlin/uk/gov/justice/digital/hmpps/jobsboard/api/jsonprofile/JobsBoardProfileDTO.kt
ministryofjustice
775,484,528
false
{"Kotlin": 43059, "Dockerfile": 1146}
package uk.gov.justice.digital.hmpps.jobsboard.data.jsonprofile import io.swagger.v3.oas.annotations.media.Schema import uk.gov.justice.digital.hmpps.jobsboard.api.entity.JobsBoardProfile import java.time.LocalDateTime data class JobsBoardProfileDTO( @Schema(description = "This is the ID of the inmate ", name = "o...
0
Kotlin
0
0
7fbc4be4c6506ed2b3c8b8513535274ae8f34add
1,963
hmpps-jobs-board-api
MIT License
app/src/main/java/com/josdem/authenticator/state/ApplicationState.kt
josdem
729,984,698
false
{"Kotlin": 21248}
package com.josdem.authenticator.state object ApplicationState { private val memory = HashMap<String, Any>() fun storeValue( key: String, value: Any, ) { memory[key] = value } fun getValue(key: String): Any? { return memory[key] } }
3
Kotlin
2
1
042de84f37e25de72965f2616f74b9872ce2e0cd
292
android-authenticator
Apache License 2.0
testing/src/main/java/org/oppia/android/testing/lightweightcheckpointing/ExplorationCheckpointTestHelper.kt
harshpatel63
330,956,278
true
{"Kotlin": 5294875, "Starlark": 152600, "Java": 32457, "Shell": 8681}
package org.oppia.android.testing.lightweightcheckpointing import androidx.lifecycle.Observer import androidx.test.platform.app.InstrumentationRegistry import com.google.common.truth.Truth.assertThat import org.mockito.ArgumentCaptor import org.mockito.Captor import org.mockito.Mock import org.mockito.Mockito.atLeastO...
0
Kotlin
0
1
c42dca3eb6c69821784063fb18621a81473735ce
7,104
oppia-android
Apache License 2.0
app/src/main/java/com/dee/popularmovies/ui/movies/ui/MovieDetailsFragment.kt
DeeAndroid
611,321,790
false
null
package com.dee.popularmovies.ui.movies.ui import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment import androidx.fragment.app.activityViewModels import androidx.lifecycle.lifecycleScope import com.dee.popularmovies.data....
0
Kotlin
0
0
bcbaf3d0318821e2a26b03358d70c9e0aee542a3
1,493
TmdbMovies
MIT License
app/src/main/java/com/dee/popularmovies/ui/movies/ui/MovieDetailsFragment.kt
DeeAndroid
611,321,790
false
null
package com.dee.popularmovies.ui.movies.ui import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment import androidx.fragment.app.activityViewModels import androidx.lifecycle.lifecycleScope import com.dee.popularmovies.data....
0
Kotlin
0
0
bcbaf3d0318821e2a26b03358d70c9e0aee542a3
1,493
TmdbMovies
MIT License
sam-java-core/src/test/kotlin/software/elborai/api/models/AgentDeleteParamsTest.kt
DefinitelyATestOrg
787,029,081
false
{"Kotlin": 712664, "Shell": 1286, "Dockerfile": 305}
// File generated from our OpenAPI spec by Stainless. package software.elborai.api.models import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test import software.elborai.api.models.* class AgentDeleteParamsTest { @Test fun createAgentDeleteParams() { AgentDeleteParams.bui...
1
Kotlin
0
0
31707be70bc9f98f8659f918bd036b91f6e7f137
687
sam-java
Apache License 2.0
app/src/main/java/id/android/basics/compose/ui/components/CommonUI.kt
budioktaviyan
565,297,433
false
null
package id.android.basics.compose.ui.components import androidx.compose.foundation.background import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.Spacer import androidx.compose.fou...
0
Kotlin
0
1
fd9c6e3f64a99eb74abc498665bbe54ea6204d48
4,558
compose-basics
MIT License
plugins/search-everywhere-ml/ranking/core/test/com/intellij/searchEverywhereMl/ranking/core/features/SearchEverywhereStateFeaturesProviderTest.kt
JetBrains
2,489,216
false
null
package com.intellij.searchEverywhereMl.ranking.features import com.intellij.ide.actions.searcheverywhere.FileSearchEverywhereContributor import com.intellij.ide.actions.searcheverywhere.SearchEverywhereManagerImpl import com.intellij.searchEverywhereMl.ranking.features.SearchEverywhereStateFeaturesProvider.Companion....
284
null
5162
16,707
def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0
5,339
intellij-community
Apache License 2.0
app/src/main/java/com/mathroda/messengerclone/ui/channels/utils/CustomChannel.kt
MathRoda
516,097,712
false
null
package com.erdi.messengerclone.ui.channels.utils import androidx.compose.foundation.ExperimentalFoundationApi import androidx.compose.foundation.layout.* import androidx.compose.foundation.lazy.LazyColumn import androidx.compose.foundation.lazy.LazyListState import androidx.compose.foundation.lazy.items import androi...
1
null
12
96
f6bb09079f35e14e7fceb1bfbad1fa49e9c58daa
3,766
Messenger-clone
Apache License 2.0
network/src/main/java/com/patrykkosieradzki/theanimalapp/network/services/AnimalApiService.kt
k0siara
340,592,684
false
{"Kotlin": 96140}
package com.patrykkosieradzki.theanimalapp.network.services import com.patrykkosieradzki.theanimalapp.network.model.AnimalResponse import com.patrykkosieradzki.theanimalapp.network.utils.ApiResult import retrofit2.http.GET import retrofit2.http.Query interface AnimalApiService { @GET("images/search") suspend ...
0
Kotlin
0
1
3398c01fd62e4a9bfa7033d7736e7e70745a22ec
874
TheAnimalApp
Apache License 2.0
src/main/kotlin/com/dpforge/ibmpc/cpu/instruction/JCXZ.kt
int02h
426,397,665
false
{"Kotlin": 257077, "Assembly": 189629, "Shell": 90}
package com.dpforge.ibmpc.cpu.instruction import com.dpforge.ibmpc.cpu.CPU import com.dpforge.ibmpc.cpu.timing.Timing.ConditionalTiming object JCXZ { fun short(cpu: CPU): Int = cpu.jumpShortIf(ConditionalTiming.JCC) { cx == 0 } }
0
Kotlin
0
3
eff28d661750ca511dafae930fe2b911f8d7b5d9
237
ibm-pc
MIT License
detekt-gradle-plugin/src/main/kotlin/io/gitlab/arturbosch/detekt/DetektPlugin.kt
detekt
71,729,669
false
null
package io.gitlab.arturbosch.detekt import dev.detekt.gradle.plugin.CONFIGURATION_DETEKT_PLUGINS import dev.detekt.gradle.plugin.DetektBasePlugin import dev.detekt.gradle.plugin.DetektBasePlugin.Companion.CONFIG_DIR_NAME import dev.detekt.gradle.plugin.DetektBasePlugin.Companion.CONFIG_FILE import dev.detekt.gradle.pl...
190
null
772
6,253
c5d7ed3da2824534d0e15f8404ad4f1c59fb553c
7,636
detekt
Apache License 2.0
src/main/kotlin/io/github/markgregg/expression/exceptions/IncompatibleTypeException.kt
markgregg
565,568,268
false
{"Kotlin": 194364}
package io.github.markgregg.expression.exceptions class IncompatibleTypeException(message: String) : RuntimeException(message)
1
Kotlin
0
0
f28ccf2d0dc344fc4f5ea887da466c68e270afbf
127
adaptable-expression
Apache License 2.0
app/src/main/java/com/github/rooneyandshadows/lightbulb/easyrecyclerviewdemo/demo/views/SelectableRecyclerView.kt
RooneyAndShadows
424,519,760
false
{"Kotlin": 226361}
package com.github.rooneyandshadows.lightbulb.easyrecyclerviewdemo.demo.views import android.content.Context import android.util.AttributeSet import com.github.rooneyandshadows.lightbulb.easyrecyclerview.EasyRecyclerView import com.github.rooneyandshadows.lightbulb.easyrecyclerviewdemo.demo.views.adapters.SelectableAd...
0
Kotlin
3
9
bfb334b627e1b52644c7f9c1ff222a046a757fea
824
lightbulb-easyrecyclerview
Apache License 2.0
app/src/main/java/com/example/digionebank/testes/TesteFuncionarioGerente.kt
JonathasLopes
393,851,255
false
null
package com.example.digionebank.testes import com.example.digionebank.Gerente fun main() { val joao = Gerente("Joao", "123.456.789-78", 5000.0, "123") ImprimeRelatorioFuncionario.imprime(joao); TesteAutenticacao().autentica(joao) }
0
Kotlin
0
0
970ca98efdcfe035e3341b6f67fa4192e10a610d
247
DigiOneBank
MIT License
app/src/main/java/com/devpulsar/mlkitexample/MainActivity.kt
barbariwan
746,848,429
false
{"Kotlin": 7165}
package com.devpulsar.mlkitexample import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import androidx.fragment.app.commit import com.devpulsar.mlkitexample.fragment.BarcodeScannerFragment class MainActivity : AppCompatActivity(R.layout.activity_main) { override fun onCreate(savedInstanceStat...
0
Kotlin
0
0
8f3e758c6e81e3751ebfcb705b4a3b8916b8111e
615
MLKitExample
MIT License
challenge/flutter/all_samples/widgets_defaulttextstyletransition_1/android/app/src/main/kotlin/com/example/widgets_defaulttextstyletransition_1/MainActivity.kt
davidzou
5,868,257
false
{"C++": 11211831, "CMake": 9084708, "Dart": 1111417, "HTML": 1009596, "Swift": 548973, "C": 446637, "Java": 193711, "Kotlin": 80348, "Objective-C": 20634, "Shell": 6476, "AIDL": 6075, "Dockerfile": 1384, "Groovy": 368}
package com.example.widgets_defaulttextstyletransition_1 import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { }
1
C++
1
4
1060f6501c432510e164578d4af60a49cd5ed681
153
WonderingWall
Apache License 2.0
src/main/java/com/statsig/androidsdk/Store.kt
statsig-io
357,712,105
false
null
package com.statsig.androidsdk import android.content.SharedPreferences import androidx.core.content.edit import com.google.gson.Gson import com.google.gson.annotations.SerializedName import com.google.gson.reflect.TypeToken private const val INITIALIZE_RESPONSE_KEY: String = "Statsig.INITIALIZE_RESPONSE" private con...
0
Kotlin
1
3
bbc05ef820cb9e97e8fae4b858bf490b1cec15a6
5,394
android-sdk
ISC License
app/src/main/kotlin/zenith/Faults.kt
DavidMacDonald11
674,797,283
false
null
package zenith import java.io.File interface Faultable { val faultPosition: UIntRange } class Fault(label: String, val type: Char, val obj: Faultable, msg: String) { val message = "$label ${mapType()}: $msg" private fun mapType() = when(type) { 'W' -> "Warning" 'E' -> "Error" 'F' -> ...
0
Kotlin
0
0
6f4ca7e3379212f4723f20e2a312cfb27d4e387a
1,866
Zenith-Compiler
MIT License
androidApp/src/main/java/dev/johnoreilly/mortycomposekmm/ui/episodes/EpisodeDetailView.kt
joreilly
323,447,684
false
null
package dev.johnoreilly.mortycomposekmm.ui.episodes import androidx.compose.foundation.Image import androidx.compose.foundation.layout.* import androidx.compose.foundation.lazy.LazyColumn import androidx.compose.foundation.shape.CircleShape import androidx.compose.material.* import androidx.compose.material.icons.Icon...
1
null
14
252
df980faf61f0f8836fc3e9b196875f08666f2bc7
3,185
MortyComposeKMM
Apache License 2.0
bound/kt/src/test/kotlin/web5/sdk/dids/methods/jwk/DidJwkTests.kt
TBD54566975
716,632,191
false
null
package web5.sdk.dids.methods.jwk import org.junit.jupiter.api.Assertions.* import org.junit.jupiter.api.Test import web5.sdk.rust.DidJwk as RustCoreDidJwk import web5.sdk.rust.ed25519GeneratorGenerate as rustCoreEd25519GeneratorGenerate class DidJwkTests { @Test fun `can create did jwk same as rust core`()...
75
null
5
8
ea1c48ea336ab8f24d38e4fdbbb63430418fb010
1,055
web5-rs
Apache License 2.0
presentation/src/main/java/com/wa2c/android/cifsdocumentsprovider/presentation/PresentationModule.kt
wa2c
309,159,444
false
{"Kotlin": 319584}
package com.wa2c.android.cifsdocumentsprovider.presentation import android.content.Context import com.wa2c.android.cifsdocumentsprovider.domain.repository.CifsRepository import dagger.Module import dagger.hilt.EntryPoint import dagger.hilt.InstallIn import dagger.hilt.android.EntryPointAccessors import dagger.hilt.com...
31
Kotlin
17
139
cb662b0e8b092ce2e6b320e3dc2a1a21ed655992
853
cifs-documents-provider
MIT License
kotlin/local-data-api/test/com/koxudaxi/localDataApi/ModelsTest.kt
koxudaxi
189,569,756
false
null
package com.koxudaxi.localDataApi import java.util.* import kotlin.test.* class ModelsTest { @Test fun testSqlParameter() { assertEquals("aGVsbG8=", SqlParameter("value", Field(blobValue = "aGVsbG8=")).value.blobValue) assertEquals("DECIMAL", SqlParameter("value", Field(stringValue = "123"), t...
17
Python
16
94
9f80b144f1c2ffd9501c7eb8b7e1db981281422e
3,030
local-data-api
MIT License
app/src/main/java/com/a10miaomiao/bilimiao/entity/UpperChannelVideoInfo.kt
10miaomiao
115,510,569
false
null
package com.a10miaomiao.bilimiao.entity /** * Created by 10喵喵 on 2017/10/31. */ data class UpperChannelVideoInfo( var code: Int, var message: String, var data: UperChannelVideoData ) { data class UperChannelVideoData( var list: UperChannelVideoList ) data class UperCha...
1
null
1
20
dfd78b56b5c41eb49454836ee2bce5cefc667db7
694
bilimiao
Apache License 2.0
core/db/src/test/java/com/memorati/core/db/model/AdditionalInfoEntityTest.kt
HeidelX
640,943,698
false
{"Kotlin": 332940, "Ruby": 1925}
package com.memorati.core.db.model import kotlinx.serialization.encodeToString import kotlinx.serialization.json.Json import kotlin.test.Test import kotlin.test.assertEquals class AdditionalInfoEntityTest { private val infoString1 = """ {"difficulty":1.0,"consecutiveCorrectCount":0,"memoryStrengt...
0
Kotlin
0
0
b1caa3497644913a623590c313d67e421a24bdf4
1,786
Memorati
MIT License
app/src/main/kotlin/io/xps/playground/ui/feature/filesystem/FileSystemFragment.kt
serhii-petrenko-dev
593,936,096
false
{"Kotlin": 226184, "Java": 6274}
package io.xps.playground.ui.feature.filesystem import android.content.Context import android.content.Intent import android.os.Build import android.os.Bundle import android.os.Environment import android.os.StatFs import android.os.storage.StorageManager import android.os.storage.StorageManager.ACTION_MANAGE_STORAGE im...
0
Kotlin
0
0
bc0277d1200aa5078c8943c67aa8fa9dfe37b8ce
10,587
playground
MIT License
src/main/kotlin/io/openfuture/api/exception/EventTypeException.kt
OpenFuturePlatform
134,381,311
false
null
package io.openfuture.api.exception class EventTypeException(message: String?) : RuntimeException(message)
11
JavaScript
7
42
4cf6df0407c9a941bd1e0b6d01a9ab05f4db0ef6
107
open-api
Apache License 2.0
certificatetransparency/src/main/kotlin/com/appmattus/certificatetransparency/internal/loglist/deserializer/StateDeserializer.kt
appmattus
319,979,095
false
null
/* * Copyright 2021 Appmattus Limited * * 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 t...
7
null
24
91
469354b7a5692535bece8901d6d9fef1ab1f8093
1,363
certificatetransparency
Apache License 2.0
src/main/kotlin/infrastructure/api/ApiRouter.kt
SmartOperatingBlock
610,670,082
false
null
/* * Copyright (c) 2023. Smart Operating Block * * Use of this source code is governed by an MIT-style * license that can be found in the LICENSE file or at * https://opensource.org/licenses/MIT. */ package infrastructure.api import application.controller.manager.StaffTrackingDatabaseManager import infrastructu...
5
Kotlin
0
0
ca393dfdb186a8b2a02fd7144a593b71399d2b34
2,340
staff-tracking-microservice
MIT License
video-sdk/src/main/java/com/kaleyra/video_sdk/extensions/MaterialM3ColorUtilsExtensions.kt
KaleyraVideo
686,975,102
false
{"Kotlin": 5030623, "Shell": 7470, "Python": 6756, "Java": 1213}
package com.kaleyra.video_sdk.extensions import com.kaleyra.material_color_utilities.scheme.Scheme import com.kaleyra.video_common_ui.utils.SchemeUtils.toColorScheme /** * Generate a light color scheme from input argb seed * @receiver ColorScheme the resulting light color scheme * @param seed Int input argb seed ...
0
Kotlin
0
1
6633ca0924ebaab16ffa9c47745e45ec55d42952
621
VideoAndroidSDK
Apache License 2.0
health/connect/connect-client/src/main/java/androidx/health/connect/client/records/CyclingPedalingCadenceRecord.kt
androidx
256,589,781
false
null
/* * Copyright (C) 2022 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
30
null
950
5,321
98b929d303f34d569e9fd8a529f022d398d1024b
5,019
androidx
Apache License 2.0
onestore_iap_sample/sample_subscription/src/main/java/com/onestore/sample/subscription/base/BaseRecyclerViewAdapter.kt
ONE-store
283,635,557
false
{"Kotlin": 123343}
/** * @author tia.lee * @since 2021. 06.24 */ package com.onestore.sample.subscription.base import androidx.recyclerview.widget.RecyclerView abstract class BaseRecyclerViewAdapter<T>: RecyclerView.Adapter<RecyclerView.ViewHolder>() { interface OnItemClickListener { fun <T> onItemClick(position: Int, i...
0
Kotlin
9
11
5fceaea4234dfcfca73d302b4575bf59705ec2fb
383
onestore_iap_release
Apache License 2.0
common-lib/src/main/kotlin/me/chosante/common/skills/Agility.kt
CharlyRien
670,146,796
false
{"Kotlin": 223963, "CSS": 73}
package me.chosante.common.skills import me.chosante.common.Characteristic import me.chosante.common.skills.AgilityCharacteristic.Dodge import me.chosante.common.skills.AgilityCharacteristic.DodgeAndLock import me.chosante.common.skills.AgilityCharacteristic.Initiative import me.chosante.common.skills.AgilityCharacter...
0
Kotlin
0
13
4d1a3eb6fba3b088637b0771da3845e6d9a75d14
3,999
wakfu-autobuilder
The Unlicense
common/src/main/java/com/kernel/finch/common/contracts/FinchListItem.kt
kernel0x
197,173,098
false
{"Kotlin": 373961}
package com.kernel.finch.common.contracts import com.kernel.finch.common.models.Text interface FinchListItem { val title: Text val id: String get() = when (val title = title) { is Text.CharSequence -> title.charSequence.toString() is Text.ResourceId -> title.resId.toString() ...
2
Kotlin
9
46
4f098309de71b690af5e2a7503444ad1959bf004
413
finch
Apache License 2.0
src/main/kotlin/name/kropp/intellij/makefile/psi/MakefileElementFactory.kt
kropp
76,199,916
false
null
package name.kropp.intellij.makefile.psi import com.intellij.openapi.project.* import com.intellij.psi.* import name.kropp.intellij.makefile.* object MakefileElementFactory { fun createFile(project: Project, text: String) = PsiFileFactory.getInstance(project).createFileFromText("Makefile", MakefileFileType, t...
1
null
30
168
7b40402eb003c3424f525320725a951446924d0b
1,706
intellij-makefile
MIT License
compottie/src/commonMain/kotlin/io/github/alexzhirkevich/compottie/dynamic/_DynamicDrawProvider.kt
alexzhirkevich
730,724,501
false
{"Kotlin": 891763, "Swift": 601, "HTML": 211}
package io.github.alexzhirkevich.compottie.dynamic import androidx.compose.ui.geometry.Rect import androidx.compose.ui.geometry.Size import androidx.compose.ui.graphics.BlendMode import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.ColorFilter import androidx.compose.ui.graphics.Matrix import ...
5
Kotlin
7
232
46b008cd7cf40a84261b20c5888359f08368016a
3,081
compottie
MIT License
gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/resources/ResourcesDSL.kt
JetBrains
293,498,508
false
null
package org.jetbrains.compose.resources import org.gradle.api.Project import org.gradle.api.provider.Provider import java.io.File abstract class ResourcesExtension { /** * Whether the generated resources accessors class should be public or not. * * Default is false. */ var publicResClass: ...
64
null
1174
16,150
7e9832f6494edf3e7967082c11417e78cfd1d9d0
2,058
compose-multiplatform
Apache License 2.0
src/rider/main/kotlin/com/github/rafaelldi/diagnosticsclientplugin/services/gc/LiveGcEventSessionController.kt
rafaelldi
487,741,199
false
null
package com.github.rafaelldi.diagnosticsclientplugin.services.gc import com.github.rafaelldi.diagnosticsclientplugin.common.liveSessionFinished import com.github.rafaelldi.diagnosticsclientplugin.common.liveSessionNotFound import com.github.rafaelldi.diagnosticsclientplugin.common.liveSessionStarted import com.github....
4
null
0
4
743f0a74e999b2ac07fe866e4842246bd982f00c
1,736
diagnostics-client-plugin
MIT License
features/auth/src/main/java/com/ribsky/auth/nav/AuthNavigationImpl.kt
nexy791
607,748,138
false
null
package com.ribsky.auth.nav import android.content.Intent import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import androidx.navigation.NavController import com.ribsky.auth.ui.AuthActivity import com.ribsky.navigation.features.AuthNavigation import com.ribsky.navigation.features.LoaderNavigation ...
0
Kotlin
0
7
d2e9f7c04635e1793bfe8f421b4bc5ef162556c0
949
dymka
Apache License 2.0
app/src/main/java/com/tfg/bibliofinder/entities/Classroom.kt
ikergcalvino
671,605,377
false
{"Kotlin": 66993}
package com.tfg.bibliofinder.entities import androidx.room.Entity import androidx.room.ForeignKey import androidx.room.Index import androidx.room.PrimaryKey @Entity( foreignKeys = [ForeignKey( entity = Library::class, parentColumns = ["libraryId"], childColumns = ["libraryId"], onD...
0
Kotlin
0
0
3dd1ea3c420a85d0eaa66fc565e68dad27a14e7b
591
BiblioFinder
Apache License 2.0
identity/src/test/java/com/stripe/android/identity/utils/UriUtilsTest.kt
stripe
6,926,049
false
null
package com.stripe.android.identity.utils import android.net.Uri import com.google.common.truth.Truth.assertThat import org.junit.Test import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner @RunWith(RobolectricTestRunner::class) class UriUtilsTest { @Test fun testUrlWithoutQuery() { ...
88
null
644
1,277
174b27b5a70f75a7bc66fdcce3142f1e51d809c8
492
stripe-android
MIT License
app/src/main/java/com/alpriest/energystats/services/DemoNetworking.kt
alpriest
606,081,400
false
{"Kotlin": 612161}
package com.alpriest.energystats.services import com.alpriest.energystats.models.AddressBookResponse import com.alpriest.energystats.models.BatteryResponse import com.alpriest.energystats.models.BatterySettingsResponse import com.alpriest.energystats.models.BatteryTimesResponse import com.alpriest.energystats.models.C...
8
Kotlin
3
3
f7dd0882559da3f7417cb92a7b4fdcd853a43f35
7,734
EnergyStats-Android
MIT License
app/src/main/kotlin/io/github/nuhkoca/libbra/ui/NavHostFragment.kt
nuhkoca
252,193,036
false
null
/* * Copyright (C) 2020. <NAME>. 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 applic...
1
null
3
54
68c1b99d3c2966a8eec9395199379b98c21a340f
1,568
libbra
Apache License 2.0
src/main/kotlin/nu/staldal/htmxhttp4kdsl/TodoList.kt
mikaelstaldal
663,933,056
false
null
package nu.staldal.htmxhttp4kdsl import kotlinx.html.Entities import kotlinx.html.HTML import kotlinx.html.InputType import kotlinx.html.TBODY import kotlinx.html.ThScope import kotlinx.html.button import kotlinx.html.id import kotlinx.html.input import kotlinx.html.table import kotlinx.html.tbody import kotlinx.html....
0
Kotlin
1
2
ee9507d71cc15faa0ad00333b9628dd76df30370
3,086
htmx-http4k-dsl
Apache License 2.0
mahjong-utils-entry/src/commonMain/kotlin/mahjongutils/Coders.kt
ssttkkl
547,654,890
false
null
package mahjongutils import kotlin.reflect.KType import kotlin.reflect.typeOf interface ResultEncoder<out RAW_RESULT : Any> { fun <RESULT : Any> encodeResult(result: Result<RESULT>, resultType: KType): RAW_RESULT } inline fun <RAW_RESULT : Any, reified RESULT : Any> ResultEncoder<RAW_RESULT>.encodeResult( r...
2
Kotlin
0
9
571cebf84a5bf04337f162234e2f610954f99e8c
740
mahjong-utils
MIT License
vmtools/src/main/kotlin/com/vmloft/develop/library/tools/widget/barrage/VMBarrageView.kt
lzan13
78,939,095
false
null
package com.vmloft.develop.library.tools.widget.barrage import android.animation.Animator import android.animation.Animator.AnimatorListener import android.animation.ObjectAnimator import android.content.Context import android.util.AttributeSet import android.view.LayoutInflater import android.view.View import android...
0
null
14
34
c6eca3fb479d82ca14ca3bdcc3fb5f5494a4db0c
6,374
VMLibrary
MIT License
app/src/main/java/com/breezebppoddar/features/stockAddCurrentStock/model/CurrentStockGetDataDtls.kt
DebashisINT
518,335,697
false
{"Kotlin": 14689181, "Java": 1021110}
package com.breezebppoddar.features.stockAddCurrentStock.model import com.breezebppoddar.features.stockCompetetorStock.model.ComGetProduct class CurrentStockGetDataDtls { var visited_datetime: String? = null var stock_id: String? = null var shop_id: String? = null var total_qty: String? = null var...
0
Kotlin
0
0
297531612f36f84abcf33edf6809dacc55c3ac99
369
BPPODDARHOSPITAL
Apache License 2.0
idea/testData/inspections/replaceCallWithComparison/test.kt
JakeWharton
99,388,807
false
null
fun foo() { 1.equals(1) // YES !1.equals(2) // YES 1.compareTo(1) // NO 1.compareTo(1) == 0 // NO 2.compareTo(1) > 0 // YES 0 >= 1.compareTo(2) // YES 2.plus(2) // YES (information) 2.times(2) // YES (information) }
0
null
4
83
4383335168338df9bbbe2a63cb213a68d0858104
287
kotlin
Apache License 2.0
src/data/src/commonMain/kotlin/com/gabrielbmoro/moviedb/data/repository/datasources/database/room/FavoriteMoviesDAO.kt
gabrielbmoro
574,746,759
false
null
package com.gabrielbmoro.moviedb.data.repository.datasources.database.room import androidx.room.Dao import androidx.room.Insert import androidx.room.OnConflictStrategy import androidx.room.Query import com.gabrielbmoro.moviedb.data.repository.datasources.database.room.dto.FavoriteMovieDTO @Dao interface FavoriteMovie...
9
null
9
62
0ae8c7ae825162eac685513c293aeb0556eb43ea
800
MovieDB-App
MIT License
app/src/main/java/io/github/alessandrojean/toshokan/presentation/ui/publishers/PublishersViewModel.kt
alessandrojean
495,493,156
false
null
package io.github.alessandrojean.toshokan.presentation.ui.publishers import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import dagger.hilt.android.lifecycle.HiltViewModel import io.github.alessandrojean.toshokan.repository.PublishersRepository import kotlinx.coroutines.flow.MutableStateFlow i...
11
Kotlin
1
5
96717312b7a5090901c8604cd069d9468995e99e
1,743
toshokan-android
MIT License
example/customize-everything/customize-everything.main.kts
fiddlededee
835,952,301
false
null
#!/usr/bin/env kotlin @file:DependsOn("ru.fiddlededee:unidoc-publisher:0.7.4") @file:DependsOn("org.redundent:kotlin-xml-builder:1.9.0") import org.redundent.kotlin.xml.Node as XmlNode import converter.FodtConverter import fodt.parseStringAsXML import model.* import reader.GenericHtmlReader import reader.HtmlNode impo...
1
null
1
6
790e915d0d44226b63f906e95fe21d9f401967ec
2,754
unidoc-publisher
Apache License 2.0
subprojects/configuration-cache/src/main/kotlin/org/gradle/configurationcache/RelevantProjectsRegistry.kt
gradle
302,322
false
null
/* * Copyright 2020 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...
2,095
null
3792
13,076
c1b02a85c1d02816ba0c59fd02b656f6187a4472
2,001
gradle
Apache License 2.0
app/src/main/java/com/kickstarter/services/mutations/CreateCheckoutData.kt
kickstarter
76,278,501
false
null
package com.kickstarter.services.mutations import com.kickstarter.libs.RefTag import com.kickstarter.models.Project import com.kickstarter.models.Reward data class CreateCheckoutData(val project: Project, val amount: String, val locationId: String?, val rewardsIds: List<Reward> = listOf(), val refTag: RefTag?)
8
null
989
5,752
a9187fb484c4d12137c7919a2a53339d67cab0cb
314
android-oss
Apache License 2.0
user/src/main/java/com/harera/hyperpanda/HyperPandaApp.kt
hassan0shaban
297,707,874
false
{"Kotlin": 335864}
package com.harera.hyperpanda import android.app.Application import com.google.firebase.FirebaseApp import com.harera.local.MarketDao import dagger.hilt.android.HiltAndroidApp import javax.inject.Inject @HiltAndroidApp class HyperPandaApp : Application() { @Inject lateinit var database: MarketDao overr...
0
Kotlin
0
0
660c829827b9fc85d1ea5a50a22f82f746637730
427
Hyber-Panda
Apache License 2.0
codegen-renderers/src/main/kotlin/io/vrap/codegen/languages/extensions/DescriptionFacetExtensions.kt
pkbharath
218,032,727
true
{"Kotlin": 495067, "RAML": 38932, "PHP": 5795, "TypeScript": 2505, "Dockerfile": 328, "Shell": 327}
package io.vrap.codegen.languages.extensions import io.vrap.rmf.codegen.doc.toHtml import io.vrap.rmf.raml.model.types.AnnotationsFacet import io.vrap.rmf.raml.model.types.DescriptionFacet import io.vrap.rmf.raml.model.types.ObjectInstance import io.vrap.rmf.raml.model.types.StringInstance import org.commonmark.parser...
0
null
0
0
75db7d8b313b6a90f7daa89fbd2f5d9b2ecaf361
1,727
rmf-codegen
Apache License 2.0
src/main/kotlin/us/frollo/frollosdk/model/api/goals/GoalPeriodResponse.kt
frollous
261,670,220
false
null
/* * Copyright 2019 Frollo * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
6
Kotlin
0
2
0d616cba73516453ed1183d903521204d871df85
1,390
frollo-android-sdk
Apache License 2.0
src/main/kotlin/no/skatteetaten/aurora/mokey/service/OpenShiftUserClient.kt
Skatteetaten
104,215,122
false
null
package no.skatteetaten.aurora.mokey.service import com.fkorotkov.kubernetes.metadata import com.fkorotkov.kubernetes.newNamespace import io.fabric8.kubernetes.api.model.Namespace import io.fabric8.kubernetes.api.model.authorization.SelfSubjectAccessReview import io.fabric8.openshift.api.model.Project import kotlinx.c...
1
Kotlin
0
2
4e4aaad197f0617c2d5424e353cbd6a6815ea824
1,539
mokey
Apache License 2.0
app/src/main/java/io/horizontalsystems/bankwallet/modules/safe4/wsafe2safe/SendWsafeService.kt
SAFE-anwang
438,491,711
false
null
package io.horizontalsystems.bankwallet.modules.safe4.wsafe2safe import io.horizontalsystems.bankwallet.R import io.horizontalsystems.bankwallet.core.Clearable import io.horizontalsystems.bankwallet.core.ISendEthereumAdapter import io.horizontalsystems.bankwallet.core.providers.Translator import io.horizontalsystems.b...
0
null
3
3
a6fb06ea11a0cb366dcf093dcbeb053e628877a9
6,020
SafeWallet-android
MIT License
analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/declarations/KotlinCompositeDeclarationProvider.kt
JetBrains
3,432,266
false
null
/* * Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.analysis.providers.impl.declarationProviders import org.jetbrains.kotlin.analysi...
182
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
3,866
kotlin
Apache License 2.0
idea/tests/testData/codeInsight/hints/types/QualifiedReferences.kt
JetBrains
278,369,660
false
null
// MODE: local_variable package p class A { class B { class C { class D } } inner class E enum class F { enumCase } } fun foo() { val v1 = A.B.C.D() val v2 = p.A.B.C.D() val v3/*<# : |[p.A.E:kotlin.fqn.class]A.E #>*/ = A().E() val v4 = p.A.F.enumCase val v...
284
null
5162
82
cc81d7505bc3e9ad503d706998ae8026c067e838
359
intellij-kotlin
Apache License 2.0
src/commonMain/kotlin/requests/InquireBalance.kt
devngho
565,833,597
false
null
package io.github.devngho.kisopenapi.requests import com.ionspin.kotlin.bignum.decimal.BigDecimal import com.ionspin.kotlin.bignum.integer.BigInteger import io.github.devngho.kisopenapi.KisOpenApi import io.github.devngho.kisopenapi.requests.response.* import io.github.devngho.kisopenapi.requests.util.* import io.gith...
0
Kotlin
1
2
ebd6cb1aeafe74bd4efb84a16daff384a88a5291
9,480
kt_kisopenapi
MIT License
app/src/main/java/com/mk/sheets/compose/samples/CalendarSample1.kt
maxkeppeler
523,345,776
false
null
/* * Copyright (C) 2022-2023. <NAME> (https://www.maxkeppeler.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
8
null
6
816
2af41f317228e982e261522717b6ef5838cd8b58
2,046
sheets-compose-dialogs
Apache License 2.0
lib/src/test/java/tech/relaycorp/awaladroid/test/MockContextTestCase.kt
relaycorp
327,584,039
false
null
package tech.relaycorp.awaladroid.test import com.nhaarman.mockitokotlin2.mock import com.nhaarman.mockitokotlin2.whenever import org.junit.After import org.junit.Before import org.mockito.internal.util.MockUtil import tech.relaycorp.awaladroid.AwalaContext import tech.relaycorp.awaladroid.GatewayClientImpl import tec...
9
null
1
2
aee9c5f736b4c65a0e1c3fe4848d10693caa6fec
6,440
awala-endpoint-android
Apache License 2.0
superior-common-parser/src/main/kotlin/io/github/melin/superior/common/relational/SchemaId.kt
melin
140,644,913
false
{"ANTLR": 1556606, "Kotlin": 735308, "Java": 43462}
package io.github.melin.superior.common.relational import org.apache.commons.lang3.StringUtils data class SchemaId(val catalogName: String?, val schemaName: String) { companion object { @JvmStatic fun of(schemaName: String) = SchemaId(schemaName) @JvmStatic fun of(catalogName: String, schemaName...
5
ANTLR
98
286
76a3043b8e0a161e1073f6c0be452fcfe9eca904
795
superior-sql-parser
Apache License 2.0
packages/library-base/src/commonMain/kotlin/io/realm/kotlin/internal/Mediator.kt
realm
235,075,339
false
{"Kotlin": 4564631, "C++": 126122, "SWIG": 26070, "Shell": 23822, "C": 5126, "CMake": 2858, "Ruby": 1586, "Java": 1470}
/* * Copyright 2021 Realm Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
242
Kotlin
57
942
df49eefacba8f57653e232203f44003643468463
1,220
realm-kotlin
Apache License 2.0
app/src/main/kotlin/com/tajmoti/tulip/db/entity/userdata/DbFavoriteTmdbItem.kt
Tajmoti
391,138,914
false
null
package com.tajmoti.tulip.db.entity.userdata import androidx.room.Entity import com.tajmoti.libtulip.model.info.ItemType @Entity(primaryKeys = ["type", "tmdbItemId"]) data class DbFavoriteTmdbItem( val type: ItemType, val tmdbItemId: Long )
6
Kotlin
0
1
7dd02fe23b3205967e02d0efff2b7efd191fe138
251
Tulip
MIT License
app/src/main/java/com/mayokunadeniyi/instantweather/data/model/LocationModel.kt
mayokunadeniyi
236,161,392
false
{"Kotlin": 177122, "Ruby": 955}
package com.mayokunadeniyi.instantweather.data.model /** * Created by Mayokun Adeniyi on 17/03/2020. */ data class LocationModel( val longitude: Double, val latitude: Double )
9
Kotlin
163
763
52cc36b3bd17faf121fa72e1dd3e68eb6f58795d
187
Instant-Weather
MIT License
src/main/kotlin/com/github/elexx/spaarpot/application/SpaarpotApplication.kt
elexx
142,576,576
false
null
package com.github.elexx.spaarpot.application import com.github.elexx.spaarpot.events.ShutdownEvent import tornadofx.* fun main(args: Array<String>) = launch<SpaarpotApplication>(args) class SpaarpotApplication : App(MainWindow::class, Styles::class) { override fun stop() { fire(ShutdownEvent) su...
0
Kotlin
0
0
ff95aa633cfad98350d9878e3fe2b529d819a112
339
spaarpot
Apache License 2.0
test/dev/eakin/dao/primes/MyLinkedList.kt
GregEakin
244,196,646
false
null
/* * Copyright (c) 2020. Greg Eakin * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
0
Kotlin
0
0
0cb708fc2c6f83cd2c1619001691c404d1603659
892
NutrishSr28.Kotlin
Apache License 2.0
discord-bot/src/commonMain/kotlin/service/Environment.kt
SPYunderscore04
640,315,150
false
{"Kotlin": 7608}
package service import util.getEnvVariable import util.lazyLogger private val log by lazyLogger(Environment::class) object Environment { val discordBotToken = getEnvVariable("DISCORD_BOT_TOKEN") init { log.trace { "Environment initialized" } } }
0
Kotlin
0
0
d6fd70ce040bcfbb6d3103a4d5967579a2d9159b
270
Lili
MIT License
model/com/example/todo/TodoRemote.kt
kotlin-everywhere
74,202,701
false
null
package com.example.todo import com.github.kotlin_everywhere.rpc.Remote import com.github.kotlin_everywhere.rpc.get import com.github.kotlin_everywhere.rpc.post import com.github.kotlin_everywhere.rpc.put import com.github.kotlin_everywhere.rpc.delete import java.util.* class TodoRemote : Remote() { val add = pos...
0
Kotlin
0
0
dbf5a714dc3b94d91a580d55ba8282d69491206e
615
kotlin-everywhere-todo
MIT License
Backpack/src/main/java/net/skyscanner/backpack/flare/BpkFlare.kt
Skyscanner
117,813,847
false
null
/** * Backpack for Android - Skyscanner's Design System * * Copyright 2018-2021 Skyscanner Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LI...
8
null
32
94
9b5448b446c7bc46560e430595829e5f4f090e6b
9,359
backpack-android
Apache License 2.0
codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/AddProtocols.kt
awslabs
278,475,105
false
{"Swift": 264012689, "Kotlin": 353669, "Smithy": 100541, "Shell": 23167, "Dockerfile": 879}
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ package software.amazon.smithy.aws.swift.codegen import software.amazon.smithy.aws.swift.codegen.protocols.awsjson.AWSJSON1_0ProtocolGenerator import software.amazon.smithy.aws.swift.codegen.protocols.a...
143
Swift
78
398
08334ae7385b08c14d01dfb961df8632761a9647
1,520
aws-sdk-swift
Apache License 2.0
implementation/src/main/kotlin/com/aoc/image/utility/ImageDataAssembler.kt
TomPlum
227,887,094
false
null
package com.aoc.image.utility import com.aoc.image.EncodedSpaceImage import com.aoc.image.Pixel import com.aoc.image.SpaceImageDimensions import com.aoc.image.SpaceImageLayer /** * Assembles the given data string (Format 12020102221010...) into an [EncodedSpaceImage] */ class ImageDataAssembler { fun assemble(...
7
null
1
2
12d47cc9c50aeb9e20bcf110f53d097d8dc3762f
663
advent-of-code-2019
Apache License 2.0
api/coroutines/v1.5.3/src/commonMain/kotlin/dev/whyoleg/ktd/api/chat/SearchPublicChats.kt
whyoleg
202,767,670
false
null
@file:Suppress( "unused" ) @file:UseExperimental( BotsOnly::class, TestingOnly::class ) package dev.whyoleg.ktd.api.chat import dev.whyoleg.ktd.* import dev.whyoleg.ktd.api.* import dev.whyoleg.ktd.api.TdApi.* /** * Searches public chats by looking for specified query in their username and title * Curr...
7
Kotlin
11
45
7284eeabef0bd002dc72634351ab751b048900e9
1,225
ktd
Apache License 2.0
lib/src/main/java/me/ibrahimsn/lib/internal/ext/CoroutineExt.kt
ibrahimsn98
291,533,450
false
null
package me.ibrahimsn.lib.internal.ext import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.withContext internal suspend fun <T> default( block: suspend () -> T ) = withContext(Dispatchers.Default) { block.invoke() } internal suspend fun <T> io( block: suspend () -> T ) = withContext(Dispatcher...
5
null
24
96
d152d0e784e1b0f55e02bc81a449735435e59b15
349
PhoneNumberKit
Apache License 2.0
0385.Mini Parser.kt
sarvex
842,260,390
false
{"Kotlin": 1775678, "PowerShell": 418}
/** * // This is the interface that allows for creating nested lists. * // You should not implement it, or speculate about its implementation * public interface NestedInteger { * // Constructor initializes an empty nested list. * public NestedInteger(); * * // Constructor initializes a single integer. * public ...
0
Kotlin
0
0
17a80985d970c8316fb694e4952692e598d700af
1,699
kotlin-leetcode
MIT License
platform/android/goldengate/GoldenGateConnectionManager/src/test/java/com/fitbit/goldengate/stackservice/CoapStackServiceProviderTest.kt
vedangshah
263,597,650
true
{"C": 2261205, "C++": 760746, "Kotlin": 743036, "Swift": 646307, "Objective-C": 133325, "CMake": 119304, "Python": 114534, "JavaScript": 20929, "HTML": 13841, "Shell": 2660, "Dockerfile": 1379, "Mercury": 817, "Ruby": 165}
// Copyright 2017-2020 Fitbit, Inc // SPDX-License-Identifier: Apache-2.0 package com.fitbit.goldengate.stackservice import com.fitbit.goldengate.bindings.coap.CoapEndpoint import com.fitbit.goldengate.bindings.node.BluetoothAddressNodeKey import com.fitbit.goldengate.node.stack.StackNode import com.fitbit.goldengate...
0
null
0
0
1b50f4eede04927980cd4dbb4c61a625e11f4729
1,021
golden-gate
Apache License 2.0