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
InsecureShop-android/app/src/main/java/com/insecureshop/LoginActivity.kt
optiv
371,128,562
false
null
package com.insecureshop import android.Manifest import android.content.Context import android.content.Intent import android.os.Build import android.os.Bundle import android.util.Log import android.view.View import android.widget.Toast import androidx.annotation.RequiresApi import androidx.appcompat.app.AppCompatActiv...
1
null
34
76
00036aac6f045aea3b9008a726d617f65982929c
2,644
InsecureShop
MIT License
idea/testData/copyPaste/imports/QualifiedTypeConflict.to.kt
JakeWharton
99,388,807
false
null
package to class A { class B { } } val v: A? = null <caret>
0
null
28
83
4383335168338df9bbbe2a63cb213a68d0858104
70
kotlin
Apache License 2.0
app/src/main/java/com/armageddon/android/flickrdroid/ui/fragments/list/CameraRollFragment.kt
Teacher55555
335,972,438
false
{"Kotlin": 578706, "Java": 31060}
package com.armageddon.android.flickrdroid.ui.fragments.list import android.annotation.SuppressLint import android.content.Context import android.os.Bundle import android.view.* import android.widget.* import androidx.appcompat.app.AlertDialog import androidx.appcompat.app.AppCompatActivity import androidx.appcompat.w...
0
Kotlin
1
2
57265edc8ce44b9c3673bd6600f147bea27516a2
27,491
Flickr_Droid
Apache License 2.0
src/main/java/challenges/cracking_coding_interview/trees_graphs/route_between_nodes/Graph.kt
MalekKamel
342,007,920
false
{"Kotlin": 835322}
package challenges.cracking_coding_interview.trees_graphs.route_between_nodes class Graph { private val vertices: Array<Node?> = arrayOfNulls(MAX_VERTICES) var count: Int = 0 fun addNode(x: Node?) { if (count < vertices.size) { vertices[count] = x count++ } else { ...
0
Kotlin
0
1
a465bff204ef63ecfbea5c520303ed5312ccf6e8
482
ProblemSolving
Apache License 2.0
kotlinames-sample/src/androidTest/java/com/nagopy/android/kotlinames/RelationshipTest.kt
75py
45,430,979
false
{"Gradle": 7, "Markdown": 3, "Shell": 1, "Text": 1, "Ignore List": 6, "Batchfile": 1, "YAML": 1, "Java Properties": 2, "Proguard": 3, "XML": 6, "Kotlin": 10, "Java": 26}
/* * Copyright 2015 75py * * 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
Kotlin
1
20
9781a458a1e6a788648778608eef2fd7befba8f2
34,231
KotliNames
Apache License 2.0
webauthn2-json-moshi/src/main/java/io/github/ryunen344/webauthn2/json/moshi/AuthenticationExtensionsClientInputsAdapter.kt
RyuNen344
729,132,404
false
{"Kotlin": 340153, "TypeScript": 26425, "WebIDL": 5880}
package io.github.ryunen344.webauthn2.json.moshi import com.squareup.moshi.JsonAdapter import com.squareup.moshi.JsonDataException import com.squareup.moshi.JsonReader import com.squareup.moshi.JsonWriter import com.squareup.moshi.Moshi import com.squareup.moshi.Types import com.squareup.moshi.internal.Util.NO_ANNOTAT...
2
Kotlin
0
2
560157c5f84df28012a0e897cc4bdd90a0bb4875
6,813
WebAuthnKt
Apache License 2.0
cogboard-app/src/main/kotlin/com/cognifide/cogboard/widget/WidgetIndex.kt
marcinkp
232,308,558
true
{"JavaScript": 238647, "Kotlin": 136697, "Shell": 2120, "HTML": 2029, "Dockerfile": 429}
package com.cognifide.cogboard.widget import com.cognifide.cogboard.CogboardConstants import com.cognifide.cogboard.widget.type.AemHealthcheckWidget import com.cognifide.cogboard.widget.type.BambooDeploymentWidget import com.cognifide.cogboard.widget.type.BambooPlanWidget import com.cognifide.cogboard.widget.type.Chec...
0
JavaScript
0
0
99b13d3e3f0894a421e35eeb484ca403db355668
2,569
cogboard
Apache License 2.0
app/src/main/java/com/samiu/wangank/ui/square/WanSquareFragment.kt
SamiuZhong
244,276,691
false
null
package com.samiu.wangank.ui.square import androidx.lifecycle.lifecycleScope import androidx.recyclerview.widget.ItemTouchHelper import com.samiu.base.ui.BaseFragment import com.samiu.base.ui.viewBinding import com.samiu.wangank.R import com.samiu.wangank.databinding.FragmentRecyclerBinding import com.samiu.wangank.ui...
1
Kotlin
3
15
cdf16e53e4c10c3da77ff36396330a1a847e0f5e
1,453
WanAndroidGank
MIT License
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/ec2/BaselineEbsBandwidthMbpsPropertyDsl.kt
F43nd1r
643,016,506
false
null
package com.faendir.awscdkkt.generated.services.ec2 import com.faendir.awscdkkt.AwsCdkDsl import javax.`annotation`.Generated import kotlin.Unit import software.amazon.awscdk.services.ec2.CfnLaunchTemplate @Generated public fun buildBaselineEbsBandwidthMbpsProperty(initializer: @AwsCdkDsl CfnLaunchTemplate.Baseli...
1
Kotlin
0
0
a1cf8fbfdfef9550b3936de2f864543edb76348b
517
aws-cdk-kt
Apache License 2.0
app/src/main/java/zero/friends/gostopcalculator/ui/board/main/BoardScreen.kt
ZeroFriends
412,748,430
false
null
package zero.friends.gostopcalculator.ui.board.main import androidx.activity.compose.BackHandler import androidx.compose.animation.animateContentSize import androidx.compose.foundation.ExperimentalFoundationApi import androidx.compose.foundation.layout.* import androidx.compose.foundation.lazy.* import androidx.compos...
0
Kotlin
1
13
f3faf45cdaf496fe0d06bb73ca813e2097de96a6
9,298
GoStopCalculator
Apache License 2.0
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/BrandOffice.kt
walter-juan
868,046,028
false
{"Kotlin": 34345428}
package com.woowla.compose.icon.collections.tabler.tabler.outline 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.vector.ImageVector import androidx.compose.ui.graphics.vector...
0
Kotlin
0
3
eca6c73337093fbbfbb88546a88d4546482cfffc
1,880
compose-icon-collections
MIT License
src/main/kotlin/cn/soldat/jutils/web/response/ResponseCode.kt
jacob-du
743,856,862
false
{"Kotlin": 33233}
package cn.soldat.jutils.web.response enum class ResponseCode(val code: Int, val msg: String){ SUCCESS(200, "成功"), ERROR(500, "未知错误"), NOT_AUTHORIZED(401, "Not Authorized"), FORBIDDEN(403, "Forbidden"), PAGE_NOT_FOUND(404, "Page Not Found"), METHOD_NOT_ALLOWED(405, "Method Not Allowed"), ...
0
Kotlin
0
0
b74fb635f37d7c633d504c50297c4926632c62ab
1,756
jutils-kt
MIT License
sdk/src/main/kotlin/io/github/wulkanowy/sdk/mapper/SubjectsMapper.kt
wulkanowy
138,756,468
false
{"Kotlin": 705036, "HTML": 70768}
package io.github.wulkanowy.sdk.mapper import io.github.wulkanowy.sdk.pojo.Subject import io.github.wulkanowy.sdk.scrapper.attendance.Subject as ScrapperSubject internal fun List<ScrapperSubject>.mapSubjects(): List<Subject> = map { Subject( id = it.value, name = it.name, ) }
11
Kotlin
5
8
340245d8ccc2790dcb75219c2839e8bdd8b448a4
303
sdk
Apache License 2.0
readonly-collections/src/main/kotlin/com/kamelia/sprinkler/collection/readonly/internal/ReadOnlyMapImpl.kt
Black-Kamelia
579,095,832
false
null
package com.kamelia.sprinkler.collection.readonly.internal import com.kamelia.sprinkler.collection.readonly.ReadOnlyCollection import com.kamelia.sprinkler.collection.readonly.ReadOnlyMap import com.kamelia.sprinkler.collection.readonly.ReadOnlySet import com.kamelia.sprinkler.collection.readonly.asReadOnlyCollection ...
0
Kotlin
0
0
b46d4bd8f1d8ff651119f805bd537e8e2dc142e4
1,393
Sprinkler
Apache License 2.0
calendar/src/commonMain/kotlin/in/procyk/compose/calendar/week/Week.kt
avan1235
705,304,457
false
{"Kotlin": 127307}
/** * Based on ComposeCalendar by <NAME> from [Github](https://github.com/boguszpawlowski/ComposeCalendar) * * 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/...
2
Kotlin
2
5
3051bb101d713ff046edeb90304f8d15f9ab3e40
2,117
compose-extensions
MIT License
bucketeer/src/main/kotlin/io/bucketeer/sdk/android/internal/model/response/GetEvaluationsDataResponse.kt
bucketeer-io
517,624,444
false
null
package io.bucketeer.sdk.android.internal.model.response import com.squareup.moshi.JsonClass import io.bucketeer.sdk.android.internal.model.UserEvaluations @JsonClass(generateAdapter = true) data class GetEvaluationsDataResponse( val evaluations: UserEvaluations, val user_evaluations_id: String, )
8
Kotlin
2
4
5544bbfb5dd127a8d2058f5112734543270b2156
305
android-client-sdk
Apache License 2.0
idea/testData/intentions/replaceWithOperatorAssignment/illegalMultipleOperatorsMiddle.kt
gigliovale
89,726,097
false
null
// IS_APPLICABLE: false fun foo() { var x = 0 val y = 0 x =<caret> y / x + 0 }
0
null
4
6
ce145c015d6461c840050934f2200dbc11cb3d92
90
kotlin
Apache License 2.0
idea/testData/quickfix/migration/enumDelimiter/wholeProject.kt
staltz
38,581,975
true
{"Markdown": 34, "XML": 687, "Ant Build System": 40, "Ignore List": 8, "Git Attributes": 1, "Kotlin": 18510, "Java": 4307, "Protocol Buffer": 4, "Text": 4085, "JavaScript": 63, "JAR Manifest": 3, "Roff": 30, "Roff Manpage": 10, "INI": 7, "HTML": 135, "Groovy": 20, "Maven POM": 50, "Gradle": 71, "Java Properties": 10, "...
// "Insert lacking comma(s) / semicolon(s) in the whole project" "true" enum class First { RED GREEN, BLUE } enum class Second(val code: Int) { NORTH(2) SOUTH(4), EAST(6) WEST(8) } enum class Third { OK { override fun diag(): String = "OK" } ERROR<caret> { override fun dia...
0
Java
0
1
80074c71fa925a1c7173e3fffeea4cdc5872460f
389
kotlin
Apache License 2.0
idea/testData/quickfix/migration/enumDelimiter/wholeProject.kt
staltz
38,581,975
true
{"Markdown": 34, "XML": 687, "Ant Build System": 40, "Ignore List": 8, "Git Attributes": 1, "Kotlin": 18510, "Java": 4307, "Protocol Buffer": 4, "Text": 4085, "JavaScript": 63, "JAR Manifest": 3, "Roff": 30, "Roff Manpage": 10, "INI": 7, "HTML": 135, "Groovy": 20, "Maven POM": 50, "Gradle": 71, "Java Properties": 10, "...
// "Insert lacking comma(s) / semicolon(s) in the whole project" "true" enum class First { RED GREEN, BLUE } enum class Second(val code: Int) { NORTH(2) SOUTH(4), EAST(6) WEST(8) } enum class Third { OK { override fun diag(): String = "OK" } ERROR<caret> { override fun dia...
0
Java
0
1
80074c71fa925a1c7173e3fffeea4cdc5872460f
389
kotlin
Apache License 2.0
common/src/main/kotlin/it/polito/master/ap/group6/ecommerce/common/dtos/RollbackDTO.kt
franckies
367,363,459
false
null
package it.polito.master.ap.group6.ecommerce.common.dtos import it.polito.master.ap.group6.ecommerce.common.misc.MicroService data class RollbackDTO ( val sagaID: String? = null, val sender: MicroService? = null, )
0
Kotlin
0
0
884650f45ba385ee98ee0d0fa685404865169e74
226
ecommerce-api
Apache License 2.0
base-compat/src/main/java/kin/sdk/internal/Utils.kt
samdowd
289,057,378
false
null
package kin.sdk.internal import kin.sdk.Balance import kin.sdk.EventListener import kin.sdk.ListenerRegistration import kin.sdk.PaymentInfo import kin.sdk.Transaction import kin.sdk.TransactionId import kin.sdk.WhitelistableTransaction import org.kin.sdk.base.models.KinBalance import org.kin.sdk.base.models.KinPayment...
1
null
1
1
332710536024472c745f776f3c6f058fff1901ee
5,060
kin-android
MIT License
src/main/kotlin/com/cultureshock/madeleine/config/swagger/SwaggerConfig.kt
DDD-Community
401,593,410
false
null
package com.cultureshock.madeleine.config.swagger import org.slf4j.LoggerFactory import org.springframework.boot.info.BuildProperties import org.springframework.context.annotation.Bean import org.springframework.context.annotation.Configuration import org.springframework.http.ResponseEntity import org.springframework....
2
Kotlin
1
4
fc07b03adafd42f7c9c11c8e135c197f24182df8
3,189
CultureShock-Server
MIT License
string-annotations/common/shared/src/main/java/com/mmolosay/stringannotations/args/qualified/Qualified.kt
mmolosay
519,758,730
false
null
package com.mmolosay.stringannotations.args.qualified /* * 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 ...
0
Kotlin
0
1
458fe7fd6c0529490b7851ec6e783834d0a53422
746
StringAnnotations
Apache License 2.0
gaia-sdk-java/gaia-sdk-graphql/src/test/kotlin/gaia/sdk/client/HMACTest.kt
leftshiftone
218,051,248
false
{"Python": 597076, "TypeScript": 553203, "Kotlin": 517386, "JavaScript": 6976, "ANTLR": 2281}
package gaia.sdk.client import org.assertj.core.api.Assertions import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test internal class HMACTest { lateinit var hmac : HMAC @BeforeEach fun setup(){ hmac = HMAC("secretKey") } @Test fun `generate a HMAC Hash for a byteAr...
8
Python
2
1
10190c1de4b2b5f1d4a5f014602c4ccc5c11bee4
704
gaia-sdk
MIT License
Android/App_YanZiJi/App/src/main/java/com/zktony/android/data/UpgradeState.kt
OriginalLight
556,213,614
false
{"Kotlin": 6123849, "C#": 376657, "Vue": 164353, "Rust": 101266, "C++": 63250, "TypeScript": 62359, "Python": 28781, "CMake": 18271, "C": 16214, "Less": 2885, "Dockerfile": 1898, "HTML": 648, "JavaScript": 450}
package com.zktony.android.data sealed class UpgradeState { data class Message(val message: String) : UpgradeState() data class Progress(val progress: Double) : UpgradeState() data class Err(val t: Throwable) : UpgradeState() data object Success : UpgradeState() }
0
Kotlin
0
1
bcf0671b9e4ad199e579764f29683c1c575369d2
281
ZkTony
Apache License 2.0
meteor-core/src/commonMain/kotlin/io/spherelabs/meteor/reducer/EmptyReducer.kt
getspherelabs
646,328,849
false
{"Kotlin": 68656}
package io.spherelabs.meteor.reducer import io.spherelabs.meteor.configs.Change import io.spherelabs.meteor.extension.unexpected public fun <State : Any, Wish : Any, Effect : Any> emptyReducer(): Reducer<State, Wish, Effect> = object : Reducer<State, Wish, Effect> { override fun reduce(currentState: State, curre...
13
Kotlin
3
41
c2406b12c08ab20485130d00b82ef181ebd0a890
410
meteor-kmp
Apache License 2.0
src/main/kotlin/io/newm/kogmios/protocols/model/result/ProjectedRewardsResult.kt
projectNEWM
469,781,993
false
{"Kotlin": 341920, "Shell": 26}
package io.newm.kogmios.protocols.model.result import io.newm.kogmios.protocols.model.NonMyopicMemberRewardsResult import io.newm.kogmios.protocols.model.serializers.ProjectedRewardsResultSerializer import kotlinx.serialization.Serializable @Serializable(with = ProjectedRewardsResultSerializer::class) class Projected...
0
Kotlin
1
4
f0f312d8eb5438efa866e2f82fa2edb99f923345
689
kogmios
Apache License 2.0
app/src/main/java/io/github/template/util/LoggerUtils.kt
Faierbel
340,192,417
false
null
package io.github.template.util import timber.log.Timber class DebugLogTree : Timber.DebugTree() { override fun log(priority: Int, tag: String?, message: String, t: Throwable?) { super.log(priority, "Template", message, t) } }
10
Kotlin
1
3
0777f4acc307a9a334f25ad10092756cfd1dff01
246
android-template
MIT License
src/test/kotlin/net/onedaybeard/transducers/TestTransducersKt.kt
junkdog
79,411,642
false
null
package net.onedaybeard.transducers import java.util.concurrent.atomic.AtomicBoolean import java.util.concurrent.atomic.AtomicInteger fun <A> copy() = object : Transducer<A, A> { override fun <R> apply(rf: ReducingFunction<R, A>) = object : RfOn<R, A, A>(rf) { override fun apply(result: R, input: A, redu...
0
Kotlin
0
5
ebbc0b8928748a3fae63b50558bd3f02d6c24b92
2,155
transducers-kotlin
Apache License 2.0
app/src/main/java/io/chaldeaprjkt/gamespace/widget/PanelView.kt
PixelBlaster-CAF
516,455,795
false
null
/* * Copyright (C) 2021 Chaldeaprjkt * * 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...
0
Kotlin
0
0
73889fcbeab38d315f4767ef6ece4008595b3a55
5,155
packages_apps_GameSpace
Apache License 2.0
gi/src/commonMain/kotlin/org/anime_game_servers/multi_proto/gi/data/activity/effigy_challenge_v2/EffigyChallengeV2DungeonInfoNotify.kt
Anime-Game-Servers
642,871,918
false
{"Kotlin": 1651536}
package org.anime_game_servers.multi_proto.gi.data.activity.effigy_challenge_v2 import org.anime_game_servers.core.base.Version.GI_3_2_0 import org.anime_game_servers.core.base.annotations.AddedIn import org.anime_game_servers.core.base.annotations.proto.CommandType.* import org.anime_game_servers.core.base.annotation...
0
Kotlin
2
6
7639afe4f546aa5bbd9b4afc9c06c17f9547c588
520
anime-game-multi-proto
MIT License
src/main/java/com/dzen/campfire/api/requests/post/RPostGetDraft.kt
ZeonXX
381,983,751
false
{"Kotlin": 1087578}
package com.dzen.campfire.api.requests.post import com.dzen.campfire.api.models.publications.post.PublicationPost import com.dzen.campfire.api.models.publications.tags.PublicationTag import com.dzen.campfire.api.tools.client.Request import com.sup.dev.java.libs.json.Json open class RPostGetDraft(var publicationId: Lo...
0
Kotlin
2
5
6f3b371624fb66a065bcbaa6302830c574c55e9f
1,256
CampfireApi
Apache License 2.0
sample/src/main/kotlin/gtk3/ColorButton.kt
kropp
91,442,994
false
null
package gtk3 import kotlin.String import kotlin.Unit import kotlinx.cinterop.CFunction import kotlinx.cinterop.COpaquePointer import kotlinx.cinterop.CPointer import kotlinx.cinterop.asStableRef import kotlinx.cinterop.reinterpret import kotlinx.cinterop.staticCFunction import kotlinx.cinterop.toKString import libgtk3...
6
Kotlin
12
90
9609e7ab19064d27f05fc76fccd03139306d0001
2,490
kotlin-native-gtk
Apache License 2.0
magic/ext/oauth/src/main/java/link/magic/android/extension/oauth/challenge/OAuthChallenge.kt
magiclabs
589,703,550
false
{"Kotlin": 117962, "Java": 7309, "Solidity": 426}
package link.magic.android.extension.oauth.challenge import android.util.Base64 import java.security.MessageDigest import java.util.* class OAuthChallenge { var state: String val verifier: String val challenge: String private val letters :String = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz...
0
Kotlin
2
3
b4836decf414703a7080d166126847916f386340
1,287
magic-android
Apache License 2.0
common/src/main/java/cc/femto/android/common/util/RecyclerViewExtensions.kt
hpost
212,640,172
false
null
package cc.femto.android.common.util import androidx.recyclerview.widget.LinearLayoutManager import androidx.recyclerview.widget.RecyclerView import com.jakewharton.rxbinding3.view.scrollChangeEvents import io.reactivex.Observable fun RecyclerView.pageLoadEvents(itemThreshold: Int = 10): Observable<Boolean> = thi...
0
Kotlin
0
2
95c3c0042f5ba8b4950a33af2eb9a1c59451aee3
755
reactive-android-architecture
MIT License
app/src/main/java/biz/eldmandate/kotlinsample/ui/core/BaseViewHolder.kt
riontech-xten
303,602,117
false
null
package biz.eldmandate.kotlinsample.ui.core import android.view.View import androidx.recyclerview.widget.RecyclerView /** * Created by <NAME> on 14/10/20. * Smart Call Center Solution Pvt. Ltd. * <EMAIL> */ class BaseViewHolder(itemView: View) : RecyclerView.ViewHolder(itemView), View.OnClickListener { pri...
0
Kotlin
0
0
ab229e833422297721129762fd6ae8bb86dc59ea
783
kotlin-sample
Apache License 2.0
src/main/kotlin/no/nav/tilleggsstonader/integrasjoner/arena/AktivitetDtoMapper.kt
navikt
690,986,456
false
{"Kotlin": 228217, "Dockerfile": 174}
package no.nav.tilleggsstonader.integrasjoner.arena import no.nav.tilleggsstonader.integrasjoner.util.DatoUtil.min import no.nav.tilleggsstonader.kontrakter.aktivitet.AktivitetArenaDto import no.nav.tilleggsstonader.kontrakter.aktivitet.Kilde import no.nav.tilleggsstonader.kontrakter.aktivitet.StatusAktivitet import j...
1
Kotlin
0
0
f7ae0197918186ba9187a30ae38565d76801a568
2,960
tilleggsstonader-integrasjoner
MIT License
redwood-treehouse-host/src/appsJvmTest/kotlin/app/cash/redwood/treehouse/leaks/CycleFinder.kt
cashapp
305,409,146
false
{"Kotlin": 2089205, "Swift": 20649, "Objective-C": 4497, "Java": 1583, "Shell": 253, "HTML": 235, "C": 129}
/* * Copyright (C) 2024 Square, 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 agre...
108
Kotlin
73
1,648
3f14e622c2900ec7e0dfaff5bd850c95a7f29937
1,961
redwood
Apache License 2.0
app/src/main/java/com/guideapp/data/remote/GuideApi.kt
thaleslima
39,300,864
false
null
package com.guideapp.data.remote import com.guideapp.model.Local import com.guideapp.model.SubCategory import com.guideapp.model.wrapper.ListResponse import retrofit2.Call import retrofit2.http.GET import retrofit2.http.Query interface GuideApi { @GET("local") fun getLocals( @Query("idCity") idC...
8
JavaScript
18
19
11610228921dd7b0a5606bce1f585e3f0854a177
708
GuideApp
Apache License 2.0
app/src/main/java/org/mtg/screen/report/ReportUseCase.kt
ncipollo
197,251,201
false
null
package org.mtg.screen.report import io.reactivex.ObservableTransformer import org.mtg.model.MatchResult import org.mtg.model.User import org.mtg.repository.MatchRemoteRepository import org.mtg.repository.UserRemoteRepository class ReportUseCase( private val matchRepo: MatchRemoteRepository, private val userR...
0
Kotlin
5
2
7af4be91acf30a6d1bd250fbebb8cea9685f4310
1,529
mtg-league-android
MIT License
ViewModelELifecycleParaMelhorExperienciaEmAplicativosAndroid/app/src/main/java/com/p3d50/vmodel/MainActivity.kt
P3d50
385,913,689
false
{"Kotlin": 77599, "Java": 630}
package com.p3d50.vmodel import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.util.Log import android.widget.Button import android.widget.EditText import android.widget.TextView import android.widget.Toast import androidx.lifecycle.Observer import androidx.lifecycle.ViewModelProvider...
0
Kotlin
0
0
c01548ce52429782c2185d0872f2405afa6ee4c6
1,501
Santander-Bootcamp-Kotlin-Mobile-Developer-Digital-Innovation-One-2021
MIT License
src/main/kotlin/com/starlitmc/extensions/StringExt.kt
StarlitMC
783,358,315
false
{"Kotlin": 95414, "Java": 3180}
@file:Suppress("unused") package com.starlitmc.extensions import net.kyori.adventure.text.Component import net.minecraft.block.Block import net.minecraft.item.Item import net.minecraft.registry.Registries import net.minecraft.text.MutableText import net.minecraft.text.Text import net.minecraft.util.Identifier import ...
0
Kotlin
0
0
bed5a5fcc4ce928ca370c39cd73279c0c78c8b6f
4,216
StarlitUtils
Creative Commons Zero v1.0 Universal
app/src/main/java/com/sourav/bettere/db/ChargingDB.kt
Esarve
295,738,170
false
null
/* * Copyright 2020 <NAME> */ package com.sourav.bettere.db import android.content.Context import androidx.room.Database import androidx.room.Room import androidx.room.RoomDatabase import com.sourav.bettere.db.dao.HistoryDao import com.sourav.bettere.db.dao.LogDao import com.sourav.bettere.db.entity.ChargingHistory...
0
Kotlin
0
1
bae943cca164cd226ee596971fe21019458e573a
1,273
BetterE
Apache License 2.0
keyceremonytrustee/src/main/kotlin/webapps/electionguard/routes/GuardianRoutes.kt
JohnLCaron
561,445,922
false
{"Kotlin": 53553}
package webapps.electionguard.routes import webapps.electionguard.groupContext import webapps.electionguard.models.* import com.github.michaelbull.result.Ok import com.github.michaelbull.result.unwrap import com.github.michaelbull.result.unwrapError import electionguard.json.* import io.ktor.http.* import io.ktor.serv...
0
Kotlin
0
0
b4fc598ad194ed9ebb52a7324357bda1caafcc20
6,205
electionguard-webapps
MIT License
app/src/main/java/nl/amsterdam/openmonumentendag/repository/ObservableDataRepository.kt
mattking17
149,164,443
false
null
package nl.amsterdam.openmonumentendag.repository import nl.amsterdam.openmonumentendag.source.DataSource import io.reactivex.Observable import io.reactivex.Single import nl.amsterdam.openmonumentendag.source.DataSourceSearchQuery abstract class ObservableDataRepository<in S, T>(val dataSource: DataSource<S, T>) { ...
0
Kotlin
0
0
fc62ffe5ec1f974481ae6dd4f548006de0f03d1f
614
AmsterdamOpenMonumentenDag2018
MIT License
RxUI/src/main/java/com/tamsiree/rxui/view/colorpicker/ColorPickerView.kt
Tamsiree
69,093,112
false
null
package com.tamsiree.rxui.view.colorpicker import android.annotation.TargetApi import android.content.Context import android.graphics.Bitmap import android.graphics.Canvas import android.graphics.Color import android.graphics.PorterDuff import android.text.Editable import android.text.TextWatcher import android.util.A...
70
Kotlin
2855
12,025
fa5f88c24594a562c2a9047c40ceeb94de297428
19,654
RxTool
Apache License 2.0
batch/src/main/kotlin/com/isystk/sample/batch/jobs/importMst/ImportMstJobListener.kt
isystk
328,037,305
false
{"Kotlin": 462354, "TypeScript": 88591, "HTML": 77276, "SCSS": 24557, "FreeMarker": 21801, "JavaScript": 5293, "Shell": 3607, "Dockerfile": 1581, "CSS": 942}
package com.isystk.sample.batch.jobs.importMst import com.isystk.sample.batch.listener.BaseJobExecutionListener class ImportMstJobListener : BaseJobExecutionListener() { protected override val batchId: String protected get() = "BATCH_002" protected override val batchName: String protected get(...
0
Kotlin
0
2
2e4e0c62af22c05403e5d3452ba08eb09c05a7f1
335
kotlin-springboot-boilerplate
MIT License
cryptic-sequences-core/commonMain/src/net/plcarmel/crypticsequences/core/bits/BitQueue.kt
plcarmel
344,168,944
false
null
package net.plcarmel.crypticsequences.core.bits interface BitQueue { val size: Int fun put(bits: Long, n: Int) fun get(n: Int): Long fun clear() fun addRandomBitsFromNumber(word: Long, nbValues: Long) { if (nbValues >= 2) { val n = nbValues.countNbCompleteBits() val mask = 1L shl n if...
0
Kotlin
0
0
2792e9632fef0cb22c4bacc49f209d3463ec5b19
712
cryptic-sequences
MIT License
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/crypto/outline/Wanchain.kt
Tlaster
560,394,734
false
{"Kotlin": 25133302}
package moe.tlaster.icons.vuesax.vuesaxicons.crypto.outline 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 a...
0
Kotlin
0
2
b8a8231e6637c2008f675ae76a3423b82ee53950
5,238
VuesaxIcons
MIT License
runner/src/main/kotlin/io/engenious/sift/OrchestratorClient.kt
engeniousio
262,129,936
false
null
package io.engenious.sift import io.engenious.sift.run.ResultData import kotlinx.serialization.Serializable import okhttp3.OkHttpClient import okhttp3.internal.closeQuietly import okhttp3.logging.HttpLoggingInterceptor import org.http4k.client.OkHttp import org.http4k.core.ContentType import org.http4k.core.Filter imp...
0
null
2
3
da5ee89d7509f66fe58468eb30e03dd05a1b89c9
11,612
sift-android
Apache License 2.0
app/src/main/kotlin/com/keygenqt/demo_contacts/modules/favorite/ui/screens/listFavorite/FavoriteBody.kt
keygenqt
395,565,985
false
null
/* * Copyright 2021 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
0
Kotlin
3
8
8dc06d7a0c6cd3716c07fd2b2168ff42673c12ab
3,879
android-DemoCompose
Apache License 2.0
ui/src/main/java/com/pyamsoft/pydroid/ui/internal/about/AboutViewState.kt
pyamsoft
48,562,480
false
null
/* * Copyright 2022 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
6
null
3
8
8f3f1e3c77f6caeaea58036b1091bb7ddf283485
1,275
pydroid
Apache License 2.0
app/src/main/java/com/renaisn/reader/base/BaseActivity.kt
RenaisnNce
598,532,496
false
null
package com.renaisn.reader.base import android.content.Context import android.content.res.Configuration import android.graphics.drawable.BitmapDrawable import android.os.Build import android.os.Bundle import android.util.AttributeSet import android.view.Menu import android.view.MenuItem import android.view.View import...
1
Kotlin
1
4
4ac03e214e951f7f4f337d4da1f7e39fa715d1c0
6,509
Renaisn_Android
MIT License
rd-kt/rd-gen/src/test/kotlin/com/jetbrains/rd/generator/test/cases/generator/cpp/CppDocumentationModelTest.kt
JetBrains
107,686,809
false
{"C#": 1845849, "Kotlin": 1606295, "C++": 1087156, "CMake": 45400, "Batchfile": 8969, "C": 688, "Shell": 672, "Dockerfile": 152}
package com.jetbrains.rd.generator.test.cases.generator.cpp import com.jetbrains.rd.generator.test.cases.generator.testModels.DocumentationModelRoot import com.jetbrains.rd.generator.testframework.CppRdGenOutputTest import org.junit.jupiter.api.Test class CppDocumentationModelTest : CppRdGenOutputTest() { compan...
36
C#
53
384
e25603699e1751abfe1beeeec77c89db9d3fda80
713
rd
Apache License 2.0
library_base/src/main/java/com/moyoi/library_base/data/SystemDataHelper.kt
leo0228
392,571,636
false
{"Gradle": 11, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 10, "Batchfile": 1, "INI": 1, "Markdown": 1, "Proguard": 8, "XML": 108, "Kotlin": 120, "Java": 8, "HTML": 1}
package com.moyoi.library_base.data import androidx.lifecycle.LiveData import androidx.lifecycle.Transformations import com.moyoi.library_base.db.SimpleDBHelper /** * @Description 系统数据持久化辅助类 * @Author Lu * @Date 2021/7/22 17:44 * @Version: 1.0 */ object SystemDataHelper { private const val UI_MODE = "ui_mod...
1
null
1
1
785cd0feaef8cc82b2e2d1eddf08582ecb2acd04
1,405
Kotlin_WanAndroid
Apache License 2.0
compiler/tests/org/jetbrains/kotlin/util/ResolvedDependencyIdTest.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...
/* * Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.util import org.jetbrains.kotlin.utils.ResolvedDependencyId import org.jetbrains...
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
2,227
kotlin
Apache License 2.0
app/src/main/java/com/jamesm10101/astraeus/utils/AlertUtils.kt
JamesM10101
665,791,630
false
{"Kotlin": 182016}
package com.jamesm10101.astraeus.utils import android.content.Context import android.content.Intent import android.net.Uri import android.provider.Settings import com.google.android.material.dialog.MaterialAlertDialogBuilder import com.jamesm10101.astraeus.R /** * Utility class for handling storage permission-relate...
0
Kotlin
0
0
f81f4400e5fedd31acd5b24858a6cf5cbfba3c66
2,770
Astraeus
MIT License
kotlin/resistor-color-duo/src/main/kotlin/ResistorColorDuo.kt
fredyw
523,079,058
false
null
object ResistorColorDuo { fun value(vararg colors: Color): Int { return colors.take(2) .map { COLOR_MAP[it] ?: throw IllegalArgumentException() } .joinToString("") .toInt() } private val COLOR_MAP = mapOf( Color.BLACK to 0, Color.BROWN to 1, ...
0
Kotlin
0
0
101a0c849678ebb7d2e15b896cfd9e5d82c56275
530
exercism
MIT License
kotlin/resistor-color-duo/src/main/kotlin/ResistorColorDuo.kt
fredyw
523,079,058
false
null
object ResistorColorDuo { fun value(vararg colors: Color): Int { return colors.take(2) .map { COLOR_MAP[it] ?: throw IllegalArgumentException() } .joinToString("") .toInt() } private val COLOR_MAP = mapOf( Color.BLACK to 0, Color.BROWN to 1, ...
0
Kotlin
0
0
101a0c849678ebb7d2e15b896cfd9e5d82c56275
530
exercism
MIT License
service/src/test/kotlin/org/eclipse/keti/controller/test/ZoneControllerIT.kt
anubhavi25
137,931,061
true
{"Kotlin": 1252473, "Shell": 39051, "Gherkin": 8014, "Groovy": 6987}
/******************************************************************************* * Copyright 2018 General Electric Company * * 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:...
1
Kotlin
0
0
285400fba42c687bb42bf4e537ae6f9eca4bf4df
7,430
keti
Apache License 2.0
src/main/kotlin/com/igorini/togepibot/gui/keyword/LittleBoyKeyword.kt
igorini
123,990,696
false
null
package com.igorini.togepibot.gui.keyword /** Represents a keyword for text and sound associated with "Little Boy" */ object LittleBoyKeyword : Keyword() { override fun folder() = "little-boy" override fun voiceRus() = listOf("мальчик", "мальчика", "мальчику", "мальчиком", "мальчике", "мальчики", "мальчиков", ...
0
Kotlin
0
0
80de398881b5999dfd107b12c9a279915788306b
541
togepi-bot
Apache License 2.0
dachlatten-google/src/main/kotlin/de/sipgate/dachlatten/google/TaskExt.kt
sipgate
695,233,490
false
{"Kotlin": 103019}
package de.sipgate.dachlatten.google import com.google.android.gms.tasks.Task import kotlinx.coroutines.tasks.await suspend fun <T> Task<T>.awaitResult(): Result<T> { return try { Result.success(await()) } catch (e: Throwable) { Result.failure(e) } }
1
Kotlin
0
1
ed15972284d7b096dfcb5b159bdad1d766624158
281
dachlatten
Apache License 2.0
app/src/main/java/com/example/androiddevchallenge/ui/AnimatedWeatherVector.kt
wilsoncastiblanco
348,888,496
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
fba7c4d2874b551f47b2bbe9e104c7df543edb5e
4,289
composed-weather
Apache License 2.0
src/i_introduction/_6_Data_Classes/n06DataClasses.kt
kosciolekj
143,028,362
true
{"Kotlin": 76215, "Java": 4315}
package i_introduction._6_Data_Classes import util.TODO import util.doc6 fun todoTask6(): Nothing = TODO( """ Convert 'JavaCode6.Person' class to Kotlin. Then add a modifier `data` to the resulting class. This annotation means the compiler will generate a bunch of useful methods in thi...
0
Kotlin
0
0
aabce74b1b0d9392c8cb7d3f7b3ea42b1a9380ce
745
kotlin-koans
MIT License
framework/src/main/kotlin/com/chrynan/klutter/physics/OverdampedSpringSolution.kt
chRyNaN
164,444,924
false
null
package com.chrynan.klutter.physics import kotlin.math.E import kotlin.math.pow import kotlin.math.sqrt class OverdampedSpringSolution( spring: SpringDescription, distance: Double, velocity: Double ) : SpringSolution( spring = spring, initialPosition = distance, initialVelocity = velocity ) { ...
0
Kotlin
0
1
3a138f51a327924944fd86cbfb1804820b9c4691
877
klutter
Apache License 2.0
kotlin-mui-icons/src/main/generated/mui/icons/material/CallToActionTwoTone.kt
JetBrains
93,250,841
false
null
// Automatically generated - do not modify! @file:JsModule("@mui/icons-material/CallToActionTwoTone") package mui.icons.material @JsName("default") external val CallToActionTwoTone: SvgIconComponent
12
null
5
983
a99345a0160a80a7a90bf1adfbfdc83a31a18dd6
202
kotlin-wrappers
Apache License 2.0
plugin/src/main/kotlin/net/feelform/git/GitSubmodulePlugin.kt
feelform
521,587,332
false
{"Kotlin": 6100, "Groovy": 1253}
package net.feelform.git import net.feelform.git.tasks.SubmoduleUpdater import org.gradle.api.Plugin import org.gradle.api.Project class GitSubmodulePlugin : Plugin<Project> { override fun apply(project: Project) { val extension = project.extensions.create("submodule", SubmoduleExtension::class.java) ...
1
Kotlin
0
0
896468f66a1e1058fd58a0860b8dc8ec6580a888
552
git-gradle-plugin
Apache License 2.0
core/src/main/java/com/facebook/ktfmt/format/RedundantImportDetector.kt
facebook
218,383,922
false
null
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * 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 appl...
42
null
76
910
ed949e89eea22843ac10d4fb91685453754abd25
5,754
ktfmt
Apache License 2.0
kpermissions/src/test/kotlin/com/fondesa/kpermissions/PermissionStatusKtTest.kt
fondesa
116,413,221
false
{"Kotlin": 170790, "Shell": 592}
/* * Copyright (c) 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 i...
12
Kotlin
32
514
2cefa9a0e3dac9c37930844f10040b755f9a160e
11,050
kpermissions
Apache License 2.0
app/src/main/java/io/particle/android/sdk/controlpanel/ControlPanelFlowUiDelegate.kt
odisoedim
247,783,323
true
{"Java Properties": 2, "Markdown": 7, "Gradle": 10, "Shell": 2, "Batchfile": 1, "Text": 1, "Ignore List": 7, "XML": 231, "Proguard": 7, "Java": 356, "Kotlin": 220, "JavaScript": 2, "CMake": 1, "C": 79}
package io.particle.android.sdk.controlpanel import android.app.Application import androidx.lifecycle.LiveData import androidx.navigation.NavController import io.particle.mesh.setup.flow.DialogTool import io.particle.mesh.setup.flow.Scopes import io.particle.mesh.setup.flow.modules.BaseFlowUiDelegate import io.particl...
0
null
0
0
87ce59eb47078d0e3f563ba3efc4f81e50acb600
4,004
SmartHome
Apache License 2.0
app/src/main/kotlin/net/primal/android/navigation/splash/SplashContract.kt
PrimalHQ
639,579,258
false
null
package net.primal.android.navigation.splash interface SplashContract { sealed class SideEffect { object NoActiveAccount : SideEffect() data class ActiveAccount(val userPubkey: String) : SideEffect() } }
13
null
4
7
fd815cd9a771c1b110e0e12ceca1012201d8e9dc
230
primal-android-app
MIT License
app/src/main/java/ru/dimon6018/metrolauncher/content/oobe/AdFragment.kt
queuejw
659,118,377
false
{"Kotlin": 225152, "Java": 129719}
package ru.dimon6018.metrolauncher.content.oobe 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.ImageView import androidx.fragment.app.Fragment import androidx.fragment.app.comm...
0
Kotlin
0
14
7331cd6b737467aef9d13e09e03d3e40b3187bde
2,353
MetroPhoneLauncher
MIT License
app/src/main/java/ru/dimon6018/metrolauncher/content/oobe/AdFragment.kt
queuejw
659,118,377
false
{"Kotlin": 225152, "Java": 129719}
package ru.dimon6018.metrolauncher.content.oobe 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.ImageView import androidx.fragment.app.Fragment import androidx.fragment.app.comm...
0
Kotlin
0
14
7331cd6b737467aef9d13e09e03d3e40b3187bde
2,353
MetroPhoneLauncher
MIT License
ariesframework/src/main/java/org/hyperledger/ariesframework/ledger/LedgerService.kt
hyperledger
685,515,500
false
{"Kotlin": 450744, "Java": 6968}
package org.hyperledger.ariesframework.ledger import kotlinx.coroutines.future.await import kotlinx.serialization.Serializable import kotlinx.serialization.decodeFromString import kotlinx.serialization.json.Json import org.hyperledger.ariesframework.agent.Agent import org.hyperledger.ariesframework.toJsonString import...
0
Kotlin
4
6
71011c2c9f149e87e2a936ae07b6e2f1529c006b
6,837
aries-framework-kotlin
Apache License 2.0
android/src/main/java/com/internxt/mobilesdk/services/photos/PhotosProcessingWorker.kt
internxt
520,855,099
false
null
package com.internxt.mobilesdk.services.photos import android.app.NotificationChannel import android.app.NotificationManager import android.content.Context import android.os.Build import androidx.core.app.NotificationCompat import androidx.work.* import com.internxt.mobilesdk.R import com.internxt.mobilesdk.services.F...
0
Kotlin
1
0
42face1a645daef2673d60810094a0c57cc6455e
4,058
mobile-sdk
MIT License
app/src/main/java/com/sanjarbek/fitbit/FoodAdapter.kt
Janoff14
549,507,045
false
null
package com.sanjarbek.fitbit import android.content.Context import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.TextView import androidx.recyclerview.widget.RecyclerView class FoodAdapter(val context: Context, val arrayList: ArrayList<Food>): RecyclerView.Ad...
1
Kotlin
0
0
1a98eb97df2c5aa518645155cc6f937855486d84
1,100
FitBit
Apache License 2.0
src/main/kotlin/com/theoparis/forgedcarpet/EventHandler.kt
theoparis
316,883,937
false
null
package com.theoparis.forgedcarpet import com.theoparis.forgedcarpet.util.TickSpeed import net.minecraft.client.Minecraft import net.minecraftforge.event.TickEvent import net.minecraftforge.eventbus.api.SubscribeEvent import sun.audio.AudioPlayer.player class EventHandler { companion object { @SubscribeEv...
0
null
1
0
2a65b694ad2abdbde8b0b8abfac3a4f59e24a9a0
727
forgedcarpet
MIT License
src/test/kotlin/no/nav/familie/ef/sak/service/steg/StegServiceTest.kt
blommish
359,371,467
false
null
package no.nav.familie.ef.sak.service.steg import no.nav.familie.ef.sak.OppslagSpringRunnerTest import no.nav.familie.ef.sak.no.nav.familie.ef.sak.repository.behandling import no.nav.familie.ef.sak.no.nav.familie.ef.sak.repository.fagsak import no.nav.familie.ef.sak.repository.BehandlingRepository import no.nav.famili...
1
null
1
1
0e850df593c82a910c68c2393e6d2f30fc49eaa7
1,856
familie-ef-sak
MIT License
app/src/main/java/louis/flight/status/info/data/repository/GlobalSummaryRepository.kt
louisfaria-softly
292,564,287
false
null
package louis.flight.status.info.data.repository import android.content.SharedPreferences import com.github.mikephil.charting.data.PieEntry import louis.flight.status.info.data.local.dao.GlobalSummaryDao import louis.flight.status.info.data.local.model.GlobalSummary import louis.flight.status.info.data.mappers.mapToLo...
0
Kotlin
0
0
9fe7168310488433b0c88e29aa9ed1bff0ba1009
1,955
FlightData
Apache License 2.0
base/src/commonTest/kotlin/com/github/fsbarata/functional/data/monoid/AllMonoidTest.kt
fsbarata
277,280,202
false
{"Kotlin": 302755}
package com.github.fsbarata.functional.data.monoid import com.github.fsbarata.functional.assertEquals import com.github.fsbarata.functional.data.Monoid import com.github.fsbarata.functional.data.MonoidLaws import kotlin.test.Test import kotlin.test.assertFalse import kotlin.test.assertTrue class AllMonoidTest: Monoid...
0
Kotlin
1
0
16b294442e55b65aeff2977d8eabdb02c84a1253
1,060
kotlin-functional
Apache License 2.0
persistence/src/main/kotlin/com/kousenit/persistence/dao/OfficerRepository.kt
kousen
171,222,129
false
null
package com.kousenit.persistence.dao import com.kousenit.persistence.entities.Officer import org.springframework.data.jpa.repository.JpaRepository interface OfficerRepository : JpaRepository<Officer, Int> { }
0
Kotlin
12
30
bce1f0737a45503fc86395260b87d2cb1c66a6ff
210
spring-kotlin
MIT License
jps/jps-plugin/src/org/jetbrains/kotlin/jps/statistic/JpsBuilderMetricReporter.kt
JetBrains
3,432,266
false
null
/* * Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.jps.statistic import org.jetbrains.jps.ModuleChunk import org.jetbrains.jps.incr...
181
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
1,195
kotlin
Apache License 2.0
src/main/kotlin/no/nav/tilleggsstonader/sak/brev/FrittståendeBrevDto.kt
navikt
685,490,225
false
{"Kotlin": 1769873, "Gherkin": 41585, "HTML": 39172, "Shell": 924, "Dockerfile": 164}
package no.nav.tilleggsstonader.sak.brev data class FrittståendeBrevDto( val pdf: ByteArray, // val mottakere: BrevmottakereDto, val tittel: String, )
1
Kotlin
1
0
47e4ad82b01838375aa7c1c2d73509d8758380d7
164
tilleggsstonader-sak
MIT License
googlepay/src/main/java/com/adyen/checkout/googlepay/AllowedCardNetworks.kt
Adyen
91,104,663
false
{"Kotlin": 4786289, "Shell": 4700}
/* * Copyright (c) 2023 <NAME>. * * This file is open source and available under the MIT license. See the LICENSE file for more info. * * Created by josephj on 5/12/2023. */ package com.adyen.checkout.googlepay /** * The card networks accepted by Google Pay. */ @Suppress("MemberVisibilityCanBePrivate") object ...
22
Kotlin
66
126
5b728181dbf41af37c5f9d436b4c65cb30a23e41
649
adyen-android
MIT License
kotlin-mui-icons/src/main/generated/mui/icons/material/SignalCellularConnectedNoInternet1Bar.kt
JetBrains
93,250,841
false
null
// Automatically generated - do not modify! @file:JsModule("@mui/icons-material/SignalCellularConnectedNoInternet1Bar") package mui.icons.material @JsName("default") external val SignalCellularConnectedNoInternet1Bar: SvgIconComponent
10
Kotlin
5
983
7ef1028ba3e0982dc93edcdfa6ee1edb334ddf35
238
kotlin-wrappers
Apache License 2.0
orm/src/main/kotlin/ru/astrainteractive/astralibs/orm/DBConnection.kt
Astra-Interactive
422,588,271
false
null
package ru.astrainteractive.astralibs.orm sealed class DBConnection(val driver: String) { abstract val url: String class SQLite(val dbName: String) : DBConnection("org.sqlite.JDBC") { override val url: String get() = "jdbc:sqlite:$dbName" } class InMemory(val dbName: String) : DBC...
1
null
0
3
bb1b90672880705880ce68bd2bb78494b2b7e525
1,380
AstraLibs
MIT License
core/src/main/java/com/nimbusframework/nimbuscore/annotations/function/HttpMethod.kt
thomasjallerton
163,180,980
false
null
package com.nimbusframework.nimbuscore.annotations.function enum class HttpMethod { GET, POST, DELETE, HEAD, OPTIONS, PATCH, PUT, ANY }
3
null
5
38
789a9599d2388bde323feabc5896edc72d405198
140
nimbus-framework
MIT License
app/src/main/java/com/qhy040404/fxxkmiuiad/utils/PackageUtils.kt
qhy040404
584,369,982
false
null
package com.qhy040404.fxxkmiuiad.utils import android.content.Context import android.content.Intent import android.content.pm.IPackageManager import android.content.pm.PackageManager import com.qhy040404.fxxkmiuiad.BuildConfig import com.qhy040404.fxxkmiuiad.compat.PackageManagerCompat.Companion.asCompat import rikka....
1
null
0
27
9a0755a60d8bb14ca48445fb52b3678bb31432a4
1,959
FxxkMIUIAd
Apache License 2.0
app/src/main/java/com/tapp/apod_app/ui/detail/DetailViewModelDelegate.kt
TeoChopi
332,043,115
false
null
package com.tapp.apod_app.ui.detail import com.tapp.apod_app.repository.model.Apod interface DetailViewModelDelegate { fun onApodSuccess(apod: Apod) fun onApodFailure(error: String) fun getApod(apod: Apod) fun insertApod(apod: Apod) fun deleteApod(apod: Apod) }
0
Kotlin
0
0
176a38d5e8923065ecdc5f5013ae05587c8acc85
284
APOD
Apache License 2.0
plugin/src/main/kotlin/ru/astrainteractive/astratemplate/gui/router/DefaultRouter.kt
Astra-Interactive
378,620,934
false
{"Kotlin": 99146}
package ru.astrainteractive.astratemplate.gui.router import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.launch import kotlinx.coroutines.withContext import org.bukkit.entity.Player import ru.astrainteractive.astralibs.async.BukkitDispatchers import ru.astrainteractive.astratemplate.gui.di.SampleGuiDepe...
1
Kotlin
0
19
6888a5c03b817496b3b8dcec28be719e39417e4d
1,012
AstraTemplate
MIT License
parallel-programming/universal-construction/src/Solution.kt
nothingelsematters
135,926,684
false
null
import java.lang.ThreadLocal.withInitial class Solution : AtomicCounter { private val root = Node(0) private val last = withInitial { -> root } override fun getAndAdd(x: Int): Int { var node: Node var old: Int do { old = last.get().value node = Node(old + ...
1
null
3
5
d442a3d25b579b96c6abda13ed3f7e60d1747b53
535
university
Do What The F*ck You Want To Public License
app/src/main/java/com/starry/myne/utils/Extensions.kt
Pool-Of-Tears
568,700,970
false
{"Kotlin": 369144}
/* Copyright 2022 - 2023 <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 dis...
8
Kotlin
49
632
7f1ce9ebf49191258be4acc8e198d2d53822fb1e
1,026
Myne
Apache License 2.0
app/src/main/java/com/example/hobbyfi/intents/UserListIntent.kt
GGLozanov
310,078,278
false
null
package com.example.hobbyfi.intents import com.example.hobbyfi.models.data.User sealed class UserListIntent : Intent { object FetchUsers : UserListIntent() data class KickUser(val userId: Long) : UserListIntent() data class AddAUserCache(val user: User) : UserListIntent() data class UpdateAUserCache...
0
Kotlin
3
1
afb30f72a4213c924fdf8e3cb5eefd76d6a0d320
455
Hobbyfi
Apache License 2.0
src/test/kotlin/com/github/kmtr/detektimportcustoms/ImportCustomsRuleTest.kt
kmtr
521,050,044
false
{"Kotlin": 3507}
package com.github.kmtr.detektimportcustoms import io.gitlab.arturbosch.detekt.rules.KotlinCoreEnvironmentTest import io.gitlab.arturbosch.detekt.test.TestConfig import io.gitlab.arturbosch.detekt.test.compileAndLintWithContext import io.kotest.matchers.collections.shouldHaveSize import org.jetbrains.kotlin.cli.jvm.co...
0
Kotlin
0
0
3bd84d990a5e06e8f859f01569b5ca3a6991d495
1,025
detekt-rule-import-customs
Apache License 2.0
app/src/main/java/com/gatheringhallstudios/mhworlddatabase/features/weapons/list/WeaponTreeListFragment.kt
gatheringhallstudios
109,581,966
false
null
package com.gatheringhallstudios.mhworlddatabase.features.weapons.list import android.os.Bundle import android.view.View import androidx.lifecycle.Observer import androidx.lifecycle.ViewModelProviders import com.gatheringhallstudios.mhworlddatabase.AppSettings import com.gatheringhallstudios.mhworlddatabase.util.Recyc...
5
null
22
54
7a81b4ccd9e5f898bf9373d7c60f85c6c8f85781
1,400
MHWorldDatabase
MIT License
app/src/main/java/com/nsk/app/bussiness/index/viewmodel/Xmodel.kt
StephenGiant
230,359,216
false
null
package com.nsk.app.bussiness.index.viewmodel import android.view.View import android.widget.Toast import com.nsk.app.base.BaseViewModel class Xmodel:BaseViewModel() { public fun testClick(view: View){ // Toast.makeText(topview.context,"caonima!!",Toast.LENGTH_SHORT).show() } }
1
null
1
1
d4bd736b90989a2a8b774dafcc57ab8aa42aabae
295
fuckcky
Apache License 2.0
app/src/main/java/com/example/mockpropertymanagmentapp/data/listeners/PropertyListListener.kt
adamcreeves
301,543,820
false
{"Kotlin": 78539}
package com.example.mockpropertymanagmentapp.data.listeners import androidx.lifecycle.LiveData import com.example.mockpropertymanagmentapp.data.models.Property interface PropertyListListener { fun onStarted() fun onSuccessful(response: LiveData<ArrayList<Property>>) fun onFailed(message: String) }
0
Kotlin
0
0
13c2013fdb5f689455f4deef7b15c6ca95174bc7
312
Mock-Property-Managment-App-kotlin
MIT License
kotest-assertions/kotest-assertions-compiler/src/jvmTest/kotlin/io/kotest/matchers/compilation/CompilationsMatcherTest.kt
ajalt
134,604,357
true
{"Kotlin": 2954857, "HTML": 423, "Java": 145}
package com.sksamuel.kotest.matchers import io.kotest.core.spec.style.StringSpec import io.kotest.core.test.TestCase import io.kotest.core.test.TestResult import io.kotest.matchers.shouldCompile import io.kotest.matchers.shouldNotCompile import java.io.File class CompilationsMatcherTest : StringSpec() { lateinit v...
6
Kotlin
0
1
ff1b42546abba34ec13eeb7c8f876e546ffc1e02
2,458
kotlintest
Apache License 2.0
app/src/main/java/com/rami/koroutinesdemo/ui/models/DetailMovieItem.kt
rami-de
214,674,311
false
null
package com.rami.koroutinesdemo.ui.models data class DetailMovieItem( val title: String, val bigPosterUrl: String, val smallPosterUrl: String, val runTime: String, val rating: String, val genres: String, val releaseYear: String, val description: String )
0
Kotlin
0
0
2b748717e49ead520bc5c4f2b247b4e7fc826f83
287
KoroutinesDemo
MIT License
app/src/main/java/io/bluetrace/opentrace/logging/SDLog.kt
theheraldproject
393,484,200
false
null
package io.bluetrace.opentrace.logging import android.os.Environment import java.io.BufferedWriter import java.io.File import java.io.FileWriter import java.io.IOException import java.text.SimpleDateFormat import java.util.* object SDLog { private const val APP_NAME = "OpenTrace" private const val FOLDER = "...
0
Kotlin
0
0
ee99902ea2f3adb5290fed4739ebbdddb152a3ac
3,452
opentrace-v1-android
Apache License 2.0