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 | 66733 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DanClowry/NutritionNumerator",
"max_stars_repo_path": "src/NutritionNumerator/NutritionNumerator/ViewModels/BaseViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66734"
} | starcoder | <reponame>DanClowry/NutritionNumerator
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using Xamarin.Forms;
using NutritionNumerator.Models;
using NutritionNumerator.Services;
using TinyIoC;
using FoodDataCentral;
using System.Threading.Tasks;
using... | 2.439044 | eba4d686e77ddffb0f2fcca51f61ee69 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66734 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "dpvreony/whipstaff",
"max_stars_repo_path": "src/Whipstaff.UnitTests/Features/EntityFramework/DgmlGeneration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66735"
} | starcoder | <filename>src/Whipstaff.UnitTests/Features/EntityFramework/DgmlGeneration.cs
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Text;
using Microsoft.EntityFrameworkCore;
namespace Whipstaff.UnitTests.Features.EntityFramework
{
/// <summary>
/// Initial test logic f... | 2.633649 | 3afdbae3e0a76bde5c00df46afb750b3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66735 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "leyel/BoSSS",
"max_stars_repo_path": "src/L4-application/CNS/ShockCapturing/LaplacianArtificialViscosityFluxBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66736"
} | starcoder | <filename>src/L4-application/CNS/ShockCapturing/LaplacianArtificialViscosityFluxBuilder.cs
/* =======================================================================
Copyright 2017 Technische Universitaet Darmstadt, Fachgebiet fuer Stroemungsdynamik (chair of fluid dynamics)
Licensed under the Apache License, Vers... | 2.03419 | 55753a5de8ca1981b3c163ce9b4ab1e7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66736 | {
"extension": "c-sharp",
"max_stars_count": "448.0",
"max_stars_repo_name": "miniksa/BuildXL",
"max_stars_repo_path": "Public/Src/Utilities/UnitTests/PackedExecutionTests/PackedExecutionRelationTableTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66737"
} | starcoder | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using BuildXL.Utilities.PackedExecution;
using BuildXL.Utilities.PackedTable;
using System;
using System.Collections.Generic;
using System.Linq;
using Test.BuildXL.TestUtilities.Xunit;
using Xunit;
using Xunit.Abstractions;
namesp... | 1.638666 | e9341c4fa38ecfa97a1556c903a1cf85 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66737 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EdnaValter/AAO_App",
"max_stars_repo_path": "Controllers/TripsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66738"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using AAO_App.Data;
using AAO_App.Models;
using AAO_App.ModelView;
using Microsoft.AspNetCore.Http;
namespace ... | 2.084613 | 34afc617ddd14e0e8af0448a1878cf85 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66738 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EdutechSRL/Adevico",
"max_stars_repo_path": "3-Business/3-Modules/lm.Comol.Modules.TaskList/FileManagementIViewPresenter/IViewMultipleTaskUpload.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66739"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using lm.Comol.Core.DomainModel;
using lm.Comol.Modules.TaskList.Domain;
using lm.Comol.Core.BaseModules.CommunityDiary.Domain;
namespace lm.Comol.Modules.TaskList
{
public interface IViewMultipleTaskUpload : lm.Comol.Core.Doma... | 1.305851 | 79ee7ca00b3233dcc815847936e289e6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66739 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Adibhatt95/Time-tableExtensionTOOL",
"max_stars_repo_path": "FormADDCLASSTEACHERS.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66740"
} | starcoder | namespace TeachersAssessment
{
partial class FormADDCLASSTEACHERS
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summar... | 1.987748 | ff47a9933370f49a77d71a7d120c5864 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66740 | {
"extension": "c-sharp",
"max_stars_count": "58.0",
"max_stars_repo_name": "ecole/testcentric-gui",
"max_stars_repo_path": "src/TestModel/model/Services/RecentFiles.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66741"
} | starcoder | // ***********************************************************************
// Copyright (c) <NAME> and TestCentric GUI contributors.
// Licensed under the MIT License. See LICENSE file in root directory.
// ***********************************************************************
using System;
using System.Collections.G... | 2.409012 | ced986994d554e15f1a14217f28b4a62 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66741 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andrei-epure-sonarsource/gdnug-2019-10-29",
"max_stars_repo_path": "GenevaDotNetUserGroup/NetFramework/SwitchExpressions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66742"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace NetFramework
{
using System;
public enum MyEnum
{
NONE,
A,
B
}
public class SwitchExpressions
{
public string FromEnum(MyEnum myEnum)
{
switch (myEnum)
... | 3.318258 | 2ac974f5f3254164a094565c5c32b70b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66742 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DraigonEx/c--unity-learning",
"max_stars_repo_path": "HexPlay/Assets/Scripts/model/GameBoard/impl/locations/Paddock.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66743"
} | starcoder | <filename>HexPlay/Assets/Scripts/model/GameBoard/impl/locations/Paddock.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using thelab.mvc;
class Paddock : ILocation
{
private static readonly string locationName = "Paddock";
private static readonly string locationDescription = ... | 2.366065 | aed6bd7ba7b01841c4a32bd30ef6a423 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66743 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IndrekV/toggldesktop",
"max_stars_repo_path": "src/ui/windows/TogglDesktop/TogglDesktop/ui/controls/TimeEntryCellDayHeader.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66744"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Windows;
using System.Windows.Media;
namespace TogglDesktop
{
public partial class TimeEntryCellDayHeader
{
private bool isSelected;
private DateTime date;
public string dateHeader;
pub... | 2.467843 | 5f2fe7d4e9171ed10c88d223bb7b4356 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66744 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "duytech/FootballData.NET",
"max_stars_repo_path": "Duy.FootballData/Models/Teams.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66745"
} | starcoder | using System.Collections.Generic;
namespace Duy.FootballData.Models
{
public class Teams
{
public int count { get; set; }
public IList<Team> teams { get; set; }
}
}
| 1.768172 | bf59a69f0a0938589b2be8e7f7b9b36b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66745 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jack135790/Library-management-System",
"max_stars_repo_path": "LMS/LMS/LibrLogin.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66746"
} | starcoder | <gh_stars>0
namespace LMS
{
partial class LibrLogin
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
///... | 1.755619 | d028b1b78dcbbf45ca3bd24f1421fe84 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66746 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "DucThanhNguyen/MaterialCMS",
"max_stars_repo_path": "MaterialCMS/Website/Controllers/MaterialCMSUIController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66747"
} | starcoder | <reponame>DucThanhNguyen/MaterialCMS
using MaterialCMS.Helpers;
namespace MaterialCMS.Website.Controllers
{
[HandleWebpageViews]
public abstract class MaterialCMSUIController : MaterialCMSController
{
public void SetPageTitle(string pageTitle)
{
ViewData[MaterialCMSPageExtensio... | 1.700208 | 24fd35deae9cfaf150e210b308a94474 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66747 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kimhyesuu/Cscharp-wpf-Office-Automation-Complete",
"max_stars_repo_path": "OfficeAutomation.Sample/OfficeAutomation.Sample.Syntax/Exe01_Ref/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66748"
} | starcoder | <reponame>kimhyesuu/Cscharp-wpf-Office-Automation-Complete
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exe01_Ref
{
class Program
{
static string field;
static void Main()
{
field = "initial value";
Console.WriteLine($"Bef... | 3.293068 | a7a8166741ac6245768e9d612e264092 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66748 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JMcB17/SilverBot",
"max_stars_repo_path": "SilverBotDS/Migrations/20210512082831_AddUserXP.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66749"
} | starcoder | <filename>SilverBotDS/Migrations/20210512082831_AddUserXP.cs
using Microsoft.EntityFrameworkCore.Migrations;
namespace SilverBotDS.Migrations
{
public partial class AddUserXP : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(... | 2.347072 | 9fe00a3dba195314a11003f6409c0b6d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66749 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "addixon/ErgCompetePM",
"max_stars_repo_path": "LibUsbDotNet/LibUsbDotNet/Main/UsbStream.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66750"
} | starcoder | <gh_stars>1-10
// Copyright © 2006-2009 <NAME>. All rights reserved.
//
// website: http://sourceforge.net/projects/libusbdotnet
// e-mail: <EMAIL>
//
// This program is free software; you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by the
// Free Software Fo... | 2.541711 | 826986f787bdc8e30cbed600cbc724ba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66750 | {
"extension": "c-sharp",
"max_stars_count": "439.0",
"max_stars_repo_name": "gnusmas12/MyTested.AspNet.TV",
"max_stars_repo_path": "src/Huge Code Base/Open Judge System/Web/OJS.Web/Areas/Administration/Views/Lecturers/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:66751"
} | starcoder | @using OJS.Web.Areas.Administration.ViewModels.Lecturers
@{
ViewBag.Title = "Лектори в състезания и категории";
const string ControllerName = "Lecturers";
const string AreaName = "Administration";
}
<h1>@ViewBag.Title</h1>
@(Html.Kendo().Grid<LecturerGridViewModel>()
.Name("DataGrid")
.Columns(... | 2.037529 | a1e7d3db90c9927e6f0c80b764deae81 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66751 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "TimeWarpEngineering/MyVault-web",
"max_stars_repo_path": "Source/Client/Components/Iconic/IconicMenu.razor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66752"
} | starcoder | namespace Client.Components.Iconic
{
public class IconicMenuModel : IconicBase { }
}
| 1.076685 | 4ddd7f9d2c80a75adbc9e15c3bf0275e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66752 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkillsFundingAgency/dfc-personalisation-mystc-app",
"max_stars_repo_path": "DFC.App.MatchSkills/ViewComponents/SearchOccupationResults/Default.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:66753"
} | starcoder | @model DFC.App.MatchSkills.ViewModels.SearchOccupationResultsViewModel
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@addTagHelper *, DFC.Personalisation.CommonUI
@foreach (var occupation in Model.Occupations)
{
<govukRadioButton Id=@occupation.Id value="yes">
<govukRadioLabel AdditionalClass="ra... | 2.056355 | a0b6aaa17dc73a3904566bc615787544 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66753 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "dolkensp/HoloXPLOR",
"max_stars_repo_path": "HoloXPLOR.Data/DataForge/AutoGen/CommunicationConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66754"
} | starcoder | <reponame>dolkensp/HoloXPLOR
using System;
using System.Xml.Serialization;
namespace HoloXPLOR.Data.DataForge
{
[XmlRoot(ElementName = "CommunicationConfig")]
public partial class CommunicationConfig
{
[XmlAttribute(AttributeName = "name")]
public String Name { get; set; }
[XmlArra... | 1.531236 | feacb2a94d435c30026ebb0cff6efc88 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66754 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "melanciadev/Taminha",
"max_stars_repo_path": "Assets/_Scripts/GameController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66755"
} | starcoder | <filename>Assets/_Scripts/GameController.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
namespace Melancia.Taminha {
public class GameController:MonoBehaviour {
public static float deformScore = .85f;
public static int goodChars = 0;
public ... | 2.175194 | 7667c952b01d64e46adc1dab70564a1c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66755 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "Tuscann/Programming-Fundamentals-1",
"max_stars_repo_path": "02.Extented Fundamentals/24.LAMBDA AND LINQ/02.00 Largest 3 Numbers/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66756"
} | starcoder | <filename>02.Extented Fundamentals/24.LAMBDA AND LINQ/02.00 Largest 3 Numbers/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
class Program
{
static void Main() // 100/100
{
IEnumerable<int> nums = Console.ReadLine().Split()
.Select(int.Parse)
.Orde... | 3.482175 | 62eccd00f24f26792c27dadbf3666958 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66756 | {
"extension": "c-sharp",
"max_stars_count": "124.0",
"max_stars_repo_name": "Steph55/DirectN",
"max_stars_repo_path": "DirectN/DirectN/Generated/WMPStringCollectionChangeEventType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66757"
} | starcoder | <reponame>Steph55/DirectN<filename>DirectN/DirectN/Generated/WMPStringCollectionChangeEventType.cs
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\wmp.h(10357,1)
namespace DirectN
{
public enum WMPStringCollectionChangeEventType
{
wmpsccetUnknown = 0,
wmpsccetInsert = 1,... | 1.574908 | 6a448499efda3517c8827322de1a9d90 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66757 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CZHSoft/CoreDemo",
"max_stars_repo_path": "identityserver4/WpfClient/WpfClient/Splash.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66758"
} | starcoder | <reponame>CZHSoft/CoreDemo<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.W... | 1.717578 | c62eeb5d8de0324bcf7bfd6e544f514c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66758 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "chrisriesgo/monodroid-samples",
"max_stars_repo_path": "RemoteNotifications/ClientApp/RegistrationIntentService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66759"
} | starcoder | using System;
using Android.App;
using Android.Content;
using Android.Util;
using Android.Gms.Gcm;
using Android.Gms.Gcm.Iid;
namespace ClientApp
{
// This intent service receives the registration token from GCM:
[Service (Exported = false)]
class RegistrationIntentService : IntentService
{
// ... | 2.365377 | d934cf222dd7b113e1305f5b36a544d4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66759 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "stcmz/pdbget",
"max_stars_repo_path": "pdbget/Helpers/Logger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66760"
} | starcoder | using System;
namespace pdbget.Helpers
{
internal static class Logger
{
private static readonly object lockObj = new object();
public static void Info(string message)
{
lock (lockObj)
{
Console.WriteLine(message);
}
}
... | 2.918594 | 7e8b6621c03fd05dd19b9b1632c7b54f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66760 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "djserega/LogBookReaderWPF",
"max_stars_repo_path": "src/LogBookReader/IModels/IEventCodes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66761"
} | starcoder | namespace LogBookReader.IModels
{
public interface IEventCodes
{
int Code { get; set; }
string Name { get; set; }
}
} | 1.764501 | b0353c52e7172d93e868856872be53aa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66761 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "csharpfritz/Fritz.ConfigurationBuilders",
"max_stars_repo_path": "Test/Yaml/WhenSectionConfigured.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66762"
} | starcoder | <gh_stars>1-10
using Fritz.ConfigurationBuilders;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Test.Yaml
{
[TestFixture]
public class WhenSection... | 2.499611 | 553ac9efc2948e7fc7f9ea5326673897 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66762 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RocketMaDev/osu",
"max_stars_repo_path": "osu.Game/Graphics/UserInterface/OsuTabDropdown.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66763"
} | starcoder | <gh_stars>0
// Copyright (c) p<NAME> <<EMAIL>>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osuTK;
using osuTK.Graphics;
using osu.Framework.Extensions.Color4Extensions;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu... | 1.886847 | d8b8a1a2e973c9cdc1d0ecb7cf4e5ebb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66763 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hongelv/WebApiClient",
"max_stars_repo_path": "WebApiClientCore.Test/JsonStringTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66764"
} | starcoder | using System.Text.Json;
using WebApiClientCore.JsonConverters;
using Xunit;
namespace WebApiClientCore.Test
{
public class JsonStringTest
{
[Fact]
public void JsonStringReadWriteTest()
{
var options = HttpApiOptions.CreateDefaultJsonOptions();
options.Converter... | 2.861109 | 1f3e620c9b8afdcb5a2d17ae51909c8c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66764 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "magaum/elasticsearch-net",
"max_stars_repo_path": "tests/Examples/Indices/GetFieldMappingPage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66765"
} | starcoder | // Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information
using Elastic.Xunit.XunitPlumbing;
using Nest;
using System.ComponentModel;
namespace Examples.Indices
{
public ... | 1.748401 | 431bd6bd425dca12afa5c6e0a04fb712 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66765 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "citizenmatt/gallio",
"max_stars_repo_path": "src/Gallio/Gallio/Framework/Pattern/NamespaceDoc.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66766"
} | starcoder | // Copyright 2005-2010 Gallio Project - http://www.gallio.org/
// Portions Copyright 2000-2004 <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/lic... | 1.867054 | 745db9e6e18e7c188c65530f6b23f23b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66766 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "belav/efcore",
"max_stars_repo_path": "test/EFCore.Specification.Tests/TestUtilities/Xunit/ConditionalTheoryDiscoverer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66767"
} | starcoder | <gh_stars>0
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using Xunit;
using Xunit.Abstractions;
using Xunit.Sdk;
namespace Microsoft.EntityFrameworkCore.TestUtilit... | 1.710293 | f99db2e338381558ff93f48c890aca8e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66767 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Guilherme-Schmidt/Programas-C-Sharp",
"max_stars_repo_path": "Saida de daos/Saida de daos/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66768"
} | starcoder | <gh_stars>0
using System;
using System.Globalization;
namespace Saida_de_daos {
class Program {
static void Main(string[] args) {
CultureInfo CI = CultureInfo.InvariantCulture;
int idade;
double salario;
string nome;
char sexo;
i... | 2.729308 | d973a71353e98ad82880b9a8439ce595 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66768 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "ahotko/c-sharp-code-examples",
"max_stars_repo_path": "CSharp Code Samples/CodeSamples/ConditionalDefines/ConditionalDefinesSample.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66769"
} | starcoder | using System;
namespace CodeSamples.ConditionalDefines
{
public class ConditionalDefinesSample : SampleExecute
{
public override void Execute()
{
Title("ConditionalDefinesSampleExecute");
//for these comments see "Task List" Tab below
//TODO Todo comment f... | 2.689958 | f2dfd683228cd67eb619903127bbce81 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66769 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jtschuster/linker",
"max_stars_repo_path": "src/ILLink.Shared/TrimAnalysis/FlowAnnotations.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66770"
} | starcoder | <filename>src/ILLink.Shared/TrimAnalysis/FlowAnnotations.cs
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Diagnostics.CodeAnalysis;
using ILLink.Shared.TypeSystemProxy;
// This ... | 1.688319 | dea7806c822e9abfcb57f5a60508bfb1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66770 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chen0123bin/MyToolsProject",
"max_stars_repo_path": "ToolsProject/Assets/Packages/LWFrameworkStepGraph/RunTime/NodesStep/SearchNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66771"
} | starcoder | <gh_stars>0
using LWNode;
using LWNode.LWStepGraph;
using Sirenix.OdinInspector;
using Sirenix.Serialization;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[NodeWidth(300)]
public class SearchNode : Node
{
private StepGraphManager m_StepGraph;
// Use this for init... | 2.058462 | b0a5079608da41f3f051d06ebb200f4c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66771 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "HL7China/fhir",
"max_stars_repo_path": "implementations/csharp/Hl7.Fhir.Model.Tests/TagTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66772"
} | starcoder | <filename>implementations/csharp/Hl7.Fhir.Model.Tests/TagTests.cs
/*
* Copyright (c) 2014, Furore (<EMAIL>) and contributors
* See the file CONTRIBUTORS for details.
*
* This file is licensed under the BSD 3-Clause license
* available at https://raw.githubusercontent.com/ewoutkramer/fhir-net-api/master/LIC... | 2.447773 | 067fe53065ece691d82fc1f9dde56d56 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66772 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "JorgeCandeias/Trader",
"max_stars_repo_path": "Trader.Dashboard/TraderDashboardServiceCollectionExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66773"
} | starcoder | <filename>Trader.Dashboard/TraderDashboardServiceCollectionExtensions.cs<gh_stars>10-100
using Outcompute.Trader.Dashboard;
using System;
namespace Microsoft.Extensions.DependencyInjection
{
public static class TraderDashboardServiceCollectionExtensions
{
public static IServiceCollection AddTraderDash... | 1.789513 | d509ac738ec9e923bce794fb2f4ad2e1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66773 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WolfeReiter/wolfereiter-dualstack-auth",
"max_stars_repo_path": "src/WolfeReiter.Identity.Data/Migrations/SqlServerMigrations/20201020141807_UndoSnakeCasing.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66774"
} | starcoder | using Microsoft.EntityFrameworkCore.Migrations;
namespace WolfeReiter.Identity.Data.Migrations.SqlServerMigrations
{
public partial class UndoSnakeCasing : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
n... | 1.638947 | 0be2d4e30fd642d94b6d8deac12bdd25 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66774 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yuansicloud/WeChatManagement",
"max_stars_repo_path": "modules/MiniPrograms/src/EasyAbp.WeChatManagement.MiniPrograms.Web/Pages/WeChatManagement/MiniPrograms/MiniPrograms/MiniProgram/CreateModal.cshtml.cs",
"provenance": "train-00000-... | starcoder | using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using EasyAbp.WeChatManagement.MiniPrograms.MiniPrograms;
using EasyAbp.WeChatManagement.MiniPrograms.MiniPrograms.Dtos;
using EasyAbp.WeChatManagement.MiniPrograms.Web.Pages.WeChatManagement.MiniPrograms.MiniPrograms.MiniProgram.ViewModels;
namespace EasyA... | 1.79666 | 447b1d7affaf75f662f955c440e39545 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66775 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "chaeschpi/cloudstack.net",
"max_stars_repo_path": "src/CloudStack.Net/Generated/RestoreVirtualMachine.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66776"
} | starcoder | <reponame>chaeschpi/cloudstack.net<filename>src/CloudStack.Net/Generated/RestoreVirtualMachine.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace CloudStack.Net
{
public class RestoreVirtualMachineReq... | 2.223581 | 2a1c28c1797f861ef2cb30024d16e354 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66776 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "slavam2605/fsharp-support",
"max_stars_repo_path": "ReSharper.FSharp/src/FSharp.Psi/src/Impl/Tree/LongIdentifier.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66777"
} | starcoder | <reponame>slavam2605/fsharp-support
using JetBrains.ReSharper.Plugins.FSharp.Psi.Util;
using JetBrains.ReSharper.Psi.ExtensionsAPI;
using JetBrains.ReSharper.Psi.Tree;
using JetBrains.Util;
namespace JetBrains.ReSharper.Plugins.FSharp.Psi.Impl.Tree
{
internal partial class LongIdentifier
{
public TreeNodeColl... | 1.810066 | 63768d71a01d2ed1614902085ee45c55 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66777 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "filipw/ServiceStack",
"max_stars_repo_path": "src/ServiceStack.Interfaces/ServiceInterface.ServiceModel/ResponseStatus.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66778"
} | starcoder | <reponame>filipw/ServiceStack
/*
// $Id: ResponseStatus.cs 11037 2010-02-03 12:36:14Z <NAME> $
//
// Revision : $Revision: 11037 $
// Modified Date : $LastChangedDate: 2010-02-03 12:36:14 +0000 (Wed, 03 Feb 2010) $
// Modified By : $LastChangedBy: <NAME> $
//
// (c) Copyright 2010 Liquidbit Ltd
*/
using System... | 2.212096 | ab5cbf4e9c30fb07fb242d662ce84e28 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66778 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "migouche/Sanicball-Custom",
"max_stars_repo_path": "Assets/Scripts/BallStats.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66779"
} | starcoder | namespace Sanicball
{
[System.Serializable]
public class BallStats
{
public float rollSpeed = 100;
public float airSpeed = 15;
public float jumpHeight = 14;
public float grip = 0;
public bool multipleJump = false;
public int extraJumps = 0;
public bool slowFall = false... | 2.076749 | 8369e74e6c1b33fe048dfe66b9319c80 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66779 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ShortDevelopment/WinUI.Interop",
"max_stars_repo_path": "WinUI.Interop/CoreWindow/MayBeCorrupt/EfsWRTInterop.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66780"
} | starcoder | using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
using Windows.Foundation;
using Windows.Security.EnterpriseData;
namespace WinUI.Interop.CoreWindow
{
//MIDL_INTERFACE("4652651d-c1fe-4ba1-9F0a-c0f56596f721")
//IProtectionPolicyManagerInterop : public IIn... | 1.386308 | 5220f0847e8c964a02976cfb151cd2c7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66780 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zjelev/SoftUni",
"max_stars_repo_path": "C# OOP/04Polymorphism/Exercises/Raiding/Core/Engine.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66781"
} | starcoder | using System;
namespace Raiding.Core
{
using Raiding.Model;
using Raiding.Factories;
using System.Collections.Generic;
public class Engine : IEngine
{
public void Run()
{
IHeroFactory heroFactory = new HeroFactory();
IHero hero = null;
... | 3.322809 | 18f7f331fe9fc6a1c427c09fe97a31a3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66781 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "XenMoros/ProjectAlpaca",
"max_stars_repo_path": "Assets/Scripts/Enemigos/GuardChangeWaypoint.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66782"
} | starcoder | <reponame>XenMoros/ProjectAlpaca
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GuardChangeWaypoint : MonoBehaviour
{
public WaypointManager defaultWaypointManager, zoneWaypointManager;
private void OnTriggerEnter(Collider other)
{
if... | 1.611633 | c70925c27a1c822cd6732d94d8ee8405 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66782 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nicknow/BloggingCrm-Dynamics-Crm-Plugin-Unit-Testing-Example",
"max_stars_repo_path": "BloggingCrm.Account.BusinessLogic/Interfaces/IAccountQueries.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66783"
} | starcoder | using System.Collections.Generic;
using Microsoft.Xrm.Sdk;
namespace BloggingCrm.Account.BusinessLogic.Interfaces
{
public interface IAccountQueries
{
List<BloggingCrm.CrmObject.Account> GetAllAccounts();
List<CrmObject.Account> GetChildAccountsForAnAccount(EntityReference parentAccount);
... | 1.599139 | 4bc41f123a8418a736a0507c8df1199f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66783 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "LANDIS-II-Foundation/Model",
"max_stars_repo_path": "model/core/src/Implementation/AssemblyInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66784"
} | starcoder | using System.Reflection;
[assembly: AssemblyTitle("LANDIS-II Core (Implementation)")]
| 0.847336 | 0b4ac678f8dbc0d6ba5b7c74ffe28576 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66784 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JerYme/SystemExt",
"max_stars_repo_path": "src/SystemExt.Net.WebSockets/SystemExt.Net.WebSockets.Client.Managed.net35/NETShims/System.StringExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66785"
} | starcoder | <reponame>JerYme/SystemExt<filename>src/SystemExt.Net.WebSockets/SystemExt.Net.WebSockets.Client.Managed.net35/NETShims/System.StringExtensions.cs
// 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 pr... | 2.805767 | 58e141e882487dd49044efc74c0a5210 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66785 | {
"extension": "c-sharp",
"max_stars_count": "358.0",
"max_stars_repo_name": "rgomez90/DynamicData",
"max_stars_repo_path": "src/DynamicData.Tests/Cache/FilterControllerFixture.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66786"
} | starcoder | using System;
using System.Linq;
using System.Reactive;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using DynamicData.Tests.Domain;
using FluentAssertions;
using Xunit;
namespace DynamicData.Tests.Cache
{
public class FilterControllerFixture : IDisposable
{
private readonly ISubject<... | 2.749098 | fd238f9a3c916dbadf0ebfa8683b8bc5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66786 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OndrejNepozitek/2048",
"max_stars_repo_path": "The2048/Benchmarks/BenchmarkResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66787"
} | starcoder | <reponame>OndrejNepozitek/2048<gh_stars>0
namespace The2048.Benchmarks
{
using BenchmarkUtils.Attributes;
using BenchmarkUtils.Enums;
public class BenchmarkResult
{
[Order(1)]
[Length(25)]
[Name("Name")]
public string Name { get; set; }
[Order(2)]
[Length(13)]
[Name("Score max")]
public uint Scor... | 2.237889 | ba264fea6506aad0c710617db4f1cdae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66787 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Ftmco/Identity",
"max_stars_repo_path": "Identity/Data Base/Identity.DataBase.ViewModel/Account/Signup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66788"
} | starcoder | <filename>Identity/Data Base/Identity.DataBase.ViewModel/Account/Signup.cs
namespace Identity.DataBase.ViewModel.Account;
public record SignUp(string FullName, string MobileNo, string Password);
public enum SignUpStatus
{
Success = 0,
UserExist = 1,
Exception = 2
} | 1.978886 | 2ee653705160715de111ca11ecd9195b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66788 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alexinea/Cosmos.Walkers",
"max_stars_repo_path": "src/Cosmos.Walkers/Workflow/Nodes/Node.2.3.While.ConditionNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66789"
} | starcoder | using System.Threading.Tasks;
using Cosmos.Walkers.Workflow.FlowInterfaces;
namespace Cosmos.Walkers.Workflow.Nodes {
public class WhileNode : ConditionNode, IWhileFlow<Node> {
protected WhileNode(string id, string key, string name) : base(id, key, name) { }
public override Task Next(WorkflowConte... | 2.233186 | a3999428a3dbe1c1655e1847fdd5a543 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66789 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "tocsoft/SvgSharp",
"max_stars_repo_path": "src/SvgSharp/External/ExCSS/Model/TextBlocks/DelimiterBlock.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66790"
} | starcoder |
using System.Globalization;
namespace ExCSS.Model.TextBlocks
{
internal class DelimiterBlock : CharacterBlock
{
internal DelimiterBlock()
{
GrammarSegment = GrammarSegment.Delimiter;
}
internal DelimiterBlock(char value) : base(value)
{
Grammar... | 2.671254 | 8f6af41466a7cf691de0f02e3fd7da3f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66790 | {
"extension": "c-sharp",
"max_stars_count": "469.0",
"max_stars_repo_name": "abock/runtime",
"max_stars_repo_path": "src/mono/mono/benchmark/isinst.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66791"
} | starcoder | using System;
public class Test {
public static int Main (string[] args) {
int repeat = 1;
if (args.Length == 1)
repeat = Convert.ToInt32 (args [0]);
Console.WriteLine ("Repeat = " + repeat);
object a = new Test ();
for (int i = 0; i < (repeat * 5000); i++)
for (int j = 0; j < 100000; j++)
... | 2.791737 | f75ab4c033006908d1ffec0d1c8012c3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66791 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MarkDaviesEsendex/BattleNetClient",
"max_stars_repo_path": "src/BattleNetClient.Tests/ClientFactoryTests/CreateClientTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66792"
} | starcoder | using System.Threading.Tasks;
using BattleNetClient.Testing;
using Xunit;
namespace BattleNetClient.Tests.ClientFactoryTests
{
public class CreateClientTests
{
private readonly BattleNetClientFactory _factory;
public CreateClientTests()
{
var server = new BattleNetServerBu... | 2.530132 | 96cffc6cf7c06cab139c6ee1ac35b1b6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66792 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "slarkerino/Abp.TencentCloud",
"max_stars_repo_path": "src/EasyAbp.Abp.TencentCloud.CloudMonitor/BaseMonitor/GetMonitorDataResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66793"
} | starcoder | <reponame>slarkerino/Abp.TencentCloud<filename>src/EasyAbp.Abp.TencentCloud.CloudMonitor/BaseMonitor/GetMonitorDataResponse.cs
using System.Collections.Generic;
using EasyAbp.Abp.TencentCloud.Common.Models;
namespace EasyAbp.Abp.TencentCloud.CloudMonitor.BaseMonitor
{
public class GetMonitorDataResponse : CommonR... | 1.927695 | a10e758f492c0911d75f96eedd0cdce0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66793 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Skateboards/Kaffe",
"max_stars_repo_path": "KSV5/KSV5/Services/ConsumerService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66794"
} | starcoder | <filename>KSV5/KSV5/Services/ConsumerService.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace KSV5.Services
{
public class ConsumerService
{
}
} | 1.306955 | 1e8ea412130829e24e3f2c108a39af0e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66794 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mzqs5/citest",
"max_stars_repo_path": "aspnet-core/src/IF.Core/Porsche/Store/StoreAggregate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66795"
} | starcoder | using Abp.Domain.Entities;
using IF.Common;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace IF.Porsche
{
[Table("Store")]
public class StoreAggregate : AggregateRootBase<int>
{
/// <summary>
/// 经销商名称
... | 2.223009 | b16a59da01668e5f19ddd480157454bd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66795 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AxeDotNet/Axe.Cli",
"max_stars_repo_path": "src/Axe.Cli.Parser/GlobalSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66796"
} | starcoder | using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Axe.Cli.Parser.Test")] | 0.688419 | b18d22983f03484d0bab97e9766c7324 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66796 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Lantern-Cloud-Services/MTC_WhackAMole.NET",
"max_stars_repo_path": "WhackAMole.UWPClient/Services/BaseMovementEngine.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66797"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Foundation;
namespace WhackAMole.UWPClient.Services
{
class BaseMovementEngine : IMovementEngine
{
private const double ALIGNMENT_BUFFER = 50;
... | 2.981925 | 2d83ab76978223268f6408ec8ce67c9e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66797 | {
"extension": "c-sharp",
"max_stars_count": "113.0",
"max_stars_repo_name": "aardvark-platform/aardvark.base",
"max_stars_repo_path": "src/Tests/Aardvark.Base.Benchmarks/ConstantsBenchmark.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66798"
} | starcoder | <filename>src/Tests/Aardvark.Base.Benchmarks/ConstantsBenchmark.cs
using BenchmarkDotNet.Attributes;
using System;
using System.Collections.Generic;
using System.Text;
namespace Aardvark.Base.Benchmarks
{
//| Method | Mean | Error | StdDev | Code Size |
//|---------------------- |-------... | 2.587055 | 1554faa3229a9b8cd42259e3bd86ebb6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66798 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "FlorianRappl/YAMP",
"max_stars_repo_path": "YAMP.Core/Exceptions/YAMPNonNumericException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66799"
} | starcoder | namespace YAMP.Exceptions
{
using System;
/// <summary>
/// The non-numeric exception.
/// </summary>
public class YAMPNonNumericException : YAMPRuntimeException
{
internal YAMPNonNumericException()
: base("A matrix can only contain numeric values.")
{
}
... | 2.266184 | 891fbd30876a9107cbe8d6787b032dda |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66799 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hasandogn/Design-Patterns",
"max_stars_repo_path": "1-2-FactoryMethod/Solution3/DirectorFactory3.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66800"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _1_2_FactoryMethod.Solution3
{
public interface DirectorFactory3
{
public Director3 Create(string name, string workingDepartment, int bonus);
}
}
| 2.120711 | f262ad876cedf08d2a1b4cf1cb0f2c9c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66800 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "NET1211/aspnet-archive-tools",
"max_stars_repo_path": "src/graphql-aspnet/Security/GraphFieldSecurityRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66801"
} | starcoder | // *************************************************************
// project: graphql-aspnet
// --
// repo: https://github.com/graphql-aspnet
// docs: https://graphql-aspnet.github.io
// --
// License: MIT
// *************************************************************
namespace GraphQL.AspNet.Security
{
using ... | 1.983495 | 93244501973f46a06a5cb91a3bd97684 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66801 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "riQQ/DirectN",
"max_stars_repo_path": "DirectN/DirectN/Generated/_DXGKMDT_OPM_OUTPUT_ID.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66802"
} | starcoder | // c:\program files (x86)\windows kits\10\include\10.0.18362.0\shared\d3dkmdt.h(1761,9)
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public partial struct _DXGKMDT_OPM_OUTPUT_ID
{
public _DXGKMDT_OPM_RANDOM_NUMBER rnRandomN... | 1.361172 | 3cd3b505716ce4c51f2119355b273d33 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66802 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RendaniTshinakaho/PseudoCQRS",
"max_stars_repo_path": "PseudoCQRS.Tests/Controllers/Helpers/DummyCommandController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66803"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PseudoCQRS.Controllers;
namespace PseudoCQRS.Tests.Controllers.Helpers
{
public class DummyCommandController : BaseCommandController<DummyCommandViewModel, DummyCommandCommand>
{
}
}
| 1.322884 | 906d37cd0d8bdbc5749ee5616226075f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66803 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "bricelam/EFCore.TextTemplating",
"max_stars_repo_path": "EFCore.TextTemplating/MyCodeGeneratorBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66804"
} | starcoder | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
namespace EFCore.TextTemplating
{
/// <summary>
/// Base class for transformations. The default one generated by T4 isn't compatible with .NET Standard.
/// </summary>
abstract class MyCodeGeneratorBase
... | 3.02135 | 7b735c79b86737c0a13ab47446e9a217 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66804 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Screaming-Onion/CSharp-API-Project",
"max_stars_repo_path": "src/App/App.Entities.Security/AbstractAudience.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66805"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
namespace App.Entities.Security
{
public abstract class AbstractAudience<T> : IEnumerable<T>
{
public Func<IEnumerable<Client>> Audiences { get; set; }
public abstract IEnumerator<T> GetEnumerator();
IEnumerato... | 2.155525 | 150a391b089dab45743e421046698d0c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66805 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "DanielLarsenNZ/examples",
"max_stars_repo_path": "azure-redis/RedisCheck/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66806"
} | starcoder | using Microsoft.Extensions.Configuration;
using StackExchange.Redis;
using System;
using System.Collections.Generic;
using System.IO;
namespace RedisCheck
{
class Program
{
private static readonly Lazy<ConnectionMultiplexer> lazyConnection = new Lazy<ConnectionMultiplexer>(InitMultiplexer);
pr... | 2.955994 | ed135ef510a1f47c6c6fd2ed478c52cf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66806 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SinsofSloth/RF5-global-metadata",
"max_stars_repo_path": "_no_namespace/ShortcutExtensions.----c__DisplayClass46_0.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66807"
} | starcoder | [CompilerGeneratedAttribute] // RVA: 0x137900 Offset: 0x137A01 VA: 0x137900
private sealed class ShortcutExtensions.<>c__DisplayClass46_0 // TypeDefIndex: 4981
{
// Fields
public Transform target; // 0x10
// Methods
// RVA: 0x19F5FC0 Offset: 0x19F60C1 VA: 0x19F5FC0
public void .ctor() { }
// RVA: 0x19FB7F0 Off... | 1.483406 | 1610b78100900bab985337eadd5c4bed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66807 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "emiswelt/sGrid",
"max_stars_repo_path": "sGridServer/Controllers/PartnershipController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66808"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using sGridServer.Code.DataAccessLayer.Models;
using System.IO;
using sGridServer.Code.Security;
using sGridServer.Code.Utilities;
using sGridServer.Properties;
using System.Drawing;
namespace sGridS... | 2.300016 | b0699345c1c89b840ce6f42fa188ed20 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66808 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "RxTelegram/RxTelegram.Bot",
"max_stars_repo_path": "src/RxTelegram.Bot/Interface/BaseTypes/VoiceChatScheduled.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66809"
} | starcoder | <filename>src/RxTelegram.Bot/Interface/BaseTypes/VoiceChatScheduled.cs
namespace RxTelegram.Bot.Interface.BaseTypes
{
public class VoiceChatScheduled
{
/// <summary>
/// Point in time (Unix timestamp) when the voice chat is supposed to be started by a chat administrator
/// </summary>
... | 1.908311 | a3988779f0c9881a370cadd791e9f1a1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66809 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HabibAroua/gestion-d-un-magasin",
"max_stars_repo_path": "Magasin/Magasin/Authentification.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66810"
} | starcoder | <reponame>HabibAroua/gestion-d-un-magasin
using System;
using System.Windows.Forms;
using Magasin.Sql_Server;
namespace Magasin
{
public partial class Authentification : Form
{
public Authentification()
{
InitializeComponent();
MaximizeBox = false;
}
pr... | 2.445355 | f33c3e98b4f75301d85cd14c4a686bcb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66810 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vsvirydau-cl/TypeGen",
"max_stars_repo_path": "src/TypeGen/TypeGen.Core.Test/Business/TypeServiceTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66811"
} | starcoder | <filename>src/TypeGen/TypeGen.Core.Test/Business/TypeServiceTest.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Reflection;
using NSubstitute;
using TypeGen.Core.Converters;
using TypeGen.Core.Generator;
using TypeGen.C... | 2.262463 | 2456165fd04b91b50f96deead867dc7b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66811 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "myusuf011/NGXSIS",
"max_stars_repo_path": "ngxsis.DataModel/x_biodata.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66812"
} | starcoder | namespace ngxsis.DataModel
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
public partial class x_biodata
{
[System.Diagnostics.CodeAnalysis.SuppressM... | 1.542324 | 233faa8094fb385bad4fd5a880ba0b87 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66812 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "stankovski/azure-sdk-tools",
"max_stars_repo_path": "src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/Utility.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66813"
} | starcoder | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://ww... | 2.20397 | 158cc8202a9753f97516b8591a39917b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66813 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "pcharlesmoran/roslyn",
"max_stars_repo_path": "src/VisualStudio/Core/Def/Implementation/PullMemberUp/MainDialog/SelectAllCheckBox.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66814"
} | starcoder | <reponame>pcharlesmoran/roslyn
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Windows.Controls;
namespace Microsoft.VisualStudio.LanguageServices.Implementation.PullMemberUp.MainDialog
{
... | 2.072919 | 6c52d493193e951e3548dccea9074f81 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66814 | {
"extension": "c-sharp",
"max_stars_count": "282.0",
"max_stars_repo_name": "jxnkwlp/CIIP",
"max_stars_repo_path": "CIIP.Designer.Module.Win/ModelEditor/ModelEditorControlEx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66815"
} | starcoder | using DevExpress.ExpressApp.Model;
using DevExpress.ExpressApp.Model.Core;
using DevExpress.ExpressApp.Utils;
using DevExpress.ExpressApp.Win.Core.ModelEditor;
using DevExpress.ExpressApp.Win.Core.ModelEditor.NodesTree;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
namespace CIIP.Wi... | 1.923759 | bbbbe8496596e07f3ac9a3cdb550fab2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66815 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "yodasoda1219/sge",
"max_stars_repo_path": "scriptcore/Texture.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66816"
} | starcoder | /*
Copyright 2022 <NAME> and SGE contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or ... | 2.25052 | b2d0a07755e1a4125a9da066a0548943 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66816 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "davidbritch/dotnet-maui-samples",
"max_stars_repo_path": "XAML/XamlSamples/XamlSamples/Views/AbsoluteDemoPage.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66817"
} | starcoder | namespace XamlSamples
{
public partial class AbsoluteDemoPage : ContentPage
{
public AbsoluteDemoPage()
{
InitializeComponent();
}
}
} | 1.165084 | 2ed2359d62a0b0a86640288de2198d74 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66817 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Razymex/bot",
"max_stars_repo_path": "src/Core/Models/Guild/GuildExtras.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66818"
} | starcoder | <filename>src/Core/Models/Guild/GuildExtras.cs
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace Volte.Core.Models.Guild
{
public sealed class GuildExtras
{
internal GuildExtras()
{
SelfRoles = new List<string>();
Tags = new List<Tag>();
... | 2.130264 | 6e4c1d806cf89c13c269e86f8a1efdbb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66818 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "novelhawk/AoTTG-Mod",
"max_stars_repo_path": "UIStorageSlot.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66819"
} | starcoder | <reponame>novelhawk/AoTTG-Mod<filename>UIStorageSlot.cs
using System;
using UnityEngine;
[AddComponentMenu("NGUI/Examples/UI Storage Slot")]
public class UIStorageSlot : UIItemSlot
{
public int slot;
public UIItemStorage storage;
protected override InvGameItem Replace(InvGameItem item)
{
retur... | 1.940765 | 71e54bbf1c17e96036becca001d75b5c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66819 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "martinussuherman/PsefApiFile",
"max_stars_repo_path": "Startup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66820"
} | starcoder | using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.OpenA... | 2.115615 | 05bd9993937ae12e6ae2d2a6910a30f6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66820 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dstarr/Commercial-Marketplace-SaaS-Manual-On-Boarding",
"max_stars_repo_path": "src/CommandCenter/Controllers/MailLinkController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66821"
} | starcoder | <reponame>dstarr/Commercial-Marketplace-SaaS-Manual-On-Boarding
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace CommandCenter.Controllers
{
using System;
using System.Threading;
usi... | 1.742194 | 956ba2249f1626d8308155e47fba4e25 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66821 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "denis-sk/NewsBlog",
"max_stars_repo_path": "src/Application/Comments/Commands/CreateComment/CreateNewsCommandValidator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66822"
} | starcoder | <filename>src/Application/Comments/Commands/CreateComment/CreateNewsCommandValidator.cs
using FluentValidation;
namespace CleanArchitecture.Application.Comments.Commands.CreateComment
{
public class CreateCommentCommandValidator : AbstractValidator<CreateCommentCommand>
{
public CreateCommentCommandVa... | 2.234586 | 72c0fed560db87695798d338c8a8ed40 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66822 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ardansisman/MicroserviceWorkshop",
"max_stars_repo_path": "Frontends/FreeCourse.Web/Views/Order/CheckoutHistory.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:66823"
} | starcoder | @{
ViewData["Title"] = "CheckoutHistory";
}
@model List<OrderViewModel>
<div class="row">
<div class="col-md-12">
<div class="card">
<div class="card-body">
<h5 class="card-title">Ödeme geçmişim</h5>
@if (Model.Any())
{
... | 2.898117 | 1d054c8c83bfda77f8b881adeb3fe410 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66823 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "GiladRe/GiladControllers",
"max_stars_repo_path": "src/ReichUI/Controls/ReichCheckBoxQuiz.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66824"
} | starcoder | namespace ReichUI.Controls
{
partial class ReichCheckBoxQuiz
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 1.83409 | 949dd5c89eac2fb228659dd5bbb1d270 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66824 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chriskdon/Hydrax.Functional",
"max_stars_repo_path": "src/Hydrax.Functional.Tests/Run/FuncExtensionsCurryingTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66825"
} | starcoder | using System;
using Xunit;
using Hydrax.Functional;
namespace Hydrax.Functional.Tests.Run
{
public class FuncExtensionsCurryingTests
{
/// <summary>
/// Test that a 2 argument function can be curried.
/// </summary>
[Fact]
public void Curry_Arg2_Curries()
{
... | 3.205258 | 4e4cc5c647ec6fb34dde2405855fcd66 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66825 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ofraski/ShoppingBasketPriceCalculator",
"max_stars_repo_path": "Tests/ProgramTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66826"
} | starcoder | using System;
using NUnit.Framework;
using ShoppingBasket.Discounting;
using ShoppingBasket.Output;
using ShoppingBasket.Pricing;
using ShoppingBasket.Pricing.Exceptions;
using ShoppingBasket.Readers;
namespace ShoppingBasket.Tests
{
[TestFixture]
public class ProgramTests
{
[Test]
... | 2.743931 | 0807ac9ac43b9c57aaad4c8f2e3a0a00 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66826 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rafaeldalsenter/kafka-example-chat",
"max_stars_repo_path": "KafkaExampleChat/Producers/IProducer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66827"
} | starcoder | <gh_stars>1-10
using KafkaExampleChat.Messages;
using KafkaExampleChat.Topics;
using System.Threading.Tasks;
namespace KafkaExampleChat.Producers
{
public interface IProducer<TMessage> where TMessage : Message
{
Task SendAsync(ITopic topic, TMessage message);
}
} | 1.685907 | b0a53fce4e76cafee9e45bf7e2653a76 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66827 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "durandx/kinetix-tools",
"max_stars_repo_path": "Kinetix.ClassGenerator/JavascriptGenerator/TypescriptTemplate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66828"
} | starcoder | <filename>Kinetix.ClassGenerator/JavascriptGenerator/TypescriptTemplate.cs
using System;
using System.Collections.Generic;
using System.Linq;
using Kinetix.Tools.Common;
using Kinetix.Tools.Common.Model;
namespace Kinetix.ClassGenerator.JavascriptGenerator
{
/// <summary>
/// Class to produce the tem... | 2.531882 | 179929a28ba6fa7c63bde72f4ac078b5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66828 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "AaronFriel/pulumi-google-native",
"max_stars_repo_path": "sdk/dotnet/AppEngine/V1/Inputs/ReadinessCheckArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66829"
} | starcoder | <reponame>AaronFriel/pulumi-google-native<gh_stars>10-100
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** 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... | 1.79623 | cd336ac2996810a77a948a019d5688ab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66829 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "leandrolustosa/astove",
"max_stars_repo_path": "Astove.BlurAdmin.WebApi/Controllers/MongoController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66830"
} | starcoder | <reponame>leandrolustosa/astove<filename>Astove.BlurAdmin.WebApi/Controllers/MongoController.cs
using AInBox.Astove.Core.Controllers;
using AInBox.Astove.Core.Model;
using AInBox.Astove.Core.Service;
using Autofac;
using Astove.BlurAdmin.Data;
using Astove.BlurAdmin.Model;
using Astove.BlurAdmin.Services;
using System;... | 1.73739 | 37b6cf9ebeaf70cff8d3db136aaed436 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66830 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PedroRossa/HeightViewer",
"max_stars_repo_path": "Assets/MaterialUI/Editor/Tools/Vector Image Manager/VectorImageManagerWindow.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66831"
} | starcoder | <reponame>PedroRossa/HeightViewer<filename>Assets/MaterialUI/Editor/Tools/Vector Image Manager/VectorImageManagerWindow.cs<gh_stars>0
// Copyright 2017 MaterialUI for Unity http://materialunity.com
// Please see license file for terms and conditions of use, and more information.
using UnityEditor;
using UnityEngine... | 1.937914 | e30304374df5af1c47675cb4e74914ab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66831 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zdzdz/High-Quality-Code-HW",
"max_stars_repo_path": "13. Refactoring-HW/Matrix/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66832"
} | starcoder | <filename>13. Refactoring-HW/Matrix/Program.cs
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Program.cs" company="TA">
// TA
// </copyright>
// <summary>
// The program.
// </summary>
// ----------------------------------... | 2.873816 | 3e58234b5411dfd59709d4c1930ee2fc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66832 | {
"extension": "c-sharp",
"max_stars_count": "76.0",
"max_stars_repo_name": "microsoft/service-fabric-observer",
"max_stars_repo_path": "FabricObserver.Extensibility/Utilities/Logger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66833"
} | starcoder | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
using System;
using System.IO;... | 2.417206 | bddd293807df542a68fa8e7dc17e65f6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.