path stringlengths 4 280 | owner stringlengths 2 39 | repo_id int64 21.1k 879M | is_fork bool 2
classes | languages_distribution stringlengths 13 1.95k ⌀ | content stringlengths 7 482k | issues int64 0 13.9k | main_language stringclasses 121
values | forks stringlengths 1 5 | stars int64 0 111k | commit_sha stringlengths 40 40 | size int64 7 482k | name stringlengths 1 100 | license stringclasses 93
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
src/test/kotlin/de/oschwald/mofilegpttranslator/MoFileGptTranslatorApplicationTests.kt | robertoschwald | 625,474,182 | false | null | package de.oschwald.mofilegpttranslator
import org.junit.jupiter.api.Test
import org.springframework.boot.test.context.SpringBootTest
@SpringBootTest
class MoFileGptTranslatorApplicationTests {
@Test
fun contextLoads() {
}
}
| 0 | Kotlin | 0 | 0 | abbc6075c5a5dcbf2de25cb53d415d44a90dd780 | 235 | po-file-gpt-translator | Apache License 2.0 |
app/src/main/java/com/example/mvvm_template/di/AppInjector.kt | Kazuki-0731 | 428,983,834 | false | null | package com.example.mvvm_template.di
import com.example.mvvm_template.ActivityLifecycleHandler
import com.example.mvvm_template.MainApplication
import com.example.mvvm_template.di.DaggerAppComponent
/**
* Dagger保持
*/
class AppInjector {
companion object {
var component: AppComponent? = null
fun ... | 0 | Kotlin | 0 | 1 | 415bfb9112830a313f16ff90b78557c10e414a00 | 625 | mvvm-template | MIT License |
tmp/arrays/youTrackTests/8696.kt | DaniilStepanov | 228,623,440 | false | {"Git Config": 1, "Gradle": 6, "Text": 3, "INI": 5, "Shell": 2, "Ignore List": 3, "Batchfile": 2, "Markdown": 2, "Kotlin": 15942, "JavaScript": 4, "ANTLR": 2, "XML": 12, "Java": 4} | // Original bug: KT-19538
val b = "b".toUpperCase()
val a = init()
fun init(): String {
println("b in init() = $b")
return "a"
}
fun main(args: Array<String>) {
println("b in main() = $b")
}
| 1 | null | 11 | 1 | 602285ec60b01eee473dcb0b08ce497b1c254983 | 206 | bbfgradle | Apache License 2.0 |
compiler/testData/codegen/box/inlineClasses/hiddenConstructor/constructorWithDefaultParameters.kt | JetBrains | 3,432,266 | false | null | // WITH_STDLIB
@Suppress("OPTIONAL_DECLARATION_USAGE_IN_NON_COMMON_SOURCE")
@kotlin.jvm.JvmInline
value class S(val string: String)
class Test(val x: S, val y: S = S("K")) {
val test = x.string + y.string
}
fun box() = Test(S("O")).test | 125 | Kotlin | 4813 | 39,375 | 83d2d2cfcfc3d9903c902ca348f331f89bed1076 | 243 | kotlin | Apache License 2.0 |
tmp/arrays/youTrackTests/2449.kt | DaniilStepanov | 228,623,440 | false | null | // Original bug: KT-41826
fun foo() {
var a: Int = 10
var b = 20L
var c = 1_000_000
var list = listOf(1, 2, 3, 4, 5)
list
.takeWhile { it != 3 }
.forEach { println(it) }
println("000000000000")
}
| 1 | null | 1 | 1 | 602285ec60b01eee473dcb0b08ce497b1c254983 | 237 | bbfgradle | Apache License 2.0 |
domain/src/main/java/com/gamapp/domain/usecase/data/DataUpdateByMediaStoreChangeUseCase.kt | aliHosseinNezhad | 507,626,994 | false | null | package com.gamapp.domain.usecase.data
import com.gamapp.domain.models.TrackModel
import com.gamapp.domain.repository.QueueRepository
import com.gamapp.domain.repository.TrackRepository
import javax.inject.Inject
class DataUpdateByMediaStoreChangeUseCase @Inject constructor(
private val repository: QueueRepositor... | 0 | Kotlin | 0 | 2 | 8eddbdbcd5706072262ed7bd2cf6b2d0a6df6ada | 448 | DMPlayer_public | MIT License |
app/src/main/java/com/dnnt/touch/ui/base/BaseActivity.kt | zhoujucheng | 119,154,071 | false | null | package com.dnnt.touch.ui.base
import android.arch.lifecycle.ViewModel
import android.arch.lifecycle.ViewModelProviders
import android.content.Intent
import android.databinding.DataBindingUtil
import android.databinding.ViewDataBinding
import android.os.Bundle
import com.dnnt.touch.BR
import com.dnnt.touch.MyApplicati... | 0 | Kotlin | 0 | 1 | b7a85731b95beb93c5f6f18482f4efbe38935d7d | 2,086 | Touch | Apache License 2.0 |
src/main/kotlin/io/emeraldpay/dshackle/config/RequestLogConfig.kt | emeraldpay | 191,297,773 | false | {"Kotlin": 1137780, "Groovy": 481303, "Shell": 646} | /**
* Copyright (c) 2022 EmeraldPay, 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 o... | 74 | Kotlin | 63 | 292 | 8076c81dd6e8213b107718764ec9e094b7653f04 | 1,233 | dshackle | Apache License 2.0 |
src/test/kotlin/com/rbkmoney/claimmanagementapi/auth/JwtAuthTests.kt | valitydev | 435,815,387 | false | {"Kotlin": 288269} | package com.rbkmoney.claimmanagementapi.auth
import com.rbkmoney.claimmanagementapi.config.AbstractKeycloakOpenIdAsWiremockConfig
import org.junit.jupiter.api.Test
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.http.MediaType
import org.springframework.test.web.servlet.MockMvc... | 1 | Kotlin | 1 | 0 | 909d79498ed5949445f1f8e3b0f3df5e1a4f551b | 4,473 | claim-management-api | Apache License 2.0 |
src/main/kotlin/ch/icken/processor/QualifiedNames.kt | Thijsiez | 699,910,580 | false | {"Kotlin": 85947} | /*
* Copyright 2023-2024 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 0 | Kotlin | 0 | 1 | 730c2fd001db3cb85967cefe7886d4cdce095d7e | 1,547 | panache-kotlin-dsl | Apache License 2.0 |
src/main/kotlin/no/nav/pensjon/kalkulator/opptjening/client/popp/dto/OpptjeningsgrunnlagResponseDto.kt | navikt | 596,104,195 | false | {"Kotlin": 736163, "Java": 1630, "Dockerfile": 153} | package no.nav.pensjon.kalkulator.opptjening.client.popp.dto
data class OpptjeningsgrunnlagResponseDto(val opptjeningsGrunnlag: OpptjeningsgrunnlagDto)
data class OpptjeningsgrunnlagDto(var inntektListe: List<InntektDto>)
data class InntektDto(val inntektType: String, val inntektAr: Int, val belop: Long)
| 0 | Kotlin | 0 | 0 | eecf58ae241acf5d2e199671150c9bc89ae264df | 309 | pensjonskalkulator-backend | MIT License |
src/main/kotlin/net/doemges/florentine/starter/logging/configuration/LogAutoConfiguration.kt | florentine-doemges | 323,899,763 | false | null | package net.doemges.florentine.starter.logging.configuration
import com.fasterxml.jackson.databind.ObjectMapper
import net.doemges.florentine.starter.logging.LogManager
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean
import org.springframework.context.annotation.Bean
import org.springf... | 0 | Kotlin | 0 | 0 | 8538851cac8d4c888534527bc2d9289ed8445483 | 620 | spring-starter-florentine | Apache License 2.0 |
app/src/main/java/com/syrous/ycceyearbook/model/Recent.kt | coditive | 265,324,520 | false | null | package com.syrous.ycceyearbook.model
import androidx.room.Entity
import androidx.room.ForeignKey
import androidx.room.PrimaryKey
@Entity(tableName = "recents",
foreignKeys = [
ForeignKey(
entity = Paper::class,
parentColumns = ["id"],
childColumns = ["id"]
... | 1 | Kotlin | 1 | 4 | 5c21a1dcdf13eb8617a05e252d0579533eabf9bf | 463 | ycce_yearbook | Apache License 2.0 |
backend.native/tests/codegen/propertyCallableReference/varClass.kt | mano7onam | 122,908,795 | true | {"Kotlin": 4630329, "C++": 803727, "Groovy": 137600, "C": 119742, "Objective-C++": 66838, "Swift": 29084, "JavaScript": 19411, "Shell": 11621, "Batchfile": 7004, "Python": 4775, "Objective-C": 3532, "Pascal": 1698, "Java": 782, "HTML": 185} | package codegen.propertyCallableReference.varClass
import kotlin.test.*
class A(var x: Int)
@Test fun runTest() {
val p1 = A::x
val a = A(42)
p1.set(a, 117)
println(a.x)
println(p1.get(a))
val p2 = a::x
p2.set(42)
println(a.x)
println(p2.get())
} | 0 | Kotlin | 0 | 12 | d5169f2370a6b20ae91fc31999fe5ebefcb4344d | 285 | kotlin-native | Apache License 2.0 |
app/src/main/java/com/hercan/harrypotterinfoapp/network/api/PotterDBApi.kt | hanifeercan | 678,372,571 | false | {"Kotlin": 85260} | package com.hercan.harrypotterinfoapp.network.api
import com.hercan.harrypotterinfoapp.network.model.potion.PotionDetailModel
import com.hercan.harrypotterinfoapp.network.model.potion.PotionModel
import com.hercan.harrypotterinfoapp.network.model.spell.SpellDetailModel
import com.hercan.harrypotterinfoapp.network.mode... | 0 | Kotlin | 0 | 1 | 3b57a21492b5ca9d94d8b441d931febe9aa7a4b5 | 829 | HarryPotterInfoApp | MIT License |
src/main/kotlin/com/deflatedpickle/sakaki/widget/TimeDateLabel.kt | DeflatedPickle | 262,808,736 | false | null | /* Copyright (c) 2020 DeflatedPickle under the MIT license */
package com.deflatedpickle.sakaki.widget
import java.time.LocalDateTime
import java.time.format.DateTimeFormatter
import javafx.animation.Animation
import javafx.animation.KeyFrame
import javafx.animation.Timeline
import javafx.event.ActionEvent
import jav... | 0 | Kotlin | 0 | 0 | 1cb6221fef7ce41a9f35f0e63de575cfb8eb7bb6 | 993 | Sakaki | MIT License |
src/test/kotlin/org/wcode/database/QuoteDAOTest.kt | wcodesoft | 287,131,147 | false | {"Kotlin": 151555, "Shell": 287, "Dockerfile": 159} | package org.wcode.database
import kotlinx.coroutines.runBlocking
import org.junit.After
import org.junit.Before
import org.junit.Test
import org.wcode.core.H2Connector
import org.wcode.database.sql.dao.AuthorDAO
import org.wcode.database.sql.dao.QuoteDAO
import org.wcode.dto.AuthorDTO
import org.wcode.dto.QuoteDTO
imp... | 1 | Kotlin | 0 | 0 | 91d0462f8b29a754c6ab48248760dd33f54a5ef0 | 2,396 | sentency-server | MIT License |
src/main/kotlin/days/Day16.kt | tcrawford-figure | 435,911,433 | false | {"Kotlin": 23558} | package days
/**
* https://adventofcode.com/2021/day/16
*/
class Day16 : Day(16) {
override fun partOne(): Any {
return -1
}
override fun partTwo(): Any {
return -1
}
} | 0 | Kotlin | 0 | 0 | 87f689c4315e2f8eaca587b2f20fc245958efec8 | 206 | aoc | Creative Commons Zero v1.0 Universal |
kotlin-mui-icons/src/main/generated/mui/icons/material/AddModerator.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/AddModerator")
package mui.icons.material
@JsName("default")
external val AddModerator: SvgIconComponent
| 10 | null | 5 | 983 | 7ef1028ba3e0982dc93edcdfa6ee1edb334ddf35 | 188 | kotlin-wrappers | Apache License 2.0 |
app/src/main/java/com/fenghuang/caipiaobao/ui/mine/children/MineMessageCenterFragment.kt | tracyly | 262,531,465 | false | {"Java": 1886821, "Kotlin": 1650417, "HTML": 41991} | package com.fenghuang.caipiaobao.ui.mine.children
import android.os.Bundle
import android.text.TextUtils
import androidx.core.text.HtmlCompat
import com.fenghuang.baselib.base.fragment.BaseNavFragment
import com.fenghuang.caipiaobao.R
import com.fenghuang.caipiaobao.ui.mine.data.MineApi
import com.fenghuang.caipiaobao... | 1 | null | 1 | 1 | b4f57b41ba0018299d47be4d7705f0dfb1b8cf04 | 4,492 | cpb2.0 | Apache License 2.0 |
data/room/src/main/java/com/timecat/data/room/container/RoomContainer.kt | LinXueyuanStdio | 324,885,006 | false | {"Java": 315058, "Kotlin": 259927} | package com.timecat.data.room.container
import com.timecat.data.room.RoomClient
import com.timecat.data.room.record.RoomRecord
import com.timecat.identity.data.block.BLOCK_APP_WebApp
import com.timecat.identity.data.block.type.BLOCK_APP
/**
* @author 林学渊
* @email <EMAIL>
* @date 2020-02-05
* @description 容器符文
* ... | 1 | null | 1 | 1 | 439d511a79cf61d7c1f1edb4962d73243bac9e76 | 626 | TimeCatDatabase | Apache License 2.0 |
cohort-core/src/main/kotlin/com/sksamuel/cohort/jvm/LoadedClassesHealthCheck.kt | sksamuel | 342,731,382 | false | null | package com.sksamuel.cohort.jvm
import com.sksamuel.cohort.HealthCheck
import com.sksamuel.cohort.HealthCheckResult
import java.lang.management.ManagementFactory
/**
* A Cohort [HealthCheck] that checks how many classes have been loaded in the JVM.
*
* The check is considered healthy if the number of loaded classe... | 5 | null | 4 | 97 | 0e113858c6d7f924e5831ed40716988f187e355e | 930 | cohort | Apache License 2.0 |
library/plugins/graph/graph-plugin/src/main/java/io/github/cdsap/talaiot/plugin/graph/GraphExtension.kt | cdsap | 157,973,716 | false | null | package io.github.cdsap.talaiot.plugin.graph
import groovy.lang.Closure
import io.github.cdsap.talaiot.TalaiotExtension
import org.gradle.api.Project
open class GraphExtension(project: Project) : TalaiotExtension(project) {
/**
* General Publisher configuration included in the build.
*/
internal var... | 27 | Kotlin | 36 | 550 | 3b352fea5355448450c9ffb96946788212b40099 | 648 | Talaiot | MIT License |
composeApp/src/commonMain/kotlin/model/User.kt | spoonofcode | 829,948,208 | false | {"Kotlin": 126002, "Swift": 621} | package model
import kotlinx.serialization.Serializable
@Serializable
data class User(
val id: Int,
val firstName: String,
val lastName: String,
) | 13 | Kotlin | 0 | 0 | a85c0c523fb7346d5bf134e0e2a2e0439d2605fd | 160 | dojo-pro | Apache License 2.0 |
app/src/main/java/com/hms/xmedia/ui/home/HomeFragment.kt | Explore-In-HMS | 506,976,221 | false | {"Kotlin": 226400, "Java": 4490} | /*
* Copyright 2022. Explore in HMS. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | 1 | Kotlin | 5 | 17 | 0c70faf9afee7d2e02c2032a75cdb6fa8efb9da8 | 7,482 | XMedia-App | Apache License 2.0 |
app/src/main/java/com/example/mynote/data/UserRepository.kt | tzh21 | 790,658,835 | false | {"Kotlin": 65217} | //Repository 的作用参考
//https://developer.android.com/courses/pathways/android-basics-compose-unit-5-pathway-2
package com.example.mynote.data
import com.example.mynote.network.ErrorResponse
import com.example.mynote.network.LoginRequest
import com.example.mynote.network.LoginResponse
import com.example.mynote.network.U... | 0 | Kotlin | 0 | 0 | 65f82ad6cf772c6218ad24846f15d0bd12493f51 | 1,043 | MyNote | MIT License |
src/main/kotlin/com/tans/tfiletranserdesktop/net/netty/common/handler/HeartbeatChecker.kt | Tans5 | 341,413,863 | false | null | package com.tans.tfiletranserdesktop.net.netty.common.handler
import com.tans.tfiletranserdesktop.utils.ioExecutor
import com.tans.tfiletranserdesktop.net.netty.common.NettyPkg
import io.netty.channel.ChannelHandlerContext
import io.netty.channel.ChannelInboundHandlerAdapter
class HeartbeatChecker(private val duratio... | 0 | Kotlin | 1 | 16 | 408862625b68ebd1fc96e528096a6383d261d7e5 | 684 | tFileTransfer_desktop | Apache License 2.0 |
demo-transactions/src/main/kotlin/io/holixon/cqrshexagonaldemo/demoparent/transactions/adapter/inbound/account/AccountRestInAdapter.kt | holixon | 747,608,283 | false | {"Kotlin": 45657, "Shell": 72} | package io.holixon.cqrshexagonaldemo.demoparent.transactions.adapter.inbound.account
import io.holixon.cqrshexagonaldemo.demoparent.transactions.adapter.inbound.AccountApiDelegate
import io.holixon.cqrshexagonaldemo.demoparent.transactions.adapter.inbound.account.mapper.toAccountCreatedResponseDto
import io.holixon.cq... | 8 | Kotlin | 0 | 0 | dbbb74266b4fcc6233c0fe490baf1c0b54d41239 | 2,251 | cqrs-meets-hexagonal | Apache License 2.0 |
app/src/main/java/hu/mostoha/mobile/android/huki/model/network/graphhopper/RouteResponse.kt | RolandMostoha | 386,949,428 | false | {"Kotlin": 1025137, "Java": 38751, "Shell": 308} | package hu.mostoha.mobile.android.huki.model.network.graphhopper
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
@JsonClass(generateAdapter = true)
data class RouteResponse(
@Json(name = "hints")
val hints: Hints,
@Json(name = "info")
val info: Info,
@Json(name = "paths")
... | 0 | Kotlin | 1 | 9 | 92587e6dcc68d89b5ffb2afd8cdd3c0cc47fb7d4 | 346 | HuKi-Android | The Unlicense |
Compat/src/main/kotlin/me/ste/stevesseries/guilib/compat/WidgetAdapter.kt | SteveTheEngineer | 307,083,315 | false | null | package me.ste.stevesseries.guilib.compat
import me.ste.stevesseries.guilib.api.GuiManager
import me.ste.stevesseries.guilib.api.gui.inventory.InventoryGuiController
import me.ste.stevesseries.inventoryguilibrary.PlayerGUIS
import me.ste.stevesseries.inventoryguilibrary.inventory.ItemCanvas
import me.ste.stevesseries.... | 0 | Kotlin | 0 | 3 | 1aa7032cb512adea097947fd1e4836a5a5506f82 | 4,370 | SS-GuiLibrary | MIT License |
app/src/main/java/com/sduduzog/slimlauncher/data/Repository.kt | parshav | 198,465,622 | true | {"Kotlin": 49596} | package com.sduduzog.slimlauncher.data
import android.app.Application
import android.os.AsyncTask
import androidx.lifecycle.LiveData
import com.sduduzog.slimlauncher.data.model.HomeApp
class Repository(application: Application) {
private val database: BaseDatabase = BaseDatabase.getDatabase(application)!!
p... | 0 | Kotlin | 0 | 0 | 47547c0b297e11a01950cc123187a6998f28b288 | 1,528 | slim-launcher | MIT License |
app/src/main/java/squarerock/bites/network/WikiApiService.kt | squarerock | 262,673,624 | false | null | package squarerock.bites.network
class WikiApiService(private val wikiApi: WikiApi) {
suspend fun getTitles(limit: Int) = wikiApi.getRandomArticles(limit = limit)
suspend fun getExtracts(title: String) = wikiApi.getArticleExtracts(title = title)
} | 1 | Kotlin | 0 | 0 | d79cf3911c8825d221f60824674a86d65d291f86 | 257 | Bites | MIT License |
hacktoberfest_issues/app/src/main/java/io/henrikhorbovyi/hacktoberfestissues/viewmodel/IssuesViewModel.kt | aadityamp01 | 275,898,636 | false | null | package io.henrikhorbovyi.hacktoberfestissues.viewmodel
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import io.henrikhorbovyi.hacktoberfestissues.data.issue.IssuesRepository
import io.henrikhorbovyi.hacktoberfestissues.ui.entity.SearchFilter
import io.henrikhorbovyi.hacktoberfestissues.... | 1 | null | 57 | 76 | d047d5b4c3321df85c6523c0725028986c898b14 | 1,754 | Androapps | MIT License |
app/src/main/java/com/zmj/relearnandroid/view/lesson16bitmapdrawable/candleview/CandleDrawable.kt | ZmjDns | 353,241,624 | false | null | package com.zmj.relearnandroid.view.lesson16bitmapdrawable.candleview
import android.graphics.*
import android.graphics.drawable.Drawable
import com.zmj.relearnandroid.view.dp
/**
* Author : Zmj
* Blog : https://blog.csdn.net/Zmj_Dns
* GitHub : https://github.com/ZmjDns
* Time : 2021-04-20
* Description :
*/
pr... | 0 | Kotlin | 0 | 0 | e4d008d3d23bb5b68b954679ab8d8c86ebfe4890 | 1,633 | relearnandroid | Apache License 2.0 |
app/src/main/java/me/amitshekhar/learn/kotlin/flow/data/api/ApiService.kt | amitshekhariitbhu | 545,095,463 | false | {"Kotlin": 100745} | package me.amitshekhar.learn.kotlin.flow.data.api
import me.amitshekhar.learn.kotlin.flow.data.model.ApiUser
import retrofit2.http.GET
interface ApiService {
@GET("users")
suspend fun getUsers(): List<ApiUser>
@GET("more-users")
suspend fun getMoreUsers(): List<ApiUser>
@GET("error")
suspen... | 1 | Kotlin | 48 | 401 | c6d06f555a09a4e63991dadf866b228a3d61d98f | 363 | Learn-Kotlin-Flow | Apache License 2.0 |
app/src/main/java/com/twoics/geo/map/MapDataTransfer.kt | twoics | 617,543,629 | false | null | package com.twoics.geo.map
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import kotlinx.coroutines.channels.Channel
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.receiveAsFlow
import kotlinx.coroutines.launch
class MapDataTransfer : IMapDataTransfer, ViewModel() {
... | 1 | Kotlin | 0 | 0 | 1b2957b12044785dcc5388ed1e0ce315c72d2628 | 584 | geo | MIT License |
app/src/main/java/liou/rayyuan/ebooksearchtaiwan/model/BookSearchService.kt | BerryCruise | 189,169,795 | true | {"Kotlin": 166659, "Shell": 1776} | package liou.rayyuan.ebooksearchtaiwan.model
import kotlinx.coroutines.Deferred
import liou.rayyuan.ebooksearchtaiwan.model.entity.BookStores
import retrofit2.Response
import retrofit2.http.GET
import retrofit2.http.Query
interface BookSearchService {
@GET("search")
fun getBooks(@Query("q") keyword: String):... | 0 | Kotlin | 0 | 0 | 9163ae72abd8c971bca15c5e2e040f93cf489a8f | 354 | TaiwanEbookSearch | MIT License |
src/me/anno/engine/ui/input/ArrayPanelProperty.kt | AntonioNoack | 456,513,348 | false | {"Kotlin": 10037763, "C": 236426, "Java": 6754, "Lua": 4404, "C++": 3059, "GLSL": 2698} | package me.anno.engine.ui.input
import me.anno.engine.inspector.IProperty
import me.anno.utils.structures.Pointer
import me.anno.ui.Panel
/**
* IProperty for ArrayPanels
* */
class ArrayPanelProperty(
val anyArrayPanel: AnyArrayPanel,
val value: Any?,
val arrayType: String,
val panel: Pointer<Panel?... | 0 | Kotlin | 3 | 22 | c5dca607634e07f59a6091249a0946a6b69e1e58 | 758 | RemsEngine | Apache License 2.0 |
indexer/src/main/kotlin/tech/edgx/prise/indexer/service/dataprovider/module/koios/TransactionOutputResponse.kt | Edgxtech | 772,437,133 | false | {"Kotlin": 524964, "Java": 7742, "Dockerfile": 361, "Shell": 220} | package tech.edgx.prise.indexer.service.dataprovider.module.koios
data class UtxoDetails (
val tx_hash: String,
val tx_index: Int,
val address: String,
val value: Long,
val stake_address: String,
val payment_cred: String,
val epoch_no: Int,
val block_height: Long,
val block_time: Lo... | 0 | Kotlin | 1 | 4 | a03abd3c5240bfa562945c42df32666e94286921 | 685 | prise | MIT License |
lib/src/main/kotlin/com/lemonappdev/konsist/api/provider/modifier/KoInfixModifierProvider.kt | LemonAppDev | 621,181,534 | false | null | package com.lemonappdev.konsist.api.provider.modifier
import com.lemonappdev.konsist.api.provider.KoBaseProvider
/**
* An interface representing a Kotlin declaration that provides information about whether it has `infix` modifier.
*/
interface KoInfixModifierProvider : KoBaseProvider, KoModifierProvider {
/**
... | 6 | null | 27 | 995 | 603d19e179f59445c5f4707c1528a438e4595136 | 416 | konsist | Apache License 2.0 |
src/main/kotlin/api/type/InlineQueryResultContact.kt | iseki0 | 195,287,997 | false | {"HTML": 520443, "Kotlin": 390011} | @file:Suppress("SpellCheckingInspection", "unused")
package api.type
import api.InlineQueryResult
import api.InputMessageContent
import com.fasterxml.jackson.annotation.JsonCreator
import com.fasterxml.jackson.annotation.JsonInclude
import com.fasterxml.jackson.annotation.JsonProperty
/**
* Represents a contact wit... | 0 | HTML | 0 | 1 | 1d72031badfcb48f1093b18fafc175679e55fe1e | 2,570 | telebotKt | Do What The F*ck You Want To Public License |
app/src/main/java/com/littlebit/bitohye/ui/screens/profile/Utils.kt | danieljohnmeen | 689,887,114 | false | {"Kotlin": 286848} | package com.littlebit.bitohye.ui.screens.profile
import android.graphics.drawable.Icon
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.rounded.Contacts
import androidx.compose.material.icons.rounded.Edit
import androidx.compose.material.icons.rounded.Label
import androidx.compose.ma... | 0 | Kotlin | 0 | 0 | 6e5ac9b40a99fff256da67f9772b97ea4749e297 | 1,357 | Android-Chat | MIT License |
ui/src/main/java/com/rock/ui/Banner.kt | sunjinbo | 393,235,502 | false | null | // Copyright 2021, <NAME>, All rights reserved.
package com.rock.ui
import android.animation.Animator
import android.animation.Animator.AnimatorListener
import android.animation.ValueAnimator
import android.content.Context
import android.graphics.*
import android.graphics.drawable.BitmapDrawable
import android.graphi... | 0 | Kotlin | 0 | 0 | 2988a16da7c013b10ff41c4c3ad057bc677f7e31 | 35,151 | rock | MIT License |
feature/portfolio/domain/api/src/main/kotlin/com/savvasdalkitsis/uhuruphotos/feature/portfolio/domain/api/domain/PortfolioLocalMedia.kt | savvasdalkitsis | 485,908,521 | false | {"Kotlin": 2640809, "Ruby": 1294, "PowerShell": 325, "Shell": 158} | package com.savvasdalkitsis.uhuruphotos.feature.portfolio.domain.api.domain
sealed class PortfolioLocalMedia {
data class Found(val items: List<PortfolioItem>) : PortfolioLocalMedia()
data class RequiresPermissions(val deniedPermissions: List<String>) : PortfolioLocalMedia()
data object Error : Portfoli... | 49 | Kotlin | 26 | 354 | 638fc0d63edf90914b6248696df5a2f05178fff9 | 336 | uhuruphotos-android | Apache License 2.0 |
app/src/main/java/dev/berwyn/jellybox/data/ApplicationState.kt | berwyn | 586,199,884 | false | {"Kotlin": 84856} | package dev.berwyn.jellybox.data
import androidx.compose.runtime.derivedStateOf
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
import dev.berwyn.jellybox.domain.RetrieveServerCredentialUseCase
import dev.berwyn.jellybox.ui.navigation.Nav... | 0 | Kotlin | 0 | 0 | 9761091e1468cb98e4df5da70f1a735b00043ca0 | 1,193 | jellybox | Apache License 2.0 |
roboquant-extra/src/alpaca/AlpacaHistoricFeed.kt | cybernetics | 411,402,133 | true | {"Kotlin": 795756} | package org.roboquant.alpaca
import net.jacobpeterson.alpaca.AlpacaAPI
import net.jacobpeterson.alpaca.model.endpoint.marketdata.historical.bar.enums.BarAdjustment
import net.jacobpeterson.alpaca.model.endpoint.marketdata.historical.bar.enums.BarTimePeriod
import org.roboquant.common.Asset
import org.roboquant.common.... | 0 | null | 0 | 0 | b07c023006b5cb94e9f811ba63d69ed43cb9884f | 2,565 | roboquant | Apache License 2.0 |
extensions/src/test/kotlin/net/devslash/pipes/PipeTest.kt | andysprout | 199,951,513 | true | {"Kotlin": 67999} | package net.devslash.pipes
import kotlinx.coroutines.runBlocking
import net.devslash.HttpResponse
import net.devslash.util.getBasicRequest
import net.devslash.util.requestDataFromList
import org.hamcrest.CoreMatchers.*
import org.hamcrest.MatcherAssert.assertThat
import org.junit.jupiter.api.Test
import java.net.URL
... | 0 | Kotlin | 0 | 0 | 140614183527396939a303b4cd39bb41d5800923 | 2,734 | fetchDSL | MIT License |
android/src/main/java/com/smallcase/gateway/reactnative/SmallcaseGatewayModule.kt | indrajit-roy-sc | 467,469,251 | true | {"JavaScript": 21474, "Objective-C": 18118, "Kotlin": 11145, "Java": 6200, "Ruby": 1733, "Starlark": 602, "Shell": 107} | package com.smallcase.gateway.reactnative
import android.content.ClipboardManager
import android.content.Context
import android.util.Log
import android.widget.Toast
import com.facebook.react.bridge.*
import com.smallcase.gateway.data.SmallcaseGatewayListeners
import com.smallcase.gateway.data.SmallcaseLogoutListener
i... | 0 | null | 0 | 0 | 686d3d2524e24814415a278dd5ec472e55306c70 | 10,473 | react-native-smallcase-gateway | MIT License |
app/src/main/java/com/matthew/carvalhodagenais/coinhuntingbuddy/ui/screens/DetailsScreen.kt | mcd-3 | 474,478,959 | false | {"Kotlin": 242534} | package com.matthew.carvalhodagenais.coinhuntingbuddy.ui.screens
import android.widget.Toast
import androidx.compose.foundation.*
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material.*
import androidx.compose.material.icons.Icons
impor... | 4 | Kotlin | 0 | 1 | af1eec1593abdef3c83a85cb398093d4f9c29f0e | 11,911 | coin-hunting-buddy | MIT License |
cryptohash/src/commonTest/kotlin/com/appmattus/crypto/internal/core/uint/UInt128ComparisonTest.kt | appmattus | 347,486,833 | false | {"Kotlin": 8470456} | /*
* Copyright 2022 Appmattus Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 3 | Kotlin | 4 | 79 | 9530b18ae391f95d305e87777dca40faf3efd6ca | 9,046 | crypto | Apache License 2.0 |
apps/etterlatte-migrering/src/main/kotlin/migrering/pen/PenModellTilVaarModell.kt | navikt | 417,041,535 | false | {"Kotlin": 4184693, "TypeScript": 887413, "Handlebars": 19431, "Shell": 9939, "HTML": 1776, "CSS": 598, "Dockerfile": 520} | package no.nav.etterlatte.migrering.pen
import no.nav.etterlatte.brev.model.Spraak
import no.nav.etterlatte.libs.common.person.Folkeregisteridentifikator
import no.nav.etterlatte.libs.common.tidspunkt.Tidspunkt
import no.nav.etterlatte.migrering.Pesyssak
import no.nav.etterlatte.rapidsandrivers.migrering.AvdoedForelde... | 14 | Kotlin | 0 | 5 | 0a7aa46b915a83afa89e882bbcc7dc90e4e1a1b3 | 2,636 | pensjon-etterlatte-saksbehandling | MIT License |
plugins/power-assert/testData/codegen/Constants.kt | JetBrains | 3,432,266 | false | null | // FUNCTION: kotlin.require
fun box() = expectThrowableMessage {
assert(false)
}
| 184 | null | 5691 | 48,625 | bb25d2f8aa74406ff0af254b2388fd601525386a | 86 | kotlin | Apache License 2.0 |
app/src/main/java/com/example/myapplication/categorypage.kt | DevAndroidify | 792,212,630 | false | {"Kotlin": 48791} | package com.example.myapplication
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.Toast
import androidx.core.content.ContentProviderCompat.requireContext
import com.example.adminapp.adapter.addproduct
import com.example.myapplication.databind... | 0 | Kotlin | 0 | 0 | 2a8934d36339521cbfb831b32283e0f2536d0867 | 2,557 | Electronic-Ecommerce | MIT License |
src/commonMain/kotlin/com/codellyrandom/hassle/values/Brightness.kt | efirestone | 379,712,425 | false | {"Kotlin": 271909} | package com.codellyrandom.hassle.values
import kotlinx.serialization.KSerializer
import kotlinx.serialization.Serializable
import kotlinx.serialization.descriptors.PrimitiveKind
import kotlinx.serialization.descriptors.PrimitiveSerialDescriptor
import kotlinx.serialization.descriptors.SerialDescriptor
import kotlinx.s... | 0 | Kotlin | 0 | 2 | 7423f41c01fff8c16651e0d4ebceb9a805744166 | 951 | hassle | MIT License |
android/app/src/main/java/de/repeatuntil/yata/ui/MainViewModel.kt | sz-alpar | 802,927,719 | false | {"Kotlin": 45954, "Swift": 38763, "Shell": 1496, "Ruby": 846} | package de.repeatuntil.yata.ui
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import de.repeatuntil.yata.application.todolist.TodoListApplicationService
import de.repeatuntil.yata.application.user.UserApplicationService
import de.repeatuntil.yata.domain.todolist.TodoList
import de.repeatu... | 0 | Kotlin | 0 | 0 | 83b1f2dffb3d4f8a7f4dfbec7b5b7f842e0aeec0 | 2,777 | yata | MIT License |
app/src/main/java/dev/pinaki/desipe/feature/detail/ingredients/IngredientsAdapter.kt | Pinaki93 | 276,979,416 | false | null | /*
* MIT License
*
* Copyright (c) 2020 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, m... | 0 | Kotlin | 4 | 25 | c62e337d8bfacdc9a7e2a26b7fbdbbe320c43f60 | 2,173 | Desipe | MIT License |
app/src/main/java/com/androiddevs/lerun/ui/viewmodels/StatisticViewModel.kt | arrazyfathan | 424,272,958 | false | {"Kotlin": 90462} | package com.androiddevs.lerun.ui.viewmodels
import androidx.lifecycle.ViewModel
import com.androiddevs.lerun.repositories.MainRepository
import dagger.hilt.android.lifecycle.HiltViewModel
import javax.inject.Inject
@HiltViewModel
class StatisticViewModel @Inject constructor(
val repository: MainRepository
) : Vi... | 0 | Kotlin | 0 | 0 | 2a8180f5ac03c6e0e750cf3fa703d7447b1923c4 | 634 | Lerun | The Unlicense |
src/main/kotlin/com/carbontower/domain/entities/database/T_TEAM_IN_MATCH.kt | KhomDrake | 179,989,126 | false | null | package com.carbontower.domain.entities.database
import org.jetbrains.exposed.sql.Table
object T_TEAM_IN_MATCH : Table() {
val idTeam_fk = integer("idTeam_fk").primaryKey(0) references T_TEAM.idTeam
val idMatch_fk = integer("idMatch_fk").primaryKey(1) references T_MATCH.idMatch
init {
index(true,
... | 0 | Kotlin | 0 | 0 | bcb237c4d086702a5e018c0f49402c2d1706e939 | 383 | CarbonTower-Backend-Kotlin | MIT License |
app/src/main/java/com/qiyei/music/api/protocol/UserLoginReq.kt | qiyei2015 | 253,028,226 | false | {"Java": 150392, "Kotlin": 90375} | /**
* @author Created by qiyei2015 on 2020/4/18.
* @version: 1.0
* @email: <EMAIL>
* @description: UserLoginReq
*/
package com.qiyei.music.api.protocol
data class UserLoginReq(val phone:String,val password:String) {
} | 1 | null | 1 | 1 | 1ca030b5cecd026bda1b11436d7c0c2f9e464e55 | 223 | MusicApp | Apache License 2.0 |
infra/gradle/src/main/kotlin/com/github/c64lib/gradle/emu/vice/Vice.kt | Cumbayah | 405,651,085 | true | {"Kotlin": 274338, "Shell": 560} | /*
MIT License
Copyright (c) 2018-2022 c64lib: The Ultimate Commodore 64 Library
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 us... | 0 | Kotlin | 0 | 0 | d9d66768bab1a1899a4fbe30d25c8cd30c342f56 | 1,412 | gradle-retro-assembler-plugin | MIT License |
warehouse-fulfilment-webflux-non-blocking/src/main/kotlin/controller/FulfilmentController.kt | jesperancinha | 844,405,317 | false | {"Kotlin": 40822, "Java": 9058, "Python": 8500, "Shell": 5906, "Makefile": 4387, "Dockerfile": 2680} | package org.jesperancinha.controller
import kotlinx.coroutines.DelicateCoroutinesApi
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.launch
import org.jesperancinha.domain.IsleType.Room
import org.jesperancinha.domain.Product
import org.slf4j.Logger
import org.slf4... | 0 | Kotlin | 0 | 1 | 67374bfc5efbf2121a5a8f346cce788155b00aee | 1,182 | virtual-thread-coroutine-cooperation | Apache License 2.0 |
liquid/src/main/java/foundation/algorand/auth/connect/IceCandidateExt.kt | algorandfoundation | 790,646,087 | false | {"Kotlin": 48620, "Java": 574} | package foundation.algorand.auth.connect
import org.json.JSONObject
import org.webrtc.IceCandidate
fun IceCandidate.toJSON(): JSONObject {
// "serverUrl" to candidate?.serverUrl,
// "sdpMid" to candidate?.sdpMid,
// "sdpMLineIndex" to candidate?.sdpMLineIndex,
// "sdpCandidate" to candidate?.sdp,
// "t... | 1 | Kotlin | 2 | 4 | 0faaf59900e517433dff8c9c1d7bb8e7d83a3ebd | 547 | liquid-auth-android | Apache License 2.0 |
app/src/main/java/com/matthiaslapierre/jack/core/game/impl/sprites/collectibles/CandySprite.kt | MatthiasLapierre | 299,308,705 | false | null | package com.matthiaslapierre.jack.core.game.impl.sprites.collectibles
import android.graphics.Canvas
import android.graphics.Paint
import android.graphics.RectF
import com.matthiaslapierre.jack.Constants.UNDEFINED
import com.matthiaslapierre.jack.core.resources.ResourceManager
import com.matthiaslapierre.framework.res... | 0 | Kotlin | 0 | 0 | 7ae193cca70f9129a1a1f39d9a24bd8c7da090c2 | 3,342 | jack | MIT License |
src/main/kotlin/me/melijn/melijnbot/database/role/TempRoleWrapper.kt | J3ermuda | 262,919,578 | false | null | package me.melijn.melijnbot.database.role
import me.melijn.melijnbot.objects.threading.TaskManager
class TempRoleWrapper(val taskManager: TaskManager, private val tempRoleDao: TempRoleDao) {
suspend fun addTempRole(guildId: Long, userId: Long, roleId: Long, duration: Long, added: Boolean) {
val start = S... | 1 | null | 1 | 1 | 24834c6226d1e7f315056f224f2daaab5a66ff06 | 677 | Melijn | MIT License |
app/src/main/java/com/hodinv/products/interactors/ProductsListInteractorImpl.kt | hodinv | 296,435,417 | false | null | package com.hodinv.products.interactors
import com.hodinv.products.model.ListItem
import com.hodinv.products.model.Product
import com.hodinv.products.model.toListItem
import com.hodinv.products.services.repository.ProductsRepository
import io.reactivex.Single
import io.reactivex.schedulers.Schedulers
class ProductsLi... | 0 | Kotlin | 0 | 0 | 4379819c3035471b1f18a0caa0533866d74dfd14 | 1,115 | food | MIT License |
adoptium-api-v3-persistence/src/main/kotlin/net/adoptium/api/v3/dataSources/VersionSupplier.kt | adoptium | 349,432,712 | false | {"Kotlin": 642034, "HTML": 8785, "Shell": 2518, "Dockerfile": 2080, "CSS": 2037} | package net.adoptium.api.v3.dataSources
interface VersionSupplier {
fun getTipVersion(): Int?
fun getLtsVersions(): Array<Int>
fun getAllVersions(): Array<Int>
}
| 26 | Kotlin | 26 | 34 | f7ee106a1ace802a4f57a01ed9c1baf378e0c5ab | 175 | api.adoptium.net | Apache License 2.0 |
src/main/kotlin/xyz/gnarbot/gnar/music/MusicManager.kt | nanapok | 258,111,037 | false | null | package xyz.gnarbot.gnar.music
import com.sedmelluq.discord.lavaplayer.player.AudioLoadResultHandler
import com.sedmelluq.discord.lavaplayer.player.AudioPlayer
import com.sedmelluq.discord.lavaplayer.player.AudioPlayerManager
import com.sedmelluq.discord.lavaplayer.source.beam.BeamAudioTrack
import com.sedmelluq.disco... | 0 | Kotlin | 0 | 0 | c4632693797c06842097b6e2cb66628f88781421 | 13,942 | Octave | MIT License |
plugins/kotlin/code-insight/intentions-k2/src/org/jetbrains/kotlin/idea/k2/codeinsight/intentions/InsertExplicitTypeArgumentsIntention.kt | smmribeiro | 74,604,681 | false | null | // Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package org.jetbrains.kotlin.idea.k2.codeinsight.intentions
import com.intellij.openapi.editor.Editor
import com.intellij.openapi.project.Project
import org.jetbrains.kotlin.analysis.api.KtAnalysisS... | 1 | null | 1 | 1 | 422e580a34b3144a7ed9da56fef5fd21a32c7e7e | 1,783 | intellij-community | Apache License 2.0 |
judokit-android-examples/src/androidTest/java/com/judokit/android/examples/test/card/EspressoExtensions.kt | Judopay | 261,378,339 | false | {"Kotlin": 959879, "Ruby": 5160} | package com.judokit.android.examples.test.card
import android.view.View
import androidx.test.espresso.NoMatchingViewException
import androidx.test.espresso.UiController
import androidx.test.espresso.ViewAction
import androidx.test.espresso.matcher.ViewMatchers.isRoot
import androidx.test.espresso.util.TreeIterables
im... | 0 | Kotlin | 5 | 4 | 2b0e81e52ab0b2e8a548023cb3ba1e51b6e8ee16 | 1,652 | JudoKit-Android | MIT License |
module/module-nms-util/src/main/kotlin/taboolib/module/nms/ItemTag.kt | TabooLib | 120,413,612 | false | null | package taboolib.module.nms
fun ItemTagData.clone(): ItemTagData {
return when (type) {
ItemTagType.END -> ItemTagData(type, null)
ItemTagType.BYTE,
ItemTagType.SHORT,
ItemTagType.INT,
ItemTagType.LONG,
ItemTagType.FLOAT,
ItemTagType.DOUBLE,
ItemTagTy... | 18 | Kotlin | 79 | 222 | 334959275fa18e45d19084bed9eadb2f9b963145 | 889 | taboolib | MIT License |
kool-editor-model/src/commonMain/kotlin/de/fabmax/kool/editor/data/SceneComponentData.kt | fabmax | 81,503,047 | false | {"Kotlin": 5538657, "C++": 3256, "CMake": 1870, "HTML": 1464, "JavaScript": 597} | package de.fabmax.kool.editor.data
import kotlinx.serialization.Serializable
@Serializable
data class SceneComponentData(
val cameraEntityId: EntityId = EntityId(-1L),
val maxNumLights: Int = 4
) : ComponentData | 11 | Kotlin | 15 | 267 | 0e5213b69b478152173b38334ca2c3a2d0aff62a | 221 | kool | Apache License 2.0 |
kotlin_backend/src/test/kotlin/query/QueryGraphBaseTests.kt | capgadsx | 306,060,415 | true | {"Kotlin": 264698, "Jupyter Notebook": 155496, "Python": 30773, "Go": 27219, "Shell": 329} | /*package query
import org.junit.jupiter.api.Test
import rdfexplorer.models.Edge
import rdfexplorer.models.Node
import rdfexplorer.models.RDFExplorerGraph
import kotlin.test.assertEquals
@Suppress("TestFunctionName")
class QueryGraphBaseTests {
@Test
fun TestEqualGraphs() {
val nodes1 = listOf(
... | 0 | Kotlin | 0 | 0 | 725b60b9a7a8878e9c529b4d8210e8f5ec6c1ec4 | 692 | SPARQLforHumans | Apache License 2.0 |
app/src/main/java/cz/blackchameleon/trendingprojects/di/ViewModelModule.kt | klepackovakarolina | 327,316,960 | false | null | package cz.blackchameleon.trendingprojects.di
import cz.blackchameleon.trendingprojects.ui.developer.DeveloperViewModel
import cz.blackchameleon.trendingprojects.ui.filter.FilterFragmentArgs
import cz.blackchameleon.trendingprojects.ui.filter.FilterViewModel
import cz.blackchameleon.trendingprojects.ui.repository.Repo... | 0 | Kotlin | 0 | 0 | 43b8ca613f068f06dbc7c8a20569c0788f0bdf39 | 950 | trending-projects | MIT License |
app/src/main/java/com/blume/newsbot/Pojos/source.kt | Yachint | 140,816,176 | false | {"Kotlin": 19062} | package com.blume.newsbot.Pojos
data class source (
val id: String,
val name : String
) | 0 | Kotlin | 0 | 0 | 158a9d68a7d729c99fceaf90ff120c40aa85ea78 | 104 | NewsBot | MIT License |
kotlin-mui-icons/src/main/generated/mui/icons/material/ShoppingCartCheckoutRounded.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/ShoppingCartCheckoutRounded")
package mui.icons.material
@JsName("default")
external val ShoppingCartCheckoutRounded: SvgIconComponent
| 10 | null | 5 | 983 | 7ef1028ba3e0982dc93edcdfa6ee1edb334ddf35 | 218 | kotlin-wrappers | Apache License 2.0 |
app/src/main/java/com/programmersbox/jakepurple13libraries/screens/PatternScreen.kt | jakepurple13 | 571,654,533 | false | null | package com.programmersbox.jakepurple13libraries.screens
import android.content.res.Configuration
import androidx.compose.foundation.layout.*
import androidx.compose.material3.ExperimentalMaterial3Api
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Text
import androidx.compose.runtime... | 11 | Kotlin | 0 | 1 | 6d8f230695daec63269e3d395f86b6315a724078 | 2,737 | Jakepurple13Libraries | Apache License 2.0 |
app/src/main/java/com/example/dropy/ui/screens/shops/frontside/dashboard/customerdashboard/CustomerDashboard.kt | dropyProd | 705,360,878 | false | {"Kotlin": 3916897, "Java": 20617} | package com.example.dropy.ui.screens.shops.frontside.dashboard.customerdashboard
import android.os.Build
import androidx.annotation.RequiresApi
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.runtime.Composable
import androidx.compose.runti... | 0 | Kotlin | 0 | 0 | 6d994c9c61207bac28c49717b6c250656fe4ae6b | 5,276 | DropyLateNights | Apache License 2.0 |
feature/profile/src/main/kotlin/com/example/profile/ProfileViewScreen.kt | windbow27 | 786,161,433 | false | {"Kotlin": 320521} | package com.example.profile
import android.content.Context
import android.content.Intent
import android.content.pm.PackageManager
import android.graphics.Bitmap
import android.graphics.ImageDecoder
import android.os.Build
import android.provider.MediaStore
import android.widget.Toast
import androidx.activity.Component... | 0 | Kotlin | 5 | 0 | d02c7d6a7ecb6dc62cd8273a03883ab2647ab831 | 20,487 | cosmea | FSF All Permissive License |
app/src/main/java/com/breadwallet/ui/onboarding/OnBoardingHandler.kt | c-sports | 260,321,150 | false | {"Gradle": 3, "XML": 262, "Java Properties": 2, "Shell": 2, "Text": 16, "Ignore List": 2, "Batchfile": 2, "Markdown": 1, "YAML": 2, "INI": 1, "Proguard": 1, "Java": 162, "Kotlin": 272, "JSON": 6, "HTML": 2, "Protocol Buffer": 2, "Ruby": 1} | /**
* BreadWallet
*
* Created by Drew Carlson <drew.carlson@breadwallet.com> on 8/12/19.
* Copyright (c) 2019 breadwallet LLC
*
* 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... | 1 | null | 1 | 1 | 8a25940586c472b10d765f6805be502a0c477986 | 7,117 | breadwallet-android | MIT License |
DSLs/kubernetes/dsl/src/main/kotlin-gen/dev/forkhandles/k8s/authentication/v1alpha1/metadata.kt | fork-handles | 649,794,132 | false | {"Kotlin": 575626, "Shell": 2264, "Just": 1042, "Nix": 740} | // GENERATED
package dev.forkhandles.k8s.authentication.v1alpha1
import io.fabric8.kubernetes.api.model.ObjectMeta as model_ObjectMeta
import io.fabric8.kubernetes.api.model.authentication.v1alpha1.SelfSubjectReview as v1alpha1_SelfSubjectReview
fun v1alpha1_SelfSubjectReview.metadata(block: model_ObjectMeta.() -> Un... | 0 | Kotlin | 0 | 9 | 68221cee577ea16dc498745606d07b0fb62f5cb7 | 427 | k8s-dsl | MIT License |
app/src/main/java/com/vctapps/bustracker/di/TrackerModule.kt | victor-vct | 98,001,028 | false | {"Gradle": 3, "Text": 1, "Ignore List": 2, "Markdown": 1, "Java Properties": 1, "Proguard": 1, "Java": 3, "XML": 13, "Kotlin": 28} | package com.vctapps.bustracker.di
import android.content.Context
import com.vctapps.bustracker.data.location.LocationRepository
import com.vctapps.bustracker.data.setting.SettingsRepository
import com.vctapps.bustracker.data.setting.remote.RemoteSettingsDatasource
import com.vctapps.bustracker.domain.SettingGpsDevice
... | 0 | Kotlin | 2 | 10 | 2173e3ee29fa3937e1798e0328fe646447aa1fd8 | 1,610 | bus-tracker | MIT License |
compiler/testData/bytecodeVersion/obsoleteInlineSuspend/A.kt | bassoonist | 96,293,402 | false | null | package library
inline suspend fun foo() {}
suspend fun bar() {}
| 0 | null | 0 | 1 | d97fa604e11940db8cd0e70eedfadf702de6327f | 66 | kotlin | Apache License 2.0 |
purchases/src/main/kotlin/com/revenuecat/purchases/Purchases.kt | RevenueCat | 127,346,826 | false | null | // Purchases
//
// Copyright © 2019 RevenueCat, Inc. All rights reserved.
//
package com.revenuecat.purchases
import android.annotation.SuppressLint
import android.app.Activity
import android.app.Application
import android.content.Context
import android.os.Handler
import android.os.Looper
import android.util.Pair
i... | 18 | Kotlin | 35 | 178 | 129281946bef74f442a671e82ffb3e47bb590b6f | 87,892 | purchases-android | MIT License |
src/main/kotlin/nl/jackploeg/aoc/_2023/calendar/day18/Day18.kt | jackploeg | 736,755,380 | false | {"Kotlin": 318734} | package nl.jackploeg.aoc._2023.calendar.day18
import nl.jackploeg.aoc.utilities.Direction
import nl.jackploeg.aoc.utilities.readStringFile
import javax.inject.Inject
class Day18 @Inject constructor() {
var x = 0L
var y = 0L
var maxX = 0L
var minX = 0L
var maxY = 0L
var minY = 0L
fun part... | 0 | Kotlin | 0 | 0 | f2b873b6cf24bf95a4ba3d0e4f6e007b96423b76 | 6,255 | advent-of-code | MIT License |
Yukari/src/main/java/shibafu/yukari/media2/impl/RouterCake.kt | shibafu528 | 134,973,177 | false | {"Git Config": 1, "Gradle": 7, "Java Properties": 2, "Shell": 1, "Text": 3, "Ignore List": 6, "Batchfile": 1, "Markdown": 3, "Kotlin": 144, "Proguard": 1, "XML": 167, "Java": 150, "HTML": 1, "Ruby": 1} | package shibafu.yukari.media2.impl
/**
* 彼女の仕事場にケーキを差し入れして来た。
* 初夏に彼女に出会ってから今まで知らなかった世界を知ったし、自分の足りないところを色々と教わった。
* 働き者の彼女はこんな日も仕事だけど、支えてもらって本当に感謝してる。ありがとう。
*
* https://twitter.com/kamiya344/status/150588901919162368
*/
class RouterCake(private val browseURL: String) : D250g2("http://router-cake.d250g2.com") {
... | 42 | Java | 2 | 60 | fc7ae24272ce582df536e06f2a981fa3cfd6b521 | 540 | Yukari | Apache License 2.0 |
src/main/kotlin/de/sharetopia/productservice/product/exception/productIdUrlBodyMismatchException.kt | Sharetopia | 427,935,093 | false | {"Kotlin": 196168, "Dockerfile": 368} | package de.sharetopia.productservice.product.exception
import org.springframework.http.HttpStatus
class productIdUrlBodyMismatchException(productIdInUrl: String, productIdInBody: String) :
HttpException("In url provided product id $productIdInUrl mismatches product id $productIdInBody contained in body") {
ov... | 4 | Kotlin | 0 | 1 | d8221cbcacf259cb3dfd1c84f80307cfda822dbf | 379 | Product-Service | Apache License 2.0 |
app/src/main/java/xyz/savvamirzoyan/share/ajaxtest/domain/ContactDomain.kt | savvasenok | 435,991,257 | false | {"Kotlin": 52731} | package xyz.savvamirzoyan.share.ajaxtest.domain
import xyz.savvamirzoyan.share.ajaxtest.core.Abstract
import xyz.savvamirzoyan.share.ajaxtest.core.Matcher
import xyz.savvamirzoyan.share.ajaxtest.core.Updater
import xyz.savvamirzoyan.share.ajaxtest.data.ContactData
import xyz.savvamirzoyan.share.ajaxtest.data.db.Contac... | 0 | Kotlin | 0 | 0 | 55f22a7660bda29706bc2fb884eca50327767afb | 2,010 | ajax-test-app | MIT License |
libraries/tools/kotlin-gradle-plugin/src/test/kotlin/org/jetbrains/kotlin/gradle/targets/js/npm/NpmRangeTest.kt | JetBrains | 3,432,266 | false | {"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML... | /*
* Copyright 2010-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.gradle.targets.js.npm
import kotlin.test.Test
import kotlin.test.assertTrue
cl... | 181 | Kotlin | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 13,936 | kotlin | Apache License 2.0 |
app/src/main/java/cn/dong/architecture/ui/stories/StoriesActivity.kt | dongorigin | 112,937,423 | false | null | package cn.dong.architecture.ui.stories
import android.arch.lifecycle.Observer
import android.arch.lifecycle.ViewModelProviders
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import cn.dong.architecture.R
import kotlinx.android.synthetic.main.activity_stories.*
/**
* @author dong on 2018/03... | 0 | Kotlin | 0 | 0 | bb73d9703b39c3c1322a173287f544252458ad6a | 781 | android-architecture | MIT License |
ide-laf-bridge/src/main/kotlin/org/jetbrains/jewel/bridge/BridgeResourceResolver.kt | JetBrains | 440,164,967 | false | {"Kotlin": 1387584, "Java": 22778} | package org.jetbrains.jewel.bridge
import com.intellij.util.ui.DirProvider
import org.jetbrains.jewel.ui.painter.ResourcePainterProvider
/**
* [ResourcePainterProvider] to resolve resource in Intellij Module and Bridge module.
*/
fun bridgePainterProvider(path: String) =
ResourcePainterProvider(path, DirProvide... | 62 | Kotlin | 28 | 623 | 0ac4e0244cdf62255243e15d323df46eb255e0b7 | 391 | jewel | Apache License 2.0 |
agp-7.1.0-alpha01/tools/base/build-system/integration-test/application/src/test/java/com/android/build/gradle/integration/resources/DisableLibraryResourcesTest.kt | jomof | 502,039,754 | false | {"Java": 35519326, "Kotlin": 22849138, "C++": 2171001, "HTML": 1377915, "Starlark": 915536, "C": 141955, "Shell": 110207, "RenderScript": 58853, "Python": 25635, "CMake": 18109, "Batchfile": 12180, "Perl": 9310, "Dockerfile": 5690, "Makefile": 4535, "CSS": 4148, "JavaScript": 3488, "PureBasic": 2359, "GLSL": 1628, "AID... | /*
* Copyright (C) 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 app... | 1 | Java | 1 | 0 | 9e3475f6d94cb3239f27ed8f8ee81b0abde4ef51 | 10,874 | CppBuildCacheWorkInProgress | Apache License 2.0 |
agp-7.1.0-alpha01/tools/base/build-system/integration-test/application/src/test/java/com/android/build/gradle/integration/resources/DisableLibraryResourcesTest.kt | jomof | 502,039,754 | false | {"Java": 35519326, "Kotlin": 22849138, "C++": 2171001, "HTML": 1377915, "Starlark": 915536, "C": 141955, "Shell": 110207, "RenderScript": 58853, "Python": 25635, "CMake": 18109, "Batchfile": 12180, "Perl": 9310, "Dockerfile": 5690, "Makefile": 4535, "CSS": 4148, "JavaScript": 3488, "PureBasic": 2359, "GLSL": 1628, "AID... | /*
* Copyright (C) 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 app... | 1 | Java | 1 | 0 | 9e3475f6d94cb3239f27ed8f8ee81b0abde4ef51 | 10,874 | CppBuildCacheWorkInProgress | Apache License 2.0 |
app/src/main/java/pl/better/foodzilla/ui/theme/Theme.kt | kambed | 612,140,416 | false | null | package pl.better.foodzilla.ui.theme
import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.material.MaterialTheme
import androidx.compose.material.darkColors
import androidx.compose.material.lightColors
import androidx.compose.runtime.Composable
private val DarkColorPalette = darkColors(
... | 1 | Kotlin | 0 | 3 | 94a8993b3aefc6271cea6ffd95546cb8c02802f4 | 1,401 | FoodzillaFrontendAndroid | Apache License 2.0 |
Sushi/app/src/main/java/com/destructo/sushi/listener/MalUrlListener.kt | destructo570 | 302,356,237 | false | null | package com.destructo.sushi.listener
class MalUrlListener(val clickListener: (malUrl: String?) -> Unit) {
fun onClick(url: String) = clickListener(url)
} | 3 | Kotlin | 5 | 21 | 68317c04caa596103d3fd32b0f34fe43b189a721 | 158 | Sushi-Unofficial-MAL-Client | Apache License 2.0 |
src/main/kotlin/com/compiler/server/model/StackTraceElement.kt | AlexanderPrendota | 219,478,945 | false | null | package com.compiler.server.model
import com.fasterxml.jackson.annotation.JsonIgnoreProperties
@JsonIgnoreProperties(ignoreUnknown = true)
data class StackTraceElement(
val className: String = "",
val methodName: String = "",
val fileName: String = "",
val lineNumber: Int = 0
) | 14 | Kotlin | 47 | 89 | 95326951087813b6dea8b5ef4234fc06f252bd80 | 288 | kotlin-compiler-server | Apache License 2.0 |
ontrack-model/src/main/java/net/nemerosa/ontrack/model/docs/Documentation.kt | nemerosa | 19,351,480 | false | {"Git Config": 1, "Gradle Kotlin DSL": 67, "Markdown": 46, "Ignore List": 22, "Java Properties": 3, "Shell": 9, "Text": 3, "Batchfile": 2, "Groovy": 145, "JSON": 31, "JavaScript": 792, "JSON with Comments": 4, "GraphQL": 79, "Kotlin": 3960, "Java": 649, "HTML": 269, "PlantUML": 25, "AsciiDoc": 288, "XML": 9, "YAML": 33... | package net.nemerosa.ontrack.model.docs
import kotlin.reflect.KClass
/**
* Used by a class (or function, or property) to point to a type containing
* its documentation.
*/
@Target(AnnotationTarget.CLASS, AnnotationTarget.FIELD, AnnotationTarget.PROPERTY, AnnotationTarget.FUNCTION)
@Retention(AnnotationRetention.RU... | 44 | Kotlin | 26 | 96 | 759f17484c9b507204e5a89524e07df871697e74 | 405 | ontrack | MIT License |
src/main/kotlin/io/github/yuazer/zaxparticle/commands/AdminCommand.kt | YuaZer | 833,935,243 | false | {"Kotlin": 40463} | package io.github.yuazer.zaxparticle.commands
import io.github.yuazer.zaxparticle.ZaxParticle
import io.github.yuazer.zaxparticle.utils.MessageUtils
import io.github.yuazer.zaxparticle.utils.ParticleManager
import org.bukkit.command.CommandSender
import org.bukkit.entity.Entity
import org.bukkit.entity.Player
import t... | 0 | Kotlin | 0 | 0 | 39ae1e74387ae0f74b9849d44f57cbf2327f02f3 | 7,839 | ZaxParticle | Creative Commons Zero v1.0 Universal |
WorkIt/app/src/main/java/prot3ct/workit/utils/EndlessRecyclerViewScrollListener.kt | prot3ct | 510,755,420 | false | {"Kotlin": 213557, "C#": 92299, "Java": 2259, "ASP.NET": 107} | package prot3ct.workit.utils
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView
abstract class EndlessRecyclerViewScrollListener(layoutManager: LinearLayoutManager) :
RecyclerView.OnScrollListener() {
private val visibleThreshold = 6
private var curren... | 0 | Kotlin | 0 | 0 | b4381df44e222232c6a8c08e9453080742d9e3df | 1,781 | WorkItNow | MIT License |
actions-kotlin/src/jsMain/kotlin/actions/io/cp.kt | karakum-team | 393,199,102 | false | {"Kotlin": 6272741} | // Automatically generated - do not modify!
@file:JsModule("@actions/io")
package actions.io
import js.core.Void
import js.promise.Promise
import seskar.js.JsAsync
@JsAsync
external suspend fun cp(
source: String,
dest: String,
options: CopyOptions = definedExternally,
)
@JsName("cp")
external fun cpAs... | 0 | Kotlin | 8 | 36 | 95b065622a9445caf058ad2581f4c91f9e2b0d91 | 426 | types-kotlin | Apache License 2.0 |
base/src/main/kotlin/io/goooler/demoapp/base/util/AudioUtil.kt | Goooler | 188,988,687 | false | null | @file:Suppress("unused", "DEPRECATION", "MemberVisibilityCanBePrivate")
package io.goooler.demoapp.base.util
import android.content.Context
import android.media.AudioManager
import android.os.Build
import androidx.core.content.getSystemService
object AudioUtil {
/**
* 取消音频静音
*/
fun setMusicUnmute(context:... | 3 | Kotlin | 2 | 18 | b167a1ba8e6ddccec216254226059c676e800262 | 871 | DemoApp | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.