path
stringlengths
4
280
owner
stringlengths
2
39
repo_id
int64
21.1k
879M
is_fork
bool
2 classes
languages_distribution
stringlengths
13
1.95k
content
stringlengths
7
482k
issues
int64
0
13.9k
main_language
stringclasses
121 values
forks
stringlengths
1
5
stars
int64
0
111k
commit_sha
stringlengths
40
40
size
int64
7
482k
name
stringlengths
1
100
license
stringclasses
93 values
src/main/kotlin/pl/mrugacz95/aoc/day11/day11.kt
mrugacz95
317,354,321
false
null
package pl.mrugacz95.aoc.day11 class Ferry(private var seats: List<String>, private val tolerance: Int, closeNeighbourhood: Boolean = true) { companion object { const val EMPTY = 'L' const val OCCUPIED = '#' } private val checker = when (closeNeighbourhood) { true -> CloseNeighbou...
0
Kotlin
0
1
a2f7674a8f81f16cd693854d9f564b52ce6aaaaf
3,441
advent-of-code-2020
Do What The F*ck You Want To Public License
src/main/kotlin/ch/leadrian/samp/kamp/cidl/parser/InterfaceDefinitionSource.kt
Double-O-Seven
142,360,449
false
null
package ch.leadrian.samp.kamp.cidl.parser import java.io.InputStream interface InterfaceDefinitionSource { fun getInputStream(): InputStream }
0
Kotlin
0
0
c993feb277b3970504a3202eb96e6eedd829fa9e
150
cidl-kotlin
Apache License 2.0
app/web3proxy/src/main/kotlin/io/hamal/app/web3proxy/eth/http/EthController.kt
hamal-io
622,870,037
false
{"Kotlin": 3316689, "C": 1401511, "TypeScript": 450023, "Lua": 193995, "C++": 40651, "Makefile": 11728, "Java": 7564, "JavaScript": 5832, "SCSS": 5191, "CMake": 2838, "CSS": 1626, "HTML": 1245, "Shell": 993}
package io.hamal.app.web3proxy.eth.http import io.hamal.app.web3proxy.eth.handler.HandleEthRequest import io.hamal.lib.common.hot.HotArray import io.hamal.lib.common.hot.HotNode import io.hamal.lib.common.hot.HotObject import io.hamal.lib.web3.evm.chain.eth.domain.EthRequest import io.hamal.lib.web3.evm.chain.eth.doma...
44
Kotlin
0
0
1c9b1ad3368823ad9c339b6a56532a602cef7c63
1,832
hamal
Creative Commons Zero v1.0 Universal
src/main/kotlin/com/grudus/planshboard/stats/StatsService.kt
grudus
115,259,708
false
null
package com.grudus.planshboard.stats import com.grudus.planshboard.commons.Id import com.grudus.planshboard.stats.models.OpponentCount import com.grudus.planshboard.stats.models.StatsDto import org.springframework.beans.factory.annotation.Autowired import org.springframework.stereotype.Service @Service class StatsSer...
0
Kotlin
0
1
1b9fd909a75d5b0883e8ff39be9aa299bf0ff3ff
958
Planshboard
Apache License 2.0
app/src/main/java/br/alexandregpereira/abacate/ui/component/ActionHeader.kt
alexandregpereira
345,202,106
false
null
package br.alexandregpereira.abacate.ui.component import androidx.compose.animation.* import androidx.compose.animation.core.* import androidx.compose.foundation.background import androidx.compose.foundation.border import androidx.compose.foundation.horizontalScroll import androidx.compose.foundation.layout.* import a...
0
Kotlin
0
0
ae293bb119f7b78e08856ef5bb7006bb81e7446f
6,953
abacate
Apache License 2.0
pleo-antaeus-models/src/main/kotlin/io/pleo/antaeus/models/BillingStatus.kt
screaminbug
327,298,788
true
{"Kotlin": 45194, "Shell": 861, "Dockerfile": 249}
package io.pleo.antaeus.models enum class BillingStatus { ACCEPTED, DECLINED, UNKNOWN_USER, UNSUPPORTED_CURRENCY, COMMUNICATION_PROBLEM, GENERAL_FAILURE }
0
Kotlin
0
0
91b0e59a04d5d2df1dd3f12c6860acdac089bb04
179
antaeus
Creative Commons Zero v1.0 Universal
rounded/src/commonMain/kotlin/me/localx/icons/rounded/bold/CalendarStar.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
4,184
icons
MIT License
gi/src/commonMain/kotlin/org/anime_game_servers/multi_proto/gi/data/scene/group_link/GroupLinkBundle.kt
Anime-Game-Servers
642,871,918
false
{"Kotlin": 1651536}
package org.anime_game_servers.multi_proto.gi.data.scene.group_link import org.anime_game_servers.core.base.Version.GI_2_1_0 import org.anime_game_servers.core.base.Version.GI_2_4_0 import org.anime_game_servers.core.base.annotations.AddedIn import org.anime_game_servers.core.base.annotations.proto.ProtoModel import o...
0
Kotlin
2
6
7639afe4f546aa5bbd9b4afc9c06c17f9547c588
614
anime-game-multi-proto
MIT License
src/test/kotlin/uk/gov/justice/digital/hmpps/hmppsactivitiesmanagementapi/service/OffenderDeallocationServiceTest.kt
ministryofjustice
533,838,017
false
null
package uk.gov.justice.digital.hmpps.hmppsactivitiesmanagementapi.service import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test import org.mockito.kotlin.any import org.mockito.kotlin.mock import org.mockito.kotlin.never import org.mockito.kotlin.verify import org.mockito.kotlin.whenever ...
2
Kotlin
0
1
b69e4aee7a632f614ec8edb5a591503dc90a1909
4,597
hmpps-activities-management-api
MIT License
domain/src/main/java/com/bacon/domain/models/LocationsModel.kt
ItsTheBacon
420,929,644
false
{"Kotlin": 66256}
package com.bacon.domain.models data class LocationsModel( val id: Int, var name: String? = null, var type: String? = null, var dimension: String? = null, var created: String? = null, )
0
Kotlin
2
5
3205db33cc336714cb63d51bd82d1927ad412c6e
212
RickAndMortyApp
MIT License
prl-compiler/generated/src/main/kotlin/com/booleworks/prl/model/protobuf/PbDateRangeKt.kt
booleworks
721,827,334
false
{"Kotlin": 1495826, "JavaScript": 835976, "Vue": 132739, "TypeScript": 50565, "Java": 32652, "ANTLR": 15836, "Lex": 3646, "CSS": 2243, "Shell": 1735, "Dockerfile": 681, "Scheme": 505}
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: model_primitives.proto // Generated files should ignore deprecation warnings @file:Suppress("DEPRECATION") package com.booleworks.prl.model.protobuf; @kotlin.jvm.JvmName("-initializepbDateRange") public inline fun pbDateRange(block: com.booleworks....
0
Kotlin
0
1
5a7c0836dc1ccea8a30ccabe3a5f4671348da967
5,245
boolerules
MIT License
src/test/kotlin/uk/gov/justice/digital/hmpps/hmppsaccreditedprogrammesapi/participationhistory/domain/CourseParticipationTest.kt
ministryofjustice
615,402,552
false
{"Kotlin": 215257, "Shell": 10680, "Dockerfile": 1397}
package uk.gov.justice.digital.hmpps.hmppsaccreditedprogrammesapi.participationhistory.domain import io.kotest.assertions.throwables.shouldNotThrowAny import io.kotest.assertions.throwables.shouldThrow import org.junit.jupiter.api.Test import uk.gov.justice.digital.hmpps.hmppsaccreditedprogrammesapi.common.domain.Busi...
0
Kotlin
0
0
f15f6d5030a8bd93970c82afd832c821de3f2c1e
1,865
hmpps-accredited-programmes-api
MIT License
TLDMaths/src/main/kotlin/uk/tldcode/math/tldmaths/biginteger/Operaters.kt
Thelonedevil
78,237,775
false
null
package uk.tldcode.math.tldmaths.biginteger import java.math.BigInteger operator fun BigInteger.inc(): BigInteger = this + BigInteger.ONE operator fun BigInteger.dec(): BigInteger = this - BigInteger.ONE operator fun BigInteger.rangeTo(other: BigInteger): BigIntegerRange = BigIntegerRange(this, other) infix fun BigI...
0
Kotlin
0
0
c35095888fe85506840b7c1ec04e21673153370c
657
TLDMaths
Apache License 2.0
backend/src/main/kotlin/men/brakh/bsuirstudent/domain/iis/faculty/mapping/FacultyBsuirMapping.kt
N1ghtF1re
184,453,033
false
null
package men.brakh.bsuirstudent.domain.iis.faculty.mapping import men.brakh.bsuirstudent.application.bsuir.FacultyBsuirDto import men.brakh.bsuirstudent.application.bsuir.SpecialityBsuirDto import men.brakh.bsuirstudent.domain.iis.faculty.EducationForm import men.brakh.bsuirstudent.domain.iis.faculty.Faculty import men...
0
Kotlin
0
9
a4cd806c4658eb2aa736aa40daf47b19d39df80f
1,786
Bsuir-Additional-Api
Apache License 2.0
app/src/main/java/org/unifiedpush/distributor/noprovider2push/services/Listener.kt
NoProvider2Push
321,762,293
false
null
package org.unifiedpush.distributor.noprovider2push.services import android.app.Notification import android.app.NotificationChannel import android.app.NotificationManager import android.app.Service import android.content.Context import android.content.Intent import android.os.Build import android.os.IBinder import and...
12
Kotlin
0
8
83b026c14037e5beb2e63fc755fb25e324d46bdc
4,670
android
Apache License 2.0
startup-ksp-compiler/src/main/java/com/kronos/startup/ksp/compiler/utils/CollectionsExtensions.kt
Leifzhang
431,806,948
false
null
package com.kronos.startup.ksp.compiler.utils /** * * @Author LiABao * @Since 2022/1/11 * */ internal fun <K, V> MutableMap<K, V>.getValueByDefault(key: K, function: () -> V): V { if (!containsKey(key)) { this[key] = function.invoke() } return requireNotNull(this[key]) }
0
Kotlin
8
47
883e2be9c1c6b19714fa74c803bd517fad081944
299
AndroidStartup
Apache License 2.0
startup-ksp-compiler/src/main/java/com/kronos/startup/ksp/compiler/utils/CollectionsExtensions.kt
Leifzhang
431,806,948
false
null
package com.kronos.startup.ksp.compiler.utils /** * * @Author LiABao * @Since 2022/1/11 * */ internal fun <K, V> MutableMap<K, V>.getValueByDefault(key: K, function: () -> V): V { if (!containsKey(key)) { this[key] = function.invoke() } return requireNotNull(this[key]) }
0
Kotlin
8
47
883e2be9c1c6b19714fa74c803bd517fad081944
299
AndroidStartup
Apache License 2.0
src/main/kotlin/no/nav/syfo/httpclient/HttpClientFactory.kt
navikt
327,823,627
false
null
package no.nav.syfo.httpclient import com.fasterxml.jackson.databind.DeserializationFeature import com.fasterxml.jackson.databind.SerializationFeature import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule import com.fasterxml.jackson.module.kotlin.registerKotlinModule import io.ktor.client.HttpClient import io.k...
0
Kotlin
0
0
4209045b0831a165ceb8c694afd31de47e274325
1,706
syfonlaltinn
MIT License
src/main/kotlin/eti/lucasgomes/mercadolivro/events/listener/GenerateNfeListener.kt
lucasgomes-eti
652,861,178
false
null
package eti.lucasgomes.mercadolivro.events.listener import eti.lucasgomes.mercadolivro.events.PurchaseEvent import eti.lucasgomes.mercadolivro.service.PurchaseService import org.springframework.context.event.EventListener import org.springframework.scheduling.annotation.Async import org.springframework.stereotype.Comp...
0
Kotlin
0
0
53626c70941834245beed06b8edb557bd61740a4
694
mercado-livro
Apache License 2.0
app/src/main/java/com/andre_max/tiktokclone/presentation/ui/profile/MeFragment.kt
Andre-max
291,054,765
false
null
/* * MIT License * * Copyright (c) 2021 Andre-max * * 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...
7
Kotlin
27
56
0dcbc62d6b7d388744c213881a8125157eaf51e2
2,491
TikTok-Clone
MIT License
app/src/main/java/org/p2p/wallet/solend/ui/withdraw/SolendWithdrawContract.kt
p2p-org
306,035,988
false
null
package org.p2p.wallet.solend.ui.withdraw import androidx.annotation.StringRes import org.p2p.wallet.common.mvp.MvpPresenter import org.p2p.wallet.common.mvp.MvpView import org.p2p.wallet.solend.model.SolendDepositToken import org.p2p.wallet.solend.model.SolendTransactionDetailsState import java.math.BigDecimal inter...
8
Kotlin
16
28
71b282491cdafd26be1ffc412a971daaa9c06c61
1,410
key-app-android
MIT License
composeApp/src/commonMain/kotlin/com/jetbrains/kmpapp/viewmodel/BaseViewModel.kt
nitinnexgeniots
785,100,643
false
{"Kotlin": 75780, "Swift": 661}
package com.jetbrains.kmpapp.viewmodel import dev.icerock.moko.mvvm.viewmodel.ViewModel import dev.icerock.moko.parcelize.Parcelable import kotlinx.coroutines.flow.MutableSharedFlow import kotlinx.coroutines.channels.Channel import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.catch import kotlinx.corou...
0
Kotlin
0
0
cd09dd9b4fdcd51ae6ef35f7d579b8d76f64f32e
516
KMP-App-Sample
Apache License 2.0
feature/media/common/view/api/src/main/kotlin/com/savvasdalkitsis/uhuruphotos/feature/media/common/view/api/ui/DeleteFullySyncedPermissionDialog.kt
savvasdalkitsis
485,908,521
false
{"Kotlin": 2402997, "Ruby": 1294, "PowerShell": 325, "Shell": 158}
/* 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 agreed to in writing, software distribu...
45
Kotlin
24
296
09ba2d9d05dc177fbea09da907d51610e8640805
1,956
uhuruphotos-android
Apache License 2.0
common/src/main/java/com/example/common/ui/component/HiAbsListFragment.kt
xhh4215
435,793,681
false
{"Kotlin": 327550, "Java": 107540}
package com.example.common.ui.component import android.os.Bundle import android.view.View import androidx.annotation.CallSuper import androidx.core.widget.ContentLoadingProgressBar import androidx.recyclerview.widget.LinearLayoutManager import androidx.recyclerview.widget.RecyclerView import com.example.common.R impor...
0
Kotlin
0
1
e2359ee06795c6b37b24ffc2a3dbe9f4159ba435
4,194
ShopApp
Apache License 2.0
testcaller/src/test/kotlin/pers/shawxingkwok/test/util/testPhone.kt
ShawxingKwok
702,423,277
false
{"Kotlin": 94903, "HTML": 273}
package pers.shawxingkwok.test.util import io.ktor.client.* import io.ktor.client.engine.* import io.ktor.server.application.* import io.ktor.server.routing.* import io.ktor.server.testing.* import pers.shawxingkwok.test.client.Phone import kotlin.reflect.full.declaredFunctions import kotlin.reflect.full.isSupertypeOf...
0
Kotlin
0
0
ea3924ed9ca8b24148e8ea2ff505f687f7c875a1
1,302
Phone
Apache License 2.0
subprojects/android-test/ui-testing-core-app/src/main/kotlin/com/avito/android/ui/BitmapActivity.kt
avito-tech
230,265,582
false
{"Kotlin": 3573291, "Java": 67252, "Shell": 27675, "Dockerfile": 12799, "Makefile": 7970}
package com.avito.android.ui import android.os.Bundle import androidx.appcompat.app.AppCompatActivity class BitmapActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_bitmap) } }
10
Kotlin
48
393
accdcfc1f34054978018e583702ac3b4c808b6ee
307
avito-android
MIT License
src/main/kotlin/com/bydgoszcz/worldsimulation/worlds/World.kt
mniami
118,100,266
false
null
package com.bydgoszcz.worldsimulation.worlds import com.bydgoszcz.worldsimulation.helpers.RandomHelper import com.bydgoszcz.worldsimulation.history.HistoryLog import com.bydgoszcz.worldsimulation.items.* import com.bydgoszcz.worldsimulation.science.DnaHelper import com.bydgoszcz.worldsimulation.science.Science import ...
0
Kotlin
0
0
4d3e7d7edcb81e36a8eb9b57c86a8a9251a38ca8
810
wypieki
MIT License
demo/src/release/java/com/nextfaze/devfun/demo/inject/BuildType.kt
suclike
98,347,273
true
{"Kotlin": 378699, "Prolog": 1350, "CSS": 355}
package com.nextfaze.devfun.demo.inject import dagger.Module @Module class BuildTypeModule
0
Kotlin
0
0
af96685910e76a00161b26e1962130dace7e80a9
93
dev-fun
Apache License 2.0
kotlin/bankaccount/src/main/kotlin/com/tk/bankaccount/AccountRepository.kt
Thiago-Kuhl
378,936,465
false
{"JavaScript": 56509, "Kotlin": 56230, "HTML": 342}
package com.tk.bankaccount import org.springframework.data.mongodb.repository.MongoRepository import java.util.Optional interface AccountRepository : MongoRepository<Account, String> { fun findByDocument(document: String): Optional<Account> }
0
JavaScript
0
0
0c6d9f0a99c97f58f12e7609e44a4bd351751798
248
my-lab
MIT License
browser-kotlin/src/jsMain/kotlin/web/svg/SVGFEDropShadowElement.kt
karakum-team
393,199,102
false
{"Kotlin": 6272741}
// Automatically generated - do not modify! package web.svg /** * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDropShadowElement) */ open external class SVGFEDropShadowElement private constructor() : SVGElement, SVGFilterPrimitiveStandardAttributes { val dx: SVGAnimatedNumber val ...
0
Kotlin
8
36
95b065622a9445caf058ad2581f4c91f9e2b0d91
548
types-kotlin
Apache License 2.0
kompack-kotlin-serialization/src/commonTest/kotlin/com/wunderbee/kompack/mpack/coders/DecodingSpeed.kt
dedee
621,699,131
false
null
package com.wunderbee.kompack.mpack.coders import com.wunderbee.kompack.mpack.pack.InMemoryPacker import kotlin.test.Test import kotlin.time.ExperimentalTime import kotlin.time.measureTime class DecodingSpeed { @OptIn(ExperimentalTime::class) @Test fun measureDecodingSpeed() { val book = BookUtil...
7
Kotlin
0
0
62ddc06864526bfcacdb2575b7eb91d576a684af
1,258
kompack
Apache License 2.0
Sushi/app/src/main/java/com/destructo/sushi/model/jikan/anime/support/Episode.kt
destructo570
302,356,237
false
null
package com.destructo.sushi.model.jikan.anime.support import com.squareup.moshi.Json data class Episode( @Json(name = "aired") val aired: String?=null, @Json(name = "episode_id") val episodeId: Int?=null, @Json(name = "filler") val filler: Boolean?=null, @Json(name = "forum_url") val ...
3
Kotlin
5
21
68317c04caa596103d3fd32b0f34fe43b189a721
659
Sushi-Unofficial-MAL-Client
Apache License 2.0
GaiaXAndroid/src/main/kotlin/com/alibaba/gaiax/render/view/GXViewTreeUpdater.kt
MXPDS6688
471,274,978
true
{"Kotlin": 608909, "Objective-C": 581902, "C++": 171660, "CSS": 123633, "Java": 106171, "Objective-C++": 59923, "C": 10418, "Ruby": 2635, "Swift": 2336, "Shell": 2268, "CMake": 2213}
/* * Copyright (c) 2021, Alibaba Group Holding 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 applica...
0
Kotlin
0
0
3a0107a6be36ff3650dc5fbb482f8819f86bf0e2
1,815
GaiaX
Apache License 2.0
app/src/main/java/com/ralphdugue/shiftydroid/models/Shift.kt
rdugue
91,661,459
false
null
package com.ralphdugue.shiftydroid.models /** * Created by Ralph on 5/26/2017. */
0
Kotlin
0
0
302659b908eb93dd63e911f0b20c1f999c544ed2
85
ShiftyDroid
Apache License 2.0
src/test/kotlin/com/depromeet/makers/domain/usecase/RefreshSessionCodeTest.kt
depromeet
792,152,807
false
{"Kotlin": 227716}
package com.depromeet.makers.domain.usecase import com.depromeet.makers.domain.gateway.SessionGateway import com.depromeet.makers.domain.model.Place import com.depromeet.makers.domain.model.Session import com.depromeet.makers.domain.model.SessionType import io.kotest.core.spec.style.BehaviorSpec import io.kotest.match...
2
Kotlin
1
12
b6b4a12497b4f2091538ac9db130290d2a85c1c6
2,202
depromeet-makers-be
MIT License
app/src/main/kotlin/com/mlshv/dayree/util/AudioRecorder.kt
mlshv
73,482,745
false
null
package com.mlshv.dayree.util import android.media.MediaPlayer import android.media.MediaRecorder import android.util.Log import java.io.IOException class AudioRecorder { private val LOG_TAG = "AudioRecorder" private var mRecorder: MediaRecorder? = null private var mPlayer: MediaPlayer? = null private...
0
Kotlin
0
0
476cb760c52acefba04891a845a60036c4b4cca7
1,420
DayRee
Apache License 2.0
app/src/main/java/xyz/junerver/composehooks/net/bean/License.kt
junerver
767,292,867
false
{"Kotlin": 221216}
package xyz.junerver.composehooks.net.bean import android.os.Parcelable import kotlinx.parcelize.Parcelize @Parcelize data class License( val key: String, val name: String, val node_id: String, val spdx_id: String, val url: String, ) : Parcelable
0
Kotlin
0
8
62ceed502dc25bea6f77ad27e926ac023c7425e3
269
ComposeHooks
Apache License 2.0
app/src/main/java/apps/jizzu/simpletodo/utils/Interpolator.kt
VineshChauhan24
173,085,905
true
{"Kotlin": 97951, "Java": 1131}
package apps.jizzu.simpletodo.utils class Interpolator(private val mAmplitude: Double, private val mFrequency: Double) : android.view.animation.Interpolator { override fun getInterpolation(time: Float): Float { return (-1.0 * Math.pow(Math.E, -time / mAmplitude) * Math.cos(mFrequency * tim...
0
Kotlin
0
0
7d9d67baac30f207c5f12d7b8c6434727d964118
346
SimpleToDo
MIT License
smithy-swift-codegen/src/main/kotlin/software/amazon/smithy/swift/codegen/integration/serde/readwrite/NodeInfoUtils.kt
smithy-lang
242,852,561
false
{"Kotlin": 1074098, "Swift": 1014625, "Smithy": 121646, "Shell": 1807, "Objective-C": 136}
package software.amazon.smithy.swift.codegen.integration.serde.readwrite import software.amazon.smithy.aws.traits.protocols.Ec2QueryNameTrait import software.amazon.smithy.model.shapes.MemberShape import software.amazon.smithy.model.shapes.Shape import software.amazon.smithy.model.traits.JsonNameTrait import software....
9
Kotlin
27
28
9e614f2c3e372ddb674fe525356a3d3b6333069d
4,565
smithy-swift
Apache License 2.0
library/src/test/java/com/stylingandroid/prefekt/internal/PrefektLiveDataTest.kt
StylingAndroid
120,488,765
false
null
package com.stylingandroid.prefekt.internal import android.arch.lifecycle.Observer import com.nhaarman.mockito_kotlin.never import com.nhaarman.mockito_kotlin.times import com.nhaarman.mockito_kotlin.verify import com.stylingandroid.prefekt.BaseUnitTest import com.stylingandroid.prefekt.InstantTaskExecutorExtension im...
2
Kotlin
9
206
5e0a7d5ef462b88e031db7602b4b8b2816b9cb99
5,313
Prefekt
Apache License 2.0
src/main/kotlin/us/sodiumlabs/ServerProvider.kt
napentathol
98,761,068
false
null
package us.sodiumlabs import net.fabricmc.api.EnvType import net.fabricmc.loader.api.FabricLoader import net.minecraft.client.Minecraft import net.minecraft.server.MinecraftServer import java.util.Optional object ServerProvider { fun getServer(): Optional<MinecraftServer> { return if (FabricLoader.getInst...
0
Kotlin
0
0
83b2ba11940f34f643adfe603ced88d052851713
559
SodiumLabsPlugin
MIT License
shared/src/iosMain/kotlin/com/prof18/feedflow/domain/opml/OpmlOutput.kt
prof18
600,257,020
false
null
package com.prof18.feedflow.domain.opml import platform.Foundation.NSURL actual data class OpmlOutput( val url: NSURL, )
0
Kotlin
4
97
e3d2ae617a067c0484d414c34fc4ae87630e3b7a
127
feed-flow
Apache License 2.0
module_system/src/main/java/com/jason/system/vm/NavViewModel.kt
JasonXuJie
388,685,777
false
null
package com.jason.system.vm import androidx.lifecycle.MutableLiveData import com.jason.common.base.BaseViewModel import com.jason.net.bean.ResState import com.jason.system.model.NavData import com.jason.system.model.NavRepo import dagger.hilt.android.lifecycle.HiltViewModel import javax.inject.Inject @HiltViewModel ...
0
Kotlin
0
1
fd6b68c198e16aa8390338fc0dbb419e73e094bc
817
KotlinWanAndroid
Apache License 2.0
plugin-dotnet-server/src/main/kotlin/jetbrains/buildServer/script/CSharpScriptRunTypePropertiesProcessor.kt
JetBrains
49,584,664
false
{"Kotlin": 2668816, "C#": 319761, "Java": 101027, "Dockerfile": 831, "CSS": 726}
/* * Copyright 2000-2023 JetBrains s.r.o. * * 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...
3
Kotlin
25
91
68c95408c1d39158312573573591b8efa4d78cab
2,138
teamcity-dotnet-plugin
Apache License 2.0
app/src/main/java/com/fernandez/gatekeep/SettingsFragment.kt
Kyne0328
615,960,386
false
null
package com.fernandez.gatekeep import android.app.AlertDialog import android.content.Intent import android.net.Uri import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.Button import android.widget.ImageView import android.widget.TextVi...
0
Kotlin
0
1
0e6b919127d9a7dbf0b0706aa3f89c55b724cfc2
10,834
GateKeep
Apache License 2.0
client/src/main/kotlin/io/github/matrixkt/api/GetRoomEvents.kt
abueide
390,591,652
true
{"Kotlin": 794398}
package io.github.matrixkt.api import io.github.matrixkt.models.Direction import io.github.matrixkt.models.events.MatrixEvent import io.github.matrixkt.utils.MatrixRpc import io.github.matrixkt.utils.RpcMethod import io.github.matrixkt.utils.resource.Resource import kotlinx.serialization.Serializable /** * This API ...
0
null
0
0
7284bb42b76e80b4b55579346dc3f117352eb033
3,427
matrix-kt
Apache License 2.0
app-data/src/main/java/com/kotlin/android/app/data/entity/message/BlockStatusResult.kt
R-Gang-H
538,443,254
false
null
package com.kotlin.android.app.data.entity.message import com.kotlin.android.app.data.ProguardRule /** * Created by zhaoninglongfei on 2022/3/21 * 获取好友是否在黑名单 */ data class BlockStatusResult( var bizCode: Long? = 0L,//1:成功 其他:失败 var err: String? = null, var bizData: BlockStatus? = null ) : ProguardRule ...
0
Kotlin
0
1
e63b1f9a28c476c1ce4db8d2570d43a99c0cdb28
492
Mtime
Apache License 2.0
precompose/src/commonMain/kotlin/moe/tlaster/precompose/navigation/route/Route.kt
Tlaster
349,750,473
false
{"Kotlin": 191657}
package moe.tlaster.precompose.navigation.route interface Route { val route: String }
40
Kotlin
49
849
276c933397d94b8dfc60b809942bc38b23d945bd
91
PreCompose
MIT License
src/main/kotlin/com/melowetty/hsepermhelper/utils/DateUtils.kt
Melowetty
682,010,195
false
{"Kotlin": 156043, "Dockerfile": 462}
package com.melowetty.hsepermhelper.utils class DateUtils { companion object { const val DATE_PATTERN = "dd.MM.yyyy" const val DATE_TIME_PATTERN = "dd.MM.yyyy HH:mm:ss" } }
3
Kotlin
0
0
ff44e5ad34e08dc427842e438794590d87624ebe
197
HsePermHelperBackend
MIT License
src/main/kotlin/org/jetbrains/research/testspark/testmanager/java/JavaTestAnalyzer.kt
JetBrains-Research
563,889,235
false
{"Kotlin": 733171, "Java": 5347, "Shell": 1563}
package org.jetbrains.research.testspark.testmanager.java import com.github.javaparser.ParseProblemException import com.github.javaparser.StaticJavaParser import com.github.javaparser.ast.CompilationUnit import com.github.javaparser.ast.body.MethodDeclaration import com.github.javaparser.ast.visitor.VoidVisitorAdapter...
66
Kotlin
19
51
e1553b15f05f8e125f17aba1e062e4f3ad2c00e3
2,903
TestSpark
MIT License
app/src/main/java/com/paypay/currencyconverter/database/models/Rates.kt
mnhmasum
523,544,422
false
null
package com.paypay.currencyconverter.database.models import androidx.room.Entity import com.google.gson.annotations.Expose import com.google.gson.annotations.SerializedName @Entity(tableName = "currency_rate") class Rates { @SerializedName("AED") var aed: Double? = null @SerializedName("AFN") var afn...
0
Kotlin
0
2
d1e1a4288748388ef4ef5a7a19937e37d285329e
9,705
Currency-Converter-MVVM
Apache License 2.0
app/src/main/java/org/p2p/wallet/newsend/ui/NewSendContract.kt
p2p-org
306,035,988
false
null
package org.p2p.wallet.newsend.ui import org.p2p.core.common.TextContainer import org.p2p.core.token.Token import org.p2p.uikit.components.UiKitSendDetailsWidgetContract import org.p2p.wallet.common.mvp.MvpPresenter import org.p2p.wallet.common.mvp.MvpView import org.p2p.wallet.send.model.SendFeeTotal import org.p2p.w...
9
Kotlin
14
23
2badf683d824c57654b12ea0c023f96e1a5d0c19
1,540
key-app-android
MIT License
app/src/main/java/org/p2p/wallet/newsend/ui/NewSendContract.kt
p2p-org
306,035,988
false
null
package org.p2p.wallet.newsend.ui import org.p2p.core.common.TextContainer import org.p2p.core.token.Token import org.p2p.uikit.components.UiKitSendDetailsWidgetContract import org.p2p.wallet.common.mvp.MvpPresenter import org.p2p.wallet.common.mvp.MvpView import org.p2p.wallet.send.model.SendFeeTotal import org.p2p.w...
9
Kotlin
14
23
2badf683d824c57654b12ea0c023f96e1a5d0c19
1,540
key-app-android
MIT License
src/main/kotlin/io/openfuture/chain/network/message/core/TransactionMessage.kt
fossabot
160,686,845
true
{"Kotlin": 403732, "Dockerfile": 233, "Shell": 74}
package io.openfuture.chain.network.message.core import io.netty.buffer.ByteBuf import io.openfuture.chain.core.annotation.NoArgConstructor import io.openfuture.chain.network.extension.readString import io.openfuture.chain.network.extension.writeString import io.openfuture.chain.network.serialization.Serializable @No...
0
Kotlin
0
0
5924678aade4147e0f52bc719f41d689085bd57f
1,962
open-chain
MIT License
app/src/main/java/com/ch4019/music/config/Route.kt
CH4019
677,941,702
false
null
package com.ch4019.music.config object AppRoute { const val START_PAGE = "start_page" const val MAIN_PAGE = "main_page" } object MainRoute { const val HOME_PAGE = "home_page" const val LIKE_LIST_PAGE = "like_list_page" const val SONGS_LIST_PAGE = "songs_list_page" const val SETTING_PAGE = "set...
0
Kotlin
0
0
cb65ebabc44d58ea98ba7a2939a87c5c6833e433
373
CandyPlayer
MIT License
Demo/module-base/src/main/java/com/xiaojinzi/component/base/interceptor/CallPhonePermissionInterceptor.kt
xiaojinzi123
574,764,526
false
{"Kotlin": 479775, "Java": 27180}
package com.xiaojinzi.component.base.interceptor import android.Manifest import android.content.pm.PackageManager import androidx.core.app.ActivityCompat import com.xiaojinzi.component.anno.InterceptorAnno import com.xiaojinzi.component.base.RouterConfig import com.xiaojinzi.component.base.api.RouterApi import com.xia...
3
Kotlin
11
99
b575c031f91acadc0debbcc96cf96d8235026116
1,239
KComponent
Apache License 2.0
multiplatform-compose/src/iosX64Main/kotlin/com/rouge41/kmm/compose/ui/text/style/TextOverflow.kt
cl3m
327,994,833
false
null
package com.rouge41.kmm.compose.ui.text.style actual enum class TextOverflow { Clip, Ellipsis, }
1
Kotlin
19
385
8d2059d69a18b76e3672db3fc9c558a31f9ca576
105
multiplatform-compose
Apache License 2.0
app/src/main/java/cc/sovellus/vrcaa/ui/screen/misc/NestedPlaceholderScreen.kt
Nyabsi
745,635,224
false
{"Kotlin": 248120}
package cc.sovellus.vrcaa.ui.screen.misc import android.annotation.SuppressLint import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.material.icons.Icons import androidx.compose.material.icon...
1
Kotlin
1
7
3f16af6b6c0869f292b60c7f941492768949e5ba
2,166
vrcaa
Apache License 2.0
app/src/main/java/com/example/vnmh/util/ShakeDetector.kt
gromov-ivan
719,482,988
false
{"Kotlin": 93191}
package com.example.museumapp.util import android.hardware.Sensor import android.hardware.SensorEvent import android.hardware.SensorEventListener import android.hardware.SensorManager import kotlin.math.pow import kotlin.math.sqrt class ShakeDetector : SensorEventListener { private companion object { cons...
0
Kotlin
2
0
5c14de06b43004952e2dc5937c760c4ed4553374
1,678
VNMH_Guide
MIT License
app/src/main/java/com/fafadiatech/newscout/model/SignUpMessageData.kt
Vicky-Vicky27
484,837,384
true
{"Kotlin": 430654}
package com.fafadiatech.newscout.model data class SignUpMessageData(var header: NewsStatus? = null, var body: MessageBody? = null)
0
null
0
0
aa136721998e6c1fa0ab1e2fa1215584a1384b84
131
newscout_android
Apache License 2.0
app/src/androidTest/java/com/ae/apps/messagecounter/utils/MockCounters.kt
midhunhk
9,828,089
false
{"Kotlin": 148066, "Shell": 1219}
/* * Copyright 2018 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writin...
0
Kotlin
10
21
9319d166daa609813688f2ee891fd4558f377494
1,527
message-counter
Apache License 2.0
miruken/src/main/kotlin/com/miruken/callback/Provider.kt
coridrew
151,555,181
true
{"Kotlin": 521215}
package com.miruken.callback import com.miruken.runtime.componentType import com.miruken.runtime.isCompatibleWith import kotlin.reflect.KType class Provider( private val value: Any, type: KType? = null ) : Handler() { private var _key: Any = type?.componentType ?: value::class @Provides ...
0
Kotlin
0
0
b39c281286eceda5479c0bf3561db9980fcf7f5a
428
Miruken-1
MIT License
robot-name/src/main/kotlin/RobotName.kt
KA-MIN
442,447,607
false
{"HTML": 192045, "JavaScript": 84032, "CSS": 60480, "Kotlin": 51646}
import java.util.Random class Robot { val name: String get() = randomName() fun reset() = randomName() fun randomName(): String { var random = Random() var temp = 'A' + random.nextInt('Z' - 'A') var temp2 = 'A' + random.nextInt('Z' - 'A') var number = random.nextI...
0
HTML
0
0
6ad2e808a5a8e6ab872ac4e8c9e6e47a74731bd5
429
Kotlin
MIT License
src/test/kotlin/dev/shtanko/algorithms/leetcode/IsSumEqualTest.kt
ashtanko
203,993,092
false
{"Kotlin": 7464757, "Shell": 1168, "Makefile": 1144}
/* * 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 agreed to in wr...
6
Kotlin
0
19
5bfd35e51c9076522e46286c3f6e0a81aef5abaa
2,022
kotlab
Apache License 2.0
search-new-component/src/main/java/com/kotlin/android/search/newcomponent/provider/SearchProvider.kt
R-Gang-H
538,443,254
false
null
package com.kotlin.android.search.newcomponent.provider import android.app.Activity import android.content.Context import android.os.Bundle import com.alibaba.android.arouter.facade.annotation.Route import com.kotlin.android.router.RouterManager import com.kotlin.android.app.router.path.RouterActivityPath import com.k...
0
Kotlin
0
1
e63b1f9a28c476c1ce4db8d2570d43a99c0cdb28
2,242
Mtime
Apache License 2.0
app/src/main/java/de/klimek/compass/tile/Tile.kt
Tetr4
299,129,089
false
{"Kotlin": 8847}
package de.klimek.compass.tile import android.service.quicksettings.Tile fun Tile.update(applyChanges: Tile.() -> Unit) { applyChanges() updateTile() }
1
Kotlin
0
4
110b23be85fbd1ad6e0c737b94a945f4d1c3ce91
162
CompassTile
Apache License 2.0
app/src/main/java/com/omo/rememberme/presentation/peopleList/PeopleListScreen.kt
omer358
810,455,324
false
{"Kotlin": 173958}
package com.omo.rememberme.presentation.peopleList import android.content.res.Configuration import androidx.compose.animation.AnimatedContent import androidx.compose.animation.core.Spring import androidx.compose.animation.core.spring import androidx.compose.animation.fadeIn import androidx.compose.animation.fadeOut im...
2
Kotlin
0
0
ce1f2c7860d032b35d86a9ff3aff34a79b95d436
5,156
Remember-Me
MIT License
app/src/main/java/com/citracafe/food/ui/profile/ProfileContract.kt
wahyusantso
585,018,816
false
{"Kotlin": 117972}
package com.citracafe.food.ui.profile import android.net.Uri import com.citracafe.food.data.remote.response.pembeli.Pembeli import com.citracafe.food.utils.base.Base import com.citracafe.food.utils.base.BasePresenter interface ProfileContract { interface View: Base { fun updateSuccess(data: Pembeli) ...
0
Kotlin
0
0
d783ce6aef7fd031da2eec5b8ff6c8db87d49ae0
607
CitraCafeMobile
MIT License
src/main/kotlin/crackers/kobots/buttonboard/buttons/HomeAssistantMenus.kt
EAGrahamJr
647,347,853
false
{"Kotlin": 61741, "Shell": 2873, "Python": 1684}
package crackers.kobots.buttonboard.buttons import crackers.kobots.app.AppCommon import crackers.kobots.buttonboard.GraphicsStuff.DARK_CYAN import crackers.kobots.buttonboard.GraphicsStuff.IMAGE_BED import crackers.kobots.buttonboard.GraphicsStuff.IMAGE_BULB import crackers.kobots.buttonboard.GraphicsStuff.IMAGE_EAR i...
0
Kotlin
0
0
f0e5807c83ebe2a052c8dc15b9a58fefc77112c4
3,615
kobots-buttonboard
Apache License 2.0
player/src/test/java/com/tomasznajda/pulpfiction/util/ExoPlayerExtKtTest.kt
tomasznajda
141,139,295
false
{"Kotlin": 112181}
package com.tomasznajda.pulpfiction.util import com.google.android.exoplayer2.Player import com.google.android.exoplayer2.SimpleExoPlayer import com.nhaarman.mockitokotlin2.mock import com.tomasznajda.pulpfiction.__util.assertEquals import com.tomasznajda.pulpfiction.entity.PlayerState import org.junit.Test class Exo...
0
Kotlin
1
4
43b4db0659929cff71018be9109eb2f3ff10dbfa
1,977
pulpfiction
Apache License 2.0
Manga/app/src/main/java/nhdphuong/com/manga/features/admin/AdminFragment.kt
duyphuong5126
140,096,962
false
null
package nhdphuong.com.manga.features.admin import android.content.BroadcastReceiver import android.content.Context import android.content.Intent import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.appcompat.widget.SwitchCompat import androi...
4
Kotlin
0
3
df34a0edefaae077ec4c3b89ee693fc56a3e67fe
8,866
H-Manga
Apache License 2.0
app/src/main/java/com/sdex/activityrunner/ActivityManagerApplication.kt
sdex
278,636,044
false
{"Kotlin": 215846, "JavaScript": 84722, "Java": 42728, "HTML": 6278}
package com.sdex.activityrunner import android.app.Application import android.content.Context import android.content.pm.ApplicationInfo import androidx.appcompat.app.AppCompatDelegate import androidx.multidex.MultiDex import com.sdex.activityrunner.preferences.AppPreferences import dagger.hilt.android.HiltAndroidApp i...
11
Kotlin
35
583
eb68f7a6a10ea61a92f72673c9577d335837e219
930
ActivityManager
Apache License 2.0
bukkit/rpk-skills-bukkit/src/main/kotlin/com/rpkit/skills/bukkit/command/SkillCommand.kt
blimyj
363,192,865
true
{"Kotlin": 2999538}
/* * Copyright 2021 <NAME> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writi...
0
null
0
0
b6f6e90fe466309a97f5620f4c5508df3131154d
5,031
RPKit
Apache License 2.0
billMan/src/main/kotlin/com/weesnerdevelopment/billman/bill/occurrence/BillOccurrenceSharedUsersTable.kt
adamWeesner
239,233,558
false
null
package com.weesnerdevelopment.billman.bill.occurrence import com.weesnerdevelopment.businessRules.tryTransaction import org.jetbrains.exposed.dao.id.UUIDTable import org.jetbrains.exposed.sql.ReferenceOption object BillOccurrenceSharedUsersTable : UUIDTable() { val user = varchar("owner", 36) val occurrence ...
1
Kotlin
1
1
c7962e6ccec3b8b327886a3b35e2e17d16449c34
484
weesnerDevelopment
MIT License
app/src/androidTest/java/com/zm/org/wallet/di/FakeDatabaseModule.kt
zeinabmohamed
454,303,737
false
null
package com.zm.org.wallet.di import android.content.Context import androidx.room.Room import com.zm.org.wallet.data.database.AppDatabase import com.zm.org.wallet.data.database.TransactionsDao import dagger.Module import dagger.Provides import dagger.hilt.android.qualifiers.ApplicationContext import dagger.hilt.compone...
0
Kotlin
0
0
84a9765a184346c58a234fbe019cc89dd8442bc6
934
Wallet
BSD Source Code Attribution
klaxon/src/main/kotlin/com/beust/klaxon/JsonReader.kt
SonOfLilit
153,126,061
true
{"Kotlin": 169255, "Batchfile": 126, "Java": 108, "Shell": 99}
package com.beust.klaxon import java.io.Reader import java.math.BigInteger /** * Manages JSON streaming. */ class JsonReader(val reader: Reader) : Reader() { /** * @return the next String. * @throws JsonParsingException the next value is not a String. */ fun nextString() = consumeValue { valu...
0
Kotlin
0
1
5d134335e1838ff22116e15cecfcaf373f18d34d
5,817
klaxon
Apache License 2.0
app/src/internal/java/com/duckduckgo/app/dev/settings/DevSettingsActivity.kt
duckduckgo
78,869,127
false
{"Kotlin": 10196531, "HTML": 63669, "Ruby": 14445, "JavaScript": 8385, "C++": 1813, "CMake": 1286, "Shell": 784}
/* * Copyright (c) 2021 DuckDuckGo * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
62
Kotlin
868
3,302
9b7fda539c6d1c323a7cd5542767c4c492e628c8
6,832
Android
Apache License 2.0
app/src/androidTest/java/com/cmgapps/android/compomaeon/TodoActivityShould.kt
chrimaeon
345,084,242
false
null
/* * Copyright (c) 2021. <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/licenses/LICENSE-2.0 * * Unless required by applicable law or...
0
Kotlin
0
0
b7b5639071e2ced777f3763c6b219720d2d1fa1b
2,779
compomaeon
Apache License 2.0
src/main/java/io/dotanuki/burster/burst8.kt
ubiratansoares
144,885,208
false
null
package io.dotanuki.burster fun <A, B, C, D, E, F, G, H> using(block: Buster8<A, B, C, D, E, F, G, H>.() -> Unit) = Buster8<A, B, C, D, E, F, G, H>().apply { block() }.execute() class Buster8<A, B, C, D, E, F, G, H> { private val container by lazy { Bullets8<A, B, C, D, E, F, G, H>() } private var target...
0
Kotlin
0
1
35c8d22b3ae8b4a357cbb33c2d3b0d3ec3f09cf3
1,089
burster
MIT License
vector/src/main/java/im/vector/app/JgPushHelper.kt
John-Tonny
420,860,089
true
null
/* * Copyright (c) 2021 New Vector Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
0
Kotlin
0
0
7b05bf06e64b740b3fdf8839aa97ec191aaa90e7
3,101
Lianchat-android
Apache License 2.0
app/shared/analytics/public/src/commonMain/kotlin/build/wallet/analytics/events/EventTracker.kt
proto-at-block
761,306,853
false
{"C": 10474259, "Kotlin": 8243078, "Rust": 2779264, "Swift": 893661, "HCL": 349246, "Python": 338898, "Shell": 136508, "TypeScript": 118945, "C++": 69203, "Meson": 64811, "JavaScript": 36398, "Just": 32977, "Ruby": 13559, "Dockerfile": 5934, "Makefile": 3915, "Open Policy Agent": 1552, "Procfile": 80}
package build.wallet.analytics.events import build.wallet.analytics.events.screen.EventTrackerCountInfo import build.wallet.analytics.events.screen.EventTrackerFingerprintScanStatsInfo import build.wallet.analytics.events.screen.EventTrackerScreenInfo import build.wallet.analytics.v1.Action /** * Allows to record an...
3
C
16
113
694c152387c1fdb2b6be01ba35e0a9c092a81879
929
bitkey
MIT License
app/src/main/kotlin/com/tezov/lib/adapterJavaToKotlin/toolbox/Nullify.kt
tezov
640,329,100
false
null
package com.tezov.lib.adapterJavaToKotlin.toolbox import com.tezov.lib_java.toolbox.Nullify object Nullify { fun String?.nullify():String?{ return Nullify.string(this) } fun CharSequence?.nullify():String?{ return Nullify.string(this) } fun <K, V, M: Map<K, V>> M?.nullify():M?{ ...
0
Kotlin
0
0
02d5d2125f6211e94410cda57af23469a4fa3a33
624
gofo
MIT License
app/src/main/java/br/com/movieapp/movie_detail_feature/data/source/MovieDetailRemoteDataSourceImpl.kt
DiegoSCastro
837,686,220
false
{"Kotlin": 97072}
package br.com.movieapp.movie_detail_feature.data.source import br.com.movieapp.core.data.remote.MovieService import br.com.movieapp.core.data.remote.response.MovieDetailResponse import br.com.movieapp.core.data.remote.response.MovieResponse import br.com.movieapp.core.domain.model.MovieDetails import br.com.movieapp....
0
Kotlin
0
0
28802cd0873ebf69743e6031efbd22145101eede
1,620
MovieApp
MIT License
plugins/plugin-sandbox/testData/box/inlineableFunctionMultiModules2.kt
JetBrains
3,432,266
false
{"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML...
// DUMP_IR // MODULE: lib // FILE: p3/foo.kt package p3; import org.jetbrains.kotlin.plugin.sandbox.MyInlineable fun setContent(content: @MyInlineable () -> Unit): Int { content() return 3 } // MODULE: main(lib) // FILE: main.kt import org.jetbrains.kotlin.plugin.sandbox.MyInlineable import p3.setContent ...
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
516
kotlin
Apache License 2.0
ktor-client/ktor-client-java/jvm/test/io/ktor/client/engine/java/JavaClientTest.kt
ktorio
40,136,600
false
{"Kotlin": 6007831, "C": 453568, "Python": 948, "JavaScript": 775, "HTML": 336, "Mustache": 77, "Handlebars": 9}
/* * Copyright 2014-2021 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license. */ package io.ktor.client.engine.java import io.ktor.client.tests.* class JavaClientTest : HttpClientTest(Java)
156
Kotlin
1051
12,926
f90f2edf11caca28a61dbe9973faae64c17a2842
237
ktor
Apache License 2.0
src/main/kotlin/org/yelog/ideavim/flash/Actions.kt
yelog
701,944,029
false
{"Kotlin": 27610}
package org.yelog.ideavim.flash import com.intellij.openapi.actionSystem.ActionUpdateThread import com.intellij.openapi.actionSystem.AnActionEvent import com.intellij.openapi.actionSystem.CommonDataKeys import com.intellij.openapi.project.DumbAwareAction abstract class BaseAction : DumbAwareAction() { override fu...
0
Kotlin
1
9
df5825d91264096c39398bbc81619375aea91754
988
vim-flash
Apache License 2.0
src/main/kotlin/org/jetbrains/lama/psi/impl/LamaFunctionDefinitionBase.kt
Mervap
457,621,178
false
{"Kotlin": 200465, "Lex": 4986, "HTML": 613}
package org.jetbrains.lama.psi.impl import com.intellij.lang.ASTNode import com.intellij.psi.PsiNameIdentifierOwner import com.intellij.psi.stubs.IStubElementType import org.jetbrains.lama.psi.stubs.LamaFunctionDefinitionStub abstract class LamaFunctionDefinitionBase : LamaControlFlowHolderImpl<LamaFunctionDefinition...
7
Kotlin
0
7
25e559d408a8f31fe1dfa8fcadd992da4eb00f44
502
LamaPlugin
MIT License
src/main/kotlin/xyz/malkki/tallinkgtfsscraper/tallinkapi/model/Trip.kt
mjaakko
651,882,672
false
{"Kotlin": 25601}
package xyz.malkki.tallinkgtfsscraper.tallinkapi.model import com.fasterxml.jackson.annotation.JsonIgnoreProperties import xyz.malkki.tallinkgtfsscraper.constants.pierTimezones import java.time.LocalDateTime import java.time.ZonedDateTime import java.time.temporal.ChronoUnit @JsonIgnoreProperties(ignoreUnknown = true...
0
Kotlin
0
0
b719ead98f345ca8172e06342925048e9072b758
3,253
tallink-gtfs-scraper
MIT License
drawable/src/main/java/com/angcyo/drawable/base/CombineDrawable.kt
angcyo
229,037,615
false
{"Kotlin": 6722659, "JavaScript": 5194}
package com.angcyo.drawable.base import android.graphics.Canvas import android.graphics.drawable.Drawable import android.widget.LinearLayout import com.angcyo.library.ex.dpi import com.angcyo.library.ex.size import kotlin.math.max import kotlin.math.min /** * 结合多个[Drawable] * @author <a href="mailto:<EMAIL>">angcyo...
0
Kotlin
6
5
10ad5753c3ff675d7f7513db5d98665bcf6f7418
2,223
UICore
MIT License
drawable/src/main/java/com/angcyo/drawable/base/CombineDrawable.kt
angcyo
229,037,615
false
{"Kotlin": 6722659, "JavaScript": 5194}
package com.angcyo.drawable.base import android.graphics.Canvas import android.graphics.drawable.Drawable import android.widget.LinearLayout import com.angcyo.library.ex.dpi import com.angcyo.library.ex.size import kotlin.math.max import kotlin.math.min /** * 结合多个[Drawable] * @author <a href="mailto:<EMAIL>">angcyo...
0
Kotlin
6
5
10ad5753c3ff675d7f7513db5d98665bcf6f7418
2,223
UICore
MIT License
src/main/kotlin/br/com/zupacademy/giovannimoratto/pix/core/exceptions/handler/ErrorHandler.kt
giovnnvm
402,067,024
true
{"Kotlin": 21273}
package br.com.zupacademy.giovannimoratto.pix.core.exceptions.handler import io.micronaut.aop.Around import io.micronaut.context.annotation.Type /** *@Author giovanni.moratto */ @MustBeDocumented @Retention(AnnotationRetention.RUNTIME) @Target( AnnotationTarget.CLASS, AnnotationTarget.FILE, AnnotationT...
0
Kotlin
0
0
702ee1b389812266dc12e2629942c2cc8f51688f
487
orange-talents-06-template-pix-keymanager-grpc
Apache License 2.0
src/exchange/src/main/kotlin/com/exchange/exchange/core/ReplyEvent.kt
exchange-all
727,231,684
false
{"Kotlin": 138277, "Java": 26832, "TypeScript": 5623, "Shell": 4239, "Lua": 906}
package com.exchange.exchange.core /** * Format of external event when consume from kafka * * @author uuhnaut69 * */ class ReplyEvent( val id: String?, val event: Any, val data: Any?, val error: String? = null, )
17
Kotlin
0
2
884b575efba9c5f4658c8a5d194bcbacaf073a5f
235
exchange-api
Apache License 2.0
app/src/main/java/ru/coffeeplanter/maptest/data/model/Point.kt
coffeeplanter
122,768,972
false
null
package ru.coffeeplanter.maptest.data.model import io.realm.RealmObject import io.realm.annotations.PrimaryKey import net.sharewire.googlemapsclustering.ClusterItem @Suppress("MemberVisibilityCanBePrivate") open class Point : RealmObject, ClusterItem { @PrimaryKey var id: Int = 0 var name: String? = null...
0
Kotlin
0
0
d2c629a0571d2c3e345f8697b30eede286abdda4
953
MapTest
MIT License
Lab4/src/main/kotlin/Matrix.kt
knu-3-velychko
276,469,956
false
null
class Matrix { var size: Int = 0 private var matrix: Array<Array<Double>> = arrayOf() constructor(size: Int) { this.size = size matrix = Array(size) { Array(size) { 0.0 } } } constructor(matrix: Array<Array<Double>>) { this.size = matrix.size this.matrix = matrix ...
0
Kotlin
0
0
79eaf1bfc471495bd2155b3ec5d4f4aa539d8704
4,041
NumericalMethods
MIT License
src/main/kotlin/rhmodding/treasury/model/TreasureWorld.kt
rhmodding
116,833,971
false
null
package rhmodding.treasury.model import kotlin.experimental.and class TreasureWorld { val courses = mutableListOf<TreasureCourse>() fun toBytes(): List<Byte> { val l = mutableListOf<Byte>() l.add(courses.size.toByte()) for (c in courses) { l.add((c.id and 0xFF).toByte()) ...
1
Kotlin
0
7
2d463b563fb7e1999f92f37d224999a0c5416e23
403
Treasury
MIT License
app/src/main/java/com/anesabml/hunt/model/Post.kt
mistrydarshan99
269,697,314
true
{"Kotlin": 116200}
package com.anesabml.hunt.model import com.anesabml.lib.recyclerView.Differentiable import java.io.Serializable data class Post( val id: String, val name: String, val tagline: String, val description: String?, val createdAt: String, val featuredAt: String?, val slug: String?, val thumb...
0
null
0
0
edd41a29452441a3c8c94da4401690e653be22d5
1,255
hunt
MIT License
app/src/main/java/com/bhavdip/retrofitfuturestud/data/apis/FutureStudioClient.kt
mrkk95
300,712,979
true
{"Kotlin": 7561}
package com.bhavdip.retrofitfuturestud.data.apis import com.bhavdip.retrofitfuturestud.data.model.Tutorial import com.bhavdip.retrofitfuturestud.data.model.FutureStudioRssFeed import com.bhavdip.retrofitfuturestud.data.model.UserInfo import okhttp3.ResponseBody import retrofit2.Call import retrofit2.http.* import java...
0
Kotlin
0
1
3f818b101a3f09ef4c44d2fa8bc252152255d155
1,277
RetrofitFutureStud
Apache License 2.0
app/src/main/java/com/srg/pruebamarvel/domain/features/characters/models/CharactersPageDomainModel.kt
sebrodgar
342,294,275
false
{"Kotlin": 91857}
package com.srg.pruebamarvel.domain.features.characters.models /** * Created by sebrodgar on 01/03/2021. */ data class CharactersPageDomainModel( val offset: Int?, val limit: Int?, val total: Int?, val count: Int?, val results: List<CharacterDomainModel>? )
0
Kotlin
0
0
bfec1d716283ee8a7d638391be6272509f2064f0
281
code-test-marvel
Apache License 2.0
library/lorcana-data/src/commonTest/kotlin/eu/codlab/lorcana/TestCheckingCards.kt
great-illuminary
710,799,476
false
{"Kotlin": 42337, "TypeScript": 4085, "Shell": 438}
package eu.codlab.lorcana import eu.codlab.ignore.IgnoreAndroid import eu.codlab.ignore.IgnoreJs import eu.codlab.lorcana.buildconfig.BuildKonfig import eu.codlab.lorcana.cards.CardType import eu.codlab.lorcana.raw.VirtualCard import eu.codlab.platform.Platform import eu.codlab.platform.currentPlatform import kotlinx....
0
Kotlin
0
6
e1e4d48b1dede0c066f1e7958446d8f5b538a516
1,710
lorcana-data
MIT License
Android/app/src/main/java/com/matthaigh27/chatgptwrapper/ui/base/BaseActivity.kt
ttt246
651,148,907
false
null
package com.matthaigh27.chatgptwrapper.ui.base import android.os.Bundle import android.view.View import androidx.appcompat.app.AppCompatActivity open class BaseActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) // Hide the sta...
37
Kotlin
1
15
353f8c4fd57b48bd003f3aa7d4824ce9d2fb84aa
517
Brain
MIT License