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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
src/com/github/elifarley/kotlin/textfile/BeanIOKit.kt | elifarley | 60,357,928 | false | {"Text": 1, "Markdown": 1, "XML": 4, "Kotlin": 33, "Java": 1, "SQL": 1} | package com.orgecc.util.textfile
import com.orgecc.util.io.IOWithDigest
import com.orgecc.util.io.digestInputStream
import com.orgecc.util.io.digestOutputStream
import org.beanio.BeanReader
import org.beanio.BeanWriter
import org.beanio.StreamFactory
import java.io.Reader
import java.io.Writer
import java.nio.file.Pat... | 0 | Kotlin | 0 | 0 | 7092fa06f4229fb457fda24058f0af81b458edc6 | 2,577 | kotlin-misc-lib | MIT License |
api/src/benchmark/kotlin/com/meowool/cloak/ReflectionObjectAccessTests.kt | meowool-catnip | 458,815,907 | false | {"Kotlin": 241696} | /*
* Copyright (c) 2022. The Meowool Organization 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless req... | 6 | Kotlin | 0 | 1 | 0b26ee46d61a731b882d6617a05a2f3be3c3ad61 | 8,988 | cloak | Apache License 2.0 |
src/main/kotlin/br/com/mng/panorama/repository/ReguaRepository.kt | mangar | 215,615,199 | false | null | package main.kotlin.repository
import br.com.mng.panorama.model.*
import main.kotlin.repository.sheet.doubleFor
import java.lang.Math.ceil
class ReguaRepository(val db: AjustesFechamentosRepository) {
suspend fun reguaDePreco(precoMedio: Int): List<Preco> {
val first = db.first()
val newPrecoMedio = if... | 1 | Kotlin | 0 | 0 | c1d3511dc86a112c349659d151c00cd39f77b1db | 2,249 | kotlin-ktor-gcloud-heroku | MIT License |
common/src/main/kotlin/io/liquidsoftware/common/validation/Msisdn.kt | edreyer | 445,325,795 | false | {"Kotlin": 204259, "Procfile": 119} | package io.liquidsoftware.common.validation
import jakarta.validation.Constraint
import jakarta.validation.Payload
import kotlin.annotation.AnnotationRetention.RUNTIME
import kotlin.annotation.AnnotationTarget.*
import kotlin.reflect.KClass
@MustBeDocumented
@Retention(RUNTIME)
@Target(FUNCTION, PROPERTY_GETTER, PROP... | 7 | Kotlin | 12 | 49 | 8e006542b23bb90823c66dfe59a70476370a912c | 580 | modulith | MIT License |
android/src/main/java/com/calllog/CallLogPackage.kt | jc578271 | 747,984,661 | false | {"Kotlin": 9983, "TypeScript": 6365, "Ruby": 3691, "Objective-C": 2368, "JavaScript": 2122, "Objective-C++": 1125, "Swift": 282, "C": 103} | package com.calllog
import com.facebook.react.ReactPackage
import com.facebook.react.bridge.NativeModule
import com.facebook.react.bridge.ReactApplicationContext
import com.facebook.react.uimanager.ViewManager
class CallLogPackage : ReactPackage {
override fun createNativeModules(reactContext: ReactApplicationCont... | 0 | Kotlin | 0 | 0 | c498a56559d037de26f7e96940aa783ea8408ccc | 528 | react-native-call-log | MIT License |
src/test/kotlin/camilyed/github/io/currencyexchangeapi/testing/builders/ExchangeUsdToPlnCommandBuilder.kt | CamilYed | 866,095,857 | false | {"Kotlin": 89716} | package camilyed.github.io.currencyexchangeapi.testing.builders
import camilyed.github.io.currencyexchangeapi.application.ExchangeUsdToPlnCommand
import java.math.BigDecimal
import java.util.UUID
class ExchangeUsdToPlnCommandBuilder private constructor() {
private var accountId: UUID = UUID.randomUUID()
priva... | 1 | Kotlin | 0 | 1 | 08316f983f95d6a815ca36676d6a3db84ed1fdaf | 851 | currency-exchange-api | MIT License |
jps-plugin/testData/incremental/classHierarchyAffected/overrideImplicit/C.kt | JakeWharton | 99,388,807 | false | null | class C<out T> | 179 | null | 5640 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 14 | kotlin | Apache License 2.0 |
src/main/kotlin/com/sergeysav/voxel/client/block/LeavesBlockMesher.kt | SergeySave | 260,611,748 | false | null | package com.sergeysav.voxel.client.block
import com.sergeysav.voxel.client.resource.texture.TextureResource
import com.sergeysav.voxel.common.block.Block
import com.sergeysav.voxel.common.block.state.BlockState
/**
* @author sergeys
*
* @constructor Creates a new SolidBlockMesher
*/
open class LeavesBlockMesher<B... | 0 | Kotlin | 0 | 0 | 446f91f11661f1b87e1fb7b2f533f9e24b45704e | 520 | Voxel | MIT License |
modules/core/src/main/java/de/deutschebahn/bahnhoflive/util/Extensions.kt | dbbahnhoflive | 267,806,942 | false | null | /*
* SPDX-FileCopyrightText: 2020 DB Station&Service AG <<EMAIL>>
*
* SPDX-License-Identifier: Apache-2.0
*/
package de.deutschebahn.bahnhoflive.util
/**
* Calls the specified function [block] with `this` value as its receiver only if it is not `null` and finally returns `null`.
*/
inline fun <T> T?.destroy(blo... | 1 | Kotlin | 4 | 33 | 110c6c0ade89306eeb3b9444cbecde15af69e491 | 380 | dbbahnhoflive-android | Apache License 2.0 |
codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/smithy/customizations/AllowLintsCustomization.kt | smithy-lang | 308,027,791 | false | {"Rust": 4428309, "Kotlin": 3842117, "Smithy": 151231, "Python": 62946, "Shell": 49728, "TypeScript": 30713, "Dockerfile": 9790, "JavaScript": 5975, "Harbour": 5848, "Makefile": 5633, "CSS": 982, "RenderScript": 116} | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
package software.amazon.smithy.rust.codegen.core.smithy.customizations
import software.amazon.smithy.rust.codegen.core.rustlang.Attribute
import software.amazon.smithy.rust.codegen.core.rustlang.Attribu... | 357 | Rust | 188 | 504 | 8d8e7ab7aa6c3b388ffb2365a29ab03f87c24507 | 3,881 | smithy-rs | Apache License 2.0 |
src/main/kotlin/com/lykke/matching/engine/deduplication/ProcessedMessagesCache.kt | rgrativol | 117,153,696 | true | {"Kotlin": 540999, "Java": 31421} | package com.lykke.matching.engine.deduplication
import java.util.Date
import java.util.HashMap
import java.util.HashSet
import java.util.concurrent.locks.ReentrantReadWriteLock
import kotlin.concurrent.fixedRateTimer
import kotlin.concurrent.read
import kotlin.concurrent.write
class ProcessedMessagesCache(
ex... | 0 | Kotlin | 0 | 1 | 3cc9b02bf8989d3da5908533288d83097afd24e3 | 1,548 | MatchingEngine | MIT License |
logging-spring-boot-starter/src/main/kotlin/me/lura/logging/utils/ThrowableUtil.kt | lura-framework | 435,202,723 | false | {"Kotlin": 15179, "Java": 5369, "Vue": 4679, "Shell": 2121, "JavaScript": 1795, "HTML": 313, "CSS": 181} |
package me.lura.logging.utils
import java.io.StringWriter
import java.io.PrintWriter
object ThrowableUtil {
/**
* 获取堆栈信息
*/
fun getStackTrace(throwable: Throwable): String {
val sw = StringWriter()
PrintWriter(sw).use { pw ->
throwable.printStackTrace(pw)
return sw.toString()
}
}... | 0 | Kotlin | 0 | 3 | 7790578bdd4100ba7887b9c39c90673282f7d160 | 323 | lura-framework | Apache License 2.0 |
app/shared/state-machine/ui/public/src/commonTest/kotlin/build/wallet/statemachine/recovery/cloud/RectifiableErrorHandlingUiStateMachineMock.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.statemachine.recovery.cloud
import build.wallet.statemachine.ScreenStateMachineMock
import build.wallet.statemachine.cloud.RectifiableErrorHandlingProps
import build.wallet.statemachine.cloud.RectifiableErrorHandlingUiStateMachine
class RectifiableErrorHandlingUiStateMachineMock :
RectifiableEr... | 0 | C | 10 | 98 | 1f9f2298919dac77e6791aa3f1dbfd67efe7f83c | 446 | bitkey | MIT License |
bubble/src/main/java/pl/touk/android/bubble/orientation/OrientationCalculator.kt | TouK | 43,546,848 | false | null | /*
* Copyright 2015 the original author or 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 ... | 0 | Kotlin | 10 | 99 | 6539f151658c0c1e27105a5098b3cb6419b2ebb1 | 1,304 | bubble | Apache License 2.0 |
diktat-rules/src/test/kotlin/org/cqfn/diktat/ruleset/chapter3/SingleLineStatementsRuleWarnTest.kt | petertrr | 284,037,259 | false | null | package org.cqfn.diktat.ruleset.chapter3
import com.pinterest.ktlint.core.LintError
import org.cqfn.diktat.ruleset.constants.Warnings.MORE_THAN_ONE_STATEMENT_PER_LINE
import org.cqfn.diktat.ruleset.rules.DIKTAT_RULE_SET_ID
import org.cqfn.diktat.ruleset.rules.SingleLineStatementsRule
import org.cqfn.diktat.util.lintMe... | 2 | null | 0 | 1 | 45231eddab4e968db6f19a6ad82ae96f14223385 | 5,291 | diktat-backup | MIT License |
src/main/kotlin/no/nav/paw/arbeidssokerregisteret/application/fakta/NavAnsattTilgangFakta.kt | navikt | 696,270,058 | false | null | package no.nav.paw.arbeidssokerregisteret.application.fakta
import no.nav.paw.arbeidssokerregisteret.RequestScope
import no.nav.paw.arbeidssokerregisteret.application.Opplysning
import no.nav.paw.arbeidssokerregisteret.domain.Identitetsnummer
import no.nav.paw.arbeidssokerregisteret.domain.navAnsatt
import no.nav.paw.... | 0 | null | 0 | 1 | df53351c6c7509374d93f5a17d239fe9af88107c | 807 | paw-arbeidssokerregisteret-api-inngang | MIT License |
alwan/src/main/java/com/raedapps/alwan/renderer/AlphaSliderRenderer.kt | Raed-Mughaus | 535,075,444 | false | {"Kotlin": 37031} | package com.raedapps.alwan.renderer
import androidx.compose.ui.geometry.*
import androidx.compose.ui.graphics.Brush
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.Path
import androidx.compose.ui.graphics.drawscope.DrawScope
import androidx.compose.ui.graphics.drawscope.clipPath
import an... | 0 | Kotlin | 0 | 8 | ee01fccbb12429a6d7ce7f4b86fdf563059f1e24 | 1,400 | compose-color-picker | Apache License 2.0 |
core-api/src/main/java/ru/boronin/core/api/schedulers/SchedulersProvider.kt | boronin-serge | 242,097,636 | false | null | package ru.boronin.core.api.schedulers
import io.reactivex.Scheduler
interface SchedulersProvider {
fun ui(): Scheduler
fun computation(): Scheduler
fun trampoline(): Scheduler
fun newThread(): Scheduler
fun io(): Scheduler
fun single(): Scheduler
} | 1 | null | 1 | 2 | 7e351c095a3f3f51029b18eaa4eda6f989dff253 | 263 | simpleweather | MIT License |
identity-starter/src/main/kotlin/com/labijie/application/identity/model/SocialUserAndRoles.kt | hongque-pro | 309,874,586 | false | null | package com.labijie.application.identity.model
import com.labijie.application.identity.data.RoleRecord
import com.labijie.application.identity.data.UserRecord
class SocialUserAndRoles(
user: UserRecord,
roles: List<RoleRecord>,
val loginProvider: String,
val loginProviderKey: String
) : UserAndRoles(u... | 0 | Kotlin | 0 | 5 | c8be28b6fb0813c673de5e82c6d9bd0f3e6bb953 | 545 | application-framework | Apache License 2.0 |
library/src/commonMain/kotlin/ir/mahozad/multiplatform/wavyslider/Core.kt | mahozad | 662,135,204 | false | {"Kotlin": 137506, "HTML": 580, "Swift": 580, "CSS": 300, "Ruby": 101} | package ir.mahozad.multiplatform.wavyslider
import androidx.compose.animation.core.*
import androidx.compose.runtime.*
import androidx.compose.ui.geometry.Offset
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.Path
import androidx.compose.ui.graphics.StrokeCap
import androidx.compose.ui.g... | 4 | Kotlin | 5 | 89 | fdf23a9360ba4d2318852ecb0e500512a4eb45b2 | 19,914 | wavy-slider | Apache License 2.0 |
plugin/src/main/kotlin/ru/astrainteractive/astrashop/gui/buy/presentation/DefaultBuyComponent.kt | Astra-Interactive | 562,599,158 | false | {"Kotlin": 94761} | package ru.astrainteractive.astrashop.gui.buy.presentation
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.launch
import ru.astrainteractive.astralibs.async.AsyncComponent
import ru.astrainteractive.astralibs.economy.EconomyProvider
import ru.astrainterac... | 0 | Kotlin | 1 | 0 | 0226292b23c80c426cdad76f0710acf30e8da410 | 2,692 | AstraShop | MIT License |
app/src/main/java/com/example/coderadar/presentation/adapter/ContestAdapter.kt | thekuldeep07 | 430,311,480 | false | null | package com.example.coderadar.presentation.adapter
import android.app.*
import android.content.Context
import android.content.Intent
import android.graphics.Color
import android.net.Uri
import android.view.LayoutInflater
import android.view.ViewGroup
import android.widget.Toast
import androidx.lifecycle.LifecycleOwner... | 0 | Kotlin | 3 | 0 | 028f4624a72c78b84ae1e5df2aa989e1f893ea7c | 6,603 | CodeRadar | MIT License |
file/src/jvmTest/kotlin/CacheJvmFileSystemTest.kt | aSoft-Ltd | 629,808,228 | false | {"Kotlin": 21607} | import keep.CacheFile
import keep.CacheFileConfig
import keep.internal.AbstractCacheTest
import keep.save
import kommander.expect
import koncurrent.later.andThen
import koncurrent.later.test
import okio.FileSystem
import okio.Path.Companion.toPath
import okio.fakefilesystem.FakeFileSystem
import kotlin.test.Test
clas... | 0 | Kotlin | 0 | 0 | dc9c1f4db2bebe237978fb1094ddca420bdd8997 | 937 | keep | MIT License |
fc-sql-adaptor/src/test/kotlin/TestInput.kt | shumy-tools | 275,159,306 | false | {"CSS": 1396003, "Kotlin": 131108, "Vue": 15926, "JavaScript": 11832, "TypeScript": 5601, "Svelte": 2493, "ANTLR": 2336, "HTML": 1403, "SCSS": 1026} | package fc.adaptor.test
import fc.adaptor.sql.SQLAdaptor
import fc.api.FcDatabase
import fc.api.RefTree
import org.junit.Test
private val adaptor = SQLAdaptor("jdbc:h2:mem:InputTest", sqlListener).also {
it.createSchema(schema)
}
class TestInput {
private val db = FcDatabase(adaptor)
@Test fun testFieldTypes(... | 11 | CSS | 0 | 6 | 0381242c39d92d29f096d23f0993af1cc8488cba | 11,895 | fatcoach | MIT License |
app/src/main/kotlin/com/joba/barebone/example/ui/viewmodel/ExampleListViewModel.kt | AndroidGuyDD | 86,910,346 | false | null | package com.joba.barebone.example.ui.viewmodel
import android.content.Context
import android.databinding.BaseObservable
/**
* ViewModel class for list items.
*/
class ExampleListViewModel(val context: Context,
val item: String): BaseObservable() | 0 | Kotlin | 1 | 5 | a0fa331195430122e1e87aa4992b49577bb87dcc | 275 | BarboneAndroidKotlin | Apache License 2.0 |
zircon.core/src/jvmTest/kotlin/org/hexworks/zircon/api/component/data/ComponentMetadataTest.kt | Hexworks | 94,116,947 | false | null | package org.hexworks.zircon.api.component.data
import org.hexworks.cobalt.databinding.api.extension.toProperty
import org.hexworks.zircon.api.component.ComponentStyleSet
import org.hexworks.zircon.api.data.Position
import org.hexworks.zircon.api.data.Size
import org.hexworks.zircon.internal.resource.BuiltInCP437Tilese... | 42 | null | 138 | 738 | 55a0ccc19a3f1b80aecd5f1fbe859db94ba9c0c6 | 814 | zircon | Apache License 2.0 |
zircon.core/src/jvmTest/kotlin/org/hexworks/zircon/api/component/data/ComponentMetadataTest.kt | Hexworks | 94,116,947 | false | null | package org.hexworks.zircon.api.component.data
import org.hexworks.cobalt.databinding.api.extension.toProperty
import org.hexworks.zircon.api.component.ComponentStyleSet
import org.hexworks.zircon.api.data.Position
import org.hexworks.zircon.api.data.Size
import org.hexworks.zircon.internal.resource.BuiltInCP437Tilese... | 42 | null | 138 | 738 | 55a0ccc19a3f1b80aecd5f1fbe859db94ba9c0c6 | 814 | zircon | Apache License 2.0 |
browser-kotlin/src/jsMain/kotlin/web/keyboard/Key.kt | karakum-team | 393,199,102 | false | {"Kotlin": 6630901} | // Automatically generated - do not modify!
package web.keyboard
object Key {
inline val Backquote: KeyCode
get() = KeyCode("Backquote")
inline val Backslash: KeyCode
get() = KeyCode("Backslash")
inline val Backspace: KeyCode
get() = KeyCode("Backspace")
inline val BracketLe... | 0 | Kotlin | 6 | 28 | 664781d7bdaf5f4aca206e11990b1d304fd45212 | 11,283 | types-kotlin | Apache License 2.0 |
arcade-items/src/main/kotlin/net/casual/arcade/items/ArcadeModelledItem.kt | CasualChampionships | 621,955,934 | false | {"Kotlin": 1009293, "Java": 177804, "GLSL": 4396} | package net.casual.arcade.items
import eu.pb4.polymer.core.api.item.PolymerItem
import net.minecraft.server.level.ServerPlayer
import net.minecraft.world.item.Item
import net.minecraft.world.item.ItemStack
import org.jetbrains.annotations.ApiStatus.NonExtendable
/**
* This interface allows you to create your own
* ... | 1 | Kotlin | 1 | 2 | 313ea08f5d9ad562b4bb5aef28b6fa5891615baa | 2,748 | arcade | MIT License |
remote/src/main/java/com/anangkur/budgetku/remote/mapper/budget/CategoryProjectMapper.kt | anangkur | 270,303,728 | false | {"Gradle": 12, "Java Properties": 2, "Shell": 1, "Text": 3, "Ignore List": 11, "Batchfile": 1, "Markdown": 1, "INI": 6, "Proguard": 6, "XML": 72, "Kotlin": 188, "JSON": 1, "Java": 8, "Gradle Kotlin DSL": 1, "JAR Manifest": 1, "SQL": 1} | package com.anangkur.budgetku.remote.mapper.budget
import com.anangkur.budgetku.data.model.budget.CategoryProjectEntity
import com.anangkur.budgetku.remote.mapper.Mapper
import com.anangkur.budgetku.remote.model.budget.CategoryProjectRemote
class CategoryProjectMapper: Mapper<CategoryProjectRemote, CategoryProjectEnt... | 10 | Kotlin | 0 | 3 | 82dc439d0df25cc894de5fc8d2604f1670c6cf31 | 1,077 | Budget-Ku | MIT License |
app/src/main/java/m1k/kotik/negocards/data/canvas_qrc/canvas_view/canvas_objects/texts/ICanvasText.kt | M1KoTiK | 586,878,944 | false | {"Kotlin": 348996} | package m1k.kotik.negocards.data.canvas_qrc.canvas_view.canvas_objects.texts
import m1k.kotik.negocards.data.canvas_qrc.canvas_view.canvas_objects.ICanvasDrawable
import m1k.kotik.negocards.data.canvas_qrc.canvas_view.canvas_objects.ICanvasMeasurable
import m1k.kotik.negocards.data.canvas_qrc.canvas_view.canvas_object... | 0 | Kotlin | 0 | 1 | 55ddf60dde0cbacb49b92262b5e972aa0ca42a58 | 640 | Nego-Cards | Apache License 2.0 |
src/main/kotlin/dev/rivu/rivutalks/feature/blogs/models/SiteBlogResponse.kt | RivuChk | 589,626,244 | false | null | package dev.rivu.rivutalks.feature.blogs.models
import dev.rivu.rivutalks.response.BaseResponse
import kotlinx.serialization.Serializable
@Serializable
data class SiteBlogResponse(
val sites: Map<Site, Blog>
) : BaseResponse(true)
| 0 | Kotlin | 0 | 0 | 33cc54e162724bf016e3ad36768e07efb363b7a1 | 237 | RivuTalks-Backend | MIT License |
app/src/main/java/com/example/demo/fragment/detail/UnSocVivosDetailFragment.kt | poximan | 711,693,982 | false | {"Kotlin": 253043, "Java": 120} | package com.example.demo.fragment.detail
import android.os.Bundle
import android.text.Editable
import android.text.TextWatcher
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import com.example.demo.databinding.FragmentUnsocVivosBinding
im... | 0 | Kotlin | 0 | 0 | ffd8929282d74fd00ff409a509f978c912db2f6e | 4,992 | harenkaren | MIT License |
DiaryPlus-App-v1.0.0/app/src/main/java/com/example/diarybook/view/fragment/SettingsFragment.kt | mustafakamber | 736,231,148 | false | {"Kotlin": 268426} | package com.example.diarybook.view.fragment
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Toast
import androidx.activity.OnBackPressedCal... | 0 | Kotlin | 0 | 0 | 002fdd83722a805264cf0ea426796aaef36a842c | 9,820 | DiaryPlus-App-v1.0.0 | MIT License |
rssparser/src/main/java/com/prof/rssparser/caching/CacheDatabase.kt | prof18 | 61,429,036 | false | null | package com.prof.rssparser.caching
import android.content.Context
import androidx.room.AutoMigration
import androidx.room.Database
import androidx.room.Room
import androidx.room.RoomDatabase
@Database(
entities = [CachedFeed::class],
version = 2,
autoMigrations = [
AutoMigration(from = 1, to = 2)
... | 5 | null | 118 | 403 | 686eb4194dd5496bedca002a8194378b84e6115b | 1,172 | RSS-Parser | Apache License 2.0 |
clef-workflow-api/clef-workflow-api-usecase-factory/clef-workflow-api-usecase-factory-workflow/src/main/kotlin/io/quee/clef/workflow/api/usecase/factory/workflow/response/workflow/WorkflowDetailsResponse.kt | Quee-io | 247,057,756 | false | null | package io.quee.clef.workflow.api.usecase.factory.workflow.response.workflow
import io.quee.api.develop.usecase.model.UseCaseResponse
import io.quee.clef.workflow.api.common.response.ViewIdentify
/**
* Created By [**<NAME> **](https://www.linkedin.com/in/iloom/)<br></br>
* Created At **13**, **Fri Mar, 2020**
* P... | 1 | Kotlin | 0 | 0 | 217da218289fbbc1c1460309883d806dc52dc401 | 663 | clef-workflow | Apache License 2.0 |
app/src/main/java/br/com/dipaulamobilesolutions/bestmovies/ui/movieInfo/viewmodel/MovieInfoViewModel.kt | Fernando922 | 412,252,857 | false | {"Kotlin": 24209} | package br.com.dipaulamobilesolutions.bestmovies.ui.movieInfo.viewmodel
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import br.com.dipaulamobilesolutions.bestmovies.data.model.MovieDetail
import br.com.dipaulamobilesolutions.bestmovies.data.repository... | 0 | Kotlin | 0 | 0 | 8bc0cdfa3ae07d67553f48d3cb7e1113e8a7732e | 1,664 | best-movies | Open Market License |
shared/src/iosMain/kotlin/org/burnoutcrew/storekmp/WrappedFlow.kt | aclassen | 449,278,522 | true | {"Kotlin": 92199, "Swift": 20019, "Ruby": 1707} | /*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | 0 | Kotlin | 0 | 4 | 8659ba0329a22701335a4bac9821007adb812f6d | 1,313 | Store | Apache License 2.0 |
example-app/src/main/java/au/gov/dfat/vdsncchecker/example/MainActivity.kt | australian-passport-office | 469,984,907 | false | null | // Copyright (c) 2021, Commonwealth of Australia. vds.support@dfat.gov.au
//
// 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 | 1 | b787604c4e85c124c33ea0aee0d1a5c3e3dff881 | 6,896 | vds-nc-reader-library-android | Apache License 2.0 |
apps/etterlatte-oppdater-behandling/src/main/kotlin/inntektsjustering/InntektsjusteringVarselOmVedtakRiver.kt | navikt | 417,041,535 | false | {"Kotlin": 7123579, "TypeScript": 1705665, "Handlebars": 25499, "Shell": 12687, "HTML": 1734, "CSS": 598, "PLpgSQL": 556, "Dockerfile": 547} | package no.nav.etterlatte.inntektsjustering
import no.nav.etterlatte.BehandlingService
import no.nav.etterlatte.brev.BREVMAL_RIVER_KEY
import no.nav.etterlatte.brev.BrevRequestHendelseType
import no.nav.etterlatte.brev.Brevkoder
import no.nav.etterlatte.funksjonsbrytere.FeatureToggle
import no.nav.etterlatte.funksjons... | 12 | Kotlin | 0 | 6 | 5ead062a6569aa09c85c8ed189073fb9859e3332 | 5,399 | pensjon-etterlatte-saksbehandling | MIT License |
apps/etterlatte-oppdater-behandling/src/main/kotlin/inntektsjustering/InntektsjusteringVarselOmVedtakRiver.kt | navikt | 417,041,535 | false | {"Kotlin": 7123579, "TypeScript": 1705665, "Handlebars": 25499, "Shell": 12687, "HTML": 1734, "CSS": 598, "PLpgSQL": 556, "Dockerfile": 547} | package no.nav.etterlatte.inntektsjustering
import no.nav.etterlatte.BehandlingService
import no.nav.etterlatte.brev.BREVMAL_RIVER_KEY
import no.nav.etterlatte.brev.BrevRequestHendelseType
import no.nav.etterlatte.brev.Brevkoder
import no.nav.etterlatte.funksjonsbrytere.FeatureToggle
import no.nav.etterlatte.funksjons... | 12 | Kotlin | 0 | 6 | 5ead062a6569aa09c85c8ed189073fb9859e3332 | 5,399 | pensjon-etterlatte-saksbehandling | MIT License |
android-aop-plugin/src/main/kotlin/com/flyjingfish/android_aop_plugin/plugin/BasePlugin.kt | FlyJingFish | 722,020,803 | false | {"Kotlin": 514894, "Java": 95343} | package com.flyjingfish.android_aop_plugin.plugin
import org.gradle.api.Plugin
import org.gradle.api.Project
abstract class BasePlugin :Plugin<Project> {
private lateinit var pluginConfig: PluginConfig
private fun init(project: Project){
pluginConfig = PluginConfig(project)
}
fun isIncrementa... | 0 | Kotlin | 29 | 433 | b6743fd17ae2c062bc1ee2104d2d95c931139998 | 1,036 | AndroidAOP | Apache License 2.0 |
hook-measure/src/main/java/com/timedance/hookmeasure/autolayout/attr/AutoAttr.kt | timedance | 219,380,717 | false | null | package com.timedance.hookmeasure.autolayout.attr
import android.view.View
import com.timedance.hookmeasure.autolayout.utils.AutoUtils
/**
* Created by zhy on 15/12/4.
*/
internal abstract class AutoAttr(protected var pxVal: Int) {
private val percentWidthSize = AutoUtils.getPercentWidthSize(pxVal)
open f... | 1 | Kotlin | 2 | 17 | 4012fbe6a325fce206ecd088d8e8c128883914b7 | 522 | ScreenAdapter | Apache License 2.0 |
ui/text/integration-tests/text-demos/src/main/java/androidx/ui/text/demos/CraneInputField.kt | mikecraig6810 | 199,237,389 | true | {"Kotlin": 129843, "Shell": 5720, "Java": 1166} | /*
* Copyright 2019 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 0 | Kotlin | 0 | 0 | 2bfe15ca3426b30290971813f9ea3a6b49979387 | 1,676 | platform_frameworks_support | MIT License |
sykepenger-model/src/test/kotlin/no/nav/helse/spleis/e2e/HendelseHelpers.kt | navikt | 193,907,367 | false | null | package no.nav.helse.spleis.e2e
import java.time.LocalDateTime
import java.util.UUID
import no.nav.helse.hendelser.Sykmeldingsperiode
import no.nav.helse.hendelser.Søknad.Søknadsperiode
import no.nav.helse.person.IdInnhenter
import no.nav.helse.person.TilstandType
import no.nav.helse.person.aktivitetslogg.Aktivitet
i... | 2 | null | 6 | 5 | 2f940cad2bc6a756033a4e19edc5236a0648c971 | 4,132 | helse-spleis | MIT License |
shared/src/commonMain/kotlin/data/model/BaseResponse.kt | BasemNasr | 710,329,067 | false | {"Kotlin": 83265, "Swift": 773, "Ruby": 266, "Shell": 228} | package data.model
import kotlinx.serialization.Serializable
@Serializable
open class BaseResponse(
val statusCode: Int?=null,
val message: String?=null
) | 0 | Kotlin | 0 | 0 | 212d9ca82915aff458bb709c1b21c488c0cfa3c5 | 164 | StoreKMP | Apache License 2.0 |
shared/src/commonMain/kotlin/data/model/BaseResponse.kt | BasemNasr | 710,329,067 | false | {"Kotlin": 83265, "Swift": 773, "Ruby": 266, "Shell": 228} | package data.model
import kotlinx.serialization.Serializable
@Serializable
open class BaseResponse(
val statusCode: Int?=null,
val message: String?=null
) | 0 | Kotlin | 0 | 0 | 212d9ca82915aff458bb709c1b21c488c0cfa3c5 | 164 | StoreKMP | Apache License 2.0 |
app/src/main/java/com/github/satoshun/example/App.kt | satoshun-android-example | 170,878,668 | false | null | package com.github.satoshun.example
import dagger.android.AndroidInjector
import dagger.android.support.DaggerApplication
class App : DaggerApplication() {
override fun applicationInjector(): AndroidInjector<out DaggerApplication> {
return DaggerAppComponent.builder()
.applicationContext(this)
.crea... | 0 | Kotlin | 0 | 1 | 7337537e3074c442735bed1bd62c09c4e2bc23a3 | 335 | MultiModuleNavigationComponentExample | Apache License 2.0 |
app/src/main/java/me/threebecause/learning/data/remote/api/MockInterceptor.kt | tuan-brother | 362,051,235 | false | null | package me.threebecause.learning.data.remote.api
class MockInterceptor {
} | 1 | null | 1 | 1 | 3057d329916a9bf73a65b2e05989dd7d5df0e720 | 75 | ExampleLearing | Apache License 2.0 |
src/main/kotlin/com/raglic/ark2mail/service/ReceiverService.kt | pdahlberg | 121,530,324 | false | null | package com.raglic.ark2mail.service
import com.raglic.ark2mail.model.ArkAmount
import com.raglic.ark2mail.model.Email
import com.raglic.ark2mail.model.Receiver
import com.raglic.ark2mail.model.UserText
import com.raglic.ark2mail.persistence.ReceiverRepository
import org.springframework.beans.factory.annotation.Autowir... | 0 | Kotlin | 0 | 0 | 40fda9946527f1de0f06ed22194ab19c5c70e784 | 931 | ark2mail | MIT License |
src/main/kotlin/com/raglic/ark2mail/service/ReceiverService.kt | pdahlberg | 121,530,324 | false | null | package com.raglic.ark2mail.service
import com.raglic.ark2mail.model.ArkAmount
import com.raglic.ark2mail.model.Email
import com.raglic.ark2mail.model.Receiver
import com.raglic.ark2mail.model.UserText
import com.raglic.ark2mail.persistence.ReceiverRepository
import org.springframework.beans.factory.annotation.Autowir... | 0 | Kotlin | 0 | 0 | 40fda9946527f1de0f06ed22194ab19c5c70e784 | 931 | ark2mail | MIT License |
kostra-barnevern/src/test/kotlin/no/ssb/kostra/barnevern/xsd/KategoriTypeTest.kt | statisticsnorway | 414,216,275 | false | {"Kotlin": 1616848, "TypeScript": 57891, "HTML": 694, "SCSS": 110} | package no.ssb.kostra.barnevern.xsd
import io.kotest.assertions.throwables.shouldNotThrowAny
import io.kotest.assertions.throwables.shouldThrow
import io.kotest.core.spec.style.BehaviorSpec
import io.kotest.data.forAll
import io.kotest.data.row
import io.kotest.matchers.shouldBe
import no.ssb.kostra.barnevern.KostraVa... | 2 | Kotlin | 0 | 1 | b719d0429551f89c14cb0352d26bf3bc017424e6 | 3,667 | kostra-kontrollprogram | MIT License |
app/src/main/java/fr/nexhub/homedia/features/item_list/ItemListViewState.kt | valmnt | 795,633,176 | false | {"Kotlin": 190952} | package fr.nexhub.homedia.features.item_list
import fr.nexhub.homedia.features.common.domain.model.Item
data class ItemListViewState(
val items: List<Item> = listOf()
) | 6 | Kotlin | 0 | 3 | 1e1b8f8f1b7bc8ae91efbad76a24be484215d648 | 174 | homedia | Apache License 2.0 |
project/core/src/main/kotlin/io/github/heyhey123/geoipfilter/utils/filter/parser.kt | heyhey123-git | 845,990,407 | false | {"Kotlin": 25049} | package io.github.heyhey123.geoipfilter.utils.filter
fun ruleParser(ruleStatement: String): List<FilterBase> {
val ruleList = ruleStatement.split(";").map {
val statement = it.split(":")
val key = statement[0]
val value = statement[1]
}
TODO("解析表达式")
} | 0 | Kotlin | 0 | 0 | f5cf42d750d76b9b93e47b9e87b100ab524382f1 | 290 | GeoIpFilter | Creative Commons Zero v1.0 Universal |
rider/src/main/kotlin/com/jetbrains/rider/UnityConfigurationImpl.kt | vinhui | 156,120,878 | true | {"C#": 1640729, "Kotlin": 241190, "ShaderLab": 67746, "Lex": 17789, "HLSL": 7370, "GLSL": 7015, "Java": 5463, "PowerShell": 1036, "Shell": 129} | package com.jetbrains.rider
import com.intellij.openapi.project.Project
import com.jetbrains.rider.projectView.indexing.contentModel.ContentModelExcludes
import java.io.File
class UnityConfigurationImpl(private val project: Project, unityProjectDiscoverer: UnityProjectDiscoverer, excludes: ContentModelExcludes) {
... | 0 | C# | 0 | 0 | 6aeb7a37b251599d4f55c2cf95aa3f260d8ccd86 | 926 | resharper-unity | Apache License 2.0 |
libraries/rib-portal/src/test/java/com/badoo/ribs/portal/PortalRouterTest.kt | ShikaSD | 178,303,031 | true | {"Kotlin": 1643578} | package com.badoo.ribs.portal
import com.badoo.ribs.core.Node
import com.badoo.ribs.core.modality.BuildContext.Companion.root
import com.badoo.ribs.core.modality.BuildParams
import com.badoo.ribs.routing.action.AttachRibRoutingAction.Companion.attach
import com.badoo.ribs.routing.Routing
import com.badoo.ribs.routing.... | 0 | Kotlin | 0 | 0 | 0ffeabef7928bb94d186baa5b8d94616f77c6a01 | 1,708 | RIBs | Apache License 2.0 |
zowe-cli/src/jsMain/kotlin/zowe/cli/zosfiles/compare/ds/Dataset.definition.kt | lppedd | 761,812,661 | false | {"Kotlin": 1887051} | @file:JsModule("@zowe/cli")
package zowe.cli.zosfiles.compare.ds
import zowe.imperative.cmd.doc.ICommandDefinition
/**
* Compare data sets command definition containing its description, examples and/or options
*/
external val DatasetDefinition: ICommandDefinition
| 0 | Kotlin | 0 | 3 | 0f493d3051afa3de2016e5425a708c7a9ed6699a | 269 | kotlin-externals | MIT License |
src/main/kotlin/com/brydonleonard/gatekey/metrics/MetricPublisher.kt | BrydonLeonard | 692,129,514 | false | {"Kotlin": 95257, "Dockerfile": 292} | package com.brydonleonard.gatekey.metrics
import com.brydonleonard.gatekey.persistence.model.MetricModel
import com.brydonleonard.gatekey.persistence.query.MetricStore
import org.springframework.stereotype.Component
import java.time.Instant
@Component
class MetricPublisher(val metricStore: MetricStore) {
fun publ... | 0 | Kotlin | 0 | 0 | c206ad07da679b7ed35a45c9ad539482e76f6b7f | 573 | GateKey | MIT License |
Hilt/app/src/main/java/com/example/hilt/FirstFragment.kt | fairoozp | 356,848,633 | false | null | package com.example.navhostfragmenttest
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Button
import androidx.navigation.findNavController
import androidx.navigation.fragment.findNavControlle... | 0 | Kotlin | 0 | 1 | 09bfb87ce91f6ccb6f8b08534b127f77116a5179 | 2,565 | Android_Kotlin_projects | MIT License |
compiler/testData/diagnostics/tests/multiplatform/scopes/actualAbstractClassWithAdditionalMembers.kt | JetBrains | 3,432,266 | false | null | // FIR_IDENTICAL
// TARGET_BACKEND: JVM
// LANGUAGE: +MultiPlatformProjects
// ISSUE: KT-64187
// MODULE: common
// TARGET_PLATFORM: Common
// FILE: common.kt
expect abstract class Base
expect class Derived : Base
// MODULE: jvm()()(common)
// TARGET_PLATFORM: JVM
// FILE: main.kt
actual abstract class Base {
a... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 401 | kotlin | Apache License 2.0 |
SleepestMaster/app/src/main/java/com/sleepestapp/sleepest/util/SleepTimeValidationUtil.kt | vanthomiy | 334,247,111 | false | null | package com.sleepestapp.sleepest.util
import android.content.Context
import android.text.format.DateFormat
import android.widget.Toast
import com.sleepestapp.sleepest.R
import com.sleepestapp.sleepest.model.data.AlarmSleepChangeFrom
import com.sleepestapp.sleepest.model.data.AlarmTimeData
import com.sleepestapp.sleepe... | 8 | Kotlin | 0 | 2 | ef3d037fbc4a2997e1339f9419d13d56d1a9f379 | 14,358 | Sleepest | MIT License |
src/main/kotlin/net/ofk/kotlinantbug/KotlinAntBug.kt | keyoffecka | 72,944,663 | false | {"Shell": 879, "Kotlin": 625} | package net.ofk.kotlinantbug
open class KotlinAntBug {
internal open fun method() {
}
} | 0 | Shell | 0 | 0 | d0ed3585bbbe908e68b480a0243d2d67cf3ee333 | 92 | kotlin-ant-bug | The Unlicense |
vk-api-generated/src/main/kotlin/name/anton3/vkapi/generated/groups/objects/GroupCategoryFull.kt | Anton3 | 159,801,334 | true | {"Kotlin": 1382186} | @file:Suppress("unused", "SpellCheckingInspection")
package name.anton3.vkapi.generated.groups.objects
/**
* No description
*
* @property id Category ID
* @property name Category name
* @property pageCount Pages number
* @property pagePreviews No description
* @property subcategories No description
*/
data cl... | 2 | Kotlin | 0 | 8 | 773c89751c4382a42f556b6d3c247f83aabec625 | 496 | kotlin-vk-api | MIT License |
jubako-recyclerviews/src/main/java/com/justeat/jubako/recyclerviews/adapters/PaginatedContentLoadingStrategy.kt | ladroshan | 243,923,418 | true | {"Kotlin": 143516, "Java": 8780} | package com.justeat.jubako.recyclerviews.adapters
import androidx.lifecycle.LifecycleOwner
import androidx.lifecycle.LiveData
import androidx.lifecycle.Observer
import com.justeat.jubako.ContentDescription
import com.justeat.jubako.ContentDescriptionCollection
import com.justeat.jubako.Jubako
import com.justeat.jubako... | 0 | null | 0 | 0 | 33c221b43c039251b5f1f6dde9c4d2f7f28cd8e8 | 10,371 | jubako | Apache License 2.0 |
src/commonMain/kotlin/com.adamratzman.spotify/endpoints/client/ClientPlayerApi.kt | molikuner | 291,526,130 | true | {"Kotlin": 532839} | /* Spotify Web API, Kotlin Wrapper; MIT License, 2017-2020; Original author: <NAME> */
package com.adamratzman.spotify.endpoints.client
import com.adamratzman.spotify.SpotifyApi
import com.adamratzman.spotify.SpotifyException.BadRequestException
import com.adamratzman.spotify.SpotifyRestAction
import com.adamratzman.s... | 0 | null | 0 | 0 | edd40ec84cc6d93511bb07fe48498df27cc5e831 | 15,510 | spotify-web-api-kotlin | MIT License |
app/src/main/java/com/docwei/retrofitdemo/model/Module.kt | docwei2050 | 413,326,958 | false | {"Java": 252928, "Kotlin": 15216} | package com.docwei.retrofitdemo.model
data class Module(
val cardModule: List<CardModule>,
val configId: String,
val irregularCardModule: List<IrregularCardModule>,
val moduleType: Int,
val more: More,
val navigationTagModule: List<NavigationTagModule>,
val normalKingKongModule: List<Normal... | 1 | Java | 1 | 1 | 4409c8cf618cc406bc9c0745416fec7a29c11d54 | 379 | RetrofitDemo | Apache License 2.0 |
dsl/camel-kotlin-api/src/generated/kotlin/org/apache/camel/kotlin/components/Aws2AthenaUriDsl.kt | nrkkalyan | 769,345,580 | true | {"Text": 253, "Shell": 20, "Maven POM": 579, "Batchfile": 4, "YAML": 73, "Markdown": 26, "Git Attributes": 1, "XML": 1777, "Ignore List": 19, "JSON": 2356, "Git Config": 1, "Java": 21339, "Java Properties": 999, "AsciiDoc": 1292, "Kotlin": 491, "JavaScript": 32, "Groovy": 162, "OASv3-json": 18, "Dockerfile": 5, "JAR Ma... | /*
* 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 may ... | 0 | null | 0 | 0 | 38deed9faacd537ae2838b6d540500da7692ba19 | 6,274 | camel | Apache License 2.0 |
src/main/java/me/windyteam/kura/notifications/NotificationType.kt | dyzjct | 570,597,758 | false | {"Java Properties": 2, "Gradle": 1, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Git Attributes": 1, "Markdown": 1, "Kotlin": 153, "Java": 457, "JSON": 2, "HAProxy": 1, "GLSL": 25, "XML": 9} | package me.windyteam.kura.notifications
import java.awt.Color
enum class NotificationType(val colour: Color) {
INFO(Color.GREEN), WARNING(Color.ORANGE), ERROR(Color.RED)
} | 0 | Java | 2 | 6 | 0b2e9fb04624e79bf9d91591b7658b6bb467c15e | 179 | Kura-Public | MIT License |
app/src/main/java/com/kyawhtut/pos/ui/category/CategoryRepository.kt | kyawhtut-cu | 420,752,432 | false | {"Kotlin": 458958, "HTML": 60019, "Java": 24255, "CSS": 234} | package com.kyawhtut.pos.ui.category
import androidx.lifecycle.LiveData
import com.kyawhtut.pos.base.BaseRepository
import com.kyawhtut.pos.data.db.entity.ProductBuilder
import com.kyawhtut.pos.data.db.entity.ProductEntity
interface CategoryRepository : BaseRepository {
val isEditAllow: Boolean
var category... | 0 | Kotlin | 0 | 1 | 524a6446144b2728307efe4a95883d7fe1034504 | 497 | atsy-pos | Apache License 2.0 |
modules/tak/compose/icons/src/main/kotlin/dev/jonpoulton/alakazam/tak/compose/icons/MapControl.kt | jonapoul | 375,762,483 | false | {"Kotlin": 3035874, "Shell": 670} | @file:Suppress("MatchingDeclarationName")
package dev.jonpoulton.alakazam.tak.compose.icons
import android.content.res.Configuration
import androidx.compose.runtime.Composable
import androidx.compose.ui.tooling.preview.Preview
import dev.jonpoulton.alakazam.tak.compose.icons.mapcontrol.Compass
import dev.jonpoulton.a... | 0 | Kotlin | 0 | 0 | 18e415e5f6079ab8d18a4a2e4b630d8a52aedc30 | 1,505 | alakazam | Apache License 2.0 |
src/main/kotlin/no/nb/bikube/newspaper/controller/ItemController.kt | NationalLibraryOfNorway | 694,135,748 | false | null | package no.nb.bikube.newspaper.controller
import io.swagger.v3.oas.annotations.Operation
import io.swagger.v3.oas.annotations.media.Content
import io.swagger.v3.oas.annotations.responses.ApiResponse
import io.swagger.v3.oas.annotations.responses.ApiResponses
import io.swagger.v3.oas.annotations.tags.Tag
import no.nb.b... | 3 | null | 0 | 3 | b0fb790c570838af598f31c7608be11de624159e | 3,414 | bikube | Apache License 2.0 |
app/src/androidTest/kotlin/ru/pixnews/foundation/ui/theme/ThemeTest.kt | illarionov | 305,333,284 | false | {"Kotlin": 2011397, "FreeMarker": 2782, "Shell": 855, "Fluent": 72} | /*
* Copyright (c) 2023, the Pixnews project authors and contributors. Please see the AUTHORS file for details.
* Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
*/
package ru.pixnews.foundation.ui.theme
import android.os.Build
import androidx.compose.material3.... | 4 | Kotlin | 0 | 2 | cab07bacfafb6d486cea4c5bf03cacb3dee5647f | 4,726 | Pixnews | Apache License 2.0 |
yanwte-core/src/main/java/com/github/winteryoung/yanwte/internals/YanwteRuntime.kt | moujian | 72,819,418 | true | {"Kotlin": 77099, "Java": 31990, "Ruby": 180} | package com.github.winteryoung.yanwte.internals
/**
* The runtime information of Yanwte.
*
* @author <NAME>
* @since 2016/1/26
*/
internal object YanwteRuntime {
private val currentRunningExtensionThreadLocal = ThreadLocal<YanwteExtension>()
/**
* Get or set the current running extension of the curr... | 0 | Kotlin | 0 | 0 | 5532a1a55f5207b3f55050133705f3279a9881fa | 566 | yanwte | Apache License 2.0 |
app/shared/bitcoin/fake/src/commonMain/kotlin/build/wallet/bitcoin/sync/ElectrumConfigServiceFake.kt | proto-at-block | 761,306,853 | false | {"C": 10474259, "Kotlin": 7954899, "Rust": 2637832, "Swift": 864356, "HCL": 349275, "Python": 338898, "Shell": 136166, "TypeScript": 118945, "C++": 69203, "Meson": 64811, "JavaScript": 36398, "Just": 32977, "Ruby": 13559, "Dockerfile": 5934, "Makefile": 3915, "Open Policy Agent": 1552, "Procfile": 80} | package build.wallet.bitcoin.sync
import build.wallet.bitcoin.sync.ElectrumServerPreferenceValue.Off
import build.wallet.bitcoin.sync.ElectrumServerPreferenceValue.On
import com.github.michaelbull.result.Ok
import com.github.michaelbull.result.Result
import kotlinx.coroutines.flow.MutableStateFlow
class ElectrumConfi... | 3 | C | 16 | 113 | 1af1bc74d51ecf1dff2f5355e3f33d000957b19b | 966 | bitkey | MIT License |
src/main/kotlin/com/mcstarrysky/land/LandCommands.kt | MCStarrySky | 842,286,542 | false | {"Kotlin": 137408} | package com.mcstarrysky.land
import com.mcstarrysky.land.data.toLandChunk
import com.mcstarrysky.land.manager.LandManager
import com.mcstarrysky.land.menu.LandMainMenu
import com.mcstarrysky.land.util.prettyInfo
import com.mcstarrysky.land.util.remove
import org.bukkit.Bukkit
import org.bukkit.command.CommandSender
im... | 0 | Kotlin | 0 | 0 | 4b8c2e504bbfb4900ed649741cd3acd83d86e09b | 3,065 | Land | Creative Commons Zero v1.0 Universal |
app/src/main/java/com/kotlinproject/ecommerceapp/Activity/Auth/SignUpActivity.kt | kbrakendirci | 516,407,296 | false | null | package com.kotlinproject.ecommerceapp.Activity.Auth
import android.app.Activity
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.Toast
import androidx.appcompat.app.AlertDialog
import com.kotlinproject.ecommerceapp.R
import com.google.fireba... | 0 | Kotlin | 0 | 0 | eea53786604193eeefaa17b0afa509a1eeb513a0 | 5,230 | DeliveryApp | MIT License |
features/chat/api/src/main/kotlin/ai/flox/chat/ChatRoutes.kt | saumye | 740,020,576 | false | {"Kotlin": 110084} | package ai.flox.chat
object ChatRoutes {
const val chat: String = "chat"
} | 0 | Kotlin | 0 | 1 | aefa8a4a526594fde635a0f33d9d95bacb339798 | 79 | flox | Apache License 2.0 |
features/chat/api/src/main/kotlin/ai/flox/chat/ChatRoutes.kt | saumye | 740,020,576 | false | {"Kotlin": 110084} | package ai.flox.chat
object ChatRoutes {
const val chat: String = "chat"
} | 0 | Kotlin | 0 | 1 | aefa8a4a526594fde635a0f33d9d95bacb339798 | 79 | flox | Apache License 2.0 |
core/src/main/java/ru/maksonic/beresta/core/converter/AssetsReader.kt | maksonic | 580,058,579 | false | null | package ru.maksonic.beresta.common.json_converter
import android.content.Context
/**
* @Author maksonic on 17.02.2023
*/
interface AssetsReader {
fun readAssetsString(fileName: String): String
class Core(private val context: Context) : AssetsReader {
override fun readAssetsString(fileName: String):... | 0 | Kotlin | 0 | 0 | 5704d413cd57a8eabe27b02a185a999fce2ca1e4 | 472 | Beresta | MIT License |
src/main/kotlin/com/abrahammenendez/personalwebsite/utils/junit/TestRule.kt | abrahammenendez | 541,302,910 | false | null | package org.junit.rules
@SuppressWarnings("unused")
interface TestRule
| 1 | Kotlin | 0 | 0 | 2607a4b4424c5c8e6aef35e8878ff11f4310b09c | 72 | personal-website | MIT License |
imagepipeline-base/src/main/java/com/facebook/imageutils/HeifExifUtil.kt | facebook | 31,533,997 | false | null | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.imageutils
import android.media.ExifInterface
import android.os.Build
import androidx.annotation.RequiresApi... | 226 | Java | 3786 | 16,975 | 5381921d4270370b91d638d6da025a00fa2ec423 | 1,859 | fresco | MIT License |
android/src/main/kotlin/com/kasem/receive_sharing_intent/ReceiveSharingIntentPlugin.kt | reynirf | 426,643,148 | true | {"Swift": 28411, "Kotlin": 15317, "Dart": 10937, "Ruby": 2325, "Objective-C": 435} | package com.kasem.receive_sharing_intent
import android.content.Context
import android.content.Intent
import android.graphics.Bitmap
import android.media.MediaMetadataRetriever
import android.media.ThumbnailUtils
import android.net.Uri
import android.provider.MediaStore
import io.flutter.embedding.engine.plugins.Flutt... | 0 | Swift | 3 | 0 | caa37ee9a9b6529e67736019774010c092a3d089 | 8,651 | receive_sharing_intent | Apache License 2.0 |
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/appsync/HttpConfigPropertyDsl.kt | F43nd1r | 643,016,506 | false | null | package com.faendir.awscdkkt.generated.services.appsync
import com.faendir.awscdkkt.AwsCdkDsl
import javax.`annotation`.Generated
import kotlin.Unit
import software.amazon.awscdk.services.appsync.CfnDataSource
@Generated
public fun buildHttpConfigProperty(initializer: @AwsCdkDsl
CfnDataSource.HttpConfigProperty.B... | 1 | Kotlin | 0 | 0 | e08d201715c6bd4914fdc443682badc2ccc74bea | 449 | aws-cdk-kt | Apache License 2.0 |
ehr-common-model/src/main/kotlin/care/better/platform/jaxb/MapStringAdapter.kt | better-care | 343,543,899 | false | null | /* Copyright 2021 Better Ltd (www.better.care)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | 0 | null | 1 | 2 | 368cae4a0464dcd90cbae48a1c6b3d4615450d6f | 1,852 | ehr-common | Apache License 2.0 |
app/src/main/java/com/ariefzuhri/gizee/main/history/HistoryViewModel.kt | ariefzuhri | 388,739,293 | false | null | package com.ariefzuhri.gizee.main.history
import androidx.lifecycle.*
import com.ariefzuhri.gizee.core.domain.model.History
import com.ariefzuhri.gizee.core.domain.usecase.FoodUseCase
class HistoryViewModel(private val foodUseCase: FoodUseCase) : ViewModel() {
val history = foodUseCase.getHistory().asLiveData()
... | 3 | Kotlin | 1 | 1 | cee6ec13157f4a6b780410fdab186b2ecedbd80e | 452 | Gizee | MIT License |
src/commonMain/kotlin/io/github/forceload/discordkt/type/guilds/UnavailableGuild.kt | forceload | 551,748,435 | false | {"Kotlin": 278925} | package io.github.forceload.discordkt.type.guilds
import kotlinx.serialization.Serializable
@Serializable
data class UnavailableGuild(val id: String, val unavailable: Boolean) | 0 | Kotlin | 2 | 5 | bc203de76e265efc4460c87fb11685131d03a708 | 177 | discord.kt | MIT License |
src/test/kotlin/com/atlassian/performance/tools/virtualusers/LoadTestUserCreationIT.kt | wyrzyk | 172,596,805 | true | {"Kotlin": 166265, "Java": 758, "Dockerfile": 564} | package com.atlassian.performance.tools.virtualusers
import com.atlassian.performance.tools.infrastructure.api.database.MySqlDatabase
import com.atlassian.performance.tools.infrastructure.api.dataset.Dataset
import com.atlassian.performance.tools.infrastructure.api.dataset.HttpDatasetPackage
import com.atlassian.perfo... | 0 | Kotlin | 0 | 0 | efba93d045abc5574031d049e064040dfc32aba6 | 3,638 | virtual-users | Apache License 2.0 |
AndroidFastScroll-kt/src/main/java/me/stellarsand/android/fastscroll/FastScrollWebView.kt | StellarSand | 715,789,940 | false | {"Kotlin": 73014} | /*
* Copyright 2023-present StellarSand
*
* 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 a... | 0 | Kotlin | 0 | 1 | d12e2a138dbd91255c038e41c183037f76b79ed8 | 3,447 | AndroidFastScroll-kt | Apache License 2.0 |
app/src/main/java/com/pocket/apps/infest/ui/boarding/TutotialFragment.kt | herickkgb | 734,909,733 | false | {"Kotlin": 26694, "Java": 1692} | package com.pocket.apps.infest.ui.boarding
import android.content.Context
import android.content.SharedPreferences
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import androidx.core.conte... | 0 | Kotlin | 0 | 0 | 17d9ad0fe57131d858d7381b035af70da6c5938b | 5,332 | HypeZone | MIT License |
spesialist-selve/src/test/kotlin/no/nav/helse/modell/tildeling/ReservasjonDaoTest.kt | navikt | 244,907,980 | false | null | package no.nav.helse.modell.tildeling
import DatabaseIntegrationTest
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
import java.time.Duration
import java.time.LocalDate
import java.time.LocalDateTime
import java.util.UUID
import kotliquery.queryOf
import kotliquery.sessionOf
import no.nav.helse.spesial... | 7 | Kotlin | 1 | 0 | 2edfb4c35408560e553211c0fa0dc64ba0eac943 | 2,614 | helse-spesialist | MIT License |
cache-x/src/thread/java/com/aqrlei/cachex/CacheExt.kt | AqrLei | 288,323,505 | false | null | package com.aqrlei.cachex
import com.aqrlei.cachex.lru.memory.ActiveResource
import java.util.concurrent.Executor
import java.util.concurrent.ExecutorService
import java.util.concurrent.Executors
import java.util.concurrent.ThreadFactory
import java.util.concurrent.TimeUnit
import kotlin.concurrent.thread
/**
* crea... | 0 | Kotlin | 0 | 0 | 97736c830d01c9b5ead753cf6bc7586fc771afe4 | 2,123 | Cache-X | Apache License 2.0 |
src/main/kotlin/com/michalkowol/base/web/Controller.kt | michalkowol | 46,172,158 | false | null | package com.michalkowol.base.web
interface Controller {
fun start()
}
| 0 | Kotlin | 2 | 3 | d7eae913e188a76b1df3147c5a119e4be7b0f4ff | 76 | kotlin-template | ISC License |
reeva-tools/src/test/kotlin/me/mattco/reeva/runtime/primitives/JSSymbol.kt | ReevaJS | 313,564,746 | false | null | package me.mattco.reeva.runtime.primitives
import me.mattco.reeva.runtime.JSValue
class JSSymbol(val name: String) : JSValue()
| 0 | Kotlin | 1 | 0 | 6d42b5db3f463da3ff3d3990a069dfd0a61c59c1 | 129 | reeva-tools | Apache License 2.0 |
channels/jaicp/src/main/kotlin/com/justai/jaicf/channel/jaicp/dto/JaicpBotRequest.kt | klits111 | 282,262,247 | true | {"Kotlin": 236742, "Java": 11791} | package com.justai.jaicf.channel.jaicp.dto
import com.justai.jaicf.api.BotRequest
import com.justai.jaicf.api.BotRequestType
import kotlinx.serialization.Serializable
import kotlinx.serialization.json.JsonElement
import kotlinx.serialization.json.JsonObject
@Serializable
data class JaicpBotRequest(
val data: Json... | 1 | null | 1 | 1 | 13be1ef63afc67c913e934d6b20d2a2a862731db | 836 | jaicf-kotlin | Apache License 2.0 |
src/main/kotlin/com/pushkin/openaibot/chat/client/mm/vo/MattermostPostRq.kt | propush | 616,444,165 | false | null | package com.pushkin.openaibot.chat.client.mm.vo
import com.fasterxml.jackson.annotation.JsonProperty
data class MattermostPostRq(
@JsonProperty("channel_id")
val channelId: String,
val message: String
)
| 0 | Kotlin | 0 | 0 | d136489ae4cda4184a463d9715a244d8fb7458a4 | 217 | chatgptbot | MIT License |
features/search/src/main/java/taiwan/no/one/feat/search/domain/DomainModules.kt | pokk | 263,073,196 | false | null | /*
* MIT License
*
* Copyright (c) 2020 Jieyi
*
* 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, me... | 2 | Kotlin | 3 | 16 | 6d173194dcd3c44db46dfe6b0ef691b9322da975 | 2,484 | DropBeat | MIT License |
cars/src/main/java/com/roman/cars/MainActivity.kt | roma321m | 629,968,130 | false | null | package com.roman.cars
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Surface
import androidx.compose.ui.Modifier
impo... | 0 | Kotlin | 0 | 0 | 2290bc01c8422da188f120cfe359f20a42b9c47c | 1,422 | Android-Multi-Trivia-App | Apache License 2.0 |
app/src/main/java/com/example/restaurants/data/remote/ApiInterface.kt | malikdawar | 448,658,452 | false | {"Kotlin": 65844} | package com.example.restaurants.data.remote
import com.example.restaurants.core.utils.Const.PLACE_CATEGORY
import com.example.restaurants.data.model.SquarePlacesModel
import retrofit2.http.GET
import retrofit2.http.Query
interface ApiInterface {
@GET(PLACES_SERVICE_API)
suspend fun loadPlaces(
@Query... | 0 | Kotlin | 0 | 0 | f0abb3a3a3f4168cfcce0e568f00d0425200f118 | 582 | letsFindRestaurant | MIT License |
src/test/kotlin/id/walt/services/did/DidJwkCreationTest.kt | walt-id | 392,607,264 | false | {"Kotlin": 1154151, "Java": 9175, "Open Policy Agent": 2974, "Shell": 2842, "Dockerfile": 1615, "JavaScript": 891, "Python": 351} | package id.walt.services.did
import id.walt.crypto.KeyAlgorithm
import id.walt.crypto.KeyId
import id.walt.model.DidMethod
import id.walt.servicematrix.ServiceMatrix
import id.walt.services.crypto.CryptoService
import io.kotest.core.spec.style.StringSpec
class DidJwkCreationTest : StringSpec({
ServiceMatrix("serv... | 2 | Kotlin | 34 | 97 | 1a8776a899ac97aa32f58d2f70aba23683d2c9b3 | 1,389 | waltid-ssikit | Apache License 2.0 |
java/com/tdi/tmaps/network/model/Leg.kt | DigitalRealm2282 | 534,740,468 | false | {"Kotlin": 372930} | package com.tdi.tmaps.network.model
import com.google.gson.annotations.Expose
import com.google.gson.annotations.SerializedName
class Leg {
@SerializedName("distance")
@Expose
var distance: Distance? = null
@SerializedName("duration")
@Expose
var duration: Duration? = null
@SerializedNam... | 0 | Kotlin | 0 | 0 | 51df7362986a48dfb1e4b592a56cf8e0e726500f | 923 | TMaps | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.