path stringlengths 4 280 | owner stringlengths 2 39 | repo_id int64 21.1k 879M | is_fork bool 2
classes | languages_distribution stringlengths 13 1.95k ⌀ | content stringlengths 7 482k | issues int64 0 13.9k | main_language stringclasses 121
values | forks stringlengths 1 5 | stars int64 0 111k | commit_sha stringlengths 40 40 | size int64 7 482k | name stringlengths 1 100 | license stringclasses 93
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
app/src/main/java/com/example/chatsupport/activity/SpecificThread.kt | prathmesh444 | 716,429,070 | false | {"Kotlin": 21873} | package com.example.chatsupport.activity
import android.os.Build
import android.os.Bundle
import android.widget.Button
import android.widget.EditText
import android.widget.Toast
import androidx.annotation.RequiresApi
import androidx.appcompat.app.AppCompatActivity
import androidx.recyclerview.widget.LinearLayoutManage... | 0 | Kotlin | 0 | 0 | a8e9e9dae99287b958fcf7c31744c010ab6afffc | 3,662 | Customer-Support-Chat-App | MIT License |
app/src/main/java/com/project/resqfood/presentation/itemdetailscreen/SuccessScreen.kt | sourabhkumar47 | 796,387,014 | false | {"Kotlin": 250041} | package com.project.resqfood.presentation.itemdetailscreen
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material.*
import androidx.compose.material3.Button
import androidx.compose.material3.ButtonDefaults
import androidx.compose.materia... | 29 | Kotlin | 37 | 19 | f9123342a39e2e3eeed88fd61bf2a9a2d68da951 | 2,413 | ResQFood | MIT License |
app/src/main/java/com/task/noteapp/features/notes/domain/NotesRepository.kt | faranjit | 441,673,624 | false | {"Kotlin": 51756} | package com.task.noteapp.features.notes.domain
import com.task.noteapp.features.notes.domain.model.CreateNoteModel
import com.task.noteapp.features.notes.domain.model.NoteModel
import kotlinx.coroutines.flow.Flow
/**
* Created by <NAME> on 29.09.2021.
*/
interface NotesRepository {
/**
* Returns all notes... | 0 | Kotlin | 0 | 2 | 572eea5c62ad077a89e4ad664b6535ae86f7e534 | 650 | note-flow | MIT License |
app/src/main/java/com/comunidadedevspace/imc/MainActivity.kt | denismorello | 808,745,245 | false | {"Kotlin": 4741} | package com.comunidadedevspace.imc
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.Button
import com.google.android.material.snackbar.Snackbar
import com.google.android.material.textfield.TextInputEditText
class MainActivity : AppCompatActiv... | 0 | Kotlin | 0 | 0 | d0635046a5be9dc670b62931df78730fef7f8d24 | 2,130 | calculadoraimc | MIT License |
src/main/kotlin/herbaccara/jusokr/model/PageableCommon.kt | herbaccara | 608,484,828 | false | null | package herbaccara.jusokr.model
class PageableCommon(
/**
* 에러코드. 0 이면 정상, -999 면 시스템 에러
*/
errorCode: String,
errorMessage: String,
val currentPage: Int,
val countPerPage: Int,
totalCount: Int
) : Common(errorCode, errorMessage, totalCount)
| 0 | Kotlin | 0 | 0 | 1c3250a0ddff944f3e3ec9b5f0a3abd8026636ee | 277 | spring-boot-starter-jusokr | MIT License |
app/src/main/java/io/flaterlab/kyrgyzdaamy/ui/food/FoodAddToBasket.kt | chorobaev | 355,274,946 | false | {"Kotlin": 168085} | package io.flaterlab.kyrgyzdaamy.ui.food
import io.flaterlab.kyrgyzdaamy.service.response.MenuItem
interface FoodAddToBasket {
fun addToBasket(item: MenuItem, position: Int)
} | 0 | Kotlin | 0 | 1 | a1c17e42cefdf0536f4e1b9c235e0f434b9a1e58 | 181 | kyrgyz-daamy | MIT License |
src/main/kotlin/dev/himirai/kiyomi/annotation/PostConstruct.kt | Himirai | 804,927,408 | false | {"Kotlin": 10780} | package dev.himirai.kiyomi.annotation
@Target(AnnotationTarget.FUNCTION)
@Retention(AnnotationRetention.RUNTIME)
annotation class PostConstruct
| 0 | Kotlin | 0 | 2 | 87a09740884ae0f696ffffef47be593b3f05593c | 145 | kiyomi | Apache License 2.0 |
redwood-layout-uiview/src/commonTest/kotlin/app/cash/redwood/layout/uiview/UIViewBoxTest.kt | cashapp | 305,409,146 | false | {"Kotlin": 2084287, "Swift": 20654, "Objective-C": 4497, "Java": 1583, "Shell": 253, "HTML": 235, "C": 129} | /*
* Copyright (C) 2024 Square, 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 agre... | 111 | Kotlin | 72 | 1,641 | edeabb17a1b69d5255cf0bbeb442893d65667f2b | 2,123 | redwood | Apache License 2.0 |
app/src/main/java/foxapple/android/finacial/utilities/Constants.kt | foxapple | 210,019,108 | false | null | package foxapple.android.finacial.utilities
const val DATABASE_NAME = "finacial-watch-db" | 0 | Kotlin | 0 | 0 | 8543a644ed86acc5cdb2f7ba313cf9aa487efd67 | 90 | finacialWatch | MIT License |
modules/vfs/src/main/kotlin/com/lhwdev/vfs/impl/common/VfsCommon.kt | lhwdev | 412,778,971 | false | {"Kotlin": 64983} | package com.lhwdev.vfs.impl.common
public object VfsCommon
| 0 | Kotlin | 0 | 0 | 0f3c0ae152d4bb10e7883cb0fa6dc35fe08edcfb | 61 | lhwdev-bot | MIT License |
projects/simulation/src/main/kotlin/simulation/abilities/ShadowSpirit.kt | silentorb | 188,621,122 | false | {"Kotlin": 862571, "Python": 32172, "SuperCollider": 5214, "Faust": 528} | package simulation.abilities
import com.badlogic.gdx.physics.bullet.dynamics.btDiscreteDynamicsWorld
import silentorb.mythic.characters.rigs.disableFreedomsBuff
import silentorb.mythic.characters.rigs.defaultCharacterHeight
import silentorb.mythic.characters.rigs.defaultCharacterRadius
import silentorb.mythic.ent.Id
i... | 0 | Kotlin | 0 | 0 | 03a1e2c082343ee3d64c8d1ffadad156fca6f9e1 | 4,312 | marloth-kotlin | MIT License |
src/main/kotlin/org/wfanet/measurement/common/grpc/DeferredForwardingListener.kt | world-federation-of-advertisers | 375,798,604 | false | null | // Copyright 2021 The Cross-Media Measurement Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applic... | 3 | Kotlin | 0 | 1 | 91b8802bb7f6a1db6cedcc3d623771c12dc136bf | 2,060 | common-jvm | Apache License 2.0 |
linea/src/commonMain/kotlin/compose/icons/lineaicons/basic/BatteryCharge.kt | DevSrSouza | 311,134,756 | false | {"Kotlin": 36719092} | package compose.icons.lineaicons.basic
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx.compose.ui.gr... | 17 | Kotlin | 25 | 571 | a660e5f3033e3222e3553f5a6e888b7054aed8cd | 2,961 | compose-icons | MIT License |
common/src/commonMain/kotlin/com/nordeck/app/worldle/common/model/Guess.kt | ameriod | 494,662,375 | false | {"Kotlin": 50860, "Swift": 17503, "Shell": 89} | package com.nordeck.app.worldle.common.model
import com.nordeck.app.worldle.common.ConversionMath
import com.nordeck.app.worldle.common.isLocaleMetric
data class Guess(
val country: Country,
val distanceFromMeters: Int,
val proximityPercent: Int,
val direction: Direction
) {
fun getDistanceFrom():... | 0 | Kotlin | 0 | 0 | c9b99d045a1910e8d00e559af536b4714c4b3e02 | 551 | Worldle-Mobile | MIT License |
gateway/src/test/kotlin/com/qingzhu/gateway/TestCoroutine.kt | nedphae | 322,789,778 | false | {"Kotlin": 744301, "ANTLR": 281490, "Java": 48298, "Dockerfile": 375} | package com.qingzhu.gateway
import com.qingzhu.gateway.config.SecurityConfiguration
import kotlinx.coroutines.*
import org.junit.jupiter.api.Test
import org.springframework.security.oauth2.jwt.ReactiveJwtDecoder
import java.util.concurrent.TimeoutException
import kotlin.coroutines.resume
import kotlin.coroutines.resum... | 1 | Kotlin | 18 | 42 | 217b4658508763133e1a5b6a96763a14e9f6f4ad | 3,168 | contact-center | Apache License 2.0 |
data/src/main/java/com/pp/moviefy/data/di/DataModule.kt | pauloaapereira | 356,418,263 | false | null | /*
* Copyright 2021 Paulo Pereira
*
* 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 ... | 0 | Kotlin | 0 | 0 | e174b88ab2397720c47f81c06603794e142bd91f | 2,447 | Moviefy | Apache License 2.0 |
src/test/kotlin/complex-3D/src/Complex3D.kt | exerro | 160,990,895 | false | null | import lwaf_3D.*
import lwaf_3D.poly.VAOObject3D
import lwaf_3D.poly.loadOBJModel
import lwaf_3D.poly.toUVVAOObject3D
import lwaf_3D.poly.toVAOObject3D
import lwaf_3D.property.*
import lwaf_core.*
import lwaf_util.noise
import org.lwjgl.glfw.GLFW.*
import org.lwjgl.opengl.GL11.*
private lateinit var texture2D: GLTextu... | 1 | Kotlin | 0 | 0 | 732f76f981fcb00ba486708965be2944a9d82b4d | 11,569 | LWAF | MIT License |
core/networkApi/crm/impl/src/main/kotlin/odoo/miem/android/core/networkApi/crm/impl/di/CrmRepositoryComponent.kt | 19111OdooApp | 546,191,502 | false | {"Kotlin": 889625} | package odoo.miem.android.core.networkApi.crm.impl.di
import dagger.Component
import odoo.miem.android.core.networkApi.crm.api.di.ICrmRepositoryApi
import odoo.miem.android.core.networkApi.crm.impl.CrmRepository
/**
* [CrmRepositoryComponent] - **Dagger** component, which implements interface [ICrmRepositoryApi]
* ... | 0 | Kotlin | 1 | 5 | e107fcbb8db2d179d40b5c1747051d2cb75e58c6 | 773 | OdooApp-Android | Apache License 2.0 |
app/src/main/java/si/hub/android/dialog/MessageDialogActivity.kt | dv5 | 289,117,603 | false | null | package si.hub.android.dialog
import android.content.Context
import android.content.Intent
import android.os.Bundle
import androidx.viewbinding.ViewBinding
import si.hub.android.base.BaseDialogActivity
import si.hub.android.databinding.ActivityMessageDialogBinding
class MessageDialogActivity : BaseDialogActivity() {
... | 0 | Kotlin | 0 | 0 | b5514ba0cd20bd20bea69142afaf59f60e2347c6 | 1,406 | android-components | Apache License 2.0 |
sykepenger-model/src/test/kotlin/no/nav/helse/person/refusjon/RefusjonsservitørTest.kt | navikt | 193,907,367 | false | {"Kotlin": 6610000, "PLpgSQL": 2738, "Dockerfile": 168} | package no.nav.helse.person.refusjon
import java.time.LocalDate
import java.time.LocalDateTime
import java.util.UUID
import no.nav.helse.hendelser.Avsender
import no.nav.helse.hendelser.til
import no.nav.helse.januar
import no.nav.helse.person.beløp.Beløpstidslinje
import no.nav.helse.person.beløp.Kilde
import no.nav.... | 2 | Kotlin | 7 | 3 | d8b9192fbce73e0f27f60de4e68360a06480235b | 2,312 | helse-spleis | MIT License |
social-network/src/main/kotlin/ru/amai/highload/social/repository/impl/UserPersonalDetailsJdbcRepository.kt | slobanov | 256,960,829 | false | {"Jupyter Notebook": 256899, "Kotlin": 81512, "HTML": 11765, "JavaScript": 7926, "Shell": 2913, "CSS": 1704, "Lua": 807} | package ru.amai.highload.social.repository.impl
import org.springframework.jdbc.core.RowMapper
import org.springframework.jdbc.core.namedparam.MapSqlParameterSource
import org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations
import org.springframework.jdbc.support.GeneratedKeyHolder
import org.springf... | 0 | Jupyter Notebook | 0 | 0 | 941bbb5c3e3118306343fc10671c2e26edc22fa3 | 6,486 | otus-highload-2020-03-slobanov | MIT License |
src/test/kotlin/com/hypto/iam/server/apis/KeyApiTest.kt | hwslabs | 455,187,437 | false | {"Kotlin": 862507, "Shell": 1449, "Dockerfile": 648} | package com.hypto.iam.server.apis
import com.hypto.iam.server.helpers.BaseSingleAppTest
import com.hypto.iam.server.helpers.DataSetupHelperV3.createOrganization
import com.hypto.iam.server.helpers.DataSetupHelperV3.deleteOrganization
import com.hypto.iam.server.models.KeyResponse
import com.hypto.iam.server.models.Tok... | 17 | Kotlin | 3 | 15 | 0feca2fbb29db932b855e391d3816dd6d7aa5bd0 | 3,172 | iam | MIT License |
app/src/main/java/com/example/arvoice/domain/AugmentedRoom.kt | catalinghita8 | 277,578,519 | false | null | package com.example.arvoice.domain
class AugmentedRoom(var id: Int, var userAssets: List<UserAsset>)
| 0 | Kotlin | 0 | 1 | 2a0f821c4b2c7171ab3118f54526a143e761fc42 | 102 | ARCore-NLP-persistent-augmentation | Apache License 2.0 |
src/main/kotlin/com/sauleiros/albumexplorer/application/service/AlbumServiceImpl.kt | SaulEiros | 833,679,357 | false | {"Kotlin": 24735, "Dockerfile": 270} | package com.sauleiros.albumexplorer.application.service
import com.sauleiros.albumexplorer.application.ports.input.AlbumService
import com.sauleiros.albumexplorer.application.ports.output.AlbumRepository
import com.sauleiros.albumexplorer.domain.exception.AlbumNotFoundException
import com.sauleiros.albumexplorer.domai... | 0 | Kotlin | 0 | 0 | 3647b87e66c72709f1352e0c958979b022189608 | 684 | album-explorer | Apache License 2.0 |
Extensions/Music/src/main/kotlin/net/sourcebot/module/music/audio/AudioSubsystem.kt | TheSourceCodeLLC | 271,902,483 | false | null | package net.sourcebot.module.music.audio
import com.sedmelluq.discord.lavaplayer.player.AudioLoadResultHandler
import com.sedmelluq.discord.lavaplayer.player.AudioPlayer
import com.sedmelluq.discord.lavaplayer.tools.FriendlyException
import com.sedmelluq.discord.lavaplayer.track.AudioItem
import com.sedmelluq.discord.... | 5 | Kotlin | 8 | 9 | ff4a07c69a009d118b10bc4d57f6e567334ed768 | 2,488 | Source | MIT License |
v2-model/src/commonMain/kotlin/com/bselzer/gw2/v2/model/skin/detail/GatheringToolSkinDetails.kt | Woody230 | 388,820,096 | false | {"Kotlin": 750899} | package com.bselzer.gw2.v2.model.skin.detail
import com.bselzer.gw2.v2.model.enumeration.wrapper.GatheringToolDetailType
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class GatheringToolSkinDetails(
@SerialName("type")
val type: GatheringToolDetailType = ... | 2 | Kotlin | 0 | 2 | 7bd43646f94d1e8de9c20dffcc2753707f6e455b | 347 | GW2Wrapper | Apache License 2.0 |
pact-jvm-mockk-spring/src/test/kotlin/io/github/ludorival/pactjvm/mockk/spring/test/ShoppingListAppDeterministicTest.kt | ludorival | 600,899,235 | false | {"Kotlin": 39620} | package io.github.ludorival.pactjvm.mockk.spring.test
import io.github.ludorival.pactjvm.mockk.spring.DeterministicPact
import org.junit.jupiter.api.extension.ExtendWith
@ExtendWith(DeterministicPact::class)
open class ShoppingListAppDeterministicTest : ShoppingListAppTest()
| 6 | Kotlin | 0 | 1 | b2a6d1f6cb6cd7231450d637757803730ee8a5a3 | 278 | pact-jvm-mock | MIT License |
app/src/main/java/com/aos/app/net/mk/MRetrofit.kt | ltqi | 279,073,843 | false | null | package com.aos.app.net.mk
import com.aos.app.App
import com.aos.app.BuildConfig
import com.aos.app.ut.saveAccessToken
import com.aos.app.ut.saveRefreshToken
import com.aos.app.ut.saveSessionInfo
import com.q.net.BaseRetrofitClient
import com.q.net.InjectCommonParamsInterceptor
import com.q.net.injectParams
import com... | 0 | Kotlin | 0 | 1 | 723c297f97b42868febed4eaa906af57adbfe14a | 5,020 | aos | MIT License |
js/js.translator/testData/incremental/invalidation/inlineFunctionAsParam/lib1/l1.3.kt | JetBrains | 3,432,266 | false | {"Markdown": 192, "Gradle": 401, "Gradle Kotlin DSL": 1182, "Java Properties": 29, "Shell": 45, "Ignore List": 20, "Batchfile": 21, "Git Attributes": 8, "JSON": 203, "XML": 833, "Kotlin": 56096, "INI": 200, "Java": 3899, "Text": 25219, "JavaScript": 316, "JAR Manifest": 2, "Roff": 256, "Roff Manpage": 56, "Protocol Buf... | inline fun foo1() = 77
inline fun foo2() = "foo2 update"
inline fun foo3() = "foo3"
| 179 | Kotlin | 5640 | 48,055 | e3542ec7d0ffb0a27b189cadc323e88e4cb8ba4f | 84 | kotlin | Apache License 2.0 |
src/main/kotlin/com/github/tcpgnl/thoughtworkscodereviewtools/services/MyApplicationService.kt | xiaoquisme | 432,933,512 | false | {"Java Properties": 1, "Gradle Kotlin DSL": 2, "Markdown": 3, "Shell": 1, "Batchfile": 1, "Java": 24, "Kotlin": 4, "INI": 2} | package com.github.tcpgnl.thoughtworkscodereviewtools.services
import com.github.tcpgnl.thoughtworkscodereviewtools.MyBundle
class MyApplicationService {
init {
println(MyBundle.message("applicationService"))
}
}
| 1 | null | 1 | 1 | f06832fb166500894394e3e63a714cb8d357d66a | 232 | thoughtworks-code-review-tools | MIT License |
src/main/kotlin/no/nav/syfo/dodshendelser/kafka/PersonhendelserConsumer.kt | navikt | 273,248,067 | false | {"Kotlin": 261314, "Dockerfile": 277} | package no.nav.syfo.dodshendelser.kafka
import java.time.Duration
import org.apache.avro.generic.GenericRecord
import org.apache.kafka.clients.consumer.KafkaConsumer
class PersonhendelserConsumer(
private val kafkaPersonhendelserConsumer: KafkaConsumer<String, GenericRecord>
) {
fun poll(): List<GenericRecord... | 0 | Kotlin | 0 | 0 | bd0a3474d6517bcf7bd761646854a621127c170d | 422 | sparenaproxy | MIT License |
image-loader/src/commonMain/kotlin/com/seiko/imageloader/util/LruCache.kt | qdsfdhvh | 502,954,331 | false | {"Kotlin": 824269, "Swift": 717, "HTML": 496} | package com.seiko.imageloader.util
expect open class LruCache<K : Any, V : Any>(maxSize: Int) {
protected open fun sizeOf(key: K, value: V): Int
protected open fun entryRemoved(evicted: Boolean, key: K, oldValue: V, newValue: V?)
protected open fun create(key: K): V?
fun size(): Int
fun maxSize(): ... | 32 | Kotlin | 15 | 432 | bdf4a1e89113552abe98d250f192ea55bd8a2c24 | 476 | compose-imageloader | MIT License |
engine/src/main/kotlin/rs/dusk/engine/client/ui/detail/InterfaceData.kt | Palmfeldt | 673,267,966 | true | {"Kotlin": 1529507} | package rs.dusk.engine.client.ui.detail
/**
* Location of an interface in relation to it's parents and screen mode
*/
data class InterfaceData(
val fixedParent: Int? = null,
val resizableParent: Int? = null,
val fixedIndex: Int? = null,
val resizableIndex: Int? = null
) {
fun getIndex(resize: Bo... | 0 | Kotlin | 0 | 0 | 0b3a4fe8eb9f2e2e29f8834d028fd3edf038cd2f | 455 | NostalgiaScape | Creative Commons Attribution 3.0 Unported |
app/src/main/java/com/duckduckgo/app/tabs/store/TabSwitcherDataStore.kt | hojat72elect | 822,396,044 | false | {"Kotlin": 11627106, "HTML": 65873, "Ruby": 16984, "C++": 10312, "JavaScript": 5520, "CMake": 1992, "C": 1076, "Shell": 784} | package com.duckduckgo.app.tabs.store
import androidx.datastore.core.DataStore
import androidx.datastore.preferences.core.Preferences
import androidx.datastore.preferences.core.booleanPreferencesKey
import androidx.datastore.preferences.core.edit
import androidx.datastore.preferences.core.intPreferencesKey
import andr... | 0 | Kotlin | 0 | 0 | 54351d039b85138a85cbfc7fc3bd5bc53637559f | 3,073 | DuckDuckGo | Apache License 2.0 |
walletlibrary/src/test/java/com/microsoft/walletlibrary/requests/RequestResolverFactoryTest.kt | microsoft | 567,422,889 | false | null | package com.microsoft.walletlibrary.requests
import com.microsoft.walletlibrary.requests.input.VerifiedIdRequestInput
import com.microsoft.walletlibrary.requests.resolvers.RequestResolver
import com.microsoft.walletlibrary.util.ResolverMissingException
import com.microsoft.walletlibrary.util.UnSupportedInputException
... | 1 | Kotlin | 2 | 9 | d7c28891eaa6f6d4bd373be324cd61ba32776622 | 2,724 | entra-verifiedid-wallet-library-android | MIT License |
app/src/main/java/com/buchi/fullentry/movie/data/cache/MovieDao.kt | SunnyBe | 370,745,596 | false | null | package com.buchi.fullentry.movie.data.cache
import androidx.room.*
import com.buchi.core.base.BaseDao
import kotlinx.coroutines.flow.Flow
@Dao
interface MovieDao: BaseDao {
@Query("SELECT * FROM movie")
fun getAll(): List<MovieData>
@Query("SELECT * FROM movie WHERE id IN (:movieIds)")
fun loadAllB... | 0 | Kotlin | 1 | 0 | f4c1d6c8067c4149d357a4ded6e6455b60b15156 | 753 | MovieApp | The Unlicense |
src/main/kotlin/no/nav/k9/los/domene/repository/BehandlingProsessEventTilbakeRepository.kt | navikt | 238,874,021 | false | {"Kotlin": 1605106, "JavaScript": 741, "Shell": 659, "Dockerfile": 343, "PLpgSQL": 167} | package no.nav.k9.los.domene.repository
import kotliquery.queryOf
import kotliquery.sessionOf
import kotliquery.using
import no.nav.k9.los.domene.modell.K9TilbakeModell
import no.nav.k9.los.integrasjon.kafka.dto.BehandlingProsessEventTilbakeDto
import no.nav.k9.los.tjenester.innsikt.Databasekall
import no.nav.k9.los.u... | 9 | Kotlin | 0 | 0 | 8436f18b676df5c772d178a3b1ff1747657c8169 | 2,888 | k9-los-api | MIT License |
app/src/main/java/com/example/mywaycompose/domain/usecase/product_task/UseObserveProductTasksFirebase.kt | larkes-cyber | 739,078,285 | false | {"Kotlin": 575045} | package com.example.mywaycompose.domain.usecase.product_task
import android.util.Log
import com.example.mywaycompose.data.remote.firebase_model.FirebaseProductTask
import com.example.mywaycompose.domain.mapper.toProductTask
import com.example.mywaycompose.domain.model.ProductTask
import com.example.mywaycompose.domain... | 0 | Kotlin | 0 | 1 | 81ff3952a4aa8d83269a349ff52f8afb6a1156ff | 1,599 | PlannerApp | Apache License 2.0 |
android/src/newarch/AnalyticsampleSpec.kt | prakharbangar | 878,313,523 | false | {"Kotlin": 4948, "Ruby": 3264, "Objective-C": 2551, "TypeScript": 2277, "JavaScript": 1613, "Objective-C++": 1535, "C": 103, "Swift": 66} | package com.analyticsample
import com.facebook.react.bridge.ReactApplicationContext
abstract class AnalyticsampleSpec internal constructor(context: ReactApplicationContext) :
NativeAnalyticsampleSpec(context) {
}
| 0 | Kotlin | 0 | 0 | 83a50929dfb77c324bcbe583bda71174d2cc4d4d | 217 | sampleapp | MIT License |
jetbrains-core/src/software/aws/toolkits/jetbrains/services/lambda/java/JavaSamDebugSupport.kt | MaciejFed | 325,069,298 | true | {"Kotlin": 3150911, "C#": 96494, "Java": 15092, "Dockerfile": 637} | // Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
package software.aws.toolkits.jetbrains.services.lambda.java
import com.intellij.debugger.DebuggerManagerEx
import com.intellij.debugger.DefaultDebugEnvironment
import com.intellij.debugger.engine.JavaDeb... | 0 | null | 0 | 0 | c464ff20657e9091ac2ac9f22b91c2753d81ab26 | 3,344 | aws-toolkit-jetbrains | Apache License 2.0 |
model/src/test/kotlin/MergedAnalyzerResultTest.kt | enterstudio | 128,504,116 | true | {"Kotlin": 489933, "Shell": 1064} | /*
* Copyright (c) 2017-2018 HERE Europe B.V.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | 0 | Kotlin | 1 | 0 | 5b0ea0c292d1abfcef00b02250ae109cdebc6389 | 3,784 | oss-review-toolkit | Apache License 2.0 |
app/src/main/java/net/tnose/app/trisquel/ImportWorker.kt | plus7 | 117,273,066 | false | {"Kotlin": 627932, "Java": 1153} | package net.tnose.app.trisquel
import android.R
import android.annotation.SuppressLint
import android.app.Notification
import android.app.NotificationChannel
import android.app.NotificationChannelGroup
import android.app.NotificationManager
import android.app.PendingIntent
import android.content.ContentValues
import a... | 16 | Kotlin | 0 | 2 | 6c43ac8b89216421f9720e6d23d114f21a478ff3 | 25,661 | Trisquel | Apache License 2.0 |
showcase/src/main/kotlin/com/kevlar/showcase/ui/activities/antipiracy/APActivityViewModel.kt | kevlar-kt | 468,138,363 | false | {"Kotlin": 213285, "Shell": 3108} | /*
* Designed and developed by Kevlar Contributors.
*
* 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 applicab... | 0 | Kotlin | 2 | 70 | 893012a184562ce0220e4c023acddb088e8854fb | 1,648 | kevlar | Apache License 2.0 |
core-ui/src/main/java/fr/nihilus/music/core/ui/actions/ExcludeTrackAction.kt | thibseisel | 80,150,620 | false | null | /*
* Copyright 2021 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | 14 | Kotlin | 7 | 48 | 7d1f78301ae1dd0801cee48c98e8729e0a8248d1 | 1,320 | android-odeon | Apache License 2.0 |
kotlin/workflows/serverless-generator/src/main/kotlin/com/github/frtu/workflow/serverlessworkflow/state/AbstractStateBuilder.kt | frtu | 338,595,537 | false | {"Kotlin": 396231, "Java": 157399, "Shell": 10826, "Dockerfile": 248} | package com.github.frtu.workflow.serverlessworkflow.state
import com.github.frtu.workflow.serverlessworkflow.DslBuilder
import io.serverlessworkflow.api.end.End
import io.serverlessworkflow.api.states.DefaultState
import io.serverlessworkflow.api.transitions.Transition
/**
* Base class for Builder state
*
* @autho... | 0 | Kotlin | 0 | 1 | d641ca6826d57d91985da34492eff8a92ad9261e | 1,425 | lib-toolbox | Apache License 2.0 |
platform/backend/api/src/main/kotlin/io/hamal/api/http/endpoint/exec/ExecListController.kt | hamal-io | 622,870,037 | false | {"Kotlin": 1678862, "C": 1398401, "TypeScript": 47224, "Lua": 41508, "C++": 40651, "Makefile": 11728, "Java": 7564, "CMake": 2881, "JavaScript": 1532, "HTML": 694, "Shell": 449, "CSS": 118} | package io.hamal.api.http.endpoint.exec
import io.hamal.core.adapter.ListExecsPort
import io.hamal.lib.common.domain.Limit
import io.hamal.lib.domain.vo.ExecId
import io.hamal.lib.domain.vo.FuncId
import io.hamal.lib.domain.vo.GroupId
import io.hamal.lib.sdk.api.ApiExecList
import io.hamal.repository.api.ExecQueryRepo... | 6 | Kotlin | 0 | 0 | fd06bf799f18db2d425b7084abf15b741fa9878e | 1,758 | hamal | Creative Commons Zero v1.0 Universal |
src/main/kotlin/io/kotlintest/specs/BehaviorSpec.kt | terachanple | 92,839,408 | true | {"Kotlin": 148733} | package io.kotlintest.specs
import io.kotlintest.*
import org.junit.runner.RunWith
@RunWith(KTestJUnitRunner::class) // required to let IntelliJ discover tests
abstract class BehaviorSpec(body: BehaviorSpec.() -> Unit = {}) : Spec() {
init {
body()
}
fun Given(description: String, init: Given.() -> Unit):... | 0 | Kotlin | 0 | 0 | 6620bef3add4c0c199a4d636a77a9513c19a49c6 | 1,417 | kotlintest | Apache License 2.0 |
src/main/kotlin/org/crystal/intellij/lang/psi/CrCUnion.kt | asedunov | 353,165,557 | false | {"Kotlin": 1661507, "Java": 554445, "Crystal": 245131, "Lex": 192822, "HTML": 445} | package org.crystal.intellij.lang.psi
import com.intellij.lang.ASTNode
import org.crystal.intellij.lang.parser.CR_C_UNION_DEFINITION
import org.crystal.intellij.lang.stubs.api.CrCUnionStub
class CrCUnion : CrCStructLikeDefinition<CrCUnion, CrCUnionStub> {
constructor(stub: CrCUnionStub) : super(stub, CR_C_UNION_D... | 11 | Kotlin | 4 | 33 | 2e255da6c56a33109b8c58a0aa1a692abf977da2 | 451 | intellij-crystal-lang | Apache License 2.0 |
app/src/main/java/com/mobilescanner/main/feature_community/ui/ContentViewModel.kt | EricMoin | 706,004,415 | false | {"Kotlin": 165276} | package com.mobilescanner.main.feature_community.ui
import androidx.lifecycle.ViewModel
import com.mobilescanner.main.feature_community.data.item.ContentItem
class ContentViewModel : ViewModel() {
val contentList = mutableListOf<ContentItem>(
ContentItem(
"https://lmg.jj20.com/up/allimg/1115/1... | 0 | Kotlin | 0 | 0 | 64bd7ce7d204aed42c8575059bcf768930017990 | 2,287 | Open-MobileScanner | Apache License 2.0 |
android/airship-framework-proxy/src/main/java/com/urbanairship/android/framework/proxy/events/DisplayMessageCenterEvent.kt | urbanairship | 587,525,727 | false | null | /* Copyright Urban Airship and Contributors */
package com.urbanairship.android.framework.proxy.events
import com.urbanairship.android.framework.proxy.Event
import com.urbanairship.android.framework.proxy.EventType
import com.urbanairship.json.JsonMap
import com.urbanairship.json.jsonMapOf
/**
* Show inbox event.
... | 0 | Kotlin | 2 | 1 | 6bbb3a61cd9b5b0b2531263a9a9b2940d2f89bf3 | 572 | airship-mobile-framework-proxy | Apache License 2.0 |
src/main/kotlin/days/day2/Day2.kt | Stenz123 | 725,707,248 | false | {"Kotlin": 6120, "Shell": 862} | package days.day2
import days.Day
class Day2: Day(false) {
override fun partOne(): Any {
val games = readInput().map{
val id = it.substringBefore(":").substringAfter(" ").toInt()
val values = it.substringAfter(": ").replace(";",",").split(", ").map{ it ->
val color... | 0 | Kotlin | 1 | 0 | ae81fd2976e4fb58c701ff6400a8e7d173d6e09c | 2,202 | advent-of-code_2023 | The Unlicense |
feature/calendar/calendar/src/main/kotlin/com/ngapps/phototime/feature/calendar/calendar/color/CalendarColor.kt | ngapp-dev | 752,386,763 | false | {"Kotlin": 1833486, "Shell": 10136} | /*
* Copyright 2024 NGApps Dev (https://github.com/ngapp-dev). All rights reserved.
*
* 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
*
*... | 0 | Kotlin | 0 | 3 | bc1990bccd9674c6ac210fa72a56ef5318bf7241 | 3,080 | phototime | Apache License 2.0 |
src/main/kotlin/dev/shtanko/algorithms/leetcode/MinBitFlips.kt | ashtanko | 203,993,092 | false | {"Kotlin": 7520849, "Shell": 1168, "Makefile": 1144} | /*
* Copyright 2024 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | 6 | Kotlin | 0 | 19 | b8d05d3b10a8b16d156234775c655038cbbfac3c | 1,149 | Kotlin-Lab | Apache License 2.0 |
app/src/test/java/io/astronout/dicodingstoryapp/ui/auth/register/RegisterViewModelTest.kt | ariastro | 678,904,369 | false | null | package io.astronout.dicodingstoryapp.ui.auth.register
import io.astronout.dicodingstoryapp.domain.AuthUsecase
import io.astronout.dicodingstoryapp.utils.Dummies
import io.astronout.dicodingstoryapp.vo.Resource
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.flow.flow
import kotlinx.corou... | 0 | Kotlin | 0 | 0 | 7c85e2af777e4fa98aa9e9990d4800853b38ece9 | 2,599 | DicodingStoryApp | MIT License |
app/src/main/java/dev/mayank/cowinvaccinebook/view/adapter/BeneficiaryRvAdapter.kt | hackelite01 | 370,006,949 | false | null | package dev.mayank.cowinvaccinebook.view.adapter
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.databinding.DataBindingUtil
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.RecyclerView
import dev.mayank.cowinvaccinebook.R
import dev.mayank.cowinvaccine... | 0 | Kotlin | 0 | 3 | 36cdad2997c2f62a7ddf1ffa20ec2b35c65b0e73 | 3,050 | cowin-vaccine-booking | MIT License |
miniapp/src/main/java/com/rakuten/tech/mobile/miniapp/errors/MiniAppBridgeErrorModel.kt | rakutentech | 225,744,634 | false | {"Kotlin": 1372714} | package com.rakuten.tech.mobile.miniapp.errors
import androidx.annotation.Keep
/**
* A data class to prepare the json object of custom error to be sent from this to miniapp.
*/
@Keep
internal data class MiniAppBridgeErrorModel(
val type: String? = null,
val message: String? = null
)
| 9 | Kotlin | 35 | 73 | 466c9551161b1240cc4963d7108a342355b983de | 296 | android-miniapp | MIT License |
src/test/kotlin/guru/drako/eventer/alexa/ApplicationTest.kt | ChemnitzHackt | 108,638,262 | false | null | package guru.drako.eventer.alexa
import org.junit.jupiter.api.DisplayName
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.extension.ExtendWith
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.test.context.SpringBootTest
import org.springframework.boot.test.co... | 1 | Kotlin | 0 | 0 | 055d2e79c578987ae345057fbcbc12a25e947960 | 838 | eventer-alexa-skill | Apache License 2.0 |
VectorLib/src/test/kotlin/api/ConstructorTests.kt | cout970 | 68,244,385 | false | null | package api
import com.cout970.vector.extensions.*
import com.cout970.vector.impl.*
import org.junit.Assert
import org.junit.Test
class ConstructorTests {
@Test
fun `Tests basic constructors`() {
val a1 = vec2Of(1, 2)
val a2 = mutableVec2Of(3, 4)
val a3 = vec3Of(5, 6, 7)
val a... | 0 | Kotlin | 0 | 0 | 069683154d3f516e04af8a7088662a68ce4d8fc4 | 4,794 | Libraries | MIT License |
src/main/kotlin/algorithms/NumUtils.kt | xmmmmmovo | 280,634,710 | false | null | /*
* Copyright (c) 2020. xmmmmmovo
*/
package algorithms
import ds.LinkedList
import edu.princeton.cs.algs4.StdRandom
import ext.compareTo
/**
* 蛮力法求三数之和
* @author xmmmmmovo
* @date 2020/7/28 16:09
* @param list 数字列表
* @param num 所求的数字
* @return 满足条件的个数
* @since version-1.0
*/
fun threeSumForce(list: List<I... | 0 | Kotlin | 0 | 0 | 94da0519cf2b8d8a9b42b4aea09caf50d9732599 | 3,403 | Algorithms4thEditionKotlinSolutions | Apache License 2.0 |
library/src/main/java/dev/luckybet100/android/dragging/rotation/MatrixGestureDetector.kt | luckybet100 | 312,357,415 | false | {"Kotlin": 25141} | package dev.luckybet100.android.dragging.rotation
import android.graphics.Matrix
import android.util.Log
import android.view.MotionEvent
import dev.luckybet100.android.dragging.utils.getPointerPosition
class MatrixGestureDetector(private val listener: OnRotationGestureListener) {
interface OnRotationGestureList... | 0 | Kotlin | 0 | 0 | d735cbc4c59c04fd5dad42d16f7a38ba5418cb85 | 3,159 | android-custom-elements | Apache License 2.0 |
smash-ranks-android/app/src/main/java/com/garpr/android/features/favoritePlayers/AddOrRemovePlayerFromFavoritesDialogFragment.kt | charlesmadere | 41,832,700 | true | null | package com.garpr.android.features.favoritePlayers
import android.os.Bundle
import android.view.HapticFeedbackConstants
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.lifecycle.Observer
import com.garpr.android.R
import com.garpr.android.data.models.FavoritePl... | 0 | Kotlin | 0 | 9 | 151b2a0f9b4d38be60c3f73344ca444f17810bfd | 3,662 | smash-ranks-android | The Unlicense |
buildSrc/src/main/kotlin/lwjgl.kt | wgpu4k | 773,068,055 | false | {"Kotlin": 1190676, "HTML": 1638, "Dockerfile": 1039, "Shell": 308} | val lwjglVersion = "3.3.3" | 7 | Kotlin | 6 | 41 | 822c304afaa72411ae42e86f20c7b5c62b5f9815 | 26 | wgpu4k | MIT License |
app/src/main/java/com/fredprojects/helloworld/ui/theme/Theme.kt | FredNekrasov | 832,214,231 | false | {"Kotlin": 296555} | package com.fredprojects.helloworld.ui.theme
import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.material.*
import androidx.compose.runtime.Composable
private val DarkColorScheme = darkColors(
primary = Purple80, secondary = PurpleGrey80, primaryVariant = Pink80
)
private val LightColo... | 0 | Kotlin | 0 | 1 | 591c08f769e2d56f50c1480d7e81061e82fa6f11 | 1,021 | jetpack-compose-projects | MIT License |
MyEcMall-K/OrderCenter/src/main/java/cn/nieking/ordercenter/presenter/view/OrderDetailView.kt | NieQing | 132,399,328 | false | {"Kotlin": 241813, "Java": 7791} | package cn.nieking.ordercenter.presenter.view
import cn.nieking.baselibrary.presenter.view.BaseView
import cn.nieking.ordercenter.data.protocol.Order
interface OrderDetailView : BaseView {
fun onGetOrderByIdResult(result: Order)
}
| 0 | Kotlin | 0 | 0 | 07b22622f98c8bfd8b26ea1303d48f6d66cc4b4b | 238 | MyEcMall-K | Apache License 2.0 |
compiler/testData/diagnostics/tests/delegatedProperty/incompleteTypeInference.fir.kt | JetBrains | 3,432,266 | false | {"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML... | // DIAGNOSTICS: -UNUSED_PARAMETER
import kotlin.reflect.KProperty
class A
class D {
val c: Int <!DELEGATE_SPECIAL_FUNCTION_MISSING!>by<!> IncorrectThis<A>()
}
val cTopLevel: Int <!DELEGATE_SPECIAL_FUNCTION_MISSING!>by<!> IncorrectThis<A>()
class IncorrectThis<T> {
fun <R> get(t: Any?, p: KProperty<*>): Int... | 181 | Kotlin | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 348 | kotlin | Apache License 2.0 |
features/media/src/main/kotlin/app/ss/media/playback/service/MusicService.kt | Adventech | 65,243,816 | false | null | /*
* Copyright (c) 2023. Adventech <<EMAIL>>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge... | 11 | Kotlin | 43 | 147 | 9a8fd1a712c83814f37b75c1549b297e7f90bbd1 | 5,323 | sabbath-school-android | MIT License |
app/src/main/java/com/dvird/enterprise_iot_architecture/app/App.kt | dvird | 164,823,805 | false | null | package com.dvird.enterprise_iot_architecture.app
import android.app.Application
class App : Application() {
} | 0 | Kotlin | 0 | 0 | 4847afe2b844f165c8ca3ba8293c9123d809cda6 | 113 | enterprise-iot-architecture | Apache License 2.0 |
docker/spring/code/src/main/kotlin/ch/derlin/bbdata/output/api/user_groups/UserGroupRepository.kt | bukibarak | 412,392,282 | true | {"Kotlin": 337287, "JavaScript": 110303, "HTML": 55821, "Jupyter Notebook": 39748, "Shell": 15337, "CSS": 8790, "Dockerfile": 1544, "Python": 1320, "Batchfile": 17} | package ch.derlin.bbdata.output.api.user_groups
import org.springframework.data.jpa.repository.JpaRepository
import org.springframework.data.jpa.repository.Query
import org.springframework.stereotype.Repository
import java.util.*
/**
* date: 06.12.19
* @author <NAME> <<EMAIL>>
*/
@Repository
interface UserGroupRe... | 0 | Kotlin | 1 | 0 | 638eef5e2d63882328cfcaf31ea8a3bdf11b98c9 | 844 | bbdata-api | MIT License |
src/backendMain/kotlin/io/joaofig/vedmap/databases/ClusterPointTable.kt | joaofig | 437,581,924 | false | null | package io.joaofig.vedmap.databases
import org.jetbrains.exposed.dao.IntEntity
import org.jetbrains.exposed.dao.IntEntityClass
import org.jetbrains.exposed.dao.id.EntityID
import org.jetbrains.exposed.dao.id.IntIdTable
import org.jetbrains.exposed.sql.Column
object ClusterPointTable : IntIdTable(name = "cluster_point... | 0 | Kotlin | 0 | 1 | 6b11d1183cc48526612a33967c516a5bfcbc6e07 | 881 | ved-map | MIT License |
app/src/main/kotlin/com/reach/modernandroid/ui/App.kt | Reach2027 | 741,563,053 | false | {"Kotlin": 56430} | /*
* Copyright 2024 Reach Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | 0 | Kotlin | 0 | 1 | 44cc1cacdd2e5362d0c7b4d159e31a9ab55d3232 | 3,585 | ModernAndroid | Apache License 2.0 |
sms-core/src/main/kotlin/team/msg/sms/domain/student/service/impl/CommandStudentServiceImpl.kt | GSM-MSG | 625,717,097 | false | {"Kotlin": 458135, "Shell": 1480, "Dockerfile": 288} | package team.msg.sms.domain.student.service.impl
import team.msg.sms.common.annotation.Service
import team.msg.sms.domain.student.model.Student
import team.msg.sms.domain.student.service.CommandStudentService
import team.msg.sms.domain.student.spi.StudentPort
import team.msg.sms.domain.user.model.User
import java.util... | 7 | Kotlin | 0 | 9 | 4c6c206cdd7cdaf8d28e0ab6d53de504298cb60b | 645 | SMS-BackEnd | MIT License |
walletconnectv2/src/main/kotlin/com/walletconnect/walletconnectv2/storage/KeyStore.kt | securewalletrevalidate | 442,118,839 | false | {"Kotlin": 215502} | package com.walletconnect.walletconnectv2.storage
import com.walletconnect.walletconnectv2.crypto.data.Key
interface KeyStore {
fun setKey(tag: String, key1: Key, key2: Key)
fun getKeys(tag: String): Pair<String, String>
fun deleteKeys(tag: String)
} | 0 | Kotlin | 0 | 0 | c774b674cc9bb8b8709999f85500f59f25e508d0 | 264 | WallectConnectKotlinV22 | Apache License 2.0 |
src/main/kotlin/com/brand4impact/client/apis/SectorApi.kt | brand4impact | 476,640,560 | false | null | /**
* Total API Reference
*
* Este contrato se usara para generar los clientes con todos los servicios necesarios. `!Uso exclusivo interno!` ---
*
* The version of the OpenAPI document: 0.0.1
* Contact: support@brand4impact.com
*
* Please note:
* This class is auto generated by OpenAPI Generato... | 0 | Kotlin | 0 | 0 | 8d087bc04ef596e581c9b14665bc0264dd859d82 | 7,877 | brand4impact-kotlin-sdk | MIT License |
travelmaker_android/app/src/main/java/com/gumibom/travelmaker/data/api/google/GoogleLocationSearchService.kt | serotonins | 808,489,421 | false | {"Kotlin": 481004, "Java": 174550, "HTML": 4622, "Dockerfile": 516} | package com.gumibom.travelmaker.data.api.google
import com.gumibom.travelmaker.data.dto.google.GoogleLocationDTO
import retrofit2.Response
import retrofit2.http.GET
import retrofit2.http.Query
interface GoogleLocationSearchService {
@GET("/maps/api/geocode/json")
suspend fun findGoogleLocationSearch(
... | 0 | Kotlin | 0 | 0 | eb8dee9dd6979722026a6d20fab96b56c4a63b1b | 436 | TravelMaker | MIT License |
core/common/src/main/kotlin/cn/wj/android/cashbook/core/common/tools/Time.kt | WangJie0822 | 365,932,300 | false | {"Kotlin": 1323186, "Java": 1271087} | @file:Suppress("unused")
@file:JvmName("TimeTools")
package cn.wj.android.cashbook.core.common.tools
import cn.wj.android.cashbook.core.common.ext.logger
import java.text.ParseException
import java.text.SimpleDateFormat
import java.time.Instant
import java.time.LocalDate
import java.time.ZoneId
import java.time.ZoneO... | 0 | Kotlin | 7 | 23 | 004fb1d6e81ff60fd9e8cb46dc131107a720bbe5 | 3,111 | Cashbook | Apache License 2.0 |
domain/api/src/nativeMain/kotlin/mehiz/abdallah/progres/api/ApiModule.native.kt | abdallahmehiz | 830,308,163 | false | {"Kotlin": 449026, "Swift": 621} | package mehiz.abdallah.progres.api
import io.ktor.client.engine.HttpClientEngine
import io.ktor.client.engine.darwin.Darwin
actual val engine: HttpClientEngine = Darwin.create()
| 1 | Kotlin | 0 | 8 | 331d3c6c8caa126fdc7df033f2574cd3aa8f8e80 | 180 | progres | MIT License |
core/src/main/java/io/github/thisdk/core/cookie/AppCookie.kt | thisdk | 518,834,164 | false | {"Kotlin": 21141} | package io.github.thisdk.core.cookie
import android.os.Parcelable
import kotlinx.parcelize.Parcelize
import kotlinx.serialization.Serializable
@Parcelize
@Serializable
data class AppCookie(
val name: String,
val value: String,
val expiresAt: Long,
val domain: String,
val path: String,
val secu... | 0 | Kotlin | 0 | 0 | f9226751072c7687f915ef842c153d022bae767f | 1,589 | core | Apache License 2.0 |
core/src/main/java/io/github/thisdk/core/cookie/AppCookie.kt | thisdk | 518,834,164 | false | {"Kotlin": 21141} | package io.github.thisdk.core.cookie
import android.os.Parcelable
import kotlinx.parcelize.Parcelize
import kotlinx.serialization.Serializable
@Parcelize
@Serializable
data class AppCookie(
val name: String,
val value: String,
val expiresAt: Long,
val domain: String,
val path: String,
val secu... | 0 | Kotlin | 0 | 0 | f9226751072c7687f915ef842c153d022bae767f | 1,589 | core | Apache License 2.0 |
services/hanke-service/src/main/kotlin/fi/hel/haitaton/hanke/tormaystarkastelu/TormaystarkasteluTulos.kt | City-of-Helsinki | 300,534,352 | false | null | package fi.hel.haitaton.hanke.tormaystarkastelu
import javax.persistence.Column
import javax.persistence.Embeddable
import javax.persistence.EnumType
import javax.persistence.Enumerated
// TODO: Only hankeTunnus to be used as part of equals(), hashCode() and copy() auto-implementations?
// For now we only have one r... | 1 | Kotlin | 4 | 1 | 89ac42586cfb1355f79b09062ba54736a4a6adfd | 2,681 | haitaton-backend | MIT License |
app/src/main/java/me/blog/korn123/easydiary/fragments/CalendarFragment.kt | TimMagee | 208,467,729 | true | {"Kotlin": 583300} | package me.blog.korn123.easydiary.fragments
import com.roomorama.caldroid.CaldroidFragment
import com.roomorama.caldroid.CaldroidGridAdapter
import me.blog.korn123.easydiary.adapters.CaldroidItemAdapter
import me.blog.korn123.easydiary.adapters.WeekdayArrayAdapter
class CalendarFragment : CaldroidFragment() {
ov... | 0 | null | 0 | 0 | 2e83fc637cae8096c46c3d55e9675fb59aaf046b | 749 | aaf-easydiary | Apache License 2.0 |
WeatherApp/app/src/main/java/com/azhar/weatherapp/adapter/MainAdapter.kt | AzharRivaldi | 302,811,123 | false | null | package com.azhar.weatherapp.adapter
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.cardview.widget.CardView
import androidx.recyclerview.widget.RecyclerView
import com.airbnb.lottie.LottieAnimationView
import com.amulyakhare.tex... | 0 | Kotlin | 6 | 20 | 8420a359e2b45e0ceed2c982a075ce1b3a727b98 | 3,187 | Weather | Apache License 2.0 |
app/src/main/java/com/crjacinro/composepathfinding/State.kt | crjacinro | 381,725,166 | false | null | package com.crjacinro.composepathfinding
import com.crjacinro.composepathfinding.algorithms.startDijkstra
import com.crjacinro.composepathfinding.data.CellData
import com.crjacinro.composepathfinding.data.Position
import com.crjacinro.composepathfinding.ui.composables.CellType
import kotlinx.coroutines.delay
class St... | 0 | Kotlin | 2 | 34 | bd709e815694105f4b4bbcb56f7d7f9d662daccd | 3,182 | compose-path-finding | MIT License |
app/src/main/java/com/technocreatives/example/bond/PermissionsService.kt | technocreatives | 364,517,134 | false | null | package com.technocreatives.example.bond
import android.content.Intent
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import androidx.fragment.app.Fragment
import com.technocreatives.example.bond.domain.LocationPermissionState
import pub.devrel.easypermissions.AppSettingsDialog
import pub.... | 1 | Kotlin | 1 | 8 | 2e252df19c02104821c393225ee8d5abefa07b74 | 4,004 | beckon-android | Apache License 2.0 |
src/main/java/miyucomics/hexical/casting/patterns/getters/types/OpGetFoodTypeData.kt | miyucomics | 757,094,041 | false | {"Kotlin": 310151, "Java": 29667, "GLSL": 1353} | package miyucomics.hexical.casting.patterns.getters.types
import at.petrak.hexcasting.api.spell.ConstMediaAction
import at.petrak.hexcasting.api.spell.asActionResult
import at.petrak.hexcasting.api.spell.casting.CastingContext
import at.petrak.hexcasting.api.spell.iota.Iota
import at.petrak.hexcasting.api.spell.mishap... | 0 | Kotlin | 1 | 1 | ed8abb4c4339166f2d21872999d1379615e82e36 | 1,060 | hexical | MIT License |
app/src/main/java/com/githubly/wanandroid/presenter/LogoutPresenter.kt | leiyun1993 | 153,766,139 | false | null | package com.githubly.wanandroid.presenter
import com.githubly.wanandroid.contract.ILogoutContract
import com.githubly.wanandroid.net.ApiCallBack
import com.githubly.wanandroid.net.ApiHelper
import com.githubly.wanandroid.presenter.base.BasePresenter
/**
* 类名:LogoutPresenter
* 作者:Yun.Lei
* 功能:
* 创建日期:2018-10-22 16... | 0 | Kotlin | 0 | 45 | abd7c07203f9e03e40ce436f23c4086913a0b0ec | 732 | WanAndroid | Apache License 2.0 |
web/src/main/kotlin/fr/arsenelapostolet/fsa_banking_system/app/templates/CreateAccountPage.kt | Ombrelin | 664,083,827 | false | null | package fr.arsenelapostolet.fsa_banking_system.app.templates
import fr.arsenelapostolet.fsa_banking_system.bank.entities.Operation
import fr.arsenelapostolet.fsa_banking_system.bank.entities.Rank
import kotlinx.html.*
internal fun FlowContent.createAccountPage(ranks: Collection<Rank>) {
div(classes = "center") {... | 0 | Kotlin | 0 | 0 | 9561658b519e95afbc9f810c52b2ac4361f11019 | 1,317 | fsa-banking-system | MIT License |
app/src/main/java/com/alexandre/myquotes/model/UserData.kt | alexandre7777 | 131,637,016 | false | null | package com.alexandre.myquotes.model
import android.arch.persistence.room.Entity
import android.arch.persistence.room.PrimaryKey
import android.arch.persistence.room.ColumnInfo
@Entity(tableName = "userData")
data class UserData(@PrimaryKey(autoGenerate = true) var id: Long?,
@ColumnInfo(name = "l... | 0 | Kotlin | 0 | 0 | b03804ea875178fd37d51f8c69d429ceb89d0894 | 566 | my-quotes | MIT License |
ocpp-2-0-core/src/main/kotlin/com/izivia/ocpp/core20/model/changeavailability/enumeration/OperationalStatusEnumType.kt | IZIVIA | 501,708,979 | false | {"Kotlin": 1934096} | package com.izivia.ocpp.core20.model.changeavailability.enumeration
enum class OperationalStatusEnumType(val value: String) {
Inoperative("Inoperative"),
Operative("Operative");
} | 6 | Kotlin | 10 | 32 | bd8e7334ae05ea75d02d96a508269acbe076bcd8 | 189 | ocpp-toolkit | MIT License |
app/shared/feature-flag/public/src/commonMain/kotlin/build/wallet/feature/FeatureFlagInitializer.kt | proto-at-block | 761,306,853 | false | {"C": 10424094, "Kotlin": 7156393, "Rust": 2046237, "Swift": 700307, "Python": 331492, "HCL": 271992, "Shell": 111209, "TypeScript": 102700, "C++": 64770, "Meson": 64234, "JavaScript": 36227, "Just": 28071, "Ruby": 9428, "Dockerfile": 5731, "Makefile": 3839, "Open Policy Agent": 1552, "Procfile": 80} | package build.wallet.feature
/**
* A common place for flag initialization that should be used at app launch to
* initialize all flags from the persistent store.
*/
interface FeatureFlagInitializer {
/**
* Initializes all flags managed by this component from the persistent store
* (calls [initializeFromDao] ... | 0 | C | 10 | 98 | 1f9f2298919dac77e6791aa3f1dbfd67efe7f83c | 372 | bitkey | MIT License |
src/main/kotlin/io/github/ay012/aysignvariable/command/AySignCommand.kt | AyOl2 | 854,650,661 | false | {"Kotlin": 8696} | package io.github.ay012.aysignvariable.command
import io.github.ay012.aysignvariable.AySignVariable.config
import io.github.ay012.aysignvariable.api.AySignAPI
import io.github.ay012.aysignvariable.util.KetherUtil
import io.github.ay012.aysignvariable.util.TimeUtil.isOver24Hours
import io.github.ay012.aysignvariable.ut... | 0 | Kotlin | 0 | 0 | 35fa020522503f8a645c60560af98d3090732ecd | 1,958 | AySignVariable | Creative Commons Zero v1.0 Universal |
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/Hours24.kt | walter-juan | 868,046,028 | false | {"Kotlin": 20416825} | package com.woowla.compose.icon.collections.tabler.tabler.outline
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector... | 0 | Kotlin | 0 | 1 | b037895588c2f62d069c724abe624b67c0889bf9 | 3,990 | compose-icon-collections | MIT License |
domains/domain_common/src/main/java/com/bael/dads/domain/common/ext/ListExt.kt | virendersran01 | 356,644,618 | true | {"Kotlin": 200059} | package com.bael.dads.domain.common.ext
import com.bael.dads.domain.common.response.Response
import com.bael.dads.domain.common.response.Response.Success
/**
* Created by ErickSumargo on 01/01/21.
*/
fun <T> List<Response<T>>.findSuccess(): Success<T>? {
return firstOrNull { it is Success } as? Success
}
| 0 | null | 0 | 1 | 0dab6bcc5d7a6f726140e80fc21f503ab8b07c07 | 315 | Dads | MIT License |
keel-core/src/test/kotlin/com/netflix/spinnaker/keel/actuation/CheckSchedulerTests.kt | evansb | 242,371,391 | true | {"Kotlin": 1371208, "Java": 9170, "Shell": 2086} | package com.netflix.spinnaker.keel.actuation
import com.netflix.spinnaker.keel.SPINNAKER_API_V1
import com.netflix.spinnaker.keel.persistence.AgentLockRepository
import com.netflix.spinnaker.keel.persistence.DeliveryConfigRepository
import com.netflix.spinnaker.keel.persistence.ResourceRepository
import com.netflix.sp... | 0 | null | 0 | 0 | 738c3f2998264c090e645dcf71ef252ad8349b9a | 3,471 | keel | Apache License 2.0 |
android/src/newarch/RnScheduleClearCacheSpec.kt | scantarbian | 854,623,482 | false | {"Kotlin": 8724, "TypeScript": 4307, "Ruby": 2018, "JavaScript": 1722, "Objective-C++": 740, "Objective-C": 260, "C": 103, "Swift": 72} | package com.rnscheduleclearcache
import com.facebook.react.bridge.ReactApplicationContext
abstract class RnScheduleClearCacheSpec internal constructor(context: ReactApplicationContext) :
NativeRnScheduleClearCacheSpec(context) {}
| 0 | Kotlin | 0 | 0 | 2ab722290a54d763e446cdaf22f53631a653934b | 240 | rn-schedule-clear-cache | MIT License |
android/src/newarch/RnScheduleClearCacheSpec.kt | scantarbian | 854,623,482 | false | {"Kotlin": 8724, "TypeScript": 4307, "Ruby": 2018, "JavaScript": 1722, "Objective-C++": 740, "Objective-C": 260, "C": 103, "Swift": 72} | package com.rnscheduleclearcache
import com.facebook.react.bridge.ReactApplicationContext
abstract class RnScheduleClearCacheSpec internal constructor(context: ReactApplicationContext) :
NativeRnScheduleClearCacheSpec(context) {}
| 0 | Kotlin | 0 | 0 | 2ab722290a54d763e446cdaf22f53631a653934b | 240 | rn-schedule-clear-cache | MIT License |
app/src/main/java/com/steleot/jetpackcompose/playground/compose/constraintlayout/BarrierScreen.kt | Vivecstel | 338,792,534 | false | {"Kotlin": 1538487} | package com.steleot.jetpackcompose.playground.compose.constraintlayout
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding
//noinspection UsingMaterialAndMaterial3L... | 1 | Kotlin | 46 | 346 | 0161d9c7bf2eee53270ba2227a61d71ba8292ad0 | 2,405 | Jetpack-Compose-Playground | Apache License 2.0 |
shared/domain/src/commonMain/kotlin/ly/david/musicsearch/shared/domain/place/PlaceDetailsModel.kt | lydavid | 458,021,427 | false | {"Kotlin": 1934721, "HTML": 1854067, "Swift": 4205, "Python": 3527, "Shell": 1594, "Ruby": 955} | package ly.david.musicsearch.shared.domain.place
import ly.david.musicsearch.shared.domain.LifeSpanUiModel
import ly.david.musicsearch.shared.domain.listitem.AreaListItemModel
import ly.david.musicsearch.shared.domain.listitem.RelationListItemModel
data class PlaceDetailsModel(
override val id: String,
overri... | 115 | Kotlin | 0 | 45 | 3ab7303fca3a33f1a64e88ef3b411198fb25477c | 678 | MusicSearch | Apache License 2.0 |
androidApp/src/main/java/com/somabits/spanish/android/SpanishApp.kt | chiljamgossow | 581,781,635 | false | null | package com.somabits.spanish.android
import android.app.Application
import com.somabits.spanish.android.di.androidModule
import com.somabits.spanish.android.di.viewModelModule
import com.somabits.spanish.di.appModule
import org.koin.android.ext.koin.androidContext
import org.koin.core.context.GlobalContext
import timb... | 0 | Kotlin | 0 | 0 | d7e8581b081ba3e3a27701e9d6fce038ec747716 | 625 | Spanish | MIT License |
feature-account-impl/src/main/java/io/novafoundation/nova/feature_account_impl/presentation/account/details/mixin/WalletDetailsMixin.kt | novasamatech | 415,834,480 | false | {"Kotlin": 9662409, "Java": 16389, "Rust": 15215, "JavaScript": 425} | package io.novafoundation.nova.feature_account_impl.presentation.account.details.mixin
import io.novafoundation.nova.common.list.GroupedList
import io.novafoundation.nova.common.list.headers.TextHeader
import io.novafoundation.nova.common.list.toListWithHeaders
import io.novafoundation.nova.feature_account_api.domain.... | 18 | Kotlin | 26 | 32 | 26d530400c30d00b08b23f9d69411f1719566930 | 1,577 | nova-wallet-android | Apache License 2.0 |
app/src/main/java/com/afra/cheforia/model/Recipe.kt | afradigm | 853,749,359 | false | {"Kotlin": 50350} | package com.afra.cheforia.model
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class Recipe(
val id: Int,
val title: String,
val rate: String,
val ingredients: List<String>,
val instructions: List<String>,
@SerialName(value = "cooking_time"... | 1 | Kotlin | 0 | 1 | 0e583ca99c9df4af703c8ddb27ca28e34cc03057 | 402 | cheforia-android-app | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.