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 | 8817918 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "h-alone/aceadmin",
"max_stars_repo_path": "src/Netnr.P/Netnr.ResponseFramework.Web/Views/RF/RichText.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:137138"
} | starcoder | @{
ViewData["Title"] = "富文本";
}
<!--模态 表单-->
<div class="modal fade modalautoheight" id="fv_modal_1" role="dialog" data-backdrop="static">
<div class='modal-dialog modal-lg modal-full'>
<div class="modal-content">
<div class="modal-header">
<button type="button" class="clos... | 1.755032 | 950cd6464c3b7cf23669d969a7940365 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817919 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pipeline-foundation/vstest",
"max_stars_repo_path": "src/Microsoft.TestPlatform.VsTestConsole.TranslationLayer/Interfaces/ITranslationLayerRequestSenderAsync.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137139"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.TestPlatform.VsTestConsole.TranslationLayer.Interfaces
{
using System;
using System.Collections.Generic;
using System.Thread... | 1.744396 | 9fd15e0f6d26f8926f49c4782dea8f49 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817920 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "GraniteStateHacker/WindowsCommunityToolkit",
"max_stars_repo_path": "Microsoft.Toolkit.Services/Services/OneDrive/OneDriveConstants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137140"
} | starcoder | <reponame>GraniteStateHacker/WindowsCommunityToolkit
// 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 Microsoft.Toolkit.Services.OneDrive
{
/// <summar... | 1.712136 | 522a229ef40a6823f973ea3cc076209f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817921 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Volodya-Petrov/MyNUnit",
"max_stars_repo_path": "MyNUnit/TestProject/ForIncorrectTestsWithBeforeClass.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137141"
} | starcoder | using System;
using AttributesForMyNUnit;
namespace TestProject
{
public class ForIncorrectTestsWithBeforeClass
{
[BeforeClass]
public void MethodThrowException()
{
throw new AggregateException();
}
[Test(null)]
public void Test()
{
... | 1.754282 | 8c8e9ce95bcefde41c8732937ddd98c9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817922 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "najak3d/Stride3D_Demos",
"max_stars_repo_path": "Experimental/Falon/TR.Stride.Gameplay/Savegames/SaveableObjectComponent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137142"
} | starcoder | using Stride.Core;
using Stride.Core.Serialization;
using Stride.Engine;
using Stride.Engine.Design;
using System;
using System.Collections.Generic;
using System.Text;
namespace TR.Stride.Gameplay.Savegames
{
/// <summary>
/// Tracks entities that can have saveable state
/// Transform is the only property... | 2.048895 | 0c32869dc9a463fb6f9f65d9e4b57b71 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817923 | {
"extension": "c-sharp",
"max_stars_count": "102.0",
"max_stars_repo_name": "mikebmcl/AppModelSamples",
"max_stars_repo_path": "Samples/UWPTaskMonitor/UWPTaskMonitor/ViewModels/AppProcessesTasks.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137143"
} | starcoder | <gh_stars>100-1000
using System.Collections.Generic;
using Windows.System;
namespace TaskMonitor.ViewModels
{
public class AppProcessesTasks
{
public AppInfoDetails AppInfoDetails { get; set; }
public List<ProcessInfoDetails> PInfos { get; set; }
public List<AppResourceGroupBackgroundT... | 0.999821 | 7fbc1c37b6ae1c7dc21cf65b324bb94d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817924 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "wjj0508403034/hudao",
"max_stars_repo_path": "Controllers/Controls/GroupList/GroupStyleExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137144"
} | starcoder | <filename>Controllers/Controls/GroupList/GroupStyleExtension.cs<gh_stars>1-10
using System;
using System.Windows;
using System.Windows.Controls;
namespace Controllers.Controls.GroupList
{
public static class GroupStyleExtension
{
public static readonly DependencyProperty AppendProperty
= D... | 2.810152 | ff720544d27911883d1f234b7761fc34 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817925 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "adrianosepe/DotNetAppBase",
"max_stars_repo_path": "src/DotNetAppBase.Std.Library/Helper.Reflection.Properties.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137145"
} | starcoder | #region License
// Copyright(c) 2020 GrappTec
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use,
// copy, modify, ... | 2.176375 | 51e5b37a6470e3b5d4e8768819569226 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817926 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "abraao/BankKata",
"max_stars_repo_path": "BankKata/KataConsole.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137146"
} | starcoder | using System;
namespace BankKata
{
public class KataConsole
{
public void Verify(Action<KataConsole> p0)
{
throw new NotImplementedException();
}
public void PrintLine(string line)
{
}
}
} | 2.283875 | d141e6c0b59acec1ec6041cc077a366c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817927 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RyanMorrisroe/Covid19SurgeCalculator",
"max_stars_repo_path": "CovidSurgeCalculator/CovidSurgeCalculator.ModelData.Tests/ReferenceData/DailyInfectionModelTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137147"
} | starcoder | using Xunit;
using CovidSurgeCalculator.ModelData.ReferenceData;
namespace CovidSurgeCalculator.ModelData.Tests.ReferenceData
{
public class DailyInfectionModelTests
{
[Fact]
public void ConstructorTest()
{
int day = 2;
decimal infectionRate = 0.23231m;
... | 2.61302 | 2bd515270d63806441da7c1e21ae03d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817928 | {
"extension": "c-sharp",
"max_stars_count": "96.0",
"max_stars_repo_name": "dkahari/Foundation",
"max_stars_repo_path": "src/Foundation/Features/Blocks/OrderSearchBlock/OrderSearchBlockViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137148"
} | starcoder | <gh_stars>10-100
using Foundation.Commerce.Customer;
using Foundation.Features.Blocks.OrderSearchBlock;
using Foundation.Features.Shared;
using Mediachase.Commerce.Orders;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Foundation.Features.Checkout.ViewModels
{
public class OrderSearc... | 1.99247 | 4d280b267be909fecce6bd18ba72b8f3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817929 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "kvandake/lexorank-dotnet",
"max_stars_repo_path": "LexoRank/LexoInteger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137149"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using LexoAlgorithm.Extensions;
using LexoAlgorithm.NumeralSystems;
namespace LexoAlgorithm
{
public class LexoInteger : IComparable<LexoInteger>, IComparable
{
private const int NegativeSign = -1;
private const int ZeroSign = 0... | 2.87617 | 166bd43d061a110ec1164035bfefad01 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817930 | {
"extension": "c-sharp",
"max_stars_count": "97.0",
"max_stars_repo_name": "Tyler-IN/Tyler-IN",
"max_stars_repo_path": "src/CommunityPatch/Patches/Perks/Intelligence/Steward/WarmongerPatch.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137150"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Reflection;
using HarmonyLib;
using TaleWorlds.CampaignSystem;
using TaleWorlds.CampaignSystem.SandBox.GameComponents.Map;
using TaleWorlds.Core;
using static System.Reflection.BindingFlags;
using static CommunityPatch.HarmonyHelpers;
namesp... | 1.840997 | cd55237b537224be7dc918433f08e292 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817931 | {
"extension": "c-sharp",
"max_stars_count": "56.0",
"max_stars_repo_name": "SpocWeb/VtNetCore",
"max_stars_repo_path": "VtNetCore/XTermParser/SequenceType/SS2Sequence.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137151"
} | starcoder | <filename>VtNetCore/XTermParser/SequenceType/SS2Sequence.cs
namespace VtNetCore.XTermParser.SequenceType
{
class SS2Sequence : TerminalSequence
{
public override string ToString()
{
return "SSs - " + base.ToString();
}
}
}
| 1.819429 | 49cbe0745b3e345307b0c4ff8044f4d5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817932 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "envyvox/Hinode.Izumi",
"max_stars_repo_path": "Hinode.Izumi.Services/DiscordServices/DiscordClientService/ClientOnServices/UserLeft/UserLeft.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137152"
} | starcoder | <gh_stars>1-10
using System.Threading.Tasks;
using Discord.WebSocket;
using Hinode.Izumi.Framework.Autofac;
namespace Hinode.Izumi.Services.DiscordServices.DiscordClientService.ClientOnServices.UserLeft
{
[InjectableService]
public class UserLeft : IUserLeft
{
public async Task Execute(SocketGuild... | 1.544267 | 44d96446a53102ef51b721442508b3b8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817933 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NGUp/FashionShop",
"max_stars_repo_path": "FashionShop.Tests/Controllers/IndexControllerTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137153"
} | starcoder | <filename>FashionShop.Tests/Controllers/IndexControllerTest.cs
using FashionShop.Controllers;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting.Web;
using System.Web.Mvc;
namespace FashionShop.Tests
{
[TestClass()]
public class IndexController... | 2.01196 | 4d9ed998c6ac4b76d1bc58a29b735232 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817934 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nataren/mono",
"max_stars_repo_path": "mcs/tests/gtest-212.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137154"
} | starcoder | <gh_stars>1-10
public interface SomeInterface
{
bool Valid { get; }
}
public struct SomeStruct : SomeInterface
{
public bool Valid {
get {
return false;
}
}
}
public class Test
{
public static void Fun<T>(T t) where T:SomeInterface {
bool a = t.Valid;
}
static void Main()
{
F... | 2.927035 | 5beb750e90844fdd332e4646c7bd1b90 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817935 | {
"extension": "c-sharp",
"max_stars_count": "469.0",
"max_stars_repo_name": "lefb766/mono",
"max_stars_repo_path": "mcs/errors/cs0108-4.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137155"
} | starcoder | <reponame>lefb766/mono<gh_stars>100-1000
// CS0108: `Derived.Prop' hides inherited member `Base.Prop(int)'. Use the new keyword if hiding was intended
// Line: 10
// Compiler options: -warnaserror -warn:2
class Base {
public void Prop (int a) {}
}
class Derived : Base {
public int Prop {
get {
... | 2.415756 | 777421b74829ef6479fbaabb5fe4ecf8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817936 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "etbyrd/roslyn",
"max_stars_repo_path": "src/VisualStudio/CSharp/Impl/Options/IntelliSenseOptionPageStrings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137156"
} | starcoder | // 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.VisualStudio.LanguageServices.CSharp.Options
{
internal static class IntelliSenseOptionPageStrings
{
public static string... | 1.788779 | 2bcc62f3751db14f17501ae8a408d11f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817937 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "okozelsk/NET",
"max_stars_repo_path": "RCNet/Neural/Network/SM/Preprocessing/Reservoir/Space3D/CoordinatesSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137157"
} | starcoder | using System;
using System.Globalization;
using System.Xml.Linq;
namespace RCNet.Neural.Network.SM.Preprocessing.Reservoir.Space3D
{
/// <summary>
/// Configuration of the 3D coordinates.
/// </summary>
[Serializable]
public class CoordinatesSettings : RCNetBaseSettings
{
//Constants
... | 2.809873 | 2617180a99ffb4cb8c67458dd75a7d2b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817938 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Toadstool/Fork-WatiN",
"max_stars_repo_path": "source/src/Core/Logging/StringLogWriter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137158"
} | starcoder | #region WatiN Copyright (C) 2006-2011 <NAME>
//Copyright 2006-2011 <NAME>
//
// 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
//... | 2.68663 | 6d20c13b181bf8914c622fb078b72c05 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817939 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "MrDave1999/dotenv.core",
"max_stars_repo_path": "src/Providers/EnvironmentVariablesProviderExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137159"
} | starcoder | <reponame>MrDave1999/dotenv.core<filename>src/Providers/EnvironmentVariablesProviderExtensions.cs
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
namespace DotEnv.Core
{
/// <summary>
/// Extension methods for adding <see cref="IEnvironmentVariablesProvider"/>.
/// </... | 2.680821 | e3359f0274de39589916f67d780c7fe5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817940 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "CodePenguin/shortdash",
"max_stars_repo_path": "ShortDash.Server/Services/DeviceLinkService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137160"
} | starcoder | <gh_stars>1-10
using Microsoft.Extensions.Logging;
using ShortDash.Core.Interfaces;
using ShortDash.Server.Data;
using System;
using System.Collections.Concurrent;
using System.Security.Claims;
using System.Threading.Tasks;
namespace ShortDash.Server.Services
{
public class DeviceLinkService
{
private... | 2.23151 | 302c29290a31ad8fe2ba8288d8ed2843 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817941 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Nexus-Advanced-Technologies/CalendarGenerator",
"max_stars_repo_path": "Nexusat.Utils.CalendarGenerator.Tests/DayRuleParserTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137161"
} | starcoder | <filename>Nexusat.Utils.CalendarGenerator.Tests/DayRuleParserTests.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;
// ReSharper disable StringLiteralTypo
namespace Nexusat.Utils.CalendarGenerator.Tests
{
/// <summary>
/// Parse a day rule expression
///
/// A Day Rule Expression is:
///
... | 2.782525 | 199676ff5121d43094777c72a9dee134 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817942 | {
"extension": "c-sharp",
"max_stars_count": "260.0",
"max_stars_repo_name": "pulumi/pulumi-aws",
"max_stars_repo_path": "sdk/dotnet/Eks/GetNodeGroup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137162"
} | starcoder | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... | 1.860387 | 3b5561e3264bd407da98841722aafb0c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817943 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mklierman/SatisfactoryModdingHelper",
"max_stars_repo_path": "SatisfactoryModdingHelper/ViewModels/UPluginViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137163"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using Microsoft.Toolkit.Mvvm.ComponentModel;
using Microsoft.Toolkit.Mvvm.Input;
using Newtonsoft.Json;
using SatisfactoryModdingHelper.Contracts.Services;
using SatisfactoryModdingHelper.Contracts.ViewModels;
using SatisfactoryModdingHelper.Models;
usin... | 1.967398 | d43ad3c568d8882f5f05827c09d0ef1c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817944 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MaiklT/Dnn.Platform",
"max_stars_repo_path": "DNN Platform/Library/Entities/Content/Workflow/Repositories/IWorkflowRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137164"
} | 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
using System.Collections.Generic;
namespace DotNetNuke.Entities.Content.Workflow.Repositories
{
/// <summar... | 2.329539 | 777c403fc5c10a4997d4d204d21df81a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817945 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "markantill/PropertyCopier",
"max_stars_repo_path": "PropertyCopier/Copy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137165"
} | starcoder | <reponame>markantill/PropertyCopier
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using PropertyCopier.Extensions;
using PropertyCopier.Fluent;
using PropertyCopier.StaticCaches;
namespace PropertyCopier
{
/// <summary>
/// Helper class for property copier t... | 2.902036 | 192a5a77c867dadab46e186612f8fc17 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817946 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "picrap/EBurNiFication",
"max_stars_repo_path": "Eburnification/Symbols/Ebnf/OptionalSequence.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137166"
} | starcoder | // This is EBurNiFication - https://github.com/picrap/EBurNiFication - MIT License
namespace Eburnification.Symbols.Ebnf
{
using Parsing;
public class OptionalSequence : Symbol<OptionalSequence>
{
public override SymbolKind Kind => SymbolKind.AllOf;
public override ParsingResult TryParse... | 1.864502 | 6a3b47644c7d211e32d5de4d875a384f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817947 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ovaldi/Commerce",
"max_stars_repo_path": "Kooboo.Commerce.Persistence.EntityFramework/Mapping/ProductMap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137167"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Kooboo.Commerce.Models.Catalog;
using System.Data.Entity.ModelConfiguration;
namespace Kooboo.Commerce.Persistence.EntityFramework.Mapping
{
public class ProductMap:EntityTypeConfiguration<Product>
{
public Pro... | 2.034904 | e89c2e0f35428a969367c41b10da7cac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817948 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DanielEverland/Project-TUBA-Prototype",
"max_stars_repo_path": "Assets/Scripts/UI/Weapon Selection/EventPartSelector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137168"
} | starcoder | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
public class EventPartSelector : PartSelectorBase
{
protected override IEnumerable<PartBase> AvailableParts => PartLoader.EventData;
} | 1.469273 | cbcb91a4d6b25e88fb435fb77128f645 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817949 | {
"extension": "c-sharp",
"max_stars_count": "522.0",
"max_stars_repo_name": "essensoft/paymen",
"max_stars_repo_path": "src/Essensoft.Paylink.Alipay/Domain/DeviceRecords.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137169"
} | starcoder | <gh_stars>100-1000
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace Essensoft.Paylink.Alipay.Domain
{
/// <summary>
/// DeviceRecords Data Structure.
/// </summary>
public class DeviceRecords : AlipayObject
{
/// <summary>
/// 设备唯一标识
/// </s... | 1.355583 | 83904f0edeacaa676aff6d33700163b2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817950 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JoshTheGent/Recyclops",
"max_stars_repo_path": "4.7.1/aspnet-core/src/Recyclops.EntityFrameworkCore/Mappings/Order/OrderConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137170"
} | starcoder | <reponame>JoshTheGent/Recyclops
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace Recyclops.Mappings.Order
{
public class OrderConfiguration : IEntityTypeConfiguration<Domains.Order.Order>
{
public void Configure(EntityTypeBuilder<Domains.Order.Order... | 2.148998 | 83344aeb590b42c4d4bc6f69df6dcc52 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817951 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "borleias/basta-spring-2020",
"max_stars_repo_path": "PolygonDesigner/PolygonDesigner.ViewLogic/PolygonManagementViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137171"
} | starcoder | <reponame>borleias/basta-spring-2020<gh_stars>1-10
using Polygon.Core;
using Polygon.Core.Generators;
using Prism.Commands;
using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Threading;
... | 2.414176 | ff879cd2eec64e700ceb757737d788b5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817952 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "codechem/mobcat",
"max_stars_repo_path": "samples/news/News.UITests/Pages/NewsPage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137172"
} | starcoder | using System;
using System.Linq;
using Query = System.Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppQuery>;
namespace News.UITests.Pages
{
public class NewsPage : BasePage
{
protected override PlatformQuery Trait => new PlatformQuery
{
Android = x => x.Marked(name... | 2.302279 | 3640cf2901f3c76197f75a1508fd884e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817953 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "silvath/siscobras",
"max_stars_repo_path": "mdlPDF/Xml2PDF/Source/Altsoft/PDFOX/EScales.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137173"
} | starcoder | namespace Altsoft.PDFO
{
using System;
public enum EScales
{
// Fields
Always = 0,
IconBigger = 1,
IconSmaller = 2,
Never = 3
}
}
| 1.731295 | 00821e614cbb1894f20403fecda2addf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817954 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "industry-technology/azure-object-anchors",
"max_stars_repo_path": "quickstarts/apps/unity/basic/Assets/MixedReality.AzureObjectAnchors/Scripts/WireframeBoundingBox.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137174"
} | starcoder | <reponame>industry-technology/azure-object-anchors<filename>quickstarts/apps/unity/basic/Assets/MixedReality.AzureObjectAnchors/Scripts/WireframeBoundingBox.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
using UnityEngine;
/// <summary>
/// A class to draw a box aro... | 2.646733 | 45daa4646c623749588f3ff0105848c6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817955 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "levonte4/astronomy",
"max_stars_repo_path": "astronomy/Assets/Scripts/PostLevelMenu.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137175"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PostLevelMenu : MonoBehaviour
{
Button tomenuButton;
private void Start()
{
tomenuButton = GameObject.Find("Next").GetComponent<Button>();
tomenuButton.onClick.AddListener(() =... | 1.805216 | 72d541d11b543e1e73e551e8db67c29b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817956 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OsvaldoMartini/Blazor_Projects",
"max_stars_repo_path": "SitecoreBlazor/SitecoreBlazorHosted.Client/Components/Sublayouts/TwoColumn6_6.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:137176"
} | starcoder | <filename>SitecoreBlazor/SitecoreBlazorHosted.Client/Components/Sublayouts/TwoColumn6_6.cshtml
<div>
<div class="row">
<div class="col-md-6">
<BlazorPlaceholder Name="col-wide-1">
</BlazorPlaceholder>
</div>
<div class="col-md-6">
<BlazorPlaceholder Name... | 1.31074 | fb8e8c9112eff5f960697c0182a8971f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817957 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Cenfotec/SoftwareEngineering-Project-2",
"max_stars_repo_path": "Projects/staynchill/WebApp/Views/Register/AdminHotel.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:137177"
} | starcoder | <reponame>Cenfotec/SoftwareEngineering-Project-2
@using WebApp.Helpers;
@{
Layout = "~/Views/Shared/_BlankPage.cshtml";
}
<link href="~/Content/imgsContainers.css" rel="stylesheet" />
<script src="~/Scripts/Validation/messages_es.js"></script>
<script src="~/Scripts/Views/Register/WizardValidation.js"></script>
<... | 1.793428 | 0706aeee6ca4937f112fb759dd017d85 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817958 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "elliotjb/AR-Project-",
"max_stars_repo_path": "AR Project/Assets/Scripts/Portal.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137178"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Portal : MonoBehaviour
{
public GameObject linked_portal = null;
void Start ()
{
}
void Update ()
{
}
public Vector3 GetLinkedPosition()
{
return linked_portal.transform.position;
}
... | 2.104616 | 90bce721cab1d85f3efedf17b9e37acd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817959 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Odonno/GitHub-Universal-App",
"max_stars_repo_path": "GitHub/GitHub/GitHub.Shared/ViewModel/Abstract/SearchViewModelBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137179"
} | starcoder | using System;
using System.Reactive;
using System.Reactive.Linq;
using System.Threading.Tasks;
using ReactiveUI;
namespace GitHub.ViewModel.Abstract
{
public abstract class SearchViewModelBase : ReactiveViewModelBase, ISearchViewModel
{
private string _searchValue;
public string SearchValue
... | 2.621052 | 376c13f8140d65581671d78d67cb2039 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817960 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "r-abbott/DirectorySizesTool",
"max_stars_repo_path": "DriveDirectorySize.Domain/DriveSizeReader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137180"
} | starcoder | using DriveDirectorySize.Domain.Contracts;
using DriveDirectorySize.Domain.Models;
using DriveDirectorySize.Domain.ValueObjects;
using System;
using System.Collections.Generic;
using System.Linq;
namespace DriveDirectorySize.Domain
{
public class DriveSizeReader : IDriveReader
{
private readonly List<... | 2.922957 | e3263d30f468a28d762ca84a67649465 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817961 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "05Robot/05_Robot",
"max_stars_repo_path": "Assets/Script/Nomono/EnemyAi.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137181"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Assets.Script.Mono;
using UnityEngine;
/*********************************************************************
**** 作者 冰块药丸
**** 时间 18/4/18
**** 描述 敌人的AI基类和子类
***************************************... | 2.167327 | 8f6230947fc6de22c86b518e5527d967 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817962 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ericlemes/MSBuildCodeMetrics",
"max_stars_repo_path": "src/MSBuildCodeMetrics.Core/XML/NamespaceDoc.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137182"
} | starcoder | namespace MSBuildCodeMetrics.Core.XML
{
/// <summary>
/// This namespace contains classes used for serialization of MSBuildCodeMetrics reports.
/// </summary>
class NamespaceDoc
{
}
}
| 1.374979 | 1e62a45bb03b019ce6e139c5f2e486ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817963 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sparc-coop/photos-of-us",
"max_stars_repo_path": "PhotosOfUs.Model/Services/StringHelpers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137183"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace PhotosOfUs.Model.Services
{
public static class StringHelpers
{
public static string Replace(this string s, char[] separators, string newVal)
{
var temp = s.Split(separators, StringSplitOptions.RemoveEmpty... | 2.768758 | bddf4540a3e11f532449ac515232a9fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817964 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ethrive/libzt",
"max_stars_repo_path": "src/bindings/csharp/AddressInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137184"
} | starcoder | <filename>src/bindings/csharp/AddressInfo.cs
/*
* Copyright (c)2013-2021 ZeroTier, Inc.
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file in the project's root directory.
*
* Change Date: 2026-01-01
*
* On the date above, in accordance with the Business Sourc... | 1.944269 | 5483f4234c6b6976f74b341185002dd5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817965 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VladimirKyuranov/Programming-Fundamentals",
"max_stars_repo_path": "Exams/ExamRetake-2018-08-27/01-Hogswatch/Hogswatch.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137185"
} | starcoder | <reponame>VladimirKyuranov/Programming-Fundamentals
using System;
class Hogswatch
{
static void Main(string[] args)
{
int homes = int.Parse(Console.ReadLine());
int initialPresents = int.Parse(Console.ReadLine());
int presents = initialPresents;
int homeCommings = 0;
in... | 3.3728 | 8723c810bfa0650e839773a73cc5d27c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817966 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "clean-code-craft-tcq-2/tdd-buckets-DanielSuarezPlata1",
"max_stars_repo_path": "RangeNumberReader/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137186"
} | starcoder | <filename>RangeNumberReader/Program.cs
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
namespace RangeNumberReader
{
public class Program
{
public static float maximumTemperatureAmps = 10f;
public static float maximumTemparatureAnalogRe... | 3.515871 | e958af1ca26c9c2f88664dbea5e9f1bf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817967 | {
"extension": "c-sharp",
"max_stars_count": "125.0",
"max_stars_repo_name": "suhan0694/office-space-vr",
"max_stars_repo_path": "Library/PackageCache/com.unity.probuilder@4.1.0/Editor/EditorCore/ObjExporter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137187"
} | starcoder | <reponame>suhan0694/office-space-vr
using UnityEngine;
using UnityEditor;
using System.IO;
using System.Text;
using System.Linq;
using System.Collections.Generic;
using System.Globalization;
using System.Threading;
using UnityEngine.ProBuilder;
namespace UnityEditor.ProBuilder
{
/// <summary>
/// A set of opti... | 2.20478 | 62c160701239a4df278738aa63ce543b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817968 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "mikef-nl/azure-batch-rendering",
"max_stars_repo_path": "plugins/3ds-max/max.client/BatchLabs.Plugin.Common/Code/Utils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137188"
} | starcoder |
using System.IO;
using System.Text.RegularExpressions;
namespace BatchLabs.Plugin.Common.Code
{
public class Utils
{
private const int MaxFileGroupLength = 55;
private const string Prefix = "3dsmax-";
private static readonly Regex UnderscoresAndMultipleDashes = new Regex("[_-]+");
... | 2.803214 | c00a2926fe13f25ed86de55360ce8aa3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817969 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ivarptr/thumbcached",
"max_stars_repo_path": "TCDClient/TCDFastClient/Clent/ConnectionsOverflowException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137189"
} | starcoder | <filename>TCDClient/TCDFastClient/Clent/ConnectionsOverflowException.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace Doms.TCClient.Client
{
class ConnectionsOverflowException:Exception
{
private const string _message = "ThumbCached client network connections ove... | 2.508754 | a2a42f0603e1b0c78f6c9c74471626e2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817970 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "A-Franklin/docs.particular.net",
"max_stars_repo_path": "Snippets/Core/Core_6/Encryption/MessageBody/Usage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137190"
} | starcoder | namespace Core6.Encryption.MessageBody
{
using NServiceBus;
class Usage
{
Usage(EndpointConfiguration endpointConfiguration)
{
#region UsingMessageBodyEncryptor
endpointConfiguration.RegisterComponents(
registration: components =>
... | 1.593283 | 769462789c9b7154c36646dccdf2771c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817971 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "AungWinnHtut/POL",
"max_stars_repo_path": "C#/2020061102HGCS-MultipleChoice/2020061102HGCS-MultipleChoice/frmMultipleChoice.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137191"
} | starcoder | <reponame>AungWinnHtut/POL
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
namespace _2020061102HGCS_MultipleChoice
{
public partia... | 2.608769 | f87ed4f042360f9754a68110056bf1f0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817972 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "twoutlook/BlazorServerDbContextExample",
"max_stars_repo_path": "BlazorServerEFCoreSample/T001/A000/Adapters/auto/A080Adapter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137192"
} | starcoder | <filename>BlazorServerEFCoreSample/T001/A000/Adapters/auto/A080Adapter.cs
namespace DreamAITek.T001.Adapter
{
public class A080Adapter : A000Adapter
{
}
}
| 1.281092 | 2cb95044ed2f14f7da22c1f09ef3fe98 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817973 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Fantamstick/unice-dev",
"max_stars_repo_path": "Assets/Plugins/Unice/Scripts/Models/IAudioSO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137193"
} | starcoder | <reponame>Fantamstick/unice-dev
using Cysharp.Threading.Tasks;
using UnityEngine;
public interface IAudioSO {
AudioClip GetAudioClip();
AudioDetails Details { get; }
UniTask LoadAsync();
void Unload();
}
| 1.193109 | 85135151d3d630107ba50678be51eacc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817974 | {
"extension": "c-sharp",
"max_stars_count": "278.0",
"max_stars_repo_name": "abcox/NAppUpdate",
"max_stars_repo_path": "Samples/WinFormsSampleApp/frmInputBoxDialog.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137194"
} | starcoder | using System;
using System.ComponentModel;
using System.Windows.Forms;
namespace WinFormsSampleApp
{
public class frmInputBoxDialog : Form
{
#region Windows Contols and Constructor
private Label lblPrompt;
private Button btnOK;
private Button btnCancel;
private TextBox txtInput;
///<sum... | 1.934294 | 066e0977bd523806cf9d705f9941ad8d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817975 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "MMOSimca/MopsBot-2.0",
"max_stars_repo_path": "Data/Tracker/HTMLTracker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137195"
} | starcoder | using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using Discord;
using Discord.WebSocket;
using Discord.Commands;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using System.Runtime.InteropServices;
using Microsoft.Win32.SafeHandles;
using MopsBot.Data.Tracker.... | 2.302323 | 13d5ecfd1099993ff6aacab60c808fba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817976 | {
"extension": "c-sharp",
"max_stars_count": "59.0",
"max_stars_repo_name": "lunet-io/lunet",
"max_stars_repo_path": "src/Lunet.Json/JsonUtil.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137196"
} | starcoder | // Copyright (c) <NAME>. All rights reserved.
// This file is licensed under the BSD-Clause 2 license.
// See the license.txt file in the project root for more information.
using System;
using System.Collections.Generic;
using System.IO;
using System.Text.Json;
using Lunet.Core;
using Scriban.Runtime;
namespace Lune... | 2.82064 | f6edfd71976ca34bd280da0977ab57e5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817977 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "LordMike/DeviceIOControlLib",
"max_stars_repo_path": "DeviceIOControlLib/Objects/Disk/PARTITION_INFORMATION_MBR.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137197"
} | starcoder | <filename>DeviceIOControlLib/Objects/Disk/PARTITION_INFORMATION_MBR.cs
using System.Runtime.InteropServices;
namespace DeviceIOControlLib.Objects.Disk
{
[StructLayout(LayoutKind.Sequential)]
public struct PARTITION_INFORMATION_MBR
{
public byte PartitionType;
[MarshalAs(UnmanagedType.U1)]
... | 1.855845 | bbdb57a2886c77e7e610022edc5df90f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817978 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "yuailong/OSS.Clients.SNS",
"max_stars_repo_path": "Platform/OSS.Clients.Platform.WX/Store/Mos/WXStoreMos.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137198"
} | starcoder | <gh_stars>1-10
#region Copyright (C) 2017 Kevin (OSS开源作坊) 公众号:osscore
/***************************************************************************
* 文件功能描述:公号的功能接口 —— 门店管理实体
*
* 创建人: Kevin
* 创建人Email:<EMAIL>
* 创建日期:2017-1-20
*
**********************************************************************... | 2.128097 | 75f4ed1bd9b198c305cb54c269fd4034 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817979 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "Ref12/Codex",
"max_stars_repo_path": "src/Codex.Web.Mvc/Utilities/Requests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137199"
} | starcoder | <filename>src/Codex.Web.Mvc/Utilities/Requests.cs<gh_stars>10-100
using Microsoft.AspNetCore.Mvc;
namespace Codex.Web.Mvc
{
public class Requests
{
public static void LogRequest(Controller controller, string query = null)
{
}
}
} | 1.648799 | fd9eee50578175727dba867d98a80e9b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817980 | {
"extension": "c-sharp",
"max_stars_count": "160.0",
"max_stars_repo_name": "octanesoftware/Xamarin.Forms.VideoPlayer",
"max_stars_repo_path": "src/Octane.Xamarin.Forms.VideoPlayer.Android/FormsVideoPlayer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137200"
} | starcoder | <reponame>octanesoftware/Xamarin.Forms.VideoPlayer<filename>src/Octane.Xamarin.Forms.VideoPlayer.Android/FormsVideoPlayer.cs
using Android.OS;
using Octane.Xamarin.Forms.VideoPlayer.Diagnostics;
using Octane.Xamarin.Forms.VideoPlayer.Interfaces;
using Xamarin.Forms;
namespace Octane.Xamarin.Forms.VideoPlayer.Android
... | 2.25404 | 21478441c112118b6f41dc25f4e32d24 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817981 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "tznind/Wanderer",
"max_stars_repo_path": "src/World.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137201"
} | starcoder | using System;
using System.Collections.Generic;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
using NLua;
using Wanderer.Actions;
using Wanderer.Actors;
using Wanderer.Behaviours;
using Wanderer.Compilation;
using Wanderer.Extensions;
using Wanderer.Factories;
us... | 2.131559 | 93887d920b160d7cfe98dad9d4b84217 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817982 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "paulroho/PointOfSale",
"max_stars_repo_path": "CSharp/PointOfSale/IProductFinder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137202"
} | starcoder | <reponame>paulroho/PointOfSale<filename>CSharp/PointOfSale/IProductFinder.cs
namespace PointOfSale
{
public interface IProductFinder
{
Product FindProduct(string barcode);
}
} | 1.762751 | 89e8255446d35c78c06b3ed853811ca6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817983 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AntoineCharton/bepuphysics2",
"max_stars_repo_path": "BepuUtilities/IVector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137203"
} | starcoder | using System.Numerics;
namespace BepuUtilities
{
public interface IVector
{
Vector<T> Abs<T>(Vector<T> value) where T : struct;
Vector<T> Add<T>(Vector<T> left, Vector<T> right) where T : struct;
Vector<T> AndNot<T>(Vector<T> left, Vector<T> right) where T : struct;
Vector<byte... | 2.713181 | df36fdfe0ed59182f880ae26b786fdb8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817984 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "FenySoft/Siaqodb",
"max_stars_repo_path": "TestSiaqodb/JoinTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137204"
} | starcoder | <reponame>FenySoft/Siaqodb
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Sqo;
namespace TestSiaqodb
{
/// <summary>
/// Summary description for Join
/// </summary>
[TestClass]
public class JoinTest34
{
str... | 2.411018 | a401c8554379020d312e59e039a16fc7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817985 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lihaochen910/GameScriptingMastery",
"max_stars_repo_path": "XASM/VM/InstrStream.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137205"
} | starcoder | using System;
public class InstrStream {
public Instr[] instrs;
public int size;
public int currentInstr;
}
| 1.779384 | 0e8d903d06cfb2cee13ddd655917314b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817986 | {
"extension": "c-sharp",
"max_stars_count": "245.0",
"max_stars_repo_name": "bacongobbler/hippo",
"max_stars_repo_path": "tests/Hippo.FunctionalTests/Application/Accounts/Commands/CreateTokenTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137206"
} | starcoder | using System.Threading.Tasks;
using Hippo.Application.Accounts.Commands;
using Hippo.Application.Common.Exceptions;
using Xunit;
namespace Hippo.FunctionalTests.Application.Accounts.Commands;
public class CreateTokenTests : TestBase
{
[Fact]
public async Task ShouldRaiseLoginFailedException()
{
va... | 1.98453 | b78a27a1e2c5b0b68827c20cddf77edb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817987 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "gitter-badger/aspnetcore-tick",
"max_stars_repo_path": "src/LibrameTick.AspNetCore.Themepack.Simple/Views/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:137207"
} | starcoder | @using Librame.AspNetCore.Web.Applications
@using Librame.AspNetCore.Web.Builders
@using Librame.AspNetCore.Web.Descriptors
@using Librame.Extensions
@using Microsoft.AspNetCore.Mvc.ViewEngines
@using Microsoft.Extensions.Localization
@using Microsoft.Extensions.Options
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelp... | 1.080531 | 134b97f221729c6435c9daf1c67a5964 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817988 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ShimizuShiori/Reface.CommandBus",
"max_stars_repo_path": "src/Reface.CommandBus/DefaultCommandBus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137208"
} | starcoder | <gh_stars>1-10
using Reface.CommandBus.Core;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection.Emit;
namespace Reface.CommandBus
{
public class DefaultCommandBus : ICommandBus
{
private readonly ICo... | 2.736341 | 7115fd3ec9440de5c3a6bbb774183942 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817989 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "FahaoTang/cds-au-schemas",
"max_stars_repo_path": "src/ConsumerDataStandards/Models/CommonPerson.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137209"
} | starcoder | /*
* Consumer Data Standards
*
* API sets created by the Australian Consumer Data Standards to meet the needs of the Consumer Data Right
*
* OpenAPI spec version: 1
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
usin... | 2.377207 | 3833a8c61be6a639bcc93f8f8f99b02c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817990 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "asmagin/Sitecore.Presentation.JavaScript",
"max_stars_repo_path": "src/Sitecore.Js.Presentation.Sample.Console/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137210"
} | starcoder | <filename>src/Sitecore.Js.Presentation.Sample.Console/Program.cs
namespace Sparrow.Sample.Console
{
using System;
using Sitecore.Js.Presentation.Configuration;
using Sitecore.Js.Presentation.Managers;
internal class Program
{
private static void Main(string[] args)
{
t... | 2.521739 | 7152d161fc7af241661cf44ebe660f76 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817991 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "duke009/caasiope-blockchain",
"max_stars_repo_path": "helios-common/Helios.Common/Helios.JSON/JsonMessageFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137211"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Helios.JSON
{
public class JsonMessageFactory
{
private readonly Dictionary<string, Type> NotificationTypes = new Dictio... | 2.384645 | f64fc5772a5ee9c6864f4ec1434ad547 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817992 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "itn3000/DSQLClassGenerator",
"max_stars_repo_path": "DSQLClassGenerator.Common/Util/DbCommandExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137212"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DSQLClassGenerator.Util
{
using System.Data;
public static class DbCommandExtension
{
public static IDbCommand AddParameter(this IDbCommand cmd, string name,... | 2.631305 | 174fd73f48e471ad3e3a07cf2ae88b67 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817993 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "0xFireball/nkyUI",
"max_stars_repo_path": "nkyUI/nkyUI/Converters/IconImageConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137213"
} | starcoder | using Avalonia.Controls;
using Avalonia.Markup;
using Avalonia.Media.Imaging;
using System;
using System.Globalization;
namespace nkyUI.Converters
{
class IconImageConverter : IValueConverter
{
private static IconImageConverter s_converter = new IconImageConverter();
public static IconImageC... | 2.491604 | 82f127aeaa810c9af3758f75bf6769c2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817994 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Zinggi/Vacamole",
"max_stars_repo_path": "Team6.UWP/Engine/Misc/IEnumerableExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137214"
} | starcoder | using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Team6.Engine.Misc
{
public static class IEnumerableExtensions
{
public static void ForEach<T>(this IEnumerable<T> enumerable, Action<T> action)
... | 3.195875 | 0de60a206851d9ef9a25a570ff68eaef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817995 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SWHS-PC/Users",
"max_stars_repo_path": "NiklasB/TextAdventure/Item.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137215"
} | starcoder | using System;
using System.Collections.Generic;
namespace TextAdventure
{
interface IDescribable
{
void Describe();
Description Description { get; set; }
}
abstract class Item : IDescribable
{
public string Name { get; set; }
public bool IsFixed { get; set; }
... | 3.286927 | 8c3d623215c418fc067f5ede04620cc2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817996 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "algorithmplus/spi-registry",
"max_stars_repo_path": "src/Dfe.Spi.Registry.Infrastructure.CosmosDb.UnitTests/CosmosQueryTests/WhenAddingTypeCondition.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137216"
} | starcoder | <filename>src/Dfe.Spi.Registry.Infrastructure.CosmosDb.UnitTests/CosmosQueryTests/WhenAddingTypeCondition.cs
using NUnit.Framework;
namespace Dfe.Spi.Registry.Infrastructure.CosmosDb.UnitTests.CosmosQueryTests
{
public class WhenAddingTypeCondition
{
[TestCase("Learning-Provider")]
[TestCase("M... | 2.17946 | f920ca1da4a2dfee1cd7ae2594643a93 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817997 | {
"extension": "c-sharp",
"max_stars_count": "195.0",
"max_stars_repo_name": "studentutu/QuikGraph",
"max_stars_repo_path": "tests/QuikGraph.Tests/Helpers/TestHelpers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137217"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
using QuikGraph.Tests.Algorithms;
namespace QuikGraph.Tests
{
/// <summary>
/// A collection of utility methods for unit tests.
/// </summary>
internal static class TestHelpers
{
/// <summary>
/// Cre... | 3.241741 | a6d75a32973cfccaff0279b8848e79bf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817998 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Gallio/mbunit-v2",
"max_stars_repo_path": "src/refly/Refly/CodeDom/Collections/StringSet.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137218"
} | starcoder | <reponame>Gallio/mbunit-v2<filename>src/refly/Refly/CodeDom/Collections/StringSet.cs<gh_stars>1-10
using System;
using System.Collections;
using System.Collections.Specialized;
namespace Refly.CodeDom.Collections
{
public class StringSet : ICollection
{
private IDictionary dictionary = new HybridDictiona... | 2.34224 | d991781bea1715a36b0921634d934066 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817999 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "raffaeler/Expressions",
"max_stars_repo_path": "Predicates/SimpleParser/Expressions/OperationCallOperator2.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137219"
} | starcoder | <filename>Predicates/SimpleParser/Expressions/OperationCallOperator2.cs
// Copyright (c) 2017, <NAME>
//
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
namespace IAmRaf.SimpleParser.Expressions
{
/// <summary>
/// This is an Operation... | 2.96286 | 7bcd3e1f4c542e03fc7d8cea53c149a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818000 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mennetorelli/HoloLearn",
"max_stars_repo_path": "HoloLearn-Unity/Assets/Scripts/LayTheTable/ObjectsPositionManagers/CutleryPositionManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137220"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CutleryPositionManager : LayTheTableObjectsPositionManager
{
public override void AdjustTransform()
{
transform.Rotate(new Vector3(0f, 180f, 0f));
transform.Translate(new Vector3(-0.05f... | 1.405809 | e72f6f5fe60e881feabb80814918b513 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818001 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Shazwazza/Mvc",
"max_stars_repo_path": "src/Microsoft.AspNet.Mvc.Razor/Razor/RazorCompilationService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137221"
} | starcoder | <reponame>Shazwazza/Mvc<gh_stars>0
// 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;
using System.Diagnostics.Contracts;
using System.IO;
using System.Linq;
using Microsof... | 1.723502 | 1ec01be3810241617f150db4e89d66ea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818002 | {
"extension": "c-sharp",
"max_stars_count": "259.0",
"max_stars_repo_name": "bdovaz/RSSDP",
"max_stars_repo_path": "src/Main/Test.SsdpPortable/DeviceSerialisationTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137222"
} | starcoder | using System;
using System.Linq;
using System.Xml;
using System.Xml.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Rssdp;
namespace Test.RssdpPortable
{
[TestClass]
public class DeviceSerialisationTests
{
private const string UpnpDeviceXmlNamespace = "urn:schemas-upnp-org:device-1-0";
[Expec... | 2.304408 | c627eabff13ae6f4a9120d32a24b2517 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818003 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "duyanming/FreeRedis",
"max_stars_repo_path": "src/FreeRedis/RedisClient/Adapter/TransactionsAdapter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137223"
} | starcoder | using FreeRedis.Internal;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace FreeRedis
{
partial class RedisClient
{
public TransactionHook Multi()
{
CheckUseTypeOrThrow(UseType.Pooling, UseType.Cluster, UseType.Sentinel, UseT... | 2.372911 | 32a42e2d3c6ee64ce3bee29d62f97b2b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818004 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "guerro323/opentk",
"max_stars_repo_path": "src/OpenAL/OpenToolkit.OpenAL.Extensions/EXT.IMA4Format/Enums/IMA4BufferFormat.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137224"
} | starcoder | //
// IMA4BufferFormat.cs
//
// Copyright (C) 2019 OpenTK
//
// This software may be modified and distributed under the terms
// of the MIT license. See the LICENSE file for details.
//
namespace OpenToolkit.OpenAL.Native.Extensions.EXT.IMA4Format
{
/// <summary>
/// Defines valid format specifiers for sound s... | 2.039657 | a817be536730ab4997eefdb5ba5a6ef8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818005 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ValerieRobateau/Ed-Fi-Analytics-Middle-Tier",
"max_stars_repo_path": "src/EdFi.AnalyticsMiddleTier.Console/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137225"
} | starcoder | <filename>src/EdFi.AnalyticsMiddleTier.Console/Program.cs<gh_stars>0
// SPDX-License-Identifier: Apache-2.0
// Licensed to the Ed-Fi Alliance under one or more agreements.
// The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
// See the LICENSE and NOTICES files in the project root for... | 2.088687 | 751dc54b04ac93f53ab83328706e46fe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818006 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pulumi-bot/pulumi-azure-native",
"max_stars_repo_path": "sdk/dotnet/ProviderHub/Latest/Outputs/ResourceTypeExtensionResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137226"
} | starcoder | <gh_stars>0
// *** 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.Threading.Tasks;
using Pulumi.Serialization;
namespace... | 1.265648 | 1ff9659bd754ee8f6949491cca7de922 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818007 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JFouts-BlueModus/kentico-contrib",
"max_stars_repo_path": "src/CMS/CMSModules/MessageBoards/Controls/MessageActions.ascx.designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137227"
} | starcoder | <reponame>JFouts-BlueModus/kentico-contrib<filename>src/CMS/CMSModules/MessageBoards/Controls/MessageActions.ascx.designer.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incor... | 1.169396 | 0ad3b2a7e3f8c9af4d13c45ef3324a0a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818008 | {
"extension": "c-sharp",
"max_stars_count": "572.0",
"max_stars_repo_name": "awei1688/aliyun-openapi-net-sdk",
"max_stars_repo_path": "aliyun-net-sdk-csb/CSB/Transform/V20171118/GetProjectResponseUnmarshaller.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137228"
} | starcoder | <gh_stars>100-1000
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
... | 1.160637 | e9c6ed820160142cc824064d2cb79858 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818009 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "i-e-b/ADSD",
"max_stars_repo_path": "ADSD/Tools/Sync.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137229"
} | starcoder | <filename>ADSD/Tools/Sync.cs
using System;
using System.Threading;
using System.Threading.Tasks;
using JetBrains.Annotations;
namespace ADSD.Tools
{
/// <summary>
/// Helper class to properly wait for async tasks
/// </summary>
internal static class Sync
{
[NotNull]private st... | 3.08742 | 66f5315c5edb08f5504a5faecbe415c7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818010 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "StefanPuia/nadeko",
"max_stars_repo_path": "src/NadekoBot/Modules/Administration/Prefix/PrefixCommands.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137230"
} | starcoder | <reponame>StefanPuia/nadeko<gh_stars>0
#nullable disable
namespace NadekoBot.Modules.Administration;
public partial class Administration
{
[Group]
public partial class PrefixCommands : NadekoModule
{
public enum Set
{
Set
}
[Cmd]
[Priority(1)]
p... | 1.999748 | c28e491b29ee274797fdb63389bee40b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818011 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "thoenissen/Scruffy",
"max_stars_repo_path": "Scruffy.Data/Entity/Migrations/20210510160411_Update5.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137231"
} | starcoder | using Microsoft.EntityFrameworkCore.Migrations;
namespace Scruffy.Data.Entity.Migrations
{
/// <summary>
/// Update 5
/// </summary>
public partial class Update5 : Migration
{
/// <summary>
/// Upgrade
/// </summary>
/// <param name="migrationBuilder">Builder</param... | 2.325976 | cbdf1e0a2eb9c103953a0655b4e5d531 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818012 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lionzhou1981/Lion",
"max_stars_repo_path": "Lion.Data.MySqlClient/TSQL.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137232"
} | starcoder | <reponame>lionzhou1981/Lion
using System;
using System.Data;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using Lion.Data;
using MySql.Data.MySqlClient;
namespace Lion.Data.MySqlClient
{
[Serializable]
public class TSQL
{
#region public
#region Fields
... | 2.312095 | 16aaa2a5d0d546abc8d29bdd55e670fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818013 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "fortedigital/Forte.Functions.Testable",
"max_stars_repo_path": "src/Forte.Functions.Testable.Tests/InMemoryOrchestration/TestFunctions/DurableFuncWithCallHttp.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137233"
} | starcoder | <gh_stars>1-10
using System;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.DurableTask;
namespace Forte.Functions.Testable.Tests.InMemoryOrchestration.TestFunctions
{
public class DurableFuncWithCallHttp
{
[FunctionName(name... | 1.988555 | 4eeb762d109497530f77be3bd2af7683 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818014 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "teo-tsirpanis/vs-threading",
"max_stars_repo_path": "src/Microsoft.VisualStudio.Threading.Analyzers.CodeFixes/FixUtils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137234"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.VisualStudio.Threading.Analyzers
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
u... | 2.269189 | 782cdc1b4459b8de4276a14ad3fdf731 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818015 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shahedc/_workshops",
"max_stars_repo_path": "AspNetCoreRazor/AspNetCoreRazor/Areas/Identity/Pages/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:137235"
} | starcoder | @using Microsoft.AspNetCore.Identity
@using AspNetCoreRazor.Areas.Identity
@using Microsoft.AspNetCore.Identity
@namespace AspNetCoreRazor.Areas.Identity.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.600881 | 604aba2d04924888365c69154abeedfd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818016 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "vkvenkat/corefx",
"max_stars_repo_path": "src/System.Security.Cryptography.Pkcs/src/System/Security/Cryptography/Pkcs/Asn1/MacData.xml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137236"
} | starcoder | <reponame>vkvenkat/corefx
using System;
using System.Runtime.InteropServices;
using System.Security.Cryptography;
using System.Security.Cryptography.Asn1;
namespace System.Security.Cryptography.Pkcs.Asn1
{
[StructLayout(LayoutKind.Sequential)]
internal partial struct MacData
{
private static byte[... | 2.176191 | 2683f2322d9e7498219a456d303b6fbb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8818017 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "citizenmatt/gallio",
"max_stars_repo_path": "src/Extensions/MbUnitCpp/Gallio.MbUnitCppAdapter.Tests/Helper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:137237"
} | starcoder | // Copyright 2005-2011 Gallio Project - http://www.gallio.org/
// Portions Copyright 2000-2004 <NAME>
//
// 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/li... | 1.858994 | 816d6bb92a3cd2c2dbfaf8327b3381b6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.