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/sedsoftware/yaptalker/presentation/feature/search/SearchRequest.kt | djkovrik | 98,050,611 | false | {"Gradle": 7, "Shell": 1, "Text": 1, "Ignore List": 5, "Batchfile": 1, "Markdown": 6, "Proguard": 14, "XML": 201, "Kotlin": 418, "Java Properties": 1, "JSON": 2, "Java": 2, "CSS": 1, "INI": 1, "YAML": 1} | package com.sedsoftware.yaptalker.presentation.feature.search
import android.annotation.SuppressLint
import android.os.Parcelable
import com.sedsoftware.yaptalker.presentation.feature.search.options.SearchConditions
import com.sedsoftware.yaptalker.presentation.feature.search.options.SortingMode
import com.sedsoftware... | 0 | Kotlin | 4 | 9 | 465c34c3dc0dd0488b637073fddf6cd797e78613 | 864 | YapTalker | Apache License 2.0 |
adoptopenjdk-api-v3-frontend/src/test/kotlin/net/adoptopenjdk/api/ReleaseNamesPathTest.kt | xunanmu | 280,589,423 | true | {"Kotlin": 409616, "HTML": 1846, "Shell": 1234, "CSS": 992, "Dockerfile": 655} | package net.adoptopenjdk.api
import io.quarkus.test.junit.QuarkusTest
import io.restassured.RestAssured
import org.junit.jupiter.api.BeforeAll
import org.junit.jupiter.api.Test
@QuarkusTest
class ReleaseNamesPathTest : BaseTest() {
companion object {
@JvmStatic
@BeforeAll
fun before() {
... | 0 | Kotlin | 0 | 0 | fc6204c8b5ca7ab0560629321a2d107bb2d83ef5 | 1,676 | openjdk-api-v3 | Apache License 2.0 |
ui-app/src/androidMain/kotlin/com/alexvanyo/composelife/ui/app/component/EdgeToEdgeModalBottomSheet.kt | alexvanyo | 375,146,193 | false | null | /*
* Copyright 2024 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | 43 | null | 11 | 99 | 64595b8d36c559a70ca52d578069fe4df8d170c7 | 30,865 | composelife | Apache License 2.0 |
zircon.core/src/commonMain/kotlin/org/hexworks/zircon/api/component/Fragment.kt | Hexworks | 94,116,947 | false | {"Kotlin": 1614685, "Shell": 64} | package org.hexworks.zircon.api.component
/**
* A [Fragment] is a reusable container for a [Component]. This [Component]
* can be accessed by [root].
*
* A [Fragment] usually contains view logic that works with the controls that are
* present in [root].
*
* @sample org.hexworks.zircon.samples.ConfirmButton
*/
... | 42 | Kotlin | 138 | 738 | 55a0ccc19a3f1b80aecd5f1fbe859db94ba9c0c6 | 433 | zircon | Apache License 2.0 |
modules/fathom/src/main/kotlin/silentorb/mythic/fathom/surfacing/Utility.kt | silentorb | 227,508,449 | false | null | package silentorb.mythic.fathom.surfacing
import silentorb.mythic.spatial.Vector3
import silentorb.mythic.spatial.Vector3i
import silentorb.mythic.spatial.toVector3
fun isInsideBounds(bounds: DecimalBounds, position: Vector3) =
position.x >= bounds.start.x &&
position.y >= bounds.start.y &&
positi... | 0 | Kotlin | 0 | 2 | 74462fcba9e7805dddec1bfcb3431665df7d0dee | 1,794 | mythic-kotlin | MIT License |
src/main/kotlin/org/xpathqs/core/selector/selector/SelectorModificationExtensions.kt | xpathqs | 363,898,788 | false | null | /*
* Copyright (c) 2021 XPATH-QS
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, d... | 3 | null | 8 | 5 | 1dcbdf054cd9621090bedc511f37920e53b56514 | 1,854 | core | MIT License |
Controls/src/commonMain/kotlin/io/nacular/doodle/controls/panels/GridPanel.kt | nacular | 108,631,782 | false | null | package io.nacular.doodle.controls.panels
import io.nacular.doodle.controls.panels.SizingPolicy.OverlappingView
import io.nacular.doodle.core.Layout
import io.nacular.doodle.core.PositionableContainer
import io.nacular.doodle.core.View
import io.nacular.doodle.geometry.Rectangle
import io.nacular.doodle.geometry.Size
... | 3 | null | 12 | 273 | 40d6b729126013456b479702c7266a8dc902fe3c | 7,593 | doodle | MIT License |
server/src/main/kotlin/com/github/vatbub/matchmaking/server/WebsocketEndpoint.kt | vatbub | 162,929,659 | false | null | /*-
* #%L
* matchmaking.server
* %%
* Copyright (C) 2016 - 2019 <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
*
*... | 11 | Kotlin | 5 | 32 | 7ece6b79c6ea15dcf636851a61fde6dc6615188d | 6,835 | matchmaking | Apache License 2.0 |
core/src/main/java/com/abhat/core/model/ChildrenData.kt | AnirudhBhat | 257,323,871 | false | null | package com.abhat.core.model
import com.abhat.core.PointsFormatter
import com.squareup.moshi.Json
/**
* Created by Anirudh Uppunda on 04,May,2020
*/
data class ChildrenData(
var isGif: Boolean,
var gifLink: String?,
var indent: Int,
var shouldUseGlideForGif: Boolean = false,
var imageUrl: String... | 1 | null | 1 | 1 | 9036e653ed15d34241dcc5397efc687bae89328f | 2,310 | Reddit-client | Apache License 2.0 |
src/commonMain/kotlin/nl/astraeus/css/properties/TextTransform.kt | rnentjes | 413,056,107 | false | {"Kotlin": 117943} | package nl.astraeus.css.properties
class TextTransform(
value: String
) : CssProperty(value) {
companion object {
val none = TextTransform("none")
val capitalize = TextTransform("capitalize")
val uppercase = TextTransform("uppercase")
val lowercase = TextTransform("lowercase")
val initial = Te... | 0 | Kotlin | 0 | 0 | d2349c930846fec7a57c879cdacd931368dda965 | 393 | kotlin-css-generator | MIT License |
plugins/android-extensions/android-extensions-compiler/test/org/jetbrains/kotlin/android/synthetic/test/AbstractAndroidSyntheticPropertyDescriptorTest.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.android.synthetic.test
import org.jetbrains.kotlin.android.synthetic.res.AndroidPackageFragmentProviderExtension
import org.je... | 179 | null | 5706 | 48,889 | c46c3c26038158cf80a739431ac8807ac4bbbc0c | 2,602 | kotlin | Apache License 2.0 |
instrumentation-tests/src/androidTest/java/com/mapbox/navigation/instrumentation_tests/utils/assertions/RoadObject.kt | mapbox | 87,455,763 | false | {"Kotlin": 9692008, "Python": 65081, "Java": 36829, "HTML": 17811, "Makefile": 9840, "Shell": 7129} | package com.mapbox.navigation.instrumentation_tests.utils.assertions
import com.mapbox.navigation.base.trip.model.roadobject.RoadObject
fun RoadObject.compareIdWithIncidentId(incidentId: String): Boolean = id.contains(incidentId)
| 505 | Kotlin | 319 | 621 | ad73c6011348cb9b24b92a369024ca06f48845ab | 232 | mapbox-navigation-android | Apache License 2.0 |
app/src/main/java/com/flowfoundation/wallet/utils/image/SvgModel.kt | Outblock | 692,942,645 | false | {"Kotlin": 2429248, "Java": 104150} | package com.flowfoundation.wallet.utils.image
import android.graphics.drawable.PictureDrawable
import android.util.Base64
import com.bumptech.glide.Priority
import com.bumptech.glide.load.DataSource
import com.bumptech.glide.load.Options
import com.bumptech.glide.load.data.DataFetcher
import com.bumptech.glide.load.mo... | 62 | Kotlin | 5 | 0 | 8ad633b7bccc02ae6b3005ca3989379ed8fb248d | 2,177 | FRW-Android | Apache License 2.0 |
src/main/kotlin/ch/sourcemotion/vertx/redis/client/heimdall/impl/subscription/connection/RedisHeimdallSubscriptionConnection.kt | wem | 305,085,016 | false | {"Kotlin": 162547} | package ch.sourcemotion.vertx.redis.client.heimdall.impl.subscription.connection
import ch.sourcemotion.vertx.redis.client.heimdall.RedisHeimdallException
import ch.sourcemotion.vertx.redis.client.heimdall.RedisHeimdallException.Reason
import ch.sourcemotion.vertx.redis.client.heimdall.impl.connection.RedisHeimdallCon... | 2 | Kotlin | 0 | 1 | 158e21b9de1a03b5ac5f2c9ffe050b3d2aa55fc6 | 5,597 | vertx-redis-client-heimdall | MIT License |
net.akehurst.kotlinx/kotlinx-reflect/src/appleMain/kotlin/kotlinx/reflection.kt | dhakehurst | 189,049,817 | false | {"Kotlin": 177637} | /**
* Copyright (C) 2019 Dr. <NAME> (http://dr.david.h.akehurst.net)
*
* 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... | 0 | Kotlin | 0 | 1 | 0f29e96aa48d84efb1cd41ec469a68040b31ecc3 | 4,084 | net.akehurst.kotlinx | Apache License 2.0 |
app/src/main/java/com/example/android/roomwordssample/users/ListUsers.kt | JRivasL | 463,733,407 | false | null | package com.example.android.roomwordssample.users
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.Toast
import androidx.recyclerview.widget.LinearLayoutManager
import com.example.android.roomwordssample.R
import com.example.android.roomwordss... | 0 | Kotlin | 0 | 0 | 6e52e1c413cfc54f50eff8093c09a8a4a1418e50 | 2,457 | test | Apache License 2.0 |
compose_material3/src/main/java/dev/vengateshm/compose_material3/ComposeMaterial3Activity.kt | vengateshm | 670,054,614 | false | {"Kotlin": 2044992, "Java": 55066} | package dev.vengateshm.compose_material3
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.activity.enableEdgeToEdge
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material3.MaterialTheme
import androidx.compos... | 0 | Kotlin | 0 | 1 | 5c1898b8c48a5ceac6d6b78b4267e1bdce7f5e9a | 1,365 | Android-Kotlin-Jetpack-Compose-Practice | Apache License 2.0 |
kotlin/clock/src/test/kotlin/ClockEqualTest.kt | rhdeck | 280,610,618 | true | {"Kotlin": 253660, "Shell": 11713} | import org.junit.Ignore
import org.junit.Test
import kotlin.test.assertNotEquals
import kotlin.test.assertEquals
/*
* version: 1.0.1
*/
class ClockEqualTest {
@Ignore
@Test
fun clocksWithSameTimeAreEqual() {
assertEquals(Clock(15, 37), Clock(15, 37))
}
@Ignore
@Test
fun clocksAM... | 0 | Kotlin | 0 | 0 | fc51245f547e83c80fe28a455d0daa1590c9e06a | 2,045 | kotlin | MIT License |
notification-domain/src/test/kotlin/io/github/v1servicenotification/detail/DetailApiImplTest.kt | team-xquare | 443,712,278 | false | null | package io.github.v1servicenotification.detail
import io.github.v1servicenotification.category.Category
import io.github.v1servicenotification.category.exception.CategoryNotFoundException
import io.github.v1servicenotification.detail.exception.NotificationDetailNotFoundException
import io.github.v1servicenotification.... | 2 | Kotlin | 0 | 5 | 466638e6da06f10d961715ff670198cadc330ea6 | 7,852 | v1-service-notification | MIT License |
src/commonMain/kotlin/org/tix/integrations/github/rest/issue/Issue.kt | ncipollo | 336,920,234 | false | {"Kotlin": 601503} | package org.tix.integrations.github.rest.issue
import kotlinx.serialization.Serializable
import org.tix.integrations.github.rest.label.Label
import org.tix.integrations.github.rest.milestone.Milestone
import org.tix.integrations.github.rest.user.User
import org.tix.integrations.github.state.State
@Serializable
data c... | 8 | Kotlin | 0 | 3 | 02f87c827c1159af055f5afc5481afd45c013703 | 849 | tix-core | MIT License |
src/test/kotlin/com/MatteV02/exercises/strings/RemoveFirstLastKtTest.kt | MatteV02 | 717,394,176 | false | {"Kotlin": 55565} | package com.MatteV02.exercises.strings
import io.kotest.core.spec.style.FunSpec
import io.kotest.datatest.withData
import io.kotest.matchers.shouldBe
class RemoveFirstLastKtTest : FunSpec({
data class RemoveFirstLastInput(val string: String)
context("removeFirstLast") {
withData(
RemoveFi... | 0 | Kotlin | 0 | 1 | a246bf86805c321322a74d986b4ac450d597f846 | 882 | kotlin-core | The Unlicense |
twitter-tracking-data-evaluation/src/main/kotlin/de/alxgrk/data/plots/TimeSpentPerTweetPlot.kt | alxgrk | 292,949,219 | false | null | package de.alxgrk.data.plots
import de.alxgrk.data.Analyse
import de.alxgrk.data.Event
import de.alxgrk.data.Session
import de.alxgrk.data.UserId
import kscience.plotly.Plot
import kscience.plotly.Plotly
import kscience.plotly.layout
import kscience.plotly.models.AxisType
import kscience.plotly.models.Box
import kscie... | 0 | Kotlin | 0 | 1 | 2be0c0f2622dad12b4aa0bb502bbcb304242e3ea | 2,429 | twitter-tracking | Apache License 2.0 |
shared/src/commonMain/kotlin/ui/BirdsUiState.kt | alinbabu2010 | 677,614,271 | false | null | package ui
import data.model.BirdInfo
data class BirdsUiState(
val images: List<BirdInfo> = emptyList(),
val selectedCategory : String? = null
){
val categories = images.map { it.category }.toSet()
val selectedImages = images.filter { it.category == selectedCategory }
}
| 0 | Kotlin | 0 | 0 | 362d444652cdb7f3e20f7aba18af621d874d323c | 291 | BirdsApp | Apache License 2.0 |
Android/feature-dreams-api/src/main/java/ru/iandreyshev/featureDreamsApi/api/IDreamsRepository.kt | iandreyshev | 149,519,715 | false | {"Markdown": 3, "Batchfile": 2, "Ignore List": 16, "Gradle": 14, "Java Properties": 2, "Shell": 1, "Proguard": 12, "Java": 19, "XML": 67, "Kotlin": 176, "JSON": 5, "YAML": 2, "Microsoft Visual Studio Solution": 1, "C#": 35, "Dockerfile": 1, "SQL": 1} | package ru.iandreyshev.featureDreamsApi.api
import io.reactivex.Observable
import ru.iandreyshev.featureDreamsApi.domain.Dream
import ru.iandreyshev.featureDreamsApi.domain.DreamKey
import ru.iandreyshev.featureDreamsApi.domain.LoadDreamResult
interface IDreamsRepository {
val dreamsObservable: Observable<List<Dr... | 0 | Kotlin | 0 | 1 | 5791228f3d7568883058f414a7cbafff561d58d5 | 399 | Dreamland | MIT License |
simple-icons/src/commonMain/kotlin/compose/icons/simpleicons/Microgenetics.kt | DevSrSouza | 311,134,756 | false | null | package compose.icons.simpleicons
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter
impor... | 17 | null | 25 | 571 | a660e5f3033e3222e3553f5a6e888b7054aed8cd | 5,318 | compose-icons | MIT License |
android/src/main/java/com/amplitude/android/utilities/AndroidStorage.kt | amplitude | 448,411,338 | false | null | package com.amplitude.android.utilities
import android.content.Context
import android.content.SharedPreferences
import com.amplitude.common.Logger
import com.amplitude.core.Amplitude
import com.amplitude.core.Configuration
import com.amplitude.core.EventCallBack
import com.amplitude.core.Storage
import com.amplitude.c... | 9 | null | 8 | 27 | 6a8491006c94d4f617cb392e3e82afa32330e451 | 4,316 | Amplitude-Kotlin | MIT License |
alchemy-core/src/commonMain/kotlin/com/alchemy/sdk/core/adapter/KHexStringSerializer.kt | tguerin | 534,856,094 | false | null | package com.alchemy.sdk.core.adapter
import com.alchemy.sdk.util.HexString
import com.alchemy.sdk.util.HexString.Companion.hexString
import kotlinx.serialization.KSerializer
import kotlinx.serialization.descriptors.PrimitiveKind
import kotlinx.serialization.descriptors.PrimitiveSerialDescriptor
import kotlinx.serializ... | 4 | Kotlin | 0 | 3 | 9768a7ab07d9955e3036c32b1f4497527f237b34 | 842 | alchemy-sdk-kotlin | MIT License |
app/src/main/java/org/miaowo/miaowo/handler/ChatHandler.kt | luiqn2007 | 91,064,384 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "JSON": 1, "Java": 4, "XML": 53, "Kotlin": 66} | package org.miaowo.miaowo.handler
import android.app.Activity
import okhttp3.ResponseBody
import org.json.JSONObject
import org.miaowo.miaowo.API
import org.miaowo.miaowo.data.model.ChatModel
import org.miaowo.miaowo.other.ActivityHttpCallback
import retrofit2.Call
import retrofit2.Response
class ChatHandler(activity... | 1 | null | 1 | 1 | bea81deb7e755a47aa2dd7edd56fc17708231bee | 1,725 | miaowo | Apache License 2.0 |
src/uiTest/kotlin/com/github/gbrowser/fixture/IdeaFrame.kt | edgafner | 294,787,892 | false | null | @file:Suppress("JSUnresolvedReference", "BadExpressionStatementJS")
package com.github.gbrowser.fixture
import com.intellij.remoterobot.RemoteRobot
import com.intellij.remoterobot.data.RemoteComponent
import com.intellij.remoterobot.fixtures.*
import com.intellij.remoterobot.search.locators.byXpath
import com.intelli... | 9 | null | 18 | 75 | 743b15830ac0dafbed6d4ce7180d34be9458cf9f | 3,193 | GBrowser | Apache License 2.0 |
app/src/main/java/id/android/movie/di/ViewModelFactory.kt | budioktaviyan | 273,710,455 | false | null | package id.android.movie.di
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import javax.inject.Provider
@Suppress("UNCHECKED_CAST")
class ViewModelFactory(private val viewModels: MutableMap<Class<out ViewModel>, Provider<ViewModel>>) : ViewModelProvider.Factory {
override fun <T : ... | 0 | Kotlin | 0 | 1 | 86aa19703b10632eb64f5b19859477b92756dd2a | 402 | movie-compose | MIT License |
commons/src/commonMain/kotlin/org/jetbrains/letsPlot/commons/intern/typedGeometry/Transforms.kt | JetBrains | 176,771,727 | false | null | /*
* Copyright (c) 2021. JetBrains s.r.o.
* Use of this source code is governed by the MIT license that can be found in the LICENSE file.
*/
package jetbrains.datalore.base.typedGeometry
object Transforms {
private const val RESAMPLING_PRECISION = 0.001
fun <InT, OutT> transform(
bbox: Rect<InT>,
... | 97 | null | 51 | 889 | c5c66ceddc839bec79b041c06677a6ad5f54e416 | 1,908 | lets-plot | MIT License |
app/src/main/java/com/example/mynote/MainActivity.kt | lmkha | 833,570,456 | false | {"Kotlin": 66242} | package com.example.mynote
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.activity.enableEdgeToEdge
import com.example.mynote.ui.theme.MyNoteTheme
import dagger.hilt.android.AndroidEntryPoint
@AndroidEntryPoint
class MainActivity : Compo... | 0 | Kotlin | 0 | 0 | 0de484ed028a9fc6cf0ea9d81b13670f81e0c2fc | 571 | my-note | MIT License |
app/src/main/java/br/com/salosoftwares/mobile/studentsituation/MainActivity.kt | sjbatista | 388,260,104 | false | null | package br.com.salosoftwares.mobile.studentsituation
import android.annotation.SuppressLint
import android.graphics.Color
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import kotlinx.android.synthetic.main.activity_main.*
import java.lang.Exception
class MainActivity... | 0 | Kotlin | 0 | 0 | dce2cc2ccd44ad550536b51e2fc67b2b0d05c9e5 | 1,560 | StudentSituation | MIT License |
src/app/src/main/java/heartRateMonitor/viewmodel/LogDataViewModel.kt | lukasmoers | 773,583,661 | false | {"Kotlin": 105910} | package heartRateMonitor.viewmodel
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import heartRateMonitor.data.entities.LogData
import heartRateMonitor.data.repository.LogDataRepository
import dagger.hilt.android.lifecycle.HiltViewModel
import kotlinx.coroutines.Dispatchers
import kotlinx... | 0 | Kotlin | 0 | 0 | bff5e1c9b1a1e2665007f17acb839a8ccb3c2106 | 829 | HeartRateMonitor | MIT License |
android/libraries/rib-base/src/main/java/com/badoo/ribs/core/routing/action/CompositeRoutingAction.kt | ramzesrodriguez | 196,456,514 | true | {"Swift": 402146, "Kotlin": 359452, "Java": 118312, "Shell": 2571, "Ruby": 1955, "Objective-C": 814} | package com.badoo.ribs.core.routing.action
import com.badoo.ribs.core.routing.backstack.NodeDescriptor
import com.badoo.ribs.core.view.RibView
class CompositeRoutingAction< V : RibView>(
private vararg val routingActions: RoutingAction<V>
) : RoutingAction<V> {
constructor(routingActions: List<RoutingAction<... | 0 | Swift | 0 | 0 | f3361951f587a22e83cb20cdfcac0325efb9b5f5 | 880 | RIBs | Apache License 2.0 |
compiler/fir/analysis-tests/testData/resolveWithStdlib/callableReferences/companions.kt | JetBrains | 3,432,266 | false | null | // FILE: JavaClass.java
public class JavaClass {
public static int bar(String x) { return 0; }
public int bar(CharSequence x) { return 0; }
}
// FILE: main.kt
class KotlinClass : JavaClass() {
fun baz(x: CharSequence): Int = 1
companion object {
fun baz(x: String): Int = 1
}
}
class Kotli... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 953 | kotlin | Apache License 2.0 |
app/src/main/java/com/assignment/plantix/adapter/UsersListAdapter.kt | anjandebnath | 500,687,716 | false | null | package com.assignment.plantix.adapter
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.ListAdapter
import androidx.recyclerview.widget.RecyclerView
import com.assignment.plantix.databinding.ItemNamesBinding
import com.ass... | 0 | Kotlin | 0 | 0 | 026b6187a3071e586035ca7c4d1fb54e415ebed8 | 1,884 | Plantix | Apache License 2.0 |
src/main/kotlin/com/kreait/bots/agile/domain/common/actuator/Metrics.kt | kreait | 316,613,408 | false | null | package com.kreait.bots.agile.domain.common.actuator
import com.fasterxml.jackson.annotation.JsonProperty
data class Metrics(val workspaces: String, val members: String, val questions: String, val standups: String)
data class ArrayCount(
@JsonProperty("_id") val id: String = "",
@JsonProperty("coun... | 3 | Kotlin | 2 | 8 | 0b56e5b82eda60ed76f31dbdf8f57719b2d30acd | 344 | olaph-slack-app | MIT License |
src/main/kotlin/com/beust/kobalt/app/UpdateKobalt.kt | bmsantos | 48,676,304 | true | {"Markdown": 3, "Gradle": 4, "XML": 13, "Shell": 3, "Ignore List": 1, "Batchfile": 2, "Text": 1, "YAML": 1, "Kotlin": 165, "INI": 3, "Java Properties": 1, "Maven POM": 1, "Mustache": 1, "Java": 1} | package com.beust.kobalt.app
import com.beust.kobalt.misc.GithubApi
import com.beust.kobalt.misc.KobaltWrapperProperties
import com.beust.kobalt.wrapper.Main
import javax.inject.Inject
/**
* Update Kobalt to the latest version.
*/
public class UpdateKobalt @Inject constructor(val github: GithubApi, val wrapperPrope... | 0 | Kotlin | 0 | 0 | 3d6f0e4efba3cb83b71bbef352a6bf96af2f7023 | 734 | kobalt | Apache License 2.0 |
src/main/kotlin/com/pettcare/plugins/Cors.kt | antelukic | 810,253,774 | false | {"Kotlin": 75020, "Dockerfile": 300} | package com.pettcare.plugins
import io.ktor.http.*
import io.ktor.server.application.*
import io.ktor.server.plugins.cors.routing.*
fun Application.configureCors() {
install(CORS) {
anyHost()
allowMethod(HttpMethod.Options)
allowMethod(HttpMethod.Post)
allowMethod(HttpMethod.Get)
... | 0 | Kotlin | 0 | 0 | 7a7f370d3607511fa4dceacfdfd70dbe55fc4841 | 460 | PettCare-Server | Apache License 2.0 |
browser-kotlin/src/jsMain/kotlin/web/performance/PerformanceResourceTiming.kt | karakum-team | 393,199,102 | false | {"Kotlin": 6272741} | // Automatically generated - do not modify!
package web.performance
import js.array.ReadonlyArray
import js.core.JsLong
import web.time.DOMHighResTimeStamp
/**
* Enables retrieval and analysis of detailed network timing data regarding the loading of an application's resources. An application can use the timing metr... | 0 | Kotlin | 8 | 36 | 95b065622a9445caf058ad2581f4c91f9e2b0d91 | 3,902 | types-kotlin | Apache License 2.0 |
node-kotlin/src/jsMain/kotlin/node/fs/mkdtemp.kt | karakum-team | 393,199,102 | false | {"Kotlin": 7083457} | // Automatically generated - do not modify!
package node.fs
import js.promise.await
import node.buffer.Buffer
suspend fun mkdtemp(
prefix: String,
): String =
mkdtempAsync(
prefix = prefix,
).await()
suspend fun mkdtemp(
prefix: String,
options: node.buffer.BufferEncoding?, /* ObjectEnco... | 0 | Kotlin | 6 | 26 | 3ca49a8f44fc8b46e393ffe66fbd81f8b4943c18 | 622 | types-kotlin | Apache License 2.0 |
core/src/test/kotlin/in/specmatic/core/pattern/ConvertKtTest.kt | znsio | 247,710,440 | false | null | package `in`.specmatic.core.pattern
import org.junit.jupiter.api.Test
import `in`.specmatic.shouldMatch
import `in`.specmatic.shouldNotMatch
internal class ConvertKtTest {
@Test
fun `nullable number in string should be match either number in string or null`() {
val pattern = parsedPattern("""{"number"... | 46 | Kotlin | 32 | 92 | b3eb9b6e0f7d42bde35d95b83ea187cd1d6aa3bc | 486 | specmatic | MIT License |
app/src/androidTest/java/com/duckduckgo/app/location/ui/LocationPermissionsViewModelTest.kt | cmonfortep | 252,403,423 | true | {"Gemfile.lock": 1, "Git Config": 1, "Gradle": 44, "Shell": 6, "JSON": 159, "Markdown": 20, "Java Properties": 4, "Text": 28, "Ignore List": 40, "Batchfile": 1, "EditorConfig": 3, "XML": 779, "Ruby": 2, "Kotlin": 1519, "YAML": 15, "CMake": 1, "Proguard": 1, "HTML": 276, "JavaScript": 239, "C++": 1, "INI": 1, "Java": 8,... | /*
* Copyright (c) 2020 DuckDuckGo
*
* 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 ... | 5 | Kotlin | 649 | 3 | c03633f7faee192948e68c3897c526c323ee0f2e | 11,724 | Android | Apache License 2.0 |
app/src/main/java/me/qcuncle/nowinnews/domain/usecases/news/GetHotArticles.kt | QCuncle | 768,718,477 | false | {"Kotlin": 313407} | package me.qcuncle.nowinnews.domain.usecases.news
import kotlinx.coroutines.flow.Flow
import me.qcuncle.nowinnews.domain.model.SiteEntity
import me.qcuncle.nowinnews.domain.repository.NewsRepository
import javax.inject.Inject
class GetHotArticles @Inject constructor(
private val newsRepository: NewsRepository
) {... | 0 | Kotlin | 0 | 7 | 2105632328876c3c23349470c05a0b7cde226931 | 439 | nowinnews | Apache License 2.0 |
wear/wear-watchface/src/main/java/androidx/wear/watchface/WatchFaceHostApi.kt | RikkaW | 389,105,112 | false | null | /*
* Copyright 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 6 | null | 784 | 7 | 6d53f95e5d979366cf7935ad7f4f14f76a951ea5 | 5,917 | androidx | Apache License 2.0 |
beslider/src/main/java/app/beslider/com/utils/SliderType.kt | tunaiku | 130,059,557 | false | null | package app.beslider.com.utils
enum class SliderType (val type: Int) {
IMAGE(0);
fun value(): Int {
return type
}
} | 0 | Kotlin | 2 | 4 | 15fd83c1da2793f3e9b08efa83059aa436dcc3e7 | 136 | beslider | Apache License 2.0 |
src/main/kotlin/nu/peg/mobilion/mobilionapi/config/MobilionProperties.kt | jmesserli | 127,414,573 | false | null | package nu.peg.mobilion.mobilionapi.config
import org.springframework.boot.context.properties.ConfigurationProperties
@ConfigurationProperties(prefix = "mobilion")
class MobilionProperties {
var value: Double = 0.0
} | 0 | Kotlin | 0 | 0 | 2ccae2715a35e61a31d97278c6bbe138f4bac09d | 222 | mobilion-api | MIT License |
java/org/brotli/dec/kt/BrotliInputStream.kt | google | 24,993,138 | false | null | /* Copyright 2015 Google Inc. All Rights Reserved.
Distributed under MIT license.
See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
*/
package org.brotli.dec.kt
import java.io.IOException
import java.io.InputStream
/**
* [InputStream] decorator that decompresses brotli data.
*
* No... | 81 | null | 1239 | 13,546 | 664952333f675eb189b9d8dfefb1d33538cc41f6 | 3,886 | brotli | MIT License |
analyzer/src/main/kotlin/managers/Unmanaged.kt | enterstudio | 128,504,116 | true | {"Kotlin": 489933, "Shell": 1064} | /*
* Copyright (c) 2017-2018 HERE Europe B.V.
*
* 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... | 0 | Kotlin | 1 | 0 | 5b0ea0c292d1abfcef00b02250ae109cdebc6389 | 2,300 | oss-review-toolkit | Apache License 2.0 |
sample/src/main/java/com/fraggjkee/databindingadapter/User.kt | fraggjkee | 266,400,263 | false | null | package com.fraggjkee.databindingadapter
data class User(
val id: Long,
val firstName: String,
val lastName: String
)
val DEMO_USERS: List<User> =
listOf(
User(
1,
"Pyotr",
"Tchaikovsky"
),
User(2, "Richard", "Wagner"),
User(
... | 0 | Kotlin | 7 | 47 | de5cff33010925c8949fe14800de70bdba6f2696 | 463 | databinding-recycler-adapter | Apache License 2.0 |
kotlin-moment/moment-samples/src/main/kotlin/samples/MultipleLocale.kt | PCasafont | 284,043,514 | true | {"Kotlin": 1197947, "CSS": 29526, "HTML": 6470, "JavaScript": 980} | package samples
import moment.moment
import react.RBuilder
import react.dom.div
import react.dom.h2
import react.dom.span
fun RBuilder.multipleLocale() {
div("app-content") {
h2 { +"Multiple Locale Support" }
div("app-code-box") {
div("app-code") {
+"moment().locale()"
... | 0 | null | 0 | 0 | 29d81bd5e8d27b239550aaa9725d912a9a5768f4 | 1,738 | kotlin-js-wrappers | Apache License 2.0 |
buildSrc/src/main/kotlin/Configurations.kt | superhyp | 416,638,804 | true | {"Kotlin": 479483} | @file:Suppress("ClassName", "SpellCheckingInspection", "MemberVisibilityCanBePrivate", "SimpleDateFormat")
import java.text.SimpleDateFormat
import java.util.Date
object appConfig {
const val applicationId = "com.hoc.comicapp"
const val versionCode = 1
val versionName by lazy {
val x = versionCode / 10_000... | 0 | null | 0 | 0 | 4bec424b0db82cb0649564d9b4fb63b5c69b251d | 8,561 | ComicReaderApp_MVI_Coroutine_RxKotlin_Jetpack | MIT License |
kotlin-antd/src/main/kotlin/antd/select/SelectTypes.kt | xlj44400 | 248,655,590 | true | {"Kotlin": 1516065, "HTML": 1503} | package antd.select
import org.w3c.dom.*
typealias SelectValue = Any /* RawValue | Array<RawValue> | LabeledValue | Array<LabeledValue> */
typealias RenderDOMFunc = (props: Any) -> HTMLElement
typealias RenderNode = Any /* String | ReactElement | (props: Any) -> ReactElement */
typealias Mode = String /* "multiple" ... | 0 | Kotlin | 0 | 0 | ce8216c0332abdfefcc0a06cf5fbbbf24e669931 | 902 | kotlin-js-wrappers | Apache License 2.0 |
search-service/src/test/kotlin/com/egm/stellio/search/web/EntityAccessControlHandlerTests.kt | stellio-hub | 257,818,724 | false | {"Kotlin": 1680632, "Dockerfile": 2088, "Shell": 1825} | package com.egm.stellio.search.web
import arrow.core.left
import arrow.core.right
import com.egm.stellio.search.authorization.AuthorizationService
import com.egm.stellio.search.authorization.EntityAccessRights
import com.egm.stellio.search.authorization.EntityAccessRightsService
import com.egm.stellio.search.model.*
i... | 48 | Kotlin | 9 | 27 | a740e148f22e05c0add8b841fe976dccdb98cf59 | 31,537 | stellio-context-broker | Apache License 2.0 |
app/src/main/java/com/frogobox/appsdk/news/NewsViewHolder.kt | frogobox | 463,917,159 | false | null | package com.frogobox.appsdk.news
import androidx.recyclerview.widget.RecyclerView
import com.frogobox.appsdk.databinding.ItemNewsBinding
import com.frogobox.appsdk.model.Article
import com.frogobox.sdk.ext.glideLoad
import com.frogobox.sdk.ext.startActivityExt
/*
* Created by faisalamir on 11/04/22
* FrogoSDK
* -... | 0 | null | 5 | 17 | ce491ce972f14e3f97267f01e7768e1f0b7b6766 | 1,095 | frogo-sdk | Apache License 2.0 |
src/main/kotlin/com/kh/api/KakaoSkillHandler.kt | veluxer62 | 233,727,474 | false | null | package com.kh.api
import com.kh.api.request.ReservationParams
import com.kh.api.request.SearchTrainParams
import com.kh.api.request.SkillPayload
import com.kh.api.response.OutPuts
import com.kh.api.response.SkillResponse
import com.kh.api.response.basicCard.BasicCardTemplate
import com.kh.api.response.carousel.Carous... | 10 | Kotlin | 0 | 1 | 3bd1ac68b6a6dbf985a58712e067b77413a790c8 | 5,552 | occupying | Apache License 2.0 |
covpass-sdk/src/test/java/de/rki/covpass/sdk/cert/models/GroupedCertificateListTest.kt | Digitaler-Impfnachweis | 376,239,258 | false | null | /*
* (C) Copyright IBM Deutschland GmbH 2021
* (C) Copyright IBM Corp. 2021
*/
package de.rki.covpass.sdk.cert.models
import com.ensody.reactivestate.test.CoroutineTest
import de.rki.covpass.sdk.cert.BlacklistedEntityException
import de.rki.covpass.sdk.cert.QRCoder
import io.mockk.every
import io.mockk.mockk
impor... | 49 | null | 67 | 185 | 7301f1500dab4a686aa40341500667cf4cc54d1e | 24,990 | covpass-android | Apache License 2.0 |
lib_lesson_schedule/src/main/java/com/jaygee/lessonschedule/drawer/base/BreakDrawer.kt | kazarf007 | 607,975,760 | false | null | package com.jaygee.lessonschedule.drawer.base
import android.graphics.Canvas
import com.jaygee.lessonschedule.drawer.base.TableDrawer
import com.jaygee.lessonschedule.model.BreakLessonCell
/**
* create on 24/2/2023
**/
interface BreakDrawer : TableDrawer {
/**
* @param bl key 第几节课 value : 课间数组 最大size = 2... | 0 | Kotlin | 0 | 3 | 53944c1183083f4faf3a6f3a296ef5eb6a4c3735 | 518 | LessonSchedulePro | Apache License 2.0 |
android/src/main/java/com/reactnativeuserinterface/UserInterfaceModule.kt | a-eid | 446,807,589 | false | null | package com.reactnativeuserinterface
import com.facebook.react.bridge.ReactApplicationContext
import com.facebook.react.bridge.ReactContextBaseJavaModule
import com.facebook.react.bridge.ReactMethod
import com.facebook.react.bridge.Promise
import androidx.appcompat.app.AppCompatDelegate
import android.os.Handler
impo... | 0 | Kotlin | 0 | 0 | b490e960f0b9c21df3c25c092b8dc8fe7d9ad400 | 995 | react-native-user-interface | MIT License |
idea/tests/testData/mppCreationOfModulesAndServices/linuxX64/linuxX64.kt | JetBrains | 278,369,660 | false | null | class X64
actual typealias Shared = X64
fun test() {
takeCommon(X64())
}
| 1 | null | 30 | 82 | cc81d7505bc3e9ad503d706998ae8026c067e838 | 79 | intellij-kotlin | Apache License 2.0 |
app/src/test/java/com/shopapp/ui/custom/CreditCardFormatTextWatcherTest.kt | rubygarage | 105,554,295 | false | null | package com.shopapp.ui.custom
import android.widget.EditText
import org.junit.Assert.assertEquals
import org.junit.Test
import org.junit.runner.RunWith
import org.robolectric.RobolectricTestRunner
import org.robolectric.RuntimeEnvironment
import org.robolectric.annotation.Config
@RunWith(RobolectricTestRunner::class)... | 6 | Kotlin | 100 | 148 | 133b0060626a064b437683c3f0182d2bb3066bdb | 1,150 | shopapp-android | Apache License 2.0 |
app/src/main/java/com/example/c323_jada_mcdaniel_project1/MainActivity.kt | jadamcda | 689,007,966 | false | {"Kotlin": 5550} | package com.example.c323_jada_mcdaniel_project1
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import android.widget.Button
import android.widget.TextView
class MainActivity : AppCompatActivity() {
private var canAddOperation = false
private var canAddDecimal... | 0 | Kotlin | 0 | 0 | 676504bfb1e7ecd1e9695a60e4a9492479c8d708 | 4,482 | C323_Jada_McDaniel_Project1 | Apache License 2.0 |
crypto/src/main/kotlin/jetbrains/exodus/crypto/streamciphers/ChaChaStreamCipherProvider.kt | JetBrains | 19,271,154 | false | null | /**
* Copyright 2010 - 2019 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 a... | 1 | null | 98 | 968 | d5e06113824493412b1a253474cef4c98b6cb213 | 1,848 | xodus | Apache License 2.0 |
base/base-common-android/src/main/java/dev/dexsr/klio/android/base/systeminsets/compose/WindowInsetsPadding.kt | flammky | 462,795,948 | false | {"Kotlin": 5222947} | package dev.dexsr.klio.android.base.systeminsets.compose
import androidx.compose.foundation.layout.navigationBarsPadding
import androidx.compose.ui.Modifier
fun Modifier.systemNavigationBarsPadding(): Modifier = navigationBarsPadding()
| 0 | Kotlin | 6 | 56 | 2b8b4affab4306e351cfc8721c15a5bc7ecba908 | 239 | Music-Player | Apache License 2.0 |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/filled/TrafficLightGo.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.filled
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter
... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 3,500 | icons | MIT License |
src/main/kotlin/com/deanveloper/slak/User.kt | deanveloper | 52,887,481 | false | null | package com.deanveloper.slak
import com.deanveloper.slak.util.Cacher
import com.deanveloper.slak.util.ErrorHandler
import com.google.gson.JsonObject
import java.awt.Color
import java.net.URL
import java.util.*
import javax.imageio.ImageIO
/**
* Represents a slack user
*
* @author <NAME>
*/
class User private cons... | 23 | Kotlin | 0 | 8 | 256284d9b8fad4f236d63864d178b51984f12ae8 | 4,548 | SlaK | MIT License |
library/src/main/java/cloud/pace/sdk/poikit/utils/OSMKeys.kt | pace | 303,641,261 | false | null | package cloud.pace.sdk.poikit.utils
object OSMKeys {
// Keys to interpret values from OSRM.
const val OSM_ID = "id"
const val OSM_ORIGINAL_ID = "oi"
const val OSM_HOUSENUMBER = "hn"
const val OSM_STREET = "st"
const val OSM_ROAD1 = "r1"
const val OSM_ROAD2 = "r2"
const val OSM_ROAD3 = "... | 0 | Kotlin | 1 | 5 | c459c30690f3c2c480986312a3d837698ce028bc | 1,863 | cloud-sdk-android | MIT License |
waltid-libraries/auth/waltid-ktor-authnz/src/main/kotlin/id/walt/ktorauthnz/methods/config/OidcAuthConfiguration.kt | walt-id | 701,058,624 | false | {"Kotlin": 3448224, "Vue": 474904, "TypeScript": 129086, "Swift": 40383, "JavaScript": 18819, "Ruby": 15159, "Dockerfile": 13118, "Python": 3114, "Shell": 1783, "Objective-C": 388, "CSS": 345, "C": 104} | package id.walt.ktorauthnz.methods.config
import id.walt.ktorauthnz.methods.OIDC
import id.walt.ktorauthnz.methods.OIDC.resolveConfiguration
import kotlinx.coroutines.runBlocking
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
@SerialName("oidc-config")
data class OidcA... | 20 | Kotlin | 46 | 121 | 48c6b8cfef532e7e837db0bdb39ba64def985568 | 1,158 | waltid-identity | Apache License 2.0 |
apps/etterlatte-utbetaling/src/test/kotlin/no/nav/etterlatte/utbetaling/common/UtilsTest.kt | navikt | 417,041,535 | false | {"Kotlin": 5493385, "TypeScript": 1306859, "Handlebars": 21854, "Shell": 10666, "HTML": 1776, "Dockerfile": 718, "CSS": 598} | package no.nav.etterlatte.utbetaling.common
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Assertions.assertFalse
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.assertAll
import java.time.Clock
import java.time.Instant
import java.time.Month
import java.time.YearMonth... | 8 | Kotlin | 0 | 6 | cb2f66b3d6bef0ab72b82ca34a7f2e371ff4269c | 3,368 | pensjon-etterlatte-saksbehandling | MIT License |
2016/main/day_20/Main.kt | Bluesy1 | 572,214,020 | false | {"Kotlin": 94178, "Rust": 3942, "Shell": 999} | package day_20_2016
import java.io.File
fun part1(input: List<UIntRange>) {
var inputs = input.sortedBy { it.first }
var index: UInt = 0u
while (index < inputs.maxBy { it.last }.last) {
index = inputs[0].last + 1u
inputs = inputs.filter { it.last > index }
if (index < inputs[0].fir... | 0 | Kotlin | 0 | 0 | bf8afb46a67526894f84f572c61bfadd8d1c9f1d | 1,556 | AdventofCode | MIT License |
tools/explorer/src/main/kotlin/net/corda/explorer/formatters/PartyNameFormatter.kt | sighttviewliu | 100,442,020 | false | null | package net.corda.explorer.formatters
import net.corda.core.crypto.commonName
import org.bouncycastle.asn1.x500.X500Name
object PartyNameFormatter {
val short = object : Formatter<X500Name> {
override fun format(value: X500Name) = value.commonName
}
val full = object : Formatter<X500Name> {
... | 4 | null | 0 | 1 | b76d0368437b0a7e180b443f6243f5bdd6fd446b | 395 | corda | Apache License 2.0 |
kukot/src/main/java/com/abohomol/kukot/language/RetrofitLanguageRepository.kt | abohomol | 138,405,695 | false | null | package com.abohomol.kukot.language
import com.abohomol.kukot.network.BaseRepository
import com.abohomol.kukot.network.LanguageCode
import io.reactivex.Completable
import io.reactivex.Single
import io.reactivex.android.schedulers.AndroidSchedulers
import io.reactivex.schedulers.Schedulers
class RetrofitLanguageReposi... | 0 | Kotlin | 2 | 11 | 73576cd218506ee8bde52cae65a6a727470c5f0a | 1,213 | kukot | Apache License 2.0 |
sdk/cameraz/src/main/java/com/ahahahq/cameraz/core/Camera2Proxy.kt | hello-cqq | 601,641,839 | false | null | /*
* Copyright 2023 AhahahQ
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version... | 0 | Kotlin | 0 | 2 | d2e6f5ec33868afedab877d617505741c0986036 | 18,239 | CameraZ | Apache License 2.0 |
redwood-tooling-lint/src/main/kotlin/app/cash/redwood/tooling/lint/main.kt | cashapp | 305,409,146 | false | {"Kotlin": 2089205, "Swift": 20649, "Objective-C": 4497, "Java": 1583, "Shell": 253, "HTML": 235, "C": 129} | /*
* Copyright (C) 2023 Square, 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 agre... | 126 | Kotlin | 73 | 1,648 | 3f14e622c2900ec7e0dfaff5bd850c95a7f29937 | 1,029 | redwood | Apache License 2.0 |
sqlite-embedder-graalvm/src/jvmMain/kotlin/ru/pixnews/wasm/sqlite/open/helper/graalvm/host/emscripten/func/SyscallGetcwd.kt | illarionov | 769,429,996 | false | null | /*
* Copyright 2024, the wasm-sqlite-open-helper project authors and contributors. Please see the AUTHORS file
* for details. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
* SPDX-License-Identifier: Apache-2.0
*/
package ru.pixnews.wasm.sqlite.open.helper.graa... | 0 | null | 0 | 1 | c3928d1985a78ddb67ff90525f4e2be33058d8b8 | 2,437 | wasm-sqlite-open-helper | Apache License 2.0 |
app/src/main/java/com/roxana/recipeapp/ui/theme/Color.kt | roxanapirlea | 383,507,335 | false | null | package com.roxana.recipeapp.ui.theme
import androidx.compose.ui.graphics.Color
val md_theme_light_primary = Color(0xFF9D3F4C)
val md_theme_light_onPrimary = Color(0xFFFFFFFF)
val md_theme_light_primaryContainer = Color(0xFFFFDADB)
val md_theme_light_onPrimaryContainer = Color(0xFF40000F)
val md_theme_light_secondary... | 0 | Kotlin | 0 | 1 | 8dc3e7040d806893dddd4538e15dd3a40faa80a4 | 3,005 | RecipeApp | Apache License 2.0 |
app/src/main/java/com/example/barcodescanner/feature/tabs/create/qr/CreateQrCodePhoneFragment.kt | wewewe718 | 271,136,908 | false | null | package com.example.barcodescanner.feature.tabs.create.qr
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.core.widget.addTextChangedListener
import com.example.barcodescanner.R
import com.example.barcodescanner.extension.isNotBlank
impo... | 83 | null | 124 | 651 | da922e7b96906ec55a7437733378e850ca9262f7 | 1,595 | QrAndBarcodeScanner | The Unlicense |
app/src/main/java/com/mizukikk/mltd/main/idol/model/IdolStatus.kt | mizukikk | 268,541,057 | false | null | package com.mizukikk.mltd.main.idol.model
data class IdolStatus(
val vo: String,
val vi: String,
val da: String,
val total: String,
val level: String
) | 0 | Kotlin | 0 | 0 | 10e765109df9d0aa68557e78720851eae51622f1 | 172 | MLTD | MIT License |
src/main/kotlin/model/portarrivalevents/OfferShipUpgradeEvent.kt | ephemeral-laboratories | 476,077,698 | false | null | package garden.ephemeral.games.taipan.model.portarrivalevents
import garden.ephemeral.games.taipan.Strings
import garden.ephemeral.games.taipan.model.GameLogic
import garden.ephemeral.games.taipan.model.GameState
import garden.ephemeral.games.taipan.model.Money
import garden.ephemeral.games.taipan.model.YesNo
import ... | 0 | Kotlin | 0 | 1 | a692a008265872783bdc3f401f193dd5ebb1fd2f | 2,490 | TaipanKt | The Unlicense |
meistercharts-canvas/src/jsMain/kotlin/com/meistercharts/js/debug/FontMetricsCacheDebugLayer.kt | Neckar-IT | 599,079,962 | false | null | /**
* Copyright 2023 Neckar IT GmbH, Mössingen, Germany
*
* 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 appli... | 3 | null | 3 | 5 | ed849503e845b9d603598e8d379f6525a7a92ee2 | 3,776 | meistercharts | Apache License 2.0 |
app/src/main/java/com/example/components/dynamic_components/components/radiobuttonslist/RadioButtonListContent.kt | gemaxd | 457,775,392 | false | {"Kotlin": 109878} | package com.example.components.dynamic_components.components.radiobuttonslist
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.heightIn
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.runtime.Com... | 0 | Kotlin | 0 | 0 | 78734952d09e76b140ffdd86c9e74cd2b97cf7e9 | 2,267 | compose_components | MIT License |
app/src/main/java/com/revolgenx/anilib/app/setting/dialog/HomePageOrderDialog.kt | AniLibApp | 244,410,204 | false | {"Kotlin": 1593083, "Shell": 52} | package com.revolgenx.anilib.app.setting.dialog
import android.content.DialogInterface
import android.os.Bundle
import android.view.LayoutInflater
import android.view.ViewGroup
import android.widget.TextView
import androidx.recyclerview.widget.LinearLayoutManager
import com.pranavpandey.android.dynamic.support.dialog.... | 36 | Kotlin | 3 | 76 | b3caec5c00779c878e4cf22fb7d2034aefbeee54 | 4,060 | AniLib | Apache License 2.0 |
kuery-client-spring-data-r2dbc/src/test/kotlin/dev/hsbrysk/kuery/spring/r2dbc/StringWrapperConversionTest.kt | be-hase | 806,354,598 | false | {"Kotlin": 164266} | package dev.hsbrysk.kuery.spring.jdbc
import assertk.assertThat
import assertk.assertions.isEqualTo
import dev.hsbrysk.kuery.core.single
import org.junit.jupiter.api.AfterAll
import org.junit.jupiter.api.AfterEach
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.Test
import org.springframework.core... | 3 | Kotlin | 0 | 7 | f87ae4527f05a0814cfc08450fa40f042c90402f | 1,669 | kuery-client | MIT License |
compiler/testData/codegen/bytecodeText/inlineFromOtherModule.kt | danmichaels | 42,903,228 | true | {"Java": 15618011, "Kotlin": 10206314, "JavaScript": 176060, "Protocol Buffer": 41295, "HTML": 24250, "Lex": 17327, "ANTLR": 9689, "CSS": 9358, "Groovy": 5104, "Shell": 4638, "Batchfile": 3703, "IDL": 3186} | fun foo() {
assert(1 == 1) { "Hahaha" }
}
// 1 INVOKESTATIC kotlin\/KotlinPackage\.getASSERTIONS_ENABLED
// 0 INVOKESTATIC kotlin\/AssertionsJVMKt\.getASSERTIONS_ENABLED
| 0 | Java | 0 | 0 | b4efe33efa4fc1d3f84ffe4ecc82b0a5e3852d0d | 175 | kotlin | Apache License 2.0 |
src/commonMain/kotlin/com/soywiz/kpspemu/format/PspFileFormat.kt | kpspemu | 108,654,928 | false | {"Gradle": 1, "Gradle Kotlin DSL": 1, "JSON": 3, "Java Properties": 1, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "JavaScript": 3, "Markdown": 1, "Kotlin": 275, "INI": 2, "HTML": 3, "XML": 3, "SVG": 2, "Java": 30, "YAML": 2, "C": 61, "Unix Assembly": 3, "Makefile": 12, "Motorola 68K Assembly": 3, "C++": 8... | package com.soywiz.kpspemu.format
import com.soywiz.korio.file.*
import com.soywiz.korio.lang.*
import com.soywiz.korio.stream.*
enum class PspFileFormat(val fileContainer: Boolean = false) {
ELF, ENCRYPTED_ELF, PBP,
CSO(fileContainer = true),
ISO(fileContainer = true),
ZIP(fileContainer = true),
... | 16 | Kotlin | 9 | 72 | 5ad15d161bef8baa40961ee508643306d933a50a | 1,659 | kpspemu | MIT License |
app/src/main/java/com/maurya/dtxloopplayer/fragments/FolderFragment.kt | notrealmaurya | 734,074,868 | false | {"Kotlin": 139063, "Assembly": 24} | package com.maurya.dtxloopplayer.fragments
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.activity.OnBackPressedCallback
import androidx.core.view.GravityCompat
import androidx.fragment.app.Fragment
import androidx.fragment.app.viewMod... | 0 | Kotlin | 0 | 0 | 8dbec64f8561029e36d76d5404691bf5a68a3124 | 3,862 | TuneTribe | MIT License |
src/main/kotlin/no/nav/pensjon/simulator/core/knekkpunkt/KnekkpunktFinder.kt | navikt | 753,551,695 | false | {"Kotlin": 1452773, "Java": 2774, "Dockerfile": 144} | package no.nav.pensjon.simulator.core.knekkpunkt
import no.nav.pensjon.simulator.core.SimuleringSpec
import no.nav.pensjon.simulator.core.domain.GrunnlagRolle
import no.nav.pensjon.simulator.core.krav.KravlinjeTypePlus
import no.nav.pensjon.simulator.core.domain.regler.Trygdetid
import no.nav.pensjon.simulator.core.do... | 2 | Kotlin | 0 | 0 | 77b8c4e0a80e5bf44cb44468466362956fe82da8 | 16,354 | pensjonssimulator | MIT License |
src/main/kotlin/model/Submission.kt | steep-wms | 237,438,539 | false | null | package model
import helper.UniqueID
import model.metadata.Service
import model.workflow.Action
import model.workflow.ExecuteAction
import model.workflow.ForEachAction
import model.workflow.Workflow
import java.time.Instant
/**
* A submission
* @param id the submission's unique identifier
* @param workflow the wor... | 9 | Kotlin | 4 | 15 | c9fd601c6ab0a81e8dbebe8351ea73b20bd29756 | 1,803 | steep | Apache License 2.0 |
src/main/kotlin/model/Submission.kt | steep-wms | 237,438,539 | false | null | package model
import helper.UniqueID
import model.metadata.Service
import model.workflow.Action
import model.workflow.ExecuteAction
import model.workflow.ForEachAction
import model.workflow.Workflow
import java.time.Instant
/**
* A submission
* @param id the submission's unique identifier
* @param workflow the wor... | 9 | Kotlin | 4 | 15 | c9fd601c6ab0a81e8dbebe8351ea73b20bd29756 | 1,803 | steep | Apache License 2.0 |
android/src/test/java/com/revenuecat/purchases/hybridcommon/ConfiguringUnitTests.kt | RevenueCat | 197,481,725 | false | {"Swift": 149543, "Kotlin": 143786, "TypeScript": 48493, "Java": 21431, "Ruby": 15864, "Objective-C": 10158, "JavaScript": 185} | package com.revenuecat.purchases.hybridcommon
import android.app.Application
import android.content.Context
import com.revenuecat.purchases.DangerousSettings
import com.revenuecat.purchases.Purchases
import com.revenuecat.purchases.PurchasesConfiguration
import com.revenuecat.purchases.Store
import com.revenuecat.purc... | 3 | Swift | 5 | 14 | feded777ccf2d5bc48b7b85f352eff8f71908b5b | 6,148 | purchases-hybrid-common | MIT License |
app/src/main/java/com/qhy040404/libraryonetap/base/IBinding.kt | qhy040404 | 484,416,715 | false | null | package com.absinthe.libchecker.ui.base
import android.view.LayoutInflater
import androidx.viewbinding.ViewBinding
import java.lang.reflect.Method
import java.lang.reflect.ParameterizedType
internal sealed interface IBinding<VB : ViewBinding> {
val binding: VB
fun <T : ViewBinding> inflateBinding(inflater: Layou... | 3 | Kotlin | 307 | 9 | db5d2cf858f05a03273c5fe1e06944a713842c71 | 1,061 | Library-One-Tap-Android | Apache License 2.0 |
service/src/main/kotlin/simple_feature_toggles/api/models/FeatureToggleUpdateRequest.kt | sebastian-struecker | 818,679,238 | false | {"Kotlin": 49204, "Dockerfile": 594} | package simple_feature_toggles.api.models
data class FeatureToggleUpdateRequest(
var name: String? = null, var description: String? = null, var contexts: List<ContextApiModel>? = null
)
| 0 | Kotlin | 0 | 0 | b8bfff328a4d9a80e5e69ca56478bcfb8b0baf2e | 191 | simple-feature-toggles | MIT License |
app/src/main/java/com/example/jeonghyun/movieapp/api/ResponseTransformer.kt | yoojh9 | 225,756,921 | false | null | package com.example.jeonghyun.movieapp.api
import retrofit2.Call
import retrofit2.Callback
import retrofit2.Response
fun <T> Call<T>.async(onResult: (response: ApiResponse<T>) -> Unit) {
enqueue(object : Callback<T> {
override fun onResponse(call: Call<T>, response: Response<T>) {
onResult(Api... | 0 | Kotlin | 0 | 0 | 55bf44cc91d856c6fe9562509151eb52cf76e5ad | 643 | MovieApp | Apache License 2.0 |
src/main/kotlin/me/ddevil/util/math/vector/Vector4.kt | BrunoSilvaFreire | 88,533,092 | false | {"Kotlin": 89852} | package me.ddevil.util.math.vector
import me.ddevil.util.immutableMap
import me.ddevil.util.set
abstract class Vector4<N : Number> : Vector3<N>() {
abstract val w: N
override val normalized: Vector4<N>
get() = clone.normalize()
override fun normalize(): Vector4<N> {
super.normalize()
... | 0 | Kotlin | 0 | 1 | 65044d7f9d4ea6d4f201adb832418f13c1ae5e0c | 3,172 | KotlinUtils | Do What The F*ck You Want To Public License |
meistercharts-canvas/src/jvmTest/kotlin/com/meistercharts/canvas/layout/cache/DoubleCacheTest.kt | Neckar-IT | 599,079,962 | false | {"Kotlin": 5819931, "HTML": 87784, "JavaScript": 1378, "CSS": 1114} | /**
* Copyright 2023 Neckar IT GmbH, Mössingen, Germany
*
* 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 appli... | 3 | Kotlin | 3 | 5 | ed849503e845b9d603598e8d379f6525a7a92ee2 | 3,440 | meistercharts | Apache License 2.0 |
twitlin/src/common/main/kotlin/com/sorrowblue/twitlin/users/account/impl/AccountApiImpl.kt | SorrowBlue | 278,215,181 | false | null | package com.sorrowblue.twitlin.users.account.impl
import com.sorrowblue.twitlin.client.Response
import com.sorrowblue.twitlin.client.TwitterClient
import com.sorrowblue.twitlin.objects.User
import com.sorrowblue.twitlin.users.account.AccountApi
import com.sorrowblue.twitlin.users.account.Settings
import com.sorrowblue... | 1 | Kotlin | 0 | 1 | d6a3fdf66dea3d44f95e6800d35031d9339293cd | 4,344 | Twitlin | MIT License |
src/main/kotlin/com/shrralis/serialnumbergenerator/config/format/part/impl/generated/Base26SerialNumberPartConfig.kt | shrralis | 606,564,926 | false | null | /*
* The following code is created by shrralis.
*
* - Base26SerialNumberPartConfig.kt (Last change: 2/24/23, 9:50 PM by shrralis)
*
* Copyright (c) 2023-2023 by shrralis.
*/
package com.shrralis.serialnumbergenerator.config.format.part.impl.generated
import com.shrralis.serialnumbergenerator.config.BASE_26_RAD... | 0 | Kotlin | 0 | 0 | 9eed8c1d7e9557be3b26ebe1f73a1d0684aee5d9 | 890 | serial-number-generator | Apache License 2.0 |
app/src/main/kotlin/io/github/feelfreelinux/wykopmobilny/ui/adapters/viewholders/LinkHeaderViewHolder.kt | feelfreelinux | 97,154,881 | false | null | package io.github.feelfreelinux.wykopmobilny.ui.adapters.viewholders
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import io.github.feelfreelinux.wykopmobilny.R
import io.github.feelfreelinux.wykopmobilny.models.dataclass.Link
import io.github.feelfreelinux.wykopmobilny.ui.f... | 47 | null | 51 | 166 | ec6365b9570818a7ee00c5b512f01cedead30867 | 9,610 | WykopMobilny | MIT License |
app/src/main/java/cz/blackchameleon/trendingprojects/framework/local/LocalLanguageSourceImpl.kt | klepackovakarolina | 327,316,960 | false | null | package cz.blackchameleon.trendingprojects.framework.local
import android.content.Context
import cz.blackchameleon.data.local.LocalLanguageSource
import cz.blackchameleon.domain.Language
import cz.blackchameleon.trendingprojects.framework.database.Database
import cz.blackchameleon.trendingprojects.framework.database.d... | 0 | Kotlin | 0 | 0 | 43b8ca613f068f06dbc7c8a20569c0788f0bdf39 | 1,237 | trending-projects | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.