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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
idea/idea-jvm/src/org/jetbrains/kotlin/idea/debugger/evaluate/KotlinDebuggerCaches.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... | 12 | null | 4 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 11,169 | kotlin | Apache License 2.0 |
src/main/kotlin/com/salesforce/revoman/output/report/failure/ResponseFailure.kt | salesforce-misc | 677,000,343 | false | null | /**
* ************************************************************************************************
* Copyright (c) 2023, Salesforce, Inc. All rights reserved. SPDX-License-Identifier: Apache License
* Version 2.0 For full license text, see the LICENSE file in the repo root or
* http://www.apache.org/licenses/LI... | 9 | null | 5 | 6 | 1c4aa93c77a28d1d1482da14a4afbdabf3991f14 | 1,346 | ReVoman | Apache License 2.0 |
ui/src/test/java/ru/tinkoff/acquiring/sdk/redesign/cards/list/CardsDeleteViewModelTest.kt | itlogic | 293,802,517 | true | {"Kotlin": 1162428, "Java": 29422} | package ru.tinkoff.acquiring.sdk.redesign.cards.list
import androidx.lifecycle.SavedStateHandle
import app.cash.turbine.test
import common.MutableCollector
import common.assertByClassName
import kotlinx.coroutines.*
import kotlinx.coroutines.flow.MutableStateFlow
import org.junit.Test
import org.mockito.kotlin.any
imp... | 0 | Kotlin | 0 | 0 | 8de009c2ae6ca40843c74799429346fcfa74820c | 6,040 | AcquiringSdkAndroid | Apache License 2.0 |
src/test/kotlin/com/github/mpe85/grampa/rule/ConditionalRuleTests.kt | mpe85 | 138,511,038 | false | {"Kotlin": 270203, "Java": 1073} | package com.github.mpe85.grampa.rule
import com.github.mpe85.grampa.context.ParserContext
import com.github.mpe85.grampa.context.RuleContext
import io.kotest.core.spec.style.StringSpec
import io.kotest.matchers.shouldBe
import io.kotest.matchers.shouldNotBe
import io.mockk.every
import io.mockk.mockk
import java.util.... | 7 | Kotlin | 1 | 13 | 5a59969dd2c6b464f28b513579b2ea3cae182ab8 | 2,160 | grampa | MIT License |
mybatis-plus-spring/src/test/kotlin/com/baomidou/mybatisplus/test/kotlin/User.kt | baomidou | 65,987,043 | false | {"Java": 2664861, "Kotlin": 34733, "FreeMarker": 15242} | package com.baomidou.mybatisplus.test.kotlin
import com.baomidou.mybatisplus.annotation.TableField
import com.baomidou.mybatisplus.annotation.TableName
@TableName("sys_user")
class User {
var id: Int? = null
@TableField("username")
var name: String? = null
var roleId: Int? = null
}
| 74 | Java | 4308 | 16,378 | bbf2b671b5ad2492033a2b03a4c99b56c02d7701 | 304 | mybatis-plus | Apache License 2.0 |
api/common/src/main/kotlin/uk/co/baconi/oauth/api/common/authorisation/AuthorisationCodeRepository.kt | beercan1989 | 345,334,044 | false | null | package uk.co.baconi.oauth.api.common.authorisation
import org.jetbrains.exposed.sql.*
import org.jetbrains.exposed.sql.transactions.transaction
import uk.co.baconi.oauth.api.common.client.ClientId
import uk.co.baconi.oauth.api.common.scope.ScopesSerializer
import uk.co.baconi.oauth.api.common.authentication.Authentic... | 0 | Kotlin | 0 | 0 | e6377891fe624b9bc15abde0de4a31660584b00a | 3,959 | oauth-api | Apache License 2.0 |
ci/docker/image-builder/src/main/kotlin/ru/avito/image_builder/Main.kt | avito-tech | 230,265,582 | false | null | package ru.avito.image_builder
import kotlinx.cli.ArgParser
import kotlinx.cli.ExperimentalCli
import ru.avito.image_builder.internal.cli.BuildImage
import ru.avito.image_builder.internal.cli.PublishEmceeImage
import ru.avito.image_builder.internal.cli.PublishEmceeWorker
import ru.avito.image_builder.internal.cli.Publ... | 7 | null | 50 | 414 | bc94abf5cbac32ac249a653457644a83b4b715bb | 2,215 | avito-android | MIT License |
libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/targets/jvm/KotlinJvmCompilation.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2018 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
@file:Suppress("PackageDirectoryMismatch") // Old package for compatibility
package org.jetbrains.kotlin.gradl... | 183 | null | 5771 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 5,373 | kotlin | Apache License 2.0 |
libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/targets/jvm/KotlinJvmCompilation.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2018 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
@file:Suppress("PackageDirectoryMismatch") // Old package for compatibility
package org.jetbrains.kotlin.gradl... | 183 | null | 5771 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 5,373 | kotlin | Apache License 2.0 |
androidApp/src/main/java/press/editor/UrlPopupMenu.kt | saket | 201,701,386 | false | null | package press.editor
import android.content.Context
import android.graphics.Point
import android.text.style.URLSpan
import android.view.View
import androidx.appcompat.view.menu.MenuPopupHelper
import androidx.appcompat.widget.PopupMenu
import me.saket.press.shared.localization.strings
import press.extensions.reflect
... | 13 | null | 110 | 1,849 | 5f64350ec51402f3e6aeff145cbc35438780a03c | 1,126 | press | Apache License 2.0 |
sdk/examples/fido2demo/src/main/java/com/ibm/security/verifysdk/fido2/demoapp/model/IvCreds.kt | ibm-security-verify | 430,929,749 | false | {"Kotlin": 366062} | /*
* Copyright contributors to the IBM Security Verify FIDO2 Sample App for Android project
*/
package com.ibm.security.verifysdk.fido2.demoapp.model
import kotlinx.serialization.Serializable
@Serializable
data class IvCreds(
val name: String = "ivcreds-name",
val username: String = "ivcreds-username",
... | 1 | Kotlin | 4 | 1 | fd09a6d0c6586059e5d1cd00451b32dfbfe6e36a | 401 | verify-sdk-android | MIT License |
server/src/main/com/broll/gainea/server/core/cards/impl/play/C_Spion.kt | Rolleander | 253,573,579 | false | {"Kotlin": 426720, "Java": 265966, "HTML": 1714, "CSS": 1069, "JavaScript": 24} | package com.broll.gainea.server.core.cards.impl.play
import com.broll.gainea.server.core.cards.Card
import com.broll.gainea.server.core.utils.getHostileLocations
class C_Spion : Card(8, "Spion", "Platziert einen Soldat auf ein besetztes Land eines anderen Spielers ohne einen Kampf.") {
override val isPlayable: Bo... | 0 | Kotlin | 1 | 3 | 35593a78a4b81e1758cc9bca23e78fb14b427334 | 503 | Gainea | MIT License |
src/main/kotlin/com/fiap/order/usecases/SearchCustomerUseCase.kt | FIAP-3SOAT-G15 | 794,350,212 | false | {"Kotlin": 146232, "HCL": 4525, "Dockerfile": 283} | package com.fiap.order.usecases
import com.fiap.order.domain.entities.Customer
interface SearchCustomerUseCase {
fun searchByName(name: String): List<Customer>
}
| 1 | Kotlin | 0 | 1 | 0af711519d99107aff1ec93f60d3f2defa47e7d5 | 168 | orders-api | MIT License |
vector/src/main/java/im/vector/app/features/roommemberprofile/RoomMemberProfileController.kt | tchapgouv | 340,329,238 | false | null | /*
* Copyright 2020 New Vector Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | 96 | null | 7 | 9 | a2c060c687b0aa69af681138c5788d6933d19860 | 12,621 | tchap-android | Apache License 2.0 |
compose/ui/ui/src/test/kotlin/androidx/compose/ui/graphics/GraphicsLayerScopeTest.kt | RikkaW | 389,105,112 | false | null | /*
* Copyright 2020 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... | 29 | null | 937 | 7 | 6d53f95e5d979366cf7935ad7f4f14f76a951ea5 | 3,426 | androidx | Apache License 2.0 |
app/src/main/java/com/umang/reminderapp/ui/components/ToDoItemCards/ToDoItemCardClicked.kt | umangSharmacs | 805,851,021 | false | {"Kotlin": 112570} | package com.umang.reminderapp.ui.components.ToDoItemCards
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import ... | 0 | Kotlin | 0 | 0 | 76a0ebe9c27a0340172fed34acfd35fe90115d0f | 6,781 | ReminderApp | MIT License |
scale/src/commonMain/kotlin/io/data2viz/scale/Quantize.kt | data2viz | 89,368,762 | false | null | /*
* Copyright (c) 2018-2019. data2viz sàrl.
*
* 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... | 80 | null | 29 | 400 | bc4ed872c526264727f868f5127e48462301dbf8 | 2,673 | data2viz | Apache License 2.0 |
src/test/kotlin/uk/gov/justice/digital/hmpps/hmppsinterventionsservice/service/DeliverySessionsServiceTest.kt | ministryofjustice | 312,544,431 | false | null | package uk.gov.justice.digital.hmpps.hmppsinterventionsservice.service
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Assertions.assertThrows
import org.junit.jupiter.api.Test
import org.mockito.ArgumentCaptor
import org.mockito.ArgumentMatchers
import org.mockito.kotlin.any
import org.... | 7 | null | 1 | 2 | e77060a93c6736b5bf9032b3c917207d6b809568 | 32,663 | hmpps-interventions-service | MIT License |
mobile_app1/module957/src/main/java/module957packageKt0/Foo446.kt | uber-common | 294,831,672 | false | null | package module1248packageKt0;
annotation class Foo446Fancy
@Foo446Fancy
class Foo446 {
fun foo0(){
module1248packageKt0.Foo445().foo6()
}
fun foo1(){
foo0()
}
fun foo2(){
foo1()
}
fun foo3(){
foo2()
}
fun foo4(){
foo3()
}
fun foo5(){
foo4()
}
fun foo6(){
foo... | 6 | null | 6 | 72 | 9cc83148c1ca37d0f2b2fcb08c71ac04b3749e5e | 329 | android-build-eval | Apache License 2.0 |
mobile_app1/module957/src/main/java/module957packageKt0/Foo446.kt | uber-common | 294,831,672 | false | null | package module1248packageKt0;
annotation class Foo446Fancy
@Foo446Fancy
class Foo446 {
fun foo0(){
module1248packageKt0.Foo445().foo6()
}
fun foo1(){
foo0()
}
fun foo2(){
foo1()
}
fun foo3(){
foo2()
}
fun foo4(){
foo3()
}
fun foo5(){
foo4()
}
fun foo6(){
foo... | 6 | null | 6 | 72 | 9cc83148c1ca37d0f2b2fcb08c71ac04b3749e5e | 329 | android-build-eval | Apache License 2.0 |
app/src/main/java/com/example/jetpackcomposesample/presentation/RecipeApplication.kt | vengateshm | 325,912,870 | false | {"Kotlin": 29422} | package com.example.jetpackcomposesample.presentation
import android.app.Application
import dagger.hilt.android.HiltAndroidApp
@HiltAndroidApp
class RecipeApplication : Application() {
} | 0 | Kotlin | 0 | 1 | 19aa787692ea2be6a37a447597f3b37a15294840 | 188 | android_jetpack_compose_MVVM | Apache License 2.0 |
komapper-core/src/main/kotlin/org/komapper/core/dsl/SchemaDsl.kt | komapper | 349,909,214 | false | null | package org.komapper.core.dsl
import org.komapper.core.dsl.context.SchemaContext
import org.komapper.core.dsl.metamodel.EntityMetamodel
import org.komapper.core.dsl.query.SchemaCreateQuery
import org.komapper.core.dsl.query.SchemaCreateQueryImpl
import org.komapper.core.dsl.query.SchemaDropAllQuery
import org.komapper... | 1 | Kotlin | 0 | 20 | 2a8827d7c410a5366d875578a635b02dc176e989 | 1,900 | komapper | Apache License 2.0 |
qrose-oned/src/commonMain/kotlin/io/github/alexzhirkevich/qrose/oned/Code128Painter.kt | alexzhirkevich | 704,899,229 | false | {"Kotlin": 199162, "HTML": 564} | package io.github.alexzhirkevich.qrose.oned
import androidx.compose.runtime.Composable
import androidx.compose.runtime.Stable
import androidx.compose.runtime.getValue
import androidx.compose.runtime.remember
import androidx.compose.runtime.rememberUpdatedState
import androidx.compose.ui.graphics.Brush
import androidx.... | 1 | Kotlin | 4 | 219 | 7dca5a15ba9b9eaf507a78b9e0acb3a742022679 | 2,209 | qrose | MIT License |
src/main/kotlin/dev/zacsweers/BlogActivity.kt | ZacSweers | 288,008,412 | false | null | package dev.zacsweers
import com.slack.eithernet.ApiResult
import com.slack.eithernet.ApiResultCallAdapterFactory
import com.slack.eithernet.ApiResultConverterFactory
import com.tickaroo.tikxml.TikXml
import com.tickaroo.tikxml.TypeConverter
import com.tickaroo.tikxml.annotation.Element
import com.tickaroo.tikxml.anno... | 4 | Kotlin | 1 | 15 | fab8139be563d2301749d596dd687bfca945ec48 | 2,001 | ZacSweers | Apache License 2.0 |
Corona-Warn-App/src/main/java/be/sciensano/coronalert/service/diagnosiskey/DiagnosisKeyService.kt | ici-be | 310,042,293 | true | {"Kotlin": 979464, "HTML": 189219} | package be.sciensano.coronalert.service.diagnosiskey
import KeyExportFormat
import be.sciensano.coronalert.storage.k
import be.sciensano.coronalert.storage.r0
import be.sciensano.coronalert.storage.resultChannel
import be.sciensano.coronalert.storage.t0
import be.sciensano.coronalert.storage.t3
import de.rki.coronawar... | 0 | null | 0 | 0 | 652f37467a375e0857437a0615ecd6e018c9ed78 | 2,160 | cwa-app-android | Apache License 2.0 |
app/src/main/java/com/kotlin/sacalabici/data/models/medals/MedalBase.kt | Saca-la-Bici | 849,110,267 | false | {"Kotlin": 595596} | package com.kotlin.sacalabici.data.models.medals
import com.google.gson.annotations.SerializedName
data class MedalBase(
@SerializedName("_id") val id: String,
@SerializedName("nombre") val name: String,
@SerializedName("imagen") val url: String,
@SerializedName("estado") val state: Boolean,
@Seri... | 1 | Kotlin | 1 | 1 | b8a06baa119ffb0d355d1ae7fe7e607bb8f1c52c | 362 | app-android | MIT License |
app/src/main/java/data/repository/ItemRepository.kt | omertzroya | 809,783,374 | false | {"Kotlin": 31122} | package data.repository
import android.app.Application
import data.local_db.ItemDao
import data.local_db.ItemDataBase
import data.model.Item
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.withContext
class ItemRepository(application: Application) {
private val itemDao: ItemDao? = ItemDataBase.ge... | 0 | Kotlin | 0 | 0 | 1648a953c794a0441a31c9b1e21f1748851414e3 | 932 | CouponChest-Kotlin-App | MIT License |
android/engine/src/test/java/org/smartregister/fhircore/engine/ui/userprofile/UserProfileViewModelTest.kt | opensrp | 339,242,809 | false | null | /*
* Copyright 2021 Ona Systems, Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | 138 | Kotlin | 7 | 16 | 87dc9bc1c909cd5586dbb5d05615918c0ebd9488 | 6,560 | fhircore | Apache License 2.0 |
app/src/main/java/com/teaphy/diffutildemo/callback/DiffCallback.kt | teaphy | 127,724,997 | false | null | package com.teaphy.diffutildemo.callback
import android.os.Bundle
import android.support.v7.util.DiffUtil
import com.teaphy.diffutildemo.bean.DiffBean
import com.teaphy.diffutildemo.global.KEY_DESC
/**
* @desc
* @author Tiany
* @date 2018/4/2 0002
*/
class DiffCallback(private val oldList: List<DiffBean>, priva... | 0 | Kotlin | 0 | 9 | 8afe5c39d2306ea2a314bfb32e8808ed998b991f | 1,738 | DiffUtilDemo | Apache License 2.0 |
compiler/fir/analysis-tests/testData/resolve/inference/pcla/doubleSquareBracketsInBuilderArgument.kt | JetBrains | 3,432,266 | false | null | // ISSUE: KT-47982
fun test() {
<!CANNOT_INFER_PARAMETER_TYPE, NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>build<!> {
<!UNSUPPORTED!>[<!UNSUPPORTED!>[]<!>]<!>
}
}
class Buildee<TV>
fun <PTV> build(instructions: Buildee<PTV>.() -> Unit): Buildee<PTV> {
return Buildee<PTV>().apply(instructions)
... | 182 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 322 | kotlin | Apache License 2.0 |
browser-kotlin/src/jsMain/kotlin/web/canvas/CanvasPath.kt | karakum-team | 393,199,102 | false | {"Kotlin": 6472581} | // Automatically generated - do not modify!
@file:Suppress(
"NON_ABSTRACT_MEMBER_OF_EXTERNAL_INTERFACE",
)
package web.canvas
sealed external interface CanvasPath {
/**
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/arc)
*/
fun arc(
x: Number,
... | 0 | Kotlin | 6 | 27 | e8d3760ae4b6f6dc971ca3b242bffed65af5f3d1 | 2,872 | types-kotlin | Apache License 2.0 |
app/src/main/java/com/example/lemonade/MainActivity.kt | google-developer-training | 385,324,701 | false | null | /*
* Copyright (C) 2021 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 app... | 40 | null | 42 | 94 | f87aca701d69850320bad8e61f6aeb45fda16a78 | 7,693 | android-basics-kotlin-lemonade-app | Apache License 2.0 |
maplibre/app/src/main/java/danbroid/util/demo/SimpleMapActivity.kt | danbrough | 290,871,172 | false | {"C": 241261, "Kotlin": 199375, "C++": 74987, "Java": 9058, "Shell": 9035, "Go": 304} | package danbroid.util.demo
import android.os.Bundle
import android.view.MenuItem
import androidx.appcompat.app.AppCompatActivity
import com.mapbox.mapboxsdk.camera.CameraPosition
import com.mapbox.mapboxsdk.geometry.LatLng
import com.mapbox.mapboxsdk.maps.MapView
import com.mapbox.mapboxsdk.maps.MapboxMap
import com.m... | 0 | C | 0 | 2 | f5b1b0e0b9688c9fc0e7ff3d6d092ab86bf99fea | 2,204 | misc_demos | Apache License 2.0 |
app/src/main/java/dev/tcode/thinmp/view/screen/MainScreen.kt | tcode-dev | 392,735,283 | false | {"Kotlin": 248408} | package dev.tcode.thinmp.view.screen
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.gestures.detectTapGestures
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.found... | 0 | Kotlin | 0 | 7 | ecd7a7585788d0d4355dbfa596aa56f27dec0087 | 8,462 | ThinMP_Android_Kotlin | MIT License |
core-ui/src/main/kotlin/com/laomuji666/compose/core/ui/we/icons/ChatsSelect.kt | laomuji666 | 844,336,531 | false | {"Kotlin": 235984} | package com.laomuji666.compose.core.ui.we.icons
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.path
import androidx.compose.ui.uni... | 1 | Kotlin | 0 | 99 | 55ebed2733bdbc2330f3297b74b5514fea786ba3 | 1,671 | Quickly-Use-Jetpack-Compose | Apache License 2.0 |
app/src/main/java/com/kcteam/features/viewAllOrder/presentation/OrderSizeQtyDetailsDelAdapter.kt | DebashisINT | 558,234,039 | false | null | package com.breezefieldsalesgypmart.features.viewAllOrder.presentation
import android.content.Context
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.breezefieldsalesgypmart.R
import com.breezefieldsalesgypmart.app.ut... | 0 | null | 1 | 1 | e6114824d91cba2e70623631db7cbd9b4d9690ed | 2,526 | NationalPlastic | Apache License 2.0 |
src/test/kotlin/no/nav/eessi/pensjon/klienter/fagmodul/FagmodulKlientTest.kt | navikt | 178,813,650 | false | {"Kotlin": 790534, "Shell": 1714, "Dockerfile": 155} | package no.nav.eessi.pensjon.klienter.fagmodul
import io.mockk.every
import io.mockk.mockk
import no.nav.eessi.pensjon.eux.model.buc.SakType.ALDER
import no.nav.eessi.pensjon.listeners.fagmodul.FagmodulKlient
import no.nav.eessi.pensjon.oppgaverouting.SakInformasjon
import no.nav.eessi.pensjon.utils.toJson
import org.... | 3 | Kotlin | 3 | 5 | e77a3059a567bf93922d6904847b70835dd62052 | 2,362 | eessi-pensjon-journalforing | MIT License |
common/all/src/commonMain/kotlin/com/tunjid/me/common/ui/settings/SettingsRoute.kt | tunjid | 439,670,817 | false | null | /*
* Copyright 2021 Google LLC
*
* 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 ... | 0 | Kotlin | 1 | 17 | 710745fa1cc2201458b69c61351fe5f585b87a28 | 3,117 | me | Apache License 2.0 |
app/src/main/java/app/tivi/inject/ApplicationComponent.kt | chrisbanes | 100,624,553 | false | null | /*
* Copyright 2023 Google LLC
*
* 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 i... | 20 | null | 792 | 5,749 | 5dc4d831fd801afab556165d547042c517f98875 | 2,985 | tivi | Apache License 2.0 |
plugins/settings-sync/src/com/intellij/settingsSync/CloudConfigServerCommunicator.kt | ingokegel | 72,937,917 | false | null | package com.intellij.settingsSync
import com.intellij.ide.plugins.PluginManagerCore.isRunningFromSources
import com.intellij.openapi.application.ApplicationNamesInfo
import com.intellij.openapi.diagnostic.logger
import com.intellij.openapi.util.JDOMUtil
import com.intellij.openapi.util.io.FileUtil
import com.intellij.... | 284 | null | 5162 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 12,188 | intellij-community | Apache License 2.0 |
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirPropertyGetterSymbol.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.analysis.api.fir.symbols
import com.intellij.psi.PsiElement
import org.jetbrains... | 4 | null | 5686 | 47,397 | a47dcc227952c0474d27cc385021b0c9eed3fb67 | 4,246 | kotlin | Apache License 2.0 |
app/src/main/java/com/kcteam/features/report/presentation/AchievementAdapter.kt | DebashisINT | 558,234,039 | false | null | package com.prakashspicesfsm.features.report.presentation
import android.content.Context
import androidx.core.content.ContextCompat
import androidx.recyclerview.widget.RecyclerView
import android.text.TextUtils
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.prakash... | 0 | null | 1 | 1 | a9aabcf48662c76db18bcece75cae9ac961da1ed | 2,598 | NationalPlastic | Apache License 2.0 |
src/main/kotlin/org/veupathdb/lib/blast/common/fields/MultiThreadingMode.kt | VEuPathDB | 362,472,079 | false | null | package org.veupathdb.lib.blast.common.fields
import com.fasterxml.jackson.databind.node.ObjectNode
import org.veupathdb.lib.blast.common.FlagMultiThreadingMode
import org.veupathdb.lib.blast.common.FlagNumThreads
import org.veupathdb.lib.blast.serial.BlastField
import org.veupathdb.lib.blast.util.*
private val Def =... | 20 | Kotlin | 0 | 0 | e0639a45d45fce3e393ab1eff1176c5c75375738 | 1,491 | service-multi-blast | Apache License 2.0 |
app/src/main/java/dialog/AddDrawingDialogFragment.kt | th3kumar | 639,369,031 | false | null | package dialog
import ViewModel.DrawingViewModel
import android.app.Activity.RESULT_OK
import android.app.AlertDialog
import android.app.Dialog
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import android.widget.Button
import android.widget.ImageView
import android.widget.Toast
import a... | 0 | Kotlin | 0 | 0 | 894351d6af167026898b0270f5c767862f785800 | 3,098 | doda_App | MIT License |
src/main/kotlin/mixit/talk/repository/TalkRepository.kt | mixitconf | 76,134,720 | false | null | package mixit.talk.repository
import com.fasterxml.jackson.databind.ObjectMapper
import com.fasterxml.jackson.module.kotlin.readValue
import mixit.talk.model.Talk
import org.slf4j.LoggerFactory
import org.springframework.core.io.ClassPathResource
import org.springframework.data.domain.Sort.Direction.ASC
import org.spr... | 12 | null | 125 | 526 | cde6cbedac3a6b7dab1978ebf7e18ffe58cde0a1 | 2,548 | mixit | Apache License 2.0 |
data/impl/src/main/kotlin/com/morfly/sample/data/impl/mapping/DataMapper.kt | Morfly | 398,528,749 | false | null | /*
* Copyright 2021 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writin... | 2 | Kotlin | 5 | 43 | 93b22c1e198955705ef31aaeadb2b091a90fcdd5 | 934 | compose-arch-sample | MIT License |
apps/etterlatte-migrering/src/test/kotlin/migrering/start/StartMigreringRiverIntegrationTest.kt | navikt | 417,041,535 | false | {"Kotlin": 5723460, "TypeScript": 1348496, "Handlebars": 21854, "Shell": 10666, "HTML": 1776, "Dockerfile": 745, "CSS": 598, "PLpgSQL": 556} | package no.nav.etterlatte.migrering
import com.fasterxml.jackson.module.kotlin.readValue
import io.ktor.server.testing.testApplication
import io.mockk.coEvery
import io.mockk.every
import io.mockk.just
import io.mockk.mockk
import io.mockk.runs
import io.mockk.verify
import kotlinx.coroutines.runBlocking
import kotliq... | 21 | Kotlin | 0 | 6 | cb2f66b3d6bef0ab72b82ca34a7f2e371ff4269c | 26,384 | pensjon-etterlatte-saksbehandling | MIT License |
src/commonTest/kotlin/com/electrit/protokol/UShortsTest.kt | ikolomiets | 303,030,297 | false | null | package com.electrit.protokol
import kotlin.random.Random
import kotlin.random.nextUInt
import kotlin.test.Test
import kotlin.test.assertEquals
import kotlin.test.assertFailsWith
class UShortsTest {
class UShortsData(var list: List<UShort> = emptyList())
object UShortsDataProtokolObject : ProtokolObject<USh... | 0 | Kotlin | 0 | 1 | 372172824df1958410b7a287f6ed47b822c726a8 | 2,472 | protokol | MIT License |
irrigation-service/src/main/kotlin/banquemisr/com/irrigationsystem/model/dto/request/ChangeStatusRequest.kt | AhmedGodaa | 677,464,074 | false | {"Kotlin": 60005, "Dockerfile": 539, "Shell": 251} | package banquemisr.com.irrigationsystem.model.dto.request
import com.fasterxml.jackson.annotation.JsonProperty
data class ChangeStatusRequest(
@JsonProperty("id") val id: String? = null,
@JsonProperty("irrigationStatus") var irrigationStatus: Boolean? = null,
) | 0 | Kotlin | 0 | 1 | 3a4f90e67d5e78262d99d1c3b01af9d25c81af4b | 271 | IrrigationSystemBM | MIT License |
app/src/main/java/zero/friends/gostopcalculator/util/TabKeyboardDownModifier.kt | ZeroFriends | 412,748,430 | false | null | package zero.friends.gostopcalculator.util
import androidx.compose.foundation.gestures.detectTapGestures
import androidx.compose.runtime.Composable
import androidx.compose.ui.ExperimentalComposeUiApi
import androidx.compose.ui.Modifier
import androidx.compose.ui.input.pointer.pointerInput
import androidx.compose.ui.pl... | 0 | Kotlin | 1 | 13 | f3faf45cdaf496fe0d06bb73ca813e2097de96a6 | 715 | GoStopCalculator | Apache License 2.0 |
ktor-client/ktor-client-darwin/darwin/src/io/ktor/client/engine/darwin/certificates/CertificatePinner.kt | ktorio | 40,136,600 | false | null | /*
* Copyright 2014-2021 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
package io.ktor.client.engine.darwin.certificates
import io.ktor.client.engine.darwin.*
import io.ktor.client.engine.darwin.internal.legacy.*
import kotlinx.cinterop.*
import platform.CoreCrypt... | 303 | null | 961 | 9,709 | 9e0eb99aa2a0a6bc095f162328525be1a76edb21 | 17,824 | ktor | Apache License 2.0 |
app/src/main/java/dev/farouk/depensy/ui/expenses/ExpensesViewModel.kt | sabiou | 158,005,012 | false | {"Kotlin": 61261, "Java": 281} | package dev.farouk.depensy.ui.expenses
import androidx.lifecycle.LiveData
import androidx.lifecycle.ViewModel
import dev.farouk.depensy.data.models.Expense
import dev.farouk.depensy.data.repository.ExpensesRepository
/**
* The viewModel for [ExpensesFragment]
*/
class ExpensesViewModel internal constructor(expenses... | 1 | Kotlin | 1 | 13 | d99510a8020a932bcc9848fc3df0e644042fb710 | 446 | depensy-app | Apache License 2.0 |
lattekit-core/src/main/java/io/lattekit/view/LatteTemplateRecyclerAdapter.kt | maannajjar | 54,922,229 | false | null | package io.lattekit.view
import android.support.v7.widget.RecyclerView
import android.view.View
import android.view.ViewGroup
import android.widget.FrameLayout
import java.lang.reflect.ParameterizedType
/**
* Created by maan on 3/25/16.
*/
class LatteTemplateRecyclerAdapter(parentView : LatteView) : RecyclerView.Ad... | 12 | Kotlin | 18 | 173 | bcc1e4e759c5be62db30b6398de63555c5b24726 | 4,978 | lattekit | MIT License |
paymentsheet/src/main/java/com/stripe/android/paymentsheet/FormHelper.kt | stripe | 6,926,049 | false | null | package com.stripe.android.paymentsheet
import com.stripe.android.cards.CardAccountRangeRepository
import com.stripe.android.link.LinkConfigurationCoordinator
import com.stripe.android.link.ui.inline.InlineSignupViewState
import com.stripe.android.lpmfoundations.luxe.SupportedPaymentMethod
import com.stripe.android.lp... | 92 | null | 644 | 1,277 | 174b27b5a70f75a7bc66fdcce3142f1e51d809c8 | 4,346 | stripe-android | MIT License |
src/main/kotlin/git/semver/plugin/semver/SemVersion.kt | jmongard | 248,187,973 | false | {"Kotlin": 95477} | package git.semver.plugin.semver
import git.semver.plugin.scm.IRefInfo
import org.slf4j.LoggerFactory
class SemVersion(
var sha: String = "",
var major: Int = 0,
var minor: Int = 0,
var patch: Int = 0,
var preRelease: PreRelease = PreRelease.noPreRelease,
var commitCount: Int = 0,
private ... | 3 | Kotlin | 4 | 27 | 2cba7e8fb0cef6ba1d36b6672d64afb50758759e | 9,531 | Git.SemVersioning.Gradle | Apache License 2.0 |
src/main/kotlin/io/maslick/revolutto/BusinessLogic.kt | maslick | 208,226,196 | false | null | package io.maslick.revolutto
import org.slf4j.LoggerFactory
import java.math.BigDecimal
interface ITransaction {
suspend fun transfer(from: String, to: String, amount: BigDecimal): Boolean
}
interface IBalance {
suspend fun getBalance(userId: String): BigDecimal
}
class Transaction(private val repo: IRepo) ... | 0 | Kotlin | 0 | 2 | 8932690a9445bd33a5104a63defd6a43483f9bed | 845 | revolutto | MIT License |
src/main/kotlin/com/pettcare/message/repository/MessageRepository.kt | antelukic | 810,253,774 | false | {"Kotlin": 75020, "Dockerfile": 300} | package com.pettcare.message.repository
import com.pettcare.core.BaseResponse
import com.pettcare.message.request.SendMessageRequest
import io.ktor.websocket.WebSocketSession
interface MessageRepository {
suspend fun sendMessage(socketSession: WebSocketSession, message: SendMessageRequest): BaseResponse<out Any>... | 0 | Kotlin | 0 | 0 | 7a7f370d3607511fa4dceacfdfd70dbe55fc4841 | 480 | PettCare-Server | Apache License 2.0 |
model-server/src/test/kotlin/org/modelix/model/server/StoreClientWithStatistics.kt | modelix | 533,211,353 | false | {"Kotlin": 2516761, "JetBrains MPS": 274458, "TypeScript": 55129, "Java": 9941, "JavaScript": 6875, "Mustache": 5974, "CSS": 2898, "Shell": 2811, "Dockerfile": 389, "Procfile": 76} | /*
* Copyright (c) 2024.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,... | 47 | Kotlin | 9 | 6 | 2bbc5b1ed943aa9842cb3d58d4d2a8a6bc8b4bd0 | 1,559 | modelix.core | Apache License 2.0 |
compose/desktop/desktop/samples/src/jvmMain/kotlin/androidx/compose/desktop/examples/popupexample/MenuItems.jvm.kt | RikkaW | 389,105,112 | false | null | /*
* Copyright 2020 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 | null | 0 | 7 | 6d53f95e5d979366cf7935ad7f4f14f76a951ea5 | 1,848 | androidx | Apache License 2.0 |
app/src/main/java/com/amitranofinzi/vimata/data/dao/CollectionDao.kt | Ggino11 | 788,949,158 | false | {"Kotlin": 399279} | package com.amitranofinzi.vimata.data.dao
import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import androidx.room.Update
import com.amitranofinzi.vimata.data.model.Collection
@Dao
interface CollectionDao {
/**
* Retrieves a list of Collect... | 0 | Kotlin | 0 | 0 | e864fc070b7343394457425601c7e276968a2ca6 | 2,030 | ProgettoAmitranoFinzi-progMob | MIT License |
library/src/main/java/com/androidbolts/library/LocationManager.kt | nawinkhatiwada | 216,338,736 | false | null | package com.androidbolts.library
import android.app.Activity
import android.content.Context
import android.util.Log
import androidx.fragment.app.Fragment
import androidx.lifecycle.Lifecycle
import androidx.lifecycle.LifecycleObserver
import androidx.lifecycle.OnLifecycleEvent
import com.androidbolts.library.gps.GpsMan... | 1 | null | 1 | 3 | 8494456aab6331d6ae7df6ed1c46bbb05d20869e | 5,251 | LocationManager | Apache License 2.0 |
domain/src/main/java/com/example/domain/entities/enums/Category.kt | IlyaBorisovDly | 447,408,801 | false | {"Kotlin": 81181} | package com.example.domain.entities.enums
enum class Category {
Creators,
Publishers,
Genres,
Developers,
Platforms
} | 0 | Kotlin | 0 | 0 | 1e08c0d35e9779d67e1b046892a99532a4a936be | 138 | GamePicker | MIT License |
src/main/kotlin/com/autonomousapps/internal/ConfigurationsToDependenciesTransformer.kt | autonomousapps | 217,134,508 | false | null | package com.autonomousapps.internal
import com.autonomousapps.internal.utils.*
import com.autonomousapps.tasks.LocateDependenciesTask
import org.gradle.api.artifacts.ConfigurationContainer
internal class ConfigurationsToDependenciesTransformer(
private val flavorName: String?,
private val buildType: String?,
pr... | 70 | null | 40 | 566 | e390bdbae96804037ec663884e45a57ee2d0f149 | 4,284 | dependency-analysis-android-gradle-plugin | Apache License 2.0 |
kool-editor/src/commonMain/kotlin/de/fabmax/kool/editor/actions/SetCameraAction.kt | fabmax | 81,503,047 | false | {"Kotlin": 5305864, "C++": 3256, "CMake": 1870, "HTML": 1464, "JavaScript": 597} | package de.fabmax.kool.editor.actions
import de.fabmax.kool.editor.components.CameraComponent
import de.fabmax.kool.editor.data.CameraTypeData
class SetCameraAction(
val cameraComponent: CameraComponent,
val setCameraData: CameraTypeData,
val undoCamData: CameraTypeData
) : EditorAction {
override fu... | 10 | Kotlin | 15 | 249 | 03251975abdda81dc398d86cc2ffaa545c867033 | 489 | kool | Apache License 2.0 |
expandablehinttext/src/main/java/com/tomlonghurst/expandablehinttext/ViewHelper.kt | thomhurst | 163,102,531 | false | null | package com.ahmedessamedeen.prettyedittext
import android.content.Context
internal object ViewHelper {
internal fun getDp(context: Context, int: Int): Int {
val scale = context.resources.displayMetrics.density
return (int * scale + 0.5f).toInt()
}
} | 5 | null | 20 | 179 | 5891297e568f1ffe028a119df5f46e85ab2b990a | 275 | ExpandableHintText | Apache License 2.0 |
app/src/main/java/io/wookey/wallet/data/dao/WalletDao.kt | WooKeyWallet | 176,637,569 | false | null | package io.wookey.wallet.data.dao
import android.arch.lifecycle.LiveData
import android.arch.persistence.room.*
import io.wookey.wallet.data.entity.Wallet
@Dao
interface WalletDao {
/**
* Insert a wallet in the database. If the wallet already exists, ignore it.
*
* @param wallet the wallet to be i... | 6 | null | 20 | 23 | 93d0d6a4743e95ab2455bb6ae24b2cc6b616bd90 | 3,139 | monero-wallet-android-app | MIT License |
solar/src/main/java/com/chiksmedina/solar/lineduotone/businessstatistic/DiagramUp.kt | CMFerrer | 689,442,321 | false | {"Kotlin": 36591890} | package com.chiksmedina.solar.lineduotone.businessstatistic
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.Round
import androidx.compose.ui.graphics.Strok... | 0 | Kotlin | 0 | 0 | 3414a20650d644afac2581ad87a8525971222678 | 2,531 | SolarIconSetAndroid | MIT License |
app/src/main/java/com/thekalya/instantnews/network/ApiClient.kt | kalyakiplangat | 270,838,573 | false | null | package com.thekalya.instantnews.network
import Urls
import com.bumptech.glide.BuildConfig
import com.google.gson.GsonBuilder
import okhttp3.Interceptor
import okhttp3.OkHttpClient
import okhttp3.logging.HttpLoggingInterceptor
import retrofit2.Retrofit
import retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory
import ... | 0 | Kotlin | 0 | 0 | c1f1dc351f69a4e4beec124f312445e5edcd7086 | 1,891 | Instant-News | MIT License |
libraries/stdlib/test/numbers/NumbersTest.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2018 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package test.numbers
import test.isFloat32RangeEnforced
import kotlin.random.Random
import kotlin.test.*
obj... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 18,770 | kotlin | Apache License 2.0 |
kaptain/src/main/java/cafe/adriel/kaptain/KaptainException.kt | adrielcafe | 250,125,515 | false | {"Kotlin": 8322} | package cafe.adriel.kaptain
import java.lang.RuntimeException
class KaptainException(message: String) : RuntimeException(message) | 0 | Kotlin | 3 | 27 | f03d8527d624f5c54add941c1247583317bb3b2e | 131 | kaptain | MIT License |
app/src/main/java/com/android/core/arch/utils/app/CommonUtils.kt | sameerb-webonise | 205,486,810 | false | {"Gradle": 3, "INI": 1, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Java Properties": 1, "Proguard": 1, "Java": 4, "XML": 14, "Kotlin": 45} | package com.android.core.arch.utils.app
import android.annotation.SuppressLint
import android.app.ProgressDialog
import android.content.Context
import android.content.res.AssetManager
import android.graphics.Color
import android.graphics.drawable.ColorDrawable
import android.provider.Settings
import android.telephony.... | 0 | Kotlin | 0 | 0 | 988504bfef846a7b7cc4fcdfa3fcd5f6a96b0faf | 2,924 | new_android_app_architecture_kotlin | Apache License 2.0 |
library/src/main/kotlin/com/daniloaraujosilva/mathemagika/library/common/mathematica/functions/DocumentGeneratorInformation.kt | Danilo-Araujo-Silva | 271,904,885 | false | null | package com.daniloaraujosilva.mathemagika.library.common.mathematica.functions
import com.daniloaraujosilva.mathemagika.library.common.mathematica.MathematicaFunction
/**
*````
*
* Name: DocumentGeneratorInformation
*
* Full name: System`DocumentGeneratorInformation
*
* Doc... | 2 | Kotlin | 0 | 3 | 4fcf68af14f55b8634132d34f61dae8bb2ee2942 | 1,224 | mathemagika | Apache License 2.0 |
features/times/src/main/java/com/metinkale/prayer/times/utils/ExportController.kt | metinkale38 | 48,848,634 | false | {"Kotlin": 616528, "HTML": 242192, "Java": 233206, "Shell": 1622, "CSS": 382} | /*
* Copyright (c) 2013-2023 Metin Kale
*
* 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 ag... | 24 | Kotlin | 108 | 232 | f16a719edab1d3d516accb42d6eee15743d78269 | 16,602 | prayer-times-android | Apache License 2.0 |
foundation-shared/src/main/kotlin/gay/pizza/foundation/shared/PluginPersistence.kt | GayPizzaSpecifications | 447,482,867 | false | null | package gay.pizza.foundation.shared
import java.util.concurrent.ConcurrentHashMap
class PluginPersistence(val core: IFoundationCore) {
val stores = ConcurrentHashMap<String, PersistentStore>()
/**
* Fetch a persistent store by name. Make sure the name is path-safe, descriptive and consistent across server run... | 1 | Kotlin | 0 | 0 | 4b1af52ef0190ee753c965bdf7af0031bb4ec744 | 528 | foundation | MIT License |
app/src/main/java/de/stefanmedack/ccctv/ui/main/home/uiModel/HomeUiModel.kt | stefanmedack | 96,631,852 | false | null | package de.stefanmedack.ccctv.ui.main.home.uiModel
import de.stefanmedack.ccctv.persistence.entities.Event
data class HomeUiModel(
val bookmarkedEvents: List<Event>,
val playedEvents: List<Event>,
val promotedEvents: List<Event>,
val trendingEvents: List<Event>,
val popularEven... | 4 | Kotlin | 9 | 34 | b96d15c64b66af5c9f4ca08a2df961b47f1df70d | 376 | cccTV | Apache License 2.0 |
experimental/corda-utils/src/main/kotlin/io/cryptoblk/core/StatusTransitions.kt | corda | 70,137,417 | false | null | package io.cryptoblk.core
import net.corda.core.contracts.CommandData
import net.corda.core.contracts.ContractState
import net.corda.core.identity.Party
import net.corda.core.transactions.LedgerTransaction
import kotlin.reflect.KClass
/**
* Contract state that records changes of some [status] on the ledger and roles... | 62 | null | 1077 | 3,989 | d27aa0e6850d3804d0982024054376d452e7073a | 4,814 | corda | Apache License 2.0 |
app/src/main/java/com/example/homepage/utils/models/GroupNoticeData.kt | piru72 | 516,901,454 | false | null | package com.example.homepage.groupNoticePage.groupNoticeModel
data class GroupNoticeData(
var uid: String? = "",
var taskname: String? = "",
var taskdescription: String? = "",
var taskdate: String? = "",
var path: String? = "",
var groupId: String? = ""
) {
fun toMap(): Map<String, Any?> ... | 10 | null | 3 | 9 | 47f4ab162fdf79d203e3643dbe8527a52f9f62cd | 571 | AUST_BUDDY | MIT License |
multiplatform-locale/src/commonTest/kotlin/com/vanniktech/locale/LanguagesTest.kt | vanniktech | 562,822,028 | false | null | package com.vanniktech.locale
import kotlin.test.Test
import kotlin.test.assertEquals
class LanguagesTest {
@Test fun currentLanguageCode() {
assertEquals(expected = "en", actual = Languages.currentLanguageCode())
}
}
| 0 | Kotlin | 0 | 7 | 22d30f0fbd5c5d2e5d70e3cb152cf804ba87304f | 228 | multiplatform-locale | Apache License 2.0 |
comet-utils/src/main/kotlin/ren/natsuyuk1/comet/utils/skiko/SkikoHelper.kt | StarWishsama | 173,288,057 | false | null | package ren.natsuyuk1.comet.utils.skiko
import io.ktor.client.plugins.*
import io.ktor.http.*
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.runInterruptible
import mu.KotlinLogging
import org.jetbrains.skiko.Library
import org.jetbrains.skiko.hostId
import ren.natsuyuk1.comet.utils.file.absPath
impor... | 19 | null | 20 | 193 | 19ed20ec4003a37be3bc2dfc6b55a9e2548f0542 | 4,934 | Comet-Bot | MIT License |
comet-utils/src/main/kotlin/ren/natsuyuk1/comet/utils/skiko/SkikoHelper.kt | StarWishsama | 173,288,057 | false | null | package ren.natsuyuk1.comet.utils.skiko
import io.ktor.client.plugins.*
import io.ktor.http.*
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.runInterruptible
import mu.KotlinLogging
import org.jetbrains.skiko.Library
import org.jetbrains.skiko.hostId
import ren.natsuyuk1.comet.utils.file.absPath
impor... | 19 | null | 20 | 193 | 19ed20ec4003a37be3bc2dfc6b55a9e2548f0542 | 4,934 | Comet-Bot | MIT License |
app/src/main/java/dev/braian/goalbit/view/activities/MainActivity.kt | BraianS | 745,135,660 | false | {"Kotlin": 105726} | package dev.braian.goalbit.view.activities
import android.content.Intent
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.core.content.ContextCompat
import androidx.core.splashscreen.SplashScreen.Companion.installSplashScreen
import androidx.fragment.app.Fragment
import com.goo... | 0 | Kotlin | 0 | 0 | 400644bf3425cdd2d589f086bfab55b41076fdee | 2,765 | goalbit-android | Apache License 2.0 |
app/src/main/java/com/nora/covdecem/data/database/dao/CaseDao.kt | NoraHeithur | 499,868,323 | false | null | package com.nora.covdecem.data.database.dao
import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import com.nora.covdecem.data.database.entity.CaseEntity
@Dao
interface CaseDao {
@Insert(onConflict = OnConflictStrategy.REPLACE)
suspend fun in... | 0 | Kotlin | 0 | 0 | 0138f2ef1804b98571c68c4c0ef26244aa99178d | 447 | CovDecem | MIT License |
test_runner/src/test/kotlin/ftl/environment/android/AndroidModelDescriptionTest.kt | Flank | 84,221,974 | false | {"Kotlin": 1748173, "Java": 101254, "Swift": 41229, "Shell": 10674, "Objective-C": 10006, "Dart": 9705, "HTML": 7235, "Gherkin": 4210, "TypeScript": 2717, "Ruby": 2272, "JavaScript": 1764, "SCSS": 1365, "Batchfile": 1183, "EJS": 1061, "Go": 159} | package ftl.environment.android
import ftl.api.DeviceModel
import ftl.presentation.cli.firebase.test.android.models.describe.prepareDescription
import org.junit.Assert.assertEquals
import org.junit.Test
class AndroidModelDescriptionTest {
@Test
fun `should return model with tag if any tag exists`() {
... | 64 | Kotlin | 115 | 676 | b40904b4e74a670cf72ee53dc666fc3a801e7a95 | 3,504 | flank | Apache License 2.0 |
app/src/main/java/dev/shorthouse/coinwatch/ui/screen/search/SearchViewModel.kt | shorthouse | 655,260,745 | false | null | package dev.shorthouse.coinwatch.ui.screen.search
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
import androidx.compose.runtime.snapshotFlow
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import dagger.hilt... | 5 | null | 7 | 9 | ec946062b37a8c675798db0af440394a3c253d1d | 2,800 | CoinWatch | Apache License 2.0 |
app/src/main/java/my/app/canvas/DrawPencil.kt | gerasymenkoke | 637,945,680 | false | {"Kotlin": 52735} | package com.ferodev.simplepaint.canvas
import android.graphics.Color
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import android.content.Context
import android.graphics.Canvas
import android.graphics.Paint
import android.util.AttributeSet
import android.view.MotionEvent
import android... | 0 | Kotlin | 0 | 0 | e1d26c47763b46650a50003681ea89f5038ef6b5 | 5,114 | paint | Apache License 2.0 |
app/src/main/java/my/app/canvas/DrawPencil.kt | gerasymenkoke | 637,945,680 | false | {"Kotlin": 52735} | package com.ferodev.simplepaint.canvas
import android.graphics.Color
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import android.content.Context
import android.graphics.Canvas
import android.graphics.Paint
import android.util.AttributeSet
import android.view.MotionEvent
import android... | 0 | Kotlin | 0 | 0 | e1d26c47763b46650a50003681ea89f5038ef6b5 | 5,114 | paint | Apache License 2.0 |
test/fixtures/gradle/multi_project/lib/src/test/kotlin/multi_project/AppTest.kt | github | 120,039,636 | false | null | /*
* This Kotlin source file was generated by the Gradle 'init' task.
*/
package cubeconundrum
import kotlin.test.Test
import kotlin.test.assertNotNull
class AppTest {
@Test fun appHasAGreeting() {
// val classUnderTest = App()
// assertNotNull(classUnderTest.greeting, "app should have a greetin... | 6 | null | 3 | 979 | 20ccab13f3e8738cf12543ef78da3469bf63c249 | 332 | licensed | MIT License |
jvm/src/main/kotlin/io/github/shyamz/openidconnect/configuration/model/TokenEndPointAuthMethod.kt | shyamz-22 | 117,333,520 | false | null | package io.github.shyamz.openidconnect.configuration.model
/**
* Other methods client_secret_jwt, and private_key_jwt are unsupported by the library
*/
enum class TokenEndPointAuthMethod(val supportedMethod: String) {
Post("client_secret_post"),
Basic("client_secret_basic"),
None("none")
} | 0 | Kotlin | 2 | 11 | 421a680d5bee2a1d88c6890d2d71ac847af30fe7 | 305 | openid-connect-client | Apache License 2.0 |
plot-api/src/commonMain/kotlin/org/jetbrains/letsPlot/geom/geom_boxplot.kt | JetBrains | 172,682,391 | false | null | /*
* Copyright (c) 2021. JetBrains s.r.o.
* Use of this source code is governed by the MIT license that can be found in the LICENSE file.
*/
package org.jetbrains.letsPlot.geom
import org.jetbrains.letsPlot.Geom.boxplot
import org.jetbrains.letsPlot.Stat
import org.jetbrains.letsPlot.intern.*
import org.jetbrains.... | 19 | null | 37 | 433 | f6edab1a67783d14e2378675f065ef7111bdc1a0 | 9,979 | lets-plot-kotlin | MIT License |
src/test/kotlin/dev/shtanko/algorithms/leetcode/ThreeSumSmallerTest.kt | ashtanko | 203,993,092 | false | {"Kotlin": 6042782, "Shell": 1168, "Makefile": 961} | /*
* Copyright 2020 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | 6 | Kotlin | 0 | 19 | e7063905fd9b543055a7d8c2826db73cc65715db | 2,322 | kotlab | Apache License 2.0 |
src/test/kotlin/dev/shtanko/algorithms/leetcode/ThreeSumSmallerTest.kt | ashtanko | 203,993,092 | false | {"Kotlin": 6042782, "Shell": 1168, "Makefile": 961} | /*
* Copyright 2020 Oleksii Shtanko
*
* 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 agree... | 6 | Kotlin | 0 | 19 | e7063905fd9b543055a7d8c2826db73cc65715db | 2,331 | kotlab | Apache License 2.0 |
sample/common/src/iosMain/kotlin/com/example/sqldelight/hockey/ui/TeamData.kt | sqldelight | 44,677,680 | false | null | package com.example.sqldelight.hockey.ui
import com.example.sqldelight.hockey.data.Db
// For Swift
object TeamData {
fun teams() = Db.instance.teamQueries.selectAll().executeAsList()
}
| 606 | null | 516 | 6,152 | f79bd8ae2cf991de6dccdb643376253402f665e1 | 189 | sqldelight | Apache License 2.0 |
android-kotlin-notifications-start/app/src/main/java/com/example/android/eggtimernotifications/receiver/AlarmReceiver.kt | hieuwu | 290,215,458 | false | null | /*
* Copyright (C) 2019 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | 1 | null | 5 | 37 | 8d0720ea18465f978e8e77748311609f0807c6fc | 1,440 | kotlin-android-practice | Creative Commons Attribution 4.0 International |
src/jsMain/kotlin/baaahs/gl/render/WebGL2ResultDeliveryStrategy.kt | baaahs | 174,897,412 | false | null | package baaahs.gl.render
import baaahs.document
import baaahs.gl.GlBase
import baaahs.gl.GlContext
import baaahs.gl.WebGL2RenderingContext
import baaahs.gl.WebGL2RenderingContext.Companion.PIXEL_PACK_BUFFER
import baaahs.gl.WebGL2RenderingContext.Companion.STREAM_READ
import baaahs.gl.WebGL2RenderingContext.Companion.... | 88 | null | 6 | 40 | acdd13a4d34ebdcea0b7452bee6e187954db3fd0 | 4,786 | sparklemotion | MIT License |
android-app/src/main/java/com/github/aivanovski/testswithme/android/presentation/screens/flow/model/FlowState.kt | aivanovski | 815,197,496 | false | {"Kotlin": 800559, "Clojure": 13655, "Shell": 1883, "Scala": 850, "Dockerfile": 375} | package com.github.aivanovski.testswithme.android.presentation.screens.flow.model
import androidx.compose.runtime.Immutable
import com.github.aivanovski.testswithme.android.entity.ErrorMessage
import com.github.aivanovski.testswithme.android.presentation.core.cells.BaseCellViewModel
import com.github.aivanovski.testsw... | 0 | Kotlin | 0 | 0 | 0366b4dc9afc396dcb782c2bf1cb8ad230895a18 | 863 | tests-with-me | Apache License 2.0 |
plugins/kotlin/uast/uast-kotlin-base/src/org/jetbrains/uast/kotlin/expressions/KotlinUSuperExpression.kt | ingokegel | 72,937,917 | false | 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 org.jetbrains.uast.kotlin
import org.jetbrains.kotlin.psi.KtSuperExpression
import org.jetbrains.kotlin.resolve.BindingContext
import org.jetbrains.uas... | 191 | null | 4372 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 1,099 | intellij-community | Apache License 2.0 |
app/src/main/java/ws/idroid/worldstatus/data/model/CovidOverview.kt | mabualzait | 250,814,252 | false | null | package ws.idroid.worldstatus.data.model
import com.google.gson.annotations.Expose
import com.google.gson.annotations.SerializedName
/**
* <NAME> 04/03/20.
*/
data class CovidOverview(
@Expose @SerializedName("confirmed") val confirmed: CovidOverviewItem? = null,
@Expose @SerializedName("recovered") val r... | 0 | Kotlin | 0 | 3 | 958751c4a09664402317630142733f3c97bd4de9 | 436 | Covid-19-Android | Apache License 2.0 |
compiler/cli/cli-common/src/org/jetbrains/kotlin/cli/common/messages/CompilerMessageLocation.kt | AlexeyTsvetkov | 17,321,988 | 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... | 1 | null | 0 | 2 | 72a84083fbe50d3d12226925b94ed0fe86c9d794 | 1,478 | kotlin | Apache License 2.0 |
ui/ui-core/integration-tests/ui-core-demos/src/main/java/androidx/ui/core/demos/focus/FocusableDemo.kt | arkivanov | 288,587,741 | false | null | /*
* 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 | null | 0 | 1 | 549e3e3003cd308939ff31799cf1250e86d3e63e | 2,681 | androidx | MIT License |
data/episodes/implementation/src/commonMain/kotlin/com/thomaskioko/tvmaniac/episodes/implementation/EpisodeRepositoryImpl.kt | c0de-wizard | 361,393,353 | false | null | package com.thomaskioko.tvmaniac.episodes.implementation
import com.thomaskioko.tvmaniac.episodes.api.EpisodeRepository
import me.tatarka.inject.annotations.Inject
@Inject class EpisodeRepositoryImpl : EpisodeRepository
| 9 | Kotlin | 28 | 98 | 8bc3853d84c58520dffe26ddb260a2e7b6482ae9 | 222 | tv-maniac | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.