added
string
created
string
id
string
metadata
dict
source
string
text
string
code-score
float64
md5
string
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835312
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "forteller11/CART-315-Team-Prototype-03", "max_stars_repo_path": "Assets/Scripts/BackgroundScroll.cs", "provenance": "train-00027-of-00045.jsonl.gz:154532" }
starcoder
using System.Collections; using System.Collections.Generic; using UnityEngine; using System.Linq; public class BackgroundScroll : MonoBehaviour { public Vector2 speed = new Vector2(2, 2); public Vector2 direction = new Vector2(-1, 0); public bool isLinkedToCamera = false; public bool isLooping = false...
2.196048
c483733c14ed670dc369259ec5db3da9
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835313
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "voidNK/blueprint", "max_stars_repo_path": "Blueprint.Web/SharedResource.cs", "provenance": "train-00027-of-00045.jsonl.gz:154533" }
starcoder
namespace Blueprint.Web { public class SharedResource { } }
1.013811
0b578d180db5d76e2d4cc7d1752a04e1
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835314
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "Thanalan/GameBookClient", "max_stars_repo_path": "demo/Library/PackageCache/com.unity.package-manager-ui@2.0.13/Editor/Sources/Services/Packages/PackageCollection.cs", "provenance": "train-00027-of-00045.jsonl.gz:154534" }
starcoder
<reponame>Thanalan/GameBookClient using System; using System.Collections.Generic; using System.Linq; using UnityEngine; namespace UnityEditor.PackageManager.UI { [Serializable] internal class PackageCollection { private const string k_UnityPackage = "Unity"; private static PackageCollectio...
1.867225
62910056a0296325862ad57a0b71f7af
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835315
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "elgraiv-take/Midionette", "max_stars_repo_path": "src/Midionette/PropertyValueReceiverBase.cs", "provenance": "train-00027-of-00045.jsonl.gz:154535" }
starcoder
using System.Reflection; namespace Elgraiv.Midionette { public abstract class PropertyValueReceiverBase : IValueReceiver { public string Name { get; } private MethodInfo _setter; private object _target; public PropertyValueReceiverBase(string name,object targetObject,string p...
3.09288
d521f7a7d41bca8815a3d261f1e37afa
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835316
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "XACT-RobA/EasyRegression.NET", "max_stars_repo_path": "EasyRegression.Core/Optimisation/BaseOptimiser.cs", "provenance": "train-00027-of-00045.jsonl.gz:154536" }
starcoder
using System; using EasyRegression.Core.Common.Maths; using EasyRegression.Core.Common.Models; using Newtonsoft.Json.Linq; namespace EasyRegression.Core.Optimisation { public class BaseOptimiser : IOptimiser { public string GetOptimiserType() { return this.GetType().Name; } ...
2.774474
41efa2b3608bc91b3d472d584b4a2d28
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835317
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "TodorStamenov/FoodDelivery", "max_stars_repo_path": "FoodDelivery.Data/Models/User.cs", "provenance": "train-00027-of-00045.jsonl.gz:154537" }
starcoder
using FoodDelivery.Data.IdentityModels; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using System; using System.Collections.Generic; using System.Security.Claims; using System.Threading.Tasks; namespace FoodDelivery.Data.Models { public class User : IdentityUser<Guid, UserLogi...
2.221152
e4d3865fc40faab2af4ca2116e7ccf44
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835318
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "lewpapado92/MSolve-ImmunoMech", "max_stars_repo_path": "ISAAR.MSolve.Discretization/Commons/ITable.cs", "provenance": "train-00027-of-00045.jsonl.gz:154538" }
starcoder
using System; using System.Collections.Generic; namespace ISAAR.MSolve.Discretization.Commons { /// <summary> /// Interface for table data structures, which associate ordered pairs (row, column) with values. Contrary to matrices, not /// all (row, column) pairs of a table need to be associated with value...
3.221304
d710c7c7aea2aa184ec299ee1ccb8998
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835319
{ "extension": "c-sharp", "max_stars_count": "5.0", "max_stars_repo_name": "codebeltnet/classlib-savvyio", "max_stars_repo_path": "test/Savvyio.Assets.Tests/Domain/Events/AccountInitiatedChained.cs", "provenance": "train-00027-of-00045.jsonl.gz:154539" }
starcoder
using Savvyio.Domain; namespace Savvyio.Assets.Domain.Events { public class AccountInitiatedChained : DomainEvent { public AccountInitiatedChained() { } } }
1.281496
3de85078bc8daca89327752d25cc6178
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835320
{ "extension": "c-sharp", "max_stars_count": "8.0", "max_stars_repo_name": "ga-explorer/GMac", "max_stars_repo_path": "GraphicsComposerLib/GraphicsComposerLib/POVRay/SDL/Finishes/ISdlFinishItem.cs", "provenance": "train-00027-of-00045.jsonl.gz:154540" }
starcoder
<reponame>ga-explorer/GMac<gh_stars>1-10 namespace GraphicsComposerLib.POVRay.SDL.Finishes { public interface ISdlFinishItem : ISdlElement { } }
0.879531
d6c6b740d30234e312bf61fd5c8b0752
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835321
{ "extension": "c-sharp", "max_stars_count": "4.0", "max_stars_repo_name": "jiellse/Handlebars.Net.Mvc", "max_stars_repo_path": "source/HandlebarsDotNet.Mvc/ICache.cs", "provenance": "train-00027-of-00045.jsonl.gz:154541" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web.Caching; namespace HandlebarsDotNet.Mvc { // This interface is used instead of using the cache directly. // By mocking this it is easy to verify which cache calls were made during uni...
2.436166
2e95c9faee6bda57e9cec9e4ae5f5d4a
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835322
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "sunithshetty/.NET-Design-Patterns", "max_stars_repo_path": "B05691_04_code/Chapter4_Example/DbEngineAdapter.cs", "provenance": "train-00027-of-00045.jsonl.gz:154542" }
starcoder
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data; using System.Data.SQLite; namespace Chapter4_Example { public class DbEngineAdapter : IDbEngineAdapter { static ObjectFactory of = new ObjectFactory("DbDri...
2.650217
10fbe8f2061c8139e956a287cfa71fec
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835323
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "csf-dev/agiil", "max_stars_repo_path": "Agiil.Domain/Data/ITakesDatabaseBackup.cs", "provenance": "train-00027-of-00045.jsonl.gz:154543" }
starcoder
<reponame>csf-dev/agiil using System; namespace Agiil.Domain.Data { public interface ITakesDatabaseBackup { void TakeDatabaseBackup(string name); } }
1.355651
c4f419d6ad29eab99b025d4b523fc097
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835324
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "JohannaMoose/Owl", "max_stars_repo_path": "src/Owl.Tests.UnitTests/References/Author_Specs.cs", "provenance": "train-00027-of-00045.jsonl.gz:154544" }
starcoder
<reponame>JohannaMoose/Owl<gh_stars>0 using System.Linq; using NUnit.Framework; using Owl.References; namespace Owl.Tests.UnitTests.References { [TestFixture] public class Author_Specs { private Author SUT; [SetUp] public void Setup() { SUT = new Author(null, n...
2.702283
81fb79f4b40df25e40da503821612729
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835325
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "x-stars/DotNetExtensions", "max_stars_repo_path": "XstarS.DynamicProxy/MethodInvokeHandler.cs", "provenance": "train-00027-of-00045.jsonl.gz:154545" }
starcoder
using System.Reflection; namespace XstarS.Reflection { /// <summary> /// 表示方法调用时所用的代理。 /// </summary> /// <param name="instance">方法的实例参数。</param> /// <param name="method">当前调用的方法。</param> /// <param name="delegate">调用当前方法的委托。</param> /// <param name="arguments">方法的参数的值。</param> /// <re...
2.741645
21f2376598436cd0b62fc2194d15aa29
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835326
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "flxwhy/Aspdotnet6", "max_stars_repo_path": "AuthServer/ProfileService.cs", "provenance": "train-00027-of-00045.jsonl.gz:154546" }
starcoder
<filename>AuthServer/ProfileService.cs<gh_stars>1-10 using IdentityServer4.Models; using IdentityServer4.Services; namespace AuthServer { /// <summary> /// 用户信息访问 /// </summary> public class ProfileService : IProfileService { /// <summary> /// 构造 /// </summary> pub...
2.617713
78e10c9fab6be0ece9a1fbcdd591f8f3
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835327
{ "extension": "c-sharp", "max_stars_count": "124.0", "max_stars_repo_name": "Steph55/DirectN", "max_stars_repo_path": "DirectN/DirectN/Generated/_DXVAHD_DEVICE_TYPE.cs", "provenance": "train-00027-of-00045.jsonl.gz:154547" }
starcoder
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\dxvahd.h(125,1) namespace DirectN { public enum _DXVAHD_DEVICE_TYPE { DXVAHD_DEVICE_TYPE_HARDWARE = 0, DXVAHD_DEVICE_TYPE_SOFTWARE = 1, DXVAHD_DEVICE_TYPE_REFERENCE = 2, DXVAHD_DEVICE_TYPE_OTHER = 3, ...
1.545263
9dac6c6d45322f5931f666d8eb0859d6
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835328
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "airbreather/AirBreather.Core", "max_stars_repo_path": "Source/AirBreather.Common/AirBreather.Common/IO/DecimalSerializationUtility.cs", "provenance": "train-00027-of-00045.jsonl.gz:154548" }
starcoder
<filename>Source/AirBreather.Common/AirBreather.Common/IO/DecimalSerializationUtility.cs using System.Runtime.CompilerServices; namespace AirBreather.IO { // the layout of decimal in-memory is not the same as how it get serialized on the wire. // NON-PORTABLE: Nehalem and above will handle unaligned reads not...
2.699325
50c55dc0084dd3654f50e15785b4f698
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835329
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "dseefeld/sdk", "max_stars_repo_path": "src/Tasks/Microsoft.NET.Build.Tasks/GetNearestTargetFramework.cs", "provenance": "train-00027-of-00045.jsonl.gz:154549" }
starcoder
<reponame>dseefeld/sdk<gh_stars>1-10 // 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 Microsoft.Build.Framework; using Microsoft.Build.Utilities; using Newtonsoft.Json; using NuGet.Framew...
2.436796
59c05fa92e6513ce8a48d4b6cc67d9b5
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835330
{ "extension": "c-sharp", "max_stars_count": "27.0", "max_stars_repo_name": "apircher/netrix", "max_stars_repo_path": "NetrixPackage/Core/WebEditing/HightLighting/FontUnit_Enum.cs", "provenance": "train-00027-of-00045.jsonl.gz:154550" }
starcoder
<filename>NetrixPackage/Core/WebEditing/HightLighting/FontUnit_Enum.cs using System; namespace GuruComponents.Netrix.WebEditing { /// <summary> /// This enumeration returns the names and values of the possible /// values used for the "size" attribute of "font" tag. /// </summary> /// <remarks> ...
3.071352
9820ead2ab449ab3b8c52a9e35e3b6a2
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835331
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "kontext-tech/docu", "max_stars_repo_path": "src/Kontext.Docu.Web.Portals/Views/Search/Index.cshtml", "provenance": "train-00027-of-00045.jsonl.gz:154551" }
starcoder
<filename>src/Kontext.Docu.Web.Portals/Views/Search/Index.cshtml @{ ViewData["Title"] = $"{ViewBag.SearchKeyWord} - Search"; Layout = "_LayoutNoPadding"; } <div class="jumbotron"> <h2>@ViewBag.Title</h2> </div> <div class="container"> </div>
1.482314
8ad38ef69e26bf5d783de15106aa3297
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835332
{ "extension": "c-sharp", "max_stars_count": "419.0", "max_stars_repo_name": "vst-h/DotNetCore.SKIT.FlurlHttpClient.Wechat", "max_stars_repo_path": "src/SKIT.FlurlHttpClient.Wechat.Work/Models/CgibinMessage/CgibinMessageRecallResponse.cs", "provenance": "train-00027-of-00045.jsonl.gz:154552" }
starcoder
namespace SKIT.FlurlHttpClient.Wechat.Work.Models { /// <summary> /// <para>表示 [POST] /cgi-bin/message/recall 接口的响应。</para> /// </summary> public class CgibinMessageRecallResponse : WechatWorkResponse { } }
1.689549
db65a709ea8198eb2195b5cabb9f185c
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835333
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "uon-coehm/IQCare", "max_stars_repo_path": "SourceBase/Presentation/PresentationApp/AdminForms/Add_Edit_Education.aspx.cs", "provenance": "train-00027-of-00045.jsonl.gz:154553" }
starcoder
using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using Application.Common; using Application.Presentation; ...
1.848066
e397c870ded652f0baca823199cb0669
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835334
{ "extension": "c-sharp", "max_stars_count": "34.0", "max_stars_repo_name": "nesrak1/xenko", "max_stars_repo_path": "sources/presentation/Xenko.Core.Presentation/MarkupExtensions/VisibilityExtension.cs", "provenance": "train-00027-of-00045.jsonl.gz:154554" }
starcoder
<reponame>nesrak1/xenko // Copyright (c) Xenko contributors (https://xenko.com) and Silicon Studio Corp. (https://www.siliconstudio.co.jp) // Distributed under the MIT license. See the LICENSE.md file in the project root for more information. using System; using System.Windows; using System.Windows.Markup; using Xenko...
1.481592
96f65a6ab3dd3e94305cdea3ef37b232
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835335
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "rubiksmaster02/X10D", "max_stars_repo_path": "X10D.Performant/src/Custom/CharExtensions/CharExtensions.cs", "provenance": "train-00027-of-00045.jsonl.gz:154555" }
starcoder
using X10D.Performant.Int32Extensions; namespace X10D.Performant.CharExtensions; /// <summary> /// Extension methods for <see cref="char"/>. /// </summary> public static class CharExtensions { /// <include file='CharExtensions.xml' path='members/member[@name="GetNextLetter"]'/> public static char GetNext...
3.118505
3e73d9a21b049e13fbdc345c791a0bf6
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835336
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "yden063/LSG.GenericCrud", "max_stars_repo_path": "LSG.GenericCrud.Samples/Sample.DataFiller/Sample.DataFiller/Controllers/AccountsController.cs", "provenance": "train-00027-of-00045.jsonl.gz:154556" }
starcoder
using System; using LSG.GenericCrud.Controllers; using LSG.GenericCrud.Services; using Microsoft.AspNetCore.Mvc; using Sample.DataFiller.Models.Entities; namespace Sample.DataFiller.Controllers { [Route("api/[controller]")] public class AccountsController : CrudController<Account> { public Account...
1.741452
810b10df5ac8c9978eef3a42a2867c6e
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835337
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "mehmetbuber/GeneticAlgorithm", "max_stars_repo_path": "src/GeneticAlgorithm/GeneticAlgorithm/Controllers/HomeController.cs", "provenance": "train-00027-of-00045.jsonl.gz:154557" }
starcoder
<reponame>mehmetbuber/GeneticAlgorithm using MongoDB.Bson; using MongoDB.Driver; using MongoDB.Driver.Linq; using MongoDB.Driver.Core; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web.Mvc; using GeneticAlgorithm.Helpers; using GeneticAlgorithm.Models; namespace Ge...
2.181597
7287bc3cabb4837b6680d875edf1ef15
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835338
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "SafetyCone/R5T.D0010", "max_stars_repo_path": "source/R5T.D0010.Base/Code/Services/Definitions/IMessageSource.cs", "provenance": "train-00027-of-00045.jsonl.gz:154558" }
starcoder
using System; using System.Collections.Generic; using System.Threading.Tasks; using R5T.T0001; using R5T.T0064; namespace R5T.D0010 { [ServiceDefinitionMarker] public interface IMessageSource : IServiceDefinition { Task<IEnumerable<Message>> GetAsync(Func<Message, bool> predicate); ...
1.33909
ab0839e913e01703c5fce091edc0c6e6
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835339
{ "extension": "c-sharp", "max_stars_count": "8.0", "max_stars_repo_name": "willwill2will54/AT_Utils", "max_stars_repo_path": "Unity/Assets/UI/ColorListTester.cs", "provenance": "train-00027-of-00045.jsonl.gz:154559" }
starcoder
using UnityEngine; using UnityEngine.Events; namespace AT_Utils.UI { public class ColorListTester : MonoBehaviour { public ColorList colorList; public class ColoredTest : IColored { public Color color { get; set; } public ColoredTest(int i) { ...
2.477793
5f358611f97da6da7681d8f8cfb12e31
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835340
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "RikuVirtanen/Frends.Community.JSON", "max_stars_repo_path": "Frends.Community.JSON/Definition.cs", "provenance": "train-00027-of-00045.jsonl.gz:154560" }
starcoder
<filename>Frends.Community.JSON/Definition.cs #pragma warning disable 1591 using System; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using Newtonsoft.Json.Linq; namespace Frends.Community.Json { public class EnforceJsonTypesInput { /// <summary> /// The JSON strin...
2.844671
8bf1f1f7de88134edfaed4f6e81cdf04
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835341
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Andrei0903/Apallon", "max_stars_repo_path": "Apallon1/Apallon1/testingPage.xaml.cs", "provenance": "train-00027-of-00045.jsonl.gz:154561" }
starcoder
<reponame>Andrei0903/Apallon using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using ...
2.313369
dca6fa82daa5b2e12d05bf0e54287028
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835342
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ppdac/EMA-Study-SMS-Scheduler", "max_stars_repo_path": "SchedulerUI/SchedulerUI/Scheduler.cs", "provenance": "train-00027-of-00045.jsonl.gz:154562" }
starcoder
<reponame>ppdac/EMA-Study-SMS-Scheduler using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace SchedulerUI { public partial class Scheduler : For...
1.80675
5e4427898ccc054462c906b83fb9cd1c
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835343
{ "extension": "c-sharp", "max_stars_count": "6.0", "max_stars_repo_name": "ImJustMatt/SDVMods", "max_stars_repo_path": "StardewNotification/StardewNotificationAPI.cs", "provenance": "train-00027-of-00045.jsonl.gz:154563" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace StardewNotification { public interface IStardewNotificationAPI { } public class StardewNotificationAPI : IStardewNotificationAPI { } }
1.350952
fadd0c850d92d1f29ed77a2f3428d5aa
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835344
{ "extension": "c-sharp", "max_stars_count": "4.0", "max_stars_repo_name": "Relfos/PixelDotNet", "max_stars_repo_path": "PixelDotNet/Tools/LineTool.cs", "provenance": "train-00027-of-00045.jsonl.gz:154564" }
starcoder
///////////////////////////////////////////////////////////////////////////////// // Paint.NET // // Copyright (C) dotPDN LLC, <NAME>, <NAME>, and contributors. // // Portions Copyright (C) Microsoft Corporation. All Rights Reserved. // // S...
2.082354
8762f5a389f02057cf5fab119e58fbf2
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835345
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "SoftuniTeamBlackOlive/SupermarketChain", "max_stars_repo_path": "SupermarketChain/SupermarketChain.Data.SqlServer/ISupermarketChainData.cs", "provenance": "train-00027-of-00045.jsonl.gz:154565" }
starcoder
<filename>SupermarketChain/SupermarketChain.Data.SqlServer/ISupermarketChainData.cs namespace SupermarketChain.Data.SqlServer { using SupermarketChain.Data.SqlServer.Repositories; using SupermarketChain.Model; public interface ISupermarketChainData { IRepository<Product> Products { get; } ...
1.932524
74e42561e51c4a471af728ca37d6bfb2
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835346
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "WithoutHaste/WithoutHaste.DataFormats", "max_stars_repo_path": "DataFiles/DotNet/DotNetCommentListItem.cs", "provenance": "train-00027-of-00045.jsonl.gz:154566" }
starcoder
<filename>DataFiles/DotNet/DotNetCommentListItem.cs<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml; using System.Xml.Linq; namespace WithoutHaste.DataFiles.DotNet { /// <summary> /// Represents a listheader or item in a .Net XML documentation lis...
3.003785
c1c0c81d754ef08935bf7e177859f181
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835347
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "RishkoPavel/DynamicWeb", "max_stars_repo_path": "Files/Templates/Designs/Rapido/Page.cshtml", "provenance": "train-00027-of-00045.jsonl.gz:154567" }
starcoder
@inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.PageViewModel> @MasterPageFile("Master.cshtml") @using Dynamicweb.Rapido.Blocks.Components.General @using Dynamicweb.Rapido.Blocks @functions { BlocksPage page = BlocksPage.GetBlockPage("Page"); } @{ bool isProductPage = HttpContext.Curre...
1.93614
c3a3f18dbe1016c8e2dc559e4d6ed3a1
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835348
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "fruize/Rebus.AdoNet", "max_stars_repo_path": "Rebus.AdoNet/AdoNetSubscriptionStorageFluentConfigurer.cs", "provenance": "train-00027-of-00045.jsonl.gz:154568" }
starcoder
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Rebus.AdoNet { /// <summary> /// Fluent configurer that allows for configuring the underlying <see cref="AdoNetSubscriptionStorageFluentConfigurer"/> /// </summary> pub...
1.724512
a1210ef39a4c907cd6951984dc0d12e5
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835349
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "LazyTarget/ProcHelper", "max_stars_repo_path": "src/Remotus.Launcher/Program.cs", "provenance": "train-00027-of-00045.jsonl.gz:154569" }
starcoder
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Threading; using System.Xml.Serialization; using BrendanGrant.Helpers.FileAssociation; using Lux.Extensions; using Lux.IO; using Remotus.API; using Remotus.API.Net.Client; using Remotus.Base; using...
2.239367
9b1673d2e2862a9ce5c5630fcfb93a2e
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835350
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "JRBowman/simple-dotnet", "max_stars_repo_path": "Pages/_ViewImports.cshtml", "provenance": "train-00027-of-00045.jsonl.gz:154570" }
starcoder
<filename>Pages/_ViewImports.cshtml @using simple @namespace simple.Pages @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
1.531593
a04baa0bad5e1d7e5c3e3c4f9b9531fc
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835351
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "vitorbellotto/LoadProfileGenerator", "max_stars_repo_path": "SimulationEngine.Tests/MasterBatchfileTests.cs", "provenance": "train-00027-of-00045.jsonl.gz:154571" }
starcoder
<reponame>vitorbellotto/LoadProfileGenerator using System; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using Automation; using Common; using Common.JSON; using Common.Tests; using Database; using Database.Tables.Houses; using Database.Tests; using SimulationEngin...
1.584249
6483f2c7714ab60c2f30b436e9bfdb41
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835352
{ "extension": "c-sharp", "max_stars_count": "9.0", "max_stars_repo_name": "giga021/forge-api-dotnet-core", "max_stars_repo_path": "src/Autodesk.Forge.Core/ServiceCollectionExtensions.cs", "provenance": "train-00027-of-00045.jsonl.gz:154572" }
starcoder
/* * Forge SDK * * The Forge Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering. * * Licensed under the Apache License, Version 2.0 (the "License"); * y...
2.319659
e9dafb0b44e09cd1851a478a7f0deb76
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835353
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "harispandzic/eBordo-desktop-mobile", "max_stars_repo_path": "eBordo.Api/Database/Ugovor.cs", "provenance": "train-00027-of-00045.jsonl.gz:154573" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace eBordo.Api.Database { public class Ugovor { public int ugovorId { get; set; } public DateTime datumPocetka { get; set; } public DateTime datumZavrsetka { get; set; } publ...
1.634866
1c30962e2c09de296353205cbf36c16e
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835354
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "vain0x/playground", "max_stars_repo_path": "2017-10-31-csharp-sandbox-wpf-datagrid-with-pagination/VainZero.Sandbox.Wpf/MainWindow.xaml.cs", "provenance": "train-00027-of-00045.jsonl.gz:154574" }
starcoder
<filename>2017-10-31-csharp-sandbox-wpf-datagrid-with-pagination/VainZero.Sandbox.Wpf/MainWindow.xaml.cs using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Reactive.Concurrency; using System.Reactive.Disposables; using System.Reactive.Linq; using System.Reactive.S...
2.320238
cb009cf2529878c462ff2093888b9f2e
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835355
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Apskaita5/CARMA", "max_stars_repo_path": "src/A5Soft.CARMA.Application/LookupServiceBase.cs", "provenance": "train-00027-of-00045.jsonl.gz:154575" }
starcoder
using System; using System.Linq; using System.Reflection; using System.Security; using System.Security.Claims; using System.Threading.Tasks; using A5Soft.CARMA.Application.Authorization; using A5Soft.CARMA.Application.DataPortal; using A5Soft.CARMA.Domain; namespace A5Soft.CARMA.Application { /// <summary> //...
2.609684
243bb4fb9991fcc6bfa05659d4448c1c
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835356
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "benechols/Foundry", "max_stars_repo_path": "EVERFI/Foundry.Classes/AccessToken.cs", "provenance": "train-00027-of-00045.jsonl.gz:154576" }
starcoder
<filename>EVERFI/Foundry.Classes/AccessToken.cs using Newtonsoft.Json; namespace EVERFI.Foundry.Classes { public class AccessToken { [JsonProperty("access_token")] public string access_token { get; set; } [JsonProperty("token_type")] public string token_type { get; set; } [JsonPropert...
2.119051
54767f1509c62ab8aea3fab0ee38c649
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835357
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "GorbunowArtem/BoardGamesHomeCup", "max_stars_repo_path": "src/HorCup.Plays/Controllers/PlaysController.cs", "provenance": "train-00027-of-00045.jsonl.gz:154577" }
starcoder
<filename>src/HorCup.Plays/Controllers/PlaysController.cs using System; using System.Diagnostics.CodeAnalysis; using System.Net; using System.Threading.Tasks; using HorCup.Infrastructure.Responses; using HorCup.Plays.Commands.AddPlay; using HorCup.Plays.Queries.SearchPlays; using HorCup.Plays.ViewModels; using MediatR;...
2.201593
15e0a4f28f7992045e41ee0fdfe8c256
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835358
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "nicholas-maltbie/SpaceshipMurderTime", "max_stars_repo_path": "Assets/Scripts/Authoring/PlayerPrefabAuthoringComponent.cs", "provenance": "train-00027-of-00045.jsonl.gz:154578" }
starcoder
<filename>Assets/Scripts/Authoring/PlayerPrefabAuthoringComponent.cs using Unity.Entities; using UnityEngine; namespace PropHunt.Authoring { /// <summary> /// Component for storing a player prefab ID /// </summary> public struct PlayerPrefabComponent : IComponentData { /// <summary> ...
2.550211
62eac134fcd9dc7e83f0c0465ca421f2
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835359
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "petrasvestartas/NGon", "max_stars_repo_path": "Ngon/NGonsCore/NGonsCore/MeshUtil.cs", "provenance": "train-00027-of-00045.jsonl.gz:154579" }
starcoder
<gh_stars>1-10 using Grasshopper; using Grasshopper.Kernel.Data; using Rhino.Geometry; using System; using System.Collections.Generic; using System.Linq; namespace NGonsCore { public static class MeshUtil { public static void GetOverlap(Mesh m0, Mesh m1,double tolerance = 0.1) { //Check plane...
2.350238
480389bf7988ffec38bce616681eb11f
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835360
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "adammartinez271828/MechEngineer", "max_stars_repo_path": "source/Features/MechLabSlots/Patches/MechLabLocationWidget_SetData_Patch.cs", "provenance": "train-00027-of-00045.jsonl.gz:154580" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using BattleTech; using BattleTech.UI; using Harmony; using HBS.Extensions; using TMPro; using UnityEngine; using UnityEngine.UI; using Object = System.Object; using Random = UnityEngine.Random; namespace MechEngineer { [HarmonyPatch(typeof(MechLa...
1.943677
34c17d4e2dce05edf5e421e4e6af6dee
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835361
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "johnsimons/docs.particular.net", "max_stars_repo_path": "Snippets/Snippets_4/Persistence.cs", "provenance": "train-00027-of-00045.jsonl.gz:154581" }
starcoder
<reponame>johnsimons/docs.particular.net<gh_stars>0 using NServiceBus; public class Persistence { public void AllThePersistence() { #region ConfigurePersistenceV4 // Configure to use InMemory Configure.With().InMemorySagaPersister(); Configure.With().UseInMemoryTimeoutPersi...
1.357798
5b71c49b18cd477c204a8eb25230db40
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835362
{ "extension": "c-sharp", "max_stars_count": "5.0", "max_stars_repo_name": "smbc-digital/iag-webapp", "max_stars_repo_path": "test/StockportWebappTests_UI/StepDefinitions/GroupSearchSteps.cs", "provenance": "train-00027-of-00045.jsonl.gz:154582" }
starcoder
<reponame>smbc-digital/iag-webapp namespace StockportWebappTests_UI.StepDefinitions { [Binding, Scope(Tag = "groupsSearch")] public sealed class GroupsSearchSteps : UiTestBase { [When(@"I click the ""(.*)"" section")] public void WhenIClickTheSection(string sectionName) { ...
1.864198
b8c72cc557061f304d7ad57778ecbdb3
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835363
{ "extension": "c-sharp", "max_stars_count": "18.0", "max_stars_repo_name": "JohanLarsson/Gu.Reactive", "max_stars_repo_path": "Gu.Wpf.Reactive.Tests/FakesAndHelpers/DumpIfDebug.cs", "provenance": "train-00027-of-00045.jsonl.gz:154583" }
starcoder
namespace Gu.Wpf.Reactive.Tests.FakesAndHelpers { using System; using System.Diagnostics; internal static class DumpIfDebug { [Conditional("DEBUG")] internal static void WriteLine(string text) { Console.WriteLine(text); } [Conditional("DEBUG")] ...
2.20614
f7754890fe80f7fdfb70614103f89f82
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835364
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "b-slavov/Telerik-Software-Academy", "max_stars_repo_path": "11.Databases/15.Transactions-in-ADO.NET-and-EF/ATM.UI/ConsoleClient.cs", "provenance": "train-00027-of-00045.jsonl.gz:154584" }
starcoder
namespace ATM.UI { using System; using System.Threading; using Data; using Models.Mapping; internal class ConsoleClient { private static readonly AtmDbData AtmDbData = new AtmDbData(); private static void Main() { // Valid transaction Console.Wr...
2.876529
9f1e2487fe2a8249e78191574199283c
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835365
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "vtn-team/adventure-cube", "max_stars_repo_path": "Assets/Script/Game/Block/MasterData/MasterData.cs", "provenance": "train-00027-of-00045.jsonl.gz:154585" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MasterData { [Serializable] public class Cube { public int Id; public string Name; public string Prefab; public int Life; public int Figure;...
2.175178
91ec016c2c35c198cdafeea702040ec5
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835366
{ "extension": "c-sharp", "max_stars_count": "50.0", "max_stars_repo_name": "kpreisser/TaskDialog", "max_stars_repo_path": "TaskDialog.Example/Program.cs", "provenance": "train-00027-of-00045.jsonl.gz:154586" }
starcoder
<reponame>kpreisser/TaskDialog<gh_stars>10-100 using System; using System.Windows.Forms; using KPreisser.UI; namespace TaskDialogExample { class Program { [STAThread] static void Main() { ShowTaskDialogExample(); Console.ReadKey(); } private st...
2.808399
5cd72724df32e35968bc47f36d7a850a
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835367
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "BorisLechev/CSharp-OOP-Basics", "max_stars_repo_path": "C# OOP/4. Interfaces and Abstraction/Exercise/5.BorderControl/StartUp.cs", "provenance": "train-00027-of-00045.jsonl.gz:154587" }
starcoder
<reponame>BorisLechev/CSharp-OOP-Basics using _5.BorderControl.Interfaces; using System; using System.Collections.Generic; using System.Linq; namespace _5.BorderControl { public class StartUp { public static void Main() { List<IIdentifiable> identifiables = new List<IIdentifiable>(...
3.311059
18ba3c4e1f501d45192049841616712d
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835368
{ "extension": "c-sharp", "max_stars_count": "61.0", "max_stars_repo_name": "GabrielMottaDev/Destroying-Minecraft", "max_stars_repo_path": "Assets/Scripts/Index3D.cs", "provenance": "train-00027-of-00045.jsonl.gz:154588" }
starcoder
using System; using System.Collections.Generic; using UnityEngine; namespace Minecraft { /// <summary> /// Can be used to index a block or a chunk on the terrain. /// </summary> public struct Index3D : IEquatable<Index3D> { public int X { get; private set; } public int Y { get; pri...
2.985502
6ef4bb651d58a7ceec880ff33f66f547
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835369
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ichiroku11/Sample", "max_stars_repo_path": "src/AspNetCore3x/AntiForgeryWebApp/Controllers/DefaultController.cs", "provenance": "train-00027-of-00045.jsonl.gz:154589" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; namespace AntiForgeryWebApp.Controllers { public class DefaultController : Controller { public IActionResult Index() => View(); // トークンを検証する [HttpPost] public IActionResult Validat...
2.040998
260537cddb0ea5cfa1588d171b862425
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835370
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "jlcouto/3d-interaction-evaluation", "max_stars_repo_path": "Assets/Scripts/FileManager.cs", "provenance": "train-00027-of-00045.jsonl.gz:154590" }
starcoder
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using CsvHelper; using UnityEngine; public static class FileManager { public static string GetResultsFolder(string participantCode = null) { string baseFolder = "./Results/"; ...
2.40297
739c50df21433c8a72a34fa8d02ad6be
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835371
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "UKHomeOffice/glaa-web", "max_stars_repo_path": "GLAA.Web/Views/Shared/DisplayTemplates/OutsideSectorsViewModel.cshtml", "provenance": "train-00027-of-00045.jsonl.gz:154591" }
starcoder
@model GLAA.ViewModels.LicenceApplication.OutsideSectorsViewModel @if (Model?.SuppliesWorkersOutsideLicensableAreas != null && Model.SuppliesWorkersOutsideLicensableAreas.Value) { @Html.DisplayFor(m => m.SelectedSectors, "ListCheckboxListItem") if (Model.SelectedSectors.Any(x => x.Name == "Other" && x.Checked...
2.419184
87be6a89cdf021d0f223e70c7567d06c
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835372
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "daveroverts/Dutch-VACC-ATIS-Generator", "max_stars_repo_path": "DutchVACCATISGenerator/DutchVACCATISGenerator/Helpers/UnitTestHelper.cs", "provenance": "train-00027-of-00045.jsonl.gz:154592" }
starcoder
using System; using System.Linq; namespace DutchVACCATISGenerator.Helpers { public class UnitTestHelper { /// <summary> /// Detects if the current code is being executed from a unit test. /// </summary> /// <returns></returns> public static bool Detect_IsUnitTestRun...
2.57122
0ad07f505663b5362ef76401a34a1f7f
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835373
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "DevelApp-dk/Workflow.Core", "max_stars_repo_path": "Workflow.Core/Exceptions/JsonDataStringException.cs", "provenance": "train-00027-of-00045.jsonl.gz:154593" }
starcoder
using System; using System.Runtime.Serialization; namespace DevelApp.Workflow.Core.Exceptions { [Serializable] internal class JsonDataStringException : Exception { public JsonDataStringException() { } public JsonDataStringException(string message) : base(message) {...
2.143916
8a996e5a5b25d5e12a449bf4656abb0b
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835374
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "dotindo/9deddde2", "max_stars_repo_path": "DotMercy/DotMercy/custom/ProcessControlPlan.aspx.cs", "provenance": "train-00027-of-00045.jsonl.gz:154594" }
starcoder
using DevExpress.Web; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using System.Data.SqlClient; using System.IO; using System.Data.OleDb; namespace DotMercy.custom { public partial class ProcessContro...
1.922311
2799cebdc31b19690315b5b5477d32c0
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835375
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "shelldudu/never_application", "max_stars_repo_path": "src/admin/B2C.Admin.Web/Permissions/Events/CreateEmployeeEvent.cs", "provenance": "train-00027-of-00045.jsonl.gz:154595" }
starcoder
using Never.EventStreams; using B2C.Admin.Web.Permissions.EnumTypes; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace B2C.Admin.Web.Permissions.Events { [Serializable, EventDomain(Domain = "admin")] public class CreateEmployeeEvent : Never.Events.AggregateRootCre...
1.89386
5be18395f6a50633e44f94208ea27887
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835376
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "hlippke/solid-state", "max_stars_repo_path": "Solid.State.Tests/TelephoneStates/DiallingState.cs", "provenance": "train-00027-of-00045.jsonl.gz:154596" }
starcoder
<reponame>hlippke/solid-state<gh_stars>1-10 namespace Solid.State.Tests.TelephoneStates { public class DiallingState : SolidState { } }
1.177164
9c51ba8e0c597ac7b304279649000101
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835377
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "markliao-test/vita_core_csharp", "max_stars_repo_path": "source/Htc.Vita.Core/Json/JsonObject.cs", "provenance": "train-00027-of-00045.jsonl.gz:154597" }
starcoder
<reponame>markliao-test/vita_core_csharp using System; using System.Collections.Generic; using Htc.Vita.Core.Log; namespace Htc.Vita.Core.Json { public abstract class JsonObject { public ICollection<string> AllKeys() { ICollection<string> result = null; try ...
2.238371
084fc6acfc83fc17fdca05f9d21e5964
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835378
{ "extension": "c-sharp", "max_stars_count": "23.0", "max_stars_repo_name": "Lunahold/Windows-AppConsult-PWALab", "max_stars_repo_path": "Lab/Exercise3/02-End/Contoso.PushServer/Pages/Index.cshtml", "provenance": "train-00027-of-00045.jsonl.gz:154598" }
starcoder
@page @model IndexModel @{ ViewData["Title"] = "Home page"; } <div class="text-center"> <h1 class="display-4">Welcome to Contoso Backend</h1> <p>Select a subscription to send a push notification.</p> <table> <tr> <td><strong>Channel Uri</strong></td> <td><strong>Send n...
2.827008
877ad76aa479e5096b40e97ab41fc029
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835379
{ "extension": "c-sharp", "max_stars_count": "6.0", "max_stars_repo_name": "DanielWieder/PoeCraftLib", "max_stars_repo_path": "src/Simulator/Model/Crafting/CraftingCondition.cs", "provenance": "train-00027-of-00045.jsonl.gz:154599" }
starcoder
<reponame>DanielWieder/PoeCraftLib using System.Collections.Generic; namespace PoeCraftLib.Simulator.Model.Crafting { public class CraftingCondition { public List<CraftingSubcondition> CraftingSubConditions = new List<CraftingSubcondition>(); } }
1.478226
e284d0a07f73d7011d50ac56426361f9
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835380
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "GabFillit/Ecole", "max_stars_repo_path": "Tunder.API/Controllers/BaseAuthController.cs", "provenance": "train-00027-of-00045.jsonl.gz:154600" }
starcoder
<reponame>GabFillit/Ecole using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using Data.Model; using Data.Model.Repository; using Microsoft.AspNetCore.Mvc; namespace Tunder.API.Controllers { public abstract class BaseAuthController : Cont...
2.058156
c9557f30cf676495eee27bf668fc703d
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835381
{ "extension": "c-sharp", "max_stars_count": "16.0", "max_stars_repo_name": "EdwinVW/nats-demos", "max_stars_repo_path": "src/NATS-Streaming/Store/OrderProcessingService/Repositories/IOrderRepository.cs", "provenance": "train-00027-of-00045.jsonl.gz:154601" }
starcoder
using Store.OrderProcessingService.Domain.Events; using Store.OrderProcessingService.Domain; namespace Store.OrderProcessingService.Repositories { public interface IOrderRepository { void Close(); Order GetByOrderNumber(string orderNumber); void Update(string orderNumber, BusinessEvent ...
1.609
ff84149992d0d6eda44b7f014830af52
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835382
{ "extension": "c-sharp", "max_stars_count": "31.0", "max_stars_repo_name": "FFIG/ffig", "max_stars_repo_path": "tests/dotnet/TestNumber/TestNumber.cs", "provenance": "train-00027-of-00045.jsonl.gz:154602" }
starcoder
<filename>tests/dotnet/TestNumber/TestNumber.cs using Number_c; using NUnit.Framework; namespace TestFFIG { [TestFixture] public class TestNumber { [Test] public void NumberValue() { var number = new Number(8); Assert.AreEqual(number.value(), 8); ...
2.449872
cf5ebf53108fec0aba69c203a2373981
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835383
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "FlorianGrimm/OfaSchlupfer", "max_stars_repo_path": "OfaSchlupfer.MSSQLReflection/AST/Nodes/ExecuteSpecification.cs", "provenance": "train-00027-of-00045.jsonl.gz:154603" }
starcoder
<gh_stars>1-10 #pragma warning disable SA1107,SA1127,SA1128,SA1402,SA1516,SA1515,SA1600 namespace OfaSchlupfer.MSSQLReflection.AST { using ScriptDom = Microsoft.SqlServer.TransactSql.ScriptDom; [System.Serializable] [System.Diagnostics.DebuggerNonUserCode] public sealed class ExecuteSpecification : Sql...
1.864748
6dc7ba141d36efe7a66fe62d7f04b20a
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835384
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "zhangming2/zhangming2", "max_stars_repo_path": "WaterCloud/WaterCloud.Code/Date/DataCache.cs", "provenance": "train-00027-of-00045.jsonl.gz:154604" }
starcoder
<filename>WaterCloud/WaterCloud.Code/Date/DataCache.cs using System; using System.Collections.Generic; using System.Text; using System.Web; using System.Web.Caching; using System.IO; namespace WaterCloud.Code { /// <summary> /// 网页中的缓存类,使用示例: /// object obj = DataCache.GetCache("file1",depfile); ...
2.681531
58b2ecb9a8195fc7cd98ef389f12a513
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835385
{ "extension": "c-sharp", "max_stars_count": "37.0", "max_stars_repo_name": "biproberkay/SdvCodeWebsite", "max_stars_repo_path": "SdvCode/SdvCode/SecurityModels/TwilioVerifySettings.cs", "provenance": "train-00027-of-00045.jsonl.gz:154605" }
starcoder
<reponame>biproberkay/SdvCodeWebsite // Copyright (c) SDV Code Project. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace SdvCode.SecurityModels { public class TwilioVerifySettings { public string VerificationServiceSID...
0.791609
2d7d6fa7c2c5afbbd32d7bc24522c5ec
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835386
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "SCCapstone/CapstoneEmployeeScheduler", "max_stars_repo_path": "CapstoneEmployeeScheduler/Views/LoginWindow.xaml.cs", "provenance": "train-00027-of-00045.jsonl.gz:154606" }
starcoder
using CapstoneEmployeeScheduler.Controllers; using CapstoneEmployeeScheduler.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using ...
2.734043
ce819f8c8c2de922145505a3d2f52b75
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835387
{ "extension": "c-sharp", "max_stars_count": "9402.0", "max_stars_repo_name": "pyracanda/runtime", "max_stars_repo_path": "src/mono/mono/tests/sgen-case-23400.cs", "provenance": "train-00027-of-00045.jsonl.gz:154607" }
starcoder
<reponame>pyracanda/runtime<gh_stars>1000+ using System; using System.Collections.Generic; class StructArray16Test { struct RefAt64 { public long p1, p2, p3, p4, p5, p6, p7, p8; public object reference; } struct RefAt128 { public long p1, p2, p3, p4, p5, p6, p7, p8; public long q1, q2, q3, q4,...
2.235602
91c68c5941410bf13dc93b933fb55d88
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835388
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "HurricanKai/EntityDemo", "max_stars_repo_path": "UpdateTransform.cs", "provenance": "train-00027-of-00045.jsonl.gz:154608" }
starcoder
using System; using System.Numerics; namespace EntityDemo { public interface UpdateTransform { Guid EntityId { get; } Vector3 Position { get; } Vector3 Velocity { get; } } }
1.765401
f3d29c85d3687d08aebade0eeb4204c9
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835389
{ "extension": "c-sharp", "max_stars_count": "11.0", "max_stars_repo_name": "dongdapeng110/SharpDevelopTest", "max_stars_repo_path": "src/AddIns/Misc/PackageManagement/Project/Src/Scripting/IPackageScriptSession.cs", "provenance": "train-00027-of-00045.jsonl.gz:154609" }
starcoder
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) // This code is distributed under the GNU LGPL (for details please see \doc\license.txt) using System; namespace ICSharpCode.PackageManagement.Scripting { public interface IPackageScriptSession { void SetEnviro...
1.625049
b39975a19cfcb7cf465b6bc09c1648a4
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835390
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "vahaponur/Realm-Rush", "max_stars_repo_path": "Assets/Editor/CoordinateLabeler.cs", "provenance": "train-00027-of-00045.jsonl.gz:154610" }
starcoder
using System.Collections; using System.Collections.Generic; using UnityEngine; using TMPro; /// <summary> /// Labels tile coordinates as 2D Cartesian Coordinate System /// </summary> [ExecuteAlways][RequireComponent(typeof(TMP_Text))] public class CoordinateLabeler : MonoBehaviour { #region Serialized Fields ...
2.525711
65ccf7a508586f0805da3df54045580a
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835391
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "maciur/TrafficComet", "max_stars_repo_path": "TrafficComet.Core/ServerTrafficLog.cs", "provenance": "train-00027-of-00045.jsonl.gz:154611" }
starcoder
using TrafficComet.Abstracts.Logs; namespace TrafficComet.Core { public class ServerTrafficLog : IServerTrafficLog { public string IpAddress { get; set; } public string MachineName { get; set; } } }
1.659468
3baec46cc949a1afa69c214ba994dd51
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835392
{ "extension": "c-sharp", "max_stars_count": "17.0", "max_stars_repo_name": "matherm-aboehm/SharpSvn", "max_stars_repo_path": "src/SharpSvn.Tests/Commands/RelocateTests.cs", "provenance": "train-00027-of-00045.jsonl.gz:154612" }
starcoder
// // Copyright 2008-2009 The SharpSvn Project // // 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 ...
1.989607
2e1d6526ce5b348dcbdc57c8d248d0f8
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835393
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Johnnyborov/QRCopyPaste", "max_stars_repo_path": "UI/QRCopyPaste.Desktop/QRLogic/Delegates.cs", "provenance": "train-00027-of-00045.jsonl.gz:154613" }
starcoder
using System.Windows.Media; namespace QRCopyPaste { public delegate void QRTextDataReceivedEventHandler(string data); public delegate void ErrorEventHandler(string msg); public delegate void QRImageChangedEventHandler(ImageSource imageSource); }
1.590884
29b1d1ef0f1b80bd03680f8630b52ec5
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835394
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "milou-se/milou.deployer", "max_stars_repo_path": "src/Milou.Deployer.Web.IisHost/Areas/Settings/Controllers/DiagnosticsViewHandler.cs", "provenance": "train-00027-of-00045.jsonl.gz:154614" }
starcoder
<reponame>milou-se/milou.deployer<gh_stars>0 using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Collections.Specialized; using System.IO; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using Arbor.App.Extensions; using Arbor.App...
1.549686
324425bc624c9026ec9d91598e7c266b
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835395
{ "extension": "c-sharp", "max_stars_count": "8.0", "max_stars_repo_name": "PelionIoT/mbed-cloud-sdk-dotnet", "max_stars_repo_path": "src/SDK/Foundation/Devices/Device/DeviceState.cs", "provenance": "train-00027-of-00045.jsonl.gz:154615" }
starcoder
// <auto-generated> // // Generated by // _ _ // /\/\ __ _ _ __ | |__ __ _ ___ ___ ___| |_ // / \ / _` | '_ \| '_ \ / _` / __/ __|/ _ \ __| // / /\/\ \ (_| | | | | | | | (_| \__ \__ \ __/ |_ // \/ \/\__,_|_| |_|_| |_|\__,_|___/___/\___|\__| v 2.0.0 // // <copyri...
1.465945
de64b0855713a83f16517aa55304c423
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835396
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "NorthRebel/Marathon", "max_stars_repo_path": "Src/Marathon.Desktop/IoC/ClientDataStore.cs", "provenance": "train-00027-of-00045.jsonl.gz:154616" }
starcoder
<reponame>NorthRebel/Marathon using System.IO; using System.Threading.Tasks; using Marathon.Core.Models.User; using Marathon.Core.IoC.Interfaces; using System.Runtime.Serialization.Formatters.Binary; namespace Marathon.Desktop.IoC { /// <summary> /// The applications implementation of the <see cref="IClientDa...
2.830681
29096616b250139c448d3366b893d1ba
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835397
{ "extension": "c-sharp", "max_stars_count": "159.0", "max_stars_repo_name": "Enough7/Xunit.Gherkin.Quick", "max_stars_repo_path": "source/Xunit.Gherkin.Quick.ProjectConsumer/HandlingNotImplementedFeatures/HandleNotImplemented.cs", "provenance": "train-00027-of-00045.jsonl.gz:154617" }
starcoder
<filename>source/Xunit.Gherkin.Quick.ProjectConsumer/HandlingNotImplementedFeatures/HandleNotImplemented.cs namespace Xunit.Gherkin.Quick.ProjectConsumer { [FeatureFileSearchPattern("*.feature")] public sealed class HandleNotImplemented : MissingFeature { } }
1.451674
a9466cc3b3fd6d4b44d203c4861faa03
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835398
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "qurihara/oah_evaluation", "max_stars_repo_path": "OAH_Evaluation/Form1.cs", "provenance": "train-00027-of-00045.jsonl.gz:154618" }
starcoder
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using Sharpduino; using Sharpduino.Constants; // Read an analog value //float v...
2.579834
79e9e9e7cacf30aa3a7512d5ee63e312
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835399
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Infosys/Script-Control-Center", "max_stars_repo_path": "WEMServices/WEM.ServiceImplementation/Translators/Observer/NotificationCallBack.cs", "provenance": "train-00027-of-00045.jsonl.gz:154619" }
starcoder
/**************************************************************** Copyright 2021 Infosys Ltd. Use of this source code is governed by Apache License Version 2.0 that can be found in the LICENSE file or at http://www.apache.org/licenses/ ***************************************************************/ using Infosys.W...
2.119296
8d80bb278f8eef606b8648ca03213602
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835400
{ "extension": "c-sharp", "max_stars_count": "7.0", "max_stars_repo_name": "philipzloh/mainpuzzleserver", "max_stars_repo_path": "ServerCore/Pages/Pieces/Index.cshtml", "provenance": "train-00027-of-00045.jsonl.gz:154620" }
starcoder
@page "/{eventId}/{eventRole}/Pieces/{puzzleId}" @model ServerCore.Pages.Pieces.IndexModel @{ ViewData["Title"] = "Pieces"; } <h2>Index</h2> <p> <a asp-page="Create" asp-route-puzzleId="@Model.PuzzleId">Create New</a> | <a asp-page="CreateBulk" asp-route-puzzleId="@Model.PuzzleId">Bulk Create</a> </p> <...
2.29335
924748bf7b1385f5e1a680553816098b
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835401
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "sub-c/AllegroDotNet", "max_stars_repo_path": "AllegroDotNet/Models/AllegroEvent_All.cs", "provenance": "train-00027-of-00045.jsonl.gz:154621" }
starcoder
<filename>AllegroDotNet/Models/AllegroEvent_All.cs namespace SubC.AllegroDotNet.Models { /// <summary> /// Event data common to all events. /// </summary> public sealed class AllegroEvent_All { /// <summary> /// Source that raised the event. /// </summary> public All...
2.617789
ae93fe22561c8b97dcaf4d422c05df9f
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835402
{ "extension": "c-sharp", "max_stars_count": "6.0", "max_stars_repo_name": "KacperGra/Minecraft-2D", "max_stars_repo_path": "Minecraft 2D/Assets/Scripts/Map/Chunk.cs", "provenance": "train-00027-of-00045.jsonl.gz:154622" }
starcoder
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Tilemaps; public class Chunk { public const int Size = 25; private readonly Tilemap tilemap; private readonly int x; private readonly int y; private ChunkTile[,] tiles; public Tilemap Tilemap => ...
2.618744
e3c3c1345424144d5ba24edb66ffe9f7
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835403
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "naveego/plugin-smartsheets", "max_stars_repo_path": "PluginSmartSheets/API/Discover/GetAllSchemas.cs", "provenance": "train-00027-of-00045.jsonl.gz:154623" }
starcoder
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; using Naveego.Sdk.Plugins; using Newtonsoft.Json; using PluginSmartSheets.API.Utility; using PluginSmartSheets.DataContracts; using PluginSmartSheets.API.Factory; using PluginSma...
2.302737
5861c87c090c29c522a33778d3dda8bf
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835404
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "JulieLy8619/AsyncInn", "max_stars_repo_path": "AsyncInn/Views/_ViewImports.cshtml", "provenance": "train-00027-of-00045.jsonl.gz:154624" }
starcoder
@addTagHelper*,Microsoft.AspNetCore.Mvc.TagHelpers
0.8189
cc3e8a36a9fff8922b1a8707c5d656e6
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835405
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "feygon/ETLProcess", "max_stars_repo_path": "ETLProcessFactory/IO/IODirectory.cs", "provenance": "train-00027-of-00045.jsonl.gz:154625" }
starcoder
<filename>ETLProcessFactory/IO/IODirectory.cs using System; using System.IO; namespace ETLProcessFactory.IO { public class IODirectory { public static readonly string AssemblyDirectory = Directory.GetCurrentDirectory(); public static Guid PrepGuid { get; } = Guid.NewGuid(); public static st...
2.969132
c09f484e4e163c7f4be13b6777ca8a2f
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835406
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "cadsit/xamarin-macios", "max_stars_repo_path": "src/AudioToolbox/MusicPlayer.cs", "provenance": "train-00027-of-00045.jsonl.gz:154626" }
starcoder
<reponame>cadsit/xamarin-macios<gh_stars>1-10 // // MusicPlayer.cs: Bindings to the AudioToolbox's MusicPlayers APIs // // Authors: // <NAME> // // Copyright 2012-2014 Xamarin Inc. // // #if IOS || TVOS using System; using System.Runtime.InteropServices; using XamCore.ObjCRuntime; using XamCore.Foundation; namesp...
1.734489
1c9b9b65d68436fa0759cad5f0eb03ab
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835407
{ "extension": "c-sharp", "max_stars_count": "6.0", "max_stars_repo_name": "Miruken-DotNet/miruken", "max_stars_repo_path": "Test/Miruken.Tests/Api/HandlerTests.Api.cs", "provenance": "train-00027-of-00045.jsonl.gz:154627" }
starcoder
<gh_stars>1-10 // ReSharper disable UnusedMember.Local // ReSharper disable MemberCanBePrivate.Global // ReSharper disable UnusedParameter.Local namespace Miruken.Tests.Api { using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Threading.Tasks; us...
2.062883
57721a3d32bba6c189086596417c35b0
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835408
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "pigwing/NModbus4.NetCore", "max_stars_repo_path": "NModbus4.UnitTests/Message/ReturnQueryDataRequestResponseFixture.cs", "provenance": "train-00027-of-00045.jsonl.gz:154628" }
starcoder
using Modbus.Data; using Modbus.Message; using Xunit; namespace Modbus.UnitTests.Message; public class ReturnQueryDataRequestResponseFixture { [Fact] public void ReturnQueryDataRequestResponse() { RegisterCollection data = new(1, 2, 3, 4); DiagnosticsRequestResponse request = new(Modbus.D...
1.947965
224b779ed7c92c43c983fcb83a4d1304
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835409
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "storm32600/Silk.NET", "max_stars_repo_path": "src/Microsoft/Silk.NET.Direct3D9/Enums/MultisampleType.gen.cs", "provenance": "train-00027-of-00045.jsonl.gz:154629" }
starcoder
<filename>src/Microsoft/Silk.NET.Direct3D9/Enums/MultisampleType.gen.cs // This file is part of Silk.NET. // // You may modify and distribute Silk.NET under the terms // of the MIT license. See the LICENSE file for details. using System; using Silk.NET.Core.Attributes; #pragma warning disable 1591 namespace Silk.N...
1.789509
729403c7be9d039d7e776e281100b51a
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835410
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "georgemcz/SimpleScheduler", "max_stars_repo_path": "TimeZones/Time.cs", "provenance": "train-00027-of-00045.jsonl.gz:154630" }
starcoder
using System; namespace Simple.Scheduler { /// <summary> /// Represents the time in system. Use this class everywhere you need to access the system time. /// The <see cref="Time.Now"/> is automatically converted to the correct time zone. /// </summary> public static class Time { /// <su...
3.451664
9a88e2c9174d688599e5ecd3fd426b43
2023-09-08T23:13:54.396Z
2023-09-08T23:13:54.396Z
8835411
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "jim-lightfoot/mondo", "max_stars_repo_path": "Test/Mondo.Globalization.Test/Globalization.cs", "provenance": "train-00027-of-00045.jsonl.gz:154631" }
starcoder
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace MondoTest { [TestClass] public class Globalization { [TestMethod] public void Mondo_Globalization_IsValidTimeZone() { Assert.IsTrue(Mondo.Globalization.Globalization.IsValidTimeZone("Pacific Sta...
2.409907
0b9ff49c681a05cab2746208125fb1a6