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
common/src/androidTest/java/com/ryankoech/krypto/common/presentation/util/UtilsTest.kt
RyanKoech
557,763,586
false
{"Kotlin": 333059, "Shell": 283, "Batchfile": 281}
package com.ryankoech.krypto.common.presentation.util import android.content.Context import androidx.test.platform.app.InstrumentationRegistry import com.google.common.truth.Truth.assertThat import org.junit.After import org.junit.Before import org.junit.Test class UtilsTest { private lateinit var appContext : C...
14
Kotlin
4
8
7674da6abd9bb9c8c9d3907a4eef61e164dd51e9
2,992
android-krypto
MIT License
bio_auth_service/src/main/kotlin/db/daos/FingerprintTemplateDao.kt
kiva
274,506,511
false
null
package org.kiva.bioauthservice.db.daos import com.machinezoo.sourceafis.FingerprintTemplate import org.jdbi.v3.core.mapper.reflect.ColumnName import org.kiva.bioauthservice.fingerprint.enums.FingerPosition import java.time.ZonedDateTime data class FingerprintTemplateDao( val id: Int, val did: String, @Co...
9
Kotlin
1
1
fd7b7230e217d7d7ea18b87d0b05c509927024d2
817
guardian-bio-auth
Apache License 2.0
samples/android-compose/src/main/java/dev/androidbroadcast/navstate/sample/android/Pong.kt
androidbroadcast
805,457,712
false
{"Kotlin": 37443}
package dev.androidbroadcast.navstate.sample.android import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.height import androidx.com...
8
Kotlin
0
6
1297c0a86bb3abaf6191c0c83ac280595ecfa322
1,521
NavState
Apache License 2.0
library/core/src/commonMain/kotlin/com/attafitamim/kabin/core/table/KabinTable.kt
tamimattafi
702,197,843
false
{"Kotlin": 340835}
package com.attafitamim.kabin.core.table import app.cash.sqldelight.db.SqlDriver interface KabinTable { suspend fun create(driver: SqlDriver) suspend fun drop(driver: SqlDriver) suspend fun clear(driver: SqlDriver) }
0
Kotlin
3
50
58a0bbe438f027eb0e3dc99d1cdb64149d487b6b
231
kabin
Apache License 2.0
src/CoopSyncMain/kotlin/guest/JsonProcessor.kt
aacoakley
370,815,827
false
null
package guest import util.Json.json import data.SaveFile import extensions.infoln import extensions.writeAllText import kotlinx.serialization.encodeToString import kotlinx.serialization.json.* import util.readSave class JsonProcessor { fun syncSaves(originalSave: SaveFile, preSessionSave: SaveFile, postSessionSav...
0
Kotlin
0
1
94ca4eb72e051a0648d9e4971375ac906649fb93
5,913
snowrunner-coop-sync
MIT License
app/src/main/java/com/example/fitnessapp/ExerciseAdapter.kt
Vanshpanchal
729,133,041
false
{"Kotlin": 175948}
package com.example.fitnessapp import android.graphics.ColorSpace.Model import android.view.LayoutInflater import android.view.ViewGroup import androidx.core.content.ContextCompat import androidx.recyclerview.widget.RecyclerView import com.example.fitnessapp.databinding.ExerciseStatusBinding class ExerciseAdapter(val...
0
Kotlin
0
1
74120ad3e850a394499def10e38c4610e8e4b98d
1,840
Active-Track
MIT License
elaichi/android/app/src/main/kotlin/org/dscnitrourkela/elaichi/api/data/Address.kt
Chinmay-KB
329,033,278
true
{"Dart": 190892, "Kotlin": 87210, "Swift": 404, "Objective-C": 37}
package org.dscnitrourkela.elaichi.api.data import com.google.gson.annotations.SerializedName data class Address( @SerializedName("a") val email: String, @SerializedName("d") val firstName: String, @SerializedName("p") val name: String, @SerializedName("t") val isReceiver: Boolean, ) { constructor...
0
Dart
0
0
62155984fe02b942b127a0c40d896e8112a1092c
499
project-elaichi
MIT License
app/src/main/java/com/fmt/github/ext/ViewModelProviderEx.kt
iptton
222,383,129
true
{"Kotlin": 71902, "Java": 32440}
package com.fmt.github.ext import androidx.appcompat.app.AppCompatActivity import androidx.lifecycle.ViewModel import androidx.lifecycle.ViewModelProvider import com.fmt.github.mApplication //获取ViewModel fun <VM : ViewModel> of(activity: AppCompatActivity, modelClass: Class<VM>): VM { val viewModelFactory = ViewM...
0
null
0
0
55cdf2517feef1f631bdcebe53e37a735dc3a512
491
OpenGitHub
MIT License
feature/pokemons/src/main/java/cardosofgui/android/pokedexcompose/feature/pokemons/ui/all/AllPokemonsList.kt
CardosofGui
609,740,815
false
null
package cardosofgui.android.pokedexcompose.feature.pokemons.ui.all import androidx.compose.animation.AnimatedVisibility import androidx.compose.animation.shrinkHorizontally import androidx.compose.animation.slideInHorizontally import androidx.compose.animation.slideOutHorizontally import androidx.compose.foundation.ba...
0
Kotlin
0
1
67c081c7e0ba18bbb06dd736ffb41699defa3836
4,853
pokedex-app-compose
MIT License
app/src/main/java/org/stepic/droid/di/course_list/CourseListModule.kt
hkh412
96,096,662
true
{"Java Properties": 2, "Gradle": 4, "Shell": 2, "Text": 19, "Markdown": 1, "Git Attributes": 1, "Batchfile": 1, "Ignore List": 3, "Proguard": 2, "XML": 219, "Java": 313, "Kotlin": 371, "CSS": 1, "JavaScript": 142}
package org.stepic.droid.di.course_list import dagger.Binds import dagger.Module import org.stepic.droid.util.resolvers.SearchResolver import org.stepic.droid.util.resolvers.SearchResolverImpl @Module interface CourseListModule { @CourseListScope @Binds fun provideSearchResolver(searchResolver: SearchRes...
0
Java
0
0
8dc965cbd975bf2ec64220acc78930c5a6b9a7e8
349
stepik-android
Apache License 2.0
domain/src/main/java/br/ufs/hiring/stone/domain/Saving.kt
ubiratansoares
114,146,491
false
null
package br.ufs.hiring.stone.domain /** * * Created by @ubiratanfsoares * */ data class Saving(val currency: Currency, val amount: Float)
0
Kotlin
1
17
6f008f29d31a7a83e49ad157511b77ea970d0c7d
143
kryptokarteira-mobile
MIT License
aniext/src/main/java/net/owlfamily/android/aniext/core/SequenceValueAnimatorSet.kt
j-yun
264,430,396
false
null
package net.owlfamily.android.aniext.core import android.animation.ValueAnimator import java.util.* /** * Created by jyun */ @Suppress("ConvertSecondaryConstructorToPrimary") class SequenceValueAnimatorSet : ValueAnimatorSet { companion object { private val LOG_TAG = SequenceValueAnimatorSet::class.java...
0
Kotlin
0
0
288b79306f34ead2d91a2a02ecf88f39ff8cabd7
4,010
android-animation-ext
Apache License 2.0
idea/idea-completion/testData/handlers/ClassCompletionInImport.kt
JakeWharton
99,388,807
false
null
import java.util.T<caret>
0
null
28
83
4383335168338df9bbbe2a63cb213a68d0858104
26
kotlin
Apache License 2.0
analytics/src/main/java/com/wordpress/anujsaxenadev/analytics/helpers/AnalyticsHelper.kt
anujsaxenadev
715,621,535
false
{"Kotlin": 50772, "HTML": 489, "JavaScript": 225, "CSS": 90}
package com.wordpress.anujsaxenadev.analytics.helpers internal interface AnalyticsHelper { /** * Logging Any Type of Exceptions */ fun log(exception: Throwable) }
0
Kotlin
0
0
ca08006644fbf64fcb709f02ffb9d2d4e42678b1
181
GoogleMaps
MIT License
vector/src/main/java/im/vector/app/ext/registration/list/SelectLabTestAdapter.kt
huy22091999
542,926,323
false
{"Kotlin": 9903484, "Java": 166049, "HTML": 24691, "Shell": 23527, "Python": 17848, "FreeMarker": 7722, "JavaScript": 1782}
package im.vector.app.ext.registration.list import android.annotation.SuppressLint import android.content.Context import android.content.res.ColorStateList import android.graphics.Color import android.os.Build import android.text.Html import android.text.SpannableString import android.text.Spanned import android.text....
0
Kotlin
0
0
9255297220ad63fef367b2c8b1a1065ad5241c92
5,467
edoctor_OCT
Apache License 2.0
api/src/main/kotlin/br/com/govote/android/api/graphapi/dtos/FacebookAlbum.kt
govote
126,850,173
false
{"Gemfile.lock": 1, "Git Config": 1, "Gradle": 17, "Ignore List": 9, "Markdown": 3, "Dockerfile": 1, "YAML": 2, "Java Properties": 2, "Shell": 2, "Text": 6, "Batchfile": 1, "EditorConfig": 1, "Makefile": 1, "Ruby": 2, "Proguard": 6, "XML": 49, "Kotlin": 120, "Gradle Kotlin DSL": 1, "Java": 7, "Python": 2}
package br.com.govote.android.api.graphapi.dtos class FacebookAlbum { val data: List<FacebookAlbumData>? = null }
3
Kotlin
0
0
3a2856ba38b2e62b736fd19497a4500288088e1b
117
govote.android
Apache License 2.0
feature/auth/src/main/java/com/lighthouse/auth/fragment/BasicInfoFragment.kt
soma-lighthouse
658,620,687
false
{"Kotlin": 442318}
package com.lighthouse.auth.fragment import android.net.Uri import android.os.Bundle import android.util.Log import android.view.View import android.widget.ArrayAdapter import androidx.fragment.app.activityViewModels import androidx.lifecycle.Lifecycle import androidx.lifecycle.lifecycleScope import androidx.lifecycle...
0
Kotlin
0
0
2109f0e2f50e4502c2778bc2a831272785eaf7a7
7,882
FE-lingo-talk
Apache License 2.0
alligator/src/main/java/me/aartikov/alligator/navigators/ActivityNavigator.kt
aartikov
82,198,753
false
{"Gradle": 12, "Java Properties": 2, "YAML": 1, "Shell": 1, "Text": 1, "Ignore List": 11, "Batchfile": 1, "Markdown": 1, "Proguard": 9, "Java": 101, "XML": 116, "Kotlin": 79}
package me.aartikov.alligator.navigators import me.aartikov.alligator.Screen import me.aartikov.alligator.ScreenResult import me.aartikov.alligator.animations.AnimationData import me.aartikov.alligator.destinations.ActivityDestination import me.aartikov.alligator.exceptions.NavigationException interface ActivityNavig...
3
Java
18
298
1081210a0bd69cdd7ddd021e47cbe4b3586adde8
1,191
Alligator
MIT License
app/src/main/java/com/example/androiddevchallenge/MainActivity.kt
CoreFloDev
345,224,990
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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
0
Kotlin
0
0
3f604e8d3ac6d4fa4e8d65454f74cb01a14b49b9
5,808
timer
Apache License 2.0
src/main/kotlin/com/diogobotas/veganinfo/service/ProductService.kt
DiogoAndreBotas
410,622,351
false
{"Kotlin": 6007, "Dockerfile": 382}
package com.diogobotas.veganinfo.service import com.diogobotas.veganinfo.model.Product import com.diogobotas.veganinfo.repository.ProductRepository import org.springframework.stereotype.Service import reactor.core.publisher.Mono @Service class ProductService ( val productRepository: ProductRepository ) { fun...
0
Kotlin
0
0
37c4bab9ffd857b83988f956dda0760783900dcc
428
vegan-info
MIT License
src/main/kotlin/org/amfibot/discord/bot/command/CommandStatus.kt
AMFi-Bot
524,381,726
false
null
package org.amfibot.discord.bot.command /** * Defines the statuses that a command may return */ enum class CommandStatus(val statusCode: Int) { OK(0), FAIL(-1) }
1
Kotlin
0
0
b6a8f5dca39f48fee519f6149c0d8163226140ee
172
discordBot
Apache License 2.0
app/src/main/java/com/isao/yfoo2/domain/usecase/DeleteLikedImageUseCase.kt
IhorPakharenko
636,603,355
false
null
package com.isao.yfoo2.domain.usecase import com.isao.yfoo2.core.extensions.resultOf import com.isao.yfoo2.domain.repository.LikedImageRepository import javax.inject.Inject class DeleteLikedImageUseCase @Inject constructor( private val likedImageRepository: LikedImageRepository ) { suspend operator fun invoke...
0
Kotlin
0
0
625f0efaf4e2d785a2d4ab508c6bf19d2ee87cae
441
Yfoo2
MIT License
src/main/kotlin/no/nav/syfo/kuhrsar/KuhrSarApi.kt
navikt
523,302,442
false
null
package no.nav.syfo.kuhrsar import io.ktor.http.HttpStatusCode import io.ktor.server.application.call import io.ktor.server.response.respond import io.ktor.server.routing.Route import io.ktor.server.routing.get import io.ktor.utils.io.errors.IOException import no.nav.syfo.log fun Route.registerKuhrSarApi(kuhrSarClien...
0
Kotlin
0
0
55a2116567d0c8d4d0145e020a8187937f3f5a74
1,337
smgcp-proxy
MIT License
app/src/test/java/com/theapache64/nemo/feature/productdetail/ProductDetailActivityTest.kt
theapache64
280,432,817
false
null
package com.theapache64.nemo.feature.productdetail import androidx.test.core.app.ActivityScenario import androidx.test.espresso.intent.Intents import androidx.test.espresso.intent.Intents.intended import androidx.test.espresso.intent.matcher.IntentMatchers.hasComponent import androidx.test.ext.junit.runners.AndroidJUn...
7
Kotlin
6
25
0fd14ec3ba3e240f66fe2462ea0541608b69d9d2
8,473
nemo
Apache License 2.0
app/src/main/java/br/com/alura/orgs/preferences/UsuarioPreferences.kt
FerreirinhaJean
575,206,612
false
null
package br.com.alura.orgs.preferences import android.content.Context import androidx.datastore.core.DataStore import androidx.datastore.preferences.core.Preferences import androidx.datastore.preferences.core.intPreferencesKey import androidx.datastore.preferences.core.stringPreferencesKey import androidx.datastore.pre...
0
Kotlin
0
0
667ed1e52f70420ae0d45bea939bcf82c7acd967
514
app-orgs-room-migrate
MIT License
backend/projectionservice/src/main/kotlin/com/example/nftmarketplace/projectionservice/listeners/NFTCreatedEventListener.kt
majoseek
653,294,615
false
{"Kotlin": 135268, "TypeScript": 78988, "Solidity": 23873, "Dockerfile": 1736, "HTML": 434, "CSS": 140, "JavaScript": 95}
package com.example.nftmarketplace.projectionservice.listeners import com.example.nftmarketplace.common.events.nft.NFTCreatedEvent import com.example.nftmarketplace.common.getLogger import com.example.nftmarketplace.events.RabbitQueueConfiguration import com.example.nftmarketplace.projectionservice.db.DbAuctionProject...
0
Kotlin
0
1
e3f2e7de44871ce3adbe2ead5759a802b3a74d38
1,246
NFT-Marketplace
MIT License
app/src/main/java/id/android/basics/compose/ui/components/ComposerTopAppBar.kt
budioktaviyan
565,297,433
false
null
package id.android.basics.compose.ui.components import androidx.compose.animation.animateColorAsState import androidx.compose.animation.animateContentSize import androidx.compose.animation.core.LinearEasing import androidx.compose.animation.core.tween import androidx.compose.foundation.interaction.MutableInteractionSo...
0
Kotlin
0
1
fd9c6e3f64a99eb74abc498665bbe54ea6204d48
3,549
compose-basics
MIT License
ShadhinMusicLibrary/src/main/java/com/myrobi/shadhinmusiclibrary/fragments/create_playlist/CreatePlaylistViewModelFactory.kt
shadhin-music
589,150,241
false
null
package com.myrobi.shadhinmusiclibrary.fragments.create_playlist import androidx.lifecycle.ViewModel import androidx.lifecycle.ViewModelProvider import com.myrobi.shadhinmusiclibrary.data.repository.ArtistBannerContentRepository import com.myrobi.shadhinmusiclibrary.data.repository.CreatePlaylistRepository internal ...
0
Kotlin
0
0
99e11cc3a68fd68607401fca71e32003b638025c
599
MyRobiShadhinSDK
MIT License
telegram-bot/src/commonMain/kotlin/eu/vendeli/tgbot/types/forum/ForumTopicReopened.kt
vendelieu
496,567,172
false
{"Kotlin": 1040778, "Python": 12809, "Shell": 1249, "CSS": 356}
package eu.vendeli.tgbot.types.forum import kotlinx.serialization.Serializable /** * This object represents a service message about a forum topic reopened in the chat. Currently, holds no information. */ @Serializable data object ForumTopicReopened
2
Kotlin
14
176
41d50ea8fd014cb31b61eb5c2f4a4bebf4736b45
253
telegram-bot
Apache License 2.0
security/src/main/kotlin/top/bettercode/summer/security/repository/RedisStoreTokenRepository.kt
top-bettercode
387,652,015
false
{"Kotlin": 2939064, "Java": 24119, "JavaScript": 22541, "CSS": 22336, "HTML": 15833}
package top.bettercode.summer.security.repository import org.slf4j.LoggerFactory import org.springframework.data.redis.connection.RedisConnection import org.springframework.data.redis.connection.RedisConnectionFactory import org.springframework.data.redis.connection.RedisPipelineException import org.springframework.ut...
0
Kotlin
0
1
d07ed7250e6dcdbcce51f27f5f22602e9c222b3c
8,698
summer
Apache License 2.0
sample/src/main/java/com/facebook/samples/litho/kotlin/errors/KIncorrectErrorHandlingComponent.kt
facebook
80,179,724
false
null
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * 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 appl...
88
null
765
7,703
8bde23649ae0b1c594b9bdfcb4668feb7d8a80c0
1,363
litho
Apache License 2.0
scripts/Day18.kts
matthewm101
573,325,687
false
{"Kotlin": 63435}
import java.io.File data class Cube(val x: Int, val y: Int, val z: Int) { operator fun plus(c: Cube) = Cube(x+c.x,y+c.y,z+c.z) fun neighbors() = listOf(Cube(1,0,0),Cube(-1,0,0),Cube(0,1,0),Cube(0,-1,0),Cube(0,0,1),Cube(0,0,-1)).map { this + it } } val droplet = File("../inputs/18.txt").readLines().map { val s...
0
Kotlin
0
0
bbd3cf6868936a9ee03c6783d8b2d02a08fbce85
1,339
adventofcode2022
MIT License
app/src/main/java/com/machioni/mpvmovies/domain/model/Page.kt
yurimachioni
204,196,407
false
null
package com.machioni.mpvmovies.domain.model data class Page<T>( val items: List<T>, val totalResults: Long )
0
Kotlin
1
0
7758f58ec890bc6735b3a81229c26c692b0cec0b
125
mpvmovies
MIT License
confluence-client/src/test/kotlin/com/github/zeldigas/confclient/ConfluenceClientImplTest.kt
zeldigas
425,511,098
false
{"Kotlin": 457177, "HTML": 22627, "Ruby": 9495, "Slim": 8549, "Dockerfile": 1033, "Shell": 642, "Batchfile": 176}
package com.github.zeldigas.confclient import assertk.assertThat import assertk.assertions.contains import assertk.assertions.isEmpty import assertk.assertions.isEqualTo import assertk.assertions.isNotNull import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper import com.github.tomakehurst.wiremock.client.Resp...
13
Kotlin
2
9
e4a4d56aad3ce18d164cfc6a97c530a70484d8ac
5,124
text2confl
Apache License 2.0
compiler/fir/checkers/src/org/jetbrains/kotlin/fir/analysis/checkers/declaration/FirDynamicSupertypeChecker.kt
JetBrains
3,432,266
false
{"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML...
/* * Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.fir.analysis.checkers.declaration import org.jetbrains.kotlin.diagnostics.Diagno...
181
Kotlin
5771
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
1,153
kotlin
Apache License 2.0
app/src/main/java/com/serhat/currencyconverter/ui/view/MainActivity.kt
serhat-demir
593,275,624
false
null
package com.serhat.currencyconverter.ui.view import android.os.Bundle import android.widget.Toast import androidx.appcompat.app.AppCompatActivity import androidx.databinding.DataBindingUtil import androidx.lifecycle.ViewModelProvider import com.serhat.currencyconverter.R import com.serhat.currencyconverter.databinding...
0
Kotlin
0
0
18fc41dc58b0dbb86327910db801dd4a0b8c0be5
2,462
currency-converter
MIT License
app/src/main/kotlin/com/peerbridge/android/model/Notification.kt
peerbridge
367,427,329
false
null
package com.peerbridge.android.model import com.peerbridge.android.http.Endpoints import com.peerbridge.android.http.HttpClient import kotlinx.serialization.Serializable import kotlinx.serialization.encodeToString import kotlinx.serialization.json.Json internal typealias NotificationToken = String @Serializable data...
0
Kotlin
0
2
e4e46de87239bd58606db36ada8da9a14034f88e
1,028
peerbridge-android
MIT License
app/src/main/java/fi/joonasniemi/innovators/sensor/ui/SensorActivity.kt
jopakka
543,050,133
false
null
package fi.joonasniemi.innovators.sensor.ui import android.view.LayoutInflater import androidx.compose.foundation.layout.padding import androidx.compose.material.FloatingActionButton import androidx.compose.material.Icon import androidx.compose.material.Scaffold import androidx.compose.material.Text import androidx.co...
0
Kotlin
0
0
0ca4d47464f84a225f7e7cc3dc3ffb3fc18f7274
1,884
webRTC
MIT License
src/main/kotlin/org/semonte/intellij/swagger/inspection/schema/YamlSchemaInspection.kt
semonte
692,733,249
false
{"Kotlin": 511953, "Java": 219922, "HTML": 5081}
package org.semonte.intellij.swagger.inspection.schema import com.intellij.codeInspection.LocalInspectionTool import com.intellij.codeInspection.LocalInspectionToolSession import com.intellij.codeInspection.ProblemsHolder import com.intellij.openapi.application.ApplicationManager import com.intellij.psi.PsiElementVisi...
0
Kotlin
0
0
52f4741b177b1fbc71c4fe8e5d00ef2d572d2154
2,208
openapi-plugin
MIT License
src/main/kotlin/org/semonte/intellij/swagger/inspection/schema/YamlSchemaInspection.kt
semonte
692,733,249
false
{"Kotlin": 511953, "Java": 219922, "HTML": 5081}
package org.semonte.intellij.swagger.inspection.schema import com.intellij.codeInspection.LocalInspectionTool import com.intellij.codeInspection.LocalInspectionToolSession import com.intellij.codeInspection.ProblemsHolder import com.intellij.openapi.application.ApplicationManager import com.intellij.psi.PsiElementVisi...
0
Kotlin
0
0
52f4741b177b1fbc71c4fe8e5d00ef2d572d2154
2,208
openapi-plugin
MIT License
lib/src/main/java/com/pine/lib/view/db/db_choose/TableAdapter.kt
pinetrick
578,007,654
false
null
package com.pine.lib.view.db.db_choose import android.content.Context import android.view.View import android.widget.AdapterView import android.widget.ArrayAdapter class TableAdapter(context: Context, resource: Int) : ArrayAdapter<String>(context, resource), AdapterView.OnItemSelectedListener { var onTableC...
0
Kotlin
0
0
3576f830c2dca769534f335dc7fbe703508430ee
989
pineLib2023
Apache License 2.0
platform/feedback/src/com/intellij/feedback/track/active/EditorMouseEventTracker.kt
SysBind
202,502,390
false
null
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.feedback.track.active import com.intellij.feedback.state.active.LastActive.trackActive import com.intellij.openapi.editor.event.EditorMouse...
1
null
1
1
0eb0bc0905884e3fa5027883af926427e21a3cea
852
intellij-community
Apache License 2.0
framework/src/main/kotlin/pt/isel/SHORT/html/element/Frame.kt
48276AntonioMarques
762,862,793
false
{"Kotlin": 290899, "CSS": 6361, "JavaScript": 2091, "HTML": 587}
package pt.isel.SHORT.html.element import pt.isel.SHORT.html.base.attribute.Attribute import pt.isel.SHORT.html.base.element.HtmlReceiver import pt.isel.SHORT.html.base.element.Tag import pt.isel.SHORT.html.base.element.prototype /** * Represents the HTML <frame> tag. * Description: Defines a particular area in whi...
0
Kotlin
0
1
0457515ab97855e4f42f7eeacec53f2919908918
578
short
Apache License 2.0
src/main/kotlin/com/skillw/pouvoir/util/GsonUtils.kt
Glom-c
396,683,163
false
null
package com.skillw.pouvoir.util import com.google.common.reflect.TypeToken import com.google.gson.* import org.bukkit.inventory.ItemStack import java.lang.reflect.Type object GsonUtils { @JvmStatic val gson: Gson by lazy { GsonBuilder() .enableComplexMapKeySerialization() .seri...
0
Kotlin
0
0
11bc528500ca759f437edc246a05e24223c14e83
1,093
Pouvoir
MIT License
mobile/src/main/java/de/lemke/nakbuch/domain/ResetEasterEggsUseCase.kt
Lemkinator
475,012,572
false
{"Kotlin": 474806}
package de.lemke.nakbuch.domain import de.lemke.nakbuch.data.UserSettingsRepository import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.withContext import javax.inject.Inject class ResetEasterEggsUseCase @Inject constructor( private val userSettingsRepository: UserSettingsRepository, ) { suspend o...
0
Kotlin
0
5
928093cc1072a8b35467b5c05cec704e296b792c
434
NAK-Buch
MIT License
app/src/main/java/com/tatuas/ghsv/ui/detail/DetailViewModel.kt
tatuas
134,174,686
false
null
package com.tatuas.ghsv.ui.detail import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import com.tatuas.ghsv.data.api.GitHubApiService import com.tatuas.ghsv.data.api.GitHubDetailUser import io.reactivex.android.schedulers.AndroidSchedulers import io.reactiv...
1
null
1
1
772b07639b5ec25dbeda8fc83933c82f125c12f6
2,534
ghsv
MIT License
compiler/ir/ir.tree/src/org/jetbrains/kotlin/ir/util/DescriptorByIdSignatureFinder.kt
JetBrains
3,432,266
false
null
/* * Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.ir.util import org.jetbrains.kotlin.descriptors.DeclarationDescriptor interface...
181
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
436
kotlin
Apache License 2.0
net/src/main/java/com/drake/net/compatible/RequestBody.kt
liangjingkanji
370,593,764
false
null
package com.drake.net.compatible import okhttp3.FormBody import okhttp3.MediaType import okhttp3.RequestBody import okio.ByteString import java.io.File val FormBody.size: Int get() = size() fun String.toRequestBody(contentType: MediaType? = null): RequestBody = RequestBody.create(contentType, this) internal...
0
Kotlin
0
22
60c117d970b25d1c8f7a0af451424bd9c6b409be
739
Net-okhttp3
Apache License 2.0
core/src/main/kotlin/dev/gleroy/ivanachess/core/Match.kt
leroyguillaume
326,993,843
false
null
package dev.gleroy.ivanachess.core import dev.gleroy.ivanachess.game.Game /** * Match. * * @param entity Game entity. * @param game Game. */ data class Match( val entity: GameEntity, val game: Game = Game() )
0
Kotlin
1
0
6e6b8da2b5b84fc2ad946ddd7899c35904974a87
224
ivana-chess
Apache License 2.0
common/src/main/kotlin/com/codeviking/kxg/math/Random.kt
dwbullok
153,008,678
true
{"Kotlin": 925045}
package com.codeviking.kxg.math import com.codeviking.kxg.now import kotlin.math.abs val defaultRandomInstance = Random(now().toInt()) /** * Returns a random integer in range of [Int.MIN_VALUE] .. [Int.MAX_VALUE] */ fun randomI(): Int = defaultRandomInstance.randomI() /** * Returns a random integer in range of [...
0
Kotlin
0
0
5121acb8d80480bf60624ae9ef87a39b97428e27
2,103
kool
Apache License 2.0
src/programs/strings/FindCountAnagramInBiggerString.kt
raghunandankavi2010
208,271,806
false
{"Java": 284682, "Kotlin": 148311}
package programs.strings /** Leet code * 438. Find All Anagrams in a String Given two strings s and p, return an array of all the start indices of p's anagrams in s. You may return the answer in any order. An Anagram is a word or phrase formed by rearranging the letters of a different word or phrase, typically u...
0
Java
0
0
faa0e9f21ad2ca3f3a0fe071bbe6c8745f591e7a
2,395
Programs
Apache License 2.0
cpg-core/src/test/kotlin/de/fraunhofer/aisec/cpg/enhancements/DFGTest.kt
pangeneral
397,048,918
true
{"Kotlin": 1373871, "Java": 827554, "LLVM": 170593, "Go": 83801, "Python": 56094, "C++": 44831, "C": 30296, "TypeScript": 4873, "Shell": 552, "JavaScript": 527, "CMake": 204}
/* * Copyright (c) 2021, Fraunhofer AISEC. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
10
Kotlin
0
0
6581db9f64556d7af1c2fb4f6518f3017e64c39f
20,718
cpg
Apache License 2.0
core/design/src/main/kotlin/cn/wj/android/cashbook/core/design/component/CommonDivider.kt
WangJie0822
365,932,300
false
{"Kotlin": 1323186, "Java": 1271087}
package cn.wj.android.cashbook.core.design.component import androidx.compose.material3.Divider import androidx.compose.material3.DividerDefaults import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier import androidx.compose.ui.graphics.Color import androidx.compose.ui.unit.Dp @Composable fun C...
0
Kotlin
7
23
004fb1d6e81ff60fd9e8cb46dc131107a720bbe5
584
Cashbook
Apache License 2.0
app/src/main/java/com/example/ultrascore/ItemClickListener.kt
surperDoge
840,983,993
false
{"Kotlin": 29963}
package com.example.ultrascore interface ItemClickListener { fun onDeleteClick(positon:Int) fun onItemClick(position:Int) }
0
Kotlin
0
0
347d6252fae671fa888bb6720ef68502d9662c9c
133
Self-Reinforce-Score
Apache License 2.0
photopicker/src/main/java/com/github/basshelal/unsplashpicker/data/UnsplashUrls.kt
basshelal
198,377,924
false
null
package com.github.basshelal.unsplashpicker.data import android.os.Parcelable import kotlinx.android.parcel.Parcelize /** * See the [official Unsplash API Images section](https://unsplash.com/documentation#dynamically-resizable-images) */ @Parcelize data class UnsplashUrls( val thumb: String?, val s...
2
Kotlin
5
31
1a404d3d970c60f513f47a5bb5adf0854f85fad6
432
UnsplashPhotoPicker
MIT License
app/src/main/java/by/vshkl/android/wezr/ui/forecast/ForecastPresenter.kt
vshkl
98,335,079
false
null
package by.vshkl.android.wezr.ui.forecast import by.vshkl.android.wezr.data.DataManager import by.vshkl.android.wezr.data.model.Weather import by.vshkl.android.wezr.injection.ConfigPersistent import by.vshkl.android.wezr.ui.base.BasePresenter import by.vshkl.android.wezr.util.NetworkUtils import io.reactivex.android.s...
0
Kotlin
0
1
eeea88cce557447739d8a76c977088671ebc8842
2,425
Wezr
Apache License 2.0
next/kmp/sys/src/androidMain/kotlin/org/dweb_browser/sys/device/DeviceManage.android.kt
BioforestChain
594,577,896
false
{"Kotlin": 3446191, "TypeScript": 818538, "Swift": 369625, "Vue": 156647, "SCSS": 39016, "Objective-C": 17350, "HTML": 16184, "Shell": 13534, "JavaScript": 3982, "Svelte": 3504, "CSS": 818}
package org.dweb_browser.sys.device import android.content.pm.PackageManager import android.os.Build import android.os.Environment import org.dweb_browser.helper.SuspendOnce import org.dweb_browser.helper.getAppContextUnsafe import org.dweb_browser.helper.randomUUID import java.io.File data class AndroidHardwareInfo(...
66
Kotlin
5
20
6db1137257e38400c87279f4ccf46511752cd45a
2,135
dweb_browser
MIT License
vegetables/src/main/kotlin/EditAction.kt
pdincau
234,115,602
true
{"Kotlin": 15960, "FreeMarker": 1712, "CSS": 1220}
import daikon.Context import daikon.Request import daikon.Response import daikon.RouteAction class EditAction(private val repository: VegetableRepository) : RouteAction { override fun handle(request: Request, response: Response, context: Context) { val vegetable = Vegetable(request.param(":name"), request...
0
null
0
0
26f0bd0ca83bab05055edef30362613af30c9a8b
421
daikon-examples
Apache License 2.0
presentation/src/main/java/com/anytypeio/anytype/presentation/linking/LinkToObjectViewModel.kt
anyproto
647,371,233
false
{"Kotlin": 9971954, "Java": 69306, "Shell": 11126, "Makefile": 1276}
package com.anytypeio.anytype.presentation.linking import androidx.lifecycle.viewModelScope import com.anytypeio.anytype.analytics.base.Analytics import com.anytypeio.anytype.core_models.Id import com.anytypeio.anytype.core_models.ObjectType import com.anytypeio.anytype.core_models.ObjectWrapper import com.anytypeio.a...
33
Kotlin
26
301
8b3b7dacae68c015fb8b1b7c9cc76e53f0706430
2,935
anytype-kotlin
RSA Message-Digest License
src/main/kotlin/design_patterns/facade/home_theater/devices/PopcornPopper.kt
johanvergeer
453,711,461
false
null
package design_patterns.facade.home_theater.devices class PopcornPopper(private val description: String) { fun on() { println("${this.description} on") } fun off() { println("${this.description} off") } fun pop() { println("${this.description} popping popcorn!") } ...
0
Kotlin
0
0
f4b44a459bee096bb1c014f074db3f22bf980a34
395
design-patterns
MIT License
plugins/kotlin/code-insight/intentions-shared/tests/testData/intentions/removeUnnecessaryParentheses/binaryExpressionInIfBranch.kt
ingokegel
72,937,917
false
null
// IS_APPLICABLE: false fun main() { if (true) <caret>(1 < 2) }
1
null
1
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
81
intellij-community
Apache License 2.0
app/src/main/java/com/example/dessertclicker/model/Dessert.kt
sacamiso
610,461,055
false
null
package com.example.dessertclicker.model data class Dessert(val imageId: Int, val price: Int, val startProductionAmount: Int)
0
Kotlin
0
0
7bf9946b511c3f0d61c5a9aef507d8a8f98f7f92
126
Tartas_sacamiso_sesion5
Apache License 2.0
example/src/main/java/dev/b3nedikt/restring/example/ExampleApplication.kt
B3nedikt
202,513,039
false
null
package dev.b3nedikt.restring.example import android.app.Application import android.content.res.Resources import dev.b3nedikt.app_locale.AppLocale import dev.b3nedikt.restring.Restring import dev.b3nedikt.restring.example.Locales.LOCALE_AUSTRIAN_GERMAN import dev.b3nedikt.reword.RewordInterceptor import dev.b3nedikt.v...
1
null
30
312
3b7e70408d4c735b52096dca021838fb9710ba95
821
restring
Apache License 2.0
src/main/kotlin/de/konqi/roborockbridge/persistence/entity/Home.kt
konqi
722,223,495
false
{"Kotlin": 245755, "TypeScript": 81761, "Handlebars": 14261, "Dockerfile": 811, "JavaScript": 728, "HTML": 373, "CSS": 122}
package de.konqi.roborockbridge.persistence.entity import jakarta.persistence.Column import jakarta.persistence.Entity import jakarta.persistence.Id @Entity data class Home( @Id @Column(name = "home_id") var homeId: Int, @Column(nullable = false) var name: String )
16
Kotlin
2
5
354a065310b482101b37f9871b14fbea59f17031
287
roborock-bridge
MIT License
app/src/main/java/com/pec_acm/moviedroid/mainpage/adapters/HorizontalAdapter.kt
Krishan3099
475,635,516
true
{"Java Properties": 2, "Shell": 1, "Markdown": 2, "Batchfile": 1, "Proguard": 1, "Java": 11, "Kotlin": 17}
package com.pec_acm.moviedroid.mainpage.adapters import android.content.Context import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.ImageView import android.widget.TextView import androidx.recyclerview.widget.RecyclerView import com.bumptech.glide.Glide impor...
0
null
0
0
b0f8a4fcc9747d631d2f875c6f5d80f0a87b4e63
1,227
MovieDroid
MIT License
Sankalp-User/Sankalp_HTF/app/src/main/java/com/example/sankalp/utils/users.kt
rachit-goyal1071
755,154,437
false
{"Kotlin": 105901, "Dart": 66037, "C++": 24352, "CMake": 18896, "JavaScript": 16611, "CSS": 16186, "HTML": 3953, "Ruby": 2803, "Swift": 2695, "C": 1425, "Objective-C": 38}
package com.example.sankalp.utils data class userData( val userId:String?="", val name:String?="" // val imageUrl:String?="" ){ fun toMap()= mapOf( "userId" to userId, "name" to name ) }
0
Kotlin
2
0
6d0617bce1ea19e09c243d3e1de381542b992066
224
sankalp
MIT License
app/src/main/java/com/arezzo/viewmodel/SucursalViewModel.kt
riveramariano
504,654,857
false
null
package com.arezzo.viewmodel import android.app.Application import androidx.lifecycle.AndroidViewModel import androidx.lifecycle.MutableLiveData import com.arezzo.data.SucursalDao import com.arezzo.model.Sucursal import com.arezzo.repository.SucursalRepository class SucursalViewModel(application: Application) : Andro...
3
Kotlin
1
3
6d22d276726fece40c6f10a98083b765a3b612ba
827
arezzo
MIT License
example/src/main/kotlin/com/example/afterpay/util/Logger.kt
afterpay
279,474,371
false
null
package com.example.afterpay.util import android.util.Log class Logger { var isEnabled = true fun error(tag: String = "ExampleApp", message: String? = null, tr: Throwable? = null) { Log.e(tag, message, tr) } fun debug(tag: String = "ExampleApp", message: String? = null, tr: Throwable? = null...
0
Kotlin
4
8
fc2e10abc31eb35c36adda6ffd0e5affdafc8756
843
sdk-android
Apache License 2.0
src/main/kotlin/com/kalikov/game/StageSelect.kt
kalikov
696,277,791
false
{"Kotlin": 435569}
package com.kalikov.game class StageSelect( private val eventManager: EventManager, private val stageManager: StageManager, private val scriptCallback: ScriptCallback, ) : ScriptNode, EventSubscriber { private companion object { private val subscriptions = setOf(Keyboard.KeyPressed::class) ...
0
Kotlin
0
0
c531a38c9ef654f06f7beab648dd98285f25d58d
1,284
battle-city
MIT License
src/main/kotlin/io/exam/intellij/plugin/settings/ExamSettingsComponent.kt
MetallFoX
524,350,427
false
{"Kotlin": 30265}
package io.exam.intellij.plugin.settings import com.intellij.ui.components.JBLabel import com.intellij.ui.components.JBTextField import com.intellij.util.ui.FormBuilder import javax.swing.JPanel class ExamSettingsComponent { private var mainPanel: JPanel private val specFolderNameText = JBTextField() in...
3
Kotlin
0
0
8cb7eee37b56f90850c3858fcec493b106767793
810
ExamPlugin
Apache License 2.0
app/src/main/java/com/example/visuallithuanian/adapter/ToLearnAdapter.kt
klaus19
541,931,828
false
null
package com.example.visuallithuanian.adapter import android.os.Build import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.ImageView import android.widget.TextView import androidx.annotation.RequiresApi import androidx.recyclerview.widget.DiffUtil import androi...
7
null
4
9
184e0624f117a58e129dd395ff21a05e82ea05c8
2,800
Labas
Apache License 2.0
library/src/main/java/vip/irock/httpdns/Ping.kt
MrLyp
265,477,227
false
null
package vip.irock.httpdns import java.lang.Exception import java.net.InetAddress import kotlin.math.max import kotlin.math.min data class PingStats( val transmitted: Int, val packetsLost: Int, val averageTime: Long, val minTime: Long, val maxTime: Long ) { override fun toString(): String { ...
0
Kotlin
0
0
2920278bbf1809809d63b896927221bacfa09317
1,663
httpdns
Apache License 2.0
examples/docs-code-snippets/src/main/kotlin/examples/kotlin/application/RegisterBakerEventListener.kt
ing-bank
75,624,797
false
{"Scala": 1626340, "Java": 82092, "Kotlin": 68436, "TypeScript": 63989, "HTML": 14439, "Shell": 13594, "SCSS": 4563, "CSS": 3126, "JavaScript": 2328}
package examples.kotlin.application import com.ing.baker.runtime.kotlindsl.Baker class RegisterBakerEventListener(private val baker: Baker) { suspend fun example() { baker.registerBakerEventListener { bakerEvent -> println("Received event: $bakerEvent") } } }
44
Scala
83
333
ae38def26c9772dccaba13265c1cd54d2b11f9d3
298
baker
MIT License
shared-client/src/androidMain/kotlin/Dependencies.kt
j7arsen
274,675,590
true
{"Kotlin": 19171, "Swift": 4771, "HTML": 203}
package com.example.multiplatform.shared.client import io.ktor.client.engine.HttpClientEngine import io.ktor.client.engine.android.Android import kotlinx.coroutines.CoroutineDispatcher import kotlinx.coroutines.Dispatchers actual val httpClientEngine: HttpClientEngine = Android.create() // Android emulator forwards ...
0
null
0
0
fef89ab5b4691e2d38a6cb04fe813275a9352948
500
multiplatform-hello
Apache License 2.0
compiler/testData/codegen/box/inlineClasses/kt34902.kt
JetBrains
3,432,266
false
null
// KJS_WITH_FULL_RUNTIME // WITH_RUNTIME interface OneofField<T> { val value: T val number: Int val name: String data class OneofUint32 constructor( override val value: UInt, override val number: Int = 111, override val name: String = "oneof_uint32" ) : OneofField<UInt> } ...
181
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
498
kotlin
Apache License 2.0
platform/remote-driver/test-sdk/src/com/intellij/driver/sdk/ui/UiRobotUtils.kt
ingokegel
72,937,917
false
null
package com.intellij.driver.sdk.ui import com.intellij.driver.sdk.ui.components.UiComponent import com.intellij.driver.sdk.waitFor import java.time.Duration // should fun <T : UiComponent> T.should(condition: T.() -> Boolean): T { return should(Duration.ofSeconds(DEFAULT_FIND_TIMEOUT_SECONDS.toLong()), condition) }...
1
null
1
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
797
intellij-community
Apache License 2.0
serviceLibrary/src/main/java/info/mqtt/android/service/work/WorkPingSender.kt
exmim
563,245,416
false
null
package info.mqtt.android.service.work import android.content.Context import androidx.work.CoroutineWorker import androidx.work.WorkerParameters internal class WorkPingSender(context: Context, workerParams: WorkerParameters) : CoroutineWorker(context, workerParams){ override suspend fun doWork(): Result { ...
0
Kotlin
0
0
a436011ad8b2ade21db5c2cf9ded90f1c235a070
356
emxim-android
Apache License 2.0
kotlin-spring/src/main/kotlin/com/saulodev/kotlinspring/MathController.kt
saulo-maker
587,106,338
false
null
package com.saulodev.kotlinspring import com.saulodev.kotlinspring.exceptions.UnsupportedMathOperationException import org.springframework.web.bind.annotation.PathVariable import org.springframework.web.bind.annotation.RequestMapping import org.springframework.web.bind.annotation.RestController import java.util.concur...
0
Kotlin
0
0
4d34adfd0423500d2f66466de6cb317552428ad3
3,160
kotlin-spring
Apache License 2.0
src/main/kotlin/io/github/paulgriffith/tagkreator/gui/tree/TypesNode.kt
paul-griffith
378,270,682
false
null
package io.github.paulgriffith.tagkreator.gui.tree import io.github.paulgriffith.tagkreator.gui.IconCache import io.github.paulgriffith.tagkreator.model.Folder class TypesNode(override val tag: Folder, parent: TagNode?) : TagNode(parent) { override val icon = IconCache.FOLDER override val children: List<TagNo...
0
Kotlin
0
0
b0ea05bcd04c4b5d1bd33562e91db2507c29a54b
443
tagKreator
The Unlicense
shared-sources/src/main/java/org/anti_ad/mc/ipnext/item/rule/parameter/ItemTypeMatcher.kt
blackd
351,481,591
false
null
package org.anti_ad.mc.ipnext.item.rule.parameter import org.anti_ad.mc.common.Log import org.anti_ad.mc.common.extensions.trySwallow import org.anti_ad.mc.common.vanilla.alias.Identifier import org.anti_ad.mc.ipnext.item.ItemType import org.anti_ad.mc.ipnext.item.NbtUtils sealed class ItemTypeMatcher { abstract ...
12
null
12
47
d8ff23dd59d58b22b4dc1684f081b7139a0dd42e
1,559
Inventory-Profiles
MIT License
src/main/kotlin/org/teamvoided/dusk_autumn/block/SquashBlock.kt
TeamVoided
737,359,498
false
{"Kotlin": 1129694, "Java": 28224}
package org.teamvoided.dusk_autumn.block import net.minecraft.block.BlockState import net.minecraft.block.ShapeContext import net.minecraft.block.enums.DoubleBlockHalf import net.minecraft.util.math.BlockPos import net.minecraft.util.math.Direction import net.minecraft.util.shape.VoxelShape import net.minecraft.util.s...
0
Kotlin
0
0
7df0896ea35a8f1c3a2676821629ff16de72d95e
1,281
DusksAndDungeons
MIT License
year2021/day18/snailfish/src/main/kotlin/com/curtislb/adventofcode/year2021/day18/snailfish/SnailfishNumber.kt
curtislb
226,797,689
false
null
package com.curtislb.adventofcode.year2021.day18.snailfish /** * TODO */ sealed class SnailfishNumber { abstract fun magnitude(): Int operator fun plus(other: SnailfishNumber): SnailfishNumber = NumberPair(this, other).reduce() fun reduce(): SnailfishNumber { var number = this while (tr...
0
Kotlin
1
0
ab371265c76c2d2429916483a0039e10a003e057
2,503
AdventOfCode
MIT License
app/src/main/java/com/github/jing332/tts_server_android/model/script/core/type/ui/JSpinner.kt
jing332
536,800,727
false
null
@file:Suppress("unused") package com.github.jing332.tts_server_android.model.rhino.core.type.ui import android.annotation.SuppressLint import android.content.Context import android.view.View import android.widget.AdapterView import com.github.jing332.tts_server_android.ui.view.AppDialogs.displayErrorDialog import com...
6
Kotlin
80
717
b8aa01c268c8718f00f2bb6267921ea75e3cf619
1,595
tts-server-android
MIT License
grundlagen-tag-13-parameter_2/Aufgabe7/src/7_FunktionUndParameterEntwerfen.kt
just1984
639,436,580
false
null
fun printHeight(height: Double){ print("Alter Schwede. Du bist $height gross.") } fun main() { printHeight(1.83) }
0
Kotlin
0
0
df3e8b35fdc1c53e0d412e427f03ad5bf3cb12ee
123
school_progress_kotlin
MIT License
kotlin/src/jsMain/kotlin/ynab/SaveSubTransaction.module_ynab.kt
dchaley
731,851,209
false
{"Kotlin": 33207, "JavaScript": 1239, "HTML": 351}
@file:Suppress("INTERFACE_WITH_SUPERCLASS", "OVERRIDING_FINAL_MEMBER", "RETURN_TYPE_MISMATCH_ON_OVERRIDE", "CONFLICTING_OVERLOADS") @file:JsModule("ynab") @file:JsNonModule package ynab import kotlin.js.* external interface SaveSubTransaction { var amount: Number var payee_id: String? var payee_name: Str...
0
Kotlin
0
0
ae56b9e9fa9f183d90a7df6cbe74f82806a9c786
378
you-need-a-splitter
MIT License
library-enrichment/src/main/kotlin/library/enrichment/correlation/CorrelationIdRequestInterceptor.kt
nt-ca-aqe
100,617,700
false
null
package library.enrichment.correlation import feign.RequestInterceptor import feign.RequestTemplate import org.springframework.stereotype.Component /** * This Feign [RequestInterceptor] will set the `X-Correlation-ID` header for * each send request. This header can be used to trace processing of a single * request...
11
Kotlin
11
14
2942752684ce82167880908caed4111e402b6caa
765
library-app
Apache License 2.0
app/src/main/java/com/phoenix/kspt/utils/CustomViewPager.kt
georrge1994
141,315,517
false
{"Kotlin": 209000}
package com.phoenix.kspt.utils import android.content.Context import android.support.v4.view.ViewPager import android.util.AttributeSet import android.view.MotionEvent /** * Viewpager for swapping the tasks fragment */ class CustomViewPager(context: Context, attrs: AttributeSet?) : ViewPager(context, attrs) { p...
0
Kotlin
0
0
cf0003e1a286120b0bf7d5fd61c6c3c4aa34ea18
811
phoenix
Apache License 2.0
android/app/src/main/kotlin/com/chicagoroboto/features/sessions/SessionListComponent.kt
joshfriend
182,836,620
true
{"Kotlin": 96832, "JavaScript": 48211, "CSS": 8379, "Python": 6514, "HTML": 5361}
package com.chicagoroboto.features.sessions import com.chicagoroboto.features.sessions.SessionDateView import dagger.Subcomponent @Subcomponent(modules = arrayOf(SessionListModule::class)) interface SessionListComponent { fun inject(sessionListView: SessionListView) fun inject(sessionDateView: SessionDateView...
0
Kotlin
0
0
0208c7a87c62cf7017c5ead0381e7b05b355da78
324
chicago-roboto
Apache License 2.0
server/src/main/kotlin/org/kryptonmc/krypton/command/SuggestionProviders.kt
KryptonMC
255,582,002
false
null
/* * This file is part of the Krypton project, licensed under the Apache License v2.0 * * Copyright (C) 2021-2023 KryptonMC and the contributors of the Krypton 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 ...
27
Kotlin
11
233
a9eff5463328f34072cdaf37aae3e77b14fcac93
3,306
Krypton
Apache License 2.0
app/src/main/java/top/eviarch/simplenote/extra/UUIDUtil.kt
Yttehs-HDX
763,306,615
false
{"Kotlin": 138156}
package top.eviarch.simplenote.extra import java.util.UUID.randomUUID object UUIDUtil { fun generateUniqueId(): Long { return randomUUID().mostSignificantBits and Long.MAX_VALUE } }
1
Kotlin
0
1
013e9eac72e9f4dbd9cc7a99e0b47acd20f969c2
199
SimpleNote
Apache License 2.0
app/src/main/java/com/hazz/kuangji/ui/fragment/AssetFragment.kt
Zbea
267,815,167
false
{"Java": 474771, "Kotlin": 386074}
package com.hazz.kuangji.ui.fragment import android.content.ClipData import android.content.Context import android.content.Intent import android.os.Handler import androidx.recyclerview.widget.LinearLayoutManager import com.hazz.kuangji.Constants import com.hazz.kuangji.R import com.hazz.kuangji.base.BaseFragment impor...
1
Java
1
2
265006a03cd6e56cff4e7d2a8e5c52d6438802d3
7,219
SjAndroid
Apache License 2.0
data/RF01000/rnartist.kts
fjossinet
449,239,232
false
{"Kotlin": 8214424}
import io.github.fjossinet.rnartist.core.* rnartist { ss { rfam { id = "RF01000" name = "consensus" use alignment numbering } } theme { details { value = 3 } color { location { 1 to 6...
0
Kotlin
0
0
3016050675602d506a0e308f07d071abf1524b67
829
Rfam-for-RNArtist
MIT License
app/src/main/java/abdul/hafiidh/oratashop/Order.kt
yonieq
402,402,435
false
null
package abdul.hafiidh.oratashop import abdul.hafiidh.oratashop.Response.ResponseKtg import abdul.hafiidh.oratashop.Response.ResponseOrder import abdul.hafiidh.oratashop.Response.ResponseProduct import abdul.hafiidh.oratashop.activity.LoginActivity import abdul.hafiidh.oratashop.network.ApiService import abdul.hafiidh....
0
Kotlin
0
0
38d297e6a3883b661e6e374168e57d2014a819eb
2,771
penjualan-ayam-android
MIT License
backend/src/com/votlin/backend/Modules.kt
sergiocasero
152,555,165
false
null
package com.votlin.backend import com.votlin.model.TalksResponse import com.votlin.model.Track import io.ktor.application.Application import io.ktor.application.call import io.ktor.request.receive import io.ktor.response.respond import io.ktor.routing.get import io.ktor.routing.post import io.ktor.routing.route import...
2
Kotlin
16
195
52adb57d25e4997adf210e61946382c78ce6b0a3
1,062
votlin-app
Apache License 2.0
app/src/main/java/fr/twentynine/keepon/di/annotation/ActivityScope.kt
twentynine78
186,404,218
false
null
package fr.twentynine.keepon.di.annotation @javax.inject.Scope @Retention(AnnotationRetention.RUNTIME) @Target(AnnotationTarget.CLASS) annotation class ActivityScope
5
Kotlin
2
32
a801b25ca382dabcba88a9f30e6ef1273459941f
167
KeepOn
Apache License 2.0
src/main/kotlin/fi/atkpihlainen/lunchWhisperer/model/Menu.kt
pihlajus
327,334,598
false
{"HTML": 133558, "Kotlin": 14221}
package fi.atkpihlainen.lunchWhisperer.model data class Menu( var restaurant: Restaurant, var dishes: List<Dish> )
0
HTML
1
0
9ca258a85659ae06f39f04f251ea82d9b5748408
124
lunch-whisperer
MIT License
proteus-compiler-kotlin/src/main/kotlin/lang/proteus/binding/BoundUnaryOperator.kt
julian-hartl
584,782,799
false
null
package lang.proteus.binding import lang.proteus.symbols.TypeSymbol import lang.proteus.syntax.lexer.token.Operator internal sealed class BoundUnaryOperator( val operator: Operator, val operandType: TypeSymbol, val resultType: TypeSymbol, ) : BoundOperator() { constructor(operator: Operator, type: Ty...
1
Kotlin
0
0
4ac2a1e2c7867d449de053e1be958c81e619a4f9
1,212
proteus
MIT License
feature/auth/src/main/java/dev/robert/auth/presentation/utils/GoogleAuthSignInClient.kt
robert-muriithi
807,555,172
false
{"Kotlin": 435933, "Java": 601}
/* * Copyright 2024 <NAME>. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
0
Kotlin
1
7
a0c31fe10bb3f478775153fe1890429828a4a243
3,453
Tasks-App-Compose
Apache License 2.0
dairo-dfs-server/src/main/java/cn/dairo/dfs/controller/app/install/set_storage/SetStorageInstallAppController.kt
DAIRO-HY
850,929,695
false
{"Kotlin": 360103, "HTML": 135261, "JavaScript": 33804, "Java": 27584, "Shell": 4415, "Dockerfile": 3240, "CSS": 2579, "Batchfile": 967, "SCSS": 33}
package cn.dairo.dfs.controller.app.install.set_storage import cn.dairo.dfs.config.SystemConfig import cn.dairo.dfs.controller.base.AppBase import cn.dairo.dfs.sync.SyncByLog import cn.dairo.dfs.sync.SyncByTable import org.springframework.stereotype.Controller import org.springframework.web.bind.annotation.GetMapping ...
0
Kotlin
0
0
c8613581ef4c8f39836ea9c69169fb0b3c1e8984
939
DairoDfs
Apache License 2.0
src/main/java/mutation_operators/ArgumentNumberChange.kt
FranciscoRibeiro
235,123,985
false
{"Kotlin": 89316, "Shell": 142}
package mutation_operators import ASTDiff import com.github.gumtreediff.actions.model.Action import gumtree.spoon.diff.operations.DeleteOperation import gumtree.spoon.diff.operations.InsertOperation import gumtree.spoon.diff.operations.Operation import gumtree.spoon.diff.operations.UpdateOperation import spoon.reflect...
0
Kotlin
0
0
50863d57574f03642d86be81a8651983f303102e
3,000
morpheus
Apache License 2.0