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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
backpack-compose/src/main/kotlin/net/skyscanner/backpack/compose/divider/BpkDivider.kt | Skyscanner | 117,813,847 | false | null | /*
* Backpack for Android - Skyscanner's Design System
*
* Copyright 2018 Skyscanner Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-... | 8 | null | 32 | 94 | 9b5448b446c7bc46560e430595829e5f4f090e6b | 1,191 | backpack-android | Apache License 2.0 |
app/src/main/java/com/motondon/rxjavademoapp/view/main/ExampleByCategoryActivity.kt | JoaoMotondon | 128,390,130 | false | null | package com.motondon.rxjavademoapp.view.main
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import android.support.v7.widget.LinearLayoutManager
import com.motondon.rxjavademoapp.R
import com.motondon.rxjavademoapp.view.adapter.CategoryItemsAdapter
import java.util.ArrayList
import kotlinx... | 5 | Kotlin | 94 | 505 | 2cf453c3778c480226a8391cde00127b091c391a | 1,890 | RxJavaDemoApp | Apache License 2.0 |
app/src/main/java/com/jodi/cophat/data/presenter/AdminPresenter.kt | cophat | 241,760,374 | false | null | package com.jodi.cophat.data.presenter
data class AdminPresenter(
val adminListVisibility: Int,
val admins: List<ItemAdminPresenter>
) | 4 | Kotlin | 0 | 0 | 2272aca57494ef39a09d948549eb9fead5c3f68c | 143 | cophat | Apache License 2.0 |
src/main/kotlin/com/seko0716/es/pipeline/plugin/trigger/configurations/ElasticsearchConfiguration.kt | Sergey34 | 193,246,912 | false | null | package com.seko0716.es.pipeline.plugin.trigger.configurations
import com.seko0716.es.pipeline.plugin.trigger.configurations.properties.ElasticsearchProperties
import org.elasticsearch.client.RestClient
import org.springframework.boot.context.properties.ConfigurationProperties
import org.springframework.context.annota... | 0 | Kotlin | 0 | 0 | 23de7c33d859eabbb3f37cb4ce6d3171fbe1f4de | 851 | pipeline-plugin-trigger | Apache License 2.0 |
app/src/main/java/com/example/woloxapp/ui/login/LoginFragment.kt | wolox-training | 533,000,107 | false | null | package com.example.woloxapp.ui.login
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import android.view.Gravity
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Toast
import androidx.fragment.app.Fragment
import androidx.lif... | 3 | Kotlin | 0 | 0 | 2c2832527d822cb9398eb579080d74d0ad9053e3 | 3,918 | ei-android | MIT License |
src/test/kotlin/test/pl/treksoft/kvision/navbar/NavbarSpec.kt | robert-cronin | 184,352,277 | false | null | /*
* Copyright (c) 2017-present <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, merge, publ... | 0 | null | 0 | 1 | e07e8648d33d906b3354952bd84b61583622894c | 4,131 | kvision | MIT License |
src/jvmMain/kotlin/blue/starry/stella/worker/platform/NijieModel.kt | SlashNephy | 279,921,971 | false | null | @file:Suppress("Unused")
package blue.starry.stella.worker.platform
import blue.starry.jsonkt.JsonObject
import blue.starry.jsonkt.delegation.*
object NijieModel {
data class Bookmark(val title: String, val id: String)
data class Picture(val title: String, val authorName: String, val authorUrl: String, val ... | 4 | Kotlin | 0 | 5 | 6dd3c9290872ee3b4dd039c96a7f3c9525848b06 | 2,305 | stella | MIT License |
app/src/main/java/alistar/miniwidgets/sample/MiniButtonActivity.kt | ali-star | 281,710,583 | false | {"Java": 645297, "Kotlin": 21837} | package alistar.miniwidgets.sample
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
class MiniButtonActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_mini_button)
}
} | 1 | null | 1 | 1 | 70265c17841e121a4fde66452c238b1f50d079c7 | 320 | MiniWidgets | Apache License 2.0 |
feature/home/src/main/java/com/lago/home/detail/DetailScreenBody.kt | lagoJin | 258,668,824 | false | null | package com.lago.home.detail
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.la... | 3 | Kotlin | 0 | 4 | da228f96d85f83944f3619962f3e5404abcf416b | 2,550 | TopRatedMovies | Apache License 2.0 |
compose/foundation/foundation/benchmark/src/androidTest/java/androidx/compose/foundation/benchmark/focusable/FocusableInLazyListBenchmark.kt | JetBrains | 351,708,598 | false | null | /*
* Copyright 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 29 | null | 937 | 59 | 3fbd775007164912b34a1d59a923ad3387028b97 | 4,316 | androidx | Apache License 2.0 |
androidgraphextension/src/main/java/tech/schoolhelper/androidgraphextension/PointFExtension.kt | schoolhelper | 144,072,751 | false | null | package tech.schoolhelper.androidgraphextension
import android.graphics.Point
import android.graphics.PointF
import android.view.MotionEvent
/**
* Method calculate dimension to MotionEvent
*/
fun PointF.distanceTo(event: MotionEvent): Double {
return dim(this, PointF(event))
}
/**
* Method calculate dimension to... | 9 | Kotlin | 1 | 13 | 487fe2e56aec6b98cfe6ede6e5bbab827f5f4e55 | 1,453 | androidgraphextension | MIT License |
ejemplo_01_contador/android/app/src/main/kotlin/com/igm1990/ejemplo_01_contador/MainActivity.kt | cafeteru | 311,095,374 | false | {"Dart": 11555, "Swift": 808, "Kotlin": 275, "Objective-C": 76} | package com.igm1990.ejemplo_01_contador
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 0 | 0 | 6f4b85bdea785e3aa9fa255f331c6d96f540e4ae | 136 | curso_flutter | MIT License |
sentry-android-core/src/test/java/io/sentry/android/core/PerformanceAndroidEventProcessorTest.kt | getsentry | 3,368,190 | false | null | package io.sentry.android.core
import io.sentry.Hint
import io.sentry.IHub
import io.sentry.MeasurementUnit
import io.sentry.SentryTracer
import io.sentry.TracesSamplingDecision
import io.sentry.TransactionContext
import io.sentry.android.core.ActivityLifecycleIntegration.UI_LOAD_OP
import io.sentry.protocol.Measureme... | 189 | null | 427 | 995 | 549cbb4657b9dea1048c4882e79504e87d6acc4f | 4,939 | sentry-java | MIT License |
services/tmdb/src/main/kotlin/com/illiarb/tmdbclient/services/tmdb/internal/interactor/DefaultSearchInteractor.kt | ilya-rb | 152,124,194 | false | null | package com.illiarb.tmdbclient.services.tmdb.internal.interactor
import com.illiarb.tmdbclient.libs.util.Result
import com.illiarb.tmdbclient.services.tmdb.domain.Movie
import com.illiarb.tmdbclient.services.tmdb.domain.PagedList
import com.illiarb.tmdbclient.services.tmdb.interactor.SearchInteractor
import com.illiar... | 0 | Kotlin | 1 | 5 | 2a316e72c6ce68759627e52a749b7f02d91b2787 | 1,194 | Tmdb-Client | MIT License |
healthcheck-core/src/test/java/com/bilalekrem/healthcheck/checker/TestResponseHttpHealthChecker.kt | bilalekremharmansa | 251,713,754 | false | null | package com.bilalekrem.healthcheck.checker
import com.bilalekrem.healthcheck.core.ResponseHttpHealthChecker
import com.bilalekrem.healthcheck.http.HttpHeaders
import com.bilalekrem.healthcheck.http.HttpMethod
import com.bilalekrem.healthcheck.http.HttpRequest
import com.bilalekrem.healthcheck.http.HttpResponse
import ... | 0 | Kotlin | 0 | 0 | 6ce7641b8190c38f27aa0961c421d2b780c29a80 | 3,727 | healthchecker | MIT License |
app/src/main/java/com/example/mc_project/DatabaseApplication.kt | AbhishekIIITD | 805,312,421 | false | {"Kotlin": 45931} | package com.example.mc_project
import android.app.Application
import com.example.mc_project.Database.AppDatabase
class DatabaseApplication: Application() {
val database: AppDatabase by lazy { AppDatabase.getDatabase(this) }
} | 0 | Kotlin | 0 | 0 | a50b5817d281d493988dc714849a591cb3727168 | 231 | Meri_BUS | MIT License |
app/src/main/java/com/example/mc_project/DatabaseApplication.kt | AbhishekIIITD | 805,312,421 | false | {"Kotlin": 45931} | package com.example.mc_project
import android.app.Application
import com.example.mc_project.Database.AppDatabase
class DatabaseApplication: Application() {
val database: AppDatabase by lazy { AppDatabase.getDatabase(this) }
} | 0 | Kotlin | 0 | 0 | a50b5817d281d493988dc714849a591cb3727168 | 231 | Meri_BUS | MIT License |
Flutter Ui Dev/Featured/android/app/src/main/kotlin/com/example/featured/MainActivity.kt | moha-b | 652,788,041 | false | {"Dart": 1459047, "Swift": 7579, "Kotlin": 1390, "Objective-C": 418} | package com.example.featured
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 3 | 17 | a805f3099d19a35d6b1555720a5c9c1d1f01d880 | 125 | Pretty-Ui | MIT License |
source/sdk/src/main/java/com/stytch/sdk/common/errors/StytchUIError.kt | stytchauth | 314,556,359 | false | {"Kotlin": 1898738, "Java": 7049, "HTML": 545} | package com.stytch.sdk.common.errors
/**
* A base class representing SDK specific errors or exceptions that may occur. This class should not be used directly,
* rather we should be creating implementations for each of the known/expected errors we return.
* @property exception an optional [Throwable] that caused thi... | 4 | Kotlin | 2 | 23 | 865260973aac09402c6fb624b0a1549224b9dbf8 | 1,217 | stytch-android | MIT License |
app/src/main/java/org/kl/smartword/ui/settings/SettingsFragment.kt | klappdev | 226,633,534 | false | {"Kotlin": 266133} | /*
* Licensed under the MIT License <http://opensource.org/licenses/MIT>.
* SPDX-License-Identifier: MIT
* Copyright (c) 2019 - 2024 https://github.com/klappdev
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"... | 0 | Kotlin | 0 | 0 | ba8869fdee3dbb2526bb0c0da03cf5d6cf35b818 | 2,766 | smartword | MIT License |
livestate/src/main/java/com/deventium/livestate/property/LiveProperty.kt | XiteZ | 200,500,496 | false | null | package com.deventium.livestate.property
import androidx.lifecycle.LiveData
import com.deventium.livestate.state.IState
import com.deventium.livestate.state.IStateStore
abstract class LiveProperty<TState : IState, TOut>(
protected val stateStore: IStateStore<TState>
) : LiveData<TOut>() {
private val stateCha... | 0 | Kotlin | 0 | 2 | 9d099c7ee47307ac3b3e834ee170fb99e0cbfec8 | 708 | LiveState | MIT License |
samples/openapi3/client/petstore/kotlin-jvm-retrofit2-rx/src/main/kotlin/org/openapitools/client/models/FormatTest.kt | oxidecomputer | 334,329,847 | false | null | /**
* OpenAPI Petstore
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.t... | 5 | null | 3 | 5 | f8770d7c3388d9f1a5069a7f37378aeadcb81e16 | 2,371 | openapi-generator | Apache License 2.0 |
browser-kotlin/src/jsMain/kotlin/web/file/FileList.kt | karakum-team | 393,199,102 | false | null | // Automatically generated - do not modify!
package web.file
import js.array.ArrayLike
import js.iterable.JsIterable
/**
* An object of this type is returned by the files property of the HTML <input> element; this lets you access the list of files selected with the <input type="file"> element. It's also used for a ... | 0 | null | 8 | 36 | 95b065622a9445caf058ad2581f4c91f9e2b0d91 | 735 | types-kotlin | Apache License 2.0 |
Inventory-app/android/app/src/main/java/com/wekanmdb/storeinventory/ui/home/HomeNavigator.kt | realm | 422,284,529 | false | {"Kotlin": 966534, "Swift": 867269, "Objective-C": 232478, "TypeScript": 75527, "JavaScript": 32651, "HTML": 2365, "Ruby": 2276, "Less": 31} | package com.wekanmdb.storeinventory.ui.home
interface HomeNavigator {
} | 0 | Kotlin | 1 | 8 | e57077e2c26a75db4e80dd40909f12dca4a431e0 | 72 | realm-sync-demos | Apache License 2.0 |
schemaTests/src/commonMain/kotlin/org/w3/xml/xmschematestsuite/TSTestGroup.kt | pdvrieze | 143,553,364 | false | {"Kotlin": 3481762} | /*
* Copyright (c) 2021.
*
* This file is part of xmlutil.
*
* This file is licenced to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You should have received a copy of the license with the source distribution.
* Alternatively, y... | 35 | Kotlin | 31 | 378 | c4053519a8b6c90af9e1683a5fe0e9e2b2c0db79 | 2,215 | xmlutil | Apache License 2.0 |
app/src/main/java/smu/miso/ui/freetalk/FreeTalkFragment.kt | kkangjee | 296,104,839 | true | {"Kotlin": 108805} | package smu.miso.ui.freetalk
import android.os.Bundle
import android.util.Log
import android.view.KeyEvent
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.recyclerview.widget.LinearLayoutManager
import com.google.firebase.a... | 0 | Kotlin | 0 | 0 | fbf9b173a767e9e291a1c97479182687c6ab6bfc | 8,114 | miso_capstone_design_project | Apache License 2.0 |
src/commonMain/kotlin/com/jeffpdavidson/kotwords/formats/ClueSanitizer.kt | bitcababy | 298,634,867 | true | {"Kotlin": 283255, "HTML": 23984, "Rouge": 3732, "Shell": 675, "JavaScript": 213} | package com.jeffpdavidson.kotwords.formats
import com.jeffpdavidson.kotwords.model.Crossword
import com.jeffpdavidson.kotwords.model.Square
private val CROSS_REFERENCE_PATTERN = "([1-9][0-9]*)-(?:(?!Across|Down).)*(Across|Down)".toRegex()
/** Utility to constrain clues to fit Across Lite format restrictions. */
obje... | 0 | null | 0 | 0 | 6ff2e94a011c6cbe27ba5eea3bf8165345fa8cfc | 4,108 | kotwords | Apache License 2.0 |
ontrack-extension-indicators/src/main/java/net/nemerosa/ontrack/extension/indicators/ui/ProjectIndicatorType.kt | nemerosa | 19,351,480 | false | null | package net.nemerosa.ontrack.extension.indicators.ui
import net.nemerosa.ontrack.extension.indicators.model.IndicatorCategory
import net.nemerosa.ontrack.extension.indicators.model.IndicatorSource
import net.nemerosa.ontrack.extension.indicators.model.IndicatorType
import net.nemerosa.ontrack.model.annotations.APIDesc... | 57 | null | 27 | 97 | 7c71a3047401e088ba0c6d43aa3a96422024857f | 919 | ontrack | MIT License |
app/src/main/java/com/coen/freelancehours/ui/hour/HourFragment.kt | coenond | 162,254,010 | false | null | package com.coen.freelancehours.ui.hour
import android.arch.lifecycle.Observer
import android.os.Bundle
import android.support.v7.widget.LinearLayoutManager
import android.support.v7.widget.RecyclerView
import android.support.v7.widget.helper.ItemTouchHelper
import android.view.View
import android.widget.LinearLayout
... | 0 | Kotlin | 0 | 3 | 9ed23dcfc9f20563a7faf8fb68e2e07a60c9f7b4 | 2,471 | freelance-hours-app | MIT License |
features/roomdetails/impl/src/main/kotlin/io/element/android/features/roomdetails/impl/rolesandpermissions/changeroles/ChangeRolesStateProvider.kt | element-hq | 546,522,002 | false | {"Kotlin": 6933899, "Shell": 34259, "Python": 28058, "JavaScript": 18237, "Java": 9607, "HTML": 9416, "CSS": 2519, "Ruby": 44} | /*
* Copyright (c) 2024 New Vector Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | 208 | Kotlin | 93 | 750 | a9f326c81cd038499d2b8638490d040bee64e45f | 3,932 | element-x-android | Apache License 2.0 |
src/main/kotlin/com/isel/sensiflow/model/repository/UserRepository.kt | sensiflow | 613,593,723 | false | null | package com.isel.sensiflow.model.repository
import com.isel.sensiflow.model.entities.User
import org.springframework.data.jpa.repository.JpaRepository
import org.springframework.stereotype.Repository
import java.util.Optional
@Repository
interface UserRepository : JpaRepository<User, Int> {
fun findByEmail(email:... | 3 | Kotlin | 0 | 3 | 6abce549c99ded514de41eeff714f849c50cbb28 | 347 | sensi-web-api | MIT License |
compiler/testData/ir/irText/expressions/ifWithLoop.kt | JetBrains | 3,432,266 | false | null | fun topLevelMethod() {
var z = 1
if(true) { for (i in 0..2) z += i } else { for (i in 0..3) z += i }
if(true) for (i in 0..4) z += i else for (i in 0..5) z += i
if(true) { while(false) z += 6 } else { while(false) z += 7 }
if(true) while(false) z += 8 else while(false) z += 9
if(true) { do { ... | 181 | null | 5771 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 1,073 | kotlin | Apache License 2.0 |
libnavui-maps/src/main/java/com/mapbox/navigation/ui/maps/guidance/signboard/api/MapboxExternalFileResolver.kt | mapbox | 87,455,763 | false | null | package com.mapbox.navigation.ui.maps.guidance.signboard.api
import android.content.res.AssetManager
import android.graphics.Typeface
import com.caverock.androidsvg.SVGExternalFileResolver
import com.mapbox.navigation.utils.internal.logE
/**
* Mapbox implementation of the [SVGExternalFileResolver] to better support ... | 508 | null | 319 | 621 | ad73c6011348cb9b24b92a369024ca06f48845ab | 4,051 | mapbox-navigation-android | Apache License 2.0 |
src/main/kotlin/beatwalls/initConfig.kt | Viounti | 297,017,912 | true | {"Kotlin": 194593} | package beatwalls
import com.google.gson.Gson
import chart.song.Info
import chart.song.isSongInfo
import java.io.File
fun initConfig(songPath:String){
val file = File(songPath)
if (!file.isSongInfo())
errorExit { "Please drag in the Whole Folder for the initial Config" }
val infoJson = File(file,... | 0 | Kotlin | 0 | 0 | 57e6e1c35448a3778ec6ed9bb75ef75f502985d5 | 5,165 | beatwalls | MIT License |
protocol/src/main/kotlin/com/github/traderjoe95/mls/protocol/crypto/impl/Hkdf.kt | Traderjoe95 | 757,448,383 | false | {"Kotlin": 1143520} | package com.github.traderjoe95.mls.protocol.crypto.impl
import com.github.traderjoe95.mls.codec.type.uint16
import com.github.traderjoe95.mls.protocol.crypto.Auth
import com.github.traderjoe95.mls.protocol.crypto.Kdf
import com.github.traderjoe95.mls.protocol.types.crypto.Mac
import com.github.traderjoe95.mls.protocol... | 0 | Kotlin | 0 | 1 | 70bd7110b08713ae9425bbad6e6da13fa6fed8f3 | 3,332 | mls-kotlin | MIT License |
browser-kotlin/src/jsMain/kotlin/web/svg/SVGAnimatedEnumeration.kt | karakum-team | 393,199,102 | false | null | // Automatically generated - do not modify!
package web.svg
/**
* Used for attributes whose value must be a constant from a particular enumeration and which can be animated.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedEnumeration)
*/
sealed external class SVGAnimatedEnumeration<T> {
... | 1 | null | 8 | 36 | 95b065622a9445caf058ad2581f4c91f9e2b0d91 | 360 | types-kotlin | Apache License 2.0 |
core/src/main/kotlin/org/jetbrains/research/kex/state/memory/MemoryVersion.kt | Saloed | 227,350,941 | true | {"Gradle Kotlin DSL": 12, "Python": 3, "Shell": 2, "INI": 5, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 2, "XML": 40, "Kotlin": 431, "Java": 5, "Maven POM": 1, "JSON": 3} | package org.jetbrains.research.kex.state.memory
import kotlinx.serialization.Serializable
@Serializable
enum class MemoryVersionType(val typeIdx: Int) {
INITIAL(0), NEW(1), NORMAL(2), MERGE(3), DEFAULT(-1)
}
@Serializable
class MemoryVersion(
val version: Int,
val subversion: Int,
val type: MemoryVer... | 1 | Kotlin | 0 | 0 | 6ead750e33c91afafaa7d315a979396b391a5093 | 2,322 | kex | Apache License 2.0 |
app/src/main/java/com/kakyiretechnologies/retrofit_dagger_rxjava_mvp_navcomponent/network/ApiInterface.kt | Kakyire | 308,177,946 | false | null | package com.kakyiretechnologies.retrofit_dagger_rxjava_mvp_navcomponent.network
import com.kakyiretechnologies.retrofit_dagger_rxjava_mvp_navcomponent.model.MovieResponse
import com.kakyiretechnologies.retrofit_dagger_rxjava_mvp_navcomponent.utils.Constants.API
import com.kakyiretechnologies.retrofit_dagger_rxjava_mvp... | 0 | Kotlin | 0 | 0 | 3ff186e70b9ef43d4e52cabc42ae017cacc751e6 | 1,897 | Movie-Info | Apache License 2.0 |
src/commonMain/kotlin/com/team254/lib/geometry/IPose2d.kt | TheGreenMachine | 377,547,154 | false | null | package com.team254.lib.geometry
interface IPose2d<S: Any> : IRotation2d<S>, ITranslation2d<S> {
val pose: Pose2d
fun transformBy(other: Pose2d): S
fun mirror(): S
} | 0 | Kotlin | 0 | 0 | 427c912e3e9db50c5e842a31c5a350d9cb418a4e | 178 | splines-kt | MIT License |
app/src/main/java/me/gm/cleaner/plugin/mediastore/downloads/DownloadsFragment.kt | MaterialCleaner | 390,636,986 | false | null | /*
* Copyright 2021 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | 0 | Kotlin | 0 | 6 | d989866c18de87081fb80236cb87ba6def837ea5 | 2,032 | Media-Provider-Manager | Apache License 2.0 |
app/src/main/java/com/lookie/instadownloader/ui/home/UserAdapter.kt | nhphung216 | 233,366,868 | false | null | package com.lookie.instadownloader.ui.home
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.databinding.DataBindingUtil
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.ListAdapter
import androidx.recyclerview.widget.RecyclerView
... | 1 | Kotlin | 1 | 6 | 45e57fd03e90acf557ecd38f2d92e5035657e8e4 | 1,995 | insta-downloader | Apache License 2.0 |
android/app/src/main/java/com/example/customcomponents/component/UnixEpochTextView.kt | tktcorporation | 327,143,383 | false | null | package com.example.customcomponents.component
import android.content.Context
import android.util.AttributeSet
import androidx.appcompat.widget.AppCompatTextView
import com.example.customcomponents.R
import java.text.SimpleDateFormat
import java.util.*
class UnixEpochTextView : AppCompatTextView {
constructor(con... | 0 | Kotlin | 0 | 0 | 44a21199c6f299ff5faee0bed85bf54f7fa954bd | 1,177 | AndroidCustomComponents | MIT License |
android-example/src/main/kotlin/com/svenjacobs/zen/android/example/inject/ApplicationModule.kt | svenjacobs | 235,808,759 | false | null | package com.svenjacobs.zen.android.example.inject
import com.svenjacobs.zen.android.example.api.ApiModule
import org.rewedigital.katana.Module
val ApplicationModule = Module(
name = "ApplicationModule",
includes = listOf(
ApiModule,
CoroutineModule,
ZenCoroutineModule
)
)
| 1 | Kotlin | 0 | 2 | 8d7f20d62fbc67f1af3133f7e17379f7b4f429e4 | 311 | zen | MIT License |
icp_kotlin_kit/src/main/java/com/bity/icp_kotlin_kit/domain/generated_file/Tokens.kt | ThomasConstantinBity | 824,624,205 | false | {"Kotlin": 554595, "Rust": 313094} | package com.bity.icp_kotlin_kit.domain.generated_file
import com.bity.icp_kotlin_kit.candid.CandidDecoder
import com.bity.icp_kotlin_kit.domain.ICPQuery
import com.bity.icp_kotlin_kit.domain.model.ICPPrincipal
import com.bity.icp_kotlin_kit.domain.model.ICPSigningPrincipal
import com.bity.icp_kotlin_kit.domain.model.e... | 1 | Kotlin | 2 | 0 | e3e7f9086aebf3997cf7747f98efec81f3a654bb | 8,350 | ICP-Kotlin-Kit | MIT License |
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsinterventionsservice/jpa/repository/InterventionFilterRepositoryImpl.kt | ministryofjustice | 312,544,431 | false | null | package uk.gov.justice.digital.hmpps.hmppsinterventionsservice.jpa.repository
import uk.gov.justice.digital.hmpps.hmppsinterventionsservice.jpa.entity.DynamicFrameworkContract
import uk.gov.justice.digital.hmpps.hmppsinterventionsservice.jpa.entity.Intervention
import uk.gov.justice.digital.hmpps.hmppsinterventionsser... | 7 | Kotlin | 1 | 1 | 5555c1e7ac8a91539e34b1a96fa3b7df345d9dd0 | 4,555 | hmpps-interventions-service | MIT License |
src/main/kotlin/at/phatbl/swiftpm/Version.kt | phatblat | 94,115,792 | false | null | package at.phatbl.swiftpm
import java.io.BufferedReader
import java.io.InputStreamReader
/**
* Container for version information.
*/
object Version {
/** File inside the JAR which contains the version number. */
private const val fileName = "VERSION.txt"
/** Accessor property for version string. */
... | 1 | Kotlin | 0 | 4 | 2640cedf19c079092bbb741bff159ce64a19afa8 | 714 | SwiftPM-Plugin | MIT License |
src/main/kotlin/com/andreikingsley/ggdsl/ir/feature/FeatureName.kt | AndreiKingsley | 435,466,686 | false | {"Kotlin": 64973} | package com.andreikingsley.ggdsl.ir.feature
/**
* Wrapper of feature name.
*
* @property name the name of feature
*/
data class FeatureName(val name: String)
| 0 | Kotlin | 0 | 0 | a427be37d51610d742a06491e80acfea400e5027 | 163 | ggdsl-api | MIT License |
kakao/src/main/kotlin/com/agoda/kakao/Actions.kt | JolandaVerhoef | 119,046,323 | false | null | package com.agoda.kakao
import android.support.design.widget.BottomNavigationView
import android.net.Uri
import android.support.design.widget.TabLayout
import android.support.test.espresso.UiController
import android.support.test.espresso.ViewAction
import android.support.test.espresso.ViewInteraction
import android.s... | 0 | null | 0 | 1 | 25a9632a86ae299b9553bb918b74662a4fe60f92 | 22,341 | Kakao | Apache License 2.0 |
app/src/main/java/com/deuk/networkcalldemoapp/network/ApiService.kt | kenruizinoue | 756,089,725 | false | {"Kotlin": 17727} | package com.deuk.networkcalldemoapp.network
import com.deuk.networkcalldemoapp.feature.character.CharacterResponse
import retrofit2.http.GET
// Defines network API interface for Retrofit to fetch character data from the Rick and Morty API
interface ApiService {
@GET("character") // Endpoint to get character list
... | 0 | Kotlin | 0 | 3 | 689da58e2022988cf9b175d250cff0881154c9fe | 409 | NetworkCallDemoApp | The Unlicense |
mailserver/runner/src/main/kotlin/storage/formats/maildir.kt | lost-illusi0n | 563,231,184 | false | {"Kotlin": 245688, "Astro": 3842, "Dockerfile": 404, "JavaScript": 109} | package dev.sitar.kmail.runner.storage.formats
import dev.sitar.kmail.imap.agent.Flag
import dev.sitar.kmail.imap.agent.ImapMessage
import dev.sitar.kmail.message.Message
import dev.sitar.kmail.runner.Config
import dev.sitar.kmail.runner.storage.Attributable
import dev.sitar.kmail.runner.storage.filesystems.FileSystem... | 0 | Kotlin | 1 | 6 | cd08d6cf7b1a544d9c77cfb378453531bcc0de9b | 7,077 | kmail | MIT License |
packages/payment/android/src/main/java/com/getcapacitor/community/stripe/identityverification/IdentityVerificationSheetEvent.kt | capacitor-community | 219,177,937 | false | {"Java": 68350, "Swift": 46044, "TypeScript": 42671, "Objective-C": 3553, "Ruby": 3170, "Kotlin": 2716, "JavaScript": 2013} | package com.getcapacitor.community.stripe.identityverification;
enum class IdentityVerificationSheetEvent(val webEventName: String) {
Loaded("identityVerificationSheetLoaded"),
FailedToLoad("identityVerificationSheetFailedToLoad"),
Completed("identityVerificationSheetCompleted"),
Canceled("identityVeri... | 10 | Java | 63 | 151 | a86425c31f2383ad1f6aa6937b7c0136dfda487b | 394 | stripe | MIT License |
app/src/main/java/com/sunnyweather/android/ui/place/PlaceViewModel.kt | dire1228 | 296,022,968 | false | null | package com.sunnyweather.android.ui.place
import android.util.Log
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.Transformations
import androidx.lifecycle.ViewModel
import com.sunnyweather.android.LogUtil
import com.sunnyweather.android.logic.Respository
import com.sunnyweather.android.logic.model... | 0 | Kotlin | 0 | 0 | 92589008d445cbc775e26fdc354590f715a76117 | 1,154 | SunneyWeather | Apache License 2.0 |
app/src/main/java/com/alex/pokemon/data/api/pokemon/Move.kt | AlexKrayVR | 775,474,108 | false | {"Kotlin": 47705} | package com.alex.pokemon.data.api.pokemon
import com.google.gson.annotations.SerializedName
data class Move(
val move: com.alex.pokemon.data.api.pokemon.MoveX,
@SerializedName("version_group_details")
val versionGroupDetails: List<com.alex.pokemon.data.api.pokemon.VersionGroupDetail>
)
| 0 | Kotlin | 0 | 0 | 9534e7c4b6f4634def49b45147cca9220e6dd30b | 302 | Pokemon | The Unlicense |
github-integration/src/main/java/de/zalando/zally/integration/zally/Violation.kt | hpdang | 148,153,657 | false | null | package de.zalando.zally.integration.zally
data class Violation(
var title: String? = null,
var description: String? = null,
var violationType: ViolationType? = null,
var ruleLink: String? = null,
var paths: List<String>? = null
)
| 0 | null | 0 | 415 | 91bc7341a5b8d9a65bc67e8ca680b6c423d6c684 | 274 | zally | MIT License |
airwallex/src/main/java/com/airwallex/android/view/PaymentInfoBottomSheetDialog.kt | airwallex | 231,053,387 | false | null | package com.airwallex.android.view
import android.os.Bundle
import android.text.InputType
import android.text.method.DigitsKeyListener
import android.view.*
import android.view.inputmethod.EditorInfo
import android.widget.LinearLayout.LayoutParams
import com.airwallex.android.core.extension.setOnSingleClickListener
im... | 2 | null | 4 | 7 | c86771fa5576747694df9259f2e52cbaede632f6 | 8,305 | airwallex-payment-android | MIT License |
kotlin-antd/src/main/kotlin/antd/menu/MenuItemGroup.kt | LuoKevin | 341,311,901 | true | {"Kotlin": 1549697, "HTML": 1503} | package antd.menu
import react.*
external object MenuItemGroupComponent : Component<MenuItemGroupProps, RState> {
override fun render(): ReactElement?
}
external interface MenuItemGroupProps : RProps {
var renderMenuItem: ((item: ReactElement, index: Number, key: String) -> ReactElement)?
var index: Numb... | 0 | null | 0 | 0 | 9f57507607c3dd5d5452f3cbeb966b6db3d60c76 | 547 | kotlin-js-wrappers | Apache License 2.0 |
src/commonMain/kotlin/org/mm0/kt/main.kt | Lakedaemon | 358,930,427 | false | null | package org.mm0.kt
expect fun string(folder: String, fileName: String): String
fun proofCheck(path:String) = ContextBuilderImpl().asyncCheck(mm0SequenceOf(string(path, ".mm0"), simpleCanonizer), mmuSequenceOf(string(path, ".mmu"), simpleCanonizer), ::simpleCheck)
| 0 | Kotlin | 0 | 0 | 80edc091dac6ff0f2cd6914f8e37bc1217e11ab7 | 266 | mm0kt | Creative Commons Zero v1.0 Universal |
app/src/sharedTest/java/com/example/android/architecture/blueprints/todoapp/taskdetail/TaskDetailFragmentTest.kt | jasper55 | 192,397,303 | false | null | ///*
// * Copyright (C) 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
// *
// * Un... | 0 | Kotlin | 0 | 0 | adbb376fc080449128162c4ae7ac8dad93f193d6 | 4,874 | Todo_MVVM_Kotlin | Apache License 2.0 |
rest-api-server/src/main/kotlin/eu/tib/orkg/prototype/statements/domain/model/StatsService.kt | TIBHannover | 197,416,205 | false | null | package eu.tib.orkg.prototype.statements.domain.model
import eu.tib.orkg.prototype.statements.domain.model.neo4j.ObservatoryResources
import eu.tib.orkg.prototype.statements.domain.model.neo4j.TrendingResearchProblems
import eu.tib.orkg.prototype.statements.infrastructure.neo4j.ChangeLog
import eu.tib.orkg.prototype.s... | 0 | Kotlin | 1 | 3 | 9612eddb54c2427d7d5ae20b25dd5402aec79771 | 2,215 | orkg-backend | MIT License |
benchmarks/jmh/src/main/kotlin/kt/fluxo/test/compare/ballast/BallastBenchmark.kt | fluxo-kt | 566,869,438 | false | null | package kt.fluxo.test.compare.ballast
import com.copperleaf.ballast.BallastViewModelConfiguration
import com.copperleaf.ballast.EventHandler
import com.copperleaf.ballast.EventHandlerScope
import com.copperleaf.ballast.InputHandler
import com.copperleaf.ballast.InputHandlerScope
import com.copperleaf.ballast.build
imp... | 3 | Kotlin | 0 | 5 | 475f65186b273f02e875c59176dd3a4af0b0365f | 2,360 | fluxo-mvi | Apache License 2.0 |
apps/mvpapp/src/androidTest/java/dev/eduayuso/cleansamples/mvpapp/config/TestMvpApp.kt | eduayuso | 340,966,656 | false | null | package dev.eduayuso.cleansamples.mvpapp.config
import dev.eduayuso.cleansamples.mvpapp.MvpApp
import dev.eduayuso.cleansamples.shared.impl.di.TestsDepsInjection
class TestMvpApp: MvpApp() {
open override fun configDI() {
TestsDepsInjection.config(this@TestMvpApp, presentersModule)
}
} | 1 | Kotlin | 0 | 0 | d42fe931d229636596b7e969405e5c9d04e3a290 | 306 | clean_samples | Apache License 2.0 |
mybatis-flex-kotlin-extensions/src/test/kotlin/example/mapper/AccountMapper.kt | KAMO030 | 678,726,164 | false | null | package com.mybatisflex.kotlin.example.mapper
import com.mybatisflex.core.BaseMapper
import com.mybatisflex.kotlin.example.entity.Account
import com.mybatisflex.kotlin.extensions.condition.allAnd
import com.mybatisflex.kotlin.extensions.kproperty.eq
import com.mybatisflex.kotlin.extensions.kproperty.`in`
import com.my... | 0 | null | 4 | 27 | 11e692587e25d49fdfe64e73fc99f47ef5fa23a1 | 649 | MyBatis-Flex-Kotlin | Apache License 2.0 |
common/src/commonMain/kotlin/me/kevinschildhorn/common/architecture/ui/uistate/LoginUiState.kt | KevinSchildhorn | 522,216,678 | false | null | package me.kevinschildhorn.common.architecture.ui.uistate
import me.kevinschildhorn.common.architecture.ui.uistate.base.UiState
data class LoginUiState(
val hostname: String,
val port: String,
val username: String,
val password: String,
override val isLoading: Boolean = false,
override val err... | 0 | Kotlin | 0 | 0 | 09e9acfeef8f019fcb1abe886c139f2b17871b7b | 778 | FoToPresenter | MIT License |
rancher-cloudflare/src/main/kotlin/com/scalified/rancher/cloudflare/domain/rancher/RancherClient.kt | Scalified | 200,033,967 | false | null | /*
* MIT License
*
* Copyright (c) 2019 Scalified
*
* 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... | 1 | null | 0 | 2 | e796fdaed1c69830cf0c5437387b4de7572ffb6c | 3,833 | rancher-cloudflare | MIT License |
musicservice/src/main/java/com/gsfoxpro/musicservice/ui/MusicPlayerSimple.kt | LetItPlay | 113,900,291 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "XML": 119, "Java": 3, "Kotlin": 151} | package com.gsfoxpro.musicservice.ui
import android.content.Context
import android.support.v4.media.MediaMetadataCompat
import android.util.AttributeSet
import android.util.Log
import android.view.LayoutInflater
import com.gsfoxpro.musicservice.R
import kotlinx.android.synthetic.main.music_player_simple.view.*
class ... | 8 | Kotlin | 1 | 0 | 74380c7cf5fe6ce8f307cd82d7e90f2e9704eacd | 1,908 | AndroidClient | Apache License 2.0 |
ihrCountryApplication/src/main/java/com/iheart/country/data/Language.kt | vikaspuppp | 734,594,938 | false | {"Kotlin": 29924} | package com.iheart.country.data
import android.os.Parcelable
import kotlinx.parcelize.Parcelize
@Parcelize
data class Language(
val name: String,
val nativeName: String,
val iso639_1: String,
val iso639_2: String
) : Parcelable
| 0 | Kotlin | 0 | 0 | 3d463979e2fab298a71c797f8f031b94fb8b40e0 | 246 | countryList | Apache License 2.0 |
compiler/testData/diagnostics/tests/multiplatform/actualTypealiasWithoutExpect.kt | JetBrains | 3,432,266 | false | null | // FIR_IDENTICAL
// MODULE: m1-common
// FILE: common.kt
// MODULE: m2-jvm()()(m1-common)
// FILE: jvm.kt
class FooImpl
actual typealias <!ACTUAL_WITHOUT_EXPECT!>Foo<!> = FooImpl
| 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 181 | kotlin | Apache License 2.0 |
completion/testData/basic/common/inInitBlock/localVariable.kt | JetBrains | 278,369,660 | false | null | class X {
init {
val y = 1
<caret>
}
}
// EXIST: y | 1 | null | 30 | 82 | cc81d7505bc3e9ad503d706998ae8026c067e838 | 74 | intellij-kotlin | Apache License 2.0 |
LolRankDuo/app/src/main/java/com/mtjin/lolrankduo/di/modules/RepositoryModule.kt | mtjin | 347,271,887 | false | null | package com.mtjin.lolrankduo.di.modules
import com.mtjin.lolrankduo.data.login.LoginRepository
import com.mtjin.lolrankduo.data.login.LoginRepositoryImpl
import com.mtjin.lolrankduo.data.match.MatchRepository
import com.mtjin.lolrankduo.data.match.MatchRepositoryImpl
import com.mtjin.lolrankduo.data.profile.ProfileRe... | 0 | Kotlin | 0 | 4 | 7e63dacc0e0e7197ead9dddc97184151ea8b5353 | 684 | lol-rank-duo-matching | Apache License 2.0 |
samples/android/app/src/main/java/com/example/unleash/UnleashApplication.kt | Unleash | 369,129,274 | false | {"Kotlin": 97062} | package com.example.unleash
import android.app.Application
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.android.HiltAndroidApp
import dagger.hilt.components.SingletonComponent
import io.getunleash.UnleashClient
import io.getunleash.UnleashConfig
import io.getunleash.Unlea... | 9 | Kotlin | 16 | 7 | a8acf75d0b3b86e76e312d393fe676e6054a5c71 | 1,800 | unleash-android-proxy-sdk | Apache License 2.0 |
src/main/kotlin/io/github/cferg/musicbot/utility/SetupConversation.kt | cFerg | 200,975,120 | false | null | package io.github.cferg.musicbot.utility
import io.github.cferg.musicbot.data.Configuration
import io.github.cferg.musicbot.data.GuildInfo
import me.aberrantfox.kjdautils.api.dsl.Convo
import me.aberrantfox.kjdautils.api.dsl.conversation
import me.aberrantfox.kjdautils.internal.arguments.RoleArg
import me.aberrantfox.... | 3 | Kotlin | 1 | 5 | 26d799ca9089d1c7ec91aa4353cbcebff08a7bd6 | 2,373 | MusicBot | MIT License |
advent-of-code/src/test/kotlin/com/akikanellis/adventofcode/year2022/Day18Test.kt | akikanellis | 600,872,090 | false | {"Kotlin": 142932, "Just": 977} | package com.akikanellis.adventofcode.year2022
import com.akikanellis.adventofcode.testutils.resourceText
import org.junit.jupiter.params.ParameterizedTest
import org.junit.jupiter.params.provider.CsvSource
import kotlin.test.assertEquals
class Day18Test {
@ParameterizedTest
@CsvSource(
"/day-18-input-... | 6 | Kotlin | 0 | 0 | 8281cb5d42a8ad6a155630c78560ab358e47a516 | 1,270 | advent-of-code | MIT License |
sample-androidx/src/main/java/com/krenvpravo/sampleappcompat/otherscreens/BaseFragment.kt | Dmitry-Borodin | 108,177,763 | false | null | package com.krenvpravo.sampleappcompat.otherscreens
import android.view.View
import androidx.fragment.app.Fragment
import com.viewbinder.BindingResetter
import com.viewbinder.ResettableLazy
import com.viewbinder.androidx.abstractBind
/**
* @author Dmitry Borodin on 2017-10-10.
*/
open class BaseFragment : Fragment... | 2 | null | 1 | 8 | a57fa30bf6cb7a7c596425fe727edb5568d76a78 | 731 | viewbinder | Apache License 2.0 |
src/main/java/me/liuli/luminous/agent/hook/asm/HookClassVisitor.kt | UnlegitMC | 424,152,042 | false | {"Kotlin": 129019} | package me.liuli.luminous.agent.hook.asm
import jdk.internal.org.objectweb.asm.ClassVisitor
import jdk.internal.org.objectweb.asm.MethodVisitor
import jdk.internal.org.objectweb.asm.Opcodes
import me.liuli.luminous.agent.hook.impl.HookFunction
class HookClassVisitor(classVisitor: ClassVisitor, val function: HookFunct... | 4 | Kotlin | 6 | 26 | abb744cf76b715013c9383731b8077311495f152 | 837 | Luminous | Do What The F*ck You Want To Public License |
app/src/main/java/com/example/bubbleidea/ui/library/LibraryViewModel.kt | VovoZozo | 497,968,486 | false | null | package com.example.bubbleidea.ui.library
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.example.bubbleidea.database.entites.ActivateWord
import com.example.bubbleidea.helpers.*
import com.example.bubb... | 0 | Kotlin | 0 | 0 | d85da555c3b438b491ea00b46d398a5d1f820f3d | 4,000 | BubbleIdea | MIT License |
app/src/main/java/com/airy/juju/ui/adapter/listView/NotificationsAdapter.kt | AiryMiku | 174,809,394 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "YAML": 1, "Proguard": 1, "Kotlin": 112, "XML": 76, "Java": 1} | package com.airy.juju.ui.adapter.listView
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.ListAdapter
import androidx.recyclerview.widget.RecyclerView
import com.airy.juju.bean.Notification
import com.airy.juju.databindin... | 0 | Kotlin | 1 | 1 | 3b0a2035373f9e6dfdf985c5b71c30dcce414273 | 1,617 | JuJu_Android | MIT License |
app/src/main/java/jp/juggler/subwaytooter/table/MediaShownMisskey.kt | comradekingu | 148,268,902 | false | null | package jp.juggler.subwaytooter.table
import android.content.ContentValues
import android.database.sqlite.SQLiteDatabase
import jp.juggler.subwaytooter.App1
import jp.juggler.subwaytooter.api.entity.TootStatus
import jp.juggler.subwaytooter.util.LogCategory
import jp.juggler.subwaytooter.util.getInt
object MediaShow... | 1 | null | 1 | 1 | 805af9ca2c4ddd770fd79b0a19a35e036bf41387 | 2,389 | SubwayTooter | Apache License 2.0 |
dmn-test-cases/standard/tck/1.1/cl3/0031-static-user-defined-functions/translator/expected/kotlin/dmn/FnInvocationPositionalParameters.kt | goldmansachs | 118,478,361 | false | null |
import java.util.*
import java.util.stream.Collectors
@javax.annotation.Generated(value = ["decision.ftl", "fn invocation positional parameters"])
@com.gs.dmn.runtime.annotation.DRGElement(
namespace = "",
name = "fn invocation positional parameters",
label = "",
elementKind = com.gs.dmn.runtime.annot... | 9 | null | 43 | 149 | 1e252d7dcfb0e2da0816304ea6456f10734ac2f4 | 5,111 | jdmn | Apache License 2.0 |
sample/src/main/kotlin/com/davemorrissey/labs/subscaleview/test/eventhandlingadvanced/AdvancedEventHandlingActivity.kt | tachiyomiorg-archive | 743,202,283 | true | {"Java Properties": 1, "Gradle Kotlin DSL": 3, "Shell": 1, "Markdown": 3, "Batchfile": 1, "Text": 2, "Gradle": 1, "Ignore List": 1, "INI": 1, "HTML": 34, "JavaScript": 1, "CSS": 1, "XML": 24, "Java": 1, "Kotlin": 32} | package com.davemorrissey.labs.subscaleview.test.eventhandlingadvanced
import android.os.Bundle
import android.view.GestureDetector
import android.view.GestureDetector.SimpleOnGestureListener
import android.view.MotionEvent
import android.view.View
import android.widget.Toast
import com.davemorrissey.labs.subscaleview... | 0 | null | 0 | 0 | 33daa6344727d8f05af43f3eec634f262311e9cd | 3,843 | subsampling-scale-image-view | Apache License 2.0 |
parser/datacap-parser-mysql/src/main/kotlin/io/edurt/datacap/parser/mysql/companion/tree/Limit.kt | devlive-community | 537,719,266 | false | {"Java": 1998447, "Vue": 742066, "Kotlin": 462615, "TypeScript": 217485, "ANTLR": 188268, "Shell": 13094, "JavaScript": 3357, "CSS": 1627, "HTML": 357, "Dockerfile": 329} | package io.edurt.datacap.parser.mysql.companion.tree
import io.edurt.datacap.parser.mysql.companion.ast.Node
import io.edurt.datacap.parser.mysql.companion.ast.NodeLocation
import java.util.*
class Limit(override val location: Optional<NodeLocation>,
val children: Set<LimitItem>) : Node(location)
| 32 | Java | 94 | 865 | 1d6be5c990ed3f952bc28699ea15a68b1e2bc265 | 312 | datacap | Apache License 2.0 |
core/src/main/kotlin/io/wax911/sample/core/extension/ImageExt.kt | fossabot | 223,555,788 | true | {"Gradle": 14, "Java Properties": 3, "Markdown": 7, "YAML": 2, "Shell": 1, "Text": 1, "Ignore List": 11, "Batchfile": 1, "Proguard": 10, "Kotlin": 158, "XML": 78, "INI": 6, "JSON": 8, "Java": 1} | package io.wax911.sample.core.extension
import androidx.appcompat.widget.AppCompatImageView
import androidx.databinding.BindingAdapter
import com.bumptech.glide.Glide
import com.bumptech.glide.load.resource.drawable.DrawableTransitionOptions
import com.bumptech.glide.request.RequestOptions
import io.wax911.sample.core... | 0 | Kotlin | 0 | 0 | 50be1a136fc46fb0eaccc041ef40eca2f4c67771 | 1,004 | support-arch | Apache License 2.0 |
src/main/kotlin/org/yinwang/pysonar/ast/Ellipsis.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 Ellipsis(file: String, start: Int, end: Int) : Node(NodeType.ELLIPSIS, file, start, end) {
override fun toString(): String = "..."
}
| 1 | null | 1 | 1 | 1f8fd89c13d96919391887fbb5399ed6aba51f72 | 175 | pysonar2 | BSD Zero Clause License |
plugins/kotlin/idea/resources/inlayProviders/kotlin.references.types.hints/hints.type.variable.kt | JetBrains | 2,489,216 | false | null | fun test()
{
val list = listOf(81.0)
} | 191 | null | 4372 | 13,319 | 4d19d247824d8005662f7bd0c03f88ae81d5364b | 42 | intellij-community | Apache License 2.0 |
plugins/kotlin/idea/resources/inlayProviders/kotlin.references.types.hints/hints.type.variable.kt | JetBrains | 2,489,216 | false | null | fun test()
{
val list = listOf(81.0)
} | 191 | null | 4372 | 13,319 | 4d19d247824d8005662f7bd0c03f88ae81d5364b | 42 | intellij-community | Apache License 2.0 |
collection/collection-benchmark-kmp/src/commonMain/kotlin/androidx/collection/SimpleArrayMapBenchmark.kt | androidx | 256,589,781 | false | null | /*
* Copyright 2022 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 | 1011 | 5,321 | 98b929d303f34d569e9fd8a529f022d398d1024b | 1,316 | androidx | Apache License 2.0 |
compiler/testData/diagnostics/tests/inline/nonLocalBreakContinue/withGuards.kt | JetBrains | 3,432,266 | false | null | // LANGUAGE: +BreakContinueInInlineLambdas, +WhenGuards
// ISSUE: KT-1436
fun noInline(s: ()->Unit) {
s()
}
inline fun inline(s: ()->Unit) {
s()
}
fun test1(x: Any, b: Boolean?){
for (i in 0..10) {
inline {
when(x) {
is String if b ?: continue -> 1
is I... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 1,240 | kotlin | Apache License 2.0 |
stphotomap/src/main/java/com/streetography/stphotomap/scenes/stphotomap/STPhotoMapView.kt | mikelanza | 191,293,030 | false | null | package com.streetography.stphotomap.scenes.stphotomap
import android.Manifest
import android.app.Activity
import android.app.AlertDialog
import android.content.Context
import android.graphics.Color
import android.graphics.Paint
import android.graphics.PorterDuff
import android.os.Build
import android.os.Bundle
import... | 0 | null | 0 | 2 | cff318d3b651751f338c94d3ddabe35be29c7174 | 18,197 | st-photo-map-android | MIT License |
app/src/main/java/com/ksmirenko/flexicards/app/DatabaseManager.kt | ksmirenko | 50,786,198 | false | null | package com.ksmirenko.flexicards.app
import android.content.ContentValues
import android.content.Context
import android.database.Cursor
import android.database.sqlite.SQLiteDatabase
import android.database.sqlite.SQLiteOpenHelper
import android.provider.BaseColumns
import android.widget.FilterQueryProvider
import com.... | 2 | null | 1 | 3 | 4622530597c086c53aeff49a126d830bdb399e0e | 16,677 | flexicards-android | Apache License 2.0 |
appholder/src/main/java/com/android/mdl/app/fragment/UpdateCheckFragment.kt | google | 248,844,077 | false | null | package com.android.mdl.app.fragment
import android.os.Bundle
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.navigation.fragment.findNavController
import androidx.navigation.fragment.navArgs
import ... | 4 | null | 24 | 44 | ce3b4a893bd7f5ce491211bc7ab0d6098d23534c | 6,611 | mdl-ref-apps | Apache License 2.0 |
api/src/main/kotlin/pl/bas/microtwitter/repositories/UserRepository.kt | Humberd | 105,806,448 | false | {"YAML": 2, "Text": 1, "Ignore List": 3, "Groovy": 1, "Markdown": 3, "XML": 13, "JSON with Comments": 2, "JSON": 6, "Dockerfile": 4, "JavaScript": 2, "EditorConfig": 1, "HTML": 43, "SCSS": 55, "SVG": 1, "Batchfile": 1, "Shell": 1, "Maven POM": 1, "INI": 1, "Java Properties": 6, "Kotlin": 49, "Java": 1} | package pl.bas.microtwitter.repositories
import org.intellij.lang.annotations.Language
import org.springframework.data.domain.Page
import org.springframework.data.domain.Pageable
import org.springframework.data.jpa.repository.JpaRepository
import org.springframework.data.jpa.repository.Query
import org.springframework... | 0 | Kotlin | 0 | 3 | f0b33295f1b18d553480bb46ed50b813000dbbd4 | 2,180 | MicroTwitter | MIT License |
src/main/java/thedarkcolour/futuremc/block/BlockHoneyBlock.kt | Pidrosax | 257,567,349 | false | {"Text": 2, "INI": 3, "Gradle": 1, "Shell": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "Java": 52, "Kotlin": 170, "JSON": 390} | package thedarkcolour.futuremc.block
import net.minecraft.block.BlockSlime
import net.minecraft.block.material.MapColor
import net.minecraft.block.material.Material
import net.minecraft.block.state.IBlockState
import net.minecraft.creativetab.CreativeTabs
import net.minecraft.entity.Entity
import net.minecraft.util.Bl... | 1 | null | 1 | 1 | b343d2a134eab9575b1f9b45422862b2e964e74a | 5,513 | Future-MC | FSF All Permissive License |
app/src/main/java/com/goda/marvel/domain/detail/DetailListUseCases.kt | gehadfatah | 228,142,732 | false | null | package com.goda.marvel.domain.detail
import com.goda.marvel.model.CESSResult
import io.reactivex.Single
val detailListUseCasesDep by lazy {
DetailListInteractor()
}
interface DetailListUseCases {
fun getComicsListBy(characterId:Int): Single<List<CESSResult>>
fun getEventsListBy(characterId:Int): Single<... | 0 | Kotlin | 0 | 0 | b4a9593a5ec3dd100c815657c52a34b044ca3358 | 475 | MarvelGodaApp | Apache License 2.0 |
btc-registration/src/main/kotlin/com/d3/btc/registration/main.kt | d3ledger | 183,226,939 | false | {"Gradle": 14, "Shell": 2, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Groovy": 2, "Markdown": 6, "Java": 4, "INI": 7, "Java Properties": 21, "Kotlin": 120, "YAML": 4, "Public Key": 3} | /*
* Copyright D3 Ledger, Inc. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
@file:JvmName("BtcRegistrationMain")
package com.d3.btc.registration
import com.d3.btc.registration.init.BtcRegistrationServiceInitialization
import com.d3.commons.config.getProfile
import com.github.kittinunf.result.Resu... | 2 | Kotlin | 4 | 3 | f1b4b11e740951f3e2ab9e8dc958c5d8ce22f536 | 1,329 | d3-btc | Apache License 2.0 |
test/src/test/java/permissions/dispatcher/test/FragmentWithAllAnnotationsKtPermissionsDispatcherTest.kt | ibisalan | 325,533,075 | false | null | package permissions.dispatcher.test
import android.content.pm.PackageManager
import androidx.core.content.PermissionChecker
import org.junit.After
import org.junit.Before
import org.junit.BeforeClass
import org.junit.Test
import org.junit.runner.RunWith
import org.mockito.Matchers.any
import org.mockito.Mockito
import... | 29 | null | 1454 | 2 | 3a238dad5a27d90b0bf27f22be920a2d6ac968a8 | 5,328 | PermissionsDispatcher | Apache License 2.0 |
example/src/main/java/com/pixite/billingx/MainActivity.kt | pixiteapps | 124,717,305 | false | null | package com.pixite.billingx
import android.os.Bundle
import android.view.View
import android.widget.TextView
import androidx.lifecycle.Observer
import com.google.android.material.floatingactionbutton.FloatingActionButton
class MainActivity : BaseActivity() {
private lateinit var purchaseButton: FloatingActionButto... | 3 | null | 10 | 172 | 3eaf374d7247abe1b42797c375076136e3f567fc | 1,278 | billingx | Apache License 2.0 |
billing/src/main/java/org/stepik/android/remote/billing/BillingRemoteDataSourceImpl.kt | StepicOrg | 42,045,161 | false | null | package org.stepik.android.remote.billing
import com.android.billingclient.api.BillingClient
import com.android.billingclient.api.ConsumeParams
import com.android.billingclient.api.Purchase
import com.android.billingclient.api.SkuDetails
import com.android.billingclient.api.SkuDetailsParams
import io.reactivex.Complet... | 13 | null | 58 | 189 | dd12cb96811a6fc2a7addcd969381570e335aca7 | 3,239 | stepik-android | Apache License 2.0 |
platform/platform-impl/src/com/intellij/ui/content/impl/MessageViewImpl.kt | JetBrains | 2,489,216 | false | null | // Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.ui.content.impl
import com.intellij.concurrency.captureThreadContext
import com.intellij.icons.AllIcons
import com.intellij.openapi.application.EDT
import com.intellij.openapi.c... | 284 | null | 5162 | 16,707 | def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0 | 2,280 | intellij-community | Apache License 2.0 |
wkbase/src/main/java/com/chat/base/entity/BottomSheetItem.kt | TangSengDaoDao | 662,829,316 | false | null | package com.chat.base.entity
class BottomSheetItem(var text: CharSequence, var icon: Int, var iClick: IBottomSheetClick) {
interface IBottomSheetClick {
fun onClick()
}
} | 2 | null | 57 | 78 | c027cd31505820cc89738925b5a981abbfd43a5d | 188 | TangSengDaoDaoAndroid | Apache License 2.0 |
amazon-sns-trigger-server/src/test/kotlin/jetbrains/buildServer/clouds/amazon/sns/trigger/controllers/AwsSnsHttpEndpointControllerTest.kt | JetBrains | 533,246,479 | false | {"Gradle Kotlin DSL": 3, "INI": 2, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "XML": 5, "Java": 16, "Kotlin": 8, "Java Server Pages": 2} | package jetbrains.buildServer.clouds.amazon.sns.trigger.controllers
import io.mockk.every
import io.mockk.junit5.MockKExtension
import io.mockk.mockk
import io.mockk.mockkStatic
import jetbrains.buildServer.buildTriggers.BuildTriggerDescriptor
import jetbrains.buildServer.clouds.amazon.sns.trigger.dto.SnsNotificationD... | 0 | Java | 2 | 3 | 6a6d8f2e0af259397f3404936eea270cc479ad2b | 4,997 | teamcity-aws-sns-trigger-plugin | Apache License 2.0 |
dkplayer-java/src/main/java/xyz/doikki/videoplayer/internal/DKVideoViewContainer.kt | Jisucloud | 563,157,256 | true | {"Batchfile": 1, "Shell": 2, "Markdown": 3, "Java Properties": 2, "Proguard": 5, "Kotlin": 50, "Java": 203} | package xyz.doikki.videoplayer.internal
import android.content.Context
import android.util.AttributeSet
import android.util.Log
import android.view.Gravity
import android.view.View
import android.view.ViewGroup
import android.widget.FrameLayout
import xyz.doikki.videoplayer.*
import xyz.doikki.videoplayer.controller.V... | 0 | Java | 0 | 0 | 43d319d6000357610461848eccc9af40099655a5 | 5,560 | DKVideoPlayer | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.