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/czech/housegot/ui/screens/DetailsViewModel.kt
Czeach
607,636,125
false
null
package com.czech.housegot.ui.screens import androidx.compose.runtime.mutableStateOf import androidx.lifecycle.SavedStateHandle import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.czech.housegot.repositories.CharacterRepository import com.czech.housegot.repositories.DetailsRepositor...
0
Kotlin
0
0
6117dde442642a7e074ff42fb2c9368efe1b79c0
2,650
HouseGOT
Apache License 2.0
app/src/main/java/com/iprism/elliot/MainActivity.kt
pAplakidis
415,532,979
false
{"Kotlin": 90690, "Java": 1998, "Python": 1344}
package com.iprism.elliot import android.content.Intent import android.content.SharedPreferences import android.os.Bundle import android.util.Log import android.widget.Toast import androidx.appcompat.app.AppCompatActivity import androidx.navigation.fragment.NavHostFragment import androidx.navigation.ui.setupWithNavCon...
0
Kotlin
0
0
9f73e2a3d281540545fe4060ce105be514107028
4,256
ELLIOT
MIT License
app/src/main/java/com/example/search/presentation/modules/home/home/viewmodel/HomeViewModel.kt
ProgFelipe
341,935,843
false
null
package com.example.search.presentation.modules.home.home.viewmodel import android.util.Log import androidx.lifecycle.MutableLiveData import androidx.navigation.NavDirections import com.example.data.domain.search.ProductsUseCase import com.example.data.domain.search.entities.Product import com.example.search.BuildConf...
0
Kotlin
0
0
30eba68306ce740342642f3dbb277c80884f2a51
3,287
products
MIT License
src/main/kotlin/no/liflig/http4k/setup/Globals.kt
capralifecycle
783,730,482
false
{"Kotlin": 47370}
package no.liflig.http4k.setup import no.liflig.http4k.setup.errorhandling.ErrorLog import no.liflig.http4k.setup.errorhandling.ErrorResponseBody import org.http4k.core.Request import org.http4k.core.RequestContexts import org.http4k.core.Response import org.http4k.core.Status import org.http4k.core.with import org.ht...
1
Kotlin
0
0
d4b5442d62403b335ee04fae5054f5a8fde6b14e
1,796
liflig-http4k-setup
Apache License 2.0
library/src/main/kotlin/com/daniloaraujosilva/mathemagika/library/common/mathematica/functions/ExternalSessionObject.kt
Danilo-Araujo-Silva
271,904,885
false
null
package com.daniloaraujosilva.mathemagika.library.common.mathematica.functions import com.daniloaraujosilva.mathemagika.library.common.mathematica.MathematicaFunction /** *```` * * Name: ExternalSessionObject * * Full name: System`ExternalSessionObject * * Usage: ExternalSessionOb...
2
Kotlin
0
3
4fcf68af14f55b8634132d34f61dae8bb2ee2942
1,102
mathemagika
Apache License 2.0
currencypicker/src/main/java/dev/ohjiho/currencypicker/CurrencyAdapter.kt
jh8oh
797,554,966
false
{"Kotlin": 18120}
package dev.ohjiho.currencypicker import android.annotation.SuppressLint import android.view.LayoutInflater import android.view.ViewGroup import android.widget.Filter import android.widget.Filterable import androidx.core.content.ContextCompat import androidx.recyclerview.widget.RecyclerView import dev.ohjiho.currencyp...
0
Kotlin
0
0
aad0280db32563ef5cf3dde057c149c22337c99c
4,872
currencypicker
MIT License
creator/src/jvmMain/kotlin/ch/sourcemotion/tyr/creator/datamapping/Mapper.kt
wem
617,579,274
false
null
package ch.sourcemotion.tyr.creator.datamapping interface Mapper<ENTITY, DTO> { fun mapToDto(entity: ENTITY) : DTO fun mapToEntity(dto: DTO) : ENTITY fun mapToDtos(entities: List<ENTITY>) = entities.map { mapToDto(it) } fun mapToEntities(dtos: List<DTO>) = dtos.map { mapToEntity(it) } }
0
Kotlin
0
0
82aaee37798133bc81934933a1dc35a9e14ff8cb
305
tyr
MIT License
src/main/kotlin/io/exchangerate/app/service/ecb/EcbConnector.kt
simao-ferreira
606,527,253
false
{"Kotlin": 75632, "Makefile": 824}
package io.exchangerate.app.service.ecb import io.exchangerate.app.service.ecb.dto.EnvelopeDto import org.springframework.stereotype.Component import retrofit2.Call import retrofit2.http.GET @Component interface EcbConnector { @GET("stats/eurofxref/eurofxref-daily.xml") fun getDailyRates(): Call<EnvelopeDto>...
1
Kotlin
0
0
fd0c42106ea91ea84cee27a7a9bdc7719e992756
522
exchange-rate-api
MIT License
app/src/main/java/com/example/androiddevchallenge/ui/details/AnimalDetailListView.kt
eltonkola
342,692,802
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
1
1
650839e02b5d4b6c5f23216bf4b18dc702d0ce74
4,965
petBuddy
Apache License 2.0
bidon/src/main/java/org/bidon/sdk/databinders/DataSource.kt
bidon-io
654,165,570
false
{"Kotlin": 1051963, "Java": 2186}
package org.bidon.sdk.databinders /** * Created by <NAME> on 06/02/2023. */ internal interface DataSource
0
Kotlin
0
0
1d176d61eff65b087fed5e321f6abcf9e44059e7
107
bidon_sdk_android
Apache License 2.0
app/src/main/java/com/news/android/himanshu/newspin/data/source/local/NewsDatabase.kt
himanshuPH
133,072,186
false
null
package com.news.android.himanshu.newspin.data.source.local import android.arch.persistence.room.Database import android.arch.persistence.room.Room import android.arch.persistence.room.RoomDatabase import android.content.Context import com.news.android.himanshu.newspin.data.News @Database(entities = arrayOf(News::cla...
0
Kotlin
11
26
d0d3cc82390371d9e587d809f774e123039ff78d
928
NewsPin
MIT License
app/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/SettingsScreen.kt
vitorpamplona
587,850,619
false
null
package com.vitorpamplona.amethyst.ui.screen.loggedIn import android.content.Context import androidx.appcompat.app.AppCompatDelegate import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout....
128
Kotlin
115
810
2e7a955ada1f936a049b5e8e778387f77e54e827
11,526
amethyst
MIT License
app/src/main/java/com/babylon/wallet/android/presentation/account/createaccount/CreateAccountViewModel.kt
radixdlt
513,047,280
false
{"Kotlin": 4341361, "HTML": 215350, "Java": 18496, "Ruby": 2757, "Shell": 1962}
package com.babylon.wallet.android.presentation.account.createaccount import androidx.lifecycle.SavedStateHandle import androidx.lifecycle.viewModelScope import com.babylon.wallet.android.data.transaction.InteractionState import com.babylon.wallet.android.domain.usecases.CreateAccountUseCase import com.babylon.wallet....
6
Kotlin
11
6
eb666c1abddf5c47aafc03a9561edd89e21d57ff
10,094
babylon-wallet-android
Apache License 2.0
src/main/kotlin/com/giyeok/tython/rewrite/PhizeLocals.kt
Joonsoo
504,907,995
false
{"Kotlin": 233304, "Python": 46911, "Scala": 33483}
package com.giyeok.tython.rewrite import com.giyeok.tython.basicblock.* import com.giyeok.tython.ssa.* // CFG를 받아서 local variable들을 LoadName, StoreName하지 않도록 하고 필요한 phi op 추가 // -> StoreName은 locals()나 eval()때문에 해야할 수도? // 이 때 각 local 변수의 값을 갖고 있을 수 있는 SSAVar들의 목록을 저장해두어야 분석할 때 쓸 수 있을듯? class PhizeLocals( val graph...
0
Kotlin
0
0
ca6ae13b6ad92a9cc79ebc852c491a13d19d87f2
4,384
tython
Apache License 2.0
CovidTracerApp/app/src/main/java/com/example/covidtracerapp/database/ContactedDAO.kt
akezhanmussa
300,800,109
false
null
package com.example.covidtracerapp.database import androidx.room.Dao import androidx.room.Delete import androidx.room.Insert import androidx.room.OnConflictStrategy import androidx.room.Query @Dao interface ContactedDAO { @Query("SELECT * FROM $ContactedTable where id == :id") suspend fun getContactedPerson(...
1
Kotlin
1
1
1637003262cc32ac5431c71d508339f878513716
753
Coronavirus-tracking-system
MIT License
app/src/test/java/org/cwk/work/example/ModelTest.kt
cwkProject
356,229,608
false
null
// Created by 超悟空 on 2021/4/10. package org.cwk.work.example import kotlinx.coroutines.runBlocking import org.cwk.work.WorkConfig import org.cwk.work.start import org.cwk.work.workLog import org.junit.Assert.assertFalse import org.junit.Assert.assertTrue import org.junit.Before import org.junit.Test /** * 结合公司业务数据模...
0
Kotlin
2
3
9ebc5790c9f1708bb7003a81229fe62ebf4f1c02
2,555
WorkKTX
Apache License 2.0
daterangepicker/src/main/java/com/beeline09/daterangepicker/date/DayPickerView.kt
beeline09
212,514,686
true
{"Kotlin": 132660, "Java": 1555}
/* * Copyright (C) 2013 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
Kotlin
1
1
d721fdce0678402aabc1ce760f7aba145dc3ff04
17,811
DateRangePicker
Apache License 2.0
Baking App/app/src/main/java/com/madonasyombua/bakingapp/widget/AppWidgetService.kt
Madonahs
130,854,542
false
{"Java": 437393, "Kotlin": 100566, "HTML": 6160}
/* * Copyright (C) 2018 <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 ...
0
Java
24
68
c2b9529dc39e98f47fe0a8406d5e086bd4623008
1,780
Nano-Degree-Projects
Apache License 2.0
mobius-migration/src/test/java/org/simple/mobius/migration/CanaryTest.kt
simpledotorg
132,515,649
false
{"Kotlin": 6129044, "Shell": 1660, "HTML": 545}
package org.simple.mobius.migration import com.google.common.truth.Truth.assertThat import org.junit.Test class CanaryTest { @Test fun `test environment is setup`() { assertThat(true) .isTrue() } }
13
Kotlin
73
236
ff699800fbe1bea2ed0492df484777e583c53714
218
simple-android
MIT License
androidOlympusBlog/src/main/java/com/olympusblog/android/presentation/screens/articles/update/UpdateArticleEvents.kt
sentrionic
551,827,184
false
null
package com.olympusblog.android.presentation.screens.articles.update import android.net.Uri import com.olympusblog.domain.core.StateMessage sealed class UpdateArticleEvents { data class GetArticle( val slug: String ) : UpdateArticleEvents() object UpdateArticlePressed : UpdateArticleEvents() ...
0
Kotlin
0
0
bb61f26adcdded63b83c505d2f67c50715e8b859
595
OlympusKMM
MIT License
server-base/src/main/kotlin/ai/dstack/server/jersey/resources/status/CreateCommentStatus.kt
latticetower
315,119,574
true
{"JavaScript": 397840, "Kotlin": 336820, "CSS": 147028, "Python": 5184, "HTML": 4199, "Shell": 34}
package ai.dstack.server.jersey.resources.status @Deprecated("Gonna be removed in October") data class CreateCommentStatus(val id: String, val timestamp: Long)
0
null
0
0
81fa7873bbd851b474e7d49cd69087f204bd2171
160
dstack
Apache License 2.0
TollRoadCalcAndroid/feature/home/impl/src/main/java/ru/andrewkir/feature/home/impl/domain/models/RouteRequest.kt
andrewkir
801,831,218
false
{"Kotlin": 163036}
package ru.andrewkir.feature.home.impl.domain.models data class RouteRequest( val points: List<Point>, val payment_methods: List<String>, val vehicle_class: Int, val utc: Long?, ) data class Point( val lon: Double, val lat: Double, )
0
Kotlin
0
0
fea7d491ce0aa2b3adbc277c456e7535c5821e7d
259
Toll-Price-Diploma
MIT License
core/util/src/main/java/com/uxstate/util/model/AppPrefs.kt
Tonnie-Dev
518,721,038
false
{"Kotlin": 160830}
package com.uxstate.util.model import androidx.annotation.StringRes import com.uxstate.ui.R data class AppPrefs(val themeMode: ThemeMode) enum class ThemeMode(@StringRes val themeResName: Int) { SYSTEM_DEFAULT(R.string.system_default), LIGHT_THEME(R.string.light), DARK_THEME(R.string.dark) }
0
Kotlin
0
5
27774f362615bf23c9b6dfd133ec39d0d7e7b24b
301
CountriesPad
The Unlicense
alerting/src/main/kotlin/com/amazon/opendistroforelasticsearch/alerting/resthandler/RestDeleteEmailGroupAction.kt
marshell0
400,442,979
true
{"Kotlin": 1021367, "Java": 94668, "Batchfile": 76}
/* * Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://www.apache.org/licenses/LICENSE-2.0 *...
0
Kotlin
0
3
e571571c7abd4ade9fc230c0d449423f947ae0ea
2,543
alerting
Apache License 2.0
remix/src/commonMain/kotlin/com/woowla/compose/icon/collections/remix/remix/design/Crop2Fill.kt
walter-juan
868,046,028
false
{"Kotlin": 34345428}
package com.woowla.compose.icon.collections.remix.remix.design 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.Str...
0
Kotlin
0
3
eca6c73337093fbbfbb88546a88d4546482cfffc
2,559
compose-icon-collections
MIT License
mobile/src/main/kotlin/org/brainail/everboxing/lingo/util/extensions/Widget.kt
brainail
106,741,862
false
null
/* * Copyright 2018 Malyshev Yegor * * 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 ...
6
null
1
2
d71cf6dec0c0c7ba4d80666869b4c91f60a599f2
1,085
.lingo
Apache License 2.0
app/src/main/java/com/example/android/architecture/blueprints/todoapp/data/source/network/NetworkWorkout.kt
tomoyu719
813,430,801
false
{"Kotlin": 210113}
/* * Copyright 2023 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
5
Kotlin
0
0
dab06f9e331672a1e2be197f4668506705ad7f87
1,166
MyStrengthLog
Apache License 2.0
src/main/kotlin/pl/alpheratzteam/obfuscator/transformer/NumberTransformer.kt
lvyitian
330,414,656
true
{"Kotlin": 46693}
package pl.alpheratzteam.obfuscator.transformer import org.objectweb.asm.Opcodes.* import org.objectweb.asm.tree.FieldNode import org.objectweb.asm.tree.MethodNode import pl.alpheratzteam.obfuscator.Obfuscator import pl.alpheratzteam.obfuscator.api.transformer.Transformer import pl.alpheratzteam.obfuscator.util.* /**...
0
null
0
0
1b5cf410fbaac243d0c5f313c0941d3e414b7848
2,998
obfuscator-1
MIT License
src/test/kotlin/app/imperative/ImperativeValidation2Test.kt
overfullstack
254,913,500
false
null
/* gakshintala created on 4/13/20 */ package app.imperative import app.common.eggCarton import app.common.expectedImperativeValidationResults import mu.KLogging import org.junit.jupiter.api.Assertions import org.junit.jupiter.api.Test class ImperativeValidation2Test { @Test fun `Octopus Orchestrator`() { ...
0
Kotlin
1
4
1a971bd55bc47ec2ea87ecd1497d45db1677ed35
650
railway-oriented-validation-kotlin
MIT License
app/src/test/java/br/com/movieapp/core/domain/model/MovieFactory.kt
diegoamribeiro
729,976,930
false
{"Kotlin": 142021}
package br.com.movieapp.core.domain.model import br.com.movieapp.core.domain.Movie class MovieFactory { fun create( poster: Poster ) = when(poster){ Poster.Avengers -> { Movie( id = 1, title = "Avengers", voteAverage = 7.1, ...
0
Kotlin
0
1
769789431c3070a14ad927dcbdad54934d23dbc7
676
MovieAppCompose
MIT License
composeApp/src/desktopMain/kotlin/org/openswim/database/dao/RaceSubscriptions.kt
Grufoony
856,821,082
false
{"Kotlin": 22774}
package org.openswim.database.dao import org.jetbrains.exposed.dao.IntEntity import org.jetbrains.exposed.dao.IntEntityClass import org.jetbrains.exposed.dao.id.EntityID import org.jetbrains.exposed.dao.id.IntIdTable import org.jetbrains.exposed.sql.ReferenceOption object RaceSubscriptions : IntIdTable("race_subscrip...
5
Kotlin
0
0
48eefb6253bd150599f2dfa9d88a90ea8d795df6
855
OpenSwim
MIT License
src/main/kotlin/org/gradle/script/lang/kotlin/codegen/ApiExtensionsJar.kt
skydjol
74,278,721
true
{"Kotlin": 224076, "Shell": 477}
/* * Copyright 2016 the original author or authors. * * 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
0
8b66ee97976cdc807b21d862a0c62b8e552b962e
3,102
gradle-script-kotlin
Apache License 2.0
src/main/kotlin/org/gradle/script/lang/kotlin/codegen/ApiExtensionsJar.kt
skydjol
74,278,721
true
{"Kotlin": 224076, "Shell": 477}
/* * Copyright 2016 the original author or authors. * * 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
0
8b66ee97976cdc807b21d862a0c62b8e552b962e
3,102
gradle-script-kotlin
Apache License 2.0
core/src/commonMain/kotlin/work/socialhub/kmisskey/api/request/users/ListUserGalleryPostsRequest.kt
uakihir0
756,689,268
false
{"Kotlin": 248708, "Shell": 2141, "Makefile": 316}
package work.socialhub.kmisskey.api.request.users import kotlinx.serialization.Serializable import work.socialhub.kmisskey.api.request.protocol.PagingTokenRequest import kotlin.js.JsExport @JsExport @Serializable class ListUserGalleryPostsRequest( var userId: String, ) : PagingTokenRequest()
0
Kotlin
1
6
8bccf02801ca82e344a7dcb0d791133369e9c95e
298
kmisskey
MIT License
remote/src/main/java/com/erdemtsynduev/remote/model/roomdata/PcConfig.kt
rohitnotes
296,275,085
false
{"Java": 101617, "Kotlin": 50006}
package com.erdemtsynduev.remote.model.roomdata import androidx.annotation.Keep import com.google.gson.annotations.SerializedName @Keep data class PcConfig( @SerializedName("bundlePolicy") val bundlePolicy: String, @SerializedName("iceServers") val iceServers: List<IceServers>, @SerializedName("rtcpMuxPol...
1
null
1
1
235ffcc78f318e34048c51b5295f5b95ade0ba44
353
project-sampleVideoRTC-androidApp
MIT License
app/src/main/java/com/example/worldcup2022/view/fragment/selfie/CameraFragment.kt
noname6996-tta
596,634,213
false
{"Gradle": 5, "JSON": 864, "Java Properties": 8, "Markdown": 5, "Shell": 2, "Text": 24, "HTML": 1, "Batchfile": 2, "INI": 8, "Proguard": 11, "XML": 556, "Kotlin": 191, "Java": 335, "SQL": 4, "Unix Assembly": 2, "Motorola 68K Assembly": 9, "Ignore List": 1}
package com.example.worldcup2022.view.fragment.selfie import android.graphics.Bitmap import android.graphics.drawable.Drawable import android.util.Log import android.view.Surface import android.view.View import androidx.camera.core.* import androidx.camera.core.ImageCapture.OnImageCapturedCallback import androidx.came...
0
Java
0
0
dbddd12debd5dcf85689a49f92555e5359edd130
6,576
WorldCupApp
Apache License 2.0
bento/src/androidTest/java/com/yelp/android/bento/test/CarouselComponentTest.kt
zachbryant
197,239,547
false
{"Java Properties": 1, "YAML": 2, "Groovy": 1, "Gradle": 6, "Markdown": 5, "Shell": 3, "Batchfile": 2, "Text": 1, "Ignore List": 2, "Makefile": 1, "JAR Manifest": 1, "XML": 40, "Gradle Kotlin DSL": 1, "Kotlin": 52, "INI": 1, "Proguard": 2, "Java": 19}
package com.yelp.android.bento.test import com.yelp.android.bento.components.CarouselComponent import com.yelp.android.bento.components.SimpleComponent import org.junit.Assert import org.junit.Test class CarouselComponentTest { @Test fun addingAndRemovingComponents_updatesComponentGroup() { val carou...
1
null
1
1
9f57a7050521cd683582e18c634b1a364229639f
1,000
bento
Apache License 2.0
ladon-boot/src/main/java/de/mc/ladon/server/boot/controller/pages/OverviewPageController.kt
mindmill
149,764,094
false
null
package de.mc.ladon.server.boot.controller.pages import de.mc.ladon.server.boot.controller.FrameController import de.mc.ladon.server.boot.tables.Color import de.mc.ladon.server.boot.tables.TableCell import de.mc.ladon.server.boot.tables.TableObject import de.mc.ladon.server.boot.tables.TableRow import de.mc.ladon.serv...
4
null
3
2
b8d1aaea5c94988cd57224b3bbb55fdcbd639020
3,085
ladon-data-center-edition
Academic Free License v1.1
app/src/main/java/edu/upi/cs/drake/anithings/common/adapter/GenericDelegateAdapter.kt
drakemd
127,073,812
false
null
package edu.upi.cs.drake.anithings.common.adapter import android.support.v7.widget.RecyclerView import android.view.ViewGroup import edu.upi.cs.drake.anithings.common.extensions.inflate /** * Created by drake on 3/28/2018. * this class inflate and bind layout for generic item which only needs to inflate the [Recycl...
0
Kotlin
1
3
3ac059b14c72221de5509319013c033efecb0617
842
AniThings
MIT License
utils-internal/src/commonMain/kotlin/com/badoo/reaktive/utils/atomic/AtomicIntExt.kt
badoo
174,194,386
false
{"Kotlin": 1507792, "Swift": 2268, "HTML": 956}
package com.badoo.reaktive.utils.atomic import com.badoo.reaktive.utils.InternalReaktiveApi @InternalReaktiveApi inline fun AtomicInt.changeAndGet(update: (Int) -> Int): Int { var next: Int do { val prev = value next = update(prev) } while (!compareAndSet(prev, next)) return next }
2
Kotlin
57
1,171
26788ab67ef85e2e3971e5bc79cce4ed9e3b5636
318
Reaktive
Apache License 2.0
zircon.jvm.libgdx/src/main/kotlin/org/hexworks/zircon/internal/application/LibgdxGame.kt
nobso
178,613,075
true
{"Kotlin": 1311631, "Java": 128163}
package org.hexworks.zircon.internal.application import com.badlogic.gdx.Game import com.badlogic.gdx.Gdx import com.badlogic.gdx.graphics.GL20 import com.badlogic.gdx.graphics.g2d.SpriteBatch import org.hexworks.cobalt.logging.api.LoggerFactory import org.hexworks.zircon.api.LibgdxApplications import org.hexworks.zir...
0
Kotlin
0
0
af0aa588107e108c33dac2459e1b31c5aeb10460
1,355
zircon
MIT License
core/src/main/kotlin/de/uulm/se/couchedit/processing/common/controller/Processor.kt
sp-uulm
303,650,849
false
null
package de.uulm.se.couchedit.processing.common.controller import de.uulm.se.couchedit.model.base.Element import de.uulm.se.couchedit.processing.common.model.diffcollection.DiffCollection import de.uulm.se.couchedit.processing.common.model.diffcollection.TimedDiffCollection import java.util.* /** * Interface for a cl...
0
Kotlin
0
0
595266c0bca8f2ee6ff633c4b45b91e5f3132cc4
1,259
CouchEdit
Apache License 2.0
src/main/kotlin/com/zymosi3/lines/engine/Game.kt
zymosi3
29,384,348
false
null
package com.zymosi3.lines.engine import java.util.ArrayList import java.util.Random import java.util.LinkedList import java.util.HashSet import java.io.ByteArrayOutputStream import java.io.ByteArrayInputStream public enum class Color(public val index: Int) { red(0), blue(1), green(2), gold(3), ind...
0
Kotlin
0
0
5ac5541f42ebd1d482438a0e189b5095a3a7a54c
10,215
LinesEngine
Apache License 2.0
app/src/main/java/com/kraktun/android/mbf/MainActivity.kt
Kraktun
239,319,184
false
null
package com.kraktun.android.mbf import android.app.Activity import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.bluetooth.BluetoothAdapter.* import android.content.Intent import android.widget.* class MainActivity : AppCompatActivity() { private lateinit var currentMode: Text...
0
Kotlin
0
0
d6d55fa016e301d19da1c48d71f2bb3972f7e7d4
3,446
MBF
Apache License 2.0
messaging-ui/src/main/java/com/nabla/sdk/core/ui/helpers/LiveFlow.kt
AchrafAmil
488,648,507
false
{"Kotlin": 305347}
package com.nabla.sdk.core.ui.helpers import androidx.lifecycle.Lifecycle import androidx.lifecycle.whenStateAtLeast import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.InternalCoroutinesApi import kotlinx.coroutines.channels.Channel import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.Flo...
0
null
1
0
ff93b3c6e58ac0969b7be402b50c292bdfa8f534
2,488
nabla-android
MIT License
mokkery-runtime/src/commonTest/kotlin/dev/mokkery/test/TestCallMatcher.kt
lupuuss
652,785,006
false
{"Kotlin": 383855}
package dev.mokkery.test import dev.mokkery.internal.matcher.CallMatcher import dev.mokkery.internal.templating.CallTemplate import dev.mokkery.internal.tracing.CallTrace internal class TestCallMatcher( var calls: (trace: CallTrace, template: CallTemplate) -> Boolean = { _, _ -> false } ): CallMatcher { priva...
1
Kotlin
3
69
dd33dd24ffbccd7aeb7a36b153ad66eef85d91fb
869
Mokkery
Apache License 2.0
processor/src/main/kotlin/com/bethibande/actors/struct/ActorStateField.kt
Bethibande
748,695,349
false
{"Kotlin": 48783}
package com.bethibande.actors.struct import com.bethibande.actors.util.KSPUtil import com.bethibande.actors.util.StringUtil import com.google.devtools.ksp.symbol.KSPropertyDeclaration import com.google.devtools.ksp.symbol.KSType import com.squareup.kotlinpoet.ClassName import com.squareup.kotlinpoet.TypeName data cla...
7
Kotlin
0
2
c7cfbe51b3003cff6643037795cd8a1565a70062
2,718
actors
Apache License 2.0
src/main/kotlin/id/walt/nftkit/Values.kt
walt-id
451,419,187
false
{"TypeScript": 887366, "JavaScript": 824727, "Kotlin": 376345, "Java": 212310, "Solidity": 10445, "Dockerfile": 1663}
package id.walt.nftkit object Values { const val version = "1.SNAPSHOT" const val isSnapshot = true const val ETHEREUM_MAINNET_CHAIN_ID: Long = 1 const val ETHEREUM_TESTNET_GOERLI_CHAIN_ID: Long = 5 const val ETHEREUM_TESTNET_SEPOLIA_CHAIN_ID: Long = 11155111 const val POLYGON_MAINNET_CHAIN_ID...
0
TypeScript
6
18
88bcd1d792723c0c9fd938f2808930b43c86e93b
3,088
waltid-nftkit
Apache License 2.0
app/src/main/java/com/anubhav_auth/bento/entities/AddressTypes.kt
anubhav-auth
850,108,148
false
{"Kotlin": 125228}
package com.anubhav_auth.bento.entities enum class AddressTypes(val addressType: String) { HOME("Home"), WORK("Work"), FRIENDS_AND_FAMILY("Friends and Family"), OTHERS("Others"); fun message(): String { return addressType } companion object { fun AsStringList(): List<Strin...
0
Kotlin
0
0
57a0f11eb934bcf60bfa53156498630ea5b2f1ec
394
Bento
MIT License
richtext-commonmark/src/main/java/com/zachklipp/richtext/markdown/Markdown.kt
mr3y-the-programmer
311,458,783
true
{"Kotlin": 151195}
package com.zachklipp.richtext.markdown import android.os.Build import android.text.Html import android.widget.TextView import androidx.compose.foundation.Text import androidx.compose.runtime.Composable import androidx.compose.runtime.Providers import androidx.compose.runtime.ambientOf import androidx.compose.runtime....
0
Kotlin
0
0
3747ab9a0d41a270be1233b06a8b37bb8dc1febb
7,418
compose-richtext
Apache License 2.0
app/src/main/java/io/deus/wallet/core/adapters/BaseEvmAdapter.kt
DeusWallet
810,708,619
false
{"Kotlin": 5009329, "Shell": 6095, "Ruby": 1350}
package io.deus.wallet.core.adapters import io.deus.wallet.core.IAdapter import io.deus.wallet.core.IBalanceAdapter import io.deus.wallet.core.ICoinManager import io.deus.wallet.core.IReceiveAdapter import io.deus.wallet.core.ISendEthereumAdapter import io.deus.wallet.core.managers.EvmKitWrapper import java.math.BigDe...
0
Kotlin
0
0
f4c5e0fadbf2955edf7ba35d4617f148c191c02b
1,575
deus-wallet-android
MIT License
Login/src/main/java/sdk/jkos/login/JkoCore.kt
danchen0602
400,458,932
false
null
package sdk.jkos.login object JkoCore { private var debugMode = false fun setDebugMode(isDebugMode: Boolean) { this.debugMode = isDebugMode } fun isDebugMode(): Boolean { return this.debugMode } }
0
Kotlin
0
0
a0e9dcb93644ed5b0843e5213088f0c8bd6a4a59
237
jkoTestLibraryUse
Apache License 2.0
Android/app/src/main/java/moe/tlaster/weipo/common/WeiboLinkHandler.kt
DinoChan
227,493,029
true
{"C#": 236922, "Kotlin": 181814, "TypeScript": 3313, "JavaScript": 446}
package moe.tlaster.weipo.common import android.content.Context import android.net.Uri import moe.tlaster.weipo.activity.ImageActivity import moe.tlaster.weipo.activity.ImageData import moe.tlaster.weipo.activity.UserActivity import moe.tlaster.weipo.common.extensions.openActivity import moe.tlaster.weipo.common.exten...
0
null
0
0
b2cb54fba30fba1f34d9fb0a269aa3e733cf622f
1,005
WeiPo
MIT License
app/src/main/java/com/meronmks/chairs/data/model/TimeLineStatus.kt
meronmks
115,629,807
false
null
package com.meronmks.chairs.data.model import android.content.Context import android.text.Html import android.text.Spanned import android.widget.TextView import com.meronmks.chairs.R import com.sys1yagi.mastodon4j.api.entity.Status import com.meronmks.chairs.extensions.fromHtml import com.meronmks.chairs.extensions.to...
21
Kotlin
0
6
6703bbf4c3fd94ec5797b7fbdca6576b8924bffb
3,804
Chairs
MIT License
flickr/Flickr/src/main/java/co/g403/android/flickr/datasource/FlickrImage.kt
gabriel403
295,747,779
false
null
package co.g403.android.flickr.datasource class FlickrImage { }
0
Kotlin
0
1
6aba92f0a4695dc96a2ef08b668363b91d36171e
65
AndroidTesting
Apache License 2.0
templates/src/test/kotlin/SampleTemplateAdapter.kt
hexagonkt
56,139,239
false
null
package com.hexagonkt.templates import java.net.URL import java.util.* internal class SampleTemplateAdapter(private val prefix: String) : TemplatePort { override fun render(url: URL, context: Map<String, *>, locale: Locale): String = "$prefix:$url" }
23
Kotlin
81
373
dbc0d602aa48cfc58644f15329a8308b65ca6cc1
266
hexagon
MIT License
presentation/src/main/java/com/jeppeman/jetpackplayground/ui/base/BaseAdapter.kt
mariofelesdossantosjunior
164,032,597
true
{"Kotlin": 186143}
package com.jeppeman.jetpackplayground.ui.base import android.util.SparseIntArray import android.view.LayoutInflater import android.view.ViewGroup import androidx.databinding.DataBindingUtil import androidx.recyclerview.widget.DiffUtil import androidx.recyclerview.widget.RecyclerView abstract class BaseAdapter : Recy...
0
Kotlin
0
1
64eeda58a1407da81c5f19bd84799e3a2712911c
1,995
android-jetpack-playground-1
Apache License 2.0
src/commonMain/kotlin/io/github/devngho/kisopenapi/requests/auth/HashKey.kt
devngho
565,833,597
false
{"Kotlin": 444350}
package io.github.devngho.kisopenapi.requests.auth import io.github.devngho.kisopenapi.KISApiClient import io.github.devngho.kisopenapi.requests.Data import io.github.devngho.kisopenapi.requests.DataRequest import io.github.devngho.kisopenapi.requests.Response import io.github.devngho.kisopenapi.requests.data.Corporat...
0
Kotlin
1
7
9f95e79dcfc53340fcf202a6106876b02eb067e5
2,022
kt_kisopenapi
MIT License
app/src/main/java/com/example/smslock/MainActivity.kt
Elyx0
867,333,609
false
{"Kotlin": 16293}
package com.example.smslock import android.Manifest import android.app.admin.DevicePolicyManager import android.content.ComponentName import android.content.Context import android.content.Intent import android.content.pm.PackageManager import android.os.Bundle import android.provider.Settings import android.util.Log i...
0
Kotlin
0
0
7cd9337392593b9307dbd2970956cd4ba4d80438
5,993
SmsLock
MIT License
svg-to-compose/src/commonMain/kotlin/AppConfig.kt
rafaeltonholo
659,782,425
false
null
object AppConfig { const val S2C_TEMP_FOLDER = ".s2c/temp" const val MAX_RECURSIVE_DEPTH = 10 var debug = false var verbose = false }
4
null
2
61
4cc571fc5b904528813fc96083d40a531bb21ce7
150
svg-to-compose
MIT License
account/src/main/java/com/hms/lib/commonmobileservices/account/ui/SignInButton.kt
Explore-In-HMS
402,745,331
false
{"Kotlin": 593917}
// Copyright 2020. Explore in HMS. All rights reserved. // // 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 la...
3
Kotlin
6
50
68640eadd9950bbdd9aac52dad8d22189a301859
1,989
common-mobile-services
Apache License 2.0
vk-api/src/main/kotlin/name/alatushkin/api/vk/generated/messages/methods/MessagesGetByConversationMessageIdMethod.kt
alatushkin
156,866,851
false
null
package name.alatushkin.api.vk.generated.messages.methods import com.fasterxml.jackson.core.type.TypeReference import name.alatushkin.api.vk.VkMethod import name.alatushkin.api.vk.api.VkList import name.alatushkin.api.vk.api.VkSuccess import name.alatushkin.api.vk.generated.messages.Message /** * Returns messages b...
2
Kotlin
3
10
123bd61b24be70f9bbf044328b98a3901523cb1b
2,567
kotlin-vk-api
MIT License
app/src/main/kotlin/com/github/willjgriff/ethereumwallet/ui/screens/transactions/viewholders/TransactionViewHolder.kt
willjgriff
79,726,997
false
null
package com.github.willjgriff.ethereumwallet.ui.screens.transactions.viewholders import android.support.v7.widget.RecyclerView import android.view.View import android.widget.TextView import com.github.willjgriff.ethereumwallet.ethereum.common.fromWeiTo import com.github.willjgriff.ethereumwallet.ethereum.common.model....
0
Kotlin
1
12
3e8b894606df7fd5595078971ca0883cbf78badf
1,405
android-ethereum-wallet
Apache License 2.0
app/src/main/java/com/manhal/newsapp/data/network/RemoteDataImpl.kt
Manhal1994
615,456,622
false
null
package com.manhal.newsapp.data.network import android.util.Log import com.manhal.newsapp.API_KEY import com.manhal.newsapp.data.dto.Articles import com.manhal.newsapp.data.dto.NewsResult import com.manhal.newsapp.data.error.NETWORK_ERROR import com.manhal.newsapp.data.network.ArticleApi import com.manhal.newsapp.data...
0
Kotlin
0
0
9770cea91b94ad900a0fa2749043e6cbec676867
1,084
NewsApp
Apache License 2.0
modules/conflate-jfx/src/main/kotlin/com/encodeering/conflate/experimental/jfx/co/FxAT.kt
encodeering
81,722,175
false
null
package com.encodeering.conflate.experimental.jfx.co import com.encodeering.conflate.experimental.jvm.co.RequeueContinuation import javafx.application.Platform import kotlin.coroutines.experimental.AbstractCoroutineContextElement import kotlin.coroutines.experimental.Continuation import kotlin.coroutines.experimental....
3
Kotlin
0
1
51fd2e4cee32e29bb72cd182611393d7f8420914
981
conflate
Apache License 2.0
packages/react-native-nitro-modules/android/src/main/java/com/margelo/nitro/core/Promise.kt
mrousavy
814,092,544
false
{"C++": 399952, "TypeScript": 320691, "Swift": 102515, "Kotlin": 54844, "JavaScript": 8533, "Objective-C++": 7841, "Ruby": 7774, "CMake": 5334, "Java": 3764, "Objective-C": 2741, "Shell": 845, "C": 202}
package com.margelo.nitro.core import androidx.annotation.Keep import com.facebook.jni.HybridData import com.facebook.proguard.annotations.DoNotStrip import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.async import kotlinx.coroutines.launch import kotlin.concurrent....
21
C++
9
556
25b1917f5033c01583690338b158f8c4b8ba7e96
3,428
nitro
MIT License
codebase/android/feature/accounts/src/main/java/com/makeappssimple/abhimanyu/financemanager/android/feature/accounts/accounts/screen/AccountsScreenUIState.kt
Abhimanyu14
429,663,688
false
{"Kotlin": 1650951}
package com.makeappssimple.abhimanyu.financemanager.android.feature.accounts.accounts.screen import androidx.compose.runtime.Stable import com.makeappssimple.abhimanyu.financemanager.android.core.ui.base.ScreenUIState import com.makeappssimple.abhimanyu.financemanager.android.core.ui.component.listitem.accounts.Accoun...
11
Kotlin
0
2
f68666ee47f55616a6fc65f9c71621d0fc6ecb65
759
finance-manager
Apache License 2.0
app/src/main/java/hu/bme/sch/parkett/parkettapplication/framework/activities/DanceActivity.kt
kiskovi97
249,377,984
false
null
package hu.bme.sch.parkett.parkettapplication.framework.activities import android.graphics.Color import android.graphics.drawable.ColorDrawable import android.os.Bundle import android.view.Menu import android.view.MenuItem import androidx.appcompat.app.AppCompatActivity import androidx.core.content.ContextCompat impor...
0
Kotlin
0
0
673b30f6519c3837af21c180abf4fb2a415d4a0a
4,620
ParkettApp
MIT License
app/src/main/java/com/example/assignment_2_profilescreen/ProfileScreen.kt
Khairul-Blockcode
707,721,163
false
{"Kotlin": 12692}
package com.example.assignment_2_profilescreen import androidx.compose.foundation.BorderStroke import androidx.compose.ui.unit.dp import androidx.compose.foundation.Image import androidx.compose.foundation.background import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Spacer impo...
0
Kotlin
0
0
f3c0d6282ed6a9892f96c987f2b9911a569a14ba
7,206
Assignment-2-ProfileScreen
MIT License
src/test/kotlin/com/github/cetonek/bigbiznis/domain/repository/GrossDomesticProductRepositoryTest.kt
cetonek
393,110,614
false
null
package com.github.cetonek.bigbiznis.domain.repository import com.github.cetonek.bigbiznis.DatabaseTest import com.github.cetonek.bigbiznis.domain.entity.persisted.GrossDomesticProduct import com.github.cetonek.bigbiznis.domain.entity.persisted.GrossDomesticProductType.REAL_2010_PRICES import org.assertj.core.api.Asse...
0
Kotlin
0
0
fa70fd5c1edfca1ba22b0cee54a02413184cce2b
3,039
big-biznis
MIT License
mediator/src/test/kotlin/no/nav/dagpenger/soknad/livssyklus/ferdigstilling/FerdigstiltSøknadPostgresRepositoryTest.kt
navikt
307,991,328
false
{"Kotlin": 598255, "HTML": 675, "Dockerfile": 204}
package no.nav.dagpenger.soknad.livssyklus.ferdigstilling import FerdigSøknadData import io.ktor.server.plugins.NotFoundException import no.nav.dagpenger.soknad.Aktivitetslogg import no.nav.dagpenger.soknad.Dokumentkrav import no.nav.dagpenger.soknad.Språk import no.nav.dagpenger.soknad.Søknad import no.nav.dagpenger....
2
Kotlin
0
0
f090d8655a07f6a92f45907c2d1a019d1558ab00
4,705
dp-soknad
MIT License
app/src/main/java/com/breezefieldsalesmmhg/features/viewAllOrder/interf/ColorListNewOrderOnClick.kt
DebashisINT
855,015,502
false
{"Kotlin": 15833495, "Java": 1027448}
package com.breezefieldsalesmmhg.features.viewAllOrder.interf import com.breezefieldsalesmmhg.app.domain.NewOrderColorEntity import com.breezefieldsalesmmhg.app.domain.NewOrderProductEntity interface ColorListNewOrderOnClick { fun productListOnClick(color: NewOrderColorEntity) }
0
Kotlin
0
0
5f0eabea86147de645da4fc50dd675f7ab7cab95
285
MMHG
Apache License 2.0
grazel-gradle-plugin/src/test/kotlin/com/grab/grazel/gradle/variant/VariantTypeTest.kt
grab
379,151,190
false
{"Kotlin": 813733, "Starlark": 58856, "Java": 644}
package com.grab.grazel.gradle.variant import com.android.build.gradle.AppExtension import com.grab.grazel.buildProject import com.grab.grazel.gradle.variant.VariantType.* import org.gradle.api.Project import org.gradle.kotlin.dsl.the import org.junit.Assert.assertTrue import org.junit.Before import org.junit.Test cl...
11
Kotlin
19
274
6d44b7fc7d5210cc4e4211cfd002547a3126124c
1,915
grazel
Apache License 2.0
kotlin-node/src/jsMain/generated/node/readline/InterfaceEvent.kt
JetBrains
93,250,841
false
null
package node.readline @Suppress( "NAME_CONTAINS_ILLEGAL_CHARS", "NESTED_CLASS_IN_EXTERNAL_INTERFACE", ) @JsName("""(/*union*/{CLOSE: 'close', LINE: 'line', PAUSE: 'pause', RESUME: 'resume', SIGCONT: 'SIGCONT', SIGINT: 'SIGINT', SIGTSTP: 'SIGTSTP', HISTORY: 'history'}/*union*/)""") sealed external interface In...
33
null
174
1,257
48cdb9f623f7686222300c850c4f8d0bade479d0
640
kotlin-wrappers
Apache License 2.0
app/src/main/java/com/example/weatherapp/data/remote/weather/dto/TriggerResponseDto.kt
t1geryan
635,408,978
false
null
package com.example.weatherapp.data.remote.weather.dto import com.google.gson.annotations.SerializedName data class TriggerResponseDto( @SerializedName("__v") val version: Int, @SerializedName("_id") val id: String, @SerializedName("alerts") val alerts: Map<String, TriggerResponseAlert>, @SerializedNa...
0
Kotlin
0
0
95db60e66edddf9b01dd5d2142088eeda1789465
1,634
DSR_Android_Weather_App
Apache License 2.0
app/src/main/java/com/kylecorry/trail_sense/shared/text/TextUtils.kt
kylecorry31
215,154,276
false
null
package com.kylecorry.trail_sense.shared.text object TextUtils { fun getSections(markdown: String): List<TextSection> { val sections = mutableListOf<TextSection>() val lines = markdown.split("\n") var currentContent = "" var currentTitle: String? = null var currentLevel: In...
515
null
72
989
41176d17b498b2dcecbbe808fbe2ac638e90d104
2,408
Trail-Sense
MIT License
v2-model/src/commonMain/kotlin/com/bselzer/gw2/v2/model/achievement/group/AchievementGroupId.kt
Woody230
388,820,096
false
{"Kotlin": 750899}
package com.bselzer.gw2.v2.model.achievement.group import com.bselzer.ktx.value.identifier.StringIdentifier import kotlinx.serialization.Serializable import kotlin.jvm.JvmInline @Serializable @JvmInline value class AchievementGroupId(override val value: String = "") : StringIdentifier { override fun toString(): S...
2
Kotlin
0
2
32f1fd4fc4252dbe886b6fc0f4310cf34ac2ef27
335
GW2Wrapper
Apache License 2.0
app/src/main/java/com/haoduyoudu/DailyAccounts/model/database/Constant.kt
HaoduyouduStudio
671,904,544
false
{"Kotlin": 247932, "Java": 65533}
package com.haoduyoudu.DailyAccounts.model.database // Note Types const val NOTE_TYPE_V1 = 0 const val NOTE_TYPE_V2 = 1
0
Kotlin
1
3
819f8a5b9ad9872573f68c52202c858ecbe93fa5
120
DailyNotes-V3
Apache License 2.0
src/test/java/tech/sirwellington/alchemy/http/HttpAssertionsTest.kt
SirWellington
43,511,958
false
{"Kotlin": 237290, "Java": 9346}
/* * Copyright © 2019. Sir Wellington. * 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...
4
Kotlin
1
6
f2d312f336f7d8fec642a6a8158e7e56ada44b94
7,455
alchemy-http
Apache License 2.0
code/kotlin/design-patterns-code/src/main/kotlin/creational/factory/abstract/FactoryCreator.kt
fadi-william
509,533,944
false
{"Kotlin": 44337}
package creational.factory.abstract object FactoryCreator { fun createFactory(type: String): BikeFactory? { return if (type.equals("mountain bike", ignoreCase = true)) { MountainBikeFactory() } else if (type.equals("road bike", ignoreCase = true)) { RoadBikeFactory() ...
0
Kotlin
0
1
d393d343855cd82b9c3f3a0aeb768e824ae8bc82
415
design-patterns
The Unlicense
commons/src/main/kotlin/com/simplemobiletools/commons/interfaces/ItemMoveCallback.kt
overphoenix
785,721,725
false
null
package com.cyberkey.commons.interfaces import androidx.recyclerview.widget.ItemTouchHelper import androidx.recyclerview.widget.RecyclerView import com.cyberkey.commons.adapters.MyRecyclerViewAdapter open class ItemMoveCallback(private val mAdapter: ItemTouchHelperContract, private val allowHorizontalDrag: Boolean = ...
0
Kotlin
0
0
757f3ab319b9f15b96444143c1dfcd619c703294
1,760
phoenix-android
The Unlicense
app/src/main/java/com/zekierciyas/thepost/common/picasso/PicassoBuilder.kt
zekierciyas
554,918,616
false
null
package com.zekierciyas.thepost.common.picasso import android.content.Context import android.view.View import android.widget.ImageView import android.widget.ProgressBar import com.squareup.picasso.Callback import com.squareup.picasso.NetworkPolicy import com.squareup.picasso.Picasso import com.zekierciyas.thepost.R im...
0
Kotlin
0
1
030efb381f48931869b2930f466722812ec03fae
2,517
ThePost
MIT License
akari-core/src/main/java/io/github/takusan23/akaricore/v2/audio/AkariCoreAudioProperties.kt
takusan23
584,131,815
false
{"Kotlin": 370704, "Java": 67808}
package io.github.takusan23.akaricore.v2.audio /** この アプリ / ライブラリ では、音声は サンプリングレート=44100 チャンネル数=2 量子化ビット数=16bit にする必要あり */ object AkariCoreAudioProperties { /** チャンネル数 */ const val CHANNEL_COUNT = 2 /** サンプリングレート */ const val SAMPLING_RATE = 44_100 /** 量子化ビット数。16bit なので 2byte */ const val BI...
0
Kotlin
0
0
f97cf00ac2eb71239e3a9a4b438634ec8d79d48f
333
AkariDroid
Apache License 2.0
core/src/main/kotlin/com/messengerk/core/stamp/SentStamp.kt
tsantos84
441,781,910
false
{"Kotlin": 40278}
package com.messengerk.core.stamp import com.messengerk.core.Stamp data class SentStamp(val sender: String) : Stamp
0
Kotlin
0
0
5358365033dfb76db9d021f7e2b12aa568e2c22d
117
messengerk
MIT License
buildSrc/src/main/kotlin/Libs.kt
kotest
345,700,109
false
null
object Libs { const val kotlinVersion = "1.5.31" const val org = "io.kotest.extensions" object Kotest { private const val version = "4.4.3" const val assertionsShared = "io.kotest:kotest-assertions-shared:$version" const val api = "io.kotest:kotest-framework-api:$version" const val ju...
1
Kotlin
0
2
b5ebffb2bd8fce3e9630e0408465634214026017
512
kotest-assertions-klock
Apache License 2.0
pathmatch-core/src/commonMain/kotlin/com/chrynan/pathmatch/core/RegexMatcher.kt
chRyNaN
298,403,774
false
null
package com.chrynan.pathmatch.core /** * A [Matcher] implementation that checks if the provided input matches the provided [Regex] pattern. */ internal class RegexMatcher : Matcher { override fun matches(pattern: String, input: String): Boolean = input matches Regex(pattern) }
0
Kotlin
0
1
9785dfabe6afd9366ebef8c40bba6deca22a6c18
286
pathmatch
Apache License 2.0
app/src/main/java/com/example/retrofit_project/Detail/DetailViewModel.kt
kathan5550
776,605,770
false
{"Kotlin": 21376}
package com.example.retrofit_project.Detail import android.os.Handler import android.os.Looper import android.util.Log import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.example.retrofit_project.api.Retrof...
0
Kotlin
0
0
66f2e10f349870114b72a0b69f181df73481b598
1,450
BlogPoster_App
MIT License
core/model/src/main/java/com/niyaj/model/SelectedCartOrder.kt
skniyajali
579,613,644
false
{"Kotlin": 2220123}
package com.niyaj.model import com.niyaj.common.utils.Constants.SELECTED_CART_ORDER_ID data class SelectedCartOrder( val selectedCartId: String = SELECTED_CART_ORDER_ID, val cartOrder: CartOrder? = null, )
34
Kotlin
0
1
2020b913df5030525c582218f6a91a7a3466ee2c
217
POS-Application
MIT License
app/src/main/java/com/alshevelev/alphapass/core/storages/db/entities/AccountsGroup.kt
AlShevelev
119,786,890
false
null
package com.alshevelev.alphapass.core.storages.db.entities import android.arch.persistence.room.ColumnInfo import android.arch.persistence.room.Entity import android.arch.persistence.room.PrimaryKey @Entity(tableName = "accounts_group") data class AccountsGroup( @PrimaryKey(autoGenerate = true) var id: Long =...
0
Kotlin
1
2
29af4b9704dd8a475b20337f8c87ab82c178fd0e
447
AlphaPass
MIT License
kotest-assertions/kotest-assertions-core/src/jvmTest/kotlin/com/sksamuel/kotest/matchers/collections/ShouldContainTest.kt
kotest
47,071,082
false
{"Kotlin": 4547040, "CSS": 352, "Java": 145}
package com.sksamuel.kotest.matchers.collections import io.kotest.assertions.throwables.shouldThrow import io.kotest.core.spec.style.WordSpec import io.kotest.equals.Equality import io.kotest.equals.types.byObjectEquality import io.kotest.matchers.collections.contain import io.kotest.matchers.collections.shouldContain...
93
Kotlin
613
4,253
1c12b2b6fe46795d427763bc2f79249e7955355d
2,637
kotest
Apache License 2.0
app/src/main/kotlin/com/hana053/micropost/pages/relateduserlist/RelatedUserListPresenter.kt
springboot-angular2-tutorial
52,337,279
false
null
package com.hana053.micropost.pages.relateduserlist import com.hana053.micropost.pages.Presenter import com.hana053.micropost.service.Navigator import com.hana053.micropost.shared.followbtn.FollowBtnService class RelatedUserListPresenter( override val view: RelatedUserListView, private val userId: Long, ...
0
Kotlin
5
11
c609bfdaa867bd20a29fd4f64ab3a2b159e8c023
1,292
android-app
MIT License
persian/src/main/java/io/github/madmaximuus/persian/tabs/PersianTabItem.kt
MADMAXIMUUS
689,789,834
false
{"Kotlin": 845470}
package io.github.madmaximuus.persian.tabs import androidx.compose.foundation.background import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation....
0
Kotlin
1
1
1ccf0c0860a5ea07b9819792d52c02c241b65643
5,184
Persian
MIT License
MyMediaPlayer/app/src/main/java/com/mankart/mymediaplayer/MainActivity.kt
reskimulud
477,543,802
false
{"Kotlin": 122658, "Java": 1207}
package com.mankart.mymediaplayer import android.media.AudioAttributes import android.media.MediaPlayer import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import com.mankart.mymediaplayer.databinding.ActivityMainBinding import java.io.IOException class MainActivity : AppCompatActivity() { pr...
0
Kotlin
1
1
7eeb7b9b398fa0125e3b9312b4da70ac22d8e052
2,446
bpaai-dicoding
MIT License
samples/nav/shared/src/commonMain/kotlin/com/eygraber/vice/samples/nav/shared/about/AboutUsView.kt
eygraber
740,196,321
false
{"Kotlin": 47138, "Shell": 1351}
package com.eygraber.virtue.samples.todo.shared.about import androidx.compose.desktop.ui.tooling.preview.Preview import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.consumeWindowInsets import androidx.compose.foundation.layout...
1
Kotlin
1
6
dd4b3812e8e396e74e8f2345fa013a3dae71ac18
1,945
vice
MIT License
src/main/kotlin/com/expansemc/bending/api/protection/BlockProtection.kt
ExpanseMC
272,346,844
false
null
package com.expansemc.bending.api.protection import com.expansemc.bending.api.ability.AbilityType import com.expansemc.bending.api.registry.* import com.expansemc.bending.api.util.Tristate import org.bukkit.Location import org.bukkit.NamespacedKey import org.bukkit.entity.Player /** * A build protection checker. */...
0
Kotlin
0
0
c663dbc917c02c2896769fa30ff927cf5aa212ad
967
bending-api
MIT License
app/src/test/kotlin/libkeycard/LocalIDTest.kt
mensago
345,165,883
false
{"Kotlin": 927725}
package libkeycard import org.junit.jupiter.api.Assertions.* import org.junit.jupiter.api.Test class LocalIDTest { @Test fun getValue() { // -- Tests for valid user IDs // Basic ASCII and other Unicode val luids = listOf("cavsfan4life", "valid_e-mail.123", "V...
0
Kotlin
0
0
a1c74a9b21a1f70800768e6df418e1d94e75c309
2,303
mensagod
MIT License
skeleton/template/files-src/KotlinMain.kt
boothub-org
123,893,917
false
null
\{{javaComment 'license-header.txt'~}} @file:JvmName("{{targetFileClass}}") package {{targetPackage}} /** * Prints "Hello from {{targetFileClass}}!" */ fun main(args: Array<String>) { println("Hello from {{targetFileClass}}!") }
0
Kotlin
1
0
5906a88ed83c0f7baaf26e9040c20bdb2e8c26da
236
boothub-template-simple-kotlin
Apache License 2.0
app/src/main/java/com/habitude/habit/ui/model/Follow/FollowView.kt
vickatGit
663,121,210
false
{"Kotlin": 506257, "Java": 4404}
package com.habitude.habit.ui.model.Follow import com.habitude.habit.ui.model.User.UserView data class FollowView( val users: List<UserView>? = null )
0
Kotlin
0
0
16e42abc977c8dac6500c93fb0f320b582899e14
157
HB
MIT License
src/main/kotlin/ch/abbts/smartlodge/services/AuthenticationService.kt
teaching-abbts
809,037,656
false
{"Kotlin": 14369, "Vue": 7438, "TypeScript": 5161, "Dockerfile": 641, "FreeMarker": 512, "HTML": 380, "JavaScript": 333}
package ch.abbts.smartlodge.services import io.ktor.server.auth.* import io.ktor.util.* class AuthenticationService { private val digestFunction = getDigestFunction("SHA-256") { "ktor${it.length}" } private val usernameToPasswordMap = mutableMapOf<String, ByteArray>() init { usernameToPasswordMap["jetbrain...
0
Kotlin
1
1
53705bba1e821bfa34d93efca559f26eef2ddb47
753
smart-lodge
MIT License
app/src/main/java/com/dreamsoftware/brownie/component/BrownieSlideDownAnimatedVisibility.kt
sergio11
187,466,826
false
{"Kotlin": 176267}
package com.dreamsoftware.brownie.component import androidx.compose.animation.AnimatedVisibility import androidx.compose.animation.AnimatedVisibilityScope import androidx.compose.animation.core.FastOutLinearInEasing import androidx.compose.animation.core.LinearOutSlowInEasing import androidx.compose.animation.core.twe...
0
Kotlin
0
2
a66b141848fcf6a319117a18146da7cd890b3516
1,508
brownie_ui_library
MIT License