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
core/src/main/java/com/loitp/views/layout/roundable/LRoundableLayout.kt
tplloi
126,578,283
false
null
package com.views.layout.roundablelayout import android.annotation.TargetApi import android.content.Context import android.graphics.* import android.graphics.drawable.GradientDrawable import android.os.Build import android.util.AttributeSet import android.view.View import android.view.ViewOutlineProvider import androi...
1
null
1
9
1bf1d6c0099ae80c5f223065a2bf606a7542c2b9
7,579
base
Apache License 2.0
app/src/main/java/com/jonnyhsia/storybook/ui/SwipeItemTouchHelper.kt
jonnyhsia
111,225,431
false
null
package com.jonnyhsia.storybook.ui import android.graphics.Canvas import android.support.v4.content.ContextCompat import android.support.v7.widget.RecyclerView import android.support.v7.widget.helper.ItemTouchHelper import com.jonnyhsia.storybook.app.App import com.jonnyhsia.storybook.R import com.jonnyhsia.storybook....
0
Kotlin
0
1
0aa23c800b2a8b9a75a4806557a22e89c4fc18b0
2,075
storybook-deprecated
Apache License 2.0
app/src/main/kotlin/com/github/yuriybudiyev/sketches/core/data/repository/implementation/MediaStoreRepositoryImpl.kt
yuriy-budiyev
717,755,701
false
null
/* * MIT License * * Copyright (c) 2024 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, m...
0
null
2
9
2f9035d6c1274f13cee5d8a30003ca07b8d7c8ea
7,915
sketches
MIT License
ontrack-extension-notifications/src/main/java/net/nemerosa/ontrack/extension/notifications/subscriptions/GlobalSubscriptionsUserMenuExtension.kt
nemerosa
19,351,480
false
null
package net.nemerosa.ontrack.extension.notifications.recording import net.nemerosa.ontrack.extension.api.UserMenuExtension import net.nemerosa.ontrack.extension.api.UserMenuExtensionGroups import net.nemerosa.ontrack.extension.notifications.NotificationsExtensionFeature import net.nemerosa.ontrack.extension.support.Ab...
35
Kotlin
27
94
42b685f9d8e410b033fc304e754e32adb0029dff
1,064
ontrack
MIT License
app/src/main/java/com/redbeanlatte11/factchecker/ui/more/DonationViewModel.kt
RedbeanLatte
211,312,029
false
null
package com.redbeanlatte11.factchecker.ui.more import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.redbeanlatte11.factchecker.Event import com.redbeanlatte11.factchecker.R import com.redbeanlatte11.factchec...
0
Kotlin
0
0
0d42e78c809f75455420d4adb0d65b4a6ee9780d
1,643
FactChecker
Apache License 2.0
app/src/main/java/io/cricket/app/ui/modules/forgot_password/forgot_message/ForgotPasswordMsgVM.kt
amirishaque
375,128,729
false
null
package io.cricket.app.ui.modules.forgot_password.forgot_message import android.os.Bundle import io.cricket.app.base.BaseStepsViewModel import io.cricket.app.ui.modules.new_password.NewPasswordFragment import io.cricket.app.utils.Constants import javax.inject.Inject class ForgotPasswordMsgVM @Inject constructor() : B...
0
Kotlin
0
0
42808ddd775b5ac6f7bff0d8cf518091588df844
793
Cricklub_livecode
MIT License
kafka-reference-impl/participation/src/main/kotlin/GameLobbyModel.kt
Terkwood
191,042,808
false
null
import com.fasterxml.jackson.annotation.JsonIgnoreProperties @JsonIgnoreProperties(ignoreUnknown = true) data class GameReady( val gameId: GameId, val sessions: Pair<SessionId, SessionId> ) @JsonIgnoreProperties(ignoreUnknown = true) data class FindPublicGame(val clientId: ClientId, val sessionId: SessionId)...
83
Rust
7
66
ec01dc3dae54e1e248d540d442caa1731f2822e4
635
BUGOUT
MIT License
core/src/commonMain/kotlin/work/socialhub/kmastodon/entity/services/pleroma/PleromaReaction.kt
uakihir0
783,390,459
false
{"Kotlin": 168825, "Ruby": 2191, "Shell": 2164, "Makefile": 319}
package work.socialhub.kmastodon.entity.services.pleroma import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable import kotlin.js.JsExport @JsExport @Serializable class PleromaReaction { @SerialName("count") var count: Int = 0 @SerialName("me") var isMe: Boolean = false ...
0
Kotlin
0
1
b1d48ee425c8a4724848d5686ce08f73edcc880d
373
kmastodon
MIT License
ffc/src/main/kotlin/ffc/android/SoftKeyboard.kt
ffc-nectec
125,313,191
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "EditorConfig": 1, "YAML": 1, "Markdown": 1, "Proguard": 1, "JSON": 12, "Kotlin": 175, "XML": 216, "Java": 60, "HTML": 1, "JavaScript": 11}
package ffc.android import android.app.Activity import android.view.View import android.view.inputmethod.InputMethodManager /** * from https://stackoverflow.com/a/17789187 */ fun Activity?.hideSoftKeyboard() { if (this == null) return //Find the currently focused view, so we can grab the correct win...
5
JavaScript
1
2
d5619537b8b292914995e0d0693c0c94824f091a
713
android
Apache License 2.0
game/src/main/kotlin/gg/rsmod/game/message/impl/RebuildNormalMessage.kt
AlterRSPS
421,831,790
false
null
package gg.rsmod.game.message.impl import gg.rsmod.game.message.Message import gg.rsmod.game.service.xtea.XteaKeyService /** * @author Tom <<EMAIL>> */ class RebuildNormalMessage(val x: Int, val z: Int, val xteaKeyService: XteaKeyService?) : Message
8
null
33
22
9de9acfd3be7353c0c749179b3a7be8aab49b53b
253
Alter
Apache License 2.0
Corona-Warn-App/src/main/java/de/rki/coronawarnapp/tracing/ui/TracingExplanationDialog.kt
corona-warn-app
268,027,139
false
null
package de.rki.coronawarnapp.tracing.ui import android.content.Context import de.rki.coronawarnapp.R import de.rki.coronawarnapp.ui.main.home.HomeFragment import de.rki.coronawarnapp.util.DialogHelper import javax.inject.Inject class TracingExplanationDialog @Inject constructor( private val homeFragment: HomeFrag...
6
null
8
2,495
d3833a212bd4c84e38a1fad23b282836d70ab8d5
1,394
cwa-app-android
Apache License 2.0
src/client/kotlin/name/modid/CustomAppleEffectClient.kt
Cardiffht001
847,207,570
false
{"Kotlin": 2520, "Java": 1021}
package name.modid import net.fabricmc.api.ClientModInitializer object CustomAppleEffectClient : ClientModInitializer { override fun onInitializeClient() { // Client-specific initialization code, if needed } }
0
Kotlin
0
0
f7edf78419e8d3e1a9dd8635d373f41dbc5f05f2
227
goldenapplemod
Creative Commons Zero v1.0 Universal
adoptium-frontend-parent/adoptium-api-v3-frontend/src/test/kotlin/net/adoptium/api/packages/PackageEndpointTest.kt
adoptium
349,432,712
false
null
package net.adoptium.api.packages import io.restassured.RestAssured import io.restassured.response.Response import net.adoptium.api.FrontendTest import net.adoptium.api.v3.filters.BinaryFilter import net.adoptium.api.v3.filters.ReleaseFilter import net.adoptium.api.v3.models.Architecture import net.adoptium.api.v3.mod...
24
Kotlin
26
9
ddb39b5f7a71236694fc9df44e1bf3a888ba1fbc
3,566
api.adoptium.net
Apache License 2.0
app/src/main/java/com/michelAdrien/AMTT0121/view/device/DeviceFragmentAbs.kt
InfinitySoul
334,238,749
false
null
package com.michelAdrien.AMTT0121.view.device import androidx.fragment.app.Fragment import com.michelAdrien.AMTT0121.view.MainFragmentFactory import com.michelAdrien.AMTT0121.viewModel.device.DeviceViewModelAbs import dagger.hilt.android.AndroidEntryPoint @AndroidEntryPoint abstract class DeviceFragmentAbs : Fragment...
0
Kotlin
0
0
abcdb73e3193b293292624ac93e4255a8589f016
685
TT0121
MIT License
clion-plugin/src/main/kotlin/org/utbot/cpp/clion/plugin/actions/generate/GenerateForFolderAction.kt
UnitTestBot
414,561,684
false
{"C++": 1727348, "Kotlin": 269507, "C": 249924, "TypeScript": 230111, "Shell": 28129, "CMake": 23083, "JavaScript": 14798, "HTML": 13208, "CSS": 8653, "Python": 2980, "Batchfile": 882, "Makefile": 648}
package org.utbot.cpp.clion.plugin.actions.generate import com.intellij.openapi.actionSystem.AnActionEvent import com.intellij.openapi.actionSystem.CommonDataKeys import org.utbot.cpp.clion.plugin.client.requests.test.FolderRequest import org.utbot.cpp.clion.plugin.grpc.GrpcRequestBuilderFactory import org.utbot.cpp.c...
117
C++
21
95
b39958f776d32c3caa9cb5c367f56593be13e85b
937
UTBotCpp
Apache License 2.0
src/main/kotlin/glm_/mat4x3/Mat4x3.kt
nontravis
139,855,615
true
{"Kotlin": 2417945, "Java": 1048}
package glm_.mat4x3 /** * Created by GBarbieri on 09.12.2016. */ import glm_.BYTES import glm_.f import glm_.set import glm_.vec3.Vec3 import glm_.vec3.Vec3t import java.nio.FloatBuffer import java.util.* class Mat4x3(dummy: Int, var array: FloatArray) : Mat4x3t<Float>() { // -- Accesses -- override in...
0
Kotlin
0
0
a33ad87ddefcb83e73e42a877af643ee52431edb
2,835
glm
MIT License
straight/src/commonMain/kotlin/me/localx/icons/straight/filled/Circle1.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.straight.filled import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
1,921
icons
MIT License
deeplinkdispatch-base/src/test/java/com/airbnb/deeplinkdispatch/DeeplinkUriTest.kt
airbnb
37,286,678
false
null
package com.airbnb.deeplinkdispatch import junit.framework.TestCase.assertEquals import junit.framework.TestCase.assertNotNull import junit.framework.TestCase.assertNull import org.junit.Test class DeeplinkUriTest { @Test fun testParseDeeplinkUri() { val deeplink = DeepLinkUri.parse("http://www.examp...
57
Java
418
4,302
4fdf7629c7bfb413f684a8180ea9a5d98ed17de0
2,786
DeepLinkDispatch
Apache License 2.0
identity/src/main/java/com/stripe/android/identity/networking/IdentityHeaderFactory.kt
stripe
6,926,049
false
null
package com.stripe.android.identity.networking import com.stripe.android.core.networking.ApiRequest import com.stripe.android.core.networking.HEADER_CONTENT_TYPE import com.stripe.android.core.networking.RequestHeadersFactory import com.stripe.android.core.networking.StripeRequest /** * Factory to to create headers ...
64
null
522
935
bec4fc5f45b5401a98a310f7ebe5d383693936ea
1,677
stripe-android
MIT License
src/main/kotlin/io/aesy/yumme/auth/AuthorizedUserArgumentResolver.kt
aesy
152,150,112
false
null
package io.aesy.yumme.auth import io.aesy.yumme.entity.User import io.aesy.yumme.util.Logging.getLogger import org.apache.shiro.SecurityUtils import org.springframework.core.MethodParameter import org.springframework.web.bind.support.WebDataBinderFactory import org.springframework.web.context.request.NativeWebRequest ...
0
Kotlin
0
0
5fa5e0bbd852bd328e61a16f45473adf33159cac
1,585
yumme-server
MIT License
src/main/kotlin/pt/knowledgeworks/dto/v1/PersonDTO.kt
proxgames
793,581,828
false
{"Kotlin": 42475}
package pt.knowledgeworks.dto.v1 import com.fasterxml.jackson.annotation.JsonIgnore import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.annotation.JsonPropertyOrder import com.github.dozermapper.core.Mapping import org.springframework.hateoas.RepresentationModel @JsonPropertyOrder("key",...
0
Kotlin
0
0
c43c1dd0dc205190e0230ff787243742f6817180
731
rest-with-spring-and-kotlin
Apache License 2.0
core/src/commonMain/kotlin/tech/skot/core/SKLogger.kt
skot-framework
235,318,194
false
null
package tech.skot.core open class SKLogger(val tag:String) { var enabled = true fun d(message: String) { if (enabled) { SKLogPrinter.d(tag, message) } } fun i(message:String) { if (enabled) { SKLogPrinter.i(tag, message) } } fun w(messag...
1
null
4
6
8fcff82c719c9775e63da9c3808817704068cbba
545
skot
Apache License 2.0
app/src/main/java/com/joeltcollins/unicornpi/SettingsActivity.kt
jtc42
82,711,345
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Java": 2, "XML": 36, "Kotlin": 7}
package com.joeltcollins.unicornpi import android.os.Bundle import android.preference.PreferenceActivity import android.preference.PreferenceFragment /** * A [PreferenceActivity] that presents a set of application settings. On * handset devices, settings are presented as a single list. On tablets, * settings are ...
1
null
1
1
5e252e5b579e20ef048d895ebc8e5a5355d59910
1,320
unicornpi-android
Apache License 2.0
presentation/mypage/src/main/java/com/depromeet/threedays/mypage/MyPageViewModel.kt
depromeet12th
548,194,728
false
null
package com.depromeet.threedays.mypage import androidx.lifecycle.viewModelScope import com.depromeet.threedays.core.BaseViewModel import com.depromeet.threedays.core.extensions.Empty import com.depromeet.threedays.domain.exception.ThreeDaysException import com.depromeet.threedays.domain.usecase.member.GetMyInfoUseCase...
0
null
1
15
1cc08fcf2b038924ab0fe5feaaff548974f40f4d
3,300
three-days-android
MIT License
src/Practice/PrintingName.kt
sagardhadke
737,718,319
false
{"Kotlin": 12660}
package Practice fun main(){ //printing personal information val name = "<NAME>" val age = 20 //in 2024 println("My name is $name") println("I am $age is old") }
0
Kotlin
0
5
a93cc29503ff07d3bc9248f4c2c5bb8dbdee68d0
182
Kotlin-Android
Apache License 2.0
app/src/main/kotlin/com/androidmess/helix/movie/model/repository/RetrofitDetailsRepository.kt
sswierczek
83,972,004
false
null
package com.androidmess.helix.movie.model.repository import com.androidmess.helix.common.network.NetworkConfig import com.androidmess.helix.core.data.models.MovieDetails import com.androidmess.helix.core.data.models.Response import com.androidmess.helix.core.data.models.map import com.androidmess.helix.core.data.model...
0
Kotlin
1
3
96c3c1cc628fea8a693283dd5b8b950d77fe48d3
1,825
Helix-Movie-Guide-Android
Apache License 2.0
app/src/main/java/com/crazzylab/rdwallpapers/model/repository/ThemeRepository.kt
lordofprograms
130,515,280
false
null
package com.crazzylab.rdwallpapers.model.repository import android.support.v7.app.AppCompatActivity import com.crazzylab.rdwallpapers.model.data.storage.Prefs import com.crazzylab.rdwallpapers.model.system.ResourceManager import javax.inject.Inject import com.crazzylab.rdwallpapers.R /** * Created by Михаил on 29.01...
0
Kotlin
1
1
264258a134636de847e2996659525ef1a02eb98c
1,263
RDWallpapers
MIT License
android/src/main/java/com/drpogodin/reactnativeaudio/InputAudioStream.kt
birdofpreyru
372,618,456
false
{"Objective-C++": 23561, "Kotlin": 22690, "TypeScript": 21168, "Objective-C": 6163, "Ruby": 3773, "JavaScript": 1613, "C": 103, "Swift": 68}
package com.drpogodin.reactnativeaudio import android.media.AudioFormat import android.media.AudioRecord import kotlin.math.max /** * Represents an input audio stream. * @param audioSource Audio source. Valid values are: * https://developer.android.com/reference/android/media/MediaRecorder.AudioSource#summary * @...
4
Objective-C++
4
24
73e0d739b7f4395051ee4ee4f60db1bdae44c18d
4,448
react-native-audio
MIT License
src/main/kotlin/me/senseiwells/arucas/api/docs/parser/CodeDocParser.kt
senseiwells
410,678,534
false
null
package me.senseiwells.arucas.api.docs.parser import me.senseiwells.arucas.api.ArucasExtension import me.senseiwells.arucas.api.docs.ClassDoc import me.senseiwells.arucas.api.docs.FunctionDoc import me.senseiwells.arucas.classes.ClassDefinition import me.senseiwells.arucas.utils.misc.Types @Deprecated("This has been ...
0
null
4
17
239610d1ce529ab087125dab4c592f28cc963ca7
7,407
Arucas
MIT License
src/main/kotlin/parser/AmexStatementParser.kt
jesse-bonzo
586,387,775
false
null
package parser import parser.input.ParserInput import parser.output.OutputTransaction import parser.output.ParserOutput import java.math.BigDecimal import java.time.LocalDate import java.time.format.DateTimeFormatter object AmexStatementParser : StatementParser { private val linePattern = Regex("""^(\d\d/...
0
Kotlin
0
1
5211bb6574d4be841ca5a593ac3a26f2622a2b8f
1,529
GNUCashPDFImporter
MIT License
KCleanArchitectureApp/appdagger/src/main/java/com/woowrale/kcleanarchitecture/ui/search/remote/RemoteSearchActivity.kt
cadb-craftsman
179,024,592
false
null
package com.woowrale.kcleanarchitecture.ui.search.local import android.os.Bundle import android.util.Log import android.view.MenuItem import androidx.recyclerview.widget.DefaultItemAnimator import androidx.recyclerview.widget.DividerItemDecoration import androidx.recyclerview.widget.LinearLayoutManager import com.jake...
1
null
1
1
3cd17dae4beaa6eaff394b49b34bafa212cb46e3
3,112
android-labs
MIT License
app-wasm/src/wasmJsMain/kotlin/Main.kt
mikepenz
19,025,014
false
{"Kotlin": 518614, "JavaScript": 13370, "CSS": 10378, "HTML": 8318, "Ruby": 2019, "Python": 1500, "Shell": 254}
import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.material.Scaffold import androidx.compose.material.Text import androidx.compose.material.TopAppBar import androidx.compose.runtime.produceState import androidx.compose.ui.ExperimentalComposeUiApi import androidx.compose.ui.Modifier import and...
9
Kotlin
437
3,408
14c916da937aeceedfe8a5a13db3130d820cb904
1,615
AboutLibraries
Apache License 2.0
app-wasm/src/wasmJsMain/kotlin/Main.kt
mikepenz
19,025,014
false
{"Kotlin": 518614, "JavaScript": 13370, "CSS": 10378, "HTML": 8318, "Ruby": 2019, "Python": 1500, "Shell": 254}
import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.material.Scaffold import androidx.compose.material.Text import androidx.compose.material.TopAppBar import androidx.compose.runtime.produceState import androidx.compose.ui.ExperimentalComposeUiApi import androidx.compose.ui.Modifier import and...
9
Kotlin
437
3,408
14c916da937aeceedfe8a5a13db3130d820cb904
1,615
AboutLibraries
Apache License 2.0
utils/math/src/main/kotlin/io/bluetape4k/math/equation/AbstractEquator.kt
debop
625,161,599
false
{"Kotlin": 7504333, "HTML": 502995, "Java": 2273, "JavaScript": 1351, "Shell": 1301, "CSS": 444, "Dockerfile": 121, "Mustache": 82}
package io.bluetape4k.math.equation import org.apache.commons.math3.analysis.UnivariateFunction import org.apache.commons.math3.analysis.solvers.BaseUnivariateSolver abstract class AbstractEquator: Equator { protected abstract val solver: BaseUnivariateSolver<UnivariateFunction> override val absoluteAccurac...
0
Kotlin
0
1
ce3da5b6bddadd29271303840d334b71db7766d2
580
bluetape4k
MIT License
sykdomstidslinje/src/main/kotlin/no/nav/helse/tournament/DagTurnering.kt
navikt
211,019,921
false
null
package no.nav.helse.tournament import no.nav.helse.sykdomstidslinje.dag.Dag import no.nav.helse.sykdomstidslinje.dag.Ubestemtdag internal val dagTurnering = DagTurnering() internal class DagTurnering(val source: String = "/dagturnering.csv") { internal val strategies: Map<Dag.Nøkkel, Map<Dag.Nøkkel, Strategy>>...
0
Kotlin
0
1
f9e93b54da76aa03c74e2b650f5cdcc2077d73f4
3,407
helse-sykdomstidslinje
MIT License
api/src/test/kotlin/org/backstage/errors/DTOTests.kt
backstage-technical-services
755,992,739
false
{"Kotlin": 127319, "Vue": 57286, "TypeScript": 38744, "SCSS": 5041, "JavaScript": 1818, "Shell": 451, "HTML": 367, "Java": 141}
package org.backstage.errors import io.kotest.assertions.json.shouldContainJsonKeyValue import io.kotest.assertions.json.shouldEqualJson import io.kotest.assertions.json.shouldNotContainJsonKey import io.kotest.core.spec.style.BehaviorSpec import org.backstage.util.objectMapper import java.time.LocalDateTime class Er...
8
Kotlin
0
0
c6cde6e4c2dd6e84aaee2d5fcc72a0f620c88bc4
3,517
website-v5
Apache License 2.0
app/src/main/java/com/lonard/camerlangproject/mvvm/LibraryViewModel.kt
lonard2
490,593,898
false
null
package com.lonard.camerlangproject.mvvm import androidx.lifecycle.ViewModel class LibraryViewModel(private val libraryRepo: LibraryRepository): ViewModel() { fun retrieveLibraryEntriesList() = libraryRepo.retrieveLibraryEntriesList() fun retrieveLibraryEntriesListWithSearchQuery(q: String) = libraryRepo.re...
0
Kotlin
2
2
52f69ed3312071307b5c8c9221a45ccdde6c7351
541
CAMerlang-Mobile-Development
MIT License
hmkit-fleet/src/test/kotlin/com/highmobility/hmkitfleet/HMKitFleetTest.kt
highmobility
675,500,929
false
{"Kotlin": 110814}
/* * The MIT License * * Copyright (c) 2023- High-Mobility GmbH (https://high-mobility.com) * * 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 lim...
1
Kotlin
0
0
f1e7e442060c8ffc1384877a1a62c5e394d5fcc6
6,114
hmkit-fleet-v2
MIT License
src/main/kotlin/no/nav/tjenestepensjon/simulering/v1/service/StillingsprosentResponse.kt
navikt
184,583,998
false
{"Kotlin": 337373, "Dockerfile": 97}
package no.nav.tjenestepensjon.simulering.v1.service import no.nav.tjenestepensjon.simulering.v1.TPOrdningStillingsprosentMap import java.util.concurrent.ExecutionException class StillingsprosentResponse( val tpOrdningStillingsprosentMap: TPOrdningStillingsprosentMap, val exceptions: List<ExecutionExc...
7
Kotlin
0
0
2aebc8fd7ce9f3d6a0cb6d04162a2b54f15c3882
329
tjenestepensjon-simulering
MIT License
library/skin/src/main/java/cn/android52/sunnybeach/skin/attr/SkinAttrType.kt
anjiemo
378,095,612
false
null
package cn.android52.sunnybeach.skin.attr import android.content.res.ColorStateList import android.graphics.drawable.Drawable import android.view.View import android.widget.ImageView import android.widget.TextView import cn.android52.sunnybeach.skin.manager.SkinManager /** * author : <NAME> * github : https:/...
0
Java
5
19
687bcbbb1b08a3dac4d44d04f9dbad84d554b279
1,713
SunnyBeach
Apache License 2.0
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsactivitiesmanagementapi/entity/refdata/PrisonPayBand.kt
ministryofjustice
533,838,017
false
null
package uk.gov.justice.digital.hmpps.hmppsactivitiesmanagementapi.entity import jakarta.persistence.Column import jakarta.persistence.Entity import jakarta.persistence.GeneratedValue import jakarta.persistence.GenerationType import jakarta.persistence.Id import jakarta.persistence.Table import uk.gov.justice.digital.h...
4
Kotlin
0
1
ff243410163ff415aeafdec2785142f4aa364681
1,176
hmpps-activities-management-api
MIT License
presentation/src/commonMain/kotlin/ireader/presentation/core/ui/AdvanceSettingSpec.kt
kazemcodes
540,829,865
true
{"Kotlin": 2179459}
package ireader.presentation.core.ui import androidx.compose.material3.ExperimentalMaterial3Api import androidx.compose.runtime.Composable import cafe.adriel.voyager.navigator.LocalNavigator import cafe.adriel.voyager.navigator.currentOrThrow import ireader.i18n.localize import ireader.presentation.core.VoyagerScreen...
11
Kotlin
21
6
b6b2414fa002cec2aa0d199871fcfb4c2e190a8f
1,434
IReader
Apache License 2.0
app/src/main/java/com/example/litemsg/ui/comment/CommentActivity.kt
BUGLI27
505,721,297
false
{"Kotlin": 53068}
package com.example.litemsg.ui.comment import android.annotation.SuppressLint import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.view.View import android.widget.RelativeLayout import android.widget.TextView import androidx.appcompat.widget.Toolbar import androidx.recyclerview.widge...
0
Kotlin
0
1
3694401c01c8b50b986593cb8ab16dc89762972f
4,491
LiteMsg
Apache License 2.0
tools/simulator/src/main/kotlin/io/libp2p/simulate/topology/CustomTopologyGraph.kt
libp2p
189,293,403
false
null
package io.libp2p.simulate.topology import io.libp2p.simulate.TopologyGraph class CustomTopologyGraph( override val edges: Collection<TopologyGraph.Edge> ) : TopologyGraph { override fun calcDiameter(): Int { TODO("Not yet implemented") } }
33
null
76
272
1cde874089d45f90e2f6ca20f39a77b69cd7e66e
264
jvm-libp2p
Apache License 2.0
src/main/kotlin/codes/mii/SaveEditor/Types/NBT_Int_Array.kt
mii443
297,893,377
false
{"Kotlin": 20109, "Shell": 6258, "Batchfile": 3474, "Assembly": 56}
package codes.mii.SaveEditor.Types class NBT_Int_Array(override val nameLength: Byte, override val name: String, val data: MutableList<Int>) : Data { override val typeByte: Byte = 11 }
0
Kotlin
0
0
e10b7a47758c288b614b1e33ef1c5d0ea9060c67
189
SaveEditor
MIT License
src/iii_conventions/_31_Invoke_.kt
magelle
75,210,662
false
null
package iii_conventions import util.TODO class Invokable fun todoTask31(): Nothing = TODO( """ Task 31. Change class Invokable to count the number of invocations (round brackets). Uncomment the commented code - it should return 4. """, references = { invokable: Invokable -> }) f...
0
Kotlin
0
0
e4996100cf10bc29364b19619bc45f245313709d
569
kotlin-koans
MIT License
MembraneRTC/src/main/java/org/membraneframework/rtc/models/Endpoint.kt
jellyfish-dev
481,725,130
false
{"Kotlin": 219447, "Shell": 697}
package org.membraneframework.rtc.models import org.membraneframework.rtc.utils.Metadata data class Endpoint( val id: String, val type: String, val metadata: Metadata = mapOf(), val trackIdToMetadata: Map<String, Metadata> = mapOf() ) { fun withTrack(trackId: String, metadata: Metadata?): Endpoint...
1
Kotlin
3
5
f117f5d9a6995d873f6a8287215cd7069e9385ac
773
membrane-webrtc-android
Apache License 2.0
library_core/src/main/java/com/td/framework/mvp/contract/PostAndGetContract.kt
aohanyao
97,691,578
false
null
package com.td.framework.mvp.contract import com.td.framework.biz.NetError import com.td.framework.model.bean.BaseDataModel import com.td.framework.model.bean.CodeMsgModel import com.td.framework.mvp.model.BaseParamsInfo import com.td.framework.mvp.presenter.BasePresenter import com.td.framework.mvp.view.BaseView impo...
0
null
2
2
0cf83b57ad19fcb8e217507f90c5140b5e1d0d3c
5,657
TdFramework
Apache License 2.0
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/broken/Playadd.kt
Tlaster
560,394,734
false
{"Kotlin": 25133302}
package moe.tlaster.icons.vuesax.vuesaxicons.broken import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap import androidx....
0
Kotlin
0
2
b8a8231e6637c2008f675ae76a3423b82ee53950
3,799
VuesaxIcons
MIT License
platform/build-scripts/src/org/jetbrains/intellij/build/classpath.kt
sprigogin
285,457,947
false
{"Text": 9390, "INI": 514, "YAML": 419, "Ant Build System": 11, "Batchfile": 33, "Dockerfile": 10, "Shell": 633, "Markdown": 744, "Ignore List": 142, "Git Revision List": 1, "Git Attributes": 11, "EditorConfig": 260, "XML": 7836, "SVG": 4421, "Kotlin": 58527, "Java": 83779, "HTML": 3782, "Java Properties": 220, "Gradle...
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. @file:Suppress("ReplaceGetOrSet", "ReplaceJavaStaticMethodWithKotlinAnalog") package org.jetbrains.intellij.build import com.intellij.platform.diagnostic.telemetry.helpers.useWithoutActiveScope imp...
1
null
1
1
f1b733c79fd134e6646f28d1dc99af144c942785
9,979
intellij-community
Apache License 2.0
DADMApp/app/src/main/java/com/example/dadmapp/data/UserRepository.kt
UTN-FRBA-Mobile
697,567,152
false
{"Kotlin": 129135, "TypeScript": 17069, "JavaScript": 663}
package com.example.dadmapp.data import android.util.Log import androidx.datastore.core.DataStore import androidx.datastore.preferences.core.Preferences import androidx.datastore.preferences.core.edit import androidx.datastore.preferences.core.stringPreferencesKey import com.example.dadmapp.exceptions.LoginException i...
4
Kotlin
0
0
d98cd9463842be965b2dc57ea5a1551817a578ee
3,184
Capture
MIT License
app/src/main/java/io/github/wulkanowy/data/pojos/GradeStatisticsItem.kt
mafineeek
297,426,962
true
{"Kotlin": 966636, "HTML": 1949, "Shell": 220}
package io.github.wulkanowy.data.pojos import io.github.wulkanowy.data.db.entities.GradePointsStatistics import io.github.wulkanowy.data.db.entities.GradeStatistics import io.github.wulkanowy.ui.modules.grade.statistics.ViewType data class GradeStatisticsItem( val type: ViewType, val partial: List<GradeStat...
0
null
0
0
b0b3ccfd530e2b450804c194365b4e4fe225c754
371
wulkanowy
Apache License 2.0
src/main/kotlin/ui/settings/reducer/MoveUpCategoryReducer.kt
gmatyszczak
171,290,380
false
null
package ui.settings.reducer import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.flow.MutableSharedFlow import kotlinx.coroutines.flow.MutableStateFlow import ui.settings.SettingsEffect import ui.settings.SettingsState import util.swap import javax.inject.Inject interface MoveUpCategoryReducer { ope...
5
Kotlin
27
130
1fcfbb0bf39d6f1dbe3b69016c39fb3d79214e7e
1,033
screen-generator-plugin
Apache License 2.0
src/main/kotlin/no/nav/pensjon/simulator/sak/client/pen/PenSakClient.kt
navikt
753,551,695
false
{"Kotlin": 1687999, "Java": 2774, "Dockerfile": 144}
package no.nav.pensjon.simulator.sak.client.pen import mu.KotlinLogging import no.nav.pensjon.simulator.common.client.ExternalServiceClient import no.nav.pensjon.simulator.core.domain.regler.PenPerson import no.nav.pensjon.simulator.core.virkning.FoersteVirkningDatoCombo import no.nav.pensjon.simulator.sak.client.SakC...
1
Kotlin
0
0
1f7f146757ea054e29a6d82aa656cb21c9c61961
3,157
pensjonssimulator
MIT License
ui/ui-text-core/src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/TextPaintExtensions.kt
syntaxxxxx
286,529,729
true
{"Java Properties": 20, "Shell": 44, "Markdown": 43, "Java": 4516, "HTML": 17, "Kotlin": 3557, "Python": 28, "Proguard": 37, "Batchfile": 6, "JavaScript": 1, "CSS": 1, "TypeScript": 6, "Gradle Kotlin DSL": 2, "INI": 1, "CMake": 1, "C++": 2}
/* * Copyright 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 applica...
1
null
0
1
e4ce477393fc1026f45fe67b73d8400f19e83975
5,597
androidx
Apache License 2.0
app/src/main/java/com/github/ihsg/demo/ui/whole/WholePatternSettingActivity.kt
hejiamian
407,515,289
true
{"Kotlin": 59528}
package com.github.ihsg.demo.ui.whole import android.content.Context import android.content.Intent import android.os.Bundle import android.view.View import androidx.core.content.ContextCompat import com.github.ihsg.base.BaseActivity import com.github.ihsg.demo.R import com.github.ihsg.demo.databinding.ActivityWholePat...
0
Kotlin
0
0
63f8fa220a3e5d0a756da7ae53164d41a50180b8
2,946
PatternLocker
Apache License 2.0
packages/test-base/src/commonTest/kotlin/io/realm/kotlin/test/common/dynamic/DynamicMutableRealmObjectTests.kt
realm
235,075,339
false
null
/* * Copyright 2022 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
null
57
942
df49eefacba8f57653e232203f44003643468463
98,408
realm-kotlin
Apache License 2.0
app/src/main/java/com/tcs/ecom/utility/Util.kt
bhuvancom
387,227,067
false
null
/* * Copyright 2021 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
0
Kotlin
0
0
ac5a6fb229b3432e72f10ac7831fc0eb90bd0f58
4,972
Ecom-Android
Apache License 2.0
Bi-tu/app/src/main/java/com/kotuz/mesajbulutu/telegramGiris.kt
EmreKotuz
360,215,125
false
null
package com.kotuz.mesajbulutu import android.content.Intent import android.net.Uri import android.support.v7.app.AppCompatActivity import android.os.Bundle import kotlinx.android.synthetic.main.activity_telegram_giris.* class telegramGiris : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?...
0
Kotlin
1
1
9f5b803c2c5e7e9e01b521a42ebded425cce433b
1,073
Bi-Tu
Apache License 2.0
android/ui/mobile/src/google/kotlin/com/oztechan/ccc/android/ui/mobile/util/AppReviewUtil.kt
Oztechan
102,633,334
false
null
/* * Copyright (c) 2020 <NAME>. All rights reserved. */ package com.oztechan.ccc.android.util import android.app.Activity import com.google.android.play.core.review.ReviewManagerFactory fun requestAppReview( activity: Activity ) = ReviewManagerFactory.create(activity).apply { requestReviewFlow().addOnComple...
28
null
30
331
a94168d623b6ffd50e142e0afe9f601db6ed7632
453
CCC
Apache License 2.0
model-generator/integrations/models-input/src/main/java/com/vimeo/networking2/properties/PrivatePropertyContainer.kt
vimeo
41,306,732
false
null
package com.vimeo.networking2.properties class PrivatePropertyContainer { private val foo: String = "foo" }
21
Kotlin
52
123
e4f31d4fa144756d576101b3a82120657e9e8a51
112
vimeo-networking-java
MIT License
src/main/kotlin/network/data/Node.kt
Nion-Network
357,143,860
false
null
package network.data import kotlinx.serialization.Serializable import kotlinx.serialization.Transient import utils.asBitSet import utils.asHex import utils.sha256 /** * Created by <NAME> * on 10/08/2021 at 01:37 * using IntelliJ IDEA * * Stores information of some Node in the network. */ @Serializable data clas...
5
Kotlin
0
9
d3b830c18a6577f7499aa491666a93e83726986c
533
Core
MIT License
savingmyinfo-bot/src/main/kotlin/info/savingmy/innovate/hackbot/SavingInfoBot.kt
dferguson992
105,708,092
false
{"JavaScript": 22118, "CSS": 9577, "Kotlin": 8166, "HTML": 6057}
package info.savingmy.innovate.hackbot import info.savingmy.innovate.hackbot.commands.Command import org.slf4j.Logger import org.slf4j.LoggerFactory import org.symphonyoss.client.SymphonyClient import org.symphonyoss.client.SymphonyClientConfig import org.symphonyoss.client.SymphonyClientFactory import org.symphonyoss...
0
JavaScript
0
0
e31a4361db39bd5cdbae8afe71aefb85dcd3896d
2,031
innovate2017
Apache License 2.0
src/main/kotlin/net/mt32/expoll/entities/notifications/NotificationDevice.kt
Universumgames
508,613,455
false
{"Kotlin": 329098, "HTML": 6405, "TSQL": 5917, "Shell": 4269, "Dockerfile": 2071, "CSS": 1207}
package net.mt32.expoll.entities.notifications import net.mt32.expoll.entities.Session import net.mt32.expoll.helper.UnixTimestamp import net.mt32.expoll.notification.UniversalNotification interface NotificationDevice { val sessionNonce: Long val session: Session? val creationTimestamp: UnixTimestamp ...
0
Kotlin
1
0
ce265a7bba8609b9a8c37e833cbca4728a91e6c5
447
expoll_server
MIT License
nomic-core/src/main/kotlin/nomic/core/NomicConfig.kt
sn3d
105,742,759
false
null
package nomic.core import nomic.core.exception.RequiredConfigPropertyException /** * @author zdenko.vrabel@wirecard.com */ abstract class NomicConfig { abstract operator fun get(name: String): String? open val user: String get() = this["nomic.user"] ?: throw RequiredConfigPropertyException("nomic.user") ope...
0
Kotlin
0
2
0f7bf3288eb135ae0279f570a9f2dd454bf59adb
723
nomic
Apache License 2.0
UserCenter/src/main/java/com/kotlin/user/injection/module/UserModule.kt
starktonys
140,391,283
false
{"Kotlin": 263051, "Java": 7941}
package com.kotlin.user.injection.module import com.kotlin.user.service.UserService import com.kotlin.user.service.impl.UserServiceImpl import dagger.Module import dagger.Provides import javax.inject.Named /* 用户模块Module */ @Module class UserModule { @Provides fun provideUserService(userService: UserServ...
0
Kotlin
1
8
7cb3f869a27c9f8a6ba44b72a7d328a1383ec4aa
381
KotlinMall-App
Apache License 2.0
src/main/kotlin/com/williambl/haema/compat/rats/RatsMischiefIntegration.kt
williambl
204,155,762
false
null
package com.williambl.haema.compat.rats import com.williambl.haema.ability.component.invisibility.EntityInvisibilityAbilityComponent import com.williambl.haema.ability.component.invisibility.InvisibilityAbilityComponent import com.williambl.haema.ability.component.strength.EntityStrengthAbilityComponent import com.wil...
28
null
14
8
b4f14bfe91e720eb214b141f1d32e8336d08b430
2,310
haema
MIT License
backend/src/test/kotlin/fourkeymetrics/project/controller/ProjectControllerTest.kt
hyrepo
353,285,750
true
{"Kotlin": 270928, "TypeScript": 127220, "JavaScript": 96555, "Gherkin": 26976, "Shell": 7991, "Dockerfile": 2501, "HTML": 354, "Less": 341}
package fourkeymetrics.project.controller import com.fasterxml.jackson.databind.ObjectMapper import fourkeymetrics.MockitoHelper.anyObject import fourkeymetrics.project.buildJenkinsPipelineRequest import fourkeymetrics.project.controller.applicationservice.ProjectApplicationService import fourkeymetrics.project.contro...
0
Kotlin
0
1
f0bb069647ec1ed96558f526c802a02d8e6b88d0
5,779
metrik
MIT License
gto-support-androidx-viewpager2/src/main/java/org/ccci/gto/android/common/androidx/viewpager2/widget/ViewPager2.kt
CruGlobal
30,609,844
false
{"Gradle Kotlin DSL": 70, "Java Properties": 1, "Shell": 1, "Ignore List": 1, "Batchfile": 1, "Git Attributes": 1, "Proguard": 16, "EditorConfig": 1, "Text": 1, "Markdown": 1, "INI": 16, "Kotlin": 523, "Java": 74, "XML": 22, "TOML": 1, "Prolog": 1, "YAML": 4, "JSON": 1}
package org.ccci.gto.android.common.androidx.viewpager2.widget import androidx.annotation.UiThread import androidx.lifecycle.LiveData import androidx.recyclerview.widget.RecyclerView import androidx.viewpager2.widget.ViewPager2 import org.ccci.gto.android.common.androidx.viewpager2.R /** * Provides a work-around for...
4
Kotlin
2
9
7506718d83c532edbdf84921338a26d86422bec6
1,806
android-gto-support
MIT License
shared/src/androidMain/kotlin/UrlOpener.android.kt
samoylenkodmitry
802,959,743
false
{"Kotlin": 176801, "Shell": 14014, "HTML": 2419, "JavaScript": 1777, "Swift": 594, "Dockerfile": 411}
import android.content.Intent import android.net.Uri actual fun getUrlOpener(): UrlOpener = object : UrlOpener { override fun openUrl(url: String) { ContextHelper.currentContext?.startActivity(Intent(Intent.ACTION_VIEW, Uri.parse(url))) } }
17
Kotlin
1
5
0c59d25f558efc3de6b99da50e03101dfc253870
278
shrtlin
MIT License
app/src/main/java/io/horizontalsystems/bankwallet/modules/market/category/MarketCategoryService.kt
horizontalsystems
142,825,178
false
{"Kotlin": 5151333, "Shell": 6112, "Ruby": 1350}
package io.deus.wallet.modules.market.category import io.deus.wallet.core.imageUrl import io.deus.wallet.core.managers.CurrencyManager import io.deus.wallet.core.managers.LanguageManager import io.deus.wallet.core.managers.MarketFavoritesManager import io.deus.wallet.core.subscribeIO import io.deus.wallet.entities.Dat...
153
Kotlin
346
805
399fd8dc84c249dd1094fee0a7a043ec5e4ffa90
3,361
unstoppable-wallet-android
MIT License
etherscanapi/src/main/java/jfyg/data/transaction/TransactionsApi.kt
EbenezerGH
122,701,093
false
null
package jfyg.data.transaction import io.reactivex.Single import jfyg.data.TxExecutionStatus import jfyg.data.TxReceiptStatus import jfyg.network.queries.ApiQuery import jfyg.utils.GET_STATUS import jfyg.utils.GET_TX_RECEIPT_STATUS import jfyg.utils.TRANSACTION import jfyg.utils.TRANSACTION_PUBLIC_ADDRESS /** * https...
11
Kotlin
3
3
cbad4b28e4a22c3577b367c2ad68398ae3fa232f
1,698
etherscan-android-api
MIT License
backend/src/main/kotlin/uk/gov/justice/digital/backend/client/domain/DynamoDBClientProvider.kt
ministryofjustice
620,391,775
false
null
package uk.gov.justice.digital.backend.client.domain import com.amazonaws.client.builder.AwsClientBuilder import com.amazonaws.services.dynamodbv2.AmazonDynamoDB import com.amazonaws.services.dynamodbv2.AmazonDynamoDBClientBuilder import io.micronaut.context.annotation.Value import jakarta.inject.Singleton @Singleton...
1
Kotlin
1
1
46840f878f402c5085e5ed42cf75b3480b99f83b
791
digital-prison-reporting-domain-builder
MIT License
libnavigation-copilot/src/test/java/com/mapbox/navigation/copilot/PeriodicHistoryCleanupWorkerTest.kt
mapbox
87,455,763
false
{"Kotlin": 8885438, "Makefile": 8762, "Python": 7925, "Java": 4624}
package com.mapbox.navigation.copilot import android.content.Context import androidx.work.Data import androidx.work.WorkerParameters import com.mapbox.navigation.copilot.internal.CopilotSession import com.mapbox.navigation.copilot.work.HistoryUploadWorker import com.mapbox.navigation.copilot.work.PeriodicHistoryCleanu...
508
Kotlin
318
621
88163ae3d7e34948369d6945d5b78a72bdd68d7c
5,227
mapbox-navigation-android
Apache License 2.0
src/main/kotlin/tools/board/Point.kt
wrabot
739,807,905
false
{"Kotlin": 19706}
package tools.board data class Point(val x: Int = 0, val y: Int = 0, val z: Int = 0) { fun rotateX() = Point(x, -z, y) fun rotateY() = Point(z, y, -x) fun rotateZ() = Point(-y, x, z) operator fun minus(other: Point) = Point(x - other.x, y - other.y, z - other.z) operator fun plus(other: Point) = Po...
0
Kotlin
0
0
fd2da26c0259349fbc9719e694d58549e7f040a0
541
competitive-tools
Apache License 2.0
android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/kotlin/ModuleRegistry.kt
betomoedano
462,599,485
true
{"TypeScript": 7804102, "Kotlin": 3383974, "Objective-C": 2722124, "Swift": 1723956, "Java": 1686584, "JavaScript": 847793, "C++": 310224, "C": 237463, "Objective-C++": 191888, "Ruby": 167983, "Shell": 59271, "HTML": 31107, "CMake": 25754, "Batchfile": 89, "CSS": 42}
package abi48_0_0.expo.modules.kotlin import abi48_0_0.expo.modules.kotlin.events.EventName import abi48_0_0.expo.modules.kotlin.modules.Module import kotlinx.coroutines.CoroutineName import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.SupervisorJob import java.lang...
454
TypeScript
3947
4
52d6405570a39a87149648d045d91098374f4423
2,228
expo
MIT License
app/src/test/java/com/example/todo_clippo/TaskViewModelTest.kt
Masejoko
756,024,611
false
{"Kotlin": 27581}
package com.example.todo_clippo import kotlinx.coroutines.ExperimentalCoroutinesApi import org.junit.Before import org.junit.Test import org.mockito.Mock import org.mockito.MockitoAnnotations import org.mockito.Mockito.`when` import org.mockito.Mockito.verify import androidx.arch.core.executor.ArchTaskExecutor import ...
0
Kotlin
0
0
a0d5737d324b279c785cd8ee57d5c8948f2a2d22
3,083
TODO-Clippo
MIT License
src/main/kotlin/abc/170-c.kt
kirimin
197,707,422
false
null
package abc import utilities.debugLog import java.util.* fun main(args: Array<String>) { val sc = Scanner(System.`in`) val x = sc.nextInt() val n = sc.nextInt() val p = (0 until n).map { sc.next().toInt() } println(problem170c(x, n, p)) } fun problem170c(x: Int, n: Int, p: List<Int>): Int { i...
0
Kotlin
1
5
dbc2bff5ecd66a6f8a2f0abfd2a64d3505bdcead
608
AtCoderLog
The Unlicense
src/main/kotlin/no/nav/bidrag/aktoerregister/batch/AktørBatchWriter.kt
navikt
595,268,421
false
null
package no.nav.bidrag.aktoerregister.batch import io.github.oshai.KotlinLogging import no.nav.bidrag.aktoerregister.service.AktørService import org.springframework.batch.item.ItemWriter import org.springframework.stereotype.Component private val LOGGER = KotlinLogging.logger { } @Component class AktørBatchWriter(pri...
4
Kotlin
0
0
92fa60223bbcb3c9cb8f0e96f1a58b7187283eb9
773
bidrag-aktoerregister
MIT License
src/main/kotlin/icu/windea/pls/core/search/FilteredRequestResultProcessor.kt
DragonKnightOfBreeze
328,104,626
false
null
package icu.windea.pls.core.search import com.intellij.openapi.progress.* import com.intellij.psi.* import com.intellij.psi.search.* import com.intellij.util.* abstract class FilteredRequestResultProcessor(private val target: PsiElement) : RequestResultProcessor(target) { override fun processTextOccurrence(elemen...
17
null
5
41
99e8660a23f19642c7164c6d6fcafd25b5af40ee
1,296
Paradox-Language-Support
MIT License
app/src/main/java/io/agora/flat/ui/view/StrokeSeeker.kt
netless-io
358,147,122
false
null
package io.agora.flat.ui.view import android.content.Context import android.graphics.* import android.util.AttributeSet import android.util.TypedValue import android.view.MotionEvent import android.view.View class StrokeSeeker @JvmOverloads constructor( context: Context, attrs: AttributeSet? = null, defSt...
0
null
60
99
2bd3b33d9db895379255a8f9b4ddcc30bd1248d3
5,090
flat-android
MIT License
vector/src/main/java/im/vector/riotx/core/epoxy/bottomsheet/BottomSheetMessagePreviewItem.kt
aalzehla
287,565,471
false
null
/* * Copyright 2019 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 agreed to i...
1
null
1
1
ee1d5faf0d59f9cc1c058d45fae3e811d97740fd
2,621
element-android
Apache License 2.0
src/main/kotlin/indi/midreamsheep/app/tre/model/shortcut/textfield/TRETextFieldShortcutKeyManager.kt
Simple-Markdown
744,897,915
false
{"Kotlin": 167940, "Java": 58889}
package indi.midreamsheep.app.tre.model.shortcut.textfield import indi.midreamsheep.app.tre.model.shortcut.TREEditorShortcutKeyManagerAbstract import indi.midreamsheep.app.tre.model.shortcut.TREShortcutKeyHandler import indi.midreamsheep.app.tre.service.ioc.di.inject.listdi.annotation.ListInjector import live.midreams...
0
Kotlin
0
3
a6f2d441cdb376f3ef6dfec594f4dacf1b5fe08e
696
SMarkdown
Apache License 2.0
js/js.translator/src/org/jetbrains/kotlin/js/translate/expression/CatchTranslator.kt
JakeWharton
99,388,807
false
null
/* * Copyright 2010-2015 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...
179
null
5640
83
4383335168338df9bbbe2a63cb213a68d0858104
4,464
kotlin
Apache License 2.0
src/main/java/challenges/cracking_coding_interview/object_oriented_design/deck_of_cards/call_center/Respondent.kt
MalekKamel
342,007,920
false
{"Kotlin": 835312}
package challenges.cracking_coding_interview.object_oriented_design.deck_of_cards.call_center internal class Respondent(callHandler: CallHandler) : Employee(callHandler) { init { rank = Rank.Responder } }
0
Kotlin
0
1
3282a5d6f1906582a8194ff3c8cf3b7530c7a16d
221
ProblemSolving
Apache License 2.0
app/src/test/java/com/lukaslechner/coroutineusecasesonandroid/usecases/coroutines/usecase2/Perform2SequentialNetworkRequestsViewModelTest.kt
renanfranca0
381,667,792
false
{"Kotlin": 210827}
package com.lukaslechner.coroutineusecasesonandroid.usecases.coroutines.usecase2 import androidx.arch.core.executor.testing.InstantTaskExecutorRule import com.lukaslechner.coroutineusecasesonandroid.mock.VersionFeatures import com.lukaslechner.coroutineusecasesonandroid.mock.mockAndroidVersions import com.lukaslechne...
0
Kotlin
0
0
7125e1998c9b6fa025cde35e39f569034ee67ff2
2,855
kotlin-coroutines-use-cases
Apache License 2.0
app/src/main/java/com/rogergcc/certificatepinningdemo/data/cloud/api/GithubApiInstance.kt
rogergcc
634,036,003
false
null
package com.rogergcc.certificatepinningdemo.data.cloud.api import com.rogergcc.certificatepinningdemo.BuildConfig import okhttp3.CertificatePinner import okhttp3.OkHttpClient import okhttp3.logging.HttpLoggingInterceptor import retrofit2.Retrofit import retrofit2.converter.gson.GsonConverterFactory import java.util.co...
0
Kotlin
0
0
51f149b849bffca7c9f725ccb3fc73b38253e1d2
2,356
CertificatePinningDemo
Apache License 2.0
app/src/main/java/com/smithSophiav/web3kotlindemo/MainActivity.kt
smithSophiav
687,850,659
false
{"Kotlin": 49532, "JavaScript": 4146, "HTML": 155}
package com.smithSophiav.web3kotlindemo import android.content.Intent import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.widget.Button import android.widget.Toast class MainActivity : AppCompatActivity() { private var generateAccountBtn: Button? = null private var importAc...
0
Kotlin
0
1
608f86cb93241d4f6fb4cd79467baba20655e48a
4,159
Web3Kotlin
MIT License
src/main/kotlin/com/gmail/blueboxware/libgdxplugin/utils/androidManifest/ManifestVisitor.kt
BlueBoxWare
64,067,118
false
null
package com.gmail.blueboxware.libgdxplugin.utils.androidManifest import com.intellij.psi.XmlRecursiveElementVisitor import com.intellij.psi.xml.XmlAttribute import com.intellij.psi.xml.XmlTag import java.lang.NumberFormatException /* * Copyright 2017 <NAME> * * Licensed under the Apache License, Version 2.0 (the "...
2
null
9
145
bcb911e0c3f3e9319bc8ee2d5b6b554c6090fd6c
3,502
LibGDXPlugin
Apache License 2.0
android/app/src/main/java/com/androidpi/app/viewholder/NewsThreeImagesViewHolder.kt
epicmars
109,362,171
false
{"Java": 552905, "Kotlin": 240657, "JavaScript": 236312, "HTML": 30295, "CSS": 14348, "CMake": 1715, "C++": 263}
//package com.androidpi.app.viewholder // //import android.content.Intent //import android.net.Uri //import android.view.View //import com.androidpi.app.R //import com.androidpi.app.activity.HtmlActivity //import com.androidpi.app.base.BaseViewHolder //import com.androidpi.app.base.BindLayout //import com.androidpi.app...
1
null
1
1
10e3ed8af2321c042714e42a4aacf84d1ac99fc1
2,126
AndroidPi
MIT License
app/src/main/java/br/com/schuster/androidunittests/domain/repository/NoteRepository.kt
cleberschuster
839,383,443
false
{"Kotlin": 35950}
package br.com.schuster.androidunittests.domain.repository import br.com.schuster.androidunittests.domain.model.NoteItem interface NoteRepository { suspend fun upsertNote(noteItem: NoteItem) suspend fun deleteNote(noteItem: NoteItem) suspend fun getAllNotes(): List<NoteItem> }
0
Kotlin
0
0
0a2f78f84e73cdef4acdbd7f47cdb22c36e38e31
314
android_unit_tests_app
Apache License 2.0
app/src/main/java/jp/juggler/subwaytooter/api/entity/TootStatus.kt
BoFFire
146,865,117
false
{"Java Properties": 2, "Perl": 4, "Text": 11, "JSON": 6, "Gradle": 9, "Shell": 1, "Markdown": 1, "Batchfile": 1, "Ignore List": 8, "Git Config": 1, "Proguard": 6, "XML": 120, "Java": 34, "INI": 1, "Kotlin": 224}
package jp.juggler.subwaytooter.api.entity import android.content.Context import android.text.Spannable import android.text.SpannableString import jp.juggler.subwaytooter.App1 import jp.juggler.subwaytooter.Pref import jp.juggler.subwaytooter.R import jp.juggler.subwaytooter.api.TootAccountMap import jp.juggler.subway...
1
null
1
1
4f29ec06764f65fbc63ca59859f5afe826d5b417
24,412
SubwayTooter
Apache License 2.0
BuildSrc/setVersionsFromTask/buildSrc/src/main/kotlin/VersionNameTask.kt
android
259,259,613
false
null
/* * Copyright (C) 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 app...
3
null
64
961
c23620879ef024529605d2b2f7ab27ebadbe55c2
1,009
gradle-recipes
Apache License 2.0
src/main/java/io/github/binaryfoo/decoders/TLVDecoder.kt
binaryfoo
24,409,565
false
null
package io.github.binaryfoo.decoders import io.github.binaryfoo.DecodedData import io.github.binaryfoo.Decoder import io.github.binaryfoo.TagInfo import io.github.binaryfoo.tlv.* class TLVDecoder : Decoder { override fun decode(input: String, startIndexInBytes: Int, session: DecodeSession): List<DecodedData> { ...
7
null
57
136
dda526e6b9d6e45a5d8b5c74217540a478f1154b
3,910
emv-bertlv
MIT License
bukkit/rpk-chat-bukkit/src/main/kotlin/com/rpkit/chat/bukkit/snooper/RPKSnooperServiceImpl.kt
blimyj
363,192,865
true
{"Kotlin": 2999538}
/* * Copyright 2020 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
0
null
0
0
b6f6e90fe466309a97f5620f4c5508df3131154d
2,366
RPKit
Apache License 2.0
app/src/main/java/com/microsoft/research/karya/ui/dashboard/DashboardFragment.kt
microsoft
463,097,428
false
null
package com.microsoft.research.karya.ui.dashboard import android.app.AlertDialog import android.graphics.BitmapFactory import android.graphics.Color import android.os.Bundle import android.view.View import androidx.fragment.app.viewModels import androidx.lifecycle.Observer import androidx.lifecycle.lifecycleScope impo...
5
Kotlin
2
5
f967a2a8e78551446d8beaff26ba2bdc6f9c56cc
9,267
rural-crowdsourcing-toolkit-client
MIT License
service/rest-service/src/main/kotlin/org/veupathdb/service/vdi/service/admin/list-all-datasets.kt
VEuPathDB
575,990,672
false
{"Kotlin": 506439, "Java": 197914, "RAML": 62187, "Makefile": 1936, "Dockerfile": 1001, "Shell": 929}
package org.veupathdb.service.vdi.service.admin import org.veupathdb.service.vdi.generated.model.* import org.veupathdb.service.vdi.util.defaultZone import org.veupathdb.vdi.lib.common.field.DatasetID import org.veupathdb.vdi.lib.common.field.ProjectID import org.veupathdb.vdi.lib.db.app.AppDB import org.veupathdb.vdi...
48
Kotlin
0
0
fec065ed6b7a9f81c16e7738df0d4296fda1ad43
3,539
vdi-service
Apache License 2.0
aispace-server/src/main/kotlin/com/hexamigos/aispaceserver/action/Domain.kt
gitAbid
649,528,263
false
null
package com.hexamigos.aispaceserver.action enum class ChainState { NEXT, SKIP, ERROR, ABORT, FINISHED } data class ActionChain<T>(var state: ChainState = ChainState.NEXT, var content: T) { fun hasNext() = state == ChainState.NEXT } open class ActionResponse<I, O>(val original: I, val processed: O){ overr...
0
Kotlin
0
0
5bbe91e46c85cc744a8092149977d7736d739b53
623
ai-space-codefest-2023
Apache License 2.0
app/src/main/java/io/github/wellingtoncosta/feed/app/ui/postdetails/ListCommentsAdapter.kt
wellingtoncosta
196,209,803
false
{"Kotlin": 72101}
package io.github.wellingtoncosta.feed.app.ui.postdetails import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.core.widget.TextViewCompat import androidx.recyclerview.widget.RecyclerView import io.github.wellingtoncosta.feed.R import io.github.wellingtoncosta.feed.d...
0
Kotlin
0
6
3644d65e7b3e3338b72b25ce7a578a1eae8512e7
1,305
feed
MIT License
Möbius_function/Kotlin/src/MobiusFunction.kt
ncoe
108,064,933
false
{"D": 425100, "Java": 399306, "Visual Basic .NET": 343987, "C++": 328611, "C#": 289790, "C": 216950, "Kotlin": 162468, "Modula-2": 148295, "Groovy": 146721, "Lua": 139015, "Ruby": 84703, "LLVM": 58530, "Python": 46744, "Scala": 43213, "F#": 21133, "Perl": 13407, "JavaScript": 6729, "CSS": 453, "HTML": 409}
import kotlin.math.sqrt fun main() { println("First 199 terms of the möbius function are as follows:") print(" ") for (n in 1..199) { print("%2d ".format(mobiusFunction(n))) if ((n + 1) % 20 == 0) { println() } } } private const val MU_MAX = 1000000 private var ...
1
D
1
4
c2a9f154a5ae77eea2b34bbe5e0cc2248333e421
1,333
rosetta
MIT License