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.396Z | 2023-09-08T23:13:54.396Z | 8811018 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Pilo11/Mw3SurvivalFun",
"max_stars_repo_path": "FunSolution/AsmJitter/Model/Operand/AbstractOperand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130238"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace AsmJitter.Model.Operand
{
public abstract class AbstractOperand
{
public abstract IEnumerable<byte> GetBytes();
}
}
| 1.739741 | 27dc515f9cb6a41a0c8e4335596d5381 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811019 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MathiasZander/ServiceFabricPerfomanceTest",
"max_stars_repo_path": "tests/MassTransit.Tests/Saga/InjectingSampleSaga.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130239"
} | starcoder | namespace MassTransit.Tests.Saga
{
using System;
using System.Threading.Tasks;
using MassTransit.Saga;
using Messages;
public class InjectingSampleSaga :
InitiatedBy<InitiateSimpleSaga>,
ISaga
{
public InjectingSampleSaga()
{
}
public InjectingS... | 1.856219 | 3ef4b8c9fd65cbd1440995b740827a7c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811020 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LoloActemium/LocalizationProvider",
"max_stars_repo_path": "src/DbLocalizationProvider.Storage.SqlServer/ResourceRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130240"
} | starcoder | // Copyright (c) <NAME>. All rights reserved.
// Licensed under Apache-2.0. See the LICENSE file in the project root for more information
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DbLocalizationProvider.Abstract... | 2.380766 | 69a04c14d37d840104bad4765817dd97 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811021 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "prjm/paspaspas",
"max_stars_repo_path": "PasPasPas.Global/src/CodeGen/IConstantEncoder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130241"
} | starcoder | #nullable disable
using System.Collections.Immutable;
using PasPasPas.Globals.Runtime;
namespace PasPasPas.Globals.CodeGen {
/// <summary>
/// interface for constant encoding / decoding
/// </summary>
public interface IConstantEncoder {
/// <summary>
/// encode a constant
... | 1.93778 | 0ae8fd902c10ef1aa5e7622137f0d6a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811022 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/appplatform/Microsoft.Azure.Management.AppPlatform/src/Generated/Models/BuildResultLog.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130242"
} | starcoder | <reponame>gjy5885/azure-sdk-for-net
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior a... | 1.675479 | cbe5a7e0dc4d37b3e4fe95ef572e8a6e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811023 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sedc-codecademy/skwd9-net-05-oopcsharp",
"max_stars_repo_path": "G4/Class08/ExercisCode/CompanyApp/ClassLibrary/Models/Menager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130243"
} | starcoder | using ClassLibrary.Enums;
using System;
using System.Collections.Generic;
using System.Text;
namespace ClassLibrary.Models
{
public class Menager : Employee
{
private double Bonus { get; set; }
public Menager()
{
}
public Menager(string firstName, string lastName)
... | 3.269625 | 2b2cef5f588b5539efe416cff7b4618f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811024 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Suchiman/corert",
"max_stars_repo_path": "tests/src/Simple/StaticLibrary/UnmanagedCallersOnlyAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130244"
} | starcoder | <reponame>Suchiman/corert
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace System.Runtime.InteropServices
{
/// <summary>
/// Any method marked wit... | 2.328864 | f14c174212762ab2a997bd452e974412 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811025 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SlenderEmpire/CraftAI",
"max_stars_repo_path": "gate/SEGate.Logic/LLAPI/Abstractions/IPacketData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130245"
} | starcoder | namespace CraftAI.Gate.Logic.LLAPI.Abstractions
{
public interface IPacketData { }
}
| 1.164123 | f27ebf818e98af91c127863e89441e0b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811026 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "QotoQot/Octospace",
"max_stars_repo_path": "Mac/Views/Settings/SettingsThemesView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130246"
} | starcoder | <filename>Mac/Views/Settings/SettingsThemesView.cs
using System;
using System.Collections.Generic;
using System.Linq;
using AppKit;
using Foundation;
using Core.ViewModels.Settings;
using MvvmCross.Platforms.Mac.Views;
using Mac.MvvmCross.Bindings;
using MvvmCross.Platforms.Mac.Binding;
namespace Mac.Views.Settings
{... | 1.968644 | ff74d5c58a58ea4449a17787e95b9a9d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811027 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mallibone/XamChat",
"max_stars_repo_path": "XamChat/XamChat/ViewModels/LoginViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130247"
} | starcoder | using System;
using Splat;
using Xamarin.Forms;
using XamChat.Services;
namespace XamChat.ViewModels
{
class LoginViewModel : BaseViewModel
{
private readonly IUserService _userService;
public LoginViewModel(IUserService userService = null)
{
LoginCommand = new Command(Aut... | 2.303617 | 791dd54ae3dc87c9cdd22781adbb32f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811028 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Hristo-R/SoftUni-CSharp-MVC-Frameworks-ASP.NET-Core-2018-project-ThreeDPrinting",
"max_stars_repo_path": "ThreeDPrinting.Tests/Services/ThreeDPrinters/All3DPrintersTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130248"
} | starcoder | namespace ThreeDPrinting.Tests.Services.ThreeDPrinters
{
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ThreeDPrinting.Models;
using ThreeDPrinting.Services.Implementations;
using ThreeDPrinting.Tests.Mocks;
using ThreeDPrinting.Web.Data;
[TestClass]
publi... | 2.559487 | 61e373c58815b654a36db0890d906838 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811029 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kuuo/Kore",
"max_stars_repo_path": "Scripts/Editor/Kore.Editor/Extensions/ReorderableListExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130249"
} | starcoder | using UnityEditorInternal;
namespace Kore.Editor
{
public static class ReorderableListExtension
{
#region Callback Chain
public static ReorderableList OnDrawFooter(this ReorderableList list,
ReorderableList.FooterCallbackDelegate callback)
{
list.drawFooterCall... | 1.950472 | c8e3cb6fc7d39f10556e6d42ed4e570e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811030 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "NGTO-WONG/KishiStory",
"max_stars_repo_path": "Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Lua/Lua Interpreter/Expr/BoolLiteral.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130250"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Language.Lua
{
public partial class BoolLiteral : Term
{
public override LuaValue Evaluate(LuaTable enviroment)
{
return LuaBoolean.From(bool.Parse(this.Text));
}
}
}
| 2.292231 | 0732efd523a37e11ffe0679900d6392b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811031 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jcbozonier/docu",
"max_stars_repo_path": "src/Docu.Console/Parsing/Model/IDocumentationMember.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130251"
} | starcoder | using System.Xml;
namespace Docu.Parsing.Model
{
public interface IDocumentationMember
{
XmlNode Xml { get; set; }
Identifier Name { get; }
bool Match(Identifier name);
}
} | 1.879713 | 24b0787a590a46d83fff22e2dea6d93c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811032 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "keith-hall/Showcase_CSharp_MunicipalityTaxSchedule",
"max_stars_repo_path": "MunicipalityTaxes/MunicipalityTaxes/Implementations/PermissiveDateTaxScheduleValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130252"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NLog;
namespace MunicipalityTaxes
{
class PermissiveDateTaxScheduleValidator : ITaxScheduleValidator
{
public TaxScheduleValidationResult ValidateTaxDetails (MunicipalityTaxDetails... | 2.430699 | 0ed1572011fdf085342656f2d84afc7f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811033 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nesfit/Coffee",
"max_stars_repo_path": "Barista.Mqtt/MessageHandlers/PointOfSale/ReadCardMessageHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130253"
} | starcoder | using System;
using System.Linq;
using System.Threading.Tasks;
using Barista.Common;
using Barista.Common.OperationResults;
using Barista.Contracts.Commands.Swipe;
using Barista.Mqtt.Commands;
using Barista.Mqtt.Models;
using Barista.Mqtt.Queries;
using Barista.Mqtt.Services;
using Barista.Mqtt.TopicClassifiers;
using... | 2.017789 | 42022d48c011eb0b122708a3c7e80429 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811034 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "javaadpatel/ExRam.Gremlinq",
"max_stars_repo_path": "ExRam.Gremlinq.Core/Queries/Steps/UnionStep.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130254"
} | starcoder | <filename>ExRam.Gremlinq.Core/Queries/Steps/UnionStep.cs
using System.Collections.Generic;
using ExRam.Gremlinq.Core.Serialization;
namespace ExRam.Gremlinq.Core
{
public sealed class UnionStep : MultiTraversalArgumentStep
{
public UnionStep(IEnumerable<IGremlinQuery> traversals) : base(traversals)
... | 1.955913 | bd6e9a827197f565831b44420c4b743c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811035 | {
"extension": "c-sharp",
"max_stars_count": "1530.0",
"max_stars_repo_name": "kuacci/scriptcs",
"max_stars_repo_path": "src/ScriptCs.Core/AssemblyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130255"
} | starcoder | using System;
using System.Reflection;
namespace ScriptCs
{
public class AssemblyInfo
{
public string Path { get; set; }
public Assembly Assembly { get; set; }
public Version Version { get; set; }
}
} | 1.88699 | fe688128d1df2212ae7ef2b8f091a386 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811036 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "frudberg/PlainCore",
"max_stars_repo_path": "Source/PlainCore.Core/CQS/Base/ValidationResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130256"
} | starcoder | <filename>Source/PlainCore.Core/CQS/Base/ValidationResult.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
namespace PlainCore.Core.CQS.Base
{
public class ValidationResult
{
public ValidationResult()
{
}
public ValidationR... | 2.646644 | 52ed02c0e804f2999a787ed8d78939c7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811037 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "TwilioDevEd/airtng-csharp",
"max_stars_repo_path": "AirTNG.Web/Views/Reservations/Create.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:130257"
} | starcoder | <gh_stars>10-100
@model AirTNG.Web.ViewModels.ReservationViewModel
@{ ViewBag.CssBody = "property-page"; }
<div class="property-detail">
<div class="overview">
<img src="@Model.ImageUrl" alt="Vacation property image" />
</div>
<div class="container">
<h1>@Model.Description</h1><span></spa... | 2.299899 | c888c43effd71f20fe1ef72447fa97a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811038 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JTOne123/Jal.Bootstrapper",
"max_stars_repo_path": "Jal.Bootstrapper/Interface/IBootstrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130258"
} | starcoder | namespace Jal.Bootstrapper.Interface
{
public interface IBootstrapper<out T> : IBootstrapper
{
T Result { get; }
}
public interface IBootstrapper
{
void Run();
}
}
| 1.7155 | fe97e7fc3ae313620f0827eb803edb10 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811039 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dss539/clrmd",
"max_stars_repo_path": "src/Microsoft.Diagnostics.Runtime.Native/src/DacInterface/SosNativeVTable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130259"
} | starcoder | <filename>src/Microsoft.Diagnostics.Runtime.Native/src/DacInterface/SosNativeVTable.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
#pragma warni... | 1.174985 | 43539dd7715b72a48a9287688d288420 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811040 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "imyxz/NoMatter",
"max_stars_repo_path": "MatterClass/MatterType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130260"
} | starcoder | <filename>MatterClass/MatterType.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CommonClass
{
public enum MatterType
{
oneOffEvent,
periodicEvent,
email
}
} | 1.711366 | 2bed8291fab0df1e93b87a1f4bc12918 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811041 | {
"extension": "c-sharp",
"max_stars_count": "152.0",
"max_stars_repo_name": "itlibrium/DDD-starter-dotnet",
"max_stars_repo_path": "Sources/Sales/Sales.DeepModel/Pricing/Quote.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130261"
} | starcoder | <gh_stars>100-1000
using System;
using MyCompany.Crm.Sales.Commons;
using MyCompany.Crm.Sales.Products;
using MyCompany.Crm.TechnicalStuff.Metadata.DDD;
namespace MyCompany.Crm.Sales.Pricing
{
[DddValueObject]
public readonly struct Quote : IEquatable<Quote>
{
public ProductAmount ProductAmount { g... | 2.908828 | d1d9aa3e89cefde8e73db4eec6dae52c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811042 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MinistryOfMagic/ServiceStack",
"max_stars_repo_path": "src/ServiceStack.Common/ExecExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130262"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading;
using ServiceStack.Logging;
#if NETSTANDARD1_3
using System.Threading.Tasks;
#endif
namespace ServiceStack
{
public static class ExecExtensions
{
public static void LogError(Type declaringType, string clientMethodName,... | 2.793362 | 6e86bf60d36af34a0bd6a1cc279c8173 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811043 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "equinor/lighthouse-api",
"max_stars_repo_path": "src/Equinor.Lighthouse.Api.Domain/DateTimeExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130263"
} | starcoder | using System;
using System.Globalization;
namespace Equinor.Lighthouse.Api.Domain;
public static class DateTimeExtensions
{
private static readonly DayOfWeek firstDayOfPreservationWeek = DayOfWeek.Monday;
public static DateTime AddWeeks(this DateTime dateTime, int weeks)
=> dateTime.AddDays(7 * week... | 3.10968 | b83926b7eef25a3f9acf3c660b04f9b2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811044 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Sreejithpin/odata.net",
"max_stars_repo_path": "test/FunctionalTests/Tests/DataEdmLib/FunctionalTests/ParsingValidation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130264"
} | starcoder | //---------------------------------------------------------------------
// <copyright file="ParsingValidation.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//-----------------------------------... | 1.995916 | cec3dbe8df2ed859fd8bd4f5669c93e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811045 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mishani0x0ef/Project.Hub",
"max_stars_repo_path": "src/Project.Hub/Views/Shared/_LinksPanel.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:130265"
} | starcoder | @using Project.Hub.Config.Util
@model IEnumerable<Project.Hub.Config.Entities.SiteLink>
@if (Model != null && Model.Any())
{
<div class="row">
<div class="list-panel col-xs-12">
@Html.Partial("_ListHeader")
<div class="list-panel-content col-xs-12">
@... | 2.725039 | 11acebd7acbd12b304530de25326f19a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811046 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mbc-engineering/net-pcs",
"max_stars_repo_path": "NET/Mbc.Pcs.Net/State/IPlcStateSampler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130266"
} | starcoder | <reponame>mbc-engineering/net-pcs<gh_stars>1-10
//-----------------------------------------------------------------------------
// Copyright (c) 2020 by mbc engineering, CH-6015 Luzern
// Licensed under the Apache License, Version 2.0
//-----------------------------------------------------------------------------
usi... | 2.301183 | f01bdc2995c6e02b02daa10f79398227 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811047 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bbrugman/Kans",
"max_stars_repo_path": "Tests/KeccakTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130267"
} | starcoder | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Tests {
[TestClass]
public class KeccakTests {
[TestMethod]
public void KeccakDigestsCorrect() {
// https://github.com/gvanas/KeccakCodePackage/tree/master/TestVectors
// Clearly these tests are far from exhaustive, and not suffic... | 2.568305 | cf5f3fd7d769d7e7ab84767b69ae8a5a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811048 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "wind2006/DotNet.Utilities",
"max_stars_repo_path": "YanZhiwei.DotNet2.Utilities/Common/ThreadPoolHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130268"
} | starcoder | <filename>YanZhiwei.DotNet2.Utilities/Common/ThreadPoolHelper.cs
namespace YanZhiwei.DotNet2.Utilities.Common
{
using System.Threading;
/// <summary>
/// ThreadPool 帮助类
/// </summary>
public class ThreadPoolHelper
{
#region Properties
/// <summary>
/// 线程池中的活动工作线程数
... | 2.829745 | 4d75d1b0d62c30dee1499115767193cf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811049 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "totovr/CollecTheCoinsVR",
"max_stars_repo_path": "CoinsWorldVR/Assets/Scripts/Coin/CoinCollected.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130269"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CoinCollected : MonoBehaviour
{
void OnTriggerEnter(Collider collider)
{
if (collider.CompareTag("Coin"))
{
GameObject.FindGameObjectWithTag("PlayerScripts").SendMessage("CoinCollectedSound"... | 1.687418 | 106947575815c209519261d3700eaac7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811050 | {
"extension": "c-sharp",
"max_stars_count": "142.0",
"max_stars_repo_name": "jsuarezruiz/xamarin-forms-perf-playground",
"max_stars_repo_path": "src/XAMLC/XAMLCPerformance/XAMLCPerformance/Services/ProfileService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130270"
} | starcoder | <reponame>jsuarezruiz/xamarin-forms-perf-playground
using System.Collections.Generic;
using Xamarin.Forms;
using XAMLCPerformance.Models;
namespace XAMLCPerformance.Services
{
public class ProfileService
{
private static ProfileService _instance;
public static ProfileService Instance
... | 2.539513 | 23c27ce368bee0f6bd3cabf28dcebcc8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811051 | {
"extension": "c-sharp",
"max_stars_count": "381.0",
"max_stars_repo_name": "ncatlin/rgat",
"max_stars_repo_path": "rgatCore/Testing/TestRunThread.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130271"
} | starcoder | <filename>rgatCore/Testing/TestRunThread.cs
/*
* A worker for a single execution of a test case
*/
using Humanizer;
using System;
using System.IO;
using System.Threading;
namespace rgat.Testing
{
internal class TestRunThread
{
private readonly TestCase _testCase;
private readonly TestCaseRun... | 2.507953 | 7ad97c54743a3de4480587e8c06032b8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811052 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Rabbit2108/np",
"max_stars_repo_path": "src/Netnr.P/Netnr.Shared/SharedDataKit/Applications/IDataKitService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130272"
} | starcoder | #if Full || DataKit
using System.Data;
using System.Collections.Generic;
using Netnr.SharedDataKit.Models;
namespace Netnr.SharedDataKit.Applications
{
/// <summary>
/// 获取数据库各类信息的接口定义
/// </summary>
public interface IDataKitService
{
/// <summary>
/// 获取所有表
/// </summary>... | 2.000266 | 8b7e02ec918348d3dcfc03e091876e26 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811053 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tollhoff/ProfinetTools",
"max_stars_repo_path": "ProfinetTools.Interfaces/Services/ISettingsService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130273"
} | starcoder | <reponame>tollhoff/ProfinetTools<filename>ProfinetTools.Interfaces/Services/ISettingsService.cs
using System;
using System.Linq;
using System.Threading.Tasks;
using ProfinetTools.Interfaces.Models;
using SharpPcap;
namespace ProfinetTools.Interfaces.Services
{
public interface ISettingsService
{
Task<SaveResult> ... | 1.872122 | 2169eb906b1fa1b8a4af7ad71c19250c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811054 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sitecore/Dynamics-Campaign-Integration-Module",
"max_stars_repo_path": "code/Sitecore.CrmCampaignIntegration/Properties/Resource.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130274"
} | starcoder | <filename>code/Sitecore.CrmCampaignIntegration/Properties/Resource.Designer.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect be... | 1.989025 | ce81b5045de8c9dfc9d31bbed9732aab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811055 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "huahuajjh/yueyouyuebei",
"max_stars_repo_path": "src/TravelAgent.Web/TravelAgent.IDAL/IInsure.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130275"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
namespace TravelAgent.IDAL
{
public interface IInsure
{
/// <summary>
/// 取得最新插入的ID
/// </summary>
int GetMaxID(string FieldName);
/// <summary>
/// 增加一条数据
... | 2.34895 | 9e4020fb41c0a99bb614f042480bc179 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811056 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cobos-net/core",
"max_stars_repo_path": "tests/Cobos/Data/Tests/DataObject/DataModelTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130276"
} | starcoder | // ----------------------------------------------------------------------------
// <copyright file="DataModelTests.cs" company="<NAME>">
// Copyright (c) <NAME>. All rights reserved.
// </copyright>
// ----------------------------------------------------------------------------
namespace Cobos.Data.Tests.DataOb... | 2.459311 | 653b45b46a54f4bb86209bdd9d65e2fc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811057 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jagepard/CsDesignPatterns-ChainOfResponsibility",
"max_stars_repo_path": "ErrorHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130277"
} | starcoder | /**
* @author : Jagepard <<EMAIL>>
* @license https://mit-license.org/ MIT
*/
using CsDesignPatterns_ChainOfResponsibility;
using System;
namespace Behavioral.ChainOfResponsibility
{
public class ErrorHandler: AbstractHandler
{
}
}
| 1.635414 | dad68330820d0783197a2b885f6e8863 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811058 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "cppsoup/soup",
"max_stars_repo_path": "Source/GenerateSharp/Extensions/Cpp/Compiler/Core/BuildEngine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130278"
} | starcoder | // <copyright file="BuildEngine.cs" company="Soup">
// Copyright (c) Soup. All rights reserved.
// </copyright>
using Opal;
using System;
using System.Collections.Generic;
namespace Soup.Build.Cpp.Compiler
{
/// <summary>
/// The build engine
/// </summary>
public class BuildEngine
{
public BuildEngine(ICompi... | 1.933094 | d591b83c7773984930a53bb80f03ca78 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811059 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "UraPortuga/GoogleMapsApiDotNet",
"max_stars_repo_path": "GoogleMapsApiDotNet/GoogleMapsApiDotNet.PlacesApi/Domain/Response/PlacePhotoResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130279"
} | starcoder | namespace GoogleMapsApiDotNet.PlacesApi.Domain.Response
{
public class PlacePhotoResponse
{
}
} | 0.807884 | 50e19e2638c0829395b2437fd64d7174 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811060 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xin2015/Grib2PNetCore",
"max_stars_repo_path": "Grib2PNetCore.Core/GribMessage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130280"
} | starcoder | using Grib2PNetCore.Core.Sections;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Grib2PNetCore.Core
{
public class GribMessage
{
public IndicatorSection IndicatorSection { get; set; }
public Ident... | 2.16106 | 47cf8b4d96fe5a2410c424378120ae07 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811061 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jakebacker/ld38",
"max_stars_repo_path": "Assets/resources/scripts/PlayerController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130281"
} | starcoder | <reponame>jakebacker/ld38
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using System.Collections.Generic;
public class PlayerController : MonoBehaviour
{
Rigidbody2D rb;
static Text healthText;
static Text timeoutText;
static Text timeText;
static int health = 100;
public static float timeo... | 2.165869 | 00187621814e87451255d4de21f4d274 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811062 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "mnouraei/Dnn.Platform",
"max_stars_repo_path": "build.cake",
"provenance": "train-00027-of-00045.jsonl.gz:130282"
} | starcoder | #addin nuget:?package=Cake.XdtTransform&version=0.18.1&loaddependencies=true
#addin nuget:?package=Cake.FileHelpers&version=3.2.0
#addin nuget:?package=Cake.Powershell&version=0.4.8
#tool "nuget:?package=GitVersion.CommandLine&version=5.0.1"
#tool "nuget:?package=Microsoft.TestPlatform&version=15.7.0"
#tool "nuget:?pa... | 1.916296 | 7b636d7a38eb5fd23a47ad099b200d3d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811063 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "gitter-badger/open-pdd-net-sdk",
"max_stars_repo_path": "PddOpenSdk/PddOpenSdk/Models/Request/Ddk/QueryDdkGoodsPidRequestModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130283"
} | starcoder | <gh_stars>10-100
using Newtonsoft.Json;
namespace PddOpenSdk.Models.Request.Ddk
{
public partial class QueryDdkGoodsPidRequestModel : PddRequestModel
{
/// <summary>
/// 该值为:pdd.ddk.goods.pid.query
/// </summary>
[JsonProperty("type")]
public string Type { get; set; }
... | 1.678889 | b1f02ffa8ba1cde39d5dd2a984b970fe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811064 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "Xytabich/Katsudon",
"max_stars_repo_path": "Assets/Katsudon/Builder/Opcodes/BrFalseOpcode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130284"
} | starcoder | <gh_stars>10-100
using System.Reflection.Emit;
namespace Katsudon.Builder.AsmOpCodes
{
[OperationBuilder]
public class BrFalseOpcode : IOperationBuider
{
public int order => 0;
bool IOperationBuider.Process(IMethodDescriptor method)
{
int methodAddress = (int)method.currentOp.argument;
var condition =... | 1.9665 | 015da74ad6cc4cf4783e401552d8496c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811065 | {
"extension": "c-sharp",
"max_stars_count": "522.0",
"max_stars_repo_name": "soeom/azure-cosmos-dotnet-v3",
"max_stars_repo_path": "Microsoft.Azure.Cosmos/src/ChangeFeedProcessor/LeaseManagement/RequestOptionsFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130285"
} | starcoder | <reponame>soeom/azure-cosmos-dotnet-v3
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace Microsoft.Azure.Cosmos.ChangeFeed.LeaseManagement
{
using System;
using M... | 1.600278 | 7155e46d70be870be39e057dfb7d3f53 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811066 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "msdkool/auditor",
"max_stars_repo_path": "Src/Auditor/Helper/AuditHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130286"
} | starcoder | <gh_stars>0
using System;
using System.Collections;
using System.Linq;
using System.Reflection;
using Auditor.Entities;
using Auditor.Enums;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.ChangeTracking;
namespace Auditor.Helper
{
public class AuditHelper
{
private static boo... | 2.434696 | 43c53725af56a4c51a5cc320ec3e9f42 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811067 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jim-dale/VideoTools",
"max_stars_repo_path": "src/WtvConverter/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130287"
} | starcoder | <reponame>jim-dale/VideoTools
using System;
using System.Configuration;
using Microsoft.Extensions.FileSystemGlobbing;
using Serilog;
namespace WtvConverter
{
internal class Program
{
private static int Main(string[] args)
{
int result = 0;
Log.Logger = new LoggerConfi... | 2.547913 | 98cedff2d74c04b09545375aa7a2b64d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811068 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "penCsharpener/guest-room",
"max_stars_repo_path": "src/GuestRoom.Domain/Providers/IFileProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130288"
} | starcoder | <gh_stars>0
using System.Threading;
using System.Threading.Tasks;
namespace GuestRoom.Domain.Providers
{
public interface IFileProvider
{
Task<byte[]> ReadAllBytesAsync(string path, CancellationToken cancellationToken = default);
Task WriteAllBytesAsync(byte[] content, params string[] pathPart... | 1.737938 | 299bc5450b353b91ce5cae0e503f1b42 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811069 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "papeh/icu-dotnet",
"max_stars_repo_path": "source/icu.net/Collation/CaseLevel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130289"
} | starcoder | // Copyright (c) 2013 SIL International
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
namespace Icu.Collation
{
/// <summary>
/// Controls whether an extra case level (positioned before the third
/// level) is generated or not. Contents of the case level are affected by
/... | 2.460168 | ab4da8a6fa5223c8ca633717d0907474 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811070 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tmoreirafreitas/AdventureWork",
"max_stars_repo_path": "AdventureWork.Domain/Entities/WorkOrder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130290"
} | starcoder | using System;
namespace AdventureWork.Domain.Entities
{
public class WorkOrder : Entity
{
public int WorkOrderID { get; set; }
public int ProductID { get; set; }
public int OrderQty { get; set; }
public int StockedQty { get; set; }
public short ScrappedQty { get; set; }... | 1.98198 | cbc0e39fd4b363429644c496ac6f7ba4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811071 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gormac/fluentassertions",
"max_stars_repo_path": "FluentAssertions.Core/Primitives/ObjectAssertions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130291"
} | starcoder | <gh_stars>0
using System;
using System.Diagnostics;
using System.IO;
using System.Xml.Serialization;
using FluentAssertions.Common;
using FluentAssertions.Equivalency;
using FluentAssertions.Execution;
namespace FluentAssertions.Primitives
{
/// <summary>
/// Contains a number of methods to assert that an <se... | 2.710778 | 2d8ec07de9bd5dd71f6908bdc98c1bfe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811072 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Mike111177/OWLib",
"max_stars_repo_path": "TankLib/STU/Types/STU_D3FB30E2.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130292"
} | starcoder | <filename>TankLib/STU/Types/STU_D3FB30E2.cs
// Instance generated by TankLibHelper.InstanceBuilder
// ReSharper disable All
namespace TankLib.STU.Types {
[STUAttribute(0xD3FB30E2)]
public class STU_D3FB30E2 : STU_00ABC9FF {
[STUFieldAttribute(0xB48F1D22, "m_name")]
public teStructuredDataAssetR... | 1.061801 | 5edff35ec6be54792060e3bf88e5c7ea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811073 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "oxysoft/PokeSharp",
"max_stars_repo_path": "src/MapEditor/States/TileEditor/RectangleTool.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130293"
} | starcoder | <gh_stars>1-10
using System;
using System.Windows.Forms;
using Editor.Selections;
using GameEngine.Data.Common;
using GameEngine.Data.Tiles;
using GameEngine.Data.Tiles.Behaviors;
using General.Common;
using General.Extensions;
using General.States;
using MapEditor.Data;
using MapEditor.Data.Actions;
using MapEditor.Da... | 2.118619 | 63243c856ee09df5060795486c25f129 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811074 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "SydneyhSmith/PowerShellEditorServices",
"max_stars_repo_path": "test/PowerShellEditorServices.Test/Session/PathEscapingTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130294"
} | starcoder | using System;
using Xunit;
using Microsoft.PowerShell.EditorServices;
using System.IO;
namespace Microsoft.PowerShell.EditorServices.Test.Session
{
public class PathEscapingTests
{
private const string ScriptAssetPath = @"..\..\..\..\PowerShellEditorServices.Test.Shared\scriptassets";
[Theory]... | 2.355974 | 1e6c92fc21af6622b43c6bbd41052513 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811075 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "4-FLOSS-Free-Libre-Open-Source-Software/PasswordChangeReminder",
"max_stars_repo_path": "PasswordChangeReminder/PasswordChangeReminder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130295"
} | starcoder | using KeePass.Forms;
using KeePass.Plugins;
using KeePass.UI;
using KeePassLib;
using KeePassLib.Security;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace PasswordChangeRemin... | 1.598896 | a99320a00d6f3e333dd0cb516068d759 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811076 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "CityOfZion/neo-gui-wpf",
"max_stars_repo_path": "Neo.Gui.Base/Status/BlockchainStatus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130296"
} | starcoder | <filename>Neo.Gui.Base/Status/BlockchainStatus.cs
using System;
namespace Neo.Gui.Base.Status
{
public class BlockchainStatus
{
public BlockchainStatus(uint height, uint headerHeight, bool nextBlockProgressIsIndeterminate,
double nextBlockProgressFraction, TimeSpan timeSinceLastBlock)
... | 2.51983 | ae87f08970cf698278bb168d0eecdd6b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811077 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Douglasweb/Youtube.AspNetCoreTutorial-master",
"max_stars_repo_path": "Tweetbook.Contracts/V1/Requests/Queries/GetAllPostsQuery.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130297"
} | starcoder | using Microsoft.AspNetCore.Mvc;
namespace Tweetbook.Contracts.V1.Requests.Queries
{
public class GetAllPostsQuery
{
[FromQuery(Name = "userId")]
public string UserId { get; set; }
}
} | 1.601764 | bb08584b2579653e96c1c57fb943ed90 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811078 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gpriaulx/Whisper",
"max_stars_repo_path": "Whisper.Apps.Common/Models/Configurations/FactoryMonitorConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130298"
} | starcoder | <reponame>gpriaulx/Whisper
using System.Xml.Serialization;
using UniForm.Core.Attributes.Composition;
using Whisper.Core.Models.Configuration;
namespace Whisper.Apps.Common.Models.Configurations
{
[UniForm]
public class FactoryMonitorConfiguration : ConfigurationItemBase
{
[XmlAttribute]
[... | 1.341963 | 383b310e7f7881e5be2ceb7067618191 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811079 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "serdarsen/dotnetcore-samples",
"max_stars_repo_path": "InheritanceSample/InheritanceSample/Contracts/IBaseCourseService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130299"
} | starcoder | using System.Collections.Generic;
using InheritanceSample.Models;
namespace InheritanceSample.Contracts
{
public interface IBaseCourseService
{
bool CreateUser();
bool DeleteUser();
}
} | 1.73259 | 96eb3c025089197a93a7b3a1b4dc8de2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811080 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shemseddine/azure-libraries-for-net",
"max_stars_repo_path": "src/ResourceManagement/Compute/Domain/InterfaceImpl/VirtualMachineScaleSetExtensionImpl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130300"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace Microsoft.Azure.Management.Compute.Fluent
{
using Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Definition;
using Microsoft.Az... | 1.626902 | 28907432547e7c15caac7efbd99957f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811081 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vadik007/ChromeDevTools",
"max_stars_repo_path": "source/ChromeDevTools/Protocol/iOS/CSS/SetRuleSelectorCommandResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130301"
} | starcoder | using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.iOS.CSS
{
/// <summary>
/// Modifies the rule selector.
/// </summary>
[CommandResponse(ProtocolName.CSS.SetRuleSelector)]
[SupportedBy("iOS")]
public class SetRuleSelectorComman... | 2.203161 | 071c21c63151735839a8765d40f005ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811082 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FrameBassman/git-yandex-geocoder-api",
"max_stars_repo_path": "src/Yandex.Api/Entities/GeocoderResponseMetaData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130302"
} | starcoder | namespace Yandex.Api.Entities
{
public class GeocoderResponseMetaData
{
public string request { get; set; }
public string found { get; set; }
public string results { get; set; }
}
}
| 1.396029 | c2cf81f270a900f73deabe2dfb7687dd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811083 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lygwys/dlvm_lygwys",
"max_stars_repo_path": "Libraries/RibbonButton/Mzg.RibbonButton/IRibbonButtonDependency.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130303"
} | starcoder | using System;
namespace Mzg.RibbonButton
{
public interface IRibbonButtonDependency
{
bool Create(params Domain.RibbonButton[] entities);
bool Delete(params Guid[] id);
bool Update(Domain.RibbonButton entity);
}
} | 1.615664 | ad06eda29d69b93b24279948edd039ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811084 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "pec92/numl",
"max_stars_repo_path": "numl.Tests/MathTests/InformationTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130304"
} | starcoder | using System;
using System.Linq;
using NUnit.Framework;
using numl.Math.Information;
using System.Collections.Generic;
namespace numl.Tests.MathTests
{
[TestFixture, Category("Math")]
public class InformationTests
{
[TestCase(new[] { 3d, 3, 2, 1, 1, 0, 3, 3, 3, 4 }, typeof(Entropy), 1.96096)]
... | 2.314494 | cdc2c6855bea47057489069433e45101 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811085 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Metibor/ualbion",
"max_stars_repo_path": "src/Base/Monster.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130305"
} | starcoder | // ReSharper disable InconsistentNaming
// ReSharper disable UnusedMember.Global
namespace UAlbion.Base
{
//[JsonConverter(typeof(StringEnumConverter))]
public enum Monster : byte
{
Fear1 = 1,
Brogg1 = 2,
Skrinn1 = 3,
Krondir1 = 4,
Kizz1 = 5,
Argim = 6,
... | 1.8678 | ba2cb145a2c34c496b5b4a9b4ceb593e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811086 | {
"extension": "c-sharp",
"max_stars_count": "679.0",
"max_stars_repo_name": "Anushiravani/InstagramApiSharp",
"max_stars_repo_path": "src/InstagramApiSharp/API/Processors/IBusinessProcessor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130306"
} | starcoder | <filename>src/InstagramApiSharp/API/Processors/IBusinessProcessor.cs
/*
* Developer: <NAME> [ <EMAIL> ] [ My Telegram Account: https://t.me/ramtinak ]
*
* Github source: https://github.com/ramtinak/InstagramApiSharp
* Nuget package: https://www.nuget.org/packages/InstagramApiSharp
*
* IRANIAN DEVELOPERS
*/
us... | 2.318524 | f23ee3c57f1d5ca9cba5efe0ba384d11 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811087 | {
"extension": "c-sharp",
"max_stars_count": "122.0",
"max_stars_repo_name": "magarma/pnpframework",
"max_stars_repo_path": "src/lib/PnP.Framework/Entities/GroupEntity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130307"
} | starcoder | using System;
namespace PnP.Framework.Entities
{
/// <summary>
/// Defines an Azure Active Directory Group
/// </summary>
public class GroupEntity
{
/// <summary>
/// Group id
/// </summary>
public string GroupId { get; set; }
/// <summary>
/// Group... | 2.423893 | 32b6916b433a31a86189f06ab9aa8b82 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811088 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "johnkellyoxford/Ceras",
"max_stars_repo_path": "src/Ceras/Formatters/CollectionFormatters.Specialized.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130308"
} | starcoder | namespace Ceras.Formatters
{
using System;
using System.Collections.Generic;
sealed class ByteArrayFormatter : IFormatter<byte[]>
{
readonly uint _maxSize;
public ByteArrayFormatter(CerasSerializer ceras)
{
_maxSize = ceras.Config.Advanced.SizeLimits.MaxByteArraySize;
}
public void Serialize(ref by... | 2.599929 | 0c3e46dec1dc8fa3495ee043244bed8e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811089 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "peterson1/FreshCopy",
"max_stars_repo_path": "FreshCopy.Tests/FirebaseTests/FirebaseConnectionFacts.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130309"
} | starcoder | <gh_stars>0
using CommonTools.Lib.fx45.FileSystemTools;
using CommonTools.Lib.fx45.FirebaseTools;
using CommonTools.Lib.ns11.GoogleTools;
using FluentAssertions;
using FreshCopy.Tests.SampleClasses;
using FreshCopy.Tests.TestTools;
using System.Collections.Generic;
using System.Threading.Tasks;
using Xunit;
namespace... | 1.733929 | 753b88f45615b064f3b66db2b3d353e9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811090 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "oWASDo/RawStarFoxGame",
"max_stars_repo_path": "Starfox/Try/Pawn/SpawnEffect.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130310"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OpenTK;
using Aiv.Audio;
namespace Starfox
{
public class SpawnEffect : Billboard
{
public SpawnEffect(Vector3 position, Vector3 rotation, Vector3 scale) : base(position, rotation,... | 1.913174 | 23e6b3f000cdaec89fc9a3c53581e34a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811091 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sromic1990/Unity-Tests",
"max_stars_repo_path": "Assets/Sourav/Engine/Editable/AdditionalLogicRelated/LogicEvaluator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130311"
} | starcoder | using System.Collections.Generic;
using Sourav.Engine.Core.GameElementRelated;
using Sourav.Engine.Editable.DataRelated;
namespace Sourav.Engine.Editable.AdditionalLogicRelated
{
public class LogicEvaluator : GameElement
{
public LogicStatus EvaluateLogic(List<LogicData> logicData)
{
... | 2.413497 | d43d8cf03f417c28549ce2d69a8e2e84 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811092 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jan-oratowski/dev-git-sync",
"max_stars_repo_path": "GitSync/Commands/ICommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130312"
} | starcoder | <reponame>jan-oratowski/dev-git-sync<filename>GitSync/Commands/ICommand.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace GitSync.Commands
{
internal interface ICommand
{
string Argument { get; }
void DoWork();
}
}
| 1.492458 | d8cd000a5d781ea634cb828ec0506457 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811093 | {
"extension": "c-sharp",
"max_stars_count": "209.0",
"max_stars_repo_name": "Ultrawipf/actools",
"max_stars_repo_path": "AcTools.Render/Base/Utils/MathF.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130313"
} | starcoder | using System;
using AcTools.Utils;
using SlimDX;
namespace AcTools.Render.Base.Utils {
public static partial class MathF {
/// <summary>
/// Converts spherical coordinates (elevation and azimuthal angles) to the usual ones.
/// </summary>
/// <param name="θDeg">Elevation angle.</pa... | 2.85253 | d97b763afe0b644e0e5e11a0384e73d2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811094 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gogo3011/nbu-careers",
"max_stars_repo_path": "src/NBUCareers.Services/Models/Applications/ApplicationRequestModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130314"
} | starcoder | namespace NBUCareers.Services.Models.Applications
{
using NBUCareers.Infrastructure.Mapping;
using NBUCareers.Models;
public class ApplicationRequestModel : IMapFrom<Application>, IMapTo<Application>
{
public int Id { get; set; }
public string CvUrl { get; set; }
public byte[... | 1.433799 | 9dfdc3aacee350eeb87709145b261ea5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811095 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mikemarango/master-detail-workflow",
"max_stars_repo_path": "MasterDetail/MasterDetail/Views/WorkOrders/Delete.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:130315"
} | starcoder | <gh_stars>0
@model MasterDetail.Models.WorkOrder
@{
ViewBag.Title = "Delete";
}
<h2>Delete</h2>
<h3>Are you sure you want to delete this?</h3>
<div>
<h4>WorkOrder</h4>
<hr />
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.CurrentWorker.FirstName)
</dt... | 2.013643 | 687095b98a23fe227b66ee30d7680dec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811096 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "chartsoft/SmartPublic",
"max_stars_repo_path": "AppPublic/Smart.Standard/Helper/HashAlgorithmHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130316"
} | starcoder | <filename>AppPublic/Smart.Standard/Helper/HashAlgorithmHelper.cs<gh_stars>1-10
using System;
using System.IO;
using System.Security.Cryptography;
using Smart.Standard.Enum;
namespace Smart.Standard.Helper
{
/// <summary>
/// HashAlgorithm帮助类
/// </summary>
public class HashAlgorithmHelper
{
... | 3.149458 | 1bd3f53f69bd33ef37749ca3258432f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811097 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "sr-mobileappdev/ASP.NETMVC-Training",
"max_stars_repo_path": "MedioClinic/Controllers/InlineEditors/ImageUploaderController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130317"
} | starcoder | <reponame>sr-mobileappdev/ASP.NETMVC-Training<gh_stars>10-100
using System;
using System.Web;
using System.Web.Mvc;
using MedioClinic.Utils;
namespace MedioClinic.Controllers.Widgets
{
public class ImageUploaderController : Controller
{
protected string TempPath => $"{Server.MapPath(@"~\")}App_Data\\... | 2.036536 | 8ef65bc0d9206089bfd13ebd5c44b3b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811098 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "FFFF0h/System.Core.Net35",
"max_stars_repo_path": "Tests/System/Threading/Tasks/TaskTestEx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130318"
} | starcoder | using System;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using NUnit.Framework;
namespace MonoTests.System.Threading.Tasks
{
[TestFixture]
public class TaskTestsEx
{
[Test]
[ExpectedException(typeof(InvalidOperationException))]
public vo... | 2.242489 | b7a718f8606d458bc72857f3862be801 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811099 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "DynamicsValue/365saturday",
"max_stars_repo_path": "FakeItEasy-3.2.0-patch/tests/FakeItEasy.Tests/Core/DummyFactoryTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130319"
} | starcoder | <reponame>DynamicsValue/365saturday<filename>FakeItEasy-3.2.0-patch/tests/FakeItEasy.Tests/Core/DummyFactoryTests.cs
namespace FakeItEasy.Tests.Core
{
using System;
using System.Linq;
using System.Reflection;
using FakeItEasy.Tests.TestHelpers;
using FluentAssertions;
using Xunit;
... | 2.685073 | 7863f148965d32f6b2d5eb1348d48330 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811100 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "PinkDiamond1/centaurus",
"max_stars_repo_path": "Centaurus.NetSDK/Models/OrderModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130320"
} | starcoder | <gh_stars>10-100
using Centaurus.Models;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
namespace Centaurus.NetSDK
{
public class OrderModel
{
private ulong orderId;
public ulong OrderId
{
get => orderId;
... | 2.608893 | 45085f7e98417f002532ee6b34cbfa92 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811101 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "BOONRewardsInc/rewards",
"max_stars_repo_path": "Commerce/DataContracts/Referrals/AddReferralResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130321"
} | starcoder | //
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//
namespace Lomo.Commerce.DataContracts
{
using System.Runtime.Serialization;
/// <summary>
/// Represents the response to an Add refer... | 1.544735 | 7506925d2cf157a5d8b912940aa77d65 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811102 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BenSTay/data-structures-and-algorithms",
"max_stars_repo_path": "challenges/repeated-word/Repeated-Word/Repeated-Word/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130322"
} | starcoder | <gh_stars>0
using System;
using System.Text.RegularExpressions;
using Hashtables.Classes;
namespace Repeated_Word
{
public class Program
{
/// <summary>
/// Finds and returns the first repeated word in a string.
/// </summary>
/// <param name="input">The string being searched.<... | 3.859286 | 19a35f6ddc4069ad961ad7d87304708a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811103 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CNinnovation/XamarinAug2017",
"max_stars_repo_path": "ListAndroidSamples/ListDemoWithListItem2/ListDemo/MyListActivity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130323"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.Support.Design.Widget;
using ListDemo.Models;
namespace ListDemo
{
[Activit... | 2.170416 | 52048e749987f50e57387bada42ccc66 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811104 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MysticFragilist/3rdPersonPlayerBoilerplate",
"max_stars_repo_path": "Assets/Scripts/SaveSystem/SaveSystem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130324"
} | starcoder | using System;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
using Assets.Scripts.SaveSystem;
using UnityEngine;
public static class SaveSystem
{
public class NoSaveFileException : UnityException
{
private static string _mes = "No save file present in application.";
pub... | 2.669945 | f7048bc01ba0c8a2d08693c619ef5211 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811105 | {
"extension": "c-sharp",
"max_stars_count": "448.0",
"max_stars_repo_name": "miniksa/BuildXL",
"max_stars_repo_path": "Public/Src/Cache/ContentStore/Library/Tracing/GetStatsCall.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130325"
} | starcoder | <gh_stars>100-1000
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Threading.Tasks;
using BuildXL.Cache.ContentStore.Interfaces.Results;
using BuildXL.Cache.ContentStore.Tracing.Internal;
using BuildXL.Cache.ContentStore.UtilitiesCore;
namespace BuildXL.C... | 1.772082 | 9b24b35a90a216e5e2b5a1f3f1bc92e3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811106 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "guhuro/coreclr",
"max_stars_repo_path": "tests/src/JIT/Performance/CodeQuality/Inlining/ConstantArgsSByte.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130326"
} | starcoder | <filename>tests/src/JIT/Performance/CodeQuality/Inlining/ConstantArgsSByte.cs<gh_stars>0
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.Xunit.Perfo... | 2.297392 | 7523a4dbac83f3833985158d895344e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811107 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "vrenken/EtAlii.Ubigia",
"max_stars_repo_path": "Source/Frameworks/HashLib/HashLib/AssemblyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130327"
} | starcoder | using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("HashLib.Tests")]
| 0.799166 | e67c5496b774176456322d95f91be763 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811108 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mdickson/opensim",
"max_stars_repo_path": "OpenSim/Region/CoreModules/World/Cloud/CloudModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130328"
} | starcoder | <filename>OpenSim/Region/CoreModules/World/Cloud/CloudModule.cs
/*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following co... | 1.649772 | a7c01f6c9e3a36aa4af75f1b7badcccd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811109 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "ajosg/BotBits",
"max_stars_repo_path": "BotBits/Models/World/WorldAreaEnumerableExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130329"
} | starcoder | <reponame>ajosg/BotBits
using System;
using System.ComponentModel;
namespace BotBits
{
public static class WorldAreaEnumerableExtensions
{
[EditorBrowsable(EditorBrowsableState.Advanced)]
public static WorldAreaEnumerable<TForeground, TBackground> AsWorldAreaEnumerable<TForeground, TBackground... | 2.830108 | 05f77d266b901e9d909b44dbbcdbf478 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811110 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mattbragaw/mqb",
"max_stars_repo_path": "Mqb.Data/Descriptors/IHasDataRowIdForeign.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130330"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Mqb.Descriptors
{
public interface IHasDataRowIdForeign_R
{
string RowIdForeign { get; }
}
public interface IHasDataRowIdForeign_RW
{
string RowIdForeign { get; set; }
}
}
| 1.303334 | 4872306cba63f9a76bbc0878896660ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811111 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Pavel-Sulimau/SolidPrinciplesWorkshop",
"max_stars_repo_path": "examples/src/SRP/Example1.After/SimpleDocument.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130331"
} | starcoder | namespace SolidPrinciples.SRP.Example1.After
{
public class SimpleDocument
{
public string Title { get; set; }
public string Text { get; set; }
}
}
| 1.687166 | 29e2fc03ad2d1e5c6ae4c1567c61f04a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811112 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hexarc-software/hexarc-borsh",
"max_stars_repo_path": "Hexarc.Borsh.Tests/UnionSerializationTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130332"
} | starcoder | <gh_stars>0
using Hexarc.Borsh.Serialization;
using NUnit.Framework;
namespace Hexarc.Borsh.Tests;
[TestFixture]
public class UnionSerializationTests
{
[Test]
public void UnionSerialization_ShouldMatchExpectation()
{
Figure square = new Square { SideSize = 1 };
var expected = new Byte[] { ... | 2.235337 | b4180345ca49c1045795c6e2c08f6f2d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811113 | {
"extension": "c-sharp",
"max_stars_count": "191.0",
"max_stars_repo_name": "SeriousMartin/MonoGame",
"max_stars_repo_path": "MonoGame.Framework/Graphics/OpenGL.Android.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130333"
} | starcoder | <reponame>SeriousMartin/MonoGame
// MonoGame - Copyright (C) The MonoGame Team
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Secu... | 2.017313 | 4ac92a15a794c59d8a3badf7832aa72d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811114 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "terjelongva/Helsenorge.Messaging",
"max_stars_repo_path": "test/Helsenorge.Messaging.Tests/ServiceBus/Receivers/ErrorReceiveTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130334"
} | starcoder | /*
* Copyright (c) 2020, <NAME> and contributors
* See the file CONTRIBUTORS for details.
*
* This file is licensed under the MIT license
* available at https://raw.githubusercontent.com/helsenorge/Helsenorge.Messaging/master/LICENSE
*/
using System;
using System.Xml.Linq;
using System.Linq;
using Helsenorge.... | 2.067006 | 7d36785f75181a5615348c73149574cc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811115 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "b2ox/ConstraintBones",
"max_stars_repo_path": "ConstraintBones/RootTurnBone.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130335"
} | starcoder | using System;
using System.Windows.Forms;
using PEPlugin;
using PEPlugin.Pmd;
using PEPlugin.SDX;
namespace ConstraintBones
{
public class RootTurnBone : PMXEPlugin
{
// コンストラクタ
public RootTurnBone() : base()
{
// 起動オプション
// boot時実行(true/false), プラ... | 2.004906 | 5d9d126fbac6bc724d32c1e4e69f75f6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811116 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ethereal77/stride",
"max_stars_repo_path": "sources/core/Stride.Core.AssemblyProcessor/DataContractAliasProcessor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130336"
} | starcoder | // Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org)
// Copyright (c) 2018-2021 Stride and its contributors (https://stride3d.net)
// Copyright (c) 2011-2018 Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// See the LICENSE.md file in the project root for full license information.
u... | 1.979345 | 6cd6c68e8c40c36cca43fc809ff4cfc6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811117 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Excalib88/itext7-dotnet",
"max_stars_repo_path": "itext/itext.kernel/itext/kernel/pdf/action/PdfAction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130337"
} | starcoder | /*
This file is part of the iText (R) project.
Copyright (c) 1998-2019 iText Group NV
Authors: <NAME>, <NAME>, et al.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as published by the Free Software Foundation with the additio... | 1.644685 | 75ff9bfea70e9b09c822b615c1210a7a |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.