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 | 8841312 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "yfzhang2015/GofForCSharp",
"max_stars_repo_path": "DesignPattern.Facade/Subsystem/FileWriter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160532"
} | starcoder | using System;
namespace DesignPattern.Facade.Subsystem
{
/// <summary>
/// 文件保存类:子系统C
/// </summary>
public class FileWriter
{
public void Write(string encryptedStr, string fileNameDes)
{
Console.WriteLine("保存密文,写入文件:");
byte[] myByte = System.Text.Encoding.... | 3.221058 | ecd9ef675f3f8a8764fb0541c2f42bbe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841313 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hristobakalov/ProductivityApp",
"max_stars_repo_path": "ProductivityApp/Models/Task.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160533"
} | 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.671665 | 54d70ae0380b2e5925da71a25a1ce908 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841314 | {
"extension": "c-sharp",
"max_stars_count": "68.0",
"max_stars_repo_name": "devmentors/Inflow",
"max_stars_repo_path": "src/Modules/Customers/Inflow.Modules.Customers.Core/DTO/IdentityDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160534"
} | starcoder | <gh_stars>10-100
namespace Inflow.Modules.Customers.Core.DTO;
public class IdentityDto
{
public string Type { get; set; }
public string Series { get; set; }
} | 1.29972 | 3c02d51dff6f225e34e59928756c3949 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841315 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "Incoding-Software/Incoding-Framework",
"max_stars_repo_path": "src/Incoding/MvcContrib/Incoding Controls/IncFileControl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160535"
} | starcoder | namespace Incoding.MvcContrib
{
#region << Using >>
using System;
using System.Linq.Expressions;
using System.Web.Mvc;
using Incoding.Extensions;
#endregion
public class IncFileControl<TModel, TProperty> : IncControlBase
{
#region Fields
readonly HtmlHelper<TModel> h... | 2.511225 | f8c675773e0de0dbd885cf0c54390759 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841316 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "2011-nov02-net/Joseph-project1",
"max_stars_repo_path": "Project1/Project1.WebApp/Models/CustomerViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160536"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
namespace Project1.WebApp.Models
{
public class CustomerViewModel
{
[Display(Name = "First Name")]
[Required]
[RegularExpression("[A... | 1.841033 | 325f1d5e6d50dae1f401942b5db292d0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841317 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "irmoralesb/SVG",
"max_stars_repo_path": "Source/Painting/SvgPatternServer.Drawing.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160537"
} | starcoder | #if !NO_SDC
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Linq;
namespace Svg
{
public partial class SvgPatternServer : SvgPaintServer, ISvgViewPort
{
private Matrix EffectivePatternTransform
{
get
{
... | 2.167947 | f653a8b3b14bbdc90cc9fe73f5ff5919 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841318 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MartinelliEmanuele/NETCoreAPI",
"max_stars_repo_path": "NetCoreAPIAngularPortfolio/Models/TodoItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160538"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace NetCoreAPIAngularPortfolio.Models
{
public class TodoItem
{
public long Id { get; set; }
public string Title { get; set; }
public string Description { get; set; } = "";
pu... | 2.128186 | f224e0825dfca94dd81012b636943025 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841319 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "rkapl123/logjoint",
"max_stars_repo_path": "trunk/presenters/HelpWindowPresenter/HelpWindowPresenter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160539"
} | starcoder | <reponame>rkapl123/logjoint<gh_stars>10-100
using System;
using System.IO;
using System.Reflection;
using System.Text.RegularExpressions;
namespace LogJoint.UI.Presenters.Help
{
public class Presenter: IPresenter
{
readonly IShellOpen shellOpen;
public Presenter(IShellOpen shellOpen)
{
this.sh... | 2.497135 | bf6dab3734d4b79ed3e3e18bdc451042 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841320 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GeorgeLincoln/AquaSys",
"max_stars_repo_path": "AquaSys/ClassLibraries/Services/IViveiroService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160540"
} | starcoder | <reponame>GeorgeLincoln/AquaSys<filename>AquaSys/ClassLibraries/Services/IViveiroService.cs
using ClassLibraries.Models;
using ClassLibraries.Repositorios;
using System.Collections.Generic;
using System.Text;
namespace ClassLibraries.Services
{
public interface IViveiroService : IServiceBase<Viveiro>
{
}
... | 1.14031 | ddf7479c348c4b8016c2471231efdc4b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841321 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KuznetsovDm/R-173",
"max_stars_repo_path": "R-173/R-173/BL/Tasks/NetworkTask.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160541"
} | starcoder | <filename>R-173/R-173/BL/Tasks/NetworkTask.cs
using P2PMulticastNetwork.Model;
using R_173.BE;
using R_173.Interfaces;
namespace R_173.BL.Tasks
{
public class NetworkTask : ITask
{
private readonly INetworkTaskManager _networkTaskManager;
private readonly NetworkTaskData _taskData;
private readonly INetworkTa... | 2.550914 | b527382582f0eaec7c3e9fb6201c7e85 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841322 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "arnovb-github/CmcLibNet",
"max_stars_repo_path": "CmcLibNet.Extensions/CommenceFieldTypeExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160542"
} | starcoder | <filename>CmcLibNet.Extensions/CommenceFieldTypeExtension.cs
using System;
using System.Data;
using System.Data.OleDb;
using Vovin.CmcLibNet.Database;
namespace Vovin.CmcLibNet.Extensions
{
internal static class CommenceFieldTypeExtension
{
internal static string GetSQLiteTypeForCommenceField(this Com... | 2.668736 | 0994bfc965b66235e1f3ba16e4254061 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841323 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ray1997/JamulatorBubbleWrapSimulator",
"max_stars_repo_path": "Assets/Scripts/UIController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160543"
} | starcoder | <reponame>ray1997/JamulatorBubbleWrapSimulator
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class UIController : MonoBehaviour
{
private void Update()
{
if (Input.GetKeyDown(KeyCode.Escape))
{
if (CurrentPage == Page.Main)
Cur... | 2.168977 | 7757b7ef9f7b6f6a0d961f7f4b09ebbd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841324 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "JasonBock/IronBefunge",
"max_stars_repo_path": "IronBefunge/ExecutionContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160544"
} | starcoder | using Spackle;
namespace IronBefunge;
internal sealed class ExecutionContext
{
// The reason this is disabled around the constructor is the compiler isn't
// "smart enough" to realize Current is assigned in the constructor through Next()
// and will "never" be null
#nullable disable
internal ExecutionContext(Li... | 2.558497 | ff7ca266d75befbe59314950a3835a2a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841325 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlejandroCilveti/Ascend",
"max_stars_repo_path": "code/Config.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160545"
} | starcoder | <gh_stars>0
namespace Ascend
{
partial class Config
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 0.949551 | fe3bdbd4a2ccadca4c416468a5c44ac7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841326 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andrija-mitrovic/Innoloft",
"max_stars_repo_path": "src/ApplicationCore/Models/Company.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160546"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace ApplicationCore.Models
{
public class Company
{
public int CompanyId { get; set; }
public string Name { get; set; }
public string CatchPhrase { get; set; }
public string Bs { get; set; }
public... | 1.671063 | 3383290c951dd1a80279855bc4d7afc3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841327 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Eule01/BasicGame",
"max_stars_repo_path": "GameCore/GameCore/Render/OpenGl4CSharp/RendererOpenGl4CSharp.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160547"
} | starcoder | <filename>GameCore/GameCore/Render/OpenGl4CSharp/RendererOpenGl4CSharp.cs
#region
using System;
using System.Diagnostics;
using System.Threading;
using CodeToast;
using OpenGL;
using Tao.FreeGlut;
#endregion
namespace GameCore.Render.OpenGl4CSharp
{
public class RendererOpenGl4CSharp : RendererBase
{
... | 2.046798 | d8b8cdb47d593081d601ec2a5dd02cdc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841328 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "sts-CAD-Software/PCB-Investigator-Scripts",
"max_stars_repo_path": "ASync-Folder/Snake_Zoom.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160548"
} | starcoder | //ASynchronous template
//-----------------------------------------------------------------------------------
// PCB-Investigator Automation Script
// Created on 2016-01-29
// Author EasyLogix
// www.pcb-investigator.com
// SDK online reference http://www.pcb-investigator.com/sites/default/files/documents/InterfaceDocu... | 2.237259 | 6042fa9e36a5c01eeb2c692799263057 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841329 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "cidthecoatrack/TreasureGen",
"max_stars_repo_path": "DnDGen.TreasureGen.Tests.Integration.Tables/Items/Magical/Weapons/Specific/SpecificWeaponsAttributesTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160549"
} | starcoder | <gh_stars>1-10
using DnDGen.TreasureGen.Items;
using DnDGen.TreasureGen.Tables;
using NUnit.Framework;
namespace DnDGen.TreasureGen.Tests.Integration.Tables.Items.Magical.Weapons.Specific
{
[TestFixture]
public class SpecificWeaponsAttributesTests : CollectionsTests
{
protected override string tab... | 1.798777 | ffeeed5a225464a8e76f4f9786ba7048 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841330 | {
"extension": "c-sharp",
"max_stars_count": "98.0",
"max_stars_repo_name": "luhtech/speckle-sharp",
"max_stars_repo_path": "Core/Core/Transports/ServerV2.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160550"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Speckle.Core.Credentials;
using Speckle.Core.Logging;
using Speckle.Core.Transports.ServerUtils;
using Speckle.Newtonsoft.Json.Linq;
namespace Speckle.Core.Transports
{... | 2.116616 | 4e74b375816fef908b9d4fd1c95b6bd9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841331 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "croxelstudios/Serfs-Galore",
"max_stars_repo_path": "Assets/Audio/Scripts/AudioPlayer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160551"
} | starcoder | <filename>Assets/Audio/Scripts/AudioPlayer.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(AudioSource))]
public class AudioPlayer : MonoBehaviour
{
[SerializeField]
private AudioClip[] clips = null;
private AudioSource audioSource;
[Serialize... | 2.568132 | 623292a96c9dd0a61e042b0cd16804be |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841332 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "LordZoltan/Rezolver",
"max_stars_repo_path": "test/Rezolver.Tests.Shared/Types/IDecorated.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160552"
} | starcoder | <filename>test/Rezolver.Tests.Shared/Types/IDecorated.cs<gh_stars>10-100
namespace Rezolver.Tests.Types
{
public interface IDecorated
{
}
} | 1.114507 | c6db869ea71222967e71e9d8a094cc94 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841333 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "shrayasr/Nolita",
"max_stars_repo_path": "Nolita/Views/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:160553"
} | starcoder | @using Nolita
@using Nolita.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.563858 | 20648d4af10f97695c897341ea6e1b2b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841334 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JeongGoEun/MetaGalaga",
"max_stars_repo_path": "static/unity/Assets/Scripts/Manager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160554"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Manager : MonoBehaviour {
public GameObject player;
private GameObject title;
// Use this for initialization
void Start () {
title = GameObject.Find("Title");
}
// Update is called once pe... | 2.383884 | c9b12935e1436d5e29076c8a7da3a625 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841335 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "matthiaseinig/SharePoint-Software-Factory",
"max_stars_repo_path": "SPALM.SPSF.Library/Editors/CustomArrayEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160555"
} | starcoder | <reponame>matthiaseinig/SharePoint-Software-Factory<filename>SPALM.SPSF.Library/Editors/CustomArrayEditor.cs
using System;
using System.Drawing.Design;
using System.ComponentModel;
using System.Windows.Forms.Design;
using System.Windows.Forms;
using System.IO;
using System.Xml;
using EnvDTE;
using Microsoft.Practices.C... | 1.849664 | f713733996ba5c975eddf9f8ac6e0c78 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841336 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SafetyCone/R5T.NetStandard.TypedString",
"max_stars_repo_path": "source/R5T.NetStandard.TypedString/Code/Extensions/LowercaseStringUnvalidatedExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160556"
} | starcoder | <reponame>SafetyCone/R5T.NetStandard.TypedString<filename>source/R5T.NetStandard.TypedString/Code/Extensions/LowercaseStringUnvalidatedExtensions.cs
using System;
namespace R5T.NetStandard
{
public static class LowercaseStringUnvalidatedExtensions
{
/// <summary>
/// Determines if a s... | 3.18271 | c8dbdc79a2bafb7e79fce8673d2479b8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841337 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "n0ix/FluentFTP",
"max_stars_repo_path": "FluentFTP/Client/FtpClient_FXP.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160557"
} | starcoder | using System;
using System.IO;
using System.Net.Sockets;
using System.Text;
using System.Text.RegularExpressions;
using System.Reflection;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Globalization;
using System.Securit... | 2.297506 | cf68439863043e71c8c6b85689ef1ec9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841338 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mathiasplans/wfc",
"max_stars_repo_path": "Main.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160558"
} | starcoder | using System;
public class Root {
static void Main() {
Wave water = new Wave(4, "~");
Wave coast = new Wave(4, "_");
Wave land = new Wave(4, "-");
Wave mountain = new Wave(4, "T");
// Water constraints
water.AddConstraints(WFC2.NORTH, new Wave[] {water});
wa... | 2.858676 | 8365c45da990b634cc2442c492ae6f56 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841339 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "skurdiukov/mustachio_rtf",
"max_stars_repo_path": "src/Mustachio.Rtf/ParseException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160559"
} | starcoder | using System;
namespace Mustachio.Rtf
{
public class ParseException : Exception
{
public ParseException(string message, params object[] replacements)
: base(string.Format(message, replacements)) { }
}
}
| 2.182904 | 0a38817e499b32ad02f6cc71b8701f6f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841340 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "conceptarc/InterestingStuff",
"max_stars_repo_path": "TimeTrack/TimeTrackingApp/TimeTrackingApp/MainWindow.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160560"
} | starcoder | using System;
using System.Collections.ObjectModel;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Medi... | 2.573741 | ef3b13d45d911db218fe0a224f48d072 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841341 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlexeyPerov/Router.NET",
"max_stars_repo_path": "ConfigurationStorage/DynamoDb/RouteTargetDocument.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160561"
} | starcoder | <reponame>AlexeyPerov/Router.NET
using System.Collections.Generic;
using Amazon.DynamoDBv2;
using Amazon.DynamoDBv2.DataModel;
using Amazon.DynamoDBv2.DocumentModel;
using Amazon.DynamoDBv2.Model;
namespace Router.ConfigurationStorage.DynamoDb
{
[DynamoDBTable(DynamoDbRoutingConfigurationStorage.RouteTargetsTable)... | 2.169186 | 94b2736d145da3855195346a60f57298 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841342 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "kkaraivanov/TourPortal",
"max_stars_repo_path": "src/Shared/TourPortal.Infrastructure.Shared/Models/Response/ApplicationError.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160562"
} | starcoder | namespace TourPortal.Infrastructure.Shared.Models.Response
{
public class ApplicationError
{
public string From { get; set; }
public string Error { get; set; }
public ApplicationError(string from, string error)
{
From = from;
Error = error;
}
... | 2.374825 | 6a06740ea8979e399dd877eefab6258e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841343 | {
"extension": "c-sharp",
"max_stars_count": "4226.0",
"max_stars_repo_name": "gstsgy/Util",
"max_stars_repo_path": "src/Util.Ui.Abstractions/Renders/IRender.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160563"
} | starcoder | <filename>src/Util.Ui.Abstractions/Renders/IRender.cs
using System.IO;
using Microsoft.AspNetCore.Html;
namespace Util.Ui.Renders {
/// <summary>
/// 渲染器
/// </summary>
public interface IRender : IHtmlContent {
/// <summary>
/// 渲染起始标签
/// </summary>
/// <param name="wr... | 2.248806 | 870d905351e90fbb6ca2dd675a145754 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841344 | {
"extension": "c-sharp",
"max_stars_count": "864.0",
"max_stars_repo_name": "sabitertan/MobileBlazorBindings",
"max_stars_repo_path": "src/Microsoft.MobileBlazorBindings/Elements/Handlers/DatePickerHandler.generated.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160564"
} | starcoder | <filename>src/Microsoft.MobileBlazorBindings/Elements/Handlers/DatePickerHandler.generated.cs
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
using Microsoft.MobileBlazorBindings.Core;
using System;
using XF = Xamarin.Forms;
namespace Microsoft.MobileBlazorBindings.Elements.Handlers
{
p... | 2.001835 | 8a5e48765ac799e41063bb533a145d25 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841345 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BrackeysBot/BrackeysBot.Core",
"max_stars_repo_path": "BrackeysBot.Core/Services/DiscordLogService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160565"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Threading;
using System.Threading.Tasks;
using BrackeysBot.Core.API;
using BrackeysBot.Core.API.Configuration;
using BrackeysBot.Core.Resources;
using DSharpPlus;
using DSharpPlus.Entities;
using DSharpPlus.EventArgs;
u... | 2.45584 | 06c038f7547340d217643680dd3c9d7a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841346 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "UruIT/rest-client",
"max_stars_repo_path": "src/UruIT.Serialization/Interfaces/ISerializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160566"
} | starcoder | using Monad;
namespace UruIT.Serialization
{
/// <summary>
/// Serializer and deserializaer of objects
/// </summary>
public interface ISerializer<TSerialize>
{
/// <summary>
/// Format of the serialization.
/// </summary>
SerializerFormat Format { get; }
/... | 2.980447 | b707e69408ea9bbd63c29d29e83039b5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841347 | {
"extension": "c-sharp",
"max_stars_count": "157.0",
"max_stars_repo_name": "sergioruizdeveloper/Aspose.Cells-for-.NET",
"max_stars_repo_path": "Plugins/NPOI/Aspose.Cells Vs NPOI HWPF and XWPF v1.2/ReOrder WorkSheets/NPOI HWPF and XWPF/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160567"
} | starcoder | <gh_stars>100-1000
using NPOI.SS.UserModel;
using NPOI.XSSF.UserModel;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace NPOI_HWPF_and_XWPF
{
class Program
{
static void Main(string[] args)
{
IWorkbook wb = new XSSFWork... | 2.516435 | fbd403b67d65c69f5f519cb6d4a9e0af |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841348 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "e1ektr0/BTC.Shared",
"max_stars_repo_path": "BTC.Shared/BTC.Shared.QueryObjects/OrderObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160568"
} | starcoder | <reponame>e1ektr0/BTC.Shared
using System;
using System.Linq;
using System.Linq.Expressions;
namespace BTC.Shared.QueryObjects
{
/// <summary>
/// Реализация объекта сортировки
/// </summary>
public class OrderObject<TEntity, TKeyOrder> : IOrderObject<TEntity>
{
/// <summary>
/// В... | 2.785243 | 43b1f0e3264bd0c8c6b80d0668571577 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841349 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nickchobotar/FileSharingService",
"max_stars_repo_path": "FileSharingService/Controllers/DownloadController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160569"
} | starcoder | <reponame>nickchobotar/FileSharingService<gh_stars>0
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Mvc;
namespace FileSharingService.Controllers
{
public class DownloadController : Controller
{
publ... | 2.152171 | 4a0427efaff0399b699d9e5506266b63 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841350 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bsides44/MARSGeofencing",
"max_stars_repo_path": "MARS geofencing/Library/PackageCache/com.unity.serialization@1.5.0-preview/Runtime/Unity.Serialization/Json/Parser/Token.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160570"
} | starcoder | namespace Unity.Serialization.Json
{
/// <summary>
/// The <see cref="TokenType"/> is used to describe the high level structure of a data tree.
/// </summary>
public enum TokenType
{
/// <summary>
/// Unknown token type. Usually this means the token is not initialized.
//... | 3.437642 | b25f04b284e60d068d42a90e4ee45918 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841351 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ghuntley/orleans",
"max_stars_repo_path": "src/Tester/TestStreamProviders/Generator/GeneratorAdapterConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160571"
} | starcoder | using System;
using System.Collections.Generic;
using System.Globalization;
using Orleans.Providers;
namespace Tester.TestStreamProviders.Generator
{
/// <summary>
/// This configuration class is used to configure the GeneratorStreamProvider.
/// It tells the stream provider how many queues to create, and ... | 2.723653 | d46f1b45d2198b7a4fc9f980bfb134d0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841352 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ejrach/my-various-csharp-projects",
"max_stars_repo_path": "SeasonTracker/SeasonTracker/Artwork.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160572"
} | starcoder | using System;
using System.IO;
namespace SimpleSeasonTracker
{
public class Artwork
{
private static readonly Lazy<Artwork> lazy = new Lazy<Artwork>(() => new Artwork());
public static Artwork Instance { get { return lazy.Value; } }
//public string BinaryPath { get; set; }
pri... | 3.208564 | 445da78590275c282eed0126e6a5a203 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841353 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "rhwy/Enlil",
"max_stars_repo_path": "Enlil.Tests/SampleAndData/FakeProjectBinaryLoader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160573"
} | starcoder | using System.Reflection;
using Enlil.Domain;
namespace Enlil.Tests
{
public class FakeProjectBinaryLoader : IProjectBinaryLoader
{
public BuildContext LoadAssemblyAndContext(BuildContext context)
{
context.AssemblyLength = 1000;
context.ResultingAssembly = Assembly.GetAs... | 1.840882 | 428f4820d805fb081502f6e716b2ece6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841354 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chenh1001/Basketball-ML-Unity",
"max_stars_repo_path": "Project/Assets/ML-Agents/BasketBall/newBasketBall/Scripts/shoot_nn_script.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160574"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using Unity.MLAgents;
using UnityEngine;
using Unity.MLAgents.Sensors;
public class shoot_nn_script : Agent
{
public float speed = 600;
public GameObject ball;
Rigidbody ballRgd;
public int counter = 0;
public int right = 1;
... | 2.132112 | ca0d2e04c33de97380274cdb3985f0c0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841355 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VitalyTartynov/CodilitySolutions",
"max_stars_repo_path": "CoditySolutions/03 - Time Complexity/PermMissingElem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160575"
} | starcoder | <filename>CoditySolutions/03 - Time Complexity/PermMissingElem.cs<gh_stars>0
using System;
namespace CoditySolutions
{
public class PermMissingElem
{
public int solution(int[] A)
{
if (A.Length == 0) return 1;
Array.Sort(A);
if (A[0] != 1) return 1;
... | 3.436691 | e8cf80d6528e4379e2ab0f08f5cf5e7b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841356 | {
"extension": "c-sharp",
"max_stars_count": "48.0",
"max_stars_repo_name": "Dzmuh/MvcCodeRouting",
"max_stars_repo_path": "src/MvcCodeRouting.Web.Http/CustomRouteAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160576"
} | starcoder | // Copyright 2012 <NAME>.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in wri... | 2.532969 | f5d623184542f404a4dd21195e7acb50 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841357 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "Mathtician/vzome",
"max_stars_repo_path": "oculus/Assets/Scripts/GrabSnapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160577"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GrabSnapper : OVRGrabbable
{
public string vZomeId;
public VZomeJavaBridge bridge;
public override void GrabBegin(OVRGrabber hand, Collider grabPoint)
{
AudioSource source = GetComponent<AudioSource>()... | 1.745954 | 39b94d83d0cc86bf652b7b5be9f15c0a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841358 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DeeJayTC/botbuilder-dotnet",
"max_stars_repo_path": "libraries/Microsoft.Bot.Builder.Prompts/ValuePrompt.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160578"
} | starcoder | using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Bot.Schema;
using Microsoft.Recognizers.Text;
using Microsoft.Recognizers.Text.Number;
using Microsoft.Recognizers.Text.NumberWithUnit;
using static Microsoft.Bot.Builder.Prompts.PromptValidatorEx;
namespace Microsoft.Bot.Builder.Prompts
{... | 2.693392 | 09be0018c43edad4e6fdfa8cfbc0fa7d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841359 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alexparvanov/TelerikAcademyAlpha",
"max_stars_repo_path": "HQC/HQC_Teamwork (updated OOP)/AutoService/AutoService.Core/Commands/Help.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160579"
} | starcoder | using System;
using AutoService.Core.Contracts;
namespace AutoService.Core.Commands
{
public class Help : ICommand
{
private readonly IWriter writer;
public Help(IWriter writer)
{
this.writer = writer ?? throw new ArgumentNullException();
}
public void Exec... | 2.601172 | caa08fe695cdd5e8fafc0ddd61af84ae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841360 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "AnmolSinha1201/Surrogate",
"max_stars_repo_path": "Source/DynamicTypeBuilder/CustomAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160580"
} | starcoder | <reponame>AnmolSinha1201/Surrogate<gh_stars>1-10
using System.Reflection.Emit;
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Linq;
using System.Linq.Expressions;
namespace Surrogate.ILAssist
{
public static partial class DynamicTypeBuilder
{
public static IEnumerable<CustomA... | 2.705993 | 2726fa655bd8c49ee4d1722e4a8d5834 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841361 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Fosol/keycloak-react",
"max_stars_repo_path": "api/libs/Entities/Property.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160581"
} | starcoder | namespace Data.Entities
{
public class Property
{
#region Properties
public int Id { get; set; }
public double Latitude { get; set; }
public double Longitude { get; set; }
public string Address { get; set; }
public string Owner { get; set; }
public string... | 1.849875 | 329206562b4ff3552b5c39aedaa299a4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841362 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "SimScaleGmbH/simscale-csharp-sdk",
"max_stars_repo_path": "src/SimScale.Sdk/Model/TimeStepAnimationOutputSettingsAllOf.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160582"
} | starcoder | <gh_stars>1-10
/*
* SimScale API
*
* The version of the OpenAPI document: 0.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections;
using System.Collectio... | 2.081305 | 7019c81ec79722efa58d43c7ba86ec6e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841363 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "MrSmoke/TeaTime",
"max_stars_repo_path": "src/TeaTime.Common/Features/Runs/RunQueryHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160583"
} | starcoder | namespace TeaTime.Common.Features.Runs
{
using System.Threading;
using System.Threading.Tasks;
using Abstractions.Data;
using MediatR;
using Models.Data;
using Rooms.Queries;
public class RunQueryHandler : IRequestHandler<GetCurrentRunQuery, Run>
{
private readonly IRunReposito... | 2.175034 | 27c5eae7fca785e30103359b48ab32a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841364 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "douglasciole/The-Hunter",
"max_stars_repo_path": "Assets/Scripts/SubFunctions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160584"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SubFunctions : MonoBehaviour {
public void emmitInterfaceButtonAudio()
{
FindObjectOfType<AudioManager>().Play("interfaceButton");
}
}
| 1.347399 | 3b003741b510380ea3a6a464a3fe67ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841365 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "akdimitrov/CSharp-Fundamentals",
"max_stars_repo_path": "01.2.BasicSyntaxConditionalStatementsAndLoops-Exercise/T09.PadawanEquipment/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160585"
} | starcoder | <filename>01.2.BasicSyntaxConditionalStatementsAndLoops-Exercise/T09.PadawanEquipment/Program.cs
using System;
namespace T09.PadawanEquipment
{
class Program
{
static void Main(string[] args)
{
double budget = double.Parse(Console.ReadLine());
int students = int.Parse(C... | 3.783829 | 2e0c7af9009788ff5756ec24a7092d33 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841366 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "suhsteve/interactive",
"max_stars_repo_path": "Microsoft.DotNet.Interactive/Parsing/DirectiveNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160586"
} | starcoder | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Diagnostics;
using Microsoft.CodeAnalysis.Text;
#nullable enable
namespace Microsoft.DotNet.Interactive.Parsing
{
[DebuggerSt... | 1.581341 | 2e3c123c953e579ab3ba527e809974d8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841367 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "06012021-dotnet-uta/AdrianGonzalezP0",
"max_stars_repo_path": "Ecommerce/EcommerceBusinessLayer/ViewOrderHistory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160587"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EcommerceBusinessLayer
{
class ViewOrderHistory
{
}
}
| 0.802139 | 05529a6cd997b64aa8bf4c586a754923 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841368 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RethoughtSolutions/Battlerite.NET",
"max_stars_repo_path": "Battlerite.NET.Rest/DTOs/JsonAPI/Matches/MatchCollection/Payload.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160588"
} | starcoder | using System.Collections.Generic;
using Newtonsoft.Json;
namespace Battlerite.NET.Rest.DTOs.JsonAPI.Matches.MatchCollection
{
public class Payload
{
[JsonProperty("data")]
public IEnumerable<Data.Data> Data { get; set; }
[JsonProperty("included")]
public IEnumerable<Included.I... | 1.59578 | 82bd3d21c5efe7956d5934db01a679c7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841369 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "Hayao-H/Niconicome",
"max_stars_repo_path": "Niconicome/Models/Domain/Niconico/Net/Json/JsonParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160589"
} | starcoder | <filename>Niconicome/Models/Domain/Niconico/Net/Json/JsonParser.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Text.Json;
using System.Text.Json.Serialization;
using System.Text.Encodings.Web;
using System.Text.Unicode;
namespace Nic... | 2.969141 | fc5edd54413fc90e36a4717c8d140ea3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841370 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ascclemens/FFXIVClientStructs",
"max_stars_repo_path": "FFXIV/Client/Graphics/Kernel/ShaderPackage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160590"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using FFXIVClientStructs.STD;
namespace FFXIVClientStructs.FFXIV.Client.Graphics.Kernel
{
// Client::Graphics::Kernel::ShaderPackage
// Client::Graphics::... | 1.762597 | a14357dcd436d152a5c0364170f345b4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841371 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "henrytien/clr-via-csharp",
"max_stars_repo_path": "src/code/test.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160591"
} | starcoder | <filename>src/code/test.cs
using System;
using System.Threading;
using System.Net.Http;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using System.Runtime.CompilerServices;
using System.Diagnostics;
public class Test
{
public static void Main()
{
//AsyncCoordi... | 2.77167 | e344737883ea01ed4b4226ed40ee6ba7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841372 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "amitjind/nearbycart",
"max_stars_repo_path": "PrivateSquareWeb/Controllers/User/ProductsController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160592"
} | starcoder | <gh_stars>0
using Newtonsoft.Json;
using PrivateSquareWeb.CommonCls;
using PrivateSquareWeb.Models;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace PrivateSquareWeb.Controllers.User
{
public class ProductsController : Controll... | 1.662464 | efe317432b434b530f5a223f97a3454c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841373 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Sl0vi/mpbOrm",
"max_stars_repo_path": "mpbOrm/mpbOrm/NpgsqlProvider/NpgsqlDbProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160593"
} | starcoder | // The MIT License (MIT)
//
// Copyright (c) 2014 <NAME>
//
// 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, m... | 2.26687 | 95916aa347dc7907946284754b17dcd1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841374 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "Kir-Antipov/Termigram",
"max_stars_repo_path": "Termigram/Options/OptionsModelValueBuilder`1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160594"
} | starcoder | <reponame>Kir-Antipov/Termigram
using System;
using System.Diagnostics.CodeAnalysis;
namespace Termigram.Options
{
public class OptionsModelValueBuilder<TValue>
{
#region Var
[MaybeNull, AllowNull]
protected TValue Value;
public OptionsModelBuilder OptionsModelBuilder { get; }... | 2.548783 | 4cb7bb9ed1545656e2bfb2ddb862c42c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841375 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lubangelova/Csharp-Fundamentals",
"max_stars_repo_path": "homework/Loops/DecimalToHex/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160595"
} | starcoder | using System;
namespace DecimalToHex
{
class Program
{
static void Main()
{
long n = long.Parse(Console.ReadLine());
string hex = "";
while(n>0)
{
switch(n%16)
{
case 0:
ca... | 3.608918 | f9c4a95a9bc25606f53979c026541615 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841376 | {
"extension": "c-sharp",
"max_stars_count": "100.0",
"max_stars_repo_name": "deepgandhi/CoWinVaccineSlotFinder",
"max_stars_repo_path": "CoWin.Tests/Validators/PinCodeValidatorTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160596"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
using CoWin.Core.Validators;
using System;
using System.Collections.Generic;
using System.Text;
namespace CoWin.Core.Validators.Tests
{
[TestClass()]
public class PINCodeValidatorTests
{
private readonly IValidator<string> _validator;
pub... | 2.617621 | 1904040e46ae4b96d4d10cb34ebe8814 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841377 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.tl-matching",
"max_stars_repo_path": "src/Sfa.Tl.Matching.Web.UnitTests/Controllers/ProviderVenue/When_ProviderVenue_Add_Has_Invalid_Postcode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160597"
... | starcoder | using FluentAssertions;
using Microsoft.AspNetCore.Mvc;
using NSubstitute;
using Sfa.Tl.Matching.Application.Interfaces;
using Sfa.Tl.Matching.Models.ViewModel;
using Sfa.Tl.Matching.Web.Controllers;
using Xunit;
namespace Sfa.Tl.Matching.Web.UnitTests.Controllers.ProviderVenue
{
public class When_ProviderVenue_Ad... | 2.056856 | cc0962bb607e3d027c984011082d36b8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841378 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "qreenify/NeonARPG",
"max_stars_repo_path": "Assets/Scripts/UI/ExperienceUI.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160598"
} | starcoder | <reponame>qreenify/NeonARPG
using TMPro;
using UnityEngine.UI;
using UnityEngine;
public class ExperienceUI : MonoBehaviour
{
public TMP_Text levelText;
public Image image;
public PlayerLevel exp;
private void Start()
{
var player = PlayerController.playerController;
if(player == ... | 2.0286 | 9134ebf214cb9719849329b367e13fb0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841379 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ihtfw/LiteDbExplorer",
"max_stars_repo_path": "source/LiteDbExplorer/App.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160599"
} | starcoder | using NLog;
using NLog.Targets;
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Windows;
using System.Windows.Threading;
using LiteDbExplorer.Controls;
using LiteDbExplorer.Framework.Windows;
using LiteDbExplorer.Presentation;
n... | 2.042035 | 4f19ae8afd7991782b3c1bf08b0900cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841380 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "namofun/ccs",
"max_stars_repo_path": "src/Module/Controllers/JuryLanguagesController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160600"
} | starcoder | using Ccs.Services;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using SatelliteSite.ContestModule.Models;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace SatelliteSite.ContestModule.Controllers
{
[Area("Contest")]
[Authorize(Policy = "ContestIsJury")]
... | 1.943512 | 63c3c138206858fd98d5634b67b6aaec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841381 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ktoll2/evefleetmanager",
"max_stars_repo_path": "EveFleetManager/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160601"
} | starcoder | <reponame>ktoll2/evefleetmanager<gh_stars>1-10
using ESI.NET;
using EveFleetManager.Controllers;
using EveFleetManager.Controllers.Interfaces;
using EveFleetManager.DataContext;
using EveFleetManager.Helpers;
using EveFleetManager.Helpers.Interfaces;
using EveFleetManager.Models;
using EveFleetManager.Repositories;
us... | 1.991588 | 4e27bb74f718943f23332cdac5468eb1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841382 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "UE4DotNet/Plugin",
"max_stars_repo_path": "DotNet/DotNet/UE4/Generated/Engine/BlueprintComponentChangedPropertyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160602"
} | starcoder | // Copyright 2018 by JCoder58. See License.txt for license
// Auto-generated --- Do not modify.
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UE4.Core;
using UE4.CoreUObject;
using UE4.CoreUObject.Native;
using UE4.InputCore;
using UE4.Native;
namespace UE4.Engine{
... | 1.503258 | 5576dcbb3dd851444f6c83a71f67af4f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841383 | {
"extension": "c-sharp",
"max_stars_count": "639.0",
"max_stars_repo_name": "kajott/tooll",
"max_stars_repo_path": "Core/Rendering/MeshCollector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160603"
} | starcoder | <gh_stars>100-1000
// Copyright (c) 2016 Framefield. All rights reserved.
// Released under the MIT license. (see LICENSE.txt)
using System.Collections.Generic;
using System.Linq;
using Framefield.Core.OperatorPartTraits;
using SharpDX;
namespace Framefield.Core.Rendering
{
public class MeshCollect... | 2.124345 | cb24f65a7f859cb9e7c8bd53df11904b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841384 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "feiyi55555/80sCard",
"max_stars_repo_path": "Assets/LM2/MXDLightmapManager/Scripts/AnimatedFrameData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160604"
} | starcoder | using UnityEngine;
using System.Collections;
using System;
[Serializable]
public class AnimatedFrameData{
public float frame;
//string directory;
public DualLightmaps[] lightmaps;
public AnimatedFrameData()
{
}
}
[Serializable]
public class DualLightmaps
{
public Texture2D far;
pu... | 1.762211 | 0acaebc948ceba00c20f430a62a5ca73 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841385 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Roman174/StudentCityServer",
"max_stars_repo_path": "Holod/Views/Hostel/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:160605"
} | starcoder | @{
ViewData["Title"] = "Добавление общежития";
}
<div class="center-form">
<form method="post" asp-action="add" asp-controller="hostel" enctype="multipart/form-data">
<div class="form-group">
<label for="title">Название общежития</label>
<input class="form-control" name="hostel... | 2.543832 | 725375f5b6263f4ce8c605f6bbf26ec4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841386 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ridgew/practicemakesperfect",
"max_stars_repo_path": "MAF/AddInsSample/HostAdapter/CalculatorContractToViewHostAdapter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160606"
} | starcoder | <filename>MAF/AddInsSample/HostAdapter/CalculatorContractToViewHostAdapter.cs
using System.Collections.Generic;
using System.AddIn.Pipeline;
namespace Wrox.ProCSharp.AddIns
{
[HostAdapter]
internal class CalculatorContractToViewHostAdapter : Calculator
{
private ICalculatorContract contract;
priv... | 2.341936 | 0b64b4819d421b1ac0302501982db75f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841387 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zzzprojects/mysql-connector-net",
"max_stars_repo_path": "MySQL.Data/src/X/Serialization/JsonParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160607"
} | starcoder | // Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License, version 2.0, as
// published by the Free Software Foundation.
//
// This program is also distributed w... | 2.318088 | 279ae2d46c4e6ffbb159dc10db28d79f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841388 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "kaelari/kaelsmithy",
"max_stars_repo_path": "Client/deckname.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160608"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
public class deckname : MonoBehaviour
{
public TextMeshProUGUI namefield;
public string deckid;
ClientControl cc;
public void changename (string newname)
{
namefield.text = newname;
}
publ... | 1.865983 | 0b74e742a287f7c8101ea03ee4f32c6d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841389 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ptenn/govern-cms",
"max_stars_repo_path": "GovernCMSWeb/Models/GovCMSModel.Context.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160609"
} | starcoder | <gh_stars>0
//------------------------------------------------------------------------------
// <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... | 1.410851 | 78bf52656a1577e548d059df3937c11c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841390 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "txchen/csharp-leet",
"max_stars_repo_path": "solutions/Q074.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160610"
} | starcoder | public class Solution {
public bool SearchMatrix(int[,] matrix, int target) {
// find the row first
int row = -1;
int top = 0, bottom = matrix.GetLength(0) - 1;
while (top <= bottom)
{
int detect = (top + bottom) / 2;
if (target < matrix[detect... | 3.434158 | f185ebe2a384466e3396ec9fe12f1537 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841391 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "osjimenez/fuxion",
"max_stars_repo_path": "src/core/Identity/TypeDiscriminator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160611"
} | starcoder | <filename>src/core/Identity/TypeDiscriminator.cs<gh_stars>0
namespace Fuxion.Identity;
using System.Diagnostics;
[Discriminator(TypeDiscriminatorId)]
[DebuggerDisplay("{" + nameof(Name) + "}")]
public sealed class TypeDiscriminator : IDiscriminator<string, string>
{
internal TypeDiscriminator(string typeKey, string... | 2.563732 | 539d1850ee436df3575f121f8c55ad83 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841392 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Vakuzar/Multithreaded-Blood-Sim",
"max_stars_repo_path": "Blood/Library/PackageCache/com.unity.collab-proxy@1.3.7/Editor/Models/ChangesModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160612"
} | starcoder | <filename>Blood/Library/PackageCache/com.unity.collab-proxy@1.3.7/Editor/Models/ChangesModel.cs
version https://git-lfs.github.com/spec/v1
oid sha256:f1178e22db2a2b6893604312adbae34f40f5d329745e8bdd898a29623167aaba
size 14250
| 0.995316 | 4e1a080ecc3c23d508ab6ca1c38eab69 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841393 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Custer-gamedev/BaldurSinD-d",
"max_stars_repo_path": "Assets/Enemies/Scripts/Stats, Misc/EnemyStats.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160613"
} | starcoder | <reponame>Custer-gamedev/BaldurSinD-d<filename>Assets/Enemies/Scripts/Stats, Misc/EnemyStats.cs
using System.Collections;
using UnityEngine;
using UnityEngine.AI;
public class EnemyStats : MonoBehaviour
{
public float hp, damage;
public GameObject soul, nextFloor, model;
public bool isThisBoss, useSouls;
... | 2.032186 | 4e4c3d86407e94625a86e80060ec8e68 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841394 | {
"extension": "c-sharp",
"max_stars_count": "1338.0",
"max_stars_repo_name": "Zofware/UI-For-UWP",
"max_stars_repo_path": "SDKExamples.UWP/Examples/ListView/LoadOnDemandCommand.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160614"
} | starcoder | using System;
using System.Collections.ObjectModel;
using System.Threading.Tasks;
using Telerik.Core.Data;
using Telerik.UI.Xaml.Controls.Data.ListView.Commands;
using Windows.UI.Xaml.Controls;
namespace SDKExamples.UWP.Listview
{
public sealed partial class LoadOnDemandCommand : ExamplePageBase
{
pub... | 2.658482 | 9f0e0fe4b148a6bc37ead14686f06579 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841395 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "lishewen/Streamax.Protocol",
"max_stars_repo_path": "JT808.Protocol.Extensions.Streamax/MessageBody/JT808_0x0200_0x16.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160615"
} | starcoder | <reponame>lishewen/Streamax.Protocol<filename>JT808.Protocol.Extensions.Streamax/MessageBody/JT808_0x0200_0x16.cs
using JT808.Protocol.Formatters;
using JT808.Protocol.Interfaces;
using JT808.Protocol.MessageBody;
using JT808.Protocol.MessagePack;
using System;
using System.Collections.Generic;
using System.Text;
usin... | 1.680052 | 296c3695f1f64a9fb7ebb6e7e5eeb95e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841396 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mortens4444/FileCreationTriggeredController",
"max_stars_repo_path": "FileCreationTriggeredController/ExceptionDetails.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160616"
} | starcoder | using System;
using System.Text;
namespace FileCreationTriggeredController
{
static class ExceptionDetails
{
public static string Get(Exception ex)
{
var result = new StringBuilder();
do
{
result.Insert(0, $"{ex}{Environment.NewLine}{Environment.NewLine}");
ex = ex.InnerException;
... | 2.747372 | 6101efe595007b5ebd18633827fce48e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841397 | {
"extension": "c-sharp",
"max_stars_count": "148.0",
"max_stars_repo_name": "piovezan/SOpt",
"max_stars_repo_path": "CSharp/Typing/LimitDouble.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160617"
} | starcoder | using static System.Console;
public class Program {
public static void Main() {
var x = double.MaxValue;
double y = 0;
if (!double.IsPositiveInfinity(x * 2)) y = x * 2;
Write(y);
}
}
//https://pt.stackoverflow.com/q/159776/101
| 2.4423 | a561bef812d31daf4a3cb83ba9ec855a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841398 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "theodoreKor/CodingBootcamp-Project2",
"max_stars_repo_path": "Project2/Project2/Views/Home/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:160618"
} | starcoder | @using Microsoft.AspNet.Identity
@{
ViewBag.Title = "Home Page";
}
<link href="~/Content/HomePage.css" rel="stylesheet" />
<link href="~/Content/AnAnimations.css" rel="stylesheet" />
<div class="container-fluid">
<div class="row">
<div class="col-sm-4">
... | 1.914987 | 5c39a58f98845e3adb67807a8d7aa434 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841399 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VictorMello1993/MeasuringPerformance.NET",
"max_stars_repo_path": "PerformanceNET/PerformanceNET/StringComparisonBenchmarks.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160619"
} | starcoder | using BenchmarkDotNet.Attributes;
namespace PerformanceNET
{
public class StringComparisonBenchmarks
{
public string nameLowerCase = "victor";
public string nameUpperCase = "VICTOR";
[Benchmark]
public bool EqualityWithToLower()
{
return nameLow... | 3.425258 | 9c609766f2ca15a704d697e2ec91e6c3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841400 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "stepagrus/SimpleSettingsStorage",
"max_stars_repo_path": "src/SettingsProviderNet/ISettingsStorage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160620"
} | starcoder | <reponame>stepagrus/SimpleSettingsStorage<filename>src/SettingsProviderNet/ISettingsStorage.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace SimpleSettingsStorage
{
public interface ISettingsStorage
{
void Configure(StorageConfig config);
void Save(Dictionary<string, string>... | 1.701937 | 5eb4173a94d5a5f18960fe124366c6a5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841401 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "juniordiscart/Impossible-Odss---Tactical-Camera",
"max_stars_repo_path": "Assets/Impossible Odds/TacticalCamera/Runtime/Abstract/AbstractTacticalCameraInputProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160621"
} | starcoder | namespace ImpossibleOdds.TacticalCamera
{
using UnityEngine;
public abstract class AbstractTacticalCameraInputProvider : MonoBehaviour, ITacticalCameraInputProvider
{
public abstract bool MoveToTarget { get; }
public abstract bool CancelMoveToTarget { get; }
public abstract bool OrbitAroundTarget { g... | 1.984904 | 152baf0cb26465a400dd87731e0b0956 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841402 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "solidDoWant/FDTViewer-CSharp",
"max_stars_repo_path": "FDTViewer/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160622"
} | starcoder | <filename>FDTViewer/Program.cs
using System;
using System.IO;
namespace FDTTest
{
class Program
{
static void Main(string[] args)
{
if (args.Length != 1)
{
Console.WriteLine($"Usage: {System.Diagnostics.Process.GetCurrentProcess().ProcessName} <filename.... | 2.746299 | 95d31f10ba7c7a832687a0846d782f1f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841403 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Aaliyah6022/Fake-CS-GO-HACK",
"max_stars_repo_path": "ScriptKid code/Gma.System.MouseKeyHook/ScriptKidAntiCheat - CSGO Edition/Punishments/HeavyKnife.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160623"
} | starcoder | using ScriptKidAntiCheat.Classes;
using ScriptKidAntiCheat.Utils;
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using System.Timers;
namespace ScriptKidAntiCheat.Punishments
{
/*
PUNISHMENT: HeavyKnife
DESCRIPTION: Force cheater to walk while holdi... | 2.786246 | 2dfa9294203e495b8560acf1ed1a9f05 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841404 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "blendiahmetaj1/eSupremacy",
"max_stars_repo_path": "EntityFramework/Repository/ICurrencyRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160624"
} | starcoder | <filename>EntityFramework/Repository/ICurrencyRepository.cs
using Common.EntityFramework;
using Entities.Repository.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entities.Repository
{
public interface ICurrencyRepository : IRepo... | 1.760092 | b06ec1a8273ada1bca8efe6714ce4daa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841405 | {
"extension": "c-sharp",
"max_stars_count": "13846.0",
"max_stars_repo_name": "tomaswesterlund/aspnetcore",
"max_stars_repo_path": "src/Mvc/test/WebSites/FormatterWebSite/StartupWithRespectBrowserAcceptHeader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160625"
} | starcoder | <reponame>tomaswesterlund/aspnetcore
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
namespace FormatterWebSite
{
public class StartupWithRes... | 1.64558 | cf38033171853071769de995098e820b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841406 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mavn-alliance/MAVN.Service.BonusEngine",
"max_stars_repo_path": "contract/MAVN.Service.BonusEngine.Contract/Enums/BonusOperationType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160626"
} | starcoder | namespace MAVN.Service.BonusEngine.Contract.Enums
{
/// <summary>
/// Represents the type of the operation for the granted bonus
/// </summary>
public enum BonusOperationType
{
/// <summary>
/// Represents that bonus is granted for condition completion
/// </summary>
... | 1.999709 | 2cf60337b2f4a866b5a4117ffd494913 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841407 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brminnick/CancelTextToSpeechSample",
"max_stars_repo_path": "src/CancelTextToSpeechSample/App.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160627"
} | starcoder | <gh_stars>0
using System;
using System.Threading;
using Xamarin.Forms;
namespace CancelTextToSpeechSample
{
public class App : Application
{
public App() => MainPage = new CancelSpeakPage();
class CancelSpeakPage : ContentPage
{
const string _spokenText = "Oh, supercalifra... | 2.673559 | 7a5d8292c8663e1cc39142ec9d524356 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841408 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Alexcho0o0/SoftUni",
"max_stars_repo_path": "CSharpFundamentalsModule/CSharpAdvanced/LINQ/LINQLab/01. Take Two/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160628"
} | starcoder | <filename>CSharpFundamentalsModule/CSharpAdvanced/LINQ/LINQLab/01. Take Two/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TakeTwo
{
class Program
{
static void Main(string[] args)
{
var input... | 3.712358 | 54191084bbce712d525db730c51e657b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841409 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "abdullin/messageVault",
"max_stars_repo_path": "src/MessageVault/MemoryClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160629"
} | starcoder | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Threading.Tasks;
using MessageVault.Api;
using MessageVault.Cloud;
using MessageVault.Memory;
using MessageVault.MemoryPool;
using NUnit.Framework;
namespace MessageVault {
public sealed class MemoryClient : IClient {
... | 2.352469 | 969d06c5d1058c1ebbeea6f98328713b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841410 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Franz1960/BioMap",
"max_stars_repo_path": "BioMap/Data/ConvInvar.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160630"
} | starcoder | <gh_stars>0
using System;
namespace BioMap
{
public static class ConvInvar
{
public static int ToInt(string value, int nDefVal = 0) {
return string.IsNullOrEmpty(value) ? nDefVal : Convert.ToInt32(value, System.Globalization.NumberFormatInfo.InvariantInfo);
}
public static float ToFloat(string va... | 2.867186 | b3a6ff9b9f61b93bfd35b676800b39dd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841411 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BeckettMorsch/Blackjack",
"max_stars_repo_path": "Blackjack/Blackjack/Blackjack/ViewModels/BlackjackViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:160631"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Text;
using Blackjack.Models;
using Blackjack.ViewModels;
using System.Numerics;
namespace Blackjack.ViewModels
{
public class BlackjackViewModel
{
... | 2.852384 | 134f864d411695a08bd13d1e9bf392ed |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.