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 | 73233 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "PiotrKantorowicz1/CompanyCars",
"max_stars_repo_path": "src/PKShop.Struct.WriteData/Contexts/EventStoreContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73234"
} | starcoder | <reponame>PiotrKantorowicz1/CompanyCars
using Microsoft.EntityFrameworkCore;
using PKShop.Core.Events;
using PKShop.Struct.WriteData.EntityMappings;
namespace PKShop.Struct.WriteData.Contexts
{
public class EventStoreContext : DbContext
{
public DbSet<StoredEvent> StoredEvent { get; set; }
pub... | 1.744236 | 44f6dc2a39d158b81cc57a15fe40521a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73234 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jamesconsultingllc/AbstractCentral.DispatchProxy",
"max_stars_repo_path": "AspectCentral.DispatchProxy/BaseAspect.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73235"
} | starcoder | // ----------------------------------------------------------------------------------------------------------------------
// <copyright file="BaseAspect.cs" company="James Consulting LLC">
// Copyright (c) 2019 All Rights Reserved
// </copyright>
// <author><NAME></author>
// <summary>
//
// </summary>
// -... | 2.298255 | 5fc17436a9e73ffb1232497d1987ec93 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73235 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HierGibtEsDrachen/octoawesome",
"max_stars_repo_path": "OctoAwesome/OctoAwesome.Client/Screens/GameScreen.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73236"
} | starcoder | <reponame>HierGibtEsDrachen/octoawesome<gh_stars>0
using MonoGameUi;
using OctoAwesome.Client.Controls;
using OctoAwesome.Client.Components;
using System;
using engenious;
using engenious.Input;
namespace OctoAwesome.Client.Screens
{
internal sealed class GameScreen : Screen
{
private const float mouse... | 2.050502 | f3538e7e00b847d8ed110b6b0a25e9cd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73236 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "Aaronontheweb/akkadotnet-healthcheck",
"max_stars_repo_path": "src/Akka.HealthCheck.Tests/Liveness/DefaultLivenessProbeSpecs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73237"
} | starcoder | <gh_stars>10-100
// -----------------------------------------------------------------------
// <copyright file="DefaultLivenessProbeSpecs.cs" company="Petabridge, LLC">
// Copyright (C) 2015 - 2019 Petabridge, LLC <https://petabridge.com>
// </copyright>
// --------------------------------------------------------... | 1.520041 | dc1add6b148fcd2bbeab77b0df6c562d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73237 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NetOfficeFw/Excel-XlLateBinding",
"max_stars_repo_path": "ReleaseTags/0.9/Source/LateBindingApi.Excel/Mailer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73238"
} | starcoder | <gh_stars>0
//Generated by LateBindingApi.CodeGenerator
using System;
using System.Reflection;
using System.ComponentModel;
using System.Runtime.InteropServices;
using LateBindingApi.Core;
namespace LateBindingApi.Excel
{
[SupportByLibrary("XL10","XL11","XL12","XL14","XL9")]
public class Mailer : COMObject
{
#regi... | 1.612099 | 4e7b56947fd714f3a671f7f01c6d20d9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73238 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "unitycontainer/regression-resolution-tests",
"max_stars_repo_path": "Interception/Configuration/Policy/Injection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73239"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
using Unity.Interception.Tests;
#if UNITY_V4
using Microsoft.Practices.Unity;
using Microsoft.Practices.Unity.InterceptionExtension;
#elif UNITY_V5
using Unity;
using Unity.Interception;
using Unity.Interception.PolicyInjection;
using Unity.Interception.ContainerInte... | 1.689581 | 83531aed9e5938014f5c226330fa22ff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73239 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "neil841004/Cube-Adventure",
"max_stars_repo_path": "Assets/BOXOPHOBIC/Polyverse Skies/Core/Editor/PolyverseSkiesWindows.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73240"
} | starcoder | using UnityEditor;
using UnityEngine;
public static class PolyverseSkiesWindows
{
[MenuItem("Window/BOXOPHOBIC/Polyverse Skies/Publisher Page", false, 2000)]
public static void Publisher()
{
Application.OpenURL("https://assetstore.unity.com/publishers/20529");
}
[MenuItem("Window/BOXOPHOB... | 1.548185 | deeb86a54e5e2c55007f6a5ba620d129 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73240 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "frankhaugen/Frank.Extensions",
"max_stars_repo_path": "src/Frank.Libraries.CodeGeneration/Generators/IGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73241"
} | starcoder | namespace Frank.Libraries.CodeGeneration.Generators
{
public interface IGenerator
{
string Generate(string namespaceName, string className);
}
} | 1.458678 | 90da3a69a0a36997afe455ff422a475a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73241 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Hackavist/UsheryBackend",
"max_stars_repo_path": "Services/RoleSystem/Interfaces/IActionRoleManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73242"
} | starcoder | using System.Collections.Generic;
namespace Services.RoleSystem.Interfaces
{
public interface IActionRoleManager
{
IEnumerable<string> GetPermissionOfAction(string ActionName);
IEnumerable<string> GetDerivedPermissionOfAction(string ActionName);
IEnumerable<string> GetRolesOfAc... | 2.12913 | e35c94a8693a7ccd44a4525be300c19b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73242 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TeamAojilu/sukisukisukiman_u1w202012_akeru",
"max_stars_repo_path": "Assets/_Assets/u1w202012/SilCil/Scripts/NewPieceManager/NewBonusScoreCalculator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73243"
} | starcoder | using UnityEngine;
using System.Linq;
using System.Collections.Generic;
namespace Unity1Week202012
{
public class NewBonusScoreCalculator : IScoreCalculator
{
public float ScoreMultiply { get; set; } = 30f;
public double Evaluate(IEnumerable<PieceData> pieces)
{
if (Servic... | 2.581559 | 147dfad1fcb7d967836c50057c387569 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73243 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gissehel/BarLauncher-UnitConverter",
"max_stars_repo_path": "BarLauncher.UnitConverter.Lib/Service/PrefixDefinitionRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73244"
} | starcoder | <filename>BarLauncher.UnitConverter.Lib/Service/PrefixDefinitionRepository.cs
using FluentDataAccess;
using System.Collections.Generic;
using BarLauncher.UnitConverter.Lib.Core.Service;
using BarLauncher.UnitConverter.Lib.DomainModel;
namespace BarLauncher.UnitConverter.Lib.Service
{
public class PrefixDefinition... | 2.718497 | ee36b8e17b35d60663220376a9cd0d56 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73244 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "denis-goncharenko/AUrlHelper",
"max_stars_repo_path": "AUrlHelper.Tests/AUrlHelperTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73245"
} | starcoder | using System;
using Xunit;
namespace AUrlHelper.Tests
{
public class AUrlHelperTests
{
[Theory]
[InlineData("http://www.test.com/image.png", "image.png")]
[InlineData("http://www.test.com/document.pdf", "document.pdf")]
[InlineData("http://www.test.com/audio.mp3", "audio.mp3")]
... | 2.892776 | 5b0ce4355746c291cfb00617685a5960 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73245 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "bing-framework/Bing.Offices",
"max_stars_repo_path": "src/Bing.Offices.Abstractions/Bing/Offices/Metadata/Excels/IRange.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73246"
} | starcoder | <reponame>bing-framework/Bing.Offices<gh_stars>1-10
using System.Collections.Generic;
namespace Bing.Offices.Metadata.Excels
{
/// <summary>
/// 单元范围
/// </summary>
public interface IRange
{
/// <summary>
/// 单元行
/// </summary>
/// <param name="rowIndex">行索引</param>... | 2.513135 | 41caf94ade6e3fe628f12e684e41e20e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73246 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "drapperr/C-Advanced-September",
"max_stars_repo_path": "Stacks and Queues - Lab/7. Traffic Jam/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73247"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace _7._Traffic_Jam
{
class Program
{
static void Main(string[] args)
{
Queue<string> queue = new Queue<string>();
List<string> passedCars = new List<string>();
int count = int.Parse(C... | 3.489982 | e56d1ab649f407ffd35c8e1d44460943 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73247 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nvdeveloper/UmbracoUpgrade-7.7.0-WorkAround",
"max_stars_repo_path": "src/umbraco.controls/DatePicker/DateTimePicker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73248"
} | starcoder | <gh_stars>1-10
using System;
using ClientDependency.Core;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
namespace umbraco.uicontrols.DatePicker
{
[ClientDependency(ClientDependencyType.Css, "DateTimePicker/datetimepicker.css", "UmbracoClient")]
[ClientDependency(Clie... | 2.080028 | 1436cc9c88f9e0bdf537f898c4038786 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73248 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Hiiops/Hiiops.Outside",
"max_stars_repo_path": "Vue.Net/Hiiops.Shop/Repositories/Shop/Hiiops_Shop_Store_PinkRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73249"
} | starcoder | /*
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
*Repository提供数据库操作,如果要增加数据库操作请在当前目录下Partial文件夹Hiiops_Shop_Store_PinkRepository编写代码
*/
using Hiiops.Shop.IRepositories;
using VOL.Core.BaseProvider;
using VOL.Core.EFDbContext;
using VOL.Core.Extensions.AutofacManager;
using VOL.Entity.DomainModels;
namespace Hiiops.Shop.Repositories
{
... | 1.895499 | 0810144144b21b4cb653c82ba1008492 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73249 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OwenMcDonnell/QuikGraph",
"max_stars_repo_path": "tests/QuikGraph.Tests/Helpers/GraphConsoleSerializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73250"
} | starcoder | <reponame>OwenMcDonnell/QuikGraph
using System;
using JetBrains.Annotations;
namespace QuikGraph.Tests
{
/// <summary>
/// Helpers to serialize a graph to be displayed in <see cref="Console"/>.
/// </summary>
internal static class GraphConsoleSerializer
{
public static void DisplayGraph<TVe... | 3.072199 | 182650c18c40fc33341287946897cbf2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73250 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "Milyli/DocMAH",
"max_stars_repo_path": "DocMAH.UnitTests/Web/Requests/Processors/ReadApplicationSettingsRequestProcessorTestFixture.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73251"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using System.Web.Script.Serialization;
using DocMAH.Configuration;
using DocMAH.Models;
using DocMAH.Web.Authorization;
using DocMAH.Web.Requests;
using DocMAH... | 2.04432 | cb7c302ad867fc16974f5fecc6aba50d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73251 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zm55/Pinyin4NET",
"max_stars_repo_path": "hyjiacan.py4n/format/ToneFormat.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73252"
} | starcoder | namespace hyjiacan.py4n.format
{
/// <summary>
/// 声调格式
/// </summary>
public enum ToneFormat
{
/// <summary>
/// 带声调标志
/// </summary>
WITH_TONE_MARK,
/// <summary>
/// 不带声调
/// </summary>
WITHOUT_TONE,
/// <summ... | 2.222925 | 422e74d51610cf0b2cb68cf1ce17024e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73252 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "XaKOps/Resource-Unpacker",
"max_stars_repo_path": "ResourceManagerUpdater/MainWindow.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73253"
} | starcoder | <reponame>XaKOps/Resource-Unpacker
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Runtime.CompilerServices;
using System.Security.Cryptography;
using System.Text;
using Syst... | 2.174662 | eedca759cb6e2882890ca264b8b90621 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73253 | {
"extension": "c-sharp",
"max_stars_count": "629.0",
"max_stars_repo_name": "maxbruecken/odata.net",
"max_stars_repo_path": "src/Microsoft.OData.Edm/Csdl/Serialization/EdmSchema.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73254"
} | starcoder | //---------------------------------------------------------------------
// <copyright file="EdmSchema.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//-------------------------------------------... | 2.073003 | 70395b302ba94f97e6a28fc1cc082acf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73254 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "devedse/DeveMazeGeneratorCore",
"max_stars_repo_path": "DeveMazeGeneratorCore/Generators/AlgorithmWithPath.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73255"
} | starcoder | using DeveMazeGeneratorCore.Factories;
using DeveMazeGeneratorCore.Generators.Helpers;
using DeveMazeGeneratorCore.InnerMaps;
using System;
namespace DeveMazeGeneratorCore.Generators
{
public abstract class AlgorithmWithPath : Algorithm
{
/// <summary>
/// Generate a Maze
/// </summary... | 2.996903 | 308e29ec7bfa0ffd797ba8b0b39f9d93 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73255 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "aluanhaddad/RefactoringEssentials",
"max_stars_repo_path": "Tests/CSharp/CodeRefactorings/ConvertHasFlagsToBitwiseFlagComparisonTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73256"
} | starcoder | <gh_stars>1-10
using RefactoringEssentials.CSharp.CodeRefactorings;
using Xunit;
namespace RefactoringEssentials.Tests.CSharp.CodeRefactorings
{
public class ConvertHasFlagsToBitwiseFlagComparisonTests : CSharpCodeRefactoringTestBase
{
[Fact]
public void TestSimpleHasFlag()
{
... | 2.452428 | 3cccb2c3da2212607cfb69556f3ca377 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73256 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Zeyu-Li/Quarantined_Game_Jam",
"max_stars_repo_path": "Assets/Scripts/enemy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73257"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
public class enemy : MonoBehaviour
{
public Transform target;
public float hitRadius = 1;
Transform player;
NavMeshAgent agent;
gameMaster master;
bool fleeing;
// Start is called before t... | 2.219874 | 0ae16a0495e520bb0074cb557490d9e4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73257 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LambdaSix/Capsicum",
"max_stars_repo_path": "Capsicum/Exceptions/ComponentNotRegisteredException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73258"
} | starcoder | <filename>Capsicum/Exceptions/ComponentNotRegisteredException.cs
using System;
namespace Capsicum.Exceptions {
public class ComponentNotRegisteredException : Exception {
public Entity Entity { get; set; }
public ComponentNotRegisteredException(Entity entity, string message) : base(message) {
... | 2.518163 | 9dd7ce12f91f377da82b82ba877fe689 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73258 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tkopacz/2017-AAD-MultiTenant-Policy-NETCore",
"max_stars_repo_path": "TK2017MTAADv2/TK2017MTAADv2/TK2017MTAADv2/Views/Home/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:73259"
} | starcoder | @model IEnumerable<System.Security.Claims.Claim>
@{
ViewData["Title"] = "Home Page";
}
<div class="row">
<div class="col-md-3">
<h2>Claims</h2>
<ul>
@foreach (var item in Model)
{
<li>@item.Type - @item.Value</li>
}
</ul>
</div... | 2.847662 | da60a70530a043a2967a77a76090f31f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73259 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "NewLifeX/X_NET20",
"max_stars_repo_path": "NewLife.Core/Threading/ThreadTask.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73260"
} | starcoder | <filename>NewLife.Core/Threading/ThreadTask.cs<gh_stars>1-10
using System;
using System.Threading;
namespace NewLife.Threading
{
/// <summary>线程任务</summary>
class ThreadTask
{
private Int32 _ID;
/// <summary>唯一编号</summary>
public Int32 ID
{
get { ret... | 2.979197 | 6f98b179ac3db75f601a1c049cd47df9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73260 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CaceresLuis/SoccerP",
"max_stars_repo_path": "Soccer.Common/Models/Menu.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73261"
} | starcoder | <reponame>CaceresLuis/SoccerP<filename>Soccer.Common/Models/Menu.cs
namespace Soccer.Common.Models
{
public class Menu
{
public string Icon { get; set; }
public string Title { get; set; }
public string PageName { get; set; }
public bool IsLoginRequired { get; set; }
}
}
| 1.759395 | 11f1390acd17a82d3894d9111d303ff5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73261 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Camberman3000/gpe340project1",
"max_stars_repo_path": "Assets/Scripts/WeaponImage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73262"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class WeaponImage : MonoBehaviour
{
[SerializeField] private Image weaponImage;
[SerializeField] private Sprite weapon1;
[SerializeField] private Sprite weapon2;
// Start is called... | 2.005077 | 8d4e4f33e7ec76ac275330fe39ce49a3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73262 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RobDixonIII/Bloom",
"max_stars_repo_path": "Analytics/Bloom.Analytics.Modules/Bloom.Analytics.Modules.AlbumModule/Services/AlbumService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73263"
} | starcoder | <filename>Analytics/Bloom.Analytics.Modules/Bloom.Analytics.Modules.AlbumModule/Services/AlbumService.cs
using System;
using System.Collections.Generic;
using System.Linq;
using Bloom.Analytics.Controls;
using Bloom.Analytics.Modules.AlbumModule.ViewModels;
using Bloom.Analytics.Modules.AlbumModule.Views;
using Bloom.... | 2.145146 | 679611e4c320c7077df0d8da9faea437 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73263 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BiserSirakov/TelerikAcademyHomeworks",
"max_stars_repo_path": "C# - Part 2/Using Classes and Objects/04.TriangleSurface/TriangleSurface.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73264"
} | starcoder | //Write methods that calculate the surface of a triangle by given:
//Side and an altitude to it;
//Three sides;
//Two sides and an angle between them;
//Use System.Math.
using System;
class TriangleSurface
{
static void Main()
{
Console.WriteLine("Calculate the surface of a triangle by given side and... | 4.237797 | 7ee437abb3970c552d5b4f8963c08766 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73264 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "igoreksiz/NetOffice",
"max_stars_repo_path": "Source/OWC10/Interfaces/IDataPageDesigner.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73265"
} | starcoder | <reponame>igoreksiz/NetOffice
using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
namespace NetOffice.OWC10Api
{
/// <summary>
/// Interface IDataPageDesigner
/// SupportByVersion OWC10, 1
/// </summary>
[SupportByVersion("OWC10", 1)]
[EntityType(EntityType.I... | 1.101439 | c64ac4b0d0fa794a132b04adb53ac8ff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73265 | {
"extension": "c-sharp",
"max_stars_count": "154.0",
"max_stars_repo_name": "heavenwing/Xam.Plugin.Webview",
"max_stars_repo_path": "Xam.Plugin.WebView.UWP/LocalFileStreamResolver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73266"
} | starcoder | <reponame>heavenwing/Xam.Plugin.Webview<filename>Xam.Plugin.WebView.UWP/LocalFileStreamResolver.cs
using System;
using System.Threading.Tasks;
using Windows.Foundation;
using Windows.Storage;
using Windows.Storage.Streams;
using Windows.Web;
namespace Xam.Plugin.WebView.UWP
{
public class LocalFileStream... | 2.351074 | 1bb664463770cb76589e7d3ece5e4108 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73266 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lisandropodesta/lit.net",
"max_stars_repo_path": "Lit.Calc/CalculatorEngine.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73267"
} | starcoder | <reponame>lisandropodesta/lit.net
namespace Lit.Calc
{
using System.Collections.Generic;
public class CalculatorEngine
{
public int PrecisionBits = 256;
public string Debug { get; private set; }
public string Screen { get { return Value.Format(); } }
public CalculatorNum... | 2.54522 | 1644410b4e34f2f80a22e4543182d7e1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73267 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mkArtak/validation-utilities-dotnet",
"max_stars_repo_path": "test/AM.Common.Tests/StringValidationExtensionsTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73268"
} | starcoder | <reponame>mkArtak/validation-utilities-dotnet<gh_stars>0
using System;
using Xunit;
namespace AM.Common.Validation.Tests
{
public class StringValidationExtensionsTests
{
#region IsNotNullOrEmpty tests
[Fact]
public void IsNotNullOrEmpty_ThrowsForNullArgument()
{
stri... | 2.532787 | 6c76084113981bc02301c826fe94735a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73268 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "telmengedar/scriptservice",
"max_stars_repo_path": "ScriptService/Dto/ArchivedObject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73269"
} | starcoder | <filename>ScriptService/Dto/ArchivedObject.cs
using NightlyCode.Database.Entities.Attributes;
namespace ScriptService.Dto {
/// <summary>
/// obsolete object revision
/// </summary>
public class ArchivedObject {
/// <summary>
/// object type to archive
/// </summary>
... | 2.230697 | 2093909db77d0dd1edc2832dad9c3469 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73269 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "anvoro/ULocalize",
"max_stars_repo_path": "Assets/Plugins/UnityLocalize/Editor/EditorCore/TranslationIO/TranslationImport/ITranslationImport.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73270"
} | starcoder | using UnityLocalize.DataStorage;
namespace UnityLocalize.Editor
{
internal interface ITranslationImport
{
Translation Import(TranslationInfo translationInfo);
}
}
| 1.173877 | c3657418f782eb0084d79f9f2fffe290 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73270 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stefandenchev/Journey",
"max_stars_repo_path": "Services/Journey.Services.Data/OrderItemsService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73271"
} | starcoder | namespace Journey.Services.Data
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Journey.Data.Common.Repositories;
using Journey.Data.Models;
using Journey.Services.Data.Interfaces;
using Journey.Services.Mapping;
using Journe... | 2.520833 | e2865ede4038c61ed686bda229e36c43 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73271 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "mandarinx/LunchGame01",
"max_stars_repo_path": "Assets/Scripts/Pool/IPoolable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73272"
} | starcoder |
namespace Deflector {
public interface IPoolable {
void OnEnable();
void OnDisable();
void OnDestroy();
}
}
| 1.813621 | 80d25ea6a30386c491c57481d0f19e8a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73272 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sillsdev/ibusdotnet",
"max_stars_repo_path": "ibusTextBoxTest/IBusTextBox.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73273"
} | starcoder | <gh_stars>0
using System;
using System.Linq;
using System.Windows.Forms;
using IBusDotNet;
// Ensure when running this test program on mono that environment variable MONO_WINFORMS_XIM_STYLE="disabled"
// This ensures X input methods aren't running.
namespace Test
{
public class IBusTextBox : TextBox
{
private IBu... | 2.133651 | d8fc040b2a838476a8d4e196e9ff393c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73273 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chiro300/GGJ-21-Amerike-GDL-BaaxKuuxum",
"max_stars_repo_path": "Assets/Scripts/ControlEscenas.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73274"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class ControlEscenas : MonoBehaviour
{
public string zonaDestino;
Vector2 posicionDestino;
public float tiempoTransicion;
public Animator transicion;
public GameObject jugador;
... | 1.923347 | 0cebef918a604598926d50c24231e11d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73274 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "uditagarwal97/nekara-artifact",
"max_stars_repo_path": "TSVD/Radical/src/netcore45/Radical/Validation/Ensure/ComparableEnsureExtension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73275"
} | starcoder | using System;
namespace Topics.Radical.Validation
{
/// <summary>
/// Determines the equality behavior when comparing values.
/// </summary>
public enum Or
{
/// <summary>
/// Values can be equal.
/// </summary>
Equal,
/// <summary>
/// Values cannot be equal.
/// </summary>
NotEqual
}
/// <s... | 3.158858 | 04c8f5ad22c94aff07ed895678e876e3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73275 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "Bullabs/Qitar",
"max_stars_repo_path": "src/Qitar.Validation.FluentValidation/Extensions/ServiceCollectionExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73276"
} | starcoder | <reponame>Bullabs/Qitar
using Microsoft.Extensions.DependencyInjection;
using System;
namespace Qitar.Validation.FluentValidation.Extensions
{
public static class ServiceCollectionExtensions
{
public static IServiceCollection AddDapperRepository(this IServiceCollection services)
{
... | 1.590476 | 821b25ab2cb129da1b667353f1eee5db |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73276 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sam848685/Monk.Soul",
"max_stars_repo_path": "Monk/DbStore/DbConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73277"
} | starcoder | <reponame>sam848685/Monk.Soul<filename>Monk/DbStore/DbConfig.cs
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Configuration;
using Monk.Utils;
namespace Monk.DbStore
{
public partial class DbServices
{
private static string ConnectionString = ConfigurationManager.Connect... | 1.989857 | 47f9d90fcaed374e16b9679bc40abe27 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73277 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MarkSFrancis/marksfrancis",
"max_stars_repo_path": "src/Phnx/Security/Algorithms/Sha256Hash.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73278"
} | starcoder | <reponame>MarkSFrancis/marksfrancis
using System;
using System.Security.Cryptography;
namespace Phnx.Security.Algorithms
{
/// <summary>
/// A 256 bit SHA2 hashing algorithm. Suitable for checksums, but generally not secure for passwords. Consider using <see cref="Pbkdf2Hash"/> if you're hashing passwords
... | 3.214344 | f9d48ec572b006989d912603b093bdbf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73278 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "reductech/Core",
"max_stars_repo_path": "Core/Entities/EntityHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73279"
} | starcoder | <gh_stars>1-10
namespace Reductech.Sequence.Core;
/// <summary>
/// Contains methods for helping with entities.
/// </summary>
public static class EntityHelper
{
/// <summary>
/// Tries to convert an object into one suitable as an entity property.
/// </summary>
[Pure]
public static async Task<Res... | 2.396671 | 6bb2bd86561feb1e5dac069614f2cd2d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73279 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ashishpatelcs/uno",
"max_stars_repo_path": "src/Uno.UWP/Generated/3.0.0.0/Windows.System.RemoteSystems/RemoteSystemWebAccountFilter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73280"
} | starcoder | <gh_stars>1-10
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.System.RemoteSystems
{
#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__
[global::Uno.NotImplemented]
#endif
public partial class RemoteSystemWebAccountFilter : global::W... | 1.676826 | 614a8888f3b1267ad6f2c69c0e3a157c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73280 | {
"extension": "c-sharp",
"max_stars_count": "2079.0",
"max_stars_repo_name": "bpeake13/GGJ2016",
"max_stars_repo_path": "Assets/Plugins/ShaderForge/Example Assets/Scripts/SoftNormalsToVertexColor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73281"
} | starcoder | using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
using System.Collections;
using System.Collections.Generic;
[RequireComponent(typeof(MeshFilter))]
public class SoftNormalsToVertexColor : MonoBehaviour {
public enum Method { Simple, AngularDeviation };
public Method method = Method.AngularDeviation;
... | 2.522176 | 4ff3b95f6531a4c4b42fc55e7666fef3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73281 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "monoman/cnatural-language",
"max_stars_repo_path": "tests/resources/ObjectModelTest/sources/DelegateLambdaAnonymous.stab.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73282"
} | starcoder | public class DelegateLambdaAnonymous {
delegate int D();
public static int test() {
return method(4)();
}
static D method(int i) {
var a = new { P = 2 };
return () => a.P + 1 + i;
}
}
| 2.852507 | f3b88a7fc6c51861f297d14f45cbfe09 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73282 | {
"extension": "c-sharp",
"max_stars_count": "81.0",
"max_stars_repo_name": "HLSW/DeltaEngine",
"max_stars_repo_path": "ScreenSpaces/ScreenSpace.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73283"
} | starcoder | using System;
using DeltaEngine.Core;
using DeltaEngine.Datatypes;
namespace DeltaEngine.ScreenSpaces
{
/// <summary>
/// Converts to and from some kind of screen space like Quadratic, Pixel, etc.
/// See http://deltaengine.net/learn/screenspace
/// </summary>
public abstract class ScreenSpace : IDispo... | 2.796384 | 4619f89f4bfd407f52c70b539e19968d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73283 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BonnieToGamer/unity-games",
"max_stars_repo_path": "MazeRotator/Assets/Scripts/Spinner.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73284"
} | starcoder | <filename>MazeRotator/Assets/Scripts/Spinner.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Spinner : MonoBehaviour
{
public int RotationSpeed = 50;
private void FixedUpdate()
{
transform.eulerAngles += Vector3.forward * (RotationSpeed * Time.fixedDe... | 2.111426 | 077f6d91d45b11eedab5b397e02abfa2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73284 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xcrover/MediaRat",
"max_stars_repo_path": "MediaRat/ViewModels/MediaRenameVModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73285"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Windows.Input;
using System.Threading;
using Ops.NetCoe.LightFrame;
namespace XC.MediaRat {
///<summary>View Model for Media Rename operation</summary>
public class MediaRe... | 1.930445 | eca7e6b430c6c0bbeb73e4996d6d206c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73285 | {
"extension": "c-sharp",
"max_stars_count": "1022.0",
"max_stars_repo_name": "augustoproiete-forks/NuGet--NuGetGallery",
"max_stars_repo_path": "src/NuGetGallery/Areas/Admin/ViewModels/LockPackageViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73286"
} | starcoder | // 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;
namespace NuGetGallery.Areas.Admin.ViewModels
{
public class LockPackageViewModel
{
public string Qu... | 1.901468 | 17876070befbdbd8f7150241a36cdf7d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73286 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yungwym/GAME2014_A2_WymerRobert",
"max_stars_repo_path": "Assets/Scripts/UIController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73287"
} | starcoder | <reponame>yungwym/GAME2014_A2_WymerRobert<gh_stars>0
/*
* Program Header: UI Controller
* <NAME> - 101070567
* Last Date Modified - Dec 15, 2021
* Version 1.0
*
* Handles UI for Win/Lose Conditions of the Game
* Also had functions for Virtual Jump Button
*
*
*/
using System.Collections;
using System.Coll... | 2.060615 | 7620990509082a45431e1d49aff2cb1a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73287 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "Proxyer/JecsTools",
"max_stars_repo_path": "Source/AllModdingComponents/CompInstalledPart/HarmonyCompInstalledPart.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73288"
} | starcoder | using System;
using HarmonyLib;
using RimWorld;
using UnityEngine;
using Verse;
namespace CompInstalledPart
{
[StaticConstructorOnStartup]
internal static class HarmonyCompInstalledPart
{
static HarmonyCompInstalledPart()
{
var harmony = new Harmony("jecstools.jecrell.comps.ins... | 1.929025 | 749c7bc402e474aca5500b474fb53c9f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73288 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chris-weekes/atrium",
"max_stars_repo_path": "atriumDAL/PanelContact_DAL.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73289"
} | starcoder | <gh_stars>0
using System;
using System.Data;
using System.Data.SqlClient;
using lmDatasets;
namespace atriumDAL
{
/// <summary>
/// Class generated by sgen
/// based on PanelContact table
/// in lawmate database
/// on 2006/06/16
/// </summary>
public partial class PanelContactDAL:atDAL.ObjectDAL
{
in... | 1.729557 | 80f7cba484e5ade93d974db45113c2f6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73289 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "opreradovic/FollowTheLight",
"max_stars_repo_path": "Assets/Scripts/SignLogic.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73290"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine.UI;
using UnityEngine;
public class SignLogic : MonoBehaviour
{
private Animator anim;
[SerializeField]
private TextMeshProUGUI signText;
[SerializeField]
private Canvas canvas = null;
private float dila... | 2.115183 | 1655c5da2134b5e53fd0ce9e962df811 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73290 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stsertov/TrainsForGreenFuture-ASP.Net-Core-Project-2022",
"max_stars_repo_path": "TrainsForGreenFuture.Core/Contracts/IRenovationService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73291"
} | starcoder | namespace TrainsForGreenFuture.Core.Contracts
{
using TrainsForGreenFuture.Core.Models;
using TrainsForGreenFuture.Core.Models.Categories;
using TrainsForGreenFuture.Core.Models.Interrails;
using TrainsForGreenFuture.Core.Models.Renovations;
using TrainsForGreenFuture.Infrastructure.Data.Models.Enu... | 1.813631 | d98e744f163eab0561c63d0a20c01073 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73291 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nickmcummins/CodeNav",
"max_stars_repo_path": "CodeNav.Shared/Windows/BookmarkStylesWindow.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73292"
} | starcoder | #nullable enable
using CodeNav.Helpers;
using CodeNav.Models.ViewModels;
using CodeNav.Shared.ViewModels;
using Microsoft.VisualStudio.PlatformUI;
using Microsoft.VisualStudio.Shell;
using System.Windows;
using System.Windows.Forms;
namespace CodeNav.Windows
{
public partial class BookmarkStylesWindow : DialogWi... | 1.991002 | 3d2dc016183f9bf396efa19cf04cd4df |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73292 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "stevenxi/trading212-bot",
"max_stars_repo_path": "ark-tracker.app/App.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73293"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Web;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
namespace ark_tracker.app
{
public static class App
{
static Trading212Han... | 2.562733 | 3204c892a0dfdb787a45225f9e96ed4f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73293 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Cgameworld/CGWRailwayCustomizations",
"max_stars_repo_path": "CGWRailwayCustomizations/ModInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73294"
} | starcoder | <reponame>Cgameworld/CGWRailwayCustomizations<filename>CGWRailwayCustomizations/ModInfo.cs
using ICities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
namespace CGWRailwayCustomizations
{
public class ModInfo : IUserMod
{
public string Name =... | 2.084654 | 1a52884e0da097d261e3cd4657481c0a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73294 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ridercz/Fialka.net",
"max_stars_repo_path": "Fialka/EncryptCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73295"
} | starcoder | using System;
using System.ComponentModel.DataAnnotations;
using System.IO;
using System.Security.Cryptography;
using System.Text.Json.Serialization;
using McMaster.Extensions.CommandLineUtils;
namespace Fialka {
[Command(Description = "Encrypts a file using AES-GCM.")]
public class EncryptCommand {
p... | 2.702571 | 7f7560cbb8db7acecaec88e368b427fe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73295 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DavidWise/DWPSUtil",
"max_stars_repo_path": "DWPowershell.Utility/Abstraction/Process/ProcessResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73296"
} | starcoder | namespace DWPowerShell.Utility.Abstraction.Process
{
public interface IProcessResult
{
string Command { get; }
string Output { get; }
string Errors { get; }
double ElapsedMilliseconds { get; }
}
public class ProcessResult : IProcessResult
{
public string Com... | 2.099114 | 3bccf641742bff0ff7d0d38ac1ece0c2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73296 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "robsonalves87/ProjetoDDD",
"max_stars_repo_path": "ProjetoDDD/src/ProjetoDDD.MVC/ViewModels/CategoriaDoProdutoViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73297"
} | starcoder | using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace ProjetoDDD.MVC.ViewModels
{
public class CategoriaDoProdutoViewModel : EntityViewModel
{
[Required(ErrorMessage = "Preencha o Campo Nome")]
[MaxLength(150, ErrorMessage = "Máximo 150 caracteres")]
[MinL... | 2.222917 | 81f011e72cd10355f8c61f60fd4c459f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73297 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "Beyhum/Quickpaste",
"max_stars_repo_path": "Quickpaste/Models/Dtos/ApiError.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73298"
} | starcoder | using Microsoft.AspNetCore.Mvc.ModelBinding;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Quickpaste.Models.Dtos
{
/// <summary>
/// Generic Api error with a property to display an error message to the client
/// </summar... | 2.811121 | d3583de692bf42f9f192a292e8ab0d31 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73298 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wellfedbison/Kronos",
"max_stars_repo_path": "Assignment.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73299"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Kronos_Manager
{
public class Assignment
{
private string date;
private string subject;
private string name;
private string description;
... | 2.966352 | eb4088ba6f63ca0adc35c6b59491c07e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73299 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "1Development/PermacallWebApp",
"max_stars_repo_path": "PermacallWebApp/Tools/Migrations/20200929151443_ChangedLevelToInt.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73300"
} | starcoder | using Microsoft.EntityFrameworkCore.Migrations;
namespace Tools.Migrations
{
public partial class ChangedLevelToInt : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<int>(
name: "Level",
table:... | 1.948763 | bcc552e3353c734239d2de978726b8fe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73300 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "korser1/AutoMapper",
"max_stars_repo_path": "src/AutoMapper/Internal/InternalApi.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73301"
} | starcoder | <filename>src/AutoMapper/Internal/InternalApi.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq.Expressions;
using AutoMapper.Configuration;
using AutoMapper.Configuration.Conventions;
using AutoMapper.Features;
using AutoMapper.Internal.Mappers;
using AutoMapper.Queryab... | 2.112841 | 485c9b603b808b10bc7d207b137b6baa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73301 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lanceccraig/SpreadsheetIO",
"max_stars_repo_path": "src/SpreadsheetIO/Styling/FillKind.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73302"
} | starcoder | using System.Diagnostics.CodeAnalysis;
using Ardalis.SmartEnum;
using DocumentFormat.OpenXml.Spreadsheet;
namespace LanceC.SpreadsheetIO.Styling;
/// <summary>
/// Represents the kind of fill.
/// </summary>
[ExcludeFromCodeCoverage]
public class FillKind : SmartEnum<FillKind>
{
/// <summary>
/// Specifies a ... | 2.57445 | 3abfebea8575946c0dc2fdf87527315f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73302 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "LuGeorgiev/CSharpSelfLearning",
"max_stars_repo_path": "OOPPriciples/Falidae/AfricanLion.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73303"
} | starcoder | <filename>OOPPriciples/Falidae/AfricanLion.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Falidae
{
public class AfricanLion : Lion
{
public AfricanLion(bool male, int weight)
: base(male,weight)
{
... | 3.085952 | 521c6809ed7db69a7f2c6597ae349e72 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73303 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "uretskyzvi/Monitor-Applications-Using-SQL-Queries",
"max_stars_repo_path": "ManageQueryOleDbMonitorUI/MonitoringSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73304"
} | starcoder | using Microsoft.EnterpriseManagement.Common;
using Microsoft.EnterpriseManagement.Mom.Internal.UI.Common;
using Microsoft.EnterpriseManagement.Mom.Internal.UI.Controls;
using Microsoft.EnterpriseManagement.UI;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Windows.Forms;
name... | 2.143692 | ab7e61217c0e123f7935060e46354ad9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73304 | {
"extension": "c-sharp",
"max_stars_count": "139.0",
"max_stars_repo_name": "gitjosephbeer/silverback",
"max_stars_repo_path": "tests/Silverback.Integration.Kafka.Tests/Messaging/Outbound/Routing/KafkaOutboundEndpointRouterTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73305"
} | starcoder | <reponame>gitjosephbeer/silverback
// Copyright (c) 2020 <NAME>
// This code is licensed under MIT license (see LICENSE file for details)
using System;
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using Silverback.Messaging.Configuration.Kafka;
using Silverback.Messaging.Messages;
usin... | 1.991484 | 29a76b310043dd7ba87fa0c7c031d9ba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73305 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "GreenOlvi/AdventOfCode",
"max_stars_repo_path": "2021/AOC2021/Day01/Puzzle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73306"
} | starcoder | using AOC2021.Common;
namespace AOC2021.Day01
{
public class Puzzle : PuzzleBase<int, int>
{
public Puzzle(IEnumerable<string> lines)
{
_input = lines.ParseInts().ToArray();
}
private readonly int[] _input;
public override int Solution1() =>
_i... | 3.257592 | 75b77bf96782d2ed313d0954b15d87ef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73306 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ai408/abp-vue-admin-element-typescript",
"max_stars_repo_path": "aspnet-core/services/apigateway/LINGYUN.ApiGateway.HttpApi.Host/ApiGatewayHttpApiHostAutoMapperProfile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73307"
} | starcoder | <gh_stars>1-10
using AutoMapper;
namespace LINGYUN.ApiGateway
{
public class ApiGatewayHttpApiHostAutoMapperProfile : Profile
{
public ApiGatewayHttpApiHostAutoMapperProfile()
{
}
}
}
| 1.063433 | 33e79c9cc4527d774423c8523ff79eb8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73307 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MihailRomanov/TechTalks_CodeGenerators",
"max_stars_repo_path": "For_blog/Scaffolders/VsScaffolders/DoNothing/DoNothingCodeGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73308"
} | starcoder | <gh_stars>1-10
using Microsoft.AspNet.Scaffolding;
using System.Windows;
namespace VsScaffolders.DoNothing
{
public class DoNothingCodeGenerator : CodeGenerator
{
public DoNothingCodeGenerator(CodeGenerationContext context, CodeGeneratorInformation information)
: base(context, information)... | 1.786282 | 3adbc40b4fdc7766dde0dafa4f5d3b0d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73308 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "omikolaj/the-p-league-api",
"max_stars_repo_path": "ThePLeagueDomain/Models/ApplicationToken.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73309"
} | starcoder | namespace ThePLeagueDomain.Models
{
public class ApplicationToken
{
public string access_token { get; set; }
public long expires_in { get; set; }
}
} | 1.601318 | e82ed7e7ee84672a61eea5da2179a0f4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73309 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "AlexanderKub/CopperCowEngine",
"max_stars_repo_path": "CopperCowEngine.AssetsManagement.Editor/Loaders/ObjLoader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73310"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.Numerics;
using CopperCowEngine.Rendering.Loaders;
namespace CopperCowEngine.AssetsManagement.Editor.Loaders
{
internal static class ObjLoader
{
private class FaceIndices
{
public int Vi;
... | 2.51226 | de7ae1d97c4bdf54139fca0849b6c97a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73310 | {
"extension": "c-sharp",
"max_stars_count": "322.0",
"max_stars_repo_name": "jairbubbles/csharp-language-server-protocol",
"max_stars_repo_path": "src/Client/LspClientReceiver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73311"
} | starcoder | <reponame>jairbubbles/csharp-language-server-protocol<gh_stars>100-1000
using System.Collections.Generic;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json.Linq;
using OmniSharp.Extensions.JsonRpc;
using OmniSharp.Extensions.JsonRpc.Server;
using OmniSharp.Extensions.LanguageServer.Protocol;
namespace OmniSha... | 1.812107 | ad43c731b4249234dd2d2cc643ba790b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73311 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SimonCropp/elasticsearch-net",
"max_stars_repo_path": "src/Elastic.Clients.Elasticsearch/_Generated/Types/Ml/DataframeEvaluationRegressionMetrics.g.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73312"
} | 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.
//
// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
// ██╔██╗... | 1.837599 | aacf1adebbe98dd4967bd095d1885214 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73312 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "usausa/Smart-Net-Resolver",
"max_stars_repo_path": "Smart.Resolver/Resolver/Attributes/ConstraintAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73313"
} | starcoder | namespace Smart.Resolver.Attributes
{
using System;
using Smart.Resolver.Constraints;
public abstract class ConstraintAttribute : Attribute
{
public abstract IConstraint CreateConstraint();
}
}
| 1.637865 | 58201b449055d846be7b4d9f2bc195ac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73313 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "evgeniyosipov/ancbe_old",
"max_stars_repo_path": "src/ANCBE/Models/Identity/ApplicationUser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73314"
} | starcoder | <reponame>evgeniyosipov/ancbe_old<filename>src/ANCBE/Models/Identity/ApplicationUser.cs
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
namespace ANCBE.Models.Identity
{
public class ApplicationUser : IdentityUser
{
}
}
| 1.298378 | 9d5029c95427351d2bd13d575b94843a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73314 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "prnthp/UnityPhysXPlugin",
"max_stars_repo_path": "Unity/PhysX Plugin/Assets/NVIDIA/PhysX/Runtime/Assets/PxSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73315"
} | starcoder | using System;
using UnityEngine;
namespace NVIDIA.PhysX.Unity
{
public class PxSettings : PxAsset
{
#region Properties
public override bool valid { get { return PxPhysics.valid; } }
public float lengthScale { get { return m_lengthScale; } set { m_lengthScale = value; Valid... | 1.587804 | 22aa7cff3214fa8ca919ae72df368357 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73315 | {
"extension": "c-sharp",
"max_stars_count": "1705.0",
"max_stars_repo_name": "ChristopherButtars/aws-sdk-net",
"max_stars_repo_path": "sdk/src/Services/ApplicationDiscoveryService/Generated/Model/StartImportTaskResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73316"
} | starcoder | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 1.713352 | 3496b69f4be74dd0fb48943a8694325f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73316 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mineorbit/DungeonsAndDungeonsCommon",
"max_stars_repo_path": "Runtime/AI/NavMeshComponents/Scripts/NavMeshModifierVolume.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73317"
} | starcoder | <reponame>Mineorbit/DungeonsAndDungeonsCommon
using System.Collections.Generic;
namespace UnityEngine.AI
{
[ExecuteInEditMode]
[AddComponentMenu("Navigation/NavMeshModifierVolume", 31)]
[HelpURL("https://github.com/Unity-Technologies/NavMeshComponents#documentation-draft")]
public class NavMeshModifier... | 2.2983 | 04862ca4232a0c5311f3feae465f6109 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73317 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FinnReilly/TesterCall",
"max_stars_repo_path": "TesterCall/Services/Generation/YamlExtraction/Interfaces/IYamlFileToOpenApiModelService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73318"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using TesterCall.Services.Generation.Interface;
namespace TesterCall.Services.Generation.YamlExtraction.Interfaces
{
public interface IYamlFileToOpenApiModelService : ISpecFileToOpenApiModelService
{
}
}
| 1.008612 | 38eed16b61f287268a862ca22fdc03ef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73318 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hannes-harnisch/Fractarium",
"max_stars_repo_path": "Fractarium/UserInterface/ColorTab.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73319"
} | starcoder | using Avalonia.Controls;
using Avalonia.Input;
using Avalonia.Interactivity;
using Avalonia.Markup.Xaml;
using Avalonia.Media;
using Fractarium.Logic;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text.RegularExpressions;
namespace Fractarium.UserInterface
{
/// <summary>
... | 2.457642 | 9175e076461bed54f30cc05eac0fdf00 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73319 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "romul1508/DebugDispClient",
"max_stars_repo_path": "adapters/TxRxAdapter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73320"
} | starcoder | <gh_stars>0
namespace DebugOmgDispClient.adapters
{
/// <summary>
/// Class - adapter, allows you to use a specific desired interface (which the parties have agreed on)
/// interacting with inappropriate (obsolete or otherwise)
/// author: <NAME>
/// e-mail: <EMAIL>
/// sinc 24.10.2021
//... | 1.883779 | f309a4ddd2692b015abef78e272d21f5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73320 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AconCavy/algorithm-csharp",
"max_stars_repo_path": "example/Algorithm.Examples/I.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73321"
} | starcoder | <reponame>AconCavy/algorithm-csharp
using System;
using System.Linq;
namespace Algorithm.Examples
{
public static class I
{
public static void Solve()
{
var S = Console.ReadLine();
var sa = StringAlgorithm.SuffixArray(S);
var answer = (long)S.Length * (S.Leng... | 3.055545 | 6ef3d344714de295269dd79e361af443 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73321 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "nimaller/azure-powershell",
"max_stars_repo_path": "src/Automation/Automation/Model/NodeConfigurationDeployment.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73322"
} | 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://w... | 1.59381 | 5dae8b1ef1446ec61aa1895e9102ec75 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73322 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jonnipolar/TDHeartBeat",
"max_stars_repo_path": "Assets/Scripts/TowerSelector.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73323"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine.Tilemaps;
using UnityEngine;
public class TowerSelector : MonoBehaviour
{
public Tilemap tilemap;
public SpriteRenderer arrows;
public SpriteRenderer towerPreview;
public List<Transform> towers;
Vector3 selectedTil... | 2.395462 | 36df9fef0aab83a8cd59d834a1d78903 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73323 | {
"extension": "c-sharp",
"max_stars_count": "61.0",
"max_stars_repo_name": "tqdv/OneWorldSDKforUnity",
"max_stars_repo_path": "src/Libraries/owsdk/Services/IFeatureProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73324"
} | starcoder | //Copyright SimBlocks LLC 2021
//https://www.simblocks.io/
//The source code in this file is licensed under the MIT License. See the LICENSE text file for full terms.
using System;
using System.Threading;
using System.Threading.Tasks;
using sbio.owsdk.Geodetic;
using sbio.owsdk.Features;
namespace sbio.owsdk.Services
... | 1.629512 | 55904ce36c56072345a86f187eda554d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73324 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Tailtinn/.NetBungieAPI",
"max_stars_repo_path": "NetBungieAPI/Models/Destiny/Components/DictionaryComponentResponseOfint64AndDestinyCharacterRecordsComponent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73325"
} | starcoder | using System.Collections.ObjectModel;
using System.Text.Json.Serialization;
namespace NetBungieAPI.Models.Destiny.Components
{
public sealed record DictionaryComponentResponseOfint64AndDestinyCharacterRecordsComponent : ComponentResponse
{
[JsonPropertyName("data")]
public ReadOnlyDictionary<l... | 1.819923 | 71030cf5495ccc5e37dc8caf5fdd50b9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73325 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "igoreksiz/GemBox.Spreadsheet.Examples",
"max_stars_repo_path": "GemBox.Spreadsheet Examples/Export To Xps Document/ExportToXpsDocumentCs/MainWindow.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73326"
} | starcoder | using System.Windows;
using System.Windows.Controls;
using System.Windows.Xps.Packaging;
using GemBox.Spreadsheet;
partial class MainWindow : Window
{
XpsDocument xpsDocument;
public MainWindow()
{
InitializeComponent();
SetDocumentViewer(this.DocumentViewer);
}
private void SetD... | 2.283822 | fb0468428f7b57ea01eda0d0577664e7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73326 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "DucThanhNguyen/MaterialCMS",
"max_stars_repo_path": "MaterialCMS/Helpers/SitemapDateHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73327"
} | starcoder | using System;
namespace MaterialCMS.Helpers
{
public static class SitemapDateHelper
{
public static string SitemapDateString(this DateTime dateTime)
{
var date = dateTime.ToString("O");
if (!date.EndsWith(":00"))
date += "+00:00";
return dat... | 2.506629 | 68667b9b565aeef78b366502ba7be8f1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73327 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "test-wiz-sec/pulumi-azure-nextgen",
"max_stars_repo_path": "sdk/dotnet/AlertsManagement/V20190505Preview/Inputs/ConditionsArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73328"
} | starcoder | // *** 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.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... | 1.70354 | f00ea73e95a2307159d4ae4791508da2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73328 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WSDOT-GIS/elc-dotnet-client",
"max_stars_repo_path": "Data Contracts/ElcContracts/StateRouteExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73329"
} | starcoder | using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
namespace Wsdot.Elc.Contracts
{
using System;
using RrtDict = Dictionary<Regex, string>;
/// <summary>
/// Provides extension methods for state route identifiers.
/// </summary>
publi... | 2.590886 | 6ba4e70fee2b06b424a98162a728957c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73329 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ViktorLazarov/SoftUniPractice-ProgBasics",
"max_stars_repo_path": "Training for Exam/ConsoleApplication1/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73330"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _3
{
class Program
{
static void Main(string[] args)
{
int workingDays = int.Parse(Console.ReadLine());
double dailyEarnings = double.Parse(Cons... | 3.158058 | bcc1f2937a6a1a39ce539702421d2a13 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73330 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "wieslawsoltes/wmf",
"max_stars_repo_path": "library/Records/Bitmap/WmfDIBBitBltRecord.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73331"
} | starcoder | <gh_stars>10-100
using System.IO;
using System.Text;
using Oxage.Wmf.Objects;
namespace Oxage.Wmf.Records
{
[WmfRecord(Type = RecordType.META_DIBBITBLT, SizeIsVariable = true)]
public class WmfDIBBitBltRecord : WmfBinaryRecord
{
public WmfDIBBitBltRecord() : base()
{
}
public TernaryRasterOpe... | 2.199269 | c1f0f19031ea03210e1af746cbf1551a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73331 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "UniversityTeam/filmhub-net",
"max_stars_repo_path": "Lab8/Lab8_3/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73332"
} | starcoder | using System;
using System.IO;
using System.Threading;
namespace Lab8_3
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Lab8 - Task: 4_3");
Console.WriteLine("\n");
fileWorker fw = new fileWorker("Test.txt");
... | 3.319431 | 0cbad70b5a09b26e7321a609c55871d0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73332 | {
"extension": "c-sharp",
"max_stars_count": "50.0",
"max_stars_repo_name": "kingspride/VhdAttach",
"max_stars_repo_path": "Source/VhdAttach/Messages.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73333"
} | starcoder | using System;
using System.Windows.Forms;
namespace VhdAttach {
internal static class Messages {
public static readonly string ServiceIOException = "Cannot contact VHD Attach service.";
public static void ShowServiceIOException(IWin32Window owner, Exception ex) {
Medo.Messag... | 2.228643 | 455e11e1be27829dea796dd00610e1d4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.