added stringclasses 11
values | created stringclasses 11
values | id stringlengths 4 8 | metadata dict | source stringclasses 1
value | text stringlengths 9 1.04M | code-score float64 -0.5 4.71 | md5 stringlengths 32 32 |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97161 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tivtag/Atom.Tools",
"max_stars_repo_path": "SpriteTool.Library/Atlas/TextureAtlas.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97162"
} | starcoder | // <copyright file="TextureAtlas.cs" company="federrot Software">
// Copyright (c) federrot Software. All rights reserved.
// </copyright>
// <summary>
// Defines the Atom.Tools.SpriteTool.Atlas.TextureAtlas class.
// </summary>
// <author>
// <NAME> (Tick)
// </author>
namespace Atom.Tools.SpriteTool.Atl... | 3.037184 | d90e66a4d11973790fbf44668c557a55 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97162 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "3lvia/libraries-ardoq-fluent-models-azure",
"max_stars_repo_path": "src/ArdoqFluentModels.Azure/Model/Snapshot.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97163"
} | starcoder | <reponame>3lvia/libraries-ardoq-fluent-models-azure<gh_stars>0
using Microsoft.Azure.Management.ResourceManager.Fluent.Core;
namespace ArdoqFluentModels.Azure.Model
{
public class Snapshot : ResourceBase
{
public Snapshot(IResource resource) : base(resource)
{
}
}
}
| 1.159095 | bbbcd6af47141819782cd3694b4ef687 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97163 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lindenrty2/KopSoftWms",
"max_stars_repo_path": "src/YL.Utils/Security/Xss.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97164"
} | starcoder | //using Ganss.XSS;
namespace YL.Utils.Security
{
public class Xss
{
//private HtmlSanitizer htmlSanitizer;
private static Xss _xss;
public Xss()
{
//htmlSanitizer = new HtmlSanitizer();
////htmlSanitizer.AllowedTags.Add("div");//标签白名单
//html... | 2.676888 | 3bece776c682f13675e5f74c51143780 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97164 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "wangmaosheng/JadeFramework",
"max_stars_repo_path": "JadeFramework.Weixin/MiniProgram/LoginResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97165"
} | starcoder | using Newtonsoft.Json;
namespace JadeFramework.Weixin.MiniProgram
{
public enum MiniProgramResultCode
{
/// <summary>
/// 未注册
/// </summary>
unregistered = 10000,
/// <summary>
/// 正常
/// </summary>
ok = 0,
/// <summary>
/// 系统内部错... | 2.35089 | c73c68ca58300220ab7a02b5b5eb0785 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97165 | {
"extension": "c-sharp",
"max_stars_count": "2793.0",
"max_stars_repo_name": "truthiswill/SkiaSharp",
"max_stars_repo_path": "source/SkiaSharp.Views.Forms/SkiaSharp.Views.Forms.Tizen/SKTouchHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97166"
} | starcoder | <gh_stars>1000+
using System;
using ElmSharp;
namespace SkiaSharp.Views.Forms
{
internal class SKTouchHandler
{
private readonly MomentumHandler momentumHandler;
private Action<SKTouchEventArgs> onTouchAction;
private Func<double, double, SKPoint> scalePixels;
private GestureLayer gestureLayer;
public SK... | 2.260376 | dee6f4c087c3c63d30204ac90ec6ee90 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97166 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "fjunqueira/SonarQube.Net",
"max_stars_repo_path": "src/SonarQube.Net/UserTokens/SonarQubeClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97167"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using System.Threading.Tasks;
using Flurl.Http;
using SonarQube.Net.Models;
// ReSharper disable once CheckNamespace
namespace SonarQube.Net
{
public partial class SonarQubeClient
{
private IFlurlRequest GetUserTokensUrl() => GetBaseUrl("/api/user_tokens");
priv... | 2.076778 | e5512c9b340ced41c0367a84a025f929 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97167 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "ga-explorer/GeometricAlgebraLib",
"max_stars_repo_path": "GraphicsComposerLib/GraphicsComposerLib.Geometry/ParametricShapes/Surfaces/Sampled/GrParametricSurfaceTreeSample3D.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97168"
} | starcoder | <reponame>ga-explorer/GeometricAlgebraLib
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using NumericalGeometryLib.BasicMath.Tuples;
using NumericalGeometryLib.BasicMath.Tuples.Immutable;
// ReSharper disable CompareOfFloatsByEqualityOperator
namespace GraphicsComposerLib.Geometry.ParametricShapes... | 2.383774 | 7f9d2882063eb02eaeab36f2961ec8e9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97168 | {
"extension": "c-sharp",
"max_stars_count": "110.0",
"max_stars_repo_name": "patridge/FlatRedBall",
"max_stars_repo_path": "FRBDK/PolygonEditor/PolygonEditor/PolygonEditor/Gui/InfoBarWindow.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97169"
} | starcoder | <reponame>patridge/FlatRedBall
using System;
using System.Collections.Generic;
using System.Text;
using FlatRedBall.Gui;
namespace PolygonEditor.Gui
{
public class InfoBarWindow : InfoBar
{
#region Fields
TextDisplay mCursorTextDisplay;
#endregion
#region Properties
... | 2.257141 | d07af03969d1773c9da01f422d457450 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97169 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "exyi/xunit",
"max_stars_repo_path": "src/xunit.v3.core/Internal/MethodInfoExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97170"
} | starcoder | <filename>src/xunit.v3.core/Internal/MethodInfoExtensions.cs
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
namespace Xunit.Internal;
static class MethodInfoExtensions
{
public static bool IsAsync(this MethodInfo method)
{
if (method.IsAsyncVoid())
return true;
... | 2.460611 | 7fb5b5f8b2e22358e1ab9d016e89e133 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97170 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "IMaeland/IronSmalltalk",
"max_stars_repo_path": "IronSmalltalk.DefinitionInstaller/Definitions/DefinitionBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97171"
} | starcoder | <reponame>IMaeland/IronSmalltalk<gh_stars>1-10
/*
* **************************************************************************
*
* Copyright (c) The IronSmalltalk Project.
*
* This source code is subject to terms and conditions of the
* license agreement found in the solution directory.
* See: $(Soluti... | 2.393879 | 9efe859ea9aad8bd7489996d592acdd4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97171 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SinsofSloth/RF5-global-metadata",
"max_stars_repo_path": "_no_namespace/ShortplayAdvController.--ShortPlayStartId--d__42.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97172"
} | starcoder | <reponame>SinsofSloth/RF5-global-metadata
[CompilerGeneratedAttribute] // RVA: 0x157D70 Offset: 0x157E71 VA: 0x157D70
private sealed class ShortplayAdvController.<ShortPlayStartId>d__42 : IEnumerator<object>, IEnumerator, IDisposable // TypeDefIndex: 7232
{
// Fields
private int <>1__state; // 0x10
private object <>... | 1.324993 | 2b4573b21cefc7b88435ba1a40be58ef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97172 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EmperorMoMo/FatSheepCrisis",
"max_stars_repo_path": "01-FatSheepCrisis/Assets/Scripts/Skill/SkillManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97173"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SkillManager : Singleton<SkillManager>
{
[System.Serializable]
public struct SkillPrefabs
{
public int id;
[Min(1)]
private int level;
public GameObject gameObject;
}
public ... | 2.39145 | d9466fcdb075be2b45ac1f8ca1a2655a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97173 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "gep13/Cake.Unity3D",
"max_stars_repo_path": "src/Cake.Unity3D/Helpers/WindowsShortcut.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97174"
} | starcoder | using System;
using System.IO;
namespace Cake.Unity3D.Helpers
{
/// <summary>
///
/// </summary>
public static class WindowsShortcut
{
/// <summary>
///
/// </summary>
/// <param name="file"></param>
/// <returns></returns>
public static string Get... | 3.047189 | 8ae346eace5a4721d5d3911ad717227f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97174 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tapeterman/Sistema-Loja-Web",
"max_stars_repo_path": "SistemaLoja/SistemaLoja/Controllers/PessoaController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97175"
} | starcoder | using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using SistemaLoja.Models;
namespace SistemaLoja.Controllers
{
public class PessoaController : Controller
{
private SistemaLojaContex... | 2.158095 | b3badedd78142c600bc63c72187b59af |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97175 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yingtodayang/eSDK_VCN_API_Windows_CPP",
"max_stars_repo_path": "sample/eSDK_IVS_OCX_Demo_V2.1.00.100_CSharp/ivs_cs_demo/Common/Entity/SnapshotFormat.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97176"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
namespace ivs_cs_demo
{
/// <summary>
/// 抓拍保存格式
/// 1-jpg
/// 2-bmp
/// </summary>
public enum SnapshotFormat
{
/// <summary>
/// 抓拍保存为jpg
/// </su... | 2.586182 | 871584af13915652a1de0e31fd2b018d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97176 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "endeavourhealth/FHIR-Tools",
"max_stars_repo_path": "FhirProfilePublisher/FhirProfilePublisher.Engine/Utilities/WebHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97177"
} | starcoder | using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Linq;
using System.Xml.Serialization;
namespace... | 2.364189 | 3cdad29743912fa76612a426f016c302 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97177 | {
"extension": "c-sharp",
"max_stars_count": "110.0",
"max_stars_repo_name": "patridge/FlatRedBall",
"max_stars_repo_path": "FRBDK/GlueView/GlueView/GlueView/Plugin/PluginManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97178"
} | starcoder | <filename>FRBDK/GlueView/GlueView/GlueView/Plugin/PluginManager.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FlatRedBall.Glue.Plugins;
using FlatRedBall.Glue.Plugins.Interfaces;
using System.ComponentModel.Composition;
using FlatRedBall.IO;
using FlatRedBall.Glue;
nam... | 1.977404 | 6fb2af31237bae630cb743fbfacf4a7f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97178 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "tom-mckinney/regiment",
"max_stars_repo_path": "test/Regi.Test/Services/FrameworkServiceProviderTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97179"
} | starcoder | using McMaster.Extensions.CommandLineUtils;
using Microsoft.Extensions.DependencyInjection;
using Regi.Abstractions;
using Regi.CommandLine;
using Regi.Services;
using Regi.Test.Helpers;
using System;
using Xunit;
using Xunit.Abstractions;
namespace Regi.Test.Services
{
public class FrameworkServiceProviderTests
... | 2.251838 | c3d6124e223376c7dde84bbd5eb03d0e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97179 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MyJetWallet/MyJetWallet.Sdk.Service",
"max_stars_repo_path": "src/MyJetWallet.Sdk.Service/ApplicationEnvironment.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97180"
} | starcoder | <filename>src/MyJetWallet.Sdk.Service/ApplicationEnvironment.cs
using System;
using System.Linq;
using System.Reflection;
using JetBrains.Annotations;
using Microsoft.Extensions.Configuration;
using MyJetWallet.Sdk.Grpc;
namespace MyJetWallet.Sdk.Service
{
[UsedImplicitly]
public static class ApplicationEnvir... | 2.289307 | f4913da08143f52fe5832f25823690a1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97180 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "maca88/SharperArchitecture",
"max_stars_repo_path": "Source/SharperArchitecture.WebApi/Specifications/IRequestMessageProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97181"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace SharperArchitecture.WebApi.Specifications
{
public interface IRequestMessageProvider
{
HttpRequestMessage CurrentMessage { get; }
}
}
| 1.544156 | 2fa08585f211c0f66227f6f3172c32a3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97181 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "FilamentGames/BeauUtil",
"max_stars_repo_path": "Assets/BeauUtil/Transform/TransformHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97182"
} | starcoder | <reponame>FilamentGames/BeauUtil<filename>Assets/BeauUtil/Transform/TransformHelper.cs
/*
* Copyright (C) 2017-2020. <NAME>. All rights reserved.
* Author: <NAME>
* Date: 29 July 2020
*
* File: TransformHelper.cs
* Purpose: Transform helper functions.
*/
using System;
using System.Collections.Generic;
... | 2.141637 | c9ba7792c3894e5758ba7db68ebb0a7f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97182 | {
"extension": "c-sharp",
"max_stars_count": "130.0",
"max_stars_repo_name": "URIS-2021-2022/tim-5---fanray-tim-5-fanray",
"max_stars_repo_path": "src/Core/Fan/Data/EMetaType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97183"
} | starcoder | <reponame>URIS-2021-2022/tim-5---fanray-tim-5-fanray
namespace Fan.Data
{
/// <summary>
/// The different meta types.
/// </summary>
public enum EMetaType
{
/// <summary>
/// A setting.
/// </summary>
Setting = 0,
/// <summary>
/// A theme.
//... | 2.010204 | 35b4b76170b75bbdf81deebf63093512 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97183 | {
"extension": "c-sharp",
"max_stars_count": "35.0",
"max_stars_repo_name": "Kukkimonsuta/Odachi",
"max_stars_repo_path": "src/Odachi.JsonRpc.Common/Internal/MultiWordCamelCaseNamingStrategy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97184"
} | starcoder | <reponame>Kukkimonsuta/Odachi<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Odachi.Extensions.Formatting;
using Newtonsoft.Json.Serialization;
namespace Odachi.JsonRpc.Common.Internal
{
public class MultiWordCamelCaseNamingSt... | 2.375917 | 0d3965fd30d8ce533d184afdaa11b042 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97184 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nipunanr/school-management-application-c-sharp",
"max_stars_repo_path": "SchoolManagementApplciation/ManageStudents.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97185"
} | starcoder | <gh_stars>0
namespace SchoolManagementApplciation
{
partial class ManageStudents
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... | 2.026426 | 7253bab25c3245602e1ac701d0beb504 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97185 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LBHackney-IT/lbh-adult-social-care-transactions-api",
"max_stars_repo_path": "LBH.AdultSocialCare.Transactions.Api/V1/UseCase/SupplierReturnUseCases/Concrete/CreateDisputeChatUseCase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9... | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using LBH.AdultSocialCare.Transactions.Api.V1.Domain.SupplierReturnDomains;
using LBH.AdultSocialCare.Transactions.Api.V1.Factories;
using LBH.AdultSocialCare.Transactions.Api.V1.Gateways.SupplierReturnGateways;
using LBH.A... | 1.872166 | 4e3c94f8256299346b1b45ae4be03815 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97186 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "philanderson888/2019-11-c-sharp-labs",
"max_stars_repo_path": "Labs/Lab_20_Northwind_Products/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97187"
} | starcoder | using System;
using System.Linq;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore;
namespace Lab_20_Northwind_Products
{
class Program
{
static void Main(string[] args)
{
using (var db = new Northwind())
{
}
}
}
}
| 1.82997 | d1e8714cdf571a4ee0576e422b6ab85f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97187 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jasonmitchell/owin.commandhandling",
"max_stars_repo_path": "src/Sequin.Owin.Integration/Extensions/HttpResponseBody.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97188"
} | starcoder | namespace Sequin.Owin.Integration.Extensions
{
using System.Net.Http;
using Jil;
public static class HttpResponseBody
{
public static string Body(this HttpResponseMessage response)
{
return response.Content.ReadAsStringAsync().Result;
}
public static T Body... | 2.24414 | 9e47af961cbfc3aed94be481862beabf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97188 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tw1tch01/helpdesk.core",
"max_stars_repo_path": "Libraries/Domain/Tickets/Events/TicketsLinkedEvent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97189"
} | starcoder | using Helpdesk.Domain.Common;
using Helpdesk.Domain.Tickets.Enums;
namespace Helpdesk.Domain.Tickets.Events
{
public class TicketsLinkedEvent : DomainEvent
{
public TicketsLinkedEvent(int fromTicketId, int toTicketId, TicketLinkType linkType)
{
FromTicketId = fromTicketId;
... | 2.126033 | a0469bf53871493b6e0124ecbe9fc93f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97189 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zzxcv1314/Recognizers-Text",
"max_stars_repo_path": ".NET/Microsoft.Recognizers.Text.DateTime/English/Extractors/EnglishTimeZoneExtractorConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97190"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using System.Text.RegularExpressions;
using Microsoft.Recognizers.Definitions.English;
namespace Microsoft.Recognizers.Text.DateTime.English
{
public class EnglishTimeZoneExtractorConfiguration : BaseOptionsConfiguration, ITimeZoneExtractorConfiguration
{
... | 1.935919 | 4dcab42ded51513ed5cd88f88b5d0a15 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97190 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jordanstudioroot/QuikGraph",
"max_stars_repo_path": "Assets/quikgraphnpm-unitycsharp/runtime/QuikGraph.Runtime/Events/VertexEventArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97191"
} | starcoder | using System;
namespace QuikGraph {
/// <summary>
/// Base class for arguments of an event related to a vertex.
/// </summary>
/// <typeparam name="TVertex">
/// Vertex type.
/// </typeparam>
public class VertexEventArgs<TVertex> : EventArgs {
/// <summary>
/// Initializes a new instance of the
/// ... | 3.071636 | 8c54878342ee675ea0203fbb811ab07e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97191 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lithiumtoast/c-2-cs",
"max_stars_repo_path": "src/cs/production/contexts/C2CS.Contexts.ReadCodeC/Data/ReadCodeCConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97192"
} | starcoder | // Copyright (c) <NAME>. (https://github.com/bottlenoselabs). All rights reserved.
// Licensed under the MIT license. See LICENSE file in the Git repository root directory for full license information.
using System.Collections.Immutable;
using System.Text.Json.Serialization;
using C2CS.Foundation.Data;
using JetBrains... | 2.046076 | 1dcef5af256f99841544c1c95fa0b1b6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97192 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "topelab/l2data2code",
"max_stars_repo_path": "src/L2Data2Code/L2Data2CodeWPF/SetupDI.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97193"
} | starcoder | using L2Data2CodeUI.Shared.Adapters;
using L2Data2CodeWPF.ViewModel;
using Unity;
using L2Data2Code.BaseGenerator.Services;
using L2Data2Code.BaseGenerator.Interfaces;
using L2Data2Code.SharedLib.Helpers;
using L2Data2Code.SharedLib.Configuration;
using NLog;
namespace L2Data2CodeWPF
{
public class SetupDI
{
... | 1.569339 | a3692ee654c812e60b454fc301e0f928 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97193 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "max4805/ExtendedVariantMode",
"max_stars_repo_path": "ExtendedVariantMode/Entities/Legacy/ExtendedVariantTrigger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97194"
} | starcoder | <reponame>max4805/ExtendedVariantMode
using Celeste;
using Celeste.Mod.Entities;
using ExtendedVariants.Module;
using Microsoft.Xna.Framework;
using System;
namespace ExtendedVariants.Entities.Legacy {
// legacy extended variant trigger that can set any variant by taking an integer as an input.
// this used t... | 2.17984 | 2ebc45db3fa3617e44e10c0b00f8c282 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97194 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HadesKing/PlanManager",
"max_stars_repo_path": "src/Ld.PlanMangager.Infrastructure/TSqlRules/BaseTSqlRule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97195"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Ld.PlanMangager.Infrastructure.TSqlRules
{
public abstract class BaseTSqlRule : ITSqlRule
{
public string ErrorMsg { get; protected set; }
public abstract bool IsMatch(string sql);
}
}
| 1.683085 | 948aebeefa78e516b5a2a7baaf27ecff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97195 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "benx1n/Snap.Genshin",
"max_stars_repo_path": "DGP.Genshin/Models/MiHoYo/Record/Avatar/Reliquary.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97196"
} | starcoder | <reponame>benx1n/Snap.Genshin<filename>DGP.Genshin/Models/MiHoYo/Record/Avatar/Reliquary.cs
using DGP.Genshin.Data.Helpers;
using Newtonsoft.Json;
namespace DGP.Genshin.Models.MiHoYo.Record.Avatar
{
internal class Reliquary
{
[JsonProperty("id")] public int Id { get; set; }
[JsonProperty("name... | 1.836358 | ba37f5236efc877ed3eedf0ecdba5d87 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97196 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Syadeu/CoreSystem",
"max_stars_repo_path": "Runtime/Jobs/IJob.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97197"
} | starcoder | using Syadeu.Collections;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Syadeu.Job
{
public interface IJob
{
/// <summary>
/// 이 잡이 수행되어 완료됬나요?
/// </summary>
bool IsDone { get; }
/// <summary>
/// 이 잡이 수행중인가요?
/// </summa... | 2.687716 | 7d783fd65f7dfeabe58931d221ff742e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97197 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Zaggoware/RobotFighter",
"max_stars_repo_path": "Zaggoware.RobotFighter/Items/Weapons/WeaponType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97198"
} | starcoder | <reponame>Zaggoware/RobotFighter
namespace Zaggoware.RobotFighter.Items.Weapons
{
public enum WeaponType
{
None,
Sword,
Handgun,
Shotgun,
Sniper,
Laser
}
}
| 1.325044 | 79f65b4b44b8e76aa32058b17bd71825 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97198 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "GetFunkin/Funkin.NET",
"max_stars_repo_path": "Funkin.NET.Intermediary/Screens/DefaultScreen.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97199"
} | starcoder | <reponame>GetFunkin/Funkin.NET
using Funkin.NET.Intermediary.Screens.Backgrounds;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Screens;
// ReSharper disable VirtualMemberCallInConstructor
namespace Funkin.NET.Intermediary.Screens
{
public abstract class DefaultScreen : Screen,... | 2.443406 | c5bf1d0dc1a3f0600c8ab125702bf114 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97199 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ianhorswill/ImaginariumCore",
"max_stars_repo_path": "Imaginarium/Parsing/SpreadSheet.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97200"
} | starcoder | <filename>Imaginarium/Parsing/SpreadSheet.cs
#region Copyright
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="SpreadSheet.cs" company="<NAME>">
// Copyright (C) 2019, 2020 <NAME>
//
// Permission is hereby granted, free of ch... | 3.159796 | 40ba5accc9984fba116e1e6ef162df1f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97200 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FeroZap/ShadowCore",
"max_stars_repo_path": "ShadowCore.DAL/EntityFramework/Identity/ApplicationSignInManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97201"
} | starcoder | <gh_stars>0
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using ShadowCore.DAL.EntityFramework.Abstract.Identity;
using ShadowCore.Models.EntityFramework.Domain;
namespace ShadowCore.DAL.EntityFramework.Identity
{
publ... | 1.458087 | 7eb1d0b993263c3ecfa31dfdac2faee8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97201 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "qingshan315/QS.Core",
"max_stars_repo_path": "src/QingShan/Extensions/Collection/EnumerableExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97202"
} | starcoder | <reponame>qingshan315/QS.Core
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace System.Collections.Generic
{
public static class EnumerableExtensions
{
/// <summary>
/// 使用指定的分隔符连接对象数组的元素
/// <see cref="strin... | 2.750442 | 6f11bd05e1f6f538f131705539c9b599 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97202 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "diogocapela/isep-lapr5",
"max_stars_repo_path": "production/Production.API/Controllers/OperationsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97203"
} | starcoder | <gh_stars>1-10
using System;
using System.Net;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace moc_production_service.Controllers
{
[ApiController]
[Route("api/v1/operations")]
public class OperationsController : C... | 2.375316 | 0dab81dd4d0882435f013fe5635db48b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97203 | {
"extension": "c-sharp",
"max_stars_count": "260.0",
"max_stars_repo_name": "alexbowers/pulumi-aws",
"max_stars_repo_path": "sdk/dotnet/AppRunner/Outputs/ServiceInstanceConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97204"
} | starcoder | <gh_stars>100-1000
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Se... | 2.0148 | b980e40908e691aa57b71ff76afb6cb4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97204 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brandonh-msft/azure-cosmos-dotnet-v3",
"max_stars_repo_path": "Microsoft.Azure.Cosmos/src/ChangeFeed/ChangeFeedCrossFeedRangeAsyncEnumerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97205"
} | starcoder | <gh_stars>0
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// ------------------------------------------------------------
namespace Microsoft.Azure.Cosmos.ChangeFeed
{
using System;
using System.Collections.Generic;
using Syst... | 1.940907 | 12138f3a2c412de0e62862d82136a790 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97205 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PhiseySt/FeatureManagement",
"max_stars_repo_path": "sample/FeatureToggleApp/Controllers/WeatherForecastController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97206"
} | starcoder | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Threading.Tasks;
using FeatureToggleApp.Configurations;
using FeatureToggleApp.Models;
using FeatureToggleApp.Services;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
... | 2.069631 | 7e7c670ecaad97a5b1de5d4a982cff26 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97206 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dogukanalan/Sultanlar",
"max_stars_repo_path": "Sultanlar/Sultanlar.WebUI/kenton/tarifler.aspx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97207"
} | starcoder | 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 Sultanlar.DatabaseObject.Kenton;
using Sultanlar.Class;
namespace Sultanlar.WebUI.kenton
{
public partial class tarifler : Page
{
protecte... | 1.916801 | 152d00b9f497e34fedc743aa0ce13660 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97207 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yolanother/UnityPocketSphinx",
"max_stars_repo_path": "Scripts/Runtime/PocketSphinx/Android/PocketSphinxPINVOKE.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97208"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 4.0.2
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//-----... | 1.57991 | f59b2b6239b77b376ed5d910f3d5e680 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97208 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stevebelskie/SqlQuery.Extensions",
"max_stars_repo_path": "src/SqlKata.Extensions.Tests/Models.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97209"
} | starcoder | <reponame>stevebelskie/SqlQuery.Extensions<gh_stars>0
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Text;
namespace SqlKata.Extensions.Tests
{
[ExcludeFromCodeCoverage]
public class User
{
public int UserId { get; set; }
... | 1.986964 | f82598dd7d0d00dc03b39a819acb6c46 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97209 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Jason-Skillman/Jibs-Evolution",
"max_stars_repo_path": "Assets/My Assets/Scripts/Ammo Seed/AmmoSeed.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97210"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AmmoSeed : MonoBehaviour {
public int damage = 20;
public GameObject deathObject;
public void OnCollisionEnter2D(Collision2D collision) {
if(collision.gameObject.tag == "Ground" || collision.gameObject.tag == "Death" |... | 2.321924 | 607dcbd3f47643579d508cb32a1e20ec |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97210 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ymclapp/Lab06-Zoo",
"max_stars_repo_path": "Lab06Console/Scorpions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97211"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lab06Console
{
public class Scorpions : Metal//Scorpions is a child of Metal
{
public Scorpions() : base("Scorpions")//call base constructor with name
{
}
public override b... | 2.916588 | 61194ab3a94834409192221582f627d8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97211 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "petrsvihlik/petrsvihlik.com",
"max_stars_repo_path": "Pipelines/HomepagePipeline.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97212"
} | starcoder | <filename>Pipelines/HomepagePipeline.cs
using Kentico.Kontent.Delivery.Abstractions;
using PetrSvihlik.Com.Models.ContentTypes;
namespace PetrSvihlik.Com.Pipelines
{
public class HomepagePipeline : LoadDataPipeLine<Homepage>
{
public HomepagePipeline(IDeliveryClient deliveryClient) : base(deliveryClien... | 1.532696 | 86d4fed856c632caec5d8a6da584ae19 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97212 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "malcolmstill/compositor.net",
"max_stars_repo_path": "ZxdgShellUnstableV6Global.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97213"
} | starcoder |
using System;
using Wayland.Server;
using Wayland.Server.Protocol;
using XdgShellUnstableV6.Server.Protocol;
// using System.Runtime.InteropServices;
namespace WindowManager
{
public class XdgShellV6Global : ZxdgShellV6Global
{
public override void Bind(IntPtr client, IntPtr data, UInt32 version, UInt32 id... | 1.338363 | 70e5c8b3c8fa1602a0f80299aaffb229 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97213 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BenjaminChambers/SudokuSharp",
"max_stars_repo_path": "LibSudokuSharp/src/Board/Find/Singles.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97214"
} | starcoder | using System.Collections.Generic;
using System.Linq;
namespace SudokuSharp
{
public partial class Board
{
public partial class _FindClass
{
/// <summary>
/// Looks for Naked Singles. These are cells with only a single candidate
/// </summary>
///... | 3.258295 | 8e412ed3396d495012e2134adf8ea153 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97214 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "adrianosepe/DotNetAppBase",
"max_stars_repo_path": "src/DotNetAppBase.Std.Db.Work/DbWorker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97215"
} | starcoder | #region License
// Copyright(c) 2020 GrappTec
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use,
// copy, modify,... | 2.272727 | 345c359334db11c7d2645e23624016d2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97215 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "JorgeCandeias/Trader",
"max_stars_repo_path": "Trader.Trading/Commands/TagGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97216"
} | starcoder | using Microsoft.Extensions.Options;
using System.Globalization;
namespace Outcompute.Trader.Trading.Commands;
internal class TagGenerator : ITagGenerator
{
private readonly TagGeneratorOptions _options;
public TagGenerator(IOptions<TagGeneratorOptions> options)
{
_options = options.Value;
}
... | 2.921091 | 9ab275f315da8d4e399590cdcfa3f79b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97216 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "qwerelt/GrillBot",
"max_stars_repo_path": "src/Grillbot/Database/Repository/TeamSearchRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97217"
} | starcoder | using System.Linq;
using System.Threading.Tasks;
using Grillbot.Database.Entity;
using Microsoft.EntityFrameworkCore;
namespace Grillbot.Database.Repository
{
public class TeamSearchRepository : RepositoryBase
{
public TeamSearchRepository(GrillBotContext context) : base(context)
{
}
... | 2.613851 | 3d26ec72054392c0bc97deeec89fa9a8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97217 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.das-commitments",
"max_stars_repo_path": "src/SFA.DAS.Commitments.Infrastructure.UnitTests/Services/ApprenticeshipEventsPublisherTests/WhenIPublishLargeNumbersOfEvents.cs",
"provenance": "train-00000-... | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Moq;
using NUnit.Framework;
using SFA.DAS.Commitments.Application.Interfaces.ApprenticeshipEvents;
using SFA.DAS.Commitments.Domain.Entities;
using SFA.DAS.Commitments.Domain.Interfaces;
using SFA.DAS.Commitments.Infrast... | 2.052231 | 70cd103ae5d6e1676c3f636f3204aaad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97218 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "exdev/ex-unity",
"max_stars_repo_path": "scripts/Debugger/Editor/exDebugHelperEditor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97219"
} | starcoder | // ======================================================================================
// File : exDebugHelperEditor.cs
// Author : <NAME>
// Last Change : 11/25/2011 | 23:49:23 PM | Friday,November
// Description :
// ================================================================================... | 2.193816 | 7ea66c575112a16cbb1cf125514614d4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97219 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dotsudo/plus-clean",
"max_stars_repo_path": "HabboHotel/Items/Interactor/InteractorMannequin.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97220"
} | starcoder | namespace Plus.HabboHotel.Items.Interactor
{
using System;
using System.Collections.Generic;
using Communication.Packets.Outgoing.Rooms.Engine;
using GameClients;
internal class InteractorMannequin : IFurniInteractor
{
public void OnPlace(GameClient session, Item item)
{
... | 2.308177 | 20fb4cc24cb6a22afe001e8ba7d9057f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97220 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pos0637/IOTFramework",
"max_stars_repo_path": "sources/IOTFramework/Communication/Session/SessionManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97221"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Threading;
namespace Session
{
/// <summary>
/// 通讯会话管理器
/// </summary>
public abstract class SessionManager : IDisposable
{
/// <summary>
/// 客户端索引
/// </summary>
private readonl... | 2.712802 | 7a4f8a1dc8eb9a5fcc9de640a42e3c29 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97221 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "usercode/DragonFly",
"max_stars_repo_path": "src/DragonFly.Core/Assets/Models/AssetMetadata.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97222"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace DragonFly.Content
{
public abstract class AssetMetadata
{
public abstract string Type { get; }
}
}
| 1.615113 | 7309f4f2c3e02d1664189c75aa384649 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97222 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Henry-YSLin/Dashboard",
"max_stars_repo_path": "Dashboard/Components/Containers/LayoutContainer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97223"
} | starcoder | <reponame>Henry-YSLin/Dashboard
using Dashboard.Components.Containers;
using Dashboard.Config;
using Dashboard.Services;
using Dashboard.Utilities;
using MaterialDesignColors;
using MaterialDesignThemes.Wpf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Regular... | 1.325094 | 5c590f0574691a3d58b926067f6f4c09 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97223 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "03012021-dotnet-uta/MatthewGrimsley_p0",
"max_stars_repo_path": "pizzabox/PizzaBox.Client/Menus/ToppingsMenu.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97224"
} | starcoder | using System;
using PizzaBox.Client.Abstracts;
using PizzaBox.Client.Singletons;
using PizzaBox.Domain.Models;
using PizzaBox.Domain.Singletons;
namespace PizzaBox.Client.Menus
{
internal class ToppingsMenu : ASelectOptionMenu
{
private static ToppingsMenu _toppingsMenu;
private int ... | 2.871547 | 5509361b269413a624442f41fdbe428d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97224 | {
"extension": "c-sharp",
"max_stars_count": "35.0",
"max_stars_repo_name": "enduracode/enterprise-web-library",
"max_stars_repo_path": "Core/Collections/ListSet.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97225"
} | starcoder | <filename>Core/Collections/ListSet.cs
using System;
using System.Collections;
using System.Collections.Generic;
using Tewl.Tools;
namespace EnterpriseWebLibrary.Collections {
/// <summary>
/// A collection that does not allow duplicates, and keeps items in the order they are added.
/// </summary>
public c... | 3.516875 | 8c2c66497168d039c4e4f7bd7d668ba7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97225 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sarwar1072/SRegisProcess",
"max_stars_repo_path": "RegistrationProcess/RegistrationProcess.web/Areas/Admin/Views/_ViewImports.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:97226"
} | starcoder | @using RegistrationProcess.web.Areas.Admin.Models
@using RegistrationProcess.web.Areas.Admin.Models.Course
@using RegistrationProcess.web.Areas.Admin.Models.Student
@using RegistrationProcess.web.Areas.Admin.Models.StudentRegistration
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.644845 | 238140a33b788ce75554208fe2652a53 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97226 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Areloch/GG-Torque3D",
"max_stars_repo_path": "Templates/BaseGame/game/data/TTR/materials/SMPOWWall35.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97227"
} | starcoder | //--- OBJECT WRITE BEGIN ---
singleton Material(SMPOWWall35) {
mapTo = "SMPOWWall35";
DiffuseMapAsset[0] = "TTR:SMPOWWall35_ALBEDO";
};
//--- OBJECT WRITE END ---
| 1.070132 | fa5ff33e697fd25e45e61f721427ba77 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97227 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "Killers2/K2host.Certificates",
"max_stars_repo_path": "Asn1Encoding/Universal/Asn1IA5String.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97228"
} | starcoder | using System;
using System.IO;
using System.Linq;
using System.Text;
namespace SysadminsLV.Asn1Parser.Universal {
/// <summary>
/// Represents an ASN.1 <strong>IA5String</strong> data type. IA5String contains characters
/// from International ASCII character (International Alphabet 5) set.
/// </summa... | 3.042231 | ff51242e0d596100d59b9832728d0cc6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97228 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sostito/grado-arritmias-cardiacas",
"max_stars_repo_path": "grado-arritmias-cardiacas/Controllers/LoginController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97229"
} | starcoder | using GradoArritmiasCardiacas.Models.Login;
using GradoArritmiasCardiacas.Services.DataBase;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using System.Threading.Tasks;
namespace grado_arritmias_cardiacas.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class Login... | 2.355137 | 54868128aa778117c99323fe8e179298 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97229 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "StormiumTeam/package.stormiumteam.gamebase",
"max_stars_repo_path": "Runtime/Utility/Rendering/MaterialProperty/MaterialPropertyBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97230"
} | starcoder | <gh_stars>1-10
using UnityEngine;
namespace StormiumTeam.GameBase.Utility.Rendering.MaterialProperty
{
public abstract class MaterialPropertyBase : MonoBehaviour
{
public abstract void RenderOn(MaterialPropertyBlock mpb);
}
public abstract class MaterialPropertyBase<T> : MaterialPropertyBase
where T : unmanag... | 2.298034 | f9d49d6a38f7d81ad229da549ebd4ab5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97230 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "atanas-georgiev/TelerikAcademy",
"max_stars_repo_path": "03.Object-Oriented-Programming/Exams/OOP-Exam-12-Dec-2013/Problem02_TradeAndTravel/TradeAndTravel/InteractionManagerModified.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97... | starcoder | <filename>03.Object-Oriented-Programming/Exams/OOP-Exam-12-Dec-2013/Problem02_TradeAndTravel/TradeAndTravel/InteractionManagerModified.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TradeAndTravel
{
class InteractionManagerModified ... | 2.960723 | 04232f4b9a43731c358d5644fcd8bf4d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97231 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fontanaricardo/becomex-code-challenge",
"max_stars_repo_path": "src/RoboCore/Business/ElbowBusiness/ElbowContractInteractor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97232"
} | starcoder | using RoboCore.Models;
namespace RoboCore.Business.ElbowBusiness
{
public class ElbowContractInteractor : IRequestHandler<ElbowContractRequest, ElbowContractResponse>
{
public ElbowContractResponse Handle (ElbowContractRequest request)
{
var response = new ElbowContractResponse ();
... | 2.409008 | 444c4656f3422e27ada1fb8c11bc833c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97232 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KuaileY/DungeonsGame",
"max_stars_repo_path": "DungeonsGame/Assets/scripts/features/components/dataComponents/ViewObjectPoolComponent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97233"
} | starcoder | <gh_stars>0
using Entitas;
using Entitas.CodeGenerator;
using UnityEngine;
[Input,SingleEntity]
public sealed class ViewObjectPoolComponent:IComponent
{
public MyObjectPool<GameObject> pool;
}
| 1.022833 | f387844bdcc029938e5908c4f359daee |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97233 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Whiteknight/CmdArt",
"max_stars_repo_path": "CmdArt/Images/Samplers/PickOneImageSampler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97234"
} | starcoder | <gh_stars>0
using CmdArt.Colors;
using System.Drawing;
namespace CmdArt.Images.Samplers
{
public class PickOneImageSampler : IImageSampler
{
// TODO: The "pixels" in the console aren't usually square. Create a sampler that accounts for a
// rectangular pixel
public Color GetSampleColo... | 2.919635 | c9f6e7f3559f2f6fa6e3b5bc6cd64ad3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97234 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "qhris/DiabloSpeech",
"max_stars_repo_path": "src/DiabloSpeech.Core/Twitch/ITwitchChannelConnection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97235"
} | starcoder | <gh_stars>1-10
// This file is a part of DiabloSpeech and is under the MIT license.
// See the LICENSE file at the root of the project for more information.
using System;
namespace DiabloSpeech.Core.Twitch
{
public interface ITwitchChannelConnection : IDisposable
{
string Channel { get; }
stri... | 2.056194 | 99dddb5b6c5efd1c046885047404f57b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97235 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stevedesmond-ca/WiFiHeatMap",
"max_stars_repo_path": "Core/ISignalHub.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97236"
} | starcoder | <filename>Core/ISignalHub.cs<gh_stars>0
namespace WiFiSurveyor.Core;
public interface ISignalHub
{
Task SendMessage(Message message);
} | 1.641302 | 4ac70d74676dc9ebdd520ffbb44dd336 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97236 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Vladimir1965/LargoComposer",
"max_stars_repo_path": "LargoSharedClasses/Music/RhythmicModality.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97237"
} | starcoder | <reponame>Vladimir1965/LargoComposer
// <copyright file="RhythmicModality.cs" company="Traced-Ideas, Czech republic">
// Copyright (c) 1990-2021 All Right Reserved
// </copyright>
// <author>vl</author>
// <email></email>
// <date>2021-09-01</date>
// <summary>Part of Largo Composer</summary>
using LargoSharedClasses.... | 2.288805 | 581baa47d9da3f527bf881958f454109 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97237 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tso1158687/blog-1",
"max_stars_repo_path": "src/input/_PostFooter.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:97238"
} | starcoder | @{
var post = Model;
// 取得這篇的網址 - 如果有舊資料表示是從blogspot來的,因此網址用以前的網址
// 如果沒有表示是新的網址,用新的。
var uniqueSocialUrl = post.String(Keys.RedirectFrom);
if(string.IsNullOrEmpty(uniqueSocialUrl))
{
uniqueSocialUrl = @Context.GetLink(Model, true);
}
else
{
uniqueSocia... | 2.155381 | 099f217baeba1f458a4d3937935bc2f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97238 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "SingularisLab/singularis.specification",
"max_stars_repo_path": "src/Singularis.Specification/Singularis.Specification.Test/Shared/WithTakeWhile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97239"
} | starcoder | using System;
using System.Linq.Expressions;
using Singularis.Specification.Definition;
using Singularis.Specification.Test.Singularis.Specification.Definition.Models;
namespace Singularis.Specification.Test.Shared
{
class WithTakeWhile : Specification<User>
{
public Expression<Func<User, bool>> Expression = x =>... | 2.141173 | 53f25e8725b1c6471dcadfc9d298b767 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97239 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "FHDortmund/Termserver",
"max_stars_repo_path": "src/TerminologyConverter/TerminologyConverter/TerminologyConverter/Converter/TermCSV.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97240"
} | starcoder | <filename>src/TerminologyConverter/TerminologyConverter/TerminologyConverter/Converter/TermCSV.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TerminologyConverter.Converter
{
class TermCSV
{
public TermCSV()
... | 2.727069 | 5a32f0319b7d9bf26cb1466fc2962db2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97240 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Jenocn/GameCommonLibrary",
"max_stars_repo_path": "src/Serialization/DataObject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97241"
} | starcoder | <filename>src/Serialization/DataObject.cs
/*
By Jenocn
https://jenocn.github.io/
*/
namespace GCL.Serialization {
/// <summary>
/// 数据对象
/// </summary>
public class DataObject {
public static implicit operator bool(DataObject exists) {
return exists != null;
}
}
/// <summary>
/// 可克隆的对象
/// </summary... | 2.635712 | 01ef3dbabfc7dc619fe71814a230c900 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97241 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "anyjobs/anyjob.engine",
"max_stars_repo_path": "test/AnyJob.Runner.App.UnitTest/AppActionTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97242"
} | starcoder | using System.Collections.Generic;
using System.Runtime.InteropServices;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace AnyJob.Runner.App.UnitTest
{
[TestClass]
public class AppActionTest
{
private bool IsWindows = (int)(System.Environment.OSVersion.Platform) < 4;
[TestMethod... | 2.437654 | 94b73de9ca87038d12491541e4bf2d30 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97242 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "paphillips/DFB",
"max_stars_repo_path": "DFBPluginModel/PluginToolStripMenuItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97243"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using DFBProject;
using DFBSimulatorWrapper;
namespace DFBPluginModel
{
public class PluginToolStripMenuItem : ToolStripMenuItem
{
IPlugin plugInOwner;
IPlugin PluginOw... | 1.627831 | 9b0b86148914d4df722179402431c638 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97243 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "NaosFramework/Naos.Utils.Database",
"max_stars_repo_path": "Naos.Database.Domain/.recipes/OBeautifulCode.Validation/ParameterShould.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97244"
} | starcoder | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="ParameterShould.cs" company="OBeautifulCode">
// Copyright (c) OBeautifulCode 2018. All rights reserved.
// </copyright>
// <auto-generated>
// Sourced from NuGet package. Wil... | 2.421762 | 5e7080f7f1ae83be79f5ef363888aeb2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97244 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "goodtocode/analytics",
"max_stars_repo_path": "src/matching/Matching.Unit.Tests/Link/Link_Sequential_Tests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97245"
} | starcoder | using GoodToCode.Analytics.Abstractions;
using GoodToCode.Analytics.Matching.Activities;
using GoodToCode.Shared.Blob.Abstractions;
using GoodToCode.Shared.Blob.Excel;
using GoodToCode.Shared.Persistence.StorageTables;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using Microsoft.Visual... | 1.908031 | 63df986121575547fd113e681801c563 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97245 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "AndrioCelos/MIDE",
"max_stars_repo_path": "MScripter/Error.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97246"
} | starcoder |
using FastColoredTextBoxNS;
namespace MScripter {
public class Error {
public ErrorType Type;
public Range Location;
public string Text;
}
public enum ErrorType {
Error,
Warning,
Note
}
}
| 1.570149 | 3b8f874cd7f3bf83625e30a9ddd7b47c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97246 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "D4mo/DotNet",
"max_stars_repo_path": "src/Org.OpenAPITools.Test/Model/SubMerchantDataTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97247"
} | starcoder | <reponame>D4mo/DotNet<filename>src/Org.OpenAPITools.Test/Model/SubMerchantDataTests.cs
/*
* Payment Gateway API Specification.
*
* The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please v... | 1.854931 | 345d5f6b361585257beab042a0b21866 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97247 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AdmiralCurtiss/DiskFileManager",
"max_stars_repo_path": "DiskFileManager/Archive.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97248"
} | starcoder | <filename>DiskFileManager/Archive.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DiskFileManager {
public class Archive {
public long ArchiveId;
public List<ArchivePath> Paths;
public List<ArchivePattern> Patterns;
}
... | 2.221792 | e4fcc421d4f09ab566234deed7d4dd97 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97248 | {
"extension": "c-sharp",
"max_stars_count": "469.0",
"max_stars_repo_name": "lefb766/mono",
"max_stars_repo_path": "mcs/class/System.Web/System.Web.Caching/InMemoryOutputCacheProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97249"
} | starcoder | <reponame>lefb766/mono
//
// Authors:
// <NAME> <<EMAIL>>
//
// (C) 2010 Novell, Inc (http://novell.com/)
//
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, incl... | 1.767063 | 41801f96b44e430408d342b8d8ed6020 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97249 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "Vanaheimr/Hermod",
"max_stars_repo_path": "Hermod/DNS/DNSTools.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97250"
} | starcoder | /*
* Copyright (c) 2010-2021, <NAME> <<EMAIL>>
* This file is part of Vanaheimr Hermod <https://www.github.com/Vanaheimr/Hermod>
*
* 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
*
* ... | 2.265882 | b2e3ad0d1cf2aa9d9d70df31fff64964 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97250 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "AonaSuzutsuki/SavannahManager",
"max_stars_repo_path": "SavannahManager/Styles/DateTimeToDayOfWeekBrushConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97251"
} | starcoder | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Data;
using System.Windows.Media;
namespace _7dtd_svmanager_fix_mvvm.Styles
{
[ValueConversion(typeof(DateTime), typeof(Brush))... | 2.647687 | 420047ff4b0176baedda6523fe3f35e0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97251 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "LuDColl/CoxasHouse",
"max_stars_repo_path": "Services/Interfaces/IPessoaService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97252"
} | starcoder | <reponame>LuDColl/CoxasHouse
using Domain;
namespace Services.Interfaces
{
public interface IPessoaService
{
Task<int?> PostPessoaAsync(Pessoa pessoa);
}
}
| 1.013679 | dcae8e1c7584dd74e030b90070fd93a5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97252 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "mfkiwl/RayRenderer-dp4a",
"max_stars_repo_path": "WPFTest/TextDialog.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97253"
} | starcoder | using System;
using System.Collections.Generic;
using System.Drawing;
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 System.... | 2.383695 | cf64c30e7b01d2a046385b22024b967b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97253 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "steffibreuer/identity",
"max_stars_repo_path": "tests/Codeworx.Identity.Test/Claims/ExternalTokenTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97254"
} | starcoder | <filename>tests/Codeworx.Identity.Test/Claims/ExternalTokenTest.cs
using System;
using System.Collections.Generic;
using System.Text;
using Codeworx.Identity.OAuth;
using Codeworx.Identity.OAuth.Authorization;
using Microsoft.Extensions.DependencyInjection;
using Codeworx.Identity.AspNetCore;
using System.Threading.Ta... | 1.785577 | 979a6e7d7793b409078a4676e4a32b12 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97254 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "iNeverSleeeeep/NPOI-For-Unity",
"max_stars_repo_path": "NPOI.OpenXmlFormats.Wordprocessing/CT_Color.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97255"
} | starcoder | using NPOI.OpenXml4Net.Util;
using System;
using System.IO;
using System.Xml;
using System.Xml.Schema;
using System.Xml.Serialization;
namespace NPOI.OpenXmlFormats.Wordprocessing
{
[Serializable]
[XmlRoot(Namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", IsNullable = true)]
[XmlType(Names... | 2.388433 | 2aa1fc24f70bb6a7258e319d9c4fe808 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97255 | {
"extension": "c-sharp",
"max_stars_count": "364.0",
"max_stars_repo_name": "piql/tusdotnet",
"max_stars_repo_path": "Source/tusdotnet/Validation/Requirements/FileExist.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97256"
} | starcoder | using System.Threading.Tasks;
using tusdotnet.Adapters;
namespace tusdotnet.Validation.Requirements
{
internal sealed class FileExist : Requirement
{
public override async Task Validate(ContextAdapter context)
{
var exists = await context.Configuration.Store.FileExistAsync(context.... | 2.057747 | 2db3c7f3b1926d86ba622201b7581f90 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97256 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SkillsFundingAgency/das-levy-transfer-matching-web",
"max_stars_repo_path": "src/SFA.DAS.LevyTransferMatching.Web/Models/Pledges/AmountViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97257"
} | starcoder | namespace SFA.DAS.LevyTransferMatching.Web.Models.Pledges
{
public class AmountViewModel : AmountPostRequest
{
}
}
| 0.668135 | 6df1a8da832b2a08f56b4d9bb1ac48c7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97257 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FoxCutter/BootDebug",
"max_stars_repo_path": "Source/DiskTools/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97258"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace DiskTools
{
struct PathInfo
{
public int Partition;
public string Folder;
public string File;
public string FilePath;
}
c... | 3.242193 | cfc5d92640ad9d621f2a32a14c5a89ea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97258 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "MarvelousSoftware/MarvelousSoftwareDotNet",
"max_stars_repo_path": "MarvelousSoftware.QueryLanguage/AutoCompletion/AutoCompletionResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97259"
} | starcoder | <filename>MarvelousSoftware.QueryLanguage/AutoCompletion/AutoCompletionResult.cs
using System.Collections.Generic;
using System.Linq;
using MarvelousSoftware.QueryLanguage.Models;
namespace MarvelousSoftware.QueryLanguage.AutoCompletion
{
public class AutoCompletionResult
{
public int StartPosition { g... | 2.483378 | 1d5fa26b5342bf081e43ce7d407b022b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97259 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "qarnot/qarnot-cli",
"max_stars_repo_path": "QarnotCLI/src/Parser/ParseOptions/Interfaces.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97260"
} | starcoder | namespace QarnotCLI
{
using System.Collections.Generic;
using CommandLine;
/// <content>
/// Options Objects of the ParseCommandLine.
/// </content>
public partial class Options
{
public interface IVerboseOptions
{
[Option('v', "verbose", Required = false, HelpTe... | 2.120309 | aae3618068d1575e6b55566a8227cbb0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97260 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SvenFrankson/PopolinaClient",
"max_stars_repo_path": "Assets/Scripts/Chunck.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97261"
} | starcoder | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class Chunck : MonoBehaviour
{
public static float TILESIZE = 0.5f;
public static float TILEHEIGHT = 0.2f;
public static int CHUNCKSIZE = 32;
public bool meshIsSet = false;
public int iPos { get; set; }
publ... | 2.258276 | 62ca7b75a0989e17b2051963a39495e5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.