added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831712 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "GuOrg/Gu.Roslyn.Asserts",
"max_stars_repo_path": "Gu.Roslyn.Asserts/CsharpCompilationOptionsExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150932"
} | starcoder | <filename>Gu.Roslyn.Asserts/CsharpCompilationOptionsExtensions.cs<gh_stars>10-100
namespace Gu.Roslyn.Asserts
{
using System.Collections.Generic;
using System.Collections.Immutable;
using System.ComponentModel;
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp... | 2.369711 | ab4a53b90f2d4cca3878762875eca15e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831713 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "PiotrKantorowicz1/CompanyCars",
"max_stars_repo_path": "src/PKShop.Domain/Events/Products/ProductUpdatedEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150933"
} | starcoder | <reponame>PiotrKantorowicz1/CompanyCars
using System;
using PKShop.Core.Events;
namespace PKShop.Domain.Events.Products
{
public class ProductUpdatedEvent : Event
{
public Guid Id { get; set; }
public string Name { get; private set; }
public bool Active { get; private set; }
pub... | 2.128368 | f6a0e6026622a661e206b49b1a7bc9aa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831714 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "mzy666888/PetaPoco.Compiled.Extensions",
"max_stars_repo_path": "PetaPoco.Compiled.Extensions/PetaPoco.Compiled.Extensions/PetaPocoDBContextOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150934"
} | starcoder | namespace PetaPoco.Compiled.Extensions
{
using Microsoft.Extensions.Options;
public class PetaPocoDBContextOptions : IOptions<PetaPocoDBContextOptions>
{
/// <summary>The default configured TOptions instance</summary>
PetaPocoDBContextOptions IOptions<PetaPocoDBContextOptions>.Value... | 1.946736 | 257620b335dc8ea817f4ea5ff247de13 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831715 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "emmyleaf/Lutra",
"max_stars_repo_path": "Lutra.Examples/src/Scenes/LayerScene.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150935"
} | starcoder | using ImGuiNET;
using Lutra.Graphics;
using Lutra.Utility;
namespace Lutra.Examples
{
public class LayerScene : Scene
{
Image image;
int imageLayer;
Text text;
int textLayer;
RichText richText1;
int richText1Layer;
RichText richText2;
int richText... | 2.455994 | cbc7cb3f7138ef0ae4aa277edbbbcfb0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831716 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kraskoo/CssAnimationSerializer",
"max_stars_repo_path": "CssSerialization/Interpretators/Expressions/PropertyNames/MaxHeightType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150936"
} | starcoder | namespace Interpretators.Expressions.PropertyNames
{
using Models.Enums;
public class MaxHeightType : PropertyName
{
public MaxHeightType() : base(CssPropertyType.MaxHeight)
{
}
}
} | 1.855135 | d578fb9e59e7ca0c98e567ac0f0eb96c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831717 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ControlExpert/extensions",
"max_stars_repo_path": "Signum.Entities.Extensions/Dynamic/DynamicType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150937"
} | starcoder | using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Linq;
using Signum.Utilities;
using Signum.Utilities.ExpressionTrees;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
namesp... | 2.111954 | e7cd35087b3f639b3d4c7b4c4ed2708d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831718 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TopperDEL/Barembo.UnoApp",
"max_stars_repo_path": "Barembo.UnoApp/Barembo.UnoApp.Shared/Services/ThumbnailGeneration.UWP.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150938"
} | starcoder | <filename>Barembo.UnoApp/Barembo.UnoApp.Shared/Services/ThumbnailGeneration.UWP.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading.Tasks;
namespace Barembo.UnoApp.Shared.Services
{
//This file holds the UWP-specific implementations.
//It is powered by... | 2.636393 | 665d1620057e19ca529d121a72d64490 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831719 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "jiftcc/yi.bbs",
"max_stars_repo_path": ".Net5/CC.Yi.API/Controllers/MytypeController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150939"
} | starcoder | using CC.Yi.Common;
using CC.Yi.IBLL;
using CC.Yi.Model;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CC.Yi.A... | 1.878431 | 2e18e6482e51c0c609516a09562c19e2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831720 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ts2do/Inlinq",
"max_stars_repo_path": "Inlinq/Impl/InlinqList1`1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150940"
} | starcoder | using System.Collections.Generic;
namespace Inlinq.Impl
{
public sealed class InlinqList1<T> : List<T, IEnumerator<T>>
{
private IList<T> source;
public InlinqList1(IList<T> source) => this.source = source;
public override T this[int index] => source[index];
public override int... | 3.11306 | 714bbbb6a8cec1d866fba03858282a01 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831721 | {
"extension": "c-sharp",
"max_stars_count": "1569.0",
"max_stars_repo_name": "nondejus/dnlib",
"max_stars_repo_path": "src/DotNet/ManifestResource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150941"
} | starcoder | <gh_stars>1000+
// dnlib: See LICENSE.txt for more info
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using dnlib.DotNet.MD;
using dnlib.DotNet.Pdb;
namespace dnlib.DotNet {
/// <summary>
/// A high-level representation of a row in the ManifestResource table
/// ... | 2.31072 | eecbc309d5d2528a23a8deda134954cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831722 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ldalzotto/ProjectUndefined-TrainingGround",
"max_stars_repo_path": "Assets/LevelManagement/LevelAvailability/Manager/LevelAvailabilityManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150942"
} | starcoder | using System;
using System.Collections.Generic;
using CoreGame;
using LevelManagement;
using Persistence;
namespace LevelManagement
{
[Serializable]
public class LevelAvailabilityManager : GameSingleton<LevelAvailabilityManager>
{
private LevelAvailability levelAvailability;
private LevelA... | 2.530747 | 5743689102effe6543c1bf6ca4650828 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831723 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "dseller/DolDoc.NET",
"max_stars_repo_path": "DolDoc.Editor/Core/Cursor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150943"
} | starcoder | using DolDoc.Editor.Extensions;
namespace DolDoc.Editor.Core
{
/// <summary>
/// A class representing the cursor of the document.
/// </summary>
public class Cursor
{
private enum Direction
{
Left,
Right,
Up,
Down
... | 3.053923 | 6639836e9c4deaff5e267fed3ffe7c84 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831724 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "neekgreen/saaslane",
"max_stars_repo_path": "src/Saaslane/Internal/SasslaneMiddleware.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150944"
} | starcoder | <gh_stars>1-10
namespace Saaslane.Internal
{
using Microsoft.AspNetCore.Http;
using System.Globalization;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
public class SaaslaneMiddleware<TTenant>
{
private readonly RequestDelegate next;
private readonly ILogger ... | 2.328588 | c2ee6d4616cc4b4ff380de8e9429c6e4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831725 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KallDrexx/Xom",
"max_stars_repo_path": "Xom.Tests/TestObjects/XomNodeData/NodeA.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150945"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
using Xom.Core.Models;
namespace Xom.Tests.TestObjects.XomNodeData
{
class NodeA
{
private int _attribute3 { get; set; }
public string Attribute1... | 2.369401 | ce8a7ee39bc745970a1aadc3fa185078 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831726 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Elders/log4net.Appender.ElasticSearch",
"max_stars_repo_path": "src/Elders.log4net.Appender.ElasticSearch/ElasticClient/IElasticsearchClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150946"
} | starcoder | <filename>src/Elders.log4net.Appender.ElasticSearch/ElasticClient/IElasticsearchClient.cs
using log4net.Appender.ElasticSearch.Configuration;
using System;
using System.Collections.Generic;
namespace log4net.Appender.ElasticSearch
{
public interface IElasticsearchClient : IDisposable
{
ServerDataCollec... | 1.517513 | 20ba8bd2783d3574ec0711dba7a6320a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831727 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "douglasgdy/netcodemetrics",
"max_stars_repo_path": "CodeMetrics.Calculators.Contracts/Properties/AssemblyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150947"
} | starcoder | <reponame>douglasgdy/netcodemetrics<gh_stars>1-10
using System.Reflection;
[assembly: AssemblyTitle("CodeMetrics.Calculators")] | 1.010822 | 50322c30574ad3123f847bb228a5c508 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831728 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dwardin/Opserver",
"max_stars_repo_path": "src/Opserver.Core/Data/Redis/RedisHost.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150948"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
namespace Opserver.Data.Redis
{
public class RedisHost : IMonitorStatus
{
private RedisModule Module { get; }
public string HostName { get; }
internal string ReplicationGroupName { get; }
public str... | 2.079353 | e40c12f7052733ed347a9778676880a4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831729 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KimaiDotNet/KimaiDotNet.oDataReporting",
"max_stars_repo_path": "src/KimaiDotNet.Reporting.ODataService/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150949"
} | starcoder | <reponame>KimaiDotNet/KimaiDotNet.oDataReporting
using KimaiDotNet.Reporting.ODataService;
using MarkZither.KimaiDotNet.Reporting.ODataService.Configuration;
using MarkZither.KimaiDotNet.Reporting.ODataService.Models;
using Microsoft.AspNetCore.OData;
using Microsoft.OData.Edm;
using MonkeyCache.LiteDB;
using Polly... | 1.77468 | 6d63d84d2f0a578686b13fc6fae8e8eb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831730 | {
"extension": "c-sharp",
"max_stars_count": "1992.0",
"max_stars_repo_name": "WolfgangKluge/Blazorise",
"max_stars_repo_path": "Source/Blazorise/Themes/Models/ThemeStepsOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150950"
} | starcoder | namespace Blazorise
{
/// <summary>
/// Defines the theme options for the <see cref="Steps"/> component.
/// </summary>
public record ThemeStepsOptions
{
/// <summary>
/// Gets or sets the <see cref="Step"/> icon color.
/// </summary>
public string StepsItemIconColor... | 2.63595 | 4babe733fce923a380c53cf8134e82e8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831731 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rumenand/Softuni_HomeWork_Tasks",
"max_stars_repo_path": "CSharpOOP/03.ExerciseInheritance/Zoo/Reptile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150951"
} | starcoder |
namespace Zoo
{
public class Reptile : Animal
{
public Reptile(string name):base (name)
{
}
}
}
| 1.992884 | 441e9fbb66668dc455183b61ab35ef91 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831732 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "KnockKnockP/UnityPlugins",
"max_stars_repo_path": "Tests/EditModeTests/MathToolTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150952"
} | starcoder | using NUnit.Framework;
using System;
using UnityEngine;
namespace UnityPlugins.Tests.EditMode {
internal static class MathToolTest {
#region TestIsDiagonal
internal struct IsDiagonalCase {
internal readonly Vector2 position1,
position2;
... | 2.449735 | 8621d895666d0851cd5131e22c388530 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831733 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Sinobu-X/DBLight",
"max_stars_repo_path": "src/netcore/DbLight/Common/IDbSqlInner.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150953"
} | starcoder | <filename>src/netcore/DbLight/Common/IDbSqlInner.cs
namespace DbLight.Common
{
internal interface IDbSqlInner
{
string GetTableName(DbConnection connection, string database, string schema, string table);
string GetColumnName(string column);
string ValueToWhereSql(object value);
... | 1.956138 | 905dd64adef5f558185a64ad97b042b3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831734 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PatrickLang/ogfg.link",
"max_stars_repo_path": "Recipe/Pages/Details.cshtml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150954"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Xml.Linq;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.EntityFrameworkCore;
using ogfg.recipeapp.Data;
using ogfg.recipeapp.Models;
namespace ogfg.recipeapp.Pages... | 2.423366 | 5d4724d15d11aa9ceb9ea0940d416f74 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831735 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MirzaMerdovic/Otter",
"max_stars_repo_path": "src/Otter/Models/SwarmConfigSpec.Generated.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150955"
} | starcoder | using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Otter.Models
{
[DataContract]
public class SwarmConfigSpec // (swarm.ConfigSpec)
{
public SwarmConfigSpec()
{
}
public SwarmConfigSpec(Annotations Annotations)
{
if (Annotati... | 1.81792 | 4e4cddffa19a146b6755c9ea019aa2dd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831736 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "giannik/EasyOC",
"max_stars_repo_path": "src/Modules/EasyOC.OrchardCore.Excel/Models/ExcelSetting.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150956"
} | starcoder | namespace EasyOC.OrchardCore.Excel.Models
{
public class ExcelSetting
{
public string DocumentItemId { get; set; }
public string ScriptContent { get; set; }
public string DisplayName { get; set; }
}
}
| 1.396505 | 3fdab49d3323f07865c1d8d0c5b3dad4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831737 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "doXi70/Homework_SoftUni",
"max_stars_repo_path": "L2_T2/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150957"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace L2_T2
{
class Program
{
static void Main(string[] args)
{
string proffesion = Console.ReadLine();
int quantity = int.Parse(Console.ReadLine());
... | 3.396534 | 571cb1310bf48747b6d91fe69cb2a580 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831738 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "M4rtini89/RLUPKT",
"max_stars_repo_path": "Core/UTypes/FString.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150958"
} | starcoder | using System.Text;
using System.IO;
namespace RLUPKT.Core.UTypes
{
// Unreal string
public class FString : IUESerializable
{
private string InnerString;
private bool bIsUnicode;
public void Deserialize(BinaryReader Reader)
{
var Length = Reader.ReadInt32();
bIsUnicode = Length < 0;
if (Len... | 2.946121 | 9814e323e55b14f43ce0f6a708d90aaf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831739 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "HydAu/sitecore8ecommerce",
"max_stars_repo_path": "code/Core/Sitecore.Ecommerce.Kernel/OrderManagement/ItemBasedOrderIDGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150959"
} | starcoder | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="ItemBasedOrderIDGenerator.cs" company="Sitecore Corporation">
// Copyright (c) Sitecore Corporation 1999-2015
// </copyright>
// <summary>
// Defines the item based order... | 2.008561 | afabd76b5d16f1eb5422e9eff108ea86 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831740 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bluexray/Horizon.Sample",
"max_stars_repo_path": "Horizon.Payment.Alipay/Response/AlipayIserviceCognitiveOcrBankcardQueryResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150960"
} | starcoder | <reponame>bluexray/Horizon.Sample
using System.Text.Json.Serialization;
namespace Horizon.Payment.Alipay.Response
{
/// <summary>
/// AlipayIserviceCognitiveOcrBankcardQueryResponse.
/// </summary>
public class AlipayIserviceCognitiveOcrBankcardQueryResponse : AlipayResponse
{
/// <summary... | 1.291629 | 5a707f82233e7b27a17fa8e8befc2040 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831741 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "Veraatversus/AnnoSavegameViewer",
"max_stars_repo_path": "src/AnnoSavegameViewer/GeneratedA7s/Structures/Savegame2/Generated/Content/ProductDistributionMapList.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150961"
} | starcoder | namespace AnnoSavegameViewer.Structures.Savegame.Generated {
using AnnoSavegameViewer.Serialization.Core;
public class ProductDistributionMapList {
[BinaryContent(Name = "ProductLeft", NodeType = BinaryContentTypes.Attribute)]
public object ProductLeft { get; set; }
[BinaryContent(Name = "ProductCons... | 1.315053 | 773ddae0f6ef6da3609520205d7286cb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831742 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "YutoNakayachi/Tobacco_Action",
"max_stars_repo_path": "TobaccoAction/Assets/Scripts/PauseSceneControl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150962"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class PauseSceneControl : MonoBehaviour
{
////////////////////////////////////////////
// public object, variable
public GameObject ItemFrame;
public GameOb... | 2.367087 | 4eaf4744ef353828185e164e7c0263d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831743 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "h82258652/SoftwareKobo.Social.Sina.Weibo2",
"max_stars_repo_path": "SoftwareKobo.Social.Sina.Weibo/SoftwareKobo.Social.SinaWeibo.Desktop/LocalAccessToken.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150963"
} | starcoder | <reponame>h82258652/SoftwareKobo.Social.Sina.Weibo2
using System;
using SoftwareKobo.Social.SinaWeibo.Properties;
namespace SoftwareKobo.Social.SinaWeibo
{
internal static class LocalAccessToken
{
internal static DateTime ExpiresAt
{
get
{
return Setting... | 1.921867 | 1336b0761fdf6c1bc229323a9c5c23ce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831744 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "misenhower/WPRemote",
"max_stars_repo_path": "CommonLibraries/UniversalLibraries/Komodex.Common/BindableBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150964"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
namespace Komodex.Common
{
public abstract class BindableBase : INotifyPropertyChanged
{
protected void SendPropertyChanged([CallerMemberName] strin... | 2.324227 | 5e58671b4f20e5fc2ab020d389165d4a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831745 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BoundfoxStudios/object-pooling",
"max_stars_repo_path": "Assets/Game/ObjectPooling/ObjectPool.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150965"
} | starcoder | <reponame>BoundfoxStudios/object-pooling<filename>Assets/Game/ObjectPooling/ObjectPool.cs
using System;
using System.Collections.Generic;
using UnityEngine;
namespace BoundfoxStudios.ObjectPoolingSample.ObjectPooling
{
[Serializable]
public class ObjectPool
{
public bool CanExpand;
[NonSerialized]
p... | 1.777182 | bd0c835aba4280455313010e2d1ea5f9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831746 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pdevito3/Craftsman",
"max_stars_repo_path": "Craftsman/Builders/Bff/Src/LibBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150966"
} | starcoder | <gh_stars>0
namespace Craftsman.Builders.Bff.Src;
using Helpers;
using Services;
public class LibBuilder
{
private readonly ICraftsmanUtilities _utilities;
public LibBuilder(ICraftsmanUtilities utilities)
{
_utilities = utilities;
}
public void CreateAxios(string spaDirectory)
{
... | 2.047229 | 758a0d81681c64863d4c985b4c8dbab6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831747 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dineshkummarc/FubuMVC-old",
"max_stars_repo_path": "src/FubuMVC.Tests/Web/Security/WebAuthenticationContextTester.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150967"
} | starcoder | <filename>src/FubuMVC.Tests/Web/Security/WebAuthenticationContextTester.cs
using NUnit.Framework;
using FubuMVC.Core.Web.Security;
namespace FubuMVC.Tests.Web.Security
{
[TestFixture]
public class WebAuthenticationContextTester
{
private WebAuthenticationContext _authSvc;
private s... | 2.622706 | 746b4a8759da3ec0b78617c82d25143d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831748 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "elsiete/CanvasDiagramEditor",
"max_stars_repo_path": "CanvasDiagram.WPF/Util/WpfDiagramPrinter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150968"
} | starcoder | // Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#region References
using CanvasDiagram.WPF.Controls;
using CanvasDiagram.Core;
using CanvasDiagram.Editor;
using CanvasDiagram.Util;
using System;
using System.Collection... | 2.144822 | 2692ff81df377f30fe194c6626f215ce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831749 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VCipher/Cake.Hg",
"max_stars_repo_path": "src/Cake.Hg.Tests/Fakes/FakeCakeContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150969"
} | starcoder | using System;
using System.Collections.Generic;
using Cake.Core;
using Cake.Core.Configuration;
using Cake.Core.Diagnostics;
using Cake.Core.IO;
using Cake.Core.Tooling;
using Cake.Testing;
namespace Cake.Hg.Tests.Fakes
{
public sealed class FakeCakeContext : ICakeContext
{
private readonly ICakeConte... | 1.852822 | be28d34dd6b78a56c8bd5dfc999ed51f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831750 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "phwitti/d3mm",
"max_stars_repo_path": "D3ModInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150970"
} | starcoder | <filename>D3ModInfo.cs<gh_stars>0
using System.IO;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace d3mm
{
public class D3ModInfo
{
private bool? m_bInstalled = false;
private string m_sVersionInstalled = string.Empty;
//
public int ID
{
get; ... | 2.541466 | 40958c04421ee7dbdfde0264a3a535d5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831751 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "prabaprakash/Media_Player",
"max_stars_repo_path": "WinRT XAML Toolkit - 1.3.6.0 - Source.zip/WinRTXamlToolkit/Controls/Extensions/Forms/PasswordBoxFormatValidationHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150971"
} | starcoder | using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
namespace WinRTXamlToolkit.Controls.Extensions
{
/// <summary>
/// Handles validation of PasswordBox.Text whenever TextChanged property is raised.
/// </summary>
public class PasswordBoxFormatValidationHandler : FieldValidationHandler<PasswordBox>... | 2.651835 | e25e3bda82549ce40ff48b2e8e7fdd79 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831752 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kakapio/yule-engine",
"max_stars_repo_path": "yule/yule/Engine/Scene.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150972"
} | starcoder | <filename>yule/yule/Engine/Scene.cs
using System;
using System.Collections.Generic;
using Humper;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using yule.Gameplay;
namespace yule.Engine
{
/// <summary>
/// Contains all the entities used in the cur... | 2.440372 | 843f23d67fbeab87a948fa7ae1af731c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831753 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mkholt/timelog.net",
"max_stars_repo_path": "timelog.net/Models/Project.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150973"
} | starcoder | <reponame>mkholt/timelog.net
using System.Collections.Generic;
using System.Linq;
namespace timelog.net.Models
{
public class Project
{
public int ProjectId { get; set; }
public string? Title { get; set; }
public string? Url { get; set; }
public strin... | 1.887645 | 1025a7c446d8b22c892975fcd74be730 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831754 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "asrieltiago/GitCsharp",
"max_stars_repo_path": "MVCProjectHome/MVCProject/MVCProject/Form1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150974"
} | starcoder | using MVCProject.Model;
using MVCProject.View;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace MVCProject
{
public partial class Form1 : F... | 2.343293 | 07aa48ec2fb0512a082d0d200db0c0b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831755 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maxkoshevoi/Maui",
"max_stars_repo_path": "samples/CommunityToolkit.Maui.Sample/ViewModels/Alerts/AlertsGalleryViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150975"
} | starcoder | using CommunityToolkit.Maui.Sample.Models;
using CommunityToolkit.Maui.Sample.Pages.Alerts;
namespace CommunityToolkit.Maui.Sample.ViewModels.Alerts;
public class AlertsGalleryViewModel : BaseGalleryViewModel
{
protected override IEnumerable<SectionModel> CreateItems() => new[]
{
new SectionModel(typeof(Snackbar... | 1.55347 | 018be69833b3443b0331ece67c2a0cbd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831756 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "icebeam7/TravelMonkey",
"max_stars_repo_path": "src/TravelMonkey/Models/AzureMaps/POI.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150976"
} | starcoder | using System.Collections.Generic;
namespace TravelMonkey.Models.AzureMaps
{
public class GeoBias
{
public double lat { get; set; }
public double lon { get; set; }
}
public class Summary
{
public string query { get; set; }
public string queryType { get; set; }
... | 2.04658 | 4baaec1fe752c56cb0de5863e1192e73 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831757 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "W4RH4WK/it3-packer",
"max_stars_repo_path": "CompileTools.GUI/PalettePanel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150977"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace CompileTools.GUI
{
public partial class PalettePanel : Panel
{
private ... | 2.845866 | 2894d212a34b739e3e81332304c4d62e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831758 | {
"extension": "c-sharp",
"max_stars_count": "104.0",
"max_stars_repo_name": "Rathxxx/AWSSecretsManagerConfigurationExtensions",
"max_stars_repo_path": "src/Kralizek.Extensions.Configuration.AWSSecretsManager/Internal/SecretsManagerConfigurationProviderOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz... | starcoder | <filename>src/Kralizek.Extensions.Configuration.AWSSecretsManager/Internal/SecretsManagerConfigurationProviderOptions.cs
using System;
using System.Collections.Generic;
using Amazon.SecretsManager;
using Amazon.SecretsManager.Model;
namespace Kralizek.Extensions.Configuration.Internal
{
public class SecretsManage... | 2.553782 | d3509150856c3fee95f4b00f25088095 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831759 | {
"extension": "c-sharp",
"max_stars_count": "52.0",
"max_stars_repo_name": "Brian-Watson/extentreports-csharp",
"max_stars_repo_path": "ExtentReports/ExtentReports/Model/StatusHierarchy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150979"
} | starcoder | <gh_stars>10-100
using System.Collections.Generic;
namespace AventStack.ExtentReports.Model
{
internal static class StatusHierarchy
{
private static List<Status> _statusHierarchy = new List<Status>() {
Status.Fatal,
Status.Fail,
Status.Error,
Status.Warn... | 1.946202 | 4403c0e7c8ae87607c02abdd0c84a61e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831760 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vanyww/FringeC-Server",
"max_stars_repo_path": "SystemSignalsPortLogic/SignalsProcessor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150980"
} | starcoder | using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Threading.Tasks.Dataflow;
using SystemSignalsLogic.Enums;
using SystemSignalsLogic.SignalWorkers;
[assembly: InternalsVisibleTo("MessagingCore")]
namespace SystemSignalsLogic
{
internal class SignalsProcessor
... | 2.00686 | 7a519f66471f569d1b12f15ea6b8a3cb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831761 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "code-infosys/LoanManager",
"max_stars_repo_path": "LoanManager.Data/Mapping/RoleUserMap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150981"
} | starcoder | <filename>LoanManager.Data/Mapping/RoleUserMap.cs<gh_stars>0
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using LoanManager.Models;
using Microsoft.EntityFrameworkCore;
namespace LoanManager.Data
{
public class RoleUserMap
{
public RoleUserMap(EntityTypeBuilder<RoleUser> tb)
{
... | 2.516499 | 7f0a403b1d0c82a4f44fff63718b76c0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831762 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "possibility022/CopyMachineCounterService",
"max_stars_repo_path": "MetCounterService/CopyinfoWPF.ORM/AsystentDatabase/Entities/Towar.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150982"
} | starcoder | <reponame>possibility022/CopyMachineCounterService
namespace CopyinfoWPF.ORM.AsystentDatabase.Entities
{
public class Towar {
public Towar() { }
public virtual int IdTowar { get; set; }
public virtual StawkiVat StawkiVat { get; set; }
public virtual JednostkiMiary JednostkiMiary { g... | 1.621815 | 0e5f2b06dc7190497ae7f1725d728532 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831763 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Normsmiway/FATCA",
"max_stars_repo_path": "Fatca/Fatca.Core/Models/AccountHolder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150983"
} | starcoder | <reponame>Normsmiway/FATCA<gh_stars>0
namespace Fatca.Core.Models
{
/*
Licensed under the Apache License, Version 2.0
http://www.apache.org/licenses/LICENSE-2.0
*/
using System.Xml.Serialization;
[XmlRoot(ElementName = "AccountHolder", Namespace = "urn:oecd:ties:fatca:v2")]
public class Accoun... | 1.572516 | c372178ad4033be41d7593e0a928aa6c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831764 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "justcla/VSPackageInstaller",
"max_stars_repo_path": "VSPackageInstaller/VSPackageInstaller/MarketplaceService/VsEditionUtil.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150984"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.Shell;
namespace VSPackageInstaller.MarketplaceService
{
internal static class VsSkus
{
public const string Ultimate = "Ultimate";
pub... | 2.288737 | da99c7e8d903415795ebe24264ad8850 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831765 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Cheesebaron/GitReleaseManager",
"max_stars_repo_path": "Source/GitReleaseManager/IVcsProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150985"
} | starcoder | <reponame>Cheesebaron/GitReleaseManager
//-----------------------------------------------------------------------
// <copyright file="IVcsProvider.cs" company="GitTools Contributors">
// Copyright (c) 2015 - Present - GitTools Contributors
// </copyright>
//-----------------------------------------------------... | 1.737117 | 29d378123fd21f5bf034939d62dd3f2e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831766 | {
"extension": "c-sharp",
"max_stars_count": "487.0",
"max_stars_repo_name": "apostolsergii/kafka-net",
"max_stars_repo_path": "src/kafka-net/Interfaces/IMetadataQueries.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150986"
} | starcoder | using KafkaNet.Protocol;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace KafkaNet
{
/// <summary>
/// Contains common metadata query commands that are used by both a consumer and producer.
/// </summary>
interface IMetadataQueries : IDisposable
{
/// ... | 2.473382 | b69d67a00b5723919295b254167c5c89 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831767 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "codeputer/dotnet-sdk",
"max_stars_repo_path": "test/Dapr.AspNetCore.IntegrationTest.App/FormURLEncodingPayload.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150987"
} | starcoder | <filename>test/Dapr.AspNetCore.IntegrationTest.App/FormURLEncodingPayload.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Dapr.AspNetCore.IntegrationTest.App
{
public class FormURLEncodingPayload
{
public string FieldA { get; set; ... | 1.552168 | dd641f2aa081c81680d06ed0b5b8ab22 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831768 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Peperman66/KtaneDiscordPlays",
"max_stars_repo_path": "TwitchPlaysAssembly/Src/ComponentSolvers/Modded/Samloper/PressTheShapeComponentSolver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150988"
} | starcoder | <reponame>Peperman66/KtaneDiscordPlays<gh_stars>0
using System;
using System.Collections;
using System.Linq;
public class PressTheShapeComponentSolver : ReflectionComponentSolver
{
public PressTheShapeComponentSolver(TwitchModule module) :
base(module, "pressTheShape", "!{0} press <shape> [Presses the button with ... | 1.932295 | d959bb4b5dd6050fd6aab2eb7882f399 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831769 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maldworth/MassTransit",
"max_stars_repo_path": "src/Transports/MassTransit.AmazonSqsTransport/Transport/ConnectionContextSupervisor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150989"
} | starcoder | namespace MassTransit.AmazonSqsTransport.Transport
{
using System;
using System.Threading.Tasks;
using Amazon.SQS.Model;
using Configuration;
using Context;
using Contexts;
using GreenPipes;
using GreenPipes.Agents;
using Pipeline;
using Topology;
using Topology.... | 1.736866 | f8a032ef432ca26c6e6f45d15f5d4f90 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831770 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PDmatrix/advent-of-code",
"max_stars_repo_path": "CSharp/Solutions/2017/6/Year2017Day06.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150990"
} | starcoder | <reponame>PDmatrix/advent-of-code<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using AdventOfCode.Common;
using JetBrains.Annotations;
namespace AdventOfCode.Solutions._2017._6;
[UsedImplicitly]
public class Year2017Day06 : ISolution
{
public object Part1(IEnumerable<string> input)
... | 2.794122 | 59df0def331751d4e2252b4584ffdcd4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831771 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "DimchoLakov/Architecture-Of-ASP-NET-Core-Microservices-Apps",
"max_stars_repo_path": "MyOnlineShop/MyOnlineShop.Identity/Data/MyIdentityDbContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150991"
} | starcoder | using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using MyOnlineShop.Identity.Data.Models;
using System.Reflection;
namespace MyOnlineShop.Identity.Data
{
public class MyIdentityDbContext : IdentityDbContext<User>
{
public MyIdentityDbContext(DbContextOption... | 2.222514 | 27432797438a4582fe2e438f49914578 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831772 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lochgeo/Jwt",
"max_stars_repo_path": "test/JsonWebToken.Tests/KeyWrapper_DirectKeyWrapperTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150992"
} | starcoder | <gh_stars>0
using JsonWebToken.Internal;
using System;
using System.Collections.Generic;
using Xunit;
namespace JsonWebToken.Tests
{
public class KeyWrapper_DirectKeyWrapperTests : KeyWrapperTestsBase
{
private Jwk TryWrapKey_Success(SymmetricJwk keyToWrap, EncryptionAlgorithm enc, KeyManagementAlgori... | 2.082828 | 23c258a1748f8eb93b0499c799819994 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831773 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "svlcode/ConsoleLib",
"max_stars_repo_path": "sources/ConsoleLib/ConsoleLib/Concrete/NavigationArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150993"
} | starcoder | using System;
namespace ConsoleLib
{
internal sealed class NavigationArgs : EventArgs
{
public NavigationDirectionEnum Direction { get; }
public NavigationArgs(NavigationDirectionEnum direction)
{
Direction = direction;
}
}
} | 2.158046 | 30f8f7be9ae354d80d5e0e3a9cd6603f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831774 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ucdavis/Harvest",
"max_stars_repo_path": "Harvest.Web/Controllers/RateController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150994"
} | starcoder | <gh_stars>1-10
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Harvest.Core.Data;
using Harvest.Core.Domain;
using Harvest.Core.Extensions;
using Harvest.Core.Models;
using Harvest.Core.Mod... | 2.124494 | 25eac47ee1a72bb9ea0c446c025f27fe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831775 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "GibraltarSoftware/Gibraltar.Agent.PostSharp",
"max_stars_repo_path": "src/Agent.PostSharp/GTimer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150995"
} | starcoder | // /*
// Copyright 2013 Gibraltar Software, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless... | 2.474574 | c7357d4821fab82b051e4b3f240a26f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831776 | {
"extension": "c-sharp",
"max_stars_count": "82.0",
"max_stars_repo_name": "ksbeer/Mkh",
"max_stars_repo_path": "test/02_Data/Data.Common.Test/Domain/Category/CategoryEntity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150996"
} | starcoder | using Mkh.Data.Abstractions.Annotations;
using Mkh.Data.Abstractions.Entities;
namespace Data.Common.Test.Domain.Category
{
/// <summary>
/// 文章分类
/// </summary>
[Table("MyCategory")]
public class CategoryEntity : EntityBase
{
/// <summary>
/// 名称
/// </summary>
... | 1.981099 | 1bff4d1c1a148e09a346203376a42dcd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831777 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Unvios22/DarkLab",
"max_stars_repo_path": "Assets/Scripts/Mechanics/Laboratory/LaboratoryHP.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150997"
} | starcoder | <reponame>Unvios22/DarkLab
using System;
using System.Collections;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
public class LaboratoryHP : MonoBehaviour {
[SerializeField] private int hp;
[SerializeField] private int maxHp;
[SerializeField] private int repairAmount;
[SerializeField] private Image health... | 2.088228 | 37764ef3459442c9e06da5a1aaafbed8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831778 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NexusCommunity/Nexus",
"max_stars_repo_path": "Nexus/Entities/Round.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150998"
} | starcoder | using System;
using GameCore;
namespace Nexus.Entities
{
/// <summary>
/// A set of tools to handle the round more easily.
/// </summary>
public static class Round
{
/// <summary>
/// Gets the time elapsed from the start of the round.
/// </summary>
public static T... | 2.678029 | a3478bf86a3be9e7d5bfd6c4a6667978 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831779 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Nguyen-H-Bang-29/Accommod",
"max_stars_repo_path": "Services/UserService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:150999"
} | starcoder | using AutoMapper;
using Microsoft.Extensions.Options;
using Microsoft.IdentityModel.Tokens;
using MongoDB.Bson;
using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.IdentityModel.Tokens.Jwt;
using System.Linq;
using System.Security.Claims;
using System.Security.Cryptography;
using System.... | 2.439878 | fc154b7e0f9e4c2e191483c9cc48b136 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831780 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stuartleeks/Identity",
"max_stars_repo_path": "src/Microsoft.AspNet.Identity/IUserLoginStore.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151000"
} | starcoder | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace Microsoft.AspNet.Identity
{
/// ... | 2.437138 | 2290d8e8080ea4cd609627d788118077 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831781 | {
"extension": "c-sharp",
"max_stars_count": "609.0",
"max_stars_repo_name": "WrathZA/CacheCow",
"max_stars_repo_path": "test/CacheCow.Client.Tests/FauxServerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151001"
} | starcoder | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
using CacheCow.Client.Headers;
using CacheCow.Client.Tests.Helpe... | 2.51514 | fee5ba033e229c593476f8e303f58607 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831782 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tyrng/UnityMultiBuild",
"max_stars_repo_path": "MultiBuild/Editor/SettingsWindow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151002"
} | starcoder | <filename>MultiBuild/Editor/SettingsWindow.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using UnityEditor;
using UnityEngine;
/* Easiest way to check if we're running 5.4 or lower. */
#if UNITY_5_5_OR_NEWER
#else
namespace UnityEditor
{
public struct BuildPlayerOptions
{
p... | 2.111162 | f8181e3c2d310273da6b5ddc953bf320 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831783 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "benday-inc/azure-app-service-security",
"max_stars_repo_path": "dotnet5.0/Benday.EasyAuthDemo/src/Benday.EasyAuthDemo.Api/Security/SecurityConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151003"
} | starcoder | <reponame>benday-inc/azure-app-service-security
using System;
using System.Linq;
using Microsoft.Extensions.Configuration;
namespace Benday.EasyAuthDemo.Api.Security
{
public class SecurityConfiguration : ISecurityConfiguration
{
public SecurityConfiguration(Microsoft.Extensions.Configuration.IConfigur... | 2.118199 | b2434fd6282824f3faa2236cdd2e9ad6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831784 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "I2PM/alps.net.api",
"max_stars_repo_path": "alps .net api/alps.net.api/ALPS/ALPSModelElements/ALPSSBDComponents/IGroupState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151004"
} | starcoder | <gh_stars>1-10
using alps.net.api.StandardPASS;
using alps.net.api.StandardPASS.BehaviorDescribingComponents;
using System.Collections.Generic;
namespace alps.net.api.ALPS.ALPSModelElements.ALPSSBDComponents
{
public interface IGroupState : IALPSSBDComponent, IState
{
/// <summary>
/// Adds a ... | 2.327707 | a9c5feb6b309a6c3c4194e53f5c4d618 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831785 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Dasiys/EntityFramework",
"max_stars_repo_path": "EfDemo/EfDemo/Controllers/HomeController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151005"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.AccessControl;
using System.Web;
using System.Web.Mvc;
using Infastrcuture;
namespace EfDemo.Controllers
{
public class HomeController : Controller
{
private static readonly StudentDbContext StudentDbContext=new S... | 2.336157 | 663de1eedc8e8e587f28eb7081f21190 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831786 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "simplify9/Gds",
"max_stars_repo_path": "SW.Gds.Sdk/Model/PhoneType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151006"
} | starcoder | <reponame>simplify9/Gds
namespace SW.Gds.Model
{
public enum PhoneType
{
Other,
Landline,
Mobile,
}
}
| 1.289664 | 80d2815a53820b5346faf9a6057c9595 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831787 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "AaronFriel/pulumi-aws-native",
"max_stars_repo_path": "sdk/dotnet/NetworkFirewall/Outputs/FirewallPolicy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151007"
} | starcoder | <filename>sdk/dotnet/NetworkFirewall/Outputs/FirewallPolicy.cs
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Thre... | 1.456282 | d687821025a9c8c763695c558014fba0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831788 | {
"extension": "c-sharp",
"max_stars_count": "431.0",
"max_stars_repo_name": "echalone/Buildalyzer",
"max_stars_repo_path": "tests/projects/TransitiveProjectReference/Class1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151008"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace TransitiveProjectReference
{
public class Class1
{
public void Foo()
{
Console.WriteLine("Bar");
}
}
}
| 1.949429 | 6e580edbd639cfada59261dc26da7c90 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831789 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkywalkerJi/ElectronicObserver",
"max_stars_repo_path": "ElectronicObserver/Observer/kcsapi/api_req_mission/result.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151009"
} | starcoder | <gh_stars>0
using ElectronicObserver.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ElectronicObserver.Observer.kcsapi.api_req_mission
{
public class result : APIBase
{
private int _fleetID;
public override bool IsRequestSu... | 1.975585 | 8a5a6a39dd698d4195b9e32508745d1e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831790 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "emipa606/Warframe",
"max_stars_repo_path": "Source/Warframe/Skills/Volts/Volt4SkillThing.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151010"
} | starcoder | <filename>Source/Warframe/Skills/Volts/Volt4SkillThing.cs
using System.Collections.Generic;
using RimWorld;
using UnityEngine;
using Verse;
namespace Warframe.Skills.Volts
{
public class Volt4SkillThing : ThingWithComps
{
public List<Pawn> affected;
public float damage;
public int rang... | 2.144005 | 1b331fdf94334e4eeba61cb8dc62d5cc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831791 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "uluhonolulu/fubumvc",
"max_stars_repo_path": "src/FubuMVC.Core/Resources/Media/Projections/AccessorProjection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151011"
} | starcoder | using System;
using System.Linq.Expressions;
using FubuCore.Reflection;
namespace FubuMVC.Core.Resources.Media.Projections
{
public class AccessorProjection<T> : IValueProjection<T>
{
private readonly Accessor _accessor;
private string _projectedNodeName;
public AccessorPr... | 2.508441 | 417d130787512d0a6dc427cca334bada |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831792 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "PauSabatesC/OpenUserManager",
"max_stars_repo_path": "UserManagement.Domain/Entities/UserMetaData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151012"
} | starcoder | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace UserManagement.Domain.Entities
{
public class UserMetaData
{
[Key]
public string Id { get; set; }
public int TimesPasswordReset { get; set; }
... | 1.820229 | adbf41928dd1276cc9748637dc3550fa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831793 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "barnstee/EVChargingDashboard",
"max_stars_repo_path": "StatusHub.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151013"
} | starcoder | <gh_stars>1-10
using Microsoft.AspNetCore.SignalR;
namespace EVCharging
{
public class StatusHub : Hub
{
private IHubContext<StatusHub> _context;
public StatusHub(IHubContext<StatusHub> context)
{
_context = context;
}
public void AddChargers(... | 2.21408 | e7b91ae2cba9149cc52e577c77492023 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831794 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DurpBurger/ConsoleGraphics",
"max_stars_repo_path": "src/ConsoleGraphics/MeshReader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151014"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using ConsoleGraphics.Core;
namespace ConsoleGraphics
{
public class MeshReader
{
public static Mesh textConvert(string textFile, Point3D loc, Material mat)
{
List<Point3D> vPoints = new Lis... | 2.828648 | 5a011786ccf7386afd749d05d9e9955e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831795 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jojogreen/Orbital-Mechanix-Suite",
"max_stars_repo_path": "NetWinCharts/CSharpWinCharts/hbarmeterorientation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151015"
} | starcoder | <gh_stars>1-10
using System;
using ChartDirector;
namespace CSharpChartExplorer
{
public class hbarmeterorientation : DemoModule
{
//Name of demo module
public string getName() { return "H-Bar Meter Orientation"; }
//Number of charts produced in this demo module
public int getN... | 2.870897 | 79b124060e69df6ada69f846696979b4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831796 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EmORz/BookStore",
"max_stars_repo_path": "Tests/BookStore.Services.Tests/SuppliersServiceTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151016"
} | starcoder | <filename>Tests/BookStore.Services.Tests/SuppliersServiceTests.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using BookStore.Data;
using BookStore.Model;
using BookStore.Model.Enum;
using Microsoft.EntityFrameworkCore;
using Xunit;
namespace BookStore.Services.Tests
{
public cla... | 2.644556 | 24ef10f9efb13bf3f4cce5d1aefc194d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831797 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OyvindAndersen/PayEx.Client",
"max_stars_repo_path": "src/PayEx.Client/PriceTypes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151017"
} | starcoder | <filename>src/PayEx.Client/PriceTypes.cs
namespace PayEx.Client
{
public static class PriceTypes
{
public static string Vipps = "Vipps";
public static string Visa = "Visa";
public static string MasterCard = "MasterCard";
public static string CreditCard = "CreditCard";
}
}
| 1.892236 | c0c3de5cd83876602047f8b795e6dff0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831798 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "v-gabriel/oop_zadace",
"max_stars_repo_path": "DZ1/WinApp/ConsoleApp/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151018"
} | starcoder | <gh_stars>1-10
using System;
using System.Security.Cryptography.X509Certificates;
using ClassLibrary;
// "C# 6 introduced new construct - the using static directive lets you import all the static members of a type,
// so that you can use those members unqualified..."
// https://stackoverflow.com/questions/6319226/ca... | 3.207285 | f4385aa425f4a0b2319e44199dbd5a65 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831799 | {
"extension": "c-sharp",
"max_stars_count": "67.0",
"max_stars_repo_name": "stefb965/roslyn",
"max_stars_repo_path": "src/Test/Utilities/Portable/Traits/Traits.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151019"
} | starcoder | <filename>src/Test/Utilities/Portable/Traits/Traits.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.CodeAnalysis.Test.Utilities
{
public static class Traits
{
public ... | 1.383926 | 4ea5c75035208eb6901df7fa91f6df4c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831800 | {
"extension": "c-sharp",
"max_stars_count": "67.0",
"max_stars_repo_name": "BlazorHub/WebRTCme",
"max_stars_repo_path": "Externals/SdpTransform/Models/EncryptionKey.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151020"
} | starcoder | <reponame>BlazorHub/WebRTCme
namespace Utilme.SdpTransform
{
public class EncryptionKey
{
public EncryptionKeyMethod Method { get; set; }
public string Value { get; set; }
}
}
| 1.346872 | d1c60f322d2a3a3ba115d7cfa27cb7a5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831801 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "malasani/roslyn",
"max_stars_repo_path": "src/Features/Core/Portable/ChangeSignature/IChangeSignatureOptionsService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151021"
} | starcoder | // 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.
#nullable enable
using Microsoft.CodeAnalysis.Host;
namespace Microsoft.CodeAnalysis.ChangeSignature
{
intern... | 1.803462 | 52446272a7f3b92a1ec3da46ed4360ad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831802 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vmmarko/MyTested.AspNetCore.Mvc",
"max_stars_repo_path": "src/MyTested.AspNetCore.Mvc.Controllers/Builders/Contracts/ActionResults/Forbid/IForbidTestBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151022"
} | starcoder | <reponame>vmmarko/MyTested.AspNetCore.Mvc<gh_stars>0
namespace MyTested.AspNetCore.Mvc.Builders.Contracts.ActionResults.Forbid
{
using System;
using System.Collections.Generic;
using Authentication;
using Base;
using Microsoft.AspNetCore.Http.Authentication;
using Microsoft.AspNetCore.Mvc;
... | 1.911013 | 65d9c22426422e29a2c1bdf961e6dbb6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831803 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FransVanEk/DynamicBlazorForm",
"max_stars_repo_path": "DynamicBlazorForm.Core/Layout/Group.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151023"
} | starcoder | using Newtonsoft.Json;
namespace DynamicBlazorForm.Core.Layout
{
public class Group
{
public Group()
{
Name = "not set";
}
public Group(string name)
{
Name = name;
}
public static Group WithName(string name)
{
... | 2.510871 | caee02ef4b395da6ed4496e28317c77a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831804 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Quilt4/Quilt4Net",
"max_stars_repo_path": "Quilt4Net.Core/Interfaces/IService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151024"
} | starcoder | using System.Threading.Tasks;
using Quilt4Net.Core.DataTransfer;
namespace Quilt4Net.Core.Interfaces
{
public interface IService
{
ILog Log { get; }
Task<ServiceInfoResponse> GetServiceInfo();
}
} | 1.507589 | 582160304451915390eada23943753e6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831805 | {
"extension": "c-sharp",
"max_stars_count": "59.0",
"max_stars_repo_name": "McP4nth3r/coreclr-module",
"max_stars_repo_path": "api/AltV.Net.Host/CollectTraceClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151025"
} | starcoder | <filename>api/AltV.Net.Host/CollectTraceClient.cs
using System;
using System.Diagnostics;
using System.IO;
using System.Threading.Tasks;
using AltV.Net.Host.Diagnostics.Client.DiagnosticsClient;
using System.Collections.Generic;
using System.Diagnostics.Tracing;
using System.Linq;
using AltV.Net.Host.Diagnostics.Tools;... | 2.290199 | 72aca4f3c57a60a0cff38bca46c6c4ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831806 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "davidknipe/EpiCategories",
"max_stars_repo_path": "src/EpiCategories/Views/Shared/EditorTemplates/CategoryCriterionSettings.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:151026"
} | starcoder | @using EPiServer.Personalization.VisitorGroups
@model Geta.EpiCategories.CategoryCriterionSettings
<div class="epi-criteria-grouping">
<span class="epi-criteria-inlineblock">
@Html.LabelFor(x => x.CategoryId)
@Html.DojoEditorFor(x => x.CategoryId)
</span>
<span class="epi-criteria-inlinebl... | 1.822532 | 5cfbaec73993f0d9a06286111dd79c07 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831807 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brunoavpinheiro/dammitproxy",
"max_stars_repo_path": "ProcessIcon.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151027"
} | starcoder | <reponame>brunoavpinheiro/dammitproxy
using System;
using System.Windows.Forms;
using DammitProxy.Properties;
namespace DammitProxy
{
internal class ProcessIcon : IDisposable
{
private readonly NotifyIcon notifyIcon;
public ProcessIcon()
{
notifyIcon = new Noti... | 1.994009 | 0d6edc87b744185731bb87aa2f61eee6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831808 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ZZHGit/corert",
"max_stars_repo_path": "src/System.Private.Interop/src/System/Runtime/InteropServices/ComTypes/statdata.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151028"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
namespace System.Runtime.InteropServices.ComTypes
{
public struct STATDATA
{
public FORMATETC formatetc;
public ADVF advf;
... | 1.283944 | 43f347c0c2372a3c3e0070c270c6caa6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831809 | {
"extension": "c-sharp",
"max_stars_count": "219.0",
"max_stars_repo_name": "Toysoft/spectnetide",
"max_stars_repo_path": "v2/Core/Spect.Net.SpectrumEmu/Abstraction/Devices/Tape/TapeOperationMode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151029"
} | starcoder | namespace Spect.Net.SpectrumEmu.Abstraction.Devices.Tape
{
/// <summary>
/// This enum represents the operation mode of the tape
/// </summary>
public enum TapeOperationMode : byte
{
/// <summary>
/// The tape device is passive
/// </summary>
Passive = 0,
//... | 2.34742 | 51cf892839f2b061c645b20a3a8df378 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831810 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MarkSFrancis/marksfrancis",
"max_stars_repo_path": "src/Phnx.Tests/Collections/Extensions/IEnumerableExtensions/ToStringTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151030"
} | starcoder | using NUnit.Framework;
using System;
using System.Collections.Generic;
namespace Phnx.Collections.Tests.Extensions.IEnumerableExtensions
{
public class ToStringTests
{
[Test]
public void ToString_WithNullCollection_ThrowsArgumentNullException()
{
IEnumerable<int> items = nu... | 3.28503 | 989ee8c65490e7e25d174e47a60c5839 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8831811 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OhAnotherTag/CinemaAPI",
"max_stars_repo_path": "Src/CinemaService/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:151031"
} | starcoder | using CinemaService.Api;
using CinemaService.Messaging.Senders;
using CinemaService.Model;
using Domain.Contracts;
using Domain.Interfaces;
using MassTransit;
using Microsoft.EntityFrameworkCore;
var builder = WebApplication.CreateBuilder(args);
// Add services to the container.
var services = builder.Services;
var ... | 1.753921 | 712aaab70112ef50c9719f3d9a50767f |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.