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
editor-math/src/main/kotlin/ru/ilyasshafigin/openrndr/editor/math/grid/HexGrid.kt
ilyasshafigin
258,325,328
false
null
package ru.ilyasshafigin.openrndr.editor.math.grid import kotlin.math.abs import kotlin.math.cos import kotlin.math.roundToInt import kotlin.math.sin import kotlin.math.sqrt /** * Hex grid * Based on https://www.redblobgames.com/grids/hexagons/ */ class HexGrid { data class Point(val x: Double, val y: Double)...
0
Kotlin
0
1
7166d40e19687da68b2cf7d9c40b322daa17864e
7,629
openrndr-editor
MIT License
solutions/src/test/kotlin/y2022/Y2022D02Test.kt
Jadarma
324,646,170
false
null
package y2022 import io.github.jadarma.aoc.test.AdventSpec import io.kotest.core.annotation.DisplayName @DisplayName("Y2022D02 Rock Paper Scissors") class Y2022D02Test : AdventSpec(Y2022D02(), { val exampleInput = """ A Y B X C Z """.trimIndent() partOne { exampleInput shouldOutpu...
0
Kotlin
0
3
3f36fc11261dee5583947dc1e1fbaa1e7d656b47
375
advent-of-code-kotlin
MIT License
app/src/main/java/org/tty/dailyset/ui/theme/Color.kt
h1542462994
346,364,988
false
null
package org.tty.dailyset.ui.theme import androidx.compose.ui.graphics.Color val Purple200 = Color(0xFFBB86FC) val Purple500 = Color(0xFF6200EE) val Purple700 = Color(0xFF3700B3) val Teal50 = Color(0xFFE0F2F1) val Teal200 = Color(0xFF03DAC5) val Teal300 = Color(0xFF95B8B4) val Teal700 = Color(0xFF018786) val Teal900 =...
1
Kotlin
0
0
3deb215c0e29a8c2a857c0c7a8e1553519a5dc7a
1,775
DailySet
MIT License
backpack-compose/src/main/kotlin/net/skyscanner/backpack/compose/bottomnav/BpkBottomNav.kt
Skyscanner
117,813,847
false
{"Kotlin": 2099545, "Shell": 3031, "Python": 2149}
/* * Backpack for Android - Skyscanner's Design System * * Copyright 2018 Skyscanner Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-...
9
Kotlin
31
131
fcb9a7cf762bed740531c12e5fc5da2b9caae6e8
6,998
backpack-android
Apache License 2.0
src/main/kotlin/no/nav/arbeidsgiver/sykefravarsstatistikk/api/applikasjon/importAvSykefraværsstatistikk/domene/StatistikkildeDvh.kt
navikt
201,881,144
false
{"Kotlin": 760611, "Shell": 1600, "Dockerfile": 213}
package no.nav.arbeidsgiver.sykefravarsstatistikk.api.applikasjon.importAvSykefraværsstatistikk.domene enum class StatistikkildeDvh(@JvmField val tabell: String) { VIRKSOMHET("dt_p.agg_ia_sykefravar_v") }
0
Kotlin
1
0
c96d8ef7f0bafb05da5e8407e5fb38b007ae4066
210
sykefravarsstatistikk-api
MIT License
AtomicKotlin/Usability/Data Classes/Examples/src/HashCode.kt
fatiq123
726,462,263
false
{"Kotlin": 370528, "HTML": 6544, "JavaScript": 5252, "Java": 4416, "CSS": 3780, "Assembly": 94}
// DataClasses/HashCode.kt package dataclasses import atomictest.eq data class Key(val name: String, val id: Int) fun main() { val korvo: Key = Key("Korvo", 19) korvo.hashCode() eq -2041757108 val map = HashMap<Key, String>() map[korvo] = "Alien" map[korvo] eq "Alien" val set = HashSet<Key>() set.add(ko...
0
Kotlin
0
0
3d351652ebe1dd7ef5f93e054c8f2692c89a144e
356
AtomicKotlinCourse
MIT License
app/src/main/java/space/pal/sig/view/iss/IssActivity.kt
icatalin201
179,758,397
false
null
package space.pal.sig.view.iss import android.Manifest import android.content.pm.PackageManager import android.location.Location import android.os.Bundle import android.view.Menu import android.view.MenuItem import androidx.appcompat.app.AlertDialog import androidx.core.app.ActivityCompat import androidx.core.content....
0
Kotlin
0
0
9f8485e7ef1580be8c84dd34babd99571bed277a
6,106
SpaceNow
Apache License 2.0
kit/src/main/java/healthstack/kit/task/activity/model/SustainedPhonationMeasureModel.kt
S-HealthStack
520,365,275
false
{"Kotlin": 915664}
package healthstack.kit.task.activity.model import android.content.Context import androidx.compose.animation.core.CubicBezierEasing import androidx.compose.animation.core.tween import androidx.compose.ui.unit.Dp import healthstack.kit.R import healthstack.kit.sensor.AudioRecorder import healthstack.kit.task.base.StepM...
6
Kotlin
19
25
87d1b829674c78a73b19f72b05395d989d65708b
2,126
app-sdk
Apache License 2.0
build-logic/convention/src/main/kotlin/AndroidLibraryComposeConventionPlugin.kt
atomgomba
754,770,216
false
{"Kotlin": 218802}
import com.android.build.api.dsl.LibraryExtension import com.ekezet.othello.configureAndroidCompose import com.ekezet.othello.configureAndroidKoinCompose import com.ekezet.othello.libs import org.gradle.api.Plugin import org.gradle.api.Project import org.gradle.kotlin.dsl.getByType class AndroidLibraryComposeConventi...
0
Kotlin
0
1
6cda8f72d06c7ac33b8899a3425bfc22d7c852f4
726
othello
Apache License 2.0
App/app/src/main/java/com/example/calculator/data/db/history/HistoryItemEntity.kt
DenisKochetov
407,121,470
false
{"Kotlin": 47301}
package com.example.calculator.data.db.history import androidx.room.Entity import androidx.room.PrimaryKey @Entity(tableName = "history_item_entity") class HistoryItemEntity( @PrimaryKey(autoGenerate = true) val id: Long, val expression: String, val result: String ) { }
0
Kotlin
0
0
0150b8d2279a94f22241b0706f67792504e05625
288
Calculator
MIT License
base/src/main/kotlin/com/github/otakusenpai/alohachat/base/client/Alohaclient.kt
OtakuSenpai
173,485,288
false
null
package com.github.otakusenpai.alohachat.base.client import com.github.otakusenpai.alohachat.base.connection.BasicConnection import com.github.otakusenpai.alohachat.base.helpers.findPublicIP import com.github.otakusenpai.alohachat.base.message_parse.Prefix import com.github.otakusenpai.alohachat.base.channel.Channel i...
0
Kotlin
0
1
c5714d57568eee0234026ce8b7a4f16ad3bffa81
3,084
AlohaChatSystem
MIT License
src/main/kotlin/de/sambalmueslie/openevent/config/MailConfig.kt
Black-Forrest-Development
542,810,521
false
null
package de.sambalmueslie.openevent.config import io.micronaut.context.annotation.ConfigurationProperties import jakarta.validation.constraints.NotBlank import org.slf4j.Logger import org.slf4j.LoggerFactory @ConfigurationProperties("mail") class MailConfig { companion object { private val logger: Logger...
6
Kotlin
0
1
43cf66668db937150ae8f14078437c1e5a7287e2
1,700
open-event
Apache License 2.0
SpringJPA/src/main/kotlin/com/example/springjpa/repositories/cita/CitaRepositoryCached.kt
jorgesanchez3212
639,365,118
false
null
package com.example.springjpa.repositories.cita import com.example.springjpa.models.Cita import com.example.springjpa.services.CitaCache import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.asFlow import org.springframework.beans.factory.annotation.Autowired import org.springframework.stereotype.Reposito...
0
Kotlin
0
0
8c34930f0129d834bfe9064900d8e0e3840ce8d4
1,359
Trabajo-AccesoDatos
Apache License 2.0
codebase/android/core/notificationkit/src/main/java/com/makeappssimple/abhimanyu/financemanager/android/core/notificationkit/NotificationConstants.kt
Abhimanyu14
429,663,688
false
{"Kotlin": 1459939, "Dart": 102426}
package com.makeappssimple.abhimanyu.financemanager.android.core.notificationkit object NotificationConstants { const val CHANNEL_ID_REMINDER = "channel_reminder" const val CHANNEL_NAME_REMINDER = "Reminder" }
11
Kotlin
0
1
433728cb7a9003e38ea9f579d561e4e27b47ef76
219
finance-manager
Apache License 2.0
funker/src/main/java/at/dibiasi/funker/obex/ObexFolderClasses.kt
ddibiasi
190,774,420
false
null
package at.dibiasi.funker.obex import com.fasterxml.jackson.annotation.JsonProperty import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement @Ja...
0
null
5
7
02c2d398a178017448fd0e655d31c05bd43fe0bd
2,137
Funker
MIT License
plugins/kotlin/idea/tests/testData/findUsages/kotlin/findPropertyUsages/jvmFieldProperty.0.kt
ingokegel
72,937,917
true
null
// PSI_ELEMENT: org.jetbrains.kotlin.psi.KtProperty // OPTIONS: usages // PSI_ELEMENT_AS_TITLE: "var foo: String" package server class A { companion object { var <caret>foo: String = "foo" } }
1
null
1
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
211
intellij-community
Apache License 2.0
app/src/main/java/com/jonalmeida/sessionshare/utils/SafeIntent.kt
jonalmeida
154,103,303
false
{"Java": 72874, "Kotlin": 51583}
package com.jonalmeida.sessionshare.utils import android.content.Intent import android.net.Uri import android.os.Bundle import android.os.Parcelable import com.jonalmeida.sessionshare.ext.Log import java.util.ArrayList /** * External applications can pass values into Intents that can cause us to crash: in defense, ...
1
Java
1
2
1655fdf38ca0408c0293cc2cc8333be59b9877d1
2,832
session-share
MIT License
platform/service-container/src/com/intellij/serviceContainer/ComponentManagerResolver.kt
JetBrains
2,489,216
false
null
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package com.intellij.serviceContainer import com.intellij.platform.instanceContainer.internal.isStatic import com.intellij.platform.instanceContainer.instantiation.ArgumentSupplier import com.intell...
7
null
5023
15,928
9ba394021dc73a3926f13d6d6cdf434f9ee7046d
3,518
intellij-community
Apache License 2.0
idea/testData/quickfix/modifiers/constVal.after.kt
mikiyakitahara
44,142,352
true
{"Java": 15722183, "Kotlin": 10713329, "JavaScript": 176060, "Protocol Buffer": 43034, "HTML": 25327, "Lex": 17330, "ANTLR": 9689, "CSS": 9358, "Groovy": 5199, "Shell": 4638, "Batchfile": 3703, "IDL": 3251}
// "Add 'const' modifier" "true" package constVal const val i = 1 annotation class Fancy(val param: Int) @Fancy(<caret>i) class D
0
Java
0
0
d90585624f631b5b016ff7ce4ceffa0e563596da
133
kotlin
Apache License 2.0
src/test/kotlin/deserialization/BookExample.kt
Kotlin
653,652,121
false
null
package deserialization import ru.yole.jkid.deserialization.deserialize data class Author(val name: String) data class Book(val title: String, val author: Author) fun main(args: Array<String>) { val json = """{"title": "Catch-22", "author": {"name": "<NAME>"}}""" println(deserialize<Book>(json)) }
1
null
77
8
5fd0ad83357f26bde360be1c93505f28a6366581
310
kotlin-in-action-2e-jkid
MIT License
mobile_app1/module364/src/main/java/module364packageKt0/Foo724.kt
uber-common
294,831,672
false
null
package module1248packageKt0; annotation class Foo724Fancy @Foo724Fancy class Foo724 { fun foo0(){ module1248packageKt0.Foo723().foo6() } fun foo1(){ foo0() } fun foo2(){ foo1() } fun foo3(){ foo2() } fun foo4(){ foo3() } fun foo5(){ foo4() } fun foo6(){ foo...
6
null
6
72
9cc83148c1ca37d0f2b2fcb08c71ac04b3749e5e
329
android-build-eval
Apache License 2.0
plugins/kotlin/base/analysis/src/org/jetbrains/kotlin/idea/base/analysis/LibraryDependenciesCache.kt
sutrosoftware
251,488,669
false
{"Text": 7106, "INI": 573, "YAML": 412, "Ant Build System": 10, "Batchfile": 34, "Shell": 621, "Markdown": 678, "Ignore List": 120, "Git Revision List": 1, "Git Attributes": 11, "EditorConfig": 244, "XML": 7056, "SVG": 3569, "Kotlin": 47685, "Java": 80051, "HTML": 3248, "Java Properties": 212, "Gradle": 431, "Maven POM...
// 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.base.analysis import com.intellij.ProjectTopics import com.intellij.openapi.Disposable import com.intellij.openapi.application.runReadAction import com.intellij.op...
1
null
1
1
fea02a6d5406d10ce0c18b1c23eb10a4acbd018e
13,776
intellij-community
Apache License 2.0
app/src/main/java/com/github/muhwyndhamhp/qompute/viewmodel/BuildingViewModel.kt
muhwyndhamhp
155,335,908
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "JSON": 4, "Proguard": 1, "Kotlin": 46, "XML": 72, "Java": 1}
package com.github.muhwyndhamhp.qompute.viewmodel import android.text.Editable import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import com.github.muhwyndhamhp.qompute.data.AppRepository import com.github.muhwyndhamhp.qompute.data.model.Build import com.github.muhwyndhamhp.qompute.data.mode...
1
null
1
1
dd580dbb379cb4f3b81244b561cdd063e8b2bd15
12,244
qompute
Creative Commons Attribution 3.0 Unported
mvp/sample-mvp-widget/src/main/java/ru/surfstudio/android/mvpwidget/sample/ui/screen/main/list/ListItem.kt
surfstudio
139,034,657
false
null
package ru.surfstudio.android.mvpwidget.sample.ui.screen.main.list class ListItem(val id: Int)
5
null
30
249
6d73ebcaac4b4bd7186e84964cac2396a55ce2cc
95
SurfAndroidStandard
Apache License 2.0
idea/tests/testData/indentationOnNewline/elvis/AfterElvisInBinaryExpression.kt
JetBrains
278,369,660
false
null
fun a() { println(1 + null ?: <caret>2) } // SET_FALSE: CONTINUATION_INDENT_IN_ELVIS
0
Kotlin
30
82
cc81d7505bc3e9ad503d706998ae8026c067e838
89
intellij-kotlin
Apache License 2.0
plugins/scripting/scripting-compiler/testData/compiler/collectDependencies/imp_cycle_1.req1.kts
JetBrains
3,432,266
false
{"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML...
@file:Import("imp_cycle_2.req1.kts")
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
38
kotlin
Apache License 2.0
common/src/main/java/jp/co/soramitsu/common/utils/Delegates.kt
soramitsu
278,060,397
false
{"Kotlin": 5738291, "Java": 18796}
package jp.co.soramitsu.common.utils import kotlinx.coroutines.runBlocking import kotlinx.coroutines.sync.Mutex import kotlinx.coroutines.sync.withLock import kotlin.properties.Delegates import kotlin.properties.ReadOnlyProperty import kotlin.reflect.KProperty inline fun <T> Delegates.cachedOrNew( crossinline isC...
15
Kotlin
30
89
812c6ed5465d19a0616865cbba3e946d046720a1
915
fearless-Android
Apache License 2.0
http4k-security/oauth/src/test/kotlin/org/http4k/security/oauth/format/TokenRequestMoshiAdatperTest.kt
http4k
86,003,479
false
{"Kotlin": 2855594, "Java": 41165, "HTML": 14220, "Shell": 3200, "Handlebars": 1455, "Pug": 944, "JavaScript": 777, "Dockerfile": 256, "CSS": 248}
package org.http4k.security.oauth.format import com.natpryce.hamkrest.assertion.assertThat import com.natpryce.hamkrest.equalTo import org.http4k.core.Response import org.http4k.core.Status.Companion.OK import org.http4k.core.Uri import org.http4k.core.with import org.http4k.security.oauth.client.TokenRequest import o...
34
Kotlin
249
2,615
7ad276aa9c48552a115a59178839477f34d486b1
2,916
http4k
Apache License 2.0
intellij-plugin/educational-core/src/com/jetbrains/edu/learning/checkio/connectors/CheckiOOAuthRestService.kt
JetBrains
43,696,115
false
null
package com.jetbrains.edu.learning.checkio.connectors import com.intellij.util.io.origin import com.jetbrains.edu.learning.authUtils.OAuthRestService import com.jetbrains.edu.learning.checkio.utils.CheckiONames.CHECKIO_URL import com.jetbrains.edu.learning.courseFormat.EduFormatNames.CHECKIO import com.jetbrains.edu.l...
7
null
47
144
de48defffa698750864208e9f7cec8940273fbf9
2,612
educational-plugin
Apache License 2.0
src/main/java/siosio/doma/editor/DaoMethodLineMarkerProvider.kt
siosio
26,792,004
false
{"Gradle": 1, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "Java Properties": 3, "Kotlin": 38, "Java": 23, "XML": 3, "HTML": 1, "YAML": 1}
package siosio.doma.editor import com.intellij.codeInsight.daemon.* import com.intellij.codeInsight.navigation.* import com.intellij.openapi.application.* import com.intellij.openapi.util.* import com.intellij.psi.* import org.jetbrains.kotlin.psi.* import siosio.doma.* import siosio.doma.extension.* import siosio.dom...
1
Kotlin
5
31
16ca0b8f10e561799aa97a9062f2766d84c97a7b
1,504
DomaSupport
MIT License
game/plugin/consumables/src/consumables.plugin.kts
ultraviolet-jordan
482,152,097
false
null
import org.apollo.game.action.ActionBlock import org.apollo.game.action.AsyncAction import org.apollo.game.message.impl.ItemOptionMessage import org.apollo.game.model.Animation import org.apollo.game.model.entity.Player import org.apollo.net.message.Message import org.apollo.plugin.consumables.Consumable import org.apo...
0
null
5
5
656755cca55b2ee4ed4288d051c2dfbb1b61386e
1,382
apollo
BSD Zero Clause License
ca_video_player/app/src/main/java/software/egger/jetpackvideoplayer/viewmodels/VideoPlayerViewModel.kt
eggeral
153,240,085
false
null
package software.egger.jetpackvideoplayer.viewmodels import android.arch.lifecycle.MutableLiveData import android.arch.lifecycle.ViewModel import software.egger.jetpackvideoplayer.data.Video import software.egger.jetpackvideoplayer.data.VideoRepository class VideoPlayerViewModel(private val repository: VideoRepositor...
1
null
1
1
186a0870350514caf34796fccff1c316cfc966cc
1,395
kotlin-examples-android
Apache License 2.0
recyclerview/src/main/java/tech/thdev/support/widget/data/BaseItem.kt
taehwandev
71,049,057
false
null
package tech.thdev.support.widget.data /** * Created by Tae-hwan on 10/10/2016. */ interface BaseItem { val viewType: Int }
0
Kotlin
4
9
74b70f90f8d7b3a9bf457416166045d2f5d18a78
131
AndroidRecyclerView
Apache License 2.0
paging/paging-common/src/test/kotlin/androidx/paging/SimpleTransformLatestTest.kt
RikkaW
389,105,112
false
null
/* * Copyright 2021 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...
23
null
784
7
6d53f95e5d979366cf7935ad7f4f14f76a951ea5
3,564
androidx
Apache License 2.0
app/src/main/java/com/abedelazizshe/lightcompressor/MainActivity.kt
lchli
271,685,120
true
{"Java Properties": 2, "Gradle": 4, "Shell": 1, "Markdown": 1, "Batchfile": 1, "Ignore List": 4, "XML": 23, "Gradle Kotlin DSL": 1, "Kotlin": 14, "INI": 2, "JAR Manifest": 1, "Text": 2, "SQL": 1, "Proguard": 2, "Java": 6}
package com.abedelazizshe.lightcompressor import android.Manifest import android.annotation.SuppressLint import android.app.Activity import android.content.Intent import android.content.pm.PackageManager import android.os.Bundle import android.os.Environment import android.os.Handler import android.text.format.DateUti...
0
null
0
0
8e92951078c5a29ad1be33e42b1ac5a1d953384a
5,923
LightCompressor
Apache License 2.0
domain/src/main/java/org/oppia/android/domain/question/QuestionSessionMetrics.kt
oppia
148,093,817
false
{"Kotlin": 13302271, "Starlark": 693163, "Java": 34760, "Shell": 18872}
package org.oppia.android.domain.question import org.oppia.android.app.model.Question /** * Mutable data class for tracking a user's interactions with a specific question. */ internal data class QuestionSessionMetrics(val question: Question) { /** Tracks the number of answers the user submitted for this question. ...
508
Kotlin
517
315
95699f922321f49a3503783187a14ad1cef0d5d3
948
oppia-android
Apache License 2.0
library/src/main/java/com/jaychang/sac/calladapter/MockResponseAdapterFactory.kt
pranaypatel512
105,496,921
false
null
package com.jaychang.sac.calladapter import android.content.Context import com.google.gson.reflect.TypeToken import com.jaychang.sac.JsonParser import com.jaychang.sac.SimpleApiResult import com.jaychang.sac.util.Utils import com.jaychang.sac.annotation.MockResponse import com.jaychang.sac.annotation.Status.* import c...
0
null
0
1
7453e0a311207472b55c2c153276f5c1ecef8f3a
3,926
SimpleApiClient
Apache License 2.0
keel-core/src/main/kotlin/com/netflix/spinnaker/keel/persistence/PersistenceRetry.kt
spinnaker
107,462,081
false
null
package com.netflix.spinnaker.keel.persistence import com.netflix.spinnaker.config.BasePersistenceRetryConfig import com.netflix.spinnaker.config.PersistenceRetryConfig import com.netflix.spinnaker.keel.persistence.RetryCategory.READ import com.netflix.spinnaker.keel.persistence.RetryCategory.WRITE import io.github.re...
3
Kotlin
135
99
956653ad493c386b88621eaf48ddc939a6372574
1,757
keel
Apache License 2.0
hilt/hilt-compiler/src/test/kotlin/androidx/hilt/work/WorkerInjectStepTest.kt
tikurahul
284,157,908
true
{"Java": 44745786, "Kotlin": 26374522, "Python": 285088, "Shell": 112015, "C++": 25110, "ANTLR": 19795, "HTML": 10802, "TypeScript": 6933, "CMake": 1901, "JavaScript": 1343}
/* * Copyright 2020 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
0
Java
0
1
ccac66729a5e461b3a05944014f42e2dc55337d6
4,985
androidx
Apache License 2.0
app/src/main/java/com/ctrlaccess/moviebuff/adapters/MoviesCurrentAdapter.kt
galemu2
415,395,349
false
{"Kotlin": 67065}
package com.ctrlaccess.moviebuff.adapters import android.util.Log import android.view.LayoutInflater import android.view.ViewGroup import androidx.recyclerview.widget.AsyncListDiffer import androidx.recyclerview.widget.DiffUtil import androidx.recyclerview.widget.RecyclerView import com.bumptech.glide.RequestManager i...
0
Kotlin
0
0
287fa00f50eb97c7da2ef43231fbc59e4ccc6156
2,521
Movie-Buff
MIT License
src/main/kotlin/info/modoff/modeoff/server/ServerProxy.kt
JamiesWhiteShirt
101,624,564
true
{"Kotlin": 58039}
package info.modoff.modeoff.server import info.modoff.modeoff.Modeoff import info.modoff.modeoff.common.CommonProxy import info.modoff.modeoff.common.network.handler.DummyMessageHandler import info.modoff.modeoff.common.network.message.MessageAllPlots import info.modoff.modeoff.common.plot.PlotManager import net.minec...
0
Kotlin
0
0
381020fbcd8893bdfb6b586dd86f427505a4ef8f
1,385
ModeratorOff
MIT License
kotlin/gigasecond/src/main/kotlin/Gigasecond.kt
fredyw
523,079,058
false
null
import java.time.LocalDate import java.time.LocalDateTime class Gigasecond(dateTime: LocalDateTime) { constructor(date: LocalDate) : this(date.atStartOfDay()) val date: LocalDateTime = dateTime.plusSeconds(1_000_000_000) }
0
Kotlin
0
0
dbd236c746bad073d980e6fd208c504def8b462a
233
exercism
MIT License
rounded/src/commonMain/kotlin/me/localx/icons/rounded/outline/RoboticArm.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.rounded.outline 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...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
4,871
icons
MIT License
src/test/kotlin/no/nav/helse/slowtests/PostgresRefusjonskravRepositoryTest.kt
navikt
249,433,776
false
null
package no.nav.helse.slowtests import com.zaxxer.hikari.HikariDataSource import no.nav.helse.TestData import no.nav.helse.sporenstreks.db.PostgresRefusjonskravRepository import no.nav.helse.sporenstreks.db.createNonVaultHikariConfig import no.nav.helse.sporenstreks.domene.Arbeidsgiverperiode import no.nav.helse.sporen...
4
Kotlin
0
2
d6ff76bfa9e17c426087a220209687bc37683346
8,353
sporenstreks
MIT License
src/commonMain/kotlin/matt/model/data/byte/byte.kt
mgroth0
532,381,019
false
null
package matt.model.data.byte import kotlinx.serialization.Serializable import matt.lang.convert.BiConverter import matt.model.data.byte.ByteSize.BinaryByteUnit.B import matt.model.data.byte.ByteSize.BinaryByteUnit.GiB import matt.model.data.byte.ByteSize.BinaryByteUnit.KiB import matt.model.data.byte.ByteSize.BinaryBy...
0
Kotlin
0
0
f02f55fa693234059a638720e7973c6505f2b946
7,289
model
MIT License
cli/src/commonMain/kotlin/TransfersCommand.kt
ahsanb786
355,664,111
true
{"Kotlin": 47002}
package cli import drewcarlson.blockset.BdbService import kotlinx.cli.Subcommand class BlocksCommand( private val blockset: BdbService ) : Subcommand( name = "blocks", actionDescription = "" // TODO ) { override fun execute() { TODO("not implemented") } }
0
null
0
0
5c041950d58f86ba4da1926bc8f14a889e74d888
287
Blockset-Kotlin
MIT License
common/src/commonMain/kotlin/com/artemchep/keyguard/ui/toolbar/util/ToolbarColors.kt
AChep
669,697,660
false
{"Kotlin": 5516822, "HTML": 45876}
package com.artemchep.keyguard.ui.toolbar.util import androidx.compose.runtime.Composable import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.isUnspecified import com.artemchep.keyguard.ui.surface.LocalBackgroundManager import com.artemchep.keyguard.ui.surface.LocalSurfaceColor object Toolba...
66
Kotlin
31
995
557bf42372ebb19007e3a8871e3f7cb8a7e50739
730
keyguard-app
Linux Kernel Variant of OpenIB.org license
src/main/kotlin/com/kotlinspring/dto/CourseDto.kt
AlexoAnimaIgnis
852,160,116
false
{"Kotlin": 23608}
package com.kotlinspring.dto import jakarta.validation.constraints.NotBlank // annotation use-site targets data class CourseDto( val id: Int?, @get:NotBlank(message = "courseDto.name must not be blank") val name: String, @get:NotBlank(message = "courseDto.category must not be blank") val category:...
0
Kotlin
0
0
67154b39556d3ad8630c39705b8fe2245a383c1a
330
course-catalog-service
MIT License
kotest-framework/kotest-framework-api/src/commonMain/kotlin/io/kotest/core/script/ScriptRuntime.kt
swanandvk
267,582,713
true
{"Kotlin": 2715433, "HTML": 423, "Java": 145}
package io.kotest.core.script import io.kotest.core.sourceRef import io.kotest.core.spec.style.FunSpec import io.kotest.core.test.DescriptionName import io.kotest.core.test.TestCase import io.kotest.core.test.TestCaseConfig import io.kotest.core.test.TestContext import io.kotest.core.test.TestType import io.kotest.mpp...
5
Kotlin
0
1
5f0d6c5a7aa76ef373d62f2a4571ae89ae0ab21e
1,603
kotest
Apache License 2.0
app/src/main/java/com/geovnn/meteoapuane/presentation/nowcasting/NowcastingState.kt
geovnn
806,232,559
false
{"Kotlin": 402708}
package com.geovnn.meteoapuane.presentation.nowcasting import android.graphics.Bitmap import com.geovnn.meteoapuane.domain.models.NowcastingPage import com.geovnn.meteoapuane.domain.models.WebcamPage data class NowcastingState( val nowcastingPage: NowcastingPage = NowcastingPage(), val isLoading: Boolean = tr...
0
Kotlin
0
0
c87cbf72e01d26cf04b9aa418e499b73c790c7dd
354
MeteoApuane-App
MIT License
decompose/src/androidMain/kotlin/com/arkivanov/decompose/mainthread/CheckMainThread.kt
arkivanov
437,015,897
false
{"Kotlin": 700677}
package com.arkivanov.decompose.mainthread import android.os.Looper import com.arkivanov.decompose.errorhandler.onDecomposeError private val mainThreadId: Long? by lazy { try { Looper.getMainLooper().thread.id } catch (e: Exception) { null } } internal actual fun checkMainThread() { i...
2
Kotlin
84
2,207
8af551e8895951a5082a5d2750335713d673f80b
504
Decompose
Apache License 2.0
app/src/main/java/com/authsamples/mobilewebapp/views/utilities/Constants.kt
gary-archer
235,832,975
false
null
package com.authsamples.mobilewebapp.views.utilities /* * Constant values */ object Constants { const val ARG_ERROR_DATA = "ERROR_DATA" const val ARG_ERROR_TITLE = "ERROR_TITLE" }
0
Kotlin
0
0
609e8fdcbb75cac8dd005b6b22a35fccd85710eb
191
oauth.mobileweb.android
MIT License
src/main/kotlin/org/octopusden/octopus/automation/teamcity/TeamcityCreateBuildChainCommand.kt
octopusden
798,338,363
false
{"Kotlin": 44217}
package org.octopusden.octopus.automation.teamcity import com.github.ajalt.clikt.core.CliktCommand import com.github.ajalt.clikt.core.requireObject import com.github.ajalt.clikt.parameters.options.check import com.github.ajalt.clikt.parameters.options.convert import com.github.ajalt.clikt.parameters.options.option imp...
1
Kotlin
0
1
c56edaf02c7fd8eae0556ac684a3d74597f0b95c
11,946
octopus-teamcity-automation
Apache License 2.0
feature/search-impl-kmp/src/commonMain/kotlin/org/michaelbel/movies/search/SearchViewModel.kt
michaelbel
115,437,864
false
{"Kotlin": 680733, "Java": 10013, "Swift": 342, "Shell": 235}
@file:Suppress( "EXPECT_ACTUAL_CLASSIFIERS_ARE_IN_BETA_WARNING", "EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE" ) package org.michaelbel.movies.search expect class SearchViewModel
5
Kotlin
31
186
e7b74544e4951a2fd49cc02d7858fb8df89c0eae
181
movies
Apache License 2.0
app/src/main/java/com/naftarozklad/business/SynchronizeGroupsUseCase.kt
bshvets8
115,192,251
false
null
package com.naftarozklad.business import com.naftarozklad.R import com.naftarozklad.repo.external.WebApi import com.naftarozklad.repo.internal.GlobalCache import com.naftarozklad.utils.isNetworkAvailable import com.naftarozklad.utils.resolveErrorMessage import com.naftarozklad.utils.resolveString import org.jetbrains....
0
Kotlin
0
0
1cfa23ba5ea09539f684bdecee22c445a1d2e00d
1,184
NaftaRozkladAndroid
MIT License
app/src/main/kotlin/co/netguru/baby/monitor/client/feature/communication/pairing/ServiceDiscoveryFragment.kt
netguru
143,860,032
false
null
package co.netguru.baby.monitor.client.feature.communication.pairing import android.content.Context import android.net.nsd.NsdServiceInfo import android.net.wifi.WifiManager import android.os.Bundle import android.view.View import androidx.core.os.bundleOf import androidx.core.view.isVisible import androidx.lifecycle....
19
Kotlin
7
18
3c3d8838de7ed8a340ebb79a64f249681669abf2
6,250
baby-monitor-client-android
Apache License 2.0
app/src/main/kotlin/co/netguru/baby/monitor/client/feature/communication/pairing/ServiceDiscoveryFragment.kt
netguru
143,860,032
false
null
package co.netguru.baby.monitor.client.feature.communication.pairing import android.content.Context import android.net.nsd.NsdServiceInfo import android.net.wifi.WifiManager import android.os.Bundle import android.view.View import androidx.core.os.bundleOf import androidx.core.view.isVisible import androidx.lifecycle....
19
Kotlin
7
18
3c3d8838de7ed8a340ebb79a64f249681669abf2
6,250
baby-monitor-client-android
Apache License 2.0
view/src/main/kotlin/com/zedalpha/shadowgadgets/view/viewgroup/ShadowsViewGroup.kt
zed-alpha
453,804,436
false
null
package com.zedalpha.shadowgadgets.view.viewgroup import androidx.annotation.ColorInt import com.zedalpha.shadowgadgets.view.ShadowPlane /** * Interface common to all current custom ViewGroups. * * The groups are divided into two broad categories: Recycling and Regular. * * Recycling groups: * + ShadowsRecycl...
0
null
5
26
6424391321c849b3aceb8c23540525ac00a7795f
5,288
shadow-gadgets
MIT License
app/src/main/java/com/xuexiang/databindingsample/fragment/advanced/recyclerview/model/RecyclerViewRefreshStatusState.kt
xuexiangjys
512,328,564
false
{"Kotlin": 189676, "Java": 3530}
/* * Copyright (C) 2023 xuexiangjys(<EMAIL>) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
1
Kotlin
0
3
ed37114c2ea28f0f7bf45270b9c35b327f030d55
3,681
DataBindingSample
Apache License 2.0
app/src/main/java/com/example/shinelon/lianqin/helper/ItemTouchCallback.kt
HB-pencil
112,829,724
false
{"Gradle": 3, "Markdown": 1, "INI": 1, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Proguard": 1, "JSON": 1, "Kotlin": 72, "XML": 70, "Java": 3}
package com.example.shinelon.lianqin.helper import android.graphics.Canvas import android.graphics.Color import android.support.v7.widget.RecyclerView import android.support.v7.widget.helper.ItemTouchHelper import android.util.Log import com.example.shinelon.lianqin.NoteActivity import com.example.shinelon.lianqin.R ...
0
Kotlin
0
0
d7876605647920c59a6bea2bfb6581b60091823e
2,449
lianqin
Apache License 2.0
app/src/main/java/com/kotlin/tiaistiana/ui/negara/CountriesAdapter.kt
tiaistiana99
601,875,719
false
null
package com.kotlin.tiaistiana.ui.negara import android.net.Uri import android.view.LayoutInflater import android.view.ViewGroup import androidx.recyclerview.widget.RecyclerView import com.kotlin.tiaistiana.databinding.RowCountryListBinding import com.kotlin.tiaistiana.repository.model.negara.Country import com.kotlin....
0
Kotlin
0
0
d3d915a4173ec9ad31fa843192db5a1d92fe525b
1,781
UlasanInformasi
MIT License
mbloggerkit/src/main/java/com/daimler/mbloggerkit/obfuscation/ContainPatternObfuscationCondfition.kt
Daimler
206,517,829
false
null
package com.daimler.mbloggerkit.obfuscation import com.daimler.mbloggerkit.LogMessage class ContainPatternObfuscationCondfition(private val regex: String) : ObfuscatingLogFormatter.LogObfuscationCondfition { override fun shouldObfuscate(message: LogMessage): Boolean { return containsPattern(message.messag...
0
Kotlin
0
0
2582ecc09e63174309e90ec59ec5ece63ad6d8ce
474
MBSDK-LoggerKit-Android
MIT License
lib/src/main/java/com/skybox/seven/survey/helper/BasicFragmentArgs.kt
sevenreup
293,449,224
false
{"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Git Attributes": 1, "Markdown": 1, "Proguard": 2, "Kotlin": 37, "XML": 39, "Java": 1, "INI": 1}
package com.skybox.seven.survey.helper import android.os.Bundle private const val TITLE = "title" private const val SUBTITLE = "subtitle" private const val BUTTON_TITLE = "button_title" class BasicFragmentArgs(val bundle: Bundle) { var title: String? = null var subTitle: String? = null var nextTitle: Str...
0
Kotlin
0
0
0c3effdcab55dd9af83b344b49bea771b1110c9c
808
survey-library
MIT License
keel-ec2-plugin/src/main/kotlin/com/netflix/spinnaker/config/EC2Config.kt
haleyw
361,746,106
true
{"Kotlin": 2507116, "Java": 20143, "Shell": 1691, "Slim": 359}
/* * Copyright 2018 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
0
null
0
0
96544374f34d9210ca50e80ad04599f2beadd231
4,371
keel
Apache License 2.0
app/src/main/java/de/schalter/losungen/screens/settings/SettingsActivity.kt
schalterDev
162,886,394
false
{"Gradle": 4, "Markdown": 3, "Java Properties": 2, "Shell": 2, "Ignore List": 3, "Batchfile": 1, "YAML": 1, "Proguard": 3, "Java": 2, "XML": 111, "Kotlin": 123, "JSON": 2, "Text": 2}
package de.schalter.losungen.screens.settings import android.content.SharedPreferences import android.graphics.PorterDuff import android.os.Build import android.os.Bundle import android.view.MenuItem import android.widget.Toast import androidx.appcompat.widget.Toolbar import androidx.preference.* import de.schalter.cu...
7
Kotlin
1
2
3d414014880c7e6e2c7e3b72e365c8cbd5e0fc2b
7,326
Losungen-Android-2
MIT License
src/test/kotlin/dev/bogwalk/batch9/Problem96Test.kt
bog-walk
381,459,475
false
null
package dev.bogwalk.batch9 import dev.bogwalk.util.custom.SuDokuGame import kotlin.test.Test import kotlin.test.assertEquals import dev.bogwalk.util.tests.getTestResource import org.junit.jupiter.api.* import kotlin.test.assertContentEquals @TestInstance(TestInstance.Lifecycle.PER_CLASS) @TestMethodOrder(MethodOrdere...
0
Kotlin
0
0
62b33367e3d1e15f7ea872d151c3512f8c606ce7
2,836
project-euler-kotlin
MIT License
app/src/main/java/dev/leonlatsch/photok/backup/domain/RestoreBackupV3.kt
leonlatsch
287,088,448
false
{"Kotlin": 470806, "HTML": 1049}
/* * Copyright 2020-2024 Leon Latsch * * 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...
43
Kotlin
52
523
f31156f75af892f03c77b4ff45ad907e2e25f7c2
3,170
Photok
Apache License 2.0
paymentsheet/src/main/java/com/stripe/android/customersheet/injection/CustomerSheetViewModelModule.kt
stripe
6,926,049
false
null
package com.stripe.android.customersheet.injection import android.app.Application import android.content.res.Resources import com.stripe.android.PaymentConfiguration import com.stripe.android.ui.core.forms.resources.LpmRepository import dagger.Module import dagger.Provides @Module internal class CustomerSheetViewMode...
92
Kotlin
598
1,104
284328f26a42b435cb458ef9e4ae481fceb7276b
809
stripe-android
MIT License
retriever-runtime/src/jvmTest/kotlin/com/ustadmobile/retriever/ext/TestZipEntryKmpExt.kt
UstadMobile
439,850,316
false
null
package com.ustadmobile.retriever.ext import com.ustadmobile.door.ext.writeToFile import org.junit.Assert.assertEquals import org.junit.Before import org.junit.Rule import org.junit.Test import org.junit.rules.TemporaryFolder import java.io.ByteArrayOutputStream import java.io.File import java.util.zip.CRC32 import ja...
0
Kotlin
0
0
aa5c73a7b09d50fa596fad938d031bdb27dc9982
2,090
retriever
MIT License
ui-common/src/main/java/sk/kasper/ui_common/tag/TagMapper.kt
ValterKasper
253,570,488
false
null
package sk.kasper.ui_common.tag interface TagMapper { fun toUiTag(tagId: Long): FilterTag fun toDomainTag(tag: FilterTag): Long }
1
Kotlin
13
127
97bf8587864339e028c9c9be97d0a5b348d246c6
138
space-app
Apache License 2.0
src/frontend/android/unity_wallet/app/src/main/java/unity_wallet/UnityCore.kt
robobit
189,033,023
false
{"Git Config": 1, "Text": 20, "M4Sugar": 25, "Markdown": 50, "Shell": 58, "Ignore List": 18, "Makefile": 57, "Git Attributes": 1, "YAML": 10, "Python": 159, "JSON": 87, "HTML": 7, "Roff Manpage": 4, "C++": 866, "C": 180, "Protocol Buffer": 1, "Objective-C++": 53, "SVG": 45, "XML": 156, "Gradle": 3, "Java Properties": 2...
// Copyright (c) 2018 The Gulden developers // Authored by: <NAME> (<EMAIL>) // Distributed under the GULDEN software license, see the accompanying // file COPYING package com.gulden.unity_wallet import android.util.Log import com.gulden.jniunifiedbackend.* import kotlinx.coroutines.CompletableDeferred import java.ut...
1
null
1
1
63d424c0b30f6ad6688b3d382ccdaa61dbddb86d
9,451
guldencoin-official
MIT License
portfolio/shared/src/commonMain/kotlin/example/portfolio/style/Palette.kt
Logan-Chazdon
718,367,270
false
{"Kotlin": 106373, "HTML": 3107, "JavaScript": 1319, "Swift": 1161, "Ruby": 101}
package example.portfolio.style import androidx.compose.foundation.isSystemInDarkTheme import androidx.compose.material.darkColors import androidx.compose.material3.LocalTextStyle import androidx.compose.material3.MaterialTheme import androidx.compose.material3.ProvideTextStyle import androidx.compose.material3.darkCo...
0
Kotlin
0
1
1f2f5611a2a1041687b262d40af65f43d414c731
2,669
Portfolio
Apache License 2.0
compiler/testData/codegen/boxInline/signature/byteIteratorWithWhileLoop.kt
JetBrains
3,432,266
false
null
// TARGET_BACKEND: JVM // IGNORE_BACKEND_K2: JVM_IR // IGNORE_BACKEND_K2_MULTI_MODULE: JVM_IR JVM_IR_SERIALIZE // ALLOW_KOTLIN_PACKAGE // Note: order of files is important // MODULE: kotlin_stdlib // FILE: _Arrays.kt package kotlin.collections public inline fun ByteArray.customFirst(predicate: (Byte) -> Boolean): Byt...
181
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
971
kotlin
Apache License 2.0
kt/godot-library/src/main/kotlin/godot/gen/godot/ParallaxLayer.kt
utopia-rise
289,462,532
false
null
// THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY! @file:Suppress("PackageDirectoryMismatch", "unused", "FunctionName", "RedundantModalityModifier", "UNCHECKED_CAST", "JoinDeclarationAndAssignment", "USELESS_CAST", "RemoveRedundantQualifierName", "NOTHING_TO_INLINE", "NON_FINAL_MEMBER_IN_OBJECT", "Redundan...
63
null
39
571
39dc30230a30d2a6ab4ec3277eb3bc270995ab23
8,659
godot-kotlin-jvm
MIT License
things/src/main/java/com/r21nomi/pinboard/ui/splash/SplashComponent.kt
r21nomi
69,136,733
false
null
package com.r21nomi.pinboard.ui.splash import com.r21nomi.pinboard.di.ApplicationComponent import dagger.Component /** * Created by r21nomi on 2017/03/12. */ @Component( dependencies = arrayOf(ApplicationComponent::class) ) @SplashScope interface SplashComponent { fun inject(activity: SplashActivity) }
8
null
1
4
04281686735cd6ccd366cf8da04e66c43ba309af
319
pin-board
Apache License 2.0
backend/src/main/kotlin/com/mobilispect/backend/data/transit_land/TransitLandAgencyIDDataSource.kt
alandovskis
502,662,711
false
{"Kotlin": 358717, "Shell": 472, "Swift": 345}
package com.mobilispect.backend.data.transit_land import com.mobilispect.backend.data.agency.AgencyIDDataSource import com.mobilispect.backend.data.agency.FeedLocalAgencyID import com.mobilispect.backend.data.agency.OneStopAgencyID import com.mobilispect.backend.data.transit_land.api.TransitLandAPI import com.mobilisp...
2
Kotlin
0
1
be8ae6186aa7a4d8f9d1966e2751b0912c4db9d9
1,071
mobilispect
Apache License 2.0
agent-part/src/test/kotlin/TestExts.kt
Mazel-Tovr
315,294,495
true
{"Kotlin": 244597, "Java": 720, "Dockerfile": 73}
package com.epam.drill.plugins.test2code internal fun Class<*>.readBytes(): ByteArray = getResourceAsStream( "/${name.replace('.', '/')}.class" ).readBytes()
0
null
0
0
8cf128d4edcd180ec9b66dc771970fe4ac1a834d
163
test2code-plugin
Apache License 2.0
domain/src/main/java/com/example/domain/model/Move.kt
mobyleOfficial
486,758,043
false
{"Kotlin": 42685}
package com.example.domain.model data class Move( val id: String, val name: String, val imageUrl: String, val description: String, )
0
Kotlin
0
0
2610a3a08bf5eaa6772f3b2c3a708b5652aa18a9
150
shonnen_arena
MIT License
app/src/main/kotlin/com/aboust/develop_guide/service/DownloadRequest.kt
cyzaoj
233,992,143
false
null
package com.aboust.develop_guide.service import android.net.Uri import android.os.Build import android.os.Parcel import android.os.Parcelable /** * 下载任务请求 */ class DownloadRequest private constructor() : Parcelable { private var allowedNetworkType: Int = -1 private var uri: Uri? = null private var d...
0
Kotlin
0
0
93f09425f686d1ea1476202ec00bedeeef5a1e40
3,996
Android_Develop_Guide
MIT License
app/src/main/java/com/softwarehut/mvpplayground/domain/introduction/OnSlidesNavigationListener.kt
softwarehutpl
139,710,457
false
{"Kotlin": 49242}
package com.softwarehut.mvpplayground.domain.introduction interface OnSlidesNavigationListener { fun onLoginNavigation() fun onInteractionNavigation() fun onGoNavigation() }
0
Kotlin
0
0
fe91f41fad6413a8dabd3b3e9e1e0826e8cd7553
189
MvpPlayground
Apache License 2.0
idea/idea-core/src/org/jetbrains/kotlin/idea/core/overrideImplement/OverrideMemberChooserObject.kt
jsyeo
40,419,184
true
{"Markdown": 34, "Kotlin": 19097, "Java": 4342, "Shell": 6, "Batchfile": 8, "Java Properties": 10, "HTML": 140, "INI": 7, "CSS": 2, "JavaScript": 63, "Proguard": 1}
/* * 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
ef095dd5599a0fdd96054269a8d2bfa2b2ef28f8
1,181
kotlin
Apache License 2.0
app/src/main/java/com/breezedsm/features/alarm/api/attendance_report_list_api/AttendanceReportRepo.kt
DebashisINT
400,191,844
false
{"Kotlin": 10295250, "Java": 912702}
package com.breezedsm.features.alarm.api.attendance_report_list_api import com.breezedsm.app.Pref import com.breezedsm.features.alarm.model.AttendanceReportDataModel import io.reactivex.Observable import timber.log.Timber /** * Created by Saikat on 20-02-2019. */ class AttendanceReportRepo(val apiService: Attendanc...
0
Kotlin
0
0
46121dba62e4e27333b3f975f530f58d8e6c9f31
577
ITC
Apache License 2.0
src/main/kotlin/by/enrollie/xodus/impl/DatabaseTimetablePlacingProviderImpl.kt
enrollie
516,169,520
false
{"Kotlin": 78632}
/* * Copyright © 2021 - 2022 * Author: <NAME> * Licensed under MIT License * All rights are reserved. */ package by.enrollie.xodus.impl import by.enrollie.data_classes.TimetablePlaces import by.enrollie.providers.DatabaseTimetablePlacingProviderInterface import by.enrollie.xodus.classes.XdTimetablePlacing import...
0
Kotlin
0
0
7ff8aaf2724c7478b59bec6a6efad805702c6686
2,152
Eversity-XodusDB
MIT License
kotlinlog/src/main/kotlin/quanti/com/kotlinlog/file/file/MetadataFile.kt
Qase
104,765,412
false
null
package quanti.com.kotlinlog.file.file import android.content.Context import quanti.com.kotlinlog.android.MetadataLogger import quanti.com.kotlinlog.utils.openLogFileOutput import java.io.FileOutputStream class MetadataFile(appCtx: Context) { private val fileName = "PhoneMetadata.log" private var fos: FileO...
2
Kotlin
3
7
8fa65ed43b5cb4f4e95765bb534243b6c55780a5
571
KotlinLogger
MIT License
domain/src/main/java/com/beok/domain/entity/SaleInfo.kt
BeokBeok
287,859,379
false
null
package com.beok.domain.entity import com.squareup.moshi.Json import com.squareup.moshi.JsonClass @JsonClass(generateAdapter = true) data class SaleInfo( @Json(name = "country") val country: String = "", @Json(name = "isEbook") val isEbook: Boolean = false, @Json(name = "saleability") val saleability: String...
0
Kotlin
0
1
1d739238a2f08af5e5a14441db1ce67e8731f63b
597
BookFinder
Apache License 2.0
feature/core/src/main/java/com/masselis/tpmsadvanced/core/feature/usecase/VehicleListUseCase.kt
VincentMasselis
501,773,706
false
null
package com.masselis.tpmsadvanced.core.feature.usecase import com.masselis.tpmsadvanced.data.car.interfaces.VehicleDatabase import dagger.Reusable import kotlinx.coroutines.flow.distinctUntilChanged import kotlinx.coroutines.flow.map import javax.inject.Inject @Reusable internal class VehicleListUseCase @Inject const...
1
Kotlin
0
0
5bafb38a3ffd99ec059d9d5c497631f2e2e54e5c
498
TPMS-advanced
Apache License 2.0
app/src/test/java/com/google/aliro/android/sampleapp/InMemoryDbTest.kt
google
733,125,284
false
{"Kotlin": 252139}
/* * 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
0
Kotlin
0
0
af6c5029d355cf9d47510140b8e2b26ebf1802d8
2,386
aliro
Apache License 2.0
yetutil/src/main/java/yet/ui/list/select/SelectPage.kt
yangentao
64,828,822
false
null
package yet.ui.list.select import android.content.Context import android.os.Bundle import android.view.View import android.widget.LinearLayout import net.yet.R import yet.theme.Str import yet.ui.list.ListPage import yet.ui.list.check.CheckView import yet.ui.page.Cmd /** * Created by entaoyang@163.com on 2017-01-05. ...
0
Kotlin
0
0
e5f048899e88d34e0fbc331b76cdd5d897495438
3,845
klib
Apache License 2.0
core/generated-sources/src/test/kotlin/org/jetbrains/kotlinx/dataframe/io/ImageSerializationTests.kt
Kotlin
259,256,617
false
{"Kotlin": 8121405, "Java": 14863, "JavaScript": 11483, "CSS": 3083, "HTML": 137, "Shell": 73}
package org.jetbrains.kotlinx.dataframe.io import io.kotest.matchers.shouldBe import io.kotest.matchers.string.shouldContain import kotlinx.serialization.json.JsonObject import kotlinx.serialization.json.jsonArray import kotlinx.serialization.json.jsonObject import kotlinx.serialization.json.jsonPrimitive import org.j...
216
Kotlin
54
787
a55d18bcb22a0be799d039b39c4dc5d523e56592
6,577
dataframe
Apache License 2.0
movie/src/main/java/com/future/movie/home/viewmodel/MovieHomeViewModel.kt
zhan2046
96,447,778
false
null
package com.future.movie.home.viewmodel import android.util.Log import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import com.future.common.CommonUtils import com.future.movie.R import com.future.movie.db.entity.MovieEntity import com.future.movie.network.MovieRepository import com.future.mo...
0
null
87
528
0a939121e5a553e47073e967ca66c4c6bc34c9ed
2,201
awaker
Apache License 2.0
camunda-example-web/src/main/kotlin/br/com/camunda/example/web/utils/RequestToModel.kt
ricardofpu
146,937,534
false
null
package br.com.camunda.example.web.utils import br.com.camunda.example.api.v1.request.CreateAccountRequest import br.com.camunda.example.api.v1.request.CreateCreditRequest import br.com.camunda.example.api.v1.request.CreateCustomerRequest import br.com.camunda.example.api.v1.request.CreateDebitRequest import br.com.ca...
0
Kotlin
0
1
1e4179db133ce38e9c86f548887bfd55737a732d
2,705
spring-boot-camunda-example
Apache License 2.0
kotlinify-core/src/main/kotlin/io/t28/kotlinify/util/Ref.kt
t28hub
455,777,193
false
{"Kotlin": 298071}
/* * Copyright (c) 2022 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
11
Kotlin
0
0
8ff0f747db97690658a8fc7526766c7e5699de3a
1,522
kotlinify
Apache License 2.0
solar/src/main/java/com/chiksmedina/solar/bold/__NatureTravel.kt
CMFerrer
689,442,321
false
{"Kotlin": 36591890}
package com.chiksmedina.solar.bold import androidx.compose.ui.graphics.vector.ImageVector import com.chiksmedina.solar.BoldSolar import com.chiksmedina.solar.bold.naturetravel.Bonfire import com.chiksmedina.solar.bold.naturetravel.Fire import com.chiksmedina.solar.bold.naturetravel.FireMinimalistic import com.chiksmed...
0
Kotlin
0
0
3414a20650d644afac2581ad87a8525971222678
1,165
SolarIconSetAndroid
MIT License
src/main/kotlin/item/template/ItemTemplateWeapon.kt
jerbtrundles
590,724,669
false
null
package item.template import item.ItemWeapon class ItemTemplateWeapon( name: String, description: String, weight: Double, value: Int, keywords: List<String>, val power: Int ): ItemTemplate(name, description, weight, value, keywords) { override fun createItem() = ItemWeapon(this) }
0
Kotlin
0
0
9e1f23c48a2f3d30d5e611bd3dc1e05616e8a2bd
311
kotlin-mud
MIT License
maestro-ios-driver/src/main/kotlin/logger/Logger.kt
mobile-dev-inc
476,427,476
false
{"Kotlin": 1019730, "TypeScript": 199278, "Swift": 58814, "JavaScript": 16308, "Shell": 11312, "CSS": 2349, "Smarty": 904, "HTML": 358}
package logging interface Logger { fun info(message: String?) fun error(message: String?) }
334
Kotlin
255
5,634
463275b29decc509bdf312f5037688f67f0ae485
100
maestro
Apache License 2.0
src/main/kotlin/io/github/breninsul/simpleimageconvertor/service/transformer/predefined/ContrastTransformer.kt
BreninSul
843,824,335
false
{"Kotlin": 432463}
/* * MIT License * Copyright (c) 2024 BreninSul * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merg...
0
Kotlin
0
0
c584b80210931840c302e9eed613d24441e03d9e
2,045
simple-image-converter
MIT License
app/src/main/java/rio/arj/imovie/MovieApplication.kt
Rarj
348,331,424
false
null
package rio.arj.imovie import android.app.Application import android.content.Context class MovieApplication : Application() { init { instance = this } companion object { private var instance: MovieApplication? = null fun applicationContext(): Context { return instance!!.applicationContext ...
0
Kotlin
0
0
3f1d3504f5dfd826b6c515a35e24c451a440276c
329
iMovie
MIT License
qrgame-andorid-app/base/src/main/java/thisaislan/qrgame/base/util/Constants.kt
thisaislan
374,269,058
false
{"Kotlin": 36495, "JavaScript": 17409, "CSS": 9291, "HTML": 6374}
package thisaislan.qrgame.base.util class Constants { object FileNames { const val QR_GAME_SCRIPT_FOLDER = "core" const val QR_GAME_SCRIPT = "core.js" } }
0
Kotlin
1
17
e4ccabfe286dbcd183ab36fed7572d19d65d5a67
181
qrgame
MIT License
demo/src/jsMain/kotlin/dev/tonycode/kotlin_wrappers/kotlin_antd_demo/ui/components/DemoParam.kt
tonycode
694,166,849
false
{"Kotlin": 106413, "Shell": 511}
package dev.tonycode.kotlin_wrappers.kotlin_antd_demo.ui.components import antd.Align import antd.Size import antd.Space import antd.Typography import antd.setSize import react.FC import react.Props import react.ReactNode external interface DemoParamProps : Props { var name: String var changer: ReactNode ...
0
Kotlin
0
3
87a22f907baab2e7605b84bfe6e7fbc3e6b7d8e3
796
kotlin-antd
MIT License
lib/stove-testing-e2e/src/main/kotlin/com/trendyol/stove/testing/e2e/system/TestSystemOptions.kt
Trendyol
590,452,775
false
{"Kotlin": 354066, "Java": 28911, "Scala": 1122}
package com.trendyol.stove.testing.e2e.system import com.trendyol.stove.testing.e2e.system.abstractions.* data class TestSystemOptions( val keepDependenciesRunning: Boolean = false, val stateStorageFactory: StateStorageFactory = DefaultStateStorageFactory(), val runMigrationsAlways: Boolean = false ) { inline...
9
Kotlin
9
165
855e171eb2f88d848c3073aa9b372210d8b6e6b8
513
stove
Apache License 2.0