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/com/github/lppedd/cc/lookupElement/TextFieldLookupElementDecorator.kt
lppedd
208,670,987
false
{"Kotlin": 415756, "HTML": 49996, "Java": 9014, "Lex": 4027}
package com.github.lppedd.cc.lookupElement import com.github.lppedd.cc.api.CommitToken import com.github.lppedd.cc.psiElement.CommitTokenPsiElement import com.github.lppedd.cc.replaceString import com.github.lppedd.cc.runInWriteActionIfNeeded import com.intellij.codeInsight.completion.CodeCompletionHandlerBase.DIRECT_...
34
Kotlin
19
333
5d55768a47a31a10147e7d69f2be261d028d1b85
3,289
idea-conventional-commit
MIT License
app/src/main/java/com/guilhermeholz/whereislunch/network/VotingApi.kt
gholz
77,409,769
false
{"Gradle": 4, "Java Properties": 2, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 43, "XML": 17, "Java": 1}
package com.guilhermeholz.whereislunch.network import com.guilhermeholz.whereislunch.network.model.votes.Vote import com.guilhermeholz.whereislunch.network.model.votes.VotesResponse import retrofit2.http.* import rx.Observable interface VotingApi { @GET("/api/votes.php") fun getVotes(@Query("date") date: Stri...
1
null
1
1
5a1047e1a64f2666600a51ff47f48faa8cd4c56a
780
where-is-lunch
Apache License 2.0
example/src/main/java/com/squaredcandy/waypoint/util/DateTimeFormat.kt
squaredcandy
638,860,321
false
null
package com.squaredcandy.waypoint.util import java.time.ZonedDateTime import java.time.format.DateTimeFormatter import java.time.format.FormatStyle import java.time.temporal.ChronoUnit internal fun ZonedDateTime.formatDate(formatStyle: FormatStyle = FormatStyle.SHORT): String { val currentDate = ZonedDateTime.now...
0
Kotlin
0
0
44a82e42ae841fae201ce7ffbcb10eb20ff786c1
518
waypoint
Apache License 2.0
app/src/main/java/com/team28/thehiker/features/sosmessage/SosMessageActivity.kt
sw21-tug
350,774,901
false
null
package com.team28.thehiker.features.sosmessage import android.content.ComponentName import android.content.Context import android.content.Intent import android.content.ServiceConnection import android.os.Bundle import android.os.IBinder import android.telephony.SmsManager import android.util.Log import android.widget...
1
Kotlin
9
7
eb1bdb8844c55538cac867b4cc987c9d313a081b
2,347
Team_28
MIT License
app/src/main/java/com/sahu/playground/di/NetworkModule.kt
sahruday
824,622,867
false
{"Kotlin": 61507}
package com.sahu.playground.di import android.content.res.Resources import com.google.gson.GsonBuilder import com.sahu.playground.BuildConfig //import com.sahu.playground.appUtil.unsafeOkHttpClient import com.sahu.playground.data.remte.api.Api import dagger.Module import dagger.Provides import dagger.hilt.InstallIn im...
0
Kotlin
0
0
f0a737920b926eca6e452086327df7a23e34b0e4
1,796
playground
MIT License
composeApp/src/commonMain/kotlin/domain/use_cases/DeleteGroupWithMessageUseCase.kt
Coding-Meet
740,487,604
false
{"Kotlin": 107587, "JavaScript": 707, "Swift": 659, "HTML": 401}
package domain.use_cases import domain.respository.GeminiRepository import org.koin.core.component.KoinComponent class DeleteGroupWithMessageUseCase(private val geminiRepository: GeminiRepository) : KoinComponent { suspend fun deleteGroupWithMessage( groupId: String ) { geminiRepository.delet...
0
Kotlin
0
7
d1680ef03820bb5e6645ff16c88ad3b0e4a73bc8
355
Gemini-AI-KMP-App
MIT License
ktor-core/src/org/jetbrains/ktor/nio/AsyncPump.kt
tearsakura
61,126,592
true
{"Kotlin": 784184, "FreeMarker": 6356, "CSS": 5404, "HTML": 1964, "JavaScript": 1451}
package org.jetbrains.ktor.nio import java.nio.* import java.util.concurrent.* import java.util.concurrent.atomic.* private class AsyncPump(val bufferSize: Int = 8192, val from: AsyncReadChannel, val to: AsyncWriteChannel, val completionHandler: CompletableFuture<Long> = CompletableFuture(), val progressListener: Pro...
0
Kotlin
0
0
f39bcbfa0c496fce2f9795a923b23eddcf952ffa
2,875
ktor
Apache License 2.0
jps-plugin/src/org/jetbrains/kotlin/jps/incremental/IncrementalCacheImpl.kt
guiping
50,323,841
false
null
/* * Copyright 2010-2015 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
0
null
1
1
aca19ed27a751d7d6b0d276e7d2cfbf579fe1f87
26,632
kotlin
Apache License 2.0
common/src/main/kotlin/tech/cuda/woden/common/service/dto/CommitmentDTO.kt
cuda-tech
234,125,581
false
{"Kotlin": 532433, "JavaScript": 97771, "Vue": 95927, "CSS": 10200, "Dockerfile": 267, "HTML": 208}
/* * 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, software * distribut...
0
Kotlin
0
0
2efc2de1cad2646ea129637752b15d868ca13c7d
1,050
woden-deprecated
Apache License 2.0
compiler/src/test/kotlin/edu/cornell/cs/apl/viaduct/syntax/intermediate/PrettyPrintingTest.kt
apl-cornell
169,159,978
false
null
package edu.cornell.cs.apl.viaduct.syntax.intermediate import edu.cornell.cs.apl.viaduct.PositiveTestProgramProvider import edu.cornell.cs.apl.viaduct.passes.elaborated import edu.cornell.cs.apl.viaduct.syntax.surface.ProgramNode import org.junit.jupiter.params.ParameterizedTest import org.junit.jupiter.params.provide...
26
Kotlin
4
11
14dc0b17e0eb73599f961b3cb3bad35e7007c067
581
viaduct
MIT License
platform/credential-store/src/macOsKeychainLibrary.kt
androidports
115,100,208
false
null
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.credentialStore import com.intellij.openapi.util.SystemInfo import com.intellij.util.ArrayUtilRt import com.intellij.util.text.nullize import com.sun.jna.* i...
6
null
5162
4
6e4f7135c5843ed93c15a9782f29e4400df8b068
10,412
intellij-community
Apache License 2.0
compiler/backend/src/org/jetbrains/kotlin/codegen/PropertyReferenceCodegen.kt
JetBrains
3,432,266
false
null
/* * Copyright 2010-2015 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
181
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
16,188
kotlin
Apache License 2.0
converter/src/main/java/com/epicadk/hapiprotoconverter/converter/AdverseEventConverter.kt
epicadk
402,074,793
false
{"Kotlin": 2405480}
package com.epicadk.hapiprotoconverter.converter import com.epicadk.hapiprotoconverter.converter.CodeableConceptConverter.toHapi import com.epicadk.hapiprotoconverter.converter.CodeableConceptConverter.toProto import com.epicadk.hapiprotoconverter.converter.DateTimeConverter.toHapi import com.epicadk.hapiprotoconverte...
1
Kotlin
0
3
2abe5967a905f6a29ed5736c75e8ffb2cf6d3e78
10,144
hapi-proto-converter
Apache License 2.0
json-schema-validator/src/test/kotlin/io/openapiprocessor/jsonschema/schema/DynamicScopeSpec.kt
openapi-processor
418,185,783
false
{"Java": 629502, "Kotlin": 243428, "Just": 440}
/* * Copyright 2022 https://github.com/openapi-processor/openapi-parser * PDX-License-Identifier: Apache-2.0 */ package io.openapiprocessor.jsonschema.schema import io.kotest.core.spec.IsolationMode import io.kotest.core.spec.style.StringSpec import io.kotest.matchers.nulls.shouldBeNull import io.kotest.matchers.s...
15
Java
1
12
99f9ff6254ce4dc73407c383d54ad36a780460a5
4,726
openapi-parser
Apache License 2.0
substrate-sdk-android/src/main/java/io/novasama/substrate_sdk_android/scale/Delegate.kt
novasamatech
429,839,517
false
null
package io.novasama.substrate_sdk_android.scale import io.novasama.substrate_sdk_android.scale.dataType.DataType import io.novasama.substrate_sdk_android.scale.dataType.optional import kotlin.properties.ReadOnlyProperty import kotlin.reflect.KProperty class NonNullFieldDelegate<S : Schema<S>, T>( private val data...
3
null
7
9
8deb9bcec9a5d9d74c509ccc6393cfd0b4ef7144
1,079
substrate-sdk-android
Apache License 2.0
common/src/main/kotlin/com/jmsoftware/maf/common/domain/authcenter/permission/PermissionType.kt
johnnymillergh
240,563,247
false
null
package com.jmsoftware.maf.common.domain.authcenter.permission import com.jmsoftware.maf.common.util.logger /** * # PermissionType * * Change description here * * @author <NAME> (锺俊), e-mail: <EMAIL>, date: 4/16/22 6:44 PM */ enum class PermissionType(val type: Byte, val description: String) { /** * Co...
1
Kotlin
4
11
67917520e69c3f2a47fdd06817e9421cd4d82159
1,291
muscle-and-fitness-server
Apache License 2.0
app/src/main/java/com/yabancikelimedefteri/presentation/settings/models/ColorSchemeItem.kt
AhmetOcak
621,942,001
false
{"Kotlin": 215272}
package com.yabancikelimedefteri.presentation.settings.models import androidx.compose.foundation.BorderStroke import androidx.compose.foundation.Canvas import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.fillMaxSize import androi...
2
Kotlin
0
2
1f02241c6fe9417a1d5b77ce0261ac9e85e02fa4
4,227
YabanciKelimeDefterim
MIT License
mylibrary/src/main/java/id/indosw/igdownloader/util/ClipboardListener.kt
SWRevo
336,055,943
false
null
package id.indosw.igdownloader.util import android.content.ClipboardManager.OnPrimaryClipChangedListener abstract class ClipboardListener : OnPrimaryClipChangedListener
3
null
5
6
b551aa7c4538ad14e401e4b9601ae2935c835319
170
InstagramDownloader
Apache License 2.0
embrace-android-features/src/main/kotlin/io/embrace/android/embracesdk/internal/anr/NoOpAnrService.kt
embrace-io
704,537,857
false
{"Kotlin": 2879745, "C": 189341, "Java": 162931, "C++": 13140, "CMake": 4261}
package io.embrace.android.embracesdk.internal.anr import io.embrace.android.embracesdk.internal.payload.AnrInterval internal class NoOpAnrService : AnrService { override fun getCapturedData(): List<AnrInterval> { return emptyList() } override fun handleCrash(crashId: String) { } overri...
23
Kotlin
8
134
06fb424ba2746c22e8e47e549a9f00ae8f85d72d
518
embrace-android-sdk
Apache License 2.0
settings-sharedpreferences-encryption/src/sharedTest/java/de/charlex/settings/sharedpreferences/encryption/SettingsEncryptionTest.kt
ch4rl3x
309,776,447
false
{"Kotlin": 82402}
package de.charlex.settings.sharedpreferences.encryption import org.junit.Assert.assertArrayEquals import org.junit.Assert.assertEquals import org.junit.Test abstract class SettingsEncryptionTest { lateinit var settings: EncryptedSettings @Test fun test_Int_Settings() { settings.put(EncryptedPre...
8
Kotlin
4
6
d89b362e808d5b23ccbdc572e480d4e86f19fcc4
5,409
settings
Apache License 2.0
app/src/main/java/com/satyamthakur/bioguardian/BioGuardian.kt
dev-satyamthakur
750,941,674
false
{"Kotlin": 71316}
package com.satyamthakur.bioguardian import android.app.Application import dagger.hilt.android.HiltAndroidApp @HiltAndroidApp class BioGuardian: Application() { }
0
Kotlin
0
0
49850118d632279ceb7d08b8eefef9df50f91212
164
Bio-Guardian
MIT License
src/test/kotlin/ar/edu/unq/pds03backend/GenericResponseTest.kt
cassa10
478,695,193
false
{"Kotlin": 387344, "Shell": 2326, "Dockerfile": 168}
package ar.edu.unq.pds03backend import ar.edu.unq.pds03backend.dto.GenericResponse import junit.framework.TestCase.assertEquals import org.junit.Test import org.springframework.http.HttpStatus class GenericResponseTest { @Test fun `test generic response init`(){ val httpStatus1 = HttpStatus.OK ...
0
Kotlin
1
0
2e61373e3b06ba75399dc429683eec6281f405e9
1,018
pds03-backend
MIT License
platform/platform-impl/src/com/intellij/ide/wizard/language/EmptyProjectGeneratorNewProjectWizard.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 com.intellij.ide.wizard.language import com.intellij.icons.AllIcons import com.intellij.ide.projectWizard.NewProjectWizardConstants import com.intellij.ide.util.projectWizard.WizardContext i...
284
null
5162
16,707
def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0
1,836
intellij-community
Apache License 2.0
src/main/kotlin/com/pineypiney/game_engine/objects/transforms/Transform3D.kt
PineyPiney
491,900,499
false
{"Kotlin": 641121, "GLSL": 32418}
package com.pineypiney.game_engine.objects.transforms import com.pineypiney.game_engine.util.extension_functions.copy import com.pineypiney.game_engine.util.maths.I import glm_.quat.Quat import glm_.vec3.Vec3 class Transform3D(position: Vec3 = Vec3(), rotation: Quat = Quat(), scale: Vec3 = Vec3(1)): Transform<Vec3, Q...
0
Kotlin
0
0
f927b3d9fa5f402fc85db008e46d876f397e5cf7
1,451
GameEngine
MIT License
components/filemanager/receive/src/main/java/com/flipperdevices/filemanager/receive/viewmodel/ReceiveViewModel.kt
flipperdevices
288,258,832
false
null
package com.flipperdevices.share.receive.viewmodel import android.app.Application import android.content.Intent import androidx.lifecycle.viewModelScope import com.flipperdevices.bridge.api.model.FlipperRequestPriority import com.flipperdevices.bridge.api.model.wrapToRequest import com.flipperdevices.bridge.protobuf.s...
2
Kotlin
31
293
522f873d6dcf09a8f1907c1636fb0c3a996f5b44
5,437
Flipper-Android-App
MIT License
shared/src/androidMain/kotlin/com/gurpreetsk/oofmrlinus/MuseumApp.kt
imGurpreetSK
835,042,964
false
{"Kotlin": 27037, "Swift": 677}
package com.gurpreetsk.oofmrlinus import android.app.Application import com.gurpreetsk.oofmrlinus.di.initKoin class MuseumApp : Application() { override fun onCreate() { super.onCreate() initKoin() } }
0
Kotlin
0
0
f70d3048d4dcdb70fd3df96ef0c8f0198b9ed787
228
OofMrLinus
Apache License 2.0
feature-assets/src/main/java/io/novafoundation/nova/feature_assets/presentation/send/amount/di/SelectSendComponent.kt
novasamatech
415,834,480
false
{"Kotlin": 8137060, "Java": 14723, "JavaScript": 425}
package io.novafoundation.nova.feature_assets.presentation.send.amount.di import androidx.fragment.app.Fragment import dagger.BindsInstance import dagger.Subcomponent import io.novafoundation.nova.common.di.scope.ScreenScope import io.novafoundation.nova.feature_assets.presentation.AssetPayload import io.novafoundatio...
12
Kotlin
6
9
b39307cb56302ce7298582dbd03f33f6b2e2a807
810
nova-wallet-android
Apache License 2.0
collector-exoplayer/src/main/java/com/bitmovin/analytics/exoplayer/ExoUtil.kt
bitmovin
120,633,749
false
null
package com.bitmovin.analytics.exoplayer import android.os.Handler import android.os.Looper import com.google.android.exoplayer2.ExoPlayerLibraryInfo import com.google.android.exoplayer2.Player internal object ExoUtil { fun exoStateToString(state: Int): String { return when (state) { Player.ST...
0
Kotlin
6
8
c593bdde3d6968b8be6263b5a79c20af2c95df0d
1,591
bitmovin-analytics-collector-android
Amazon Digital Services License
src/main/kotlin/com/skillw/pouvoir/internal/core/asahi/prefix/bukkit/Task.kt
Glom-c
396,683,163
false
null
package com.skillw.pouvoir.internal.core.asahi.prefix.bukkit import com.skillw.asahi.api.annotation.AsahiPrefix import com.skillw.asahi.api.prefixParser import com.skillw.asahi.api.quest import com.skillw.asahi.api.quester import com.skillw.pouvoir.internal.core.asahi.util.delay import taboolib.common.platform.functio...
3
null
8
9
35b93485f5f4c2d5c534a2765ff7cfb8f34dd737
3,183
Pouvoir
MIT License
locallydynamic-server-library/server/src/main/java/com/jeppeman/locallydynamic/server/extensions/InputStream.kt
poovarasanvasudevan
239,129,218
true
{"Kotlin": 319796, "Java": 302260, "Shell": 7767}
package com.jeppeman.locallydynamic.server.extensions import java.io.InputStream import java.nio.charset.Charset fun InputStream.readString(charset: Charset = Charsets.UTF_8) = readBytes().toString(charset)
0
null
0
0
9e52f801e8afdb88b245600dbfd4d6691fd22d95
208
LocallyDynamic
Apache License 2.0
test-fixture/integration/src/main/kotlin/com/linecorp/kotlinjdsl/test/integration/querydsl/where/AbstractCriteriaQueryDslWhereIntegrationTest.kt
line
442,633,985
false
null
package com.linecorp.kotlinjdsl.test.integration.querydsl.where import com.linecorp.kotlinjdsl.listQuery import com.linecorp.kotlinjdsl.querydsl.expression.col import com.linecorp.kotlinjdsl.querydsl.from.join import com.linecorp.kotlinjdsl.singleQuery import com.linecorp.kotlinjdsl.subquery import com.linecorp.kotlin...
26
Kotlin
60
504
f28908bf432cf52f73a9573b1ac2be5eb4b2b7dc
3,117
kotlin-jdsl
Apache License 2.0
module_user/src/main/kotlin/com/crow/module_user/ui/viewmodel/UserViewModel.kt
CrowForKotlin
610,636,509
false
null
package com.crow.module_user.ui.viewmodel import android.content.Context import android.graphics.drawable.Drawable import androidx.lifecycle.viewModelScope import com.bumptech.glide.Glide import com.bumptech.glide.request.RequestOptions import com.bumptech.glide.request.target.CustomTarget import com.bumptech.glide.re...
8
null
3
76
3b64f3bc7ef0f8014e9311f1c69515ecba83ebfc
5,256
CopyMangaX
Apache License 2.0
relive-simulator-core/src/commonMain/kotlin/xyz/qwewqa/relive/simulator/core/presets/dress/middle/flower/Kaoruko.kt
qwewqa
390,928,568
false
null
package xyz.qwewqa.relive.simulator.core.presets.dress.middle.flower import xyz.qwewqa.relive.simulator.core.presets.condition.FlowerOnlyCondition import xyz.qwewqa.relive.simulator.core.presets.condition.SunOnlyCondition import xyz.qwewqa.relive.simulator.core.presets.dress.generated.dress1090013 import xyz.qwewqa.re...
0
Kotlin
11
7
70e1cfaee4c2b5ab4deff33b0e4fd5001c016b74
3,468
relight
MIT License
backend/src/test/kotlin/metrik/project/domain/model/StageTest.kt
hyrepo
381,448,946
true
{"Kotlin": 282451, "TypeScript": 129526, "JavaScript": 96555, "Gherkin": 26976, "Shell": 7991, "Dockerfile": 2490, "HTML": 354, "Less": 341}
package metrik.project.domain.model import org.junit.jupiter.api.Assertions.* import org.junit.jupiter.api.Test internal class StageTest { @Test internal fun `should return completedTime when stage contains completedTime`() { assertEquals(1610700490630, Stage(startTimeMillis = 1610700490500, durationM...
0
null
0
1
f0bb069647ec1ed96558f526c802a02d8e6b88d0
737
metrik
MIT License
app/src/main/java/me/devsaki/hentoid/util/BundleX.kt
avluis
37,775,708
false
null
package me.devsaki.hentoid.util import android.os.Bundle import android.os.Parcel import kotlin.properties.ReadWriteProperty import kotlin.reflect.KProperty /** * Creates a property delegate that uses the property name as the key to get and set [Bundle] * values. The property will return [default] if the key is not...
167
null
84
992
f54df07b79da4147951bc9902ab0dbd70edb50f1
3,382
Hentoid
Apache License 2.0
library/src/main/java/com/prongbang/mvirx/RxViewRenderer.kt
dgfug
409,275,566
true
{"Kotlin": 12064}
package com.prongbang.mvirx /** * How to use: * class FeatureActivity : AppCompatActivity(), RxViewRenderer<FeatureState, FeatureEffect> { * override fun render(state: FeatureState) { * * } * * override fun renderEffect(effect: FeatureEffect) { * * } * } */ interface RxViewRenderer<S : R...
1
Kotlin
0
0
9541681f6feb9e9ca74dd79bdb19a37dafb5cab5
396
mvi-rx
MIT License
src/main/kotlin/no/nav/tms/minesaker/api/saf/SafConsumer.kt
navikt
331,032,645
false
{"Kotlin": 176442, "Dockerfile": 219}
package no.nav.personbruker.minesaker.api.saf import io.ktor.client.* import io.ktor.client.call.* import io.ktor.client.plugins.* import io.ktor.client.request.* import io.ktor.client.statement.* import io.ktor.http.* import io.ktor.http.HttpHeaders.Authorization import kotlinx.coroutines.Dispatchers import kotlinx.c...
3
Kotlin
1
0
c77241f766ef551675a695c0fcbbdd3c52daf25e
5,976
mine-saker-api
MIT License
src/controller/java/src/matter/tlv/TlvReader.kt
project-chip
244,694,174
false
null
/* * * Copyright (c) 2023 Project CHIP Authors * Copyright (c) 2019-2023 Google LLC. * * 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/l...
949
null
53
6,671
420e6d424c00aed3ead4015eafd71a1632c5e540
14,614
connectedhomeip
Apache License 2.0
dotmimsync/src/main/java/com/mimetis/dotmim/sync/set/SyncRow.kt
vunder
425,091,264
false
{"Kotlin": 437311}
package com.mimetis.dotmim.sync.set import kotlinx.serialization.Serializable import kotlinx.serialization.Transient import com.mimetis.dotmim.sync.DataRowState import com.mimetis.dotmim.sync.PrimitiveSerializer import java.util.* @Serializable class SyncRow(@Transient val length: Int = 0) { private var buffer: A...
0
Kotlin
2
0
dea5c08c78dbae1e74552fafa3d720468b7cfabf
2,285
dotmimsync
MIT License
android_demo/demo_tflite/app/src/main/java/com/edvard/poseestimation/ImageClassifierFloatInception.kt
edvardHua
129,207,952
false
null
/* * Copyright 2018 <NAME> (<EMAIL>), <NAME> (<EMAIL>) * 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...
90
null
3
963
e31fb850c92ba7e220f861e9484b9cd1bdd5696f
4,757
PoseEstimationForMobile
Apache License 2.0
core/src/main/kotlin/ca/allanwang/kau/utils/BundleUtils.kt
AllanWang
93,970,224
false
{"Gradle": 16, "YAML": 6, "Java Properties": 2, "Shell": 4, "Text": 15, "Ignore List": 14, "Batchfile": 1, "Kotlin": 141, "EditorConfig": 1, "Markdown": 13, "Ruby": 1, "Proguard": 2, "XML": 220, "Java": 4, "HTML": 1, "INI": 1, "SVG": 3, "JSON": 1, "Gradle Kotlin DSL": 2}
/* * Copyright 2018 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
5
Kotlin
27
221
259345ccb6c28f24de8b945e9aa5a1f25d610f84
4,984
KAU
Apache License 2.0
kcrud-employment/src/main/kotlin/kcrud/domain/Main.kt
perracodex
682,128,013
false
{"Kotlin": 649058, "JavaScript": 29040, "CSS": 12723, "HTML": 5862, "Dockerfile": 3125}
/* * Copyright (c) 2024-Present Perracodex. Use of this source code is governed by an MIT license. */ package kcrud.domain /** * Main function for the employment module. * This module is not executable. Execute the application server module instead. */ public fun main() { println("Employment module. Execute ...
0
Kotlin
0
2
bb381082eff46b81f9fe803b08a24f718b12339f
363
kcrud
MIT License
app/src/main/kotlin/com/login/app/App.kt
SerhiiVarynytskyi
217,059,265
false
null
package com.login.app import com.login.app.di.component.DaggerAppComponent import dagger.android.AndroidInjector import dagger.android.DaggerApplication class App : DaggerApplication() { override fun applicationInjector(): AndroidInjector<out DaggerApplication> { return DaggerAppComponent.builder().creat...
0
Kotlin
0
0
ae0b7390fbf1fe2d06576ca1be187a8c97ab9734
398
social-network-login-helper
MIT License
save-backend/src/main/kotlin/com/saveourtool/save/backend/repository/AgentRepository.kt
saveourtool
300,279,336
false
{"Kotlin": 3413689, "SCSS": 86430, "JavaScript": 9061, "HTML": 8852, "Shell": 2770, "Smarty": 2608, "Dockerfile": 1366}
package com.saveourtool.save.backend.repository import com.saveourtool.save.entities.Agent import com.saveourtool.save.spring.repository.BaseEntityRepository import org.springframework.stereotype.Repository /** * JPA repository for agents. */ @Repository interface AgentRepository : BaseEntityRepository<Agent> { ...
201
Kotlin
3
38
7e126d4fb23f8527c47ca9fa27282379759d154e
671
save-cloud
MIT License
shared/src/commonMain/kotlin/presentation/theme/Color.kt
m07med176
672,368,552
false
null
package presentation.theme import androidx.compose.ui.graphics.Color object Color{ val red = Color(0xFFFF1100) val primary = Color(0xFFDB3022) val secondary = Color(0xFFF9F9F9) val mainText = Color(0xFF222222) val lightGray = Color(0xFF9B9B9B) val Success = Color(0xFF2ED573) val Warning...
0
Kotlin
0
1
6f979657f767c2fe5d3b906902e33bf6621f079e
420
productApp-compose-multiplatform
Apache License 2.0
ERMSEmployee/src/main/java/com/kust/ermsemployee/ui/dashboard/FeatureListingAdapter.kt
sabghat90
591,653,827
false
null
package com.kust.ermsemployee.ui.dashboard import android.view.LayoutInflater import android.view.ViewGroup import androidx.recyclerview.widget.RecyclerView import com.kust.ermsemployee.data.model.FeatureModel import com.kust.ermsemployee.databinding.FeatureItemBinding class FeatureListingAdapter : RecyclerView.Adapt...
3
Kotlin
1
7
12030507bbd683a1004a19eb9eda78462fe48b81
1,797
ERMS
MIT License
library/src/main/java/io/karn/notify/entities/Payload.kt
RockySteveJobs
163,662,488
true
{"Kotlin": 80107}
package io.karn.notify.entities import android.app.PendingIntent import android.graphics.Bitmap import android.media.RingtoneManager import android.net.Uri import androidx.annotation.ColorInt import androidx.annotation.DrawableRes import androidx.core.app.NotificationCompat import io.karn.notify.Notify import io.karn....
0
Kotlin
0
0
f765689b784dd4afc9ca689b8e818f87914bf645
11,686
notify
MIT License
app/src/main/java/org/bitbucket/moviex/MainActivity.kt
yuelvic
146,885,310
false
null
package org.bitbucket.moviex import android.os.Bundle import android.view.Menu import androidx.appcompat.widget.SearchView import com.xrojan.rxbus.RxBus import kotlinx.android.synthetic.main.activity_main.* import org.bitbucket.moviex.ui.base.BaseActivity class MainActivity : BaseActivity() { override fun onCrea...
0
Kotlin
0
2
20c51bfa3e933967d9cb3451fb8d7ffc0857cd69
1,167
MovieX
The Unlicense
src/test/kotlin/uk/gov/justice/digital/hmpps/nomisprisonerapi/helper/builders/OffenderBooking.kt
ministryofjustice
444,895,409
false
{"Kotlin": 1869814, "PLSQL": 244328, "Dockerfile": 1112}
package uk.gov.justice.digital.hmpps.nomisprisonerapi.helper.builders import org.springframework.data.repository.findByIdOrNull import org.springframework.stereotype.Component import uk.gov.justice.digital.hmpps.nomisprisonerapi.helper.builders.PartyRole.WITNESS import uk.gov.justice.digital.hmpps.nomisprisonerapi.jpa...
1
Kotlin
0
0
fc716d6941f50a34d1a5b5863ef6248e9c00892b
9,316
hmpps-nomis-prisoner-api
MIT License
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/personalize/ContinuousHyperParameterRangePropertyDsl.kt
F43nd1r
643,016,506
false
null
package com.faendir.awscdkkt.generated.services.personalize import com.faendir.awscdkkt.AwsCdkDsl import javax.`annotation`.Generated import kotlin.Unit import software.amazon.awscdk.services.personalize.CfnSolution @Generated public fun buildContinuousHyperParameterRangeProperty(initializer: @AwsCdkDsl CfnSoluti...
1
Kotlin
0
0
a1cf8fbfdfef9550b3936de2f864543edb76348b
529
aws-cdk-kt
Apache License 2.0
test/src/test/kotlin/test/java/integration/core/compile/success/method/resulthelper/ResultHelperTest.kt
afezeria
456,986,646
false
null
package test.java.integration.core.compile.success.method.resulthelper import org.junit.Test import test.BaseTest import test.Person import java.util.* import kotlin.test.assertContentEquals /** * * @author afezeria */ class ResultHelperTest : BaseTest() { @Test fun `query return single column`() { ...
0
Kotlin
3
5
f52fb74f3805b0518b2f0fce4eb842dee9517a4f
3,266
freedao
Apache License 2.0
src/main/java/net/dankrushen/danknn/danklayers/IDankOutputLayer.kt
ButterscotchV
160,415,202
false
{"Kotlin": 42598}
package net.dankrushen.danknn.danklayers import net.dankrushen.danknn.DankConnection interface IDankOutputLayer : IDankLayer { val inputLayer: IDankInputLayer val inputConnections: Array<DankConnection> }
0
Kotlin
0
0
e875bb2d32155b7272a4ca7715eab9ae0b984990
216
DankNN
MIT License
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/HomeOff.kt
walter-juan
868,046,028
false
{"Kotlin": 34345428}
package com.woowla.compose.icon.collections.tabler.tabler.outline import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap im...
0
Kotlin
0
3
eca6c73337093fbbfbb88546a88d4546482cfffc
3,313
compose-icon-collections
MIT License
jetbrains-core/tst/software/aws/toolkits/jetbrains/core/region/MockRegionProvider.kt
JetBrains
223,485,227
false
null
// Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package software.aws.toolkits.jetbrains.core.region import com.intellij.openapi.components.service import com.intellij.testFramework.ApplicationRule import software.amazon.awssdk.regions.Region import sof...
7
null
4
9
ccee3307fe58ad48f93cd780d4378c336ee20548
4,160
aws-toolkit-jetbrains
Apache License 2.0
app/src/main/java/com/sukitsuki/ano/adapter/AnimListAdapter.kt
Tsuki
176,246,872
false
null
package com.sukitsuki.ano.adapter import android.annotation.SuppressLint import android.content.Context import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.TextView import androidx.recyclerview.widget.RecyclerView import com.sukitsuki.ano.R import com.sukitsu...
0
Kotlin
1
1
9e4f9285e2b1c47068edabf396e268225e583ed1
1,755
ano
MIT License
core/test/io/github/tozydev/patek/utils/BukkitColorKtTest.kt
tozydev
773,615,401
false
{"Kotlin": 120010}
package io.github.tozydev.patek.utils import kotlin.test.Test import kotlin.test.assertEquals import kotlin.test.assertFailsWith class BukkitColorKtTest { @Test fun `should parse RGB color with default alpha`() { val color = BukkitColor("#ff0000") assertEquals(0xff, color.alpha, "Alpha") ...
0
Kotlin
0
1
e7106075bd0a2fc2f41f9039ddcd5ba234d7e786
1,578
patek
MIT License
library/src/main/java/com/herry/libs/nodeview/model/NodeRoot.kt
HerryPark
273,154,769
false
null
package com.herry.libs.nodeview.model import android.util.Log class NodeRoot internal constructor(private val notify: NodeNotify, private val log: Boolean = false) : Node<NodeModelGroup>(NodeModelGroup()) { private var nextNodeId = 0L private var isTransition = false private var isNodeSetChanged = fals...
0
null
1
3
d30435c01387614ec24a79ffd5afcdb89edf5298
4,538
HerryApiDemo
Apache License 2.0
android/engine/src/test/java/org/smartregister/fhircore/engine/sync/AppTimeStampContextTest.kt
opensrp
339,242,809
false
null
/* * Copyright 2021-2023 Ona Systems, 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 o...
192
null
56
56
64a55e6920cb6280cf02a0d68152d9c03266518d
2,421
fhircore
Apache License 2.0
app/src/main/java/com/example/arturo/mycomics/ui/navigation/Navigator.kt
artjimlop
96,988,205
false
{"Gradle": 5, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 4, "Batchfile": 1, "YAML": 1, "Markdown": 1, "Kotlin": 60, "Proguard": 2, "XML": 17, "Java": 3}
package com.example.arturo.mycomics.ui.navigation import android.content.Context import android.content.Intent import com.example.arturo.mycomics.ui.comics.models.ComicModel import com.example.arturo.mycomics.ui.comics.views.ComicDetailActivity import javax.inject.Inject class Navigator @Inject constructor() { f...
1
null
1
1
e12c3df7736be0f28d1b2d9dd523129aaf817f98
615
clean-architecture-kotlin
Apache License 2.0
app/src/androidTest/java/com/sample/android/tmdb/main/TestUpcomingTVSeries.kt
Ali-Rezaei
158,464,119
false
null
package com.sample.android.tmdb.ui.paging.main.movie import android.content.Context import android.content.Intent import androidx.test.InstrumentationRegistry import androidx.test.filters.LargeTest import androidx.test.rule.ActivityTestRule import androidx.test.runner.AndroidJUnit4 import com.sample.android.tmdb.ui.pa...
1
null
8
70
ea80dd0481f141e55e0d06073d50676758073d34
1,055
TMDb-Paging
The Unlicense
src/main/kotlin/edu/put_the_machine/scrapper/model/dto/parser/LessonTimeInterval.kt
sstu-iksp
338,553,080
false
{"Gradle": 1, "Gradle Kotlin DSL": 1, "INI": 2, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "Java": 52, "HTML": 6, "JSON": 6, "Kotlin": 22, "YAML": 1}
package edu.put_the_machine.scrapper.model.dto.parser import java.time.LocalDate import java.time.LocalTime data class LessonTimeInterval( val start: LocalTime, val end: LocalTime, val date: LocalDate )
1
null
1
1
f0559981d2330d57d9682633cf777711e96ea192
219
schedule-scrapper
MIT License
control_client/src/main/java/at/rmbt/client/control/MapServerClient.kt
rtr-nettest
195,193,208
false
{"Kotlin": 1584817, "Java": 669959, "HTML": 43778, "Shell": 4061}
package at.rmbt.client.control import android.net.Uri import androidx.lifecycle.MutableLiveData import at.rmbt.client.control.data.MapPresentationType import at.rmbt.util.Maybe import okhttp3.ResponseBody import retrofit2.Response import timber.log.Timber import javax.inject.Inject class MapServerClient @Inject const...
1
Kotlin
12
28
4b0754a8bdbf1203ecc5961f642105ec131a9536
1,708
open-rmbt-android
Apache License 2.0
objects/src/commonMain/kotlin/ru/krindra/vkkt/objects/ads/AdsTargSuggestionsSchoolsType.kt
krindra
780,080,411
false
null
package ru.krindra.vknorthtypes.ads import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable @Serializable enum class AdsTargSuggestionsSchoolsType(val value: String){ @SerialName("school") SCHOOL("school"), @SerialName("university") UNIVERSITY("university"), @SerialName("faculty"...
0
null
0
1
58407ea02fc9d971f86702f3b822b33df65dd3be
385
VKKT
MIT License
processing-tests/common/test/kotlin/com/livefront/sealedenum/compilation/hierarchy/SealedInterfaceHierarchy.kt
livefront
244,991,153
false
null
package com.livefront.sealedenum.compilation.hierarchy import com.livefront.sealedenum.GenSealedEnum import org.intellij.lang.annotations.Language class FirstInterfaceHierarchy { sealed interface A { sealed interface B : A { object C : B @GenSealedEnum(generateEnum = true) ...
6
Kotlin
7
87
00b8f3753c71ed7cdd82a9c5e822f9e558ffb8c1
23,946
sealed-enum
Apache License 2.0
3247.Number of Subsequences with Odd Sum.kt
sarvex
842,260,390
false
{"Kotlin": 1775678, "PowerShell": 418}
internal class Solution { fun subsequenceCount(nums: IntArray): Int { val mod = 1e9.toInt() + 7 var f = IntArray(2) for (x in nums) { val g = IntArray(2) if (x % 2 == 1) { g[0] = (f[0] + f[1]) % mod g[1] = (f[0] + f[1] + 1) % mod } else { g[0] = (f[0] + f[0] + 1) ...
0
Kotlin
0
0
17a80985d970c8316fb694e4952692e598d700af
409
kotlin-leetcode
MIT License
src/br/ufal/ic/ufood/data/user/UserRepositoryImpl.kt
koallann
225,185,269
false
{"Kotlin": 60836}
package br.ufal.ic.ufood.data.user import br.ufal.ic.ufood.domain.Address import br.ufal.ic.ufood.domain.Credentials import br.ufal.ic.ufood.domain.User import br.ufal.ic.ufood.domain.coupon.BreakfastCoupon import br.ufal.ic.ufood.domain.coupon.Coupon import br.ufal.ic.ufood.domain.coupon.DinnerCoupon import br.ufal.i...
0
Kotlin
0
0
83980d84cec3f08d08c627302976e5876dbc8b3b
4,013
uFood
Apache License 2.0
src/jsMain/kotlin/events_interactions_animations/detectCoordinates.kt
petertiupe
432,820,771
false
null
package events_interactions_animations import de.tiupe.Selection import de.tiupe.d3 import org.w3c.dom.Node import org.w3c.dom.events.Event fun detectCoordinates(){ console.log("detectCoordinates läuft") pixelCoordinates("#detectCoordinatesSvg") } private fun pixelCoordinates(selctorString: String) { v...
0
Kotlin
0
0
f46e7c8f24d58ba62d4ad29db20ae2326aff748d
718
f2kd3
MIT License
app/src/wallet/java/com/merative/healthpass/ui/landing/LandingViewModel.kt
digitalhealthpass
563,978,682
false
{"Kotlin": 1047923, "HTML": 79495, "Python": 22113, "Java": 1959}
package com.merative.healthpass.ui.landing import androidx.lifecycle.ViewModel import com.merative.healthpass.models.sharedPref.ContactPackage import com.merative.healthpass.ui.region.EnvironmentHandler import com.merative.healthpass.utils.pref.ContactDB import com.merative.healthpass.utils.pref.IssuerMetadataDB impor...
0
Kotlin
0
0
2b086f6fad007d1a574f8f0511fff0e65e100930
2,573
dhp-android-app
Apache License 2.0
app/src/androidTest/kotlin/mobi/akesson/jdm/ExampleTest.kt
akesson
55,406,276
false
null
package mobi.akesson.jdm import android.support.test.rule.ActivityTestRule import android.support.test.runner.AndroidJUnit4 import org.junit.Rule import org.junit.Test import org.junit.runner.RunWith /** * [Testing Fundamentals](http://d.android.com/tools/testing/testing_android.html) */ @RunWith(AndroidJUnit4::cla...
4
null
0
0
140197c8e0feee71fedb37ba94e30eb4755b831d
459
JdM-Android
Apache License 2.0
src/test/kotlin/FinancialManagerTest.kt
gustavoarruda
644,958,483
false
null
import org.junit.Assert.assertEquals import org.junit.Before import org.junit.Test import java.time.LocalDate class FinancialManagerTest { private lateinit var manager: FinancialManager @Before fun setUp() { manager = FinancialManager() } @Test fun testAddAsset() { val asset ...
0
Kotlin
0
0
8e2115d30937fd3612a7a322fcb06b78b2f5e006
1,367
FinancialManagerFinal
MIT License
plugin/src/main/kotlin/com/varabyte/kobweb/intellij/services/project/KobwebProjectCacheService.kt
varabyte
745,632,890
false
{"Kotlin": 69311}
package com.varabyte.kobweb.intellij.services.project import com.intellij.openapi.module.Module import com.intellij.openapi.vfs.VirtualFile import com.intellij.psi.PsiElement import com.varabyte.kobweb.intellij.project.KobwebProject import com.varabyte.kobweb.intellij.util.psi.containingKlib import org.jetbrains.kotli...
30
Kotlin
1
6
cd01ca55e46653611903862730442da88fbbf1f4
3,646
kobweb-intellij-plugin
Apache License 2.0
event-queue/src/main/kotlin/io/kommons/designpatterns/eventqueue/Audio.kt
debop
235,066,649
false
null
package io.kommons.designpatterns.eventqueue import io.kommons.logging.KLogging import io.kommons.logging.trace import java.io.File import java.io.IOException import javax.sound.sampled.AudioInputStream import javax.sound.sampled.AudioSystem import javax.sound.sampled.LineUnavailableException import kotlin.concurrent....
0
Kotlin
11
53
c00bcc0542985bbcfc4652d0045f31e5c1304a70
3,340
kotlin-design-patterns
Apache License 2.0
app/src/main/java/com/comjeong/nomadworker/domain/model/signin/SignInResult.kt
HUFSummer-Hackathon
512,365,622
false
null
package com.comjeong.nomadworker.domain.model.signin data class SignInResult( val message: String, val status: Int, val data: Result ) { data class Result( val userId: Long, val userProfileImageUrl: String?, val nickname: String?, val accessToken: String?, val la...
2
Kotlin
0
0
5857dbe020888785367e0e4596a7b342aa1ec4a7
372
NomadWorker-Android
MIT License
module-server/src/main/kotlin/de/twomartens/wahlrecht/configuration/PropertyConfiguration.kt
2martens
673,979,017
false
null
package de.twomartens.wahlrecht.configuration import de.twomartens.wahlrecht.property.RestTemplateTimeoutProperties import de.twomartens.wahlrecht.property.ServiceProperties import de.twomartens.wahlrecht.property.StatusProbeProperties import org.springframework.boot.context.properties.EnableConfigurationProperties im...
0
Kotlin
0
0
c3699d44a7fd4576302b3c7c0f5969e40e24587a
555
wahlrecht
Apache License 2.0
client/src/main/java/com/fesskiev/compose/ui/screens/EditNoteScreen.kt
fesskiev
328,395,075
false
null
package com.fesskiev.compose.ui.screens import androidx.compose.foundation.layout.* import androidx.compose.foundation.rememberScrollState import androidx.compose.foundation.verticalScroll import androidx.compose.material.Button import androidx.compose.material.MaterialTheme import androidx.compose.material.Text impor...
0
Kotlin
0
0
eb50aeadbd1b33dc4f83859d63acc1ab5672e525
3,168
NotesClientServerApp
MIT License
data/src/main/java/com/nemesis/rio/data/mplus/seasons/database/SeasonsDao.kt
N3-M3-S1S
370,791,918
false
null
package com.nemesis.rio.data.mplus.seasons.database import androidx.room.Dao import androidx.room.Insert import androidx.room.OnConflictStrategy import androidx.room.Query import com.nemesis.rio.domain.game.Expansion import com.nemesis.rio.domain.mplus.seasons.Season @Dao abstract class SeasonsDao { @Query("SELE...
0
Kotlin
0
0
62dc309a7b4b80ff36ea624bacfa7b00b5d8607e
1,126
rio
MIT License
core-kotlin-modules/core-kotlin-arrays/src/test/kotlin/com/baeldung/array/ArrayReorderUnitTest.kt
Baeldung
260,481,121
false
null
package cn.tuyucheng.taketoday.array import org.junit.jupiter.api.Assertions import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test import kotlin.random.Random class ArrayReorderUnitTest { lateinit var numbers: Array<Int> @BeforeEach fun setUp() { numbers = arrayOf(3, 2, 50, 15, 10, 1) } @...
14
null
6
465
f1ef5d5ded3f7ddc647f1b6119f211068f704577
2,560
kotlin-tutorials
MIT License
src/main/kotlin/xyz/bluspring/nicknamer/integrations/NicknamerModMenuIntegration.kt
BluSpring
567,541,296
false
{"Kotlin": 67338, "Java": 9529}
package xyz.bluspring.nicknamer.integrations import com.terraformersmc.modmenu.api.ConfigScreenFactory import com.terraformersmc.modmenu.api.ModMenuApi import me.shedaniel.clothconfig2.api.ConfigBuilder import net.minecraft.text.Text import xyz.bluspring.nicknamer.config.ConfigManager class NicknamerModMenuIntegratio...
2
Kotlin
0
6
a43c676dbf4cdf3fd2cd4148f555a66da964ac11
5,316
Nicknamer
The Unlicense
domain/src/main/kotlin/cz/eman/kaalsample/domain/feature/usermanagement/source/UserDataSource.kt
eManPrague
189,150,450
false
null
package cz.eman.kaalsample.domain.feature.usermanagement.source import cz.eman.kaal.domain.result.Result import cz.eman.kaalsample.domain.feature.usermanagement.model.User /** * @author vsouhrada (<EMAIL>) */ interface UserDataSource { suspend fun authorizeUser(user: User): Result<User> suspend fun regist...
1
null
2
6
f9c0f2c8f617a4810e5c050d6fb1b9f3e508988c
355
kaal-sample
MIT License
project/core/src/main/kotlin/io/github/heyhey123/geoipfilter/hookDatabase.kt
heyhey123-git
845,990,407
false
{"Kotlin": 25049}
@file:Suppress("SwallowedException", "TooGenericExceptionCaught", "MagicNumber") package io.github.heyhey123.geoipfilter import com.maxmind.geoip2.DatabaseReader import com.maxmind.geoip2.WebServiceClient import io.github.heyhey123.geoipfilter.IPQuery.databaseReader import io.github.heyhey123.geoipfilter.IPQuery.load...
0
Kotlin
0
0
f5cf42d750d76b9b93e47b9e87b100ab524382f1
3,038
GeoIpFilter
Creative Commons Zero v1.0 Universal
j2k/src/org/jetbrains/kotlin/j2k/ast/NewClassExpression.kt
JakeWharton
99,388,807
false
null
/* * Copyright 2010-2015 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
0
null
30
83
4383335168338df9bbbe2a63cb213a68d0858104
1,487
kotlin
Apache License 2.0
lib/src/test/kotlin/dev/hossain/android/catalogparser/ParserTest.kt
priyankpat
440,923,899
true
{"Kotlin": 14100}
package dev.hossain.android.catalogparser import com.google.gson.Gson import dev.hossain.android.catalogparser.models.AndroidDevice import kotlin.test.BeforeTest import kotlin.test.Test import kotlin.test.assertEquals import kotlin.test.assertTrue /** * Tests the Android device catalog CSV parser. */ class ParserT...
0
null
0
1
64867a574b016d28e4bec4cd388a65f438f3175b
5,894
android-device-catalog-parser
Apache License 2.0
plugin/android-junit5/src/test/kotlin/de/mannodermaus/gradle/plugins/junit5/util/TestExtensions.kt
mannodermaus
69,637,233
false
null
package de.mannodermaus.gradle.plugins.junit5.util import org.gradle.api.Project import org.gradle.api.Task import org.gradle.api.internal.project.ProjectInternal import org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestFramework import org.gradle.api.tasks.TaskContainer import org.gradle.api.tasks....
6
null
52
863
8089c75235112149b6911c55111dc109b4b8f66c
4,095
android-junit5
Apache License 2.0
asyncapi-core/src/test/kotlin/com/asyncapi/v3/schema/ReadJsonSchemaTest.kt
asyncapi
262,555,517
false
{"Kotlin": 1663312, "Java": 768695}
package com.asyncapi.v3.schema import com.asyncapi.v3.ClasspathUtils import com.asyncapi.v3.schema.json.* import com.fasterxml.jackson.annotation.JsonInclude import com.fasterxml.jackson.databind.ObjectMapper import org.junit.jupiter.api.* import org.junit.jupiter.api.extension.ExtensionContext import org.junit.jupite...
11
Kotlin
22
64
94a3d1628b17ec58659693bc9ad3b98bca53f172
2,986
jasyncapi
Apache License 2.0
completion/testData/basic/multifile/NotImportedNestedClassFromPrivateClass/NotImportedNestedClassFromPrivateClass.dependency.kt
JetBrains
278,369,660
false
null
package dependency private class PrivateTopLevelClass { class PublicNestedClass protected class ProtectedNestedClass private class PrivateNestedClass inner class PublicInnerClass protected inner class ProtectedInnerClass private inner class PrivateInnerClass }
0
null
30
82
cc81d7505bc3e9ad503d706998ae8026c067e838
286
intellij-kotlin
Apache License 2.0
app/src/main/java/com/a10miaomiao/bilimiao/adapter/VideoPagesAdapter.kt
10miaomiao
115,510,569
false
null
package com.a10miaomiao.bilimiao.adapter import com.a10miaomiao.bilimiao.R import com.a10miaomiao.bilimiao.entity.VideoDetailsInfo import com.chad.library.adapter.base.BaseQuickAdapter import com.chad.library.adapter.base.BaseViewHolder /** * Created by 10喵喵 on 2017/11/3. */ class VideoPagesAdapter(list : List<Vide...
1
null
1
20
dfd78b56b5c41eb49454836ee2bce5cefc667db7
612
bilimiao
Apache License 2.0
kge-core/src/main/kotlin/dev/staticsanches/kge/image/service/PixelService.kt
staticsanches
796,330,735
false
null
package dev.staticsanches.kge.image.service import dev.staticsanches.kge.image.IntColorComponent import dev.staticsanches.kge.image.Pixel import dev.staticsanches.kge.spi.KGESPIExtensible import kotlin.math.pow /** * Extensible service capable of handling [Pixel] manipulations. */ interface PixelService : KGESPIExt...
0
null
0
2
f7b768d8f927515f8f6bb39acfb3063b1498e9f3
3,399
kge
MIT License
app/projfair/src/main/java/me/progneo/projfair/data/service/ProjectsService.kt
imysko
498,018,609
false
{"Kotlin": 862247}
package me.progneo.projfair.data.service import me.progneo.projfair.domain.model.Project import me.progneo.projfair.domain.model.ProjectsResponse import retrofit2.Response import retrofit2.http.GET import retrofit2.http.Header import retrofit2.http.Path import retrofit2.http.Query internal interface ProjectsService {...
1
Kotlin
1
2
ebc331edebae2f6f38569a29c9c0b16773f7ede3
1,259
Schedule-ISTU
MIT License
papa-safetrace/src/main/java/papa/internal/SafeTraceMainThreadMessages.kt
square
407,688,593
false
{"Kotlin": 175981}
package papa.internal import android.os.Handler import android.os.Looper import com.squareup.papa.safetrace.R import papa.MainThreadMessageSpy import papa.SafeTrace import papa.SafeTraceSetup internal object SafeTraceMainThreadMessages { private val traceMainThreadMessages: Boolean get() { if (!SafeTrace...
13
Kotlin
15
353
2ce2018099c2acda7f50a8bd37061865c3dfe5e8
1,700
papa
Apache License 2.0
cinescout/utils/kotlin/src/commonMain/kotlin/cinescout/utils/kotlin/list.kt
4face-studi0
280,630,732
false
null
package cinescout.utils.kotlin import arrow.core.Either import arrow.core.NonEmptyList import arrow.core.Option fun <T> List<T>.nonEmpty(): Option<NonEmptyList<T>> = NonEmptyList.fromList(this) fun <T, A> List<T>.nonEmpty(ifEmpty: () -> A): Either<A, NonEmptyList<T>> = NonEmptyList.fromList(this) .to...
24
Kotlin
1
3
dabd9284655ead17314e871530a9664aa6965953
336
CineScout
Apache License 2.0
appholder/src/main/java/com/android/identity/wallet/documentdata/DrivingLicense.kt
openwallet-foundation-labs
248,844,077
false
null
package com.android.identity.wallet.documentdata import com.android.identity.documenttype.DocumentAttributeType import com.android.identity.documenttype.StringOption object DrivingLicense { const val MDL_NAMESPACE = "org.iso.18013.5.1" const val AAMVA_NAMESPACE = "org.iso.18013.5.1.aamva" fun getMdocCompl...
99
null
83
163
e6bf25766985521b9a39d4ed7999f22d57064db5
8,209
identity-credential
Apache License 2.0
app/src/main/java/com/example/root/graduation_app/ui/activity/MusicPlayActivity.kt
jiwenjie
161,740,682
false
null
package com.example.root.graduation_app.ui.activity import android.animation.ObjectAnimator import android.annotation.SuppressLint import android.app.Activity import android.content.ComponentName import android.content.Context import android.content.Intent import android.content.ServiceConnection import android.os.Bun...
0
Kotlin
3
9
a3730f1758f8fe8d13cdd1d53045fa229f7e166d
9,343
Graduation_App
Apache License 2.0
libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/plugin/mpp/external/KotlinSourceSetExtensions.kt
vmichalak
364,875,385
true
{"Kotlin": 69686329, "Java": 7040677, "Swift": 4240529, "C": 2633594, "C++": 2415282, "Objective-C": 580704, "JavaScript": 209639, "Objective-C++": 165277, "Groovy": 103211, "Python": 43460, "Shell": 31275, "TypeScript": 22854, "Lex": 18369, "Batchfile": 11692, "CSS": 11259, "EJS": 5241, "Ruby": 4878, "HTML": 4793, "CM...
/* * Copyright 2010-2022 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.gradle.plugin.mpp.external import org.jetbrains.kotlin.gradle.ExternalKotlinTarg...
7
Kotlin
1
1
6614714c9465ed122ad8f36b6e8149dbcfcd41bb
595
kotlin
Apache License 2.0
tulip/libtulip-ui-api/src/commonMain/kotlin/com/tajmoti/libtulip/ui/player/VideoPlayerUtils.kt
Tajmoti
391,138,914
false
null
package com.tajmoti.libtulip.ui.player import com.tajmoti.libtulip.dto.EpisodeInfoDto import com.tajmoti.libtulip.dto.SeasonEpisodeDto import com.tajmoti.libtulip.dto.StreamableInfoDto import com.tajmoti.libtulip.dto.TulipMovieDto import kotlin.jvm.JvmStatic import kotlin.time.Duration.Companion.hours import kotlin.ti...
6
Kotlin
0
0
5f1a6a4a5432981535313710f0037726c80118b8
1,910
Tulip
MIT License
ok-workoutapp-common/src/commonMain/kotlin/models/WktState.kt
ermolaevalexey
583,599,964
false
null
package ru.otus.otuskotlin.workoutapp.common.models enum class WktState { NONE, RUNNING, FAILING, FINISHING }
0
Kotlin
1
0
3edcc4fb4067109216c76d50d7f6d2329a49f069
118
202212-ok-workoutapp
Apache License 2.0
src/main/kotlin/com/zhipuchina/wxpay/repository/Repository.kt
markrenChina
327,533,120
false
null
package com.zhipuchina.wxpay.repository import com.zhipuchina.wxpay.repository.network.ApiConfig import com.zhipuchina.wxpay.repository.network.ServiceCreator import com.zhipuchina.wxpay.repository.network.model.wxrequest.UnifiedOrder import com.zhipuchina.wxpay.repository.network.model.wxresponse.UnifiedOrderWxRespon...
0
Kotlin
0
0
eec75ba85112754607f12791b8df1919ef444b55
703
wxpay
MIT License
app/src/main/kotlin/com/thoughtbot/tropos/extensions/ContextExtensions.kt
thoughtbot
78,581,829
false
null
package com.thoughtbot.tropos.extensions import android.content.Context import android.content.SharedPreferences import android.content.pm.PackageManager import androidx.core.content.ContextCompat fun Context.hasPermission(permission: String): Boolean { return ContextCompat.checkSelfPermission(this, permission) == ...
5
null
21
132
f78bf3c84ea91c08d200da6ad851920fcc259f82
493
tropos-android
MIT License
domain/src/main/java/com/cmc/curtaincall/domain/repository/ReviewRepository.kt
CurtainCall-App
659,971,351
false
{"Kotlin": 1298142}
package com.cmc.curtaincall.domain.repository import androidx.paging.PagingData import com.cmc.curtaincall.domain.enums.ReviewSortType import com.cmc.curtaincall.domain.model.review.CreateReviewModel import com.cmc.curtaincall.domain.model.review.LikeReviewModel import com.cmc.curtaincall.domain.model.review.ShowRevie...
4
Kotlin
1
5
c9f51916e3acbb292f364b3a3191991506d76580
1,388
CurtainCall-AOS
Apache License 2.0
subprojects/emcee/queue-client-api/src/main/kotlin/com/avito/emcee/queue/ScheduleTestsBody.kt
avito-tech
230,265,582
false
null
package com.avito.emcee.queue import com.squareup.moshi.Json import com.squareup.moshi.JsonClass @JsonClass(generateAdapter = true) public data class ScheduleTestsBody( val prioritizedJob: Job, val scheduleStrategy: ScheduleStrategy, @Json(name = "testEntryConfigurations") val tests: List<TestRequest>...
6
Kotlin
36
327
b8d12a06a169ae60d89d24f66978a7dc23833282
323
avito-android
MIT License
plugin/src/main/kotlin/org/jetbrains/spek/idea/SpekRunConfigurationType.kt
gajwani
94,574,458
true
{"Kotlin": 54318}
package org.jetbrains.spek.idea import com.intellij.execution.configurations.ConfigurationTypeBase import com.intellij.icons.AllIcons /** * @author <NAME> */ class SpekRunConfigurationType: ConfigurationTypeBase( "spek-run-configuration", "Spek", "Run Spek tests", AllIcons.RunConfigurations.Junit ) ...
0
Kotlin
0
0
1945181edeee8bf9b0871286ef1e42b105b8242e
392
spek-idea-plugin
MIT License