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
presentation/src/main/java/com/gameshow/button/presentation/fragments/ChoiceLobbyFragment.kt
forceindia712
642,417,682
false
null
package com.gameshow.button.presentation.fragments import android.os.Bundle import android.os.Handler import android.os.Looper import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.Toast import androidx.activity.addCallback import androidx.fragment.app.Fragment...
0
Kotlin
0
0
92fd09b0c56414e612e998a74fc5a9841dfa9ae7
3,517
ButtonGameShowAndroidApp
Apache License 2.0
lib/src/main/kotlin/ca/objectobject/hexlr/eval/patterns/arithmetic/OpDivide.kt
object-Object
785,042,451
false
{"Kotlin": 71222, "ANTLR": 3483, "Makefile": 227}
package ca.objectobject.hexlr.eval.patterns.arithmetic import ca.objectobject.hexlr.eval.iotas.NumberIota import ca.objectobject.hexlr.eval.iotas.VectorIota data object OpDivide : ArithmeticPattern() { override fun operate(left: Double, right: Double) = NumberIota(left / right) override fun operate(left: Dou...
0
Kotlin
0
0
1e37e162dc41b1a7fbcfa32c9700f33f8e8c187d
784
compilers-course-project
MIT License
js/js.translator/testData/reservedWords/cases/delegatedValIf.kt
erokhins
44,854,854
true
{"Java": 15969828, "Kotlin": 11078102, "JavaScript": 176060, "Protocol Buffer": 42992, "HTML": 26117, "Lex": 16668, "ANTLR": 9689, "CSS": 9358, "Groovy": 5204, "Shell": 4638, "Batchfile": 3703, "IDL": 3251}
package foo // NOTE THIS FILE IS AUTO-GENERATED by the generateTestDataForReservedWords.kt. DO NOT EDIT! interface Trait { val `if`: Int } class TraitImpl : Trait { override val `if`: Int = 0 } class TestDelegate : Trait by TraitImpl() { fun test() { testNotRenamed("if", { `if` }) } } fun b...
0
Java
0
1
ff00bde607d605c4eba2d98fbc9e99af932accb6
379
kotlin
Apache License 2.0
src/main/kotlin/com/github/foxolotl/torrentino/Source.kt
nyancient
442,578,722
false
null
package com.github.foxolotl.torrentino import com.rometools.rome.io.SyndFeedInput import com.rometools.rome.io.XmlReader import io.ktor.client.HttpClient import io.ktor.client.request.get import io.ktor.client.statement.HttpResponse import io.ktor.utils.io.jvm.javaio.toInputStream import java.net.URL import kotlin.cor...
0
Kotlin
0
1
6af0937eb08ae83d413044e48173480caf523104
1,242
torrentino
MIT License
src/main/kotlin/one/devos/discord/yiski2/_Utils.kt
devOS-Sanity-Edition
516,507,373
false
null
package one.devos.discord.yiski2 import com.kotlindiscord.kord.extensions.utils.env /** The bots token. */ val BOT_TOKEN = env("BOT_TOKEN")
0
Kotlin
0
0
c15785d194a324b8daf32b2acfc07e09ff9ea3a9
142
yiski2
MIT License
app/src/main/java/com/brave/mydragdropcomposeapp/util/LauncherUtils.kt
brave881
669,771,670
false
null
package com.brave.mydragdropcomposeapp.util import android.app.WallpaperManager import android.content.ComponentName import android.content.Context import android.content.Intent import android.graphics.Bitmap import android.graphics.Canvas import android.graphics.Paint import android.graphics.Point import android.grap...
0
Kotlin
0
0
5842f9a7eb1acca59da45bcb813c0bb1c6cf46c7
4,131
MyDragDropComposeApp
MIT License
app/src/main/java/dog/snow/androidrecruittest/repository/network/Exceptions.kt
przybandrzej
244,497,125
true
{"Kotlin": 25722}
package dog.snow.androidrecruittest.repository.network import java.io.IOException class NoConnectivityException : IOException()
0
Kotlin
0
0
492de7e3a3f3eecfa45cefd364dc20cdc1b77a03
129
android-recruitment-test
Apache License 2.0
server-base-local/src/main/kotlin/ai/dstack/server/local/jersey/WebApplicationConfig.kt
sha-shrestha
321,033,295
true
{"JavaScript": 420867, "Kotlin": 271593, "CSS": 158040, "Python": 9286, "HTML": 4159, "Shell": 1764, "Dockerfile": 937}
package ai.dstack.server.local.jersey import org.springframework.context.annotation.Configuration import org.springframework.web.servlet.config.annotation.ViewControllerRegistry import org.springframework.web.servlet.config.annotation.WebMvcConfigurer @Configuration open class WebApplicationConfig : WebMvcConfigurer ...
0
JavaScript
0
0
72d495dc9c2bc59ff7a111cf86294120d6d32218
677
dstack
Apache License 2.0
src/main/kotlin/com/github/doomsdayrs/lib/javacordktx/embedBuilder/EmbedBuilderValues.kt
Doomsdayrs
265,640,796
false
null
@file:Suppress("unused") package com.github.doomsdayrs.lib.javacordktx.embedBuilder import org.javacord.api.entity.Icon import org.javacord.api.entity.message.MessageAuthor import org.javacord.api.entity.message.embed.EmbedBuilder import org.javacord.api.entity.user.User import java.awt.Color import java.awt.image.Bu...
0
Kotlin
0
1
673be06d8c5c9793c7ae53a4ffe538b87bad2ab0
8,672
javacord-ktx
Apache License 2.0
src/serverTest/kotlin/mce/emulator/math.kt
mcenv
435,848,712
false
null
package mce.emulator fun floor(a: Float): Int = a.toInt().let { if (a < it.toFloat()) it - 1 else it } fun floor(a: Double): Int = a.toInt().let { if (a < it.toDouble()) it - 1 else it }
79
Kotlin
0
15
f63905729320733d3cae95c3b51b492e94339fca
189
mce
MIT License
libecosed/src/main/kotlin/io/ecosed/libecosed/ui/preview/WidgetPreview.kt
ecosed
677,958,638
false
null
package io.ecosed.libecosed.ui.preview import android.content.res.Configuration import androidx.compose.ui.tooling.preview.Preview import androidx.compose.ui.tooling.preview.Wallpapers @Preview( name = "Widget", group = "Ecosed Framework", apiLevel = 33, locale = "zh-rCN", fontScale = 1.0f, ui...
0
Kotlin
0
0
fc4e02e37bbf859fa4065f337cba27122585da21
543
libecosed
Apache License 2.0
app/src/main/kotlin/net/kivitro/kittycat/view/View.kt
maiktheknife
53,694,959
false
null
package net.kivitro.kittycat.view import android.app.Activity /** * Created by Max on 15.03.2016. */ interface View { val activity: Activity }
0
Kotlin
0
0
a9c74da77e226817c7f7b5ad9d58d2389d936b8d
147
KittyCat
MIT License
Beginner/1016_Distance/.kt
NazmulHasanNihal
734,656,519
false
{"Text": 1, "Markdown": 1, "Lua": 83, "Ruby": 83, "Java": 83, "Elixir": 61, "TypeScript": 81, "Julia": 82, "Dart": 82, "JavaScript": 82, "Kotlin": 83, "PHP": 83, "Go": 83, "Python": 82, "R": 69, "Pascal": 71, "Swift": 83, "C": 83, "Haskell": 80, "Clojure": 73, "Scala": 83, "Rust": 83, "C++": 83, "OCaml": 76, "C#": 83, ...
import java.util.Scanner import java.text.DecimalFormat fun main(args: Array<String>) { var read = Scanner(System.`in`) var distance = read.nextInt() var time = distance*2 val dec = DecimalFormat("#") println(dec.format(time)+" minutos") }
0
Java
0
0
a48cfc03268d116081e702124980279c1085f69f
266
Beecrowd_Problems_Solution
MIT License
BlueNet/app/src/main/java/com/example/bluenet/ui/namecards/NamecardsFragment.kt
syafiqahmr
344,070,531
false
null
package com.example.bluenet.ui.namecards import android.graphics.Color import android.os.Build import android.os.Bundle import android.util.ArraySet import android.util.Log import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.AdapterView import android.widget....
0
Kotlin
0
0
761f045f7b8e5cc47b28a015fccd3d0d3dea6990
8,638
BlueNet
MIT License
app/src/main/java/com/akexorcist/roundcornerprogressbar/example/fragment/SimpleDemoFragment.kt
akexorcist
28,685,195
false
{"Kotlin": 95603}
package com.akexorcist.roundcornerprogressbar.example.fragment import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment import com.akexorcist.roundcornerprogressbar.example.R import com.akexorcist.roundcornerprogressbar.exa...
8
Kotlin
375
2,405
1c5823c91fd9572a081b4e625cc73b0e3475955c
5,246
RoundCornerProgressBar
Apache License 2.0
binder/src/test/kotlin/ai/vektor/ktor/binder/converters/ConvertersTest.kt
v1ctor
476,303,532
false
{"Kotlin": 24939}
package ai.vektor.ktor.binder.converters import org.junit.jupiter.api.Test import kotlin.test.assertEquals class ConvertersTest { @Test fun testIntConverter() { val intConverter = IntConverter() assertEquals(1, intConverter.convert("1")) assertEquals(null, intConverter.convert("abc")...
0
Kotlin
0
0
b580893deb618a2dcaa7862f8fa98b74253e768b
650
ktor-parameter-binder
Apache License 2.0
platform/external-system-impl/src/com/intellij/openapi/externalSystem/dependency/analyzer/DependencyAnalyzerEditorTab.kt
JetBrains
2,489,216
false
null
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.openapi.externalSystem.dependency.analyzer import com.intellij.icons.AllIcons import com.intellij.openapi.externalSystem.model.ProjectSyste...
191
null
4372
13,319
4d19d247824d8005662f7bd0c03f88ae81d5364b
898
intellij-community
Apache License 2.0
src/main/kotlin/no/nav/syfo/sykmelding/errorhandling/EgenmeldtSykmeldingErrorHandling.kt
navikt
247,334,648
false
null
package no.nav.syfo.sykmelding.errorhandling import io.ktor.application.call import io.ktor.features.StatusPages import io.ktor.http.HttpStatusCode import io.ktor.response.respond import no.nav.syfo.metrics.ERROR_HIT_COUNTER import no.nav.syfo.pdl.error.PersonNotFoundInPdl import no.nav.syfo.sykmelding.errorhandling.e...
0
Kotlin
0
0
9751a00f96e790703f0c66f88b529d15dec0cbe6
3,329
egenmeldt-sykmelding-backend
MIT License
Android App/Version - 11/structure/app/src/main/java/com/example/structure/MainActivity.kt
Shreerang01
769,260,380
false
{"Kotlin": 102135, "Dart": 98685, "Java": 15443, "Swift": 1378, "Objective-C": 76}
package com.example.structure import android.os.Bundle import android.view.View import android.widget.AdapterView import android.widget.ArrayAdapter import android.widget.Button import android.widget.Spinner import android.widget.VideoView import androidx.appcompat.app.AppCompatActivity import java.io.File import java...
0
Kotlin
0
0
8aaf1a6b85b560b494b8b5cde3eaa249e294b6fe
2,998
Envison-AI-EYIC-24-
MIT License
plugins/kotlin/idea/tests/testData/editor/enterHandler/beforeDot/FloatLiteralInFirstPosition.kt
ingokegel
72,937,917
false
null
fun check() { 1.0<caret>.toString() } // SET_FALSE: CONTINUATION_INDENT_FOR_CHAINED_CALLS
1
null
1
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
94
intellij-community
Apache License 2.0
scripting-host/src/test/resources/dependency.server.kts
EdwarDDay
821,109,379
false
{"Kotlin": 76888, "Shell": 7725}
@file:DependsOn("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.3") import kotlinx.serialization.* import kotlinx.serialization.json.* val list = List(100) { it } writeOutput(Json.encodeToString(list))
5
Kotlin
1
11
28fc52eb210aba03616430b88bf515599a59e1d6
212
kotlin-server-scripts
Apache License 2.0
app/src/main/java/com/javalon/xpensewhiz/presentation/main/MainViewModel.kt
ezechuka
472,029,227
false
{"Kotlin": 333980}
package com.javalon.xpensewhiz.presentation.main import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.javalon.xpensewhiz.domain.usecase.read_datastore.GetOnBoardingKeyUseCase import com.javalon.xpensewhiz.presentation.navigation.Screen import kotlinx.coroutines.Dispatchers.IO import ...
1
Kotlin
5
52
7876f00908cca4f8444ab8b4460f1e7edb4cfa1a
1,051
xpense-whiz
MIT License
app/src/test/java/brillembourg/parser/emovie/domain/use_cases/GetMovieDetailUseCaseTest.kt
ThrownFran
535,329,631
false
null
package brillembourg.parser.emovie.domain.use_cases import brillembourg.parser.emovie.domain.MovieRepository import brillembourg.parser.emovie.utils.CoroutineTestRule import brillembourg.parser.emovie.utils.TestSchedulers import brillembourg.parser.emovie.utils.movieDetailFake import io.mockk.coEvery import io.mockk.c...
0
Kotlin
1
0
2f5dc39c251120b0e5e651138f4460da197044f4
1,520
eMovie
MIT License
src/main/kotlin/nl/stokpop/wiremock/generator/WiremockGeneratorException.kt
stokpop
564,316,784
false
{"Kotlin": 5560, "Shell": 1390, "Dockerfile": 304}
package nl.stokpop.jmeter.generator class WiremockGeneratorException : RuntimeException()
0
Kotlin
0
0
908b455a154870864a4adc509b51e8792919b405
90
wiremock-generator
Apache License 2.0
src/nl/pngdecoder/exceptions/InvalidHeaderException.kt
rvoortman
124,797,863
false
null
package nl.pngdecoder.exceptions /** * This exception is thrown if the PNG does not have a valid PNG Header. */ class InvalidHeaderException(override val message: String): Exception(message)
0
Kotlin
0
1
a7bfe8d99425ca72e9bd06e7c5e01acd3ecc5716
194
png-decoder
MIT License
kuberig-dsl-generator/src/test/kotlin/io/kuberig/dsl/generator/DslCodeGenerationTestSupport.kt
kuberig-io
172,784,898
false
{"Kotlin": 177303, "Shell": 1466, "Java": 360}
package io.kuberig.dsl.generator import java.io.File class DslCodeGenerationTestSupport(private val projectDir: File) { fun generateDslCode(platform: String, version: String) { val sourceSwaggerFile = File("../openapi-specs/$platform/swagger-$version.json") val targetSwaggerFile = File(projectDi...
5
Kotlin
1
7
85e1dcd7ed4c25f00d33911d39fee84cb67ca972
792
kuberig-dsl
Apache License 2.0
samples/compare/src/test/kotlin/okhttp3/benchmark/Subject.kt
jimmykarns
289,698,658
false
{"Java": 1605852, "Kotlin": 1567388, "Shell": 3101}
package okhttp3.benchmark import okhttp3.HttpUrl interface Subject { fun startRequest(startNanos: Long, url: HttpUrl, listener: Listener) interface Listener { fun callSucceeded(startNanos: Long) fun callFailed(startNanos: Long) } }
7
Java
1
1
4417a4d2768bd6591a90057777bb8d7761d5b6b6
249
okhttp
Apache License 2.0
samples/compare/src/test/kotlin/okhttp3/benchmark/Subject.kt
jimmykarns
289,698,658
false
{"Java": 1605852, "Kotlin": 1567388, "Shell": 3101}
package okhttp3.benchmark import okhttp3.HttpUrl interface Subject { fun startRequest(startNanos: Long, url: HttpUrl, listener: Listener) interface Listener { fun callSucceeded(startNanos: Long) fun callFailed(startNanos: Long) } }
7
Java
1
1
4417a4d2768bd6591a90057777bb8d7761d5b6b6
249
okhttp
Apache License 2.0
remotedatasource/src/main/java/io/melih/android/currencyconverter/remotedatasource/CurrencyRemoteDataSource.kt
melomg
282,532,575
false
null
/* * Copyright 2019 CurrencyConverter * * 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...
1
Kotlin
0
0
5d94b9ce0a141403082a9157b4df19787f455bf2
893
currency-converter-android
Apache License 2.0
app/src/main/java/com/jimmy/twosliderexample/DataFragment.kt
KuoPingL
570,070,676
false
null
package com.jimmy.twosliderexample import android.content.Context import android.os.Bundle import android.view.View import android.view.View.OnClickListener import android.view.inputmethod.EditorInfo import android.view.inputmethod.InputMethodManager import android.widget.Toast import androidx.appcompat.widget.AppComp...
0
Kotlin
0
0
774a10f521b0a797c58f393a44bf32c08b7c073d
7,594
TwoWaySlider
MIT License
2022-2023/sourcecode/Lab13-MVxPattern-Kotlin/src/main/kotlin/JsonPlaceholderApi.kt
RafLew84
457,727,622
false
null
import retrofit2.http.GET interface JsonPlaceholderApi { @GET("posts") suspend fun getPosts(): List<Post> }
0
Jupyter Notebook
2
10
378f252612ebac7714d6dc0164bb9d93ebb4e306
116
WpumKJ
MIT License
src/Day01.kt
PascalHonegger
573,052,507
false
{"Kotlin": 66208}
fun main() { fun List<String>.splitIntoElves(): List<List<Int>> = buildList { var elf = mutableListOf<Int>() this@splitIntoElves.forEach { if (it.isBlank()) { add(elf) elf = mutableListOf() } else { elf += it.toInt() ...
0
Kotlin
0
0
2215ea22a87912012cf2b3e2da600a65b2ad55fc
899
advent-of-code-2022
Apache License 2.0
lib/src/test/kotlin/nolambda/stream/cleaningservice/plugin/components/xml/IdRemoverSpec.kt
esafirm
425,140,620
false
null
package nolambda.stream.cleaningservice.plugin.components.xml import io.kotest.core.datatest.forAll import io.kotest.core.spec.style.FunSpec import io.kotest.data.row import io.kotest.matchers.shouldBe import nolambda.stream.cleaningservice.remover.xml.IdXmlRemover class IdRemoverSpec : FunSpec({ val remover = I...
0
null
1
3
cb092e635741e84fa659867af3227b6fe09900bb
769
android-cleaning-service
Apache License 2.0
src/main/kotlin/ga/avven/mcan/annotations/ShapelessRecipe.kt
post-production
271,299,899
false
null
package ga.avven.mcan.annotations import kotlin.reflect.KClass import ga.avven.mcan.annotations.RecipeMapping @Target(AnnotationTarget.CLASS) @Retention(AnnotationRetention.SOURCE) annotation class ShapelessRecipe(val count: Int = 1, vararg val mappings: RecipeMapping)
0
Kotlin
0
0
7d4319b7711258ed7799e1fd09400e131e7ffca7
273
mcan
Creative Commons Zero v1.0 Universal
src/Basics/ControlFlow.kt
Meghaditya
111,697,200
false
null
package Basics fun main(args:Array<String>){ var number = 12 var validNumbers = intArrayOf(12,13,14) when(number){ in 1..10 -> println("In between 1 and 10") in validNumbers -> println("Number is valid") else -> println("Number is unknown") } }
0
Kotlin
0
0
43ad92a272c1e7920c105b768288cdb1f5dec779
285
kotlin_practice
Apache License 2.0
tmp/results/JVM-Xnew-inference/BACKEND_ajyqn.kt
mandelshtamd
249,374,670
false
{"Git Config": 1, "Gradle": 6, "Text": 3, "INI": 5, "Shell": 2, "Ignore List": 3, "Batchfile": 2, "Markdown": 2, "Kotlin": 15942, "JavaScript": 4, "ANTLR": 2, "XML": 12, "Java": 4}
val a:Any = TODO() fun test() = when { a?.equals(( ::bar)) -> "" else -> "" }
1
null
1
1
da010bdc91c159492ae74456ad14d93bdb5fdd0a
94
bbfgradle
Apache License 2.0
remote/src/main/kotlin/io/github/gmvalentino8/github/sample/remote/apis/IssuesApi.kt
wasabi-muffin
462,369,263
false
{"Kotlin": 2712155, "Mustache": 4796, "Ruby": 1144, "Shell": 812}
/** * GitHub v3 REST API * * GitHub's v3 REST API. * * The version of the OpenAPI document: 1.1.4 * * * Please note: * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * Do not edit this file manually. */ @file:Suppress( "ArrayInDataClass", "EnumEntryName", "R...
0
Kotlin
0
1
2194a2504bde08427ad461d92586497c7187fb40
35,830
github-sample-project
Apache License 2.0
remote/src/main/kotlin/io/github/gmvalentino8/github/sample/remote/apis/IssuesApi.kt
wasabi-muffin
462,369,263
false
{"Kotlin": 2712155, "Mustache": 4796, "Ruby": 1144, "Shell": 812}
/** * GitHub v3 REST API * * GitHub's v3 REST API. * * The version of the OpenAPI document: 1.1.4 * * * Please note: * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * Do not edit this file manually. */ @file:Suppress( "ArrayInDataClass", "EnumEntryName", "R...
0
Kotlin
0
1
2194a2504bde08427ad461d92586497c7187fb40
35,830
github-sample-project
Apache License 2.0
app/src/main/java/com/zhudong/tianyuekotlin/bean/NewsArticleBean.kt
ZDfordream
150,937,964
false
null
package com.zhudong.tianyuekotlin.bean import com.google.gson.annotations.SerializedName import java.io.Serializable /** * Created by zhudong on 2018/5/31 */ class NewsArticleBean : Serializable { /** * meta : {"id":"http://api.3g.ifeng.com/api_vampire_article_detail?aid=sub_22659236","type":"doc","docume...
2
null
57
2
c6172e94d32e534ba374c4dcbbb8338ecc694e58
25,811
TianYueKotlin
Apache License 2.0
kotlin-inject-compiler-ksp/src/main/kotlin/me/tatarka/inject/compiler/ksp/InjectProcessor.kt
andrey-bolduzev
305,179,608
true
{"Kotlin": 159376}
package me.tatarka.inject.compiler.ksp import com.squareup.kotlinpoet.FileSpec import me.tatarka.inject.annotations.Component import me.tatarka.inject.compiler.FailedToGenerateException import me.tatarka.inject.compiler.InjectGenerator import me.tatarka.inject.compiler.Options import me.tatarka.inject.compiler.Profile...
0
null
0
0
d6dfd34e713d4f7a5bf61ceea8d7c4cc9b7bfa96
2,153
kotlin-inject
Apache License 2.0
src/main/kotlin/com/xinaiz/wds/util/support/PointF.kt
domazey
155,060,100
false
null
package com.xinaiz.wds.util.support /** Should detonate percentage position inside a host view */ class PointF(var x: Float /** 0.0 - 1.0 */, var y: Float /** 0.0 - 1.0 */) { fun moveBy(xOffset: Float, yOffset: Float): PointF { return PointF(x + xOffset, y + yOffset) } fun move(newX: Float, newY:...
0
Kotlin
0
0
55012e722cb4e56785ca25e5477e0d7c2a5260cc
464
web-driver-support
Apache License 2.0
src/main/kotlin/no/nav/familie/ba/sak/kjerne/eøs/EøsUtil.kt
navikt
224,639,942
false
null
package no.nav.familie.ba.sak.kjerne.eøs import no.nav.familie.ba.sak.common.NullableMånedPeriode import no.nav.familie.ba.sak.kjerne.autovedtak.fødselshendelse.Resultat import no.nav.familie.ba.sak.kjerne.eøs.RegelverkPeriodeUtil.lagVilkårResultatMåneder import no.nav.familie.ba.sak.kjerne.eøs.RegelverkPeriodeUtil.sl...
3
Kotlin
0
7
a33ee2c537dbe9d78dbbf79deb3e932898fed2f4
4,537
familie-ba-sak
MIT License
util/src/main/kotlin/com/dzirbel/kotify/util/StateFlowExtensions.kt
dzirbel
211,595,180
false
null
package com.dzirbel.kotify.util import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.flow.FlowCollector import kotlinx.coroutines.flow.SharingStarted import kotlinx.coroutines.flow.StateFlow import kotlinx.coroutines.flow.combine import kotlinx.coroutines.flow.map import kotlinx.coroutines.flow.onStart i...
1
Kotlin
2
34
1fef0b644ffcdf6a7c723d385329500c7dec45e7
2,097
kotify
MIT License
library/src/main/java/software/amazon/location/tracking/aws/LocationTrackingCallback.kt
aws-geospatial
775,000,374
false
{"Kotlin": 111505}
package software.amazon.location.tracking.aws import software.amazon.location.tracking.database.LocationEntry /** * Callback interface for location tracking events. */ interface LocationTrackingCallback { /** * Called when a new location is received. * @param location The new location entry. */ ...
0
Kotlin
0
1
362b242e1756274d51a0226bc75e45b9f51e436d
1,120
amazon-location-mobile-tracking-sdk-android
Apache License 2.0
app/src/main/java/org/sil/storyproducer/view/BaseActivityView.kt
sil-cs
294,830,518
false
{"Gradle": 3, "Markdown": 6, "Java Properties": 2, "Shell": 3, "Text": 11, "Ignore List": 3, "Batchfile": 1, "YAML": 1, "Proguard": 1, "XML": 99, "Kotlin": 97, "Java": 28, "JSON": 5, "HTML": 8, "Dockerfile": 2, "SVG": 6}
package org.sil.storyproducer.view import android.content.Intent import android.net.Uri import org.sil.storyproducer.controller.BaseController interface BaseActivityView { fun startActivityForResult(intent: Intent, request: Int) fun showMain() fun showRegistration() fun takePersistableUriPermission(u...
1
null
1
1
94365065f09dd0a254845a3cb1a38617f40f9959
566
StoryProducer
MIT License
src/main/kotlin/net/leanix/vsm/gitlab/broker/shared/properties/GitLabOnPremProperties.kt
leanix
671,435,549
false
{"Kotlin": 107795, "Dockerfile": 244}
package net.leanix.vsm.gitlab.broker.shared.properties import org.springframework.boot.context.properties.ConfigurationProperties @ConfigurationProperties(prefix = "leanix.vsm.connector") data class GitLabOnPremProperties( val apiUserToken: String, val gitlabToken: String, val gitlabUrl: String )
1
Kotlin
0
2
760c2e60cb09341752ce950956dbaf8e9a64e00a
312
vsm-gitlab-broker
Apache License 2.0
components/ledger/ledger-utxo-token-cache/src/main/kotlin/net/corda/ledger/utxo/token/cache/services/AvailableTokenService.kt
corda
346,070,752
false
{"Kotlin": 19987483, "Java": 320782, "Smarty": 115617, "Shell": 54666, "Groovy": 30254, "PowerShell": 6509, "TypeScript": 5826, "Solidity": 2024}
package net.corda.ledger.utxo.token.cache.services import net.corda.ledger.utxo.token.cache.entities.AvailTokenQueryResult import net.corda.ledger.utxo.token.cache.entities.CachedToken import net.corda.ledger.utxo.token.cache.entities.TokenPoolKey import net.corda.v5.ledger.utxo.token.selection.TokenBalance interface...
31
Kotlin
25
56
6b5bd1a70280605ccc5106c69e58565a7daa1697
611
corda-runtime-os
Apache License 2.0
platform/platform-tests/testSrc/com/intellij/openapi/diff/impl/patch/PatchTextDetectionTest.kt
ingokegel
72,937,917
false
null
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.openapi.diff.impl.patch import com.intellij.openapi.fileEditor.impl.LoadTextUtil import com.intellij.openapi.vfs.LocalFileSystem import com.intellij.testFram...
1
null
1
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
1,646
intellij-community
Apache License 2.0
src/main/kotlin/dev/ekvedaras/laravelquery/completion/TableOrViewCompletionProvider.kt
ekvedaras
325,768,601
false
null
package dev.ekvedaras.laravelquery.completion import com.intellij.codeInsight.completion.CompletionParameters import com.intellij.codeInsight.completion.CompletionProvider import com.intellij.codeInsight.completion.CompletionResultSet import com.intellij.codeInsight.lookup.LookupElement import com.intellij.openapi.app...
3
Kotlin
3
42
4f8b4822eaa329e2f643c8d6b4299f7d99861c1c
4,446
laravel-query-intellij
MIT License
tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/chat/get/GetChat.kt
InsanusMokrassar
163,152,024
false
{"Kotlin": 3243076, "Shell": 373}
package dev.inmo.tgbotapi.requests.chat.get import dev.inmo.tgbotapi.abstracts.types.ChatRequest import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest import dev.inmo.tgbotapi.types.BusinessChatId import dev.inmo.tgbotapi.types.ChatIdWithThreadId import dev.inmo.tgbotapi.types.ChatIdentifier import dev.inmo.tgbota...
13
Kotlin
29
358
482c375327b7087699a4cb8bb06cb09869f07630
1,135
ktgbotapi
Apache License 2.0
src/main/kotlin/com/chimber/debtislav/repository/UserRepository.kt
chimbersaw
441,295,823
false
{"Kotlin": 46382}
package com.chimber.debtislav.repository import com.chimber.debtislav.exception.UserNotFoundException import com.chimber.debtislav.model.User import org.springframework.context.annotation.Lazy import org.springframework.data.jpa.repository.JpaRepository import org.springframework.stereotype.Component import org.spring...
0
Kotlin
0
0
be2459710d4fb05a659be8d0a33388f48a4d97fd
989
debtislav
Apache License 2.0
library/src/test/java/com/deltadna/android/sdk/EventTest.kt
deltaDNA
54,024,782
false
{"Java": 396184, "Kotlin": 260172, "Shell": 1624}
/* * Copyright (c) 2016 deltaDNA Ltd. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
1
Java
4
5
8a181ebc69e7351346c83c72204f63286e361169
2,065
android-sdk
Apache License 2.0
app/src/main/java/it/unibs/mp/horace/ui/leaderboard/friends/FriendDetailsDialog.kt
H3isenb3rg
604,173,455
false
null
package it.unibs.mp.horace.ui.leaderboard.friends import com.google.android.material.bottomsheet.BottomSheetDialogFragment class FriendDetailsDialog : BottomSheetDialogFragment()
9
Kotlin
0
0
96410507f48dc23bb4b02b329c8aaf54f90a8672
180
MobileProgramming2023
MIT License
app/src/main/kotlin/com/maltaisn/notes/ui/settings/SettingsFragment.kt
kahasta
374,725,843
true
{"Kotlin": 595861, "Shell": 3091}
/* * 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
null
0
0
5f43298469d8f20529db6e9a90f13631ae93c511
5,318
another-notes-app
Apache License 2.0
updater/src/main/kotlin/com/oneliang/ktx/frame/updater/UpdaterExecutor.kt
tongxiaoyi
379,480,354
false
{"Gradle Kotlin DSL": 4, "Java Properties": 2, "Shell": 1, "Text": 48, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "Gradle": 34, "Kotlin": 323, "XML": 20, "Java": 11, "JSON": 1}
package com.oneliang.ktx.frame.updater import com.oneliang.ktx.frame.updater.tomcat.TomcatAutoUpdater import com.oneliang.ktx.util.concurrent.ThreadPool class UpdaterExecutor { private val threadPool = ThreadPool().also { it.start() } fun addTomcatAutoUpdater(tomcatAutoUpdater: TomcatAutoUpdater, taskFinishe...
1
null
1
1
1a4cbe107b7adc8941691911f75c3fc2aa383ca1
523
frame-kotlin
Apache License 2.0
csstype-kotlin/src/jsMain/kotlin/web/cssom/NamedColor.kt
karakum-team
393,199,102
false
{"Kotlin": 6149909}
// Automatically generated - do not modify! @file:Suppress( "NAME_CONTAINS_ILLEGAL_CHARS", "NESTED_CLASS_IN_EXTERNAL_INTERFACE", ) package web.cssom // language=JavaScript @JsName( """(/*union*/{aliceblue: '#F0F8FF', antiquewhite: '#FAEBD7', aqua: '#00FFFF', aquamarine: '#7FFFD4', azure: '#F0FFFF', beige...
0
Kotlin
6
26
3fcfd2c61da8774151cf121596e656cc123b37db
8,637
types-kotlin
Apache License 2.0
sdk/src/main/java/com/talobin/robinhood/data/account/Document.kt
talobin
352,029,813
false
null
/* * Copyright 2021 Google LLC * * 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 applicable law or agreed to ...
0
Kotlin
0
0
f32dd6d2c53bd6cd3ed57d8386277b0022f12790
1,750
Robinhood-Android-SDK
Apache License 2.0
src/Day03.kt
valerakostin
574,165,845
false
{"Kotlin": 21086}
fun main() { fun computePriority(c: Char): Int { return if (Character.isUpperCase(c)) c.lowercaseChar().code - 96 + 26 else c.code - 96 } fun part1(input: List<String>): Int { var sum = 0 for (line in input) { val m = line.length / 2 ...
0
Kotlin
0
0
e5f13dae0d2fa1aef14dc71c7ba7c898c1d1a5d1
1,196
AdventOfCode-2022
Apache License 2.0
src/Day03.kt
valerakostin
574,165,845
false
{"Kotlin": 21086}
fun main() { fun computePriority(c: Char): Int { return if (Character.isUpperCase(c)) c.lowercaseChar().code - 96 + 26 else c.code - 96 } fun part1(input: List<String>): Int { var sum = 0 for (line in input) { val m = line.length / 2 ...
0
Kotlin
0
0
e5f13dae0d2fa1aef14dc71c7ba7c898c1d1a5d1
1,196
AdventOfCode-2022
Apache License 2.0
skill/src/main/kotlin/at/rgstoettner/alexahome/skill/endpoints/websocket/ExecutorMessage.kt
Appyx
103,373,308
false
null
package at.rgstoettner.alexahome.skill.endpoints.websocket import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.databind.JsonNode import com.fasterxml.jackson.databind.ObjectMapper /** * This class defines the contract between executors and skill. * It is used in both directions as tra...
1
null
1
3
f75154eb473ccbb68b64b15941e118c33f9ef1d1
1,636
AlexaHome
Apache License 2.0
src/main/kotlin/com/brunocollingridge/kotlinbot/util/logging/OutputFilter.kt
Orilly
391,847,171
false
null
package com.brunocollingridge.kotlinbot.util.logging import java.io.OutputStream import java.io.PrintStream import java.util.regex.Pattern /** * This class hides certain messages from being displayed in the console. */ class OutputFilter(out: OutputStream) : PrintStream(out) { /** * Javacord's logging war...
0
Kotlin
0
0
4cb8132a698818f37b4fe11e387eb1090235453c
883
KotlinBot
Apache License 2.0
core-models/src/main/java/com/anytypeio/anytype/core_models/FeaturesConfig.kt
anyproto
647,371,233
false
{"Kotlin": 9858629, "Java": 69306, "Shell": 11126, "Makefile": 1276}
package com.anytypeio.anytype.core_models @Deprecated("Should be deleted") data class FeaturesConfig( val enableDataView: Boolean? = null, val enableDebug: Boolean? = null, val enablePrereleaseChannel: Boolean? = null, val enableSpaces: Boolean? = null )
32
Kotlin
25
295
d4d1b3ea3ea91925401c1835bfddc13757e77474
271
anytype-kotlin
RSA Message-Digest License
app/src/main/java/ua/sytor/wifipass/core/network_data_collector/di/NetworkDataCollectorModule.kt
syt0r
66,295,685
false
null
package ua.sytor.wifipass.core.network_data_collector.di import org.koin.dsl.module import ua.sytor.wifipass.core.network_data_collector.NetworkDataCollector import ua.sytor.wifipass.core.network_data_collector.NetworkDataCollectorContract val networkDataCollectorModule = module { factory<NetworkDataCollectorContrac...
2
Kotlin
10
42
1c649924649cb182e60535f27384793d2b6c09fc
369
WifiPass
Apache License 2.0
core/src/test/resources/valid/commonality/obj/EmptyObjExample.kt
fractalwrench
117,886,039
false
null
import kotlin.String data class EmptyObjExample(val firstField: FirstField, val secondField: FirstField) data class FirstField(val foo: String?)
1
Kotlin
13
149
42d178863d21e479d9358a37af3950d9c1d4e8a8
147
json-2-kotlin
MIT License
library/src/main/java/cloud/pace/sdk/appkit/app/api/AppRepository.kt
pace
303,641,261
false
null
package cloud.pace.sdk.appkit.app.api import android.content.Context import android.graphics.Bitmap import android.graphics.BitmapFactory import cloud.pace.sdk.R import cloud.pace.sdk.appkit.model.App import cloud.pace.sdk.appkit.model.AppManifest import cloud.pace.sdk.appkit.persistence.CacheModel import cloud.pace.s...
0
Kotlin
1
5
c459c30690f3c2c480986312a3d837698ce028bc
7,813
cloud-sdk-android
MIT License
meistercharts-commons/src/commonMain/kotlin/it/neckar/datetime/minimal/TimeZone.kt
Neckar-IT
599,079,962
false
null
package it.neckar.datetime.minimal /** * Represents a time zone */ data class TimeZone(val zoneId: String) { init { require(zoneId.isNotEmpty()) { "Invalid zone id provided <$zoneId>" } } override fun toString(): String { return zoneId } companion object { /** * Represents the ...
3
null
3
5
ed849503e845b9d603598e8d379f6525a7a92ee2
708
meistercharts
Apache License 2.0
PullDownView/src/main/java/com/santi/pulldownview/Animator.kt
saantiaguilera
63,188,036
false
null
package com.santi.pulldownview import android.animation.ObjectAnimator import android.view.View import android.view.animation.Animation import android.view.animation.AnimationUtils import com.santi.pulldownview.contracts.GestureResponses import com.santi.pulldownview.contracts.ViewVisibilityChanges import java.lang.re...
0
Kotlin
0
0
2575f287806b81b9b834f918eabfd7ecb3ec7ca3
4,126
android-view-pull-down-layout
MIT License
straight/src/commonMain/kotlin/me/localx/icons/straight/bold/FaceShush.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.straight.bold import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter i...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
4,828
icons
MIT License
src/all/kavita/src/eu/kanade/tachiyomi/extension/all/kavita/KavitaHelper.kt
kevin01523
612,636,298
false
{"Kotlin": 5305448}
package eu.kanade.tachiyomi.revived.all.kavita import eu.kanade.tachiyomi.lib.i18n.Intl import eu.kanade.tachiyomi.revived.all.kavita.dto.ChapterDto import eu.kanade.tachiyomi.revived.all.kavita.dto.PaginationInfo import eu.kanade.tachiyomi.revived.all.kavita.dto.SeriesDto import eu.kanade.tachiyomi.revived.all.kavita...
9
Kotlin
99
9
8ca7f06a4fdfbfdd66520a4798c8636274263428
5,878
tachiyomi-extensions
Apache License 2.0
src/main/kotlin/no/nav/dsop/service/DsopService.kt
navikt
192,729,792
false
{"Kotlin": 27536, "Dockerfile": 253}
package no.nav.dsop.service import no.nav.dsop.consumer.ereg.EregConsumer import no.nav.dsop.consumer.kodeverk.KodeverkConsumer import no.nav.dsop.consumer.sporingslogg.SporingsloggConsumer import no.nav.dsop.dto.SporingsloggOutbound class DsopService( private val sporingsloggConsumer: SporingsloggConsumer, p...
2
Kotlin
0
0
2e321dba1b84cd0f53af72f87cfefb2e5efae57a
966
dsop-api
MIT License
src/main/kotlin/com/thelastpickle/tlpcluster/commands/Hosts.kt
rustyrazorblade
253,851,902
false
{"Kotlin": 102873, "Jsonnet": 47770, "Shell": 14095, "HCL": 1072, "Dockerfile": 941}
package com.thelastpickle.tlpcluster.commands import com.beust.jcommander.Parameter import com.thelastpickle.tlpcluster.Context import com.thelastpickle.tlpcluster.configuration.HostList import com.thelastpickle.tlpcluster.configuration.ServerType import java.io.FileNotFoundException class Hosts(val context: Context)...
5
Kotlin
0
1
512aa8e43a9a8ea6dfbe3a72301ead6a77a21188
1,313
tlp-cluster
Apache License 2.0
services/hanke-service/src/main/kotlin/fi/hel/haitaton/hanke/Configuration.kt
City-of-Helsinki
300,534,352
false
null
package fi.hel.haitaton.hanke import fi.hel.haitaton.hanke.allu.AlluProperties import fi.hel.haitaton.hanke.allu.ApplicationRepository import fi.hel.haitaton.hanke.allu.ApplicationService import fi.hel.haitaton.hanke.allu.CableReportServiceAllu import fi.hel.haitaton.hanke.geometria.HankeGeometriatDao import fi.hel.ha...
6
Kotlin
4
1
8f5d9dd7af0f78b8f19598c484ae657c26f3f9b8
5,174
haitaton-backend
MIT License
lib/src/androidTest/java/com/smileidentity/compose/consent/ConsentScreenTest.kt
smileidentity
576,345,086
false
null
package com.smileidentity.compose.consent import androidx.compose.ui.res.painterResource import androidx.compose.ui.test.junit4.createComposeRule import androidx.compose.ui.test.onNodeWithText import androidx.compose.ui.test.performClick import com.smileidentity.R import java.net.URL import org.junit.Assert.assertTrue...
2
Kotlin
4
9
1beef41e99eddc39f37f3ba2010b141c0f3bcdb4
2,003
android
MIT License
app/src/main/java/com/breezeisabgolfsm/features/NewQuotation/interfaces/TaxOnclick.kt
DebashisINT
764,494,737
false
{"Kotlin": 14193578, "Java": 1003903}
package com.breezeisabgolfsm.features.NewQuotation.interfaces import com.breezeisabgolfsm.app.domain.NewOrderGenderEntity interface TaxOnclick { fun OnClick(obj:String) }
0
Kotlin
0
0
ad2738b0b422111993af86ef236826c9c679abda
176
SatIsabgol
Apache License 2.0
rtron-model/src/main/kotlin/io/rtron/model/opendrive/lane/Enumerations.kt
tum-gis
258,142,903
false
{"Kotlin": 1425220, "C": 12590, "Dockerfile": 511, "CMake": 399, "Shell": 99}
/* * Copyright 2019-2023 Chair of Geoinformatics, Technical University of Munich * * 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 * ...
6
Kotlin
12
43
27969aee5a0c8115cb5eaf085ca7d4c964e1f033
1,660
rtron
Apache License 2.0
generator/library/src/main/kotlin/org/timemates/rsp/codegen/generators/options/OptionValueGenerator.kt
rsproto
713,625,067
false
{"Kotlin": 136765}
package org.timemates.rsp.codegen.generators.options import com.squareup.kotlinpoet.CodeBlock import com.squareup.wire.schema.* import org.timemates.rsp.codegen.ext.asClassName public object OptionValueGenerator { public fun generate( protoType: ProtoType, value: Any?, schema: Schema, ...
8
Kotlin
0
8
dd59aff9b239c4a426444290c7ec55677d6a89fb
4,424
rsp-kotlin
MIT License
src/main/kotlin/me/mrkirby153/KirBot/utils/FileDataStore.kt
mrkirby153
77,095,266
false
null
package me.mrkirby153.KirBot.utils import com.google.gson.Gson import com.google.gson.reflect.TypeToken import me.mrkirby153.kcutils.utils.DataStore import java.io.File class FileDataStore<K, V>(private val file: File) : DataStore<K, V> { private var map = mutableMapOf<K, V>() private val gson = Gson() ...
0
Kotlin
1
6
32d929ccf02c647a7e0ba16d33718405b1cf6dc1
1,403
KirBot
MIT License
src/main/kotlin/com/util/SocketUtils.kt
1037195898
747,963,849
false
{"Kotlin": 121460}
package com.util object SocketUtils { /** 默认websocket通信格式 文本格式 */ @JvmField var webSocketType: SocketType = SocketType.TEXT_WEB_SOCKET_FRAME /** 默认空闲事件命令 */ @JvmField var DEFAULT_IDLE_ACTION: Int = 1 }
0
Kotlin
0
0
66868a43839d219ee7ad03073d0fccbf1e36d804
230
netty-socket
Apache License 2.0
layout-inspector/testingSrc/com/android/tools/idea/layoutinspector/pipeline/appinspection/AppInspectionInspectorRule.kt
JetBrains
60,701,247
false
null
/* * Copyright (C) 2020 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
1
null
220
857
8d22f48a9233679e85e42e8a7ed78bbff2c82ddb
7,116
android
Apache License 2.0
browser-kotlin/src/jsMain/kotlin/web/html/HTMLOptionsCollection.kt
karakum-team
393,199,102
false
null
// Automatically generated - do not modify! package web.html /** * HTMLOptionsCollection is an interface representing a collection of HTML option elements (in document order) and offers methods and properties for traversing the list as well as optionally altering its items. This type is returned solely by the "optio...
0
null
8
36
95b065622a9445caf058ad2581f4c91f9e2b0d91
2,058
types-kotlin
Apache License 2.0
android/src/test/java/com/kroger/cache/android/extensions/SnapshotFileCacheBuilderExtensionsTest.kt
krogerco
614,461,031
false
{"Kotlin": 20763, "Shell": 803}
/** * MIT License * * Copyright (c) 2023 The Kroger Co. All rights reserved. * * 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 rig...
1
Kotlin
0
4
68b06f08a0ee322764133922a6e7191788b37bf5
2,447
Cache-Android
MIT License
platform/lib/domain/src/main/kotlin/io/hamal/lib/domain/vo/Authentication.kt
hamal-io
622,870,037
false
{"Kotlin": 3917028, "C": 1401512, "TypeScript": 339641, "Lua": 170806, "C++": 40651, "Makefile": 11728, "Java": 7564, "JavaScript": 3076, "CMake": 2838, "CSS": 1567, "HTML": 1248, "Shell": 977}
package io.hamal.lib.domain.vo import io.hamal.lib.common.domain.ValueObjectId import io.hamal.lib.common.domain.ValueObjectString import io.hamal.lib.common.snowflake.SnowflakeId class AuthId(override val value: SnowflakeId) : ValueObjectId() { constructor(value: Int) : this(SnowflakeId(value.toLong())) com...
39
Kotlin
0
0
c263adf12584f9ed4be14d3884daa88ab08313d3
746
hamal
Creative Commons Zero v1.0 Universal
kuery-client-core/src/main/kotlin/dev/hsbrysk/kuery/core/KueryBlockingClient.kt
be-hase
806,354,598
false
{"Kotlin": 164266}
package dev.hsbrysk.kuery.core import dev.hsbrysk.kuery.core.KueryBlockingClient.FetchSpec import kotlin.reflect.KClass interface KueryBlockingClient { /** * Returns a [FetchSpec] to obtain the execution results based on the received [SqlBuilder]. * * @param sqlId An ID that uniquely identifies the...
3
Kotlin
0
7
3037a8cdb52bce83930bd99b57862d909c6e0cf7
2,411
kuery-client
MIT License
app/src/main/java/com/bossed/waej/adapter/CarYearsAdapter.kt
Ltow
710,230,789
false
{"Kotlin": 2304560, "Java": 395495, "HTML": 71364}
package com.bossed.waej.adapter import com.bossed.waej.R import com.bossed.waej.javebean.DataXXX import com.chad.library.adapter.base.BaseQuickAdapter import com.chad.library.adapter.base.BaseViewHolder class CarYearsAdapter(data: ArrayList<DataXXX>) : BaseQuickAdapter<DataXXX, BaseViewHolder>(R.layout.layout_ite...
0
Kotlin
0
0
8c2e9928f6c47484bec7a5beca32ed4b10200f9c
469
wananexiu
Mulan Permissive Software License, Version 2
app/src/main/java/wannabit/io/cosmostaion/data/repository/chain/HistoryRepositoryImpl.kt
cosmostation
418,314,439
false
{"Java": 5007328, "Kotlin": 2700238, "Shell": 3941}
package wannabit.io.cosmostaion.data.repository.chain import kotlinx.coroutines.Dispatchers import retrofit2.Response import wannabit.io.cosmostaion.common.safeApiCall import wannabit.io.cosmostaion.data.api.RetrofitInstance import wannabit.io.cosmostaion.data.model.res.CosmosHistory import wannabit.io.cosmostaion.dat...
0
Java
43
78
0dc9dacb8846cc4aa0aa80662817249fe6b8a71e
1,110
cosmostation-android
MIT License
src/main/kotlin/de/benediktritter/maven/plugin/development/internal/MavenLoggerAdapter.kt
britter
249,167,756
false
null
/* * Copyright 2020 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
20
null
6
29
cb7ce8c331665d6b78dcf871db90dd387d184f03
3,775
maven-plugin-development
Apache License 2.0
mvvm/src/main/java/com/gevorg/mvvm/api/AuthRepository.kt
gevgha
412,433,026
false
{"Gradle": 5, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 4, "Batchfile": 1, "Markdown": 1, "Proguard": 3, "Kotlin": 47, "XML": 41, "Java": 3}
package com.gevorg.mvvm.api import com.gevorg.mvvm.model.User import kotlinx.coroutines.Deferred interface AuthRepository { suspend fun login(email: String, password: String): Deferred<String> suspend fun saveCurrentUser(user: User) }
1
null
1
1
eb5b5cba726d1fa7fe47124d83cb1837e002b13a
244
android_architecture
Apache License 2.0
buildSrc/src/main/kotlin/PropertyAccessor.kt
badasintended
279,736,871
false
{"Gradle Kotlin DSL": 24, "INI": 2, "Shell": 1, "JSON": 6, "Ignore List": 1, "Batchfile": 1, "EditorConfig": 1, "Markdown": 3, "YAML": 2, "Kotlin": 18, "HTML": 2, "Java": 103, "TOML": 1}
import org.gradle.api.Project private val propDelegate = hashMapOf<Project, PropertyAccessor>() val Project.prop get() = propDelegate.getOrPut(this) { PropertyAccessor(this) } val Project.rootProp get() = rootProject.prop class PropertyAccessor internal constructor( private val project: Project ) { ...
9
Java
6
16
913cc1819ab3aaa0e831f14fc90bb90d33301d1e
607
megane
The Unlicense
buildSrc/src/main/kotlin/PropertyAccessor.kt
badasintended
279,736,871
false
{"Gradle Kotlin DSL": 24, "INI": 2, "Shell": 1, "JSON": 6, "Ignore List": 1, "Batchfile": 1, "EditorConfig": 1, "Markdown": 3, "YAML": 2, "Kotlin": 18, "HTML": 2, "Java": 103, "TOML": 1}
import org.gradle.api.Project private val propDelegate = hashMapOf<Project, PropertyAccessor>() val Project.prop get() = propDelegate.getOrPut(this) { PropertyAccessor(this) } val Project.rootProp get() = rootProject.prop class PropertyAccessor internal constructor( private val project: Project ) { ...
9
Java
6
16
913cc1819ab3aaa0e831f14fc90bb90d33301d1e
607
megane
The Unlicense
kotlin/comments.kt
smenjas
231,842,545
false
{"Python": 3790, "JavaScript": 386, "Lua": 322, "Scala": 211, "Java": 195, "PHP": 179, "Perl": 177, "C": 151, "Dart": 150, "TypeScript": 149, "Go": 146, "Shell": 145, "Tcl": 140, "Ruby": 137, "Swift": 136, "Raku": 133, "Kotlin": 132, "Julia": 117, "R": 113, "Fortran": 93, "Clojure": 82, "Rust": 78, "Common Lisp": 48}
// This is a single line comment. /* This is a multi line comment. */
0
Python
0
0
d9e6a9034c969c8bcf6de219f1d4d6f87d1aa39e
70
programming-languages-compared
ISC License
platform/statistics/devkit/testSrc/com/intellij/internal/statistic/actions/devkit/ShowChangedStateEventsActionTest.kt
ingokegel
72,937,917
false
null
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.internal.statistic.actions import com.intellij.internal.statistic.eventLog.newLogEvent import com.jetbrains.fus.reporting.model.lion3.LogEv...
185
null
4309
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
2,328
intellij-community
Apache License 2.0
Android_Development_with_Kotlin/Projects/Marvel vs DC Quiz App/app/src/main/java/com/example/quiz_app/Question/Question.kt
girlscript
401,780,066
false
null
package com.example.quiz_app.Question import androidx.annotation.DrawableRes import androidx.annotation.StringRes data class Question( val id : Int, @StringRes val question : Int, @DrawableRes val image : Int, val option1 : String, val option2 : String, val option3 : String, val option4 : ...
1,447
null
1665
939
8632c74d0c2d55bb4fddee9d6faac30159f376e1
361
winter-of-contributing
MIT License
app/src/test/java/com/serjltt/devfest/weather/rx/ImmediateTestScheduler.kt
serj-lotutovici
89,843,157
false
{"Gradle": 4, "Java Properties": 2, "Shell": 1, "Ignore List": 1, "Batchfile": 1, "YAML": 1, "Markdown": 1, "Kotlin": 44, "JSON": 2, "XML": 6, "Java": 1}
package com.serjltt.devfest.weather.rx import io.reactivex.Scheduler import io.reactivex.disposables.Disposable import io.reactivex.schedulers.TestScheduler import java.util.concurrent.TimeUnit /** A scheduler that delegates to a {@link TestScheduler}, with the exception of executing the tasks immediately. */ class I...
1
null
1
1
c406ffa416429f838b538e74f3e56050fbb66527
866
RxMVSomething
Apache License 2.0
clients/kotlin-spring/generated/src/main/kotlin/org/openapitools/model/MessageContentTextObjectText.kt
oapicf
529,246,487
false
{"Markdown": 6348, "YAML": 73, "Text": 16, "Ignore List": 52, "JSON": 1138, "Makefile": 3, "JavaScript": 1042, "F#": 585, "XML": 468, "Shell": 47, "Batchfile": 10, "Scala": 2313, "INI": 31, "Dockerfile": 17, "Maven POM": 22, "Java": 6356, "Emacs Lisp": 1, "Haskell": 39, "Swift": 263, "Ruby": 555, "OASv3-yaml": 19, "Cab...
package org.openapitools.model import java.util.Objects import com.fasterxml.jackson.annotation.JsonProperty import org.openapitools.model.MessageContentTextObjectTextAnnotationsInner import javax.validation.constraints.DecimalMax import javax.validation.constraints.DecimalMin import javax.validation.constraints.Email...
2
Java
0
4
c04dc03fa17b816be6e9a262c047840301c084b6
1,154
openapi-openai
MIT License
app/src/main/java/com/termux/zerocore/filetype/MyFileImageListener.kt
hanxinhao000
378,069,880
false
null
package com.termux.zerocore.filetype import android.widget.ImageView import com.bumptech.glide.Glide import com.bumptech.glide.request.RequestOptions import com.termux.R import com.zp.z_file.listener.ZFileImageListener import java.io.File class MyFileImageListener : ZFileImageListener() { /** * 图片类型加载 ...
10
null
92
978
76194004d19d180e45fa44988ed04c5123a5385e
649
ZeroTermux
Apache License 2.0
buildSrc/src/main/java/Publications.kt
vpathania1
283,532,067
true
{"Java Properties": 1, "Markdown": 2, "Shell": 1, "Batchfile": 1, "Gradle Kotlin DSL": 6, "Kotlin": 87, "Java": 275, "INI": 1, "Proguard": 2}
/* * Copyright 2020 Criteo * * 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 ...
0
null
0
0
b0d59098cb400d7c0ce7b5c510249f12afea716a
3,198
android-publisher-sdk
Apache License 2.0
Game of Life/task/test/common/UiTestsGenerators.kt
drtierney
310,934,370
false
{"Text": 1, "Markdown": 1, "Java": 7, "Kotlin": 7}
package common import org.assertj.swing.fixture.AbstractJComponentFixture import org.hyperskill.hstest.v6.stage.SwingTest import org.hyperskill.hstest.v6.testcase.TestCase import javax.swing.JFrame fun frameTests(frameGetter: () -> JFrame): List<TestCase<ClueWithChecker>> { return listOf( createPrede...
1
Kotlin
0
0
6217cfccfe11cf5bfd4a83e7919511d19b3eead4
2,106
hyperskill-GameOfLife
MIT License
one.lfa.updater.opds.xml.api/src/main/java/one/lfa/updater/opds/xml/api/OPDSXMLSerializerProviderType.kt
AULFA
189,855,520
false
{"Git Config": 1, "Gradle": 28, "INI": 28, "Shell": 2, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "Kotlin": 213, "Java": 17, "XML": 98, "Java Properties": 4, "Text": 1, "YAML": 3}
package one.lfa.updater.opds.xml.api import java.io.OutputStream /** * A provider of XML serializers. */ interface OPDSXMLSerializerProviderType { /** * Create a serializer for the given output stream. */ fun createSerializer( outputStream: OutputStream ): OPDSXMLSerializerType }
2
null
1
1
5cde488e4e9f9e60f5737d9e1a8fc8817f6b22a8
304
updater
Apache License 2.0
src/main/kotlin/dev/ebelekhov/typechecker/errors/AmbiguousSumTypeError.kt
BelehovEgor
759,297,417
false
{"Gradle Kotlin DSL": 2, "INI": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Smalltalk": 470, "StringTemplate": 1, "Kotlin": 77, "Java": 6, "ANTLR": 2, "YAML": 1, "XML": 8}
package dev.ebelekhov.typechecker.errors import dev.ebelekhov.typechecker.antlr.parser.stellaParser import org.antlr.v4.runtime.RuleContext class AmbiguousSumTypeError(private val ctx: RuleContext) : BaseError() { override fun getMessage(parser: stellaParser): String { return """ ERROR_AMBIGUO...
0
Java
0
0
17e95553f3780baaaddd7e6cb50981d61bd9029f
502
stella-type-checker
MIT License
app/src/main/java/com/maning/mlkitscanner/demo/MultiScanUtils.kt
wangzhibin0914
468,601,655
false
null
package com.maning.mlkitscanner.demo import android.app.Activity import android.content.Intent import android.os.Handler import android.util.Log import android.view.View import android.widget.ImageView import android.widget.LinearLayout import android.widget.RelativeLayout import android.widget.TextView import com.man...
1
null
1
1
e7fb5906619c81716ef6e76b91f0f05b54d5aa13
6,719
MNMLKitScanner
Apache License 2.0