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
game/src/main/kotlin/xlitekt/game/packet/UpdatePrivateChatStatusPacket.kt
runetopic
448,110,155
false
null
package xlitekt.game.packet /** * @author <NAME> */ data class UpdatePrivateChatStatusPacket( val mode: Int, ) : Packet
0
Kotlin
3
8
c896a2957470769a212961ba3e4331f04fc785df
127
xlitekt
MIT License
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/Sword.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
2,022
compose-icon-collections
MIT License
components/settings/impl/src/main/java/com/flipperdevices/settings/impl/api/SettingsApiImpl.kt
flipperdevices
288,258,832
false
null
package com.flipperdevices.settings.impl.api import com.flipperdevices.core.di.AppGraph import com.flipperdevices.settings.api.SettingsApi import com.flipperdevices.settings.impl.fragments.SettingsFragment import com.github.terrakok.cicerone.Screen import com.github.terrakok.cicerone.androidx.FragmentScreen import com...
2
Kotlin
31
293
522f873d6dcf09a8f1907c1636fb0c3a996f5b44
600
Flipper-Android-App
MIT License
subprojects/core/src/main/kotlin/com/handtruth/mc/mcsman/server/session/Argon2PasswordHashStrategy.kt
handtruth
417,843,728
false
null
package com.handtruth.mc.mcsman.server.session import com.handtruth.mc.mcsman.server.module.MCSManConfig import com.handtruth.mc.mcsman.server.util.PasswordHashStrategy import com.kosprov.jargon2.api.Jargon2.* class Argon2PasswordHashStrategy(config: MCSManConfig.PasswordsConfig.Argon2Config) : PasswordHashStrate...
0
Kotlin
0
0
58b2d4bd0413522dbf1cbabc1c8bab78e1b1edfe
1,078
mcsman
Apache License 2.0
app/src/main/java/com/test/bd/kotlin_db/MainActivity.kt
VladDao
149,362,476
false
null
package com.test.bd.kotlin_db import android.os.Bundle import android.support.v7.app.AppCompatActivity import android.support.v7.widget.LinearLayoutManager import android.support.v7.widget.RecyclerView import android.widget.Toast import io.realm.Realm import io.realm.RealmConfiguration import io.realm.RealmList import...
0
Kotlin
0
0
bb2c86e490c4500379df809ca771782f0be571db
6,527
Kotlin_DB
Apache License 2.0
src/main/kotlin/_2018/Day5.kt
thebrightspark
227,161,060
false
null
package _2018 import aocRun fun main() { aocRun(puzzleInput) { val chars = react(it) return@aocRun chars.size } aocRun(puzzleInput) { return@aocRun "abcdefghijklmnopqrstuvwxyz".toSet().parallelStream().map { char -> val removed = it.replace(char.toString(), "", true) ...
0
Kotlin
0
0
ee6031d155d0fce816b3bf70279bbc4f7ffef024
33,391
AdventOfCode
Creative Commons Zero v1.0 Universal
app/src/main/java/com/orti/shoppingtodo/ItemRepository.kt
Abili
325,955,007
false
null
package com.orti.shoppingtodo import android.content.Context import androidx.lifecycle.LiveData import java.util.concurrent.ExecutorService import java.util.concurrent.Executors /** * Handles data sources and execute on the correct thread. */ class ItemRepository(dao: ItemDao, private val mIoExecutor: ExecutorServi...
0
Kotlin
0
0
99e324e542d7d7ebe3efae15f2a57d10c40b93f0
1,584
Shopping_Todo
Apache License 2.0
idea/testData/intentions/replaceWithOrdinaryAssignment/mutableList.kt
JetBrains
278,369,660
false
null
// IS_APPLICABLE: false // WITH_RUNTIME fun main() { val mutableList = mutableListOf(4, 5, 6, 7, 8) mutableList <caret>+= 9 }
0
Kotlin
30
82
cc81d7505bc3e9ad503d706998ae8026c067e838
133
intellij-kotlin
Apache License 2.0
app/src/main/java/fr/uge/pokedex/components/profile/TopBar.kt
NagaYZ
621,883,292
false
null
package fr.uge.pokedex.components.profile import androidx.compose.foundation.background import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.* import androidx.compose.material.Icon import androidx.compose.material.MaterialTheme import androidx.compose.material.Text import androidx.com...
0
Kotlin
0
0
8361d684922ed2430d753da319dbf2f5b27d0eff
2,538
Pokedex
MIT License
keel-clouddriver/src/main/kotlin/com/netflix/spinnaker/keel/clouddriver/model/Certificate.kt
Tekyantrainc
352,888,129
true
{"Kotlin": 2770258, "Java": 20143, "Shell": 1691, "Slim": 359}
package com.netflix.spinnaker.keel.clouddriver.model data class Certificate(val serverCertificateName: String, val arn: String)
0
null
0
0
dbe1677897a6dbbea4682d11c52dc0ad46818c26
129
keel
Apache License 2.0
app/src/main/kotlin/it/vfsfitvnm/vimusic/ui/screens/album/AlbumScreen.kt
Sagnik0684
861,208,877
false
{"Kotlin": 713513}
package it.vfsfitvnm.vimusic.ui.screens.album import android.content.Intent import androidx.compose.animation.ExperimentalAnimationApi import androidx.compose.foundation.ExperimentalFoundationApi import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Spacer import androidx.compose.runti...
0
Kotlin
0
0
d068ae496559b4f7cc7152e38de3483a12b0b8f0
10,716
BuzzVibe
MIT License
packaging-gradle-plugin/src/main/kotlin/com/hanggrian/packaging/internal/DefaultPackagingExtension.kt
hanggrian
120,912,663
false
{"Kotlin": 36428, "CSS": 1653}
package com.hanggrian.packaging.internal import com.hanggrian.packaging.LinuxOptions import com.hanggrian.packaging.LinuxOptionsImpl import com.hanggrian.packaging.MacOptions import com.hanggrian.packaging.MacOptionsImpl import com.hanggrian.packaging.PackagingExtension import com.hanggrian.packaging.WindowsOptions im...
3
Kotlin
1
19
93c4282b504d9668d09acc37ecf0ccbae6d87f22
4,613
packaging-gradle-plugin
Apache License 2.0
app/src/main/java/com/example/arknightsautoclicker/AppController.kt
qwerttyuiiop1
684,537,002
false
{"Kotlin": 142059}
package com.example.arknightsautoclicker import android.content.Context import android.content.Intent import com.example.arknightsautoclicker.andorid.AutoclickService import com.example.arknightsautoclicker.processing.io.Clicker import com.example.arknightsautoclicker.processing.io.RandomClicker import com.example.ark...
1
Kotlin
0
1
4c7ca55be02c08d1784bac57b3eff15decd07389
2,730
Arknights-Autoclicker
MIT License
src/main/kotlin/org/digma/intellij/plugin/ui/notifications/AllNotificationsPanel.kt
digma-ai
472,408,329
false
{"Kotlin": 1213163, "Java": 780708, "C#": 114216, "FreeMarker": 15244, "HTML": 12092, "Shell": 5404}
package org.digma.intellij.plugin.ui.notifications import com.intellij.openapi.project.Project import com.intellij.ui.jcef.JBCefApp import com.intellij.util.ui.JBUI import org.digma.intellij.plugin.ui.jcef.JCefComponent import org.digma.intellij.plugin.ui.jcef.JCefComponentBuilder import org.digma.intellij.plugin.ui.l...
322
Kotlin
6
18
ca856d69733323044ddb0174b7eaf171ff932894
1,593
digma-intellij-plugin
MIT License
src/commonMain/kotlin/containers/enemy/TestEnemy.kt
jmsmith84
476,642,290
false
null
package containers.enemy import com.soywiz.korge.view.Sprite import program.AssetManager import program.LevelManager import program.SoundManager class TestEnemy(assets: AssetManager, soundManager: SoundManager, levelManager: LevelManager) : SpriteEnemy(Sprite(assets.testEnemyBitmap), soundManager, levelManager) {...
0
Kotlin
0
0
3cf2ebbb44e7bc548954d3b0c1e52e23dde114cb
328
korge-boot
MIT License
app/src/main/java/com/example/wishlist/ItemAdapter.kt
alrafimo
538,737,406
false
{"Kotlin": 4675}
package com.example.wishlist import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.TextView import androidx.recyclerview.widget.RecyclerView class ItemAdapter (private val Wish: List<WishListItem>) : RecyclerView.Adapter<ItemAdapter.ViewHolder>(){ // ...
1
Kotlin
0
0
3ac0b1582ab630ea67c05d7fddb2fd2898ccb34f
2,164
Wishlist
Apache License 2.0
app/src/main/java/com/riezki/floodreportapp/ui/adapter/ListReportAdapter.kt
IkkyKun10
601,246,692
false
null
package com.riezki.floodreportapp.ui.adapter import android.view.LayoutInflater import android.view.ViewGroup import androidx.recyclerview.widget.DiffUtil import androidx.recyclerview.widget.ListAdapter import androidx.recyclerview.widget.RecyclerView import coil.load import com.riezki.floodreportapp.R import com.riez...
0
Kotlin
0
0
9e75b767847cee8d4a8211b12c856d05cb76e103
1,785
FloodReportApp
Apache License 2.0
app/src/main/java/com/cocdetails/ui/screens/landing/LandingPage.kt
iKhan1057
571,087,717
false
null
package com.cocdetails.ui.screens.landing import android.util.Log import androidx.compose.foundation.background import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.* import androidx.compose.foundation.lazy.LazyColumn import androidx.compose.foundation.lazy.items import androidx.compo...
0
Kotlin
0
0
761228f09ea423a1745e556330c4c2b34fe0af38
4,368
cocinfo
Apache License 2.0
app/src/main/java/lucky/online/matka/app/ui/main/fragments/wallut/WalletFragment.kt
navdeepmeenaraj
563,979,652
false
{"Kotlin": 349451}
package lucky.online.matka.app.ui.main.fragments.wallut import android.content.Context import android.content.Intent import android.net.Uri import android.os.Bundle import lucky.online.matka.app.utils.Constants.PREFS_TELEGRAM import androidx.fragment.app.Fragment import android.view.LayoutInflater import android.view....
0
Kotlin
0
0
770766d4f97480824d5d6303c511ba3a84af583a
2,415
LuckyMatka
Apache License 2.0
projects/club/src/fanpoll/club/club/routes/ClubRoutes.kt
csieflyman
359,559,498
false
{"Kotlin": 785294, "JavaScript": 17435, "HTML": 6167, "PLpgSQL": 5563, "Dockerfile": 126}
/* * Copyright (c) 2024. fanpoll All rights reserved. */ package fanpoll.club.club.routes import fanpoll.club.ClubAuth import fanpoll.club.ClubConst import fanpoll.club.ClubKoinContext import fanpoll.club.club.dtos.ClubDTO import fanpoll.club.club.dtos.CreateClubForm import fanpoll.club.club.dtos.UpdateClubForm imp...
1
Kotlin
9
74
1a7d54115dbc42c6a02230f527d9ad56862b4a0b
2,172
multi-projects-architecture-with-Ktor
MIT License
kingmc-platform-common/src/main/kotlin/kingmc/platform/audience/particle/Particle.kt
Kingsthere
599,960,106
false
null
package kingmc.platform.audience.particle import kingmc.util.builder.Buildable /** * Represent an in-game particle that could send to a [ParticleRecipient] * and display on players client * * @author kingsthere * @since 0.0.3 * @param TData the type of extra data for this particle */ data class Particle<TData ...
0
Kotlin
0
1
9a010ff50677c7effbb941320108d2f25b2a154d
1,124
kingmc-platform
MIT License
src/main/kotlin/br/com/fabiofiorita/restapi/service/UsuarioService.kt
FabioFiorita
626,425,405
false
null
package br.com.fabiofiorita.restapi.service import br.com.fabiofiorita.restapi.exception.NotFoundException import br.com.fabiofiorita.restapi.model.Usuario import br.com.fabiofiorita.restapi.repository.UsuarioRepository import org.springframework.data.repository.findByIdOrNull import org.springframework.security.core....
0
Kotlin
0
0
78a9c395cf1614164640e5c9e7d08042a3b2347a
982
Kotlin-REST-API
MIT License
composeApp/src/commonMain/kotlin/domain/model/CurrencyType.kt
vengateshm
818,708,913
false
{"Kotlin": 238460, "Swift": 1506, "HTML": 353, "CSS": 102}
package apps.currency_converter_udemy.domain.model sealed class CurrencyType(val code: CurrencyCode) { data class Source(val currencyCode: CurrencyCode) : CurrencyType(currencyCode) data class Target(val currencyCode: CurrencyCode) : CurrencyType(currencyCode) data object None : CurrencyType(CurrencyCode.U...
0
Kotlin
0
0
941b8439a2b9ab330bf12833c0f8c83c8e53fc19
325
currencyconverter-kmp
Apache License 2.0
archive/src/main/kotlin/com/grappenmaker/aoc/year19/Day22.kt
770grappenmaker
434,645,245
false
{"Kotlin": 403844}
package com.grappenmaker.aoc.year19 import com.grappenmaker.aoc.PuzzleSet import com.grappenmaker.aoc.rotateInPlace import com.grappenmaker.aoc.splitInts fun PuzzleSet.day22() = puzzle(day = 22) { var deck = (0..10006).toMutableList() inputLines.forEach { l -> when { l == "deal into new st...
0
Kotlin
0
7
e037dbf7c8d477549a0c81259891337a6f34cb53
2,246
advent-of-code
The Unlicense
multilanguage/src/main/kotlin/furhatos/app/multilanguage/flow/main/greeting.kt
FurhatRobotics
418,899,332
false
{"Kotlin": 120881, "Python": 13628, "JavaScript": 5293, "HTML": 4541, "CSS": 2334}
package furhatos.app.multilanguage.flow.main import furhatos.app.multilanguage.flow.Parent import furhatos.app.multilanguage.flow.log import furhatos.app.multilanguage.util.sayInLocalLang import furhatos.flow.kotlin.State import furhatos.flow.kotlin.furhat import furhatos.flow.kotlin.onResponse import furhatos.flow.ko...
1
Kotlin
12
4
70aa5af3ca6f1d4a1e81f01db9d86444aa838043
1,463
tutorials
MIT License
flutter_item_stack_view/android/app/src/main/kotlin/com/example/flutter_item_stack_view/MainActivity.kt
irahulcse
263,720,346
false
{"Dart": 30212, "HTML": 1152, "Swift": 808, "Kotlin": 280, "Shell": 92, "Objective-C": 76}
package com.example.flutter_item_stack_view import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { }
0
Dart
0
1
f832a070fcd28713df80be01b2a5bd945263b01f
140
Flutter-Widgets
The Unlicense
snowplow-tracker/src/main/java/com/snowplowanalytics/snowplow/media/entity/MediaAdBreakType.kt
snowplow
20,056,757
false
{"Kotlin": 1227237, "Java": 38410, "Shell": 78}
/* * Copyright (c) 2015-2023 Snowplow Analytics Ltd. All rights reserved. * * This program is licensed to you under the Apache License Version 2.0, * and you may not use this file except in compliance with the Apache License Version 2.0. * You may obtain a copy of the Apache License Version 2.0 at http://www.apach...
16
Kotlin
62
102
c6ad42b49faf979f3f8c13cc8b91304c423872bd
1,219
snowplow-android-tracker
Apache License 2.0
server/src/main/kotlin/io/tuzzy/portal/api/HalLink.kt
maxtuzz
225,085,025
false
{"TypeScript": 118399, "Kotlin": 59202, "HTML": 1815, "CSS": 358, "Dockerfile": 207}
package io.tuzzy.portal.api class HalLink(val href: String = "")
22
TypeScript
0
2
60da9d67452bf040d8659a7e4cfb6e237602dc5b
65
tuzhub
Apache License 2.0
src/main/kotlin/com/github/jozott00/wokwiintellij/toolWindow/WokwiSimulationToolWindow.kt
Jozott00
737,328,628
false
{"Kotlin": 113010, "HTML": 2436}
package com.github.jozott00.wokwiintellij.toolWindow import com.intellij.openapi.ui.DialogPanel import java.awt.BorderLayout import javax.swing.JComponent import javax.swing.JPanel class WokwiSimulationToolWindow(private val configPanel: DialogPanel) : JPanel() { init { this.layout = BorderLayout() ...
1
Kotlin
0
3
686bdac9fb73268f1ebc1e0353f7ad87025c9c6d
596
wokwi-intellij
MIT License
livingdoc-engine/src/test/kotlin/org/livingdoc/engine/execution/examples/scenarios/ScenarioExecutorTest.kt
Drakojin
91,075,858
true
{"Kotlin": 320459, "Java": 48232, "HTML": 1293}
package org.livingdoc.engine.execution.examples.scenarios import io.mockk.every import io.mockk.verify import io.mockk.verifySequence import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Nested import org.junit.jupiter.api.Test import org.livingdoc.engi...
0
Kotlin
0
0
b81fe455a24ea8cd4b46083d443178039fffb2e3
9,501
livingdoc2
Apache License 2.0
io/json/src/main/kotlin/io/bluetape4k/json/jackson/uuid/JsonUuidEncoderAnnotationInterospector.kt
debop
625,161,599
false
{"Kotlin": 7504333, "HTML": 502995, "Java": 2273, "JavaScript": 1351, "Shell": 1301, "CSS": 444, "Dockerfile": 121, "Mustache": 82}
package io.bluetape4k.json.jackson.uuid import com.fasterxml.jackson.databind.deser.std.UUIDDeserializer import com.fasterxml.jackson.databind.introspect.Annotated import com.fasterxml.jackson.databind.introspect.AnnotatedMethod import com.fasterxml.jackson.databind.introspect.JacksonAnnotationIntrospector import com....
0
Kotlin
0
1
ce3da5b6bddadd29271303840d334b71db7766d2
1,961
bluetape4k
MIT License
app/src/main/java/com/vr/app/sh/ui/books/view/ReadPDF.kt
Vadim-Rudak
510,027,925
false
{"Kotlin": 257696}
package com.vr.app.sh.ui.books.view import android.graphics.pdf.PdfRenderer import android.os.Bundle import android.os.ParcelFileDescriptor import android.widget.ImageButton import android.widget.TextView import androidx.appcompat.app.AppCompatActivity import androidx.viewpager.widget.ViewPager import com.google.andro...
0
Kotlin
0
0
8a3e4f80636a19187cf053f4a9e58301f1b135ef
1,635
SH
Apache License 2.0
app/src/main/java/com/shicheeng/hacg/PreviewActivity.kt
zhuyufu233
525,263,047
false
{"Kotlin": 60824, "Java": 350}
package com.shicheeng.hacg import android.annotation.SuppressLint import android.content.Context import android.content.Intent import android.graphics.Bitmap import android.graphics.drawable.Drawable import android.net.Uri import android.os.Bundle import android.text.method.LinkMovementMethod import android.view.View ...
0
null
0
0
8152072bb37e438bcde84918e1b5663dbb7caa22
7,678
HACG
MIT License
15-dagger-and-modularization/projects/starter/Busso/plugins/engine/src/main/java/com/raywenderlich/android/plugins/engine/di/InformationPluginEngineModule.kt
aasmc
417,089,569
true
{"Kotlin": 6085897, "Shell": 1914}
package com.raywenderlich.android.plugins.engine.di import com.raywenderlich.android.di.scopes.ApplicationScope import com.raywenderlich.android.plugins.api.ComplexInfoKey import com.raywenderlich.android.plugins.api.InformationPluginRegistry import com.raywenderlich.android.plugins.api.InformationPluginSpec import co...
0
Kotlin
0
0
38ceb2272bcd83288d190ad2e7046acfd0166fef
1,506
dag-materials
Apache License 2.0
src/main/kotlin/dev/nathanpb/dogo/utils/Holder.kt
DogoBot
131,007,802
false
null
package dev.nathanpb.dogo.utils /* Copyright 2019 Nathan Bombana 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 o...
0
Kotlin
0
2
f62ae4640cf86bc85c76b06a244b78befaa360b8
1,029
Dogo
Apache License 2.0
app/src/main/java/in/junkielabs/parking/tools/timer/Stopwatch.kt
JunkieLabs
361,432,908
false
null
package `in`.junkielabs.parking.tools.timer import android.os.CountDownTimer /** * Created by niraj on 03-01-2020. */ class Stopwatch(millisInFuture: Long, countDownInterval: Long) : CountDownTimer(millisInFuture, countDownInterval) { override fun onTick(millisUntilFinished: Long) { callback?.onTick(mil...
0
Kotlin
4
7
e5e8c3f09560b0d27efe08c9744d43ddb1db41fe
817
junkie-parking-android-app
MIT License
app/src/main/java/com/banuba/sdk/agorapluginexample/widget/carousel/HorizontalMarginItemDecoration.kt
Banuba
386,239,254
false
null
package com.banuba.sdk.agorapluginexample.widget.carousel import android.graphics.Rect import android.view.View import androidx.annotation.Px import androidx.recyclerview.widget.RecyclerView class HorizontalMarginItemDecoration( @Px betweenSpace: Int, @Px private val topMargin: Int, @Px private val bottom...
3
Kotlin
2
5
f97375380acdd59b305893bf3662c906965928d5
746
agora-plugin-filters-android
MIT License
process-app/src/main/kotlin/com/alfresco/content/process/ui/utils/ActionsReadOnlyField.kt
Alfresco
201,430,708
false
{"Kotlin": 1271418, "JavaScript": 17131, "CSS": 15164, "HTML": 1854, "Shell": 735}
package com.alfresco.content.process.ui.utils import android.content.Context import android.os.Bundle import androidx.navigation.NavController import com.airbnb.mvrx.Mavericks import com.alfresco.content.component.ComponentBuilder import com.alfresco.content.component.ComponentData import com.alfresco.content.componen...
3
Kotlin
7
4
0f3472ed2b8559a0d6ede93fed6845d6a7f8e2b9
2,037
alfresco-mobile-workspace-android
Apache License 2.0
src/main/java/de/ddkfm/hcloud/models/Exceptions.kt
DDKFM
121,857,095
false
null
package de.ddkfm.hcloud.models import com.mashape.unirest.http.HttpMethod import com.mashape.unirest.http.HttpResponse import com.mashape.unirest.http.JsonNode import com.mashape.unirest.request.GetRequest import org.json.JSONObject /** * Created by maxsc on 18.02.2018. */ class HCloudException( val code : Stri...
0
Kotlin
0
6
a53303007416879793ccdabf8069ed5c31bdb719
433
hcloud-kotlin
MIT License
kotlinx-coroutines-core/js/src/internal/ThreadSafeHeap.kt
kazemihabib
202,566,280
true
{"Kotlin": 2520441, "Java": 30547, "CSS": 8215, "Shell": 3332, "JavaScript": 2529, "Prolog": 1975, "Ruby": 1932, "HTML": 1675, "IDL": 801, "QMake": 173}
/* * Copyright 2016-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. */ package kotlinx.coroutines.internal @Suppress("NOTHING_TO_INLINE") internal actual inline fun <T> clear(a: Array<T?>) { for (i in a.indices) a[i] = null }
0
Kotlin
0
0
0d7f3fbef9b5ccb4972bcd6b974c487581431fcd
270
kotlinx.coroutines
Apache License 2.0
app/src/main/java/com/example/swiftbargain/ui/order_details/view_model/OrderDetailsEvents.kt
ahmedfikry24
814,676,783
false
{"Kotlin": 481653}
package com.example.swiftbargain.ui.order_details.view_model sealed interface OrderDetailsEvents { data object NavigateToBack : OrderDetailsEvents data object UnAuthorizedAccess : OrderDetailsEvents data class NavigateToProductDetails(val id: String) : OrderDetailsEvents }
0
Kotlin
0
0
bcf6af56ecf14d638b44a78908a0f0c7b41c69df
287
SwiftBargain
MIT License
app/src/main/java/com/github/theapache64/swipesearch/ui/screen/search/FlipCards.kt
yash-k9
466,834,266
true
{"Kotlin": 58131}
package com.github.theapache64.swipesearch.ui.screen.search import androidx.compose.foundation.Image import androidx.compose.foundation.background import androidx.compose.foundation.layout.* import androidx.compose.foundation.shape.RoundedCornerShape import androidx.compose.material.MaterialTheme import androidx.compo...
0
Kotlin
0
0
b186ddd24ece9a6518e781f424da578ed76cc77e
4,788
swipe-search
Apache License 2.0
app/src/main/java/com/ambient/stories/data/entities/UserData.kt
sidhu18
268,223,376
false
null
package com.ambient.stories.data.entities import androidx.room.ColumnInfo import androidx.room.Entity import androidx.room.PrimaryKey @Entity(tableName = "user_table") data class UserData( @PrimaryKey @ColumnInfo(name = "user_id") var userId : Long = 0L, @ColumnInfo(name = "user_name") var userNam...
0
Kotlin
0
3
f03c355a7f4ba42b0848393776eae718049a9dec
1,227
Stories
Apache License 2.0
hw/Assignment05/src/main/kotlin/Main.kt
redhotchili0909
748,037,735
false
{"Kotlin": 87517}
import kotlin.random.Random import NeedlemanWunsch.Companion.needlemanWunsch fun main() { /** * Generates a square matrix of a given size filled with random integers in the range [0, 10). * * @param size The size of the matrix * @return A [Matrix] instance of the specified size, filled with ran...
0
Kotlin
0
0
224886df44bb2719190c1f4b05016ae15030ec43
2,399
dsa_2024
MIT License
libraries/libcrypto3/api/src/nativeMain/kotlin/ossl.kt
whyoleg
603,041,596
false
{"Kotlin": 192727, "C": 15066, "Makefile": 521}
@file:Suppress( "PrivatePropertyName", "FunctionName", "ClassName", "SpellCheckingInspection", "ACTUAL_TYPE_ALIAS_NOT_TO_CLASS", ) package dev.whyoleg.ffi.libcrypto3 import dev.whyoleg.ffi.c.* actual typealias OSSL_LIB_CTX = dev.whyoleg.ffi.libcrypto3.cinterop.OSSL_LIB_CTX actual object OSSL_LIB_CTX_Type : ...
2
Kotlin
2
65
c3bc926fd2756d6ca0afd1edc0f21c5fce7e3676
348
ffi-kotlin
Apache License 2.0
examples/db-scheduler-ktor-example/src/main/kotlin/JacksonConfiguration.kt
osoykan
829,021,723
false
{"Kotlin": 58001}
import com.fasterxml.jackson.databind.* import com.fasterxml.jackson.databind.json.JsonMapper import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule import com.fasterxml.jackson.module.kotlin.registerKotlinModule object JacksonConfiguration { val default: ObjectMapper = JsonMapper.builder() .apply { c...
2
Kotlin
0
1
97840a66253d753f93bffa77eec0eb29331098bc
501
db-scheduler-additions
Apache License 2.0
mbmobilesdk/src/main/java/com/daimler/mbmobilesdk/biometric/iv/BaseAppPreferencesIvProvider.kt
rafalzawadzki
208,997,288
true
{"Kotlin": 1297852, "Groovy": 4489}
package com.daimler.mbmobilesdk.biometric.iv import android.content.SharedPreferences import android.util.Base64 internal abstract class BaseAppPreferencesIvProvider : IvProvider { protected abstract fun getIvFromPreferences(key: String, def: String): String protected abstract fun putIvToPreferences(key: St...
0
null
0
0
1a924f70fbde5d731cdfde275e724e6343ee6ebe
1,238
MBSDK-Mobile-Android
MIT License
app/src/main/java/com/github/libliboom/epubviewer/ui/bookshelf/BookshelfViewModel.kt
libliboom
258,487,396
false
null
package com.github.libliboom.epubviewer.ui.bookshelf import android.content.Context import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.github.libliboom.common.io.FileUtils import com.github.libliboom.epubviewer.presentation.bookshelf.BookshelfPresenter import com.github.libliboom.e...
5
Kotlin
0
7
1e145f072d8087235361af8b291a9fb54eab093e
2,182
Epub-Viewer-Android
MIT License
tools/plugins/initial-rbac/src/main/kotlin/net/corda/cli/plugin/initialRbac/InitialRbacPlugin.kt
corda
346,070,752
false
null
package net.corda.cli.plugin.initialRbac import net.corda.cli.api.CordaCliPlugin import net.corda.cli.plugin.initialRbac.commands.UserAdminSubcommand import net.corda.cli.plugin.initialRbac.commands.CordaDeveloperSubcommand import net.corda.cli.plugin.initialRbac.commands.FlowExecutorSubcommand import net.corda.cli.pl...
71
Kotlin
9
28
fa43ea7a49afb8ed2d1686a6e847c8a02d376f85
966
corda-runtime-os
Apache License 2.0
app/src/main/java/com/fantasyfang/developmenttool/di/ApplicationModule.kt
fantasy1022
257,029,907
false
null
package com.fantasyfang.developmenttool.di import android.content.Context import com.fantasyfang.developmenttool.MainApplication import dagger.Binds import dagger.Module import javax.inject.Singleton @Module abstract class ApplicationModule { @Singleton @Binds abstract fun provideContext(app: MainApplicat...
0
Kotlin
0
0
1bca4516624b4c8c04986245806046a969e69486
335
DevelopmentTool
Apache License 2.0
parser/src/main/java/com/urbancompany/parser/lexer/Token.kt
urbanclap-engg
240,444,084
true
{"Kotlin": 131214}
package com.urbancompany.parser.lexer internal data class Token(val tokenType: TokenType, val value: String? = null)
0
Kotlin
0
0
e06fdd4d79fd67389047dd38a69e72fc4a5612f9
118
SpannableStringParser
Apache License 2.0
http/src/commonMain/kotlin/pw/binom/io/http/AsyncContentLengthInputStream.kt
dragossusi
277,504,821
true
{"C": 13518997, "Kotlin": 569853, "C++": 546364, "Shell": 86}
package pw.binom.io.http import pw.binom.io.AsyncInputStream import pw.binom.io.EOFException import pw.binom.io.StreamClosedException open class AsyncContentLengthInputStream(val stream: AsyncInputStream, val contentLength: ULong) : AsyncHttpInputStream { override suspend fun read(): Byte { if (read(stati...
0
null
0
0
d16040b0f0d340104194014fc174858244684813
1,173
pw.binom.io
Apache License 2.0
app/src/development/java/com/addhen/checkin/di/module/DevelopmentAppModule.kt
zularizal
151,024,171
false
null
package com.addhen.checkin.di.module import com.addhen.checkin.data.repository.PostDataRepository import com.addhen.checkin.data.repository.PostRepository import dagger.Module import dagger.Provides import javax.inject.Singleton /** * Development related dagger modules. */ @Module(includes = [AppModule::class]) int...
0
Kotlin
1
0
e95e26679ee045456814155b286ae20931f12ff2
494
checkin
MIT License
tv_viewmodel/src/main/java/com/bytebyte6/viewmodel/SearchViewModel2.kt
bytebyte6
324,579,353
false
null
package com.bytebyte6.viewmodel import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.map import com.bytebyte6.common.* import com.bytebyte6.data.DataManager import com.bytebyte6.data.PAGE_SIZE import com.bytebyte6.data.entity.Tv import com.bytebyte6.usecase.FavoriteTvU...
0
Kotlin
7
9
3c22f2baad651c3df53b3615fd6fc28263621a42
2,403
Tv
Apache License 2.0
src/main/kotlin/tech/igrant/jizhang/detail/StatService.kt
guangtuan
222,254,780
false
null
package tech.igrant.jizhang.detail import com.google.common.collect.Maps import org.springframework.stereotype.Service import tech.igrant.jizhang.ext.getStartOfTomorrow import tech.igrant.jizhang.subject.SubjectService import java.util.* interface StatService { fun statByBigSubject(start: Date, end: Date, subjec...
1
Kotlin
0
2
b5c5fe8a6a80d512f29ab2c0a0cfeba03af344ef
2,600
jizhang
MIT License
shared/src/commonMain/kotlin/presentation/viewmodel/createexpense/CreateExpenseScreenIntents.kt
carlosgub
679,364,046
false
{"Kotlin": 197593, "Swift": 742, "Shell": 228, "Ruby": 101}
package presentation.viewmodel.createexpense import kotlinx.coroutines.Job import domain.model.CategoryEnum import domain.model.FinanceEnum interface CreateExpenseScreenIntents { fun setCategory(categoryEnum: CategoryEnum): Job fun setAmount(textFieldValue: String): Job fun showDateError(boolean: Boolean)...
0
Kotlin
0
2
d2708c1c9b044c77692984e04653807c73b7b481
504
myFinances
Apache License 2.0
src/main/kotlin/com/github/noahshen/panther/persistence/leveldb/TransactionLevelDbStorage.kt
NoahShen
125,637,113
false
null
package com.github.noahshen.panther.persistence.leveldb import com.github.noahshen.panther.persistence.TransactionEntity import com.github.noahshen.panther.persistence.TransactionStorage class TransactionLevelDbStorage : TransactionStorage, LevelDbStorage { constructor(dataBaseFilePath: String) : super(dataBaseF...
0
Kotlin
0
0
b401e33dc1ca1de71b2108044664acd69191cb26
837
panther
Apache License 2.0
src/commonMain/kotlin/com/soywiz/ktcc/gen/BaseGenerator.kt
cybernetics
183,833,678
true
{"Kotlin": 288873, "Shell": 2475, "HTML": 2123, "Dockerfile": 234}
package com.soywiz.ktcc.gen import com.soywiz.ktcc.parser.* import com.soywiz.ktcc.transform.* import com.soywiz.ktcc.types.* open class BaseGenerator(val program: Program, val parser: ProgramParser) { val strings get() = parser.strings val fixedSizeArrayTypes: Set<ArrayType> by lazy { //program.getA...
0
Kotlin
0
0
70b2c78e1b0e21b3f373679c77315f2a4919933c
697
ktcc
MIT License
git-domain/trending/src/main/java/com/example/trending/repo/RepoBuiltBy.kt
prdp89
391,939,601
false
null
package com.example.trending.repo data class RepoBuiltBy ( var id: Int, var avatar: String, var href: String, var username: String )
0
Kotlin
0
1
651bd0b582f4b8844181c253cd7a5018d096a648
149
Trending-Git
MIT License
app/src/main/java/com/mospolytech/mospolyhelper/features/ui/account/students/adapter/ViewHolderStudents.kt
tonykolomeytsev
341,524,793
true
{"Kotlin": 646693}
package com.mospolytech.mospolyhelper.features.ui.account.students.adapter import android.view.View import android.widget.TextView import androidx.recyclerview.widget.RecyclerView import com.google.android.material.chip.Chip import kotlinx.android.synthetic.main.item_student.view.* class ViewHolderStudents(view : Vie...
0
null
0
0
379c9bb22913da1854f536bf33e348a459db48b9
638
mospolyhelper-android
MIT License
src/main/kotlin/uk/gov/justice/digital/hmpps/authorizationapi/data/repository/ClientDeploymentRepository.kt
ministryofjustice
498,250,140
false
{"Kotlin": 330593, "Shell": 8164, "Dockerfile": 1328}
package uk.gov.justice.digital.hmpps.authorizationapi.data.repository import org.springframework.data.repository.CrudRepository import uk.gov.justice.digital.hmpps.authorizationapi.data.model.ClientDeployment interface ClientDeploymentRepository : CrudRepository<ClientDeployment, String> { fun findClientDeploymentB...
2
Kotlin
1
0
62fef23a635ba44ea2bd2c0be677093d431eaa7d
426
hmpps-authorization-api
MIT License
src/backend/environment/api-environment/src/main/kotlin/com/tencent/devops/environment/pojo/thirdPartyAgent/HeartbeatInfo.kt
Roy9102
211,615,562
true
{"Kotlin": 5871313, "Vue": 2662255, "JavaScript": 671898, "CSS": 377747, "Go": 119173, "Lua": 111686, "TSQL": 96222, "Shell": 89697, "Java": 71407, "TypeScript": 33693, "HTML": 23525, "Python": 10390, "Batchfile": 1974, "PLSQL": 901}
package com.tencent.devops.environment.pojo.thirdPartyAgent data class HeartbeatInfo( val masterVersion: String, val slaveVersion: String, val hostName: String, val agentIp: String, val parallelTaskCount: Int, val agentInstallPath: String, val startedUser: String, val taskList: List<Thi...
0
Kotlin
0
0
61199feb62705fe063d9975badefc80fc7868b2a
850
bk-ci
MIT License
app/src/main/java/br/com/compasso/markup/ui/binding/EventBindingAdapters.kt
jotavier
330,055,469
false
null
package br.com.compasso.markup.ui.binding import android.widget.ImageView import androidx.databinding.BindingAdapter import br.com.compasso.markup.R import br.com.compasso.markup.services.extensions.setTint @BindingAdapter("app:favorite") fun favorite(imageView: ImageView, favorite: Boolean) { if (!favorite) { ...
0
Kotlin
0
1
fc9a47ca44cdb4e50916dbc450f99bb51e58c9c9
416
markup
MIT License
src/main/kotlin/net/ndrei/teslapoweredthingies/blocks/DungBricks.kt
MinecraftModDevelopmentMods
77,729,751
false
{"Kotlin": 552829}
package net.ndrei.teslapoweredthingies.blocks import net.minecraft.block.material.Material import net.ndrei.teslacorelib.annotations.AutoRegisterBlock import net.ndrei.teslacorelib.blocks.RegisteredBlock import net.ndrei.teslapoweredthingies.TeslaThingiesMod /** * Created by CF on 2017-07-07. */ @AutoRegisterBlock ...
21
Kotlin
4
2
22fdcf629e195a73dd85cf0ac0c5dda551085e71
724
Tesla-Powered-Thingies
MIT License
grafka/src/main/kotlin/com/grafka/resolvers/KafkaTopicMutationResolver.kt
codingblocks
220,845,985
false
null
package com.grafka.resolvers import com.coxautodev.graphql.tools.GraphQLMutationResolver import com.grafka.configs.KafkaClientFactory import com.grafka.entities.topics.KafkaNewTopicRequest import com.grafka.entities.topics.KafkaReplicationAssignment import com.grafka.entities.topics.KafkaTopicConfig import org.springf...
30
JavaScript
4
13
7f82297ff7e3d7704d4dcae3dc87e50977821c00
1,376
grafka
MIT License
DesignSystem/src/main/java/com/yourssu/design/compose/atom/ListItem.kt
yourssu
364,290,281
false
null
package com.yourssu.design.compose.atom import android.os.Parcelable import android.util.Log import androidx.annotation.DrawableRes import androidx.compose.foundation.background import androidx.compose.foundation.interaction.MutableInteractionSource import androidx.compose.foundation.interaction.collectIsPressedAsStat...
4
Kotlin
1
16
79b4a7323c51e3e8da4f58840495d20fc9a47d6d
3,463
YDS-Android
MIT License
cottontaildb-dbms/src/main/kotlin/org/vitrivr/cottontail/dbms/statistics/selectivity/NaiveSelectivityCalculator.kt
vitrivr
160,775,368
false
null
package org.vitrivr.cottontail.dbms.statistics.selectivity import org.vitrivr.cottontail.core.queries.predicates.BooleanPredicate import org.vitrivr.cottontail.dbms.statistics.entity.RecordStatistics /** * This is a very naive calculator for [Selectivity] values. * * It simply delegates [Selectivity] calculation f...
8
Kotlin
15
15
c6e06263d9163f697e0aa5dc334a910521620215
2,335
cottontaildb
MIT License
app/src/main/java/com/example/myapplication/GameActivity.kt
plmkonist
260,388,427
false
null
package com.example.myapplication import android.content.Intent import android.media.MediaPlayer import android.os.Bundle import android.view.View import android.widget.Button import android.widget.LinearLayout import android.widget.TextView import androidx.appcompat.app.AppCompatActivity import kotlinx.coroutines.* i...
0
Kotlin
1
1
993b063d933d2dac9b13b93f84c3231e2dc2fd67
7,100
boogalo
MIT License
windows-navigation/src/jvmMain/kotlin/io/github/lukwol/windows/navigation/WindowsNavigation.kt
lukwol
562,428,336
false
null
package io.github.lukwol.windows.navigation import androidx.compose.runtime.Composable import androidx.compose.runtime.CompositionLocalProvider import androidx.compose.runtime.getValue import androidx.compose.runtime.remember /** * Declare windows navigation by defining all [windows][WindowsMapBuilder.window] for [r...
3
Kotlin
0
6
15037da74cf5244605e284d3aad0a421b93157ab
1,284
cm-navigation
MIT License
data_wallet/src/main/java/io/igrant/data_wallet/models/wallet/WalletModel.kt
decentralised-dataexchange
344,557,240
false
null
package io.igrant.data_wallet.models.wallet import com.google.gson.annotations.Expose import com.google.gson.annotations.SerializedName import io.igrant.data_wallet.models.MediatorConnectionObject import io.igrant.data_wallet.models.connection.Connection import io.igrant.data_wallet.models.credentialExchange.Credentia...
0
Kotlin
0
0
904c77346fefac169238bffab6d00a98224868ec
966
ama-android-sdk
Apache License 2.0
src/main/kotlin/dev/kandavu/intellij/AddStatusAction.kt
kandavu
310,377,852
false
null
package dev.kandavu.intellij import com.google.gson.Gson import com.intellij.notification.NotificationType import com.intellij.openapi.actionSystem.AnAction import com.intellij.openapi.actionSystem.AnActionEvent import com.intellij.openapi.actionSystem.PlatformDataKeys import com.intellij.openapi.editor.Editor; import...
1
Kotlin
0
0
ed43b36b54a9bfcc213a06da4fdf17ec8a77d58b
3,926
kandavu-jetbrains-plugin
MIT License
src/main/kotlin/com/godlike/client/keybind/KeybindHandler.kt
abelinsenmayer
838,055,627
false
{"Kotlin": 82106, "Java": 13455}
package com.godlike.client.keybind import com.godlike.common.networking.DoSelectionPacket import com.godlike.common.networking.TkSelectionPackage import com.godlike.client.keybind.ModKeybinds.DO_SELECT import com.godlike.client.keybind.ModKeybinds.LAUNCH_TK import com.godlike.client.keybind.ModKeybinds.PICK_TO_TK impo...
0
Kotlin
0
0
384f28a98bd73c5686de737cb6d4314dd697c846
7,645
godlike-minecraft-mod
Creative Commons Zero v1.0 Universal
src/main/kotlin/jp/nephy/hypixelin/response/FindGuild.kt
SlashNephy
112,994,308
false
null
package jp.nephy.hypixelin.response import com.github.salomonbrys.kotson.byBool import com.github.salomonbrys.kotson.byNullableString import com.google.gson.JsonElement class FindGuild(val json: JsonElement) { val success by json.byBool val guildId by json.byNullableString("guild") }
0
Kotlin
0
0
17573678a2e46cae714eb04d75930288e552afb8
295
Hypixelin
MIT License
app/src/main/java/com/bth/reciperadar/domain/models/Review.kt
BryanAafjes
718,555,578
false
{"Kotlin": 52345}
package com.bth.reciperadar.domain.models import com.bth.reciperadar.data.dtos.ReviewDto data class Review ( var id: String = "", var recipe: Recipe? = Recipe(), var userId: String? = "", var rating: ReviewRating = ReviewRating() ) fun Review.toDto(): ReviewDto { return ReviewDto( id = th...
0
Kotlin
0
0
396474807f3d6499aceb1d55fbd7361f86d312f7
637
RecipeRadar
MIT License
app/src/main/java/com/richmat/mytuya/ui/sign/SecondSign.kt
jasonpanjunnan
424,535,534
false
{"Kotlin": 369748}
package com.richmat.mytuya.ui.sign import androidx.compose.animation.ExperimentalAnimationApi import androidx.compose.foundation.layout.* import androidx.compose.material.* import androidx.compose.runtime.Composable import androidx.compose.runtime.remember import androidx.compose.runtime.rememberCoroutineScope import ...
0
Kotlin
0
1
e3d1c1a859369485ec7ef675f4e574cf32e0e01d
6,999
RichmatTuya
Apache License 2.0
kotlin-plugin/src/main/kotlin/io/github/kyay10/koncept/internal/ResolutionStages.kt
kyay10
503,864,862
false
{"Kotlin": 146089, "Java": 3672}
package io.github.kyay10.koncept.internal /* * Copyright 2010-2019 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ import io.github.kyay10.koncept.isNothingFunContextArgument import ...
0
Kotlin
0
0
4e030103b72dab1f31dcea6988a78f85be06656e
8,357
koncept
Apache License 2.0
Chapter06/Activity6.01/app/src/main/java/com/example/recipebook/ViewHolder.kt
PacktWorkshops
204,445,200
false
{"Kotlin": 556387}
package com.example.recipebook import android.view.View import androidx.recyclerview.widget.RecyclerView import com.example.recipebook.model.ListItem import com.example.recipebook.model.RecipeUiModel import com.example.recipebook.model.TitleUiModel import kotlinx.android.extensions.LayoutContainer import kotlinx.andro...
0
Kotlin
18
9
ab42898f6debe3bc83d0f08bbb1c0b7dea959d4b
1,366
The-Android-Workshop
MIT License
app/src/main/java/com/example/myapplication/ViewPagerAdapter.kt
Timur-wq
452,668,715
false
null
package com.example.myapplication import ImageLoader import androidx.fragment.app.Fragment import androidx.fragment.app.FragmentManager import androidx.lifecycle.Lifecycle import androidx.viewpager2.adapter.FragmentStateAdapter //адаптер, осуществляющий слайдовую навигацию между разделами "Добавить", "Словарь", "Бази...
1
Kotlin
0
0
4d585754192719a360771a4bc87c35293f8f3f89
858
Photo-eng
MIT License
app/src/main/java/com/example/mediaplayerjetpackcompose/presentation/screen/music/component/MiniMusicPlayer.kt
AlirezaNouri-77
840,851,077
false
{"Kotlin": 188385}
package com.example.mediaplayerjetpackcompose.presentation.screen.music.component import androidx.compose.foundation.ExperimentalFoundationApi import androidx.compose.foundation.basicMarquee import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androidx.compose.foun...
0
Kotlin
0
0
3316fdf812886d2b1e8dfb88a46898979656da33
7,479
Media-Player-Compose
MIT License
test1obw-sdk-kotlin-core/src/test/kotlin/com/test1obw/api/models/StopRetrieveParamsTest.kt
quivalen
864,202,238
false
{"Kotlin": 1795677, "Shell": 2562, "Dockerfile": 399}
// File generated from our OpenAPI spec by Stainless. package com.open_transit.api.models import com.open_transit.api.models.* import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test class StopRetrieveParamsTest { @Test fun createStopRetrieveParams() { StopRetrieveParams....
1
Kotlin
0
0
f41096673683ec17b1d1a96fd1affa0befd7aea5
703
onebusaway-kotlin-client
Apache License 2.0
onebusaway-sdk-java-core/src/main/kotlin/com/open_transit/api/errors/OnebusawaySdkIoException.kt
OneBusAway
864,202,238
false
{"Kotlin": 1841904, "Shell": 3662, "Dockerfile": 399}
package com.open_transit.api.errors class OnebusawaySdkIoException @JvmOverloads constructor(message: String? = null, cause: Throwable? = null) : OnebusawaySdkException(message, cause)
0
Kotlin
0
0
4139f96c4d90517f472a1b2561df813ad231f904
190
java-sdk
Apache License 2.0
domain/src/main/kotlin/de/dhbw/ka/domain/valueobjects/RentalRequestResult.kt
liza-kl
429,557,945
false
{"Kotlin": 73998, "JavaScript": 29965, "HTML": 1990, "Dockerfile": 706, "CSS": 606, "Shell": 337}
package de.dhbw.ka.domain.valueobjects data class RentalRequestResult( val approved: Boolean, val reasonsOfDenial: List<String> )
0
Kotlin
0
2
f6eefb986e4bfc3c229f7a7d3a948d6fb9770626
139
ase-project
MIT License
src/main/java/challenges/cracking_coding_interview/moderate/q6_smallest_difference/QuestionC.kt
MalekKamel
342,007,920
false
{"Kotlin": 835322}
package challenges.cracking_coding_interview.moderate.q6_smallest_difference import java.util.* object QuestionC { private fun getClosestValue(array: IntArray, target: Int): Int { var low = 0 var high = array.size - 1 var mid: Int while (low <= high) { mid = low + (high...
0
Kotlin
0
1
a465bff204ef63ecfbea5c520303ed5312ccf6e8
1,638
ProblemSolving
Apache License 2.0
app/src/main/java/com/vladimirpetrovski/currencyconverter/ui/utils/CropBitmapTransformation.kt
vladimirpetrovski
199,713,601
false
null
package com.vladimirpetrovski.currencyconverter.ui.utils import android.graphics.Bitmap import com.squareup.picasso.Transformation class CropBitmapTransformation : Transformation { override fun transform(source: Bitmap): Bitmap { val croppedBitmap = Bitmap.createBitmap( source, 0,...
0
Kotlin
0
3
5979a2e1ccc0267d967302fc3a082b75c714b9a6
551
CurrencyConverter
The Unlicense
raft-test/src/test/kotlin/RaftServerTest.kt
dreamlike-ocean
505,124,997
false
{"Kotlin": 84864, "Java": 6524}
import io.vertx.core.CompositeFuture import io.vertx.core.Vertx import io.vertx.core.net.SocketAddress import org.junit.Assert import org.junit.Test import top.dreamlike.base.KV.ByteArrayKey import top.dreamlike.base.raft.RaftAddress import top.dreamlike.base.raft.RaftStatus import top.dreamlike.base.util.block import ...
0
Kotlin
0
3
5b9600e859e52b1d689fe2c1c6e600b5a248aaac
5,826
raft-kt
MIT License
app/src/main/java/com/projectAnya/stunthink/data/remote/dto/nutrition/FoodDto.kt
MFachriA
646,533,160
false
null
package com.projectAnya.stunthink.data.remote.dto.nutrition import android.os.Parcelable import kotlinx.parcelize.Parcelize @Parcelize data class FoodDto( val dataGizi: NutritionDto, val image: String? ): Parcelable
0
Kotlin
0
1
3b24e2e44450dd23aaf8b67dbb066409fa4ed6e2
225
StunThink
Freetype Project License
build-logic/convention/src/main/kotlin/configurations/JavaVersion.kt
JohannesPtaszyk
695,929,733
false
{"Kotlin": 517345}
package configurations import org.gradle.api.JavaVersion val projectJavaVersion = JavaVersion.VERSION_21
7
Kotlin
0
2
3922adf99efda2494d254b97e51bda754c3b0859
107
Abonity
Apache License 2.0
buildSrc/src/main/kotlin/ApplicationConfig.kt
pitagorasampli
650,752,226
false
null
object ApplicationConfig { const val android_ds_library_id = "br.com.cogna.pegasusdesignsystemandroid" const val android_ds_showcase_app_id = "br.com.cogna.ui.pegasus_showcase" //Default Configs const val minSdk = 21 const val buildToolsVersion = "31.0.0" const val compileSdkVersion = 33 c...
0
Kotlin
0
0
e2dd7fa6d1f42a243c308ec2992322856657e568
757
pegasus-design-system-android
MIT License
library/src/main/java/cz/mroczis/netmonster/core/feature/config/CellLocationSource.kt
rtr-nettest
459,160,473
true
{"Kotlin": 418811}
package cz.mroczis.netmonster.core.feature.config import android.Manifest import android.telephony.CellLocation import android.telephony.PhoneStateListener import android.telephony.ServiceState import android.telephony.TelephonyManager import androidx.annotation.RequiresPermission import cz.mroczis.netmonster.core.cac...
0
null
0
4
4554151838db718c1bd9a78bf6cee3e25a210122
2,213
netmonster-core
Apache License 2.0
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/StackPop.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
2,755
compose-icon-collections
MIT License
snapdifferlib/src/main/java/me/anwarshahriar/snapdifferlib/SnapDiffer.kt
AnwarShahriar
245,556,759
false
null
package me.anwarshahriar.snapdifferlib import android.content.res.Resources import android.util.Log import java.lang.reflect.Field class SnapDiffer(private val resources: Resources, private val packageName: String) { private val layoutClass = Class.forName("${packageName}.R\$layout") init { logAllToo...
1
Kotlin
0
0
2ec17b7e3cac0cfceab85c79af4ffe1253a636e0
617
SnapDiffer
MIT License
src/main/kotlin/ru/dageev/compiler/Compiler.kt
rmnn
54,289,657
false
null
package ru.dageev.compiler import org.slf4j.LoggerFactory import ru.dageev.compiler.bytecodegeneration.CompilationUnitGenerator import ru.dageev.compiler.parser.Parser import java.io.File /** * Created by dageev * on 11/26/16. */ class Compiler { companion object { val logger = LoggerFactory.getLogg...
0
Kotlin
0
0
ea5213229ef4037ff02665854ccd15d9f16d56a0
1,873
compiler
Apache License 2.0
app/src/main/java/com/corrot/firenotes/FirebaseRepository.kt
gitcorrot
220,007,785
false
null
package com.corrot.firenotes import android.util.Log import com.corrot.firenotes.model.Note import com.corrot.firenotes.model.User import com.corrot.firenotes.utils.Constants import com.google.android.gms.tasks.OnCompleteListener import com.google.firebase.auth.FirebaseAuth import com.google.firebase.database.Firebase...
0
Kotlin
0
0
06b075d6cf7a41668ca09ce69868d37c8cbcb920
3,474
Fire_Notes
Apache License 2.0
sam-kotlin-core/src/main/kotlin/software/elborai/api/models/InboundInternationalAchTransfer.kt
DefinitelyATestOrg
787,029,213
false
{"Kotlin": 12996764, "Shell": 3638, "Dockerfile": 366}
// File generated from our OpenAPI spec by Stainless. package software.elborai.api.models import com.fasterxml.jackson.annotation.JsonAnyGetter import com.fasterxml.jackson.annotation.JsonAnySetter import com.fasterxml.jackson.annotation.JsonCreator import com.fasterxml.jackson.annotation.JsonIgnoreProperties import ...
1
Kotlin
0
0
3a5229b8bc5cf400f07efbd41e00b9cf40663f97
82,854
sam-kotlin
Apache License 2.0
gi/src/commonMain/kotlin/org/anime_game_servers/multi_proto/gi/data/activity/music_game/MusicGameSettleReq.kt
Anime-Game-Servers
642,871,918
false
{"Kotlin": 1651536}
package org.anime_game_servers.multi_proto.gi.data.activity.music_game import org.anime_game_servers.core.base.annotations.AddedIn import org.anime_game_servers.core.base.Version.GI_2_2_0 import org.anime_game_servers.core.base.Version.GI_2_7_0 import org.anime_game_servers.core.base.annotations.proto.CommandType.REQU...
0
Kotlin
2
6
7639afe4f546aa5bbd9b4afc9c06c17f9547c588
1,243
anime-game-multi-proto
MIT License
app/src/main/java/com/elhady/movies/domain/usecases/seeAllMedia/GetAllMediaByTypeUseCase.kt
islamelhady
301,591,032
false
{"Kotlin": 161687}
package com.elhady.movies.domain.usecases.seeAllMedia import androidx.paging.Pager import androidx.paging.PagingData import androidx.paging.map import com.elhady.movies.data.repository.MovieRepository import com.elhady.movies.data.repository.SeriesRepository import com.elhady.movies.domain.enums.AllMediaType import co...
1
Kotlin
0
0
b485f85ccff0b774e6713963bedd81f2fc720db5
2,074
movie-night-v2
Apache License 2.0
src/jvmMain/kotlin/matt/prim/double/double.kt
mgroth0
532,381,102
false
null
package matt.prim.double import java.nio.ByteBuffer const val DOUBLE_BYTE_LEN = 8 fun Double.toByteArray() = ByteBuffer.allocate(DOUBLE_BYTE_LEN).putDouble(this).array() fun Double.isNaNInfiniteOrZero() = isNaN() || isInfinite() || this == 0.0
0
Kotlin
0
0
c367c9659b3a801c5a84e10cea5d9db41ed1a582
247
prim
MIT License
src/jvmMain/kotlin/matt/prim/double/double.kt
mgroth0
532,381,102
false
null
package matt.prim.double import java.nio.ByteBuffer const val DOUBLE_BYTE_LEN = 8 fun Double.toByteArray() = ByteBuffer.allocate(DOUBLE_BYTE_LEN).putDouble(this).array() fun Double.isNaNInfiniteOrZero() = isNaN() || isInfinite() || this == 0.0
0
Kotlin
0
0
c367c9659b3a801c5a84e10cea5d9db41ed1a582
247
prim
MIT License
app/src/main/java/org/fossasia/openevent/general/social/SocialLinkApi.kt
fossasia
34,847,604
false
null
package org.fossasia.openevent.general.social import io.reactivex.Flowable import retrofit2.http.GET import retrofit2.http.Path interface SocialLinkApi { @GET("events/{id}/social-links?include=event&fields[event]=id&page[size]=0") fun getSocialLinks(@Path("id") id: Long): Flowable<List<SocialLink>> }
73
null
562
1,942
e3214589f83c155e477f9e727370d7bbef8fd915
313
open-event-attendee-android
Apache License 2.0
app/src/test/java/nl/jovmit/lyrics/utils/RegistrationDataBuilder.kt
mitrejcevski
187,831,953
false
{"Kotlin": 200363, "Shell": 202}
package nl.jovmit.lyrics.utils import nl.jovmit.lyrics.main.data.user.RegistrationData class RegistrationDataBuilder { companion object { fun aRegistrationData(): RegistrationDataBuilder { return RegistrationDataBuilder() } } private var username = "username" private var...
1
Kotlin
0
0
e1241d35629bf60c4e60e6744759b8064d1b0d62
847
lyrics
Apache License 2.0