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
base/src/main/kotlin/browser/contextMenus/ContextType.kt
DATL4G
372,873,797
false
null
package browser.contextMenus import kotlin.String /** * The different contexts a menu can appear in. Specifying 'all' is equivalent to the combination of * all other contexts except for 'launcher'. The 'launcher' context is only supported by apps and is * used to add menu items to the context menu that appears whe...
0
Kotlin
1
37
ab2a825dd8dd8eb704278f52c603dbdd898d1875
888
Kromex
Apache License 2.0
base/src/main/kotlin/browser/contextMenus/ContextType.kt
DATL4G
372,873,797
false
null
package browser.contextMenus import kotlin.String /** * The different contexts a menu can appear in. Specifying 'all' is equivalent to the combination of * all other contexts except for 'launcher'. The 'launcher' context is only supported by apps and is * used to add menu items to the context menu that appears whe...
0
Kotlin
1
37
ab2a825dd8dd8eb704278f52c603dbdd898d1875
888
Kromex
Apache License 2.0
plugins/kotlin/completion/testData/basic/multifile/EnumCompanionMethods/EnumCompanionMethods.kt
ingokegel
72,937,917
false
null
// FIR_COMPARISON package test enum class E { ; companion object { fun method1() { } } } fun E.Companion.method2() { } fun main() { E.m<caret> } // EXIST: method1 // EXIST: method2
1
null
1
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
216
intellij-community
Apache License 2.0
library/src/main/java/com/kroegerama/kaiteki/retrofit/listing/Listing.kt
MaTriXy
133,508,234
false
null
package com.kroegerama.kaiteki.retrofit.listing import android.arch.lifecycle.LiveData import android.arch.lifecycle.MutableLiveData import com.kroegerama.kaiteki.retrofit.dsl.enqueue import retrofit2.Call enum class Status { RUNNING, SUCCESS, FAILED } sealed class NetworkState( val status: Statu...
1
null
1
1
c6d74d72c9d8b8f7adfc24e69728a3a3ffb35dad
1,619
retrofit-kaiteki
Apache License 2.0
kotlin-mui-icons/src/main/generated/mui/icons/material/MoodOutlined.kt
JetBrains
93,250,841
false
null
// Automatically generated - do not modify! @file:JsModule("@mui/icons-material/MoodOutlined") @file:JsNonModule package mui.icons.material @JsName("default") external val MoodOutlined: SvgIconComponent
10
Kotlin
5
983
7ef1028ba3e0982dc93edcdfa6ee1edb334ddf35
206
kotlin-wrappers
Apache License 2.0
vid-app-common/src/main/java/org/onap/vid/job/command/MsoResultHandlerService.kt
onap
115,762,948
false
null
/*- * ============LICENSE_START======================================================= * VID * ================================================================================ * Copyright (C) 2017 - 2019 AT&T Intellectual Property. All rights reserved. * ============================================================...
4
null
5
6
8cef7fbeed5b8f1255535fcf1cf0c7304df6d447
4,437
archived-vid
Apache License 2.0
library/src/main/java/kr/open/rhpark/library/ui/fragment/RootFragment.kt
Rhpark
873,389,276
false
{"Kotlin": 68838}
package kr.open.rhpark.library.ui.fragment import android.content.Intent import android.content.pm.PackageManager import androidx.activity.result.contract.ActivityResultContracts import androidx.core.content.ContextCompat import androidx.fragment.app.Fragment import kr.open.rhpark.library.debug.logcat.Logx import kr.o...
0
Kotlin
0
1
75bd0e72c973dffbd0d270e187a651f8a8ec051e
2,588
library_01
MIT License
multisrc/overrides/madara/flextapescans/src/FlexTapeScans.kt
kevin01523
612,636,298
false
null
package eu.kanade.tachiyomi.extension.en.flextapescans import eu.kanade.tachiyomi.multisrc.madara.Madara import eu.kanade.tachiyomi.source.model.Page import org.jsoup.nodes.Document import java.text.SimpleDateFormat import java.util.Locale class FlexTapeScans : Madara( "Flex Tape Scans", "https://flextapescan...
9
null
99
9
8ca7f06a4fdfbfdd66520a4798c8636274263428
771
tachiyomi-extensions
Apache License 2.0
src/main/kotlin/nl/nilsrijkaart/widm/game/GameSlot.kt
Nils-Rijkaart
655,419,206
false
null
package nl.nilsrijkaart.widm.game import java.util.* data class GameSlot(var color: GameColor, var role: GameRole, var location: LocationData? = null, var player: UUID? = null)
0
Kotlin
0
0
11baf339b5fba5befdf8b2cdd2771076c729d08e
178
widm-spigot-plugin
MIT License
instrumentation/ktor/ktor-2.0/library/src/test/kotlin/io/opentelemetry/instrumentation/ktor/v2_0/client/KtorHttpClientTest.kt
open-telemetry
210,933,087
false
null
/* * Copyright The OpenTelemetry Authors * SPDX-License-Identifier: Apache-2.0 */ package io.opentelemetry.instrumentation.ktor.v2_0.client import io.ktor.client.* import io.ktor.client.engine.cio.* import io.ktor.client.plugins.* import io.ktor.client.request.* import io.ktor.http.* import io.opentelemetry.contex...
405
null
623
1,383
dd6a1a9c0e1da1cb2a2cc1ed130ab4a4b69ff3e7
3,218
opentelemetry-java-instrumentation
Apache License 2.0
game/src/main/kotlin/gg/rsmod/game/model/combat/SlayerAssignment.kt
2011Scape
578,880,245
false
null
package gg.rsmod.game.model.combat /** * @author Alycia <https://github.com/alycii> */ enum class SlayerAssignment(val identifier: String) { BIRD("Birds"), BANSHEE("Banshees"), BEAR("Bears"), CAVE_BUG("Cave Bugs"), CAVE_SLIME("Cave Slimes"), CAVE_CRAWLER("Cave Crawlers"), CRAWLING_HAND("C...
39
null
87
34
e5400cc71bfa087164153d468979c5a3abc24841
1,000
game
Apache License 2.0
ui/compose/src/commonMain/kotlin/dev/avatsav/linkding/ui/compose/widgets/SwipeToDismissListItem.kt
avatsav
576,855,763
false
null
package dev.avatsav.linkding.ui.shared import androidx.compose.animation.AnimatedContent import androidx.compose.animation.core.Animatable import androidx.compose.animation.core.tween import androidx.compose.animation.fadeIn import androidx.compose.animation.fadeOut import androidx.compose.animation.togetherWith impor...
4
null
0
9
011bdd9eabd2d224ebd5ea379256ed71575d89e8
6,079
linkding-apps
MIT License
idea/tests/testData/inspectionsLocal/collections/simplifiableCallChain/sortedLastOrNull.kt
JetBrains
278,369,660
false
null
// WITH_RUNTIME val x = listOf(1, 3, 2).<caret>sorted().lastOrNull()
0
Kotlin
29
71
b6789690db56407ae2d6d62746fb69dc99d68c84
68
intellij-kotlin
Apache License 2.0
src/main/kotlin/no/nav/tilleggsstonader/sak/opplysninger/aktivitet/AktiviteterDto.kt
navikt
685,490,225
false
{"Kotlin": 2077992, "Gherkin": 52290, "HTML": 48650, "Shell": 924, "Dockerfile": 164}
package no.nav.tilleggsstonader.sak.opplysninger.aktivitet import no.nav.tilleggsstonader.kontrakter.aktivitet.AktivitetArenaDto import java.time.LocalDate data class AktiviteterDto( val periodeHentetFra: LocalDate, val periodeHentetTil: LocalDate, val aktiviteter: List<AktivitetArenaDto>, )
5
Kotlin
1
0
459e2ef7fcc857882a810d4527cb3f8ec18954d0
307
tilleggsstonader-sak
MIT License
src/main/kotlin/br/com/jiratorio/jira/domain/JiraChangelog.kt
jirareport
126,883,660
false
{"Kotlin": 628412, "Dockerfile": 302}
package br.com.jiratorio.jira.domain import java.time.LocalDateTime data class JiraChangelog( val from: String? = null, val to: String? = null, val field: String? = null, var created: LocalDateTime )
12
Kotlin
12
21
845540e238f47fbd05c1f7f6839152545521c63e
223
jirareport
MIT License
plugins/kotlin/idea/tests/testData/refactoring/bindToElement/changeImport/ChangeImport.kt
ingokegel
72,937,917
false
null
// FILE: test/ChangeImport.kt // BIND_TO test.bar.A package test import test.foo.A fun foo() { val x = <caret>A() } // FILE: test/foo/A.kt package test.foo class A { } // FILE: test/bar/A.kt package test.bar class A { }
284
null
5162
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
229
intellij-community
Apache License 2.0
src/main/kotlin/no/nav/tilleggsstonader/sak/vilkår/vilkårperiode/evaluering/EvalueringVilkårperiode.kt
navikt
685,490,225
false
{"Kotlin": 1330983, "HTML": 33935, "Gherkin": 11561, "Shell": 924, "Dockerfile": 164}
package no.nav.tilleggsstonader.sak.vilkår.vilkårperiode.evaluering import no.nav.tilleggsstonader.sak.vilkår.vilkårperiode.domain.AktivitetType import no.nav.tilleggsstonader.sak.vilkår.vilkårperiode.domain.DelvilkårVilkårperiode import no.nav.tilleggsstonader.sak.vilkår.vilkårperiode.domain.MålgruppeType import no.n...
3
Kotlin
1
0
9e361dc0c4187917899adea204cf6fda924d6fc4
1,772
tilleggsstonader-sak
MIT License
lib_base/src/main/java/com/czl/lib_base/base/IBaseView.kt
cdalwyn
336,133,347
false
null
package com.czl.lib_base.base interface IBaseView { /** * 初始化界面传递参数 */ fun initParam() /** * 初始化数据 */ fun initData() /** * 初始化界面观察者的监听 */ fun initViewObservable() }
1
null
70
267
77298b416cc15f168499c0b29c8f9017e6c187ca
221
PlayAndroid
Apache License 2.0
android/data/src/main/java/any/data/backup/BackupManagerImpl.kt
dokar3
572,488,513
false
null
package any.data.backup import android.content.Context import any.base.util.Dirs import any.base.util.FileUtil import any.base.util.ZipUtil import any.base.util.isHttpUrl import any.data.db.AppDatabase import any.data.db.PostContentDatabase import any.data.entity.AppDataType import any.data.entity.Bookmark import any....
8
Kotlin
0
9
cc4258cdc6822d28d596ec061bab4dd67bfe6c44
12,645
any
Apache License 2.0
src/main/kotlin/io/github/cheesesandteam/koreanchat/plugin/KoreanChatPlugin.kt
CheeseSandTeam
622,410,016
false
null
package io.github.cheesesandteam.koreanchat.plugin import org.bukkit.plugin.java.JavaPlugin @Suppress("unused") class KoreanChatPlugin : JavaPlugin() { override fun onEnable() { TODO("Log Plugin Enable and Register Event Listener to hook chat") } }
0
Kotlin
0
4
9c4e16defc9ba11b7efd4039aec51af74875eded
267
korean-chat
MIT License
advent-of-code/src/main/kotlin/DayTen.kt
pauliancu97
518,083,754
false
null
class DayTen { private fun getNextOccurrenceString(string: String): String { var currentOccurrence = 1 var nextString = "" for (index in 1 until string.length) { if (string[index] != string[index - 1]) { nextString += "${currentOccurrence}${string[index - 1]}" ...
0
Kotlin
0
0
3ba05bc0d3e27d9cbfd99ca37ca0db0775bb72d6
944
advent-of-code-2015
MIT License
database_manager/src/main/java/com/wordpress/anujsaxenadev/database_manager/helpers/map_helper/MapDatabaseHelper.kt
anujsaxenadev
715,621,535
false
{"Kotlin": 50772, "HTML": 489, "JavaScript": 225, "CSS": 90}
package com.wordpress.anujsaxenadev.database_manager.helpers.map_helper interface MapDatabaseHelper{ /** * Check if Resource Entry is there in Database * @param resourceId Id of the resource to check * * @return [Result] of `true` - if resource exists, `false` - if resource does not exist, [T...
0
Kotlin
0
0
ca08006644fbf64fcb709f02ffb9d2d4e42678b1
1,127
GoogleMaps
MIT License
aoc-2015/src/main/kotlin/nl/jstege/adventofcode/aoc2015/days/Day23.kt
JStege1206
92,714,900
false
null
package nl.jstege.adventofcode.aoc2015.days import nl.jstege.adventofcode.aoc2015.utils.instructionset.SimpleInstructionSet import nl.jstege.adventofcode.aoccommon.days.Day import nl.jstege.adventofcode.aoccommon.utils.machine.Machine import nl.jstege.adventofcode.aoccommon.utils.machine.Program import nl.jstege.adven...
0
Kotlin
0
0
d48f7f98c4c5c59e2a2dfff42a68ac2a78b1e025
1,126
AdventOfCode
MIT License
src/main/kotlin/github/cheng/engine/TelegramBot.kt
YiGuan-z
702,319,315
false
{"Kotlin": 84112}
package github.cheng.engine import com.github.kotlintelegrambot.dispatch import com.github.kotlintelegrambot.logging.LogLevel import github.cheng.TelegramResources import github.cheng.application.Application import github.cheng.application.ApplicationEngine import github.cheng.application.env.getListOrNull import gith...
0
Kotlin
0
0
4eda85449d70767f9cb2c66aaa794731828b5f63
2,251
telegram-stickers-collect-bot
MIT License
core/runtime/src/main/kotlin/edu/byu/uapi/server/types/ResponseMetadata.kt
byu-oit
130,911,554
false
null
package edu.byu.uapi.server.types import edu.byu.uapi.model.UAPISortOrder import edu.byu.uapi.spi.SpecConstants import edu.byu.uapi.spi.SpecConstants.Metadata import edu.byu.uapi.spi.rendering.Renderable import edu.byu.uapi.spi.rendering.Renderer import java.time.Instant import kotlin.Int import kotlin.String import k...
16
Kotlin
0
0
1ca0e357a1b00cf11c1e1c9a1b00af4455d6d30c
6,054
kotlin-uapi
Apache License 2.0
integration/kotlinx-coroutines-guava/test/ListenableFutureTest.kt
r4zzz4k
149,841,473
true
{"Kotlin": 1764492, "CSS": 8215, "JavaScript": 2505, "Ruby": 1927, "HTML": 1675, "Shell": 1308, "Java": 356}
/* * Copyright 2016-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. */ package kotlinx.coroutines.experimental.guava import com.google.common.util.concurrent.* import kotlinx.coroutines.experimental.* import kotlinx.coroutines.experimental.CancellationException import org.hamcre...
0
Kotlin
0
0
d1be1c9d970e29fcc177bb3767087af48935d400
5,645
kotlinx.coroutines
Apache License 2.0
components/resources/library/src/commonMain/kotlin/org/jetbrains/compose/resources/StringResources.kt
JetBrains
293,498,508
false
null
package org.jetbrains.compose.resources import androidx.compose.runtime.* import kotlinx.coroutines.* import kotlinx.coroutines.sync.Mutex import kotlinx.coroutines.sync.withLock import org.jetbrains.compose.resources.vector.xmldom.Element import org.jetbrains.compose.resources.vector.xmldom.NodeList private val Simp...
1,293
null
1058
14,559
04edeed084d9882d3a28950a11e722a3eb2860c7
8,266
compose-multiplatform
Apache License 2.0
samples/src/jvmMain/kotlin/okio/samples/GoldenValue.kt
square
17,812,502
false
{"Kotlin": 1559919, "Java": 43685, "Shell": 1180}
/* * Copyright (C) 2018 Square, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
89
Kotlin
1178
8,795
0f6c9cf31101483e6ee9602e80a10f7697c8f75a
2,119
okio
Apache License 2.0
app/src/main/java/com/kylecorry/trail_sense/tools/depth/ui/ToolDepthFragment.kt
TomasCartman
343,114,452
true
{"Kotlin": 521339}
package com.kylecorry.trail_sense.tools.depth.ui import android.hardware.SensorManager import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment import com.kylecorry.trail_sense.R import com.kylecorry.trail_sense.databinding...
0
null
0
0
7be12f2be2136fc6b3f713665bd36d931466d893
3,891
Trail-Sense
MIT License
app/src/main/java/net/attilaszabo/peopledemo/data/sources/uinames/models/PersonNetwork.kt
atoka93
152,560,205
false
null
package net.attilaszabo.peopledemo.data.sources.uinames.models import com.google.gson.annotations.SerializedName class PersonNetwork { @SerializedName("name") var name: String = "" @SerializedName("surname") var surname: String = "" @SerializedName("gender") var gender: String = "" @Se...
0
Kotlin
0
1
2bd1fbcc03d4a97766329a8a2410fe7149a548f8
896
android-people-demo
Apache License 2.0
src/main/kotlin/com/liamxsage/energeticstorage/items/mineskin/SkinTexture.kt
CoasterFreakDE
812,938,765
false
{"Kotlin": 150672, "Java": 1534}
package com.liamxsage.energeticstorage.items.mineskin import java.util.* data class SkinTexture( val name: String, val uuid: UUID, val texture: Texture ) { companion object { fun fromMineSkinResponse(response: MineSkinResponse): SkinTexture { return SkinTexture( na...
0
Kotlin
0
1
6b5d559e76dd5f52397719ae5ebaf9f1d8876c8f
497
EnergeticStorage-Reborn
MIT License
app/src/main/java/ir/apptune/antispam/features/permission/PermissionsFragment.kt
SirLordPouya
241,154,265
false
null
package ir.apptune.antispam.features.permission import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.core.app.ActivityCompat import androidx.fragment.app.Fragment import ir.apptune.antispam.R import ir.apptune.antispam.utils.checkNeededPermi...
0
Kotlin
1
9
fb620efe5ac319057f854ca91e810887d295feb6
2,125
AntiSpam
Apache License 2.0
app/src/main/java/com/fabler/jetflix/ui/components/Card.kt
pushpalroy
373,171,748
false
null
package com.fabler.jetflix.ui.components import androidx.compose.foundation.BorderStroke import androidx.compose.material.MaterialTheme import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.Shape import androidx.comp...
0
Kotlin
12
47
e6041f5b23e06ac6b0da2f185fb67d8832bff632
912
jetflix
Apache License 2.0
owntracks-android-2.4/project/app/src/main/java/org/owntracks/android/ui/welcome/FinishFragment.kt
wir3z
737,346,188
false
{"Kotlin": 577231, "Groovy": 303581, "Java": 233010, "Python": 1535, "Shell": 959}
package org.owntracks.android.ui.welcome import android.content.Context import android.content.Intent import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.activityViewModels import dagger.hilt.android.AndroidEntryPoint import or...
0
Kotlin
3
4
a515ba358d3467267e9d662564152f5d7613991a
1,424
hubitat
Apache License 2.0
xbrick-app/src/main/java/cn/zzstc/lzm/LifeCycleInjector.kt
zz-xlab
226,285,739
false
null
package cn.zzstc.lzm import android.app.Application import androidx.fragment.app.FragmentManager import cn.zzstc.lzm.common.app.IAppLifeCycle import cn.zzstc.lzm.common.app.ILifecycleInjector import com.orhanobut.logger.Logger class LifeCycleInjector :ILifecycleInjector{ override fun injectAppLifeCycle( a...
0
Kotlin
0
0
30451c741c85bdfaf7e2963b33bc7e4967263799
834
xbrick-app
Apache License 2.0
app/src/main/java/com/example/restaurantapp/viewmodel/UserViewModel.kt
bartaliskrisztian
311,770,400
false
null
package com.example.restaurantapp.viewmodel import android.app.Application import androidx.lifecycle.AndroidViewModel import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.viewModelScope import com.example.restaurantapp.db.RestaurantDatabase import com.example.restauran...
0
Kotlin
0
1
38edcaf00f842c2cee533a16747bc3b647e9d0a0
2,321
OnPlate
MIT License
lib-expandablebottombar/src/main/java/github/com/st235/lib_expandablebottombar/ExpandableBottomBar.kt
st235
173,377,910
false
{"Gradle": 5, "INI": 3, "Shell": 1, "Text": 2, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Java Properties": 1, "Proguard": 1, "XML": 58, "Kotlin": 51, "Java": 1, "YAML": 1}
package github.com.st235.lib_expandablebottombar import android.animation.Animator import android.annotation.TargetApi import android.content.Context import android.graphics.Color import android.graphics.Outline import android.graphics.Rect import android.os.Build import android.os.Parcelable import android.util.Attri...
2
Kotlin
60
783
a0abc55616b9f711e41e3a38b0af0cccda24d0c9
10,830
ExpandableBottomBar
MIT License
src/main/kotlin/xveon/roadmap/util/PosGroup.kt
XVNexus
633,999,690
false
null
package xveon.roadmap import net.minecraft.util.math.BlockPos import org.joml.Vector3d import kotlin.math.roundToInt class PosGroup { private val positions = mutableSetOf<BlockPos>() var center = BlockPos(0, 0, 0) fun getPositions(): MutableSet<BlockPos> { return positions } fun getPosCo...
0
Kotlin
0
0
a03d400c26459f4a5fd8190723648971011c7f0f
1,548
roadmap
Apache License 2.0
src/main/kotlin/xveon/roadmap/util/PosGroup.kt
XVNexus
633,999,690
false
null
package xveon.roadmap import net.minecraft.util.math.BlockPos import org.joml.Vector3d import kotlin.math.roundToInt class PosGroup { private val positions = mutableSetOf<BlockPos>() var center = BlockPos(0, 0, 0) fun getPositions(): MutableSet<BlockPos> { return positions } fun getPosCo...
0
Kotlin
0
0
a03d400c26459f4a5fd8190723648971011c7f0f
1,548
roadmap
Apache License 2.0
funcify-feature-eng-schema/src/main/kotlin/funcify/feature/schema/directive/alias/AliasCoordinatesRegistry.kt
anticipasean
458,910,592
false
{"Kotlin": 2751524, "HTML": 1817}
package funcify.feature.schema.directive.alias import graphql.schema.FieldCoordinates import kotlinx.collections.immutable.ImmutableSet import kotlinx.collections.immutable.persistentMapOf /** * @author smccarron * @created 2023-08-22 */ interface AliasCoordinatesRegistry { companion object { fun empt...
0
Kotlin
0
0
851ad6c0e7480ce72df32fd0e3d021909c4536f9
1,758
funcify-feature-eng
Apache License 2.0
app/src/main/java/br/com/programadordeelite/gdc/codelab/debugging/calc/CalcFragment.kt
treslines
346,119,037
false
null
package br.com.programadordeelite.gdc.codelab.debugging.calc import android.os.Bundle import android.util.Log import android.view.View import androidx.fragment.app.Fragment import br.com.programadordeelite.gdc.R import br.com.programadordeelite.gdc.databinding.FragmentCalcBinding import timber.log.Timber import java.l...
0
Kotlin
9
67
1ff9f927390e4da543951fe0d1adc155d2ac8fd5
2,866
aad
Apache License 2.0
tests/async/spring-task-execution-3.1/src/main/kotlin/com/epam/test/drill/compatibility/SimpleAsyncService.kt
Drill4J
761,674,114
false
{"Kotlin": 127593}
/** * Copyright 2020 - 2022 EPAM Systems * * 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 agree...
2
Kotlin
0
0
c9539cd872247ca4200c772d884a850f08adccbe
1,033
internal-compatibility-matrix-tests
Apache License 2.0
src/main/kotlin/io/github/tmcreative1/playwright/remote/engine/handle/element/impl/ElementHandle.kt
TMcreative1
344,872,041
false
{"Kotlin": 1474337, "JavaScript": 10814, "HTML": 10152, "CSS": 2547}
package io.github.tmcreative1.playwright.remote.engine.handle.element.impl import com.google.gson.JsonObject import io.github.tmcreative1.playwright.remote.core.enums.ElementState import io.github.tmcreative1.playwright.remote.core.enums.ScreenshotType.JPEG import io.github.tmcreative1.playwright.remote.core.enums.Scr...
0
Kotlin
0
1
a4b4d3fe199f0a3e7d740feded801ecd5e2b9992
13,644
playwright-remote
MIT License
kt/godot-library/src/main/kotlin/godot/gen/godot/VisualShaderNodeTexture2DArray.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...
64
null
39
580
fd1af79075e7b918200aba3302496b70c76a2028
2,003
godot-kotlin-jvm
MIT License
app/src/main/java/com/example/parstagram/fragments/ComposeFragment.kt
mi-zhao
474,761,614
false
null
package com.example.parstagram.fragments import android.content.Intent import android.graphics.BitmapFactory import android.net.Uri import android.os.Bundle import android.os.Environment import android.provider.MediaStore import android.util.Log import androidx.fragment.app.Fragment import android.view.LayoutInflater ...
2
Kotlin
0
0
33b3a751766da2042a3d5476c5070d5de7cebe39
6,827
Parstagram
Apache License 2.0
app/src/main/kotlin/org/artembogomolova/demo/webapp/main/dao/repo/CoreRepositories.kt
bogomolov-a-a
307,182,964
false
null
package org.artembogomolova.demo.webapp.main.dao.repo import org.artembogomolova.demo.webapp.main.domain.core.Person import org.artembogomolova.demo.webapp.main.domain.core.PhysicalAddress import org.springframework.data.repository.CrudRepository import org.springframework.stereotype.Repository @Repository interface ...
1
Kotlin
0
0
8b533b736e75ab2fca39888b3a3953e3810c121d
458
demo-spring-simple-webapp-with-tls
Apache License 2.0
godot-kotlin-idea-plugin/src/main/kotlin/godot/idea/Settings.kt
raniejade
166,207,411
false
null
package godot.idea import com.intellij.openapi.components.ServiceManager import com.intellij.openapi.diagnostic.logger import com.intellij.openapi.fileChooser.FileChooserDescriptor import com.intellij.openapi.fileChooser.FileChooserDescriptorFactory import com.intellij.openapi.options.Configurable import com.intellij....
12
Kotlin
4
51
5c1bb2a1f1d2187375bf50c0445b42c88f37989f
1,698
godot-kotlin
MIT License
quantity-pickers/src/test/kotlin/com/decathlon/vitamin/compose/quantity/pickers/utils/Variant.kt
Decathlon
492,727,156
false
{"Kotlin": 5008802}
package com.decathlon.vitamin.compose.quantity.pickers.utils internal enum class Variant { Primary }
14
Kotlin
24
232
7cbe1b995f9037593f13a8457650b1a7bc270597
102
vitamin-compose
Apache License 2.0
app/src/main/java/com/example/viewmodelfragments/Fragment3.kt
edmondzhang2001
643,592,224
false
{"Kotlin": 25300}
package com.example.viewmodelfragments import android.os.Bundle import android.text.Editable import android.text.TextWatcher import androidx.fragment.app.Fragment import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.* import androidx.fragment.app.activityViewM...
0
Kotlin
0
0
5aa4f6d09e681cafe5a566a62f52b7334e0ca86c
3,801
My-Mark-Manager
MIT License
CleanArchitectureAndroid/app/src/main/java/com/example/cleanarchitectureandroid/domain/usecases/MovieDetailUseCase.kt
velmurugan-murugesan
159,637,287
false
null
package com.example.cleanarchitectureandroid.domain.usecases import com.example.cleanarchitectureandroid.data.MovieDetail import com.example.cleanarchitectureandroid.data.MovieDetailRepositoryImpl import javax.inject.Inject class MovieDetailUseCase @Inject constructor(private val movieDetailRepositoryImpl: MovieDetai...
1
Java
1
6
8c2e8b2a0e8f33b5e8c0ea66890756e02577fa54
449
AndriodSamples
Apache License 2.0
app/src/main/java/com/resep/resepmasakan/adapter/IngredientsAdapter.kt
tenriawa861
442,127,751
false
{"Java": 127511, "Kotlin": 44050}
package com.resep.resepmasakan.adapter import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.TextView import androidx.recyclerview.widget.RecyclerView import com.resep.resepmasakan.R import com.resep.resepmasakan.model.ModelIngredients class IngredientsAdapt...
1
null
1
1
f2cecb11249dc468ef42af5208df7ec8ae569e0c
1,148
resep.in
Apache License 2.0
app/src/main/java/com/nickming/kotlinlearning/ui/splash/SplashActivity.kt
nickming
94,009,580
false
{"Gradle": 4, "Java Properties": 2, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Java": 2, "XML": 41, "Kotlin": 29}
package com.nickming.kotlinlearning.ui.splash import android.Manifest import android.content.Intent import android.os.Bundle import android.support.v7.app.AppCompatActivity import com.nickming.kotlinlearning.R import com.nickming.kotlinlearning.base.toast import com.nickming.kotlinlearning.ui.weather.WeatherActivity i...
0
Kotlin
0
4
c5cbac38ebebd6e67094314346d515b567a90c45
1,969
KotlinWeather
MIT License
app/src/main/kotlin/com/ttvnp/ttj_asset_android_client/presentation/ui/presenter/target/SendAmountFormByStellarPresenterTarget.kt
ttvnp
109,772,404
false
null
package com.ttvnp.ttj_asset_android_client.presentation.ui.presenter.target import com.ttvnp.ttj_asset_android_client.domain.model.AssetType interface SendAmountFormByStellarPresenterTarget : BasePresenterTarget { fun navigateToConfirm(assetType: AssetType, amount: Long) fun onValidation(addressError: Int?, ...
5
Kotlin
1
1
3a99c9d5b8362dbc5785c8849b8680405acb6a3a
357
ttj-asset-android-client
Apache License 1.1
lib/core/src/main/kotlin/at/sigmoid/transaction/retry/TransactionRetryHandler.kt
strassl
350,731,832
false
null
package at.sigmoid.transaction.retry import org.slf4j.LoggerFactory import kotlin.math.pow import kotlin.math.roundToLong import kotlin.random.Random class TransactionRetriesExceededException(message: String, cause: Throwable) : RuntimeException(message, cause) private data class TransactionRetryState( val activ...
0
Kotlin
0
0
01de18cdabebaecfedc6019531467d0f87ac9e95
6,078
transaction-retry
MIT License
src/test/kotlin/nl/knaw/huc/di/rd/BenchmarkTest.kt
HuygensING
216,852,499
false
null
package nl.knaw.huc.di.rd import arrow.core.Either import nl.knaw.huc.di.rd.tag.tagml.parser.TAGMLParser.Companion.checkWellFormedness import nl.knaw.huc.di.rd.tag.tagml.tokenizer.LSPToken import nl.knaw.huc.di.rd.tag.tagml.tokenizer.TAGMLTokenizer import nl.knaw.huc.di.rd.tag.util.showErrorLocation import org.assertj...
0
Kotlin
0
2
a072d7b19476b61831a0580ff30bd7537a55bdfc
1,469
tagml-language-server
Apache License 2.0
app/app/src/main/java/com/example/party_lojo_game/utils/messages/InfoLojoToastLength.kt
ajloinformatico
381,492,665
false
null
package com.example.party_lojo_game.utils.messages import android.widget.Toast enum class InfoLojoToastLength(val value: Int) { LENGTH_LONG(value = Toast.LENGTH_LONG), LENGTH_SHORT(value = Toast.LENGTH_SHORT) }
0
Kotlin
0
0
dc0b3f5b64110f2e528020d1851a73031fb25871
221
party-lojo-game
MIT License
src/main/kotlin/com/mg/jfr/JfrParser.kt
mgrzaslewicz
730,873,740
false
{"Kotlin": 25664}
package com.mg.jfr import com.mg.jfr.* import jdk.jfr.consumer.RecordingFile import mu.KLogging import java.io.DataInputStream import java.io.IOException import java.nio.file.Path import kotlin.io.path.inputStream class JfrParser(private val jfrFile: Path, private val listener: JfrEventListener) { private compani...
0
Kotlin
0
0
643ad7eb0a3cfdadd42198964bbdecf41dec5c94
2,643
jfr-filter
Apache License 2.0
plugin-bazel-event-service/src/main/kotlin/bazel/messages/MessageFactoryImpl.kt
JetBrains
143,697,750
false
{"Kotlin": 301052, "Java": 12799, "Gherkin": 2393, "Starlark": 1836, "ANTLR": 1173, "Batchfile": 375, "CSS": 34}
package bazel.messages import bazel.messages.handlers.clean import jetbrains.buildServer.messages.serviceMessages.BlockClosed import jetbrains.buildServer.messages.serviceMessages.BlockOpened import jetbrains.buildServer.messages.serviceMessages.BuildStatus import jetbrains.buildServer.messages.serviceMessages.Servi...
6
Kotlin
7
14
6ff893ae8c3e6a8260568698d28df16b915593a6
1,902
teamcity-bazel-plugin
Apache License 2.0
rain/src/main/java/com/rapidsos/rain/data/profile/PhoneNumber.kt
johndpope
192,260,729
false
{"Kotlin": 351294, "Shell": 212}
package com.rapidsos.rain.data.profile import com.google.gson.annotations.Expose import com.google.gson.annotations.SerializedName import com.rapidsos.rain.data.profile.values.PhoneNumberValue data class PhoneNumber(@SerializedName("value") @Expose var value: List<PhoneNumberValue> = arrayListOf(), ...
0
Kotlin
0
1
465a1dfbe3d3a9d99418e9b23fb0c6e8790c36c6
472
era-android
Apache License 2.0
app/src/main/java/com/uszkaisandor/mvvmnewsapp/features/bookmarks/BookmarksFragment.kt
uszkaisandor
452,427,609
false
null
package com.uszkaisandor.mvvmnewsapp.features.bookmarks import android.content.Intent import android.net.Uri import android.os.Bundle import android.view.Menu import android.view.MenuInflater import android.view.MenuItem import android.view.View import androidx.core.view.isVisible import androidx.fragment.app.Fragment...
0
Kotlin
0
0
ab78e9ca40784c5c2ecc221abe035c2fce93f099
3,300
mealdeas-android
Apache License 2.0
src/app/src/main/java/com/huawei/demo/health/auth/HealthKitCloudLogin.kt
Michael134-bit
356,821,014
true
{"Kotlin": 106384}
/* * Copyright (c) Huawei Technologies Co., Ltd. 2020-2020. All rights reserved. */ package com.huawei.demo.health.auth import android.app.Activity import java.util.function.Consumer import android.content.Context import android.content.Intent import android.os.Bundle import android.util.Log import android.webkit....
0
null
0
0
381787a0de31fb0b87fd9700d9e5f45964649416
6,916
hms-health-demo-kotlin
Apache License 2.0
src/main/kotlin/example/apaddon/goals/ChatGoal.kt
KonoTyran
845,242,361
false
{"Kotlin": 2601, "Java": 1013}
package example.apaddon.goals import com.google.gson.annotations.SerializedName import dev.koifysh.randomizer.ArchipelagoRandomizer import dev.koifysh.randomizer.registries.APGoal import net.fabricmc.fabric.api.message.v1.ServerMessageEvents import net.minecraft.network.chat.ChatType import net.minecraft.network.chat....
0
Kotlin
0
0
ba5e1e328c7762bbdd8eb829fc4ceaf7870d4cba
1,675
chat-goal-example
Creative Commons Zero v1.0 Universal
src/main/kotlin/objects/item/DeferredItemTypeImpl.kt
2xsaiko
123,460,493
false
null
package therealfarfetchd.quacklib.objects.item import net.minecraft.util.ResourceLocation import therealfarfetchd.quacklib.api.core.Unsafe import therealfarfetchd.quacklib.api.core.unsafe import therealfarfetchd.quacklib.api.item.component.ItemComponent import therealfarfetchd.quacklib.api.objects.item.Item import the...
6
Kotlin
2
4
76c9a55f186c699fb4458f2a4a40a483ab3e3ef2
1,625
QuackLib
MIT License
okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt
yhaiqi87
308,867,574
true
null
/* * Copyright (C) 2019 Square, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
7
null
0
1
fea8fbba5fd9eadf3f88b91c1479290a60e6d462
8,023
okhttp
Apache License 2.0
billMan/src/main/kotlin/com/weesnerdevelopment/billman/bill/occurrence/BillOccurrenceRouter.kt
adamWeesner
239,233,558
false
null
package com.weesnerdevelopment.billman.bill.occurrence import io.ktor.server.routing.* interface BillOccurrenceRouter { fun setup(routing: Routing) }
2
Kotlin
1
1
bfb3161173d75ea43acd990e9a024210cd1b87e7
155
weesnerDevelopment
MIT License
compiler/testData/diagnostics/tests/traitWithRequired/manyRequirementsDisallowed.kt
chashnikov
14,658,474
false
null
open class A open class B trait C : A, <!MANY_CLASSES_IN_SUPERTYPE_LIST!>B<!>
0
null
0
1
88a261234860ff0014e3c2dd8e64072c685d442d
79
kotlin
Apache License 2.0
api/src/main/kotlin/com/seedcompany/cordtables/components/tables/common/org_chart_position_graph/CreateRead.kt
CordField
409,237,733
false
null
package com.seedcompany.cordtables.components.tables.common.org_chart_position_graph import com.seedcompany.cordtables.common.ErrorType import com.seedcompany.cordtables.common.Utility import com.seedcompany.cordtables.components.tables.common.org_chart_position_graph.* import com.seedcompany.cordtables.components.tab...
93
Kotlin
1
3
7e5588a8b3274917f9a5df2ffa12d27db23fb909
2,475
cordtables
MIT License
src/test/kotlin/com/cillu/mediator/commands/config/wrongconstructor/CreateCommandHandler.kt
thecillu
520,490,197
false
null
package com.cillu.mediator.commands.config.wrongconstructor import com.cillu.mediator.Item import com.cillu.mediator.annotations.CommandHandler import com.cillu.mediator.annotations.Inject import com.cillu.mediator.commands.ICommandHandler import com.cillu.mediator.commands.domain.CreateCommand2 import com.cillu.media...
5
Kotlin
0
0
f41327a9b6611573230a98fbee7bbd3a05192ed6
688
mediatork
MIT License
app/src/main/java/com/example/bike/riders/di/scope/PerApplication.kt
MuhammadHamzaVD
344,044,600
false
null
package com.example.bike.riders.di.scope import javax.inject.Qualifier @Qualifier @Retention(AnnotationRetention.RUNTIME) annotation class PerApplication
0
Kotlin
0
0
260655b120c309ae483e82b9a2b7b8adeb1a23a7
155
bikerider
MIT License
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/bulk/Profiledelete.kt
Tlaster
560,394,734
false
{"Kotlin": 25133302}
package moe.tlaster.icons.vuesax.vuesaxicons.bulk import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap import androidx.co...
0
Kotlin
0
2
b8a8231e6637c2008f675ae76a3423b82ee53950
4,370
VuesaxIcons
MIT License
test-utils/src/main/java/org/p2p/wallet/utils/MutableListQueue.kt
p2p-org
306,035,988
false
{"Kotlin": 4545395, "HTML": 3064848, "Java": 296567, "Groovy": 1601, "Shell": 1252}
package org.p2p.wallet.utils /** * MutableListQueue as type alias of Mutable List */ typealias MutableListQueue<T> = MutableList<T> /** * Pushes item to [MutableListQueue] * @param item Item to be pushed */ fun <T> MutableListQueue<T>.push(item: T) = add(item) /** * Pops (removes and return) first item from [M...
8
Kotlin
18
34
d091e18b7d88c936b7c6c627f4fec96bcf4a0356
1,048
key-app-android
MIT License
src/main/kotlin/us/whodag/acquire/obj/tile/TileId.kt
Odoh
111,036,546
false
null
package us.whodag.acquire.obj.tile /** * Unique identifier for Tiles. * * @property name the name of the tile ("1-A") */ data class TileId(val name: String): Comparable<TileId> { constructor(number: String, letter: String) : this("$number-$letter") override fun compareTo(other: TileId): Int { val ...
0
Kotlin
0
2
4be3b11c1141e2e9d28135c203531c75eafdd2f0
809
acquire
MIT License
app/src/main/java/cn/wthee/pcrtool/data/db/repository/EventRepository.kt
wthee
277,015,110
false
{"Kotlin": 1656782}
package cn.wthee.pcrtool.data.db.repository import cn.wthee.pcrtool.data.db.dao.EventDao import cn.wthee.pcrtool.utils.LogReportUtil import cn.wthee.pcrtool.utils.compareAllTypeEvent import javax.inject.Inject /** * 剧情活动 Repository * * @param eventDao */ class EventRepository @Inject constructor(private val event...
1
Kotlin
5
90
c60547933372fbbc595da93c7b0ea30319bbf124
2,774
pcr-tool
Apache License 2.0
application/src/main/kotlin/dev/hypest/pis/payments/domain/ordertopay/PayOrderHandler.kt
PIS22Z
557,250,063
false
{"Kotlin": 118874, "Groovy": 79090, "Dockerfile": 145}
package dev.hypest.pis.payments.domain.ordertopay import jakarta.inject.Singleton import java.util.UUID interface PayOrderHandler { fun pay(command: PayOrderCommand): UUID } @Singleton class PayOrderHandlerImpl( private val orderToPayRepository: OrderToPayRepository ) : PayOrderHandler { override fun pa...
0
Kotlin
0
0
a5eab87108f49a6355362682b94b7c49d5dd421b
631
backend
MIT License
app/src/main/java/io/github/omisie11/coronatracker/data/remote/model/CountriesRemote.kt
OMIsie11
248,815,717
false
null
package io.github.omisie11.coronatracker.data.remote.model import com.squareup.moshi.Json import com.squareup.moshi.JsonClass @JsonClass(generateAdapter = true) data class CountriesRemote( @Json(name = "countries") val countries: List<CountryRemote> )
0
Kotlin
8
20
d3054dfb3bce52e4a3c33667aed2e837818a283b
258
CovidNow
Apache License 2.0
dd-sdk-android/src/test/kotlin/com/datadog/android/core/internal/persistence/file/single/SingleItemDataWriterTest.kt
roy-m-organ
372,127,056
true
{"Kotlin": 3161847, "Java": 218303, "C": 78947, "Shell": 56287, "C++": 27621, "Python": 4516, "CMake": 2042}
/* * Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0. * This product includes software developed at Datadog (https://www.datadoghq.com/). * Copyright 2016-Present Datadog, Inc. */ package com.datadog.android.core.internal.persistence.file.single im...
0
null
0
1
1f5132637da21d6ae24ec8a5516d362ff4940c3c
3,960
dd-sdk-android
Apache License 2.0
vscode/src/jsMain/kotlin/vscode/IDisposable.kt
lppedd
761,812,661
false
{"Kotlin": 1844789}
@file:Suppress("WRONG_EXTERNAL_DECLARATION") package vscode /** * Represents a type which can release resources, such * as event listening or a timer. */ external fun interface IDisposable { /** * Dispose this object. */ fun dispose(): Any? }
0
Kotlin
0
2
1111ef252b1414eeb7448b944481965c65c83c40
258
kotlin-externals
MIT License
dagger/src/main/java/com/kodyuzz/daggerproject/di/component/ApplicationComponent.kt
mustafaatush
274,828,691
false
null
package com.kodyuzz.daggerproject.di.component import com.kodyuzz.daggerproject.MyApplication import com.kodyuzz.daggerproject.di.module.ApplicationModule import com.kodyuzz.daggerproject.model.DatabaseService import com.kodyuzz.daggerproject.model.NetworkService import com.kodyuzz.daggerproject.util.NetworkHelper imp...
0
Kotlin
0
0
a946972fe26c3ed8bb2abc69be6a72af976320c1
650
kodyuzz
Apache License 2.0
reaktor-android-koin/src/test/kotlin/at/florianschuster/reaktor/android/koin/AndroidKoinReactorTest.kt
floschu
175,684,147
false
null
package at.florianschuster.reaktor.android.koin import at.florianschuster.reaktor.android.ViewModelReactor import org.junit.Before import org.junit.Test import org.koin.core.context.startKoin import org.koin.core.get import org.koin.core.module.Module import org.koin.dsl.module import org.koin.test.AutoCloseKoinTest ...
2
null
2
16
756b754bd2d9b04590fd112845c7454d0d94bd0e
722
Reaktor
Apache License 2.0
core/sharedui/src/commonMain/kotlin/dev/koga/deeplinklauncher/folder/AddFolderBottomSheet.kt
FelipeKoga
741,211,763
false
{"Kotlin": 225170, "Swift": 342}
package dev.koga.deeplinklauncher import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.defaultMinSize import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.height import androidx.compose.fo...
0
Kotlin
0
5
73199e8464acfb090107fd66a717582a8a9c3f25
2,583
deeplink-launcher
Apache License 2.0
app/src/main/java/io/github/vladimirmi/internetradioplayer/data/net/UberStationsService.kt
VladimirMi
132,266,318
false
null
package io.github.vladimirmi.internetradioplayer.data.net import io.github.vladimirmi.internetradioplayer.data.net.ubermodel.StationIdSearch import io.github.vladimirmi.internetradioplayer.data.net.ubermodel.StationsSearch import io.github.vladimirmi.internetradioplayer.data.net.ubermodel.SuggestionsSearch import io.g...
2
Kotlin
6
11
3bca269876825dd3c20067ed4b9887fbd1589fa0
1,483
InternetRadioPlayer
MIT License
mobile/src/main/java/br/com/helpdev/velocimetroalerta/dialogs/DialogHR.kt
helpdeveloper
72,458,937
false
{"Kotlin": 103294, "Java": 14234}
package br.com.helpdev.velocimetroalerta.dialogs import android.app.AlertDialog import android.bluetooth.BluetoothAdapter import android.bluetooth.BluetoothDevice import android.content.Context import android.content.DialogInterface import android.preference.DialogPreference import android.util.AttributeSet import and...
0
Kotlin
3
1
99feeee1ff53b44c7446e1b60f685fc575479773
3,578
VelocimetroAlerta
Apache License 2.0
app/src/main/java/io/aayush/relabs/ui/screens/more/MoreScreen.kt
theimpulson
679,298,392
false
{"Kotlin": 134233}
package io.aayush.relabs.ui.screens.more import android.net.Uri import android.util.Log import androidx.browser.customtabs.CustomTabsIntent import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.fillMaxSize import androidx.compos...
0
Kotlin
2
51
859502d8d7d13a8deac15d77bd0808e17f7188db
3,136
ReLabs
Apache License 2.0
src/test/kotlin/io/getunleash/UnleashContextTest.kt
Unleash
369,129,274
false
{"Kotlin": 102938}
package io.getunleash import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test import java.util.UUID class UnleashContextTest { @Test fun `can build context with builder`() { val ctx = UnleashContext.newBuilder().appName("my-app").addProperty("somekey", "somevalue") ...
7
Kotlin
14
7
5e96dd06cfddaabaa9fa1308cec98e577c4622be
2,736
unleash-android-proxy-sdk
Apache License 2.0
modules/meta/arrow-meta-prototype/compiler-plugin/src/main/kotlin/arrow/meta/MetaCommandLineProcessor.kt
rybalkinsd
265,091,421
true
{"Kotlin": 2664254, "CSS": 152663, "JavaScript": 67900, "HTML": 23177, "Scala": 8150, "Java": 4465, "Shell": 3043, "Ruby": 1598}
package arrow.meta import org.jetbrains.kotlin.compiler.plugin.CliOption import org.jetbrains.kotlin.compiler.plugin.CommandLineProcessor class MetaCommandLineProcessor : CommandLineProcessor { override val pluginId: String = "arrow.meta.plugin.compiler" override val pluginOptions: Collection<CliOption> = empty...
0
null
0
0
92199c03b14b0c7488fd844e1845b7ca93079a18
330
arrow-meta
Apache License 2.0
payments-ui-core/src/main/java/com/stripe/android/ui/core/elements/SaveForFutureUseElement.kt
stripe
6,926,049
false
null
package com.stripe.android.ui.core.elements import androidx.annotation.RestrictTo import com.stripe.android.ui.core.forms.FormFieldEntry import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.map /** * This is an element that will make elements (as specified by identifier) hidden * when "save for future...
64
Kotlin
619
935
bec4fc5f45b5401a98a310f7ebe5d383693936ea
787
stripe-android
MIT License
rounded/src/commonMain/kotlin/me/localx/icons/rounded/bold/LariSign.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.rounded.bold import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter im...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
3,470
icons
MIT License
app/src/main/java/com/animsh/appita/models/CaloricBreakdown.kt
animsh
340,045,597
false
null
package com.animsh.appita.models import android.os.Parcelable import com.google.gson.annotations.SerializedName import kotlinx.parcelize.Parcelize @Parcelize data class CaloricBreakdown( @SerializedName("percentCarbs") val percentCarbs: Double?, @SerializedName("percentFat") val percentFat: Double?, ...
0
null
0
3
ad44196d69a9b4fb8ccd4d2eb51f9a29b34b1ad8
404
Appita
Apache License 2.0
app/src/main/java/com/tugrulbo/mvvmnewsapp/ui/activity/MainActivity.kt
tugrulbo
515,014,744
false
{"Kotlin": 33958}
package com.tugrulbo.mvvmnewsapp.ui.activity import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import androidx.activity.viewModels import androidx.lifecycle.ViewModelProvider import androidx.navigation.findNavController import androidx.navigation.fragment.NavHostFragment import androidx.navigati...
0
Kotlin
0
1
26620f1c07d2d6f21a04715a62112bf098319e86
1,531
NewsApp
MIT License
app/src/main/java/com/javalon/xpensewhiz/domain/repository/DatastoreRepository.kt
ezechuka
472,029,227
false
{"Kotlin": 333980}
package com.business.money_minder.domain.repository import kotlinx.coroutines.flow.Flow interface DatastoreRepository { suspend fun writeOnboardingKeyToDataStore(completed: Boolean) suspend fun readOnboardingKeyFromDataStore(): Flow<Boolean> suspend fun writeCurrencyToDataStore(currency: String) su...
1
Kotlin
5
52
7876f00908cca4f8444ab8b4460f1e7edb4cfa1a
775
xpense-whiz
MIT License
DatePick/app/src/main/java/com/sun/toy/datepick/AdapterEvent.kt
hnhariat
95,398,020
false
null
package com.sun.toy.datepick import android.support.v7.widget.RecyclerView import android.text.format.DateFormat import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.TextView import com.sun.toy.datepick.base.OnClickDeliverer import java.util.* import kotlin.co...
1
null
1
1
4389b5a10024d424c446ddbdc5ff7c5db2bc18c9
2,125
DatePick
Apache License 2.0
teacher/app/src/androidTest/java/com/instructure/teacher/ui/pages/SpeedGraderCommentsPage.kt
XinicsInc
123,872,784
true
{"Markdown": 5, "INI": 18, "Shell": 27, "Proguard": 16, "Gradle": 54, "Ignore List": 38, "Java": 1391, "XML": 1946, "Gradle Kotlin DSL": 2, "Kotlin": 965, "Ruby": 19, "Protocol Buffer": 14, "JSON": 7, "GraphQL": 1, "Text": 12, "Batchfile": 2, "Java Properties": 11, "HTML": 7, "Python": 1, "YAML": 3, "CSS": 1, "Ant Buil...
/* * Copyright (C) 2017 - present Instructure, 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 requ...
0
Java
0
1
70b0cd08042e05293fc78478f90c3608a31831e1
2,789
instructure-android
Apache License 2.0
app/src/main/java/com/singularity_code/singularitycodebase/ui/activity/providerdemo/ProviderDemoViewModel.kt
SingularityIndonesia
659,777,906
false
null
package com.singularity_code.singularitycodebase.ui.activity.providerdemo import androidx.lifecycle.ViewModel import com.singularity_code.codebase.util.flow.collect import com.singularity_code.codebase.util.flow.lazyFunction import com.singularity_code.codebase.util.flow.provider import com.singularity_code.singularit...
0
Kotlin
0
3
38e73034980d0a864b910fd37d57615386e822e2
2,216
AndroidCodebase
MIT License
app/src/main/java/com/shlomikatriel/expensesmanager/preferences/components/SwitchPreference.kt
shlomikatriel
286,574,650
false
null
package com.shlomikatriel.expensesmanager.preferences.components import androidx.annotation.StringRes import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.* import androidx.compose.material3.MaterialTheme import androidx.compose.material3.Switch import androidx.compose.material3.Text ...
3
Kotlin
0
0
011caec46214aa05d69ea79f3a8d2954296c6890
2,235
BucksBunny
Apache License 2.0
graphql-kotlin-federation/src/test/kotlin/com/expediagroup/graphql/federation/validation/integration/FederatedRequiresDirectiveIT.kt
babyfish-ct
247,506,424
false
null
/* * Copyright 2022 Expedia, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
24
null
273
2
270c0b147753fc5c624de3601e3c064fc8d23946
6,306
graphql-kotlin
Apache License 2.0
build-logic/convention/src/main/kotlin/rt/convention/ecosystem/ext/AndroidComposeExt.kt
queencodemonkey
840,896,614
false
{"Kotlin": 195780}
/* * MIT License * * Copyright (c) 2024 Randomly Typing * * 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, ...
0
Kotlin
0
1
1ad60898776b6bfa8a92bfaa59199ac0c3e741ff
2,657
creating-custom-compose-layouts
MIT License
app/src/main/java/website/grahamearley/placefinder/model/Category.kt
grahamearley
116,883,200
false
null
package website.grahamearley.placefinder.model import android.annotation.SuppressLint import android.os.Parcelable import kotlinx.android.parcel.Parcelize @SuppressLint("ParcelCreator") @Parcelize data class Category( val id: String? = null, val name: String? = null, val pluralName: String? = null, val shortN...
2
Kotlin
0
2
b59a9f8571ae6c8f2a65fa6ff5d85bd2edb5aa31
379
Place-Finder
MIT License
core/src/main/kotlin/gropius/service/user/AvatarGenerationService.kt
ccims
487,996,394
false
{"Kotlin": 1068191, "TypeScript": 458057, "MDX": 61340, "JavaScript": 27194, "HTML": 19890, "CSS": 4796, "Shell": 2363}
package gropius.service.user import org.springframework.stereotype.Service import java.util.* import kotlin.math.abs import kotlin.math.max import kotlin.math.pow private const val SIZE = 36 /** * Service to generate avatars for users * Based upon https://github.com/boringdesigners/boring-avatars */ @Service cla...
7
Kotlin
1
0
02d52ff1076b4d3c75e2000e1c5d0b24daf5f719
7,733
gropius-backend
MIT License
app/src/test/java/com/rstit/connector/ui/main/MainViewModelTest.kt
rstgroup
113,022,246
false
null
package com.rstit.connector.ui.main import com.rstit.connector.BaseTest import com.rstit.connector.di.base.DaggerTestAppComponent import com.rstit.connector.di.main.TestMainModule import com.rstit.connector.model.user.UserRole import com.rstit.connector.ui.base.RowViewModel import io.reactivex.Observable import org.ha...
0
Kotlin
0
0
4385ffd936f56a53aa1db9a83da4c9f3c3488fc9
3,725
rst-connector
Apache License 2.0
compiler/testData/diagnostics/tests/sealed/TreeWhenFunctional.fir.kt
JetBrains
3,432,266
false
null
sealed class Tree { object Empty: Tree() class Leaf(val x: Int): Tree() class Node(val left: Tree, val right: Tree): Tree() fun max(): Int = when(this) { is Empty -> -1 is Leaf -> this.x is Node -> this.left.max() } }
181
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
265
kotlin
Apache License 2.0