path stringlengths 4 280 | owner stringlengths 2 39 | repo_id int64 21.1k 879M | is_fork bool 2
classes | languages_distribution stringlengths 13 1.95k ⌀ | content stringlengths 7 482k | issues int64 0 13.9k | main_language stringclasses 121
values | forks stringlengths 1 5 | stars int64 0 111k | commit_sha stringlengths 40 40 | size int64 7 482k | name stringlengths 1 100 | license stringclasses 93
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
src/test/java/org/mapdb/DBTest.kt | shadowridgedev | 135,544,776 | true | {"YAML": 1, "Text": 1, "Java Properties": 1, "Markdown": 1, "Gradle": 1, "Ignore List": 1, "Kotlin": 22, "Java": 18, "XML": 2} | package org.mapdb
import io.kotlintest.should
import io.kotlintest.shouldBe
import org.junit.Test
import org.mapdb.serializer.Serializers
import org.mapdb.store.StoreOnHeapSer
import org.mapdb.store.StoreOnHeap
class DBTest{
@Test
fun store(){
DB.newOnHeapDB().make().store should {it is StoreOnHeap}
... | 0 | Java | 0 | 0 | cf54c44f4fc932c65e99b4f59a2efe8a287434e7 | 934 | mapdb | Apache License 2.0 |
app/src/main/java/org/haidy/servify/presentation/screens/location/LocationUiState.kt | HaidyAbuGom3a | 805,534,454 | false | {"Kotlin": 702248} | package org.haidy.servify.presentation.screens.location
import org.haidy.servify.domain.model.Specialist
data class LocationUiState(
val nearestSpecialists: List<Specialist> = emptyList(),
val currentSpecialist: Specialist? = null
) | 0 | Kotlin | 0 | 2 | 8c2ba73cea5d29cc2ef7048d832f8ecea13f34ee | 242 | Servify | Apache License 2.0 |
src/test/kotlin/uk/gov/justice/digital/hmpps/prisonperson/jpa/repository/FieldHistoryRepositoryTest.kt | ministryofjustice | 805,355,441 | false | {"Kotlin": 647651, "Shell": 6374, "Dockerfile": 1365} | package uk.gov.justice.digital.hmpps.prisonperson.jpa.repository
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Assertions.assertThrows
import org.junit.jupiter.api.Test
import org.springframework.dao.DataIntegrityViolationException
import org.springframework.orm.jpa.JpaObjectRetrievalF... | 4 | Kotlin | 0 | 1 | c790d98025319a8a9af1c2f46d164e9eda2ff76a | 9,302 | hmpps-prison-person-api | MIT License |
src/main/kotlin/com/github/rafaelldi/tyeplugin/api/dto/ServiceMetricsDto.kt | rafaelldi | 342,595,811 | false | null | package com.github.rafaelldi.tyeplugin.api.dto
data class ServiceMetricsDto(
val service: String?,
val metrics: List<MetricDto>?
) | 0 | Kotlin | 1 | 8 | 5824f812f483745b40c1a2ce24297b96b16d2d71 | 139 | tye-plugin | MIT License |
dbinspector/src/main/kotlin/com/infinum/dbinspector/extensions/Context.kt | brahmantya | 321,405,181 | false | null | package com.infinum.dbinspector.extensions
import android.content.Context
import android.graphics.drawable.Drawable
import android.util.TypedValue
import androidx.core.content.ContextCompat
internal val Context.databaseDir: String
get() = "${filesDir.path.substring(0, filesDir.path.lastIndexOf("/"))}/databases"
... | 0 | Kotlin | 0 | 0 | 2faef15dacd9fb8d21e41cc5100b1a91c82b80d2 | 658 | P.MOBILE-TUGAS-MODUL10 | Apache License 2.0 |
tmp/arrays/youTrackTests/10204.kt | DaniilStepanov | 228,623,440 | false | null | // Original bug: KT-3299
fun main(args: Array<String>) {
// val a = try{throw Exception("error")} catch(e: Exception) {null}
// val b = try{throw Exception("error")} catch(e: Exception) {null}
test(
try{throw Exception("error")} catch(e: Exception) {null},//a,
try{throw Exception("er... | 1 | null | 12 | 1 | 602285ec60b01eee473dcb0b08ce497b1c254983 | 415 | bbfgradle | Apache License 2.0 |
composeApp/src/commonMain/kotlin/io/ssttkkl/mahjongutils/app/screens/shanten/ShantenFillbackHandler.kt | ssttkkl | 730,960,836 | false | null | package io.ssttkkl.mahjongutils.app.screens.shanten
import androidx.compose.runtime.Stable
import io.ssttkkl.mahjongutils.app.components.resultdisplay.FillbackHandler
import io.ssttkkl.mahjongutils.app.components.resultdisplay.ShantenAction
import io.ssttkkl.mahjongutils.app.models.shanten.ShantenArgs
import io.ssttkk... | 1 | null | 6 | 81 | 947bb06b886b7dcc5396dd73b7d0d88dc61981e9 | 1,773 | mahjong-utils-app | MIT License |
core/src/commonMain/kotlin/VectorSetParser.kt | LennartEgb | 520,006,256 | false | {"Kotlin": 110363, "Shell": 467} | interface VectorSetParser {
fun parse(content: String): Result<VectorSet>
}
| 1 | Kotlin | 3 | 25 | ada1c6f3fee4f631b4e1737ee168ca18b9449397 | 80 | vec2compose | MIT License |
app/src/main/java/com/prmto/mova_movieapp/core/data/mapper/TvSeriesMapper.kt | tolgaprm | 541,709,201 | false | {"Kotlin": 531468} | package com.prmto.mova_movieapp.core.data.mapper
import com.prmto.mova_movieapp.core.data.data_source.local.models.tv.FavoriteTvSeries
import com.prmto.mova_movieapp.core.data.data_source.local.models.tv.TvSeriesWatchListItem
import com.prmto.mova_movieapp.core.data.dto.TvSeriesDto
import com.prmto.mova_movieapp.core.... | 1 | Kotlin | 3 | 55 | 816f5eceec10a5aae39e8594f7f02744050c16f9 | 1,560 | Mova-MovieApp | Apache License 2.0 |
render/jpql/src/main/kotlin/com/linecorp/kotlinjdsl/render/jpql/serializer/impl/JpqlCurrentTimestampSerializer.kt | line | 442,633,985 | false | {"Kotlin": 1959613, "JavaScript": 5144, "Shell": 1023} | package com.linecorp.kotlinjdsl.render.jpql.serializer.impl
import com.linecorp.kotlinjdsl.Internal
import com.linecorp.kotlinjdsl.querymodel.jpql.expression.impl.JpqlCurrentTimestamp
import com.linecorp.kotlinjdsl.render.RenderContext
import com.linecorp.kotlinjdsl.render.jpql.serializer.JpqlSerializer
import com.lin... | 4 | Kotlin | 86 | 705 | 3a58ff84b1c91bbefd428634f74a94a18c9b76fd | 749 | kotlin-jdsl | Apache License 2.0 |
sdk-base/src/main/java/com/mapbox/maps/plugin/annotation/AnnotationManager.kt | mapbox | 330,365,289 | false | null | package com.mapbox.maps.plugin.annotation
import com.mapbox.geojson.Geometry
import com.mapbox.maps.plugin.delegates.MapDelegateProvider
/**
* Interface for annotationManager
*/
interface AnnotationManager<
G : Geometry,
T : Annotation<G>,
S : AnnotationOptions<G, T>,
D : OnAnnotationDragListener<T>,
U : ... | 216 | null | 131 | 472 | 2700dcaf18e70d23a19fc35b479bff6a2d490475 | 4,048 | mapbox-maps-android | Apache License 2.0 |
app/src/main/java/com/kunalfarmah/covid_19_info_dashboard/ui/fragment/PostsFragment.kt | KunalFarmah98 | 362,598,329 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "JSON": 2, "Proguard": 1, "Kotlin": 55, "XML": 73, "Java": 2} | package com.kunalfarmah.covid_19_info_dashboard.ui.fragment
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.content.SharedPreferences
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android... | 1 | null | 1 | 1 | 3325570cedda2741d33d96c0e141c98746bf3a02 | 5,574 | COVID-19-India-Dashboard-Information-Vaccination-Leads | MIT License |
plugins/gradle/src/org/jetbrains/plugins/gradle/service/resolve/GradleProjectContributor.kt | androidports | 115,100,208 | false | null | /*
* Copyright 2000-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 6 | null | 2 | 4 | 6e4f7135c5843ed93c15a9782f29e4400df8b068 | 2,537 | intellij-community | Apache License 2.0 |
core/src/commonMain/kotlin/work/socialhub/kmisskey/api/response/i/INotificationsResponse.kt | uakihir0 | 756,689,268 | false | {"Kotlin": 251848, "Shell": 2146, "Makefile": 318} | package work.socialhub.kmisskey.api.response.i
import kotlinx.serialization.Serializable
import work.socialhub.kmisskey.entity.Notification
import kotlin.js.JsExport
@JsExport
@Serializable
class INotificationsResponse : Notification()
| 0 | Kotlin | 1 | 3 | bbe3fe37d54e24bf1b3ff8b680f25bbc4e190578 | 238 | kmisskey | MIT License |
compiler/testData/diagnostics/testsWithJvmBackend/duplicateJvmSignature/specialNames/enum.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... | // FIR_IDENTICAL
// !DIAGNOSTICS: -UNUSED_PARAMETER
<!CONFLICTING_JVM_DECLARATIONS, CONFLICTING_JVM_DECLARATIONS!>enum class E {
A;
<!CONFLICTING_JVM_DECLARATIONS!>fun values(): Array<E> = null!!<!>
<!CONFLICTING_JVM_DECLARATIONS!>fun valueOf(s: String): E = null!!<!>
}<!>
| 181 | Kotlin | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 288 | kotlin | Apache License 2.0 |
frag-nav/src/main/java/com/ncapdevi/fragnav/FragNavPopController.kt | Ashok-Varma | 62,360,192 | true | {"Kotlin": 86085, "Java": 173} | package com.ncapdevi.fragnav
interface FragNavPopController {
@Throws(UnsupportedOperationException::class)
fun tryPopFragments(popDepth: Int, transactionOptions: FragNavTransactionOptions?): Int
}
| 0 | Kotlin | 2 | 5 | 05f59412c6838fc765ae872faeee7e9e8983f9c5 | 207 | FragNav | Apache License 2.0 |
common/src/main/java/me/wcy/common/widget/decoration/GridSpacingDecoration.kt | wangchenyan | 625,252,978 | false | null | package me.wcy.common.widget.decoration
import android.graphics.Rect
import android.view.View
import androidx.recyclerview.widget.GridLayoutManager
import androidx.recyclerview.widget.RecyclerView
/**
* Created by wangchenyan.top on 2022/3/24.
*/
class GridSpacingDecoration(
private val horizontalSpacing: Int,
... | 0 | Kotlin | 0 | 3 | f82e6a282e25dd26608320aee23f7c9124cd2d88 | 2,525 | android-common | Apache License 2.0 |
app/src/main/java/com/vjgarcia/chucknorrisjokes/presentation/JokesViewModel.kt | vjgarciag96 | 127,535,631 | false | null | package com.vjgarcia.chucknorrisjokes.presentation
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.vjgarcia.chucknorrisjokes.core.presentation.SingleLiveEvent
import com.vjgarcia.chucknorrisjokes.mappers.toAction
import com.vjgarcia.chucknorri... | 0 | Kotlin | 0 | 0 | 2914428c1a986148e1b19ef060682c85d146f2ca | 1,343 | chuck-norris-jokes | MIT License |
src/main/kotlin/org/ktapi/db/ktorm/KtormEntity.kt | ktapi | 561,554,216 | false | null | package org.ktapi.db.ktorm
import org.ktapi.entities.LazyLoads
import org.ktorm.entity.Entity
import kotlin.reflect.KProperty
interface KtormEntity<E : Entity<E>, T : org.ktapi.entities.Entity<T>> : Entity<E>, LazyLoads,
org.ktapi.entities.Entity<T> {
override fun lazyLoads(): MutableMap<String, Any?> {
... | 0 | Kotlin | 0 | 0 | 94b58ba1ee7c6988b44ba70a0339ef33c7d2b015 | 761 | ktapi | Apache License 2.0 |
permission-flow/src/test/java/dev/shreyaspatil/permissionFlow/watchmen/PermissionWatchmenTest.kt | PatilShreyas | 504,894,810 | false | null | /**
* Copyright 2022 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writi... | 7 | null | 21 | 515 | a69b60332dc4a29e9f70a991fca7dce66fbf78a5 | 12,337 | permission-flow-android | Apache License 2.0 |
idea-plugin/src/main/kotlin/konnekt/ClientFunOutsideInterfaceDiagnostic.kt | koperagen | 324,244,790 | false | null | package konnekt
import com.intellij.codeInspection.LocalInspectionToolSession
import com.intellij.codeInspection.ProblemHighlightType
import com.intellij.codeInspection.ProblemsHolder
import com.intellij.psi.PsiElementVisitor
import konnekt.dependencies.hasVerbAnnotation
import org.jetbrains.kotlin.idea.inspections.Ab... | 0 | Kotlin | 0 | 0 | c9665f8d71f58322051badf95346ba7773ec1983 | 970 | konnekt | Apache License 2.0 |
buildSrc/src/test/kotlin/com/example/forgery/FooForgeryFactory.kt | DataDog | 219,536,756 | false | null | /*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/
package com.example.forgery
import com.example.model.Foo
import fr.x... | 33 | Kotlin | 39 | 86 | bcf0d12fd978df4e28848b007d5fcce9cb97df1c | 634 | dd-sdk-android | Apache License 2.0 |
src/main/kotlin/com/timepath/steam/io/storage/VPK.kt | SourceUtils | 9,677,327 | false | {"Gradle": 1, "Ignore List": 1, "Text": 1, "YAML": 1, "Markdown": 1, "Kotlin": 20, "Java": 23, "ANTLR": 1} | package com.timepath.steam.io.storage
import com.timepath.DataUtils
import com.timepath.StringUtils
import com.timepath.io.ByteBufferInputStream
import com.timepath.io.struct.StructField
import com.timepath.toUnsigned
import com.timepath.vfs.SimpleVFile
import com.timepath.vfs.provider.ExtendedVFile
import com.timepat... | 0 | Kotlin | 1 | 0 | 3e9e0bc4dc82d0d993db420de3b7b767f843ffb3 | 8,174 | steam-toolkit | Artistic License 2.0 |
app/src/main/java/com/prerna/newsappkotlin/db/Converters.kt | Prernaakumaree | 356,011,312 | false | null | package com.prerna.newsappkotlin.db
import androidx.room.TypeConverter
import com.prerna.newsappkotlin.model.Source
class Converters {
@TypeConverter
fun fromSource(source: Source) = source.name
@TypeConverter
fun toSource(name: String) = Source(name, name)
} | 0 | Kotlin | 0 | 0 | 5b978217026b703c98bd2d420d6f8139e166af84 | 279 | NewsAppKotlin | Apache License 2.0 |
plugins/space/src/main/kotlin/circlet/plugins/pipelines/services/run/CircletRunConfigurationType.kt | Almighty-Alpaca | 266,171,583 | false | null | package circlet.plugins.pipelines.services.run
import com.intellij.execution.configurations.*
import com.intellij.openapi.components.*
import com.intellij.openapi.project.*
import com.intellij.openapi.util.*
import icons.*
import platform.common.*
class CircletRunConfigurationType : SimpleConfigurationType(
"Circ... | 1 | null | 1 | 1 | 405fb33af5aae496c0b247baf9aaf6f260f98fbb | 733 | intellij-community | Apache License 2.0 |
PhoneApp/Conduit/app/src/main/java/ca/uwaterloo/fydp/conduit/conduitview/ConduitStatusView.kt | davanB | 137,275,499 | false | null | package ca.uwaterloo.fydp.conduit.conduitview
import android.content.Context
import android.util.AttributeSet
import android.view.View
import android.widget.LinearLayout
import android.widget.RelativeLayout
import android.widget.TextView
import ca.uwaterloo.fydp.conduit.R
import ca.uwaterloo.fydp.conduit.connectionuti... | 1 | null | 1 | 1 | 1c134edb3281418c9fd33cd5bc35111fcbcddc93 | 2,456 | Conduit | Apache License 2.0 |
app/src/main/java/com/app/deliveryapplication/ui/profile/ProfileFragment.kt | AlexVeresh | 286,580,250 | false | null | package com.app.deliveryapplication.ui.profile
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.navigation.fragment.findNavController
import com.app.deliveryapplication.R
import com.app.deliveryappli... | 0 | Kotlin | 0 | 0 | fc6a17b79382d82e7ef4602e44f358cfeea72254 | 1,674 | DeliveryApplication | Apache License 2.0 |
src/main/kotlin/io/framed/framework/view/TableView.kt | Eden-06 | 138,000,306 | false | {"Kotlin": 675525, "SCSS": 21894, "HTML": 768} | package io.framed.framework.view
import org.w3c.dom.HTMLTableElement
/**
* @author lars
*/
class TableView : ViewCollection<TableRow, HTMLTableElement>("table") {
}
fun ListView.tableView(init: TableView.() -> Unit): TableView {
val view = TableView()
append(view)
init(view)
return view
} | 5 | Kotlin | 1 | 2 | 27f4a4c44d90f20f748ab779c3c184cb012a59fe | 311 | FRaMED-io | MIT License |
app/src/main/java/com/ingjuanocampo/enfila/android/home/profile/viewmodel/ProfileViewModel.kt | ingjuanocampo | 387,043,993 | false | {"Kotlin": 247926} | package com.ingjuanocampo.enfila.android.home.profile.viewmodel
import androidx.lifecycle.viewModelScope
import com.ingjuanocampo.common.composable.LogoutOut
import com.ingjuanocampo.common.composable.MviBaseViewModel
import com.ingjuanocampo.enfila.android.home.profile.model.ProfileCard
import com.ingjuanocampo.enfil... | 2 | Kotlin | 0 | 0 | 31011df678fd6379247957c74de1e4940b0ad2e6 | 2,261 | EnFila-Android | MIT License |
compiler/testData/checkLocalVariablesTable/namespace$foo$1.kt | chirino | 3,596,099 | true | null | fun foo() {
fun bar() {
}
}
// METHOD : invoke()V
// VARIABLE : NAME=this TYPE=Lnamespace$foo$1; INDEX=0 | 0 | Java | 28 | 71 | ac434d48525a0e5b57c66b9f61b388ccf3d898b5 | 114 | kotlin | Apache License 2.0 |
kotlin.web.demo.server/examples/Kotlin Koans/Introduction/Nullable types/Task.kt | arrow-kt | 117,599,238 | true | {"Shell": 3, "Gradle": 21, "Text": 15, "YAML": 3, "INI": 4, "Java Properties": 12, "Ignore List": 2, "Batchfile": 1, "XML": 23, "Markdown": 45, "JSON": 152, "HTML": 3, "JavaScript": 20, "Kotlin": 546, "SVG": 16, "CSS": 19, "AsciiDoc": 1, "Java": 109, "JAR Manifest": 2, "SQL": 2, "Dockerfile": 3} | fun sendMessageToClient(
client: Client?, message: String?, mailer: Mailer
){
TODO()
}
class Client (val personalInfo: PersonalInfo?)
class PersonalInfo (val email: String?)
interface Mailer {
fun sendMessage(email: String, message: String)
} | 2 | Kotlin | 2 | 7 | 7165d9568d725c9784a1e7525f35bab93241f292 | 259 | try.arrow-kt.io | Apache License 2.0 |
jvm/src/main/kotlin/com/antongoncharov/demo/surveys/model/spec/SearchConstants.kt | anton-goncharov | 357,641,384 | false | null | package com.antongoncharov.demo.surveys.model.spec
object SearchConstants {
val PAGE = "page"
val SIZE = "size"
val SORT = "sort"
val SEARCH_SURVEY_PARAM_TAG = "tag"
val SEARCH_SURVEY_PARAM_STATUS = "status"
val SEARCH_SURVEY_PARAM_TIME = "time"
val PARAM_TAG_UNTAGGED = "none"
val PAR... | 0 | Kotlin | 1 | 6 | 3da7f0e67dc0db24a89e0157fc10c858292ce0a9 | 477 | kotlin-vue-surveys-demo | MIT License |
app/src/main/java/app/tivi/showdetails/details/ShowDetailsFragmentViewModel.kt | kumamon-git | 143,403,157 | true | {"Kotlin": 535436, "Shell": 2064, "Java": 737} | /*
* Copyright 2018 Google, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 0 | Kotlin | 0 | 0 | 576ce71a830303f3a78bf0ed20ef4dd9e6f93b1d | 5,609 | tivi | Apache License 2.0 |
src/main/kotlin/com/github/bun133/guilib/zombies/ZombiesConfig.kt | Bun133 | 618,194,543 | false | null | package com.github.bun133.guilib.zombies
import net.kunmc.lab.configlib.BaseConfig
import net.kunmc.lab.configlib.value.DoubleValue
import net.kunmc.lab.configlib.value.FloatValue
import net.kunmc.lab.configlib.value.IntegerValue
import net.kunmc.lab.configlib.value.MaterialValue
import net.kunmc.lab.configlib.value.c... | 0 | Kotlin | 0 | 0 | 544449edbb92d54b0ac64cc742069afcb9ec45cb | 1,679 | Zombies | MIT License |
samples/messenger/feature_contacts_impl/src/main/java/com/revolut/kompot/sample/feature/contacts/ui/flows/add_contact/di/AddContactFlowComponent.kt | revolut-mobile | 488,970,565 | false | {"Kotlin": 795294} | package com.revolut.kompot.sample.feature.contacts.ui.flows.add_contact.di
import com.revolut.kompot.di.scope.FlowScope
import com.revolut.kompot.navigable.vc.di.FlowViewControllerComponent
import com.revolut.kompot.sample.feature.contacts.ui.flows.add_contact.AddContactFlowContract
import com.revolut.kompot.sample.fe... | 0 | Kotlin | 5 | 100 | b0da9ef98e13f0e7b62f96a4b9a6275e56a66555 | 743 | kompot | Apache License 2.0 |
src/commonMain/kotlin/node/Meta.kt | waterstopper | 452,776,841 | false | {"Kotlin": 301038, "JavaScript": 239} | package node
import Message
import sendMessage
import table.SymbolTable
import utils.Utils.NULL
class Meta(
symbol: String,
value: String,
position: Pair<Int, Int>
) : Node(symbol, value, position) {
override fun evaluate(symbolTable: SymbolTable): Any {
val content = symbolTable.getDictionary... | 8 | Kotlin | 1 | 3 | 6ad6ea19c3a79b19c3f747a40a12d64c159997f1 | 532 | Regina | MIT License |
src/main/kotlin/com/github/fsteitz/extractor/token/main/Main.kt | FSteitz | 126,592,316 | false | null | /*
* Copyright 2018 <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 writ... | 0 | Kotlin | 0 | 0 | 0337c1d49ba45edda7eba4c5e688ba75f9d21c04 | 2,791 | url-token-extractor | Apache License 2.0 |
performance/ring/src/main/kotlin/org/jetbrains/ring/InlineBenchmark.kt | JetBrains | 58,957,623 | false | null | /*
* Copyright 2010-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 0 | null | 625 | 7,100 | 9fb0a75ab17e9d8cddd2c3d1802a1cdd83774dfa | 1,745 | kotlin-native | Apache License 2.0 |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/codepipeline/actions/CodeDeployServerDeployActionPropsDsl.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package cloudshift.awscdk.dsl.services.codepipeline.actions
import cloudshift.awscdk.common.CdkDslMar... | 3 | null | 0 | 3 | 256ad92aebe2bcf9a4160089a02c76809dbbedba | 3,221 | awscdk-dsl-kotlin | Apache License 2.0 |
app/src/main/java/org/simple/clinic/bp/entry/confirmremovebloodpressure/ConfirmRemoveBloodPressureEffect.kt | simpledotorg | 132,515,649 | false | {"Kotlin": 6102869, "Shell": 1660, "HTML": 545} | package org.simple.clinic.bp.entry.confirmremovebloodpressure
import java.util.UUID
sealed class ConfirmRemoveBloodPressureEffect
object CloseDialog : ConfirmRemoveBloodPressureEffect()
data class DeleteBloodPressure(val bloodPressureMeasurementUuid: UUID) : ConfirmRemoveBloodPressureEffect()
| 7 | Kotlin | 74 | 226 | efdb8235b38476f1f75d09f0503587ee280f09e2 | 298 | simple-android | MIT License |
src/en/webcomics/src/eu/kanade/tachiyomi/extension/en/webcomics/Webcomics.kt | komikku-app | 720,497,299 | false | null | package eu.kanade.tachiyomi.extension.en.webcomics
import eu.kanade.tachiyomi.network.GET
import eu.kanade.tachiyomi.source.model.Filter
import eu.kanade.tachiyomi.source.model.FilterList
import eu.kanade.tachiyomi.source.model.MangasPage
import eu.kanade.tachiyomi.source.model.Page
import eu.kanade.tachiyomi.source.m... | 9 | null | 99 | 97 | 7fc1d11ee314376fe0daa87755a7590a03bc11c0 | 6,997 | komikku-extensions | Apache License 2.0 |
component-toolkit/src/commonMain/kotlin/com/pablichj/templato/component/core/topbar/ShowBackArrowStrategy.kt | pablichjenkov | 135,388,611 | false | null | package com.pablichj.templato.component.core.topbar
enum class ShowBackArrowStrategy {
WhenParentCanHandleBack,
Always,
WhenStackCountGreaterThanOne
} | 0 | Kotlin | 0 | 26 | 749dee06d4d31413a0f6d90eb67bdfcfd2a61ebf | 163 | component-toolkit | The Unlicense |
src/test/kotlin/uk/gov/justice/digital/hmpps/calculatereleasedatesapi/integration/CalculationIntTest.kt | ministryofjustice | 387,841,000 | false | null | package uk.gov.justice.digital.hmpps.calculatereleasedatesapi.integration
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Test
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.http.MediaType
import uk.gov.justice.digital.hmpps.calculatereleasedates... | 0 | Kotlin | 0 | 1 | 188d67d28c438c0093aa522fc51a4a9a3d5e8ffb | 8,688 | calculate-release-dates-api | MIT License |
src/main/kotlin/me/arasple/mc/trhologram/api/Settings.kt | Micalhl | 396,713,970 | true | null | package me.arasple.mc.trhologram.api
import taboolib.common.platform.function.console
import taboolib.common5.Baffle
import taboolib.module.configuration.Config
import taboolib.module.configuration.Configuration
import taboolib.module.lang.sendLang
import java.util.concurrent.TimeUnit
/**
* @author Arasple
* @date ... | 14 | Kotlin | 7 | 14 | fdf8925a1ba1f7749e1a1cb56db897968d7a0a27 | 1,501 | TrHologram | MIT License |
data/src/main/java/com/jslee/data/model/DailyBoxOfficeModel.kt | JaesungLeee | 675,525,103 | false | {"Kotlin": 296109} | package com.jslee.data.model
import com.jslee.domain.model.movie.BoxOffice
import com.jslee.domain.model.movie.Movie
/**
* MooBeside
* @author jaesung
* @created 2023/08/09
*/
internal data class DailyBoxOfficeModel(
val rankId: String,
val rank: String,
val rankIncrement: String,
val rankEntrySta... | 10 | Kotlin | 0 | 4 | 8d8ccec8afe0042760d6a173dffb1127ac1855a4 | 1,280 | MooBeside | MIT License |
plume/src/main/kotlin/io/github/plume/oss/passes/structure/TypePass.kt | plume-oss | 285,804,384 | false | null | /*
* Copyright 2021 Plume Authors
* <p>
* 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
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applicable law or ... | 6 | Kotlin | 7 | 24 | ff0d35bf6986aa56952762bd7c456cad7a44954e | 4,261 | plume | Apache License 2.0 |
kafkistry-service-logic/src/main/kotlin/com/infobip/kafkistry/service/generator/balance/extensions.kt | infobip | 456,885,171 | false | {"Kotlin": 2628950, "FreeMarker": 812501, "JavaScript": 297269, "CSS": 7204} | package com.infobip.kafkistry.service.generator.balance
import com.infobip.kafkistry.kafka.BrokerId
import com.infobip.kafkistry.kafka.Partition
import com.infobip.kafkistry.model.TopicName
import com.infobip.kafkistry.service.generator.AssignmentsChange
import com.infobip.kafkistry.service.generator.PartitionsReplica... | 2 | Kotlin | 6 | 42 | 62403993a76fdf60b4cae3a87c5be0abe4fb3a88 | 24,127 | kafkistry | Apache License 2.0 |
reflekt-plugin/src/test/resources/org/jetbrains/reflekt/plugin/code/generation/data/classes5_test/project/test/Main.kt | JetBrains-Research | 293,503,377 | false | null | package org.jetbrains.reflekt.codegen.test
import org.jetbrains.reflekt.Reflekt
fun main() {
val classes = Reflekt.classes().withSuperTypes(AInterfaceTest::class, BInterfaceTest::class)
val classes1 = Reflekt.classes().withSuperType<Any>()
val classes2 = Reflekt.classes().withSuperTypes(AInterfaceTest::cl... | 12 | Kotlin | 5 | 246 | c389fa8b1f3aedd5ea990793300b4e15e9670db9 | 517 | reflekt | Apache License 2.0 |
lib/lib-navigation/src/main/kotlin/com/ihardanilchanka/sampleapp2/domain/NavigationDestination.kt | igordanilcenko | 479,943,101 | false | {"Kotlin": 80279} | package com.ihardanilchanka.sampleapp2.domain
data class NavigationDestination(
val route: String,
val launchSingleTop: Boolean = false,
val popUpTo: String? = null,
val popUpToInclusive: Boolean = false,
) | 0 | Kotlin | 0 | 0 | a151d578acf47c49fec1f35bc4eda56ba32e8a72 | 223 | popular-movie-list2 | Apache License 2.0 |
features/settings/src/test/java/com/chesire/nekome/app/settings/config/core/UpdateImageQualityUseCaseTest.kt | Chesire | 223,272,337 | false | {"Kotlin": 740322, "Ruby": 1682} | package com.chesire.nekome.app.settings.config.core
import com.chesire.nekome.core.preferences.SeriesPreferences
import com.chesire.nekome.core.preferences.flags.ImageQuality
import io.mockk.clearAllMocks
import io.mockk.coEvery
import io.mockk.just
import io.mockk.mockk
import io.mockk.runs
import kotlinx.coroutines.... | 24 | Kotlin | 42 | 471 | 191def4011f659972951d3766bfb4e5af4076ab1 | 924 | Nekome | Apache License 2.0 |
v1_29/src/main/java/de/loosetie/k8s/dsl/manifests/PodFailurePolicy.kt | loosetie | 283,145,621 | false | {"Kotlin": 8925107} | package de.loosetie.k8s.dsl.manifests
import de.loosetie.k8s.dsl.K8sTopLevel
import de.loosetie.k8s.dsl.K8sDslMarker
import de.loosetie.k8s.dsl.K8sManifest
import de.loosetie.k8s.dsl.HasMetadata
@K8sDslMarker
interface PodFailurePolicy_batch_v1: K8sManifest {
/** A list of pod failure policy rules. The rules are e... | 0 | Kotlin | 0 | 2 | 57d56ab780bc3134c43377e647e7f0336a5f17de | 657 | k8s-dsl | Apache License 2.0 |
app/src/main/java/dev/kdrag0n/android12ext/monet/colors/Srlch2.kt | raviprakashji | 403,626,459 | true | {"Kotlin": 239564, "Shell": 5955, "GLSL": 3934, "Makefile": 599} | package dev.kdrag0n.android12ext.monet.colors
import dev.kdrag0n.android12ext.monet.colors.Lch.Companion.calcLabA
import dev.kdrag0n.android12ext.monet.colors.Lch.Companion.calcLabB
import dev.kdrag0n.android12ext.monet.colors.Lch.Companion.calcLchC
import dev.kdrag0n.android12ext.monet.colors.Lch.Companion.calcLchH
... | 0 | null | 0 | 0 | ef21ee2aed5d96ab5bd1e5d6c3cbcf4dc0c7a3c1 | 847 | android12-extensions | MIT License |
save-orchestrator-common/src/test/kotlin/com/saveourtool/save/orchestrator/SaveOrchestratorCommonTestApplication.kt | saveourtool | 300,279,336 | false | null | package com.saveourtool.save.orchestrator
import io.micrometer.core.instrument.MeterRegistry
import io.micrometer.core.instrument.composite.CompositeMeterRegistry
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.context.annotation.*
internal const val SAVE_AGENT_VERSION =... | 160 | Kotlin | 1 | 31 | d83a26b101c0f809d39a6deab4e183de04cc7832 | 603 | save-cloud | MIT License |
compose/ui/ui/src/desktopTest/kotlin/androidx/compose/ui/awt/ComposePanelTest.kt | VexorMC | 838,305,267 | false | {"Kotlin": 104238872, "Java": 66757679, "C++": 9111230, "AIDL": 628952, "Python": 306842, "Shell": 199496, "Objective-C": 47117, "TypeScript": 38627, "HTML": 28384, "Swift": 21386, "Svelte": 20307, "ANTLR": 19860, "C": 15043, "CMake": 14435, "JavaScript": 6457, "GLSL": 3842, "CSS": 1760, "Batchfile": 295} | /*
* 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... | 0 | Kotlin | 0 | 2 | 9730aa39ce1cafe408f28962a59b95b82c68587f | 16,052 | compose | Apache License 2.0 |
booster-kotlinx/src/main/kotlin/com/didiglobal/booster/kotlinx/ansi.kt | didi | 182,968,735 | false | null | package com.meowbase.gradle.plugin.toolkit.booster
const val ESC = '\u001B'
const val CSI_RESET = "$ESC[0m"
const val CSI_BOLD = "$ESC[1m"
const val CSI_UNDERLINE = "$ESC[4m"
const val CSI_BLINK = "$ESC[5m"
const val CSI_REVERSED = "$ESC[7m"
const val CSI_BLACK = "$ESC[30m"
const val CSI_RED = "$ESC[31m"
const val ... | 41 | null | 577 | 4,831 | 3a72faebf8590537983ca74c0012b69636da3b5d | 1,977 | booster | Apache License 2.0 |
ScaleView/libScaleView/src/main/java/com/mrr/libscaleview/util/UnitConversion.kt | MrR0990 | 353,957,115 | false | null | package com.mrr.libscaleview.util
import android.content.res.Resources
/**
* 单位转换
*/
class UnitConversion {
companion object {
val Float.dp: Float
get() = (this / Resources.getSystem().displayMetrics.density)
val Float.px: Float
get() = (this * Resources.getSystem().dis... | 0 | Kotlin | 3 | 9 | b9d4e25c075d746722305ac6086c3fa82cadc8ba | 466 | ScaleView | Apache License 2.0 |
src/main/kotlin/org/teamvoided/dusk_debris/world/gen/foliage/CypressFoliagePlacer.kt | TeamVoided | 814,767,803 | false | {"Kotlin": 502463, "Java": 6005} | package org.teamvoided.dusk_debris.world.gen.foliage
import com.mojang.serialization.MapCodec
import com.mojang.serialization.codecs.RecordCodecBuilder
import net.minecraft.util.math.int_provider.IntProvider
import net.minecraft.util.random.RandomGenerator
import net.minecraft.world.TestableWorld
import net.minecraft.... | 0 | Kotlin | 0 | 0 | 936746836e9d9afeb6f716438d9b621501461af8 | 2,688 | Dusk-Debris | MIT License |
data/src/main/java/com/github/anastr/data/repositories/FirebaseRepository.kt | anastr | 347,355,104 | false | null | package com.github.anastr.data.repositories
import com.github.anastr.data.datasource.FirebaseDataSource
import com.github.anastr.data.mappers.toCourse
import com.github.anastr.data.mappers.toYear
import com.github.anastr.domain.entities.db.Course
import com.github.anastr.domain.entities.db.UniversityDataEntity
import ... | 0 | Kotlin | 0 | 0 | ef1b8e66a472762477b2cfe1da142521942a8a78 | 1,371 | MyDegree | Apache License 2.0 |
src/main/java/io/sc3/plethora/gameplay/modules/sensor/SensorModuleItem.kt | SwitchCraftCC | 491,699,521 | false | {"Kotlin": 385888, "Java": 259123} | package io.sc3.plethora.gameplay.modules.sensor
import io.sc3.plethora.Plethora
import io.sc3.plethora.gameplay.modules.LevelableModuleItem
import io.sc3.plethora.gameplay.registry.PlethoraModules.SENSOR_M
import net.minecraft.util.Identifier
class SensorModuleItem(settings: Settings) : LevelableModuleItem("sensor", ... | 25 | Kotlin | 8 | 16 | 7e59a368d0710a2a401bdfb833a1e64d7923be8e | 564 | Plethora-Fabric | MIT License |
compiler/src/main/kotlin/se/ansman/kotshi/ksp/KotshiSymbolProcessor.kt | ansman | 95,685,398 | false | null | package se.ansman.kotshi.ksp
import com.google.devtools.ksp.getClassDeclarationByName
import com.google.devtools.ksp.processing.Resolver
import com.google.devtools.ksp.processing.SymbolProcessor
import com.google.devtools.ksp.processing.SymbolProcessorEnvironment
import com.google.devtools.ksp.symbol.ClassKind
import ... | 2 | Kotlin | 40 | 697 | a82b4e8105d169b948c97dd59d9867a8b9de91cd | 7,982 | kotshi | Apache License 2.0 |
app/src/main/java/com/mulum/iso7816reader/MainActivity.kt | doceme | 219,578,595 | false | null | package com.mulum.iso7816reader
import android.annotation.SuppressLint
import android.nfc.NfcAdapter
import android.nfc.Tag
import android.nfc.tech.IsoDep
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import kotlinx.android.synthetic.main.activity_main.*
import java.... | 0 | Kotlin | 0 | 0 | 4f5ff9aa8bd77b56bfdcb6b8c02f681c2f7a28b4 | 2,498 | iso7816-reader-android | MIT License |
app/src/main/java/com/mulum/iso7816reader/MainActivity.kt | doceme | 219,578,595 | false | null | package com.mulum.iso7816reader
import android.annotation.SuppressLint
import android.nfc.NfcAdapter
import android.nfc.Tag
import android.nfc.tech.IsoDep
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import kotlinx.android.synthetic.main.activity_main.*
import java.... | 0 | Kotlin | 0 | 0 | 4f5ff9aa8bd77b56bfdcb6b8c02f681c2f7a28b4 | 2,498 | iso7816-reader-android | MIT License |
miuix/src/commonMain/kotlin/top/yukonga/miuix/kmp/basic/Slider.kt | miuix-kotlin-multiplatform | 838,760,422 | false | null | package top.yukonga.miuix.kmp.basic
import androidx.compose.foundation.Canvas
import androidx.compose.foundation.background
import androidx.compose.foundation.gestures.detectHorizontalDragGestures
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.co... | 1 | null | 3 | 86 | a2fb9b68a72572bd3bfe01512408de4d9b656912 | 5,658 | miuix | Apache License 2.0 |
src/test/kotlin/com/intellij/aws/cloudformation/tests/ExamplesTests.kt | indyaah | 102,197,972 | true | {"Kotlin": 191454, "HTML": 664} | package com.intellij.aws.cloudformation.tests
import com.intellij.aws.cloudformation.inspections.FormatViolationInspection
import com.intellij.aws.cloudformation.inspections.JsonFormatViolationInspection
import com.intellij.aws.cloudformation.inspections.JsonUnresolvedReferencesInspection
import com.intellij.aws.cloud... | 0 | Kotlin | 0 | 0 | 043562086512d96daec0e668d11c989c23f90e26 | 1,238 | idea-cloudformation | Apache License 2.0 |
utbot-framework/src/main/kotlin/org/utbot/framework/codegen/tree/CgSpringVariableConstructor.kt | UnitTestBot | 480,810,501 | false | null | package org.utbot.framework.codegen.tree
import com.jetbrains.rd.util.firstOrNull
import org.utbot.framework.codegen.domain.context.CgContext
import org.utbot.framework.codegen.domain.models.CgValue
import org.utbot.framework.codegen.domain.models.CgVariable
import org.utbot.framework.plugin.api.UtAssembleModel
import... | 337 | Kotlin | 25 | 70 | d93fd5656645b55d3cece6eb13de8835bd0496d3 | 2,120 | UTBotJava | Apache License 2.0 |
transaction/src/main/java/com/github/ekamekas/koin/transaction/presentation/transaction_category/create/TransactionCategoryCreateViewModel.kt | ekamekas | 256,237,087 | false | null | package com.github.ekamekas.koin.transaction.presentation.transaction_category.create
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.viewModelScope
import com.github.ekamekas.baha.core.presentation.view_model.BaseViewModel
import com.github.ekamekas.baha.core.pre... | 0 | Kotlin | 0 | 0 | d087399f87f5f31039ae0c7833c4491c00695d8a | 5,179 | koin | MIT License |
shared-client/src/androidMain/kotlin/ml/dev/kotlin/minigames/shared/util/LoggingUtil.kt | avan1235 | 455,960,870 | false | null | package ml.dev.kotlin.minigames.shared.util
import io.github.aakira.napier.DebugAntilog
import io.github.aakira.napier.Napier
actual fun initClientLogger() {
Napier.base(DebugAntilog())
}
| 0 | null | 0 | 13 | 021fce6d91f535d79f47cf5987bd63e678903ca6 | 192 | mini-games | MIT License |
src/main/kotlin/io/github/phantran/persistence/ProgressClassTest.kt | phantran | 365,775,591 | false | null | /*
* Copyright (c) 2021. Tran Phan
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | 4 | null | 1 | 3 | 27fbaa063c96d6c3607353c72e1b1b7ba8ed55e8 | 2,956 | moco | Apache License 2.0 |
android/src/main/java/com/rnscratchcard/RNScratchCard.kt | sweatco | 456,638,624 | false | {"Kotlin": 13592, "TypeScript": 5122, "Objective-C": 2764, "Swift": 2678, "Ruby": 2607, "JavaScript": 1755, "Objective-C++": 818} | package com.rnscratchcard
import android.annotation.SuppressLint
import android.graphics.*
import android.graphics.drawable.Drawable
import android.net.Uri
import android.util.Log
import android.view.MotionEvent
import com.bumptech.glide.Glide
import com.bumptech.glide.load.model.GlideUrl
import com.bumptech.glide.Req... | 5 | Kotlin | 13 | 85 | 66385cc38e8d361a719bd69173fb2176e4f4fe0a | 4,772 | rn-scratch-card | MIT License |
src/main/kotlin/com/getyourguide/paparazzi/Utils.kt | getyourguide | 558,799,421 | false | {"Kotlin": 55389} | package com.getyourguide.paparazzi
import com.getyourguide.paparazzi.service.Snapshot
import com.intellij.openapi.application.ModalityState
import com.intellij.openapi.application.ReadAction
import com.intellij.openapi.editor.CaretModel
import com.intellij.openapi.fileEditor.FileEditor
import com.intellij.openapi.file... | 9 | Kotlin | 8 | 158 | 3787e3f380e3029788d6d4085beaad81ab247b26 | 6,080 | paparazzi-plugin | Apache License 2.0 |
sample_xvideos/src/main/java/com/video/main/net/NetRule.kt | 7449 | 69,446,568 | false | null | package com.video.main.net
import com.google.gson.Gson
import com.google.gson.reflect.TypeToken
import org.jsoup.nodes.Document
import org.jsoup.nodes.Element
import java.util.regex.Pattern
const val PREV_START = "video_related="
const val PREV_END = ";window.wpn_categories"
const val PREV_REGEX = "video_related="
c... | 0 | Java | 35 | 31 | e9317e538de09bfb7c1ec8ddd709211f51368049 | 3,803 | AndroidDevelop | Apache License 2.0 |
repos/ktor/common/src/commonMain/kotlin/dev/inmo/micro_utils/repos/ktor/common/ParametersNames.kt | InsanusMokrassar | 295,712,640 | false | null | package dev.inmo.micro_utils.repos.ktor.common
const val keyParameterName = "key"
const val valueParameterName = "value"
const val reversedParameterName = "reversed" | 3 | Kotlin | 0 | 8 | ba16bad0293b087ab77e540109c946bebaabf6dd | 166 | MicroUtils | Apache License 2.0 |
src/chapter2/section2/ex6.kt | w1374720640 | 265,536,015 | false | {"Kotlin": 1373556} | package chapter2.section2
import chapter2.getDoubleArray
import chapter2.setPenColor
import edu.princeton.cs.algs4.Point2D
import edu.princeton.cs.algs4.StdDraw
import extensions.delayExit
import java.awt.Color
import kotlin.math.log2
import kotlin.math.max
/**
* 编写一个程序来计算自顶向下和自底向上的归并排序访问数组的准确次数
* 使用这个程序将N=1至512的结果... | 0 | Kotlin | 1 | 6 | 879885b82ef51d58efe578c9391f04bc54c2531d | 2,577 | Algorithms-4th-Edition-in-Kotlin | MIT License |
defitrack-protocol-contracts/src/main/java/io/defitrack/protocol/stargate/StargateService.kt | decentri-fi | 426,174,152 | false | {"Kotlin": 1290412, "Java": 1948, "Dockerfile": 909} | package io.defitrack.protocol.stargate
interface StargateService {
fun getLpFarm(): String
fun getLpStakingTimeFarm(): String = ""
fun getPoolFactory(): String
} | 59 | Kotlin | 6 | 11 | 8b8d6713c9734d2b4015e7affe658e797c9a00be | 176 | defi-hub | MIT License |
node/src/main/kotlin/me/slavita/construction/world/AmountItemProperties.kt | Roman-Andr | 535,243,293 | false | {"Kotlin": 482345} | package me.slavita.construction.world
class AmountItemProperties(properties: ItemProperties, val amount: Int) :
ItemProperties(properties.type, properties.data)
| 0 | Kotlin | 0 | 1 | e4e3c255bbfdfb5369ca66e57842e2c8712d2a10 | 166 | simulator-mayor | Apache License 2.0 |
src/main/kotlin/it/pagopa/ecommerce/transactions/functions/publishers/EventPublisher.kt | pagopa | 595,248,398 | false | null | package it.pagopa.ecommerce.transactions.functions.publishers
import com.azure.core.util.BinaryData
import com.azure.storage.queue.QueueAsyncClient
import com.mongodb.client.MongoDatabase
import it.pagopa.ecommerce.commons.documents.TransactionEvent
import it.pagopa.ecommerce.commons.generated.server.model.Transaction... | 0 | Kotlin | 0 | 0 | 98b56b08dc90dbe2175e956244684ad40dc30c25 | 3,689 | pagopa-ecommerce-transactions-functions | MIT License |
src/main/java/com/tang/intellij/lua/debugger/emmy/EmmyDebugProcess.kt | EmmyLua | 840,127,608 | false | {"Kotlin": 179862, "Java": 36769, "Lex": 16059, "Lua": 7201} | /*
* Copyright (c) 2017. tangzx(<EMAIL>)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | 61 | Kotlin | 9 | 9 | be1ba7825630d2af0e73538264d0892b7698b4fd | 1,764 | Intellij-EmmyLua2 | MIT License |
app/src/main/java/com/fave/breezil/fave/ui/adapter/QuickCategoryRecyclerAdapter.kt | breel93 | 255,382,688 | false | null | /**
* Designed and developed by Fave
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 0 | Kotlin | 0 | 0 | a5b774548bb1c747bbb4a0263031f6935eca3c75 | 2,163 | Fave | Apache License 2.0 |
app/src/main/java/com/fave/breezil/fave/ui/adapter/QuickCategoryRecyclerAdapter.kt | breel93 | 255,382,688 | false | null | /**
* Designed and developed by Fave
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 0 | Kotlin | 0 | 0 | a5b774548bb1c747bbb4a0263031f6935eca3c75 | 2,163 | Fave | Apache License 2.0 |
falkon-engine/src/test/kotlin/com/jayrave/falkon/engine/CompiledStatementExtnTest.kt | jayrave | 65,279,209 | false | null | package com.jayrave.falkon.engine
import com.nhaarman.mockito_kotlin.*
import org.assertj.core.api.Assertions.fail
import org.junit.Test
import java.util.concurrent.Callable
class CompiledStatementExtnTest {
private val compiledStatement = mock<CompiledStatement<Unit>>()
@Test
fun testBindWithShortValue... | 6 | Kotlin | 2 | 12 | ce42d553c578cd8e509bbfd7effc5d56bf3cdedd | 7,125 | falkon | Apache License 2.0 |
core/src/main/kotlin/splitties/wff/common/variant/Variant.kt | Splitties | 704,439,760 | false | {"Kotlin": 232533} | package splitties.wff.common.variant
import kotlinx.html.TagConsumer
import kotlinx.html.attributesMapOf
import kotlinx.html.visit
import splitties.wff.attr.AttrRef
import splitties.wff.SupportsVariants
import splitties.wff.WffTagMarker
import splitties.wff.XMLTag
import splitties.wff.common.attributes.ArithmeticExpre... | 4 | Kotlin | 0 | 3 | 10f56ada4727609295af4bb430e82971c944d973 | 3,070 | WatchFaceDsl | Apache License 2.0 |
src/main/kotlin/rhmodding/tickompiler/Tickompiler.kt | rhmodding | 97,628,914 | false | {"Kotlin": 105172} | package rhmodding.tickompiler
import picocli.CommandLine
import rhmodding.tickompiler.cli.*
import rhmodding.tickompiler.util.Version
object Tickompiler {
val VERSION: Version = Version(1, 10, 0, "")
const val GITHUB: String = "https://github.com/rhmodding/Tickompiler"
fun createAndParseCommandLine(run... | 3 | Kotlin | 7 | 24 | 3772fb85578db8e9ec7aab1c0e1cd00f1008474c | 1,735 | Tickompiler | MIT License |
app/src/main/java/br/com/programadordeelite/gdc/codelab/userinterface/usernavigation/tab/TabHostFragment.kt | treslines | 346,119,037 | false | null | package com.mymain.appcertificacao.codelab.userinterface.usernavigation.tab
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.viewModels
import com.google.android.material.tabs.TabLayoutM... | 0 | Kotlin | 9 | 67 | 1ff9f927390e4da543951fe0d1adc155d2ac8fd5 | 2,565 | aad | Apache License 2.0 |
app/src/main/java/com/example/pushnotifylillydemo/data/database/PushNotifyDatabase.kt | ShazadaKhanLilly | 841,475,367 | false | {"Kotlin": 40026} | package com.example.pushnotifylillydemo.data.database
import androidx.room.Database
import androidx.room.RoomDatabase
import com.example.pushnotifylillydemo.data.User
import com.example.pushnotifylillydemo.data.dao.UserDao
/**
* PushNotifyDatabase class
*/
@Database(entities = [User::class], version = 1)
abstract ... | 0 | Kotlin | 0 | 0 | 4de85b10f652d4e624c9b84f6dc29d8c7ca6f08e | 401 | PushNotifyLillyDemo | MIT License |
langsmith-java-core/src/main/kotlin/com/langsmith/api/services/blocking/sessions/MetadataServiceImpl.kt | langchain-ai | 774,515,765 | false | {"Kotlin": 2288977, "Shell": 1314, "Dockerfile": 305} | // File generated from our OpenAPI spec by Stainless.
package com.langsmith.api.services.blocking.sessions
import com.langsmith.api.core.ClientOptions
import com.langsmith.api.core.RequestOptions
import com.langsmith.api.core.http.HttpMethod
import com.langsmith.api.core.http.HttpRequest
import com.langsmith.api.core... | 1 | Kotlin | 0 | 2 | 922058acd6e168f6e1db8d9e67a24850ab7e93a0 | 2,101 | langsmith-java | Apache License 2.0 |
app/src/main/java/com/immortalweeds/pedometer/network/ApiInterface.kt | Weedlly | 523,343,757 | false | {"Kotlin": 65187} | package com.immortalweeds.pedometer.network
import com.immortalweeds.pedometer.BuildConfig
import com.immortalweeds.pedometer.model.gps.Routes
import retrofit2.http.GET
import retrofit2.http.Path
import retrofit2.http.Streaming
// https://api.mapbox.com
// /directions/v5/mapbox/walking/
// -73.98986028294692
// %2C4... | 0 | Kotlin | 0 | 7 | 411c6fcf45a7a9aa34214148264297b345211ed7 | 1,121 | Pedometer | Apache License 2.0 |
browser-kotlin/src/jsMain/kotlin/web/svg/SVGGradientElement.kt | karakum-team | 393,199,102 | false | {"Kotlin": 6272741} | // Automatically generated - do not modify!
package web.svg
/**
* The SVGGradient interface is a base interface used by SVGLinearGradientElement and SVGRadialGradientElement.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGradientElement)
*/
open external class SVGGradientElement
private constr... | 0 | Kotlin | 8 | 36 | 95b065622a9445caf058ad2581f4c91f9e2b0d91 | 993 | types-kotlin | Apache License 2.0 |
app/src/main/java/speedev/android/recyclerviewinfinitescroll/BaseView.kt | TuonBondol | 103,364,563 | false | null | package speedev.android.recyclerviewinfinitescroll
/****
*
* @author TUON BONDOL Date: 9/1/17.
*
*/
interface BaseView<in T> {
fun setPresenter(presenter: T)
} | 0 | Kotlin | 2 | 5 | fa4c498278d99db7a9354783af4a1c0a8cc32afb | 169 | Android-RecyclerView-Infinitescroll | Apache License 2.0 |
app/src/main/java/tml/tools/apitest/modules/apibrowser/ApiBrowserFragment.kt | devngmo | 422,236,239 | false | {"Kotlin": 58170} | package tml.tools.apitest.modules.apibrowser
import android.content.SharedPreferences
import android.os.Bundle
import android.provider.Settings
import android.util.Log
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.T... | 0 | Kotlin | 0 | 0 | b06b40cfdea8cb990b512c773c8d2fdb46102eac | 3,207 | APITest-Android | MIT License |
src/test/kotlin/com/epam/brn/service/AudioFilesGenerationServiceTest.kt | Brain-up | 216,092,521 | false | {"Kotlin": 1057933, "Handlebars": 512629, "TypeScript": 401203, "JavaScript": 168755, "HTML": 45401, "CSS": 30742, "SCSS": 27412, "RAML": 22982, "Makefile": 545, "Shell": 405, "Dockerfile": 185} | package com.epam.brn.service
import com.epam.brn.service.cloud.AwsCloudService
import com.epam.brn.dto.AudioFileMetaData
import com.epam.brn.enums.BrnLocale
import com.epam.brn.enums.Voice
import io.mockk.confirmVerified
import io.mockk.every
import io.mockk.impl.annotations.InjectMockKs
import io.mockk.impl.annotatio... | 114 | Kotlin | 26 | 61 | 310cfcae2b9780740554396271444388258ce8da | 7,756 | brn | Creative Commons Zero v1.0 Universal |
lib/src/commonMain/kotlin/com/wepin/cm/loginlib/types/network/LoginResponse.kt | WepinWallet | 834,097,352 | false | {"Kotlin": 168770, "Ruby": 5284, "Swift": 580, "Shell": 579, "JSON": 463} | package com.wepin.cm.loginlib.types.network
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class LoginResponse(
val loginStatus: String,
val pinRequired: Boolean? = false,
val walletId: String? = "",
val token: Token,
val userInfo: AppUser,
)
... | 0 | Kotlin | 0 | 0 | d9bc9e6049d18bb2bd0136e48d4cf97c91171884 | 1,051 | wepin-compose-sdk-login-v1 | Apache License 2.0 |
cell/src/commonTest/kotlin/world/phantasmal/cell/list/ImmutableListCellTests.kt | DaanVandenBosch | 189,066,992 | false | null | package world.phantasmal.cell.list
import world.phantasmal.core.disposable.DisposableTracking
import world.phantasmal.cell.observeNow
import world.phantasmal.cell.test.CellTestSuite
import kotlin.test.Test
import kotlin.test.assertEquals
class ImmutableListCellTests : CellTestSuite {
/**
* As an optimization... | 1 | Kotlin | 5 | 20 | 423c3e252b2be6de63a03108915861fced90aaa6 | 950 | phantasmal-world | MIT License |
src/main/kotlin/it/skrape/selects/html5/TableElementPickers.kt | fejd | 214,291,752 | true | {"Kotlin": 138113, "HTML": 1597} | package it.skrape.selects.html5
import it.skrape.SkrapeItDslMarker
import it.skrape.core.Result
import it.skrape.selects.elements
import org.jsoup.select.Elements
/**
* Will pick all occurrences of <caption> elements from a Result.
* The selection can be specified/limited by an additional css-selector.
* @param cs... | 0 | null | 0 | 0 | c921e5a79c77176ac2121a64f4891bb4e9bb53ea | 3,286 | skrape.it | MIT License |
compiler/testData/codegen/boxInline/complexStack/simple2.1.kt | msdgwzhy6 | 52,061,310 | true | {"Markdown": 32, "XML": 692, "Ant Build System": 45, "Git Attributes": 1, "Ignore List": 7, "Maven POM": 51, "Kotlin": 23506, "Java": 4612, "JavaScript": 64, "JSON": 1, "Groovy": 23, "Shell": 11, "Batchfile": 10, "Java Properties": 14, "Gradle": 75, "HTML": 184, "INI": 18, "CSS": 2, "Text": 5151, "ANTLR": 1, "Protocol ... | import test.*
fun box(): String {
return processRecords { "O" + it }
} | 0 | Java | 0 | 1 | f713adc96e9adeacb1373fc170a5ece1bf2fc1a2 | 75 | kotlin | Apache License 2.0 |
app/src/main/java/com/yoyiyi/soleil/base/BaseFragment.kt | yoyiyi | 97,073,764 | false | null | package com.yoyiyi.soleil.base
import android.annotation.SuppressLint
import android.app.Activity
import android.content.Context
import android.os.Bundle
import android.support.constraint.ConstraintLayout
import android.support.v4.app.FragmentActivity
import android.view.LayoutInflater
import android.view.View
import ... | 2 | Kotlin | 25 | 141 | 044f76fd499bb49b0fe94d9c83c9bb1db283b8ea | 4,795 | bilisoleil-kotlin | Apache License 2.0 |
sample-kotlin/src/main/java/cn/sherlockzp/sample/MultiSelectItemActivity.kt | EvilBT | 76,974,234 | false | null | package cn.sherlockzp.sample
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.recyclerview.widget.GridLayoutManager
import androidx.recyclerview.widget.SimpleItemAnimator
import android.widget.Toast
import cn.sherlockzp.adapter.BaseMultiSelectAdapter
import cn.sherlockzp.adapter... | 0 | Java | 40 | 189 | 45655ac259afc55fdd36e8088451040c7a3cbdde | 2,846 | SherlockAdapter | Apache License 2.0 |
app/src/main/kotlin/com/absinthe/libchecker/recyclerview/adapter/snapshot/SnapshotAdapter.kt | fengyeshu | 311,004,729 | false | null | package com.absinthe.libchecker.recyclerview.adapter.snapshot
import android.content.pm.PackageManager
import android.content.res.ColorStateList
import android.text.Spannable
import android.text.SpannableString
import android.text.style.ImageSpan
import android.view.View
import android.view.ViewGroup
import android.wi... | 1 | null | 1 | 1 | 342658fda785211dd38c07e1f146bf264038f4cc | 7,309 | LibChecker | Apache License 2.0 |
fxgl-input/src/test/kotlin/com/almasb/fxgl/input/view/ViewTest.kt | khengsdijk | 175,610,156 | true | {"Markdown": 5, "Kotlin": 170, "Java": 232, "Java Properties": 7, "CSS": 4, "JavaScript": 11, "Shell": 1} | /*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB (<EMAIL>).
* See LICENSE for details.
*/
package com.almasb.fxgl.input.view
import com.almasb.fxgl.input.KeyTrigger
import com.almasb.fxgl.input.MouseTrigger
import javafx.scene.input.KeyCode
import javafx.scene.input.MouseButton
impor... | 0 | Java | 0 | 0 | 932a7ec7b4b801c398301631419091797b4133d2 | 1,216 | FXGL | MIT License |
compiler/testData/diagnostics/testsWithJsStdLib/dynamicTypes/dynamicVsGeneric.kt | guiping | 52,061,310 | true | {"Markdown": 32, "XML": 692, "Ant Build System": 45, "Git Attributes": 1, "Ignore List": 7, "Maven POM": 51, "Kotlin": 23506, "Java": 4612, "JavaScript": 64, "JSON": 1, "Groovy": 23, "Shell": 11, "Batchfile": 10, "Java Properties": 14, "Gradle": 75, "HTML": 184, "INI": 18, "CSS": 2, "Text": 5151, "ANTLR": 1, "Protocol ... | object X1
object X2
class Inv<T>
fun dynamic.foo() = X1
fun <T> Inv<T>.foo() = X2
fun test(): X2 = Inv<Any>().foo()
| 0 | Java | 0 | 1 | 343735e36c36e4b4a877b6c79427d1e5ac2a9143 | 119 | kotlin | Apache License 2.0 |
app/src/main/java/com/onramp/android/takehome/explore/ExplorePresenter.kt | malinda-lin | 327,997,327 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Java": 2, "XML": 27, "Kotlin": 26} | package com.onramp.android.takehome.explore
import android.content.Context
import com.onramp.android.takehome.DependencyInjector
import com.onramp.android.takehome.repository.ImageRepository
import com.onramp.android.takehome.imageData.Image
import com.onramp.android.takehome.imageData.source.local.FavoriteImage
clas... | 0 | Kotlin | 0 | 3 | ed4bc4d9ebc31b6db4d4712b6c2c4fa0a105435e | 1,232 | Android-Image-Gallery-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.