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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
features/profile/src/main/java/com/kape/profile/data/models/Subscription.kt | pia-foss | 808,533,574 | false | {"Kotlin": 1249493} | package com.kape.profile.data.models
import android.os.Build
import androidx.annotation.RequiresApi
import com.kape.utils.KoverIgnore
import java.text.SimpleDateFormat
import java.time.Duration
data class Subscription(
val isExpired: Boolean,
val daysRemaining: Int,
val showExpire: Boolean,
) {
val ex... | 3 | Kotlin | 0 | 4 | 151ea781036e280fcbfecfcb5716c7881fc802c1 | 783 | mobile-android | MIT License |
processing-status-api-function-app/src/main/kotlin/gov/cdc/ocio/processingstatusapi/model/traces/TraceResult.kt | CDCgov | 679,761,337 | false | {"Kotlin": 573145, "Java": 30754, "Python": 12702, "TypeScript": 7647, "JavaScript": 2382} | package gov.cdc.ocio.processingstatusapi.model.traces
import com.google.gson.annotations.SerializedName
import gov.cdc.ocio.processingstatusapi.functions.status.GetStatusFunction
import java.time.Instant
import java.util.*
data class TraceResult(
@SerializedName("trace_id")
var traceId: String? = null,
... | 3 | Kotlin | 0 | 1 | 570ec1df411691da32254d5d61f9cdbe1cfabb12 | 5,983 | data-exchange-processing-status | Apache License 2.0 |
app/src/main/java/com/example/mywechat/ChatActivity.kt | babysbreathgyq | 503,243,861 | false | null | package com.example.mywechat
import android.annotation.SuppressLint
import android.content.ContentValues
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android.view.View
import android.widget.Toast
import androidx.recyclerview.widge... | 0 | Kotlin | 0 | 0 | c306d5eec711c78a2fd307eb69a04b9103275ed8 | 3,818 | MyWeChat | Apache License 2.0 |
백준/대충 차집합.kt | jisungbin | 382,889,087 | false | null | import java.io.BufferedReader
import java.io.BufferedWriter
import java.io.InputStreamReader
import java.io.OutputStreamWriter
fun main() {
val br = BufferedReader(InputStreamReader(System.`in`))
val bw = BufferedWriter(OutputStreamWriter(System.out))
val (mapSize, map2Size) = br.readLine().split(" ").map... | 0 | Kotlin | 1 | 9 | 215a0b0087f6ddbb65c7ac231a749f8e7d8bd827 | 1,099 | algorithm-code | MIT License |
shared/src/desktopMain/kotlin/org/chiachat/app/db/PlatformDb.kt | abueide | 576,041,973 | false | {"Kotlin": 53648, "Swift": 516, "Ruby": 103} | package org.chiachat.app.db
//import app.cash.sqldelight.db.SqlDriver
//import app.cash.sqldelight.driver.jdbc.sqlite.JdbcSqliteDriver
//import com.soywiz.korio.file.std.userHomeVfs
/*actual class PlatformDb {
private val sqlitePath = userHomeVfs[".chiachat/chiachat.db"]
actual suspend fun getDriver(): SqlDriver ... | 0 | Kotlin | 0 | 0 | eeb4dd4003380b9ff9f479e627b0ecb5f4dce50d | 431 | chiachat-ios-demo | MIT License |
src/main/kotlin/no/nav/rekrutteringsbistand/api/stillingsanalyse/Persondatafilter.kt | navikt | 214,435,826 | false | {"Kotlin": 286641, "Dockerfile": 129} | package no.nav.rekrutteringsbistand.api.stillingsanalyse
object PersondataFilter {
// Regex for å matche e-postadresser
private val emailRegex = "[a-zA-Z0-9_+.%-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,6}".toRegex()
// Regex for å matche tall med 3 eller flere sifre, med eller uten mellomrom eller bindestrek
p... | 0 | Kotlin | 1 | 0 | e696df6377f43da351889d7b08a74ee02ce21260 | 578 | rekrutteringsbistand-stilling-api | MIT License |
src/main/java/com/bukowiecki/regdebug/parsers/ParseUtils.kt | marcin-bukowiecki | 383,270,835 | false | null | /*
* Copyright 2021 Marcin Bukowiecki.
* Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
*/
package com.bukowiecki.regdebug.parsers
import com.bukowiecki.regdebug.backend.BackendType
/**
* @author Marcin Bukowiecki
*/
object ParseUtils {
val registerLine... | 6 | Kotlin | 0 | 4 | ba35b58097684109d484a736fea9c1fcea77bdd0 | 2,073 | regdebug | Apache License 2.0 |
data/src/main/kotlin/io/zeebe/zeeqs/data/entity/WorkflowInstanceState.kt | strawhat5 | 293,994,673 | true | {"Kotlin": 75752, "Shell": 973} | package io.zeebe.zeeqs.data.entity
enum class WorkflowInstanceState {
ACTIVATED,
COMPLETED,
TERMINATED
} | 0 | Kotlin | 0 | 0 | 2a1f73ee486d3a8a9cdfa5b87a3081165374367b | 117 | zeeqs | Apache License 2.0 |
android/app/src/main/kotlin/com/uesless/kunai/kunai_game/MainActivity.kt | hzeyuan | 512,190,697 | false | null | package com.uesless.kunai.kunai_game
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 4 | 23 | 6562eea53bee27cc77ba303a8165a0c337b06a28 | 133 | flutter-flame-kunaiGame | MIT License |
src/main/kotlin/io/github/t3m8ch/minecraftbooblebesaba/MinecraftBoobleBesabaApplication.kt | t3m8ch | 517,310,074 | false | {"Kotlin": 7525, "HTML": 4742} | package io.github.t3m8ch.minecraftbooblebesaba
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
@SpringBootApplication
class MinecraftBoobleBesabaApplication
fun main(args: Array<String>) {
runApplication<MinecraftBoobleBesabaApplication>(*args)
}... | 0 | Kotlin | 0 | 0 | 9dd7778ad9ff0c0fd5d4fbd304e0f63d0b8d73ec | 321 | minecraft-booble-besaba | MIT License |
app/src/main/java/com/example/satu/utils/ApiError.kt | synrgy-satu | 829,466,485 | false | {"Kotlin": 221544} | package com.example.satu.utils
import com.example.common.Result
import com.example.satu.data.model.response.ErrorResponse
import com.google.gson.Gson
import com.google.gson.JsonSyntaxException
import retrofit2.HttpException
object ApiError{
fun handleHttpException(exception: HttpException): Result.Error {
... | 1 | Kotlin | 0 | 0 | f26cf59385a8112a8649b449d964cc50933ba568 | 1,097 | android-satu | Open Market License |
example/android/app/src/main/kotlin/info/marcussoftware/ms_persist/MainActivity.kt | Marcus-Software | 298,365,520 | false | {"Dart": 9734, "Swift": 404, "Kotlin": 135, "Objective-C": 38} | package info.marcussoftware.ms_persist
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 0 | 3 | 2ace8486470fd378aacd70017ba6ec6eabe29578 | 135 | ms_persist | MIT License |
Chapter02/Exercise2.01/app/src/main/java/com/example/chapter02/MainActivity.kt | buithehoa | 377,878,042 | false | null | package com.example.chapter02
import android.content.res.Configuration
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.os.PersistableBundle
import android.util.Log
class MainActivity : AppCompatActivity() {
companion object {
private const val TAG = "MainActivity"
... | 0 | Kotlin | 0 | 0 | 143ad10ad22d64224410bf13039163a874951365 | 1,620 | How-to-Build-Android-Apps-with-Kotlin | MIT License |
articles/src/main/kotlin/org/bastanchu/churiservices/articles/ArticlesApplication.kt | vellebue | 723,669,515 | false | {"Kotlin": 222568} | package org.bastanchu.churiservices.articles
import io.swagger.v3.oas.annotations.OpenAPIDefinition
import io.swagger.v3.oas.annotations.info.Info
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
@SpringBootApplication
@OpenAPIDefinition(info = Info(ti... | 0 | Kotlin | 0 | 0 | 0c5f47ae51faa216d0b19e9cf1827865fb5af059 | 576 | churiservices | Apache License 2.0 |
order/src/test/kotlin/zoret4/allaboutmoney/order/model/domain/factory/CustomerTestFactory.kt | fzoro | 161,671,479 | false | null | package zoret4.allaboutmoney.order.model.domain.factory
import zoret4.allaboutmoney.order.model.domain.Address
import zoret4.allaboutmoney.order.model.domain.Customer
import zoret4.allaboutmoney.order.model.domain.Phone
import zoret4.allaboutmoney.order.model.domain.TaxonomyType
import java.time.LocalDate
import java.... | 0 | Kotlin | 0 | 0 | ed6133ca5f7644614f8ccd3f4acb474443b8688c | 1,172 | allaboutmoney | MIT License |
i18n4k-core/src/commonMain/kotlin/de/comahe/i18n4k/messages/formatter/types/MessageSelectFormatter.kt | comahe-de | 340,499,429 | false | null | package de.comahe.i18n4k.messages.formatter.types
import de.comahe.i18n4k.Locale
import de.comahe.i18n4k.messages.formatter.MessageValueFormatter
import de.comahe.i18n4k.messages.formatter.parsing.MessageFormatContext
import de.comahe.i18n4k.messages.formatter.parsing.MessagePart
import de.comahe.i18n4k.messages.forma... | 7 | null | 8 | 64 | 25675aefe4fb399ffda96d1e53bf6ca36e3f1a02 | 4,698 | i18n4k | Apache License 2.0 |
idea/testData/codeInsight/outOfBlock/InPropertyAccessorWithInference.kt | chirino | 3,596,099 | true | null | // TRUE
val test : Int
get() = <caret>12 | 0 | Java | 28 | 71 | ac434d48525a0e5b57c66b9f61b388ccf3d898b5 | 44 | kotlin | Apache License 2.0 |
src/test/kotlin/eZmaxApi/models/EzsigntemplatepackagesignermembershipCreateObjectV1ResponseMPayloadTest.kt | eZmaxinc | 271,950,932 | false | {"Kotlin": 6909939} | /**
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit this file manually.
*
*/
@file:Suppress(
"ArrayInDataClass",
"EnumEntryName",
"RemoveRedundantQualifierName",
"UnusedImport"
)
package eZmaxApi.models
import io.kotlintest.sh... | 0 | Kotlin | 0 | 0 | 961c97a9f13f3df7986ea7ba55052874183047ab | 1,294 | eZmax-SDK-kotlin | MIT License |
core-db/src/main/java/io/novafoundation/nova/core_db/migrations/2_3_AssetTypes.kt | novasamatech | 415,834,480 | false | null | package io.novafoundation.nova.core_db.migrations
import androidx.room.migration.Migration
import androidx.sqlite.db.SupportSQLiteDatabase
val AssetTypes_2_3 = object : Migration(2, 3) {
override fun migrate(database: SupportSQLiteDatabase) {
database.execSQL("ALTER TABLE chain_assets ADD COLUMN type TEX... | 19 | null | 5 | 9 | 651db6927cdc6ff89448c83d451c84bda937e9fc | 525 | nova-wallet-android | Apache License 2.0 |
mineinabyss-components/src/main/kotlin/com/mineinabyss/components/npc/orthbanking/OrthCoin.kt | MineInAbyss | 115,279,675 | false | {"Kotlin": 394266} | package com.mineinabyss.components.npc.orthbanking
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
@SerialName("mineinabyss:orthcoin")
class OrthCoin
| 11 | Kotlin | 27 | 99 | 35b12abf13867de5a00acfc4804b1797751b842e | 201 | MineInAbyss | MIT License |
solar/src/main/java/com/chiksmedina/solar/bold/videoaudiosound/Muted.kt | CMFerrer | 689,442,321 | false | {"Kotlin": 36591890} | package com.chiksmedina.solar.bold.videoaudiosound
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap... | 0 | Kotlin | 0 | 0 | 3414a20650d644afac2581ad87a8525971222678 | 4,785 | SolarIconSetAndroid | MIT License |
kotlin-csstype/src/main/generated/csstype/CompositeStyle.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:Suppress(
"NAME_CONTAINS_ILLEGAL_CHARS",
)
package csstype
// language=JavaScript
@JsName("""({clear: 'clear', copy: 'copy', destinationAtop: 'destination-atop', destinationIn: 'destination-in', destinationOut: 'destination-out', destinationOver: 'destination-ove... | 12 | null | 145 | 983 | a99345a0160a80a7a90bf1adfbfdc83a31a18dd6 | 661 | kotlin-wrappers | Apache License 2.0 |
buffer-generator/src/main/kotlin/org/openrs2/buffer/generator/GenerateBufferCommand.kt | openrs2 | 315,027,372 | false | null | package org.openrs2.buffer.generator
import com.github.ajalt.clikt.core.CliktCommand
import java.nio.file.Files
import java.nio.file.Path
public fun main(args: Array<String>): Unit = GenerateBufferCommand().main(args)
public class GenerateBufferCommand : CliktCommand(name = "generate-buffer") {
override fun run(... | 56 | null | 2 | 8 | 12eba96055ba13e8a8e3ec0ad3be7d93b3dd5b1b | 552 | openrs2 | ISC License |
app/src/main/java/com/bth/reciperadar/presentation/screens/recipe/DietaryInfoAccordion.kt | BryanAafjes | 718,555,578 | false | {"Kotlin": 284496} | package com.bth.reciperadar.presentation.screens.recipe
import com.bth.reciperadar.presentation.viewmodels.DietaryInfoViewModel
import androidx.compose.foundation.background
import androidx.compose.foundation.border
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Box
import andro... | 0 | Kotlin | 0 | 0 | 11429360ecb43755e63a586653402eac40fe1c11 | 2,717 | RecipeRadar | MIT License |
sample/src/test/kotlin/com/natura/android/sample/tokens/ColorsActivityAvonTest.kt | natura-cosmeticos | 221,710,026 | false | {"Kotlin": 575810, "Shell": 8430, "Makefile": 1675, "Ruby": 1565} | package com.natura.android.sample.tokens
import android.content.Context
import android.content.Intent
import android.graphics.Color
import android.graphics.drawable.ColorDrawable
import android.widget.TextView
import androidx.constraintlayout.widget.ConstraintLayout
import androidx.test.core.app.ActivityScenario
impor... | 4 | Kotlin | 9 | 51 | 7f221232d7dd8ca2088a7e582528f38925773529 | 14,301 | natds-android | ISC License |
features/dd-sdk-android-session-replay/src/main/kotlin/com/datadog/android/sessionreplay/internal/recorder/SnapshotProducer.kt | DataDog | 219,536,756 | false | {"Kotlin": 9121111, "Java": 1179237, "C": 79303, "Shell": 63055, "C++": 32351, "Python": 5556, "CMake": 2000} | /*
* 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.datadog.android.sessionreplay.internal.recorder
import a... | 44 | Kotlin | 60 | 151 | d7e640cf6440ab150c2bbfbac261e09b27e258f4 | 5,850 | dd-sdk-android | Apache License 2.0 |
app/src/main/java/app/spidy/orbexample/activities/MainActivity.kt | okbash | 374,162,204 | false | null | package app.spidy.orbexample.activities
import android.os.Bundle
import sh.fearless.orb.OrbActivity
import app.spidy.orbexample.R
import app.spidy.orbexample.databinding.ActivityMainBinding
class MainActivity : OrbActivity() {
private lateinit var binding: ActivityMainBinding
override fun onCreate(savedInsta... | 0 | Kotlin | 0 | 0 | c060cc2b5d1e0f85e45b733c6cd1b22e9a40707a | 758 | orb | MIT License |
implementation/src/test/kotlin/io/github/tomplum/aoc/forest/satellite/rule/MatchRuleTest.kt | TomPlum | 317,142,882 | false | null | package io.github.tomplum.aoc.forest.satellite.rule
import assertk.assertThat
import assertk.assertions.isFalse
import assertk.assertions.isTrue
import io.github.tomplum.aoc.forest.satellite.Message
import org.junit.jupiter.api.Test
class MatchRuleTest {
@Test
fun isMatch() {
assertThat(MatchRule('a')... | 1 | Kotlin | 0 | 0 | 73b3eacb7cb8a7382f8891d3866eda983b6ea7a9 | 475 | advent-of-code-2020 | Apache License 2.0 |
usvm-jvm/src/test/kotlin/org/usvm/samples/objects/TestVector2D.kt | UnitTestBot | 586,907,774 | false | {"Kotlin": 2623144, "Java": 476836} | package org.usvm.samples.objects
import org.junit.jupiter.api.Test
import org.usvm.samples.JavaMethodTestRunner
import org.usvm.test.util.checkers.ignoreNumberOfAnalysisResults
class TestVector2D : JavaMethodTestRunner() {
@Test
fun `Test isPerpendicularTo`() {
checkDiscoveredPropertiesWithExceptions(... | 36 | Kotlin | 4 | 9 | 819268c3c77c05d798891be826164bbede63fdfb | 1,082 | usvm | Apache License 2.0 |
src/test/kotlin/io/i101/microservice/ddd/MainApplicationIntegrationTests.kt | thanhtrdang | 107,002,378 | false | null | package io.i101.microservice.ddd
import io.i101.microservice.ddd.interfaces.Endpoint.namespace
import io.i101.microservice.ddd.interfaces.Endpoint.ping_find
import io.i101.microservice.ddd.interfaces.Endpoint.ping_ping
import io.i101.microservice.ddd.interfaces.Endpoint.ping_store
import io.restassured.RestAssured
imp... | 0 | Kotlin | 0 | 0 | fadae012331204f0f60e723c05ab15ac619bc880 | 1,696 | ddd-microservice | MIT License |
app/src/main/java/xyz/tberghuis/floatingtimer/screens/ScreenType.kt | tberghuis | 500,632,576 | false | {"Kotlin": 183666, "Ruby": 955} | package xyz.tberghuis.floatingtimer.screens
sealed interface ScreenType
data object ScreenTypeCountdown : ScreenType
data object ScreenTypeStopwatch : ScreenType
data object ScreenTypeClock : ScreenType | 22 | Kotlin | 6 | 78 | c6f792d5b7a339a93a88511421b5f72ea5053df6 | 203 | FloatingCountdownTimer | MIT License |
features/settings/src/main/java/com/chesire/nekome/app/settings/config/ui/ViewAction.kt | Chesire | 223,272,337 | false | {"Kotlin": 740322, "Ruby": 1682} | package com.chesire.nekome.app.settings.config.ui
import com.chesire.nekome.core.flags.UserSeriesStatus
import com.chesire.nekome.core.preferences.flags.HomeScreenOptions
import com.chesire.nekome.core.preferences.flags.ImageQuality
import com.chesire.nekome.core.preferences.flags.Theme
import com.chesire.nekome.core.... | 24 | Kotlin | 42 | 471 | 191def4011f659972951d3766bfb4e5af4076ab1 | 1,327 | Nekome | Apache License 2.0 |
app/src/main/java/app/eluvio/wallet/screens/envselect/EnvSelect.kt | eluv-io | 719,801,077 | false | {"Kotlin": 415234, "Java": 22753} | package app.eluvio.wallet.screens.envselect
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foun... | 8 | Kotlin | 1 | 0 | 6188d89f9ebe1ce12e2c7b6af9d9c6956d106968 | 7,175 | elv-wallet-android | MIT License |
android/src/main/java/com/reactnativecustomtimernotification/CustomTimerNotificationPackage.kt | nilavanraj | 487,344,705 | false | {"Kotlin": 31463, "Java": 6407, "JavaScript": 3948, "Objective-C": 3579, "TypeScript": 2726, "Ruby": 1260, "Swift": 340, "Shell": 149, "C": 103} | package com.reactnativecustomtimernotification
import com.facebook.react.ReactPackage
import com.facebook.react.bridge.NativeModule
import com.facebook.react.bridge.ReactApplicationContext
import com.facebook.react.uimanager.ViewManager
class CustomTimerNotificationPackage : ReactPackage {
override fun createNat... | 2 | Kotlin | 3 | 5 | a31c1b77a1333955642f4000e4e02c8941f02cd1 | 722 | react-native-custom-timer-notification | MIT License |
src/main/kotlin/no/nav/yrkesskade/ysmeldingapi/mockserver/MockEnhetsregisterServer.kt | navikt | 412,037,037 | false | {"Kotlin": 138456, "Dockerfile": 221} | package no.nav.yrkesskade.ysmeldingapi.mockserver
import com.github.tomakehurst.wiremock.WireMockServer
import com.github.tomakehurst.wiremock.client.WireMock
import com.github.tomakehurst.wiremock.core.WireMockConfiguration
import com.github.tomakehurst.wiremock.extension.responsetemplating.ResponseTemplateTransforme... | 3 | Kotlin | 0 | 0 | 405f2840f4557dd46ee97f853ccee625c8cc905b | 3,635 | yrkesskade-melding-api | MIT License |
app/src/main/java/com/gaohui/nestedrecyclerview/bean/CategoryBean.kt | TokenYc | 237,999,943 | false | null | package com.gaohui.nestedrecyclerview.bean
class CategoryBean {
var tabTitleList = ArrayList<String>()
} | 0 | Kotlin | 1 | 0 | 40ca5663f93bd275bc5903750ab4772bd3672bbf | 109 | NestedRecyclerView | Apache License 2.0 |
app/src/main/java/com/cmf/userslist/MainActivity.kt | CristianFanjul | 451,215,919 | false | null | package com.cmf.userslist
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import dagger.hilt.android.AndroidEntryPoint
@AndroidEntryPoint
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
set... | 0 | Kotlin | 0 | 0 | ab149412c16ff8467d6820cfe9cd5b4669813ac0 | 522 | users-list | Apache License 2.0 |
app/src/test/kotlin/hr/algebra/domace/domain/validation/refresh-token-validation-tests.kt | karlobratko | 793,157,929 | false | {"Kotlin": 396835} | package hr.algebra.domace.domain.validation
import arrow.core.nonEmptyListOf
import hr.algebra.domace.domain.SecurityError.InvalidRefreshTokenStatus
import hr.algebra.domace.domain.SecurityError.TokenExpired
import hr.algebra.domace.domain.kotest.instant
import hr.algebra.domace.domain.model.RefreshToken
import hr.alg... | 0 | Kotlin | 0 | 0 | 085007340832bc6f1143af18d580f8702bed9c59 | 2,822 | domace | MIT License |
app/src/main/java/com/isu/covidvolunteer/ui/order/DatePickerFragment.kt | kirilltobola | 468,032,969 | false | null | package com.isu.covidvolunteer.ui.order
import android.app.DatePickerDialog
import android.app.Dialog
import android.os.Bundle
import android.util.Log
import android.widget.DatePicker
import androidx.core.os.bundleOf
import androidx.fragment.app.DialogFragment
import androidx.fragment.app.setFragmentResult
import java... | 0 | Kotlin | 0 | 0 | e726c259974cb7f2b9819dfa19a046ab84539883 | 1,311 | covid-volunteer | MIT License |
material-web/src/jsMain/kotlin/material/web/common/MdElement.kt | CharLEE-X | 762,328,281 | false | {"Kotlin": 145688} | package material.web.common
import androidx.compose.runtime.Composable
import org.jetbrains.compose.web.attributes.AttrsScope
import org.jetbrains.compose.web.css.StyleScope
import org.jetbrains.compose.web.dom.ElementBuilder
import org.jetbrains.compose.web.dom.ElementScope
import org.jetbrains.compose.web.dom.TagEle... | 0 | Kotlin | 0 | 0 | 1c0964e37ad6a75229acfdcb5a79816bdeb8bb6b | 1,032 | MaterialWeb-ComposeHtml | Apache License 2.0 |
app/src/main/java/com/vipulasri/jetinstagram/ui/components/TabData.kt | Dani-boy-07 | 862,365,090 | false | {"Kotlin": 70039} | package com.vipulasri.jetinstagram.ui.components
import androidx.compose.ui.graphics.vector.ImageVector
data class TabData(var title: String, var icon: ImageVector) | 0 | Kotlin | 0 | 0 | 692957aa1c3e0699fe293559d018983b9bfc37ac | 166 | Daniel_Instagram | Apache License 2.0 |
music/player/src/main/kotlin/dev/schlaubi/mikmusic/innerttube/InnerTubeBox.kt | DRSchlaubi | 409,332,765 | false | {"Kotlin": 340065, "Java": 5426, "Dockerfile": 201, "Shell": 197, "PowerShell": 96} | package dev.schlaubi.mikmusic.innerttube
import kotlinx.serialization.Serializable
@Serializable
data class InnerTubeBox<T>(val contents: List<T> = emptyList())
@Serializable
data class InnerTubeSingleBox<T>(val contents: T)
| 16 | Kotlin | 12 | 36 | b55964735b109ae3e4dba4f34621bbabaf256e1b | 229 | mikbot | MIT License |
ktor-client/ktor-client-core/common/src/io/ktor/client/engine/HttpClientEngineCapability.kt | LouisCAD | 293,843,627 | true | {"Kotlin": 4581040, "JavaScript": 775, "HTML": 165} | /*
* Copyright 2014-2019 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
package io.ktor.client.engine
import io.ktor.client.features.*
import io.ktor.util.*
import kotlin.native.concurrent.*
/**
* Key required to access capabilities.
*/
@KtorExperimentalAPI
@S... | 0 | null | 0 | 1 | 76cb0b2453f5983ff21c38f1c0c8ee517ec2385e | 794 | ktor | Apache License 2.0 |
beacon-sdk/src/main/kotlin/ch/allianceswisspass/beaconsdk/scanner/altbeacon/AltBeaconBeaconScannerConfig.kt | SchweizerischeBundesbahnen | 795,434,542 | false | {"Kotlin": 155349} | package ch.allianceswisspass.beaconsdk.scanner.altbeacon
import android.app.Notification
import ch.allianceswisspass.beaconsdk.scanner.BeaconType
import ch.allianceswisspass.beaconsdk.scanner.altbeacon.eddystone.eid.EddystoneEidMapper
import ch.allianceswisspass.beaconsdk.scanner.altbeacon.eddystone.eid.EddystoneEidPa... | 1 | Kotlin | 0 | 1 | e33094266988110fc0674b2331f915fbb13e2d6d | 2,475 | beacon-sdk-android | MIT License |
src/commonMain/kotlin/org/daiv/persister/objectrelational/ListObjectMapper.kt | henry1986 | 325,808,911 | false | null | package org.daiv.persister.objectrelational
class ListObjectReader<E>(
private val keyMapper: ObjectRelationalReader<*>,
private val keys: List<ReadEntryTask>,
private val elementMapper: ObjectRelationalReader<E>
) : ObjectRelationalReader<List<E>> {
override fun read(readCollection: ReadCollection): ... | 0 | Kotlin | 0 | 0 | 4cc3696d448564865ad7e8d6d0475d5a646a4916 | 3,367 | kpersistence | Apache License 2.0 |
demo/src/commonMain/kotlin/com/tunjid/mutator/demo/sections/6_Conflicts.kt | tunjid | 404,729,892 | false | null | /*
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 0 | null | 7 | 42 | 0c94b699a3324f69488caa3847c59c26e314b421 | 3,733 | Mutator | Apache License 2.0 |
src/main/kotlin/by/dev/madhead/devnotifier/creator/ChangeCreator.kt | yylat | 116,559,147 | false | null | package by.dev.madhead.devnotifier.creator
import by.dev.madhead.devnotifier.model.Author
import by.dev.madhead.devnotifier.model.Change
import by.dev.madhead.devnotifier.model.ChangeSet
import by.dev.madhead.devnotifier.util.findJenkinsUserAddressById
import hudson.AbortException
import hudson.FilePath
import hudson.... | 3 | Kotlin | 3 | 2 | 10a55fbd917f5ce6de8c8d470847062950cab92a | 2,131 | dev-notifier | Apache License 2.0 |
src/main/kotlin/com/kn/diagrams/generator/actions/GenerateStructureDiagramAction.kt | apfau87 | 334,905,051 | true | {"Kotlin": 154715, "Java": 38338} | package com.kn.diagrams.generator.actions
import com.intellij.openapi.project.Project
import com.intellij.psi.PsiClass
import com.kn.diagrams.generator.config.StructureConfiguration
import com.kn.diagrams.generator.generator.StructureDiagramGenerator
import com.kn.diagrams.generator.settings.ConfigurationDefaults
cl... | 0 | Kotlin | 1 | 0 | 717cb054effd2a823bf4c4d7a5442781c3bfd41d | 1,030 | plantuml-generation-intellij-plugin | Apache License 2.0 |
app/src/main/java/com/pallaw/topnews/data/repository/ArticleDataSource.kt | pallaw | 262,886,952 | false | null | package com.pallaw.topnews.data.repository
import android.util.Log
import androidx.lifecycle.MutableLiveData
import androidx.paging.PageKeyedDataSource
import com.pallaw.topnews.data.model.resourse.Article
import com.pallaw.topnews.data.remote.ApiService
import com.pallaw.topnews.di.NetworkModule.FIRST_PAGE
import com... | 0 | Kotlin | 0 | 0 | 1d063317767531e7af7f93bceb1ee511c216e444 | 2,921 | Top-News | MIT License |
app/src/main/java/com/silkysys/umco/data/local/UserDao.kt | AhmedZaki918 | 466,545,857 | false | {"Kotlin": 192147} | package com.silkysys.umco.data.local
import androidx.room.*
import com.silkysys.umco.data.model.auth.login.Data
@Dao
interface UserDao {
@Insert(onConflict = OnConflictStrategy.REPLACE)
suspend fun addUser(data: Data)
@Query("SELECT * FROM User")
suspend fun getUser(): Data
@Query("DELETE FROM ... | 0 | Kotlin | 0 | 2 | d038e4ad8fce32b3d1a86c4d50a94bbcf5680f79 | 357 | E-commerce | The Unlicense |
src/main/kotlin/no/nav/helseidnavtest/oppslag/arbeid/ArbeidConfig.kt | navikt | 754,033,318 | false | {"Kotlin": 162614, "HTML": 1340} | package no.nav.helseidnavtest.oppslag.arbeid
import no.nav.helseidnavtest.oppslag.AbstractRestConfig
import no.nav.helseidnavtest.oppslag.arbeid.ArbeidConfig.Companion.ARBEID
import org.springframework.boot.context.properties.ConfigurationProperties
import org.springframework.boot.convert.PeriodFormat
import org.sprin... | 3 | Kotlin | 0 | 0 | d3f9c8ac60dba3817cf12ea247390537ceefc6c7 | 1,739 | helseid-nav-test | MIT License |
util/src/test/kotlin/net/octyl/backup/util/UnixPathTest.kt | octylFractal | 238,106,361 | false | null | /*
* This file is part of backup-secretary, licensed under the MIT License (MIT).
*
* Copyright (c) <NAME> <https://octyl.net>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to d... | 0 | Kotlin | 0 | 0 | 17def53fe66f0da310e4a507816d9a723fe6440b | 5,988 | backup-secretary | MIT License |
braintrust-java-core/src/test/kotlin/com/braintrustdata/api/models/UserRetrieveParamsTest.kt | braintrustdata | 752,086,100 | false | {"Kotlin": 3335628, "Shell": 3637, "Dockerfile": 366} | // File generated from our OpenAPI spec by Stainless.
package com.braintrustdata.api.models
import com.braintrustdata.api.models.*
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Test
class UserRetrieveParamsTest {
@Test
fun createUserRetrieveParams() {
UserRetrievePar... | 4 | Kotlin | 0 | 2 | 6a9a3611cd4560cbdf71ff0e995c8be582740a9b | 809 | braintrust-java | Apache License 2.0 |
app/src/main/java/com/androidapp/navweiandroidv2/di/module/NetModule.kt | serifenuruysal | 239,270,875 | false | null | package com.androidapp.navweiandroidv2.di.module
import com.androidapp.data.api.NavweiApi
import dagger.Module
import dagger.Provides
import okhttp3.OkHttpClient
import okhttp3.logging.HttpLoggingInterceptor
import retrofit2.Retrofit
import retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory
import retrofit2.converter... | 0 | Kotlin | 0 | 1 | c94d333807951bd9d81ee70488d676a6961b9fa5 | 1,229 | Navwei-Android-App | MIT License |
src/main/kotlin/com/neo/mvp/template/MyBundle.kt | NeoPi | 374,520,293 | false | null | package com.neo.mvp.template
import com.intellij.AbstractBundle
import org.jetbrains.annotations.NonNls
import org.jetbrains.annotations.PropertyKey
/**
* @Author Neo
* @Date 2021/6/7
* @Env Viicare-Neo
* @Description MyBundle
*/
@NonNls
private const val BUNDLE = "messages.MyBundle"
object MyBundle ... | 0 | Kotlin | 2 | 2 | 908d260fa4510e4ab1ea8be3a7ae027d625c3c28 | 707 | Android-MVP-Template | Apache License 2.0 |
app/src/main/java/com/saitawngpha/cryptocurrencyapp/domain/model/CoinDetail.kt | saitawngpha | 732,560,667 | false | {"Kotlin": 35136} | package com.saitawngpha.cryptocurrencyapp.domain.model
import com.saitawngpha.cryptocurrencyapp.data.remote.dto.CoinDetailDto.TeamMember
/**
* @Author: ၸၢႆးတွင်ႉၾႃႉ
* @Date: 14/12/2023.
*/
data class CoinDetail(
val coinId: String,
val name: String,
val description: String,
val symbol: String,
... | 0 | Kotlin | 0 | 0 | a9f2731accc50562a1ff2365ca2ee629bf2c7b4f | 423 | CryptoApp | MIT License |
protocol/osrs-225/osrs-225-desktop/src/main/kotlin/net/rsprot/protocol/game/outgoing/codec/zone/payload/MapProjAnimEncoder.kt | blurite | 771,753,685 | false | {"Kotlin": 8753620} | package net.rsprot.protocol.game.outgoing.codec.zone.payload
import net.rsprot.buffer.JagByteBuf
import net.rsprot.protocol.ServerProt
import net.rsprot.protocol.common.game.outgoing.codec.zone.payload.ZoneProtEncoder
import net.rsprot.protocol.game.outgoing.prot.GameServerProt
import net.rsprot.protocol.game.outgoing... | 3 | Kotlin | 5 | 27 | 8ef83edfa87cc3b412c315c10e4626c2821fe6f3 | 1,358 | rsprot | MIT License |
meccano-transport-nio/src/main/kotlin/com/gastonlagaf/meccano/transport/nio/http/request/DefaultHttpRequestChunkCollector.kt | gastonlagaf | 241,596,102 | true | {"Kotlin": 164175, "FreeMarker": 528} | package com.gastonlagaf.meccano.transport.nio.http.request
import com.gastonlagaf.meccano.api.WrappedHttpRequest
import com.gastonlagaf.meccano.api.internal.HttpRequestParser
import com.gastonlagaf.meccano.api.internal.RawHttpRequest
import com.gastonlagaf.meccano.transport.nio.context.DefaultWrappedHttpRequest
import... | 0 | Kotlin | 0 | 0 | 40be8e3ba49fa67867c768cf64dc4c1b56ebfd8c | 3,181 | meccano | Apache License 2.0 |
experimental/examples/imageviewer/shared/src/desktopMain/kotlin/example/imageviewer/plarfom.desktop.kt | huanshankeji | 457,268,239 | true | {"Kotlin": 1957282, "Shell": 28859, "Swift": 9854, "Dockerfile": 3991, "HTML": 3090, "JavaScript": 2714, "PowerShell": 1708, "Groovy": 1415, "Ruby": 1039, "CSS": 324} | package example.imageviewer
import androidx.compose.ui.Modifier
actual fun Modifier.notchPadding(): Modifier = this
| 0 | Kotlin | 0 | 0 | 4cf574cc34c54ee268fe8fbc59b6994a29560b4f | 118 | compose-multiplatform | Apache License 2.0 |
android/app/src/main/kotlin/com/example/visualization_demo/MainActivity.kt | HazyFish | 332,522,926 | false | {"Dart": 7411, "Swift": 404, "Kotlin": 135, "Objective-C": 38} | package com.example.visualization_demo
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 0 | 0 | 3e905b819e7c81d2690339e5d5308eba10245f4f | 135 | visualization-demo-flutter | MIT License |
cortex-symbolic/src/main/kotlin/com/hileco/cortex/symbolic/instructions/debug/NOOP.kt | SkPhilipp | 303,748,538 | false | {"Kotlin": 331330, "Solidity": 7723, "Shell": 1440, "Dockerfile": 879} | package com.hileco.cortex.symbolic.instructions.debug
import com.hileco.cortex.symbolic.instructions.Instruction
class NOOP : Instruction() | 0 | Kotlin | 2 | 7 | 5e45e4a3659d4fd7167ae31a58bee7785a869993 | 141 | cortex | MIT License |
app/src/main/java/com/ramiyon/soulmath/data/worker/StudentXpWorker.kt | KylixEza | 482,724,913 | false | {"Kotlin": 253697} | package com.ramiyon.soulmath.data.worker
import android.content.Context
import androidx.work.CoroutineWorker
import androidx.work.WorkerParameters
import com.ramiyon.soulmath.data.source.local.LocalDataSource
import com.ramiyon.soulmath.data.source.remote.RemoteDataSource
import com.ramiyon.soulmath.data.util.LocalAns... | 0 | Kotlin | 0 | 0 | 7f7106b6bee4f09da9b1395a441d9f5b2b9a6da7 | 1,260 | SoulMath | Apache License 2.0 |
src/commonMain/kotlin/com/jeffpdavidson/kotwords/formats/unidecode/xd4.kt | jpd236 | 143,651,464 | false | {"Kotlin": 4427197, "HTML": 41941, "Rouge": 3731, "Perl": 1705, "Shell": 744, "JavaScript": 618} | package com.jeffpdavidson.kotwords.formats.unidecode
internal val xd4 = arrayOf(
// 0xd400: 퐀 => poss
"\u0070\u006f\u0073\u0073",
// 0xd401: 퐁 => pong
"\u0070\u006f\u006e\u0067",
// 0xd402: 퐂 => poj
"\u0070\u006f\u006a",
// 0xd403: 퐃 => poc
"\u0070\u006f\u0063",
// 0xd404: 퐄 => pok
... | 8 | Kotlin | 6 | 25 | e18e9cf0bad7497da15b40f6c81ba4234ec83917 | 15,649 | kotwords | Apache License 2.0 |
android/src/main/kotlin/com/alexv525/mlkit_scan_plugin/Extension.kt | fluttercandies | 473,654,763 | false | null | package com.alexv525.mlkit_scan_plugin
import android.content.Context
import android.util.DisplayMetrics
import android.util.Size
import android.util.TypedValue
import android.view.WindowManager
import com.google.mlkit.vision.barcode.BarcodeScanner
import com.google.mlkit.vision.barcode.BarcodeScannerOptions
import co... | 0 | Kotlin | 1 | 16 | 3665c0eaf7fc2cfe7a68ab9f7a7e5415c225fd2a | 2,177 | flutter_mlkit_scan_plugin | Apache License 2.0 |
feather/src/commonMain/kotlin/compose/icons/feathericons/Bluetooth.kt | DevSrSouza | 311,134,756 | false | {"Kotlin": 36719092} | package compose.icons.feathericons
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Round
import androidx.compose.ui.graphics.StrokeJoin
import androidx.com... | 17 | Kotlin | 25 | 571 | a660e5f3033e3222e3553f5a6e888b7054aed8cd | 1,496 | compose-icons | MIT License |
mobile_client/app/src/main/java/epitech/area/Storages/AServerResponse.kt | julian-ladjani | 175,260,051 | false | {"JavaScript": 161829, "TypeScript": 96392, "Kotlin": 95555, "HTML": 26515, "CSS": 18119, "Dockerfile": 396} | package epitech.area.Storages
abstract class AServerResponse(
val success: Boolean = false,
val message: String = "") | 0 | JavaScript | 3 | 0 | 87dac18130dac75c4c457c58d4e52b6330a20b8d | 134 | Area | Apache License 2.0 |
app/src/main/java/com/example/helloeveryone/MainActivity.kt | MarlonPrado | 773,396,326 | false | {"Kotlin": 6109} | package com.example.helloeveryone
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material3.MaterialTheme
import androidx.compose.m... | 1 | Kotlin | 0 | 0 | 7dd337c13fc9bf666054e03e9776f3ff51cd6526 | 1,600 | LifeList-App | Freetype Project License |
app/src/main/java/com/example/iom/MainActivity.kt | obscure-star | 708,266,932 | false | {"Kotlin": 5833} | package com.example.iom
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.text.Editable
import android.util.Log
import android.widget.Button
import android.widget.EditText
import androidx.recyclerview.widget.DividerItemDecoration
import androidx.recyclerview.widget.LinearLayoutMan... | 0 | Kotlin | 0 | 0 | 86e6cebfec93a9531d326e2b0577b151036b0fd6 | 2,539 | IoM | Apache License 2.0 |
src/main/kotlin/com/ginsberg/advent2022/Day13.kt | tginsberg | 568,158,721 | false | {"Kotlin": 113322} | /*
* Copyright (c) 2022 by <NAME>
*/
/**
* Advent of Code 2022, Day 13 - Distress Signal
* Problem Description: http://adventofcode.com/2022/day/13
* Blog Post/Commentary: https://todd.ginsberg.com/post/advent-of-code/2022/day13/
*/
package com.ginsberg.advent2022
class Day13(input: List<String>) {
private... | 0 | Kotlin | 2 | 26 | 2cd87bdb95b431e2c358ffaac65b472ab756515e | 2,528 | advent-2022-kotlin | Apache License 2.0 |
app/src/main/java/com/example/searchbin/presentation/utils/UiUtil.kt | alexeyoss | 592,378,768 | false | null | package com.example.searchbin.presentation.utils
import android.content.Context
import android.view.View
import android.view.inputmethod.InputMethodManager
import androidx.appcompat.app.AppCompatActivity
import androidx.fragment.app.Fragment
import com.example.searchbin.R
object UiUtil {
fun hideKeyBoard(view: V... | 0 | Kotlin | 0 | 0 | b32c85b74d2ff9f87683e2c18694ba0c9f96bc32 | 1,008 | search_bin | Apache License 2.0 |
app/src/main/java/com/toremetal/signsfree/network/SignsPhoto.kt | Toremetal | 640,168,751 | false | null | /*
* ™T©ReMeTaL Signs A-Z.
* Copyright (C) 2022 ™T©ReMeTaL.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Some functionality created with modified (code) lessons provided by:
* The Android Open Source Pro... | 0 | Kotlin | 0 | 1 | 96a6e4f73124c58ad19429703322136ad3a2fcf4 | 2,029 | Signs-free | Apache License 2.0 |
app/src/main/java/com/engin/swiftreader/common/util/KeyConstants.kt | enginemre | 720,951,163 | false | {"Kotlin": 64672} | package com.engin.swiftreader.common.util
object KeyConstants {
const val LOGIN = "login"
// INTENT KEYS
const val GG_SIGNUP="signUp"
} | 0 | Kotlin | 0 | 0 | 72bdadf799af6e877b2a1b30be99235340d9c38c | 149 | SwiftReader | Apache License 2.0 |
app/src/main/java/com/simplecrud/client/presentation/views/MainActivity.kt | keppra | 510,439,516 | false | {"Kotlin": 122424, "Java": 33124} | package com.simplecrud.client.presentation.views
import android.os.Bundle
import androidx.navigation.fragment.NavHostFragment
import androidx.navigation.ui.setupWithNavController
import com.google.android.material.bottomnavigation.BottomNavigationView
import com.simplecrud.base.presentation.BaseActivity
import com.sim... | 0 | Kotlin | 0 | 0 | 67a6468860c57593e219f3942e1341198023b6e1 | 1,163 | simple-crud | MIT License |
app/src/main/java/com/hardiksachan/counterapptest/MainActivity.kt | GDSCNITD | 541,541,496 | false | {"Kotlin": 7180} | package com.hardiksachan.counterapptest
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material.MaterialTheme
import androidx.compose.material.Surface
import androidx.compose.m... | 0 | Kotlin | 0 | 1 | c8654cfd8a32881f40f2b6a181f938c35699c6d9 | 786 | Counter-App | MIT License |
app/src/main/java/com/example/prework/MainActivity.kt | SrimanCode | 718,741,340 | false | {"Kotlin": 1611} |
package com.example.prework
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.Button
import android.widget.Toast
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setConte... | 0 | Kotlin | 0 | 0 | 1a4a5760c58d81922d5a75a95ddff9929dccd772 | 603 | Prework_Android_Studio | Apache License 2.0 |
mySampleListView/app/src/main/java/com/example/mysamplelistview/MainActivity.kt | Momijinn | 600,449,225 | false | null | package com.example.mysamplelistview
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)
supportFr... | 0 | Kotlin | 0 | 0 | 427ec89afb4226f9f7628ce11987eac408e49c45 | 437 | mySampleAndroidListViewDataBinding | MIT License |
src/main/kotlin/com/simiacryptus/util/index/WordTokenFile.kt | SimiaCryptus | 737,271,270 | false | {"Kotlin": 55797} | package com.simiacryptus.util.index
import com.simiacryptus.util.files.ByteIndex
import java.io.File
import java.nio.ByteBuffer
import java.nio.charset.Charset
class WordTokenFile(
file: File,
charsetName: String = "UTF-8",
val maxCharSize: Int = 8
) : TokenFile(file) {
private val charset = Charset.forName(c... | 0 | Kotlin | 0 | 0 | dbde9e683596478e2136e1a409370cee3f0af625 | 2,980 | DataGnome | Apache License 2.0 |
Mobile/app/src/main/java/com/example/hideandseek/data/repository/UserRepository.kt | p2hacks2022 | 575,784,174 | false | {"Kotlin": 35414, "Vue": 15137, "Go": 13383, "JavaScript": 2280, "HTML": 1742, "Dockerfile": 1133, "Shell": 502} | package com.example.hideandseek.data.repository
import android.content.Context
import com.example.hideandseek.data.datasource.local.User
import com.example.hideandseek.data.datasource.local.UserDao
import com.example.hideandseek.data.datasource.local.UserRoomDatabase
import kotlinx.coroutines.flow.Flow
class UserRepo... | 27 | Kotlin | 1 | 5 | 970379f0e5710e88952c34417001e99fad5944ad | 766 | post-team05 | MIT License |
app/src/main/java/com/geekysingh/core/architecture/data/usecase/TodoUseCase.kt | GeekySingh | 226,114,702 | false | null | package com.geekysingh.core.architecture.data.usecase
import com.geekysingh.core.architecture.data.mapper.TodoApiResponseMapper
import com.geekysingh.core.architecture.data.model.TodoModel
import com.geekysingh.core.architecture.data.repository.TodoRepository
import com.geekysingh.core.architecture.domain.remote.respo... | 0 | Kotlin | 7 | 7 | 0a3a916a11c68160358f3a2d8fc358022f7e38a9 | 792 | Android-Kotlin-Mvvm-Dagger-Retrofit | Apache License 2.0 |
util/measure/src/main/kotlin/de/gleex/pltcmd/util/measure/area/AreaUnit.kt | Baret | 227,677,538 | false | {"Kotlin": 771077} | package de.gleex.pltcmd.util.measure.area
enum class AreaUnit(internal val factorToSquareMeters: Int) {
squareMeters(1),
squareKilometers(1_000_000);
fun inSquareMeters(amount: Double): Double = amount * factorToSquareMeters
} | 47 | Kotlin | 0 | 4 | a76de4af242b5c1dd3b578d1797cbb753c3fc160 | 240 | pltcmd | MIT License |
server/src/main/kotlin/org/jetbrains/bsp/bazel/server/bsp/managers/StructuredFilesUtils.kt | JetBrains | 288,953,714 | false | {"Kotlin": 920058, "Starlark": 109072, "Java": 14369, "Python": 2573, "Scala": 1783, "Rust": 680, "C++": 100} | package org.jetbrains.bsp.bazel.server.bsp.managers
import com.google.gson.JsonArray
import com.google.gson.JsonElement
import com.google.gson.JsonObject
import com.google.gson.JsonParser
import com.google.gson.JsonPrimitive
import org.apache.logging.log4j.Logger
import org.w3c.dom.Document
import org.xml.sax.InputSou... | 6 | Kotlin | 47 | 163 | fa0c6062d99aee3becabb178f6ab1b97ca113bdf | 1,482 | bazel-bsp | Apache License 2.0 |
src/main/kotlin/log/LogData.kt | jskako | 686,469,615 | false | {"Kotlin": 160737, "VBScript": 410, "Batchfile": 108} | package log
import java.util.UUID
data class LogData(
val uuid: UUID = UUID.randomUUID(),
val time: String,
val log: String,
val level: LogLevel,
val isSelected: Boolean = false
) {
override fun toString(): String {
return buildString {
appendLine("$level - $time")
... | 7 | Kotlin | 1 | 16 | 19b7dff7ef4725bc0c327b2d2321139c5c6e47cf | 357 | DroidSense | Apache License 2.0 |
app/src/main/java/studios/eaemenkk/overtracker/viewmodel/HeroViewModel.kt | eaemenkkstudios | 255,763,539 | false | null | package studios.eaemenkk.overtracker.viewmodel
import android.app.Application
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.MutableLiveData
import studios.eaemenkk.overtracker.domain.Hero
import studios.eaemenkk.overtracker.domain.HeroDetails
import studios.eaemenkk.overtracker.domain.UserLocati... | 0 | Kotlin | 0 | 1 | 468b8e48e3ee642fdba7d21dedc67556d6c74f40 | 1,428 | overtracker-mobile | MIT License |
app/src/main/java/com/namaka/CountingScore/SplashScreen.kt | TynClause | 320,008,734 | false | null | package com.namaka.CountingScore
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.os.Handler
import android.view.WindowManager
class SplashScreen : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate... | 0 | Kotlin | 0 | 2 | 6f7005434749ec12238f1e624e38179aecaa302d | 554 | CountingScore-App | Apache License 2.0 |
library/src/main/kotlin/graph/Graph.kt | spbu-coding-2023 | 792,472,343 | false | {"Kotlin": 239924, "Shell": 384} | package graph
import graph.configuration.GraphConfiguration
/**
* Common interface for all graphs
*/
interface Graph<V, E> {
/**
* Adds vertex to the graph if not present
*/
fun addVertex(v: V): Boolean
/**
* Adds Edge between tail and head to the graph if not present
*/
fun ad... | 2 | Kotlin | 0 | 0 | b57a0da78a1303417bee51bb5751c67aac14f0aa | 2,661 | graphs-1-1 | MIT License |
src/commonMain/kotlin/fr/acinq/lightning/channel/states/LegacyWaitForFundingConfirmed.kt | ACINQ | 243,326,972 | false | null | package fr.acinq.lightning.channel.states
import fr.acinq.bitcoin.ScriptFlags
import fr.acinq.bitcoin.Transaction
import fr.acinq.bitcoin.utils.Either
import fr.acinq.bitcoin.utils.Try
import fr.acinq.bitcoin.utils.runTrying
import fr.acinq.lightning.ShortChannelId
import fr.acinq.lightning.blockchain.WatchEventConfir... | 41 | null | 24 | 94 | f3ba1412206f57c3f9c2e9066ecd10bed35824f9 | 5,213 | lightning-kmp | Apache License 2.0 |
common/src/main/kotlin/br/com/jonathanarodr/playmovie/common/states/StateObserver.kt | jonathanarodr | 136,104,400 | false | null | package br.com.jonathanarodr.playmovie.common.states
import androidx.lifecycle.LifecycleOwner
import androidx.lifecycle.LiveData
inline fun <T> LiveData<UiState<T>>.observeOnSuccess(
owner: LifecycleOwner,
crossinline handler: (T) -> Unit,
): LiveData<UiState<T>> {
observe(owner) {
if (it is UiSta... | 22 | Kotlin | 0 | 3 | 5e08b6dc5e9bb04fb97c22517eacca9607e8c5a9 | 1,452 | playmovie | MIT License |
src/generated/kotlin/net/highteq/cylab/awssdk/dynamodb/kotlin/dsl/model/RecordCollectionDSL.kt | cylab | 258,882,001 | false | null | /*
This file was generated from https://github.com/aws/aws-sdk-java-v2 by https://github.com/cylab/aws-kotlin-dsl-builder
Like the original code, this file and project is licensed under
Apache License Version 2.0
See LICENSE.txt for more info
*/
@file:Suppress("DEPRECATION", "NOTHING_TO_INLINE")
package net.hig... | 0 | Kotlin | 0 | 4 | b3f40e013e78f363794f7671a43de88983280bb9 | 2,125 | awssdk-dynamodb-kotlin-dsl | Apache License 2.0 |
rubik/rubik_plugins/src/main/java/com/rubik/plugins/extension/RubikConfigExtension.kt | baidu | 504,447,693 | false | {"Kotlin": 433310, "Java": 28663} | package com.lego.plugins.extension
import com.ktnail.x.Logger
import com.lego.plugins.basic.LogTags
import com.lego.plugins.basic.exception.LegoMultipleComponentDefinedException
import com.lego.plugins.basic.utility.p
import com.lego.plugins.extension.context.ContextExtension
import com.lego.plugins.extension.global.G... | 3 | Kotlin | 7 | 152 | d9f5c39f7892733c5501928dc3464fa3444d3c80 | 4,898 | Rubik | Apache License 2.0 |
relive-simulator-core/src/commonMain/kotlin/xyz/qwewqa/relive/simulator/core/presets/memoir/generated/equip4000073.kt | qwewqa | 390,928,568 | false | null | package xyz.qwewqa.relive.simulator.core.presets.memoir.generated
import xyz.qwewqa.relive.simulator.core.stage.actor.StatData
import xyz.qwewqa.relive.simulator.core.stage.autoskill.EffectTag
import xyz.qwewqa.relive.simulator.core.stage.dress.ActParameters
import xyz.qwewqa.relive.simulator.core.stage.memoir.CutinBl... | 0 | null | 11 | 7 | 70e1cfaee4c2b5ab4deff33b0e4fd5001c016b74 | 813 | relight | MIT License |
client_taxi_driver/shared/src/commonMain/kotlin/data/remote/gateway/BaseRemoteGateway.kt | TheChance101 | 671,967,732 | false | {"Kotlin": 2473455, "Ruby": 8872, "HTML": 6083, "Swift": 4726, "JavaScript": 3082, "CSS": 1436, "Dockerfile": 1407, "Shell": 1140} | package data.remote.gateway
import data.remote.model.BaseResponse
import domain.InternetException
import domain.InvalidPasswordException
import domain.InvalidUserNameException
import domain.NoInternetException
import domain.UnknownErrorException
import io.ktor.client.HttpClient
import io.ktor.client.call.body
import i... | 4 | Kotlin | 55 | 572 | 1d2e72ba7def605529213ac771cd85cbab832241 | 1,892 | beep-beep | Apache License 2.0 |
app/src/main/java/donank/amoveowallet/Repositories/CryptoRepository.kt | donank | 132,558,435 | false | null | package donank.amoveowallet.Repositories
import android.util.Log
import donank.amoveowallet.Data.AppPref
import donank.amoveowallet.Utility.serialize
import org.spongycastle.asn1.ASN1Integer
import org.spongycastle.asn1.DERSequenceGenerator
import org.spongycastle.asn1.sec.SECNamedCurves
import org.spongycastle.crypto... | 1 | Kotlin | 3 | 5 | 462cae593c48e08287dce34819dd6de0aa060e1c | 9,946 | amoveo-android-wallet | MIT License |
kotlin-antd/src/main/kotlin/antd/checkbox/Group.kt | xlj44400 | 248,655,590 | true | {"Kotlin": 1516065, "HTML": 1503} | package antd.checkbox
import react.*
external val groupContext: RContext<CheckboxGroupContext?>
external interface CheckboxGroupContext {
var name: String?
var toggleOption: ((option: CheckboxOptionType) -> Unit)?
var value: Any?
var disabled: Boolean?
var registerValue: (value: String) -> Unit
... | 0 | Kotlin | 0 | 0 | ce8216c0332abdfefcc0a06cf5fbbbf24e669931 | 1,225 | kotlin-js-wrappers | Apache License 2.0 |
gradle-plugin/src/main/kotlin/io/telereso/kmp/TeleresoKmpExtension.kt | telereso | 588,403,597 | false | null | /*
* MIT License
*
* Copyright (c) 2023 Telereso
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify,... | 1 | Kotlin | 0 | 0 | 840a4cbfa33f44eb99fa6d2a0ed860ddd783a1ed | 1,972 | kmp-annotations | MIT License |
src/main/kotlin/lab/mars/rl/algo/func_approx/prediction/n-step semi-gradient TD.kt | wumo | 108,533,441 | false | null | @file:Suppress("NAME_SHADOWING")
package lab.mars.rl.algo.func_approx.prediction
import lab.mars.rl.algo.ntd.MAX_N
import lab.mars.rl.model.*
import lab.mars.rl.util.buf.newBuf
import lab.mars.rl.util.log.debug
import lab.mars.rl.util.math.Σ
import lab.mars.rl.util.matrix.times
import org.apache.commons.math3.util.Fa... | 1 | Kotlin | 10 | 33 | d419efccdca9a7f34b7805929b41651b172a3ee7 | 1,608 | Reinforcement-Learning-An-Introduction | MIT License |
client/core/analytics/src/androidMain/kotlin/com/oztechan/ccc/client/core/analytics/AnalyticsManagerImpl.kt | Oztechan | 102,633,334 | false | {"Kotlin": 570658, "Swift": 92672, "Ruby": 4456, "HTML": 526} | package com.oztechan.ccc.client.core.analytics
import android.content.Context
import com.google.firebase.analytics.FirebaseAnalytics
import com.google.firebase.analytics.ktx.analytics
import com.google.firebase.analytics.ktx.logEvent
import com.google.firebase.ktx.Firebase
import com.oztechan.ccc.client.core.analytics... | 33 | Kotlin | 26 | 285 | 591811b5c81656bef8fb9fcfa14c4601b5c691d4 | 1,487 | CCC | Apache License 2.0 |
core/src/main/java/com/example/core/repoLayer/repository/NoteRepository.kt | devrath | 289,302,496 | false | null | package com.example.core.repoLayer.repository
import com.example.core.data.Note
import com.example.core.repoLayer.dataSource.NoteDataSource
class NoteRepository(private val dataSource: NoteDataSource) {
suspend fun addNote(note : Note) = dataSource.add(note)
suspend fun getNote(id : Long) = dataSource.get(id)... | 0 | Kotlin | 0 | 0 | e61475cba05efdc7f038d5269d17cc2982dc5fb0 | 439 | DroidNoteApplication | Apache License 2.0 |
gallery/src/main/java/org/futo/circles/gallery/feature/backup/service/MediaBackupServiceManager.kt | circles-project | 615,347,618 | false | {"Kotlin": 1307644, "C": 137821, "C++": 12364, "Shell": 3202, "CMake": 1680, "Ruby": 922} | package org.futo.circles.gallery.feature.backup.service
import android.content.ComponentName
import android.content.Context
import android.content.ServiceConnection
import android.os.IBinder
import androidx.work.Constraints
import androidx.work.ExistingPeriodicWorkPolicy
import androidx.work.NetworkType
import android... | 8 | Kotlin | 4 | 29 | 7edec708f9c491a7b6f139fc2f2aa3e2b7149112 | 2,757 | circles-android | Apache License 2.0 |
gallery/src/main/java/org/futo/circles/gallery/feature/backup/service/MediaBackupServiceManager.kt | circles-project | 615,347,618 | false | {"Kotlin": 1307644, "C": 137821, "C++": 12364, "Shell": 3202, "CMake": 1680, "Ruby": 922} | package org.futo.circles.gallery.feature.backup.service
import android.content.ComponentName
import android.content.Context
import android.content.ServiceConnection
import android.os.IBinder
import androidx.work.Constraints
import androidx.work.ExistingPeriodicWorkPolicy
import androidx.work.NetworkType
import android... | 8 | Kotlin | 4 | 29 | 7edec708f9c491a7b6f139fc2f2aa3e2b7149112 | 2,757 | circles-android | Apache License 2.0 |
objectOrientedLesson/src/main/java/licuadora/Velocidad.kt | ariannysOronoz | 603,181,296 | false | null | package licuadora
enum class Velocidad {
LENTA,
MEDIA,
ALTA
}
| 0 | Kotlin | 0 | 0 | a779f54a7ca7db9e377e2b911a101daaababf84c | 75 | tutorialKotlin | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.