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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
plugin/src/main/kotlin/ir/taher7/melodymine/database/Database.kt | Vallerian | 700,695,551 | false | {"Kotlin": 203245, "TypeScript": 151420, "CSS": 4018, "Shell": 2145, "JavaScript": 1577, "Dockerfile": 367} | package ir.taher7.melodymine.database
import com.cryptomorin.xseries.ReflectionUtils
import com.zaxxer.hikari.HikariConfig
import com.zaxxer.hikari.HikariDataSource
import ir.taher7.melodymine.MelodyMine
import ir.taher7.melodymine.models.MelodyPlayer
import ir.taher7.melodymine.storage.Messages
import ir.taher7.melod... | 6 | Kotlin | 9 | 34 | b3a133082180551341addd09f743a6605086eb62 | 11,431 | MelodyMine | Apache License 2.0 |
examples/android/src/main/java/io/github/g0dkar/qrcode/QRCodeListActivity.kt | g0dkar | 418,322,972 | false | null | package io.github.g0dkar.qrcode
import android.content.Intent
import android.os.Bundle
import android.view.View
import android.widget.Toast
import androidx.activity.result.ActivityResultLauncher
import androidx.activity.result.contract.ActivityResultContracts.StartActivityForResult
import androidx.appcompat.app.AppCom... | 4 | null | 4 | 97 | 71f51478d99948899d18f7cbc5e0cb0cf59a46ba | 2,962 | qrcode-kotlin | MIT License |
pillarbox-player/src/main/java/ch/srgssr/pillarbox/player/tracker/MediaItemTrackerProvider.kt | SRGSSR | 519,157,987 | false | {"Kotlin": 660173, "Shell": 555} | /*
* Copyright (c) SRG SSR. All rights reserved.
* License information is available from the LICENSE file.
*/
package ch.srgssr.pillarbox.player.tracker
/**
* Tracker factory
*
* @constructor Create empty Tracker factory
*/
interface MediaItemTrackerProvider {
/**
* Get media item tracker factory
... | 16 | Kotlin | 0 | 9 | 7209750736a47157f22dd939a17750d649172f0a | 459 | pillarbox-android | MIT License |
pillarbox-player/src/main/java/ch/srgssr/pillarbox/player/tracker/MediaItemTrackerProvider.kt | SRGSSR | 519,157,987 | false | {"Kotlin": 660173, "Shell": 555} | /*
* Copyright (c) SRG SSR. All rights reserved.
* License information is available from the LICENSE file.
*/
package ch.srgssr.pillarbox.player.tracker
/**
* Tracker factory
*
* @constructor Create empty Tracker factory
*/
interface MediaItemTrackerProvider {
/**
* Get media item tracker factory
... | 16 | Kotlin | 0 | 9 | 7209750736a47157f22dd939a17750d649172f0a | 459 | pillarbox-android | MIT License |
app/src/main/java/com/plcoding/composepaging3caching/data/database/BeerDao.kt | diogosantos41 | 706,395,695 | false | {"Kotlin": 19426} | package com.dscoding.paging3caching.data.local
import androidx.paging.PagingSource
import androidx.room.Dao
import androidx.room.Query
import androidx.room.Upsert
@Dao
interface BeerDao {
@Upsert
suspend fun upsertAll(beers: List<BeerEntity>)
@Query("SELECT * FROM BeerEntity")
fun pagingSource(): Pag... | 0 | Kotlin | 0 | 0 | 41e4b2f58fef284d2bd18d4d54cce760117d75c8 | 413 | paging3-cache-android | MIT License |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/bold/Tally1.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.bold
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
im... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 1,624 | icons | MIT License |
app/src/main/java/com/msomodi/imageverse/view/common/PackageCard.kt | MarioSomodi | 602,268,671 | false | null | package com.msomodi.imageverse.view.common
import android.content.res.Configuration
import androidx.compose.foundation.border
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.IntrinsicSize
import androidx.compose.foundation... | 0 | Kotlin | 0 | 0 | 57cac8c5b439b1ad52c18b6a67f477e743f5bf9e | 5,141 | Imageverse | MIT License |
app/src/main/java/com/github/drunlin/webappbox/model/WebappModel.kt | Mass-Reports | 349,377,938 | true | {"Kotlin": 172282, "HTML": 1409} | package com.github.drunlin.webappbox.model
import android.content.Context
import android.graphics.Bitmap
import com.github.drunlin.webappbox.R
import com.github.drunlin.webappbox.common.Callback
import com.github.drunlin.webappbox.common.getBitmap
import com.github.drunlin.webappbox.data.Policy
import com.github.drunl... | 0 | null | 0 | 0 | 778b078dee694a6d1b74d40cd14de823a2a002d2 | 1,067 | webappbox | Apache License 2.0 |
quickhttp/src/main/java/org/quick/http/UploadingRequestBody.kt | SpringSmell | 200,751,390 | false | {"Gradle": 5, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "XML": 20, "Kotlin": 25, "Java": 3} | package org.quick.http
import okhttp3.MediaType
import okhttp3.RequestBody
import okio.Buffer
import okio.BufferedSink
import okio.Okio
import okio.source
import org.quick.async.Async
import org.quick.http.callback.OnUploadingListener
import java.io.File
/**
* 上传文件-请求体
*/
class UploadingRequestBody(var mediaType: M... | 1 | null | 1 | 1 | e0d58bf8cb2cd7057ffda72f0031dcca313beb20 | 1,648 | QuickHttpService | Apache License 2.0 |
compiler/testData/codegen/boxInline/nonLocalReturns/tryFinally/exceptionTable/throwInFinally.kt | JakeWharton | 99,388,807 | false | null | // FILE: 1.kt
package test
public inline fun <R> doCall(block: ()-> R, exception: (e: Exception)-> Unit, finallyBlock: ()-> R) : R {
try {
return block()
} catch (e: Exception) {
exception(e)
} finally {
return finallyBlock()
}
}
public inline fun <R> doCall2(block: ()-> R, ex... | 181 | null | 5748 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 5,114 | kotlin | Apache License 2.0 |
technocracy.foundation/src/main/kotlin/net/cydhra/technocracy/foundation/client/gui/multiblock/MultiblockSettingsTab.kt | notphinix | 229,493,759 | true | {"Kotlin": 789585} | package net.cydhra.technocracy.foundation.client.gui.multiblock
import net.cydhra.technocracy.foundation.client.gui.TCGui
import net.cydhra.technocracy.foundation.client.gui.TCTab
import net.cydhra.technocracy.foundation.model.tileentities.multiblock.TileEntityMultiBlockPart
import net.minecraft.util.ResourceLocation
... | 0 | Kotlin | 0 | 0 | 71a044f54f813b0213b6ae1f0394f49324ac9c1c | 546 | Technocracy | MIT License |
Barlom-Foundation-JVM/src/main/kotlin/x/barlom/infrastructure/graphs/Platform.kt | martin-nordberg | 82,682,055 | false | null | //
// (C) Copyright 2019 <NAME>
// Apache 2.0 License
//
package /*jvm*/x.barlom.infrastructure.graphs
//---------------------------------------------------------------------------------------------------------------------
/** Returns the class name for the given object [instance]. */
internal fun getClassName(inst... | 0 | Kotlin | 0 | 0 | 337b46f01f6eec6dfb3b86824c26f1c103e9d9a2 | 485 | ZZ-Barlom | Apache License 2.0 |
compiler/testData/codegen/box/callableReference/kt49526a.kt | JetBrains | 3,432,266 | false | null | // IGNORE_BACKEND: NATIVE
// IGNORE_BACKEND_FIR: JVM_IR
// FIR_STATUS: callable reference type approximation hack not implemented
fun <T> id(x: T): T = x
fun <T> intersect(x: T, y: T): T = x
interface I1
interface I2
class C1 : I1, I2 {
override fun toString() = "OK"
}
class C2 : I1, I2
fun box() =
inters... | 125 | Kotlin | 4903 | 39,894 | 0ad440f112f353cd2c72aa0a0619f3db2e50a483 | 375 | kotlin | Apache License 2.0 |
app/src/main/java/com/d10ng/app/demo/pages/LocationStatusManagerScreen.kt | D10NGYANG | 378,832,800 | false | {"Kotlin": 207694} | package com.d10ng.app.demo.pages
import android.Manifest
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.navigationBarsPadding
import androidx.compose.foundation.rememberScroll... | 0 | Kotlin | 0 | 1 | 90db8ad73b882c0ac53de29c5b3058beee6ec57d | 3,269 | DLAppUtil | MIT License |
app/src/main/java/com/mob/lee/fastair/model/ImageCategory.kt | hongui | 123,892,735 | false | null | package com.mob.lee.fastair.model
import android.provider.MediaStore
import com.mob.lee.fastair.R
class ImageCategory(override val title : Int= R.string.category_picture) :Category(){
override fun uri() = MediaStore.Images.Media.EXTERNAL_CONTENT_URI
} | 3 | Kotlin | 14 | 72 | 0526fe4bb1eff33c1278c1ac86f02785710817bd | 258 | FastAir | Apache License 2.0 |
testedrawingapp/app/src/main/java/com/example/testedrawingapp/MainActivity.kt | WendelEduardo | 603,006,092 | false | null | package com.example.testedrawingapp
import android.app.Dialog
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import android.widget.ImageButton
import android.widget.LinearLayout
import androidx.core.content.ContextCompat
import androidx.core.view.get
class MainActivi... | 0 | Kotlin | 0 | 1 | 7db6eb60b550dcc747279f27f576dc78a95ba109 | 2,763 | Android_kotlin_developer | MIT License |
app/src/main/java/com/mbah1/jephthah/fieldservicereporter/features/students/domain/use_case/UpdateStudent.kt | sproutjeph | 668,215,949 | false | null | package com.mbah1.jephthah.fieldservicereporter.features.students.domain.use_case
import com.mbah1.jephthah.fieldservicereporter.features.students.data.repository.StudentRepository
import com.mbah1.jephthah.fieldservicereporter.features.students.domain.model.StudentModel
class UpdateStudent(
private val studentRe... | 0 | Kotlin | 0 | 0 | 446e0755a8a8d942421498553ed6c29aa9326252 | 475 | Field-Service-Reporter | MIT License |
presentation/src/main/java/com/ezzy/presentation/home/components/FeaturedItem.kt | EzekielWachira | 742,792,801 | false | {"Kotlin": 231925} | package com.ezzy.presentation.home.components
import androidx.compose.foundation.BorderStroke
import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.foundation.basicMarquee
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.... | 0 | Kotlin | 0 | 0 | 4021ffb25fdb7aa82c57bae5de02379c319b19fe | 6,517 | Tripitaca | MIT License |
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/filled/ArrowBigLeftLines.kt | walter-juan | 868,046,028 | false | null | package com.woowla.compose.icon.collections.tabler.tabler.filled
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
imp... | 0 | null | 0 | 3 | eca6c73337093fbbfbb88546a88d4546482cfffc | 3,863 | compose-icon-collections | MIT License |
web-regresjonstest/src/test/kotlin/no/nav/su/se/bakover/web/komponenttest/Komponenttest.kt | navikt | 227,366,088 | false | null | package no.nav.su.se.bakover.web.komponenttest
import io.getunleash.FakeUnleash
import io.getunleash.Unleash
import io.ktor.server.application.Application
import io.ktor.server.testing.ApplicationTestBuilder
import io.ktor.server.testing.testApplication
import no.nav.su.se.bakover.client.Clients
import no.nav.su.se.ba... | 1 | Kotlin | 0 | 1 | d7157394e11b5b3c714a420a96211abb0a53ea45 | 6,362 | su-se-bakover | MIT License |
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsactivitiesmanagementapi/model/request/WaitingListApplicationUpdateRequest.kt | ministryofjustice | 533,838,017 | false | {"Kotlin": 3661116, "Shell": 9529, "Dockerfile": 1478} | package uk.gov.justice.digital.hmpps.hmppsactivitiesmanagementapi.model.request
import com.fasterxml.jackson.annotation.JsonFormat
import io.swagger.v3.oas.annotations.media.Schema
import jakarta.validation.constraints.AssertTrue
import jakarta.validation.constraints.Size
import uk.gov.justice.digital.hmpps.hmppsactiv... | 10 | Kotlin | 0 | 1 | e8963f0ff3cba7eb2c9ace94b245cc08bfa9bfce | 2,185 | hmpps-activities-management-api | MIT License |
app/src/main/java/com/brightsolutions_knottracker/FavouriteList.kt | Mxttk | 729,033,334 | false | {"Kotlin": 142266} | @file:Suppress("unused", "unused", "unused", "unused", "unused", "unused", "unused", "unused",
"unused", "unused", "unused", "unused", "unused", "unused", "unused", "unused", "unused",
"unused", "unused", "unused", "unused"
)
package com.brightsolutions_knottracker
import androidx.appcompat.app.AppCompatActiv... | 0 | Kotlin | 0 | 0 | 414878a5d663d6deb6ceb41086671f0e8c357eec | 2,677 | KnotTracker | MIT License |
test/src/me/anno/tests/utils/SpiderWalk.kt | AntonioNoack | 456,513,348 | false | null | package me.anno.tests.utils
import me.anno.Time
import me.anno.ecs.Component
import me.anno.ecs.Entity
import me.anno.ecs.components.light.DirectionalLight
import me.anno.ecs.components.light.sky.Skybox
import me.anno.ecs.components.mesh.Mesh
import me.anno.ecs.components.mesh.MeshComponent
import me.anno.ecs.componen... | 0 | null | 3 | 24 | 013af4d92e0f89a83958008fbe1d1fdd9a10e992 | 12,997 | RemsEngine | Apache License 2.0 |
sdk/src/test/java/com/microsoft/did/sdk/util/Base64Test.kt | sbolotovms | 337,989,562 | true | {"Kotlin": 572132} | package com.microsoft.did.sdk.util
import org.assertj.core.api.Assertions.assertThat
import org.junit.Test
class Base64Test {
/* @see https://tools.ietf.org/html/rfc4648#section-10
*/
private val base64TestPairs = listOf(
Pair("", ""),
Pair("f", "Zg=="),
Pair("fo", "Zm8="),
... | 0 | null | 0 | 0 | b91adc0494fe3a7c8881f09e9fa90dd635aa3c05 | 3,621 | VerifiableCredential-SDK-Android | MIT License |
app/src/main/java/com/muratozturk/mova/ui/home/now_playing_movies/NowPlayingMoviesViewModel.kt | muratozturk5 | 587,507,400 | false | null | package com.hoangtien2k3.themoviedb.ui.home.now_playing_movies
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import androidx.paging.PagingData
import androidx.paging.cachedIn
import com.hoangtien2k3.themoviedb.domain.model.MovieUI
import com.hoangtien2k3.themoviedb.domain.use_case.home.G... | 1 | Kotlin | 13 | 96 | 280ced4d70d4e2f9e7c4549b5c919cc7cd821146 | 1,173 | Mova | MIT License |
features/currencyexchange/domain/src/commonMain/kotlin/com/mindera/kmpexample/currencyexchange/domain/datasource/remote/CurrencyExchangeRemoteSource.kt | Mindera | 767,105,015 | false | {"Kotlin": 89862, "Swift": 422} | package com.mindera.kmpexample.currencyexchange.domain.datasource.remote
import com.mindera.kmpexample.currencyexchange.domain.model.CurrencyExchangeResponseItem
interface CurrencyExchangeRemoteSource {
suspend fun getCurrencyExchange(endpoint: String): List<CurrencyExchangeResponseItem>
}
| 0 | Kotlin | 0 | 1 | 1c24d2aeade48da855424296ca036e6c1da1c1b3 | 299 | Android-KMP-Template | Apache License 2.0 |
features/currencyexchange/domain/src/commonMain/kotlin/com/mindera/kmpexample/currencyexchange/domain/datasource/remote/CurrencyExchangeRemoteSource.kt | Mindera | 767,105,015 | false | {"Kotlin": 89862, "Swift": 422} | package com.mindera.kmpexample.currencyexchange.domain.datasource.remote
import com.mindera.kmpexample.currencyexchange.domain.model.CurrencyExchangeResponseItem
interface CurrencyExchangeRemoteSource {
suspend fun getCurrencyExchange(endpoint: String): List<CurrencyExchangeResponseItem>
}
| 0 | Kotlin | 0 | 1 | 1c24d2aeade48da855424296ca036e6c1da1c1b3 | 299 | Android-KMP-Template | Apache License 2.0 |
Corona-Warn-App/src/main/java/de/rki/coronawarnapp/covidcertificate/validation/core/DccValidator.kt | corona-warn-app | 268,027,139 | false | null | package de.rki.coronawarnapp.covidcertificate.validation.core
import androidx.annotation.VisibleForTesting
import de.rki.coronawarnapp.covidcertificate.common.certificate.DccData
import de.rki.coronawarnapp.covidcertificate.common.certificate.DccJsonSchemaValidator
import de.rki.coronawarnapp.covidcertificate.common.c... | 6 | null | 504 | 2,486 | 7b0eee8d53a090ee0ca585c6a90c4cec570e51d6 | 2,850 | cwa-app-android | Apache License 2.0 |
payments-core/src/test/java/com/stripe/android/model/MandateDataParamsTest.kt | stripe | 6,926,049 | false | null | package com.stripe.android.model
import kotlin.test.Test
import kotlin.test.assertEquals
class MandateDataParamsTest {
@Test
fun toParamMap_shouldCreateExpectedObject() {
val expectedParams = mapOf(
"customer_acceptance" to mapOf(
"type" to "online",
"onlin... | 64 | Kotlin | 522 | 935 | bec4fc5f45b5401a98a310f7ebe5d383693936ea | 1,104 | stripe-android | MIT License |
chart_server/src/main/kotlin/io/madrona/njord/layers/Istzne.kt | manimaul | 213,533,249 | false | {"Kotlin": 271638, "TypeScript": 66411, "CSS": 23739, "Python": 8161, "PLpgSQL": 5036, "HTML": 3275, "Shell": 3043, "Dockerfile": 2008} | package io.madrona.njord.layers
import io.madrona.njord.model.*
/**
* Geometry Primitives: Area
*
* Object: Inshore traffic zone
*
* Acronym: ISTZNE
*
* Code: 68
*/
class Istzne : Layerable() {
private val lineColor = Color.TRFCD
override fun preTileEncode(feature: ChartFeature) {
feature.line... | 17 | Kotlin | 3 | 8 | 7d9604d7b285601d64301e604a92f9d283f57c18 | 527 | njord | Apache License 2.0 |
compose-ide-plugin/src/com/android/tools/compose/debug/ComposePositionManagerFactory.kt | JetBrains | 60,701,247 | 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... | 5 | null | 227 | 948 | 10110983c7e784122d94c7467e9d243aba943bf4 | 1,097 | android | Apache License 2.0 |
modules/data/src/main/kotlin/arc/data/source/local/db/DbService.kt | jimlyas | 530,131,916 | false | {"Kotlin": 70556} | package arc.data.source.local.db
/**
* [DbService] defines data source coming from local database
* @author jimlyas
* 0.1.0 0.1.0
*
* Copyright © 2022-2023 jimlyas. All rights reserved.
*/
interface DbService | 1 | Kotlin | 0 | 2 | dbe93edffddb44853a5120d757996486d542f8ab | 215 | arc | MIT License |
simplified-books-controller/src/main/java/org/nypl/simplified/books/controller/ProfileCreationTask.kt | jonathangreen | 292,624,474 | true | {"Gradle": 90, "Shell": 9, "INI": 88, "Text": 2, "Ignore List": 2, "Batchfile": 1, "Markdown": 90, "EditorConfig": 1, "YAML": 1, "XML": 329, "Kotlin": 620, "Java Properties": 1, "JSON": 46, "Java": 280, "CSS": 1, "HTML": 1, "JavaScript": 2} | package org.nypl.simplified.books.controller
import com.io7m.jfunctional.Option
import io.reactivex.subjects.Subject
import org.nypl.simplified.accounts.api.AccountProviderType
import org.nypl.simplified.profiles.api.ProfileCreationEvent
import org.nypl.simplified.profiles.api.ProfileCreationEvent.ProfileCreationFaile... | 0 | Kotlin | 0 | 0 | d832b391188c86858158ef702f308c6b507ddb61 | 1,875 | Simplified-Android-Core | Apache License 2.0 |
app/src/androidTest/java/com/appttude/h_mal/atlas_weather/data/network/interceptors/MockingNetworkInterceptor.kt | hmalik144 | 163,556,459 | false | {"Kotlin": 275988, "Ruby": 3065} | package com.appttude.h_mal.atlas_weather.data.network.interceptors
import androidx.test.espresso.idling.CountingIdlingResource
import okhttp3.Interceptor
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.Protocol
import okhttp3.Response
import okhttp3.ResponseBody.Companion.toResponseBody
class MockingNet... | 4 | Kotlin | 0 | 0 | a82ce7f8626bd20f66d080c4242ac2b871450d80 | 1,513 | Weather-apps | MIT License |
src/test/kotlin/unibz/cs/semint/kprime/domain/db/DatabaseToStringTest.kt | kprime-dev | 722,929,885 | false | {"Kotlin": 383495, "XSLT": 1078, "HTML": 372, "Makefile": 218} | package unibz.cs.semint.kprime.domain.db
import org.junit.Ignore
import org.junit.Test
import unibz.cs.semint.kprime.domain.dql.Mapping
import unibz.cs.semint.kprime.usecase.common.UnSQLizeSelectUseCase
import kotlin.test.assertEquals
class DatabaseToStringTest {
@Test
fun test_print_db_one_table() {
... | 0 | Kotlin | 0 | 0 | 34ceb56e3da8b2e64329c7655d50f40400487f25 | 1,807 | kprime-arm | MIT License |
python/src/com/jetbrains/python/statistics/PyPackageUsagesCollector.kt | JetBrains | 2,489,216 | 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 com.jetbrains.python.statistics
import com.intellij.internal.statistic.beans.MetricEvent
import com.intellij.internal.statistic.eventLog.EventLogGroup
import com.intellij.internal.statistic.... | 284 | null | 5162 | 16,707 | def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0 | 4,300 | intellij-community | Apache License 2.0 |
src/main/kotlin/no/nav/pensjon/opptjening/omsorgsopptjening/bestem/pensjonsopptjening/vilkarsvurdering/lover/FullOmsorgForBarnUnder6.kt | navikt | 593,529,397 | false | null | package no.nav.pensjon.opptjening.omsorgsopptjening.bestem.pensjonsopptjening.vilkarsvurdering.lover
import no.nav.pensjon.opptjening.omsorgsopptjening.bestem.pensjonsopptjening.omsorgsarbeid.model.getAntallUtbetalingMoneder
import no.nav.pensjon.opptjening.omsorgsopptjening.bestem.pensjonsopptjening.vilkarsvurdering.... | 0 | Kotlin | 0 | 0 | a2a81018aba974f996ca1486d1fc6a216530dadb | 3,063 | omsorgsopptjening-bestem-pensjonsopptjening | MIT License |
module_home/src/main/kotlin/com/crow/module_home/ui/viewmodel/HomeViewModel.kt | crowforkotlin | 610,636,509 | false | null | package com.crow.module_home.ui.viewmodel
import androidx.lifecycle.viewModelScope
import androidx.paging.Pager
import androidx.paging.PagingConfig
import androidx.paging.PagingData
import androidx.paging.cachedIn
import com.crow.base.app.app
import com.crow.base.ui.viewmodel.mvi.BaseMviViewModel
import com.crow.modul... | 8 | null | 5 | 335 | 76105c20001ec1f51b2801c5cb084e6d45b819af | 5,400 | CopyMangaX | Apache License 2.0 |
AnnZone-Android/app/src/main/java/cn/anline/annzone/bean/BlogDataItem.kt | jiankian | 120,399,839 | false | null | package cn.anline.annzone.bean
import com.google.gson.annotations.SerializedName
data class BlogDataItem(var summary: String = "",
var uid: Int = 0,
@SerializedName("update_time")
val updateTime: Long = 0,
@SerializedName("cre... | 25 | null | 69 | 210 | 2e9246d0e83e6e6b7bb7bcbb74ca12f114e25a13 | 755 | AnnZone | MIT License |
kotlin-mui-icons/src/main/generated/mui/icons/material/AllInbox.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/AllInbox")
@file:JsNonModule
package mui.icons.material
@JsName("default")
external val AllInbox: SvgIconComponent
| 10 | Kotlin | 5 | 983 | 7ef1028ba3e0982dc93edcdfa6ee1edb334ddf35 | 198 | kotlin-wrappers | Apache License 2.0 |
api/app/src/test/kotlin/packit/unit/model/PacketTest.kt | mrc-ide | 599,186,390 | false | {"Kotlin": 266103, "TypeScript": 240236, "Shell": 8735, "JavaScript": 2023, "CSS": 1626, "Dockerfile": 1112, "HTML": 904} | package packit.unit.model
import packit.model.Packet
import packit.model.toBasicDto
import packit.model.toDto
import kotlin.test.Test
import kotlin.test.assertEquals
import kotlin.test.assertTrue
class PacketTest
{
@Test
fun `toDto returns correct PacketDto for given Packet`()
{
val packet = Packe... | 4 | Kotlin | 0 | 0 | da475d0f85c3f886989caa42a18005974c8086b0 | 1,491 | packit | MIT License |
mylibrary1/src/main/java/me/hacket/mylibrary1/MyLib1InitTask.kt | hacket | 557,921,055 | false | null | package me.hacket.mylibrary1
import android.app.Application
import android.content.res.Configuration
import android.os.SystemClock
import me.hacket.appinit.annotation.AppInitTask
import me.hacket.appinit.api.AppInit
import me.hacket.appinit.api.IAppInitTask
import me.hacket.appinit.api.utils.Consts
@AppInitTask(
... | 0 | Kotlin | 4 | 41 | 5ef8f147b4d1598e1486a5f19a7104e1b2a36b5d | 998 | AppInit | Apache License 2.0 |
codebase/android/core/alarmkitimpl/src/main/java/com/makeappssimple/abhimanyu/financemanager/android/core/alarmkitimpl/AlarmReceiver.kt | Abhimanyu14 | 429,663,688 | false | null | package com.makeappssimple.abhimanyu.financemanager.android.core.alarmkitimpl
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import com.makeappssimple.abhimanyu.financemanager.android.core.logger.MyLogger
import com.makeappssimple.abhimanyu.financemanager.android.... | 11 | null | 0 | 3 | 7e080a68bc038bd64d2d406b75a49e8f1ea2a791 | 876 | finance-manager | Apache License 2.0 |
src/main/kotlin/me/fzzyhmstrs/amethyst_imbuement/modifier/ModifierPredicates.kt | fzzyhmstrs | 461,338,617 | false | {"Kotlin": 1677469, "Java": 105566} | package me.fzzyhmstrs.amethyst_imbuement.modifier
import me.fzzyhmstrs.amethyst_core.registry.RegisterTag
import me.fzzyhmstrs.amethyst_core.scepter_util.SpellType
import me.fzzyhmstrs.amethyst_core.scepter_util.augments.AugmentHelper
import me.fzzyhmstrs.amethyst_core.scepter_util.augments.SlashAugment
import me.fzzy... | 9 | Kotlin | 8 | 4 | 7e51e5528c9495d818a3ae1c586d7cb6d5f5ece0 | 3,599 | ai | MIT License |
python/src/com/jetbrains/python/configuration/UnsupportedPythonInterpreterConfigurable.kt | ingokegel | 72,937,917 | true | null | // Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.jetbrains.python.configuration
import com.intellij.openapi.options.BoundConfigurable
import com.intellij.openapi.projectRoots.Sdk
import com.intellij.openapi.ui.DialogPanel
import com.in... | 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 739 | intellij-community | Apache License 2.0 |
src/main/java/ru/hollowhorizon/hc/client/models/internal/Transformation.kt | HollowHorizon | 450,852,365 | false | null | /*
* MIT License
*
* Copyright (c) 2024 HollowHorizon
*
* 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, mo... | 1 | null | 4 | 20 | 7e0c4510a0e5d2d3540aff428871b7ecc642c898 | 10,307 | HollowCore | MIT License |
app/src/androidTest/kotlin/com/moonpi/swiftnotes/test/BaseRunner.kt | AlexHurray | 130,821,769 | false | {"Java Properties": 3, "Gradle": 3, "Shell": 2, "Markdown": 1, "Git Attributes": 1, "Batchfile": 2, "Text": 1, "Ignore List": 2, "XML": 30, "Proguard": 1, "Kotlin": 7, "Java": 9} | package com.moonpi.swiftnotes.test
import android.content.ContentValues
import android.content.Context
import android.content.Intent
import android.content.pm.PackageManager
import android.support.test.InstrumentationRegistry
import android.support.test.InstrumentationRegistry.getInstrumentation
import android.support... | 1 | null | 1 | 1 | 04d1c8ab43baeffe9b02bad841849dfac8a1afde | 2,365 | Swiftnotes | Apache License 2.0 |
app/src/_test/java/com/lhwdev/selfTestMacro/MainPreview.kt | lhwdev | 289,257,684 | false | null | package com.lhwdev.selfTestMacro
import androidx.compose.runtime.Composable
import androidx.compose.runtime.CompositionLocalProvider
import androidx.compose.runtime.remember
import androidx.compose.ui.tooling.preview.Preview
import com.lhwdev.selfTestMacro.api.*
import com.lhwdev.selfTestMacro.model.MainRepository
imp... | 2 | null | 7 | 50 | 06ada78bb235a170f74c9a3f06dc9b5ea99e0a8d | 2,870 | covid-selftest-macro | Apache License 2.0 |
app/src/main/java/com/example/racetracker/ui/TimerManager.kt | BMukhtar | 721,394,131 | false | {"Kotlin": 25391} | package com.example.racetracker.ui
import kotlinx.coroutines.*
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.asStateFlow
class TimerManager(private val scope: CoroutineScope) {
private var timerJob: Job? = null
private var startTime: Long = 0
private var duration: Long = 0... | 0 | Kotlin | 0 | 0 | aefebd7812f0fa2f2a1a96ab1347f0fcf1c6d022 | 1,864 | timermanager | Apache License 2.0 |
knear-sdk/src/main/java/com/knear/android/provider/ViewAccessKeyChangesAllRequestParams.kt | near | 514,329,257 | false | null | package com.knear.android.provider
import com.google.gson.GsonBuilder
import com.google.gson.annotations.SerializedName
class ViewAccessKeyChangesAllRequestParams (
@SerializedName("method")
private val method: String,
@SerializedName("params")
private val params: Any,
@SerializedName("id")
pr... | 5 | null | 3 | 20 | 42a2bbeed12257c310a96a4af1ffedda2ea719f1 | 580 | near-api-kotlin | MIT License |
increase-kotlin-core/src/main/kotlin/com/increase/api/models/IntrafiAccountEnrollmentCreateParams.kt | Increase | 614,596,742 | false | null | // File generated from our OpenAPI spec by Stainless.
package com.increase.api.models
import com.fasterxml.jackson.annotation.JsonAnyGetter
import com.fasterxml.jackson.annotation.JsonAnySetter
import com.fasterxml.jackson.annotation.JsonProperty
import com.fasterxml.jackson.databind.annotation.JsonDeserialize
import... | 1 | null | 0 | 5 | dc1361d08cb41ff45817c2e7638f53356f15cf8e | 10,787 | increase-kotlin | Apache License 2.0 |
ObjectOrientedParadigm/Exercise-1/Rectangle.kt | Johanx22x | 674,064,501 | false | {"Kotlin": 19851, "Go": 18444, "F#": 13580, "Prolog": 4760, "Rust": 4512, "Makefile": 822} | class Rectangle(width: Int, height: Int, center: Point) : DrawableObject {
private var width: Int = width
get() = field
set(value) { field = value }
private var height: Int = height
get() = field
set(value) { field = value }
private var center: Point = center
get() = ... | 0 | Kotlin | 0 | 1 | 17ef99cfb4e12803a15615f235bfd3d0961ec373 | 493 | ProgrammingLanguages | MIT License |
year2019/src/main/kotlin/net/olegg/aoc/year2019/day23/Day23.kt | 0legg | 110,665,187 | false | null | package net.olegg.aoc.year2019.day23
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.channels.Channel
import kotlinx.coroutines.launch
import kotlinx.coroutines.runBlocking
import net.olegg.aoc.someday.SomeDay
import net.olegg.aoc.utils.parseLongs
import net.olegg.aoc.year2019.DayOf2019
import net.oleg... | 0 | null | 1 | 8 | 3006775fc2d1da3b12303029b9f35d2793c912df | 3,148 | adventofcode | MIT License |
src/test/kotlin/org/wit/lucre/models/VaultModelTest.kt | kingsleyzissou | 306,965,292 | false | null | package org.wit.lucre.models
import com.aventrix.jnanoid.jnanoid.NanoIdUtils
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.Test
internal class VaultModelTest {
private val id: String = NanoIdUtils.randomNanoId()
private lateinit var... | 0 | Kotlin | 0 | 0 | e6026e326a26a319fa82c3248f3d8bf89a4073fe | 1,713 | lucre-desktop | Apache License 2.0 |
core/src/nativeMain/kotlin/pw/binom/charset/Charsets.kt | caffeine-mgn | 182,165,415 | false | {"C": 13079003, "Kotlin": 1913743, "C++": 200, "Shell": 88} | package pw.binom.charset
actual object Charsets {
actual fun get(name: String): Charset = IconvCharset(name)
actual val UTF8: Charset
get() = get("utf-8")
} | 7 | C | 2 | 59 | 580ff27a233a1384273ef15ea6c63028dc41dc01 | 174 | pw.binom.io | Apache License 2.0 |
shared/src/commonTest/kotlin/io/github/jelinekma/pragueopendatakotlinlib/v2/TestSortedWasteStationsClient.kt | martinjelinek | 763,563,087 | false | {"Kotlin": 230955} | package cz.vse.jelinekma.pragueopendatakotlinlib.v2
import cz.vse.golemiokotlinlib.v2.client.WasteCollectionClient
import cz.vse.golemiokotlinlib.common.entity.responsedata.WasteStationAccessibility
import cz.vse.jelinekma.pragueopendatakotlinlib.TestClient
import cz.vse.jelinekma.pragueopendatakotlinlib.dummyData.Api... | 0 | Kotlin | 0 | 2 | b49495579ed1de62068fcccd8393357f2b386701 | 1,315 | golemiokotlin | MIT License |
src/main/kotlin/dev/shtanko/algorithms/leetcode/Nqueens.kt | ashtanko | 203,993,092 | false | null | /*
* 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 | null | 0 | 19 | c6e2befdce892e9f2caf1d98f54dc1dd9b2c89ba | 4,011 | kotlab | Apache License 2.0 |
src/main/kotlin/com/ragin/bdd/cucumber/matcher/ValidDateContextMatcher.kt | Ragin-LundF | 278,038,006 | false | {"Kotlin": 107188, "Gherkin": 75853, "Java": 43890} | package com.ragin.bdd.cucumber.matcher
import com.ragin.bdd.cucumber.core.ScenarioStateContext
import com.ragin.bdd.cucumber.datetimeformat.BddCucumberDateTimeFormat
import com.ragin.bdd.cucumber.utils.DateUtils
import net.javacrumbs.jsonunit.core.ParametrizedMatcher
import org.hamcrest.BaseMatcher
import org.hamcrest... | 2 | Kotlin | 2 | 6 | e1c0f516bdb50e31bdbeaed00cc9f7a5f121f77f | 1,676 | bbd-cucumber-gherkin-lib | MIT License |
bot/src/main/kotlin/bot/utils/DataRetriever.kt | tedsiebear | 271,154,042 | true | {"Kotlin": 55369, "SQLPL": 848} | package bot.utils
import com.github.scribejava.apis.YahooApi20
import com.github.scribejava.core.builder.ServiceBuilder
import com.github.scribejava.core.model.OAuth2AccessToken
import com.github.scribejava.core.model.OAuthConstants
import com.github.scribejava.core.model.OAuthRequest
import com.github.scribejava.core... | 0 | Kotlin | 0 | 0 | c46ddd1647db27953058583c7b430b847877d169 | 3,041 | yahoo-fantasy-bot | MIT License |
core/src/main/java/contacts/core/entities/custom/AbstractCustomDataOperation.kt | vestrel00 | 223,332,584 | false | {"Kotlin": 1616347, "Shell": 635} | package contacts.core.entities.custom
import contacts.core.AbstractCustomDataField
import contacts.core.entities.CustomDataEntity
import contacts.core.entities.MimeType
import contacts.core.entities.operation.AbstractDataOperation
/**
* Base type of all custom [AbstractDataOperation]s.
*/
abstract class AbstractCus... | 26 | Kotlin | 35 | 573 | 383594d2708296f2fbc6ea1f10b117d3acd1f46a | 2,269 | contacts-android | Apache License 2.0 |
app/src/main/java/eu/kanade/tachiyomi/data/download/DownloadProvider.kt | CarlosEsco | 182,704,531 | false | null | package eu.kanade.tachiyomi.data.download
import android.content.Context
import androidx.core.net.toUri
import androidx.core.text.isDigitsOnly
import com.elvishew.xlog.XLog
import com.hippo.unifile.UniFile
import eu.kanade.tachiyomi.R
import eu.kanade.tachiyomi.data.database.models.Chapter
import eu.kanade.tachiyomi.d... | 94 | null | 98 | 934 | 317243499e4131d3c3ee3604d81f8b69067414a4 | 9,657 | Neko | Apache License 2.0 |
kubernetes/dsl/src/main/kotlin-gen/com/fkorotkov/kubernetes/gcePersistentDisk.kt | MaTriXy | 129,299,660 | true | {"Kotlin": 237663} | // GENERATED
package com.fkorotkov.kubernetes
import io.fabric8.kubernetes.api.model.GCEPersistentDiskVolumeSource
import io.fabric8.kubernetes.api.model.PersistentVolumeSpec
import io.fabric8.kubernetes.api.model.Volume
fun PersistentVolumeSpec.`gcePersistentDisk`(block: GCEPersistentDiskVolumeSource.() -> Unit = ... | 0 | Kotlin | 0 | 0 | 6446f7995b9fdf012ba72b380fe7b5ebe11649e2 | 709 | k8s-kotlin-dsl | MIT License |
HKBusETA/app/src/main/java/com/loohp/hkbuseta/FavActivity.kt | LOOHP | 686,756,915 | false | {"Kotlin": 193468, "Java": 136916} | package com.loohp.hkbuseta
import android.content.Intent
import android.os.Bundle
import android.widget.Toast
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compos... | 0 | Kotlin | 0 | 0 | e512f805796587879bb35b04377cdcc6f766d678 | 11,130 | HK-Bus-ETA-WearOS | MIT License |
app/src/main/java/com/farmerbb/notepad/models/Entities.kt | farmerbb | 17,308,977 | 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 writi... | 49 | null | 80 | 205 | 8ee72a5c9559500707792ddb8fd6acbce1080018 | 1,432 | Notepad | Apache License 2.0 |
app/src/main/java/com/example/pettyplanet/di/MainModule.kt | shankarpriyank | 443,486,579 | false | {"Kotlin": 41528} | package com.example.pettyplanet.di
import android.app.Application
import android.content.Context
import androidx.room.Room
import com.example.pettyplanet.database.SavedPostsDatabase
import com.example.pettyplanet.repository.PostRepositoryImpl
import com.example.pettyplanet.repository.PostsRepository
import dagger.Modu... | 0 | Kotlin | 1 | 2 | bc069a841264c306833c1c7b64286b52942ae0eb | 1,334 | PettyPlanet | Freetype Project License |
app/src/main/java/org/teslasoft/assistant/ui/PromptViewActivity.kt | AndraxDev | 608,789,494 | false | null | /**************************************************************************
* Copyright (c) 2023-2024 Dmytro Ostapenko. 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 ... | 9 | null | 57 | 98 | 50401c8e55ecc0560b818779ec2b10fa36241166 | 18,279 | speak-gpt | Apache License 2.0 |
app/src/main/java/com/bluesound/nsd/ServiceDescription.kt | jpelgrim | 728,270,633 | false | {"Kotlin": 14482} | package com.bluesound.nsd
class ServiceDescription(val name: String, val address: String, val port: Int) {
override fun toString(): String {
return "ServiceDescription(name='$name', address='$address', port=$port)"
}
}
| 0 | Kotlin | 0 | 0 | e3ddc40640306d74150269395fff9c1a34d100cb | 236 | NSD | Apache License 2.0 |
core/src/ru/icarumbas/bagel/view/renderer/systems/ViewportSystem.kt | Rami-Majdoub | 229,632,097 | false | {"Kotlin": 167745, "C++": 1658, "GLSL": 1323, "Java": 1271} | package ru.icarumbas.bagel.view.renderer.systems
import com.badlogic.ashley.core.Entity
import com.badlogic.ashley.core.Family
import com.badlogic.ashley.systems.IteratingSystem
import com.badlogic.gdx.utils.viewport.Viewport
import ru.icarumbas.bagel.engine.components.other.PlayerComponent
import ru.icarumbas.bagel.e... | 0 | null | 1 | 0 | 71b24a8e2f70669679250719c24d7e8bedd5de28 | 1,601 | bagel | Apache License 2.0 |
src/main/kotlin/view/TopBarView.kt | kirilenkobm | 668,817,148 | false | null | package view
import Constants
import state.*
import util.IconManager
import view.popupwindows.SettingsDialog
import java.awt.*
import javax.swing.*
/**
* Class representing the top bar view of the application.
*
* This class is responsible for creating and managing the top bar of the application,
* which includes... | 0 | Kotlin | 0 | 0 | 28f2648fefe1662dfe607d47d170a4beb46ccd3a | 7,149 | DirExplorer | Apache License 2.0 |
reaktive/src/commonTest/kotlin/com/badoo/reaktive/observable/ObservableToObservableTests.kt | badoo | 174,194,386 | false | null | package com.badoo.reaktive.observable
import com.badoo.reaktive.base.SourceTests
import com.badoo.reaktive.base.SourceTestsImpl
import com.badoo.reaktive.test.base.assertDisposed
import com.badoo.reaktive.test.observable.TestObservable
import com.badoo.reaktive.test.observable.assertComplete
import com.badoo.reaktive.... | 8 | null | 58 | 956 | c712c70be2493956e7057f0f30199994571b3670 | 1,185 | Reaktive | Apache License 2.0 |
svverif/01-arbiter/src/main/kotlin/ArbiterInterface.kt | frwang96 | 416,809,961 | false | null | /*
* SPDX-License-Identifier: Apache-2.0
*/
@file:Verik
import io.verik.core.*
class ArbiterInterface(
@In var clk: Boolean
) : ModuleInterface() {
var grant: Ubit<`2`> = nc()
var request: Ubit<`2`> = nc()
var reset: Boolean = nc()
@Make
val cb = ArbiterClockingBlock(posedge(clk), request... | 0 | Kotlin | 1 | 5 | 9a0f5f79b824e69a33dc4f9717d3b9e3ed103180 | 923 | verik-examples | Apache License 2.0 |
src/main/java/zd/zero/waifu/motivator/plugin/personality/Wendi.kt | anazari96 | 308,873,487 | true | {"Kotlin": 195582, "Java": 60287, "CSS": 538, "HTML": 283, "Shell": 80} | package zd.zero.waifu.motivator.plugin.personality
import com.intellij.openapi.Disposable
import com.intellij.openapi.application.ApplicationManager
import com.intellij.util.messages.MessageBusConnection
import zd.zero.waifu.motivator.plugin.motivation.event.MotivationEvent
import zd.zero.waifu.motivator.plugin.motiva... | 0 | Kotlin | 0 | 0 | 55db302c1e0bc47e9893370a1c36dff98de61207 | 8,247 | waifu-motivator-plugin | MIT License |
build-logic/convention/src/main/kotlin/com/yugyd/buildlogic/convention/buildtype/BuildTypeAndroidApplicationPlugin.kt | Yugyd | 685,349,849 | false | {"Kotlin": 869405, "FreeMarker": 22968, "Fluent": 18} | /*
* Copyright 2024 Roman Likhachev
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | 0 | Kotlin | 1 | 8 | e803def7e9acbd6648c67751a7d3e3a32a6fcf9f | 1,958 | quiz-platform | Apache License 2.0 |
feature/scrobble/src/main/java/com/mataku/scrobscrob/scrobble/ui/molecule/TrackAlbum.kt | mataku | 99,928,377 | false | null | package com.mataku.scrobscrob.scrobble.ui.molecule
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxWidth
import androidx... | 2 | Kotlin | 1 | 5 | 2041f94c43365caaef5389dd07a613a4f1c3b34b | 2,967 | SunsetScrob | Apache License 2.0 |
core/src/main/kotlin/com/gdgchicagowest/windycitydevcon/features/sessiondetail/SessionDetailMvp.kt | rharter | 67,167,893 | false | null | package com.gdgchicagowest.windycitydevcon.features.sessiondetail
import com.gdgchicagowest.windycitydevcon.features.shared.Mvp
import com.gdgchicagowest.windycitydevcon.model.Session
import com.gdgchicagowest.windycitydevcon.model.Speaker
interface SessionDetailMvp {
interface View : Mvp.View {
fun show... | 0 | Kotlin | 2 | 11 | ce1ca4ad4f3b696311325c896b9dc7888fb8d111 | 511 | windy-city-devcon-android | Apache License 2.0 |
src/rider/test/kotlin/com/jetbrains/rider/plugins/unreal/test/cases/integrationTests/UnrealLinkBase.kt | JetBrains | 163,069,146 | false | {"C++": 336883, "Kotlin": 167528, "C#": 118215, "Batchfile": 7961, "C": 4329} | @file:Suppress("JUnitTestCaseWithNoTests")
package com.jetbrains.rider.plugins.unreal.test.cases.integrationTests
import com.jetbrains.rd.util.lifetime.Lifetime
import com.jetbrains.rd.util.reactive.fire
import com.jetbrains.rdclient.util.idea.waitAndPump
import com.jetbrains.rider.plugins.unreal.model.frontendBacken... | 43 | C++ | 23 | 128 | 15c38f04f14f8a10abd6521da726ce831b76b1c5 | 1,643 | UnrealLink | Apache License 2.0 |
mobile-ui/src/main/java/org/buffer/android/boilerplate/ui/browse/BrowseAdapter.kt | bufferapp | 114,655,619 | false | null | package org.buffer.android.boilerplate.ui.browse
import android.support.v7.widget.RecyclerView
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import com.bumptech.glide.Glide
import com.bumptech.glide.request.Reque... | 9 | null | 53 | 981 | 0f20a7bc6fa7fca5a0c2453aeb2bf2ef29214f7d | 1,748 | android-clean-architecture-mvi-boilerplate | MIT License |
parser/src/main/kotlin/gay/pizza/pork/parser/ParserBase.kt | GayPizzaSpecifications | 680,636,847 | false | {"Kotlin": 357342} | package gay.pizza.pork.parser
import gay.pizza.pork.ast.gen.Node
import gay.pizza.pork.ast.gen.NodeParser
import gay.pizza.pork.ast.gen.NodeType
import gay.pizza.pork.tokenizer.*
abstract class ParserBase(source: TokenSource, val attribution: NodeAttribution) : NodeParser {
val source: TokenSource = if (source is P... | 0 | Kotlin | 1 | 0 | 9338b01b4832f838bda54cedb54893a13f37f418 | 2,478 | pork | MIT License |
app/src/main/java/com/mundocrativo/javier/solosonido/model/QueueObj.kt | Javierenrique00 | 293,379,415 | false | null | package com.mundocrativo.javier.solosonido.model
import androidx.room.Entity
import androidx.room.PrimaryKey
@Entity
data class QueueObj(
@PrimaryKey(autoGenerate = true) val id:Long,
val queueName:String
) | 0 | Kotlin | 0 | 0 | 108eeba060b720d6809b152759e73ef72a99c3c8 | 217 | grabwaves | Apache License 2.0 |
collaboration-suite-phone-ui/src/main/java/com/kaleyra/collaboration_suite_phone_ui/drawables/AnimatedRedBorderDrawable.kt | Bandyer | 337,367,845 | false | null | /*
* Copyright 2021-2022 Bandyer @ https://www.bandyer.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless req... | 1 | null | 1 | 2 | 25aba4362ef436a7ed6cdecbcdcee94be6239bf9 | 3,457 | Bandyer-Android-Design | Apache License 2.0 |
data/src/main/kotlin/team/mobileb/opgg/data/mapper/UtilsMapper.kt | OPGG-HACKTHON | 391,351,999 | false | null | package team.mobileb.opgg.data.mapper
import team.mobileb.opgg.data.model.PositionInfoResponse
import team.mobileb.opgg.data.model.PositionResultResponse
import team.mobileb.opgg.domain.model.PositionInfo
import team.mobileb.opgg.domain.model.PositionResult
private fun positionResultResponseToDomain(response: Positio... | 0 | Kotlin | 1 | 23 | 26036b3a9e38b3e2e127746dcda733b108138e61 | 594 | mobile-b-android | MIT License |
remote-messaging/remote-messaging-api/src/main/java/com/duckduckgo/remote/messaging/api/MessageActionMapperPlugin.kt | duckduckgo | 78,869,127 | false | {"Kotlin": 14333964, "HTML": 63593, "Ruby": 20564, "C++": 10312, "JavaScript": 8463, "CMake": 1992, "C": 1076, "Shell": 784} | /*
* Copyright (c) 2023 DuckDuckGo
*
* 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 ... | 67 | Kotlin | 901 | 3,823 | 6415f0f087a11a51c0a0f15faad5cce9c790417c | 1,239 | Android | Apache License 2.0 |
src/main/kotlin/com/johngachihi/assignment/soap2/models/Student.kt | johnGachihi | 315,207,408 | false | null | package com.johngachihi.assignment.soap2.models
import javax.persistence.*
@Entity
data class Student(
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
val id: Int?,
val name: String,
val email: String,
val phoneNumber: String,
val address: String,
val entryPoints: String
) | 0 | Kotlin | 0 | 0 | be6ba8173eef0181a845676b7aec429b7af7a615 | 311 | DistObjs-SoapProducer | Apache License 2.0 |
app/src/main/java/com/cmgapps/android/curriculumvitae/ui/info/InfoSheet.kt | chrimaeon | 349,755,471 | false | null | /*
* Copyright (c) 2021. <NAME> <<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... | 1 | Kotlin | 2 | 4 | 86f5d9bf772f409e69248fe47289c32bf6a28ec8 | 5,595 | curriculumvitae | Apache License 2.0 |
app/src/main/java/at/opnote/ui/base/BaseFragment.kt | fly8899 | 456,671,546 | false | null | package at.opnote.ui.base
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.core.view.doOnAttach
import androidx.fragment.app.Fragment
import androidx.viewbinding.ViewBinding
import at.opnote.analytics.OpAnalytics
import at.opnote.util.ex... | 0 | Kotlin | 0 | 0 | a5997cb2031ea57f6a16c4ab8cd203e51838c0ce | 1,885 | OpNote | Apache License 2.0 |
features/todo/src/main/java/com/hrudhaykanth116/todo/ui/components/TodoListItemUI.kt | hrudhaykanth116 | 300,963,083 | false | {"Kotlin": 456464} | package com.hrudhaykanth116.todo.ui.components
import androidx.compose.animation.core.Spring
import androidx.compose.animation.core.animateDpAsState
import androidx.compose.animation.core.spring
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.found... | 0 | Kotlin | 0 | 0 | 964a07bdcdaf5405c76c44823a4814cf800287ab | 5,656 | MAFET | MIT License |
ledger/src/main/kotlin/org/knowledger/ledger/storage/adapters/BlockStorageAdapter.kt | fakecoinbase | 282,563,487 | false | null | package org.knowledger.ledger.storage.adapters
import org.knowledger.ledger.crypto.Hash
import org.knowledger.ledger.database.ManagedSession
import org.knowledger.ledger.database.StorageElement
import org.knowledger.ledger.database.adapters.SchemaProvider
import org.knowledger.ledger.results.Outcome
import org.knowled... | 0 | Kotlin | 0 | 0 | 8bc64987e1ab4d26663064da06393de6befc30ae | 1,459 | SeriyinslashKnowLedger | MIT License |
plugins/git-features-trainer/src/git4idea/ift/lesson/GitProjectHistoryLesson.kt | JetBrains | 2,489,216 | false | null | // Copyright 2000-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package git4idea.ift.lesson
import com.intellij.diff.tools.util.SimpleDiffPanel
import com.intellij.ide.dnd.aware.DnDAwareTree
import com.intellij.openapi.project.Project
import ... | 191 | null | 4372 | 13,319 | 4d19d247824d8005662f7bd0c03f88ae81d5364b | 7,740 | intellij-community | Apache License 2.0 |
app/src/main/java/com/kuneosu/mintoners/data/model/Match.kt | Kuneosu | 823,904,157 | false | {"Kotlin": 235754} | package com.kuneosu.mintoners.data.model
import androidx.room.Entity
import androidx.room.PrimaryKey
import androidx.room.TypeConverters
import java.util.Date
@Entity(tableName = "matches")
@TypeConverters(Converters::class)
data class Match(
@PrimaryKey(autoGenerate = true) var matchNumber: Int = 0,
val mat... | 0 | Kotlin | 0 | 0 | 3a290dcc803aa1d5ce1ad300c7cb3789280b1c74 | 538 | Mintoners | MIT License |
skellig-test-step-processing-http/src/main/kotlin/org/skellig/teststep/processor/http/HttpRequestFactory.kt | skellig-framework | 263,021,995 | false | {"Kotlin": 1283314, "CSS": 525991, "Java": 270216, "FreeMarker": 66859, "HTML": 11313, "ANTLR": 6165} | package org.skellig.teststep.processor.http
import okhttp3.Credentials
import okhttp3.FormBody
import okhttp3.HttpUrl.Companion.toHttpUrl
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.Request
import okhttp3.RequestBody
import okhttp3.RequestBody.Companion.toRequestBody
import org.skellig.teststep.proce... | 8 | Kotlin | 0 | 3 | ed375268b0e444f1928f22f4ac27603e9d1fb66b | 2,300 | skellig-core | Apache License 2.0 |
sub_seminar002_example/app/src/main/java/com/sopt_nyh/sub_seminar002_example/adapter/MyFragmentSPAdapter.kt | Younanee | 151,179,124 | false | null | package com.sopt_nyh.sub_seminar002_example.adapter
import android.support.v4.app.Fragment
import android.support.v4.app.FragmentManager
import android.support.v4.app.FragmentStatePagerAdapter
import com.sopt_nyh.sub_seminar002_example.MainFragment
import com.sopt_nyh.sub_seminar002_example.MapFragment
import com.sopt... | 0 | Kotlin | 0 | 0 | 813bf94da45f30389b9e9ff921154366048b1c21 | 840 | do_it_sopt_android_part | MIT License |
src/main/kotlin/world/cepi/kstom/Manager.kt | arslanarm | 334,777,044 | true | {"Kotlin": 59937} | package world.cepi.kstom
import net.minestom.server.MinecraftServer
import net.minestom.server.UpdateManager
import net.minestom.server.advancements.AdvancementManager
import net.minestom.server.adventure.bossbar.BossBarManager
import net.minestom.server.command.CommandManager
import net.minestom.server.data.DataManag... | 0 | Kotlin | 0 | 0 | d4ec51735991b5bc0a02bc1230f7316384a7eb1b | 3,089 | KStom | MIT License |
sqllin-dsl/src/commonMain/kotlin/com/ctrip/sqllin/dsl/sql/clause/HavingClause.kt | ctripcorp | 570,015,389 | false | null | /*
* Copyright (C) 2022 Ctrip.com.
*
* 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... | 3 | null | 4 | 217 | 4872fddad7ad72f5f95e14ad831b3ebb7fc87d47 | 1,208 | SQLlin | Apache License 2.0 |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/filled/Socks.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.filled
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
... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 3,473 | icons | MIT License |
src/main/kotlin/br/com/erivelton/rest/pix/chave/dto/resposta/DadosContaResposta.kt | eriveltonluiz | 387,615,008 | true | {"Kotlin": 35704, "Smarty": 2172, "Dockerfile": 156} | package br.com.erivelton.rest.pix.chave.dto.resposta
import br.com.erivelton.pix.DadosConta
import br.com.erivelton.rest.pix.chave.enums.TipoContaBcb
class DadosContaResposta (
dadosConta: DadosConta
){
val instituicao: String? = dadosConta.instituicao
val agencia: String = dadosConta.agencia
val nume... | 0 | Kotlin | 0 | 0 | c63d8eb9eeb4a533261fdbb52ac3d83cd1e205fc | 437 | orange-talents-05-template-pix-keymanager-rest | Apache License 2.0 |
src/main/java/com/example/navigation/dsl/NavigationDSLFragmentTwo.kt | vshpyrka | 754,325,488 | false | {"Kotlin": 182512} | package com.example.navigation.dsl
import android.os.Bundle
import android.view.View
import androidx.fragment.app.Fragment
import androidx.navigation.fragment.findNavController
import com.example.navigation.R
import com.example.navigation.applyWindowInsets
import com.example.navigation.databinding.FragmentNavigationDS... | 0 | Kotlin | 0 | 0 | bf0d3e6ca9c31116a5ebb77576dc01b62c896e13 | 1,055 | android-navigation-example | Apache License 2.0 |
core/src/main/java/com/kurt/example/rickandmorty/core/di/CharactersModule.kt | kuuuurt | 199,823,122 | false | null | package com.kurt.example.rickandmorty.core.di
import com.kurt.example.rickandmorty.core.data.characters.CharactersRemoteSource
import com.kurt.example.rickandmorty.core.data.characters.CharactersRepositoryImpl
import com.kurt.example.rickandmorty.core.domain.repositories.CharactersRepository
import com.kurt.example.ri... | 0 | Kotlin | 19 | 105 | 44bcf5bfe4646959c0bd0940a2d0881aa163ed3a | 865 | rick-and-morty-app | Apache License 2.0 |
storage/room/src/main/kotlin/dev/atick/storage/room/data/models/FallIncident.kt | atick-faisal | 609,303,624 | false | {"Kotlin": 207223} | package dev.atick.storage.room.data.models
import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey
import java.util.*
@Entity(tableName = "falls")
data class FallIncident(
@ColumnInfo(name = "victim_name") val victimName: String,
@ColumnInfo(name = "high_risk") val highRisk... | 2 | Kotlin | 1 | 1 | 206235367c909b72d4339e686a1137f59f18d712 | 463 | Safety-Android | Apache License 2.0 |
platform/platform-impl/src/com/intellij/openapi/application/impl/BaseExpirableExecutorMixinImpl.kt | ingokegel | 72,937,917 | true | null | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.openapi.application.impl
import com.intellij.openapi.application.constraints.ConstrainedExecution
import com.intellij.openapi.application.constraints.Expirab... | 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 1,617 | intellij-community | Apache License 2.0 |
vuejs-tests/src/org/jetbrains/vuejs/lang/VueTestModules.kt | wuxianqiang | 508,329,768 | false | {"Kotlin": 1447881, "Vue": 237479, "TypeScript": 106023, "JavaScript": 93869, "HTML": 17163, "Assembly": 12226, "Lex": 11227, "Java": 2846, "Shell": 1917, "Pug": 338} | // 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.vuejs.lang
import com.intellij.javascript.nodejs.library.NodeModulesDirectoryManager
import com.intellij.lang.javascript.buildTools.npm.PackageJsonUtil
import com.intellij.open... | 2 | Kotlin | 0 | 4 | e069e8b340ab04780ac13eab375d900f21bc7613 | 3,473 | intellij-plugin-mpx | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.