path
stringlengths
4
280
owner
stringlengths
2
39
repo_id
int64
21.1k
879M
is_fork
bool
2 classes
languages_distribution
stringlengths
13
1.95k
content
stringlengths
7
482k
issues
int64
0
13.9k
main_language
stringclasses
121 values
forks
stringlengths
1
5
stars
int64
0
111k
commit_sha
stringlengths
40
40
size
int64
7
482k
name
stringlengths
1
100
license
stringclasses
93 values
src/jvmMain/kotlin/acidicoala/koalageddon/core/model/ILangString.kt
acidicoala
584,899,259
false
null
package acidicoala.koalageddon.core.model import acidicoala.koalageddon.core.ui.composition.LocalStrings import acidicoala.koalageddon.core.values.Strings import androidx.compose.runtime.Composable /** * Encapsulates a string reference in a language-agnostic manner. * Use [LangString] to instantiate a new instance ...
1
Kotlin
4
50
9ec09a7ba5cabc7b1be173a9c8e8794c93984a24
784
Koalageddon2
The Unlicense
video-sdk/src/main/java/com/kaleyra/video_sdk/call/participants/model/ParticipantsUiState.kt
KaleyraVideo
686,975,102
false
{"Kotlin": 5025429, "Shell": 7470, "Python": 6756, "Java": 1213}
package com.kaleyra.video_sdk.call.participants.model import androidx.compose.runtime.Immutable import com.kaleyra.video_sdk.common.immutablecollections.ImmutableList import com.kaleyra.video_sdk.common.uistate.UiState @Immutable internal data class ParticipantsUiState( val invitedParticipants: ImmutableList<Stri...
0
Kotlin
0
1
d73e4727cec4875a98b21110823947edcfe9e28c
470
VideoAndroidSDK
Apache License 2.0
app/src/main/java/com/droidafricana/moveery/ui/details/similardetails/similarshow/SimilarShowDetailsFragment.kt
Fbada006
240,091,360
false
null
package com.droidafricana.moveery.ui.details.similardetails.similarshow import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.core.content.ContextCompat import androidx.databinding.DataBindingUtil import androidx.fragment.app.Fragment import ...
0
Kotlin
0
2
92b175690eac0333ecbe0d87c9f07084f6099459
5,927
Moveery
Apache License 2.0
src/test/kotlin/com/jetbrains/kotlin/structuralsearch/search/KotlinSSTypeReferenceTest.kt
JetBrains
250,351,744
false
null
package com.jetbrains.kotlin.structuralsearch.search import com.jetbrains.kotlin.structuralsearch.KotlinSSResourceInspectionTest class KotlinSSTypeReferenceTest : KotlinSSResourceInspectionTest() { override fun getBasePath(): String = "typeReference" fun testAny() { doTest("fun '_('_ : '_) { '_* }") } f...
9
Kotlin
2
17
40f5895867975ee38b60333033672b7957bfb491
727
intellij-structural-search-for-kotlin
Apache License 2.0
app/src/test/java/com/example/mvvmkotlin/data/repository/tvshow/FakeTvShowRepositoryImpl.kt
LennoxNunu
722,461,003
false
{"Kotlin": 75877}
package com.example.mvvmkotlin.data.repository.tvshow import com.example.mvvmkotlin.data.model.tvshow.TvShow import com.example.mvvmkotlin.domain.repository.TvShowRepository class FakeTvShowRepositoryImpl: TvShowRepository { private val tvShows = mutableListOf<TvShow>() init { tvShows.add(TvShow("",1...
0
Kotlin
0
0
b71d72a83ed99bbcd09ddfe884a9ca0631ea772e
766
MVVMKotlin
MIT License
data/src/main/java/com/bikcodeh/mubi/data/local/preferences/LoginDataStoreOperationImpl.kt
Bikcodeh
553,763,395
false
{"Kotlin": 253338}
package com.bikcodeh.mubi.data.local.preferences import android.content.Context import androidx.datastore.core.DataStore import androidx.datastore.preferences.core.Preferences import androidx.datastore.preferences.core.booleanPreferencesKey import androidx.datastore.preferences.core.edit import androidx.datastore.pref...
0
Kotlin
0
1
25929e402744a1070357ff1af9b05eb7d8bd345c
1,715
Mubi
MIT License
projector-server-core/src/main/kotlin/org/jetbrains/projector/server/core/ij/KeymapSetter.kt
JetBrains
267,844,825
false
null
/* * MIT License * * Copyright (c) 2019-2022 JetBrains s.r.o. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, ...
20
null
94
815
0f1e08a68f01c417a7ce8a58afe77d63603e22db
2,619
projector-client
MIT License
tezos-core/src/main/kotlin/it/airgap/tezos/core/internal/delegate/DelegateContext.kt
airgap-it
460,351,851
false
null
package it.airgap.tezos.core.internal.delegate import it.airgap.tezos.core.internal.annotation.InternalTezosSdkApi @InternalTezosSdkApi public interface DelegateContext : DefaultDelegateContext, LazyWeakDelegateContext
0
Kotlin
2
1
c5af5ffdd4940670bd66842580d82c2b9d682d84
220
tezos-kotlin-sdk
MIT License
uikit/src/main/java/com/sendbird/uikit/internal/ui/messages/FormMessageView.kt
sendbird
350,188,329
false
null
package com.sendbird.uikit.internal.ui.messages import android.content.Context import android.graphics.Rect import android.util.AttributeSet import android.view.LayoutInflater import android.view.View import androidx.core.content.ContextCompat import androidx.core.content.res.ResourcesCompat import androidx.recyclervi...
1
null
43
39
c2f6aa7f37fb1428a96f3d93cf05e736e3659351
7,314
sendbird-uikit-android
MIT License
app/src/main/java/io/github/wulkanowy/ui/modules/login/recover/LoginRecoverFragment.kt
wezuwiusz
827,505,734
false
null
package io.github.wulkanowy.ui.modules.login.recover import android.annotation.SuppressLint import android.graphics.Color import android.os.Bundle import android.view.View import android.view.View.GONE import android.view.View.VISIBLE import android.webkit.* import androidx.core.view.isVisible import androidx.core.wid...
96
null
6
28
82b4ea930e64d0d6e653fb9024201b372cdb5df2
8,500
neowulkanowy
Apache License 2.0
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/resolver/SourceDistributionProvider.kt
gradle
302,322
false
null
/* * Copyright 2017 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...
2,663
null
4552
15,640
3fde2e4dd65124d0f3b2ef42f7e93446ccd7cced
5,898
gradle
Apache License 2.0
cordapp-cpk/src/main/kotlin/net/corda/plugins/cpk/PublishAfterEvaluationHandler.kt
rankinc
380,033,966
true
{"Kotlin": 868814, "Java": 177787, "Groovy": 73722, "Shell": 4346, "Batchfile": 106}
package net.corda.plugins.cpk import org.gradle.api.Action import org.gradle.api.InvalidUserCodeException import org.gradle.api.Plugin import org.gradle.api.Project import org.gradle.api.Task import org.gradle.api.XmlProvider import org.gradle.api.artifacts.ConfigurationContainer import org.gradle.api.artifacts.Module...
0
null
0
0
620b7af7c0e58fb82cdf6d685db6a00d3fa57c47
9,032
corda-gradle-plugins
Apache License 2.0
app/src/main/java/com/bmco/cratesiounofficial/models/Crate.kt
Catman155
110,840,290
false
null
package com.bmco.cratesiounofficial.models import com.bmco.cratesiounofficial.CrateNotifier import com.bmco.cratesiounofficial.Networking import com.bmco.cratesiounofficial.interfaces.OnDependencyDownloadListener import com.fasterxml.jackson.annotation.JsonAnyGetter import com.fasterxml.jackson.annotation.JsonAnySette...
1
Kotlin
3
13
70d970002e2500a25da811e003490ad40aa45a44
4,215
crates-io-android
Apache License 2.0
toolkit/livedata/src/test/kotlin/br/com/arch/toolkit/livedata/extention/LiveDataTransformationTest.kt
matheus-corregiari
131,161,672
false
null
package br.com.arch.toolkit.livedata.extention import androidx.arch.core.executor.testing.InstantTaskExecutorRule import androidx.lifecycle.Lifecycle import androidx.lifecycle.LifecycleOwner import androidx.lifecycle.LifecycleRegistry import androidx.lifecycle.MutableLiveData import br.com.arch.toolkit.livedata.respon...
2
Kotlin
3
19
d0beed2e77f8b5d0aecf3dd15f83ce9a5ec315cc
3,684
arch-toolkit
Apache License 2.0
wear/src/main/java/com/vlad1m1r/watchface/settings/base/viewholders/SettingsButtonViewHolder.kt
VladimirWrites
153,897,525
false
null
package com.vlad1m1r.watchface.settings.base.viewholders import android.view.View import android.widget.Button import androidx.annotation.StringRes import androidx.recyclerview.widget.RecyclerView import com.vlad1m1r.watchface.R class SettingsButtonViewHolder(itemView: View) : RecyclerView.ViewHolder(itemView) { ...
5
Kotlin
21
99
0d54c556bffd7bb3e91fde670ff3baf05b6633bf
623
AnalogWatchFace
Apache License 2.0
app/src/main/java/com/udacity/project4/locationreminders/savereminder/selectreminderlocation/SelectLocationFragment.kt
MostafaMohamed2002
536,962,296
false
{"Kotlin": 105705}
package com.udacity.project4.locationreminders.savereminder.selectreminderlocation import android.Manifest import android.annotation.SuppressLint import android.annotation.TargetApi import android.content.Intent import android.content.IntentSender import android.content.pm.PackageManager import android.content.res.Re...
0
Kotlin
0
0
9695ef5fa0b608c015d7f0820398196adac8f58e
20,138
Location-Reminder-App
MIT License
plano/src/main/kotlin/com/hanggrian/plano/MediaSize.kt
hanggrian
166,536,203
false
{"Kotlin": 126046, "SCSS": 22632, "HTML": 21448, "CSS": 5501, "JavaScript": 1666, "Ruby": 243}
package com.hanggrian.plano import org.slf4j.LoggerFactory import java.io.Serializable public class MediaSize( override var width: Float, override var height: Float, private val trimSizes: MutableList<TrimSize> = mutableListOf(), ) : Size, List<TrimSize> by trimSizes, Serializable { private va...
1
Kotlin
0
2
30a56b6dd1187239429f2e2354091bb29f4df512
16,115
plano
Apache License 2.0
project/jimmer-sql-kotlin/src/test/kotlin/org/babyfish/jimmer/sql/kt/dto/DepartmentViewTest.kt
babyfish-ct
488,154,823
false
null
package org.babyfish.jimmer.sql.kt.dto import org.babyfish.jimmer.kt.new import org.babyfish.jimmer.sql.kt.common.assertContentEquals import org.babyfish.jimmer.sql.kt.model.hr.Department import org.babyfish.jimmer.sql.kt.model.hr.addBy import org.babyfish.jimmer.sql.kt.model.hr.by import org.babyfish.jimmer.sql.kt.mo...
18
null
72
725
873f8405a268d95d0b2e0ff796e2d0925ced21e7
3,191
jimmer
Apache License 2.0
kotlin/src/generated/kotlin/org/schema/kotlin/MutableRating.kt
aweiland
206,867,770
false
null
package org.schema.kotlin import org.schema.* class MutableEmployerAggregateRating { private val map = HashMap<String,Any>() var itemReviewed: Thing get() = map["itemReviewed"] as Thing set(value) { map["itemReviewed"] = value } fun itemReviewed(builder: MutableThing.() -> Unit) { map["itemReviewed"] = Mu...
1
null
1
1
fe0b9e4acdd4a459558ba601181812e2e7f11146
3,358
jsonld-metadata
Apache License 2.0
app/src/main/java/com/breezeshankar/features/attendance/model/OutputResponse.kt
DebashisINT
851,529,165
false
{"Kotlin": 15698684, "Java": 1025747}
package com.breezeshankar.features.attendance.model import com.breezeshankar.base.BaseResponse class OutputResponse: BaseResponse() { var last_visit_order_list:ArrayList<last_visit_order_list>?=null } data class last_visit_order_list(var shop_name:String="",var shop_id:String="",var shop_Type:String="", ...
0
Kotlin
0
0
d382b7af0064e3965a2a89789c42731687d911f5
431
SHANKARMG
Apache License 2.0
app/src/main/java/com/roshastudio/roshastu/enum/CommentStatus.kt
sepandd97
345,416,807
false
null
package com.roshastudio.roshastu.enum enum class CommentStatus { APPROVE, NOT_APPROVE, WATING_FOR_APPROVAL}
0
Kotlin
0
0
1f840c763e4be909afcb6af98d52b5542de43e09
112
Roshastu
MIT License
core/src/test/kotlin/sift/core/dsl/SiftTypeTest.kt
junkdog
561,870,959
false
{"Kotlin": 573369, "Shell": 5738, "Java": 627}
package sift.core.dsl import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test class SiftTypeTest { val types = listOf( "java.lang.String".type, "java.lang.Integer".type, "java.lang.Long".type, "java.lang.Boolean".type, "java.lang.Object".type, ...
5
Kotlin
0
56
b486fe82fc07d85355311c13160a9fadc2f65831
2,322
sift
MIT License
src/examples/kotlin/net/dinkla/raytracer/examples/objects/World16.kt
jdinkla
38,753,756
false
{"Kotlin": 490829, "Shell": 239}
package net.dinkla.raytracer.examples.objects import net.dinkla.raytracer.math.Normal import net.dinkla.raytracer.math.Point3D import net.dinkla.raytracer.world.Builder import net.dinkla.raytracer.world.World import net.dinkla.raytracer.world.WorldDefinition object World16 : WorldDefinition { override val id: Str...
0
Kotlin
2
5
01286be063088774b63560e2ad737d4b8dc8d7a8
1,002
from-the-ground-up-ray-tracer
Apache License 2.0
voiceping-sdk/src/main/java/com/smartwalkie/voicepingsdk/CustomAudioRecorder.kt
SmartWalkieOrg
96,063,593
false
{"Java": 768731, "Kotlin": 70634}
package com.smartwalkie.voicepingsdk /** * Created by kukuhsain on 12/03/18. */ interface CustomAudioRecorder { fun record(placeholderData: ByteArray): ByteArray }
5
Java
9
26
215d16e1d7351592c5ce6109305e355f5df1f11a
171
VoicePing-Walkie-Talkie-AndroidSDK
MIT License
hubdle-gradle-plugin/main/kotlin/com/javiersc/hubdle/project/extensions/kotlin/multiplatform/targets/HubdleKotlinMultiplatformAndroidNativeExtension.kt
JavierSegoviaCordoba
348,863,451
false
{"Kotlin": 501858, "Shell": 21101, "Perl": 4726, "CSS": 195}
package com.javiersc.hubdle.project.extensions.kotlin.multiplatform.targets import com.javiersc.hubdle.project.extensions.HubdleDslMarker import com.javiersc.hubdle.project.extensions._internal.getHubdleExtension import com.javiersc.hubdle.project.extensions.apis.HubdleEnableableExtension import com.javiersc.hubdle.pr...
12
Kotlin
10
26
e880ed2481243bfab76a5df41476bbaeb7094fa5
3,517
hubdle
Apache License 2.0
analysis/low-level-api-fir/src/org/jetbrains/kotlin/analysis/low/level/api/fir/api/FirDesignation.kt
JetBrains
3,432,266
false
null
/* * Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.analysis.low.level.api.fir.api import org.jetbrains.kotlin.analysis.low.level.ap...
162
null
5729
46,436
c902e5f56504e8572f9bc13f424de8bfb7f86d39
11,916
kotlin
Apache License 2.0
domain/domain-usecase/src/main/java/com/odogwudev/example/domain_usecase/auth/LoginWithFacebookAccountUseCase.kt
odogwudev
592,877,753
false
null
package com.odogwudev.example.domain_usecase.auth import com.odogwudev.example.firebase_api.AuthenticationService import kotlinx.coroutines.flow.filterNotNull class LoginWithFacebookAccountUseCase(private val service: AuthenticationService) { operator fun invoke() = service.loginWithFacebookAccount().filterNotNu...
0
Kotlin
0
4
82791abdcf1554d2a2cd498a19cd93952f90e53e
326
CinephilesCompanion
MIT License
games-impl/src/commonMain/kotlin/net/zomis/games/ur/RoyalGameOfUr.kt
Zomis
125,767,793
false
null
package net.zomis.games.ur /* // 0 = Outside // 4 = First flower Fxxx Fx xxxFxxxx Fxxx Fx */ class RoyalGameOfUr { constructor() { this.currentPlayer = 0 this.roll = NOT_ROLLED this.pieces = Array(2) { IntArray(7) } } constructor(currentPlayer: Int, roll: Int, pieces: Array<IntA...
89
null
5
17
dd9f0e6c87f6e1b59b31c1bc609323dbca7b5df0
7,440
Games
MIT License
app/src/main/java/com/perol/asdpl/pixivez/viewmodel/BlockViewModel.kt
ultranity
258,955,010
false
null
package com.perol.asdpl.pixivez.viewmodel import androidx.lifecycle.MutableLiveData import com.perol.asdpl.pixivez.services.PxEZApp import com.perol.asdpl.pixivez.sql.AppDatabase import com.perol.asdpl.pixivez.sql.entity.BlockTagEntity import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.runBlocking import ...
8
null
30
553
626986fa3c62ff01dc660a1afa993b25c01c24b8
2,044
Pix-EzViewer
MIT License
src/main/kotlin/ru/tanec/cookhelper/database/dao/ingredientDao/IngredientDaoImpl.kt
Tanexc
541,207,479
false
{"Kotlin": 234073, "Procfile": 62}
package ru.tanec.cookhelper.database.dao.ingredientDao import org.jetbrains.exposed.sql.ResultRow import org.jetbrains.exposed.sql.select import org.jetbrains.exposed.sql.selectAll import ru.tanec.cookhelper.core.utils.getPage import ru.tanec.cookhelper.database.factory.DatabaseFactory.dbQuery import ru.tanec.cookhelp...
0
Kotlin
2
16
cdf4edac9f701d3ff9b4afd91f51a4a433d188da
1,661
CookHelper
Apache License 2.0
src/test/kotlin/eZmaxApi/models/EzsigndocumentlogResponseTest.kt
eZmaxinc
271,950,932
false
{"Kotlin": 6909939}
/** * * Please note: * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * Do not edit this file manually. * */ @file:Suppress( "ArrayInDataClass", "EnumEntryName", "RemoveRedundantQualifierName", "UnusedImport" ) package eZmaxApi.models import io.kotlintest.sh...
0
Kotlin
0
0
961c97a9f13f3df7986ea7ba55052874183047ab
2,860
eZmax-SDK-kotlin
MIT License
src/main/kotlin/jp/nephy/penicillin/endpoints/collections/entries/Remove.kt
colt005
186,767,944
true
{"Kotlin": 1199305}
/* * The MIT License (MIT) * * Copyright (c) 2017-2019 Nephy Project Team * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the ri...
0
Kotlin
0
0
d5860e3d9c7c95c7d7ec1879c080b114ca77e127
2,588
Penicillin
MIT License
shared/src/commonMain/kotlin/com/aglushkov/wordteacher/shared/features/cardset/vm/CardSetVM.kt
soniccat
302,971,014
false
null
package com.aglushkov.wordteacher.shared.features.cardset.vm import com.aglushkov.wordteacher.shared.events.Event import com.aglushkov.wordteacher.shared.events.FocusViewItemEvent import com.aglushkov.wordteacher.shared.features.definitions.vm.* import com.aglushkov.wordteacher.shared.general.* import com.aglushkov.wo...
0
null
1
3
d853cd31e7a609777bffb6ceef18461cccf8222d
19,498
WordTeacher
MIT License
app/src/main/java/com/android/saman/sample/androidmvvm/repository/RetrofitService.kt
samesl
277,223,969
false
null
package com.android.saman.sample.androidmvvm.repository class RetrofitService() { //TODO : TO BE COMPLETED }
1
Kotlin
1
0
d8ab01e692b285c630b5e7feca2fd01e812b3125
117
Android-MVVM
Apache License 2.0
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/ec2/CfnNetworkInsightsAnalysisDsl.kt
cloudshiftinc
667,063,030
false
null
@file:Suppress( "RedundantVisibilityModifier", "RedundantUnitReturnType", "RemoveRedundantQualifierName", "unused", "UnusedImport", "ClassName", "REDUNDANT_PROJECTION", "DEPRECATION" ) package io.cloudshiftdev.awscdkdsl.services.ec2 import io.cloudshiftdev.awscdkdsl.CfnTagDsl import io...
4
null
0
3
256ad92aebe2bcf9a4160089a02c76809dbbedba
5,481
awscdk-dsl-kotlin
Apache License 2.0
radiolib/src/main/java/com/brins/radiolib/fragment/RadioRecFragment.kt
BrinsLee
297,821,918
false
null
package com.brins.radiolib.fragment import android.os.Bundle import androidx.fragment.app.Fragment import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.lifecycle.Observer import androidx.recyclerview.widget.LinearLayoutManager import androidx.recyclerview.widget.Pag...
0
Kotlin
0
1
37cbd7448ebfc23475c00462018f6d70c74631e1
3,842
Music
Apache License 2.0
app/src/main/java/com/caron/instagram/data/NotificationsRepository.kt
iamCaron
301,796,709
false
null
package com.caron.instagram.data import android.arch.lifecycle.LiveData import com.caron.instagram.models.Notification import com.google.android.gms.tasks.Task interface NotificationsRepository { fun createNotification(uid: String, notification: Notification): Task<Unit> fun getNotifications(uid: String): Liv...
0
Kotlin
0
0
1af9710a74ca414490012438806c3510c7eb6a17
435
Instagram-Clone-Kotlin-master
MIT License
src/main/kotlin/io/github/dockyardmc/protocol/packets/login/LoginHandler.kt
DockyardMC
650,731,309
false
{"Kotlin": 1019371}
package io.github.dockyardmc.protocol.packets.login import cz.lukynka.prettylog.LogType import cz.lukynka.prettylog.log import io.github.dockyardmc.DockyardServer import io.github.dockyardmc.config.ConfigManager import io.github.dockyardmc.entities.EntityManager import io.github.dockyardmc.extentions.sendPacket import...
9
Kotlin
7
55
9a0eb8f3184123b79b835356ddde526d9eb6df65
6,012
Dockyard
MIT License
app/src/main/java/com/fappslab/rickandmortygraphql/Application.kt
F4bioo
585,168,438
false
null
package com.fappslab.rickandmortygraphql import android.app.Application import com.fappslab.rickandmortygraphql.core.data.local.di.LocalModule import com.fappslab.rickandmortygraphql.features.details.di.DetailsModule import com.fappslab.rickandmortygraphql.di.AppModule import com.fappslab.rickandmortygraphql.features....
0
Kotlin
0
0
b2a46bb919d7159c8417832a731798fdb9d159e9
1,887
RickAndMorty-GraphQL
MIT License
app/src/main/java/com/ardakazanci/weatherapp/data/ResponseClasses.kt
ardakazanci
226,705,095
false
null
package com.ardakazanci.weatherapp.data data class ForecastResult(val city: City, val list: List<Forecast>) data class City(val id: Long, val name: String, val coord: Coordinates, val country: String, val population: Int) data class Coordinates(val lon:...
1
null
1
1
f5da890cdab37b562afa6992ceaa87f90a0deda2
1,109
KotlinForForecast
Apache License 2.0
src/main/kotlin/com/jaspervanmerle/aoc2021/day/Day08.kt
jmerle
434,010,865
false
{"Kotlin": 60581}
package com.jaspervanmerle.aoc2021.day class Day08 : Day("321", "1028926") { private data class Entry(val signalPatterns: List<String>, val outputPatterns: List<String>) private val entries = input .lines() .map { it.split(" | ") } .map { Entry(it[0].split(" "), it[1].split(" ")) } ...
0
Kotlin
0
0
dcac2ac9121f9bfacf07b160e8bd03a7c6732e4e
2,515
advent-of-code-2021
MIT License
lib/src/main/kotlin/ca/objectobject/hexlr/eval/patterns/Lists.kt
object-Object
785,042,451
false
{"Kotlin": 71222, "ANTLR": 3483, "Makefile": 227}
package ca.objectobject.hexlr.eval.patterns import ca.objectobject.hexlr.eval.* import ca.objectobject.hexlr.eval.iotas.Iota import ca.objectobject.hexlr.eval.iotas.ListIota import ca.objectobject.hexlr.eval.iotas.NumberIota import ca.objectobject.hexlr.eval.iotas.toIota data object OpEmptyList : ConstPattern(ListIot...
0
Kotlin
0
0
1e37e162dc41b1a7fbcfa32c9700f33f8e8c187d
2,948
compilers-course-project
MIT License
compiler/ir/backend.jvm/src/org/jetbrains/kotlin/backend/jvm/lower/AnnotationLowering.kt
walltz556
224,251,838
true
{"Kotlin": 39975052, "Java": 7599429, "JavaScript": 160572, "HTML": 75060, "Lex": 23159, "TypeScript": 21255, "IDL": 11582, "ANTLR": 9803, "CSS": 8084, "Shell": 7727, "Groovy": 6940, "Batchfile": 5362, "Swift": 2253, "Ruby": 668, "Objective-C": 293, "Scala": 80}
/* * Copyright 2010-2018 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.backend.jvm.lower import org.jetbrains.kotlin.backend.common.FileLoweringPass im...
0
null
0
1
89d49479abab76ea1d4ffe5e45826f3b076c6f68
1,503
kotlin
Apache License 2.0
core/src/commonMain/kotlin/maryk/core/extensions/bytes/Int.kt
marykdb
290,454,412
false
{"Kotlin": 3313154, "JavaScript": 1004}
package maryk.core.extensions.bytes import maryk.lib.exceptions.ParseException import kotlin.experimental.and import kotlin.experimental.xor /** Write the bytes of this Int to a [writer] */ internal fun Int.writeBytes(writer: (byte: Byte) -> Unit, length: Int = 4) { if (length !in 3..4) { throw IllegalArg...
1
Kotlin
1
8
7d71064056cdff61fa01feb1f3a9201dc0c9ec34
5,495
maryk
Apache License 2.0
app/src/main/java/com/initiatetech/initiate_news/viewmodel/UserViewModel.kt
Gemnnn
747,026,324
false
{"Kotlin": 104052}
package com.initiatetech.initiate_news.viewmodel import android.content.Context import android.util.Log import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import androidx.lifecycle.ViewModelProvider import com.initiatetech.initiate_news.api.RetrofitClient i...
1
Kotlin
0
1
b1d106bfde7e90ac3bbee22e349f32d2b7a11bf5
8,524
Initiate-News
MIT License
catalog-updater/src/main/kotlin/io/datalbry/plugin/catalog/updater/CatalogUpdaterPlugin.kt
datalbry
403,714,662
false
{"Kotlin": 21074}
package io.datalbry.plugin.catalog.updater import org.gradle.api.Plugin import org.gradle.api.Project @Suppress("unused") class CatalogUpdaterPlugin: Plugin<Project> { override fun apply(project: Project) { setupExtensions(project) setupTasks(project) } private fun setupExtensions(projec...
0
Kotlin
1
1
e5451c32343806646954e9b5d9e258fd50240783
659
gradle-plugin-version-catalog-updater
Apache License 2.0
app/src/main/java/com/devmartyniuk/nasa/api/implementation/layer/ui/main/ViewModelMain.kt
Igor-Martynyuk
598,247,560
false
null
package com.devmartyniuk.nasa.api.implementation.layer.ui.main import androidx.lifecycle.* import com.devmartyniuk.nasa.api.implementation.layer.data.rest.neo.ws.RetrofitGatewayNeoWS import com.devmartyniuk.nasa.api.implementation.layer.domain.get.neo.CaseGetNearEarthObjectList import com.devmartyniuk.nasa.api.impleme...
0
Kotlin
0
0
a0e950f50ade6c328c87f3f3227a8acc4873a067
2,896
NASA-API-Implementation
Apache License 2.0
app/src/main/java/com/mindhub/view/composables/MeasureViewWidth.kt
grupo-bala
682,555,434
false
{"Kotlin": 293077, "HTML": 179400}
package com.mindhub.view.composables import androidx.compose.runtime.Composable import androidx.compose.ui.layout.SubcomposeLayout import androidx.compose.ui.unit.Constraints import androidx.compose.ui.unit.Dp @Composable fun MeasureViewWidth( viewToMeasure: @Composable () -> Unit, content: @Composable (measu...
0
Kotlin
0
1
83fac46be55e0003c5dd52914811976ca263029f
760
mindhub-android
MIT License
sample-app-resources/src/full/java/com/flaviofaria/catalog/sample/resources/FullActivity.kt
flavioarfaria
491,564,487
false
{"Kotlin": 151002, "Shell": 314}
package com.flaviofaria.catalog.sample.resources import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import com.flaviofaria.catalog.runtime.resources.Plurals class FullActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) ...
0
Kotlin
2
143
04948f5d5dd6894c59802e60a263391e332b03e4
357
Catalog
Apache License 2.0
frontend/screen/manual/src/commonMain/kotlin/com/mindovercnc/linuxcnc/screen/manual/turning/ui/axis/AxisCoordinates.kt
85vmh
543,628,296
false
null
package com.mindovercnc.linuxcnc.screen.manual.root.axis import androidx.compose.foundation.BorderStroke import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.height import androidx.compose.foundation.layout.padding import andr...
0
null
1
3
5cf42426895ba8691c9b53ba1b97c274bbdabc07
2,636
mindovercnclathe
Apache License 2.0
wrapper/godot-library/src/main/kotlin/godot/generated/PathFollow2D.kt
payload
189,718,948
true
{"Kotlin": 3888394, "C": 6051, "Batchfile": 714, "Shell": 574}
@file:Suppress("unused", "ClassName", "EnumEntryName", "FunctionName", "SpellCheckingInspection", "PARAMETER_NAME_CHANGED_ON_OVERRIDE", "UnusedImport", "PackageDirectoryMismatch") package godot import godot.gdnative.* import godot.core.* import godot.utils.* import godot.icalls.* import kotlinx.cinterop.* // NOTE: T...
0
Kotlin
1
2
70473f9b9a0de08d82222b735e7f9b07bbe91700
6,685
kotlin-godot-wrapper
Apache License 2.0
app/src/main/java/wannabit/io/cosmostaion/database/model/BaseAccount.kt
cosmostation
418,314,439
false
null
package wannabit.io.cosmostaion.database.model import android.os.Parcelable import androidx.room.ColumnInfo import androidx.room.Entity import androidx.room.Ignore import androidx.room.PrimaryKey import kotlinx.parcelize.IgnoredOnParcel import kotlinx.parcelize.Parcelize import net.i2p.crypto.eddsa.Utils import wannab...
1
null
43
76
4d2de2e7f06bd98c156f7695f8da363d5a402762
7,164
cosmostation-android
MIT License
mobile/src/test/java/lt/neworld/randomdecision2/extensions/IntKtTest.kt
neworld
55,846,624
false
null
package lt.neworld.randomdecision2.extensions import org.junit.Test import kotlin.test.assertEquals /** * @author <NAME> * * * @since 2016-04-17 */ class IntKtTest { @Test fun testNormalize() { assertEquals(-1, -50.normalize()) assertEquals(0, 0.normalize()) assertEquals(1, 40.nor...
1
Kotlin
0
0
bf87e3ee97a905e374432e4e17911ccfae7c0bf3
337
random-decision
Apache License 2.0
app/src/main/java/vinova/henry/com/hotfilm/server/ServiceGenerator.kt
henryduong26
120,248,676
false
{"Kotlin": 175185, "Java": 1151}
package vinova.henry.com.hotfilm.server import retrofit2.Retrofit import retrofit2.converter.gson.GsonConverterFactory import vinova.henry.com.hotfilm.BASE_URL class ServiceGenerator{ companion object { val theMovieDBService: ITheMovieDBService = Retrofit.Builder() .baseUrl(BASE_URL) ...
0
Kotlin
0
0
97db98daa63c275b69cbb4b8e9887af6f9d16ada
454
HotFilm
Apache License 2.0
sample/src/main/java/com/anggrayudi/materialpreference/sample/App.kt
anggrayudi
139,258,858
false
null
package com.anggrayudi.materialpreference.sample import android.app.Application import android.content.Context import android.content.SharedPreferences import android.graphics.Color import android.os.Environment import com.anggrayudi.materialpreference.PreferenceManager import com.anggrayudi.materialpreference.Prefere...
0
null
21
92
34b2b884d8742a3cbd6c4f1c87604d77f15464d7
4,743
MaterialPreference
Apache License 2.0
src/main/kotlin/io/github/tassiluca/scalaextras/ScalaExtrasPlugin.kt
tassiluca
823,219,684
false
{"Kotlin": 10522, "Scala": 1300, "JavaScript": 807}
package io.github.tassiluca.scalaextras import cz.augi.gradle.scalafmt.ScalafmtPlugin import io.github.cosmicsilence.scalafix.ScalafixExtension import io.github.cosmicsilence.scalafix.ScalafixPlugin import io.github.cosmicsilence.scalafix.ScalafixTask import io.github.tassiluca.scalaextras.ScalaCompilerOptions.FAIL_ON...
2
Kotlin
0
0
9594d864a5708992094a5f1162450cfd64b007d2
3,867
gradle-scala-extras
Apache License 2.0
app/src/main/java/com/mincor/viamframework/viam/base/Listener.kt
Rasalexman
132,627,165
false
null
package com.mincor.viamframework.viam.base import com.mincor.viamframework.viam.core.IListener abstract class Listener(override val name: String = "", override var type: String = "") : IListener
0
Kotlin
0
0
4c6fa3bb2a8b2335d2b9562f0f879185f0931f77
196
ViamFramework
Apache License 2.0
compose/ui/ui-unit/src/commonMain/kotlin/androidx/compose/ui/unit/Constraints.kt
androidx
256,589,781
false
null
/* * Copyright 2019 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...
30
null
984
5,256
b4f2ba144b1330987d46dda7707499423171642b
26,158
androidx
Apache License 2.0
src/jsMain/kotlin/normalize.kt
xorgy
395,143,226
false
null
actual fun normalizeNFD (s: String) : String { return js("s.normalize('NFD')").toString(); };
0
Kotlin
0
0
603beebecb67f62f9f520639d44d9b1a5bb9d84c
97
hotfuzz
ISC License
app/src/main/java/com/yly/sunnyweather/MyApplication.kt
Mayo92
260,641,362
false
null
package com.yly.sunnyweather import android.annotation.SuppressLint import android.app.Application import android.content.Context /* * 项目名: SunnyWeather * 包 名: com.yly.sunnyweather * 文件名: MyApplication * 创建者: YLY * 时 间: 2020-05-02 16:53 * 描 述: TODO */ class MyApplication : Application() { companion obj...
0
Kotlin
0
0
c0b2378290d18b5f2a6318eca73597cae9014563
564
SunnyWeather
Apache License 2.0
core/common/src/main/kotlin/cn/wj/android/cashbook/core/common/Symbol.kt
WangJie0822
365,932,300
false
{"Kotlin": 1323186, "Java": 1271087}
package cn.wj.android.cashbook.core.common object Symbol { /** 人民币符号 CNY */ val CNY: String get() = "¥" }
0
Kotlin
7
23
004fb1d6e81ff60fd9e8cb46dc131107a720bbe5
123
Cashbook
Apache License 2.0
liteapi-tl/src/liteserver/LiteServerQueryPrefix.kt
ton-community
448,983,229
false
{"Kotlin": 1194581}
package org.ton.lite.api.liteserver import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable import org.ton.tl.TlCodec import org.ton.tl.TlConstructor import org.ton.tl.TlReader import org.ton.tl.TlWriter @Serializable @SerialName("liteServer.queryPrefix") public object LiteServerQueryPrefix ...
21
Kotlin
24
80
7eb82e9b04a2e518182ebfc56c165fbfcc916be9
699
ton-kotlin
Apache License 2.0
SKIE/common/configuration/api/src/commonMain/kotlin/co/touchlab/skie/configuration/ConfigurationScope.kt
touchlab
685,579,240
false
{"Kotlin": 1644009, "Swift": 6029, "Shell": 1040}
package co.touchlab.skie.configuration interface ConfigurationScope { interface Global : ConfigurationScope interface Module : ConfigurationScope interface Package : ConfigurationScope interface File : ConfigurationScope interface Class : ConfigurationScope interface Constructor : Configu...
9
Kotlin
8
735
b96044d4dec91e4b85c5b310226c6f56e3bfa2b5
866
SKIE
Apache License 2.0
app/src/main/java/com/example/mobile/top_action_bar/SortBy.kt
City-Zouitel
576,223,915
false
null
package com.example.graph.top_action_bar import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.size import androidx.compose.material3.DropdownMenu import androidx.compose.material3.DropdownMenuItem import androidx.compose.material3.Icon import androidx.compose.material3.Text import and...
20
null
4
25
8b9da426250b75670832d170ee9d77c793b9881e
6,122
JetNote
Apache License 2.0
kotlin-antd/antd-samples/src/main/kotlin/samples/slider/Event.kt
oxiadenine
206,398,615
false
{"Kotlin": 1619835, "HTML": 1515}
package samples.slider import antd.slider.slider import react.RBuilder import react.dom.div import styled.css import styled.styledDiv private fun handleChange(value: Array<Number>) { console.log("onChange: ", value) } private fun handleAfterChange(value: Array<Number>) { console.log("onAfterChange: ", value)...
1
Kotlin
8
50
e0017a108b36025630c354c7663256347e867251
941
kotlin-js-wrappers
Apache License 2.0
src/main/kotlin/ar/edu/unq/pds03backend/dto/course/SimpleCourseResponseDTO.kt
cassa10
478,695,193
false
{"Kotlin": 387344, "Shell": 2326, "Dockerfile": 168}
package ar.edu.unq.pds03backend.dto.course import ar.edu.unq.pds03backend.dto.semester.SemesterResponseDTO import ar.edu.unq.pds03backend.dto.subject.SimpleSubjectResponseDTO class SimpleCourseResponseDTO( val id: Long, val semester: SemesterResponseDTO, val subject: SimpleSubjectResponseDTO, val name...
0
Kotlin
1
0
2e61373e3b06ba75399dc429683eec6281f405e9
429
pds03-backend
MIT License
src/main/kotlin/dev/ekvedaras/laravelquery/reference/ForeignKeyPsiReference.kt
ekvedaras
325,768,601
false
null
package dev.ekvedaras.laravelquery.reference import com.intellij.database.util.DbUtil import com.intellij.psi.PsiElement import com.intellij.psi.PsiReferenceBase import dev.ekvedaras.laravelquery.models.DbReferenceExpression class ForeignKeyPsiReference(element: PsiElement) : PsiReferenceBase<PsiElement>(element) { ...
3
Kotlin
3
33
fd4c1f4496a0ddeb91154ee20181c47dd339854e
893
laravel-query-intellij
MIT License
idea/tests/testData/codeInsight/generate/testFrameworkSupport/junit3/tearDownExists.kt
JetBrains
278,369,660
false
null
// ACTION_CLASS: org.jetbrains.kotlin.idea.actions.generate.KotlinGenerateTestSupportActionBase$TearDown // NOT_APPLICABLE // CONFIGURE_LIBRARY: JUnit import junit.framework.TestCase class A : TestCase() {<caret> override fun tearDown() { super.tearDown() } }
0
Kotlin
30
82
cc81d7505bc3e9ad503d706998ae8026c067e838
276
intellij-kotlin
Apache License 2.0
plugins/parcelize/parcelize-compiler/testData/box/nestedSparseArrays2.kt
JetBrains
3,432,266
false
null
// IGNORE_BACKEND: JVM // See https://issuetracker.google.com/177856512 // WITH_RUNTIME @file:JvmName("TestKt") package test import kotlinx.parcelize.* import android.os.Bundle import android.os.Parcel import android.os.Parcelable import android.util.SparseArray @Parcelize class Data(val values: SparseArray<SparseAr...
181
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
1,037
kotlin
Apache License 2.0
shared/src/commonMain/kotlin/org/mifos/pisp/usecase/fetchTransactionById/FetchTransactionByIdRequest.kt
openMF
665,697,141
false
{"Kotlin": 84180, "Swift": 343}
package org.mifos.pisp.usecase.fetchTransactionById import org.mifos.pisp.usecase.base.BaseRequest class FetchTransactionByIdRequest( val token: String, val bankId: String, val accountId: String, val transactionId: String ) : BaseRequest { override fun validate(): Boolean { return tr...
1
Kotlin
2
2
6b45d62c23bbe2f7672b38a1d6952b883bcd190b
331
pisp-app
Apache License 2.0
domain/src/main/java/com/team_ia/domain/usecase/admin/ReadNoticeUseCase.kt
Idea-Archive
613,424,839
false
null
package com.team_ia.domain.usecase.admin import com.team_ia.domain.repository.AdminRepository import javax.inject.Inject class ReadNoticeUseCase @Inject constructor( private val adminRepository: AdminRepository ) { suspend operator fun invoke() = kotlin.runCatching { adminRepository.readNotice() }...
7
Kotlin
0
9
d11e2779e95e63d84139631969ee4e3036303036
323
Idea-Archive-Android
MIT License
sample/src/main/java/pyxis/uzuki/live/richutilssample/LocationActivity.kt
vooratarun
104,946,801
true
{"Kotlin": 115613, "Java": 29096}
package pyxis.uzuki.live.richutilssample import android.Manifest import android.annotation.SuppressLint import android.content.ComponentName import android.content.Context import android.content.Intent import android.content.ServiceConnection import android.location.Location import android.os.Bundle import android.os....
0
Kotlin
0
0
aecfd5c2175c3c448b29169455e57e76c9c2259f
3,275
RichUtilsKt
Apache License 2.0
src/main/kotlin/org/microjservice/lark/api/im/v1/ImageUploadApi.kt
MicroJService
358,535,254
false
null
package org.microjservice.lark.api.im.v1 import io.micronaut.http.HttpRequest import io.micronaut.http.client.RxHttpClient import io.micronaut.http.client.multipart.MultipartBody import io.reactivex.Single import io.reactivex.schedulers.Schedulers import jakarta.inject.Singleton import java.io.File import java.io.Inpu...
1
Kotlin
1
2
6f4d4befc3373b486616c19a632e2c9bbb8997c6
2,437
lark-api
Apache License 2.0
src/test/java/dev/kensa/ActionPerformer.kt
kensa-dev
515,073,953
false
{"Kotlin": 285836, "ANTLR": 97482, "JavaScript": 54770, "Java": 38466, "SCSS": 7515, "Makefile": 1815, "HTML": 427}
package dev.kensa class ActionPerformer { fun perform(actionName: String): String = "Performed: $actionName" }
6
Kotlin
1
7
bcac9b2120a4d35fcc67137314074ec685011052
115
kensa
Apache License 2.0
app/src/main/kotlin/com/hivian/pokedex/MainActivity.kt
hivian
245,177,544
false
null
package hu.tvarga.picsum import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import androidx.navigation.NavController import androidx.navigation.findNavController import androidx.navigation.ui.AppBarConfiguration import androidx.navigation.ui.navigateUp import androidx.navigation.ui.setupActionBar...
0
null
1
5
5525c2330e52dae04c5bda1bae2d9e5edafc9fb1
1,168
PokeApex
MIT License
src/main/kotlin/org/jetbrains/teamcity/github/WebHooksStorage.kt
younghyunjo
325,715,711
true
{"Kotlin": 225627, "Java": 63489, "JavaScript": 24706, "CSS": 1130, "Ruby": 511}
/* * Copyright 2000-2020 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
0
Kotlin
0
0
a0d74933f3257ab5b37095a8953b8cc40c489313
15,788
teamcity-commit-hooks
Apache License 2.0
kotlin/legacy/legacy-workflow-rx2/src/test/java/com/squareup/workflow/legacy/rx2/WorkerIntegrationTest.kt
arriolac
208,501,497
false
null
/* * Copyright 2017 Square Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
0
null
0
1
8acff486c2fc80b1de2e1956170819f03fa0eafd
2,225
workflow
Apache License 2.0
engine/src/main/kotlin/kotli/engine/extensions/dev.kt
kotlitecture
741,006,904
false
{"Kotlin": 47005}
package kotli.engine.extensions import kotli.engine.TemplateContext import kotli.engine.TemplateMaker import java.nio.file.Path /** * Checks if current system is windows or not. */ fun isWindows(): Boolean { return runCatching { System.getProperty("os.name").lowercase().startsWith("windows") }.getOr...
0
Kotlin
0
0
fca48f75106b7bcce41738b6714e39615b5bb050
1,197
kotli-engine
MIT License
src/main/kotlin/net/inherency/finances/controller/dto/CreateTransactionCmd.kt
scottygaydos
278,980,273
false
{"Kotlin": 199344, "HTML": 2360, "JavaScript": 1723}
package net.inherency.finances.controller.dto data class CreateTransactionCmd( val transactionDateString: String?, val transactionTypeId: Int, //named for legacy front end code; maps to budget category id val description: String, val creditAccountId: Int, val debitAccountId: Int...
2
Kotlin
0
0
825dd8a5e36ce88b45aa3585871faee8734ae750
431
finance_budget_and_reconciler
Apache License 2.0
wallet/src/main/java/com/android/identity/issuance/CredentialExtensions.kt
openwallet-foundation-labs
248,844,077
false
null
package com.android.identity.issuance import com.android.identity.credential.Credential import com.android.identity.credential.CredentialUtil import com.android.identity.securearea.SecureArea import com.android.identity.util.Logger import com.android.identity.util.Timestamp import java.lang.IllegalArgumentException im...
98
null
73
130
f2b4ef2dc2cd7185b063670199a2e47ecf8e21af
8,461
identity-credential
Apache License 2.0
domain/src/main/java/com/movingmaker/domain/model/UiState.kt
Comment-Diary
458,682,004
false
null
package com.movingmaker.domain.model sealed class UiState<out T> { data class Success<T>(val data: T) : UiState<T>() data class Fail(val message: String) : UiState<Nothing>() data class Error(val message: String) : UiState<Nothing>() } fun <T> UiState<T>.toModel(): T { return (this as UiState.Success)...
9
null
1
2
cf9f329970d83181c41a6cfc0470cd2712301f6f
706
CommentDiary-AOS
MIT License
app/src/main/kotlin/com/example/valorantandroid/agent/ui/viewmodel/AgentDetailsViewModel.kt
jamesdpli
680,617,148
false
{"Kotlin": 52872}
package com.example.valorantandroid.agent.ui.viewmodel import androidx.lifecycle.SavedStateHandle import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.example.valorantandroid.agent.data.repository.AgentsRepository import com.example.valorantandroid.agent.domain.model.AgentDetailDomai...
0
Kotlin
0
0
ee60d85023b055fcd105531edb40fd616ca86fdd
1,852
ValorantAndroid
Apache License 2.0
src/main/kotlin/no/nav/syfo/auth/Authentication.kt
navikt
303,972,532
false
null
package no.nav.syfo.auth import com.auth0.jwk.JwkProviderBuilder import io.ktor.application.* import io.ktor.auth.* import io.ktor.auth.jwt.* import io.ktor.routing.* import no.nav.syfo.AuthEnv import no.nav.syfo.api.admin.registerAdminApi import no.nav.syfo.api.bruker.registerBrukerApi import no.nav.syfo.api.job.regi...
2
Kotlin
2
0
8578a9c60ecc52653055defb2ee1944d8a1bf6e8
2,976
esyfovarsel
MIT License
modules/framework/src/main/java/soy/gabimoreno/framework/ContextExtensions.kt
soygabimoreno
477,796,937
false
{"Kotlin": 364408, "Swift": 648, "Shell": 441}
package soy.gabimoreno.framework import android.content.Context import android.widget.Toast import androidx.annotation.StringRes fun Context.toast( @StringRes resId: Int, duration: Int = Toast.LENGTH_SHORT, ) { Toast.makeText( this, resId, duration ).show() } fun Context.toast...
6
Kotlin
10
13
5d5ff8117cda10f7567ac0caf152501c1d439baa
476
Base
Apache License 2.0
features/third_party/androidx/permissions/src/main/java/com/ruslan/hlushan/third_party/androidx/permissions/PermissionResult.kt
game-x50
361,364,864
false
null
@file:Suppress("PackageNaming") package com.ruslan.hlushan.third_party.androidx.permissions sealed class PermissionResult { abstract val requestCode: Int abstract val permissions: SeparatedPermissions class ShowRationale( override val requestCode: Int, override val permissions: S...
21
Kotlin
0
0
3f50c768c05a85f5994f6c6ac4ffd57248eb4ada
518
android_client_app
Apache License 2.0
Application/src/main/java/android/prosotec/proyectocierzo/ProfileActivity.kt
UNIZAR-30226-PROYS
174,677,837
true
{"Kotlin": 119605, "Java": 80731}
package android.prosotec.proyectocierzo import android.support.v7.app.AppCompatActivity import android.os.Bundle import android.os.Handler import android.view.View import kotlinx.android.synthetic.main.activity_profile.* import com.example.android.mediasession.R /** * An example full-screen activity that shows and ...
0
Kotlin
0
0
0b9587cc3e947b466c52ced5c0b6b11768aefda1
896
Android-1
Apache License 1.1
game/src/main/java/org/mhacks/app/game/data/model/QuestionResponse.kt
mhacks
22,456,318
false
null
package org.mhacks.app.game.data.model import androidx.room.Entity import androidx.room.PrimaryKey import androidx.room.TypeConverters import com.squareup.moshi.Json import org.mhacks.app.core.data.Converters import org.mhacks.app.game.data.QuestionTypeConverter @TypeConverters(QuestionTypeConverter::class) data clas...
1
Kotlin
12
21
12309b463e51acc3f41c463df647f410e16a6261
788
mhacks-android
MIT License
module/json/src/main/kotlin/io/github/siyual_park/json/patch/JsonPatchFactory.kt
siyul-park
403,557,925
false
{"Kotlin": 711198, "TypeScript": 44640, "JavaScript": 1125, "Dockerfile": 292, "Shell": 195}
package io.github.siyual_park.json.patch import com.fasterxml.jackson.core.JsonParser import com.fasterxml.jackson.databind.JsonNode import com.fasterxml.jackson.databind.ObjectMapper import org.springframework.stereotype.Component @Component class JsonPatchFactory( private val objectMapper: ObjectMapper ) { ...
11
Kotlin
0
18
08c02ea8bf0c6c57157182f714624c4163ba49e2
700
spring-webflux-multi-module-boilerplate
MIT License
internetchecker/src/main/java/io/github/vnicius/internetchecker/PingHelper.kt
Vnicius
262,470,139
false
null
package io.github.vnicius.internetchecker import android.content.Context import com.android.volley.Request import com.android.volley.RequestQueue import com.android.volley.Response import com.android.volley.toolbox.StringRequest import com.android.volley.toolbox.Volley import java.lang.ref.WeakReference /** * Creat...
0
Kotlin
0
1
ed7f17275bb22878f554a9bba349690e8f3e128b
1,031
internet-checker
MIT License
credentials/credentials-e2ee/src/androidTest/java/androidx/credentials/e2ee/IdentityKeyTest.kt
androidx
256,589,781
false
{"Kotlin": 112114129, "Java": 66594571, "C++": 9132142, "AIDL": 635065, "Python": 325169, "Shell": 194520, "TypeScript": 40647, "HTML": 35176, "Groovy": 27178, "ANTLR": 26700, "Svelte": 20397, "CMake": 15512, "C": 15043, "GLSL": 3842, "Swift": 3153, "JavaScript": 3019}
/* * Copyright 2023 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
29
Kotlin
945
5,321
98b929d303f34d569e9fd8a529f022d398d1024b
3,969
androidx
Apache License 2.0
src/main/kotlin/daniel/mybank/repository/ClientRepository.kt
DanFonseca
602,188,054
false
null
package daniel.mybank.repository import daniel.mybank.model.Client import org.springframework.data.repository.CrudRepository import org.springframework.stereotype.Repository @Repository interface ClientRepository : CrudRepository<Client, String> { fun findByCpf (cpf: String): Client? }
0
Kotlin
0
0
b327cd4e8d7735b269708580d02bf865904109b8
292
mybank
MIT License
src/main/day16/State.kt
ollehagner
572,141,655
false
null
package day16 import java.lang.IllegalArgumentException import java.lang.IllegalStateException data class State(val openers: List<ValveOpener>, val valves: List<Valve>) { fun potentialMax(timeLimit: Int, distances: Map<Pair<String, String>, Int>): Int { var remainingTime = (timeLimit * openers.size) - op...
0
Kotlin
0
0
b935fcfb465152f08307399eb85ee8a8a335f1a3
2,581
aoc2022
Apache License 2.0
src/test/kotlin/com/hoho/upbitapihelper/service/ApiManagerServiceTest.kt
hoho4190
518,368,050
false
{"Kotlin": 113377, "Java": 2565}
package com.hoho.upbitapihelper.service import com.hoho.upbitapihelper.util.EnumConverterFactory import com.hoho.upbitapihelper.util.FileUtil import com.hoho.upbitapihelper.util.TestUtil import com.jakewharton.retrofit2.converter.kotlinx.serialization.asConverterFactory import kotlinx.serialization.ExperimentalSeriali...
0
Kotlin
0
3
9f38818e8c82e7c64a4e11119187ce2b21cdb021
2,442
upbit-api-helper
Apache License 2.0
kapitel_11/KameraDemo3/app/src/main/java/com/thomaskuenneth/androidbuch/kamerademo3/KameraDemo3Activity.kt
tkuenneth
239,271,728
false
{"Text": 1, "Ignore List": 178, "Markdown": 2, "Gradle": 261, "Java Properties": 174, "Shell": 87, "Batchfile": 87, "Proguard": 87, "Kotlin": 304, "XML": 1519, "Maven POM": 1, "Java": 2, "INI": 1, "HTML": 2, "SVG": 1}
package com.thomaskuenneth.androidbuch.kamerademo3 import android.Manifest import android.content.Intent import android.content.pm.PackageManager import android.graphics.ImageFormat import android.hardware.camera2.* import android.hardware.camera2.params.OutputConfiguration import android.hardware.camera2.params.Sessi...
0
Kotlin
0
1
977f93b8ff9bdd50d45a1a51d009b1eba75b7eb0
9,459
begleitmaterialien-zu-android-11
Apache License 2.0
app/src/main/java/io/github/wulkanowy/data/repositories/MessageRepository.kt
wulkanowy
87,721,285
false
null
package io.github.wulkanowy.data.repositories import android.content.Context import com.squareup.moshi.Moshi import dagger.hilt.android.qualifiers.ApplicationContext import io.github.wulkanowy.R import io.github.wulkanowy.data.Resource import io.github.wulkanowy.data.db.SharedPrefProvider import io.github.wulkanowy.da...
76
Kotlin
25
148
6007de017f01a676662534737afe5c684eb7711e
6,774
wulkanowy
Apache License 2.0
src/test/kotlin/uk/gov/justice/digital/hmpps/hmppsppudautomationapi/controller/ReferenceControllerTest.kt
ministryofjustice
709,230,604
false
{"Kotlin": 99495, "Dockerfile": 1375, "Shell": 77}
package uk.gov.justice.digital.hmpps.hmppsppudautomationapi.controller import kotlinx.coroutines.runBlocking import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.ExtendWith import org.mockito.BDDMockito.giv...
1
Kotlin
0
1
67f863a4c0716366c1756e90cdccd46b2b7e3eec
1,389
hmpps-ppud-automation-api
MIT License
app/src/main/java/com/stocksexchange/android/data/stores/wallets/WalletsServerDataStore.kt
nscoincommunity
277,168,471
true
{"Kotlin": 2814235}
package com.stocksexchange.android.data.stores.wallets import com.stocksexchange.api.StexRestApi import com.stocksexchange.api.model.rest.TransactionAddressData import com.stocksexchange.api.model.rest.Wallet import com.stocksexchange.api.model.rest.parameters.WalletParameters import com.stocksexchange.core.model.Resu...
0
null
0
0
52766afab4f96506a2d9ed34bf3564b6de7af8c3
1,742
Android-app
MIT License
app/src/main/java/com/stocksexchange/android/data/stores/wallets/WalletsServerDataStore.kt
nscoincommunity
277,168,471
true
{"Kotlin": 2814235}
package com.stocksexchange.android.data.stores.wallets import com.stocksexchange.api.StexRestApi import com.stocksexchange.api.model.rest.TransactionAddressData import com.stocksexchange.api.model.rest.Wallet import com.stocksexchange.api.model.rest.parameters.WalletParameters import com.stocksexchange.core.model.Resu...
0
null
0
0
52766afab4f96506a2d9ed34bf3564b6de7af8c3
1,742
Android-app
MIT License
app/app/src/main/java/com/proct/activities/inreal/utils/diffutils/order/DiffUtilsOrder.kt
inRealAR
361,197,397
false
null
package com.proct.activities.inreal.utils.diffutils.order import androidx.recyclerview.widget.DiffUtil import com.proct.activities.inreal.data.model.OrderItem class DiffUtilsOrder(private val oldList: List<OrderItem>, private val newList: List<OrderItem>) : DiffUtil.Callback() { override fun getOldListSize():...
0
Kotlin
1
1
4f50e60dce104747c133954f38e1471ff25713b6
737
inReal
MIT License
demo/demo/src/jsMain/kotlin/zakadabar/demo/frontend/pages/ship/Table.kt
kondorj
355,137,640
true
{"Kotlin": 577495, "HTML": 828, "JavaScript": 820, "Shell": 253}
/* * Copyright © 2020, <NAME> and contributors. Use of this source code is governed by the Apache 2.0 license. */ package zakadabar.demo.frontend.pages.ship import zakadabar.demo.data.PortDto import zakadabar.demo.data.SeaDto import zakadabar.demo.data.ship.ShipDto import zakadabar.demo.data.speed.SpeedDto import za...
0
null
0
0
2379c0fb031f04a230e753a9afad6bd260f6a0b2
1,642
zakadabar-stack
Apache License 2.0