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
unit3 part 4 CupCakeApp/android-basics-kotlin-cupcake-app-starter/app/src/main/java/com/example/cupcake/StartFragment.kt
Rohit734
453,366,059
false
null
/* * Copyright (C) 2020 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
0
Kotlin
0
0
b5a16682299761f696ad29f7a2de00ae37bd62d0
2,855
android_Kotlin_byGDSC
The Unlicense
clients/intellij/src/main/kotlin/com/tabbyml/intellijtabby/Icons.kt
TabbyML
614,764,248
false
{"Rust": 973704, "Python": 74127, "HTML": 20155, "TypeScript": 6661, "Scheme": 6280, "Shell": 3564, "Makefile": 2813, "JavaScript": 1546, "PowerShell": 26, "RenderScript": 1}
package com.tabbyml.intellijtabby import com.intellij.openapi.util.IconLoader import com.intellij.ui.NewUI import javax.swing.Icon private fun loadIcon(name: String): Icon { return if (NewUI.isEnabled()) { IconLoader.getIcon("/icons/new-ui/$name", Icons::class.java) } else { IconLoader.getIcon("/icons/$na...
204
Rust
957
21,156
ca7895b2f80f81c2b723ab7d4bd1f3fc5edd32fc
413
tabby
Apache License 2.0
src/commonMain/kotlin/character/classes/shaman/abilities/WindfuryTotem.kt
marisa-ashkandi
332,658,265
false
null
package character.classes.shaman.abilities import character.Ability import character.Buff import character.Mutex import character.Proc import character.classes.shaman.talents.ImprovedWeaponTotems import character.classes.shaman.talents.MentalQuickness import character.classes.shaman.talents.TotemicFocus import data.Co...
21
Kotlin
11
25
9cb6a0e51a650b5d04c63883cb9bf3f64057ce73
5,377
tbcsim
MIT License
src/main/kotlin/org/microjservice/lark/core/auth/models/AuthResponse.kt
MicroJService
358,535,254
false
null
package org.microjservice.lark.core.auth.models import io.micronaut.core.annotation.Introspected /** * Authorization response * * @author <NAME> * @since 0.1.0 */ @Introspected data class AuthResponse( val code: String, val expire: Long, var tenantAccessToken: String?, var appAccessToken: String?...
1
null
1
2
6f4d4befc3373b486616c19a632e2c9bbb8997c6
498
lark-api
Apache License 2.0
app/src/main/java/com/hvasoft/weather/data/model/Forecast.kt
hva94
575,948,749
false
null
package com.hvasoft.weather.common.entities data class Forecast( val dt: Long, val humidity: Int, val temp: Double, val weather: List<Weather>, val pop: Double ): WeatherBase(dt, humidity, temp, weather)
0
Kotlin
0
1
90590847bacc093317e4f6ac8a07a223c2abd01a
225
Weather
Apache License 2.0
java/com/mu/jan/problems/ipc/aidl/client/MyClientActivity.kt
Mukuljangir372
359,095,214
false
null
package com.mu.jan.problems.ipc.aidl.client import android.content.ComponentName import android.content.Context import android.content.Intent import android.content.ServiceConnection import android.os.Bundle import android.os.IBinder import android.widget.Toast import androidx.appcompat.app.AppCompatActivity class My...
0
Kotlin
0
1
bb15517c09041757d859126dc4f39d3409fdd35d
2,174
Android-Kotlin-Interview
Apache License 2.0
src/main/kotlin/fr/alasdiablo/spring/database/SpringDataBaseApplication.kt
AlasDiablo
571,129,307
false
{"Kotlin": 11008}
package fr.alasdiablo.spring.database import fr.alasdiablo.spring.database.dao.DatabaseDao import org.springframework.boot.autoconfigure.SpringBootApplication import org.springframework.boot.runApplication @SpringBootApplication class SpringDataBaseApplication fun main(args: Array<String>) { val context = runApp...
0
Kotlin
0
0
78b5252cc2b82c03a181b65cc0f1e05ac26efc01
409
Spring-DataBase
MIT License
src/main/kotlin/at/rechnerherz/example/domain/base/InternalRepositoryImpl.kt
rechnerherz
292,055,822
false
null
package at.rechnerherz.example.domain.base import org.springframework.data.jpa.repository.support.JpaEntityInformation import org.springframework.data.jpa.repository.support.SimpleJpaRepository import org.springframework.data.repository.NoRepositoryBean import org.springframework.transaction.annotation.Propagation imp...
0
Kotlin
0
3
475b6ec7f1b0d4df9c9894f8731d73d06bfef990
3,214
spring-boot-kotlin-rest-api-template
Apache License 2.0
core/src/main/java/com/ifmvo/togetherad/core/listener/InterListener.kt
hanjiajia2000
280,829,730
true
{"Kotlin": 95265}
package com.ifmvo.togetherad.core.listener import android.support.annotation.NonNull /** * 插屏的回调 * * Created by <NAME> on 2020/7/3. */ interface InterListener { fun onAdStartRequest(@NonNull providerType: String) {} fun onAdLoaded(@NonNull providerType: String) {} fun onAdFailed(@NonNull providerTy...
0
null
0
1
906620d4047947d5cbe1678b16f7b5eccb8e9923
547
TogetherAd
MIT License
idea/testData/refactoring/safeDelete/deleteClass/kotlinClass/unsafeImport.kt
JakeWharton
99,388,807
true
null
package test import test.A.C class <caret>A { class C { } } class B { }
0
Kotlin
28
83
4383335168338df9bbbe2a63cb213a68d0858104
84
kotlin
Apache License 2.0
layout/src/main/java/br/com/zup/nimbus/compose/layout/component/container/MainAxisAlignment.kt
ZupIT
495,447,304
false
{"Kotlin": 183596, "Shell": 1211}
/* * Copyright 2023 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA * * 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...
2
Kotlin
4
7
59078f425b4e4e806f8c5d883df53a633432f61a
1,594
nimbus-layout-compose
Apache License 2.0
common/src/main/java/pl/kamilszustak/read/common/date/HasDays.kt
swistak7171
289,985,013
false
null
package pl.kamilszustak.read.common.date interface HasDays { fun getLength(year: Int): Int }
2
Kotlin
0
1
70d7be58042410bdb969035413b726126426e3d3
97
read
Apache License 2.0
sdk-conference/src/test/kotlin/com/pexip/sdk/conference/infinity/internal/TokenStoreTest.kt
pexip
493,156,648
false
null
/* * Copyright 2022-2023 Pexip AS * * 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...
7
null
3
7
8119d0d078a2827fa5b7b43b729dcaa9a7dfb446
1,351
pexip-android-sdk
Apache License 2.0
Halachic Times/locations/src/main/java/com/github/times/location/bing/BingAddressResponseParser.kt
pnemonic78
121,489,129
false
{"Kotlin": 916005, "Java": 140420, "HTML": 5998, "Shell": 73}
/* * Copyright 2012, <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 w...
42
Kotlin
2
9
06c00727efdfe3da902e72eec525767f2295dff1
4,199
HalachicTimes
Apache License 2.0
common/di/src/main/java/tech/antee/junkiot/di/Dependencies.kt
AnteeOne
606,828,083
false
null
package tech.antee.junkiot.di interface Dependencies
1
Kotlin
0
0
e878576c2f1d7d1649d457890ecdc8a933030f57
54
junkiot-android-app
MIT License
app/src/main/java/br/com/movieapp/movie_detail_feature/data/source/MovieDetailRemoteDataSourceImpl.kt
LeoDiasDev
874,309,011
false
{"Kotlin": 181905}
package br.com.movieapp.movie_detail_feature.data.source import br.com.movieapp.core.data.remote.MovieService import br.com.movieapp.core.data.remote.response.MovieResponse import br.com.movieapp.core.domain.model.MovieDetails import br.com.movieapp.core.domain.model.MoviePaging import br.com.movieapp.core.paging.Movi...
0
Kotlin
0
0
a7492d47da1f12144015c8ffcbfb91fc5c4331a1
1,868
movie-app
MIT License
openlayer-java-core/src/test/kotlin/com/openlayer/api/models/InferencePipelineRowUpdateResponseTest.kt
openlayer-ai
812,069,820
false
{"Kotlin": 881544, "Shell": 3642, "Dockerfile": 366}
// File generated from our OpenAPI spec by Stainless. package com.openlayer.api.models import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test class InferencePipelineRowUpdateResponseTest { @Test fun createInferencePipelineRowUpdateResponse() { val inferencePipelineRowUpd...
0
Kotlin
1
6
75f7a19146a4d56e14dd8765c3623ed526525991
700
openlayer-java
Apache License 2.0
data/episodes/implementation/src/commonMain/kotlin/com/thomaskioko/tvmaniac/episodes/implementation/EpisodeComponent.kt
thomaskioko
361,393,353
false
{"Kotlin": 668650, "Swift": 206696, "Ruby": 1770, "Shell": 1120}
package com.thomaskioko.tvmaniac.episodes.implementation import com.thomaskioko.tvmaniac.core.base.annotations.ApplicationScope import com.thomaskioko.tvmaniac.episodes.api.EpisodeRepository import com.thomaskioko.tvmaniac.episodes.api.EpisodesDao import me.tatarka.inject.annotations.Provides interface EpisodeCompone...
15
Kotlin
28
282
8c83a0461c03a1975afdf709e9d9307a141c0ec3
543
tv-maniac
Apache License 2.0
feed/src/main/java/com/cupsofcode/feed/FeedFragment.kt
AidaIssayeva
349,539,665
false
null
package com.cupsofcode.feed import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.appcompat.app.AlertDialog import androidx.fragment.app.Fragment import androidx.recyclerview.widget.LinearLayoutManager import com.cupsofcode.feed.dagger.FeedCo...
1
Kotlin
2
5
c66f4f39d7b0e46456441ca9787001bd939e2238
3,976
Android-Clean-Modular-and-MVI
MIT License
publishing-sdk/src/main/java/com/ably/tracking/publisher/workerqueue/workers/StoppingConnectionFinishedWorker.kt
ably
313,556,297
false
null
package com.ably.tracking.publisher.workerqueue.workers import com.ably.tracking.common.workerqueue.DefaultWorker import com.ably.tracking.publisher.PublisherProperties import com.ably.tracking.publisher.PublisherState import com.ably.tracking.publisher.workerqueue.WorkerSpecification internal class StoppingConnectio...
101
Kotlin
6
9
dca56bac165ebc1474cf2afb863728c2aad4aeb4
678
ably-asset-tracking-android
Apache License 2.0
app/src/main/java/com/example/kmvvm/domain/model/Quote.kt
MJackson22-bit
473,395,803
false
{"Kotlin": 10448}
package com.example.kmvvm.domain.model import com.example.kmvvm.data.database.entities.QuoteEntity import com.example.kmvvm.data.model.QuoteModel data class Quote(val quote: String, val author: String) fun QuoteModel.toDomain() = Quote(quote, author) fun QuoteEntity.toDomain() = Quote(quote, author)
0
Kotlin
0
0
ac7fb195ac3f592a4efe36b4d34724719abb0645
303
Architecture-MVVM
MIT License
diktat-test-framework/src/main/kotlin/com/saveourtool/diktat/test/framework/processing/TestCompare.kt
saveourtool
275,879,956
false
null
package org.cqfn.diktat.test.framework.processing import java.io.File import org.apache.commons.io.FileUtils import org.cqfn.diktat.test.framework.common.ExecutionResult import org.cqfn.diktat.test.framework.common.TestBase import org.cqfn.diktat.test.framework.config.TestConfig import org.cqfn.diktat.test.framework.c...
144
null
32
461
f8fd40f73b90040abd8a48ddc8e7ab262fffb145
3,537
diktat
MIT License
src/test/kotlin/io/foxcapades/lib/json4k/jackson/wrap/JacksonJsonShortTest.kt
Foxcapades
447,448,916
false
{"Kotlin": 55139}
package io.foxcapades.lib.json4k.jackson.wrap import com.fasterxml.jackson.databind.node.IntNode import com.fasterxml.jackson.databind.node.ShortNode import io.foxcapades.lib.json4k.JsonElementContractTest import io.foxcapades.lib.json4k.JsonElementType import io.foxcapades.lib.json4k.JsonNumeric.PrecisionLossExceptio...
0
Kotlin
0
0
c7ba690cbe0f2be795376e0931bb34773d7a4678
5,474
Json4k-Jackson
MIT License
LargeDynamicProject/common/commonA/src/main/java/com/devrel/experiment/large/dynamic/feature/common/a/Foo1707.kt
skimarxall
212,285,318
false
{"Markdown": 13, "Text": 10, "Ignore List": 24, "Gradle": 272, "Shell": 13, "Java Properties": 19, "XML": 1020, "Batchfile": 11, "Kotlin": 14867, "Java": 160, "Proguard": 13, "YAML": 10, "CMake": 1, "C": 1, "INI": 3}
package com.devrel.experiment.large.dynamic.feature.common.a annotation class Foo1707Fancy @Foo1707Fancy class Foo1707 { fun foo0(){ Foo1706().foo8() } fun foo1(){ foo0() } fun foo2(){ foo1() } fun foo3(){ foo2() } fun foo4(){ foo3() } fun foo5(){ foo4() } fun f...
1
null
1
1
e027d45a465c98c5ddbf33c68deb09a6e5975aab
403
app-bundle-samples
Apache License 2.0
src/test/kotlin/kotlinmudv2/action/actions/commerce/BuyTest.kt
danielmunro
515,227,142
false
{"Kotlin": 214222, "Dockerfile": 179, "Makefile": 134}
package kotlinmudv2.action.actions.commerce import assertk.assertThat import assertk.assertions.isEqualTo import kotlinmudv2.test.createTestService import kotlin.test.Test class BuyTest { @Test fun testCanBuyItemFromShopkeeper() { // setup val test = createTestService() // given ...
0
Kotlin
0
0
28b5a049c54ad072ccade19c9ad2bb36b9cf8909
678
kotlinmud-v2
MIT License
adoptopenjdk-updater-parent/adoptopenjdk-mappers-parent/mappers-common/src/main/kotlin/net/adoptopenjdk/api/v3/mapping/BinaryMapper.kt
AdoptOpenJDK
196,354,833
false
null
package net.adoptopenjdk.api.v3.mapping import net.adoptopenjdk.api.v3.dataSources.github.graphql.models.GHAsset import net.adoptopenjdk.api.v3.models.FileNameMatcher import java.time.ZonedDateTime abstract class BinaryMapper { companion object { val INSTALLER_EXTENSIONS = listOf("msi", "pkg") v...
0
null
34
35
05ec63ad41d651f1108062816ed618b334193a90
1,216
openjdk-api-v3
Apache License 2.0
app/src/main/java/com/stratagile/qlink/view/ActiveTogglePopWindow.kt
qlcchain
139,927,027
false
{"C": 17492119, "C++": 7904633, "Java": 5430505, "Assembly": 5170785, "Perl": 4026539, "Shell": 1019170, "Kotlin": 434392, "Makefile": 286348, "Roff": 231091, "Objective-C": 172232, "M4": 130942, "xBase": 124283, "XSLT": 80044, "CMake": 76101, "Python": 73518, "HTML": 45367, "Batchfile": 36793, "AGS Script": 21828, "eC...
package com.stratagile.qlink.view import android.annotation.SuppressLint import android.app.Activity import android.content.Context import android.graphics.drawable.ColorDrawable import android.support.annotation.IdRes import android.view.LayoutInflater import android.view.View import android.view.View.OnClickListene...
1
C
6
6
e39f2043ca82c9d61df3819ca9fb3007a7870426
2,507
WinQ-Android-code
MIT License
src/main/kotlin/com/pineypiney/game_engine/resources/shaders/uniforms/mats/Mat2x4sUniform.kt
PineyPiney
491,900,499
false
{"Kotlin": 641121, "GLSL": 32418}
package com.pineypiney.game_engine.resources.shaders.uniforms.mats import com.pineypiney.game_engine.rendering.RendererI import com.pineypiney.game_engine.resources.shaders.Shader import com.pineypiney.game_engine.resources.shaders.uniforms.Uniform import glm_.mat2x4.Mat2x4 class Mat2x4sUniform(name: String, default:...
0
Kotlin
0
0
79da758947cab4855d11ebc8716ef68792e40fe7
566
GameEngine
MIT License
test/com/facebook/buck/jvm/kotlin/testdata/kotlin_library_description/com/example/ap/annotation-processing-tool-ksp-multiround/AKotlinClass.kt
jasonnam
429,969,171
true
{"Java": 40267235, "Starlark": 1541716, "JavaScript": 931186, "Python": 556768, "C": 248678, "CSS": 56146, "Shell": 42105, "Kotlin": 36815, "Thrift": 17387, "Lex": 14494, "Smalltalk": 5550, "PowerShell": 5054, "Dockerfile": 2094, "Batchfile": 1754, "Makefile": 1700, "HTML": 501}
package com.example.ap class AKotlinClass { fun foo() { KotlinClassForMultiround_A() KotlinClassForMultiround_A_B() } }
0
Java
0
0
b3ab117281779820ff30044cfc15cc94b620f531
141
buck
Apache License 2.0
app/src/main/java/com/yassineabou/clock/data/manager/TimerManager.kt
yassineAbou
603,165,906
false
null
package com.yassineabou.clock.data.manager import com.yassineabou.clock.data.model.TimerState import com.yassineabou.clock.data.workManager.worker.TIMER_COMPLETED_TAG import com.yassineabou.clock.data.workManager.worker.TIMER_RUNNING_TAG import com.yassineabou.clock.data.workManager.worker.TimerCompletedWorker import ...
1
null
1
4
7eb70533931fd4f3d2e827e6b072d6cae0a1a210
4,080
Clock
Apache License 2.0
app/src/main/kotlin/me/xizzhu/android/joshua/annotated/bookmarks/BookmarksModule.kt
AppsCDN
235,308,486
true
{"Kotlin": 1010383}
/* * Copyright (C) 2020 <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 ...
0
null
0
0
e05e008f9e574eca8d6854d9b6aebd26f282fa29
3,959
Joshua
Apache License 2.0
src/main/kotlin/com/kbapps/ephemeris/text/PlanetSummaryText.kt
kb0
201,952,805
false
null
package com.kbapps.ephemeris.text import com.kbapps.ephemeris.Constants import com.kbapps.ephemeris.JulianDate import com.kbapps.ephemeris.planet.LunarState import com.kbapps.ephemeris.planet.PlanetMilestone import com.kbapps.ephemeris.type.DirectionType import java.time.ZoneId import java.time.ZonedDateTime import k...
0
Kotlin
0
1
15e207ee65fe5cf25aa36348c5f8768b26a1a737
2,229
kotlin-ephemeris
Apache License 2.0
jubako/src/main/java/com/justeat/jubako/PaginatedContentLoadingStrategy.kt
TrendingTechnology
218,504,527
true
{"Kotlin": 120242, "Java": 8780}
package com.justeat.jubako import androidx.lifecycle.LifecycleOwner import androidx.lifecycle.LiveData import androidx.lifecycle.Observer import com.justeat.jubako.data.EmptyLiveData import com.justeat.jubako.data.PaginatedLiveData open class PaginatedContentLoadingStrategy(private val pageSize: Int = DEFAULT_PAGE_SI...
0
null
0
0
46a8af8ea05302655318af3c5cbeb919849378dd
8,421
jubako
Apache License 2.0
src/main/kotlin/org/randomcat/agorabot/commands/Stop.kt
randomnetcat
291,139,813
false
{"Kotlin": 775590, "Nix": 17514}
package org.randomcat.agorabot.commands import org.randomcat.agorabot.commands.base.* import org.randomcat.agorabot.commands.base.requirements.discord.BaseCommandDiscordRequirement import org.randomcat.agorabot.commands.base.requirements.discord.InDiscordSimple import org.randomcat.agorabot.commands.base.requirements....
0
Kotlin
3
6
a3fb3df6356d64926719ea2ffe701f7142d19852
1,779
AgoraBot
MIT License
src/main/java/jp/osak/haggledehaghag/util/CollectionExt.kt
haggle-de-haghag
363,896,456
false
{"TypeScript": 133798, "Kotlin": 50837, "HTML": 7203, "JavaScript": 3623, "CSS": 946, "SCSS": 844, "Java": 231}
package jp.osak.haggledehaghag.util fun <K, V> Collection<Pair<K, V>>.toMultiMap(): Map<K, List<V>> { val result = mutableMapOf<K, MutableList<V>>() for ((k, v) in this) { if (k !in result) { result[k] = mutableListOf() } result[k]!!.add(v) } return result }
7
TypeScript
0
0
d11bcb3f9c2805e3f212c92200674eab4e1c8193
312
haggle-de-haghag
MIT License
src/main/kotlin/ar/edu/itba/ss/rules/TendencyTo.kt
jporsay
157,558,516
false
null
package ar.edu.itba.ss.rules import ar.edu.itba.ss.model.Entity import ar.edu.itba.ss.model.Type import ar.edu.itba.ss.model.Universe import org.apache.commons.math3.geometry.euclidean.threed.Vector3D class TendencyTo(factor: Double, private val appliesTo: Type, private val interactsWith: Type): Rule(factor) { o...
0
Kotlin
1
0
af20cc0125b1b964c2a4b8552bb4546b2dd89832
820
boids
MIT License
app/src/main/java/ro/valentin/cinemania/presentation/choose_location/ChooseLocationFragment.kt
DionisiuV
494,924,349
false
null
package ro.valentin.cinemania.presentation.choose_location import android.content.Intent import android.os.Bundle import android.view.View import android.widget.TextView import android.widget.Toast import androidx.fragment.app.Fragment import androidx.navigation.fragment.findNavController import androidx.recyclerview....
0
Kotlin
0
0
58f8dc8cb46c7b880a1fd7d774e6b74edecfafe1
1,924
cinemania
Apache License 2.0
shared/src/commonMain/kotlin/com/seiko/greenqrscanner/ui/scene/add/content/AddContactInfoContent.kt
qdsfdhvh
650,389,325
false
null
package com.seiko.greenqrscanner.ui.scene.add.content import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.height import androidx.compose.foundation.layout.padding import androi...
12
null
0
3
d670b93173a89306f511000bab1a195fc1ff090d
7,564
green-qrscanner
Apache License 2.0
app/src/main/java/com/alexjlockwood/twentyfortyeight/MainActivity.kt
trekdeks1029
424,280,563
true
{"Kotlin": 46019}
package com.alexjlockwood.twentyfortyeight import android.os.Bundle import androidx.activity.compose.setContent import androidx.activity.viewModels import androidx.appcompat.app.AppCompatActivity import androidx.compose.material3.ExperimentalMaterial3Api import androidx.compose.material3.Surface import com.alexjlockwo...
0
Kotlin
0
0
8afb4b6add89b847fc650b8d9f8a482868c264ee
2,505
android-2048-compose
MIT License
tony-boot-starters/tony-wechat/src/main/kotlin/com/tony/wechat/WechatObj.kt
beingEggache
312,472,927
false
{"Java": 1825396, "HTML": 354682, "Kotlin": 287327, "Dockerfile": 2745, "Shell": 2105, "CSS": 1466}
@file:Suppress("ArrayInDataClass", "unused") package com.tony.wechat import com.fasterxml.jackson.annotation.JsonValue import com.thoughtworks.xstream.annotations.XStreamAlias import com.thoughtworks.xstream.annotations.XStreamConverter import com.tony.wechat.xml.XStreamCDataConverter @XStreamAlias("item") data clas...
1
null
1
1
1c2991364067f3c28e7f99cd46df3e8f4000b18c
2,705
tony-boot
MIT License
app/src/main/java/com/hms/referenceapp/huaweilens/trt/transactor/RemoteTextTransactor.kt
Explore-In-HMS
402,770,747
false
{"Gradle": 3, "Java Properties": 3, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 2, "Proguard": 1, "JSON": 2, "XML": 156, "Kotlin": 114, "Java": 14}
/* * Copyright 2020. Explore in HMS. All rights reserved. * * 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 r...
1
null
1
1
9c69ee14f2d3fbe195befc7f42133bd5db60cf7b
4,633
Huawei-Lens
Apache License 2.0
app/src/main/java/dlebal/es/coinhivemonitor/api/coinhive/model/CoinhiveSiteHistory.kt
dlebal
169,708,968
false
null
package dlebal.es.coinhivemonitor.api.coinhive.model import com.google.gson.annotations.SerializedName /** * Class data class CoinhiveSiteHistory * * This class provides CoinhiveSiteHistory objects */ data class CoinhiveSiteHistory( @SerializedName("time") val time: Long = 0, @SerializedName("hashesTo...
0
Kotlin
0
0
903e1537899cb93f2553b2a560c9dd171a863e2b
436
CoinhiveMonitor
Apache License 2.0
src/main/kotlin/security/CustomUserDetails.kt
MateuszLegiec
188,603,205
false
null
package security import com.strengthprogress.domain.User import org.slf4j.LoggerFactory import org.springframework.security.core.GrantedAuthority import org.springframework.security.core.authority.SimpleGrantedAuthority import org.springframework.security.core.userdetails.UserDetails import java.util.stream.Collectors...
0
Kotlin
0
0
7b65d54f996c21615f805ba52174b22c6c05a869
1,386
strength_progress_kotlin
Apache License 2.0
okgrpc-client/src/main/kotlin/com/asarkar/okgrpc/GrpcMethod.kt
asarkar
315,335,222
false
null
package com.asarkar.okgrpc /** * Represents an RPC method. * * @author <NAME> */ public data class GrpcMethod( val `package`: String?, val service: String, val method: String ) { init { require(service.isNotEmpty()) { "Service name must not be empty" } require(method.isNotEmpty()) {...
0
Kotlin
0
3
0e5e24b530a699289c56f2a6a85f751abf13cc6c
1,505
okgrpc
Apache License 2.0
decompose/src/commonMain/kotlin/com/arkivanov/decompose/router/slot/ChildSlotFactory.kt
arkivanov
437,015,897
false
{"Kotlin": 478465}
package com.arkivanov.decompose.router.slot import com.arkivanov.decompose.Child import com.arkivanov.decompose.ComponentContext import com.arkivanov.decompose.router.children.ChildNavState.Status import com.arkivanov.decompose.router.children.NavState import com.arkivanov.decompose.router.children.SimpleChildNavState...
12
Kotlin
56
1,605
71c06efd5f5e31ae4d1cc5ceee784158c82d592f
5,430
Decompose
Apache License 2.0
src/main/kotlin/swyg/hollang/repository/survey/SurveyRepository.kt
MOKY4
645,608,258
false
null
package swyg.hollang.repository.survey import swyg.hollang.entity.Survey interface SurveyRepository { fun save(survey: Survey): Survey fun saveAll(surveys: List<Survey>): List<Survey> }
2
Kotlin
0
0
a56eea47a4e52c406c9250d1ccc5a436c276f49c
198
hollang-weeks52-api-server
MIT License
src/main/kotlin/com/github/lppedd/cc/language/ConventionalCommitSyntaxHighlighterFactory.kt
lppedd
208,670,987
false
{"Kotlin": 415756, "HTML": 49996, "Java": 9014, "Lex": 4027}
package com.github.lppedd.cc.language import com.intellij.openapi.fileTypes.SyntaxHighlighter import com.intellij.openapi.fileTypes.SyntaxHighlighterFactory import com.intellij.openapi.project.Project import com.intellij.openapi.vfs.VirtualFile import java.util.* /** * @author <NAME> */ internal class ConventionalC...
34
Kotlin
19
333
5d55768a47a31a10147e7d69f2be261d028d1b85
653
idea-conventional-commit
MIT License
composeApp/src/commonTest/kotlin/uk/ryanwong/gmap2ics/data/datasources/googleapi/KtorGoogleApiDataSourceTest.kt
ryanw-mobile
452,479,934
false
{"Kotlin": 433501}
/* * Copyright (c) 2022-2024. <NAME> (<EMAIL>) */ package uk.ryanwong.gmap2ics.data.datasources.googleapi import io.kotest.assertions.throwables.shouldThrow import io.kotest.core.spec.style.FreeSpec import io.kotest.matchers.shouldBe import io.ktor.client.call.NoTransformationFoundException import io.ktor.client.en...
15
Kotlin
0
26
85185f81fbe28380715e453df68e4355d077ec01
4,329
GMap2ICal
Apache License 2.0
cachify/src/main/java/com/pyamsoft/cachify/storage/MemoryCacheStorage.kt
pyamsoft
193,628,231
false
{"Kotlin": 56567, "Shell": 457}
/* * Copyright 2024 pyamsoft * * 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...
0
Kotlin
1
6
2573bd00dfbcee3031042ff970cc51fdda8bbbbc
3,735
cachify
Apache License 2.0
lightsaber/processor/src/test/resources/test_case_projects/validator/valid_configuration_with_lazy_imports/YetAnotherDependencyImplementation2.kt
joomcode
170,310,869
false
null
/* * Copyright 2022 SIA Joom * * 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 ...
3
Kotlin
0
14
0c9f58ff04f852f0fe90036a6bb5e8cbf962623b
1,038
lightsaber
Apache License 2.0
src/jvmTest/kotlin/org/treeWare/metaModel/codec/MetaModelJsonCodecTests.kt
tree-ware
214,941,384
false
null
package org.treeWare.metaModel.codec import org.treeWare.metaModel.ADDRESS_BOOK_META_MODEL_FILES import org.treeWare.metaModel.newMainMetaMetaModel import org.treeWare.model.testRoundTrip import kotlin.test.Test class MetaModelJsonCodecTests { @Test fun `Meta-model JSON codec round trip must be lossless`() { ...
32
Kotlin
0
1
0659c953091aab5e1b3c63cf62b96d404fe91f13
473
tree-ware-kotlin-core
Apache License 2.0
compiler/testData/psi/platformTypesRecovery/Qualified.kt
JakeWharton
99,388,807
true
null
fun foo( p: qualified.Type!, p1: qualified.Foo<qualified.Type!, qualified.Type!>, p2: qualified.Foo<qualified.Type>! ) {}
179
Kotlin
5640
83
4383335168338df9bbbe2a63cb213a68d0858104
145
kotlin
Apache License 2.0
app/src/main/kotlin/com/g00fy2/developerwidget/di/AppComponent.kt
forbes30
226,480,456
true
{"Kotlin": 138842}
package com.g00fy2.developerwidget.di import com.g00fy2.developerwidget.DevWidgetApp import dagger.Component import dagger.android.AndroidInjectionModule import dagger.android.AndroidInjector import javax.inject.Singleton @Singleton @Component(modules = [AndroidInjectionModule::class, AppModule::class, ActivityBindin...
0
null
0
0
8c61f418dd539d7a2d96ea89193b6fb05438551a
567
DeveloperWidget
MIT License
telegram/src/main/kotlin/com/github/kotlintelegrambot/entities/files/Video.kt
kotlin-telegram-bot
121,235,631
false
null
package com.github.kotlintelegrambot.entities.files import com.google.gson.annotations.SerializedName /** * Represents a video file. * https://core.telegram.org/bots/api#video */ data class Video( @SerializedName(FilesFields.fileId) val fileId: String, @SerializedName(FilesFields.fileUniqueId) val fileUniq...
67
null
161
794
18013912c6a8c395b6491c2323a8f5eb7288b4f5
718
kotlin-telegram-bot
Apache License 2.0
app/src/main/java/dzm/wamr/recover/deleted/messages/photo/media/viewModel/BaseViewModel.kt
NisarWahla
868,994,613
false
{"Kotlin": 671870, "HTML": 269960, "Java": 75544}
package dzm.wamr.recover.deleted.messages.photo.media.viewModel import android.app.Application import androidx.lifecycle.AndroidViewModel open class BaseViewModel(application: Application) : AndroidViewModel(application)
0
Kotlin
0
0
fa06dd3f315ea3c81bbd94d3193285355be2ad1d
222
WhatsAppDeleted
Apache License 2.0
kpl-kits/src/me/ricky/kpl/KPLKits.kt
Ricky12Awesome
275,335,789
false
null
package me.ricky.kpl import kotlinx.serialization.Serializable import me.ricky.kpl.core.KPlugin import me.ricky.kpl.core.command.CommandManager import me.ricky.kpl.core.serializable.ItemStackSerializer import me.ricky.kpl.core.util.JsonFile import me.ricky.kpl.core.util.createIfNotExists import me.ricky.kpl.core.util....
0
Kotlin
0
1
3f2612fc43672b35be1960ba39c0b87caf1b321a
1,225
kpl
MIT License
app/src/main/java/com/b1tb1t/aab/MainActivity.kt
b1tb1t
661,262,872
false
{"Kotlin": 7182}
package com.b1tb1t.aab import android.content.Intent import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.material3.MaterialTheme import androidx.compose.material3.Surface import and...
0
Kotlin
0
0
5b5d1849a6a8c22bd4b63c645a1fb97158874d96
1,652
AAB
Apache License 2.0
publish/plugin/src/main/kotlin/studio/forface/easygradle/publish/publish.kt
balao7
333,259,543
true
{"Kotlin": 88033}
@file:Suppress("unused") package studio.forface.easygradle.publish import org.gradle.api.Project import org.gradle.kotlin.dsl.apply import org.gradle.kotlin.dsl.extra import studio.forface.easygradle.dsl.* import studio.forface.easygradle.internal.mavenPublish import studio.forface.easygradle.internal.useIfNotBlank /...
0
null
0
0
8a0c5e975d4aa7327bc0700929ba973e21a88087
3,036
EasyGradle
Apache License 2.0
test_runner/src/main/kotlin/ftl/data/UserAuthorization.kt
wclausen
360,920,054
true
{"Kotlin": 1537021, "Java": 445714, "Swift": 50324, "Shell": 11210, "Objective-C": 10006, "Dart": 9705, "HTML": 7235, "Gherkin": 4210, "TypeScript": 2717, "Ruby": 2272, "JavaScript": 1764, "SCSS": 1365, "Batchfile": 1319, "EJS": 1061, "Go": 159}
package ftl.data import ftl.adapter.GoogleUserAuthorizationRequest val requestUserAuthorization: UserAuthorization.Request get() = GoogleUserAuthorizationRequest object UserAuthorization { interface Request : () -> Unit }
0
null
0
0
6b67c070a0006958768ba4739d5055e042c89764
229
flank
Apache License 2.0
mbingresskit/src/main/java/com/daimler/mbingresskit/ingress/CiamEndpointRepository.kt
Daimler
199,818,813
false
{"Gradle": 9, "Markdown": 6, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Proguard": 2, "Java": 7, "Kotlin": 220, "JSON": 7, "XML": 14}
package com.daimler.mbingresskit.ingress interface CiamEndpointRepository { fun saveEnvironment(endpoint: CiamEndpoint) fun loadEndpoint(): CiamEndpoint }
0
Kotlin
0
0
472fe1cdf4ae45989c9d0f1a9628292f5432b103
163
MBSDK-IngressKit-Android
MIT License
AcornGame/src/com/acornui/particle/ParticleEffectComponent.kt
konsoletyper
105,533,124
false
null
package com.acornui.particle import com.acornui.action.Decorator import com.acornui.component.InteractivityMode import com.acornui.component.UiComponentImpl import com.acornui.core.UserInfo import com.acornui.core.assets.AssetBinding import com.acornui.core.assets.AssetTypes import com.acornui.core.assets.assetBinding...
0
Kotlin
3
0
a84b559fe1d1cad01eb9223ad9af73b4d5fb5bc8
4,522
Acorn
Apache License 2.0
app/src/main/java/com/patlejch/timetables/di/UseCaseModule.kt
amethystant
253,855,784
false
{"Kotlin": 74406}
package com.patlejch.timetables.di import com.patlejch.timetables.data.usecase.* import org.koin.core.qualifier.named import org.koin.dsl.module val useCaseModule = module { factory { UpdateCalendarUrlUseCase(get(), get()) } factory { GetEventsFilteredUseCase(get(), get()) } factory { SyncUseCase(get(), g...
0
Kotlin
0
2
29969e5f005729c9f54f53b356a78583b75d3a20
460
timetables
Apache License 2.0
core/src/main/java/com/wolking/core/extensions/String.kt
paulowolking
509,890,806
false
null
package com.wolking.core.extensions import com.google.gson.Gson import com.google.gson.reflect.TypeToken import java.lang.reflect.Type fun <A> String.fromJson(type: Class<A>): A { return Gson().fromJson(this, type) } fun <A> A.toJson(): String? { return Gson().toJson(this) } fun String.addCharAtIndex(char: ...
8
Kotlin
0
2
3a98ef920ffd4b6ee7b7c27ca06cb2b5fa4695ae
776
investing-android
Apache License 2.0
src/main/kotlin/de/stoman/alpacaradio/model/UserRepository.kt
stoman
332,543,729
false
null
package de.stoman.alpacaradio.model import org.springframework.data.mongodb.repository.MongoRepository /** Repository for accessing [User] objects from the database. */ interface UserRepository : MongoRepository<User, String>
5
Kotlin
0
1
a94b049e577a31e2cc4b48b428838e607a683a53
227
AlpacaRadio
MIT License
app/src/main/java/com/codepath/bitfit2/SleepEntryApplication.kt
melissa-perez
622,071,028
false
{"Kotlin": 23877}
package com.codepath.bitfit2 import android.app.Application class SleepEntryApplication : Application() { val db by lazy { AppDatabase.getInstance(this) } }
1
Kotlin
0
0
d280a5ccc30a80e2aeadb51e1fd250cd2c9bb376
162
BitFit2
Apache License 2.0
code/shoring/flywheel/src/test/kotlin/com/panopset/tests/flywheel/DoubleFileTest.kt
panopset
800,099,730
false
{"Kotlin": 605142, "Java": 27179, "Shell": 11944, "CSS": 4625, "JavaScript": 4084, "Batchfile": 3184, "HTML": 1311}
package com.panopset.tests.flywheel import org.junit.jupiter.api.Test class DoubleFileTest { /** * Test generating more than one files using Command File. */ @Test fun testDoubleFileGeneration() { SimpleTest() .comparisonTest( "doubleFileTest.txt", arrayOf( ...
0
Kotlin
0
0
dca4ab61805f1ae45ac7d985f35be1e93ff9581a
530
pan
Apache License 2.0
src/main/java/kr/co/byrobot/petroneapi/PetroneWIFI.kt
petrone
106,506,338
false
null
package kr.co.byrobot.petroneapi import android.content.BroadcastReceiver import android.content.Context import android.content.Intent import android.content.IntentFilter import android.net.wifi.ScanResult import android.net.wifi.WifiConfiguration import android.net.wifi.WifiInfo import android.net.wifi.WifiManager im...
0
Kotlin
1
0
5a4d803057b97c322acead2cb8ad4e2dd413b3a5
7,080
PetroneAPI_kotlin
MIT License
buildSrc/src/main/java/Dependencies.kt
Tajmoti
391,138,914
false
null
object Versions { private const val arrow = "1.0.1" private const val ktor = "2.0.0-beta-1" private const val kt = "1.6.10" private const val store = "4.0.4-KT15" private const val junitJupiter = "5.8.2" private const val junitSuiteVer = "1.8.2" private const val mockito = "4.2.0" privat...
6
null
0
1
7dd02fe23b3205967e02d0efff2b7efd191fe138
6,448
Tulip
MIT License
app/app/src/main/java/app/emmabritton/cibusana/flow/register/View.kt
emmabritton
559,135,688
false
null
package app.emmabritton.cibusana.flow.register import androidx.compose.foundation.layout.* import androidx.compose.foundation.text.KeyboardActions import androidx.compose.foundation.text.KeyboardOptions import androidx.compose.material3.* import androidx.compose.runtime.Composable import androidx.compose.ui.Alignment ...
0
Kotlin
0
0
1e2bf6836a97b8f4b92d00656c113a27ace1185c
5,018
cibusana
MIT License
app/src/androidTest/java/app/books/tanga/ProfileScreenTest.kt
rygelouv
605,776,570
false
{"Kotlin": 390556, "Shell": 2653}
package app.books.tanga import android.content.Context import androidx.compose.ui.test.assertIsDisplayed import androidx.compose.ui.test.junit4.createComposeRule import androidx.compose.ui.test.onNodeWithTag import androidx.compose.ui.test.onNodeWithText import androidx.compose.ui.test.performClick import androidx.tes...
4
Kotlin
0
6
f30ef11f4fc49f50c98a42db6904019f03c44115
2,364
Tanga
Apache License 2.0
app/src/main/java/com/example/android/codelabs/paging/Injection.kt
xifengcoder
472,326,278
false
{"Kotlin": 27961, "Java": 10982}
/* * Copyright (C) 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
0
Kotlin
0
0
dc1b1313b5a89e4f6e8ae0cf3dc53bef5fa2eb16
1,454
android-paging
Apache License 2.0
app/src/main/java/com/example/cocktailsapp/drink_details/presentation/DetailsViewState.kt
MertYazi
693,573,760
false
{"Kotlin": 204626}
package com.example.cocktailsapp.drink_details.presentation import com.example.cocktailsapp.shared.business.DrinkDetailsItem data class DetailsViewState( val drinks: ArrayList<DrinkDetailsItem> )
0
Kotlin
0
1
ff216619462057ebbbaa3294f96889c766027d32
201
CocktailsApp
Apache License 2.0
core/src/main/kotlin/materialui/aliases.kt
Optravis-LLC
368,563,808
true
{"Kotlin": 473794}
package materialui import react.RComponent import react.Props internal typealias MakeStyles = (Props) -> dynamic internal typealias WithStyles = (Any) -> RComponent<dynamic, dynamic>
0
Kotlin
0
0
ebbcb88c40eb5d1556d0f7b0828a6d8ba834082d
185
kotlin-material-ui
MIT License
core/src/main/kotlin/materialui/aliases.kt
Optravis-LLC
368,563,808
true
{"Kotlin": 473794}
package materialui import react.RComponent import react.Props internal typealias MakeStyles = (Props) -> dynamic internal typealias WithStyles = (Any) -> RComponent<dynamic, dynamic>
0
Kotlin
0
0
ebbcb88c40eb5d1556d0f7b0828a6d8ba834082d
185
kotlin-material-ui
MIT License
src/main/kotlin/ru/capjack/tool/biser/generator/model/internal/_type.kt
CaptainJack
362,383,807
false
null
package ru.capjack.tool.biser.generator.model.internal import ru.capjack.tool.biser.generator.model.EntityName import ru.capjack.tool.biser.generator.model.EntityType import ru.capjack.tool.biser.generator.model.ListType import ru.capjack.tool.biser.generator.model.MapType import ru.capjack.tool.biser.generator.model....
0
Kotlin
0
0
dc770d80f77413f9a28157dfa566e35701f455c0
2,376
tool-biser-generator
MIT License
library/src/commonMain/kotlin/UUIDCreator.kt
huarangmeng
793,526,486
false
{"Kotlin": 7218}
import kotlinx.datetime.Clock import kotlin.random.Random /** * Time-based UUID */ fun uuidV1(): UUID { val now = Clock.System.now() val timestamp = (now.epochSeconds * 1_000_000_000L + now.nanosecondsOfSecond) / 100 + GREGORIAN_OFFSET // 构造最高有效位(MSB) val timeLow = (timestamp shl 32) val timeMid...
0
Kotlin
0
0
ed82d247ebe3bedca87808ff0c12b65f5005e52c
1,899
uuid
Apache License 2.0
app/src/main/java/com/dan/timelapse/framesinput/FramesInput.kt
danopdev
590,935,789
false
{"C++": 4338642, "Java": 2627620, "C": 307031, "Kotlin": 103770, "Objective-C": 3430, "AIDL": 1990, "CMake": 1935}
package com.dan.videostab import android.net.Uri import org.opencv.core.Mat abstract class FramesInput { companion object { fun fixName(original: String?): String { if (null == original) return "unknown" return original.split('.')[0] } } abstract val fps: Int a...
1
C++
3
12
660f23911c644bdcb278e3929dcff3569f52a884
757
TimeLapse
MIT License
src/main/kotlin/recharts/numberaxis/funnel/FunnelActiveIndex.kt
gm666q
300,695,035
false
null
package recharts.numberaxis.funnel import recharts.kotlin.Union sealed class FunnelActiveIndex(name: String, ordinal: Int) : Union<FunnelActiveIndex>(name, ordinal) { data class Number(val value: kotlin.Number) : FunnelActiveIndex("Number", 0) data class NumberArray(val value: Array<kotlin.Number>) : FunnelAc...
0
Kotlin
1
2
b0efa4c2644d1d6b20bd834a49c745301690440d
1,098
kotlin-recharts
Apache License 2.0
year2019/day16/part1/src/main/kotlin/com/curtislb/adventofcode/year2019/day16/part1/Year2019Day16Part1.kt
curtislb
226,797,689
false
{"Kotlin": 2230363}
/* --- Day 16: Flawed Frequency Transmission --- You're 3/4ths of the way through the gas giants. Not only do roundtrip signals to Earth take five hours, but the signal quality is quite bad as well. You can clean up the signal with the Flawed Frequency Transmission algorithm, or FFT. As input, FFT takes a list of num...
0
Kotlin
1
1
06ddf047ea59b1383afd4596e2bf2607d750a324
5,638
AdventOfCode
MIT License
platform/lang-impl/src/com/intellij/codeInsight/intention/impl/preview/IntentionPreviewDiffResult.kt
wwjiang007
125,151,656
false
null
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package com.intellij.codeInsight.intention.impl.preview import com.intellij.codeInsight.intention.preview.IntentionPreviewInfo import com.intellij.diff.comparison.ComparisonManager import com.intell...
1
null
1
1
3c242292801d1c58e02cf0cb1a2eb5fb024be3ac
5,361
intellij-community
Apache License 2.0
definitions/src/main/kotlin-gen/xyz/urbanmatrix/mavlink/definitions/common/CameraInformation.kt
urbanmatrix
484,943,163
false
null
package xyz.urbanmatrix.mavlink.definitions.common import java.nio.ByteBuffer import java.nio.ByteOrder import kotlin.ByteArray import kotlin.Float import kotlin.Int import kotlin.Long import kotlin.String import kotlin.Unit import kotlin.collections.List import xyz.urbanmatrix.mavlink.api.GeneratedMavField import xyz...
1
Kotlin
4
9
8f480256eeaac5755a2ce5582c338a4b30c7e178
8,630
mavlink-kotlin
Apache License 2.0
app/src/main/java/com/ms/playstop/ui/movie/adapter/SeasonAdapter.kt
mshohrat
554,137,640
false
null
package com.ms.playstop.ui.movie.adapter import android.content.res.ColorStateList import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.core.content.ContextCompat import androidx.recyclerview.widget.LinearLayoutManager import androidx.recyclerview.widget.RecyclerVie...
0
Kotlin
0
1
5afa8a4ebe2f63acb724dfea55b1b846194592d3
4,294
PlayStop
MIT License
Maya/src/main/java/com/yannis/mayalisten/bean/AlbumPlayEntryEvaluationBean.kt
YannisCheng
270,243,817
false
{"Java": 639404, "Kotlin": 390793, "GLSL": 13079, "HTML": 754, "C": 130, "C++": 66}
package com.yannis.mayalisten.bean import java.io.Serializable /** * 专辑-单条音频播放-评价 * * @author wenjia.Cheng <EMAIL> * @date 2020/6/10 */ data class AlbumPlayEntryEvaluationBean( val allowCommentType: Int, val allowCommentTypeDesc: String, val comment: Comment, val hotComment: HotComment, ...
1
null
1
1
48050b321807319cfa02bad62091f652a500af86
4,824
MaYaListen
Apache License 2.0
app/src/main/java/com/example/kinetic/presentation/game_details/GamesDetailsScreenState.kt
BENJAHJP
593,154,677
false
null
package com.example.kinetic.presentation.game_details import com.example.kinetic.domain.model.GameDetailsModel data class GamesDetailsScreenState( val isLoading: Boolean = false, val gameDetails: GameDetailsModel? = null, val message: String = "" )
0
Kotlin
0
2
839acdca3d78efd85a0080cb866dfcffccd280a3
262
Inverse
MIT License
compiler/testData/diagnostics/tests/j+k/properties/val.kt
JakeWharton
99,388,807
false
null
// FILE: A.java public class A extends B { public int getFoo() { return 0; } } // FILE: F.java public class F extends B { public final int getFoo() { return 0; } } // FILE: main.kt open class B { open val foo: Int = 1 } class C1 : A() { override val foo: Int = 2 } class C2 : F() { <!OVERRIDIN...
181
null
5748
83
4383335168338df9bbbe2a63cb213a68d0858104
367
kotlin
Apache License 2.0
plugins/maven/src/main/java/org/jetbrains/idea/maven/project/preimport/MavenStructureProjectVisitor.kt
JetBrains
2,489,216
false
{"Text": 9788, "INI": 517, "YAML": 423, "Ant Build System": 11, "Batchfile": 34, "Dockerfile": 10, "Shell": 633, "Markdown": 750, "Ignore List": 141, "Git Revision List": 1, "Git Attributes": 11, "EditorConfig": 260, "XML": 7904, "SVG": 4537, "Kotlin": 60205, "Java": 84268, "HTML": 3803, "Java Properties": 217, "Gradle...
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package org.jetbrains.idea.maven.project.preimport import org.jetbrains.idea.maven.project.MavenProject interface MavenStructureProjectVisitor { fun map(allProjects: ArrayList<MavenProject>) { ...
1
null
1
1
0d546ea6a419c7cb168bc3633937a826d4a91b7c
356
intellij-community
Apache License 2.0
app/src/main/java/de/neofonie/mbak/sunshine/WeatherManager.kt
marcinbak
67,149,203
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Java": 3, "XML": 18, "Kotlin": 9}
package de.neofonie.mbak.sunshine import android.content.Context import android.text.format.Time import android.util.Log import com.jakewharton.retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory import io.reactivex.Single import retrofit2.Retrofit import retrofit2.converter.moshi.MoshiConverterFactory import retrofit...
1
null
1
1
e63a1ea2076a11f977a69a3f1d52747151fd0c19
4,516
udacity_sunshine
Apache License 2.0
app/src/main/kotlin/com/ivanovsky/passnotes/presentation/core/widget/NavigationPanelView.kt
aivanovski
95,774,290
false
null
package com.ivanovsky.passnotes.presentation.core.widget import android.content.Context import android.util.AttributeSet import android.view.LayoutInflater import android.widget.FrameLayout import androidx.databinding.BindingAdapter import com.ivanovsky.passnotes.R import com.ivanovsky.passnotes.databinding.WidgetNavi...
6
null
4
53
83605c13c7f13e1f484aa00f6b3e9af622880888
1,799
keepassvault
Apache License 2.0
app/src/main/java/developersancho/githubinginterview/data/remote/network/IRepoService.kt
developersancho
218,074,647
false
null
package developersancho.githubinginterview.data.remote.network import developersancho.githubinginterview.data.remote.model.Repos import retrofit2.Response import retrofit2.http.GET import retrofit2.http.Path interface IRepoService { @GET("users/{user}/repos") suspend fun repos(@Path("user") user: String): Re...
1
null
1
1
3939218adde97051b5635da61a1cc44ea6fdb7ac
347
GithubIngInterview
Apache License 2.0
src/test/kotlin/com/elpassion/android/commons/rxjavatest/SingleExtension.kt
elpassion
79,720,231
false
{"Gradle": 1, "INI": 3, "Gradle Kotlin DSL": 1, "Shell": 4, "Text": 1, "Ignore List": 1, "Batchfile": 1, "YAML": 1, "Markdown": 1, "Kotlin": 96, "XML": 7, "Java": 6}
package com.elpassion.android.commons.rxjavatest import io.reactivex.Single import org.mockito.stubbing.OngoingStubbing fun <T> OngoingStubbing<Single<T>>.thenJust(value: T): OngoingStubbing<Single<T>> = thenReturn(Single.just(value)) fun <T> OngoingStubbing<Single<List<T>>>.thenJust(vararg values: T): OngoingStubbi...
13
Kotlin
21
133
5569bbd442d5f0e5e022799981b9ccbafdd78a83
537
mainframer-intellij-plugin
Apache License 2.0
core/descriptors/src/org/jetbrains/kotlin/resolve/constants/ConstantValue.kt
flire
39,203,446
true
{"Java": 15418565, "Kotlin": 8965491, "JavaScript": 176060, "HTML": 23089, "Lex": 17327, "Protocol Buffer": 13056, "ANTLR": 9689, "CSS": 9431, "Shell": 3931, "IDL": 3257, "Groovy": 3010, "Batchfile": 2831}
/* * Copyright 2010-2015 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
0
Java
0
0
2fbceb3e1dee90d5a34dbc7730c7f6da8497a4da
1,023
kotlin
Apache License 2.0
app/src/main/java/br/com/guiacistore/lojas/doterra/DoTerraActivity.kt
andersonFaro9
137,698,171
false
null
package br.com.guiacistore.lojas.doterra import android.content.Intent import android.net.Uri import android.os.Bundle import android.support.v7.app.AppCompatActivity import android.view.Menu import android.view.MenuItem import br.com.guiacistore.R import br.com.guiacistore.interfaces.ICallNumber import br.com.guiacist...
1
null
1
2
cb0a08e3d6fdd926d699d1be2eee36973a0fef9c
2,384
guiaci
MIT License
src/lang/clojure-language.kt
lumen-language
156,493,661
false
null
/* * Copyright 2016-present <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 i...
1
null
1
1
91ec32cf6c6835a43914e1c6ce2cca599f914167
6,501
Lumen-Kit
Apache License 2.0
frice/src/main/kotlin/org/frice/utils/WebUtils.kt
icela
69,969,072
false
{"Gradle": 3, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "Java Properties": 1, "Proguard": 1, "XML": 3, "Kotlin": 55, "Java": 3}
/** * Created by ice1000 on 2016/9/3. * * @author ice1000 * @since v0.5 */ @file:JvmName("WebUtils") package org.frice.utils import android.graphics.BitmapFactory import org.frice.resource.manager.ImageManager import org.frice.resource.manager.URLBytesManager import org.frice.resource.manager.URLTextManager /** ...
0
Kotlin
0
3
77cb43e374fcca3f7977c85a6aab870d3d9e0880
643
FriceEngine-Android
Apache License 2.0
app/src/main/java/com/locallinkonline/stcatherineschool/rest/api/StCatherineApi.kt
osloxen
116,837,317
false
null
package com.locallinkonline.stcatherineschool.rest.api import com.locallinkonline.stcatherineschool.rest.model.DataResourceResponse import com.locallinkonline.stcatherineschool.rest.model.LunchResponseObject import com.locallinkonline.stcatherineschool.rest.model.Schedule import retrofit2.Call import retrofit2.http.G...
0
Kotlin
0
0
cad7c94bd81f6e26967e2fd926eb6206847aa1bc
832
stcAndroidApp
MIT License
mvicore/src/main/java/com/badoo/mvicore/feature/internal/DisposableCollection.kt
emreakcan
287,947,555
true
{"Gradle": 15, "Java Properties": 2, "Shell": 3, "Text": 1, "Ignore List": 13, "Batchfile": 1, "YAML": 2, "Markdown": 31, "Kotlin": 130, "XML": 31, "Proguard": 6, "Java": 5}
package com.badoo.mvicore.feature.internal import io.reactivex.rxjava3.disposables.Disposable internal class DisposableCollection : Disposable { private var disposables: MutableList<Disposable>? = mutableListOf() override fun isDisposed(): Boolean = disposables == null override fun dispose() { ...
0
Kotlin
0
2
b381a0c3684afca743a39808fbc8a2e37a722375
750
MVICore
Apache License 2.0
app/src/main/java/com/wuhenzhizao/mvp/net/intercepter/BaseInterceptor.kt
wuhenzhizao
142,847,078
false
{"Java": 47385, "Kotlin": 40556}
package com.wuhenzhizao.mvp.net.intercepter import android.content.Context import okhttp3.Interceptor /** * Created by liufei on 2017/10/11. */ class PublicParam(val key: String, val value: String) abstract class BaseInterceptor : Interceptor { protected val publicParamList: MutableList<PublicParam> = arrayLis...
1
Java
1
6
f256612a6d8eadd1b93cf2c3a3ed653b85ace846
2,787
kotlin-mvp-framework
Apache License 2.0
sentry/src/test/java/io/sentry/cache/PersistingScopeObserverTest.kt
getsentry
3,368,190
false
null
package io.sentry.cache import io.sentry.Breadcrumb import io.sentry.DateUtils import io.sentry.JsonDeserializer import io.sentry.SentryLevel import io.sentry.SentryOptions import io.sentry.SpanContext import io.sentry.SpanId import io.sentry.cache.PersistingScopeObserver.BREADCRUMBS_FILENAME import io.sentry.cache.Pe...
189
null
427
995
549cbb4657b9dea1048c4882e79504e87d6acc4f
9,324
sentry-java
MIT License
platform/vcs-impl/src/com/intellij/openapi/vcs/changes/actions/diff/MoveDiffPreviewAction.kt
niki999922
367,364,914
false
{"Text": 6170, "XML": 6235, "YAML": 417, "Ant Build System": 13, "Shell": 561, "Markdown": 534, "Ignore List": 92, "Git Attributes": 10, "EditorConfig": 227, "Batchfile": 27, "SVG": 2339, "Java": 74410, "C++": 34, "HTML": 2876, "Kotlin": 39139, "DTrace": 1, "Gradle": 448, "Java Properties": 202, "INI": 412, "JFlex": 31...
// Copyright 2000-2021 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.vcs.changes.actions.diff import com.intellij.diff.editor.DiffContentVirtualFile import com.intellij.openapi.actionSystem.AnActionEvent import com.int...
1
null
1
1
65721d0a754374f9b67c5065301b088acb14ae72
2,071
intellij-community
Apache License 2.0
app/src/main/java/vn/root/app/pages/root/RootActivity.kt
doananhtuan22111996
769,875,617
false
{"Kotlin": 166678}
package vn.root.app.pages.root import android.os.Bundle import androidx.activity.viewModels import androidx.core.splashscreen.SplashScreen.Companion.installSplashScreen import androidx.navigation.fragment.NavHostFragment import dagger.hilt.android.AndroidEntryPoint import vn.root.app.R import vn.root.app.base.BaseActi...
0
Kotlin
0
0
05613b6587f55bbd979958646126b22dba5c0004
1,111
android_architecture
MIT License