path stringlengths 4 280 | owner stringlengths 2 39 | repo_id int64 21.1k 879M | is_fork bool 2
classes | languages_distribution stringlengths 13 1.95k ⌀ | content stringlengths 7 482k | issues int64 0 13.9k | main_language stringclasses 121
values | forks stringlengths 1 5 | stars int64 0 111k | commit_sha stringlengths 40 40 | size int64 7 482k | name stringlengths 1 100 | license stringclasses 93
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
src/main/java/mandarin/card/supporter/log/LogSession.kt | battlecatsultimate | 314,546,358 | false | null | package mandarin.card.supporter.log
import com.fasterxml.jackson.databind.ObjectMapper
import com.fasterxml.jackson.databind.SerializationFeature
import com.google.gson.JsonArray
import com.google.gson.JsonElement
import com.google.gson.JsonObject
import com.google.gson.JsonParser
import mandarin.card.CardBot
import m... | 0 | null | 9 | 11 | 84f2da1d320d841174afff7d9cb3e4c8cc422c39 | 26,359 | PackPack | MIT License |
jeorg-spring/jeorg-spring-flash/jeorg-spring-flash-set-2/jeorg-spring-flash-2-14/src/test/kotlin/org/jesperancinha/std/flash214/transactions/SpringFlash214LauncherKotlinTest.kt | jesperancinha | 218,585,978 | false | {"XML": 43, "Markdown": 129, "Maven POM": 127, "Text": 133, "Ignore List": 5, "Makefile": 3, "Shell": 1, "Java": 831, "Kotlin": 141, "INI": 127, "JSON": 2, "E-mail": 1, "Java Server Pages": 25, "JavaScript": 2, "Java Properties": 5, "SQL": 11, "Gherkin": 1, "HTML": 5, "CSS": 3, "Groovy": 1, "YAML": 6} | package org.jesperancinha.std.flash214.transactions
import io.kotest.matchers.nulls.shouldNotBeNull
import io.kotest.matchers.shouldBe
import org.assertj.core.api.Assertions
import org.jesperancinha.console.consolerizer.console.ConsolerizerComposer
import org.jesperancinha.std.flash214.transactions.model.Car
import or... | 0 | Java | 1 | 3 | f9f710c9de7156c1d58e726c8add98ca53dbe9ba | 2,128 | jeorg-spring-test-drives | Apache License 2.0 |
core/src/main/kotlin/io/github/llmagentbuilder/core/MapToObject.kt | LLMAgentBuilder | 780,391,516 | false | {"Kotlin": 121686, "Mustache": 20143, "TypeScript": 7650, "Handlebars": 4563, "Java": 3523, "Python": 1902, "CSS": 1545, "JavaScript": 89} | package io.github.llmagentbuilder.core
import com.fasterxml.jackson.databind.ObjectMapper
import com.fasterxml.jackson.module.kotlin.KotlinModule
object MapToObject {
val objectMapper: ObjectMapper =
ObjectMapper().registerModule(KotlinModule.Builder().build())
inline fun <reified T> toObject(input: ... | 0 | Kotlin | 0 | 0 | aae4e1c7721e227f0afb1d0e69b87b0e17f0d1da | 795 | llm-agent-builder | Apache License 2.0 |
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/lex/SlotCaptureSettingPropertyDsl.kt | F43nd1r | 643,016,506 | false | null | package com.faendir.awscdkkt.generated.services.lex
import com.faendir.awscdkkt.AwsCdkDsl
import javax.`annotation`.Generated
import kotlin.Unit
import software.amazon.awscdk.services.lex.CfnBot
@Generated
public fun buildSlotCaptureSettingProperty(initializer: @AwsCdkDsl
CfnBot.SlotCaptureSettingProperty.Builder... | 1 | Kotlin | 0 | 0 | e9a0ff020b0db2b99e176059efdb124bf822d754 | 445 | aws-cdk-kt | Apache License 2.0 |
app/src/main/java/com/mirceabucerzan/kotlinmachineexample/MainActivity.kt | mirceabucerzan | 254,824,121 | false | null | package com.mirceabucerzan.kotlinmachineexample
import android.os.Bundle
import android.view.View
import androidx.appcompat.app.AppCompatActivity
import com.mirceabucerzan.kotlinmachine.StateMachine
import kotlinx.android.synthetic.main.activity_main.*
/**
* View which displays a [Door]'s current state and allows us... | 0 | Kotlin | 0 | 1 | 0764df981e6581826d64d7ee558233b35aa7bc47 | 2,201 | kotlin-machine | MIT License |
app/src/main/java/com/example/coolweather/ChooseAreaFragment.kt | 6316222292 | 127,388,045 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Proguard": 1, "Java": 9, "XML": 23, "Kotlin": 9} | package com.example.coolweather
import android.app.AlertDialog
import android.app.ProgressDialog
import android.content.Intent
import android.os.Bundle
import android.support.v4.app.Fragment
import android.text.LoginFilter
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import andro... | 1 | null | 1 | 1 | 84d3bf56c9a052b738a2bbc9adcdbed0187aad68 | 7,434 | coolweather | Apache License 2.0 |
test-app/presenter/src/commonMain/kotlin/com/example/redwood/testing/presenter/BoxSandbox.kt | cashapp | 305,409,146 | false | {"Kotlin": 1500876, "Swift": 12116, "Java": 1583, "Objective-C": 1499, "HTML": 235, "C": 43} | /*
* 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... | 102 | Kotlin | 50 | 1,264 | 149bb02a9636bba2e6f5157fe3c33cdc657889eb | 3,372 | redwood | Apache License 2.0 |
src/main/kotlin/trying/cosmos/global/authentication/AuthorityLimit.kt | yeongwoo-owo | 575,082,641 | false | {"Kotlin": 45005, "HTML": 12673} | package trying.cosmos.global.authentication
import trying.cosmos.domain.user.entity.AuthorityType
@Target(allowedTargets = [AnnotationTarget.FUNCTION])
@Retention(AnnotationRetention.RUNTIME)
annotation class AuthorityLimit(
val value: AuthorityType
)
| 2 | Kotlin | 0 | 0 | 76ce6b3712ae32ffd5626e13a07a44ba195fc418 | 260 | Wouldulike_Server | MIT License |
code/scenes/src/main/kotlin/org/fbme/scenes/controllers/ExtendedLayoutModel.kt | JetBrains | 267,360,098 | false | {"JetBrains MPS": 5551574, "Kotlin": 1343021, "C++": 54572, "Lua": 26921, "Tcl": 7529, "ANTLR": 4585} | package org.fbme.scenes.controllers
import java.awt.Point
import java.util.function.BiFunction
import java.util.function.Function
class ExtendedLayoutModel<ResT, ExtT : ResT, OrigT : ResT>(
private val baseModel: LayoutModel<OrigT>,
private val extensionPositionProvider: BiFunction<ExtT, Point, Point>,
pr... | 12 | JetBrains MPS | 15 | 19 | 3198be65e4b63e4405ee7e523ec64f28d1231ba5 | 3,559 | fbme | Apache License 2.0 |
kotlin/services/xray/src/main/kotlin/com/kotlin/xray/DeleteGroup.kt | awsdocs | 66,023,605 | false | null | //snippet-sourcedescription:[DeleteGroup.kt demonstrates how to delete an AWS X-Ray group.]
//snippet-keyword:[SDK for Kotlin]
//snippet-keyword:[Code Sample]
//snippet-service:[AWS X-Ray Service]
//snippet-sourcetype:[full-example]
//snippet-sourcedate:[11/05/2021]
//snippet-sourceauthor:[scmacdon-aws]
/*
Copyrigh... | 176 | Java | 3443 | 4,877 | 4022c702782e85f6258770b36d8b4b62b49db873 | 1,473 | aws-doc-sdk-examples | Apache License 2.0 |
compiler/src/main/java/com/edwin/compiler/activity/builder/InjectMethodBuilder.kt | LiangLliu | 445,907,238 | false | {"Kotlin": 247539, "Java": 117126} | package com.edwin.compiler.activity.builder
import com.edwin.compiler.activity.ActivityClass
import com.edwin.compiler.basic.builder.BasicInjectMethodBuilder
import com.edwin.compiler.basic.types.ACTIVITY
/**
* Created by benny on 1/31/18.
*/
class InjectMethodBuilder(activityClass: ActivityClass) : BasicInjectMet... | 0 | Kotlin | 0 | 0 | 7f828dedc343d3a5a19d052951692987bc714c5d | 510 | github-app | MIT License |
app/src/main/java/com/brin/util/FileUtil.kt | BrinsLee | 169,501,685 | false | {"Gradle": 3, "Java Properties": 1, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "INI": 1, "Proguard": 1, "Kotlin": 31, "XML": 50, "Java": 10} | package com.brin.util
import android.content.Context
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import android.os.Build
import android.os.Environment
import android.support.annotation.RequiresApi
import android.text.TextUtils
import android.util.Log
import com.brin.gdufe.AppConfig
import com.... | 2 | null | 1 | 1 | 0cd33c6b3214ac5f2b02af157e435499f994dc3a | 6,793 | gdufe | Apache License 2.0 |
app/src/main/java/com/brin/util/FileUtil.kt | BrinsLee | 169,501,685 | false | {"Gradle": 3, "Java Properties": 1, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "INI": 1, "Proguard": 1, "Kotlin": 31, "XML": 50, "Java": 10} | package com.brin.util
import android.content.Context
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import android.os.Build
import android.os.Environment
import android.support.annotation.RequiresApi
import android.text.TextUtils
import android.util.Log
import com.brin.gdufe.AppConfig
import com.... | 2 | null | 1 | 1 | 0cd33c6b3214ac5f2b02af157e435499f994dc3a | 6,793 | gdufe | Apache License 2.0 |
haru-worker/src/main/kotlin/haru/worker/domain/model/plugin/TaskProcessorConfig.kt | rozyhead | 67,817,429 | false | null | package haru.worker.domain.model.plugin
interface TaskProcessorConfig {
} | 0 | Kotlin | 0 | 0 | 4332607a2d3608ac9ae4fb1d08677f0b049e054d | 74 | haru | Apache License 2.0 |
core/src/me/wieku/circuits/save/Saveable.kt | Wieku | 113,257,102 | false | null | package me.wieku.circuits.save
import me.wieku.circuits.world.ClassicWorld
interface Saveable {
fun save(manager: SaveManager)
fun load(world: ClassicWorld, manager: SaveManager)
//fun afterLoad(world: ClassicWorld)
} | 11 | Kotlin | 1 | 21 | c18c19c75296035371cba6e4f53c8dcd6856bfd3 | 223 | LogicDraw | MIT License |
advanced/battleship-scenario-dsl-domain-driver/src/main/kotlin/io/drevezerezh/scylla/advanced/scenario/dsl/driver/domain/InstructionRunner.kt | drevezerezh | 672,485,652 | false | {"Kotlin": 948680, "ANTLR": 1204} | /*
* Copyright (c) 2024 gofannon.xyz
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | 0 | Kotlin | 0 | 0 | 5b252105940bee53350039c479aabcc479f3c894 | 7,134 | scylla | Apache License 2.0 |
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/sso/AccessControlAttributePropertyDsl.kt | F43nd1r | 643,016,506 | false | null | package com.faendir.awscdkkt.generated.services.sso
import com.faendir.awscdkkt.AwsCdkDsl
import javax.`annotation`.Generated
import kotlin.Unit
import software.amazon.awscdk.services.sso.CfnInstanceAccessControlAttributeConfiguration
@Generated
public fun buildAccessControlAttributeProperty(initializer: @AwsCdkDsl
... | 1 | Kotlin | 0 | 0 | a1cf8fbfdfef9550b3936de2f864543edb76348b | 625 | aws-cdk-kt | Apache License 2.0 |
BaseModule/src/main/java/com/chen/basemodule/extend/ViewExt.kt | chen397254698 | 268,411,455 | false | null | package com.chen.basemodule.extend
import android.view.View
fun View.visible(visible: Boolean? = null) {
visible?.run {
visibility = if (this) View.VISIBLE else View.GONE
}
}
| 1 | Kotlin | 14 | 47 | 85ffc5e307c6171767e14bbfaf992b8d62ec1cc6 | 193 | EasyAndroid | Apache License 2.0 |
src/main/kotlin/com/lunivore/stirry/ButtonExtensions.kt | lunivore | 87,720,990 | false | null |
package com.lunivore.stirry
import javafx.event.ActionEvent
import javafx.event.EventHandler
import javafx.scene.control.Button
import java.util.concurrent.ArrayBlockingQueue
import java.util.concurrent.TimeUnit
fun Button.fireAndStir() {
val queue = ArrayBlockingQueue<Boolean>(1)
val handler : EventHandler<... | 0 | Kotlin | 0 | 2 | defdc7588232b1633317b27e1bd7a49d038533f6 | 573 | Stirry | Apache License 2.0 |
app/src/main/java/com/artf/chatapp/view/DiagnoseDataActivity.kt | doitunglam | 780,886,566 | false | {"Kotlin": 155581, "JavaScript": 2363} | package com.artf.chatapp.view
import android.app.Activity
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import android.util.Log
import android.view.MotionEvent
import android.view.View
import android.widget.ImageButton
import androidx.activity.enableEdgeToEdge
import androidx.activity.v... | 0 | Kotlin | 0 | 0 | bccda1afa989c72be0551bd12ca04e734eb4693b | 5,017 | depression-detection-app | Apache License 2.0 |
src/main/kotlin/raft/war/binary/parser/w3abdhqtu/W3abdhqtuItem.kt | WarRaft | 713,961,790 | false | {"Kotlin": 411257, "Java": 270296, "Lex": 23791, "HTML": 185} | package raft.war.binary.parser.w3abdhqtu
import raft.war.binary.reader.ByteBufferWrap
class W3abdhqtuItem {
var default: UInt = 0u
var custom: UInt = 0u
var count: UInt = 1u
var sets: MutableList<W3abdhqtuSet> = mutableListOf()
@Suppress("ConvertSecondaryConstructorToPrimary")
constructor(buf... | 0 | Kotlin | 0 | 2 | d4dc28fe0cdcabe7fca99477a1f1183af76a0434 | 545 | IntelliJASS | MIT License |
app/src/main/java/com/utsman/hiyahiyahiya/ui/activity/CameraActivity.kt | syntaxxxxx | 291,494,071 | true | {"Kotlin": 179548, "Java": 98751} | package com.utsman.hiyahiyahiya.ui.activity
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.utsman.hiyahiyahiya.R
import com.utsman.hiyahiyahiya.model.row.RowRoom
import com.utsman.hiyahiyahiya.ui.fragment.CameraFragment
class CameraActivity : AppCompatActivity() {
private va... | 0 | null | 0 | 1 | c3cf984f97c02e8f5e8397d236162e346eaca369 | 912 | hiya-hiya-hiya | Apache License 2.0 |
src/main/kotlin/jp/nephy/penicillin/models/PenicillinModel.kt | 7u4 | 162,947,832 | true | {"Kotlin": 259979} | @file:Suppress("UNUSED")
package jp.nephy.penicillin.models
import jp.nephy.jsonkt.delegation.JsonModel
interface PenicillinModel: JsonModel
| 0 | Kotlin | 0 | 0 | 747aa281b512072d99e9b03cfe68b6c54d98b6f0 | 144 | Penicillin | MIT License |
libraries/kotlin.test/annotations-common/src/main/kotlin/kotlin.test/Annotations.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2018 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package kotlin.test
/**
* Marks a function as a test.
*/
@Target(AnnotationTarget.FUNCTION)
public expect a... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 768 | kotlin | Apache License 2.0 |
Corona-Warn-App/src/test/java/de/rki/coronawarnapp/tracing/ui/details/TracingDetailsItemProviderTest.kt | si-covid-19 | 286,833,811 | false | null | package de.rki.coronawarnapp.tracing.ui.details
import android.content.Context
import android.content.res.Resources
import com.google.android.gms.nearby.exposurenotification.ExposureWindow
import de.rki.coronawarnapp.datadonation.survey.Surveys
import de.rki.coronawarnapp.installTime.InstallTimeProvider
import de.rki.... | 6 | null | 8 | 15 | 5a3b4be63b5b030da49216a0132a3979cad89af1 | 17,060 | ostanizdrav-android | Apache License 2.0 |
src/main/kotlin/net/spyman/backpackmod/screen/BackpackScreenHandler.kt | SpyMan10 | 731,115,715 | false | {"Kotlin": 23406, "Java": 522} | package net.spyman.backpackmod.screen
import net.minecraft.entity.player.PlayerEntity
import net.minecraft.entity.player.PlayerInventory
import net.minecraft.inventory.Inventory
import net.minecraft.item.ItemStack
import net.minecraft.screen.ScreenHandler
import net.minecraft.screen.slot.Slot
import net.spyman.backpac... | 0 | Kotlin | 0 | 0 | 5afbf39763d93feb5607cc85edd349c66a83124a | 2,860 | backpackmod | MIT License |
app/src/main/java/com/guness/lottie/ui/activities/main/popular/PopularScreen.kt | guness | 449,084,007 | false | {"Kotlin": 117766} | package com.guness.lottie.ui.activities.main.popular
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.items
import androidx.compose.material.MaterialTheme
import androidx.compose.runtime.... | 0 | Kotlin | 0 | 0 | 493c8288579fec02c1c8bdadf03e7196dbd3daee | 2,570 | lottiefiles | MIT License |
app/src/main/java/com/example/bookforum/ui/navigation/destinations/groupDestinations/GroupCreationDestination.kt | KatePril | 783,350,221 | false | {"Kotlin": 304575} | package com.example.bookforum.ui.navigation.destinations.groupDestinations
import com.example.bookforum.ui.navigation.NavigationDestination
object GroupCreationDestination: NavigationDestination {
override val route = "group_creation_page"
const val userIdArg = "userId"
val routeWithArgs = "$route/{$userI... | 0 | Kotlin | 0 | 0 | 7139a320ab5be3045f007bf47b6e01d77435132e | 328 | BookForum1 | MIT License |
composeApp/src/androidMain/kotlin/org/furkan/kmmquickstart/login/LoginScreen.kt | furkanturkn | 764,123,725 | false | {"Kotlin": 59330, "Swift": 23755} | package org.furkan.kmmquickstart.login
import androidx.compose.foundation.gestures.detectTapGestures
import androidx.compose.foundation.layout.*
import androidx.compose.runtime.Composable
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import andr... | 0 | Kotlin | 1 | 7 | 2044629bdee1727658b07e06b0f2de5801c4d5b6 | 3,355 | KmmQuickStart | MIT License |
the-ray-tracer-challenge/src/main/kotlin/io/github/ocirne/ray/challenge/tasks/FunWithCSG1.kt | ocirne | 379,563,605 | false | null | package io.github.ocirne.ray.challenge.tasks
import io.github.ocirne.ray.challenge.canvas.Camera
import io.github.ocirne.ray.challenge.canvas.Canvas
import io.github.ocirne.ray.challenge.lights.Material
import io.github.ocirne.ray.challenge.lights.PointLight
import io.github.ocirne.ray.challenge.patterns.CheckersPatte... | 0 | Kotlin | 0 | 0 | 5075b417be18fd07f61f5182e0381fd283319c66 | 1,760 | ray | The Unlicense |
ticeandroidcrypto/src/main/java/com/ticeapp/ticeandroidcrypto/JWTIssuer.kt | TICESoftware | 252,733,126 | false | null | package com.ticeapp.ticeandroidcrypto
internal sealed class JWTIssuer {
internal object Server : JWTIssuer()
internal data class User(val userId: UserId) : JWTIssuer()
fun claimString(): String = when(this) {
Server -> "server"
is User -> this.userId.uuidString()
}
} | 0 | null | 0 | 0 | 10fe23f73ef917111560501fddfb98f23ff1f257 | 301 | TICE-AndroidCrypto | MIT License |
android/src/main/kotlin/io/flutter/plugins/flutter_chaira/FlutterChairaPlugin.kt | cdiaz | 194,851,684 | false | {"Dart": 7825, "Kotlin": 2990, "Swift": 928, "Ruby": 686, "Objective-C": 391} | package io.flutter.plugins.flutter_chaira
import android.app.Activity
import android.net.Uri
import android.support.customtabs.CustomTabsIntent
import android.content.Intent
import io.flutter.plugin.common.MethodCall
import io.flutter.plugin.common.MethodChannel
import io.flutter.plugin.common.MethodChannel.MethodCal... | 0 | Dart | 0 | 0 | 2912661b0c7d6c37b2388f71acec4e5c91973c62 | 1,856 | flutter_chaira | MIT License |
ui/src/main/java/jp/kaleidot725/easycalc/ui/screen/setting/language/LanguageAction.kt | kaleidot725 | 727,725,457 | false | {"Kotlin": 288088, "Ruby": 106} | package jp.kaleidot725.easycalc.ui.screen.setting.language
import jp.kaleidot725.easycalc.domain.model.language.Language
interface LanguageAction {
fun clickLanguage(language: Language)
fun popBack()
}
| 0 | Kotlin | 0 | 0 | e6ed3eb42b6fad739e42be77eebd9619874ae548 | 212 | EasyCalc | MIT License |
jvm-demo/src/main/java/combo/demo/models/TestCasePrioritization.kt | rasros | 148,620,275 | false | {"Gradle": 3, "INI": 2, "Shell": 2, "Text": 7, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "Kotlin": 195, "Java": 1} | package combo.demo.models
import combo.bandit.univariate.NormalPosterior
import combo.bandit.univariate.ThompsonSampling
import combo.model.Model.Companion.model
import combo.model.ModelBandit
import combo.sat.ValidationException
import combo.sat.constraints.Relation
val testModel = model {
val tests = arrayOf(
... | 0 | Kotlin | 1 | 2 | 2f4aab86e1b274c37d0798081bc5500d77f8cd6f | 2,766 | combo | Apache License 2.0 |
app/src/main/java/com/maurorodriguez1994/didi/room/entity/Question.kt | RodriguezMauro94 | 398,419,046 | false | null | package com.maurorodriguez1994.didi.room.entity
import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey
@Entity(tableName = "question_table")
data class Question(@PrimaryKey @ColumnInfo(name = "question_id") val question: String) | 0 | Kotlin | 0 | 0 | a3e71a7ac64d89b2e164e304d5af54882fdded01 | 267 | did-i | Apache License 2.0 |
app/src/main/java/com/Bellew/recipes/adapters/RecipeIngredientCardRecyclerAdapter.kt | zlb323 | 211,174,592 | false | null | package com.Bellew.recipes.adapters
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.Bellew.recipes.R
import com.Bellew.recipes.activities.RecipeIngredientCard
import com.Bellew.recipes.models.Ingredients
/*
The RecipeIngredientCard Recyc... | 5 | Kotlin | 1 | 0 | a64573a3ede188d01ccee77a59c176079fff28a2 | 1,082 | Recipe-Android-App | Apache License 2.0 |
src/main/kotlin/endredeak/aoc2022/Day06.kt | edeak | 571,891,076 | false | {"Kotlin": 44975} | package endredeak.aoc2022
fun main() {
solve("Tuning Trouble") {
val input = lines[0]
fun marker(n: Int) = input.windowed(n).indexOfFirst { it.toSet().size == n } + n
part1(1300) { marker(4) }
part2(3986) { marker(14) }
}
} | 0 | Kotlin | 0 | 0 | e0b95e35c98b15d2b479b28f8548d8c8ac457e3a | 267 | AdventOfCode2022 | Do What The F*ck You Want To Public License |
src/main/kotlin/pl/net/gwynder/central/security/user/repositories/CentralUserRepository.kt | mikrzem | 168,373,172 | false | null | package pl.net.gwynder.central.security.user.repositories
import pl.net.gwynder.central.common.database.BaseEntityRepository
import pl.net.gwynder.central.security.user.entities.CentralUser
import java.util.*
interface CentralUserRepository : BaseEntityRepository<CentralUser> {
fun findByEmail(login: String): Op... | 0 | Kotlin | 0 | 0 | d59cb442b439a50a42ef56b62d8dfc9625e2f808 | 342 | gwynder-central | MIT License |
kotlin-rest-http4k/src/main/kotlin/com/acme/http/FruitHandler.kt | daviddenton | 178,431,771 | true | {"XML": 1, "Batchfile": 24, "Shell": 24, "Maven POM": 23, "Markdown": 7, "Text": 1, "Ignore List": 1, "YAML": 8, "INI": 30, "Java": 116, "Dockerfile": 5, "Java Properties": 4, "Kotlin": 6, "HTML": 14, "EditorConfig": 1, "Gradle": 2, "SQL": 2, "AsciiDoc": 1, "JSON": 1} | package com.acme.http
import com.acme.model.Fruit
import com.acme.model.FruitRepository
import org.http4k.core.HttpHandler
import org.http4k.core.Method.DELETE
import org.http4k.core.Method.GET
import org.http4k.core.Method.POST
import org.http4k.core.Method.PUT
import org.http4k.core.Response
import org.http4k.core.S... | 0 | Java | 0 | 0 | b4b4336471f88a55b7bd45f3a168d9e92a463eb6 | 1,770 | quarkus-quickstarts | Apache License 2.0 |
android_mobile/src/main/java/com/alexstyl/specialdates/addevent/AddEventModule.kt | alexstyl | 66,690,455 | false | null | package com.alexstyl.specialdates.addevent
import android.content.ContentResolver
import android.content.Context
import com.alexstyl.specialdates.CrashAndErrorTracker
import com.alexstyl.specialdates.Strings
import com.alexstyl.specialdates.analytics.Analytics
import com.alexstyl.specialdates.date.DateLabelCreator
imp... | 0 | Java | 49 | 211 | d224f0af53ee3d4ecadad5df0a2731e2c9031a23 | 2,842 | Memento-Calendar | MIT License |
app/src/main/java/eu/kanade/tachiyomi/ui/reader/setting/OrientationType.kt | JellyKidd | 353,904,727 | true | {"Kotlin": 1738201} | package eu.kanade.tachiyomi.ui.reader.setting
import android.content.pm.ActivityInfo
import android.content.res.Configuration
import android.content.res.Resources
import androidx.annotation.DrawableRes
import androidx.annotation.StringRes
import eu.kanade.tachiyomi.R
import eu.kanade.tachiyomi.util.lang.next
enum cla... | 0 | null | 0 | 0 | ff369010074b058bb734ce24c66508300e6e9ac6 | 2,014 | tachiyomi | Apache License 2.0 |
app/src/main/java/com/gaurav/pokemon/ui/main/ViewPagerAdapter.kt | gau4sar | 400,800,306 | false | null | package com.gaurav.pokemon.ui.main
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentManager
import androidx.lifecycle.Lifecycle
import androidx.viewpager2.adapter.FragmentStateAdapter
import com.gaurav.pokemon.ui.main.screens.*
import timber.log.Timber
private const val TOTAL_TABS = 4
class... | 0 | Kotlin | 0 | 1 | a6beb5f981bf33972b4af80c30f92040756eb2f9 | 880 | Pokemon-android | Apache License 2.0 |
petcare-sample/b2c/mobile-app/petcare-with-sdk/app/src/main/java/com/wso2_sample/api_auth_sample/util/navigation/NavigationViewModel.kt | wso2 | 113,807,615 | false | {"Maven POM": 82, "Markdown": 84, "Text": 13, "Ignore List": 18, "YAML": 7, "Java": 267, "Java Server Pages": 98, "CSS": 230, "JAR Manifest": 2, "XML": 364, "SVG": 67, "JavaScript": 444, "Microsoft Visual Studio Solution": 4, "C#": 114, "ASP.NET": 28, "Ruby": 1, "OpenStep Property List": 16, "Swift": 11, "JSON": 135, "... | /*
* Copyright (c) 2024, WSO2 LLC. (https://www.wso2.com).
*
* WSO2 LLC. licenses this file to you 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... | 46 | JavaScript | 226 | 77 | df5f0d37169fd966cbc0c4c68a47f11ebec77a77 | 1,505 | samples-is | Apache License 2.0 |
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/waf/CfnIPSetDsl.kt | F43nd1r | 643,016,506 | false | null | package com.faendir.awscdkkt.generated.services.waf
import com.faendir.awscdkkt.AwsCdkDsl
import javax.`annotation`.Generated
import kotlin.String
import kotlin.Unit
import software.amazon.awscdk.services.waf.CfnIPSet
import software.amazon.awscdk.services.waf.CfnIPSetProps
import software.constructs.Construct
@Gener... | 1 | Kotlin | 0 | 0 | e9a0ff020b0db2b99e176059efdb124bf822d754 | 807 | aws-cdk-kt | Apache License 2.0 |
plugins/base-plugin/src/main/kotlin/io/github/gmazzo/codeowners/CodeOwnersPlugin.kt | gmazzo | 575,122,672 | false | {"Kotlin": 104744, "Java": 3485} | package io.github.gmazzo.codeowners
import com.android.build.api.artifact.ScopedArtifact
import com.android.build.api.variant.ScopedArtifacts
import io.github.gmazzo.codeowners.KotlinSupport.Companion.codeOwnersSourceSetName
import org.gradle.api.Action
import org.gradle.api.Plugin
import org.gradle.api.Project
import... | 0 | Kotlin | 0 | 4 | e009d3b5e85af20923463d96cff163291fceec89 | 8,366 | gradle-codeowners-plugin | MIT License |
dsl/src/main/kotlin/cloudshift/awscdk/dsl/services/cloudfront/CfnStreamingDistributionStreamingDistributionConfigPropertyDsl.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package cloudshift.awscdk.dsl.services.cloudfront
import cloudshift.awscdk.common.CdkDslMarker
import kotlin.Boolean
import kotlin.String
impo... | 1 | Kotlin | 0 | 0 | 17c41bdaffb2e10d31b32eb2282b73dd18be09fa | 5,781 | awscdk-dsl-kotlin | Apache License 2.0 |
app/src/main/java/br/com/nicolas/buscanome/data/response/ResponseSearchName.kt | aleixo-dev | 589,386,968 | false | {"Kotlin": 22775} | package br.com.nicolas.buscanome.data.response
import com.google.gson.annotations.SerializedName
class ResponseSearchName : ArrayList<ResponseSearchNameItem>() | 0 | Kotlin | 0 | 0 | cda70d802b6ed9705724973a80e020e2ee734aa6 | 162 | SearchName | Apache License 2.0 |
core-aide-processor/src/main/kotlin/CoreAideProcessor.kt | duckie-team | 523,387,054 | false | null | /*
* Designed and developed by Duckie Team 2023.
*
* Licensed under the MIT.
* Please see full license: https://github.com/duckie-team/quack-quack-android/blob/2.x.x/LICENSE
*/
import com.google.devtools.ksp.processing.CodeGenerator
import com.google.devtools.ksp.processing.KSPLogger
import com.google.devtools.ks... | 16 | Kotlin | 4 | 37 | fb8481e083809c3f63922a380137b48e0a0142e5 | 1,982 | quack-quack-android | MIT License |
mokkery-runtime/src/commonMain/kotlin/dev/mokkery/internal/tracing/CallTrace.kt | lupuuss | 652,785,006 | false | null | package dev.mokkery.internal.tracing
import dev.mokkery.internal.callToString
internal data class CallTrace(
val receiver: String,
val name: String,
val args: List<CallArg>,
val orderStamp: Long,
) {
override fun toString(): String = callToString(receiver, name, args)
}
| 0 | Kotlin | 0 | 21 | 9aa3ba8df9713c56e9de8f80e00c1bf9082ff83f | 294 | Mokkery | Apache License 2.0 |
cache/src/main/java/com/lekaha/simpletube/cache/db/Db.kt | lekaha | 122,983,306 | false | null | package com.lekaha.simpletube.cache.db
/**
* This class defines the tables found within the application Database. All table
* definitions should contain column names and a sequence for creating the table.
*/
object Db {
object SimpletubeTable {
const val TABLE_NAME = "simpletubes"
const val SI... | 0 | Kotlin | 1 | 2 | 6ee542991cb6d960e30c37b9b279a4f76c37b238 | 1,093 | youtube-like-video-player | MIT License |
cqrslite-core/src/main/kotlin/cqrslite/core/OutboxDisabled.kt | knirkefritt | 776,716,335 | false | {"Kotlin": 89246} | package cqrslite.core
class OutboxDisabled : Outbox {
override suspend fun save(events: Iterable<Event>) {
}
override suspend fun publish() {
}
}
| 0 | Kotlin | 0 | 0 | 9fd88e0adc27dfbc3391934b832694ed67f07825 | 164 | cqrs-lite | Apache License 2.0 |
datalayer/sample/wear/src/main/java/com/google/android/horologist/datalayer/sample/screens/nodes/SampleDataService.kt | google | 451,563,714 | false | {"Kotlin": 3151160, "Shell": 5169, "Java": 708, "Starlark": 361} | /*
* Copyright 2023 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... | 16 | Kotlin | 93 | 565 | bde87db14f63338904550fc1827d0141ebe24d9a | 1,021 | horologist | Apache License 2.0 |
app/src/main/java/com/chocolate/tic_tac_toe/domain/model/Player.kt | team-chocolate-cake | 665,237,715 | false | null | package com.chocolate.tic_tac_toe.domain.model
data class Player(
val id: String = "",
val name: String = "",
val previousNames: List<String>? = null,
val score: Int = 0,
val symbol: String? = null,
val imageUrl: String = "",
val waiting: Boolean = false,
) | 0 | Kotlin | 3 | 1 | 83bb08ac0452db68afaf9bbf97df9f9ff71811d2 | 286 | Tic-Tac-Toe | MIT License |
mapview/src/test/java/com/peterlaurence/mapview/layout/controller/RotationUtilsTest.kt | thenghiapham | 291,764,899 | true | {"Kotlin": 134870} | package com.peterlaurence.mapview.layout.controller
import com.peterlaurence.mapview.util.modulo
import org.junit.Assert.assertEquals
import org.junit.Test
class RotationUtilsTest {
@Test
fun moduloTest() {
val angle = 365f
assertEquals(5f, angle.modulo())
val angle2 = -5f
ass... | 0 | null | 0 | 0 | 4c3b8bb528d97c3c17b4843af7d254b36ecfe95f | 569 | MapView | Apache License 2.0 |
module_category/src/main/java/com/moyoi/module_category/api/CategoryApi.kt | leo0228 | 392,571,636 | false | null | package com.moyoi.module_category.api
import com.moyoi.library_common.bean.ArticleListData
import com.moyoi.library_common.bean.TreeListData
import com.moyoi.library_common.bean.WebsiteListData
import com.moyoi.module_category.bean.NaviListData
import retrofit2.http.GET
import retrofit2.http.Path
import retrofit2.http... | 1 | null | 1 | 1 | 785cd0feaef8cc82b2e2d1eddf08582ecb2acd04 | 1,257 | Kotlin_WanAndroid | Apache License 2.0 |
Oxygen/bukkit/src/main/kotlin/cc/fyre/stark/engine/scoreboard/ScoreboardThread.kt | AndyReckt | 364,514,997 | false | {"Java": 12055418, "Kotlin": 766337, "Shell": 5518} | /*
* Copyright (c) 2020.
* Created by YoloSanta
* Created On 10/22/20, 1:23 AM
*/
package cc.fyre.stark.engine.scoreboard
import cc.fyre.stark.Stark
class ScoreboardThread : Thread("stark - Scoreboard Thread") {
init {
this.isDaemon = true
}
override fun run() {
while (true) {
... | 1 | null | 1 | 1 | 200501c7eb4aaf5709b4adceb053fee6707173fa | 808 | Old-Code | Apache License 2.0 |
src/main/kotlin/uk/ac/warwick/camcat/search/documents/Module.kt | lol768 | 229,056,652 | false | null | package uk.ac.warwick.camcat.search.documents
import org.springframework.data.annotation.Id
import org.springframework.data.elasticsearch.annotations.Document
import org.springframework.data.elasticsearch.annotations.Field
import org.springframework.data.elasticsearch.annotations.FieldType.*
import org.springframework... | 0 | Kotlin | 1 | 0 | a300390c009e58e33eec832ca46cc910d171fcf1 | 1,480 | course-module-catalogue | ISC License |
j2k/testData/fileOrElement/misc/packageWithClass.kt | JakeWharton | 99,388,807 | false | null | package test
internal class C | 0 | null | 28 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 30 | kotlin | Apache License 2.0 |
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsauditapi/jpa/AuthEmailAddressRepository.kt | ministryofjustice | 340,068,469 | false | {"Kotlin": 144093, "Mustache": 1803, "Dockerfile": 1436} | package uk.gov.justice.digital.hmpps.hmppsauditapi.jpa
import org.springframework.data.repository.CrudRepository
import org.springframework.stereotype.Repository
import uk.gov.justice.digital.hmpps.hmppsauditapi.jpa.model.AuthEmailAddress
@Repository
interface AuthEmailAddressRepository : CrudRepository<AuthEmailAddr... | 0 | Kotlin | 2 | 0 | afe5f7a100282a85030b19baf733fab05243e23d | 409 | hmpps-audit-api | MIT License |
application/src/main/kotlin/dev/hypest/pis/restaurants/infrastructure/db/activeorder/MicronautDataActiveOrderRepository.kt | PIS22Z | 557,250,063 | false | {"Kotlin": 118874, "Groovy": 79090, "Dockerfile": 145} | package dev.hypest.pis.restaurants.infrastructure.db.activeorder
import io.micronaut.data.mongodb.annotation.MongoRepository
import io.micronaut.data.repository.CrudRepository
import java.util.UUID
@MongoRepository
interface MicronautDataActiveOrderRepository : CrudRepository<ActiveOrderEntity, UUID>
| 0 | Kotlin | 0 | 0 | a5eab87108f49a6355362682b94b7c49d5dd421b | 304 | backend | MIT License |
STAWSDashboard/STAWSDataUI/src/main/java/com/st/assetTracking/data/ui/genericDataUI/GenericDataPlotAdapter.kt | STMicroelectronics | 215,806,141 | false | null | package com.st.assetTracking.data.ui.genericDataUI
import android.annotation.SuppressLint
import android.content.Context
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageButton
import androidx.cardview.widget.CardView
import androidx.core.content.Cont... | 0 | null | 3 | 4 | 7d15d68a7b0e94baa69a2632ae3de37fb32178a8 | 10,788 | STAssetTracking_Android | The Unlicense |
android/app/src/main/kotlin/com/example/dapp_todo_list/MainActivity.kt | MazenBaShammakh | 435,627,824 | false | {"Dart": 34929, "HTML": 3863, "Solidity": 1267, "JavaScript": 688, "Swift": 404, "Kotlin": 131, "Objective-C": 38} | package com.example.dapp_todo_list
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 0 | 1 | 61322156bec9e170743c6f65935840933a280051 | 131 | Todo-Dapp | MIT License |
godot-kotlin/godot-library/src/nativeGen/kotlin/godot/PackedDataContainerRef.kt | utopia-rise | 238,721,773 | false | {"Kotlin": 655494, "Shell": 171} | // THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY! ALL CHANGES TO IT WILL BE OVERWRITTEN ON EACH BUILD
package godot
import godot.core.Variant
import godot.core.VariantArray
import godot.icalls._icall_Long
import godot.internal.utils.getMethodBind
import kotlin.Boolean
import kotlin.Long
import kotlin.NotImplementedE... | 17 | Kotlin | 17 | 286 | 8d51f614df62a97f16e800e6635ea39e7eb1fd62 | 1,100 | godot-kotlin-native | MIT License |
components/bridge/connection/sample/src/main/kotlin/com/flipperdevices/bridge/connection/screens/nopermission/ConnectionNoPermissionDecomposeComponent.kt | flipperdevices | 288,258,832 | false | {"Kotlin": 4167715, "FreeMarker": 10352, "CMake": 1780, "C++": 1152, "Fluent": 21} | package com.flipperdevices.bridge.connection.screens.nopermission
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding
import androidx.compose.material.Text
import androidx.compose.runtime.Composable
import androidx.compos... | 21 | Kotlin | 174 | 1,528 | 8f293e596741a6c97409acbc8de10c7ae6e8d8b0 | 1,063 | Flipper-Android-App | MIT License |
network/src/main/java/app/allever/android/lib/network/demo/WanAndroidApi.kt | devallever | 446,030,743 | false | null | package app.allever.android.lib.network.demo
import retrofit2.Call
import retrofit2.http.GET
internal interface WanAndroidApi {
@GET("banner/json")
suspend fun getBanner(): BaseResponse<List<BannerData>>
@GET("banner/json")
suspend fun getBannerForJava(): BaseResponse<*>
@GET("banner/json")
... | 1 | null | 8 | 52 | b5ec21078c8a6f509822c763fc90d6106b64bde3 | 380 | AndroidBaseLibs | Apache License 2.0 |
src/lib/kotlin/slatekit-common/src/main/kotlin/slatekit/common/ContentType.kt | agaro1121 | 128,481,943 | true | {"Kotlin": 1591579, "Scala": 1124254, "Batchfile": 17450, "Shell": 8834, "Java": 1758, "Swift": 1555, "HTML": 303, "CSS": 35, "JavaScript": 28} | package slatekit.common
open class ContentType(
val http:String,
val ext:String
)
object ContentTypeCsv : ContentType("text/csv" , "csv" )
object ContentTypeHtml : ContentType("text/html" , "html")
object ContentTypeJson : ContentType("application/json", "json")
object ContentTypeText : Content... | 0 | Kotlin | 0 | 0 | 8a9257a8c789bd0383370916f66c8f830e60125c | 482 | slatekit | Apache License 2.0 |
module_mine/src/main/java/com/czl/module_mine/adapter/MyCoursesItemAdapter.kt | pigletzzzzzz | 516,985,475 | false | {"Kotlin": 493202, "Java": 145125} | package com.czl.module_mine.adapter
import androidx.recyclerview.widget.DiffUtil
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseDataBindingHolder
import com.czl.lib_base.config.AppConstants
import com.czl.lib_base.data.bean.MyCoursesBean
import com.czl.lib_bas... | 0 | Kotlin | 0 | 0 | 6873534f466284d99f4b183e6dd5e60d7770543e | 1,594 | XPZX-New_Kotlin | Apache License 2.0 |
3142.Check if Grid Satisfies Conditions.kt | sarvex | 842,260,390 | false | {"Kotlin": 1775678, "PowerShell": 418} | internal class Solution {
fun satisfiesConditions(grid: Array<IntArray>): Boolean {
val m = grid.size
val n = grid[0].size
for (i in 0 until m) {
for (j in 0 until n) {
if (i + 1 < m && grid[i][j] != grid[i + 1][j]) {
return false
}
if (j + 1 < n && grid[i][j] == gr... | 0 | Kotlin | 0 | 0 | 71f5d03abd6ae1cd397ec4f1d5ba04f792dd1b48 | 405 | kotlin-leetcode | MIT License |
Aula3/AndroidProject04/app/src/main/java/com/example/androidproject04/MainActivity.kt | Brendhon | 487,375,473 | false | null | package com.example.androidproject04
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android.view.Menu
import android.view.MenuInflater
import android.view.MenuItem
import android.widget.Toast
import com.firebase.ui.auth.AuthUI
import com.firebase.ui.auth.Firebas... | 0 | Kotlin | 0 | 0 | d543c58480e6369495b25d3b094c56828a12cb64 | 4,763 | DM125 | MIT License |
app/src/main/java/id/teman/app/mitra/MyFirebasemessagingService.kt | RifqiFadhell | 681,463,824 | false | null | package id.teman.app.mitra
import android.app.NotificationChannel
import android.app.NotificationManager
import android.app.PendingIntent
import android.content.ContentResolver
import android.content.Context
import android.content.Intent
import android.media.AudioAttributes
import android.media.RingtoneManager
import ... | 0 | Kotlin | 0 | 0 | 61a520bd14c97efcef108b0576760108f3f4a687 | 5,228 | Teman-App-Mitra-Mobile | Apache License 2.0 |
shared-domain/src/main/kotlin/dev/programadorthi/shared/domain/report/CrashReport.kt | programadorthi | 352,469,479 | false | null | package dev.programadorthi.shared.domain.report
interface CrashReport {
fun report(message: String, cause: Throwable)
}
| 0 | Kotlin | 1 | 23 | f62cb1811621ec328c567bbe6bd61b02890ad46a | 125 | android-super-app | MIT License |
kotlin/src/test/kotlin/AoC_Day10_Tests.kt | sviams | 115,921,582 | false | null | import org.jetbrains.spek.api.Spek
import org.jetbrains.spek.api.dsl.given
import org.jetbrains.spek.api.dsl.it
import kotlin.test.assertEquals
class AoC_Day10_Tests : Spek({
val initialTaskState = (0..255).toList()
val task = "147,37,249,1,31,2,226,0,161,71,254,243,183,255,30,70"
given("AoC Day 10 part ... | 0 | Kotlin | 0 | 0 | 19a665bb469279b1e7138032a183937993021e36 | 1,568 | aoc17 | MIT License |
platform/workspaceModel/storage/src/com/intellij/workspaceModel/storage/impl/indices/EntityStorageInternalIndex.kt | DaemonUmbra | 133,190,083 | false | null | // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.workspaceModel.storage.impl.indices
import com.intellij.util.containers.BidirectionalMap
import com.intellij.workspaceModel.storage.impl.EntityId
import com.... | 1 | null | 1 | 1 | 0d82e6469c5a8ebd71a58447dd6c11c8e9660f3f | 1,691 | intellij-community | Apache License 2.0 |
app/src/main/java/com/kekulta/events/presentation/formatters/EventDetailsFormatter.kt | kekulta | 817,411,794 | false | {"Kotlin": 317565} | package com.kekulta.events.presentation.formatters
import com.kekulta.events.domain.models.base.EventModel
import com.kekulta.events.domain.models.base.UserModel
import com.kekulta.events.domain.models.pagination.Page
import com.kekulta.events.presentation.ui.models.EventDetailsVo
import com.kekulta.events.presentatio... | 0 | Kotlin | 0 | 7 | b2b08eb781e27927354109d638d89c76ffe024be | 1,657 | Events | MIT License |
app/src/main/java/com/gracedian/explorebojonegoro/ui/dashboard/home/adapter/CategoryAdapter.kt | rikoarik | 724,154,798 | false | {"Kotlin": 347415} | package com.gracedian.explorebojonegoro.ui.dashboard.home.adapter
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.bumptech.glide.Glide
import com.gracedia... | 0 | Kotlin | 0 | 1 | 9bd4b5b425a273b5f744cf7c34cb05534d60bc2e | 1,423 | ExploreBojonegoro | MIT License |
slidingpanelayout/slidingpanelayout/src/androidTest/java/androidx/slidingpanelayout/widget/SlidingPaneLayoutAccessibilityTest.kt | dlam | 349,503,567 | true | {"Kotlin": 85619949, "Java": 66126760, "C++": 9098915, "AIDL": 565441, "Python": 303882, "Shell": 177376, "TypeScript": 28785, "HTML": 22691, "ANTLR": 19860, "C": 16935, "Svelte": 14539, "CMake": 14329, "GLSL": 3842, "Swift": 3153, "JavaScript": 1571} | /*
* Copyright 2023 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 0 | Kotlin | 0 | 2 | 227f90101ca6a96e0891ffab3455ae5e7dfe2437 | 4,875 | androidx | Apache License 2.0 |
core/design-system/src/main/java/tech/thdev/githubusersearch/design/system/GitScaffoldComponent.kt | taehwandev | 141,778,287 | false | null | package tech.thdev.githubusersearch.design.system
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.WindowInsets
import androidx.compose.foundation.layout.padding
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Scaffold
import androidx.compose.mat... | 1 | null | 1 | 27 | 5a33cc8a646fe34eaa517a38485c047802bc581d | 1,958 | GithubUserSearch | Apache License 2.0 |
app/src/main/java/com/example/chart/GeneratePass2.kt | Iamsdt | 187,832,967 | false | null | package com.example.chart
import android.content.Intent
import android.os.Bundle
import android.view.MenuItem
import android.view.View
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import cc.duduhuo.util.digest.Digest
import com.example.chart.db.DbHelper
import com.example.chart.db.MyTabl... | 0 | Kotlin | 0 | 0 | 06ef64788e3e2d21265df639f5d5ac96166e680b | 11,263 | Chart | Apache License 2.0 |
src/main/kotlin/no/nav/helse/sporing/SporingApplication.kt | navikt | 351,385,328 | false | {"JavaScript": 207956, "Kotlin": 64430, "HTML": 5321, "Dockerfile": 168, "CSS": 73} | package no.nav.helse.sporing
import com.github.navikt.tbd_libs.azure.createAzureTokenClientFromEnvironment
import com.zaxxer.hikari.HikariConfig
import com.zaxxer.hikari.HikariDataSource
import no.nav.helse.rapids_rivers.RapidApplication
import no.nav.helse.rapids_rivers.RapidsConnection
import org.flywaydb.core.Flywa... | 0 | JavaScript | 0 | 0 | 44f627ce681c5713ffb00eae2f1efd0870e4629d | 2,833 | helse-sporing | MIT License |
core/src/io/github/suitougreentea/various_minos_trois/Pos.kt | suitougreentea | 57,186,513 | false | {"Gradle": 4, "INI": 1, "Shell": 1, "Text": 12, "Ignore List": 2, "Batchfile": 1, "Markdown": 2, "Kotlin": 42, "JSON": 2, "Java Properties": 1, "Java": 1} | package io.github.suitougreentea.various_minos_trois
data class Pos(val x: Int, val y: Int)
| 0 | Kotlin | 0 | 2 | 9125be4b032c2601e4bd3b444a5eee21e61259ac | 93 | VariousMinosTrois | MIT License |
kotlin-insight-client/kotlin-insight-client-api/src/main/kotlin/com/linkedplanet/kotlininsightclient/api/error/InsightClientError.kt | linked-planet | 602,453,377 | false | null | /*-
* #%L
* kotlin-jira-client-api
* %%
* Copyright (C) 2022 - 2023 linked-planet GmbH
* %%
* 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/LIC... | 0 | Kotlin | 0 | 1 | 1c6f6cb0dcd4c47af35cad7f3be1df39f0794c42 | 3,618 | kotlin-atlassian-client | Apache License 2.0 |
app/src/main/java/com/eldenbuild/ui/builds_overview_fragment/OverviewRecyclerAdapter.kt | JohnnyRoque | 725,274,633 | false | {"Kotlin": 102808} | package com.eldenbuild.ui.builds_overview_fragment
import android.content.Context
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.eldenbuild.R
import... | 0 | Kotlin | 0 | 0 | 052d3f39d8e1686a6d93141e65344c8690e188b8 | 3,942 | EldenBuild | MIT License |
core/src/commonMain/kotlin/dev/brella/ktornea/spotify/data/tracks/collections/SpotifyTrackAudioFeatureCollection.kt | UnderMybrella | 628,495,061 | false | null | package dev.brella.ktornea.spotify.data.tracks.collections
import dev.brella.ktornea.spotify.data.tracks.SpotifyTrackAudioFeatures
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
public data class SpotifyTrackAudioFeatureCollection(
@SerialName("audio_features")
... | 0 | Kotlin | 0 | 1 | b56c46c58629cf28ca1c14c3529615eed925f625 | 431 | ktornea-spotify | MIT License |
plugins/kotlin/j2k/shared/tests/testData/newJ2k/detectProperties/GetterWithSideEffect6.kt | JetBrains | 2,489,216 | false | null | class C {
private val myX = ""
val x: String
get() {
println("getter invoked")
return myX
}
}
| 284 | null | 5162 | 16,707 | def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0 | 143 | intellij-community | Apache License 2.0 |
app/src/main/java/ru/magflayer/spectrum/data/repository/AnalyticsRepositoryImpl.kt | IlyaPavlik | 663,895,085 | false | null | package ru.magflayer.spectrum.data.repository
import android.content.Context
import android.os.Bundle
import androidx.core.os.bundleOf
import com.google.firebase.analytics.FirebaseAnalytics
import dagger.hilt.android.qualifiers.ApplicationContext
import ru.magflayer.spectrum.domain.repository.AnalyticsRepository
impor... | 0 | Kotlin | 0 | 0 | 8e818801a5b28817951a8e949a2a47e37eeb726b | 1,051 | spectrum | Apache License 2.0 |
samples/standalone/src/main/kotlin/org/jetbrains/jewel/samples/standalone/StandaloneSampleIcons.kt | JetBrains | 440,164,967 | false | {"Kotlin": 1615027, "Java": 22778, "Shell": 361} | package org.jetbrains.jewel.samples.standalone
import org.jetbrains.jewel.ui.icon.PathIconKey
object StandaloneSampleIcons {
val componentsMenu = PathIconKey("icons/structure.svg", StandaloneSampleIcons::class.java)
val gitHub = PathIconKey("icons/github.svg", StandaloneSampleIcons::class.java)
val jewelL... | 94 | Kotlin | 39 | 722 | e0e6f1b4a46ca1c27ce1c13524ff11f75a2bed54 | 2,766 | jewel | Apache License 2.0 |
src/main/kotlin/ru/coding4fun/intellij/database/generation/security/ServerAuditSpecificationGenerator.kt | scrappyCoco | 201,919,288 | false | null | package ru.coding4fun.intellij.database.generation.security
import ru.coding4fun.intellij.database.extension.addCommaWithNewLineScope
import ru.coding4fun.intellij.database.extension.appendJbLn
import ru.coding4fun.intellij.database.generation.ScriptGeneratorBase
import ru.coding4fun.intellij.database.model.property.s... | 0 | Kotlin | 2 | 1 | 1408f2a9229dbdf9ad99966faa5e7a5b74786270 | 2,259 | SQL-Server-Administration-Tool | Apache License 2.0 |
app/src/main/java/com/ziggeo/androidsdk/demo/presentation/recordings/RecordingsView.kt | Ziggeo | 44,632,250 | false | {"Kotlin": 183047} | package com.ziggeo.androidsdk.demo.presentation.recordings
import com.arellomobile.mvp.viewstate.strategy.SkipStrategy
import com.arellomobile.mvp.viewstate.strategy.StateStrategyType
import com.ziggeo.androidsdk.demo.presentation.global.BaseView
import com.ziggeo.androidsdk.net.models.ContentModel
/**
* Created by... | 5 | Kotlin | 5 | 8 | 0609cda01b8dca9a876732f565974ffee1560808 | 882 | android-sdk-demo | Apache License 2.0 |
app/src/main/java/com/example/fitness_app/other/Constants.kt | VitorCezila | 344,588,780 | false | null | package com.example.fitness_app.other
object Constants {
const val RUNNING_DATABASE_NAME = "running_db"
} | 0 | Kotlin | 0 | 0 | 535e3f746f3d01d90d906d67645e6dbafe75aed4 | 112 | fitness-app | MIT License |
app/src/main/kotlin/api/dto/ArbeidsgiverRepresentantDTO.kt | navikt | 507,925,918 | false | null | package api.dto
import kotlinx.serialization.Serializable
@Serializable
data class ArbeidsgiverRepresentantDTO(
val orgnr: String,
)
| 1 | Kotlin | 0 | 0 | 7be93b652f2b17015e158def73225abdbfb408c4 | 139 | forebyggingsplan | MIT License |
app/src/main/java/com/example/taskmanagerappmad/TaskRepository.kt | lahirurupa | 802,392,844 | false | {"Kotlin": 15284} | package com.example.taskmanagerappmad
import androidx.lifecycle.LiveData
class TaskRepository(private val taskDao: TaskDao) {
val allTasks: LiveData<List<Task>> = taskDao.getAllTasks()
suspend fun insert(task: Task) {
taskDao.insert(task)
}
suspend fun update(task: Task) {
taskDao.upd... | 0 | Kotlin | 0 | 0 | 56258d6676c5ae92a2248fab0358226796c345c1 | 703 | MAD_Lab_Exam04 | MIT License |
characters/src/main/java/com/marvel/example/characters/presentation/CharactersActivity.kt | kuuuurt | 189,821,980 | false | null | package com.marvel.example.characters.presentation
import android.view.View
import androidx.lifecycle.Observer
import androidx.lifecycle.ViewModelProviders
import androidx.recyclerview.widget.RecyclerView
import androidx.swiperefreshlayout.widget.SwipeRefreshLayout
import com.marvel.example.characters.R
import com.mar... | 0 | Kotlin | 2 | 11 | 88ccaa82b768f2f534dd44eb1ce72779e1cc6724 | 3,058 | android-example-marvel-characters | Apache License 2.0 |
app/src/main/java/com/arm/peliondevicemanagement/services/store/CompletedWorkflowDataSource.kt | ameerirsh | 310,142,487 | true | {"Kotlin": 524618, "Java": 7898} | /*
* Copyright 2020 ARM Ltd.
* SPDX-License-Identifier: Apache-2.0
*
* 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... | 0 | null | 0 | 1 | c32f4e24bdcd9a99df7d98f50427932c4cf2ecd0 | 4,559 | peliondevicemanagement-for-android | Apache License 2.0 |
core/src/main/kotlin/com/malinskiy/marathon/report/timeline/TimelineSummaryProvider.kt | MarathonLabs | 129,365,301 | false | null | package com.malinskiy.marathon.report.timeline
import com.malinskiy.marathon.analytics.internal.sub.ExecutionReport
import com.malinskiy.marathon.analytics.internal.sub.TestEvent
import com.malinskiy.marathon.execution.TestStatus
import com.malinskiy.marathon.log.MarathonLogging
class TimelineSummaryProvider {
va... | 66 | null | 89 | 328 | 77271f081c04093134d8d6ed77e380afd0a362a4 | 5,342 | marathon | Apache License 2.0 |
app/src/main/java/com/hsf1002/sky/wanandroid/ui/fragment/HomeFragment.kt | hafitzrizki | 129,183,302 | false | null | package com.hsf1002.sky.wanandroid.ui.fragment
import android.content.Intent
import android.os.Bundle
import android.support.v4.widget.SwipeRefreshLayout
import android.support.v7.widget.LinearLayoutManager
import android.support.v7.widget.PagerSnapHelper
import android.support.v7.widget.RecyclerView
import android.vi... | 0 | Kotlin | 0 | 0 | 9cf96fc9d6bcfade72d1f94046bde7373b7d038d | 12,684 | WanAndroid | Apache License 2.0 |
core/src/main/kotlin/com/gitlab/kordlib/core/event/guild/BanAddEvent.kt | 7u4 | 273,437,328 | true | {"Kotlin": 739666} | package com.gitlab.kordlib.core.event.guild
import com.gitlab.kordlib.common.entity.Snowflake
import com.gitlab.kordlib.common.exception.RequestException
import com.gitlab.kordlib.core.Kord
import com.gitlab.kordlib.core.behavior.GuildBehavior
import com.gitlab.kordlib.core.entity.Guild
import com.gitlab.kordlib.core.... | 0 | null | 0 | 0 | 2b896207e8aee3bf79455359a70b6f0ac7c32be5 | 1,652 | kord | MIT License |
app/src/main/java/com/example/stufffmanager/logic/network/PassAttendance.kt | Aliceweizhentian | 856,875,660 | false | {"Kotlin": 43099} | package com.example.stufffmanager.logic.network
import com.example.stufffmanager.logic.model.CheckAttendanceResponse
import retrofit2.Call
import retrofit2.http.Body
import retrofit2.http.PUT
import retrofit2.http.Path
interface PassAttendance {
@PUT("/staff/attendance/updateAttendanceOk/{id}")
fun passAttend... | 0 | Kotlin | 0 | 0 | d0cc719923375648371cd389e4130d9f3349934d | 382 | StuffManagerApp | Apache License 2.0 |
demo/src/main/java/com/sokarcreative/demo/models/Category.kt | sokarcreative | 109,137,581 | false | null | package com.sokarcreative.demo.models
import androidx.annotation.StringRes
import com.sokarcreative.demo.R
enum class Category {
HORROR,
THRILLER,
}
@StringRes
fun Category.titleStringRes(): Int = when (this) {
Category.HORROR -> R.string.horror
Category.THRILLER -> R.string.thriller
} | 0 | Kotlin | 0 | 7 | 3c36629508197c330951e97c4a3d4b755d3c6fb1 | 305 | BasicStuffRecyclerview | Apache License 2.0 |
dsl/camel-kotlin-api/src/generated/kotlin/org/apache/camel/kotlin/components/SolrUriDsl.kt | imolainformatica | 685,616,179 | true | {"Batchfile": 4, "Markdown": 27, "Java": 21826, "Java Properties": 1074, "INI": 17, "HTML": 151, "Shell": 18, "Ruby": 1, "SQL": 38, "Apex": 3, "JavaScript": 32, "Rust": 1, "CSS": 2, "Kotlin": 498, "Dockerfile": 4} | /*
* 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 2.0
* (the "License"); you may ... | 0 | Java | 0 | 0 | a1144f1e8736546a8f87d3c0bca9c8f2d9a070d6 | 9,593 | camel | Apache License 2.0 |
dsl/camel-kotlin-api/src/generated/kotlin/org/apache/camel/kotlin/components/SolrUriDsl.kt | imolainformatica | 685,616,179 | true | {"Batchfile": 4, "Markdown": 27, "Java": 21826, "Java Properties": 1074, "INI": 17, "HTML": 151, "Shell": 18, "Ruby": 1, "SQL": 38, "Apex": 3, "JavaScript": 32, "Rust": 1, "CSS": 2, "Kotlin": 498, "Dockerfile": 4} | /*
* 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 2.0
* (the "License"); you may ... | 0 | Java | 0 | 0 | a1144f1e8736546a8f87d3c0bca9c8f2d9a070d6 | 9,593 | camel | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.