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
plugins/settings-repository/src/IcsConfigurable.kt
JetBrains
2,489,216
false
null
// Copyright 2000-2021 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 org.jetbrains.settingsRepository import com.intellij.openapi.Disposable import com.intellij.openapi.application.ApplicationManager import com.intellij.openapi.application...
191
null
4372
13,319
4d19d247824d8005662f7bd0c03f88ae81d5364b
2,800
intellij-community
Apache License 2.0
codebase/android/feature/categories/src/main/java/com/makeappssimple/abhimanyu/financemanager/android/feature/categories/edit_category/state/EditCategoryScreenUIStateAndStateEvents.kt
Abhimanyu14
429,663,688
false
{"Kotlin": 1857337}
package com.makeappssimple.abhimanyu.financemanager.android.feature.categories.edit_category.state import androidx.compose.runtime.Stable import com.makeappssimple.abhimanyu.financemanager.android.core.ui.base.ScreenUIStateAndStateEvents @Stable internal class EditCategoryScreenUIStateAndStateEvents( val state: E...
12
Kotlin
0
3
96ea20306dc89bd18641b6cd4ca4e7e73e221705
493
finance-manager
Apache License 2.0
app/src/main/java/com/lxy/responsivelayout/addressbook/ContactsScreen.kt
luckylxyang
785,319,118
false
{"Kotlin": 73334, "Java": 4903}
package com.lxy.responsivelayout.addressbook import androidx.compose.foundation.ExperimentalFoundationApi import androidx.compose.foundation.background import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.co...
0
Kotlin
0
1
6ef437bf505c13bb56ceee01ce938e283b8b9c22
3,979
ResponsiveLayoutDemo
Apache License 2.0
kontroller/src/main/kotlin/no/ssb/kostra/validation/rule/sosial/rule/Rule011HarBarnUnder18MotAntallBarnUnder18.kt
statisticsnorway
414,216,275
false
{"Kotlin": 1525299, "TypeScript": 58079, "HTML": 694, "Dockerfile": 137, "SCSS": 110}
package no.ssb.kostra.validation.rule.sosial.rule import no.ssb.kostra.area.sosial.kvalifisering.KvalifiseringColumnNames.ANT_BARN_UNDER_18_COL_NAME import no.ssb.kostra.area.sosial.kvalifisering.KvalifiseringColumnNames.HAR_BARN_UNDER_18_COL_NAME import no.ssb.kostra.area.sosial.kvalifisering.KvalifiseringColumnNames...
1
Kotlin
0
1
280179b8f68649d8e0a6f1121d26a1e1cbbc971c
1,835
kostra-kontrollprogram
MIT License
flexilocal-gradle-plugin/src/main/kotlin/com/highcapable/flexilocale/FlexiLocale.kt
BetterAndroid
702,875,308
false
{"Kotlin": 49500}
/* * FlexiLocale - An easy generation Android i18ns string call Gradle plugin. * Copyright (C) 2019-2023 HighCapable * https://github.com/BetterAndroid/FlexiLocale * * Apache License Version 2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance ...
0
Kotlin
0
9
a8f07f0d6b4513e068b285f7fd5f96d6b5092978
1,228
FlexiLocale
Apache License 2.0
app/activitymain.kt
chetankumarpulipati
758,429,347
false
{"Kotlin": 38279}
class activitymain { }
0
Kotlin
0
0
20523d743fac7f69f75cd11888a8e91aed1bffe6
22
KeineArmut
MIT License
app/android/app/src/main/java/com/radiostream/player/MediaPlayerWrapper.kt
vitalybe
78,101,102
false
null
package com.radiostream.player import android.content.Context import android.media.MediaPlayer import android.net.Uri import javax.inject.Inject /** * Created by vitaly on 17/11/2016. */ class MediaPlayerWrapper(val mMediaPlayer: MediaPlayer) : MediaPlayerInterface { override fun setWakeMode(context: Context,...
1
null
6
38
e0fa5ea4fa180a4dfe015d021324c5d696043d4e
1,539
radio-stream
MIT License
src/main/kotlin/no/nav/amt/distribusjon/tiltakshendelse/TiltakshendelseProducer.kt
navikt
775,942,443
false
{"Kotlin": 229276, "PLpgSQL": 635, "Dockerfile": 194}
package no.nav.amt.distribusjon.tiltakshendelse import no.nav.amt.distribusjon.Environment import no.nav.amt.distribusjon.application.plugins.objectMapper import no.nav.amt.distribusjon.tiltakshendelse.model.Tiltakshendelse import no.nav.amt.distribusjon.tiltakshendelse.model.toDto import no.nav.amt.lib.kafka.Producer...
1
Kotlin
0
0
5a8745da4ae61532b9f85452099d715afd170492
916
amt-distribusjon
MIT License
app/src/main/java/com/hanbikan/nook/MainViewModel.kt
hanbikan
737,877,468
false
{"Kotlin": 361408}
package com.hanbikan.nook import android.content.Context import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.hanbikan.nook.core.domain.model.User import com.hanbikan.nook.core.domain.repository.AppStateRepository import com.hanbikan.nook.core.domain.repository.UserRepository import ...
0
Kotlin
0
0
03255f8f27644f9e7358b124f380ff39a457058a
3,037
Nook
Apache License 2.0
src/main/ShortestPath.kt
nibarius
154,152,607
false
null
import java.util.* import kotlin.math.abs // traversable specifies which characters in the map are traversable // order specifies which direction have priority if two different directions result in the same length path class ShortestPath(private val traversable: List<Char>, private val order: List<D...
0
Kotlin
0
2
8f010dabc550029fa3c1c55e7de7c623ab47b0d3
1,750
aoc
MIT License
src/main/kotlin/net/leanix/vsm/githubbroker/shared/auth/adapter/feign/config/MtmFeignClientConfiguration.kt
leanix
563,788,890
false
{"Kotlin": 96728, "Dockerfile": 244}
package net.leanix.vsm.githubbroker.shared.auth.adapter.feign.config import feign.RequestInterceptor import net.leanix.vsm.githubbroker.shared.Constants.GITHUB_BROKER_VERSION_HEADER import net.leanix.vsm.githubbroker.shared.Constants.HOSTNAME_HEADER import net.leanix.vsm.githubbroker.shared.auth.application.GetBearerT...
0
Kotlin
1
4
c2eb636976228dcffffe671dc6ab334e85a07b40
1,356
vsm-github-broker
Apache License 2.0
app/src/main/java/com/example/upschoolcapstoneproject/data/model/request/AddToCartRequest.kt
Gamzecoskkun
719,202,608
false
{"Kotlin": 85051}
package com.example.upschoolcapstoneproject.data.model.request data class AddToCartRequest( val userId: String? = null, val productId: Int? = null )
0
Kotlin
0
0
568b56f59f8a5626be8d38fc725a49dec2733fc7
157
upschoolcapstoneproject
Freetype Project License
app/src/main/kotlin/com/fibelatti/pinboard/features/posts/presentation/PostListDiffUtil.kt
fibelatti
165,537,939
false
null
package com.fibelatti.pinboard.features.posts.presentation import androidx.recyclerview.widget.DiffUtil import com.fibelatti.pinboard.features.posts.domain.model.Post import javax.inject.Inject class PostListDiffUtil(oldList: List<Post>, newList: List<Post>) { val result: DiffUtil.DiffResult = DiffUtil.calculate...
3
Kotlin
8
65
f46f65a6b4dc93746ae6ee47734237eb30bf4e78
1,015
pinboard-kotlin
Apache License 2.0
src/kotlin/de/monticore/lang/montisecarc/annotation/MSAPortInstanceAnnotator.kt
MontiSecArc
82,662,403
false
null
package de.monticore.lang.montisecarc.annotation import com.intellij.lang.annotation.AnnotationHolder import com.intellij.lang.annotation.Annotator import com.intellij.psi.PsiElement import com.intellij.psi.util.PsiTreeUtil import de.monticore.lang.montisecarc.psi.MSAPortDeclaration import de.monticore.lang.montisecar...
0
Kotlin
2
1
82d80a3d587a3f47e961034cf7e496f7149fd912
1,596
intellij_msa_language_plugin
Apache License 2.0
wordsGeneratorServer/wordsGeneratorServerFinishGame/test/TeamServiceTestClass.kt
jetbrains-academy
554,081,712
false
{"Kotlin": 575435, "TypeScript": 71763, "HTML": 46492, "CSS": 20991}
import org.jetbrains.academy.test.system.models.TestKotlinType import org.jetbrains.academy.test.system.models.Visibility import org.jetbrains.academy.test.system.models.classes.TestClass import org.jetbrains.academy.test.system.models.method.TestMethod import org.jetbrains.academy.test.system.models.variable.TestVaria...
0
Kotlin
3
4
73abaa56ac8e48f0573a628ca50d76cfd26dc0e7
1,722
kotlin-onboarding-object-oriented-programming
MIT License
app/src/main/java/io/github/mumu12641/lark/ui/theme/page/function/FunctionPage.kt
mumu12641
511,733,529
false
{"Kotlin": 393768, "Java": 141248}
package io.github.mumu12641.lark.ui.theme.page.function import android.annotation.SuppressLint import android.os.Build import android.widget.Toast import androidx.activity.compose.BackHandler import androidx.annotation.RequiresApi import androidx.compose.animation.* import androidx.compose.foundation.background import...
0
Kotlin
0
9
a327ce5573800f589a8c5b38158f85d749f5d28a
17,198
Lark
Apache License 2.0
core/src/main/kotlin/com/wafflestudio/snuttev/core/domain/evaluation/model/EvaluationReport.kt
wafflestudio
379,143,639
false
null
package com.wafflestudio.snuttev.domain.evaluation.model import com.wafflestudio.snuttev.domain.common.model.BaseEntity import javax.persistence.* @Entity @Table(uniqueConstraints = [UniqueConstraint(columnNames = ["lecture_evaluation_id", "user_id"])]) class EvaluationReport( @ManyToOne(optional = false, fetch ...
0
null
2
4
1c9e687d5e2335ee33868048d1d3f219b6bef794
696
snutt-ev
MIT License
app/src/main/java/org/radarcns/detail/MainActivityViewImpl.kt
RADAR-base
69,361,881
false
null
/* * Copyright 2017 The Hyve * * 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 writ...
19
null
28
22
4b94b9d28a41e963eaa04ac1aa63cb795620f5cd
7,078
radar-prmt-android
Apache License 2.0
app/src/main/java/cn/cqautotest/sunnybeach/model/UserArticle.kt
anjiemo
378,095,612
false
null
package cn.cqautotest.sunnybeach.model import com.google.gson.annotations.SerializedName /** * author : <NAME> * github : https://github.com/anjiemo/SunnyBeach * time : 2021/10/31 * desc : 用户文章列表 */ data class UserArticle( @SerializedName("currentPage") val currentPage: Int, @SerializedName("has...
0
Java
5
19
687bcbbb1b08a3dac4d44d04f9dbad84d554b279
1,500
SunnyBeach
Apache License 2.0
app/src/main/java/id/ihwan/jetpackpro/favorite/FavoriteViewModel.kt
IhwanID
192,184,316
false
null
package id.ihwan.jetpackpro.favorite import androidx.lifecycle.LiveData import androidx.lifecycle.ViewModel import androidx.paging.LivePagedListBuilder import androidx.paging.PagedList import id.ihwan.jetpackpro.data.source.MovieRepository import id.ihwan.jetpackpro.data.source.remote.network.response.ResultsData cla...
0
Kotlin
9
25
769bbe3e5a3e3566de12fbf6c759fa02c97912f9
873
belajar-android-jetpack-pro
Apache License 2.0
agora.core/src/commonTest/kotlin/org/agorahq/agora/core/api/fixture/SaveComment.kt
agorahq
228,175,670
false
null
package org.agorahq.agora.core.api.fixture import org.agorahq.agora.core.api.data.ElementSource import org.agorahq.agora.core.api.operation.Attributes import org.agorahq.agora.core.api.operation.Command import org.agorahq.agora.core.api.operation.context.OperationContext import org.agorahq.agora.core.api.operation.typ...
28
Kotlin
0
0
a7aeabc25d31e11090f37733de2b8ec138d1de3b
1,049
agora
Apache License 2.0
app/app/src/main/java/com/solutions/note_it/data/TaskStatus.kt
biagioPiraino
839,976,127
false
{"Kotlin": 90243, "Vue": 52032, "Go": 41922, "TypeScript": 22926, "HCL": 12288, "HTML": 335, "SCSS": 207}
package com.solutions.note_it.data import androidx.compose.ui.graphics.Color enum class TaskStatus(val desc: String, val color: Color) { Todo("To do", Color.Gray), InProgress("In progress", Color.Yellow), Completed("Completed", Color.Green), Archived("Archived", Color.LightGray) }
0
Kotlin
0
0
06117965f19ba6a028d9ee144cdec76d7dba4b92
299
note-it
MIT License
app/src/main/java/com/example/androiddevchallenge/composables/ExpandedContent.kt
balvinderz
350,242,959
false
null
/* * Copyright 2021 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
0
Kotlin
0
4
326e4552b5ec3867900fd7badad9e53d3748abf4
15,840
my-weather-app
Apache License 2.0
xesar-connect/src/main/kotlin/com/open200/xesar/connect/extension/XesarConnectUserExt.kt
open200
684,928,079
false
{"Kotlin": 351599}
package com.open200.xesar.connect.extension import com.open200.xesar.connect.XesarConnect import com.open200.xesar.connect.messages.command.Query import com.open200.xesar.connect.messages.query.QueryList import com.open200.xesar.connect.messages.query.User import kotlinx.coroutines.Deferred /** * Queries the list of...
16
Kotlin
0
9
b23bc36a644f1bf5b94de0324e774365d9cbfa91
807
xesar-connect
Apache License 2.0
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/connect/CfnQueueOutboundCallerConfigPropertyDsl.kt
cloudshiftinc
667,063,030
false
null
@file:Suppress( "RedundantVisibilityModifier", "RedundantUnitReturnType", "RemoveRedundantQualifierName", "unused", "UnusedImport", "ClassName", "REDUNDANT_PROJECTION", "DEPRECATION" ) package cloudshift.awscdk.dsl.services.connect import cloudshift.awscdk.common.CdkDslMarker import ko...
4
null
0
3
256ad92aebe2bcf9a4160089a02c76809dbbedba
2,483
awscdk-dsl-kotlin
Apache License 2.0
Base/src/main/java/com/xy/base/utils/DefaultIconListener.kt
xiuone
291,512,847
false
null
package com.xy.base.utils interface DefaultIconListener { fun onDefaultIcon():Int }
0
Kotlin
1
2
a91666c064e6843511094727503687a1ade12f3f
89
ajinlib
Apache License 2.0
2022/Ktor/WebServers/src/main/kotlin/GetPost.kt
kyoya-p
253,926,918
false
null
import io.ktor.application.* import io.ktor.http.* import io.ktor.response.* import io.ktor.routing.* import io.ktor.server.engine.* import io.ktor.server.netty.* import io.ktor.util.* import kotlinx.serialization.encodeToString import kotlinx.serialization.json.Json // implementation("io.ktor:ktor-server-core:1.6.7")...
7
Kotlin
0
1
5cc4121186e8a1cf86725641ffa3d56aa255b04e
1,019
samples
Apache License 2.0
app/src/main/java/com/lucasaugustocastro/animejotter/RegisterActivity.kt
LucasAugustoCastro
753,899,175
false
{"Kotlin": 45429}
package com.lucasaugustocastro.animejotter import android.database.sqlite.SQLiteConstraintException import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import com.google.android.material.snackbar.Snackbar import com.lucasaugustocastro.animejotter.entities.User import com.lucasaugustocastro.animejo...
0
Kotlin
0
0
8ec53bf4920439824754824647cde09892dc5c56
1,783
AnimeJotter
MIT License
iok_scoped/src/main/java/com/mozhimen/iok/scoped/helpers/ScopedCache.kt
mozhimen
809,573,370
false
{"Kotlin": 22917}
package com.mozhimen.iok.scoped.helpers import com.mozhimen.cachek.datastore.CacheKDS import com.mozhimen.cachek.datastore.helpers.CacheKDSProvider import com.mozhimen.cachek.datastore.temps.CacheKDSVarPropertyBoolean /** * @ClassName ScopedCacheHelper * @Description TODO * @Author Mozhimen / <NAME> * @Date 2023/...
0
Kotlin
0
0
3f5c9d727ea292b153ec179f50d0a899f36de86a
847
AIOKit
Apache License 2.0
plugins/kotlin/idea/tests/testData/inspectionsLocal/replaceJavaStaticMethodWithKotlinAnalog/collections/shuffleImmutableList.kt
JetBrains
2,489,216
false
null
// RUNTIME_WITH_FULL_JDK // PROBLEM: none import java.util.Collections fun test() { val mutableList = listOf(1, 2) Collections.<caret>shuffle(mutableList) }
284
null
5162
16,707
def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0
166
intellij-community
Apache License 2.0
idea/idea-completion/testData/basic/common/NestedClassesOnDefaultObjectLiteral.kt
JakeWharton
99,388,807
false
null
// FIR_IDENTICAL // FIR_COMPARISON class A { class Nested inner class Inner companion object Named { class Nested2 val c: Int = 1 object Obj2 fun foo() { } } object Obj } fun some() { A.Named.<caret> } // EXIST: Nested2 // EXIST: c // EXIST: foo // EX...
1
null
28
83
4383335168338df9bbbe2a63cb213a68d0858104
379
kotlin
Apache License 2.0
app/src/main/kotlin/io/palaima/calendar/ui/controller/base/rx/RxPresenter.kt
palaima
53,725,759
false
null
package io.palaima.calendar.ui.controller.base.rx import android.support.annotation.CallSuper import io.palaima.calendar.ui.controller.base.AbstractMvpPresenter import io.palaima.calendar.ui.controller.base.MvpView import io.palaima.calendar.ui.controller.base.rx.delivery.DeliverFirst import io.palaima.calendar.ui.con...
1
null
1
1
a1c358f733f906476c0b0a9b9c0545f85d81c5ce
2,791
EventCalendar
Apache License 2.0
app/src/main/java/com/reindeercrafts/hackernews/ArticleListController.kt
lzanita09
83,234,040
false
null
package com.reindeercrafts.hackernews import android.graphics.Rect import android.support.v4.widget.SwipeRefreshLayout import android.support.v7.widget.LinearLayoutManager import android.support.v7.widget.RecyclerView import android.text.format.DateUtils import android.view.LayoutInflater import android.view.View impo...
1
null
1
1
39d408c70d4023b4dfdddf13ef9a4e7f1b9eb568
4,690
KotlinHackerNews
MIT License
wechat/src/main/java/com/townwang/wechat/common/FileHelper.kt
Townwang
341,291,383
false
null
@file:Suppress("DEPRECATION") package com.townwang.wechat.common import android.annotation.SuppressLint import android.content.ContentUris import android.content.ContentValues import android.content.Context import android.content.Intent import android.graphics.Bitmap import android.graphics.Canvas import android.net....
1
null
2
14
613f0a3963421cfedca87087c82f209207ad702a
3,280
wechat
Apache License 2.0
compiler/testData/codegen/bytecodeListing/jvm8/defaults/allCompatibility/deprecationWithDefault.kt
nskvortsov
4,137,859
true
{"Kotlin": 54887563, "Java": 7682828, "JavaScript": 185344, "HTML": 79768, "Lex": 23805, "TypeScript": 21756, "Groovy": 11196, "Swift": 9789, "CSS": 9270, "Shell": 7220, "Batchfile": 5727, "Ruby": 2655, "Objective-C": 444, "Scala": 80, "C": 59}
// !JVM_DEFAULT_MODE: all-compatibility // JVM_TARGET: 1.8 // WITH_RUNTIME // IGNORE_BACKEND: JVM_IR // IR copies annotations to default impls interface Deprecated { @java.lang.Deprecated fun test() { } val prop: String @java.lang.Deprecated get() = "123" @java.lang.Deprecated fun with...
0
Kotlin
0
3
39d15501abb06f18026bbcabfd78ae4fbcbbe2cb
358
kotlin
Apache License 2.0
customcalendar/src/main/java/com/github/customcalendar/DateCustom.kt
SuperCaliMan
237,174,150
false
null
package com.github.customcalendar import java.util.* data class DateCustom( private var year: Int, private var month: Int, private var date: Int) : Date(year,month,date){ override fun getYear() = year override fun getDate() = date override fun getMonth() = month override fun s...
1
Kotlin
1
2
d8d90ed0a9f644bb4811b6062c9addfabd6b380d
687
CustomCalendar
Apache License 2.0
src/main/kotlin/jason/chen/mini_springboot/restful/langbasic/classes/ClassExamples.kt
EasyKotlin
92,763,000
true
{"Gradle": 2, "Shell": 6, "Batchfile": 6, "Markdown": 1, "Java Properties": 2, "Java": 3, "YAML": 1, "HTML": 4, "Text": 16, "CSS": 2, "JavaScript": 2, "Kotlin": 114}
package jason.chen.mini_springboot.restful.langbasic.classes import java.time.Year /** * Created by milosvasic on 6/8/16. */ // Simple class definition class Dummy {} // If there is no body like in previous example class NoBody class Car constructor(val brand: String) class Plane(val brand: String) class Calcul...
0
Kotlin
0
1
1235c07bf32e1c026982755c53121eac480cf091
690
mini_springboot
Apache License 2.0
app/src/main/java/me/bakumon/moneykeeper/ui/settings/other/OtherSettingsFragment.kt
JMVivue
166,140,516
false
null
/* * Copyright 2018 Bakumon. https://github.com/Bakumon * * 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 appli...
1
null
1
1
429fa3119f897997ad5632b8414ddd46140b8bea
2,610
MoneyKeeper
Apache License 2.0
plugins/github/src/org/jetbrains/plugins/github/api/data/pullrequest/GHPullRequestPendingReview.kt
hieuprogrammer
284,920,751
false
null
// Copyright 2000-2020 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 org.jetbrains.plugins.github.api.data.pullrequest import org.jetbrains.plugins.github.api.data.GHNode import org.jetbrains.plugins.github.api.data.GHNodes open class GHP...
191
null
4372
2
dc846ecb926c9d9589c1ed8a40fdb20e47874db9
534
intellij-community
Apache License 2.0
platform/testFramework/src/com/intellij/testFramework/ktAsserts.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.testFramework inline fun <reified T> assertInstanceOf(o: Any?): T = UsefulTestCase.assertInstanceOf(o, T::class.java) inline fun <reified ...
191
null
4372
13,319
4d19d247824d8005662f7bd0c03f88ae81d5364b
394
intellij-community
Apache License 2.0
bbfgradle/tmp/results/diffCompile/gnwzyhb.kt
DaniilStepanov
346,008,310
false
null
// Different compile happens on:JVM ,JVM -Xnew-inference fun box() { when (Any()) { 1.1.foo() == false?.equals(TODO()) ?: false -> {} } } fun Double.foo(): Double = TODO()
1
null
1
1
e772ef1f8f951873ebe7d8f6d73cf19aead480fa
175
kotlinWithFuzzer
Apache License 2.0
src/vn/ductt/verk/statement/Condition.kt
bynoud
206,809,828
false
null
package vn.ductt.verk.statement import vn.ductt.verk.helper.Loggable class Condition: Statementer, Loggable { override val LOG = logger() }
1
null
1
1
c110a8d300510ddc402d488616f9fe5feddb62e6
147
verk
MIT License
common/src/commonMain/kotlin/com/artemchep/keyguard/common/model/ToastMessage.kt
AChep
669,697,660
false
{"Kotlin": 5520006, "HTML": 46598}
package com.artemchep.keyguard.common.model import kotlin.uuid.Uuid data class ToastMessage( val id: String = Uuid.random().toString(), val type: Type? = null, val title: String, val text: String? = null, ) { enum class Type { INFO, ERROR, SUCCESS, } }
86
Kotlin
38
1,188
57e99557f655241e525b828f734625d7b497d049
303
keyguard-app
Linux Kernel Variant of OpenIB.org license
deob-util/src/main/kotlin/org/openrs2/deob/util/DeobfuscatorUtilModule.kt
openrs2
315,027,372
false
null
package org.openrs2.deob.util import com.google.inject.AbstractModule import com.google.inject.Scopes import org.openrs2.asm.AsmModule import org.openrs2.deob.util.map.NameMap import org.openrs2.deob.util.map.NameMapProvider public object DeobfuscatorUtilModule : AbstractModule() { override fun configure() { ...
0
Kotlin
2
8
12eba96055ba13e8a8e3ec0ad3be7d93b3dd5b1b
475
openrs2
ISC License
app/src/main/java/com/example/dictionary/data/local/entity/WordInfoEntity.kt
EEseka
848,970,107
false
{"Kotlin": 149996}
package com.example.dictionary.data.local.entity import androidx.room.Entity import androidx.room.PrimaryKey @Entity data class WordInfoEntity( @PrimaryKey val wordId: String, val word: String, val text: String, val audio: String )
1
Kotlin
0
0
c9121edadf099283ec7b3daf8bdbead24171f169
250
English-Dictionary-
MIT License
android/app/src/main/java/ar/edu/utn/frba/mobile/plantscare/services/MyPlantService.kt
UTN-FRBA-Mobile
697,566,035
false
{"Kotlin": 128033, "TypeScript": 41976, "JavaScript": 1084, "Dockerfile": 724}
package ar.edu.utn.frba.mobile.plantscare.services import android.util.Log import ar.edu.utn.frba.mobile.plantscare.model.PlantInfo import ar.edu.utn.frba.mobile.plantscare.model.SimplePlantInfo import okhttp3.MultipartBody import retrofit2.http.Body import retrofit2.http.GET import retrofit2.http.Multipart import ret...
0
Kotlin
0
0
762f46da002ef5934dcafa19211da3adbe2726ba
987
PlantsCare
MIT License
android/src/main/java/com/reactnativetheoremreach/TheoremreachPackage.kt
WeWard-SAS
284,941,230
false
{"Java": 6308, "Objective-C": 6031, "Ruby": 4226, "Kotlin": 3618, "JavaScript": 1419, "TypeScript": 1007, "C": 103, "Swift": 64}
package com.reactnativetheoremreach import java.util.Arrays import java.util.Collections import com.facebook.react.ReactPackage import com.facebook.react.bridge.NativeModule import com.facebook.react.bridge.ReactApplicationContext import com.facebook.react.uimanager.ViewManager import com.facebook.react.bridge.JavaSc...
1
null
1
1
35ee5fe447fde90ab7381edc53e63258d4617018
728
react-native-theoremreach
MIT License
src/main/kotlin/I18NFileIndex.kt
slak44
340,980,495
false
{"Kotlin": 15127, "Lex": 599}
import com.intellij.json.JsonFileType import com.intellij.json.psi.JsonObject import com.intellij.json.psi.JsonProperty import com.intellij.json.psi.JsonStringLiteral import com.intellij.openapi.project.Project import com.intellij.psi.search.GlobalSearchScope import com.intellij.util.indexing.* import com.intellij.util...
0
Kotlin
0
8
91bcc43c5530f8dcc33b4335e1321e9b263cae8f
2,862
intellij-ngx-translate-support
MIT License
shared/src/commonMain/kotlin/com/example/shopkmm01/presentation/MainView.kt
razaghimahdi
627,604,651
false
{"Kotlin": 79487, "Swift": 516, "Ruby": 101}
package com.example.shopkmm01.presentation import androidx.compose.runtime.Composable import androidx.compose.runtime.mutableStateOf import androidx.compose.runtime.remember import app.cash.sqldelight.db.SqlDriver import com.example.shopkmm01.presentation.screen.details.DetailScreen import com.example.shopkmm01.presen...
0
Kotlin
0
6
4a55f7c443a6a2cae7a18c1d7c7d295f310b7d89
1,579
ShopKmp01
Apache License 2.0
app/src/main/java/pl/polsl/workflow/manager/client/ui/manager/ManagerActivity.kt
SzymonGajdzica
306,075,061
false
null
package pl.polsl.workflow.manager.client.ui.manager import android.os.Bundle import androidx.navigation.findNavController import androidx.navigation.ui.AppBarConfiguration import androidx.navigation.ui.setupActionBarWithNavController import androidx.navigation.ui.setupWithNavController import com.google.android.materi...
0
Kotlin
0
0
93c99cc67c7af0bc55ca8fb03f077cdd363cb7e8
1,284
workflow-manager-client
MIT License
src/main/kotlin/us/timinc/mc/cobblemon/counter/command/KoStreakCommand.kt
timinc-cobble
710,693,076
false
{"Kotlin": 27709}
package us.timinc.mc.cobblemon.counter.command import com.mojang.brigadier.context.CommandContext import net.minecraft.commands.CommandSourceStack import net.minecraft.commands.arguments.EntityArgument import net.minecraft.network.chat.Component import net.minecraft.world.entity.player.Player import us.timinc.mc.cobbl...
5
Kotlin
0
0
3937bad20632f1a5084e86db6790c927df6572ee
1,122
cobblemon-counter-1.3-fabric
MIT License
SixKeeper/app/src/main/java/com/example/sixkeeper/SavedPasswordListAdapter.kt
rynrsts
389,328,372
false
null
package com.example.sixkeeper import android.annotation.SuppressLint import android.app.Activity import android.view.View import android.view.ViewGroup import android.widget.* class SavedPasswordListAdapter( private val context: Activity, id: ArrayList<String>, private val password: ArrayList<...
0
Kotlin
1
2
85878f57b99b89bd7a11ab5d3cf8c7ac0c37ba15
2,517
6Keeper
MIT License
app/src/main/java/com/samourai/sentinel/data/PubKeyModel.kt
wanderingking072
851,747,619
false
{"Kotlin": 678939, "Java": 428427}
package com.samourai.sentinel.data import android.os.Parcelable import kotlinx.android.parcel.Parcelize @Parcelize data class PubKeyModel( val pubKey: String, var label: String, var type: AddressTypes?, var balance: Long = 0L, var change_index: Int = 0, var account_index: Int = 0, var fing...
0
Kotlin
0
1
00bd0896f8e4b99c91d7dc9bc90d92d95ff6d76e
680
sentinel-android
The Unlicense
app/src/main/java/com/dokeraj/androtainer/models/retrofit/Jwt.kt
dokeraj
324,412,553
false
null
package com.dokeraj.androtainer.models.retrofit data class Jwt( val jwt: String )
9
Kotlin
6
85
7350584ed0ec37903dfc944fad1fb480adc42446
86
AndroTainer
The Unlicense
app/src/main/java/es/sdos/library/androidextensions/MainActivity.kt
SDOSLabs
290,495,425
false
{"Kotlin": 20292}
package es.sdos.library.androidextensions import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import kotlinx.android.synthetic.main.activity_main.* class MainActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) ...
0
Kotlin
0
0
24c11aeec8e97d987762d1eab4f9f4824e6e8f89
513
SDOSAndroidExtensions
Apache License 2.0
app/src/main/java/com/revolgenx/anilib/airing/presenter/AiringPresenter.kt
AniLibApp
244,410,204
false
{"Kotlin": 1593083, "Shell": 52}
package com.revolgenx.anilib.airing.presenter import android.content.Context import android.graphics.drawable.GradientDrawable import android.view.LayoutInflater import android.view.ViewGroup import androidx.viewbinding.ViewBinding import com.otaliastudios.elements.Element import com.otaliastudios.elements.Page import...
36
Kotlin
3
76
b3caec5c00779c878e4cf22fb7d2034aefbeee54
3,349
AniLib
Apache License 2.0
src/main/kotlin/dev/vstrs/di/helpers.kt
evestera
558,418,259
false
{"Kotlin": 30394}
package dev.vstrs.di /** * Convenience function for building a context in the simple case. * * Alias for `DependencyResolutionContext.Builder().add(sources).build()` * * Example: * * ```kt * val context = resolveDependencies( * CheeseRepository::class, * CheeseService::class, * App::class * ) ...
0
Kotlin
0
0
4b506b939648c4f6bf1cd0b192c69469cebf171f
1,042
kotlin-dependency-injection
MIT License
app/src/main/java/com/example/simpletextsaver/db/Note.kt
bardiau3fi
717,144,465
false
{"Kotlin": 24813}
package com.example.simpletextsaver.db import android.os.Parcelable import androidx.room.Entity import androidx.room.PrimaryKey import kotlinx.parcelize.Parcelize @Entity(tableName = "note_table") data class Note( @PrimaryKey(autoGenerate = true) val id: Int = 0, val title: String, val text: String )
0
Kotlin
0
0
f1a24d700688b2995ba1f7c7e06dec8e0f7abe83
315
SimpleTextSaver
MIT License
app/src/main/java/com/example/neocafe/viewModel/GetQuestionsViewModel.kt
rybakova-auca-2021
726,707,145
false
{"Kotlin": 267266}
package com.example.neocafe.viewModel import androidx.lifecycle.ViewModel import com.example.neocafe.api.RetrofitInstance import com.example.neocafe.model.ProductCategory import retrofit2.Call import retrofit2.Callback import retrofit2.Response class GetCategoriesViewModel : ViewModel() { private val apiInterface...
0
Kotlin
0
0
ca4221ce008ed1ce521e7dae6d51cdf4880d1be3
1,323
NeoCafe_Neobook
MIT License
src/main/kotlin/org/hexworks/cavesofzircon/EntityTypes.kt
jcerise
197,325,170
false
null
package org.hexworks.cavesofzircon import org.hexworks.amethyst.api.base.BaseEntityType object Player : BaseEntityType( name = "player" )
0
Kotlin
0
1
a09da2435758eb9e240e57d86e5e31589a8135f5
147
kotlin-roguelike
Apache License 2.0
app/src/main/java/com/kawal/mvvm/data/repository/PostRepository.kt
abdulsalam01
409,858,978
false
{"Kotlin": 38022}
package com.kawal.mvvm.data.repository import com.kawal.mvvm.data.database.PostDao import com.kawal.mvvm.data.network.PostApi import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.withContext import timber.log.Timber class PostRepository(private val postDao: PostDao, private val postApi: PostApi) { fun...
0
Kotlin
0
0
77d1469f90287ce3e0fe967cf1e825e7f58a2041
665
kawal-mvvm-app
MIT License
examples/src/main/kotlin/net/devrieze/serialization/examples/dynamictagnames/ContainerSerializer.kt
pdvrieze
143,553,364
false
{"Kotlin": 3481762}
/* * Copyright (c) 2020. * * This file is part of xmlutil. * * This file is licenced to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You should have received a copy of the license with the source distribution. * Alternatively, y...
35
Kotlin
31
378
c4053519a8b6c90af9e1683a5fe0e9e2b2c0db79
8,240
xmlutil
Apache License 2.0
app/src/main/kotlin/dev/sebastiano/customthemeplayground/ui/theme/MyIndication.kt
rock3r
492,300,251
false
{"Kotlin": 57628}
package dev.sebastiano.customthemeplayground.ui.theme import androidx.compose.foundation.Indication import androidx.compose.foundation.IndicationInstance import androidx.compose.foundation.interaction.InteractionSource import androidx.compose.foundation.interaction.collectIsPressedAsState import androidx.compose.found...
0
Kotlin
0
4
8fb617920ad64bc8c2115d7ff994b2efc52a53ab
2,753
custom-theme-playground
Apache License 2.0
2020/06/week3/jjeda/Top.kt
Road-of-CODEr
270,008,701
false
null
class Solution { fun solution(heights: IntArray): IntArray { val list = mutableListOf<Top>() val topHeights = IntArray(heights.size + 1) list.add(Top.of(index = 1, targetIndex = 0)) topHeights[0] = 101 heights.withIndex().forEach { (index, height) -> topHeights[index + 1] = height } ...
3
null
12
37
1c603bc40359aeb674da9956129887e6f7c8c30a
839
stupid-week
MIT License
fmi-export/src/main/kotlin/no/ntnu/ihb/fmi4j/export/Vector.kt
jfulem
216,089,626
true
{"Java": 352660, "Kotlin": 299286, "C++": 122403, "C": 62272}
package no.ntnu.ihb.fmi4j.export interface IntVector { val size: Int operator fun get(index: Int): Int operator fun set(index: Int, value: Int) } interface RealVector { val size: Int operator fun get(index: Int): Double operator fun set(index: Int, value: Double) }
0
Java
0
0
1a0644bae02d6abb7a6aebc04c553879d1e4567f
301
FMI4j
MIT License
src/main/java/siosio/doma/inspection/dao/DeleteMethodRule.kt
siosio
26,792,004
false
null
package siosio.doma.inspection.dao val deleteMethodRule = rule { sql(false) // 引数チェック parameterRule(parameterTypeCheck) returnRule(updateMethodWithImmutableEntityReturnRule) }
1
Kotlin
5
31
11e6751b8b1c3a4b1edca8642ba5b8d0558139c1
219
DomaSupport
MIT License
src/org/jetbrains/r/psi/RPsiUtil.kt
JetBrains
214,212,060
false
null
/* * Copyright 2000-2019 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 org.jetbrains.r.psi import com.google.common.collect.Lists import com.intellij.lang.ASTNode import com.intellij.psi.* import com.intellij.psi.tree.TokenSet import...
2
null
12
62
d4d5cf9c09804454f811df7de0c02506d6ef12d3
9,276
Rplugin
Apache License 2.0
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/elasticloadbalancingv2/HttpRequestMethodConfigPropertyDsl.kt
F43nd1r
643,016,506
false
null
package com.faendir.awscdkkt.generated.services.elasticloadbalancingv2 import com.faendir.awscdkkt.AwsCdkDsl import javax.`annotation`.Generated import kotlin.Unit import software.amazon.awscdk.services.elasticloadbalancingv2.CfnListenerRule @Generated public fun buildHttpRequestMethodConfigProperty(initializer: @Aws...
1
Kotlin
0
0
a1cf8fbfdfef9550b3936de2f864543edb76348b
543
aws-cdk-kt
Apache License 2.0
logsmanager-base/src/main/java/com/jacekmarchwicki/logsmanager/LogsManager.kt
jacek-marchwicki
171,447,659
false
null
/* * Copyright (C) 2019 <NAME> <<EMAIL>> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
0
Kotlin
0
4
ba609357064d474100319db49b1068206f8340fa
3,434
logs-manager
Apache License 2.0
android/src/main/kotlin/com/tomasznajda/ktx/android/ToastExt.kt
tomasznajda
148,339,649
false
null
package com.tomasznajda.ktx.android import android.content.Context import android.support.annotation.StringRes import android.widget.Toast fun Context.toast(message: String, duration: Int = Toast.LENGTH_SHORT) = Toast.makeText(this, message, duration).show() fun Context.toast(@StringRes messageId: Int, durat...
0
Kotlin
4
22
5efbd11492dbcc634c34990d8dcb90e9fd07ce17
409
useful-ktx
Apache License 2.0
boxicons/src/commonMain/kotlin/com/woowla/compose/icon/collections/boxicons/boxicons/solid/BxsCircleQuarter.kt
walter-juan
868,046,028
false
{"Kotlin": 34345428}
package com.woowla.compose.icon.collections.boxicons.boxicons.solid 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.graphic...
0
Kotlin
0
3
eca6c73337093fbbfbb88546a88d4546482cfffc
1,641
compose-icon-collections
MIT License
shared/utils/src/iosMain/kotlin/com.jdamcd.runlog.shared.util/FormatActual.kt
jdamcd
308,253,514
false
null
package com.jdamcd.runlog.shared.util import platform.Foundation.NSDateFormatter import platform.Foundation.NSISO8601DateFormatter import platform.Foundation.NSLocale import platform.Foundation.NSNumber import platform.Foundation.NSNumberFormatter import platform.Foundation.NSString import platform.Foundation.NSTimeZo...
0
Kotlin
1
26
0d316a047ea707dc7af14af2c74a3a81b65d57b6
1,214
runlog-kmm
Apache License 2.0
shared/utils/src/iosMain/kotlin/com.jdamcd.runlog.shared.util/FormatActual.kt
jdamcd
308,253,514
false
null
package com.jdamcd.runlog.shared.util import platform.Foundation.NSDateFormatter import platform.Foundation.NSISO8601DateFormatter import platform.Foundation.NSLocale import platform.Foundation.NSNumber import platform.Foundation.NSNumberFormatter import platform.Foundation.NSString import platform.Foundation.NSTimeZo...
0
Kotlin
1
26
0d316a047ea707dc7af14af2c74a3a81b65d57b6
1,214
runlog-kmm
Apache License 2.0
ambassador-gitlab-client/src/main/kotlin/com/roche/gitlab/api/model/AccessLevelName.kt
filipowm
409,076,487
false
null
@file:Suppress("Reformat", "Reformat", "Reformat") package com.roche.gitlab.api.model import java.util.* enum class AccessLevelName(val value: Int) { INVALID(-1), NONE(0), MINIMAL_ACCESS(5), GUEST(10), REPORTER(20), DEVELOPER(30), @Deprecated("deprecated") MASTER(40), MAINTAINER(...
22
Kotlin
0
9
87b3db67dea1a19df1011337babb42b068d21171
576
the-ambassador
Apache License 2.0
ComposeViews/src/commonMain/kotlin/com/lt/compose_views/text_field/HintComposeWithTextField.kt
ltttttttttttt
370,338,027
false
null
/* * Copyright lt 2023 * * 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...
3
Kotlin
11
93
fe826432521dfdd3a06e814ef118e9bdc9608f91
1,619
ComposeViews
Apache License 2.0
features/searchproducts/src/main/java/co/com/mercadolibre_test/searchproducts/di/modules/SearchProductsRepositoryModule.kt
CarlosQuezadaP
672,701,916
false
null
package co.com.mercadolibre_test.searchproducts.di.modules import co.com.mercadolibre_test.core.domain.error.ErrorHandler import co.com.mercadolibre_test.searchproducts.data.repositories.AutosuggestionsRepositoryImpl import co.com.mercadolibre_test.searchproducts.data.repositories.ProductDetailsRepositoryImpl import c...
1
Kotlin
0
0
8327fb48d1efc555ec7e76b409b8a191379e1e60
1,741
meliTest
Apache License 2.0
app/src/main/java/com/hongwei/coroutines_demo/base/view/BaseActivity.kt
hongwei-bai
345,956,226
false
null
package com.hongwei.coroutines_demo.base.view import androidx.appcompat.app.AppCompatActivity abstract class BaseActivity : AppCompatActivity(), BaseView
0
Kotlin
0
0
0cc9dd65a6a69dfd653ed1b2a36a87ba798ac00f
155
coroutines-demo
Apache License 2.0
shared/src/androidMain/kotlin/com/hoc081098/github_search_kmm/data/DaggerCacheGithubLanguageColorApiDecorator.kt
hoc081098
512,522,703
false
null
package com.hoc081098.github_search_kmm.data import com.hoc081098.github_search_kmm.data.remote.CacheGithubLanguageColorApiDecorator import com.hoc081098.github_search_kmm.data.remote.DaggerKtorGithubLanguageColorApi import javax.inject.Inject internal class DaggerCacheGithubLanguageColorApiDecorator @Inject construc...
5
null
19
83
b88612a488df36fc866332ef85cd2d978413c22b
423
GithubSearchKMM
MIT License
app/src/main/java/mustafaozhan/github/com/cosmeticscan/base/model/Ingredient.kt
mustafaozhan
96,646,177
false
null
package mustafaozhan.github.com.cosmeticscan.base.model import android.arch.persistence.room.ColumnInfo import android.arch.persistence.room.Entity import android.arch.persistence.room.PrimaryKey import java.io.Serializable /** * Created by Mustafa Ozhan on 2018-07-31. */ @Entity(tableName = "ingredient") data cla...
0
Kotlin
4
32
a3f24ff26d0bf5f1e45b6a0b5f90f692bda2a13b
643
CosmeticScan
Apache License 2.0
app/src/main/java/com/raul/macias/wikiheroes/view/adapter/CharactersAdapter.kt
xR4ULx
313,670,556
false
{"Gradle": 3, "Java Properties": 4, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Git Attributes": 1, "Markdown": 1, "INI": 7, "Proguard": 1, "Kotlin": 119, "XML": 222, "Java": 5}
package com.raul.macias.wikiheroes.view.adapter import android.view.View import com.raul.macias.wikiheroes.R import com.raul.macias.wikiheroes.models.Character import com.raul.macias.wikiheroes.view.viewholder.BaseViewHolder import com.raul.macias.wikiheroes.view.viewholder.CharacterViewHolder class CharactersAdapter...
1
null
1
1
d76d4736780b156d2b8133e794cca2de6b408f28
834
kotlin_api_marvel
MIT License
buildSrc/src/main/kotlin/GitValueSources.kt
oss-review-toolkit
107,540,288
false
null
/* * Copyright (C) 2023 The ORT Project Authors (see <https://github.com/oss-review-toolkit/ort/blob/main/NOTICE>) * * 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.a...
330
null
309
1,590
ed4bccf37bab0620cc47dbfb6bfea8542164725a
2,000
ort
Apache License 2.0
buildSrc/src/main/kotlin/GitValueSources.kt
oss-review-toolkit
107,540,288
false
null
/* * Copyright (C) 2023 The ORT Project Authors (see <https://github.com/oss-review-toolkit/ort/blob/main/NOTICE>) * * 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.a...
330
null
309
1,590
ed4bccf37bab0620cc47dbfb6bfea8542164725a
2,000
ort
Apache License 2.0
kotlin-node/src/jsMain/generated/node/dns/resolveTxt.suspend.kt
JetBrains
93,250,841
false
null
// Generated by Karakum - do not modify it manually! package node.dns suspend fun resolveTxt(hostname: String): js.array.ReadonlyArray<js.array.ReadonlyArray<String>> = resolveTxtAsync( hostname ).await()
40
null
165
1,347
997ed3902482883db4a9657585426f6ca167d556
224
kotlin-wrappers
Apache License 2.0
_7Function/src/main/kotlin/practice/80 Has Teen.kt
Meus-Livros-Lidos
690,208,771
false
{"Kotlin": 166470}
package practice /** * We'll say that a number is "teen" if it is in the range 13..19 inclusive. * Given 3 int values, return true if 1 or more of them are teen. */ fun main() { println("Enter number 1:") val inputAge1 = readlnOrNull()?.toIntOrNull() ?: 0 println("Enter number 2:") val inputAge2 = ...
0
Kotlin
0
1
2d05e5528b9dd2cf9ed8799bce47444246be6b42
988
LearnCsOnline-Kotlin
MIT License
src/main/kotlin/com/igorini/togepibot/commands/general/duel/top/TopKills.kt
igorini
123,990,696
false
null
package com.igorini.togepibot.commands.general.duel.top import com.igorini.togepibot.model.Duelist import me.philippheuer.twitch4j.message.commands.CommandPermission /** Represents a command for showing duelists with the highest amount of kills */ class TopKills : Top() { init { command = "убийства" ...
0
Kotlin
0
0
80de398881b5999dfd107b12c9a279915788306b
832
togepi-bot
Apache License 2.0
app/src/main/java/com/rviannaoliveira/marvelapp/model/MarvelComicList.kt
jjfernandes87
113,676,412
true
{"Kotlin": 125700, "Java": 8037}
package com.rviannaoliveira.marvelapp.model import com.google.gson.annotations.SerializedName /** * Criado por rcalixto on 20/04/2017. */ class MarvelComicList : BaseModelMarvelList(){ @SerializedName("items") val items : ArrayList<MarvelComicSummary>? = null }
0
Kotlin
0
0
3bac5a5f86e8501233170232b55ebdea491e0feb
273
MarvelApp
Apache License 2.0
app/src/main/java/de/traendy/spaceshooter/hud/HitPointsHud.kt
traendy
278,925,651
false
null
package de.traendy.spaceshooter.hud import android.graphics.Canvas import android.graphics.Color import android.graphics.Paint import android.graphics.RectF import de.traendy.spaceshooter.player.Invulnerability class HitPointsHud( private val size: Float, private val distance: Float ) { private var scree...
0
Kotlin
0
0
88945313f5f4398a19558e73ad2ccb94bc3b36ff
1,897
squaredspace
The Unlicense
app/src/main/java/com/progdeelite/dca/util/Utils.kt
rosianeclemente
436,021,217
true
{"Kotlin": 157759}
package com.progdeelite.dca.util import android.os.Build // Singleton in Kotlin - PERGUNTA FREQUENTE DE RECRUTADORES object EmulatorDetector { private const val EMULATOR_BUILD_PROPERTY = "generic" // podemos acessar direto o metodo como se fosse "static" em Java fun isEmulator(): Boolean = Build.FINGERP...
0
null
0
1
ddac87d8a158f4a8216c584ba59af2b945500a17
361
desafios_comuns_android
Apache License 2.0
app/src/main/java/io/github/kabirnayeem99/islamqaorg/ui/home/HomeViewModel.kt
kabirnayeem99
498,693,865
false
{"Kotlin": 185069, "Gradle": 7552}
package io.github.kabirnayeem99.islamqaorg.ui.home import androidx.compose.runtime.getValue import androidx.compose.runtime.mutableStateOf import androidx.compose.runtime.setValue import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import dagger.hilt.android.lifecycle.HiltViewModel import io.g...
5
Kotlin
0
6
9dce7972b71ec87bd41e60ea2ba7d22b362f5b24
5,007
islam_qa_org_android
MIT License
bukkit/rpk-chat-bukkit/src/main/kotlin/com/rpkit/chat/bukkit/irc/command/IRCVerifyCommand.kt
Nyrheim
269,929,653
true
{"Kotlin": 2944589, "Java": 1237516, "HTML": 94789, "JavaScript": 640, "CSS": 607}
/* * Copyright 2016 <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
f2196a76e0822b2c60e4a551de317ed717bbdc7e
1,584
RPKit
Apache License 2.0
bukkit/rpk-chat-bukkit/src/main/kotlin/com/rpkit/chat/bukkit/irc/command/IRCVerifyCommand.kt
Nyrheim
269,929,653
true
{"Kotlin": 2944589, "Java": 1237516, "HTML": 94789, "JavaScript": 640, "CSS": 607}
/* * Copyright 2016 Ross Binden * * 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 ...
0
null
0
0
f2196a76e0822b2c60e4a551de317ed717bbdc7e
1,589
RPKit
Apache License 2.0
src/main/kotlin/pl/exbook/exbook/listing/adapter/rest/ListingEndpoint.kt
Ejden
339,380,956
false
null
package pl.exbook.exbook.listing.adapter.rest import org.springframework.data.domain.Page import org.springframework.web.bind.annotation.* import pl.exbook.exbook.shared.Money import pl.exbook.exbook.listing.ListingFacade import pl.exbook.exbook.listing.domain.DetailedOffer import pl.exbook.exbook.shared.ContentType i...
3
Kotlin
0
1
4246ef348a5c42dea97f812675da9bbd77c910e9
3,271
exbook-backend
The Unlicense
tests/codegen/waiter-tests/src/test/kotlin/com/test/StringEqualsTest.kt
awslabs
294,823,838
false
null
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ package com.test import aws.smithy.kotlin.runtime.retries.Outcome import aws.smithy.kotlin.runtime.retries.getOrThrow import com.test.model.EntityLists import com.test.model.Enum import com.test.model.Ge...
29
Kotlin
17
29
c1d88cb66ea4960bf12e97d4d590ec0c00255d62
2,584
smithy-kotlin
Apache License 2.0
app/src/main/java/com/example/prioritylist/data/Storage.kt
Dzem-z
628,039,614
false
null
package com.example.prioritylist.data /* TODO(comments) */ class Storage<TaskType: Task>() { private val listOfActions: MutableList<Action<TaskType>> = mutableListOf<Action<TaskType>>() fun pop(): Action<TaskType> { TODO("Not yet implemented") } fun push(action: Action<TaskType>) { T...
0
Kotlin
0
0
027faec8e9bcdc9649209265c5d20c3538357f45
783
Android-priority-list-app
MIT License
app/src/main/java/com/kluivert/kwota/data/repository/DataRepository.kt
edkluivert
292,070,934
false
null
package com.kluivert.kwota.data.repository import com.kluivert.kwota.data.model.QuoteModel import com.kluivert.kwota.data.network.api.QuoteApi import retrofit2.Response import javax.inject.Inject class DataRepository @Inject constructor( private val quoteApi: QuoteApi ){ suspend fun getQuotes() : List<QuoteM...
1
null
1
2
13235a396e37b166ab71ac9030e1ee182efdb71c
370
Kwota
MIT License
app/src/main/java/com/nominalista/expenses/home/presentation/HomeFragment.kt
yesidlazaro
199,455,882
false
null
package com.nominalista.expenses.home.presentation import android.os.Bundle import android.util.Log import android.view.* import android.widget.Button import android.widget.ProgressBar import androidx.appcompat.app.AlertDialog import androidx.appcompat.app.AppCompatActivity import androidx.core.view.isVisible import a...
0
null
0
1
8e43cf30a5bb2b64013a368e895fb73570388659
5,318
expenses
Apache License 2.0
src/main/kotlin/org/jetbrains/kotlinx/jupyter/codegen/ThrowableRenderersProcessorImpl.kt
Kotlin
63,066,291
false
{"Kotlin": 864116, "JavaScript": 40044, "CSS": 16243, "Python": 14915, "Jupyter Notebook": 1290, "Shell": 74}
package org.jetbrains.kotlinx.jupyter.codegen import org.jetbrains.kotlinx.jupyter.api.ThrowableRenderer import org.jetbrains.kotlinx.jupyter.exceptions.LibraryProblemPart import org.jetbrains.kotlinx.jupyter.exceptions.ReplLibraryException import org.jetbrains.kotlinx.jupyter.exceptions.rethrowAsLibraryException cla...
79
Kotlin
108
984
94794065fd0a616b757a8cabf4574bb63344facb
1,131
kotlin-jupyter
Apache License 2.0
redis-lettuce/src/test/kotlin/io/qalipsis/plugins/redis/lettuce/save/LettuceSaveStepSpecificationImplTest.kt
qalipsis
428,401,949
false
{"Kotlin": 362027}
/* * Copyright 2022 AERIS IT Solutions GmbH * * 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 ag...
0
Kotlin
0
0
256dbae97134414d499960b1bedd8ffff93741ed
6,271
qalipsis-plugin-redis-lettuce
Apache License 2.0
Firebase_android/app/src/main/java/allanksr/com/firebase/realtimeDatabase/DatabaseRepository.kt
Allanksr
312,747,617
false
null
package allanksr.com.firebase.realtimeDatabase import android.util.Log import com.google.firebase.database.FirebaseDatabase class DatabaseRepository(private var databaseView: DatabaseView) { fun firebaseDatabaseInstance(): FirebaseDatabase { return FirebaseDatabase.getInstance() } fun setDat...
0
Kotlin
0
0
69c12649a2531c3fa728cbbbe2a8cacb1fea9756
2,086
FirebaseApi
MIT License
utgang-pdl/src/main/kotlin/no/nav/paw/arbeidssoekerregisteret/utgang/pdl/ApplicationConfiguration.kt
navikt
771,406,758
false
{"Kotlin": 60674, "Dockerfile": 143}
package no.nav.paw.arbeidssoekerregisteret.utgang.pdl const val APPLICATION_CONFIG_FILE = "application_config.toml" data class ApplicationConfiguration( val applicationIdSuffix: String, val periodeTopic: String, val hendelseloggTopic: String, val hendelseStateStoreName: String, )
0
Kotlin
0
1
04ec51f7670b981c2ec3f2f0cf187e6eb6cbcd0e
297
paw-arbeidssoekerregisteret-utgang
MIT License