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/test/kotlin/com/gavinflood/fpl/api/properties/FplPropertiesTest.kt
gavinflud
398,069,887
false
null
package com.gavinflood.fpl.api.properties import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.BeforeAll import org.junit.jupiter.api.Test import org.junit.jupiter.api.TestInstance import java.util.* @TestInstance(TestInstance.Lifecycle.PER_CLASS) internal class FplPropertiesTest { p...
0
Kotlin
0
0
030a8302ac6780454a9a619c7f029d2b1e178c3f
3,369
fpl-api
MIT License
rounded/src/commonMain/kotlin/me/localx/icons/rounded/filled/RulerHorizontal.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.rounded.filled 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
2,930
icons
MIT License
src/main/kotlin/edu/pitt/cs3720/scheduling/framework/Device.kt
izzyalonso
214,712,750
false
null
package edu.pitt.cs3720.scheduling.framework import edu.pitt.cs3720.scheduling.framework.des.Controller import edu.pitt.cs3720.scheduling.framework.des.EventListener import edu.pitt.cs3720.scheduling.framework.des.Payload import java.util.concurrent.TimeUnit import kotlin.random.Random /** * A simulated device. Has...
0
Kotlin
0
0
f5a1e169ad2380ae9d2cf49f6a30ba6662411e98
4,535
Pitt-CS3720-Scheduling
MIT License
src/main/kotlin/edu/pitt/cs3720/scheduling/framework/Device.kt
izzyalonso
214,712,750
false
null
package edu.pitt.cs3720.scheduling.framework import edu.pitt.cs3720.scheduling.framework.des.Controller import edu.pitt.cs3720.scheduling.framework.des.EventListener import edu.pitt.cs3720.scheduling.framework.des.Payload import java.util.concurrent.TimeUnit import kotlin.random.Random /** * A simulated device. Has...
0
Kotlin
0
0
f5a1e169ad2380ae9d2cf49f6a30ba6662411e98
4,535
Pitt-CS3720-Scheduling
MIT License
src/main/kotlin/Day24.kt
N-Silbernagel
573,145,327
false
{"Kotlin": 118156}
import java.util.UUID import kotlin.collections.ArrayDeque fun main() { val input = readFileAsList("Day24") println(Day24.part1(input)) println(Day24.part2(input)) } object Day24 { private val start = Vector2d(2, 1) fun part1(input: List<String>): Long { val (maxXBlizzard, maxYBlizzard, g...
0
Kotlin
0
0
b0d61ba950a4278a69ac1751d33bdc1263233d81
7,440
advent-of-code-2022
Apache License 2.0
app/src/main/java/com/pasuh/masterchef/viewmodel/vm_ingredient_inventory/floor2/IngredientAddViewModel.kt
simopunkc
482,238,316
false
null
package com.pasuh.masterchef.viewmodel.vm_ingredient_inventory.floor2 import androidx.lifecycle.* import com.pasuh.masterchef.model.dao.dao_ingredient_inventory.floor2.IngredientAddDao import com.pasuh.masterchef.model.dao.dao_ingredient_inventory.floor2.IngredientDetailDao import com.pasuh.masterchef.model.erd.Ingred...
0
Kotlin
0
0
16a053e7d5aa9a797f61402816344c4afb41ce6e
2,559
masterchef
Apache License 2.0
src/main/kotlin/creational/factorymethod/gof/Truck.kt
samirtf
267,724,557
false
null
package creational.factorymethod.gof class Truck : Transport { override fun deliver() { println("Delivering by land in a box....") } }
0
Kotlin
0
0
9063512d40c2300d1e2bab2760627ee9ea1e4a71
151
design-patterns-kotlin
Apache License 2.0
features/explore/data/src/commonMain/kotlin/dev/alvr/katana/features/explore/data/di/module.kt
alvr
446,535,707
false
{"Kotlin": 465666, "Swift": 594}
package dev.alvr.katana.features.explore.data.di import org.koin.dsl.module val featuresExploreDataModule = module { }
3
Kotlin
0
59
bf949c999d220244ac89de1bd1b678d1a3123e0a
121
katana
Apache License 2.0
modules/core/arrow-core-data/src/main/kotlin/arrow/core/list.kt
adammurray-dev
175,006,167
true
{"Kotlin": 2299054, "CSS": 148033, "JavaScript": 66118, "HTML": 18206, "Java": 4465, "Shell": 3043, "Ruby": 1606}
package arrow.core object ListExtensions
0
Kotlin
0
0
b9db9fae312642ef1b825158691bf971374fa7c6
41
arrow
Apache License 2.0
compose/ui/ui-graphics/src/commonStubsMain/kotlin/androidx/compose/ui/graphics/layer/GraphicsLayer.commonStubs.kt
androidx
256,589,781
false
{"Kotlin": 112114129, "Java": 66594571, "C++": 9132142, "AIDL": 635065, "Python": 325169, "Shell": 194520, "TypeScript": 40647, "HTML": 35176, "Groovy": 27178, "ANTLR": 26700, "Svelte": 20397, "CMake": 15512, "C": 15043, "GLSL": 3842, "Swift": 3153, "JavaScript": 3019}
/* * Copyright 2024 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
29
Kotlin
1011
5,321
98b929d303f34d569e9fd8a529f022d398d1024b
3,595
androidx
Apache License 2.0
app/src/main/java/com/example/actions_playground/MainActivity.kt
ohioshirt
783,635,831
false
{"Kotlin": 5901}
package com.example.actions_playground 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....
1
Kotlin
0
0
b70dab341e43d5018e143a270963df571fb5f268
1,358
android-actions-playground
MIT License
app/src/main/java/org/xtimms/ridebus/widget/MaterialFastScroll.kt
ridebus-by
379,109,231
false
null
package org.xtimms.ridebus.widget import android.content.Context import android.util.AttributeSet import android.view.MotionEvent import androidx.core.view.ViewCompat import dev.chrisbanes.insetter.applyInsetter import eu.davidea.fastscroller.FastScroller import org.xtimms.ridebus.R import org.xtimms.ridebus.util.syst...
0
Kotlin
0
7
086da0d23cdbb238c35622053568361802ebd2bc
2,877
ridebus
Apache License 2.0
user-service/src/main/kotlin/com/faisaldev/user_service/models/Otp.kt
Abdirashid26
852,094,827
false
{"Kotlin": 68971, "Java": 5599}
package com.faisaldev.user_service.models import org.springframework.data.annotation.Id import org.springframework.data.relational.core.mapping.Table import java.time.LocalDateTime @Table("tb_otps") data class Otp( @Id val id: Long? = null, val phoneNumber: String, val otpValue: String, var used : Bo...
0
Kotlin
0
0
657856cf8109e6c854916d7d48161efe588d1cbd
566
Agent-Connect
Apache License 2.0
src/main/kotlin/com/fiap/payments/client/OrderApiClient.kt
FIAP-3SOAT-G15
794,350,537
false
{"Kotlin": 85816, "HCL": 3678, "Shell": 477, "Dockerfile": 285}
package com.fiap.payments.client import org.springframework.cloud.openfeign.FeignClient import org.springframework.web.bind.annotation.PathVariable import org.springframework.web.bind.annotation.RequestMapping import org.springframework.web.bind.annotation.RequestMethod @FeignClient( name = "orders-client", u...
0
Kotlin
0
1
0f38e20d15b32145589e05180db2d9591dc94a62
592
payments-api
MIT License
MSDKUIDemo/MSDKUIApp/src/main/java/com/here/msdkuiapp/base/BaseActivity.kt
heremaps
141,680,627
false
null
/* * Copyright (C) 2017-2021 HERE Europe B.V. * * 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...
1
Java
19
49
3b54e002f92cb92edb5a71e55fb064e6112158d6
2,116
msdkui-android
Apache License 2.0
src/main/kotlin/no/digdir/fdk/searchservice/kafka/KafkaRemovedEventCircuitBreaker.kt
Informasjonsforvaltning
730,308,878
false
{"Kotlin": 202438, "Java": 124145, "Shell": 1413, "Dockerfile": 647}
package no.digdir.fdk.searchservice.kafka import io.github.resilience4j.circuitbreaker.annotation.CircuitBreaker import io.micrometer.core.instrument.Metrics import no.digdir.fdk.searchservice.elastic.SearchRepository import no.digdir.fdk.searchservice.model.Metadata import no.digdir.fdk.searchservice.model.SearchObje...
5
Kotlin
0
0
d4f15b99e7cb93edf1528fbbda4ae6fb342d39fc
6,561
fdk-search-service
Apache License 2.0
library/src/main/kotlin/com/daniloaraujosilva/mathemagika/library/common/mathematica/functions/DayNightTerminator.kt
Danilo-Araujo-Silva
271,904,885
false
null
package com.daniloaraujosilva.mathemagika.library.common.mathematica.functions import com.daniloaraujosilva.mathemagika.library.common.mathematica.MathematicaFunction /** *```` * * Name: DayNightTerminator * * Full name: System`DayNightTerminator * * DayNightTerminator[] is...
2
Kotlin
0
3
4fcf68af14f55b8634132d34f61dae8bb2ee2942
1,260
mathemagika
Apache License 2.0
src/main/kotlin/org/skellig/plugin/language/teststep/psi/highlighter/SkelligTestStepSyntaxHighlighterFactory.kt
skellig-framework
309,154,374
false
{"Kotlin": 219539, "Lex": 2218}
package org.skellig.plugin.language.teststep.psi.highlighter import com.intellij.openapi.fileTypes.SyntaxHighlighter import com.intellij.openapi.fileTypes.SyntaxHighlighterFactory import com.intellij.openapi.project.Project import com.intellij.openapi.vfs.VirtualFile class SkelligTestStepSyntaxHighlighterFactory : Sy...
0
Kotlin
0
1
1f99c61d6c5deb44d684e98a413d9f991b9b2da7
509
skellig-intellij-plugin
Apache License 2.0
src/main/kotlin/cn/rtast/fancybot/entity/Setu.kt
RTAkland
848,208,941
false
{"Kotlin": 145690}
/* * Copyright © 2024 RTAkland * Author: RTAkland * Date: 2024/9/3 */ package cn.rtast.fancybot.entity data class Setu( val urls: URLS ) { data class URLS( val large: String ) }
0
Kotlin
0
1
e2b6ffff38f766588b1c5e6b77c2f60e47578b7d
204
FancyBot
Apache License 2.0
sampleconverter/src/main/java/com/github/nihad/sampleconverter/SampleConverter.kt
nihad92
296,145,296
false
{"HTML": 1026916, "C++": 954975, "Java": 423267, "JavaScript": 65394, "Kotlin": 47852, "CSS": 35396, "CMake": 24208, "Shell": 15777, "C": 8668, "Python": 7918}
package com.github.nihad.sampleconverter import com.github.nihad.sampleconverter.common.IHandle class SampleConverter : IHandle, AutoCloseable { init { System.loadLibrary("oboe-sample-converter") } constructor(inputSampleRate: Int, outputSampleRate: Int, channelCount: Int, numOfTaps: Int = 32) { ...
1
HTML
1
1
4492f24507356d26d07196bb10f735f2c93cfba4
1,371
Sample-Rate-Converter
Apache License 2.0
src/main/kotlin/com/thiyagu06/retry4k/RetryOptions.kt
thiyagu06
268,042,048
false
null
package com.thiyagu06.retry4k private const val DEFAULT_WAIT_TIME_SECONDS = 1000L class RetryOptions<T> private constructor(config: Builder<T>) { internal val maxAttempt: Int = config.maxAttempt internal var waitStrategy: ((Int) -> Long) = config.waitStrategy internal val retryOnResult: ((T) -> Boolean) =...
0
Kotlin
1
1
bcb3699b4b818fcc5b97b02a737c4a3304fa009b
2,123
retry4k
Apache License 2.0
css-gg/src/commonMain/kotlin/compose/icons/cssggicons/User.kt
DevSrSouza
311,134,756
false
{"Kotlin": 36756847}
package compose.icons.cssggicons import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap import androidx.c...
15
Kotlin
20
460
651badc4ace0137c5541f859f61ffa91e5242b83
2,892
compose-icons
MIT License
app/src/main/kotlin/com/github/willjgriff/ethereumwallet/ui/screens/settings/DeleteAddressAlertDialog.kt
willjgriff
79,726,997
false
null
package com.github.willjgriff.ethereumwallet.ui.screens.settings import android.content.Context import android.content.DialogInterface import android.os.Bundle import com.github.willjgriff.ethereumwallet.R import com.github.willjgriff.ethereumwallet.mvp.BaseMvpAlertDialog import com.github.willjgriff.ethereumwallet.ui...
0
Kotlin
1
12
3e8b894606df7fd5595078971ca0883cbf78badf
3,166
android-ethereum-wallet
Apache License 2.0
framework/debug/src/test/java/io/fluks/debug/dispatch/DebugEventsGsonTypeAdapterFactoryTest.kt
yaneq6
169,347,692
false
{"Gradle": 10, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Proguard": 1, "Kotlin": 82, "XML": 34, "SVG": 2, "Java": 1}
package io.fluks.debug.dispatch import com.google.gson.GsonBuilder import io.fluks.base.Event import org.junit.Assert.assertEquals import org.junit.Test class DebugEventsGsonTypeAdapterFactoryTest { val gson = GsonBuilder() .registerTypeAdapterFactory(DebugEvents.GsonTypeAdapter.Factory) .create()...
0
Kotlin
0
2
96ab0f8c34f52cf6f6e287e2317cb144c0b954e9
1,214
fluKs
MIT License
features/home/api/src/main/java/ru/aleshin/features/home/api/data/datasources/templates/TemplatesLocalDataSource.kt
v1tzor
638,022,252
false
{"Kotlin": 1353995, "Assembly": 26}
/* * Copyright 2023 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writin...
7
Kotlin
31
99
0762559e4dabea2971df1573472216f554ab8577
2,566
TimePlanner
Apache License 2.0
theme-m3/infos/infos-feature/src/main/kotlin/org/gdglille/devfest/android/theme/m3/infos/feature/EventViewModel.kt
GerardPaligot
444,230,272
false
{"Kotlin": 834594, "Swift": 125581, "Shell": 1148, "Dockerfile": 542}
package org.gdglille.devfest.android.theme.m3.infos.feature import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.google.firebase.crashlytics.ktx.crashlytics import com.google.firebase.ktx.Firebase import kotlinx.coroutines.flow.SharingStarted import kotlinx.coroutines.flow.StateFlow ...
8
Kotlin
5
141
d6e23529843f956d0c4c1ca7cca6a275422d3c22
1,225
conferences4hall
Apache License 2.0
uicomponent-compose/notification/src/main/java/io/github/droidkaigi/feeder/notification/NotificationViewModel.kt
DroidKaigi
448,507,544
false
null
package io.github.droidkaigi.feeder.notification import androidx.compose.runtime.Composable import androidx.compose.runtime.compositionLocalOf import io.github.droidkaigi.feeder.AppError import io.github.droidkaigi.feeder.NotificationContents import io.github.droidkaigi.feeder.core.UnidirectionalViewModel import kotli...
3
Kotlin
3
18
8d58e41b4bf4fbc0559fc32921a856f71f6b049e
1,388
droidkaigi-feed-reader-app
Apache License 2.0
src/main/kotlin/dev/floofy/ktor/plugins/Sentry.kt
AugustArchive
472,041,302
false
{"Kotlin": 18273, "Shell": 293}
/* * 🪟 ktor-sentry: Pluggable Ktor plugin to implement Sentry for error handling and request contexts. * Copyright (c) 2022 Noel <<EMAIL>> * * 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 Soft...
1
Kotlin
0
3
fbc82c0194f548efd0575436700f69277cd34888
4,734
sentry-ktor
MIT License
src/main/java/me/shadowalzazel/mcodyssey/enchantments/api/TomeManager.kt
ShadowAlzazel
511,383,377
false
{"Kotlin": 1109680}
package me.shadowalzazel.mcodyssey.enchantments.api import org.bukkit.Material import org.bukkit.entity.HumanEntity import org.bukkit.entity.Player import org.bukkit.inventory.ItemStack import org.bukkit.inventory.meta.EnchantmentStorageMeta import org.bukkit.inventory.meta.Repairable internal interface TomeManager :...
0
Kotlin
0
3
2f2f89b48365c8d815c890e8e90e06ed6a5853d9
9,463
MinecraftOdyssey
MIT License
app/src/main/java/com/stevenpopovich/talktothat/cameraengine/facialdetection/FaceTrackingProcess.kt
stevepopovich
291,135,072
false
{"G-code": 32972125}
package com.stevenpopovich.talktothat.cameraengine.facialdetection class FaceTrackingProcess( override var input: Double, override var output: Double, override var setpoint: Double ) : Process
5
G-code
0
4
180327cbd933262087ac5e7537bca8053de79db4
206
sam
MIT License
app/src/main/java/com/trawlbens/reift/e_commerce/presentation/home/composables/HomeTopBar.kt
ReihanFatilla
702,794,881
false
{"Kotlin": 71803}
package com.trawlbens.reift.e_commerce.presentation.home.composables import androidx.compose.foundation.ExperimentalFoundationApi import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.padd...
0
Kotlin
0
0
274e8ab8b7d517845f22708d1cb26410e268b6a2
3,035
ECommerce-Compose
MIT License
app/src/main/java/me/kirimin/mitsumine/_common/network/parser/StarApiParser.kt
ryugoo
84,503,475
true
{"Kotlin": 154017, "Java": 907}
package me.kirimin.mitsumine._common.network.parser import me.kirimin.mitsumine._common.domain.extensions.toList import me.kirimin.mitsumine._common.domain.model.Star import org.json.JSONObject object StarApiParser { fun parseResponse(json: JSONObject): List<Star> { val stars = when (json.getJSONArray("e...
0
Kotlin
0
0
4c962cbcc7d8b1e4f77f5e52130c5b72d10b27fe
1,017
mitsumine
Apache License 2.0
app/src/main/java/me/kirimin/mitsumine/_common/network/parser/StarApiParser.kt
ryugoo
84,503,475
true
{"Kotlin": 154017, "Java": 907}
package me.kirimin.mitsumine._common.network.parser import me.kirimin.mitsumine._common.domain.extensions.toList import me.kirimin.mitsumine._common.domain.model.Star import org.json.JSONObject object StarApiParser { fun parseResponse(json: JSONObject): List<Star> { val stars = when (json.getJSONArray("e...
0
Kotlin
0
0
4c962cbcc7d8b1e4f77f5e52130c5b72d10b27fe
1,017
mitsumine
Apache License 2.0
platform/lang-impl/src/com/intellij/lang/documentation/impl/InternalLinkResult.kt
SysBind
202,502,390
false
null
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.lang.documentation.impl import org.jetbrains.annotations.ApiStatus @ApiStatus.Internal sealed class InternalLinkResult { object Invalid...
1
null
1
1
0eb0bc0905884e3fa5027883af926427e21a3cea
469
intellij-community
Apache License 2.0
kotlin-node/src/jsMain/generated/node/process/WriteStream.kt
JetBrains
93,250,841
false
{"Kotlin": 12159121, "JavaScript": 330528}
// Generated by Karakum - do not modify it manually! package node.process @Suppress("INTERFACE_WITH_SUPERCLASS") sealed external interface WriteStream : node.tty.WriteStream
40
Kotlin
165
1,319
a8a1947d73e3ed26426f1e27b641bff427dfd6a0
179
kotlin-wrappers
Apache License 2.0
core/src/main/java/at/shockbytes/dante/core/login/UnauthenticatedUserException.kt
shockbytes
92,944,830
false
{"Kotlin": 790848}
package at.shockbytes.dante.core.login class UnauthenticatedUserException : Exception()
21
Kotlin
7
73
626fd7c12691be646fcd7b55a9c46539073af675
88
Dante
Apache License 2.0
app/src/main/java/com/mutualmobile/praxis/ui/home/about/AboutFragment.kt
mutualmobile
221,002,551
false
null
package com.mutualmobile.praxis.ui.home.about import android.os.Bundle import android.text.method.LinkMovementMethod import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.databinding.DataBindingUtil import androidx.fragment.app.DialogFragment import androidx.lifecycl...
6
null
20
92
2b447886b00984fb69f1899248c292037306a36a
1,132
Praxis
Apache License 2.0
app/src/main/java/io/github/pelmenstar1/digiDict/stats/MonthAdditionStats.kt
pelmenstar1
512,710,767
false
{"Kotlin": 1238378, "Python": 531}
package io.github.pelmenstar1.digiDict.stats /** * Represents an entry which contains concise addition stats information about a particular month. */ data class MonthAdditionStats( /** * The least amount of added records in a day within the month. */ val min: Int, /** * The greatest amoun...
6
Kotlin
0
3
62f9519a065f1b9f27d200636b07e11d88a270f6
499
DigiDictionary
MIT License
idea/tests/testData/checker/regression/IncompleteClassDelegation.fir.kt
JetBrains
278,369,660
false
null
package c class C<T>: <error descr="[SUPERTYPE_NOT_A_CLASS_OR_INTERFACE] Supertype is not a class or interface">T</error> by { } class D<T>: <error descr="[SUPERTYPE_NOT_A_CLASS_OR_INTERFACE] Supertype is not a class or interface">T</error> by<EOLError descr="Expecting an expression"></EOLError> class G<T> : <error ...
0
Kotlin
30
82
cc81d7505bc3e9ad503d706998ae8026c067e838
577
intellij-kotlin
Apache License 2.0
app/src/main/java/com/mohammadfayaz/hn/ui/stories/ask/AskStoriesFragment.kt
fayaz07
431,064,021
false
{"Kotlin": 109519}
package com.mohammadfayaz.hn.ui.stories.ask import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.core.view.isVisible import androidx.fragment.app.viewModels import androidx.lifecycle.lifecycleScope import androidx.paging.LoadState import com...
13
Kotlin
2
4
498917164eeea6b7808ff30b8f772cf557e1c4e6
3,659
HackerNews
MIT License
DijkstraAlgorithm/src/main/java/com/muramsyah/dijkstraalgorithm/haversine/Node.kt
ramdhanjr11
493,106,469
false
{"Kotlin": 68652}
/* * Copyright (c) 2022. * Created By M Ramdhan Syahputra on 16-05-2022 * Github : https://github.com/ramdhanjr11 * LinkedIn : https://www.linkedin.com/in/ramdhanjr11 * Instagram : ramdhan.official */ data class Node( val lat: Double, val long: Double )
0
Kotlin
0
2
7f4782354a578030728cb2c64aed768095e38c32
269
Sea-Kidul-App
Apache License 2.0
cache/formats/src/main/kotlin/io/guthix/oldscape/cache/export/ObjExporter.kt
Jakobzs
388,064,155
true
{"Kotlin": 5388109}
/* * Copyright 2018-2021 Guthix * * 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
41162697fc46ff2c3df2428cdd08deb57f0cb533
3,486
OldScape
Apache License 2.0
app/src/main/java/ar/com/play2play/presentation/tuttifrutti/create/categories/CreateTuttiFruttiFragment.kt
UTN-FRBA-Mobile
365,641,042
false
null
package ar.com.play2play.presentation.tuttifrutti.create.categories import android.view.LayoutInflater import android.view.ViewGroup import android.view.inputmethod.EditorInfo import androidx.fragment.app.activityViewModels import androidx.fragment.app.viewModels import androidx.recyclerview.widget.LinearLayoutManager...
0
Kotlin
1
0
3212cb762824af2e12d3a7492ef66cc72326f3d0
3,810
Play2Play
MIT License
app/src/main/java/com/example/inventory/StockActivity.kt
wenvelope
538,791,409
false
null
package com.example.inventory import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.widget.Toast import androidx.activity.viewModels import androidx.databinding.DataBindingUtil import androidx.lifecycle.lifecycleScope import androidx.recyclerview.widget.LinearLayoutManager import com....
0
Kotlin
0
1
d2fa3c4aa7fa478e57bfff76754919a762c86687
1,525
Inventory
MIT License
mobile/src/main/java/demo/technology/chorus/chorusdemo/integration/uport/signer/UportSigner.kt
chorusmobility
124,752,311
false
{"Java": 280781, "Kotlin": 7731}
package demo.technology.chorus.chorusdemo.integration.uport.signer import android.support.v7.app.AppCompatActivity import android.util.Base64 import com.uport.sdk.signer.UportHDSigner import com.uport.sdk.signer.encryption.KeyProtection import org.walleth.khex.toHexString fun sign(activity : AppCompatActivity, phrase...
1
null
3
1
fc7a4a954b7d72fbcd6d22547d9b5d549eaddbc3
590
driver-behavior-android-ethereum-app
FSF All Permissive License
core-kotlin-modules/core-kotlin-9/src/test/kotlin/com/baeldung/result/Result.kt
Baeldung
260,481,121
false
{"Kotlin": 1855665, "Java": 48276, "HTML": 4883, "Dockerfile": 292}
package com.baeldung.result import org.junit.Assert.assertEquals import org.junit.Assert.assertTrue import org.junit.jupiter.api.Test import kotlin.test.assertFailsWith fun transformStringToInt(input: String): Result <Int> { return input.toIntOrNull() ?.let { Result.success(it) } ?: Result.failure...
14
Kotlin
294
465
f1ef5d5ded3f7ddc647f1b6119f211068f704577
1,199
kotlin-tutorials
MIT License
asset-collection-example/src/main/kotlin/furhatos/app/assetcollectionexample/init.kt
FurhatRobotics
418,899,332
false
{"Kotlin": 120881, "Python": 13628, "JavaScript": 5293, "HTML": 4541, "CSS": 2334}
package furhatos.app.assetcollectionexample import furhatos.app.assetcollectionexample.flow.Menu import furhatos.flow.kotlin.furhat import furhatos.flow.kotlin.state import furhatos.flow.kotlin.users import furhatos.util.CommonUtils val logger = CommonUtils.getLogger("AssetCollectionSkill") val Init = state { i...
1
Kotlin
12
4
70aa5af3ca6f1d4a1e81f01db9d86444aa838043
1,074
tutorials
MIT License
app/src/main/java/com/seif/booksislandapp/presentation/home/my_ads/auction/MyAuctionAdsState.kt
SeifEldinMohamed
570,587,114
false
null
package com.seif.booksislandapp.presentation.home.my_ads.auction import com.seif.booksislandapp.domain.model.adv.auction.AuctionAdvertisement sealed class MyAuctionAdsState { object Init : MyAuctionAdsState() data class IsLoading(val isLoading: Boolean) : MyAuctionAdsState() data class ShowError(val error...
0
Kotlin
0
0
8a65e6406811c2d6c59064c5e1af8f9493aa7cc2
568
Books-Island-App
Apache License 2.0
cinescout/tvshows/domain/src/commonMain/kotlin/cinescout/tvshows/domain/model/TvShowGenres.kt
4face-studi0
280,630,732
false
null
package cinescout.tvshows.domain.model import arrow.core.NonEmptyList import cinescout.common.model.Genre data class TvShowGenres( val tvShowId: TmdbTvShowId, val genres: NonEmptyList<Genre> )
19
Kotlin
2
3
d64398507d60a20a445db1451bdd8be23d65c9aa
203
CineScout
Apache License 2.0
src/main/kotlin/maliwan/mcbl/weapons/gun/behaviour/rifle/Grenadier.kt
HannahSchellekens
868,217,631
false
{"Kotlin": 661924}
package maliwan.mcbl.weapons.gun.behaviour.rifle import maliwan.mcbl.weapons.Manufacturer import maliwan.mcbl.weapons.WeaponClass import maliwan.mcbl.weapons.gun.AssaultRifleAssembly import maliwan.mcbl.weapons.gun.GunProperties import maliwan.mcbl.weapons.gun.WeaponAssembly import maliwan.mcbl.weapons.gun.behaviour.P...
0
Kotlin
0
1
794eb28189b26c92e8de3ade5eb0d36b9e799d08
947
MCBorderlands
MIT License
app/src/main/java/com/a10miaomiao/bilimiao/activitys/UpperChannelVideoListActivity.kt
10miaomiao
115,510,569
false
null
package com.a10miaomiao.bilimiao.activitys import android.app.Activity import android.content.Intent import android.os.Bundle import android.support.v7.app.AlertDialog import android.support.v7.widget.LinearLayoutManager import android.view.View import com.a10miaomiao.bilimiao.R import com.a10miaomiao.bilimiao.adapter...
1
Kotlin
1
20
dfd78b56b5c41eb49454836ee2bce5cefc667db7
5,824
bilimiao
Apache License 2.0
typescript-kotlin/src/main/kotlin/typescript/ClassifiedSpan.kt
turansky
393,199,102
false
null
// Automatically generated - do not modify! package typescript external interface ClassifiedSpan { /* textSpan: TextSpan; classificationType: ClassificationTypeNames; */ }
0
Kotlin
1
10
bcf03704c0e7670fd14ec4ab01dff8d7cca46bf0
190
react-types-kotlin
Apache License 2.0
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsdprfakedpsservice/controller/FakePreferencesController.kt
ministryofjustice
679,260,643
false
{"Kotlin": 20698, "Dockerfile": 1068}
package uk.gov.justice.digital.hmpps.hmppsdprfakedpsservice.controller import io.swagger.v3.oas.annotations.Operation import io.swagger.v3.oas.annotations.security.SecurityRequirement import io.swagger.v3.oas.annotations.tags.Tag import jakarta.persistence.EntityNotFoundException import jakarta.validation.Valid import...
0
Kotlin
0
1
e6331dfd14a76fabac35eef210edd22886d77ca4
3,043
hmpps-dpr-fake-dps-service
MIT License
android/feature/home/src/main/java/com/jaino/home/HomeViewModel.kt
pknu-wap
615,959,763
false
null
package com.jaino.home import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.jaino.common.flow.EventFlow import com.jaino.common.flow.MutableEventFlow import com.jaino.common.model.UiEvent import com.jaino.data.repository.rank.RankRepository import com.jaino.model.rank.Rank import dag...
1
Kotlin
3
9
f2144cb5f19d0617b146b94fcc3058f330f2df41
2,156
2023_1_WAT_BeJuRyu
MIT License
src/shared/src/linuxMain/kotlin/gpo746/TestCases.kt
andy-preston
603,731,107
false
{"Kotlin": 83332, "Assembly": 34065, "Python": 27375, "XML": 11574, "Shell": 6543, "Dockerfile": 1517, "TypeScript": 233}
package andyp.gpo746 class TestCases(driver: Ch340g) { private val ch340g = driver private var flipBit = false private fun highLow(bit: Boolean, line: String): String { return if (bit) "$line 5V" else "$line Gnd" } private fun serialInput() { val string = ch340g.readSerial() ...
17
Kotlin
0
0
7b323d9f46599982ab5963b92b110068d2c9f73c
973
gpo-746-android
The Unlicense
bitgouel-api/src/main/kotlin/team/msg/domain/school/service/SchoolService.kt
School-of-Company
700,741,727
false
{"Kotlin": 519344, "Shell": 764, "Dockerfile": 206}
package team.msg.domain.school.service import team.msg.domain.school.presentation.data.response.SchoolsResponse interface SchoolService { fun querySchools(): SchoolsResponse }
4
Kotlin
0
14
c68c5619de4fa1e025cb3b239e043dee7579122e
181
Bitgouel-Server
MIT License
app/src/main/java/eu/kanade/tachiyomi/source/Source.kt
vaginadesolator
330,256,045
true
{"Kotlin": 1699749}
package eu.kanade.tachiyomi.source import android.graphics.drawable.Drawable import eu.kanade.tachiyomi.extension.ExtensionManager import eu.kanade.tachiyomi.source.model.Page import eu.kanade.tachiyomi.source.model.SChapter import eu.kanade.tachiyomi.source.model.SManga import eu.kanade.tachiyomi.util.lang.awaitSingl...
0
Kotlin
0
0
9b6fdf89d8ea4bf618c32067e27cf6cb97301ef7
2,036
tachiyomi
Apache License 2.0
app/src/main/java/com/muhammedesadcomert/fastfood/ui/detail/DetailViewModel.kt
muhammedesadcomert
535,368,908
false
{"Kotlin": 39582}
package com.muhammedesadcomert.fastfood.ui.detail import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.muhammedesadcomert.fastfood.domain.repository.ProductRepository import com.muhammedesadcomert.fastfood.u...
0
Kotlin
0
4
8b8343d79a783f76aaff9fcd509ae650239986f4
1,621
FastFood
MIT License
Flutter-Show Toasts App/android/app/src/main/kotlin/com/example/App3_toasts/MainActivity.kt
sai-varshith
412,802,250
false
null
package com.example.App3_toasts import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { }
1
null
1
2
3a8d6e2fc828006a8537e7eb366e2cc5260b74f6
128
Hacktoberfest2021
MIT License
app/src/main/java/com/dlong/networkdebugassistant/utils/ByteUtils.kt
D10NGYANG
225,984,624
false
null
package com.dlong.networkdebugassistant.utils import java.lang.StringBuilder /** * byte 转换工具 * * @author D10NG * @date on 2019-11-23 16:52 */ object ByteUtils { /** * 检验校验和 * @param data 数据,最后一个byte为校验和 */ fun checkEndNum(data: ByteArray) : Boolean { var num = (0).toByte() ...
0
Kotlin
5
8
39ea3daaefe1ca3cbde2c11c95c62ef34f158faf
2,143
NetworkDebugAssistant
Apache License 2.0
korge/src/commonMain/kotlin/com/soywiz/korge/input/MouseEvents.kt
zhch0633
365,435,090
true
{"Kotlin": 2876182, "Java": 182026, "Shell": 1955, "Batchfile": 1618}
package com.soywiz.korge.input import com.soywiz.kds.* import com.soywiz.klock.TimeSpan import com.soywiz.korge.bitmapfont.* import com.soywiz.korge.component.* import com.soywiz.korge.view.* import com.soywiz.korim.bitmap.* import com.soywiz.korim.color.* import com.soywiz.korio.async.* import com.soywiz.korio.util.*...
0
null
0
1
dcddb3eb4d9e34a263a235089237deb89f339cd3
15,279
korge
Apache License 2.0
korge/src/commonMain/kotlin/com/soywiz/korge/input/MouseEvents.kt
zhch0633
365,435,090
true
{"Kotlin": 2876182, "Java": 182026, "Shell": 1955, "Batchfile": 1618}
package com.soywiz.korge.input import com.soywiz.kds.* import com.soywiz.klock.TimeSpan import com.soywiz.korge.bitmapfont.* import com.soywiz.korge.component.* import com.soywiz.korge.view.* import com.soywiz.korim.bitmap.* import com.soywiz.korim.color.* import com.soywiz.korio.async.* import com.soywiz.korio.util.*...
0
null
0
1
dcddb3eb4d9e34a263a235089237deb89f339cd3
15,279
korge
Apache License 2.0
src/main/kotlin/day9.kt
p88h
317,362,882
false
null
fun part1(nums: List<Long>): Long { var sums = HashMap<Long, Long>() for (a in nums.indices) { val b = a - 25 if (b >= 0 && nums[a] !in sums) { println(nums[a]) return nums[a] } for (c in b + 1 until a) { if (b >= 0) { // remove...
0
Kotlin
0
5
846ad4a978823563b2910c743056d44552a4b172
1,273
aoc2020
The Unlicense
android/app/src/main/kotlin/com/naranjo/sensores/sensores_flutter/MainActivity.kt
andrezillo17
380,805,053
false
{"Dart": 5440, "Swift": 404, "Kotlin": 142, "Objective-C": 38}
package com.naranjo.sensores.sensores_flutter import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { }
0
Dart
0
0
93c1ef70dfcb6bca1a67ffbe2a7243930b2985e6
142
sensores_flutter
Apache License 2.0
dev-resources/design/composeApp/src/commonMain/kotlin/Color.kt
OpenNeptune3D
835,222,248
false
{"Kotlin": 116872, "Python": 103578, "Shell": 35786}
import androidx.compose.ui.graphics.Color val primaryLight = Color(0xFF00696E) val onPrimaryLight = Color(0xFFFFFFFF) val primaryContainerLight = Color(0xFF9CF0F6) val onPrimaryContainerLight = Color(0xFF002022) val secondaryLight = Color(0xFF8C4F27) val onSecondaryLight = Color(0xFFFFFFFF) val secondaryContainerLight...
0
Kotlin
1
2
d969fb53489f0be4b079a24d5271ed2976925cf5
10,853
display_firmware
MIT License
kt/entry-generation/godot-kotlin-symbol-processor/src/main/kotlin/godot/annotation/processor/ext/ksFunctionDeclarationExt.kt
utopia-rise
289,462,532
false
null
package godot.annotation.processor.ext import com.google.devtools.ksp.symbol.KSFunctionDeclaration import godot.annotation.RegisterConstructor import godot.annotation.RegisterFunction import godot.entrygenerator.model.Constructor import godot.entrygenerator.model.ConstructorAnnotation import godot.entrygenerator.model...
47
Kotlin
25
301
0d33ac361b354b26c31bb36c7f434e6455583738
2,728
godot-kotlin-jvm
MIT License
app/src/main/java/com/moviedb/app/di/ViewModelModule.kt
anil-gudigar
340,400,074
false
null
package com.moviedb.app.di import androidx.lifecycle.ViewModelProvider import com.moviedb.core.di.ViewModelFactory import com.moviedb.discover.di.MovieViewModelModule import com.moviedb.more.di.MoreViewModelModule import com.moviedb.people.di.PeopleViewModelModule import com.moviedb.tvshows.di.TVShowViewModelModule im...
0
Kotlin
0
2
011c144247841812f0a3f3e7f3b50a85bf40b536
705
TheMovieDB
Apache License 2.0
src/main/java/cy/ac/ucy/cs/anyplace/lib/android/data/anyplace/wrappers/SpaceWrapper.kt
dmsl
300,647,134
false
{"Kotlin": 744946, "Java": 15482}
package cy.ac.ucy.cs.anyplace.lib.android.data.anyplace.wrappers import android.content.Context import android.graphics.drawable.Drawable import androidx.annotation.ColorRes import androidx.core.content.ContextCompat import com.google.android.gms.maps.model.LatLng import com.google.gson.Gson import cy.ac.ucy.cs.anypla...
0
Kotlin
1
3
653becd0961171ad33fa25fac2260927ce5f5175
4,162
anyplace-lib-android
MIT License
Chapter02/Exercise2.03/app/src/main/java/com/example/saveandrestore/MainActivity.kt
PacktPublishing
310,206,627
false
null
package com.example.saveandrestore import android.content.Context import android.os.Bundle import android.util.Log import android.view.inputmethod.InputMethodManager import android.widget.Button import android.widget.EditText import android.widget.TextView import android.widget.Toast import androidx.appcompat.app.AppC...
2
null
67
97
b37be5b81ed1f5fb107733b509bae80e46f92f4a
3,298
How-to-Build-Android-Apps-with-Kotlin
MIT License
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/TemperatureSun.kt
walter-juan
868,046,028
false
{"Kotlin": 20416825}
package com.woowla.compose.icon.collections.tabler.tabler.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.vector.ImageVector import androidx.compose.ui.graphics.vector...
0
Kotlin
0
1
b037895588c2f62d069c724abe624b67c0889bf9
4,367
compose-icon-collections
MIT License
domain/src/main/java/com/kwsilence/topmoviescompose/domain/usecase/movie/GetPopularMovieListUseCase.kt
KWSilence
592,816,509
false
null
package com.kwsilence.topmoviescompose.domain.usecase.movie import com.kwsilence.topmoviescompose.domain.exception.detectInternetConnectionException import com.kwsilence.topmoviescompose.domain.model.LoadMode import com.kwsilence.topmoviescompose.domain.model.Movie import com.kwsilence.topmoviescompose.domain.model.Mo...
0
Kotlin
0
2
c0a985f4ebc604bae539c30cfdfd32bb202a7436
1,120
TopMoviesCompose
Apache License 2.0
{{ cookiecutter.app_name }}/app/src/main/java/{{ cookiecutter.package_dir }}/app/UiThread.kt
michalharakal
116,959,545
false
null
package {{ cookiecutter.package_name }}.ui import io.reactivex.Scheduler import io.reactivex.android.schedulers.AndroidSchedulers import {{ cookiecutter.package_name }}.domain.executor.PostExecutionThread import javax.inject.Inject /** * MainThread (UI Thread) implementation based on a [Scheduler] * which will exec...
1
null
1
1
6cdcc6451384d6403c30d1ddbb6de7076a2b6444
519
clean-code-cookiecutter-android
MIT License
skellig-test-step-processing/src/test/kotlin/org/skellig/teststep/processing/value/function/SubStringLastFunctionExecutorTest.kt
skellig-framework
263,021,995
false
{"Kotlin": 1283314, "CSS": 525991, "Java": 270216, "FreeMarker": 66859, "HTML": 11313, "ANTLR": 6165}
package org.skellig.teststep.processing.value.function import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Test internal class SubStringLastFunctionExecutorTest { private val functionExecutor = SubStringLastFunctionExecutor() @Test fun testSubstringLast() { assertEq...
8
Kotlin
0
3
ed375268b0e444f1928f22f4ac27603e9d1fb66b
399
skellig-core
Apache License 2.0
src/main/kotlin/com/tutorial/demo/model/user/Response/CreateUserResponse.kt
Treeeet
516,060,515
false
null
package com.tutorial.demo.model.user.Response class CreateUserResponse { }
0
Kotlin
0
0
f691129dc90716acf3007db973d42d04d03e5bab
75
demo
MIT License
app/src/main/java/com/cornellappdev/android/volume/ui/screens/IndividualMagazineScreen.kt
cuappdev
466,793,799
false
null
package com.cornellappdev.android.volume.ui.screens import android.content.Context import android.content.Intent import androidx.compose.foundation.Image import androidx.compose.foundation.background import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Arrangement import androidx.comp...
1
Kotlin
1
2
da6f663bcfb5c3ddac4a1de26bc97b0fcdf07c2e
11,300
volume-compose-android
MIT License
app/src/main/java/com/items/bim/repository/KVMapRepositor.kt
losebai
800,799,665
false
{"Kotlin": 644896, "Java": 11455}
package com.items.bim.repository import com.items.bim.dao.KVMapDao import com.items.bim.entity.KVMapEntity interface KVMapRepository : OfflineRepository<KVMapEntity, KVMapDao> { suspend fun findByKey(key: String): KVMapEntity? }
0
Kotlin
0
0
86f8cb939b3671158e568638b0c8e3b82df87fa1
236
B-Im
Apache License 2.0
security/src/test/java/com/twilio/security/storage/key/BiometricSecretKeyTest.kt
twilio
232,428,508
false
null
/* * Copyright (c) 2020, Twilio Inc. */ package com.twilio.security.storage.key import android.security.keystore.KeyPermanentlyInvalidatedException import com.nhaarman.mockitokotlin2.any import com.nhaarman.mockitokotlin2.argumentCaptor import com.nhaarman.mockitokotlin2.eq import com.nhaarman.mockitokotlin2.mock im...
5
Kotlin
3
9
7599b76a8eff6ceff2d6c5eb05fe0d0ebe7fe172
8,141
twilio-verify-android
Apache License 2.0
calf-file-picker/src/desktopMain/kotlin/com/mohamedrejeb/calf/picker/platform/mac/foundation/ID.kt
MohamedRejeb
674,932,206
false
null
package com.mohamedrejeb.calf.picker.platform.mac.foundation import com.sun.jna.NativeLong /** * Could be an address in memory (if pointer to a class or method) or a value (like 0 or 1) */ internal class ID : NativeLong { constructor() constructor(peer: Long) : super(peer) fun booleanValue(): Boolean { retur...
26
null
41
905
acb2a7388a776a6f22fcf7f351868359c3113695
514
Calf
Apache License 2.0
advent/src/test/kotlin/org/elwaxoro/advent/y2023/Dec15.kt
elwaxoro
328,044,882
false
{"Kotlin": 451247}
package org.elwaxoro.advent.y2023 import org.elwaxoro.advent.PuzzleDayTester /** * Lens Library */ class Dec15 : PuzzleDayTester(15, 2023) { /** * 506437 */ override fun part1(): Any = loader().sumOf { it.HASH() } /** * 288521 */ override fun part2(): Any = loader().fold((0..<2...
0
Kotlin
4
0
38707af89268101270b5cfed5f0e65e2bd3a287e
1,308
advent-of-code
MIT License
src/main/kotlin/com/aleferna/chatutils/commands/CalculatorCommand.kt
aleferna12
344,828,489
false
null
package com.aleferna.chatutils.commands import com.fathzer.soft.javaluator.DoubleEvaluator import com.fathzer.soft.javaluator.StaticVariableSet import com.mojang.brigadier.context.CommandContext import io.github.cottonmc.clientcommands.CottonClientCommandSource import net.minecraft.client.MinecraftClient import net.mi...
0
Kotlin
0
0
c32da861a13889d484d81f8d6044e0f0d440a9fe
2,669
ChatUtils
MIT License
composeApp/src/commonMain/kotlin/ru/sportivityteam/vucmirea/assistant/home/employee/ui/EmployeeStates.kt
SportivityTeam
753,183,017
false
{"Kotlin": 126741, "Swift": 532}
package ru.sportivityteam.vucmirea.assistant.home.employee.ui import ru.sportivityteam.vucmirea.assistant.home.employee.ui.entity.EmployeePresentation data class EmployeeViewState( val isLoading: Boolean = false, val employeeList: List<EmployeePresentation> = listOf() ) sealed class EmployeeViewAction { } ...
0
Kotlin
0
2
92421045f37e37c5002c2d26c8085e09f69eeaf0
355
mis-vuc
MIT License
feature/registration/src/main/java/br/com/bit/guardian/registration/ui/login/model/LoginEvent.kt
nascimentodiego
738,913,578
false
{"Kotlin": 224617, "Shell": 10858}
package br.com.bit.guardian.registration.ui.login.model sealed class LoginEvent { class Success : LoginEvent() class Error : LoginEvent() }
8
Kotlin
0
1
d6ac121cc605c449f1ec2262fe85356a1dc60a61
148
guardian
MIT License
utilities/src/main/kotlin/ch/hippmann/godot/utilities/signal/SignalConnectable.kt
chippmann
711,421,009
false
{"Kotlin": 44766}
package ch.hippmann.godot.utilities.signal import godot.Node import godot.annotation.RegisterFunction import godot.core.GodotError import godot.core.VariantArray import godot.signals.Signal0 import godot.signals.Signal1 import godot.signals.Signal2 import godot.signals.Signal3 import godot.signals.Signal4 import godot...
0
Kotlin
0
3
7fcd5218f75ecf493f602bed8fe78f6f2e737773
3,940
ch.hippmann.godot.utilities
MIT License
utilities/src/main/kotlin/ch/hippmann/godot/utilities/signal/SignalConnectable.kt
chippmann
711,421,009
false
{"Kotlin": 44766}
package ch.hippmann.godot.utilities.signal import godot.Node import godot.annotation.RegisterFunction import godot.core.GodotError import godot.core.VariantArray import godot.signals.Signal0 import godot.signals.Signal1 import godot.signals.Signal2 import godot.signals.Signal3 import godot.signals.Signal4 import godot...
0
Kotlin
0
3
7fcd5218f75ecf493f602bed8fe78f6f2e737773
3,940
ch.hippmann.godot.utilities
MIT License
core/src/commonMain/kotlin/work/socialhub/kmisskey/internal/Internal.kt
uakihir0
756,689,268
false
{"Kotlin": 192223, "Ruby": 2188, "Shell": 1485, "Makefile": 315}
package misskey4j.internal import kotlinx.datetime.TimeZone import kotlinx.serialization.ExperimentalSerializationApi import kotlinx.serialization.encodeToString import kotlinx.serialization.json.Json import kotlinx.serialization.modules.SerializersModule import misskey4j.entity.share.Response import work.socialhub.kh...
0
Kotlin
0
0
9cddb8fcbab49f3c61f2e7e5e7a2380939a3f1c1
2,207
kmisskey
MIT License
app/src/main/java/com/turastory/falcon/ui/feed/FeedAdapter.kt
turastory
154,104,058
false
null
package com.turastory.falcon.ui.feed import android.support.v7.widget.RecyclerView import android.view.View import android.view.ViewGroup import com.turastory.falcon.R import com.turastory.falcon.ui.GlideApp import com.turastory.falcon.ui.inflate import kotlinx.android.synthetic.main.item_feed.view.* import org.ocpsof...
0
Kotlin
0
0
ec2d5472d7d7a4172b056e938bc4a0e1a8e41471
2,831
falcon-android
Apache License 2.0
projects/manage-supervision-and-delius/src/test/kotlin/uk/gov/justice/digital/hmpps/api/controller/UserControllerTest.kt
ministryofjustice
500,855,647
false
{"Kotlin": 4250610, "HTML": 70066, "D2": 42781, "Ruby": 25921, "Shell": 19356, "SCSS": 6370, "HCL": 2712, "Dockerfile": 2447, "JavaScript": 1372, "Python": 268}
package uk.gov.justice.digital.hmpps.api.controller import org.hamcrest.MatcherAssert.assertThat import org.hamcrest.Matchers.equalTo import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.ExtendWith import org.mockito.InjectMocks import org.mockito.Mock import org.mockito.junit.jupiter.MockitoExtens...
3
Kotlin
0
2
f53146f969b1acf4dbd147a5d588c5ad23c15a78
3,740
hmpps-probation-integration-services
MIT License
app/src/main/kotlin/com/vandele/classicalmusicnews/ui/screen/feed/FeedScreen.kt
Rviewer-Challenges
717,362,335
false
{"Kotlin": 91227}
@file:OptIn(ExperimentalMaterial3Api::class, ExperimentalMaterial3Api::class) package com.vandele.classicalmusicnews.ui.screen.feed import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.PaddingValues import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.founda...
0
Kotlin
0
0
4d1e959458a3760a2966aea8a5aaae167638cea2
4,621
3QhGG7sTri71nyAnE4Bm
MIT License
app/src/main/java/com/nominalista/expenses/util/extensions/Fragment.kt
foodphoenix-zz
231,165,870
true
{"Kotlin": 164717}
package com.nominalista.expenses.util.extensions import android.view.View import androidx.fragment.app.Fragment fun Fragment.showKeyboard(view: View, delay: Long = 0) { requireActivity().showKeyboard(view, delay) } fun Fragment.hideKeyboard(view: View? = null) { requireActivity().hideKeyboard(view) } fun Fr...
0
null
0
0
bf8ac5749b62b8c5da96b08510949746771a6670
386
expenses
Apache License 2.0
medium/kotlin/c0363_792_number-of-matching-subsequences/00_leetcode_0363.kt
drunkwater
127,843,545
false
{"Text": 2, "Shell": 7, "Markdown": 3, "Perl": 12, "HTML": 3645, "C": 2246, "Java": 738, "Swift": 738, "Go": 738, "C#": 750, "Microsoft Visual Studio Solution": 4, "XML": 8, "Makefile": 1476, "Python": 1476, "Kotlin": 738, "Ruby": 738, "JavaScript": 738, "Scala": 738, "C++": 1484}
// DRUNKWATER TEMPLATE(add description and prototypes) // Question Title and Description on leetcode.com // Function Declaration and Function Prototypes on leetcode.com //792. Number of Matching Subsequences //Given string S and a dictionary of words words, find the number of words[i] that is a subsequence of S. //Exam...
1
null
1
1
8cc4a07763e71efbaedb523015f0c1eff2927f60
855
leetcode
Ruby License
app/src/main/java/com/philuvarov/flickr/App.kt
Kistamushken
107,904,491
false
null
package com.philuvarov.flickr import dagger.android.DaggerApplication class App : DaggerApplication() { override fun applicationInjector() = DaggerAppComponent .builder() .application(this) .build() }
0
Kotlin
0
0
85f5913494a304d7ce30b84278470bed6f78c7fe
244
Flickr
MIT License
common/src/main/java/com/hzfy/common/api/BaseRemoteApi.kt
hanzhifengyun
855,483,582
false
{"Kotlin": 344443, "Java": 34231}
package com.hzfy.common.api import com.hzfy.library.log.HzfyLog import com.hzfy.library.net.HzfyCall import com.hzfy.library.net.HzfyResponse import com.hzfy.library.net.exception.UnknownErrorException import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.flow open class BaseRemoteApi { protected op...
0
Kotlin
0
0
bfbc0ad570f4e6735e2d3ee5452e59a5f49f17ac
895
qb
Apache License 2.0
straight/src/commonMain/kotlin/me/localx/icons/straight/outline/Transporter3.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.straight.bold 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 i...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
3,385
icons
MIT License
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsactivitiesmanagementapi/service/ScheduledEventService.kt
ministryofjustice
533,838,017
false
null
package uk.gov.justice.digital.hmpps.hmppsactivitiesmanagementapi.service import jakarta.persistence.EntityNotFoundException import org.springframework.stereotype.Service import reactor.core.publisher.Mono import uk.gov.justice.digital.hmpps.hmppsactivitiesmanagementapi.client.prisonapi.api.PrisonApiClient import uk.g...
1
Kotlin
0
1
a39192bcf5b8826e068d190f527ff4a96b8262eb
7,070
hmpps-activities-management-api
MIT License
app/src/main/java/br/com/alura/orgs/database/dao/UsuarioDao.kt
RVictorCruz
628,623,026
false
null
package br.com.alura.orgs.database.dao import androidx.room.Dao import androidx.room.Insert import br.com.alura.orgs.model.Usuario @Dao sealed interface UsuarioDao{ @Insert suspend fun salva(usuario: Usuario) }
0
Kotlin
0
0
b035a62e3c851c6cd4aeecc5b038276a5e10bab6
220
Orgs2.0
MIT License
teladelogin/android/app/src/main/kotlin/com/example/teladelogin/MainActivity.kt
EduardoRambo
276,189,224
false
{"Dart": 48285, "Swift": 2424, "Kotlin": 773, "Objective-C": 228}
package com.example.teladelogin import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { }
0
Dart
0
0
97c9a8f9df8f6677a06fbe65b9bba67271cb20e0
128
Growdev-Flutter
MIT License
src/rider/main/kotlin/com/jetbrains/rider/plugins/efcore/features/database/drop/DropDatabaseAction.kt
JetBrains
426,422,572
false
{"Kotlin": 210142, "C#": 38704}
package com.jetbrains.rider.plugins.efcore.features.database.drop import com.intellij.openapi.project.Project import com.jetbrains.rider.plugins.efcore.cli.api.models.DotnetEfVersion import com.jetbrains.rider.plugins.efcore.features.shared.BaseCommandAction import com.jetbrains.rider.plugins.efcore.rd.RiderEfCoreMode...
26
Kotlin
15
177
1fb10207b700ae2b591bdf46666c460569b08cec
659
rider-efcore
MIT License
app/src/main/java/com/vr/app/sh/ui/tests/view/addTest/AddQuestion.kt
Vadim-Rudak
510,027,925
false
{"Kotlin": 258248}
package com.vr.app.sh.ui.tests.view.addTest import android.graphics.Color import android.os.Bundle import android.text.TextUtils import android.view.View import android.widget.Button import android.widget.EditText import android.widget.ImageButton import android.widget.TextView import androidx.appcompat.app.AppCompatA...
0
Kotlin
0
0
afef1eda88b53b9e60a6085808f901a45e48de79
6,589
SH
Apache License 2.0
androidApp/src/main/java/com/alifwyaa/azanmunich/android/extensions/SharedAppExtensions.kt
abdallaadelessa
665,691,523
false
{"Kotlin": 260986, "Swift": 73137, "HTML": 12315, "Shell": 6933, "JavaScript": 6659, "Ruby": 5264}
package com.alifwyaa.azanmunich.android.extensions import android.content.Context import com.alifwyaa.azanmunich.domain.SharedApp import com.alifwyaa.azanmunich.domain.model.SharedPlatformInfo /** * @author Created by <NAME> on 01.10.21. */ /** * @return the application context */ val SharedApp.appContext: Conte...
0
Kotlin
0
2
861867c587845b30830d34de61428a36e7b9fe31
423
azan-munich
Apache License 2.0
src/main/kotlin/registry/TomlRegistry.kt
zensum
100,732,002
false
null
package leia.registry import ch.vorburger.fswatch.DirectoryWatcherBuilder import com.moandjiezana.toml.Toml import mu.KLogging import registry.Tables import java.nio.file.FileSystems import java.nio.file.Path import java.util.concurrent.Executors import java.util.concurrent.TimeUnit import java.util.concurrent.atomic....
1
null
2
5
4b7689b8338b8dd369b92cb5badb9b223740e062
2,931
leia
MIT License