added
string
created
string
id
string
metadata
dict
source
string
text
string
code-score
float64
md5
string
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9737
{ "extension": "c-sharp", "max_stars_count": "1489.0", "max_stars_repo_name": "floh96/PSScriptAnalyzer", "max_stars_repo_path": "PSCompatibilityCollector/Microsoft.PowerShell.CrossCompatibility/Query/Types/EventData.cs", "provenance": "train-00000-of-00045.jsonl.gz:9738" }
starcoder
<filename>PSCompatibilityCollector/Microsoft.PowerShell.CrossCompatibility/Query/Types/EventData.cs // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using EventDataMut = Microsoft.PowerShell.CrossCompatibility.Data.EventData; namespace Microsoft.PowerShell.CrossCompatibi...
2.524195
b9391adfdb04b0c7e3911a953ded5062
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9738
{ "extension": "c-sharp", "max_stars_count": "4.0", "max_stars_repo_name": "m-ehsan/TeleGet", "max_stars_repo_path": "src/TeleGet/TelegramFeed/TLInterfacePackage.cs", "provenance": "train-00000-of-00045.jsonl.gz:9739" }
starcoder
using System; using TelegramInterface; namespace TeleGet_CLI { class TLInterfacePackage { public TLInterface Interface { get; set; } public DateTime LastCallTime { get; set; } public bool IsAvailable { get; set; } } }
1.869962
182bed8747389bbe775863d33d3b3ee0
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9739
{ "extension": "c-sharp", "max_stars_count": "34.0", "max_stars_repo_name": "MSDN-WhiteKnight/Traducir", "max_stars_repo_path": "Traducir.Core/Models/Enums/UserType.cs", "provenance": "train-00000-of-00045.jsonl.gz:9740" }
starcoder
namespace Traducir.Core.Models.Enums { public enum UserType { Unknown = 0, Banned = 1, User = 2, TrustedUser = 3, Reviewer = 4 } }
1.467619
e57d1d2d12125749b7cd83484cc89e80
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9740
{ "extension": "c-sharp", "max_stars_count": "93.0", "max_stars_repo_name": "ngenerics/ngenerics", "max_stars_repo_path": "src/NGenerics/Comparers/ReverseComparer.cs", "provenance": "train-00000-of-00045.jsonl.gz:9741" }
starcoder
<filename>src/NGenerics/Comparers/ReverseComparer.cs<gh_stars>10-100 /* Copyright 2007-2017 The NGenerics Team (https://github.com/ngenerics/ngenerics/wiki/Team) This program is licensed under the MIT License. You should have received a copy of the license along with the source code. If not, an online copy ...
3.093151
fa07a1f20e0d3df98eef5eddc40e4db1
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9741
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ivaylo-R/CSharp-OOP-Exams", "max_stars_repo_path": "C# OOP Advanced Exam Retake - 7 September 2017/Structure_Skeleton/Structure_Skeleton/Core/Commands/Command.cs", "provenance": "train-00000-of-00045.jsonl.gz:9742" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Minedraft.Core.Commands { public abstract class Command : ICommand { protected DraftManager DraftManager; public Command(params string [] args) { th...
2.284477
8b59c309948c0babe0a7a06c46d811b7
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9742
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "StefanStrauberg/TelMed", "max_stars_repo_path": "src/Services/ImagingStudies/CORE/ImagingStudies.Application/Features/ImagingStudiy/Handlers/Requests/GetImagingStudiyListRequestHandler.cs", "provenance": "train-00000-of-00045.jsonl.gz...
starcoder
<filename>src/Services/ImagingStudies/CORE/ImagingStudies.Application/Features/ImagingStudiy/Handlers/Requests/GetImagingStudiyListRequestHandler.cs using ImagingStudies.Application.Contracts.Persistence; using ImagingStudies.Application.Features.ImagingStudiy.Requests.Requests; using ImagingStudies.Domain; using Medi...
1.933594
c12c7fce11614c05a59b00fdc120850a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9743
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "RassK/CERental", "max_stars_repo_path": "CERental.Core/Models/EquipmentRentalDetailed.cs", "provenance": "train-00000-of-00045.jsonl.gz:9744" }
starcoder
namespace CERental.Core.Models { public class EquipmentRentalDetailed { public string Name { get; set; } public string Type { get; set; } public int Days { get; set; } public decimal Price { get; set; } } }
1.773302
29a8bcd44d056d554f2c4b5539f45938
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9744
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "o0shojo0o/CocktailMaker", "max_stars_repo_path": "CocktailMaker/Ingredient.cs", "provenance": "train-00000-of-00045.jsonl.gz:9745" }
starcoder
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace CocktailMaker { public class Ingredient { public int ID { get; set; } public string Name { get; set; } public string Slug { get; set; } public string Category ...
1.462385
a1e9b41555d50a96e2aaede264d6d115
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9745
{ "extension": "c-sharp", "max_stars_count": "229.0", "max_stars_repo_name": "erinloy/ecsrx.unity", "max_stars_repo_path": "src/Assets/Plugins/UniRx/Scripts/Observable.Awaiter.cs", "provenance": "train-00000-of-00045.jsonl.gz:9746" }
starcoder
<gh_stars>100-1000 #if (NET_4_6) using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace UniRx { public static partial class Observable { /// <summary> /// Gets an awaiter that returns the last value...
2.361883
7d2d1bbe0db86d8435e8e95b995a3cb5
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9746
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "drunkwater/leetcode", "max_stars_repo_path": "medium/csharp/c0256_523_continuous-subarray-sum/00_leetcode_0256.cs", "provenance": "train-00000-of-00045.jsonl.gz:9747" }
starcoder
// DRUNKWATER TEMPLATE(add description and prototypes) // Question Title and Description on leetcode.com // Function Declaration and Function Prototypes on leetcode.com //523. Continuous Subarray Sum //Given a list of non-negative numbers and a target integer k, write a function to check if the array has a continuous s...
3.326201
a170572da769aef451e929fb454bf19a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9747
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "beatoblige/CodeLab1_HW2_Shooter", "max_stars_repo_path": "CodeLab1_HW2_Shooter_Unity/Assets/K2 Games/Simple Transitions/TransitionalObject.cs", "provenance": "train-00000-of-00045.jsonl.gz:9748" }
starcoder
//#define ownsEaser//Uncomment this if you own the easer framework! #define StoreVersion //#define UsingNGUI//Uncomment this if you use NGUI. WARNING using alpha transitions can randomly fail with NGUI. To fix this you have to disable and enable the affected gameobject at runtime (If anyone finds a better workaround t...
2.143173
edfe6c0e3b2145c3336ff58b5cca03e5
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9748
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "oferns/checkout-sdk-net", "max_stars_repo_path": "src/CheckoutSdk/Common/PaymentSourceType.cs", "provenance": "train-00000-of-00045.jsonl.gz:9749" }
starcoder
<gh_stars>0 using System.Runtime.Serialization; namespace Checkout.Common { public enum PaymentSourceType { [EnumMember(Value = "card")] Card, [EnumMember(Value = "id")] Id, [EnumMember(Value = "network_token")] NetworkToken, [EnumMember(Value = "token")] Token, [EnumMe...
1.27526
6e9f1bb270adb9d411c614b0546a7553
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9749
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "botman99/OpenFileByName", "max_stars_repo_path": "OpenFileOptionsDialog.Designer.cs", "provenance": "train-00000-of-00045.jsonl.gz:9750" }
starcoder
namespace OpenFileByName { partial class OpenFileOptionsDialog { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed re...
2.398345
1f3ca580a6f508e3b1008664a439d3ce
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9750
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.dfc-app-jobgroups", "max_stars_repo_path": "DFC.App.JobGroups.Data/Contracts/IJobGroupCacheRefreshService.cs", "provenance": "train-00000-of-00045.jsonl.gz:9751" }
starcoder
<filename>DFC.App.JobGroups.Data/Contracts/IJobGroupCacheRefreshService.cs using System; using System.Net; using System.Threading.Tasks; namespace DFC.App.JobGroups.Data.Contracts { public interface IJobGroupCacheRefreshService { Task<HttpStatusCode> ReloadAsync(Uri url); Task<HttpStatusCode>...
1.97054
5187da1f6aab8697a7a8dbd8d20bcace
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9751
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "brucificus/FastGraph", "max_stars_repo_path": "src/FastGraph/Predicates/SinkVertexPredicate.cs", "provenance": "train-00000-of-00045.jsonl.gz:9752" }
starcoder
<gh_stars>1-10 using System; using JetBrains.Annotations; namespace FastGraph.Predicates { /// <summary> /// Predicate that tests if a vertex is a sink vertex (no output edge). /// </summary> /// <typeparam name="TVertex">Vertex type.</typeparam> /// <typeparam name="TEdge">Edge type.</typeparam> ...
3.033208
79892e4d3ac4a54f25641f6d4ee78a95
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9752
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "TheLazyLemur/Ardalis.Extensions", "max_stars_repo_path": "tests/Ardalis.Extensions.UnitTests/StringExtensionsToInt.cs", "provenance": "train-00000-of-00045.jsonl.gz:9753" }
starcoder
using System; using Xunit; namespace Ardalis.Extensions.UnitTests { public class StringExtensionsToInt { [Fact] public void ThrowsExceptionGivenNullInput() { string input = null; Action action = () => input.ToInt(); Assert.Throws<ArgumentNullExceptio...
3.137295
8b1b7ef8c0d9e6e13df97d893a0b3fe7
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9753
{ "extension": "c-sharp", "max_stars_count": "10.0", "max_stars_repo_name": "uk-gov-mirror/nhsconnect.gpconnect-provider-testing", "max_stars_repo_path": "GPConnect.Provider.AcceptanceTests/Http/HttpResponse.cs", "provenance": "train-00000-of-00045.jsonl.gz:9754" }
starcoder
<reponame>uk-gov-mirror/nhsconnect.gpconnect-provider-testing namespace GPConnect.Provider.AcceptanceTests.Http { using System.Collections.Generic; using System.Net; using System.Xml.Linq; using Constants; using CurlSharp; using Hl7.Fhir.Model; using Hl7.Fhir.Serialization; using Newton...
2.220442
2faeb1c28bfbf12762712fded96e3953
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9754
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "etelic/sampleapp", "max_stars_repo_path": "src/GeneratorBase.MVC/Views/FeedbackPriority/CreatePartial.cshtml", "provenance": "train-00000-of-00045.jsonl.gz:9755" }
starcoder
@model GeneratorBase.MVC.Models.FeedbackPriority <script> $(document).ready(function () { try { var hostingEntityName = ""; if ('@Convert.ToString(ViewData["AssociatedType"])' != null) { hostingEntityName = '@Convert.ToString(ViewData["AssociatedType"])'; ...
2.126706
b7abd98776d486e4c06cc056de83a78c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9755
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "Bia10/InteropBitmaps", "max_stars_repo_path": "src/InteropBitmaps.Backends.SkiaSharp/Adapters/SkiaSpanAdapter.cs", "provenance": "train-00000-of-00045.jsonl.gz:9756" }
starcoder
using System; using System.Collections.Generic; using System.Text; namespace InteropBitmaps.Adapters { public readonly ref struct SkiaSpanAdapter { #region constructor public SkiaSpanAdapter(SpanBitmap bmp) { _Bitmap = bmp; } #endregion #region data private readonly...
2.680219
44fb15e084b23e69a5d9ad142ca3fc33
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9756
{ "extension": "c-sharp", "max_stars_count": "11.0", "max_stars_repo_name": "pagarme/bifrost", "max_stars_repo_path": "PagarMe.Generic/Log.cs", "provenance": "train-00000-of-00045.jsonl.gz:9757" }
starcoder
using NLog; using NLog.Targets; using System; using System.IO; using System.Threading.Tasks; namespace PagarMe.Generic { public static class Log { public static Logger Me = LogManager.GetCurrentClassLogger(); public static void TryLogOnException(Action action) { TryLogOnException(action, null)...
2.462857
c0a5ada2855943c224b4d2f425b672a2
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9757
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "smo2014/EpicDragonWorldServer", "max_stars_repo_path": "EpicDragonWorldServer/Holders/SpawnHolder.cs", "provenance": "train-00000-of-00045.jsonl.gz:9758" }
starcoder
<filename>EpicDragonWorldServer/Holders/SpawnHolder.cs /** * Author: <NAME> * Date: November 28th 2019 */ public class SpawnHolder { private readonly LocationHolder location; private readonly int respawnDelay; public SpawnHolder(LocationHolder location, int respawnDelay) { this.location = l...
2.434882
b856e76eb30a62c38fc1238f9d50dc7a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9758
{ "extension": "c-sharp", "max_stars_count": "4.0", "max_stars_repo_name": "upsilon/mono", "max_stars_repo_path": "mcs/class/System.Json/System.Json/JsonPrimitive.cs", "provenance": "train-00000-of-00045.jsonl.gz:9759" }
starcoder
using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Text; namespace System.Json { public class JsonPrimitive : JsonValue { object value; public JsonPrimitive (bool value) { this.value = value; } public JsonPrimitive (byte ...
2.646762
20057ab752d7814952b1bcc01ee048aa
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9759
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ajeyaprakash148/Sample", "max_stars_repo_path": "Common.ApiGateway/src/Common.ApiGateway/Entities/BaseWebEntity.cs", "provenance": "train-00000-of-00045.jsonl.gz:9760" }
starcoder
<filename>Common.ApiGateway/src/Common.ApiGateway/Entities/BaseWebEntity.cs using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Common.ApiGateway.Entities { public class BaseWebEntity : BaseEntity { } }
1.422446
683993e5010510d08f3a893c28e0e217
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9760
{ "extension": "c-sharp", "max_stars_count": "3.0", "max_stars_repo_name": "goblinfactory/10-alternatives-to-akka", "max_stars_repo_path": "QuoteClient.Akka/Messages/AllUpstreamProvidersReady.cs", "provenance": "train-00000-of-00045.jsonl.gz:9761" }
starcoder
namespace QuoteClient.Akka.Messages { public class AllUpstreamProvidersReady { } }
0.68429
6e7717d5d16330e872f2db5eb0653b20
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9761
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "NovichikhinAlexey/Lykke.Service.PayInvoice", "max_stars_repo_path": "src/Lykke.Service.PayInvoice.Core/Domain/DistributedCache/DistributedLockPurpose.cs", "provenance": "train-00000-of-00045.jsonl.gz:9762" }
starcoder
namespace Lykke.Service.PayInvoice.Core.Domain.DistributedCache { public enum DistributedLockPurpose { InternalPayment } }
1.050803
8dc48b7b8eb7d1c1782835ecb1431ded
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9762
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Erikvl87/KNKVPlugin", "max_stars_repo_path": "KNKVPlugin/Converters/TeamsConverter.cs", "provenance": "train-00000-of-00045.jsonl.gz:9763" }
starcoder
using KNKVPlugin.Model; namespace KNKVPlugin.Converters { public class TeamsConverter : Converter { public ResponseResult<Teams> Convert(string jsonResponse) { var teams = DeserializeObject<Teams>(jsonResponse); return new ResponseResult<Teams>(jsonResponse, teams); } } }
2.033872
4cbfa525babe6b3af1fed58bd102c91f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9763
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "gibletto/opentelemetry-dotnet", "max_stars_repo_path": "samples/LoggingTracer/LoggingTracer/LoggingBinaryFormat.cs", "provenance": "train-00000-of-00045.jsonl.gz:9764" }
starcoder
<gh_stars>0 // <copyright file="LoggingBinaryFormat.cs" company="PlaceholderCompany"> // Copyright (c) PlaceholderCompany. All rights reserved. // </copyright> namespace LoggingTracer { using System; using System.Collections.Generic; using OpenTelemetry.Context.Propagation; using OpenTelemetry.Trace; ...
2.067198
64c2945f0604de5ebf24e4a110f20811
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9764
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "daleholborow/iayos.flashcardapi", "max_stars_repo_path": "backend/iayos.flashcardapi.ServiceModel/DeckCategory/ListDeckCategoriesByApplicationRequestResponse.cs", "provenance": "train-00000-of-00045.jsonl.gz:9765" }
starcoder
using iayos.flashcardapi.Domain.Dto.Application; using iayos.flashcardapi.ServiceModel.Infrastructure.Message; namespace iayos.flashcardapi.ServiceModel.DeckCategory { public class ListDeckCategoriesByApplicationRequestResponse : ListPayloadResponse<DeckCategoryDto> { } }
1.067465
64b49d01af2eb8b1f981e44cf1b0d871
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9765
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "Acidburn0zzz/antlr4cs", "max_stars_repo_path": "runtime/CSharp/Antlr4.Runtime/LexerNoViableAltException.cs", "provenance": "train-00000-of-00045.jsonl.gz:9766" }
starcoder
<gh_stars>1-10 /* * [The "BSD license"] * Copyright (c) 2013 <NAME> * Copyright (c) 2013 <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source ...
1.954468
40cafbe7e076aad4caa36ef9c881ecea
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9766
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "SafetyCone/R5T.B0001", "max_stars_repo_path": "source/R5T.B0001.X001/Code/Bases/Extensions/IExceptionOperatorExtensions.cs", "provenance": "train-00000-of-00045.jsonl.gz:9767" }
starcoder
using System; using R5T.B0000; using Instances = R5T.B0001.X001.Instances; namespace System { public static partial class IExceptionOperatorExtensions { public static ArgumentException TypeNameWasNullOrEmpty(this IExceptionOperator _, string typeNameParameterName) { ...
1.601653
fffc5742e4036ba7f8c73a25e252383d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9767
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "monkeyglasses/mdws", "max_stars_repo_path": "mdws/src/dto/DemographicSetTO.cs", "provenance": "train-00000-of-00045.jsonl.gz:9768" }
starcoder
<filename>mdws/src/dto/DemographicSetTO.cs<gh_stars>0 #region CopyrightHeader // // Copyright by Contributors // // 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...
2.297172
5c6140353dd214c1606b3862b4272ed2
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9768
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "withshankar/DotnetRoslyn", "max_stars_repo_path": "src/Compilers/Core/Portable/SourceGenerator/SourceGeneratorExtensions.cs", "provenance": "train-00000-of-00045.jsonl.gz:9769" }
starcoder
<reponame>withshankar/DotnetRoslyn // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Immutable; using System.Text; using System.Threading; using Microsoft.CodeAnalysis....
2.397524
76a7886de89d084babf0ee2cde7d2d0e
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9769
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "LanccBy2016/C2048", "max_stars_repo_path": "C2048/Views/Home/Index.cshtml", "provenance": "train-00000-of-00045.jsonl.gz:9770" }
starcoder
@{ ViewBag.Title = "1024"; var GameData = ViewBag.ShowData as Model.GameInfo; } <script src="~/Scripts/vue.js"></script> <div id="v-box"> <div> <h1 data-toggle="modal" data-target="#Login_Box">欢迎:{{UserInfo.UserID?UserInfo.UserID:"游客"}}</h1> <h2>分数:{{Score}} 最高:{{MaxScore?MaxScore:Score}...
2.460088
ab5f38f3ca70b5c7888dde87c7e44563
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9770
{ "extension": "c-sharp", "max_stars_count": "5.0", "max_stars_repo_name": "Arctium/WildStar-Sandbox", "max_stars_repo_path": "Projects/RealmServer/ClientDB/Structures/PathScientistExperimentationPattern.cs", "provenance": "train-00000-of-00045.jsonl.gz:9771" }
starcoder
public class PathScientistExperimentationPattern { public uint Id { get; set; } public uint LocalizedTextIdName { get; set; } public uint LocalizedTextIdDescription { get; set; } public uint PathMissionId { get; set; } public uint PathScientistExperimentationId { get; set; } public...
1.226657
0f5f4def45a4cab5f2a67bb23054a3a3
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9771
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "danielmarbach/ninject.extensions.wcf", "max_stars_repo_path": "src/Ninject.Extensions.Wcf.CommonServiceLocator/ServiceLocatorServiceHostFactory.cs", "provenance": "train-00000-of-00045.jsonl.gz:9772" }
starcoder
<reponame>danielmarbach/ninject.extensions.wcf // // Author: <NAME> <<EMAIL>> // Copyright (c) 2009-2010, Innovatian Software, LLC // // Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-PL). // See the file LICENSE.txt for details. // namespace Ninject.Extensions.Wcf { u...
2.257651
af5ec5230558aabf12341d194105ed2c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9772
{ "extension": "c-sharp", "max_stars_count": "5.0", "max_stars_repo_name": "KaneLeung/Kane.Project", "max_stars_repo_path": "Kane.WinFormTest/InputForm.Designer.cs", "provenance": "train-00000-of-00045.jsonl.gz:9773" }
starcoder
using Kane.WinForm; namespace Kane.WinFormTest { partial class InputForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// ...
2.192665
4b41987bf48628d1cfadcac673c0c40e
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9773
{ "extension": "c-sharp", "max_stars_count": "17.0", "max_stars_repo_name": "CareBoo/BLinq", "max_stars_repo_path": "Packages/com.careboo.blinq/CareBoo.Blinq.Tests/AggregateTest.cs", "provenance": "train-00000-of-00045.jsonl.gz:9774" }
starcoder
<filename>Packages/com.careboo.blinq/CareBoo.Blinq.Tests/AggregateTest.cs using NUnit.Framework; using Linq = System.Linq.Enumerable; using static Utils; using Blinq = CareBoo.Blinq.Sequence; using Unity.Collections; using static ValueFuncs; internal class AggregateTest { [Test, Parallelizable, Timeout(5000)] ...
2.054849
8e035de3a282b8fff8370a673d866ff6
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9774
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "mikesigs/allReady", "max_stars_repo_path": "AllReadyApp/Web-App/AllReady/AllReadySettings.cs", "provenance": "train-00000-of-00045.jsonl.gz:9775" }
starcoder
<gh_stars>0 namespace AllReady { public class AzureStorageSettings { public string AzureStorage { get; set; } public bool EnableAzureQueueService { get; set; } } public class GeneralSettings { public string SiteBaseUrl { get; set; } public string DefaultT...
0.863355
b0e30603a0226c103e3b03dec673c064
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9775
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "KelsonBall/Lua.Core", "max_stars_repo_path": "Lua.Common/EvaluatorState.cs", "provenance": "train-00000-of-00045.jsonl.gz:9776" }
starcoder
<gh_stars>0 namespace Lua.Common { public enum EvaluatorState { Running, Accepted, Failed, } }
0.663598
ae55caaeda2520e0cfd09ea323d5bdbc
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9776
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "swDill/PacManProject", "max_stars_repo_path": "Photon Server/src-server/LoadBalancing/LoadBalancing/GameServer/GameMessageCodes.cs", "provenance": "train-00000-of-00045.jsonl.gz:9777" }
starcoder
<gh_stars>0 // -------------------------------------------------------------------------------------------------------------------- // <copyright file="GameMessageCodes.cs" company="Exit Games GmbH"> // Copyright (c) Exit Games GmbH. All rights reserved. // </copyright> // <summary> // // </summary> // ---------...
1.832675
2903023ec50e56bab21824b2aa45f78c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9777
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "CharlesZHENG/Ray2018", "max_stars_repo_path": "Ray.MongoDB/MongoState.cs", "provenance": "train-00000-of-00045.jsonl.gz:9778" }
starcoder
<filename>Ray.MongoDB/MongoState.cs using MongoDB.Bson.Serialization.Attributes; namespace Ray.MongoDB { public class MongoState<K> { [BsonId] public string Id { get; set; } public K StateId { get; set; } public byte[] Data { get; set; } public long Version { get; set; ...
1.789204
fe9a1180d9c8ec691d10cf34807b099c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9778
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "altazion/altazion-sdk-csharp", "max_stars_repo_path": "SdkCSharpSources/Altazion.Api/Data/IntegrationsPartenairesControllerCatalogKind.cs", "provenance": "train-00000-of-00045.jsonl.gz:9779" }
starcoder
using System; using System.Text; using System.Collections.Generic; namespace Altazion.Api.Data { ///<summary> ///Enumération CatalogKind ///</summary> public enum CatalogKind { ///<summary> ///ECommerce = 0 ///</summary> ECommerce = 0, ///<summary> ///Logistics = 1 ///</summary> Logistics = 1, }...
1.917397
328fca36fb2d7416931fa716f94c31af
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9779
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "alex-kulakov/dataobjects-net", "max_stars_repo_path": "Orm/Xtensive.Orm/Comparison/ComparisonRules.cs", "provenance": "train-00000-of-00045.jsonl.gz:9780" }
starcoder
<gh_stars>0 // Copyright (C) 2003-2010 Xtensive LLC. // All rights reserved. // For conditions of distribution and use, see license. // Created by: <NAME> // Created: 2008.02.04 using System; using System.Collections.Generic; using System.Diagnostics; using System.Text; using Xtensive.Core; namespa...
2.237166
4a6d5a9967956f0100d0587ecf678a0c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9780
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "dotnettricks/react-full-stack", "max_stars_repo_path": "eVideoPrime.Web/Controllers/FileController.cs", "provenance": "train-00000-of-00045.jsonl.gz:9781" }
starcoder
<gh_stars>0 using Microsoft.AspNetCore.Cors; using Microsoft.AspNetCore.Mvc; using System.Net.Http.Headers; using System.Text.Json; using System.Text; namespace eVideoPrime.Web.Controllers { [EnableCors("AllowAll")] [Route("api/[controller]/[action]")] [ApiController] public class FileController : Con...
2.196436
cf2209546e10c2fcd310ed11b6d98cda
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9781
{ "extension": "c-sharp", "max_stars_count": "5.0", "max_stars_repo_name": "forgy/ntripshare-pro", "max_stars_repo_path": "GMapPositionFix/CoordinateConvert.cs", "provenance": "train-00000-of-00045.jsonl.gz:9782" }
starcoder
<reponame>forgy/ntripshare-pro using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace GMapPositionFix { public static class CoordinateConvert { private static double casm_rr = 0; private static double casm_t1 = 0; private static double casm_t2 =...
2.374764
e3f456497175af517b5b6e13e09fd3b6
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9782
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "MadsPB/stryker-net", "max_stars_repo_path": "src/Stryker.Core/Stryker.Core.UnitTest/Mutators/LinqMutatorTest.cs", "provenance": "train-00000-of-00045.jsonl.gz:9783" }
starcoder
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using Shouldly; using Stryker.Core.Mutators; using Xunit; namespace Stryker.Core.UnitTest.Mutat...
2.715695
17d642d3ed4071e7122d74d0ab815c70
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9783
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "PseudoPlay/UI-For-UWP", "max_stars_repo_path": "Controls/Data.UWP/Data/IncrementalLoading/IBatchLoadingProvider.cs", "provenance": "train-00000-of-00045.jsonl.gz:9784" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Telerik.Core.Data { public interface IBatchLoadingProvider { event EventHandler<BatchLoadingEventArgs> StatusChanged; uint? BatchSize { get; } bool ShouldReques...
2.024859
4767d11dbbb7f577c20f1aec0dae4b48
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9784
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ShadyWhite/Anamnesis", "max_stars_repo_path": "Anamnesis/Actor/Items/ChocoboSkinItem.cs", "provenance": "train-00000-of-00045.jsonl.gz:9785" }
starcoder
<gh_stars>0 // © Anamnesis. // Licensed under the MIT license. namespace Anamnesis.Actor.Items; using Anamnesis.GameData; using Anamnesis.GameData.Sheets; using Anamnesis.Services; using Anamnesis.TexTools; public class ChocoboSkinItem : IItem { public ChocoboSkinItem(INpcBase mount, ushort variant) { this.Name ...
1.54966
0e3bfdf1567a3e28520a93e00c89fe8c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9785
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "mdshohagmia/OrchardCore", "max_stars_repo_path": "src/OrchardCore.Modules/OrchardCore.Email/Services/SmtpSettingsConfiguration.cs", "provenance": "train-00000-of-00045.jsonl.gz:9786" }
starcoder
using System; using Microsoft.AspNetCore.DataProtection; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using OrchardCore.Entities; using OrchardCore.Environment.Shell.Configuration; using OrchardCore.Settings; namespace OrchardCore.Email.Services { ...
2.209518
582b65193e66acc7c1b94c15eed15ea5
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9786
{ "extension": "c-sharp", "max_stars_count": "51.0", "max_stars_repo_name": "xoofx/grpc-curl", "max_stars_repo_path": "src/GrpcCurl.Tests/BasicTests.cs", "provenance": "train-00000-of-00045.jsonl.gz:9787" }
starcoder
<reponame>xoofx/grpc-curl<gh_stars>10-100 using System; using System.Collections; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using System.Threading; using System.Threading.Tasks; using DynamicGrpc; using Grpc.Net.Client; using GrpcCurl.Tests.Proto; using NUnit.Framew...
2.103983
6ad76950f9bc2098489028cd683af667
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9787
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "amwitx/Amw.Core", "max_stars_repo_path": "Common/Webi.Wechat.SDK/Components/ErrorMessage.cs", "provenance": "train-00000-of-00045.jsonl.gz:9788" }
starcoder
using System.Collections.Generic; namespace Webi.Wechat.SDK.Components { public class ErrorMessage { /// <summary> /// 错误字典 /// </summary> public static Dictionary<int, string> ErrorDictionary = new Dictionary<int, string>() { {-1 , "系统繁忙"}, ...
2.256612
4e0eff5f793d3167f2243494d595eb1f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9788
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "edwardyehuang/ARKitXamarinDemo", "max_stars_repo_path": "ARKitXamarinDemo/RulerDemo.cs", "provenance": "train-00000-of-00045.jsonl.gz:9789" }
starcoder
using System; using System.Collections.Generic; using Urho; using Urho.Actions; using Urho.Gui; using Urho.Shapes; namespace ARKitXamarinDemo { public class RulerDemo : ArkitApp { [Preserve] public RulerDemo(ApplicationOptions opts) : base(opts) { } List<Node> points = new List<Node>(); Node textNode; N...
2.154668
408d8df5868075fd0398ec4e644fd056
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9789
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "KeitoTobi1/xeus", "max_stars_repo_path": "src/Omnius.Xeus.Engines/Storages/IDeclaredMessagePublisher.cs", "provenance": "train-00000-of-00045.jsonl.gz:9790" }
starcoder
<filename>src/Omnius.Xeus.Engines/Storages/IDeclaredMessagePublisher.cs using System; using System.Buffers; using System.Threading; using System.Threading.Tasks; using Omnius.Core; using Omnius.Core.Cryptography; using Omnius.Core.Storages; using Omnius.Xeus.Engines.Models; using Omnius.Xeus.Engines.Storages.Primitives...
1.679974
b6b0db524651b536e0b5505e52442714
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9790
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "KickSeason/neofs-api-csharp", "max_stars_repo_path": "src/api/query/Types.cs", "provenance": "train-00000-of-00045.jsonl.gz:9791" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using Google.Protobuf; namespace NeoFS.API.Query { public sealed partial class Query { public static Query Parse(IEnumerable<string> query, bool sg = false, bool root = false, bool debug = false) { var q = new Query...
2.572231
25a7b00201dcbcde0ba2f4cbe975cfc6
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9791
{ "extension": "c-sharp", "max_stars_count": "6.0", "max_stars_repo_name": "cantte/Rusell.Api", "max_stars_repo_path": "src/Shared/Domain/Bus/Command/ICommandHandler.cs", "provenance": "train-00000-of-00045.jsonl.gz:9792" }
starcoder
using MediatR; namespace Rusell.Shared.Domain.Bus.Command; public interface ICommandHandler<in TCommand, TResponse> : IRequestHandler<TCommand, TResponse> where TCommand : Command<TResponse> { }
1.288133
955482fd12b13e746f19981d10047101
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9792
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "DynamicBlue/workflow-core", "max_stars_repo_path": "src/CDynamic.WF/Runtime/WorkflowRuntime.cs", "provenance": "train-00000-of-00045.jsonl.gz:9793" }
starcoder
using Dynamic.Core.Service; using Microsoft.Extensions.DependencyInjection; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using WorkflowCore.Interface; namespace CDynamic.WFEngine.Runtime { public class WorkflowRuntime { public WorkflowRuntime() ...
2.176918
d116ba3fc326970295c528977c5a93f8
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9793
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "spicyroboto/BC-Game-Jam", "max_stars_repo_path": "BC Game Jam Starter/Assets/Scripts/StartGame.cs", "provenance": "train-00000-of-00045.jsonl.gz:9794" }
starcoder
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class StartGame : MonoBehaviour { /// <summary> /// Next scene to load /// </summary> /// <remarks> /// Set this in the editor /// </remarks> public string ...
2.277849
e029e02fedf3927e525b92e79c90dd38
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9794
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "sdpython/machinelearningext", "max_stars_repo_path": "machinelearningext/PipelineHelper/Helpers/PredictorHelper.cs", "provenance": "train-00000-of-00045.jsonl.gz:9795" }
starcoder
// See the LICENSE file in the project root for more information. using System.Linq; using System.Collections.Generic; using Microsoft.ML; using Microsoft.ML.Data; using Microsoft.ML.Runtime; namespace Scikit.ML.PipelineHelper { /// <summary> /// Basic operations with predictors. /// </summary> inte...
2.256313
9092448dc35aade9a4bc33ede45df49c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9795
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "neikeq/GodotEnvDTE", "max_stars_repo_path": "GodotEnvDTE/Program.cs", "provenance": "train-00000-of-00045.jsonl.gz:9796" }
starcoder
<reponame>neikeq/GodotEnvDTE<filename>GodotEnvDTE/Program.cs using System; using System.IO; using System.Runtime.InteropServices; using System.Runtime.InteropServices.ComTypes; using System.Text.RegularExpressions; using EnvDTE; namespace GodotEnvDTE { class Program { [DllImport("ole32.dll")] ...
2.40395
b66bc1e996949b19db29d505c1080e32
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9796
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "wildbook/LeagueClientApi", "max_stars_repo_path": "Api/LolKrPlaytimeReminder.cs", "provenance": "train-00000-of-00045.jsonl.gz:9797" }
starcoder
<filename>Api/LolKrPlaytimeReminder.cs using System.Threading.Tasks; using LeagueClientApi.Model; namespace LeagueClientApi.Api { public static class LolKrPlaytimeReminder { public static class V1 { public static class Message { /// <summary> ...
2.335761
1c73ac7fb353f67b05c0d0059d5b2b0f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9797
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "Sinjai/MCForge", "max_stars_repo_path": "Commands/CmdTempRank.cs", "provenance": "train-00000-of-00045.jsonl.gz:9798" }
starcoder
<filename>Commands/CmdTempRank.cs /* Copyright 2011 MCForge Dual-licensed under the Educational Community License, Version 2.0 and the GNU General Public License, Version 3 (the "Licenses"); you may not use this file except in compliance with the Licenses. You may obtain a copy of the Licenses at http://www.opensource...
2.520009
1bb744c2f7c3bc231303cdffebaab224
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9798
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Chillisoft/katarai", "max_stars_repo_path": "source/Katarai.Wpf/PackagedKata/KataSolutionExtractor.cs", "provenance": "train-00000-of-00045.jsonl.gz:9799" }
starcoder
<reponame>Chillisoft/katarai using Ionic.Zip; namespace Katarai.Wpf.PackagedKata { public interface IKataSolutionExtractor { bool ExtractKataTo(string outputLocation, KataName kataName); } //TODO mark 09 Feb 2015: Review - This has not tests! We need to get this tested public class KataSo...
2.21035
44d1f45af60abd2bc66db93b5ca64bcb
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9799
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "beokha/Smart-nation", "max_stars_repo_path": "server/BookSender/Models/FullBookInfo.cs", "provenance": "train-00000-of-00045.jsonl.gz:9800" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace BookSender.Models { public class FullBookInfoHistory { public int Id { get; set; } public string AltitudeCoordinate { get; set; } public string LongtiudeCoordinate { get; set; }...
2.005248
2cccd695ee6a1043407fd796566cebb4
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9800
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "sekmenhuseyin/Birikim.WMS", "max_stars_repo_path": "Wms12m.Business/Tables/Corridor.cs", "provenance": "train-00000-of-00045.jsonl.gz:9801" }
starcoder
<gh_stars>0 using Birikim.Models; using System; using System.Collections.Generic; using System.Linq; using Wms12m.Entity; using Wms12m.Entity.Models; namespace Wms12m.Business { public class Corridor : abstractTables<Koridor> { /// <summary> /// silme /// </summary> public over...
1.999918
3a35a725601d33b5ba05532313f29c0b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9801
{ "extension": "c-sharp", "max_stars_count": "34.0", "max_stars_repo_name": "lantanagroup/trifolia", "max_stars_repo_path": "Trifolia.Web/Controllers/IGTypeManagementController.cs", "provenance": "train-00000-of-00045.jsonl.gz:9802" }
starcoder
using System.Web.Mvc; using Trifolia.Authorization; using Trifolia.DB; namespace Trifolia.Web.Controllers { public class IGTypeManagementController : Controller { private IObjectRepository tdb; #region Construct/Dispose public IGTypeManagementController(IObjectRepository tdb) ...
1.858616
98c4c11f7479d3d9b28dd7545685dd7f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9802
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Jaklans/3D-Game-of-Life", "max_stars_repo_path": "Assets/Scripts/sIncrementTransition.cs", "provenance": "train-00000-of-00045.jsonl.gz:9803" }
starcoder
<filename>Assets/Scripts/sIncrementTransition.cs using Unity.Burst; using Unity.Collections; using Unity.Entities; using Unity.Jobs; using Unity.Mathematics; using Unity.Transforms; using static Unity.Mathematics.math; public class sIncrementTransition : JobComponentSystem { const float speedModifier = 1.0f; ...
2.403437
c0b9d3404fec49fd488c01a3128a9e62
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9803
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "rustybox/Umbraco-CMS", "max_stars_repo_path": "src/Umbraco.Web.Common/Extensions/ApplicationBuilderExtensions.cs", "provenance": "train-00000-of-00045.jsonl.gz:9804" }
starcoder
<reponame>rustybox/Umbraco-CMS using System; using System.IO; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; using Serilog.Context; using SixLabors.ImageSharp.Web.DependencyInjection; using StackExchange.Profiling; using Umbraco.Cms.Core; using Um...
1.678963
b3351d3198dbe3e21c829f168c455d1e
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9804
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "sanzmauro/.net-core-client", "max_stars_repo_path": "src/Splitio-net-core/Services/Impressions/Interfaces/ITreatmentSdkApiClient.cs", "provenance": "train-00000-of-00045.jsonl.gz:9805" }
starcoder
using Splitio.Domain; using System.Collections.Generic; namespace Splitio.Services.Impressions.Interfaces { public interface ITreatmentSdkApiClient { void SendBulkImpressions(List<KeyImpression> impressions); } }
1.116692
3e55b1d3ba92e7e5f734d7200aa79277
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9805
{ "extension": "c-sharp", "max_stars_count": "14.0", "max_stars_repo_name": "lenwen/Kvpbase", "max_stars_repo_path": "Kvpbase.StorageServer/APIs/Http/Put/HttpPutContainer.cs", "provenance": "train-00000-of-00045.jsonl.gz:9806" }
starcoder
using System; using System.Collections.Generic; using System.Net; using System.Text; using System.Threading; using System.Threading.Tasks; using SyslogLogging; using WatsonWebserver; using Kvpbase.StorageServer.Classes; using Kvpbase.StorageServer.Classes.DatabaseObjects; namespace Kvpbase.StorageServer { public ...
2.254029
cb2f5a0b930738e8afa8aa03d0571d49
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9806
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "5118234/Platformus", "max_stars_repo_path": "src/Platformus.Forms.Data.Abstractions/IFieldTypeRepository.cs", "provenance": "train-00000-of-00045.jsonl.gz:9807" }
starcoder
// Copyright © 2015 <NAME>. 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 ExtCore.Data.Abstractions; using Platformus.Forms.Data.Entities; namespace Platformus.Forms.Data.Abstractions { //...
2.342109
2f2e6698f826aff68452ef450550c41d
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9807
{ "extension": "c-sharp", "max_stars_count": "18.0", "max_stars_repo_name": "leancodepl/corelibrary", "max_stars_repo_path": "test/Domain/LeanCode.CQRS.Tests/Resolving/ValidatorResolvingTests.cs", "provenance": "train-00000-of-00045.jsonl.gz:9808" }
starcoder
<filename>test/Domain/LeanCode.CQRS.Tests/Resolving/ValidatorResolvingTests.cs<gh_stars>10-100 using System.Threading.Tasks; using LeanCode.CQRS.Validation; using Xunit; namespace LeanCode.CQRS.Tests { public class ValidatorResolvingTests : BaseCQRSTests { public ValidatorResolvingTests() { ...
2.412157
d1d5f90a96851f3550b079c4cbcc2eeb
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9808
{ "extension": "c-sharp", "max_stars_count": "4222.0", "max_stars_repo_name": "viktorshevchenko210/MassTransit", "max_stars_repo_path": "tests/MassTransit.TestComponents/ForkJoint/Contracts/FryShakeFaulted.cs", "provenance": "train-00000-of-00045.jsonl.gz:9809" }
starcoder
namespace MassTransit.TestComponents.ForkJoint.Contracts { public interface FryShakeFaulted : OrderLineFaulted { } }
1.026893
dd6593638a355de94cf47bbc409547da
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9809
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "spartakyro/2019-06-c-sharp-labs", "max_stars_repo_path": "labs/lab_67_XML/Program.cs", "provenance": "train-00000-of-00045.jsonl.gz:9810" }
starcoder
using System; using System.IO; using System.Xml.Linq; using System.Linq; namespace lab_67_XML { class Program { static void Main(string[] args) { // Console.WriteLine("\n\n first XML example \n\n"); var xml01 = new XElement("testData", 1); Console.WriteLine(xm...
3.051101
9802a3d3d409ed6aeed4a013e47f00f2
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9810
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "0xCM/z0", "max_stars_repo_path": "src/root/src/symbols/literals/asci/AsciCode.cs", "provenance": "train-00000-of-00045.jsonl.gz:9811" }
starcoder
<filename>src/root/src/symbols/literals/asci/AsciCode.cs //----------------------------------------------------------------------------- // Copyright : (c) <NAME>, 2020 // License : MIT //----------------------------------------------------------------------------- namespace Z0 { using AC = AsciCharSym; ...
2.40696
66b59f7cb23a0dc18ba0172bf5c1fcf7
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9811
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "ClearCanvas/lucene.net", "max_stars_repo_path": "test/core/Search/TestBooleanMinShouldMatch.cs", "provenance": "train-00000-of-00045.jsonl.gz:9812" }
starcoder
/* * 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 "License"); you may...
2.321278
f9a80653164f4f039339d02f47afd31c
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9812
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "ghuntley/ReactiveApp", "max_stars_repo_path": "src/ReactiveApp/Extensions/IViewForExtensions.cs", "provenance": "train-00000-of-00045.jsonl.gz:9813" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ReactiveUI; using Splat; namespace ReactiveApp { public static class IViewForExtensions { public static void ViewCreated(this IViewFor This, Func<object> viewModelFunc) { ...
2.219939
aa79bcd7866fbb367a5bcc8e9fd5b0b5
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9813
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "dominichickie/JustSaying", "max_stars_repo_path": "JustSaying.Tools/Commands/HelpCommand.cs", "provenance": "train-00000-of-00045.jsonl.gz:9814" }
starcoder
<reponame>dominichickie/JustSaying<filename>JustSaying.Tools/Commands/HelpCommand.cs using System; namespace JustSaying.Tools.Commands { public class HelpCommand : ICommand { public bool Execute() { Console.WriteLine("Move -from \"sourceUrl\" -to \"destinationUrl\" -in \"region\" -c...
1.191194
5fb983fb3868a79b9ca5e4648fa84ff9
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9814
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "okubicek/FlatOffersTracker", "max_stars_repo_path": "EFDataAccess/Migrations/20191013203028_AddingImages.cs", "provenance": "train-00000-of-00045.jsonl.gz:9815" }
starcoder
<filename>EFDataAccess/Migrations/20191013203028_AddingImages.cs using System; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; namespace EFRepository.Migrations { public partial class AddingImages : Migration { protected override void Up(MigrationBuilder m...
2.323174
cad8b32da5ad4c8fe368716d3b2a6ef4
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9815
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Therobodavo/DreamDungeon", "max_stars_repo_path": "Assets/Scripts/Enemies/BossScripts/fireHazard2.cs", "provenance": "train-00000-of-00045.jsonl.gz:9816" }
starcoder
using System.Collections; using System.Collections.Generic; using UnityEngine; public class fireHazard2 : MonoBehaviour { GameObject player; float timerAlive = 0; // Start is called before the first frame update void Start() { player = GameObject.Find("Player"); } // Update is cal...
2.221169
db34ebc70cc63eeb1888135d0740adc2
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9816
{ "extension": "c-sharp", "max_stars_count": "5.0", "max_stars_repo_name": "fleckert/Octicons.TagHelper", "max_stars_repo_path": "Octicons.TagHelper.Examples/Views/Home/Index.cshtml", "provenance": "train-00000-of-00045.jsonl.gz:9817" }
starcoder
@{ ViewData["Title"] = "Octicon Usage"; } <octicon symbol="Clippy"></octicon>
1.616362
b03323b3005cff3806d3072e01fb784e
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9817
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "davidmarro1234/forumArUnity", "max_stars_repo_path": "Assets/ImmersalSDK/Samples/Scripts/Navigation/IsNavigationTarget.cs", "provenance": "train-00000-of-00045.jsonl.gz:9818" }
starcoder
<reponame>davidmarro1234/forumArUnity /*=============================================================================== Copyright (C) 2020 Immersal Ltd. All Rights Reserved. This file is part of Immersal SDK v1.3. The Immersal SDK cannot be copied, distributed, or made available to third-parties for commercial purpo...
1.803985
5fc0ff2de8779e8cccd101c5fb0141a0
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9818
{ "extension": "c-sharp", "max_stars_count": "4.0", "max_stars_repo_name": "jezzsantos/ServiceStack.Webhooks.Azure", "max_stars_repo_path": "src/Webhooks.Azure/AzureStorage.cs", "provenance": "train-00000-of-00045.jsonl.gz:9819" }
starcoder
namespace ServiceStack.Webhooks.Azure { public static class AzureStorage { public const string AzureEmulatorConnectionString = @"UseDevelopmentStorage=true"; } }
1.138152
93271fc9eb3f5f2e1cbcfdb6f1beb057
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9819
{ "extension": "c-sharp", "max_stars_count": "420.0", "max_stars_repo_name": "James231/DeviceId", "max_stars_repo_path": "src/DeviceId.Windows.Mmi/WindowsDeviceIdBuilderExtensions.cs", "provenance": "train-00000-of-00045.jsonl.gz:9820" }
starcoder
using System; using System.ComponentModel; using DeviceId.Windows.Mmi.Components; namespace DeviceId { /// <summary> /// Extension methods for <see cref="WindowsDeviceIdBuilder"/>. /// </summary> public static class WindowsDeviceIdBuilderExtensions { /// <summary> /// Adds the MAC ...
2.586603
d3eb34c14e35e4191b74005e497ae8a9
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9820
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "watkinda/FTAnalyzer.Shared", "max_stars_repo_path": "FTAnalyzer.Shared/Exceptions/InvalidGEDCOMException.cs", "provenance": "train-00000-of-00045.jsonl.gz:9821" }
starcoder
using System; using System.Runtime.Serialization; namespace FTAnalyzer { [Serializable] public class InvalidGEDCOMException : Exception { string OriginalLine { get; } long LineNumber { get; } public InvalidGEDCOMException(string message, string line, long lineNumber) :...
2.534273
6362da5608cb58844ad3a93edc3048f9
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9821
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "betacode-projects/DireCrypt", "max_stars_repo_path": "DireCrypt/MainForm.Designer.cs", "provenance": "train-00000-of-00045.jsonl.gz:9822" }
starcoder
namespace DireCrypt { partial class MainForm { /// <summary> /// 必要なデザイナー変数です。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 使用中のリソースをすべてクリーンアップします。 /// </summary> /// <param name="disposing">マネージ リソ...
1.942851
cb09b07daf8a7494b9c1bd810d11ee1b
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9822
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "yakkumo/EntrevistaFuncaoInformatica", "max_stars_repo_path": "src/EntrevistaFuncaoInformatica.Application/Interfaces/IResultDto.cs", "provenance": "train-00000-of-00045.jsonl.gz:9823" }
starcoder
using EntrevistaFuncaoInformatica.Core.Interfaces; using System.Collections.Generic; namespace EntrevistaFuncaoInformatica.Application.Interfaces { public interface IResultDto : IResult { string Campo { get; set; } IList<string> Mensagens { get; set; } } }
1.593495
8779707bc78b6eb4da4eb881308c3e3a
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9823
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "kirnbas/BlogEngineTK", "max_stars_repo_path": "BlogEngineTK.Tests/UnitTests/FiltersTests.cs", "provenance": "train-00000-of-00045.jsonl.gz:9824" }
starcoder
<reponame>kirnbas/BlogEngineTK<gh_stars>0 using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Web.Mvc; using Moq; using BlogEngineTK.WebUI.Infrastructure.Filters; namespace BlogEngineTK.Tests.UnitTests { [TestClass] public class FiltersTests { private ActionExecutingCont...
1.906738
4d24ed877b289e8f69bd3e57542f4d8f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9824
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Dumaru/Wacky-Breakout", "max_stars_repo_path": "Assets/Scripts/Audio/AudioManager.cs", "provenance": "train-00000-of-00045.jsonl.gz:9825" }
starcoder
using System.Collections.Generic; using UnityEngine; public static class AudioManager { static bool initialized; static AudioSource audioSource; static Dictionary<AudioClipName, AudioClip> audioClips = new Dictionary<AudioClipName, AudioClip>(); public static bool Initialized => initialized; publ...
2.525371
6212955c7f6b88f339f9cd9304ca86ce
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9825
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "jonliew/Merit-Badge-Blue-Card-Exporter", "max_stars_repo_path": "BlueCardExporter/Models/ImportModels/MeritBadgeStudent.cs", "provenance": "train-00000-of-00045.jsonl.gz:9826" }
starcoder
using System.Linq; namespace BlueCardExporter.Models { public class MeritBadgeStudent { public int StudentId { get; set; } public string FirstName { get; set; } public string LastName { get; set; } public string Address { get; set; } public string City { get; set; } ...
2.268944
7d59cc1757dfdcca88d4e06c55397cf8
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9826
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "herchackathon/HIPR", "max_stars_repo_path": "Assets/HIPR/Encoding/Steganography.cs", "provenance": "train-00000-of-00045.jsonl.gz:9827" }
starcoder
using UnityEngine; using System.Collections; namespace HIPR.Encoding { public static class Steganography { public static Texture2D Encode(Texture2D image, string message) { //Create a new texture to copy encoded pixels to var newTexture = new Texture2D(image.width, image...
3.253303
9e5b0ef2d18f56618ac71c1d68aa7943
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9827
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "nopponaim603/BMP-U", "max_stars_repo_path": "Assets/Scripts/BMS/BMSManager.cs", "provenance": "train-00000-of-00045.jsonl.gz:9828" }
starcoder
using System; using System.Collections.Generic; using System.Linq; using UnityEngine; using UnityEngine.Video; namespace BMS { [Flags] public enum BMSReloadOperation { None = 0, Header = 1, Body = 2, Resources = 4, ResourceHeader = 8 } public delegate void Sta...
1.699019
61e7daa9776be4935e00634554cc2ee3
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9828
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "alealmasan27/AdventOfCode", "max_stars_repo_path": "Day16/Day16.cs", "provenance": "train-00000-of-00045.jsonl.gz:9829" }
starcoder
using System; using System.Collections.Generic; using System.IO; using System.Linq; namespace AdventOfCode.Day16 { internal class Day16 { private readonly List<(int, int)> _inputFilters; private readonly Dictionary<int, List<int>> _tickets; private readonly List<int> _indexInvalidTicke...
2.946403
fbaad2ca3259a2aad99af7ce95c13037
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9829
{ "extension": "c-sharp", "max_stars_count": "5.0", "max_stars_repo_name": "telescope-dotnet/telescope", "max_stars_repo_path": "src/TeleScope.Persistence.Abstractions/IFileWritable.cs", "provenance": "train-00000-of-00045.jsonl.gz:9830" }
starcoder
using System.IO; namespace TeleScope.Persistence.Abstractions { /// <summary> /// This interface provides a generic approach to write generic data to a file based data sink. The interface inherits from <seealso cref="IWritable{T}"/> /// </summary> /// <typeparam name="T">The type that is given on the application ...
3.115309
d13247ad5a88c83dc029bef9f3e7a03e
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9830
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "tron999/FlyCasual", "max_stars_repo_path": "Assets/Scripts/Model/Ships/TIE Fighter/Wampa.cs", "provenance": "train-00000-of-00045.jsonl.gz:9831" }
starcoder
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; using Ship; using System; using Tokens; using RuleSets; namespace Ship { namespace TIEFighter { public class Wampa : TIEFighter, ISecondEditionPilot { public Wampa() : base() { ...
2.020398
573c6e616404a313fdff2365a8f930ab
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9831
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "tsborissov/ITAssetManager", "max_stars_repo_path": "ITAssetManager.Web/Views/Assets/Collect.cshtml", "provenance": "train-00000-of-00045.jsonl.gz:9832" }
starcoder
@model AssetCollectServiceModel @{ ViewBag.Title = "Collect Asset"; } <div class="row"> <div class="col-sm-12 offset-lg-2 col-lg-8 offset-xl-3 col-xl-6"> <h2 class="heading-margin text-center">@ViewBag.Title</h2> <form method="post"> <div class="form-group"> <label...
1.990747
f557d12ec2116e0e3929eb3520a8d571
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9832
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "HCUM/kobelu", "max_stars_repo_path": "KoBeLU.Schema/IImageSceneItem.cs", "provenance": "train-00000-of-00045.jsonl.gz:9833" }
starcoder
<reponame>HCUM/kobelu namespace KoBeLU.Schema { public interface IImageSceneItem : ISceneItem { string SourceUrl { get; set; } } }
1.409034
6cb301503a733b0a766e88075e202a7f
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9833
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "Hir-o/Void-Defense-Project-Files", "max_stars_repo_path": "Assets/Scripts/ObjectReferenceHolder.cs", "provenance": "train-00000-of-00045.jsonl.gz:9834" }
starcoder
<filename>Assets/Scripts/ObjectReferenceHolder.cs using System; using System.Collections; using System.Collections.Generic; using NaughtyAttributes; using TMPro; using UnityEngine; using UnityEngine.Serialization; using UnityEngine.UIElements; public class ObjectReferenceHolder : MonoBehaviour { public static Obj...
2.158133
7a544b6661ea7fd73c5e4f03d3a853fd
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9834
{ "extension": "c-sharp", "max_stars_count": "0.0", "max_stars_repo_name": "LoUnDeRR/ITK20", "max_stars_repo_path": "Sandbox/ITKM4/Exam Problem School-Student/Student.cs", "provenance": "train-00000-of-00045.jsonl.gz:9835" }
starcoder
<reponame>LoUnDeRR/ITK20 using System; using System.Collections.Generic; namespace Exam1 { class Student { private string name; private List<double> grades; public Student() { } public Student(string name, double grade) { Name = name; ...
3.26322
bf69f1619cb865957343e5c0fe47f038
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9835
{ "extension": "c-sharp", "max_stars_count": "1.0", "max_stars_repo_name": "pkanev/CarsManager", "max_stars_repo_path": "src/Application/Common/Exceptions/InvalidBlockVehicleException.cs", "provenance": "train-00000-of-00045.jsonl.gz:9836" }
starcoder
using System; namespace CarsManager.Application.Common.Exceptions { public class InvalidBlockVehicleException : Exception { public InvalidBlockVehicleException(string message) : base(message) { } } }
1.866453
98b03280229528382e8f290d273a22c5
2023-09-08T23:13:54.392Z
2023-09-08T23:13:54.392Z
9836
{ "extension": "c-sharp", "max_stars_count": "2.0", "max_stars_repo_name": "Sleyy/DatabasesAdvanced-EntityFrameworkCore", "max_stars_repo_path": "AutoMappingObjects/Employees/Employees.Data/Configuration.cs", "provenance": "train-00000-of-00045.jsonl.gz:9837" }
starcoder
using System; using System.Collections.Generic; using System.Text; namespace Employees.Data { public static class Configuration { public static string configurationString = "Server = YEHIAZZ-PC\\SQLEXPRESS; Database = Employees; Integrated Security = True;"; } }
1.439908
58fdba18292d8ee78d2bdfd457b93717