path
stringlengths
4
280
owner
stringlengths
2
39
repo_id
int64
21.1k
879M
is_fork
bool
2 classes
languages_distribution
stringlengths
13
1.95k
⌀
content
stringlengths
7
482k
issues
int64
0
13.9k
main_language
stringclasses
121 values
forks
stringlengths
1
5
stars
int64
0
111k
commit_sha
stringlengths
40
40
size
int64
7
482k
name
stringlengths
1
100
license
stringclasses
93 values
app/src/main/java/com/example/jetpackdemo/ui/fragment/module/cinema/MovieVideoFragment.kt
QingTianI
411,199,785
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "XML": 183, "Kotlin": 153, "Java": 2}
package com.example.jetpackdemo.ui.fragment.module.cinema import android.os.Bundle import androidx.fragment.app.Fragment import androidx.lifecycle.MutableLiveData import cn.jzvd.JzvdStd import com.example.jetpackdemo.R import com.example.jetpackdemo.base.BaseFragment import com.example.jetpackdemo.data.model.bean.Vide...
1
null
1
1
94ec7a142072e97282578f65137c5a6460c7d0e7
4,868
CatEyeDemo
Apache License 2.0
common/src/main/java/com/mrl/pixiv/common/router/DestinationsDeepLink.kt
master-lzh
656,227,310
false
{"Kotlin": 470541}
package com.mrl.pixiv.common.router import androidx.core.net.toUri object DestinationsDeepLink { val illustRegex = "http(s)?://(www\\.)?pixiv\\.(net|me)/artworks/(\\d+)".toRegex() val userRegex = "http(s)?://(www\\.)?pixiv\\.(net|me)/users/(\\d+)".toRegex() private val BaseUri = listOf( "https://...
0
Kotlin
0
8
f31d9f7965ec415f045851530ccfd6d76715ac24
940
PiPixiv
Apache License 2.0
platform/lang-impl/src/com/intellij/util/indexing/projectFilter/IndexableFilesFilterHealthCheckCollector.kt
JetBrains
2,489,216
false
null
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package com.intellij.util.indexing.projectFilter import com.intellij.internal.statistic.eventLog.EventLogGroup import com.intellij.internal.statistic.eventLog.events.EventFields import com.intellij....
284
null
5162
16,707
def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0
5,688
intellij-community
Apache License 2.0
kotlin_homework/src/main/java/chapter/android/aweme/ss/com/kotlin_homework/devapp/WordRoomDatabase.kt
nebulau
195,830,376
false
{"Java": 135159, "Kotlin": 15188}
package chapter.android.aweme.ss.com.kotlin_homework.devapp import android.arch.persistence.db.SupportSQLiteDatabase import android.arch.persistence.room.Database import android.arch.persistence.room.Room import android.arch.persistence.room.RoomDatabase import android.content.Context import kotlinx.coroutines.Corouti...
1
null
1
1
3ed4cec6cf00a830c591d6ac031a73e95a1385eb
1,869
project_douyin
MIT License
packages/SystemUI/compose/features/src/com/android/systemui/common/ui/compose/ContentDescription.kt
liu-wanshun
595,904,109
true
null
/* * Copyright (C) 2022 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 app...
0
Java
1
2
e99201cd9b6a123b16c30cce427a2dc31bb2f501
1,091
platform_frameworks_base
Apache License 2.0
core/tmdb-api/api/src/commonMain/kotlin/com/thomaskioko/tvmaniac/tmdb/api/model/GenreResponse.kt
c0de-wizard
361,393,353
false
null
package com.thomaskioko.tvmaniac.tmdb.api.model import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable @Serializable data class GenreResponse( @SerialName("id") val id: Int, @SerialName("name") val name: String, )
9
null
13
98
8bc3853d84c58520dffe26ddb260a2e7b6482ae9
251
tv-maniac
Apache License 2.0
app/src/main/java/com/akanbi/rickandmorty/network/model/location/LocationResponse.kt
akanbi
520,195,781
false
{"Kotlin": 92943}
package com.akanbi.rickandmorty.network.model.location data class LocationResponse( val info: Info, val results: List<Result> )
0
Kotlin
0
1
02fbcbde44ff8d1ddfc9985c5807d20877e72620
136
rick-and-morty-app
MIT License
src/main/kotlin/net/sportsday/services/ImagesService.kt
Sports-day
589,245,462
false
{"Kotlin": 205119, "Dockerfile": 330}
package net.sportsday.services import io.ktor.server.plugins.* import net.sportsday.models.* import org.jetbrains.exposed.sql.transactions.transaction import java.time.LocalDateTime /** * Created by testusuke on 2023/03/16 * @author testusuke */ object ImagesService { fun getAll(): Result<List<Image>> { ...
8
Kotlin
0
1
9d1ffc8a49ba1a7e92fdbfc7c8cee358d422b473
1,468
SportsDayAPI
Apache License 2.0
src/main/kotlin/net/sportsday/services/ImagesService.kt
Sports-day
589,245,462
false
{"Kotlin": 205119, "Dockerfile": 330}
package net.sportsday.services import io.ktor.server.plugins.* import net.sportsday.models.* import org.jetbrains.exposed.sql.transactions.transaction import java.time.LocalDateTime /** * Created by testusuke on 2023/03/16 * @author testusuke */ object ImagesService { fun getAll(): Result<List<Image>> { ...
8
Kotlin
0
1
9d1ffc8a49ba1a7e92fdbfc7c8cee358d422b473
1,468
SportsDayAPI
Apache License 2.0
app/src/main/java/dev/salih/ampligram/ui/theme/Color.kt
salihgueler
625,739,993
false
null
package dev.salih.ampligram.ui.theme import androidx.compose.ui.graphics.Color val md_theme_light_primary = Color(0xFF006A64) val md_theme_light_onPrimary = Color(0xFFFFFFFF) val md_theme_light_primaryContainer = Color(0xFF71F7EC) val md_theme_light_secondary = Color(0xFF0661A4) val md_theme_light_onSecondary = Color(...
0
Kotlin
1
0
f261832f493537f33fe879f0f756f8dc1aba20ef
1,268
Ampligram
Apache License 2.0
src/JargonKt.kt
unelma
184,410,038
false
null
import die.D66 import jargon.Speeching import utils.runCommand import utils.selectRandomly import voices.Voice fun main() { repeat(1000) { speakOutloud(speeching = selectRandomly(), voice = selectRandomly()) val waitSeconds = (3..6).selectRandomly() println("... $waitSeconds seconds till n...
0
Kotlin
0
0
8f3958f5ff7ebdcb46333a50dc21c3446845e6c8
711
judge-jargon
MIT License
src/main/kotlin/com/fintecsystems/xs2a/java/models/risk/ExpectedHolderObject.kt
FinTecSystems
399,112,589
false
null
package com.fintecsystems.xs2a.java.models.risk import com.squareup.moshi.Json /** * * @param firstname The first name * @param name The last name */ data class ExpectedHolderObject ( /* The first name */ @Json(name = "firstname") var firstname: String, /* The last name */ @Json(name = "na...
0
Kotlin
3
3
442715946fa34f6947a6eaa97adb00278dc7d09b
349
xs2a-java
MIT License
rounded/src/commonMain/kotlin/me/localx/icons/rounded/filled/Dragon.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.rounded.filled import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter ...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
6,110
icons
MIT License
buildSrc/src/main/kotlin/com/f1db/plugin/mapper/SeasonConstructorStandingMapper.kt
f1db
403,954,428
false
{"Kotlin": 121598}
package com.f1db.plugin.mapper import com.f1db.schema.single.Season import com.f1db.schema.single.SeasonConstructorStanding import org.mapstruct.AfterMapping import org.mapstruct.Context import org.mapstruct.Mapper import org.mapstruct.Mapping import org.mapstruct.MappingTarget import org.mapstruct.factory.Mappers imp...
6
Kotlin
12
73
ce39087468abc07ddb3525c651ff47a7e475b19a
1,282
f1db
Creative Commons Attribution 4.0 International
core/src/commonTest/kotlin/maryk/core/query/responses/UpdatesResponseTest.kt
marykdb
290,454,412
false
null
package maryk.core.query.responses import maryk.checkJsonConversion import maryk.checkProtoBufConversion import maryk.checkYamlConversion import maryk.core.extensions.toUnitLambda import maryk.core.models.testMarykModelObject import maryk.core.query.RequestContext import maryk.core.query.changes.Change import maryk.co...
1
null
1
8
a1e2e988c61067d3fecc952e417e80b4a775ad9c
2,774
maryk
Apache License 2.0
numass-analysis/src/commonMain/kotlin/ru/inr/mass/data/analysis/NumassEventExtractor.kt
mipt-npm
438,310,595
false
{"Kotlin": 151716, "Jupyter Notebook": 2398}
package ru.inr.mass.data.analysis import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.map import kotlinx.coroutines.flow.mapNotNull import ru.inr.mass.data.api.NumassBlock import ru.inr.mass.data.api.NumassEvent public fun interface NumassEventExtractor { public suspend fun extract(block: NumassBlo...
0
Kotlin
1
0
b911790238c1a6c0d21039c869a7b1cbc87978fc
2,692
numass
Apache License 2.0
app/src/main/java/com/geofriend/ecommercesampleapp/product/model/ProductResponse.kt
vkvashistha
504,568,423
false
{"Kotlin": 41871}
package com.geofriend.ecommercesampleapp.product.model import com.geofriend.ecommercesampleapp.network.Status data class Sku(val id:String, val name:String, val isAvailable:Boolean) data class ProductInfo(val id:String, val imageUrls:List<String>, val title : String, val description: String, val price : String, val ...
0
Kotlin
0
0
db00bbbd6ec44c184937b31f58827915230fd607
449
EcommerceSampleApp
MIT License
app/src/main/java/com/batodev/tetris/presentation/game/grid/style/types/SaturatedStyle.kt
robmat
767,879,944
false
{"Kotlin": 71525}
package com.batodev.tetris.presentation.game.grid.style.types import android.content.Context import com.batodev.tetris.presentation.game.grid.block.SaturatedBlock import com.batodev.tetris.presentation.game.grid.colors.VibrantColorChooser import com.batodev.tetris.presentation.game.grid.style.StyleCreator class Satur...
0
Kotlin
0
0
2677e6c5ebbaada1b7c0d55fe9e6af81562ac50f
506
android_tetris
Apache License 2.0
src/main/kotlin/com/hypto/iam/server/extensions/Mappers.kt
shharma-vipin
475,598,883
true
{"Kotlin": 412093, "Java": 10795, "Shell": 1279, "Dockerfile": 91}
package com.hypto.iam.server.extensions import com.hypto.iam.server.db.tables.pojos.Actions import com.hypto.iam.server.db.tables.pojos.AuditEntries import com.hypto.iam.server.db.tables.pojos.Credentials import com.hypto.iam.server.db.tables.pojos.Policies import com.hypto.iam.server.db.tables.pojos.Resources import ...
0
Kotlin
0
0
f1f05bfe2628a13aa83eb2e6defdc3ef5a53d136
7,614
iam
MIT License
butterfly/src/main/java/com/morpho/butterfly/lexicons/com/atproto/sync/subscribeReposHandle.kt
morpho-app
752,463,268
false
{"Kotlin": 811512}
package com.atproto.sync import kotlin.Long import kotlinx.serialization.Serializable import com.morpho.butterfly.Did import com.morpho.butterfly.Handle import com.morpho.butterfly.model.Timestamp @Serializable public data class SubscribeReposHandle( public val seq: Long, public val did: Did, public val handle:...
20
Kotlin
0
8
525b2f18e9cef6d973c66cf2b3684a06d38332ab
361
Morpho
Apache License 2.0
homecontrol/app/src/main/java/com/centaq/homecontrol/SMSController.kt
centaq
695,637,745
false
{"Kotlin": 21419}
package com.centaq.homecontrol import android.app.Activity import android.content.Context import android.content.pm.PackageManager import android.telephony.SmsManager import android.widget.Toast import androidx.core.app.ActivityCompat public final class SMSController() { companion object { @JvmStatic ...
0
Kotlin
0
0
1083875e1e2ec7be65ef73c9e74a8785e7b12532
1,290
android-homecontrol
MIT License
src/test/kotlin/io/rsocket/TestClient.kt
rstoyanchev
212,016,131
true
{"Kotlin": 52733, "Shell": 2181}
package io.rsocket import io.rsocket.cli.Main fun main(args: Array<String>) { Main.main("--debug", "-i", "Client", "--request", "tcp://localhost:9898") }
0
null
0
0
2eb77b425557faf0339f32353c0104912b8d8b80
158
rsocket-cli
Apache License 2.0
IntelliJ/src/main/kotlin/cn/xlorpaste/jetbrains/Client.kt
XLorPaste
441,324,726
false
{"TypeScript": 32634, "Vue": 24147, "Kotlin": 6045, "CSS": 5100, "HTML": 543, "JavaScript": 302}
package cn.xlorpaste.jetbrains import com.intellij.notification.* import com.intellij.openapi.actionSystem.AnActionEvent import com.intellij.openapi.diagnostic.logger import com.intellij.openapi.progress.runBackgroundableTask import com.intellij.openapi.project.Project import icons.PasteIcons import io.ktor.client.* i...
7
TypeScript
0
2
3a92681845701300ab1dfe9ad9a94871621eccba
4,541
XLorPaste
MIT License
presentation/src/androidMain/kotlin/ireader/presentation/core/di/presentationPlatformModule.kt
IReaderorg
425,288,628
false
null
package ireader.presentation.core.di import ireader.presentation.core.PlatformHelper import ireader.presentation.core.theme.IUseController import ireader.presentation.core.theme.LocaleHelper import ireader.presentation.core.ui.SecuritySettingViewModel import ireader.presentation.imageloader.coil.CoilLoaderFactory impo...
7
Kotlin
21
186
9947dc0e09e25095da1b86e15bfd72af80725892
2,329
IReader
Apache License 2.0
src/main/kotlin/com/helltar/anf5_bot/db/CpyListTable.kt
Helltar
489,934,093
false
null
package com.helltar.anf5_bot.db import com.helltar.anf5_bot.db.CpyList.defecationRate import com.helltar.anf5_bot.db.CpyList.firstName import com.helltar.anf5_bot.db.CpyList.userId import com.helltar.anf5_bot.db.Database.dbQuery import org.jetbrains.exposed.sql.* import org.telegram.telegrambots.meta.api.objects.User ...
0
Kotlin
0
0
9a8a1a83be482072547d453e686cdbe718e9c714
2,410
anf5_bot
MIT License
src/test/kotlin/de/spinscale/queue/ProcessorSpec.kt
spinscale
116,555,019
false
null
package de.spinscale.queue import com.amazonaws.services.lambda.runtime.Context import com.natpryce.hamkrest.* import com.natpryce.hamkrest.assertion.assert import de.spinscale.test.TestContext import de.spinscale.test.TestLambdaLogger import org.jetbrains.spek.api.Spek import org.jetbrains.spek.api.dsl.describe impor...
0
Kotlin
1
12
3dbc479fd37e6b1e80e57e4810ed195987a6bdfe
8,339
serverless-owntracks-kotlin
Apache License 2.0
smash-ranks-android/app/src/main/java/com/garpr/android/misc/RequestCodes.kt
charlesmadere
41,832,700
true
null
package com.garpr.android.misc import android.os.Parcel import android.os.Parcelable import com.garpr.android.extensions.createParcel enum class RequestCodes : Parcelable { CHANGE_IDENTITY, CHANGE_REGION, CHANGE_RINGTONE; companion object { @JvmField val CREATOR = createParcel { val...
0
Kotlin
0
9
151b2a0f9b4d38be60c3f73344ca444f17810bfd
546
smash-ranks-android
The Unlicense
src/main/kotlin/world/cepi/subfuzzy/SubFuzzArgument.kt
Project-Cepi
437,303,497
false
null
package world.cepi.subfuzzy import net.minestom.server.command.builder.arguments.ArgumentWord class SubFuzzArgument( id: String, val subFuzz: SubFuzz ) : ArgumentWord(id) { init { from(*subFuzz.possibilities.toTypedArray()) setCallback { sender, exception -> subFuzz(sender, ex...
3
Kotlin
0
0
4b39b80686f1635a0e7ca38ded4dce841426e601
353
Subfuzzy
MIT License
gateway/src/main/kotlin/brc/studybuddy/backend/gateway/config/AuthConfig.kt
bruciati
428,011,939
false
{"Kotlin": 79964, "Python": 7174, "Nix": 496}
package brc.studybuddy.backend.gateway.config import io.jsonwebtoken.JwtParser import io.jsonwebtoken.Jwts import io.jsonwebtoken.SignatureAlgorithm import org.springframework.beans.factory.annotation.Value import org.springframework.context.annotation.Bean import org.springframework.context.annotation.Configuration i...
0
Kotlin
0
0
bbe8bbd68ba75a6b16a459525dc904ee19f7889c
787
study-buddy-backend
Apache License 2.0
app/src/main/java/com/ntgclarity/authenticator/Data_Classes/NewsClass.kt
Abdaishere
522,235,010
false
null
package com.example.example import com.google.gson.annotations.SerializedName data class NewsClass ( @SerializedName("status" ) var status : String? = null, @SerializedName("totalResults" ) var totalResults : Int? = null, @SerializedName("articles" ) var articles ...
0
Kotlin
0
0
ec4ae0a7322c27eeef4373cf92d02bf773a7800b
356
News-App
MIT License
cupertino/src/commonMain/kotlin/io/github/alexzhirkevich/cupertino/icons/outlined/Xmark.kt
alexzhirkevich
636,411,288
false
{"Kotlin": 4456601, "Ruby": 2310, "Swift": 2101, "Shell": 856, "HTML": 762}
package io.github.alexzhirkevich.cupertino.icons.outlined import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJo...
1
Kotlin
14
362
60fd9234eb9f2df97bc8523ea2ed344ad7f58655
2,293
compose-cupertino
Apache License 2.0
gradle-plugin/plugin/src/main/kotlin/com/emergetools/android/gradle/tasks/internal/SaveExtensionConfigTask.kt
EmergeTools
645,957,551
false
{"Kotlin": 255570}
package com.emergetools.android.gradle.tasks.internal import com.emergetools.android.gradle.EmergePluginExtension import com.emergetools.android.gradle.GitHubOptions import com.emergetools.android.gradle.GitLabOptions import com.emergetools.android.gradle.PerfOptions import com.emergetools.android.gradle.SizeOptions i...
9
Kotlin
2
9
8174b9c6e2d7791e01363aabd4d287736bfa38c4
4,615
emerge-android
Apache License 2.0
app/src/main/java/com/benxinm/travelapp/ui/community/Community.kt
Benxinm
522,448,719
false
{"Kotlin": 267366}
package com.benxinm.travelapp.ui.community import android.util.Log import android.widget.Toast import androidx.compose.foundation.background import androidx.compose.foundation.layout.* import androidx.compose.foundation.lazy.LazyColumn import androidx.compose.material.Icon import androidx.compose.runtime.* import andr...
0
Kotlin
0
0
3e85c9bf5688ee89f3cb08513c4041671b5a78b2
7,704
TravelApp
Apache License 2.0
api/src/main/kotlin/com/seedcompany/cordtables/components/tables/common/ticket_assignments/Update.kt
CordField
409,237,733
false
null
package com.seedcompany.cordtables.components.tables.common.ticket_assignments import com.seedcompany.cordtables.common.ErrorType import com.seedcompany.cordtables.common.Utility import org.springframework.beans.factory.annotation.Autowired import org.springframework.stereotype.Controller import org.springframework.w...
93
Kotlin
1
3
7e5588a8b3274917f9a5df2ffa12d27db23fb909
2,173
cordtables
MIT License
src/main/kotlin/net/scarecrow/commands/ScarecrowCommand.kt
ok4m0e0
856,309,818
false
{"Kotlin": 7305}
package net.scarecrow.commands import net.scarecrow.interfaces.BaseCommand import org.bukkit.command.Command import org.bukkit.command.CommandSender class ScarecrowCommand( private val subCommandRegistrar: SubCommandRegistrar ) : BaseCommand { override val name = "scarecrow" override fun execute(sender: ...
0
Kotlin
0
1
700401e94beaf3b52d8423b91f50d03d9c3074ed
494
Scarecrow
MIT License
core-test/src/test/kotlin/io/github/lavenderses/aws_app_config_openfeature_provider/proxy/appconfig_data_client/AwsAppConfigDataClientProxyTest.kt
lavenderses
795,942,797
false
{"Kotlin": 108089, "Java": 105311}
package io.github.lavenderses.aws_app_config_openfeature_provider.proxy.appconfig_data_client import assertk.assertThat import assertk.assertions.isEqualTo import io.github.lavenderses.aws_app_config_openfeature_provider.utils.ObjectMapperBuilder import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.Befo...
14
Kotlin
0
1
74b780d4b81302a7341f2b47208712050a0bb4c6
2,237
aws-appconfig-openfeature-provider-java
Apache License 2.0
app/src/main/java/br/com/dfn/swipebutton/MainActivity.kt
nascimentodiego
133,460,199
false
null
package br.com.dfn.swipebutton import android.animation.Animator import android.content.res.Resources import android.os.Bundle import android.os.Handler import android.support.v7.app.AppCompatActivity import android.view.MotionEvent import android.view.View.OnTouchListener import android.widget.Toast import kotlinx.an...
0
Kotlin
0
1
de21099831a340882dde56a65248b9226df9f402
3,186
swipeButton
Apache License 2.0
core/travel_taipei_api/src/main/java/tw/com/deathhit/core/travel_taipei_api/protocol/TravelTaipeiRetrofitService.kt
Deathhit
748,190,483
false
{"Kotlin": 128617}
package tw.com.deathhit.core.travel_taipei_api.protocol import retrofit2.http.GET import retrofit2.http.Headers import retrofit2.http.Path import retrofit2.http.Query import tw.com.deathhit.core.travel_taipei_api.protocol.response.GetAttractionsResponse internal interface TravelTaipeiRetrofitService { @Headers("A...
0
Kotlin
0
0
cd6fcc8e9ad6606742e8893385176de64e2378f7
513
TaipeiTour
Apache License 2.0
app/src/main/java/io/gebes/composer/MainActivity.kt
Gebes
388,589,806
false
null
package io.gebes.composer import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.material.MaterialTheme import androidx.compose.material.Surface import androidx.compose.runtime.Composable import androidx.navigation.NavHostController impor...
0
Kotlin
0
2
c2d8d44bf84e315b1a8ae08e178f02a4665c479f
2,540
Composer
MIT License
app/src/test/java/com/cesarmauri/clean_architecture/application/interactor/UseCaseCompletableTest.kt
cmauri
304,640,986
false
null
/* * Copyright 2020 by <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 l...
0
Kotlin
2
7
af2a8c574eae3b89e56e4849509af6f62a6688ab
2,289
android-clean-architecture
Apache License 2.0
app/src/test/java/com/cesarmauri/clean_architecture/application/interactor/UseCaseCompletableTest.kt
cmauri
304,640,986
false
null
/* * Copyright 2020 by <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 l...
0
Kotlin
2
7
af2a8c574eae3b89e56e4849509af6f62a6688ab
2,289
android-clean-architecture
Apache License 2.0
kmock-processor/src/test/kotlin/tech/antibytes/kmock/processor/multi/ParentFinderSpec.kt
bitPogo
455,829,905
false
null
/* * Copyright (c) 2022 <NAME> (bitPogo) / All rights reserved. * * Use of this source code is governed by Apache v2.0 */ package tech.antibytes.kmock.processor.multi import io.mockk.mockk import org.junit.jupiter.api.Test import tech.antibytes.kfixture.fixture import tech.antibytes.kfixture.kotlinFixture import ...
3
null
2
56
9a94e2842f615b08d4e2942c4987278a3d5c9f43
5,352
kmock
Apache License 2.0
src/main/kotlin/com/dfsek/terra/biometool/util/concurrency.kt
PolyhedralDev
433,310,766
false
null
@file:Suppress("unused") package com.dfsek.terra.biometool.util import java.util.concurrent.Callable import java.util.concurrent.Executors import java.util.concurrent.ScheduledExecutorService import java.util.concurrent.ScheduledFuture import java.util.concurrent.ThreadFactory import java.util.concurrent.TimeUnit imp...
5
Kotlin
0
7
d41d2bd2a97ff0d243ac4edf49b57dce1b8f5afe
4,283
BiomeTool
MIT License
src/main/kotlin/interpreter/Beatwalls.kt
spookyGh0st
197,557,690
false
null
package interpreter import beatwalls.logError import beatwalls.logInfo import interpreter.parser.Parser import structure.bwElements.BwElement import java.io.File class Beatwalls(val workingDirectory: File, val bwFiles: List<File>) { var hadError = false val options = Options(workingDirectory) fun run(){...
3
Kotlin
9
19
0ba55cb3d9abb3a9e57e8cef6c7eb0234c4f116a
1,857
beatwalls
MIT License
feature/favorites/src/main/kotlin/com/donghanx/favorites/FavoritesScreen.kt
DonghanX
697,115,187
false
{"Kotlin": 188052}
package com.donghanx.favorites import androidx.compose.runtime.Composable import androidx.compose.runtime.getValue import androidx.compose.ui.Modifier import androidx.hilt.navigation.compose.hiltViewModel import androidx.lifecycle.compose.collectAsStateWithLifecycle import com.donghanx.favorites.navigation.FAVORITES_R...
0
Kotlin
0
0
142ca38a68be3abf07fb83d03643f01995991d85
1,029
nowinmtg
MIT License
dsl/src/main/kotlin/cloudshift/awscdk/dsl/services/eks/NodegroupOptionsDsl.kt
cloudshiftinc
667,063,030
false
null
@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") package cloudshift.awscdk.dsl.services.eks import cloudshift.awscdk.common.CdkDslMarker import cloudshift.awscdk.dsl.services.ec2.SubnetSelect...
1
Kotlin
0
0
17c41bdaffb2e10d31b32eb2282b73dd18be09fa
8,974
awscdk-dsl-kotlin
Apache License 2.0
src/jsMain/kotlin/team/karakum/page/Footer.kt
karakum-team
388,885,791
false
{"Kotlin": 84995, "JavaScript": 1111, "HTML": 515, "CSS": 160}
package io.github.aerialist7.page import mui.material.BottomNavigation import mui.material.BottomNavigationAction import mui.system.sx import react.FC import react.ReactNode import react.create import react.dom.html.ReactHTML import kotlin.text.Typography.nbsp import mui.icons.material.BuildCircleOutlined as BuildCirc...
0
Kotlin
13
88
c6d7bc631142490532f75174afd0c51f8c3d1012
1,364
kotlin-mui-showcase
Apache License 2.0
android/src/main/kotlin/rekab/app/background_locator/provider/BLLocationProvider.kt
rekabhq
209,099,411
false
{"Kotlin": 52608, "Dart": 30363, "Objective-C": 24131, "Ruby": 2080, "Swift": 986}
package com.passioncoder.device_background_location.provider interface BLLocationProvider { var listener: LocationUpdateListener? fun removeLocationUpdates() fun requestLocationUpdates(request: LocationRequestOptions) }
155
Kotlin
308
287
741dc82ad706cb1a6361a4f60b59a37b8254f142
235
background_locator
MIT License
src/main/kotlin/ru/krindra/vknorthtypes/calls/CallsParticipants.kt
kravandir
745,597,090
false
{"Kotlin": 633233}
package ru.krindra.vknorthtypes.calls import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable @Serializable data class CallsParticipants ( @SerialName("list") val list: List<Int>? = null, @SerialName("count") val count: Int? = null, )
0
Kotlin
0
0
508d2d1d59c4606a99af60b924c6509cfec6ef6c
271
VkNorthTypes
MIT License
app/src/main/java/com/tahadardev/exchangerate/feature/currency_exchange/data/repository/CurrencyRepositoryImpl.kt
hysekbutt
667,988,678
false
null
package com.tahadardev.exchangerate.feature.currency_exchange.data.repository import android.content.Context import com.tahadardev.exchangerate.R import com.tahadardev.exchangerate.common.DataStorePreferences import com.tahadardev.exchangerate.common.Resource import com.tahadardev.exchangerate.feature.currency_exchang...
0
Kotlin
0
1
693e47225eae61a5b6f8be31fb0fc93a7576c85d
5,121
currency-exchange-automate
MIT License
data/src/main/kotlin/com/stepmate/data/remote/dto/response/IdResponse.kt
step-Mate
738,437,093
false
{"Kotlin": 732407}
package com.stepmate.data.remote.dto.response data class UserId( val userId: String )
0
Kotlin
0
0
589774b58ae8529b486c3ec19e0e39db01e48dd6
91
Android
Apache License 2.0
src/test/kotlin/de/twoSIT/models/NodeTest.kt
AccessibleMaps
372,466,015
false
null
package de.twoSIT.models import org.junit.Test import kotlin.math.roundToInt import kotlin.test.assertTrue class NodeTest { @Test fun testDistanceToSameCoordinates() { val node1 = IndoorObject("1", 10.020134, 10.2356, mutableSetOf(1f), mutableMapOf()) val node2 = IndoorObject("2", 10.020134, ...
0
Kotlin
0
0
75bdca075285462c8a6d8014dd37b0711b154046
854
IndoorOSMtoSITConverter
MIT License
src/jvmMain/kotlin/us/berkovitz/plexapi/media/MediaItem.kt
joeyberkovitz
549,952,366
false
null
package us.berkovitz.plexapi.media import io.ktor.client.call.* import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable import kotlinx.serialization.Transient import nl.adaptivity.xmlutil.serialization.XmlDefault import nl.adaptivity.xmlutil.serialization.XmlElement import us.berkovitz.plexap...
0
Kotlin
0
0
a5ea453858d046fd6cb9fa43e6184ace4ba9394f
3,770
kotlin-plexapi
MIT License
yandex-mapkit-kmp/src/iosMain/kotlin/ru/sulgik/mapkit/layers/ObjectEvent.ios.kt
SuLG-ik
813,953,018
false
{"Kotlin": 210084}
package ru.sulgik.mapkit.layers import ru.sulgik.mapkit.user_location.toCommon import YandexMapKit.YMKObjectEvent as NativeObjectEvent import YandexMapKit.YMKUserLocationAnchorChanged as NativeUserLocationAnchorChanged import YandexMapKit.YMKUserLocationIconChanged as NativeUserLocationIconChanged actual open class O...
1
Kotlin
1
10
c7923c349864cbb38d90fff888d455a96524cbfb
721
yandex-mapkit-kmp
Apache License 2.0
kotlintest-tests/src/test/kotlin/com/sksamuel/kotlintest/tests/matchers/string/StringMatchersTest.kt
raulraja
128,757,225
true
{"Kotlin": 415205, "Java": 1380}
package com.sksamuel.kotlintest.tests.matchers import io.kotlintest.matchers.endWith import io.kotlintest.matchers.haveLength import io.kotlintest.matchers.string.include import io.kotlintest.matchers.match import io.kotlintest.matchers.should import io.kotlintest.matchers.shouldNot import io.kotlintest.matchers.start...
0
Kotlin
0
0
f57ac8ecdc70c242e01e79fb83a43ac994579893
6,480
kotlintest
Apache License 2.0
examples/channel/channel-example-1.kt
LenditKr
218,196,453
true
null
package channel.example1 import channel.go import channel.mainBlocking import delay.delay import java.time.LocalDateTime // https://tour.golang.org/concurrency/1 /** * Suspend 키워드는 함수를 suspend 하게 실행시킬 수 있게 하고 * corountine context 안에서만 실행할 수 있다. * 참조: https://bit.ly/34AB8EK */ suspend fun say(s: String) { prin...
0
null
0
2
7829d060e93702f58995675065e9361f58a46075
667
coroutines-examples
Apache License 2.0
client/src/main/kotlin/phraseapp/internal/printers/FileOperation.kt
Decathlon
360,882,777
false
null
package phraseapp.internal.printers import java.io.File interface FileOperation { fun print(path: String, content: String) fun delete(file: File) }
4
Kotlin
6
8
9515ad44c98004ec372ff87e5c7b7fc2959dd2f3
157
gradle-plugin-phraseapp
Apache License 2.0
grpc-order-management-service/src/test/kotlin/com/ribbontek/ordermanagement/factory/entity/UserAddressFactory.kt
ribbontek
834,289,255
false
{"Kotlin": 424897, "Shell": 26370, "HTML": 1565, "Dockerfile": 557, "PLpgSQL": 398}
package com.ribbontek.ordermanagement.factory.entity import com.ribbontek.ordermanagement.repository.user.AddressTypeEntity import com.ribbontek.ordermanagement.repository.user.UserAddressEntity import com.ribbontek.ordermanagement.repository.user.UserEntity import com.ribbontek.ordermanagement.util.FakerUtil object ...
0
Kotlin
0
0
8116d11ba6f180493d88a2d132b1be79be3db1b4
800
grpc-course
MIT License
src/test/kotlin/org/thiyagu/zally/reports/JsonReporterTest.kt
thiyagu06
384,658,347
false
{"Kotlin": 53809, "HTML": 1660}
package org.thiyagu.zally.reports import com.fasterxml.jackson.core.JsonPointer import com.fasterxml.jackson.databind.ObjectMapper import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test import org.junit.jupiter.api.io.TempDir import org.zalando.zally.core.Result import org.zalando.zally.ru...
17
Kotlin
1
3
556ced61e8d0298feedb2bd490e37dc9c972dd64
2,664
zally-gradle-plugin
MIT License
kalexa-persistent-attributes/src/main/kotlin/com/hp/kalexa/persistentattributes/Extension.kt
HPInc
164,478,295
false
null
/* * Copyright 2018 HP Development Company, L.P. * SPDX-License-Identifier: MIT */ package com.hp.kalexa.persistentattributes import com.hp.kalexa.core.intent.BaseHandler /** * Persists all session attributes into database by a given id * @param id to save all session attributes * attributes. Default is true ...
0
Kotlin
1
17
e6674eeb24c255aef1859a62a65b805effdc9676
1,315
kalexa-sdk
MIT License
src/main/kotlin/adventofcode/Puzzles.kt
pfolta
573,956,675
false
null
package adventofcode import org.reflections.Reflections object Puzzles { private val reflections = Reflections("adventofcode") private val puzzles = reflections .getSubTypesOf(Puzzle::class.java) .sortedBy(Class<out Puzzle>::getName) .map { it.getDeclaredConstructor().newInstance()!! ...
0
Kotlin
0
0
c20489304c3ced82a67fc290f5046e631b4bf9c9
806
AdventOfCode
MIT License
analyser_openapi/src/main/kotlin/org/archguard/scanner/analyser/api/postman/PostmanItem.kt
archguard
460,910,110
false
{"Kotlin": 1540609, "Java": 593833, "TypeScript": 11395, "C#": 5593, "Dockerfile": 2263, "Shell": 926, "C": 696, "JavaScript": 400, "Go": 291, "Scala": 97, "Python": 42, "Rust": 32}
package org.archguard.scanner.analyser.api.postman import kotlinx.serialization.Serializable @Serializable open class PostmanItem { open val item: List<PostmanItem>? = null open var name: String? = null open var description: String? = null open var event: List<PostmanEvent>? = null open var reques...
3
Kotlin
86
557
92c0c8b577c7462b290e8fe89fa47d769ef98e64
578
archguard
MIT License
godot-kotlin/lib/src/mingwMain/kotlin/godot/AABB.kt
harry-peirse
170,831,777
false
{"Kotlin": 179214, "GDScript": 439}
package godot import godot.internal.godot_aabb import kotlinx.cinterop.* class AABB(var position: Vector3 = Vector3(), var size: Vector3 = Vector3()) { internal constructor(raw: CPointer<godot_aabb>) : this( memScoped { Vector3(api.godot_aabb_get_position!!(raw).ptr) }, memScoped { Vector3...
0
Kotlin
1
2
5d935d6ba53b674a1a34c332bd9b8651362ffbe5
16,746
godot-kotlin
MIT License
domain/core/data/paiging/src/main/kotlin/net/meilcli/hubber/core/data/paiging/segmentation/single/SingleSegmentationPagingList.kt
MeilCli
634,432,059
false
null
package net.meilcli.hubber.core.data.paiging.segmentation.single import net.meilcli.hubber.core.data.paiging.IPagingElement import net.meilcli.hubber.core.data.paiging.IPagingList import net.meilcli.hubber.core.data.paiging.IPagingListSegment import net.meilcli.hubber.core.data.paiging.IPagingRequest import net.meilcl...
0
Kotlin
0
0
5bdd61fec9299de475c43d00321553f77294fc34
3,749
hubber
MIT License
app/OutWait/app/src/test/java/edu/kit/outwait/waitingQueue/timeSlotModel/PauseTest.kt
OutWait
398,042,615
false
{"Kotlin": 725686}
package edu.kit.outwait.waitingQueue.timeSlotModel import org.joda.time.DateTime import org.joda.time.Duration import org.joda.time.Interval import org.junit.Assert import org.junit.Assert.* import org.junit.Test class PauseTest { @Test fun `constructor sets interval properly`(){ val duration = Durati...
0
Kotlin
0
1
d3b878b82294899006b21a91f48877aa555eee6e
881
OutWait
MIT License
app/src/main/java/com/nicos/carousel_compose/di/network/NetworkModules.kt
NicosNicolaou16
864,216,461
false
{"Kotlin": 31781}
package com.nicos.carousel_compose.di.network import com.nicos.carousel_compose.domain.remote.init_network.MyNetworkManager import dagger.Module import dagger.Provides import dagger.hilt.InstallIn import dagger.hilt.components.SingletonComponent import retrofit2.Retrofit import javax.inject.Singleton @Module @Install...
0
Kotlin
0
2
7a6df596f09b87d63da86c54935e0c89bf75df76
481
Carousel_Compose
Apache License 2.0
core/common/src/main/java/com/greenie/app/common/audioanalyze/RecordFileManager.kt
Greenie-crew
645,248,480
false
null
package com.greenie.app.common.audioanalyze import android.content.Context import android.os.Environment import dagger.hilt.android.qualifiers.ApplicationContext import java.io.DataOutputStream import java.io.File import java.io.FileOutputStream import java.io.IOException import java.nio.ByteBuffer import java.nio.Byt...
0
Kotlin
2
2
85b83cc81982acf90c7af01d1e9fe0cfa9efc382
3,540
greenie-android
The Unlicense
app/src/main/java/com/arcadone/cheers/ui/mainFragment/MainFragment.kt
ArcaDone
367,069,951
false
{"Kotlin": 46937}
package com.arcadone.cheers.ui.mainFragment import android.os.Bundle import androidx.fragment.app.Fragment import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.viewModels import androidx.navigation.fragment.findNavController import androidx.recyclerview...
0
Kotlin
0
2
72081135059cc5e4ea52194f147048c3e5d53fe8
6,679
PunkAPI
MIT License
src/main/kotlin/cl/benm/jsons/context/CompilerContext.kt
BenMMcLean
660,937,130
false
null
package cl.benm.jsons.context import cl.benm.jsons.config.CompilerConfig interface CompilerContext { val final: Boolean val config: CompilerConfig }
0
Kotlin
0
0
a129ec95d334fef9e71df370a2d8674042a5d4e7
161
JSON-Specialiser
Apache License 2.0
mvvmArch/src/main/java/com/qisan/mvvm/base/fragment/BaseVMFragment.kt
Jeremyzwc
493,134,082
false
{"Kotlin": 298769}
package com.qisan.mvvm.base.fragment import android.text.TextUtils import android.view.View import android.widget.LinearLayout import android.widget.RelativeLayout import android.widget.TextView import androidx.lifecycle.ViewModelProvider import androidx.viewbinding.ViewBinding import com.qisan.baselib.ext.saveAs impo...
0
Kotlin
11
74
785edb5d407fb845fbeab049e3f8542e6fc7cdce
2,602
WanAndroidAppKotlinMVVM
Apache License 2.0
app/src/main/java/com/example/androiddevchallenge/ui/screen/list/MainViewModel.kt
PierreFourreau
346,708,374
false
{"Kotlin": 25878}
/* * Copyright 2021 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 applica...
0
Kotlin
0
0
d3f8c4b47bc3ff515114fb774bf7584bb059ee81
986
android-compose-challenge-dogs
Apache License 2.0
projects/bloom/src/main/kotlin/silentorb/mythic/bloom/old/UserInput.kt
silentorb
227,508,449
false
null
package silentorb.mythic.bloom.old import silentorb.mythic.bloom.Bounds import silentorb.mythic.spatial.Vector2i enum class ButtonState { down, up } enum class BloomEvent { activate, back, up, down, left, right, pageUp, pageDown } data class InputState( val mousePosition: Vector2i, val m...
0
Kotlin
0
2
74462fcba9e7805dddec1bfcb3431665df7d0dee
843
mythic-kotlin
MIT License
app/src/main/java/com/sunnyweather/android/SunnyWeatherApplication.kt
augusgabe
483,194,858
false
null
package com.sunnyweather.android import android.app.Application import android.content.Context class SunnyWeatherApplication:Application() { companion object{ @SuppressWarnings("StaticFieldLeak") lateinit var context: Context const val TOKEN = "oSoUfTIHLPyAwhOo" } override fun onC...
0
Kotlin
0
0
d8be91a314a7ca1134b377793896def8e31c1867
399
SunnyWeather
Apache License 2.0
app/src/main/java/com/sunnyweather/android/SunnyWeatherApplication.kt
augusgabe
483,194,858
false
null
package com.sunnyweather.android import android.app.Application import android.content.Context class SunnyWeatherApplication:Application() { companion object{ @SuppressWarnings("StaticFieldLeak") lateinit var context: Context const val TOKEN = "oSoUfTIHLPyAwhOo" } override fun onC...
0
Kotlin
0
0
d8be91a314a7ca1134b377793896def8e31c1867
399
SunnyWeather
Apache License 2.0
src/main/kotlin/com/devcharly/kotlin/ant/taskdefs/replace.kt
DevCharly
61,804,395
false
null
/* * Copyright 2016 <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...
0
Kotlin
2
6
b73219cd1b9b57972ed42048c80c6618474f4395
8,008
kotlin-ant-dsl
Apache License 2.0
app/src/main/java/com/pastpaperskenya/papers/business/usecases/LocalUserServiceImpl.kt
BenjaminNjoroge
711,505,697
false
{"Kotlin": 337590, "PHP": 113283, "Java": 34463, "JavaScript": 11811, "CSS": 1459}
package com.pastpaperskenya.papers.business.usecases import com.pastpaperskenya.papers.business.datasources.cache.AppDatabase import com.pastpaperskenya.papers.business.model.user.UserDetails import javax.inject.Inject class LocalUserServiceImpl @Inject constructor( private val database: AppDatabase ): LocalUserS...
0
Kotlin
0
0
ae465a00740fca8dec35bfac3564271918acdb7c
1,003
PastPapersKenya
MIT License
app/src/main/java/xyz/ivaniskandar/wear/watchface_3100/MyWatchFaceDigital.kt
ivaniskandar
210,280,339
false
null
package xyz.ivaniskandar.wear.watchface_3100 import android.content.BroadcastReceiver import android.content.Context import android.content.Intent import android.content.IntentFilter import android.graphics.* import android.graphics.drawable.Icon import android.os.Handler import android.os.Message import android.suppo...
0
Kotlin
1
7
218d367b077139c7f000673557429494546e734f
13,895
3100WatchFace
Apache License 2.0
openai-core/src/commonMain/kotlin/com.aallam.openai.api/chat/FunctionCall.kt
aallam
345,180,734
false
null
package com.aallam.openai.api.chat import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable import kotlinx.serialization.json.Json import kotlinx.serialization.json.JsonObject /** * The name and arguments of a function that should be called, as generated by the model. */ @Serializable publi...
10
null
96
902
b876b1cd61c1a87024436cc77080cf73f041b1e8
1,202
openai-kotlin
MIT License
app/src/main/java/com/chandu/qr/ForgotPasswordActivity.kt
zcam007
210,232,665
false
null
package com.gitclonepeace.letsrebug import androidx.appcompat.app.AppCompatActivity import android.os.Bundle class ForgotPasswordActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_forgot_password...
1
null
8
6
b5a05e6b28ddfb97faa4dc47ce310f958f126075
330
Mobile-Billing
Apache License 2.0
ion-schema/src/main/kotlin/com/amazon/ionschema/util/SchemaSymbolsUtil.kt
amazon-ion
148,685,964
false
null
package com.amazon.ionschema.util import com.amazon.ion.IonContainer import com.amazon.ion.IonSymbol import com.amazon.ion.IonValue import com.amazon.ionschema.AuthorityFilesystem import com.amazon.ionschema.IonSchemaSystemBuilder import com.amazon.ionschema.Schema import com.amazon.ionschema.Type import com.amazon.io...
40
null
14
27
7a9ee6d06e9cfdaa530310f5d9be9f5a52680d3b
6,173
ion-schema-kotlin
Apache License 2.0
composeApp/src/desktopMain/kotlin/ru/rznnike/demokmp/app/ui/view/SelectableOutlinedButton.kt
RznNike
834,057,164
false
{"Kotlin": 253206}
package ru.rznnike.demokmp.app.ui.view import androidx.compose.foundation.BorderStroke import androidx.compose.foundation.interaction.MutableInteractionSource import androidx.compose.foundation.interaction.collectIsFocusedAsState import androidx.compose.foundation.layout.PaddingValues import androidx.compose.foundatio...
0
Kotlin
0
0
c63c3676f4cf4d5a27cfe327d976bde45ec11015
1,821
DemoKMP
MIT License
src/main/kotlin/org/rust/ide/refactoring/generate/getter/GenerateGetterHandler.kt
Kobzol
174,706,351
true
{"Kotlin": 8149163, "Rust": 119828, "Python": 80380, "Lex": 20075, "HTML": 18030, "Java": 1274, "Shell": 760, "RenderScript": 89}
/* * Use of this source code is governed by the MIT license that can be * found in the LICENSE file. */ package org.rust.ide.refactoring.generate.getter import com.intellij.openapi.editor.Editor import org.rust.ide.presentation.renderInsertionSafe import org.rust.ide.refactoring.generate.BaseGenerateAction import...
0
Kotlin
0
4
7d5f70bcf89dcc9c772efbeecf20fea7b0fb331e
3,230
intellij-rust
MIT License
voyager-core/src/nativeMain/kotlin/cafe.adriel.voyager.core/concurrent/ThreadSafeList.native.kt
adrielcafe
387,613,592
false
{"Kotlin": 154393}
package cafe.adriel.voyager.core.concurrent import kotlinx.atomicfu.locks.SynchronizedObject import kotlinx.atomicfu.locks.synchronized public actual class ThreadSafeList<T> internal constructor( private val syncObject: SynchronizedObject, private val delegate: MutableList<T> ) : MutableList<T>, ThreadSafeMut...
161
Kotlin
130
2,545
3f1eaf9ca03c6083cab71b06dc8c85c032680035
1,966
voyager
MIT License
feature/employee/src/main/java/com/niyaj/employee/details/EmployeeDetailsViewModel.kt
skniyajali
644,752,474
false
{"Kotlin": 2051174}
package com.niyaj.employee.details import androidx.compose.runtime.State import androidx.compose.runtime.mutableStateOf import androidx.compose.runtime.snapshotFlow import androidx.lifecycle.SavedStateHandle import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.niyaj.data.repository.E...
12
Kotlin
0
3
c6c242eab1bcabbaa2fc573df4af4cbefb00441e
3,129
PoposRoom
Apache License 2.0
app/src/main/java/com/amin/foodparty/ext/BaseContract.kt
m-amin-ghorbani
595,541,689
false
null
package com.amin.foodparty.ext interface BasePresenter<T> { fun onAttach(view:T) fun onDetach() } interface BaseView { fun showProgressBar() }
0
Kotlin
0
1
b17582494fef75f03c11190924391eacb3af240a
158
FoodParty
Apache License 2.0
feature_album/src/test/java/com/igorwojda/showcase/feature/album/presentation/albumlist/AlbumListViewModelTest.kt
mortezahosseinee
263,060,635
false
null
package com.igorwojda.showcase.feature.album.presentation.albumlist import androidx.arch.core.executor.testing.InstantTaskExecutorRule import com.igorwojda.showcase.feature.album.domain.model.AlbumDomainModel import com.igorwojda.showcase.feature.album.domain.usecase.GetAlbumListUseCase import com.igorwojda.showcase.f...
0
null
0
2
71b793b37f8621ba9428c60a9acda598933876ea
3,099
NonStop
MIT License
SurfaceDuoSamples/src/main/java/com/microsoft/device/display/samples/duosamples/DuoSamplesActivity.kt
microsoft
239,923,437
false
null
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. * */ package com.microsoft.device.display.samples.duosamples import android.os.Bundle import androidx.appcompat.app.AppCompatActivity class DuoSamplesActivity : AppCompatActivity() { override fun onCreate(savedIn...
3
Kotlin
13
32
0de2b4b8fd94ca50983ae6ded9cc704610986f3b
665
surface-duo-sdk-samples-kotlin
MIT License
app/src/main/java/org/seeingpixels/adoptionimpact/app/module.kt
adneal
344,001,413
false
null
/* * Copyright 2021 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 applica...
0
Kotlin
0
2
a4a989958889060d05f993f8ec7b3110c1eb54a4
908
compose-challenges
Apache License 2.0
app/src/main/java/dog/snow/androidrecruittest/ui/DetailsFragment.kt
popeknew
290,847,708
true
{"Kotlin": 26370}
package dog.snow.androidrecruittest.ui import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.databinding.DataBindingUtil import androidx.fragment.app.Fragment import androidx.navigation.fragment.navArgs import dog.snow.androidrecruittest.R im...
0
Kotlin
0
0
66754445b99ce69ede365a981626527eb2202f1a
882
android-recruitment-test
Apache License 2.0
compose/material3/material3-window-size-class/src/test/kotlin/androidx/compose/material3/windowsizeclass/WindowSizeClassTest.kt
bentrengrove
293,227,657
true
{"Kotlin": 53957973, "Java": 52425692, "C++": 8961065, "Python": 262621, "AIDL": 233835, "Shell": 174666, "ANTLR": 19860, "HTML": 10802, "CMake": 9490, "TypeScript": 7599, "JavaScript": 4865, "C": 4764, "Objective-C++": 3190}
/* * Copyright 2022 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
1
a9837acd3ec7bed2eb65590aa1e32f26f1cc18cc
2,695
androidx
Apache License 2.0
kotlin/advanced/APIDemo/app/src/main/java/com/google/android/gms/example/apidemo/ads/AdsNativeManager.kt
hieudevsoft
463,394,264
false
{"Java": 224701, "Kotlin": 158635, "Shell": 954, "Dockerfile": 134}
package com.google.android.gms.example.apidemo.ads import android.app.Activity import android.util.Log import android.view.View import android.view.ViewGroup import android.view.ViewTreeObserver import android.widget.* import com.google.android.gms.ads.* import com.google.android.gms.ads.admanager.AdManagerAdRequest i...
1
null
1
1
3c2831e44687314862825062ca9ee17fd092fcf1
6,971
AdsGoogleRebuildByMe
Apache License 2.0
qchatkit/src/main/java/com/netease/yunxin/kit/qchatkit/repo/model/QChatChannelMember.kt
NTnewStudent
739,441,093
true
{"Java Properties": 2, "Gradle Kotlin DSL": 5, "Shell": 1, "Markdown": 1, "Batchfile": 1, "Text": 1, "Ignore List": 3, "INI": 2, "Proguard": 3, "XML": 260, "Kotlin": 52, "Java": 206}
/* * Copyright (c) 2022 NetEase, Inc. All rights reserved. * Use of this source code is governed by a MIT license that can be * found in the LICENSE file. */ package com.netease.yunxin.kit.qchatkit.repo.model import android.text.TextUtils import java.io.Serializable class QChatChannelMember( val serverId: Lo...
0
null
0
0
631887baacfe87c8d6071612127a3c6f2a23ea31
1,573
qchat-uikit-android
MIT License
sample/src/main/java/jp/kuluna/calendarviewpager/sample/DetailActivity.kt
kuluna
129,225,575
false
null
package jp.kuluna.calendarviewpager.sample import android.content.Context import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import android.text.format.DateUtils import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.TextView import android...
10
null
7
8
84af8bb5c481773414edcb2637b2c518c1509838
2,367
CalendarViewPager
MIT License
SingleModuleApp/app/src/main/java/com/github/yamamotoj/singlemoduleapp/package64/Foo06445.kt
yamamotoj
163,851,411
false
{"Text": 1, "Ignore List": 30, "Markdown": 1, "Gradle": 34, "Java Properties": 11, "Shell": 6, "Batchfile": 6, "Proguard": 22, "Kotlin": 36021, "XML": 93, "INI": 1, "Java": 32, "Python": 2}
package com.github.yamamotoj.module3.package64 class Foo06445 { fun method0() { Foo06444().method5() } fun method1() { method0() } fun method2() { method1() } fun method3() { method2() } fun method4() { method3() } fun method5() {...
0
Kotlin
0
9
2a771697dfebca9201f6df5ef8441578b5102641
347
android_multi_module_experiment
Apache License 2.0
fskin/src/main/java/com/tencent/fskin/SkinManager.kt
xiaofanqingzjj
79,535,268
false
{"Gradle": 7, "Markdown": 2, "Java Properties": 2, "Shell": 1, "Ignore List": 6, "Batchfile": 1, "Proguard": 5, "XML": 41, "Java": 36, "Kotlin": 44}
package com.tencent.fskin import android.app.Activity import android.app.Application import android.content.pm.PackageManager import android.content.res.AssetManager import android.content.res.Resources import android.os.Bundle import android.util.Log import android.view.View import com.tencent.fskin.util.PreferencesU...
1
null
1
1
ce2267bad591396c943c5e9efbc4b6194f6eec20
8,515
Android-Skin-Loader
Apache License 2.0
app/src/main/java/com/bookcrossing/mobile/ui/profile/AcquiredBookItemView.kt
fobo66
96,350,722
false
null
/* * Copyright 2019 <NAME> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
10
null
1
3
3428041869733e10d48250a935cf84ec7ab2c36d
1,063
BookcrossingMobile
Apache License 2.0
instautils/src/main/java/com/sanjaydevtech/instautils/InstaDownloader.kt
SanjayDevTech
292,057,915
false
null
package com.sanjaydevtech.instautils import android.content.Context import android.graphics.Bitmap import android.graphics.drawable.Drawable import android.util.Log import android.widget.ImageView import androidx.fragment.app.Fragment import androidx.fragment.app.FragmentActivity import androidx.lifecycle.lifecycleSco...
2
Kotlin
3
9
5c5c3d8db445207207a295f3298f3a9eb10f85b2
7,315
instautils
MIT License
kotlin-dsl/dsl/src/test/kotlin/com/chutneytesting/kotlin/execution/ExecutionServiceTest.kt
owerfelli
791,217,559
true
{"Markdown": 64, "Batchfile": 2, "Shell": 2, "Gradle Kotlin DSL": 6, "INI": 5, "Java": 984, "HTML": 64, "JavaScript": 6, "Kotlin": 241, "SQL": 4, "Java Properties": 1, "Dockerfile": 3, "CSS": 1, "TypeScript": 250}
package com.chutneytesting.kotlin.execution import com.chutneytesting.engine.api.execution.StatusDto import com.chutneytesting.environment.domain.exception.EnvironmentNotFoundException import com.chutneytesting.environment.domain.exception.UnresolvedEnvironmentException import com.chutneytesting.kotlin.asResource impo...
0
null
0
0
a7b0bf69921fd29f846763ba4e67e271dbfaad13
5,157
chutney
Apache License 2.0
app/src/main/java/com/avermedia/samples/cameraserve/MainActivityKt.kt
AVerMediaJimmyHu
482,684,535
true
{"Java Properties": 2, "Gradle": 3, "Shell": 1, "Markdown": 2, "Batchfile": 1, "Text": 1, "Ignore List": 2, "XML": 22, "Proguard": 1, "Java": 9, "Kotlin": 2}
package com.avermedia.samples.cameraserve import android.annotation.SuppressLint import android.content.Context import android.graphics.ImageFormat import android.graphics.SurfaceTexture import android.hardware.camera2.CameraAccessException import android.hardware.camera2.CameraCaptureSession import android.hardware.c...
0
Java
0
0
db62600a1b039d099b834551e6018f8de548593a
10,412
CameraServeMjpeg
BSD Zero Clause License
src/main/kotlin/k/flyweight/BigCharFactory.kt
j5ik2o
474,332,183
false
{"Gradle Kotlin DSL": 2, "HTML": 6, "JSON": 1, "INI": 2, "Shell": 1, "Text": 18, "Ignore List": 1, "Batchfile": 1, "HOCON": 1, "Markdown": 1, "Java": 163, "Scala": 60, "Kotlin": 30}
package k.flyweight import java.util.concurrent.ConcurrentHashMap object BigCharFactory { private val pool: MutableMap<String, BigChar> = ConcurrentHashMap() fun getBigChar(charName: Char): BigChar { return pool.getOrDefault(charName.toString(), BigChar(charName)) } }
9
Java
0
1
f710638e3ed9a7c09e2760623a504125952424d0
282
design-patterns-in-jvm
MIT License