path
stringlengths
4
280
owner
stringlengths
2
39
repo_id
int64
21.1k
879M
is_fork
bool
2 classes
languages_distribution
stringlengths
13
1.95k
content
stringlengths
7
482k
issues
int64
0
13.9k
main_language
stringclasses
121 values
forks
stringlengths
1
5
stars
int64
0
111k
commit_sha
stringlengths
40
40
size
int64
7
482k
name
stringlengths
1
100
license
stringclasses
93 values
app/src/main/java/com/elhady/movies/domain/usecases/seeAllMedia/CheckMediaTypeUseCase.kt
islamelhady
301,591,032
false
{"Kotlin": 397718}
package com.elhady.movies.domain.usecases.seeAllMedia import com.elhady.movies.domain.enums.AllMediaType import javax.inject.Inject class CheckMediaTypeUseCase @Inject constructor() { operator fun invoke(type: AllMediaType): Boolean { return (type == AllMediaType.ON_THE_AIR || type == AllM...
1
Kotlin
0
0
11cca97dbb5e5358310fa75148a33110c6f3483b
462
movie-night-v2
Apache License 2.0
shared/src/commonMain/kotlin/com/twilio/passkeys/extensions/StringExtensions.kt
twilio
755,169,665
false
{"Kotlin": 159931, "Swift": 21348, "Ruby": 18931, "Shell": 5990}
/* * Copyright © 2024 Twilio 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...
5
Kotlin
0
4
812759b89863716320a24ed72170a487089f480a
1,024
twilio-verify-passkeys
Apache License 2.0
android/src/main/java/com/chrynan/video/ui/fragment/OpenVideoDetailsFragment.kt
chRyNaN
174,161,260
false
null
package com.chrynan.video.ui.fragment import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import com.chrynan.video.common.model.api.VideoAction import com.chrynan.video.R import com.chrynan.video.presentation.navigator.OpenVideoDetailsScreen import com.chr...
0
Kotlin
0
8
63456dcfdd57dbee9ff02b2155b7e1ec5761db81
3,275
Video
Apache License 2.0
backend/src/main/kotlin/dev/dres/api/rest/handler/system/InfoHandler.kt
dres-dev
248,713,193
false
{"Kotlin": 942970, "TypeScript": 466681, "HTML": 192895, "SCSS": 12579, "JavaScript": 1835, "Shell": 925, "Dockerfile": 412}
package dev.dres.api.rest.handler.system import com.sun.management.OperatingSystemMXBean import dev.dres.DRES import dev.dres.api.rest.AccessManager import dev.dres.api.rest.types.users.ApiRole import dev.dres.api.rest.RestApi import dev.dres.api.rest.handler.GetRestHandler import dev.dres.api.rest.types.status.ErrorS...
37
Kotlin
3
14
7fbe29f3d77f105fc6e1ae31c76bac7fd39a6bae
2,242
DRES
MIT License
src/test/kotlin/net/maizegenetics/phgv2/cli/Hvcf2GvcfTest.kt
maize-genetics
696,835,682
false
{"Kotlin": 1161072, "Shell": 262}
package net.maizegenetics.phgv2.cli import com.github.ajalt.clikt.testing.test import htsjdk.variant.variantcontext.Allele import htsjdk.variant.variantcontext.GenotypeBuilder import htsjdk.variant.variantcontext.VariantContextBuilder import org.junit.jupiter.api.AfterAll import org.junit.jupiter.api.BeforeAll import ...
5
Kotlin
2
21
f9e67a85e9174aeff3b1db2f61e9cded8ea1fc45
17,858
phg_v2
Apache License 2.0
app/src/main/java/com/zizohanto/android/tobuy/presentation/mvi/products/mvi/ProductsViewState.kt
zizoh
292,960,353
false
{"Kotlin": 104397}
package com.zizohanto.android.tobuy.presentation.mvi.products.mvi import com.zizohanto.android.tobuy.presentation.mvi.ViewState import com.zizohanto.android.tobuy.presentation.models.ShoppingListWithProductsModel data class ProductsViewState( val listWithProducts: ShoppingListWithProductsModel? = null ) : ViewSta...
0
Kotlin
1
7
9df03b1b4b449598d820e422f3c50375d33df4ff
322
Shopping-List-MVI
Apache License 2.0
src/main/kotlin/com/chesstasks/websocket/handlers/training/TrainingHandler.kt
kacperfaber
653,225,602
false
{"Kotlin": 329865, "HTML": 77916, "FreeMarker": 7303, "CSS": 5682, "JavaScript": 319}
package com.chesstasks.websocket.handlers.training import com.chesstasks.game.training.TrainingController import com.chesstasks.security.auth.TokenPrincipal import com.chesstasks.websocket.handlers.Handlers import com.chesstasks.websocket.handlers.user import com.chesstasks.websocket.send import com.chesstasks.websock...
0
Kotlin
0
0
f856b1f396328ecfe2fda3ea7cbc7b39e838a992
1,841
chesstasks-server
MIT License
wallet-sdk/src/commonTest/kotlin/com/algorand/common/account/local/usecase/GetLocalAccountCountFlowUseCaseTest.kt
perawallet
843,821,086
false
{"Kotlin": 7759720}
/* * Copyright 2022 Pera Wallet, LDA * 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,...
2
Kotlin
5
13
8eb82954e38d4bbac6f821a6313764a5309875d3
2,837
pera-android
Apache License 2.0
compose/src/main/kotlin/com/yourssu/handy/compose/icons/filled/ArrowsChevronUp.kt
yourssu
829,346,569
false
{"Kotlin": 368030}
package com.yourssu.handy.compose.icons.filled import androidx.compose.ui.graphics.vector.ImageVector import com.yourssu.handy.compose.icons.HandyIcons import com.yourssu.handy.compose.icons.handyIcon import com.yourssu.handy.compose.icons.handyPath private var _arrowsChevronUp: ImageVector? = null public val HandyI...
4
Kotlin
0
5
d769cab58b4cf63cd0b901d20a3ea8e65ec99bdc
1,314
Handy-Android
MIT License
mockative-processor/src/main/kotlin/io/mockative/kotlinpoet/ClassName.Mockative.kt
mockative
422,101,224
false
null
package io.mockative.kotlinpoet import com.squareup.kotlinpoet.* import com.squareup.kotlinpoet.ParameterizedTypeName.Companion.parameterizedBy import io.mockative.* internal fun ClassName.parameterizedByAny(typeArguments: List<TypeVariableName>): TypeName { return if (typeArguments.isEmpty()) this else parameter...
29
null
10
262
9a4ced64d0a4dce3da9610d08959c7bcc0d544fd
2,487
mockative
MIT License
pipe-adapter/src/main/kotlin/net/meilcli/pipe/adapter/EmptyPipeAdapterArgumentProvider.kt
MeilCli
287,799,959
false
null
package net.meilcli.pipe.adapter import net.meilcli.pipe.IPipeItem class EmptyPipeAdapterArgumentProvider<T : IPipeItem> : IPipeAdapterArgumentProvider<T> { override fun provide(index: Int, item: T): IPipeAdapterArgument { return EmptyPipeAdapterArgument } }
0
Kotlin
0
0
874ca4ad4f855a2ed569aed9ce02e6e439ab75dc
277
recyclerview-pipe
MIT License
ret-core/src/main/kotlin/io/rabobank/ret/util/CommaDelimitedToListDeserializer.kt
rabobank
626,324,322
false
{"Kotlin": 80298, "Shell": 11977, "Java": 7849, "Dockerfile": 516}
package io.rabobank.ret.util import com.fasterxml.jackson.core.JsonParser import com.fasterxml.jackson.databind.DeserializationContext import com.fasterxml.jackson.databind.deser.std.StdDeserializer import java.io.Serial class CommaDelimitedToListDeserializer : StdDeserializer<List<String>>(String::class.java) { ...
3
Kotlin
1
15
708bfd5689eb17a61aa4f81f0bd25b6d3ada2284
567
ret-engineering-tools
MIT License
api/src/main/kotlin/nebulosa/api/cameras/CameraExposureStep.kt
tiagohm
568,578,345
false
{"Kotlin": 2378227, "TypeScript": 390828, "HTML": 200222, "SCSS": 11613, "Python": 2817, "JavaScript": 1165}
package nebulosa.api.cameras import nebulosa.api.guiding.WaitForSettleListener import nebulosa.api.guiding.WaitForSettleStep import nebulosa.batch.processing.ExecutionContext import nebulosa.batch.processing.ExecutionContext.Companion.getDuration import nebulosa.batch.processing.JobExecution import nebulosa.batch.proc...
2
Kotlin
2
3
01e32b061cb6ef4df9b096a556137a69f75ec9db
9,218
nebulosa
MIT License
app/src/main/java/com/example/hellofigma/FrontScreen.kt
NickTahmasebi
584,785,466
false
null
package com.example.hellofigma import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.padding import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier i...
0
Kotlin
0
0
3f819438f9ddb83192e3825486ec0e65f56ea9f3
617
KD2_Kind
Apache License 2.0
surgo-openapi/src/main/java/com/tsukiymk/surgo/openapi/DataSourceFactory.kt
tsukiymk
382,220,719
false
null
package com.tsukiymk.surgo.openapi import com.tsukiymk.surgo.openapi.datasource.* interface DataSourceFactory { val name: String // Albums, Artists, Songs, and Videos fun albumsDataSource(): AlbumsDataSource fun artistsDataSource(): ArtistsDataSource fun songsDataSource(): SongsDataSource ...
0
Kotlin
0
0
270baf768c5bfab528384693ed85289fecb0e365
602
surgo-android
Apache License 2.0
storage/src/main/kotlin/org/bitlap/storage/BitlapStore.kt
gitter-badger
371,559,946
true
{"Java": 1169543, "Kotlin": 102468}
package org.bitlap.storage.store import java.io.Closeable /** * Desc: Base store for bitlap metadata. * * Mail: <EMAIL> * Created by IceMimosa * Date: 2020/12/16 */ interface BitlapStore<T> : Closeable { fun open() /** * Store [t] to persistent filesystem or other stores */ fun store(t: ...
0
null
0
0
457ae0c39778660b0c880eeefd5f492c27208d2d
328
bitlap
MIT License
app/src/main/java/jp/juggler/fadownloader/util/PermissionChecker.kt
tateisu
83,819,950
false
null
package jp.juggler.fadownloader.util import android.Manifest import android.content.Context import android.content.pm.PackageManager import android.os.Build import androidx.core.content.ContextCompat import java.util.ArrayList object PermissionChecker { private val permission_list = arrayOf( Manifest.permission...
3
null
1
8
1ee384caebfe547c4aacd292bc450d960736c9ac
940
FADownloader
Apache License 2.0
ground/src/main/java/com/google/android/ground/MainViewModel.kt
gino-m
157,787,424
true
{"Kotlin": 911599, "Java": 162864, "Python": 3111}
/* * Copyright 2018 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
0
Kotlin
0
2
8197bd086e02e5b9b5324e5e63ccc0844db9fd7f
5,767
ground-android
Apache License 2.0
kotlin.web.demo.frontend/src/views/tree/ProjectView.kt
arrow-kt
117,599,238
false
null
/* * Copyright 2000-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...
2
null
2
7
7165d9568d725c9784a1e7525f35bab93241f292
7,064
try.arrow-kt.io
Apache License 2.0
app/src/test/java/org/simple/clinic/enterotp/EnterOtpUpdateTest.kt
simpledotorg
132,515,649
false
null
package org.simple.clinic.enterotp import com.spotify.mobius.test.NextMatchers.hasEffects import com.spotify.mobius.test.NextMatchers.hasModel import com.spotify.mobius.test.NextMatchers.hasNoEffects import com.spotify.mobius.test.UpdateSpec import com.spotify.mobius.test.UpdateSpec.assertThatNext import org.junit.Tes...
3
null
73
236
ff699800fbe1bea2ed0492df484777e583c53714
4,643
simple-android
MIT License
blogs/src/test/kotlin/team/odds/blogs/BlogsApplicationTests.kt
zkan
247,722,644
false
{"Java": 22454, "Kotlin": 2586}
package team.odds.blogs import org.junit.jupiter.api.Test import org.springframework.boot.test.context.SpringBootTest @SpringBootTest class BlogsApplicationTests { @Test fun contextLoads() { } }
1
null
1
1
a9c03b76fd01aaf3af64bc531a3e1a868fee5524
202
hello-spring-boot
MIT License
src/main/java/io/github/mdsimmo/bomberman/game/GameSettings.kt
mdsimmo
21,511,109
false
null
package io.github.mdsimmo.bomberman.game import io.github.mdsimmo.bomberman.Bomberman import io.github.mdsimmo.bomberman.utils.RefectAccess import org.bukkit.Material import org.bukkit.configuration.file.YamlConfiguration import org.bukkit.configuration.serialization.ConfigurationSerializable import org.bukkit.invento...
12
null
7
3
6703100a298c2543098440eded52d7bf12412c39
9,051
bomberman
The Unlicense
mage/src/main/java/mil/nga/giat/mage/network/api/ObservationService.kt
ngageoint
42,333,816
false
null
package mil.nga.giat.mage.network.api import com.google.gson.JsonObject import mil.nga.giat.mage.sdk.datastore.observation.Observation import okhttp3.ResponseBody import retrofit2.Response import retrofit2.http.* interface ObservationService { @GET("/api/events/{eventId}/observations") suspend fun getObservat...
4
Kotlin
22
37
00e71e4540f603f365a194941c038e28e0c1bc8f
2,232
mage-android
Apache License 2.0
mobile-common-lib/src/commonMain/kotlin/fi/riista/common/domain/groupHunting/ui/diary/DiaryFilter.kt
suomenriistakeskus
78,840,058
false
{"Gradle": 4, "Java Properties": 2, "Shell": 2, "Text": 4, "Ignore List": 2, "Batchfile": 1, "Git Attributes": 1, "Markdown": 4, "Gradle Kotlin DSL": 1, "Kotlin": 1344, "XML": 401, "Java": 161, "Protocol Buffer": 1, "JSON": 1}
package fi.riista.common.domain.groupHunting.ui.diary import kotlinx.serialization.Serializable /** * Filter diary events by type (harvest/observation) and/or by accept status (proposed/accepted/rejected) */ @Serializable data class DiaryFilter(val eventType: EventType, val acceptStatus: AcceptStatus) { enum c...
0
Kotlin
0
3
23645d1abe61c68d649b6d0ca1d16556aa8ffa16
502
oma-riista-android
MIT License
python/src/com/jetbrains/python/testing/autoDetectTests/PyAutoDetectTestConfiguration.kt
JetBrains
2,489,216
false
null
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package com.jetbrains.python.testing.autoDetectTests import com.intellij.execution.Executor import com.intellij.execution.configurations.RunProfileState import com.intellij.execution.runners.Executi...
284
null
5162
16,707
def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0
2,530
intellij-community
Apache License 2.0
buildSrc/src/main/kotlin/ru/surfstudio/android/build/exceptions/project_snapshot/ConfigurationNotProjectSnapshotException.kt
surfstudio
175,407,898
false
null
package ru.surfstudio.android.build.exceptions.project_snapshot import org.gradle.api.GradleException /** * Throw if project configuration is not project snapshot */ class ConfigurationNotProjectSnapshotException : GradleException( "Configuration isn't project snapshot. " + "Please define pr...
1
null
2
27
5f68262ac148bc090c600121295f81c7ce3486c0
371
EasyAdapter
Apache License 2.0
clients/kotlin-spring/generated/src/main/kotlin/org/openapitools/model/ConversionTagResponse.kt
oapicf
489,369,143
false
{"Markdown": 13009, "YAML": 64, "Text": 6, "Ignore List": 43, "JSON": 688, "Makefile": 2, "JavaScript": 2261, "F#": 1305, "XML": 1120, "Shell": 44, "Batchfile": 10, "Scala": 4677, "INI": 23, "Dockerfile": 14, "Maven POM": 22, "Java": 13384, "Emacs Lisp": 1, "Haskell": 75, "Swift": 551, "Ruby": 1149, "Cabal Config": 2, ...
package org.openapitools.model import java.util.Objects import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.annotation.JsonValue import org.openapitools.model.ConversionTagConfigs import org.openapitools.model.EnhancedMatchStatusType import org.openapitools.model.EntityStatus import javax...
0
Java
0
2
dcd328f1e62119774fd8ddbb6e4bad6d7878e898
2,437
pinterest-sdk
MIT License
platform/indexing-impl/src/com/intellij/psi/stubs/StubIndexKeyDescriptorCache.kt
JetBrains
2,489,216
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.psi.stubs import com.intellij.util.containers.HashingStrategy import com.intellij.util.indexing.impl.IndexStorageUtil import com.intellij.util.io.KeyDescript...
186
null
4323
13,182
26261477d6e3d430c5fa50c42b80ea8cfee45525
1,702
intellij-community
Apache License 2.0
android-core/src/main/kotlin/com.mparticle/WrapperSdk.kt
mParticle
42,615,957
false
{"Java": 1381663, "Kotlin": 1051869, "Groovy": 8314, "Shell": 4130, "JavaScript": 2582}
package com.mparticle enum class WrapperSdk(wrapperSdkId: Int, wrapperSdkName: String) { WrapperNone(0, "None"), WrapperSdkUnity(1, "Unity"), WrapperSdkReactNative(2, "React Native"), WrapperSdkCordova(3, "Cordova"), WrapperXamarin(4, "Xamarin"), WrapperFlutter(5, "Flutter"); } /** * @param s...
26
Java
62
58
7044d55befc8f544980117c0bba3ae7247390b66
623
mparticle-android-sdk
Apache License 2.0
app/src/main/java/com/kickstarter/libs/utils/RewardViewUtils.kt
kickstarter
76,278,501
false
null
package com.kickstarter.libs.utils import android.content.Context import android.text.Spannable import android.text.SpannableString import android.text.Spanned import android.text.style.ForegroundColorSpan import android.text.style.RelativeSizeSpan import android.util.Pair import androidx.annotation.StringRes import c...
8
null
995
5,738
7eeb4f9db6b460437f60125f0f023df71b5ff1e8
3,952
android-oss
Apache License 2.0
transpiler/java/com/google/j2cl/transpiler/backend/kotlin/TypeDescriptorRenderer.kt
yyl-20020115
517,933,825
false
{"Shell": 4, "Markdown": 15, "Java": 2008, "JavaScript": 113, "Kotlin": 39, "Python": 8}
/* * Copyright 2021 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
1
null
1
1
19fb829f1c05dd64f223c2908875e6f3b88a993c
10,038
j2cl
Apache License 2.0
app-kit/src/main/java/media/pixi/appkit/data/chats/room/Converters.kt
NateWickstrom
166,901,841
false
{"Gradle": 5, "Java Properties": 2, "Shell": 1, "Ignore List": 3, "Batchfile": 1, "Text": 1, "Markdown": 2, "Proguard": 2, "Java": 20, "XML": 108, "Kotlin": 250, "YAML": 1}
package media.pixi.appkit.data.chats.room import androidx.room.TypeConverter import java.util.* class Converters { @TypeConverter fun fromTimestamp(value: Long?): Date? { return if (value == null) null else Date(value) } @TypeConverter fun dateToTimestamp(date: Date?): Long? { r...
0
Kotlin
0
0
67e3f5cb6e1d0d7ed12002408325823ce1772492
420
android-rx-firebase-app-kit
Apache License 2.0
graphene-writer/src/main/kotlin/com/graphene/writer/input/graphite/property/InputGraphiteProperty.kt
graphene-monitoring
208,468,543
false
null
package com.graphene.writer.input.graphite.property import javax.annotation.PostConstruct import org.slf4j.LoggerFactory import org.springframework.boot.context.properties.ConfigurationProperties @ConfigurationProperties(prefix = "graphene.writer.input.graphite") class InputGraphiteProperty( var inputGraphiteCarbon...
8
null
4
34
6bba2e000a744411322dfa19769ad8608463f6cc
703
graphene
MIT License
leakcanary/leakcanary-android-instrumentation/src/main/java/leakcanary/HeapAnalysisReporter.kt
square
34,824,499
false
null
package leakcanary import shark.HeapAnalysis /** * Reports the results of a heap analysis created by [AndroidDetectLeaksAssert]. */ fun interface HeapAnalysisReporter { fun reportHeapAnalysis(heapAnalysis: HeapAnalysis) }
81
null
3958
29,180
5738869542af44bdfd8224603eac7af82327b054
228
leakcanary
Apache License 2.0
sample/src/main/java/me/kaelaela/sample/custom/jspoon/JSpoonOGData.kt
kaelaela
55,204,323
false
null
package me.kaelaela.sample.custom.jspoon import pl.droidsonroids.jspoon.annotation.Selector class JSpoonOGData { @Selector("head > title") var title: String? = null @Selector(value = "meta[name=\"description\"]", attr = "content") var desc: String? = null @Selector(value = "meta[property='og:image...
3
Java
49
341
b1c240088b27f41bec0b22b29e3055ebbde5112d
470
OpenGraphView
Apache License 2.0
core/src/com/ore/infinium/OreEntityFactory.kt
sreich
28,576,297
false
null
package com.ore.infinium import com.artemis.ComponentMapper import com.badlogic.gdx.math.Rectangle import com.badlogic.gdx.math.Vector2 import com.ore.infinium.components.* import com.ore.infinium.systems.server.TileLightingSystem import java.util.* class OreEntityFactory(val oreWorld: OreWorld) { private lateini...
13
null
18
169
44167c43ff5328f1721ab258d9721bbc8187a1ef
8,514
ore-infinium
MIT License
compiler/testData/codegen/box/coroutines/featureIntersection/funInterface/kt50950.kt
valery1707
212,358,860
false
null
// IGNORE_BACKEND: JVM // WITH_COROUTINES // WITH_STDLIB // FILE: a.kt fun interface A { suspend fun run() } // FILE: b.kt import kotlin.coroutines.* import kotlin.coroutines.intrinsics.* import helpers.EmptyContinuation suspend fun run(block: suspend () -> Unit) = A(block).run() fun box(): String { suspend ...
1
null
1
1
f68f06a93fed474cbc667b4d725a8b804713f103
395
kotlin
Apache License 2.0
src/test/kotlin/com/contentful/java/cma/e2e/EntryE2E.kt
contentful
26,211,601
false
{"Batchfile": 1, "XML": 2, "Shell": 90, "Maven POM": 1, "Markdown": 2, "YAML": 4, "Ignore List": 1, "Text": 1, "INI": 1, "JSON": 155, "Kotlin": 48, "Java": 139, "CODEOWNERS": 1}
/* * Copyright (C) 2019 Contentful GmbH * * 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...
2
Java
24
26
2eba1a38717757793fb48493313a60cb5f0cac75
2,954
contentful-management.java
Apache License 2.0
compose-ide-plugin/src/com/android/tools/compose/ComposeCodeCompletionConfigurable.kt
JetBrains
60,701,247
false
null
/* * Copyright (C) 2020 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
5
null
227
948
10110983c7e784122d94c7467e9d243aba943bf4
1,418
android
Apache License 2.0
libnavui-uhspot/src/main/java/com/uhspot/navigation/ui/core/replay/HistoryFileLoader.kt
UhSpot
371,792,461
false
{"Gradle": 40, "Markdown": 14, "Java Properties": 2, "Shell": 5, "Ignore List": 25, "Batchfile": 2, "EditorConfig": 1, "Makefile": 1, "YAML": 3, "XML": 409, "INI": 33, "Proguard": 17, "Text": 34, "Kotlin": 777, "CODEOWNERS": 1, "JSON": 51, "Java": 8, "CSS": 1, "Python": 4}
package com.mapbox.navigation.examples.core.replay import android.annotation.SuppressLint import android.content.Context import com.mapbox.navigation.core.replay.history.ReplayEventBase import com.mapbox.navigation.core.replay.history.ReplayHistoryMapper import kotlinx.coroutines.Dispatchers import kotlinx.coroutines....
1
null
1
1
bfd0888c10348dff3b6a2822eb89494818f218c1
1,636
mapbox-navigation-android
Apache License 2.0
moudule_me/src/main/java/com/hzsoft/moudule/me/fragment/MainMeFragment.kt
lucky-sheep
409,476,090
true
{"Java Properties": 3, "Gradle": 18, "Shell": 1, "Markdown": 1, "Batchfile": 1, "Text": 1, "XML": 156, "Ignore List": 13, "INI": 11, "Proguard": 12, "Kotlin": 168, "Java": 102}
package com.hzsoft.moudule.me.fragment import android.view.View import com.google.gson.Gson import com.hzsoft.lib.base.view.BaseFragment import com.hzsoft.lib.log.KLog import com.hzsoft.lib.net.utils.ext.view.showToast import com.hzsoft.moudule.me.R import com.ypx.imagepicker.demo.utils.ImagePickerHelper /** * Descr...
0
null
0
0
14792c71ae63715b7f7b8775281198b879cbaa19
2,640
BaseDemo
Apache License 2.0
SystemAppSkel/app/src/main/java/com/adot/home/TaskStackObserver.kt
nnnlife
741,933,891
false
{"Text": 3, "Ignore List": 13, "Markdown": 2, "CMake": 1, "C++": 1, "Gradle Kotlin DSL": 18, "Shell": 7, "Batchfile": 7, "Git Attributes": 4, "TOML": 4, "INI": 7, "Java": 63, "Java Properties": 6, "Proguard": 4, "Kotlin": 20, "XML": 43, "JAR Manifest": 4, "HTML": 46, "GLSL": 2, "Soong": 1}
package com.adot.home import android.app.ActivityManager import android.app.ActivityTaskManager import android.app.TaskStackListener import android.os.Handler import android.os.HandlerExecutor import android.os.RemoteException object TaskStackObserver : TaskStackListener() { private var initialized = false p...
0
Java
0
0
3839b40d9859f2a0127c6432bce6c46a826142eb
2,243
android_examples
Apache License 2.0
app/src/main/java/de/svedie/eqonomize/xml/converter/FloatConverter.kt
svedie
165,522,109
false
null
package de.svedie.eqonomize.xml.converter import com.tickaroo.tikxml.TypeConverter /** * Converts an float value from and to an string. * * @author svedie */ class FloatConverter : TypeConverter<Float> { override fun write(value: Float?): String { return value.toString() } override fun read(value: Stri...
0
Kotlin
0
0
114bb1631a37b0b4280364732992cd29088b58b2
369
Eqonomize-Android
MIT License
compose/ui/ui/samples/src/main/java/androidx/compose/ui/samples/AndroidViewSample.kt
RikkaW
389,105,112
true
{"Java": 49060640, "Kotlin": 36832495, "Python": 336507, "AIDL": 179831, "Shell": 150493, "C++": 38342, "ANTLR": 19860, "HTML": 10802, "TypeScript": 6933, "CMake": 3330, "JavaScript": 1343}
/* * Copyright 2020 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
0
Java
0
7
6d53f95e5d979366cf7935ad7f4f14f76a951ea5
2,610
androidx
Apache License 2.0
app/src/main/java/com/famas/auugpapers/data/network/firebase/UploadPaperApi.kt
rvenky125
418,069,953
false
null
package com.famas.auugpapers.data.network.firebase import com.famas.auugpapers.core.util.Resource import com.famas.auugpapers.ui.presentation.screens.upload_paper.PaperDto import java.io.InputStream interface UploadPaperApi { suspend fun uploadFile(fileDir: String, inputStream: InputStream, name: String): Resourc...
0
Kotlin
0
2
bcb846b8aea99a14efe4f78bfe799e695996600f
527
AuUgPapers
Apache License 2.0
platform/platform-tests/testSrc/com/intellij/observable/BooleanPropertyTest.kt
ingokegel
284,920,751
true
null
// Copyright 2000-2019 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.observable import com.intellij.openapi.observable.properties.AtomicBooleanProperty import org.junit.Assert.assertEquals import org.junit.Test import java.uti...
1
null
1
2
dc846ecb926c9d9589c1ed8a40fdb20e47874db9
1,901
intellij-community
Apache License 2.0
samples/mapzen-sample/src/test/java/mapzen/com/sdksampleapp/presenters/MainPresenterTest.kt
mapzen
46,000,465
false
null
package mapzen.com.sdksampleapp.presenters import mapzen.com.sdksampleapp.R import mapzen.com.sdksampleapp.TestMainController import mapzen.com.sdksampleapp.fragments.BaseFragment import mapzen.com.sdksampleapp.models.MapSampleList.Companion.MAP_SAMPLES import mapzen.com.sdksampleapp.models.MoreSampleList.Companion.MO...
79
Java
65
111
0cbf18945cdb03cad5859fc9cff4804333ac29bb
7,175
android
Apache License 2.0
lib/src/main/java/com/coolrs/lib/turmite/TurmiteExt.kt
rumboalla
215,561,641
false
null
package com.coolrs.lib.turmite import android.content.Context import android.graphics.Bitmap import android.renderscript.Allocation import android.renderscript.Element import android.renderscript.RenderScript import com.coolrs.lib.ScriptC_turmite /** Generic max 10 state, max 10 color turmite parser. Head co...
0
Kotlin
5
44
a934b29f05357c140dc9bc060424dbc22b3269fe
2,303
coolrs
MIT License
src/test/kotlin/dayFolders/day16/WordSearchKtTest.kt
lilimapradhan9
255,344,059
false
null
package dayFolders.day16 import org.junit.jupiter.api.Assertions import org.junit.jupiter.api.Test class WordSearchKtTest { @Test fun `should return true for ABCCED`() { val exist = exist( arrayOf( charArrayOf('A', 'B', 'C', 'E'), charArrayOf('S', 'F', 'C', ...
0
Kotlin
0
0
356cef0db9f0ba1106c308d33c13358077aa0674
1,159
kotlin-problems
MIT License
matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/account/AccountModule.kt
matrix-org
287,466,066
false
null
/* * Copyright 2020 The Matrix.org Foundation C.I.C. * * 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...
75
null
27
97
55cc7362de34a840c67b4bbb3a14267bc8fd3b9c
1,490
matrix-android-sdk2
Apache License 2.0
composeApp/src/desktopMain/kotlin/com/ixidev/jtsalat/sensor/CompassSensor.desktop.kt
ixiDev
807,871,390
false
{"Kotlin": 88024, "Swift": 594}
package com.ixidev.jtsalat.sensor import kotlinx.coroutines.flow.Flow actual class CompassSensor { actual val orientationFlow: Flow<Int> get() = TODO("Not yet implemented") actual fun start() { } actual fun stop() { } }
0
Kotlin
0
2
6d850e1d3099b352164f5144bd9626ac60d2a987
251
JtSalat
Apache License 2.0
src/main/kotlin/org/halflife/clientmanager/security/JwtFilter.kt
xEnakil
793,054,418
false
{"Kotlin": 72479}
package org.halflife.clientmanager.security import jakarta.servlet.FilterChain import jakarta.servlet.http.HttpServletRequest import jakarta.servlet.http.HttpServletResponse import org.springframework.security.authentication.UsernamePasswordAuthenticationToken import org.springframework.security.core.context.SecurityC...
0
Kotlin
0
0
763b04aa6046eaef1eb72ec6114233e8b621763a
2,819
ClientManager
MIT License
app/src/main/java/com/erendogan6/seyahatasistanim/presentation/ui/screens/CheckListScreen.kt
erendogan6
846,301,910
false
{"Kotlin": 212780}
package com.erendogan6.seyahatasistanim.presentation.ui.screens import androidx.compose.animation.animateContentSize import androidx.compose.animation.core.animateFloatAsState import androidx.compose.foundation.background import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.B...
0
Kotlin
0
5
e508b4c711dd97e5356132d290fed0aab91e3e7e
11,852
SeyahatAsistanim
MIT License
RSS/app/src/main/java/br/ufpe/cin/if710/rss/SqLiteHelper.kt
jprmoisakis
150,996,240
true
{"Kotlin": 19652, "Java": 2232}
package br.ufpe.cin.if710.rss import android.content.ContentValues import android.content.Context import android.database.Cursor import android.database.SQLException import android.database.sqlite.SQLiteDatabase import android.database.sqlite.SQLiteOpenHelper import br.ufpe.cin.if710.rss.ItemRSS class SQLiteRSSHelpe...
0
Kotlin
0
0
52b46662aa2c00cc719c9d62dff0968e3c0eb258
5,962
exercicio-rss-2
MIT License
src/main/kotlin/ai/chatinfra/context/exec/ErrorContext.kt
chatinfra
765,326,824
false
{"Kotlin": 106309, "Java": 54}
package ai.chatinfra.ai.chatinfra.context.exec import ai.chatinfra.ai.chatinfra.context.MinimalContext import kotlinx.coroutines.CoroutineName import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.Job import kotlinx.coroutines.delay import kotlinx.coroutines.launch im...
0
Kotlin
0
0
929b39beef33054024669c2eb1555e936aa83716
6,033
workstation
MIT License
superwall/src/main/java/com/superwall/sdk/misc/CurrentActivityTracker.kt
superwall
642,585,064
false
{"Kotlin": 1393088, "Shell": 580}
package com.superwall.sdk.misc import android.app.Activity import android.app.Application import android.os.Bundle import com.superwall.sdk.logger.LogLevel import com.superwall.sdk.logger.LogScope import com.superwall.sdk.logger.Logger import java.lang.ref.WeakReference class CurrentActivityTracker : Application....
10
Kotlin
3
11
ed46be02f28989e068e3732f4d10d5e3bc73281d
1,934
Superwall-Android
MIT License
coinflip/src/main/java/com/banasiak/coinflip/App.kt
banasiak
735,786,292
false
{"Kotlin": 74561}
package com.banasiak.coinflip import android.app.Application import com.banasiak.coinflip.settings.SettingsManager import com.google.android.material.color.DynamicColors import com.google.android.material.color.DynamicColorsOptions import dagger.hilt.android.HiltAndroidApp import timber.log.Timber import javax.inject....
0
Kotlin
0
6
37c0f4db5c11345f79e244f438ecff0b05b3a183
729
CoinFlip2
The Unlicense
src/main/kotlin/io/codemc/api/main.kt
CodeMC
832,771,485
false
{"Kotlin": 47318, "Dockerfile": 4343, "Groovy": 1667, "Shell": 424}
@file:JvmName("CodeMCAPI") package io.codemc.api import io.codemc.api.database.DBConfig import io.codemc.api.database.connect import io.codemc.api.database.dbConfig import io.codemc.api.jenkins.JenkinsConfig import io.codemc.api.jenkins.jenkinsConfig import io.codemc.api.nexus.NexusConfig import io.codemc.api.nexus.n...
3
Kotlin
0
1
cb6e18bf38e57e358f30375b06d747ff5545236e
867
API
MIT License
BasicDemo/src/main/java/org/alee/demo/skin/basic/ability/basic/fragment/BasePage.kt
CoderAlee
339,466,962
false
{"Java": 233841, "Kotlin": 121810}
package org.alee.demo.skin.basic.ability.basic.fragment import android.os.Bundle import android.util.SparseArray import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.annotation.IdRes import androidx.navigation.NavController import androidx.navigation.Navigation impo...
5
Java
22
165
276a846e3ffd347569f1bef8bb9f74109f145224
2,729
PaintedSkin
Apache License 2.0
shared/src/commonMain/kotlin/co/nimblehq/blisskmmic/domain/repository/SurveyRepository.kt
blyscuit
534,130,510
false
null
package co.nimblehq.blisskmmic.domain.repository import co.nimblehq.blisskmmic.domain.model.PaginationMeta import co.nimblehq.blisskmmic.domain.model.Survey import co.nimblehq.blisskmmic.domain.model.SurveyDetail import co.nimblehq.blisskmmic.domain.model.Token import kotlinx.coroutines.flow.Flow interface SurveyRepo...
18
Kotlin
0
1
b5b97d1ef50bba4c14d11888a010d9c564ecf09b
459
kmm-swiftUI-IC
MIT License
shared/src/commonMain/kotlin/org/mixdrinks/ui/list/CocktailList.kt
MixDrinks
614,917,688
false
{"Kotlin": 196307, "Swift": 10681, "Ruby": 277, "Shell": 228}
package org.mixdrinks.ui.list import androidx.compose.foundation.ExperimentalFoundationApi import androidx.compose.foundation.Image import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layo...
14
Kotlin
1
9
182933ab91b766def2d6dfd67f63c7e4ef008ee8
4,553
Mobile
Apache License 2.0
wavesplatform/src/main/java/com/wavesplatform/sdk/keeper/interfaces/BaseTransactionParcelable.kt
wavesplatform
176,732,507
false
null
/* * Created by <NAME> on 5/9/2019 * Copyright © 2019 Waves Platform. All rights reserved. */ package com.wavesplatform.sdk.keeper.interfaces import android.os.Parcel interface BaseTransactionParcelable { fun writeBaseToParcel(parcel: Parcel) fun readBaseFromParcel(parcel: Parcel) }
3
null
8
16
07df259e47dfba2b99ad06f012a97062e7036356
298
WavesSDK-android
MIT License
boxicons/src/commonMain/kotlin/com/woowla/compose/icon/collections/boxicons/boxicons/solid/BxsChevronsRight.kt
walter-juan
868,046,028
false
{"Kotlin": 34345428}
package com.woowla.compose.icon.collections.boxicons.boxicons.solid 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 ...
0
Kotlin
0
3
eca6c73337093fbbfbb88546a88d4546482cfffc
2,286
compose-icon-collections
MIT License
app/readview/src/main/java/org/peyilo/readview/provider/TextLine.kt
Peyilo
756,846,308
false
{"Kotlin": 95419, "Java": 29166}
package org.peyilo.readview.provider class TextLine: LineData { var isTitleLine = false val text = mutableListOf<CharData>() var textSize = 0F var base = 0F var left = 0F fun add(char: Char): CharData { val charData = CharData(char) text.add(charData) return charData ...
0
Kotlin
0
0
dee34a96a891a284642a84113e86c50b3b9d2593
600
ReadView
MIT License
src/main/kotlin/org/openbroker/no/mortgage/events/Offering.kt
open-broker
141,698,724
false
{"Kotlin": 182358, "Java": 10420}
package org.openbroker.no.mortgage.events import org.openbroker.common.model.Reference import org.openbroker.no.mortgage.model.Offer /** * An offer for a loan */ data class Offering constructor( override val brokerReference: Reference, val offerId: Reference? = null, val offer: Offer ): MortgageEvent
1
Kotlin
5
2
5d14f1b24ff638d434c9555157a360f008f30c53
317
open-broker-jvm
MIT License
core/src/commonMain/kotlin/work/socialhub/kmisskey/api/response/channels/ChannelsFollowedResponse.kt
uakihir0
756,689,268
false
{"Kotlin": 223847, "Shell": 2146, "Makefile": 315}
package work.socialhub.kmisskey.api.response.channels import kotlinx.serialization.Serializable import work.socialhub.kmisskey.entity.Channel @Serializable class ChannelsFollowedResponse : Channel()
1
Kotlin
1
3
744f62ce20e8038edc7b80ce705c8de4fe24a379
201
kmisskey
MIT License
presentation/src/test/java/com/anytypeio/anytype/presentation/editor/editor/ext/BlockViewCutTextTest.kt
anyproto
647,371,233
false
{"Kotlin": 11623123, "Java": 69306, "Shell": 11350, "Makefile": 1334}
package com.anytypeio.anytype.presentation.editor.editor.ext import com.anytypeio.anytype.core_models.ThemeColor import com.anytypeio.anytype.presentation.editor.editor.Markup import com.anytypeio.anytype.presentation.editor.editor.model.Alignment import com.anytypeio.anytype.presentation.editor.editor.model.BlockView...
45
Kotlin
43
528
c708958dcb96201ab7bb064c838ffa8272d5f326
7,825
anytype-kotlin
RSA Message-Digest License
buildSrc/src/main/kotlin/Libraries.kt
haroldadmin
219,136,366
false
null
object Libraries { const val jsoup = "org.jsoup:jsoup:1.13.1" const val mockWebServer = "com.squareup.okhttp3:mockwebserver:4.8.1" object Kotlin { const val stdLib = "org.jetbrains.kotlin:kotlin-stdlib-jdk8:${ProjectProperties.kotlinVersion}" const val coroutines = "org.jetbrains.kotlinx:k...
0
Kotlin
3
21
78ff4c2cc8a3b692dac4db3405e30490ec5c3ffa
558
opengraphKt
Apache License 2.0
test/src/me/anno/tests/game/Minesweeper.kt
AntonioNoack
456,513,348
false
{"Kotlin": 10912545, "C": 236426, "Java": 6754, "Lua": 4496, "C++": 3070, "GLSL": 2698}
package me.anno.tests.game import me.anno.config.DefaultConfig.style import me.anno.engine.EngineBase.Companion.showFPS import me.anno.gpu.RenderDoc.disableRenderDoc import me.anno.gpu.texture.Filtering import me.anno.image.ImageCache import me.anno.io.files.FileReference import me.anno.io.files.InvalidRef import me.a...
0
Kotlin
3
24
013af4d92e0f89a83958008fbe1d1fdd9a10e992
6,022
RemsEngine
Apache License 2.0
plugins/kotlin/fir/testData/extensions/completion/packageReferenceSubPackage.kt
ingokegel
72,937,917
true
null
// FIR_COMPARISON // FIR_IDENTICAL fun main() { generated.<caret> } // EXIST: pckg.
1
null
1
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
90
intellij-community
Apache License 2.0
feature/session-player/src/main/kotlin/net/onefivefour/sessiontimer/feature/sessionplayer/SessionPlayerViewModel.kt
OneFiveFour
715,295,614
false
{"Kotlin": 171272}
package net.onefivefour.sessiontimer.feature.sessionplayer import androidx.lifecycle.SavedStateHandle import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import dagger.hilt.android.lifecycle.HiltViewModel import kotlinx.coroutines.flow.MutableStateFlow import kotlinx.coroutines.flow.asStateFlo...
0
Kotlin
0
0
6171b8b96a67de52303430511dfcec5ad56dc6ba
5,537
session-timer
Apache License 2.0
project/fantasy/app/src/main/java/com/example/fantasy/presentation/uiStates/SidebarState.kt
radical-p
568,745,863
false
{"Kotlin": 227219}
package com.example.fantasy.presentation.uiStates import com.example.fantasy.domain.repository.Player import com.example.fantasy.presentation.viewModels.DeferredData data class SidebarState( val pageContent: DeferredData<PageContent>, var currentFilter: Int = 0, ) data class PageContent( var currentPage:...
0
Kotlin
0
3
f6d6744cdaa7a600d5b2cd026b89dd48c1ece78b
426
Summer-2022-Tapsi-and-Rahnema-Internship
MIT License
app/src/main/java/com/diego/mvvmsample/utils/ServiceLocator.kt
JmanuelPar
608,774,740
false
null
package com.diego.mvvmsample.utils import android.content.Context import androidx.room.Room import com.diego.mvvmsample.data.source.local.MoviesLocalDataSource import com.diego.mvvmsample.data.source.remote.MoviesRemoteDataSource import com.diego.mvvmsample.data.source.remoteMediator.MoviesRemoteMediatorDataSource imp...
0
Kotlin
0
0
03a21111f34e8aa68dc083bb7213470893d16a3d
2,344
MVVMMovies
MIT License
src/commonMain/kotlin/com/russellbanks/ktgithub/objects/GHGitIgnoreTemplate.kt
russellbanks
622,670,257
false
null
package com.russellbanks.ktgithub.objects import kotlinx.serialization.Serializable @Serializable public class GHGitIgnoreTemplate internal constructor( public val name: String, public val source: String ) { override fun equals(other: Any?): Boolean { if (this === other) return true if (ot...
1
Kotlin
0
2
82faa2a3d66b47fb5dfcda5c5d2b7cc0fb8d37c7
771
KtGitHub
Apache License 2.0
src/commonMain/kotlin/com/russellbanks/ktgithub/objects/GHGitIgnoreTemplate.kt
russellbanks
622,670,257
false
null
package com.russellbanks.ktgithub.objects import kotlinx.serialization.Serializable @Serializable public class GHGitIgnoreTemplate internal constructor( public val name: String, public val source: String ) { override fun equals(other: Any?): Boolean { if (this === other) return true if (ot...
1
Kotlin
0
2
82faa2a3d66b47fb5dfcda5c5d2b7cc0fb8d37c7
771
KtGitHub
Apache License 2.0
src/main/kotlin/moe/nea/firmament/util/HoveredItemStack.kt
nea89o
637,563,904
false
{"Kotlin": 590698, "Java": 124868, "Nix": 1217}
package moe.nea.firmament.util import me.shedaniel.math.impl.PointHelper import me.shedaniel.rei.api.client.REIRuntime import me.shedaniel.rei.api.client.gui.widgets.Slot import me.shedaniel.rei.api.client.registry.screen.ScreenRegistry import net.minecraft.client.gui.Element import net.minecraft.client.gui.ParentEl...
24
Kotlin
6
37
8ba16d8612de96fa5f3dbbbb01c77cb721a2acc9
1,306
Firmament
Apache License 2.0
shared/src/androidMain/kotlin/com/star_zero/dagashi/shared/db/DatabaseDriverFactory.kt
STAR-ZERO
294,861,954
false
null
package com.star_zero.dagashi.shared.db import android.content.Context import com.squareup.sqldelight.android.AndroidSqliteDriver import com.squareup.sqldelight.db.SqlDriver actual class DatabaseDriverFactory(private val context: Context) { actual fun createDriver(): SqlDriver { return AndroidSqliteDriver...
21
Kotlin
2
34
c8244a09235cb898f2392c56ed8931efe518e424
376
DagashiApp
Apache License 2.0
modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/maven/MavenId.kt
bmsantos
54,800,238
true
{"Markdown": 3, "XML": 22, "Shell": 4, "Ignore List": 1, "Batchfile": 1, "Text": 1, "YAML": 1, "Kotlin": 196, "INI": 5, "Maven POM": 1, "JAR Manifest": 1, "Java": 6, "Mustache": 5}
package com.beust.kobalt.maven import com.beust.kobalt.api.Kobalt /** * Encapsulate a Maven id captured in one string, as used by Gradle or Ivy, e.g. "org.testng:testng:6.9.9". * These id's are somewhat painful to manipulate because on top of containing groupId, artifactId * and version, they also accept an option...
0
Kotlin
0
0
4cf010f7e04e7b04638b82f718e7169e6b86528f
3,494
kobalt
Apache License 2.0
feature/compose/src/androidMain/kotlin/net/raquezha/devconf/compose/theme/FontFamily.android.kt.kt
raquezha
660,028,758
false
null
package net.raquezha.devconf.compose.theme /** * Created by raquezha on June 20, 2023 */ class AndroidFontFamily: DevConfFontFamily actual fun getFontFamily(): DevConfFontFamily = AndroidFontFamily()
0
Kotlin
0
0
bf43a346d70ec1828cdc42534d69c77c46f39254
205
devconf-kmm
MIT License
feature/compose/src/androidMain/kotlin/net/raquezha/devconf/compose/theme/FontFamily.android.kt.kt
raquezha
660,028,758
false
null
package net.raquezha.devconf.compose.theme /** * Created by raquezha on June 20, 2023 */ class AndroidFontFamily: DevConfFontFamily actual fun getFontFamily(): DevConfFontFamily = AndroidFontFamily()
0
Kotlin
0
0
bf43a346d70ec1828cdc42534d69c77c46f39254
205
devconf-kmm
MIT License
app/src/main/java/com/ilgiz/kitsu/presentation/models/anime/LargeXUI.kt
ilgiz05
493,465,307
false
null
package com.ilgiz.kitsu.presentation.models.anime import com.ilgiz.kitsu.domain.models.anime.LargeXModel data class LargeXUI( val width: Int?, val height: Int? ) fun LargeXModel.toUI() = LargeXUI(width, height)
0
Kotlin
0
0
f9d4b4b9899bc2faa3fc992233c3187774d3d8d8
222
lesson7.kotlin3
MIT License
app/src/main/java/com/developerbreach/developerbreach/ui/banner/BannerFragment.kt
RajashekarRaju
285,625,118
false
{"Kotlin": 164789}
package com.developerbreach.developerbreach.ui.banner // //import android.graphics.Color //import android.os.Bundle //import android.view.LayoutInflater //import android.view.View //import android.view.ViewGroup //import androidx.fragment.app.Fragment //import androidx.lifecycle.ViewModelProvider //import androidx.navi...
0
Kotlin
0
0
65e3019f6babda8ca722a734f5d5b23012b5f7e9
1,670
developers-breach-android
Apache License 2.0
app/src/main/java/com/ellerbach/tvmazeapp/model/Show.kt
bfjeje
455,697,676
false
{"Kotlin": 46359}
package com.ellerbach.tvmazeapp.model import androidx.room.Entity import androidx.room.PrimaryKey import java.io.Serializable @Entity data class Show constructor( @PrimaryKey(autoGenerate = false) val id: Long, val name: String, val genres: List<String>, val schedule: Schedule, val image: Imag...
4
Kotlin
0
4
37d0cf4362aeb381bf3df47685cf9afadf653296
549
TvMazeApp
MIT License
data/src/main/java/com/felipearaujo/data/remote/NewsApiService.kt
feharaujo
109,503,880
false
null
package com.felipearaujo.data.remote import com.felipearaujo.data.ENDPOINT_ARTICLES import com.felipearaujo.data.ENDPOINT_SOURCES import com.felipearaujo.data.PARAM_API_KEY import com.felipearaujo.data.PARAM_SOURCE import com.felipearaujo.model.ArticleResponse import com.felipearaujo.model.SourceResponse import retrof...
0
Kotlin
0
1
39a566ea9c0e2ec3e3b8edb0e94e0e907a4b53a4
705
News-App
MIT License
browser-kotlin/src/jsMain/kotlin/webvtt/LineAndPositionSetting.kt
karakum-team
393,199,102
false
{"Kotlin": 6372546}
// Automatically generated - do not modify! package webvtt typealias LineAndPositionSetting = Any /* number | AutoKeyword */
0
Kotlin
6
27
27e59504d558202951d0f4fffec55edd78878ac4
127
types-kotlin
Apache License 2.0
content/src/main/java/com/kortisan/content/presentation/MainActivity.kt
cobogt
805,950,893
false
{"Kotlin": 306286, "Java": 134}
package com.kortisan.content.presentation /** * * * * * * * * * * Project KoreFrame * Created by <NAME> on 30/12/22. * * * * * * * * * * **/ import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.activity.viewModels import androidx.compose.runt...
0
Kotlin
1
20
c3dd59ba705ba6872801ac1c605ded8555c1c4c3
3,180
kortisan-android-framework
MIT License
app/src/main/kotlin/jp/co/yumemi/android/code_check/ui/repository_detail/RepositoryDetailFragment.kt
pasangeek
792,294,141
false
{"Kotlin": 87132}
package jp.co.yumemi.android.code_check.ui.repository_detail import android.os.Bundle import android.util.Log import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment import androidx.fragment.app.viewModels import androidx.navigation.fragment.findN...
0
Kotlin
0
0
03971fe51a15de79c208bc62cb74d9a146881a49
2,921
Android_Engineer_code_check
Apache License 2.0
android/app/src/main/kotlin/com/example/talk_o_bloc/MainActivity.kt
alfianandinugraha
456,080,138
false
{"Dart": 14212, "HTML": 3934, "Swift": 404, "Kotlin": 128, "Objective-C": 38}
package com.example.talk_o_bloc import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { }
0
Dart
0
1
f992c8b8681395aa4f44b162bc148376818ae3c3
128
talk-o-bloc
MIT License
support/src/main/java/tech/rollw/support/io/ContentPath.kt
Roll-W
743,429,922
false
{"Kotlin": 309334, "Java": 5904, "C++": 5744, "CMake": 1974, "C": 926}
/* * Copyright (C) 2024 RollW * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
0
Kotlin
0
1
b4f8b1f38bb004fbe94f9978f28fcf93cec71f83
1,266
sound-source-player
Apache License 2.0
sample/src/main/java/com/drake/brv/sample/ui/fragment/divider/GridHorizontalDividerFragment.kt
liangjingkanji
206,460,689
false
null
package com.drake.brv.sample.ui.fragment.divider import com.drake.brv.sample.R import com.drake.brv.sample.databinding.FragmentGridHorizontalDividerBinding import com.drake.brv.sample.model.DividerModel import com.drake.brv.utils.divider import com.drake.brv.utils.grid import com.drake.brv.utils.setup class GridHoriz...
18
null
327
2,576
7120b68fd39f5b88b9ac4316b31a9311ccaf3e49
878
BRV
MIT License
kotlin-antd/src/main/kotlin/antd/localeprovider/ZhTW.kt
oxiadenine
206,398,615
false
{"Kotlin": 1619835, "HTML": 1515}
@file:JsModule("antd/lib/locale-provider/zh_TW") @file:JsNonModule package antd.localeprovider @JsName("default") external val zhTW: Locale
1
Kotlin
8
50
e0017a108b36025630c354c7663256347e867251
142
kotlin-js-wrappers
Apache License 2.0
src/common/common/src/main/kotlin/kiit/common/Provider.kt
slatekit
55,942,000
false
null
package slatekit.common /** * Use to return the raw underlying provider for any abstracted infrastructure component. * E.g. For the File Component that abstracts Cloud File storage, this would be used * in the S3 implementation to return the AWSSDK for S3. * This serves as an "Exit Hatch" when the abstraction not ...
6
null
13
112
e22ad021decc51fe15f8aace0df8f867f1af60b3
510
slatekit
Apache License 2.0
src/commonMain/kotlin/AbstractGraph.kt
RomanStakhira
476,664,277
false
null
typealias GraphVertices = Map<Any, Set<Pair<Any, InterfaceEdge<*>?>>> /** * @property [vertices] Main graph data storage Map<Any, Set<Pair<Any, InterfaceEdge<*>?>>> * @return */ interface InterfaceGraph { val name: String val directed: Boolean? val vertices: GraphVertices operator fun <T> get(v: T) ...
0
Kotlin
0
1
2467ee0fb0440645f9ffe3ee6feb3018513ff0e1
2,985
kgl
Apache License 2.0
client/domain/src/main/java/com/healthc/domain/usecase/validation/ValidatePasswordUseCase.kt
Team-HealthC
601,915,784
false
{"Kotlin": 189898, "Java": 9369}
package com.healthc.domain.usecase.validation import com.healthc.domain.model.validation.ValidationResult class ValidatePasswordUseCase { operator fun invoke(password: String): ValidationResult { if (password.length < 8) { return ValidationResult( successful = false, ...
17
Kotlin
1
2
a229a1a392526d03e62d0d24ab8e5c3d2d21859b
787
HealthC_Android
MIT License
io_canary/src/main/java/com/dcxing/io/IOLeakCanary.kt
dannycx
740,734,778
false
{"Kotlin": 78081, "Java": 30655, "HTML": 1578, "RenderScript": 980}
package com.dcxing.io import android.content.Context import androidx.startup.Initializer import com.dcxing.common.LogTool import me.weishu.reflection.Reflection /** * IO泄露监测 * * @author dcxing * @since 2023-12-26 */ class IOLeakCanary: Initializer<Unit> { override fun create(context: Context) { // An...
0
Kotlin
0
0
fd07fba5b446ecc28a486cb85480d9095263334a
587
XDemo
Apache License 2.0
app/src/main/java/com/kylecorry/trail_sense/settings/infrastructure/ThermometerPreferences.kt
kylecorry31
215,154,276
false
{"Kotlin": 2589968, "Python": 22919, "HTML": 18863, "Shell": 5290, "CSS": 5120, "JavaScript": 3814, "Batchfile": 2553}
package com.kylecorry.trail_sense.settings.infrastructure import android.content.Context import com.kylecorry.andromeda.core.toFloatCompat import com.kylecorry.andromeda.preferences.StringEnumPreference import com.kylecorry.trail_sense.R import com.kylecorry.trail_sense.shared.sensors.thermometer.ITemperatureCalibrato...
456
Kotlin
66
989
41176d17b498b2dcecbbe808fbe2ac638e90d104
4,697
Trail-Sense
MIT License
app/src/main/java/com/kylecorry/trail_sense/settings/infrastructure/ThermometerPreferences.kt
kylecorry31
215,154,276
false
{"Kotlin": 2589968, "Python": 22919, "HTML": 18863, "Shell": 5290, "CSS": 5120, "JavaScript": 3814, "Batchfile": 2553}
package com.kylecorry.trail_sense.settings.infrastructure import android.content.Context import com.kylecorry.andromeda.core.toFloatCompat import com.kylecorry.andromeda.preferences.StringEnumPreference import com.kylecorry.trail_sense.R import com.kylecorry.trail_sense.shared.sensors.thermometer.ITemperatureCalibrato...
456
Kotlin
66
989
41176d17b498b2dcecbbe808fbe2ac638e90d104
4,697
Trail-Sense
MIT License
Task-Tracker-Entities/src/commonMain/kotlin/app/tasktrackersystems/tasktracker/entities/TaskNotFoundException.kt
Task-Tracker-Systems
644,555,079
false
{"Kotlin": 22178}
package app.tasktrackersystems.tasktracker.entities class TaskNotFoundException(task: Task) : Exception("Could not find task: $task")
13
Kotlin
0
0
073ec11c01c44e433a571e5049e1843f915dcf0b
135
Task-Tracker-App
MIT License
lib/src/main/kotlin/com/x7ff/parser/replay/stream/ActiveActor.kt
cubeee
148,042,616
false
null
package com.x7ff.parser.replay.stream import com.x7ff.parser.buffer.BitBuffer data class ActiveActor ( val active: Boolean, val actorId: Int ) { companion object { fun BitBuffer.readActiveActor(): ActiveActor { val active = getBits(1) != -1L val actorId = getInt() ...
0
Kotlin
0
0
ffd0e7cc798ae50909cda2802620a9aefe7c22e1
376
replay-kt
MIT License
src/main/kotlin/playground/common/batch/configuration/BatchConfiguration.kt
dtkmn
596,118,171
false
{"Kotlin": 334372, "Dockerfile": 763}
package playground.common.batch.configuration import playground.common.batch.annotation.EnableOnBatchJob import playground.common.batch.controller.BatchController import playground.common.batch.jobstatus.BatchJobStatusUpdatedEventPublisher import org.springframework.boot.context.properties.ConfigurationProperties impo...
0
Kotlin
0
0
06b6e996d3d319a7ad390dab9b3f33132f5f0378
1,330
kotlin-playground
MIT License