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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
src/main/kotlin/myproject/Main.kt | yngvark | 320,208,902 | false | null | package myproject
import com.yngvark.robothelper.RobotHelper
import java.awt.Robot
import java.awt.event.KeyEvent
import java.io.File
val robot = RobotHelper(Robot())
class ClassUsedJustToGetExecutableFilename {}
fun main(args: Array<String>) {
if (args.isEmpty()) {
val name = File(
ClassUsedJ... | 0 | Kotlin | 0 | 0 | 58f4919af31678fedbb46633a3d64294b5b4443c | 1,191 | aws-console-signin-robot | MIT License |
src/main/kotlin/com/sandrabot/sandra/managers/RedisManager.kt | sandrabot | 121,549,855 | false | null | /*
* Copyright 2017-2022 <NAME> and <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... | 1 | null | 3 | 5 | 43d363209fb1e0d933dae9d9c8475c62ae3e625a | 1,434 | sandra | Apache License 2.0 |
bookmark/domain/src/main/java/tickmarks/bookmark/domain/BookmarkRepository.kt | annypatel | 137,336,539 | false | {"Kotlin": 80750, "Shell": 600} | package tickmarks.bookmark.domain
import io.reactivex.Completable
/**
* Repository for managing bookmarks.
*/
interface BookmarkRepository {
/**
* To save a bookmark.
*
* @param bookmark The bookmark to be saved.
*/
fun saveBookmark(bookmark: Bookmark): Completable
}
| 0 | Kotlin | 0 | 9 | 5ad30bca0329bd79334748baf228d9a0f1ba4dbb | 301 | tickmarks | Apache License 2.0 |
src/main/docsite/complex/masterdetails.kt | anonhyme | 45,768,170 | true | {"JavaScript": 1784835, "Kotlin": 328451, "HTML": 2312} | package complex
import net.yested.bootstrap.Grid
import net.yested.bootstrap.Column
import bootstrap.Person
import net.yested.div
import net.yested.Div
import net.yested.bootstrap.btsButton
import net.yested.bootstrap.ButtonSize
import net.yested.bootstrap.Form
import net.yested.with
import net.yested.bootstrap.Valida... | 0 | JavaScript | 0 | 0 | 167d03fde647db96cfd9d906cd994245de91cd25 | 5,327 | yested | MIT License |
src/main/docsite/complex/masterdetails.kt | anonhyme | 45,768,170 | true | {"JavaScript": 1784835, "Kotlin": 328451, "HTML": 2312} | package complex
import net.yested.bootstrap.Grid
import net.yested.bootstrap.Column
import bootstrap.Person
import net.yested.div
import net.yested.Div
import net.yested.bootstrap.btsButton
import net.yested.bootstrap.ButtonSize
import net.yested.bootstrap.Form
import net.yested.with
import net.yested.bootstrap.Valida... | 0 | JavaScript | 0 | 0 | 167d03fde647db96cfd9d906cd994245de91cd25 | 5,327 | yested | MIT License |
tgbotapi.api/src/commonMain/kotlin/dev/inmo/tgbotapi/extensions/api/stickers/AddStickerToSet.kt | InsanusMokrassar | 163,152,024 | false | null | package dev.inmo.tgbotapi.extensions.api.stickers
import dev.inmo.tgbotapi.bot.TelegramBot
import dev.inmo.tgbotapi.requests.abstracts.InputFile
import dev.inmo.tgbotapi.requests.stickers.AddStickerToSet
import dev.inmo.tgbotapi.requests.stickers.InputSticker
import dev.inmo.tgbotapi.types.StickerFormat
import dev.inm... | 8 | null | 29 | 358 | 482c375327b7087699a4cb8bb06cb09869f07630 | 3,815 | ktgbotapi | Apache License 2.0 |
src/main/kotlin/com/kcrud/api/graphql/frameworks/kgraphql/schema/employee/EmployeeMutations.kt | perracolabs | 682,128,013 | false | null | /*
* Copyright (c) 2023-Present Perraco Labs. All rights reserved.
* This work is licensed under the terms of the MIT license.
* For a copy, see <https://opensource.org/licenses/MIT>
*/
package kcrud.server.domain.employee.graphql.kgraphql
import com.apurebase.kgraphql.Context
import com.apurebase.kgraphql.schema... | 0 | null | 0 | 2 | db1a4763931e5aa02b72a2b58dae423737b11187 | 3,190 | Kcrud | MIT License |
app/src/main/java/com/gtech/prodialog/MainActivity.kt | GtechGovind | 705,322,613 | false | {"Kotlin": 16531} | package com.gtech.prodialog
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.gtech.pro_dialog.ProDialog
import com.gtech.prodialog.databinding.ActivityMainBinding
class MainActivity : AppCompatActivity() {
private lateinit var binding: ActivityMainBinding
override fun onCr... | 0 | Kotlin | 0 | 0 | f583a0ee2850418dedb73c10f115d4e0e0ca3ffe | 2,280 | ProDialog | MIT License |
app/src/main/java/dev/tcode/thinmp/view/screen/PlaylistDetailScreen.kt | tcode-dev | 392,735,283 | false | null | package dev.tcode.thinmp.view.screen
import androidx.compose.foundation.background
import androidx.compose.foundation.gestures.detectTapGestures
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Row
import androidx.compose.foun... | 0 | null | 0 | 5 | 1e99c1c87dad4c450cb0b8b6b742104450df9e81 | 5,918 | ThinMP_Android_Kotlin | MIT License |
kotlin-antd/src/main/kotlin/antd/checkbox/Checkbox.kt | oxiadenine | 206,398,615 | false | null | @file:JsModule("antd/lib/checkbox")
@file:JsNonModule
package antd.checkbox
import antd.*
import org.w3c.dom.*
import org.w3c.dom.events.MouseEvent
import react.*
@JsName("default")
external object CheckboxComponent : Component<CheckboxProps, RState> {
val Group: CheckboxGroupComponent
override fun render()... | 1 | null | 8 | 50 | e0017a108b36025630c354c7663256347e867251 | 1,413 | kotlin-js-wrappers | Apache License 2.0 |
crud-framework-hibernate5-connector/src/main/java/com/antelopesystem/crudframework/jpa/lazyinitializer/LazyInitializerPersistentHooks.kt | antelopesystems | 279,278,095 | false | {"Java": 272601, "Kotlin": 129883, "ANTLR": 1954} | package com.antelopesystem.crudframework.jpa.lazyinitializer
import com.antelopesystem.crudframework.crud.hooks.interfaces.*
import com.antelopesystem.crudframework.jpa.lazyinitializer.annotation.InitializeLazyOn
import com.antelopesystem.crudframework.model.BaseCrudEntity
import com.antelopesystem.crudframework.model... | 22 | Java | 1 | 4 | e7560472889f3760029d03f48c3af5f441bb4cf1 | 2,441 | crud-framework | Creative Commons Attribution 3.0 Unported |
bmm-core/src/main/kotlin/de/miraculixx/bmm/utils/serializer/ColorSerializer.kt | MiraculixxT | 556,926,486 | false | {"Kotlin": 161451, "Java": 2253} | package de.miraculixx.bmm.utils.serializer
import de.bluecolored.bluemap.api.math.Color
import kotlinx.serialization.KSerializer
import kotlinx.serialization.descriptors.PrimitiveKind
import kotlinx.serialization.descriptors.PrimitiveSerialDescriptor
import kotlinx.serialization.encoding.Decoder
import kotlinx.seriali... | 7 | Kotlin | 7 | 15 | a2aa75e98b8bea04a285ce8856948a3279334388 | 844 | bluemap-marker | MIT License |
app/src/main/java/xyz/teamgravity/notepad/presentation/theme/Theme.kt | raheemadamboev | 312,077,625 | false | null | package xyz.teamgravity.notepad.presentation.theme
import android.app.Activity
import android.os.Build
import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.material3.*
import androidx.compose.runtime.Composable
import androidx.compose.runtime.SideEffect
import androidx.compose.ui.graphics.toA... | 0 | Kotlin | 0 | 9 | 6d883b53b283a7737e82f0e414f649259a5708fd | 2,979 | notepad-app | Apache License 2.0 |
app/src/main/kotlin/com/ave/vastgui/app/activity/FileActivity.kt | SakurajimaMaii | 353,212,367 | false | null | /*
* Copyright 2022 VastGui <EMAIL>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 8 | null | 6 | 64 | 81c5ca59680143d9523c01852d9587a8d926c1c3 | 2,375 | Android-Vast-Extension | Apache License 2.0 |
app/src/main/java/estimator/kissteam/com/estimatorclient/dal/services/request_response/UserResponse.kt | 301shevchukanton | 125,558,124 | false | null | package estimator.kissteam.com.estimatorclient.dal.services.request_response
/**
* Created by <NAME> on 17.03.2018.
*/
class UserResponse(val id: String?,
val email: String?,
val created_at: String?,
val updated_at: String?) | 0 | Kotlin | 0 | 0 | c89dc901c20aaa835be057923b55bfedb004bf44 | 249 | EstimatorClient | Apache License 2.0 |
solar/src/main/java/com/chiksmedina/solar/bold/users/UserPlus.kt | CMFerrer | 689,442,321 | false | {"Kotlin": 36591890} | package com.chiksmedina.solar.bold.users
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion... | 0 | Kotlin | 0 | 0 | 3414a20650d644afac2581ad87a8525971222678 | 4,294 | SolarIconSetAndroid | MIT License |
photoeditor/src/androidTest/java/ja/burhanrashid52/photoeditor/DrawingViewUndoRedoTest.kt | burhanrashid52 | 118,602,757 | false | null | package ja.burhanrashid52.photoeditor
import androidx.test.ext.junit.runners.AndroidJUnit4
import ja.burhanrashid52.photoeditor.shape.ShapeAndPaint
import junit.framework.TestCase.assertEquals
import junit.framework.TestCase.assertFalse
import org.junit.Test
import org.junit.runner.RunWith
import org.mockito.Mockito
... | 71 | null | 988 | 4,100 | 76f1b03281f3123f9687ae01955831d60ce797eb | 3,855 | PhotoEditor | MIT License |
app/src/main/java/top/chilfish/chillchat/data/repository/MessageRepository.kt | Chilfish | 638,930,009 | false | null | package top.chilfish.chillchat.data.repository
import android.util.Log
import com.drake.net.Get
import io.socket.client.Socket
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.launch
import kotlinx.coroutines.withContext
import kotlinx.serialization.encod... | 0 | Kotlin | 1 | 4 | 623b5a3505624eb494c44b91bfffdc73a980d463 | 2,787 | Chill-Chat | MIT License |
shared/src/commonMain/kotlin/com/somabits/spanish/ui/product/DataPackCard.kt | chiljamgossow | 581,781,635 | false | {"Kotlin": 905901, "Swift": 1817} | package com.somabits.spanish.ui.product
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foun... | 1 | Kotlin | 0 | 0 | e680c7048721fb9a2cbfb7cb5a9db3e39ac73b45 | 4,788 | Spanish | MIT License |
js/js.translator/testData/box/callableReference/function/extensionFromTopLevelUnitOneStringArg.kt | JakeWharton | 99,388,807 | false | null | // This test was adapted from compiler/testData/codegen/box/callableReference/function/.
package foo
fun run(arg1: A, arg2: String, funRef:A.(String) -> Unit): Unit {
return arg1.funRef(arg2)
}
class A {
var result = "Fail"
}
fun A.foo(newResult: String) {
result = newResult
}
fun box(): String {
va... | 181 | null | 5748 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 575 | kotlin | Apache License 2.0 |
ui/features/tasks/src/main/java/city/zouitel/tasks/di/tasksKoinModule.kt | City-Zouitel | 576,223,915 | false | {"Kotlin": 556982} | package city.zouitel.tasks.di
import city.zouitel.tasks.mapper.NoteAndTaskMapper
import city.zouitel.tasks.mapper.TaskMapper
import city.zouitel.tasks.ui.NoteAndTaskScreenModel
import city.zouitel.tasks.ui.TaskScreenModel
import org.koin.core.module.dsl.factoryOf
import org.koin.dsl.module
val tasksKoinModule = modul... | 43 | Kotlin | 13 | 120 | 07941aad43dade00f368bbf231eea22822b2777e | 462 | JetNote | Apache License 2.0 |
aspoet/src/main/kotlin/com/google/androidstudiopoet/generators/project/GradlewGenerator.kt | android | 106,021,222 | false | null | /*
Copyright 2017 Google 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 to in writing, software
di... | 12 | Kotlin | 89 | 680 | f820e9cc0e5d7db4de9a7e31b818277143546f73 | 3,641 | android-studio-poet | Apache License 2.0 |
matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/session/room/model/call/CallAssertedIdentityContent.kt | matrix-org | 287,466,066 | false | null | /*
* Copyright 2021 The Matrix.org Foundation C.I.C.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 75 | null | 27 | 97 | 55cc7362de34a840c67b4bbb3a14267bc8fd3b9c | 2,176 | matrix-android-sdk2 | Apache License 2.0 |
apriltagdetection/src/main/java/com/apriltagdetection/config/model/ApriltagDetection.kt | easedroid | 265,847,075 | false | {"C": 3448495, "C++": 28896, "Kotlin": 21162, "CMake": 12218, "Objective-C": 3368} | package com.apriltagdetection.config.model
import android.util.Size
class ApriltagDetection {
// The decoded ID of the tag
var id: Int = 0
// How many error bits were corrected? Note: accepting large numbers of
// corrected errors leads to greatly increased false positive rates.
// NOTE: As of th... | 0 | C | 2 | 2 | 75fa740aecb06693c62562d2445269c79c4e69c3 | 816 | apriltag_detector_android | Apache License 2.0 |
app/src/main/java/com/kotlinproject/modernfoodrecipesapp/model/ingredientssearch/models/recipe_details/RecipeDetailsResponse.kt | kbrakendirci | 476,260,445 | false | null | package com.example.recipeapp.model
import java.io.Serializable
data class Result(
val aggregateLikes: Int,
val analyzedInstructions: List<AnalyzedInstructionX>,
val cheap: Boolean,
val cookingMinutes: Int,
val creditsText: String,
val cuisines: List<String>,
val dairyFree: Boolean,
va... | 0 | null | 0 | 2 | 359bf58306f0d27c78e8df87a6bad3e290e68994 | 1,095 | MLRecipeRecommendApp | MIT License |
app/src/test/java/org/simple/clinic/summary/bloodpressures/BloodPressureSummaryViewEffectHandlerTest.kt | simpledotorg | 132,515,649 | false | null | package org.simple.clinic.summary.bloodpressures
import org.mockito.kotlin.doReturn
import org.mockito.kotlin.mock
import org.mockito.kotlin.verify
import org.mockito.kotlin.verifyNoMoreInteractions
import org.mockito.kotlin.verifyNoInteractions
import org.mockito.kotlin.whenever
import dagger.Lazy
import io.reactivex... | 15 | null | 73 | 236 | ff699800fbe1bea2ed0492df484777e583c53714 | 4,134 | simple-android | MIT License |
app/src/main/kotlin/com/numero/itube/ui/search/item/SearchVideoItem.kt | NUmeroAndDev | 130,776,366 | false | null | package com.numero.itube.ui.search.item
import com.bumptech.glide.load.resource.bitmap.CenterCrop
import com.bumptech.glide.load.resource.bitmap.RoundedCorners
import com.numero.itube.GlideApp
import com.numero.itube.R
import com.numero.itube.model.Video
import com.xwray.groupie.kotlinandroidextensions.Item
import com... | 2 | Kotlin | 0 | 3 | f1ed07fd0efb98239563c8940f69d498ba6f2602 | 1,036 | iTube-android | MIT License |
kotlin-modules/kotlin-libraries-1/src/main/kotlin/cn/tuyucheng/taketoday/kotlin/kodein/MongoDao.kt | tuyucheng7 | 576,611,966 | false | null | package cn.tuyucheng.taketoday.kotlin.kodein
class MongoDao : Dao | 0 | null | 6 | 173 | 38b150b1a976112b6cc660d8e0ab4cf438c50958 | 66 | taketoday-tutorial4j | MIT License |
app/src/main/java/com/schaefer/mymovies/domain/mapper/SelfDomainMapper.kt | arturschaefer | 318,792,328 | false | {"Kotlin": 160961} | package com.schaefer.mymovies.domain.mapper
import com.schaefer.mymovies.core.Mapper
import com.schaefer.mymovies.data.model.Self
import com.schaefer.mymovies.domain.model.SelfDomain
class SelfDomainMapper: Mapper<Self, SelfDomain> {
override fun map(source: Self): SelfDomain {
return SelfDomain(source.hr... | 0 | Kotlin | 0 | 0 | a2580e6020ef40b2efbbafd95c3e5db7ab3b1bb3 | 341 | My-Shows | MIT License |
app/src/main/java/eu/ginlo_apps/ginlo/services/LoadPendingTimedMessagesTask.kt | cdskev | 358,279,979 | false | {"Git Config": 1, "Gradle": 3, "Markdown": 5, "Java Properties": 2, "Shell": 1, "Ignore List": 1, "Text": 2, "Proguard": 1, "INI": 1, "XML": 393, "Java": 438, "Kotlin": 168, "JSON": 1, "HTML": 1} | // Copyright (c) 2020-2024 ginlo.net GmbH
package eu.ginlo_apps.ginlo.services
import android.content.Intent
import androidx.core.app.JobIntentService
import eu.ginlo_apps.ginlo.context.SimsMeApplication
import eu.ginlo_apps.ginlo.exception.LocalizedException
import eu.ginlo_apps.ginlo.greendao.MessageDao
import eu.gi... | 1 | Java | 0 | 5 | 5609a68a539fc5fd9666d3d5f93be750fa5a2b77 | 2,870 | ginlo-android | Apache License 2.0 |
appAndroid/src/main/java/io/github/manuelernesto/meukumbu/ui/send/SendFragment.kt | manuelernesto | 248,243,659 | false | {"Kotlin": 23100} | package io.github.manuelernesto.meukumbu.ui.send
import androidx.lifecycle.ViewModelProvider
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import io.github.manuelernesto.meukumbu.R
class SendFragment : Fragment(... | 0 | Kotlin | 11 | 62 | 609c8592fcaa5c222e2ba7af4a350565316caa48 | 832 | meu_kumbu | MIT License |
app/src/main/java/com/vlv/githubapicompose/ui/screens/home/widget/Search.kt | KhomDrake | 610,078,208 | false | null | package com.vlv.githubapicompose.ui.screens.home.widget
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.size
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.foundation.text.KeyboardActions
... | 0 | Kotlin | 0 | 0 | 43fc3f907ec07fdfa3b824faaf0cf13eb08ca952 | 4,055 | GithubApi-Compose | MIT License |
csaf-import/src/test/kotlin/io/github/csaf/sbom/retrieval/RetrievedProviderTest.kt | csaf-sbom | 840,395,176 | false | {"Kotlin": 144606, "Java": 5247} | /*
* Copyright (c) 2024, The Authors. 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 required by ... | 17 | Kotlin | 0 | 2 | ce80ae867c05daedd409c17a0a47718895a2a378 | 4,166 | kotlin-csaf | Apache License 2.0 |
editor/src/main/com/mbrlabs/mundus/editor/Editor.kt | mbrlabs | 48,520,201 | false | null | /*
* Copyright (c) 2016. See AUTHORS file.
*
* 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 o... | 7 | null | 40 | 200 | d3fb804aa780ad95575846b8b9f3b15b6bc9cbe3 | 6,076 | Mundus | Apache License 2.0 |
core/src/screens/MainMenuScreen.kt | PatriotCodes | 114,823,813 | false | null | package screens
import com.alextriukhan.match3.DiamondStoryGame
import com.badlogic.gdx.Gdx
import com.badlogic.gdx.Screen
import com.badlogic.gdx.assets.AssetManager
import com.badlogic.gdx.graphics.GL20
import com.badlogic.gdx.net.HttpRequestBuilder
import com.badlogic.gdx.scenes.scene2d.Stage
import com.badlogic.gd... | 13 | Kotlin | 0 | 5 | 3c654ce4744c1e0dab9c8727c25738baabfd304f | 2,796 | Diamond-Story | MIT License |
app/src/main/java/com/sdss/workout/setup/SetupFinishScreen.kt | charmas3r | 374,553,434 | true | {"Kotlin": 182117, "Swift": 21514, "Ruby": 2200, "HTML": 560} | package com.sdss.workout.setup
import android.content.Intent
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.padding
import androidx.comp... | 0 | Kotlin | 0 | 0 | 946c3deb810fdc01d5738457b2322457f6f08071 | 2,035 | WorkoutApp | Apache License 2.0 |
character-search/src/test/java/com/leinaro/character_search/CharacterSearchViewModelTest.kt | leinaro | 531,701,831 | false | {"Kotlin": 131691, "Java": 176} | package com.leinaro.character_search
import androidx.paging.Pager
import com.leinaro.domain.ui_models.CharacterUiModel
import com.leinaro.domain.usecases.GetCharactersUseCase
import io.mockk.MockKAnnotations
import io.mockk.every
import io.mockk.impl.annotations.MockK
import io.mockk.mockk
import io.mockk.verify
impor... | 10 | Kotlin | 0 | 0 | 4b421c47e65cb95da310042c6da714ea36d31bc1 | 1,392 | marvel | Creative Commons Zero v1.0 Universal |
mobile_app1/module1096/src/main/java/module1096packageKt0/Foo1.kt | uber-common | 294,831,672 | false | null | package module1096packageKt0;
annotation class Foo1Fancy
@Foo1Fancy
class Foo1 {
fun foo0(){
module1096packageKt0.Foo0().foo2()
}
fun foo1(){
foo0()
}
fun foo2(){
foo1()
}
} | 6 | Java | 6 | 72 | 9cc83148c1ca37d0f2b2fcb08c71ac04b3749e5e | 201 | android-build-eval | Apache License 2.0 |
cli/src/main/kotlin/Main.kt | sschuberth | 110,685,170 | false | null | @file:Suppress("ArgumentListWrapping")
package dev.schuberth.stan.cli
import com.github.ajalt.clikt.core.CliktCommand
import com.github.ajalt.clikt.core.ProgramResult
import com.github.ajalt.clikt.core.UsageError
import com.github.ajalt.clikt.core.context
import com.github.ajalt.clikt.core.subcommands
import com.gith... | 0 | null | 2 | 18 | 2862becd5c276ae39448879a424f4149ca06e8ab | 7,435 | stan | Apache License 2.0 |
localization/src/commonMain/kotlin/org/timemates/app/localization/EnglishStrings.kt | timemates | 575,537,317 | false | null | package org.timemates.app.localization
import io.timemates.sdk.authorization.sessions.types.value.ConfirmationCode
import io.timemates.sdk.timers.types.value.TimerDescription
import io.timemates.sdk.timers.types.value.TimerName
import io.timemates.sdk.users.profile.types.value.UserDescription
import io.timemates.sdk.u... | 21 | null | 0 | 27 | af5f6048c2cef30ac56d80754de54849650d78d2 | 5,240 | app | MIT License |
src/test/kotlin/ExecutorServiceTest.kt | syahrulfahmi | 734,462,073 | false | {"Kotlin": 34990} | import org.junit.jupiter.api.Test
import java.util.Date
import java.util.concurrent.Executors
class ExecutorServiceTest {
@Test
fun testSingleThreadPool() {
val executorService = Executors.newSingleThreadExecutor()
repeat(10) {
val runnable = Runnable {
Thread.sleep... | 0 | Kotlin | 0 | 0 | df7b4f7b8226cc657d15b750b716b1b3ecd0e64f | 1,440 | learn-kotlin-coroutines | MIT License |
src/test/kotlin/com/github/ovargasmahisoft/jdbcplugin/utils/TemplateTest.kt | ovargasmahisoft | 298,445,393 | false | null | package com.github.ovargasmahisoft.jdbcplugin.utils
import com.github.ovargasmahisoft.jdbcplugin.actions.GenerateCodeAction
import groovy.text.GStringTemplateEngine
import org.junit.Assert
import org.junit.Test
import java.util.Collections
class TemplateTest {
class Dummy(val item: String, val items: List<Dummy>... | 0 | Kotlin | 0 | 1 | f915709b7a17330852896deeca9ce3a8f65cdc79 | 969 | jdbc-plugin | Apache License 2.0 |
src/main/kotlin/no/nav/familie/ef/sak/behandlingsflyt/steg/BeregnYtelseSteg.kt | navikt | 206,805,010 | false | null | package no.nav.familie.ef.sak.behandlingsflyt.steg
import no.nav.familie.ef.sak.behandling.domain.Behandling
import no.nav.familie.ef.sak.behandling.domain.BehandlingType
import no.nav.familie.ef.sak.beregning.BeregningService
import no.nav.familie.ef.sak.beregning.tilInntektsperioder
import no.nav.familie.ef.sak.fags... | 6 | Kotlin | 2 | 0 | cc43ffc5d00f8a2ff011cf20d7c2e76844164477 | 11,397 | familie-ef-sak | MIT License |
app/src/test/java/com/kylecorry/trail_sense/tools/tides/domain/DefaultTideSelectionStrategyTest.kt | kylecorry31 | 215,154,276 | false | {"Kotlin": 2589968, "Python": 22919, "HTML": 18863, "Shell": 5290, "CSS": 5120, "JavaScript": 3814, "Batchfile": 2553} | package com.kylecorry.trail_sense.tools.tides.domain
import com.kylecorry.sol.science.oceanography.Tide
import com.kylecorry.sol.time.Time.utc
import com.kylecorry.trail_sense.tools.tides.domain.selection.DefaultTideSelectionStrategy
import kotlinx.coroutines.runBlocking
import org.junit.jupiter.api.Assertions
import ... | 456 | Kotlin | 66 | 989 | 41176d17b498b2dcecbbe808fbe2ac638e90d104 | 1,024 | Trail-Sense | MIT License |
app/src/test/java/com/gabcode/compassabout/ui/AboutViewModelTest.kt | gabpa3 | 802,339,168 | false | {"Kotlin": 46620} | package com.gabcode.compassabout.ui
import android.util.Log
import com.gabcode.compassabout.domain.FindCharSequenceOccurrencesUseCase
import com.gabcode.compassabout.domain.FindEveryTenthCharacterUseCase
import com.gabcode.compassabout.domain.GrabContentUseCase
import com.gabcode.compassabout.domain.TenthCharacterDoma... | 0 | Kotlin | 0 | 0 | 9f086a32fc2d3d7c0fc539aa05ffee588ccc1038 | 4,688 | compass-about | Apache License 2.0 |
app/src/test/java/com/gabcode/compassabout/ui/AboutViewModelTest.kt | gabpa3 | 802,339,168 | false | {"Kotlin": 46620} | package com.gabcode.compassabout.ui
import android.util.Log
import com.gabcode.compassabout.domain.FindCharSequenceOccurrencesUseCase
import com.gabcode.compassabout.domain.FindEveryTenthCharacterUseCase
import com.gabcode.compassabout.domain.GrabContentUseCase
import com.gabcode.compassabout.domain.TenthCharacterDoma... | 0 | Kotlin | 0 | 0 | 9f086a32fc2d3d7c0fc539aa05ffee588ccc1038 | 4,688 | compass-about | Apache License 2.0 |
app/src/test/java/dev/zezula/books/viewmodel/ShelvesViewModelTest.kt | zezulaon | 589,699,261 | false | {"Kotlin": 433845} | package dev.zezula.books.viewmodel
import dev.zezula.books.MainDispatcherRule
import dev.zezula.books.data.model.shelf.previewShelfEntities
import dev.zezula.books.data.source.db.ShelfAndBookDao
import dev.zezula.books.di.appUnitTestModule
import dev.zezula.books.ui.screen.shelves.ShelvesViewModel
import kotlinx.corou... | 1 | Kotlin | 0 | 6 | 606a11a634b93212a25fad92bfab54f80dd8e5cd | 4,670 | my-library | Apache License 2.0 |
lomout-config/src/test/kotlin/net/pototskiy/apps/lomout/api/script/MainAndIdeLoggerTest.kt | pavru | 172,818,183 | false | null | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 0 | Kotlin | 1 | 0 | 96b9715fab77ade907948527e1bfeb4c210ba988 | 1,949 | lomout | Apache License 2.0 |
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/KtFirPackageScope.kt | JetBrains | 3,432,266 | false | {"Kotlin": 78943108, "Java": 6823266, "Swift": 4063298, "C": 2609288, "C++": 1970234, "Objective-C++": 171723, "JavaScript": 138329, "Python": 59488, "Shell": 32312, "TypeScript": 22800, "Objective-C": 22132, "Lex": 21352, "Groovy": 17400, "Batchfile": 11748, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9857, "EJS": 5241... | /*
* Copyright 2010-2020 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.analysis.api.fir.scopes
import org.jetbrains.kotlin.analysis.api.fir.KaFirSessio... | 180 | Kotlin | 5642 | 48,082 | 2742b94d9f4dbdb1064e65e05682cb2b0badf2fc | 3,175 | kotlin | Apache License 2.0 |
backend/src/main/kotlin/com/pao/repositories/Repo.kt | DesenvolvimentoSistemasSoftware | 771,009,250 | false | {"Kotlin": 58514, "HTML": 73} | package com.pao.repositories
import com.pao.data.classes.Pedido
import com.pao.data.classes.User
import com.pao.data.table.PedidoTable
import com.pao.data.table.UserTable
import org.jetbrains.exposed.sql.insert
import com.pao.repositories.DatabaseFactory.dbQuery
import org.jetbrains.exposed.sql.ResultRow
import org.je... | 10 | Kotlin | 0 | 0 | 45a29b24dea733b0d2b342097fdcb345debcce3b | 2,412 | Paozim | MIT License |
core/data/src/main/java/com/nyinyihtunlwin/data/model/response/RefreshTokenResponse.kt | nyinyihtunlwin-codigo | 802,104,160 | false | {"Kotlin": 149133} | package com.nyinyihtunlwin.data.model.response
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class RefreshTokenResponse(
@SerialName("access_token")
val accessToken: String? = null,
@SerialName("token_type")
val tokenType: String? = null,
@Ser... | 1 | Kotlin | 0 | 0 | afadf7187c23f4abee41e9ff16c5d0544af4b996 | 508 | nimble-survey | Apache License 2.0 |
kohii-sample/src/main/java/kohii/v1/sample/ui/overlay/VideoItemHolder.kt | fuxingkai | 223,119,865 | true | {"Kotlin": 565036, "Java": 28428, "Prolog": 2839} | /*
* Copyright (c) 2019 <NAME>, <EMAIL>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | 0 | null | 0 | 0 | 5306f7d543220eff30e149afca91c76fb0a87f21 | 3,287 | kohii | Apache License 2.0 |
vector/src/main/java/im/vector/app/core/ui/views/QrCodeImageView.kt | tchapgouv | 340,329,238 | false | null | /*
* Copyright 2020 New Vector Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | 55 | null | 6 | 9 | b248ca2dbb0953761d2780e4fba756acc3899958 | 1,623 | tchap-android | Apache License 2.0 |
src/main/kotlin/pl/jwizard/core/radioplayback/rmf/RmfApiResponse.kt | jwizard-bot | 512,298,084 | false | {"Kotlin": 272965} | /*
* Copyright (c) 2024 by JWizard
* Originally developed by <NAME> <https://miloszgilga.pl>
*/
package pl.jwizard.core.radioplayback.rmf
import com.google.gson.JsonElement
data class RmfApiResponse(
val author: String,
val title: String,
val timestamp: Long,
val coverBigUrl: String,
) {
constructor(jsonEleme... | 1 | Kotlin | 0 | 2 | d177ef4ba3b65c87581afff5be8832bcef43012c | 543 | jwizard-core | Apache License 2.0 |
arranger-runtime/src/main/java/dev/mkeeda/arranger/runtime/Run.kt | mkeeda | 565,651,877 | false | null | package dev.mkeeda.arranger.runtime
import androidx.compose.runtime.BroadcastFrameClock
import androidx.compose.runtime.Composable
import androidx.compose.runtime.Composition
import androidx.compose.runtime.CompositionContext
import androidx.compose.runtime.Recomposer
import androidx.compose.runtime.snapshots.Snapshot... | 0 | Kotlin | 0 | 0 | 839bde2e840f170ce3096012b9ee0699c91bbf7d | 1,998 | arranger | Apache License 2.0 |
app/src/main/java/com/example/android/politicalpreparedness/election/VoterInfoViewModel.kt | FAdiGabriele | 395,675,118 | false | {"Kotlin": 52031} | package com.example.android.politicalpreparedness.election
import android.content.Context
import android.content.Intent
import android.net.Uri
import androidx.lifecycle.*
import com.example.android.politicalpreparedness.network.models.Address
import com.example.android.politicalpreparedness.network.models.Division
imp... | 0 | Kotlin | 0 | 0 | 7043c4b6fdb8cc8209c6987a898b2554c7030cb1 | 1,946 | finalUdacityProject | Apache License 2.0 |
src/commonMain/kotlin/fr/acinq/lightning/bin/db/payments/IncomingReceivedWithType.kt | ACINQ | 769,273,066 | false | {"Kotlin": 232917, "Dockerfile": 1575} | /*
* Copyright 2021 ACINQ SAS
*
* 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... | 9 | Kotlin | 14 | 99 | 9414518536f32bba8e6c88c809a7e34f8bbdfa85 | 6,859 | phoenixd | Apache License 2.0 |
ground/src/main/java/com/google/android/ground/ui/datacollection/tasks/polygon/DrawAreaTaskMapFragment.kt | google | 127,777,820 | false | {"Kotlin": 1400224} | /*
* Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 225 | Kotlin | 115 | 244 | ee40584064ef2b1fa443f9894d35082b0d2be50d | 2,952 | ground-android | Apache License 2.0 |
ui/ui-core/src/commonMain/kotlin/androidx/ui/core/gesture/GestureUtils.kt | Sathawale27 | 282,379,594 | false | null | /*
* Copyright 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 1 | null | 1 | 1 | 549e3e3003cd308939ff31799cf1250e86d3e63e | 2,379 | androidx | Apache License 2.0 |
src/main/kotlin/com/example/authorizationserver/security/OidcUserInfoService.kt | andersonviudes | 755,300,511 | false | {"Kotlin": 28691} | package com.example.authorizationserver.security
import com.example.authorizationserver.user.User
import org.springframework.security.oauth2.core.oidc.OidcUserInfo
import org.springframework.stereotype.Service
@Service
class OidcUserInfoService(private val userDetailsService: AuthorizationServerUserDetailsService) {
... | 0 | Kotlin | 0 | 0 | a7ee6144bc9d19525f66257c8fae69da12cfdeb2 | 1,086 | custom-spring-authorization-server | Apache License 2.0 |
azure-communication-ui/chat/src/test/java/com/azure/android/communication/ui/chat/repository/storage/MessageRepositoryTreeBackedImplDelegateUnitTest.kt | Azure | 429,521,705 | false | {"Kotlin": 2573728, "Java": 167445, "Shell": 3964, "HTML": 1856} | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.android.communication.ui.chat.repository.storage
import com.azure.android.communication.ui.chat.repository.MessageRepository
import org.junit.Test
import org.junit.runner.RunWith
import org.mockito.junit.... | 7 | Kotlin | 28 | 24 | d7e46c6063e8e9d3ed548acff2465b5d0f57b1b2 | 1,366 | communication-ui-library-android | MIT License |
src/main/kotlin/service/FriendMessageListener.kt | CoderKuo | 447,180,191 | false | null | package com.dakuo.service
import net.mamoe.mirai.event.events.FriendMessageEvent
import net.mamoe.mirai.message.data.At
import net.mamoe.mirai.message.data.MessageChain
import net.mamoe.mirai.message.data.content
import net.mamoe.mirai.message.data.toPlainText
class FriendMessageListener(private val event: FriendMess... | 0 | Kotlin | 0 | 1 | 921be3bdd69029b0bb595c677bf317859c6f08d5 | 1,414 | McbbsServerBumpPlugin | MIT License |
js/js.translator/testData/incremental/invalidation/gettersAndSettersInlining/main/m.kt | workfilemmfloe | 492,307,576 | false | {"Markdown": 132, "Gradle": 432, "Gradle Kotlin DSL": 645, "Java Properties": 18, "Kotlin": 42515, "Shell": 47, "Ignore List": 21, "Batchfile": 24, "Git Attributes": 9, "Dockerfile": 6, "INI": 166, "Java": 2875, "XML": 662, "Text": 14300, "JavaScript": 309, "JAR Manifest": 2, "Roff": 240, "Roff Manpage": 47, "Protocol ... | fun box(stepId: Int): String {
val parent = Parent("parent")
val child = Child("child")
if (parent.name != "parent") return "fail: initial parent name at step $stepId"
if (child.name != "child") return "fail: initial child name at step $stepId"
parent.name = "updated parent"
if (parent.name !... | 4 | null | 1 | 1 | 9ee026819756cebc46bd03e0e5672ecdda5ce9bf | 681 | kotlin | Apache License 2.0 |
Tutorial1-1Basics/src/main/java/com/smarttoolfactory/tutorial1_1basics/chapter6_graphics/Tutorial6_13BorderProgressTimer.kt | SmartToolFactory | 326,400,374 | false | {"Kotlin": 2849459} | package com.smarttoolfactory.tutorial1_1basics.chapter6_graphics
import androidx.compose.animation.core.Animatable
import androidx.compose.animation.core.LinearEasing
import androidx.compose.animation.core.animateFloatAsState
import androidx.compose.animation.core.tween
import androidx.compose.foundation.Canvas
import... | 4 | Kotlin | 312 | 3,006 | efea98b63e63a85b80f7dc1bd4ca6d769e35905d | 10,991 | Jetpack-Compose-Tutorials | Apache License 2.0 |
android/wearable/src/main/java/me/tinykitten/trainlcd/wearable/DataClass.kt | TrainLCD | 217,714,638 | false | null | package me.tinykitten.trainlcd.wearable
data class WearablePayload(
var stateKey: String,
var stationName: String,
var stationNameRoman: String,
var stationNumber: String,
var badLocationAccuracy: Boolean,
var isNextLastStop: Boolean
)
| 36 | null | 1 | 40 | 9864ca58c30edfbae3897500ddb79fa634ca4115 | 249 | MobileApp | MIT License |
2022/Ktor/WebServers/src/main/kotlin/StaticContents_0.kt | kyoya-p | 253,926,918 | false | null | import io.ktor.http.content.*
import io.ktor.routing.*
import io.ktor.server.engine.*
import io.ktor.server.netty.*
import java.io.File
// implementation("io.ktor:ktor-server-core:1.6.7")
// implementation("io.ktor:ktor-server-netty:1.6.7")
@Suppress("JSON_FORMAT_REDUNDANT")
fun main() {
embeddedServer(Nett... | 7 | Kotlin | 0 | 1 | 5cc4121186e8a1cf86725641ffa3d56aa255b04e | 768 | samples | Apache License 2.0 |
fontawesome/src/de/msrd0/fontawesome/icons/FA_FORUMBEE.kt | msrd0 | 363,665,023 | false | null | /* @generated
*
* This file is part of the FontAwesome Kotlin library.
* https://github.com/msrd0/fontawesome-kt
*
* This library is not affiliated with FontAwesome.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may... | 1 | Kotlin | 0 | 0 | 35406669ca5592ee3480ccfba51a00d975ac07af | 1,755 | fontawesome-kt | Apache License 2.0 |
examples/src/main/kotlin/com/algolia/instantsearch/examples/showcase/view/highlighting/HighlightingShowcase.kt | algolia | 55,971,521 | false | null | package com.algolia.instantsearch.examples.showcase.view.highlighting
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.algolia.instantsearch.core.connection.ConnectionHandler
import com.algolia.instantsearch.core.hits.connectHitsView
import com.algolia.instantsearch.examples.R
import... | 5 | Kotlin | 22 | 140 | 7feb9f30bd32c963161ceead279d1c4f1525d783 | 1,799 | instantsearch-android | Apache License 2.0 |
src/main/kotlin/ru/ezhov/example/ddd/sample/phone/model/Target.kt | ezhov-da | 310,930,063 | false | null | @file:Suppress("DataClassPrivateConstructor")
package ru.ezhov.example.ddd.sample.phone.model
import arrow.core.Either
sealed class Target(val type: Type) {
data class Phone private constructor(val value: String) : Target(type = Type.PHONE) {
companion object {
private const val VALID_PHONE =... | 0 | Kotlin | 0 | 0 | 34407c25ada74dfd727e583597d1e06b3ca3b236 | 2,021 | learn-kotlin | MIT License |
app/src/main/java/com/amazon/ivs/broadcast/injection/InjectionModule.kt | aws-samples | 408,961,293 | false | null | package com.amazon.ivs.broadcast.injection
import com.amazon.ivs.broadcast.App
import com.amazon.ivs.broadcast.cache.PREFERENCES_NAME
import com.amazon.ivs.broadcast.cache.PreferenceProvider
import com.amazon.ivs.broadcast.cache.SecuredPreferenceProvider
import com.amazon.ivs.broadcast.common.broadcast.BroadcastManage... | 0 | Kotlin | 4 | 9 | 084a2f8f3448041add862156f3fa95ffe3314d8b | 760 | amazon-ivs-broadcast-for-android-demo | MIT No Attribution |
core/src/main/kotlin/com/github/haschi/dominium/haushaltsbuch/core/application/Anwendung.kt | haschi | 52,821,330 | false | null | package com.github.haschi.dominium.haushaltsbuch.core.application
import com.github.haschi.dominium.haushaltsbuch.core.domain.Historie
import org.axonframework.commandhandling.CommandBus
import org.axonframework.commandhandling.gateway.CommandGatewayFactory
import kotlin.reflect.KClass
import org.axonframework.config.... | 11 | Kotlin | 2 | 4 | e3222c613c369b4a58026ce42c346b575b3082e5 | 1,274 | dominium | MIT License |
demo/src/main/kotlin/zsu/serial/demo1/Demo1.kt | zsqw123 | 759,914,610 | false | {"Kotlin": 400} | package zsu.serial.demo1
import kotlinx.serialization.KSerializer
import kotlinx.serialization.Serializable
import kotlinx.serialization.descriptors.SerialDescriptor
import kotlinx.serialization.encodeToString
import kotlinx.serialization.encoding.Decoder
import kotlinx.serialization.encoding.Encoder
import kotlinx.se... | 0 | Kotlin | 0 | 0 | 110f82671670522f8b0e59339fa101f5ac92f7e0 | 984 | KSerializationSample | Apache License 2.0 |
domene/src/main/kotlin/no/nav/tiltakspenger/vedtak/Tiltaksaktivitet.kt | navikt | 487,246,438 | false | null | package no.nav.tiltakspenger.vedtak
import java.time.LocalDate
import java.time.LocalDateTime
// Dokumentert her: https://confluence.adeo.no/display/ARENA/Arena+-+Tjeneste+Webservice+-+TiltakOgAktivitet_v1#ArenaTjenesteWebserviceTiltakOgAktivitet_v1-HentTiltakOgAktiviteterForBrukerResponse
data class Tiltaksaktivitet... | 6 | Kotlin | 0 | 2 | dde1b0532caed17b6bad77e1de4917f829adea1c | 11,729 | tiltakspenger-vedtak | MIT License |
core/designsystem/src/main/java/com/jerryalberto/mmas/core/designsystem/theme/Theme.kt | jchodev | 749,966,300 | false | {"Kotlin": 82580} | package com.jerryalberto.mmas.core.designsystem.theme
import android.app.Activity
import android.os.Build
import androidx.annotation.VisibleForTesting
import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.darkColorScheme
import android... | 0 | Kotlin | 1 | 2 | c95fed063a20e65fb48a71ad9f3173574f13b6b7 | 3,837 | MMAS-JC | MIT License |
client/app/src/main/java/com/healthc/app/presentation/auth/register/UserInfoFragment.kt | Team-HealthC | 601,915,784 | false | {"Kotlin": 175023} | package com.example.healthc.presentation.auth.register
import android.content.Intent
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Toast
import androidx.databinding.DataBindingUtil
import androidx.fragment.app.Fragment
import an... | 5 | Kotlin | 1 | 2 | d74bff575502c4360e9735e8d558b907240ed4fe | 3,154 | HealthC_Android | MIT License |
core/src/commonTest/kotlin/pw/binom/TestQueueCompose.kt | caffeine-mgn | 182,165,415 | false | null | package pw.binom
import kotlin.test.Test
import kotlin.test.assertEquals
import kotlin.test.fail
import pw.binom.thread.*
class TestQueueCompose {
@Test
fun testFirstEmpty() {
val queue1 = FreezedStack<String>().asFiFoQueue()
val queue2 = FreezedStack<String>().asFiFoQueue()
val queu... | 7 | null | 2 | 59 | 580ff27a233a1384273ef15ea6c63028dc41dc01 | 1,780 | pw.binom.io | Apache License 2.0 |
legacy/src/main/kotlin/rs/emulate/legacy/graphics/GraphicsDecoder.kt | apollo-rsps | 50,723,825 | false | null | package rs.emulate.legacy.graphics
import io.netty.buffer.ByteBuf
import rs.emulate.legacy.archive.Archive
import rs.emulate.legacy.graphics.GraphicsConstants.INDEX_FILE_NAME
import rs.emulate.legacy.graphics.sprite.MediaId
import java.nio.ByteBuffer
/**
* A base class for graphics ArchiveEntry decoders.
*
* @para... | 6 | null | 5 | 12 | fba5069744a04835c23373c1d11f90b201cdc604 | 970 | Vicis | ISC License |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/inspector/CfnResourceGroupPropsDsl.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 70198112} | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package cloudshift.awscdk.dsl.services.inspector
import cloudshift.awscdk.common.CdkDslMarker
import ... | 3 | Kotlin | 0 | 3 | 256ad92aebe2bcf9a4160089a02c76809dbbedba | 2,761 | awscdk-dsl-kotlin | Apache License 2.0 |
domain/src/main/java/com/joeloewi/domain/repository/HoYoLABRepository.kt | joeloewi7178 | 489,906,155 | false | null | package com.joeloewi.domain.repository
import com.joeloewi.domain.entity.BaseResponse
import com.joeloewi.domain.entity.GameRecordCardData
import com.joeloewi.domain.entity.GenshinDailyNoteData
import com.joeloewi.domain.entity.UserFullInfo
interface HoYoLABRepository {
suspend fun getUserFullInfo(cookie: String)... | 10 | Kotlin | 0 | 3 | 7ad75f550e7b93b6c6372e9f7ad505adadac6d54 | 801 | Croissant | Apache License 2.0 |
core/src/main/java/io/karte/android/core/logger/Appender.kt | plaidev | 208,185,127 | false | {"Kotlin": 857882, "Java": 27008, "Ruby": 13282, "Shell": 3765, "CSS": 157} | //
// Copyright 2020 PLAID, 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 agr... | 3 | Kotlin | 4 | 5 | 01a977dc3b440c998ae860f589987f3e4aaba635 | 2,090 | karte-android-sdk | Apache License 2.0 |
analysis/low-level-api-fir/testData/lazyResolve/compilerRequiredAnnotationsOnProperty.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... | annotation class Anno(val s: String)
@Deprecated("property")
@Anno("property")
@set:Deprecated("setter")
var memberP<caret>roperty = 32
@Deprecated("getter")
@Anno("getter")
get() = field
@Anno("setter")
@setparam:[Deprecated("setparam") Anno("setparam")]
set(value) {
field = value
... | 181 | Kotlin | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 321 | kotlin | Apache License 2.0 |
feature-nft-impl/src/main/java/jp/co/soramitsu/nft/impl/navigation/NavAction.kt | soramitsu | 278,060,397 | false | null | package jp.co.soramitsu.nft.impl.navigation
sealed interface NavAction {
object BackPressed : NavAction
object QRCodeScanner : NavAction
class ShowError(
val errorTitle: String?,
val errorText: String
) : NavAction
@JvmInline
value class ShowToast(
val toastMessage: ... | 15 | null | 30 | 89 | 1de6dfa7c77d4960eca2d215df2bdcf71a2ef5f2 | 433 | fearless-Android | Apache License 2.0 |
feature/sample/pkg/src/main/java/com/dawn/sample/pkg/feature/data/entity/CountDownList.kt | blank-space | 304,529,347 | false | null | package com.dawn.sample.pkg.feature.data.entity
import com.dawn.base.viewmodel.iface.IBaseList
/**
* @author : LeeZhaoXing
* @date : 2021/9/2
* @desc :
*/
data class CountDownList(val list: MutableList<Long>) : IBaseList {
override fun getDataList(): MutableList<Long> = list
override fun getTotals():... | 0 | Kotlin | 2 | 6 | bc95dce263adc6968e1c55eccf18ebfc8362c2b5 | 338 | scaffold | Apache License 2.0 |
app/src/main/java/cn/cqautotest/sunnybeach/ui/activity/UserCenterActivity.kt | anjiemo | 378,095,612 | false | null | package cn.cqautotest.sunnybeach.ui.activity
import android.annotation.SuppressLint
import androidx.activity.viewModels
import androidx.core.content.ContextCompat
import by.kirich1409.viewbindingdelegate.viewBinding
import cn.cqautotest.sunnybeach.R
import cn.cqautotest.sunnybeach.app.AppActivity
import cn.cqautotest.... | 1 | null | 5 | 19 | 687bcbbb1b08a3dac4d44d04f9dbad84d554b279 | 5,524 | SunnyBeach | Apache License 2.0 |
src/main/kotlin/lt/ekgame/ui/containers/FlexRowContainer.kt | ekgame | 422,901,098 | false | {"Kotlin": 152475} | package lt.ekgame.ui.containers
import lt.ekgame.ui.*
import lt.ekgame.ui.constraints.*
import lt.ekgame.ui.containers.helpers.FlexPlacementHelper
import java.awt.Color
open class FlexRowContainer(
id: String = "",
parent: Container?,
size: SizeConstraints = SizeConstraints.DEFAULT,
padding: PaddingVa... | 0 | Kotlin | 0 | 1 | 6ab0986eccb9f8f64b0edb5790f643163491af82 | 3,370 | ek-ui | MIT License |
src/main/kotlin/uk/gov/justice/digital/hmpps/sentenceplan/entity/StepEntity.kt | ministryofjustice | 783,789,996 | false | {"Kotlin": 134325, "Makefile": 2474, "Dockerfile": 1145} | package uk.gov.justice.digital.hmpps.sentenceplan.entity
import com.fasterxml.jackson.annotation.JsonIgnore
import jakarta.persistence.Column
import jakarta.persistence.Entity
import jakarta.persistence.EnumType
import jakarta.persistence.Enumerated
import jakarta.persistence.FetchType
import jakarta.persistence.Gener... | 3 | Kotlin | 0 | 1 | 237d07620715d7c01eb9671d0090005ed582fe02 | 1,659 | hmpps-sentence-plan | MIT License |
common-ui-list/file-system/src/main/java/com/storyteller_f/file_system/instance/local/RootAccessFileInstance.kt | storytellerF | 576,917,592 | false | null | package com.storyteller_f.file_system.instance.local
import com.storyteller_f.file_system.FileInstanceFactory
import com.storyteller_f.file_system.instance.FileInstance
import com.storyteller_f.file_system.model.DirectoryItemModel
import com.storyteller_f.file_system.model.FileItemModel
import com.storyteller_f.file_s... | 4 | Kotlin | 0 | 1 | 2b46cd3f304859823a6f2a73e28e05f808d7b48e | 3,662 | common-ui-list-structure | MIT License |
src/main/kotlin/moe/nea/firmament/gui/config/AllConfigsGui.kt | nea89o | 637,563,904 | false | null |
package moe.nea.firmament.gui.config
import io.github.notenoughupdates.moulconfig.observer.ObservableList
import io.github.notenoughupdates.moulconfig.xml.Bind
import net.minecraft.client.gui.screen.Screen
import net.minecraft.text.Text
import moe.nea.firmament.features.FeatureManager
import moe.nea.firmament.repo.R... | 25 | null | 6 | 37 | 9cdc30e024fac9fe04eeeccb15dfd46f4aa648cb | 1,390 | Firmament | Apache License 2.0 |
src/main/kotlin/com/codepoetics/stygian/Domain.kt | poetix | 92,292,108 | false | null | package com.codepoetics.stygian
import java.util.concurrent.CompletableFuture
/**
* An asynchronously-returned result.
*/
typealias Async<O> = CompletableFuture<O>
/**
* A function which returns a result asynchronously.
*/
typealias AsyncFunction<I, O> = (I) -> Async<O>
/**
* A function which returns a result ... | 1 | null | 1 | 1 | 62d54c9ad2c8ffe88c17415148e1f09507efca0e | 1,733 | stygian | MIT License |
pack/src/main/kotlin/io/github/shkschneider/awesome/pack/PlayerHealth.kt | shkschneider | 555,774,039 | false | null | package io.github.shkschneider.awesome.pack
import io.github.shkschneider.awesome.custom.Event
import net.fabricmc.fabric.api.event.lifecycle.v1.ServerLifecycleEvents
object PlayerHealth {
private const val NAME = "Health"
operator fun invoke() {
@Event("ServerLifecycleEvents.ServerStarted")
... | 0 | Kotlin | 0 | 0 | 0ff68dafdbd5a8be3b4626875efe960bd97478f2 | 824 | mc_awesome | MIT License |
app/src/main/java/com/teobaranga/monica/contacts/detail/activities/edit/ui/EditContactActivityUiState.kt | teobaranga | 686,113,276 | false | {"Kotlin": 407315} | package com.teobaranga.monica.contacts.detail.activities.edit.ui
import androidx.compose.foundation.text.input.TextFieldState
import androidx.compose.runtime.Stable
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateListOf
import androidx.compose.runtime.mutableStateOf
import androidx... | 2 | Kotlin | 1 | 16 | 1fd67b6d5692c50fc29377a33210546f62419cc7 | 938 | monica | Apache License 2.0 |
plugin/project-plugin/src/main/kotlin/plugin/ProjectPlugin.kt | top-bettercode | 387,652,015 | false | null | package plugin
import ProjectUtil.isBoot
import ProjectUtil.isCloud
import ProjectUtil.isCore
import ProjectUtil.needDoc
import org.gradle.api.JavaVersion
import org.gradle.api.Plugin
import org.gradle.api.Project
import org.gradle.api.plugins.JavaPluginExtension
import org.gradle.api.tasks.SourceSet
/**
*
* @autho... | 0 | Kotlin | 0 | 1 | 6fe2f1eb2e5db2c3b24eef3dd01a1cadbd2a3d17 | 3,014 | summer | Apache License 2.0 |
core/src/main/java/at/specure/data/dao/CellLocationDao.kt | dzlabing | 362,143,915 | true | {"Kotlin": 1366399, "Java": 589125, "HTML": 45339, "Shell": 4061} | package at.specure.data.dao
import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import androidx.room.Transaction
import at.specure.data.Tables
import at.specure.data.entity.CellLocationRecord
@Dao
interface CellLocationDao {
@Query("SELECT * fro... | 0 | Kotlin | 0 | 0 | 7cfb1e8fdba99cfd959369982878eccc1af60573 | 1,306 | open-rmbt-android | Apache License 2.0 |
src/test/kotlin/com/codingjj/jsondbconverter/database/JsonTblRepository.kt | coding-jj | 361,540,795 | false | null | package com.codingjj.jsondbconverter.database
import org.springframework.data.repository.CrudRepository
import java.util.*
interface JsonTblRepository : CrudRepository<JsonTblEntity, UUID> | 0 | Kotlin | 1 | 0 | 0262f0bcab1d32af2a085dcb4e50ef01227f78a6 | 190 | json-db-converter | MIT License |
app/src/main/java/com/kyhsgeekcode/disassembler/FoundString.kt | KYHSGeekCode | 126,714,855 | false | {"Git Config": 1, "Gradle": 4, "YAML": 3, "Java Properties": 2, "Markdown": 7, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Git Attributes": 1, "C": 34, "Kotlin": 106, "JSON": 5, "CMake": 1, "Proguard": 1, "XML": 59, "Java": 38, "C++": 15} | package com.kyhsgeekcode.disassembler
data class FoundString(
val length: Int = 0,
val offset: Long = 0,
val string: String = ""
) | 96 | Kotlin | 91 | 570 | 26916bb894f02f027eb0f38082b0094f5cf0fc3b | 143 | ARMDisasm | MIT License |
app/src/main/java/com/example/android/politicalpreparedness/election/VoterInfoViewModelFactory.kt | simbastart001 | 748,825,661 | false | {"Kotlin": 60979} | package com.example.android.politicalpreparedness.election
import android.app.Application
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import com.example.android.politicalpreparedness.network.models.Election
class VoterInfoViewModelFactory(
private val election: Election,
pr... | 0 | Kotlin | 0 | 0 | 6875619798580f60ad03f5b62ad6485965a00611 | 695 | PolticalPreparedness-App | Apache License 2.0 |
baselib/src/main/java/com/wukangjie/baselib/presenter/RequestCallback.kt | wukangjie | 188,939,915 | false | null | package com.wukangjie.baselib.presenter
import com.wukangjie.baselib.remote.BaseException
interface RequestCallback<T> {
fun onSuccess(data: T)
}
interface RequestMultiplyCallback<T> : RequestCallback<T> {
fun onFail(e: BaseException)
} | 0 | Kotlin | 0 | 0 | cc59ded26f2c1a7bef65cd63ccf22d461625e0a7 | 252 | K-MVVM | Apache License 2.0 |
app/src/main/java/com/twobbble/view/adapter/ItemShotAdapter.kt | 550609334 | 82,531,843 | false | null | package com.twobbble.view.adapter
import android.animation.AnimatorInflater
import android.animation.AnimatorSet
import android.animation.ObjectAnimator
import android.support.v7.widget.CardView
import android.support.v7.widget.RecyclerView
import android.view.LayoutInflater
import android.view.MotionEvent
import andr... | 1 | Kotlin | 62 | 398 | e91797a3d4a0fa7737f983a8914eaa109a452054 | 6,187 | Twobbble | Apache License 2.0 |
app/src/test/java/com/stevesoltys/seedvault/transport/backup/ApkBackupTest.kt | seedvault-app | 104,299,796 | false | null | package com.stevesoltys.seedvault.transport.backup
import android.content.pm.ApplicationInfo.FLAG_SYSTEM
import android.content.pm.ApplicationInfo.FLAG_TEST_ONLY
import android.content.pm.ApplicationInfo.FLAG_UPDATED_SYSTEM_APP
import android.content.pm.InstallSourceInfo
import android.content.pm.PackageInfo
import an... | 98 | null | 9 | 998 | 2bbeece7b7a09e1b3d19f15cb037b197e7e032c6 | 8,949 | seedvault | Apache License 2.0 |
app/src/main/java/com/jesen/cod/gitappkotlin/utils/NaviViewExt.kt | Jesen0823 | 343,987,158 | false | {"Java Properties": 3, "Gradle": 7, "Shell": 1, "Text": 1, "Ignore List": 5, "Batchfile": 1, "Markdown": 2, "Proguard": 4, "Kotlin": 125, "INI": 5, "XML": 69, "Java": 8, "JSON": 3} | import android.annotation.SuppressLint
import android.support.annotation.IdRes
import android.support.design.widget.NavigationView
import android.support.v4.view.GravityCompat
import android.support.v4.view.ViewCompat
import android.support.v4.widget.DrawerLayout
import android.support.v7.view.menu.MenuItemImpl
import ... | 2 | Kotlin | 0 | 0 | 69f9b7ec07bc70545feff5788b02a29373fe66cf | 2,129 | GitAppKotlin | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.