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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
app/src/main/java/com/example/project_auction/repository/AuctionRepository.kt | 4538cgy | 376,812,255 | false | null | package com.example.project_auction.repository
import com.example.project_auction.data.ProductAuctionDTO
import com.example.project_auction.data.ProductTradeDTO
import com.example.project_auction.data.UserDTO
import com.example.project_auction.util.http.HttpApi
import com.google.firebase.auth.FirebaseAuth
import com.g... | 1 | Kotlin | 1 | 0 | ca8352892909aa1516098fbd859705a11630dcdc | 8,000 | ProjectAuction | Apache License 2.0 |
app/src/main/java/com/jarvis/weatherj/data/remote/response/LangViResponse.kt | johanforce | 569,695,306 | false | {"Kotlin": 212462, "Java": 10587} | package com.jarvis.weatherj.data.remote.response
import com.google.gson.annotations.SerializedName
import com.jarvis.weatherj.domain.mapper.MapAbleToModel
import com.jarvis.weatherj.domain.model.model.demo.LangViModel
data class LangViResponse(
@SerializedName("value")
var value: String? = null
) : MapAbleToM... | 0 | Kotlin | 0 | 1 | e4aea6a097f3085305574c79985385919b343c90 | 455 | aether | MIT License |
soil-query-compose/src/commonMain/kotlin/soil/query/compose/InfiniteQueryObject.kt | soil-kt | 789,648,330 | false | {"Kotlin": 789346, "Makefile": 1014} | // Copyright 2024 Soil Contributors
// SPDX-License-Identifier: Apache-2.0
package soil.query.compose
import androidx.compose.runtime.Immutable
import androidx.compose.runtime.Stable
import soil.query.QueryFetchStatus
import soil.query.QueryModel
import soil.query.QueryStatus
import soil.query.core.Reply
import soil.... | 0 | Kotlin | 1 | 109 | 25c3fdd81db98ea44afbaf2776421373ed2d3d05 | 4,794 | soil | Apache License 2.0 |
memkched-client/src/test/kotlin/unit/com/raycoarana/memkched/internal/text/operation/SetOperationUnitTest.kt | raycoarana | 597,846,682 | false | null | package com.raycoarana.memkched.internal.text.operation
import com.raycoarana.memkched.api.Expiration.Relative
import com.raycoarana.memkched.api.Flags
import com.raycoarana.memkched.api.Reply
import com.raycoarana.memkched.internal.MemcachedException
import com.raycoarana.memkched.internal.result.SetResult
import com... | 7 | Kotlin | 0 | 0 | 97df1f6aacd8fb12983aefbfb4405b05ceaa1733 | 1,827 | memkched | MIT License |
app/src/main/kotlin/com/juniperphoton/myersplash/api/OkHttpClientAPI.kt | JuniperPhoton | 67,424,471 | false | null | package com.juniperphoton.myersplash.api
import com.juniperphoton.myersplash.di.AppComponent
import okhttp3.OkHttpClient
object OkHttpClientAPI {
fun createClient(): OkHttpClient {
val builder = OkHttpClient.Builder()
.addNetworkInterceptor { chain ->
val startMs = Syst... | 27 | Kotlin | 23 | 93 | d2e6da91c20b638445c60b089e9aa789c646d22b | 1,041 | MyerSplash.Android | MIT License |
app/src/main/java/com/example/android_study/performance_optimization/memory/POMemoryFragment.kt | RhythmCoderZZF | 281,057,053 | false | null | package com.example.android_study.performance_optimization.memory
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.example.android_study.R
import com.example.android_study._base.BaseFragment
/**
* Author:create by RhythmCoder
* Date:2021/... | 0 | Kotlin | 0 | 0 | 8de07e3a5613128ce05a9a0de2305bd02122da3a | 725 | AndroidStudy | Apache License 2.0 |
plugins-android/src/main/kotlin/com/github/kereis/medit/ui/components/TextActionButton.kt | kereis | 327,746,790 | false | {"Kotlin": 70791, "Roff": 268} | package com.github.kereis.medit.ui.components
import android.content.Context
import android.util.AttributeSet
class TextActionButton : androidx.appcompat.widget.AppCompatImageButton {
constructor(context: Context) : super(context)
constructor(context: Context, attrs: AttributeSet?) : super(context, attrs)
... | 0 | Kotlin | 0 | 1 | c68bd15a95ff9914912787ba8afaee0e0c7f8594 | 462 | medit | MIT License |
app/src/main/java/com/smartdevservice/mystudiofactory/ui/MyUserRecyclerViewAdapter.kt | ibenabdallah | 258,314,964 | false | null | package com.smartdevservice.mystudiofactory.ui
import android.content.Context
import androidx.recyclerview.widget.RecyclerView
import androidx.swiperefreshlayout.widget.CircularProgressDrawable
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
imp... | 0 | Kotlin | 0 | 0 | d0a1dff1c0791d53479159c0a395e10413cd65b2 | 2,318 | MyStudioFactory | MIT License |
image-loader/src/androidMain/kotlin/com/seiko/imageloader/component/decoder/SvgDecoder.kt | qdsfdhvh | 502,954,331 | false | null | package com.seiko.imageloader.component.decoder
import androidx.compose.ui.unit.Density
import com.caverock.androidsvg.SVG
import com.seiko.imageloader.model.mimeType
import com.seiko.imageloader.option.Options
import com.seiko.imageloader.option.androidContext
import com.seiko.imageloader.util.SVGPainter
import com.s... | 19 | null | 7 | 327 | 76e423cb9b8e8d2fce1f75b523baf97adf0b6bf1 | 1,625 | compose-imageloader | MIT License |
packages/expo-notifications/android/src/main/java/expo/modules/notifications/service/delegates/ExpoHandlingDelegate.kt | ksvkabra | 305,216,518 | true | {"Objective-C": 20906548, "Java": 18328002, "C++": 11155354, "Objective-C++": 4007298, "TypeScript": 2989946, "JavaScript": 985877, "Starlark": 650756, "Ruby": 649800, "Kotlin": 619051, "C": 544006, "HTML": 107884, "Assembly": 62312, "Makefile": 50990, "Swift": 49866, "Shell": 46082, "Groovy": 9641, "CSS": 5224, "CMake... | package expo.modules.notifications.service.delegates
import android.content.Context
import androidx.lifecycle.Lifecycle
import androidx.lifecycle.ProcessLifecycleOwner
import expo.modules.notifications.notifications.NotificationManager
import expo.modules.notifications.notifications.model.Notification
import expo.modu... | 1 | Objective-C | 1 | 1 | d0875b70d2158c19800e389e138a78e29f60c67e | 2,978 | expo | MIT License |
newm-server/src/main/kotlin/io/newm/server/features/user/verify/AppleMusicProfileUrlVerifier.kt | projectNEWM | 447,979,150 | false | null | package io.newm.server.features.user.verify
import io.ktor.client.HttpClient
import io.ktor.client.call.body
import io.ktor.client.request.accept
import io.ktor.client.request.get
import io.ktor.http.ContentType
import io.ktor.http.isSuccess
import io.ktor.util.logging.Logger
import io.newm.shared.koin.inject
import i... | 1 | null | 4 | 9 | f1478aa4365389e69743bfe214510556eb904b14 | 2,410 | newm-server | Apache License 2.0 |
kotlin/hole3/src/test/kotlin/hole3/TakeHomeCalculatorTest.kt | tripledio | 458,760,679 | false | null | package hole3
import org.junit.jupiter.api.*
import org.junit.jupiter.api.Assertions.assertEquals
class TakeHomeCalculatorTest {
@Test
fun canCalculateTax() {
val first: Int =
TakeHomeCalculator(10).netAmount(
TakeHomeCalculator.Money(40, "GBP"),
TakeHomeCa... | 1 | null | 1 | 1 | 2a0666ef08c1796efbfdfbdd9229cd240172d282 | 720 | refactoring-golf | MIT License |
app/src/test/java/com/github/moko256/twitlatte/collections/LruCacheTest.kt | moko256 | 64,185,267 | false | null | /*
* Copyright 2015-2019 The twitlatte authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | 40 | null | 13 | 99 | b1ef984b16c5e548b973c51227453cd418b4ba62 | 1,999 | twitlatte | Apache License 2.0 |
src/main/kotlin/net/mt32/expoll/plugins/Security.kt | Universumgames | 508,613,455 | false | {"Kotlin": 316774, "TSQL": 5917, "HTML": 5515, "Dockerfile": 2071, "Shell": 1904, "CSS": 1207} | package net.mt32.expoll.plugins
import com.auth0.jwt.JWT
import com.auth0.jwt.algorithms.Algorithm
import io.ktor.http.*
import io.ktor.http.auth.*
import io.ktor.server.application.*
import io.ktor.server.auth.*
import io.ktor.server.auth.jwt.*
import io.ktor.server.plugins.ratelimit.*
import io.ktor.server.request.*... | 0 | Kotlin | 1 | 0 | da5ae3dec1a7a947011b218f671a1a2358f46cc0 | 4,083 | expoll_server | MIT License |
lib/src/main/kotlin/treelib/singleObjects/exceptions/MultithreadingException.kt | spbu-coding-2022 | 616,414,890 | false | null | package treelib.singleObjects.exceptions
open class MultithreadingException : Exception {
constructor() : super(
"Possible problem with multithreading",
)
constructor(message: String) : super(
"Possible problem with multithreading -> $message",
)
constructor(message: String, cause... | 9 | Kotlin | 2 | 4 | 8abae618ab4f5b6d329046b897d1e62f60e1f8f0 | 475 | trees-1 | Apache License 2.0 |
sample/src/main/kotlin/dev/olshevski/navigation/reimagined/sample/ui/demo/BottomNavigationScreen.kt | olshevski | 455,126,442 | false | {"Kotlin": 359651, "Shell": 242} | package dev.olshevski.navigation.reimagined.sample.ui.demo
import androidx.activity.compose.BackHandler
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.material.BottomNavigation
import androidx.compose.material.BottomNavigationItem
import androidx.... | 5 | Kotlin | 17 | 507 | 665ddfce244666e2a6679b9ca1a5363b49a623b7 | 8,004 | compose-navigation-reimagined | MIT License |
app/src/main/java/college/wyk/app/ui/feed/sns/SnsFeedFragment.kt | WYKCode | 81,462,363 | false | null | package college.wyk.app.ui.feed.sns
import android.os.Bundle
import android.os.Handler
import android.support.design.widget.Snackbar
import android.support.v7.widget.LinearLayoutManager
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import college.wyk.... | 1 | null | 1 | 7 | 4205693ca71267b2d149380588bb94a334104435 | 6,258 | WYK-Android | MIT License |
domain/src/main/java/com/gmart/domain/usecase/SearchUseCase.kt | gimartinez17 | 771,233,885 | false | {"Kotlin": 515365, "CMake": 1625, "C++": 259} | package com.gmart.domain.usecase
import com.gmart.domain.model.MediaType
import com.gmart.domain.repository.SearchRepository
import javax.inject.Inject
class SearchUseCase @Inject constructor(private val repository: SearchRepository) {
suspend fun searchMultiMedia(query: String, mediaType: MediaType, page: Int) =... | 0 | Kotlin | 1 | 1 | da0854981d865fb7207767ae3e6a4c8ce1f441a8 | 382 | movies-app | MIT License |
domain/src/main/java/com/gmart/domain/usecase/SearchUseCase.kt | gimartinez17 | 771,233,885 | false | {"Kotlin": 515365, "CMake": 1625, "C++": 259} | package com.gmart.domain.usecase
import com.gmart.domain.model.MediaType
import com.gmart.domain.repository.SearchRepository
import javax.inject.Inject
class SearchUseCase @Inject constructor(private val repository: SearchRepository) {
suspend fun searchMultiMedia(query: String, mediaType: MediaType, page: Int) =... | 0 | Kotlin | 1 | 1 | da0854981d865fb7207767ae3e6a4c8ce1f441a8 | 382 | movies-app | MIT License |
buildSrc/src/main/kotlin/com/google/devtools/ksp/ApiCheck.kt | google | 297,744,725 | false | null | /*
* Copyright 2022 Google LLC
* Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors.
*
* 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.apac... | 224 | Kotlin | 216 | 2,219 | 946ccfec158330250bd257bc1e4a785440ece61d | 3,009 | ksp | Apache License 2.0 |
src/main/kotlin/com/nowak/demo/view/EditPassword.kt | KamilaNowak | 253,590,927 | false | null | package com.nowak.demo.view
import com.nowak.demo.controllers.UserController
import javafx.beans.property.SimpleStringProperty
import tornadofx.*
class EditPassword : View("Change password") {
private val newPassword = SimpleStringProperty()
private val oldPassword = SimpleStringProperty()
private val us... | 6 | Kotlin | 0 | 5 | 7db18fbb23736be92db641b5d6e65d40de1350b9 | 1,476 | invoice-manager | MIT License |
shell/src/test/kotlin/app/graviton/shell/RuntimeUpdateTest.kt | graviton-browser | 127,417,210 | false | null | package app.graviton.shell
import org.junit.Test
import java.nio.file.Files
import java.nio.file.Files.newOutputStream
import java.nio.file.Files.walk
import java.nio.file.Path
import java.security.SignatureException
import java.util.jar.JarEntry
import java.util.jar.JarInputStream
import java.util.jar.JarOutputStream... | 39 | null | 7 | 39 | ce6180b85c627293d22e76073ecf9b06910af310 | 3,955 | graviton-browser | Apache License 2.0 |
app/src/main/java/com/wangyiheng/vcamsx/utils/VideoPlayer.kt | Xposed-Modules-Repo | 730,140,026 | false | {"Kotlin": 59248} | package com.wangyiheng.vcamsx.utils
import androidx.media3.datasource.DefaultDataSource
import androidx.media3.exoplayer.ExoPlayer
class VideoPlayer {
var dataSourceFactory: DefaultDataSource.Factory? = null
var player_exoplayer: ExoPlayer? = null
} | 3 | Kotlin | 15 | 89 | c41beb5e86a9faad902789dd50d97d5652ad71bd | 259 | com.wangyiheng.vcamsx | MIT License |
data/repository/impl/src/main/kotlin/dev/yacsa/repository/impl/mapper/book/NewBookRepoNetMapper.kt | andrew-malitchuk | 589,720,124 | false | null | package dev.yacsa.repository.impl.mapper.book
import dev.yacsa.network.model.BookNetModel
import dev.yacsa.repository.model.BookRepoModel
import org.mapstruct.Mapper
@Mapper
interface NewBookRepoNetMapper {
fun toRepo(
bookNetModel: BookNetModel,
): BookRepoModel
fun toNet(
bookRepoModel... | 0 | Kotlin | 0 | 0 | e35620cf1c66b4f76f0ed30d9c6d499acd134403 | 359 | yet-another-compose-showcase-app | MIT License |
src/plugin-api/main/uk/co/reecedunn/intellij/plugin/processor/run/execution/filters/QueryErrorStackTraceFilter.kt | rhdunn | 62,201,764 | false | null | /*
* Copyright (C) 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 wr... | 47 | Kotlin | 4 | 25 | d363dad28df1eb17c815a821c87b4f15d2b30343 | 2,776 | xquery-intellij-plugin | Apache License 2.0 |
dsl/inspector/src/main/kotlin/software/amazon/awscdk/dsl/services/inspector/dsl.kt | aws-cdk-dsl | 176,878,480 | false | {"Kotlin": 3500307} | package software.amazon.awscdk.dsl.services.inspector
/**
* @see software.amazon.awscdk.services.inspector.CfnResourceGroup
*/
fun software.amazon.awscdk.Construct.cfnResourceGroup(id: String,
props: software.amazon.awscdk.services.inspector.CfnResourceGroupProps? = null,
ini... | 2 | Kotlin | 0 | 31 | 054694dc9793b7455c517af6afd666ec742594d4 | 6,120 | aws-cdk-kotlin-dsl | MIT License |
app/src/main/java/org/wikiedufoundation/wikiedudashboard/ui/campaign/data/CampaignListData.kt | ujjwalagrawal17 | 172,787,530 | false | null | package org.wikiedufoundation.wikiedudashboard.ui.campaign.data
import com.google.gson.annotations.SerializedName
/**
* [CampaignListData] model class
* @constructor primary constructor
*
* @property id Integer, campaign id
* @property title String, campaign title
* @property slug String, campaign slug
* @pro... | 0 | null | 0 | 3 | e170828085fa04b6973fc5f0fdb440b4cde97459 | 873 | apps-android-wikiedudashboard | MIT License |
ui-extension/src/main/java/com/highcapable/betterandroid/ui/extension/component/base/Dimension.kt | BetterAndroid | 708,020,230 | false | {"Kotlin": 581755, "TypeScript": 8083, "Java": 6779, "SCSS": 3606, "Shell": 254} | /*
* Better Android - Create more useful tool extensions for Android.
* Copyright (C) 2019-2024 HighCapable
* https://github.com/BetterAndroid/BetterAndroid
*
* Apache License Version 2.0
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with th... | 0 | Kotlin | 0 | 63 | c9e2ed9ee81cb8bcd0fa15f51887c4c5cbbe56cf | 7,858 | BetterAndroid | Apache License 2.0 |
defitrack-rest/defitrack-protocol-services/defitrack-protocol-service/src/main/java/io/defitrack/exception/ExceptionControllerAdvice.kt | decentri-fi | 426,174,152 | false | null | package io.defitrack.exception
import org.springframework.http.ResponseEntity
import org.springframework.web.bind.annotation.ControllerAdvice
import org.springframework.web.bind.annotation.ExceptionHandler
@ControllerAdvice
class ExceptionControllerAdvice {
@ExceptionHandler(value = [TransactionPreparationExcept... | 59 | Kotlin | 7 | 9 | f7c65aa58bec3268101d90fc538c3f8bd0c29093 | 585 | defi-hub | MIT License |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/appmesh/CfnRouteMatchRangePropertyDsl.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 63959868} | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package io.cloudshiftdev.awscdkdsl.services.appmesh
import io.cloudshiftdev.awscdkdsl.common.CdkDslMa... | 4 | Kotlin | 0 | 3 | c59c6292cf08f0fc3280d61e7f8cff813a608a62 | 1,592 | awscdk-dsl-kotlin | Apache License 2.0 |
app/src/main/java/com/simbiri/equityjamii/adapters/TaskAdapter.kt | SimbaSimbiri | 706,250,529 | false | {"Kotlin": 175830} | package com.simbiri.equityjamii.adapters
import android.content.Context
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.simbiri.equityjamii.R
class TaskDataAdapter(
var context: Con... | 0 | Kotlin | 0 | 0 | 41a9e0e6112ba1b30badacf70a68a50946012880 | 1,695 | EquiJamii | Apache License 2.0 |
dartmazing_network/android/src/main/kotlin/com/dartmazing_network/Network.kt | HelioMesquita | 346,852,089 | false | {"Dart": 70309, "HTML": 7392, "Kotlin": 5072, "Swift": 4429, "Ruby": 3587, "Objective-C": 801} | import com.dartmazing_network.RequestError
import com.dartmazing_network.RequestNative
import okhttp3.Call
import okhttp3.Callback
import okhttp3.OkHttpClient
import okhttp3.Response
import okio.IOException
class Network {
private val client = OkHttpClient()
fun fetch(requestNative: RequestNative,
... | 0 | Dart | 0 | 3 | a04e37524228a9e89402b2356d0a6b30a394a56d | 1,310 | Dartmazing | MIT License |
app/src/main/java/com/liorhass/android/usbterminal/free/main/UserInputHandler.kt | liorhass | 487,762,182 | false | null | // Copyright 2022 Lior Hass
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writin... | 0 | Kotlin | 1 | 7 | 08138ccb3a059e15fb6e0c2ebceb5b7909d9cd06 | 9,113 | UsbTerminal | Apache License 2.0 |
app/src/main/kotlin/me/mataha/misaki/util/extensions/OutputStream.kt | mataha | 302,513,601 | false | null | @file:Suppress("NOTHING_TO_INLINE")
package me.mataha.misaki.util.extensions
import me.mataha.misaki.util.internal.annotations.InlineCall
import java.io.OutputStream
import java.io.PrintWriter
import java.nio.charset.Charset
@InlineCall
inline fun OutputStream.printWriter(charset: Charset = Charsets.UTF_8, autoFlush... | 0 | Kotlin | 0 | 0 | 82fac9dae62136da8217e21ef5a0d6984d6310e0 | 411 | misaki | MIT License |
shared/src/commonMain/kotlin/com/flexcode/kmmcaching/cache/DatabaseDriverFactory.kt | Felix-Kariuki | 519,830,881 | false | {"Kotlin": 11228, "Swift": 345} | package com.flexcode.kmmcaching.cache
import com.squareup.sqldelight.db.SqlDriver
expect class DatabaseDriverFactory {
fun createDriver(): SqlDriver
} | 0 | Kotlin | 0 | 7 | 3686fcf0f0507717d0b07b5bdeca1fe014962a84 | 156 | KmmCaching | MIT License |
src/main/kotlin/com/hj/leetcode/kotlin/problem525/Solution.kt | hj-core | 534,054,064 | false | {"Kotlin": 804951} | package com.hj.leetcode.kotlin.problem525
/**
* LeetCode page: [525. Contiguous Array](https://leetcode.com/problems/contiguous-array/);
*/
class Solution {
/* Complexity:
* Time O(N) and Space O(N) where N is the size of nums;
*/
fun findMaxLength(nums: IntArray): Int {
var result = 0
... | 0 | Kotlin | 0 | 2 | 34087964909fb200e3bad3e8495a3fa8969fd95b | 802 | hj-leetcode-kotlin | Apache License 2.0 |
app/src/main/java/im/fdx/v2ex/ui/member/DiffReply.kt | codecopy | 158,506,466 | true | {"Kotlin": 246557, "Java": 18631} | package im.fdx.v2ex.ui.member
import androidx.recyclerview.widget.DiffUtil
/**
* Created by fdx on 2017/7/31.
*
*/
class DiffReply(val oldList: List<MemberReplyModel>, val newList: List<MemberReplyModel>) : DiffUtil.Callback() {
override fun areItemsTheSame(oldItemPosition: Int, newItemPosition: Int)
... | 0 | Kotlin | 0 | 0 | 3921fb6b426576a4d2645f8bc7fb7973f293514c | 964 | v2ex-simple | Apache License 2.0 |
app/src/main/java/com/sthoray/allright/data/model/user/User.kt | sthoray | 256,656,393 | false | null | package com.sthoray.allright.data.model.user
import com.google.gson.annotations.SerializedName
/**
* Model for user data.
*
* Some fields have been omitted as they are currently not in use or have not
* been verified for behaviour.
*
* @property id id The user's numeric ID.
* @property firstName The user's fir... | 6 | Kotlin | 1 | 1 | db0caeda82fc65d43c55c6ab59401f1893beb082 | 2,266 | AllRight | Apache License 2.0 |
language/src/main/kotlin/dev/abla/language/nodes/IndexAccess.kt | AndreBaltazar8 | 259,757,875 | false | {"Gradle Kotlin DSL": 10, "Markdown": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Git Attributes": 1, "Kotlin": 81, "INI": 1, "Java": 1, "ANTLR": 2, "XML": 10} | package dev.abla.language.nodes
import dev.abla.language.ASTVisitor
import dev.abla.language.Position
data class IndexAccess(
var expression: Expression,
var index: Expression,
override val position: Position
) : Expression {
override suspend fun accept(visitor: ASTVisitor) {
visitor.visit(thi... | 0 | Kotlin | 1 | 3 | f14350cebfe7ca116c4884d136bfe36f7c7f47b7 | 474 | ablac | MIT License |
utils/keycloak-reactive-client/src/test/kotlin/io/github/novemdecillion/utils/keycloak/client/KeycloakTest.kt | novemdecillion | 332,666,905 | false | null | package io.github.novemdecillion.utils.keycloak.client
import io.github.novemdecillion.utils.lang.logger
import org.apache.commons.lang3.RandomStringUtils
import org.junit.jupiter.api.Test
import org.keycloak.representations.idm.UserRepresentation
import org.springframework.http.HttpStatus
import org.springframework.w... | 10 | Kotlin | 0 | 0 | ea259afd23a28ccf03aa7c5c6f35b932d2c22182 | 3,312 | magic-lantern | Apache License 2.0 |
idea/tests/testData/slicer/outflow/implicitReceiver.kt | JetBrains | 278,369,660 | false | null | // FLOW: OUT
class C {
fun Int.outer() {
fun String.stringExtensionFun() = this
fun Int.intExtensionFun() = this
fun C.cExtensionFun() = this
fun String.foo() {
val string = stringExtensionFun()
val int = intExtensionFun()
val c = cExtensionFun()... | 0 | Kotlin | 30 | 82 | cc81d7505bc3e9ad503d706998ae8026c067e838 | 399 | intellij-kotlin | Apache License 2.0 |
plugins/kotlin/idea/tests/testData/intentions/usePropertyAccessSyntax/referenceIsGetter.kt | ingokegel | 72,937,917 | false | null | // COMPILER_ARGUMENTS: -XXLanguage:+ReferencesToSyntheticJavaProperties
// IS_APPLICABLE: false
fun main() {
suppressUnused(Foo::<caret>isFoo)
}
fun suppressUnused(foo: (Foo) -> Boolean): Any = foo
| 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 203 | intellij-community | Apache License 2.0 |
src/main/kotlin/com/cognifide/gradle/aem/common/instance/action/CheckAction.kt | wttech | 90,353,060 | false | {"Kotlin": 792222, "Shell": 8269, "Batchfile": 438} | package com.cognifide.gradle.aem.common.instance.action
import com.cognifide.gradle.aem.AemExtension
import com.cognifide.gradle.aem.common.instance.Instance
import com.cognifide.gradle.aem.common.instance.check.CheckRunner
import com.cognifide.gradle.aem.common.instance.names
/**
* Verify instances using custom run... | 53 | Kotlin | 32 | 158 | 18d6cab33481f8f883c6139267fb059f7f6047ae | 810 | gradle-aem-plugin | Apache License 2.0 |
src/main/test1.ws.kts | szf5 | 354,322,814 | false | null | fun inc(value: Int): Int {
return value.inc()
}
fun returnInc(value: Int): Int {
return inc(value)
}
fun returnReturnInc(value: Int): Int {
return return inc(value)
}
inc(1)
returnInc(1)
returnReturnInc(1)
fun rTRTRTTRTRTRRRTTTTRTRTRTRTRTRRRRInc(): Int {
return throw return throw throw throw return thr... | 0 | Kotlin | 0 | 0 | fdbc02136f973a1c475f72465232583024d7a0b3 | 386 | kotlin-return-return-x | Creative Commons Zero v1.0 Universal |
src/main/kotlin/com/fardragi/nyaruko/modules/auth/messages/RegisterMessage.kt | FarDragi | 833,427,741 | false | {"Kotlin": 44914} | package com.fardragi.nyaruko.auth.messages
import com.fardragi.nyaruko.utils.MessageBuilder
import com.fardragi.nyaruko.utils.TextBuilder
import net.minecraft.event.ClickEvent
import net.minecraft.event.HoverEvent
import net.minecraft.util.EnumChatFormatting
object RegisterMessage {
fun usageAction(): TextBuilder... | 0 | Kotlin | 0 | 1 | f7d74b2c387b9a447cbef57e04c1c02091b8aefb | 1,609 | Nyaruko | MIT License |
lib/kt/REC/SCMCOLLECTION.kt | DigitalArsenal | 252,182,359 | false | {"C#": 2775663, "TypeScript": 2229744, "JavaScript": 2158099, "PHP": 2126586, "Java": 1938765, "Kotlin": 1902504, "Rust": 1360391, "Python": 957257, "Swift": 673698, "C++": 627220, "HTML": 595516, "Dart": 582689, "CSS": 374225, "C": 63122, "Svelte": 54649, "SCSS": 2417} | // automatically generated by the FlatBuffers compiler, do not modify
import com.google.flatbuffers.BaseVector
import com.google.flatbuffers.BooleanVector
import com.google.flatbuffers.ByteVector
import com.google.flatbuffers.Constants
import com.google.flatbuffers.DoubleVector
import com.google.flatbuffers.FlatBuffer... | 4 | C# | 7 | 19 | 0a4bb4828fa8fe30758a2c5180b0b82b59cf17e5 | 2,693 | spacedatastandards.org | Apache License 2.0 |
app/src/main/java/com/dluvian/voyage/data/preferences/RelayPreferences.kt | dluvian | 766,355,809 | false | null | package com.dluvian.voyage.data.preferences
import android.content.Context
import com.dluvian.voyage.core.DEFAULT_AUTOPILOT_RELAYS
import com.dluvian.voyage.core.MAX_AUTOPILOT_RELAYS
import com.dluvian.voyage.core.MIN_AUTOPILOT_RELAYS
private const val SEND_AUTH = "send_auth"
private const val SEND_BOOKMARKED_TO_LOCA... | 42 | null | 4 | 40 | e117d2d00f1e92bc0d5117055169b03906feb479 | 2,569 | voyage | MIT License |
jtransc-buildjar-maven-plugin/test/com/jtransc/tools/HaxeToolsTest.kt | renesugar | 124,779,921 | true | {"Java": 7367530, "Kotlin": 1166258, "C++": 195369, "Haxe": 81907, "Dart": 45335, "JavaScript": 43492, "PHP": 32490, "HTML": 23453, "ActionScript": 19957, "C#": 15716, "D": 15707, "AngelScript": 6459, "CMake": 1698, "Batchfile": 745, "Shell": 254} | package com.jtransc.tools
import org.junit.Assert
import org.junit.Assert.*
import org.junit.Test
class HaxeToolsTest {
@Test
fun name() {
val haxeTools = HaxeTools
Assert.assertNotNull(haxeTools)
}
} | 0 | Java | 0 | 0 | 9a562bf3f855c16cbea8c8c2e2ca4f3665d8626a | 209 | jtransc | Apache License 2.0 |
plugins/kotlin/project-tests/project-tests-base/test/org/jetbrains/kotlin/idea/project/test/base/actions/executors/ActionExecutorFactory.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 org.jetbrains.kotlin.idea.project.test.base.actions.executors
import org.jetbrains.kotlin.idea.project.test.base.actions.HighlightFileAction
import org.jetbrains.kotlin.idea.project.test.bas... | 236 | null | 4946 | 15,650 | 32f33d7b7126014b860912a5b6088ffc50fc241d | 708 | intellij-community | Apache License 2.0 |
datastore/datastore-preferences-core/src/commonTest/kotlin/androidx/datastore/preferences/core/PreferencesTest.kt | androidx | 256,589,781 | false | null | /*
* Copyright 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 29 | null | 937 | 5,321 | 98b929d303f34d569e9fd8a529f022d398d1024b | 13,114 | androidx | Apache License 2.0 |
appcompat/appcompat/src/test/java/androidx/appcompat/app/AppCompatResourcesRobolectricTest.kt | RikkaW | 389,105,112 | false | null | /*
* Copyright 2019 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 1 | null | 1 | 7 | 6d53f95e5d979366cf7935ad7f4f14f76a951ea5 | 2,441 | androidx | Apache License 2.0 |
src/main/java/com/yazan98/destiny/server/config/WebConfig.kt | Yazan98 | 230,821,005 | false | {"Gradle": 2, "Markdown": 2, "YAML": 2, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "JSON": 1, "Java Properties": 2, "Java": 27, "Kotlin": 54, "XML": 1, "Dockerfile": 1} | package com.yazan98.destiny.server.config
import org.springframework.context.annotation.Configuration
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry
import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
/**
* Created By : Yazan Tarifi
* Date : 12/30/20... | 1 | null | 1 | 1 | d416bb5980e17e822ef59f8dfa95945ffb40741c | 652 | Destiny-Api | Apache License 2.0 |
KotlinMobileApp/KotlinMobileApp/app/src/main/java/com/neudesic/catquiz/models/Choice.kt | PhoenixMobileUserGroup | 191,261,064 | false | null | package com.neudesic.catquiz.models
import com.neudesic.catquiz.enums.ChoiceStage
import com.neudesic.catquiz.enums.QuizType
import java.io.Serializable
class Choice( val text: String, val stage: ChoiceStage, val quizType: QuizType, var isSelected: Boolean = false): Serializable {
} | 0 | Kotlin | 0 | 0 | f5a9337f4090072dbb60fba7c49424ecdd053966 | 285 | 06.11.19_BuildingYourAppInKotlinVsJava | MIT License |
card-reader-util/src/main/java/com/gbsys/card_reader_util/models/Network.kt | JulianSalinas | 246,587,829 | false | {"Java": 171863, "Kotlin": 38316} | package com.gbsys.card_reader_util.models
object Network {
const val MASTERCARD = "MasterCard"
const val VISA = "Visa"
const val AMERICAN_EXPRESS = "American Express"
val TABLE = mapOf(
"A000000004" to MASTERCARD,
"A000000003" to VISA,
"A000000025" to AMERICAN_EXPRESS
)
} | 1 | Java | 1 | 1 | aaa93985fda0e61b973ec9c3495562f910a943ca | 320 | card-reader-util | Apache License 2.0 |
app/src/main/java/com/google/mlkit/vision/demo/viewmodel/HospitalViewModel.kt | Utkarsh-Arora-007 | 562,380,093 | true | {"Java Properties": 2, "Gradle": 3, "Shell": 1, "Markdown": 2, "Batchfile": 1, "Text": 2, "Ignore List": 1, "JSON": 8, "XML": 66, "Java": 48, "Kotlin": 81} | package com.google.mlkit.vision.demo.viewmodel
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.google.mlkit.vision.demo.dataclass.Hospitals
import com.google.mlkit.vision.demo.network.MainRepository
import kotlinx.coroutines.launch
clas... | 0 | Java | 0 | 0 | d880fa332e3d0e624c11dbefd80ff5b0998510ca | 641 | sahayak-2 | Apache License 2.0 |
Source/packages/apps/ThemePicker/src/com/android/customization/picker/preview/ui/section/PreviewWithThemeSectionController.kt | stayboogy | 784,959,483 | false | {"XML": 12479, "Ignore List": 14, "Markdown": 7, "Text": 104, "Shell": 20, "Makefile": 32, "INI": 11, "Soong": 58, "Java": 9482, "Gradle": 8, "Java Properties": 5, "Batchfile": 3, "Proguard": 2, "Protocol Buffer": 33, "JSON": 83, "Python": 6, "Kotlin": 469, "C++": 24, "XSLT": 1, "HTML": 5, "C": 23, "AIDL": 5, "Git Attr... | /*
* Copyright (C) 2023 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... | 0 | Java | 0 | 0 | e6132560c5e2416db150b856bd3f331d80795c4c | 4,996 | stayboogy_AOSimPle_Pixel-5_Redfin | Apache License 2.0 |
masmini-processor-test/src/main/java/masmini/test/BasicState.kt | masmovil | 233,856,319 | false | null | package masmini.test
data class BasicState(val value: String = "initial") | 1 | null | 1 | 1 | 1f70b9151e7bfa44a3243b5017a15d15fdbdbf0e | 74 | masmini-kotlin | Apache License 2.0 |
151004/Bashlikov/rv_task01/src/main/kotlin/by/bashlikovvv/api/dto/mappers/CreateTagDtoToTagDtoMapper.kt | BashlikovV | 762,697,081 | true | {"Markdown": 8, "Batchfile": 20, "Java": 1887, "INI": 63, "TypeScript": 88, "SQL": 12, "C#": 1196, "Go": 20, "Java Properties": 8, "HTML": 3, "Shell": 6, "JavaScript": 1, "Gradle Kotlin DSL": 21, "Dockerfile": 4, "Kotlin": 343, "CSS": 4, "HTML+Razor": 6, "Java Server Pages": 5} | package by.bashlikovvv.api.dto.mappers
import by.bashlikovvv.api.dto.request.CreateTagDto
import by.bashlikovvv.api.dto.response.TagDto
import by.bashlikovvv.util.IMapper
class CreateTagDtoToTagDtoMapper(
private val id: Long,
private val name: String
) : IMapper<CreateTagDto, TagDto> {
override fun mapFr... | 0 | Java | 0 | 0 | c3388a3e8320bd7d5e950d7d4b67b113072ce0b0 | 562 | DC2024-01-27 | MIT License |
core/src/main/java/merkulyevsasha/ru/domain/login/exceptions/SomethingWrongException.kt | sashamerkulev | 153,995,748 | false | null | package merkulyevsasha.ru.domain.login.exceptions
import merkulyevsasha.ru.domain.DomainException
class SomethingWrongException : DomainException()
| 0 | Kotlin | 0 | 0 | e8d0367863ea2ebb93ccdf181a27f8a9685c5c60 | 150 | ITLanch | Apache License 2.0 |
alphonse-validator-lib/src/main/java/com/atthapon/alphonsevalidator/rules/MaxLengthRule.kt | atthapon-k | 158,214,450 | false | null | package com.atthapon.alphonsevalidator.rules
class MaxLengthRule(private val maxLength: Int, var errorMsg: String? = null): BaseRule {
override fun validate(text: String): Boolean {
return text.length <= maxLength
}
override fun getErrorMessage() = errorMsg
override fun setError(msg: String) ... | 1 | null | 1 | 1 | 84bd5c99e21dfb002b2994fec4b7278ed5f231f0 | 352 | alphonse-validator | Apache License 2.0 |
src/main/kotlin/org/yinwang/pysonar/ast/Attribute.kt | lice-lang | 110,064,855 | false | {"Gradle": 2, "Shell": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "Java Properties": 1, "Java": 57, "Python": 24, "CSS": 1, "JavaScript": 2, "Kotlin": 55, "JSON": 10} | package org.yinwang.pysonar.ast
class Attribute(var target: Node, var attr: Name, file: String, start: Int, end: Int) : Node(NodeType.ATTRIBUTE, file, start, end) {
init {
addChildren(target, attr)
}
override fun toString() = "<Attribute:" + start + ":" + target + "." + attr.id + ">"
}
| 1 | null | 1 | 1 | 1f8fd89c13d96919391887fbb5399ed6aba51f72 | 294 | pysonar2 | BSD Zero Clause License |
solar/src/main/java/com/chiksmedina/solar/outline/arrows/DoubleAltArrowLeft.kt | CMFerrer | 689,442,321 | false | {"Kotlin": 36591890} | package com.chiksmedina.solar.outline.arrows
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.... | 0 | Kotlin | 0 | 0 | 3414a20650d644afac2581ad87a8525971222678 | 2,607 | SolarIconSetAndroid | MIT License |
app/src/main/java/com/moataz/afternoonhadeeth/data/model/videos/top/Data.kt | ahmed-tasaly | 533,010,125 | false | null | package com.moataz.afternoonhadeeth.data.model.videos.top
import android.os.Parcel
import android.os.Parcelable
import androidx.annotation.Keep
@Keep
data class Data(
val details: String?,
val image: String?,
val text: String?,
val times: String?,
val url: String?
) : Parcelable {
constructor(... | 0 | Kotlin | 0 | 1 | ec70b362b5966475693e7f7a406a397ee08099d4 | 1,082 | Sunset-Hadith-Market | Apache License 2.0 |
authentication/src/main/kotlin/com/uber/sdk2/auth/ui/UberAuthButton.kt | uber | 46,449,357 | false | {"Java": 475289, "Kotlin": 114386, "Shell": 941, "Groovy": 214} | /*
* Copyright (C) 2024. Uber Technologies
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | 47 | Java | 125 | 292 | d581a91c555bf3d1ca8963259fc193b1da7bfa31 | 2,804 | rides-android-sdk | MIT License |
app/shared/analytics/impl/src/commonTest/kotlin/build/wallet/analytics/events/AnalyticsTrackingPreferenceImplTests.kt | proto-at-block | 761,306,853 | false | {"C": 10424094, "Kotlin": 7156393, "Rust": 2046237, "Swift": 700307, "Python": 331492, "HCL": 271992, "Shell": 111209, "TypeScript": 102700, "C++": 64770, "Meson": 64234, "JavaScript": 36227, "Just": 28071, "Ruby": 9428, "Dockerfile": 5731, "Makefile": 3839, "Open Policy Agent": 1552, "Procfile": 80} | package build.wallet.analytics.events
import build.wallet.database.BitkeyDatabaseProviderImpl
import build.wallet.platform.config.AppVariant
import build.wallet.sqldelight.inMemorySqlDriver
import io.kotest.core.spec.style.FunSpec
import io.kotest.matchers.booleans.shouldBeFalse
import io.kotest.matchers.booleans.shou... | 0 | C | 10 | 98 | 1f9f2298919dac77e6791aa3f1dbfd67efe7f83c | 1,438 | bitkey | MIT License |
app/src/main/java/com/desrumaux/androidtoolbox/activity/UserInfoActivity.kt | 5l1v3r1 | 324,468,735 | false | {"Kotlin": 50633, "Java": 12890} | package com.desrumaux.androidtoolbox.activity
import android.app.DatePickerDialog
import android.content.Context
import android.os.Bundle
import android.support.v7.app.AlertDialog
import android.support.v7.app.AppCompatActivity
import android.util.Log
import android.widget.DatePicker
import android.widget.Toast
import... | 0 | null | 0 | 0 | 34009fb69f7d6a89c41078a1f15066a478cf9bf7 | 4,831 | android_security | MIT License |
server/app/src/main/kotlin/jp/tinyport/androidcommander/server/KeyCode.kt | sukawasatoru | 291,573,040 | false | null | /*
* Copyright 2021 sukawasatoru
*
* 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... | 10 | Rust | 0 | 3 | 68a4af70a3a7171fe273be379cc69b5bfad2421c | 24,567 | android-commander | Apache License 2.0 |
src/main/kotlin/github/walkmansit/aoc2020/Day04.kt | walkmansit | 317,479,715 | false | null | package github.walkmansit.aoc2020
class Day04(val input: List<String>) : DayAoc<Int, Int> {
data class Passport private constructor(val data: Map<String, String>) {
private val validateMap = mapOf(
"byr" to ::validateBirthYear,
"iyr" to ::validateIssueYear,
"eyr" to ::... | 0 | Kotlin | 0 | 0 | 9c005ac4513119ebb6527c01b8f56ec8fd01c9ae | 3,696 | AdventOfCode2020 | MIT License |
src/main/kotlin/io/github/omerfarukdemir/ktorate/storages/InMemorySlidingLogStorage.kt | omerfarukdemir | 566,498,134 | false | {"Kotlin": 23368} | package io.github.omerfarukdemir.ktorate.storages
import io.github.omerfarukdemir.ktorate.models.SlidingLogModel
class InMemorySlidingLogStorage : AbstractInMemoryStorage<SlidingLogModel>(), SlidingLogStorage
| 0 | Kotlin | 0 | 0 | efc197916b5cf6c38896f12f205cd41318981ae5 | 211 | ktorate | The Unlicense |
basicview/src/main/java/xc/common/viewlib/view/CommonHintDialog.kt | iamprivatewallet | 464,003,911 | false | {"JavaScript": 2822760, "Kotlin": 1140535, "Java": 953177, "HTML": 17003} | package xc.common.viewlib.view
import android.app.Activity
import android.view.View
import xc.common.viewlib.R
import kotlinx.android.synthetic.main.bv_dialog_common_hint.*
import xc.common.viewlib.view.customview.FullScreenDialog
abstract class CommonHintDialog(activity: Activity) : FullScreenDialog(activity) {
... | 0 | JavaScript | 0 | 1 | be8003e419afbe0429f2eb3fd757866e2e4b9152 | 974 | PrivateWallet.Android | MIT License |
app/src/main/java/com/tfandkusu/ga913android/analytics/AnalyticsEventSender.kt | tfandkusu | 837,627,728 | false | {"Kotlin": 63715} | package com.tfandkusu.ga913android.analytics
import android.os.Bundle
import com.google.firebase.analytics.FirebaseAnalytics
import javax.inject.Inject
interface AnalyticsEventSender {
fun sendScreen(screen: AnalyticsEvent.Screen)
fun sendAction(action: AnalyticsEvent.Action)
}
class AnalyticsEventSenderImp... | 3 | Kotlin | 1 | 0 | a37c5b15cf53969bf0e08e66127179947238ab86 | 2,368 | ga913-android | MIT License |
cardpresent/src/main/java/com/fattmerchant/omni/data/models/Self.kt | fattmerchantorg | 135,478,151 | false | null | package omni.data.models
/**
* This is a representation of the current user
*
* Contains info about the Merchant
*
*/
class Self {
var merchant: Merchant? = null
}
| 2 | null | 6 | 1 | 5e8a09bf896bc93d1e75fde8d35ba18530ad5a25 | 174 | fattmerchant-android-sdk | Apache License 2.0 |
straight/src/commonMain/kotlin/me/localx/icons/straight/filled/FileCloud.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.straight.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,303 | icons | MIT License |
AOS/BottleLight/app/src/main/java/kr/co/cavedwellers/bottlelight/Constant.kt | b3lon9 | 663,938,729 | false | null | package kr.co.cavedwellers.bottlelight
import android.Manifest
object Constant {
const val LIGHT_MIN = 1
const val LIGHT_MAX = 5
val PERMISSION_BUNDLE = arrayOf(
Manifest.permission.WRITE_SETTINGS,
)
const val PERMISSION_REQUEST_CODE = 721
const val DELAY_FAST = 250L
const val D... | 0 | Kotlin | 0 | 0 | 0673f87ab7f887e63b294b7ca7791bc4e4a0d5f5 | 373 | BottleLight | Apache License 2.0 |
data/src/main/java/eu/benayoun/androidmoviedatabase/data/source/local/movies/room/internal/TmdbRoomDataBase.kt | BenayounP | 525,430,424 | false | null | package eu.benayoun.androidmoviedatabase.data.source.local.movies.room.internal
import android.content.Context
import androidx.room.Database
import androidx.room.Room
import androidx.room.RoomDatabase
@Database(entities = [TmdbRoomMovieEntity::class], version = 1)
internal abstract class TmdbRoomDataBase : RoomDatab... | 0 | Kotlin | 0 | 21 | d45a7c7bec90f75075fa6c90b4a71e981a2caf8b | 669 | AndroidMovieDataBase | Apache License 2.0 |
src/main/kotlin/com/rrvieir4/pickarr/plugins/SetupDI.kt | rrvieira | 413,513,263 | false | {"Kotlin": 61434, "Dockerfile": 501, "Shell": 74} | package com.rrvieir4.pickarr.plugins
import com.rrvieir4.pickarr.config.Config
import com.rrvieir4.pickarr.services.notification.NotificationClient
import com.rrvieir4.pickarr.services.notification.telegram.TelegramClient
import com.rrvieir4.pickarr.services.popular.PopularService
import com.rrvieir4.pickarr.services.... | 0 | Kotlin | 0 | 3 | 557eb2b9c06ec60062dbfd293ece3846fb5ff1b1 | 2,827 | pickarr | MIT License |
feature/resourcecreate/src/main/java/com/muammarahlnn/learnyscape/feature/resourcecreate/composable/QuizQuestionsState.kt | muammarahlnn | 663,132,195 | false | {"Kotlin": 1073986} | package com.muammarahlnn.learnyscape.feature.resourcecreate.composable
import androidx.compose.runtime.Composable
import androidx.compose.runtime.Stable
import androidx.compose.runtime.mutableStateListOf
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.remember
import com.muammarahlnn.lea... | 0 | Kotlin | 0 | 0 | c9c827aef5560504255cb62d72303a85cd393d2a | 3,522 | Learnyscape | Apache License 2.0 |
src/main/kotlin/dec6/Input.kt | dladukedev | 318,188,745 | false | null | package dec6
val input = """adgvrhblps
pghsdrbmalv
hrlbpdasgv
bgvsdplahr
lgnpfhrm
hwmng
gunhmo
txkeafsbgjuizd
etmcgdbfajuz
xdtzjioqavmchsbfrkp
bzjkriqmvxedotpcf
azjckxmqovtidbprf
fcxmevrkojzpdibqt
roifztvxmbpwcndkjq
ylcixrdoejn
dyoejlrcxin
dnorleijxyc
u
u
nfjrt
hvgqxculeszok
pmwryfdiab
gh
ebzkr
byqusikr
b
b
al... | 0 | Kotlin | 0 | 0 | d4591312ddd1586dec6acecd285ac311db176f45 | 18,068 | advent-of-code-2020 | MIT License |
examples/suppression/GetAllSpamReports.kt | desiderantes | 148,538,242 | false | null | import com.fasterxml.jackson.databind.JsonNode
import com.fasterxml.jackson.databind.ObjectMapper
import com.sendgrid.*
import java.io.IOException
import java.util.HashMap
//////////////////////////////////////////////////////////////////
// Retrieve all invalid emails
// GET /suppression/invalid_emails
object GetA... | 0 | Kotlin | 0 | 0 | 9f188c75d3b3cfa4dc04ea6e5ac8eaf0430af4dd | 1,106 | sendgrid-kotlin | MIT License |
navigation/src/main/java/xyz/ahndwon/navigation/NavExtensions.kt | ahndwon | 393,212,180 | false | null | package xyz.ahndwon.navigation
import androidx.core.net.toUri
import androidx.navigation.NavController
import androidx.navigation.NavDeepLinkRequest
import androidx.navigation.NavOptions
fun buildDeepLink(destination: DeepLinkDestination) =
NavDeepLinkRequest.Builder
.fromUri(destination.address.toUri())
... | 0 | Kotlin | 0 | 0 | 8675a40c17574c66840bd21ac14faa2d4cb05eaa | 884 | MultiModuleExample | Apache License 2.0 |
app/src/main/java/com/shentu/paper/app/GlobalConfiguration.kt | walkthehorizon | 133,635,969 | false | null | package com.shentu.paper.app
import android.app.Application
import android.content.Context
import android.os.Bundle
import android.text.TextUtils
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentManager
import com.blankj.utilcode.constant.MemoryConstants
import com.blankj.utilcode.util.Networ... | 1 | Kotlin | 1 | 3 | 47828dbae0e04331c46bee6773efbec331f3f167 | 12,232 | MicroWallPager | Apache License 2.0 |
wiles-base/src/main/java/wiles/checker/inferrers/InferFromCodeBlock.kt | Alex-Costea | 527,241,623 | false | null | package wiles.checker.inferrers
import wiles.checker.data.InferrerDetails
import wiles.checker.exceptions.UnusedExpressionException
import wiles.checker.services.InferrerService
import wiles.shared.SyntaxType
import wiles.shared.constants.TypeConstants.NOTHING_TYPE
import wiles.shared.constants.TypeUtils.isFormerSuper... | 14 | Kotlin | 0 | 0 | fc1f526d32b8aa2e7567deb235207814adba8f87 | 869 | Wiles | MIT License |
buildSrc/src/main/kotlin/Plugins.kt | JetBrains | 93,250,841 | false | {"Kotlin": 11691809, "JavaScript": 168519} | import org.gradle.kotlin.dsl.PluginDependenciesSpecScope
fun PluginDependenciesSpecScope.karakum() {
id("io.github.sgrishchenko.karakum")
}
fun PluginDependenciesSpecScope.seskar() {
id("io.github.turansky.seskar")
}
| 32 | Kotlin | 174 | 1,252 | 8f788651776064a30ce1688160b7ef9c314a6fe9 | 227 | kotlin-wrappers | Apache License 2.0 |
plugins/package-search/src/com/jetbrains/packagesearch/intellij/plugin/gradle/GradleProjectModuleOperationProvider.kt | samofcorinth | 388,960,124 | false | null | package com.jetbrains.packagesearch.intellij.plugin.extensions.gradle
import com.intellij.buildsystem.model.OperationFailure
import com.intellij.buildsystem.model.OperationItem
import com.intellij.openapi.project.Project
import com.intellij.psi.PsiFile
import com.jetbrains.packagesearch.intellij.plugin.PackageSearchBu... | 1 | null | 1 | 1 | e3bf1c11ced5246cc36c2db280765afcf3d607dd | 2,997 | intellij-community | Apache License 2.0 |
test/dorkboxTest/network/DisconnectReconnectTest.kt | dorkbox | 53,281,134 | false | {"Kotlin": 1427302, "Java": 82773} | /*
* Copyright 2023 dorkbox, llc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 1 | Kotlin | 2 | 7 | 3f77af5894b45070a7e09ee9a47b977cf2f8e5d9 | 12,256 | Network | Creative Commons Zero v1.0 Universal |
app/src/main/java/com/example/noteit/ui/note/NoteViewModel.kt | preetishsrivastav | 732,464,142 | false | {"Kotlin": 33031} | package com.example.noteit.ui.note
import androidx.lifecycle.LiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.example.noteit.models.NoteRequest
import com.example.noteit.models.NoteResponse
import com.example.noteit.repository.NoteRepository
import com.example.noteit.uti... | 0 | Kotlin | 0 | 1 | 3cafd5841c2dbdc9c243c618dfbd9c6720590bdc | 1,301 | NoteIt | MIT License |
app/src/main/java/com/arun/trackweather/Model/ResponseModel.kt | arunsinghrwt | 349,069,507 | false | {"Kotlin": 25282} | package com.arun.trackweather.Model
/**
*Created by Arun Singh Rawat on 20-03-2021.
*https://github.com/arunsinghrwt
*/
class ResponseModel {
var lat : Double = 0.0
var lon : Double = 0.0
var timezone : String = ""
var timezone_offset : Int = 0
var current = Current()
var hourly : Array... | 0 | Kotlin | 0 | 0 | fa23978dc28ebd8ecf27aafe1477c7d49ef45dfb | 391 | TrackWeather | MIT License |
src/main/kotlin/sparta/nbcamp/wachu/WachuApplication.kt | spartaKotlinTeamSober | 828,133,738 | false | {"Kotlin": 172694, "Dockerfile": 666} | package sparta.nbcamp.wachu
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
import org.springframework.scheduling.annotation.EnableScheduling
@SpringBootApplication
@EnableScheduling
class WachuApplication
fun main(args: Array<String>) {
runAppli... | 6 | Kotlin | 1 | 0 | aca4ad613b9b775ec26b95f12408f0fcac5d0ed5 | 354 | wachu_server | MIT License |
compiler/tests/org/jetbrains/kotlin/codegen/fir/FirPsiCodegenTestCase.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-2024 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
@file:Suppress("JUnitTestCaseWithNoTests")
package org.jetbrains.kotlin.codegen.fir
import org.jetbrains.kot... | 181 | Kotlin | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 3,320 | kotlin | Apache License 2.0 |
build-tools-lib/src/main/kotlin/org/modelix/buildtools/ModuleOrigin.kt | modelix | 471,671,335 | false | {"Kotlin": 214744, "JetBrains MPS": 69801, "Shell": 83} | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... | 43 | Kotlin | 11 | 5 | 6b8e1d51acee9f986a5e841c3b144163e27691ff | 852 | modelix.mps-build-tools | Apache License 2.0 |
build-logic/src/main/kotlin/util/KmpTarget.kt | toasterofbread | 852,516,118 | false | {"Kotlin": 81083} | package util
enum class KmpTarget {
JVM,
ANDROID,
NATIVE,
WASMJS,
JS;
companion object {
val ALL_COMPOSE: Array<KmpTarget> = arrayOf(JVM, ANDROID, WASMJS, JS)
val SUPPORTED: Array<KmpTarget> = arrayOf(JVM, WASMJS, JS)
}
}
| 0 | Kotlin | 0 | 0 | 4ce06e7aac04ac278d2c6087fdb885297afc190f | 269 | Kotules | Apache License 2.0 |
app/src/main/java/de/lukasneugebauer/nextcloudcookbook/recipe/presentation/list/RecipeListScreen.kt | lneugebauer | 397,373,765 | false | null | package de.lukasneugebauer.nextcloudcookbook.recipe.presentation.list
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.size
import androidx.compose.foundation.lazy.LazyColumn
im... | 7 | Kotlin | 0 | 5 | 1bbda099d3576743a2eb43b23bdfb291c2ddae99 | 7,505 | nextcloud-cookbook | MIT License |
game/plugins/src/main/kotlin/gg/rsmod/plugins/content/areas/spawns/spawns_12091.plugin.kts | 2011Scape | 578,880,245 | false | {"Kotlin": 8904349, "Dockerfile": 1354} | /**
* WILDERNESS NPC & ITEM SPAWNS
* @author Harley Gilpin <https://github.com/HarleyGilpin>
*/
spawn_npc(npc = Npcs.KING_SCORPION, x = 3068, z = 3835, walkRadius = 5, direction = Direction.WEST)
spawn_npc(npc = Npcs.HOBGOBLIN, x = 3023, z = 3810, walkRadius = 5, direction = Direction.WEST)
spawn_npc(npc = Npcs.HOBG... | 39 | Kotlin | 143 | 34 | e5400cc71bfa087164153d468979c5a3abc24841 | 1,063 | game | Apache License 2.0 |
app/src/main/java/com/example/newsshorts/newsList/presentation/NewsListViewModel.kt | Nishant-Kumar-Rai | 833,679,798 | false | {"Kotlin": 32588} | package com.example.newsshorts.newsList.presentation
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.example.newsshorts.core.data.entity.Articles
import com.example.newsshorts.core.domain.NewsRepository
import com.example.newsshorts.core.util.ResultWrapper
import dagger.hilt.and... | 0 | Kotlin | 0 | 0 | f2e18bea16217b52746fce6c2ac6267c8f639878 | 3,375 | NewsShorts | Apache License 2.0 |
app/src/main/java/com/bottlerocketstudios/brarchitecture/ui/splash/SplashFragment.kt | BottleRocketStudios | 323,985,026 | false | null | package com.bottlerocketstudios.brarchitecture.ui.splash
import com.bottlerocketstudios.brarchitecture.R
import com.bottlerocketstudios.brarchitecture.databinding.SplashFragmentBinding
import com.bottlerocketstudios.brarchitecture.ui.BaseDataBindingFragment
import org.koin.androidx.viewmodel.ext.android.viewModel
cla... | 0 | Kotlin | 1 | 5 | 779882b37d8f1e100e720c2d0bf42bf5739b59ce | 558 | Android-ArchitectureDemo | Apache License 2.0 |
core/domain/src/main/java/com/igorvd/bitcoincharts/core/domain/formatter/BitcoinFormatterImpl.kt | igorvilela28 | 368,578,315 | false | null | package com.igorvd.bitcoincharts.core.domain.formatter
import com.igorvd.bitcoincharts.core.domain.service.locale.LocaleService
import java.text.NumberFormat
import javax.inject.Inject
class BitcoinFormatterImpl @Inject constructor(
private val localeService: LocaleService
) : BitcoinFormatter {
override fun... | 0 | Kotlin | 1 | 2 | 87282e175c612e2c0af7f21c102a1b8d407ea6b3 | 789 | bitcoin-charts | The Unlicense |
cloud/aws/src/test/java/com/nimbusframework/nimbusaws/examples/document/KotlinDocumentStoreNoTableName.kt | thomasjallerton | 163,180,980 | false | {"YAML": 3, "Ignore List": 2, "XML": 4, "Maven POM": 9, "Dockerfile": 1, "Text": 1, "Markdown": 35, "Kotlin": 570, "Java": 167, "JSON": 2, "JavaScript": 4, "SVG": 4, "CSS": 1} | package com.nimbusframework.nimbusaws.examples.document
import com.nimbusframework.nimbusaws.annotation.annotations.document.DynamoDbDocumentStore
import com.nimbusframework.nimbuscore.annotations.persistent.Attribute
import com.nimbusframework.nimbuscore.annotations.persistent.Key
@DynamoDbDocumentStore(stages = ["d... | 4 | Kotlin | 4 | 39 | 5c3325caaf3fe9de9ffad130fd1e773c6f680e89 | 486 | nimbus-framework | MIT License |
bbfgradle/tmp/results/diffCompile/ldlflfk.kt | DaniilStepanov | 346,008,310 | false | {"Markdown": 122, "Gradle": 762, "Gradle Kotlin DSL": 649, "Java Properties": 23, "Shell": 49, "Ignore List": 20, "Batchfile": 26, "Git Attributes": 8, "Kotlin": 82508, "Protocol Buffer": 12, "Java": 6674, "Proguard": 12, "XML": 1698, "Text": 13298, "INI": 221, "JavaScript": 294, "JAR Manifest": 2, "Roff": 217, "Roff M... | // Different compile happens on:JVM ,JVM -Xnew-inference
fun String() {
String as Float
String ?: Double
}
| 1 | null | 1 | 1 | e772ef1f8f951873ebe7d8f6d73cf19aead480fa | 108 | kotlinWithFuzzer | Apache License 2.0 |
app/src/main/java/com/botigocontigo/alfred/foda/FodaFragment.kt | UTN-FRBA-Mobile | 146,629,720 | false | null | package com.botigocontigo.alfred.foda
import android.content.Context
import android.net.Uri
import android.os.Bundle
import android.support.v4.app.Fragment
import android.support.v7.widget.LinearLayoutManager
import android.support.v7.widget.RecyclerView
import android.util.Log
import android.view.LayoutInflater
impor... | 0 | Kotlin | 4 | 1 | 558eb3967b3026bf66ae12d25b98c8055b3a9949 | 7,338 | Alfred | MIT License |
src/main/kotlin/com/devbuild/ddapp/CovidInfectionsInPoland.kt | holowizor | 252,139,680 | false | null | package com.devbuild.ddapp
import com.fasterxml.jackson.databind.DeserializationFeature
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
import com.fasterxml.jackson.module.kotlin.readValue
import java.awt.Color
import java.awt.Font
import java.awt.image.BufferedImage
import java.net.URL
import java.util... | 0 | Kotlin | 0 | 0 | 72a9d040438a00e2fafbbc9e4bdef58d340e3e0d | 2,624 | data-display-app | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.