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
app/src/main/java/com/example/templatebottomnavmenu/ui/notifications/NotificationsFragment.kt
pavvel42
247,255,932
false
null
package com.example.templatebottomnavmenu.ui.notifications import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.TextView import androidx.fragment.app.Fragment import androidx.lifecycle.Observer import androidx.lifecycle.ViewModelProvid...
0
Kotlin
0
2
207f3c8f9cacb2ba4e7c65a571b5eed0e29c9e66
1,073
TemplateBottomNavigationBar
MIT License
app/src/main/java/com/payamgr/wordchest/ui/MainActivity.kt
PayamGerackoohi
715,554,365
false
{"Kotlin": 197501}
package com.payamgr.wordchest.ui import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.material3.MaterialTheme import androidx.compose.material3.Surface import androidx.compose.ui.Mod...
0
Kotlin
0
0
74a48021fcec63e0431c6cfff9e755234f121dfe
1,336
Word-Chest
MIT License
kevent/src/main/java/io/github/janbarari/kevent/Observer.kt
janbarari
258,434,229
false
null
package io.github.janbarari.kevent class Observer( var observerType: Class<*>, var guid: String, var unit: (Any) -> Unit, var sender: Class<*>? = null) { override fun toString(): String { return "Subscriber($guid, ${observerType::class.java.name})" } }
0
Kotlin
5
89
8d8a339148b1bf44caf9a771ab1f087f2e63c912
286
KEvent
Apache License 2.0
antlr-kotlin-runtime/src/commonTest/kotlin/StringTest.kt
Strumenta
145,450,730
false
{"Kotlin": 906270, "ANTLR": 3893}
import kotlin.test.Test class StringTest : BaseTest() { @Test fun testAsCharArrayEmpty() { assertArrayEquals(charArrayOf(), "".toCharArray()) } @Test fun testAsCharArrayEmptyLength() { assertEquals(0, "".toCharArray().size) } @Test fun testAsCharArrayEmptyEl0() { assertEquals('a', "abc de...
30
Kotlin
46
181
04d77aa796c4a927a4cda29cc1afa58d8da8aa86
481
antlr-kotlin
Apache License 2.0
app/src/main/kotlin/com/adriangl/pict2cam/ui/theme/Theme.kt
adriangl
226,981,977
false
null
package com.adriangl.pict2cam.ui.theme import androidx.compose.foundation.isSystemInDarkTheme import androidx.compose.material.MaterialTheme import androidx.compose.material.darkColors import androidx.compose.material.lightColors import androidx.compose.runtime.Composable import androidx.compose.ui.graphics.Color pri...
12
Kotlin
13
94
aaaedca813630281fdc48e5b4c998fe6020858ae
1,579
pict2cam
Apache License 2.0
cupertino-icons-extended/src/commonMain/kotlin/io/github/alexzhirkevich/cupertino/icons/filled/HeartSlash.kt
alexzhirkevich
636,411,288
false
{"Kotlin": 4456601, "Ruby": 2310, "Swift": 2101, "Shell": 856, "HTML": 762}
package io.github.alexzhirkevich.cupertino.icons.filled import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap import andro...
1
Kotlin
14
362
60fd9234eb9f2df97bc8523ea2ed344ad7f58655
3,086
compose-cupertino
Apache License 2.0
src/main/kotlin/kjkrol/eshop/exposedcontent/castentry/CastEntryCreator.kt
freeKotlin
356,209,177
true
{"Kotlin": 13598, "Java": 6127}
package kjkrol.eshop.exposedcontent.castentry import kjkrol.eshop.exposedcontent.model.CastEntry import kjkrol.eshop.exposedcontent.model.Character import kjkrol.eshop.exposedcontent.model.Person import org.springframework.stereotype.Service import java.util.UUID @Service internal class CastEntryCreator(val castEntry...
0
null
0
0
9350261c26162c83d94f202d2569c4dc560a6cfd
596
exposed-content-service
MIT License
game/plugins/src/main/kotlin/gg/rsmod/plugins/content/mechanics/equipment/equipment.plugin.kts
2011Scape
578,880,245
false
null
package gg.rsmod.plugins.content.mechanics.equipment import gg.rsmod.game.action.EquipAction val EQUIP_ITEM_SOUND = 2238 fun bind_unequip(equipment: EquipmentType, child: Int) { on_button(interfaceId = 387, component = child) { val opt = player.getInteractingOpcode() when (opt) { 61 -...
5
Kotlin
8
13
11ae0b9d6f49e6580119f6f7803a01edc6673a5a
2,041
tek5-game
Apache License 2.0
feature/lists/src/main/java/com/azhapps/listapp/lists/modify/uc/GetItemCategoriesUseCase.kt
Azhrei251
539,352,238
false
{"Kotlin": 239334}
package com.azhapps.listapp.lists.modify.uc import com.azhapps.listapp.lists.data.ListsRemoteDataSource import com.azhapps.listapp.network.Api import com.azhapps.listapp.network.Api.callApi import javax.inject.Inject class GetItemCategoriesUseCase @Inject constructor( private val remoteDataSource: ListsRemoteData...
5
Kotlin
0
1
317804ec4047ebe3c68b29ef344d4a2e1f1010ae
429
list-app
MIT License
src/main/kotlin/br/com/lucascm/mangaeasy/micro_api_monolito/features/recommendations/repositories/BucketRecommendationsRepository.kt
manga-easy
627,169,031
false
{"Kotlin": 154749, "Dockerfile": 912}
package br.com.lucascm.mangaeasy.micro_api_monolito.features.recommendations.repositories import br.com.lucascm.mangaeasy.micro_api_monolito.core.entities.BusinessException import com.oracle.bmc.ConfigFileReader import com.oracle.bmc.auth.ConfigFileAuthenticationDetailsProvider import com.oracle.bmc.objectstorage.Obje...
0
Kotlin
1
2
f60a56ce888bb51d4bbf0d8b6ec1248ffd124dd5
3,752
manga_easy_micro_api_monolito
MIT License
src/main/kotlin/idea/snakeskin/lang/parser/SnakeskinParserDefinition.kt
ExactlyNoSense
174,437,527
false
{"Lex": 24166, "Kotlin": 15376, "Scheme": 1340}
package idea.snakeskin.lang.parser import com.intellij.lang.ASTNode import com.intellij.lang.ParserDefinition import com.intellij.lang.PsiParser import com.intellij.lexer.Lexer import com.intellij.openapi.project.Project import com.intellij.psi.FileViewProvider import com.intellij.psi.PsiElement import com.intellij.ps...
0
Lex
0
2
9bb2738cb96423a8926283b5b15b2c977541846a
1,641
snake-eater
MIT License
app/src/main/java/kr/co/login/RingtonePlayingService.kt
hanjaegyeong
531,970,021
false
{"Kotlin": 82539}
package kr.co.login import android.R import android.app.Notification import android.app.NotificationChannel import android.app.NotificationManager import android.app.Service import android.content.Context import android.content.Intent import android.media.MediaPlayer import android.os.Build import android.os.IBinder i...
0
Kotlin
0
0
5ecba6cf91e79e3135bc4d174d74da5848ff8dce
2,590
National-defense-App
MIT License
library/src/main/java/com/bluesir9/asutil/library/core/coroutines/DefaultDispatcherProvider.kt
Bluesir9
235,258,656
false
null
package com.bluesir9.asutil.library.core.coroutines import kotlinx.coroutines.CoroutineDispatcher import kotlinx.coroutines.Dispatchers val defaultDispatcherProvider = object : DispatcherProvider { override val main: CoroutineDispatcher = Dispatchers.Main override val presenter: CoroutineDispatcher = Dispatchers....
0
Kotlin
0
0
c555e4c87afab660ec06ac8a3c150dacf743473b
385
asutil
MIT License
client-android/lib/src/main/kotlin/stasis/client_android/lib/encryption/secrets/UserPassword.kt
sndnv
153,169,374
false
{"Scala": 3373826, "Kotlin": 1821771, "Dart": 853650, "Python": 363474, "Shell": 70265, "CMake": 8759, "C++": 4051, "HTML": 2655, "Dockerfile": 1942, "Ruby": 1330, "C": 691, "Swift": 594, "JavaScript": 516}
package stasis.client_android.lib.encryption.secrets import okio.ByteString import okio.ByteString.Companion.toByteString import stasis.client_android.lib.model.server.users.UserId import java.nio.charset.Charset import java.nio.charset.StandardCharsets import javax.crypto.SecretKeyFactory import javax.crypto.spec.PBE...
0
Scala
4
53
d7b3002880814039b332b3d5373a16b57637eb1e
2,570
stasis
Apache License 2.0
sample/app/src/main/java/dev/tuongnt/tinder/presentation/ui/home/HomeViewModel.kt
alanrb
296,359,249
false
null
package dev.tuongnt.tinder.presentation.ui.home import androidx.lifecycle.MutableLiveData import androidx.lifecycle.viewModelScope import dev.tuongnt.tinder.domain.Result import dev.tuongnt.tinder.domain.model.UserModel import dev.tuongnt.tinder.domain.usecase.RandomUserUseCase import dev.tuongnt.tinder.domain.usecase...
0
null
0
0
4b70d16f40078747704a263b140f31fae03a5ce8
1,293
Android-motion-layout
Apache License 2.0
SVG2ShapeShifter/src/main/kotlin/MergeShapeShifter.kt
jwill
139,189,280
false
{"Kotlin": 29211}
import groovy.json.JsonGenerator import groovy.json.JsonOutput import groovy.json.JsonSlurper import groovyjarjarcommonscli.DefaultParser import groovyjarjarcommonscli.HelpFormatter import groovyjarjarcommonscli.Options import java.io.File import java.sql.Time import java.util.* fun main(args: Array<String>) { // ...
1
Kotlin
2
4
462b9d00b52847e26100a1f862b4dd75453d8e2c
6,269
android-avd-tools
Apache License 2.0
app/src/main/java/com/realtomjoney/pyxlmoose/activities/canvas/CanvasActivity+getCoverImageBitmap.kt
realtomjoney
419,545,692
false
null
package com.realtomjoney.pyxlmoose.activities.canvas import android.graphics.Bitmap import android.graphics.Matrix import androidx.core.view.drawToBitmap fun getCoverImageBitmap(): Bitmap { val bmp = outerCanvasInstance.fragmentHost.drawToBitmap() val bmps: Bitmap? val matrix = Matrix() matrix.setRot...
15
Kotlin
2
30
ecea3c6d807483c31fa61fbf8d127e9ed92d1258
464
PyxlMoose
MIT License
reaktive/src/commonMain/kotlin/com/badoo/reaktive/utils/ThreadLocalStorage.kt
fr0l
234,538,666
true
{"Kotlin": 1087234, "Swift": 6264, "HTML": 1109, "Ruby": 150}
package com.badoo.reaktive.utils import com.badoo.reaktive.disposable.Disposable @Deprecated( message = "Use ThreadLocalHolder from 'utils' package. This class will be removed soon.", replaceWith = ReplaceWith("ThreadLocalHolder", "com.badoo.reaktive.utils.ThreadLocalHolder"), level = DeprecationLevel.WAR...
0
null
0
0
5ec83b4244e25783fc70b50b547212c12b40cefc
440
Reaktive
Apache License 2.0
app/src/main/java/com/superChargedFitness/utils/CommonConstantAd.kt
praiseOjay
870,257,631
false
{"Kotlin": 186163, "Java": 99397, "AIDL": 17871}
package com.superChargedFitness.utils import android.app.Activity import android.content.Context import android.util.Log import android.view.View import android.widget.LinearLayout import android.widget.RelativeLayout import com.facebook.ads.Ad import com.facebook.ads.InterstitialAdListener import com.google.android.a...
0
Kotlin
0
0
ea7d8441f311a9053bd30d631004fceabcc18913
9,760
Supercharged-Fitness
MIT License
library/src/main/java/cloud/pace/sdk/poikit/poi/PoiKitObserverToken.kt
pace
303,641,261
false
null
package cloud.pace.sdk.poikit.poi import TileQueryRequestOuterClass import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.Observer import cloud.pace.sdk.api.API import cloud.pace.sdk.api.poi.POIAPI.gasStations import cloud.pace.sdk.api.poi.generated.request.gasStations....
0
Kotlin
1
5
c459c30690f3c2c480986312a3d837698ce028bc
11,193
cloud-sdk-android
MIT License
compose-multiplatform-common/src/commonMain/kotlin/com/huanshankeji/compose/foundation/ExperimentalFoundationApi.kt
huanshankeji
570,509,992
false
{"Kotlin": 117843}
package com.huanshankeji.compose.foundation @RequiresOptIn( "This foundation API is experimental and is likely to change or be removed in the " + "future. See `androidx.compose.foundation.ExperimentalFoundationApi`." ) @Retention(AnnotationRetention.BINARY) annotation class ExperimentalFoundationApi
10
Kotlin
0
8
eb1ada7d629f3aa8831df4588653d87530e2635b
318
compose-multiplatform-material
Apache License 2.0
app/src/test/java/ca/stefanm/mockktutorial/SecondaryRepositoryTest.kt
linster
674,414,963
false
null
package ca.stefanm.mockktutorial import org.junit.Assert.* class SecondaryRepositoryTest
0
Kotlin
0
0
986c369a7c770eefbab78e5cb18299519eecc1db
90
android-mockk-tutorial
Apache License 2.0
app/src/main/java/com/example/sunnyweatherkt/logic/model/Weather.kt
Fangtian89
354,954,187
false
null
package com.example.sunnyweatherkt.logic.model import retrofit2.Call import retrofit2.http.GET import retrofit2.http.Path data class Weather(val realTime:RealTimeResponse.RealTime,val dailyResponse:DailyResponse.Daily,val hourlyResponse: HourlyResponse.Hourly){ }
0
Kotlin
0
1
6d9bc89f3e42ba6e6eb61b7a566024e1352ab6a4
267
weather
Apache License 2.0
src/main/kotlin/es/urjc/realfood/clients/infrastructure/api/rest/RegisterRestApi.kt
MasterCloudApps-Projects
391,103,556
false
null
package es.urjc.realfood.clients.infrastructure.api.rest import es.urjc.realfood.clients.application.RegisterClientRequest import es.urjc.realfood.clients.application.RegisterClientResponse import io.swagger.v3.oas.annotations.tags.Tag import org.springframework.web.bind.annotation.PostMapping import org.springframew...
0
Kotlin
0
1
9f083f975051840f07b64ccc1d29302058c54302
631
realfood-clients
Apache License 2.0
leo/src/main/kotlin/me/adkhambek/leo/recycler/LeoAdapter.kt
MrAdkhambek
235,808,012
false
null
package me.adkhambek.leo.recycler import android.view.LayoutInflater import androidx.recyclerview.widget.DiffUtil import androidx.recyclerview.widget.LinearLayoutManager import androidx.recyclerview.widget.RecyclerView import androidx.viewbinding.ViewBinding import me.adkhambek.leo.LeoAdapter import me.adkhambek.leo.L...
0
Kotlin
1
5
d698915aef0a33312a3b5d44d8e1c7605abe00c4
1,712
LeoAdapter
MIT License
sample/src/main/java/app/starzero/navbuilder/sample/ui/list/ListNavigation.kt
STAR-ZERO
635,777,914
false
null
/* * Copyright 2023 Kenji Abe * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
0
Kotlin
0
4
0dc465fdbcb4157eb87866ee3c71e958fae359eb
953
navbuilder
Apache License 2.0
app/src/main/java/com/tzion/jetpackmovies/ui/favoriteMovies/composable/FavoriteDisplay.kt
4mr0m3r0
156,536,164
false
{"Kotlin": 158808}
package com.tzion.jetpackmovies.ui.favoriteMovies.composable import androidx.compose.runtime.Composable @Composable fun FavoriteDisplay() { }
4
Kotlin
4
14
0f88ace48d438c5aa262f52cb5e70fbb8f177bc7
144
movies-jetpack-sample
MIT License
server/src/main/kotlin/com/darkrockstudios/apps/hammer/frontend/NotFound.kt
Wavesonics
499,367,913
false
{"Kotlin": 1290354, "Swift": 32452, "CSS": 2064, "Ruby": 1579, "Shell": 361}
package com.darkrockstudios.apps.hammer.frontend import kweb.div import kweb.h2 import kweb.plugins.fomanticUI.fomantic import kweb.routing.NotFoundReceiver val notFoundPage: NotFoundReceiver = { path -> div(fomantic.ui.middle.aligned.center.aligned.grid) { div(fomantic.center.aligned.column) { div(fomantic.ui....
14
Kotlin
7
99
2feba4da350977e6eac5fdf07b3be644ee255b7a
446
hammer-editor
MIT License
downloader/app/src/main/java/com/sample/data/model/DownloadFiles.kt
tamdevs
507,207,201
false
null
package com.sample.data.model data class DownloadFiles( val url: String, var downloadId: Int = 0, val fileName: String )
5
Kotlin
0
2
ba873dd89811d51ab9d358820a93cfb6306ed92f
134
android
Apache License 2.0
server/src/main/kotlin/com/zana/journal/JournalApp.kt
zana-a
631,704,620
false
null
package com.zana.journal import com.zana.journal.entities.posts.PostsEntity import com.zana.journal.posts.PostsRepository import org.springframework.boot.CommandLineRunner import org.springframework.boot.autoconfigure.SpringBootApplication import org.springframework.boot.runApplication import org.springframework.conte...
0
Kotlin
0
0
a92565e88143889bf24f165fef00397115eb2d9e
990
journal
MIT License
app/src/main/java/com/example/fusedlocationproviderclientsimpleexample/modules/location_handler/presentation/model/LocationData.kt
Passant-Hatem
863,984,255
false
{"Kotlin": 16991}
package com.example.fusedlocationproviderclientsimpleexample.modules.location_handler.presentation.model import android.location.Location data class LocationData( val location: Location, val name: String )
0
Kotlin
0
0
bbd08d54a18f93a0cadb2d333d89f42a7f6d9b70
216
GetUserLocation
MIT License
app/src/main/java/com/vitorpamplona/amethyst/service/NostrHashtagDataSource.kt
vitorpamplona
587,850,619
false
{"Kotlin": 3170921, "Shell": 1485, "Java": 921}
package com.vitorpamplona.amethyst.service import com.vitorpamplona.amethyst.service.relays.COMMON_FEED_TYPES import com.vitorpamplona.amethyst.service.relays.JsonFilter import com.vitorpamplona.amethyst.service.relays.TypedFilter import com.vitorpamplona.quartz.events.AudioHeaderEvent import com.vitorpamplona.quartz....
157
Kotlin
141
981
2de3d19a34b97c012e39b203070d9c1c0b1f0520
1,965
amethyst
MIT License
inference/inference-core/src/commonMain/kotlin/io/kinference.core/operators/logical/Not.kt
JetBrains-Research
244,400,016
false
null
package io.kinference.core.operators.logical import io.kinference.attribute.Attribute import io.kinference.core.data.tensor.KITensor import io.kinference.core.data.tensor.asTensor import io.kinference.data.ONNXData import io.kinference.graph.Contexts import io.kinference.ndarray.arrays.MutableBooleanNDArray import io....
1
Kotlin
3
65
65ac98cfcb1d9f996fc389001fc84a3536e59e28
1,960
kinference
Apache License 2.0
PermissionHelper/src/main/java/com/mathias8dev/permissionhelper/permission/PermissionRequestEvent.kt
mathias8dev
705,602,967
false
{"Kotlin": 67421}
package com.mathias8dev.permissionhelper.permission internal sealed interface PermissionRequestEvent { class OnShowRationale( val permission: Permission, val onProceed: (Boolean) -> Unit ) : PermissionRequestEvent class OnRequestPermission( val permission: Permission, val ...
0
Kotlin
0
1
5f69792ef20dfccdd3895abf190a574e0da73851
689
PermissionHelper
Apache License 2.0
app/src/main/java/com/huanchengfly/tieba/post/adapters/MainForumListAdapter.kt
steve02081504
542,136,746
true
{"Java Properties": 2, "Gradle": 3, "Shell": 3, "Markdown": 1, "Batchfile": 1, "Text": 1, "Ignore List": 1, "INI": 1, "YAML": 1, "Proguard": 1, "Java": 240, "XML": 424, "JavaScript": 5, "JSON": 2, "Kotlin": 257, "Protocol Buffer": 2}
package com.huanchengfly.tieba.post.adapters import android.content.Context import android.content.res.ColorStateList import android.graphics.Color import android.view.View import com.alibaba.android.vlayout.layout.GridLayoutHelper import com.huanchengfly.tieba.post.R import com.huanchengfly.tieba.post.adapters.base.B...
0
null
0
0
afac8210329e45ddaed39675776d4f2c9e99420f
5,668
TiebaLite
Apache License 2.0
src/main/kotlin/com/koresframework/kores/type/CachedKoresTypeResolver.kt
JonathanxD
58,418,392
false
{"Gradle": 5, "YAML": 3, "TOML": 2, "Markdown": 7208, "INI": 2, "Shell": 1, "Text": 3, "Ignore List": 1, "Batchfile": 1, "Git Attributes": 1, "Java": 69, "Kotlin": 218, "SVG": 2, "HTML": 12, "JavaScript": 7, "CSS": 9, "JSON": 1}
/* * Kores - Java source and Bytecode generation framework <https://github.com/JonathanxD/Kores> * * The MIT License (MIT) * * Copyright (c) 2022 TheRealBuggy/JonathanxD (https://github.com/JonathanxD/) <<EMAIL>> * Copyright (c) contributors * * * Permission is hereby granted, free ...
6
Kotlin
0
4
236f7db6eeef7e6238f0ae0dab3f3b05fc531abb
3,633
CodeAPI
MIT License
libraries/data/src/main/java/com/eunice/data/repositoryImpl/IngredientRepositoryImpl.kt
eunix56
466,099,049
false
{"Kotlin": 132920}
package com.eunice.data.repositoryImpl import com.eunice.data.contract.IngredientRemote import com.eunice.data.handlerImpl.GeneralErrorHandler import com.eunice.data.mapper.IngredientEntityModelMapper import com.eunice.domain.handler.DataResult import com.eunice.domain.model.Ingredient import com.eunice.domain.reposit...
0
Kotlin
0
5
ab5723d6a5777be4d600b91dd42356465f448c31
1,290
Meals
Apache License 2.0
app/src/main/java/com/eltonkola/comfyflux/app/imageviwer/PhotoViewerScreen.kt
eltonkola
837,643,078
false
{"Kotlin": 274642, "Jupyter Notebook": 8656}
package com.eltonkola.comfyflux.app.imageviwer import android.content.ContentValues import android.content.Context import android.content.Intent import android.net.Uri import android.provider.MediaStore import android.widget.Toast import androidx.compose.foundation.ExperimentalFoundationApi import androidx.compose.fou...
0
Kotlin
1
1
c0d2a6d106ff9df1bc9cf0ddce6d92a4da1254b7
7,865
ComfyFlux
Apache License 2.0
app/src/main/java/com/stepstone/reactiveusecasessample/domain/interactor/CheckSampleFeatureStatusUseCase.kt
stepstone-tech
133,494,932
false
null
/* * Copyright (C) 2018 StepStone Services Sp. z o.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
1
Kotlin
12
54
2558f3d3eabba9f1f43341a85ca11c891a93c0a4
1,172
ReactiveUseCasesSample
Apache License 2.0
src/commonMain/kotlin/org/angproj/crypt/kp/AbstractPaulssonSponge.kt
angelos-project
677,062,617
false
{"Kotlin": 17587776}
/** * Copyright (c) 2023 by Kristoffer Paulsson <kristoffer.paulsson@talenten.se>. * * This software is available under the terms of the MIT license. Parts are licensed * under different terms if stated. The legal terms are attached to the LICENSE file * and are made available on: * * https://opensource.org...
0
Kotlin
0
0
e378d1dc05fc431075b1c1460b654f2fc1b9748d
767
angelos-project-crypt
MIT License
solar/src/main/java/com/chiksmedina/solar/boldduotone/arrowsaction/UploadSquare.kt
CMFerrer
689,442,321
false
{"Kotlin": 36591890}
package com.chiksmedina.solar.boldduotone.arrowsaction 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....
0
Kotlin
0
0
3414a20650d644afac2581ad87a8525971222678
3,875
SolarIconSetAndroid
MIT License
common/src/commonMain/kotlin/chat/sphinx/common/state/InviteFriendState.kt
stakwork
457,042,828
false
{"Kotlin": 894995}
package chat.sphinx.common.state import chat.sphinx.response.LoadResponse import chat.sphinx.response.ResponseError data class InviteFriendState( val nickname: String = "", val welcomeMessage: String = "", val nodePrice: String? = null, var createInviteStatus: LoadResponse<Any, ResponseError>? = null,...
31
Kotlin
6
2
d9ba71335593e3d61da9198d4f815bf6fbef4266
323
sphinx-kotlin-ui
MIT License
app/src/main/java/com/stocksexchange/android/di/HandlersModule.kt
nscoincommunity
277,168,471
true
{"Kotlin": 2814235}
package com.stocksexchange.android.di import com.stocksexchange.android.utils.ReloadProvider import com.stocksexchange.android.utils.handlers.* import com.stocksexchange.api.utils.CredentialsHandler import com.stocksexchange.core.handlers.ClipboardHandler import com.stocksexchange.core.handlers.CoroutineHandler import...
0
null
0
0
52766afab4f96506a2d9ed34bf3564b6de7af8c3
1,273
Android-app
MIT License
app-tracking-protection/vpn-impl/src/main/java/com/duckduckgo/mobile/android/vpn/feature/removal/VpnFeatureRemoverWorker.kt
hojat72elect
822,396,044
false
{"Kotlin": 11626231, "HTML": 65873, "Ruby": 16984, "C++": 10312, "JavaScript": 5520, "CMake": 1992, "C": 1076, "Shell": 784}
package com.duckduckgo.mobile.android.vpn.feature.removal import android.content.Context import androidx.work.CoroutineWorker import androidx.work.WorkerParameters import com.duckduckgo.anvil.annotations.ContributesWorker import com.duckduckgo.di.scopes.AppScope import javax.inject.Inject import logcat.logcat @Cont...
0
Kotlin
0
0
b89591136b60933d6a03fac43a38ee183116b7f8
873
DuckDuckGo
Apache License 2.0
app/src/main/java/com/learning/pestifyapp/ui/screen/navigation/NavigationItem.kt
C241-PS242-Pestify
804,948,341
false
{"Kotlin": 101102}
package com.learning.pestifyapp.ui.screen.navigation import com.learning.pestifyapp.R data class NavigationItem( val title: String, val icon: Int, val iconSelected: Int, val screen: Screen ) val navigationItems = listOf( NavigationItem( title = Screen.Home.route, icon = R.drawable...
0
Kotlin
0
0
025739340010f9cdf2a813c098f91c7800140d35
1,144
PestifyApp
MIT License
app/src/main/java/dev/kxxcn/maru/di/EditModule.kt
kxxcn
281,122,468
false
null
package dev.kxxcn.maru.di import androidx.lifecycle.ViewModel import dagger.Binds import dagger.Module import dagger.android.ContributesAndroidInjector import dagger.multibindings.IntoMap import dev.kxxcn.maru.view.edit.EditFragment import dev.kxxcn.maru.view.edit.EditViewModel @Module abstract class EditModule { ...
0
Kotlin
0
0
c301d8155cc13e459eb20acfc0fb89ab56d9c3dc
577
maru
Apache License 2.0
app/src/main/java/com/liflymark/normalschedule/logic/network/CheckUpdateService.kt
sasaju
330,628,610
false
{"Kotlin": 736981}
package com.liflymark.normalschedule.logic.network import com.liflymark.normalschedule.logic.model.CheckUpdateResponse import retrofit2.Call import retrofit2.http.Field import retrofit2.http.FormUrlEncoded import retrofit2.http.POST interface CheckUpdateService { @FormUrlEncoded @POST("checkveriosn/") fu...
0
Kotlin
3
14
616c6ba075f366e798cfccecd0369990601d1e80
414
NormalSchedule
Apache License 2.0
feature/search/src/desktopMain/kotlin/org/michaelbel/movies/search/SearchNavigation.kt
michaelbel
115,437,864
false
{"Kotlin": 790428, "Java": 9611, "Swift": 342, "Shell": 235}
package org.michaelbel.movies.search import androidx.compose.foundation.clickable import androidx.compose.material.Text import androidx.compose.ui.Modifier import androidx.navigation.NavController import androidx.navigation.NavGraphBuilder import androidx.navigation.compose.composable fun NavController.navigateToSear...
9
Kotlin
34
226
5d338324dd1e5a56c272f38bdb8fb040e6e3320f
664
movies
Apache License 2.0
app/src/main/java/com/example/androiddevchallenge/ui/ListItem.kt
HugoMatilla
342,671,717
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
0
2cb2820e43e93c1be5e5c1fefb43438f0144a3d3
4,624
android-dev-challenge-compose-puppies
Apache License 2.0
year2019/day01/fuel/src/test/kotlin/com/curtislb/adventofcode/year2019/day01/fuel/CalculateTotalFuelTest.kt
curtislb
226,797,689
false
{"Kotlin": 2074798}
package com.curtislb.adventofcode.year2019.day01.fuel import kotlin.test.assertEquals import org.junit.jupiter.api.Test /** * Tests [calculateTotalFuel]. */ class CalculateTotalFuelTest { @Test fun testCalculateTotalFuel() { assertEquals(0, calculateTotalFuel(0)) assertEquals(0, calculateTot...
0
Kotlin
1
1
5d28da592cfa3158ef5be6b414cf13452748ac9b
977
AdventOfCode
MIT License
retrofit_lib/src/main/java/com/jesen/retrofit_lib/com/BaseMapper.kt
Jesen0823
432,540,052
false
{"Kotlin": 464797, "Java": 200809}
package com.jesen.retrofit_lib.com abstract class BaseMapper<T : Any, V : Any> { /** Return true if this can convert [data]. */ fun handles(data: T): Boolean = true /** Convert [data] into [V]. */ abstract fun map(data: T): V }
0
Kotlin
2
9
39c1920c36d4fa8298f26cbefc67433f1db30a23
247
Compose_bili_talk
Apache License 2.0
app/src/main/java/com/ams/cavus/todo/list/di/TodoModule.kt
AhmetCavus
138,603,253
false
{"Kotlin": 73897}
package com.ams.cavus.todo.list.di import com.ams.cavus.todo.base.App import com.ams.cavus.todo.helper.Settings import com.ams.cavus.todo.list.service.TodoService import com.ams.cavus.todo.list.viewmodel.TodoViewModel import com.google.gson.Gson import com.microsoft.windowsazure.mobileservices.MobileServiceClient impo...
0
Kotlin
0
0
dc43cf8c2f94309b25e9acca769a5da82c83e91a
665
Food.Parser.Kotlin
MIT License
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/crypto/outline/Wanchain1.kt
Tlaster
560,394,734
false
{"Kotlin": 25133302}
package moe.tlaster.icons.vuesax.vuesaxicons.crypto.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.Stroke...
0
Kotlin
0
2
b8a8231e6637c2008f675ae76a3423b82ee53950
3,487
VuesaxIcons
MIT License
domain/src/test/java/com/foobarust/domain/usecases/cart/GetUserCartUseCaseTest.kt
foobar-UST
285,792,732
false
null
package com.foobarust.domain.usecases.cart import com.foobarust.domain.states.Resource import com.foobarust.testshared.di.DependencyContainer import com.foobarust.testshared.repositories.FakeAuthRepositoryImpl import com.foobarust.testshared.repositories.FakeCartRepositoryImpl import com.foobarust.testshared.utils.Tes...
0
Kotlin
2
2
b4358ef0323a0b7a95483223496164e616a01da5
3,398
foobar-android
MIT License
PineLib/src/main/java/com/blueberrysolution/pinelib19/sqlite/mylib/model/DropTableStructure.kt
leaptochina
228,527,202
false
null
package com.blueberrysolution.pinelib19.sqlite.mylib.model import com.blueberrysolution.pinelib19.activity.A import com.blueberrysolution.pinelib19.reflection.ReflectHelper import com.blueberrysolution.pinelib19.sqlite.mylib.user_extend_models.BModel import kotlin.reflect.KClass import kotlin.reflect.KClassifier impor...
0
Kotlin
0
0
b7ccb0b4259c3e17f71a677bdbc6388bb92d9841
855
celo_test
Apache License 2.0
app/src/main/java/dev/juanfe/instaflix/ui/serie/SerieRepository.kt
juanfec
308,538,789
false
null
package dev.juanfe.instaflix.ui.serie import androidx.lifecycle.LiveData import dev.juanfe.instaflix.data.models.Serie import dev.juanfe.instaflix.data.remote.ApiCalls import dev.juanfe.instaflix.repos.NetworkState import dev.juanfe.instaflix.repos.SerieNetworkDataSource import io.reactivex.disposables.CompositeDispos...
0
Kotlin
0
1
412a121e29916bb3a9f6053fe23dbcb1dcd9bf57
939
INSTAFLIX
Apache License 2.0
app/src/main/kotlin/com/simplemobiletools/gallery/activities/PanoramaActivity.kt
spkprs
144,426,115
true
{"Kotlin": 416099}
package com.simplemobiletools.gallery.activities import android.content.res.Configuration import android.graphics.Bitmap import android.graphics.BitmapFactory import android.graphics.Color import android.os.Bundle import android.view.View import android.view.Window import android.widget.RelativeLayout import com.googl...
0
Kotlin
0
0
5d1b233e4e9f3aa2c9e37fefd69d57b457746efe
5,635
Simple-Gallery
Apache License 2.0
desktop/adapters/src/main/kotlin/com/soyle/stories/scene/trackSymbolInScene/DetectUnusedSymbolsInSceneControllerImpl.kt
Soyle-Productions
239,407,827
false
null
package com.soyle.stories.scene.trackSymbolInScene import com.soyle.stories.common.ThreadTransformer import com.soyle.stories.domain.scene.Scene import com.soyle.stories.usecase.scene.symbol.trackSymbolInScene.DetectUnusedSymbolsInScene class DetectUnusedSymbolsInSceneControllerImpl( private val threadTransformer...
45
Kotlin
0
9
1a110536865250dcd8d29270d003315062f2b032
743
soyle-stories
Apache License 2.0
src/main/kotlin/com/ex_dock/ex_dock/frontend/home/router/homeRouter.kt
rensPols
849,499,548
false
{"Kotlin": 36915, "Dockerfile": 511}
package com.ex_dock.ex_dock.frontend.home.router import io.vertx.ext.web.Router fun Router.initHome() { this.get("/").handler { ctx -> ctx.end("You've successfully accessed the '/' path for the exDock server") } }
14
Kotlin
0
2
54268d24375a78e50a2cb78235256e391674927f
224
ex-dock
Apache License 2.0
shared/src/commonMain/kotlin/org/deafsapps/kmm/kmmplayground/character/data/datasource/CharactersDataSource.kt
pablodeafsapps
656,122,490
false
{"Kotlin": 25569, "Ruby": 1722, "Swift": 1525}
package org.deafsapps.kmm.kmmplayground.character.data.datasource import org.deafsapps.kmm.kmmplayground.base.Error import org.deafsapps.kmm.kmmplayground.base.Result import org.deafsapps.kmm.kmmplayground.character.data.api.CharactersService import org.deafsapps.kmm.kmmplayground.character.data.model.CharactersDto i...
0
Kotlin
0
0
1218022c765a8dcb46f8dcd180b6a9feb9b7b61e
1,067
kmm-playground
MIT License
app/src/main/java/com/example/misw4203moviles2023/domain/album/CreateAlbums.kt
Miso-Code
620,550,868
false
null
package com.example.misw4203moviles2023.domain.album import android.content.Context import com.example.misw4203moviles2023.data.AlbumRepository import com.example.misw4203moviles2023.data.database.entities.toDatabase import com.example.misw4203moviles2023.domain.album.model.Album class CreateAlbums(context: Context) ...
1
Kotlin
2
0
6ce0e37c688ed6b8299da4351ca70c6fbe5ac24f
533
misw4203-moviles-2023
MIT License
aes-crypto/src/androidTest/java/com/tozny/crypto/android/SHA1and8bitPasswordTest.kt
JarmoKukkola
545,185,647
true
{"Kotlin": 46504}
package com.tozny.crypto.android class SHA1and8bitPasswordTest:AbstractPasswordTest() { override val pbeAlgorithm = AesCbcWithIntegrity.PbeAlgorithm.PBKDF2withHmacSHA1And8BIT }
0
Kotlin
0
1
6403f94410c3dba85470b843bfaf44a1df23ed5b
181
java-aes-crypto
MIT License
09-start-async-radiobutton-application/src/main/kotlin/components/menuBar/MenuBar.kt
kotlin-es
75,533,048
false
null
package components.progressBar import components.Component import java.awt.event.ActionEvent import javax.swing.JComponent import javax.swing.JMenu import javax.swing.JMenuBar /** * Created by vicboma on 05/12/16. */ interface MenuBar : Component<JMenuBar> { fun addMenu(list: MutableList<JComponent?>): MenuBar ...
0
Kotlin
0
2
28797619791209a43fbf05586e3e274e86da0133
638
kotlin-JFrame-standalone
MIT License
core/data/src/main/kotlin/com/skydoves/gemini/core/data/repository/ChatRepositoryImpl.kt
skydoves
746,933,651
false
{"Kotlin": 121255}
/* * Designed and developed by 2024 skydoves (Jaewoong Eum) * * 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 appl...
11
Kotlin
29
341
30588637bced5bf11c22c01abdc5fa6ce963fbcd
2,652
gemini-android
Apache License 2.0
src/main/kotlin/arvem/skykid/registries/RegisterSounds.kt
ArvemW
686,202,965
false
{"Kotlin": 11570}
package arvem.skykid.registries import net.minecraft.registry.Registries import net.minecraft.registry.Registry import net.minecraft.sound.SoundEvent import net.minecraft.util.Identifier object RegisterSounds { private val CAPE_FLAP = Identifier("skykid:player.flap") private var CAPE_FLAP_EVENT: SoundEvent = ...
0
Kotlin
0
0
9105ae71cfbb6791798fc1a782f4006e63387709
3,069
skykid
Creative Commons Zero v1.0 Universal
app/src/main/java/eu/yeger/r6_stats/ui/stats/StatsViewModel.kt
DerYeger
237,462,613
false
null
package eu.yeger.r6_stats.ui.stats import android.app.Application import androidx.lifecycle.* import eu.yeger.r6_stats.repository.FavoritesRepository import eu.yeger.r6_stats.repository.PlayerRepository import kotlinx.coroutines.CoroutineExceptionHandler import kotlinx.coroutines.launch class StatsViewModel(applicati...
0
Kotlin
0
1
5d57fb7f07d0c93d2f17b560a278194dc318f34e
2,426
r6-stats
Apache License 2.0
device-server/src/main/kotlin/com/badoo/automation/deviceserver/data/DeviceAllocatedPorts.kt
badoo
133,063,088
false
{"Kotlin": 528224, "Ruby": 19586, "Shell": 7939, "Java": 956}
package com.badoo.automation.deviceserver.data data class DeviceAllocatedPorts( val fbsimctlPort: Int, val wdaPort: Int, val calabashPort: Int, val mjpegServerPort: Int, val appiumPort: Int ) { fun toSet(): Set<Int> { return setOf(fbsimctlPort, wdaPort, calabashPort, mjpegServerPort, ap...
3
Kotlin
11
42
5f746abbeeca944f127eeb9fb6ac7bd4b30bf913
337
ios-device-server
MIT License
roomdb/app/src/main/java/com/kimochi/note/modules/detail/viewmodel/DetailVM.kt
farhanroy
326,154,185
false
{"Kotlin": 128152}
package com.kimochi.note.modules.detail.viewmodel import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.kimochi.note.db.entity.NoteEntity import com.kimochi.note.repository.LocalNoteRepository import com.kimochi.note.utils.debug import kotlinx...
0
Kotlin
0
0
eb267505f33c365f110392fc19303fc9c468a075
1,185
android-self-research
MIT License
kactoos-common/src/test/kotlin/nnl/rocks/kactoos/text/SwappedCaseTextTest.kt
neonailol
117,650,092
false
null
package nnl.rocks.kactoos.text import nnl.rocks.kactoos.test.AssertTextsEquals import kotlin.test.Test class SwappedCaseTextTest { @Test fun swapsCase() { AssertTextsEquals( SwappedCaseText(TextOf { "hELLo!" }), TextOf { "HellO!" }, "Can't swap case" ) ...
0
Kotlin
1
19
ce10c0bc7e6e65076b8ace90770b9f7648facf4a
520
kactoos
MIT License
app/src/main/java/dev/fanie/statefulapp/Model.kt
iFanie
261,402,364
false
null
package dev.fanie.statefulapp import dev.fanie.stateful.Stateful import dev.fanie.stateful.StatefulOptions import dev.fanie.stateful.StatefulType @Stateful data class Model( val title: String, val titleColor: Int, val titleFontSize: Float?, val isTitleVisible: Boolean, val titleAnimates: Boolean? ...
1
Kotlin
1
8
6d864d8f852a0cc89ca216bd9b37e3cb8513fd62
1,228
Stateful
Apache License 2.0
core/src/commonMain/kotlin/ru/pixnews/debuglayout/DisplayMetrics.kt
illarionov
739,759,344
false
{"Kotlin": 102703}
/* * Copyright (c) 2024, the pixnews-debuglayout project authors and contributors. * Please see the AUTHORS file for details. * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. */ package ru.pixnews.debuglayout import androidx.compose.runtime.Composable import a...
0
Kotlin
0
0
a8c6684fce803bb21f88fb6e3dfb90f48602e345
750
pixnews-debuglayout
Apache License 2.0
dsl/src/main/kotlin/cloudshift/awscdk/dsl/services/appmesh/CfnVirtualServiceDsl.kt
cloudshiftinc
667,063,030
false
null
@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") package cloudshift.awscdk.dsl.services.appmesh import cloudshift.awscdk.common.CdkDslMarker import cloudshift.awscdk.dsl.CfnTagDsl import kotl...
1
Kotlin
0
0
17c41bdaffb2e10d31b32eb2282b73dd18be09fa
6,355
awscdk-dsl-kotlin
Apache License 2.0
fluent/src/commonMain/kotlin/com/konyaco/fluent/component/SideNav.kt
Konyaco
574,321,009
false
{"Kotlin": 11419712, "Java": 256912}
package com.konyaco.fluent.component import androidx.compose.animation.AnimatedVisibility import androidx.compose.animation.animateColorAsState import androidx.compose.animation.core.MutableTransitionState import androidx.compose.animation.core.animateDp import androidx.compose.animation.core.animateDpAsState import a...
8
Kotlin
10
262
293d7ab02d80fb9fdd372826fdc0b42b1d6e0019
21,379
compose-fluent-ui
Apache License 2.0
fluent/src/commonMain/kotlin/com/konyaco/fluent/component/SideNav.kt
Konyaco
574,321,009
false
{"Kotlin": 11419712, "Java": 256912}
package com.konyaco.fluent.component import androidx.compose.animation.AnimatedVisibility import androidx.compose.animation.animateColorAsState import androidx.compose.animation.core.MutableTransitionState import androidx.compose.animation.core.animateDp import androidx.compose.animation.core.animateDpAsState import a...
8
Kotlin
10
262
293d7ab02d80fb9fdd372826fdc0b42b1d6e0019
21,379
compose-fluent-ui
Apache License 2.0
wrapper/godot-library/src/main/kotlin/godot/generated/VisualShader.kt
payload
189,718,948
true
{"Kotlin": 3888394, "C": 6051, "Batchfile": 714, "Shell": 574}
@file:Suppress("unused", "ClassName", "EnumEntryName", "FunctionName", "SpellCheckingInspection", "PARAMETER_NAME_CHANGED_ON_OVERRIDE", "UnusedImport", "PackageDirectoryMismatch") package godot import godot.gdnative.* import godot.core.* import godot.utils.* import godot.icalls.* import kotlinx.cinterop.* // NOTE: T...
0
Kotlin
1
2
70473f9b9a0de08d82222b735e7f9b07bbe91700
6,826
kotlin-godot-wrapper
Apache License 2.0
media/src/main/java/fr/nihilus/music/media/provider/Models.kt
thibseisel
80,150,620
false
null
/* * Copyright 2019 <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...
14
Kotlin
8
50
d2abd7a0a83ea25e00cf1ad52ec1004478775157
4,378
android-odeon
Apache License 2.0
app/src/main/java/com/wreckingballsoftware/fiveoclocksomewhere/database/ItsFiveOClockSomewhereDb.kt
leewaggoner
691,900,392
false
{"Kotlin": 68083}
package com.wreckingballsoftware.fiveoclocksomewhere.database import androidx.room.Database import androidx.room.RoomDatabase @Database( entities = [ DBCocktails::class, DBTimeZones::class, DBPlaces::class, DBRegionalCocktails::class, ], version = 3, exportSchema = fals...
0
Kotlin
0
0
9027cd1378daac84fe93ec6098414158ff876b32
541
fiveoclocksomewhere
Apache License 2.0
examples/gold-trading/cordapp/src/main/kotlin/net/corda/gold/trading/workflows/flows/GetAllLoansOwnedByAccountFlow.kt
corda
170,131,330
false
{"Kotlin": 149237, "Dockerfile": 724}
package net.corda.gold.trading.workflows.flows import co.paralleluniverse.fibers.Suspendable import com.r3.corda.lib.accounts.contracts.states.AccountInfo import net.corda.core.contracts.StateAndRef import net.corda.core.flows.FlowLogic import net.corda.core.flows.StartableByRPC import net.corda.core.node.services.Vau...
28
Kotlin
38
35
c2428c28c341d6f9649390e202ff3b02c25cb2f3
1,047
accounts
Apache License 2.0
domain/src/main/java/com/krakert/tracker/domain/tracker/SetAmountDaysTracking.kt
Krakert
500,599,145
false
{"Kotlin": 146201}
package com.krakert.tracker.domain.tracker import javax.inject.Inject class SetAmountDaysTracking @Inject constructor( private val repository: PreferencesRepository, ) { operator fun invoke(days: Int) = repository.setAmountDaysTracking(days) }
4
Kotlin
1
7
2e1a3741faa4f66d7a7b013c4544c8c7a18508c6
253
Crypto-Tracker
MIT License
buffering-event-dispatcher/src/main/kotlin/at/agsolutions/demo/SecurityUtils.kt
ajgassner
267,076,709
false
null
package at.agsolutions.demo import com.vaadin.flow.server.HandlerHelper import com.vaadin.flow.shared.ApplicationConstants import org.springframework.security.core.context.SecurityContextHolder import org.springframework.security.core.userdetails.UserDetails import javax.servlet.http.HttpServletRequest object Securit...
2
Kotlin
0
0
473b66a93c06078dffd533e5c68fa089e33d6400
749
vaadin-playground
MIT License
app/src/main/java/se/umu/ad/anpa0292/voxelsculpter/World.kt
tehAndrew
850,690,052
false
{"Kotlin": 31609, "GLSL": 1629}
package se.umu.ad.anpa0292.voxelsculpter import android.util.Log import kotlin.math.max import kotlin.math.min data class Ray(val origin: Vector3D, val direction: Vector3D) { val invDirection = Vector3D(1 / direction.x, 1 / direction.y, 1 / direction.z) } data class AABB(val min: Vector3D, val max: Vector3D) clas...
0
Kotlin
0
0
6e0ef77cfd9faee4eedbe655d3d9b779aa317eb9
2,661
VoxelSculpter
MIT License
light/src/test/kotlin/net/kotlinx/aws/dynamo/DynamoQuery_쿼리테스트.kt
mypojo
565,799,715
false
{"Kotlin": 1118162, "Java": 9531, "Jupyter Notebook": 7080}
//package net.kotlinx.aws.dynamo // //import net.kotlinx.kotest.BeSpecLog // // //internal class DynamoQuery_쿼리테스트 : BeSpecLog(){ // // init { // val aws = AwsConfig(profileName = "sin").toAwsClient1() // // val byStatusPk = DynamoQuery { // indexName = "gidx-jobStatus-pk" // scan...
0
Kotlin
0
1
7c80c11863d06c7ffea9bf6b967b875225930b54
1,623
kx_kotlin_support
MIT License
core/design/src/main/kotlin/cn/wj/android/cashbook/core/design/component/Remember.kt
WangJie0822
365,932,300
false
{"Kotlin": 1658612, "Java": 1405038, "Batchfile": 535}
/* * Copyright 2021 The Cashbook Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
7
Kotlin
11
71
6c39b443a1e1e46cf3c4533db3ab270df1f1b9e8
920
Cashbook
Apache License 2.0
core/src/commonMain/kotlin/dev/inmo/kmppscriptbuilder/core/ui/ListView.kt
InsanusMokrassar
342,929,719
false
null
package dev.inmo.kmppscriptbuilder.core.ui import androidx.compose.runtime.Composable import androidx.compose.runtime.mutableStateListOf import dev.inmo.kmppscriptbuilder.core.ui.utils.Drawer expect class ListViewDrawer<T>() : Drawer<ListView<T>> abstract class ListView<T>(title: String) : VerticalView(title) { ...
2
Kotlin
0
3
41e8d2c54070ec28e88cbe9ecd28ebe25c141902
742
KotlinPublicationScriptsBuilder
Apache License 2.0
MainActivity.kt
Nisha-B-Rajput
730,577,732
false
{"Kotlin": 1853}
package com.example.loginapplication import android.content.Intent import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.text.TextUtils import android.widget.Button import android.widget.EditText import android.widget.Toast class MainActivity : AppCompatActivity() { private lat...
0
Kotlin
0
0
d37e0eb0e37c6ed2f09a83e5eb054f528e6fa8bd
1,494
SDN-Nisha-B-Rajput
MIT License
app/src/main/java/com/example/kinetic/presentation/navigation/GenresNavGraph.kt
BENJAHJP
593,154,677
false
null
package com.example.kinetic.presentation.navigation import androidx.compose.animation.AnimatedContentScope import androidx.compose.animation.ExperimentalAnimationApi import androidx.compose.animation.core.tween import androidx.compose.runtime.Composable import androidx.navigation.NavGraphBuilder import androidx.naviga...
0
Kotlin
0
1
56172a121b0902ad0d79521a4562fea3879beafd
1,929
Inverse
MIT License
client/app/src/main/java/com/unina/natourkt/core/analytics/AnalyticsExtension.kt
archer-65
433,413,556
false
null
package com.unina.natourkt.core.analytics import android.os.Bundle /** * This functions provides a fast way to convert [AnalyticsEvent.params] to [Bundle], useful for * `Firebase Analytics` */ fun Map<String, Any>?.toBundle(): Bundle { val bundle = Bundle() this?.forEach { (key, value) -> bundle.putString(...
0
Kotlin
0
1
d0c4881e6b8432aff5cf1751d58350da2d5a4461
364
natour-2122
Apache License 2.0
src/main/kotlin/com/victor/example/webfluxcoroutine/handler/AbstractHandler.kt
chayu07
255,509,178
false
null
package com.victor.example.webfluxcoroutine.handler import com.victor.example.kotlinx.redirectBuilder import com.victor.example.webfluxcoroutine.code.ErrorCd import com.victor.example.webfluxcoroutine.exception.ApiException import com.victor.example.kotlinx.toPrettyFormat import com.victor.example.webfluxcoroutine.mo...
0
Kotlin
0
3
d276eaa0a24fbe26597511c9b9352876d201dd8e
10,117
webflux-coroutine
Apache License 2.0
server/src/main/kotlin/com/thoughtworks/archguard/code/clazz/domain/JClassRepository.kt
archguard
460,910,110
false
{"Kotlin": 1763628, "Java": 611399, "TypeScript": 11395, "C#": 5593, "Dockerfile": 2549, "C": 1223, "Shell": 926, "JavaScript": 400, "Go": 291, "Scala": 97, "Python": 42, "Rust": 32}
package com.thoughtworks.archguard.code.clazz.domain import org.archguard.model.code.ClassRelation import org.archguard.model.code.JClass import org.archguard.model.code.JField interface JClassRepository { fun getJClassBy(systemId: Long, name: String, module: String?): JClass? fun getJClassById(id: String): ...
1
Kotlin
89
575
049f3cc8f2c0e2c34e65bb0049f645caa5be9bf8
948
archguard
MIT License
src/Day01.kt
pmatsinopoulos
730,162,975
false
{"Kotlin": 4441}
val ZERO_TO_DIGITS = mapOf( "one" to "1", "two" to "2", "three" to "3", "four" to "4", "five" to "5", "six" to "6", "seven" to "7", "eight" to "8", "nine" to "9" ) private fun calibrate(s: String): Int = "${s.first { it.isDigit() }}${s.last { it.isDigit() }}".toInt() private fun ca...
0
Kotlin
0
0
2936cd6e42bb460b722eb29797ab44470ac3d626
1,296
advent-of-code-kotlin-template
Apache License 2.0
kaop/src/main/java/io/github/coyamo/kaop/ProxyJoinPoint.kt
Coyamo
578,637,187
false
null
package io.github.coyamo.kaop import java.lang.reflect.Method /** * @author Coyamo * @date 2022/12/17 00:47 * @version 1.0 */ internal class ProxyJoinPoint(private val joinPoint: AbsJoinPoint, private val result: Any?) : AbsJoinPoint() { override fun proceed(): Any? { return result } over...
0
Kotlin
0
2
0761c724386e4dcdccadb57c2808ba9f97a01dc7
508
KAop
MIT License
login/src/main/java/com/poc/cyclone/login/LoginActivity.kt
saviolli
590,050,106
false
null
package com.poc.cyclone.login import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.material.Text import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier import androidx.compose.ui.unit.dp import androidx.constrain...
0
Kotlin
0
0
1c4a999c5851b7a00e976a7834cc82a87228802b
780
poc-cyclone
Apache License 2.0
src/main/kotlin/models/poke/Form.kt
bangaromaric
370,943,027
false
null
package models.poke data class Form( val name: String, val url: String )
0
Kotlin
0
0
36fadae92cd25f3689c1e660c8915cff87be5f0c
81
pokedex-kotlin-js
Apache License 2.0
libPlugin/src/main/java/com/rk/libPlugin/client/ManagePlugin.kt
RohitKushvaha01
761,046,569
false
{"Java": 1999002, "Kotlin": 439352}
package com.rk.libPlugin.client import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import com.rk.libPlugin.databinding.ActivityManageBinding import com.rk.libPlugin.server.Server import java.util.Objects class ManagePlugin : AppCompatActivity() { lateinit var binding: ActivityManageBinding ...
9
Java
13
234
5695ec9af9b7af641b68ebb5c4a44ad0f677af07
829
Xed-Editor
MIT License
simp-protocol-kt/src/main/kotlin/org/example/myhome/simp/core/SimpCodec.kt
Chantico-org
73,012,491
false
{"Kotlin": 25440}
package org.example.myhome.simp.core import io.netty.buffer.ByteBuf import io.netty.buffer.ByteBufUtil import io.netty.channel.ChannelHandler.Sharable import io.netty.channel.ChannelHandlerContext import io.netty.handler.codec.MessageToMessageCodec import java.nio.CharBuffer import java.nio.charset.Charset /** * Cre...
6
Kotlin
0
3
2ee5bfacd6d9dafac60b2cacfe9c9daaa5926a99
1,134
smart_house
MIT License
src/main/kotlin/tech/dolch/plantarch/SequenceDiagram.kt
MrDolch
412,704,741
false
null
package tech.dolch.plantarch import javassist.ClassPool import javassist.Loader import javassist.util.proxy.ProxyFactory open class SequenceDiagram( private val name: String, private val description: String, private val packagesToAnalyze: ArrayList<String> = ArrayList(), ) { private var methodName: S...
0
Kotlin
0
0
350d5b870b52ad4d84470cd68ef2c4f55c9c6795
3,752
plantarch
Apache License 2.0
library_swutils/src/main/java/com/swensun/http/SimpleActivityLifecycleCallbacks.kt
fighterwk
283,684,767
true
{"Kotlin": 330606, "Java": 106595}
package com.swensun.http import android.app.Activity import android.app.Application import android.os.Bundle import com.swensun.swutils.util.Logger open class SimpleActivityLifecycleCallbacks : Application.ActivityLifecycleCallbacks { override fun onActivityPaused(activity: Activity?) { } override fun o...
0
null
0
0
85e4c8c22b148b52c9594cc41a0503c318a8cb79
902
Potato
Apache License 2.0
src/test/java/com/example/springboot/http/甘肃/应用中台升级/大平台/UserAuthController.kt
DoubleDD
747,076,483
false
{"Kotlin": 302923, "Java": 116617}
package com.example.springboot.http.甘肃.应用中台升级.大平台 import com.example.springboot.http.common.BaseTest import com.example.springboot.http.common.ServerApi import org.junit.jupiter.api.Test import org.springframework.http.HttpEntity import org.springframework.http.HttpHeaders import org.springframework.http.HttpMethod c...
0
Kotlin
0
0
0a7cb7c5a9241c7931dc79cef3052c5cf4cd62dd
1,214
api-unit-test
MIT License
node/src/test/kotlin/net/corda/node/internal/NodeTest.kt
jjmiranda
92,631,751
true
{"Kotlin": 2797692, "Java": 156301, "Groovy": 26185, "Shell": 320, "Batchfile": 106}
package net.corda.node.internal import net.corda.core.createDirectories import net.corda.core.crypto.commonName import net.corda.core.div import net.corda.core.getOrThrow import net.corda.core.utilities.ALICE import net.corda.core.utilities.WHITESPACE import net.corda.testing.node.NodeBasedTest import org.assertj.core...
0
Kotlin
0
0
bb0cc852954ee9eac2883e3eed3c7ce4f7d3678b
614
corda
Apache License 2.0
src/main/kotlin/com/baulsupp/okurl/authenticator/authflow/AuthOptions.kt
yschimke
48,341,449
false
{"Kotlin": 515385, "Shell": 843, "Smarty": 777}
package com.baulsupp.okurl.authenticator.authflow sealed class AuthOption<T> { abstract val param: String } data class Prompt( override val param: String, val label: String, val default: String? = null, val secret: Boolean = false ) : AuthOption<String>() data class Scopes( override val param: String, ...
16
Kotlin
15
126
32ad9f89d17500399ac16b735f1398ad6ca32f41
585
okurl
Apache License 2.0