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/android/project/auction/presentation/auth/AuthUIEvent.kt | RavanSA | 515,232,661 | false | {"Kotlin": 429676} | package android.project.auction.presentation.auth
sealed class AuthUiEvent {
data class SignUpUsernameChanged(val value: String) : AuthUiEvent()
data class SignUpFullNameChanged(val value: String) : AuthUiEvent()
data class SignUpPasswordChanged(val value: String) : AuthUiEvent()
data class SignUpRepe... | 0 | Kotlin | 1 | 3 | c5914b4870d6b004152c45d6d41d7bd6c99eb9e6 | 688 | AuctionProject | MIT License |
safearea/src/commonMain/kotlin/moe/tlaster/safearea/SafeArea.kt | Tlaster | 513,815,888 | false | null | package moe.tlaster.safearea
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.WindowInsets... | 1 | null | 1 | 9 | 5e8046e6457e0e1439f27af6747c06c557b6af84 | 3,499 | SafeArea | MIT License |
extensions/colormath-ext-jetpack-compose/src/androidUnitTest/kotlin/com/github/ajalt/colormath/extensions/android/colorint/ComposeColorExtensionsTest.kt | ajalt | 139,778,270 | false | {"Kotlin": 323562, "Python": 4897, "Shell": 1192, "HTML": 324} | package com.github.ajalt.colormath.extensions.android.colorint
import androidx.compose.ui.graphics.Color
import org.junit.Assert.*
import org.junit.runner.RunWith
import org.robolectric.RobolectricTestRunner
import org.robolectric.annotation.Config
import com.github.ajalt.colormath.extensions.android.composecolor.toCo... | 2 | Kotlin | 19 | 281 | e401329f845d5efe0fb626f9455dd4fa598a8ccd | 1,048 | colormath | MIT License |
src/main/kotlin/xyz/bluspring/unitytranslate/client/transcribers/sphinx/SphinxSpeechTranscriber.kt | BluSpring | 846,158,300 | false | {"Kotlin": 191067, "JavaScript": 3803, "Java": 1612, "CSS": 847, "HTML": 705} | package xyz.bluspring.unitytranslate.client.transcribers.sphinx
import xyz.bluspring.unitytranslate.Language
import xyz.bluspring.unitytranslate.client.transcribers.SpeechTranscriber
class SphinxSpeechTranscriber(language: Language) : SpeechTranscriber(language) {
init {
throw IllegalStateException("Pocke... | 2 | Kotlin | 2 | 17 | 6f42e599190773c246f830b552cb24ac2e7e70b1 | 412 | UnityTranslate | MIT License |
src/main/kotlin/com/rickbusarow/ktrules/rules/internal/WrappingStyle.kt | RBusarow | 619,004,546 | false | null | /*
* Copyright (C) 2023 Rick Busarow
* 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 ... | 1 | Kotlin | 0 | 1 | dee8a12d94916972615314d879ef4a61a4b225a8 | 2,696 | ktrules | Apache License 2.0 |
domain/src/main/java/danggai/domain/network/checkin/repository/CheckInRepository.kt | danggai | 420,838,266 | false | null | package danggai.domain.network.checkin.repository
import danggai.domain.core.ApiResult
import danggai.domain.core.Repository
import danggai.domain.network.checkin.entity.CheckIn
import kotlinx.coroutines.flow.Flow
interface CheckInRepository: Repository {
suspend fun genshinImpact(
lang: String,
a... | 5 | null | 1 | 9 | 593ced62277665819bd71d97184c4e3eef2a9c9f | 640 | android_genshin_resin_widget | MIT License |
app/src/main/java/com/sergiobelda/androidtodometer/domain/repository/IProjectRepository.kt | serbelga | 245,540,004 | false | {"Kotlin": 173227} | /*
* Copyright 2022 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | 1 | Kotlin | 33 | 310 | 4ce465e3e494821a2c538898fc016e0984ad4b19 | 1,010 | ToDometer | Apache License 2.0 |
app/src/main/java/com/museum/barbershop/Adapter/ReviewAdapter.kt | PenguinThatFlies | 672,448,854 | false | null | package com.museum.barbershop.Adapter
import android.content.Context
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.museum.barbershop.Modul.ReviewData
import com.museum.barbershop.R
cl... | 0 | Kotlin | 0 | 0 | ad36c45b8eb722dfe25ea19b55c8b5ad80b6142d | 1,497 | MuseuM_BarberShop | MIT License |
src/test/kotlin/io/github/tcrawford/versioning/integration/MissingLocalBranchSpec.kt | tcrawford-figure | 707,752,444 | false | {"Kotlin": 113118, "Shell": 4590} | package io.github.tcrawford.versioning.integration
import io.github.tcrawford.versioning.reader.fetchVersion
import io.github.tcrawford.versioning.testkit.GradleProjectListener
import io.github.tcrawford.versioning.testkit.repositoryConfig
import io.github.tcrawford.versioning.util.GradleArgs
import io.github.tcrawfor... | 1 | Kotlin | 0 | 0 | fc93018819918d6a1d73609580496e67b75de3ae | 3,055 | semver-settings-plugin | MIT License |
src/main/kotlin/com/ginsberg/advent2021/Day01.kt | tginsberg | 432,766,033 | false | {"Kotlin": 92813} | /*
* Copyright (c) 2021 by Todd Ginsberg
*/
/**
* Advent of Code 2021, Day 1 - Sonar Sweep
* Problem Description: http://adventofcode.com/2021/day/1
* Blog Post/Commentary: https://todd.ginsberg.com/post/advent-of-code/2021/day1/
*/
package com.ginsberg.advent2021
class Day01(private val input: List<Int>) {
... | 0 | Kotlin | 2 | 34 | 8e57e75c4d64005c18ecab96cc54a3b397c89723 | 587 | advent-2021-kotlin | Apache License 2.0 |
lattekit-core/src/main/java/io/lattekit/view/LatteImageView.kt | maannajjar | 54,922,229 | false | null | package io.lattekit.view
import android.content.Context
import android.graphics.*
import android.graphics.drawable.Drawable
import android.view.View
import android.widget.ImageView
import com.bumptech.glide.Glide
import com.bumptech.glide.load.Key
/**
* Created by maan on 2/15/16.
*/
class LatteImageView : NativeVi... | 12 | Kotlin | 18 | 173 | bcc1e4e759c5be62db30b6398de63555c5b24726 | 5,568 | lattekit | MIT License |
src/main/kotlin/ffc.airsync.api/services/Sync.kt | ffc-nectec | 137,835,555 | false | {"Gradle": 2, "Procfile": 1, "Dockerfile": 1, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "EditorConfig": 1, "JSON": 12, "YAML": 2, "Markdown": 3, "Java Properties": 1, "Kotlin": 167, "Java": 1, "XML": 1} | package ffc.airsync.api.services
/**
* ให้ Dao ที่ต้องการความสามารถในการ Sync สืบทอด ในตอนนี้ใช้คู่กับ
* @see MongoSyncDao
*/
interface Sync<T> {
/**
* ใส่ข้อมูลพร้อมกับแป๊ะ Label block เอาไว้ด้วย
* @param block หมายเลข block
*/
fun insertBlock(orgId: String, block: Int, item: List<T>): List<... | 5 | Kotlin | 0 | 1 | 03c71b6edf2ebe8c246728a5f09700c8093a8edb | 862 | api | Apache License 2.0 |
app/src/main/java/id/ihwan/jetpackpro/data/source/local/FavoriteDatabase.kt | IhwanID | 192,184,316 | false | null | package id.ihwan.jetpackpro.data.source.local
import android.content.Context
import androidx.room.Database
import androidx.room.Room
import androidx.room.RoomDatabase
import id.ihwan.jetpackpro.data.source.remote.network.response.ResultsData
@Database(entities = [ResultsData::class], version = 1)
abstract class Favor... | 0 | Kotlin | 9 | 25 | 769bbe3e5a3e3566de12fbf6c759fa02c97912f9 | 1,032 | belajar-android-jetpack-pro | Apache License 2.0 |
src/main/kotlin/dev/psiae/mltoolbox/composeui/main/MainScreen.kt | Psiae | 874,299,111 | false | {"Kotlin": 404098} | package dev.psiae.mltoolbox.composeui.main
import androidx.compose.animation.animateColorAsState
import androidx.compose.animation.core.animateFloatAsState
import androidx.compose.animation.core.spring
import androidx.compose.animation.core.tween
import androidx.compose.foundation.*
import androidx.compose.foundation.... | 0 | Kotlin | 0 | 1 | 718322129c3c1d84ea286246d64f3912e9954c04 | 21,020 | MLToolBox | Apache License 2.0 |
features/home/home-impl/src/commonMain/kotlin/io/spherelabs/homeimpl/ui/HomeScreen.kt | getspherelabs | 687,455,894 | false | {"Kotlin": 702223, "Ruby": 6814, "Swift": 1167, "Shell": 226} | package io.spherelabs.homeimpl.ui
import androidx.compose.animation.animateColorAsState
import androidx.compose.animation.animateContentSize
import androidx.compose.animation.core.animateDp
import androidx.compose.animation.core.spring
import androidx.compose.animation.core.updateTransition
import androidx.compose.fou... | 18 | Kotlin | 21 | 142 | 01b219745e056605099047f606c1d3ab0034f14c | 27,842 | anypass-kmp | Apache License 2.0 |
KCleanArchitectureApp/appdagger/src/main/java/com/woowrale/kcleanarchitecture/ui/details/DetailsViewModel.kt | cadb-craftsman | 179,024,592 | false | null | package com.woowrale.kcleanarchitecture.ui.details
import androidx.lifecycle.ViewModel
import javax.inject.Inject
class DetailsViewModel @Inject constructor() : ViewModel() | 1 | null | 1 | 1 | 3cd17dae4beaa6eaff394b49b34bafa212cb46e3 | 174 | android-labs | MIT License |
commonTestData/src/main/java/com/alexzh/testdata/data/GenerateDataTestData.kt | AlexZhukovich | 192,403,534 | false | null | package com.alexzh.testdata.data
import com.alexzh.data.model.*
import com.alexzh.testdata.base.RandomData
object GenerateDataTestData {
fun generateSessionEntity(): SessionEntity {
return SessionEntity(
sessionId = RandomData.randomLong(),
accessToken = RandomData.randomString(),... | 8 | Kotlin | 1 | 7 | dab7ea97efee664dd87c201dc15ac293bf3416a5 | 1,605 | ImBarista-App | Apache License 2.0 |
server/nms/v1_10_R1/src/main/kotlin/br/com/devsrsouza/kotlinbukkitapi/server/nms/v1_10_R1/item/ServerItemImpl.kt | Stanicc | 201,663,593 | true | {"Kotlin": 383292} | package br.com.devsrsouza.kotlinbukkitapi.server.nms.v1_10_R1.item
import br.com.devsrsouza.kotlinbukkitapi.server.api.item.ServerItem
import br.com.devsrsouza.kotlinbukkitapi.server.nms.v1_10_R1.nbt.ServerNBTImpl
import br.com.devsrsouza.kotlinnbt.api.ITag
import br.com.devsrsouza.kotlinnbt.api.tags.CompoundTag
impor... | 0 | Kotlin | 0 | 1 | 0c0ea64fc553cc3152376e3eaa52a24b409d1754 | 2,345 | KotlinBukkitAPI | MIT License |
libs/flows/session-manager-impl/src/main/kotlin/net/corda/session/manager/impl/factory/SessionEventProcessorFactory.kt | corda | 346,070,752 | false | {"Kotlin": 20585419, "Java": 308202, "Smarty": 115357, "Shell": 54409, "Groovy": 30246, "PowerShell": 6470, "TypeScript": 5826, "Solidity": 2024, "Batchfile": 244} | package net.corda.session.manager.impl.factory
import net.corda.data.flow.event.MessageDirection
import net.corda.data.flow.event.SessionEvent
import net.corda.data.flow.event.session.SessionClose
import net.corda.data.flow.event.session.SessionCounterpartyInfoRequest
import net.corda.data.flow.event.session.SessionCo... | 11 | Kotlin | 27 | 69 | d478e119ab288af663910f9a2df42a7a7b9f5bce | 5,227 | corda-runtime-os | Apache License 2.0 |
plugin/core/src/test/resources/path.kt | irgaly | 818,904,051 | false | {"Kotlin": 214189} | package io.github.irgaly.compose.vector.test.image
import androidx.compose.foundation.Image
import androidx.compose.runtime.Composable
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vect... | 1 | Kotlin | 1 | 24 | 6f472705cd2fa964b6322beec162b6611511bf10 | 1,173 | compose-vector-plugin | Apache License 2.0 |
SDK-KT/src/main/kotlin/com/xzakota/wordpress/request/RequestCallback.kt | xzakota | 873,625,385 | false | {"Kotlin": 56923, "Java": 3489} | package com.xzakota.wordpress.request
fun interface RequestCallback {
fun callback(request : RouteRequest)
} | 0 | Kotlin | 0 | 0 | 15227dfa2df5dcd96243c28382fac2c2df087656 | 113 | WordPressSDK | Apache License 2.0 |
src/test/kotlin/no/nav/pensjon/kalkulator/uttaksalder/api/UttaksalderControllerTest.kt | navikt | 596,104,195 | false | {"Kotlin": 641937, "Java": 1630, "Dockerfile": 153} | package no.nav.pensjon.kalkulator.uttaksalder.api
import no.nav.pensjon.kalkulator.general.Alder
import no.nav.pensjon.kalkulator.mock.MockSecurityConfiguration
import no.nav.pensjon.kalkulator.person.Sivilstand
import no.nav.pensjon.kalkulator.simulering.SimuleringType
import no.nav.pensjon.kalkulator.simulering.Uten... | 3 | Kotlin | 0 | 0 | a8a48bcebaf689d3285e64ed0cbaf520a50b3a10 | 4,304 | pensjonskalkulator-backend | MIT License |
src/main/java/org/radarbase/output/config/NonEmptyValidator.kt | RADAR-base | 88,144,691 | false | null | /*
* Copyright 2018 The Hyve
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writ... | 8 | Kotlin | 0 | 1 | ccab7f277047c0224051283b6052e4fae83a037e | 1,109 | radar-output-restructure | Apache License 2.0 |
web-app/src/main/kotlin/config/Application.kt | all-things-dev | 682,727,172 | false | {"Kotlin": 2043} | package config
import org.apache.logging.log4j.LogManager
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.builder.SpringApplicationBuilder
import org.springframework.boot.context.properties.ConfigurationPropertiesScan
import org.springframework.boot.runApplication
im... | 0 | Kotlin | 0 | 0 | 3c27f7c5abbadea25bcc8e1207f3cb75c00daeac | 1,526 | kotlin-application-template | Apache License 2.0 |
hm-rapids-and-rivers-v2-micronaut/src/main/kotlin/no/nav/hm/rapids_rivers/micronaut/RapidsRiversFactory.kt | navikt | 527,531,636 | false | null |
package no.nav.hm.rapids_rivers.micronaut
import io.micrometer.core.instrument.binder.kafka.KafkaClientMetrics
import io.micronaut.context.annotation.Bean
import io.micronaut.context.annotation.Factory
import io.micronaut.context.annotation.Primary
import io.micronaut.context.annotation.Requires
import io.micronaut.c... | 0 | Kotlin | 0 | 2 | b147298fa114c4758947fe99ff61b9cbc30a919d | 1,919 | hm-rapids-and-rivers-v2 | MIT License |
korge-core/test/korlibs/io/net/URLTest.kt | korlibs | 80,095,683 | false | {"WebAssembly": 14293935, "Kotlin": 9728800, "C": 77092, "C++": 20878, "TypeScript": 12397, "HTML": 6043, "Python": 4296, "Swift": 1371, "JavaScript": 328, "Shell": 254, "CMake": 202, "CSS": 66, "Batchfile": 41} | package korlibs.io.net
import korlibs.io.file.*
import korlibs.io.lang.*
import kotlin.test.*
class URLTest {
data class UrlInfo(val url: String, val componentString: String, val isAbsolute: Boolean, val isOpaque: Boolean)
val URLS = listOf(
UrlInfo("", componentString = "URL(path=)", isAbsolute = false, isOpaqu... | 444 | WebAssembly | 121 | 2,207 | dc3d2080c6b956d4c06f4bfa90a6c831dbaa983a | 14,000 | korge | Apache License 2.0 |
src/main/kotlin/me/aberrantfox/hotbot/listeners/ChannelDeleteListener.kt | the-programmers-hangout | 251,075,497 | false | null | package me.aberrantfox.hotbot.listeners
import com.google.common.eventbus.Subscribe
import me.aberrantfox.hotbot.database.ResourceSection
import me.aberrantfox.hotbot.database.fetchChannelResources
import me.aberrantfox.hotbot.database.removeAllChannelResources
import me.aberrantfox.kjdautils.api.dsl.embed
import me.a... | 2 | Kotlin | 0 | 1 | 2edd95266192b03b60454573dcfd2d5d785c6af5 | 1,400 | HotBot | MIT License |
mongo-migration-stream-core/src/integrationTest/kotlin/pl/allegro/tech/mongomigrationstream/test/index/IndexClonerTest.kt | allegro | 551,426,608 | false | null | package pl.allegro.tech.mongomigrationstream.test.index
import com.mongodb.client.model.IndexModel
import com.mongodb.client.model.IndexOptions
import com.mongodb.client.model.Indexes
import io.kotest.core.spec.style.ShouldSpec
import io.kotest.matchers.booleans.shouldBeTrue
import io.kotest.matchers.collections.shoul... | 2 | Kotlin | 2 | 9 | 54f7ecb23fcd2509d85c165a4e097ef77b6052b2 | 5,635 | mongo-migration-stream | Apache License 2.0 |
presentation/src/main/java/com/sms/presentation/main/ui/teacher_registration/bottomsheet/PositionSelectorBottomSheet.kt | GSM-MSG | 625,706,722 | false | null | package com.sms.presentation.main.ui.teacher_registration.bottomsheet
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.material.ExperimentalMaterialApi
import androidx.compose.material.ModalBottomSheetState
import androidx.compose.runtime.Composable
import androidx.compose.runtime.rememberCor... | 15 | null | 1 | 16 | d279f3f1266caac16ce2e5c2230e13d7e078a37f | 1,160 | SMS-Android | MIT License |
aesi/src/main/kotlin/com/virtlink/editorservices/resources/IResourceManager.kt | Virtlink | 90,153,785 | false | null | package com.virtlink.editorservices.resources
import java.net.URI
import com.virtlink.editorservices.Offset
import com.virtlink.editorservices.Position
/**
* Manages the files and folders.
*
* This manager tracks changes to files.
* A language implementation can query the manager for files,
* resolve a path into... | 1 | null | 1 | 1 | f7af2531913d9809f3429c0d8e3a82fb695d5ba4 | 4,203 | aesi | Apache License 2.0 |
zircon.core/src/main/kotlin/org/hexworks/zircon/internal/color/DefaultTextColor.kt | entelente | 148,384,225 | false | null | package org.hexworks.zircon.internal.color
import org.hexworks.zircon.api.color.TileColor
import org.hexworks.zircon.api.util.Math
data class DefaultTextColor(private val red: Int,
private val green: Int,
private val blue: Int,
privat... | 1 | null | 1 | 1 | a8320415e949d47f55b316092a29f20469450720 | 2,399 | zircon | MIT License |
example/src/main/java/cz/pekostudio/User.kt | PekoStudioSRO | 316,461,131 | false | null | package cz.pekostudio
/**
* Created by <NAME> on 04/06/2020.
*/
data class User(var test: Int) {
} | 0 | Kotlin | 0 | 0 | 47ff7c3920b9a75cf03db6b972113cfbf14d82ee | 102 | objectsaver-androidlib | Apache License 2.0 |
toggles-app/src/main/java/se/eelde/toggles/TogglesUriMatcher.kt | erikeelde | 273,583,444 | false | null | package se.eelde.toggles
import android.content.UriMatcher
import com.izettle.wrench.core.WrenchProviderContract
class TogglesUriMatcher private constructor() {
companion object {
internal const val CURRENT_CONFIGURATION_ID = 1
internal const val CURRENT_CONFIGURATION_KEY = 2
internal cons... | 4 | Kotlin | 1 | 6 | 66ab6d2b6e57e837d87dc443173f0d0f9f375522 | 2,223 | toggles | MIT License |
app/src/main/java/com/maji/mvvm/demo/utils/FileUtils.kt | hpdx | 324,330,062 | false | null | package com.maji.mvvm.demo.utils
import android.os.Environment
import com.maji.mvvm.demo.MJApp
import java.io.File
/**
*
* <p>
* Created by android_ls on 2020/12/25 17:44.
*
* @author android_ls
* @version 1.0
*/
object FileUtils {
/**
* 应用程序相关文件存放的根目录
*/
private const val ROOT_DIR_NAME = "M... | 0 | Kotlin | 0 | 2 | 7dac328f6c60e3ae89de87c8492e47a14a2c60d4 | 1,182 | Jetpack-MVVM-Demo | Apache License 2.0 |
app/src/main/kotlin/by/kirich1409/grsuschedule/app/SpiceRecyclerViewFragment.kt | mydos | 48,542,594 | false | null | package by.kirich1409.grsuschedule.app
import android.os.Bundle
import android.support.v7.widget.RecyclerView
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
/**
* Created by kirillrozov on 9/25/15.
*/
public open class SpiceRecyclerViewFragment : SpiceFragment() {
val... | 0 | Kotlin | 0 | 0 | 2fb2c70622f2a058fb6a983ad40e2d05201e4aab | 1,653 | GrSU-Schedule | Apache License 2.0 |
compose/src/main/java/cl/emilym/form/compose/FormConfig.kt | emilymclean | 621,143,157 | false | {"Kotlin": 138002} | package cl.emilym.form.compose
import androidx.annotation.DrawableRes
import androidx.annotation.PluralsRes
import androidx.compose.foundation.layout.RowScope
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.runtim... | 0 | Kotlin | 0 | 0 | 6d6eb8cbcd2ea2a6362a64d3ac61a8692a01fa32 | 612 | JetpackForms | MIT License |
dataaccess/src/main/java/com/johannesdoll/avbus/dataaccess/rest/remotecontrol/RemoteControlApi.kt | jodoll | 241,990,525 | false | null | package com.johannesdoll.avbus.dataaccess.rest.remotecontrol
import com.johannesdoll.avbus.core.entity.Command
import retrofit2.http.Body
import retrofit2.http.POST
internal interface RemoteControlApi {
@POST("remote/command")
suspend fun sendCommand(@Body command: Command)
} | 0 | Kotlin | 0 | 0 | e9ce14ae3f75e8f601170a8ae64dd16908e36edc | 287 | avbus_android | MIT License |
query/src/main/kotlin/com/linecorp/kotlinjdsl/query/SubquerySpec.kt | line | 442,633,985 | false | null | package com.linecorp.kotlinjdsl.query
import com.linecorp.kotlinjdsl.query.clause.from.FromClause
import com.linecorp.kotlinjdsl.query.clause.from.JoinClause
import com.linecorp.kotlinjdsl.query.clause.groupby.SubqueryGroupByClause
import com.linecorp.kotlinjdsl.query.clause.having.SubqueryHavingClause
import com.line... | 26 | Kotlin | 60 | 504 | f28908bf432cf52f73a9573b1ac2be5eb4b2b7dc | 811 | kotlin-jdsl | Apache License 2.0 |
weather-api/src/main/java/com/github/mukiva/weatherapi/IWeatherApi.kt | MUKIVA | 715,584,869 | false | {"Kotlin": 323153} | package com.github.mukiva.weatherapi
import com.github.mukiva.weatherapi.models.ForecastWithCurrentAndLocationDto
import com.github.mukiva.weatherapi.models.LocationDto
import com.github.mukiva.weatherapi.utils.WeatherApiKeyInterceptor
import com.skydoves.retrofit.adapters.result.ResultCallAdapterFactory
import kotlin... | 0 | Kotlin | 0 | 5 | c616fcc30cbea2fa079fac76c4eb16ec6922705d | 1,839 | open-weather | Apache License 2.0 |
app/components/blacklist/src/main/java/tv/orange/features/blacklist/data/repository/BlacklistRepository.kt | NyanArchive | 503,292,084 | false | null | package tv.orange.features.blacklist.data.repository
import io.reactivex.Completable
import io.reactivex.Observable
import tv.orange.features.blacklist.data.model.KeywordData
import tv.orange.features.blacklist.data.source.BlacklistSource
import javax.inject.Inject
class BlacklistRepository @Inject constructor(
v... | 0 | Kotlin | 0 | 2 | 3ac69f519566176312e9db57f883d2cdb36fa031 | 866 | OrangeTV | Apache License 2.0 |
app/src/main/java/io/horizontalsystems/bankwallet/modules/send/submodules/amount/SendAmountModule.kt | sahad752 | 210,333,595 | true | {"Kotlin": 1073540, "Ruby": 5209} | package io.horizontalsystems.bankwallet.modules.send.submodules.amount
import io.horizontalsystems.bankwallet.core.App
import io.horizontalsystems.bankwallet.entities.CoinValue
import io.horizontalsystems.bankwallet.entities.CurrencyValue
import io.horizontalsystems.bankwallet.entities.Rate
import io.horizontalsystems... | 0 | null | 0 | 0 | dd67d65d4898d79477aeffba462ed1ef130fac8c | 3,055 | unstoppable-wallet-android | MIT License |
plugins/kotlin/fir/testData/extensions/completion/starImportedClass.kt | ingokegel | 72,937,917 | true | null | // FIR_COMPARISON
// FIR_IDENTICAL
fun main() {
CC<caret>
}
// EXIST: CCCC | 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 80 | intellij-community | Apache License 2.0 |
Shimmer/shimmer_01/android/app/src/main/kotlin/com/example/shimmer_01/MainActivity.kt | Dezenix | 416,066,921 | false | null | package com.example.shimmer_01
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 3 | Dart | 25 | 21 | e1d5ec7178c54ddccb093d944fe36d55d37b1bf6 | 127 | native-frontend-flutter | MIT License |
src/main/kotlin/core/storage/records/SetDirectoryRecordBuilder.kt | CmmSheparD | 477,462,108 | false | null | package core.storage.records
abstract class SetDirectoryRecordBuilder : DirectoryRecordBuilder {
protected class RecordHolder(val record: Record) {
override fun equals(other: Any?): Boolean {
if (this === other) return true
if (javaClass != other?.javaClass) return false
... | 0 | Kotlin | 0 | 0 | 0d08e98b6192d8fe138cadd4a4bab8bfd62434ea | 955 | wasp | MIT License |
src/main/kotlin/g1301_1400/s1318_minimum_flips_to_make_a_or_b_equal_to_c/Solution.kt | javadev | 190,711,550 | false | {"Kotlin": 4909193, "TypeScript": 50446, "Python": 3646, "Shell": 994} | package g1301_1400.s1318_minimum_flips_to_make_a_or_b_equal_to_c
// #Medium #Bit_Manipulation #2023_06_05_Time_123_ms_(88.89%)_Space_33.2_MB_(88.89%)
@Suppress("NAME_SHADOWING")
class Solution {
fun minFlips(a: Int, b: Int, c: Int): Int {
var ans = 0
val or = a or b
ans += csb(or xor c)
... | 0 | Kotlin | 20 | 43 | 62708bc4d70ca2bfb6942e4bbfb4c64641e598e8 | 610 | LeetCode-in-Kotlin | MIT License |
net.akehurst.kotlinx/kotlinx-reflect/src/jvm8Test/kotlin/kotlinx/test_metadata.kt | dhakehurst | 189,049,817 | false | {"Kotlin": 177637} | package kotlinx
import kotlin.test.Test
class test_metadata {
@Test
fun test() {
}
} | 0 | Kotlin | 0 | 1 | 0f29e96aa48d84efb1cd41ec469a68040b31ecc3 | 102 | net.akehurst.kotlinx | Apache License 2.0 |
sample/src/main/java/com/wahidabd/onelibrary/data/firebase/storage/model/StorageRequest.kt | wahidabd | 705,005,842 | false | {"Kotlin": 201319} | package com.wahidabd.onelibrary.data.firebase.storage.model
import com.google.firebase.firestore.Exclude
import com.wahidabd.library.utils.common.emptyString
import java.io.File
/**
* Created by wahid on 5/21/2024.
* Github github.com/wahidabd.
*/
data class StorageRequest(
val name: String,
val file: F... | 0 | Kotlin | 0 | 7 | e4b36cd6bfe6a60540c98aad4308c1dbb812c20a | 489 | onelib | MIT License |
android/app/src/main/kotlin/com/example/sonda_flutter/MainActivity.kt | NRRef | 321,189,246 | false | {"Dart": 11958, "Swift": 404, "Kotlin": 130, "Objective-C": 38} | package com.example.sonda_flutter
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 0 | 0 | fe0078edf06bfb321817f114085e3b1c5db7cc6f | 130 | SondaFlutter | MIT License |
devfun-annotations/src/main/java/com/nextfaze/devfun/inject/InstanceProvider.kt | suclike | 111,678,349 | true | {"Kotlin": 378699, "Prolog": 1350, "CSS": 355} | package com.nextfaze.devfun.inject
import com.nextfaze.devfun.core.FunctionTransformer
import kotlin.reflect.KClass
/**
* Provides object instances for one or more types.
*
* A rudimentary form of dependency injection is used throughout all of DevFun (not just for user-code function
* invocation, but also between... | 0 | Kotlin | 0 | 0 | d8645d63df3469a210496e625af012793023a817 | 4,550 | dev-fun | Apache License 2.0 |
app/src/main/java/com/iroyoraso/comicville/ui/screens/list/CharactersComponent.kt | iroyo | 170,685,673 | false | null | package com.iroyoraso.comicville.ui.screens.list
import com.iroyoraso.comicville.core.Action
import com.iroyoraso.comicville.core.model.CharacterEntity
/**
* Created by iroyo on 20/2/19.
* Mail: <EMAIL>
*/
interface CharactersComponent {
val viewModel: CharactersViewModel
} | 0 | Kotlin | 0 | 1 | b46b07e8390e9e14db33be9f7ce0b0c10c018681 | 285 | comic-ville | Apache License 2.0 |
hoon/HoonAlgorithm/src/main/kotlin/programmers/lv01/Lv1_12917.kt | boris920308 | 618,428,844 | false | {"Kotlin": 57019, "Swift": 40496, "Java": 2698, "Rich Text Format": 407} | package main.kotlin.programmers.lv01
/**
*
* https://school.programmers.co.kr/learn/courses/30/lessons/12917
*/
fun main() {
println(solution("Zbcdefg"))
// solution("Zbcdefg")
}
private fun solution(s: String): String {
return s.toCharArray().sortedDescending().joinToString("")
} | 1 | Kotlin | 1 | 2 | 0e495912539ae3ba49e03880cb406bcb99f6457b | 298 | HoOne | Apache License 2.0 |
feature/folder-detail/android/src/main/java/br/alexandregpereira/hunter/folder/detail/FolderDetailViewState.kt | alexandregpereira | 347,857,709 | false | {"Kotlin": 1375112, "Swift": 64606, "Shell": 139} | /*
* Copyright 2022 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writi... | 2 | Kotlin | 4 | 80 | 6beb29f7b9df38ff337ccdbf071fca01fa4a28ca | 1,306 | Monster-Compendium | Apache License 2.0 |
mvrx/src/main/kotlin/com/airbnb/mvrx/MvRxExtensions.kt | ugi-mobilab | 208,286,323 | true | {"Kotlin": 290058, "Java": 1432, "Shell": 363} | package com.airbnb.mvrx
import androidx.annotation.RestrictTo
import androidx.annotation.RestrictTo.Scope.LIBRARY
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentActivity
import androidx.lifecycle.ViewModelProviders
import kotlin.properties.ReadOnlyProperty
import kotlin.reflect.KClass
impor... | 0 | Kotlin | 0 | 0 | a7287098fea584ae9fc4a56bd88d33a350369808 | 8,998 | MvRx | Apache License 2.0 |
compose/ui/ui/src/uikitMain/kotlin/androidx/compose/ui/platform/Accessibility.uikit.kt | VexorMC | 838,305,267 | false | {"Kotlin": 104238872, "Java": 66757679, "C++": 9111230, "AIDL": 628952, "Python": 306842, "Shell": 199496, "Objective-C": 47117, "TypeScript": 38627, "HTML": 28384, "Swift": 21386, "Svelte": 20307, "ANTLR": 19860, "C": 15043, "CMake": 14435, "JavaScript": 6457, "GLSL": 3842, "CSS": 1760, "Batchfile": 295} | /*
* Copyright 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 | 9730aa39ce1cafe408f28962a59b95b82c68587f | 51,766 | compose | Apache License 2.0 |
app/src/androidTest/java/com/example/dungeontest/composables/AddRemoveEdgeDialogTest.kt | BareBeaverBat | 807,235,614 | false | {"Kotlin": 137605} | package com.example.dungeontest.composables
import androidx.compose.runtime.MutableState
import androidx.compose.runtime.mutableStateOf
import androidx.compose.ui.test.assertCountEquals
import androidx.compose.ui.test.assertIsDisplayed
import androidx.compose.ui.test.assertIsEnabled
import androidx.compose.ui.test.ass... | 0 | Kotlin | 0 | 1 | 2296f19eadbd219557e7418cf8d3eed002e4b708 | 11,795 | CSE5236-SU24-DungeonMapDigitizer | Apache License 2.0 |
app/src/main/java/bg/dabulgaria/tibroish/presentation/ui/violation/list/ViolationsListPresenter.kt | ti-broish | 359,553,419 | false | null | package bg.dabulgaria.tibroish.presentation.ui.violation.list
import android.os.Bundle
import bg.dabulgaria.tibroish.domain.organisation.ITiBroishRemoteRepository
import bg.dabulgaria.tibroish.domain.providers.ILogger
import bg.dabulgaria.tibroish.domain.violation.IViolationRepository
import bg.dabulgaria.tibroish.dom... | 1 | Kotlin | 0 | 3 | 0d7f6d401539d7a1c13758ab2cd96a616ebdaab1 | 4,556 | mobile-android | MIT License |
app/src/main/java/bg/dabulgaria/tibroish/presentation/ui/violation/list/ViolationsListPresenter.kt | ti-broish | 359,553,419 | false | null | package bg.dabulgaria.tibroish.presentation.ui.violation.list
import android.os.Bundle
import bg.dabulgaria.tibroish.domain.organisation.ITiBroishRemoteRepository
import bg.dabulgaria.tibroish.domain.providers.ILogger
import bg.dabulgaria.tibroish.domain.violation.IViolationRepository
import bg.dabulgaria.tibroish.dom... | 1 | Kotlin | 0 | 3 | 0d7f6d401539d7a1c13758ab2cd96a616ebdaab1 | 4,556 | mobile-android | MIT License |
src/main/kotlin/no/nav/permitteringsskjemaapi/exceptions/PermitteringExceptionHandler.kt | navikt | 247,277,988 | false | {"Kotlin": 166399, "Dockerfile": 81} | package no.nav.permitteringsskjemaapi.exceptions
import com.fasterxml.jackson.core.JsonProcessingException
import no.nav.permitteringsskjemaapi.config.logger
import no.nav.permitteringsskjemaapi.util.AuthenticatedUserHolder
import no.nav.security.token.support.core.exceptions.JwtTokenValidatorException
import no.nav.s... | 1 | Kotlin | 0 | 0 | 8a080a6a507f351f636b8b2af40d0cb8bbbbe2fc | 5,460 | permitteringsskjema-api | MIT License |
src/src/main/java/com/online/course/ui/widget/UserRegistrationDialog.kt | dimske-sys | 631,084,721 | false | null | package com.online.course.ui.widget
import android.os.Bundle
import android.text.Editable
import android.text.TextWatcher
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.google.gson.Gson
import com.online.course.R
import com.online.course.databinding.DialogUserRegis... | 0 | Kotlin | 0 | 0 | fcec541f3d95355d7dd0d559ffedb150727325b4 | 4,881 | eduwise | Apache License 2.0 |
src/main/kotlin/de/nycode/gradle/spigot_dependency_loader/SpigotDependencyLoaderExtension.kt | NyCodeGHG | 376,378,990 | false | null | package de.nycode.gradle.spigot_dependency_loader
import org.gradle.api.provider.Property
abstract class SpigotDependencyLoaderExtension {
/**
* Whether to create the default `exportDependenciesToPluginYml` task or not.
*
* This task will export your plugin.yml directly into the build folder
*... | 0 | Kotlin | 0 | 2 | c4d36f1c8d8ec1a124e1f92f9cd8f83cd87912b7 | 574 | gradle-spigot-dependency-loader | MIT License |
lithic-kotlin-core/src/test/kotlin/com/lithic/api/models/TransactionSimulateAuthorizationParamsTest.kt | lithic-com | 658,974,440 | false | {"Kotlin": 6676183, "Shell": 3630, "Dockerfile": 399} | package com.lithic.api.models
import com.lithic.api.models.*
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Test
class TransactionSimulateAuthorizationParamsTest {
@Test
fun createTransactionSimulateAuthorizationParams() {
TransactionSimulateAuthorizationParams.builder... | 0 | Kotlin | 0 | 2 | 68cf1467469c6794e6dcb24a4a6e2542563d44c0 | 2,472 | lithic-kotlin | Apache License 2.0 |
sdk/src/main/java/com/spacer/sdk/data/api/reqData/key/KeyGenerateReqData.kt | spacer-dev | 404,248,319 | false | {"Kotlin": 103624} | package com.spacer.sdk.data.api.reqData.key
data class KeyGenerateReqData(
val spacerId: String,
val readData: String,
) | 0 | Kotlin | 0 | 0 | d5a72898ecad6ba3f6aee3c8f076478f63931fe3 | 129 | spacer-sdk-android | MIT License |
app/src/main/java/com/example/football/presentation/view/composable/StandingsCombinedScreen.kt | joeMalebe | 585,552,196 | false | {"Kotlin": 216425} | package com.example.football.presentation.view.composable
import androidx.compose.animation.AnimatedContent
import androidx.compose.foundation.layout.Arrangement.spacedBy
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.padding
imp... | 1 | Kotlin | 0 | 0 | 8085094bbbb65086545953048b43d860b226fc23 | 5,314 | Football | Apache License 2.0 |
morse/src/main/java/com/mridx/morse/element/SearchBar.kt | MriDx | 396,627,081 | false | null | package com.mridx.morse.element
import android.content.Context
import android.util.AttributeSet
import android.view.KeyEvent
import android.view.LayoutInflater
import androidx.appcompat.widget.LinearLayoutCompat
import com.mridx.morse.databinding.SearchBarBinding
class SearchBar : LinearLayoutCompat {
private v... | 1 | Kotlin | 1 | 2 | 36560bba018c9b252736a06c9956d76727ff800c | 1,562 | morse-ui | Apache License 2.0 |
src/test/kotlin/no/nav/bidrag/cucumber/model/RestTjenesterTest.kt | navikt | 426,232,197 | false | {"Kotlin": 156232, "Gherkin": 13712, "Dockerfile": 238, "Shell": 202} | package no.nav.bidrag.cucumber.model
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.assertAll
internal class RestTjenesterTest {
@Test
fun `skal ikke bruke app navn som del av ingress, når applikasjon konfigureres og det spesifikt oppgies at d... | 4 | Kotlin | 0 | 2 | fd15f9bd5dab142c55edb37abdf92cd4975fc0f2 | 1,071 | bidrag-cucumber-onprem | MIT License |
app/src/main/java/com/example/vindmoller/ui/screens/details/DetailsUiState.kt | omarhaweel | 676,250,796 | false | null | package com.example.vindmoller.ui.screens.details
import com.example.vindmoller.data.windturbines.WindTurbine
// source windturbines to be updated in viewModel
data class DetailsWindTurbineUiState(
val windTurbines: List<WindTurbine> = listOf()
) | 0 | Kotlin | 0 | 0 | e83e6b420f742ad6822e257187948e571908df8b | 254 | kooling | Apache License 2.0 |
scabbard-processor/src/main/java/dev/arunkumar/scabbard/plugin/output/FilerOutputManager.kt | cfirmo33 | 241,666,423 | true | {"Kotlin": 99981, "Java": 1300} | package dev.arunkumar.scabbard.plugin.output
import javax.annotation.processing.Filer
interface FilerOutputManager : OutputManager {
val filer: Filer
} | 0 | null | 0 | 0 | 66f418cf57b3be869e291718429cdcd02c144658 | 155 | scabbard | Apache License 2.0 |
app/src/main/java/com/roverdream/kothub/ui/detail/DetailViewModel.kt | ngominhtrint | 148,597,877 | false | null | package com.roverdream.kothub.ui.detail
import com.roverdream.kothub.data.remote.model.Repo
import com.roverdream.kothub.ui.base.AbstractViewModel
import javax.inject.Inject
class DetailViewModel @Inject constructor(val repo: Repo) : AbstractViewModel() {
fun getName() = repo.fullName
fun getDescription() =... | 0 | Kotlin | 0 | 1 | 25a2012cad7fcdd693e03eedf29a26df04c52126 | 475 | Kothub | Apache License 2.0 |
src/main/kotlin/com/github/lynxie/oxocarbon/enums/SettingsCategory.kt | Oxocarbon-Theme | 761,379,878 | false | {"Kotlin": 16743} | package com.github.lynxie.oxocarbon.enums
import com.github.lynxie.oxocarbon.settings.configurable.AppearanceSettingsConfigurable
import com.intellij.openapi.options.Configurable
enum class SettingsCategory(val configurable: Configurable, val id: String) {
APPEARANCE(AppearanceSettingsConfigurable(), "2ea70210-3f... | 12 | Kotlin | 1 | 7 | 50490e84a07cb4c499e442ad31efb29221030638 | 606 | Oxocarbon | MIT License |
src/main/java/com/hopskipnfall/Server.kt | hopskipnfall | 850,647,025 | false | {"Kotlin": 22675} | package com.hopskipnfall
import kotlin.time.Duration
private var gameLagLeeway = Duration.ZERO
private var gameDrift = Duration.ZERO
data class Server(val clients: List<Client>) {
private val clientIds: Set<Int> = clients.map { it.id }.toSet()
/** A holding place for packets that are "in the air." */
val inco... | 0 | Kotlin | 0 | 1 | 026f09db7bafea972ef40161d511aed7d97f9a7b | 4,471 | netcode-lag-simulator | MIT License |
reactive-albums-api/src/main/kotlin/nl/juraji/reactive/albums/domain/pictures/events/PictureAnalysisProgressEvent.kt | Juraji | 290,577,996 | false | null | package nl.juraji.reactive.albums.domain.pictures.events
import nl.juraji.reactive.albums.domain.pictures.PictureAnalysisStatus
import nl.juraji.reactive.albums.domain.pictures.PictureId
import org.axonframework.serialization.Revision
@Revision("1.0")
data class PictureAnalysisProgressEvent(
override val pict... | 0 | Kotlin | 0 | 1 | 205927ceb1ce19e27e2b2aa83f61eeda968613d1 | 398 | reactive-albums | MIT License |
main/src/main/kotlin/kotlinCommon/common/Util.kt | kiwamus9 | 574,863,728 | false | null | package kotlinCommon.common
//inline fun jsObject(init: dynamic.() -> Unit): dynamic {
// val o = js("{}")
// init(o)
// return o
//}
inline fun <T> jsOptions(init: T.() -> Unit): T {
val o = js("{}") as T
init(o)
return o
}
| 0 | Kotlin | 0 | 0 | 98432472acb81924f21b58a765764b7090db4dbc | 248 | FETerm | MIT License |
src/test/kotlin/game/CountPointsKtTest.kt | jangalinski | 154,946,573 | false | null | package com.github.jangalinski.tidesoftime.game
import com.github.jangalinski.tidesoftime.Card
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Test
internal class CountPointsKtTest {
@Test
internal fun `missing symbol - a(3) b(0)`() {
val (r1,r2) = countPoints(
Kingdom(... | 0 | Kotlin | 0 | 0 | 945109d12c3b089935f9fb1ea91633194cce8820 | 2,467 | tidesoftime | Apache License 2.0 |
services/hanke-service/src/test/kotlin/fi/hel/haitaton/hanke/factory/HakemusUpdateRequestFactory.kt | City-of-Helsinki | 300,534,352 | false | {"Kotlin": 2037410, "Mustache": 89170, "Shell": 23444, "Batchfile": 5169, "PLpgSQL": 1115, "Dockerfile": 371} | package fi.hel.haitaton.hanke.factory
import fi.hel.haitaton.hanke.TZ_UTC
import fi.hel.haitaton.hanke.allu.CustomerType
import fi.hel.haitaton.hanke.application.ApplicationArea
import fi.hel.haitaton.hanke.application.ApplicationType
import fi.hel.haitaton.hanke.application.CableReportApplicationArea
import fi.hel.ha... | 9 | Kotlin | 5 | 4 | f0e319fafa2706e7fb5b4a3ad406935a9e59a38d | 17,945 | haitaton-backend | MIT License |
consumerapp/src/main/java/com/dnar/consumerapp/data/network/setting/BasicInterceptor.kt | dimas-nur | 267,992,206 | false | null | package com.dnar.consumerapp.data.network.setting
import okhttp3.Interceptor
import okhttp3.Response
// Interceptor Api; Keyword : Retrofit2
class BasicInterceptor(private var token: String) : Interceptor {
override fun intercept(chain: Interceptor.Chain): Response {
val req = chain.request()
val... | 0 | Kotlin | 19 | 58 | 48bc4fb7209d5b116a0794fd26828699bfbaab14 | 473 | dicoding-belajar-fundamental-aplikasi-android | Apache License 2.0 |
instrumented/integration/src/androidTest/kotlin/com/datadog/android/sdk/integration/log/EndToEndLogTest.kt | nicholas-devlin | 281,064,117 | true | {"Kotlin": 1797271, "Java": 213999, "C": 74755, "C++": 15178, "CMake": 1606} | /*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/
package com.datadog.android.sdk.integration.log
import android.os.Bu... | 4 | null | 0 | 0 | 827e05b864def3e1573a1935fd59bddf22449215 | 5,100 | dd-sdk-android | Apache License 2.0 |
instrumented/integration/src/androidTest/kotlin/com/datadog/android/sdk/integration/log/EndToEndLogTest.kt | nicholas-devlin | 281,064,117 | true | {"Kotlin": 1797271, "Java": 213999, "C": 74755, "C++": 15178, "CMake": 1606} | /*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/
package com.datadog.android.sdk.integration.log
import android.os.Bu... | 4 | null | 0 | 0 | 827e05b864def3e1573a1935fd59bddf22449215 | 5,100 | dd-sdk-android | Apache License 2.0 |
reactdroid/src/main/java/com/guymichael/kotlinreact/model/HOC.kt | GuyMichael | 255,661,405 | false | null | package com.guymichael.kotlinreact.model
//NOTICE: HOC's componentWillMount is not called before the first mount/render, as it currently is
// the responsibility of 'inner' component implementation (see notifyComponentWillMount())
// and we have no way to hook into it
//Note: componentDidMount is called right after co... | 1 | null | 1 | 9 | 126f0255d804a20adfa682f402957feed0c81100 | 940 | Reactdroid | Apache License 2.0 |
tmp/arrays/youTrackTests/3401.kt | DaniilStepanov | 228,623,440 | false | {"Git Config": 1, "Gradle": 6, "Text": 3, "INI": 5, "Shell": 2, "Ignore List": 3, "Batchfile": 2, "Markdown": 2, "Kotlin": 15942, "JavaScript": 4, "ANTLR": 2, "XML": 12, "Java": 4} | // Original bug: KT-37914
interface I
interface Foo<T> : I
class Bar<T>(val x: Foo<T>) : Foo<T>
fun <T, U : T> castToSubtype(obj: T) = obj as U
fun <T> select(vararg x: T) = x[0]
fun <T> materialize(): T = null as T
fun main() {
select(
materialize<Foo<Any>>(),
Bar(
castToSubtype(... | 1 | null | 1 | 1 | 602285ec60b01eee473dcb0b08ce497b1c254983 | 429 | bbfgradle | Apache License 2.0 |
play-services-maps-core-mapbox/src/main/kotlin/org/microg/gms/maps/mapbox/model/Polyline.kt | ayushTNM | 649,869,366 | true | {"INI": 2, "Makefile": 1, "Gradle": 66, "Shell": 1, "Markdown": 1, "Batchfile": 1, "Text": 4, "Ignore List": 1, "XML": 308, "AIDL": 524, "Java": 991, "Kotlin": 252, "JSON": 3, "HTML": 1, "Protocol Buffer": 9, "SVG": 6, "Diff": 5, "Java Properties": 1, "Proguard": 1} | /*
* Copyright (C) 2019 microG Project Team
*
* 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 o... | 812 | Java | 5 | 84 | 1311eebab3c6548c7ec671ee1f8eafcabfbe11e5 | 5,822 | mMicroG | Apache License 2.0 |
ui/src/main/java/com/theoplayer/android/ui/LanguageMenuButton.kt | THEOplayer | 593,175,030 | false | {"Kotlin": 175254, "JavaScript": 1660, "Ruby": 1362, "HTML": 474} | package com.theoplayer.android.ui
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.material3.Icon
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.res.painterResource
import androidx.compose.ui.unit.dp
/**
* A button that opens t... | 3 | Kotlin | 2 | 7 | f8a0439e42defba4ac5a08fe87ce913d955eef3c | 1,014 | android-ui | MIT License |
composeApp/src/commonMain/kotlin/data/datasource/alert/KtorRemoteAlertDataSource.kt | AndroBrain | 742,366,538 | false | {"Kotlin": 106748, "Swift": 594} | package data.datasource.alert
import data.api.HOST_URL
import data.api.useClient
import domain.alert.DeleteAlertParams
import domain.alert.SetAlertParams
import io.ktor.client.request.get
import io.ktor.client.statement.bodyAsText
import kotlinx.serialization.json.Json
private const val ALERT_PATH = "alerts"
private ... | 0 | Kotlin | 0 | 0 | b5ed45d577cfffe7be7d9c32e95255d4b5efd0f5 | 1,705 | GameHunter | MIT License |
app/src/main/java/com/example/swiftpay/ui/screens/sign_up/SignUpScreen.kt | EzekielWachira | 681,386,871 | false | {"Kotlin": 669843} | package com.example.swiftpay.ui.screens.sign_up
import android.content.res.Configuration.UI_MODE_NIGHT_YES
import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import a... | 0 | Kotlin | 5 | 40 | e19eb245b9c9f1ff95c7a407d72e816d4a342969 | 6,085 | SwiftPay | MIT License |
forge/src/main/kotlin/io/github/remodstudios/lumidep/data/forge/DoseCounterComponentImpl.kt | ReMod-Studios | 365,715,310 | false | {"Gradle": 5, "INI": 3, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "JSON": 142, "Kotlin": 40, "Java": 4, "TOML": 1} | package io.github.remodstudios.lumidep.data.forge
import io.github.remodstudios.lumidep.data.DoseCounterComponent
import net.minecraft.entity.player.PlayerEntity
import net.minecraft.nbt.CompoundTag
import net.minecraft.nbt.Tag
import net.minecraft.util.math.Direction
import net.minecraftforge.common.capabilities.Capa... | 0 | Kotlin | 0 | 0 | 92310fb84c65d76552355f8cba0cdfbf43860576 | 2,149 | lumidep-java | Apache License 2.0 |
usage/src/main/kotlin/dev/android/playground/nova/usage/Styles.kt | kirill-grouchnikov | 286,843,815 | false | null | /*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | 0 | Kotlin | 0 | 29 | a866b14b14291e99f82f76b4a1dacc416413c6b1 | 1,266 | nova | Apache License 2.0 |
app/src/main/java/com/example/anywherefitness/ui/RegisterActivity.kt | BuildWeek-Anywhere-Fitness | 210,391,400 | false | null | package com.example.anywherefitness.ui
import android.app.Activity
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.Toast
import androidx.lifecycle.Observer
import androidx.lifecycle.ViewModelProviders
import com.example.anywherefitness.R
impo... | 0 | Kotlin | 0 | 0 | 25a29064b478204e249654b8b2b554a5b2b209e7 | 1,900 | ANDROID-ENGINEER-II | MIT License |
core/src/main/kotlin/com/redmadrobot/debug/core/plugin/Plugin.kt | RedMadRobot | 516,407,635 | false | {"Kotlin": 170281, "Shell": 621} | package com.redmadrobot.debug.core.plugin
import androidx.compose.runtime.Composable
import com.redmadrobot.debug.core.DebugEvent
import com.redmadrobot.debug.core.DebugPanelInstance
import com.redmadrobot.debug.core.internal.CommonContainer
import com.redmadrobot.debug.core.internal.PluginDependencyContainer
public ... | 4 | Kotlin | 4 | 6 | 99250f554a5303f4ae0c0109b1f0493f89a17935 | 952 | debug-panel-android | MIT License |
src/main/kotlin/org/grakovne/sideload/kindle/telegram/Configuration.kt | GrakovNe | 704,911,851 | false | null | package org.grakovne.sideload.kindle.telegram
import com.pengrad.telegrambot.TelegramBot
import com.pengrad.telegrambot.TelegramBot.Builder
import org.springframework.context.annotation.Bean
import org.springframework.stereotype.Component
@Component
class Configuration(private val properties: ConfigurationProperties)... | 0 | null | 0 | 4 | 456804a253a49947fa20de0b031c2bb55624f14f | 413 | kindle-sideload | MIT License |
app/src/main/java/io/github/aloussase/calculator/repository/CalculatorRepository.kt | aloussase | 753,291,902 | false | {"Kotlin": 36007} | package io.github.aloussase.calculator.repository
import android.util.Log
import io.github.aloussase.calculator.api.MathApi
import io.github.aloussase.calculator.api.MathApiRequestBody
import io.github.aloussase.calculator.data.HistoryItem
import io.github.aloussase.calculator.database.HistoryDatabase
class Calculato... | 1 | Kotlin | 0 | 0 | f07332a8ef78356783abbb0d2454fc1724f1f707 | 1,310 | android-clean-architecture-calculator | MIT License |
src/commonMain/kotlin/dev/rebok/showCase/Themes/Nova.kt | rebokdev | 691,070,406 | false | {"Kotlin": 45819} | package dev.rebok.showCase.Themes
import dev.rebok.showCase.Background
import dev.rebok.showCase.Color
import dev.rebok.showCase.Direction
import dev.rebok.showCase.PictureStyle
import dev.rebok.showCase.PresentationTheme
import dev.rebok.showCase.SlideChangeTransition
import dev.rebok.showCase.Theme
import dev.rebok.... | 0 | Kotlin | 0 | 1 | d635ff3783a09a835eeb7a34fa5566fd086aa09e | 2,464 | showcase | MIT No Attribution |
src/main/kotlin/com/hippo/panda/sheriff/module/command/VersionModule.kt | seven332 | 314,901,408 | false | null | package com.hippo.panda.sheriff.module.command
import com.hippo.panda.sheriff.base.configure
import me.ivmg.telegram.Bot
import me.ivmg.telegram.entities.Chat
import me.ivmg.telegram.entities.Message
import me.ivmg.telegram.entities.Update
import me.ivmg.telegram.entities.User
class VersionModule: CommandModule() {
... | 0 | Kotlin | 0 | 3 | 918d9b463eb41f00dfe2dae1e08eb21ae1b7aae1 | 682 | panda-sheriff-bot | Apache License 2.0 |
stevedoreitems/src/main/java/com/artear/stevedore/stevedoreitems/repository/deserializer/style/StyleMarginDeserializer.kt | Artear | 179,570,968 | false | {"Gradle": 7, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Kotlin": 70, "XML": 12, "Java": 2, "JSON": 19, "YAML": 1} | package com.artear.stevedore.stevedoreitems.repository.deserializer.style
import com.artear.stevedore.stevedoreitems.repository.getModelObject
import com.artear.stevedore.stevedoreitems.repository.model.style.StyleMargin
import com.artear.stevedore.stevedoreitems.repository.model.style.StyleMarginRect
import com.googl... | 1 | null | 1 | 1 | f6e02b4ddb88a593e872b2761c077f2e57b63c66 | 768 | app_lib_stevedoreitems_android | Apache License 2.0 |
app/src/main/java/ph/mart/shopmart/ui/signup/SignupFragment.kt | EzzalddeenAli | 298,918,805 | true | {"Kotlin": 59203} | package ph.mart.shopmart.ui.signup
import android.os.Bundle
import android.view.View
import androidx.core.view.isVisible
import androidx.core.widget.addTextChangedListener
import androidx.fragment.app.activityViewModels
import androidx.fragment.app.viewModels
import androidx.lifecycle.Observer
import ph.mart.shopmart.... | 0 | null | 0 | 0 | 146870ff030023a15f66e303ece5dfa4717f0c79 | 3,221 | shop-mart | MIT License |
ktor-server/ktor-server-core/jvm/src/io/ktor/response/ResponseType.kt | jakobkmar | 323,173,348 | true | {"Kotlin": 5039593, "Python": 948, "JavaScript": 775, "HTML": 165} | /*
* Copyright 2014-2020 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
package io.ktor.response
import io.ktor.util.*
import kotlin.reflect.*
private val ResponseTypeAttributeKey: AttributeKey<KType> = AttributeKey("ResponseTypeAttributeKey")
/**
* Type of th... | 0 | Kotlin | 1 | 7 | ea35658a05cc085b97297a303a7c0de37efe0024 | 759 | ktor | Apache License 2.0 |
kadamy_delivery_user_android/app/src/main/java/com/kadamy/customer/activity/ImageSliderActivity.kt | yefsoft09 | 784,271,487 | false | {"Kotlin": 885209, "PHP": 634806, "Blade": 602183, "JavaScript": 56504, "Java": 955} | package com.kadamy.customer.activity
import android.content.Context
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import androidx.viewpager.widget.PagerAdapter
import androidx.viewpager.widget.ViewPager
import com.kadamy.customer.R
import com.... | 0 | Kotlin | 0 | 0 | 65c4e1217c87049a4cc2ac4d1fe92d0c3a467d6f | 2,501 | ProyectoProg1_AppDelivery | MIT License |
kzen-lib-common/src/commonMain/kotlin/tech/kzen/lib/common/objects/general/WeakAttributeDefiner.kt | alexoooo | 130,935,552 | false | {"Kotlin": 580511} | package tech.kzen.lib.common.objects.general
import tech.kzen.lib.common.api.AttributeDefiner
import tech.kzen.lib.common.model.attribute.AttributeName
import tech.kzen.lib.common.model.definition.*
import tech.kzen.lib.common.model.instance.GraphInstance
import tech.kzen.lib.common.model.locate.ObjectLocation
import ... | 1 | Kotlin | 0 | 0 | f7ffbbe75ba0a88749b311d6d20378ccc2815802 | 4,748 | kzen-lib | MIT License |
lib/src/main/java/com/irurueta/android/navigation/inertial/estimators/filter/AveragingFilter.kt | albertoirurueta | 440,663,799 | false | null | /*
* Copyright (C) 2022 <NAME> (<EMAIL>)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 0 | Kotlin | 0 | 0 | 02ee04164a36bc0238fa3b78e8842a799475fcf5 | 4,542 | irurueta-android-navigation-inertial | Apache License 2.0 |
app/src/main/java/eu/zimbelstern/tournant/data/Ingredient.kt | Zimbelstern | 433,953,023 | false | {"Kotlin": 191231} | package eu.zimbelstern.tournant.data
import android.os.Parcelable
import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.ForeignKey
import androidx.room.PrimaryKey
import com.squareup.moshi.JsonClass
import eu.zimbelstern.tournant.getNumberOfDigits
import eu.zimbelstern.tournant.roundToNDigit... | 0 | Kotlin | 4 | 33 | 7bc1bc9b9bcfa0adcc4f962a8b21d2afaf604be2 | 2,060 | Tournant | Apache License 2.0 |
app/src/main/java/com/stocksexchange/android/ui/transactions/fragment/TransactionsPresenter.kt | libertaria-project | 183,030,087 | true | {"Kotlin": 2210140} | package com.stocksexchange.android.ui.transactions.fragment
import com.stocksexchange.android.R
import com.stocksexchange.android.api.model.Transaction
import com.stocksexchange.android.api.model.TransactionParameters
import com.stocksexchange.android.model.DataLoadingSources
import com.stocksexchange.android.model.Da... | 0 | Kotlin | 0 | 0 | 35a7f9a61f52f68ab3267da24da3c1d77d84e9c3 | 2,246 | Android-app | MIT License |
src/main/kotlin/com/github/hotm/world/auranet/AuraNetAccess.kt | Heart-of-the-Machine | 271,669,718 | false | null | package com.github.hotm.world.auranet
import com.github.hotm.auranet.AuraNode
import com.github.hotm.util.DimBlockPos
import net.minecraft.util.math.BlockPos
import net.minecraft.util.math.ChunkSectionPos
import net.minecraft.world.World
import java.util.function.Predicate
import java.util.stream.Stream
interface Aur... | 7 | Kotlin | 0 | 5 | de148c50f9c8ea1d1a3bd4f4dfb035c4614d70a1 | 1,761 | heart-of-the-machine | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.