path
stringlengths
4
280
owner
stringlengths
2
39
repo_id
int64
21.1k
879M
is_fork
bool
2 classes
languages_distribution
stringlengths
13
1.95k
⌀
content
stringlengths
7
482k
issues
int64
0
13.9k
main_language
stringclasses
121 values
forks
stringlengths
1
5
stars
int64
0
111k
commit_sha
stringlengths
40
40
size
int64
7
482k
name
stringlengths
1
100
license
stringclasses
93 values
src/main/kotlin/org/amfibot/discord/bot/ListenerChain.kt
AMFi-Bot
524,381,726
false
null
package org.amfibot.discord.bot import net.dv8tion.jda.api.events.GenericEvent import org.amfibot.discord.bot.guild.Guild /** * Handles every event from the bot. * Distributes the events to the listeners. * Builds the listener chain that allows to distribute the events to only one listener * If the EventListener ...
1
Kotlin
0
0
b6a8f5dca39f48fee519f6149c0d8163226140ee
930
discordBot
Apache License 2.0
app/src/main/java/com/vtnd/lus/shared/AnimateType.kt
VTNPlusD
304,347,147
false
null
package com.vtnd.lus.shared enum class AnimateType { FADE, SLIDE_TO_RIGHT, SLIDE_TO_LEFT, NONE }
0
Kotlin
1
2
dfe63b1a5d76ce13a1663752823ffbf24b8549e2
114
lus-android
MIT License
build-logic/convention/src/main/kotlin/com/github/rezaiyan/suite/buildlogic/config.kt
rezaiyan
641,963,210
false
null
package com.github.rezaiyan.suite.buildlogic import org.gradle.api.JavaVersion @Suppress("ClassName") internal object config { const val minSdkVersion = 26 const val compileSdkVersion = 33 const val targetSdkVersion = 32 val javaVersion = JavaVersion.VERSION_17 object test { const val ins...
0
Kotlin
0
0
9871df5120e9c4533e6fb1a1f6cadc4f27d92e2f
537
Suite
MIT License
src/test/kotlin/io/tcds/orm/column/DateColumnTest.kt
tcds-io
560,178,616
false
null
package io.tcds.orm.column import fixtures.ColumnTypes import io.mockk.* import org.junit.jupiter.api.Test import java.sql.Date import java.sql.PreparedStatement import java.time.LocalDate class DateColumnTest { private val stmt: PreparedStatement = mockk() private val date = LocalDate.now() @Test fu...
1
Kotlin
0
0
9cf74a43a668c70a7ad69395f0a8d0159d07624f
636
kotlin-orm
MIT License
feature/floormap/src/main/java/io/github/droidkaigi/confsched2020/floormap/ui/FloorMapFragment.kt
kubode
235,293,107
false
null
package io.github.droidkaigi.confsched2020.floormap.ui import androidx.fragment.app.Fragment import androidx.lifecycle.LifecycleOwner import androidx.lifecycle.LiveData import dagger.Module import dagger.Provides import io.github.droidkaigi.confsched2020.di.Injectable import io.github.droidkaigi.confsched2020.di.PageS...
0
null
0
1
3220b66fc66afdf80b8e0076bed999c43c8a5f2b
897
conference-app-2020
Apache License 2.0
app/src/main/java/good/damn/filesharing/share_protocol/method/ShareMethodSystemInfo.kt
GoodDamn
728,781,884
false
{"Kotlin": 67815}
package good.damn.filesharing.share_protocol.method import android.os.Build import good.damn.filesharing.Application import good.damn.filesharing.utils.ResponseUtils import java.io.File import java.io.OutputStream class ShareMethodSystemInfo : ShareMethodStream( "info".toByteArray( Application.CHARSET_ASC...
0
Kotlin
0
0
71773e0606d10c2315d70926192d726a8769cdb2
830
SocketServer
MIT License
intellij-plugin/src/main/kotlin/app/softwork/kobol/intellij/CobolSyntaxHighlighterFactory.kt
hfhbd
494,537,230
false
{"Kotlin": 514482, "Lex": 13748}
package app.softwork.kobol.intellij import com.intellij.openapi.fileTypes.* import com.intellij.openapi.project.* import com.intellij.openapi.vfs.* internal class CobolSyntaxHighlighterFactory : SyntaxHighlighterFactory() { override fun getSyntaxHighlighter(project: Project?, virtualFile: VirtualFile?) = ...
52
Kotlin
0
1
d6eb88e70815147c3500d312bb132daff903dcb5
345
kobol
Apache License 2.0
LiveDataNoSticky/app/src/main/java/com/trip/livedatanosticky/MainViewModel.kt
groooooomit
519,648,392
false
{"Kotlin": 16384}
package com.trip.livedatanosticky import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel class MainViewModel : ViewModel() { private val _data = MutableLiveData<Int?>() val data: LiveData<Int?> = _data fun increment() { val value = _data.v...
0
Kotlin
0
5
af49140c933c762f3ce4b16d549808f272815ea4
370
livedata-no-sticky
Apache License 2.0
androidApp/src/main/java/com/andigeeky/tripmate/android/TripMateApplication.kt
mamatagelanee07
475,798,741
false
{"Kotlin": 10019, "Ruby": 3366, "Swift": 1030}
package com.andigeeky.tripmate.android import android.app.Application import com.andigeeky.tripmate.di.initKoin import org.koin.android.ext.koin.androidContext import org.koin.android.ext.koin.androidLogger import org.koin.core.logger.Level class TripMateApplication : Application() { override fun onCreate() { ...
0
Kotlin
0
0
8bfc169a9dd99f00859071809b53759fdba2e3f5
553
trip-mate
Apache License 2.0
app/src/main/java/com/sriniketh/prose/Navigation.kt
sriniketh
508,750,949
false
{"Kotlin": 167908}
package com.sriniketh.prose internal sealed interface Screen { val route: String data object BOOKSHELF : Screen { override val route: String = "bookshelf" } data object VIEWHIGHLIGHTS : Screen { override val route: String = "view_highlights" const val argBookId: String = "book...
0
Kotlin
0
1
69206d4dc6ae559b7d1644c340eff5ef92db9237
1,168
prose
Apache License 2.0
app/src/main/java/com/sriniketh/prose/Navigation.kt
sriniketh
508,750,949
false
{"Kotlin": 167908}
package com.sriniketh.prose internal sealed interface Screen { val route: String data object BOOKSHELF : Screen { override val route: String = "bookshelf" } data object VIEWHIGHLIGHTS : Screen { override val route: String = "view_highlights" const val argBookId: String = "book...
0
Kotlin
0
1
69206d4dc6ae559b7d1644c340eff5ef92db9237
1,168
prose
Apache License 2.0
SendSmsWithOzeki.Libs.Rest/app/src/main/java/Ozeki/Libs/Rest/Folder.kt
ozekisms
379,188,742
false
null
package Ozeki.Libs.Rest enum class Folder { Inbox, Outbox, Sent, NotSent, Deleted, Null; override fun toString(): String { return when (this) { Inbox -> "inbox" Outbox -> "outbox" Sent -> "sent" NotSent -> "notsent" Delete...
0
Kotlin
0
0
63027f6691c71cd4fe7264c31b698a5838058a0c
689
kotlin-send-sms-http-rest-ozeki
MIT License
src/main/kotlin/com/luxoft/ness/tmdbgraphql/schema/Context.kt
nestorperezdev
624,112,410
false
null
package com.luxoft.ness.tmdbgraphql.schema import com.expediagroup.graphql.generator.annotations.GraphQLDescription data class Context(@GraphQLDescription("TMDB API Token") val token: String)
0
Kotlin
0
0
b484d03a8dcc8dd6bc7b4dc0728b04a65242e246
193
tmdb-graphql-server
Apache License 2.0
dataframe-jdbc/src/main/kotlin/org/jetbrains/kotlinx/dataframe/io/Jdbc.kt
Kotlin
259,256,617
false
{"Kotlin": 8227503, "Java": 17608, "JavaScript": 11483, "CSS": 3083, "HTML": 137, "Shell": 73}
package org.jetbrains.kotlinx.dataframe.io import org.jetbrains.kotlinx.dataframe.AnyFrame import org.jetbrains.kotlinx.dataframe.DataFrame import org.jetbrains.kotlinx.dataframe.codeGen.AbstractDefaultReadMethod import org.jetbrains.kotlinx.dataframe.codeGen.DefaultReadDfMethod import org.jetbrains.kotlinx.jupyter.ap...
235
Kotlin
60
833
54d00e69ae7c06ff254c6591242413eaf7894f01
1,874
dataframe
Apache License 2.0
app/src/main/java/com/example/cheerboost/feature_count/domain/sensor/AndroidSensor.kt
HirokiTakeshita
587,951,538
false
null
package com.example.cheerboost.feature_count.domain.sensor import android.content.Context import android.hardware.Sensor import android.hardware.SensorEvent import android.hardware.SensorEventListener import android.hardware.SensorManager abstract class AndroidSensor( private val context: Context, sensorType:...
0
Kotlin
0
0
c59f5e0568af5286cfefbae79fc750c969b7737f
1,270
CheerBoost
MIT License
shared/src/commonMain/kotlin/com/alpha/networkfile/rclone/Rclone.kt
mrjoechen
669,421,109
false
{"Kotlin": 436969, "Java": 23934, "Swift": 580, "Shell": 228}
package com.alpha.networkfile.rclone import Process import com.alpha.networkfile.model.NetworkFile import com.alpha.networkfile.rclone.entity.RcloneFileItem import com.alpha.networkfile.rclone.entity.Remote import com.alpha.networkfile.rclone.entity.SpaceInfo import com.alpha.networkfile.storage.ext.toRemote import co...
0
Kotlin
0
0
6b3c425ac81fb1eb464f5c9351a4efb6993cbd27
9,078
Showcase-multiplatform
Apache License 2.0
app/src/main/java/com/example/pavelshilyagov/tryelmish/elmish/Cmd.kt
p69
107,984,547
false
null
package com.example.pavelshilyagov.tryelmish.elmish import com.example.pavelshilyagov.tryelmish.then import kotlinx.coroutines.experimental.* typealias Dispatch<TMsg> = suspend (TMsg) -> Unit typealias Sub<TMsg> = (Dispatch<TMsg>) -> Unit typealias Cmd<TMsg> = List<Sub<TMsg>> object CmdF { inline val none: Cm...
0
Kotlin
0
0
67ff033c0fb2f07c8141e78bd401c6aef776f2b9
2,823
android-elmish
MIT License
src/integrationTest/resources/sample-project/src/test/kotlin/FooTest.kt
kotest
805,068,497
false
{"Kotlin": 5937}
import io.kotest.core.spec.style.FunSpec import io.kotest.matchers.shouldBe class FooTest: FunSpec({ test("Test the foo") { Foo.foo() shouldBe "foo" } })
0
Kotlin
0
3
7687f26b93db5cb642cffbd5c6223a97b7dd6aba
171
kotest-extensions-skippy
Apache License 2.0
app/src/main/java/com/brainasaservice/kotlin/kotlingooglemaps/ui/BaseFragment.kt
damian-burke
100,870,420
false
null
package com.brainasaservice.kotlin.kotlingooglemaps.ui import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import dagger.android.support.DaggerFragment import timber.log.Timber import javax.inject.Inject /** * Created by Damian on 20.08.2017. */ abstra...
0
Kotlin
2
6
341b984723227b8ea08870e74eefbae41af32d30
1,734
kotlin-mvp-google-maps
Apache License 2.0
app/src/main/java/com/kyberswap/android/presentation/main/setting/wallet/ManageWalletFragment.kt
manhlx3006
258,624,831
true
{"Kotlin": 2124262, "Java": 75332, "Ruby": 5070}
package com.kyberswap.android.presentation.main.setting.wallet import android.os.Bundle import android.os.Handler import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.lifecycle.Observer import androidx.lifecycle.ViewModelProviders import androidx.recyclerview.widge...
0
null
0
0
8b149808a898a91cc9b1438a919556354359750c
7,200
android-app
MIT License
data-local/src/main/java/tech/danielwaiguru/data_local/models/RemoteKey.kt
DanielWaiguru91
366,433,410
false
null
package tech.danielwaiguru.data_local.models import androidx.room.Entity import androidx.room.PrimaryKey @Entity(tableName = "remote_keys") data class RemoteKey( @PrimaryKey(autoGenerate = true) val id: Long = 0L, val movieId: Int, val prevPage: Int?, val nextPage: Int? )
0
Kotlin
2
0
e854386ce79cd8f6a4b3d3df936d03e3e18ba883
295
Qhala-Android-Test
MIT License
iterate/src/main/java/com/iteratehq/iterate/model/DismissedResults.kt
iteratehq
377,306,613
false
null
package com.iteratehq.iterate.model import androidx.annotation.Keep import com.google.gson.annotations.SerializedName @Keep internal data class DismissedResults( val id: String?, @SerializedName("last_dismissed") val lastDismissed: String? )
1
Kotlin
1
3
c8efc28f43556f4f136cf45d73f02fd512cdcd13
256
iterate-android
MIT License
app/src/main/java/com/plcoding/weatherapp/presentation/WeatherForecastDaily.kt
AdamPomorski
797,712,375
false
{"Kotlin": 43183}
package com.plcoding.weatherapp.presentation import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.* import androidx.compose.foundation.lazy.LazyRow import androidx.compose.foundation.lazy.items import androidx.compose.material.Text import androidx.compose.runtime.Composable import and...
0
Kotlin
0
0
f1976a6419bcd3902f552eb67b59b9438c426c83
1,951
WeatherForecast
Apache License 2.0
src/main/kotlin/com/github/wumo/security/Hash.kt
wumo
269,505,736
false
null
package com.github.wumo.security import java.security.MessageDigest.getInstance object Hash { fun String.md5() = StringBuilder(32).apply { //优化过的 md5 字符串生成算法 getInstance("MD5") .digest(toByteArray()).forEach { val value = it.toInt() and 0xFF val high = value / 16 ...
0
Kotlin
0
0
6f33cfd626a30c4daa161d3831d044705fc5cd82
498
common-utils
MIT License
src/main/kotlin/no/nav/dekoratoren/api/innloggingsstatus/user/SubjectNameService.kt
navikt
289,222,802
false
null
package no.nav.dekoratoren.api.innloggingsstatus.user import com.github.benmanes.caffeine.cache.Cache import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.runBlocking import kotlinx.coroutines.withContext import no.nav.dekoratoren.api.innloggingsstatus.pdl.PdlService class SubjectNameService(private val pd...
2
Kotlin
1
0
000df12772b59e05d05ab9a898a0755c027cc173
953
nav-dekoratoren-api
MIT License
examples/src/main/kotlin/com/algolia/instantsearch/examples/directory/DirectoryItem.kt
algolia
55,971,521
false
null
package com.algolia.instantsearch.examples.directory sealed class DirectoryItem { data class Header(val name: String) : DirectoryItem() data class Item(val hit: DirectoryHit) : DirectoryItem() }
5
Kotlin
22
140
7feb9f30bd32c963161ceead279d1c4f1525d783
207
instantsearch-android
Apache License 2.0
datasource/src/main/kotlin/gq/kirmanak/mealient/datasource/MealieDataSource.kt
kirmanak
431,195,533
false
null
package gq.kirmanak.mealient.datasource import gq.kirmanak.mealient.datasource.models.CreateApiTokenRequest import gq.kirmanak.mealient.datasource.models.CreateApiTokenResponse import gq.kirmanak.mealient.datasource.models.CreateRecipeRequest import gq.kirmanak.mealient.datasource.models.CreateShoppingListItemRequest ...
25
null
4
99
13a73812a16d928eb45147c297a56360ec605089
2,881
Mealient
MIT License
cosec-core/src/main/kotlin/me/ahoo/cosec/token/SimpleTokenTenantPrincipal.kt
Ahoo-Wang
567,999,401
false
{"Kotlin": 588793, "Dockerfile": 594}
/* * Copyright [2021-present] [<NAME> <<EMAIL>> (https://github.com/Ahoo-Wang)]. * 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...
1
Kotlin
4
32
668cabb23c3947f8d6dd5251ecb50b80f5defc91
1,325
CoSec
Apache License 2.0
DisableInputLayer/src/main/kotlin/example/App.kt
aterai
158,348,575
false
null
package example import java.awt.* import java.awt.event.InputEvent import java.beans.PropertyChangeEvent import javax.swing.* import javax.swing.plaf.LayerUI fun makeUI(): Component { val layerUI = DisableInputLayerUI<Component>() val stopper = Timer(5000) { layerUI.stop() } val button = JButton("Stop 5sec") ...
0
null
5
9
47a0c684f64c3db2c8b631b2c20c6c7f9205bcab
2,706
kotlin-swing-tips
MIT License
if/EX-Carro-Salario.kt
sabrinacafe
841,706,198
false
{"Kotlin": 35849}
import kotlin.math.* fun main(){ var salario: Float = 5000f var contas: Float = 5000f var carro1: String = "Fusca" var carro2: String = "uno" if(salario > contas){ println("ufa que bom") }else { println("deu ruim") } if(salario == contas){ println("igual") ...
0
Kotlin
0
0
cc53ae87b412840619932bb2e94774b67381373d
482
mad-android-main
Apache License 2.0
backend/src/main/kotlin/uk/co/threebugs/darwinexclient/DarwinexClient.kt
willhumphreys
707,276,309
false
{"Kotlin": 177488, "TypeScript": 75284, "MQL5": 45825, "JavaScript": 8872, "Dockerfile": 2660, "Python": 2634, "CSS": 606, "Shell": 595}
package uk.co.threebugs.darwinexclient import org.springframework.boot.autoconfigure.SpringBootApplication import org.springframework.boot.runApplication import org.springframework.scheduling.annotation.EnableScheduling @SpringBootApplication @EnableScheduling class DarwinexClientApplication fun main(args: Array<Str...
7
Kotlin
0
0
d040c0864335801429cbdcbb76f17b59904ce02a
383
darwinex-client
Apache License 2.0
app/src/main/java/com/example/sunweather/login/Repository.kt
xiagmingdev
630,265,576
false
null
package com.example.sunweather.login import androidx.lifecycle.liveData import com.example.sunweather.login.model.PlaceResponse import com.example.sunweather.login.network.SunnyWeatherNetwork import kotlinx.coroutines.Dispatchers object Repository { fun searchPlaces(query:String) = liveData(Dispatchers.IO){ ...
0
Kotlin
0
0
8777fdb435163f79536032f0416967ed178b0462
826
SunWeather
Apache License 2.0
app/src/main/java/id/imdvlpr/kiosdigital/utils/extension/Constants.kt
Imdvlpr99
867,592,442
false
{"Kotlin": 20636}
package id.imdvlpr.kiosdigital.utils.extension object Constants { interface PREF { companion object { const val NAME = "kios_digital_pref" const val PASSWORD_PREF = "<PASSWORD>" const val IS_LOGGED_IN = "is_logged_in" } } }
0
Kotlin
0
0
cfc3b0eb12f28e61bcfd73af3627924366eff293
284
KiosDigital
MIT License
src/test/kotlin/org/edudev/domain/properties/zipcodes/boundary/ViaCepBoundaryIntegrationTest.kt
Duduxs
360,320,691
false
null
package org.edudev.domain.properties.zipcodes.boundary import org.edudev.domain.properties.zipcodes.Address import org.edudev.domain.properties.zipcodes.UF import org.junit.jupiter.api.Assertions.* import org.junit.jupiter.api.Test import javax.ws.rs.WebApplicationException import javax.ws.rs.client.Client import java...
0
Kotlin
1
1
811a977f0059ba5fba2f022441bfc56834c6d9d6
1,668
auth-api
MIT License
src/test/kotlin/io/github/projectmapk/jackson/module/kogera/_integration/ser/JvmFieldTest.kt
ProjectMapK
488,347,906
false
null
package io.github.projectmapk.jackson.module.kogera._integration.ser import io.github.projectmapk.jackson.module.kogera.jacksonObjectMapper import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Test class JvmFieldTest { data class Src( @JvmField val `foo-foo`: String, ...
8
null
3
89
7d9dbcd2fcdbc48631c01b51a919fe03ac6bb47e
577
jackson-module-kogera
Apache License 2.0
ocpp-1-6-core/src/main/kotlin/com/izivia/ocpp/core16/model/bootnotification/BootNotificationResp.kt
IZIVIA
501,708,979
false
null
package com.izivia.ocpp.core16.model.bootnotification import com.izivia.ocpp.core16.model.bootnotification.enumeration.RegistrationStatus import kotlinx.datetime.Instant data class BootNotificationResp( val currentTime: Instant, val interval: Int, val status: RegistrationStatus )
7
null
7
32
bd8e7334ae05ea75d02d96a508269acbe076bcd8
294
ocpp-toolkit
MIT License
src/main/kotlin/org/hyrical/communities/endpoints/CommunityEndpoints.kt
Nopock
520,881,418
false
null
package org.hyrical.communities.endpoints import io.ktor.server.application.* import io.ktor.server.response.* import io.ktor.server.routing.* import org.hyrical.communities.post.endpoints.createPostEndpoints import org.hyrical.communities.repository.CommunityRepository import org.hyrical.respond fun Application.crea...
0
Kotlin
0
0
38754045290f3d1208d6eaf3e2d5e9811bdd5419
986
Forums-Backend
MIT License
app/src/main/java/org/rfcx/incidents/view/guardian/connect/GuardianConnectViewModel.kt
rfcx
104,899,135
false
{"Kotlin": 1176262, "Java": 1049}
package org.rfcx.incidents.view.guardian.connect import android.net.wifi.ScanResult import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.Job import kotlinx.coroutines.channels.BufferOverflow import kotlinx.coroutines.flow.MutableSh...
29
Kotlin
0
0
804d56b8c7475e51299db5fde9207ae783820bf9
1,937
guardian-app-android
Apache License 2.0
compose_material3/src/main/java/dev/vengateshm/compose_material3/custom_ui/charts/line/LineChartWithPoints.kt
vengateshm
670,054,614
false
{"Kotlin": 1951190, "Java": 55066}
package dev.vengateshm.compose_material3.custom_ui.charts.line import androidx.compose.foundation.Canvas import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.height import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier import androidx.compose.ui.grap...
0
Kotlin
0
1
1b6a1284df7d294721c7e2890aa3e9e3f0f1e104
1,342
Android-Kotlin-Jetpack-Compose-Practice
Apache License 2.0
server/src/main/kotlin/org/reckful/archive/playeverland/repository/EmailSubscriptionRepository.kt
ReckfulArchive
658,862,548
false
null
package org.reckful.archive.playeverland.repository interface EmailSubscriptionRepository { fun subscribe(email: String) }
0
Kotlin
0
0
d90eee48367811e50942e300ea47a816a1a1baa4
128
playeverland
MIT License
coroutines/mongodb/src/main/kotlin/org/springframework/data/mongodb/core/index/DefaultCoroutinesIndexOperations.kt
ksvasan
166,462,348
false
null
/* * Copyright 2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
1
null
1
1
a747b8ac4d224ca598398ae834eac53d15c2d895
911
spring-fu-native-image
Apache License 2.0
coroutines/mongodb/src/main/kotlin/org/springframework/data/mongodb/core/index/DefaultCoroutinesIndexOperations.kt
ksvasan
166,462,348
false
null
/* * Copyright 2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
1
null
1
1
a747b8ac4d224ca598398ae834eac53d15c2d895
911
spring-fu-native-image
Apache License 2.0
user-feature/src/main/kotlin/org/kurron/gurps/user/UserReservedEvent.kt
kurron
556,034,164
false
null
package org.kurron.gurps.asset import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.databind.ObjectMapper import java.time.Instant import java.util.Date import java.util.UUID import org.kurron.gurps.shared.MessageStructure import org.kurron.gurps.shared.SharedConfiguration import org.sprin...
0
Kotlin
0
0
d4c6d5cc0fbe5f5ad00c54b317ec6c5a39e53234
1,983
package-by-component
Apache License 2.0
analysis/low-level-api-fir/testData/lazyResolve/ambiguousLocalEnum.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...
// ISSUE: KT-62681 fun someFun(): String { enum class EnumClass { EnumClass } return Enum<caret>Class.EnumClass.toString() }
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
147
kotlin
Apache License 2.0
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/Medal2.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 import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap im...
0
Kotlin
0
3
eca6c73337093fbbfbb88546a88d4546482cfffc
3,109
compose-icon-collections
MIT License
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/Medal2.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 import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap im...
0
Kotlin
0
3
eca6c73337093fbbfbb88546a88d4546482cfffc
3,109
compose-icon-collections
MIT License
src/main/kotlin/de/pflugradts/passbird/application/commandhandling/handler/namespace/AssignNamespaceCommandHandler.kt
christianpflugradt
522,173,174
false
{"Kotlin": 418203}
package de.pflugradts.passbird.application.commandhandling.handler.namespace import com.google.common.eventbus.Subscribe import com.google.inject.Inject import de.pflugradts.passbird.application.UserInterfaceAdapterPort import de.pflugradts.passbird.application.commandhandling.command.AssignNamespaceCommand import de....
0
Kotlin
0
0
fb4a2002f771abc13434a6d528f5343371d07224
2,932
PwMan3
Apache License 2.0
src/main/kotlin/org/sj/aoc2022/day03/RuckSackReOrganizer.kt
sadhasivam
573,168,428
false
null
package org.sj.aoc2022.day03 import org.sj.aoc2022.intersect import org.sj.aoc2022.priority fun priorityItems(input: List<String>): Int = input.map { it.substring(0, it.length / 2) intersect it.substring(it.length / 2) }.flatten().sumOf { it.priority } fun priorityGroupItems(input: List<String>): Int = input.chu...
0
Kotlin
0
0
7a1ceaddbe7e72bad0e9dfce268387d333b62143
406
advent-of-code-kotlin-2022
Apache License 2.0
acornui-core/src/commonMain/kotlin/com/acornui/component/layout/Align.kt
fuzzyweapon
130,889,917
true
{"Kotlin": 2963922, "JavaScript": 15366, "HTML": 5956, "Java": 4507}
/* * Copyright 2015 <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
1
0
a57100f894721ee342d23fe8cacb3fcbcedbe6dc
745
acornui
Apache License 2.0
montecristo/src/test/kotlin/com/datastax/montecristo/sections/configuration/DiskFailurePolicyTest.kt
datastax-labs
764,557,778
false
{"Kotlin": 1561142, "Shell": 29445, "CSS": 6059, "HTML": 2490, "Dockerfile": 1633}
/* * Copyright DataStax, 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 wri...
0
Kotlin
3
6
e7301e10b8183701c4243a36f49767d3b4aeadfb
6,352
Montecristo
Apache License 2.0
montecristo/src/main/kotlin/com/datastax/montecristo/utils/HumanCount.kt
datastax-labs
764,557,778
false
{"Kotlin": 1561142, "Shell": 29445, "CSS": 6059, "HTML": 2490, "Dockerfile": 1633}
/* * Copyright DataStax, 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 wri...
0
Kotlin
3
6
ea1c41c5dad67e2087f2ff03bfb643c3c02a2670
1,154
Montecristo
Apache License 2.0
app/src/main/java/com/skyyo/samples/application/Destination.kt
Skyyo
385,529,955
false
null
package com.skyyo.samples.application sealed class Destination(val route: String) { object SampleContainer : Destination("signIn") object Cats : Destination("cats") object CatsRoom : Destination("catsRoom") object CatsPaging : Destination("catsPaging") object CatsPagingRoom : Destination("catsPagi...
5
Kotlin
3
21
30127df1a33097c87ea48e6990cb79d205340ee7
2,874
samples
MIT License
server/src/main/java/com/rabbithouse/svr/ScreenInfo.kt
BMC-Gordon0921
417,692,713
true
{"Python": 58165, "Kotlin": 37716, "Makefile": 392, "Batchfile": 194}
package com.rabbithouse.svr import android.graphics.Rect class ScreenInfo( /** * Device (physical) size, possibly cropped */ val contentRect // device size, possibly cropped : Rect, /** * Video size, possibly smaller than the device size, already taking the device rotation and crop into...
0
Python
0
0
5d75546c5e812a33507c60edc8415ba41099d8f3
2,240
phisap
Do What The F*ck You Want To Public License
app/src/main/kotlin/github/showang/kat/AndroidExts.kt
showang
198,557,514
false
null
package github.showang.kat import androidx.appcompat.app.AppCompatActivity import androidx.fragment.app.Fragment import java.io.Serializable import kotlin.properties.ReadOnlyProperty import kotlin.reflect.KProperty fun <T> AppCompatActivity.extra(key: String, default: T) = object : ReadOnlyProperty<AppCompatActiv...
0
Kotlin
1
0
4fcfc515470f96bb33dbc40232198a30df7b88d8
3,514
Kat
MIT License
app/src/main/java/si/vakcin/pct/android/data/local/valuesets/DefaultValueSetsLocalDataSource.kt
yatsoubaI
395,258,542
true
{"Kotlin": 260462, "PureBasic": 4795, "JavaScript": 708}
/* * ---license-start * eu-digital-green-certificates / dgca-wallet-app-android * --- * Copyright (C) 2021 T-Systems International GmbH and all other contributors * --- * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * ...
0
Kotlin
0
0
c84073697e2eade32e9f44aa7f69771309acdec3
1,383
pct-vakcin
Apache License 2.0
src/main/kotlin/org/jetbrains/plugins/bsp/ui/widgets/tool/window/utils/NotLoadedTargetsMouseListener.kt
JetBrains
521,228,542
false
null
package org.jetbrains.plugins.bsp.ui.widgets.tool.window.utils import ch.epfl.scala.bsp4j.BuildTarget import com.intellij.codeInsight.hints.presentation.MouseButton import com.intellij.codeInsight.hints.presentation.mouseButton import com.intellij.ide.DataManager import com.intellij.openapi.actionSystem.ActionGroup im...
1
Kotlin
1
6
9205f41486af6062c2efbcb29f2d6d313a53c148
3,034
intellij-bsp
Apache License 2.0
game-server/game/src/main/kotlin/com/osrs/game/controller/Controller.kt
runetopic
613,076,716
false
{"Kotlin": 296499, "Witcher Script": 2511}
package com.osrs.game.controller import com.osrs.api.controller.Controllable import com.osrs.game.world.World abstract class Controller<out T : Controllable> { var index: Int = -1 abstract fun process(world: World) }
1
Kotlin
1
10
2a5186b2b7befa7c364e0b989da68ed83070a926
227
osrs-server
MIT License
libs/angelos-core/src/commonMain/kotlin/angelos/io/FileDescriptor.kt
angelos-project
394,786,673
false
null
/** * Copyright (c) 2021 by Kristoffer Paulsson <kristoffer.paulsson@talenten.se>. * * This software is available under the terms of the MIT license. Parts are licensed * under different terms if stated. The legal terms are attached to the LICENSE file * and are made available on: * * https://opensource.org...
0
Kotlin
0
1
2eae53621807a0a96c534fbdcb3b7782623286a5
2,017
angelos-core
MIT License
ktor-template-example/src/main/kotlin/mobi/waterdog/rest/template/tests/core/model/Part.kt
waterdog-oss
230,017,115
false
{"Kotlin": 101339}
package mobi.waterdog.rest.template.tests.core.model data class Part(val partNo: Long, val manufacturer: String, val description: String) data class RegisterPartReplacementCommand(val carId: Long, val parts: List<Part>)
7
Kotlin
2
9
adbb504eb53c050cda04252d73129a55276166c5
222
ktor-template
MIT License
AndroidKotlinSdk/src/test/java/video/api/androidkotlinsdk/api/VideoApiTest.kt
apivideo
285,527,439
false
null
package video.api.androidkotlinsdk.api import okhttp3.OkHttpClient import org.json.JSONObject import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Assertions.assertNotNull import org.junit.jupiter.api.Test import org.mockito.Mockito import video.api.androidkotlinsdk.CallBack import video.a...
0
Kotlin
0
8
c73eaf7623fbc1caf6182affd13ae24feb2d7060
4,700
android-kotlin-sdk
MIT License
app/src/main/java/pl/pmerdala/kursandroid/feature/utils/injection/ConfigurationModule.kt
PMerdala
205,886,299
false
null
package pl.pmerdala.kursandroid.feature.utils.injection import android.content.Context import android.content.SharedPreferences import android.preference.PreferenceManager import dagger.Module import dagger.Provides import pl.pmerdala.kursandroid.feature.utils.configuration.Configuration import pl.pmerdala.kursandroid...
0
Kotlin
0
0
27d914f92fa07409119b3592d4cc52e5d4d49d30
679
Kurs-Android
Apache License 2.0
core/preferences/src/main/java/it/ipzs/preferences/DatastoreModule.kt
italia
730,138,590
false
{"Kotlin": 245691}
package it.ipzs.preferences import android.content.Context import androidx.datastore.core.DataStore import androidx.datastore.preferences.core.Preferences import androidx.datastore.preferences.preferencesDataStore import dagger.Module import dagger.Provides import dagger.hilt.InstallIn import dagger.hilt.android.quali...
0
Kotlin
0
1
5aafddcc60e8e60db543a61ed398050c39cb5538
726
eudi-wallet-it-iso-verifier
Apache License 2.0
app/src/main/kotlin/org/eurofurence/connavigator/ui/adapter/EventPagerAdapters.kt
eurofurence
50,885,645
false
null
package org.eurofurence.connavigator.ui.adapter import android.os.Parcelable import androidx.fragment.app.Fragment import androidx.fragment.app.FragmentManager import androidx.fragment.app.FragmentStatePagerAdapter import org.eurofurence.connavigator.database.Db import org.eurofurence.connavigator.preferences.AppPrefe...
21
Java
5
13
3da7b778cda0a9b39a5172bf48cb3cbc27604de8
3,585
ef-app_android
MIT License
mbcarkit/src/test/java/com/daimler/mbcarkit/network/model/ApiCommandNameTest.kt
Daimler
199,815,262
false
null
package com.daimler.mbcarkit.network.model import com.daimler.mbcarkit.business.model.command.capabilities.CommandName import org.junit.jupiter.api.Assertions import org.junit.jupiter.api.Test import org.junit.jupiter.params.ParameterizedTest import org.junit.jupiter.params.provider.EnumSource internal class ApiComma...
1
Kotlin
8
15
3721af583408721b9cd5cf89dd7b99256e9d7dda
748
MBSDK-Mobile-Android
MIT License
app/src/main/java/com/thejuki/example/adapter/array/ListItemAdapter.kt
TheJuki
122,392,082
false
{"Gradle": 3, "Java Properties": 2, "Text": 1, "Ignore List": 2, "Markdown": 1, "Proguard": 4, "XML": 66, "Kotlin": 57, "Java": 1}
package com.thejuki.example.adapter.array import android.content.Context import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.ArrayAdapter import android.widget.Filterable import android.widget.TextView import com.thejuki.example.json.ListItemJson import java...
0
Kotlin
2
6
84c9c0b0fb7e74ea9c2fc5f28ef4c5aa5170e792
1,669
ExampleKotlinApp
Apache License 2.0
app/src/main/java/org/wikiedufoundation/wikiedudashboard/ui/coursedetail/students/provider/StudentListProvider.kt
ujjwalagrawal17
172,787,530
true
{"Kotlin": 220365, "Java": 4084, "Shell": 733}
package org.wikiedufoundation.wikiedudashboard.ui.coursedetail.students.provider import org.wikiedufoundation.wikiedudashboard.util.PresenterCallback /** * Interface that defines [requestStudentList] method * ***/ interface StudentListProvider { /** * Implementing [requestStudentList] to get list of stude...
0
Kotlin
0
3
e170828085fa04b6973fc5f0fdb440b4cde97459
508
apps-android-wikiedudashboard
MIT License
app/src/main/java/developersancho/githubinginterview/ui/home/HomeFragment.kt
developersancho
218,074,647
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 55, "JSON": 2, "XML": 40, "Java": 2}
package developersancho.githubinginterview.ui.home import android.os.Bundle import android.view.View import androidx.fragment.app.Fragment import developersancho.githubinginterview.R import developersancho.githubinginterview.data.remote.model.Repos import developersancho.githubinginterview.databinding.FragmentHomeBin...
1
null
1
1
3939218adde97051b5635da61a1cc44ea6fdb7ac
3,452
GithubIngInterview
Apache License 2.0
orca-kayenta/src/test/kotlin/com/netflix/spinnaker/orca/kayenta/pipeline/DeployCanaryServerGroupsStageTest.kt
spinnaker
19,834,314
false
{"Java": 3045191, "Groovy": 3039109, "Kotlin": 1521753, "Slim": 842, "Shell": 459}
/* * Copyright 2018 Netflix, 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 i...
76
Java
808
246
ff987dcea557a2f0d72d97ccd23b368445a70fe5
5,273
orca
Apache License 2.0
sample/src/main/java/pl/droidsonroids/gif/sample/wallpaper/OffscreenEGLConnection.kt
koral--
7,905,539
false
{"Java": 165023, "C": 116119, "Assembly": 2468, "CMake": 662}
package pl.droidsonroids.gif.sample.wallpaper import android.opengl.EGL14.* import android.opengl.EGLConfig import android.opengl.GLUtils class OffscreenEGLConnection { private var eglDisplay = EGL_NO_DISPLAY private var eglSurface = EGL_NO_SURFACE private var eglContext = EGL_NO_CONTEXT fun initiali...
36
Java
1777
9,522
7a4ee0fb8e32414a3b16b96fdc309defccff0688
2,614
android-gif-drawable
Apache License 2.0
Plugins/IntelliJ/src/main/kotlin/dev/testify/actions/screenshot/BaseScreenshotAction.kt
ndtp
469,416,892
false
{"Kotlin": 817781, "Shell": 1136}
/* * The MIT License (MIT) * * Copyright (c) 2020 Shopify Inc. * * 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,...
39
Kotlin
5
99
d6e1b5f529e2f521dccc522fda3c594794998c91
5,265
android-testify
MIT License
app/src/test/java/com/duckduckgo/app/global/exception/RootExceptionFinderTest.kt
cmonfortep
252,403,423
true
{"Gemfile.lock": 1, "Git Config": 1, "Gradle": 44, "Shell": 6, "JSON": 159, "Markdown": 20, "Java Properties": 4, "Text": 28, "Ignore List": 40, "Batchfile": 1, "EditorConfig": 3, "XML": 779, "Ruby": 2, "Kotlin": 1519, "YAML": 15, "CMake": 1, "Proguard": 1, "HTML": 276, "JavaScript": 239, "C++": 1, "INI": 1, "Java": 8,...
/* * Copyright (c) 2019 DuckDuckGo * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
51
Kotlin
786
3
c03633f7faee192948e68c3897c526c323ee0f2e
2,746
Android
Apache License 2.0
module_course/src/main/java/com/vension/fastframe/module_course/mvp/presenter/CourseCategoryPresenter.kt
unboundedcode
198,977,992
false
{"Gradle": 14, "Markdown": 1, "Java Properties": 2, "Shell": 1, "Ignore List": 8, "Batchfile": 1, "Proguard": 7, "JSON": 33, "Kotlin": 333, "XML": 363, "Java": 130, "HTML": 1, "INI": 1}
package com.vension.fastframe.module_course.mvp.presenter import com.vension.fastframe.module_course.RxHandlerWK import com.vension.fastframe.module_course.api.ApiService import com.vension.fastframe.module_course.bean.HttpResult import com.vension.fastframe.module_course.bean.VideoGroup import com.vension.fastframe.m...
0
Kotlin
0
3
2e5b1e8001d855cd34cdf04dea7eac12bd6cda32
1,783
V-FastFrame
Apache License 2.0
postgresql-async/src/main/java/com/github/mauricio/async/db/postgresql/parsers/NotificationResponseParser.kt
dougEfresh
146,269,167
false
null
/* * Copyright 2013-2014 db-sql-common * * The db-sql-common project licenses this file to you 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 * ...
1
null
1
1
c16a5772b46331c582c4d14939e6c4cad09edb98
1,224
jasync-sql
Apache License 2.0
presentation/src/main/kotlin/com/andres/nyuzuk/presentation/features/toparticles/TopArticlesAdapter.kt
andreshj87
197,643,093
false
{"Gradle": 7, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 4, "Batchfile": 1, "Markdown": 1, "Kotlin": 112, "Proguard": 2, "XML": 22, "Java": 1, "YAML": 1}
package com.andres.nyuzuk.presentation.features.toparticles import android.view.View import com.andres.nyuzuk.R import com.andres.nyuzuk.presentation.base.ArticleClickListener import com.andres.nyuzuk.presentation.entity.ArticleUi import com.andres.nyuzuk.presentation.base.ArticlesAdapter import com.andres.nyuzuk.pres...
0
Kotlin
0
10
79654d521d344b0711607b35572e5864c19b414f
1,486
Nyuzuk
Apache License 2.0
app/src/test/java/net/squanchy/search/algolia/AlgoliaSearchEngineTest.kt
squanchy-dev
72,942,055
false
null
package net.squanchy.search.algolia import com.squareup.moshi.Moshi import io.reactivex.plugins.RxJavaPlugins import io.reactivex.schedulers.Schedulers import net.squanchy.search.algolia.model.AlgoliaSearchResponse import net.squanchy.search.algolia.model.AlgoliaSearchResult import org.junit.Before import org.junit.Ru...
0
null
45
298
aa0909c327500f39fb65488baa62f7e4624837ea
2,839
squanchy-android
Apache License 2.0
compiler/testData/diagnostics/tests/multiplatform/varSetterVisibility.fir.kt
JetBrains
3,432,266
false
null
// MODULE: m1-common // FILE: common.kt <!INCOMPATIBLE_MATCHING{JVM}!>expect var v1: Boolean<!> expect var v2: Boolean internal set <!INCOMPATIBLE_MATCHING{JVM}!>expect var v3: Boolean internal set<!> <!INCOMPATIBLE_MATCHING{JVM}!>expect open class C { <!INCOMPATIBLE_MATCHING{JVM}!>var foo: Boolean<!> }<...
184
null
5691
48,625
bb25d2f8aa74406ff0af254b2388fd601525386a
942
kotlin
Apache License 2.0
features/preferences/impl/src/main/kotlin/io/element/android/features/preferences/impl/developer/DeveloperSettingsStateProvider.kt
element-hq
546,522,002
false
null
/* * Copyright (c) 2023 New Vector Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
263
null
129
955
31d0621fa15fe153bfd36104e560c9703eabe917
2,340
element-x-android
Apache License 2.0
app/src/main/java/com/project/ianime/navigation/AppNavigationLifecycle.kt
AM-Kitty
599,309,777
false
{"Kotlin": 57740}
package com.project.ianime.navigation /** * Customized navigation lifecycle used for fragment call back */ interface AppNavigationLifecycle { fun onCreate() fun onDestroy() }
0
Kotlin
1
0
109342944b546e333e5ebeff1bca195585db82be
187
iAnime
MIT License
app/src/main/java/com/mateusz113/financemanager/presentation/payments/payment_addition/components/PaymentAdditionBlock.kt
Mateusz113
723,729,693
false
null
package com.mateusz113.financemanager.presentation.payments.payment_addition.components import android.net.Uri import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.Spacer import and...
0
null
0
2
99aa337be58e6f47b8da39052fe6783a9af0663c
5,942
Finance-Manager
MIT License
app/src/main/java/com/spellchecker/arabickb/adapters/MyworkAdopter.kt
itsmhamza
536,726,679
false
null
package com.spellchecker.arabickb.adapters import android.app.Activity import android.content.Context import android.content.Intent import android.graphics.BitmapFactory import android.net.Uri import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.ImageView impo...
0
Kotlin
0
0
deba25e5f5cbdc99b33dcb61b7aa50e97c06beb2
3,435
Hindi-Keyboard
MIT License
src/test/kotlin/ru/spbstu/pandoc/jackson/JSONTest.kt
vorpal-research
140,313,928
false
{"Kotlin": 54550}
package ru.spbstu.pandoc.jackson import com.fasterxml.jackson.core.type.TypeReference import com.fasterxml.jackson.databind.ObjectMapper import org.intellij.lang.annotations.Language import org.testng.annotations.Test import ru.spbstu.ktuples.Tuple import ru.spbstu.ktuples.Tuple2 import ru.spbstu.pandoc.* import kotli...
2
Kotlin
2
3
0161f292b13d9936b8eaa6a5ecd691d65020aa5e
3,878
kotlin-pandoc
MIT License
src/test/kotlin/ru/spbstu/pandoc/jackson/JSONTest.kt
vorpal-research
140,313,928
false
{"Kotlin": 54550}
package ru.spbstu.pandoc.jackson import com.fasterxml.jackson.core.type.TypeReference import com.fasterxml.jackson.databind.ObjectMapper import org.intellij.lang.annotations.Language import org.testng.annotations.Test import ru.spbstu.ktuples.Tuple import ru.spbstu.ktuples.Tuple2 import ru.spbstu.pandoc.* import kotli...
2
Kotlin
2
3
0161f292b13d9936b8eaa6a5ecd691d65020aa5e
3,878
kotlin-pandoc
MIT License
component-acgnews/src/main/java/com/rabtman/acgnews/mvp/ui/fragment/ZeroFiveNewsFragment.kt
Rabtman
129,618,096
false
null
package com.rabtman.acgnews.mvp.ui.fragment import android.content.Intent import android.view.View import androidx.recyclerview.widget.LinearLayoutManager import androidx.recyclerview.widget.RecyclerView import androidx.swiperefreshlayout.widget.SwipeRefreshLayout import butterknife.BindView import com.rabtman.acgnews...
2
null
120
840
9150f3abe50e046afd83cc97cb4415a39b1f1bd1
3,720
AcgClub
Apache License 2.0
app/src/main/java/com/sazilla/covid19/MainActivity.kt
ccodega
252,797,958
false
null
package com.sazilla.covid19 import android.content.Context import android.os.Bundle import android.view.Menu import android.view.MenuItem import androidx.appcompat.app.AlertDialog import androidx.appcompat.app.AppCompatActivity import androidx.fragment.app.FragmentManager import androidx.fragment.app.FragmentPagerAdap...
0
Kotlin
0
0
b8eff987958ed2419cea6db1e3b887ddb3fcecc3
2,761
covid19app
Apache License 2.0
app/src/main/java/io/github/takusan23/tatimidroid/nicolive/compose/screen/NicoLiveProgramListMenuScreen.kt
ugokitakunai
420,580,612
false
null
package io.github.takusan23.tatimidroid.nicolive.compose import android.content.Intent import android.provider.CalendarContract import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout....
0
null
0
0
745d6a4f0a00349c31e48403fa25488fe6bc346b
9,475
TatimiDroid
Apache License 2.0
src/Chapter07/7.4_SplitFilename.kt
ldk123456
157,306,847
false
null
package Chapter07.SplitFilename //声明一个数据类来持有值 data class NameComponents(val name: String, val extension: String) fun splitFileName(fullName: String): NameComponents { val result = fullName.split('.', limit = 2) return NameComponents(result[0], result[1]) //返回一个数据类型的实例 } fun main() { val (name, ext) = spl...
1
null
1
1
301ea7daa495231ff878317311d7ded3a0fbcbc8
424
KotlinInAction
Apache License 2.0
src/main/kotlin/datastructures/BigSet.kt
swantescholz
102,711,230
false
null
package datastructures //not tested!!! class BigSet<T> protected constructor(val data: Array<T>) : Collection<T> { override fun containsAll(elements: Collection<T>): Boolean { throw UnsupportedOperationException() } override fun contains(element: T): Boolean { throw UnsupportedOperationException() } operato...
0
Kotlin
0
0
20736acc7e6a004c29c328a923d058f85d29de91
1,418
ai
Do What The F*ck You Want To Public License
app/src/main/java/openfoodfacts/github/scrachx/openfood/models/LanguageData.kt
openfoodfacts
35,174,991
false
null
package openfoodfacts.rackluxury.scrachx.openfood.models class LanguageData internal constructor( val code: String, val name: String, val isSupported: Boolean ) : Comparable<LanguageData> { override fun toString() = "$name [$code]" override fun equals(other: Any?) = other is LanguageDa...
390
null
447
772
836bab540ec9e2792b692a3b25ff61e444fae045
577
openfoodfacts-androidapp
Apache License 2.0
plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/namelessFunctionalParameter.kt
JetBrains
2,489,216
false
null
// WITH_STDLIB // PROBLEM: none class AnyType fun test(a: (<caret>AnyType) -> Unit) { a(AnyType()) }
284
null
5162
16,707
def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0
104
intellij-community
Apache License 2.0
android/src/main/kotlin/ua/rostopira/flutternearbymessages/FlutterNearbyMessagesPlugin.kt
rostopira
156,413,954
false
null
package com.mevos.google_nearby_messages_api import android.app.Activity import com.google.android.gms.nearby.Nearby import com.google.android.gms.nearby.messages.Message import com.google.android.gms.nearby.messages.MessageListener import io.flutter.plugin.common.MethodChannel import io.flutter.plugin.common.MethodCh...
4
Swift
8
10
56052e630bcf9ad8947aa8dca0f7caeeb44f12c9
2,570
flutter_nearby_messages
Do What The F*ck You Want To Public License
ksoup/src/commonTest/kotlin/com/fleeksoft/ksoup/select/QueryParserTest.kt
fleeksoft
719,100,459
false
null
package com.fleeksoft.ksoup.select import com.fleeksoft.ksoup.Ksoup.parse import com.fleeksoft.ksoup.select.StructuralEvaluator.ImmediateParentRun import kotlin.test.Test import kotlin.test.assertEquals import kotlin.test.assertFailsWith import kotlin.test.assertTrue /** * Tests for the Selector Query Parser. * * ...
4
null
2
62
911a3cfcd7062ae5f57039d1d50c9011b71d13eb
3,866
ksoup
Apache License 2.0
app/src/main/java/com/pandacorp/taskui/presentation/widget/WidgetSettingsActivity.kt
MrRuslanYT
487,572,034
false
{"Kotlin": 158550}
package com.pandacorp.taskui.presentation.widget import android.app.Activity import android.content.Context import android.content.SharedPreferences import android.graphics.Color import android.graphics.drawable.ColorDrawable import android.os.Bundle import androidx.core.content.ContextCompat import com.pandacorp.task...
0
Kotlin
0
0
4f84345c135a406ce351351d7022e9339cf257c2
3,193
TaskUI
Apache License 2.0
backend/src/main/kotlin/com/denchic45/studiversity/database/table/Specialties.kt
denchic45
435,895,363
false
{"Kotlin": 2033820, "Vue": 15083, "JavaScript": 2830, "CSS": 1496, "HTML": 867}
package com.denchic45.studiversity.database.table import org.jetbrains.exposed.dao.UUIDEntity import org.jetbrains.exposed.dao.UUIDEntityClass import org.jetbrains.exposed.dao.id.EntityID import org.jetbrains.exposed.dao.id.UUIDTable import java.util.* object Specialties : UUIDTable("specialty", "specialty_id") { ...
0
Kotlin
0
7
9d1744ffd9e1652e93af711951e924b739e96dcc
681
Studiversity
Apache License 2.0
app/src/main/java/com/example/android/unscramble/ui/game/GameViewModel.kt
ahmadbuchor
646,433,158
false
null
package com.example.android.unscramble.ui.game import androidx.lifecycle.ViewModel class GameViewModel : ViewModel() { private val viewModel = GameViewModel() }
0
Kotlin
0
0
45e951c6e3dbd07c07afadd2d9ae719a7d4d88fa
166
week_8_if570_lab-
Apache License 2.0
game/plugins/src/main/kotlin/gg/rsmod/plugins/content/npcs/npcInfo/hillgiants/hillgiants.plugin.kts
pitchblac23
201,185,078
true
{"Kotlin": 3718848, "Dockerfile": 1354}
package gg.rsmod.plugins.content.npcs.npcInfo.hillgiants arrayOf(Npcs.HILL_GIANT, Npcs.HILL_GIANT_2099, Npcs.HILL_GIANT_2100, Npcs.HILL_GIANT_2101, Npcs.HILL_GIANT_2102, Npcs.HILL_GIANT_2103, Npcs.HILL_GIANT_7261).forEach { Npc -> set_combat_def(Npc) { configs { attackSpeed = 4 res...
0
Kotlin
2
1
ade69da919ba62ec3ac37fccab9068f2820c774d
1,277
rsmod
Apache License 2.0
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/EqualNot.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 import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap im...
0
Kotlin
0
3
eca6c73337093fbbfbb88546a88d4546482cfffc
2,225
compose-icon-collections
MIT License
app/src/main/java/com/mafqud/android/ui/picker/AgePicker.kt
MafQud
483,257,198
false
null
package com.mafqud.android.ui.picker import androidx.compose.foundation.background import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.* import androidx.compose.foundation.rememberScrollState import androidx.compose.foundation.shape.RoundedCornerShape import androidx.compose.foundati...
0
Kotlin
6
35
309e82d51d6c1c776365643ef48ecb78fd243c23
11,022
MafQud-Android
MIT License
cosec-social/src/main/kotlin/me/ahoo/cosec/social/SocialAuthenticationException.kt
Ahoo-Wang
567,999,401
false
{"Kotlin": 588793, "Dockerfile": 594}
/* * Copyright [2021-present] [ahoo wang <ahoowang@qq.com> (https://github.com/Ahoo-Wang)]. * 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....
4
Kotlin
4
32
ea4af7a66c1ab4d6560d7f3ba5d7026cd6904c26
1,017
CoSec
Apache License 2.0
presentation/src/main/kotlin/team/mobileb/opgg/util/NotificationUtil.kt
OPGG-HACKTHON
391,351,999
false
null
package team.mobileb.opgg.util import android.app.NotificationChannel import android.app.NotificationChannelGroup import android.app.NotificationManager import android.content.Context import android.os.Build import androidx.annotation.DrawableRes import androidx.core.app.NotificationCompat import team.mobileb.opgg.R i...
0
Kotlin
1
23
26036b3a9e38b3e2e127746dcda733b108138e61
3,070
mobile-b-android
MIT License
presentation/src/main/java/com/sms/presentation/main/viewmodel/util/downloader/AndroidDownloader.kt
GSM-MSG
625,706,722
false
null
package com.sms.presentation.main.viewmodel.util.downloader import android.app.DownloadManager import android.content.Context import android.os.Environment import androidx.core.net.toUri class AndroidDownloader( private val fileName: String, context: Context, ) : Downloader { private val downloadManager ...
3
null
1
8
4bcc7f105b0d4358f378549eb359fc894b3a74c2
942
SMS-Android
MIT License