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
codebase/android/feature/accounts/src/main/java/com/makeappssimple/abhimanyu/financemanager/android/feature/accounts/add_account/screen/AddAccountScreen.kt
Abhimanyu14
429,663,688
false
{"Kotlin": 1454948}
package com.makeappssimple.abhimanyu.financemanager.android.feature.accounts.add_account.screen import androidx.compose.foundation.layout.WindowInsets import androidx.compose.foundation.layout.isImeVisible import androidx.compose.runtime.Composable import androidx.compose.runtime.LaunchedEffect import androidx.compose...
7
Kotlin
0
1
6675c0b8c951b8d6105e03c34ce88054ccc87105
3,146
finance-manager
Apache License 2.0
app/src/main/java/com/nonetxmxy/mmzqfxy/view/NotifyFragment.kt
AnFxy
623,415,411
false
null
package com.nonetxmxy.mmzqfxy.view import android.view.LayoutInflater import android.view.ViewGroup import androidx.fragment.app.viewModels import com.nonetxmxy.mmzqfxy.base.BaseFragment import com.nonetxmxy.mmzqfxy.databinding.FragmentNotifyBinding import com.nonetxmxy.mmzqfxy.viewmodel.NotifyViewModel import dagger....
0
Kotlin
0
0
5fa1b0610746a42a8adad1f7da282842356851d1
762
M22
Apache License 2.0
app/src/main/java/es/voghdev/playbattlegrounds/features/matches/api/model/ParticipantStatsApiEntry.kt
voghDev
125,352,944
false
null
/* * Copyright (C) 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 w...
5
null
2
10
860788cebfa6d0563e8c4de9611c0daeca492a1b
1,575
PlayBattlegrounds
Apache License 2.0
frontend/src/main/kotlin/components/TextBoard.kt
NikkyAI
182,227,647
false
null
package components import SessionEvent import com.ccfraser.muirwik.components.MColor import com.ccfraser.muirwik.components.button.MButtonVariant import com.ccfraser.muirwik.components.button.mButton import com.ccfraser.muirwik.components.form.mFormControlLabel import com.ccfraser.muirwik.components.list.mList import ...
1
Kotlin
3
10
2c26c2ea122525ba2825f32cbf24bde3c78afa6a
10,402
pentagame
MIT License
androidApp/src/main/java/com/gplay/app/feature/home/HomeViewModel.kt
lukma
529,747,563
false
{"Kotlin": 140900, "Swift": 26911}
package com.gplay.app.feature.home import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import androidx.paging.Pager import androidx.paging.PagingConfig import androidx.paging.PagingData import androidx.paging.cachedIn import com.gplay.compose.uikit.util.paging.OffsetPagingSource import com.gpl...
0
Kotlin
0
1
06828523a53ce3e35963fd1536264e3110b8cfed
1,210
sample-kmm
Apache License 2.0
app/src/main/java/com/tuk/lightninggathering/NaviActivity.kt
FiveGuys-in-Oido
644,228,044
false
null
import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import androidx.fragment.app.Fragment import androidx.fragment.app.FragmentManager import com.tuk.lightninggathering.* import com.tuk.lightninggathering.databinding.ActivityNaviBinding private const val TAG_LIKE = "like_fragment" private const va...
9
Kotlin
0
0
484bf28a365ddd9b0650e7adc69b548a533522ff
2,237
LightingGathering
MIT License
app/src/main/java/com/twobbble/view/activity/BaseActivity.kt
550609334
82,531,843
false
null
package com.twobbble.view.activity import android.content.Context import android.support.v7.app.AppCompatActivity import android.os.Bundle import android.util.DisplayMetrics import com.twobbble.presenter.BasePresenter import com.twobbble.tools.QuickSimpleIO import com.twobbble.view.dialog.DialogManager import uk.co.ch...
1
Kotlin
62
398
e91797a3d4a0fa7737f983a8914eaa109a452054
1,180
Twobbble
Apache License 2.0
app/src/main/java/cloud/veezee/android/utils/TrackMenu.kt
veezee-music
144,769,278
false
null
package cloud.veezee.android.utils import android.app.AlertDialog import android.content.Context import android.content.Intent import android.graphics.Bitmap import android.graphics.Color import android.graphics.drawable.ColorDrawable import android.graphics.drawable.Drawable import android.os.Handler import android.o...
0
Kotlin
3
14
13c0df8e168e02cf695acb5995a786beb2b43471
5,125
veezee-android
MIT License
app/src/main/java/com/coder/ffmpegtest/base/BaseDialog.kt
AnJoiner
228,573,666
false
{"Gradle": 6, "Markdown": 12, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 4, "Batchfile": 1, "Proguard": 2, "Kotlin": 38, "XML": 41, "Java": 1, "SubRip Text": 1, "INI": 1, "C": 147}
package com.coder.ffmpegtest.base import android.app.Activity import android.content.Context import android.content.DialogInterface import android.graphics.drawable.ColorDrawable import android.os.Bundle import android.view.* import android.view.inputmethod.InputMethodManager import androidx.annotation.IdRes import an...
28
C
154
820
2e48031c833e37156cd26e3d7c3491ba1c53bdd1
5,264
FFmpegCommand
Apache License 2.0
src/main/kotlin/model/config/indexer/IndexerConfig.kt
Ather
161,568,528
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...
0
Kotlin
0
0
7313476abe3a0a2db135ffce1c91b3a5f206b74e
999
radarr-kotlin
Apache License 2.0
easywaylocation/src/main/java/com/example/easywaylocation/draw_path/PolylineBean.kt
prabhat1707
121,370,350
false
null
package com.example.easywaylocation.draw_path import com.google.android.gms.maps.model.Polyline data class PolylineBean(val foreground:Polyline?,val backPolyline: Polyline?)
6
Java
48
161
2511fa2038a8c851e0cebb6a109f84971ce1f640
175
EasyWayLocation
Apache License 2.0
app/models/src/main/java/tv/orange/models/data/emotes/impl/EmoteStvImpl.kt
NyanArchive
503,292,084
false
null
package tv.orange.models.data.emotes.impl import tv.orange.models.abc.EmotePackageSet import tv.orange.models.data.emotes.Emote data class EmoteStvImpl( private val emoteId: String, private val emoteCode: String, private val animated: Boolean, private val packageSet: EmotePackageSet, private val i...
0
Kotlin
0
2
3ac69f519566176312e9db57f883d2cdb36fa031
1,029
OrangeTV
Apache License 2.0
app/src/main/java/com/example/taskpal/repository/TaskRepository.kt
AdesharaBrijesh
761,335,737
false
{"Kotlin": 75184}
package com.example.taskpal.repository import com.example.taskpal.model.TaskModel import com.google.firebase.firestore.FirebaseFirestore class TaskRepository { private val db = FirebaseFirestore.getInstance() private val tasksCollection = db.collection("tasks") fun addTask(task: TaskModel) { task...
0
Kotlin
0
0
c8373b37bc1c5adb7cf77f4d606ae847ed635f1b
727
TaskPal
MIT License
app/src/main/java/com/example/taskpal/repository/TaskRepository.kt
AdesharaBrijesh
761,335,737
false
{"Kotlin": 75184}
package com.example.taskpal.repository import com.example.taskpal.model.TaskModel import com.google.firebase.firestore.FirebaseFirestore class TaskRepository { private val db = FirebaseFirestore.getInstance() private val tasksCollection = db.collection("tasks") fun addTask(task: TaskModel) { task...
0
Kotlin
0
0
c8373b37bc1c5adb7cf77f4d606ae847ed635f1b
727
TaskPal
MIT License
app/src/main/java/com/wenjian/wanandroid/ui/home/HomeFragment.kt
wenjiangit
147,815,372
false
{"Java": 173354, "Kotlin": 161112}
package com.wenjian.wanandroid.ui.home import android.os.Bundle import android.view.View import androidx.fragment.app.Fragment import androidx.fragment.app.FragmentManager import androidx.fragment.app.FragmentPagerAdapter import com.wenjian.wanandroid.R import com.wenjian.wanandroid.base.BaseFragment import kotlinx.an...
1
Java
1
1
7ddd7f6577bee9841c7e2951e4da8d0c93ac4857
1,557
WanAndroid
MIT License
app/src/main/java/com/challenge/itunes/data/repository/ItunesRepository.kt
yslvlln
437,294,569
false
null
package com.challenge.itunes.data.repository import androidx.lifecycle.LiveData import com.challenge.itunes.data.model.RecoMoviesResponse import com.challenge.itunes.data.model.RecoMoviesResponseResult import com.challenge.itunes.data.model.TrendMoviesResponse import com.challenge.itunes.data.model.TrendMoviesResponse...
0
Kotlin
0
1
348a7871940f5a0bf08b731fe3c79fe3cd66e363
836
appetiser-challenge
MIT License
app/src/main/java/com/challenge/itunes/data/repository/ItunesRepository.kt
yslvlln
437,294,569
false
null
package com.challenge.itunes.data.repository import androidx.lifecycle.LiveData import com.challenge.itunes.data.model.RecoMoviesResponse import com.challenge.itunes.data.model.RecoMoviesResponseResult import com.challenge.itunes.data.model.TrendMoviesResponse import com.challenge.itunes.data.model.TrendMoviesResponse...
0
Kotlin
0
1
348a7871940f5a0bf08b731fe3c79fe3cd66e363
836
appetiser-challenge
MIT License
app/src/main/java/com/example/inventory/ui/item/RecadoEntryScreen.kt
BeatrizAp8
862,039,267
false
{"Kotlin": 64510}
/* * Copyright (C) 2023 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 app...
0
Kotlin
0
0
61e608d4c6777d5f7bfac209c5700c24552dbbec
7,712
SQLite
Apache License 2.0
server/server-api/src/main/kotlin/projektor/server/api/TestCase.kt
aaronzirbes
250,308,214
true
{"INI": 5, "Shell": 4, "Text": 13, "Procfile": 1, "Gradle": 19, "YAML": 13, "Markdown": 12, "Dockerfile": 1, "Batchfile": 2, "Ignore List": 10, "JSON": 39, "JavaScript": 40, "XML": 24, "Groovy": 61, "Dotenv": 2, "JSON with Comments": 1, "TSX": 68, "HTML": 1, "Kotlin": 120, "Java": 47, "SQL": 13}
package projektor.server.api import java.math.BigDecimal data class TestCase( val idx: Int, val testSuiteIdx: Int, val name: String, val packageName: String?, val className: String, val duration: BigDecimal, val passed: Boolean, val skipped: Boolean, val hasSystemOut: Boolean, ...
0
null
0
0
bc75d64188375d1623cc2a24879897783dc77886
379
projektor
MIT License
login/src/main/java/br/com/mindset/login/data/repository/LoginRepositoryImpl.kt
luangs7
275,694,397
false
null
package br.com.mindset.login.data.repository import br.com.mindbet.common.base.Resource import br.com.mindbet.common.user.User import br.com.mindset.login.data.service.LoginService import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.flow import retrofit2.Response class LoginRepositoryImpl(private val s...
1
null
1
1
adffb2e30f6d2f678f7197277849e7aff86bac15
656
Mindbet
MIT License
login/src/main/java/br/com/mindset/login/data/repository/LoginRepositoryImpl.kt
luangs7
275,694,397
false
null
package br.com.mindset.login.data.repository import br.com.mindbet.common.base.Resource import br.com.mindbet.common.user.User import br.com.mindset.login.data.service.LoginService import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.flow import retrofit2.Response class LoginRepositoryImpl(private val s...
1
null
1
1
adffb2e30f6d2f678f7197277849e7aff86bac15
656
Mindbet
MIT License
app/src/main/java/com/gucodero/ktorcito_app/ui/main_screen/MainViewModel.kt
gucodero
775,222,059
false
{"Kotlin": 63237}
package com.gucodero.ktorcito_app.ui.main_screen import com.gucodero.ktorcito.Response import com.gucodero.ktorcito_app.data.post.PostRepository import com.gucodero.ktorcito_app.domain.post.entity.Post import com.gucodero.ktorcito_app.ui.common.BaseViewModel import com.gucodero.ktorcito_app.ui.common.launch import com...
0
Kotlin
0
2
c73f8313e05b59dc91d9d06b80671a10ae738652
3,250
ktorcito
MIT License
materialswitch/src/commonMain/kotlin/com/t895/materialswitch/MaterialSwitch.kt
t895
858,805,329
false
{"Kotlin": 28552}
/* * 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
0
Kotlin
0
0
78316374f3dff495bffc830f4e2a4911b36da226
22,476
MaterialSwitch
MIT License
app/src/main/java/com/guastafeste/covid_19/AsyncNotification.kt
antonio94770
294,242,453
false
{"Java": 122061, "Kotlin": 26334}
package com.guastafeste.covid_19 import android.content.Context import android.os.AsyncTask import android.util.Log import com.google.gson.Gson import java.io.BufferedReader import java.io.IOException import java.io.InputStreamReader import java.net.MalformedURLException import java.net.URL /** * Gestione asincrona...
1
null
1
1
28be0710775201edec33be11097f85b8cf7d1422
2,953
COVID-19-Android-APP
Creative Commons Attribution 4.0 International
app/src/main/java/com/example/jetpackcompose/core/MainActivity.kt
anitaa1990
264,724,714
false
null
package com.example.jetpackcompose.core import android.content.Intent import android.os.Bundle import android.view.View import androidx.appcompat.app.AppCompatActivity import com.example.jetpackcompose.R import com.example.jetpackcompose.animation.Animation1Activity import com.example.jetpackcompose.animation.Animatio...
0
null
3
10
24da6d327fbc77a88c359c16d55eeb9f5fb1f1da
5,956
Learn-Jetpack-Compose-By-Example
Apache License 2.0
Alkitab/src/main/java/yuku/alkitab/songs/SongInfo.kt
yukuku
5,657,549
false
null
package yuku.alkitab.songs import android.os.Parcelable import kotlinx.parcelize.Parcelize /** * A concise record of a song without "opening" its contents. */ @Parcelize class SongInfo( @JvmField val bookName: String, @JvmField val code: String, @JvmField val title: String, @JvmField ...
23
null
174
310
d43ae4e17650b34b6757d0ddfd8100e44a677f67
365
androidbible
Apache License 2.0
idea/testData/intentions/joinDeclarationAndAssignment/notFirstInitLine.kt
JakeWharton
99,388,807
false
null
// PROBLEM: none class A class AFabric { lateinit var instance: A fun init(config: Unit) { instance = A() } } class V(fabric: AFabric) { val a: A<caret> init { val config = getConfig() fabric.init(config) a = fabric.instance } fun getConfig() = Unit }
284
null
5162
83
4383335168338df9bbbe2a63cb213a68d0858104
314
kotlin
Apache License 2.0
app/src/main/java/com/example/payandgo/InRouteActivity.kt
pay-and-go
360,295,139
false
null
package com.example.payandgo import android.Manifest import android.annotation.SuppressLint import android.app.NotificationChannel import android.app.NotificationManager import android.app.PendingIntent import android.content.Context import android.content.Intent import android.content.pm.PackageManager import android...
0
Kotlin
0
0
42a65cd1e006c1d287eed6d74c1ff84f58183ddf
13,388
frontend-mobile
MIT License
Easy/144. Binary Tree Preorder Traversal/Solution.kt
aakashdeshamne
701,659,816
true
{"YAML": 2, "Markdown": 94, "Text": 2, "Ignore List": 1, "Java": 101, "C++": 62, "Python": 17, "Kotlin": 5, "Ruby": 4, "Elixir": 1, "JavaScript": 6, "Dart": 1, "C#": 1, "PHP": 1}
/** * Definition for a binary tree node. * class TreeNode(var `val`: Int) { * var left: TreeNode? = null * var right: TreeNode? = null * } */ class Solution { fun preorderTraversal(root: TreeNode?): List<Int> { val result = mutableListOf<Int>() helper(root, result) return resul...
15
Java
65
5
b15b164900e1053d38d2875b03d0a4a1a170fc98
533
LeetCode
MIT License
app/src/main/kotlin/ExtendedStatelessSolver.kt
aqtech-ca
311,016,146
false
null
import kotlin.math.ln import kotlin.math.sqrt import ca.aqtech.mctreesearch4j.MDP import ca.aqtech.mctreesearch4j.GenericSolver class ExtendedStatelessSolver<StateType, ActionType>( mdp: MDP<StateType, ActionType>, simulationDepthLimit: Int, explorationConstant: Double, rewardDiscountFa...
9
null
1
6
a9a533f9004a96c09bdef3e67c9c7c7dcb62655d
1,369
mctreesearch4j
MIT License
spacecraft/src/main/java/co/com/gulupagames/spacecraft/activities/game/GameActivity.kt
androide0917
493,884,104
false
null
package co.com.gulupagames.spacecraft.activities.game import android.graphics.Bitmap import android.graphics.Color import android.hardware.Sensor import android.hardware.SensorManager import android.media.MediaPlayer import android.os.Bundle import android.os.Handler import android.os.Message import android.view.Motio...
0
Kotlin
0
2
d4b1c48e7b0797fe9cefed86edd558475f5dd006
16,410
2DAndroidEngine
MIT License
app/src/main/java/pl/skipcode/kotlinbaseappmvvm/utils/network/errors/ErrorMessage.kt
Michax94
154,134,326
false
null
package pl.skipcode.kotlinbaseappmvvm.utils.network.errors import pl.skipcode.kotlinbaseappmvvm.R enum class ErrorMessage(val msg: Int) { SERVER_ERROR(R.string.error_api_connection_error), UNAUTHORIZED(R.string.error_api_unauthorized), NOT_FOUND(R.string.error_api_not_found) }
0
Kotlin
0
0
c96072c6fc9820cd03017c9656ba5c7349c1300c
292
KotlinBaseApp_MVVM
Apache License 2.0
main/src/main/kotlin/com/ecommerce/main/models/Costumer.kt
frdlnk
594,181,071
false
null
package com.ecommerce.main.models import org.springframework.data.annotation.Id import org.springframework.data.mongodb.core.mapping.Document import java.time.LocalDateTime @Document(collection = "customers") class Costumer { @Id lateinit var _id: String; var fullname: String = "" var email: String = ...
0
Kotlin
0
1
35655e840d87ae9c94e2a470324f521f69f88e27
617
ecommerce_backend_template
MIT License
plugins/play-billing/android/src/com/crossbow/play_billing/CrossbowPlayBillingUtils.kt
dodorare
291,822,639
false
{"Rust": 407394, "Kotlin": 143988}
package com.crossbow.play_billing import com.crossbow.library.Crossbow import com.crossbow.library.plugin.CrossbowPlugin import com.crossbow.library.Dictionary import com.crossbow.library.plugin.ExposedToCrossbow import com.crossbow.library.plugin.SignalInfo import com.android.billingclient.api.PurchasesUpdatedListen...
28
Rust
12
188
6e9d69916cb156075162047bdc82565149bd9b1a
4,330
crossbow
Apache License 2.0
buildSrc/src/main/kotlin/app/web/drjackycv/buildsrc/Depends.kt
Drjacky
478,531,276
false
null
package app.web.drjackycv.buildsrc import app.web.drjackycv.buildsrc.Depends.Versions.appVersionCode object Depends { object Features { const val splash = ":features:splash" const val main = ":features:main" const val characters = ":features:characters" const val character = ":fea...
8
Kotlin
1
9
c816d70f74a473801aa02a357abc87311d387803
9,880
MVIModularizationTemplate
MIT License
plugins/terminal/src/org/jetbrains/plugins/terminal/exp/TerminalOutputView.kt
jbeckers
62,625,846
false
{"Text": 8031, "INI": 508, "YAML": 424, "Ant Build System": 9, "Batchfile": 31, "Dockerfile": 7, "Shell": 624, "Markdown": 711, "Ignore List": 131, "Git Revision List": 1, "Git Attributes": 10, "EditorConfig": 253, "XML": 7501, "SVG": 4046, "Kotlin": 53633, "Java": 82535, "HTML": 3746, "Java Properties": 202, "Gradle":...
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package org.jetbrains.plugins.terminal.exp import com.intellij.openapi.Disposable import com.intellij.openapi.actionSystem.CommonDataKeys import com.intellij.openapi.actionSystem.DataProvider import...
1
null
1
1
3a08ca3f08a6bed769f554b6edb27918cd1def62
2,382
intellij-community
Apache License 2.0
build-logic/convention/src/main/kotlin/DetektConventionPlugin.kt
jerryOkafor
696,975,183
false
{"Kotlin": 42659, "Ruby": 2447, "Swift": 2337, "Shell": 228}
import com.jerryokafor.networth.detekt import com.jerryokafor.networth.libs import io.gitlab.arturbosch.detekt.Detekt import io.gitlab.arturbosch.detekt.DetektCreateBaselineTask import io.gitlab.arturbosch.detekt.extensions.DetektExtension import org.gradle.api.Plugin import org.gradle.api.Project import org.gradle.kot...
0
Kotlin
1
15
3ac464f74ddde82389a5b39c070835c2afc35b2d
2,644
NetWorth
Apache License 2.0
src/main/kotlin/com/conekta/mutants/services/MutantService.kt
AlejoJamC
357,038,191
false
null
package com.conekta.mutants.services import com.conekta.mutants.entities.DNAVerified import com.conekta.mutants.entities.Mutant import com.conekta.mutants.exceptions.MutantException import com.conekta.mutants.repositories.MutantRepository import com.conekta.mutants.utils.Constants.APP_CONFIG_MUTANT import com.conekta....
0
Kotlin
0
1
6206e5bbf98d38cde63a265270007ea8b3fc1934
5,543
mutants
MIT License
src/main/kotlin/exs/DesafioAmpli.kt
alexaugustobr
289,400,808
false
null
import java.util.* data class Resultado(val menor: Int, val maior : Int) fun menorSomaMaiorSoma(numeros: Array<Int>, tamanhoArray: Int): Resultado { return Resultado( numeros.sortedArray().slice(0..tamanhoArray-2).sum(), numeros.sortedArrayDescending().slice(0..tamanhoArray-2).sum() ) } fun main(args: Array<...
0
Kotlin
0
0
c70e56d67f44f57053e270a917028e04c2ea2da0
586
kotlin-exercises
MIT License
app/src/main/java/br/com/mathsemilio/simpleapodbrowser/ui/dialog/promptdialog/view/PromptDialogViewImpl.kt
mathsemilio
356,334,975
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 writing, software distribut...
0
Kotlin
0
0
7b83b2fdd6dcbbdbee4288ee949fa92ba1aa4605
2,962
simple-apod-browser-android
Apache License 2.0
markdown/core/src/commonMain/kotlin/com/seiko/markdown/Remember.kt
qdsfdhvh
621,603,345
false
null
package com.seiko.markdown import androidx.compose.runtime.Composable import androidx.compose.runtime.getValue import androidx.compose.runtime.remember import androidx.compose.runtime.rememberUpdatedState import androidx.compose.ui.platform.LocalDensity import androidx.compose.ui.text.ExperimentalTextApi import androi...
0
Kotlin
0
0
3d4d3ababdf21c6e0f4847d49cd65b14012374af
1,202
compose-markdown
MIT License
utils/src/main/java/com/orbitalhq/utils/xml/XmlDocumentProvider.kt
orbitalapi
541,496,668
false
{"TypeScript": 9344934, "Kotlin": 5669840, "HTML": 201985, "SCSS": 170620, "HCL": 55741, "Java": 29373, "JavaScript": 24697, "Shell": 8800, "Dockerfile": 7001, "Smarty": 4741, "CSS": 2966, "Mustache": 1392, "Batchfile": 983, "MDX": 884, "PLpgSQL": 337}
package com.orbitalhq.utils.xml import com.google.common.cache.CacheBuilder import com.google.common.cache.CacheLoader import com.google.common.cache.LoadingCache import org.w3c.dom.Document import org.w3c.dom.NodeList import reactor.core.publisher.Flux import java.io.InputStream import java.util.concurrent.TimeUnit i...
9
TypeScript
10
292
2be59abde0bd93578f12fc1e2ecf1f458a0212ec
1,955
orbital
Apache License 2.0
src/com/github/crunchynomnom/aoc2022/Utils.kt
CrunchyNomNom
573,394,553
false
null
import java.io.File import java.math.BigInteger import java.security.MessageDigest /** * Reads lines from the given input txt file. */ fun readInput(day: String, isPuzzle: Boolean) = File( "input/$day", if (isPuzzle) "puzzle.txt" else "example.txt" ) /** * Converts string to md5 hash. */ f...
0
Kotlin
0
0
88bae9c0ce7f66a78f672b419e247cdd7374cdc1
449
advent-of-code-2022
Apache License 2.0
intentbuilder/src/debug/java/work/shion/androidpreparation/intentbuilder/OpenFileSample.kt
tshion
232,819,670
false
null
package work.shion.androidpreparation.intentbuilder import android.view.ViewGroup import android.widget.Button class OpenFileSample : BaseActivity() { companion object { private const val REQUEST_CODE = 1000 val testData = mapOf( "Empty" to OpenFileIntentBuilder().build(), ...
13
Kotlin
0
2
4d26413772e58ccb54139848fffcad0216260e37
829
AndroidPreparation
MIT License
compiler/testData/diagnostics/tests/secondaryConstructors/headerCallChecker/objectLiteralAsDefaultValueParameter.fir.kt
JetBrains
3,432,266
false
null
// !DIAGNOSTICS: -UNUSED_PARAMETER fun A.foobar() = 3 class A { fun foo() = 1 constructor( x: Any = object { fun bar() = <!UNRESOLVED_REFERENCE!>foo<!>() + <!INSTANCE_ACCESS_BEFORE_SUPER_CALL!>this@A<!>.foo() + <!UNRESOLVED_REFERENCE_WRONG_RECEIVER!>foobar<!>() }) }
151
null
5478
44,267
7545472dd3b67d2ac5eb8024054e3e6ff7795bf6
309
kotlin
Apache License 2.0
va_code/app/src/main/java/com/mvrc/viewapp/presentation/sign_in/SignInContent.kt
MarcoBendinelli
789,851,376
false
{"Kotlin": 547994}
package com.mvrc.viewapp.presentation.sign_in import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.PaddingValues import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.fillMaxSize import andr...
0
Kotlin
0
0
1c570950bd1d8e122e83414c1b0ff6d731a2d3fb
6,942
View-Android-Mobile-App
MIT License
model/src/main/java/com/kiyosuke/corona_grapher/model/Location.kt
kiyosuke
250,196,652
false
null
package com.kiyosuke.corona_grapher.model import org.threeten.bp.Instant sealed class Location( open val id: LocationId, open val country: String, open val countryCode: String, open val countryPopulation: Long?, open val province: String, open val lastUpdated: Instant, open val coordinates...
0
Kotlin
1
3
8635905fdafc5ad6014a5c761b3dc22b7c09142c
1,443
corona-grapher
Apache License 2.0
exercises/src/test/kotlin/de/iteratec/kotlin/basic/T10LambdasAndFunctionTypesTasks.kt
iteratec
190,216,048
false
{"Kotlin": 119132, "Java": 1369, "HTML": 197}
package de.iteratec.kotlin.basic import org.junit.Assert.* import org.junit.Test class LambdasAndFunctionTypesTasks { /** * ## Lambda declarations & calls * Lambda expressions can be assigned to a variable and then called like a regular function. * Uncommend the code and implement a multiply lambd...
1
Kotlin
1
6
388f833f0c7c3693eb65708e6e5f77e032ac156b
1,752
kotlin-training-playground
Apache License 2.0
app/src/main/java/com/example/mywaycompose/presentation/theme/ColorToDarkenColor.kt
larkes-cyber
739,078,285
false
{"Kotlin": 575045}
package com.example.mywaycompose.presentation.theme import android.graphics.Color import androidx.annotation.ColorInt @ColorInt fun darkenColor(@ColorInt color: Int): Int { return Color.HSVToColor(FloatArray(3).apply { Color.colorToHSV(color, this) this[2] *= 0.7f }) }
0
Kotlin
0
1
81ff3952a4aa8d83269a349ff52f8afb6a1156ff
295
PlannerApp
Apache License 2.0
elaichi/android/app/src/main/kotlin/org/dscnitrourkela/elaichi/ui/viewmodels/AuthViewModel.kt
Chinmay-KB
329,033,278
true
{"Dart": 190892, "Kotlin": 87210, "Swift": 404, "Objective-C": 37}
package org.dscnitrourkela.elaichi.ui.viewmodels import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import dagger.hilt.android.lifecycle.HiltViewModel import kotlinx.coroutines.CoroutineScope import kotlinx.coroutine...
0
Dart
0
0
62155984fe02b942b127a0c40d896e8112a1092c
1,923
project-elaichi
MIT License
datastore-model/src/main/kotlin/dev/patrickgold/jetpref/datastore/model/PreferenceSerializer.kt
patrickgold
399,964,460
false
{"Kotlin": 191318}
/* * 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 writin...
0
Kotlin
1
20
e389dab9acc5d80276025137f676be3910eb8245
2,641
jetpref
Apache License 2.0
app/shared/bdk-bindings/public/src/commonMain/kotlin/build/wallet/bdk/bindings/BdkScript.kt
proto-at-block
761,306,853
false
{"C": 10424094, "Kotlin": 7156393, "Rust": 2046237, "Swift": 700307, "Python": 331492, "HCL": 271992, "Shell": 111209, "TypeScript": 102700, "C++": 64770, "Meson": 64234, "JavaScript": 36227, "Just": 28071, "Ruby": 9428, "Dockerfile": 5731, "Makefile": 3839, "Open Policy Agent": 1552, "Procfile": 80}
package build.wallet.bdk.bindings /** * https://github.com/bitcoindevkit/bdk-ffi/blob/v0.28.0/bdk-ffi/src/bdk.udl#L494 */ interface BdkScript { fun rawOutputScript(): List<UByte> }
0
C
10
98
1f9f2298919dac77e6791aa3f1dbfd67efe7f83c
186
bitkey
MIT License
server/src/main/kotlin/net/eiradir/server/map/entity/PersistenceComponent.kt
Eiradir
635,460,745
false
{"Kotlin": 646160, "Dockerfile": 470}
package net.eiradir.server.map.entity import com.badlogic.ashley.core.Component import net.eiradir.server.entity.EntityBucket import net.eiradir.server.entity.components.PersistedComponent import net.eiradir.server.io.SupportedInput import net.eiradir.server.io.SupportedOutput import net.eiradir.server.io.readEnum imp...
13
Kotlin
0
0
78c6926edf20a41516a4296ca85273e0a014ee52
732
eiradir-server
MIT License
app/src/main/java/com/example/android/politicalpreparedness/utils/BindingAdapters.kt
tnanhd
851,046,480
false
{"Kotlin": 51785}
package com.example.android.politicalpreparedness.utils import android.view.View import android.widget.TextView import androidx.databinding.BindingAdapter import java.text.SimpleDateFormat import java.util.Date import java.util.Locale @BindingAdapter("dateStr") fun TextView.bindDate(date: Date?) { val dateFormat ...
0
Kotlin
0
0
463e626e2e2815544637fa12d70ffcacda621d47
1,090
uda-political-preparedness
Apache License 2.0
definitions/src/main/kotlin-gen/xyz/urbanmatrix/mavlink/definitions/common/HlFailureFlag.kt
urbanmatrix
484,943,163
false
null
package xyz.urbanmatrix.mavlink.definitions.common import kotlin.Long import kotlin.collections.List import xyz.urbanmatrix.mavlink.api.GeneratedMavEnum import xyz.urbanmatrix.mavlink.api.GeneratedMavEnumEntry import xyz.urbanmatrix.mavlink.api.MavBitmask /** * Flags to report failure cases over the high latency tel...
1
Kotlin
4
9
8f480256eeaac5755a2ce5582c338a4b30c7e178
2,912
mavlink-kotlin
Apache License 2.0
codeApp/app/src/main/java/com/farma/poc/featuresApp/compose/address/data/models/AddressDTO.kt
lsbloo
461,255,704
false
null
package com.farma.poc.featuresApp.compose.address.data.models import android.os.Parcelable import androidx.room.Entity import androidx.room.PrimaryKey import com.farma.poc.core.base.BaseDTO import com.google.gson.annotations.SerializedName import kotlinx.parcelize.Parcelize @Entity(tableName = "addresses") @Parcelize...
0
Kotlin
0
0
cb171cde213cf16d2134d31567550b860e2fe646
829
FarmaApp
MIT License
presentation/src/main/java/com/lekaha/simpletube/presentation/browse/BrowseSimpletubesContract.kt
lekaha
122,983,306
false
null
package com.lekaha.simpletube.presentation.browse import com.lekaha.simpletube.presentation.BasePresenter import com.lekaha.simpletube.presentation.BaseView import com.lekaha.simpletube.presentation.model.SimpletubeView /** * Defines a contract of operations between the Browse Presenter and Browse View */ interface...
0
Kotlin
1
2
6ee542991cb6d960e30c37b9b279a4f76c37b238
530
youtube-like-video-player
MIT License
view-generator/src/main/java/com/lightningkite/rx/viewgenerators/EntryPoint.kt
lightningkite
400,655,884
false
{"Kotlin": 507296, "Java": 105216}
//! This file will translate using Khrysalis. package com.lightningkite.rx.viewgenerators /** * Implement this interface on your [ViewGenerator] to handle deep links and the back button being passed to the stack. */ interface EntryPoint: HasBackAction { fun handleDeepLink(schema: String, host: String, path: Stri...
0
Kotlin
0
2
156fa1ed18aebcb3c162b9e32e01eb72b711b36f
557
rxkotlin-plus
MIT License
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/sagemaker/CfnModelCardMetricDataItemsPropertyDsl.kt
cloudshiftinc
667,063,030
false
{"Kotlin": 63959868}
@file:Suppress( "RedundantVisibilityModifier", "RedundantUnitReturnType", "RemoveRedundantQualifierName", "unused", "UnusedImport", "ClassName", "REDUNDANT_PROJECTION", "DEPRECATION" ) package cloudshift.awscdk.dsl.services.sagemaker import cloudshift.awscdk.common.CdkDslMarker import ...
3
Kotlin
0
3
c59c6292cf08f0fc3280d61e7f8cff813a608a62
3,833
awscdk-dsl-kotlin
Apache License 2.0
mediator/src/main/kotlin/no/nav/dagpenger/saksbehandling/Configuration.kt
navikt
571,475,339
false
{"Kotlin": 116021, "Mustache": 4238, "PLpgSQL": 2764, "HTML": 699, "Dockerfile": 77}
package no.nav.dagpenger.saksbehandling import com.natpryce.konfig.ConfigurationMap import com.natpryce.konfig.ConfigurationProperties import com.natpryce.konfig.EnvironmentVariables import com.natpryce.konfig.Key import com.natpryce.konfig.overriding import com.natpryce.konfig.stringType import no.nav.dagpenger.oauth...
0
Kotlin
0
0
72be6c44da51158b2a0dd6c6282091cdbb185fdd
2,769
dp-saksbehandling
MIT License
TeamCode/src/main/kotlin/org/firstinspires/ftc/teamcode/robot/subsystems/Carousel.kt
Checkmate-12961
399,941,316
false
{"Java": 155602, "Kotlin": 132828}
/* The MIT License (MIT) Copyright © 2021 Checkmate Robotics 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, mer...
1
Java
2
1
6d31ec14108c4dcb360801db325aa29e4fdf5620
2,584
Freight-Frenzy
MIT License
libs/movieapi/src/main/java/com/deutschebahn/movieapi/model/MovieResult.kt
rdietrichberlin
504,472,022
false
{"Kotlin": 55596}
package com.deutschebahn.movieapi.model import androidx.annotation.Keep import com.google.gson.annotations.SerializedName @Keep data class MovieResult( val page: Int, val results: List<Movie>, val dates: Dates, @SerializedName("total_pages") val totalPpages: Int, @SerializedName("total_results") v...
0
Kotlin
0
1
d74df262aed7e221cb27e87b34159e537e36c4d7
774
dbchallenge
MIT License
src/test/kotlin/g3301_3400/s3309_maximum_possible_number_by_binary_concatenation/SolutionTest.kt
javadev
190,711,550
false
{"Kotlin": 4901773, "TypeScript": 50437, "Python": 3646, "Shell": 994}
package g3301_3400.s3309_maximum_possible_number_by_binary_concatenation import org.hamcrest.CoreMatchers.equalTo import org.hamcrest.MatcherAssert.assertThat import org.junit.jupiter.api.Test internal class SolutionTest { @Test fun maxGoodNumber() { assertThat<Int?>(Solution().maxGoodNumber(intArrayO...
0
Kotlin
20
43
471d45c60f669ea1a2e103e6b4d8d54da55711df
498
LeetCode-in-Kotlin
MIT License
app/src/main/java/com/bobs/mapque/gmapver/map/data/searchdialog/SearchModel.kt
spbobs
255,966,865
false
null
package com.bobs.mapque.gmapver.map.data.searchdialog import ir.mirrajabi.searchdialog.core.Searchable class SearchModel(private val title: String) : Searchable { override fun getTitle(): String = title }
0
Kotlin
0
0
f3a60eb80c71184b859c2333b354dd18edbc3585
210
MAPQUE_GMAPVER
Apache License 2.0
app/src/main/java/volovyk/petitions/data/remote/PetitionDatabase.kt
oleksandrvolovik
677,711,728
false
null
package volovyk.petitions.data.remote import kotlinx.coroutines.flow.Flow import volovyk.petitions.data.model.Category import volovyk.petitions.data.model.Petition import volovyk.petitions.data.remote.model.ListOfPetitions import volovyk.petitions.data.remote.model.ListOfSignatures import volovyk.petitions.data.remote...
0
Kotlin
0
0
a4064cb92fed9162c7b48996e0872ff90f0c684a
980
petition-kmu-android-client
MIT License
Utils/azuretools-core/src/com/microsoft/azuretools/core/mvp/model/functionapp/AzureFunctionAppMvpModel.kt
missingdays
217,682,622
true
{"Java": 7534276, "Kotlin": 1513664, "Scala": 150189, "JavaScript": 98350, "Gherkin": 80144, "HTML": 22998, "CSS": 21770, "Shell": 18476, "XSLT": 7141, "Batchfile": 1345}
/** * Copyright (c) 2019 JetBrains s.r.o. * <p/> * All rights reserved. * <p/> * MIT License * <p/> * 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 withou...
0
Java
0
0
2bb4e2239c273296841676072f612f072e19de4c
15,853
azure-tools-for-intellij
MIT License
jgBay/core/src/test/kotlin/com/jahnelgroup/jgbay/core/authentication/AuthenticationTests.kt
JahnelGroup
119,999,346
false
{"Text": 1, "Gradle": 5, "Shell": 3, "Ignore List": 4, "Batchfile": 2, "Markdown": 1, "Kotlin": 97, "SQL": 2, "Java Properties": 5, "YAML": 3, "Java": 30, "Groovy": 15}
package com.jahnelgroup.jgbay.user import com.jahnelgroup.jgbay.core.AbstractTest import org.junit.Test import org.springframework.security.test.context.support.WithMockUser import org.springframework.security.test.web.servlet.request.SecurityMockMvcRequestPostProcessors.httpBasic import org.springframework.test.web.s...
0
Kotlin
0
2
38dfd4682929709de969973210ae68aeeaf4af7c
1,303
sample-applications
MIT License
app/src/main/kotlin/net/rubygrapefruit/gen/generators/ConfigurationCacheProblemGenerator.kt
adammurdoch
430,814,411
false
{"Kotlin": 181951}
package net.rubygrapefruit.gen.generators import net.rubygrapefruit.gen.builders.BuildContentsBuilder import net.rubygrapefruit.gen.builders.PluginImplementationBuilder import net.rubygrapefruit.gen.builders.ProjectContentsBuilder class ConfigurationCacheProblemGenerator { fun buildContents(): Assembler<BuildCont...
0
Kotlin
0
0
0d47884136b4764f7dc901009614cfe435de5dda
1,574
build-gen
Apache License 2.0
app/src/test/java/com/viniciusjanner/desafio/sicredi/presentation/feature/list/EventListViewModelTest.kt
viniciusjanner
693,962,041
false
{"Kotlin": 108056}
package com.viniciusjanner.desafio.sicredi.presentation.feature.list import androidx.arch.core.executor.testing.InstantTaskExecutorRule import androidx.lifecycle.Observer import com.nhaarman.mockitokotlin2.any import com.nhaarman.mockitokotlin2.isA import com.nhaarman.mockitokotlin2.verify import com.nhaarman.mockitok...
0
Kotlin
0
0
331c012a814aca4d31c8cbd2b90ebe6451670e88
3,147
android_desafio_tecnico_empresa_sicredi
Apache License 2.0
app/src/test/java/com/viniciusjanner/desafio/sicredi/presentation/feature/list/EventListViewModelTest.kt
viniciusjanner
693,962,041
false
{"Kotlin": 108056}
package com.viniciusjanner.desafio.sicredi.presentation.feature.list import androidx.arch.core.executor.testing.InstantTaskExecutorRule import androidx.lifecycle.Observer import com.nhaarman.mockitokotlin2.any import com.nhaarman.mockitokotlin2.isA import com.nhaarman.mockitokotlin2.verify import com.nhaarman.mockitok...
0
Kotlin
0
0
331c012a814aca4d31c8cbd2b90ebe6451670e88
3,147
android_desafio_tecnico_empresa_sicredi
Apache License 2.0
sdr-mobile/app/src/main/java/space/sdrmaker/sdrmobile/dsp/demodulators.kt
BelmY
334,381,265
false
{"HTML": 367652, "Jupyter Notebook": 152457, "Kotlin": 144485, "C": 18104, "C++": 9259, "Ruby": 6464, "CMake": 3516}
package space.sdrmaker.sdrmobile.dsp.demodulators import kotlin.math.atan2 import kotlin.math.floor import kotlin.math.pow import kotlin.math.sqrt /** * Performs FM demodulation of interleaved complex signal contained in arrays provided by input iterator. * * @property input Iterator providing FloatArrays represen...
0
HTML
1
1
e60f4fefcfa7948db13cf5486a62853459521dff
3,089
SDRMS-sdr-mobile
Apache License 2.0
compiler/testData/diagnostics/tests/when/flexibleEnumInSubject.kt
JetBrains
3,432,266
false
null
// FIR_IDENTICAL // ISSUE: KT-56942 // FILE: EnumJava.java public enum EnumJava { JAVA_ONE, JAVA_TWO; public static EnumJava provide() { return EnumJava.JAVA_ONE; } } // FILE: EnumProviderJava.java public class EnumProviderJava { public static EnumJava provide() { return EnumJava.JAVA_ONE; } } // FILE: ...
181
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
1,120
kotlin
Apache License 2.0
feature-account-impl/src/main/java/jp/co/soramitsu/feature_account_impl/presentation/exporting/seed/ExportSeedViewModel.kt
soramitsu
278,060,397
false
null
package jp.co.soramitsu.feature_account_impl.presentation.exporting.seed import jp.co.soramitsu.common.data.secrets.v2.KeyPairSchema import jp.co.soramitsu.common.data.secrets.v2.MetaAccountSecrets import jp.co.soramitsu.common.resources.ResourceManager import jp.co.soramitsu.common.utils.deriveSeed32 import jp.co.sor...
1
Kotlin
14
53
6dafcbd972c4b510328feaf7459eefe76cab2075
3,123
fearless-Android
Apache License 2.0
src/main/kotlin/no/nav/klage/kaka/services/AdminService.kt
navikt
417,384,086
false
{"Kotlin": 452266, "Dockerfile": 134}
package no.nav.klage.kaka.services import no.nav.klage.kaka.clients.ereg.EregClient import no.nav.klage.kaka.clients.pdl.PdlFacade import no.nav.klage.kaka.repositories.SaksdataRepository import no.nav.klage.kaka.util.getLogger import no.nav.klage.kaka.util.getSecureLogger import no.nav.klage.kaka.util.isValidFnrOrDnr...
4
Kotlin
0
0
a273c2b6cff3f74120b0290de2386e4637cf3d08
4,909
kaka-api
MIT License
app/src/main/java/com/lora/skylink/domain/BluetoothDeviceConverter.kt
joshflugel
748,166,569
false
{"Kotlin": 120110}
package com.lora.skylink.domain import android.bluetooth.BluetoothAdapter import android.bluetooth.BluetoothDevice import com.lora.skylink.data.model.WirelessDevice interface BluetoothDeviceConverter { fun toBluetoothDevice(device: WirelessDevice): BluetoothDevice? } class BluetoothDeviceConverterImpl( priva...
0
Kotlin
0
2
7284f6e8f509e7168d8bb799b5762ef9180dffe3
546
SkyLink-Android-LoRaWAN
Apache License 2.0
sample/src/main/kotlin/main.kt
jisungbin
632,224,409
false
null
/* * Developed by <NAME>, 2023 * * Licensed under the MIT. * Please see full license: https://github.com/jisungbin/KotlinDataClassNoCopy/blob/main/LICENSE */ @file:Suppress("DataClassPrivateConstructor", "LocalVariableName") package land.sungbin.kotlin.dataclass.nocopy.sample import land.sungbin.kotlin.dataclas...
7
Kotlin
0
3
df6f7f693bf5e27a5815f4e8af34b93c809fd247
797
KotlinDataClassNoCopy
MIT License
sykepenger-model/src/test/kotlin/no/nav/helse/utbetalingstidslinje/UtbetalingTellerTest.kt
navikt
193,907,367
false
null
package no.nav.helse.utbetalingstidslinje import no.nav.helse.* import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Test import java.time.LocalDate internal class UtbetalingTellerTest { private val UNG_PERSON_FNR_2018 = "15010052345".somFødselsnummer().alder() private val PERSON_...
0
Kotlin
2
4
a3ba622f138449986fc9fd44e467104a61b95577
3,850
helse-spleis
MIT License
apps/bekreftelse-tjeneste/src/main/kotlin/no/nav/paw/bekretelsetjeneste/AnsvarTopology.kt
navikt
794,874,233
false
{"Kotlin": 721361, "Dockerfile": 143}
package no.nav.paw.bekretelsetjeneste import no.nav.paw.config.kafka.streams.genericProcess import no.nav.paw.rapportering.ansvar.v1.AnsvarEndret import no.nav.paw.bekreftelse.internehendelser.BekreftelseHendelse import org.apache.kafka.streams.StreamsBuilder context(ApplicationConfiguration, ApplicationContext) fun ...
0
Kotlin
0
1
b1c3dfd591983dd071d94b6dbdc04120ba7c6688
532
paw-arbeidssoekerregisteret-monorepo-intern
MIT License
android/src/main/kotlin/com/github/sroddy/flutterstringencryption/FlutterStringEncryptionPlugin.kt
Yash-Garg
416,478,475
false
{"Swift": 6084, "Kotlin": 2950, "Dart": 2589, "Ruby": 799, "Objective-C": 416}
package com.github.sroddy.flutterstringencryption import androidx.annotation.NonNull import io.flutter.embedding.engine.plugins.FlutterPlugin import io.flutter.plugin.common.MethodCall import io.flutter.plugin.common.MethodChannel import io.flutter.plugin.common.MethodChannel.MethodCallHandler import io.flutter.plugi...
0
Swift
1
1
0d0d6f35d631daf76b1e0b9d6567b7e40c61efab
2,950
flutter_string_encryption
MIT License
basic/src/main/java/com/chooongg/basic/utils/DeviceUtils.kt
Chooongg
508,242,844
false
null
package com.chooongg.utils import android.annotation.SuppressLint import android.content.Intent import android.net.Uri import android.os.Build import android.provider.Settings import com.chooongg.utils.ext.telephonyManager import java.io.File import java.util.* object DeviceUtils { /** * 设备是否有Root权限 */...
0
null
1
3
4b54bfb5058d3d2ba7f14929ffceb86fb90d3528
2,571
Learn
Apache License 2.0
foundation/src/main/java/com/zs/foundation/adaptive/TwoPaneStrategy.kt
iZakirSheikh
828,405,870
false
{"Kotlin": 508470}
/* * Copyright 2024 <NAME> * * Created by <NAME> on 07-08-2024. * * 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 require...
2
Kotlin
0
9
d50d21b35c72c8a3ad39558df122aa20902f1765
7,264
Gallery
Apache License 2.0
src/main/kotlin/dev/syoritohatsuki/fstatsbackend/routing/v2/MetricsRoute.kt
fStats
501,329,892
false
{"Kotlin": 34414, "HTML": 403}
package dev.syoritohatsuki.fstatsbackend.routing.v2 import dev.syoritohatsuki.fstatsbackend.dao.impl.MetricDAOImpl import dev.syoritohatsuki.fstatsbackend.dto.Metrics import dev.syoritohatsuki.fstatsbackend.mics.Database.SUCCESS import dev.syoritohatsuki.fstatsbackend.mics.respondMessage import io.ktor.http.* import i...
1
Kotlin
0
0
392a5fb086c789593d30bc7e4018de843697186d
1,099
fstats-backend
MIT License
feature/calendar/calendarEndless/src/main/kotlin/com/ngapps/phototime/feature/calendar/calendarEndless/CalendarSmall.kt
ngapp-dev
752,386,763
false
{"Kotlin": 1840445, "Shell": 10136}
/* * Copyright 2024 NGApps Dev (https://github.com/ngapp-dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * *...
0
Kotlin
0
3
dc6556f93cedf210597f0397ad3553de0fbb7a47
8,773
phototime
Apache License 2.0
core/src/main/kotlin/com/office/core/domain/service/ActivationCodeService.kt
5cmr
620,874,906
false
null
package com.office.core.domain.service import com.office.core.domain.dto.ActivationCodeDto import com.office.core.domain.entity.MActivationCode import com.office.core.domain.po.TActivationCode import com.office.core.domain.repository.ActivationCodeRepository import org.jetbrains.exposed.sql.Op import org.jetbrains.exp...
0
Kotlin
0
0
31b273d99f6070e45e2983d4445721b023eac367
4,349
office-user-auto-create
Apache License 2.0
app/src/main/java/com/ojhdtapp/parabox/ui/message/chat/EditAreaMode.kt
Parabox-App
482,740,446
false
{"Kotlin": 931869, "Java": 70712}
package com.ojhdtapp.parabox.ui.message.chat enum class EditAreaMode { NORMAL, AUDIO_RECORDER, LOCATION_PICKER }
0
Kotlin
5
98
044d9ed13bce54d28c8e95f344239f7ee8e6c451
117
Parabox
MIT License
composer/composer/src/test/kotlin/com/gojuno/composer/html/HtmlDeviceSpec.kt
trevjonez
95,816,622
false
null
package com.gojuno.composer.html import com.gojuno.composer.Device import com.gojuno.composer.testFile import org.assertj.core.api.Assertions.assertThat import org.spekframework.spek2.Spek import org.spekframework.spek2.style.specification.describe class HtmlDeviceSpec : Spek({ describe("Device.toHtmlDevice") { ...
11
Kotlin
18
55
b4aecb4cff8396e492dbd069b97dbca3d41948ce
868
composer-gradle-plugin
Apache License 2.0
app/src/main/java/social/entourage/android/api/model/notification/InAppNotificationPermission.kt
ReseauEntourage
30,242,877
false
{"Kotlin": 1938630}
package social.entourage.android.api.model.notification import com.google.gson.annotations.SerializedName class InAppNotificationPermission( @SerializedName("neighborhood") var neighborhood: Boolean = false, @SerializedName("outing") var outing: Boolean = false, @SerializedName("chat_message") ...
2
Kotlin
2
9
89275231b8fb304de4f8662d4d43fd47fcaf901f
529
entourage-android
MIT License
src/test/kotlin/rastsislaux/pgi/PrometheusGrahanaInvestigateApplicationTests.kt
rastsislaux
750,311,994
false
{"Kotlin": 546, "Dockerfile": 73}
package rastsislaux.pgi import org.junit.jupiter.api.Test import org.springframework.boot.test.context.SpringBootTest @SpringBootTest class PrometheusGrahanaInvestigateApplicationTests { @Test fun contextLoads() { } }
0
Kotlin
0
0
c47d08d9ab51dfed5307d53353199067a680bde6
234
spring-grafana-example
MIT License
app/src/main/java/com/jinxian/wenshi/base/fragment/BaseVMFragment.kt
qq326646683
297,927,240
false
null
package com.jinxian.wenshi.base.fragment import android.content.Context import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.appcompat.app.AppCompatActivity import androidx.fragment.app.Fragment import androidx.lifecycle.Observer import com....
1
C++
4
21
88e8e62f06b1568ecdb81201d9adfe026791b59d
2,531
wenshi_android
MIT License
plugins/gradle/java/testSources/dsl/GradleProjectTest.kt
JetBrains
2,489,216
false
null
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package org.jetbrains.plugins.gradle.dsl import com.intellij.psi.PsiMethod import com.intellij.testFramework.assertInstanceOf import groovy.lang.Closure.DELEGATE_FIRST import org.gradle.util.GradleV...
284
null
5162
16,707
def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0
7,001
intellij-community
Apache License 2.0
rentalproperty-be-app-spring-fu/src/main/kotlin/ru/otus/otuskotlin/vd/rentalproperty/be/app/spring/fu/controller/AdvertFlatController.kt
otuskotlin
327,227,710
false
null
package ru.otus.otuskotlin.vd.rentalproperty.be.app.spring.fu.controller import org.springframework.web.servlet.function.ServerRequest import org.springframework.web.servlet.function.ServerResponse import ru.otus.otuskotlin.vd.rentalproperty.be.business.logic.AdvertFlatCrud import ru.otus.otuskotlin.vd.rentalproperty....
1
Kotlin
1
0
d921e9c8ce4b071efa9ae7bc251f663660b8f5f6
1,476
otuskotlin-202012-rentalproperty-vd
MIT License
src/main/kotlin/jmdict/enums/DialectEnum.kt
Jackson-S
443,654,833
false
null
package jmdict.enums import jmdict.exceptions.MissingEnumException enum class DialectEnum(override val code: String, override val description: String) : InformationEnum { BRAZILIAN("bra", "Brazilian"), KYOTO_BEN("kyb", "Kyoto-ben"), OSAKA_BEN("osb", "Osaka-ben"), KANSAI_BEN("ksb", "Kansai-ben"), K...
0
Kotlin
0
0
3ce7765887d55a2701c2dbdcdd3fe82f97093fdc
872
JapaneseDictionaryRewrite
MIT License
airbyte-workload-launcher/src/main/kotlin/pipeline/stages/StageName.kt
airbytehq
592,970,656
false
{"Java": 8668087, "TypeScript": 3798201, "Kotlin": 3141590, "SCSS": 228528, "Shell": 94290, "Smarty": 78835, "Go": 66411, "JavaScript": 42636, "Python": 29918, "Mustache": 22194, "FreeMarker": 16959, "Dockerfile": 13368, "CSS": 12775, "MDX": 7660, "HCL": 6908, "D2": 3564, "Makefile": 3453, "HTML": 3253, "Starlark": 296...
package io.airbyte.workload.launcher.pipeline.stages enum class StageName { CLAIM, CHECK_STATUS, BUILD, MUTEX, LAUNCH, }
54
Java
249
205
a2e58f1b60ea79ec96546c98f712077c82de373a
132
airbyte-platform
MIT License
app/src/main/java/com/suihan74/satena/scenes/bookmarks/EntryMenuActions.kt
suihan74
207,459,108
false
null
package com.suihan74.satena.scenes.bookmarks import android.content.Context import android.content.Intent import androidx.fragment.app.FragmentActivity import com.suihan74.hatenaLib.Entry import com.suihan74.satena.R import com.suihan74.satena.models.EntryReadActionType import com.suihan74.satena.scenes.bookmarks.repo...
34
null
1
7
ee29a0ed1d60c9ee35bb03f128d0e39c58e3a4c4
4,711
Satena
MIT License
app/src/main/java/com/example/weatherapp/usecase/weatherforecast/base/GetWeatherForecastForLocationUseCase.kt
codeKrishnan
517,036,927
false
null
package com.example.weatherapp.usecase.weatherforecast.base import com.example.weatherapp.data.common.Result import com.example.weatherapp.data.weatherforecast.model.ForecastAPIResponse interface GetWeatherForecastForLocationUseCase { suspend operator fun invoke( latitude: String, longitude: Stri...
0
Kotlin
0
0
a1f93b61df09ed28ac452ae4ee1e2a64b5f7f34d
360
weather-app
Apache License 2.0
compiler/testData/debug/stepping/conjunction.kt
JetBrains
3,432,266
false
null
// FILE: test.kt fun box() { val k = if (getA() && getB() && getC() && getD()) { true } else { false } } fun getA() = true fun getB() = true fun getC() = false fun getD() = true // EXPECTATIONS JVM JVM_IR // test.kt:3 box // test.kt:13 getA // test.kt:3 box // te...
157
null
5608
45,423
2db8f31966862388df4eba2702b2f92487e1d401
513
kotlin
Apache License 2.0
app/src/main/java/com/payu/android/front/sdk/demo/ui/login/LoginViewModel.kt
PayU-EMEA
752,993,019
false
{"Gradle": 18, "Markdown": 2, "Java Properties": 2, "Shell": 1, "Text": 4, "Ignore List": 15, "Batchfile": 1, "XML": 100, "Proguard": 13, "Java": 454, "YAML": 2, "Kotlin": 85, "INI": 1}
package com.payu.android.front.sdk.demo.ui.login import androidx.databinding.ObservableBoolean import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import com.payu.android.front.sdk.demo.api.PayUApi import com.payu.android.front.sdk.demo.api.model.AuthenticateResponse import com.payu.android.fr...
0
Java
0
0
9e55091062f6d942abeeeebc77bf05108849aead
3,494
PayU-Android
Apache License 2.0
MyJournal/app/src/main/java/com/smart/journal/module/write/views/ToolView.kt
chenguandong
116,383,483
false
{"Text": 2, "Ignore List": 3, "Markdown": 1, "Gradle": 3, "Java Properties": 2, "Shell": 1, "Batchfile": 1, "Proguard": 1, "Java": 52, "XML": 106, "Kotlin": 73}
package com.smart.journal.module.write.views import android.content.Context import android.util.AttributeSet import android.view.View import android.widget.LinearLayout import androidx.core.content.ContextCompat import androidx.recyclerview.widget.LinearLayoutManager import com.smart.journal.R import com.smart.journal...
1
null
1
1
ee99cf5fe157f98b7b5c7b17fe00094206ea956e
2,114
MyJournal
MIT License
kotlin/src/test/kotlin/com/apileague/client/model/ScoreText200ResponseInterestingnessSubscoresTest.kt
ddsky
762,835,654
false
{"Text": 4, "Ignore List": 22, "OASv3-json": 1, "Markdown": 1446, "JSON": 11, "Go": 116, "Shell": 22, "Go Checksums": 1, "YAML": 20, "Go Module": 1, "OASv3-yaml": 4, "Perl": 209, "Dotenv": 1, "JavaScript": 416, "HTML": 1, "robots.txt": 1, "SVG": 1, "CSS": 2, "Option List": 3, "JSON with Comments": 3, "Gradle": 6, "Scal...
/** * * Please note: * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * Do not edit this file manually. * */ @file:Suppress( "ArrayInDataClass", "EnumEntryName", "RemoveRedundantQualifierName", "UnusedImport" ) package com.apileague.client.model import io.ko...
0
Java
0
1
adb9b7a999c98228a97c8350721d5e5a1a708eda
1,761
api-league-clients
MIT License
android/app/src/main/java/org/cryptimeleon/incentive/app/ui/benchmark/BenchmarkUi.kt
cryptimeleon
320,273,336
false
{"YAML": 3, "Text": 1, "Ignore List": 10, "Markdown": 9, "Gradle": 13, "Dockerfile": 2, "JSON": 3, "INI": 22, "Shell": 11, "Batchfile": 4, "Java": 225, "Java Properties": 1, "Proguard": 1, "Kotlin": 115, "XML": 16, "JavaScript": 6, "JSON with Comments": 1, "HTML": 1, "Vue": 14, "CSS": 1}
package org.cryptimeleon.incentive.app.ui.benchmark import android.content.Intent import androidx.compose.foundation.layout.* import androidx.compose.foundation.rememberScrollState import androidx.compose.foundation.verticalScroll import androidx.compose.material.icons.Icons import androidx.compose.material.icons.fill...
31
Java
0
2
a8e9c8830974b3705a2bca80a092ccfc102f6b90
6,006
incentive-system
Apache License 2.0