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 | 8842112 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RenzoDD2001/assembler-simulator",
"max_stars_repo_path": "16-bit/src/Simulador Assembler/Configuracion.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161332"
} | starcoder | namespace Simulador_Assembler
{
partial class Configuracion
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 2.15014 | 94d2ede8a24f2888df1b0696323d5321 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842113 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "diazgame/oneGame",
"max_stars_repo_path": "Assets/QFramework/Framework/0.Core/Editor/0.EditorKit/uFrame.Editor/Systems/GraphUI/Obsolete/ISerializeablePropertyData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161333"
} | starcoder | using System;
using QFramework.GraphDesigner;
public interface ISerializeablePropertyData
{
string Name { get; }
Type Type { get; }
string RelatedTypeName { get; }
string FieldName { get; }
IDiagramNode TypeNode();
} | 1.535367 | 96eb7cfa878ce8602719813cb3cb8706 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842114 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "Lashas83/NHamcrest",
"max_stars_repo_path": "src/NHamcrest.Tests/Core/AllOfTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161334"
} | starcoder | using NHamcrest.Core;
using Xunit;
namespace NHamcrest.Tests.Core
{
public class AllOfTests
{
private readonly CustomMatcher<string> _failingMatcher = new CustomMatcher<string>("Failing matcher", s => false);
private readonly CustomMatcher<string> _successfulMatcher = new CustomMatcher<string>(... | 2.744237 | 5d0675ca1064300a5c786362d73d4a87 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842115 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wstrehan/Strehan.ThreeTierArchitectureSamples",
"max_stars_repo_path": "WebAPIWebsiteSample/App_Code/Models/GadgetInsertData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161335"
} | starcoder | <gh_stars>0
using System;
public class GadgetInsertData
{
public string GadgetName { get; set; }
public Int16 ColorId { get; set; }
public Int16 SizeId { get; set; }
} | 1.251226 | e9e2a54a01b4ad1ffaf2f995d4213fdd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842116 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "holotrack/osu-framework-camera",
"max_stars_repo_path": "Vignette.Camera/Graphics/DrawableCameraWrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161336"
} | starcoder | // Copyright 2020 - 2021 Vignette Project
// Licensed under MIT. See LICENSE for details.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Primitives;
using osu.Framework.Graphics.Spr... | 2.29455 | 86991a070cbbb4c7757c091c563a9e61 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842117 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cwe1ss/dd-trace-dotnet",
"max_stars_repo_path": "tracer/build/_build/Build.VariableGenerations.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161337"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using Microsoft.Extensions.FileSystemGlobbing;
using Newtonsoft.Json;
using Nuke.Common;
using Nuke.Common.CI.AzurePipelines;
using Nuke.Common.Tools.Git;
using NukeExtensions;
us... | 2.004113 | 080e2e168a0ba99f32f437e393ca9921 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842118 | {
"extension": "c-sharp",
"max_stars_count": "117.0",
"max_stars_repo_name": "alipay/alipay-sdk-net",
"max_stars_repo_path": "AlipaySDKNet/Response/AlipayCommerceGasInfoGroupcouponQueryResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161338"
} | starcoder | <filename>AlipaySDKNet/Response/AlipayCommerceGasInfoGroupcouponQueryResponse.cs
using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Aop.Api.Domain;
namespace Aop.Api.Response
{
/// <summary>
/// AlipayCommerceGasInfoGroupcouponQueryResponse.
/// </summary>
p... | 1.578725 | 8052561298407b0448644489df584b1f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842119 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "uvivagabond/UB_Unity_Utilities",
"max_stars_repo_path": "Assets/Editor/MenuItems/MissingReferenceFinder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161339"
} | starcoder | //https://github.com/liortal53/MissingReferencesUnity
//Copyright (c) 2018 <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
... | 2.104696 | a0750f3643f8c641846a24526c9189e8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842120 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "staff0rd/AspNetCore",
"max_stars_repo_path": "src/SignalR/perf/benchmarkapps/BenchmarkServer/HostedCounterService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161340"
} | starcoder | using System;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace BenchmarkServer
{
public class HostedCounterService : IHostedService
{
private Stopwatch _stopWatch;
private readonly I... | 2.805637 | ec800d1a19d0085860749b2ad3eb06a8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842121 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "dkackman/rchia",
"max_stars_repo_path": "src/rchia/Wallets/DeleteUnconfirmedTransactionsCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161341"
} | starcoder | <filename>src/rchia/Wallets/DeleteUnconfirmedTransactionsCommand.cs
using System.Threading;
using System.Threading.Tasks;
using chia.dotnet;
using rchia.Commands;
namespace rchia.Wallet;
internal sealed class DeleteUnconfirmedTransactionsCommand : WalletCommand
{
[Option("i", "id", Default = 1, Description = "Id... | 2.587771 | 92cd4a558c5f48d11d976e0f97bc1838 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842122 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Gustice/DeflectionMeasure",
"max_stars_repo_path": "MeasureDeflection/MeasureDeflection/Utils/ImageHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161342"
} | starcoder | <filename>MeasureDeflection/MeasureDeflection/Utils/ImageHelper.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Media.Imaging;
using System.Windows.Controls;
namespace MeasureDeflection.Utils
{
public... | 3.271762 | eb148cbd0453868d5c131a47aeb03f4b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842123 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kennymudiaga/errands-user",
"max_stars_repo_path": "Errands.Users.Api/ExceptionFilter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161343"
} | starcoder | using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Errands.Users.Domain.Exceptions;
using Microsoft.AspNetCore.Mvc;
using System.Text.Json;
na... | 2.216895 | 91937f243a8528b53265e2b2412c9860 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842124 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ashirafzal/Foodies",
"max_stars_repo_path": "Foodies/MonthlySales.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161344"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Foodies
{
public partial class MonthlySales : Form
{
... | 2.587823 | e5425f319f9f9381f523bdf31918dbec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842125 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "rpearsondev/CodedUI.jQueryExtensions",
"max_stars_repo_path": "src/CodedUI.jQueryExtensions.CodedUI.Tests/Tests/SelectorTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161345"
} | starcoder | <gh_stars>1-10
using System;
using System.Linq;
using CodedUI.jQueryExtensions.Test.Core;
using CodedUIjQuery.jQueryExtensions.CodedUI.Tests.Pages;
using Microsoft.Services.TestTools.UITesting.Html;
using Microsoft.VisualStudio.TestTools.UITesting;
using Microsoft.VisualStudio.TestTools.UITesting.HtmlControls;
using M... | 1.996941 | f3c106bcc8f0b03f9eee3dbdd0730f24 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842126 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mae-Var/CSharp-Practice",
"max_stars_repo_path": "exercise - Unique Number into Quit/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161346"
} | starcoder | <filename>exercise - Unique Number into Quit/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace exercise___Unique_Number_into_Quit
{
class Program
{
static void Main(string[] args)
{
List<int> lis... | 3.893753 | a3ea24befb5b42b0a6d90076ef2e5b2c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842127 | {
"extension": "c-sharp",
"max_stars_count": "51.0",
"max_stars_repo_name": "ptr727/PlexCleaner",
"max_stars_repo_path": "PlexCleaner/HandBrakeTool.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161347"
} | starcoder | <filename>PlexCleaner/HandBrakeTool.cs
using System;
using InsaneGenius.Utilities;
using Newtonsoft.Json.Linq;
using System.IO;
using System.Text.RegularExpressions;
using System.Diagnostics;
using System.Reflection;
using Serilog;
// https://handbrake.fr/docs/en/latest/cli/command-line-reference.html
namespace Plex... | 2.623334 | 5e28b27337ddc5fa38a56e4cf39baf1b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842128 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Toshizabeth/Ling",
"max_stars_repo_path": "Assets/App/Scripts/Utility/_Debug/DebugConfig/DebugButtonItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161348"
} | starcoder | <filename>Assets/App/Scripts/Utility/_Debug/DebugConfig/DebugButtonItem.cs
//
// DebugButtonItem.cs
// ProductName Ling
//
// Created by <NAME> on 2020.09.05
//
using UnityEngine;
using UnityEngine.UI;
using Cysharp.Threading.Tasks;
using UniRx;
namespace Utility.DebugConfig
{
#if DEBUG
/// <su... | 2.335464 | ef1d2b2cbee4f345ac3e61abc8ab305c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842129 | {
"extension": "c-sharp",
"max_stars_count": "68.0",
"max_stars_repo_name": "NtreevSoft/Crema",
"max_stars_repo_path": "client/Ntreev.Crema.Services/Data/TableContent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161349"
} | starcoder | <filename>client/Ntreev.Crema.Services/Data/TableContent.cs
//Released under the MIT License.
//
//Copyright (c) 2018 Ntreev Soft co., Ltd.
//
//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 ... | 1.724764 | 2f699710b55398fa536222e0b3c8dc84 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842130 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SinsofSloth/RF5-global-metadata",
"max_stars_repo_path": "DataTable/VaccinationDataTableArray.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161350"
} | starcoder | [Serializable]
public class VaccinationDataTableArray : DataTableArrayBase<VaccinationID, VaccinationDataTable, SerializeVaccinationDataTable> // TypeDefIndex: 10625
{
// Methods
// RVA: 0x1CAFC00 Offset: 0x1CAFD01 VA: 0x1CAFC00
public void .ctor() { }
}
| 1.095502 | b67ebe9c825616773d20aa1b82eefb29 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842131 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "ppittle/pMixins",
"max_stars_repo_path": "pMixins.Mvc/BAL/SourceCodeRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161351"
} | starcoder | //-----------------------------------------------------------------------
// <copyright file="SourceCodeRepository.cs" company="Copacetic Software">
// Copyright (c) Copacetic Software.
// <author><NAME></author>
// <date>Wednesday, June 25, 2014 7:00:33 PM</date>
// Licensed under the Apache License, Version 2.... | 2.235148 | 2ec27281b37c505bd64c20b25960efb3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842132 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ShadowsInRain/MWE20210504-AvaloniaUI",
"max_stars_repo_path": "Trackables.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161352"
} | starcoder | <filename>Trackables.cs<gh_stars>0
using System;
using Avalonia.Controls;
namespace MWE
{
public record DataAlpha(IObservable<string> AlphaText);
public record DataBeta(IObservable<string> BetaText);
public record DataGamma();
public class ControlAlpha : TextBlock { }
public class ControlBeta : T... | 1.838909 | 23ef5ced11124376d2bcbaaa12c1e394 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842133 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "isman-usoh/apament-management-system",
"max_stars_repo_path": "Apartmant/UserInterface/Services/CheckOutUI.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161353"
} | starcoder | <filename>Apartmant/UserInterface/Services/CheckOutUI.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Apartment.UserInterface.Service
{
public partial class CheckOut... | 1.929278 | 04579088b38b4847b62193ff197583c5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842134 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IntelOrca/OrcaML",
"max_stars_repo_path": "src/OrcaML.Graphics.Shading/Helpers/LinqExpressionExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161354"
} | starcoder | <filename>src/OrcaML.Graphics.Shading/Helpers/LinqExpressionExtensions.cs<gh_stars>0
using System;
using System.Linq.Expressions;
using System.Reflection;
namespace OrcaML.Graphics.Shading.Helpers
{
public static class LinqExpressionExtensions
{
public static MemberInfo GetMemberInfo<T>(this Expressio... | 2.943229 | 76b7a7b2a04dea6ed8510e1a09230f60 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842135 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bhowerton/csharp-cloudfiles",
"max_stars_repo_path": "com.mosso.cloudfiles/Domain/Request/DeleteContainer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161355"
} | starcoder | <reponame>bhowerton/csharp-cloudfiles<filename>com.mosso.cloudfiles/Domain/Request/DeleteContainer.cs
//----------------------------------------------
// See COPYING file for licensing information
//----------------------------------------------
namespace com.mosso.cloudfiles.domain.request
{
using System;
... | 2.648129 | 128434930cf49bf2abb0dda6401dffc9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842136 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "colabers/HelloContext",
"max_stars_repo_path": "src/HelloContext/Api/LauncherAPI.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161356"
} | starcoder | <reponame>colabers/HelloContext
using System;
using Starcounter;
using Colab.Public;
namespace Colab.HelloContext {
/// <summary>
/// Registers uri:s ready to be mapped into Colab Launcher suchs as menu e.t.c.
/// </summary>
internal static class LauncherAPI {
public static void Register()
... | 2.440905 | e46c816d696a40732c0903cc91e7ea2d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842137 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Tokioi/ChatBot",
"max_stars_repo_path": "src/Microsoft.Dynamics.Dynamics365Bot/Dialogs/SearchCaseByAccountNameDialog.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161357"
} | starcoder | namespace Microsoft.Dynamics.Dynamics365Bot.Dialogs
{
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Connector;
using Microsoft.Dynamics.BotFramework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
/// <summary>
/// Search... | 2.562256 | 8662d89fbf384310b41d28791329472b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842138 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thanhnam72/dp.framework",
"max_stars_repo_path": "Framework/DP.Core.V2-DS/DP.V2.Core/DP.V2.Core.Common/JDatatable/CustomDataTableRequestHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161358"
} | starcoder |
namespace DP.Core.Common.JqueryDatatable
{
/// <summary>
/// Use for some cases user want to have some variable included into parameter of jquery datatable
/// </summary>
public class CustomDataTableRequestHelper : DataTableRequestHelper
{
/// <summary>
/// Custom table parameter s... | 2.292846 | a16bb1a93ea0a747a75295a3ff50f4cc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842139 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mvkhokhlov/univintel_global_business_network_backend",
"max_stars_repo_path": "GBN.Core/DataAccess/Entities/ProductsLocations.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161359"
} | starcoder | using System;
using UnivIntel.PostgreSQL.ORM.Core.Attributes;
namespace UnivIntel.GBN.Core.DataAccess.Entities
{
[PgsDataTable("ProductsLocations")]
public class ProductsLocations : GBNBaseRepository<ProductsLocations>
{
public Guid ProductId { get; set; }
public Guid LocationId { get; set... | 1.679598 | 82278cc19cf1182b47b71050287b4e8e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842140 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "emptycoder/ORMMapViewer",
"max_stars_repo_path": "src/ORMMapViewer/Utils/Additional/VectorUtils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161360"
} | starcoder | using ORMMap.Model.Entitites;
using ORMMap.VectorTile.Geometry;
using System;
namespace ORMMapViewer.Utils
{
public static class VectorUtils
{
public static double GetDistance(this Vector2<int> vector1, Vector2<int> vector2)
{
return Math.Sqrt(Math.Pow(vector1.X - vector2.X, 2) + Math.Pow(vector1.Y - vector2... | 3.103049 | 466c5d35c0c8b252fd1f0b39c4716b73 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842141 | {
"extension": "c-sharp",
"max_stars_count": "42.0",
"max_stars_repo_name": "jgunter7/csharp-sparkpost",
"max_stars_repo_path": "src/SparkPost.Tests/RequestMethodFinderTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161361"
} | starcoder | <reponame>jgunter7/csharp-sparkpost<filename>src/SparkPost.Tests/RequestMethodFinderTests.cs
using AutoMoq.Helpers;
using NUnit.Framework;
using Should;
using SparkPost.RequestMethods;
namespace SparkPost.Tests
{
public class RequestMethodFinderTests
{
[TestFixture]
public class FindForTests :... | 2.018217 | 58e46320119d543c864bfdf192316d64 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842142 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "codepearl/Ajou-2021-2",
"max_stars_repo_path": "GA/Program_Lv1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161362"
} | starcoder | using System;
namespace 알고리즘
{
class Program
{
public static double norm(double mean, double stdDev)
{
Random rand = new Random(); //reuse this if you are generating many
double u1 = 1.0 - rand.NextDouble(); //uniform(0,1] random doubles
double u2 = 1.0 - ra... | 3.142228 | 063b2de7df76bce2f2d763ce11a0356d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842143 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "R0b51n/ReachUp",
"max_stars_repo_path": "WebAdmin/Models/UserSession.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161363"
} | starcoder | <filename>WebAdmin/Models/UserSession.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WebAdmin.Models
{
public class UserSession
{
public DateTime StartedAt { get; }
public User UserDetail { get; }
public User... | 2.522621 | 2931ec98b5e92c03334a62184dd5ba1f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842144 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "marartz/Gastromio",
"max_stars_repo_path": "src/Gastromio.Core/Domain/Model/Restaurants/DishVariants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161364"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using Gastromio.Core.Common;
using Gastromio.Core.Domain.Failures;
namespace Gastromio.Core.Domain.Model.Restaurants
{
public class DishVariants : IReadOnlyCollection<DishVariant>
{
priv... | 2.766689 | 21f8a39bb3a443fb33dacef72b394dd2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842145 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "jlaridon/ISHRemote",
"max_stars_repo_path": "Source/ISHRemote/Trisoft.ISHRemote/HelperClasses/DitaXmlGeneralizationCatalogMapping.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161365"
} | starcoder | /*
* Copyright (c) 2014 All Rights Reserved by the SDL Group.
*
* 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 appl... | 2.330128 | 16374634b2293a7d5dadb5a901d91b86 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842146 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bnayae/design-pattern-cs",
"max_stars_repo_path": "Structural/Exercise Shapes Tree/Shapes/Rect/Flyweight/Rect2x2Prime.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161366"
} | starcoder | <filename>Structural/Exercise Shapes Tree/Shapes/Rect/Flyweight/Rect2x2Prime.cs
using System;
using System.Collections.Generic;
using System.Text;
using Autofac.Features.AttributeFilters;
namespace Bnaya.Samples
{
public class Rect2x2Prime : Rect
{
public Rect2x2Prime(
[KeyFilter(Keys.Line... | 2.327152 | 4b16424e4300f8226ac805611cfa5985 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842147 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tonysneed/Experimental",
"max_stars_repo_path": "vNext/VS2013/EF7/NTierEf6/PocoDemo.Web/Areas/HelpPage/Views/Help/DisplayTemplates/SimpleTypeModelDescription.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:161367"
} | starcoder | @using PocoDemo.Web.Areas.HelpPage.ModelDescriptions
@model SimpleTypeModelDescription
@Model.Documentation | 1.252954 | 6a8f4faf11ddf6c2ca8ee488b20766b4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842148 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Plankankul/SharpDevelop-w-Framework",
"max_stars_repo_path": "src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Tests/Designer/SetPropertyTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161368"
} | starcoder | // Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Markup;
us... | 1.89301 | 816d87961061e797cd165d220a33edb8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842149 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "IntelliTect/Coalesce",
"max_stars_repo_path": "src/IntelliTect.Coalesce/Utilities/StringExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161369"
} | starcoder | using System;
using System.Text.RegularExpressions;
using System.Web;
using Microsoft.CodeAnalysis.CSharp;
namespace IntelliTect.Coalesce.Utilities
{
public static class StringExtensions
{
// Convert the string to Pascal case.
#if NETCOREAPP
[return: System.Diagnostics.CodeAnalysis.NotNullIfNo... | 3.13422 | df1c758184665ace057cdd524d74bb98 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842150 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Furkan581907/GFStokTakip",
"max_stars_repo_path": "GFStokTakip/GFStokTakip/Modul_Stok/frmUrunEkle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161370"
} | starcoder | <filename>GFStokTakip/GFStokTakip/Modul_Stok/frmUrunEkle.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using System.Re... | 1.97784 | 5474356e029487b896a9c506d84c5315 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842151 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "ttu/map-service",
"max_stars_repo_path": "src/MapApi/Utils/MartenHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161371"
} | starcoder | <filename>src/MapApi/Utils/MartenHelper.cs
using System.Collections.Generic;
using Marten;
namespace MapApi
{
public static class MartenHelper
{
public static DocumentStore GetStore(string connectionString)
{
return DocumentStore.For(connectionString);
}
public stat... | 2.681897 | bf4829f372a18e0b5153f8f00bee50fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842152 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stStoyanov93/SoftUni-Programming-Basics",
"max_stars_repo_path": "PS02_SimpleCalculations/P09_CelsiustToFahrenheit/CelsiustToFahrenheit.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161372"
} | starcoder | using System;
namespace P09_CelsiustToFahrenheit
{
class CelsiustToFahrenheit
{
static void Main(string[] args)
{
double celsius = double.Parse(Console.ReadLine());
double farenheit = (celsius * 9) / 5 + 32;
Console.WriteLine(farenheit);
}
}
}
| 3.2106 | 9d70af455f7479d466be7eebbdb0867a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842153 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "cristy-the-one/agg-sharp",
"max_stars_repo_path": "VectorMath/TrackBallController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161373"
} | starcoder | /*
Copyright (c) 2018, <NAME>, <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the follow... | 2.307948 | ea93b39cc93a03b4c0f29381bd8e06e6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842154 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "yakonstantine/Kraft-Wrapper",
"max_stars_repo_path": "KraftWrapper/KraftWrapper.Fake2/Models/FakeModelWithChildrenFromDiffAssemblies.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161374"
} | starcoder | using KraftWrapper.Attributes;
using KraftWrapper.Fake.Models;
using KraftWrapper.Fake2.IDsStorage;
using KraftWrapper.Interfaces;
using System;
using System.Collections.Generic;
namespace KraftWrapper.Fake2.Models
{
[SitecoreTemplate(TemplateId = IDsForModelWithChildrenFromDiffAssemblies.TemplateId)]
public ... | 1.769098 | e7626b49dfd637b0062e0b02684b11f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842155 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "n-yousefi/DerafshSample",
"max_stars_repo_path": "DerafshSample/Views/Shared/EditorTemplates/UIPrDatePicker.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:161375"
} | starcoder | @{var title = Html.Raw(ViewData.ModelMetadata.GetDisplayName());}
<div class="form-group">
<label class="col-lg-2 control-label">@title</label>
<div class="col-lg-4">
<div class="input-group">
<div class="input-group-addon"
data-mddatetimepicker="true"
data... | 2.385225 | 0ede763f115ae5c36ebe75ec56a1f239 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842156 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "CallFire/callfire-api-client-csharp",
"max_stars_repo_path": "src/CallfireApiClient/Api/CallsTexts/Model/Request/SendTextsRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161376"
} | starcoder | <reponame>CallFire/callfire-api-client-csharp<filename>src/CallfireApiClient/Api/CallsTexts/Model/Request/SendTextsRequest.cs
using Newtonsoft.Json;
using System.Collections.Generic;
namespace CallfireApiClient.Api.CallsTexts.Model.Request
{
/// <summary>
/// Contains fields to send texts (Recipients, Default... | 2.554178 | 35f344f0cf737a38594099a92995d509 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842157 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "noobeex/CodeContract",
"max_stars_repo_path": "src/Noobeex.CodeContract.Tests/OperationTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161377"
} | starcoder | <reponame>noobeex/CodeContract
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Noobeex.CodeContract.Tests
{
[TestClass]
public class OperationTest
{
#region Requires
[TestMethod]
[ExpectedException(typeof(InvalidOperationException))]
public void... | 2.467854 | ac79bf73e8fb86307b0c3b6b6da11faf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842158 | {
"extension": "c-sharp",
"max_stars_count": "590.0",
"max_stars_repo_name": "Xtrimmer/SqlClient",
"max_stars_repo_path": "src/Microsoft.Data.SqlClient/tests/tools/Microsoft.Data.SqlClient.TestUtilities/Utils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161378"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
namespace Microsoft.Data.SqlClient.TestUtilities
{
public stati... | 2.545572 | f4c25f33feb8e09f8f7b9275b06419e6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842159 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "AbdShullah/OsuFriendsBot",
"max_stars_repo_path": "OsuFriendsBot/Config.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161379"
} | starcoder | <filename>OsuFriendsBot/Config.cs
using Serilog.Events;
using System;
namespace OsuFriendsBot
{
public class Config
{
public string Token { get; set; }
public string OsuFriendsApiToken { get; set; }
public Uri OsuFriendsApiUrl { get; set; }
public string Prefix { get; set; }
... | 1.87728 | 6fefb68df357200052d4306e25be4ebb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842160 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "cafesua/mygeneration",
"max_stars_repo_path": "src/mygeneration/MyGenUtility/SharedResources.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161380"
} | starcoder | namespace Zeus
{
public static class SharedResources
{
public static System.Drawing.Bitmap Refresh16x16_1
{
get { return MyGeneration.Properties.Resources.Refresh16x16_1; }
}
public static System.Drawing.Bitmap Refresh16x16_2
{
get { retu... | 1.677817 | 12e4f480434c82d9217ab9846320a012 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842161 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vostok/hercules.local",
"max_stars_repo_path": "Vostok.Hercules.Local/Components/Bases/HerculesProcess.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161381"
} | starcoder | <reponame>vostok/hercules.local
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading;
using Vostok.Commons.Local;
using Vostok.Hercules.Local.Helpers;
using Vostok.Hercules.Local.Settings;
using Vostok.Logging.Abstractions;
namespace Vostok.Hercules.Local.Components.Bases
{
publi... | 2.218926 | 2bab70b8300be1c09ec1fdea6a82b025 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842162 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Oshryh/TypeLite",
"max_stars_repo_path": "TypeLite.Tests/TestModels/IgnoreTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161382"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TypeLite.Tests.TestModels {
[TsIgnore]
public class IgnoreTestBase { }
public class IgnoreTest : IgnoreTestBase { }
}
| 1.079194 | b4bbcfbd3946e696c19b0e28a9967c7d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842163 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "inspirasiprogrammer/MySqlCdc",
"max_stars_repo_path": "src/MySqlCdc/Providers/MariaDb/Parsers/GtidEventParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161383"
} | starcoder | using MySqlCdc.Events;
using MySqlCdc.Parsers;
using MySqlCdc.Protocol;
namespace MySqlCdc.Providers.MariaDb
{
/// <summary>
/// Parses <see cref="GtidEvent"/> events in MariaDB 10.0.2+.
/// </summary>
public class GtidEventParser : IEventParser
{
/// <summary>
/// Parses <see cref=... | 1.994734 | 53c93dfa97383b6763c9faeb7f4573c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842164 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "jakubfijalkowski/fsraster",
"max_stars_repo_path": "src/FsRaster.UI.ColorPicker/RGBPlane.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161384"
} | starcoder | <filename>src/FsRaster.UI.ColorPicker/RGBPlane.cs<gh_stars>1-10
using System;
using System.Windows;
namespace FsRaster.UI.ColorPicker
{
public sealed class RGBPlane
: ColorPlaneBase<ColorRGB>
{
public static readonly DependencyProperty BProperty =
DependencyProperty.Register("B", t... | 2.775241 | 0133578a588e88ccc1a669cccb69a2b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842165 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "NosCoreIO/NosCoreBot",
"max_stars_repo_path": "src/NosCoreBot/Precondition/RequireUserPermissionOrWebhookAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161385"
} | starcoder | using System;
using System.Linq;
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
namespace NosCoreBot.Precondition
{
public class RequireUserPermissionOrWebhookAttribute : RequireUserPermissionAttribute
{
private readonly string[] _webhookNames;
public RequireUserPermissi... | 2.391957 | ee996a157e2095e82fca80515893e0f6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842166 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Cyral/BooleanByte",
"max_stars_repo_path": "Source/BooleanByte.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161386"
} | starcoder | <reponame>Cyral/BooleanByte
using System;
namespace BoolByte
{
/// <summary>
/// Wrapper for a single byte that can be addressed on a per-bit level.
/// </summary>
/// <remarks>
/// Useful for memory critical applications, such as tile data in a game, where large amounts of boolean values
/// ... | 3.754848 | 3420ba202661f0e270252de3f5cf3345 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842167 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Rainbow-CPaaS/Rainbow-CSharp-SDK-Samples",
"max_stars_repo_path": "SSO/WPF/App.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161387"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using System.Xml;
using NLog;
using Rainbow;
using WpfSSOSamples.Helpers;
using WpfSSOSamples.View;
namespace WpfSSOSamp... | 2.212435 | 0aa20a55db8ef0fbea82c7ec523a1042 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842168 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gasparekferenc/hrmApp.N-Layer.MVC",
"max_stars_repo_path": "scr/hrmApp/hrmApp.Core/Models/Base/BaseEntityConcurrency.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161388"
} | starcoder | using System.ComponentModel.DataAnnotations;
namespace hrmApp.Core.Models.Base
{
public class BaseEntityConcurrency : BaseEntity
{
// Due to concurrency handling
[Timestamp]
public byte[] RowVersion { get; set; }
}
}
| 1.579778 | a37cb6fedc2f36180968d8d9782e3aed |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842169 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TeamAojilu/sukisukisukiman_u1w202012_akeru",
"max_stars_repo_path": "Assets/_Assets/u1w202012/Issues/Issue#14/SeveralSEPlayer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161389"
} | starcoder | using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using SilCilSystem.Variables;
namespace Unity1Week202012
{
public class SeveralSEPlayer : MonoBehaviour
{
[SerializeField] private ReadonlyBool m_isPlaying;
[SerializeField] private ... | 2.075528 | c75ee672ca14cfe34d45fcea7f305ed0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842170 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TomiEckert/TomsLogger",
"max_stars_repo_path": "TomsLogger/Config/LoggerConfigBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161390"
} | starcoder | using System;
using System.Diagnostics.CodeAnalysis;
using TomsLogger.Model;
namespace TomsLogger.Config {
[SuppressMessage("ReSharper", "UnusedMember.Global")]
public class LoggerConfigBuilder {
private LoggerConfigBuilder() {
Config = new LoggerConfig {
Callback = Console... | 2.879015 | dee0a9481039a0e96b02a1ebbae1b03e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842171 | {
"extension": "c-sharp",
"max_stars_count": "49.0",
"max_stars_repo_name": "Avanade/SitecoreFoundation",
"max_stars_repo_path": "src/Feature/FoundationComponents/code/Views/Foundation.Layouts/Grid/RowWithFullWidthColumn.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:161391"
} | starcoder | @using Sitecore.Mvc.Presentation
@using Sitecore.Mvc
@using SF.Foundation.Container
@using SF.Foundation.Structure
@model RenderingModel
@using (Html.ComponentContainer("row container-1col"))
{
<div class="large-12 small-12 medium-12 columns" >
@Html.Sitecore().DynamicPlaceholder("Column1")
</div>
} | 1.842329 | 325d399341f24570a597c6473911adf8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842172 | {
"extension": "c-sharp",
"max_stars_count": "91.0",
"max_stars_repo_name": "RAstardzhiev/SoftUni-C-",
"max_stars_repo_path": "Databases Advanced - Entity Framework 6/EF Relations/1. Code First Student System/Migrations/201710150916553_InitialCreation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161392"
... | starcoder | <filename>Databases Advanced - Entity Framework 6/EF Relations/1. Code First Student System/Migrations/201710150916553_InitialCreation.cs
namespace _1.Code_First_Student_System.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class InitialCreation : DbMigration
{
... | 2.312084 | 3e96eae598e5da187a02b634ea1e6a06 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842173 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "blaherrod/Meraki.Api",
"max_stars_repo_path": "Meraki.Api/Data/SiteToSiteVpn.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161393"
} | starcoder | namespace Meraki.Api.Data;
/// <summary>
/// UpdateNetworkSiteToSiteVpn
/// </summary>
[DataContract]
public class SiteToSiteVpn
{
/// <summary>
/// The site-to-site VPN mode. Can be one of 'none', 'spoke' or 'hub'
/// </summary>
[ApiAccess(ApiAccess.ReadUpdate)]
[DataMember(Name = "mode")]
public SiteToSiteVpnM... | 1.971429 | 109f65a85645c3cf180e4587df850e04 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842174 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "stefan-baumann/ManiaPlanetSharp",
"max_stars_repo_path": "old/ManiaPlanetSharp/ManiaPlanetSharp/GameBox/Classes/Various/PlayerProfile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161394"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace ManiaPlanetSharp.GameBox.Classes.Various
{
public class PlayerProfile
: Node
{
[AutoParserStringProperty(0, false)]
public string OnlineLogin { get; set; }
[AutoParserStringProperty(1, false)]
... | 1.527609 | 8864a6b29f5347efa19194b994547303 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842175 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "christosk92/uno",
"max_stars_repo_path": "src/Uno.UI/UI/Xaml/Controls/Image/NativeImage.Android.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161395"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Android.Graphics;
using Android.Graphics.Drawables;
using Android.Widget;
using Uno.UI;
namespace Windows.UI.Xaml.Controls
{
internal partial class NativeImage : ImageView
{
private bool _skipLayoutRequest;
private Image Owner => Parent a... | 2.370741 | dce5148fb41681444d8704c84e27a96b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842176 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Team-on/ProveAA",
"max_stars_repo_path": "source/Creature/Monster/Graveyard/Ghost1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161396"
} | starcoder | <reponame>Team-on/ProveAA
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProveAA.Creature.Monster.Graveyard {
class Ghost1 : BasicGraveyardMonster, Attributes.Ghost {
public Ghost1(Creature.Player player) {
this.monsterDifficult = 0;... | 1.989311 | 1912910dcac4b8db4cb4c9748bbf18a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842177 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BenjaminPelletier/TableConverter",
"max_stars_repo_path": "ConverterUI.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161397"
} | starcoder | <reponame>BenjaminPelletier/TableConverter<filename>ConverterUI.Designer.cs
namespace TableConverter
{
partial class ConverterUI
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
... | 1.824915 | 8f598fd0d76ba225c7dc235135b6cc8c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842178 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "baskren/P42.Uno.HtmlExtensions",
"max_stars_repo_path": "P42.Uno.HtmlExtensions/Wasm/NativePrintService.unowasm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161398"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Uno.Foundation;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
#if __WASM__
using WebView = P42.Uno.HtmlExtensions.WebViewX;
using WebViewNavigationCompletedEventArgs = P42.Uno.HtmlExtensio... | 2.135828 | e87d8d96dfc439c51dc012f97bd64083 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842179 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "talhaHavadar/Assembly-Code-IDE-and-Simulator",
"max_stars_repo_path": "ProjeWithForm/ProjeWithForm/OperandProcess.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161399"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Collections;
using System.Windows.Forms;
using System.Diagnostics;
namespace ProjeWithForm
{
public enum Operation
{
ORG,HLT,ADD,SUB,AND,OR,XOR,SHL,SHR,INC,COMA,LD,ST,IN,OUT,JMP,CALL,RET... | 2.488225 | 531d3268dd92e85f5349b77f26f274a9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842180 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Vardir/LilTime",
"max_stars_repo_path": "source/LilTime.Entities/Records/Record.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161400"
} | starcoder | <gh_stars>0
using System;
using Vardirsoft.LilTime.Entities.Identities;
namespace Vardirsoft.LilTime.Entities.Records
{
public abstract class Record : Entity
{
protected Record() : this(string.Empty)
{
}
protected Record(string id) : this(id, new User(), new User(), DateTime.MinValue,... | 1.905693 | 1f61267cb51ef20f95805041d3e4dfc3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842181 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tnunnink/ioList",
"max_stars_repo_path": "src/ioList.Domain/Label.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161401"
} | starcoder | <filename>src/ioList.Domain/Label.cs
namespace ioList.Domain
{
public class Label
{
public int Id { get; set; }
public string Value { get; set; }
}
} | 2.087746 | 1e91daa83a7489517595b8ae257a27f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842182 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "HTWK-18INB-1/harae",
"max_stars_repo_path": "Assets/Essential Horror Music Collection/_DEMO FILES_/Scripts/MusicNavigation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161402"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class MusicNavigation : MonoBehaviour
{
[SerializeField] private int playingID;
private AudioSource audiosource;
public AudioClip[] musicList;
[Space(10)]
public Text musicName;
void Start ()
{
play... | 2.517204 | 89f6fed5ea59b49198ee1260f800d471 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842183 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "AshishVishwakarma/Design-Patterns",
"max_stars_repo_path": "D-Strategy Pattern/D Solution 2/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161403"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace D_Solution_2
{
class Program
{
static void Main(string[] args)
{
int[] arr = { 345, 45, 567, 56, 45, 634, 745, };
Sorter sorter = new BubbleSor... | 2.784577 | 88443991abc9d6f3d6143165d4bb3fd2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842184 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jamesconsultingllc/JamesConsulting.Aspects.Abstractions",
"max_stars_repo_path": "AspectCentral.Abstractions.Tests/AspectContextTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161404"
} | starcoder | // ----------------------------------------------------------------------------------------------------------------------
// <copyright file="AspectContextTests.cs" company="James Consulting LLC">
// Copyright (c) 2019 All Rights Reserved
// </copyright>
// <author><NAME></author>
// <summary>
//
// </summary... | 2.480392 | ed63bb8cd0ecadce9e389f9fd26578a0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842185 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AestheticalZ/Faithful-SCP-Unity",
"max_stars_repo_path": "Assets/Octave3D World Builder/Scripts/Rendering/Grid/XZGridRenderer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161405"
} | starcoder | <gh_stars>0
#if UNITY_EDITOR
using UnityEngine;
using System.Collections.Generic;
namespace O3DWB
{
public class XZGridRenderer
{
public void RenderGizmos(XZGrid grid, CameraViewVolume cameraViewVolume)
{
if (!grid.RenderSettings.IsVisible) return;
// Note: Can not fig... | 1.87423 | 09100f3870c0d879cf878a0ee86f8821 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842186 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jongio/service-fabric-dotnet-iot",
"max_stars_repo_path": "src/actors/IoTActor.Common/IoTActorWorkItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161406"
} | starcoder | <filename>src/actors/IoTActor.Common/IoTActorWorkItem.cs<gh_stars>0
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ---------------------... | 2.265842 | a6de44390e357a8954740d1624a83158 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842187 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "uQr/AutoTest.Net",
"max_stars_repo_path": "src/AutoTest.Test/Core/Caching/Projects/Fakes/FakeProjectParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161407"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AutoTest.Core.Caching.Projects;
namespace AutoTest.Test.Core.Caching.Projects.Fakes
{
class FakeProjectParser : IProjectParser
{
private Stack<ProjectDocument> _documents;
private bool _throwOnParse = f... | 2.482812 | 566d98a7782ea2671d4b9869853c58f3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842188 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "UiPathJapan/KeyboardExtensionActivityPackage",
"max_stars_repo_path": "UiPathTeam.KeyboardExtension.Activities/Restore.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161408"
} | starcoder | <reponame>UiPathJapan/KeyboardExtensionActivityPackage
using System;
using System.Activities;
namespace UiPathTeam.KeyboardExtension.Activities
{
[LocalizedDisplayName(nameof(Resource.RestoreDisplayName))]
[LocalizedDescription(nameof(Resource.RestoreDescription))]
public class Restore : CodeActivi... | 2.208787 | 1b48d1b3cb1bc4eb72f2474a5d7e9346 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842189 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "fairflow/mac-playground-prefix",
"max_stars_repo_path": "FormsTest/LayoutIssues/ImapOptions/ImapOptionsControl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161409"
} | starcoder | <reponame>fairflow/mac-playground-prefix
using System;
using System.ComponentModel;
using System.Windows.Forms;
//using MailClient.Accounts;
//using MailClient.Common.UI;
//using MailClient.Storage.Application;
using System.Net;
//using MailClient.UI.Controls;
namespace MailClient.Protocols.Imap
{
partial class Imap... | 1.672638 | 8dbfb9b7b47965252b6c618b291fde11 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842190 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "golddranks/QtSharp",
"max_stars_repo_path": "QtSharp/QString.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161410"
} | starcoder | <filename>QtSharp/QString.cs<gh_stars>0
using CppSharp.AST;
using CppSharp.AST.Extensions;
using CppSharp.Generators;
using CppSharp.Generators.CSharp;
using CppSharp.Types;
namespace QtSharp
{
[TypeMap("QString")]
public class QString : TypeMap
{
public override string CSharpSignature(CSharpTypeP... | 2.174385 | a04ac07145408abdba7ddce9207eeaf8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842191 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joaofbantunes/GetComplexTypeFromQueryAsSimpleType",
"max_stars_repo_path": "src/Api/SampleController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161411"
} | starcoder | <gh_stars>0
using Microsoft.AspNetCore.Mvc;
namespace Api;
[ApiController]
[Route("sample")]
public class SampleController : ControllerBase
{
[HttpGet("basic")]
public IActionResult GetWithNoCustomization(SomeWrapperType wrapper)
=> Ok(wrapper.Value);
[HttpGet("from-query")]
public IAct... | 1.643936 | 32de6dddec74919d4d757d819ebb8870 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842192 | {
"extension": "c-sharp",
"max_stars_count": "98.0",
"max_stars_repo_name": "Praggya17/HacktoberFestContribute",
"max_stars_repo_path": "Algorithms/Mathematical Algorithms/GreatestCommonDenominator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161412"
} | starcoder | <reponame>Praggya17/HacktoberFestContribute<filename>Algorithms/Mathematical Algorithms/GreatestCommonDenominator.cs<gh_stars>10-100
using System;
namespace Fibonacci
{
internal class GreatestCommonDenominator
{
private static long gcd(int left, int right)
{
int remainder;
... | 3.616274 | 13d0d311f885d5785bc8ca2f890ead68 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842193 | {
"extension": "c-sharp",
"max_stars_count": "191.0",
"max_stars_repo_name": "raindigi/Merchello",
"max_stars_repo_path": "src/Merchello.Web/Search/ProxyQueryBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161413"
} | starcoder | namespace Merchello.Web.Search
{
using System;
using Merchello.Core;
using Umbraco.Core.Cache;
/// <summary>
/// A base class for entity proxy queries.
/// </summary>
internal abstract class ProxyQueryBase
{
/// <summary>
/// Initializes a new instance of the <see cre... | 2.648777 | 0dfa175be4e76f2c664c2e8e3a105d29 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842194 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "David-Rushton/PokerCli",
"max_stars_repo_path": "src/PokerCli.Tests/Deck.Tests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161414"
} | starcoder | <reponame>David-Rushton/PokerCli<gh_stars>0
using PokerCli;
using PokerCli.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace PokerCli.Tests
{
public class DeckTests
{
[Fact]
public void Deck_ShouldContainAllFiftyTwoCards()
{
... | 3.143255 | d98e324542949a52ed71e694a5d71c54 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842195 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "INVA-Spa/Laser.Orchard.Platform",
"max_stars_repo_path": "src/Modules/Laser.Orchard.Facebook/Drivers/FacebookAccountDriver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161415"
} | starcoder | using AutoMapper;
using Laser.Orchard.Facebook.Models;
using Laser.Orchard.Facebook.Services;
using Laser.Orchard.Facebook.ViewModels;
using Orchard;
using Orchard.ContentManagement;
using Orchard.ContentManagement.Drivers;
using Orchard.ContentManagement.Handlers;
using Orchard.Core.Common.Models;
using Orchard.Local... | 1.821435 | 15e0e42796c835e02a593cf7c0aa8b69 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842196 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TobiHatti/RampSQL",
"max_stars_repo_path": "RampSQL/RampColumn.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161416"
} | starcoder | using System;
using System.Dynamic;
namespace RampSQL
{
public class RampColumn
{
public RampColumn(string columnName)
{
}
public RampColumn(string columnName, Type dataType)
{
}
}
}
| 1.740342 | d56d9ebfbdb728ecb19fc1df4ec7e412 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842197 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "mghextreme/uipath-validator",
"max_stars_repo_path": "UIPathValidator/Validation/Result/IActivityValidationResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161417"
} | starcoder | <filename>UIPathValidator/Validation/Result/IActivityValidationResult.cs
namespace UIPathValidator.Validation.Result
{
public interface IActivityValidationResult
{
string TaskName { get; set; }
}
} | 1.685975 | e587cdbc4429fad65c192cd78e5c30d2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842198 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "andmattia/core-lms",
"max_stars_repo_path": "CoreLMS.Web/Areas/Admin/Pages/Courses/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:161418"
} | starcoder | <reponame>andmattia/core-lms<gh_stars>10-100
@page
@model CoreLMS.Web.Areas.Admin.Pages.Courses.IndexModel
@{
ViewData["Title"] = "All Courses";
}
<h1>Courses</h1>
<table class="table">
<thead>
<tr>
<th>
@Html.DisplayNameFor(model => model.Courses[0].Name)
</t... | 1.863544 | 9278c04bb4c31ff4d949ed08130dcd7e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842199 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "DotNetCross/Sorting",
"max_stars_repo_path": "src/DotNetCross.Sorting/Implementations/Sort3.Keys.Comparison.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161419"
} | starcoder | using System;
using System.Diagnostics;
using System.Runtime.CompilerServices;
namespace DotNetCross.Sorting
{
internal partial struct KeysSorter_Comparison<TKey>
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void Sort3(
ref TKey r0, ref TKey r1, ref TKey r2,... | 2.907218 | ea87e3395078c67f8ff3f7efcff5d413 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842200 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "TechnologyEnhancedLearning/DLSV2",
"max_stars_repo_path": "DigitalLearningSolutions.Web/Views/LearningMenu/Diagnostic/Diagnostic.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:161420"
} | starcoder | @using DigitalLearningSolutions.Web.ViewModels.LearningMenu
@using Microsoft.Extensions.Configuration
@inject IConfiguration Configuration
@model DiagnosticAssessmentViewModel
<link rel="stylesheet" href="@Url.Content("~/css/learningMenu/index.css")" asp-append-version="true">
@{
ViewData["HeaderPrefix"] = "";
V... | 2.100613 | dd362f7c3cfde83f978dfca5741fffd2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842201 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mauriciogentile/reconfig",
"max_stars_repo_path": "src/Common/CQRS/IQuery.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161421"
} | starcoder | <filename>src/Common/CQRS/IQuery.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Reconfig.Common.CQRS
{
public interface IQuery<out TResult>
{
}
}
| 1.505884 | 310fb8c20729dcd71db5e71e9839ae36 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842202 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "E01D/Base",
"max_stars_repo_path": "src/E01D.Base.Errors.Api/Coding/Code/Api/E01D/Base/Errors/ExceptionApi.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161422"
} | starcoder | <filename>src/E01D.Base.Errors.Api/Coding/Code/Api/E01D/Base/Errors/ExceptionApi.cs
using Root.Coding.Code.Api.E01D.Base.Errors.Exceptions;
namespace Root.Coding.Code.Api.E01D.Base.Errors
{
public class ExceptionApi
{
public ArgumentApi Argument { get; set; } = new ArgumentApi();
public Array... | 2.067884 | af48e8f89d315427e08484d17bac1c76 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842203 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "market6/MK6.AutomatedTesting.Load",
"max_stars_repo_path": "MK6.AutomatedTesting.Load/UserChoosers/IUserChooser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161423"
} | starcoder | using System.Collections.Generic;
namespace MK6.AutomatedTesting.Load.UserChoosers
{
public interface IUserChooser
{
User Choose(IterationContext context);
}
}
| 1.608202 | ee483fce3e4321a11617fafdda768b15 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842204 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tobiaswuerth/mux-cli",
"max_stars_repo_path": "plugins/PluginMusicBrainz/Config.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161424"
} | starcoder | <filename>plugins/PluginMusicBrainz/Config.cs
using System;
namespace ch.wuerth.tobias.mux.plugins.PluginMusicBrainz
{
public class Config
{
public Int32 BatchSize { get; set; } = 3000;
}
} | 1.325704 | eaaf11665b68ca3eff100b0621b3310c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842205 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jokeringithub/DotNetExtensionLibrary",
"max_stars_repo_path": "XstarS.Core/Text/RegularExpressions/StringRegexExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161425"
} | starcoder | using System;
using System.Text.RegularExpressions;
namespace XstarS.Text.RegularExpressions
{
/// <summary>
/// 提供字符串 <see cref="string"/> 基于正则表达式 <see cref="Regex"/> 的扩展方法。
/// </summary>
public static class StringRegexExtensions
{
/// <summary>
/// 指示当前字符串是否匹配指定正则表达式。
//... | 3.524828 | 8379fe9752ed078cf20ec094e3bace31 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842206 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "Asterionworld/ether",
"max_stars_repo_path": "OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetXferUploader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161426"
} | starcoder | /*
* Copyright (c) <NAME> Developers
* Copyright (c) Contributors, http://opensimulator.org/
*
* 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 the above copyright
... | 1.89301 | 78629e0effe973514d055274b4e90c83 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842207 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cushmily/wInjection",
"max_stars_repo_path": "Unity/Context.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161427"
} | starcoder | using System;
namespace wLib.Injection
{
public class Context
{
public static IContext GlobalContext { get; private set; }
public static void SetCurrentContext(IContext context)
{
if (GlobalContext != null) { throw new Exception("Global context already exists."); }
... | 2.550308 | aae2ad64830ccc24fee0487989d9f130 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842208 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kazakovsv/ExampleMVVM",
"max_stars_repo_path": "ExampleMVVM/ExampleMVVM.DesktopClient/Repositories/CustomerRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161428"
} | starcoder | using ExampleMVVM.DesktopClient.Models;
using System;
using System.Collections.Generic;
namespace ExampleMVVM.DesktopClient.Repositories
{
public class CustomerRepository
{
private readonly List<Customer> _customers;
public CustomerRepository()
{
_customers = LoadCutomers(... | 2.93611 | 6493463fd0a25da2b7ee131ff7dc3124 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842209 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "papersaltserver/ITLinksBot",
"max_stars_repo_path": "src/ItLinksBot/ContentGetters/HtmlContentGetter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161429"
} | starcoder | using Serilog;
using System;
using System.Net;
using System.Net.Http;
namespace ItLinksBot.ContentGetters
{
class HtmlContentGetter : IContentGetter<string>
{
public string GetContent(string resourceUrl)
{
try
{
HttpClient httpClient = new();
... | 2.792789 | c9f3cf6f56ea82a7ee122cd3299abacd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842210 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "Bhaskers-Blu-Org2/healthvault-dotnetstandard-sdk",
"max_stars_repo_path": "Microsoft.HealthVault/Thing/BlobPutParameters.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161430"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// MIT License
// 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... | 2.288412 | 8d97cf32f25c51fdda41afb028d08f2c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842211 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "putridparrot/Delimited.Data",
"max_stars_repo_path": "Delimited.Data/DelimitedSerializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161431"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Globalization;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Xml;
using Delimited.Data.Attributes;
using Delimited.Data.Utils;
using System.ComponentModel;
using Delimited.... | 2.468057 | b8031afcb8555e2e248cbab2d929a8cb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.