added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817818 | {
"extension": "c-sharp",
"max_stars_count": "216.0",
"max_stars_repo_name": "ThomasBleijendaal/RapidCMS",
"max_stars_repo_path": "src/RapidCMS.Core/Resolvers/Repositories/CollectionAliasResolver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137038"
} | starcoder | <filename>src/RapidCMS.Core/Resolvers/Repositories/CollectionAliasResolver.cs
using System.Collections.Generic;
using RapidCMS.Core.Abstractions.Resolvers;
namespace RapidCMS.Core.Resolvers.Repositories
{
internal class CollectionAliasResolver : ICollectionAliasResolver
{
private readonly IReadOnlyDic... | 2.214536 | fd58032801dbd86f722fd23545ab314e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817819 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "LaNsDiego/RePositorioUPTCapas",
"max_stars_repo_path": "Repositorio.Dominio/Repositorio.Dominio/Entidades/DetalleArticuloAutor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137039"
} | starcoder | <filename>Repositorio.Dominio/Repositorio.Dominio/Entidades/DetalleArticuloAutor.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Repositorio.Dominio.Entidades
{
public class DetalleArticuloAutor
{
public int IdDetalleArti... | 1.96332 | 5998a586f5d697f4a9e0d9b73804d1ca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817820 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OrganicAdapter/HouseParty",
"max_stars_repo_path": "src/Orchard.Web/Modules/SoftIT.ExtendedUsers/Views/SoftIT.ExtendedUsers.ExtendedUserSummary.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:137040"
} | starcoder | @Display(Model.DisplayShape()) | 1.049395 | 345b7367b178941148d4ae8578ef5aa6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817821 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "odalet/Gwi",
"max_stars_repo_path": "src/Gwi.OpenGL/Gwi.OpenGL/supportingTypes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137041"
} | starcoder | <reponame>odalet/Gwi
//namespace Gwi.OpenGL
//{
// public readonly struct CLContext
// {
// public CLContext(nint value) => Value = value;
// public nint Value { get; }
// public static explicit operator CLContext(nint value) => new(value);
// }
// public readonly struct CLEvent
// ... | 1.718636 | 3fba16e61219097929188d83baeaa0bf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817822 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MiraNedeva/SoftUni",
"max_stars_repo_path": "Programming Fundamentals C#/10.Strings And Text Processing/Convert From Base N To Base10/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137042"
} | starcoder | <filename>Programming Fundamentals C#/10.Strings And Text Processing/Convert From Base N To Base10/Program.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;
/* Write a program that takes a base-N number and converts... | 3.894688 | 683563c0316cd402365d5f998cde8e17 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817823 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tonykhoapro/BounceOriginal",
"max_stars_repo_path": "Bounce/Assets/Scripts/GameManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137043"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class GameManager : MonoBehaviour {
public static int MaxLevel = 6;
public static int PlayerLife = 3;
public static int Level = 1;
public Text Life... | 2.171021 | 93d47955c094f35af9f2ebe3431c2a5a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817824 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "michel98/RA1",
"max_stars_repo_path": "RA-KimberlyMichelEstradaBlanco/WindowsRA1/Medicos Canalizadores/frmDatosDeMedicoCan.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137044"
} | starcoder | namespace WindowsRA1.Medicos_Canalizadores
{
partial class frmDatosDeMedicoCan
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... | 1.929726 | 872d2039757556d1b85e3fdd7d81870e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817825 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "616b2f/Athene",
"max_stars_repo_path": "src/Athene.Inventory/Abstractions/Inventory/Models/InventoryItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137045"
} | starcoder | <reponame>616b2f/Athene<gh_stars>0
using System;
using System.Collections.Generic;
namespace Athene.Inventory.Abstractions.Models
{
public class InventoryItem
{
public InventoryItem()
{
this.Notes = new HashSet<ItemNote>();
}
public int Id { get; set; }
publi... | 1.840815 | 13b55b007744c481757e6af343a1bd2c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817826 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "anasiqbal/TwinStickShooter",
"max_stars_repo_path": "TwinStickShooter.Shared/Gameplay/Enemy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137046"
} | starcoder | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
namespace TwinStickShooter
{
class Enemy : Entity
{
static Random rand = new Random ();
const float inactiveTime = 1;
float timeUntilStart = inactiveTime; // time in seconds before enemy can... | 2.806307 | 51dc54f0c3f98bae0bb9466be098291c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817827 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "HugoFang/EZUnity",
"max_stars_repo_path": "Assets/EZhex1991/EZUnity/Runtime/Playables/EZMaterialFloatPropertyClip.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137047"
} | starcoder | <reponame>HugoFang/EZUnity
/* Author: <EMAIL>
* CreateTime: 2019-08-15 20:49:52
* Organization: #ORGANIZATION#
* Description:
*/
using UnityEngine;
using UnityEngine.Playables;
namespace EZhex1991.EZUnity.Playables
{
public class EZMaterialFloatPropertyClip : PlayableAsset
{
[... | 1.424762 | a41ce7134b6d00444005c74c7e6e20e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817828 | {
"extension": "c-sharp",
"max_stars_count": "780.0",
"max_stars_repo_name": "OliveiraLands/cofoundry",
"max_stars_repo_path": "src/Cofoundry.Web.Admin/Admin/Api/CustomEntities/CustomEntityRoutingRulesApiController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137048"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Cofoundry.Domain;
using Cofoundry.Domain.CQS;
namespace Cofoundry.Web.Admin
{
public class CustomEntityRoutingRulesApiController : BaseAdminApiController
{
private rea... | 1.853922 | 47e400a10dabe7368f9862a77a58893a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817829 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "vkvenkat/corefx",
"max_stars_repo_path": "src/Common/src/Internal/Cryptography/Windows/ErrorCodeHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137049"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Security.Cryptography;
namespace Internal.Cryptography
{
internal static class ErrorCodeHelper
... | 1.88566 | 717ac675d5b5f789ecde4dcabb8b3474 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817830 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "katie-chiang/ARMultiFPS",
"max_stars_repo_path": "Assets/CaptainsMess/Example/playerHealthScript.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137050"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
namespace ParticleBulletSystem
{
public class playerHealthScript : NetworkBehaviour {
[SyncVar]
public int health = 5;
// Use this for initialization
void Start () {
CmdInitHealth();
}
... | 1.614125 | 67d3ebc19cb71643e98152ebaa1d8fcb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817831 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "GrapeCity/pagefx",
"max_stars_repo_path": "mono/mcs/class/System.Drawing/System.Drawing.Imaging/MetaHeader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137051"
} | starcoder | <gh_stars>10-100
//
// System.Drawing.Imaging.MetaHeader.cs
//
// Authors:
// <NAME> (<EMAIL>)
// <NAME> (<EMAIL>)
// <NAME> (<EMAIL>)
// <NAME> <<EMAIL>>
//
// (C) 2002 Ximian, Inc. http://www.ximian.com
// Copyright (C) 2004, 2006-2007 Novell, Inc (http://www.novell.com)
//
// Permission is here... | 2.075831 | 2b70c424825bfa2fbcbad80e6d474607 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817832 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "ScarletCatalie/reststop",
"max_stars_repo_path": "Assets/Fungus/Scripts/Commands/Math/Sign.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137052"
} | starcoder | <reponame>ScarletCatalie/reststop<gh_stars>1-10
using UnityEngine;
namespace Fungus
{
/// <summary>
/// Command to execute and store the result of a Sign
/// </summary>
[CommandInfo("Math",
"Sign",
"Command to execute and store the result of a Sign")]
[AddComponent... | 2.176427 | de24acbb938f85eac663e8eeaa000be7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817833 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "joinagametable/joinagametable",
"max_stars_repo_path": "JoinAGameTable/Views/Shared/_MessageFlash.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:137053"
} | starcoder | <gh_stars>1-10
@{
var flashMessage = Context.MessageFlash();
if (flashMessage != null)
{
<div class="info-box pos-relative d-block z-1 @flashMessage.Severity" id="infobox-@flashMessage.Severity">
<span class="button square closer" onclick="closeMessageFlash('infobox-@flashMessage.Severit... | 2.197778 | 998fbf4b4aa7429e798d0a036cf2ed9c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817834 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ventera-Corporation/piipan",
"max_stars_repo_path": "components/src/Piipan.Components/Forms/UsaInputSSN.razor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137054"
} | starcoder | using Microsoft.AspNetCore.Components;
using Microsoft.JSInterop;
using System.Linq;
using System.Threading.Tasks;
using System.Timers;
namespace Piipan.Components.Forms
{
/// <summary>
/// The Social Security Number component
/// </summary>
public partial class UsaInputSSN
{
[Inject] prot... | 2.769204 | 7c06054533f07439c4b27603a380f00e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817835 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "BlacCello/MLFlow.NET",
"max_stars_repo_path": "samples/web/WebApplication1/Views/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:137055"
} | starcoder | <reponame>BlacCello/MLFlow.NET
@using WebApplication1
@using WebApplication1.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.396252 | 23999907c91b92e1e9f23849d8038b37 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817836 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Redunderfire/Squidventures",
"max_stars_repo_path": "Assets/Scripts/Player/PlayerMove.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137056"
} | starcoder | <reponame>Redunderfire/Squidventures
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerMove : MonoBehaviour
{
[System.NonSerialized]public float currentFuel; //needs to be public for HUD to access
[Header("Movement Settings")]
[SerializeField]private float w... | 2.337765 | df3a12edba9532dc3b91b8657e59a712 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817837 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dvanlochem/AzureExtensions.Swashbuckle",
"max_stars_repo_path": "src/AzureFunctions.Extensions.Swashbuckle/AzureFunctions.Extensions.Swashbuckle/Attribute/SwashBuckleClientAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:13... | starcoder | using System;
using Microsoft.Azure.Functions.Worker.Extensions.Abstractions;
namespace AzureFunctions.Extensions.Swashbuckle.Attribute
{
[AttributeUsage(AttributeTargets.Parameter)]
public class SwashBuckleClientAttribute : InputBindingAttribute
{
}
} | 1.237988 | 33c0ab1f78dae011897bcb58ac8b6d7d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817838 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "OniqLoshiq/OfficeManagerMini",
"max_stars_repo_path": "OfficeManagerMini/03_App/OMM.App.Infrastructure/AdminSeeder/AdminSeeder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137058"
} | starcoder | <reponame>OniqLoshiq/OfficeManagerMini
using Microsoft.AspNetCore.Identity;
using OMM.Domain;
using System;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using OMM.Data;
using OMM.App.Infrastructure.Common;
namespace OMM.App.Infrastructu... | 2.16808 | 9605410f1bb028520117d53d4f1bae6b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817839 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "scott-mcdonald/ApiFramework",
"max_stars_repo_path": "Source/ApiFramework.Core/Schema/Configuration/Internal/ApiMutableScalarType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137059"
} | starcoder | <gh_stars>1-10
// Copyright (c) 2015–Present <NAME>. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.md in the project root for license information.
using System;
namespace ApiFramework.Schema.Configuration.Internal
{
/// <summary>
/// This API supports the API Framework i... | 1.984721 | 7ccbbefbf25afba4bbd61aebdeaf2120 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817840 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MarkopDev/MarkopTest",
"max_stars_repo_path": "sample/src/Application/Features/News/Queries/GetNews/GetNewsQueryValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137060"
} | starcoder | <filename>sample/src/Application/Features/News/Queries/GetNews/GetNewsQueryValidator.cs
using FluentValidation;
namespace Application.Features.News.Queries.GetNews;
public class GetNewsQueryValidator : AbstractValidator<GetNewsQuery>
{
public GetNewsQueryValidator()
{
RuleFor(p => p.NewsId)
... | 2.148372 | bc8656aa1cb5317ee1ffc581a1a33f28 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817841 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "KarateJB/EzOracle",
"max_stars_repo_path": "JB_EzOracle/JB_EzOracle/ReplaceForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137061"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace JB_EzOracleSQL
{
public partial class ReplaceForm : Form
{
public ReplaceForm()
{
InitializeComponent();
... | 2.713048 | 25e0b6fecff28c0c903ffc718699713e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817842 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "deveel/deveeldb.core",
"max_stars_repo_path": "src/DeveelDb.Core/Data/Sql/SqlNull.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137062"
} | starcoder | <reponame>deveel/deveeldb.core
//
// Copyright 2010-2017 Deveel
//
// 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
//
/... | 2.211799 | d95eae9c2ab9974e8fedd88056a3e512 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817843 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "patsy02/Kompetansetorget.Server",
"max_stars_repo_path": "KompetansetorgetServer/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137063"
} | starcoder | <filename>KompetansetorgetServer/Startup.cs
using Microsoft.Owin;
using Owin;
[assembly: OwinStartupAttribute(typeof(KompetansetorgetServer.Startup))]
namespace KompetansetorgetServer
{
public partial class Startup
{
public void Configuration(IAppBuilder app)
{
//ConfigureAuth(app)... | 1.657941 | 5fe0af24aad18fbb38824a4578dffc06 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817844 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "wotakuro/TimelineExtentionStereo3DCamera",
"max_stars_repo_path": "Assets/Stereo3DExt/Scripts/Runtime/TimelineExtention/Stereo3DPlayable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137064"
} | starcoder | using System.Collections;
using UnityEngine;
using UnityEngine.Playables;
namespace Stereo3DExt.TimelineExtention
{
public class Stereo3DPlayable : PlayableBehaviour
{
public float eyeDistance = 0.0f;
public void SetData(Stereo3DClip clip)
{
this.eyeDistance = clip.eye... | 1.818161 | 9db62b8ec7878130835f3d19d9d8dc48 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817845 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "purpledxd/Valheim-Plugins",
"max_stars_repo_path": "LocatorPlugin/Patches/MinimapPatch.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137065"
} | starcoder | <gh_stars>1-10
using System.Reflection;
using HarmonyLib;
using Purps.Valheim.Locator.Utils;
using UnityEngine;
namespace Purps.Valheim.Locator.Patches {
[HarmonyPatch(typeof(Minimap), "OnMapRightClick")]
public static class MinimapPatch {
[HarmonyPostfix]
internal static void Postfix(Minimap ... | 1.719922 | 17ae4eb944ad6896ebc82e1147181512 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817846 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "mrcdnk/dicomholo",
"max_stars_repo_path": "Assets/Segmentation/RegionGrowSegmentation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137066"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading;
using Threads;
using UnityEngine;
namespace Segmentation
{
public class RegionGrowSegmentation : SegmentationStrategy<RegionGrowSegmentation.RegionGrowParameter>
{
private readonly List<Thread> _runningThreads = new List<Thread>(1... | 2.85127 | 8009ab098e8231b9840852e8c5a3c08c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817847 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "rav050483/P2P-Encrypted-VOIP",
"max_stars_repo_path": "P2PVOIP/Commands.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137067"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Web.Script.Serialization;
using System.Security.Cryptography;
namespace P2PVOIP
{
public class Commands
{
Main main;
//CallManager callmanager;
public CallForm ca... | 2.239988 | a9a0510393e8e74898de237d186d98fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817848 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "plan-do-break-fix/osu",
"max_stars_repo_path": "osu.Game/Screens/Edit/Compose/Components/HitObjectOrderedSelectionContainer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137068"
} | starcoder | // Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Rulesets.Edit;
usi... | 2.302929 | c349726414b46dd5869ea5dbcfd1b560 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817849 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "TARGINO0110/SimulacaoCompra",
"max_stars_repo_path": "SimulacaoCompra/Migrations/BancoDbContextModelSnapshot.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137069"
} | starcoder | <gh_stars>1-10
// <auto-generated />
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage;
using Microsoft.EntityFrameworkCore.Storage.Internal;
... | 1.916534 | e53542c10fa4ca96b19e63d9c7c72d3c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817850 | {
"extension": "c-sharp",
"max_stars_count": "2349.0",
"max_stars_repo_name": "Frunck8206/Pomelo.EntityFrameworkCore.MySql",
"max_stars_repo_path": "test/EFCore.MySql.FunctionalTests/NotificationEntitiesMySqlTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137070"
} | starcoder | <reponame>Frunck8206/Pomelo.EntityFrameworkCore.MySql<gh_stars>1000+
using Pomelo.EntityFrameworkCore.MySql.FunctionalTests.TestUtilities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.TestUtilities;
namespace Pomelo.EntityFrameworkCore.MySql.FunctionalTests
{
public class NotificationEn... | 1.408282 | 1f446602af92e0ecd54743e094608c3f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817851 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "frudberg/PlainCore",
"max_stars_repo_path": "Source/PlainCore.WebAPI/Controllers/V1/AuthenticationController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137071"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Builder;
using AspNet.Security.OpenIdConnect.Primitives;
using AspNet.Security.OpenIdConnect.Extensions;
using AspNet.Security.OpenIdConnect... | 1.868847 | ef17b3ca1f8382d48a973001adeb1ede |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817852 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "UglyToad/MakeMe",
"max_stars_repo_path": "UglyToad.MakeMe/Specification/Name/NamePartData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137072"
} | starcoder | <reponame>UglyToad/MakeMe
namespace UglyToad.MakeMe.Specification.Name
{
using Internal;
internal class NamePartData
{
public Percentage FirstNamePercentage { get; set; } = Percentage.Maximum;
public Percentage MiddleNamePercentage { get; set; } = Percentage.Minimum;
public Perce... | 1.998916 | 91df3504aec2d96795081459c55959d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817853 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "muaddibco/O10city",
"max_stars_repo_path": "Client/Web/O10.Client.Web.Portal/Configuration/PortalConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137073"
} | starcoder | <gh_stars>1-10
using O10.Core.Architecture;
using O10.Core.Configuration;
namespace O10.Client.Web.Portal.Configuration
{
[RegisterExtension(typeof(IConfigurationSection), Lifetime = LifetimeManagement.Singleton)]
public class PortalConfiguration : ConfigurationSectionBase, IPortalConfiguration
{
... | 1.475348 | 156d7b7342a405240aba52da52d20459 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817854 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "umm-projects/animationevent_dispatcher",
"max_stars_repo_path": "Assets/Scripts/UnityModule/AnimationEventDispatcher/AudioDispatcher.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137074"
} | starcoder | using System.Collections.Generic;
using UniRx;
using UnityEngine;
namespace UnityModule.AnimationEventDispatcher {
/// <summary>
/// 音声再生に関するディスパッチャ
/// </summary>
public class AudioDispatcher : Base {
/// <summary>
/// AudioListener のセットアップが済んでいるかどうか
/// </summary>
p... | 2.748907 | ef14af758d5fe77acf8119cd808ce2ac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817855 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "topgenorth/xamarin.android-jobschedulersample",
"max_stars_repo_path": "JobScheduleSample/FibonacciResultReciever.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137075"
} | starcoder | using Android.Content;
using Android.Util;
namespace JobScheduleSample
{
public partial class MainActivity
{
[BroadcastReceiver(Enabled = true, Exported = false)]
protected internal class FibonacciResultReciever : BroadcastReceiver
{
MainActivity activity;
p... | 2.415514 | b0ba269557efeb5c6d169f520d0ec6c8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817856 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "fitchburgstate/spring18",
"max_stars_repo_path": "huntfell/Assets/Scripts/Character/Player/Player.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137076"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.UI;
namespace Hunter.Characters
{
[RequireComponent(typeof(PlayerInventory))]
public sealed class Player : Character, IMoveable, IAttack
{
#region Variables
[Head... | 2.023302 | 9676447c5dbc9e439d55bbdfb7edf8af |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817857 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "trusted-dcr/tdcr",
"max_stars_repo_path": "TDCR.CoreLib/HistoryCollection/CheapShot.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137077"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TDCR.CoreLib.Messages.Network;
using TDCR.CoreLib.Messages.Raft;
namespace TDCR.CoreLib.HistoryCollection
{
public class CheapShot
{
public Tuple<Uid, EventExecution[]>[] Observed { get; private set; }
... | 2.578766 | 030afb53500f8d610498462184cba463 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817858 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nhsevidence/identity",
"max_stars_repo_path": "NICE.Identity.Test/UnitTests/Authentication.Sdk/Authorisation/RoleRequirementHandlerDecorator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137078"
} | starcoder | using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using NICE.Identity.Authentication.Sdk.Authorisation;
using NICE.Identity.Authentication.Sdk.Configuration;
namespace NICE.Identity.Test.UnitTests.Authentication.Sdk.Authorisation
{
/// <su... | 2.101781 | 86af059dba49587143b1d30bc9a21b0f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817859 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tiagosarno/restfull-api-netcore5-hateoas-azure",
"max_stars_repo_path": "harmonicus/harmonicus/Business/Implementations/PsychologistBusinessImplementation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137079"
} | starcoder | using harmonicus.Data.Converter.Implementations;
using harmonicus.Data.VO;
using harmonicus.Hypermedia.Utils;
using harmonicus.Repository;
using System;
using System.Collections.Generic;
namespace harmonicus.Business.Implementations
{
public class PsychologistBusinessImplementation : IPsychologistBusiness
{
... | 2.515498 | 685b44af3b4a705a05b6dee23d2fdeb6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817860 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "sergeyo/Mazegame",
"max_stars_repo_path": "MazegameTest/GroupCommandTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137080"
} | starcoder | <gh_stars>1-10
using Mazegame.Commands;
using Mazegame.Entity;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace MazegameTest
{
[TestClass]
public class GroupCommandTests
{
private NonPlayerCharacter npc = new NonPlayerCharacter("NPC", 1, 1, 1, false);
private NonPlayerCharacte... | 2.444284 | 8b257a6ecf5699856c187cc729821cc3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817861 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "forki/Ensconce",
"max_stars_repo_path": "src/15below.Deployment.Update.Tests/TagDictionaryTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137081"
} | starcoder | using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
namespace FifteenBelow.Deployment.Update.Tests
{
[TestFixture]
public class TagDictionaryTests
{
public TagDictionaryTests()
{
testLock = new Mutex... | 2.281077 | c49fe1b360ad08af9585c843af3bf543 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817862 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "nelsontbrandon/steeltoe",
"max_stars_repo_path": "src/Management/test/ExporterBase.Test/Metrics/CloudFoundryForwarder/SpringBootMetricWriterTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137082"
} | starcoder | // Copyright 2017 the original author or authors.
//
// 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 la... | 1.657468 | b943d72a6930916e519e4a1fe1357bdd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817863 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "john-clark/rust-oxide-umod",
"max_stars_repo_path": "oxide/plugins/rust/DoorLimiter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137083"
} | starcoder | using System.Collections.Generic;
using UnityEngine;
using System;
using Oxide.Core;
using System.Globalization;
namespace Oxide.Plugins
{
[Info("DoorLimiter", "redBDGR", "1.0.6", ResourceId = 2334)]
[Description("Only allow a certain number of people to use one door")]
class DoorLimiter : RustPlugin
... | 2.20605 | 10f998beed52af090fc3f959ee15608e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817864 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MatthiasJansen/Exceptional",
"max_stars_repo_path": "test/ExceptionShield.Test/Scaffolding/CityException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137084"
} | starcoder | <filename>test/ExceptionShield.Test/Scaffolding/CityException.cs
using System;
namespace ExceptionShield.Test.Scaffolding
{
public class CityException : Exception{}
} | 1.333613 | 8b5b6814640aea052eba88df2014fed4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817865 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jaredthirsk/LionFire.Core",
"max_stars_repo_path": "src/LionFire.Plugins/PluginAppHostExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137085"
} | starcoder | using LionFire.Applications.Hosting;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace LionFire.Plugins
{
public class PluginContext
{
public List<string> SearchPaths { get; set; }
... | 2.250387 | 36f8a5f826d530b68b0142e89fd488fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817866 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fw2568/AutoMapper.Extensions.OData",
"max_stars_repo_path": "ExpressionBuilder.Tests/ODataHelpers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137086"
} | starcoder | <gh_stars>0
using ExpressionBuilder.Tests.Data;
using Microsoft.AspNet.OData;
using Microsoft.AspNet.OData.Builder;
using Microsoft.AspNet.OData.Extensions;
using Microsoft.AspNet.OData.Query;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Routing;
using Microsoft.OData.Edm;
using Microsoft.OData.UriParse... | 1.949331 | a2e80f274db0fcce76dccbb3f34967a4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817867 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dend/ac",
"max_stars_repo_path": "ac/ac/Controller/ActivityController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137087"
} | starcoder | using ac.Models;
using System;
using System.ComponentModel;
using System.Runtime.InteropServices;
using System.Threading;
using System.Windows;
using System.Windows.Threading;
namespace ac.Controller
{
[StructLayout(LayoutKind.Sequential)]
public struct POINT
{
public int X;
public int Y;
... | 2.708903 | e895a9e178a263bd7efbd7279acefc97 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817868 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Tencho0/SoftuniEducation",
"max_stars_repo_path": "C# Basics/PB C#/Tasks/Conditional Statements Advanced - Exercise/NewHaus/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137088"
} | starcoder | using System;
namespace NewHaus
{
class Program
{
static void Main(string[] args)
{
string flower = Console.ReadLine();
int num = int.Parse(Console.ReadLine());
int budget = int.Parse(Console.ReadLine());
const double rosesPricePer1 = 5;
... | 3.117444 | 0378a5bfcdb202bf6f4779cdbc574b43 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817869 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MGZero/king-of-thieves-mono",
"max_stars_repo_path": "King of Thieves/Actors/Controllers/CEditorInputController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137089"
} | starcoder | <reponame>MGZero/king-of-thieves-mono
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;
namespace King_of_Thieves.Actors.Controllers
{
class CEditorInputController : CActor
{
... | 2.056851 | 13755b0feaa454ee794bafcd8dab8c0e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817870 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TopperDEL/sharpliner",
"max_stars_repo_path": "eng/Sharpliner.CI/PublishPipeline.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137090"
} | starcoder | <gh_stars>0
using Sharpliner.AzureDevOps;
namespace Sharpliner.CI
{
internal class PublishPipeline : SingleStagePipelineDefinition
{
private const string DestPath = "artifacts/packages";
public override string TargetFile => Pipelines.Location + "publish.yml";
public override TargetPa... | 1.779326 | 3573f8f1a78023ce164b37bba04a0816 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817871 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "forki/NServiceBus",
"max_stars_repo_path": "src/NServiceBus.Core/Persistence/InMemory/TimeoutPersister/InMemoryTimeoutPersistence.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137091"
} | starcoder | <filename>src/NServiceBus.Core/Persistence/InMemory/TimeoutPersister/InMemoryTimeoutPersistence.cs
namespace NServiceBus.InMemory.TimeoutPersister
{
using Features;
/// <summary>
/// Used to configure in memory timeout persistence.
/// </summary>
public class InMemoryTimeoutPersistence : Fe... | 2.201346 | 343dfe3458ea27c77f760aab262e05d4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817872 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NikolaySpasov/Softuni",
"max_stars_repo_path": "C# OOP Basics/Exam/Exam/Utilities/InputParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137092"
} | starcoder | using System;
using System.Collections.Generic;
public class InputParser
{
public List<string> parseInput(string inputLine)
{
return new List<String>(inputLine.Split(new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntries));
}
} | 2.824756 | 3b8cb66d95423d4cf45a89fbeeb31f96 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817873 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ventera-Corporation/piipan",
"max_stars_repo_path": "match/tests/Piipan.Match.Core.Tests/Builders/ActiveMatchRecordBuilderTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137093"
} | starcoder | using System;
using System.Linq;
using Piipan.Match.Api.Models;
using Piipan.Match.Core.Builders;
using Piipan.Match.Core.Models;
using Xunit;
namespace Piipan.Match.Core.Tests.Builders
{
public class ActiveMatchRecordBuilderTests
{
[Fact]
public void SetMatch_SetsHashAndHashType()
{
... | 2.446308 | 653fc936ab98c56b35f783000844f809 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817874 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "quras-official/quras-blockchain-csharp",
"max_stars_repo_path": "QurasCore/Core/Witness.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137094"
} | starcoder | using Quras.IO;
using Quras.IO.Json;
using System.IO;
namespace Quras.Core
{
public class Witness : ISerializable
{
public byte[] InvocationScript;
public byte[] VerificationScript;
public int Size => InvocationScript.GetVarSize() + VerificationScript.GetVarSize();
void ISeri... | 2.615237 | 642143bee6e9d3fd671d01cb45f15736 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817875 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "georgivv7/C-Sharp-Fundamentals-SoftUni",
"max_stars_repo_path": "Exams/04. Fundamentals-MidExam/01. NationalCourt/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137095"
} | starcoder | <reponame>georgivv7/C-Sharp-Fundamentals-SoftUni
using System;
namespace _01._NationalCourt
{
class Program
{
static void Main(string[] args)
{
int employee1 = int.Parse(Console.ReadLine());
int employee2 = int.Parse(Console.ReadLine());
int employee3 = int.... | 3.122045 | b7b1bcf3f0e42412a6eb99ad77fc1659 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817876 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "codetuner/Arebis-MAX-Mapper",
"max_stars_repo_path": "Code/Max.Domain.Mapping/Implementation/HelperExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137096"
} | starcoder | <reponame>codetuner/Arebis-MAX-Mapper<filename>Code/Max.Domain.Mapping/Implementation/HelperExtensions.cs
using System;
namespace Max.Domain.Mapping.Implementation
{
/// <summary>
/// Extension methods that can be used in (generated) mapper code.
/// </summary>
public static class HelperExtensions
... | 2.440237 | 9b8cadff95e6fee6ee3ef01c48d20453 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817877 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cofoundry-cms/Cofoundry.Plugins.Imaging.SkiaSharp",
"max_stars_repo_path": "src/Cofoundry.Plugins.Imaging.SkiaSharp/Resizer/ImageFileSource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137097"
} | starcoder | using SkiaSharp;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace Cofoundry.Plugins.Imaging.SkiaSharp
{
/// <summary>
/// Abstraction for a file loaded by SkiaSharp into
/// memory. This abstraction helps cut down on the amount of using
/// statements requ... | 2.910767 | fb4c14b7625096aedac68cf3dc7bbc98 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817878 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MiniverCheevy/spa-starter-kit",
"max_stars_repo_path": "src/Core/Operations/Teams/Extras/TeamListResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137098"
} | starcoder | using Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Voodoo.Messages;
using Voodoo.Operations.Async;
namespace Core.Operations.Teams.Extras
{
public class TeamListResponse : PagedResponse<TeamRow>
{
}
}
| 0.787075 | ce6b786b1f770c1f638d8d0e8688d41e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817879 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rpavlik/PrettyRegistryXml",
"max_stars_repo_path": "src/PrettyRegistryXml.Core/FormatterUtilities.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137099"
} | starcoder | <reponame>rpavlik/PrettyRegistryXml<gh_stars>1-10
// Copyright 2021 Collabora, Ltd
//
// SPDX-License-Identifier: MIT
#nullable enable
using System.Xml.Linq;
using System.Linq;
using System;
namespace PrettyRegistryXml.Core
{
/// <summary>
/// Assorted utilities factored out from standard-specific formatters... | 2.887015 | cfae29d49520e20a33c6c931c6a8397c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817880 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Opdex/opdex-v1-api",
"max_stars_repo_path": "src/Opdex.Platform.WebApi/Models/Responses/Markets/MarketSnapshotsResponseModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137100"
} | starcoder | <filename>src/Opdex.Platform.WebApi/Models/Responses/Markets/MarketSnapshotsResponseModel.cs<gh_stars>1-10
namespace Opdex.Platform.WebApi.Models.Responses.Markets;
public class MarketSnapshotsResponseModel : PaginatedResponseModel<MarketSnapshotResponseModel>
{
} | 1.378255 | 218b3afdd86b56777412d701580d0af5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817881 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "iRebbok/DSharp4Webhook",
"max_stars_repo_path": "src/DSharp4Webhook/Actions/Interfaces/Rest/ActionClassified/IMessageAction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137101"
} | starcoder | using DSharp4Webhook.Core;
namespace DSharp4Webhook.Actions.Rest
{
/// <summary>
/// Sending a message action.
/// </summary>
public interface IMessageAction : IRestAction
{
public IMessage Message { get; }
}
}
| 1.758637 | 476195c12d625aceea88c7a41f3e8219 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817882 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mario-Todorov/Programming-Fundamentals",
"max_stars_repo_path": "07. Arrays - Exercises/04. Sieve of Eratosthenes/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137102"
} | starcoder | using System;
namespace _04._Sieve_of_Eratosthenes
{
class Program
{
static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
bool[] array = new bool[n + 1];
for (int i = 2; i <= n; i++)
{
array[i] = true;
... | 3.824731 | 6e1060e7ffcdf88a4f21ab7c4fc3a177 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817883 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ShadyObeyd/ProgrammingFundamentals-Extended",
"max_stars_repo_path": "27.FilesDirectoriesAndExceptions-Lab/03.WordCount/WordCount.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137103"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace _03.WordCount
{
class WordCount
{
static void Main()
{
string[] words = File.ReadAllText("words.txt").ToLower().Split();
string... | 3.619792 | 114b92b295d29855833072e9e3e4056c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817884 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SaeshArban/ExchangeRates",
"max_stars_repo_path": "ExchangeRates/API/Controllers/RateController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137104"
} | starcoder | namespace API.Controllers
{
using System;
using System.Threading.Tasks;
using API.Models.ExchangeReportModel;
using API.Presenters.MonthExchangeRateReportPresenters;
using API.Presenters.YearStatisticPresenters;
using Microsoft.AspNetCore.Mvc;
[Route("api/[controller]")]
[ApiController... | 2.507871 | b6c8cd1bc431179971a88526295ffd09 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817885 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "kephas-software/kephas",
"max_stars_repo_path": "src/Kephas.Injection.SystemComposition/Injection/SystemComposition/InjectionScopeNames.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137105"
} | starcoder | <filename>src/Kephas.Injection.SystemComposition/Injection/SystemComposition/InjectionScopeNames.cs
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="InjectionScopeNames.cs" company="Kephas Software SRL">
// Copyright (c) Kepha... | 2.024866 | e9b005b113993a48c452bd911633d41c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817886 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "RulezzTeam/RageMP.Net",
"max_stars_repo_path": "src/AlternateLife.RageMP.Net/Data/ReflectionCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137106"
} | starcoder | using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using AlternateLife.RageMP.Net.Interfaces;
namespace AlternateLife.RageMP.Net.Data
{
internal class ReflectionCommand : CommandInformation
{
public MethodInfo MethodInfo { get; }
public ReflectionComm... | 2.913343 | fef9857cd729a717e57fce0faad04ec0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817887 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vitormaduro/C-at-runtime-in-Unity",
"max_stars_repo_path": "Assets/Scripts/Turret/TurretController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137107"
} | starcoder | <filename>Assets/Scripts/Turret/TurretController.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TurretController : MonoBehaviour
{
GameObject laserOrigin;
GameObject bulletOrigin;
GameObject target;
LineRenderer lineRender;
GameObject upperBody;
... | 2.524756 | 09c7602f09e251c04bba45581c77a923 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817888 | {
"extension": "c-sharp",
"max_stars_count": "217.0",
"max_stars_repo_name": "aferin/Tizen-CSharp-Samples",
"max_stars_repo_path": "Wearable/Xamarin.Forms/SystemInfo/src/SystemInfo/SystemInfo/Model/Display/ScreenBacklightTimeChangedEventArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137108"
} | starcoder | /*
* Copyright 2018 Samsung Electronics Co., Ltd. All rights reserved.
*
* Licensed under the Flora License, Version 1.1 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://floralicense.org/license
*
* Unless required by appli... | 2.426185 | 57daa4b3851a6bf8e2fa7453d8c9f436 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817889 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kenny-wealth/pulumi-azure",
"max_stars_repo_path": "sdk/dotnet/Compute/DataDiskAttachment.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137109"
} | starcoder | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azure.Compute
{
/// <summary>
... | 1.945603 | d3fb5c0476b8f5aff8f158c3b9f32f9a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817890 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Singulink/Singulink.Text.TokenFormatter",
"max_stars_repo_path": "Source/Singulink.Text.TokenFormatter/Extensions/StringBuilderExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137110"
} | starcoder | <filename>Source/Singulink.Text.TokenFormatter/Extensions/StringBuilderExtensions.cs
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
namespace Singulink.Text.Extensions
{
internal static class StringBuilderExtensions
{
public static Str... | 2.708749 | 6246da414a37e68e71b2ecaab8628efb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817891 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RaaLabs/TimeSeries",
"max_stars_repo_path": "Source/TimeSeries.Modules.Connectors/IAmAStreamingConnector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137111"
} | starcoder | /*---------------------------------------------------------------------------------------------
* Copyright (c) RaaLabs. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
*---------------------------------------------------------------------------------... | 2.353443 | 12067ae1f16539134cdda083b7adac88 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817892 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stonedbastardstudios/FLUX-ONLINE-ACTIVE",
"max_stars_repo_path": "Assets/_Elements/GUI/Main_Menu/Scripts/MenuManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137112"
} | starcoder | <filename>Assets/_Elements/GUI/Main_Menu/Scripts/MenuManager.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
using UnityEngine;
public class MenuManager : MonoBehaviour {
public GameObject settingsMenu;
public GameObject loginMenu;
// Use this for initialization
void S... | 1.972119 | 27060772f6cb86e959186b79bf35fdeb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817893 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "InstantBusinessNetwork/IBN",
"max_stars_repo_path": "Source/Server/WebPortal/Apps/MetaUI/Modules/MetaFormControls/FormItemEdit.ascx.designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137113"
} | starcoder | <reponame>InstantBusinessNetwork/IBN<filename>Source/Server/WebPortal/Apps/MetaUI/Modules/MetaFormControls/FormItemEdit.ascx.designer.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.3603
//... | 1.292072 | 55699a53745719de82aae3f48951b5a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817894 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WhiteSourceE/LeanUnsafe",
"max_stars_repo_path": "Algorithm/QCAlgorithm.Python.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137114"
} | starcoder | <gh_stars>0
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may ob... | 1.795338 | 59c07222d4498cafe2756cd2165a2866 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817895 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "astral-keks/powershell-workbench",
"max_stars_repo_path": "src/Test/Fixtures/AutoSetupAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137115"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using AutoFixture;
using AutoFixture.Xunit2;
namespace AstralKeks.Workbench.Fixtures
{
public class AutoSetupAttribute : AutoDataAttribute
{
private readonly int _count;
public AutoSetupAttribute(int cou... | 2.496609 | e82f3528de4096b19abf34c33c311481 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817896 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "elliebeph/SPICA",
"max_stars_repo_path": "ESPICA/CLI/ArgumentPattern.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137116"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ESPICA.CLI
{
public class ArgumentPattern
{
public string key;
public string brief;
public Object defaultValue;
public bool allowsMultiple;
private String[] tags;
... | 2.878199 | e12a390499b3a80b80a3d24b72e132a2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817897 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "Potapy4/Pacco.APIGateway",
"max_stars_repo_path": "src/Pacco.APIGateway/Infrastructure/CorrelationContextBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137117"
} | starcoder | using System;
using System.Linq;
using System.Security.Claims;
using Microsoft.Extensions.DependencyInjection;
using Ntrada;
using Ntrada.Extensions.RabbitMq;
using OpenTracing;
namespace Pacco.APIGateway.Infrastructure
{
internal sealed class CorrelationContextBuilder : IContextBuilder
{
private reado... | 1.886873 | 0f89e561a5c74d646942bf8827d86bbd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817898 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "detaybey/joseki",
"max_stars_repo_path": "src/backend/joseki.be/webapp/Models/InfrastructureComponentDiff.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137118"
} | starcoder | <reponame>detaybey/joseki<filename>src/backend/joseki.be/webapp/Models/InfrastructureComponentDiff.cs<gh_stars>1-10
using System;
namespace webapp.Models
{
/// <summary>
/// Returns infrastructure summary diff.
/// </summary>
public class InfrastructureComponentDiff
{
/// <summary... | 2.023834 | bb96ee65fb9e27f4b9241f60a89ae279 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817899 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jboenig/Dynamo",
"max_stars_repo_path": "Restful/Services/IRestApiService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137119"
} | starcoder | ////////////////////////////////////////////////////////////////////////////////
// The MIT License(MIT)
// Copyright(c) 2020 <NAME>
// This file is part of Headway.Dynamo.Restful
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (... | 2.399265 | fbb7fd3550baad4b12225c8b9421142e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817900 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HelpMyStreet/nuget-package",
"max_stars_repo_path": "HelpMyStreet.Utils/HelpMyStreet.Utils/Enums/Groups.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137120"
} | starcoder | <filename>HelpMyStreet.Utils/HelpMyStreet.Utils/Enums/Groups.cs
namespace HelpMyStreet.Utils.Enums
{
public enum Groups
{
Generic = -1,
FTLOS = -2,
AgeUKLSL = -3,
HLP = -4,
Tankersley = -5,
Ruddington = -6,
AgeUKWirral = -7,
AgeUKNottsBalderton = -... | 1.615035 | cd2aaae622fad93cdef93a10db010b3d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817901 | {
"extension": "c-sharp",
"max_stars_count": "357.0",
"max_stars_repo_name": "Falthazar/EFDesigner",
"max_stars_repo_path": "src/Testing/Testing_Framework/Generated/Enums/FlagEnum.generated.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137121"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... | 1.527131 | f658317366c594a613e38a96a447db21 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817902 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ben757/BackgroundService.NET",
"max_stars_repo_path": "BackgroundService.NET.Tests/CronHostTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137122"
} | starcoder | using System;
using System.Threading;
using System.Threading.Tasks;
using BackgroundService.NET.CronHostService;
using BackgroundService.NET.CronJob;
using BackgroundService.NET.CronJobProviderService;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Moq;
using NUnit.Framework;
using Shoul... | 2.436784 | c5eb209c0f87012f94d382b69ff833ca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817903 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "quadhd/Binance.Net",
"max_stars_repo_path": "Binance.Net/Objects/Spot/Mining/BinanceOtherRevenueList.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137123"
} | starcoder | <reponame>quadhd/Binance.Net
using System;
using System.Collections.Generic;
using Binance.Net.Converters;
using Binance.Net.Enums;
using CryptoExchange.Net.Converters;
using Newtonsoft.Json;
namespace Binance.Net.Objects.Spot.Mining
{
/// <summary>
/// Revenue list
/// </summary>
public class Binance... | 2.038463 | 6f25b869c4a479a41734d5f4ad755351 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817904 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jacokok/FastEndpoints",
"max_stars_repo_path": "Web/[Features]/TestCases/PreProcessorIsRunOnValidationFailure/Models.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137124"
} | starcoder | <reponame>jacokok/FastEndpoints
namespace TestCases.PreProcessorIsRunOnValidationFailure
{
public class Request
{
public string? FirstName { get; set; }
public int FailureCount { get; set; }
}
public class Validator : Validator<Request>
{
public Validator()
{
... | 2.036735 | 89b9687f61c864ae61070ced49d087c8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817905 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "cston/dotnet-api-docs",
"max_stars_repo_path": "snippets/csharp/VS_Snippets_Winforms/CreateParams/CS/createparams.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137125"
} | starcoder | // <snippet1>
using System;
using System.Drawing;
using System.Windows.Forms;
using System.Runtime.InteropServices;
using System.Diagnostics;
using System.IO;
using System.Security.Permissions;
[SecurityPermission(SecurityAction.Demand, UnmanagedCode = true)]
public class MyIconButton : Button
{
private Icon ico... | 2.752303 | 52ab7f0de6fdca5d28e123b34fa12d4f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817906 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Fujiwo/Apps",
"max_stars_repo_path": "FLifegame.Core/Model/CellDataList.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137126"
} | starcoder | using FLifegame.Common;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
namespace FLifegame.Model
{
public class CellDataList : IEnumerable<KeyValuePair<string, CellData>>, IObservableEnumerable<string>
{
public event NotifyCollectionChangedEventHandle... | 2.972783 | 7499e61814d9ea469c2ced9df33254d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817907 | {
"extension": "c-sharp",
"max_stars_count": "36.0",
"max_stars_repo_name": "reillydom/DevStreams",
"max_stars_repo_path": "src/DevChatter.DevStreams.Web/Pages/My/Channels/Details.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:137127"
} | starcoder | @page "{id:int}"
@model DevChatter.DevStreams.Web.Pages.My.Channels.DetailsModel
@{
ViewData["Title"] = "Details";
// TODO: Extract this somewhere
var fullyQualifiedChannelImageSource = (!string.IsNullOrWhiteSpace(Model?.Channel?.ImageUrl))
? Model?.Channel?.ImageUrl
: $"https://via.pla... | 2.450314 | 28f1079ab53fdd25434ac5589feab980 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817908 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cathode/gear",
"max_stars_repo_path": "Gear.Client/Platform/Microsoft/PixelFormatDescriptor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137128"
} | starcoder | <filename>Gear.Client/Platform/Microsoft/PixelFormatDescriptor.cs
/******************************************************************************
* Gear: An open-world sandbox game for creative people. *
* http://github.com/cathode/gear/ *
* Copyrig... | 2.350399 | e761a5457e0a479f1a1a12e920b6d4e2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817909 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "tmorgner/WeaponSystem",
"max_stars_repo_path": "Assets/Plugins/UnityTools/Scripts/SmartVars/SystemTypes/SmartIntVariable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137129"
} | starcoder | <gh_stars>10-100
using UnityEngine;
namespace RabbitStewdio.Unity.UnityTools.SmartVars.SystemTypes
{
[CreateAssetMenu(menuName = "Smart Variables/Variables/System/int")]
public class SmartIntVariable : SmartVariable<int>
{
}
} | 1.179082 | 2700385d123a125c3905227dc01eaeed |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817910 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jdauie/Jacere.ConsoleCommand",
"max_stars_repo_path": "Jacere.ConsoleCommand/ICommandPrerequisiteAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137130"
} | starcoder | namespace Jacere.ConsoleCommand
{
public interface ICommandPrerequisiteAttribute
{
void Execute();
}
} | 1.556731 | 095af65db986ee2e411e0f3c3cf24bfe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817911 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bmcdavid/IdentityCollection",
"max_stars_repo_path": "src/bmcdavid.Episerver.ClaimsCriteria/ClaimsCriteriaConfigurationModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137131"
} | starcoder | using EPiServer.Framework;
using EPiServer.Framework.Initialization;
using EPiServer.ServiceLocation;
namespace bmcdavid.Episerver.ClaimsCriteria
{
/// <summary>
/// Constructor
/// </summary>
[InitializableModule]
public class ClaimsCriteriaConfigurationModule : IConfigurableModule
{
... | 1.873907 | 7ed091a048b7a0d368f035ddc7f8f148 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817912 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andreminelli/MemoryGame",
"max_stars_repo_path": "MemoryGame.Core/CardStatus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137132"
} | starcoder | namespace MemoryGame.Core
{
public enum CardStatus
{
Down,
Up,
Matched
}
} | 1.542702 | d44495f6fe7a661d37ab37575cda40ce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817913 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ambientlight/azure-sdk-for-net",
"max_stars_repo_path": "sdk/metricsadvisor/Azure.AI.MetricsAdvisor/tests/Models/DataSourceCredentialsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137133"
} | starcoder | <filename>sdk/metricsadvisor/Azure.AI.MetricsAdvisor/tests/Models/DataSourceCredentialsTests.cs<gh_stars>1-10
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Thread... | 2.026336 | 0fc68c58740f2e5d7e976cb72fd5821c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817914 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PiotrBlachnio/PathonDB",
"max_stars_repo_path": "server/PathonDB.DatabaseClient/Tests/Middlewares/General/HasValidBeginningTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137134"
} | starcoder | <gh_stars>0
using PathonDB.DatabaseClient.Exceptions.General;
using PathonDB.DatabaseClient.Middlewares.General;
using Xunit;
namespace PathonDB.DatabaseClient.Tests.Middlewares.General {
public class HasValidBeginningTests {
[Theory]
[InlineData(" CREATE TABLE users ( email text , ph... | 2.370072 | 0d7ccd3ac3eb5a3c4fbbaaf65f559229 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817915 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BalintPogatsa/IocPerformance",
"max_stars_repo_path": "IocPerformance/Classes/Complex/SecondService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137135"
} | starcoder | <reponame>BalintPogatsa/IocPerformance<filename>IocPerformance/Classes/Complex/SecondService.cs<gh_stars>1-10
using System.ComponentModel.Composition;
using MEF2Attr = System.Composition;
namespace IocPerformance.Classes.Complex
{
[IfInjector.ImplementedBy(typeof(SecondService))]
public interface ISecondServi... | 1.965661 | f51b54384f9b86301f5e0318958b3a67 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817916 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "forprog/AngleSharp",
"max_stars_repo_path": "src/AngleSharp/Css/Values/Number.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137136"
} | starcoder | <filename>src/AngleSharp/Css/Values/Number.cs
namespace AngleSharp.Css.Values
{
using System;
/// <summary>
/// Represents a float value.
/// </summary>
public struct Number : IEquatable<Number>, IComparable<Number>, IFormattable
{
#region Basic numbers
/// <summary>
/... | 3.52574 | f4bcbc131426746f7b794c774472b007 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817917 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sytabaresa/IMO-Maritime-Single-Window",
"max_stars_repo_path": "IMOMaritimeSingleWindow/Server/Repositories/ClaimRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137137"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using IMOMaritimeSingleWindow.Models;
using IMOMaritimeSingleWindow.Data;
using Microsoft.EntityFrameworkCore;
namespace IMOMaritimeSingleWindow.Repositories
{
public class ClaimRepository : EFConcreteRepository<Claim,... | 1.887493 | f96af0f3994fbefc41d8d9fd859cabea |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.