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/us/jwf/aoc/graph/Graph.kt
jasonwyatt
318,073,137
false
null
package us.jwf.aoc.graph class Graph<NodeData> { private val _nodes = mutableSetOf<Node<NodeData>>() private val _edges = mutableSetOf<Edge<NodeData>>() private val edgesByOrigin = mutableMapOf<Node<NodeData>, List<Edge<NodeData>>>() val nodes: Set<Node<NodeData>> get() = _nodes val edges: Set<Edge<Nod...
0
Kotlin
0
0
60282b121bec6b845a74507960934a03a9153178
3,724
AdventOfCode-Kotlin
Apache License 2.0
src/main/kotlin/therealfarfetchd/retrocomputers/common/item/ReadonlyDisk.kt
Darkstrumn
131,374,601
true
{"Kotlin": 369119, "Assembly": 52301, "Shell": 2306, "GLSL": 1113}
package therealfarfetchd.retrocomputers.common.item import net.minecraft.creativetab.CreativeTabs import net.minecraft.item.Item import net.minecraft.item.ItemStack import net.minecraft.util.NonNullList import therealfarfetchd.quacklib.common.api.util.IView import therealfarfetchd.retrocomputers.common.api.IFloppy imp...
0
Kotlin
0
0
9c5f4d614eb7af91dec06400a658b0c6eb9fb656
1,944
HCTM
MIT License
app/src/test/java/nl/jovmit/friends/domain/post/InMemoryPostCatalogTest.kt
mitrejcevski
336,415,632
false
{"Kotlin": 122711}
package i.herman.domain.post class InMemoryPostCatalogTest : PostCatalogContract() { override fun postCatalogWith( vararg availablePosts: Post ): PostCatalog { return InMemoryPostCatalog( availablePosts = availablePosts.toMutableList() ) } }
2
Kotlin
7
32
7fe7a87f6948e9e7590dfadcb8d1cd35c096a753
291
friends
Apache License 2.0
testing/src/main/java/com/adjectivemonk2/pixels/testing/DispatcherParameterResolver.kt
Sripadmanabans
300,346,280
false
null
package com.adjectivemonk2.pixels.testing import kotlinx.coroutines.cancel import kotlinx.coroutines.test.StandardTestDispatcher import kotlinx.coroutines.test.TestDispatcher import org.junit.jupiter.api.extension.AfterEachCallback import org.junit.jupiter.api.extension.BeforeEachCallback import org.junit.jupiter.api....
0
Kotlin
0
1
b3b1b56a8c422fdabd3c23618c003a6a1bfad01b
1,193
Pixels
Apache License 2.0
app/src/main/java/com/maku/pombe/latestfeature/LatestFragmentViewModel.kt
ma-za-kpe
373,888,998
false
null
package com.maku.pombe.latestfeature import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.maku.logging.Logger import com.maku.pombe.common.data.cache.model.cachedLatest.CachedLatest import com.maku.pombe.com...
18
Kotlin
2
5
e62294e8e5a25774f5955aa3565f62c4ff589cd5
5,478
Pombe
The Unlicense
src/jvmTest/kotlin/examples/game/TiledTileSetTest.kt
AndreasHefti
387,557,032
false
null
package examples.game import com.inari.firefly.DesktopApp import com.inari.firefly.core.Engine import com.inari.firefly.core.Entity import com.inari.firefly.core.api.BlendMode import com.inari.firefly.core.api.ShapeType import com.inari.firefly.game.tile.tiled_binding.TiledTileSet import com.inari.firefly.graphics.sha...
5
Kotlin
0
11
f56999f0dc6aea344611be34f097bd96cfd94d60
3,547
flyko-lib
Apache License 2.0
src/main/kotlin/dsl/wiremock/request/body/BasePathBodyPattern.kt
valentin-goncharov
447,352,842
false
{"Kotlin": 208558}
/*- * ========================LICENSE_START================================= * Wiremock Kotlin DSL * %% * Copyright (C) 2022 <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 ...
2
Kotlin
0
0
ad0aac9ce014a6f53c51c0e1aedb846414358b8d
2,583
wiremock-kotlin-dsl
Apache License 2.0
coil-core/src/commonMain/kotlin/coil3/request/RequestDelegate.kt
coil-kt
201,684,760
false
{"Kotlin": 955603, "Shell": 2360, "JavaScript": 209}
package coil3.request import coil3.annotation.MainThread import kotlinx.coroutines.CancellationException internal interface RequestDelegate { /** Throw a [CancellationException] if this request should be cancelled before starting. */ @MainThread fun assertActive() {} /** Register all lifecycle obser...
39
Kotlin
626
9,954
9b3f851b2763b4c72a3863f8273b8346487b363b
612
coil
Apache License 2.0
platform/external-system-impl/src/com/intellij/openapi/externalSystem/autoimport/ProjectSettingsTracker.kt
hieuprogrammer
284,920,751
false
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.openapi.externalSystem.autoimport import com.intellij.openapi.Disposable import com.intellij.openapi.application.ApplicationManager import com.intellij.opena...
1
null
2
2
dc846ecb926c9d9589c1ed8a40fdb20e47874db9
8,573
intellij-community
Apache License 2.0
shapes/src/main/java/shapes/feature/presentation/stats/StatisticsViewState.kt
rahulsainani
198,700,715
false
null
package shapes.feature.presentation.stats sealed class StatisticsViewState { object Empty : StatisticsViewState() data class Content(val items: List<StatisticsItemEntity>) : StatisticsViewState() }
0
Kotlin
0
8
962f33454933317205b93e9f2552d704766cffc3
207
shapes
Apache License 2.0
wire-library/wire-moshi-adapter/src/test/java/com/squareup/wire/MoshiPersonTest.kt
square
12,274,147
false
null
package com.squareup.wire import com.squareup.moshi.Moshi import org.assertj.core.api.Assertions.assertThat import org.junit.Ignore import org.junit.Test import com.squareup.wire.protos.person.java.Person as JavaPerson import com.squareup.wire.protos.person.kotlin.Person as KotlinPerson class MoshiPersonTest { /** ...
138
null
506
3,650
de1651027879d285bdc41f0647a7fa7ceb604e58
2,232
wire
Apache License 2.0
src/main/kotlin/com/expediagroup/openworld/sdk/core/plugin/logging/OpenWorldLoggerFactory.kt
ExpediaGroup
527,522,338
false
null
/* * Copyright (C) 2022 Expedia, 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 t...
4
null
5
5
7a0e003376a38bc9676669b6e769a0a16070a833
813
openworld-sdk-java-core
Apache License 2.0
DittoPresenceDegradationReporter/src/main/java/live/ditto/presencedegradationreporter/theme/Color.kt
getditto
596,719,336
false
{"Kotlin": 140033}
package live.ditto.presencedegradationreporter.theme import androidx.compose.ui.graphics.Color val screenBackground = Color(0xFFF1EBEB) val dashboardSuccess = Color(0xFFB1F3B4) val dashboardError = Color(0xFFF8ACAC) val dashboardCardConnected = Color(0xFF549B58) val dashboardCardNotConnected = Color(0xFFA55757)
27
Kotlin
1
6
fc87cdb7194937220e096cb1b7d41d7b78500dbb
315
DittoAndroidTools
MIT License
ktor-server/src/main/kotlin/org/diploma/data/responses/BasicResponse.kt
k-arabadzhiev
515,181,907
false
{"Kotlin": 309983}
package org.diploma.data.responses import kotlinx.serialization.Serializable @Serializable data class BasicResponse( val status: String? = null, val message: String, )
0
Kotlin
0
0
e69e22d6aabffb3b4afe54cf9ef6a92007d5beb5
178
Roommates
MIT License
arranger-runtime/src/test/java/dev/mkeeda/arranger/runtime/SimpleMarkupTextParserTest.kt
mkeeda
565,651,877
false
null
package dev.mkeeda.arranger.runtime import com.google.common.truth.Truth.assertThat import dev.mkeeda.arranger.runtime.node.HeadingLevel import dev.mkeeda.arranger.runtime.node.HeadingNode import dev.mkeeda.arranger.runtime.node.LinkNode import dev.mkeeda.arranger.runtime.node.MarkupTextNode import dev.mkeeda.arranger...
1
Kotlin
0
0
ecafaba025c993e3b8eb1a7b8ae7c5149b8f3a77
3,569
arranger
Apache License 2.0
karibu-testing-v10/src/main/kotlin/com/github/mvysny/kaributesting/v10/Utils.kt
thigg
287,500,252
true
{"Gradle Kotlin DSL": 14, "Java Properties": 1, "Shell": 1, "Ignore List": 1, "Batchfile": 1, "Text": 5, "Markdown": 10, "INI": 1, "YAML": 1, "Java": 8, "Kotlin": 115, "Groovy": 40, "JavaScript": 9, "JSON": 3}
package com.github.mvysny.kaributesting.v10 import elemental.json.Json import elemental.json.JsonArray import elemental.json.JsonObject import elemental.json.JsonValue import java.io.ByteArrayOutputStream import java.io.ObjectInputStream import java.io.ObjectOutputStream import java.io.Serializable import java.net.URL...
0
null
0
0
86709b25fc9c53688fc44940d2d9271ad3b0922b
1,748
karibu-testing
Apache License 2.0
core/src/main/kotlin/sift/core/api/GenericsParser.kt
junkdog
561,870,959
false
null
package sift.core.api import sift.core.asm.signature.ArgType import sift.core.asm.signature.MetaType import sift.core.asm.signature.TypeSignature import sift.core.dsl.Classes import sift.core.dsl.Signature import sift.core.dsl.Type import sift.core.stringWriter internal fun explodeTypeFromSignature( context: Sig...
5
null
0
56
b486fe82fc07d85355311c13160a9fadc2f65831
4,226
sift
MIT License
navigation/src/main/java/com/parimatch/navigation/screen/ScreenContract.kt
parimatch-tech
509,548,833
false
null
package com.parimatch.navigation.screen import android.os.Bundle /** * The first parameter stands for the argument type, the second for the related information type. * Restrictions for the argument type are the same as for [Bundle]. * todo : separate through inheritance * todo : make arg parameter constrained by ...
0
Kotlin
0
0
a074b34e86a18884982b515d228faa26d04e2f21
586
priroda
Apache License 2.0
skin_cancer_app/android/app/src/main/kotlin/com/kmadstudio/skincancerapp/MainActivity.kt
bahkali
345,211,600
false
{"Jupyter Notebook": 115947, "Dart": 5710, "Swift": 404, "Kotlin": 133, "Objective-C": 38}
package com.kmadstudio.skincancerapp import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { }
0
Jupyter Notebook
0
0
0a0a825c354f3b4d5cf24a3a9d5011052b5a515f
133
SkinCancerClassifier
MIT License
src/main/kotlin/com/examplemod/ExampleMod.kt
butterfriez
568,274,715
false
null
import com.butter.commands.MainCommand import com.butter.config.Config import com.butter.config.PersistentData import net.minecraft.client.Minecraft import net.minecraft.client.gui.GuiScreen import net.minecraftforge.client.ClientCommandHandler import net.minecraftforge.common.MinecraftForge import net.minecraftforge.f...
0
Kotlin
0
0
e1a865a87305dc780b582e917e6c9acef2e066d4
1,906
mixin-testing
The Unlicense
app/src/main/java/com/heig/yfitops/ui/components/list/song/SongView.kt
Alessandro-AP
488,206,391
false
null
package com.heig.yfitops.ui.components.list.song import android.annotation.SuppressLint import androidx.compose.runtime.Composable import androidx.compose.runtime.getValue import androidx.compose.runtime.livedata.observeAsState import com.heig.yfitops.viewmodels.MainViewModel import kotlinx.coroutines.CoroutineScope i...
0
Kotlin
0
2
15be1734b3f1e7f13c5ef015f74a1df81cef1695
783
Yfi-Tops
MIT License
subprojects/org.compiere.crm/test/kotlin/org/compiere/crm/test/BPartnerTests.kt
idempiere-micro-archive
140,256,677
false
null
package org.compiere.crm.test import org.compiere.crm.* import org.compiere.model.I_C_BPartner import org.junit.Test import org.idempiere.common.db.CConnection import org.idempiere.common.db.Database import org.idempiere.common.util.CLogger import org.idempiere.common.util.DB import org.idempiere.common.util.Env impor...
1
null
1
1
a5c09f37d68950b458cf23ce4a2c50e98c50ea2c
3,155
idempiere-micro
MIT License
src/main/kotlin/uk/co/placona/eventsbot/hawkeye/HawkeyeService.kt
mplacona
120,651,533
false
null
package uk.co.placona.eventsbot.hawkeye import io.reactivex.Observable import io.reactivex.Single import org.springframework.cache.annotation.Cacheable import retrofit2.http.GET import retrofit2.http.Query import uk.co.placona.eventsbot.models.HawkeyeCountryResponse import uk.co.placona.eventsbot.models.HawkeyeEventRe...
0
Kotlin
1
2
aad5486986ef5c14e580ac3b33bc87fa5c5abbaf
1,483
EventsBot
Apache License 2.0
app/src/main/java/com/crossbowffs/quotelock/data/modules/Modules.kt
Yubyf
60,074,817
false
null
package com.crossbowffs.quotelock.data.modules import com.crossbowffs.quotelock.data.api.QuoteModule import com.crossbowffs.quotelock.data.modules.brainyquote.BrainyQuoteQuoteModule import com.crossbowffs.quotelock.data.modules.collections.CollectionsQuoteModule import com.crossbowffs.quotelock.data.modules.custom.Cus...
8
null
3
79
7e82ba2c535ed6f68a81c762805038f2b8bf0e4f
2,060
QuoteLockX
MIT License
cellular/src/main/java/com/fa/cellular/enums/Ellipsize.kt
furkanayaz
714,965,102
false
{"Kotlin": 32976}
package com.fa.cellular.enums enum class Ellipsize(val code: Int) { NONE(code = 0), START(code = 1), MIDDLE(code = 2), END(code = 3), MARQUEE(code = 4), }
0
Kotlin
0
7
61740028dfd010e78882f0a1139d293215b9a348
175
Cellular-Table-Layout
Apache License 2.0
src/main/kotlin/novah/cli/command/BuildCommand.kt
stackoverflow
255,379,925
false
null
/** * Copyright 2021 <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...
0
Kotlin
1
9
f3f2b12e178c5288197f6c6d591e8d304f5baf5d
5,014
novah
Apache License 2.0
feature-staking-impl/src/main/java/jp/co/soramitsu/feature_staking_impl/presentation/payouts/detail/di/PayoutDetailsModule.kt
soramitsu
278,060,397
false
null
package jp.co.soramitsu.feature_staking_impl.presentation.payouts.detail.di import androidx.fragment.app.Fragment import androidx.lifecycle.ViewModel import androidx.lifecycle.ViewModelProvider import dagger.Module import dagger.Provides import dagger.multibindings.IntoMap import jp.co.soramitsu.common.address.Address...
3
null
15
55
756c1fea772274ad421de1b215a12bf4e2798d12
1,878
fearless-Android
Apache License 2.0
android/lib_common/src/main/java/uk/ac/cam/energy/common/execution/ExecutionLog.kt
lambdapioneer
650,185,708
false
{"Kotlin": 153164, "Jupyter Notebook": 92840, "Rust": 15505, "Python": 13604, "C++": 3065, "OpenSCAD": 2520, "Shell": 639, "Dockerfile": 551}
package uk.ac.cam.energy.common.execution import android.annotation.SuppressLint import android.content.Context import android.util.Log import uk.ac.cam.energy.common.mkdirIfNotExists import uk.ac.cam.energy.common.monotonicMs import java.io.BufferedWriter import java.io.File import java.io.FileWriter import java.text...
0
Kotlin
0
1
2bd0df00f68a149ed61801d45f1a9396673daab8
4,720
powering-privacy
MIT License
app/src/main/java/com/marvelousportal/activities/adapter/DetailCharactersAdapter.kt
ibhavikmakwana
123,120,686
false
null
package com.marvelousportal.activities.adapter import android.annotation.SuppressLint import android.content.Context import android.support.v7.widget.RecyclerView import android.util.Log import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import com.bumptech.glide.Glide import com...
0
Kotlin
3
5
3a2ae78847aaab4fc5027e261efd46e718c9a31d
2,174
MarvelousPortal
MIT License
module-book-reader/src/main/java/io/legado/app/service/help/CheckSource.kt
LinXueyuanStdio
332,099,365
false
{"Gradle": 10, "Java Properties": 3, "Shell": 1, "Text": 2, "Ignore List": 5, "Batchfile": 1, "Markdown": 16, "INI": 3, "Proguard": 4, "JSON": 7, "XML": 357, "Kotlin": 478, "Java": 6, "HTML": 3, "JavaScript": 9, "CSS": 6, "robots.txt": 1, "SVG": 1}
package io.legado.app.service.help import android.content.Context import android.content.Intent import io.legado.app.App import io.legado.app.R import io.legado.app.constant.IntentAction import io.legado.app.data.entities.BookSource import io.legado.app.data.entities.SearchBook import io.legado.app.help.coroutine.Coro...
1
null
1
1
1131fe5d2c16c15adfa12111cfac0fda080a50dc
2,242
TimeCatModule-BookReader
Apache License 2.0
libnavui-maneuver/src/main/java/com/mapbox/navigation/ui/maneuver/ManeuverProcessor.kt
liangxiaohit
383,684,199
true
{"Kotlin": 3195469, "Java": 94102, "Python": 11580, "Makefile": 6255, "Shell": 1686}
package com.mapbox.navigation.ui.maneuver import com.mapbox.api.directions.v5.models.BannerComponents import com.mapbox.api.directions.v5.models.BannerInstructions import com.mapbox.api.directions.v5.models.BannerText import com.mapbox.api.directions.v5.models.DirectionsRoute import com.mapbox.api.directions.v5.models...
0
null
0
0
02f5fb7db8113a776c0382e7d4c9dbffe9348ceb
17,645
mapbox-navigation-android
Apache License 2.0
src/main/kotlin/github/ioannuwu/lexerutils/utils.kt
IoaNNUwU
675,036,715
false
null
package github.ioannuwu.lexerutils /** * fun *.splitWithSplitter() can be used for optimal performance */ fun String.splitWithPattern( vararg patterns: Pattern ): List<String> { val string = this val splitter = Splitter.withPattern(*patterns) return splitter.split(string) } /** * fun *.splitWithS...
0
Kotlin
0
1
e96544d79986f427d5b2672d7d0ef868811b0cd5
2,112
lexer-utils
MIT License
app/src/main/java/com/example/tictrac/domain/di/DomainModule.kt
rostikbalagurak
151,734,221
false
null
package com.example.tictrac.domain.di import com.example.tictrac.domain.boundaries.api.UsersAPI import com.example.tictrac.domain.boundaries.repository.UserRepository import com.example.tictrac.domain.usecase.UsersInteractor import com.example.tictrac.domain.usecase.impl.DefaultUsersInteractor import dagger.Module imp...
0
Kotlin
0
1
ca786503de7fe6eb9a81b9e2c31443c15ea95e76
552
android-clean-architecture
MIT License
snsLogin/src/main/java/com/manta/snslogin/login/twitter/TwitterLogin.kt
bso112
529,804,604
false
null
package com.manta.snslogin.login.twitter import android.app.Activity import com.google.android.gms.tasks.OnSuccessListener import com.google.android.gms.tasks.Task import com.google.firebase.auth.* import com.manta.snslogin.FirebaseUserData import com.manta.snslogin.login.google.GoogleAuthUtil import com.manta.snslogi...
0
Kotlin
0
1
a74d900ce78203fc3f66cf9854d380979a5515af
2,678
SnsLogin
The Unlicense
m31/src/main/java/ir/farsroidx/m31/AndromedaViewStateViewModel.kt
riazati75
706,246,252
false
{"Kotlin": 142934}
@file:Suppress("unused") package ir.farsroidx.m31 import androidx.lifecycle.Lifecycle import androidx.lifecycle.LifecycleOwner import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData abstract class AndromedaViewStateViewModel <VS: Any> : AndromedaViewModel() { private var _onViewStateChange...
0
Kotlin
0
0
304fdfe080619f6e6e87a3293d8ed31c1ee9c889
1,322
andromeda
Apache License 2.0
basic-feature/src/main/java/eu/krzdabrowski/starter/basicfeature/data/local/dao/RocketDao.kt
rashed-imam
584,109,324
false
null
package eu.krzdabrowski.starter.basicfeature.data.local.dao import androidx.room.Dao import androidx.room.Insert import androidx.room.OnConflictStrategy import androidx.room.Query import eu.krzdabrowski.starter.basicfeature.data.local.model.RocketCached import kotlinx.coroutines.flow.Flow @Dao interface RocketDao { ...
0
Kotlin
0
1
7c9ecff7ef03bfc0dc3517d2327cf01c5525cb99
521
AndroidStater
MIT License
app/src/main/java/phocidae/mirounga/leonina/servicios/GestorUUID.kt
poximan
711,693,982
false
{"Kotlin": 392827}
package phocidae.mirounga.leonina.servicios import android.provider.Settings import phocidae.mirounga.leonina.activity.MainActivity import phocidae.mirounga.leonina.exception.UUIDRepetidoExcepcion import java.util.UUID class GestorUUID { companion object { private val resolveitor = MainActivity.resolver ...
0
Kotlin
0
0
3f4940db61831e03b4ea82155a0c26bbb2fc6eb0
917
harenkaren
MIT License
app/src/main/java/com/fulldive/wallet/interactors/chains/grpc/GrpcInteractor.kt
imversed
473,994,295
true
{"Java": 9874648, "Kotlin": 515378}
package com.fulldive.wallet.interactors.chains.grpc import com.fulldive.wallet.di.modules.DefaultInteractorsModule import com.fulldive.wallet.extensions.* import com.fulldive.wallet.interactors.chains.StationInteractor import com.fulldive.wallet.models.BaseChain import com.fulldive.wallet.rx.AppSchedulers import com.j...
0
Java
0
2
5fddbefcdc6acf7cadb6f7a7ab2edccee9f57851
9,876
imversed-wallet-android
MIT License
app/src/main/java/nl/jovmit/roboapp/login/common/CoroutineViewModel.kt
mitrejcevski
181,701,148
false
null
package nl.jovmit.roboapp.login.common import androidx.lifecycle.ViewModel import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.Job import kotlin.coroutines.CoroutineContext abstract class CoroutineViewModel( private val dispatchers: CoroutineDispatchers ) : ViewModel(), CoroutineScope { privat...
1
null
1
15
731e128fd5a588b66e2c5f2a7fe34812f7bc11c2
515
roboapp
Apache License 2.0
api/src/main/kotlin/com/nebrija/pushit/api/security/domain/exception/JwtTokenInvalidException.kt
n01rdev
729,900,246
false
{"Kotlin": 53053, "Dockerfile": 365}
package com.nebrija.pushit.api.security.domain.exception class JwtTokenInvalidException : RuntimeException("JWT token is not valid")
0
Kotlin
1
0
dbafb47675b317be9e8c6ce65944451f99b60cc1
133
push-it-api
MIT License
android/app/src/encryption/java/net/yangkx/mmkv/MMKVInitializer.kt
yangkx-1024
674,122,195
false
{"Rust": 97603, "Kotlin": 33019, "Swift": 29993, "Shell": 6290, "Dockerfile": 3045, "C": 2489}
package net.yangkx.mmkv import android.content.Context import net.yangkx.mmkv.log.LogLevel object MMKVInitializer { fun init(context: Context) { val dir = context.getDir("mmkv", Context.MODE_PRIVATE) MMKV.initialize(dir.absolutePath, "88C51C536176AD8A8EE4A06F62EE897E") MMKV.setLogLevel(Log...
2
Rust
1
13
ade37f41b8b9b1d1606f0ca7abc04cc56b156ba5
340
MMKV
Apache License 2.0
app/src/main/java/com/starts/movieguide/Ext.kt
ZhaoSiBo
278,286,809
false
null
package com.starts.movieguide import android.content.res.Resources import android.content.res.TypedArray import android.graphics.Color /** *文件描述:. *作者:Created by Administrator on 2020/8/28. *版本号:1.0 */ fun getMaterialColor(resources: Resources, index:Int):Int { val colors = resources.obtainTypedArray(R.arra...
0
Kotlin
0
1
0b663068a9eb1df32f76f60272d2bc3579e47196
462
MovieGuide
MIT License
app/src/main/java/com/rarilabs/rarime/util/parseASN1Rsa.kt
rarimo
775,551,013
false
{"Kotlin": 1036626, "Java": 86126, "C++": 17305, "C": 5321, "CMake": 1262}
package com.rarilabs.rarime.util import java.security.interfaces.RSAPublicKey import java.security.spec.RSAPublicKeySpec import java.math.BigInteger import java.security.KeyFactory fun parseASN1RsaManually(data: ByteArray): RSAPublicKey { var offset = 0 // Parse the top-level SEQUENCE if (data[offset] !...
1
Kotlin
0
5
c92dd78d59c40a09370acaded9ea5b01e80dc10d
3,820
rarime-android-app
MIT License
src/main/kotlin/io/sc3/goodies/enderstorage/EnderStorageBaseCommand.kt
SwitchCraftCC
529,969,303
false
{"Kotlin": 275965, "Java": 16573}
package io.sc3.goodies.enderstorage import com.mojang.brigadier.Command import com.mojang.brigadier.context.CommandContext import com.mojang.brigadier.exceptions.SimpleCommandExceptionType import io.sc3.goodies.ScGoodies.modId import io.sc3.goodies.enderstorage.EnderStorageProvider.EnderStorageInventory import io.sc3....
14
Kotlin
10
9
d06fac1d69664b5141ef7f91fbc2ca71e2b9c1c2
1,450
sc-goodies
MIT License
app/src/main/java/com/soyvictorherrera/bdates/modules/eventList/data/datasource/JSONArrayExtensions.kt
VictorHerreraO
442,241,064
false
null
package com.soyvictorherrera.bdates.modules.eventList.data.datasource import org.json.JSONArray fun JSONArray.forEach(action: (Any) -> Unit) { for (i in 0 until this.length()) { action(this.get(i)) } }
4
Kotlin
0
0
6892e1c0c2cbc31bdfcd3fd62a2d90d3e10c2497
220
bdates
MIT License
app/src/main/java/com/kasuminotes/ui/theme/Color.kt
chilbi
399,723,451
false
null
package com.kasuminotes.ui.theme import androidx.compose.material.Colors import androidx.compose.material.darkColors import androidx.compose.material.lightColors import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.ColorFilter import androidx.compose.ui.graphics.ColorMatrix val PrimaryColor =...
0
Kotlin
0
0
9f06b7e33c0aa5f615688a49716f70cf022ed4ff
5,082
KasumiNotes
Apache License 2.0
library/src/main/java/io/github/chenfei0928/view/Choreographer.kt
chenfei0928
130,954,695
false
{"Kotlin": 938893, "Java": 336337}
package io.github.chenfei0928.view import android.os.Build import android.view.Choreographer import androidx.annotation.RequiresApi /** * @author chenfei() * @date 2022-07-06 18:54 */ @RequiresApi(Build.VERSION_CODES.JELLY_BEAN) inline fun Choreographer.postFrameCallbackDelayed( delayMillis: Long, crossinline ...
0
Kotlin
0
7
7171bfa3022cd9d4b2a26e3f1329a31ce008dfec
405
Util
MIT License
compiler/testData/writeFlags/hidden/propertySetter.kt
JakeWharton
99,388,807
true
null
// IGNORE_BACKEND: JVM_IR class MyClass() { @Deprecated("hidden", level = DeprecationLevel.HIDDEN) var test: Int get() = 0 set(value) {} } // TESTED_OBJECT_KIND: function // TESTED_OBJECTS: MyClass, setTest // FLAGS: ACC_SYNTHETIC, ACC_PUBLIC, ACC_FINAL, ACC_DEPRECATED
179
Kotlin
5640
83
4383335168338df9bbbe2a63cb213a68d0858104
295
kotlin
Apache License 2.0
src/jvmMain/kotlin/com/outsidesource/oskitcompose/systemui/KMPWindowInfo.desktop.kt
outsidesource
607,444,788
false
{"Kotlin": 303688}
package com.outsidesource.oskitcompose.systemui import androidx.compose.runtime.Composable import androidx.compose.runtime.remember import androidx.compose.ui.ExperimentalComposeUiApi import androidx.compose.ui.input.pointer.PointerKeyboardModifiers import androidx.compose.ui.platform.LocalWindowInfo import androidx.c...
0
Kotlin
1
6
1944fbf21f17ea550a79d44c52cbf67363125694
898
OSKit-Compose-KMP
MIT License
gradle/plugins/src/main/kotlin/io/github/droidkaigi/confsched2022/primitive/KotlinSerializationPlugin.kt
DroidKaigi
517,191,221
false
null
package io.github.droidkaigi.confsched2022.primitive import org.gradle.api.Plugin import org.gradle.api.Project @Suppress("unused") class KotlinSerializationPlugin : Plugin<Project> { override fun apply(target: Project) { with(target) { with(pluginManager) { apply("org.jetbrain...
49
null
201
491
f0ae974c7862e3ff4d70c4841d93ea64bff11ce1
385
conference-app-2022
Apache License 2.0
tempest2-testing-internal/src/main/kotlin/app/cash/tempest2/testing/internal/TestUtils.kt
cashapp
270,829,467
false
null
/* * Copyright 2021 Square Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
14
Kotlin
14
62
f96cebd6323f97adfc0afda5ec2a476787a90966
4,032
tempest
Apache License 2.0
android/feature/setting/src/main/java/com/jaino/setting/SettingFragment.kt
pknu-wap
615,959,763
false
null
package com.jaino.setting import android.graphics.Color import android.os.Bundle import android.text.Spannable import android.text.SpannableStringBuilder import android.text.style.ForegroundColorSpan import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.core.net.toUr...
1
Kotlin
3
9
f2144cb5f19d0617b146b94fcc3058f330f2df41
4,242
2023_1_WAT_BeJuRyu
MIT License
src/main/kotlin/pl/komorowskidev/kotlinrest/InitApplication.kt
komorowskidev
312,876,443
false
null
package pl.komorowskidev.kotlinrest import org.apache.logging.log4j.LogManager import org.springframework.stereotype.Component import pl.komorowskidev.kotlinrest.db.services.AccountTypeService import pl.komorowskidev.kotlinrest.db.services.CustomerService import pl.komorowskidev.kotlinrest.db.services.DbService import...
0
Kotlin
0
0
201470cda10f026b151ba17a5a8d94ceeb85a6ac
2,127
kotlin-rest
MIT License
app/src/main/java/com/sayaradz/views/activities/LoginActivity.kt
sayaradz
170,285,633
false
null
package com.sayaradz.views.activities import android.content.Context import android.content.Intent import android.os.Bundle import android.util.Log import android.view.View import android.widget.ProgressBar import android.widget.Toast import androidx.appcompat.app.AppCompatActivity import androidx.preference.Preferenc...
0
Kotlin
1
2
15d54c6e9c959fafdd84703dbf63ae9245aa08ce
9,314
sayaradz_android
MIT License
android/app/src/main/kotlin/com/example/jluquebarberia_appreservas/MainActivity.kt
iamlolo-dev
469,640,108
false
{"Dart": 17227, "Swift": 404, "Kotlin": 143, "Objective-C": 38}
package com.example.jluquebarberia_appreservas import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { }
0
Dart
0
0
1b3f3b3b74be31ac5f3baf97d7c75422aecc010f
143
APPReservas_JLuqueBarberia
Apache License 2.0
src/main/kotlin/dev/rmcmk/gspm/gradle/module/GradleModule.kt
rmcmk
750,875,199
false
{"Kotlin": 23605}
package dev.rmcmk.gradle.gmvmb import org.gradle.tooling.model.GradleModuleVersion import org.gradle.tooling.model.Model import java.io.Serializable /** * Represents a serializable Gradle module. * * @author <NAME> <<EMAIL>> */ interface GradleModule : Model, Serializable { /** The absolute path to the module...
0
Kotlin
0
1
81c435da12872aa163c67b9d84bd7dc4b068f51a
770
gspm
MIT License
app/src/main/java/org/bidon/demoapp/MainActivity.kt
bidon-io
654,165,570
false
{"Kotlin": 1049134, "Java": 2186}
package org.bidon.demoapp import android.app.Activity import android.content.Context import android.os.Build import android.os.Bundle import androidx.activity.compose.setContent import androidx.annotation.RequiresApi import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import ...
0
Kotlin
0
0
ac4906b014f0901fd2ce2a3e593ef9d777cb0edc
6,404
bidon_sdk_android
Apache License 2.0
core/src/main/java/com/bruno13palhano/core/network/model/CategoryNet.kt
bruno13palhano
670,001,130
false
{"Kotlin": 1392940}
package com.bruno13palhano.core.network.model import com.bruno13palhano.core.model.Model import com.squareup.moshi.Json data class CategoryNet( @Json(name = "id") override val id: Long, @Json(name = "category") val category: String, @Json(name = "timestamp") override val timestamp: String, ) : Model(id = ...
0
Kotlin
0
2
bffdfff8cc2ee93114a9b01821ba22d959a6a781
347
shop-dani-management
MIT License
app/src/main/java/com/ebf/instant/data/network/auth/datasources/AuthStateUserDataSource.kt
vinceglb
417,691,337
false
{"Kotlin": 120689, "TypeScript": 10921, "JavaScript": 728}
/* * 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 ...
77
Kotlin
6259
76
c9f7ef097daecc26437873f01027aab74c3891b7
1,181
Instant
MIT License
cinescout/movies/data/remote/tmdb/src/commonMain/kotlin/cinescout/movies/data/remote/tmdb/mapper/TmdbMovieVideosMapper.kt
4face-studi0
280,630,732
false
null
package cinescout.movies.data.remote.tmdb.mapper import cinescout.common.model.TmdbVideo import cinescout.common.model.TmdbVideoId import cinescout.movies.data.remote.tmdb.model.GetMovieVideos import cinescout.movies.domain.model.MovieVideos import org.koin.core.annotation.Factory @Factory internal class TmdbMovieVid...
19
Kotlin
2
3
d64398507d60a20a445db1451bdd8be23d65c9aa
1,735
CineScout
Apache License 2.0
app/src/main/java/com/jerey/klog/MainActivity.kt
Jerey-Jobs
92,164,479
false
null
package com.jerey.klog import android.os.Build import android.os.Bundle import android.support.annotation.RequiresApi import android.support.v7.app.AppCompatActivity import com.jerey.loglib.Klog import com.jerey.loglib.log class MainActivity : AppCompatActivity() { @RequiresApi(Build.VERSION_CODES.N) overrid...
1
Kotlin
6
21
2614200f7ccb86d06b2a16546852141571e2cc1f
1,260
Klog
Apache License 2.0
app/src/main/java/com/dluvian/voyage/data/provider/RelayProfileProvider.kt
dluvian
766,355,809
false
{"Kotlin": 757648}
package com.dluvian.voyage.data.provider import android.util.Log import com.dluvian.voyage.data.nostr.RelayUrl import rust.nostr.protocol.RelayInformationDocument import rust.nostr.protocol.nip11GetInformationDocument import java.util.Collections private const val TAG = "RelayProfileProvider" class RelayProfileProvi...
45
Kotlin
4
31
08ca1e3d99c6d5fb8f7286dbe7c81c2c608eda88
917
voyage
MIT License
showkase-processor-testing/src/test/resources/ShowkaseProcessorTest/composable_function_with_multiple_showkasecomposable_annotations_stacked_generates_output/input/Composables.kt
airbnb
257,758,318
false
{"Kotlin": 715619}
package com.airbnb.android.showkase_processor_testing import android.content.res.Configuration.UI_MODE_NIGHT_YES import androidx.compose.runtime.Composable import androidx.compose.ui.semantics.SemanticsProperties.Text import androidx.compose.ui.tooling.preview.Preview import com.airbnb.android.showkase.annotation.Show...
50
Kotlin
106
2,073
9c3d6fc313d63b8f555fc65232ac15f798aede9a
620
Showkase
Apache License 2.0
src/Day10.kt
aneroid
572,802,061
false
{"Kotlin": 27313}
import Operation.* private enum class Operation(val cycleCost: Int) { NOOP(1), ADDX(2), ; companion object { fun fromString(s: String): Operation = values().first { it.name == s.uppercase() } } } private class CPU(var accX: Int = 1) { private var cycle = 1 private ...
0
Kotlin
0
0
cf4b2d8903e2fd5a4585d7dabbc379776c3b5fbd
3,102
advent-of-code-2022-kotlin
Apache License 2.0
test4k/src/main/kotlin/com/github/christophpickl/kpotpourri/test4k/assertions.kt
christophpickl
83,411,497
false
null
package com.github.christophpickl.kpotpourri.test4k import org.testng.Assert import java.io.PrintWriter import java.io.StringWriter /** * Global function supporting nulls as causes. */ fun fail(message: String, cause: Throwable? = null) { if (cause != null) { Assert.fail(message, cause) } else { ...
0
Kotlin
0
4
eb6ad4d00be86ce88417d32dcb49370a632a9c1e
2,200
kpotpourri
Apache License 2.0
services/customer-service/src/main/kotlin/io/github/rafaeljpc/tutorial/ktor/services/model/Customer.kt
rafaeljpc
211,521,384
false
null
package io.github.rafaeljpc.tutorial.ktor.services.model data class Customer( var id: Long = 0, var name: String, var email: String )
0
Kotlin
0
1
0c820a24236431ee39193e45520b269165130c48
158
ktor-tutorial
Apache License 2.0
meistercharts-canvas/src/jsMain/kotlin/com/meistercharts/js/ResizeObserverJS.kt
Neckar-IT
599,079,962
false
{"Kotlin": 5819931, "HTML": 87784, "JavaScript": 1378, "CSS": 1114}
/** * Copyright 2023 Neckar IT GmbH, Mössingen, Germany * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
3
Kotlin
3
5
ed849503e845b9d603598e8d379f6525a7a92ee2
3,388
meistercharts
Apache License 2.0
src/main/kotlin/com/bawer/tasks/revolut/ewallet/extensions.kt
febael
185,681,437
false
{"Kotlin": 67008}
package com.bawer.tasks.revolut.ewallet import org.slf4j.LoggerFactory inline fun <reified T : Any> T.myLogger() = LoggerFactory.getLogger(this::class.java.name.substringBefore("\$Companion"))
0
Kotlin
0
0
96cdf95831839a7e32d61f81c3c5030aaf4ff81f
202
ewallet-2
Apache License 2.0
app/src/main/java/com/example/kotlin_jetpack/ui/ui/home/HomeViewModel.kt
zzm525465248
492,705,951
false
{"Kotlin": 236095, "Java": 113}
package com.example.kotlin_jetpack.ui.ui.home import android.widget.TextView import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.example.kotlin_jetpack.Api.OnSellRepository import com.example.kotlin_jetpack...
0
Kotlin
0
0
ff8eddd25b68d671e4eb2de2bcfc67a1e81c48df
2,490
Ordinary_music
Apache License 2.0
fuel/src/test/kotlin/com/github/kittinunf/fuel/RequestValidationTest.kt
robinchew
165,104,009
true
{"Kotlin": 595384, "Shell": 647}
package com.github.kittinunf.fuel import com.github.kittinunf.fuel.core.FuelManager import com.github.kittinunf.fuel.core.Method import com.github.kittinunf.fuel.core.interceptors.validatorResponseInterceptor import org.hamcrest.CoreMatchers.notNullValue import org.hamcrest.CoreMatchers.nullValue import org.junit.Asse...
1
Kotlin
1
1
e6e3eb3ae8f2cb7681daf5ac392199c9f4d97d1a
3,674
Fuel
MIT License
idea/idea-jvm/src/org/jetbrains/kotlin/idea/debugger/sequence/trace/dsl/KotlinAssignmentStatement.kt
arrow-kt
109,678,056
true
null
// Copyright 2000-2017 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 org.jetbrains.kotlin.idea.debugger.sequence.trace.dsl import com.intellij.debugger.streams.trace.dsl.Expression import com.intellij.debugger.streams.trace.dsl.Variable im...
12
Kotlin
1
43
d2a24985b602e5f708e199aa58ece652a4b0ea48
632
kotlin
Apache License 2.0
demo/src/main/java/com/vwo/sampleapp/extensions/__SharedPrefrence__.kt
wingify
46,113,606
false
null
package com.vwo.sample.extensions import android.app.Activity import android.content.SharedPreferences /** * Created by aman on Mon 16/07/18 17:24. */ fun Activity.getVWOPrefs(): SharedPreferences = getSharedPreferences("VWO_shared_prefs", Activity.MODE_PRIVATE)
4
null
6
9
1bd1642e331e5b136fe49f2112c513500e344d6e
266
vwo-android
MIT License
kaspresso/src/main/java/androidx/test/espresso/web/assertion/WebAssertionExt.kt
KasperskyLab
208,070,025
false
null
package androidx.test.espresso.web.assertion import androidx.test.espresso.web.model.Atom import androidx.test.espresso.web.webdriver.WebDriverAtomScriptsProvider import org.hamcrest.Matcher import org.hamcrest.StringDescription /** * Uses [WebViewAssertions.ResultCheckingWebAssertion] class, that has package-local ...
55
null
150
1,784
9c94128c744d640dcd646b86de711d2a1b9c3aa1
2,394
Kaspresso
Apache License 2.0
src/main/kotlin/com/mooregreatsoftware/gradle/util/Utils.kt
jdigger
44,330,407
false
null
/* * Copyright 2014-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
1
null
1
1
ea36a8b1c4ac46ceba4b1f8969831968bef682bf
4,999
gradle-defaults
Apache License 2.0
xml/xml-psi-impl/mdn-doc-gen/src/BcdUtil.kt
ingokegel
72,937,917
true
null
import com.fasterxml.jackson.databind.DeserializationFeature import com.fasterxml.jackson.databind.ObjectMapper import com.fasterxml.jackson.databind.type.TypeFactory import com.intellij.bcd.json.Bcd import com.intellij.bcd.json.Identifier import java.io.File import java.io.InputStream fun readBcd(path: String): Bcd =...
1
null
1
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
1,135
intellij-community
Apache License 2.0
socketdemo/src/main/java/com/example/socketdemo/MainActivity.kt
Tzy2001
750,701,200
false
{"Gradle": 29, "Java Properties": 4, "Shell": 2, "Text": 2, "Ignore List": 29, "Batchfile": 2, "Markdown": 1, "Proguard": 23, "Kotlin": 238, "XML": 461, "Java": 187, "INI": 1, "JSON": 1}
package com.example.socketdemo import android.net.wifi.WifiManager import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.util.Log import android.view.View import android.widget.Toast import androidx.recyclerview.widget.LinearLayoutManager import com.example.socketdemo.adapter.MsgAdapt...
0
Java
0
0
b54ec3624624885750df5e90041152f411c236d4
5,561
Android-Demos
Apache License 2.0
src/main/kotlin/com/intellij/plugin/powershell/lang/lsp/languagehost/PowerShellNotInstalled.kt
ant-druha
146,094,753
false
null
package com.intellij.plugin.powershell.lang.lsp.languagehost class PowerShellNotInstalled(msg: String) : Exception(msg)
51
null
20
72
5f73e89df8ca2fb167daf451ad92b507a14352a9
121
intellij-powershell
Apache License 2.0
base/src/test/kotlin/proguard/classfile/kotlin/KotlinMetadataVersionFilterTest.kt
Guardsquare
263,266,232
false
{"Java": 5872772, "Smali": 1388507, "Kotlin": 1237210, "HTML": 5772}
/* * ProGuard -- shrinking, optimization, obfuscation, and preverification * of Java bytecode. * * Copyright (c) 2002-2021 Guardsquare NV */ package proguard.classfile.kotlin import io.kotest.core.spec.style.FreeSpec import io.mockk.mockk import io.mockk.verify import proguard.classfile.Clazz import ...
8
Java
61
279
158061999ebd35ffa8e79a55cd38c06d0aeb10d7
5,044
proguard-core
Apache License 2.0
app/src/main/java/com/wuruoye/know/util/DateUtil.kt
ruoyewu
183,387,390
false
{"Gradle": 3, "Markdown": 1, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Proguard": 1, "Kotlin": 128, "XML": 74, "Java": 16}
package com.wuruoye.know.util import android.annotation.SuppressLint import java.text.SimpleDateFormat import java.util.* /** * Created at 2019/4/5 15:31 by wuruoye * Description: */ object DateUtil { fun milli2Date(milli: Long): String { return DateUtil.milli2Date("yyyy-MM-dd HH:mm", milli) } ...
1
null
1
1
2de5a7fdecc8c135463c99c47cde417de0cbe2ec
2,189
know2
Apache License 2.0
app/src/main/java/com/linheimx/zimudog/utils/rxbus/RxBus.kt
linheimx
70,407,347
false
null
package com.linheimx.zimudog.utils.rxbus import io.reactivex.Flowable import io.reactivex.processors.FlowableProcessor import io.reactivex.processors.PublishProcessor import io.reactivex.subscribers.SerializedSubscriber /** * Created by x1c on 2017/5/6. */ object RxBus { private val _Bus: FlowableProcessor<An...
1
null
2
20
e3aee61d1d5d03c46caeb0f6655a93ea4192bfa3
840
ZimuDog
Apache License 2.0
app/src/main/java/com/linheimx/zimudog/utils/rxbus/RxBus.kt
linheimx
70,407,347
false
null
package com.linheimx.zimudog.utils.rxbus import io.reactivex.Flowable import io.reactivex.processors.FlowableProcessor import io.reactivex.processors.PublishProcessor import io.reactivex.subscribers.SerializedSubscriber /** * Created by x1c on 2017/5/6. */ object RxBus { private val _Bus: FlowableProcessor<An...
1
null
2
20
e3aee61d1d5d03c46caeb0f6655a93ea4192bfa3
840
ZimuDog
Apache License 2.0
native/commonizer/testData/callableMemberCommonization/extensionReceivers/original/jvm/package_root.kt
JetBrains
3,432,266
false
{"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML...
class Planet(val name: String, val diameter: Double) val intProperty get() = 42 val Int.intProperty get() = this val Short.intProperty get() = toInt() val Long.intProperty get() = toInt() val String.intProperty get() = length val Planet.intProperty get() = diameter.toInt() fun intFunction() = 42 fun Int.intFunction()...
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
1,319
kotlin
Apache License 2.0
CameraUtils/lib/src/main/java/com/example/android/camera/utils/YuvToRgbConverter.kt
gordinmitya
317,994,095
true
{"Kotlin": 282712, "Java": 60904, "RenderScript": 2800, "Shell": 2218}
/* * Copyright 2020 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
0
Kotlin
0
0
cad3b23c791fc7fbb04f1b33aaf8d9e3aa04a7aa
2,950
camera-samples
Apache License 2.0
sample/kotlinapp/src/main/java/com/marcinmoskala/kotlinapp/StudentDataActivity.kt
wangzailfm
111,484,537
true
{"Gradle": 9, "Shell": 2, "YAML": 2, "Markdown": 4, "INI": 4, "Ignore List": 3, "Batchfile": 1, "Text": 2, "XML": 24, "Java": 28, "Proguard": 2, "Kotlin": 82, "Java Properties": 1}
package com.marcinmoskala.kotlinapp import activitystarter.Arg import activitystarter.MakeActivityStarter import android.os.Bundle import com.marcinmoskala.activitystarter.argExtra import kotlinx.android.synthetic.main.activity_data.* @MakeActivityStarter class StudentDataActivity : BaseActivity() { @get:Arg(opt...
0
Kotlin
0
1
de5390e252285e5d4f1bd65366030c9d3c36e10c
1,001
ActivityStarter
Apache License 2.0
rewrite-test/src/main/kotlin/org/openrewrite/java/tree/ContinueTest.kt
openrewrite
263,442,622
false
null
/* * Copyright 2020 the original author or authors. * <p> * 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 * <p> * https://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by...
47
null
51
431
5515571843fc3ce486fbf9a83258779d90517a0a
1,244
rewrite
Apache License 2.0
app/src/main/java/com/kyberswap/android/presentation/main/alert/LeaderBoardFragment.kt
KYRDTeam
181,612,742
false
null
package com.kyberswap.android.presentation.main.alert import android.os.Bundle import android.os.Handler import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.lifecycle.Observer import androidx.lifecycle.ViewModelProvider import androidx.recyclerview.widget.LinearLa...
1
null
10
26
abd4ab033d188918849e5224cc8204409776391b
5,376
android-app
MIT License
Android/app/src/main/java/io/agora/app/karaoke/kit/KaraokeRoomActivity.kt
apex-wang
659,114,842
true
{"Markdown": 19, "Text": 3, "Ignore List": 5, "Git Config": 1, "Ruby": 3, "Swift": 23, "OpenStep Property List": 1, "XML": 45, "JSON": 9, "Java Properties": 2, "Gradle": 4, "Shell": 2, "Batchfile": 2, "INI": 2, "Proguard": 2, "Kotlin": 7, "Java": 107, "JavaScript": 1, "Maven POM": 1, "Dockerfile": 1, "YAML": 2, "JSON w...
package io.agora.app.karaoke.kit import android.content.Context import android.content.Intent import android.content.Intent.FLAG_ACTIVITY_NEW_TASK import android.os.Bundle import android.view.LayoutInflater import android.view.View import androidx.appcompat.app.AppCompatActivity import io.agora.app.karaoke.RoomListAct...
0
null
0
0
acc5f2823364b3645ad21d5d7c29fb2c653e144a
7,296
AUIKitKaraoke
MIT License
idea/tests/org/jetbrains/jet/completion/DataFlowValueRenderingTest.kt
chashnikov
14,658,474
true
{"Java": 14526655, "Kotlin": 6831811, "JavaScript": 897073, "Groovy": 43935, "CSS": 14421, "Shell": 9248}
/* * Copyright 2010-2013 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...
1
Java
1
1
88a261234860ff0014e3c2dd8e64072c685d442d
2,197
kotlin
Apache License 2.0
environment/src/main/kotlin/jetbrains/exodus/tree/btree/ILeafNode.kt
mohammadfarari1360
637,398,375
true
{"Java Properties": 1, "Gradle Kotlin DSL": 16, "Shell": 1, "Markdown": 6, "Batchfile": 1, "Java": 478, "Kotlin": 390, "INI": 1}
/* * Copyright 2010 - 2023 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
0
null
0
1
07f82043044f2a967c0f3c6c00bcc82b6e9126ef
2,794
xodus
Apache License 2.0
domain/src/main/kotlin/info/moevm/se/domain/interactors/FetchWeatherInteractor.kt
moevm
170,087,136
false
{"Gradle": 5, "Text": 5, "Java Properties": 2, "Shell": 1, "Ignore List": 4, "Batchfile": 1, "Markdown": 1, "Kotlin": 47, "Proguard": 2, "JSON": 1, "XML": 55, "Java": 2}
package info.moevm.se.domain.interactors class FetchWeatherInteractor { }
1
null
1
1
1d2d3706163f0974c323a8a7c9d8af30ddf25e6f
74
adfmp19-weather-advisor
MIT License
src/main/kotlin/com/mapk/core/ValueParameter.kt
ProjectMapK
244,005,921
false
{"Gradle Kotlin DSL": 2, "INI": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Kotlin": 28, "Java": 1, "YAML": 2, "XML": 8}
package com.mapk.core import kotlin.reflect.KClass interface ValueParameter<T : Any> { val annotations: List<Annotation> val isNullable: Boolean val isOptional: Boolean val name: String val requiredClazz: KClass<T> }
0
Kotlin
1
1
d1c5b366f5d00926ec418104c453f0569cc50f4f
239
Shared
Apache License 2.0
backpack-common/src/main/java/net/skyscanner/backpack/util/ExperimentalBackpackApi.kt
Skyscanner
117,813,847
false
null
/** * Backpack for Android - Skyscanner's Design System * * Copyright 2018 Skyscanner Ltd * * 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...
8
null
31
94
9b5448b446c7bc46560e430595829e5f4f090e6b
1,573
backpack-android
Apache License 2.0
src/main/java/de/byjoker/jfql/statement/ConditionBuilder.kt
joker-games
311,407,723
false
{"Kotlin": 37587, "Java": 19429, "Python": 12073, "JavaScript": 5114}
package de.byjoker.jfql.statement import de.byjoker.jfql.exception.ConnectorException class ConditionBuilder(private val field: String) { private var state: State? = null private var method: Method? = null private var needed: Any? = null fun `is`(): ConditionBuilder { this.state = State.IS ...
0
Kotlin
0
0
273b22cdd7a5a1628712fbebd575de1645319973
2,137
JFQLConnector
MIT License
784-insert-into-a-binary-search-tree/insert-into-a-binary-search-tree.kt
AM-Kitty
783,747,812
false
{"Kotlin": 24972}
/** * Example: * var ti = TreeNode(5) * var v = ti.`val` * Definition for a binary tree node. * class TreeNode(var `val`: Int) { * var left: TreeNode? = null * var right: TreeNode? = null * } */ class Solution { // Keywords: Recursion, BST fun insertIntoBST(root: TreeNode?, `val`: Int): TreeNo...
0
Kotlin
0
0
7d22d41c74396e7d36bd2319afffed92a48c7c9c
903
Leetcode-Kotlin
MIT License
MentalBlocks2/app/src/main/java/com/ivanloy/mentalblocks/SnapOnScrollListener.kt
ivanloy
169,242,127
false
null
package com.ivanloy.mentalblocks import androidx.recyclerview.widget.RecyclerView import androidx.recyclerview.widget.SnapHelper class SnapOnScrollListener( private val snapHelper: SnapHelper, var behavior: Behavior = Behavior.NOTIFY_ON_SCROLL, var onSnapPositionChangeListener: OnSnapPositionChangeListen...
0
Kotlin
0
0
666082162fb0eecc2a3455ba05d7afef29295f5f
1,695
Mental-Blocks
MIT License
app/src/main/java/com/ifmvo/androidad/ui/FlowAdActivity.kt
ifmvo
182,952,555
false
{"Gradle": 5, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "XML": 19, "Kotlin": 46, "Java": 1}
package com.ifmvo.androidad.ui import android.content.Context import android.content.Intent import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import com.ifmvo.androidad.R /* * (●゚ω゚●) 原生 列表中展示 * * Created by Matthew_Chen on 2019-07-05. */ class FlowAdActivity : AppCompatActivity() { ...
0
Kotlin
4
7
e44524f0a139715bf3d96ff55b1813ce6aa929f8
771
TogetherAdSea
Apache License 2.0
model_http/src/main/java/com/wynne/http/MyService.kt
tony-xxw
122,974,025
false
null
package com.wynne.http import android.app.Service import android.content.Intent import android.os.Handler import android.os.IBinder import android.util.Log class MyService(var handle: Handler) : Service() { private var handler: Handler? = null init { this.handle = handle } override fun onSta...
1
null
1
7
4c8595c84086a11f1abba8538c2de8c86f17212d
948
KnowledgeTree
Apache License 2.0
app/src/main/java/dev/saurabhmishra/mvvm/ui/base/BaseViewModel.kt
sm3saurabh
309,044,627
false
null
package dev.saurabhmishra.mvvm.ui.base /** * Created by <NAME> on 01/11/20 */ class BaseViewModel { }
0
Kotlin
0
0
f9ea0858a8e1c50eced836d630c7b13e03065c85
104
Android-MVVM-Tmdb
Apache License 2.0
Detect/ObjectDetect/app/src/main/java/com/objectdetect/MainActivity.kt
YyuTtian
428,930,710
false
{"Text": 313, "Markdown": 561, "Gradle": 38, "Java Properties": 20, "Shell": 41, "Ignore List": 61, "Batchfile": 38, "Proguard": 15, "XML": 168, "Kotlin": 24, "INI": 9, "Java": 81, "HTML": 24, "CSS": 22, "Less": 21, "JavaScript": 5741, "JSON": 720, "JSON with Comments": 15, "YAML": 92, "PowerShell": 28, "CoffeeScript":...
package com.objectdetect import android.Manifest import android.content.pm.PackageManager import android.graphics.Bitmap import android.graphics.Color import android.os.Bundle import android.view.View import androidx.appcompat.app.AppCompatActivity import com.camera.CameraView import com.google.mlkit.vision.common.Inp...
0
Java
0
0
773110007aee222a25f671c497c8f48e60c14a3a
2,636
Sample
Apache License 2.0
screencaptor/src/main/java/com/wealthfront/screencaptor/views/modifier/ViewVisibilityModifier.kt
wealthfront
267,915,434
false
null
package com.wealthfront.screencaptor.views.modifier import android.view.View import android.view.View.INVISIBLE import android.view.View.VISIBLE import com.wealthfront.screencaptor.views.extensions.getAllChildren internal object ViewVisibilityModifier { internal fun hideViews( view: View, viewIdsToExclude:...
5
null
3
15
92fd4051f869d026f54b7529490bea73b93f4cb5
994
screencaptor
Apache License 2.0