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
fontawesome/src/de/msrd0/fontawesome/icons/FA_HOSPITAL_SYMBOL.kt
msrd0
363,665,023
false
null
/* @generated * * This file is part of the FontAwesome Kotlin library. * https://github.com/msrd0/fontawesome-kt * * This library is not affiliated with FontAwesome. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may...
0
Kotlin
0
0
e757d073562077a753280bf412eebfc4a9121b33
1,474
fontawesome-kt
Apache License 2.0
inference/src/main/kotlin/io/kinference/model/Model.kt
cybernetics
324,970,047
true
{"Kotlin": 461291, "PureBasic": 24490}
package io.kinference.model import io.kinference.data.ONNXData import io.kinference.graph.Graph import io.kinference.onnx.ModelProto import java.io.File class Model(proto: ModelProto) { val graph = Graph(proto.graph!!) fun predict(input: Collection<ONNXData>): List<ONNXData> { return graph.execute(in...
0
null
0
0
8aa3295f112353949562750b83991b7ea8b83cf2
597
kinference
Apache License 2.0
src/main/kotlin/no/nav/omsorgspengerutbetaling/soknad/Søknad.kt
navikt
244,882,413
false
null
package no.nav.omsorgspengerutbetaling.soknad import com.fasterxml.jackson.annotation.JsonValue import io.ktor.http.* import no.nav.helse.dusseldorf.ktor.client.buildURL import no.nav.k9.søknad.Søknad import no.nav.k9.søknad.felles.type.SøknadId import no.nav.omsorgspengerutbetaling.soker.Søker import java.net.URI imp...
0
Kotlin
0
0
f71311e352c88eadf225ea499d5b588ed33cb883
2,094
omsorgspengerutbetaling-api
MIT License
app/src/main/java/me/ykrank/s1next/viewmodel/PmViewModel.kt
UFR6cRY9xufLKtx2idrc
853,383,380
false
{"Kotlin": 1174002, "Java": 356564, "HTML": 20430}
package me.ykrank.s1next.viewmodel import android.view.View import androidx.databinding.ObservableField import androidx.fragment.app.FragmentActivity import androidx.lifecycle.LifecycleOwner import me.ykrank.s1next.data.api.model.Pm import me.ykrank.s1next.view.activity.UserHomeActivity class PmViewModel(val lifecyc...
0
Kotlin
0
0
7cfc58523207dc5ed5df4525c2e3de087cf9e8b9
615
test24
Apache License 2.0
filesystem/src/commonTest/kotlin/testutil/BaseFileSystemIntegrationTest.kt
illarionov
848,247,126
false
{"Kotlin": 1306808, "ANTLR": 6038, "TypeScript": 3148, "CSS": 1042, "FreeMarker": 450, "JavaScript": 89}
/* * Copyright 2024, the wasi-emscripten-host project authors and contributors. Please see the AUTHORS file * for details. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. * SPDX-License-Identifier: Apache-2.0 */ package at.released.weh.filesystem.testutil impor...
0
Kotlin
0
4
8cb136a17cbece15d9e2b0cc9286f35613a149a4
930
wasi-emscripten-host
Apache License 2.0
app/src/main/java/org/lotka/bp/presentation/ui/dashboard/HomeFeatures.kt
mobinjafari
645,700,541
false
null
/* * Copyright 2020 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...
15
Kotlin
4637
8
51ba36ea6e4435f28c9c260fa998f558135115a6
5,097
Best-Practice-Kotlin
Apache License 2.0
features/series/src/main/java/com/chesire/nekome/app/series/collection/ui/DomainMapper.kt
Chesire
223,272,337
false
{"Kotlin": 740322, "Ruby": 1682}
package com.chesire.nekome.app.series.collection.ui import com.chesire.nekome.core.models.ImageModel import com.chesire.nekome.core.preferences.SeriesPreferences import com.chesire.nekome.core.preferences.flags.ImageQuality import com.chesire.nekome.core.preferences.flags.TitleLanguage import com.chesire.nekome.dataso...
24
Kotlin
42
471
191def4011f659972951d3766bfb4e5af4076ab1
2,379
Nekome
Apache License 2.0
rule-framework/src/test/kotlin/io/github/ayushmaanbhav/ruleEngine/DependencyGraphTest.kt
ayushmaanbhav
633,602,472
false
{"Kotlin": 739672, "Shell": 1175, "Dockerfile": 1119}
package io.github.ayushmaanbhav.ruleEngine import io.github.ayushmaanbhav.ruleEngine.algorithm.AcyclicDirectedGraph import io.github.ayushmaanbhav.ruleEngine.algorithm.model.Node import io.github.ayushmaanbhav.ruleEngine.algorithm.model.SortOrder import io.github.ayushmaanbhav.ruleEngine.model.Query import io.github.a...
0
Kotlin
0
0
ee3f2aa48e9bf764d693436a44bf99ac92408bf3
1,904
product-farm
Apache License 2.0
jstressy-platform/jstressy-impl/jstressy-utils/src/main/kotlin/com/github/timofeevda/jstressy/utils/SchedulerUtils.kt
timofeevda
126,821,248
false
{"Kotlin": 295149, "Dockerfile": 1313, "Shell": 214}
package com.github.timofeevda.jstressy.utils import io.reactivex.Observable import java.util.concurrent.TimeUnit import kotlin.math.ln object SchedulerUtils { /** * Get observable holding the next Poisson arrival event with min random 0.0001 for not getting zero value for * natural logarithm * ...
0
Kotlin
1
2
6643b22a18b05ea286ba23aef52abc71cf717157
1,618
jstressy
MIT License
app/src/androidTest/java/org/simple/clinic/overdue/communication/CommunicationSyncAndroidTest.kt
pratul
151,071,054
false
null
package org.simple.clinic.overdue.communication import android.support.test.runner.AndroidJUnit4 import com.f2prateek.rx.preferences2.Preference import io.reactivex.Single import org.junit.Before import org.junit.runner.RunWith import org.simple.clinic.TestClinicApp import org.simple.clinic.TestData import org.simple....
0
Kotlin
0
1
fa311d989cac0a167070f2e1e466191919b659b8
1,658
citest
MIT License
library_network/src/main/java/com/knight/kotlin/library_network/log/extension/Collection+Extension.kt
KnightAndroid
438,567,015
false
{"Kotlin": 1697915, "Java": 209228, "HTML": 46741}
package com.knight.kotlin.library_network.log.extension import com.knight.kotlin.library_network.log.L import org.json.JSONArray import org.json.JSONException import org.json.JSONObject /** * Author:Knight * Time:2021/12/22 10:55 * Description:Collection+Extension */ /** * 解析 collection ,并存储到 JSONArray */ fun C...
0
Kotlin
1
6
3e4bc2df92b90f6502a76779ed3465c5f0968fe3
778
wanandroidByKotlin
Apache License 2.0
app/src/main/java/vn/loitp/up/a/pattern/mvvm/MVVMActivity.kt
tplloi
126,578,283
false
null
package vn.loitp.a.pattern.mvvm import android.os.Bundle import androidx.databinding.DataBindingUtil import androidx.databinding.ViewDataBinding import com.loitp.annotation.IsFullScreen import com.loitp.annotation.LogTag import com.loitp.core.base.BaseActivityFont import vn.loitp.BR import vn.loitp.R import vn.loitp.a...
1
null
1
9
1bf1d6c0099ae80c5f223065a2bf606a7542c2b9
1,339
base
Apache License 2.0
app/src/main/java/com/primasantosa/android/octomateprototype/data/service/OctoService.kt
comprimasantosa
368,797,639
false
null
package com.primasantosa.android.octomateprototype.data.service import com.primasantosa.android.octomateprototype.data.model.LoginResponse import kotlinx.coroutines.Deferred import retrofit2.http.Body import retrofit2.http.POST interface OctoService { @POST("login/email") fun postLogin( @Body body: Ma...
0
Kotlin
0
0
2259039ff7d511def7b01cb730d61bb3739b586c
376
android-kotlin-octomateprototype
MIT License
src/nativeGen/kotlin/godot/Animation.kt
piiertho
237,614,467
true
{"Kotlin": 5300589}
// DO NOT EDIT, THIS FILE IS GENERATED FROM api.json package godot import gdnative.godot_method_bind import godot.core.Godot import godot.core.NodePath import godot.core.PoolIntArray import godot.core.Quat import godot.core.Variant import godot.core.VariantArray import godot.core.Vector2 import godot.core.Vector3 impo...
0
null
0
1
3a8c598040f9b47b2b8cf8f5432543f61d6f83e8
41,772
godot-kotlin
MIT License
app/src/main/java/org/dclm/live/ui/util/TestimonyRecieved.kt
Ochornma
275,347,425
false
null
package org.dclm.live.ui.util import org.dclm.live.ui.experience.testimony.Testimony interface TestimonyRecieved { fun testimontRecieved(testimony: MutableList<Testimony>) fun error() }
0
Kotlin
1
1
2715e65c7c96587f0365c870b5fa6c8120d00f82
195
DCLM-Project
MIT License
font-awesome/src/commonMain/kotlin/compose/icons/fontawesomeicons/solid/Trophy.kt
DevSrSouza
311,134,756
false
{"Kotlin": 36719092}
package compose.icons.fontawesomeicons.solid import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Butt import androidx.compose.ui.graphics.StrokeJoin.Miter import androidx.compose....
17
Kotlin
25
571
a660e5f3033e3222e3553f5a6e888b7054aed8cd
3,663
compose-icons
MIT License
MAD/Finale/app/src/main/java/com/mad/finale/ProductCard.kt
thetrotfreak
846,484,166
false
{"Kotlin": 311158}
package com.mad.finale import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.fillMaxWidth import...
0
Kotlin
0
0
b0bc85cc110e8adf546505a2f95206a55547fb83
5,089
Android
MIT License
caroline-sdk/caroline-sdk-logging/src/commonMain/kotlin/LogRecord.kt
DrewCarlson
330,808,458
false
null
package cloud.caroline.logging import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable /** * Data model representing a single log line. */ @Serializable public data class LogRecord( @SerialName("_id") val id: String, /** The [CarolineLogLevel] of this record. */ val level: ...
6
Kotlin
0
3
0f52ce7b1c12f473f618ed0ecd915ff8f0ef0131
574
Caroline
MIT License
app/src/main/java/com/coinninja/coinkeeper/di/interfaces/ActivityContext.kt
coinninjadev
175,276,289
false
null
package com.coinninja.coinkeeper.di.interfaces import javax.inject.Qualifier @Qualifier annotation class ActivityContext
2
null
0
6
d67d7c0b9cad27db94470231073c5d6cdda83cd0
123
dropbit-android
MIT License
app/src/main/java/ru/merkulyevsasha/news/presentation/routers/MainActivityRouterImpl.kt
sashamerkulev
72,358,115
false
{"Kotlin": 217374, "Java": 14480, "HTML": 13412}
package ru.merkulyevsasha.news.presentation.routers import androidx.fragment.app.Fragment import androidx.fragment.app.FragmentManager import ru.merkulyevsasha.articlecomments.presentation.ArticleCommentsFragment import ru.merkulyevsasha.articledetails.presentation.ArticleDetailsFragment import ru.merkulyevsasha.artic...
0
Kotlin
0
0
9a7b9fefa00e105b751ba64bf88b8cd5a50362ba
3,928
News
Apache License 2.0
app/src/main/java/org/longevityintime/animefacts/viewmodel/AnimeFactVieModel.kt
nynganini
575,233,214
false
{"Kotlin": 40232}
package org.longevityintime.animefacts.viewmodel import androidx.lifecycle.ViewModel import androidx.lifecycle.ViewModelProvider import androidx.lifecycle.viewModelScope import androidx.lifecycle.viewmodel.CreationExtras import androidx.lifecycle.viewmodel.initializer import androidx.lifecycle.viewmodel.viewModelFacto...
0
Kotlin
0
1
ab830cbba80d88826143d252893f3e3bc618c38f
2,265
anime-facts-android
MIT License
app/src/main/java/com/peteralexbizjak/chatapp_android/adapters/MessageRecyclerAdapter.kt
engmms
230,792,073
false
{"Kotlin": 46924, "Java": 4797}
package com.peteralexbizjak.chatapp_android.adapters import android.content.Context import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.ImageView import android.widget.TextView import androidx.recyclerview.widget.RecyclerView import com.peteralexbizjak.chatap...
0
null
0
0
6c784c85ce97cccd28889aec81b1fc2b367a6eeb
1,675
ChatApp-Android
MIT License
library/src/main/java/com/andreacioccarelli/billingprotector/utils/RootUtils.kt
cioccarellia
141,766,102
false
null
package com.andreacioccarelli.billingprotector.utils import java.io.BufferedReader import java.io.IOException import java.io.InputStreamReader import java.lang.RuntimeException /** * Created by andrea on 2018/Jul. * Part of the package com.andreacioccarelli.billingprotector.utils */ internal object RootUtils { ...
1
null
6
35
478e93464fac69f3b1fef72f6e53d6c41f24d146
1,892
billing-protector
Apache License 2.0
rpsls_grdl/app/src/test/kotlin/nl/bentels/rpsls/GameTest.kt
BenTels
410,522,256
false
{"Text": 1, "Ignore List": 1, "Git Attributes": 1, "Markdown": 1, "TOML": 2, "Rust": 3, "Gradle": 2, "Shell": 1, "Batchfile": 1, "INI": 1, "Kotlin": 14, "Maven POM": 2, "Java": 8}
package nl.bentels.rpsls; import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.BeforeAll import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test import org.junit.jupiter.api.TestInstance import java.io.* @TestInstance(TestInstance.Lifecycle.PER_CLASS) class GameTest { ...
1
null
1
1
dbb3fd97897ba44d445087b08cf39ebdc3952826
1,003
Rock-Paper-Scissors-Lizard-Spock
Apache License 2.0
app/src/main/java/net/oldbigbuddha/vocaloidranking/datas/VideoInfo.kt
OldBigBuddha
160,562,747
false
null
package net.oldbigbuddha.vocaloidranking.datas import kotlinx.serialization.Serializable @Serializable data class VideoInfo( val contentId: String, val title: String, val viewCounter: Int, val thumbnailUrl: String, val lengthSeconds: Int, val startTime: String )
0
Kotlin
0
3
8368cdbf4c43a3c2c194f1ad9788272b33c89eac
288
vocaloid-ranking
Apache License 2.0
src/year2022/day15/Day15.kt
lukaslebo
573,423,392
false
{"Kotlin": 222221}
package year2022.day15 import check import readInput import kotlin.math.abs import kotlin.math.max import kotlin.math.min fun main() { // test if implementation meets criteria from the description, like: val testInput = readInput("2022", "Day15_test") check(part1(testInput, 10), 26) check(part2(testIn...
0
Kotlin
0
1
1e5628606fc8c15be5fffefcb6abec2e2437852e
3,805
AdventOfCode
Apache License 2.0
modules/common/src/main/java/com/sygic/maps/module/common/utils/BackingMapDataModel.kt
Sygic
156,541,755
false
{"Gradle": 13, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 10, "Batchfile": 1, "Markdown": 2, "YAML": 2, "Proguard": 8, "XML": 430, "Kotlin": 295, "Java": 53}
/* * Copyright (c) 2019 <NAME>. All rights reserved. * * This project is licensed under the MIT License. * * 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, includin...
4
Kotlin
3
22
ca385eca585f67014926c4aa539c0088e11ceed2
3,670
sygic-maps-kit-android
MIT License
extension/core/src/test/kotlin/io/holunda/camunda/bpm/data/NullableMapTest.kt
holunda-io
213,882,987
false
{"Kotlin": 365279, "Java": 142785}
package io.holunda.camunda.bpm.data import io.holunda.camunda.bpm.data.CamundaBpmDataKotlin.mapVariable import io.holunda.camunda.bpm.data.CamundaBpmDataKotlin.mapVariableNotNullable import io.holunda.camunda.bpm.data.NullableMapTest.TestVariables.NO_NULL_MAP import io.holunda.camunda.bpm.data.NullableMapTest.TestVari...
17
Kotlin
6
31
e5643c10e4ec2ff8d5c0ebb8864ed2d45daf4f83
1,770
camunda-bpm-data
Apache License 2.0
src/test/kotlin/structures/MaxHeapTest.kt
DmitryTsyvtsyn
418,166,620
false
{"Kotlin": 228861}
package structures import org.junit.Test import org.junit.Assert.assertEquals internal class MaxHeapTest { @Test fun `test operations`() { val heap = MaxHeap(10) assertEquals(true, heap.isEmpty) heap.add(10) heap.add(17) heap.add(20) assertEquals(false, hea...
0
Kotlin
135
788
1f89f062a056e24cc289ffdd0c6e23cadf8df887
1,375
Kotlin-Algorithms-and-Design-Patterns
MIT License
src/test/kotlin/com/github/open_edgn/data/format/StringFormatUtilsTest.kt
OpenEdgn
276,307,696
false
{"Gradle Kotlin DSL": 2, "Shell": 1, "Markdown": 2, "Text": 1, "Ignore List": 1, "Batchfile": 1, "YAML": 1, "Java Properties": 1, "Kotlin": 27, "Java": 1}
package com.github.open_edgn.data.format import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Test import java.util.* internal class StringFormatUtilsTest { class DateObjectFormat : IObjectFormat<Date> { override val register: Array<Class<out Date>> = arrayOf(D...
0
Kotlin
0
0
503bb191be93bed9de5cdcf7fc08cdf478bcd665
2,171
DataFormat4K
MIT License
library/src/main/kotlin/de/eternalwings/focus/storage/data/FileChangesetDescription.kt
kumpelblase2
259,880,502
false
null
package de.eternalwings.focus.storage.data import java.nio.file.Path import java.time.LocalDateTime data class FileChangesetDescription( val path: Path, override val timestamp: LocalDateTime, override val id: String, override val previousId: String ) : ChangesetDescription { companion object { ...
1
Kotlin
0
5
80ed810a66a954739219ac73af3d1e626f55c58c
602
focus
Apache License 2.0
src/main/java/ru/hollowhorizon/hollowengine/cutscenes/replay/ReplayFrame.kt
HollowHorizon
586,593,959
false
{"Kotlin": 945627, "Java": 23246, "GLSL": 2628}
/* * MIT License * * Copyright (c) 2024 HollowHorizon * * 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, copy, mo...
0
Kotlin
6
27
a81eb9337c22e97c950528d2e5b638ff81ce2d2e
5,807
HollowEngine
MIT License
src/main/kotlin/com/cengels/skywriter/writer/WriterViewModel.kt
cengels
238,893,324
false
null
package com.cengels.skywriter.writer import com.cengels.skywriter.persistence.MarkdownParser import com.cengels.skywriter.progress.ProgressTracker import com.cengels.skywriter.util.EditableStyleClassedDocument import com.cengels.skywriter.util.ReadOnlyStyleClassedDocument import com.cengels.skywriter.util.StyleClassed...
18
Kotlin
2
2
37a542518c5c867ca6c1e6cf85bce9986e7a2e2f
3,581
skywriter-javafx
Apache License 2.0
task2/src/main/java/com/hellofresh/task2/presentation/RecipeActivity.kt
ramav2389
419,224,611
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "XML": 11, "Kotlin": 18, "Java": 1}
package com.hellofresh.task2.presentation import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.util.Log import android.view.View import android.widget.Toast import androidx.activity.viewModels import com.hellofresh.task2.R import com.hellofresh.task2.databinding.ActivityMainBinding i...
0
Kotlin
0
0
3ddb46a55862e6f61b0a7009ab549afb8e03de11
1,806
MVVMWithHilt
MIT License
presentation/src/main/java/pl/app/inteo/presentation/extension/ActivityExtensions.kt
hobandi
404,836,456
false
{"Kotlin": 151853, "Assembly": 2}
package pl.app.inteo.presentation.extension import android.app.Activity import android.content.ActivityNotFoundException import android.content.Context import android.content.Intent import android.net.Uri import android.widget.Toast internal fun Context.showToast(message: String) { Toast.makeText(this, message, T...
0
Kotlin
0
0
df6a6a816c9b1d582daa89ef35d298fe1a755594
1,025
TrendingGithubCleanMvvm
Apache License 2.0
shared/src/commonMain/kotlin/com/aglushkov/wordteacher/shared/model/CardSet.kt
soniccat
302,971,014
false
null
package com.aglushkov.wordteacher.shared.model data class CardSet ( val id: Long, val name: String, val date: Long, val cards: List<Card> = emptyList() ) { fun findCard(id: Long) = cards.firstOrNull { it.id == id } }
0
Kotlin
1
1
63a95ff18d237b9ce041e1a0b473fcbf54f7ace9
245
WordTeacher
MIT License
app/src/main/java/com/azim/unittesting/NegativeNumberValidator.kt
azim00
384,143,167
false
null
package com.azim.unittesting class NegativeNumberValidator { fun isNegative(number: Int): Boolean { return number < 0 } }
0
Kotlin
0
0
7a4a073c7d68037be592cd3a62aae5505aa46036
138
unit-testing-tuorial
MIT License
src/main/kotlin/platform/mcp/aw/AwLexerAdapter.kt
minecraft-dev
42,327,118
false
null
/* * Minecraft Dev for IntelliJ * * https://minecraftdev.org * * Copyright (c) 2022 minecraft-dev * * MIT License */ package com.demonwav.mcdev.platform.mcp.aw import com.demonwav.mcdev.platform.mcp.aw.gen.AwLexer import com.intellij.lexer.FlexAdapter class AwLexerAdapter : FlexAdapter(AwLexer())
204
null
152
1,154
36cc3d47f7f39c847c0ebdcbf84980bc7262dab7
309
MinecraftDev
MIT License
src/main/kotlin/com/chimber/debtislav/security/service/UserDetailsServiceImpl.kt
chimbersaw
441,295,823
false
{"Kotlin": 46382}
package com.chimber.debtislav.security.service import com.chimber.debtislav.model.User import com.chimber.debtislav.repository.UserRepository import org.springframework.security.core.userdetails.UserDetails import org.springframework.security.core.userdetails.UserDetailsService import org.springframework.stereotype.Se...
0
Kotlin
0
0
be2459710d4fb05a659be8d0a33388f48a4d97fd
825
debtislav
Apache License 2.0
wear-designer/testSrc/com/android/tools/idea/wear/preview/animation/AnimationUtilsKtTest.kt
JetBrains
60,701,247
false
{"Kotlin": 53054415, "Java": 43443054, "Starlark": 1332164, "HTML": 1218044, "C++": 507658, "Python": 191041, "C": 71660, "Lex": 70302, "NSIS": 58238, "AIDL": 35382, "Shell": 29838, "CMake": 27103, "JavaScript": 18437, "Smali": 7580, "Batchfile": 7357, "RenderScript": 4411, "Clean": 3522, "Makefile": 2495, "IDL": 19}
/* * Copyright (C) 2024 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...
5
Kotlin
227
948
10110983c7e784122d94c7467e9d243aba943bf4
5,078
android
Apache License 2.0
src/main/kotlin/com/ornoyman/kovfefe/KovfefeAutoValue.kt
fullkomnun
132,959,512
false
null
package com.ornoyman.kovfefe import java.lang.Class.forName import java.lang.reflect.Modifier import kotlin.reflect.KClass import kotlin.reflect.jvm.isAccessible internal fun <T : Any> KClass<T>.generateTopLevelAutoValue(): T { val c = forName("${java.`package`.name}.AutoValue_${java.simpleName}").kotlin va...
0
Kotlin
0
2
9614a531926b07035371da27520f442194b72b6e
1,438
Kovfefe
Apache License 2.0
feature/generator/src/main/java/com/tydev/imagegenerator/feature/generator/GeneratorError.kt
taiyoungkim
644,446,711
false
null
/* * 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...
0
Kotlin
0
1
0dcfc27f66f96692af443671543dd6d32929fca7
1,436
ImageGenerator
Apache License 2.0
core/src/main/java/com/karzek/core/network/NetworkConfiguration.kt
MarjanaKarzek
839,724,284
false
{"Kotlin": 73277}
package com.karzek.core.network interface NetworkConfiguration { val baseUrl:String }
0
Kotlin
0
0
44215b3978539fea21491c95c0573f3861a913e5
88
android-venue-recommendations
Apache License 2.0
app/src/main/java/com/ignitetech/compose/data/call/Type.kt
gnumilanix
602,430,902
false
null
package com.ignitetech.compose.data.call enum class Type { INCOMING, OUTGOING, INCOMING_MISSED, OUTGOING_MISSED }
3
Kotlin
1
0
7a7fc31e7013e91ae78947af6bca1d97fb1140ed
119
explore-compose
Apache License 2.0
plugin-api/src/main/kotlin/com/santaev/gradle_metrics_plugin/api/dispatcher/BaseMetricDispatcher.kt
santaevpavel
240,732,704
false
null
package com.santaev.gradle_metrics_plugin.api.dispatcher import org.gradle.api.Project import com.santaev.gradle_metrics_plugin.api.Config abstract class BaseMetricDispatcher : IMetricsDispatcher { protected lateinit var project: Project protected lateinit var config: Config override fun init(config: Co...
0
Kotlin
0
1
64524b61e0b61988ea1168e56321cb73ac646b0d
415
gradle-metrics-plugin
Apache License 2.0
core/src/main/kotlin/com/piotrwalkusz/smartlaw/core/model/element/proposition/PropositionStateVariable.kt
piotrwalkusz1
293,285,610
false
null
package com.piotrwalkusz.smartlaw.core.model.element.proposition import com.piotrwalkusz.smartlaw.annotationprocessor.GenerateTemplate import com.piotrwalkusz.smartlaw.core.model.common.Id @GenerateTemplate data class PropositionStateVariable( val state: Id ) : PropositionTerm
0
Kotlin
0
0
235354ac0469d5ba9630b91124f6fcc4481dad34
287
SmartLaw
MIT License
maestro-cli/src/main/java/maestro/cli/util/WorkspaceUtils.kt
mobile-dev-inc
476,427,476
false
null
package maestro.cli.util import maestro.cli.CliError import java.io.FileNotFoundException import java.net.URI import java.nio.file.FileSystems import java.nio.file.Files import java.nio.file.Path import kotlin.io.path.absolutePathString import kotlin.io.path.copyTo import kotlin.io.path.exists import kotlin.io.path.is...
153
Kotlin
134
3,922
1bc866ea787cc533bd13af7d854b4822248586ff
2,376
maestro
Apache License 2.0
app/src/main/java/com/chintansoni/android/architecturecomponentsblueprint/base/BaseViewModel.kt
iChintanSoni
123,463,076
false
{"Kotlin": 46446}
package com.chintansoni.android.architecturecomponentsblueprint.base import android.arch.lifecycle.ViewModel /** * Created by chint on 2/17/2018. */ abstract class BaseViewModel : ViewModel()
0
Kotlin
1
4
8523b0b5a13c6bbf60f802fa8e760b29ce7f7253
195
ArchitectureComponentsBluePrint
Apache License 2.0
src/main/java/com/github/youopensource/yougitlab/services/listeners/MyProjectManagerListener.kt
You-OpenSource
563,011,693
true
{"Java Properties": 1, "Gradle": 2, "Shell": 1, "Markdown": 1, "Batchfile": 1, "Text": 1, "Ignore List": 1, "Java": 91, "XML": 10, "Kotlin": 24, "SVG": 3, "INI": 1}
package com.github.youopensource.yougitlab.services.listeners import com.github.youopensource.yougitlab.services.MyProjectService import com.intellij.openapi.project.Project import com.intellij.openapi.project.ProjectManagerListener internal class MyProjectManagerListener : ProjectManagerListener { override fun...
0
Java
3
3
3574f1c2061fbfe63a7b053a1b53b500c595f4ee
420
YouGitLabProjects
Apache License 2.0
filesystem/src/commonMain/kotlin/op/readwrite/ReadWriteStrategy.kt
illarionov
848,247,126
false
{"Kotlin": 1306808, "ANTLR": 6038, "TypeScript": 3148, "CSS": 1042, "FreeMarker": 450, "JavaScript": 89}
/* * Copyright 2024, the wasi-emscripten-host project authors and contributors. Please see the AUTHORS file * for details. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. * SPDX-License-Identifier: Apache-2.0 */ package at.released.weh.filesystem.op.readwrite p...
0
Kotlin
0
4
8cb136a17cbece15d9e2b0cc9286f35613a149a4
408
wasi-emscripten-host
Apache License 2.0
app/src/main/java/com/example/healthiq/ui/Kidney.kt
Jeffkent01coder
470,687,962
false
null
package com.example.healthiq.ui import android.content.Intent import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import com.example.healthiq.databinding.ActivityKidneyBinding import com.example.healthiq.recipe.CovidRecipe import com.example.healthiq.recipe.KidneyRecipe class Kidney : AppCompatAc...
0
Kotlin
0
1
651998ea99bfc9e1f4124baa98d107d258dac6fd
755
Health_IQ
MIT License
app/src/main/java/com/komu/presentation/devices/DevicesViewModel.kt
shrimqy
827,172,253
false
{"Kotlin": 238692}
package com.komu.presentation.devices import android.app.Application import android.util.Log import androidx.lifecycle.AndroidViewModel import androidx.lifecycle.viewModelScope import dagger.hilt.android.lifecycle.HiltViewModel import komu.seki.data.database.Device import komu.seki.data.repository.AppRepository import...
1
Kotlin
0
45
b4601316ca792a7247ca08fa2a9af43761875a85
1,824
Sekia
Apache License 2.0
app/src/main/java/com/jymj/zhglxt/zjd/presenter/CbbsjsxPresenter.kt
wyh19950930
611,652,628
false
null
package com.jymj.zhglxt.zjd.presenter import android.view.View import com.chad.library.adapter.base.BaseQuickAdapter import com.chad.library.adapter.base.BaseViewHolder import com.google.gson.Gson import com.google.gson.reflect.TypeToken import com.jymj.zhglxt.api.ApiConstants import com.jymj.zhglxt.ldrkgl.base.BaseNe...
0
Kotlin
0
0
0ec2ac3a76719d323eed98edcf9df48cdc4050da
19,217
ZHGLXT_YBC
Apache License 2.0
generator/src/main/kotlin/ch/bailu/gtk/model/type/StructureType.kt
bailuk
404,475,468
false
null
package ch.bailu.gtk.model.type import ch.bailu.gtk.Configuration class StructureType(value: String) { enum class Types {PACKAGE, UNION, RECORD, CLASS, INTERFACE, BITFIELD, CALLBACK, ENUMERATION } val value = value.uppercase() val apiParentClassName: String get() = when { ...
0
Kotlin
3
59
cb688585b79c9e401b32f5b8bfabb2e3717f517e
1,314
java-gtk
MIT License
adapty/src/main/java/com/adapty/models/PaywallModel.kt
adaptyteam
238,537,754
false
null
package com.adapty.models class PaywallModel( val developerId: String, val name: String?, val abTestName: String?, val revision: Int, val isPromo: Boolean, val variationId: String, val products: List<ProductModel>, val customPayloadString: String?, val customPayload: Map<String, Any...
4
Kotlin
9
26
7a8bef605a3a68eb2f725fe8e79b312c28226615
2,083
AdaptySDK-Android
MIT License
module_square/src/main/java/com/czl/module_square/viewmodel/SystemDetailVm.kt
cdalwyn
336,133,347
false
null
package com.czl.module_square.viewmodel import androidx.databinding.ObservableField import com.czl.lib_base.base.BaseViewModel import com.czl.lib_base.data.DataRepository import com.czl.lib_base.base.MyApplication import com.czl.lib_base.binding.command.BindingAction import com.czl.lib_base.binding.command.BindingComm...
1
null
70
267
77298b416cc15f168499c0b29c8f9017e6c187ca
836
PlayAndroid
Apache License 2.0
app/src/main/java/com/sky/xposed/weishi/util/FindUtil.kt
sky-wei
130,973,364
false
{"Kotlin": 113909}
/* * Copyright (c) 2018 The sky 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 applicable law or a...
1
Kotlin
11
38
6577fcfde151466aae0653fb215760fffebbcab5
1,066
xposed-weishi
Apache License 2.0
src/main/java/com/mrpowergamerbr/loritta/commands/vanilla/fun/ShipCommand.kt
Velctroo
96,816,227
true
{"Kotlin": 311628, "Java": 287766}
package com.mrpowergamerbr.loritta.commands.vanilla.`fun` import com.mrpowergamerbr.loritta.Loritta import com.mrpowergamerbr.loritta.commands.CommandBase import com.mrpowergamerbr.loritta.commands.CommandCategory import com.mrpowergamerbr.loritta.commands.CommandContext import com.mrpowergamerbr.loritta.utils.ImageUt...
0
Kotlin
0
1
252a7d8ff940f9a842592fc8e7381a38d0b26549
6,880
Loritta
MIT License
core/src/main/java/com/infinitepower/newquiz/core/util/kotlin/NumberUtils.kt
joaomanaia
443,198,327
false
null
package com.infinitepower.newquiz.core.util.kotlin fun Int.toDoubleDigit(): String = String.format("%02d", this)
0
Kotlin
14
99
4741a80f1db8073c7d33499523117b446489bbf0
114
newquiz
Apache License 2.0
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsactivitiesmanagementapi/service/DataFixService.kt
ministryofjustice
533,838,017
false
{"Kotlin": 3888721, "Shell": 9529, "Dockerfile": 1514}
package uk.gov.justice.digital.hmpps.hmppsactivitiesmanagementapi.service import jakarta.transaction.Transactional import org.slf4j.Logger import org.slf4j.LoggerFactory import org.springframework.stereotype.Service import uk.gov.justice.digital.hmpps.hmppsactivitiesmanagementapi.entity.DataFix import uk.gov.justice.d...
3
Kotlin
0
1
8ab6128412d3772f85182cb62140b432de1f0a00
3,738
hmpps-activities-management-api
MIT License
buildSrc/src/main/kotlin/org/bookmc/tannery/tasks/version/download/side/Side.kt
BookMC
397,288,497
false
null
package org.bookmc.tannery.tasks.version.download.side enum class Side { CLIENT, SERVER; override fun toString(): String { return name.toLowerCase() } companion object { fun of(value: String) = values().find { it.toString().equals(value, true) } ?: error("Unknown side ...
0
Kotlin
0
3
88480d838b9b9804725beed0eafd10087d4fa433
411
leather
MIT License
core/src/main/java/kasem/sm/core/utils/ListUtils.kt
kasem-sm
456,508,892
false
{"Kotlin": 432676, "Procfile": 53, "Shell": 10}
/* * Copyright (C) 2021, <NAME> * All rights reserved. */ package kasem.sm.core.utils fun <T> List<T>?.getOrDefault(): List<T> = this ?: listOf()
25
Kotlin
49
570
02543400476bac4248914c5e943ef58bac5a318a
150
SlimeKT
Apache License 2.0
app/src/main/java/com/example/testtaskfoodapp/di/mappers/Mappers.kt
KotlinCodeVoyager
866,671,692
false
{"Kotlin": 37765}
package com.example.testtaskfoodapp.di.mappers import com.example.data.mappers.FoodListMapper import dagger.Module import dagger.Provides import dagger.hilt.InstallIn import dagger.hilt.android.components.ViewModelComponent @Module @InstallIn(ViewModelComponent::class) class Mappers { @Provides fun getFoodMa...
0
Kotlin
0
0
d35ff42fcb849551edf4ec4051c33f3ff783b563
348
TestTaskFoodApp
MIT License
cinescout/media/data/local/src/commonMain/kotlin/cinescout/media/data/local/MediaDataLocalModule.kt
fardavide
280,630,732
false
null
package cinescout.media.data.local import org.koin.core.annotation.ComponentScan import org.koin.core.annotation.Module @Module @ComponentScan class MediaDataLocalModule
10
Kotlin
2
6
4c1b7baa4270e2b786982b2fd435a7128be9a70e
172
CineScout
Apache License 2.0
app/src/main/java/tech/salroid/filmy/utility/Extensions.kt
salRoid
64,316,425
false
null
package tech.salroid.filmy.utility import android.app.Activity import android.graphics.Color import android.os.Build import android.view.View import android.view.WindowManager import androidx.core.content.ContextCompat import com.google.android.material.snackbar.Snackbar import tech.salroid.filmy.R import java.text.Si...
1
Kotlin
180
733
c6ac0c3b47964e552b8d44a0b586e1ce3b418a9a
2,110
Filmy
Apache License 2.0
src/main/kotlin/net/defracted/adminutils/mutes/MuteManagement.kt
httpolar
253,773,988
false
{"Kotlin": 32939}
package net.defracted.adminutils.mutes import java.util.* import kotlin.collections.HashMap class MuteManagement { val mutedPlayers = HashMap<UUID, MutedInfo>() fun addMute(target: UUID, moderator: String, reason: String, expiresAt: Long) { mutedPlayers[target] = MutedInfo(moderator, reason, expiresA...
0
Kotlin
1
3
4436719d5ac2cd3eb77aa23036922ddebbc685bb
406
AdminUtils-1.15
MIT License
defitrack-protocols/sushiswap/src/main/java/io/defitrack/protocol/reward/MinichefPoolInfo.kt
decentri-fi
426,174,152
false
null
package io.defitrack.protocol.reward import java.math.BigInteger class MinichefPoolInfo( val accSushiPerShare: BigInteger, val lastRewardTime: BigInteger, val allocPoint: BigInteger )
17
Kotlin
6
9
f7c65aa58bec3268101d90fc538c3f8bd0c29093
197
defi-hub
MIT License
Introduction/TheFirstDateWithProgramming/CompleteTheProject/test/Tests.kt
jetbrains-academy
504,249,857
false
null
import org.junit.jupiter.api.Assertions import org.junit.jupiter.api.Test import util.Util import util.Util.DEFAULT_USER_INPUT import util.runMainFunction class Test { @Test fun testSolution() { Assertions.assertEquals( "Hello! I will ask you several questions.${Util.newLineSeparator}" + ...
9
Kotlin
0
5
578dbbf8257bd5a3022c4e67bfebbaea4766f246
1,217
kotlin-onboarding-introduction
MIT License
src/main/java/io/objects/tl/mtproto/tl/MTNewMessageDetailedInfo.kt
shahrivari
198,410,924
false
{"Java": 3088240, "Kotlin": 105219}
package io.objects.tl.mtproto.tl import io.objects.tl.StreamUtils.* import io.objects.tl.TLContext import io.objects.tl.core.TLObject import java.io.IOException import java.io.InputStream import java.io.OutputStream class MTNewMessageDetailedInfo @JvmOverloads constructor(var answerMsgId: Long = 0, var bytes: Int = 0...
4
null
6
1
154f77c4cbe3ac8a64043ec6688f9e33077aa191
1,039
tlobjects
MIT License
application/src/main/kotlin/tw/waterballsa/gaas/application/usecases/CloseRoomUsecase.kt
Game-as-a-Service
623,554,204
false
null
package tw.waterballsa.gaas.application.usecases import tw.waterballsa.gaas.application.repositories.RoomRepository import tw.waterballsa.gaas.application.repositories.UserRepository import javax.inject.Named @Named class CloseRoomUsecase( roomRepository: RoomRepository, userRepository: UserRepository, ) : Ab...
12
Kotlin
7
30
c8fb4656f8c43515ee7fc71ac029ebe0d05ef759
731
Lobby-Platform-Service
Apache License 2.0
src/main/kotlin/com/immanuelqrw/core/api/test/unit/exception/BaseResponseEntityExceptionHandlerTest.kt
immanuelqrw
161,011,686
false
null
package com.immanuelqrw.core.api.test.unit.exception import com.immanuelqrw.core.entity.Entityable import com.immanuelqrw.core.test.Testable import org.junit.jupiter.api.AfterAll import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.BeforeAll import org.junit.jupiter.api.BeforeEach import org.junit.jupit...
0
Kotlin
0
0
08dc61e1503694bd620b8583e60068c020fdf44c
1,757
Nucleus-API
MIT License
common/src/jsMain/kotlin/de/kneke/common/JsModule.kt
Kneke
175,188,803
false
{"Kotlin": 89367, "Swift": 13981, "Dart": 10584, "JavaScript": 7751, "HTML": 3824, "Ruby": 3260, "Dockerfile": 511, "SCSS": 466, "Shell": 224, "Objective-C": 38}
package de.kneke.common import de.kneke.common.api.Api import de.kneke.common.api.http.HttpClient import de.kneke.common.api.quote.QuoteApi import de.kneke.common.data.quote.Quote import de.kneke.common.legal.LicenceProvider import de.kneke.common.repo.quote.QuoteRepo import de.kneke.common.repo.ResourceRepo import de...
22
Kotlin
0
2
35b0d4447ab42dedaed54509e73a1ae794199d3c
1,473
kotlin_multiplatform_quotes
Apache License 2.0
shared/src/commonMain/kotlin/Quiz/AppQuizz.kt
pieryx
713,902,709
false
{"Kotlin": 26692, "Swift": 580, "Shell": 228}
package Quiz import androidx.compose.foundation.background import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.height...
0
Kotlin
0
0
10bc50769b8c726f540217393e1d7a489e24f955
1,194
multy-compose-exo
Apache License 2.0
dynodict-core/src/main/kotlin/org/dynodict/storage/defaults/DefaultBucketsFileStorage.kt
dynodict
560,404,817
false
{"Kotlin": 136972, "Shell": 391}
package org.dynodict.storage.defaults import kotlinx.serialization.StringFormat import org.dynodict.model.bucket.Bucket import org.dynodict.storage.FileBucketsStorage import org.dynodict.storage.copyAndClose import java.io.File class DefaultBucketsFileStorage( folder: File, json: StringFormat, private val...
0
Kotlin
0
1
09428904d0ed2006ec9932bdf84cda2002fbf886
1,121
dynodict-android
Apache License 2.0
fluent-icons-core/src/commonMain/kotlin/com/konyaco/fluent/icons/regular/ArrowUpRight.kt
Konyaco
574,321,009
false
null
package com.konyaco.fluent.icons.regular import androidx.compose.ui.graphics.vector.ImageVector import com.konyaco.fluent.icons.Icons import com.konyaco.fluent.icons.fluentIcon import com.konyaco.fluent.icons.fluentPath public val Icons.Regular.ArrowUpRight: ImageVector get() { if (_arrowUpRight != null...
1
Kotlin
3
83
9e86d93bf1f9ca63a93a913c990e95f13d8ede5a
1,212
compose-fluent-ui
Apache License 2.0
AndroidGPT-android/app/src/main/java/ai/cloudcnctrai/cloudcnctrai/network/data/GameService.kt
arunabhdas
513,167,542
false
null
package ai.cloudcnctrai.cloudcnctrai.network.data import ai.cloudcnctrai.cloudcnctrai.network.data.model.GameModel import ai.cloudcnctrai.cloudcnctrai.network.network.data.GameApi import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.withContext import javax.inject.Inject class GameService @Inject construct...
0
Kotlin
0
0
b8a4bc43447c410b5aa98c76f4eb1f173d04a434
545
AndroidGPT
MIT License
KAndroid2/src/main/java/ru/korul/kandroid2/KDisplayMetrics.kt
KORuL
732,506,877
false
{"Kotlin": 77556}
@file:Suppress("NOTHING_TO_INLINE") package ru.korul.kandroid2 import android.content.Context import android.content.res.Resources import android.view.View import androidx.annotation.DimenRes import androidx.fragment.app.Fragment inline fun Context.dp(value: Int): Int = (value * resources.displayMetrics.density).toI...
0
Kotlin
0
0
854e9913dc830c538a4a6662e74d8df1264cbf7f
1,264
KAndroid2
Apache License 2.0
app/src/main/java/com/example/baseapplication/data/network/ApiConstants.kt
shtukar
190,455,253
false
null
package com.example.baseapplication.data.network object ApiConstants { private const val BASE_API_PATH = "api/v1/" const val SERVER_DATE_FORMAT = "yyyy-MM-dd'T'HH:mm:ssZ" }
0
Kotlin
0
0
f80001d34adcc70c9329621ad8b1e2759a25b6df
184
BaseApplication
Apache License 2.0
src/main/kotlin/br/com/zup/pix/excecoes/handler/DataIntegrityExceptionHandler.kt
mayzamilagrezup
408,981,092
true
{"Kotlin": 47947}
package br.com.zup.pix.excecoes.handler import br.com.zup.pix.excecoes.handler.ExceptionHandler.StatusWithDetails import io.grpc.Status import io.micronaut.context.MessageSource import io.micronaut.context.MessageSource.MessageContext import jakarta.inject.Inject import jakarta.inject.Singleton import org.hibernate.ex...
0
Kotlin
0
0
b104d4a47f41d8170b464582209a0717015df2d9
1,530
orange-talents-07-template-pix-keymanager-grpc
Apache License 2.0
src/main/kotlin/br/com/zup/pix/excecoes/handler/DataIntegrityExceptionHandler.kt
mayzamilagrezup
408,981,092
true
{"Kotlin": 47947}
package br.com.zup.pix.excecoes.handler import br.com.zup.pix.excecoes.handler.ExceptionHandler.StatusWithDetails import io.grpc.Status import io.micronaut.context.MessageSource import io.micronaut.context.MessageSource.MessageContext import jakarta.inject.Inject import jakarta.inject.Singleton import org.hibernate.ex...
0
Kotlin
0
0
b104d4a47f41d8170b464582209a0717015df2d9
1,530
orange-talents-07-template-pix-keymanager-grpc
Apache License 2.0
app/src/main/java/com/wuhao028/pokepedia/data/PokemonRepository.kt
wuhao028
198,976,277
false
null
package com.wuhao028.pokepedia.data class PokemonRepository private constructor(private val pokemondao: PokemonDao) { fun getPokemon(id: Int) = pokemondao.getPokemon(id) fun getPokemons(min: Int, max: Int) = pokemondao.getPokemonByRange(min, max) companion object { // For Singleton instantiatio...
0
Kotlin
0
0
8a935509afc9095a25e5b5292751563710fc8083
595
Pokepedia
MIT License
app/src/main/java/com/example/tdah/ui/QuizActivity.kt
WayDougwas
847,444,410
false
{"Kotlin": 45473}
package com.example.tdah.ui import android.os.Bundle import android.view.View import android.widget.Button import android.widget.ImageButton import android.widget.RadioGroup import android.widget.TextView import android.widget.Toast import androidx.activity.viewModels import androidx.appcompat.app.AppCompatActivity im...
1
Kotlin
0
0
9f6ea8d8c2940612117a0154f6bd738253744d57
4,729
TDAH
MIT License
app/src/main/java/com/tomg/fiiok9control/audio/business/AudioState.kt
Tommy-Geenexus
422,602,254
false
{"Java": 371833, "Kotlin": 305020}
/* * Copyright (c) 2021-2023, <NAME> (<EMAIL>) * * 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, copy, modify, merge,...
1
Java
0
0
cdb75ab15b5fa0d0bd2e1ce77a4bcb6ae0bb5e7c
1,953
fiio-k9-control
MIT License
sykepenger-model/src/test/kotlin/no/nav/helse/spleis/e2e/tilkommen_inntekt/TilkommenInntektFørsteRakettTest.kt
navikt
193,907,367
false
{"Kotlin": 6610000, "PLpgSQL": 2738, "Dockerfile": 168}
package no.nav.helse.spleis.e2e.tilkommen_inntekt import no.nav.helse.assertForventetFeil import no.nav.helse.dsl.AbstractDslTest import no.nav.helse.dto.VedtaksperiodetilstandDto import no.nav.helse.februar import no.nav.helse.hendelser.GradertPeriode import no.nav.helse.hendelser.Søknad.Søknadsperiode.Ferie import n...
2
Kotlin
7
3
d8b9192fbce73e0f27f60de4e68360a06480235b
5,127
helse-spleis
MIT License
browser-kotlin/src/jsMain/kotlin/web/dom/DOMStringList.kt
karakum-team
393,199,102
false
null
// Automatically generated - do not modify! package web.dom import js.core.ArrayLike import js.core.JsIterable /** * A type returned by some APIs which contains a list of DOMString (strings). * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMStringList) */ sealed external class DOMStringList : ...
0
null
8
36
95b065622a9445caf058ad2581f4c91f9e2b0d91
793
types-kotlin
Apache License 2.0
app/src/main/java/com/droid/newsapiclient/presentation/viewmodel/NewsViewModelFactory.kt
peter-wachira
401,620,074
false
null
package com.droid.newsapiclient.presentation.viewmodel import android.app.Application import androidx.lifecycle.ViewModel import androidx.lifecycle.ViewModelProvider import com.droid.newsapiclient.domain.usecase.GetNewsHeadlinesUseCase import com.droid.newsapiclient.domain.usecase.GetSearchNewsUseCase import com.droid...
1
Kotlin
0
4
5be82560acd890700af836f318e56be53735ac42
900
PixelNewsApp
The Unlicense
formula/src/main/java/com/instacart/formula/plugin/Dispatcher.kt
instacart
171,923,573
false
{"Kotlin": 565903, "Shell": 1203, "Ruby": 256}
package com.instacart.formula.plugin import com.instacart.formula.FormulaPlugins /** * Dispatches executables to a specific thread. */ interface Dispatcher { object None : Dispatcher { override fun dispatch(executable: () -> Unit) { executable() } override fun isDispatchNeed...
7
Kotlin
14
151
26d544ea41b7a5ab2fa1a3b9ac6b668e69fe4dff
1,574
formula
BSD 3-Clause Clear License
android/src/main/kotlin/io/sourcya/playx_3d_scene/core/shape/common/material/model/PlayxTexture.kt
playx-flutter
607,852,578
false
{"Kotlin": 260625, "Dart": 104273, "Java": 759, "Shell": 516}
package io.sourcya.playx_3d_scene.core.shape.common.material.model import com.google.android.filament.TextureSampler import com.google.android.filament.TextureSampler.MagFilter import com.google.android.filament.TextureSampler.MinFilter import com.google.android.filament.utils.TextureType data class PlayxTexture(val ...
1
Kotlin
0
1
7a780cc69f68f2150c8e260a74cf925fecc3764a
1,134
playx-3d-scene
MIT License
app/src/main/java/org/rfcx/incidents/util/spectrogram/MicrophoneTestUtils.kt
rfcx
244,311,338
false
{"Kotlin": 1176262, "Java": 1049}
package org.rfcx.incidents.util.spectrogram import android.media.AudioAttributes import android.media.AudioFormat import android.media.AudioManager import android.media.AudioTrack import android.os.Build import android.util.Base64 import com.google.firebase.crashlytics.FirebaseCrashlytics class MicrophoneTestUtils { ...
29
Kotlin
0
0
ddf46c0e6f19f6e0a5c22f8ddf8e323c0ca07ab8
2,696
guardian-app-android
Apache License 2.0
src/main/java/net/ccbluex/liquidbounce/utils/render/Animation.kt
Rmejia39
733,988,804
false
{"Kotlin": 2304965, "Java": 1271227, "GLSL": 13515, "JavaScript": 8926}
/* * FDPClient Hacked Client * A free open source mixin-based injection hacked client for Minecraft using Minecraft Forge by LiquidBounce. * https://github.com/SkidderMC/FDPClient/ */ package net.ccbluex.liquidbounce.utils.render class Animation( val type: EaseUtils.EnumEasingType, val order: EaseUtils.Enum...
3
Kotlin
0
0
b48c4e83c888568111a6665037db7fd3f7813ed3
1,454
FDPClient
MIT License
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppschallengesupportinterventionplanapi/entity/IdentifiedNeed.kt
ministryofjustice
797,799,207
false
{"Kotlin": 666637, "PLpgSQL": 56741, "Mermaid": 31355, "Shell": 1890, "Dockerfile": 1386}
package uk.gov.justice.digital.hmpps.hmppschallengesupportinterventionplanapi.entity import jakarta.persistence.Column import jakarta.persistence.Entity import jakarta.persistence.EntityListeners import jakarta.persistence.FetchType import jakarta.persistence.Id import jakarta.persistence.JoinColumn import jakarta.per...
3
Kotlin
0
0
f2da8bcb174b3d6d5442c2eb5e0d73cfa6b79ae8
2,403
hmpps-challenge-support-intervention-plan-api
MIT License
src/main/kotlin/eece513/client/FileIO.kt
kierse
177,887,071
false
null
package eece513.client import java.io.* import java.net.InetAddress class FileIO{ /* * Reads a file with IPs and returns an array of InetAddress * */ fun ReadLinesAsInetAddress(path:String): List<InetAddress> { val inputStream: InputStream = File(path).inputStream() return inputStream...
0
Kotlin
0
0
e1e3b01978993e580c7b28ee54c87f726275c9ec
1,148
distributed-grep
MIT License
kotlinbard/codegen/src/main/kotlin/io/github/enjoydambience/kotlinbard/codegen/generators/SpecGetters.kt
F43nd1r
362,306,109
true
{"Kotlin": 73382}
/* * Copyright (c) 2020 <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 i...
0
Kotlin
0
3
d55edd438beccbde599365139c2f45d8e77b5fac
2,053
kotlinbard
Apache License 2.0
libraries/apollo-testing-support/src/jvmCommonMain/kotlin/com/apollographql/apollo/testing/currentThreadId.jvmCommon.kt
apollographql
69,469,299
false
{"Kotlin": 3463807, "Java": 198208, "CSS": 34435, "HTML": 5844, "JavaScript": 1191}
package com.apollographql.apollo.testing import com.apollographql.apollo.annotations.ApolloDeprecatedSince import com.apollographql.apollo.annotations.ApolloInternal @ApolloInternal @ApolloDeprecatedSince(ApolloDeprecatedSince.Version.v4_0_0) @Deprecated("This function is not Apollo specific and will be removed in a ...
135
Kotlin
651
3,750
174cb227efe76672cf2beac1affc7054f6bb2892
470
apollo-kotlin
MIT License
bracer/src/main/java/zlc/season/bracer/Util.kt
ssseasonnn
232,527,137
false
null
package zlc.season.bracer import android.content.Intent import android.os.Bundle import android.os.Parcelable import java.io.Serializable import java.util.* import kotlin.reflect.KProperty import kotlin.reflect.KType import kotlin.reflect.full.createInstance import kotlin.reflect.full.isSubtypeOf import kotlin.reflect...
1
null
4
48
f2cc422a55f45b0f3065e073b694ec5bc99f68d7
18,544
Bracer
Apache License 2.0
wear/watchface/watchface-complications-data-source-samples/src/main/java/androidx/wear/watchface/complications/datasource/samples/WeightedElementDataSourceService.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 2022 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
29
Kotlin
1011
5,321
98b929d303f34d569e9fd8a529f022d398d1024b
2,856
androidx
Apache License 2.0
app/src/main/java/com/festcap/utils/PermissionChecker.kt
jdrotos
115,813,666
false
null
package com.festcap.utils import com.google.firebase.auth.FirebaseUser import com.festcap.data.Fest import com.festcap.data.Venue /** * Check common permissions */ object PermissionChecker { fun canAdminFest(user: FirebaseUser, fest: Fest) = fest.adminIds.containsKey(user.uid) fun canViewFest(u...
0
Kotlin
0
0
bb2b105205887151d8f10b110e2ebf81eba4fe0d
559
FestCap-Android
Apache License 2.0
app/src/main/java/com/google/engedu/blackhole/BlackHoleBoard.kt
shizhanx
297,924,619
false
null
/* Copyright 2016 Google 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 in ...
0
Kotlin
0
0
5ed14a487eff871fd27bd8df7e62f98eaea97639
6,557
Android_BlackHole
Apache License 2.0
module-main/src/main/java/com/wsdydeni/module_main/data/HomeRepository.kt
wsdydeni
294,493,450
false
null
package com.wsdydeni.module_main.data import com.wsdydeni.library_base.base.relateViewCommon import com.wsdydeni.library_base.network.NetworkApiService import com.wsdydeni.library_base.network.Repository import com.wsdydeni.module_main.api.HomeService import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.flo...
1
Kotlin
1
5
e908db6bcf7cefa43500cc334c07c0bcc655819a
1,153
WanAndroid
MIT License
src/main/com/intellij/lang/jsgraphql/schema/GraphQLRegistryInfo.kt
JetBrains
47,924,453
false
null
/* * Copyright (c) 2018-present, Jim Kynde Meyer * All rights reserved. * <p> * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package com.intellij.lang.jsgraphql.schema import com.intellij.lang.jsgraphql.types.GraphQLException import ...
138
null
97
880
7da48778c3125da12ea2aaa287b512967097c44e
787
js-graphql-intellij-plugin
MIT License