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/main/kotlin/me/vaguevocab/nerdmod/registry/NerdmodBlock.kt
100PercentANerd
725,242,355
false
{"Kotlin": 10352}
package me.vaguevocab.nerdmod.registry // For Blocks and BlockItems class NerdmodBlock { // // Declare block // val TEST_BLOCK: Block = registerBlock("test_block", QuiltBlockSettings()) // // private fun registerBlock(name: String, block: Block): Block { // registerBlockItem(name, block) // r...
0
Kotlin
0
0
8beae113b98bc8bc628b9d1bdaa295fcc37f176b
693
my-quilt-mod
Creative Commons Zero v1.0 Universal
pagcertosdk/src/main/java/br/com/paggcerto/pagcertosdk/model/payments/request/BankAccountRequest.kt
paggcerto-sa
146,500,002
false
null
package br.com.paggcerto.pagcertosdk.model.payments.request import java.io.Serializable import com.google.gson.annotations.Expose import com.google.gson.annotations.SerializedName class BankAccountRequest: Serializable { @SerializedName("holderName") @Expose var holderName: String? = null @Serializ...
0
Kotlin
1
1
9935511f2de0b54463e476d6db1ee7e8706f379e
802
paggcerto-sdk-android
MIT License
05-Test/src/main/kotlin/repositories/ColaProcesosPrioritariaImp.kt
joseluisgs
509,140,631
false
{"Kotlin": 193489, "Java": 3788}
package repositories import models.Proceso import java.util.* class ColaProcesosPrioritariaImp : ColaProcesosPrioritaria { val cola = mutableListOf<Proceso>() override val size: Int get() = cola.size override fun getAll(): List<Proceso> { return cola.sortedByDescending { it.prioridad } ...
0
Kotlin
3
20
47a6bbb5cbd088eb0b01184338ece4aa8cbffdec
817
Kotlin-Bootcamp-DAMnificados-2022
MIT License
core/src/commonMain/kotlin/org/kobjects/greenspun/core/control/While.kt
kobjects
340,712,554
false
{"Kotlin": 92759, "Ruby": 1673}
package org.kobjects.greenspun.core.control import org.kobjects.greenspun.core.tree.Node import org.kobjects.greenspun.core.func.LocalRuntimeContext import org.kobjects.greenspun.core.type.Type import org.kobjects.greenspun.core.type.Void import org.kobjects.greenspun.core.tree.CodeWriter import org.kobjects.greenspun...
0
Kotlin
0
0
1f55591687303d28af1acdc4d567f491281378c7
1,705
greenspun
Apache License 2.0
apps/bekreftelse-api/src/main/kotlin/no/nav/paw/bekreftelse/api/utils/Database.kt
navikt
794,874,233
false
{"Kotlin": 930882, "Dockerfile": 143}
package no.nav.paw.bekreftelse.api.utils import com.zaxxer.hikari.HikariConfig import com.zaxxer.hikari.HikariDataSource import no.nav.paw.bekreftelse.api.config.DatabaseConfig import javax.sql.DataSource fun createDataSource(config: DatabaseConfig): DataSource { return HikariDataSource( HikariConfig().ap...
3
Kotlin
0
1
986751058741c92b74ec73c7faead2ab1ee0510f
707
paw-arbeidssoekerregisteret-monorepo-intern
MIT License
booster-cha/src/main/kotlin/com/didiglobal/booster/cha/ArchivedClassSet.kt
didi
182,968,735
false
{"Kotlin": 413557, "Java": 145867, "JavaScript": 1885}
package com.didiglobal.booster.cha import com.didiglobal.booster.kotlinx.green import com.didiglobal.booster.kotlinx.yellow import io.johnsonlee.once.Once import java.io.File import java.io.FileInputStream import java.io.FileNotFoundException import java.net.URL import java.time.Duration import java.util.zip.ZipInputS...
41
Kotlin
577
4,831
3a72faebf8590537983ca74c0012b69636da3b5d
2,540
booster
Apache License 2.0
buildSrc/src/main/kotlin/compiler.kt
dimensional-fun
540,540,241
false
{"Kotlin": 49342}
object compiler { object jvm { const val target = "16" } object optins { val kotlin = listOf( "kotlin.RequiresOptIn", "kotlin.ExperimentalStdlibApi", "kotlin.ExperimentalUnsignedTypes", "kotlin.time.ExperimentalTime", "kotlin.contr...
1
Kotlin
0
1
35b6c39f7abfafaa43cbe82f440aeeaa3fe016be
840
kuikku
MIT License
app/src/main/java/com/smartwalkie/voicepingdemo/MainActivity.kt
SmartWalkieOrg
96,063,593
false
null
package com.smartwalkie.voicepingdemo import android.annotation.SuppressLint import androidx.appcompat.app.AppCompatActivity import com.smartwalkie.voicepingsdk.model.ChannelType import android.os.Bundle import com.smartwalkie.voicepingsdk.exception.VoicePingException import android.content.Intent import android.util....
5
null
9
26
215d16e1d7351592c5ce6109305e355f5df1f11a
11,762
VoicePing-Walkie-Talkie-AndroidSDK
MIT License
core/src/ru/deadsoftware/cavedroid/game/model/dto/ItemDto.kt
fredboy
196,049,035
false
{"Kotlin": 263467, "Java": 128621, "Shell": 2648}
package ru.deadsoftware.cavedroid.game.model.dto import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable @Serializable data class ItemDto( @SerialName("name") val name: String, @SerialName("type") val type: String = "normal", @SerialName("texture") val texture: String, @Seria...
0
Kotlin
1
6
1e285247085ba04351feb486a0be6aa577f43093
1,073
cavedroid
MIT License
app/src/main/java/com/tmdb/app/features/dashboard/adapter/MoviesListAdapter.kt
yokeshezumalai
374,164,150
false
null
package com.tmdb.app.features.dashboard.adapter import android.content.res.Configuration import android.text.TextUtils import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.Filter import android.widget.ImageView import android.widget.TextView import androidx.re...
0
Kotlin
0
0
423cd1378536e55602424f0d03d9dc9941258318
3,570
TMDB
The Unlicense
src/main/kotlin/imgui/imgui/widgets trees.kt
bbodi
126,034,210
false
null
package imgui.imgui import glm_.glm import glm_.vec2.Vec2 import imgui.Cond import imgui.Context.style import imgui.ImGui.closeButton import imgui.ImGui.currentWindow import imgui.ImGui.indent import imgui.ImGui.popId import imgui.ImGui.pushId import imgui.ImGui.treeNodeBehavior import imgui.ImGui.unindent import imgu...
1
null
1
1
acb3dc3d1e5cb6d4871258c697c9eeec6796ce19
5,813
imgui
MIT License
core/domain/src/main/kotlin/eu/grand/hotel/core/HotelId.kt
dzappold
657,489,140
false
{"Kotlin": 40965, "Handlebars": 2212}
package eu.grand.hotel.core @JvmInline value class HotelId(val value: String) { init { require(value.isNotBlank()) } }
0
Kotlin
0
0
61f3d6969bc153d38b93152caf66da932c08c198
136
CorporateHotelBooking
Apache License 2.0
app/src/test/java/com/pkj/learn/newsbyjus/util/MockitoTest.kt
pkjvit
272,885,520
false
null
package com.pkj.learn.newsbyjus.util import org.junit.Before import org.mockito.MockitoAnnotations abstract class MockitoTest { @Before fun setup() { MockitoAnnotations.initMocks(this) } }
0
Kotlin
0
1
24bc21627f4849bcbdcdd9650cbbdd19324eeb66
211
NewsApp
Apache License 2.0
camera/src/main/java/com/ke/cameralibrary/state/State.kt
15510261060
142,523,752
false
null
package com.ke.cameralibrary.state import android.view.Surface import android.view.SurfaceHolder import com.ke.cameralibrary.CameraInterface interface State { fun start(holder: SurfaceHolder, screenProp: Float) fun stop() fun foucs(x: Float, y: Float, callback: CameraInterface.FocusCallback) fun swtich(ho...
0
Kotlin
0
1
48dbf74223380a6f8ea988f413986ae2075a67b5
631
CameraView_ke
Apache License 2.0
signing/src/test/kotlin/com/healthmetrix/dynamicconsent/signing/usecases/SignPdfUseCaseTest.kt
smart4health
593,624,880
false
null
package com.healthmetrix.dynamicconsent.signing.usecases import com.github.michaelbull.result.Err import com.github.michaelbull.result.Ok import com.healthmetrix.dynamicconsent.commons.EXAMPLE_PRIVATE_RSA_KEY import com.healthmetrix.dynamicconsent.commons.EXAMPLE_X509_CERTIFICATE import com.healthmetrix.dynamicconsent...
0
Kotlin
0
1
64bf43ecd9772f750767ebcb507c0983dfef4182
6,788
dataprovision-consent-service
MIT License
app/src/main/java/com/lmqr/ha9_comp_service/aod_views/BatteryIndicatorView.kt
damianmqr
770,035,080
false
{"Kotlin": 104890, "Python": 28089, "C": 12692, "Shell": 2544, "Makefile": 246}
package com.lmqr.ha9_comp_service.aod_views import android.app.NotificationManager import android.content.BroadcastReceiver import android.content.Context import android.content.Intent import android.content.IntentFilter import android.graphics.Color import android.net.ConnectivityManager import android.net.Network im...
3
Kotlin
3
16
117a6868261273f91d0292e076286140545a4b56
6,291
A9PatchingService
MIT License
app/src/main/java/com/example/ktnotes/MyApp.kt
ionate12
309,440,328
false
null
package com.example.ktnotes import android.app.Application import com.example.ktnotes.db.AppDatabase import com.example.ktnotes.db.NoteSampleData import com.example.ktnotes.util.SharedPrefUtil class MyApp: Application() { override fun onCreate() { super.onCreate() //Init Room DB here AppDa...
0
Kotlin
0
0
15f509e787340d225953b9fdffc4354a29dafd63
602
KTNotes
MIT License
app/src/main/java/dev/simonas/quies/AppModule.kt
simonas-dev
673,730,520
false
{"Kotlin": 179648, "Shell": 1547, "GLSL": 675, "CMake": 507, "C++": 414}
package dev.simonas.quies import android.content.Context import dagger.Binds import dagger.Module import dagger.Provides import dagger.hilt.InstallIn import dagger.hilt.android.qualifiers.ApplicationContext import dagger.hilt.components.SingletonComponent import kotlin.random.Random @Module @InstallIn(SingletonCompon...
6
Kotlin
0
0
b9f49fa56d61e1730ee55e201e985ebe5df86f0f
594
quies
MIT License
src/main/kotlin/com/skillw/pouvoir/util/ColorUtils.kt
Glom-c
396,683,163
false
null
package com.skillw.pouvoir.util import taboolib.module.chat.colored /** * ClassName : com.skillw.classsystem.util.ColorUtils * Created by Glom_ on 2021-03-25 20:26:01 * Copyright 2021 user. All rights reserved. */ object ColorUtils { @JvmStatic fun color(msg: String): String { return msg.colored(...
0
HTML
0
2
5608ced58650c3dac96c6c336a736a62fda9e5fb
852
Pouvoir
MIT License
app/src/main/java/org/mhacks/app/data/network/registration/RegistrationPrefProvider.kt
mhacks
22,456,318
false
null
package org.mhacks.app.data.network.registration import android.content.SharedPreferences import org.mhacks.app.core.Constants.FIREBASE_AUTH_TOKEN import javax.inject.Inject private const val SENT_TOKEN_TO_SERVER = "sentTokenToServer" /** * Defines the auth settings stored within the app */ class RegistrationPrefP...
1
null
12
21
12309b463e51acc3f41c463df647f410e16a6261
938
mhacks-android
MIT License
src/main/kotlin/offer/64.kt
Eynnzerr
621,254,277
false
null
package offer class Solution64 { fun sumNums(n: Int): Int { // 递归很好想,怎么保证初始情况很难想 -> 利用逻辑运算短路特性 // 但是kt中赋值结果不能作为逻辑值返回,所以不能用这种思路 var res = n // val flag = res == 1 && res += sumNums(res - 1) return res } }
0
Kotlin
0
0
0327df84200444e1e4ef4b7d7a9f8779e8d7443f
252
leetcode-kotlin
MIT License
instantsearch/src/commonMain/kotlin/com/algolia/instantsearch/filter/list/internal/Extensions.kt
algolia
55,971,521
false
{"Kotlin": 689459}
package com.algolia.instantsearch.helper.filter.list.internal import com.algolia.instantsearch.core.connection.Connection import com.algolia.instantsearch.helper.filter.list.FilterListViewModel import com.algolia.instantsearch.helper.filter.state.FilterGroupID import com.algolia.instantsearch.helper.filter.state.Filte...
4
Kotlin
32
156
cb068acebbe2cd6607a6bbeab18ddafa582dd10b
720
instantsearch-android
Apache License 2.0
EvoMaster/core/src/test/kotlin/org/evomaster/core/search/gene/GeneUtilsEscapeTest.kt
BrotherKim
397,139,860
false
null
package org.evomaster.core.search.gene import org.evomaster.core.output.OutputFormat import org.evomaster.core.output.formatter.OutputFormatter import org.junit.jupiter.api.Test import org.junit.jupiter.api.Assertions.assertTrue import org.junit.jupiter.api.Assertions.assertFalse internal class GeneUtilsEscapeTest { ...
1
null
1
1
a7a120fe7c3b63ae370e8a114f3cb71ef79c287e
2,160
ASE-Technical-2021-api-linkage-replication
MIT License
app/src/main/java/dzm/wamr/recover/deleted/messages/photo/media/viewModel/SharedViewModel.kt
NisarWahla
868,994,613
false
{"Kotlin": 671870, "HTML": 269960, "Java": 75544}
package dzm.wamr.recover.deleted.messages.photo.media.viewModel import android.app.Application import androidx.lifecycle.MutableLiveData import dzm.wamr.recover.deleted.messages.photo.media.model.Status class SharedViewModel(application: Application) : BaseViewModel(application) { private var status = MutableLiv...
0
Kotlin
0
0
fa06dd3f315ea3c81bbd94d3193285355be2ad1d
1,061
WhatsAppDeleted
Apache License 2.0
common-ui/src/main/java/com/wo1f/common_ui/status/NotificationStatus.kt
adwardwolf
387,865,580
false
null
package com.wo1f.common_ui.status import com.wo1f.domain.model.Notification import kotlinx.coroutines.flow.MutableStateFlow import kotlinx.coroutines.flow.asStateFlow class NotificationStatus { private val _notificationHashMap = MutableStateFlow<HashMap<String, Boolean>>(hashMapOf()) val notificationHashMap ...
0
Kotlin
0
2
d9372ab26a0f74ff32e196ffc7457258f1d7270c
1,027
the-earth
Apache License 2.0
app/src/main/java/com/diyainfotech/covid19/ui/home/HomeViewModel.kt
sanjaypatel27
250,696,607
false
null
package com.diyainfotech.covid19.ui.home import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.diyainfotech.covid19.api.india.IndiaData import com.diyainfotech.covid19.api.india.IndiaRepository import com.diyainfotech.covid19.api.india.StateWi...
0
Kotlin
0
2
7edae0a5d642139fecced0aa53d8b707e932fbf6
1,004
COVID19
MIT License
android/src/main/kotlin/no/talgoe/scanwedge/scanwedge/ZebraPlugin.kt
Rokke
551,570,966
false
{"Kotlin": 51267, "Dart": 35024}
package no.talgoe.scanwedge.scanwedge import android.content.BroadcastReceiver import android.content.Context import android.content.Intent import android.content.IntentFilter import android.os.Bundle import io.flutter.plugin.common.MethodCall import io.flutter.plugin.common.MethodChannel import io.flutter.plugin.com...
0
Kotlin
3
3
bd986887938a31d28ad6b9f50a9b915fd249f5d3
11,441
scanwedge
Apache License 2.0
src/main/kotlin/icons/PlsIcons.kt
DragonKnightOfBreeze
328,104,626
false
null
package icons import com.intellij.icons.* import com.intellij.ui.* import javax.swing.* object PlsIcons { @JvmField val GameDirectory = AllIcons.Modules.SourceRoot @JvmField val ModDirectory = AllIcons.Modules.SourceRoot @JvmField val Library = AllIcons.Nodes.PpLibFolder @JvmField val Steam = loadIcon("/icons/ste...
8
null
5
27
17adc70c8ec1a1de88520b6ecb670bd37379a3a7
5,893
Paradox-Language-Support
MIT License
cardpresent/src/main/java/com/fattmerchant/omni/data/LogTransactionRequest.kt
fattmerchantorg
135,478,151
false
{"Gradle Kotlin DSL": 5, "YAML": 2, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 6, "Proguard": 3, "Kotlin": 86, "XML": 12, "JSON": 1, "Java": 1}
package com.fattmerchant.omni.data import com.fattmerchant.omni.data.models.Customer import com.fattmerchant.omni.data.models.Invoice import com.fattmerchant.omni.data.models.PaymentMethod import com.fattmerchant.omni.data.models.Transaction /** * A request to log a transaction */ internal open class LogTransaction...
2
Kotlin
6
1
d07e970a33b25afa75ec67fe2570ab2fccc1babd
2,461
fattmerchant-android-sdk
Apache License 2.0
play/plugin/src/main/kotlin/com/github/triplet/gradle/play/tasks/internal/LifecycleTasks.kt
Triple-T
22,718,907
false
{"Kotlin": 474777, "HTML": 390}
package com.github.triplet.gradle.play.tasks.internal import com.github.triplet.gradle.play.PlayPublisherExtension import org.gradle.api.DefaultTask import org.gradle.api.file.Directory import org.gradle.api.tasks.Nested import org.gradle.work.DisableCachingByDefault import javax.inject.Inject @DisableCachingByDefaul...
20
Kotlin
339
4,103
76cfb4e111e5eafba94316941218eedc74efba7c
1,941
gradle-play-publisher
MIT License
android/app/src/main/kotlin/com/example/animated_opacity_app/MainActivity.kt
vijayinyoutube
416,043,228
false
{"C++": 16831, "CMake": 7965, "HTML": 3875, "Dart": 3370, "C": 734, "Swift": 404, "Kotlin": 137, "Objective-C": 38}
package com.example.animated_opacity_app import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { }
0
C++
0
0
1494b689923858de228cc23a36649cee9dc6f25f
137
animated_opacity_app
MIT License
src/main/kotlin/io/hsar/rotaexplorer/weight/WeightCalculator.kt
HSAR
231,945,664
false
null
package io.hsar.rotaexplorer.weight import io.hsar.rotaexplorer.model.Assignment import io.hsar.rotaexplorer.model.Rota import io.hsar.rotaexplorer.model.RotaSlot object WeightCalculator { val rules = listOf( ShouldAvoidAvailableIfNeeded(), ShouldAvoidSplitSlots(), ShouldLimit...
1
Kotlin
0
0
ce713ca562559e95501942ca6ccad5a14162db47
1,140
RotaExplorer
MIT License
src/main/kotlin/no/nav/klage/dokument/domain/dokumenterunderarbeid/DokumentUnderArbeid.kt
navikt
297,650,936
false
null
package no.nav.klage.dokument.domain.dokumenterunderarbeid import no.nav.klage.kodeverk.Brevmottakertype import no.nav.klage.kodeverk.BrevmottakertypeConverter import no.nav.klage.kodeverk.DokumentType import no.nav.klage.kodeverk.DokumentTypeConverter import org.hibernate.annotations.DynamicUpdate import java.time.Lo...
0
Kotlin
2
1
78d5323b84097670a8a5decfd8c3d239b542f2e0
3,574
kabal-api
MIT License
server/src/main/java/com/krillsson/sysapi/rest/ProcessesResource.kt
Krillsson
40,235,586
false
null
/* * Sys-Api (https://github.com/Krillsson/sys-api) * * Copyright 2017 <NAME> / Krillsson * * 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/LICEN...
9
null
2
88
0ef953795dfae4cfb3a15ab91bfe7606653b3aaa
3,506
sys-API
Apache License 2.0
src/main/kotlin/com/intellij/StyledComponents/InterpolationArgumentsErrorFilter.kt
chehab
157,016,521
false
null
package com.intellij.styledComponents import com.intellij.codeInsight.daemon.impl.HighlightInfo import com.intellij.codeInsight.daemon.impl.HighlightInfoFilter import com.intellij.codeInsight.highlighting.HighlightErrorFilter import com.intellij.lang.annotation.HighlightSeverity import com.intellij.psi.PsiErrorElement...
0
null
0
1
62a5ddc050c4d3a2d35cd9a186906c32b73ea546
1,449
webstorm-styled-components
MIT License
app/src/main/java/com/techwolf/android/sample/camera/CameraFragment.kt
Vuksa
92,533,010
false
null
package com.techwolf.android.sample.camera import android.hardware.Camera import android.os.Bundle import android.support.v4.app.Fragment import android.util.Log import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.FrameLayout import com.techwolf.android.sampl...
1
Kotlin
12
154
760f46734e3687d183741b96d0379de76b0966ee
2,510
RuntimePermissionsExtended
MIT License
src/main/kotlin/no/nav/amt/person/service/poststed/PoststedRepository.kt
navikt
618,357,446
false
null
package no.nav.amt.person.service.poststed import org.slf4j.LoggerFactory import org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate import org.springframework.stereotype.Component import org.springframework.transaction.annotation.Transactional import java.sql.ResultSet import java.util.UUID @Transact...
2
Kotlin
0
0
a9f0b1a7d58689817577ed6bb2fc5a377ff0f0c5
2,433
amt-person-service
MIT License
clients/kotlin-spring/generated/src/main/kotlin/org/openapitools/model/ErrorResponse.kt
oapicf
529,246,487
false
{"Markdown": 6348, "YAML": 73, "Text": 16, "Ignore List": 52, "JSON": 1138, "Makefile": 3, "JavaScript": 1042, "F#": 585, "XML": 468, "Shell": 47, "Batchfile": 10, "Scala": 2313, "INI": 31, "Dockerfile": 17, "Maven POM": 22, "Java": 6356, "Emacs Lisp": 1, "Haskell": 39, "Swift": 263, "Ruby": 555, "OASv3-yaml": 19, "Cab...
package org.openapitools.model import java.util.Objects import com.fasterxml.jackson.annotation.JsonProperty import org.openapitools.model.Error import javax.validation.constraints.DecimalMax import javax.validation.constraints.DecimalMin import javax.validation.constraints.Email import javax.validation.constraints.Ma...
2
Java
0
4
c04dc03fa17b816be6e9a262c047840301c084b6
783
openapi-openai
MIT License
openai-client/openai-client-core/src/commonMain/kotlin/com/tddworks/openai/api/images/internal/DefaultImagesApi.kt
tddworks
755,029,221
false
{"Kotlin": 118611}
package com.tddworks.openai.api.images.internal import com.tddworks.openai.api.common.ListResponse import com.tddworks.openai.api.images.api.Image import com.tddworks.openai.api.images.api.ImageCreate import com.tddworks.openai.api.images.api.Images import com.tddworks.openai.api.internal.network.ktor.HttpRequester im...
0
Kotlin
0
1
30a783b2b67ce94eca15eab36065548fe4ad3c6f
847
openai-kotlin
Apache License 2.0
shared/src/commonMain/kotlin/nl/tiebe/otarium/logic/default/home/children/averages/DefaultAveragesComponent.kt
Tiebe
528,857,681
false
null
package nl.tiebe.otarium.logic.default.home.children.averages import com.arkivanov.decompose.ComponentContext import com.arkivanov.decompose.value.MutableValue import com.arkivanov.essenty.backhandler.BackCallback import dev.tiebe.magisterapi.response.general.year.grades.GradeColumn import dev.tiebe.magisterapi.respon...
25
Kotlin
0
2
2c77efb1c6eb03d4e07f7e7881083fa4b4bb61a5
2,685
Otarium
MIT License
modules/wasm-binary/src/commonMain/kotlin/tree/sections/TypeSectionNode.kt
wasmium
761,480,110
false
{"Kotlin": 352107, "JavaScript": 200}
package org.wasmium.wasm.binary.tree.sections import org.wasmium.wasm.binary.tree.SectionKind import org.wasmium.wasm.binary.tree.WasmType import org.wasmium.wasm.binary.visitors.TypeSectionVisitor public class TypeSectionNode : SectionNode(SectionKind.TYPE), TypeSectionVisitor { public val types: MutableList<Fun...
0
Kotlin
0
1
f7ddef76630278616d221e7c8251adf0f11b9587
974
wasmium-wasm-binary
Apache License 2.0
app/src/main/java/com/classic/assistant/car/ui/settings/SettingsViewModel.kt
qyxxjd
59,408,384
false
null
package com.classic.assistant.car.ui.settings import android.app.Activity import android.view.View import androidx.lifecycle.ViewModel import com.classic.assistant.car.R import com.classic.assistant.car.app.App import com.classic.assistant.car.data.manager.BackupManager import com.classic.assistant.car.extension.ioTas...
4
Kotlin
100
423
d1bf52291e288e3c1d1d1fd79f7cf3896dbb272d
1,503
CarAssistant
The Unlicense
vpn/src/main/java/com/duckduckgo/mobile/android/vpn/processor/udp/UdpChannelCache.kt
duckduckgo
78,869,127
false
null
/* * Copyright (c) 2021 DuckDuckGo * * 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 ...
46
null
696
2,525
2d8288c7adeab79314f3d17d1b0c4d5f377fdcd0
1,912
Android
Apache License 2.0
src/lib/kotlin/kiit/src/main/kotlin/kiit/docs/DocConstants.kt
slatekit
55,942,000
false
null
package kiit.docs object DocConstants { val header = "doc:header" val import_required = "doc:import_required" val import_optional = "doc:import_optional" val import_examples = "doc:import_examples" val depends = "doc:depends" val setup = "doc:setup" val examples = "doc:e...
6
null
13
112
d17b592aeb28c5eb837d894e98492c69c4697862
400
slatekit
Apache License 2.0
android/src/main/java/com/reactnativejwplayer/JWPlayerView.kt
abdullahkhan70
435,819,087
false
null
package com.reactnativejwplayer import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import com.facebook.react.uimanager.annotations.ReactProp import com.jwplayer.pub.api.license.LicenseUtil import com.jwplayer.pub.view.JWPlayerView class JWPlayerView : AppCompatActivity() { public var JwPlayerV...
0
null
0
0
2128f32a7b7c7037897a90891f630e1c31875e5c
628
react-native-jwplayer
MIT License
app/src/main/java/com/zeynelerdi/mackolik/di/builder/ActivityBuilder.kt
ZeynelErdiKarabulut
320,010,103
false
{"Kotlin": 116012}
package com.zeynelerdi.mackolik.di.builder import com.zeynelerdi.mackolik.ui.browser.BrowserActivity import com.zeynelerdi.mackolik.ui.browser.BrowserActivityModule import com.zeynelerdi.mackolik.ui.main.MainActivity import com.zeynelerdi.mackolik.ui.main.MainActivityModule import dagger.Module import dagger.android.C...
0
Kotlin
0
1
4b40e57d2193706e15e18dd77fbb459e960f35db
647
Mackolik
Apache License 2.0
src/main/kotlin/net/sharedwonder/mc/ptbridge/MetaInfo.kt
sharedwonder
745,290,974
false
{"Kotlin": 62277, "Java": 53547}
/* * Copyright (C) 2024 sharedwonder (Liu Baihao). * * 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 applicabl...
0
Kotlin
0
1
fa6917c4f2d3d3c6c9ac88fa6e68a2a45a3eb4cc
1,007
ptbridge
Apache License 2.0
app/src/main/java/eu/kanade/tachiyomi/source/model/Page.kt
eswd04
463,916,440
true
{"Kotlin": 2275272}
package eu.kanade.tachiyomi.source.model import android.net.Uri import eu.kanade.tachiyomi.network.ProgressListener import kotlinx.serialization.Serializable import kotlinx.serialization.Transient import rx.subjects.Subject import tachiyomi.source.model.PageUrl @Serializable open class Page( val index: Int, v...
0
Kotlin
0
0
74b03df41acaecbc8f43a7f3bb3926eff4fa3aa9
2,825
tachiyomi
Apache License 2.0
app/src/main/java/com/tomorrowit/datacollect/utils/ResourcesUtils.kt
2Morrow-IT-Solutions
800,950,127
false
{"Kotlin": 95553}
package com.tomorrowit.datacollect.utils import android.app.KeyguardManager import android.content.ClipboardManager import android.content.ContentResolver import android.content.Context import android.content.res.Configuration import android.content.res.Resources import android.provider.Settings import java.net.URLDec...
0
Kotlin
0
0
38d6333a12e87acd62c82464867fce420fba7de1
6,658
data-collect
MIT License
remix/src/commonMain/kotlin/com/woowla/compose/icon/collections/remix/remix/business/InfoCardFill.kt
walter-juan
868,046,028
false
{"Kotlin": 34345428}
package com.woowla.compose.icon.collections.remix.remix.business import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.S...
0
Kotlin
0
3
eca6c73337093fbbfbb88546a88d4546482cfffc
2,709
compose-icon-collections
MIT License
src/client/kotlin/tech/thatgravyboat/skyblockapi/api/location/SkyblockArea.kt
SkyblockAPI
861,984,504
false
{"Kotlin": 186785, "Java": 20830}
package tech.thatgravyboat.skyblockapi.api.location data class SkyBlockArea(val name: String) { fun inArea() = LocationAPI.area == this companion object { fun inAnyArea(vararg areas: SkyBlockArea) = areas.any { it.inArea() } } } @Suppress("unused") object SkyBlockAreas { private val registe...
3
Kotlin
3
3
8948d699bf0fc3df88de59d8ec79d162fb922ace
4,516
SkyblockAPI
MIT License
screenshot_testing/src/test/java/com/costular/atomtasks/screenshottesting/designsystem/TaskSnapshotTest.kt
costular
379,913,052
false
null
package com.costular.atomtasks.screenshottesting.designsystem import app.cash.paparazzi.Paparazzi import com.costular.atomtasks.screenshottesting.utils.FontSize import com.costular.atomtasks.screenshottesting.utils.PaparazziFactory import com.costular.atomtasks.screenshottesting.utils.Theme import com.costular.atomtas...
2
null
0
5
0a5b77ba9b11fd98d432de95cb1c896a8a1b4670
3,924
atom-tasks
Apache License 2.0
meistercharts-canvas/src/commonMain/kotlin/com/meistercharts/design/CorporateDesign.kt
Neckar-IT
599,079,962
false
{"Kotlin": 5819931, "HTML": 87784, "JavaScript": 1378, "CSS": 1114}
/** * Copyright 2023 Neckar IT GmbH, Mössingen, Germany * * 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 appli...
3
Kotlin
3
5
ed849503e845b9d603598e8d379f6525a7a92ee2
16,908
meistercharts
Apache License 2.0
src/main/kotlin/com/labco/raytracer/scene/SceneObject.kt
R-Sai
543,716,549
false
{"Kotlin": 24538}
package com.labco.raytracer.scene import com.labco.raytracer.ray.Ray import com.labco.raytracer.ray.RayIntersectionPoint import com.labco.raytracer.common.UnitVector3 import com.labco.raytracer.common.Vector3 import com.labco.raytracer.material.Material interface SceneObject { val material: Material fun refle...
0
Kotlin
0
1
b1d2974589d9ae187ebca29f20c2b458a088d372
474
RayTracer
Apache License 2.0
src/main/kotlin/org/kalasim/TickTransform.kt
holgerbrandl
299,282,108
false
null
package org.kalasim import kotlinx.datetime.Clock import kotlinx.datetime.Instant import org.kalasim.misc.AmbiguousDuration import kotlin.time.* import kotlin.time.Duration.Companion.days import kotlin.time.Duration.Companion.hours import kotlin.time.Duration.Companion.microseconds import kotlin.time.Duration.Companio...
7
null
9
71
550f7dde2db737ad6d4186a3f439894d1e0455f2
4,832
kalasim
MIT License
meetprize/meetprize-common/src/main/kotlin/pl/jug/lib/Logger.kt
krzydzie
172,727,556
false
{"JavaScript": 408336, "Kotlin": 53211, "CSS": 8323, "Groovy": 4490, "HTML": 2187}
package pl.jug.lib import pl.jug.environment.Configuration class Logger(private val className: String) { companion object { private lateinit var jsLogger: JsLogger private lateinit var defaultLogLevel: LogLevel private lateinit var classLogLevel: Map<String, LogLevel> inline fun ...
0
JavaScript
0
0
326dcd2963e4f326ec1832c9b3d078d41b52cb9b
1,708
jug-gdansk-kotlin-webextensions
MIT License
plugins/gradle/src/org/jetbrains/plugins/gradle/statistics/GradleTaskExecutionCollector.kt
JetBrains
2,489,216
false
null
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package org.jetbrains.plugins.gradle.statistics import com.intellij.internal.statistic.eventLog.EventLogGroup import com.intellij.internal.statistic.eventLog.events.* import com.intellij.internal.st...
251
null
5079
16,158
831d1a4524048aebf64173c1f0b26e04b61c6880
2,792
intellij-community
Apache License 2.0
src/main/kotlin/fm/force/ui/reducer/action/session/general.kt
night-crawler
239,825,339
false
null
package fm.force.ui.reducer.action.session import fm.force.quiz.common.dto.* import redux.RAction class SessionAnswerToggle( val question: QuizSessionQuestionRestrictedDTO, val answer: QuizSessionQuestionAnswerRestrictedDTO ) : RAction class SessionDifficultyScaleLoaded(val difficultyScale: DifficultyScaleFu...
0
Kotlin
0
13
2088cf140358341cf5a49d0144fb010eb22a9048
962
quiz-frontend
MIT License
HookwormForAndroid/src/main/java/com/wuyr/hookworm/core/Hookworm.kt
wuyr
334,884,245
false
null
package com.wuyr.hookworm.core import android.annotation.SuppressLint import android.app.Activity import android.app.Application import android.content.Context import android.os.Build import android.os.Bundle import android.os.Handler import android.os.Looper import android.util.Log import android.view.ContextThemeWra...
0
Kotlin
10
27
3a74bc5cd70f92f2499e50d03c7b13e09505657c
19,786
HookwormForWanAndroidTest
Apache License 2.0
modules/feature/search/impl/src/test/java/kekmech/ru/feature_search_impl/SearchReducerTest.kt
tonykolomeytsev
203,239,594
false
{"Kotlin": 972736, "JavaScript": 9100, "Python": 2365, "Shell": 46}
package kekmech.ru.feature_search import io.kotest.core.spec.style.BehaviorSpec import io.kotest.matchers.collections.shouldBeEmpty import io.kotest.matchers.collections.shouldContainExactly import io.kotest.matchers.shouldBe import kekmech.ru.domain_map.dto.Location import kekmech.ru.domain_map.dto.MapMarker import k...
19
Kotlin
4
41
15c3c17e33d0ffffc0e269ad0cd6fe47b0bc971a
7,774
mpeiapp
MIT License
pod-room/src/main/java/com/github/mahendranv/podroom/di/PodDIContainer.kt
mahendranv
607,981,900
false
null
package com.github.mahendranv.podroom.di import android.content.Context import androidx.annotation.VisibleForTesting import androidx.room.Room import com.ctc.wstx.stax.WstxInputFactory import com.ctc.wstx.stax.WstxOutputFactory import com.fasterxml.jackson.dataformat.xml.XmlFactory import com.github.mahendranv.AnchorP...
8
Kotlin
0
1
ec995f449d3deeb8e48a5ff4a3b72119c32901cc
1,827
pod-room
MIT License
feature/settings-impl/src/main/kotlin/org/michaelbel/movies/settings/ui/SettingsScreenContent.kt
michaelbel
115,437,864
false
{"Kotlin": 587623, "Shell": 235}
package org.michaelbel.movies.settings.ui import android.app.Activity import androidx.activity.compose.rememberLauncherForActivityResult import androidx.activity.result.contract.ActivityResultContracts import androidx.compose.foundation.background import androidx.compose.foundation.clickable import androidx.compose.fo...
6
Kotlin
30
168
f39f1bdf5ed9326a992fc7e10f01720451e91cca
11,044
movies
Apache License 2.0
feature/settings-impl/src/main/kotlin/org/michaelbel/movies/settings/ui/SettingsScreenContent.kt
michaelbel
115,437,864
false
{"Kotlin": 587623, "Shell": 235}
package org.michaelbel.movies.settings.ui import android.app.Activity import androidx.activity.compose.rememberLauncherForActivityResult import androidx.activity.result.contract.ActivityResultContracts import androidx.compose.foundation.background import androidx.compose.foundation.clickable import androidx.compose.fo...
6
Kotlin
30
168
f39f1bdf5ed9326a992fc7e10f01720451e91cca
11,044
movies
Apache License 2.0
src/main/kotlin/eu/europa/ec/eudi/sdjwt/RecreateClaims.kt
eu-digital-identity-wallet
656,042,600
false
{"Kotlin": 321841}
/* * Copyright (c) 2023 European Commission * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
3
Kotlin
5
16
0e890fbb8f01e49f627b9ad5ca95c7f0a4459929
11,595
eudi-lib-jvm-sdjwt-kt
Apache License 2.0
core/src/test/java/eu/kevin/core/enums/KevinCountryTest.kt
getkevin
375,151,388
false
{"Kotlin": 238202}
package eu.kevin.core.enums import eu.kevin.testcore.base.BaseUnitTest import kotlinx.coroutines.ExperimentalCoroutinesApi import org.junit.Assert import org.junit.Test @ExperimentalCoroutinesApi class KevinCountryTest : BaseUnitTest() { @Test fun `test parse() with null input`() { Assert.assertNull(...
0
Kotlin
2
7
b18fb946b900a0db5632bd81db620d2153603d14
995
kevin-android
MIT License
src/cypress/Errors.kt
Shom770
537,689,516
false
{"Kotlin": 37880, "Cypher": 121}
package cypress /** * A sealed class representing the different types of errors in Cypress. * @param message The error message passed into the error when thrown. */ sealed class CypressError(message: String) : Exception(message) { /** * A class deriving from Exception to represent a syntax error in Cypress...
0
Kotlin
0
0
7714264ea830d944350d42132a0dd3d12247059f
1,013
cypress
MIT License
trixnity-utils/src/jsMain/kotlin/net/folivo/trixnity/utils/ByteArrayFlowStreamExtensions.kt
benkuly
330,904,570
false
{"Kotlin": 4172000, "JavaScript": 5352, "TypeScript": 2906, "CSS": 1454, "Dockerfile": 1328}
package net.folivo.trixnity.utils import js.typedarrays.Uint8Array import js.typedarrays.toUint8Array import kotlinx.coroutines.flow.flow import web.streams.ReadableStream import web.streams.ReadableStreamReadDoneResult import web.streams.ReadableStreamReadValueResult import web.streams.WritableStream fun byteArrayFl...
0
Kotlin
3
30
1bd6a64ac8eaa4506ad5ec5a3c07cc3721342787
1,020
trixnity
Apache License 2.0
src/main/kotlin/com/pineypiney/game_engine/resources/shaders/ShaderLoader.kt
PineyPiney
491,900,499
false
{"Kotlin": 480172, "GLSL": 26115}
package com.pineypiney.game_engine.resources.shaders import com.pineypiney.game_engine.GameEngineI import com.pineypiney.game_engine.objects.Deleteable import com.pineypiney.game_engine.util.ResourceKey import com.pineypiney.game_engine.util.extension_functions.delete import glm_.bool import org.lwjgl.opengl.GL32C.* i...
0
Kotlin
0
0
f927b3d9fa5f402fc85db008e46d876f397e5cf7
6,047
GameEngine
MIT License
app/src/main/java/me/kirimin/mitsumine/entryinfo/EntryInfoView.kt
kirimin
27,329,558
false
null
package me.kirimin.mitsumine.entryinfo import me.kirimin.mitsumine._common.domain.model.Bookmark import me.kirimin.mitsumine._common.domain.model.EntryInfo import me.kirimin.mitsumine._common.ui.BaseViewInterface interface EntryInfoView: BaseViewInterface { fun initActionBar() fun setEntryInfo(entryInfo: En...
10
null
5
41
5a65a34a731395326b8ec84e7c53eb8e306aa11c
684
mitsumine
Apache License 2.0
sms-core/src/main/kotlin/team/msg/sms/domain/authentication/spi/QueryAuthenticationFormPort.kt
GSM-MSG
625,717,097
false
{"Kotlin": 529642, "Shell": 1480, "Dockerfile": 288}
package team.msg.sms.domain.authentication.spi import java.util.UUID interface QueryAuthenticationFormPort { fun queryActiveAuthenticationFormId(): UUID }
7
Kotlin
0
9
b602a6b4c00cba7291f2bdb570868d6e0fc05294
160
SMS-BackEnd
MIT License
src/test/kotlin/com/jalgoarena/serialization/GraphNodeSerializationSpec.kt
jalgoarena
64,454,598
false
{"Kotlin": 99421, "Java": 34250, "Dockerfile": 304, "Shell": 295}
package com.jalgoarena.serialization import com.fasterxml.jackson.databind.ObjectMapper import com.jalgoarena.ApplicationConfiguration import com.jalgoarena.type.GraphNode import org.assertj.core.api.Assertions.assertThat import org.intellij.lang.annotations.Language import org.junit.Before import org.junit.Test clas...
7
Kotlin
22
7
cafcc9666a8208a146ad77656c06cd18ae0705de
1,143
JAlgoArena-Judge
Apache License 2.0
src/main/kotlin/org/rust/lang/core/thir/LocalVar.kt
intellij-rust
42,619,487
false
null
/* * Use of this source code is governed by the MIT license that can be * found in the LICENSE file. */ package org.rust.lang.core.thir import org.rust.lang.core.psi.RsPatBinding import org.rust.lang.core.psi.RsSelfParameter sealed class LocalVar { abstract val name: String // just for better internal errors ...
1,841
null
380
4,528
c6657c02bb62075bf7b7ceb84d000f93dda34dc1
766
intellij-rust
MIT License
IPassPlusSdk/src/main/java/com/sdk/ipassplussdk/model/response/session_result/SessionResultResponse.kt
yazanalqasem
808,584,767
false
{"Kotlin": 308101, "Java": 4759}
package com.sdk.ipassplussdk.model.response.session_result import com.google.gson.annotations.SerializedName data class SessionResultResponse ( @SerializedName("_id" ) var Id : String? = null, @SerializedName("__v" ) var _v : Int? = null, @SerializedName("email" ) var email :...
0
Kotlin
0
0
1fc3247607811f7f52e1d401c252b82e2c98c3a8
1,803
iPass2.0NativeAndroidSDK
Apple MIT License
src/main/kotlin/net/starlegacy/util/timings.kt
hafarooki
437,384,015
false
null
package net.starlegacy.util import co.aikar.timings.Timing import co.aikar.timings.Timings import net.starlegacy.PLUGIN fun timing(name: String): Timing = Timings.of(PLUGIN, name) fun <T> Timing.time(block: () -> T): T = apply { startTiming() }.use { block() }
0
Kotlin
16
4
c830eb40180c935e8bfff599da0f9310eeccfb5c
264
StarLegacy
MIT License
fastadapter-extensions-swipe/src/main/java/com/mikepenz/fastadapter/swipe/ISwipeable.kt
mikepenz
48,688,603
false
null
package com.mikepenz.fastadapter.swipe /** * Created by mikepenz on 30.12.15. */ interface ISwipeable { /** @return true if swipeable */ val isSwipeable: Boolean /** * @return true if the provided direction is supported * * This function will only be called if [isSwipeable] returns true ...
9
null
492
3,827
77761873d8f5c469a3dcc49766e2960826bbe62b
390
FastAdapter
Apache License 2.0
library/src/main/java/io/karn/charter/charts/LineChart.kt
Karn
139,297,054
false
{"Kotlin": 9978}
package io.karn.charter.charts import android.content.Context import android.graphics.Canvas import android.graphics.Paint import android.graphics.Path import android.util.AttributeSet import android.view.MotionEvent import android.view.View import io.karn.charter.R import io.karn.charter.internal.util.Utils /** * R...
0
Kotlin
0
3
fd754abcff11840a48d1b0f26bf6c0bcf6976bda
9,681
charter
MIT License
app/src/main/java/com/technocreatives/example/App.kt
technocreatives
364,517,134
false
null
package com.technocreatives.example import android.app.Application import android.content.Context import com.technocreatives.beckon.rx2.BeckonClientRx import timber.log.Timber class App : Application() { private lateinit var beckonClient: BeckonClientRx companion object { operator fun get(context: C...
1
Kotlin
1
8
2e252df19c02104821c393225ee8d5abefa07b74
582
beckon-android
Apache License 2.0
sdk/src/main/java/io/radar/sdk/RadarJobScheduler.kt
radarlabs
61,604,202
false
{"Kotlin": 629934, "Groovy": 30206, "Shell": 285}
package io.radar.sdk import android.app.job.JobInfo import android.app.job.JobParameters import android.app.job.JobScheduler import android.app.job.JobService import android.content.ComponentName import android.content.Context import android.location.Location import android.os.Build import android.os.Handler import an...
28
Kotlin
20
75
ec4845fac62233c48bbd777fc7d8ad2dd69aa306
8,926
radar-sdk-android
Apache License 2.0
technocracy.foundation/src/main/kotlin/net/cydhra/technocracy/foundation/tileentity/api/TCMachineTileEntity.kt
nycex
199,491,904
true
{"Kotlin": 732652}
package net.cydhra.technocracy.foundation.tileentity.api import net.cydhra.technocracy.foundation.tileentity.logic.ILogicClient import net.minecraft.util.ITickable interface TCMachineTileEntity : TCAggregatableTileEntity, ITickable, ILogicClient, TCTileEntityGuiProvider
0
Kotlin
0
0
a5f7fce1fc118f3be06e17c37c3318614537d2b5
272
Technocracy
MIT License
app/src/main/java/com/dafian/android/dragooners/util/Extension.kt
mohamad-rizki
168,506,167
false
null
package com.dafian.android.dragooners.util
0
Kotlin
0
0
3568dc4135beb602cae27eabb149d48d88b9b0fe
44
dragooners
MIT License
app/src/main/java/com/dafian/android/dragooners/util/Extension.kt
mohamad-rizki
168,506,167
false
null
package com.dafian.android.dragooners.util
0
Kotlin
0
0
3568dc4135beb602cae27eabb149d48d88b9b0fe
44
dragooners
MIT License
plugin-azure-server/src/test/kotlin/jetbrains.buildServer.clouds/utils/AzureUtilsTest.kt
JetBrains
22,468,117
false
null
package jetbrains.buildServer.clouds.utils import jetbrains.buildServer.clouds.azure.arm.utils.AzureUtils import org.testng.Assert import org.testng.annotations.Test @Test class AzureUtilsTest { fun testCloudErrorDeserializationSuccess() { val json = """{ "error": { "code": "code", "message":...
19
null
22
48
e890f0fc74d950d6ff828799ffc12fd562410726
977
teamcity-azure-agent
Apache License 2.0
src/test/kotlin/au/gov/serviceDescription/TestServiceDescription.kt
thezaza101
154,762,190
false
{"Kotlin": 29795, "HTML": 25568, "CSS": 14040, "JavaScript": 1961}
package au.gov.serviceDescription import au.gov.api.serviceDescription.ServiceDescription import org.junit.Assert import org.junit.Test class TestServiceDescription { @Test fun test_nav(){ val sd = ServiceDescription("","",listOf(""" # p1h11 ## p1h21 ## p1h22 """, """ # p2h11 ## p2h11 """)) ...
0
Kotlin
1
0
97d966bbc05f9a6a68c2380e59c81273f6c18805
1,275
service-catalogue
MIT License
newm-server/src/main/kotlin/io/newm/server/auth/oauth/OAuthRoutes.kt
projectNEWM
447,979,150
false
null
package io.newm.server.auth.oauth import io.ktor.server.application.call import io.ktor.server.request.receive import io.ktor.server.response.respond import io.ktor.server.routing.Routing import io.ktor.server.routing.post import io.newm.server.auth.AUTH_PATH import io.newm.server.auth.jwt.repo.JwtRepository import io...
2
Kotlin
2
4
ed0669f0a211fb9e07c1c0666bbc1281c115afd2
1,365
newm-server
Apache License 2.0
build-logic/src/main/java/com/tambi/common/flavor/Flavor.kt
JaeyeonG1
730,502,369
false
{"Kotlin": 26743}
package com.tambi.common.flavor import com.android.build.api.dsl.ProductFlavor import org.gradle.api.Project @Suppress("EnumEntryName") enum class FlavorDimension { mode } interface Flavor { val flavorName: String val applicationIdSuffix: String val applicationNamePrefix: String val applicationVe...
0
Kotlin
0
0
10a3967ba97eaee4803ddee3e685dcbef265daf2
537
ComposeBaseProject
Apache License 2.0
common/src/commonMain/kotlin/dev/baseio/slackclone/platform.kt
oianmol
528,898,439
false
{"Kotlin": 752408, "Swift": 113141, "Ruby": 11800, "Shell": 587, "Objective-C": 486, "C": 1}
package dev.baseio.slackclone enum class Platform { ANDROID, IOS, JVM } expect fun platformType(): Platform expect suspend fun fcmToken(): String
3
Kotlin
21
235
143f06c11b757641fd3e67809f57dee9f2ffd04b
152
SlackComposeMultiplatform
Apache License 2.0
domain/src/main/java/com/lyj/domain/repository/network/JwtRepository.kt
banziha104
389,872,729
false
null
package com.lyj.domain.repository.network import com.lyj.domain.model.network.auth.JwtModel import io.jsonwebtoken.Claims interface JwtRepository { fun parseJwt(token: String?): JwtModel? fun getClaims(token: String?): Claims? }
1
null
1
3
9d8d6015b5333eb3d2bc07ffbebe2638af2f42ac
238
pinstagram_android
MIT License
android/src/main/kotlin/com/app/rtmp_publisher/NativeViewFactory.kt
emiliodallatorre
366,068,475
true
{"Kotlin": 117874, "Dart": 80052, "Objective-C": 47559, "Swift": 8062, "Ruby": 2419, "Shell": 100}
package com.app.rtmp_publisher import android.app.Activity import android.content.Context import android.util.Log import android.util.Size import io.flutter.plugin.common.BinaryMessenger import io.flutter.plugin.common.StandardMessageCodec import io.flutter.plugin.platform.PlatformView import io.flutter.plugin.platfor...
7
Kotlin
6
4
6980d15016841160d0bb3a27611c4d02de488b7b
923
flutter_rtmp_broadcaster
MIT License
kutil/src/jsMain/kotlin/net/kigawa/kutil/kutil/api/net/SocketServer.js.kt
kigawa01
421,088,101
false
{"Kotlin": 56829, "Java": 914}
package net.kigawa.kutil.kutil.api.net import kotlinx.coroutines.channels.Channel import net.kigawa.kutil.kutil.api.concurrent.Coroutines import net.kigawa.kutil.kutil.api.io.SuspendCloseable import net.kigawa.kutil.kutil.api.io.fs.KuPath import net.kigawa.kutil.kutil.api.logger.KuLogger @Suppress("unused") actual cl...
2
Kotlin
0
0
12cc2caa61c89ea57c96323bab4a79b905f1f14c
604
kutil
MIT License
data/src/main/java/ch/srg/dataProvider/integrationlayer/data/content/Representation.kt
SRGSSR
469,671,723
false
null
package ch.srg.dataProvider.integrationlayer.data.content import ch.srg.dataProvider.integrationlayer.data.FocalPoint import ch.srg.dataProvider.integrationlayer.data.ImageUrl /** * Copyright (c) SRG SSR. All rights reserved. * <p> * License information is available from the LICENSE file. */ data class Representa...
2
Kotlin
0
0
cc5188669b617b2d6a69e4ea06f3045dca961f32
1,278
srgdataprovider-android
MIT License
app/src/main/java/ua/glebm/smartwaste/data/database/BucketDao.kt
glebushkaa
718,610,042
false
{"Kotlin": 241649}
package ua.glebm.smartwaste.data.database import androidx.room.Dao import androidx.room.Insert import androidx.room.OnConflictStrategy import androidx.room.Query import androidx.room.Transaction import kotlinx.coroutines.flow.Flow import ua.glebm.smartwaste.data.database.entity.BucketCategoryCrossRef import ua.glebm.s...
0
Kotlin
0
1
be94eb8f216d5bfae8259611145511661f78ea4e
2,407
smart-waste-android
MIT License
src/main/kotlin/krobot/api/KInheritanceRobot.kt
NKb03
204,321,979
false
null
/** *@author <NAME> */ package krobot.api import krobot.impl.KFile import krobot.impl.joinTo @KRobotDsl class KInheritanceRobot @PublishedApi internal constructor(private val file: KFile) { private var isFirst = true private fun addSeparator() { if (isFirst) file.write(" : ") else file.wri...
3
Kotlin
2
14
0544d49e2ef44ad92e5ac168c05ec3b1ba0682df
890
kotlin-robot
MIT License
gradle-plugins/compose/src/test/test-projects/misc/hugeResources/expected/String34.kt
JetBrains
293,498,508
false
{"Kotlin": 19912259, "Shell": 12167, "JavaScript": 4973, "Dockerfile": 4774, "Swift": 2823, "Java": 1964, "PowerShell": 1708, "Groovy": 1415, "HTML": 1219, "Ruby": 404}
@file:OptIn(org.jetbrains.compose.resources.InternalResourceApi::class) package app.group.huge.generated.resources import kotlin.OptIn import org.jetbrains.compose.resources.ExperimentalResourceApi import org.jetbrains.compose.resources.StringResource @ExperimentalResourceApi private object String34 { public val s...
1,251
Kotlin
1038
14,419
f833fa9945f0420fd9c0c0a5a03d45f196d231ec
178,517
compose-multiplatform
Apache License 2.0
shared/src/commonMain/kotlin/com/jerryokafor/networth/Util.kt
jerryOkafor
696,975,183
false
null
package com.example.example.usecase fun grep(lines: List<String>, pattern: String, action: (String) -> Unit) { val regex = pattern.toRegex() lines.filter(regex::containsMatchIn) .forEach(action) }
1
null
1
15
3ac464f74ddde82389a5b39c070835c2afc35b2d
214
NetWorth
Apache License 2.0
android/app/src/main/java/com/algorand/android/ui/assetdetail/AssetCardViewModel.kt
AllanMangeni
412,352,101
true
{"Kotlin": 1709104}
/* * Copyright 2019 Algorand, 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 writing, s...
1
Kotlin
0
1
d47f08026fa797ea6474622ce5d1990666a241e9
5,351
algorand-wallet
Apache License 2.0
app/src/main/java/nl/nickkoepr/bored/ui/ViewModelProvider.kt
NickKoepr
670,772,490
false
null
package nl.nickkoepr.bored.ui import androidx.lifecycle.ViewModelProvider.AndroidViewModelFactory.Companion.APPLICATION_KEY import androidx.lifecycle.viewmodel.CreationExtras import androidx.lifecycle.viewmodel.initializer import androidx.lifecycle.viewmodel.viewModelFactory import nl.nickkoepr.bored.BoredApplication ...
0
Kotlin
0
0
b073177dc5bc9ef7006194aa582b65a4b45e3d00
980
Bored
MIT License
yyxarch/src/main/java/com/yyxnb/yyxarch/utils/log/LogConfig.kt
y1xian
165,576,986
false
null
package com.yyxnb.yyxarch.utils.log import android.text.TextUtils class LogConfig { private var showThreadInfo = true private var debug = isDebug() private var tag = "arch" fun setTag(tag: String): LogConfig { if (!TextUtils.isEmpty(tag)) { this.tag = tag } ret...
1
Kotlin
0
4
d4486c88a427b116365de054d7e9ca76bb489ee8
759
arch-kt
Apache License 2.0
src/test/kotlin/com/resnik/math/linear/array/geometry/TestGeometry.kt
mtresnik
389,679,744
false
null
package com.resnik.math.linear.array.geometry import com.resnik.math.linear.array.ArrayPoint import com.resnik.math.linear.array.ArrayPoint2d import org.junit.Ignore import org.junit.Test import java.awt.Color class TestGeometry { @Ignore @Test fun testShapeCollection(){ val shapeCollection = Sha...
0
Kotlin
0
0
a3ff541f5f8a3bd24817a6edfeb05c01bc0576eb
2,671
math
Apache License 2.0
playground/src/main/java/androidx/essentials/playground/view/Chips.kt
kunal26das
282,238,393
false
null
package androidx.essentials.playground.view import android.content.Context import android.util.AttributeSet import android.view.MenuItem import androidx.essentials.io.R import androidx.essentials.io.generic.GenericChipGroup class Chips @JvmOverloads constructor( context: Context, attrs: AttributeSet? = null, ...
0
Kotlin
0
1
de9bc3d38a51b81bad0e85a1a63dc8c7c7090632
426
androidx-essentials
Apache License 2.0
domain/src/main/java/com/vlad1m1r/bltaxi/domain/usecase/GetTaxiPosition.kt
pranavlathigara
251,697,390
true
{"Kotlin": 148833, "HTML": 15579}
package com.vlad1m1r.bltaxi.domain.usecase import com.vlad1m1r.bltaxi.domain.Repository class GetTaxiPosition(private val repository: Repository) { suspend operator fun invoke(taxiId: Long) = repository.getItemPosition(taxiId) }
0
null
0
1
1c31ac80dedcbced669cd9c9da61819c0b0c4bfc
235
BLTaxi
Apache License 2.0