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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
baselibrary/src/main/java/ruolan/com/baselibrary/ui/activity/BaseMvpActivity.kt | wuyinlei | 117,832,134 | false | null | package ruolan.com.baselibrary.ui.activity
import android.os.Bundle
import com.alibaba.android.arouter.launcher.ARouter
import org.jetbrains.anko.toast
import ruolan.com.baselibrary.common.BaseApplication
import ruolan.com.baselibrary.injection.component.ActivityComponent
import ruolan.com.baselibrary.injection.compon... | 1 | Kotlin | 1 | 2 | 2b388a915760c6f85dc1523b42cf11446c3ff63f | 1,565 | CNMarket4Kotlin | Apache License 2.0 |
proto-actor/src/test/kotlin/actor/proto/tests/PIDTests.kt | asynkron | 96,669,281 | false | null | package actor.proto.tests
import actor.proto.PID
import actor.proto.ProcessRegistry
import actor.proto.cachedProcess
import actor.proto.fixture.EmptyReceive
import actor.proto.fixture.TestMailbox
import actor.proto.fixture.TestProcess
import actor.proto.fromFunc
import actor.proto.spawn
import actor.proto.stop
import ... | 8 | Kotlin | 21 | 211 | 5d42177ff79969000b64a150ac4433dee3209b45 | 1,202 | protoactor-kotlin | Apache License 2.0 |
libraries/csm.cloud.project.avro/src/test/kotlin/com/bosch/pt/csm/cloud/projectmanagement/project/event/TopicAttachmentEventGenerator.kt | boschglobal | 805,348,245 | false | {"Kotlin": 13156190, "HTML": 274761, "Go": 184388, "HCL": 158560, "Shell": 117666, "Java": 52634, "Python": 51306, "Dockerfile": 10348, "Vim Snippet": 3969, "CSS": 344} | /*
* ************************************************************************
*
* Copyright: <NAME> Power Tools GmbH, 2018 - 2021
*
* ************************************************************************
*/
package com.bosch.pt.csm.cloud.projectmanagement.project.event
import com.bosch.pt.csm.cloud.co... | 0 | Kotlin | 3 | 9 | 9f3e7c4b53821bdfc876531727e21961d2a4513d | 4,671 | bosch-pt-refinemysite-backend | Apache License 2.0 |
compiler/frontend/src/org/jetbrains/kotlin/resolve/lazy/declarations/DeclarationProviderFactoryService.kt | JakeWharton | 99,388,807 | false | null | /*
* Copyright 2010-2015 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... | 181 | null | 5748 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 2,517 | kotlin | Apache License 2.0 |
arrow-libs/core/arrow-core/src/commonMain/kotlin/arrow/core/memoization.kt | arrow-kt | 86,057,409 | false | null | @file:JvmName("Memoization")
package arrow.core
import arrow.core.continuations.AtomicRef
import arrow.core.continuations.loop
import kotlin.jvm.JvmName
/**
* Memoizes the given **pure** function so that invocations with the same arguments will only execute the function once.
*
* ```kotlin
* import arrow.core.me... | 38 | null | 436 | 5,958 | 5f0da6334b834bad481c7e3c906bee5a34c1237b | 4,234 | arrow | Apache License 2.0 |
livemap/src/commonMain/kotlin/jetbrains/livemap/api/Bars.kt | JetBrains | 176,771,727 | false | null | package jetbrains.livemap.api
import jetbrains.datalore.base.typedGeometry.explicitVec
import jetbrains.livemap.chart.BarChart
import jetbrains.livemap.chart.ChartElementComponent
import jetbrains.livemap.chart.SymbolComponent
import jetbrains.livemap.core.ecs.EcsEntity
import jetbrains.livemap.core.ecs.addComponents
... | 67 | Kotlin | 37 | 771 | ffa5728a09b348fae441a96aba27e5812a22c18c | 3,660 | lets-plot | MIT License |
app/src/main/java/com/coldfier/currencyobserver/data/sources/shared_prefs/models/SortSettings.kt | Dmitriy1892 | 536,910,669 | false | null | package com.coldfier.currencyobserver.data.sources.shared_prefs.models
enum class SortSettings {
NONE,
ALPHABET_ASC,
ALPHABET_DESC,
VALUE_ASC,
VALUE_DESC
} | 0 | Kotlin | 0 | 0 | 6282730747dc05e348fc0f6bf3fc7927ee889730 | 176 | CurrencyObserver | Apache License 2.0 |
compiler/testData/codegen/bytecodeListing/annotations/internalPropertyOrTypealias.kt | JetBrains | 3,432,266 | false | null | @Target(AnnotationTarget.PROPERTY, AnnotationTarget.TYPEALIAS)
annotation class Anno
class C {
@Anno
internal val property: Int get() = 0
}
@Anno
internal val property: Int get() = 0
@Anno
internal typealias Typealias = Any
| 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 235 | kotlin | Apache License 2.0 |
game_engine/src/main/java/com/wradchuk/game_engine/utils/HelpingTools.kt | wRadchuk | 784,185,757 | false | {"Kotlin": 47665} | package com.wradchuk.game_engine.utils
import android.content.Context
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import android.graphics.Canvas
import android.graphics.Paint
import androidx.core.content.ContextCompat
import com.wradchuk.game_engine.R
import com.wradchuk.game_engine.common.Vec... | 0 | Kotlin | 0 | 0 | 8da25655744992e4ccd778a2ecf0456320682094 | 3,623 | Kotlin-Game-Engine-2D-by-wRadchuk | Apache License 2.0 |
app/src/main/java/com/vitorpamplona/amethyst/ui/note/ZapUserSetCompose.kt | vitorpamplona | 587,850,619 | false | null | package com.vitorpamplona.amethyst.ui.note
import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.found... | 120 | Kotlin | 88 | 686 | 24d722cdb72a7b52986e488b66a5540682be18f6 | 4,271 | amethyst | MIT License |
app/src/main/java/com/abanapps/videoplayer/ui_layer/Screens/Folder.kt | Aban3049 | 838,005,943 | false | {"Kotlin": 122882} | package com.abanapps.videoplayer.ui_layer.Screens
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import android... | 0 | Kotlin | 0 | 0 | d8c0bd004b4c1d18650ecd323c09b0db04d64ad9 | 565 | MediaPlayerCompose | MIT License |
compiler/daemon/daemon-common/src/org/jetbrains/kotlin/daemon/common/CompilerCallbackServicesFacadeAsync.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2000-2018 JetBrains s.r.o. 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.daemon.common
import org.jetbrains.kotlin.incremental.components.LookupInfo
import org.jetbrains.kotlin.load.kotlin.incrementa... | 157 | Kotlin | 5209 | 42,102 | 65f712ab2d54e34c5b02ffa3ca8c659740277133 | 1,942 | kotlin | Apache License 2.0 |
shared/src/commonMain/kotlin/dev/vengateshm/petcareapp/data/remote/models/response/ServicesOfferedResponse.kt | vengateshm | 675,750,819 | false | null | package dev.vengateshm.petcareapp.data.remote.models.response
import dev.vengateshm.petcareapp.data.remote.models.ServicesOfferedDto
import kotlinx.serialization.Serializable
@Serializable
data class ServicesOfferedResponse(
val data: List<ServicesOfferedDto>,
) | 0 | Kotlin | 0 | 0 | 3193fe08530930bb4a0f09f2691de66f1d91ace0 | 268 | pet-care-app | Apache License 2.0 |
compiler/testData/diagnostics/tests/annotations/cycleAnnotationOnPropertyFieldInsideLocalClass.kt | JetBrains | 3,432,266 | false | null | package myPack
annotation class Anno(val number: String)
fun topLevelFun() {
class LocalClass {
@Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>variableToResolve<!>)
@field:Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>variableToResolve<!>)
var variableToResolve = "${42}"
@Anno(<!ANNOTA... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 585 | kotlin | Apache License 2.0 |
enro-core/src/main/java/dev/enro/core/controller/lifecycle/FragmentLifecycleCallbacksForEnro.kt | isaac-udy | 256,179,010 | false | {"Kotlin": 1135982} | package dev.enro.core.controller.lifecycle
import android.os.Bundle
import android.view.KeyEvent
import android.view.View
import androidx.activity.ComponentDialog
import androidx.activity.OnBackPressedCallback
import androidx.core.view.ViewCompat
import androidx.fragment.app.DialogFragment
import androidx.fragment.app... | 13 | Kotlin | 13 | 226 | ffe0fedab54282083c0671f23e454d43df63b35f | 2,881 | Enro | Apache License 2.0 |
app/src/main/java/com/bruno13palhano/shopdanimanagement/ui/screens/financial/viewmodel/StockDebitsViewModel.kt | bruno13palhano | 670,001,130 | false | null | package com.bruno13palhano.shopdanimanagement.ui.screens.financial.viewmodel
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.bruno13palhano.core.data.di.StockRep
import com.bruno13palhano.core.data.repository.stock.StockRepository
import com.bruno13palhano.core.model.StockItem
i... | 0 | null | 0 | 2 | c55b8f8f9fccb42ce9b5a99a309e41bd2ec0b5b2 | 2,350 | shop-dani-management | MIT License |
app/src/main/java/dev/arkbuilders/rate/presentation/portfolio/PortfolioViewModel.kt | ARK-Builders | 515,514,394 | false | {"Kotlin": 382616} | package dev.arkbuilders.rate.presentation.portfolio
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import androidx.lifecycle.viewModelScope
import dev.arkbuilders.rate.domain.model.Amount
import dev.arkbuilders.rate.domain.model.Asset
import dev.arkbuilders.rate.domain.model.CurrencyCo... | 38 | Kotlin | 2 | 2 | 9edf1f8b0f1cf0be595ed18e278e532614b5e877 | 5,240 | ARK-Rate | MIT License |
app/src/main/java/net/kibotu/swipedirectionviewpager/demo/models/PageModel.kt | kibotu | 119,252,017 | false | null | package net.kibotu.swipedirectionviewpager.demo.models
/**
* Created by [<NAME>](https://about.me/janrabe).
*/
data class PageModel(
var text: String? = null,
var imageUrl: String? = null
) | 0 | Kotlin | 4 | 10 | b48701b6b251283eefdac58f2384b51eaac7b88f | 209 | SwipeDirectionViewPager | Apache License 2.0 |
plugins/kotlin/code-insight/inspections-k2/src/org/jetbrains/kotlin/idea/k2/codeinsight/inspections/expressions/KotlinDoubleNegationInspection.kt | ingokegel | 72,937,917 | false | null | // Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package org.jetbrains.kotlin.idea.k2.codeinsight.inspections.expressions
import com.intellij.codeInspection.LocalInspectionToolSession
import com.intellij.codeInspection.ProblemsHolder
import com.in... | 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 2,713 | intellij-community | Apache License 2.0 |
analyzer/src/main/kotlin/managers/Bundler.kt | codeakki | 354,880,826 | false | null | /*
* Copyright (C) 2017-2019 HERE Europe B.V.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | 0 | null | 0 | 2 | edbb46cb1dab1529d5ffb81cba18d365b98ef23e | 15,704 | ort | Apache License 2.0 |
cotta-core/src/main/kotlin/com/mgtriffid/games/cotta/core/entities/Entities.kt | mgtriffid | 524,701,185 | false | {"Kotlin": 478306, "Java": 9323} | package com.mgtriffid.games.cotta.core.entities
import com.mgtriffid.games.cotta.core.entities.id.EntityId
import com.mgtriffid.games.cotta.core.exceptions.EntityNotExistsException
/**
* Represents all Entities in game world in a current tick.
*/
interface Entities {
/**
* Creates a new Entity owned by the... | 2 | Kotlin | 0 | 6 | ee0bd897c67451b31f68a3a31a6ee8de756b2b52 | 1,410 | cotta | MIT License |
magellan-sample-advanced/src/main/java/com/wealthfront/magellan/sample/advanced/suggestexhibit/SuggestExhibitStartStep.kt | wealthfront | 82,854,849 | false | null | package com.wealthfront.magellan.sample.advanced.suggestexhibit
import android.content.Context
import com.wealthfront.magellan.core.Step
import com.wealthfront.magellan.sample.advanced.databinding.SuggestExhibitStartBinding
class SuggestExhibitStartStep(private val goToSuggestExhibitJourney: () -> Unit) :
Step<Sugg... | 36 | Kotlin | 66 | 685 | dceeeb25a502c8bd143a769858169c86a099c5e7 | 552 | magellan | Apache License 2.0 |
magellan-sample-advanced/src/main/java/com/wealthfront/magellan/sample/advanced/suggestexhibit/SuggestExhibitStartStep.kt | wealthfront | 82,854,849 | false | null | package com.wealthfront.magellan.sample.advanced.suggestexhibit
import android.content.Context
import com.wealthfront.magellan.core.Step
import com.wealthfront.magellan.sample.advanced.databinding.SuggestExhibitStartBinding
class SuggestExhibitStartStep(private val goToSuggestExhibitJourney: () -> Unit) :
Step<Sugg... | 36 | Kotlin | 66 | 685 | dceeeb25a502c8bd143a769858169c86a099c5e7 | 552 | magellan | Apache License 2.0 |
app/src/main/java/com/brouken/player/activity/BuySubscriptionActivity.kt | mahsak01 | 596,924,815 | false | null | package com.brouken.player.activity
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import android.os.Handler
import android.view.View
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import androidx.databinding.DataBindingUtil
import androidx.recyclerview.widge... | 0 | Kotlin | 0 | 0 | e1ef9a8a316f76446718489f458e3a088ae55d15 | 7,361 | ArianaFilm | The Unlicense |
app/src/main/java/com/lonard/camerlangproject/db/homepage/NotificationCatEntity.kt | lonard2 | 490,593,898 | false | null | package com.lonard.camerlangproject.db.homepage
import android.os.Parcelable
import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey
import kotlinx.parcelize.Parcelize
@Parcelize
@Entity(tableName = "notification_categories")
data class NotificationCatEntity (
@PrimaryKey(auto... | 0 | Kotlin | 2 | 2 | 52f69ed3312071307b5c8c9221a45ccdde6c7351 | 563 | CAMerlang-Mobile-Development | MIT License |
appcompat/appcompat/src/androidTest/java/androidx/appcompat/testutils/NightModeActivityTestRule.kt | RikkaW | 389,105,112 | true | {"Java": 49060640, "Kotlin": 36832495, "Python": 336507, "AIDL": 179831, "Shell": 150493, "C++": 38342, "ANTLR": 19860, "HTML": 10802, "TypeScript": 6933, "CMake": 3330, "JavaScript": 1343} | /*
* 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... | 28 | Java | 937 | 7 | 6d53f95e5d979366cf7935ad7f4f14f76a951ea5 | 1,532 | androidx | Apache License 2.0 |
android/src/test/kotlin/uk/co/objectivity/beacon_monitoring/plugin/service/BluetoothServiceTest.kt | VinniciusJesus | 442,466,273 | false | {"Swift": 77863, "Kotlin": 76055, "Dart": 13707, "Ruby": 2323, "Objective-C": 38} | // Copyright (c) 2020 Objectivity. All rights reserved.
// Use of this source code is governed by The MIT License (MIT) that can be
// found in the LICENSE file.
package uk.co.objectivity.beacon_monitoring.plugin.service
import android.app.Activity
import android.bluetooth.BluetoothAdapter
import android.bluetooth.Bl... | 0 | Swift | 0 | 0 | 361b91e4084851dc015663788a21051e9eb3a314 | 2,499 | beacon_monitoring | MIT License |
src/test/kotlin/no/nav/familie/baks/mottak/søknad/SøknadTest.kt | navikt | 221,166,975 | false | null | package no.nav.familie.baks.mottak.søknad
import no.nav.familie.baks.mottak.DevLauncherPostgres
import no.nav.familie.baks.mottak.søknad.barnetrygd.BarnetrygdSøknadService
import no.nav.familie.baks.mottak.søknad.barnetrygd.domene.DBBarnetrygdSøknad
import no.nav.familie.baks.mottak.søknad.barnetrygd.domene.SøknadV8
i... | 5 | null | 0 | 2 | c01ed56945453f13b9fb959cb0a57d0231c64050 | 3,043 | familie-baks-mottak | MIT License |
app/src/main/java/com/vultisig/wallet/ui/screens/vault_settings/VaultSettingsViewModel.kt | vultisig | 789,965,982 | false | {"Kotlin": 678690} | package com.vultisig.wallet.ui.screens.vault_settings
import androidx.lifecycle.SavedStateHandle
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.vultisig.wallet.common.Utils
import com.vultisig.wallet.data.on_board.db.VaultDB
import com.vultisig.wallet.data.on_board.db.VaultDB.C... | 13 | Kotlin | 0 | 2 | 75d1359a25f8eec8f855cc27787ef05cd0e3cbc6 | 3,172 | vultisig-android | Apache License 2.0 |
java/idea-ui/src/com/intellij/ide/projectWizard/generators/IntelliJJavaBuildSystemType.kt | baimuchengling | 402,478,098 | true | null | // Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.ide.projectWizard.generators
import com.intellij.ide.highlighter.ModuleFileType
import com.intellij.ide.util.projectWizard.JavaModuleBuilde... | 0 | null | 0 | 0 | de611590e0fbe93d47a6ce4d87318838e188af8c | 2,515 | intellij-community | Apache License 2.0 |
src/main/kotlin/venus/simulator/impls/SBImpl.kt | hiporox | 98,627,941 | true | {"Kotlin": 124095, "HTML": 9018, "JavaScript": 2502, "CSS": 840} | package venus.simulator.impls
import venus.simulator.impls.types.STypeImpl
import venus.simulator.Simulator
object SBImpl : STypeImpl() {
override fun evaluate(sim: Simulator, addr: Int, vrs2: Int) {
sim.storeByte(addr, vrs2)
}
}
| 0 | Kotlin | 0 | 0 | 606d6f8185b1646b5f5f9f512a1c702994e355b7 | 248 | venus | MIT License |
plugins/jvm-abi-gen/testData/compare/inlineFunUsageMakesAbiUnstable/sameAbi/test.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... | package test
private fun main() {
//comment should not break ABI
inlineFun()
}
| 181 | Kotlin | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 88 | kotlin | Apache License 2.0 |
project_versions/14_ImplementandoHATEOAS/rest-with-spring-boot-and-kotlin-aws-miagui/src/main/kotlin/br/com/miagui/exceptions/handler/CustomizedResponseEntityExceptionHandler.kt | thiagotsartore | 584,764,151 | false | null | package br.com.miagui.exceptions.handler
import br.com.miagui.exceptions.ExceptionResponse
import br.com.miagui.exceptions.RequiredObjectsIsNullException
import br.com.miagui.exceptions.ResourceNotFoundException
import org.springframework.http.HttpStatus
import org.springframework.http.ResponseEntity
import org.spring... | 0 | Kotlin | 0 | 0 | cc6498141980a0118edc5daffa9242573eb290a3 | 2,073 | rest-with-spring-boot-and-kotlin-aws-miagui | Apache License 2.0 |
feature-account-impl/src/main/java/io/novafoundation/nova/feature_account_impl/domain/account/export/json/validations/ExportJsonPasswordValidationPayload.kt | novasamatech | 415,834,480 | false | null | package com.edgeverse.wallet.feature_account_impl.domain.account.export.json.validations
class ExportJsonPasswordValidationPayload(
val password: String,
val passwordConfirmation: String,
)
| 11 | null | 6 | 9 | b39307cb56302ce7298582dbd03f33f6b2e2a807 | 199 | nova-wallet-android | Apache License 2.0 |
app/src/main/java/com/cozo/cozomvp/userprofile/ProfileServiceModel.kt | joaophellip | 146,646,270 | false | null | package com.cozo.cozomvp.userprofile
import com.cozo.cozomvp.helpers.IdleResourceInterceptor
import com.cozo.cozomvp.paymentactivity.PaymentActivity
import io.reactivex.Observable
import okhttp3.MediaType
import okhttp3.MultipartBody
import okhttp3.RequestBody
import okhttp3.ResponseBody
import java.io.File
class Pro... | 5 | Kotlin | 0 | 2 | 8a5f1b18875ccde6e742be9909a39419a27cfaaf | 1,994 | MVP | Apache License 2.0 |
app/src/main/java/com/example/android/architecture/blueprints/todoapp/tasks/TasksAdapter.kt | jasper55 | 192,397,303 | false | null | package com.example.android.architecture.blueprints.todoapp.tasks
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.BaseAdapter
import android.widget.CheckBox
import androidx.databinding.DataBindingUtil
import com.example.android.architecture.blueprints.tod... | 0 | Kotlin | 0 | 0 | adbb376fc080449128162c4ae7ac8dad93f193d6 | 2,157 | Todo_MVVM_Kotlin | Apache License 2.0 |
src/main/kotlin/no/nav/bidrag/arbeidsflyt/model/OppgaverForHendelse.kt | navikt | 295,692,779 | false | null | package no.nav.bidrag.arbeidsflyt.model
data class OppgaverForHendelse(val dataForHendelse: List<OppgaveDataForHendelse>) {
fun erEndringAvTildeltEnhetsnummer(journalpostHendelse: JournalpostHendelse): Boolean {
return journalpostHendelse.harEnhet() && dataForHendelse.stream()
.filter { journa... | 2 | Kotlin | 0 | 1 | 8a550416c3994108318d153a7c071c022df44a36 | 1,322 | bidrag-arbeidsflyt | MIT License |
local/local/src/main/java/com/nimbusframework/nimbuslocal/deployment/webserver/WebServerHandler.kt | thomasjallerton | 163,180,980 | false | {"YAML": 3, "Ignore List": 2, "XML": 4, "Maven POM": 9, "Dockerfile": 1, "Text": 1, "Markdown": 35, "Kotlin": 570, "Java": 167, "JSON": 2, "JavaScript": 4, "SVG": 4, "CSS": 1} | package com.nimbusframework.nimbuslocal.deployment.webserver
import com.nimbusframework.nimbuscore.annotations.function.HttpMethod
import com.nimbusframework.nimbuslocal.deployment.http.HttpMethodIdentifier
import org.eclipse.jetty.server.Request
import org.eclipse.jetty.server.handler.AbstractHandler
import com.nimbu... | 6 | Kotlin | 5 | 39 | 5c3325caaf3fe9de9ffad130fd1e773c6f680e89 | 4,370 | nimbus-framework | MIT License |
PhoenixPenNG/libgame/src/main/java/com/phoenixpen/game/simulation/System.kt | nshcat | 182,317,693 | false | {"Text": 2, "Ignore List": 4, "Markdown": 1, "Gradle": 5, "INI": 1, "Shell": 6, "Batchfile": 1, "GLSL": 12, "JSON": 28, "Java Properties": 1, "XML": 15, "Kotlin": 213, "Java": 6, "C": 2} | package com.phoenixpen.game.simulation
import com.phoenixpen.game.core.Updateable
/**
* An abstract base class for all simulation systems
*
* @property simulation The current simulation state
*/
abstract class System(val simulation: Simulation): Updateable
{
/**
* The current resource provider
*/
... | 0 | Kotlin | 0 | 1 | 8e29e78b8f3d1ff7bdfedfd7c872b1ac69dd665d | 375 | phoenixpen_ng | MIT License |
sdk/src/androidTest/java/com/minapp/android/sdk/test/table/GeoTest.kt | ifanrx | 178,979,868 | false | null | package com.minapp.android.sdk.test.table
import com.minapp.android.sdk.database.GeoPoint
import com.minapp.android.sdk.database.GeoPolygon
import com.minapp.android.sdk.database.query.Query
import com.minapp.android.sdk.database.query.Where
import org.junit.Assert.*
import org.junit.Test
class GeoTest: BaseTableTest... | 1 | null | 1 | 1 | 6e4a222ae69e2e26e981f1a4345c20caece49520 | 4,068 | hydrogen-android-sdk | Apache License 2.0 |
app/src/main/java/fr/azhot/weatherapp/presentation/MainViewModel.kt | Azhot | 353,679,211 | false | null | package fr.azhot.weatherapp.presentation
import android.app.Application
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import dagger.hilt.android.lifecycle.HiltViewModel
import fr.azhot.weatherapp.domain.model.City
import java.util.*
import javax... | 0 | Kotlin | 0 | 0 | d21a1f4fb91a9e402d664f18001c4111b2bf6d34 | 1,249 | WeatherApp | MIT License |
app/src/main/java/com/forestmouse/samples/streaming/api/ApiResult.kt | mortenskovhus | 268,904,126 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Text": 1, "Proguard": 1, "Java": 2, "XML": 22, "Kotlin": 23} | package com.forestmouse.samples.streaming.api
sealed class ApiResult<out T : Any> {
data class Success<out T : Any>(val output: T) : ApiResult<T>()
data class Error(val exception: Exception) : ApiResult<Nothing>()
}
| 1 | null | 1 | 1 | 9e45e58dafcbc20ea3d16944c6f959ae55e10d7b | 226 | TestStreamingApp | Apache License 2.0 |
line-awesome/src/commonMain/kotlin/compose/icons/lineawesomeicons/PaletteSolid.kt | DevSrSouza | 311,134,756 | false | {"Kotlin": 36756847} | package compose.icons.lineawesomeicons
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter
... | 15 | Kotlin | 20 | 460 | 651badc4ace0137c5541f859f61ffa91e5242b83 | 5,222 | compose-icons | MIT License |
src/main/kotlin/chart/difficulty/_obstacleCustomData.kt | TheRedKorsar | 303,352,689 | true | {"Kotlin": 197222} | package chart.difficulty
import com.google.gson.annotations.SerializedName
@Suppress("ClassName")
data class _obstacleCustomData(
@SerializedName("_position") val _position: List<Double>? = null,
@SerializedName("_scale") val _scale: List<Double>? = null,
@SerializedName("_color") val _color: List<Double>... | 0 | Kotlin | 0 | 0 | 430fc367d07104542904489960bd8602c160ceee | 725 | beatwalls | MIT License |
model/src/commonMain/kotlin/io/github/droidkaigi/feeder/TimetableCategory.kt | DroidKaigi | 283,062,475 | false | null | package io.github.droidkaigi.feeder
data class TimetableCategory(
val id: Int,
val title: MultiLangText,
)
| 45 | Kotlin | 189 | 633 | 3fb47a7b7b245e5a7c7c66d6c18cb7d2a7b295f2 | 116 | conference-app-2021 | Apache License 2.0 |
model/src/commonMain/kotlin/io/github/droidkaigi/feeder/TimetableCategory.kt | DroidKaigi | 283,062,475 | false | null | package io.github.droidkaigi.feeder
data class TimetableCategory(
val id: Int,
val title: MultiLangText,
)
| 45 | Kotlin | 189 | 633 | 3fb47a7b7b245e5a7c7c66d6c18cb7d2a7b295f2 | 116 | conference-app-2021 | Apache License 2.0 |
phoenix-android/src/main/kotlin/fr/acinq/phoenix/android/utils/datastore/InternalData.kt | ACINQ | 192,964,514 | false | {"C": 8424033, "Kotlin": 2181997, "Swift": 1451684, "Java": 39996, "HTML": 11266, "Dockerfile": 3570, "CMake": 2276, "CSS": 504} | /*
* Copyright 2022 ACINQ SAS
*
* 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... | 86 | C | 85 | 476 | 72bfce196c454065ecde403439c3fbc915966485 | 6,566 | phoenix | Apache License 2.0 |
src/commonTest/kotlin/baaahs/gl/ToolchainSpec.kt | baaahs | 174,897,412 | false | {"Kotlin": 3453815, "C": 1529197, "C++": 661364, "GLSL": 404582, "HTML": 55183, "JavaScript": 53132, "CMake": 30499, "CSS": 4340, "Shell": 2381, "Python": 1450} | package baaahs.gl
import baaahs.describe
import baaahs.only
import baaahs.show.Shader
import ch.tutteli.atrium.api.fluent.en_GB.startsWith
import ch.tutteli.atrium.api.verbs.expect
import org.spekframework.spek2.Spek
object ToolchainSpec : Spek({
describe<Toolchain> {
val toolchain by value { RootToolchai... | 107 | Kotlin | 12 | 40 | 2aca7de985798cd222b8427841052742cf0fe453 | 999 | sparklemotion | MIT License |
ui-lib/src/main/java/co/electriccoin/zcash/ui/screen/home/AndroidHome.kt | Electric-Coin-Company | 390,808,594 | false | {"Kotlin": 983647} | @file:Suppress("ktlint:standard:filename")
package co.electriccoin.zcash.ui.screen.home
import androidx.activity.ComponentActivity
import androidx.activity.compose.BackHandler
import androidx.activity.viewModels
import androidx.compose.runtime.Composable
import androidx.compose.runtime.collectAsState
import androidx.... | 183 | Kotlin | 11 | 19 | a8ad649ef8fdbc49a5c8be3a266dad64444f41d8 | 5,609 | zashi-android | MIT License |
app/src/main/java/com/tais/listadetarefascompose/datasource/DataSource.kt | TaisPorto | 689,840,754 | false | {"Kotlin": 29559} | package com.tais.listadetarefascompose.datasource
import com.google.firebase.firestore.FirebaseFirestore
import com.tais.listadetarefascompose.model.Tarefa
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.StateFlow
class DataSource {
private val ... | 0 | Kotlin | 0 | 0 | aa94095549fe4cdb046c52cbe40ed97eb6300f63 | 1,635 | ListadeTarefasCompose | MIT License |
telekt/src/main/kotlin/telekt/network/requests/edit/editMessageLiveLocation.kt | telekt | 173,566,083 | false | null | package rocks.waffle.telekt.network.requests.edit
import kotlinx.serialization.KSerializer
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import kotlinx.serialization.json.Json
import rocks.waffle.telekt.network.TelegramMethod
import rocks.waffle.telekt.network.requests.abstracts.Sim... | 0 | Kotlin | 3 | 12 | 6e337e863884c875f3032fd60bbdf4bf537bb17e | 2,840 | telekt | MIT License |
slack_data_layer/src/commonMain/kotlin/dev/baseio/slackdata/datasources/local/messages/IMessageDecrypterImpl.kt | oianmol | 528,898,439 | false | {"Kotlin": 752408, "Swift": 113141, "Ruby": 11800, "Shell": 587, "Objective-C": 486, "C": 1} | package dev.baseio.slackdata.datasources.local.messages
import dev.baseio.security.*
import dev.baseio.slackdata.datasources.local.channels.loggedInUser
import dev.baseio.slackdomain.datasources.IDataDecryptor
import dev.baseio.slackdomain.datasources.local.SKLocalKeyValueSource
import dev.baseio.slackdomain.datasourc... | 3 | Kotlin | 21 | 235 | 143f06c11b757641fd3e67809f57dee9f2ffd04b | 2,379 | SlackComposeMultiplatform | Apache License 2.0 |
Application/app/src/main/java/com/droid/code/runnable/RunnableActivity.kt | devrath | 537,447,474 | false | {"Kotlin": 26395} | package com.droid.code.runnable
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.droid.code.databinding.ActivityRunnableBinding
import com.droid.code.runnable.workers.CustomRunnableOne
import com.droid.code.runnable.workers.CustomRunnableThree
import com.droid.code.runnable.workers.C... | 0 | Kotlin | 0 | 0 | cf3fe590145a34c57c241a2001a8d596c1c82914 | 1,882 | android-handler-thread | Apache License 2.0 |
compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/jvmStaticDefault.kt | JakeWharton | 99,388,807 | false | null | // IGNORE_BACKEND: JS_IR
// FILE: 1.kt
// LANGUAGE_VERSION: 1.2
// SKIP_INLINE_CHECK_IN: inlineFun$default
// IGNORE_BACKEND: JS, NATIVE
//WITH_RUNTIME
package test
object X {
@JvmStatic
inline fun inlineFun(capturedParam: String, lambda: () -> String = { capturedParam }): String {
return lambda()
... | 12 | null | 37 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 405 | kotlin | Apache License 2.0 |
shortlink-lib/src/main/kotlin/util/Encoding.kt | prashantjois | 734,920,429 | false | {"Kotlin": 46737, "Shell": 1884} | package ca.jois.shortlink.util
import java.nio.ByteBuffer
import java.util.*
object Encoding {
fun UUID.toBase64(): String {
val byteBuffer = ByteBuffer.wrap(ByteArray(16))
byteBuffer.putLong(this.mostSignificantBits)
byteBuffer.putLong(this.leastSignificantBits)
return Base64.getU... | 0 | Kotlin | 0 | 0 | b81ee1b0b8fd9ed1aba8ca0b12b5b3e958f9b37f | 375 | shortlink | MIT License |
sample/src/main/java/io/noties/adapt/sample/samples/recyclerview/RecyclerViewDiffSample.kt | noties | 138,477,077 | false | {"Kotlin": 739989, "Java": 214837, "JavaScript": 2125} | package io.noties.adapt.sample.samples.recyclerview
import android.annotation.SuppressLint
import android.view.View
import androidx.recyclerview.widget.DefaultItemAnimator
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView
import io.noties.adapt.recyclerview.AdaptR... | 0 | Kotlin | 2 | 4 | 7a440d50e6dd2ba327851d8ccee369eab1a842f8 | 1,387 | Adapt | Apache License 2.0 |
data/local/images/src/main/java/com/alexnechet/local/images/model/ImageDb.kt | alex-nechet | 634,167,292 | false | null | package com.alexnechet.local.images.model
import androidx.room.Entity
import androidx.room.PrimaryKey
@Entity(tableName = "images")
data class ImageDb(
@PrimaryKey(autoGenerate = true)
val databaseId : Long = 0,
val id: Long,
val tags: String? = null,
val previewUrl: String? = null,
val largeI... | 0 | Kotlin | 0 | 0 | 6adf90e68f20d413a4a20a960339ae5c26840fb6 | 570 | PixabayApp | MIT License |
src/main/kotlin/org/linguamachina/klinguamachina/interpreter/block/impl/PrimitiveBlock.kt | Lingua-Machina | 254,106,597 | false | {"Java": 165058, "Kotlin": 118787, "ANTLR": 3004, "Makefile": 1404} | package org.linguamachina.klinguamachina.interpreter.block.impl
import org.linguamachina.klinguamachina.interpreter.block.Block
class PrimitiveBlock(
val name: String,
arity: Int
): Block(arity)
| 6 | Java | 1 | 1 | 267c1c73b39ec57f235cb4ce3374b6f283b31eb7 | 205 | KLinguaMachina | MIT License |
subprojects/configuration-cache/src/main/kotlin/org/gradle/configurationcache/ConfigurationCacheReport.kt | kakenovna | 369,340,712 | true | {"Groovy": 28297477, "Java": 27157632, "Kotlin": 3618364, "C++": 1805886, "JavaScript": 207598, "CSS": 182117, "C": 98580, "HTML": 66407, "XSLT": 42845, "Perl": 37849, "Scala": 19901, "Shell": 7675, "Swift": 2040, "Objective-C": 840, "Objective-C++": 441, "GAP": 424, "CoffeeScript": 421, "Assembly": 277, "Gherkin": 191... | /*
* Copyright 2020 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 by applica... | 1 | null | 1 | 1 | f48c633d6e577c3d95c1eaa3f965d35d3abdd0b3 | 7,337 | java_course_barancev | Apache License 2.0 |
src/main/kotlin/com/saltynote/service/domain/transfer/TokenPair.kt | SaltyNote | 694,892,361 | false | {"Kotlin": 91667} | package com.saltynote.service.domain.transfer
import com.fasterxml.jackson.annotation.JsonProperty
data class TokenPair(
@JsonProperty("access_token")
val accessToken: String,
@JsonProperty("refresh_token")
val refreshToken: String = ""
)
| 2 | Kotlin | 0 | 0 | aa736919198795a486cc26a13728288ad81aff15 | 257 | saltynote-service-kotlin | MIT License |
app/src/main/java/cn/nekocode/caka/di/module/FragmentModule.kt | nekocode | 41,577,702 | false | null | /*
* Copyright 2019. nekocode (<EMAIL>)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | 2 | Kotlin | 215 | 1,595 | 7f7db5e441d1493949284af3609724b8571e0453 | 946 | create-android-kotlin-app | Apache License 2.0 |
app/src/main/java/cz/marvincz/rssnotifier/fragment/ItemsFragment.kt | marvincz-cz | 403,626,281 | false | {"Kotlin": 79439} | package cz.marvincz.rssnotifier.fragment
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import android.view.*
import androidx.recyclerview.widget.DefaultItemAnimator
import cz.marvincz.rssnotifier.R
import cz.marvincz.rssnotifier.adapter.ItemAdapter
import cz.marvincz.rssnotifier.databin... | 0 | Kotlin | 0 | 0 | afcd91647dc84c1ae400ffd63693c5d9101a5c55 | 4,000 | rss-notifier | MIT License |
src/main/kotlin/io/github/gunkim/application/RoomService.kt | gunkim | 374,385,822 | false | null | package io.github.gunkim.application
import io.github.gunkim.domain.exception.LeaveHostException
import io.github.gunkim.domain.game.Board
import io.github.gunkim.domain.game.Gamer
import io.github.gunkim.domain.game.event.GameStopEvent
import io.github.gunkim.domain.game.event.ScheduledGameStopNotifier
import io.gith... | 1 | null | 1 | 3 | fadf78225d3da7e038990cbb40e365f0eb3f45c8 | 2,713 | 2048-online | MIT License |
libChat/messagePage/emoji/adapter/HorizontalRecyclerviewAdapter.kt | Gianzhou | 308,232,822 | false | null | package com.somoplay.wefungame.libChat.messagePage.emoji.adapter
import android.annotation.SuppressLint
import android.content.Context
import android.graphics.Color
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.LinearLayo... | 0 | Kotlin | 0 | 0 | 48e7d1dfc279b5ae203d88824615fc6ba074d528 | 3,469 | AndroidChatFunction | MIT License |
src/main/kotlin/io/github/oxisto/reticulated/ast/expression/booleanops/NotTest.kt | AndHager | 244,382,209 | true | {"Kotlin": 276598, "ANTLR": 26984, "Python": 2008} | /*
* Copyright (c) 2020, <NAME> and <NAME>. 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 r... | 0 | Kotlin | 0 | 0 | 95b24f52e1c2e37c004048e1e8274885b3fa08ed | 1,950 | reticulated-python | Apache License 2.0 |
app/src/main/java/tk/pokatomnik/mrakopediareader2/ui/components/FavoriteItem.kt | pokatomnik | 551,521,498 | false | {"Kotlin": 187257} | package tk.pokatomnik.mrakopediareader2.ui.components
import androidx.compose.foundation.clickable
import androidx.compose.foundation.interaction.MutableInteractionSource
import androidx.compose.foundation.layout.*
import androidx.compose.material.Icon
import androidx.compose.material.MaterialTheme
import androidx.com... | 7 | Kotlin | 0 | 0 | 16c4135887d08d5b966f1061cf4652b5523f09d7 | 2,799 | MrakopediaReader2 | MIT License |
app/src/main/java/id/asmith/bajalangclean/ui/main/fragment/FragmentMainPlace.kt | bakode | 116,363,403 | false | null | package id.asmith.bajalangclean.ui.main.fragment
import android.arch.lifecycle.ViewModelProviders
import android.os.Bundle
import android.support.v4.app.Fragment
import android.view.*
import id.asmith.bajalangclean.R
import id.asmith.bajalangclean.ui.main.MainViewModel
import kotlinx.android.synthetic.main.fragment_ma... | 0 | Kotlin | 0 | 0 | cfd0f59669333a93227841499ad189ebd6120f47 | 1,492 | bajalang-cc | Apache License 2.0 |
src/commonTest/kotlin/com/jeffpdavidson/kotwords/formats/RowsGardenTest.kt | jpd236 | 143,651,464 | false | {"Kotlin": 4427197, "HTML": 41941, "Rouge": 3731, "Perl": 1705, "Shell": 744, "JavaScript": 618} | package com.jeffpdavidson.kotwords.formats
import com.jeffpdavidson.kotwords.readBinaryResource
import com.jeffpdavidson.kotwords.readStringResource
import io.github.pdvrieze.xmlutil.testutil.assertXmlEquals
import kotlinx.coroutines.test.runTest
import kotlin.test.Test
class RowsGardenTest {
@Test
fun conve... | 8 | Kotlin | 6 | 25 | e18e9cf0bad7497da15b40f6c81ba4234ec83917 | 2,089 | kotwords | Apache License 2.0 |
app/src/main/java/study/me/please/data/io/QuestionAnswerIO.kt | JacobCube | 683,485,839 | false | {"Kotlin": 3640147} | package study.me.please.data.io
import androidx.room.Entity
import androidx.room.Ignore
import androidx.room.PrimaryKey
import com.google.gson.annotations.SerializedName
import study.me.please.data.room.AppRoomDatabase
import java.io.Serializable
import java.util.UUID
@Entity(tableName = AppRoomDatabase.ROOM_QUESTION... | 0 | Kotlin | 0 | 0 | a696f216e1a7b72d7ac370318b4a37512d8cd10d | 1,646 | Study-me-please | Apache License 2.0 |
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/outline/Musicplaylist.kt | Tlaster | 560,394,734 | false | {"Kotlin": 25133302} | package moe.tlaster.icons.vuesax.vuesaxicons.outline
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx... | 0 | Kotlin | 0 | 2 | b8a8231e6637c2008f675ae76a3423b82ee53950 | 7,925 | VuesaxIcons | MIT License |
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/outline/Musicplaylist.kt | Tlaster | 560,394,734 | false | {"Kotlin": 25133302} | package moe.tlaster.icons.vuesax.vuesaxicons.outline
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx... | 0 | Kotlin | 0 | 2 | b8a8231e6637c2008f675ae76a3423b82ee53950 | 7,925 | VuesaxIcons | MIT License |
app/src/main/java/com/rjvjha/android/employee/di/components/ActivityComponent.kt | rjvjha | 292,233,162 | false | {"Kotlin": 57195} | package com.rjvjha.android.employee.di.components
import com.rjvjha.android.employee.di.ActivityScope
import com.rjvjha.android.employee.di.module.ActivityModule
import com.rjvjha.android.employee.ui.main.MainActivity
import dagger.Component
@ActivityScope
@Component(dependencies = [ApplicationComponent::class], modu... | 0 | Kotlin | 0 | 0 | 477db017158bc1e30be5a25c0b8a71f5a6328a6f | 424 | EmployeeApp | Apache License 2.0 |
app/src/test/kotlin/no/nav/navnosearchadminapi/utils/testData.kt | navikt | 710,261,054 | false | {"Kotlin": 57636, "Dockerfile": 226} | package no.nav.navnosearchadminapi.utils
import no.nav.navnosearchadminapi.common.constants.ENGLISH
import no.nav.navnosearchadminapi.common.constants.NORWEGIAN_BOKMAAL
import no.nav.navnosearchadminapi.common.enums.ValidTypes
import no.nav.navnosearchadminapi.common.model.ContentDao
import no.nav.navnosearchadminapi.... | 2 | Kotlin | 0 | 0 | fec2608cc31ddfa2a2d71a48bd43c45d5c15ec78 | 5,134 | navno-search-admin-api | MIT License |
presentation/src/main/java/hiennguyen/me/weatherapp/common/injection/qualifiers/ForAddressModel.kt | hiennguyen1001 | 123,107,985 | false | null | package hiennguyen.me.weatherapp.common.injection.qualifiers
import javax.inject.Qualifier
@Qualifier
@MustBeDocumented
@Retention
annotation class ForAddressModel
| 1 | null | 1 | 2 | a1d782792ccfabcad5710097b4132fc69883ec71 | 168 | weather-app-kotlin | MIT License |
app/shared/f8e-client/impl/src/commonMain/kotlin/build/wallet/f8e/partnerships/GetPurchaseRedirectServiceImpl.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.f8e.partnerships
import build.wallet.bitcoin.address.BitcoinAddress
import build.wallet.bitkey.f8e.FullAccountId
import build.wallet.f8e.F8eEnvironment
import build.wallet.f8e.client.F8eHttpClient
import build.wallet.f8e.partnerships.GetPurchaseRedirectF8eClient.Success
import build.wallet.ktor.re... | 3 | C | 16 | 98 | 1f9f2298919dac77e6791aa3f1dbfd67efe7f83c | 2,670 | bitkey | MIT License |
core/database/src/main/java/com/vproject/texttoimage/core/database/TextToImageDatabase.kt | viethua99 | 652,124,255 | false | {"Kotlin": 240107} | package com.vproject.texttoimage.core.database
import androidx.room.Database
import androidx.room.RoomDatabase
import com.vproject.texttoimage.core.database.dao.PromptDao
import com.vproject.texttoimage.core.database.entity.PromptEntity
@Database(entities = [PromptEntity::class], version = 1)
abstract class TextToIma... | 1 | Kotlin | 2 | 16 | fe9363cf032e9d3b32df8da026c39e9823aecb36 | 391 | Android-Text-to-Image | Apache License 2.0 |
app/src/main/java/com/nullpointer/dogedex/inject/OthersModule.kt | Hcnc100 | 523,932,808 | false | {"Kotlin": 233643} | package com.nullpointer.dogedex.inject
import android.content.Context
import androidx.datastore.core.DataStore
import androidx.datastore.core.handlers.ReplaceFileCorruptionHandler
import androidx.datastore.preferences.core.PreferenceDataStoreFactory
import androidx.datastore.preferences.core.Preferences
import android... | 0 | Kotlin | 0 | 0 | d518a4c462552b0f4744987b8e2363f1534dfe33 | 2,049 | DogeDexCompose | MIT License |
features/grind/domain/src/main/java/com/mctech/pokergrinder/grind/domain/usecase/CreateNewSessionUseCase.kt | MayconCardoso | 539,349,342 | false | {"Kotlin": 630714} | package com.mctech.pokergrinder.grind.domain.usecase
import com.mctech.pokergrinder.grind.domain.GrindRepository
import com.mctech.pokergrinder.grind.domain.entities.Session
import java.util.Calendar
import javax.inject.Inject
/**
* Responsible for creating a new grind session.
*
* @property repository grind data ... | 7 | Kotlin | 1 | 7 | ecb4278d82b5e055b3dd1d08080ebbf8a17d2915 | 1,209 | poker-grinder | Apache License 2.0 |
client-api/src/test/kotlin/org/ostelco/prime/client/api/resources/SubscriptionsResourceTest.kt | sami-alajrami | 145,691,257 | false | {"Gradle": 25, "YAML": 32, "Markdown": 33, "Shell": 31, "Text": 1, "Ignore List": 11, "Batchfile": 1, "Dockerfile": 9, "Kotlin": 146, "XML": 27, "Java": 24, "Java Properties": 2, "OASv2-yaml": 2, "INI": 1, "Protocol Buffer": 2, "JSON": 3, "PlantUML": 19, "SVG": 13, "Cypher": 1} | package org.ostelco.prime.client.api.resources
import arrow.core.Either
import com.nhaarman.mockito_kotlin.argumentCaptor
import io.dropwizard.auth.AuthDynamicFeature
import io.dropwizard.auth.AuthValueFactoryProvider
import io.dropwizard.auth.oauth.OAuthCredentialAuthFilter
import io.dropwizard.testing.junit.Resource... | 1 | null | 1 | 1 | b642713279f783ca8fa643713cc34f6c8b3560cb | 3,211 | ostelco-core | Apache License 2.0 |
visionforge-threejs/src/jsMain/kotlin/space/kscience/visionforge/solid/three/ThreePointLightFactory.kt | SciProgCentre | 174,502,624 | false | {"Kotlin": 968491, "CSS": 913} | package space.kscience.visionforge.solid.three
import space.kscience.dataforge.names.asName
import space.kscience.visionforge.onPropertyChange
import space.kscience.visionforge.solid.LightSource
import space.kscience.visionforge.solid.PointLightSource
import three.lights.PointLight
import three.math.Color
import kotli... | 15 | Kotlin | 6 | 34 | 8e5503f0d8480b9f879a32885f66c3ae0f163b10 | 1,348 | visionforge | Apache License 2.0 |
idea/testData/quickfix/experimental/experimentalUnused2.kt | arrow-kt | 109,678,056 | true | null | // "Safe delete 'Marker'" "false"
// COMPILER_ARGUMENTS: -Xuse-experimental=kotlin.Experimental -Xexperimental=test.Marker
// WITH_RUNTIME
// ACTION: Rename file to Marker.kt
// TOOL: org.jetbrains.kotlin.idea.inspections.UnusedSymbolInspection
package test
@Experimental
annotation class <caret>Marker
| 12 | Kotlin | 1 | 43 | d2a24985b602e5f708e199aa58ece652a4b0ea48 | 305 | kotlin | Apache License 2.0 |
analysis/low-level-api-fir/testData/lazyResolve/annotationWithCycleInDefaults.kt | JetBrains | 3,432,266 | false | null | annotation class WithCycle cons<caret>tructor(val param: WithCycle = WithCycle())
| 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 82 | kotlin | Apache License 2.0 |
cocache-core/src/main/kotlin/me/ahoo/cache/Cache.kt | Ahoo-Wang | 461,189,010 | false | null | /*
* Copyright [2021-present] [ahoo wang <ahoowang@qq.com> (https://github.com/Ahoo-Wang)].
* 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.... | 3 | Kotlin | 0 | 7 | 4244f12425a48d30cdc0b35d21ed2905d19da7d1 | 2,138 | CoCache | Apache License 2.0 |
features/app-widgets/src/main/java/app/ss/widgets/glance/BaseGlanceAppWidgetReceiver.kt | Adventech | 65,243,816 | false | null | /*
* Copyright (c) 2023. Adventech <<EMAIL>>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge... | 8 | null | 45 | 163 | 63bcdbf9420d98f318d2b1654e9e1b194e1d6c68 | 2,380 | sabbath-school-android | MIT License |
composeApp/src/commonMain/kotlin/com/rwmobi/kunigami/ui/previewsampledata/InsightsSamples.kt | ryanw-mobile | 794,752,204 | false | {"Kotlin": 1440473, "Ruby": 2466, "Swift": 693} | /*
* Copyright (c) 2024. RW MobiMedia UK Limited
*
* Contributions made by other developers remain the property of their respective authors but are licensed
* to RW MobiMedia UK Limited and others under the same licence terms as the main project, as outlined in
* the LICENSE file.
*
* RW MobiMedia UK Limited res... | 16 | Kotlin | 10 | 145 | 7f278204448e9c59ca028e520e9e5aca97fa1e13 | 1,250 | OctoMeter | Creative Commons Attribution 4.0 International |
swc-binding/src/main/kotlin/dev/yidafu/swc/dsl/PropBase.kt | yidafu | 745,507,915 | false | {"Kotlin": 1532978, "JavaScript": 1186983, "TypeScript": 52873, "Rust": 15241, "Shell": 2012} | package dev.yidafu.swc.dsl
import dev.yidafu.swc.types.*
/**
* subtype of PropBase
*/
fun PropBase.keyValueProperty(block: KeyValueProperty.() -> Unit): KeyValueProperty {
return KeyValuePropertyImpl().apply(block)
}
/**
* subtype of PropBase
*/
fun PropBase.getterProperty(block: GetterProperty.() -> Unit): ... | 1 | Kotlin | 0 | 0 | fecf831e1b47f4693eba781e74d3cf7df22dfac7 | 1,851 | swc-binding | Apache License 2.0 |
app/src/main/kotlin/com/absinthe/libchecker/model/KotlinToolingMetadata.kt | LibChecker | 248,400,799 | false | {"Kotlin": 1060313, "Java": 56760, "AIDL": 1149} | package com.absinthe.libchecker.model
import com.squareup.moshi.JsonClass
@JsonClass(generateAdapter = true)
data class KotlinToolingMetadata(
val buildPlugin: String,
val buildPluginVersion: String
)
| 38 | Kotlin | 246 | 2,894 | 82c49ec6b5a1d3da3a60de6dcaf79332c7424f23 | 207 | LibChecker | Apache License 2.0 |
kandy-lets-plot/src/main/kotlin/org/jetbrains/kotlinx/kandy/letsplot/layers/vLine.kt | Kotlin | 502,039,936 | false | null | /*
* Copyright 2020-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
package org.jetbrains.kotlinx.kandy.letsplot.layers
import org.jetbrains.kotlinx.kandy.dsl.internal.LayerCollectorContext
import org.jetbrains.kotlinx.kandy.letsplot.internal.LetsPlotGeom
import org.jetbrains.k... | 79 | Kotlin | 0 | 98 | fd613edc4dd37aac0d0ecdb4245a770e09617fc7 | 1,681 | kandy | Apache License 2.0 |
kotlin-csstype/src/main/generated/csstype/WordBreak.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:Suppress(
"NAME_CONTAINS_ILLEGAL_CHARS",
"NESTED_CLASS_IN_EXTERNAL_INTERFACE",
)
package csstype
// language=JavaScript
@JsName("""(/*union*/{breakAll: 'break-all', breakWord: 'break-word', keepAll: 'keep-all', normal: 'normal'}/*union*/)""")
sealed external ... | 12 | Kotlin | 6 | 983 | 372c0e4bdf95ba2341eda473d2e9260a5dd47d3b | 499 | kotlin-wrappers | Apache License 2.0 |
Project/library/analytic/src/main/java/com/singularityindonesia/analytic/Report.kt | SingularityIndonesia | 766,901,851 | false | {"Kotlin": 57383} | /*
* Copyright (c) 2024 <NAME> (<EMAIL>)
* Created on 04/03/2024 12:00
* You are not allowed to remove the copyright.
*/
package com.singularityindonesia.analytic
import android.util.Log
import com.singularityindonesia.exception.MException
import kotlinx.coroutines.*
@OptIn(DelicateCoroutinesApi::class)
fun MExce... | 0 | Kotlin | 0 | 0 | bb560726e4f8269aff123e2075eb5896280b58ae | 514 | SingularityAndroidApp | Creative Commons Zero v1.0 Universal |
app/app/src/main/kotlin/tech/nagual/phoenix/tools/organizer/data/dao/OrganizerDao.kt | overphoenix | 621,371,055 | false | null | package tech.nagual.phoenix.tools.organizer.data.dao
import androidx.room.*
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.first
import tech.nagual.phoenix.tools.organizer.data.model.Organizer
@Dao
interface OrganizerDao {
@Insert(onConflict = OnConflictStrategy.REPLACE)
suspend fun insert... | 0 | Kotlin | 0 | 0 | 64264f261c2138d5f1932789702661917bbfae28 | 1,906 | phoenix-android | Apache License 2.0 |
mobile-common-lib/src/commonMain/kotlin/fi/riista/common/domain/srva/sync/network/FetchSrvaEvents.kt | suomenriistakeskus | 78,840,058 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 2, "Text": 4, "Ignore List": 2, "Batchfile": 1, "Git Attributes": 1, "Markdown": 4, "Gradle Kotlin DSL": 1, "Kotlin": 1344, "XML": 401, "Java": 161, "Protocol Buffer": 1, "JSON": 1} | package fi.riista.common.domain.srva.sync.network
import fi.riista.common.domain.constants.Constants
import fi.riista.common.domain.srva.sync.dto.SrvaEventPageDTO
import fi.riista.common.model.LocalDateTime
import fi.riista.common.network.NetworkClient
import fi.riista.common.network.calls.NetworkRequest
import fi.rii... | 0 | Kotlin | 0 | 3 | 23645d1abe61c68d649b6d0ca1d16556aa8ffa16 | 1,256 | oma-riista-android | MIT License |
temporal-kotlin/src/main/kotlin/io/temporal/workflow/ActivityStubExt.kt | imalao | 455,798,604 | true | {"Shell": 2, "Markdown": 10, "Batchfile": 1, "Kotlin": 41, "Java": 639, "Dockerfile": 2, "Java Properties": 2, "INI": 1} | /*
* Copyright (C) 2020 Temporal Technologies, Inc. All Rights Reserved.
*
* Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Modifications copyright (C) 2017 Uber Technologies, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not
* use this f... | 0 | null | 0 | 0 | d92db251b725c3aea4bc37337a27279232703437 | 1,840 | sdk-java | Apache License 2.0 |
framework/src/main/java/com/grarcht/shuttle/framework/content/bundle/DefaultBundleFactory.kt | grarcht | 330,873,493 | false | null | package com.grarcht.shuttle.framework.content.bundle
import android.os.Bundle
import android.os.PersistableBundle
/**
* This contractual interface is used to provide a factory that [Bundle] objects. Having this
* factory enables for unit testing of [Bundle] objects in the Shuttle Framework.
*
* For more infor... | 0 | Kotlin | 1 | 42 | e3b06ef6e06b7fd48e6d9cdfb09f2c6176812532 | 1,567 | Shuttle | MIT License |
vector/src/test/java/com/haroldadmin/vector/VectorStateFactoryTest.kt | haroldadmin | 190,186,711 | false | null | package com.haroldadmin.vector
import io.mockk.mockk
import org.junit.Before
import org.junit.Test
internal class VectorStateFactoryTest {
private lateinit var factory: VectorStateFactory
@Before
fun setup() {
factory = RealStateFactory()
}
@Test(expected = UnInstantiableStateClassExcep... | 13 | Kotlin | 7 | 197 | 2f52fd2b42cfc516854c6ae534cdd9f73e982579 | 1,641 | Vector | Apache License 2.0 |
kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/s3/notifications/SqsDestination.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 142794926} | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package io.cloudshiftdev.awscdk.services.s3.notifications
import io.cloudshiftdev.awscdk.common.CdkObject
import io.cloudshiftdev.awscdk.servi... | 1 | Kotlin | 0 | 4 | a18731816a3ec710bc89fb8767d2ab71cec558a6 | 2,034 | kotlin-cdk-wrapper | Apache License 2.0 |
common/data/src/main/java/tech/antee/products/data/repositories/ProductsRepositoryImpl.kt | AnteeOne | 567,392,451 | false | null | package tech.antee.products.data.repositories
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.map
import tech.antee.products.data.local.sources.ProductsLocalSource
import tech.antee.products.data.mappers.ProductDomainMapper
import tech.antee.products.domain.models.Product
import tech.antee.products.... | 0 | Kotlin | 0 | 0 | 15830ac1884f80a82e9730b6cde2934791e58810 | 966 | products-test-app | MIT License |
app/src/main/java/kz/coffee/go/presentation/addCashback/AddCashbackViewModel.kt | rohitnotes | 288,507,024 | true | {"Kotlin": 104712} | package kz.coffee.go.presentation.addCashback
import androidx.lifecycle.ViewModel
import androidx.lifecycle.liveData
import kz.coffee.go.domain.purchaseHistory.IPurchaseHistory
import kz.coffee.go.domain.purchaseHistory.PurchaseHistory
import kz.coffee.go.domain.user.IUsers
import kz.coffee.go.domain.user.User
import ... | 0 | null | 0 | 0 | fc72529cdf345d373331dbc516901a049b4ab757 | 1,512 | CoffeeGo | MIT License |
domain/src/main/kotlin/io/github/wykopmobilny/domain/errorhandling/KnownError.kt | otwarty-wykop-mobilny | 374,160,630 | true | {"Kotlin": 1326147, "HTML": 66896, "Java": 38599} | package io.github.wykopmobilny.domain.errorhandling
sealed class KnownError : Throwable() {
data class TwoFactorAuthorizationRequired(override val message: String) : KnownError()
}
| 13 | Kotlin | 4 | 47 | 85b54b736f5fbcd6f62305779ed7ae2085c3b136 | 187 | wykop-android | MIT License |
src/main/kotlin/org/rust/ide/formatter/RsCommaFormatProcessor.kt | torkleyy | 80,134,118 | false | null | package org.rust.ide.formatter
import com.intellij.openapi.util.TextRange
import com.intellij.psi.PsiElement
import com.intellij.psi.PsiFile
import com.intellij.psi.PsiRecursiveElementWalkingVisitor
import com.intellij.psi.codeStyle.CodeStyleSettings
import com.intellij.psi.impl.source.codeStyle.PostFormatProcessor
im... | 1 | null | 1 | 1 | 4c59102038de2252b150c8c234d39a083632d976 | 2,260 | intellij-rust | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.