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 | 88861 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hansmei/JkumParser",
"max_stars_repo_path": "JkumParser/Models/ManholeLink.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88862"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace JkumParser
{
[Serializable]
public class ManholeLink : ModelBase
{
[JsonProperty(PropertyName = "guid", Required = Required.Always)]
public s... | 2.080584 | acd738f16a0593c9aca45d99e6836e29 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88862 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "devlead/Cake.Kudu",
"max_stars_repo_path": "src/Cake.Kudu/Provider/WebSite.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88863"
} | starcoder | <reponame>devlead/Cake.Kudu<filename>src/Cake.Kudu/Provider/WebSite.cs
using System.Collections.Generic;
using Cake.Core.IO;
using Cake.Kudu.Helpers;
namespace Cake.Kudu.Provider
{
/// <summary>
/// Provides info about Kudu website environment.
/// </summary>
// ReSharper disable once InconsistentNamin... | 2.244133 | 94b26d934af578b45d26cb5d6db4546c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88863 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "trungtruongpham/photoMe",
"max_stars_repo_path": "photoMe_api/Services/SelectOptionService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88864"
} | starcoder | <filename>photoMe_api/Services/SelectOptionService.cs
using System.Collections.Generic;
using photoMe_api.Models;
using photoMe_api.Repositories;
namespace photoMe_api.Services
{
public interface ISelectOptionService
{
IEnumerable<SelectOption> GetAll();
}
public class SelectOptionService : ISe... | 2.726417 | 63a8a093460b2d989484beb950d0c8a7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88864 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "alexfordc/Au",
"max_stars_repo_path": "_/Templates/files/Examples/@Triggers and toolbars/Toolbars/Window toolbars template.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88865"
} | starcoder | <reponame>alexfordc/Au<gh_stars>1-10
//This file can be used as a template for new files containing window toolbars.
//1. Clone it with Ctrl + drag. Open the clone.
//2. Rename function RenameMeToolbars. It must be a unique name in this project folder. For example CalculatorToolbars.
//3. Add and edit one or more toolb... | 2.476811 | 4688b3e5d3c03d21a7ba06aadec66317 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88865 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nayanshah/BuildXL",
"max_stars_repo_path": "Public/Src/FrontEnd/TypeScript.Net/TypeScript.Net/TypeChecking/ThreadSafeCounters.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88866"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Threading;
using TypeScript.Net.Core;
using TypeScript.Net.Types;
namespace TypeScript.Net.TypeChecking
{
internal class ThreadSafeCounters
... | 2.483814 | a03a163b01375c44c988fcb45bb4cbe7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88866 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Suzii/thesis-roslyn",
"max_stars_repo_path": "utils/SampleProjectGenerator/SampleProjectGenerator/CodeGenerators/BaseClassRules/Implementation/WebPartBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88867"
} | starcoder | namespace SampleProjectGenerator.CodeGenerators.BaseClassRules.Implementation
{
public class WebPartBase : BaseForBaseClassesCodeGenerator
{
public override FakeFileInfo GetFakeFileInfo(int index)
{
return new FakeFileInfo(nameof(WebPartBase), index)
{
Fi... | 2.096539 | 00b243a6e0cdd386782920ff6119132c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88867 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Maskside/Goliath",
"max_stars_repo_path": "Til Styresystemet/Test/GeckoFxControls/Controls/HtmlTextBox.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88868"
} | starcoder | <filename>Til Styresystemet/Test/GeckoFxControls/Controls/HtmlTextBox.cs
using System;
using System.Drawing;
using System.Collections.Generic;
using System.Windows.Forms;
using Gecko;
using Gecko.DOM;
namespace GeckoFxControls
{
public class HtmlTextBox : HtmlBaseControl
{
#region Member Variables
/// <su... | 2.534472 | c57123ef7212727e74b8bbf7ca133b91 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88868 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jrob/Expression-Evaluator",
"max_stars_repo_path": "ExpressionEvaluatorTests/ContainsTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88869"
} | starcoder | <reponame>jrob/Expression-Evaluator
using NUnit.Framework;
using Vanderbilt.Biostatistics.Wfccm2;
namespace ExpressionEvaluatorTests
{
[TestFixture]
public class ContainsTests
{
private Expression _func;
[SetUp]
public void Init() { _func = new Expression(""); }
[TearDown... | 2.345469 | a9e5bd2ee53da7cbadd2a2f1d07fbade |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88869 | {
"extension": "c-sharp",
"max_stars_count": "71.0",
"max_stars_repo_name": "ScriptBox99/msgraph-beta-sdk-dotnet",
"max_stars_repo_path": "src/Microsoft.Graph/Generated/requests/UserExperienceAnalyticsResourcePerformanceRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88870"
} | starcoder | <reponame>ScriptBox99/msgraph-beta-sdk-dotnet<gh_stars>10-100
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// -------------------... | 1.754871 | 08d532b7e2ceab9213101d02d11053ac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88870 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "EntitySpaces/EntitySpaces-CompleteSource",
"max_stars_repo_path": "Tests/CSharp/TestAllDatabases/TestAllDatabases/TestFixtures/DynamicQuery/NaturalQuerySyntax.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88871"
} | starcoder | using System;
using System.Data;
using NUnit.Framework;
using EntitySpaces.Interfaces;
using EntitySpaces.DynamicQuery;
using BusinessObjects;
namespace Tests.Base
{
[TestFixture]
public class NaturalQuerySyntax
{
[Test]
public void TestSimpleAnd()
{
}
}
}
| 1.205639 | 0cebb1201480e266e240367ebb5aded7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88871 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Hertattack/notion-api",
"max_stars_repo_path": "src/NotionApi/Rest/Response/Page/Properties/UrlPropertyValue.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88872"
} | starcoder | using Newtonsoft.Json;
using Util;
namespace NotionApi.Rest.Response.Page.Properties
{
public class UrlPropertyValue : NotionPropertyValue
{
[JsonProperty("url")] public Option<string> Url { get; set; }
}
} | 1.446518 | 03bd80d5f350c98f85b1ac0f18fff61c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88872 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "SotMSteamMods/CauldronMods",
"max_stars_repo_path": "CauldronMods/Controller/Environments/OblaskCrater/Cards/InscrutableEcologyCardController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88873"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Handelabra.Sentinels.Engine.Controller;
using Handelabra.Sentinels.Engine.Model;
namespace Cauldron.OblaskCrater
{
public class InscrutableEcologyCardController : OblaskCraterUtilityCardController
{
/* ... | 2.702157 | 31533e3077bae5d60ae1d525dafcf142 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88873 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "deeprest/sagaGitlabMirror",
"max_stars_repo_path": "Assets/script/legacy/Tags.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88874"
} | starcoder | <reponame>deeprest/sagaGitlabMirror
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public enum Tag
{
None,
Red,
Blue,
Swag,
Attack,
Dead,
Monster,
Combustible,
Food,
Weapon,
Fire,
Deer
}
public class Tags : MonoBehaviour
{
public List<Tag> tags;
public bo... | 2.446658 | 830f5524a32eeaa9e09550168b023191 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88874 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GeorgiosDimopoulos/M.I.-My-Items-",
"max_stars_repo_path": "Xamarin.ToDoITem/Xamarin.ToDoITem/ViewModels/MainPageViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88875"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
using System.Windows.Input;
using Xamarin.Forms;
namespace MyItems.ViewModels
{
public class MainPageViewModel: BaseViewModel
{
private ObservableCollection<Task> _tasks;
public... | 2.253907 | c326df7e4a5232ec1a18e0895fa7da1f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88875 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "masalabs/MASA.Framework.Admin",
"max_stars_repo_path": "src/Services/Masa.Framework.Admin.Service.LogStatistics/Infrastructure/Jobs/StatisticsJob.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88876"
} | starcoder | namespace Masa.Framework.Admin.Service.LogStatistics.Infrastructure.Jobs;
[Job(nameof(StatisticsJob), GroupNames.DEFAULT, "0 55 0/1 * * ?")]
//[Job(nameof(StatisticsJob), GroupNames.DEFAULT, "* * * * * ?")]
public class StatisticsJob : IJob
{
IEventBus _eventBus;
//public StatisticsJob(IEventBus eventBus)
... | 1.986482 | 83df24aea5446f21b565628a5b7d0d60 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88876 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "Revalcon/MQTTnet.EventBus",
"max_stars_repo_path": "src/MQTTnet.EventBus/DependencyInjection/Builder/ILocalServerOptionsBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88877"
} | starcoder | <filename>src/MQTTnet.EventBus/DependencyInjection/Builder/ILocalServerOptionsBuilder.cs
namespace MQTTnet.EventBus.DependencyInjection.Builder
{
public interface ILocalServerOptionsBuilder : IBuilder<BusOptions>
{
ILocalServerOptionsBuilder RetryCount(int value);
ILocalServerOptionsBuilder Max... | 1.716009 | 281a504acf721621e4be6e4c6004525f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88877 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Orace/Storm.NET",
"max_stars_repo_path": "Storm.NET.Tests/StormExtensions.IStormContent.Tests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88878"
} | starcoder | // Storm.NET - Simple Topologically Ordered Reactive Model
// Copyright © 2019 Storm.NET. 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.
// You may obtain a copy of the License at
//
// http://www.apac... | 2.372209 | b2adad4b5e3af5ced1f7461327966ff6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88878 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ck2212/myo_game",
"max_stars_repo_path": "Enemy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88879"
} | starcoder | <filename>Enemy.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Enemy : MonoBehaviour
{
public float speed = 1f;
public Vector3 direction;
// Start is called before the first frame update
void Start()
{
}
/... | 2.376099 | 10186967b5ec3e89f8251f26e21517ba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88879 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ledridge/netduinohelpers",
"max_stars_repo_path": "Samples/DS1307/RTC.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88880"
} | starcoder | using System;
using System.Threading;
using Microsoft.SPOT;
using Microsoft.SPOT.Hardware;
using SecretLabs.NETMF.Hardware;
using SecretLabs.NETMF.Hardware.Netduino;
using netduino.helpers.Hardware;
namespace RTC
{
public class Program
{
public static void Main()
{
var clock = new ... | 2.85563 | 2a1a02c24400e548035a4515a6c688c7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88880 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pingzing/TrippitKiosk",
"max_stars_repo_path": "Models/ApiModels/ApiCluster.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88881"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace TrippitKiosk.Models.ApiModels
{
public class ApiCluster
{
/// <summary>
/// Non-nullable.
/// </summary>
[JsonPropertyName("id")]
public string Id { get; set; }
/// <su... | 1.672372 | c415a631604336bcf41e7cc780551427 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88881 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Gordox/ArcadeGame",
"max_stars_repo_path": "HeroSiege_ArcadeMachine/HeroSiege/InterFace/UIs/Menus/HowToPlayMenu.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88882"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using HeroSiege.InterFace.UIs.Buttons;
using Microsoft.Xna.Framework;
using HeroSiege.Manager;
using Microsoft.Xna.Framework.Input;
using HeroSiege.FGameObject.Items;
using HeroSiege.FGameObjec... | 2.060915 | f94232ef8117f0cbb9fb6b0de7974407 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88882 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NikolayLutakov/Entity-Framework-Core",
"max_stars_repo_path": "09 Xml Processing/CarDealer/Dtos/Import/ImportCustomerDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88883"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;
namespace CarDealer.Dtos.Import
{
[XmlType("Customer")]
public class ImportCustomerDto
{
[XmlElement("name")]
public string Name { get; set; }
[XmlElement("birthDate")]
public... | 2.339168 | 0f945db8bdf0f448cef2e91cb4271435 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88883 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "eiffel-community/eiffelevents-sdk-dotnet",
"max_stars_repo_path": "src/EiffelEvents.Net/Events/Core/EiffelMeta.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88884"
} | starcoder | <gh_stars>1-10
// Copyright (c) 2021 ICT Cube, doWhile, and Eiffel Community collaborators.
//
// 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.o... | 2.055867 | 27c7360e3abb9dcd5f7681a113f578ec |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88884 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SachaVanleene/VirtuaDrink",
"max_stars_repo_path": "Assets/Drunk/Drunk.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88885"
} | starcoder | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class Drunk : MonoBehaviour
{
public Material material;
float time;
float TimeEvolution;
float min;
float sec;
float value1;
float alcool_ingere;
float alcool_actif;
float max_alcool_ingere;
public Text... | 2.481273 | c8a43004a2db144b245e39a5738ddda3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88885 | {
"extension": "c-sharp",
"max_stars_count": "48.0",
"max_stars_repo_name": "netnr/np",
"max_stars_repo_path": "src/Netnr.P/Netnr.ScriptService/Views/Home/GitStorage.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:88886"
} | starcoder | <gh_stars>10-100
<style>
.nr-upbox {
user-select: none;
border-style: dashed !important;
}
.nr-upbox ul {
margin: 0;
padding: 10px;
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
.nr-upbo... | 1.86094 | 02571d31ea7a4efe4601768d173d8c55 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88886 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ptrick/DungeonCrwl",
"max_stars_repo_path": "DungeonCrwl/DungeonCrwlMain/AlignmentAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88887"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DungeonCrwlMain
{
public enum MoralityAlignment
{
Good,
Neutral,
Evil
}
public enum SocialAlignment
{
Lawful,
Neutra... | 2.424802 | 835436be22e26b43cc8aea575f44b0cc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88887 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "simplic/simplic-filestructure",
"max_stars_repo_path": "src/Simplic.FileStructure.Workflow.UI/DocumentWorkflowConfiguration/DragVisualProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88888"
} | starcoder | <reponame>simplic/simplic-filestructure<filename>src/Simplic.FileStructure.Workflow.UI/DocumentWorkflowConfiguration/DragVisualProvider.cs
using System.Linq;
using System.Windows;
using Telerik.Windows.Controls;
using Telerik.Windows.DragDrop;
using Telerik.Windows.DragDrop.Behaviors;
namespace Simplic.FileStructure.... | 2.221903 | 9e9ad78f896ac005929875ef62a2f4af |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88888 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RafaCarva/ASP.NET_Core_Testes_De_Software",
"max_stars_repo_path": "02 - TDD/src/NerdStore.Vendas.Domain/Voucher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88889"
} | starcoder | using System;
using FluentValidation;
using FluentValidation.Results;
namespace NerdStore.Vendas.Domain
{
public class Voucher
{
public string Codigo { get; private set; }
public decimal? PercentualDesconto { get; private set; }
public decimal? ValorDesconto { get; private set; }
... | 2.667782 | 384ec605b2cee0706528cc8f55e01759 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88889 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WindowsCE/System.Runtime",
"max_stars_repo_path": "src/System.Runtime.WindowsCE/Runtime/CompilerServices/CallerLineNumberAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88890"
} | starcoder | using System;
#if NET35_CF
namespace System.Runtime.CompilerServices
#else
namespace Mock.System.Runtime.CompilerServices
#endif
{
[AttributeUsage(AttributeTargets.Parameter, Inherited = false)]
public sealed class CallerLineNumberAttribute : Attribute
{
public CallerLineNumberAttribute() { }
... | 1.853981 | 25a2a93e3b0253c39a8fa2c6fb18a151 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88890 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sneddobuilds/SneddoBuilds.AspNetCore.JwtAuthApi",
"max_stars_repo_path": "src/SneddoBuilds.AspNetCore.JwtAuthApi/Models/EmailSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88891"
} | starcoder | <filename>src/SneddoBuilds.AspNetCore.JwtAuthApi/Models/EmailSettings.cs
namespace SneddoBuilds.AspNetCore.JwtAuthApi.Models
{
public class EmailSettings
{
public string FromEmail { get; set; }
public string FromName { get; set; }
public string ForgotPasswordSubject { get; set; }
... | 2.062664 | 3ceda54539e78a76f0804a4ac06fdb93 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88891 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ngeor/IglooCastle",
"max_stars_repo_path": "IglooCastle.Core/Nodes/NamespaceNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88892"
} | starcoder | using IglooCastle.Core.Elements;
using IglooCastle.Core.Printers;
using System.Collections.Generic;
using System.Linq;
namespace IglooCastle.Core.Nodes
{
class NamespaceNode : NodeBase
{
private NamespaceElement namespaceElement;
public NamespaceNode(NamespaceElement namespaceElement)
... | 2.577289 | 556ad8c35a7f37fd5e14e81c3c0428ee |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88892 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eyoel-fikadu/EHR.SAS",
"max_stars_repo_path": "src/Services/Hospital Managment/HospitalMgt.Infrastructure/Persistance/Configurations/HospitalConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88893"
} | starcoder | <reponame>eyoel-fikadu/EHR.SAS
using HospitalMgt.Domain.Entities;
using HospitalMgt.Domain.Enums;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using System;
namespace HospitalMgt.Infrastructure.Persistance.Conf... | 2.066872 | 35830042f07eb665e91f75c6bb0014a5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88893 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tivtag/Atom",
"max_stars_repo_path": "Source/Atom/Diagnostics/Filters/ILogFilter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88894"
} | starcoder | // <copyright file="ILogFilter.cs" company="federrot Software">
// Copyright (c) federrot Software. All rights reserved.
// </copyright>
// <summary>Defines the Atom.Diagnostics.Filters.ILogFilter interface.</summary>
// <author><NAME></author>
namespace Atom.Diagnostics.Filters
{
/// <summary>
/// Provid... | 2.569941 | 2f462ecfa312204d2d52516d8c02e575 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88894 | {
"extension": "c-sharp",
"max_stars_count": "217.0",
"max_stars_repo_name": "aferin/Tizen-CSharp-Samples",
"max_stars_repo_path": "Mobile/Xamarin.Forms/VoiceRecorder/src/VoiceRecorder/VoiceRecorder.Tizen.Mobile/Control/ContextPopupDirectionPriorities.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88895"
} | starcoder | <filename>Mobile/Xamarin.Forms/VoiceRecorder/src/VoiceRecorder/VoiceRecorder.Tizen.Mobile/Control/ContextPopupDirectionPriorities.cs<gh_stars>100-1000
/*
* Copyright 2018 Samsung Electronics Co., Ltd. All rights reserved.
*
* Licensed under the Flora License, Version 1.1 (the "License");
* you may not use this file... | 2.383393 | d57e6137ceb4e7998d15a18f8eaa4a38 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88895 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "stoplyy/Bing.NetCore",
"max_stars_repo_path": "modules/admin/src/Bing.Admin.Data/Seed/ApplicationSeedDataInitializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88896"
} | starcoder | using System;
using System.Linq.Expressions;
using System.Threading.Tasks;
using Bing.Admin.Data.Stores.Abstractions.Systems;
using Bing.Admin.Domain.Shared;
using Bing.Admin.Domain.Shared.Enums;
using Bing.Admin.Systems.Domain.Models;
using Bing.Admin.Systems.Domain.Repositories;
using Bing.Datas.Seed;
using Bing.Dat... | 2.375482 | 3c79461c056bc8cfa6630a20bddb1cd4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88896 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "larryfenn/spectrum",
"max_stars_repo_path": "Base/Level drivers/MidiLevelDriverPreset.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88897"
} | starcoder | namespace Spectrum.Base {
public class MidiLevelDriverPreset : LevelDriverPreset {
// Times in ms; levels from 0-1
public int AttackTime { get; set; }
public double PeakLevel { get; set; }
public int DecayTime { get; set; }
public double SustainLevel { get; set; }
public int ReleaseTime { g... | 2.587361 | c969f9fab4d51725346dbdac6350bdd6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88897 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "addixon/ErgCompetePM",
"max_stars_repo_path": "PM.BLL/Communication/CommunicationBuffer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88898"
} | starcoder | using PM.BO;
using PM.BO.Interfaces;
using System.Collections.Generic;
using System.Linq;
namespace BLL.Communication
{
/// <summary>
/// A generic communication buffer
/// </summary>
/// <typeparam name="TBufferType">The type of values that the buffer holds</typeparam>
public abstract class Commu... | 3.176337 | 8e1926e3366112940ae132f1f3e6f1ab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88898 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "max-bytes/omnikeeper",
"max_stars_repo_path": "backend/Omnikeeper.Base/Entity/CIAttributeTemplate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88899"
} | starcoder | using JsonSubTypes;
using Newtonsoft.Json;
using Omnikeeper.Base.Utils;
using Omnikeeper.Entity.AttributeValues;
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
namespace Omnikeeper.Base.Entity
{
[JsonConverter(typeof(JsonSubtypes), "type")]
[JsonSubtypes.KnownSubType(typ... | 2.437899 | 2b3e5a4e2cf8bc150bfcfd7e57b79391 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88899 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "nicolgit/whoiswho",
"max_stars_repo_path": "data-loader/WhoIsWho.DataLoader.Models/AutoMapperProfiles/WhoIsWhoEntityProfile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88900"
} | starcoder | <reponame>nicolgit/whoiswho<filename>data-loader/WhoIsWho.DataLoader.Models/AutoMapperProfiles/WhoIsWhoEntityProfile.cs
using AutoMapper;
namespace WhoIsWho.DataLoader.Models.AutoMapperProfiles
{
public class WhoIsWhoEntityProfile : Profile
{
public WhoIsWhoEntityProfile()
{
Create... | 1.615044 | be0fbd2720a1691fec944019b4ada4f7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88900 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "StefanOssendorf/Coverlet_Mwe_MergeWithNotWorking",
"max_stars_repo_path": "XUnitTestProject2/UnitTest1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88901"
} | starcoder | using ClassLibrary1;
using Xunit;
namespace XUnitTestProject2
{
public class UnitTest1
{
[Fact]
public void Test1()
{
Assert.Equal(21, new Class1().Method2());
}
}
}
| 2.110925 | 663886752e89630c724b816a95e309d9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88901 | {
"extension": "c-sharp",
"max_stars_count": "821.0",
"max_stars_repo_name": "jethac/ATF",
"max_stars_repo_path": "Framework/Atf.Gui.Wpf/Applications/CommandService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88902"
} | starcoder | //Copyright © 2014 Sony Computer Entertainment America LLC. See License.txt.
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.ComponentModel.Composition.Primitives;
using System.Windows.Input;
using Sce.Atf.Applications;
using Sce.Atf.Wpf.Models;
namespa... | 2.174179 | 425afa44ba37f61e48ad131b338b80d2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88902 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rhelmot/LuaCutscenes",
"max_stars_repo_path": "Entities/LuaCutsceneEntity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88903"
} | starcoder | <gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Celeste.Mod;
using Monocle;
using NLua;
namespace Celeste.Mod.LuaCutscenes
{
class LuaCutsceneEntity : CutsceneEntity
{
private static LuaTabl... | 2.057425 | c824f1211db96ef5e0fadc272875083c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88903 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "brian-reichle/CausalityDbg",
"max_stars_repo_path": "src/CausalityDbg.Main/Properties/AssemblyInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88904"
} | starcoder | // Copyright (c) <NAME>. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Resources;
using System.Runtime.CompilerServices;
using System.Windows;
[assembly: ThemeInfo(ResourceDictionaryLocation.None, ResourceDictionaryLoca... | 1.44598 | dbe43a272f4f7490300b41eb72733ed5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88904 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chrisdafnis/AndroidZebraPrint",
"max_stars_repo_path": "AndroidZebraPrint2/FindFilesActivity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88905"
} | starcoder | using Android.App;
using Android.Content;
using Android.OS;
using Android.Widget;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
namespace DakotaIntegratedSolutions
{
[Activity(Label = "@+string/FindFiles", Theme = "@style/dialog_light")]
public cla... | 2.428509 | 46b8551a32388280b881212f11d85316 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88905 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "mikhail-khalizev/max",
"max_stars_repo_path": "source/MikhailKhalizev.Max/source/Program/Auto/z-1013-bfc1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88906"
} | starcoder | using System;
using MikhailKhalizev.Processor.x86.BinToCSharp;
namespace MikhailKhalizev.Max.Program
{
public partial class RawProgram
{
[MethodInfo("0x1013_bfc1-e652fb55")]
public void Method_1013_bfc1()
{
ii(0x1013_bfc1, 5); push(0x24); ... | 1.77063 | 8f1f5649bd587a825ac262ceb79f86ed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88906 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Zulkir/VulkaNet",
"max_stars_repo_path": "Source/VulkaNet/VkDefines.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88907"
} | starcoder | <filename>Source/VulkaNet/VkDefines.cs
namespace VulkaNet
{
public static class VkDefines
{
public static VkBool32 VK_FALSE { get; } = new VkBool32(false);
public static VkBool32 VK_TRUE { get; } = new VkBool32(true);
public const float VK_LOD_CLAMP_NONE = 1000.0f;
public const... | 1.690062 | 78d7d3cb9161dc77a8ef3977f2012c3e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88907 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "madreflection/MadReflection.BungieNetApi",
"max_stars_repo_path": "src/LibraryGenerator/Builders_/InterfaceBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88908"
} | starcoder | <reponame>madreflection/MadReflection.BungieNetApi
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.OpenApi.Models;
namespace LibraryGenerator
{
public class InterfaceBuilder : TypeBuilder
{
public string Area { get; set; }
public List<MethodBuilder> Methods {... | 2.69282 | 5ff04a6049f4ce3a80e8e898c0d8fccc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88908 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "EverestAPI/SpringCollab2020",
"max_stars_repo_path": "Effects/BlackholeCustomColors.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88909"
} | starcoder | using Microsoft.Xna.Framework;
using Mono.Cecil.Cil;
using Monocle;
using MonoMod.Cil;
using MonoMod.Utils;
using System;
namespace Celeste.Mod.SpringCollab2020.Effects {
/**
* Port of the blackhole with custom colors from max480's Helping Hand:
* https://github.com/max4805/MaxHelpingHand/blob... | 2.357369 | 5e5767bc4c4bf084fd8ac4eed87b32ea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88909 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "jamesmontemagno/app-latenightmonos",
"max_stars_repo_path": "LateNightMonos/AssemblyInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88910"
} | starcoder | <filename>LateNightMonos/AssemblyInfo.cs
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
[assembly: ExportFont("ThingsZoo.ttf", Alias = "Zoo")]
[assembly: ExportFont("Monkey.otf", Alias = "Monkey")]
[assembly: ExportFont("fa-regular-400.ttf", Alias = "FAR")]
[assembly: ExportFont("fa-solid-900.ttf", Alias = "FAS")]
[a... | 1.601539 | b931a73d9819b61e001aaa61fd5e3233 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88910 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RalfKoban/Insight",
"max_stars_repo_path": "Insight/ViewModels/CirclePackingViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88911"
} | starcoder | <reponame>RalfKoban/Insight
using Visualization.Controls;
namespace Insight.ViewModels
{
public sealed class CirclePackingViewModel : TabContentViewModel
{
private HierarchicalDataCommands _commands;
public HierarchicalDataCommands Commands
{
get => _commands;
... | 1.596689 | 11ad9af1af3c52039317a1c10a37db21 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88911 | {
"extension": "c-sharp",
"max_stars_count": "68.0",
"max_stars_repo_name": "XerProjects/Xer.Cqrs",
"max_stars_repo_path": "Samples/ReadSide/Products/Queries/QueryProductById.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88912"
} | starcoder | using System;
using System.Threading;
using System.Threading.Tasks;
using ReadSide.Products.Repositories;
using Xer.Cqrs.QueryStack;
namespace ReadSide.Products.Queries
{
public class QueryProductById : IQuery<ProductReadModel>
{
public Guid ProductId { get; }
public QueryProductById(G... | 2.633402 | af1187ef90af571c9897f0b9beb9482e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88912 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lukaspj/T3D-CSharp-Tools",
"max_stars_repo_path": "BaseLibrary/Torque3D/Engine/afxEffectronData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88913"
} | starcoder | using System;
using System.Linq;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using Torque3D.Engine;
using Torque3D.Util;
namespace Torque3D
{
public unsafe class afxEffectronData : afxChoreographerData
{
public afxEffectronData(bool pRegister = false)
: base(pRegister)
{
}
pub... | 2.126038 | 2e9473ff7d775f34d2d953d85594aa12 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88913 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "seky16/LennyBOTv2",
"max_stars_repo_path": "LennyBOTv2/Preconditions/IsBotOwner.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88914"
} | starcoder | using System;
using System.Threading.Tasks;
using Discord.Commands;
using LennyBOTv2.Services;
namespace LennyBOTv2.Preconditions
{
internal sealed class IsBotOwner : PreconditionAttribute
{
public override Task<PreconditionResult> CheckPermissionsAsync(ICommandContext context, CommandInfo command, IS... | 2.402997 | 3af051774b1852b1b769792e31203d4a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88914 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kolos450/Uavcan.NET",
"max_stars_repo_path": "Source/Testing/Uavcan.NET.Testing.Framework/TestSchemeFileGrammar.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88915"
} | starcoder | <filename>Source/Testing/Uavcan.NET.Testing.Framework/TestSchemeFileGrammar.cs
using Irony.Parsing;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Uavcan.NET.Testing.Framework
{
public class TestSc... | 2.314993 | 7634830c00922ca5f13c55c561fce52e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88915 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gagandeepgarg/Centralized-Data-Ingestion-Outgestion",
"max_stars_repo_path": "WebApplications/ZionWeb/Helpers/ZionWebExceptionLoggingFilter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88916"
} | starcoder | using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.Extensions.Logging;
namespace ZionWeb.Helpers
{
public class ZionWebExceptionLoggingFilter : ExceptionFilterAttribute
{
private readonly ILogger _logger;
public ZionWebExceptionLoggingFilter(ILoggerFactory loggerFactory)
{
... | 2.278131 | ccede045d8b009af6b85d318a7e96a3e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88916 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vkpraveen/MyTraining",
"max_stars_repo_path": "Balda/Schedule-4/polymorhism/polymorhism/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88917"
} | starcoder | <reponame>vkpraveen/MyTraining
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace polymorhism
{
class baseclass
{
public virtual void method1()
{
Console.WriteLine("base class method-1");
}
p... | 3.299412 | 56e3930719c80b22244d03cb507d298b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88917 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bakiya-sefer/bakiya-sefer",
"max_stars_repo_path": "Assets/Best HTTP (Pro)/BestHTTP/SecureProtocol/crypto/tls/PrfAlgorithm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88918"
} | starcoder | <filename>Assets/Best HTTP (Pro)/BestHTTP/SecureProtocol/crypto/tls/PrfAlgorithm.cs<gh_stars>1-10
version https://git-lfs.github.com/spec/v1
oid sha256:919e322f7c4c0d7ccba337abb52cd3427a844a149e9d33d1a6ae482b25ced10b
size 726
| 1.235412 | 5a50b382fc79c087d50c4ae258c284cb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88918 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Necrobot-Private/POGOProtos",
"max_stars_repo_path": "Data/Quests/DailyQuest.g.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88919"
} | starcoder | // <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: POGOProtos/Data/Quests/DailyQuest.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
u... | 1.609751 | f37d13605b83524c2f0b18219fd4dc29 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88919 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "emilia98/Codesignal-CSharp",
"max_stars_repo_path": "Arcade/01. Intro Gates/IntroGates/02.LargestNumber/LargestNumber.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88920"
} | starcoder | <reponame>emilia98/Codesignal-CSharp
using System;
namespace _02.LargestNumber
{
class LargestNumber
{
static void Main()
{
int[] testData = new int[]
{
2, 1, 7, 4, 3
};
int[] expectedResult = new int[]
{
... | 3.721341 | 46ae9ec042989c52a3bdd80d42218b59 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88920 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Mendham/Mendham",
"max_stars_repo_path": "src/Mendham.Infrastructure.RelationalDatabase/ItemLoader/IItemLoaderMapping.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88921"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Mendham.Infrastructure.RelationalDatabase
{
public interface IItemLoaderMapping<T>
{
/// <summary>
/// Message to be returned when a items are invalid
/// </summary>
strin... | 2.730892 | 2d4038308344418294a6eae72304f8fa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88921 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Puky96/eProject",
"max_stars_repo_path": "eProjects/Models/ManageViewModels/AddResourceViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88922"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace eProjects.Models.ManageViewModels
{
public class AddResourceViewModel
{
[Display(Name ="Username")]
[Required]
public string UserName ... | 1.926305 | 4a65842401a2f5c0aa8d0aa0395df0f3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88922 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AbreuNaWeb/porto-alegre-plus",
"max_stars_repo_path": "PortoAlegrePlus/Models/Informacao.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88923"
} | starcoder | <filename>PortoAlegrePlus/Models/Informacao.cs
using System;
using System.ComponentModel.DataAnnotations;
namespace PortoAlegrePlus.Models
{
public class Informacao
{
[Display(Name = "Nome")]
public String Nome { get; set; }
[Display(Name = "Quantidade")]
public int... | 2.302943 | ee7252d826bd47a5818e3f87b5a95f3f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88923 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Filimindji/Ear-Clipping-Triangulation",
"max_stars_repo_path": "Scripts/ITriangulator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88924"
} | starcoder | namespace Sebastian.Geometry
{
public interface ITriangulator
{
int[] Triangulate(Polygon polygon);
}
} | 2.038341 | 04e42ddd9ea74acf49522d9bdfc3ef8b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88924 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jfmherokiller/MelonLoader",
"max_stars_repo_path": "MelonLoader.Support.Mono.Pre2017.2/Main.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88925"
} | starcoder | using UnityEngine;
namespace MelonLoader.Support
{
internal static class Main
{
internal static MelonLoaderComponent comp = null;
internal static int CurrentScene = -9;
private static ISupportModule Initialize()
{
MelonLoaderComponent.CreateComponent();
... | 2.171481 | e54283aaa7e77a0c9e14653fc0027b48 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88925 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "nuscien/trivial",
"max_stars_repo_path": "Chemistry/Chemistry/ChemicalElementJsonConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88926"
} | starcoder | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Text.Json;
using System.Text.Json.Serialization;
using Trivial.Text;
namespace Trivial.Chemistry;
/// <summary>
//... | 2.746724 | 49cce1385f4628eea5b7338464544c34 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88926 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "ggagnaux/Sage300-SDK",
"max_stars_repo_path": "src/wizards/Sage300Resources/Sage.CA.SBS.ERP.Sage300.AR.Resources/Forms/QuickReceiptEntryResx.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88927"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 1.764491 | e7a41d3204bd0c19975b62131b38c6da |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88927 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SillyLossy/special-adventure",
"max_stars_repo_path": "SpecialAdventure.Core/Common/RandomHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88928"
} | starcoder | using System;
namespace SpecialAdventure.Core.Common
{
public static class RandomHelper
{
public static Random Random { get; } = new Random();
}
}
| 1.606809 | 319be0f23ea9f438b3c5b6ca1d430afc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88928 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "xiangmaolin/Grit.Net.DataAccess",
"max_stars_repo_path": "Nice.DataAccess/Models/Mapping.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88929"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
namespace Nice.DataAccess.TypeEx
{
/// <summary>
/// 自定义轻量级Mapping
/// </summary>
/// <typeparam name="TKey"></typeparam>
/// <typeparam name="TValue"></typeparam>
public class Mapping<TKey, TValue> : IEnumerable<KeyValu... | 3.208085 | 13b4ca4dd237663985650c74d9b97882 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88929 | {
"extension": "c-sharp",
"max_stars_count": "792.0",
"max_stars_repo_name": "JalilAzzad1993/ASPNET",
"max_stars_repo_path": "src/Razor/test/Microsoft.VisualStudio.Editor.Razor.Test.Common/Xunit/ForegroundFactTestCase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88930"
} | 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;
using System.Collections.Generic;
using System.ComponentModel;
using System.Threading;
using System.Threading.Tasks;
using System.Windows... | 1.861421 | 3d998a8e6d859c5f35533966e33a2d63 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88930 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AoiKamishiro/UnityShader_CustomBuiltin",
"max_stars_repo_path": "Assets/00Kamishiro/AKSBuiltin/Editor/AKSStyles.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88931"
} | starcoder | /*
* Copyright (c) 2021 AoiKamishiro / 神城葵
*
* This code is provided under the MIT license.
*
* This program uses the following code, which is provided under the MIT License.
* https://download.unity3d.com/download_unity/008688490035/builtin_shaders-2018.4.20f1.zip?_ga=2.171325672.957521966.1599549120-262519615.... | 1.77658 | d67656cc8b622d13111ab7e5db231220 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88931 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ignitefyre/cqrs-example",
"max_stars_repo_path": "src/CqrsExample.Application/Carts/CartItemDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88932"
} | starcoder | <gh_stars>0
namespace CqrsExample.Application.Carts;
public record CartItemDto(string Id, int Quantity); | 1.276652 | fdcc9bd1393507851588d08e27beceea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88932 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "claudineinobrega/DDD-Avanade-DIO",
"max_stars_repo_path": "src/PetStore.Core/DomainObjects/Foundation/Address.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88933"
} | starcoder | <reponame>claudineinobrega/DDD-Avanade-DIO<gh_stars>0
namespace PetStore.Core.DomainObjects.Foundation
{
/// <summary>
/// Address entity
/// http://en.wikipedia.org/wiki/Address_(geography)
/// </summary>
public class Address
{
#region Public Properties
/// <summary>
/... | 2.604928 | 55c50a88f2730b7b7ce6b3bc1f321cfc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88933 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "I2rys/RETS",
"max_stars_repo_path": "NordVPN Checker/NordVPN Checker/Utils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88934"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
namespace NordVPN_Checker
{
// Token: 0x02000003 RID: 3
internal class Utils
{
// Token: 0x06000007 RID: 7 RVA: 0x00002A10 File Offset: 0x00000C10
public static string LRParse(string data, string lS, string rS, bool recursive... | 2.632928 | 7b52bcc08bf381c8cd36f532fc5c6868 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88934 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "OpenCAGE/CathodeEditorUnity",
"max_stars_repo_path": "CathodeEditorUnity/Assets/Scripts/CathodeLib/File Handlers/Models/ModelsMTL.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88935"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace CATHODE.Models
{
public class ModelsMTL
{
public static alien_mtl Load(string FullFilePath)
{
alien_m... | 2.356066 | 53d3f830b3153c90f5ba8ea6f9d0d668 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88935 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Arasz/DailyShelterCatAzureFunction",
"max_stars_repo_path": "ShelterCatOfTheDayFunction/LinksProviders/PortfolioDetailsLinkProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88936"
} | starcoder | <reponame>Arasz/DailyShelterCatAzureFunction
using System;
using System.Linq;
using System.Threading.Tasks;
using AngleSharp;
namespace ShelterCatOfTheDayFunction.LinksProviders
{
public class PortfolioDetailsLinkProvider : IDetailLinksProvider
{
private readonly IBrowsingContext _browsingContext;
... | 2.562025 | b38c3ce0081259ae1009dd7c8744f77e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88936 | {
"extension": "c-sharp",
"max_stars_count": "37.0",
"max_stars_repo_name": "Wack0/WinMasto",
"max_stars_repo_path": "WinMasto/ViewModels/WinMastoViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88937"
} | starcoder | <filename>WinMasto/ViewModels/WinMastoViewModel.cs<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Mastonet;
using Mastonet.Entities;
using Template10.Mvvm;
using WinMasto.Services;
namespace WinMasto.ViewModels
{
public cla... | 2.319768 | a05bd0fe3d0ebeb4acb5342f2d3ef7db |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88937 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "anujjsr/MRDesignLabs_Unity_LunarModule",
"max_stars_repo_path": "Assets/MRDesignLab_LunarModule/Scripts/Screens/ControlsScreen.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88938"
} | starcoder | <gh_stars>0
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
//
using HUX.Dialogs;
using HUX.Focus;
using HUX.Interaction;
using UnityEngine;
namespace MRDL
{
/// <summary>
/// Displays a dialog with a c... | 2.040124 | 04a9013f1350f21a8899110656a269bc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88938 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cnark/ZKWeb",
"max_stars_repo_path": "ZKWeb/ZKWeb/Templating/DynamicContents/TemplateAreaExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88939"
} | starcoder | <reponame>cnark/ZKWeb<filename>ZKWeb/ZKWeb/Templating/DynamicContents/TemplateAreaExtensions.cs
using System.Collections.Generic;
using ZKWebStandard.Extensions;
namespace ZKWeb.Templating.DynamicContents {
/// <summary>
/// Template area extension methods
/// </summary>
public static class TemplateAreaExt... | 2.499573 | 156fad6b171ab0575713a32f5b95c7a6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88939 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Vladeff/TelerikAcademy",
"max_stars_repo_path": "C#1 Homework/Primitive Data Types and Variables/11BankAccountData/BankAccountData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88940"
} | starcoder | /*Problem 11. Bank Account Data
A bank account has a holder name (first name, middle name and last name),
* available amount of money (balance), bank name, IBAN, 3 credit card numbers
* associated with the account.
Declare the variables needed to keep the information for a single bank account
* using the approp... | 3.834063 | ce31e094417b3b145ff23f058c136672 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88940 | {
"extension": "c-sharp",
"max_stars_count": "369.0",
"max_stars_repo_name": "ejsmith/jasper",
"max_stars_repo_path": "src/Jasper.JsonCommands/GenerateCSharpCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88941"
} | starcoder | <reponame>ejsmith/jasper
using System;
using System.Linq;
using System.Threading.Tasks;
using Baseline;
using LamarCodeGeneration;
using LamarCompiler;
using NJsonSchema;
using NJsonSchema.CodeGeneration.CSharp;
using Oakton;
namespace Jasper.JsonCommands
{
[Description("Generate C# classes from Json schema files... | 2.423378 | a743c3d11b4d429d0030ab814e001768 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88941 | {
"extension": "c-sharp",
"max_stars_count": "679.0",
"max_stars_repo_name": "herocany/Smartflow-Sharp",
"max_stars_repo_path": "src/Smartflow.Core/Internals/GenericExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88942"
} | starcoder | /********************************************************************
License: https://github.com/chengderen/Smartflow/blob/master/LICENSE
Home page: http://www.smartflow-sharp.com
Github : https://github.com/chengderen/Smartflow-Sharp
********************************************************************
*/
using... | 2.821929 | 0870c1a7db040126e1d79b64973e5dd1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88942 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cyberbibby/UnrealGDK",
"max_stars_repo_path": "SpatialGDK/Build/Programs/Improbable.Unreal.Scripts/WorkerCoordinator/LifetimeComponent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88943"
} | starcoder | // Copyright (c) Improbable Worlds Ltd, All Rights Reserved
using System;
using System.Threading;
using System.Collections.Generic;
namespace Improbable.WorkerCoordinator
{
/// <summary>
/// Simulated player client's information.
/// The coordinator use this to start & restart simulated player clients.
... | 2.420894 | 2da077213a51137211b1694b89958079 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88943 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "yang827/PmlUnit",
"max_stars_repo_path": "PmlUnit.Tests/TestCaseCollectionTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88944"
} | starcoder | // Copyright (c) 2019 <NAME>.
// Licensed under the MIT License: https://opensource.org/licenses/MIT
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
namespace PmlUnit.Tests
{
[TestFixture]
[TestOf(typeof(TestCaseCollection))]
public class... | 2.795983 | 1681b93eb80991cc54c6891a20df7721 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88944 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "detanaputra/sharpgodotfirebase",
"max_stars_repo_path": "SharpGodotFirebase/Authentications/AuthError.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88945"
} | starcoder | <gh_stars>0
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using System.Collections.Generic;
namespace SharpGodotFirebase.Authentications
{
[JsonObject(NamingStrategyType = typeof(CamelCaseNamingStrategy))]
public sealed class AuthError
{
public ErrorAttribute Error { get; set; }
... | 2.084612 | 55adb5f6174ac460361f8b2b686180a8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88945 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EdutechSRL/Adevico",
"max_stars_repo_path": "3-Business/4-Services/Mail/lm.Comol.Core.Msmq.Services.Mail.Service/Domain/MailExceptionType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88946"
} | starcoder | <filename>3-Business/4-Services/Mail/lm.Comol.Core.Msmq.Services.Mail.Service/Domain/MailExceptionType.cs
using System;
namespace lm.Comol.Core.Msmq.Services.Mail.Service
{
[Serializable]
public enum MailExceptionType
{
None = 0,
MailSent = 1,
InvalidAddress = 2,
SMTPunavail... | 1.829272 | c2caa897dbd7a25c5359e0e85cb41e07 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88946 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cacothi/design-pattern",
"max_stars_repo_path": "AbstractFactoryPatternAgg/IColor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88947"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DesignPattern.AbstractFactoryPatternAgg
{
public interface IColor
{
void Fill();
}
}
| 1.790682 | eeeb3ddfb59eee0afbddd0c0414ac8a4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88947 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Praetox/Tools_rarelyUseful",
"max_stars_repo_path": "pYTEnc/pYTEnc/frmMain.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88948"
} | starcoder | <reponame>Praetox/Tools_rarelyUseful<filename>pYTEnc/pYTEnc/frmMain.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace pYTEnc
{
public partial class frmMain ... | 2.182725 | ead3492da81a095df32fbc4f6883f5c0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88948 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "curiouslearning/AssessmentApp",
"max_stars_repo_path": "Assets/TestAnim.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88949"
} | starcoder | using UnityEngine;
using System.Collections;
public class TestAnim : MonoBehaviour {
Animator a;
// Use this for initialization
float count;
void Start () {
a = GameObject.Find("MainCharacter").GetComponent<Animator>();
}
bool isPlaying (string b)
{
return (a.GetCurrentAnimatorStateInfo(0).shortN... | 2.448833 | e0ad069ec155646142b8906a94be2e14 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88949 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ZeroInfinite/iot-edge-opc-proxy-api-csharp",
"max_stars_repo_path": "src/Microsoft.Azure.Devices.Proxy/Model/Link/PingResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88950"
} | starcoder | <filename>src/Microsoft.Azure.Devices.Proxy/Model/Link/PingResponse.cs
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------... | 2.482269 | 042aa3b24728b7471443a5fb8c977345 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88950 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "CryShana/CryPixiv",
"max_stars_repo_path": "CryPixivClient/Objects/Cache.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88951"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CryPixivClient.Objects
{
public class Cache<T>
{
public int MaxSize { get; }
static List<CachedItem> items;
public int Count => items.Count;
public Ca... | 3.265903 | 1268f0f0736c85c30d50f820ecab15a6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88951 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "greggigon/outlook-google-calendar-sync",
"max_stars_repo_path": "OutlookCalendarExporter/GoogleCalendar.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88952"
} | starcoder | using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using Google.Apis.Auth.OAuth2;
using Google.Apis.Calendar.v3;
using Google.Apis.Calendar.v3.Data;
using Google.Apis.Services;
using Google.Apis.Util.Store;
using System.Threading;
namespace OutlookCalendarExporter
{
c... | 2.260816 | 27086898e15b179aa7d5b81333c92b46 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88952 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "libish-jacob/Azure-Cloud",
"max_stars_repo_path": "AzureWebFabricApplication/Framework/IOrderService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88953"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Microsoft.ServiceFabric.Services.Remoting;
namespace Framework
{
public interface IOrderService : IService
{
Task<int> GetOrderNumber();
}
}
| 1.338004 | 47fa2e3c18a9a1f46b561be47a4d927a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88953 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "imwyw/.net",
"max_stars_repo_path": "Src/Enterprise/DIP_Demo/DIP_Demo/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88954"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
/// <summary>
/// 不好的示例,因为的Order直接依赖于OracleDal,当我们持久化存储方案有需求变更的时候,需要改动业务逻辑,这非常得不好
/// </summary>
namespace DIP_Demo
{
/// <summary>
/// 模拟UI层的调用
/// </summary>
class Program
{
... | 3.051431 | 78979feac2838640ad604b99ee536de3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88954 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "luvcraft/ExtensionToolbox",
"max_stars_repo_path": "Runtime/ExtensionToolbox.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88955"
} | starcoder | using System.Collections.Generic;
using UnityEngine;
namespace ExtensionToolbox
{
/// <summary>
/// R <NAME>'s handy toolbox of extension methods for various data types
/// </summary>
public static class IntExtensions
{
/// <summary>
/// Returns the number or m, whichever is greater
/// </summary>
public... | 3.51355 | 5fe402394c4fe34a3fda9364067f2b3b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88955 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SeanKilleen/lucenenet",
"max_stars_repo_path": "src/Lucene.Net.Core/Util/Packed/PackedInts.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88956"
} | starcoder | <gh_stars>1-10
using System;
using System.Diagnostics;
namespace Lucene.Net.Util.Packed
{
using Lucene.Net.Support;
using System.Collections.Generic;
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed... | 2.36911 | f5729dd1050332566ef323e81c7a6809 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88956 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "marcingorecki/digiCamControl",
"max_stars_repo_path": "Capture.Workflow.Plugins/Commands/ImageProcessing/FlipAction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88957"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Capture.Workflow.Core.Classes;
using Capture.Workflow.Core.Classes.Attributes;
using Capture.Workflow.Core.Interface;
using ImageMagick;
namespace Cap... | 2.675249 | 4203fae1e80d535a97c937b14597afc0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88957 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lelong37/msdn-primer-spa",
"max_stars_repo_path": "Northwind.Entity/Models/Territory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88958"
} | starcoder | #region
using System.Collections.Generic;
#endregion
namespace Northwind.Entity.Models
{
public class Territory
{
public Territory()
{
Employees = new List<Employee>();
}
public string TerritoryID { get; set; }
public string TerritoryDescription { get; set... | 2.124416 | 95453022a817a653a6339d90477bf555 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88958 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EpicTofuu/Yasai",
"max_stars_repo_path": "Yasai/Graphics/Anchor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88959"
} | starcoder | namespace Yasai.Graphics
{
public enum Anchor
{
TopLeft = 0,
Top = 1,
TopRight = 2,
Left = 3,
Center = 4,
Right = 5,
BottomLeft = 6,
Bottom = 7,
BottomRight = 8
}
} | 1.988877 | f97cc254a0e0114b6b5d171f575d3e00 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88959 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "LogicAndTrick/thor",
"max_stars_repo_path": "thor/Map Objects/MapGroup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88960"
} | starcoder | <gh_stars>1-10
/*
* Created by SharpDevelop.
* User: Dan
* Date: 11/10/2008
* Time: 5:35 PM
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
namespace thor
{
public class MapGroup : MapO... | 2.052874 | a9330743a39731d6b4c568e293665579 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88960 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tommyboys0107/FGJ19_TeamG",
"max_stars_repo_path": "Assets/VeryAnimation/Scripts/Editor/VeryAnimationControlWindow.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88961"
} | starcoder | <reponame>tommyboys0107/FGJ19_TeamG
//#define Enable_Profiler
using UnityEngine;
using UnityEngine.Assertions;
using UnityEngine.Profiling;
using UnityEditor;
using UnityEditor.Animations;
using UnityEditor.IMGUI.Controls;
using UnityEditorInternal;
using System;
using System.Linq;
using System.Collections;
using Sys... | 1.206312 | d87f72d1108201843d3045cc34ff4e95 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.