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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
samples/multi-module-sample/welcome/src/main/java/com/kpstv/welcome/WelcomeButtonClick.kt | KaustubhPatange | 356,920,997 | false | {"Kotlin": 360524, "Shell": 205} | package com.kpstv.welcome
import com.kpstv.core.Navigate
interface WelcomeButtonClick : Navigate | 3 | Kotlin | 5 | 97 | d4f7327c4ff77883c4708d2a941e3ecad8f15daf | 98 | navigator | Apache License 2.0 |
app/src/main/java/com/anagramsoftware/sifi/extension/ServiceExtensions.kt | Team-RxH5 | 135,611,282 | false | {"Kotlin": 71957} | package com.anagramsoftware.sifi.extension
import androidx.fragment.app.Fragment
import com.anagramsoftware.sifi.service.SifiService
import com.anagramsoftware.sifi.ui.MainActivity
fun androidx.fragment.app.Fragment.getService() : SifiService? {
return if (activity is MainActivity) {
(activity as MainActi... | 1 | Kotlin | 0 | 0 | e725b76d11424427d4957a93f6cb4ea2ce9ee046 | 351 | Sifi | Apache License 2.0 |
app/src/main/java/com/simple/mathgame/Util.kt | SrikantKarnani | 466,535,848 | false | {"Kotlin": 61760} | package com.simple.mathgame
import kotlin.math.abs
import kotlin.random.Random
fun Random.nextIntInRange(a: Int, b: Int): Int {
return Random.nextInt(minOf(a, b), maxOf(a, b))
}
fun Double.sign(): Double {
return if (this >= 0.0) return 1.0 else -1.0
}
fun absMaxOf(a: Double, b: Double): Double {
return... | 0 | Kotlin | 0 | 0 | f6a680fd990ebe4976a796670474c266dfe1e6ec | 352 | MathGame | MIT License |
app/src/main/java/com/faigenbloom/familybudget/ui/statistics/StatisticsPageViewModel.kt | ZakharchenkoWork | 706,155,222 | false | {"Kotlin": 697553} | package com.faigenbloom.familybudget.ui.statistics
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.faigenbloom.familybudget.common.getCurrentDate
import com.faigenbloom.familybudget.common.toLongDate
import com.faigenbloom.familybudget.common.toReadableDate
import com.faigenbloo... | 0 | Kotlin | 0 | 0 | d4aa1aac7d1b8d0c56749886b9b18a2be1f8790f | 5,142 | FamilyBudget | Apache License 2.0 |
src/main/kotlin/GridSheet.kt | knewjade | 315,001,146 | false | null | import common.tetfu.common.ColorType
import common.tetfu.field.ColoredField
import core.field.Field
import core.field.FieldFactory
import org.apache.poi.ss.usermodel.HorizontalAlignment
import org.apache.poi.ss.util.CellRangeAddress
import org.apache.poi.xssf.usermodel.*
class Operation(val colorType: ColorType, val m... | 0 | Kotlin | 0 | 2 | 1b26f6d1779d988b77309528b9701153fac3ab70 | 3,461 | fumen2xlsx | MIT License |
app/src/main/java/com/dgparkcode/expbox/data/di/LocalModule.kt | dgparkcode | 574,906,538 | false | null | /*
* Copyright (c) 2022. dgparkcode. All rights reserved.
*/
package com.dgparkcode.expbox.data.di
import android.content.Context
import androidx.room.Room
import com.dgparkcode.expbox.data.local.AppDatabase
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.android.qualifie... | 0 | Kotlin | 0 | 0 | bb616223cbcc599b834462597b316294fc2adf2f | 835 | expbox-aos | MIT License |
app/src/main/java/com/example/diaru/Activities/CreateDiaryActivity/Composables/Title.kt | AHsofty | 753,195,765 | false | {"Kotlin": 42332} | package com.example.diaru.Activities.CreateDiaryActivity.Composables
import android.content.Context
import android.widget.Toast
import androidx.compose.foundation.BorderStroke
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layou... | 0 | Kotlin | 0 | 0 | 1d98b80142b140102401568c19035c81397736bc | 4,872 | Diaru | MIT License |
code/shoring/blackjackEngine/src/main/kotlin/com/panopset/blackjackEngine/Suit.kt | panopset | 800,099,730 | false | {"Kotlin": 606207, "Java": 26533, "Shell": 11944, "CSS": 4625, "JavaScript": 4084, "Batchfile": 3184, "HTML": 1767} | package com.panopset.blackjackEngine
enum class Suit(@JvmField val key: String) {
HEART("H"),
SPADE("S"),
DIAMOND("D"),
CLUB("C")
}
| 0 | Kotlin | 0 | 0 | 9bd8f038203a78d56220a5114753e4e0a38ee154 | 149 | pan | Apache License 2.0 |
gi/src/commonMain/kotlin/org/anime_game_servers/multi_proto/gi/data/shop/micro_transaction/ReportTrackingIOInfoNotify.kt | Anime-Game-Servers | 642,871,918 | false | {"Kotlin": 1651536} | package org.anime_game_servers.multi_proto.gi.data.shop.micro_transaction
import org.anime_game_servers.core.base.Version.GI_1_1_0
import org.anime_game_servers.core.base.annotations.AddedIn
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
import org.anime_game_servers.core.base.annotations.prot... | 0 | Kotlin | 2 | 6 | 7639afe4f546aa5bbd9b4afc9c06c17f9547c588 | 548 | anime-game-multi-proto | MIT License |
app/src/main/java/com/gumbachi/watchbuddy/utils/StringExtensions.kt | Gumbachi | 560,068,915 | false | {"Kotlin": 380638} | package com.gumbachi.watchbuddy.utils
import android.util.Log
import com.gumbachi.watchbuddy.model.enums.configuration.ScoreFormat
import kotlinx.datetime.LocalDate
import kotlinx.datetime.LocalDateTime
import kotlin.math.roundToInt
fun String.parseDateOrNull(): LocalDate? = try {
LocalDate.parse(this)
} catch (e... | 0 | Kotlin | 0 | 1 | b9a81ac5e4c90275dd2f0a85bb85db43f2bc816b | 1,969 | WatchBuddy | Apache License 2.0 |
QuickCart/QuickCart/app/src/main/java/com/raul/quickcart/core/data/Products.kt | Raurez | 817,477,630 | false | {"Kotlin": 169854} | package com.raul.quickcart.core.data
import android.util.Log
import com.google.firebase.firestore.DocumentReference
import com.google.firebase.firestore.DocumentSnapshot
import com.google.firebase.firestore.Exclude
// TODO: Clase que representa un producto.
data class Products(
var id: String = "",
var name:... | 0 | Kotlin | 0 | 0 | c7ba570b2717debd069c4fac14ad66d55ec9c506 | 2,217 | E-commerce_project | Apache License 2.0 |
teller-android/src/main/java/com/levibostian/teller/testing/cachestate/OnlineCacheStateTesting.kt | levibostian | 132,034,933 | false | {"Kotlin": 233861} | package com.levibostian.teller.testing.cachestate
import com.levibostian.teller.cachestate.CacheState
import com.levibostian.teller.cachestate.statemachine.CacheStateStateMachine
import com.levibostian.teller.repository.TellerRepository
import com.levibostian.teller.repository.RepositoryCache
import java.util.*
/**
... | 25 | Kotlin | 3 | 15 | 32772b08cf5d939279c4057386b2bb67d4663569 | 5,660 | Teller-Android | MIT License |
presentation/src/commonMain/kotlin/ireader/presentation/ui/component/reorderable/ItemPosition.kt | kazemcodes | 540,829,865 | true | {"Kotlin": 2179459} | package ireader.presentation.ui.component.reorderable
data class ItemPosition(val index: Int, val key: Any)
| 0 | Kotlin | 0 | 6 | b6b2414fa002cec2aa0d199871fcfb4c2e190a8f | 109 | IReader | Apache License 2.0 |
app/src/main/java/kittoku/mvc/service/client/arp/ARPClient.kt | kittoku | 401,675,193 | false | null | package kittoku.mvc.service.client.arp
import kittoku.mvc.debug.ErrorCode
import kittoku.mvc.debug.MvcException
import kittoku.mvc.extension.isSame
import kittoku.mvc.extension.read
import kittoku.mvc.extension.toBroadcastAddress
import kittoku.mvc.service.client.ClientBridge
import kittoku.mvc.service.client.ControlM... | 5 | Kotlin | 11 | 33 | 9f8be9802629684d0eb68fedb9f859e9df7339e2 | 4,032 | Minimum-VPN-Client-for-SoftEther-VPN | Apache License 2.0 |
module-02-type-system/src/test/kotlin/nl/freshminds/TypeSystem02Test.kt | fresh-minds | 593,328,386 | false | {"Kotlin": 50785} | package nl.freshminds
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Assertions.assertThrows
import org.junit.jupiter.api.Test
class Assignment02Test {
@Test
fun `return name of the sub sub folder if it exists`() {
val sub2Folder = Folder("sub2", null)
val s... | 0 | Kotlin | 9 | 2 | 86bd297a2ae75a32c2c0a29d7fa9b292ac2c0b05 | 785 | kotlin-professional-development-assignments | MIT License |
src/main/kotlin/com/velocitypowered/api/kt/proxy/ProxyServer.kt | HuebCraftDev | 667,517,485 | false | {"Kotlin": 15685} | package com.velocitypowered.api.kt.proxy
import com.velocitypowered.api.proxy.Player
import com.velocitypowered.api.proxy.ProxyServer
import com.velocitypowered.api.proxy.server.RegisteredServer
import java.util.UUID
fun ProxyServer.player(name: String): Player? = getPlayer(name).orElse(null)
fun ProxyServer.player(u... | 0 | Kotlin | 0 | 0 | 50b4bfa76127b7b5be4913e4aecd49893ddef683 | 458 | velocity-language-kotlin | MIT License |
_lifecycle-handler/lifecycle-handler-lint/src/test/java/io/androidalatan/lifecycle/handler/lint/LifecycleMethodReturnTypeDetectorTest.kt | android-alatan | 466,507,427 | false | null | package io.androidalatan.lifecycle.handler.lint
import com.android.tools.lint.checks.infrastructure.LintDetectorTest
import com.android.tools.lint.checks.infrastructure.TestLintTask
import com.android.tools.lint.detector.api.Severity
import org.junit.jupiter.api.Test
@Suppress("UnstableApiUsage")
class LifecycleMetho... | 3 | Kotlin | 5 | 56 | 35b0ec7a89f8254db0af1830ac1de8a7124c6f09 | 2,805 | LifecycleComponents | MIT License |
wearmsgerlib/src/main/java/me/chenhe/lib/wearmsger/service/ListenerAgentService.kt | ichenhe | 230,716,486 | false | {"Kotlin": 57218} | package me.chenhe.lib.wearmsger.service
import android.app.Service
import android.content.ComponentName
import android.content.Context
import android.content.Intent
import android.content.ServiceConnection
import android.os.IBinder
import android.os.RemoteException
import com.google.android.gms.wearable.DataMapItem
im... | 0 | Kotlin | 1 | 8 | a74123d11d29495dbfd1c80ec8335dd37b83b1c6 | 4,461 | Wear-Msger | MIT License |
libraries/stdlib/jvm/builtins/Library.kt | JetBrains | 3,432,266 | false | null | /*
* 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.
*/
@file:Suppress(
"NON_MEMBER_FUNCTION_NO_BODY",
"REIFIED_TYPE_PARAMETER_NO_INLINE"
)
@file:kotlin.wasm.i... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 2,477 | kotlin | Apache License 2.0 |
api_generator/tests/references/serializers_kotlin/WithoutDefaultJsonParser.kt | divkit | 523,491,444 | false | {"Kotlin": 7327303, "Swift": 5164616, "Svelte": 1148832, "TypeScript": 912803, "Dart": 630920, "Python": 536031, "Java": 507940, "JavaScript": 152546, "CSS": 37870, "HTML": 23434, "C++": 20911, "CMake": 18677, "Shell": 8895, "PEG.js": 7210, "Ruby": 3723, "C": 1425, "Objective-C": 38} | // Generated code. Do not modify.
package com.yandex.div.reference
import android.graphics.Color
import android.net.Uri
import androidx.annotation.ColorInt
import com.yandex.div.data.*
import com.yandex.div.json.*
import com.yandex.div.json.expressions.Expression
import com.yandex.div.json.expressions.ExpressionsList... | 5 | Kotlin | 128 | 2,240 | dd102394ed7b240ace9eaef9228567f98e54d9cf | 2,127 | divkit | Apache License 2.0 |
src/test/kotlin/no/nav/syfo/kafka/KafkaConsumerSpek.kt | navikt | 303,972,532 | false | null | package no.nav.syfo.kafka
import kotlinx.coroutines.runBlocking
import no.nav.common.KafkaEnvironment
import no.nav.syfo.ApplicationState
import no.nav.syfo.auth.StsConsumer
import no.nav.syfo.consumer.DkifConsumer
import no.nav.syfo.consumer.PdlConsumer
import no.nav.syfo.kafka.oppfolgingstilfelle.Oppfolgingstilfelle... | 2 | Kotlin | 0 | 0 | b8902c55fc4360f03e388f8414079f163b08ea02 | 3,091 | esyfovarsel | MIT License |
Kotlin/QuizGame/helpers/AddSignCallBack.kt | mitulvaghamshi | 555,599,346 | false | null | package helpers
import javafx.scene.control.Button
/**
* This interface declarers a method to add signs
*
* @author mitul vaghamshi
*/
interface AddSignCallBack {
/**
* virtual method signature
*
* @param button - whether answer is true or false
*/
fun addSign(button: Button?)
}
| 0 | Kotlin | 0 | 0 | 8eac94e25764f37ee91828388423967c3ee8772e | 314 | mitulvaghamshi | MIT License |
bitcoincore/src/main/kotlin/io/horizontalsystems/bitcoincore/network/peer/PeerAddressManager.kt | horizontalsystems | 147,199,533 | false | null | package io.horizontalsystems.bitcoincore.network.peer
import io.horizontalsystems.bitcoincore.core.IPeerAddressManager
import io.horizontalsystems.bitcoincore.core.IPeerAddressManagerListener
import io.horizontalsystems.bitcoincore.core.IStorage
import io.horizontalsystems.bitcoincore.models.PeerAddress
import io.hori... | 20 | null | 55 | 96 | 110018d54d82bb4e3c2a1d6b0ddd1bb9eeff9167 | 2,346 | bitcoin-kit-android | MIT License |
src/JumpingOnTheCloudsRevisited.kt | cusufcan | 825,345,714 | false | {"Kotlin": 50886} | import java.util.*
// Complete the jumpingOnClouds function below.
fun jumpingOnClouds(c: Array<Int>, k: Int): Int {
var energy = 100
var i = 0
do {
i = (i + k) % c.size
energy -= 1 + (2 * c[i])
} while (i != 0)
return energy
}
fun main(args: Array<String>) {
val scan = Scann... | 0 | Kotlin | 0 | 1 | 2679e8fb17695350fbdc27b0c55633527ecc31bd | 589 | hacker_rank_challenges | MIT License |
app/src/main/java/com/example/sprecan/recyclerview/item/ContactItem.kt | ClaudiaAF | 364,080,478 | false | null | package com.example.sprecan.recyclerview.item
import android.content.Context
import com.example.sprecan.R
import com.example.sprecan.glide.GlideApp
import com.example.sprecan.model.User
import com.example.sprecan.utils.Storage
import com.xwray.groupie.kotlinandroidextensions.Item
import com.xwray.groupie.kotlinandroid... | 0 | Kotlin | 1 | 0 | 726e5f3fdcc42aea76394b8bf959ab1b2830805e | 939 | Sprecan | The Unlicense |
app/src/main/java/com/dfa/team_pocker/utils/AppUtils.kt | neverWinters | 669,974,981 | false | {"Kotlin": 151630} | package com.dfa.team_pocker.utils
import android.content.Context
import android.content.Intent
import android.os.Build
import android.widget.Toast
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.outlined.Visibility
import androidx.compose.material.icons.outlined.VisibilityOff
import... | 1 | Kotlin | 0 | 1 | 3093d9e60dbe7adfa908708c8c624bc2ad08a427 | 2,222 | team-poker | ISC License |
app/src/main/kotlin/com/ttvnp/ttj_asset_android_client/presentation/ui/fragment/SendAmountConfirmFragment.kt | mango-byte | 116,269,057 | true | {"Kotlin": 312756, "Ruby": 4372} | package com.ttvnp.ttj_asset_android_client.presentation.ui.fragment
import android.content.Context
import android.os.Bundle
import android.widget.Button
import android.widget.PopupWindow
import android.widget.TextView
import com.squareup.picasso.Picasso
import com.ttvnp.ttj_asset_android_client.domain.model.SendInfoMo... | 0 | Kotlin | 0 | 0 | 8126f43ec257213477ea39f076f4ee4646359be5 | 5,777 | ttj-asset-android-client | Apache License 1.1 |
src/org/gangel/timeforcoroutines/primes.kt | grzegorz-aniol | 172,561,185 | false | null | package org.gangel.timeforcoroutines
import kotlinx.coroutines.cancelChildren
import kotlinx.coroutines.channels.Channel
import kotlinx.coroutines.launch
import kotlinx.coroutines.runBlocking
import org.gangel.funwithfunctions.isPrimeMethod1
import java.math.BigDecimal
import java.util.concurrent.atomic.LongAdder
fu... | 0 | Kotlin | 0 | 0 | a743821396ef1577621755237f724a1b00b16733 | 1,410 | kotlin-playground | Apache License 2.0 |
src/main/kotlin/eZmaxApi/models/CustomMinusEzsignfoldertransmissionMinusResponse.kt | eZmaxinc | 271,950,932 | false | null | /**
* eZmax API Definition (Full)
*
* This API expose all the functionnalities for the eZmax and eZsign applications.
*
* The version of the OpenAPI document: 1.1.9
* Contact: <EMAIL>
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit this file... | 0 | Kotlin | 0 | 0 | fad1a7a8b3f744256968e67e5f60044063cb551c | 1,892 | eZmax-SDK-kotlin | MIT License |
feature/challenge-details/src/main/java/com/feature/challenge_details/ui/model/ActionByUiModel.kt | LStudioO | 653,597,932 | false | null | package com.feature.challenge_details.ui.model
internal data class ActionByUiModel(
val name: String,
val url: String?,
val date: String?,
)
| 0 | Kotlin | 0 | 2 | 4b7ad630dbd4838b66e560f463b025e79327bebd | 154 | CodeWarsChallengeViewer | Apache License 2.0 |
requirektx-intent/src/androidUnitTest/kotlin/co/zsmb/requirektx/IntentTest.kt | zsmb13 | 371,439,219 | false | {"Kotlin": 131935} | package co.zsmb.requirektx
import android.content.Intent
import org.junit.Assert.assertThrows
import org.junit.Test
import org.junit.runner.RunWith
import org.robolectric.RobolectricTestRunner
@RunWith(RobolectricTestRunner::class)
internal class IntentTest {
private val emptyIntent = Intent()
private val t... | 0 | Kotlin | 3 | 91 | c41e0edcd34f7c095f0882ae15e4fe86d3d0e046 | 666 | requireKTX | Apache License 2.0 |
app/src/main/java/com/workfort/pstuian/app/ui/base/broadcastreceiver/CustomBroadcastReceiver.kt | arhanashik | 411,942,559 | false | {"Kotlin": 1051684} | package com.workfort.pstuian.app.ui.common.broadcastreceiver
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
/**
* ****************************************************************************
* * Created by : arhan on 30 Oct, 2021 at 0:48.
* * Email : <EMAIL... | 0 | Kotlin | 0 | 2 | 9c51ec4d4d477ae739b922c49127ac69844f4d6e | 865 | PSTUian-android | Apache License 2.0 |
api/src/main/kotlin/com/github/samunohito/mfm/api/node/MfmItalic.kt | samunohito | 663,481,744 | false | null | package com.github.samunohito.mfm.api.node
import com.github.samunohito.mfm.api.MfmUtils
class MfmItalic(children: List<IMfmNode>) : MfmNodeChildrenHolderBase(children), IMfmNode {
constructor(vararg children: IMfmNode) : this(children.toList())
override val type = MfmNodeType.Italic
override fun stringify():... | 1 | Kotlin | 0 | 0 | a91cb35b15c71cccafb512920df0a6904d756bf4 | 387 | mfm.kt | MIT License |
core/ui/src/main/java/com/significo/bugtracker/Type.kt | SignificoHealth | 824,561,094 | false | {"Kotlin": 237482} | @file:Suppress("unused")
package com.significo.bugtracker
import androidx.compose.material3.LocalTextStyle
import androidx.compose.material3.Text
import androidx.compose.material3.Typography
import androidx.compose.runtime.Composable
import androidx.compose.runtime.remember
import androidx.compose.runtime.staticCompo... | 2 | Kotlin | 0 | 1 | ed27c4012925789e47f8fc422f9d095ab3a821df | 23,217 | bug-tracker-showcase-android | Apache License 2.0 |
kweet/src/Register.kt | komapper | 363,551,150 | false | null | package io.ktor.samples.kweet
import io.ktor.http.Parameters
import io.ktor.samples.kweet.dao.DAOFacade
import io.ktor.samples.kweet.model.User
import io.ktor.server.application.application
import io.ktor.server.application.call
import io.ktor.server.application.log
import io.ktor.server.freemarker.FreeMarkerContent
i... | 3 | null | 1 | 6 | a1662466b58b6124fd6b8cc910e3665a37b9f510 | 5,116 | komapper-examples | Apache License 2.0 |
kio-server/src/main/kotlin/io/kurumi/server/http/impl/TioHttpCookie.kt | NeoChow | 193,694,629 | true | {"Kotlin": 266037, "Java": 70694} | /*
* Copyright 2018 MikaGuraNTK
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | 0 | Kotlin | 0 | 0 | c85ed0c8a7fdec08d696bb7d1dd0fa307ba75248 | 1,864 | kio-project | Apache License 2.0 |
app/src/main/java/com/codecamp/tripcplaner/view/widgets/DetailCard.kt | LoayTabbara | 670,059,638 | false | null | package com.codecamp.tripcplaner.view.widgets
import androidx.compose.foundation.BorderStroke
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compos... | 0 | Kotlin | 0 | 0 | bc387afa81c723666b2d4291592ed52155d9dc80 | 3,280 | Trip-C-Planer | MIT License |
src/main/kotlin/no/nav/rekrutteringsbistand/stillingssokproxy/Security.kt | navikt | 330,597,669 | false | null | package no.nav.rekrutteringsbistand.stillingssokproxy
import io.javalin.Javalin
import io.javalin.http.Context
import io.javalin.http.ForbiddenResponse
import no.nav.security.token.support.core.configuration.IssuerProperties
import no.nav.security.token.support.core.configuration.MultiIssuerConfiguration
import no.nav... | 0 | Kotlin | 0 | 0 | 57b7e87b493f146dfe7635ebd399ec0af6571c4e | 2,022 | rekrutteringsbistand-stillingssok-proxy | MIT License |
Introduction to Objects/Maps/Exercise 1/src/Task.kt | marchdz | 633,862,396 | false | null | // Maps/Task1.kt
package mapsExercise1
import atomictest.eq
class Contact(val name: String, val number: String) {
override fun toString(): String {
return "Contact('$name', '$number')"
}
}
fun buildNumberToContactMap(contactList: List<Contact>): Map<String, Contact> {
var contactMap = mutableMapOf<String, C... | 0 | Kotlin | 0 | 0 | 1efabf8721c4efbb0891b7b9469efc9e7b36f189 | 744 | atomic-kotlin-exercises | MIT License |
Introduction to Objects/Maps/Exercise 1/src/Task.kt | marchdz | 633,862,396 | false | null | // Maps/Task1.kt
package mapsExercise1
import atomictest.eq
class Contact(val name: String, val number: String) {
override fun toString(): String {
return "Contact('$name', '$number')"
}
}
fun buildNumberToContactMap(contactList: List<Contact>): Map<String, Contact> {
var contactMap = mutableMapOf<String, C... | 0 | Kotlin | 0 | 0 | 1efabf8721c4efbb0891b7b9469efc9e7b36f189 | 744 | atomic-kotlin-exercises | MIT License |
src/org/lukasj/idea/torquescript/psi/TSElementType.kt | lukaspj | 385,020,179 | false | {"Kotlin": 370311, "Lex": 9792, "Makefile": 383} | package org.lukasj.idea.torquescript.psi
import com.intellij.psi.tree.IElementType
import org.jetbrains.annotations.NonNls
import org.lukasj.idea.torquescript.TSLanguage
class TSElementType(debugName: String) : IElementType(debugName, TSLanguage.INSTANCE) {
} | 3 | Kotlin | 0 | 1 | ecb8418b91c63e4f84c11400bda52256e6b9c3a2 | 261 | IDEA-TorqueScriptLanguage | MIT License |
kotlinApp/src/main/java/io/github/rebirthlee/spinnermvvm/kotlin/SimpleGlideModule.kt | 2rebi | 182,636,377 | false | {"Java": 10369, "Kotlin": 7971} | package io.github.rebirthlee.spinnermvvm.kotlin
import com.bumptech.glide.annotation.GlideModule
import com.bumptech.glide.module.AppGlideModule
@GlideModule
class SimpleGlideModule : AppGlideModule()
| 0 | Java | 0 | 2 | 636961653a8168a6d315da860221cbe7ccc4a197 | 203 | Android_SpinnerMVVM_Sample | Beerware License |
kotlinApp/src/main/java/io/github/rebirthlee/spinnermvvm/kotlin/SimpleGlideModule.kt | 2rebi | 182,636,377 | false | {"Java": 10369, "Kotlin": 7971} | package io.github.rebirthlee.spinnermvvm.kotlin
import com.bumptech.glide.annotation.GlideModule
import com.bumptech.glide.module.AppGlideModule
@GlideModule
class SimpleGlideModule : AppGlideModule()
| 0 | Java | 0 | 2 | 636961653a8168a6d315da860221cbe7ccc4a197 | 203 | Android_SpinnerMVVM_Sample | Beerware License |
app/src/main/kotlin/com/adesso/movee/data/local/datasource/MovieLocalDataSource.kt | adessoTurkey | 246,803,496 | false | null | package com.adesso.movee.data.local.datasource
import com.adesso.movee.data.local.database.dao.MovieDao
import com.adesso.movee.data.local.database.dao.MovieGenreCrossRefDao
import com.adesso.movee.data.local.database.dao.MovieGenreDao
import com.adesso.movee.data.local.database.dao.NowPlayingMovieIdDao
import com.ade... | 32 | Kotlin | 12 | 30 | dee47d68acd2e0e9e6e7839439432e63a5c88f8e | 2,266 | android-sample-app | Apache License 2.0 |
hooks/src/commonMain/kotlin/xyz/junerver/compose/hooks/useform/Form.kt | junerver | 767,292,867 | false | null | @file:Suppress("UNCHECKED_CAST", "USELESS_CAST")
package xyz.junerver.compose.hooks.useform
import androidx.compose.runtime.Composable
import androidx.compose.runtime.MutableState
import androidx.compose.runtime.State
import androidx.compose.runtime.getValue
import kotlin.reflect.KClass
import xyz.junerver.compose.ho... | 0 | null | 5 | 56 | b18770b0d80492d1aa217420596b9e53b53abf8b | 4,280 | ComposeHooks | Apache License 2.0 |
examples/src/main/kotlin/examples/misc/Net.kt | hiperbou | 77,711,558 | false | {"Kotlin": 456816, "HTML": 335} |
package examples.misc
import Phaser.*
class Net: State() {
//var game = Phaser.Game(800, 600, Phaser.CANVAS, "phaser-example", object{ var render= render })
override fun render() {
game.debug.text("Host Name:"+game.net.getHostName(),game.world.centerX-300,20)
game.debug.text("Host Name contains 1... | 2 | Kotlin | 11 | 55 | 18d247ecf44c32f5aca0560dce7727c10dfe196a | 992 | kotlin-phaser | MIT License |
app/src/main/java/com/farahaniconsulting/shopo/di/modules/UseCaseModule.kt | rezakhmf | 375,601,371 | false | null | package com.farahaniconsulting.shopo.di.modules
import com.farahaniconsulting.shopo.data.repository.REPOSITORY_LOCAL
import com.farahaniconsulting.shopo.data.repository.ShopoRepository
import com.farahaniconsulting.shopo.domain.shoppingITems.GetShoppingItemsUC
import dagger.Module
import dagger.Provides
import io.reac... | 0 | Kotlin | 0 | 0 | 98b7f5fde0b0ad57ffc9749970b995c85a62869f | 729 | Shopo | MIT License |
src/main/kotlin/no/nav/helsearbeidsgiver/bro/sykepenger/domene/Orgnr.kt | navikt | 545,996,420 | false | {"Kotlin": 188801, "PLpgSQL": 153, "Dockerfile": 68} | package no.nav.helsearbeidsgiver.bro.sykepenger.domene
import kotlinx.serialization.Serializable
private val orgnrRgx = Regex("\\d{9}")
@Serializable
@JvmInline
value class Orgnr(
val verdi: String,
) {
init {
require(verdi.erGyldigOrgnr())
}
override fun toString(): String = verdi
}
privat... | 1 | Kotlin | 0 | 0 | d53918a126e25e703174c474f873b1e641a929ea | 378 | helsearbeidsgiver-bro-sykepenger | MIT License |
app/src/main/java/dev/makuch/simplyTime/utils/RendererUtils.kt | tmakuch | 634,219,242 | false | null | package dev.makuch.simplyTime.utils
import java.time.DayOfWeek
fun mapDayOfWeek(dayOfWeek: DayOfWeek) = when(dayOfWeek) {
DayOfWeek.MONDAY -> "pon"
DayOfWeek.TUESDAY -> "wt"
DayOfWeek.WEDNESDAY -> "śr"
DayOfWeek.THURSDAY -> "czw"
DayOfWeek.FRIDAY -> "pt"
DayOfWeek.SATURDAY -> "sob"
DayOfWe... | 0 | Kotlin | 0 | 0 | df967356e5b03a5ab82f7e01e4a5dc9378fa1a5c | 358 | simply-time-wear | Apache License 2.0 |
app/src/androidTest/java/com/vignesh/todo/common/repository/local/db/dao/TDTodoDaoTest.kt | vigneshsskv | 486,442,436 | false | null | package com.vignesh.todo.common.repository.local.db.dao
import androidx.arch.core.executor.testing.InstantTaskExecutorRule
import androidx.test.filters.SmallTest
import com.google.common.truth.Truth.assertThat
import com.vignesh.todo.common.dj.LNCommonRepositoryModuleTest
import com.vignesh.todo.common.repository.loca... | 0 | Kotlin | 0 | 0 | 00d977f0c7f53b2053424ee6bf97b9ea4797056b | 3,210 | Todo-Android-hilt | MIT License |
bungie/src/main/kotlin/pl/nanoray/glint/bungie/api/model/DestinyInventoryItemDefinition.kt | Nanoray-pl | 363,267,648 | false | null | package pl.nanoray.glint.bungie.api.model
import kotlinx.serialization.Serializable
import pl.nanoray.glint.bungie.api.model.custom.ApiRelativeUrl
@Serializable
data class DestinyInventoryItemDefinition(
val displayProperties: DestinyDisplayPropertiesDefinition,
val screenshot: ApiRelativeUrl? = null,
val... | 10 | Kotlin | 0 | 0 | 7b55e33873341bd201b8d068b6c51fbefe664af3 | 349 | Glint | Apache License 2.0 |
app/src/main/java/io/horizontalsystems/bankwallet/modules/balanceonboarding/BalanceOnboardingModule.kt | horizontalsystems | 142,825,178 | false | null | package io.horizontalsystems.bankwallet.modules.balanceonboarding
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import io.horizontalsystems.bankwallet.core.App
object BalanceOnboardingModule {
class Factory : ViewModelProvider.Factory {
@Suppress("UNCHECKED_CAST")
... | 163 | null | 170 | 320 | a520b87e9553e69c76d9d48a0adb0268a53e65b2 | 473 | unstoppable-wallet-android | MIT License |
app/src/test/java/com/xeniac/fifaultimateteamcoin_dsfut_sell_fut/feature_home/domain/use_case/GetSelectedRateAppOptionUseCaseTest.kt | WilliamGates99 | 543,831,202 | false | {"Kotlin": 898249} | package com.xeniac.fifaultimateteamcoin_dsfut_sell_fut.feature_home.domain.use_case
import androidx.arch.core.executor.testing.InstantTaskExecutorRule
import com.google.common.truth.Truth.assertThat
import com.xeniac.fifaultimateteamcoin_dsfut_sell_fut.MainCoroutineRule
import com.xeniac.fifaultimateteamcoin_dsfut_sel... | 0 | Kotlin | 0 | 1 | a0b03bf204e6e681bbe587fdc928bff81e7e67e6 | 1,733 | FUTSale | Apache License 2.0 |
app_04_02_expanded/android/app/src/main/kotlin/com/brunomonteiro/app_04_02_expanded/MainActivity.kt | Bilalfakhro | 401,422,358 | true | {"Dart": 85757, "HTML": 59474, "Swift": 6868, "Kotlin": 2417, "Objective-C": 646} | package com.brunomonteiro.app_04_02_expanded
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | null | 0 | 0 | 0710b0f3542fafea377fa852c160811b1ded2b75 | 141 | flutter.examples | MIT License |
app/src/main/java/com/nvkhang96/news/data/VnexpressRssResponse.kt | nvkhang96 | 344,387,161 | false | null | package com.nvkhang96.news.data
import androidx.navigation.NavDestination
import org.simpleframework.xml.Element
import org.simpleframework.xml.ElementList
import org.simpleframework.xml.Root
@Root(name = "rss", strict = false)
class VnexpressRssResponseWrapper @JvmOverloads constructor(
@field: Element(name = "c... | 0 | Kotlin | 0 | 0 | 44b86ed5ce9fc01818335c8e739b604fb71b2a47 | 919 | News | Apache License 2.0 |
app/src/main/java/cz/inventi/inventiskeleton/presentation/post/add/PostAddView.kt | InventiDevelopment | 89,702,956 | false | null | package cz.inventi.inventiskeleton.presentation.post.add
import cz.inventi.inventiskeleton.presentation.common.BaseView
import io.reactivex.Observable
/**
* Created by tomas.valenta on 6/7/2017.
*/
interface PostAddView : BaseView {
fun titleEditEvents(): Observable<String>
fun bodyEditEvents(): Observable<... | 5 | Kotlin | 3 | 4 | faee881565eeffe5a25b0501909692acba83ed52 | 416 | AndroidSkeleton | Apache License 2.0 |
app/src/main/java/com/example/sunnyweather/logic/network/WeatherService.kt | wanglu121 | 434,831,833 | false | null | package com.example.sunnyweather.logic.network
import RealtimeResponse
import com.example.sunnyweather.SunnyWeatherApplication
import com.example.sunnyweather.logic.model.DailyResponse
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Path
interface WeatherService {
@GET("v2.5/${SunnyWeatherAp... | 0 | Kotlin | 0 | 1 | 5a648568364dc1c5b428aabd4a0adc756dc693ac | 655 | SunnyWeather | Apache License 2.0 |
src/main/kotlin/ConcatStrings.kt | argcc | 777,572,651 | false | {"Kotlin": 866115} | package org.example
fun ConcatStrings(param_1:String, param_2:String):String {
return param_1 + param_2
}
| 0 | Kotlin | 0 | 0 | 415f3190279236c8c1335a0f8556f3bb9eac5256 | 111 | ei_reverse_consp | MIT License |
app/src/main/java/dev/shorthouse/coinwatch/ui/previewdata/FavouritesUiStatePreviewProvider.kt | shorthouse | 655,260,745 | false | null | package dev.shorthouse.coinwatch.ui.previewdata
import androidx.compose.ui.tooling.preview.PreviewParameterProvider
import dev.shorthouse.coinwatch.data.source.local.model.FavouriteCoin
import dev.shorthouse.coinwatch.model.Percentage
import dev.shorthouse.coinwatch.model.Price
import dev.shorthouse.coinwatch.ui.previ... | 5 | null | 7 | 85 | 26b7499114c939342b17a057d1d41c6f8094ee99 | 8,816 | CoinWatch | Apache License 2.0 |
library/src/main/java/io/fusionauth/mobilesdk/storage/SharedPreferencesStorage.kt | FusionAuth | 724,073,646 | false | {"Kotlin": 65430, "Java": 116} | package io.fusionauth.mobilesdk.storage
import android.content.Context
import android.content.SharedPreferences
import androidx.security.crypto.EncryptedSharedPreferences
import androidx.security.crypto.MasterKey
/**
* SharedPreferencesStorage is a class that implements the Storage interface and provides a
* storag... | 4 | Kotlin | 0 | 0 | 64c1ce1499180dd151ee235aa12561b867e6c8e8 | 2,236 | fusionauth-android-sdk | Apache License 2.0 |
lib/src/test/kotlin/com/github/bassaer/lib/model/UserTest.kt | bassaer | 95,287,611 | false | {"Java": 14162, "Kotlin": 3535, "Shell": 463} | package com.github.bassaer.lib.model
import org.junit.Assert.assertEquals
import org.junit.Test
/**
* Created by nakayama on 2017/11/01.
*/
class UserTest {
@Test
@Throws(Exception::class)
fun checkPrimary() {
val primaryUser = User(3, "primaryUser")
val notPrimaryUser = User(1, "notPri... | 1 | null | 1 | 1 | 5888b64915f367ab22480d85661b2f92f6b083ae | 446 | AppTesting | Apache License 2.0 |
idea/testData/intentions/branched/ifWhen/whenToIf/whenWithNegativeRangeTests.kt | damenez | 176,209,431 | true | {"Markdown": 56, "Gradle": 497, "Gradle Kotlin DSL": 215, "Java Properties": 12, "Shell": 11, "Ignore List": 10, "Batchfile": 9, "Git Attributes": 1, "Protocol Buffer": 12, "Java": 5238, "Kotlin": 43905, "Proguard": 7, "XML": 1594, "Text": 9172, "JavaScript": 239, "JAR Manifest": 2, "Roff": 209, "Roff Manpage": 34, "IN... | fun test(n: Int): String {
return <caret>when (n) {
!in 0..1000 -> "unknown"
!in 0..100 -> "big"
!in 0..10 -> "average"
else -> "small"
}
} | 0 | Kotlin | 0 | 2 | 9a2178d96bd736c67ba914b0f595e42d1bba374d | 179 | kotlin | Apache License 2.0 |
app/src/main/java/com/instamobile/kotlinlogin/Profile.kt | hassenAH | 624,449,408 | false | {"Java": 314368, "Kotlin": 18309, "Assembly": 162} | package com.instamobile.kotlinlogin
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.TextView
class Profile : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity... | 1 | null | 1 | 1 | be8509b51a2ddd99cd8b8f15ac6c29874e4bd83a | 475 | Bizos-Android | MIT License |
buildSrc/src/main/kotlin/DependencyBridge.kt | zero88 | 343,665,974 | false | {"Java": 634912, "PLpgSQL": 7335, "Kotlin": 1883} | data class DependencyBridge(
val source: String,
val sourceDir: String,
val versionConstraint: Boolean,
val excludes: Set<String>
) {
override fun equals(other: Any?): Boolean {
if (this === other) return true
if (javaClass != other?.javaClass) return false
other as Depende... | 32 | Java | 2 | 24 | 255689d3248b3e8e778e26aa8856677e4e851700 | 452 | jooqx | Apache License 2.0 |
app/src/main/java/com/calvinnor/progress/adapter/TaskSwipeHandler.kt | calvinnor | 126,571,244 | false | null | package com.calvinnor.progress.adapter
import android.support.v7.widget.RecyclerView
import android.support.v7.widget.helper.ItemTouchHelper
import com.calvinnor.progress.model.TaskState
import com.calvinnor.progress.model.TaskState.Companion.DONE
import com.calvinnor.progress.model.TaskState.Companion.INBOX
import co... | 0 | Kotlin | 2 | 1 | 56f554ce179eea2b601b6e570467abc94b3ce818 | 1,954 | Progress | MIT License |
src/main/kotlin/com/gg/plugins/mongo/action/edition/DeleteKeyAction.kt | geetesh-gupta | 537,787,274 | false | {"Kotlin": 297439} | /*
* Copyright (c) 2018 <NAME>.
* Modifications Copyright (c) 2022 <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
*
* Unl... | 2 | Kotlin | 1 | 7 | aed621719d0573c4cc1e1b658283072a696d2e8f | 1,591 | Mongo-DB-Browser | Apache License 2.0 |
clientprotocol/src/commonMain/generated/org/inthewaves/kotlinsignald/clientprotocol/v1/structures/JsonAddress.kt | inthewaves | 398,221,861 | false | null | // File is generated by ./gradlew generateSignaldClasses --- do not edit unless reformatting
package org.inthewaves.kotlinsignald.clientprotocol.v1.structures
import kotlinx.serialization.Serializable
@Serializable
public data class JsonAddress(
/**
* An e164 phone number, starting with +. Currently the only... | 11 | Kotlin | 1 | 2 | 6f48a612fc307c08e44af25f826bb627e3e4f499 | 642 | kotlin-signald | MIT License |
shared/src/commonMain/kotlin/io/github/MockativeMockable.kt | mockative | 422,101,224 | false | {"Kotlin": 114083} | package io.github
@Target(AnnotationTarget.CLASS)
@Retention(AnnotationRetention.SOURCE)
annotation class MockativeMockable
| 17 | Kotlin | 8 | 204 | 76853d4c2a69d8c707dfd6cfdb65ea21e0922d14 | 125 | mockative | MIT License |
model-aws/src/generated/kotlin/uy/kohesive/iac/model/aws/clients/DeferredAWSDirectoryService.kt | kohesive | 81,814,921 | false | null | package uy.kohesive.iac.model.aws.clients
import com.amazonaws.services.directory.AbstractAWSDirectoryService
import com.amazonaws.services.directory.AWSDirectoryService
import com.amazonaws.services.directory.model.*
import uy.kohesive.iac.model.aws.IacContext
import uy.kohesive.iac.model.aws.proxy.makeProxy
open cl... | 0 | Kotlin | 1 | 3 | c52427c99384396ea60f436750932ed12aad4e6d | 4,321 | kohesive-iac | MIT License |
src/main/kotlin/_0231_PowerOfTwo.kt | ryandyoon | 664,493,186 | false | null | // https://leetcode.com/problems/power-of-two/
fun isPowerOfTwo(n: Int): Boolean {
return n > 0 && n.countOneBits() == 1
}
| 0 | Kotlin | 0 | 0 | fcc7f06b080e25ec5fcf9d19e6a733bdb2b89670 | 127 | leetcode-kotlin | MIT License |
src/main/kotlin/io/github/solid/resourcepack/api/builder/config/ModelVariantBuilder.kt | solid-resourcepack | 822,729,366 | false | {"Kotlin": 28644} | package io.github.solid.resourcepack.api.builder.config
import io.github.solid.resourcepack.api.builder.feature.ModelVariantConfig
import net.kyori.adventure.key.Key
import team.unnamed.creative.base.Writable
import team.unnamed.creative.model.ModelTexture
import team.unnamed.creative.texture.Texture
object ModelVar... | 0 | Kotlin | 0 | 2 | c9811b294dcb41ae33d39310b2d2212a718fae60 | 2,334 | solid-api | Apache License 2.0 |
presentation/src/test/java/com/gauvain/seigneur/presentation/UserAlbumsViewModelTest.kt | GauvainSeigneur | 267,048,711 | false | null | package com.gauvain.seigneur.presentation
import com.gauvain.seigneur.domain.model.ErrorType
import com.gauvain.seigneur.domain.model.Outcome
import com.gauvain.seigneur.domain.useCase.GetUserAlbumsUseCase
import com.gauvain.seigneur.presentation.mock.LiveDataMock
import com.gauvain.seigneur.presentation.mock.UseCaseM... | 0 | Kotlin | 0 | 0 | 5cd5d9ec1a9aefe7150ec631032467210fd18d80 | 4,638 | ShinyAlbums | Apache License 2.0 |
src/main/java/de/lambdaspg/lambdaessentials/commands/ICommand.kt | LambdaSpg | 427,770,934 | false | {"Kotlin": 22401} | package de.lambdaspg.lambdaessentials.commands
import de.lambdaspg.lambdaessentials.MessageManager
import org.bukkit.Material
import org.bukkit.command.Command
import org.bukkit.command.CommandExecutor
import org.bukkit.command.CommandSender
import org.bukkit.entity.Player
import org.bukkit.inventory.ItemStack
import ... | 0 | Kotlin | 0 | 2 | ed941483bb2523d07e2d3153b82953b1091e4c24 | 1,169 | LambdaEssentials | MIT License |
JetNews/app/src/main/java/com/example/jetnews/ui/interests/InterestsScreen.kt | louis993546 | 237,480,222 | true | {"Kotlin": 100856, "Shell": 1102} | /*
* Copyright 2019 Google, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 0 | Kotlin | 0 | 0 | 8446b21b5ebafa653f2db41d5c98450179c3d291 | 5,784 | compose-samples | Apache License 2.0 |
src/main/kotlin/io/github/michaelnestler/spectral/gradle/SpectralExtension.kt | michael-nestler | 511,566,579 | false | null | package io.github.michaelnestler.spectral.gradle
import org.gradle.api.file.ConfigurableFileCollection
import org.gradle.api.file.RegularFileProperty
import org.gradle.api.model.ObjectFactory
import org.gradle.api.provider.Property
import javax.inject.Inject
abstract class SpectralExtension @Inject constructor(object... | 0 | Kotlin | 1 | 1 | c2a95167fed5b287d7344d31b45656e3f5eb81d0 | 1,170 | gradle-spectral | The Unlicense |
src/test/kotlin/com/pgschaaf/launchurlfromstring/clickableStringEnhancement/XmlAttributeValueTest.kt | paulschaaf | 131,775,888 | false | null | /*
* Copyright 2018 <NAME> <<EMAIL>>
*
* 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 ... | 0 | Kotlin | 2 | 7 | 16ec73fe482714be52b8d6dd6c532bb8973f60a7 | 1,261 | launch-url-from-string | Apache License 1.1 |
app/src/main/java/com/cactusteam/money/data/io/FinanciusLineConverter.kt | miserenkov | 184,610,310 | false | null | package com.cactusteam.money.data.io
/**
* @author vpotapenko
*/
internal class FinanciusLineConverter {
var date: String? = null
var time: String? = null
var type: String? = null
var confirmation: String? = null
var comment: String? = null
var srcAccount: String? = null
var dstAccount:... | 0 | Kotlin | 2 | 0 | 8350f7e932e0d57496cf9ae2636c6fb8993f9aba | 1,189 | moneyapp-android-1 | Apache License 2.0 |
ontrack-ui/src/main/java/net/nemerosa/ontrack/boot/graphql/actions/RootUserUIActions.kt | nemerosa | 19,351,480 | false | null | package net.nemerosa.ontrack.boot.graphql.actions
import net.nemerosa.ontrack.boot.ui.ProjectController
import net.nemerosa.ontrack.graphql.schema.ProjectMutations
import net.nemerosa.ontrack.graphql.schema.RootUser
import net.nemerosa.ontrack.graphql.schema.actions.UIAction
import net.nemerosa.ontrack.model.security.... | 57 | null | 27 | 97 | 7c71a3047401e088ba0c6d43aa3a96422024857f | 1,170 | ontrack | MIT License |
schema/src/commonMain/kotlin/kotl/schema/types/Parameter.kt | kotlin-telegram | 697,770,526 | false | {"Kotlin": 61657} | package kotl.schema.types
public data class Parameter(
val name: ParameterName,
val type: TypeReference,
val nullabilityMarker: NullabilityMarker?
)
| 0 | Kotlin | 0 | 9 | 24baf9d20f9be26db48d6176e204cba6df1a3899 | 162 | koTL | MIT License |
Flutter Bootcamp April/Flutter/Season 7/launchericonapp/android/app/src/main/kotlin/com/example/launchericonapp/MainActivity.kt | UsamaSarwar | 450,219,944 | false | {"JavaScript": 1645132, "HTML": 121355, "Dart": 90444, "Swift": 5656, "Kotlin": 1788, "Objective-C": 532} | package com.example.launchericonapp
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | JavaScript | 0 | 0 | 6f5d3aa86ab93823fc86fae0155a63281731d6e8 | 132 | DevNation | MIT License |
src/main/kotlin/imgui/imgui.kt | lb1987 | 181,112,500 | true | {"Kotlin": 1613500, "C++": 13198, "Java": 9222} | package imgui
import glm_.i
import imgui.imgui.*
import imgui.imgui.widgets.*
import imgui.internal.ItemStatusFlags
import imgui.internal.Rect
import kotlin.reflect.KMutableProperty0
import kotlin.reflect.KProperty
/** -----------------------------------------------------------------------------
* Context
* -... | 0 | Kotlin | 0 | 0 | 887a3b955674475612f5abefc4bcb8538ea9fde7 | 8,370 | imgui | MIT License |
build/icons/compose/vitaminicons/fill/CalendarCheck.kt | Decathlon | 511,157,831 | false | {"Kotlin": 4443549, "HTML": 226066, "Swift": 163852, "TypeScript": 60822, "CSS": 53872, "JavaScript": 33103, "Handlebars": 771} | package com.decathlon.vitamin.compose.vitaminicons.fill
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin... | 1 | Kotlin | 5 | 33 | c2c9cfa43128d412b7b2841cabd76952a13db2e1 | 2,796 | vitamin-design | Apache License 2.0 |
pulsar-skeleton/src/main/kotlin/ai/platon/pulsar/context/PulsarContext.kt | platonai | 124,882,400 | false | null | package ai.platon.pulsar.context
import ai.platon.pulsar.PulsarEnvironment
import ai.platon.pulsar.PulsarSession
import ai.platon.pulsar.common.CheckState
import ai.platon.pulsar.common.config.ImmutableConfig
import ai.platon.pulsar.common.options.LoadOptions
import ai.platon.pulsar.common.urls.NormUrl
import ai.plato... | 1 | HTML | 32 | 110 | f93bccf5075009dc7766442d3a23b5268c721f54 | 4,492 | pulsar | Apache License 2.0 |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/filled/CameraSecurity.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,890 | icons | MIT License |
app/src/main/java/com/mobilescanner/main/feature_project/data/adapter/ImageItemAdapter.kt | EricMoin | 706,004,415 | false | {"Kotlin": 165276} | package com.mobilescanner.main.feature_project.data.adapter
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import androidx.fragment.app.FragmentActivity
import androidx.recyclerview.widget.RecyclerView
import com.... | 0 | Kotlin | 0 | 0 | 64bd7ce7d204aed42c8575059bcf768930017990 | 1,461 | Open-MobileScanner | Apache License 2.0 |
app/src/main/java/com/fero/skripsi/ui/pelanggan/dashboard/viewmodel/DashboardPelangganViewModel.kt | feronikanm | 424,480,461 | false | null | package com.fero.skripsi.ui.pelanggan.dashboard.viewmodel
import com.fero.skripsi.core.BaseViewModel
import com.fero.skripsi.data.Repository
import com.fero.skripsi.data.source.ResponseCallback
import com.fero.skripsi.model.DetailKategoriNilai
import com.fero.skripsi.utils.SingleLiveEvent
class DashboardPelangganView... | 0 | Kotlin | 4 | 9 | f85a2d7fb7330b08e3c41986e8f4bce8784bb482 | 2,912 | gojahit-client | Apache License 2.0 |
src/main/kotlin/dev/rvbsm/fsit/event/UpdatePoseListener.kt | rvbsm | 611,853,270 | false | {"Kotlin": 94397, "Java": 20441} | package dev.rvbsm.fsit.event
import dev.rvbsm.fsit.entity.CrawlEntity
import dev.rvbsm.fsit.entity.PlayerPose
import dev.rvbsm.fsit.entity.SeatEntity
import dev.rvbsm.fsit.networking.*
import dev.rvbsm.fsit.networking.payload.PoseUpdateS2CPayload
val UpdatePoseListener = UpdatePoseCallback update@{ player, pose, pos ... | 3 | Kotlin | 2 | 9 | e67762263d45cd74dbc592c00c65b8bd5a3a8fa4 | 1,062 | fsit | MIT License |
objects/src/commonMain/kotlin/ru/krindra/vkkt/objects/wall/WallPostType.kt | krindra | 780,080,411 | false | {"Kotlin": 1336107} | package ru.krindra.vkkt.objects.wall
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
/**
*
* Post type
*
*/
@Serializable
enum class WallPostType(val value: String){
@SerialName("post") POST("post"),
@SerialName("copy") COPY("copy"),
@SerialName("reply") REPLY("reply... | 0 | Kotlin | 0 | 1 | 58407ea02fc9d971f86702f3b822b33df65dd3be | 555 | VKKT | MIT License |
capy/src/main/java/com/jocmp/capy/common/CallExecuteAsyncExt.kt | jocmp | 610,083,236 | false | {"Kotlin": 674590, "Ruby": 1236, "Makefile": 1211} | package com.jocmp.capy.common
import kotlinx.coroutines.suspendCancellableCoroutine
import okhttp3.Call
import okhttp3.Callback
import okhttp3.Response
import java.io.IOException
import kotlin.coroutines.resume
import kotlin.coroutines.resumeWithException
/**
* Suspend extension that allows suspend [Call] inside cor... | 15 | Kotlin | 3 | 91 | f8ac7e8c4a6fccfe8f26f1b492261a4f5ce7dafa | 1,239 | capyreader | MIT License |
fluent-icons-extended/src/commonMain/kotlin/com/konyaco/fluent/icons/regular/ChatCursor.kt | Konyaco | 574,321,009 | false | null |
package com.konyaco.fluent.icons.regular
import androidx.compose.ui.graphics.vector.ImageVector
import com.konyaco.fluent.icons.Icons
import com.konyaco.fluent.icons.fluentIcon
import com.konyaco.fluent.icons.fluentPath
public val Icons.Regular.ChatCursor: ImageVector
get() {
if (_chatCursor != null) {
... | 1 | Kotlin | 3 | 83 | 9e86d93bf1f9ca63a93a913c990e95f13d8ede5a | 2,515 | compose-fluent-ui | Apache License 2.0 |
straight/src/commonMain/kotlin/me/localx/icons/straight/filled/HandBackPointRibbon.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.straight.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,376 | icons | MIT License |
line-awesome/src/commonMain/kotlin/compose/icons/lineawesomeicons/EllipsisHSolid.kt | DevSrSouza | 311,134,756 | false | null | package compose.icons.lineawesomeicons
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
... | 15 | null | 20 | 460 | 651badc4ace0137c5541f859f61ffa91e5242b83 | 2,287 | compose-icons | MIT License |
golemiokotlinlib/src/commonMain/kotlin/io/github/martinjelinek/golemiokotlinlib/common/service/impl/HttpClientFactory.kt | martinjelinek | 763,563,087 | false | {"Kotlin": 230955} | package io.github.martinjelinek.golemiokotlinlib.common.service.impl
import io.ktor.client.HttpClient
/**
* CIO engine supports jvm and kotlin/native.
*/
expect object HttpClientFactory {
fun createHttpClient(): HttpClient
}
| 0 | Kotlin | 0 | 2 | b49495579ed1de62068fcccd8393357f2b386701 | 233 | golemiokotlin | MIT License |
app/src/main/java/com/najudoryeong/musicdo/ui/DoAppState.kt | KDW03 | 719,372,791 | false | {"Kotlin": 402221} | /*
* Copyright 2023 KDW03
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | 0 | Kotlin | 0 | 0 | 8df70536a8e6e8cf781dbe8584ddadf83152e2ed | 7,992 | MusicDo | Apache License 2.0 |
kactoos-common/src/test/kotlin/nnl/rocks/kactoos/iterable/EmptyIterableTest.kt | neonailol | 117,650,092 | false | null | package nnl.rocks.kactoos.iterable
import nnl.rocks.kactoos.test.BehavesAsIterable
import kotlin.test.Test
class EmptyIterableTest {
@Test
fun empty() {
BehavesAsIterable(
EmptyIterable(),
arrayOf()
)
}
}
| 0 | Kotlin | 1 | 19 | ce10c0bc7e6e65076b8ace90770b9f7648facf4a | 260 | kactoos | MIT License |
app/src/test/java/com/example/android/architecture/blueprints/todoapp/tasks/TasksViewModelTest.kt | jnugg0819 | 263,364,742 | false | null | package com.example.android.architecture.blueprints.todoapp.tasks
import androidx.arch.core.executor.testing.InstantTaskExecutorRule
import androidx.lifecycle.Observer
import androidx.test.core.app.ApplicationProvider
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.example.android.architecture.bluep... | 0 | Kotlin | 0 | 0 | 5023897b838762f07862feebb669f4166476632c | 2,608 | android-test-tdd | Apache License 2.0 |
src/main/kotlin/com/groundsfam/advent/y2020/d10/Day10.kt | agrounds | 573,140,808 | false | {"Kotlin": 269338, "Shell": 742} | package com.groundsfam.advent.y2020.d10
import com.groundsfam.advent.DATAPATH
import kotlin.io.path.div
import kotlin.io.path.useLines
private fun joltDifferences(adapters: List<Int>): Map<Int, Int> =
mutableMapOf<Int, Int>().apply {
adapters.forEachIndexed { i, num ->
if (i == 0) {
... | 0 | Kotlin | 0 | 1 | 15060d12095717c59e1561b531d8ccd2c2f025aa | 1,571 | advent-of-code | MIT License |
presenter/src/main/kotlin/dvachmovie/pipe/moviestorage/EraseMovieStoragePipe.kt | sasfmlzr | 151,072,454 | false | {"Kotlin": 428680} | package dvachmovie.pipe.moviestorage
import dvachmovie.architecture.PipeSync
import dvachmovie.usecase.moviestorage.EraseMovieStorageUseCase
import javax.inject.Inject
class EraseMovieStoragePipe @Inject constructor(
private val useCase: EraseMovieStorageUseCase
) : PipeSync<Unit, Unit>() {
override fun ... | 0 | Kotlin | 2 | 3 | 0607e9c90ae503552ff6e9500f659170a0cd97fc | 381 | DvachMovie | Apache License 2.0 |
src/test/kotlin/ru/agalkin/beholder/unit/TemplateParserTest.kt | johnnywoo | 21,419,854 | false | null | package ru.agalkin.beholder.unit
import org.junit.jupiter.params.ParameterizedTest
import org.junit.jupiter.params.provider.ArgumentsSource
import ru.agalkin.beholder.config.TemplateParser
import ru.agalkin.beholder.config.parser.ParseException
import ru.agalkin.beholder.testutils.TestInputProvider
import kotlin.test.... | 0 | Kotlin | 0 | 2 | f25f00b7dd0692ff67d0eda55e6a3d59299e6cdb | 3,173 | beholder | MIT License |
data/src/main/kotlin/com/sbgapps/scoreit/data/solver/BeloteSolver.kt | StephaneBg | 16,022,770 | false | {"Kotlin": 305755} | /*
* Copyright 2019 Stéphane Baiget
*
* 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 ... | 1 | Kotlin | 11 | 37 | 7684d40c56c3293b1e9b06158efcbefa51693f7a | 5,059 | ScoreIt | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.