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 | 8834712 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "DragonSpark/Framework",
"max_stars_repo_path": "DragonSpark/Model/Operations/WhenEither.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153932"
} | starcoder | <filename>DragonSpark/Model/Operations/WhenEither.cs
using DragonSpark.Compose;
using System.Threading.Tasks;
namespace DragonSpark.Model.Operations;
public class WhenEither<T> : IDepending<T>
{
readonly ISelecting<T, bool> _first, _second;
protected WhenEither(ISelecting<T, bool> first, ISelecting<T, bool> secon... | 2.53223 | 6a403be5dd7a2c6419eb333a79d33cf0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834713 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lapd87/SoftUniProgrammingFundamentalsCSharp",
"max_stars_repo_path": "ProgrammingFundamentalsCSharp/02ConditionalStatementsAndLoops/006TheatrePromotion/TheatrePromotion.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153933"
} | starcoder | <gh_stars>0
using System;
class TheatrePromotion
{
static void Main()
{
string dayType = Console.ReadLine().ToLower();
int age = int.Parse(Console.ReadLine());
if (age >= 0 && age <= 18)
{
dayType += "1";
}
else if (age > 18 && age <= 64)
{
... | 3.337178 | 2ae149d92af15ae128bfcb754786074a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834714 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Demy/EveryDayToday",
"max_stars_repo_path": "Assets/Scripts/Controllers/KeyboardMovementController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153934"
} | starcoder | using UnityEngine;
public class KeyboardMovementController : MonoBehaviour
{
public float runSpeed = 3f;
public float rotationSpeed = 3f;
public Rigidbody2D rb;
public MainCharacter character;
public NpcController npcController;
private Vector3 movement;
private void Start()
... | 2.15694 | 3454f8af688ad1c7bbc57e969a047402 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834715 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "durantegeorge1/LeadApp",
"max_stars_repo_path": "LeadApp.Objects/Models/Lead.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153935"
} | starcoder | <filename>LeadApp.Objects/Models/Lead.cs
using System;
using LeadApp.Objects.DataTransferObjects;
namespace LeadApp.Objects.Models
{
public class Lead
{
public string FirstName { get; set; }
public string LastName { get; set; }
public string PropertyType { get; set; }
public st... | 2.055193 | bb65c4866037888d02aa321ace796660 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834716 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nuitsjp/PrismAndMoqHansOn",
"max_stars_repo_path": "after/TextSpeaker/TextSpeaker/TextSpeaker/Model/ICounter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153936"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TextSpeaker.Model
{
public interface ICounter : INotifyPropertyChanged
{
int Value { get; }
void CountUp();
}
}
| 2.202126 | 1c849ab385820ae98f19e3145efc2d01 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834717 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vehnet/algoliasearch-client-csharp",
"max_stars_repo_path": "src/Algolia.Search/Serializer/QueryConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153937"
} | starcoder | /*
* Copyright (c) 2018 Algolia
* http://www.algolia.com/
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify... | 2.305153 | 45a3a1d1f2a07c1e4b552d9c4f243210 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834718 | {
"extension": "c-sharp",
"max_stars_count": "607.0",
"max_stars_repo_name": "jjmac/Mixture",
"max_stars_repo_path": "Packages/com.alelievr.mixture/Runtime/Nodes/Utils/ParticlesNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153938"
} | starcoder | <reponame>jjmac/Mixture
using UnityEngine;
using GraphProcessor;
using UnityEngine.Rendering;
namespace Mixture
{
[Documentation(@"
Renders the Unity particle system (shuriken) inside a texture.
More information here: https://docs.unity3d.com/ScriptReference/ParticleSystem.html
")]
[System.Serializable, NodeMenu... | 2.185547 | 1dcab462d53cb5e62ca779eb189d80c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834719 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ziyadsv/DragDropCms",
"max_stars_repo_path": "Portal.CMS.Web/Architecture/Helpers/EmailHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153939"
} | starcoder | <reponame>ziyadsv/DragDropCms
using SendGrid;
using SendGrid.Helpers.Mail;
using System.Threading.Tasks;
namespace Farz.CMS.Web.Architecture.Helpers
{
public static class EmailHelper
{
const string WEBSITE_NAME = "Website Name";
const string EMAIL_FROM_ADDRESS = "Email From Address";
c... | 2.039206 | 2e2586ac3dfd857653268bd48694c36a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834720 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "CCaiJI/ShaderReference",
"max_stars_repo_path": "Plugins/UnityMarkdownViewer/Editor/Scripts/Renderer/RendererInlineDelimiter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153940"
} | starcoder | <reponame>CCaiJI/ShaderReference
////////////////////////////////////////////////////////////////////////////////
using Markdig.Renderers;
using Markdig.Syntax.Inlines;
namespace MG.MDV
{
/// <see cref="Markdig.Renderers.Html.Inlines.DelimiterInlineRenderer"/>
public class RendererInlineDelimiter : Markdown... | 1.76538 | 30b703cbb08aa126f40387a71d308626 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834721 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xman086/Ace",
"max_stars_repo_path": "src/DotNet/Chloe.Admin/Global.asax.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153941"
} | starcoder | <reponame>xman086/Ace
using Ace.Application;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace Chloe.Admin
{
public class MvcApplication : System.Web.HttpApplication
{
protected void Application_Start()
... | 1.87659 | d2d9e827fd8cb53da78e6e6e6213b51c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834722 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LuGeorgiev/FrontEndSelfLearning",
"max_stars_repo_path": "JS/SUni.Angular.Fundaentals/auth-c-sharp/ApiAngularAuth/Data/BookStoreContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153942"
} | starcoder | <gh_stars>0
using Microsoft.EntityFrameworkCore;
using ApiAngularAuth.Models.Data;
namespace ApiAngularAuth.Data
{
public class BookStoreContext : DbContext
{
public BookStoreContext()
{
}
public BookStoreContext(DbContextOptions<BookStoreContext> options)
:bas... | 2.406941 | 04ce8acf6235a12c34ab70092d068d5e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834723 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Flash0ver/F0.Minesweeper",
"max_stars_repo_path": "source/production/F0.Minesweeper.Components/Layout/Footer.razor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153943"
} | starcoder | using System;
using Microsoft.AspNetCore.Components;
using NuGet.Versioning;
namespace F0.Minesweeper.Components.Layout
{
public partial class Footer
{
private static MarkupString Format(SemanticVersion version)
{
string preRelease = version.IsPrerelease ? $"-{version.Release}" : String.Empty;
string build... | 2.439381 | 7bfb6638275be21017df7ce7bb052ee9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834724 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Djordje-Nikolic/Groover",
"max_stars_repo_path": "Groover/Groover.ChatDB/Interfaces/IGroupChatRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153944"
} | starcoder | using Groover.ChatDB.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Groover.ChatDB.Interfaces
{
public interface IGroupChatRepository
{
public ITrackRepository TrackRepository { get; }
public IMessageReposit... | 1.967674 | 35e4f311679b5366f9222792ef4af318 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834725 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "inser788/CSharp-Fundamentals-OOP-Basics",
"max_stars_repo_path": "Exercises/04 DEFINING CLASSES - EXERCISES/DefineClass-Exercises/05_Date_Modifier/DateModifier.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153945"
} | starcoder | <filename>Exercises/04 DEFINING CLASSES - EXERCISES/DefineClass-Exercises/05_Date_Modifier/DateModifier.cs
using System;
public class DateModifier
{
public static int GetDaysDifference(string firstDate, string secondDate)
{
TimeSpan difference = DateTime.Parse(firstDate) - DateTime.Parse(secondDate);
... | 3.120919 | a6a0265030aa375fa593b3c303b102a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834726 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RhynoVDS/RESTapp",
"max_stars_repo_path": "RESTapp/Controllers/ConfigureController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153946"
} | starcoder | <reponame>RhynoVDS/RESTapp<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace RESTapp.Controllers
{
public class ConfigureController : Controller
{
[HttpGet("api/configure/{table}")]
public Acti... | 2.017128 | 11e92e0a47779b5ed7e4eca5a5219850 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834727 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "1804-Apr-USFdotnet/james-grippo-project1",
"max_stars_repo_path": "Project1/RestaurantReviews/PZRepositories/IRestaurantRepo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153947"
} | starcoder | <reponame>1804-Apr-USFdotnet/james-grippo-project1<gh_stars>0
using System;
using System.Collections.Generic;
using PZModels;
namespace PZRepositories
{
public interface IRestaurantRepo
{
Restaurant GetById(int id);
Restaurant GetByName(string restaurant);
IEnumerable<Restaurant> GetAl... | 2.06912 | 8ab331355e67fc384d361a7d6e1e37dd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834728 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "michaelswells/FontAwesomeAttribute",
"max_stars_repo_path": "FontAwesome/FontAwesome.PencilRuler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153948"
} | starcoder | using System;
namespace FontAwesome
{
/// <summary>
/// The unicode values for all FontAwesome icons.
/// <para/>
/// See https://fontawesome.com/cheatsheet
/// <para/>
/// This code was automatically generated by FA2CS (https://github.com/michaelswells/fa2cs a modified fork from https://github... | 2.682729 | 544b6c3039ee4806ab5dbf24ea8da4d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834729 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "gordon-matt/MantleCMS",
"max_stars_repo_path": "Mantle.Web.ContentManagement/Areas/Admin/Pages/Services/IPageService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153949"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
using Extenso.Collections;
using Extenso.Data.Entity;
using Mantle.Caching;
using Mantle.Data.Services;
using Mantle.Web.ContentManagement.Areas.Admin.ContentBlocks.Domain;
using Mantle.Web.C... | 2.146034 | 78a0b9575eca4aaf17a080d9a66fa307 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834730 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "XamarinUY/retro-games-go",
"max_stars_repo_path": "RetroGamesGo.Core/App.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153950"
} | starcoder | <filename>RetroGamesGo.Core/App.xaml.cs
namespace RetroGamesGo.Core
{
using Microsoft.AppCenter;
using Microsoft.AppCenter.Analytics;
using Microsoft.AppCenter.Crashes;
using Xamarin.Forms;
/// <summary>
/// Main app class
/// </summary>
public partial class App
{
public Ap... | 1.905456 | fffce6ba89e77a1203e92a7d3397dafc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834731 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OneFrameLink/Ofl.Geography",
"max_stars_repo_path": "src/Ofl.Geography/GeographyExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153951"
} | starcoder | using System;
namespace Ofl.Geography
{
//////////////////////////////////////////////////
///
/// <author><NAME></author>
/// <created>2014-01-01</created>
/// <summary>Extensions for working with geographic data.</summary>
///
//////////////////////////////////////////////////
public... | 3.470381 | 2b7c6ca193b884d21ebc9f6e3ca8a15a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834732 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "easyquery/AspNetCoreSamples",
"max_stars_repo_path": "AspNetCore/Razor-Mvc/Razor.DataFiltering/Pages/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:153952"
} | starcoder | <filename>AspNetCore/Razor-Mvc/Razor.DataFiltering/Pages/Index.cshtml
@page
@model IndexModel
@inject Microsoft.Extensions.Configuration.IConfiguration Configuration
@{
ViewData["Title"] = "Data Filtering demo";
ViewData["MenuTitle"] = "Data Filtering demo";
Layout = "_Layout";
}
@section Styles {
<... | 1.877561 | c64356d29946c615b10dbbfab13d1b56 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834733 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Cynerus/Alsein.Utilities",
"max_stars_repo_path": "src/Alsein.Extensions.Runtime.Proxy/Runtime/Internal/ArgumentsDynamicInvoker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153953"
} | starcoder | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Reflection.Emit;
namespace Alsein.Extensions.Runtime.Internal
{
/// <summary>
///
/// </summary>
internal static class ArgumentsDynamicInvoker
{
private static readonly IDictionary<Type, Invoker> _invoke... | 2.290168 | 750c389d6bc607600dad57e1ac0c7b78 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834734 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "statespacelabs/discord-rpc-csharp",
"max_stars_repo_path": "Runtime/DiscordRPC/RPC/Payload/ClosePayload.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153954"
} | starcoder | <gh_stars>0
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DiscordRPC.RPC.Payload
{
internal class ClosePayload : IPayload
{
/// <summary>
/// The close code the discord gave us
/// </summary>
[JsonProperty("code")]
public int Code { ... | 2.100256 | 425e6989c50751c1cca7299443b1e705 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834735 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SC1R33RICK/HRIS",
"max_stars_repo_path": "HRIS.Service/Sys/IIdentificationDocumentService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153955"
} | starcoder | <gh_stars>0
using System.Linq;
using HRIS.Model.Sys;
namespace HRIS.Service.Sys
{
public interface IIdentificationDocumentService
{
void Create(IdentificationDocumentModel model, out int IdentificationDocumentId);
void Delete(int IdentificationDocumentId);
IdentificationDocumentModel G... | 1.443217 | 2be6f4c0eb68910e896e7e6d6005e059 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834736 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RobertBouillon/Supergene",
"max_stars_repo_path": "Spin.Supergene/System/FormattedString.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153956"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace System
{
public class FormattedString
{
#region Fields
private string _formatText;
private object[] _arguments;
#endregion
#region Properties
public string FormatText
{
get { return ... | 2.93169 | a1aba1c28fcd6dbf5135d4f4723e812c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834737 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "INVA-Spa/Laser.Orchard.Platform",
"max_stars_repo_path": "src/Modules/Laser.Orchard.ContentExtension/Handlers/ContentTypePermissionSettingsHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153957"
} | starcoder | using Laser.Orchard.ContentExtension.Models;
using Orchard.ContentManagement.Handlers;
namespace Laser.Orchard.ContentExtension.Handlers {
public class ContentTypePermissionSettingsHandler : ContentHandler {
public ContentTypePermissionSettingsHandler() {
Filters.Add(new ActivatingFilter<Conte... | 1.3711 | dab3e256673ab5ac1c01238e44fe790b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834738 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "utkaka/SplineMesh",
"max_stars_repo_path": "Assets/SplineMesh/Scripts/Runtime/Bezier/CubicBezierCurve.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153958"
} | starcoder | <reponame>utkaka/SplineMesh<filename>Assets/SplineMesh/Scripts/Runtime/Bezier/CubicBezierCurve.cs<gh_stars>0
using System;
using Unity.Burst;
using Unity.Collections;
using Unity.Jobs;
using Unity.Mathematics;
using UnityEngine;
using UnityEngine.Serialization;
namespace SplineMesh {
[BurstCompile]
public str... | 2.54221 | 545e2a467702edc61d4418fb730ca13a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834739 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yangdongxue26/Battle_project_C-",
"max_stars_repo_path": "BattleProgect/BattleProgect/MainClass.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153959"
} | starcoder | <reponame>yangdongxue26/Battle_project_C-<gh_stars>0
using System;
namespace BattleProgect
{
class MainClass
{
static void Main(string[] args)
{
Hero hero1 = new Hero("后羿");
Hero hero2 = new Hero("项羽");
Battle battle = new Battle();
battle.Fight(... | 2.623501 | 7dc52c21ff0e0b1b6b87116fac55000d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834740 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stefanos1316/Rosetta_Code_Data_Set",
"max_stars_repo_path": "tasks/sorting-algorithms-quick-sort/c-sharp/sorting-algorithms-quicksort.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153960"
} | starcoder | <reponame>stefanos1316/Rosetta_Code_Data_Set<filename>tasks/sorting-algorithms-quick-sort/c-sharp/sorting-algorithms-quicksort.cs
//Code obtained from [200~http://www.w3resource.com/csharp-exercises/searching-and-sorting-algorithm/searching-and-sorting-algorithm-exercise-9.php
using System;
using System.Collections.Gen... | 3.273174 | 318c95d2cfc5b984acb00f739f497609 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834741 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "knight-ryu12/mml2vgm",
"max_stars_repo_path": "mml2vgm/Core/Note.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153961"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Core
{
public class Rest
{
public char cmd = 'r';
public int length = 0;
}
public class Note : Rest
{
public int shift = 0;
... | 1.918563 | a5763ee4982726cd04d86b4eab510681 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834742 | {
"extension": "c-sharp",
"max_stars_count": "468.0",
"max_stars_repo_name": "KallynGowdy/RtspClientSharp",
"max_stars_repo_path": "Examples/SimpleRtspPlayer/RawFramesDecoding/DecodedFrames/IDecodedVideoFrame.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153962"
} | starcoder | <reponame>KallynGowdy/RtspClientSharp
using System;
namespace SimpleRtspPlayer.RawFramesDecoding.DecodedFrames
{
public interface IDecodedVideoFrame
{
void TransformTo(IntPtr buffer, int bufferStride, TransformParameters transformParameters);
}
} | 1.505564 | 81752b3f2b33e4473857842ae570ec1c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834743 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "xqrzd/kudu-client-net",
"max_stars_repo_path": "test/Knet.Kudu.Client.FunctionalTests/FlexiblePartitioningTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153963"
} | starcoder | <filename>test/Knet.Kudu.Client.FunctionalTests/FlexiblePartitioningTests.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Knet.Kudu.Client.FunctionalTests.MiniCluster;
using McMaster.Extensions.Xunit;
using Xunit;
namespace Knet.Kudu.Client.Functi... | 2.277016 | 95e7be9e2b2610250ba19f11700929f5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834744 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AmitEMV/QuickBooks-V3-DotNET-SDK",
"max_stars_repo_path": "IPPDotNetDevKitCSV3/Code/Intuit.Ipp.GlobalTaxService/GlobalAsyncTaxService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153964"
} | starcoder | <reponame>AmitEMV/QuickBooks-V3-DotNET-SDK
////***************************************************************************************************
// <copyright file="GlobalAsyncService.cs" company="Intuit">
/*******************************************************************************
* Copyright 2016 Intuit
*
*... | 1.993225 | f7804887284aaabff8521d98d64f9e97 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834745 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ishaklive/BlogPlatform",
"max_stars_repo_path": "Blog.Data.Entity/BaseEntity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153965"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Blog.Data.Entity
{
public abstract class BaseEntity
{
public DateTime? CreatedDate { get; set; }
public int? CreatedBy { get; set; }
public DateTime? LastUpdatedDate { get; set; }
public int? LastUpda... | 2.151309 | 083975854e5c0cdea74653f29afcfff7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834746 | {
"extension": "c-sharp",
"max_stars_count": "260.0",
"max_stars_repo_name": "alexbowers/pulumi-aws",
"max_stars_repo_path": "sdk/dotnet/Cognito/Outputs/UserPoolSoftwareTokenMfaConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153966"
} | starcoder | <reponame>alexbowers/pulumi-aws
// *** 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;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
us... | 1.454042 | f0a74df95742c0553491eed8332a9a56 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834747 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jpinkstone/SpaceSceneGenerator",
"max_stars_repo_path": "Unity Project/SpaceSceneGenerator/Library/PackageCache/com.unity.visualeffectgraph@5.16.1-preview/Editor/Core/VFXSettingAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.... | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace UnityEditor.VFX
{
[AttributeUsage(AttributeTargets.Field, Inherited = true, AllowMultiple = false)]
class VFXSettingAttribute : Attribute
{
[Flags]
public enum VisibleFlags
{
... | 2.404408 | 30097531e4e696bf1a53aa828ef3f9a9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834748 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "GabrielFrigo4/SDL-Sharp",
"max_stars_repo_path": "Exemples/OPENGL_IN_SDL/OPENGL_IN_SDL/SDL-Sharp/SDL/SDL.Render.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153968"
} | starcoder | using System;
using System.Runtime.InteropServices;
namespace SDL_Sharp
{
[Flags]
public enum RendererFlags : uint
{
Software = 0x00000001,
Accelerated = 0x00000002,
PresentVsync = 0x00000004,
TargetTexture = 0x00000008
}
[StructLayout(LayoutKind.Sequential)]
pu... | 2.407076 | 834bb959ce76589a8ae0e36ca3b36a02 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834749 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "kipje13/KipjeBot",
"max_stars_repo_path": "KipjeBot/KipjeBot/GameTickPacket/FieldInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153969"
} | starcoder | <gh_stars>1-10
using System;
using System.Numerics;
using KipjeBot.Utility;
namespace KipjeBot.GameTickPacket
{
public class FieldInfo
{
private BoostPad[] boostPads;
private Goal[] goals;
public BoostPad[] BoostPads { get { return (BoostPad[])boostPads.Clone(); } }
public Go... | 2.658222 | 10dc69c2e93479e98b0da63001ec27ff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834750 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kamranghiasvand/health-service-console",
"max_stars_repo_path": "health-service-console/Bootstrap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153970"
} | starcoder | using health_service_console.Service;
using Nancy;
using Nancy.TinyIoc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace health_service_console
{
public class Bootstrap : DefaultNancyBootstrapper
{
protected override void Con... | 1.655787 | a95b217a7a2f1d557a5527bf597fd5c5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834751 | {
"extension": "c-sharp",
"max_stars_count": "41.0",
"max_stars_repo_name": "Piotr-Paluch/SettingsProvider.net",
"max_stars_repo_path": "src/SettingsProviderNet/ProtectedStringAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153971"
} | starcoder | <gh_stars>10-100
using System;
namespace SettingsProviderNet
{
[AttributeUsage(AttributeTargets.Property)]
public class ProtectedStringAttribute : Attribute
{
}
} | 1.547134 | c956bd06c8b1a31af402f956004d7839 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834752 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Saifune87/EQSample",
"max_stars_repo_path": "MessageArguments/ShipmentNotificationMessageArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153972"
} | starcoder | <gh_stars>0
using System;
namespace WSEmailQueueService.MessageArguments
{
/// <summary>
/// Arguments specific with shipping notification emails plus generic arguments.
/// </summary>
public sealed class ShipmentNotificationMessageArgs
{
public string OrderNumber { get; set; }
... | 1.191212 | 559e73953c891edf6497dceaebf62991 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834753 | {
"extension": "c-sharp",
"max_stars_count": "183.0",
"max_stars_repo_name": "JohnPKosh/azos",
"max_stars_repo_path": "src/providers/Azos.Sky.MongoDb/Kdb/DefaultKdbStore.Sharding.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153973"
} | starcoder | /*<FILE_LICENSE>
* Azos (A to Z Application Operating System) Framework
* The A to Z Foundation (a.k.a. Azist) licenses this file to you under the MIT license.
* See the LICENSE file in the project root for more information.
</FILE_LICENSE>*/
using System;
using System.Collections.Generic;
using System.Linq;
using ... | 1.975795 | cb36908c15868d05bed586424898c7df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834754 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "d32f123/DotNetMessenger",
"max_stars_repo_path": "DotNetMessenger.Model/UserInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153974"
} | starcoder | using System;
using DotNetMessenger.Model.Enums;
namespace DotNetMessenger.Model
{
public class UserInfo : IEquatable<UserInfo>
{
public string LastName { get; set; }
public string FirstName { get; set; }
public string LastAndFirstName => LastName + " " + FirstName;
public str... | 2.923659 | 572e12f779dff902c6547c23b19a1000 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834755 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CuteCrazy/soundfingerprinting",
"max_stars_repo_path": "src/SoundFingerprinting/Query/MatchedWith.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153975"
} | starcoder | <filename>src/SoundFingerprinting/Query/MatchedWith.cs<gh_stars>0
// ReSharper disable UnusedMember.Local
namespace SoundFingerprinting.Query
{
using ProtoBuf;
[ProtoContract]
public class MatchedWith
{
public MatchedWith(uint querySequenceNumber, float queryMatchAt, uint trackSequenceNumber, ... | 2.350834 | a49b57042298df2dcbc242cba6d63d97 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834756 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "buweixiaomi/ruanal",
"max_stars_repo_path": "src/Ruanal.Web/Views/OperationLog/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:153976"
} | starcoder | <reponame>buweixiaomi/ruanal<gh_stars>0
@model Ruanal.WebDomain.PageModel<Ruanal.WebDomain.Model.OperationLog>
@{
ViewBag.Title = "操作日志";
Layout = "~/Views/Shared/_LayoutPageHome.cshtml";
}
<h2>操作日志</h2>
<div class="cc-content-header">
<form class="form-inline" role="form">
<div class="form-group"... | 1.598361 | 0318a056910bd690d96355b652ff551e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834757 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "c3dr0x/kinetix",
"max_stars_repo_path": "Kinetix/Kinetix.Caching/Config/CacheConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153977"
} | starcoder | <gh_stars>1-10
using Kinetix.Caching.Store;
namespace Kinetix.Caching.Config {
/// <summary>
/// A class to represent Cache configuration.
/// </summary>
public class CacheConfiguration {
/// <summary>
/// Chemin de stockage disque.
/// </summary>
public string DiskSto... | 2.654459 | 7e07fa072ed67386aceb828e2390dc59 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834758 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "hedzr/Cmdr.Core",
"max_stars_repo_path": "src/HzNS.Cmdr.Core/Base/IBaseOpt.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153978"
} | starcoder | <filename>src/HzNS.Cmdr.Core/Base/IBaseOpt.cs
#nullable enable
using System;
using System.Collections.Generic;
namespace HzNS.Cmdr.Base
{
public interface IBaseOpt
{
/// <summary>
/// Long title for a command/flag/option.
/// <br/>
/// It is the part of keyword which
///... | 2.453778 | bd3e7b86f0c8e8cc41dfaaf406089d65 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834759 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "saltukkos/visual-studio-mercurial-plugin",
"max_stars_repo_path": "MercurialVS/Saltukkos.MercurialVs.Package/ProvideToolsOptionsPageVisibilityAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153979"
} | starcoder | using System;
using JetBrains.Annotations;
using Microsoft.VisualStudio.Shell;
using Saltukkos.MercurialVS.StudioIntegration;
using Saltukkos.Utils;
namespace Saltukkos.MercurialVS.Package
{
public class ProvideToolsOptionsPageVisibilityAttribute : RegistrationAttribute
{
private Guid SourceControlGui... | 2.067359 | 670704683b36bd914342f071f8767c91 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834760 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dt-bet/betfairng",
"max_stars_repo_path": "BetfairNG/API/MarketSort.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153980"
} | starcoder | using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace BetfairNG.API
{
[JsonConverter(typeof(StringEnumConverter))]
public enum MarketSort
{
MINIMUM_TRADED, MAXIMUM_TRADED, MINIMUM_AVAILABLE, MAXIMUM_AVAILABLE, FIRST_TO_START, LAST_TO_START,
}
} | 1.590129 | 936d6d5ea94763349d8ee23b6f3abc4c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834761 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RichardRanft/SimpleVerify",
"max_stars_repo_path": "VerifyDriver/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153981"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using SimpleVerify;
namespace VerifyDriver
{
class Program
{
private static CCmdParser m_parser;
static void Main(string[] args)
{
Dictionar... | 2.543446 | 2e1c744aeb404e4d914641dcbfb0d447 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834762 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FlyingWraptor/BunnyCDN.Api.NetCore",
"max_stars_repo_path": "BunnyCDN.Api/UnitTests/StorageTester.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153982"
} | starcoder | <filename>BunnyCDN.Api/UnitTests/StorageTester.cs<gh_stars>0
using System;
using System.Threading.Tasks;
namespace BunnyCDN.Api.UnitTests
{
public class StorageTester : StorageInterface
{
public string Zone { get { return _zone; } }
public byte[] responseBytes;
public StorageEntry[] re... | 2.493505 | 3e8553969d37a6cb3d1020bff25002bd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834763 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "ManickaP/runfo",
"max_stars_repo_path": "DevOps.Util.UnitTests/TestableLogger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153983"
} | starcoder | <filename>DevOps.Util.UnitTests/TestableLogger.cs
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Text;
using Xunit.Abstractions;
namespace DevOps.Util.UnitTests
{
public sealed class TestableLogger : ILogger
{
public ITestOutputHelper TestOutputHelper ... | 2.472661 | 4779dcb218b39ec97dff1b9ff4d79846 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834764 | {
"extension": "c-sharp",
"max_stars_count": "136.0",
"max_stars_repo_name": "Autodesk/synthesis",
"max_stars_repo_path": "engine/Assets/Scripts/UI/InteractableObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153984"
} | starcoder | <reponame>Autodesk/synthesis<filename>engine/Assets/Scripts/UI/InteractableObject.cs<gh_stars>100-1000
using System;
using UnityEngine;
using System.Collections.Generic;
using System.Collections;
using UnityEngine.Events;
using UnityEngine.EventSystems;
using Synthesis.UI.ContextMenus;
using UnityEngine.UI;
using Synt... | 2.287867 | 50961798986c59efe3848570afbd2be7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834765 | {
"extension": "c-sharp",
"max_stars_count": "216.0",
"max_stars_repo_name": "ThomasBleijendaal/RapidCMS",
"max_stars_repo_path": "src/RapidCMS.Api.Core/Handlers/ApiHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153985"
} | starcoder | <filename>src/RapidCMS.Api.Core/Handlers/ApiHandler.cs<gh_stars>100-1000
using System;
using System.Net;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using RapidCMS.Api.Core.Abstractions;
using RapidCMS.Api.Core.Models;
using RapidCMS.Core.Abstractions.Data;
using RapidCMS.C... | 2.058828 | 972ae58c07d1a2b122ce4e3d80207f9e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834766 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "shaigem/BlazorPanzoom",
"max_stars_repo_path": "src/BlazorPanzoom/Converters/JsonStringEnumMemberConverterOptionsAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153986"
} | starcoder | // Licensed to Macross Software under the MIT license.
// https://github.com/Macross-Software/core/tree/develop/ClassLibraries/Macross.Json.Extensions
//
// Copyright (c) 2020 <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation fil... | 2.375844 | 65849f5cd7204d04c878e38a7dd005d1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834767 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "RachelTucker/ds3_net_sdk",
"max_stars_repo_path": "Ds3/Helpers/TransferStrategies/ITransferer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153987"
} | starcoder | <filename>Ds3/Helpers/TransferStrategies/ITransferer.cs
/*
* ******************************************************************************
* Copyright 2014-2017 Spectra Logic Corporation. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
* this file excep... | 1.649428 | e1cc2f191b2dffaf4b9d65ad0a54f466 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834768 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "AlisonQuinter17/holbertonschool-csharp",
"max_stars_repo_path": "0x03-csharp-hashset_stack_queue_linkedlist/9-linkedlist_pop/9-linkedlist_pop.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153988"
} | starcoder | <filename>0x03-csharp-hashset_stack_queue_linkedlist/9-linkedlist_pop/9-linkedlist_pop.cs
using System;
using System.Collections.Generic;
class LList
{
public static int Pop(LinkedList<int> myLList)
{
var first_value = 0;
if (myLList.Count <= 0)
{
return (0);
}
... | 3.012394 | e3d1273cbd5928b93b3f3af95e6628b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834769 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "viordash/HhPlumsailTest",
"max_stars_repo_path": "Application/HhPlumsailApp/Models/CustomerModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153989"
} | starcoder | <filename>Application/HhPlumsailApp/Models/CustomerModel.cs
using System.ComponentModel.DataAnnotations;
namespace HhPlumsailApp.Models {
public class CustomerModel {
[Required]
public int Id { get; set; }
[Required]
[StringLength(100, ErrorMessage = "The {0} must be at least {2} characters long.")]
... | 2.608357 | 5f9ff8e4bf440185a91f0f2628a754e5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834770 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Arganancer/PathfindingBenchmark_Console",
"max_stars_repo_path": "PathfindingTests/NewAvlTreeTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153990"
} | starcoder | using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Pathfinding.Algorithm.Nodes;
using Pathfinding.DataStructures;
using World.Geometry;
namespace PathfindingTests
{
[TestClass]
public class AvlTreeTests
{
public Int32 X;
public Int32 Y;
public Int32 Z;
... | 2.534382 | 27d42632ef0b2b8ce75b0622b383eb68 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834771 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lukkanog/C---Exerc-cios",
"max_stars_repo_path": "Exercicios_OO/OOEx1/ContaCorrente.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153991"
} | starcoder | namespace OOEx1
{
public class ContaCorrente
{
public string titular;//atributo
public int agencia;//atributo
public int numeroConta;//atributo
public double saldo{get;private set;}//atributo
public void Depositar(double valor)
{
saldo+=valor;... | 2.933247 | e6d60bd47e061c9c9d947a24ea292eea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834772 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "tokmac/cloud-vibe",
"max_stars_repo_path": "Cloud-Vibe/Views/Shared/_LoginNavigationPartial.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:153992"
} | starcoder | <reponame>tokmac/cloud-vibe<filename>Cloud-Vibe/Views/Shared/_LoginNavigationPartial.cshtml
@using Microsoft.AspNet.Identity
@using Cloud_Vibe.Data
<ul class="nav navbar-nav">
<li class="nav-btn">@Html.ActionLink("Home", "Index", "User", new { area = "" }, null)</li>
<li class="nav-btn">@Html.ActionLink("Song... | 1.752439 | e213d04180ef6f3c8dce802ed052de65 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834773 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ductran95/JustCSharp.Epub",
"max_stars_repo_path": "src/JustCSharp.Epub/IReader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153993"
} | starcoder | using System.Threading;
using System.Threading.Tasks;
using JustCSharp.Epub.Constants;
namespace JustCSharp.Epub
{
public interface IReader
{
void Read(int bufferSize = EpubDefaultValues.BufferSize);
Task ReadAsync(int bufferSize = EpubDefaultValues.BufferSize, CancellationToken cancellationTok... | 2.018359 | 48d96b810d3990cc99b29ab3f5c17863 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834774 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Flynt56/not-steam",
"max_stars_repo_path": "src/NotSteam.Core/ViewModels/Games/GamesList.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153994"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using AutoMapper;
using NotSteam.Core.Infrastructure.AutoMapper.Interfaces;
using NotSteam.Model.Models;
namespace NotSteam.Core.ViewModels.Games
{
public class GamesList : IHaveCustomMapping
{
public int Id { get; set; }
publ... | 2.32489 | 29d25686cb26f5068784c8992e72be74 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834775 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cythral/brighid-commands-sdk",
"max_stars_repo_path": "src/Sdk.Generator/Hosting/Models/GeneratorContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153995"
} | starcoder | <filename>src/Sdk.Generator/Hosting/Models/GeneratorContext.cs<gh_stars>0
using Microsoft.CodeAnalysis;
namespace Brighid.Commands.Sdk.Generator
{
/// <summary>
/// Represents the context of a source generator pass.
/// </summary>
public class GeneratorContext
{
/// <summary>
/// In... | 2.336658 | 3f2e7e40710671228ce03785f309278a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834776 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "atjohns2/BCBSNCMatterCenter",
"max_stars_repo_path": "tree/master/cloud/src/solution/Microsoft.Legal.MatterCenter.jobs/SharePointInfo/Utility.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153996"
} | starcoder | <gh_stars>0
using Microsoft.Legal.MatterCenter.Models;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Table;
using System;
using System.IO;
using System.Security;
namespace Microsoft.Legal.MatterCenter.Jobs
{
public class Utility
{
/// <summary>
/// Update the stat... | 2.583648 | 8301de7342acf56c76a53130724b0572 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834777 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jlarnett/WinstonLakeV2",
"max_stars_repo_path": "Assets/Asset Packs/Devion Games/Stat System/Scripts/Runtime/StatFormula.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153997"
} | starcoder | <gh_stars>0
using DevionGames.Graphs;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace DevionGames.StatSystem
{
[System.Serializable]
public class StatFormula : FlowGraph
{
public StatFormula()
{
GraphUtility.AddNode(this, typeof(StatResu... | 1.145957 | 2c700a439dc4ab83e3042c8139b4ced6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834778 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ibistic/open-airport-data",
"max_stars_repo_path": "Ibistic.Public.OpenAirportData/Ibistic.Public.OpenAirportData/Country.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153998"
} | starcoder | using System;
namespace Ibistic.Public.OpenAirportData
{
[Serializable]
public sealed class Country
{
public string Name { get; internal set; }
public string Alpha2 { get; internal set; }
public string Alpha3 { get; internal set; }
public override string ToString()
... | 2.548274 | e127462162ba4ae8ce6ce55df54870db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834779 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WhereIsTheThrow/WhereIsTheThrow",
"max_stars_repo_path": "Assets/Scripts/SignUpManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:153999"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Text.RegularExpressions;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class SignUpManager : MonoBehaviour
{
bool validEmailAdress = false;
bool validPass = f... | 2.360497 | 77a9456cce4c550fc786c86585834278 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834780 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "synogen/pcbsharmonymods",
"max_stars_repo_path": "Order Templates/CheckoutFinalRowLogic.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154000"
} | starcoder | <reponame>synogen/pcbsharmonymods
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.UI;
using Utils;
namespace Order_Templates
{
class CheckoutFinalRowLogic
{
public InputField templateName;
... | 2.082341 | 96c7d6f630e9572c8af899b78cfcaac4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834781 | {
"extension": "c-sharp",
"max_stars_count": "116.0",
"max_stars_repo_name": "microserviceframe/Silky",
"max_stars_repo_path": "framework/src/Silky.Rpc/Runtime/Client/Polly/IPolicyProvider.WithResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154001"
} | starcoder | <filename>framework/src/Silky.Rpc/Runtime/Client/Polly/IPolicyProvider.WithResult.cs<gh_stars>100-1000
using Polly;
using Silky.Core.DependencyInjection;
namespace Silky.Rpc.Runtime.Client
{
public interface IPolicyWithResultProvider : ISingletonDependency
{
IAsyncPolicy<object> Create(string serviceEn... | 1.401022 | c5a9a8673c0807baa63d828c6ac89e89 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834782 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "PrimordialCode/akkadotnet101",
"max_stars_repo_path": "src/Unit03/Exercise03/ConsoleApp/Shared/Messages/InputCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154002"
} | starcoder | <gh_stars>1-10
namespace ConsoleApp.Shared.Messages
{
public class InputCommand : Command
{
public string Data { get; }
public InputCommand(string data)
{
Data = data;
}
}
}
| 1.935974 | 5282a8af0d3b4677b7dfc6273e9c0ad6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834783 | {
"extension": "c-sharp",
"max_stars_count": "469.0",
"max_stars_repo_name": "lefb766/mono",
"max_stars_repo_path": "mcs/tests/test-713.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154003"
} | starcoder | using System;
class DispBar : IDisposable
{
public void Dispose ()
{
Console.WriteLine ("DispBar.Dispose");
}
}
class Foo
{
public IDisposable GetBar ()
{
return new DispBar ();
}
}
class Test
{
static Foo foo = new Foo ();
public static bool TryThing ()
{
using (IDisposable disp = foo.GetBar ()) ... | 2.791087 | 5ad221723498a89bde57dd6e939e0963 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834784 | {
"extension": "c-sharp",
"max_stars_count": "71.0",
"max_stars_repo_name": "tied/bitbucket-for-visual-studio",
"max_stars_repo_path": "Source/GitClientVS.Contracts/Interfaces/ViewModels/ICommentViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154004"
} | starcoder | using System.Collections.Generic;
using System.Threading.Tasks;
using GitClientVS.Contracts.Models.GitClientModels;
using GitClientVS.Contracts.Models.Tree;
using ReactiveUI;
namespace GitClientVS.Contracts.Interfaces.ViewModels
{
public interface ICommentViewModel : IViewModelWithErrorMessage
{
React... | 1.67704 | 1e31bfbd09c1a25307cd20bd83f9b72c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834785 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "muhammetandic/bookstore",
"max_stars_repo_path": "src/BookStore.Application/Interfaces/Repositories/IAuthorRepositoryAsync.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154005"
} | starcoder | using BookStore.Domain.Entities;
namespace BookStore.Application.Interfaces.Repositories
{
public interface IAuthorRepositoryAsync : IGenericRepositoryAsync<Author>
{
}
}
| 1.259834 | ae78b9bbe77f41ea0d37326b8617d374 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834786 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "patmich/EM",
"max_stars_repo_path": "Editor/Base/EMSwfTag.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154006"
} | starcoder | <filename>Editor/Base/EMSwfTag.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Runtime.InteropServices;
public sealed class EMSwfTag
{
private ushort _content;
private uint _length;
public EMSwfTag(uint type, uint length)
... | 2.7069 | 7975ce34e689b471cd9d285b29e0fedd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834787 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alexandrateneva/CSharp-Web-SoftUni",
"max_stars_repo_path": "CSharp MVC Frameworks - ASP.NET Core/GrabNReadApp - Final Project/GrabNReadApp/GrabNReadApp.Data.Services/Evaluation/Contracts/IRatingService.cs",
"provenance": "train-00027... | starcoder | <filename>CSharp MVC Frameworks - ASP.NET Core/GrabNReadApp - Final Project/GrabNReadApp/GrabNReadApp.Data.Services/Evaluation/Contracts/IRatingService.cs
using System.Threading.Tasks;
using GrabNReadApp.Data.Models.Evaluation;
namespace GrabNReadApp.Data.Services.Evaluation.Contracts
{
public interface IRatingSe... | 2.182639 | 6b6d19f42af64ce11b14c4db06f47f03 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834788 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Muizz0987654321/Student-Management-BE",
"max_stars_repo_path": "Models/Class.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154008"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Asp_react_api_tutorial.Models
{
public class Class
{
public int Class_Id{ get; set; }
public string Class_Name { get; set; }
public string Class_Year { get; set; }
}
}
| 2.077999 | d7ae5cd2d9ffdcb7ddc84c5b1dabbf63 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834789 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Architekt909/EnginePrimeSync",
"max_stars_repo_path": "DB/EnginePrimeDb.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154009"
} | starcoder | using Microsoft.Data.Sqlite;
using System;
namespace EnginePrimeSync.DB
{
public abstract class EnginePrimeDb : IDisposable
{
protected readonly string _dbPath;
protected SqliteConnection _connection;
protected bool _disposed;
protected bool _opened;
public const string EXTERNAL_MUSIC_FOLDER = @"Music";
... | 2.710031 | 0d5e643f77b8e0fe0a677fb2da8f52e3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834790 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "javilonas/Enigma2-stream-tester",
"max_stars_repo_path": "Enigma2-stream-tester/Utils/FileOperations.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154010"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Enigma2_stream_tester.Utils
{
public class FileOperations
{
//p... | 2.478714 | 92ca155e03d10689d8c1c406655c1a9f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834791 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Advanced-Alliance/su4na-API-NET",
"max_stars_repo_path": "Api/ShikiApiLib/Classes/Anime.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154011"
} | starcoder | <filename>Api/ShikiApiLib/Classes/Anime.cs
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ShikiApiLib
{
public class AnimeShortInfo : TitleShortInfo
{
[JsonProperty(PropertyName = "episodes")]
... | 2.530654 | 69ea75354e954bbe2d2389165f60b59b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834792 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "metlinskyi/archive",
"max_stars_repo_path": "csharp/tasks/playtika/Dir.Test/ConsoleTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154012"
} | starcoder | <filename>csharp/tasks/playtika/Dir.Test/ConsoleTest.cs<gh_stars>0
using System;
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Dir.Console.Args;
using Dir.Console;
using Dir.Ex;
using Dir.Ex.Actions;
using Ninject;
using System.Reflection;
using Dir.Ex.Prototypes;
namespace Dir.Test
{
... | 2.04053 | 7c55ab4b8ad56c8c19fed2dfe6c4cdcc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834793 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JosafatZG/TransporteCanas",
"max_stars_repo_path": "Transportes_Canas/Viaje.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154013"
} | starcoder | <filename>Transportes_Canas/Viaje.Designer.cs
namespace ADS_PROYECT
{
partial class Viaje
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being us... | 1.963292 | e5a2ed8ff5203c83af18a88ce4cfd461 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834794 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lucidsheep/ssj19",
"max_stars_repo_path": "Assets/Components/PlayerCharacter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154014"
} | starcoder | using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class PlayerCharacter : Creature
{
public float defaultDashTime;
public float defaultDashSpeed;
public float defaultSwimSpeed;
public TextMeshPro interactTxt;
public Attack attackTemplate;
public Anim dashAnimTemplate;
pub... | 1.756364 | 20f66609f4e23bbaef578c3c257ee7e2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834795 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Branlute/victor",
"max_stars_repo_path": "VictorWP7/Victor/Victor/BDD/Question.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154015"
} | starcoder | <filename>VictorWP7/Victor/Victor/BDD/Question.cs<gh_stars>0
using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System... | 2.352078 | ebbdebb7a5db2a339badbea4b6e7662f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834796 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eddex/cardanosharp-wallet",
"max_stars_repo_path": "CardanoSharp.Wallet/Extensions/StringExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154016"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace CardanoSharp.Wallet.Extensions
{
public static class StringExtension
{
public static string ToStringHex(this byte[] bytes)
{
var hex = BitConverter
.ToString(bytes)
.Replace... | 2.5054 | 462dbb01ff7d883976e924861c68130a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834797 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "win7user10/Microsoft.SharePoint.Client.NetStandard",
"max_stars_repo_path": "src/Runtime/ObjectIdentityQuery.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154017"
} | starcoder | <reponame>win7user10/Microsoft.SharePoint.Client.NetStandard
using System.Globalization;
using System.Xml;
namespace Microsoft.SharePoint.Client.NetStandard.Runtime
{
public sealed class ObjectIdentityQuery : ClientAction
{
public ObjectIdentityQuery(ObjectPath objectPath) : base(ClientRuntimeContext.... | 1.97483 | 5d65014a8aaad459686157f5e8342a42 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834798 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "attrib75/CodeGenHero",
"max_stars_repo_path": "src/CodeGenHero.Template/Interfaces/ITemplateSetting.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154018"
} | starcoder | <reponame>attrib75/CodeGenHero
using System;
using System.Collections.Generic;
using System.Text;
namespace CodeGenHero.Template
{
public partial interface ITemplateSetting
{
bool HiddenIndicator { get; set; }
string Name { get; set; }
string Value { get; set; }
}
} | 1.453874 | 60ff030c35081c9641150827fc3b73c1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834799 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "matteo-mosca-easydom/EntityFramework",
"max_stars_repo_path": "src/EntityFramework.Relational/RelationalOptionsExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154019"
} | starcoder | <gh_stars>0
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Linq;
using System.Reflection;
using... | 1.947327 | fd911e35988f9920177d489c16ee4664 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834800 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tianlang0704/Choice",
"max_stars_repo_path": "Assets/Scripts/Runtime/Systems/CommonLogicSystem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154020"
} | starcoder | <filename>Assets/Scripts/Runtime/Systems/CommonLogicSystem.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using DIS = DataInfluenceSystem;
public enum Logic {
AttrChange = 0, // 永久改变数值
AttrChangeHurtIncome, // 自动伤害收益, 如果是负数就是伤害, 如果是... | 2.248144 | 747e5bc62ac5f1b07f4aa85c1de05b86 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834801 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "keutmann/SPM",
"max_stars_repo_path": "SharePoint Manager 2010 v2/Src/Main/SPM2.SharePoint/Model/Custom/StringNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154021"
} | starcoder | <gh_stars>10-100
/* ---------------------------
* SharePoint Manager 2010 v2
* Created by <NAME>
* ---------------------------
*/
using System;
using Microsoft.SharePoint;
using Microsoft.SharePoint.Administration;
using SPM2.Framework;
namespace SPM2.SharePoint.Model
{
[Title("String")]
[Icon(Small="BULLET.GI... | 1.256502 | 3e026e31ef1cecfa15e847a684bd0fc0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834802 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "flaviogf/Cursos",
"max_stars_repo_path": "alura/certificacao_csharp/Section5/Section5.CollectionGarbage/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154022"
} | starcoder | <gh_stars>1-10
using System;
namespace Section5.CollectionGarbage
{
public class Program
{
public static void Main(string[] args)
{
for (int i = 0; i < 1000000; i++)
{
new Person
{
Name = "Test"
... | 3.216926 | 5d782bb2b79ae2b13a09f236a3985282 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834803 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "AndrewMette/AssertAll",
"max_stars_repo_path": "AssertAll.Tests/ExtensionMethodTests/ExceptionHasInnerExceptionShould.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154023"
} | starcoder | using System;
using System.Collections.Generic;
using AssertAllNuget;
using AssertAllNuget.Exceptions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using RandomTestValues;
namespace AssertAllTests.ExtensionMethodTests
{
[TestClass]
public class ExceptionHasInnerExceptionShould : TestBase
{
... | 2.306875 | 21cebefa9a4e2da4b4cdb94c3584e0ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834804 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "scottluskcis/azure-messaging-events",
"max_stars_repo_path": "src/ServiceBusReceiver/ServiceBusReceiverApp.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154024"
} | starcoder | using System;
using System.Threading.Tasks;
using Common.ServiceBus;
using Microsoft.Extensions.Logging;
namespace ServiceBusReceiver
{
internal class ServiceBusReceiverApp
{
private readonly ILogger _logger;
private readonly IMessageReceiver _receiver;
public ServiceBusReceiverApp(IM... | 2.582765 | 3ae796aec4957305e9bb29c565d62f4d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834805 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "nimaller/azure-powershell",
"max_stars_repo_path": "src/Sql/Sql/TransparentDataEncryption/Model/AzureRmSqlManagedInstanceTransparentDataEncryptionProtectorModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154025"
} | starcoder | <reponame>nimaller/azure-powershell
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft 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 obtain a ... | 2.059974 | 4c35cfd7f33a3f79d488b0cc7a5999ca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834806 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zhangjie0072/Learn_FairyGUI_Slua",
"max_stars_repo_path": "Assets/Slua/LuaObject/Unity/Lua_UnityEngine_RigidbodyConstraints.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154026"
} | starcoder | using System;
using LuaInterface;
using SLua;
using System.Collections.Generic;
public class Lua_UnityEngine_RigidbodyConstraints : LuaObject {
static public void reg(IntPtr l) {
getEnumTable(l,"UnityEngine.RigidbodyConstraints");
addMember(l,0,"None");
addMember(l,2,"FreezePositionX");
addMember(l,4... | 1.539993 | 78fde87c1e91304d62183d2f9a8b59e9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834807 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dylanbrodiefafard/virtual-ftvr",
"max_stars_repo_path": "VolumetricDisplay/Assets/VirtualStudy/Point Cloud/CuttingPointCloud.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154027"
} | starcoder | <filename>VolumetricDisplay/Assets/VirtualStudy/Point Cloud/CuttingPointCloud.cs
using Biglab.Math;
using System.Collections.Generic;
using System.Linq;
using Biglab.Extensions;
using UnityEngine;
public class CuttingPointCloud : PointCloud
{
public int NumberOfPointsPerCluster;
public float StdDevInCluster;
... | 2.573151 | 2dbbcf02177920a6391ef810a85a7d0a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834808 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "ferib/LuaToolkit",
"max_stars_repo_path": "demo/Test/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154028"
} | starcoder | <filename>demo/Test/Program.cs
using System;
using LuaToolkit;
using LuaToolkit.Decompiler;
using LuaToolkit.Core;
using LuaToolkit.Disassembler;
using LuaToolkit.Obfuscator;
using LuaToolkit.Obfuscator.Plugin;
using LuaToolkit.Beautifier;
using System.IO;
using System.Collections.Generic;
namespace Test
{
class ... | 2.32153 | eae1de2c11b25adb359d406f63f50efd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834809 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "dtidigitalcrafters/suricatos-learningloop-csharp-designpatterns",
"max_stars_repo_path": "visitor/Repositories/ProdutoRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154029"
} | starcoder | <reponame>dtidigitalcrafters/suricatos-learningloop-csharp-designpatterns
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using visitor.Dtos;
namespace visitor.Repositories
{
public class ProdutoRepository
{
public IEnumerable<ProdutoDTO> getProdutos()
... | 2.561214 | 890ba1cab147ec22e9bd8ab65a48882e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834810 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "suryasnath/csharp",
"max_stars_repo_path": "src/EntityFramework.Sqlite/Metadata/SqliteMetadataExtensionProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154030"
} | starcoder | <filename>src/EntityFramework.Sqlite/Metadata/SqliteMetadataExtensionProvider.cs
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.Data.Entity.Metadata;
namespace Microsoft.Data.Entity... | 1.863656 | 9efefc441ecc877858bd06f155bd7642 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8834811 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rhjoerg/vs2022-task-problem",
"max_stars_repo_path": "VS2022.TaskProblem.Shared/Tasks/TaskBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154031"
} | starcoder | using Microsoft.Build.Framework;
using System;
using System.Linq;
using System.Reflection;
namespace VS2022.TaskProblem.Shared.Tasks
{
public abstract class TaskBase : Microsoft.Build.Utilities.Task
{
protected string TargetFramework
{
get => GetType().Assembly
.Get... | 2.447015 | 95ba30b354ca202d98e9fbfc0ea4bdf7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.