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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
session-token-sample/src/main/java/sample/okta/android/sessiontoken/dashboard/DashboardFragment.kt | okta | 445,628,677 | false | null | /*
* Copyright 2021-Present Okta, 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 agr... | 15 | null | 11 | 33 | 72776583e6e4066d576f36b4d73ed83216e61584 | 4,065 | okta-mobile-kotlin | Apache License 2.0 |
src/chapter5/section1/ex15_SublinearSort.kt | w1374720640 | 265,536,015 | false | {"Kotlin": 1373556} | package chapter5.section1
import chapter2.section1.insertionSort
import extensions.shuffle
/**
* 亚线性排序
* 编写一个处理Int值的排序算法,遍历数组两遍,第一遍根据所有键的高16位进行低位优先的排序,第二遍进行插入排序。
*
* 解:对高16位进行低位优先排序后,插入排序会被分割为多个独立的区间,每个区间最多有2^16=65536个不同的值
* 插入排序在小范围内的性能不错
*/
fun ex15_SublinearSort(array: Array<Int>) {
ex15_Hight16BitSort(a... | 0 | Kotlin | 1 | 6 | 879885b82ef51d58efe578c9391f04bc54c2531d | 2,402 | Algorithms-4th-Edition-in-Kotlin | MIT License |
src/main/java/team/_0mods/ecr/common/container/MatrixDestructorContainer.kt | 0mods | 830,371,936 | false | {"Kotlin": 211181, "Java": 16215} | package team._0mods.ecr.common.container
import net.minecraft.network.FriendlyByteBuf
import net.minecraft.world.entity.player.Inventory
import net.minecraft.world.entity.player.Player
import net.minecraft.world.inventory.ContainerLevelAccess
import net.minecraft.world.item.ItemStack
import net.minecraft.world.level.b... | 0 | Kotlin | 0 | 0 | 490ed6d214c94cda1556d3645d872b2c65f4d89b | 2,632 | ECR | MIT License |
moon-sdk-kotlin/src/test/kotlin/org/usemoonai/moonsdk/models/GetSupportedOnRampsResponseMessageInnerIconsPngTest.kt | moon-up | 725,507,140 | false | {"Kotlin": 1433158} | /**
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit this file manually.
*
*/
@file:Suppress(
"ArrayInDataClass",
"EnumEntryName",
"RemoveRedundantQualifierName",
"UnusedImport"
)
package org.usemoonai.moonsdk.models
import io.... | 0 | Kotlin | 0 | 0 | 3148d0e925145395dcd950174bd8fb8ea7e97ff2 | 1,129 | moon-sdk-kotlin | MIT License |
moon-sdk-kotlin/src/test/kotlin/org/usemoonai/moonsdk/models/GetSupportedOnRampsResponseMessageInnerIconsPngTest.kt | moon-up | 725,507,140 | false | {"Kotlin": 1433158} | /**
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit this file manually.
*
*/
@file:Suppress(
"ArrayInDataClass",
"EnumEntryName",
"RemoveRedundantQualifierName",
"UnusedImport"
)
package org.usemoonai.moonsdk.models
import io.... | 0 | Kotlin | 0 | 0 | 3148d0e925145395dcd950174bd8fb8ea7e97ff2 | 1,129 | moon-sdk-kotlin | MIT License |
app/src/main/java/xyz/thecodeside/tradeapp/repository/remote/rest/RemoteDataSource.kt | thecodeside | 102,883,288 | false | null | package xyz.thecodeside.tradeapp.repository.remote.rest
import io.reactivex.Single
import retrofit2.http.GET
import retrofit2.http.Path
import xyz.thecodeside.tradeapp.model.Product
interface RemoteDataSource {
@GET("core/16/products/{productId}")
fun getProductDetails(@Path("productId") productId: String): ... | 0 | Kotlin | 0 | 0 | 1967a15623cc0483a9338e354e198b9f1e11a453 | 340 | trade_app | Apache License 2.0 |
multiplatform-markdown-renderer/src/commonMain/kotlin/com/mikepenz/markdown/compose/elements/MarkdownImage.kt | mikepenz | 412,759,104 | false | null | package com.mikepenz.markdown.compose.elements
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.layout.ContentScale
import com.mikepenz.markdown.utils.findChildOfType... | 4 | Kotlin | 12 | 167 | 2202cfe1258fa545485af2967f93f2b43ea46835 | 966 | multiplatform-markdown-renderer | Apache License 2.0 |
apps/main/kotlin/com/prameprimo/apps/shop/controller/products/ProductsGetController.kt | joucogi | 319,022,920 | false | null | package com.prameprimo.apps.shop.controller.products
import com.prameprimo.shared.infrastructure.ApiController
import com.prameprimo.shop.products.application.ProductsResponse
import com.prameprimo.shop.products.application.search_all.SearchAllProductsQuery
import org.springframework.http.ResponseEntity
import org.spr... | 1 | Kotlin | 0 | 0 | b3fb596e7ede435f8efe33722297a940828692e3 | 909 | kotlin-springboot-cqrs | MIT License |
src/main/kotlin/br/com/silviofranco/exceptions/ResourceNotFoundException.kt | silviofrancoms10 | 824,133,672 | false | {"Kotlin": 7075} | package br.com.silviofranco.exceptions
import org.springframework.http.HttpStatus
import org.springframework.web.bind.annotation.ResponseStatus
import java.lang.*
@ResponseStatus(HttpStatus.NOT_FOUND)
class ResourceNotFoundException(exception: String?): RuntimeException(exception) {
} | 0 | Kotlin | 0 | 0 | cc3ece1f19a75c789a41d94880b53451142cde68 | 286 | rest-with-spring-boot-and-kotlin | Apache License 2.0 |
app/src/main/java/io/callstats/demo/csiortc/CsioSignaling.kt | callstats-io | 129,705,126 | false | null | package io.callstats.demo.csiortc
import android.util.Log
import io.socket.client.IO
import io.socket.client.Socket
class CsioSignaling(
private val room: String,
private val callback: Callback,
private val socket: Socket = IO.socket(URL))
{
companion object {
private const val URL = "https://demo.... | 1 | Kotlin | 2 | 5 | 65b22d6d4154169b0e32bc5e5b1441a4615a7ac0 | 2,276 | callstats-android | MIT License |
app/src/main/java/com/sandello/ndscalculator/RateDao.kt | jedi1150 | 233,482,516 | false | {"Kotlin": 43662} | package com.sandello.ndscalculator
import androidx.room.Dao
import androidx.room.Delete
import androidx.room.Insert
import androidx.room.Query
@Dao
interface RateDao {
@Query("SELECT * FROM rates ORDER BY code, rate DESC")
fun getAll(): List<Rate>
@Query("SELECT * FROM rates WHERE code LIKE :code LIMIT 1... | 0 | Kotlin | 0 | 1 | 8fd6aaa5d18aad7668c61c3b8dbad220879de0f4 | 653 | vat-calculator | MIT License |
common/src/main/kotlin/com/github/niuhf0452/exile/common/ProxyFactoryBuilder.kt | niuhf0452 | 240,633,641 | false | null | package com.github.niuhf0452.exile.common
import kotlin.reflect.KClass
import kotlin.reflect.KFunction
@PublicApi
interface ProxyFactoryBuilder<A> {
fun addInterface(cls: KClass<*>): ProxyFactoryBuilder<A>
fun filter(f: (KFunction<*>) -> Boolean): ProxyFactoryBuilder<A>
fun handle(f: (KFunction<*>) -> P... | 0 | Kotlin | 1 | 2 | 8020cb1ab799f7b1e75c73f762a9ee1ed493a003 | 599 | exile | Apache License 2.0 |
app/src/main/java/com/mindorks/example/coroutines/github/data/model/Repo.kt | saisasanksunkavalli | 365,737,742 | true | {"Kotlin": 68004} | package com.mindorks.example.coroutines.github.data.model
import com.google.gson.annotations.SerializedName
data class Repo(
@SerializedName("id")
val id: Int = 0,
@SerializedName("name")
val name: String = "",
@SerializedName("description")
val description: String = "",
@SerializedName... | 0 | Kotlin | 0 | 0 | b8e40989800e14ffdf31f34e067fd2d5b1157203 | 356 | Kotlin-Coroutines-Android-Examples | Apache License 2.0 |
src/main/kotlin/top/lanscarlos/vulpecular/kether/entity/ActionEntityDamage.kt | Lanscarlos | 433,758,782 | false | null | package top.lanscarlos.vulpecular.kether.entity
import org.bukkit.entity.Damageable
import org.bukkit.entity.Entity
import org.bukkit.entity.LivingEntity
import taboolib.common5.Coerce
import taboolib.library.kether.ArgTypes
import taboolib.library.kether.ParsedAction
import taboolib.library.kether.QuestReader
import ... | 0 | Kotlin | 0 | 5 | 130c7da61d0a4ba16104598d7ceb4e310da6bc26 | 3,061 | Vulpecula-Deprecated | Creative Commons Zero v1.0 Universal |
app/src/main/java/aws/web/id/kata/model/ReferensiModel.kt | ramcona | 306,323,024 | false | null | package aws.web.id.kata.model
import java.io.Serializable
class ReferensiModel :Serializable {
var ext_uid:String = ""
var phrase:String = ""
var label:String = ""
var url:String = ""
var updated:String = ""
var updater:String = ""
} | 0 | Kotlin | 0 | 0 | d29e9700bd77d276ecc723378b834b6bc9123de3 | 259 | phrasa-indonesia-android-master | MIT License |
odyssey/odyssey-compose/src/commonMain/kotlin/ru/alexgladkov/odyssey/compose/helpers/BottomNavigationHost.kt | StanislavY | 451,101,456 | false | null | package ru.alexgladkov.odyssey.compose.helpers
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material.*
import androidx.compose.runtime.*
import a... | 0 | Kotlin | 0 | 0 | b25d71a63ae8040b8fe40a9f494be3fcf1f8e8b2 | 4,506 | odyssey | MIT License |
android/src/main/java/com/garminconnect/AppConstants.kt | malgorzatamaz | 643,239,259 | false | null | package com.garminconnect
object AppConstants {
const val KEY_MESSAGE_TYPE = "KEY_MESSAGE_TYPE"
const val KEY_MESSAGE_PAYLOAD = "KEY_MESSAGE_PAYLOAD"
const val APP_ID = "APP_ID"
}
| 0 | Kotlin | 0 | 0 | b4c87eada7fd5c5d4bdf6592b0bfa812e73da664 | 187 | react-native-garmin-connect | MIT License |
app/src/main/java/movie/item/NameItem.kt | vikrams061 | 663,509,703 | false | null | package movie.item
import android.text.method.LinkMovementMethod
import android.view.View
import androidx.core.text.HtmlCompat
import androidx.core.text.HtmlCompat.FROM_HTML_MODE_LEGACY
import com.xwray.groupie.viewbinding.BindableItem
import movie.assignment.R
import movie.assignment.databinding.ItemNameBinding
/**
... | 0 | Kotlin | 0 | 0 | d783cccd0a3248ab013696f4f601c54b8d6b1095 | 1,894 | movie-assignment | MIT License |
src/twentytwo/Day00.kt | mihainov | 573,105,304 | false | {"Kotlin": 27237} | package twentythree
import readInputTwentyThree
fun main() {
fun part1(input: List<String>): Int {
return 0
}
fun part2(input: List<String>): Int {
return 0
}
// test if implementation meets criteria from the description, like:
val testInput = readInputTwentyThree("Day00_test... | 0 | Kotlin | 0 | 0 | d1058af83a24025250addcc0dfa394f541d67a49 | 522 | kotlin-aoc-1 | Apache License 2.0 |
src/main/kotlin/org/urielserv/uriel/core/event_dispatcher/Events.kt | UrielHabboServer | 729,131,075 | false | {"Kotlin": 299445} | package org.urielserv.uriel.core.event_dispatcher
@Suppress("ConstPropertyName")
object Events {
// Uriel
const val Load = "ON_LOAD"
// Users
const val UserLogin = "ON_USER_LOGIN"
const val UserUpdateLook = "ON_USER_UPDATE_LOOK"
const val UserSaveLook = "ON_USER_SAVE_LOOK"
// Rooms
c... | 0 | Kotlin | 0 | 7 | cf1cac139d001d3ccce34d633b5f9040280281e8 | 403 | Uriel | MIT License |
src/main/kotlin/org/urielserv/uriel/core/event_dispatcher/Events.kt | UrielHabboServer | 729,131,075 | false | {"Kotlin": 299445} | package org.urielserv.uriel.core.event_dispatcher
@Suppress("ConstPropertyName")
object Events {
// Uriel
const val Load = "ON_LOAD"
// Users
const val UserLogin = "ON_USER_LOGIN"
const val UserUpdateLook = "ON_USER_UPDATE_LOOK"
const val UserSaveLook = "ON_USER_SAVE_LOOK"
// Rooms
c... | 0 | Kotlin | 0 | 7 | cf1cac139d001d3ccce34d633b5f9040280281e8 | 403 | Uriel | MIT License |
src/main/kotlin/talsumi/marderlib/storage/fluid/FluidStack.kt | Talsumi | 532,197,088 | false | null | /*
* MIT License
*
* Copyright (c) 2022 Talsumi
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, ... | 0 | Kotlin | 0 | 0 | 64507c6cd7b7af2e735a6327f88e3ecb189ebce0 | 3,749 | MarderLib | MIT License |
src/main/java/phone/PhoneWindow.kt | unq-ui | 243,380,734 | false | null | package phone
import java.time.LocalDate
import org.uqbar.arena.widgets.Panel
import org.uqbar.arena.widgets.Label
import org.uqbar.arena.widgets.TextBox
import org.uqbar.arena.windows.MainWindow
import org.uqbar.arena.windows.ErrorsPanel
import org.uqbar.arena.kotlin.extensions.*
import org.uqbar.arena.kotlin.transfo... | 0 | Kotlin | 0 | 0 | 500b3fffbde5dab0b50ae0dc4d2b79f64aad6f33 | 1,259 | ej-desktop-phone | ISC License |
screentracker/src/main/java/com/orhunkupeli/screentracker/FragmentLifecycle.kt | o7k7 | 282,195,978 | false | null | package com.orhunkupeli.screentracker
import androidx.annotation.StringDef
import com.orhunkupeli.screentracker.FragmentLifecycle.Companion.ON_ACTIVITY_CREATE
import com.orhunkupeli.screentracker.FragmentLifecycle.Companion.ON_ATTACH
import com.orhunkupeli.screentracker.FragmentLifecycle.Companion.ON_CREATE
import com... | 0 | Kotlin | 0 | 0 | 25d54c1398bb7eba2fb51a3cf5f927a75f6f0c6d | 2,200 | ScreenTracker | MIT License |
common/src/main/java/jp/co/soramitsu/common/mixin/impl/NetworkStateProvider.kt | soramitsu | 278,060,397 | false | null | package jp.co.soramitsu.common.mixin.impl
import jp.co.soramitsu.common.compose.component.NetworkIssueItemState
import jp.co.soramitsu.common.mixin.api.NetworkStateMixin
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.combine
class NetworkStateProvider : NetworkStateMixin {
private... | 10 | Kotlin | 22 | 70 | 50f6c0986ddefdf4670ef3ff23632d5aa42cd007 | 1,828 | fearless-Android | Apache License 2.0 |
typescript-kotlin/src/main/kotlin/typescript/getPositionOfLineAndCharacter.fun.kt | turansky | 393,199,102 | false | null | // Automatically generated - do not modify!
@file:JsModule("typescript")
@file:JsNonModule
package typescript
/*
external fun getPositionOfLineAndCharacter(sourceFile: SourceFileLike, line: number, character: number): number
*/
| 0 | Kotlin | 1 | 10 | bcf03704c0e7670fd14ec4ab01dff8d7cca46bf0 | 231 | react-types-kotlin | Apache License 2.0 |
straight/src/commonMain/kotlin/me/localx/icons/straight/outline/CloverAlt.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.straight.outline
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Mite... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 5,960 | icons | MIT License |
apzkr-pzpi-21-11-kokhanevych-pavlo/Task4-MobileClient/src/main/java/com/animal/hotel/data/authentication/entities/RefreshRequestEntity.kt | NureKokhanevychPavlo | 810,819,177 | false | {"Kotlin": 196074, "Java": 178994, "C++": 2061} | package com.animal.hotel.data.authentication.entities
import com.animal.hotel.domain.models.authentication.RefreshRequest
data class RefreshRequestEntity(
val token: String
){
fun toRefreshRequest(): RefreshRequest {
return RefreshRequest(token)
}
companion object {
fun toRefreshReque... | 0 | Kotlin | 0 | 0 | 7ccf454ca73913ea72011b5322558e130f6b525f | 423 | apzkr-pzpi-21-11-kokhanevych-pavlo | Apache License 2.0 |
app/src/main/java/com/example/worktracker/TimeZoneInfo.kt | parmstrong842 | 600,937,499 | false | null | package com.example.worktracker
import android.util.Log
import java.time.DateTimeException
import java.time.Instant
import java.time.ZoneId
import java.time.ZoneOffset
import java.time.zone.ZoneRulesException
import kotlin.math.abs
object TimeZoneInfo {
val timeZoneList: List<Triple<String, String, String>>
v... | 3 | Kotlin | 0 | 2 | 78e579d706b9e819d73cf0fbfae9d557e5adfb87 | 14,887 | WorkTracker | Apache License 2.0 |
app/src/main/java/com/gendy/bugIt/utils/preferences/PreferencesIntents.kt | gendy1300 | 795,433,402 | false | {"Kotlin": 87047} | package com.gendy.bugIt.utils.preferences
sealed class PreferencesIntents {
data class SaveReporterName(val reporterName: String) : PreferencesIntents()
} | 0 | Kotlin | 0 | 0 | 4d235ebb5e6d1062f652ac0740e64a632e26413a | 161 | mobilyInfoTechTask | MIT License |
app/src/main/java/br/com/movieapp/core/presentation/components/common/LoadingItem.kt | biuzos | 734,731,175 | false | null | package br.com.movieapp.core.presentation.components.common
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.size
import ... | 0 | null | 0 | 1 | 41d8956cd4122b9f77be862e301e2b1cf0fb96b7 | 1,115 | MovieApp | MIT License |
src/main/kotlin/no/nav/dagpenger/datadeling/AppConfig.kt | navikt | 639,375,864 | false | {"Kotlin": 61858, "Dockerfile": 106} | package no.nav.dagpenger.datadeling
import io.ktor.server.config.*
data class AppConfig(
val dpIverksettUrl: String,
val dpIverksettScope: String,
val dpProxyUrl: String,
val dpProxyScope: String,
val dpDatadelingUrl: String,
val isLocal: Boolean,
) {
companion object {
fun fra(con... | 3 | Kotlin | 0 | 1 | 3dfcf67f1211cbd9c514debfd92e4248a17bdecc | 834 | dp-datadeling | MIT License |
lyricist-processor-xml/src/main/java/cafe/adriel/lyricist/processor/xml/internal/StringResource.kt | adrielcafe | 370,198,325 | false | {"Kotlin": 42859, "HTML": 876, "Swift": 594, "CSS": 216} | package cafe.adriel.lyricist.processor.xml.internal
internal typealias StringResources = Map<ResourceName, StringResource>
internal typealias LanguageTag = String
internal typealias ResourceName = String
internal sealed class StringResource {
data class PlainString(val value: String) : StringResource()
data... | 14 | Kotlin | 16 | 652 | 98985f6b905cb5337b72358b726f64f1fc90a684 | 552 | lyricist | MIT License |
tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/chat/invite_links/ApproveChatJoinRequest.kt | InsanusMokrassar | 163,152,024 | false | null | package dev.inmo.tgbotapi.extensions.api.chat.invite_links
import dev.inmo.tgbotapi.bot.TelegramBot
import dev.inmo.tgbotapi.requests.chat.invite_links.ApproveChatJoinRequest
import dev.inmo.tgbotapi.types.*
import dev.inmo.tgbotapi.types.chat.abstracts.PublicChat
import dev.inmo.tgbotapi.types.update.ChatJoinRequestU... | 9 | null | 29 | 99 | 8206aefbb661db936d4078a8ef7cc9cecb5384e4 | 1,300 | TelegramBotAPI | Apache License 2.0 |
app/src/main/java/com/android/testtranstisitions/ui/modules/recolor/RecolorActivity.kt | dorianalexiis | 171,708,202 | false | null | package com.android.testtranstisitions.ui.modules.recolor
import android.animation.TimeInterpolator
import android.os.Bundle
import com.android.dars.base.BaseActivity
import kotlinx.android.synthetic.main.activity_recolor.*
import android.support.v4.view.animation.FastOutLinearInInterpolator
import android.support.v4... | 0 | Kotlin | 0 | 0 | 82be8e93fe5328aa88f09d75e630b52524ed458e | 1,504 | test-transitions | Apache License 2.0 |
winmdj-explore/src/main/kotlin/com/github/danielchemko/winmdj/explore/model/WinMdContext.kt | danielchemko | 774,741,943 | false | {"Kotlin": 284901} | package com.github.danielchemko.winmdj.explore.model
import java.util.concurrent.ConcurrentHashMap
class WinMdContext {
val navigators: MutableMap<String, WinMdFileContext> = ConcurrentHashMap()
} | 0 | Kotlin | 0 | 0 | 0d2a72ee7ea6f0dc05803b06039a8ac8bfc0dbd0 | 202 | winmdj | MIT License |
app/src/main/java/com/chiu/hiit_time/ui/exercises/ExerciseEntryScreen.kt | elpguillen | 768,289,265 | false | {"Kotlin": 63707} | package com.chiu.hiit_time.ui.exercises
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.rememberScrollState
import androidx.... | 0 | Kotlin | 0 | 0 | 177c9ce91579692d327404c46f7bbbe6ddf6486b | 8,031 | HIIT-TIME | MIT License |
src/main/kotlin/component/Hoverable.kt | Konyaco | 361,327,187 | false | null | package component
import androidx.compose.animation.core.animateFloat
import androidx.compose.animation.core.updateTransition
import androidx.compose.foundation.Indication
import androidx.compose.foundation.IndicationInstance
import androidx.compose.foundation.interaction.Interaction
import androidx.compose.foundation... | 0 | Kotlin | 0 | 6 | ce1cbb51ada1e100e6cdd62b4d8a341d65862202 | 4,204 | BattleNetCompose | The Unlicense |
app/src/main/java/com/sano/reddito/presentation/main/MainPresenter.kt | alexevdo | 159,793,782 | false | null | package com.sano.reddito.presentation.main
import com.sano.reddito.di.manager.SessionManager
import com.sano.reddito.domain.usecase.MainUseCase
import com.sano.reddito.presentation.base.BasePresenter
import com.sano.reddito.presentation.main.view.MainView
import com.sano.reddito.presentation.model.LinkModel
import com... | 0 | Kotlin | 0 | 1 | 4b3096e8654e394876535716e0ee91c681a947a5 | 2,130 | Reddito | MIT License |
app/src/main/java/com/masterplus/trdictionary/features/home/domain/di/HomeModule.kt | Ramazan713 | 634,957,286 | false | null | package com.masterplus.trdictionary.features.home.domain.di
import android.content.SharedPreferences
import com.masterplus.trdictionary.core.data.local.AppDatabase
import com.masterplus.trdictionary.features.home.data.repo.ShortInfoRepoImpl
import com.masterplus.trdictionary.features.home.domain.repo.ShortInfoRepo
imp... | 0 | Kotlin | 0 | 1 | c67423ef1ba8eb296f5445a3e587aa270a48136e | 1,571 | Turkce-ve-Osmanlica-Sozluk | Apache License 2.0 |
app/src/main/java/com/kazu/qrcodesample/activity/MlKitActivity.kt | kazu09 | 691,027,760 | false | {"Kotlin": 18747} | /**
* MlKitActivity.kt
* SampleQrCode
*
* Copyright © 2023年 kazu. All rights reserved.
*/
package com.kazu.qrcodesample.activity
import android.Manifest
import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.util.Log
import android.view.View
import android.widget.Toa... | 0 | Kotlin | 0 | 0 | 59b0d06751da2e3d607aacde8b407fd30ed96980 | 4,264 | QrCodeSample | MIT License |
feature/home/src/main/kotlin/com/orange/feature/home/components/ProgramDetailPane.kt | houssemzaier | 627,237,895 | false | null | package com.orange.feature.home.components
import androidx.compose.foundation.Image
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.rememberScrollState
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.founda... | 0 | Kotlin | 0 | 0 | bb1cf83016ca1be00e5ce53ea5b8acd71bbbdf13 | 4,900 | OCS | The Unlicense |
bitgouel-api/src/main/kotlin/team/msg/global/security/handler/CustomAccessDeniedHandler.kt | GSM-MSG | 700,741,727 | false | {"Kotlin": 513595, "Shell": 788, "Dockerfile": 206} | package team.msg.global.security.handler
import javax.servlet.http.HttpServletRequest
import javax.servlet.http.HttpServletResponse
import org.springframework.security.access.AccessDeniedException
import org.springframework.security.web.access.AccessDeniedHandler
import team.msg.common.logger.LoggerDelegator
import te... | 4 | Kotlin | 0 | 12 | 23a35d6b8fe864384945063eea2aa04ec59c5faa | 716 | Bitgouel-Server | MIT License |
android/app/src/main/java/io/codelabs/xhandieshub/core/XhandiesApp.kt | quabynah-bilson | 185,970,538 | false | null | package io.codelabs.xhandieshub.core
import android.app.Application
import com.google.firebase.FirebaseApp
import io.codelabs.xhandieshub.BuildConfig
import io.codelabs.xhandieshub.core.injection.*
import org.koin.android.ext.koin.androidContext
import org.koin.android.ext.koin.androidLogger
import org.koin.core.conte... | 10 | Kotlin | 0 | 0 | 93593227d86520692431fe3052fbe59f167fdb04 | 908 | xhandies-hub | MIT License |
app/src/main/java/com/project/acehotel/core/data/source/remote/response/ListTourismResponse.kt | AceHotelProject | 732,506,429 | false | {"Kotlin": 762486} | package com.project.acehotel.core.data.source.remote.response
import com.google.gson.annotations.SerializedName
data class ListTourismResponse(
@field:SerializedName("error")
val error: Boolean,
@field:SerializedName("message")
val message: String,
@field:SerializedName("places")
val place... | 0 | Kotlin | 0 | 0 | 6126d044ae669bc0dca0926088354f74f7048e14 | 346 | AceHotel-App | MIT License |
app/src/main/java/com/donfreddy/troona/ui/helpers/sort_types/ArtistSortType.kt | donfreddy | 736,820,576 | false | {"Kotlin": 215077} | package com.donfreddy.troona.ui.helpers.sort_types
import android.provider.MediaStore
import com.donfreddy.troona.util.TroonaUtil.getOrderDetails
fun checkArtistSortType(sortType: Int, order: Int, ignoreCase: Boolean): String {
val (_, orderAndCase) = getOrderDetails(order, ignoreCase)
return when (sortType) {
... | 0 | Kotlin | 0 | 0 | d91b051907a5f4b365e04fa6c959a07827c9fd54 | 599 | troona | MIT License |
app/src/main/java/com/jhealth/diabetesapp/domain/model/Recipe.kt | stanosuozah | 638,554,968 | false | null | package com.jhealth.diabetesapp.domain.model
data class Recipe(
val id:Int =0,
val recipe_title:String="",
val recipe_author:String="",
val recipe_category:String="",
val recipe_image:String="",
val recipe_video:String="",
val nutrition_fact:String="",
val ingredient:String="",
val ... | 0 | Kotlin | 0 | 0 | 0c3c576b9354aa81b6cddfd76c77856526e873b5 | 353 | diabetes_app | MIT License |
src/main/kotlin/no/nav/syfo/Environment.kt | navikt | 203,517,537 | false | null | package no.nav.syfo
data class Environment(
val applicationPort: Int = getEnvVar("APPLICATION_PORT", "8080").toInt(),
val applicationThreads: Int = getEnvVar("APPLICATION_THREADS", "1").toInt(),
val applicationName: String = getEnvVar("NAIS_APP_NAME", "syfopartnerinfo"),
val azureAppClientId: String =... | 0 | Kotlin | 0 | 0 | 7fa3d186e672deadabb1ca6e91fd60cd3d914a2f | 952 | syfopartnerinfo | MIT License |
app/src/main/java/com/lloydsbyte/covidtracker/network/WorldDataApiService.kt | Jeremyscell82 | 282,329,612 | false | null | package com.lloydsbyte.covidtracker.network
import com.google.gson.annotations.SerializedName
import io.reactivex.Observable
import retrofit2.Retrofit
import retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory
import retrofit2.converter.gson.GsonConverterFactory
import retrofit2.http.GET
import retrofit2.http.Headers
... | 0 | Kotlin | 0 | 1 | 5d69b9380251351583750797f4ba8beb7712e4df | 3,201 | Covid_Tracker | MIT License |
stream-video-android-core/src/main/kotlin/org/openapitools/client/infrastructure/URIAdapter.kt | GetStream | 505,572,267 | false | {"Kotlin": 2549850, "MDX": 279508, "Python": 18285, "Shell": 4455, "JavaScript": 1112, "PureBasic": 107} | /*
* Copyright (c) 2014-2023 Stream.io Inc. All rights reserved.
*
* Licensed under the Stream License;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://github.com/GetStream/stream-video-android/blob/main/LICENSE
*
* Unless required by ... | 3 | Kotlin | 30 | 308 | 1c67906e4c01e480ab180f30b39f341675bc147e | 900 | stream-video-android | FSF All Permissive License |
nodes/src/main/kotlin/org/ksharp/nodes/FunctionCallNode.kt | ksharp-lang | 573,931,056 | false | null | package org.ksharp.nodes
import org.ksharp.common.Location
enum class FunctionType {
Operator,
Function,
TypeInstance
}
data class FunctionCallNode(
val name: String,
val type: FunctionType,
val arguments: List<NodeData>,
override val location: Location
) : NodeData(), ExpressionParserNod... | 5 | Kotlin | 0 | 0 | 692541f4b9c2a62242c3dff51d3ca7a0376605b1 | 410 | ksharp-kt | Apache License 2.0 |
src/commonMain/kotlin/io/github/optimumcode/json/schema/internal/factories/number/MinimumAssertionFactory.kt | OptimumCode | 665,024,908 | false | {"Kotlin": 340505} | package io.github.optimumcode.json.schema.internal.factories.number
import io.github.optimumcode.json.schema.internal.JsonSchemaAssertion
import io.github.optimumcode.json.schema.internal.LoadingContext
import io.github.optimumcode.json.schema.internal.factories.AbstractAssertionFactory
import io.github.optimumcode.js... | 7 | Kotlin | 0 | 5 | e3bd94b6002733caf12193ae090882aee0aaf9dc | 1,255 | json-schema-validator | MIT License |
src/commonMain/kotlin/io/github/optimumcode/json/schema/internal/factories/number/MinimumAssertionFactory.kt | OptimumCode | 665,024,908 | false | {"Kotlin": 340505} | package io.github.optimumcode.json.schema.internal.factories.number
import io.github.optimumcode.json.schema.internal.JsonSchemaAssertion
import io.github.optimumcode.json.schema.internal.LoadingContext
import io.github.optimumcode.json.schema.internal.factories.AbstractAssertionFactory
import io.github.optimumcode.js... | 7 | Kotlin | 0 | 5 | e3bd94b6002733caf12193ae090882aee0aaf9dc | 1,255 | json-schema-validator | MIT License |
src/main/kotlin/com/piashcse/entities/orders/Cart.kt | piashcse | 410,331,425 | false | null | package com.piashcse.entities.orders
import com.piashcse.entities.base.BaseIntEntity
import com.piashcse.entities.base.BaseIntEntityClass
import com.piashcse.entities.base.BaseIntIdTable
import org.jetbrains.exposed.dao.id.EntityID
object CartItemTable : BaseIntIdTable("cart_items") {
val userId = reference("user... | 0 | Kotlin | 2 | 18 | a75eb54470bd2171f144d9b63580c2179168d3ff | 1,129 | ktor-E-Commerce | Apache License 2.0 |
app/src/main/java/com/realform/macropaytestpokemon/data/remote/model/pokemon/detailDTO/GenerationI.kt | IvanMedinaH | 809,257,969 | false | {"Kotlin": 194139} | package com.realform.macropaytestpokemon.data.remote.model.pokemon.detailDTO
data class GenerationI(
val redblue: RedBlue,
val yellow: Yellow
) | 0 | Kotlin | 0 | 0 | d6bdc416600f99f80af5264db420929796e109b2 | 152 | Pokedex | MIT License |
app/src/main/java/com/slacksms/app/data/AppDatabase.kt | denyszelenchuk | 334,531,419 | false | null | package com.slacksms.app.data
import android.content.Context
import androidx.room.Database
import androidx.room.Room
import androidx.room.RoomDatabase
import androidx.room.migration.Migration
import androidx.sqlite.db.SupportSQLiteDatabase
import com.slacksms.app.data.channels.Channel
import com.slacksms.app.data.chan... | 1 | Kotlin | 0 | 3 | 9fa33346487038b8748b9ffb53e2e82108de7ead | 1,435 | sms-to-slack | Apache License 2.0 |
data/src/main/java/com/ravnnerdery/data/di/dataUseCasesModule.kt | hunter4466 | 456,732,583 | false | null | package com.ravnnerdery.data.di
import com.ravnnerdery.data.useCases.*
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import javax.inject.Singleton
@Module
@InstallIn(SingletonComponent::class)
object DataUseCasesModule {
@Provides
@Si... | 0 | Kotlin | 0 | 0 | 026dd91b13289b5d8eda63650dda3878637dc988 | 909 | hilt_photo_challenge | MIT License |
src/test/kotlin/de/thk/gm/fddw/proxyparcelbox/ProxyparcelboxBarisberkSenguelApplicationTests.kt | WorldOfBerk | 841,141,873 | false | {"Kotlin": 22555, "CSS": 6423, "HTML": 5208, "JavaScript": 3077, "Dockerfile": 160} | package de.thk.gm.fddw.proxyparcelbox
import org.junit.jupiter.api.Test
import org.springframework.boot.test.context.SpringBootTest
@SpringBootTest
class ProxyparcelboxBarisberkSenguelApplicationTests {
@Test
fun contextLoads() {
}
}
| 0 | Kotlin | 0 | 1 | 9e1710bd5101d5952437ab855dc0f16b4e0e71d9 | 250 | Proxy-Parcel-Box | Apache License 2.0 |
backend/repo/cassandra/src/main/kotlin/ru/otus/opinion/repo/cassandra/CassandraRepo.kt | otuskotlin | 378,047,392 | false | null | package ru.otus.opinion.repo.cassandra
import kotlinx.coroutines.withTimeout
import org.slf4j.LoggerFactory
import ru.otus.opinion.models.ErrorLevel
import ru.otus.opinion.models.ErrorType
import ru.otus.opinion.models.QuestionId
import ru.otus.opinion.models.ServerError
import ru.otus.opinion.repo.api.*
import ru.otu... | 0 | Kotlin | 0 | 0 | ccde46da64355724add000dd88eb9e8b6fc3de7c | 1,760 | ok-202105-qa-mz | MIT License |
RaameshCode/src/main/java/org/firstinspires/ftc/teamcode/PhantomCode/MecanumTestClass2.kt | NanoJedi | 440,703,228 | true | {"Java Properties": 2, "Gradle": 8, "Shell": 1, "Markdown": 10, "Batchfile": 1, "Ignore List": 2, "XML": 24, "Python": 14, "Java": 99, "Kotlin": 2, "Text": 3, "CMake": 1, "C++": 1} | package org.firstinspires.ftc.teamcode.PhantomCode
import com.qualcomm.robotcore.eventloop.opmode.Autonomous
import org.firstinspires.ftc.teamcode.UtilityLibs.HelperClasses.PhantomOpMode
import org.firstinspires.ftc.teamcode.UtilityLibs.HelperClasses.chassisType
import kotlin.Throws
@Autonomous(name = "MecanumTestCla... | 0 | Java | 0 | 0 | 6d6845c38e9de358fbb01c2077d5c517bb5f04cc | 624 | Phantom99 | MIT License |
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/teleop/tests/IntakeElevatorTestOpMode.kt | titanium-knights | 223,034,181 | false | {"Java": 209183, "Kotlin": 26236, "Shell": 435} | package org.firstinspires.ftc.teamcode.teleop.tests
import com.qualcomm.robotcore.eventloop.opmode.TeleOp
import org.firstinspires.ftc.teamcode.events.EventOpMode
@TeleOp(name = "Intake & Elevator Test Op Mode", group = "Tests")
class IntakeElevatorTestOpMode: EventOpMode({
gamepad2.setJoystickDeadzone(0.2F)
... | 1 | null | 1 | 1 | 8e3acb77d8afe4ef3eecc95520044aa1bbb54cee | 372 | team-b-2019-2020 | MIT License |
src/jsMain/kotlin/org.angproj.aux/io/Internal.js.kt | angelos-project | 677,039,667 | false | {"Kotlin": 998526, "Python": 196308} | /**
* Copyright (c) 2024 by <NAME> <<EMAIL>>.
*
* This software is available under the terms of the MIT license. Parts are licensed
* under different terms if stated. The legal terms are attached to the LICENSE file
* and are made available on:
*
* https://opensource.org/licenses/MIT
*
* SPDX-License-Iden... | 0 | Kotlin | 0 | 0 | 2b5b956950e6228da0dde935dce77a67ac7f0c47 | 809 | angelos-project-aux | MIT License |
kotlin/src/main/kotlin/org/openapitools/client/apis/CategoryApi.kt | h2ouw8n4 | 173,500,151 | false | {"HTML": 653771, "Java": 492969, "C#": 395889, "PHP": 291667, "C++": 280432, "TypeScript": 160804, "Swift": 123299, "Python": 121084, "Scala": 118850, "Ruby": 105192, "Shell": 102102, "JavaScript": 89534, "Haskell": 82800, "Objective-C": 81924, "Eiffel": 71674, "Rust": 69473, "Erlang": 56566, "Kotlin": 50331, "Apex": 4... | /**
* Keepa API
* The Keepa API offers numerous endpoints. Every request requires your API access key as a parameter. You can find and change your key in the keepa portal. All requests must be issued as a HTTPS GET and accept gzip encoding. If possible, use a Keep-Alive connection. Multiple requests can be made in pa... | 26 | HTML | 0 | 3 | 24627e3372bf2ca75d8a42de79d31046e4ae14c1 | 3,041 | keepaSDK | MIT License |
verik-importer/src/main/kotlin/io/verik/importer/message/MessageTemplates.kt | frwang96 | 269,980,078 | false | null | /*
* SPDX-License-Identifier: Apache-2.0
*/
package io.verik.importer.message
import io.verik.importer.ast.element.common.EElement
import org.antlr.v4.runtime.tree.TerminalNode
/**
* Warning message template with one argument.
*/
class WarningMessageTemplate1<A>(
override val template: String
) : AbstractMes... | 0 | Kotlin | 1 | 33 | ee22969235460fd144294bcbcbab0338c638eb92 | 2,312 | verik | Apache License 2.0 |
examples/texteditor/src/main/java/com/example/texteditor/YorkieEditText.kt | yorkie-team | 518,739,505 | false | {"Kotlin": 589139, "Shell": 14167, "Dockerfile": 187} | package com.example.texteditor
import android.annotation.SuppressLint
import android.content.Context
import android.util.AttributeSet
import android.widget.EditText
import androidx.appcompat.widget.AppCompatEditText
import androidx.core.text.toSpannable
import androidx.core.widget.doAfterTextChanged
import androidx.co... | 4 | Kotlin | 2 | 8 | dfb303b06dd4c8757c23ff2aa6fd9990130a9816 | 2,942 | yorkie-android-sdk | Apache License 2.0 |
app/src/main/java/com/andre_max/droidhub/ui/remote_file_item/RemoteFileGroupItem.kt | Andre-max | 324,688,034 | false | null | package com.andre_max.droidhub.ui.remote_file_item
import android.annotation.SuppressLint
import android.media.MediaMetadataRetriever
import android.text.format.Formatter.formatShortFileSize
import android.view.View
import com.andre_max.droidhub.R
import com.andre_max.droidhub.databinding.RemoteFileLayoutBinding
impor... | 0 | Kotlin | 1 | 0 | 7985745fa849122284b204c7d3ced78d30e94b08 | 3,953 | DroidHub | Apache License 2.0 |
app/src/main/java/com/zipdabang/zipdabang_android/module/my/ui/viewmodel/MyViewModel.kt | zipdabang | 666,457,004 | false | {"Kotlin": 2208314} | package com.zipdabang.zipdabang_android.module.my.ui.viewmodel
import android.util.Log
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
import androidx.datastore.core.DataStore
import androidx.lifecycle.ViewModel
import androidx.lifecycle.... | 8 | Kotlin | 1 | 2 | ef22f7d73c2c44065714a6cffe783250b80487c8 | 9,088 | android | The Unlicense |
src/jvmMain/kotlin/csense/kotlin/logger/LClassLoggersExtensions.kt | csense-oss | 136,911,995 | false | null | @file:Suppress("unused", "NOTHING_TO_INLINE")
package csense.kotlin.logger
/**
* logs the given message and or the exception, using the class's name as the tag
* this logs as a production log
* @receiver T
* @param message [String]
* @param exception [Throwable]?
* see [L.logProd]
*/
public inline fun <reifie... | 1 | Kotlin | 0 | 2 | 49113dd6b2cb1e18992d07faa1e0305d18f766f4 | 4,120 | csense-kotlin | MIT License |
modules/fragments/src/androidMain/kotlin/splitties/fragments/Fragments.kt | LouisCAD | 65,558,914 | false | {"Gradle Kotlin DSL": 70, "Shell": 3, "Text": 4, "Markdown": 56, "Java Properties": 2, "Ignore List": 67, "Batchfile": 2, "Git Attributes": 1, "EditorConfig": 1, "YAML": 6, "XML": 72, "Kotlin": 299, "INI": 1, "Proguard": 5, "Java": 1, "CSS": 1, "AsciiDoc": 1} | /*
* Copyright 2019 <NAME>. Use of this source code is governed by the Apache 2.0 license.
*/
package splitties.fragments
import android.app.Activity
import android.content.Intent
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentActivity
import androidx.fragment.app.FragmentTransaction
inl... | 53 | Kotlin | 160 | 2,476 | 1ed56ba2779f31dbf909509c955fce7b9768e208 | 1,178 | Splitties | Apache License 2.0 |
app/src/main/kotlin/com/siziksu/kotlin/common/ConnectionUtils.kt | Siziksu | 65,041,144 | false | {"Gradle": 5, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Java": 2, "XML": 11, "Kotlin": 33, "JSON": 1} | package com.siziksu.kotlin.common
import android.content.Context
import android.net.ConnectivityManager
import android.net.NetworkInfo
import android.net.wifi.WifiManager
import android.os.Build
import com.siziksu.kotlin.common.model.Connection
object ConnectionUtils {
private val NOT_CONNECTED = "NOT_CONNECTED"... | 0 | Kotlin | 0 | 0 | b2df88ebd587c3ff8fbcba79db944a7294de7f5b | 2,387 | android-architecture-with-kotlin | Apache License 2.0 |
Tic_Tac_Toe/app/src/main/java/com/example/tictactoe/fragments/ShapeSelectorFragment.kt | aadityamp01 | 275,898,636 | false | null | package com.example.tictactoe.fragments
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.navigation.fragment.findNavController
import com.example.tictactoe.databinding.FragmentShapeSelectorBinding
... | 1 | null | 57 | 76 | d047d5b4c3321df85c6523c0725028986c898b14 | 1,220 | Androapps | MIT License |
src/main/kotlin/site/liangbai/lbapi/serverbridge/util/PacketUtil.kt | Liangbai2333 | 846,688,168 | false | {"Kotlin": 122537} | package site.liangbai.lbapi.serverbridge.util
import site.liangbai.lbapi.serverbridge.BridgeRegistry
import site.liangbai.lbapi.serverbridge.packet.PluginPacket
import site.liangbai.lbapi.storage.converter.ConverterManager.convertToEntity
import site.liangbai.lbapi.storage.converter.ConverterManager.convertToString
im... | 0 | Kotlin | 0 | 0 | d10ef178a7cd31845a99b51b25ccf222303afa52 | 800 | LBAPI | Creative Commons Zero v1.0 Universal |
app/src/main/java/com/saean/app/store/model/EtalaseAdapter.kt | defuj | 276,851,703 | false | null | package com.saean.app.store.model
import android.annotation.SuppressLint
import android.content.Context
import android.content.Intent
import android.content.SharedPreferences
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Toast
import androidx.recyclervi... | 1 | Kotlin | 1 | 1 | 0f02437a2438b8f1fe240e25ac32335e23404333 | 2,738 | Saean | MIT License |
src/main/java/com/dongtronic/diabot/exceptions/NoNightscoutDataException.kt | alphacentauri82 | 222,849,738 | true | {"Kotlin": 172285} | package com.dongtronic.diabot.exceptions
class NoNightscoutDataException : Exception()
| 0 | null | 0 | 1 | 0db56a9ed48eb90d73af008adbb95feace7ec062 | 88 | diabot-discord | MIT License |
library/src/main/java/com/cube/styleguide/utils/Extensions.kt | 3sidedcube | 620,468,694 | false | null | package com.cube.styleguide.utils
import android.content.Context
object Extensions {
fun String.firstPart(): String {
val content = split("_")
return if (content.size > 1) {
content[0]
} else {
this
}
}
fun String.secondPart(): String {
val content = split("_")
return if (content.size > 1) {
... | 0 | Kotlin | 0 | 0 | e33e04cb91f95cdf66f5d987947150876d223ea5 | 468 | guidestyle-android-client | Apache License 2.0 |
main/src/commonMain/kotlin/org/ooverkommelig/definition/DelegateOfObjectToCreateEagerly.kt | squins | 74,140,237 | false | {"Kotlin": 78752} | package org.ooverkommelig.definition
import org.ooverkommelig.Definition
internal interface DelegateOfObjectToCreateEagerly<out TObject> {
fun getValue(): Definition<TObject>
}
| 0 | Kotlin | 0 | 1 | e2d8d6874bd9d3e1a83b2c4ccbf8f7b00a2d0790 | 183 | ooverkommelig | MIT License |
src/main/kotlin/no/nav/syfo/dialogmote/api/domain/DialogmotedeltakerBehandlerVarselDTO.kt | navikt | 331,892,633 | false | null | package no.nav.syfo.dialogmote.api.domain
import no.nav.syfo.dialogmote.domain.DocumentComponentDTO
import java.time.LocalDateTime
data class DialogmotedeltakerBehandlerVarselDTO(
val uuid: String,
val createdAt: LocalDateTime,
val varselType: String,
val fritekst: String,
val document: List<Docum... | 1 | Kotlin | 0 | 0 | 2716e6a577ccb374cc385eeb3c971c4791c4a296 | 402 | isdialogmote | MIT License |
glimpse/hud/src/desktopMain/kotlin/text/Font.kt | glimpse-graphics | 319,730,354 | false | null | /*
* Copyright 2020-2022 Slawomir Czerwinski
*
* 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 ... | 7 | null | 0 | 6 | e00a9f22db9e10493e7711d5dd8524eb7b06be77 | 1,210 | glimpse | Apache License 2.0 |
src/main/kotlin/cn/bestwu/gdph/OpenMavenCentralProvider.kt | top-bettercode | 99,984,954 | false | {"Kotlin": 114225, "Java": 4829} | /*
* Copyright (c) 2017 Peter Wu
*
* 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 | 1 | 34 | 84fb067e9ff4006f08908e53f25a85cb58cb605c | 2,236 | gradle-dependencies-plugins-helper-plugin | Apache License 2.0 |
InventoryAuditSample/src/main/java/com/scandit/datacapture/inventoryauditsample/scan/bubble/Bubble.kt | Scandit | 180,535,832 | false | {"Gradle Kotlin DSL": 2, "Java Properties": 2, "Markdown": 10, "Gradle": 24, "Proguard": 24, "XML": 298, "Java": 445, "Kotlin": 9, "INI": 2} | /*
* 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 writing, software
* distributed u... | 2 | Java | 22 | 27 | c2cddefaad50340f2ce1b4debff483bc7cc171b7 | 2,427 | datacapture-android-samples | Apache License 2.0 |
app/src/main/java/com/czq/kotlinarch/data/local/LocalDataRepository.kt | manondidi | 154,757,414 | false | null | package com.czq.kotlinarch.data.local
class LocalDataRepository {
} | 2 | Kotlin | 24 | 206 | 70182365c6c1755f6a73b0cdc6403b34bd4841ec | 68 | kotlinArch | MIT License |
app/src/main/java/dubizzle/android/com/moviedb/repository/MovieRepository.kt | alaa7731 | 166,552,388 | false | null | package dubizzle.android.com.moviedb.repository
import android.util.Log
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import dubizzle.android.com.moviedb.api.ApiResponse
import dubizzle.android.com.moviedb.api.MovieService
import dubizzle.android.com.moviedb.mappers.KeywordResponseMapper... | 0 | Kotlin | 0 | 0 | 7133e8084051937030ffc994b7b2f05957b0de8b | 4,984 | MyMoviesDB | MIT License |
app/src/main/java/com/api/scientificcalculator/MainActivity.kt | pushkartiwarii | 854,231,044 | false | {"Kotlin": 56968} | package com.api.scientificcalculator
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.activity.enableEdgeToEdge
import androidx.compose.material3.ExperimentalMaterial3Api
import com.api.scientificcalculator.ui.screens.ScientificCalculator
i... | 0 | Kotlin | 1 | 0 | 10e8a79fd1be430dc1cd2ebd837da3d67fc3d8b7 | 785 | Two_In_One_Calculator | MIT License |
src/jsMain/kotlin/ui/model/StageInfo.kt | sdercolin | 280,808,994 | false | {"Kotlin": 552368, "CSS": 2020, "JavaScript": 1346, "HTML": 852} | package ui.model
import core.model.ExportResult
import core.model.Format
import core.model.Project
import ui.strings.Strings
sealed class StageInfo(
val stage: Stage,
) {
object Import : StageInfo(Stage.Import)
data class SelectOutputFormat(
val projects: List<Project>,
) : StageInfo(Stage.Sel... | 2 | Kotlin | 41 | 222 | 17de7cbe9fa0a0fca63e18f27b563a2f07bf85cc | 694 | utaformatix3 | Apache License 2.0 |
app/src/main/java/com/example/movie/data/room/MovieDao.kt | carlosjaime | 502,726,516 | false | {"Kotlin": 31826} | package com.example.movie.data.room
//<NAME>
import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import com.example.movie.domain.model.Movie
import com.example.movie.domain.model.Movie_table
import kotlinx.coroutines.flow.Flow
@Dao
interface MovieDao... | 0 | Kotlin | 0 | 0 | ccf3e31ae4c08c11ecce32fa0f9ce56b9e6afb44 | 732 | KOTLIXAPP | Apache License 2.0 |
app/src/main/java/com/example/movie/data/room/MovieDao.kt | carlosjaime | 502,726,516 | false | {"Kotlin": 31826} | package com.example.movie.data.room
//<NAME>
import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import com.example.movie.domain.model.Movie
import com.example.movie.domain.model.Movie_table
import kotlinx.coroutines.flow.Flow
@Dao
interface MovieDao... | 0 | Kotlin | 0 | 0 | ccf3e31ae4c08c11ecce32fa0f9ce56b9e6afb44 | 732 | KOTLIXAPP | Apache License 2.0 |
app/src/main/kotlin/jp/co/yumemi/android/code_check/SearchViewModel.kt | hiratannnnnn | 815,804,002 | false | {"Kotlin": 14581} | /*
* Copyright © 2021 YUMEMI Inc. All rights reserved.
*/
package jp.co.yumemi.android.code_check
import android.content.Context
import android.os.Parcelable
import android.util.Log
import android.widget.Toast
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.View... | 9 | Kotlin | 0 | 0 | 812d74152ee776d1dbb96c758d84156dd80200c1 | 3,629 | android-engineer-codecheck | Apache License 2.0 |
profile/src/main/java/rdx/works/profile/data/model/extensions/EntityExtensions.kt | radixdlt | 513,047,280 | false | {"Kotlin": 3580823, "HTML": 215350, "Java": 18496, "Ruby": 2312, "Shell": 1962} | package rdx.works.profile.data.model.extensions
import rdx.works.core.mapWhen
import rdx.works.profile.data.model.Profile
import rdx.works.profile.data.model.currentGateway
import rdx.works.profile.data.model.factorsources.EntityFlag
import rdx.works.profile.data.model.factorsources.FactorSource
import rdx.works.profi... | 8 | Kotlin | 8 | 4 | e178f84c69a46bc7da05eac0a89e0a28244401d9 | 5,022 | babylon-wallet-android | Apache License 2.0 |
app/src/main/java/com/saurabh/example/coroutines/learn/retrofit/series/SeriesNetworkCallsViewModel.kt | sksaurabh | 290,501,715 | false | null | package com.saurabh.example.coroutines.learn.retrofit.series
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.saurabh.example.coroutines.data.api.ApiHelper
import com.saurabh.example.coroutines.data.loca... | 0 | Kotlin | 0 | 0 | f26449c940b246ae9aebd2f9650a6e3731af55a7 | 1,445 | KotlinCoroutines | Apache License 2.0 |
bwell-kotlin-android/app/src/main/java/com/bwell/sampleapp/model/HealthSummaryList.kt | icanbwell | 712,483,908 | false | {"Kotlin": 127543} | package com.bwell.sampleapp.model
data class HealthSummaryList(
val healthSummaryList :List<HealthSummaryListItems>
)
data class HealthSummaryListItems(val healthSummaryType: String,
val healthSummaryTypeLogo: Int,val healthSummaryDetailsLogo: Int)
| 2 | Kotlin | 0 | 1 | ca4ed76d5aaa8765d90b31eb218c65cedf47a367 | 289 | bwell-sdk-example | Apache License 2.0 |
bwell-kotlin-android/app/src/main/java/com/bwell/sampleapp/model/HealthSummaryList.kt | icanbwell | 712,483,908 | false | {"Kotlin": 127543} | package com.bwell.sampleapp.model
data class HealthSummaryList(
val healthSummaryList :List<HealthSummaryListItems>
)
data class HealthSummaryListItems(val healthSummaryType: String,
val healthSummaryTypeLogo: Int,val healthSummaryDetailsLogo: Int)
| 2 | Kotlin | 0 | 1 | ca4ed76d5aaa8765d90b31eb218c65cedf47a367 | 289 | bwell-sdk-example | Apache License 2.0 |
src/main/kotlin/com/catcher/base/data/repository/PrivilegeRepository.kt | comtihon | 178,599,177 | false | null | package com.catcher.base.data.repository
import com.catcher.base.data.dao.Privilege
import org.springframework.data.repository.CrudRepository
interface PrivilegeRepository : CrudRepository<Privilege, Int> {
fun findByName(name: String): Privilege?
} | 7 | Kotlin | 1 | 1 | 73a492a6e545e78a9e058f7a6933aa6d66962b0a | 255 | catcher_base | Apache License 2.0 |
core-network/src/androidTest/java/page/smirnov/wallester/core_network/parser/BeerListParserTest.kt | RankoR | 465,888,502 | false | {"Kotlin": 104194} | package page.smirnov.wallester.core_network.parser
import org.junit.Assert
import org.junit.Test
import page.smirnov.wallester.core_network.data.parser.beer.BeerListParser
import page.smirnov.wallester.core_network.data.parser.beer.BeerListParserImpl
import page.smirnov.wallester.core_network.data.parser.beer.BeerPars... | 0 | Kotlin | 0 | 0 | 5720264750d5240281d45fc6c7341e09277e52db | 2,400 | WallesterTest | Apache License 2.0 |
wallet-sdk/src/test/kotlin/org/stellar/walletsdk/util/ConvertLumensStroops.kt | stellar | 523,604,257 | false | null | package org.stellar.walletsdk.util
import kotlin.test.assertEquals
import org.junit.jupiter.api.Test
internal class ConvertLumensStroops {
@Test
fun `converted stroops to lumens`() {
val lumens = stroopsToLumens("100")
assertEquals("0.00001", lumens)
}
@Test
fun `converted lumens to stroops`() {
... | 2 | Kotlin | 4 | 5 | cf6ab208aa9ab2b60e0a691005ced6ba6f4219d7 | 408 | kotlin-wallet-sdk | Apache License 2.0 |
app/src/main/java/com/example/myapplication/sdk/SDK5.kt | zyj1609wz | 411,572,647 | false | {"Kotlin": 11208} | package com.example.myapplication.sdk
import android.content.Context
import com.zyj.startup.Startup
/**
* @author : zhaoyanjun
* @time : 2021/9/27
* @desc :
*/
class SDK5 : Startup() {
override fun create(context: Context) {
//模拟初始化时间
Thread.sleep(800)
}
//主线程
override fun callCr... | 0 | Kotlin | 0 | 45 | 671698b471a68ac70a7d6ba9b2401b2a9b11b720 | 540 | Startup | Apache License 2.0 |
BestQuotes/app/src/main/java/com/soumyoroy/bestquotes/CategoriesAdapter.kt | Soumyo78 | 266,168,510 | false | null | package com.soumyoroy.bestquotes
import android.content.Context
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
class CategoriesAdapter(val context:Context, val cat... | 0 | Kotlin | 0 | 1 | 5709b9063fb5bb6fd348b6f3877ae5fc7155b6d9 | 2,021 | Android-Practice-Projects | MIT License |
src/main/kotlin/_07_Libs/_01_Filter_Map_Reduce_etc.kt | aldenioburgos | 265,962,739 | false | {"Gradle Kotlin DSL": 2, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Git Attributes": 1, "Markdown": 1, "Java": 3, "Kotlin": 35} | package _07_Libs
import util.execute
@kotlin.ExperimentalStdlibApi //TODO: marcado como experimental devido ao ex3
fun main() {
execute(::ex1,::ex2,::ex3,::ex4,::ex5,::ex6)
}
/**
* Foreach, also, filter, map
*/
private fun ex1() {
val ints = listOf(1, 2, 3, 4, 5)
ints.forE... | 0 | Kotlin | 0 | 0 | 9d17643b2613222c1bdc3d0941304cbe63090187 | 3,052 | kotlinclass | MIT License |
jetbrains-core/src/software/aws/toolkits/jetbrains/services/codewhisperer/toolwindow/CodeWhispererCodeReferenceToolWindowFactory.kt | aws | 91,485,909 | false | null | // Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
package software.aws.toolkits.jetbrains.services.codewhisperer.toolwindow
import com.intellij.openapi.project.DumbAware
import com.intellij.openapi.project.Project
import com.intellij.openapi.wm.ToolWindo... | 306 | Kotlin | 141 | 643 | 09faf6a4bff65b80c5306a0dc0503b66f1e1aef9 | 1,291 | aws-toolkit-jetbrains | Apache License 2.0 |
src/test/kotlin/com/example/kotlinonspringboot/integration/employee/IntegrationTest.kt | rami2076 | 698,849,943 | false | {"Kotlin": 67810} | package com.example.kotlinonspringboot.integration.employee
import com.example.kotlinonspringboot.DatabaseContainerConfiguration
import org.junit.jupiter.api.DisplayName
import org.junit.jupiter.api.Nested
import org.junit.jupiter.api.Test
import org.springframework.beans.factory.annotation.Autowired
import org.spring... | 26 | Kotlin | 0 | 0 | 6c6b4c66ab6cd8298ccf1007d1b364d5e1487f64 | 6,264 | kotlin-on-spring-boot | MIT License |
shared/src/commonMain/kotlin/feature_person_detail/data/repository/PersonRepositoryImpl.kt | tolgaprm | 712,824,422 | false | {"Kotlin": 281188, "Swift": 657, "Shell": 228} | package feature_person_detail.data.repository
import core.common.Resource
import core.data.util.tryResultReturnResource
import feature_person_detail.data.remote.dataSource.PersonRemoteDataSource
import feature_person_detail.data.remote.mapper.toPersonDetail
import feature_person_detail.domain.model.PersonDetail
import... | 2 | Kotlin | 0 | 0 | 1bf08352171b694b04a5cc702cf5dfaa7bd4073f | 789 | MovaApp-compose-multiplatform | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.