path stringlengths 4 280 | owner stringlengths 2 39 | repo_id int64 21.1k 879M | is_fork bool 2
classes | languages_distribution stringlengths 13 1.95k ⌀ | content stringlengths 7 482k | issues int64 0 13.9k | main_language stringclasses 121
values | forks stringlengths 1 5 | stars int64 0 111k | commit_sha stringlengths 40 40 | size int64 7 482k | name stringlengths 1 100 | license stringclasses 93
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
app/src/main/java/com/example/returnpals/mainMenu/NavHost.kt | BC-CS481-Capstone | 719,299,432 | false | {"Kotlin": 302344, "Java": 58006} | package com.example.returnpals.mainMenu
import android.location.Address
import androidx.compose.runtime.Composable
import androidx.compose.runtime.remember
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewmodel.compose.viewModel
import androidx.navigation.NavBackStackEntry
import androidx.navigation.N... | 24 | Kotlin | 0 | 0 | ce2d93b0edc1a6f17ea9699e56d993c542c26574 | 7,417 | ReturnPalsApp | MIT License |
core/src/main/kotlin/gropius/model/template/SubTemplate.kt | ccims | 487,996,394 | false | null | package gropius.model.template
import com.expediagroup.graphql.generator.annotations.GraphQLDescription
import io.github.graphglue.model.Direction
import io.github.graphglue.model.DomainNode
import io.github.graphglue.model.Node
import io.github.graphglue.model.NodeRelationship
import org.springframework.data.annotati... | 7 | Kotlin | 1 | 0 | a0b0538d1960e920d53bc9dc2d7026dfea49d723 | 1,113 | gropius-backend | MIT License |
src/backend/common/common-web/src/main/kotlin/com/tencent/devops/common/web/mq/alert/AlertLevel.kt | Roy9102 | 211,615,562 | true | {"Kotlin": 5871313, "Vue": 2662255, "JavaScript": 671898, "CSS": 377747, "Go": 119173, "Lua": 111686, "TSQL": 96222, "Shell": 89697, "Java": 71407, "TypeScript": 33693, "HTML": 23525, "Python": 10390, "Batchfile": 1974, "PLSQL": 901} | package com.tencent.devops.common.web.mq.alert
enum class AlertLevel(private val priority: Int) {
LOW(1),
MEDIUM(2),
HIGH(3),
CRITICAL(4);
fun compare(level: AlertLevel): Boolean {
return this.priority >= level.priority
}
} | 0 | Kotlin | 0 | 0 | 61199feb62705fe063d9975badefc80fc7868b2a | 257 | bk-ci | MIT License |
src/main/kotlin/id/walt/webwallet/backend/wallet/CredentialIssuance.kt | walt-id | 410,009,561 | false | null | package id.walt.webwallet.backend.wallet
import com.fasterxml.jackson.annotation.JsonIgnore
import com.fasterxml.jackson.databind.annotation.JsonSerialize
import com.google.common.cache.CacheBuilder
import com.google.common.cache.CacheLoader
import com.google.common.cache.LoadingCache
import com.nimbusds.openid.connec... | 3 | null | 26 | 33 | 4b436214d0e0839a2dba39e2c200938ca1826efc | 14,351 | waltid-walletkit | Apache License 2.0 |
app/src/main/java/com/mobiquity/arnab/weather/database/entity/CityEntity.kt | arnab-kundu | 402,242,019 | false | null | package com.mobiquity.arnab.weather.database.entity
import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.Index
import androidx.room.PrimaryKey
/**
* This class is responsible for creating `accelerometer_log` table in database
*/
@Entity(tableName = "city", indices = [Index(value = ["name... | 1 | null | 1 | 1 | 1c0f62b7f62ca86e3ecb8f9148c17bd03f37166b | 633 | Weather | MIT License |
src/main/java/com/sygic/travel/sdk/places/api/model/ApiUpdateReviewVoteRequest.kt | sygic-travel | 84,565,535 | false | null | package com.sygic.travel.sdk.places.api.model
import com.squareup.moshi.JsonClass
@JsonClass(generateAdapter = true)
internal class ApiUpdateReviewVoteRequest(
val value: Int
)
| 0 | Kotlin | 1 | 8 | ea7a259fe5f4e712fdb082edf581f05b5ff97baa | 180 | android-sdk | MIT License |
feature-movie-detail/src/main/java/sanchez/sanchez/sergio/feature_movie_detail/di/module/movie/MovieDetailDatabaseModule.kt | sergio11 | 332,195,948 | false | null | package sanchez.sanchez.sergio.feature_movie_detail.di.module.movie
import android.content.Context
import dagger.Module
import dagger.Provides
import io.objectbox.Box
import io.objectbox.BoxStore
import sanchez.sanchez.sergio.feature_movie_detail.BuildConfig
import sanchez.sanchez.sergio.feature_movie_detail.domain.m... | 0 | Kotlin | 0 | 6 | eef4f5b03c33f1efd937d546ebdea84c3255d445 | 4,972 | MovieAddicts | MIT License |
src/main/kotlin/io/usoamic/wallet/ui/auth/auth/AuthView.kt | usoamic | 299,967,649 | false | null | package io.usoamic.wallet.ui.auth.auth
import io.usoamic.wallet.extensions.fx.replaceWithSlideLeft
import io.usoamic.wallet.ui.auth.add.AddView
import io.usoamic.wallet.ui.auth.create.CreateView
import io.usoamic.wallet.ui.base.BaseView
import io.usoamic.wallet.values.R
import javafx.geometry.Pos
import javafx.scene.l... | 0 | Kotlin | 1 | 1 | 104257879f1b878930d1cf283385ffb70470b446 | 1,209 | UsoamicWallet-Desktop | MIT License |
library/renetik-android-controller/src/main/java/renetik/android/controller/common/CSNavigationView.kt | renetik | 69,289,476 | false | null | package renetik.android.controller.navigation
import android.view.View
import android.view.ViewGroup
import android.view.animation.AnimationUtils.loadAnimation
import android.widget.FrameLayout
import renetik.android.controller.R
import renetik.android.controller.base.CSActivity
import renetik.android.controller.base.... | 1 | null | 3 | 4 | 08336d1b88ff0646d3be53fd9f2b8e6a795d05f0 | 6,596 | renetik-android-framework | MIT License |
Android/ghvzApp/app/src/main/java/com/app/playhvz/firebase/viewmodels/PlayerRewardViewModel.kt | google | 95,704,578 | false | null | /*
* Copyright 2020 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 in w... | 37 | Kotlin | 30 | 24 | 9e02fb706af61a336bda852f467a35f49bdcfec7 | 4,936 | playhvz | Apache License 2.0 |
libraries/stdlib/src/kotlin/modules/AllModules.kt | chashnikov | 14,658,474 | false | null | package kotlin.modules
import java.util.ArrayList
object AllModules : ThreadLocal<ArrayList<Module>>() {
override fun initialValue() = ArrayList<Module>()
}
| 0 | null | 0 | 1 | 88a261234860ff0014e3c2dd8e64072c685d442d | 163 | kotlin | Apache License 2.0 |
idea/src/org/jetbrains/kotlin/idea/intentions/ToRawStringLiteralIntention.kt | arrow-kt | 109,678,056 | false | null | /*
* Copyright 2010-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... | 12 | null | 1 | 43 | d2a24985b602e5f708e199aa58ece652a4b0ea48 | 3,763 | kotlin | Apache License 2.0 |
ultimate/src/org/jetbrains/kotlin/idea/jam/KotlinJamReferenceContributor.kt | gigliovale | 89,726,097 | false | {"Java": 23302590, "Kotlin": 21941511, "JavaScript": 137521, "Protocol Buffer": 56992, "HTML": 49980, "Lex": 18051, "Groovy": 14093, "ANTLR": 9797, "IDL": 7706, "Shell": 5152, "CSS": 4679, "Batchfile": 3721} | package org.jetbrains.kotlin.idea.jam
import com.intellij.codeInsight.completion.CompletionUtil
import com.intellij.jam.JamService
import com.intellij.jam.JamStringAttributeElement
import com.intellij.jam.reflect.JamStringAttributeMeta
import com.intellij.psi.PsiElementRef
import com.intellij.psi.PsiReference
import c... | 0 | Java | 4 | 6 | ce145c015d6461c840050934f2200dbc11cb3d92 | 3,115 | kotlin | Apache License 2.0 |
presentation/src/main/java/com/x/presentation/ui/composable/NavigationBar.kt | ResulSilay | 469,322,755 | false | {"Kotlin": 403160} | package com.x.presentation.ui.composable
import androidx.compose.material3.*
import androidx.compose.runtime.Composable
import androidx.compose.runtime.getValue
import androidx.navigation.NavController
import androidx.navigation.compose.currentBackStackEntryAsState
import com.x.presentation.navigation.NavigationBarIte... | 0 | Kotlin | 1 | 14 | 4648b4e6fdbaf60631c9a203cefd51beef370f71 | 2,004 | jenci | Apache License 2.0 |
app/src/test/kotlin/net/yuzumone/sdnmonitor/ExampleUnitTest.kt | yuzumone | 73,555,179 | false | null | package net.yuzumone.sdnmonitor
import org.junit.Test
import org.junit.Assert.*
/**
* To work on unit tests, switch the Test Artifact in the Build Variants view.
*/
class ExampleUnitTest {
@Test
@Throws(Exception::class)
fun addition_isCorrect() {
assertEquals(4, 2 + 2)
}
} | 0 | Kotlin | 0 | 1 | fec09b1b2db0dde88aa98124d37f327abe66d94c | 302 | SDNMonitor | Apache License 2.0 |
src/main/kotlin/de/tweerlei/plumber/pipeline/steps/aggregate/FirstStep.kt | tweerlei | 450,150,451 | false | {"Kotlin": 910444, "Shell": 2267, "Dockerfile": 732} | /*
* Copyright 2022 <NAME> + Buchmeier GbR - http://www.tweerlei.de/
*
* 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 requ... | 0 | Kotlin | 0 | 2 | 78facf6e0675dee1ff0de976cdb3397744890892 | 1,725 | plumber | Apache License 2.0 |
client/app/src/main/java/com/rh/heji/widget/DividerItemDecorator.kt | RUANHAOANDROID | 324,589,079 | false | null | /*
* Copyright 2018 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 | 2 | 7 | 38d7d743b34ac09e08682f00e0442dd6d1e16b49 | 1,621 | heji | Apache License 2.0 |
src/test/resources/examples/enumPolymorphicDiscriminator/models/DiscriminatedChild1.kt | cjbooms | 229,844,927 | false | {"Kotlin": 874094, "Handlebars": 4874} | package examples.enumPolymorphicDiscriminator.models
import com.fasterxml.jackson.`annotation`.JsonProperty
import javax.validation.Valid
import javax.validation.constraints.NotNull
import kotlin.String
import kotlin.collections.List
public data class DiscriminatedChild1(
@param:JsonProperty("inline_obj")
@get:Js... | 33 | Kotlin | 41 | 154 | b95cb5bd8bb81e59eca71e467118cd61a1848b3f | 1,034 | fabrikt | Apache License 2.0 |
app/src/main/java/com/keke125/vaultguard/activity/AuthSettingActivity.kt | keke125 | 784,177,444 | false | {"Kotlin": 347596, "Ruby": 882} | package com.keke125.vaultguard.activity
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.os.Build
import android.os.Bundle
import android.provider.Settings
import android.util.Log
import android.widget.Toast
import androidx.activity.compose.setContent
import andro... | 0 | Kotlin | 0 | 1 | 88dcf6d1ab5de4b5a094f86fa4355a2f6a663415 | 12,368 | VaultGuard | MIT License |
core/repository/src/main/java/city/zouitel/repository/model/Root.kt | City-Zouitel | 576,223,915 | false | {"Kotlin": 491074} | package city.zouitel.repository.model
import androidx.annotation.Keep
@Keep
data class Root(val isDeviceRooted: Boolean)
| 37 | Kotlin | 12 | 94 | 279f774769be23f897c75028f68f93b997a86319 | 123 | JetNote | Apache License 2.0 |
Algo_Ds_Notes-master/Algo_Ds_Notes-master/Boyer_Moore_Algorithm/Boyer_Moore.kt | rajatenzyme | 325,100,742 | false | {"C++": 709855, "Java": 559443, "Python": 397216, "C": 381274, "Jupyter Notebook": 127469, "Go": 123745, "Dart": 118962, "JavaScript": 109884, "C#": 109817, "Ruby": 86344, "PHP": 63402, "Kotlin": 52237, "TypeScript": 21623, "Rust": 20123, "CoffeeScript": 13585, "Julia": 2385, "Shell": 506, "Erlang": 385, "Scala": 310, ... | /*
Boyer Moore String Matching Algorithm in Kotlin
Author: <NAME> (@darkmatter18)
*/
import java.util.*
internal object Main {
private var NO_OF_CHARACTERS = 256
private fun maxOfAAndB(a: Int, b: Int): Int {
return a.coerceAtLeast(b)
}
private fun badCharacterHeuristic(str: CharArray, size: I... | 0 | C++ | 0 | 0 | 65a0570153b7e3393d78352e78fb2111223049f3 | 2,414 | Coding-Journey | MIT License |
applications/data-analyzer-server/src/main/kotlin/com/goodboards/app/analyzer/tasks/Wrapper.kt | CSCI-5828-Foundations-Sftware-Engr | 614,026,505 | false | null | package com.goodboards.app.analyzer.tasks
import com.goodboards.app.analyzer.AnalyzerWorkFinder
import com.goodboards.app.analyzer.AnalyzerWorker
object Wrapper {
fun getAnalyzerWorkFinder(): AnalyzerWorkFinder{
return AnalyzerWorkFinder()
}
fun getAnalyzerWorker(): AnalyzerWorker{
return... | 38 | Kotlin | 1 | 2 | 7b6f00de4f9bd906f1e2d12a414228bd67edbf58 | 345 | slackers | Apache License 2.0 |
app/src/main/java/com/comunidadedevspace/taskbeats/presentation/MainActivity.kt | RenanPdeOliveira | 615,246,251 | false | null | package com.comunidadedevspace.taskbeats.presentation
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.fragment.app.Fragment
import androidx.fragment.app.commit
import com.comunidadedevspace.taskbeats.R
import com.google.android.material.bottomappbar.BottomAppBar
import com.goog... | 0 | Kotlin | 0 | 0 | 70b5a624336d696f0ae092e138a0532e3a1cca06 | 2,329 | TaskBeats | The Unlicense |
app/src/main/java/com/herdal/videogamehub/presentation/game_detail/adapter/screenshot/ScreenshotAdapter.kt | herdal06 | 600,232,493 | false | null | package com.herdal.videogamehub.presentation.game_detail.adapter.screenshot
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.herdal.videogamehub.common.base.BaseListAdapter
import com.herdal.videogamehub.databinding.ItemScreenshotBinding
impor... | 0 | Kotlin | 0 | 0 | 590195ced5471f08a58f8d7052a9633bff8c4d68 | 1,157 | VideoGameHub | Apache License 2.0 |
src/jsMain/kotlin/io/dcctech/mafita/frontend/browser/pages/Dashboard.kt | timoterik | 587,234,059 | false | {"Kotlin": 82347, "JavaScript": 856, "HTML": 776, "Dockerfile": 335} | /*
* Copyright © 2022-2023, DCCTech, Hungary and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
package io.dcctech.mafita.frontend.browser.pages
import io.dcctech.mafita.frontend.browser.resources.appStyles
import zakadabar.core.browser.page.ZkPage
import zakadabar.core.browser.util.... | 0 | Kotlin | 0 | 0 | 52de5d4146e3da08ca1014abc46a820ad1c2ae00 | 436 | mafita | Apache License 2.0 |
util/src/main/java/com/guerinet/suitcase/util/extensions/ContextExt.kt | aiavci | 144,017,050 | false | null | /*
* Copyright 2016-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 ... | 1 | null | 1 | 1 | 491ac5ed2981dbd7f6c60075b1c45134edebed08 | 7,884 | Suitcase | Apache License 2.0 |
app/src/main/java/com/m/coroutines/delay/delay.kt | ma-jian | 164,124,939 | false | null | package com.m.coroutines.delay
import java.util.concurrent.*
import kotlin.coroutines.*
private val executor = Executors.newSingleThreadScheduledExecutor {
Thread(it, "scheduler").apply { isDaemon = true }
}
suspend fun delay(time: Long, unit: TimeUnit = TimeUnit.MILLISECONDS): Unit = suspendCoroutine { cont ->
... | 0 | null | 2 | 19 | 0e049e5f2110c6165a4072b18caa9825cbfcbb6f | 379 | MvvmKotlin | Apache License 2.0 |
library/src/main/java/com/schibsted/spain/barista/interaction/BaristaMenuClickInteractions.kt | karadkar | 189,949,935 | false | null | package com.schibsted.spain.barista.interaction
import androidx.annotation.IdRes
import androidx.test.InstrumentationRegistry
import androidx.test.espresso.Espresso.onData
import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.Espresso.openActionBarOverflowOrOptionsMenu
import androidx.test.espres... | 1 | null | 1 | 1 | a3a93053bc6f0d90288aa30688e93ee49cba8597 | 3,043 | Barista | Apache License 2.0 |
src/main/kotlin/com/glinboy/cities/service/impl/CountryServiceImpl.kt | GLinBoy | 464,566,966 | false | {"Kotlin": 19353, "Dockerfile": 735} | package com.glinboy.cities.service.impl
import com.glinboy.cities.entity.City
import com.glinboy.cities.projection.Country
import com.glinboy.cities.respository.CityRepository
import com.glinboy.cities.service.CountryService
import org.springframework.data.domain.Page
import org.springframework.data.domain.Pageable
im... | 14 | Kotlin | 0 | 1 | 4c93863f60be04ed8732b4beaea07338e97372f8 | 894 | world-cities-api | MIT License |
kotlinEx/CollectionsEx.kt | zhihaofans | 160,714,152 | false | null | package com.zhihaofans.Android_Kotlin_Utils.kotlinEx
/**
* Created by zhihaofans on 2018/11/4.
*/
fun MutableMap<String, String>.get(key: String, defaultValve: String): String {
return this[key] ?: defaultValve
}
fun MutableList<*>?.isNullorEmpty(): Boolean {
return this?.isEmpty() ?: true
}
| 0 | Kotlin | 0 | 0 | 2a880af2dfc4cbf26a5672536c0b31f48d3d0259 | 305 | Android-Kotlin-Utils | Apache License 2.0 |
bitlap-common/src/main/kotlin/org/bitlap/common/TimeRange.kt | bitlap | 313,535,150 | false | null | /* Copyright (c) 2023 bitlap.org */
package org.bitlap.common
import org.bitlap.common.utils.Range
import org.joda.time.DateTime
/**
* Desc: Time range utils, startTime and endTime must be specified.
*
* Mail: <EMAIL>
* Created by IceMimosa
* Date: 2021/6/21
*/
class TimeRange private constructor(lower: LeftCut... | 23 | null | 2 | 22 | a83d320073ccf1bd2eb036555fc03d72dddef81b | 2,219 | bitlap | Apache License 2.0 |
app/src/test/java/com/coinninja/coinkeeper/util/crypto/BitcoinUriTest.kt | coinninjadev | 175,276,289 | false | null | package com.coinninja.coinkeeper.util.crypto
import androidx.test.ext.junit.runners.AndroidJUnit4
import app.dropbit.commons.currency.BTCCurrency
import com.coinninja.coinkeeper.util.uri.parameter.BitcoinParameter
import com.coinninja.coinkeeper.util.uri.parameter.BitcoinParameter.AMOUNT
import com.google.common.truth... | 2 | Kotlin | 0 | 6 | d67d7c0b9cad27db94470231073c5d6cdda83cd0 | 14,974 | dropbit-android | MIT License |
tooling-country/src/commonMain/kotlin/dev/datlag/tooling/country/Mali.kt | DatL4g | 739,165,922 | false | {"Kotlin": 532513} | package dev.datlag.tooling.country
data object Mali : Country {
override val codeAlpha2: Country.Code.Alpha2 = Country.Code.Alpha2("ML")
override val codeAlpha3: Country.Code.Alpha3 = Country.Code.Alpha3("MLI")
override val codeNumeric: Country.Code.Numeric = Country.Code.Numeric(466)
} | 0 | Kotlin | 0 | 3 | e4d2bf45d9d34e80107e9b1558fd982e511ab28c | 301 | tooling | Apache License 2.0 |
components/faphub/dao/network/src/main/java/com/flipperdevices/faphub/dao/network/ktorfit/model/KtorfitBuildState.kt | flipperdevices | 288,258,832 | false | null | package com.flipperdevices.faphub.dao.network.retrofit.model
import com.flipperdevices.faphub.dao.api.model.FapBuildState
import com.flipperdevices.faphub.target.model.FlipperTarget
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
enum class KtorfitBuildState {
@Seri... | 13 | Kotlin | 111 | 786 | b22cbb78b48086718a1ed427111835de7ad230b1 | 1,058 | Flipper-Android-App | MIT License |
codefest-client/src/main/kotlin/codefest/client/MainController.kt | AlmasB | 171,107,917 | false | null | package codefest.client
import javafx.fxml.FXML
import javafx.scene.control.Tab
/**
*
* @author <NAME> (<EMAIL>)
*/
class MainController {
@FXML
private lateinit var tabLeaderboard: Tab
@FXML
private lateinit var leaderboardController: LeaderboardController
fun initialize() {
tabLeade... | 8 | Kotlin | 4 | 3 | ae1f070e54a9a1eea1aa3135bb8827109d020814 | 500 | CodefestApp | Apache License 2.0 |
app/src/main/java/com/canopas/yourspace/ui/flow/home/space/join/JoinSpaceScreen.kt | canopas | 739,382,039 | false | {"Kotlin": 802726, "JavaScript": 13096, "Ruby": 908} | package com.canopas.yourspace.ui.flow.home.space.join
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.padding
import androi... | 5 | Kotlin | 3 | 7 | 3ce744ea6663d632b2fff470f9293de72708291d | 5,037 | your-space-android | Apache License 2.0 |
processor/src/main/java/com/attafitamim/room/compound/processor/generator/CompoundGenerator.kt | tamimattafi | 510,142,549 | false | {"Kotlin": 47650} | package com.attafitamim.room.compound.processor.generator
import com.attafitamim.room.compound.processor.data.EntityData
import com.attafitamim.room.compound.processor.data.info.PropertyInfo
import com.attafitamim.room.compound.processor.data.utility.EntityJunction
import com.attafitamim.room.compound.processor.genera... | 0 | Kotlin | 1 | 1 | 90a35682a3e6b706c7a93ac58c722e01b81a811c | 29,174 | android-room-compound | Apache License 2.0 |
processor/src/main/java/com/attafitamim/room/compound/processor/generator/CompoundGenerator.kt | tamimattafi | 510,142,549 | false | {"Kotlin": 47650} | package com.attafitamim.room.compound.processor.generator
import com.attafitamim.room.compound.processor.data.EntityData
import com.attafitamim.room.compound.processor.data.info.PropertyInfo
import com.attafitamim.room.compound.processor.data.utility.EntityJunction
import com.attafitamim.room.compound.processor.genera... | 0 | Kotlin | 1 | 1 | 90a35682a3e6b706c7a93ac58c722e01b81a811c | 29,174 | android-room-compound | Apache License 2.0 |
app/src/main/java/eu/kanade/presentation/more/settings/screen/SettingsReaderScreen.kt | komikku-app | 743,200,516 | false | {"Kotlin": 5951497} | package eu.kanade.presentation.more.settings.screen
import android.os.Build
import androidx.compose.runtime.Composable
import androidx.compose.runtime.ReadOnlyComposable
import androidx.compose.runtime.getValue
import androidx.compose.runtime.remember
import androidx.compose.ui.platform.LocalView
import eu.kanade.pres... | 93 | Kotlin | 97 | 504 | bc460dd3b1edf67d095df0b15c6d1dc39444d5e6 | 29,773 | komikku | Apache License 2.0 |
boat-core/src/main/kotlin/xyz/srclab/common/base/BtLang.kt | srclab-projects | 247,777,997 | false | null | /**
* Boat language utilities.
*/
@file:JvmName("BtLang")
package xyz.srclab.common.base
import xyz.srclab.common.base.JumpPolicy.*
import java.util.concurrent.Callable
import java.util.function.*
/**
* Argument to suppress kotlin compile warn.
*/
const val INAPPLICABLE_JVM_NAME = "INAPPLICABLE_JVM_NAME"
/*
* ... | 0 | Kotlin | 1 | 4 | a630d2897d5299af34ec17cfe335f3df3221851e | 9,911 | boat | Apache License 2.0 |
nativeVer/src/main/java/com/proxy/shadowsocksrn/ProxyAppsActivity.kt | vmlinz | 50,481,216 | true | {"C": 47424062, "Perl": 4124941, "Makefile": 1235759, "Assembly": 904486, "Shell": 842089, "Groff": 730619, "C++": 711767, "HTML": 398876, "Kotlin": 259743, "DIGITAL Command Language": 189824, "PHP": 147640, "Python": 110912, "Yacc": 105362, "CMake": 83638, "Batchfile": 14801, "XSLT": 11744, "Lex": 10310, "XS": 8638, "... | package com.proxy.shadowsocksr
import android.content.Intent
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import android.support.v7.widget.LinearLayoutManager
import android.support.v7.widget.RecyclerView
import android.support.v7.widget.Toolbar
import android.view.MenuItem
import android.v... | 0 | C | 1 | 0 | 7b112f91ae554521e126825df8aba19d2ea060af | 3,389 | ShadowsocksRDroid | MIT License |
vector/src/main/java/com/angcyo/VectorKtx.kt | angcyo | 229,037,615 | false | null | package com.angcyo
import android.graphics.Paint
import android.graphics.Path
import com.angcyo.gcode.GCodeWriteHandler
import com.angcyo.library.annotation.Pixel
import com.angcyo.library.component.hawk.LibHawkKeys
import com.angcyo.library.ex.computePathBounds
import com.angcyo.library.ex.toListOf
import com.angcyo.... | 0 | null | 6 | 5 | e1aeea2a677b585561879f3cdb0be6b1c6d1d458 | 9,927 | UICore | MIT License |
app/src/main/java/com/example/paging3sample/MainActivity.kt | LiarrDev | 594,680,154 | false | null | package com.example.paging3sample
import android.os.Bundle
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import androidx.core.view.isVisible
import androidx.lifecycle.ViewModelProvider
import androidx.lifecycle.lifecycleScope
import androidx.paging.LoadState
import androidx.recyclerview.w... | 0 | Kotlin | 0 | 0 | 6b941896e3349325323c05aba32fb8f11998e551 | 1,975 | Paging3Sample | Apache License 2.0 |
simplified-reader-bookmarks-api/src/main/java/org/nypl/simplified/reader/bookmarks/api/ReaderBookmarkServiceType.kt | NYPL-Simplified | 30,199,881 | false | null | package org.nypl.simplified.reader.bookmarks.api
/**
* The reader bookmark service interface.
*/
interface ReaderBookmarkServiceType : AutoCloseable, ReaderBookmarkServiceUsableType {
override fun close()
}
| 109 | null | 21 | 32 | 781e4e2122f1528253a6cf17931083944f91ceba | 214 | Simplified-Android-Core | Apache License 2.0 |
carbon/src/commonMain/kotlin/com/gabrieldrn/carbon/dropdown/base/DropdownPopupContent.kt | gabrieldrn | 707,513,802 | false | {"Kotlin": 782975, "Swift": 4324, "JavaScript": 2279, "Python": 1797, "HTML": 468} | /*
* Copyright 2024 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | 4 | Kotlin | 6 | 59 | a479b1a97702c809a56892518ae9a0ccd6ddd89a | 7,606 | carbon-compose | Apache License 2.0 |
guide/src/test/kotlin/examples/example-traversal-01.kt | arrow-kt | 557,761,845 | false | null | // This file was automatically generated from traversal.md by Knit tool. Do not edit.
package arrow.website.examples.exampleTraversal01
import io.kotest.matchers.shouldBe
import arrow.optics.*
import arrow.optics.dsl.*
@optics data class Person(val name: String, val age: Int, val friends: List<Person>) {
companion... | 12 | Kotlin | 8 | 6 | 316abe029d69a0a0a1bbbd4ca569561f72e3fc86 | 796 | arrow-website | Apache License 2.0 |
app/src/main/java/com/zeynelerdi/mackolik/app/App.kt | ZeynelErdiKarabulut | 320,010,103 | false | {"Kotlin": 116012} | package com.zeynelerdi.mackolik.app
import com.zeynelerdi.mackolik.app.initializers.AppInitializers
import com.zeynelerdi.mackolik.di.component.DaggerAppComponent
import dagger.android.AndroidInjector
import dagger.android.DaggerApplication
import javax.inject.Inject
class App : DaggerApplication() {
@Inject
... | 0 | Kotlin | 0 | 1 | 4b40e57d2193706e15e18dd77fbb459e960f35db | 604 | Mackolik | Apache License 2.0 |
bindings/gtk/gdk4/src/nativeMain/kotlin/org/gtkkn/bindings/gdk/PopupLayout.kt | gtk-kn | 609,191,895 | false | {"Kotlin": 10448515, "Shell": 2740} | // This is a generated file. Do not modify.
package org.gtkkn.bindings.gdk
import kotlinx.cinterop.CPointed
import kotlinx.cinterop.CPointer
import kotlinx.cinterop.reinterpret
import org.gtkkn.extensions.common.asBoolean
import org.gtkkn.extensions.glib.Record
import org.gtkkn.extensions.glib.RecordCompanion
import o... | 0 | Kotlin | 0 | 13 | c033c245f1501134c5b9b46212cd153c61f7efea | 9,693 | gtk-kn | Creative Commons Attribution 4.0 International |
app/src/main/java/com/suadahaji/notify/searchnote/SearchFragment.kt | suada-haji | 212,331,094 | false | null | package com.suadahaji.notify.searchnote
import android.app.Activity
import android.app.SearchManager
import android.content.Context
import android.content.SharedPreferences
import android.os.Bundle
import android.view.*
import android.view.inputmethod.InputMethodManager
import androidx.appcompat.widget.SearchView
impo... | 0 | Kotlin | 1 | 0 | a4424a2b2540d82c43134f0a10e6a4f22dfc6a77 | 5,380 | Notifyy | Apache License 2.0 |
src/main/kotlin/org/jetbrains/bazel/languages/starlark/psi/base/StarlarkBaseElement.kt | JetBrains | 709,213,338 | false | {"Kotlin": 189384, "Java": 46509, "Starlark": 19013, "Lex": 6398, "Scala": 5748} | package org.jetbrains.bazel.languages.starlark.psi.base
import com.intellij.extapi.psi.ASTWrapperPsiElement
import com.intellij.lang.ASTNode
import com.intellij.psi.PsiElementVisitor
import org.jetbrains.bazel.languages.starlark.psi.StarlarkElementVisitor
abstract class StarlarkBaseElement(node: ASTNode) : ASTWrapper... | 0 | Kotlin | 0 | 9 | 94e4a42b40b2109b4710af83acb4c1787a9e4e42 | 608 | intellij-bazel | Apache License 2.0 |
KotlinExample/src/main/kotlin/programmers/basic/Day01/두수의곱/Solution.kt | sangki930 | 467,437,850 | false | {"Kotlin": 22081} | package programmers.basic.Day01.두수의곱
class Solution {
fun solution(num1: Int, num2: Int): Int {
var answer: Int = num1*num2
return answer
}
} | 0 | Kotlin | 0 | 0 | 98ad80d00a38c8f4c54a5bdd0fb5b26bf23a1655 | 166 | Kotlin | Apache License 2.0 |
dsl/src/main/kotlin/cloudshift/awscdk/dsl/services/synthetics/CfnCanaryVisualReferencePropertyDsl.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package cloudshift.awscdk.dsl.services.synthetics
import cloudshift.awscdk.common.CdkDslMarker
import kotlin.Any
import kotlin.String
import k... | 1 | Kotlin | 0 | 0 | 17c41bdaffb2e10d31b32eb2282b73dd18be09fa | 3,795 | awscdk-dsl-kotlin | Apache License 2.0 |
gto-support-scarlet-actioncable/src/main/java/org/ccci/gto/android/common/scarlet/actioncable/MessageMessageAdapter.kt | CruGlobal | 30,609,844 | false | null | package org.ccci.gto.android.common.scarlet.actioncable
import com.squareup.moshi.Moshi
import com.tinder.scarlet.MessageAdapter
import org.ccci.gto.android.common.scarlet.actioncable.model.Message
import org.ccci.gto.android.common.scarlet.actioncable.model.RawIncomingMessage
import org.ccci.gto.android.common.scarle... | 4 | Kotlin | 2 | 9 | 9e7da2772e422dbf3f773247cff34533830c0445 | 1,919 | android-gto-support | MIT License |
browser-kotlin/src/jsMain/kotlin/web/media/key/MediaKeyMessageEventInit.kt | karakum-team | 393,199,102 | false | {"Kotlin": 6912722} | // Automatically generated - do not modify!
package web.media.key
import js.buffer.ArrayBuffer
import js.objects.JsPlainObject
import web.events.EventInit
@JsPlainObject
external interface MediaKeyMessageEventInit :
EventInit {
val message: ArrayBuffer
val messageType: MediaKeyMessageType
}
| 0 | Kotlin | 7 | 31 | 79f2034ed9610e4416dfde5b70a0ff06f88210b5 | 307 | types-kotlin | Apache License 2.0 |
src/main/kotlin/com/minskrotterdam/airquality/routes/Routes.kt | dmitrychebayewski | 245,884,429 | false | null | package com.minskrotterdam.airquality.routes
import com.minskrotterdam.airquality.config.API_ENDPOINT
import com.minskrotterdam.airquality.extensions.coroutineHandler
import com.minskrotterdam.airquality.handlers.*
import io.vertx.core.Vertx
import io.vertx.ext.web.Router
val STATIONS_PATH = "$API_ENDPOINT/stations"
... | 0 | Kotlin | 0 | 0 | 4aef42fff44875a240eccd41f6e72848aaad5d91 | 2,552 | airrotterdam-api | Apache License 2.0 |
app/src/main/java/com/quotes/ui/components/RefreshCta.kt | initishbhatt | 449,224,476 | false | {"Kotlin": 66548} | package com.quotes.ui.components
import androidx.compose.animation.core.LinearEasing
import androidx.compose.animation.core.animateFloatAsState
import androidx.compose.animation.core.tween
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.size
import androidx.compose.material.IconButto... | 0 | Kotlin | 0 | 4 | aa05f92b4a4f2f0793a9e4588843fffe39b4491a | 1,588 | Quotes | MIT License |
apps/etterlatte-beregning-kafka/src/test/kotlin/no/nav/etterlatte/beregningkafka/MigreringBeregningHendelserRiverTest.kt | navikt | 417,041,535 | false | null | package no.nav.etterlatte.beregningkafka
import io.ktor.client.call.body
import io.ktor.client.statement.HttpResponse
import io.mockk.every
import io.mockk.mockk
import io.mockk.slot
import kotlinx.coroutines.runBlocking
import no.nav.etterlatte.brev.model.Spraak
import no.nav.etterlatte.libs.common.IntBroek
import no... | 26 | null | 0 | 6 | 028742752b6152cf1fec8ccc1dffd55614a74cb3 | 12,796 | pensjon-etterlatte-saksbehandling | MIT License |
platform/platform-impl/src/com/intellij/ui/dsl/impl/PanelImpl.kt | jmrichardson | 444,361,501 | true | null | // Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.ui.dsl.impl
import com.intellij.openapi.diagnostic.Logger
import com.intellij.openapi.ui.DialogPanel
import com.intellij.openapi.ui.OnePixe... | 0 | null | 0 | 0 | b1430145bf57376d3f34f4eec87d18b7f9d4e14f | 11,560 | intellij-community | Apache License 2.0 |
practicas/app/src/main/java/com/adrianbalam/practicas/todoapp/TareasAdaptador.kt | adrianbalam | 615,909,656 | false | null | package com.adrianbalam.practicas.todoapp
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.cardview.widget.CardView
import androidx.recyclerview.widget.RecyclerView
import com.adrianbalam.practicas.R
class TareasAdaptador(
pri... | 0 | Kotlin | 0 | 0 | 4ad2850741c192e06bf1ced361cf16eee9b4aad6 | 1,430 | EjemploAndroid | MIT License |
platform/platform-impl/src/com/intellij/openapi/wm/impl/IdeMenuBar.kt | ingokegel | 72,937,917 | false | null | // Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.openapi.wm.impl
import com.intellij.DynamicBundle
import com.intellij.ide.ui.UISettings
import com.intellij.openapi.actionSystem.ActionGroup
import com.intellij.openapi.actionSy... | 229 | null | 4931 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 8,217 | intellij-community | Apache License 2.0 |
app/src/main/java/me/hufman/androidautoidrive/BackgroundInterruptionDetection.kt | BimmerGestalt | 164,273,785 | false | {"Kotlin": 1839646, "Python": 4131, "HTML": 3912, "Shell": 1732} | package me.hufman.androidautoidrive
import android.content.Context
import android.content.Context.MODE_PRIVATE
import android.content.SharedPreferences
import android.os.Handler
import android.os.Looper
/**
* Utility class to determine whether the phone has ever suspended or killed the app in the background
*
* Th... | 49 | Kotlin | 90 | 546 | ea49ba17a18c353a8ba55f5040e8e4321bf14bd7 | 3,298 | AAIdrive | MIT License |
korio/src/commonMain/kotlin/com/soywiz/korio/util/RangeExt.kt | IgorKey | 185,667,363 | true | {"Kotlin": 817797, "Shell": 1679, "Batchfile": 698, "IDL": 196} | package com.soywiz.korio.util
import kotlin.native.concurrent.SharedImmutable
@SharedImmutable
val LONG_ZERO_TO_MAX_RANGE = 0L..Long.MAX_VALUE
fun IntRange.toLongRange() = this.start.toLong()..this.endInclusive.toLong() | 0 | Kotlin | 0 | 0 | 7c880b77b693b2dbd5c0f29c9b556243a07ef424 | 221 | korio | MIT License |
cryptohash/src/commonMain/kotlin/com/appmattus/crypto/internal/core/Shared.kt | appmattus | 347,486,833 | false | {"Kotlin": 8470456} | /*
* Copyright 2022-2024 Appmattus Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | 3 | Kotlin | 4 | 79 | 9530b18ae391f95d305e87777dca40faf3efd6ca | 7,947 | crypto | Apache License 2.0 |
app/src/main/java/mcorrea/firstapp/MainActivity.kt | MarcuusCorrea | 810,019,716 | false | {"Kotlin": 2270} | package mcorrea.firstapp
import android.os.Bundle
import androidx.activity.enableEdgeToEdge
import androidx.appcompat.app.AppCompatActivity
import androidx.core.view.ViewCompat
import androidx.core.view.WindowInsetsCompat
import mcorrea.firstapp.databinding.ActivityMainBinding
class MainActivity : AppCompatActivity()... | 0 | Kotlin | 0 | 0 | 6920b8c82e0ad2e43d49c07bcc104b1376a400ae | 1,268 | app_android | MIT License |
lib/kommander-core/src/nativeMain/kotlin/util/executeCommand.kt | mpetuska | 416,476,278 | false | {"Kotlin": 45376, "Shell": 548} | package dev.petuska.kommander.core.util
import kotlinx.cinterop.refTo
import kotlinx.cinterop.toKString
import platform.posix.fgets
import platform.posix.pclose
import platform.posix.popen
internal actual fun executeCommand(cmd: CMD, stdout: (String) -> Unit): Int {
val fp = popen("$cmd", "r") ?: error("Failed to r... | 8 | Kotlin | 0 | 3 | 0917eb64aec7add03d842d5685f9bcfda338fffb | 510 | kommander | Apache License 2.0 |
src/nl/hannahsten/texifyidea/util/LatexDistribution.kt | sundermann | 254,633,674 | true | {"Kotlin": 1103466, "Java": 154502, "HTML": 18395, "TeX": 9540, "Lex": 7549, "Python": 967} | package nl.hannahsten.texifyidea.util
import nl.hannahsten.texifyidea.settings.TexifySettings
import java.io.IOException
import java.util.concurrent.TimeUnit
/**
* Represents the LaTeX Distribution of the user, e.g. MikTeX or TeX Live.
*/
class LatexDistribution {
companion object {
private val pdfla... | 0 | null | 0 | 0 | 94212466645dfe485e9da0a2f982be9dfd2ffad4 | 3,530 | TeXiFy-IDEA | MIT License |
src/nl/hannahsten/texifyidea/util/LatexDistribution.kt | sundermann | 254,633,674 | true | {"Kotlin": 1103466, "Java": 154502, "HTML": 18395, "TeX": 9540, "Lex": 7549, "Python": 967} | package nl.hannahsten.texifyidea.util
import nl.hannahsten.texifyidea.settings.TexifySettings
import java.io.IOException
import java.util.concurrent.TimeUnit
/**
* Represents the LaTeX Distribution of the user, e.g. MikTeX or TeX Live.
*/
class LatexDistribution {
companion object {
private val pdfla... | 0 | null | 0 | 0 | 94212466645dfe485e9da0a2f982be9dfd2ffad4 | 3,530 | TeXiFy-IDEA | MIT License |
android/quest/src/main/java/org/smartregister/fhircore/quest/ui/patient/profile/components/PersonalData.kt | opensrp | 339,242,809 | false | null | /*
* Copyright 2021 Ona Systems, 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 agr... | 158 | Kotlin | 10 | 18 | 9d7044a12ef2726705a3019cb26ab03bc48bc28c | 4,285 | fhircore | Apache License 2.0 |
app/src/main/java/com/etasdemir/ethinspector/ui/search/InvalidSearchScreen.kt | etasdemir | 584,191,764 | false | null | package com.etasdemir.ethinspector.ui.search
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.*
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.Close
import androidx.compose.material3.*
import androidx.compose.runtime.Composable
import androi... | 0 | null | 0 | 4 | 753c16ebcb2973bdef76078bb391792892187826 | 2,618 | eth-inspector | MIT License |
backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/objcexport/MethodBridge.kt | JetBrains | 58,957,623 | false | null | /*
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the LICENSE file.
*/
package org.jetbrains.kotlin.backend.konan.objcexport
import org.jetbrains.kotlin.backend.common.descriptors.allParameters
import org.jetbrains.kotlin.backend.konan.ir... | 163 | null | 625 | 7,100 | 9fb0a75ab17e9d8cddd2c3d1802a1cdd83774dfa | 4,174 | kotlin-native | Apache License 2.0 |
ktorfit-ksp/src/test/kotlin/de/jensklingenberg/ktorfit/reqBuilderExtension/UrlArgumentTextKtTest.kt | Foso | 203,655,484 | false | {"Kotlin": 330650, "Ruby": 2354, "Java": 692, "Swift": 345} | package de.jensklingenberg.ktorfit.reqBuilderExtension
import com.google.devtools.ksp.symbol.KSType
import de.jensklingenberg.ktorfit.model.ParameterData
import de.jensklingenberg.ktorfit.model.ReturnTypeData
import de.jensklingenberg.ktorfit.model.annotations.HttpMethod
import de.jensklingenberg.ktorfit.model.annotat... | 32 | Kotlin | 40 | 1,558 | 16d3481c25b151e5abb37d7cb2ee4e86c5db9d49 | 3,194 | Ktorfit | Apache License 2.0 |
src/main/kotlin/net/casual/arcade/utils/FastUtils.kt | CasualChampionships | 621,955,934 | false | {"Kotlin": 981165, "Java": 176720, "GLSL": 4396} | package net.casual.arcade.utils
import it.unimi.dsi.fastutil.Pair
public object FastUtils {
public operator fun <A: Any, B> Pair<A, B>.component1(): A {
return this.left()
}
public operator fun <A: Any, B> Pair<A, B>.component2(): B {
return this.right()
}
} | 1 | Kotlin | 1 | 2 | b7fe392b1063cc0977df54e1713097888c5a3aed | 293 | arcade | MIT License |
src/main/kotlin/com/sk/topicWise/slidingwindow/hard/76. Minimum Window Substring.kt | sandeep549 | 262,513,267 | false | null | package com.sk.topicWise.slidingwindow.hard
class Solution76 {
fun minWindow(s: String, t: String): String {
if (s.length < t.length) return ""
val dict = t.toCharArray().groupBy { it }.mapValues { it.value.size }.toMutableMap()
val required = dict.size
var l = 0
var r = 0
... | 1 | null | 1 | 1 | 67688ec01551e9981f4be07edc11e0ee7c0fab4c | 2,238 | leetcode-answers-kotlin | Apache License 2.0 |
src/main/kotlin/de/menkalian/pisces/RequiresKey.kt | Menkalian | 471,663,267 | false | null | package de.menkalian.pisces
import java.lang.annotation.Inherited
/**
* Annotation zum Festlegen der Features, die in der Config aktiv sein müssen, um diese Komponente zu aktivieren.
* Diese Annotation sollte gemeinsam mit `@Conditional(OnConfigValueCondition::class)` genutzt werden.
*
* @see OnConfigValueConditi... | 0 | Kotlin | 0 | 1 | efc7818da5419ce720cd04878c8aa30809fc35c0 | 404 | pisces | Apache License 2.0 |
src/RequestEngine.kt | PortSwigger | 166,008,413 | false | null | package burp
import java.io.*
import java.net.URL
import java.util.*
import java.util.concurrent.CountDownLatch
import java.util.concurrent.LinkedBlockingQueue
import java.util.concurrent.TimeUnit
import java.util.concurrent.atomic.AtomicInteger
import java.util.concurrent.locks.ReentrantReadWriteLock
import java.util... | 15 | null | 207 | 967 | 3ed8a545d60b7599ad97b6a1d760f9b4c6c83cd6 | 11,851 | turbo-intruder | Apache License 2.0 |
app/src/main/kotlin/ru/arsich/messenger/ui/views/DialogsLayout.kt | arsich | 101,335,653 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Java": 2, "XML": 22, "Kotlin": 33} | package ru.arsich.messenger.ui.views
import android.content.Context
import android.graphics.Paint
import android.util.AttributeSet
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import ru.arsich.messenger.R
class DialogsLayout : ViewGroup {
constructor(context: Contex... | 0 | Kotlin | 0 | 0 | 9630f03aad7d7299f661192de9b74642bb17d13c | 5,391 | messenger | MIT License |
mappings/src/commonTest/kotlin/com/revenuecat/purchases/kmp/mappings/PurchasesAreCompletedByTests.kt | RevenueCat | 758,647,648 | false | {"Kotlin": 391318, "Ruby": 17650, "Swift": 594} | package com.revenuecat.purchases.kmp.mappings
import com.revenuecat.purchases.kmp.models.PurchasesAreCompletedBy
import com.revenuecat.purchases.kmp.models.StoreKitVersion
import kotlin.test.Test
import kotlin.test.assertEquals
class PurchasesAreCompletedByTests {
@Test
fun `toHybridString returns the correc... | 6 | Kotlin | 3 | 88 | af9d4f70c0af9a7a346f56dcf34d1ca621c41297 | 800 | purchases-kmp | MIT License |
app/src/main/java/com/github/psm/moviedb/db/model/tv/popular/Tv.kt | Pidsamhai | 371,868,606 | false | {"Kotlin": 243787, "CMake": 1715} | package com.github.psm.moviedb.db.model.tv.popular
import android.os.Parcelable
import androidx.annotation.Keep
import com.github.psm.moviedb.db.model.BaseVoteObject
import com.github.psm.moviedb.db.model.VoteStar
import io.objectbox.annotation.Entity
import io.objectbox.annotation.Id
import kotlinx.parcelize.Parceli... | 1 | Kotlin | 1 | 3 | 6f4e67ee83349604b3396902469f4c3a83a68c3c | 1,464 | movie_db | Apache License 2.0 |
app/src/main/java/com/mobven/extensions/recyclerview/concatadapter/ConcatExampleActivity.kt | mobven | 362,412,001 | false | null | package com.mobven.extensions.recyclerview.concatadapter
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.recyclerview.widget.ConcatAdapter
import com.mobven.extensions.MenuAdapter
import com.mobven.extensions.databinding.ActivityConcatExampleBinding
class ConcatExampleActivity... | 3 | Kotlin | 5 | 37 | 2328e719d6990789430378377610132ec9890f15 | 1,624 | Extensify | MIT License |
src/main/kotlin/com/papsign/ktor/openapigen/annotations/type/number/integer/min/Min.kt | bargergo | 266,487,805 | true | {"Kotlin": 253682} | package com.papsign.ktor.openapigen.annotations.type.number.integer.min
import com.papsign.ktor.openapigen.schema.processor.SchemaProcessorAnnotation
import com.papsign.ktor.openapigen.validation.ValidatorAnnotation
@Target(AnnotationTarget.TYPE, AnnotationTarget.PROPERTY)
@SchemaProcessorAnnotation(MinProcessor::cla... | 0 | null | 0 | 0 | 10f49e3d9b0fa172ae9b5e8c267ccdbc4331c5e6 | 404 | Ktor-OpenAPI-Generator | Apache License 2.0 |
platform/platform-impl/src/com/intellij/ide/customize/transferSettings/ui/representation/ideVersion/sections/IdeRepresentationItem.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.ide.customize.transferSettings.ui.representation.ideVersion.sections
import com.intellij.ide.customize.transferSettings.models.SettingsPreferences
import com.intellij.ide.custom... | 229 | null | 4931 | 15,571 | 92c8aad1c748d6741e2c8e326e76e68f3832f649 | 3,550 | intellij-community | Apache License 2.0 |
src/main/kotlin/g2001_2100/s2006_count_number_of_pairs_with_absolute_difference_k/Solution.kt | javadev | 190,711,550 | false | {"Kotlin": 4909193, "TypeScript": 50446, "Python": 3646, "Shell": 994} | package g2001_2100.s2006_count_number_of_pairs_with_absolute_difference_k
// #Easy #Array #Hash_Table #Counting #2023_06_23_Time_186_ms_(100.00%)_Space_37.5_MB_(66.67%)
import kotlin.math.abs
class Solution {
fun countKDifference(nums: IntArray, k: Int): Int {
var pairs = 0
for (i in 0 until nums... | 0 | Kotlin | 20 | 43 | 62708bc4d70ca2bfb6942e4bbfb4c64641e598e8 | 530 | LeetCode-in-Kotlin | MIT License |
car-rental-store/src/main/kotlin/com/lvb/studies/kotlin/api/carstore/controller/CarPostController.kt | Velosofurioso | 636,948,488 | false | null | package com.lvb.studies.kotlin.api.carstore.controller
import com.lvb.studies.kotlin.api.carstore.dto.CarPostDTO
import com.lvb.studies.kotlin.api.carstore.service.carPost.ICarPostService
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.http.HttpStatus
import org.springframework... | 0 | Kotlin | 0 | 0 | 21bc34004b70bd5b08fe85fa21b99a1c003012cf | 1,541 | api-car-rental | MIT License |
applications/mobile_app/src/main/kotlin/dev/marlonlom/apps/glucoreo/ui/theme/Theme.kt | marlonlom | 524,531,428 | false | null | /*
* Copyright 2022 Marlonlom
*
* 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... | 0 | Kotlin | 0 | 0 | 6e05e0ba4ebb7e0b9c9b0cb53f1585e0c91ffaf1 | 3,316 | Glucoreo | Apache License 2.0 |
src/main/kotlin/uk/gov/justice/digital/hmpps/prisonersearch/services/SearchOperations.kt | ministryofjustice | 256,501,813 | false | null | package uk.gov.justice.digital.hmpps.prisonersearch.services
import org.elasticsearch.index.query.BoolQueryBuilder
import org.elasticsearch.index.query.QueryBuilders
import java.time.LocalDate
fun BoolQueryBuilder.mustWhenPresent(query: String, value: Any?): BoolQueryBuilder {
value.takeIf {
when (it) {
i... | 3 | null | 3 | 5 | bb3fb21dca2cae2ee10d51c0fa89c10361fa30b7 | 3,612 | prisoner-offender-search | MIT License |
heavy_boot3/src/main/kotlin/net/kotlinx/spring/security/jwt/JwtTokenReadFilter.kt | mypojo | 565,799,715 | false | {"Kotlin": 1352508, "Jupyter Notebook": 13439, "Java": 9531} | package net.kotlinx.spring.security.jwt
import jakarta.servlet.FilterChain
import jakarta.servlet.ServletRequest
import jakarta.servlet.ServletResponse
import jakarta.servlet.http.HttpServletRequest
import mu.KotlinLogging
import net.kotlinx.spring.security.SimpleAuthenticationToken
import org.springframework.security... | 0 | Kotlin | 0 | 1 | fb930ed8208165b710de3eff879e1aaa2f154655 | 1,431 | kx_kotlin_support | MIT License |
compiler/testData/codegen/box/reflection/typeOf/js/inlineClasses.kt | JetBrains | 3,432,266 | false | null | // TARGET_BACKEND: JS
// WITH_REFLECT
// KJS_WITH_FULL_RUNTIME
package test
import kotlin.reflect.KType
import kotlin.reflect.typeOf
import kotlin.test.assertEquals
inline class Z(val value: String)
fun check(expected: String, actual: KType) {
assertEquals(expected, actual.toString())
}
fun box(): String {
... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 811 | kotlin | Apache License 2.0 |
navigation/src/main/java/com/rohyme/navigation/homecontainer/friendsScreen/FriendsScreen4.kt | Rohyme | 279,625,101 | false | null | package com.rohyme.navigation.homecontainer.friendsScreen
import com.rohyme.navigation.R
import com.rohyme.navigation.homecontainer.BaseFragment
/**
* Created by rohyme on 7/14/20.
**/
class FriendsScreen4: BaseFragment() {
override var fragmentName: String = "Friends Screen 1"
override var navigationId: In... | 0 | Kotlin | 0 | 0 | ae6f1e58693c840fa432d01962af8f377d59d65a | 371 | TechnivanceSideApp | Apache License 2.0 |
src/main/kotlin/kr/jadekim/redis/lettuce/Redis.kt | jdekim43 | 238,139,395 | false | null | package kr.jadekim.redis.lettuce
import io.lettuce.core.ClientOptions
import io.lettuce.core.RedisClient
import io.lettuce.core.RedisFuture
import io.lettuce.core.RedisURI
import io.lettuce.core.api.StatefulRedisConnection
import io.lettuce.core.api.async.RedisAsyncCommands
import io.lettuce.core.codec.RedisCodec
impo... | 0 | Kotlin | 0 | 0 | 086437a1fa55731b5a6993c1f19f8e39fd5ebc49 | 4,992 | lettuce-extension | MIT License |
api/src/main/kotlin/kiinse/me/plugins/darkwaterapi/api/commands/DarkCommandManager.kt | kiinse | 518,125,280 | false | {"Kotlin": 284439, "Java": 9392} | package kiinse.me.plugins.darkwaterapi.api.commands
import kiinse.me.plugins.darkwaterapi.api.DarkWaterJavaPlugin
import kiinse.me.plugins.darkwaterapi.api.exceptions.CommandException
import org.bukkit.command.CommandExecutor
import org.bukkit.command.CommandSender
import org.bukkit.command.PluginCommand
import org.bu... | 0 | Kotlin | 0 | 3 | c96bf839634b87ab44ddcf7faed7576d1c587cf5 | 5,472 | DarkWaterAPI | MIT License |
android/app/src/main/kotlin/com/example/gitee_client_app/MainActivity.kt | baoqiang | 432,944,891 | false | null | package com.example.gitee_client_app
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | null | 0 | 0 | d0f00a08346c0c81d5b50de378b987220cee4f4b | 133 | flutter-demo | MIT License |
src/test/kotlin/org/sheinbergon/dremio/udf/gis/STDWithinTests.kt | sheinbergon | 479,823,237 | false | {"Java": 205014, "Kotlin": 139786} | package org.sheinbergon.dremio.udf.gis
import org.apache.arrow.vector.holders.Float8Holder
import org.apache.arrow.vector.holders.NullableBitHolder
import org.apache.arrow.vector.holders.NullableVarBinaryHolder
import org.sheinbergon.dremio.udf.gis.spec.GeometryRelationFunSpec
import org.sheinbergon.dremio.udf.gis.uti... | 0 | Java | 0 | 23 | 91dc5268662b2925b2adca05061eb05bd9467ded | 1,587 | dremio-udf-gis | Apache License 2.0 |
yandex-mapkit-kmp/src/iosMain/kotlin/ru/sulgik/mapkit/map/IconStyle.ios.kt | SuLG-ik | 813,953,018 | false | {"Kotlin": 121845} | package ru.sulgik.mapkit.map
import YandexMapKit.YMKIconStyle
import platform.Foundation.NSNumber
import platform.Foundation.numberWithBool
import platform.Foundation.numberWithFloat
import platform.Foundation.numberWithInt
fun IconStyle.toNative(): YMKIconStyle {
return YMKIconStyle.iconStyleWithAnchor(
... | 0 | Kotlin | 0 | 0 | f6ed911d25f5e26a91ca6b2152a8fa74f6639ee8 | 1,019 | yandex-mapkit-kmp | Apache License 2.0 |
annotation/src/main/kotlin/com/github/henryJung/annotation/MapperProperty.kt | henryJung | 614,363,120 | false | null | package com.github.henryJung.annotation
@Target(AnnotationTarget.PROPERTY)
@Retention(AnnotationRetention.BINARY)
annotation class MapperProperty(val alias: String = "") | 0 | Kotlin | 0 | 0 | b5555a4cc127b7120cf491d963da0d6f116f3687 | 170 | Mapper | Apache License 2.0 |
app/src/main/java/com/timilehinaregbesola/mathalarm/presentation/alarmsettings/components/TextWithIcon.kt | t-regbs | 223,649,248 | false | {"Kotlin": 283958} | package com.timilehinaregbesola.mathalarm.presentation.alarmsettings.components
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.material3.Icon
impo... | 2 | Kotlin | 2 | 15 | 1cc000f3c8345209b0494efed3274f2a3f8a4373 | 2,421 | MathAlarm | MIT License |
plugins/kotlin/code-insight/structural-search-k2/src/org/jetbrains/kotlin/idea/k2/codeinsight/structuralsearch/filters/AlsoMatchVarModifier.kt | ingokegel | 72,937,917 | false | null | // Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package org.jetbrains.kotlin.idea.structuralsearch.filters
import org.jetbrains.annotations.NonNls
import org.jetbrains.kotlin.idea.base.resources.KotlinBundle
class AlsoMatchVarModifier : OneState... | 191 | null | 4372 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 560 | intellij-community | Apache License 2.0 |
android/Rental/app/src/main/java/com/project/pradyotprakash/rental/app/composables/AnimatedProgressBar.kt | pradyotprksh | 385,586,594 | false | null | package com.project.pradyotprakash.rental.app.composables
import androidx.compose.animation.core.animateFloatAsState
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material3.LinearProgressIndicator
import androidx.compose.mater... | 0 | Kotlin | 7 | 9 | e10e007fab12c3d056920741c06ff599a64cca21 | 1,082 | development_learning | MIT License |
colormath/src/commonMain/kotlin/com/github/ajalt/colormath/CssParse.kt | ajalt | 139,778,270 | false | {"Kotlin": 323562, "Python": 4897, "Shell": 1192, "HTML": 324} | package com.github.ajalt.colormath
import com.github.ajalt.colormath.internal.*
import com.github.ajalt.colormath.model.*
import com.github.ajalt.colormath.model.LABColorSpaces.LAB50
import com.github.ajalt.colormath.model.LCHabColorSpaces.LCHab50
import com.github.ajalt.colormath.model.RGBColorSpaces.AdobeRGB
import ... | 1 | Kotlin | 19 | 281 | e401329f845d5efe0fb626f9455dd4fa598a8ccd | 8,445 | colormath | MIT License |
bitcoin_ticker/android/app/src/main/kotlin/io/github/vijethph/bitcoin_ticker/MainActivity.kt | vijethph | 372,726,856 | false | {"Dart": 91074, "HTML": 4543, "Swift": 4040, "Kotlin": 1328, "Objective-C": 380} | package io.github.vijethph.bitcoin_ticker
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 0 | 1 | b69d509828c82b92499033495fb60c8fa42f8e11 | 138 | FlutterApps | MIT License |
src/main/kotlin/com/zeta/system/controller/MainController.kt | xia5800 | 449,936,024 | false | null | package com.zeta.system.controller
import cn.dev33.satoken.stp.StpUtil
import cn.hutool.core.util.StrUtil
import com.github.xiaoymin.knife4j.annotations.ApiSupport
import com.wf.captcha.SpecCaptcha
import com.zeta.common.cacheKey.CaptchaStringCacheKey
import com.zeta.system.model.entity.SysUser
import com.zeta.system.... | 0 | null | 2 | 8 | 8c138e73e864836ddfa5e3eabf05ec05749fda56 | 4,819 | zeta-kotlin | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.