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/fevziomurtekin/deezer/ui/artist/details/related/ArtistRelatedFragment.kt | fevziomurtekin | 298,590,204 | false | null | package com.fevziomurtekin.deezer.ui.artist.details.related
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.annotation.VisibleForTesting
import androidx.core.os.bundleOf
import androidx.fragment.app.viewModels
import androidx.navigation... | 6 | Kotlin | 10 | 92 | d93261ba3b0e51dfce0e532d79c592ca1a55be40 | 2,438 | DeezerClone | Apache License 2.0 |
app/src/main/java/com/kotlin/sacalabici/framework/views/fragments/ModifyActivityInfoFragment.kt | Saca-la-Bici | 849,110,267 | false | {"Kotlin": 595596} | package com.kotlin.sacalabici.framework.views.fragments
import android.app.Activity
import android.app.DatePickerDialog
import android.content.Context
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import android.provider.MediaStore
import android.text.Editable
import android.text.TextWa... | 1 | Kotlin | 1 | 1 | b8a06baa119ffb0d355d1ae7fe7e607bb8f1c52c | 19,594 | app-android | MIT License |
app/src/main/java/com/tandroosti/eua/navigation/TopLevelDestination.kt | er-abhishek-luthra | 680,542,823 | false | null | /*
* Copyright 2022 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 0 | Kotlin | 0 | 0 | 1e149e4b9b6b13509ba1e2aa9a8cb961d27f86f0 | 2,015 | Tandroosti-android | Apache License 2.0 |
src/main/kotlin/com/github/jaytobi/controller/UserController.kt | jayTobi | 123,141,173 | false | null | package com.github.jaytobi.controller
import com.github.jaytobi.model.User
import com.github.jaytobi.service.UserService
import org.slf4j.Logger
import org.slf4j.LoggerFactory
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.hateoas.mvc.ControllerLinkBuilder
import org.springfra... | 0 | Kotlin | 0 | 0 | d17f32c8bb7f739e2789ecdf46e946bff3c776b7 | 3,661 | kotlin-spring-microservice | Apache License 2.0 |
designtokens/src/main/java/com/seljabali/designtokens/transparency/TransparencyViewHolder.kt | whether-jacket | 183,982,379 | false | null | package com.seljabali.designtokens.transparency
import android.view.View
import com.google.android.material.textview.MaterialTextView
import androidx.recyclerview.widget.RecyclerView
import com.seljabali.core.utilities.Res
import com.seljabali.core.utilities.setUnderlined
import com.seljabali.designtokens.R
class Tra... | 22 | Kotlin | 1 | 16 | ec0d1390c86f11a49ee8023285d6842649d4b85b | 1,179 | weather-app-2020-android | Creative Commons Zero v1.0 Universal |
app/src/main/java/org/p2p/wallet/striga/model/StrigaDataLayerResult.kt | p2p-org | 306,035,988 | false | null | package org.p2p.wallet.striga.model
sealed interface StrigaDataLayerResult<out T> {
data class Success<T>(val value: T) : StrigaDataLayerResult<T>
class Failure<T>(val error: StrigaDataLayerError) : StrigaDataLayerResult<T>
@Throws(StrigaDataLayerError::class)
fun unwrap(): T = when (this) {
i... | 8 | Kotlin | 16 | 28 | 71b282491cdafd26be1ffc412a971daaa9c06c61 | 1,199 | key-app-android | MIT License |
core/ui/src/main/java/com/nphausg/app/ui/components/color/Gradient.kt | nphausg | 419,804,384 | false | {"Kotlin": 60196, "HTML": 4396, "Shell": 90} | /*
* Created by nphau on 4/10/24, 8:58 PM
* Copyright (c) 2024 . All rights reserved.
* Last modified 4/10/24, 8:33 PM
*/
package com.nphausg.app.ui.components.color
import androidx.compose.runtime.Immutable
import androidx.compose.runtime.staticCompositionLocalOf
import androidx.compose.ui.graphics.Color
/**
*... | 0 | Kotlin | 7 | 32 | 8ff1c94279e4e28417a24e4f5c255c074bce9ca1 | 885 | android.embeddedserver | MIT License |
sphinx/screens/splash/splash/src/main/java/chat/sphinx/splash/ui/SplashViewState.kt | stakwork | 340,103,148 | false | {"Kotlin": 4002503, "Java": 403469, "JavaScript": 4745, "HTML": 4706, "Shell": 2453} | package chat.sphinx.splash.ui
import io.matthewnelson.concept_views.viewstate.ViewState
@Suppress("ClassName")
internal sealed class SplashViewState: ViewState<SplashViewState>() {
object Idle: SplashViewState()
} | 96 | Kotlin | 8 | 18 | 4fd9556a4a34f14126681535558fe1e39747b323 | 219 | sphinx-kotlin | MIT License |
korge-k3d/src/commonMain/kotlin/korlibs/korge3d/shape/Cylinder3D.kt | korlibs | 607,166,953 | false | null | package korlibs.korge3d.shape
import korlibs.graphics.*
import korlibs.korge3d.*
import korlibs.korge3d.util.*
import korlibs.math.geom.*
import kotlin.math.*
// https://chat.openai.com/share/abe38a64-ade0-4f25-a458-14f7330c6c93
inline fun Container3D.cylinder(radius: Number, callback: Cylinder3D.() -> Unit = {}): C... | 6 | Kotlin | 1 | 3 | 66f5a5d0057ee0c227d7e000a4489ad1bd2dc752 | 2,233 | korge-k3d | MIT License |
sample/common/src/main/kotlin/com/walletconnect/sample/common/ui/commons/Loaders.kt | WalletConnect | 435,951,419 | false | null | package com.walletconnect.sample.common.ui.commons
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material.CircularProgressIndicator
import androidx.compose.material.MaterialTheme
import androidx.... | 156 | null | 71 | 171 | dda3aac207a2c9d9696764efd4a2f5bb585707b4 | 824 | WalletConnectKotlinV2 | Apache License 2.0 |
simulator/runtime/src/test/kotlin/net/corda/simulator/runtime/signing/SimWithJsonSigningServiceTest.kt | corda | 346,070,752 | false | null | package net.corda.simulator.runtime.signing
import net.corda.simulator.crypto.HsmCategory
import net.corda.simulator.runtime.serialization.SimpleJsonMarshallingService
import net.corda.v5.crypto.SignatureSpec
import org.hamcrest.MatcherAssert.assertThat
import org.hamcrest.Matchers.`is`
import org.junit.jupiter.api.Te... | 71 | null | 9 | 42 | 6ef36ce2d679a07abf7a5d95a832e98bd4d4d763 | 2,213 | corda-runtime-os | Apache License 2.0 |
gremlin-kore/src/main/kotlin/org/apache/tinkerpop4/gremlin/language/grammar/TraversalStrategyVisitor.kt | phreed | 449,920,526 | false | {"Java": 12267812, "Kotlin": 3878234, "C#": 1500464, "Python": 566321, "Gherkin": 438600, "Groovy": 345265, "JavaScript": 229293, "TypeScript": 154521, "Shell": 61593, "ANTLR": 43774, "Dockerfile": 6202, "XSLT": 4410, "Batchfile": 3977, "Awk": 2335} | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 4 | null | 1 | 1 | cb6805d686e9a27caa8e597b0728a50a63dc9092 | 8,407 | tinkerpop4 | Apache License 2.0 |
zipline/src/hostTest/kotlin/app/cash/zipline/ZiplineCryptographyTest.kt | cashapp | 41,445,081 | false | {"C": 2214152, "Kotlin": 1352475, "C++": 39612, "Shell": 1471, "CMake": 871, "JavaScript": 313} | /*
* Copyright (C) 2024 Cash App
*
* 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 t... | 83 | C | 154 | 2,043 | e7ad22ac5110a20686035b616aef190814472d19 | 3,029 | zipline | Apache License 2.0 |
ui/widget/src/main/kotlin/ru/maksonic/beresta/ui/widget/LoadingViewState.kt | maksonic | 580,058,579 | false | null | package ru.maksonic.beresta.ui.widget
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.size
import androidx.compose.material3.CircularProgressIndicator
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alig... | 0 | Kotlin | 0 | 0 | b1c3480b9e715f7f02302b955af64cf032e4224a | 1,061 | Beresta | MIT License |
src/main/kotlin/com/finnhub/api/models/IndicesHistoricalConstituents.kt | RustamSitdikov | 332,397,444 | true | {"Kotlin": 251996, "Shell": 59} | /**
* Finnhub API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit th... | 0 | null | 0 | 0 | dbb83dc2868e56cbd5a372cec8aeb010881f02e3 | 939 | finnhub-kotlin | Apache License 2.0 |
catalogservice/src/main/kotlin/it/polito/master/ap/group6/ecommerce/catalogservice/controllers/WalletController.kt | franckies | 367,363,459 | false | null | //======================================================================================================================
// Libraries
//======================================================================================================================
//------- package declaration --------------------------------... | 0 | Kotlin | 0 | 0 | 884650f45ba385ee98ee0d0fa685404865169e74 | 6,264 | ecommerce-api | Apache License 2.0 |
device-server/src/main/kotlin/com/badoo/automation/deviceserver/host/SimulatorProvider.kt | kudrykun | 192,510,849 | true | {"Kotlin": 346701, "Ruby": 19894, "Shell": 6317, "Java": 956} | package com.badoo.automation.deviceserver.host
import com.badoo.automation.deviceserver.data.DesiredCapabilities
import com.badoo.automation.deviceserver.host.management.DesiredCapabilitiesMatcher
import com.badoo.automation.deviceserver.host.management.IDesiredCapabilitiesMatcher
import com.badoo.automation.deviceser... | 0 | Kotlin | 0 | 0 | 13d375c4dc120f9eb4e7dba3d0a153e81d9f85de | 1,754 | ios-device-server | MIT License |
android-example/src/main/kotlin/com/svenjacobs/zen/android/example/main/action/MainAction.kt | svenjacobs | 235,808,759 | false | null | package com.svenjacobs.zen.android.example.main.action
import com.svenjacobs.zen.android.example.api.model.JsonPost
import com.svenjacobs.zen.core.action.Action
sealed class MainAction : Action {
enum class Id { Load, LoadUserPosts, ItemClick, DialogResponse }
object LoadAction : MainAction() {
over... | 1 | Kotlin | 0 | 2 | 8d7f20d62fbc67f1af3133f7e17379f7b4f429e4 | 751 | zen | MIT License |
app/src/main/java/com/loc/newsapp/domain/usecases/news/GetNews.kt | omkardhenge | 861,189,619 | false | {"Kotlin": 90346} | package com.loc.newsapp.domain.usecases.news
import androidx.paging.PagingData
import com.loc.newsapp.domain.model.Article
import com.loc.newsapp.domain.repository.NewsRepository
import kotlinx.coroutines.flow.Flow
class GetNews(
private val newsRepository: NewsRepository
) {
operator fun invoke(sources: List... | 0 | Kotlin | 0 | 0 | 0922df6ff10158ade8906206c10436ba8caea5d6 | 423 | News_Flash | MIT License |
app/src/main/java/com/comjeong/nomadworker/data/datasource/source/SignUpDataSource.kt | HUFSummer-Hackathon | 512,365,622 | false | null | package com.comjeong.nomadworker.data.datasource.source
import com.comjeong.nomadworker.data.model.signup.SignUpRequestData
import com.comjeong.nomadworker.data.model.signup.SignUpResponseData
import com.comjeong.nomadworker.data.model.signup.UserEmailResponseData
import com.comjeong.nomadworker.data.model.signup.User... | 2 | Kotlin | 0 | 0 | 5857dbe020888785367e0e4596a7b342aa1ec4a7 | 601 | NomadWorker-Android | MIT License |
prj-common/src/commonMain/kotlin/jdbcx/ColumnBase.kt | simonegiacomelli | 473,571,649 | false | {"Kotlin": 327484, "HTML": 123796, "TSQL": 4632, "CSS": 1467, "Shell": 301} | package jdbcx
import kotlinx.serialization.Serializable
interface ColumnBase {
val name: String
val nullable: Boolean
}
fun List<ColumnBase>.existsColumn(name: String): Boolean = any { it.name.equals(name, ignoreCase = true) }
@Serializable
data class ColumnBaseDc(
/** Il nome e' sempre in lowercase */... | 0 | Kotlin | 1 | 0 | a9b9d5c2e96a6aa5afada957e0f6d55cc63801ed | 398 | kotlin-mpp-starter | Apache License 2.0 |
plugin-dotnet-agent/src/main/kotlin/jetbrains/buildServer/inspect/InspectCodeEnvironmentProvider.kt | JetBrains | 49,584,664 | false | {"Kotlin": 2668816, "C#": 319761, "Java": 101027, "Dockerfile": 831, "CSS": 726} | /*
* Copyright 2000-2023 JetBrains s.r.o.
*
* 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... | 3 | Kotlin | 25 | 91 | 68c95408c1d39158312573573591b8efa4d78cab | 2,047 | teamcity-dotnet-plugin | Apache License 2.0 |
app/src/main/java/ar/edu/unlam/mobile/scaffold/domain/map/GetLocationUseCase.kt | unlam-tec-movil | 691,293,842 | false | {"Kotlin": 341117} | package ar.edu.unlam.mobile.scaffold.domain.map
import android.os.Build
import androidx.annotation.RequiresApi
import ar.edu.unlam.mobile.scaffold.core.map.ILocationService
import com.google.android.gms.maps.model.LatLng
import kotlinx.coroutines.flow.Flow
import javax.inject.Inject
class GetLocationUseCase @Inject c... | 3 | Kotlin | 0 | 0 | 02d90497e4ae17d0ddbaedbe5d5e3c068c099763 | 512 | A3-2023-H2-Cartas-Super | MIT License |
okio/src/nativeTest/kotlin/okio/InflateDeflateTest.kt | square | 17,812,502 | false | null | /*
* 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... | 89 | null | 1211 | 8,795 | 0f6c9cf31101483e6ee9602e80a10f7697c8f75a | 2,313 | okio | Apache License 2.0 |
snark-html/src/jvmMain/kotlin/space/kscience/snark/html/PageFragment.kt | SciProgCentre | 507,609,502 | false | {"Kotlin": 191863, "Java": 82765, "JavaScript": 829, "Shell": 722, "Python": 566, "Dockerfile": 542} | package space.kscience.snark.html
import kotlinx.coroutines.runBlocking
import kotlinx.html.FlowContent
import space.kscience.dataforge.data.*
import space.kscience.dataforge.meta.Meta
import space.kscience.dataforge.meta.get
import space.kscience.dataforge.meta.int
import space.kscience.dataforge.meta.string
import s... | 0 | Kotlin | 0 | 5 | fb115e1ecbbb63adf87f18e0b3209f0ff6da1303 | 2,601 | snark | Apache License 2.0 |
simplecloud-base/src/main/kotlin/eu/thesimplecloud/base/wrapper/process/ICloudServiceProcessManager.kt | theSimpleCloud | 270,085,977 | false | null | /*
* MIT License
*
* Copyright (C) 2020 The SimpleCloud authors
*
* 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, c... | 8 | null | 43 | 98 | 8f10768e2be523e9b2e7c170965ca4f52a99bf09 | 2,332 | SimpleCloud | MIT License |
fxgl-base/src/main/kotlin/com/almasb/fxgl/app/LoopRunner.kt | leexhwhy | 159,030,025 | true | {"YAML": 2, "Maven POM": 4, "Markdown": 6, "Text": 13, "Ignore List": 1, "XML": 22, "Kotlin": 314, "Java": 538, "Shell": 1, "kvlang": 2, "Java Properties": 7, "CSS": 8, "JavaScript": 11, "JSON": 6, "Ragel": 1} | /*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB (<EMAIL>).
* See LICENSE for details.
*/
package com.almasb.fxgl.app
import com.almasb.fxgl.core.logging.Logger
import com.almasb.fxgl.time.FPSCounter
import com.almasb.fxgl.util.Consumer
import javafx.animation.AnimationTimer
/**
*
... | 0 | Java | 0 | 0 | 312be9de5165873166cb5cbdf692284b2257b595 | 1,737 | FXGL | MIT License |
judokit-android/src/test/java/com/judopay/judokit/android/ui/cardverification/ThreeDSOneCardVerificationViewModelTest.kt | Judopay | 261,378,339 | false | null | package com.judopay.judokit.android.ui.cardverification
import android.app.Application
import androidx.lifecycle.Observer
import com.judopay.judokit.android.api.JudoApiService
import com.judopay.judokit.android.api.model.response.CardVerificationResult
import com.judopay.judokit.android.api.model.response.JudoApiCallR... | 4 | Kotlin | 6 | 4 | 7c0e3164c0fd160ca80f79b0a7c5d6802320ebd0 | 4,192 | JudoKit-Android | MIT License |
apiclient/src/main/java/com/i/apiclient/model/UserData.kt | maestromaster | 191,231,208 | false | null | package com.i.apiclient.model
class UserData(val accountId: String, val name: String, val surname: String) | 1 | null | 1 | 1 | 6755edfbc86ab5d08f0c061664eb8f0c3c3e20ba | 107 | AnotherPSD2App | MIT License |
compiler/testData/diagnostics/tests/typealias/kt69227.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... | // FIR_IDENTICAL
interface IModel<T1>
data class ModelWithId<T2 : IModel<T3>, T3>(val id: T3)
typealias ModelWithIdAlias<T4, T5> = ModelWithId<T4, T5>
fun main() {
ModelWithIdAlias<IModel<Int>, Int>(1)
} | 181 | Kotlin | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 208 | kotlin | Apache License 2.0 |
src/main/kotlin/com/projectcitybuild/modules/logger/implementations/BungeecordLogger.kt | projectcitybuild | 42,997,941 | false | null | package com.projectcitybuild.modules.logger.implementations
import com.projectcitybuild.modules.logger.PlatformLogger
import java.util.logging.Logger
class BungeecordLogger(
private val logger: Logger
): PlatformLogger {
override fun verbose(message: String) {
logger.finest(message)
}
overri... | 23 | Kotlin | 0 | 2 | 83f021a6c17ccb1d8bece07b02dc15568598fbc0 | 628 | PCBridge | MIT License |
decoder/wasm/src/commonMain/kotlin/io/github/charlietap/chasm/decoder/wasm/decoder/value/name/BinaryNameValueDecoder.kt | CharlieTap | 743,980,037 | false | {"Kotlin": 1656344, "WebAssembly": 75136} | package io.github.charlietap.chasm.decoder.wasm.decoder.value.name
import com.github.michaelbull.result.Result
import com.github.michaelbull.result.binding
import io.github.charlietap.chasm.ast.value.NameValue
import io.github.charlietap.chasm.decoder.wasm.decoder.vector.BinaryByteVectorDecoder
import io.github.charli... | 2 | Kotlin | 2 | 41 | abff527770c8a71fa9792286373269f95a7a428b | 948 | chasm | Apache License 2.0 |
src/day12/Day12.kt | gautemo | 317,316,447 | false | null | package day12
import shared.getLines
import kotlin.math.abs
fun findDistance(commands: List<String>): Int{
var x = 0
var y = 0
var facing = 90
for(command in commands){
val action = command[0]
val value = command.substring(1).toInt()
when(action){
'N' -> y -= value
... | 0 | Kotlin | 0 | 0 | ce25b091366574a130fa3d6abd3e538a414cdc3b | 2,305 | AdventOfCode2020 | MIT License |
z2-core/src/commonTest/kotlin/hu/simplexion/z2/serialization/protobuf/DumpTest.kt | spxbhuhb | 665,463,766 | false | {"Kotlin": 1615216, "CSS": 166528, "Java": 13957, "HTML": 1560, "JavaScript": 975} | package hu.simplexion.z2.serialization.protobuf
import hu.simplexion.z2.serialization.protobuf.ProtoMessageBuilder
import hu.simplexion.z2.serialization.protobuf.dumpProto
import kotlin.test.Test
class DumpTest {
@Test
fun testDump() {
val dump = ProtoMessageBuilder()
.int(1, 12)
... | 5 | Kotlin | 0 | 1 | b883ad66b061c9a2707db94944f679e9c5929567 | 490 | z2 | Apache License 2.0 |
app/src/main/kotlin/de/markusfisch/android/binaryeye/activity/PickActivity.kt | Ghostkeeper | 236,782,373 | true | {"Kotlin": 116711, "Shell": 1967, "RenderScript": 625, "Makefile": 566} | package de.markusfisch.android.binaryeye.activity
import android.content.Intent
import android.graphics.Bitmap
import android.graphics.Rect
import android.net.Uri
import android.os.Bundle
import android.os.Parcelable
import android.support.v7.app.AppCompatActivity
import android.support.v7.widget.Toolbar
import androi... | 0 | null | 0 | 0 | a70813ea5c4691730ca7029a135a13625b68af31 | 4,332 | BinaryEye | MIT License |
app/src/main/kotlin/de/markusfisch/android/binaryeye/activity/PickActivity.kt | Ghostkeeper | 236,782,373 | true | {"Kotlin": 116711, "Shell": 1967, "RenderScript": 625, "Makefile": 566} | package de.markusfisch.android.binaryeye.activity
import android.content.Intent
import android.graphics.Bitmap
import android.graphics.Rect
import android.net.Uri
import android.os.Bundle
import android.os.Parcelable
import android.support.v7.app.AppCompatActivity
import android.support.v7.widget.Toolbar
import androi... | 0 | null | 0 | 0 | a70813ea5c4691730ca7029a135a13625b68af31 | 4,332 | BinaryEye | MIT License |
app/src/main/java/com/nilsinojiya/cowin20/helper/SlotCheckWorker.kt | nilsinojiya1 | 403,682,420 | false | {"Kotlin": 64236} | package com.nilsinojiya.cowin20.helper
import android.content.Context
import android.util.Log
import androidx.lifecycle.MutableLiveData
import androidx.work.Worker
import androidx.work.WorkerParameters
import com.nilsinojiya.cowin20.models.Sessions
import com.nilsinojiya.cowin20.repositorys.MainRepository
import com.n... | 0 | Kotlin | 0 | 0 | 7f91fd33528f7e3134c7685c25f60ad93b201595 | 3,512 | CoWin2.0 | MIT License |
src/main/java/com/kingmang/lazurite/compiler/utils/LzrRuntimeUtils.kt | ArtyomKingmang | 652,611,608 | false | {"Kotlin": 539876, "Java": 380684} | package com.kingmang.lazurite.compiler.utils
import com.kingmang.lazurite.libraries.Keyword
import com.kingmang.lazurite.parser.ast.expressions.ValueExpression
import com.kingmang.lazurite.parser.ast.statements.UsingStatement
import com.kingmang.lazurite.runtime.Libraries
import com.kingmang.lazurite.runtime.Variables... | 2 | Kotlin | 15 | 142 | 2e8318b549d16cd8612baa242ae0a7e7c45f3c86 | 1,767 | Lazurite | MIT License |
src/backend/git/biz-git/src/main/kotlin/com/tencent/bkrepo/git/internal/storage/InMemoryRepositoryDataService.kt | TencentBlueKing | 548,243,758 | false | {"Kotlin": 13715127, "Vue": 1261493, "JavaScript": 683823, "Shell": 124343, "Lua": 101021, "SCSS": 34137, "Python": 25877, "CSS": 17382, "HTML": 13052, "Dockerfile": 4483, "Smarty": 3661, "Java": 423} | package com.tencent.bkrepo.git.internal.storage
import java.io.ByteArrayOutputStream
import java.io.FileNotFoundException
import java.nio.ByteBuffer
import org.eclipse.jgit.internal.storage.dfs.DfsOutputStream
import org.eclipse.jgit.internal.storage.dfs.DfsPackDescription
import org.eclipse.jgit.internal.storage.dfs.... | 383 | Kotlin | 38 | 70 | 817363204d5cb57fcd6d0cb520210fa7b33cd5d6 | 2,677 | bk-repo | MIT License |
app/src/main/java/io/novafoundation/nova/app/root/di/RootFeatureModule.kt | nova-wallet | 496,649,319 | false | null | package io.novafoundation.nova.app.root.di
import dagger.Module
import dagger.Provides
import io.novafoundation.nova.app.root.domain.RootInteractor
import io.novafoundation.nova.common.di.scope.FeatureScope
import io.novafoundation.nova.core.updater.UpdateSystem
import io.novafoundation.nova.feature_wallet_api.di.Wall... | 4 | Kotlin | 8 | 24 | 69c3ee9eb9986ea092e4dd354d4c6df65642e608 | 734 | nova-android-app | Apache License 2.0 |
forge/src/main/kotlin/net/spaceeye/someperipherals/forge/SomePeripheralsForge.kt | SuperSpaceEye | 693,105,203 | false | {"Kotlin": 182921, "Lua": 60525, "Java": 1249} | package net.spaceeye.someperipherals.forge
import dev.architectury.platform.forge.EventBuses
import net.minecraft.client.gui.screens.MenuScreens
import net.minecraftforge.api.distmarker.Dist
import net.minecraftforge.common.MinecraftForge
import net.minecraftforge.event.RegisterCommandsEvent
import net.minecraftforge.... | 1 | Kotlin | 2 | 0 | 868a83e5ee1b0928d651323e7392da96f432cb47 | 1,535 | Some-Peripherals | MIT License |
core/src/main/java/id/web/dedekurniawan/moviexplorer/core/data/local/room/MovieXplorerDatabase.kt | BlueShadowBird | 608,123,499 | false | {"Kotlin": 156728} | package id.web.dedekurniawan.moviexplorer.core.data.local.room
import androidx.room.Database
import androidx.room.RoomDatabase
import id.web.dedekurniawan.moviexplorer.core.data.local.entity.FavoriteEntity
@Database(entities = [FavoriteEntity::class], version = 1, exportSchema = false)
abstract class MovieXplorerData... | 0 | Kotlin | 0 | 0 | 8b58189bc2391699125d466c6e232a09b04c748d | 391 | Android-Movie-Xporer | MIT License |
src/main/kotlin/no/nav/klage/oppgave/clients/egenansatt/EgenAnsattService.kt | navikt | 297,650,936 | false | null | package no.nav.klage.search.clients.egenansatt
import org.springframework.stereotype.Service
import java.util.concurrent.ConcurrentHashMap
import java.util.concurrent.ConcurrentMap
@Service
class EgenAnsattService {
private val egenAnsattMap: ConcurrentMap<String, EgenAnsatt> = ConcurrentHashMap()
fun erEge... | 3 | Kotlin | 1 | 2 | 168c8c4b9ed5192ac6870f88b6e82a665b29a4b9 | 542 | kabal-api | MIT License |
appModules/sharedFlavour/common/src/commonMain/kotlin/dev/reprator/accountbook/inject/SharedUiComponent.kt | TheReprator | 781,077,991 | false | {"Kotlin": 399028, "Swift": 5325, "HTML": 357, "JavaScript": 92} | package dev.reprator.accountbook.inject
import com.slack.circuit.foundation.Circuit
import com.slack.circuit.runtime.presenter.Presenter
import com.slack.circuit.runtime.ui.Ui
import dev.reprator.accountbook.home.RootUiComponent
import dev.reprator.accountbook.language.LanguageComponent
import dev.reprator.accountbook... | 1 | Kotlin | 0 | 0 | 1468ecc36c791f643973d0fadae9f6154d726b84 | 897 | ExpenseManagment | Apache License 2.0 |
wear/src/main/java/com/weartools/weekdayutccomp/utils/ContextUtils.kt | amoledwatchfaces | 571,962,206 | false | {"Kotlin": 307163, "HTML": 14364} | package com.weartools.weekdayutccomp.utils
import android.content.ActivityNotFoundException
import android.content.ComponentName
import android.content.Context
import android.content.Intent
import android.net.Uri
import androidx.wear.watchface.complications.datasource.ComplicationDataSourceUpdateRequester
import andro... | 1 | Kotlin | 5 | 46 | 0120138ffd375df47c47838bdc87312aaa6ac4ac | 935 | Complications-Suite-Wear-OS | Apache License 2.0 |
test/src/androidMain/kotlin/com/github/kitakkun/backintime/test/PlusAssignMutableStateViewModel.kt | kitakkun | 706,655,959 | false | {"Kotlin": 229293, "Ruby": 574} | package com.github.kitakkun.backintime.test
import androidx.compose.runtime.mutableStateOf
import com.github.kitakkun.backintime.annotations.BackInTime
/**
* MutableState<List<*>> なプロパティを宣言し,
* mutableState.value += "hoge" のような書き方をすると
* <set-value> の receiver が間接的にプロパティを参照する別の一時変数の参照 (IrGetValue)となり,
* キャプチャを逃れてし... | 6 | Kotlin | 0 | 27 | 5abdb18dbcdafd39555bd7378d252b6513bf5fe1 | 536 | back-in-time-plugin | Apache License 2.0 |
app/src/main/kotlin/aa/weather/app/RootActivity.kt | marwinxxii | 608,084,351 | false | null | package aa.weather.app
import aa.weather.navigation.navigator.FragmentNavigator
import aa.weather.navigation.navigator.api.Destination
import aa.weather.navigation.navigator.screen.api.ScreenNavigatorProvider
import aa.weather.screen.api.ScreenDependenciesLocator
import aa.weather.subscription.service.api.Subscription... | 0 | Kotlin | 0 | 0 | a127546016050b62944139d09e5491ebc4d6ea3a | 2,559 | weather-app | Apache License 2.0 |
app/src/main/java/ir/alirezaiyan/profile/MainActivity.kt | rezaiyan | 239,776,776 | false | null | package ir.alirezaiyan.profile
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.appcompat.app.AppCompatActivity
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.... | 0 | Kotlin | 4 | 16 | af03322724fad479fb6817ed5e71f3f3e7d21229 | 1,753 | AwesomeProfile | Apache License 2.0 |
models/src/main/java/com/vimeo/networking2/ProjectItemMeta.kt | vimeo | 41,306,732 | false | null | package com.vimeo.networking2
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
/**
* Meta info for ProjectItem.
*
* @param captionMatchTimestampMs Timestamp where caption relates to.
* @param caption Caption text.
*/
@JsonClass(generateAdapter = true)
data class ProjectItemMeta(
@Json(name... | 21 | Kotlin | 52 | 123 | e4f31d4fa144756d576101b3a82120657e9e8a51 | 440 | vimeo-networking-java | MIT License |
src/main/kotlin/com/aoverin/invest/services/impl/models/StockInfoData.kt | a-overin | 776,842,962 | false | {"Kotlin": 29524, "Procfile": 81} | package com.aoverin.invest.services.impl.models
import com.fasterxml.jackson.annotation.JsonProperty
data class StockInfoData(
val ticker: String? = null,
val active: Boolean? = null,
val name: String? = null,
val market: String? = null,
val locale: String? = null,
val type: String? = null,
... | 0 | Kotlin | 0 | 0 | c158362f77d0f0addf999d1551064a4d8adf6b30 | 535 | invest-v2 | Apache License 2.0 |
nugu-agent/src/main/java/com/skt/nugu/sdk/agent/ext/mediaplayer/Toggle.kt | nugu-developers | 214,067,023 | false | null | /**
* Copyright (c) 2020 SK Telecom Co., Ltd. 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
*
* Unless requir... | 5 | null | 18 | 27 | 9d90dcbb8463f7b8f98713126a93de7e291da86c | 1,680 | nugu-android | Apache License 2.0 |
app/src/main/java/com/masterplus/trdictionary/core/data/local/entities/SavePointEntity.kt | Ramazan713 | 634,957,286 | false | null | package com.masterplus.mesnevi.features.savepoint.data.entity
import androidx.room.Entity
import androidx.room.PrimaryKey
@Entity(tableName = "SavePoints")
data class SavePointEntity(
@PrimaryKey(autoGenerate = true)
val id: Int?,
val title: String,
val itemPosIndex: Int,
val type: Int,
val sa... | 0 | null | 0 | 1 | 0aa1643c4347203f9339dfa4896bf176712472c9 | 392 | Turkce-ve-Osmanlica-Sozluk | Apache License 2.0 |
android/app/src/main/kotlin/com/example/first_task_by_ujjwal/MainActivity.kt | ujjwalsittu | 263,666,356 | false | {"Dart": 10285, "Swift": 404, "Kotlin": 137, "Objective-C": 38} | package com.example.first_task_by_ujjwal
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 0 | 0 | 8e272396470319929aee1c9426614c71699e00ea | 137 | firstTask_qurantine_classes | MIT License |
app-android/src/main/java/org/mtransit/android/ui/view/common/MTTabLayoutMediator.kt | mtransitapps | 24,649,585 | false | null | package org.mtransit.android.ui.view.common
import androidx.recyclerview.widget.RecyclerView
import androidx.recyclerview.widget.RecyclerView.AdapterDataObserver
import androidx.viewpager2.widget.ViewPager2
import androidx.viewpager2.widget.ViewPager2.OnPageChangeCallback
import com.google.android.material.tabs.TabLay... | 5 | null | 4 | 34 | dccaac0fe7f1604a191eaa63b936ba476a9a0682 | 9,901 | mtransit-for-android | Apache License 2.0 |
src/test/kotlin/dev/shtanko/algorithms/leetcode/CountConsistentStringsTest.kt | ashtanko | 203,993,092 | false | null | /*
* Copyright 2022 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | 6 | null | 0 | 19 | 780d219e8fb6fe078ceb33334f07222446676afb | 2,568 | kotlab | Apache License 2.0 |
system_framework/src/main/java/com/vmenon/mpo/system/framework/di/dagger/SystemFrameworkModule.kt | hitoshura25 | 91,402,384 | false | null | package com.vmenon.mpo.system.framework.di.dagger
import com.vmenon.mpo.system.domain.Clock
import com.vmenon.mpo.system.domain.Logger
import com.vmenon.mpo.system.domain.PatternMatcher
import com.vmenon.mpo.system.domain.ThreadUtil
import com.vmenon.mpo.system.framework.AndroidPatternMatcher
import com.vmenon.mpo.sys... | 15 | Kotlin | 0 | 1 | d37ca42046c00bbe3c414482fac67e041c734ecf | 878 | Media-Player-Omega-Android | Apache License 2.0 |
grpc/src/commonMain/kotlin/kr/jadekim/protobuf/grpc/GrpcServiceFactory.kt | jdekim43 | 635,698,376 | false | {"Kotlin": 524458} | package kr.jadekim.protobuf.grpc
import kr.jadekim.protobuf.type.ProtobufService
import kr.jadekim.protobuf.type.ProtobufServiceFactory
interface GrpcServiceFactory<I : ProtobufService, C : I> : ProtobufServiceFactory<I, C, GrpcClientOption>
| 0 | Kotlin | 0 | 0 | f6a81b36dcd258c48b91e9dbe6ded3fdab8caecb | 244 | kotlin-protobuf | Apache License 2.0 |
src/jvmTest/kotlin/com/jeffpdavidson/kotwords/formats/WallStreetJournalTest.kt | bitcababy | 298,634,867 | true | {"Kotlin": 283255, "HTML": 23984, "Rouge": 3732, "Shell": 675, "JavaScript": 213} | package com.jeffpdavidson.kotwords.formats
import com.jeffpdavidson.kotwords.formats.AcrossLite.Companion.toAcrossLiteBinary
import com.jeffpdavidson.kotwords.readBinaryResource
import com.jeffpdavidson.kotwords.readStringResource
import com.jeffpdavidson.kotwords.runTest
import org.junit.Assert.assertArrayEquals
impo... | 0 | null | 0 | 0 | 6ff2e94a011c6cbe27ba5eea3bf8165345fa8cfc | 794 | kotwords | Apache License 2.0 |
mui-kotlin/src/jsMain/kotlin/mui/material/Select.ext.kt | karakum-team | 387,062,541 | false | {"Kotlin": 3060426, "TypeScript": 2249, "HTML": 724, "CSS": 86} | // Automatically generated - do not modify!
package mui.material
import seskar.js.JsValue
import seskar.js.JsVirtual
@Suppress(
"NESTED_CLASS_IN_EXTERNAL_INTERFACE",
)
@JsVirtual
sealed external interface SelectVariant {
companion object {
@JsValue("standard")
val standard: SelectVariant
... | 0 | Kotlin | 5 | 35 | 83952a79ffff62f5409461a2928102d0ff95d86b | 452 | mui-kotlin | Apache License 2.0 |
app/src/main/java/com/da/whatstodo/featureNote/domain/useCase/GetNoteUseCase.kt | damian-adamski | 704,084,393 | false | {"Kotlin": 41017} | package com.da.whatstodo.featureNote.domain.useCase
import com.da.whatstodo.featureNote.domain.model.Note
import com.da.whatstodo.featureNote.domain.repository.NoteRepository
class GetNoteUseCase(
private val noteRepository: NoteRepository
) {
suspend operator fun invoke(id: Int): Note? {
return note... | 0 | Kotlin | 0 | 0 | ac5402555aa198513cab062840a970480b943ac8 | 354 | NotesApp | MIT License |
app/src/main/java/com/development/gocipes/presentation/profile/infoapp/InfoAppFragment.kt | BeCipes | 717,700,454 | false | {"Kotlin": 231408} | package com.development.gocipes.presentation.profile.infoapp
import android.os.Bundle
import android.view.LayoutInflater
import android.view.Menu
import android.view.MenuInflater
import android.view.MenuItem
import android.view.View
import android.view.ViewGroup
import androidx.appcompat.app.AppCompatActivity
import a... | 0 | Kotlin | 1 | 0 | ad1d1555ff0b464893a45231fa387ca860961080 | 1,926 | Mobile-Development | Apache License 2.0 |
klogging/src/jvmTest/kotlin/io/klogging/LoggerContextTest.kt | klogging | 378,410,833 | false | {"Kotlin": 492999, "Java": 4188, "Shell": 1000} | /*
Copyright 2021-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
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in ... | 13 | Kotlin | 18 | 179 | 7088c16575e9e0dcba428c57a6276a0322fdda37 | 7,001 | klogging | Apache License 2.0 |
generator/accessor/src/main/kotlin/me/kcra/takenaka/generator/accessor/context/impl/AbstractGenerationContext.kt | zlataovce | 596,960,001 | false | null | /*
* This file is part of takenaka, licensed under the Apache License, Version 2.0 (the "License").
*
* Copyright (c) 2023 Matous Kucera
*
* 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 r... | 5 | null | 0 | 8 | bf716f44463c88d9079e2a3296ca07593d8da692 | 13,853 | takenaka | Apache License 2.0 |
app/src/main/java/com/jleruga/recipes/data/remote/RecipesRemoteDataSource.kt | juanmlf | 786,225,735 | false | {"Kotlin": 41829} | package com.jleruga.recipes.data.remote
import com.jleruga.recipes.data.remote.service.RecipesEdamamService
import com.jleruga.recipes.data.remote.service.RecipesService
import com.jleruga.recipes.data.remote.service.RecipesServiceProvider
import com.jleruga.recipes.data.remote.utils.EmptyResponseBody
import okhttp3.R... | 0 | Kotlin | 0 | 0 | 29488769196e38fec74ef96fc3562a73a3baeb5e | 1,383 | recipes | MIT License |
app/src/main/java/com/example/nestedrecyclerswrapissue/mainList/CarouselViewHolder.kt | ecarrara-araujo | 362,168,109 | false | null | package com.example.nestedrecyclerswrapissue.mainList
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView
import com.example.nestedrecyclerswrapissue.WrappingLinearLayoutManager
import com.example.nest... | 0 | Kotlin | 0 | 0 | 12137873fd879970b87d8017dd6b73f2a0687657 | 1,378 | NestedRecyclersHeightWrapIssue | MIT License |
app/src/main/java/com/example/movieapp/model/ActorResponse.kt | ahmedsamir9 | 308,115,212 | false | null | package com.example.movieapp.model
import com.google.gson.annotations.SerializedName
data class ActorResponse(
@SerializedName("adult")
var adult: Boolean?,
@SerializedName("also_known_as")
var alsoKnownAs: List<String>?,
@SerializedName("biography")
var biography: String?,
@SerializedNam... | 0 | null | 3 | 6 | 5d9b73b2f62fc8fc3730335c7d69aae2efac6238 | 955 | MovieAppKotlin | Apache License 2.0 |
app/src/main/java/com/revolgenx/anilib/ui/view/ListEntrySmileyScoreLayout.kt | AniLibApp | 244,410,204 | false | null | package com.revolgenx.anilib.ui.view
import android.content.Context
import android.util.AttributeSet
import android.view.Gravity
import android.view.ViewGroup
import android.widget.LinearLayout
import androidx.core.content.ContextCompat
import androidx.core.view.setPadding
import com.pranavpandey.android.dynamic.suppo... | 36 | null | 3 | 76 | b3caec5c00779c878e4cf22fb7d2034aefbeee54 | 4,260 | AniLib | Apache License 2.0 |
app/src/main/java/com/utsman/hiyahiyahiya/di/databaseModule.kt | syntaxxxxx | 291,494,071 | true | {"Kotlin": 179548, "Java": 98751} | package com.utsman.hiyahiyahiya.di
import com.utsman.hiyahiyahiya.database.*
import org.koin.dsl.module
val dbModule = module {
single { LocalUserDatabase.getInstance(get()) }
single { LocalRoomDatabase.getInstance(get()) }
single { LocalChatDatabase.getInstance(get()) }
single { LocalImageBBDatabase.... | 0 | null | 0 | 1 | c3cf984f97c02e8f5e8397d236162e346eaca369 | 395 | hiya-hiya-hiya | Apache License 2.0 |
source_code/app/src/main/java/com/example/speakingtopics/ui/screens/topiclibrary/TopicLibraryScreen.kt | radocodes | 565,788,532 | false | {"Kotlin": 26458} | package com.example.speakingtopics.ui.screens.topiclibrary
import androidx.compose.foundation.Image
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.material.*
import androidx.compose.runtime.Composable
i... | 0 | Kotlin | 0 | 0 | 3d262bac0d3dece0e1993171021a5e217bd89714 | 2,530 | Speaking-Topics | MIT License |
persistence/src/test/kotlin/com/joe/quizzy/persistence/impl/QuestionDAOTest.kt | josephlbarnett | 257,994,447 | false | null | package com.joe.quizzy.persistence.impl
import assertk.all
import assertk.assertThat
import assertk.assertions.contains
import assertk.assertions.doesNotContain
import assertk.assertions.hasSize
import assertk.assertions.isEqualTo
import assertk.assertions.isNull
import com.joe.quizzy.api.models.Instance
import com.jo... | 3 | Kotlin | 0 | 1 | 61a342c9d260cd731e453f12563a2805c8393cb6 | 5,590 | quizzy | Apache License 2.0 |
app/src/main/java/com/nikitosii/studyrealtorapp/core/source/net/model/location/address/CountyResponseApi.kt | meanswar | 702,052,508 | false | {"Kotlin": 729537, "HTML": 262565} | package com.nikitosii.studyrealtorapp.core.source.net.model.location.address
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
@JsonClass(generateAdapter = true)
data class CountyResponseApi(
@Json(name = "fips_code")
val fipsCode: String? = null,
val name: String? = null
) | 0 | Kotlin | 0 | 0 | 585993079699b2c1bbca02ca8ba1648c08b7f429 | 306 | StudyRealtorApp | MIT License |
library/src/main/java/viacheslav/chugunov/spy/internal/domain/SpyEntityFactory.kt | viacheslav-chugunov | 597,134,602 | false | {"Kotlin": 64539} | package viacheslav.chugunov.spy.internal.domain
import viacheslav.chugunov.spy.internal.data.room.entity.SpyEventEntity
import viacheslav.chugunov.spy.internal.data.room.entity.SpyMetaEntity
internal interface SpyEntityFactory {
fun createSpyEventEntity(): SpyEventEntity
fun createSpyMetaEntity(eventId: Long)... | 0 | Kotlin | 0 | 1 | 91aa8f9d7b4cc5e9b3817c5dbf754f38baf38f66 | 343 | Spy | MIT License |
feature/filter/src/main/kotlin/com/naveenapps/expensemanager/feature/filter/type/FilterTypeAction.kt | nkuppan | 536,435,007 | false | {"Kotlin": 1018021} | package com.naveenapps.expensemanager.feature.filter.type
import com.naveenapps.expensemanager.core.model.AccountUiModel
import com.naveenapps.expensemanager.core.model.Category
import com.naveenapps.expensemanager.core.model.TransactionType
sealed class FilterTypeAction {
data class SelectAccount(val account: A... | 4 | Kotlin | 15 | 94 | 5a5c790bea3f1ce4a720d7cffe6fe72a506507b7 | 530 | expensemanager | Apache License 2.0 |
src/lexer/LexerTest.kt | davidcavazos | 129,781,364 | true | {"Kotlin": 52525} | package lexer
import org.testng.annotations.Test
import kotlin.test.assertEquals
import kotlin.test.assertFailsWith
internal class LexerTest {
val lex = Lexer.Builder()
.rule("word", """[a-zA-Z]+""")
.rule("number", """\d+""")
.keyword("hello")
.build()
@Test
fun `duplic... | 0 | Kotlin | 0 | 0 | dc7d249d0dfd5f81907922dd73fb235c93fc54f8 | 1,612 | q-lang | MIT License |
src/jvmMain/kotlin/cn/netdiscovery/monica/imageprocess/lut/LUT.kt | fengzhizi715 | 791,824,947 | false | {"Kotlin": 693053} | package cn.netdiscovery.monica.imageprocess.lut
/**
*
* @FileName:
* cn.netdiscovery.monica.imageprocess.lut.LUT
* @author: Tony Shen
* @date: 2024/6/16 15:43
* @version: V1.0 <描述当前版本功能>
*/
const val AUTUMN_STYLE: Int = 0
const val BONE_STYLE = 1
const val COOL_STYLE = 2
const val HOT_STYLE = 3
const v... | 0 | Kotlin | 7 | 77 | a71763a11707c5639e6b34ccde92fbd874dee4cc | 1,179 | Monica | Apache License 2.0 |
app/src/main/java/net/skyscanner/backpack/demo/compose/ChipStory.kt | Skyscanner | 117,813,847 | false | null | /*
* Backpack for Android - Skyscanner's Design System
*
* Copyright 2018 Skyscanner Ltd
*
* 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-... | 8 | Kotlin | 31 | 94 | 9b5448b446c7bc46560e430595829e5f4f090e6b | 6,534 | backpack-android | Apache License 2.0 |
app/src/main/kotlin/com/polendina/egyptpostalcode/presentation/screens/homescreen/HomeScreen.kt | z0xyz | 671,347,515 | false | {"Kotlin": 60655} | package com.polendina.egyptpostalcode.presentation.homescreen.components
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.f... | 0 | Kotlin | 0 | 0 | f412452e5b59b4e3c6d83f6546d564edd3940fa0 | 4,439 | EgyptPostalCode | MIT License |
app/src/main/java/com/ojhdtapp/parabox/domain/use_case/DeleteGroupedContact.kt | Parabox-App | 482,740,446 | false | null | package com.ojhdtapp.parabox.domain.use_case
import android.util.Log
import com.ojhdtapp.parabox.data.local.entity.ContactEntity
import com.ojhdtapp.parabox.data.local.entity.ContactPluginConnectionCrossRef
import com.ojhdtapp.parabox.domain.model.Contact
import com.ojhdtapp.parabox.domain.repository.MainRepository
im... | 0 | Kotlin | 4 | 83 | a0d9ecd2c4c9c4895f8392723a5577adbf3685b5 | 1,017 | Parabox | MIT License |
app/src/main/java/com/newbiechen/nbreader/ui/component/book/text/entity/resource/image/TextImageFactory.kt | newbiechen1024 | 239,496,581 | false | null | package com.newbiechen.nbreader.ui.component.book.text.entity.resource.image
import com.newbiechen.nbreader.ui.component.book.text.util.TextConstants
import java.io.File
/**
* author : newbiechen
* date : 2020/2/29 8:22 PM
* description :文本图片构建器
*/
object TextImageFactory {
fun getTextImage(path: String)... | 5 | Kotlin | 8 | 37 | e423b13915578ab95c1683bfa7a70e59f19f2eab | 623 | NBReader | Apache License 2.0 |
src/main/kotlin/de/paulbrejla/holidays/infrastructure/api/HolidayRepository.kt | paulbrejla | 293,449,923 | false | null | package de.paulbrejla.holidays.infrastructure.api
import de.paulbrejla.holidays.domain.Holiday
import de.paulbrejla.holidays.domain.State
import org.springframework.data.jpa.repository.JpaRepository
interface HolidayRepository : JpaRepository<Holiday, Long> {
fun findOneBySummaryAndStateCodeAndYear(summary: Strin... | 4 | Kotlin | 0 | 9 | f75a12991f69f9e0d3fb34327f450d228dd98928 | 502 | ferien-api | MIT License |
core/src/test/java/de/maibornwolff/domainchoreograph/scenarios/supermarket/choreographies/Cashier.kt | MaibornWolff | 139,985,029 | false | {"Kotlin": 168533, "TypeScript": 132987, "JavaScript": 5400, "HTML": 1174, "Dockerfile": 390} | package de.maibornwolff.domainchoreograph.scenarios.supermarket.choreographies
import de.maibornwolff.domainchoreograph.core.api.DomainChoreography
import de.maibornwolff.domainchoreograph.scenarios.supermarket.domaindefinitions.Basket
import de.maibornwolff.domainchoreograph.scenarios.supermarket.domaindefinitions.Ba... | 16 | Kotlin | 0 | 1 | 863441f0df267dcbf9874c92771e104a8f60fe37 | 541 | domainchoreograph | Apache License 2.0 |
types/serializable/src/commonMain/kotlin/app/meetacy/sdk/types/serializable/amount/AmountSerializable.kt | meetacy | 604,657,616 | false | {"Kotlin": 291810, "Swift": 9285, "HTML": 129, "JavaScript": 114} | @file:OptIn(UnsafeConstructor::class)
package app.meetacy.sdk.types.serializable.amount
import app.meetacy.sdk.types.amount.Amount
import app.meetacy.sdk.types.annotation.UnsafeConstructor
import kotlinx.serialization.Serializable
import kotlin.jvm.JvmInline
@Serializable
@JvmInline
public value class AmountSerializ... | 9 | Kotlin | 1 | 29 | 4673093606cacf21f8e850aba221a32487de67a6 | 754 | sdk | MIT License |
app/src/main/java/ethiopia/covid/android/ui/adapter/TabAdapter.kt | brookmg | 249,926,845 | false | null | package ethiopia.covid.android.ui.adapter
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentManager
import androidx.fragment.app.FragmentStatePagerAdapter
import java.util.*
/**
* Created by BrookMG on 20/6/2020 in ethiopia.covid.android.ui.adapter
* inside the project CoVidEt .
*/
class T... | 14 | Kotlin | 5 | 18 | 2feaf0f03d316c4fc08c2ebea1d77ee773eaa5b6 | 1,036 | CovidAndroid | Apache License 2.0 |
src/main/kotlin/com/alekseyzhelo/eimob/objects/MobObjectBase.kt | AleksZhelo | 224,300,057 | false | {"Kotlin": 106659} | package com.alekseyzhelo.eimob.objects
import com.alekseyzhelo.eimob.*
import com.alekseyzhelo.eimob.types.Float3
import com.alekseyzhelo.eimob.types.Float4
import loggersoft.kotlin.streams.StreamInput
import loggersoft.kotlin.streams.StreamOutput
@Suppress("MemberVisibilityCanBePrivate")
@ExperimentalUnsignedTypes
a... | 0 | Kotlin | 0 | 0 | 32fbcbc0bd764169693d9e7e5b1120fa0baa0364 | 7,080 | EIMob | Apache License 2.0 |
app/src/main/java/com/pranathicodes/letteravatargenerator/MainActivity.kt | Pranathi-pellakuru | 767,724,601 | false | {"Kotlin": 11088} | package com.pranathicodes.letteravatargenerator
import android.graphics.Color
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation... | 0 | Kotlin | 0 | 3 | 54f20a32ce781c37f9a4b38a870104afd45a7816 | 2,060 | LetterAvatarGenerator | MIT License |
features/settings-theme/src/main/java/br/com/recipebook/settings/theme/domain/usecase/ApplyUserThemePreference.kt | cmorigaki | 251,045,190 | false | {"Kotlin": 136363, "Shell": 2993} | package br.com.recipebook.settings.theme.domain.usecase
import android.content.Context
import androidx.appcompat.app.AppCompatDelegate
import br.com.recipebook.analytics.Analytics
import br.com.recipebook.settings.theme.analytics.ThemeConfigurationEvent
import br.com.recipebook.settings.theme.domain.model.UserThemePre... | 1 | Kotlin | 0 | 4 | 4afb79a3fb208b254fd8d48b78e247da2faf9311 | 1,887 | recipe-book | MIT License |
java-plugin/src/main/kotlin/io/github/danielpeach/plugin/Handshake.kt | danielpeach | 363,931,957 | false | null | package io.github.danielpeach.plugin
import java.security.cert.X509Certificate
internal data class Handshake(
val core: Int,
val pluginVersion: Int,
val networkType: String,
val networkAddress: String,
val protocol: String,
val serverCertificate: X509Certificate? = null,
)
| 0 | Kotlin | 0 | 1 | 21fdda8c007951cf7f4ed13e7b11b9b2eb4f13d0 | 288 | java-plugin | Apache License 2.0 |
locationhelpers/src/main/java/com/crazylegend/locationhelpers/OtherExtensions.kt | FunkyMuse | 259,648,792 | false | {"Kotlin": 26737} | package com.crazylegend.locationhelpers
import android.content.Context
import android.graphics.Bitmap
import android.graphics.Canvas
import android.graphics.drawable.Drawable
import androidx.annotation.DrawableRes
import androidx.core.content.ContextCompat
import com.google.android.gms.maps.GoogleMap
import com.google... | 0 | Kotlin | 0 | 5 | ef9095df89689ca64f5584ed5dd2eaa0b506ccb5 | 2,652 | LocationUtils | MIT License |
Corona-Warn-App/src/main/java/de/rki/coronawarnapp/util/security/SecurityHelper.kt | covid-be-app | 281,650,940 | false | null | /******************************************************************************
* Corona-Warn-App *
* *
* SAP SE and all other contributors / *
... | 13 | Kotlin | 10 | 55 | d556b0b9f29e76295b59be2a1ba89bc4cf6ec33b | 4,454 | cwa-app-android | Apache License 2.0 |
oauth/src/main/java/jp/co/soramitsu/oauth/base/navigation/di/NavigationModule.kt | sora-xor | 610,919,196 | false | {"Kotlin": 321971} | package jp.co.soramitsu.oauth.base.navigation.di
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import javax.inject.Singleton
import jp.co.soramitsu.oauth.base.navigation.MainRouter
import jp.co.soramitsu.oauth.base.navigation.MainRouterImpl
@... | 21 | Kotlin | 1 | 3 | f07bbcd675088bbbc74d6f32487b92768dba5ff2 | 581 | sora-card-android | Apache License 2.0 |
Tutorial0-0MaterialDesign/src/main/java/com/smarttoolfactory/tutorial0_materialdesign/blankfragment/GenericChildFragment.kt | SmartToolFactory | 203,872,063 | false | {"Kotlin": 816548, "Java": 2168} | package com.smarttoolfactory.tutorial0_materialdesign.blankfragment
import android.os.Bundle
import android.view.View
import com.smarttoolfactory.tutorial0_materialdesign.R
import com.smarttoolfactory.tutorial0_materialdesign.databinding.FragmentGenericChildBinding
class GenericChildFragment : BaseDataBindingFragmen... | 3 | Kotlin | 84 | 376 | 67344625a8a4a48b134d35e47a2203037de9890e | 1,020 | NavigationComponents-Tutorials | MIT License |
src/test/kotlin/io/kosl/test/BuildCommandTest.kt | GayPizzaSpecifications | 397,501,743 | false | null | package io.kosl.test
import kotlin.io.path.absolutePathString
import kotlin.test.AfterTest
import kotlin.test.BeforeTest
import kotlin.test.Test
class BuildCommandTest {
lateinit var environment: KoslTestWorkspace
@BeforeTest
fun before() {
environment = createHelloWorldEnvironment()
}
@Test
fun `bu... | 9 | Kotlin | 0 | 0 | 2c910d1d862fa0094cdf03b09ac34a14523a9d1d | 1,604 | kosl | MIT License |
features/settings/src/main/java/com/yuriikonovalov/settings/framework/di/UseCaseSourceModule.kt | yuriikonovalov | 563,974,428 | false | {"Kotlin": 872022} | package com.yuriikonovalov.settings.framework.di
import com.yuriikonovalov.settings.application.usecases.sources.ClearDataSource
import com.yuriikonovalov.settings.application.usecases.sources.GetDatabaseBackupFileSource
import com.yuriikonovalov.settings.application.usecases.sources.RestoreDataSource
import com.yurii... | 0 | Kotlin | 0 | 0 | 8063508f836512fc8f8a0ba18f794bb895ee2449 | 1,334 | budgethub | MIT License |
app/src/main/kotlin/oppgavestyring/config/Config.kt | navikt | 773,842,442 | false | {"Kotlin": 42925, "Dockerfile": 1027} | package oppgavestyring
import no.nav.aap.ktor.client.auth.azure.AzureConfig
import java.net.URI
open class Config(
val azure: AzureConfig = AzureConfig(),
val oppgave: OppgaveConfig = OppgaveConfig(),
)
data class OppgaveConfig(
val host: URI = "https://oppgave.dev-fss-pub.nais.io".let(::URI),
val sc... | 0 | Kotlin | 0 | 0 | 86cfc3d88fea0fdb5adfaac3fa9843e5ed17be48 | 388 | aap-oppgavestyring | MIT License |
app/src/main/java/com/example/vaersel/ui/home/HomeScreenViewModel.kt | KnutHoltet | 815,837,337 | false | {"Kotlin": 235497} | package com.example.vaersel.ui.home
import android.util.Log
import androidx.annotation.MainThread
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.example.vaersel.data.location.LocationRepository
import com.example.vaersel.data.location.UserLocation
import com.example.vaersel.dat... | 0 | Kotlin | 1 | 3 | 9875c99e337ea5e28bdffea0f8a00615226e4499 | 5,265 | V-rsel | MIT License |
app/src/main/java/com/mati/wikiapp/adapter/ExplorAdapter.kt | mr-mati | 652,183,858 | false | null | package com.mati.wikiapp.adapter
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.bumptech.glide.Glide
import com.mati.wikiapp.data.item_post
import com.mati.wikiapp.databinding.ItemExplorBinding
class ExplorAdapter(p... | 0 | Kotlin | 0 | 1 | ce9f1c9dbb7ba1e4180a4409aeb1ba268634f3d1 | 1,584 | WikiApp | MIT License |
compiler/ir/backend.py/src/org/jetbrains/kotlin/ir/backend/py/utils/Namer.kt | krzema12 | 312,049,057 | true | null | /*
* Copyright 2010-2018 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.ir.backend.py.utils
object Namer {
val OUTER_NAME = "\$outer"
val UNREAC... | 34 | Kotlin | 2 | 24 | af0c7cfbacc9fa1cc9bec5c8e68847b3946dc33a | 717 | kotlin-python | Apache License 2.0 |
app/src/main/java/com/timebudget/data/database/AppDatabase.kt | MobileEIvanov | 156,843,897 | false | null | package com.timebudget.data.database
import android.arch.persistence.room.Database
import android.arch.persistence.room.Room
import android.arch.persistence.room.RoomDatabase
import android.arch.persistence.room.TypeConverters
import android.content.Context
import com.timebudget.entities.TimeTrackEntry
/**
*
*/
@Da... | 0 | Kotlin | 0 | 0 | ef35495a47c98c8dc448b4098df2069af79cb754 | 1,288 | Time-Budget | Apache License 2.0 |
analysis/low-level-api-fir/src/org/jetbrains/kotlin/analysis/low/level/api/fir/caches/cleanable/CleanableSoftValueReferenceCache.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... | /*
* Copyright 2010-2024 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.analysis.low.level.api.fir.caches.cleanable
import org.jetbrains.kotlin.analysis... | 181 | Kotlin | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 1,445 | kotlin | Apache License 2.0 |
app/src/main/java/com/example/budget/cat_type/CatTypeViewModel.kt | okumaru | 725,161,333 | false | {"Kotlin": 258088} | package com.example.budget.cat_type
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
import androidx.lifecycle.ViewModel
import com.example.budget.BudgetAPI
import com.example.budget.data.APIConfig
import com.example.budget.data.AddCatType... | 0 | Kotlin | 0 | 0 | 59627b9d50538fbbc5512f2622a3608ced425577 | 3,120 | mobile-app-budget | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.