added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91661 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "j7an/launchkey-dotnet",
"max_stars_repo_path": "src/iovation.LaunchKey.Sdk/Domain/Service/Policy/FactorsPolicy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91662"
} | starcoder | <gh_stars>1-10
using System;
using TransportDomain = iovation.LaunchKey.Sdk.Transport.Domain;
using System.Collections.Generic;
using System.Linq;
namespace iovation.LaunchKey.Sdk.Domain.Service.Policy
{
/// <summary>
/// Object that represents a Factors based Authorization Policy
/// </summary>
publi... | 2.391298 | 7a3638e2e57513ec01209b2c8f5e70ca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91662 | {
"extension": "c-sharp",
"max_stars_count": "163.0",
"max_stars_repo_name": "bridgedotnet/Granular",
"max_stars_repo_path": "Granular.Presentation.Tests/Media/Animation/ParallelTimelineClockTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91663"
} | starcoder | <filename>Granular.Presentation.Tests/Media/Animation/ParallelTimelineClockTest.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Media.Animation;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Granular.Presentation.Media.Animation.Test... | 2.502108 | 1a2c5945fe616152854f2047b73f32f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91663 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "badpaybad/cqrs-dot-net-core",
"max_stars_repo_path": "IotHub.SampleDomainWithEventSourcing/SampleDomainWithEventSourcingCommandHandles.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91664"
} | starcoder | <filename>IotHub.SampleDomainWithEventSourcing/SampleDomainWithEventSourcingCommandHandles.cs
using IotHub.CommandsEvents.SampleDomainWithEventSourcing;
using IotHub.Core.Cqrs;
using IotHub.Core.Cqrs.EventSourcingRepository;
namespace IotHub.SampleDomainWithEventSourcing
{
public class SampleDomainWithEventSourci... | 2.450781 | e4b7e2c162a528918e2e38fa6d4f87ef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91664 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pranaykutthunga/bms-monitor",
"max_stars_repo_path": "Helper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91665"
} | starcoder | <reponame>pranaykutthunga/bms-monitor
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Helper
{
static class BatteryHelper
{
public static bool IsChargeRateInRange(float chargeRate)
{
if (chargeRate > 0.8)
return ... | 2.967908 | c15da2516d8d1492a8011ee1e8cf2232 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91665 | {
"extension": "c-sharp",
"max_stars_count": "863.0",
"max_stars_repo_name": "ederbond/ios-samples",
"max_stars_repo_path": "BindingSample/XMBindingLibrarySample/ViewControllers/UtilitiesViewController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91666"
} | starcoder | using Foundation;
using MonoTouch.Dialog;
using XMBindingLibrary;
namespace XMBindingLibrarySample
{
public class UtilitiesViewController : DialogViewController
{
XMUtilities utility;
public UtilitiesViewController()
: base(new RootElement("XMUtilities Binding"), true)
{
}
public override void LoadVi... | 2.236461 | 7eb997dfa45919662b3250eaafd8f0d4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91666 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "MikeLimaSierra/Nuclear.TestSite",
"max_stars_repo_path": "src/Nuclear.TestSite.Contracts/TestMode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91667"
} | starcoder | using System;
namespace Nuclear.TestSite {
/// <summary>
/// Defines possible test modes.
/// </summary>
public enum TestMode : Int32 {
/// <summary>
/// Tests will run sequential.
/// </summary>
Sequential,
/// <summary>
/// Tests will run in parallel... | 2.326207 | be6a1fa1b1e51ff824d40792209f5301 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91667 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Nitrum7/LuxWatch",
"max_stars_repo_path": "LuxWatch/LuxWatch.Web.App/Controllers/HomeController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91668"
} | starcoder | <gh_stars>1-10
using LuxWatch.Service;
using LuxWatch.Web.App.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
namespace LuxWatch.WebApp.Controllers
{
public class ... | 2.024931 | 2e43c65c3c16365ce7615c637133927b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91668 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "niklaslundberg/Arbor.NuGetServer",
"max_stars_repo_path": "src/Arbor.NuGetServer.IisHost/Areas/Start/StartAreaRegistration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91669"
} | starcoder | <filename>src/Arbor.NuGetServer.IisHost/Areas/Start/StartAreaRegistration.cs
using System.Web.Mvc;
using JetBrains.Annotations;
namespace Arbor.NuGetServer.IisHost.Areas.Start
{
[UsedImplicitly]
public class StartAreaRegistration : AreaRegistration
{
public const string StartAreaName = nameof(Star... | 1.927292 | 41b6b89e50cd65cbd5fd3a11792b0a85 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91669 | {
"extension": "c-sharp",
"max_stars_count": "80.0",
"max_stars_repo_name": "lucorp/ualbion",
"max_stars_repo_path": "src/Formats/Assets/Automap.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91670"
} | starcoder | <reponame>lucorp/ualbion<filename>src/Formats/Assets/Automap.cs
using System;
using System.Collections;
using SerdesNet;
namespace UAlbion.Formats.Assets
{
public class Automap
{
BitArray _discovered;
public int Width { get; set; }
public int Height => Width == 0 ? 0 : _discovered.Leng... | 2.823137 | 8c8b38dfabca9c81c1248dd3be4d5c83 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91670 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "WNVProject/west-nile-site",
"max_stars_repo_path": "WNV/Default.aspx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91671"
} | starcoder | using System;
using System.Configuration;
using System.Data;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using MySql;
using MySql.Data;
using MySql.Data.MySqlClient;
using System.Web.UI.DataVisualization.Charting... | 2.548293 | a67a3ad16384b78ba7ad19d5bd45912f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91671 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "develmax/Crm.Sdk.Core",
"max_stars_repo_path": "Microsoft.Crm.Sdk.Proxy/Messages/GetQuantityDecimalRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91672"
} | starcoder | using Microsoft.Xrm.Sdk;
using System;
using System.Runtime.Serialization;
namespace Microsoft.Crm.Sdk.Messages
{
/// <summary>Contains the data that is needed to get the quantity decimal value of a product for the specified entity in the target.</summary>
[DataContract(Namespace = "http://schemas.microsoft.com/... | 2.419813 | 133241fd6dabaceebcbbe03ff797eaf6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91672 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ludaher/imagincrud",
"max_stars_repo_path": "ImaginCrud/Models/ClientModels.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91673"
} | starcoder | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace ImaginCrud.Models
{
public class ClientModel
{
/// <summary>
/// Nombre de la empresa cliente
/// </summary>
public string Name { get; set; }
/// <summary>
/// Identificació... | 2.432501 | 5bbf9353e60cb1932427ed787925f050 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91673 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vaithwee/Unity-5.x-Game-Development-Guide",
"max_stars_repo_path": "Assets/Scripts/C_3_7_2.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91674"
} | starcoder | <reponame>vaithwee/Unity-5.x-Game-Development-Guide
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class C_3_7_2 : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
/// <summary>
/// OnGUI is ... | 2.413228 | 8789400476840ab6836029c7007a8df2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91674 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "Appercode/Appercode.UIFramework",
"max_stars_repo_path": "Controls/Border.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91675"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Markup;
using System.Windows.Media;
#if __IOS__
using PointF = CoreGraphics.CGPoint;
using RectangleF = CoreGraphics.CGRect;
using SizeF = CoreGraphics.CGSize;
#else
using System.Drawing;
u... | 2.708663 | 43c8a3c5e65d3183e84fece24b29ad6f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91675 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "ivomp/iotcon-opc-ua-connector-dotnet",
"max_stars_repo_path": "src/Domain.Schema/Request/Subscription/CreateSubscriptionsRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91676"
} | starcoder | <reponame>ivomp/iotcon-opc-ua-connector-dotnet
using System.ComponentModel;
using Newtonsoft.Json;
using OMP.Connector.Domain.Schema.Request.Subscription.Base;
namespace OMP.Connector.Domain.Schema.Request.Subscription
{
public class CreateSubscriptionsRequest : SubscriptionRequest
{
[JsonProperty("mo... | 1.574503 | d5a1768be6e2b7be6c7736a2ab9ede3d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91676 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vkradio/CurrencyRates",
"max_stars_repo_path": "src/ApplicationCore/Specifications/RateOfCurrencySpecification.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91677"
} | starcoder | using ApplicationCore.Entities;
using ApplicationCore.Interfaces;
using System;
using System.Linq.Expressions;
namespace ApplicationCore.Specifications
{
public class RateOfCurrencySpecification : BaseSpecification<CurrencyRate>
{
public RateOfCurrencySpecification(string currencyCode) :
b... | 2.565948 | 35fc86a32545aa4def598ecc7e47af17 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91677 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nowakmichal/NetworkConnection",
"max_stars_repo_path": "NetworkConnection/NetworkConnection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91678"
} | starcoder | using NetworkConnection.Win32Objects;
using System;
using System.ComponentModel;
using System.Net;
using System.Runtime.InteropServices;
namespace NetworkConnection
{
/// <summary>
/// Represents a network connection along with authentication to a network share.
/// </summary>
public class NetworkConn... | 2.805298 | 019abfb9f918fcb3d40817d69b9e6087 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91678 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Finwickle/CompatibilityReport",
"max_stars_repo_path": "CompatibilityReport/CompatibilityReport.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91679"
} | starcoder | using UnityEngine.SceneManagement;
using ICities;
using CompatibilityReport.Util;
using CompatibilityReport.Reporter;
namespace CompatibilityReport
{
public class CompatibilityReport : IUserMod
{
public string Name { get; } = ModSettings.IUserModName;
public string Description { get; } = ModSe... | 2.036076 | bab7cd55a9d3212aa58b70060f235cbd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91679 | {
"extension": "c-sharp",
"max_stars_count": "421.0",
"max_stars_repo_name": "axelheer/nein-linq",
"max_stars_repo_path": "src/NeinLinq.EntityFrameworkCore/EntityQueryProviderAdapter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91680"
} | starcoder | using System;
using System.Linq;
using System.Linq.Expressions;
using System.Threading;
using Microsoft.EntityFrameworkCore.Query;
using Microsoft.EntityFrameworkCore.Query.Internal;
#pragma warning disable EF1001
namespace NeinLinq
{
internal sealed class EntityQueryProviderAdapter : EntityQueryProvider
{
... | 2.165529 | 4a09afbdb0fbd2bb0dba607f4e659245 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91680 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HiraokaHyperTools/SendHostAd",
"max_stars_repo_path": "Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91681"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Windows.Forms;
using System.Net;
using System.Diagnostics;
namespace SendHostAd {
static class Program {
static TraceSource appTrace = new TraceSource("SendHostAd", SourceLevels.Information);
/// <summary>
... | 2.208748 | d426a7f5780d524f82099ebf36facc3b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91681 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "PacktPublishing/iHands-On-Web-Development-with-Blazor-and-C-",
"max_stars_repo_path": "Chapter03/CounterComponentWithoutMarkup/Pages/Index.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91682"
} | starcoder | namespace CounterComponentWithoutMarkup
{
using CounterComponentWithoutMarkup.Components;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Rendering;
[Microsoft.AspNetCore.Components.RouteAttribute("/")]
public class Index : ComponentBase
{
private const stri... | 2.474856 | 9c5df3a5783d1184a932ee61ebfff789 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91682 | {
"extension": "c-sharp",
"max_stars_count": "42.0",
"max_stars_repo_name": "pulumi/pulumi-alicloud",
"max_stars_repo_path": "sdk/dotnet/Ddos/GetDdosCooInstances.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91683"
} | starcoder | <gh_stars>10-100
// *** 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;
using Pulumi.Seri... | 1.816357 | 55f782a8497c7d1aa94c9045767e3291 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91683 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Jinp-He/ShadowBringer",
"max_stars_repo_path": "Assets/Resources/RPGTALK/Scripts/Editor/RPGTalkSkipCutsceneEditor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91684"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
namespace RPGTALK.Snippets
{
[CustomEditor(typeof(RPGTalkSkipCutscene))]
public class RPGTalkSkipCutsceneEditor : Editor
{
override public void OnInspectorGUI()
{
serializedObject... | 2.441615 | 7ecf4f4dd293182d74d9fe9f76f2e1e2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91684 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alex99q/proggraming-fundamentals-exercises",
"max_stars_repo_path": "Strings and Text Processing - Exercises/04. Sentence Split/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91685"
} | starcoder | <reponame>alex99q/proggraming-fundamentals-exercises
namespace _04.Sentence_Split
{
using System;
using System.Linq;
class Program
{
static void Main(string[] args)
{
var sentence = Console.ReadLine();
var delimiter = Console.ReadLine();
var splited... | 3.322028 | a9b44a549ff633cf30a262c68bcaf6d9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91685 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Nimmda/TriJam70",
"max_stars_repo_path": "Assets/CameraController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91686"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraController : MonoBehaviour
{
public Transform Target;
public float SmoothSpeed = 0.4f;
public Vector3 Offset = new Vector3(0f, 0f, -10);
// Update is called once per frame
void FixedUpdate()
{... | 2.443466 | 9db03104a1c00d6cbd1031328fb4d325 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91686 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jvanderhyde/unitymal",
"max_stars_repo_path": "Assets/Programming UI/GalleryShelf.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91687"
} | starcoder | <reponame>jvanderhyde/unitymal
//Replaces items with a duplicate when the item is dragged away
//Created by <NAME>, 3 December 2021
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GalleryShelf : DragParent
{
private GalleryCover cover;
void Start()
{
th... | 2.221117 | 8cc748f5691297812bf9bc268c32acfc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91687 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "MarijnPessers/nl-design-system-blazor",
"max_stars_repo_path": "src/Blazor.NLDesignSystem/Components/Base/Position.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91688"
} | starcoder | using Blazor.NLDesignSystem.Extensions;
namespace Blazor.NLDesignSystem
{
public enum Position
{
[Style("")]
Left,
[Style("top-nav__block--right")]
Right
}
}
| 1.671587 | 6b4cf0e9013be1dc987fd8048388ef62 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91688 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "JanusTida/Tida.CAD",
"max_stars_repo_path": "Tida.Canvas.WPFCanvas/Input/TextInputAdapter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91689"
} | starcoder | using Tida.Canvas.Input;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace Tida.Canvas.WPFCanvas.Input {
/// <summary>
/// 键入文字事件参数适配器;
/// </summary>
static class TextInputAdapter {
/// <su... | 2.460147 | cbbd9ef91104cfd7ab40e9e05f286def |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91689 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "paymax/paymax-server-sdk-c-",
"max_stars_repo_path": "ConvertKeyTool/Form1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91690"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ConvertKeyTool
{
public partial class Form1 : Form
{
public Form... | 2.316601 | 878d79a46b3ddd5f4f5921e33c73cfd5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91690 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zavety/ScreenshotPlugin",
"max_stars_repo_path": "src/Screenshot/Screenshot.android.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91691"
} | starcoder | <filename>src/Screenshot/Screenshot.android.cs
using Android.App;
using Android.Graphics;
using Plugin.CurrentActivity;
using System;
using System.IO;
using System.Threading.Tasks;
namespace Plugin.Screenshot
{
/// <summary>
/// Interface for Screenshot
/// </summary>
public class ScreenshotImplementa... | 2.652891 | dcd9ea7932630bb5eafdf537182287ea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91691 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mavpzoho/gluon",
"max_stars_repo_path": "hase/hase.DevLib/Services/ServiceTypesEnum.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91692"
} | starcoder | namespace hase.DevLib.Services
{
public enum ServiceTypesEnum
{
FileSystemQuery = 1,
Calculator = 2,
}
}
| 1.251014 | 05ad9069f0ff5d0a8247c2b043009288 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91692 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "peterasamoah7/Mtn.MoMo.DotNet.Client",
"max_stars_repo_path": "MtnMomo.DotNet.Client/Common/Client/TransferClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91693"
} | starcoder | <filename>MtnMomo.DotNet.Client/Common/Client/TransferClient.cs
using MtnMomo.DotNet.Client.Common.Client.Interfaces;
using MtnMomo.DotNet.Client.Common.Config;
using MtnMomo.DotNet.Client.Common.Http;
using MtnMomo.DotNet.Client.Common.Models;
using MtnMomo.DotNet.Client.Common.Models.Response;
using System;
using Sy... | 2.341174 | 563ea11f1d11fd7196f6e95361d8414e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91693 | {
"extension": "c-sharp",
"max_stars_count": "81.0",
"max_stars_repo_name": "kennethsequeira/Hello-world",
"max_stars_repo_path": "TorqueScript/hello-world.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91694"
} | starcoder | echo("Hello world");
| 1.852796 | 80341cc8965fb34c25a4c3ea74f33d49 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91694 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MasterQ32/Solid",
"max_stars_repo_path": "Solid.UI/UIMapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91695"
} | starcoder | namespace Solid.UI
{
using Solid.Layout;
using Solid.Markup;
using Solid.UI.Skinning;
using Solid.UI.Converters;
using Solid.UI.Widgets;
using Skinning.Converters;
public class UIMapper : LayoutMapper
{
private readonly IGraphicsObjectFactory factory;
protected override IMarkupDocument<Widget> CreateDocum... | 2.216563 | 9cbf7d9c156a1c0043c0ff69bc26b250 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91695 | {
"extension": "c-sharp",
"max_stars_count": "4203.0",
"max_stars_repo_name": "grnassar/Playnite",
"max_stars_repo_path": "source/Playnite/Native/Psapi.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91696"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace Playnite.Native
{
public class Psapi
{
private const string dllName = "Psapi.dll";
[DllImport(dllName, SetLastError ... | 2.059167 | e8c872753e005d20b49847aae3500805 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91696 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "jonathanvdc/Pixie",
"max_stars_repo_path": "Pixie/Code/GridPosition.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91697"
} | starcoder | namespace Pixie.Code
{
/// <summary>
/// Specifies a position in a source document as a line index
/// and an offset.
/// </summary>
public struct GridPosition
{
/// <summary>
/// Creates a grid position from a line index and offset.
/// </summary>
/// <param name... | 3.133224 | d3ae8d63cb97976ac6b8448339548555 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91697 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "krakkepit/qowaiv-domainmodel",
"max_stars_repo_path": "src/Qowaiv.DomainModel/Commands/CommandProcessor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91698"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
namespace Qowaiv.DomainModel.Commands
{
/// <summary>Command processor that resolves the registered command handler
/// base on the type of the command.
/// </summary>
... | 2.85769 | da6c8b16e42c33eac04455b705aba66f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91698 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "aydjay/EVEAssets.Navigator",
"max_stars_repo_path": "Navigator.DAL/SDE/CrpNpccorporationDivisions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91699"
} | starcoder | <filename>Navigator.DAL/SDE/CrpNpccorporationDivisions.cs
namespace Navigator.DAL.SDE
{
public partial class CrpNpccorporationDivisions
{
public int CorporationId { get; set; }
public int DivisionId { get; set; }
public int? Size { get; set; }
}
}
| 1.653176 | 735b8ad68fffc4e0f42a742b89eea847 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91699 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "loic-sharma/ExplorePackages",
"max_stars_repo_path": "src/ExplorePackages.Entities/CatalogLeafEntity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91700"
} | starcoder | namespace Knapcode.ExplorePackages.Entities
{
public class CatalogLeafEntity
{
public long CatalogCommitKey { get; set; }
public long CatalogLeafKey { get; set; }
public long PackageKey { get; set; }
public CatalogLeafType Type { get; set; }
public string RelativePath { ... | 1.680146 | 604f37190b0191e3dd118582888a3e0e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91700 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "machine/machine.fakes",
"max_stars_repo_path": "src/Machine.Specifications.Fakes.Specs/TestClasses/WithoutPublicConstructor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91701"
} | starcoder | <gh_stars>10-100
namespace Machine.Fakes.Specs.TestClasses
{
public class WithoutPublicConstructor
{
WithoutPublicConstructor()
{
}
}
} | 1.43099 | 98c6a826cfe53e859411c18d5b69028d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91701 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hoonsyh/penrose",
"max_stars_repo_path": "Assets/Scripts/MainBattle/MainBattleManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91702"
} | starcoder | <filename>Assets/Scripts/MainBattle/MainBattleManager.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
using RotaryHeart.Lib.SerializableDictionary;
[System.Serializable]
public class EnemyCountDic : SerializableDictionaryBase<string, int> { ... | 1.914557 | 36af679801414d108bba5cab4580f0b8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91702 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "UE4DotNet/Plugin",
"max_stars_repo_path": "DotNet/DotNet/UE4/Generated/FacialAnimation/AudioCurveSourceComponent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91703"
} | 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;
#pragma warning disable CS01... | 1.732719 | 013df281dc984c958485faf7d4954661 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91703 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "KeenSoftwareHouse/Unreal.Net",
"max_stars_repo_path": "DotNetPlugin/Plugins/DotNet/Source/ThirdParty/DotnetInUE/Unreal.Tests/TestNameMangling.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91704"
} | starcoder | // Copyright (c) 2021 <NAME>
// Licensed under the MIT license.
using Unreal.Generation;
using Xunit;
namespace Unreal.Tests
{
public class TestNameMangling
{
[Fact]
public void TestSanitize()
{
// Note: As it turns out the C# compiler does not find characters
/... | 2.738056 | f55734a76d4ca85703b3c4fe52ec03ba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91704 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "canhorn/BlazorWebFormsComponents",
"max_stars_repo_path": "src/BlazorWebFormsComponents/Enums/RepeatDirection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91705"
} | starcoder | namespace BlazorWebFormsComponents.Enums
{
public abstract class DataListEnum
{
public static HorizontalDataList Horizontal { get; } = new HorizontalDataList();
public static VerticalDataList Vertical { get; } = new VerticalDataList();
public static NoneDataList None { get; } = new NoneDataList();
public st... | 2.205016 | d507bd05b14647a699e1d20cb64ecfb3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91705 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "DeznekCZ/NodeMarkup",
"max_stars_repo_path": "NodeMarkup/Manager/TemplateManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91706"
} | starcoder | <filename>NodeMarkup/Manager/TemplateManager.cs
using ColossalFramework;
using ColossalFramework.Importers;
using ColossalFramework.PlatformServices;
using ModsCommon;
using ModsCommon.Utilities;
using NodeMarkup.Utilities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
name... | 2.473094 | 3b4b6e94a8b20720efb5d6bacbad83b9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91706 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "godrose/Solid",
"max_stars_repo_path": "src/Solid.Extensibility.Specs/ExtensibilityByTypeAspectSteps.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91707"
} | starcoder | using BoDi;
using FluentAssertions;
using JetBrains.Annotations;
using Solid.Tests.Infra.SpecFlow;
using TechTalk.SpecFlow;
namespace Solid.Extensibility.Specs
{
[Binding]
[UsedImplicitly]
internal sealed class ExtensibilityByTypeAspectSteps : StepsBase<ExtensibleByTypeObject>
{
private readon... | 1.829334 | 0d720d4a2aa111f121f920e372f1b3b3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91707 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Adamfisher106/begining-to-learn-c-",
"max_stars_repo_path": "tutorial 35 dynamic type/tutorial 35 dynamic type/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91708"
} | starcoder | <reponame>Adamfisher106/begining-to-learn-c-
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace tutorial_35_dynamic_type
{
public class Programinitalatttempt
{
public static void Main()
{
dynamic dynamicStu... | 3.29879 | 145477a9018295754cd52861a4857f88 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91708 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "waidelotte/WDLT.PoESpy",
"max_stars_repo_path": "WDLT.PoESpy/ViewModels/TradeViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91709"
} | starcoder | <filename>WDLT.PoESpy/ViewModels/TradeViewModel.cs<gh_stars>1-10
using System;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using Stylet;
using WDLT.Clients.POE;
using WDLT.Clients.POE.Models;
using WDLT.PoES... | 2.411178 | c438b55e9b1b3a1a8cb1863456183213 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91709 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "BethCushnie/Beth-Learns-To-Code",
"max_stars_repo_path": "Lesson 1/Lesson 1/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91710"
} | starcoder | <reponame>BethCushnie/Beth-Learns-To-Code
using System;
// System is like the overall tools that I'm using. There are instructions within System,
// and they're what I'm using to run my code.
// I capitalized the first line so that when I have comments over 2 lines, I can easily find the start.
namespace Lesson_1 //... | 3.781935 | e75bfe526119f874f84c24921d1a6922 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91710 | {
"extension": "c-sharp",
"max_stars_count": "37103.0",
"max_stars_repo_name": "rdtechie/PowerShell",
"max_stars_repo_path": "src/Microsoft.Management.UI.Internal/ManagementList/ManagementList/ColumnPicker.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91711"
} | starcoder | <gh_stars>1000+
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Windows;
using System.Windows.Automation.Peers;
using System.Win... | 2.165849 | d3c3eb3975d4004ff2db30c0b0d6bc9a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91711 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "Pzixel/Solidity.Roslyn",
"max_stars_repo_path": "Solidity.Roslyn/SolcOutput.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91712"
} | starcoder | <filename>Solidity.Roslyn/SolcOutput.cs<gh_stars>1-10
using System.Collections.Generic;
namespace Solidity.Roslyn
{
public class SolcOutput
{
public string Version { get; set; }
public Dictionary<string, Contract> Contracts { get; set; }
}
public class Contract
{
public st... | 2.16212 | 32763e45b9f20fd8db01c779a7c6bc93 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91712 | {
"extension": "c-sharp",
"max_stars_count": "37.0",
"max_stars_repo_name": "bseltz-cohesity/cohesity-powershell-module",
"max_stars_repo_path": "src/Cohesity.Powershell.Models/TaskNotification.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91713"
} | starcoder | // Copyright 2019 Cohesity Inc.
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.C... | 2.171819 | 8f9b0ad5a37bca0268d9f0c6eb2aab6e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91713 | {
"extension": "c-sharp",
"max_stars_count": "113.0",
"max_stars_repo_name": "mgth/stashbox",
"max_stars_repo_path": "test/IssueTests/84_DefinesScope_does_not_work_correctly.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91714"
} | starcoder | <gh_stars>100-1000
using Stashbox.Lifetime;
using Xunit;
namespace Stashbox.Tests.IssueTests
{
public class DefinesScopeDoesNotWorkCorrectly
{
[Fact]
public void DefinesScope_does_not_work_correctly()
{
using var container = new StashboxContainer()
.Register... | 2.254411 | ab2473fe0fa4efc0abedd790b3278030 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91714 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mansoor-omrani/Locust.NET",
"max_stars_repo_path": "Modules/Locust.Modules.Setting/Service/AppSettingCategory/Add/Context.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91715"
} | starcoder | <reponame>mansoor-omrani/Locust.NET
using Locust.ServiceModel;
using Locust.Modules.Setting.Model;
using Locust.ServiceModel.Babbage;
namespace Locust.Modules.Setting.Strategies
{
public class AppSettingCategoryAddContext : BabbageContext<AppSettingCategoryAddResponse, object, AppSettingCategoryAddStatus, AppSettingC... | 0.850595 | f551ca3d33dc8faa90a63439e464dbdb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91715 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "italogfernandes/str-contraction-detector",
"max_stars_repo_path": "ContractionDetector/CsharpContractionDetector/DetectorContracao/ArduinoHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91716"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO.Ports;
using System.Management;
using System.Windows.Forms;
namespace DetectorContracao
{
//
// Summary:
// Represents the constants used in the Arduino Communication.
... | 2.942363 | 4fea525e3352ffd675bcd61ef3d67a40 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91716 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AyslanAragao/PrjClube",
"max_stars_repo_path": "PrjClube/Controllers/HomeController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91717"
} | starcoder | using Clube.Modelo.Modelo;
using Clube.Negocio;
using Clube.Negocio.Interface;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace PrjClube.Controllers
{
public class HomeController : BaseController
{
IParticipante... | 1.920761 | 61d540ba649c6fadf1ed19c9a7244584 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91717 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jjvanzon/JJ.TryOut",
"max_stars_repo_path": "JJ.TryThingsOut.MonoCross/MonoCross 1.2 Utilities/Encryption/AesEncryption.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91718"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security.Cryptography;
using System.IO;
using System.IO.Compression;
using MonoCross.Utilities.Network;
namespace MonoCross.Utilities.Encryption
{
public class AesEncryption : BaseEncryption, IEncryption
{
... | 2.474404 | 56abb69f31d64d60f857f830cff69423 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91718 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "michelsara/GameDevelopment",
"max_stars_repo_path": "SlimeTime/Assets/Scripts/Shot.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91719"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Shot : MonoBehaviour
{
[SerializeField] private float speed = 1.0f;
[SerializeField] private Vector3 direction;
[SerializeField] private float lifeTime = 5.0f;
private Attack attack;
[SerializeField] private... | 2.502235 | cc29e887883bf84cea364ada04a52a37 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91719 | {
"extension": "c-sharp",
"max_stars_count": "148.0",
"max_stars_repo_name": "ScriptBox99/Money",
"max_stars_repo_path": "src/Neptuo/Logging/ExceptionModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91720"
} | starcoder | <reponame>ScriptBox99/Money
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Neptuo.Logging
{
/// <summary>
/// Describes exception with message.
/// </summary>
public class ExceptionModel
{
/// <summary>
... | 2.960481 | 5efa597e038eab9ae0e99fb19e5f09cf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91720 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Myong-Nam/MailingFerret",
"max_stars_repo_path": "MailingFerret/IServiceCollectionExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91721"
} | starcoder | using MailingFerret.Interfaces;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
namespace MailingFerret
{
public static class IServiceCollectionExtensions
{
/// <summary>
/// Adds the required services t... | 2.255516 | 9bf2cb054bab8e0d9d3b9fd2aa1517d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91721 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Szandal/SE2.0",
"max_stars_repo_path": "SE/SE/Exceptions/WrongRule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91722"
} | starcoder | <filename>SE/SE/Exceptions/WrongRule.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SE.Exceptions
{
class WrongRule : Exception
{
public WrongRule(string mess) : base(mess)
{
}
}
}
| 1.987424 | e678545e19140e64266ecf39ad3de39d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91722 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mdekrey/GraphLinQL",
"max_stars_repo_path": "dotnet-graphlinqql/GenerateCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91723"
} | starcoder | <filename>dotnet-graphlinqql/GenerateCommand.cs<gh_stars>1-10
using GraphLinqQL.CodeGeneration;
using McMaster.Extensions.CommandLineUtils;
using System;
using System.Threading;
using System.Threading.Tasks;
#pragma warning disable CA1305 // Specify IFormatProvider
namespace GraphLinqQL
{
internal class GenerateC... | 2.635616 | acfca7f6528285310d32e45efd865380 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91723 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Larry-Wei/POYA",
"max_stars_repo_path": "POYA/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91724"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace POYA
{
publi... | 2.293964 | 4f172adb1711966d8af8e9d056a2edfb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91724 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wherrera/gam-23-tower-defense",
"max_stars_repo_path": "Assets/scripts/TowerPlatform.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91725"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TowerPlatform : MonoBehaviour
{
public Tower tower;
void OnMouseDown()
{
tower.gameObject.SetActive(true);
}
} | 1.623212 | 55e315f2a748bbd8094e04de1f4dc67f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91725 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ldeluigi/microchat",
"max_stars_repo_path": "services/chat/src/ChatService.Infrastructure/DataAccess/Migrations/20220207204738_InitialState.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91726"
} | starcoder | // <auto-generated />
using System;
using ChatService.Infrastructure.DataAccess;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConver... | 1.924527 | f2883d96a84ff6ab4fbaa6906a2e3467 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91726 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tkskst/HK_2016",
"max_stars_repo_path": "SKYNST_CharaRecog/SKYNST_CharaRecog/Form4.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91727"
} | starcoder | namespace SKYNST_CharaRecog
{
partial class Form4
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 2.091901 | 398682ef21510db21eb99a449affd5f1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91727 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "TomPallister/cqrs-event-sourcing",
"max_stars_repo_path": "KevPOS.ValueObjects/OrderStatus.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91728"
} | starcoder | <filename>KevPOS.ValueObjects/OrderStatus.cs
namespace KevPOS.ValueObjects
{
public sealed class OrderStatus
{
public OrderStatus(OrderState state)
{
Value = state;
}
private OrderState Value { get; set; }
public OrderState ToOrderState()
{
... | 2.270906 | b7fa04559724b17aff5177e5045efb28 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91728 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "6paklata/NiceHashMiner",
"max_stars_repo_path": "src/Miners/MinerPluginToolkitV1/Interfaces/IGetMinerBinaryVersion.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91729"
} | starcoder |
namespace MinerPluginToolkitV1.Interfaces
{
public interface IGetMinerBinaryVersion
{
string GetMinerBinaryVersion();
}
}
| 1.366984 | 41d8ca7c7fae9316543142f8a22812a0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91729 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "saineshwar/VueTicket",
"max_stars_repo_path": "VueTicketCore/TicketCore.Data/MenuMasters/Command/ISubMenuMasterCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91730"
} | starcoder | <reponame>saineshwar/VueTicket<gh_stars>1-10
using TicketCore.Models.Menus;
namespace TicketCore.Data.MenuMasters.Command
{
public interface ISubMenuMasterCommand
{
int Add(SubMenuMaster subMenuMaster);
int Delete(SubMenuMaster subMenuMaster);
int Update(SubMenuMaster subMenuMaster);
... | 1.522645 | a6055ccc97fe61730b1fe4dbe2ebcdd6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91730 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mikolaj-k/block",
"max_stars_repo_path": "Assets/Scripts/PlayerCollision.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91731"
} | starcoder | using UnityEngine;
public class PlayerCollision : MonoBehaviour
{
public GameObject Player;
public GameObject DestroyedVersion;
public string ObstacleName = "Obstacle";
void OnCollisionEnter(Collision collision)
{
if (collision.collider.tag != ObstacleName) return;
if (Player == ... | 2.166756 | ce246ec2431f9e5d645a0dfb62cc0a17 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91731 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "Tobi406/SM3",
"max_stars_repo_path": "Frontend/Packets/Status/Pong.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91732"
} | starcoder | using Microsoft.Extensions.Logging;
namespace Frontend.Packets.Status
{
public readonly struct Pong : IWriteablePacket
{
public int Id => 0x01;
public readonly long Seed;
public Pong(long seed)
{
Seed = seed;
}
public void Write(IPacketWriter write... | 2.03693 | e8ab7872009db8749afe9756261ec330 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91732 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "4thex/farm",
"max_stars_repo_path": "service/Controllers/ModulesController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91733"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace service.Controllers
{
[ApiController]
[Route("api/v1/[controller]")]
public class ModulesController : ControllerBase
{
p... | 1.958293 | 69edb1f5a7d13a205fc1842a254f131f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91733 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "piratezxe/Engineering",
"max_stars_repo_path": "src/EngineeringWork.Infrastructure/Application/PassengerBookingProposal/RejectedPassengerBookingProposal/RejectedPassengerBookingCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz... | starcoder | using System;
using EngineeringWork.Infrastructure.Application.Auth;
using MediatR;
namespace EngineeringWork.Infrastructure.Application.PassengerBookingProposal.RejectedPassengerBookingProposal
{
public class RejectedPassengerBookingCommand : AuthCommandBase, IRequest
{
public Guid ProposalId { get; ... | 1.789019 | 2528e5feaa2558cd1f15fc3ce4a17c77 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91734 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Grib04eg/SortBallsByGribaH",
"max_stars_repo_path": "Assets/Script/LevelController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91735"
} | starcoder | using DG.Tweening;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LevelController : MonoBehaviour
{
[SerializeField] GameObject skewerPrefab;
[SerializeField] GameObject circlePrefab;
[SerializeField] Transform skewersContainer;
[SerializeField] Transform c... | 2.35141 | a85543f00ed1e30377d04086272f44c0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91735 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Flavien/repo-crawler",
"max_stars_repo_path": "RepoCrawler/LibraryManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91736"
} | starcoder | <filename>RepoCrawler/LibraryManager.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Xml.Linq;
namespace RepoCrawler
{
public class LibraryManager
{
private static readonly string addonsManifest = "addons.xml";
... | 3.081099 | d296a0d84dd01ae0fb40383d539df8a4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91736 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "musictopia2/GamingPackXV3",
"max_stars_repo_path": "CP/Games/SinisterSixCP/ViewModels/SinisterSixMainViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91737"
} | starcoder | namespace SinisterSixCP.ViewModels;
[InstanceGame]
public partial class SinisterSixMainViewModel : DiceGamesVM<EightSidedDice>
{
private readonly SinisterSixMainGameClass _mainGame; //if we don't need, delete.
private readonly IToast _toast;
public SinisterSixVMData VMData { get; set; }
public SinisterS... | 2.011545 | 975491bd165e5ae402fafa47a6589c6d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91737 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SplittyDev/Iodine-Library",
"max_stars_repo_path": "src/Iodine/Runtime/IodineList.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91738"
} | starcoder | <reponame>SplittyDev/Iodine-Library<gh_stars>0
/**
* Copyright (c) 2015, GruntTheDivine All rights reserved.
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain th... | 2.354016 | 64ddb2db90ac13ddcceabdd28d515f46 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91738 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "Chroma-2D/Chroma",
"max_stars_repo_path": "Chroma/Graphics/TextRendering/IFontProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91739"
} | starcoder | using System.Drawing;
using System.Numerics;
namespace Chroma.Graphics.TextRendering
{
public interface IFontProvider
{
string FamilyName { get; }
int Height { get; }
int LineSpacing { get; }
bool IsKerningEnabled { get; set; }
bool HasGlyph(char c);
... | 2.527069 | 6d630f52cec490629e1601269eea1154 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91739 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "fattureincloud/fattureincloud-csharp-sdk",
"max_stars_repo_path": "src/It.FattureInCloud.Sdk.Test/Model/ReceivedDocumentInfoTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91740"
} | starcoder | /*
* Fatture in Cloud API v2 - API Reference
*
* Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol.
*
* T... | 2.030232 | c1dad73d3e4aa7c7be1195a0a71dafa8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91740 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "kane-armstrong/rest-api-from-sql",
"max_stars_repo_path": "samples/AdventureWorksApi/AdventureWorksApi/Entities/Sales/CreditCard.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91741"
} | starcoder | <reponame>kane-armstrong/rest-api-from-sql
// DISCLAIMER
// This file contains auto generated code.
// Changes to this file may be overwritten when the files are regenerated.
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using NetTopologySuite.Geometries;... | 1.853138 | eb60ecbe4de0fae4445f6d7ac60ba95a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91741 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "nuitsjp/TextTableDotNet",
"max_stars_repo_path": "src/FluentTextTable.Test/Borders/LeftTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91742"
} | starcoder | <filename>src/FluentTextTable.Test/Borders/LeftTest.cs<gh_stars>10-100
using System;
using Xunit;
// ReSharper disable UnusedAutoPropertyAccessor.Local
namespace FluentTextTable.Test.Borders
{
public class LeftTest
{
[Fact]
public void WhenDisable()
{
var table = Build.Tex... | 2.814362 | b45637325155af6c8da3fec3726468be |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91742 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "stowelly/FFBUnity-old",
"max_stars_repo_path": "Assets/Scripts/UI/LogText/InducementsBought.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91743"
} | starcoder | using Fumbbl.Model.Types;
using System.Collections.Generic;
namespace Fumbbl.UI.LogText
{
public class InducementsBought : LogTextGenerator<Ffb.Dto.Reports.InducementsBought>
{
public override IEnumerable<LogRecord> Convert(Ffb.Dto.Reports.InducementsBought report)
{
Team team = FF... | 2.534655 | 58ce5a5796a9153bef90a33fb27ee0c4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91743 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Xieweikang123/Blog-1",
"max_stars_repo_path": "src/MeowvBlog.API/Models/Dto/Gallery/AlbumDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91744"
} | starcoder | namespace MeowvBlog.API.Models.Dto.Gallery
{
public class AlbumDto
{
/// <summary>
/// 名称
/// </summary>
public string Name { get; set; }
/// <summary>
/// 图片URL
/// </summary>
public string ImgUrl { get; set; }
/// <summary>
///... | 2.104686 | aea2deeb71a13e29902980669a011ff2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91744 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AndreaZain/com-danliris-service-packing-inventory",
"max_stars_repo_path": "src/Com.Danliris.Service.Packing.Inventory.Test/Services/InventorySKU/FormItemDtoTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91745"
} | starcoder | <reponame>AndreaZain/com-danliris-service-packing-inventory
using Com.Danliris.Service.Packing.Inventory.Application.InventorySKU;
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace Com.Danliris.Service.Packing.Inventory.Test.Services.InventorySKU
{
public class FormItemDtoT... | 2.016277 | ae7985aef8947d0961e39de157de1b65 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91745 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "deyantodorov/Clean-Architecture-ASP.NET-Core-5",
"max_stars_repo_path": "src/UI/HR.LeaveManagement.Mvc/Views/LeaveTypes/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:91746"
} | starcoder | @model IEnumerable<LeaveTypeVm>
@{
ViewData["Title"] = "Index";
}
<h1>Index</h1>
<p>
<a asp-action="Create">Create New</a>
</p>
<table class="table">
<thead>
<tr>
<th>
@Html.DisplayNameFor(model => model.Id)
</th>
<th>
@Html.Dis... | 2.736287 | c7e0a554edeb2d794f58b68b26cf249b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91746 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "syfxlin/xknote-asp",
"max_stars_repo_path": "Controllers/HomeController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91747"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Newtonsoft.Json.Linq;
using xknote.Filters;
using xknote.Helpers;
using xknote.Models;
namespace xknote.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
... | 1.967297 | 33c6996b53608ebf94b48d9aae06a5b9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91747 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "m-esm/HCMS",
"max_stars_repo_path": "src/HCMS.Dynamics/Reports/Models/ChartJsDataSetModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91748"
} | starcoder | <reponame>m-esm/HCMS<filename>src/HCMS.Dynamics/Reports/Models/ChartJsDataSetModel.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace HCMS.Dynamics.Reports.Models
{
//datasets: [
// {
// label: "My First dataset",
// fillColor: "rgba(220,220,... | 2.461511 | 5d1f4fd178d3bfbe129c9444ad733493 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91748 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DlbSt/A9MTEApp",
"max_stars_repo_path": "A9MTE_Stys/A9MTE_Stys/A9MTE_Stys/Model/TrumpMeme.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91749"
} | starcoder | using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System;
using System.Collections.Generic;
using System.Text;
using Xamarin.Forms;
namespace A9MTE_Stys.Model
{
public class TrumpMeme
{
[JsonConverter(typeof(BinaryConverter))]
public Image accept { get; set; }
}
}
| 1.531529 | 3c07a078c0ecf940366d78c337687be2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91749 | {
"extension": "c-sharp",
"max_stars_count": "42.0",
"max_stars_repo_name": "bbqchickenrobot/IL2JS",
"max_stars_repo_path": "Reactive/ThreadingTests/test/TestLog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91750"
} | starcoder | // ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
// =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
//
// TestLog.cs
//
// Part of the PLINQ dev unit test harness.
// need to split the TestHarness in two files in order to have the ManagedS... | 1.972597 | c28950684fbffff2bc30cb34dd99821b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91750 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "wesleyheron/URI-CSharp-Solutions",
"max_stars_repo_path": "src/URI_1080_Accepted.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91751"
} | starcoder | <filename>src/URI_1080_Accepted.cs
using System;
class URI {
static void Main(string[] args) {
int n;
int maior = 0;
int posicao = 0;
for(int i = 1; i <= 100 ; i++)
{
n = Convert.ToInt32(Console.ReadLine());
if(n > maio... | 3.153052 | ac9d94d312401d0e34cb0e14af6b2994 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91751 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "erwan-joly/hotchocolate",
"max_stars_repo_path": "src/HotChocolate/Core/test/Types.Tests/Extensions/SchemaBuilderExtensions.Document.Tests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91752"
} | starcoder | <filename>src/HotChocolate/Core/test/Types.Tests/Extensions/SchemaBuilderExtensions.Document.Tests.cs
using System;
using System.IO;
using System.Threading.Tasks;
using Xunit;
using Snapshooter.Xunit;
using HotChocolate.Types;
using IOPath = System.IO.Path;
namespace HotChocolate
{
public class SchemaBuilderExtens... | 2.364304 | 6c8bb529a1647523d28adbab0466cc06 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91752 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Areloch/GG-Torque3D",
"max_stars_repo_path": "Templates/Modules/RealisticVFX/Datablocks/LifelikeExp_Flak.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91753"
} | starcoder | //-----------------------------------------------------------------------------
// Lifelike Effects Pack - Flak Explosion
// Copyright <NAME> 2012
//
// Thanks for your support!
//
//-----------------------------------------------------------------------------
//exec ("art/datablocks/LifelikeEffectsPack/LifelikeExp_Fla... | 2.046313 | 6cadbb0aff353f4315a5b5378cebc643 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91753 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "Intemporel/WoWDatabaseEditor",
"max_stars_repo_path": "Rendering/OpenGLBindings/BeginMode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91754"
} | starcoder | namespace OpenGLBindings
{
/// <summary>
/// Not used directly.
/// </summary>
public enum BeginMode
{
/// <summary>
/// Original was GL_POINTS = 0x0000
/// </summary>
Points = 0,
/// <summary>
/// Original was GL_LINES = 0x0001
/// </summary>
... | 2.372815 | b01a7e4ca0000d876ce0cad684b28a38 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91754 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkillsFundingAgency/das-apim-developer-web",
"max_stars_repo_path": "src/SFA.DAS.Apim.Developer.Web.UnitTests/AppStart/WhenAddingServicesToTheContainer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91755"
} | starcoder | <reponame>SkillsFundingAgency/das-apim-developer-web<filename>src/SFA.DAS.Apim.Developer.Web.UnitTests/AppStart/WhenAddingServicesToTheContainer.cs
using System;
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Hosting;
usi... | 1.731452 | dc8d924f56ffdc6393efd784ad4b1993 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91755 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "IC-TestIt/Back-End",
"max_stars_repo_path": "TestIt.Data/TestItDbInitializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91756"
} | starcoder | using System;
using System.Linq;
using TestIt.Model.Entities;
namespace TestIt.Data
{
public class TestItDbInitializer
{
private static TestItContext _context;
public static void Initialize (IServiceProvider serviceProvider)
{
_context = (TestItContext)serviceProvider.GetS... | 2.680646 | 83693976dc8897c253b8cfa7961166e2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91756 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "sundews/Sundew.Quantities",
"max_stars_repo_path": "Source/Sundew.Quantities.Generator/Quantities/ConstructorsHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91757"
} | starcoder | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="ConstructorsHelper.cs" company="Hukano">
// Copyright (c) Hukano. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license inf... | 2.292034 | 918831ea1914c53e3f13896c58e403bf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91757 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mickie895/ONI_Movie_Cutter",
"max_stars_repo_path": "ONI Movie Cutter/Control/DragInputPictureBox.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91758"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ONI_Movie_Cutter.Control
{
public partial class DragInputPictureBox : PictureBox
{
... | 2.766941 | d2f74143fc7fc0460c98a7701726b267 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91758 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "SurgicalSteel/Competitive-Programming",
"max_stars_repo_path": "Kattis-Solutions/Pot.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91759"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pot
{
class Program
{
static int pangkat(int nb, int np)
{
if (np == 0) { return 1; }
else { return nb * pangkat(nb, np - 1); }
}
... | 3.272444 | bf056751c92b8a5cbb4b318643bc0d7c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91759 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Limitless-Rasul-Power/Department-of-BP",
"max_stars_repo_path": "WindowsForms Task 3/Helper Classes/JsonFileHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91760"
} | starcoder | using Newtonsoft.Json;
using System;
using System.IO;
namespace WindowsForms_Task_3
{
public static class JsonFileHelper
{
#region JSON
public static void JSONSerialization(Department department)
{
var serializer = new JsonSerializer();
... | 2.890416 | da813fb56f8806d097358fe8fd53a2ac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91760 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tarnas14/TarnasConsoleUi",
"max_stars_repo_path": "Specification/InputLoopSpec.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91761"
} | starcoder | <gh_stars>0
namespace Specification
{
using System;
using System.Collections.Generic;
using System.IO;
using Moq;
using NUnit.Framework;
using Tarnas.ConsoleUi;
using Console = Tarnas.ConsoleUi.Console;
[TestFixture]
class InputLoopSpec
{
private Mock<Subscriber> _subsc... | 2.63344 | 4de79520320b8dc1718e2576ca9e2907 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.