mvasiliniuc/iva-codeint-kotlin-small
Text Generation • Updated • 3 • 1
repo_name stringlengths 7 79 | path stringlengths 8 206 | copies stringclasses 36
values | size stringlengths 2 6 | content stringlengths 55 523k | license stringclasses 15
values | hash stringlengths 32 32 | line_mean float64 7.18 99.5 | line_max int64 16 979 | alpha_frac float64 0.3 0.87 | ratio float64 2.01 8.07 | autogenerated bool 1
class | config_or_test bool 2
classes | has_no_keywords bool 2
classes | has_few_assignments bool 1
class |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
rei-m/android_hyakuninisshu | feature/examresult/src/main/java/me/rei_m/hyakuninisshu/feature/examresult/ui/ExamFinisherFragment.kt | 1 | 2585 | /*
* Copyright (c) 2020. Rei Matsushita.
*
* 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 a... | apache-2.0 | d410b58bcfb1f1bf0ec833344bf10656 | 33.466667 | 88 | 0.725725 | 4.822761 | false | false | false | false |
GlimpseFramework/glimpse-framework | jogl/src/main/kotlin/glimpse/jogl/io/FileChoosers.kt | 1 | 1164 | package glimpse.jogl.io
import java.io.File
import javax.swing.JFileChooser
import javax.swing.JFrame
/**
* Displays a Swing file chooser for opening a file.
* @param fileFilter File filter.
* @param onOpen Action to be run when the user chooses to open the file.
* @param onCancel Action to be run when the user c... | apache-2.0 | 1015fe1a5296996f108d0a277982865f | 34.272727 | 105 | 0.743127 | 3.854305 | false | false | false | false |
langara/USpek | uspekx-junit5/src/jvmMain/kotlin/USpekXJUnit5.kt | 1 | 1271 | package pl.mareklangiewicz.uspek
import org.junit.jupiter.api.DynamicContainer
import org.junit.jupiter.api.DynamicNode
import org.junit.jupiter.api.DynamicTest
import java.net.URI
fun uspekTestFactory(code: () -> Unit): DynamicNode {
uspek(code)
return GlobalUSpekContext.root.dynamicNode()
}
fun suspekTestF... | apache-2.0 | a741087a684c5a6901fcd4b76e273837 | 40 | 119 | 0.74823 | 3.67341 | false | true | false | false |
BrianLusina/MovieReel | app/src/main/kotlin/com/moviereel/ui/settings/SettingsActivity.kt | 1 | 9605 | package com.moviereel.ui.settings
import android.annotation.TargetApi
import android.content.Context
import android.content.Intent
import android.content.res.Configuration
import android.media.Ringtone
import android.media.RingtoneManager
import android.net.Uri
import android.os.Build
import android.os.Bundle
import ... | mit | 60a6388e8f841e4b80f6bc731a87afe5 | 38.526749 | 146 | 0.63113 | 5.646678 | false | false | false | false |
tokenbrowser/token-android-client | app/src/main/java/com/toshi/view/activity/SendETHActivity.kt | 1 | 13126 | /*
* Copyright (c) 2017. Toshi Inc
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This ... | gpl-3.0 | 56067581b6a5f3ef1b546d11e9b6b0bc | 38.539157 | 140 | 0.701356 | 4.59433 | false | false | false | false |
BasinMC/Basin | faucet/src/main/kotlin/org/basinmc/faucet/util/VersionRange.kt | 1 | 5898 | /*
* Copyright 2019 Johannes Donath <johannesd@torchmind.com>
* and other copyright owners as documented in the project's IP log.
*
* 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
*
* ... | apache-2.0 | 735adddec1be982b9b4bb4f2aab005b1 | 27.085714 | 161 | 0.620549 | 3.792926 | false | false | false | false |
WijayaPrinting/wp-javafx | openpss-client-javafx/src/com/hendraanggrian/openpss/ui/price/EditPlatePriceDialog.kt | 1 | 1543 | package com.hendraanggrian.openpss.ui.price
import com.hendraanggrian.openpss.FxComponent
import com.hendraanggrian.openpss.R2
import com.hendraanggrian.openpss.api.OpenPSSApi
import com.hendraanggrian.openpss.schema.PlatePrice
import javafx.beans.property.ReadOnlyDoubleWrapper
import javafx.beans.value.ObservableValu... | apache-2.0 | a70867fc15b1f177bf10511198be7bd3 | 36.634146 | 100 | 0.720026 | 4.33427 | false | false | false | false |
googleapis/gapic-generator-kotlin | generator/src/main/kotlin/com/google/api/kotlin/generator/grpc/Functions.kt | 1 | 20506 | /*
* Copyright 2018 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 ... | apache-2.0 | 4b690621e0930bd48b405b50c38500c2 | 39.257874 | 117 | 0.509168 | 5.549796 | false | true | false | false |
ursjoss/scipamato | public/public-web/src/main/kotlin/ch/difty/scipamato/publ/web/common/BasePage.kt | 1 | 4656 | package ch.difty.scipamato.publ.web.common
import ch.difty.scipamato.common.logger
import ch.difty.scipamato.common.navigator.ItemNavigator
import ch.difty.scipamato.common.web.AbstractPage
import ch.difty.scipamato.common.web.ScipamatoWebSessionFacade
import ch.difty.scipamato.publ.config.ApplicationPublicProperties
... | bsd-3-clause | b8e573998f8e53f4772110f62343049b | 42.514019 | 101 | 0.773625 | 4.609901 | false | false | false | false |
aucd29/common | library/src/main/java/net/sarangnamu/common/BkView.kt | 1 | 4477 | /*
* Copyright 2016 Burke Choi All rights reserved.
* http://www.sarangnamu.net
*
* 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/LIC... | apache-2.0 | ccc2b86f76274053da96675aa82ffc4f | 29.25 | 113 | 0.687291 | 4.203756 | false | false | false | false |
PaulWoitaschek/Voice | data/src/main/kotlin/voice/data/legacy/LegacyBookMetaData.kt | 1 | 680 | package voice.data.legacy
import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey
import java.util.UUID
@Entity(tableName = "bookMetaData")
data class LegacyBookMetaData(
@ColumnInfo(name = "id")
@PrimaryKey
val id: UUID,
@ColumnInfo(name = "type")
val type: LegacyBookTyp... | gpl-3.0 | b30bccdfa07864e62b96ab3cf3c3fbec | 22.448276 | 59 | 0.697059 | 3.523316 | false | false | false | false |
DSolyom/ViolinDS | ViolinDS/app/src/main/java/ds/violin/v1/widget/adapter/SectionedAdapter.kt | 1 | 5753 | /*
Copyright 2016 Dániel Sólyom
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... | apache-2.0 | 2ae65bf2c9dbe06cfc92c513f7722aef | 33.238095 | 119 | 0.59294 | 4.698529 | false | false | false | false |
andrei-heidelbacher/metanalysis | chronolens-test/src/main/kotlin/org/chronolens/test/core/model/EditBuilders.kt | 1 | 4345 | /*
* Copyright 2018 Andrei Heidelbacher <andrei.heidelbacher@gmail.com>
*
* 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 ... | apache-2.0 | 2b39748918f468de286d6801efeeab4d | 29.815603 | 80 | 0.693441 | 4.214355 | false | false | false | false |
NextFaze/dev-fun | devfun/src/main/java/com/nextfaze/devfun/invoke/InvokeUi.kt | 1 | 9180 | package com.nextfaze.devfun.invoke
import android.app.Dialog
import android.os.Bundle
import android.os.Handler
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.view.Window
import android.widget.Button
import android.widget.ProgressBar
import android.widget.Spinn... | apache-2.0 | 4f9c2d2f3f1c427100ed54108d53b318 | 39.619469 | 209 | 0.596732 | 5.111359 | false | false | false | false |
jospint/Architecture-Components-DroidDevs | ArchitectureComponents/app/src/main/java/com/jospint/droiddevs/architecturecomponents/view/start/PlacesAdapter.kt | 1 | 1367 | package com.jospint.droiddevs.architecturecomponents.view.start
import android.support.v7.widget.RecyclerView
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.jospint.droiddevs.architecturecomponents.R
import com.jospint.droiddevs.architecturecomponents.data.googlema... | apache-2.0 | 7e1b1a6112bfee0af1d76d9bd4f8877a | 39.235294 | 108 | 0.754206 | 4.423948 | false | false | false | false |
nickthecoder/paratask | paratask-core/src/main/kotlin/uk/co/nickthecoder/paratask/parameters/FloatParameter.kt | 1 | 3112 | /*
ParaTask Copyright (C) 2017 Nick Robinson
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in t... | gpl-3.0 | fdadf24c637a9441f9511aa2afde83ad | 30.755102 | 116 | 0.612468 | 4.60355 | false | false | false | false |
wiltonlazary/kotlin-native | build-tools/src/main/kotlin/org/jetbrains/kotlin/benchmark/SwiftBenchmarkingPlugin.kt | 1 | 4537 | package org.jetbrains.kotlin.benchmark
import org.gradle.api.NamedDomainObjectContainer
import org.gradle.api.Project
import org.gradle.api.Task
import org.jetbrains.kotlin.*
import org.jetbrains.kotlin.gradle.plugin.KotlinSourceSet
import org.jetbrains.kotlin.gradle.plugin.mpp.Framework
import org.jetbrains.kotlin.gr... | apache-2.0 | de7e8b3a1af18966380c203efed7331d | 41.411215 | 144 | 0.694071 | 4.878495 | false | true | false | false |
ashdavies/data-binding | mobile/src/main/kotlin/io/ashdavies/playground/conferences/ConferencesFragment.kt | 1 | 1660 | package io.ashdavies.playground.conferences
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.fragment.app.viewModels
import androidx.lifecycle.Observer
import androidx.lifecycle.lifecycleScope
import... | apache-2.0 | ae1179ff6d02b57d675dea2b71c9515d | 32.2 | 114 | 0.787952 | 4.729345 | false | false | false | false |
antoniolg/Bandhook-Kotlin | app/src/main/java/com/antonioleiva/bandhookkotlin/ui/screens/detail/BiographyFragment.kt | 1 | 2197 | /*
* Copyright (C) 2016 Alexey Verein
*
* 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 ag... | apache-2.0 | 8cccc5a98ef5752b2227964fce0e16e3 | 33.888889 | 116 | 0.71188 | 4.548654 | false | false | false | false |
LarsKrogJensen/graphql-kotlin | src/main/kotlin/graphql/validation/rules/LoneAnonymousOperation.kt | 1 | 1412 | package graphql.validation.rules
import graphql.language.Document
import graphql.language.OperationDefinition
import graphql.validation.IValidationContext
import graphql.validation.ValidationErrorType
import graphql.validation.*
class LoneAnonymousOperation(validationContext: IValidationContext,
... | mit | 24cf79b679fd05d10c0ac063c0fea5d8 | 33.439024 | 135 | 0.675637 | 5.308271 | false | false | false | false |
nickbutcher/plaid | core/src/main/java/io/plaidapp/core/dribbble/data/api/model/Shot.kt | 1 | 1564 | /*
* Copyright 2018 Google LLC.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | apache-2.0 | 1d081bb45f799a449de92eef2b1010bc | 36.238095 | 87 | 0.719309 | 3.989796 | false | false | false | false |
hummatli/MAHAds | app-cross-promoter/src/main/java/com/mobapphome/appcrosspromoter/ProgramItmAdpt.kt | 2 | 3755 | package com.mobapphome.appcrosspromoter
import android.support.v7.widget.RecyclerView
import android.util.Log
import android.util.TypedValue
import android.view.View
import android.view.ViewGroup
import com.bumptech.glide.Glide
import com.mobapphome.appcrosspromoter.commons.*
import com.mobapphome.appcrosspromoter.too... | apache-2.0 | 57489b3b41ebd8844f9ecff138ba47c3 | 41.681818 | 144 | 0.626897 | 4.45433 | false | false | false | false |
equeim/tremotesf-android | app/src/main/kotlin/org/equeim/tremotesf/ui/AboutFragment.kt | 1 | 5312 | /*
* Copyright (C) 2017-2022 Alexey Rochev <equeim@gmail.com>
*
* This file is part of Tremotesf.
*
* Tremotesf is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at... | gpl-3.0 | a7acf3810545f30e453d838d1e72dcf0 | 37.773723 | 94 | 0.656438 | 5.088123 | false | false | false | false |
MimiReader/mimi-reader | mimi-app/src/main/java/com/emogoth/android/phone/mimi/activity/SlidingPanelActivity.kt | 1 | 12646 | package com.emogoth.android.phone.mimi.activity
import android.content.Intent
import android.graphics.Color
import android.os.Bundle
import android.text.TextUtils
import android.view.Menu
import android.view.MenuItem
import android.view.View
import android.view.ViewGroup
import androidx.appcompat.widget.Toolbar
import... | apache-2.0 | 112e2fc160599bd423209b6d8ab3af7d | 38.398754 | 164 | 0.628815 | 4.764883 | false | false | false | false |
ffc-nectec/FFC | ffc/src/main/kotlin/ffc/app/health/service/HealthCareServiceAdapter.kt | 1 | 5968 | package ffc.app.health.service
import android.support.annotation.DrawableRes
import android.support.annotation.StringRes
import android.support.v7.widget.LinearLayoutManager
import android.support.v7.widget.RecyclerView
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import an... | apache-2.0 | 1039da83ead762ad2981a6656d622306 | 39.117241 | 103 | 0.71291 | 3.745654 | false | false | false | false |
sugnakys/UsbSerialConsole | UsbSerialConsole/app/src/main/java/jp/sugnakys/usbserialconsole/presentation/home/HomeFragment.kt | 1 | 7815 | package jp.sugnakys.usbserialconsole.presentation.home
import android.graphics.Color
import android.graphics.drawable.ColorDrawable
import android.os.Bundle
import android.view.LayoutInflater
import android.view.Menu
import android.view.MenuInflater
import android.view.MenuItem
import android.view.View
import android.... | mit | a7b7ddffd91304567d128ce3e3f99e52 | 35.353488 | 96 | 0.601536 | 5.442201 | false | false | false | false |
panpf/sketch | sketch/src/androidTest/java/com/github/panpf/sketch/test/http/HttpHeadersTest.kt | 1 | 11263 | /*
* Copyright (C) 2022 panpf <panpfpanpf@outlook.com>
*
* 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... | apache-2.0 | ef1b135eea97c70a60b004b445baaded | 32.227139 | 143 | 0.554559 | 4.399609 | false | true | false | false |
lare96/luna | plugins/api/predef/EventPredef.kt | 1 | 4009 | package api.predef
import api.event.InterceptBy
import api.event.InterceptUseItem
import api.event.Matcher
import io.luna.game.event.Event
import io.luna.game.event.EventListener
import io.luna.game.event.impl.ButtonClickEvent
import io.luna.game.event.impl.CommandEvent
import io.luna.game.event.impl.ItemClickEvent.*
... | mit | 81824c326fcdd3acbd0cd9e6cbea7111 | 34.803571 | 98 | 0.738339 | 3.618231 | false | false | false | false |
vondear/RxTools | RxKit/src/main/java/com/tamsiree/rxkit/RxConstants.kt | 1 | 5506 | package com.tamsiree.rxkit
import java.io.File
import java.text.DecimalFormat
import java.util.*
/**
* @author tamsiree
* @date 2017/1/13
*/
object RxConstants {
const val FAST_CLICK_TIME = 100
const val VIBRATE_TIME = 100
//----------------------------------------------------常用链接- start --------------... | apache-2.0 | 02fe767c1588910d9a1202a78074e17f | 34.187919 | 185 | 0.567531 | 3.349521 | false | false | false | false |
wikimedia/apps-android-wikipedia | app/src/main/java/org/wikipedia/talk/NotificationDirectReplyHelper.kt | 1 | 4823 | package org.wikipedia.talk
import android.app.NotificationManager
import android.content.Context
import android.os.Build
import android.widget.Toast
import androidx.core.app.NotificationCompat
import androidx.core.app.NotificationManagerCompat
import androidx.core.content.getSystemService
import io.reactivex.rxjava3.a... | apache-2.0 | 5060f4450340be79203b7b14328a527a | 42.0625 | 132 | 0.618495 | 4.866801 | false | false | false | false |
slartus/4pdaClient-plus | app/src/main/java/org/softeg/slartus/forpdaplus/fragments/search/ForumsTreeDialogFragment.kt | 1 | 9017 | package org.softeg.slartus.forpdaplus.fragments.search
import android.app.Dialog
import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.*
import android.widget.AdapterView.OnIt... | apache-2.0 | ac4a0121a3d928894c472e8f1ce8b4d7 | 33.551724 | 100 | 0.566929 | 5.001109 | false | false | false | false |
hannesa2/owncloud-android | owncloudDomain/src/main/java/com/owncloud/android/domain/sharing/shares/model/OCShare.kt | 2 | 1932 | /**
* ownCloud Android client application
*
* @author David González Verdugo
* Copyright (C) 2020 ownCloud GmbH.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* This p... | gpl-2.0 | 5e68178a922ad6e006c47b514831c639 | 25.452055 | 80 | 0.683584 | 3.956967 | false | false | false | false |
AndroidX/androidx | compose/ui/ui-text/src/androidMain/kotlin/androidx/compose/ui/text/platform/AndroidTextPaint.android.kt | 3 | 5267 | /*
* 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... | apache-2.0 | 0a1fd01162ee987d924d22cb82436e3a | 36.899281 | 96 | 0.647238 | 4.604021 | false | false | false | false |
This is the curated valid split of IVA Kotlin dataset extracted from GitHub. It contains curated Kotlin files gathered with the purpose to train & validate a code generation model.
The dataset only contains a valid split.
For validation and unspliced versions, please check the following links:
Information about dataset structure, data involved, licenses and standard Dataset Card information is available that applies to this dataset also.
The dataset comprises source code from various repositories, potentially containing harmful or biased code, along with sensitive information such as passwords or usernames.