path
stringlengths
4
280
owner
stringlengths
2
39
repo_id
int64
21.1k
879M
is_fork
bool
2 classes
languages_distribution
stringlengths
13
1.95k
content
stringlengths
7
482k
issues
int64
0
13.9k
main_language
stringclasses
121 values
forks
stringlengths
1
5
stars
int64
0
111k
commit_sha
stringlengths
40
40
size
int64
7
482k
name
stringlengths
1
100
license
stringclasses
93 values
src/main/kotlin/io/lunarchain/lunarcoin/core/CodeStorage.kt
lunarchain
121,196,186
false
null
package io.lunarchain.lunarcoin.core class CodeStorage(val codeHash: ByteArray, val contractCode: ByteArray) { }
1
Kotlin
2
2
4f43e5965fb32ee451260d8b1ddef7ae41b684fb
113
lunarcoin-core
Apache License 2.0
buildSrc/src/main/kotlin/com/bigbackboom/tryandroidstuff/build/Deps.kt
BigBackBoom
564,838,607
false
null
package com.bigbackboom.tryandroidstuff.build object Deps { object AndroidX { private const val lifecycleVersion = "2.5.1" const val design = "com.google.android.material:material:1.7.0" const val appCompat = "androidx.appcompat:appcompat:1.5.1" const val constraintLayout = "andro...
5
Kotlin
0
0
43edf8dc30f2211789fa0b7a9fcc09dd58547cd4
2,235
try_android_stuff
Apache License 2.0
app/src/main/java/com/eslamwaheed/fakestore/base/BaseDialog.kt
EslamWaheed
539,901,655
false
{"Kotlin": 18952}
package com.eslamwaheed.fakestore.base import android.app.Dialog import android.content.DialogInterface import android.os.Bundle import androidx.appcompat.app.AlertDialog import androidx.fragment.app.DialogFragment import com.eslamwaheed.fakestore.R class BaseDialog( private val title: String?, private val me...
0
Kotlin
0
0
bdaeeef34297fc7964cce70b5bd89c04816ab62a
1,593
FakeStore
Apache License 2.0
app/src/main/java/com/eslamwaheed/fakestore/base/BaseDialog.kt
EslamWaheed
539,901,655
false
{"Kotlin": 18952}
package com.eslamwaheed.fakestore.base import android.app.Dialog import android.content.DialogInterface import android.os.Bundle import androidx.appcompat.app.AlertDialog import androidx.fragment.app.DialogFragment import com.eslamwaheed.fakestore.R class BaseDialog( private val title: String?, private val me...
0
Kotlin
0
0
bdaeeef34297fc7964cce70b5bd89c04816ab62a
1,593
FakeStore
Apache License 2.0
app/src/main/java/com/atorresveiga/bluecloud/data/UserLocationDatasource.kt
atorresveiga
349,074,627
false
null
/* * Copyright 2021 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
0
Kotlin
0
6
7c30dedb79dbce2cbc7dce686c49962b767e5409
3,213
android-dev-challenge-compose-weather
Apache License 2.0
src/main/kotlin/com/amitcul/translate_it/model/Translation.kt
AlexMitcul
836,668,344
false
{"Kotlin": 10238, "HTML": 1416, "JavaScript": 1174, "Dockerfile": 860, "CSS": 694, "Makefile": 231, "Shell": 57}
package com.amitcul.translate_it.model import java.time.LocalDateTime data class Translation( var id: Long? = null, var ipAddress: String, var sourceText: String, var translatedText: String, var sourceLang: String, var targetLang: String, var createdAt: LocalDateTime )
0
Kotlin
0
0
883f64355c57fe058808bd848c0c095b70af15b5
299
translate_it
MIT License
usvm-core/src/main/kotlin/org/usvm/statistics/distances/DistanceCalculator.kt
UnitTestBot
586,907,774
false
{"Kotlin": 2623226, "Java": 476836}
package org.usvm.statistics.distances import org.usvm.UCallStack /** * @see calculateDistance */ fun interface DistanceCalculator<Method, Statement, out Distance> { /** * Calculate distance from location represented by [currentStatement] and [callStack] to * some predefined targets. */ fun c...
36
Kotlin
6
9
6bafd5c9f8301c179f74f3e8f0e8c9e911aaa5e1
1,505
usvm
Apache License 2.0
src/main/kotlin/com/manager/labo/utils/DisplayInJTable.kt
pszerszen
588,879,286
false
null
package com.manager.labo.utils import com.manager.labo.view.components.TableModel import java.lang.annotation.Inherited @Inherited @Retention(AnnotationRetention.RUNTIME) @Repeatable @Target(AnnotationTarget.FIELD) annotation class DisplayInJTable(val name: TableModel, val order: Int)
1
Kotlin
0
1
4fb55867e3c5331aa211e9c056bab5f09303cd0d
288
promedlab-v2
The Unlicense
app/src/main/java/me/anon/lib/ext/NumberUtils.kt
7LPdWcaW
40,006,856
false
null
package me.anon.lib.ext import android.content.Context import android.util.TypedValue import kotlin.math.round public fun Double.round(decimals: Int): Double { var multiplier = 1.0 repeat(decimals) { multiplier *= 10 } return round(this * multiplier) / multiplier } public fun Number?.formatWhole(): String { retu...
21
null
31
147
61dea1bd9c5d618b5530725d817c30b20b267959
1,788
GrowTracker-Android
Apache License 2.0
imagepicker/src/main/java/com/nguyenhoanglam/imagepicker/model/GridCount.kt
nguyenhoanglam
64,893,333
false
null
/* * Copyright (C) 2021 Image Picker * Author: <NAME> <<EMAIL>> */ package com.nguyenhoanglam.imagepicker.model import android.os.Parcel import android.os.Parcelable data class GridCount(val portrait: Int, val landscape: Int) : Parcelable { constructor(parcel: Parcel) : this( parcel.readInt(), ...
21
Kotlin
151
545
3568d1a02d52ac85b5297045865c1c3d9df1a96d
844
ImagePicker
Apache License 2.0
YTubeVideo/app/src/main/java/com/htk/ytubevideo/core/config/YTubeApplication.kt
lsbloo
774,691,626
false
{"Kotlin": 63128}
package com.htk.ytubevideo.core.config import android.app.Application import androidx.startup.AppInitializer import com.google.firebase.FirebaseApp import com.htk.ytubevideo.core.base.ScopedModule import com.htk.ytubevideo.features.splash.di.SplashInject import org.koin.android.ext.koin.androidContext import org.koin....
0
Kotlin
0
0
3ec51fd7124fadcb56c890033465ac1cb93e623d
751
YTubeVideo
MIT License
app/src/main/java/com/rubens/applembretemedicamento/presentation/MainActivity.kt
rubens23
630,981,517
false
{"Kotlin": 339755}
package com.rubens.applembretemedicamento.presentation import android.app.PendingIntent import android.content.res.ColorStateList import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.util.Log import android.view.View import androidx.core.content.ContextCompat import androidx.datastor...
0
Kotlin
0
0
ca58da50e8261b8bff5eed592a0523f94bc09f98
15,404
DoseCerta
Apache License 2.0
agp-7.1.0-alpha01/tools/base/build-system/gradle-core/src/apiTest/kotlin/com/android/build/api/apiTest/buildsrc/ManifestUpdaterTest.kt
jomof
502,039,754
false
{"Java": 35519326, "Kotlin": 22849138, "C++": 2171001, "HTML": 1377915, "Starlark": 915536, "C": 141955, "Shell": 110207, "RenderScript": 58853, "Python": 25635, "CMake": 18109, "Batchfile": 12180, "Perl": 9310, "Dockerfile": 5690, "Makefile": 4535, "CSS": 4148, "JavaScript": 3488, "PureBasic": 2359, "GLSL": 1628, "AID...
/* * Copyright (C) 2020 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
1
Java
1
0
9e3475f6d94cb3239f27ed8f8ee81b0abde4ef51
4,138
CppBuildCacheWorkInProgress
Apache License 2.0
features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/timeline/model/event/TimelineItemStickerContentProvider.kt
element-hq
546,522,002
false
{"Kotlin": 8692554, "Python": 57175, "Shell": 39911, "JavaScript": 20399, "Java": 9607, "HTML": 9416, "CSS": 2519, "Ruby": 44}
/* * Copyright (c) 2023 New Vector Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
263
Kotlin
129
955
31d0621fa15fe153bfd36104e560c9703eabe917
1,635
element-x-android
Apache License 2.0
vscode/src/jsMain/kotlin/vscode/TreeCheckboxChangeEvent.kt
lppedd
761,812,661
false
{"Kotlin": 1887051}
package vscode import js.array.JsTuple2 import js.array.ReadonlyArray /** * An event describing the change in a tree item's checkbox state. */ external interface TreeCheckboxChangeEvent<T> { /** * The items that were checked or unchecked. */ val items: ReadonlyArray<JsTuple2<T, TreeItemCheckboxState>> }
0
Kotlin
0
3
0f493d3051afa3de2016e5425a708c7a9ed6699a
319
kotlin-externals
MIT License
src/main/kotlin/internals/systemCalls/calls/readFile.kt
ChippyPlus
850,474,357
false
{"Kotlin": 137591, "Python": 2332, "Java": 228, "Shell": 148}
package internals.systemCalls.calls import data.registers.enumIdenifiers.SuperRegisterType import data.registers.enumIdenifiers.SuperRegisterType.R2 import errors import fileDescriptors import helpers.VMFile import helpers.fullRegisterRead import helpers.fullRegisterWrite import helpers.writeClosestString import inter...
0
Kotlin
0
1
6308a3208d63f5865931a1439a3f828b28a6af8f
1,298
MVM
MIT License
src/main/kotlin/com/tang/hwplib/reader/util/CompoundFileReader.kt
accforaus
169,677,219
false
null
package com.tang.hwplib.reader.util import com.tang.hwplib.objects.fileheader.HWPFileVersion import com.tang.hwplib.util.exceptions.StreamReaderException import org.apache.poi.poifs.filesystem.DirectoryEntry import org.apache.poi.poifs.filesystem.DocumentEntry import org.apache.poi.poifs.filesystem.Entry import org.ap...
1
null
7
22
b828271f12a885dece5af5aa6281a1b2cf84d459
2,741
libhwp
Apache License 2.0
src/main/kotlin/com/codeflix/admin/catalog/domain/validation/handler/Notification.kt
Fernandounuts
753,396,308
false
{"Kotlin": 24619}
package com.codeflix.admin.catalog.domain.validation.handler import com.codeflix.admin.catalog.domain.exceptions.DomainException import com.codeflix.admin.catalog.domain.validation.Error import com.codeflix.admin.catalog.domain.validation.Validation import com.codeflix.admin.catalog.domain.validation.ValidationHandler...
0
Kotlin
0
0
f3c453852418ecf746a6993594b2a12b32fd359e
1,529
CodeFlix-Catalog
MIT License
app/src/main/java/net/appitiza/workmanager/app/moderno.kt
appitiza
131,850,434
false
null
package net.appitiza.workmanager.app import android.app.Application import android.support.multidex.MultiDexApplication import net.appitiza.workmanager.constants.Constants import net.appitiza.workmanager.utils.PreferenceHelper class Moderno : MultiDexApplication() { override fun onCreate() { super.onCreat...
2
Kotlin
3
5
adab092ddb838726cfbf24390728665effea2abf
388
workmanager
The Unlicense
app/src/main/java/com/wadera/kevin/opentracks_kotlin/settings/PreferencesOpenHelper.kt
kevwad
799,286,250
false
{"Kotlin": 5911}
package com.wadera.kevin.opentracks_kotlin.settings class PreferencesOpenHelper { companion object { fun newInstance(version: Int): PreferencesOpenHelper { return PreferencesOpenHelper(version) } } private val version: Int private constructor(version: Int) { this....
0
Kotlin
0
0
589c69f9e0530d1b3a3eeb8131773c97d208768f
346
OpenTracks-Kotlin
Apache License 2.0
app/src/main/java/com/goiz/pokedex/model/pokemon/Species.kt
gsesdras
311,452,829
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 193, "XML": 45, "Java": 1, "JSON": 1}
package com.goiz.pokedex.model.pokemon data class Species( val name: String, val url: String )
1
null
1
1
3d36c4f787ff76be4d327c19b45608c253ebdca8
103
afrodev_pokedex
MIT License
app/src/main/java/com/himanshuw/yff/HomeActivity.kt
waliahimanshu
294,806,425
false
null
package com.himanshuw.yff import android.annotation.SuppressLint import android.os.Bundle import com.google.android.material.bottomnavigation.BottomNavigationView import androidx.appcompat.app.AppCompatActivity import androidx.compose.ui.platform.setContent import androidx.navigation.findNavController import androidx....
1
Kotlin
0
0
63c89ba36b4089a9de8e9b62c4144c8a5ba2c3ce
1,427
YFF
MIT License
app/src/main/java/io/arjuningole/gpt/navGraph.kt
Arjun-Ingole
556,588,324
false
{"Kotlin": 18889}
package io.arjuningole.gpt import androidx.compose.runtime.Composable import androidx.navigation.NavHostController import androidx.navigation.compose.NavHost import androidx.navigation.compose.composable import io.arjuningole.gpt.home.HomeScreen import io.arjuningole.gpt.output.OutputScreen import io.arjuningole.gpt.s...
0
Kotlin
0
15
7ace9819d3548ff05d0b8862694c9e4940dccdb2
756
GPT-3.kt
The Unlicense
app/src/main/java/com/frogobox/kickstart/FrogoApplication.kt
100daycode
378,601,560
false
null
package com.frogobox.kickstart import android.app.Application import com.frogobox.kickstart.di.repositoryModule import com.frogobox.kickstart.di.viewModelModule import org.koin.android.ext.koin.androidContext import org.koin.android.ext.koin.androidLogger import org.koin.core.context.startKoin import org.koin.core.log...
0
Kotlin
0
0
a99bee5301fbdeb6e5bfde89b9b23ae1006e9329
928
learn-kotlin
Apache License 2.0
app/src/main/java/com/xdzl/golden/mango/application/viewmodel/MainViewModelFactory.kt
xhh4215
315,176,301
false
null
package com.xdzl.golden.mango.application.viewmodel import androidx.lifecycle.ViewModel import androidx.lifecycle.ViewModelProvider import java.lang.IllegalArgumentException class MainViewModelFactory(private val loginStatus: String) : ViewModelProvider.Factory { override fun <T : ViewModel?> create(modelClass: C...
1
null
1
1
beae1136c4e66e0706554fd73148c5a70af9aad8
538
JetPackProject
Apache License 2.0
composeApp/shared/src/commonMain/kotlin/shared/features/carcasses/CarcassesScreen.kt
joharei
772,430,932
false
{"Kotlin": 57435, "Swift": 1006}
package shared.features.carcasses import androidx.compose.animation.Crossfade import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.PaddingValues import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundat...
0
Kotlin
0
0
afba1f62445f6b5a532c754cf16ccb781adb3ade
3,785
tender
Apache License 2.0
src/test/kotlin/uk/gov/justice/digital/hmpps/hmppsmanageprisonvisitsorchestration/integration/prisoner/profile/GetPrisonerProfileTest.kt
ministryofjustice
575,484,836
false
null
package uk.gov.justice.digital.hmpps.hmppsmanageprisonvisitsorchestration.integration.prisoner.profile import org.assertj.core.api.Assertions import org.junit.jupiter.api.DisplayName import org.junit.jupiter.api.Test import org.mockito.kotlin.any import org.mockito.kotlin.times import org.mockito.kotlin.verify import ...
3
Kotlin
0
2
5c7b703730a6019e7d910b946b77974ae6082463
18,476
hmpps-manage-prison-visits-orchestration
MIT License
Server/src/main/java/i/blog/handlers/exceptions/ExceptionUtils.kt
ExplodingDragon
331,065,842
false
null
package i.blog.handlers.exceptions import org.springframework.http.HttpStatus object ExceptionUtils { fun httpRequestException(httpStatus: HttpStatus): ApplicationException = ApplicationException(httpStatus.value(), httpStatus.reasonPhrase) fun badRequest(msg: String = "Bad Request!"): ApplicationExc...
0
Kotlin
0
0
36ee137d27f6cd378a28753d2b557ff16b01e65b
990
Blog
MIT License
src/main/kotlin/fp/kotlin/example/chapter05/solution/5-18-productByFunStream.kt
funfunStory
101,662,895
false
null
package fp.kotlin.example.chapter05.solution import fp.kotlin.example.chapter05.FunStream import fp.kotlin.example.chapter05.foldLeft import fp.kotlin.example.chapter05.funStreamOf /** * * 연습문제 5-18 * * FunList에서 작성했던 product 함수를 FunStream에도 추가하자. * * 힌트: 함수의 선언 타입은 아래와 같다. * */ fun main() { require(funS...
1
Kotlin
23
39
bb10ea01d9f0e1b02b412305940c1bd270093cb6
519
fp-kotlin-example
MIT License
app/src/main/java/com/borabor/travelguideapp/presentation/base/BaseFragment.kt
bbor98
549,990,639
false
{"Kotlin": 85117}
package com.borabor.travelguideapp.presentation.base import android.os.Bundle import android.view.LayoutInflater import android.view.ViewGroup import androidx.annotation.LayoutRes import androidx.databinding.DataBindingUtil import androidx.databinding.ViewDataBinding import androidx.databinding.library.baseAdapters.BR...
0
Kotlin
0
1
5905569b24a455f37e98f1dde409eddb8b7a9582
1,022
travel-guide-app
MIT License
arch/src/main/java/arch/BaseApp.kt
slp
250,540,490
true
{"Kotlin": 183410, "Java": 1863}
package arch import androidx.multidex.MultiDexApplication open class BaseApp : MultiDexApplication() { companion object { lateinit var instance: BaseApp private set } override fun onCreate() { super.onCreate() instance = this } }
2
Kotlin
2
7
d5a9adff1e14cde72790b02dbbae92f7272e8ad2
273
erouska-android
MIT License
apollo-engine-reporter/src/test/kotlin/com/gabrielterwesten/apollo/engine/E2ETest.kt
blaugold
222,702,655
false
{"Gradle Kotlin DSL": 3, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "INI": 1, "YAML": 2, "XML": 11, "Kotlin": 36, "Java": 1}
package com.gabrielterwesten.apollo.engine import graphql.GraphQL import graphql.execution.instrumentation.ChainedInstrumentation import graphql.execution.instrumentation.tracing.TracingInstrumentation import graphql.schema.StaticDataFetcher import graphql.schema.idl.RuntimeWiring import graphql.schema.idl.SchemaGener...
0
Kotlin
0
1
4c4d4464d029426413c062bdb82ca4ce647da261
2,087
apollo-engine-reporter
MIT License
src/academy/learnprogramming/datastructures/EnumExample.kt
bladefistx2
430,293,814
false
{"Kotlin": 19902, "Java": 1795}
package academy.learnprogramming.datastructures enum class Department(val fullName: String, val numEmployees: Int) { HR("Human Resources", 5), IT("Information Technology", 10), ACCOUNTING("Accounting", 3), SALES("Sales", 20); fun getDeptInfo() = "The $fullName department has $numEmployees employees" }
0
Kotlin
0
0
a8349446e202c187a0860614acc503fb412967ea
316
learn-kotlin
Apache License 2.0
app/src/main/java/com/mohmmed/mosa/eg/towmmen/domin/repostory/PurchaseRepository.kt
M4A28
842,519,543
false
{"Kotlin": 877792}
package com.mohmmed.mosa.eg.towmmen.domin.repostory import com.mohmmed.mosa.eg.towmmen.data.module.Purchase import com.mohmmed.mosa.eg.towmmen.data.module.PurchaseItem import com.mohmmed.mosa.eg.towmmen.data.module.PurchaseWithItems import kotlinx.coroutines.flow.Flow interface PurchaseRepository { fun getAllPur...
0
Kotlin
0
0
37a6e192262f4995f599978957d1b39257fd88a9
1,049
Towmmen
MIT License
gradle-plugin/src/main/kotlin/com/improve_future/harmonica/task/JarmonicaUpMain.kt
KenjiOhtsuka
132,746,579
false
{"Kotlin": 227314}
/* * Harmonica: Kotlin Database Migration Tool * Copyright (c) 2022 <NAME> * * This software is released under the MIT License. * http://opensource.org/licenses/mit-license.php */ package com.improve_future.harmonica.task import com.improve_future.harmonica.plugin.JarmonicaArgument object JarmonicaUpMain : Jar...
31
Kotlin
17
132
fbb6f54990451e4ffa9d4ad0d9edee4943ebae1a
1,950
harmonica
MIT License
sms-persistence/src/main/kotlin/team/msg/sms/global/config/JpaConfig.kt
GSM-MSG
625,717,097
false
{"Kotlin": 529822, "Shell": 1480, "Dockerfile": 288}
package team.msg.sms.global.config import org.springframework.context.annotation.ComponentScan import org.springframework.context.annotation.Configuration import org.springframework.context.annotation.FilterType import org.springframework.data.jpa.repository.config.EnableJpaRepositories @Configuration @EnableJpaRepo...
7
Kotlin
0
9
871482bf7f1895f160fe6b6d2b99ff712ae4cd63
1,328
SMS-BackEnd
MIT License
app/src/main/java/me/simonpojok/sportlive/ui/common/fragments/destination/UiDestinationToNavigationMapper.kt
simonpojok
525,328,215
false
null
package me.simonpojok.sportlive.ui.common.fragments.destination import me.simonpojok.sportlive.ui.common.viewmodel.Destination import me.simonpojok.sportlive.ui.common.viewmodel.UiDestination interface UiDestinationToNavigationMapper { fun map(destination: Destination): UiDestination }
0
Kotlin
0
0
a21ab137d08e03862bde485a8fe2329f17bfa9c4
293
sportLive
MIT License
src/main/kotlin/wiki/mdzz/utils/tree/Trie.kt
limitLiu
231,546,946
false
null
package wiki.mdzz.utils.tree import wiki.mdzz.utils.map.HashMap class Trie<V> { private var size = 0 private var root: Node<V>? = null fun size(): Int { return size } val isEmpty: Boolean get() = size() == 0 fun clear() { size = 0 root = null } fun a...
0
Kotlin
1
0
e613e47ad22d42eb4efa0b99f6f9da620e63982d
3,017
algorithm
MIT License
domain/src/main/java/com/aitor/samplemarket/domain/usecase/FetchDiscounts.kt
JavierSegoviaCordoba
292,857,508
true
{"Kotlin": 62708}
package com.aitor.samplemarket.domain.usecase import arrow.core.Option import com.aitor.samplemarket.domain.model.Discount class FetchDiscounts(private val discountRepository: com.aitor.samplemarket.domain.repository.DiscountRepository) { operator fun invoke(): Option<Discount> { return discountRepository...
0
null
0
0
09b85b990004955b2a9b50150cde528a7716bc27
345
Android-Market-App-CleanArchitecture
Apache License 2.0
simple-icons/src/commonMain/kotlin/compose/icons/simpleicons/Bitcoinsv.kt
DevSrSouza
311,134,756
false
{"Kotlin": 36719092}
package compose.icons.simpleicons import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Butt import androidx.compose.ui.graphics.StrokeJoin.Miter import androidx.compose.ui.graphics...
17
Kotlin
25
571
a660e5f3033e3222e3553f5a6e888b7054aed8cd
4,402
compose-icons
MIT License
solidfragment/src/main/java/com/mitteloupe/solid/fragment/handler/NavigationHandler.kt
EranBoudjnah
223,144,820
false
null
package com.mitteloupe.solid.fragment.handler import androidx.fragment.app.Fragment interface NavigationHandler { /** * @see Fragment.onPrimaryNavigationFragmentChanged */ fun onPrimaryNavigationFragmentChanged(isPrimaryNavigationFragment: Boolean) }
0
Kotlin
0
35
c022a6f6d905262647da4cc737b776e5c0601a09
271
solid
MIT License
platform/workspace/storage/tests/testSrc/com/intellij/platform/workspace/storage/tests/AssertConsistencyTest.kt
JetBrains
2,489,216
false
null
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package com.intellij.platform.workspace.storage.tests import com.intellij.platform.workspace.storage.impl.AbstractEntityStorage import com.intellij.platform.workspace.storage.impl.assertConsistency ...
284
null
5162
16,707
def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0
989
intellij-community
Apache License 2.0
dcache/src/main/java/dora/http/DoraCallback.kt
dora4
378,306,065
false
null
package dora.http import retrofit2.Call import retrofit2.Callback import retrofit2.Response abstract class DoraCallback<M> : Callback<M> { abstract fun onSuccess(model: M) abstract fun onFailure(code: Int, msg: String?) override fun onResponse(call: Call<M>, response: Response<M>) { if (respons...
0
Kotlin
1
7
99b570a5e04b616ac1cd18be02d086b0f76cc3d9
635
dcache-android
Apache License 2.0
app/src/main/kotlin/br/com/joffer/mango/features/payment/creditcard/CardPrimingPresenter.kt
felipejm
179,542,089
false
{"Kotlin": 63931}
package br.com.joffer.mango.features.payment.creditcard import java.io.Serializable interface CardPrimingPresenter { fun onCreate() fun onReceiveSerializable(serializableExtra: Serializable?) fun onRegisterNewClicked() }
0
Kotlin
0
0
657146c9970511ada26b39cac701c55ab5f0438a
234
Desafio-PicPay-Android-iOS
Apache License 2.0
JPAAnnotationReaderAPI/src/main/kotlin/net/dankito/jpa/apt/serializer/json/ReflectionClassesSerializerBase.kt
dankito
94,338,853
false
{"Gradle": 5, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "Java Properties": 1, "Kotlin": 47, "Java": 40}
package net.dankito.jpa.apt.serializer.json import com.fasterxml.jackson.core.JsonGenerator import com.fasterxml.jackson.databind.SerializerProvider import com.fasterxml.jackson.databind.ser.std.StdSerializer import java.lang.reflect.Member abstract class ReflectionClassesSerializerBase<T: Member>(clazz: Class<T>) :...
0
Kotlin
0
0
b58ca2f3cad0e95584b5a783c355a49a03600482
895
jpa-apt
Apache License 2.0
themes/new-ui/new-ui-standalone/src/main/kotlin/org/jetbrains/jewel/themes/expui/standalone/style/AreaProvider.kt
JetBrains
440,164,967
false
null
package io.kanro.compose.jetbrains.expui.style interface AreaProvider { val normalAreaColors: AreaColors } interface ErrorAreProvider : AreaProvider { val errorAreaColors: AreaColors } interface ErrorFocusAreaProvider : ErrorAreProvider, FocusAreaProvider { val errorFocusAreaColors: AreaColors } interfa...
17
null
8
318
817adc042a029698983c9686d0f1497204bfdf14
1,232
jewel
Apache License 2.0
src/test/kotlin/ui/settings/reducer/ChangeCategoryNameReducerImplTest.kt
gmatyszczak
171,290,380
false
null
package ui.settings.reducer import com.nhaarman.mockitokotlin2.verify import com.nhaarman.mockitokotlin2.verifyZeroInteractions import kotlinx.coroutines.test.TestCoroutineScope import model.Category import model.CategoryScreenElements import model.ScreenElement import org.junit.Before import org.junit.Test import org...
5
Kotlin
27
130
1fcfbb0bf39d6f1dbe3b69016c39fb3d79214e7e
1,334
screen-generator-plugin
Apache License 2.0
ConverterApp/app/src/main/java/com/example/converter/domain/entities/Coin.kt
fsalom
721,109,040
false
{"Kotlin": 90906}
package com.example.converter.domain.entities import java.io.Serializable data class Coin( val id: String = "", val symbol: String = "", val name: String = "", val priceUsd: Double = 0.0 ): Serializable
0
Kotlin
0
0
7341a535c6348547434b93a17aa35904201bb22f
220
android-compose-clean-architecture
MIT License
PoC/android/app/src/main/java/com/epam/crowdresitance/ui/AdvertiserFragment.kt
epam
255,630,202
false
null
// ========================================================================= // Copyright 2020 EPAM Systems, 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.o...
1
Kotlin
2
6
48190bd062cdd7a78883f9ef6b5db70de5de1463
2,575
covid-tracing-bluetooth-poc
Apache License 2.0
remote/src/main/java/com/hu/dgswgr/remote/request/lol/LolCreateRequest.kt
8954sood
664,697,491
false
null
package com.hu.dgswgr.remote.request.lol import com.google.gson.annotations.SerializedName data class LolCreateRequest( @field:SerializedName("name") val name: String )
0
Kotlin
0
0
886aea70ea47b85b747ef6bf829fb1724a4e3388
174
DGSW-GR
MIT License
shared/src/commonMain/kotlin/com/sedsoftware/nxmods/component/modlist/store/ModsListStore.kt
djkovrik
555,405,236
false
null
package com.sedsoftware.nxmods.component.modlist.store import com.arkivanov.mvikotlin.core.store.Store import com.sedsoftware.nxmods.component.modlist.store.ModsListStore.Intent import com.sedsoftware.nxmods.component.modlist.store.ModsListStore.Label import com.sedsoftware.nxmods.component.modlist.store.ModsListStore...
0
Kotlin
0
0
45839defa1eb6d52eec9399a2358c1436ea61947
822
NXMods
MIT License
app/src/main/java/dev/abhaycloud/fdtracker/domain/usecase/GetFixedDepositByIDUseCase.kt
Abhay-cloud
816,359,684
false
{"Kotlin": 164703}
package dev.abhaycloud.fdtracker.domain.usecase import dev.abhaycloud.fdtracker.domain.model.FixedDeposit import dev.abhaycloud.fdtracker.domain.repository.FixedDepositRepository import kotlinx.coroutines.flow.Flow import javax.inject.Inject class GetFixedDepositByIDUseCase @Inject constructor(private val repository:...
2
Kotlin
4
32
a8ab2db4b600c29ecfffe45c263305bf939a5142
431
Fixed-Deposit-Tracker
MIT License
app/src/main/java/com/betulnecanli/purplepage/data/dao/ProjectsDao.kt
betulnecanli
522,035,167
false
{"Kotlin": 62419}
package com.betulnecanli.purplepage.data.dao import androidx.room.* import com.betulnecanli.purplepage.data.model.Projects import kotlinx.coroutines.flow.Flow @Dao interface ProjectsDao { @Insert(onConflict = OnConflictStrategy.REPLACE) suspend fun insertProject(p : Projects) @Update suspend fun upd...
0
Kotlin
0
2
864b6385e6f79bf2f4e793a126d5a0ee3e74ad40
690
PurplePage
Apache License 2.0
app/src/androidTest/java/com/lora/skylink/presentation/PermissionsFragmentEndToEndInstrumentationTest.kt
joshflugel
748,166,569
false
{"Kotlin": 120110}
package com.lora.skylink.presentation import android.content.Intent import android.widget.Switch import androidx.test.espresso.Espresso.onView import androidx.test.espresso.action.ViewActions import androidx.test.espresso.assertion.ViewAssertions.matches import androidx.test.espresso.matcher.ViewMatchers.isDisplayed...
0
Kotlin
0
2
7284f6e8f509e7168d8bb799b5762ef9180dffe3
5,317
SkyLink-Android-LoRaWAN
Apache License 2.0
src/commonMain/kotlin/io/smallibs/aktor/ActorContext.kt
Smallibs
159,055,361
false
null
package io.smallibs.aktor interface ActorContext<T> { val self: ActorReference<T> fun root(): ActorReference<*> fun parent(): ActorReference<*>? fun children(): Collection<ActorReference<*>> }
2
Kotlin
1
7
e8276ac9dcc8cf14ef253e7c32a74bf9f7af6a2b
214
aktor
Apache License 2.0
api/src/commonMain/kotlin/krono/serializers/LocalDateIsoSerializer.kt
picortex
544,285,520
false
{"Kotlin": 73072}
package krono.serializers import kotlinx.serialization.KSerializer import kotlinx.serialization.Serializer import kotlinx.serialization.descriptors.PrimitiveKind import kotlinx.serialization.descriptors.PrimitiveSerialDescriptor import kotlinx.serialization.encoding.Decoder import kotlinx.serialization.encoding.Encode...
0
Kotlin
0
1
8aeadd94e2f510dd4217298abf052646beef5f7c
800
krono
MIT License
app/src/main/java/org/coepi/android/extensions/ListExtensions.kt
Co-Epi
249,138,523
false
null
package org.coepi.android.extensions fun <T> List<T>.add(index: Int, element: T): List<T> = toMutableList().apply { add(index, element) }
14
null
20
32
54cffa441d27d18ba33d7719a34dc9b5c9125262
155
app-android
MIT License
arrow-libs/fx/arrow-benchmarks-fx/arrow-kio-benchmarks/src/main/kotlin/kio/Delay.kt
tiarebalbi
111,073,383
false
null
package arrow.benchmarks.effects.kio import it.msec.kio.UIO import it.msec.kio.effect import it.msec.kio.flatMap import it.msec.kio.runtime.Runtime object Delay { private fun kioDelayLoop(size: Int, i: Int): UIO<Int> = effect { i }.flatMap { j -> if (j > size) effect { j } else kioDelayLoop(size, j + 1) ...
1
null
1
1
12f047b4a7d267e622933bc991f57a05ecf63add
434
kategory
Apache License 2.0
lib/theme/src/main/java/com/dinesh/theme/ToolbarManager.kt
Dinesh2811
745,880,179
false
{"Kotlin": 1200547, "Java": 206284, "JavaScript": 20260}
package com.dinesh.theme import android.util.Log import android.view.Menu import android.view.MenuInflater import android.view.MenuItem import android.widget.PopupMenu import androidx.annotation.MenuRes import androidx.appcompat.app.AppCompatActivity import androidx.appcompat.widget.Toolbar import androidx.viewbinding...
0
Kotlin
0
1
d5b4b55728848196c71c351c186df7e57ad4e8c2
3,482
Android101
Apache License 2.0
SimpleLogin/app/src/main/java/io/simplelogin/android/utils/extension/View.kt
simple-login
244,631,377
false
{"Kotlin": 341987}
package io.simplelogin.android.utils.extension import android.animation.ValueAnimator import android.view.View import android.view.ViewOutlineProvider import android.view.animation.AnimationUtils import android.view.animation.LinearInterpolator import io.simplelogin.android.R @Suppress("MagicNumber") fun View.customS...
23
Kotlin
39
312
46a0b7a7d9c560d7f230b11788d9c52ab74d50d5
915
Simple-Login-Android
Apache License 2.0
sample-app/src/main/java/dev/arunkumar/android/home/HomeActivity.kt
aleonq
397,084,334
true
{"Kotlin": 148553, "Dockerfile": 1501}
/* * Copyright 2021 Arunkumar * * 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...
0
null
0
0
0a3f69860737517cf216a3dc569f786aa09464dd
3,850
base-android
Apache License 2.0
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsresettlementpassportapi/events/OffenderEventEntity.kt
ministryofjustice
665,659,688
false
{"Kotlin": 1538950, "Dockerfile": 1997}
package uk.gov.justice.digital.hmpps.hmppsresettlementpassportapi.events import jakarta.persistence.Entity import jakarta.persistence.EntityListeners import jakarta.persistence.EnumType import jakarta.persistence.Enumerated import jakarta.persistence.Id import jakarta.persistence.Table import org.springframework.data....
0
Kotlin
2
1
a7251ff491a6fc063e49389c00a9feac76bbf1d1
1,072
hmpps-resettlement-passport-api
MIT License
features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/timeline/components/event/TimelineItemPollView.kt
vector-im
546,522,002
false
null
/* * Copyright (c) 2023 New Vector Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
105
Kotlin
32
287
4587b51bd33e8b5a2e2c81c79f3aa70a3ac52923
2,046
element-x-android
Apache License 2.0
core/src/main/kotlin/io/toolisticon/testing/jgiven/format/VarargsFormatter.kt
toolisticon
333,476,571
false
{"Kotlin": 7119}
package io.toolisticon.testing.jgiven.format import com.tngtech.jgiven.annotation.Format import com.tngtech.jgiven.format.ArgumentFormatter import com.tngtech.jgiven.format.PrintfFormatter import kotlin.annotation.AnnotationRetention.RUNTIME import kotlin.annotation.AnnotationTarget.* /** * Varargs step parameters ...
2
Kotlin
2
5
9e6d6d9f0520d661f855cd53e772237765fee97f
1,820
jgiven-kotlin
Apache License 2.0
projects/Kotlin/src/com/chronoxor/proto/fbe/FinalClient.kt
jiangnengbin
192,683,164
true
{"C++": 3655487, "Yacc": 16374, "Lex": 12641, "CMake": 8673, "C": 80}
// Automatically generated by the Fast Binary Encoding compiler, do not modify! // https://github.com/chronoxor/FastBinaryEncoding // Source: proto.fbe // Version: 1.3.0.0 @file:Suppress("UnusedImport", "unused") package com.chronoxor.proto.fbe // Fast Binary Encoding com.chronoxor.proto final client @Suppress("Memb...
0
C++
0
0
5e3e0e96e39a753cd0934a62781e8a5ecd1d7271
7,502
FastBinaryEncoding
MIT License
web/src/main/java/com/codeabovelab/tpc/web/ui/UiDocProcessController.kt
codeabovelab
159,236,130
false
null
package com.codeabovelab.tpc.web.ui import com.codeabovelab.tpc.core.processor.Label import com.codeabovelab.tpc.core.processor.ProcessorReport import com.codeabovelab.tpc.web.docproc.DocProcessor import com.codeabovelab.tpc.web.docproc.ProcessorReportsStorage import com.codeabovelab.tpc.web.jpa.ProcessorReportEntity ...
0
Kotlin
0
0
ee62aeecc62baefabd6085ad659e6cf5a1b237ff
2,591
text-compliance
Apache License 2.0
core/src/main/kotlin/com/github/andrewoma/kwery/core/Row.kt
tbml
33,686,630
true
{"Kotlin": 333272, "Java": 31398, "HTML": 7111, "Scala": 2252, "Shell": 116}
/* * Copyright (c) 2015 <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, merge, publish, dis...
0
Kotlin
0
0
15c5cab3e1452d24133ad3bf12ca98bb8dbd3239
4,804
kwery
MIT License
src/main/kotlin/dev/galiev/sc/items/custom/WaterCan.kt
GalievDev
628,931,160
false
{"Kotlin": 88302, "Java": 6133}
package dev.galiev.sc.items.custom import dev.galiev.sc.SummerCottage import dev.galiev.sc.SummerCottage.RANDOM import dev.galiev.sc.helper.NbtHelper import net.fabricmc.fabric.api.item.v1.FabricItemSettings import net.minecraft.block.CropBlock import net.minecraft.block.Material import net.minecraft.client.item.Toolt...
0
Kotlin
0
0
2c5fd9aaea3001af6e88433c5d9685145552e019
4,059
summer-cottage
MIT License
src/main/kotlin/ch/unil/pafanalysis/analysis/steps/group_filter/GroupFilterRunner.kt
UNIL-PAF
419,229,519
false
null
package ch.unil.pafanalysis.analysis.steps.group_filter import ch.unil.pafanalysis.analysis.model.AnalysisStep import ch.unil.pafanalysis.analysis.model.AnalysisStepType import ch.unil.pafanalysis.analysis.steps.CommonRunner import ch.unil.pafanalysis.analysis.steps.CommonStep import com.itextpdf.kernel.pdf.PdfDocumen...
0
Kotlin
0
0
f91130040eb640029a94d486fd77a6c311f9476e
2,541
paf-analysis-backend
MIT License
app/src/main/java/com/zhangke/notionlight/setting/SettingActivity.kt
0xZhangKe
468,651,930
false
{"Kotlin": 207160, "HTML": 1745}
package com.zhangke.notionlight.setting import android.app.Activity import android.content.Intent import android.os.Bundle import androidx.activity.compose.setContent import androidx.activity.viewModels import androidx.compose.foundation.* import androidx.compose.foundation.layout.* import androidx.compose.foundation....
0
Kotlin
11
94
f5ba12c5f80cfd192a5667e488ccd86c00b6a65b
19,662
NotionLight
Apache License 2.0
connectors/v20182/src/main/java/de/pbauerochse/worklogviewer/connector/v2018/domain/grouping/UnknownGroupByParameter.kt
Bhanditz
168,944,765
false
null
package de.pbauerochse.worklogviewer.connector.v2018.domain.grouping import com.fasterxml.jackson.annotation.JsonIgnoreProperties import de.pbauerochse.worklogviewer.connector.GroupByParameter @JsonIgnoreProperties(ignoreUnknown = true) class UnknownGroupByParameter : GroupByParameter { override val id: String = ...
1
null
1
1
bf2cd66f3fc030d501f5a0c72827ba3e30aae555
379
youtrack-worklog-viewer
MIT License
tmp/arrays/kotlinAndJava/448.kt
mandelshtamd
249,374,670
true
{"Kotlin": 7965847}
//File A.java import kotlin.Metadata; import kotlin.jvm.internal.MutablePropertyReference1Impl; import kotlin.jvm.internal.Reflection; import kotlin.properties.Delegates; import kotlin.properties.ReadWriteProperty; import kotlin.reflect.KProperty; import org.jetbrains.annotations.NotNull; public class A { // $FF: s...
1
Kotlin
1
1
da010bdc91c159492ae74456ad14d93bdb5fdd0a
1,216
bbfgradle
Apache License 2.0
app/src/main/java/com/example/mycommish/ui/theme/Color.kt
moaliyou
786,551,198
false
{"Kotlin": 13516}
package com.example.mycommish.ui.theme import androidx.compose.ui.graphics.Color val md_theme_light_primary = Color(0xFF4659A9) val md_theme_light_onPrimary = Color(0xFFFFFFFF) val md_theme_light_primaryContainer = Color(0xFFDDE1FF) val md_theme_light_onPrimaryContainer = Color(0xFF001355) val md_theme_light_secondar...
1
Kotlin
0
0
dac4e5b542774e6639c17631a5006b7ceff5abf0
3,202
My-Commish
MIT License
paletteon-icons/src/commonMain/kotlin/dev/teogor/paletteon/icons/filled/ContrastDropInverse.kt
teogor
849,961,511
false
{"Kotlin": 482882}
/* * Copyright 2024 Teogor (<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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
0
Kotlin
0
2
de712f6bb9d48be94e204086cbddabd32110d61d
2,609
paletteon
Apache License 2.0
app/src/main/java/employee/summon/asano/adapter/FilterableAdapter.kt
kwote
130,745,182
false
{"Gradle": 3, "Java Properties": 1, "Text": 1, "Ignore List": 2, "Markdown": 1, "Proguard": 1, "Java": 2, "XML": 40, "Kotlin": 28}
package employee.summon.asano.adapter import android.support.v7.widget.RecyclerView import android.widget.Filterable abstract class FilterableAdapter<T : RecyclerView.ViewHolder> : RecyclerView.Adapter<T>(), Filterable
0
Kotlin
0
0
2f5b2866bb67048dcc67b42f93a5d18e18e68dab
220
summon_employee_android
MIT License
EjemploRecycler2223/app/src/main/java/com/example/ejemplorecycler2223/MainActivity.kt
aranzabe
542,008,470
false
{"Text": 28, "Ignore List": 111, "Markdown": 1, "Gradle": 103, "Java Properties": 83, "Shell": 32, "Batchfile": 32, "Proguard": 39, "Kotlin": 195, "XML": 1028, "Gradle Kotlin DSL": 2, "INI": 36, "SQL": 4, "JAR Manifest": 1, "Maven POM": 1, "Java": 210, "JSON": 391}
package com.example.ejemplorecycler2223 import Adaptadores.MiAdaptadorRecycler import Modelo.FactoriaListaPersonaje import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.util.Log import android.widget.ArrayAdapter import android.widget.Toast import androidx.recyclerview.widget.LinearL...
0
Java
0
0
0dc4782d3cc311488a48d2b8763c56cbc66ca58f
1,628
AndroidDAM2_22_23
MIT License
ktor/server/src/main/kotlin/org/requestscript/ktor/server/resource/InternalResourceResolver.kt
merideum
470,393,991
false
{"Gradle Kotlin DSL": 7, "INI": 2, "Markdown": 3, "Shell": 3, "Text": 1, "Ignore List": 1, "Batchfile": 1, "EditorConfig": 1, "Kotlin": 25, "Java": 6, "ANTLR": 2, "YAML": 1, "XML": 1}
package org.requestscript.ktor.server.resource import org.requestscript.core.interpreter.Resource import org.requestscript.core.interpreter.ResourceResolver data class InternalResourceResolver( // Map resourcePath, Resource val resources: Map<String, Resource> ): ResourceResolver { override fun get(name: ...
4
Java
0
2
9cb07e9275ddc438f33b88418d491199f93c0a33
348
requestscript-kotlin
Apache License 2.0
SampleCode-V5/android-sdk-v5-sample/app-aircraft/src/main/java/dji/sampleV5/aircraft/AircraftTestingToolsActivity.kt
sorajiro0802
686,880,930
true
{"Markdown": 3, "Text": 1, "Ignore List": 1, "Gradle": 7, "XML": 753, "Kotlin": 384, "Java": 450, "HTML": 670, "JSON": 4, "Java Properties": 2, "Shell": 1, "Batchfile": 1, "Proguard": 1, "SCSS": 12, "CSS": 4, "JavaScript": 24, "SVG": 24}
package dji.sampleV5.aircraft import androidx.fragment.app.commit import dji.sampleV5.moduleaircraft.AircraftMSDKInfoFragment import dji.sampleV5.modulecommon.TestingToolsActivity import dji.sampleV5.modulecommon.data.CommonFragmentPageInfoFactory import dji.sampleV5.modulecommon.data.FragmentPageItemList import dji.s...
0
Java
0
0
e323847fe17f4d9752dc09fe73e1c2cc15201f27
1,142
Mobile-SDK-Android-V5
MIT License
src/test/kotlin/org/jetbrains/intellij/tasks/SignPluginTaskSpec.kt
r2ys
368,802,774
true
{"Kotlin": 318586}
package org.jetbrains.intellij.tasks import org.jetbrains.intellij.IntelliJPluginConstants import org.jetbrains.intellij.IntelliJPluginSpecBase import kotlin.test.Test import kotlin.test.assertTrue class SignPluginTaskSpec : IntelliJPluginSpecBase() { @Test fun `reuse configuration cache`() { build(I...
0
null
0
0
58115823d6ca767cec5c858cf5add185dd4af968
574
gradle-intellij-plugin
Apache License 2.0
app/src/main/java/com/mhuman/movieplot/network/model/MovieInfoResponse.kt
machine-human
221,143,852
false
null
package com.mhuman.movieplot.network.model import androidx.room.Entity import com.google.gson.annotations.SerializedName data class MovieInfoResponse( @SerializedName("page") val page: Int?, @SerializedName("results") val results: List<MovieInfoList>?, @SerializedName("total_pages") val tot...
0
Kotlin
0
0
64a2b96127911dcb8a3ba6f1e0ea831263cd9e85
1,388
MoviePlot
Apache License 2.0
app/src/main/java/com/example/moviesapp/ui/tvshow/TvShowFragment.kt
resqiar
253,286,300
false
{"Kotlin": 58598}
package com.example.moviesapp.ui.tvshow import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment import androidx.lifecycle.Observer import androidx.lifecycle.ViewModel import androidx.lifecycle.ViewModelProvider import andr...
1
Kotlin
0
0
930cf82a86f6365786ba00282bb1cfb6875d4b36
3,766
Simple-Movie-Catalog
Creative Commons Zero v1.0 Universal
src/jsMain/kotlin/matt/http/internet/internet.kt
mgroth0
532,378,353
false
null
package matt.http.internet import org.w3c.xhr.XMLHttpRequest actual fun TheInternet.isAvailable(): Boolean { val req = XMLHttpRequest() req.open("GET", "https://www.google.com/") require(req.status == 200.toShort()) { "detecting offline in JS is not implemented yet" } return true }
0
Kotlin
0
0
6d214b63657e675d3487fb780e862a77a106361c
296
http
MIT License
src/main/kotlin/com/urielsalis/mccrashlib/parser/MinecraftCrashParser.kt
urielsalis
254,932,939
false
null
package com.urielsalis.mccrashlib.parser import arrow.core.Either import arrow.core.Option import com.urielsalis.mccrashlib.Crash import com.urielsalis.mccrashlib.deobfuscator.getDeobfuscation import java.io.File /* Minecraft crashes are separated into sections starting and ending with -- "Minecraft Crash Rep...
0
Kotlin
2
4
8c9f27db6751fe400d1bcc6ba49bfcf2df7cba5b
5,260
mc-crash-lib
MIT License
back/kotlin/app/delivery/feature/game/Launcher.kt
Suprajeff
787,329,771
false
{"Kotlin": 56340, "Swift": 53773, "Go": 48229, "TypeScript": 46088, "Dockerfile": 5262, "CSS": 2330, "HTML": 1887}
package delivery.feature.game import io.lettuce.core.RedisClient import io.lettuce.core.api.sync.RedisCommands import io.lettuce.core.api.async.RedisAsyncCommands import io.ktor.server.application.* import io.ktor.server.routing.* import core.database.redis.RedisData import core.data.implementation.redis.GameReposito...
0
Kotlin
0
0
d6a6f317f4d7a5eef6773fd7fdfe36a82c682291
1,059
tic_tac_toe
Apache License 2.0
app/src/main/kotlin/io/orangebuffalo/simpleaccounting/business/workspaces/impl/WorkspacesRepositoryExtImpl.kt
orange-buffalo
154,902,725
false
{"Kotlin": 1125040, "TypeScript": 575303, "Vue": 277186, "SCSS": 30742, "JavaScript": 6817, "HTML": 633, "CSS": 10}
package io.orangebuffalo.simpleaccounting.business.workspaces.impl import io.orangebuffalo.simpleaccounting.business.workspaces.Workspace import io.orangebuffalo.simpleaccounting.infra.jooq.fetchListOf import io.orangebuffalo.simpleaccounting.infra.jooq.fetchOneOrNull import io.orangebuffalo.simpleaccounting.services....
69
Kotlin
0
1
338561f53e937c14a46d17b29ceedee7f90af197
1,478
simple-accounting
Creative Commons Attribution 3.0 Unported
src/main/kotlin/no/nav/helse/arbeidsgiver/utils/LoggingUtils.kt
navikt
293,487,810
false
null
package no.nav.helse.arbeidsgiver.utils import org.slf4j.MDC internal fun withMDC(context: Map<String, String>, block: () -> Unit) { val contextMap = MDC.getCopyOfContextMap() ?: emptyMap() try { MDC.setContextMap(contextMap + context) block() } finally { MDC.setContextMap(contextM...
8
Kotlin
0
0
1bf1c477de29b011c6be9936b4328aa5409aacd4
332
helse-arbeidsgiver-felles-backend
MIT License
androidApp/src/main/java/com/andriuswill/spacemissionkmp/android/presenter/launchdetails/LaunchDetailsViewModel.kt
andriuswill
739,092,112
false
{"Kotlin": 25081, "Swift": 920}
package com.andriuswill.spacemissionkmp.android.presenter.launchdetails import androidx.lifecycle.viewModelScope import com.andriuswill.spacemissionkmp.android.core.base.BaseViewModel import com.andriuswill.spacemissionkmp.android.core.base.Reducer import com.andriuswill.spacemissionkmp.domain.usecases.LaunchesUseCase...
0
Kotlin
0
1
f18d5d0cdd81391ddd0a49a3c435b651e3d0a4c4
1,388
SpaceMissionKMP
MIT License
presentation/src/main/java/com/nemesis/rio/presentation/app/AppModule.kt
N3-M3-S1S
370,791,918
false
null
package com.nemesis.rio.presentation.app import com.nemesis.rio.presentation.app.browser.UrlBrowser import com.nemesis.rio.presentation.app.clipboard.Clipboard import com.nemesis.rio.presentation.app.initialization.ApplicationInitializationState import com.nemesis.rio.presentation.app.messages.MessageManager import co...
0
Kotlin
0
0
62dc309a7b4b80ff36ea624bacfa7b00b5d8607e
1,225
rio
MIT License
app/src/main/java/com/e444er/cleanmovie/feature_splash/presentation/splash/SplashFragment.kt
e444er
597,756,971
false
null
package com.e444er.cleanmovie.feature_splash.presentation.splash import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.appcompat.app.AppCompatDelegate import androidx.core.os.LocaleListCompat import androidx.fragment.app.Fragment import andro...
0
Kotlin
0
0
1c939de424b4eb254fd4258f4e56e4399bdfb3cd
2,687
KinoGoClean
Apache License 2.0
app/src/main/java/com/czech/muvies/utils/EpisodesListTransformer.kt
Czeach
264,795,366
false
null
package com.czech.muvies.utils import android.view.View import androidx.viewpager2.widget.ViewPager2 import kotlin.math.abs class EpisodesListTransformer : ViewPager2.PageTransformer { override fun transformPage(page: View, position: Float) { val absPos = abs(position) page.apply { t...
0
Kotlin
3
5
7f1af79d5da40fe3cc608dd45bb70226887e1922
639
Muvies
MIT License
src/main/kotlin/no/nav/personbruker/dittnav/api/oppgave/Oppgave.kt
navikt
202,547,457
false
null
@file:UseSerializers(ZonedDateTimeSerializer::class) package no.nav.personbruker.dittnav.api.oppgave import kotlinx.serialization.Serializable import kotlinx.serialization.UseSerializers import no.nav.personbruker.dittnav.api.common.serializer.ZonedDateTimeSerializer import java.time.ZonedDateTime @Serializable data...
0
Kotlin
0
2
c63de5469d6828e684c1d7e4e117540ec316c37a
1,971
dittnav-api
MIT License
extension/music/src/main/kotlin/bogus/extension/music/Jukebox.kt
gavenda
470,871,977
false
null
package bogus.extension.music import bogus.extension.music.db.guilds import bogus.extension.music.player.* import bogus.util.asFMTLogger import bogus.util.escapedBackticks import bogus.util.idLong import com.kotlindiscord.kord.extensions.i18n.TranslationsProvider import com.kotlindiscord.kord.extensions.koin.KordExKoi...
0
Kotlin
0
0
8dfe5cf64aa54a94a83c3e334ed6152860d3defd
18,466
studio-helper
MIT License
shared/src/commonMain/kotlin/com/vasylt/composekmm/contacts/presentation/components/ContactPhoto.kt
osisupermoses
734,461,368
false
null
package com.vasylt.composekmm.contacts.presentation.components import androidx.compose.foundation.Image import androidx.compose.foundation.background import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.size import androidx.compose.foundation.shape.RoundedCornerShape import androidx....
0
Kotlin
0
0
b1313d5ed529aedf9819c45c316d118bf313c680
1,820
contact-list-app
Apache License 2.0
rounded/src/commonMain/kotlin/me/localx/icons/rounded/outline/Bone.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.rounded.outline import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
4,523
icons
MIT License
src/main/kotlin/fr/phast/cql/services/utils/TranslatorOptionUtil.kt
phast-fr
424,529,437
false
{"Kotlin": 69053}
/* * MIT License * * Copyright (c) 2021 PHAST * * 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, me...
0
Kotlin
0
0
b8e3da27d0b7e76eb85596ae8a217e597a074d35
4,819
cql-services
MIT License
modules/cvauto-core/src/main/kotlin/com/waicool20/cvauto/core/template/ITemplate.kt
waicool20
219,472,930
false
null
package com.waicool20.cvauto.core.template import java.awt.image.BufferedImage import java.net.URI /** * Template that will be used for matching on screen elements */ interface ITemplate { /** * URI of the source for the image that this template is based on, since this is a URI * it can represent anyt...
0
Kotlin
1
2
d5dca3dab8f664eb0c830265434793ae52fb2fe7
775
CVAuto
MIT License
app/src/test/java/pl/droidsonroids/toast/data/mapper/SpeakersMapperTest.kt
DroidsOnRoids
105,771,016
false
null
package pl.droidsonroids.toast.data.mapper import com.nhaarman.mockito_kotlin.eq import com.nhaarman.mockito_kotlin.mock import com.nhaarman.mockito_kotlin.verify import org.hamcrest.CoreMatchers.equalTo import org.junit.Assert.assertThat import org.junit.Test import pl.droidsonroids.toast.data.api.speaker.ApiSpeaker ...
0
Kotlin
5
34
7ac5cab091da171ecd1683ff76c6f3ebd8a543fe
3,761
Toast-App
Apache License 2.0
reservation/reservation-domain-api/src/main/kotlin/com/mz/reservationsystem/domain/api/timeslot/TimeSlotEventsApi.kt
michalzeman
519,548,115
false
{"Kotlin": 323513, "Shell": 799, "Dockerfile": 531}
package com.mz.reservationsystem.domain.api.timeslot import com.mz.ddd.common.api.domain.DomainEvent import com.mz.ddd.common.api.domain.Id import com.mz.ddd.common.api.domain.instantNow import com.mz.ddd.common.api.domain.newId import kotlinx.datetime.Instant import kotlinx.serialization.SerialName import kotlinx.ser...
0
Kotlin
0
2
a726878fe9393c29c864b612e85eff5d3c21f268
1,504
cqrs-reservation-reactive-system
Creative Commons Attribution 4.0 International
src/main/kotlin/dev/storozhenko/familybot/services/payment/processors/PidorLimitPaymentProcessor.kt
AngryJKirk
114,262,178
false
null
package dev.storozhenko.familybot.services.payment.processors import dev.storozhenko.familybot.getLogger import dev.storozhenko.familybot.models.dictionary.Phrase import dev.storozhenko.familybot.models.shop.PreCheckOutResponse import dev.storozhenko.familybot.models.shop.ShopItem import dev.storozhenko.familybot.mode...
0
Kotlin
4
97
aff071c72503ffb9ad276fb9cc33d8408196795d
1,647
familybot
Apache License 2.0
widget/src/main/java/com/angcyo/widget/span/IClickableSpan.kt
angcyo
229,037,615
false
{"Kotlin": 6722659, "JavaScript": 5194}
package com.angcyo.widget.span import android.view.MotionEvent import android.view.View import com.angcyo.library.L import com.angcyo.library.ex.actionToString /** * * Email:<EMAIL> * @author angcyo * @date 2020/01/11 */ interface IClickableSpan { fun isCanClick(): Boolean { return true } f...
0
Kotlin
6
5
10ad5753c3ff675d7f7513db5d98665bcf6f7418
527
UICore
MIT License