path
stringlengths
4
280
owner
stringlengths
2
39
repo_id
int64
21.1k
879M
is_fork
bool
2 classes
languages_distribution
stringlengths
13
1.95k
⌀
content
stringlengths
7
482k
issues
int64
0
13.9k
main_language
stringclasses
121 values
forks
stringlengths
1
5
stars
int64
0
111k
commit_sha
stringlengths
40
40
size
int64
7
482k
name
stringlengths
1
100
license
stringclasses
93 values
core/network/src/main/java/com/tmdb/core/network/RestTMDBService.kt
ductam1987
670,563,569
false
null
package com.tmdb.core.network import com.skydoves.sandwich.ApiResponse import com.tmdb.core.model.Categories import com.tmdb.core.model.Credits import com.tmdb.core.model.MovieDetail import com.tmdb.core.model.Movies import com.tmdb.core.model.Reviews import com.tmdb.core.model.Videos import retrofit2.http.GET import ...
0
Kotlin
0
7
2943cc49cd2e7de2a9b12c9def36f3f0606d8924
2,178
TMDB-Compose-Koin-UDF
Apache License 2.0
src/main/kotlin/com/ivieleague/dejanko/orm/Settings.kt
UnknownJoe796
340,833,944
false
null
package com.ivieleague.dejanko.orm import com.github.jasync.sql.db.SuspendingConnection object Settings { lateinit var defaultDb: SuspendingConnection }
0
Kotlin
0
0
831febf88f9def35107cf8379fd88c16e677a72d
158
dejanko
MIT License
educational-core/testSrc/com/jetbrains/edu/learning/stepik/hyperskill/HyperskillHttpErrorsTest.kt
JetBrains
43,696,115
false
null
package com.jetbrains.edu.learning.stepik.hyperskill import com.jetbrains.edu.learning.EduTestCase import com.jetbrains.edu.learning.Err import com.jetbrains.edu.learning.messages.EduCoreBundle import com.jetbrains.edu.learning.stepik.api.Submission import com.jetbrains.edu.learning.stepik.hyperskill.api.HyperskillCon...
7
null
49
99
cfc24fe13318de446b8adf6e05d1a7c15d9511b5
1,464
educational-plugin
Apache License 2.0
src/main/kotlin/pl/pwr/nbaproject/model/db/Constraints.kt
gerardburgues
356,198,638
false
{"Kotlin": 52129, "PLpgSQL": 10904, "PowerShell": 401}
package pl.pwr.nbaproject.model.db const val AVERAGES_TABLE = "averages" const val ETL_STATUS_TABLE = "etl_status" const val GAMES_TABLE = "games" const val PLAYERS_TABLE = "players" const val STATS_TABLE = "stats" const val TEAMS_TABLE = "teams"
0
Kotlin
0
0
7698972e41128635fb1fe249381f907b8ae72af3
248
NBA-DATASCIENCE
MIT License
src/main/kotlin/imgui/imgui/widgets comboBox.kt
pakoito
158,626,298
false
null
package imgui.imgui import glm_.func.common.max import glm_.vec2.Vec2 import imgui.* import imgui.ImGui.begin import imgui.ImGui.buttonBehavior import imgui.ImGui.calcItemWidth import imgui.ImGui.calcTextSize import imgui.ImGui.currentWindow import imgui.ImGui.endPopup import imgui.ImGui.findWindowByName import imgui....
1
null
1
1
b293c66d36edaece7f2c0f54e21ae4c569cbc304
9,603
imgui
MIT License
main/java/gameRPG/src/org/RPG/www/game/story/StoryLineParser.kt
dragoues
344,530,130
false
null
package com.example.myapplicationgamekt.src.org.academiadecodigo.www.game.story class StoryLineParser { var line: Array<String>? = null private set /** * Splits a String * @param text String type */ fun split(text: String) { line = text.split("\n").toTypedArray() } ...
0
Kotlin
0
0
af4677748e15713e38c037eb6e80e9985dbdad8e
526
game_app_KT
Apache License 2.0
src/main/kotlin/org/simple/bppassportgen/renderable/qrcode/QrCodeRenderable.kt
simpledotorg
180,151,017
false
null
package org.simple.bppassportgen.renderable.qrcode import org.apache.pdfbox.pdmodel.PDPage import org.simple.bppassportgen.ColorProvider import org.simple.bppassportgen.OpenedDocument import org.simple.bppassportgen.PdfUtil import org.simple.bppassportgen.qrcodegen.QrCodeGenerator import org.simple.bppassportgen.rende...
1
Kotlin
0
2
fea294f1465fe4e2a42a815c708bb896f952d9ed
1,108
bppassportgen
MIT License
calls/src/main/java/me/banes/chris/tivi/trakt/calls/TrendingCall.kt
sangtrants25
133,832,452
true
{"Kotlin": 344492, "Java": 748, "Shell": 387}
/* * Copyright 2017 Google, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
0
Kotlin
0
0
eeb3b6f8be6d7ae06c55bd6944723a5e9893e41e
2,533
tivi
Apache License 2.0
poolakey/src/main/java/ir/cafebazaar/poolakey/billing/FunctionRequest.kt
cafebazaar
211,394,072
false
{"Kotlin": 124368, "AIDL": 1674}
package ir.cafebazaar.poolakey.billing internal interface FunctionRequest
8
Kotlin
21
68
f50e3992e94503062f9e74d6a07d8377b465be27
74
Poolakey
Apache License 2.0
src/main/kotlin/com/ctseducare/kotlin/k06_repetition_structures/NumerosDivisiveisPorTres.kt
erosvitor
712,607,250
false
{"Kotlin": 27437}
/* Utilizando a estrutura de repetição FOR, escreva um programa que mostre na tela os números divisíveis por 3 que estão entre os números de 0 e 100. */ package com.ctseducare.kotlin.k06_repetition_structures fun main() { println("Números divisíveis por 3 entre 0 e 100") println("") for (numero in 0.....
0
Kotlin
0
0
463553734d5d344a199a28ee300b6d3665727517
390
exercicios-kotlin-fundamentos
MIT License
infrastructure/src/gatling/kotlin/Authentication.kt
Lukinhasssss
551,493,782
false
{"Kotlin": 845906, "Dockerfile": 2158}
import io.gatling.javaapi.core.ChainBuilder import io.gatling.javaapi.core.CoreDsl.exec import io.gatling.javaapi.core.CoreDsl.jsonPath import io.gatling.javaapi.http.HttpDsl.http import io.gatling.javaapi.http.HttpDsl.status object Authentication { fun setToken(): ChainBuilder { val formParams = mapOf( ...
0
Kotlin
0
5
0567a1085eaf68fb7ac51ac5c597596017c3d10e
903
admin-catalogo-de-videos-kotlin
MIT License
baselibrary/src/main/kotlin/com/huawen/baselibrary/schedule/rxlifecycle2/LifecycleTransformer.kt
cc17236
297,074,446
false
{"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Kotlin": 412, "XML": 48, "Java": 91}
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed u...
0
Kotlin
0
0
219c6d63fee41a9f28e9f935a3d222159d12d5e3
3,031
AnroidKotlinSample
Apache License 2.0
sample/src/main/java/co/netguru/android/chatandroll/app/App.kt
yan640
120,502,628
false
null
package co.netguru.android.chatandroll.app import android.app.Application import android.app.NotificationChannel import android.app.NotificationManager import android.content.Context import android.net.wifi.WifiManager import android.os.Build import android.support.v7.app.AppCompatDelegate import co.netguru.videochatg...
0
Kotlin
0
0
c3ceab7b6c8b8716d50be4ae7e151926af8b2439
3,518
videochatguru-android
Apache License 2.0
src/main/java/me/m64diamondstar/ingeniamccore/wands/wands/HolyTomato.kt
M64DiamondStar
526,220,818
false
null
package me.m64diamondstar.ingeniamccore.wands.wands import me.m64diamondstar.ingeniamccore.IngeniaMC import me.m64diamondstar.ingeniamccore.utils.messages.Colors import me.m64diamondstar.ingeniamccore.wands.Cooldowns import org.bukkit.Bukkit import org.bukkit.Color import org.bukkit.Material import org.bukkit.Particle...
0
Kotlin
0
4
6a15519f0feab10cb4eb6764f25707886c475915
2,134
IngeniaMC-Core
MIT License
platform/diff-impl/src/com/intellij/diff/editor/DiffFileEditorProvider.kt
JetBrains
2,489,216
false
null
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package com.intellij.diff.editor import com.intellij.diff.impl.DiffEditorViewer import com.intellij.diff.impl.DiffRequestProcessor import com.intellij.ide.structureView.StructureViewBuilder import c...
284
null
5162
16,707
def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0
1,976
intellij-community
Apache License 2.0
0.0.2-SNAPSHOT-ktor-different-serialization-techniques/src/jvmMain/kotlin/Application.kt
jdw
795,891,808
false
{"Kotlin": 14632, "HTML": 5046}
import com.example.plugins.configureRouting import com.example.plugins.configureSockets import io.ktor.server.application.* import io.ktor.server.cio.* import io.ktor.server.engine.* import kotlinx.serialization.ExperimentalSerializationApi @OptIn(ExperimentalSerializationApi::class, ExperimentalUnsignedTypes::class)...
0
Kotlin
0
0
bb4aba5b3733edf24433a19b06bdf4f033c942b8
602
seaofshadows-examples
Apache License 2.0
app/src/main/kotlin/com/jmu/assistant/ui/screen/InfoScreen.kt
yuanczx
451,131,997
false
{"Kotlin": 112928}
package com.jmu.assistant.ui.screen import android.webkit.WebView import androidx.compose.animation.ExperimentalAnimationApi import androidx.compose.foundation.ExperimentalFoundationApi import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.materi...
0
Kotlin
0
2
3e2917ed3f3aeda731355f4b272ce4c460da0543
1,660
JMU-Assistant
MIT License
app/src/main/java/com/example/mystory/utils/Utils.kt
takamanu
711,208,871
false
{"Kotlin": 204342}
package com.example.agroconnect.ui import android.app.Application import android.content.ContentResolver import android.content.Context import android.graphics.Bitmap import android.graphics.BitmapFactory import android.graphics.Matrix import android.net.Uri import android.os.Build import android.os.Environment import...
0
Kotlin
0
0
b658627de82ee3ecfd362bd2c45246e65706dd90
4,133
my-story-app
MIT License
arspell/src/test/java/com/nikialeksey/arspell/strings/IgnoreWordsStringsTest.kt
nikialeksey
157,249,355
false
null
package com.nikialeksey.arspell.strings import com.nikialeksey.arspell.words.Word import org.hamcrest.core.IsEqual import org.junit.Assert import org.junit.Test class IgnoreWordsStringsTest { @Test fun ignoreOneWordFromStrings() { val strings = IgnoreWordsStrings( SimpleStrings( ...
3
Kotlin
0
5
890664124ddf372c154c1a15cd4ce9a5d0478664
998
arspell
MIT License
app/src/main/java/com/mudrichenko/evgeniy/selfstudy/system/Intents.kt
mudrichenko-evgeny
556,368,937
false
{"Kotlin": 281705}
package com.mudrichenko.evgeniy.selfstudy.system import android.content.Intent import com.mudrichenko.evgeniy.selfstudy.system.model.MimeFileType object Intents { fun pick(mimeFileType: MimeFileType): Intent { return Intent(Intent.ACTION_GET_CONTENT).apply { type = mimeFileType.key ...
0
Kotlin
0
0
9044880a291fcb8539cb01e5c9704b18e7a96572
377
self-study
Apache License 2.0
app/src/main/java/com/red_velvet/yumhub/domain/usecases/ClearFavoriteRecipesUseCase.kt
Red-velvet-cake
646,910,557
false
{"Kotlin": 322415}
package com.red_velvet.yumhub.domain.usecases import com.red_velvet.yumhub.domain.repositories.UserRepository import javax.inject.Inject class ClearFavoriteRecipesUseCase @Inject constructor( private val userRepository: UserRepository ) { suspend operator fun invoke() { userRepository.clearFavoriteRec...
4
Kotlin
7
10
9b01e06754ee1dae4e12f004df4e7b6264a55006
334
yumhub
MIT License
composeApp/src/commonMain/kotlin/com/macaosoftware/component/demo/startup/StartupCoordinatorViewModelFactory.kt
pablichjenkov
135,388,611
false
null
package com.macaosoftware.component.demo.startup import com.macaosoftware.component.stack.StackComponent import com.macaosoftware.component.stack.StackComponentViewModelFactory import com.macaosoftware.component.stack.StackStatePresenter import com.macaosoftware.app.PluginManager class StartupCoordinatorViewModelFact...
0
null
5
107
827ae0fa867f5efd0a7072b8f592384c9b04079d
842
macao-sdk
The Unlicense
app/src/main/java/com/havriiash/dmitriy/githubbrowser/main/vm/base/BaseViewModel.kt
Havriiash
142,858,724
false
null
package com.havriiash.dmitriy.githubbrowser.main.vm.base import android.arch.lifecycle.ViewModel import com.havriiash.dmitriy.githubbrowser.data.repositories.IRepository import com.havriiash.dmitriy.githubbrowser.data.repositories.Repository import io.reactivex.disposables.CompositeDisposable abstract class BaseViewM...
0
Kotlin
0
0
a197d29e16e3e932665fefdde104560b34763319
542
GithubBrowser
MIT License
rd-backend/src/main/kotlin/de/akquinet/timref/registrationservice/persistance/federation/FederationRepository.kt
tim-ref
751,480,879
false
{"Kotlin": 342368, "TypeScript": 128425, "HTML": 24946, "SCSS": 9072, "FreeMarker": 9015, "JavaScript": 3909, "Dockerfile": 2651, "Shell": 1251, "CSS": 681}
/* * Copyright (C) 2023 akquinet 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 agr...
0
Kotlin
1
0
6ec9aaaff5131d5b89db811b22f1a65b71653483
1,216
messenger-registration-service
Apache License 2.0
app/src/main/java/com/wbrawner/simplemarkdown/view/activity/MainActivity.kt
wbrawner
98,264,584
false
null
package com.wbrawner.simplemarkdown.view.activity import android.content.Context import android.os.Bundle import androidx.annotation.StringRes import androidx.appcompat.app.AppCompatActivity import androidx.core.app.ActivityCompat import androidx.navigation.findNavController import androidx.preference.PreferenceManage...
20
Kotlin
16
99
f51d669da3192fc7becca3f477543f886bcb8d96
1,977
SimpleMarkdown
Apache License 2.0
app/src/main/java/com/spin/id/api/ApiFactory.kt
RifqiFadhell
501,564,017
false
null
package com.spin.id.api import com.spin.id.api.request.banner.BannerRequest import com.spin.id.api.request.feed.* import com.spin.id.api.request.impression.ImpressionRequest import com.spin.id.api.request.login.AddNumberRequest import com.spin.id.api.request.login.LoginRequest import com.spin.id.api.request.login.Logi...
0
Kotlin
0
0
ac0082e9f8ce71f3e17c758e59d925bfed2ec753
7,769
SPIN
Apache License 2.0
components/virtual-node/virtual-node-write-service-impl/src/test/kotlin/net/corda/virtualnode/write/db/impl/tests/writer/VirtualNodeWriterTests.kt
corda
346,070,752
false
{"Kotlin": 20585393, "Java": 308202, "Smarty": 115357, "Shell": 54409, "Groovy": 30246, "PowerShell": 6470, "TypeScript": 5826, "Solidity": 2024, "Batchfile": 244}
package net.corda.virtualnode.write.db.impl.tests.writer import net.corda.data.virtualnode.VirtualNodeAsynchronousRequest import net.corda.data.virtualnode.VirtualNodeManagementRequest import net.corda.data.virtualnode.VirtualNodeManagementResponse import net.corda.messaging.api.publisher.Publisher import net.corda.me...
14
Kotlin
27
69
0766222eb6284c01ba321633e12b70f1a93ca04e
1,810
corda-runtime-os
Apache License 2.0
shared/src/androidMain/kotlin/ie/otormaigh/reader/shared/persistence/DatabaseDriverFactory.kt
otormaigh
395,999,773
false
null
/* * Copyright 2021 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
1
Kotlin
0
0
bb90caa8fafa624fec74f180494663a981e17fbf
962
reader-kmm
Apache License 2.0
castawayplayer/src/main/java/io/github/lazyengineer/castawayplayer/MediaServiceEvent.kt
lazy-engineer
321,396,462
false
null
package io.github.lazyengineer.castawayplayer sealed class MediaServiceEvent { data class PlayMediaId(val mediaId: String, val pauseAllowed: Boolean = true) : MediaServiceEvent() data class Speed(val speed: Float) : MediaServiceEvent() data class Shuffle(val shuffle: Boolean) : MediaServiceEvent() data class R...
0
Kotlin
0
2
b65ffceb9b9a9e4e17302c69f50b307a17b7f372
602
castaway
MIT License
ui-app/src/commonMain/kotlin/com/alexvanyo/composelife/ui/app/action/settings/DisableOpenGLUi.kt
alexvanyo
375,146,193
false
{"Kotlin": 1943779}
/* * Copyright 2022 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 applic...
37
Kotlin
10
99
64595b8d36c559a70ca52d578069fe4df8d170c7
2,368
composelife
Apache License 2.0
app/src/main/kotlin/com/sukitsuki/tsukibb/fragment/FavoriteFragment.kt
Tsuki
166,343,816
false
null
package com.sukitsuki.tsukibb.fragment import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.lifecycle.Observer import androidx.lifecycle.ViewModelProviders import androidx.recyclerview.widget.LinearLayoutManager import androidx.recyclerview....
0
Kotlin
0
0
17f676fc22bed38bd38622dd4c73215fe91e6860
2,279
TsukiBBkt
MIT License
app/src/main/java/com/sample/landmarkremark/model/SearchObject.kt
tuanho10
811,265,379
false
{"Kotlin": 76808}
package com.sample.landmarkremark.model data class SearchObject( var location: LocationObject? = null, var isOtherUser: Boolean = false, var isTitleOther: Boolean= false, var isTitleUser: Boolean= false )
0
Kotlin
0
0
96a05d03006a192f2a41d393c27694b8387273af
221
LandmarkRemark
MIT License
app/common/src/androidMain/kotlin/com/denchic45/studiversity/ui/search/SpecialtyChooserUI.kt
denchic45
435,895,363
false
{"Kotlin": 2081129, "Vue": 15083, "JavaScript": 2830, "CSS": 1496, "HTML": 867}
package com.denchic45.studiversity.ui.search import androidx.compose.foundation.layout.size import androidx.compose.material3.Icon import androidx.compose.material3.ListItem import androidx.compose.material3.MaterialTheme import androidx.compose.material3.Text import androidx.compose.runtime.Composable import androidx...
0
Kotlin
0
7
93947301de4c4a9cb6c3d9fa36903f857c50e6c2
1,283
Studiversity
Apache License 2.0
data/src/main/kotlin/team/ommaya/wequiz/android/data/repository/QuizRepositoryImpl.kt
mash-up-kr
628,190,373
false
null
/* * Designed and developed by "옴마야" Team 2023. * * Licensed under the MIT. * Please see full license: https://github.com/mash-up-kr/WeQuiz-Android/blob/main/LICENSE */ package team.ommaya.wequiz.android.data.repository import io.ktor.client.HttpClient import io.ktor.client.call.body import io.ktor.client.reques...
4
Kotlin
0
6
7470fe66efeb9200b4920b3950d2cc5f95be58fa
4,062
WeQuiz-Android
MIT License
app/src/main/java/com/example/foodatdoor/LoginActivity.kt
Anju1415
279,832,606
false
null
package com.example.foodatdoor import android.content.Intent import android.os.Bundle import android.text.TextUtils import android.text.method.HideReturnsTransformationMethod import android.text.method.PasswordTransformationMethod import android.util.Log import android.view.View import android.widget.* import androidx...
1
Kotlin
0
0
6832eb85afb98954236495adde859f3dd7c52fc8
7,768
FoodAtDoor
MIT License
app/src/main/java/com/seif/booksislandapp/presentation/intro/splash/SplashFragment.kt
SeifEldinMohamed
570,587,114
false
null
package com.seif.booksislandapp.presentation.intro.splash import android.animation.ObjectAnimator 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 androidx.fragment.app.Fragment import androidx.f...
1
Kotlin
0
0
d7ff7f448b774aaad929a39686f04de4fd0ec19e
3,783
Books-Island-App
Apache License 2.0
app/src/main/java/com/justjump/android_challenge_01_clean/NavHostActivity.kt
Jesr2104
395,311,743
false
null
package com.justjump.android_challenge_01_clean import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import com.justjump.android_challenge_01_clean.databinding.ActivityNavHostBinding class NavHostActivity : AppCompatActivity() { private lateinit var binding: ActivityNavHostBinding overri...
0
Kotlin
0
0
3aaa73feb9c0baf0179626fec627c6b2a5a6d106
519
Android_challenge_01_clean
MIT License
packages/server-core/src/main/kotlin/org/migor/feedless/community/CommentGraphService.kt
damoeb
314,677,857
false
{"HTML": 3499376, "Kotlin": 1565240, "TypeScript": 647818, "SCSS": 67132, "TeX": 34128, "XSLT": 11997, "JavaScript": 10350, "Shell": 4928, "Dockerfile": 3860, "PLpgSQL": 480}
package org.migor.feedless.community import org.migor.feedless.AppProfiles import org.springframework.context.annotation.Profile import org.springframework.stereotype.Service @Service @Profile(AppProfiles.community) class CommentGraphService { suspend fun getReplyCount(comment: CommentEntity): Int { return 0 ...
15
HTML
25
235
52d57ee229026a5ffa6432e753bbe94328a7149b
414
feedless
Apache License 2.0
src/day11/Day11.kt
Ciel-MC
572,868,010
false
{"Kotlin": 55885}
package day11 import day11.Monkey.Companion.parseMonkeys import readInput import java.util.ArrayDeque import java.util.Queue data class Monkey( val id: MonkeyID, val holdingItems: Queue<Item>, val itemOperation: (Item) -> Unit, val rule: ThrowRule ) { fun processItems(divideByThree: Boolean, keepI...
0
Kotlin
0
0
7eb57c9bced945dcad4750a7cc4835e56d20cbc8
6,481
Advent-Of-Code
Apache License 2.0
app/src/main/java/com/bugrahankaramollaoglu/sentensearch/Adapters/SentencesAdapter.kt
bugrahankaramollaoglu
817,490,819
false
{"Kotlin": 102973}
package com.bugrahankaramollaoglu.sentensearch.Adapters import android.content.Context import android.graphics.Typeface import android.speech.tts.TextToSpeech import android.text.Spannable import android.text.SpannableString import android.text.style.ForegroundColorSpan import android.text.style.StyleSpan import andro...
0
Kotlin
0
0
abbfc93477cca023b65930d6e11b5189909e0763
8,001
sentensearch
MIT License
compose/ui/ui/src/androidInstrumentedTest/kotlin/androidx/compose/ui/res/StringResourcesTest.kt
androidx
256,589,781
false
null
/* * Copyright 2019 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
29
null
937
5,321
98b929d303f34d569e9fd8a529f022d398d1024b
5,236
androidx
Apache License 2.0
compiler/testData/diagnostics/tests/annotations/annotationParameterMustBeConstant/annotationConstructorDefaultParameter.fir.kt
android
263,405,600
false
null
const val iConst = 42 val iVal = 42 fun iFun() = 42 annotation class Ann(val x: Int) annotation class Test1(val x: Int = 42) annotation class Test2(val x: Int = iConst) annotation class Test3(val x: Int = 1 + iConst + 1) annotation class Test4(val x: Int = iVal) annotation class Test5(val x: Int = 1 + iVal + 1) annota...
0
null
37
316
74126637a097f5e6b099a7b7a4263468ecfda144
410
kotlin
Apache License 2.0
BraintreeCore/src/test/java/com/braintreepayments/api/core/ConfigurationUnitTest.kt
braintree
21,631,528
false
null
package com.braintreepayments.api import android.text.TextUtils import org.json.JSONException import org.junit.Assert.* import org.junit.Ignore import org.junit.Test import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner import java.util.* @RunWith(RobolectricTestRunner::class) class Configurati...
25
null
250
409
a7e568171e0a543700c5d2fee7da04cd40ab65b2
16,842
braintree_android
MIT License
ui-base/src/main/java/pl/kamilszustak/read/ui/base/util/ViewExtensions.kt
swistak7171
289,985,013
false
null
package pl.kamilszustak.read.ui.base.util import android.view.GestureDetector import android.view.MotionEvent import android.view.View import android.view.inputmethod.InputMethodManager import android.widget.PopupMenu import android.widget.TextView import androidx.annotation.MenuRes import androidx.annotation.StringRe...
2
Kotlin
0
1
70d7be58042410bdb969035413b726126426e3d3
1,789
read
Apache License 2.0
chazm-model/src/main/kotlin/runtimemodels/chazm/model/entity/InstanceGoalFactory.kt
RuntimeModels
32,474,965
false
null
package runtimemodels.chazm.model.entity import runtimemodels.chazm.api.entity.InstanceGoal import runtimemodels.chazm.api.entity.InstanceGoalId import runtimemodels.chazm.api.entity.SpecificationGoal import runtimemodels.chazm.api.id.UniqueId /** * The [InstanceGoalFactory] interface defines the APIs for constructi...
7
Kotlin
1
1
e64c35dbd0a11a0f3759305e1cae4b2b593005c8
848
chazm
Apache License 2.0
compiler/testData/codegen/box/boxingOptimization/boxedBooleanIdentity.kt
JetBrains
3,432,266
false
{"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML...
fun boxBoolean(b: Boolean): Any = b fun box(): String { if (boxBoolean(true) !== boxBoolean(true)) return "FAIL1" if (boxBoolean(false) !== boxBoolean(false)) return "FAIL2" if (boxBoolean(true) === boxBoolean(false)) return "FAIL3" if (boxBoolean(false) === boxBoolean(true)) return "FAIL4" if (box...
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
574
kotlin
Apache License 2.0
app/src/main/java/io/prodrink/ui/drink/list/DrinkListHolder.kt
galleyltd
101,621,887
false
null
package io.prodrink.ui.drink.list import android.view.View import com.bumptech.glide.Glide import com.bumptech.glide.request.RequestOptions import eu.davidea.flexibleadapter.FlexibleAdapter import eu.davidea.viewholders.FlexibleViewHolder import io.prodrink.R import io.prodrink.data.models.Drink import kotlinx.android...
1
null
1
1
12a7d28348d273e91e486c38c8531a042819700e
1,097
prodrink-android
Apache License 2.0
benchmark/integration-tests/macrobenchmark/src/androidTest/java/androidx/benchmark/integration/macrobenchmark/MacrobenchmarkRuleTest.kt
tikurahul
314,147,765
false
null
/* * Copyright 2020 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
1
null
1
1
ccac66729a5e461b3a05944014f42e2dc55337d6
1,711
androidx
Apache License 2.0
src/test/kotlin/gdscript/parser/ScriptParserTest.kt
exigow
202,529,822
false
null
package gdscript.parser import BaseTest import com.intellij.testFramework.ParsingTestCase class ScriptParserTest : BaseTest() { fun `test asd`() { val code = """ var x: Vector2 = 1 """.trimIndent() val file = environment.configureByText("test.gd", code) ParsingTestCase...
25
null
9
98
44c934ed885fa733d5766cff359bc3335daab8a0
349
intellij-gdscript
MIT License
compiler/testData/diagnostics/tests/regressions/kt3647.kt
kharvd
28,743,215
true
{"Java": 15361281, "Kotlin": 9902241, "JavaScript": 941865, "HTML": 33053, "CSS": 14421, "Protocol Buffer": 11203, "Shell": 9002, "Groovy": 2661}
// KT-3647 Unexpected compilation error: "Expression is inaccessible from a nested class" class Test(val value: Int) { class object { fun create(init: () -> Int): Test { return Test(init()) } } }
0
Java
0
0
ec138ecaa200fb82275d172bde8b35581950bfd7
233
kotlin
Apache License 2.0
Pathfinder_1_16/src/main/java/com/github/ysl3000/bukkit/pathfinding/craftbukkit/v1_16_R2/pathfinding/CraftPathfinderPlayer.kt
yannicklamprecht
100,601,108
false
null
package com.github.ysl3000.bukkit.pathfinding.craftbukkit.v1_16_R2.pathfinding import com.github.ysl3000.bukkit.pathfinding.AbstractPathfinderPlayer import net.minecraft.server.v1_16_R2.EntityPlayer import org.bukkit.craftbukkit.v1_16_R2.entity.CraftPlayer import org.bukkit.entity.Player class CraftPathfinderPlayer p...
1
null
4
25
b576a9e7abd72240bb7ae71eb4408784eb6267ae
998
PathfindergoalAPI
MIT License
idea/src/org/jetbrains/kotlin/idea/refactoring/memberInfo/KotlinMemberSelectionTable.kt
Spring-Xu
43,350,123
false
null
/* * Copyright 2010-2015 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
0
null
0
1
a55f9feacbf3e85ea064cc2aee6ecfd5e699918d
3,210
kotlin
Apache License 2.0
idea/idea-live-templates/testData/context/StatementInFor.kt
JakeWharton
99,388,807
false
null
fun test(b: Boolean) { for (i in 1..10) sou<caret>t }
0
null
28
83
4383335168338df9bbbe2a63cb213a68d0858104
57
kotlin
Apache License 2.0
moshi-generator/src/main/kotlin/com/chimerapps/moshigenerator/MoshiFactoryGenerator.kt
Chimerapps
92,265,777
false
null
package com.chimerapps.moshigenerator import com.squareup.javapoet.* import com.squareup.javapoet.WildcardTypeName import com.squareup.moshi.JsonAdapter import java.lang.reflect.Type import javax.annotation.processing.Filer import javax.lang.model.element.Modifier import javax.lang.model.util.Elements /** * @author...
1
Kotlin
0
0
661ace209912766234714bbd2029c412e805d368
3,888
moshi-generator
Apache License 2.0
core-db/src/main/java/jp/co/soramitsu/coredb/model/chain/ChainTypesLocal.kt
soramitsu
278,060,397
false
{"Kotlin": 5738291, "Java": 18796}
package jp.co.soramitsu.coredb.model.chain import androidx.room.Entity @Entity( tableName = "chain_types", primaryKeys = ["chainId"] ) data class ChainTypesLocal( val chainId: String, val typesConfig: String )
15
Kotlin
30
89
812c6ed5465d19a0616865cbba3e946d046720a1
228
fearless-Android
Apache License 2.0
kapitel_06/ServiceDemo3_Service/app/src/main/java/com/thomaskuenneth/androidbuch/servicedemo3_service/RemoteService.kt
tkuenneth
239,271,728
false
null
package com.thomaskuenneth.androidbuch.servicedemo3_service import android.app.Service import android.content.Intent import android.os.* import android.util.Log const val MSG_FACTORIAL_IN = 1 const val MSG_FACTORIAL_OUT = 2 private val TAG = RemoteService::class.simpleName class RemoteService : Service() { priva...
0
Kotlin
0
1
977f93b8ff9bdd50d45a1a51d009b1eba75b7eb0
1,432
begleitmaterialien-zu-android-11
Apache License 2.0
src/test/kotlin/snc/openchargingnetwork/node/integration/Types.kt
Smart-Charging
245,366,665
false
null
package snc.openchargingnetwork.node.integration import snc.openchargingnetwork.node.integration.parties.CpoServer import snc.openchargingnetwork.node.models.ocpi.BasicRole class JavalinException(val httpCode: Int = 200, val ocpiCode: Int = 2001, message: String): Exception(message) data class CpoTestCase(val party:...
1
null
1
1
15d7320f19d5ce94782a8e52635855dc046aa5a4
397
scn-node
Apache License 2.0
micronaut-camunda-bpm-feature/src/test/kotlin/info/novatec/micronaut/camunda/bpm/feature/test/ProcessEngineFactoryLoggerTest.kt
ptreyer
331,926,657
true
{"Java": 52639, "Kotlin": 31531}
package info.novatec.micronaut.camunda.bpm.feature.test import ch.qos.logback.classic.Logger import info.novatec.micronaut.camunda.bpm.feature.ProcessEngineFactory import io.micronaut.context.ApplicationContext import org.junit.jupiter.api.Test import ch.qos.logback.core.read.ListAppender import org.junit.jupiter.api...
0
null
0
0
284813455ffdf45ee1b87e5583eacb575aadc646
981
micronaut-camunda-bpm
Apache License 2.0
idea/testData/shortenRefs/type/NoImportNeeded.kt
JakeWharton
99,388,807
true
null
import java.io.File class A : <selection>java.io.File</selection>
0
Kotlin
28
83
4383335168338df9bbbe2a63cb213a68d0858104
67
kotlin
Apache License 2.0
app/src/main/java/fr/corenting/edcompanion/activities/SettingsActivity.kt
corenting
86,805,660
false
null
package fr.corenting.edcompanion.activities import android.os.Bundle import android.view.MenuItem import androidx.appcompat.app.AppCompatActivity import androidx.appcompat.app.AppCompatDelegate import androidx.appcompat.widget.Toolbar import fr.corenting.edcompanion.R import fr.corenting.edcompanion.fragments.Settings...
3
null
3
22
797b45b004b196d08a39f920d0d574bb8dd75e84
1,265
EDCompanion
MIT License
app/src/main/java/com/kieronquinn/app/taptap/core/columbus/actions/LaunchSearch.kt
KieronQuinn
283,883,226
false
null
package com.kieronquinn.app.taptap.core.columbus.actions import android.app.SearchManager import android.content.ActivityNotFoundException import android.content.Context import android.content.Intent import android.os.Bundle import com.kieronquinn.app.taptap.models.WhenGateInternal import com.kieronquinn.app.taptap.co...
52
Kotlin
2
2,251
abec5a3e139786beeea75e2fb5677013d0719bf1
1,808
TapTap
Apache License 2.0
app/src/main/java/com/dharam/offers/HomeActivity.kt
Dharm1806
294,115,176
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 2, "JSON": 2, "Proguard": 1, "Kotlin": 18, "XML": 46, "Java": 1}
package com.dharam.offers import android.content.Context import android.content.pm.PackageManager import android.os.Bundle import android.view.MenuItem import android.view.MotionEvent import android.view.View import android.view.inputmethod.InputMethodManager import android.widget.TextView import android.widget.Toast...
1
null
1
1
0422510bd133b12827f2e61cbec03c1a05cc2235
4,626
Tablayout-with-recycler-view-and-slider-in-kotlin-mvvm-and-data-binding
Apache License 2.0
app/src/main/java/org/simple/clinic/home/bp/NewBpScreenEvents.kt
moealmaw
138,648,110
true
{"Kotlin": 347838}
package org.simple.clinic.home.bp import org.simple.clinic.widgets.UiEvent class NewPatientClicked : UiEvent class ScanAadhaarClicked : UiEvent
0
Kotlin
0
0
d59ebd983c0d08d85d91041e33b7927528bbb559
147
redapp
MIT License
app/src/main/java/com/yveschiong/macrofit/models/NutritionFact.kt
yveschiong
135,364,946
false
{"Kotlin": 130902}
package com.yveschiong.macrofit.models import android.arch.persistence.room.ColumnInfo import android.arch.persistence.room.Entity import android.arch.persistence.room.Index import android.arch.persistence.room.PrimaryKey import android.os.Parcelable import kotlinx.android.parcel.Parcelize @Parcelize @Entity( tab...
0
Kotlin
0
0
57a923fe85f7a69d3da87d4835cd453522f3d009
998
macro-fit
MIT License
src/main/kotlin/com/baulsupp/oksocial/services/microsoft/MicrosoftAuthFlow.kt
MaTriXy
129,725,910
true
{"Kotlin": 426653, "Shell": 9764}
package com.baulsupp.oksocial.services.microsoft import com.baulsupp.oksocial.authenticator.SimpleWebServer import com.baulsupp.oksocial.authenticator.oauth2.Oauth2Token import com.baulsupp.oksocial.kotlin.query import com.baulsupp.oksocial.output.OutputHandler import com.baulsupp.oksocial.services.microsoft.model.Tok...
0
Kotlin
0
0
c4da9b2858cb9477b96fabb36b31a60f716e3e86
1,537
oksocial
Apache License 2.0
highlight-kt/src/main/java/com/neo/highlightKt/extensions/BaseExtensions.kt
Irineu333
448,158,335
false
null
package com.neo.highlightKt.extensions
0
Kotlin
0
2
b28d1580ebd487f600700e2ba1a530f40e6d1789
39
Highlight-KT
MIT License
src/main/kotlin/com/tormenteddan/sandwiches/ingredients/ingredients.kt
tormenteddan
133,490,418
false
null
package com.tormenteddan.sandwiches.ingredients /* =========================== INGREDIENT CLASSES =========================== */ /** * Sealed class. Extended by [Ingredient] and [Bread]. */ sealed class SandwichIngredient /** * Ingredient with [description] and [cost]. * * @property description The ingredient's...
0
Kotlin
0
1
a194cb05d67731c6043cbe999bbfafb32fdfd49f
2,187
SandwichControl
MIT License
utils/src/nativeCommonMain/kotlin/com/badoo/reaktive/utils/atomic/AtomicBoolean.kt
badoo
174,194,386
false
null
package com.badoo.reaktive.utils.atomic actual class AtomicBoolean actual constructor(initialValue: Boolean) { private val delegate = kotlin.native.concurrent.AtomicInt(initialValue.intValue) actual var value: Boolean get() = delegate.value != 0 set(value) { delegate.value = value...
8
Kotlin
58
956
c712c70be2493956e7057f0f30199994571b3670
607
Reaktive
Apache License 2.0
src/main/kotlin/Day17.kt
andrewrlee
434,584,657
false
null
object Day17 { // val targetArea = 20..30 to -10..-5 val targetArea = 248..285 to -85..-56 data class Coord(val x: Int, val y: Int) { constructor(coord: Pair<Int, Int>) : this(coord.first, coord.second) } private fun Pair<IntRange, IntRange>.toCoords(): List<Coord> { val (xs, ys) =...
0
Kotlin
0
0
aace0fccf9bb739d57f781b0b79f2f3a5d9d038e
2,974
adventOfCode2021
MIT License
parser/src/main/kotlin/com/github/prologdb/parser/source/SourceLocationRange.kt
prologdb
107,794,018
false
{"Kotlin": 725426, "Java": 151052, "Prolog": 54899}
package com.github.prologdb.parser.source import com.github.prologdb.runtime.PrologSourceInformation class SourceLocationRange(val start: SourceLocation, val end: SourceLocation) : SourceLocation(start.unit, start.line, start.column, start.sourceIndex), PrologSourceInformation { init { if (start.unit != e...
18
Kotlin
1
3
a3d95b473ae83d3cf4eaebfb69cd9d13537135f6
1,175
runtime
MIT License
markdown/src/androidTest/java/app/redwarp/markdown/MarkdownComposableTest.kt
redwarp
260,728,693
false
{"Kotlin": 169680, "Rust": 22500, "HTML": 21992, "SCSS": 12864, "Ruby": 595, "Shell": 205}
/* Copyright 2020 <NAME> * Copyright 2020 GifWallpaper Contributors * * 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 requ...
17
Kotlin
7
122
b5d50b83c4c9d91997fe08eb165e156175f84715
4,007
gif-wallpaper
Apache License 2.0
funmob-sdk/src/main/java/com/funsol/funmob_sdk/appopenad/FunAppOpenManager.kt
Funsol-Projects
591,207,402
false
{"Kotlin": 57918}
package com.funsol.funmob_sdk.appopenad import android.app.Activity import android.app.Application import android.app.Application.ActivityLifecycleCallbacks import android.os.Bundle import android.util.Log import androidx.lifecycle.Lifecycle import androidx.lifecycle.LifecycleObserver import androidx.lifecycle.OnLifec...
0
Kotlin
0
0
b7614fc6807d76d6d61d721d7422bdf14bf632df
5,718
FunMob-SDK
The Unlicense
subprojects/gradle/cd/src/main/kotlin/com/avito/ci/steps/CopyArtifactsTask.kt
StanlyT
344,157,673
true
{"Kotlin": 2773538, "HTML": 121161, "Shell": 17522, "Python": 14168, "Makefile": 7187, "Dockerfile": 7134}
package com.avito.ci.steps import com.avito.logger.GradleLoggerFactory import org.gradle.api.DefaultTask import org.gradle.api.file.DirectoryProperty import org.gradle.api.file.FileCollection import org.gradle.api.provider.Property import org.gradle.api.tasks.Input import org.gradle.api.tasks.InputFiles import org.gra...
0
Kotlin
0
0
96463f7714c0550e331d2a37fb32ad98fac9d62d
1,395
avito-android
MIT License
Application/app/src/main/java/com/davis/kevin/dijkelapp/DOM/User.kt
KevinD25
161,481,846
false
{"Kotlin": 69456}
package com.davis.kevin.dijkelapp.DOM class User(val id : String = "", val username : String = "", val role : String = "", val password : String = "") { }
0
Kotlin
0
1
e8db20f6b9ce407057f8d3cb8508b925d4174432
155
DijkelApp
Apache License 2.0
backend/nft/src/main/kotlin/com/example/nftmarketplace/nft/alchemy/data/response/Id.kt
majoseek
653,294,615
false
{"Kotlin": 117931, "TypeScript": 58168, "Solidity": 18739, "Dockerfile": 560, "HTML": 434, "CSS": 140, "JavaScript": 95}
package com.example.nftmarketplace.nft.alchemy.alchemy.data.response import com.fasterxml.jackson.annotation.JsonProperty data class Id( @JsonProperty("tokenId") val tokenId: String, @JsonProperty("tokenMetadata") val tokenMetadata: TokenMetadata )
0
Kotlin
0
1
e3f2e7de44871ce3adbe2ead5759a802b3a74d38
268
NFT-Marketplace
MIT License
expandablerecyclerviewlist/src/main/java/com/iamkamrul/expandablerecyclerviewlist/adapter/ExpandableRecyclerAdapter.kt
kamrul3288
261,983,416
false
null
package com.iamkamrul.expandablerecyclerviewlist.adapter import android.content.Context import android.view.ViewGroup import androidx.recyclerview.widget.RecyclerView import com.iamkamrul.expandablerecyclerviewlist.helper.ExpandableRecyclerAdapterHelper import com.iamkamrul.expandablerecyclerviewlist.listener.ExpandCo...
1
null
1
18
a805cdb458b31c700d4c787059b1b4c6d8f1074b
6,695
Expandable-Recyclerview-List-Android
Apache License 2.0
ui-components/src/main/kotlin/team/duckie/quackquack/ui/component/label.kt
duckie-team
523,387,054
false
null
/* * Designed and developed by Duckie Team, 2022 * * Licensed under the MIT. * Please see full license: https://github.com/duckie-team/duckie-quack-quack/blob/main/LICENSE */ package team.duckie.quackquack.ui.component import androidx.compose.foundation.layout.PaddingValues import androidx.compose.foundation.lay...
8
Kotlin
4
33
1b024100a4a51f588ade982ce564ba8e53cfbb17
2,860
quack-quack-android
MIT License
demo/src/desktopMain/kotlin/org/pushingpixels/aurora/demo/bugs/UndecoratedWindow.kt
kirill-grouchnikov
297,981,405
false
{"Kotlin": 2202922, "Shell": 7752, "templ": 4389, "Batchfile": 191}
package org.pushingpixels.aurora.demo.bugs import androidx.compose.foundation.background import androidx.compose.foundation.layout.* import androidx.compose.foundation.window.WindowDraggableArea import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier import androidx.compose.ui.graphics.Color import an...
8
Kotlin
19
570
c9aa4a852fa2843a72473e710f3cf9a4ebd63f6d
1,153
aurora
Apache License 2.0
tictactoe/adapter-declaration/src/main/kotlin/com/anaplan/engineering/azuki/tictactoe/adapter/declaration/declaration/PlayOrderDeclaration.kt
anaplan-engineering
458,253,960
false
null
package com.anaplan.engineering.azuki.tictactoe.adapter.declaration.declaration import com.anaplan.engineering.azuki.tictactoe.adapter.declaration.Declaration class PlayOrderDeclaration( override val name: String, val playOrder: List<String>, override val standalone: Boolean, ) : Declaration {}
1
Kotlin
3
2
4c193f89b0d692d95388c6a628e49c81355275d5
310
azuki
MIT License
app/src/test/java/com/kamontat/checkidnumber/model/file/ExcelModelTest.kt
kamontat
91,566,835
false
{"Gradle": 3, "Java Properties": 2, "Shell": 4, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 7, "YAML": 2, "PlantUML": 5, "JSON": 1, "Proguard": 1, "XML": 23, "Java": 5, "Kotlin": 23}
package com.kamontat.checkidnumber.model.file import com.kamontat.checkidnumber.MainJunitTest import com.kamontat.checkidnumber.model.IDNumber import com.kamontat.checkidnumber.model.strategy.worksheet.DefaultWorksheetFormat import jxl.Workbook import jxl.read.biff.BiffException import org.junit.Assert.* import org.ju...
1
null
1
1
f75a59d72e1567b3bafd16160b756ee6cd9fa1bb
5,271
CheckIDNumberA
MIT License
Kotlin-Fundamentals/Notes and Other Resources/forLoop.kt
swoyam2609
543,537,820
false
null
fun main() { for(x in 1..10){ println("The value of x is $x") } for(y in 1 until 10){ println("The value of y is $y") } for(z in 10 downTo 1){ println("The value of z is $z") } for(a in 10 downTo 1 step 2){ println("The valus of a is $a") } }
0
Kotlin
0
2
0d805f7492036241fcdc36a8bfe3be92b509b0cf
307
App-Dev-Kotlin
MIT License
app/src/main/java/com/mainstreetcode/teammate/notifications/MediaNotifier.kt
tunjid
186,313,358
false
null
/* * MIT License * * Copyright (c) 2019 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, m...
1
Kotlin
24
133
c44751a359eba6c10d69797872c1220c956ee2e5
6,034
teammate-android
MIT License
utils/role-selector/src/main/kotlin/dev/schlaubi/mikbot/utils/roleselector/command/roleselection/AddRoleSelectionCommand.kt
DRSchlaubi
409,332,765
false
null
package dev.schlaubi.mikbot.utils.roleselector.command.roleselection import com.kotlindiscord.kord.extensions.commands.Arguments import com.kotlindiscord.kord.extensions.commands.application.slash.EphemeralSlashCommand import com.kotlindiscord.kord.extensions.commands.application.slash.ephemeralSubCommand import com.k...
23
null
11
31
ada5a2d41fa4f9aa4f6b387eaee5ba200d7e6e11
4,193
mikbot
MIT License
app/src/main/java/openfoodfacts/github/scrachx/openfood/utils/Picasso.kt
openfoodfacts
35,174,991
false
{"Kotlin": 1449425, "Java": 124506, "Ruby": 13166, "Shell": 543, "Makefile": 241}
package openfoodfacts.github.scrachx.openfood.utils import android.content.Context import com.squareup.picasso.Picasso inline fun Picasso( context: Context, builderAction: Picasso.Builder.() -> Unit = {}, ): Picasso { return Picasso.Builder(context).apply(builderAction).build() }
390
Kotlin
447
772
836bab540ec9e2792b692a3b25ff61e444fae045
294
openfoodfacts-androidapp
Apache License 2.0
app/src/main/java/com/aljon/trackloader/data/repository/track/TrackRepositoryImpl.kt
ajcordenete
262,252,786
false
null
package com.aljon.trackloader.data.repository.track import androidx.lifecycle.LiveData import com.aljon.trackloader.data.entities.Track import com.aljon.trackloader.data.asDatabaseEntity import com.aljon.trackloader.data.local.TrackDao import com.aljon.trackloader.data.remote.TrackApi import com.aljon.trackloader.data...
0
Kotlin
0
1
2893de002f7d4e8b7dfd32f4160facb01f94a9dd
2,188
TrackLoader
Apache License 2.0
app/src/main/java/com/mezhendosina/sgo/app/ui/announcementsBottomSheet/AnnouncementsBottomSheet.kt
mezhendosina
448,087,094
false
null
/* * Copyright 2023 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
0
Kotlin
0
9
95b1f6ea6f7ccdeaf86f81e423c62a310230f77e
3,068
sgo-app
Apache License 2.0
app/src/main/java/com/example/mycommish/core/presentation/MainActivity.kt
moaliyou
786,551,198
false
{"Kotlin": 25486}
package com.example.mycommish.core.presentation import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.activity.enableEdgeToEdge import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.material3.MaterialTheme import androidx...
0
Kotlin
0
0
92a0f4b13d800fba6bcb9cd43728bd8a2534fe87
1,006
My-Commish
MIT License
src/main/kotlin/dev/twelveoclock/worldgentesting/generators/DefaultWorldGenerator.kt
camdenorrb
744,211,120
false
{"Kotlin": 15985}
package dev.twelveoclock.worldgentesting.generators import org.bukkit.generator.ChunkGenerator class DefaultWorldGenerator : ChunkGenerator()
0
Kotlin
0
0
cd6b9a5e20a2fcd1c6356f8417f74a9382c43b61
143
WorldGenTesting
MIT License
Kotlin/Leaderboard/src/main/java/tddmicroexercises/leaderboard/Driver.kt
fabioCollini
95,602,058
true
{"JavaScript": 81662, "C++": 76585, "Java": 18586, "C#": 15894, "Kotlin": 14135, "Python": 10924, "CMake": 10904, "Ruby": 9093, "Scala": 8044, "Makefile": 4936, "CSS": 2120, "HTML": 1975}
package tddmicroexercises.leaderboard open class Driver(val name: String, val country: String) { override fun hashCode(): Int { return name.hashCode() * 31 + country.hashCode() } override fun equals(obj: Any?): Boolean { if (this === obj) { return true } if (ob...
0
JavaScript
0
0
8df47c7d5656e1c36892dd09003231ab9edf7ff5
503
Racing-Car-Katas
MIT License
app/src/main/java/cc/taylorzhang/subtune/ui/album/AlbumSortOrFilterChoiceDialog.kt
TaylorKunZhang
601,243,663
false
null
package cc.taylorzhang.subtune.ui.album import androidx.compose.material3.ExperimentalMaterial3Api import androidx.compose.runtime.Composable import androidx.compose.ui.res.stringArrayResource import androidx.compose.ui.res.stringResource import androidx.compose.ui.tooling.preview.Preview import cc.taylorzhang.subtune...
2
null
2
94
7f535185727f462eaebfff484ae960bbcb633ba6
1,983
SubTune
Apache License 2.0
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsbookavideolinkapi/service/telemetry/ProbationBookingCreatedTelemetryEvent.kt
ministryofjustice
789,053,149
false
{"Kotlin": 1270993, "Shell": 11651, "Dockerfile": 1492}
package uk.gov.justice.digital.hmpps.hmppsbookavideolinkapi.service.telemetry import uk.gov.justice.digital.hmpps.hmppsbookavideolinkapi.entity.VideoBooking class ProbationBookingCreatedTelemetryEvent(private val booking: VideoBooking) : MetricTelemetryEvent("BVLS-probation-booking-created") { init { require...
1
Kotlin
0
0
644def120ba861a797dbf546973230b52322f6e0
881
hmpps-book-a-video-link-api
MIT License
src/main/kotlin/com/github/shiraji/permissionsdispatcherplugin/data/ActionEventCommonJavaData.kt
permissions-dispatcher
57,020,779
false
null
package com.github.shiraji.permissionsdispatcherplugin.data import com.intellij.openapi.editor.Editor import com.intellij.psi.PsiClass import com.intellij.psi.PsiElement import com.intellij.psi.PsiJavaFile data class ActionEventCommonJavaData(val file: PsiJavaFile, val editor: Editor, val element: PsiElement, val cla...
12
null
63
706
52de07056ceea288c8bf35d9a227995339307f29
333
permissions-dispatcher-plugin
Apache License 2.0
android_mobile/src/main/java/com/alexstyl/specialdates/ui/base/MementoPreferenceFragment.kt
alexstyl
66,690,455
false
null
package com.alexstyl.specialdates.ui.base import android.preference.Preference import android.preference.PreferenceCategory import android.support.annotation.StringRes import android.support.v4.preference.PreferenceFragment import com.alexstyl.android.Version import com.alexstyl.specialdates.util.GreekNameUtils open ...
0
null
49
211
d224f0af53ee3d4ecadad5df0a2731e2c9031a23
1,463
Memento-Calendar
MIT License
xsolla-store-sdk/src/main/java/com/xsolla/android/store/entity/response/common/InventoryOption.kt
xsolla
233,092,015
false
null
package com.xsolla.android.store.entity.response.common import android.os.Parcelable import com.google.gson.annotations.SerializedName import kotlinx.parcelize.Parcelize @Parcelize data class InventoryOption( val consumable: Consumable? = null, @SerializedName("expiration_period") val expirationPeriod: E...
1
Kotlin
5
9
cf3861e571f3ebc45490d39c40b0f2698e835b2f
358
store-android-sdk
Apache License 2.0
idea/testData/copyPaste/imports/ExtensionConflict.kt
JakeWharton
99,388,807
false
null
package a class A { } fun A.ext() { } infix fun A.infix(a: A) { } operator fun A.plus(a: A) { } operator fun A.unaryMinus() { } val A.p: Int get() = 2 <selection>fun f() { A().ext() A() + A() A() infix A() -A() A().p }</selection>
0
null
28
83
4383335168338df9bbbe2a63cb213a68d0858104
261
kotlin
Apache License 2.0
src/test/kotlin/tripletail/stdlib/CollectionTest.kt
objektwerks
353,663,201
false
null
package tripletail.stdlib import arrow.core.zip import org.junit.Test class CollectionTest { @Test fun list() { val list = listOf(1, 2, 3) assert( list.size == 3 ) assert( list.map { it * it } == listOf(1, 4, 9) ) assert( list.filter { it % 2 == 0 } == listOf(2) ) assert( ...
0
Kotlin
0
0
5cb66bd9a27481a352080246d55c58d39d23c159
1,145
kotlin
Apache License 2.0
src/test/kotlin/org/ujorm/kotlin/core/CoreTest.kt
pponec
382,561,643
false
{"Kotlin": 119560, "Shell": 92}
/* * Copyright 2021-2023 <NAME>, https://github.com/pponec * * 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 ...
0
Kotlin
0
3
78425b0dbcd8d776fe0c05a6733034fcb979e6ce
14,629
ujormKt
Apache License 2.0
src/main/kotlin/com/github/savrov/github/action/versioncleaner/domain/FilterPackagesUseCase.kt
credible-team
689,614,450
false
{"Kotlin": 84041}
package com.github.savrov.github.action.versioncleaner.domain import com.github.savrov.github.action.versioncleaner.model.Package import com.github.savrov.github.action.versioncleaner.model.Version internal class FilterPackagesUseCase : SuspendUseCase<FilterPackagesUseCase.Params, Collection<Package>> { override...
0
Kotlin
0
3
7c5c59b720787de85f10542c2a3b417263992bf8
929
action-version-cleaner
MIT License
mobile/src/main/kotlin/org/brainail/everboxing/lingo/mapper/SearchResultModelMapper.kt
brainail
106,741,862
false
null
/* * Copyright 2018 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
6
null
1
2
d71cf6dec0c0c7ba4d80666869b4c91f60a599f2
1,363
.lingo
Apache License 2.0
app/src/main/java/com/example/mygenius/models/SearchResponse.kt
marcobevacqua
544,962,476
false
{"Kotlin": 15250}
package com.example.mygenius.models import com.google.gson.annotations.SerializedName data class SearchResponse( @SerializedName("meta") var meta: Meta? = null, @SerializedName("response") var response: Response? = null )
0
Kotlin
0
0
1eebb30ac7bcd571c9a85fd1d2b79221ec916dfb
240
GeniusAPI
MIT License