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/a10miaomiao/bilimiao/comm/BiliNavigation.kt
10miaomiao
142,169,120
false
{"Kotlin": 1671460, "Java": 664642, "HTML": 601}
package com.a10miaomiao.bilimiao.comm import android.net.Uri import android.view.View import androidx.core.os.bundleOf import androidx.navigation.NavOptions import androidx.navigation.Navigation import com.a10miaomiao.bilimiao.MainNavGraph import com.a10miaomiao.bilimiao.R import com.a10miaomiao.bilimiao.comm.navigati...
44
Kotlin
38
977
1d59b82ba30b4c2e83c781479d09c48c3a82cd47
3,072
bilimiao2
Apache License 2.0
android-app/src/main/java/com/lukevanoort/cellarman/app/AppModule.kt
lvanoort
269,451,537
false
null
package com.lukevanoort.cellarman.app import android.app.Application import android.content.Context import com.lukevanoort.cellarman.dagger.* import com.lukevanoort.cellarman.stuntman.* import com.lukevanoort.cellarman.tasks.RootTask import com.lukevanoort.stuntman.SMMapTaskWad import com.lukevanoort.stuntman.SMTaskDa...
0
Kotlin
0
0
138cd4d7f3f42fbdd36b7535c5f6c39930ae8988
2,424
Cellarmanapp
Apache License 2.0
src/main/kotlin/io/github/lunarwatcher/chatbot/Data.kt
LunarWatcher
129,409,498
false
null
package io.github.lunarwatcher.chatbot import io.github.lunarwatcher.chatbot.bot.command.CommandCenter import java.util.* import java.util.function.BiConsumer /** * Site specific config */ data class Site(var name: String, val url: String, val config: SiteConfig){ fun `is`(name: String) : Boolean { ret...
1
null
1
1
50e6d124cb3dbab7d79be3cc61b1c4aa45cbcc68
1,032
NN-chatbot-legacy
Apache License 2.0
common/src/main/java/com/beok/common/ext/BindingAdapterExt.kt
BeokBeok
294,858,630
false
null
package com.beok.common.ext import android.widget.ImageView import androidx.databinding.BindingAdapter import androidx.recyclerview.widget.RecyclerView import com.beok.common.base.BaseAdapter import com.bumptech.glide.Glide @BindingAdapter("bind_replaceItem") fun replaceItem(recyclerView: RecyclerView, item: List<Any...
0
Kotlin
0
1
81f1d96ff8b95e5316b69c302838911cfa98d591
783
SnsImitate
MIT License
base/src/main/kotlin/com/commonsense/android/kotlin/base/compat/SSLFactory.kt
Tvede-dk
82,486,921
false
null
@file:Suppress("unused", "NOTHING_TO_INLINE", "MemberVisibilityCanBePrivate") package com.commonsense.android.kotlin.base.compat import java.io.IOException import java.net.* import java.security.KeyManagementException import java.security.NoSuchAlgorithmException import javax.net.ssl.* /** * Created by kasper on 10...
9
Kotlin
0
8
eae2deb915804d4c431c3fc9d93c33f011a98e5c
3,588
CommonsenseAndroidKotlin
MIT License
dataforge-data/src/commonMain/kotlin/space/kscience/dataforge/data/Goal.kt
SciProgCentre
148,831,678
false
null
package space.kscience.dataforge.data import kotlinx.coroutines.* import space.kscience.dataforge.misc.DFExperimental import kotlin.coroutines.CoroutineContext import kotlin.coroutines.EmptyCoroutineContext /** * Lazy computation result with its dependencies to allowing to stat computing dependencies ahead of time ...
15
null
3
25
d80846d5fbd4d232b7506f5b4124cddfdc61d17e
4,147
dataforge-core
Apache License 2.0
TelegramBotAPI/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/CommonAbstracts/types/ReplyMarkup.kt
sleshJdev
289,571,865
true
{"Kotlin": 718048}
package com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.types import com.github.insanusmokrassar.TelegramBotAPI.types.buttons.KeyboardMarkup interface ReplyMarkup { val replyMarkup: KeyboardMarkup? }
0
null
0
0
cc0498a89a28ae8205f6f854534ec6f31be36cda
216
TelegramBotAPI
Apache License 2.0
app/src/main/java/io/github/publicvaluetech/pubandroidweathersample/ui/pub/model/WeatherEntityToWeatherUiModel.kt
public-value-tech
770,244,658
false
{"Kotlin": 281907}
package io.github.publicvaluetech.pubandroidweathersample.ui.pub.model import io.github.publicvaluetech.pubandroidweathersample.domain.entity.CurrentWeatherEntity import io.github.publicvaluetech.pubandroidweathersample.domain.entity.ForecastEntity import io.github.publicvaluetech.pubandroidweathersample.domain.entity...
11
Kotlin
1
4
d2e2d4c3de8cfaf627c53f8ec9ebd06308266cab
7,721
pub-android-weather-sample
MIT License
fxgl-samples/src/main/kotlin/sandbox/subscene/MainSubScene.kt
AlmasB
32,761,091
false
{"Java": 1808557, "Kotlin": 1802895, "CSS": 45751, "JavaScript": 6195, "HTML": 3049, "C++": 2908, "kvlang": 134}
/* * FXGL - JavaFX Game Library. The MIT License (MIT). * Copyright (c) AlmasB (<EMAIL>). * See LICENSE for details. */ package sandbox.subscene import com.almasb.fxgl.dsl.FXGL import com.almasb.fxgl.scene.SubScene import javafx.event.EventHandler import javafx.scene.paint.Color class MainSubScene : SubScene() {...
138
Java
546
4,315
c0eaf4b0af29cf062867a37f3424a4ac37e8dcca
1,615
FXGL
MIT License
utilcode/pkg/src/main/java/com/blankj/utilcode/pkg/feature/CoreUtilActivity.kt
hellolengyue
222,389,651
true
{"Java": 2206295, "Kotlin": 229171, "Groovy": 54761}
package com.blankj.utilcode.pkg.feature import android.content.Context import android.content.Intent import android.os.Bundle import android.view.View import com.blankj.common.CommonTitleActivity import com.blankj.utilcode.pkg.R import com.blankj.utilcode.pkg.feature.activity.ActivityActivity import com.blankj.utilcod...
0
Java
1
1
f5cda0e4da55a842c1825095b3d1a6a1b4498ec1
6,680
AndroidUtilCode
Apache License 2.0
app/src/main/java/com/test/restaurant/presentation/fragments/DetailFragment.kt
Imranseu17
477,604,327
false
{"Kotlin": 48698}
package com.test.restaurant.presentation.fragments import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.Toast import androidx.fragment.app.Fragment import androidx.fragment.app.viewModels import androidx.lifecycle.Observer import andro...
0
Kotlin
0
0
fdb3b766622ee6116246ed8d6019f10923ac71ff
6,295
CleanArchitecture
Apache License 2.0
lse-reference/src/jsMain/kotlin/mc.kt
Cdm2883
755,032,373
false
{"Kotlin": 138530}
external class mc { companion object { // region https://lse.liteldev.com/zh/apis/EventAPI/Listen/ /** * 注册监听器 * @param event 要监听的事件名 * @param callback 注册的监听函数. 当指定的事件发生时, BDS会调用你给出的监听函数, 并传入相应的参数 * @return 是否成功监听事件 * @see <a href="https://lse.liteldev.co...
0
Kotlin
0
4
c963717a8c40e7c46a388a516a4692ed8f62e8ab
9,916
levilamina-kotlin-js-plugin-template
Apache License 2.0
testing/src/test/kotlin/com/airbnb/android/mvrx/test/MvRxTestRuleTestLifecycleAwareObserverDisabled.kt
littleGnAl
167,345,526
true
{"Kotlin": 281165, "Java": 1432, "Shell": 363}
package com.airbnb.android.mvrx.test import com.airbnb.mvrx.test.MvRxTestRule import org.junit.Assert import org.junit.ClassRule import org.junit.Test class MvRxTestRuleTestLifecycleAwareObserverDisabled { companion object { @JvmField @ClassRule val mvrxTestRule = MvRxTestRule(setForceDisa...
0
Kotlin
0
3
7ea6284530a0640f36d12508a669b4f4222902c3
598
MvRx
Apache License 2.0
plugins/github/src/org/jetbrains/plugins/github/pullrequest/ui/details/model/GHPRStatusViewModel.kt
JetBrains
2,489,216
false
null
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package org.jetbrains.plugins.github.pullrequest.ui.details.model import com.intellij.collaboration.async.launchNow import com.intellij.collaboration.async.modelFlow import com.intellij.collaboratio...
284
null
5162
16,707
def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0
3,143
intellij-community
Apache License 2.0
client/PathFinder/app/src/main/java/com/dijkstra/pathfinder/UnityHolderActivity.kt
PathFinder-SSAFY
643,691,193
false
null
package com.dijkstra.pathfinder import android.hardware.Sensor import android.hardware.SensorEvent import android.hardware.SensorEventListener import android.hardware.SensorManager import android.os.Build import android.os.Bundle import android.speech.tts.TextToSpeech import android.util.Log import android.view.Layout...
1
Kotlin
3
1
481f5c8f967f96293c25274ec1ef851ecc49d6bd
19,786
PathFinder
Apache License 2.0
core/src/com/spacefist/ai/defensiveai/DefensiveAI.kt
smithandrewl
24,962,910
false
{"Gradle": 4, "XML": 83, "Markdown": 3, "INI": 1, "Shell": 1, "Ignore List": 1, "Batchfile": 1, "Git Attributes": 1, "Kotlin": 44, "Java": 15, "Java Properties": 1, "JSON": 1}
package com.spacefist.ai.defensiveai import com.spacefist.GameData import com.spacefist.ai.ShipEnemyInfo import com.spacefist.ai.ShipInfo import com.spacefist.ai.abst.EnemyAI import com.spacefist.entities.enemies.Enemy /** * Creates a new DefensiveAI instance. * * @param gameData Common game data * @param enemy T...
7
Kotlin
1
5
4502d097e42e53d3d531423fd4488bfc296636fb
1,519
SpaceFist
MIT License
plugin/src/org/jetbrains/haskell/run/haskell/HaskellRunConfigurationType.kt
Atsky
12,811,746
false
null
package org.jetbrains.haskell.run.haskell import com.intellij.execution.configuration.ConfigurationFactoryEx import com.intellij.execution.configurations.ConfigurationFactory import com.intellij.execution.configurations.ConfigurationType import com.intellij.execution.configurations.RunConfiguration import com.intellij...
47
null
22
205
a9be4e8c41202cba50f6f9aa72eb912f1fa92b8c
1,351
haskell-idea-plugin
Apache License 2.0
remix/src/commonMain/kotlin/com/woowla/compose/icon/collections/remix/remix/others/DoorClosedLine.kt
walter-juan
868,046,028
false
{"Kotlin": 34345428}
package com.woowla.compose.icon.collections.remix.remix.others import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.Str...
0
Kotlin
0
3
eca6c73337093fbbfbb88546a88d4546482cfffc
2,261
compose-icon-collections
MIT License
app/src/main/java/br/com/fiap/locawebmailapp/screens/email/EditaRespostaEmailScreen.kt
pedroferrarezzo
800,793,379
false
{"Kotlin": 656574}
package br.com.fiap.locawebmailapp.screens.email import android.graphics.Bitmap import android.net.Uri import android.widget.Toast import androidx.activity.compose.rememberLauncherForActivityResult import androidx.activity.result.contract.ActivityResultContracts import androidx.compose.foundation.layout.Column import ...
0
Kotlin
0
0
1c160310c5578ffdd386052788bb6774cef4f79f
17,072
LocaWeb-LocaMail-Kotlin-Compose-Challenge-Fiap
MIT License
presentation/src/main/kotlin/com/popularmovies/vpaliy/popularmoviesapp/ui/home/HomeFragment.kt
vpaliy
86,759,523
false
null
package com.popularmovies.vpaliy.popularmoviesapp.ui.home import android.os.Bundle import android.support.v4.app.Fragment import android.support.v7.widget.DefaultItemAnimator import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import com.popularmovies.vpaliy.domain.entity.MediaTyp...
2
Kotlin
58
334
dd85fd42a71cd0a4244f1efa1c6817e21db961c8
3,319
android-movies-app
Apache License 2.0
sample/src/main/java/ru/debajo/reduktor/sample/domain/command/LoadLocationCommandProcessor.kt
devDebajo
499,244,476
false
{"Kotlin": 7503}
package ru.debajo.reduktor.sample.domain.command import android.Manifest import android.annotation.SuppressLint import android.content.Context import android.content.pm.PackageManager import android.os.Looper import androidx.annotation.RequiresPermission import androidx.core.content.ContextCompat import com.google.and...
0
Kotlin
0
0
1d2d01e15dc04c480cb2009693664a231af349d6
2,893
reduktor
Apache License 2.0
common/api/src/commonMain/kotlin/com/denchic45/stuiversity/api/timetable/model/PeriodsSorting.kt
denchic45
435,895,363
false
{"Kotlin": 2100686, "Vue": 7293, "CSS": 1496, "JavaScript": 1409, "HTML": 445}
package com.denchic45.stuiversity.api.timetable.model import com.denchic45.stuiversity.api.common.SortOrder import com.denchic45.stuiversity.api.common.Sorting import com.denchic45.stuiversity.api.common.SortingClass sealed class PeriodsSorting(field: String) : Sorting(field) { class Order(override val order: So...
0
Kotlin
0
5
b4a56a06617f15b4f701f7e2534ebb091221034f
983
Studiversity
Apache License 2.0
camerax-sdk/src/main/kotlin/com/leovp/camerax/adapter/Media.kt
yhz61010
329,485,030
false
{"Gradle Kotlin DSL": 36, "YAML": 2, "Shell": 16, "Java Properties": 2, "Text": 1, "Ignore List": 37, "Batchfile": 1, "Git Attributes": 1, "EditorConfig": 1, "Markdown": 14, "INI": 62, "Kotlin": 420, "Java": 22, "AIDL": 7, "XML": 262, "TOML": 1, "CMake": 2, "Proguard": 5, "C++": 33, "C": 33, "GLSL": 4, "Makefile": 6, "...
package com.leovp.camerax.adapter import android.net.Uri data class Media( val uri: Uri, val isVideo: Boolean, val date: Long, )
0
Kotlin
4
9
680ec6b101c4089bf6263f4ae42837c8b6e65a26
143
android
MIT License
src/main/kotlin/no/nav/k9/domene/modell/Kodeverk.kt
navikt
238,874,021
false
null
package no.nav.k9.domene.modell import com.fasterxml.jackson.annotation.JsonCreator import com.fasterxml.jackson.annotation.JsonFormat import com.fasterxml.jackson.annotation.JsonIgnore import com.fasterxml.jackson.annotation.JsonInclude import com.fasterxml.jackson.annotation.JsonValue import com.fasterxml.jackson.da...
6
Kotlin
0
0
7e1bab37d0721903017ed9eb5dea09ee4255c643
12,152
k9-los-api
MIT License
src/main/java/jp/ex_t/kazuaki/change_vision/ProjectChangedListener.kt
HyodaKazuaki
348,260,154
false
null
package jp.ex_t.kazuaki.change_vision import com.change_vision.jude.api.inf.model.* import com.change_vision.jude.api.inf.presentation.IPresentation import com.change_vision.jude.api.inf.project.ProjectEvent import com.change_vision.jude.api.inf.project.ProjectEventListener enum class Operation { ADD, MODIFY,...
0
Kotlin
0
0
70eabf285903f5920f44737f8784b53a159afba8
2,260
astah-class-diff-plugin
MIT License
example/android/src/main/java/com/splendo/kaluga/example/architecture/compose/ArchitectureLayout.kt
splendo
191,371,940
false
null
/* Copyright 2022 Splendo Consulting B.V. The Netherlands 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...
87
null
7
315
4094d5625a4cacb851b313d4e96bce6faac1c81f
7,501
kaluga
Apache License 2.0
learning/katas/kotlin/Windowing/Adding Timestamp/WithTimestamps/src/org/apache/beam/learning/katas/windowing/addingtimestamp/withtimestamps/Task.kt
axbaretto
68,967,334
false
{"Gradle Kotlin DSL": 9, "Gradle": 261, "Text": 592, "Shell": 125, "Markdown": 866, "XML": 29, "CODEOWNERS": 1, "Maven POM": 99, "Java Properties": 39, "Ignore List": 11, "Batchfile": 4, "Git Attributes": 2, "YAML": 611, "Protocol Buffer": 36, "PHP": 70, "Dockerfile": 22, "CSS": 46, "JavaScript": 148, "INI": 22, "Go Ch...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
74
Python
4252
9
c20455fe0a97c885a8ef11d60d3381020c9f1bdc
2,115
beam
Apache License 2.0
showkase-browser-testing-submodule/src/main/java/com/vinaygaba/showkase_browser_testing_submodule/CustomSizePreviews.kt
airbnb
257,758,318
false
{"Kotlin": 715619}
@file:Suppress("PackageNaming") package com.vinaygaba.showkase_browser_testing_submodule import androidx.compose.ui.tooling.preview.Preview @Preview(name = "CustomSize 100 * 100", widthDp = 100, heightDp = 100, group = "CustomSubmodulePreview") @Preview(name = "CustomSize 200 * 200", widthDp = 200, heightDp = 200, g...
50
Kotlin
106
2,073
9c3d6fc313d63b8f555fc65232ac15f798aede9a
520
Showkase
Apache License 2.0
community-family-component/src/main/java/com/kotlin/android/community/family/component/ui/manage/FamilyPermissionActivity.kt
R-Gang-H
538,443,254
false
null
package com.kotlin.android.community.family.component.ui.manage import android.app.Activity import android.content.Intent import android.widget.TextView import androidx.core.content.ContextCompat import com.alibaba.android.arouter.facade.annotation.Route import com.kotlin.android.app.router.path.RouterActivityPath imp...
0
Kotlin
0
1
e63b1f9a28c476c1ce4db8d2570d43a99c0cdb28
7,793
Mtime
Apache License 2.0
src/main/kotlin/endertitan/echolib/block/ProducerBlock.kt
ender-titan1
708,160,119
false
{"Kotlin": 61673}
package endertitan.echolib.block import endertitan.echolib.EchoLib import endertitan.echolib.blockentity.demo.ProducerEntity import endertitan.echolib.resourcenetworks.interfaces.INetworkBlock import endertitan.echolib.resourcenetworks.core.ResourceNetwork import net.minecraft.core.BlockPos import net.minecraft.world....
4
Kotlin
0
1
68fffbd70ab43f250826af7d8cf64541b1faf8c6
742
echo-lib
MIT License
app/src/main/java/com/kotlin/mvvm/ui/countries/CountriesViewModel.kt
WaheedNazir
219,207,243
false
null
package com.kotlin.mvvm.ui.countries import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.kotlin.mvvm.repository.model.countries.Country import com.kotlin.mvvm.repository.repo.countries.CountriesRepository i...
1
Kotlin
52
327
fdde950e28d2ec4516c55fb30630426c97eab515
986
Kotlin-MVVM-Architecture
MIT License
app/src/main/java/tech/soit/quiet/utils/component/network/Inject.kt
boyan01
114,945,726
false
null
package tech.soit.quiet.utils.component.network private val userAgentList = arrayOf( "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36", "Mozilla/5.0 (iPhone; CPU iPhone OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Geck...
0
Kotlin
3
27
0ba7211c39bf6d144dcda8f79a0d10f4e57b2208
2,774
MusicPlayer
Apache License 2.0
kotlinx-coroutines-core/jvm/test/DispatcherKeyTest.kt
hltj
151,721,407
false
null
/* * Copyright 2016-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. */ package kotlinx.coroutines import org.junit.Test import kotlin.coroutines.* import kotlin.test.* @UseExperimental(ExperimentalStdlibApi::class) class DispatcherKeyTest : TestBase() { companion object Cu...
295
null
1827
255
9565dc2d1bc33056dd4321f9f74da085e6c0f39e
2,034
kotlinx.coroutines-cn
Apache License 2.0
app/src/main/java/com/mgpersia/androidbox/data/model/Gallery.kt
mahsak01
596,924,815
false
null
package com.brouken.player.data.model import android.os.Parcelable import kotlinx.android.parcel.Parcelize @Parcelize data class Gallery( val film: Int?, val height_field: Int?, val id: Int?, val image: String?, val width_field: Int? ):Parcelable
0
Kotlin
0
0
e1ef9a8a316f76446718489f458e3a088ae55d15
268
ArianaFilm
The Unlicense
server/src/main/kotlin/org/reckful/archive/twitter/server/dto/TextDTO.kt
ReckfulArchive
632,190,129
false
null
package org.reckful.archive.twitter.server.dto import com.fasterxml.jackson.annotation.JsonSubTypes import com.fasterxml.jackson.annotation.JsonTypeInfo import io.swagger.v3.oas.annotations.media.Schema @Schema( name = "Text", description = "Represents a text in a number of ways." ) class TextDTO( @Schem...
1
Kotlin
0
0
118e8785c1c82afe934c17ba4be45fa03edac51b
1,915
twitter-server
MIT License
myonnaise/src/test/java/com/ncorti/myonnaise/MyoTest.kt
cortinico
39,206,404
false
null
package com.ncorti.myonnaise import android.bluetooth.BluetoothDevice import android.bluetooth.BluetoothGatt import android.bluetooth.BluetoothGattCharacteristic import android.bluetooth.BluetoothGattDescriptor import android.content.Context import com.nhaarman.mockitokotlin2.any import com.nhaarman.mockitokotlin2.doR...
6
null
17
30
afc6f0e2e1ca846c310d8bb1c28ca40d4ba1a8cc
5,769
myonnaise
MIT License
helm-plugin/src/main/kotlin/org/unbrokendome/gradle/plugins/helm/command/HelmServerOperationOptions.kt
unbroken-dome
145,379,286
false
null
package org.unbrokendome.gradle.plugins.helm.command import org.gradle.api.provider.Property import org.gradle.api.provider.Provider import java.time.Duration interface HelmServerOperationOptions : HelmServerOptions { val dryRun: Provider<Boolean> val noHooks: Provider<Boolean> val remoteTimeout: Prov...
21
null
50
51
c0d74916bad3c3a441666c4b076245defef91944
1,061
gradle-helm-plugin
MIT License
app/src/main/java/com/peruapps/christopher_elias/services/LocationService.kt
ChristopherME
189,524,605
false
null
package com.peruapps.christopher_elias.services import android.annotation.SuppressLint import android.app.* import android.content.Context import android.content.Intent import android.graphics.Bitmap import android.graphics.BitmapFactory import android.graphics.Color import android.location.Location import android.os....
0
Kotlin
0
0
785b1e3938a69936b0c0732f82cb6b40fbfc8d0b
3,190
senior-test
Apache License 2.0
app/src/main/java/com/example/android/hilt/data/RealBinder.kt
PandaGeek1024
285,960,802
false
null
package com.example.android.hilt.data import javax.inject.Inject class RealBinder @Inject constructor() : TestBinder { override val description: String get() = "RealBinder" }
0
Kotlin
0
0
f96febe8fe232997032516ad1e7e744905421ab6
188
AndroidHilt
Apache License 2.0
app/src/main/java/cz/dmn/cpska/mvp/PresenterState.kt
kletzander
141,282,285
false
{"Kotlin": 138837}
package cz.dmn.cpska.mvp import android.os.Parcelable import org.parceler.Parcels abstract class PresenterState<SH> { protected var stateHolder: SH = newStateHolder() abstract fun newStateHolder(): SH fun save(): Parcelable = Parcels.wrap(stateHolder) fun restore(parcelable: Parcelable) { st...
0
Kotlin
0
0
17a0b9e855458b73ac014bb7aab9698f89b741d2
366
cpska-android
MIT License
app/src/main/java/xyz/junerver/composehooks/example/UseCreationExample.kt
junerver
767,292,867
false
{"Kotlin": 221216}
package xyz.junerver.composehooks.example import android.util.Log import androidx.compose.foundation.layout.Column import androidx.compose.material3.Surface import androidx.compose.material3.Text import androidx.compose.runtime.Composable import xyz.junerver.compose.hooks.useCreation import xyz.junerver.compose.hooks....
0
Kotlin
5
8
62ceed502dc25bea6f77ad27e926ac023c7425e3
1,295
ComposeHooks
Apache License 2.0
app/src/main/java/com/github/alunicus/cinemalist/feature/movie/data/PopularMoviesDataSource.kt
alunicus
214,526,725
false
null
package com.github.alunicus.cinemalist.feature.movie.data import androidx.paging.PageKeyedDataSource import com.github.alunicus.cinemalist.core.Result.Failure import com.github.alunicus.cinemalist.core.Result.Success import com.github.alunicus.cinemalist.feature.movie.domain.model.PopularMovie import kotlinx.coroutine...
0
Kotlin
0
1
3a34743145018452af507ea6faeb95a52484649f
1,791
Cinemalist
Apache License 2.0
plugin/src/test/kotlin/org/jlleitschuh/gradle/ktlint/AbstractPluginTest.kt
utwyko
327,038,167
true
{"Kotlin": 81818}
package org.jlleitschuh.gradle.ktlint import org.gradle.testkit.runner.BuildResult import org.gradle.testkit.runner.GradleRunner import org.junit.jupiter.api.io.TempDir import java.io.File abstract class AbstractPluginTest { @TempDir lateinit var temporaryFolder: File val projectRoot: File get()...
0
Kotlin
0
0
d5c25d7c1269fe5e0a408eb36ff615028a649ce9
3,075
ktlint-gradle
MIT License
app/src/main/java/com/app/framework/utils/ConfigManager.kt
NewNum
178,140,296
false
{"Java": 344965, "Kotlin": 56132}
package com.app.framework.utils import com.app.framework.BuildConfig /** * @author Administrator * @date 2019/11/4. */ object ConfigManager{ val DEBUG = BuildConfig.DEBUG val BASE_URL = "https://www.wanandroid.com/" }
1
Java
1
1
0bad0395d0b19792804044e34ace7c339524d51f
231
framework
Apache License 2.0
features/settings/api/src/main/kotlin/com/javernaut/whatthecodec/feature/settings/api/content/VideoStreamFeature.kt
Javernaut
174,843,727
false
{"Kotlin": 150105, "Ruby": 1066, "Shell": 852}
package com.javernaut.whatthecodec.feature.settings.api.content import androidx.annotation.Keep @Keep enum class VideoStreamFeature { Codec, Bitrate, FrameRate, FrameWidth, FrameHeight, Language, Disposition }
2
Kotlin
15
73
f21195d749b75bfe133b075298becdf2e890c272
240
WhatTheCodec
MIT License
src/main/kotlin/com/sxtanna/korm/comp/lexer/Lexer.kt
Sxtanna
124,258,591
false
null
package com.sxtanna.korm.comp.lexer import com.sxtanna.korm.comp.TokenData import com.sxtanna.korm.comp.TokenType import com.sxtanna.korm.comp.TokenType.* import com.sxtanna.korm.data.Data internal class Lexer(private val input: String) { private var line = 0 private var char = 0 private val tokens = mutableLi...
0
Kotlin
2
9
b81676da76f3450247439c6e1d9b97f440511c82
4,036
korm
MIT License
SquareBoatApplication/app/src/main/java/com/priyam/squareboatapplication/di/AppComponent.kt
priyamBansal1308
332,413,844
false
null
package com.priyam.squareboatapplication.di import android.app.Application import com.priyam.squareboatapplication.BaseApplication import dagger.BindsInstance import dagger.Component import dagger.android.AndroidInjectionModule import dagger.android.AndroidInjector import javax.inject.Singleton @Component( ...
0
Kotlin
0
0
120f7077a5c529347ca9743cce6b3509d2da5a22
715
IconFinder
MIT License
kotlin/src/nativeMain/kotlin/org/vosk/BatchRecognizer.kt
alphacep
206,138,137
false
null
/* * Copyright 2020 Alpha Cephei Inc. & Doomsdayrs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
486
null
1105
7,979
0979c467668f2fc95b6fc3c10958a5b66a11b4f4
2,083
vosk-api
Apache License 2.0
modulecheck-core/src/main/kotlin/modulecheck/core/kapt/UnusedKaptPluginFinding.kt
RBusarow
316,627,145
false
null
/* * Copyright (C) 2021-2022 Rick Busarow * 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 ag...
15
Kotlin
2
8
c7839433d0cbfef3a489292be14f40794113be7b
3,030
ModuleCheck
Apache License 2.0
app/src/main/java/es/kix2902/santoral/helpers/VerticalDivider.kt
kix2902
189,758,430
false
{"Kotlin": 35058}
package es.kix2902.santoral.common.helpers import android.content.Context import android.graphics.Canvas import android.graphics.Rect import android.graphics.drawable.Drawable import android.view.View import androidx.recyclerview.widget.RecyclerView import es.kix2902.santoral.px internal class VerticalDivider(contex...
0
Kotlin
0
4
203dc9b2e52f79e3fdba5d31dae3eec4f450c550
1,958
Santoral
MIT License
api_viewing/src/main/kotlin/com/madness/collision/unit/api_viewing/main/MainListLoader.kt
cliuff
231,891,447
false
{"Kotlin": 1532215}
/* * Copyright 2021 Clifford Liu * * 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
9
97
bf61e5587039098c3161f8d1a8cd5c7398cb1b82
4,284
boundo
Apache License 2.0
straight/src/commonMain/kotlin/me/localx/icons/straight/bold/BoxUp.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.straight.bold import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter i...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
2,955
icons
MIT License
library/src/main/java/com/santalu/maskara/MaskResult.kt
santalu
99,812,382
false
null
package com.santalu.maskara import android.text.Editable import android.text.Selection /** * Created by fatih.santalu on 7/7/2020. */ internal data class MaskResult( val selection: Int, val masked: String, val unMasked: String, val isDone: Boolean ) /** * Applies mask result to given text without...
11
null
69
602
6e091b930a861ebb868ff452e764c408e3ad64f5
677
maskara
Apache License 2.0
app/src/main/java/com/trustathanas/journalapp/activities/EditJournalActivity.kt
trustmub
138,737,235
false
null
package com.trustathanas.journalapp.activities import android.content.DialogInterface import android.content.Intent import android.support.v7.app.AppCompatActivity import android.os.Bundle import android.view.View import android.widget.Toast import com.trustathanas.journalapp.R import com.trustathanas.journalapp.Rooms...
1
null
1
1
cf19d0ce1963268f653330154485b8ad3d39b720
1,943
Journal-App
MIT License
src/main/kotlin/university/com/data/service/PurchaseService.kt
ShockJake
840,829,722
false
{"Kotlin": 75445, "Dockerfile": 1231, "Shell": 1129, "HTML": 122}
package university.com.data.service import university.com.data.model.Book import university.com.data.model.Purchase import java.math.BigInteger import java.security.SecureRandom class PurchaseService { private val purchases: MutableList<Purchase> = mutableListOf() private val random = SecureRandom() fun ...
0
Kotlin
0
0
681b396717658bf2a47279b81ea5f88361a1472d
608
kotlin-library-backend
Apache License 2.0
src/main/kotlin/de/skyrising/aoc2020/day8.kt
skyrising
317,830,992
false
{"Kotlin": 346951}
package de.skyrising.aoc2020 import de.skyrising.aoc.Graph import it.unimi.dsi.fastutil.ints.Int2IntOpenHashMap class BenchmarkDay8 : BenchmarkDayV1(8) fun registerDay8() { val test = """ nop +0 acc +1 jmp +4 acc +3 jmp -3 acc -99 ...
0
Kotlin
0
0
ca9cbf4212c50424f595c7ecbe3e13b53d4cefb6
2,872
aoc2020
MIT License
interpreter/src/commonMain/kotlin/com/sunnychung/lib/multiplatform/kotlite/model/ScopeType.kt
sunny-chung
783,528,970
false
{"Kotlin": 1602007}
package com.sunnychung.lib.multiplatform.kotlite.model enum class ScopeType { Script, Function, Closure, Initializer, ClassInitializer /* for Analyzer and Runtime use */, Class, ClassMemberFunction, FunctionBlock, FunctionParameters, ExtraWrap, Try, Catch, Finally, If, For, While, DoWhile, WhenOute...
0
Kotlin
0
0
7f8e39806b03ed3946457fa3799d7544abc98031
508
kotlite
MIT License
src/test/kotlin/no/nav/familie/ef/iverksett/arena/VedtakhendelseProducerTest.kt
navikt
357,821,728
false
{"Kotlin": 822226, "Gherkin": 73692, "Dockerfile": 186}
package no.nav.familie.ef.iverksett.arena import io.mockk.Runs import io.mockk.every import io.mockk.just import io.mockk.mockk import io.mockk.slot import no.nav.familie.ef.iverksett.util.opprettIverksettOvergangsstønad import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test import org.spr...
12
Kotlin
0
0
f0644918036670c234c51bc1e5ccd407d2c8906f
1,942
familie-ef-iverksett
MIT License
vis/src/main/kotlin/ktx/vis/widgetFactory.kt
nukesz
152,832,509
true
{"Kotlin": 783344}
package ktx.vis import com.badlogic.gdx.scenes.scene2d.Actor import com.badlogic.gdx.scenes.scene2d.ui.* import com.badlogic.gdx.scenes.scene2d.ui.Tree.Node import com.badlogic.gdx.scenes.scene2d.utils.Drawable import com.badlogic.gdx.utils.Align import com.badlogic.gdx.utils.Scaling import com.kotcrab.vis.ui.VisUI im...
0
Kotlin
0
0
76ae5c4b8bf203f9d249358b31c05dc1260fba09
20,742
ktx
Creative Commons Zero v1.0 Universal
library/src/test/java/io/github/anderscheow/validator/rules/common/NotEmptyRuleTest.kt
anderscheow
111,089,399
false
null
package io.github.anderscheow.validator.rules.common import androidx.annotation.StringRes import org.junit.After import org.junit.Assert.* import org.junit.Before import org.junit.Test class NotEmptyRuleTest { private lateinit var notEmptyRule: NotEmptyRule @Before @Throws(Exception::class) fun setU...
1
null
13
129
917c3e857eccbffd803409d142ad344fd31028d7
1,749
Validator
MIT License
crouter-api/src/main/java/me/wcy/router/FragmentFinder.kt
wangchenyan
207,708,657
false
null
package me.wcy.router import androidx.fragment.app.Fragment import me.wcy.router.annotation.RouteInfo import kotlin.reflect.KClass /** * Created by wangchenyan.top on 2022/6/8. */ internal object FragmentFinder { fun findFragmentX(request: Request): KClass<out Fragment>? { val uri = request.uri() ?: re...
0
Kotlin
0
8
b1aa31454a76ccc0ad65b7761d64940b4eb3c82b
1,323
crouter
Apache License 2.0
src/main/kotlin/com/odenizturker/user/controller/FollowController.kt
gather-me
675,289,932
false
null
package com.odenizturker.user.controller import com.odenizturker.user.model.UserModel import com.odenizturker.user.service.FollowService import org.springframework.web.bind.annotation.GetMapping import org.springframework.web.bind.annotation.PathVariable import org.springframework.web.bind.annotation.PostMapping impor...
0
Kotlin
0
0
ae257fdb0580b6c7432afafe10eed9a71e6bd7a1
1,516
service-user
MIT License
maps/src/main/java/org/odk/collect/maps/layers/OfflineMapLayersPickerAdapter.kt
getodk
40,213,809
false
{"Java": 3378614, "Kotlin": 2749754, "JavaScript": 2830, "Shell": 2689}
package org.odk.collect.maps.layers import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.core.content.ContextCompat import androidx.core.view.isVisible import androidx.recyclerview.widget.AsyncListDiffer import androidx.recyclerview.widget.DiffUtil import androidx.r...
283
Java
1372
717
63050fdd265c42f3c340f0ada5cdff3c52a883bc
3,449
collect
Apache License 2.0
support-refs_heads_androidx-master-dev-ui.tar/ui-framework/src/test/java/androidx/ui/core/gesture/LongPressGestureDetectorTest.kt
cpinan
215,833,397
false
null
/* * Copyright 2019 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...
1
null
1
3
a4298de63f0cb4848269a9fe5b6a5ab59d68a4e5
14,727
Android-Jetpack-Composer
Apache License 2.0
app/src/main/java/com/oguzdogdu/wallies/presentation/main/MainFragment.kt
oguzsout
616,912,430
false
null
package com.oguzdogdu.wallies.presentation.main import androidx.fragment.app.viewModels import androidx.lifecycle.lifecycleScope import coil.load import coil.request.CachePolicy import coil.transform.CircleCropTransformation import com.google.android.material.tabs.TabLayoutMediator import com.oguzdogdu.wallies.R impor...
0
null
0
7
0ef32be376b3ab30af4eab109f34afa6d7eab1c2
2,502
Wallies
MIT License
src/main/kotlin/world/cepi/kstom/serializer/PositionSerializer.kt
Project-Cepi
320,725,364
false
null
package dev.emortal.immortal.serializer import kotlinx.serialization.ExperimentalSerializationApi import kotlinx.serialization.KSerializer import kotlinx.serialization.Serializer import kotlinx.serialization.descriptors.SerialDescriptor import kotlinx.serialization.descriptors.buildClassSerialDescriptor import kotlinx...
12
null
4
8
2bb37b0156cbb6c5af8be845a35ac29c07fba30c
2,081
KStom
MIT License
projects/api-service/src/main/kotlin/cn/itxia/api/controller/MemberController.kt
PiscesXP
287,365,014
false
null
package cn.itxia.api.controller import cn.itxia.api.annotation.CurrentItxiaMember import cn.itxia.api.annotation.RequireItxiaMember import cn.itxia.api.dto.* import cn.itxia.api.enum.MemberRoleEnum import cn.itxia.api.model.ItxiaMember import cn.itxia.api.response.Response import cn.itxia.api.response.ResponseCode imp...
0
null
4
14
f10d1a5d1be3c1fcba8c2a9a4f485fca1eb26efd
5,646
MakeItxiaGreatAgain
MIT License
src/main/kotlin/data/net/models/ImageEntity.kt
FireZenk
135,927,218
false
{"Kotlin": 25908}
package data.net.models class GiphyData(val data: List<ImageEntity>) class ImageEntity(val embed_url: String)
0
Kotlin
0
4
0e3afee2f8b576c17dbe0edb414fa9c6da085d6c
111
HeyBirthday
MIT License
app/src/main/kotlin/io/vextil/billboard/fragments/CinemaPremiereFragment.kt
Vextil
31,686,683
false
null
package io.vextil.billboard.fragments import io.vextil.billboard.App import io.vextil.billboard.api.Functions import rx.Observable class CinemaPremiereFragment : LocationFragment() { override fun onGetObservable(): Observable<Functions> { return App.API().getCinemaPremiere() } }
1
Kotlin
0
1
09d4daefb074dce26cf0cb7840c1d70a417ede03
299
Billboard-Android
MIT License
injektor/src/main/kotlin/com/github/lexer/injektor/Binding.kt
lexer
143,588,526
false
null
package com.github.lexer.injektor import kotlin.reflect.KClass class Binding<T : Any>(val clazz: KClass<T>, val factory: () -> T) { private var scopeName: String? = null fun scope(scopeName: String) { this.scopeName = scopeName } private fun provider(): Provider<T> { val cacheScopeNa...
0
Kotlin
1
20
171b34abf9856342fa9498b3474cfef79b5df707
612
injektor
Apache License 2.0
shared/src/main/java/xyz/heart/sms/shared/data/model/DatabaseTable.kt
tnyeanderson
318,977,382
true
{"Markdown": 2, "Gradle": 8, "SVG": 3, "Java Properties": 2, "Shell": 1, "Text": 3, "Ignore List": 6, "JSON": 3, "Proguard": 1, "Java": 166, "Kotlin": 405, "XML": 418, "AIDL": 1}
package xyz.heart.sms.shared.data.model import android.database.Cursor import xyz.heart.sms.encryption.EncryptionUtils interface DatabaseTable { fun getCreateStatement(): String fun getTableName(): String fun getIndexStatements(): Array<String> fun fillFromCursor(cursor: Cursor) fun encrypt(...
1
Kotlin
7
11
02c49b400842bc4cead9e4c08d2460e34fe84be8
387
heart-sms-android
Apache License 2.0
JetStreamCompose/jetstream/src/main/java/com/google/jetstream/presentation/utils/Padding.kt
android
192,011,831
false
null
/* * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
46
null
325
998
dba6602e2543ad467b7d4b44e99d118635c21c97
824
tv-samples
Apache License 2.0
compiler/testData/codegen/box/ranges/stepped/unsigned/expression/rangeTo/oneToMaxValueStepMaxValue.kt
JetBrains
3,432,266
false
null
// Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit! // DONT_TARGET_EXACT_BACKEND: WASM // KJS_WITH_FULL_RUNTIME // WITH_RUNTIME import kotlin.test.* fun box(): String { val uintList = mutableListOf<UInt>() val uintProgression = 1u..UInt.MAX_VALUE for (i in uintProgression step Int.MAX_V...
181
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
698
kotlin
Apache License 2.0
app/src/main/java/com/wololo/hulkify/ui/contacts/ContactsFragment.kt
msayan
141,748,886
false
null
package com.wololo.hulkify.ui.contacts import android.arch.lifecycle.Observer import android.content.Intent import android.net.Uri import android.os.Bundle import android.support.v7.widget.SearchView import android.view.View import com.wololo.hulkify.R import com.wololo.hulkify.core.BaseAdapter import com.wololo.hulk...
1
null
1
5
6b174dae47682d714ca2e961c4602967cf0c659a
2,479
hulkify
Apache License 2.0
craft/craft-api/src/main/kotlin/me/ddevil/shiroi/craft/event/ShiroiEvent.kt
BrunoSilvaFreire
88,535,533
false
null
package me.ddevil.shiroi.craft.event import org.bukkit.Bukkit import org.bukkit.event.Event import org.bukkit.event.HandlerList open class ShiroiEvent : Event() { override fun getHandlers(): HandlerList { return handlerList } companion object { val handlerList = HandlerList() ...
2
null
1
1
5060ef1b811a3fe5d86e2b3498f6814239dce6d2
431
ShiroiFramework
Do What The F*ck You Want To Public License
app/src/test/java/com/pj109/xkorey/pjos/ExampleUnitTest.kt
noobthinker
211,669,359
false
{"Gradle": 5, "Java Properties": 1, "Shell": 1, "Text": 1, "Ignore List": 4, "Batchfile": 1, "Markdown": 1, "Proguard": 3, "Java": 10, "XML": 82, "Kotlin": 166, "JSON": 1}
package com.pj109.xkorey.pjos import com.pj109.xkorey.model.enums.MeidaType import com.pj109.xkorey.model.room.MediaTags import org.junit.Test import org.junit.Assert.* /** * Example local unit test, which will execute on the development machine (host). * * See [testing documentation](http://d.android.com/tools/t...
0
Kotlin
0
0
10f91bf4f957bdf2e328e1a0b195146c7762eccf
522
pjos
MIT License
src/main/kotlin/io/unthrottled/amii/core/personality/ResetCore.kt
ani-memes
303,354,188
false
null
package io.unthrottled.amii.core.personality import io.unthrottled.amii.assets.MemeAssetCategory import io.unthrottled.amii.core.personality.emotions.EmotionalMutationAction import io.unthrottled.amii.events.UserEvent import io.unthrottled.amii.events.UserEventCategory import io.unthrottled.amii.events.UserEvents impo...
7
null
5
257
c9a4ef10f6e1a5ce68dc3a007b45cadbc33deed0
1,000
AMII
Apache License 2.0
deprecated/Tools/DaggerPlayground/app/src/main/java/six/ca/dagger101/six/SongComponent.kt
songzhw
57,045,008
false
{"Java": 363640, "Kotlin": 128659, "JavaScript": 2528, "Groovy": 417}
package six.ca.dagger101.six import dagger.Component import javax.inject.Singleton @Component @Singleton interface SongComponent { fun inject(receiver: SixDemo) }
1
null
1
1
8c4d47221a56b2e9d96e20419013900de20ec77c
168
AndroidArchitecture
Apache License 2.0
sim-administration/simmanager/src/main/kotlin/org/ostelco/simcards/hss/HssEntry.kt
ostelco
112,729,477
false
null
package org.ostelco.simcards.hss import com.fasterxml.jackson.annotation.JsonProperty /** * This is a datum that is stored in a database. * * When a VLR asks the HLR for the an authentication triplet, then the * HLR will know that it should give an answer. * * id - is a database internal identifier. * metricN...
23
null
13
37
b072ada4aca8c4bf5c3c2f6fe0d36a5ff16c11af
489
ostelco-core
Apache License 2.0
src/main/java/org/commcare/formplayer/sqlitedb/CaseSearchDB.kt
cgb-formdesigner
665,942,968
false
{"Markdown": 4, "YAML": 6, "Gradle": 2, "Shell": 6, "Dockerfile": 1, "Batchfile": 1, "Text": 20, "Ignore List": 1, "XML": 119, "Git Config": 1, "Java": 360, "Kotlin": 27, "JSON": 61, "Java Properties": 2, "INI": 1}
package org.commcare.formplayer.sqlitedb class CaseSearchDB(domain: String, username: String, asUserName: String?) : SQLiteDB( CaseSearchDbPath( domain, username, asUserName ) )
1
null
1
1
3fd62b00a391d9c6d1d7b6d3fcec9ac5c1c24e6e
211
formplayer
Apache License 2.0
code/edgemedia/src/test/java/com/adobe/marketing/mobile/edge/media/internal/TrackerScenarioTestBase.kt
adobe
593,399,661
false
{"YAML": 11, "Text": 1, "Ignore List": 4, "Markdown": 10, "Makefile": 1, "Gradle Kotlin DSL": 5, "Java Properties": 2, "Shell": 3, "Batchfile": 1, "Java": 44, "Kotlin": 43, "XML": 25, "JSON": 1}
/* Copyright 2023 Adobe. All rights reserved. This file is licensed to you 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 la...
1
Java
8
1
eb7a718a5ef1b60f3123bfea3b4688edef17afec
3,635
aepsdk-edgemedia-android
Apache License 2.0
compiler/testData/codegen/box/properties/lateinit/topLevel/accessorException.kt
android
263,405,600
true
null
// IGNORE_BACKEND_FIR: JVM_IR // Note: does not pass on FIR because of non-prohibited Kotlin synthetic properties, // fun getS() = s is considered to be recursive here :( // It's a question to be discussed in Dec 2019. Muted at this moment. // WITH_RUNTIME // FILE: lateinit.kt private lateinit var s: String object C {...
0
Kotlin
37
316
74126637a097f5e6b099a7b7a4263468ecfda144
750
kotlin
Apache License 2.0
app/src/main/java/co/jasonwyatt/asynclistutil_example/data.kt
jasonwyatt
103,170,138
false
null
package co.jasonwyatt.asynclistutil_example class Item(var title: String, var content: String) interface ItemSource { fun getCount(): Int fun getItem(position: Int): Item fun close() }
1
Kotlin
10
75
e42dcd6f730d1cd158f76839adbd3fd9e1890a79
199
AsyncListUtil-Example
The Unlicense
maxur-mserv-core/src/main/kotlin/org/maxur/mserv/core/Either.kt
myunusov
51,206,212
false
null
package org.maxur.mserv.core /** * Represents a value of one of two possible types (a disjoint union.) * Instances of Either are either an instance of Left or Right. * * @author <NAME> * @version 1.0 * @since <pre>11/25/13</pre> */ sealed class Either<out L, out R> /** * Create right Either. * @param value E...
11
Kotlin
1
3
be46ed681423be3f07177c35776df094da1952c8
1,836
maxur-mserv
Apache License 2.0
js/js.translator/testData/lineNumbers/inlineReturn.kt
ccva
93,638,097
true
null
inline fun foo(x: Int): String { if (x == 1) { return "a" + x } print("!") if (x == 2) { return "b" + x } println("#") return x.toString() } fun bar(x: Int) { println(foo(x + 1)) println("%") } // LINES: 2 3 4 7 9 10 11 14 16 * 20 *...
0
Java
0
1
c851e9d206c92da77cb9f8e8406c6974cbfae855
353
kotlin
Apache License 2.0
knapsack-solver/src/test/java/com/github/nieldw/knapsack/matcher/ItemMatcher.kt
nieldw
121,665,123
false
{"Batchfile": 1, "Shell": 1, "Maven POM": 3, "Text": 4, "Ignore List": 1, "YAML": 1, "Markdown": 2, "INI": 1, "Kotlin": 16, "Java": 14}
package com.github.nieldw.knapsack.matcher import com.github.nieldw.knapsack.Item import org.hamcrest.Description import org.hamcrest.TypeSafeMatcher class ItemMatcher(private val expectedItem: Item) : TypeSafeMatcher<Item>() { override fun matchesSafely(item: Item): Boolean { return item.index == expecte...
1
Kotlin
0
0
1ff195184f454349a5d198290e2011116a6fb569
901
knapsack-solver
MIT License
plugins/kotlin/code-insight/api/src/org/jetbrains/kotlin/idea/codeinsight/api/applicable/KotlinApplicableToolWithContext.kt
ingokegel
72,937,917
false
null
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package org.jetbrains.kotlin.idea.codeinsight.api.applicable import com.intellij.codeInspection.util.IntentionName import com.intellij.openapi.editor.Editor import com.intellij.openapi.project.Proje...
1
null
1
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
3,364
intellij-community
Apache License 2.0
test/kotlin/extraction/InteractionTest.kt
chorlang
83,657,539
false
{"XML": 2, "Maven POM": 1, "Text": 8, "Ignore List": 1, "Markdown": 1, "Kotlin": 91, "Java": 36, "ANTLR": 3}
package extraction import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Test class InteractionTest{ /* simple interaction */ @Test fun tst1(){ val test = "p { main {q!<e>; q?; stop}} " + "| q { main {p?; p!<u>; stop}} " + "| r { main {s...
1
Kotlin
0
0
d607ed6aebafa42531b12e71760c1515113bfaa5
2,105
core-choreographies
Apache License 2.0
app/src/main/java/org/wikiedufoundation/wikiedudashboard/ui/mediadetail/data/FileUsage.kt
ShridharGoel
212,577,753
true
{"Kotlin": 187123, "Java": 3840, "Shell": 733}
package org.wikiedufoundation.wikiedudashboard.ui.mediadetail.data class FileUsage( val title: String, val wiki: String, val url: String )
0
null
0
0
982319c52ecd35dc33e59f823dbce8a889f90637
151
apps-android-wikiedudashboard
MIT License
agent/src/test/java/com/github/kornilova_l/flamegraph/javaagent/agent/InstrumentationTest.kt
brtubb-patagonia
157,602,890
true
{"Java": 343138, "Kotlin": 155010, "JavaScript": 105315, "CSS": 22252, "HTML": 19472, "Shell": 235}
package com.github.kornilova_l.flamegraph.javaagent.agent import com.github.kornilova_l.flamegraph.configuration.MethodConfig import com.github.kornilova_l.flamegraph.javaagent.compareFiles import com.github.kornilova_l.flamegraph.javaagent.createDir import com.github.kornilova_l.flamegraph.javaagent.generate.Generato...
0
Java
0
0
e4ead70bcf92caa5514d86c9a87c41ea3dc67b6c
9,381
FlameViewer
MIT License
Project Training/app/src/main/java/com/binhnk/retrofitwithroom/di/AppModule.kt
binhnk-1899
185,574,883
false
null
package com.binhnk.retrofitwithroom.di import com.binhnk.retrofitwithroom.data.scheduler.AppSchedulerProvider import com.binhnk.retrofitwithroom.data.scheduler.SchedulerProvider import org.koin.android.ext.koin.androidApplication import org.koin.dsl.module val appModule = module { single { androidApplication().re...
1
null
1
1
9d3a12202c9ca2751e552ade4b421f45e84a754a
388
Training-MVVM
Apache License 2.0
js/js.translator/testFiles/operatorOverloading/cases/overloadPlusViaExtensionFunction.kt
udalov
10,645,710
false
null
package foo import java.util.* fun <T> ArrayList<T>.plus(other: Collection<T>): List<T> { val c = ArrayList<T>() c.addAll(this) c.addAll(other) return c } fun box(): Boolean { var v1 = ArrayList<String>() v1.add("foo") val v2 = ArrayList<String>() v2.add("bar") val v = v1 + v2 ...
0
null
1
6
3958b4a71d8f9a366d8b516c4c698aae80ecfe57
381
kotlin-objc-diploma
Apache License 2.0
sword/src/main/kotlin/androidx/swift/sword/interceptor/BaseRequestInterceptor.kt
raedev
303,111,174
false
{"Java": 1529959, "Kotlin": 57521, "Shell": 475}
package androidx.swift.sword.interceptor import android.os.Build import androidx.swift.sword.http.JsonBody import androidx.swift.sword.utils.RequestSignUtils import androidx.swift.util.AppUtils import okhttp3.FormBody import okhttp3.Interceptor import okhttp3.Request import okhttp3.Response /** * 请求拦截器 * @author RA...
1
null
1
1
70e074a02c64de31e45e8019d3ab63492393e5f9
2,261
androidx-swift
Apache License 2.0
mobile_app1/module425/src/main/java/module425packageKt0/Foo36.kt
uber-common
294,831,672
false
null
package module425packageKt0; annotation class Foo36Fancy @Foo36Fancy class Foo36 { fun foo0(){ module425packageKt0.Foo35().foo3() } fun foo1(){ foo0() } fun foo2(){ foo1() } fun foo3(){ foo2() } }
6
null
6
72
9cc83148c1ca37d0f2b2fcb08c71ac04b3749e5e
233
android-build-eval
Apache License 2.0
app/src/main/java/com/example/dailyhunt_clone/Fragment/ForYouFragment.kt
lucifernipun22
357,433,662
false
{"Java": 82375, "Kotlin": 25277, "HTML": 2622}
package com.example.dailyhunt_clone.Fragment import android.os.Bundle import android.util.Log import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.annotation.Nullable import androidx.fragment.app.Fragment import androidx.recyclerview.widget.LinearLayoutManager impo...
1
Java
1
2
ab718647ecd68874e541626b2e6e8491bbb1e98d
2,829
DailyHunt_Clone
MIT License
klaxon/src/test/kotlin/com/beust/klaxon/Issue210Test.kt
cbeust
9,588,335
false
null
package com.beust.klaxon import org.assertj.core.api.Assertions.assertThat import org.testng.annotations.Test @Test(description = "Tests that null JSON values are correctly handled") class Issue210Test { data class DClass(val some: String, val none: String?) fun issue210() { val json = """ { ...
90
null
126
1,811
cfd3dac07614d27845001de0ca83583239ffbd73
480
klaxon
Apache License 2.0
app/src/test/kotlin/batect/execution/model/stages/RunStagePlannerSpec.kt
carloslimasis
163,399,175
false
null
/* Copyright 2017-2018 <NAME>. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in wr...
4
null
0
1
72e25d21a767a37799ef718b8704f8fd9b911999
13,407
batect
Apache License 2.0
feature/settings/src/main/java/org/expenny/feature/settings/navigation/SettingsNavigator.kt
expenny-application
712,607,222
false
{"Kotlin": 1159524}
package org.expenny.feature.settings.navigation interface SettingsNavigator { fun navigateToCreateProfileScreen() fun navigateToCurrenciesListScreen() fun navigateToCreatePasscodeScreen() fun navigateToCategoriesListScreen() fun restartApplication(isDataCleanupRequested: Boolean) fun navigateBa...
0
Kotlin
3
42
7e4b8e1a5dfacf5799d5ace2e72cd21f002d6311
326
expenny-android
Apache License 2.0
src/test/kotlin/org/pareto/music/canon/DSLSpec.kt
pursuingpareto
668,436,595
false
null
package org.pareto.music import org.junit.jupiter.api.Nested import org.junit.jupiter.api.Test import org.junit.jupiter.api.assertThrows import kotlin.test.assertEquals import kotlin.test.assertIs class DSLSpec { private fun fromBuilder(block: GrammarBuilder.FunctionDefinitionBuilder.() -> Unit): Music { ...
2
null
0
2
43ea84e527e26a4d66aad0f0e3858700faccabe0
7,695
music
Apache License 2.0
designsystem/src/main/kotlin/br/pedroso/citieslist/designsystem/components/LoadingState.kt
felipepedroso
393,728,785
false
{"Kotlin": 48631}
package br.pedroso.citieslist.ui.components import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.padding import androidx.compose.material3.CircularProgressIndicator import androidx.compose.material3.MaterialTheme import android...
0
Kotlin
0
0
c1b34d197246390ea9aa72281d25dd64e7abccda
1,027
cities-list
MIT License